{"version":3,"file":"PatinaMotion.34piPIkB.mjs","names":["useState","useRef","useContext","startTransition"],"sources":["https:/framerusercontent.com/modules/mXYspnUwFcXidAXgEEGP/VrQF3pC88zpdgBYL1N7F/PatinaMotion.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{createContext,forwardRef,startTransition,useContext,useEffect,useRef,useState}from\"react\";import{animate,motion,useAnimationFrame,useMotionValue,useReducedMotion,useScroll,useSpring,useTransform}from\"framer-motion\";import{RenderTarget}from\"framer\";// Patina motion: slow, crafted effects for a classic-car workshop (from the Octavo set).\n// Built from the Gesso, Mend and Podere motion sets.\n// withReveal        photos open through a soft ink-blot mask when they reach the screen (Gesso/Mend).\n// withParallax      a photo layer inside a clipping frame drifts against the scroll (Mend).\n// withRise          a block lifts out of a soft blur when it scrolls in (Podere blur-rise).\n// withStagger       the items of a CMS list rise one after another, 0.08s apart (Podere).\n// withMarquee       a track holding two identical copies slides slowly and loops (Mend).\n// withHiddenCopy    the second marquee copy is hidden from screen readers and Tab (Gesso).\n// withMenuRow       a contents/list row rises into place and shares its hover state (Gesso menu rows).\n// withRuleDraw      the row's 1px rule draws itself from the left (Gesso).\n// withHoverNudge    the row title slides 10px right while its row is hovered (Gesso).\n// withHoverCard     a card shares its hover state with its children (Gesso).\n// withHoverLift     an issue cover lifts 8px and casts a deeper shadow on card hover (Gesso).\n// withColourHover   a black & white portrait warms into colour on card hover (Gesso).\n// withCountUp       a number in a text layer counts up from zero when it scrolls in.\n// In-view checks read the element's rect on scroll (IntersectionObserver misses layers inside\n// Framer CMS lists). Anything already on screen at load is shown at once; reduced motion skips it all.\nconst EASE=\"cubic-bezier(0.22,1,0.36,1)\";const onCanvas=()=>RenderTarget.current()===RenderTarget.canvas;function mergeRefs(...refs){return node=>{for(const ref of refs){if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;}};}function useSeen(ref,skip,line=.88){const[seen,setSeen]=useState(false);const[instant,setInstant]=useState(false);useEffect(()=>{if(skip)return setSeen(true);let raf=0;let done=false;let first=true;const check=()=>{raf=0;const el=ref.current;if(!el||done)return;let r=el.getBoundingClientRect();if(r.width===0&&r.height===0){const child=el.firstElementChild;if(!child)return;r=child.getBoundingClientRect();}if(r.top<window.innerHeight*line)finish();};const finish=()=>{done=true;if(first){setInstant(true);setSeen(true);}else startTransition(()=>setSeen(true));window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onScroll);};const onScroll=()=>{if(!raf)raf=requestAnimationFrame(check);};window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onScroll);check();first=false;const t=window.setTimeout(check,80);return()=>{window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onScroll);window.clearTimeout(t);if(raf)cancelAnimationFrame(raf);};},[skip]);return[seen,instant];}function useMounted(){const[m,setM]=useState(false);useEffect(()=>setM(true),[]);return m;}const BLOB=`url(\"data:image/svg+xml;utf8,${encodeURIComponent(\"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.03' numOctaves='3' seed='5'/><feDisplacementMap in='SourceGraphic' scale='28'/></filter><path filter='url(%23f)' fill='black' d='M100 20 C148 16 184 52 182 100 C180 148 146 184 98 182 C50 180 16 148 18 100 C20 54 54 24 100 20 Z'/></svg>\")}\")`;export function withReveal(Component){return /*#__PURE__*/forwardRef(function Reveal(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.86);const[done,setDone]=useState(false);useEffect(()=>{if(reduce||instant)return setDone(true);if(!seen)return;const t=window.setTimeout(()=>setDone(true),1500);return()=>window.clearTimeout(t);},[seen,reduce,instant]);const mask=!mounted||done||instant?{}:{WebkitMaskImage:BLOB,maskImage:BLOB,WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskPosition:\"50% 55%\",maskPosition:\"50% 55%\",WebkitMaskSize:seen?\"330% 330%\":\"0% 0%\",maskSize:seen?\"330% 330%\":\"0% 0%\",transition:`-webkit-mask-size 1.35s ${EASE}, mask-size 1.35s ${EASE}`};return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,...mask}});});}export function withParallax(Component){return /*#__PURE__*/forwardRef(function Parallax(props,forwardedRef){const ref=useRef(null);const reduce=useReducedMotion();const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const y=useTransform(scrollYProgress,[0,1],reduce?[\"0%\",\"0%\"]:[\"-6%\",\"6%\"]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,y,scale:reduce?1:1.14,willChange:\"transform\"}});});}// Blur-rise for one block (headings groups, buttons, notes).\nexport function withRise(Component){return /*#__PURE__*/forwardRef(function Rise(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.9);const hidden=mounted&&!reduce&&!instant&&!seen;return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,opacity:hidden?0:1,translate:hidden?\"0 26px\":\"0 0\",filter:hidden?\"blur(8px)\":\"none\",transition:mounted&&!reduce&&!instant?`opacity .85s ${EASE}, translate .85s ${EASE}, filter .85s ${EASE}`:undefined}});});}// Wait until React has hydrated everything under `root` before touching its DOM.\nfunction whenHydrated(root,run){let raf=0,timer=0,done=false;const started=performance.now();const claimed=n=>!!n&&Object.keys(n).some(k=>k.startsWith(\"__reactFiber$\")||k.startsWith(\"__reactInternalInstance$\"));const check=()=>{if(done)return;const all=root?root.querySelectorAll(\"*\"):null;const lastEl=all&&all.length?all[all.length-1]:null;const ready=!root||(!root.firstElementChild||claimed(root.firstElementChild))&&(!lastEl||claimed(lastEl));if(ready||performance.now()-started>4e3){timer=window.setTimeout(()=>{if(!done){done=true;run();}},60);return;}raf=requestAnimationFrame(check);};check();return()=>{done=true;cancelAnimationFrame(raf);window.clearTimeout(timer);};}// The items of a list (e.g. a CMS grid) blur-rise one after another when the list scrolls in.\nfunction staggerOnView(host,gap,dist,blur){const target=host.current?.firstElementChild;if(!target||onCanvas())return()=>{};const reduced=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;if(reduced)return()=>{};let raf=0;let off=()=>{};const cancel=whenHydrated(target,()=>{const items=[];const collect=el=>{for(const c of Array.from(el.children)){if(c.tagName===\"STYLE\")continue;if(getComputedStyle(c).display===\"contents\")collect(c);else items.push(c);}};collect(target);if(!items.length)return;const r0=target.getBoundingClientRect();if(r0.top<window.innerHeight*.9&&r0.bottom>0)return;items.forEach(el=>{el.style.opacity=\"0\";el.style.translate=`0 ${dist}px`;el.style.filter=blur?`blur(${blur}px)`:\"\";});const show=()=>{off();items.sort((a,b)=>{const ra=a.getBoundingClientRect(),rb=b.getBoundingClientRect();return Math.abs(ra.top-rb.top)>4?ra.top-rb.top:ra.left-rb.left;});items.forEach((el,i)=>{const d=Math.min(i*gap,.6);el.style.transition=`opacity .8s ${EASE} ${d}s, translate .8s ${EASE} ${d}s, filter .8s ${EASE} ${d}s`;requestAnimationFrame(()=>{el.style.opacity=\"1\";el.style.translate=\"0 0\";el.style.filter=blur?\"blur(0px)\":\"\";});window.setTimeout(()=>{el.style.transition=\"\";el.style.filter=\"\";el.style.translate=\"\";},900+d*1e3);});};const check=()=>{raf=0;const r=target.getBoundingClientRect();if(r.top<window.innerHeight*.88)show();};const on=()=>{if(!raf)raf=requestAnimationFrame(check);};window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);off=()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);};});return()=>{cancel();off();if(raf)cancelAnimationFrame(raf);};}export function withStagger(Component){return /*#__PURE__*/forwardRef(function Stagger(props,ref){const host=useRef(null);useEffect(()=>staggerOnView(host,.08,30,6),[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:ref})});});}export function withMarquee(Component){return /*#__PURE__*/forwardRef(function Marquee(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const x=useMotionValue(0);const loop=useRef(0);const speed=useRef(1);const paused=useRef(false);const onScreen=useRef(true);useEffect(()=>{const el=ref.current;if(!el)return;const measure=()=>loop.current=el.scrollWidth/2;measure();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(measure):null;ro?.observe(el);const vis=()=>{const r=el.getBoundingClientRect();onScreen.current=r.bottom>-200&&r.top<window.innerHeight+200;};vis();window.addEventListener(\"scroll\",vis,{passive:true});return()=>{ro?.disconnect();window.removeEventListener(\"scroll\",vis);};},[]);useAnimationFrame((_,delta)=>{if(reduce||!loop.current||!onScreen.current)return;speed.current+=((paused.current?0:1)-speed.current)*Math.min(1,delta/400);if(speed.current<.001)return;let next=x.get()-42*speed.current*delta/1e3;if(next<=-loop.current)next+=loop.current;x.set(next);});return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),onPointerEnter:e=>{if(e.pointerType===\"mouse\")paused.current=true;props.onPointerEnter?.(e);},onPointerLeave:e=>{paused.current=false;props.onPointerLeave?.(e);},style:{...props.style,x,willChange:\"transform\"}});});}export function withHiddenCopy(Component){return /*#__PURE__*/forwardRef(function HiddenCopy(props,forwardedRef){const ref=useRef(null);useEffect(()=>{ref.current?.setAttribute(\"inert\",\"\");},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),\"aria-hidden\":\"true\"});});}// ---- rows (contents, events, stockists, FAQs)\nconst RowState=/*#__PURE__*/createContext({hovered:false,shown:true,delay:0});let queue=[];let scheduled=false;function enqueue(run){const i=queue.length;queue.push(()=>run(Math.min(i*.07,.5)));if(scheduled)return;scheduled=true;requestAnimationFrame(()=>{const b=queue;queue=[];scheduled=false;b.forEach(f=>f());});}const canHover=()=>typeof window!==\"undefined\"&&!!window.matchMedia?.(\"(hover: hover) and (pointer: fine)\").matches;export function withMenuRow(Component){return /*#__PURE__*/forwardRef(function MenuRow(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.92);const[st,setSt]=useState({on:false,delay:0});const[hovered,setHovered]=useState(false);useEffect(()=>{if(seen&&!st.on)enqueue(delay=>startTransition(()=>setSt({on:true,delay})));},[seen]);const hidden=mounted&&!reduce&&!instant&&!st.on;const shown=!mounted||reduce||instant||st.on;return /*#__PURE__*/_jsx(RowState.Provider,{value:{hovered,shown,delay:instant?0:st.delay},children:/*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),onPointerEnter:e=>{if(canHover())setHovered(true);props.onPointerEnter?.(e);},onPointerLeave:e=>{setHovered(false);props.onPointerLeave?.(e);},style:{...props.style,opacity:hidden?0:1,translate:hidden?\"0 22px\":\"0 0\",filter:hidden?\"blur(6px)\":\"none\",transition:mounted&&!reduce&&!instant?`opacity .8s ${EASE} ${st.delay}s, translate .8s ${EASE} ${st.delay}s, filter .8s ${EASE} ${st.delay}s`:undefined}})});});}export function withRuleDraw(Component){return /*#__PURE__*/forwardRef(function RuleDraw(props,forwardedRef){const{shown,delay}=useContext(RowState);const reduce=!!useReducedMotion();const mounted=useMounted();const drawn=!mounted||shown||reduce;return /*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef,style:{...props.style,transformOrigin:\"left center\",transform:drawn?\"scaleX(1)\":\"scaleX(0)\",transition:mounted?`transform 1.1s ${EASE} ${delay+.15}s`:undefined}});});}export function withHoverNudge(Component){return /*#__PURE__*/forwardRef(function HoverNudge(props,forwardedRef){const row=useContext(RowState);const card=useContext(CardHover);const reduce=!!useReducedMotion();const on=(row.hovered||card)&&!reduce;return /*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef,style:{...props.style,translate:on?\"10px 0px\":\"0px 0px\",transition:`translate 0.5s ${EASE}`}});});}// ---- cards\nexport const CardHover=/*#__PURE__*/createContext(false);export function withHoverCard(Component){return /*#__PURE__*/forwardRef(function HoverCard(props,ref){const[hover,setHover]=useState(false);return /*#__PURE__*/_jsx(CardHover.Provider,{value:hover,children:/*#__PURE__*/_jsx(Component,{...props,ref:ref,onMouseEnter:e=>{if(canHover())setHover(true);props.onMouseEnter?.(e);},onMouseLeave:e=>{setHover(false);props.onMouseLeave?.(e);},onFocus:e=>{setHover(true);props.onFocus?.(e);},onBlur:e=>{setHover(false);props.onBlur?.(e);}})});});}export function withHoverLift(Component){return /*#__PURE__*/forwardRef(function HoverLift(props,ref){const hover=useContext(CardHover);const reduce=useReducedMotion();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,translate:hover&&!reduce?\"0 -8px\":\"0 0\",boxShadow:hover?\"0 30px 50px rgba(30,27,24,0.22)\":\"0 14px 28px rgba(30,27,24,0.10)\",transition:`translate 0.6s ${EASE}, box-shadow 0.6s ${EASE}`}});});}export function withColourHover(Component){return /*#__PURE__*/forwardRef(function ColourHover(props,ref){const hover=useContext(CardHover);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,filter:hover?\"grayscale(0) sepia(0.06)\":\"grayscale(1) sepia(0.18) contrast(1.04)\",transition:`filter 0.7s ${EASE}`}});});}// ---- numbers\nexport function withCountUp(Component){return /*#__PURE__*/forwardRef(function CountUp(props,forwardedRef){const host=useRef(null);useEffect(()=>{const el=host.current?.firstElementChild;if(!el||onCanvas()||window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;let raf=0,stop=null,off=()=>{};const cancel=whenHydrated(el,()=>{const p=el.querySelector(\"p, h1, h2, h3\")||el;const text=p.textContent||\"\";const m=text.match(/^(\\D*)([\\d,.]+)(.*)$/);if(!m)return;const target=parseFloat(m[2].replace(/,/g,\"\"));if(!isFinite(target)||target===0)return;const dec=(m[2].split(\".\")[1]||\"\").length;const fmt=v=>m[1]+(dec?v.toFixed(dec):m[2].includes(\",\")?Math.round(v).toLocaleString(\"en-GB\"):String(Math.round(v)))+m[3];const r0=el.getBoundingClientRect();if(r0.top<window.innerHeight*.95&&r0.bottom>0)return;p.textContent=fmt(0);const run=()=>{off();const c=animate(0,target,{duration:1.6,ease:[.22,1,.36,1],onUpdate:v=>p.textContent=fmt(v)});stop=()=>c.stop();};const check=()=>{raf=0;if(el.getBoundingClientRect().top<window.innerHeight*.88)run();};const on=()=>{if(!raf)raf=requestAnimationFrame(check);};window.addEventListener(\"scroll\",on,{passive:true});off=()=>window.removeEventListener(\"scroll\",on);});return()=>{cancel();off();stop?.();if(raf)cancelAnimationFrame(raf);};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})});});}// withRowImage: a stockist photo inside a clipping thumb. Black & white and slightly zoomed out at\n// rest; when its row (withMenuRow) or card (withHoverCard) is hovered it warms into colour and\n// settles in with a slow zoom. Touch screens show it in colour.\nexport function withRowImage(Component){return /*#__PURE__*/forwardRef(function RowImage(props,ref){const row=useContext(RowState);const card=useContext(CardHover);const reduce=!!useReducedMotion();const[touch,setTouch]=useState(false);useEffect(()=>setTouch(!canHover()),[]);const on=row.hovered||card||touch;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,filter:on?\"grayscale(0) sepia(0.05)\":\"grayscale(1) sepia(0.2) contrast(1.05)\",scale:reduce?1:on?1.08:1,transition:`filter 0.7s ${EASE}, scale 1.1s ${EASE}`}});});}// withExpandMedia — the hero's signature scroll. Put it on the media card inside a \"Sticky\" frame\n// (position sticky, top 0, 100vh) that sits at the top of a \"Media Track\" frame; after the Sticky the\n// track holds an 80vh spacer and then the dark section that slides over the card.\n// While the track's top travels from mid-screen to 80vh above the top of the screen, the card grows from 92% wide\n// with 21:9 proportions and 14px corners to full-bleed 100% × 100vh with square corners, and its\n// photo brightens from 75% to 100%. Reduced motion / canvas: the card stays as designed.\nexport function withExpandMedia(Component){return /*#__PURE__*/forwardRef(function ExpandMedia(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const p=useMotionValue(0);const vw=useMotionValue(1200);const vh=useMotionValue(800);const[live,setLive]=useState(false);useEffect(()=>{if(reduce||onCanvas())return;setLive(true);let raf=0;const update=()=>{raf=0;const el=ref.current;if(!el)return;const track=el.closest('[data-framer-name=\"Media Track\"]')||el.parentElement;if(!track)return;vw.set(track.clientWidth||window.innerWidth);vh.set(window.innerHeight);const top=track.getBoundingClientRect().top;// starts growing once the track's top passes the middle of the screen, full-bleed 80vh after it sticks\np.set(Math.min(1,Math.max(0,(window.innerHeight*.5-top)/(window.innerHeight*1.3))));};const on=()=>{if(!raf)raf=requestAnimationFrame(update);};update();window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);return()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);if(raf)cancelAnimationFrame(raf);};},[reduce]);const ease=t=>1-Math.pow(1-t,3);const width=useTransform([p,vw],([t,w])=>`${(.92+.08*ease(t))*w}px`);const height=useTransform([p,vw,vh],([t,w,h])=>{const start=.92*w*9/21;return`${start+(h-start)*ease(t)}px`;});const borderRadius=useTransform(p,t=>`${14*(1-ease(t))}px`);const filter=useTransform(p,t=>`brightness(${.75+.25*t})`);if(!live)return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef)});return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,width,height,borderRadius,filter,maxWidth:\"none\",willChange:\"width, height\"}});});}// withCardPhoto (Gesso Art artwork cards): the photo layer inside a clipping frame drifts against the\n// scroll (±5%) and, while its card (withHoverCard) or row (withMenuRow) is hovered, eases in from\n// 1.12 to 1.2 with a touch more light. Put it on a \"Photo\" layer that fills the frame.\nexport function withCardPhoto(Component){return /*#__PURE__*/forwardRef(function CardPhoto(props,forwardedRef){const ref=useRef(null);const reduce=!!useReducedMotion();const card=useContext(CardHover);const row=useContext(RowState);const on=(card||row.hovered)&&!reduce;const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"end start\"]});const y=useTransform(scrollYProgress,[0,1],reduce?[\"0%\",\"0%\"]:[\"-5%\",\"5%\"]);const scale=useSpring(reduce?1:1.12,{stiffness:120,damping:24,mass:.6});useEffect(()=>{scale.set(reduce?1:on?1.2:1.12);},[on,reduce]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,y,scale,filter:on?\"brightness(1.06) saturate(1.05)\":\"none\",transition:`filter .6s ${EASE}`,willChange:\"transform\"}});});}// withHoverUnderline: a clay rule draws under the card title from the left while its card is hovered.\nexport function withHoverUnderline(Component){return /*#__PURE__*/forwardRef(function HoverUnderline(props,ref){const card=useContext(CardHover);const row=useContext(RowState);const on=card||row.hovered;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,backgroundImage:\"linear-gradient(var(--token-453765ce-2aff-4669-a2da-3861257eaf2c, #985641), var(--token-453765ce-2aff-4669-a2da-3861257eaf2c, #985641))\",backgroundRepeat:\"no-repeat\",backgroundPosition:\"0% 100%\",backgroundSize:on?\"100% 1.5px\":\"0% 1.5px\",paddingBottom:6,transition:`background-size .7s ${EASE}`}});});}// withCardZoom (Patina mega menu): the photo inside a card (withHoverCard) eases to 1.05 while\n// the card is hovered or focused.\nexport function withCardZoom(Component){return /*#__PURE__*/forwardRef(function CardZoom(props,ref){const hover=useContext(CardHover);const reduce=useReducedMotion();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,transform:hover&&!reduce?\"scale(1.05)\":\"scale(1)\",transition:\"transform 0.6s cubic-bezier(0.22, 1, 0.36, 1)\"}});});}// withHeroExit (Patina home hero): the hero content fades out and rises 40px over the first 60% of a\n// screen of scrolling, as the cream sheet slides up over the hero.\nexport function withHeroExit(Component){return /*#__PURE__*/forwardRef(function HeroExit(props,ref){const reduce=useReducedMotion();const{scrollY}=useScroll();const span=()=>typeof window!==\"undefined\"?window.innerHeight*.6:600;const opacity=useTransform(scrollY,v=>reduce?1:Math.max(0,1-v/span()));const y=useTransform(scrollY,v=>reduce?0:-40*Math.min(1,v/span()));return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity,y}});});}// withClipReveal (Patina about bento): an image card is revealed by a clip-path rising from its bottom\n// edge when it scrolls into view. withClipReveal2 and withClipReveal3 start 0.08s and 0.16s later.\nfunction ClipRevealed({Component,props,forwardedRef,delay}){const ref=useRef(null);const reduce=!!useReducedMotion();const mounted=useMounted();const[seen,instant]=useSeen(ref,reduce,.9);const hidden=mounted&&!reduce&&!instant&&!seen;return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,clipPath:hidden?\"inset(100% 0% 0% 0%)\":\"inset(0% 0% 0% 0%)\",transition:mounted&&!reduce&&!instant?`clip-path 1.1s ${EASE} ${delay}s`:undefined}});}export function withClipReveal(Component){return /*#__PURE__*/forwardRef(function ClipReveal(props,ref){return /*#__PURE__*/_jsx(ClipRevealed,{Component:Component,props:props,forwardedRef:ref,delay:0});});}export function withClipReveal2(Component){return /*#__PURE__*/forwardRef(function ClipReveal2(props,ref){return /*#__PURE__*/_jsx(ClipRevealed,{Component:Component,props:props,forwardedRef:ref,delay:.08});});}export function withClipReveal3(Component){return /*#__PURE__*/forwardRef(function ClipReveal3(props,ref){return /*#__PURE__*/_jsx(ClipRevealed,{Component:Component,props:props,forwardedRef:ref,delay:.16});});}// ---- Patina services carousel -------------------------------------------------------------\n// withLoopCarousel goes on a horizontal CMS list. It draws the list three times in a track so it can\n// loop forever, snaps to cards, can be dragged or swiped, and listens to withCarouselPrev /\n// withCarouselNext on any frame (the arrow buttons). Only the middle copy is reachable by keyboard and\n// screen readers; the outer copies are inert. The left edge is clipped at the content column while\n// the right edge bleeds to the window so the next card peeks in.\n// Each carousel has its own channel (\"a\", \"b\"), so two carousels on one page move independently.\nconst carouselListeners=new Map;function stepCarousel(channel,delta){carouselListeners.get(channel)?.forEach(fn=>fn(delta));}function listen(channel,fn){if(!carouselListeners.has(channel))carouselListeners.set(channel,new Set);carouselListeners.get(channel).add(fn);return()=>{carouselListeners.get(channel)?.delete(fn);};}export function withLoopCarousel(Component){return /*#__PURE__*/forwardRef(function LoopCarousel(props,ref){return /*#__PURE__*/_jsx(LoopCarouselImpl,{Component:Component,props:props,forwardedRef:ref,channel:\"a\"});});}export function withLoopCarouselB(Component){return /*#__PURE__*/forwardRef(function LoopCarouselB(props,ref){return /*#__PURE__*/_jsx(LoopCarouselImpl,{Component:Component,props:props,forwardedRef:ref,channel:\"b\"});});}function LoopCarouselImpl({Component,props,forwardedRef,channel}){{const canvas=onCanvas();const reduce=!!useReducedMotion();const middle=useRef(null);const x=useMotionValue(0);const geo=useRef({step:0,n:0,w:0,gap:16});const index=useRef(0);const dragged=useRef(false);const[ready,setReady]=useState(false);const place=i=>-geo.current.w-i*geo.current.step;const go=target=>{const{n}=geo.current;if(!n)return;index.current=target;animate(x,place(target),{duration:reduce?0:.65,ease:[.22,1,.36,1],onComplete:()=>{const wrapped=(index.current%n+n)%n;if(wrapped!==index.current){index.current=wrapped;x.set(place(wrapped));}}});};useEffect(()=>{if(canvas)return;const host=middle.current?.firstElementChild;if(!host)return;const measure=()=>{const items=Array.from(host.children).filter(c=>c.offsetWidth>0);if(items.length<1)return;const gap=parseFloat(getComputedStyle(host).columnGap)||16;const step=items.length>1?items[1].offsetLeft-items[0].offsetLeft:items[0].offsetWidth+gap;geo.current={step,n:items.length,w:items.length*step,gap};x.set(place(index.current));startTransition(()=>setReady(true));};measure();const ro=new ResizeObserver(measure);ro.observe(host);const stop=listen(channel,move);return()=>{ro.disconnect();stop();};function move(delta){go(index.current+delta);}},[canvas,channel]);const onPointerDown=e=>{if(e.button!==0||!geo.current.n)return;const startX=e.clientX,startY=e.clientY,from=x.get(),t0=performance.now();let horizontal=null;dragged.current=false;const moveFn=ev=>{const dx=ev.clientX-startX,dy=ev.clientY-startY;if(horizontal===null&&Math.abs(dx)+Math.abs(dy)>6)horizontal=Math.abs(dx)>Math.abs(dy);if(!horizontal)return;dragged.current=true;x.set(from+dx);};const up=ev=>{window.removeEventListener(\"pointermove\",moveFn);window.removeEventListener(\"pointerup\",up);window.removeEventListener(\"pointercancel\",up);if(!dragged.current)return;const dx=ev.clientX-startX;const v=dx/Math.max(1,performance.now()-t0);const{step,w}=geo.current;let target=Math.round((-x.get()-w)/step);if(Math.abs(v)>.5&&Math.abs(dx)<step/2)target=index.current+(dx<0?1:-1);go(target);};window.addEventListener(\"pointermove\",moveFn);window.addEventListener(\"pointerup\",up);window.addEventListener(\"pointercancel\",up);};if(canvas)return /*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef});const copy=(key,hidden)=>/*#__PURE__*/_jsx(\"div\",{ref:hidden?undefined:middle,\"aria-hidden\":hidden||undefined,...hidden?{inert:\"\"}:{},style:{flex:\"none\"},children:/*#__PURE__*/_jsx(Component,{...props,...hidden?{id:undefined,layoutId:undefined}:{},ref:hidden?undefined:forwardedRef,style:{...props.style,position:\"relative\"}})},key);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",touchAction:\"pan-y\",userSelect:\"none\",clipPath:\"inset(-60px -100vw -60px 0px)\"},onPointerDown:onPointerDown,onClickCapture:e=>{if(dragged.current){e.preventDefault();e.stopPropagation();dragged.current=false;}},onDragStartCapture:e=>e.preventDefault(),onFocusCapture:e=>{const host=middle.current?.firstElementChild;if(!host)return;const i=Array.from(host.children).findIndex(c=>c.contains(e.target));if(i>=0&&i!==index.current)go(i);},children:/*#__PURE__*/_jsxs(motion.div,{style:{x,display:\"flex\",gap:geo.current.gap,width:\"max-content\"},children:[copy(\"a\",true),copy(\"b\",false),copy(\"c\",true)]})});}}function carouselButton(channel,delta){return(Component,props,ref)=>/*#__PURE__*/_jsx(Component,{...props,ref:ref,onClick:e=>{props.onClick?.(e);stepCarousel(channel,delta);}});}const prevA=carouselButton(\"a\",-1),nextA=carouselButton(\"a\",1),prevB=carouselButton(\"b\",-1),nextB=carouselButton(\"b\",1);export function withCarouselPrev(Component){return /*#__PURE__*/forwardRef(function CarouselPrev(props,ref){return prevA(Component,props,ref);});}export function withCarouselNext(Component){return /*#__PURE__*/forwardRef(function CarouselNext(props,ref){return nextA(Component,props,ref);});}export function withCarouselPrevB(Component){return /*#__PURE__*/forwardRef(function CarouselPrevB(props,ref){return prevB(Component,props,ref);});}export function withCarouselNextB(Component){return /*#__PURE__*/forwardRef(function CarouselNextB(props,ref){return nextB(Component,props,ref);});}// withHoverArrow: a small arrow inside a card (withHoverCard) slides in on hover; always shown on touch.\nexport function withHoverArrow(Component){return /*#__PURE__*/forwardRef(function HoverArrow(props,ref){const hover=useContext(CardHover);const mounted=useMounted();const show=hover||mounted&&!canHover();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity:show?1:0,translate:show?\"0 0\":\"-6px 0\",transition:`opacity .3s ${EASE}, translate .3s ${EASE}`}});});}// withHoverFade / withHoverHide: cross-fade two layers inside a card (withHoverCard), e.g. a car's\n// front photo to its rear photo, or \"↗\" to \"→\". Touch screens keep the resting state.\nexport function withHoverFade(Component){return /*#__PURE__*/forwardRef(function HoverFade(props,ref){const hover=useContext(CardHover);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity:hover?1:0,transition:`opacity .5s ${EASE}`}});});}export function withHoverHide(Component){return /*#__PURE__*/forwardRef(function HoverHide(props,ref){const hover=useContext(CardHover);return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,opacity:hover?0:1,transition:`opacity .5s ${EASE}`}});});}// withQuoteRotator (Patina testimonial band): goes on a Testimonials CMS list whose items are named\n// \"Testimonial\" and hold a \"Quote\" text. Items stack in one grid cell; one shows at a time and the\n// rest are hidden from screen readers and keyboard. Every 7s the next one fades in, its quote\n// rising with a left-to-right sweep. Dots switch slides. Hover or focus pauses; reduced motion stops\n// auto-play. Before hydration only the first item shows, so the server HTML already looks right.\nexport function withQuoteRotator(Component){return /*#__PURE__*/forwardRef(function QuoteRotator(props,ref){const host=useRef(null);const reduce=!!useReducedMotion();const[count,setCount]=useState(0);const[active,setActive]=useState(0);const[paused,setPaused]=useState(false);const[onScreen,setOnScreen]=useState(true);const items=()=>Array.from(host.current?.querySelectorAll('[data-framer-name=\"Testimonial\"]')||[]);// Only rotate while the band is on screen and the tab is visible.\nuseEffect(()=>{const el=host.current;if(!el||onCanvas()||typeof IntersectionObserver===\"undefined\")return;let inView=true;const sync=()=>startTransition(()=>setOnScreen(inView&&document.visibilityState===\"visible\"));const io=new IntersectionObserver(([e])=>{inView=e.isIntersecting;sync();},{threshold:.25});io.observe(el);document.addEventListener(\"visibilitychange\",sync);return()=>{io.disconnect();document.removeEventListener(\"visibilitychange\",sync);};},[]);useEffect(()=>{if(onCanvas())return;startTransition(()=>setCount(items().length));},[]);useEffect(()=>{items().forEach((el,k)=>{el.setAttribute(\"data-active\",k===active?\"1\":\"0\");if(k===active){el.removeAttribute(\"aria-hidden\");el.removeAttribute(\"inert\");}else{el.setAttribute(\"aria-hidden\",\"true\");el.setAttribute(\"inert\",\"\");}});},[active,count]);useEffect(()=>{if(count<2||paused||!onScreen||reduce||onCanvas())return;const t=window.setTimeout(()=>startTransition(()=>setActive(a=>(a+1)%count)),7e3);return()=>window.clearTimeout(t);},[active,count,paused,onScreen,reduce]);const css=`.patina-rot [data-framer-name=\"Testimonials List\"]{display:grid!important;grid-template-columns:minmax(0,1fr)}\n.patina-rot [data-framer-name=\"Testimonial\"]{grid-area:1/1;width:100%!important;transition:opacity .8s ${EASE}}\n.patina-rot [data-framer-name=\"Testimonial\"]:not(:first-child){opacity:0;pointer-events:none}\n.patina-rot [data-framer-name=\"Testimonial\"][data-active=\"0\"]{opacity:0!important;pointer-events:none}\n.patina-rot [data-framer-name=\"Testimonial\"][data-active=\"1\"]{opacity:1!important;pointer-events:auto}\n.patina-rot [data-active=\"1\"] [data-framer-name=\"Quote\"]{animation:patinaQuoteIn 1.1s ${EASE} both;-webkit-mask-image:linear-gradient(90deg,#000 40%,transparent 60%);mask-image:linear-gradient(90deg,#000 40%,transparent 60%);-webkit-mask-size:260% 100%;mask-size:260% 100%}\n@keyframes patinaQuoteIn{from{opacity:0;transform:translateY(18px);-webkit-mask-position:100% 0;mask-position:100% 0}to{opacity:1;transform:none;-webkit-mask-position:0 0;mask-position:0 0}}\n@media (prefers-reduced-motion:reduce){.patina-rot [data-active=\"1\"] [data-framer-name=\"Quote\"]{animation:none;-webkit-mask-image:none;mask-image:none}}\n.patina-rot-dot{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;border-radius:999px;cursor:pointer}\n.patina-rot-dot>span{display:block;height:8px;border-radius:999px;transition:width .4s ${EASE},background .4s ${EASE}}\n.patina-rot-dot:focus-visible{outline:2px solid #F3EEE4;outline-offset:0}`;return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"patina-rot\",style:{position:\"relative\",width:\"100%\"},onMouseEnter:()=>setPaused(true),onMouseLeave:()=>setPaused(false),onFocusCapture:()=>setPaused(true),onBlurCapture:()=>setPaused(false),children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(Component,{...props,ref:ref}),count>1&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:0,justifyContent:\"center\",marginTop:36},children:Array.from({length:count},(_,k)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"patina-rot-dot\",\"aria-label\":`Show testimonial ${k+1} of ${count}`,\"aria-current\":k===active?\"true\":undefined,onClick:()=>startTransition(()=>setActive(k)),children:/*#__PURE__*/_jsx(\"span\",{style:{width:k===active?28:8,background:k===active?\"#F3EEE4\":\"rgba(243,238,228,0.28)\"}})},k))})]});});}// withScrollScale (Patina team image): a full-bleed photo eases from 1.08 down to 1 as its section\n// scrolls into view (scrubbed). Reduced motion keeps it at 1.\nexport function withScrollScale(Component){return /*#__PURE__*/forwardRef(function ScrollScale(props,forwardedRef){const ref=useRef(null);const reduce=useReducedMotion();const{scrollYProgress}=useScroll({target:ref,offset:[\"start end\",\"start start\"]});const scale=useTransform(scrollYProgress,[0,1],reduce?[1,1]:[1.08,1]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,scale,willChange:\"transform\"}});});}// withStackCards (Patina \"How it works\", services): goes on a vertical CMS list of cards. On tablet and up each\n// card sticks at top 120px + 20px per card, so they pile up as you scroll; a card that is being\n// covered scales to 0.96 and dims. Phones get a plain list. Only the list's own cards are measured.\nexport function withStackCards(Component){return /*#__PURE__*/forwardRef(function StackCards(props,forwardedRef){const host=useRef(null);const reduce=!!useReducedMotion();useEffect(()=>{if(onCanvas())return;const list=host.current?.querySelector(\":scope > :not(style)\");if(!list)return;const cards=()=>Array.from(list.children);let raf=0;const update=()=>{raf=0;const cs=cards();const wide=window.innerWidth>=810;cs.forEach((c,i)=>{const next=cs[i+1];let p=0;if(wide&&next&&!reduce){const a=c.getBoundingClientRect(),b=next.getBoundingClientRect();p=Math.max(0,Math.min(1,(a.bottom-b.top)/Math.max(1,a.height)));}c.style.setProperty(\"--cover\",p.toFixed(3));});};const on=()=>{if(!raf)raf=requestAnimationFrame(update);};update();window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);return()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);if(raf)cancelAnimationFrame(raf);};},[reduce]);const tops=Array.from({length:16},(_,i)=>`.patina-stack > :not(style) > :nth-child(${i+1}){top:${120+i*20}px}`).join(\"\");// phones and reduced motion get a plain list\nconst css=`@media (min-width:810px) and (prefers-reduced-motion:no-preference){.patina-stack > :not(style) > *{position:sticky!important;transform-origin:50% 0;transform:scale(calc(1 - 0.04 * var(--cover, 0)));filter:brightness(calc(1 - 0.35 * var(--cover, 0)))}${tops}}`;return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"patina-stack\",style:{display:\"contents\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})]});});}export function withInventory(Component){return /*#__PURE__*/forwardRef(function Inventory(props,forwardedRef){const host=useRef(null);const reduce=!!useReducedMotion();const more=useRef(()=>{});const[view,setView]=useState({matches:-1,shown:0,more:false});useEffect(()=>{if(onCanvas())return;const list=host.current?.querySelector('[data-framer-name=\"Cars List\"]');if(!list)return;const read=(c,n)=>(c.querySelector(`[data-framer-name=\"${n}\"]`)?.textContent||\"\").trim();const rows=Array.from(list.children).map((el,i)=>{const year=parseInt(read(el,\"d-year\"),10)||0;const price=parseInt(read(el,\"d-price\").replace(/[^\\d]/g,\"\"),10);el.querySelector('[data-framer-name=\"Car Data\"]')?.setAttribute(\"aria-hidden\",\"true\");return{el,i,marque:read(el,\"d-marque\"),year,decade:year?`${Math.floor(year/10)*10}s`:\"\",body:read(el,\"d-body\"),gearbox:/auto/i.test(read(el,\"d-gearbox\"))?\"Automatic\":\"Manual\",price,status:read(el,\"d-status\"),order:parseFloat(read(el,\"d-order\"))||i};});const uniq=a=>Array.from(new Set(a.filter(Boolean))).sort();const rank=s=>s===\"Sold\"?2:s===\"Reserved\"?1:0;let filters={sort:\"newest\"};let page=8;const band=(p,b)=>!b||(b===\"Price on application\"?isNaN(p):!isNaN(p)&&(b.startsWith(\"Under\")?p<4e4:b.startsWith(\"Over\")?p>8e4:p>=4e4&&p<=8e4));const apply=animate=>{const f=filters;const m=rows.filter(r=>(!f.marque||r.marque===f.marque)&&(!f.decade||r.decade===f.decade)&&(!f.body||r.body===f.body)&&(!f.gearbox||r.gearbox===f.gearbox)&&band(r.price,f.price)&&(!f.status||r.status===f.status));const nan=p=>isNaN(p)?1:0;m.sort((a,b)=>f.sort===\"price-asc\"?nan(a.price)-nan(b.price)||a.price-b.price:f.sort===\"price-desc\"?nan(a.price)-nan(b.price)||b.price-a.price:f.sort===\"year\"?b.year-a.year:rank(a.status)-rank(b.status)||a.order-b.order);const shown=m.slice(0,page);const before=new Map(rows.map(r=>[r.el,r.el.getBoundingClientRect()]));const was=new Set(rows.filter(r=>r.el.style.display!==\"none\").map(r=>r.el));rows.forEach(r=>{const k=shown.indexOf(r);r.el.style.display=k<0?\"none\":\"\";r.el.style.order=String(k<0?999:k);});if(animate&&!reduce)shown.forEach(r=>{const a=before.get(r.el),b=r.el.getBoundingClientRect();if(was.has(r.el)&&a){const dx=a.left-b.left,dy=a.top-b.top;if(dx||dy)r.el.animate([{transform:`translate(${dx}px, ${dy}px)`},{transform:\"none\"}],{duration:480,easing:\"cubic-bezier(0.22,1,0.36,1)\"});}else r.el.animate([{opacity:0,transform:\"translateY(14px) scale(0.98)\"},{opacity:1,transform:\"none\"}],{duration:420,easing:\"cubic-bezier(0.22,1,0.36,1)\"});});startTransition(()=>setView({matches:m.length,shown:shown.length,more:m.length>shown.length}));window.dispatchEvent(new CustomEvent(\"patina:inventory\",{detail:{marques:uniq(rows.map(r=>r.marque)),gearboxes:uniq(rows.map(r=>r.gearbox)),bodies:uniq(rows.map(r=>r.body)),total:rows.length,shown:shown.length,available:rows.filter(r=>r.status!==\"Sold\").length}}));};const onFilters=e=>{filters=e.detail||filters;page=8;apply(true);};const onReady=()=>apply(false);more.current=()=>{page+=8;apply(true);};window.addEventListener(\"patina:filters\",onFilters);window.addEventListener(\"patina:filters-ready\",onReady);apply(false);return()=>{window.removeEventListener(\"patina:filters\",onFilters);window.removeEventListener(\"patina:filters-ready\",onReady);};},[reduce]);const btn={all:\"unset\",boxSizing:\"border-box\",alignSelf:\"center\",display:\"inline-flex\",alignItems:\"center\",height:44,padding:\"0 22px\",borderRadius:6,border:\"1px solid #1A1A16\",color:\"#1A1A16\",fontFamily:'\"JetBrains Mono\", ui-monospace, monospace',fontSize:11,letterSpacing:\"0.08em\",textTransform:\"uppercase\",cursor:\"pointer\"};return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"patina-inv\",style:{display:\"contents\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`.patina-inv [data-framer-name=\"Car Data\"]{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap}`}),/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef}),view.more&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>more.current(),style:btn,children:\"Load more\"}),view.matches===0&&/*#__PURE__*/_jsxs(\"div\",{role:\"status\",style:{width:\"100%\",padding:\"56px 24px\",borderRadius:10,border:\"1px dashed rgba(26,26,22,0.2)\",textAlign:\"center\",display:\"flex\",flexDirection:\"column\",gap:12,alignItems:\"center\",fontFamily:'\"Inter\", sans-serif'},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:'\"Inter Display\", \"Inter\", sans-serif',fontSize:22,fontWeight:500,color:\"#1A1A16\"},children:\"Nothing matches those filters right now.\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:15,color:\"#625E55\"},children:\"New cars arrive most months, and the best ones never reach the website.\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/book\",style:{...btn,alignSelf:\"center\",marginTop:6,background:\"#1F3D2B\",border:\"1px solid #1F3D2B\",color:\"#F3EEE4\",textDecoration:\"none\"},children:\"Tell us what you’re looking for →\"})]})]});});}// withHideCurrent: on a CMS detail page, hides the card that links to the page you are on\n// (for \"More from {marque}\" lists).\nexport function withHideCurrent(Component){return /*#__PURE__*/forwardRef(function HideCurrent(props,forwardedRef){const ref=useRef(null);const[hide,setHide]=useState(false);useEffect(()=>{const el=ref.current;const href=el?.getAttribute(\"href\");if(!href||onCanvas())return;const path=new URL(href,window.location.href).pathname.replace(/\\/$/,\"\");if(path===window.location.pathname.replace(/\\/$/,\"\"))startTransition(()=>setHide(true));},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(ref,forwardedRef),style:{...props.style,display:hide?\"none\":props.style?.display}});});}// withHoverCardHideCurrent: withHoverCard + withHideCurrent in one (a layer takes one override).\nexport function withHoverCardHideCurrent(Component){return withHoverCard(withHideCurrent(Component));}// withMoreFallback: on a \"More from {marque}\" CMS list (cards use withHoverCardHideCurrent). If no\n// other cards are left once the current car is hidden, shows a short note and a link to all cars.\nexport function withMoreFallback(Component){return /*#__PURE__*/forwardRef(function MoreFallback(props,forwardedRef){const host=useRef(null);const[empty,setEmpty]=useState(false);useEffect(()=>{if(onCanvas())return;const t=window.setTimeout(()=>{const list=host.current?.firstElementChild?.nextElementSibling;const cards=list?Array.from(list.children):[];if(!cards.some(c=>getComputedStyle(c).display!==\"none\"))startTransition(()=>setEmpty(true));},300);return()=>window.clearTimeout(t);},[]);return /*#__PURE__*/_jsxs(\"div\",{ref:host,style:{display:\"contents\"},children:[/*#__PURE__*/_jsx(\"style\",{children:\"\"}),/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef}),empty&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:16,alignItems:\"center\",justifyContent:\"space-between\",padding:\"28px\",borderRadius:10,border:\"1px dashed rgba(26,26,22,0.2)\",fontFamily:'\"Inter\", sans-serif'},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:16,color:\"#625E55\"},children:\"This is the only one we have in at the moment. We often hear about cars before they are listed.\"}),/*#__PURE__*/_jsx(\"a\",{href:\"/for-sale\",style:{fontFamily:'\"JetBrains Mono\", ui-monospace, monospace',fontSize:11,letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:\"#1F3D2B\",textDecoration:\"underline\",textUnderlineOffset:3},children:\"Browse all cars →\"})]})]});});}// withNextItem: on a CMS detail page, goes on a list of ALL items of the same collection (sorted).\n// It finds the card linking to the current page and shows only the next one (wrapping to the first).\nexport function withNextItem(Component){return /*#__PURE__*/forwardRef(function NextItem(props,forwardedRef){const host=useRef(null);useEffect(()=>{if(onCanvas())return;const list=host.current?.querySelector(\":scope > :not(style)\");const cards=list?Array.from(list.children):[];if(cards.length<2)return;const here=window.location.pathname.replace(/\\/$/,\"\");const hrefOf=c=>{const a=c.matches(\"a\")?c:c.querySelector(\"a\");return a?new URL(a.getAttribute(\"href\")||\"\",window.location.href).pathname.replace(/\\/$/,\"\"):\"\";};const i=cards.findIndex(c=>hrefOf(c)===here);const next=cards[(i+1)%cards.length];cards.forEach(c=>{c.style.display=c===next?\"\":\"none\";});},[]);return /*#__PURE__*/_jsx(\"div\",{ref:host,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,ref:forwardedRef})});});}// ---- Patina header mega menu, keyboard ----------------------------------------------------\n// withMegaToggle goes on the caret button beside \"Services\" (its tap action opens the mega menu in\n// the closed header and closes it in the open one, so Enter and Space work). Framer shares overrides\n// across variants, so it reads the state from the page: the menu panel only exists while open.\n// It keeps aria-expanded in sync, and while open: Esc anywhere closes the menu and returns focus to\n// the caret, Tab from the caret jumps into the first menu card, and focus leaving the header closes it.\nconst MEGA_ATTR=\"data-patina-mega-toggle\";export function withMegaToggle(Component){return /*#__PURE__*/forwardRef(function MegaToggle(props,ref){const el=useRef(null);useEffect(()=>{const btn=el.current;if(!btn||onCanvas())return;const nav=btn.closest(\"nav\");const panel=()=>nav?.querySelector('[data-framer-name=\"Mega Menu\"]');const isOpen=()=>{const p=panel();return!!p&&p.getClientRects().length>0;};const sync=()=>btn.setAttribute(\"aria-expanded\",isOpen()?\"true\":\"false\");sync();const mo=nav?new MutationObserver(sync):null;mo?.observe(nav,{childList:true,subtree:true});// Framer's tap action listens for a pointer press, not click(), so press the live toggle.\nconst close=refocus=>{const t=nav?.querySelector(`[${MEGA_ATTR}]`)||btn;const r=t.getBoundingClientRect();const init={bubbles:true,cancelable:true,composed:true,pointerId:1,pointerType:\"mouse\",isPrimary:true,button:0,buttons:1,clientX:r.left+r.width/2,clientY:r.top+r.height/2};t.dispatchEvent(new PointerEvent(\"pointerdown\",init));t.dispatchEvent(new PointerEvent(\"pointerup\",{...init,buttons:0}));if(refocus)window.setTimeout(()=>document.querySelector(`[${MEGA_ATTR}]`)?.focus(),30);};const onKey=e=>{if(!isOpen())return;if(e.key===\"Escape\"){e.preventDefault();close(true);}else if(e.key===\"Tab\"&&!e.shiftKey&&document.activeElement===btn){const first=panel()?.querySelector(\"a\");if(first){e.preventDefault();first.focus();}}};const onFocusOut=e=>{const next=e.relatedTarget;if(isOpen()&&next&&nav&&!nav.contains(next))close(false);};document.addEventListener(\"keydown\",onKey);nav?.addEventListener(\"focusout\",onFocusOut);return()=>{mo?.disconnect();document.removeEventListener(\"keydown\",onKey);nav?.removeEventListener(\"focusout\",onFocusOut);};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:mergeRefs(el,ref),[MEGA_ATTR]:\"\",\"aria-haspopup\":\"true\"});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withClipReveal2\":{\"type\":\"reactHoc\",\"name\":\"withClipReveal2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHiddenCopy\":{\"type\":\"reactHoc\",\"name\":\"withHiddenCopy\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverFade\":{\"type\":\"reactHoc\",\"name\":\"withHoverFade\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardZoom\":{\"type\":\"reactHoc\",\"name\":\"withCardZoom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInventory\":{\"type\":\"reactHoc\",\"name\":\"withInventory\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRise\":{\"type\":\"reactHoc\",\"name\":\"withRise\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClipReveal3\":{\"type\":\"reactHoc\",\"name\":\"withClipReveal3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMoreFallback\":{\"type\":\"reactHoc\",\"name\":\"withMoreFallback\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStagger\":{\"type\":\"reactHoc\",\"name\":\"withStagger\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselNextB\":{\"type\":\"reactHoc\",\"name\":\"withCarouselNextB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHideCurrent\":{\"type\":\"reactHoc\",\"name\":\"withHideCurrent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withQuoteRotator\":{\"type\":\"reactHoc\",\"name\":\"withQuoteRotator\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselPrev\":{\"type\":\"reactHoc\",\"name\":\"withCarouselPrev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverHide\":{\"type\":\"reactHoc\",\"name\":\"withHoverHide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverArrow\":{\"type\":\"reactHoc\",\"name\":\"withHoverArrow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withExpandMedia\":{\"type\":\"reactHoc\",\"name\":\"withExpandMedia\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverUnderline\":{\"type\":\"reactHoc\",\"name\":\"withHoverUnderline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRuleDraw\":{\"type\":\"reactHoc\",\"name\":\"withRuleDraw\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withReveal\":{\"type\":\"reactHoc\",\"name\":\"withReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withParallax\":{\"type\":\"reactHoc\",\"name\":\"withParallax\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselNext\":{\"type\":\"reactHoc\",\"name\":\"withCarouselNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNextItem\":{\"type\":\"reactHoc\",\"name\":\"withNextItem\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroExit\":{\"type\":\"reactHoc\",\"name\":\"withHeroExit\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuRow\":{\"type\":\"reactHoc\",\"name\":\"withMenuRow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverNudge\":{\"type\":\"reactHoc\",\"name\":\"withHoverNudge\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLoopCarousel\":{\"type\":\"reactHoc\",\"name\":\"withLoopCarousel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverCard\":{\"type\":\"reactHoc\",\"name\":\"withHoverCard\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCardPhoto\":{\"type\":\"reactHoc\",\"name\":\"withCardPhoto\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverCardHideCurrent\":{\"type\":\"reactHoc\",\"name\":\"withHoverCardHideCurrent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLoopCarouselB\":{\"type\":\"reactHoc\",\"name\":\"withLoopCarouselB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CardHover\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRowImage\":{\"type\":\"reactHoc\",\"name\":\"withRowImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMarquee\":{\"type\":\"reactHoc\",\"name\":\"withMarquee\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClipReveal\":{\"type\":\"reactHoc\",\"name\":\"withClipReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMegaToggle\":{\"type\":\"reactHoc\",\"name\":\"withMegaToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withColourHover\":{\"type\":\"reactHoc\",\"name\":\"withColourHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselPrevB\":{\"type\":\"reactHoc\",\"name\":\"withCarouselPrevB\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withStackCards\":{\"type\":\"reactHoc\",\"name\":\"withStackCards\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHoverLift\":{\"type\":\"reactHoc\",\"name\":\"withHoverLift\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollScale\":{\"type\":\"reactHoc\",\"name\":\"withScrollScale\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCountUp\":{\"type\":\"reactHoc\",\"name\":\"withCountUp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\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