PageSourceSearch

https://ubleisure.co.za/_next/static/chunks/app/sell-your-toy/page-c288f9a4eb880642.js

js ubleisure.co.za collected 2026-10-10 02:34:50 UTC 54,464 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8240],{1007:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(9946).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},1154:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(9946).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},2355:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(9946).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},2714:(e,a,t)=>{"use strict";t.d(a,{J:()=>i});var s=t(5155);t(2115);var l=t(968),r=t(3999);function i(e){let{className:a,...t}=e;return(0,s.jsx)(l.b,{"data-slot":"label",className:(0,r.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...t})}},3052:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(9946).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},4186:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(9946).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},5784:(e,a,t)=>{"use strict";t.d(a,{bq:()=>u,eb:()=>h,gC:()=>m,l6:()=>c,yv:()=>d});var s=t(5155);t(2115);
1var l=t(663),r=t(6474),i=t(5196),o=t(7863),n=t(3999);function c(e){let{...a}=e;return(0,s.jsx)(l.bL,{"data-slot":"select",...a})}function d(e){let{...a}=e;return(0,s.jsx)(l.WT,{"data-slot":"select-value",...a})}function u(e){let{className:a,size:t="default",children:i,...o}=e;return(0,s.jsxs)(l.l9,{"data-slot":"select-trigger","data-size":t,className:(0,n.cn)("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...o,children:[i,(0,s.jsx)(l.In,{asChild:!0,children:(0,s.jsx)(r.A,{className:"size-4 opacity-50"})})]})}function m(e){let{className:a,children:t,position:r="popper",...i}=e;return(0,s.jsx)(l.ZL,{children:(0,s.jsxs)(l.UC,{"data-slot":"select-content",className:(0,n.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:r,...i,children:[(0,s.jsx)(x,{}),(0,s.jsx)(l.LM,{className:(0,n.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),(0,s.jsx)(p,{})]})})}function h(e){let{className:a,children:t,...r}=e;return(0,s.jsxs)(l.q7,{"data-slot":"select-item",className:(0,n.cn)("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",a),...r,children:[(0,s.jsx)("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(l.VF,{children:(0,s.jsx)(i.A,{className:"size-4"})})}),(0,s.jsx)(l.p4,{children:t})]})}function x(e){let{className:a,...t}=e;return(0,s.jsx)(l.PP,{"data-slot":"select-scroll-up-button",className:(0,n.cn)("flex cursor-default items-center justify-center py-1",a),...t,children:(0,s.jsx)(o.A,{className:"size-4"})})}function p(e){let{className:a,...t}=e;return(0,s.jsx)(l.wn,{"data-slot":"select-scroll-down-button",className:(0,n.cn)("flex cursor-default items-center justify-center py-1",a),...t,children:(0,s.jsx)(r.A,{className:"size-4"})})}},8755:(e,a,t)=>{"use strict";t.d(a,{default:()=>o});var s=t(5155),l=t(2115),r=t(7863),i=t(6474);let o=()=>{let[e,a]=(0,l.useState)([]),t=e=>{a(a=>a.includes(e)?a.filter(a=>a!==e):[...a,e])};return(0,s.jsxs)("section",{className:"container mx-auto px-5 py-16","aria-labelledby":"faq-heading",children:[(0,s.jsxs)("header",{className:"text-center mb-12",children:[(0,s.jsx)("h2",{id:"faq-heading",className:"text-3xl md:text-4xl font-black text-ub-blue uppercase mb-4",children:"Frequently Asked Questions"}),(0,s.jsxs)("p",{className:"text-lg md:text-xl text-gray-700 max-w-3xl mx-auto leading-relaxed",children:["Get answers to common questions about"," ",(0,s.jsx)("strong",{children:"selling your vehicle"}),", our"," ",(0,s.jsx)("strong",{children:"valuation process"}),", and"," ",(0,s.jsx)("strong",{children:"payment methods"}),"when selling to UB Leisure."]})]}),(0,s.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,s.jsx)("div",{className:"space-y-4",children:[{question:"How quickly can I get an offer for my vehicle?",answer:"We provide initial cash offers within 60 minutes of receiving your complete submission with photos. Our team works quickly to evaluate your vehicle and provide a competitive market-related offer. Once you accept our offer, we can arrange payment within the same day, depending on whether all paperwork is in order."},{question:"What types of vehicles do you buy?",answer:"We buy all types of powersports vehicles, including motorcycles, quad bikes, jetskis, side-by-sides, dirt bikes, golf carts, and boats. We purchase vehicles from all major brands, including KTM, Can-Am, Sea-Doo, Honda, Yamaha, Kawasaki, CF Moto, Suzuki, and many others. We buy vehicles in any condition - from excellent to project vehicles."},{question:"Do you buy vehicles without papers or registration?",answer:"We can consider vehicles without papers, but having proper registration documents significantly increases the value we can offer. If you don't have papers, we'll need additional verification of ownership, and the offer may be reduced. We recommend checking with us directly about your specific situation."},{question:"Is your vehicle collection service really free?",answer:"Yes, our collection service is completely free across South Africa. We arrange professional transport to collect your vehicle at your convenience. There are no hidden fees or charges - the offer we make is the amount you receive. We handle all logistics and transportation costs."},{question:"How do you determine the value of my vehicle?",answer:"Our experienced team uses multiple factors to determine fair market value, including: current market demand, vehicle condition, age and mileage, service history, modifications, and regional market conditions. We aim to provide competitive offers that reflect the true market value of your vehicle."},{question:"Can I use my vehicle as a trade-in towards a new purchase?",answer:"Absolutely! We encourage trade-ins as they can significantly reduce your finance amount when purchasing a new vehicle. Your trade-in value can be used as a deposit, lowering your monthly payments. We can arrange the entire trade-in process, including paperwork and vehicle transfer."}
1,{question:"What condition vehicles do you accept?",answer:"We buy vehicles in all conditions - from showroom condition to project vehicles. Whether your vehicle is excellent, good, fair, or even damaged, we can still make an offer. Better-condition vehicles receive higher offers, but we're interested in vehicles that others might not consider."},{question:"How do I get paid for my vehicle?",answer:"We offer direct bank transfer (EFT). Payment is made immediately upon collection of your vehicle and completion of all documentation. We don't hold payments - you get your money the same day we collect your vehicle."},{question:"What documents do I need to sell my vehicle?",answer:"You'll need your vehicle registration papers, a valid ID document, and proof of residence. If the vehicle is financed, we'll need a settlement letter from your finance company. We can guide you through the exact requirements based on your situation."},{question:"Can you beat other dealers' offers?",answer:"We strive to provide competitive market-related offers. Our goal is to provide fair value while ensuring a smooth, professional transaction."},{question:"Do you buy financed vehicles?",answer:"Yes, we can buy vehicles that are still under finance. We'll contact your finance company to obtain a settlement figure and handle the settlement process directly. The remaining amount after settling your finance will be paid to you. We manage the entire process to make it hassle-free."},{question:"How long is your offer valid?",answer:"Our initial offers are typically valid for 48 hours, subject to final inspection when we collect the vehicle. If market conditions change significantly or if there are material differences between your description and the actual vehicle condition, we may need to adjust the offer. We'll always discuss any changes with you first."}].map((a,l)=>(0,s.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm hover:shadow-md transition-shadow duration-200",children:[(0,s.jsxs)("button",{onClick:()=>t(l),className:"w-full flex items-center justify-between p-6 text-left focus:outline-none focus:ring-2 focus:ring-ub-orange focus:ring-offset-2 rounded-xl cursor-pointer","aria-expanded":e.includes(l),"aria-controls":"faq-answer-".concat(l),children:[(0,s.jsx)("h3",{className:"text-lg md:text-xl font-bold text-ub-blue pr-4",children:a.question}),(0,s.jsx)("div",{className:"flex-shrink-0",children:e.includes(l)?(0,s.jsx)(r.A,{className:"h-6 w-6 text-ub-orange"}):(0,s.jsx)(i.A,{className:"h-6 w-6 text-ub-orange"})})]}),e.includes(l)&&(0,s.jsx)("div",{id:"faq-answer-".concat(l),className:"px-6 pb-6",role:"region","aria-labelledby":"faq-question-".concat(l),children:(0,s.jsx)("div",{className:"border-t border-gray-100 pt-4",children:(0,s.jsx)("p",{className:"text-gray-700 leading-relaxed",children:a.answer})})})]},l))}),(0,s.jsxs)("div",{className:"mt-12 bg-ub-blue rounded-2xl p-8 text-white text-center",children:[(0,s.jsx)("h3",{className:"text-2xl md:text-3xl font-black mb-4 uppercase",children:"Still Have Questions?"}),(0,s.jsx)("p",{className:"text-lg mb-6 opacity-90",children:"Our vehicle purchasing specialists are here to help. Contact us for personalized advice about selling your powersports vehicle."}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[(0,s.jsxs)("a",{href:"tel:+27123311224",className:"inline-flex items-center gap-2 bg-ub-orange hover:bg-white hover:text-ub-blue text-white font-bold py-3 px-6 rounded-full transition-colors duration-300 min-w-[180px] justify-center uppercase",children:[(0,s.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z"})}),"Call Us Now"]}),(0,s.jsxs)("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 bg-white hover:bg-ub-orange text-ub-blue hover:text-white font-bold py-3 px-6 rounded-full transition-colors duration-300 min-w-[180px] justify-center uppercase",children:[(0,s.jsxs)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:[(0,s.jsx)("path",{d:"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"}),(0,s.jsx)("path",{d:"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"})]}),"Email Us"]})]}),(0,s.jsx)("div",{className:"mt-6 text-sm opacity-75",children:(0,s.jsx)("p",{children:"Monday - Friday: 8:30 - 17:00 | Saturday & Holidays: 8:30 - 13:00"})})]}),(0,s.jsxs)("div",{className:"mt-12 prose prose-lg max-w-none",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold text-ub-blue mb-4",children:"Selling Your Powersports Vehicle in South Africa"}),(0,s.jsxs)("div",{className:"grid md:grid-cols-2 gap-8 gap-y-4 text-gray-700",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"mb-4",children:["UB Leisure has been South Africa's trusted"," ",(0,s.jsx)("strong",{children:"powersports vehicle buyer"}),"since 2014. We specialize in purchasing"," ",(0,s.jsx)("strong",{children:"quad bikes"}),",",(0,s.jsx)("strong",{children:"motorcycles"}),","," ",(0,s.jsx)("strong",{children:"jetskis"}),", and other recreational vehicles across Gauteng, Mpumalanga, and nationwide."]}),(0,s.jsx)("p",{children:"Our experienced team understands the true market value of your vehicle and provides fair, competitive offers. Whether you're upgrading to a newer model, need cash quickly, or simply want to sell your unused vehicle, we make the process simple and rewarding."})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"mb-4",children:["We buy vehicles from all major brands including"," ",(0,s.jsx)("strong",{children:"KTM"}),",",(0,s.jsx)("strong",{children:"Can-Am"}),","," ",(0,s.jsx)("strong",{children:"Sea-Doo"}),", ",(0,s.jsx)("strong",{children:"Honda"}),",",(0,s.jsx)("strong",{children:"Yamaha"}),", and ",(0,s.jsx)("strong",{children:"Kawasaki"}),". Our service includes free nationwide collection, immediate payment, and professional handling of all documentation."]}),(0,s.jsxs)("p",{children:["Visit our ",(0,s.jsx)("strong",{children:"Pretoria"})," branches for an in-person valuation, or use our convenient online submission form to get your cash offer within 60 minutes."]})]})]})]})]})]})}},8766:(e,a,t)=>{"use strict";t.d(a,{default:()=>x});var s=t(5155),l=t(6874),r=t.n(l),i=t(7168),o=t(9946);let n=(0,o.A)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);var c=t(4186);let d=(0,o.A)("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);var u=t(4231),m=t(2115),h=t(3999);let x=()=>{let[e,a]=(0,m.useState)(!1);return(0,m.useEffect)(()=>{a(window.scrollY>10);let t=()=>{let t=window.scrollY>10;t!==e&&a(t)};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[e]),(0,s.jsxs)("section",{className:(0,h.cn)("relative bg-gradient-to-br from-ub-blue to-ub-blue/90 text-white pt-20 transition-all duration-300",e?"-mt-24":"-mt-28"),children:[(0,s.jsx)("div",{className:"absolute inset-0 z-0",children:(0,s.jsx)("div",{className:"w-full h-full bg-cover bg-center bg-no-repeat opacity-5",style:{backgroundImage:'url("https://media.ubleisure.co.za/website/backgrounds/background_4.jpg")'}})}),(0,s.jsx)("div",{className:"relative z-10 container mx-auto px-5 py-20 lg:py-32",children:(0,s.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,s.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-5xl font-black mb-6 uppercase leading-tight",children:"Sell Your Toy"}),(0,s.jsx)("p",{className:"text-xl md:text-2xl mb-8 leading-relaxed max-w-3xl mx-auto font-medium",children:"Get the best cash offer for your quad bike, motorcycle, side by side, jetski or boat. Fast valuation, quick payment, and nationwide collection across South Africa."}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-10 max-w-4xl mx-auto",children:[(0,s.jsxs)("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl p-6 border border-white/20",children:[(0,s.jsx)("div",{className:"flex justify-center mb-4",children:(0,s.jsx)(n,{className:"h-12 w-12 text-ub-orange"})}),(0,s.jsx)("div",{className:"text-2xl font-black text-ub-orange mb-2",children:"Qu
1ick offers"}),(0,s.jsx)("p",{className:"text-sm md:text-base",children:"Get your offer within 60 minutes"})]}),(0,s.jsxs)("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl p-6 border border-white/20",children:[(0,s.jsx)("div",{className:"flex justify-center mb-4",children:(0,s.jsx)(c.A,{className:"h-12 w-12 text-ub-orange"})}),(0,s.jsx)("div",{className:"text-2xl font-black text-ub-orange mb-2",children:"24 Hour Process"}),(0,s.jsx)("p",{className:"text-sm md:text-base",children:"From submission to payment"})]}),(0,s.jsxs)("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl p-6 border border-white/20",children:[(0,s.jsx)("div",{className:"flex justify-center mb-4",children:(0,s.jsx)(d,{className:"h-12 w-12 text-ub-orange"})}),(0,s.jsx)("div",{className:"text-2xl font-black text-ub-orange mb-2",children:"Nationwide Collection"}),(0,s.jsx)("p",{className:"text-sm md:text-base",children:"Safe and secure"})]})]}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[(0,s.jsx)(i.$,{asChild:!0,className:"bg-ub-orange hover:bg-white hover:text-ub-blue text-white font-extrabold py-4 px-8 rounded-full text-lg transition-colors duration-300 min-w-[200px] uppercase shadow-lg h-auto",children:(0,s.jsx)(r(),{href:"#sell-form",children:"Get Your Offer Now"})}),(0,s.jsx)(i.$,{asChild:!0,className:"bg-white hover:bg-ub-orange text-ub-blue hover:text-white font-extrabold py-4 px-8 rounded-full text-lg transition-colors duration-300 min-w-[200px] justify-center uppercase h-auto",children:(0,s.jsx)(r(),{href:"tel:+27123311224",children:"Call For Valuation"})})]}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(u.A,{size:"md"})}),(0,s.jsxs)("div",{className:"mt-12 flex flex-wrap justify-center items-center gap-6 text-sm opacity-80",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("svg",{className:"w-5 h-5 text-green-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,s.jsx)("span",{children:"Fair Market Prices"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("svg",{className:"w-5 h-5 text-green-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,s.jsx)("span",{children:"No Hidden Fees"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("svg",{className:"w-5 h-5 text-green-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})}),(0,s.jsx)("span",{children:"Since 2014"})]})]})]})})]})}},9327:(e,a,t)=>{Promise.resolve().then(t.bind(t,8755)),Promise.resolve().then(t.bind(t,9894)),Promise.resolve().then(t.bind(t,8766)),Promise.resolve().then(t.bind(t,8317)),Promise.resolve().then(t.bind(t,9531)),Promise.resolve().then(t.t.bind(t,6874,23))},9852:(e,a,t)=>{"use strict";t.d(a,{p:()=>r});var s=t(5155);t(2115);
1var l=t(3999);function r(e){let{className:a,type:t,...r}=e;return(0,s.jsx)("input",{type:t,"data-slot":"input",className:(0,l.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...r})}},9869:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});let s=(0,t(9946).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},9894:(e,a,t)=>{"use strict";t.d(a,{default:()=>k});var s=t(5155),l=t(2115),r=t(7168),i=t(9852),o=t(2714),n=t(5784),c=t(5196),d=t(9946);let u=(0,d.A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);var m=t(1154),h=t(5339);let x=(0,d.A)("car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);var p=t(9869),b=t(3052),g=t(2355),f=t(1007);let v=(0,d.A)("camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]),y=e=>new Promise((a,t)=>{let s=new Image;s.onload=()=>a(s),s.onerror=()=>t(Error("Could not load image")),s.src=e});async function j(e){if(!e.type.startsWith("image/")||"image/gif"===e.type)return e;let a=URL.createObjectURL(e);try{let t=await y(a),{naturalWidth:s,naturalHeight:l}=t,r=Math.min(1,1920/Math.max(s,l)),i=Math.round(s*r),o=Math.round(l*r),n=document.createElement("canvas");n.width=i,n.height=o;let c=n.getContext("2d");if(!c)return e;c.drawImage(t,0,0,i,o),t.src="";let d=await new Promise(e=>
1n.toBlob(e,"image/jpeg",.85));if(n.width=0,n.height=0,!d||d.size>=e.size)return e;let u=e.name.replace(/\.[^.]+$/,"")+".jpg";return new File([d],u,{type:"image/jpeg",lastModified:e.lastModified})}catch(a){return e}finally{URL.revokeObjectURL(a)}}async function w(e){let a=[];for(let t of e)a.push(await j(t));return a}let N=e=>{let{photo:a,alt:t}=e,[r,i]=(0,l.useState)();return((0,l.useEffect)(()=>{let e=URL.createObjectURL(a);return i(e),()=>URL.revokeObjectURL(e)},[a]),r)?(0,s.jsx)("img",{src:r,alt:t,className:"w-full h-24 object-cover rounded-lg border"}):(0,s.jsx)("div",{className:"w-full h-24 rounded-lg border bg-gray-100"})},k=()=>{let[e,a]=(0,l.useState)(!1),[t,d]=(0,l.useState)(1),[y,j]=(0,l.useState)({brand:"",model:"",year:"",askingPrice:"",phone:"",province:"",photos:[],condition:"",mileageType:"kilometers",mileageValue:"",papersAvailable:"",financed:"",fullName:"",email:""}),[k,A]=(0,l.useState)(null),[C,S]=(0,l.useState)(new Set),[P,q]=(0,l.useState)([]),[z,M]=(0,l.useState)("idle"),[_,F]=(0,l.useState)(""),[W,T]=(0,l.useState)(!1),E="https://apps.apple.com/za/app/ub-leisure-bikes-boats-sxs/id6746235263",U="https://play.google.com/store/apps/details?id=za.co.ubleisure.ubleisureapp",I=(0,l.useCallback)((e,a)=>{j(t=>({...t,[e]:a}))},[]),V=(0,l.useCallback)((e,a)=>{let t=a.replace(/[^0-9]/g,"");j(a=>({...a,[e]:t}))},[]),L=(0,l.useCallback)(async e=>{let a=new FormData;e.forEach((e,t)=>{a.append("photo_".concat(t),e)}),a.append("vehicleYear",y.year||new Date().getFullYear().toString()),a.append("brand",y.brand||"Unknown"),a.append("model",y.model||"Unknown"),a.append("category","general"),a.append("range","unknown"),a.append("firstName",y.fullName.split(" ")[0]||"User"),a.append("lastName",y.fullName.split(" ").slice(1).join(" ")||"Submission"),a.append("photoCount",e.length.toString());try{let e=await fetch("/api/upload-vehicle-photos",{method:"POST",body:a});if(!e.ok)throw Error("Upload failed: ".concat(e.statusText));return(await e.json()).photoUrls}catch(e){throw console.error("Error uploading photos:",e),e}},[y.brand,y.model,y.year,y.fullName]),H=(0,l.useCallback)(async e=>{if(!e||0===e.length)return;let a=Array.from(e);M("uploading"),F("Preparing photos...");let t=await w(a);j(e=>({...e,photos:[...e.photos,...t]})),M("idle"),F("")},[]),G=(0,l.useCallback)(e=>{j(a=>{let t=a.photos.filter((a,t)=>t!==e);return"error"===z&&(M("idle"),F("")),{...a,photos:t}}),q(a=>a.filter((a,t)=>t!==e))},[z]),O=(0,l.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),T(!0)},[]),D=(0,l.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),T(!1)},[]),B=(0,l.useCallback)(e=>{e.preventDefault(),e.stopPropagation()},[]),Y=(0,l.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),T(!1);let a=e.dataTransfer.files;if(a){let e=Array.from(a).filter(e=>e.type.startsWith("image/"));e.length>0&&H(e)}},[H]),R=(0,l.useCallback)(()=>{let e=document.getElementById("step-indicator");e&&e.scrollIntoView({behavior:"smooth",block:"start"})},[]),J=(0,l.useCallback)(e=>{switch(e){case 1:return!!(y.brand&&y.model&&y.askingPrice&&y.phone&&y.province&&y.photos.length>0);case 2:case 3:return!0;default:return!1}},[y]),$=(0,l.useCallback)(async(e,a)=>{try{M("loading"),F("Submitting step ".concat(e," data..."));let s=a||P,l={...k&&{itemUid:k},personalInfo:{firstName:y.fullName||"",lastName:"",email:y.email||"",phoneNumber:y.phone||""},itemInfo:{category:"",brand:y.brand||"",model:y.model||"",year:y.year||"",range:"",condition:y.condition||"",askingPrice:parseInt(y.askingPrice)||0,description:"".concat(y.brand||""," ").concat(y.model||"").concat(y.mileageValue?" - ".concat(y.mileageValue," ").concat(y.mileageType):"").trim(),location:y.province||"",vin:"",paymentOption:"yes"===y.financed?"financed":"no"===y.financed?"paid":"",mileageType:"kilometers"===y.mileageType?"km":"hrs",mileage:parseInt(y.mileageValue)||null,engineSize:"",papersAvailable:"yes"===y.papersAvailable||"no"!==y.papersAvailable&&null},images:s,source:"website"},r=await fetch("/api/sell-vehicle",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(r.ok){var t;let a=await r.json();return!k&&(null==(t=a.data)?void 0:t.documentId)&&A(a.data.documentId),S(a=>new Set([...a,e])),M("idle"),F(""),!0}throw Error("Submission failed: ".concat(r.status," ").concat(r.statusText))}catch(e){return console.error("Step submission error:",e),M("error"),F("Failed to submit data. Please try again."),!1}},[y,k,P]),K=(0,l.useCallback)(async()=>
1{if(t<3){if(1===t&&y.photos.length>0&&0===P.length)try{M("uploading"),F("Uploading photos...");let e=await L(y.photos);q(e),M("idle"),F(""),await $(t,e)&&(d(t+1),setTimeout(()=>{R()},100));return}catch(e){console.error("Error uploading photos:",e),M("error"),F("Failed to upload photos. Please try again.");return}await $(t)&&(d(t+1),setTimeout(()=>{R()},100))}},[t,3,R,$,y.photos,P,L]),Q=(0,l.useCallback)(()=>{t>1&&(d(t-1),setTimeout(()=>{R()},100))},[t,R]),Z=async e=>{if(e.preventDefault(),await $(3)){let e="undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2));window.fbq&&window.fbq("track","Lead",{},{eventID:e}),window.zaraz&&window.zaraz.track("sell_vehicle_submitted",{event_id:e,form_type:"sell_vehicle",user_id:y.email||y.phone,customer_email:y.email,customer_phone:y.phone,customer_name:y.fullName,form_location:"sell_page",vehicle_brand:y.brand,vehicle_model:y.model,vehicle_year:y.year,asking_price:parseInt(y.askingPrice)||0,vehicle_condition:y.condition,mileage_type:y.mileageType,mileage_value:parseInt(y.mileageValue)||0,province:y.province,photos_count:y.photos.length,papers_available:y.papersAvailable,financed:y.financed}),setTimeout(()=>{window.location.href="/thank-you/sell-vehicle"},700),M("success"),F("Your vehicle submission has been received! We'll contact you as soon as possible with a cash offer."),j({brand:"",model:"",year:"",askingPrice:"",phone:"",condition:"",mileageType:"kilometers",mileageValue:"",papersAvailable:"",financed:"",fullName:"",email:"",province:"",photos:[]}),d(1),A(null),S(new Set),q([]),setTimeout(()=>{R()},100)}},X=(0,l.useMemo)(()=>J(1),[J]);(0,l.useMemo)(()=>J(2),[J]);let ee=(0,l.useMemo)(()=>J(3),[J]),ea=(0,l.useCallback)(e=>{let{step:a,isActive:t,isCompleted:l}=e;return(0,s.jsxs)("div",{className:"flex items-center ".concat(a<3?"flex-1":""),children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center font-bold text-sm transition-colors duration-200 ".concat(l?"bg-green-600 text-white":t?"bg-ub-orange text-white":"bg-gray-300 text-gray-600"),children:l?(0,s.jsx)(c.A,{className:"h-5 w-5"}):a}),a<3&&(0,s.jsx)("div",{className:"flex-1 h-1 mx-4 transition-colors duration-200 rounded-full ".concat(l?"bg-green-600":"bg-gray-300")})]})},[3]);return(0,s.jsx)("section",{id:"sell-form",className:"bg-white py-16","aria-labelledby":"sell-form-heading",children:(0,s.jsxs)("div",{className:"container mx-auto px-5",children:[(0,s.jsxs)("header",{className:"text-center mb-12",children:[(0,s.jsx)("h2",{id:"sell-form-heading",className:"text-3xl md:text-4xl font-black text-ub-blue uppercase mb-4",children:"Get Your Cash Offer"}),(0,s.jsxs)("p",{className:"text-lg md:text-xl text-gray-700 max-w-3xl mx-auto leading-relaxed",children:["Complete our simple 3-step form to receive a"," ",(0,s.jsx)("strong",{children:"competitive cash offer"})," for your"," ",(0,s.jsx)("strong",{children:"quad bike"}),", ",(0,s.jsx)("strong",{children:"motorcycle"}),", or"," ",(0,s.jsx)("strong",{children:"jetski"}),"within 60 minutes."]})]}),e?(0,s.jsxs)("div",{id:"sell-form-container",className:"max-w-4xl mx-auto",children:[(0,s.jsxs)("div",{id:"step-indicator",className:"flex items-center justify-center mb-8",children:[(0,s.jsx)(ea,{step:1,isActive:1===t,isCompleted:C.has(1)}),(0,s.jsx)(ea,{step:2,isActive:2===t,isCompleted:C.has(2)}),(0,s.jsx)(ea,{step:3,isActive:3===t,isCompleted:C.has(3)})]}),(0,s.jsx)("div",{className:"bg-white border-ub-orange/30 border-2 rounded-2xl p-8",children:"success"===z?(0,s.jsxs)("div",{className:"text-center space-y-6",children:[(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)("div",{className:"bg-green-100 rounded-full p-4",children:(0,s.jsx)(c.A,{className:"h-12 w-12 text-green-600"})})}),(0,s.jsx)("h3",{className:"text-2xl md:text-3xl font-black text-ub-blue uppercase",children:"Submission Successful!"}),(0,s.jsx)("p",{className:"text-lg text-gray-700 max-w-2xl mx-auto",children:_}),(0,s.jsx)("p",{className:"text-md text-gray-600",children:"Download our app to track y
1our offer and get instant updates."}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center",children:[(0,s.jsx)("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-90 transition-all duration-300",children:(0,s.jsx)("img",{src:"/images/app-store-badge.webp",alt:"Download on the App Store",className:"h-12"})}),(0,s.jsx)("a",{href:U,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-90 transition-all duration-300",children:(0,s.jsx)("img",{src:"/images/google-play-badge.webp",alt:"Get it on Google Play",className:"h-12"})})]}),(0,s.jsx)(r.$,{type:"button",onClick:()=>{M("idle"),F(""),d(1),A(null),S(new Set),q([]),j({brand:"",model:"",year:"",askingPrice:"",phone:"",province:"",photos:[],condition:"",mileageType:"kilometers",mileageValue:"",papersAvailable:"",financed:"",fullName:"",email:""})},className:"bg-ub-orange hover:bg-ub-blue text-white font-bold py-3 px-8 rounded-full transition-colors duration-300 min-w-[200px] uppercase",children:"Submit Another Vehicle"})]}):(0,s.jsxs)("form",{onSubmit:Z,children:[_&&(0,s.jsxs)("div",{className:"flex items-center gap-2 p-4 rounded-lg mb-6 ".concat("uploading"===z||"loading"===z?"bg-blue-100 text-blue-800":"bg-red-100 text-red-800"),children:["uploading"===z||"loading"===z?(0,s.jsx)(m.A,{className:"h-5 w-5 flex-shrink-0 animate-spin"}):(0,s.jsx)(h.A,{className:"h-5 w-5 flex-shrink-0"}),(0,s.jsx)("span",{children:_})]}),1===t&&(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)("div",{className:"bg-gradient-to-r from-ub-blue to-ub-orange text-white rounded-lg p-3 mb-6",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 sm:gap-3",children:[(0,s.jsx)(u,{className:"h-5 w-5 sm:h-6 sm:w-6 flex-shrink-0"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("p",{className:"font-bold text-xs sm:text-sm",children:"Get your offer faster on our app!"}),(0,s.jsx)("p",{className:"text-xs opacity-90 hidden sm:block",children:"Skip the form and get instant valuations with our mobile app."})]}),(0,s.jsxs)("div",{className:"flex gap-1 sm:gap-2 flex-shrink-0",children:[(0,s.jsx)("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:(0,s.jsx)("img",{src:"/images/app-store-badge.webp",alt:"App Store",className:"h-6 sm:h-8"})}),(0,s.jsx)("a",{href:U,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:(0,s.jsx)("img",{src:"/images/google-play-badge.webp",alt:"Google Play",className:"h-6 sm:h-8"})})]})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,s.jsx)("div",{className:"bg-ub-orange p-2 rounded-full",children:(0,s.jsx)(x,{className:"h-6 w-6 text-white"})}),(0,s.jsx)("h3",{className:"text-2xl font-black text-ub-blue uppercase",children:"Step 1: Basic Vehicle Info"})]}),(0,s.jsx)("p",{className:"text-ub-orange font-extrabold uppercase text-sm mb-4",children:"Required fields: Brand, Model, Asking Price, Cell, Province, At least 1 Photo"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{htmlFor:"brand",className:"font-bold text-xl text-gray-700 block mb-2",children:"Brand *"}),(0,s.jsx)(i.p,{id:"brand",value:y.brand,onChange:e=>I("brand",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"Enter brand (e.g. Honda, Yamaha, Can-Am)",required:!0})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{htmlFor:"model",className:"font-bold text-xl text-gray-700 block mb-2",children:"Model *"}),(0,s.jsx)(i.p,{id:"model",value:y.model,onChange:e=>I("model",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"Enter model (e.g. CBR600, Raptor 700)",required:!0})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{htmlFor:"year",className:"font-bold text-xl text-gray-700 block mb-2",children:"Year"}),(0,s.jsx)(i.p,{id:"year",type:"number",value:y.year,onChange:e=>I("year",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"Enter year (e.g. 2020)",inputMode:"numeric",pattern:"[0-9]*"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{htmlFor:"askingPrice",className:"font-bold text-xl text-gray-700 block mb-2",children:"Asking Price *"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,s.jsx)("span",{className:"text-gray-500",children:"R"})}),(0,s.jsx)(i.p,{id:"askingPrice",value:y.askingPrice,onChange:e=>V("askingPrice",e.target.value),className:"pl-8 h-auto! py-3 w-full text-base!",placeholder:"Enter asking price",inputMode:"numeric",pattern:"[0-9]*",required:!0})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{htmlFor:"phone",className:"font-bold text-xl text-gray-700 block mb-2",children:"Cell Number *"}),(0,s.jsx)(i.p,{id:"phone",type:"tel",value:y.phone,onChange:e=>I("phone",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"e.g. 0712345678",required:!0})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{htmlFor:"province",className:"font-bold text-xl text-gray-700 block mb-2",children:"Province *"}),(0,s.jsxs)(n.l6,{value:y.province,onValueChange:e=>I("province",e),required:!0,children:[(0,s.jsx)(n.bq,{className:"py-3! h-auto! 
1w-full text-base!",children:(0,s.jsx)(n.yv,{placeholder:"Select your province"})}),(0,s.jsxs)(n.gC,{children:[(0,s.jsx)(n.eb,{value:"Eastern Cape",children:"Eastern Cape"}),(0,s.jsx)(n.eb,{value:"Free State",children:"Free State"}),(0,s.jsx)(n.eb,{value:"Gauteng",children:"Gauteng"}),(0,s.jsx)(n.eb,{value:"KwaZulu-Natal",children:"KwaZulu-Natal"}),(0,s.jsx)(n.eb,{value:"Limpopo",children:"Limpopo"}),(0,s.jsx)(n.eb,{value:"Mpumalanga",children:"Mpumalanga"}),(0,s.jsx)(n.eb,{value:"Northern Cape",children:"Northern Cape"}),(0,s.jsx)(n.eb,{value:"North West",children:"North West"}),(0,s.jsx)(n.eb,{value:"Western Cape",children:"Western Cape"})]})]})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{className:"font-bold text-xl text-gray-700 block mb-3",children:"Upload Photos (At least 1 required) *"}),(0,s.jsxs)("div",{className:"border-2 border-dashed rounded-lg p-6 text-center transition-colors duration-200 ".concat(W?"border-ub-orange bg-ub-orange/5":"border-gray-300 hover:border-ub-orange"),onDragEnter:O,onDragLeave:D,onDragOver:B,onDrop:Y,children:[(0,s.jsx)("input",{type:"file",accept:"image/*",multiple:!0,onChange:e=>{let a=e.target.files?Array.from(e.target.files):null;e.target.value="",H(a)},disabled:"uploading"===z,className:"hidden",id:"photos"}),(0,s.jsxs)("label",{htmlFor:"photos",className:"cursor-pointer",children:[(0,s.jsx)(p.A,{className:"mx-auto h-12 w-12 text-gray-400 mb-4"}),(0,s.jsxs)("p",{className:"text-gray-600",children:[(0,s.jsx)("span",{className:"text-ub-blue font-medium hover:text-ub-orange",children:"Upload files"})," ","or drag and drop"]}),(0,s.jsx)("p",{className:"text-sm text-gray-500 mt-2",children:"PNG, JPG, JPEG files accepted"})]})]})]}),y.photos.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsxs)("h4",{className:"font-bold text-lg text-gray-700 mb-3",children:["Uploaded Photos (",y.photos.length,")"]}),(0,s.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:y.photos.map((e,a)=>(0,s.jsxs)("div",{className:"relative group",children:[(0,s.jsx)(N,{photo:e,alt:"Vehicle photo ".concat(a+1)}),(0,s.jsxs)("div",{className:"absolute bottom-1 left-1 bg-black/70 text-white text-xs px-1 py-0.5 rounded",children:[(e.size/1048576).toFixed(1),"MB"]}),(0,s.jsx)("button",{type:"button",onClick:()=>G(a),className:"absolute -top-2 -right-2 bg-red-500 text-white rounded-full w-6 h-6 flex items-center justify-center text-sm opacity-0 group-hover:opacity-100 transition-opacity",children:"\xd7"})]},a))})]}),0===y.photos.length&&(0,s.jsxs)("div",{className:"bg-red-50 border border-red-200 rounded-lg p-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 text-red-800",children:[(0,s.jsx)(h.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"font-medium",children:"At least 1 photo is required to continue"})]}),(0,s.jsx)("p",{className:"text-red-700 text-sm mt-1",children:"Please upload at least one photo of your vehicle to proceed to the next step."})]})]}),(0,s.jsx)("div",{className:"flex justify-end pt-6",children:(0,s.jsx)(r.$,{type:"button",onClick:K,disabled:!X||"loading"===z||"uploading"===z,className:"flex-1 sm:flex-none bg-ub-orange hover:bg-ub-blue text-white font-bold py-3 px-8 rounded-full transition-colors duration-300 min-w-[150px] uppercase",children:"uploading"===z?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.A,{className:"animate-spin h-5 w-5 mr-2"}),"Uploading..."]}):"loading"===z?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.A,{className:"animate-spin h-5 w-5 mr-2"}),"Submitting..."]}):(0,s.jsxs)(s.Fragment,{children:["Next Step",(0,s.jsx)(b.A,{className:"h-5 w-5 ml-2"})]})})})]}),2===t&&(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)("div",{className:"bg-gradient-to-r from-ub-blue to-ub-orange text-white rounded-lg p-3 mb-6",children:(0,s.jsxs)("div",{className:"text-center sm:flex sm:items-center sm:gap-3 sm:text-left",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2 sm:justify-start mb-2 sm:mb-0 sm:flex-1",children:[(0,s.jsx)(u,{className:"h-4 w-4 sm:h-6 sm:w-6"}),(0,s.jsx)("p",{className:"font-bold text-sm sm:text-base",children:"Get your offer faster on our app!"})]}),(0,s.jsxs)("div",{className:"flex gap-2 justify-center sm:justify-end",children:[(0,s.jsx)("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:(0,s.jsx)("img",{src:"/images/app-store-badge.webp",alt:"App Store",className:"h-7 sm:h-8"})}),(0,s.jsx)("a",{href:U,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:(0,s.jsx)("img",{src:"/images/google-play-badge.webp",alt:"Google Play",className:"h-7 sm:h-8"})})]})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,s.jsx)("div",{className:"bg-ub-orange p-2 rounded-full",children:(0,s.jsx)(x,{className:"h-6 w-6 text-white"})}),(0,s.jsx)("h3",{className:"text-2xl font-black text-ub-blue uppercase",children:"Step 2: Vehicle Details"})]}),(0,s.jsx)("p",{className:"text-gray-600 font-medium text-sm mb-4",children:"All fields are optional - provide what you can to help us give you a better offer"}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{className:"font-bold text-xl text-gray-700 block mb-2",children:"Condition"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:[{value:"excellent",label:"Excellent"},{value:"good",label:"Good"},{value:"acceptable",label:"Acceptable"},{value:"bad",label:"Bad"}].map(e=>(0,s.jsx)(r.$,{type:"button",onClick:()=>I("condition",e.value),variant:y.condition===e.value?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat(y.condition===e.value?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:e.label},e.value))})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{className:"font-bold text-xl text-gray-700 block mb-2",children:"Mileage/Usage"}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(r.$,{type:"button",onClick:()=>I("mileageType","kilometers"),variant:"kilometers"===y.mileageType?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat("kilometers"===y.mileageType?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:"Kilometers"}),(0,s.jsx)(r.$,{type:"button",onClick:()=>I("mileageType","hours"),variant:"hours"===y.mileageType?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat("hours"===y.mileageType?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:"Hours"})]}),(0,s.jsx)(i.p,{id:"mileageValue",value:y.mileageValue,onChange:e=>V("mileageValue",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"Enter ".concat("kilometers"===y.mileageType?"kilometers":"hours"),inputMode:"numeric",pattern:"[0-9]*"})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{className:"font-bold text-xl text-gray-700 block mb-2",children:"Papers Available"}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(r.$,{type:"button",onClick:()=>I("papersAvailable","yes"),variant:"yes"===y.papersAvailable?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat("yes"===y.papersAvailable?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:"Yes"}),(0,s.jsx)(r.$,{type:"button",onClick:()=>I("papersAvailable","no"),variant:"no"===y.papersAvailable?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat("no"===y.papersAvailable?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:"No"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(o.J,{className:"font-bold text-xl text-gray-700 block mb-2",children:"Financed"}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(r.$,{type:"button",onClick:()=>I("financed","yes"),variant:"yes"===y.financed?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat("yes"===y.financed?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:"Yes"}),(0,s.jsx)(r.$,{type:"button",onClick:()=>I("financed","no"),variant:"no"===y.financed?"default":"outline",className:"px-4 py-2 rounded-full text-sm font-semibold transition-colors ".concat("no"===y.financed?"bg-ub-orange text-white hover:bg-ub-blue":"border-ub-orange text-ub-orange hover:bg-ub-orange hover:text-white"),children:"No"})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 justify-between pt-6",children:[(0,s.jsxs)(r.$,{type:"button",onClick:Q,variant:"outline",className:"flex-1 sm:flex-none border-2 border-ub-blue text-ub-blue hover:bg-ub-blue hover:text-white font-bold py-3 px-8 rounded-full transition-colors duration-300 min-w-[150px] uppercase",disabled:"loading"===z||"uploading"===z,children:[(0,s.jsx)(g.A,{className:"h-5 w-5 mr-2"}),"Previous"]}),(0,s.jsx)(r.$,{type:"button",onClick:K,disabled:"loading"===z,className:"flex-1 sm:flex-none bg-ub-orange hover:bg-ub-blue text-white font-bold py-3 px-8 rounded-full transition-colors duration-300 min-w-[150px] uppercase",children:"loading"===z?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.A,{className:"animate-spin h-5 w-5 mr-2"}),"Submitting..."]}):(0,s.jsxs)(s.Fragment,{children:["Next Step",(0,s.jsx)(b.A,{className:"h-5 w-5 ml-2"})]})})]})]}),3===t&&(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)("div",{className:"bg-gradient-to-r from-ub-blue to-ub-orange text-white rounded-lg p-3 mb-6",children:(0,s.jsxs)("div",{className:"text-center sm:flex sm:items-center sm:gap-3 sm:text-left",children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2 sm:justify-start mb-2 sm:mb-0 sm:flex-1",children:[(0,s.jsx)(u,{className:"h-4 w-4 sm:h-6 sm:w-6"}),(0,s.jsx)("p",{className:"font-bold text-sm sm:text-base",children:"Get your offer faster on our app!"})]}),(0,s.jsxs)("div",{className:"flex gap-2 justify-center sm:justify-end",children:[(0,s.jsx)("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:(0,s.jsx)("img",{src:"/images/app-store-badge.webp",alt:"App Store",className:"h-7 sm:h-8"})}),(0,s.jsx)("a",{href:U,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:(0,s.jsx)("img",{src:"/images/google-play-badge.webp",alt:"Google Play",className:"h-7 sm:h-8"})})]})]})}),(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,s.jsx)("div",{className:"bg-ub-orange p-2 rounded-full",children:(0,s.jsx)(f.A,{className:"h-6 w-6 text-white"})}),(0,s.jsx)("h3",{className:"text-2xl font-black text-ub-blue uppercase",children:"Step 3: Personal Information"})]}),(0,s.jsx)("p",{className:"text-gray-600 font-medium text-sm mb-4",children:"All fields are optional - provide what you can for a personalized experience"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,s.jsxs)("div",{className:"md:col-span-2",children:[(0,s.jsx)(o.J,{htmlFor:"fullName",className:"font-bold text-xl text-gray-700 block mb-2",children:"Full Name"}),(0,s.jsx)(i.p,{id:"fullName",value:y.fullName,onChange:e=>I("fullName",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"Enter your full name"})]}),(0,s.jsxs)("div",{className:"md:col-span-2",children:[(0,s.jsx)(o.J,{htmlFor:"email",className:"font-bold text-xl text-gray-700 block mb-2",children:"Email"}),(0,s.jsx)(i.p,{id:"email",type:"email",value:y.email,onChange:e=>I("email",e.target.value),className:"h-auto! py-3 w-full text-base!",placeholder:"[email protected]"})]})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 justify-between pt-6",children:[(0,s.jsxs)(r.$,{type:"button",onClick:Q,variant:"outline",className:"flex-1 sm:flex-none border-2 border-ub-blue text-ub-blue hover:bg-ub-blue hover:text-white font-bold py-3 px-8 rounded-full transition-colors duration-300 min-w-[150px] uppercase",disabled:"loading"===z||"uploading"===z,children:[(0,s.jsx)(g.A,{className:"h-5 w-5 mr-2"}),"Previous"]}),(0,s.jsx)(r.$,{type:"submit",disabled:"loading"===z||!ee,className:"flex-1 sm:flex-none bg-ub-orange hover:bg-ub-blue text-white font-extrabold py-3 px-8 rounded-full transition-colors duration-300 min-w-[200px] uppercase",children:"loading"===z?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.A,{className:"animate-spin h-5 w-5 mr-2"}),"Submitting..."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{className:"h-5 w-5 mr-2"}),"Get My Offer"]})})]})]}),(0,s.jsxs)("div",{className:"mt-8 p-6 bg-white rounded-xl border border-gray-200",children:[(0,s.jsxs)("h4",{className:"font-bold text-ub-blue mb-3 flex items-center gap-2",children:[(0,s.jsx)(h.A,{className:"h-5 w-5"}),"Need Help?"]}),(0,s.jsxs)("div",{className:"grid md:grid-cols-2 gap-4 text-sm text-gray-600",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"mb-2",children:(0,s.jsx)("strong",{children:"Questions about selling?"})}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"Call us:"})," ",(0,s.jsx)("a",{href:"tel:+27123311224",className:"text-ub-blue hover:text-ub-orange font-medium",children:"+27 12 331 1224"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"mb-2",children:(0,s.jsx)("strong",{children:"Email your details:"})}),(0,s.jsx)("p",{children:(0,s.jsx)("a",{href:"mailto:[email protected]",className:"text-ub-blue hover:text-ub-orange font-medium",children:"[email protected]"})})]})]})]}),(0,s.jsx)("div",{className:"text-center text-sm text-gray-600 mt-6",children:(0,s.jsx)("p",{children:"By 
1submitting this form, you consent to UB Leisure contacting you regarding your vehicle and agree to our vehicle evaluation process. All information is kept confidential and you are under no obligation to accept our offer."})})]})}),(0,s.jsxs)("div",{className:"mt-12 max-w-4xl mx-auto",children:[(0,s.jsx)("h3",{className:"text-2xl font-bold text-ub-blue mb-4",children:"Sell Your Vehicle to UB Leisure"}),(0,s.jsxs)("div",{className:"grid md:grid-cols-2 gap-8 gap-y-4 text-gray-700",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"mb-4",children:"UB Leisure is South Africa's premier powersports vehicle buyer, offering competitive cash prices for quad bikes, motorcycles, jet skis, boats, side by sides and other recreational vehicles. Based in Pretoria with nationwide collection, we make selling your vehicle quick and profitable."}),(0,s.jsx)("p",{children:"Our expert valuation team has over 10 years of experience in the powersports industry. We know the true market value of vehicles from all major brands, including Can-Am, CF Moto, Seadoo, Honda, Kawasaki, Segway, Yamaha, Suzuki, Mercury, Odyssey, Polaris, KTM, Husqvarna, GasGas & Kandi."})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"mb-4",children:"Whether you're upgrading to a newer model or have a vehicle that's been sitting unused. From showroom-perfect machines to project vehicles, we provide fair market-related offers."}),(0,s.jsx)("p",{children:"Complete our online form above to receive your offer, or visit our Pretoria branch for an in-person valuation. We handle all paperwork and offer free nationwide collection across South Africa."})]})]})]})]}):(0,s.jsxs)("div",{className:"bg-white rounded-2xl p-8 shadow-lg border-2 border-ub-orange/20 text-center max-w-4xl mx-auto",children:[(0,s.jsx)(u,{className:"h-12 w-12 text-ub-orange mx-auto mb-4"}),(0,s.jsx)("h3",{className:"text-2xl md:text-3xl font-black text-ub-blue uppercase mb-4",children:"The Easiest Way to Sell Your Toy"}),(0,s.jsx)("p",{className:"text-lg text-gray-700 max-w-2xl mx-auto mb-6",children:"For the fastest experience, use our app to easily upload photos and get a valuation directly on your phone."}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center mb-8",children:[(0,s.jsx)("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-90 transition-all duration-300 hover:transform hover:-translate-y-2",children:(0,s.jsx)("img",{src:"/images/app-store-badge.webp",alt:"Download on the App Store",width:504,height:150,className:"h-16 w-auto"})}),(0,s.jsx)("a",{href:U,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-90 transition-all duration-300 hover:transform hover:-translate-y-2",children:(0,s.jsx)("img",{src:"/images/google-play-badge.webp",alt:"Get it on Google Play",width:504,height:150,className:"h-16 w-auto"})})]}),(0,s.jsxs)("div",{className:"relative my-6",children:[(0,s.jsx)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true",children:(0,s.jsx)("div",{className:"w-full border-t border-gray-300"})}),(0,s.jsx)("div",{className:"relative flex justify-center",children:(0,s.jsx)("span",{className:"bg-white px-4 text-sm font-medium text-gray-500",children:"OR"})})]}),(0,s.jsx)("button",{onClick:()=>{a(!0),setTimeout(()=>{var e;null==(e=document.getElementById("sell-form-container"))||e.scrollIntoView({behavior:"smooth"})},100)},className:"border-2 border-ub-blue text-ub-blue hover:bg-ub-blue hover:text-white font-bold py-3 px-8 rounded-full transition-colors duration-300 min-w-[200px] w-max uppercase inline-block cursor-pointer",children:"Continue with Website Form"})]})]})})}}},e=>{var a=a=>e(e.s=a);e.O(0,[2848,9001,6874,2409,4472,2343,8441,1684,7358],()=>a(9327)),_N_E=e.O()}]);

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.