(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48627,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(74080);e.i(46607);var i=e.i(89970),l=e.i(83495);let s="/evpd-demo/videos/handoff-frame.jpg",a=[{src:"/evpd-demo/videos/bike-hero.jpg",tilt:0,title:"The Bike",caption:"MyAccess EV — engineered electric, to the core."},{src:"/evpd-demo/frames/hero/ezgif-frame-350.jpg",tilt:0,title:"Wall Charger",caption:"Every wall, a charging point."},{src:"/evpd-demo/frames/hero/ezgif-frame-430.jpg",tilt:0,title:"The Helmet",caption:"A helmet that thinks ahead."},{src:"/evpd-demo/videos/charging-station-poster.jpg",tilt:0,title:"Charging Station",caption:"Charge smart. Ride faster."},{src:"/evpd-demo/videos/swapable-battery-poster.jpg",tilt:0,title:"Swappable Battery",caption:"Swap in seconds, ride for days."},{src:s,tilt:0,title:"The City",caption:"Where every MyAccess ride belongs."}],o=[...a,...a],c=-(48*(((360*(a.length-1)/o.length-270)%360+360)%360/360)),d=[{value:"120",unit:"km",label:"Range"},{value:"85",unit:"km/h",label:"Top speed"},{value:"45",unit:"min",label:"Fast charge"}];e.s(["default",0,function(){let e=o.length,a=(0,r.useRef)(null),h=(0,r.useRef)([]),u=(0,r.useRef)(null),p=(0,r.useRef)(null),f=(0,r.useRef)(null),m=(0,r.useRef)(null),g=(0,r.useRef)(null),b=(0,r.useRef)(null),[x,v]=(0,r.useState)(null),[w,y]=(0,r.useState)(!1),j=(0,r.useRef)(!1),k=()=>{j.current&&(j.current=!1,y(!1))},N=(0,r.useRef)(!1),R=e=>{let t=h.current[e];if(!t||N.current||null!==x)return;let r=t.getBoundingClientRect();b.current={left:r.left,top:r.top,width:r.width,height:r.height},N.current=!0,window.__lenis?.stop(),v(e)};return(0,r.useLayoutEffect)(()=>{if(null===x)return;let e=u.current;e&&(i.gsap.killTweensOf([e,p.current]),i.gsap.to(e,{left:0,top:0,width:()=>window.innerWidth,height:()=>window.innerHeight,borderRadius:0,duration:1.3,ease:"power3.inOut",onComplete:()=>{N.current=!1}}),i.gsap.fromTo(p.current,{autoAlpha:0},{autoAlpha:1,duration:.3,delay:.806,ease:"none"}))},[x]),(0,r.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.intersectionRatio>=.3&&document.documentElement.classList.add("nav-on-light")},{threshold:[0,.1,.2,.3,.4,.5,.6,.75,.9,1]});return t.observe(e),()=>t.disconnect()},[]),(0,r.useEffect)(()=>{let e=f.current,t=a.current;if(!e||!t)return;let r=(e,t,r)=>e+(t-e)*r,n=()=>i.gsap.set(e,{autoAlpha:0}),s=document.documentElement,o=()=>s.classList.add("orbit-handoff");n();let c=l.ScrollTrigger.create({trigger:t,start:"top bottom",end:"top top",onEnter:o,onEnterBack:o,onLeave:()=>{n(),s.classList.remove("orbit-handoff")},onLeaveBack:()=>{n(),k(),s.classList.remove("orbit-handoff")},onUpdate:t=>{if(!document.querySelector(".hero-in"))return void n();let l=t.progress,s=window.innerWidth,a=window.innerHeight,o=s-.5*a,c=.5*a,d=1-(1-l)*(1-l),h={left:o-150,top:c-95.5,width:300,height:191,borderRadius:16};j.current?l<.98&&(i.gsap.set(e,{...h,autoAlpha:1}),k()):(i.gsap.set(e,{left:r(0,o-150,d),top:r(0,c-95.5,d),width:r(s,300,d),height:r(a,191,d),borderRadius:r(0,16,d),autoAlpha:1}),l>=.98&&(i.gsap.set(e,{...h,autoAlpha:1}),j.current||(j.current=!0,y(!0))))},onRefresh:e=>{e.isActive||n()}});return()=>{c.kill(),s.classList.remove("orbit-handoff")}},[]),(0,r.useEffect)(()=>{w&&i.gsap.set(f.current,{autoAlpha:0})},[w]),(0,r.useEffect)(()=>{g.current=x},[x]),(0,r.useEffect)(()=>()=>{window.__lenis?.start()},[]),(0,r.useEffect)(()=>{let e=m.current,t=a.current;if(!e||!t)return;let r=t=>e.style.setProperty("--spin",String(t));r(0);let n=l.ScrollTrigger.create({trigger:t,start:"top top",end:"+=2500",pin:!0,pinSpacing:!0,scrub:!0,onUpdate:e=>{null===g.current&&r(24*e.progress)}});return()=>n.kill()},[]),(0,t.jsxs)("section",{ref:a,className:"relative z-10 w-full",style:{background:"#ffffff",minHeight:"100vh",overflowX:"clip",overflowY:"visible"},children:[(0,t.jsx)("div",{ref:m,className:"pointer-events-none absolute right-0 top-1/2 hidden lg:block",style:{width:1e3,height:1e3,transform:"translate(calc(50% - 0px), -50%)","--pre":c},children:(0,t.jsx)("div",{className:"orbit-ring absolute inset-0",children:o.map((r,n)=>{let i=360*n/e,l=((i-270)%360+360)%360/360*48-24;return l>0&&(l-=48),(0,t.jsx)("div",{className:"absolute left-1/2 top-1/2",style:{transform:`translate(-50%,-50%) rotate(${i}deg) translateY(-50vh)`},children:(0,t.jsx)("div",{style:{transform:`rotate(${-i}deg)`},children:(0,t.jsx)("div",{className:"orbit-cancel",children:(0,t.jsx)("div",{style:{transform:`rotate(${r.tilt}deg)`},children:(0,t.jsx)("div",{className:"orbit-scale",style:{"--base":l+c},children:(0,t.jsxs)("div",{ref:e=>{h.current[n]=e},onClick:()=>R(n),role:"button",tabIndex:0,"aria-label":`Open ${r.title}`,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),R(n))},className:"pointer-events-auto relative cursor-pointer overflow-hidden rounded-2xl bg-white shadow-[0_34px_70px_rgba(20,16,8,0.24)] ring-1 ring-black/5",style:{width:300,height:191,visibility:x===n?"hidden":"visible"},children:[(r.src!==s||w)&&(0,t.jsx)("img",{src:r.src,alt:"",className:"h-full w-full object-cover"}),(0,t.jsx)("div",{className:"pointer-events-none absolute",style:{top:12,right:12,width:34,height:34,borderRadius:9999,background:"rgba(0,0,0,0.42)",display:"flex",alignItems:"center",justifyContent:"center",backdropFilter:"blur(2px)"},children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"#ffffff",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round",style:{width:17,height:17},children:(0,t.jsx)("path",{d:"M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M16 21h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"})})})]})})})})})},n)})})}),(0,t.jsxs)("div",{className:"pointer-events-none relative mx-auto flex max-w-[1500px] items-center px-8 sm:px-14",style:{minHeight:"100vh"},children:[(0,t.jsxs)("div",{className:"pointer-events-auto max-w-[560px] py-24",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-black/10 bg-white/70 px-4 py-1.5 backdrop-blur",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full",style:{background:"#e8792e"}}),(0,t.jsx)("span",{className:"font-inter text-[12px] tracking-tight text-black/70",children:"Bookings open — 2026 delivery"}),(0,t.jsx)("span",{className:"text-black/40",children:"→"})]}),(0,t.jsx)("h2",{className:"mt-8 font-display font-semibold tracking-tight text-[#e8c06a]",style:{fontSize:"clamp(3rem, 6.2vw, 5.6rem)",lineHeight:.98},children:"MyAccess EV"}),(0,t.jsx)("p",{className:"mt-6 font-serif font-light text-[#141414]",style:{fontSize:"clamp(1.4rem, 2.4vw, 2rem)",lineHeight:1.2},children:"The Electric Scooter That Never Waits to Charge"}),(0,t.jsx)("p",{className:"mt-4 font-inter font-medium",style:{fontSize:"1.05rem",color:"#e8792e"},children:"Swap in seconds. Ride for days."}),(0,t.jsx)("p",{className:"mt-5 max-w-[440px] font-inter leading-relaxed text-black/55",style:{fontSize:"0.95rem"},children:"A battery you swap in under a minute, a charging network that is already live, and the range to carry your whole week on a single pack."}),(0,t.jsxs)("div",{className:"mt-8 flex flex-wrap items-center gap-3",children:[(0,t.jsx)("a",{href:"#",className:"rounded-xl px-7 py-4 font-inter text-[0.85rem] font-medium text-white",style:{background:"#141414"},children:"Reserve yours →"}),(0,t.jsx)("a",{href:"#",className:"rounded-xl border border-black/10 bg-white px-7 py-4 font-inter text-[0.85rem] font-medium text-[#141414]",children:"Explore the range →"})]})]}),(0,t.jsx)("div",{className:"pointer-events-auto ml-16 hidden shrink-0 border-l border-black/10 pl-16 2xl:block",children:(0,t.jsx)("ul",{className:"space-y-11",children:d.map(e=>(0,t.jsxs)("li",{children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5 font-display font-semibold tracking-tight text-[#141414]",style:{fontSize:"2.7rem",lineHeight:1},children:[e.value,(0,t.jsx)("span",{className:"font-inter text-[0.95rem] font-medium text-black/40",children:e.unit})]}),(0,t.jsx)("div",{className:"mt-2.5 font-inter text-[11px] uppercase tracking-[0.18em] text-black/45",children:e.label})]},e.label))})})]}),null!==x&&b.current&&"u">typeof document&&(0,n.createPortal)((0,t.jsxs)("div",{ref:u,className:"fixed z-[100] overflow-hidden bg-[#0a0a0b]",style:{left:b.current.left,top:b.current.top,width:b.current.width,height:b.current.height,borderRadius:16},children:[(0,t.jsx)("img",{src:o[x].src,alt:"",className:"h-full w-full object-cover"}),(0,t.jsxs)("div",{ref:p,className:"pointer-events-none absolute inset-0",style:{opacity:0},children:[(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-1/2",style:{background:"linear-gradient(to top, rgba(10,10,11,0.9), rgba(10,10,11,0.35) 45%, transparent)"}}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 p-10 sm:p-16",children:[(0,t.jsx)("h3",{className:"font-display font-semibold tracking-tight text-white",style:{fontSize:"clamp(2rem, 4.5vw, 3.6rem)",lineHeight:1},children:o[x].title}),(0,t.jsx)("p",{className:"mt-3 font-inter text-white/60",style:{fontSize:"1rem"},children:o[x].caption})]}),(0,t.jsx)("button",{type:"button",onClick:()=>{let e=u.current,t=null===x?null:h.current[x];if(!e)return;N.current=!0;let r=t?.getBoundingClientRect();i.gsap.killTweensOf([e,p.current]),i.gsap.to(p.current,{autoAlpha:0,duration:.18,ease:"none"}),i.gsap.to(e,{left:r?r.left:window.innerWidth,top:r?r.top:window.innerHeight/2,width:r?r.width:0,height:r?r.height:0,borderRadius:16,duration:1,ease:"power3.inOut",onComplete:()=>{N.current=!1,v(null),window.__lenis?.start()}})},"aria-label":"Close",className:"pointer-events-auto absolute right-6 top-6 flex h-12 w-12 items-center justify-center rounded-full bg-white/10 text-[18px] text-white backdrop-blur transition-colors hover:bg-white/25",children:"✕"})]})]}),document.body),"u">typeof document&&(0,n.createPortal)((0,t.jsx)("img",{ref:f,src:s,alt:"","aria-hidden":!0,className:"pointer-events-none fixed z-[86]",style:{left:0,top:0,width:"100vw",height:"100vh",objectFit:"cover",visibility:"hidden"}}),document.body)]})}])}]);