{"version":3,"file":"SmoothScrollPro.92BeTfeV.mjs","names":["useRef","useLayoutEffect","useEffect"],"sources":["https:/framerusercontent.com/modules/jUUoYDe5pJoA4BqpA2yt/SLaJbkEuaVyLylwxQu70/SmoothScrollPro.js"],"sourcesContent":["// SmoothScrollPro v3.0 — drop it anywhere on a page and the whole page scroll becomes\n// smooth. It renders nothing at all (zero size, no layout impact) on the canvas,\n// in preview and on the live site. Keep the layer visible: a hidden layer never mounts.\n// Easing curve, smoothness, speed and platform behaviour are all customizable.\n//\n// v3.0 — links to a section always glide, on any Framer site:\n// • Same-page section links are taken over in the capture phase of the click, before\n//   anything else sees it. A menu that stops the click, the scroll lock of an open menu,\n//   or the browser's own anchor jump can no longer turn the glide into a jump. The click\n//   still reaches everything else, so menus close and the router records the hash.\n// • Router scrolls (scrollIntoView, with or without \"smooth scroll\" on the link) glide.\n// • Links to a section of another page glide after arriving, through the router and\n//   through a full page load alike: the new page starts at the top and glides down.\n// • Changing location.hash glides from where the page was. Where the Navigation API\n//   exists it is intercepted before the browser scrolls, so not even one frame jumps.\n// • Section glides ignore \"Disable below\" and menu scroll locks; they respect reduced\n//   motion while that option is on.\n//\n// v2.x — performance model of Lenis (the engine behind Kairn and most smooth Framer\n// sites): page height comes from a ResizeObserver, the scroll lock from a MutationObserver,\n// scroll panels are inspected at most once every 2 s, and gliding reads no layout at all.\n// Outside scrolls are detected from the native scroll event. Frames are written with\n// behavior \"instant\". Default feel matches Kairn: Duration, exponential ease-out, 1.6 s.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useLayoutEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";// The engine attaches during the commit (layout effect), so after a route change it is\n// already in place when the router scrolls the new page to its section. Plain effects\n// could run after that scroll and miss it. On the server there is no layout to wait for.\nconst useCommitEffect=typeof window!==\"undefined\"?useLayoutEffect:useEffect;const CURVES={linear:[0,0,1,1],easeOut:[.33,1,.68,1],easeInOut:[.45,0,.25,1],circOut:[0,.55,.45,1],backOut:[.34,1.36,.64,1]};// Lenis' duration curve: most of the distance is covered at once, then a long soft tail.\nfunction expoOut(x){return x>=1?1:Math.min(1,1.001-Math.pow(2,-10*x));}// The page counts as \"where we left it\" within this many pixels. Kept above 1 so\n// device-pixel rounding of fractional scroll positions never reads as an outside scroll.\nconst SYNC_THRESHOLD=3;const FRAME_MS=1e3/60;const LINE_PX=16;// Distance a touch flick keeps travelling: finger speed (px/ms) × this many ms.\nconst FLICK_MS=280;// A possible scroll panel is re-inspected at most this often (same as Lenis).\nconst PANEL_TTL_MS=2e3;const OWNERS_KEY=\"__smoothScrollProOwners\";// Pathname the visitor was last seen on, shared by the per-page instances.\nconst PATH_KEY=\"__smoothScrollProPath\";// A click on a link to another page's section. Kept in sessionStorage so it also\n// survives a full page load.\nconst ARRIVAL_KEY=\"smoothScrollPro:arrival\";const ARRIVAL_TTL_MS=1e4;// The browser's own scrollIntoView, taken before anything here replaces it.\nconst NATIVE_SCROLL_INTO_VIEW=typeof Element!==\"undefined\"?Element.prototype.scrollIntoView:undefined;function parseBezier(input){const parts=String(input).split(\",\").map(p=>parseFloat(p.trim()));if(parts.length!==4||parts.some(p=>Number.isNaN(p)))return null;return[parts[0],parts[1],parts[2],parts[3]];}// Cubic bezier solver (x -> y), Newton-Raphson with bisection fallback.\nfunction makeBezier(p){const[x1,y1,x2,y2]=p;const A=(a,b)=>1-3*b+3*a;const B=(a,b)=>3*b-6*a;const C=a=>3*a;const calc=(t,a,b)=>((A(a,b)*t+B(a,b))*t+C(a))*t;const slope=(t,a,b)=>3*A(a,b)*t*t+2*B(a,b)*t+C(a);return x=>{if(x1===y1&&x2===y2)return x;if(x<=0)return 0;if(x>=1)return 1;let t=x;for(let i=0;i<8;i++){const err=calc(t,x1,x2)-x;if(Math.abs(err)<1e-6)return calc(t,y1,y2);const s=slope(t,x1,x2);if(Math.abs(s)<1e-6)break;t-=err/s;}let lo=0;let hi=1;t=x;for(let i=0;i<40;i++){const v=calc(t,x1,x2);if(Math.abs(v-x)<1e-6)break;if(v<x)lo=t;else hi=t;t=(lo+hi)/2;}return calc(t,y1,y2);};}// Progress at which a curve moves fastest. A Duration animation that is retargeted\n// mid-flight starts the curve here, so ease-in curves don't stall on every wheel tick.\nfunction steepestPoint(ease){let best=0;let bestStep=-Infinity;for(let i=0;i<50;i++){const step=ease((i+1)/50)-ease(i/50);if(step>bestStep){bestStep=step;best=i/50;}}return best;}const panels=new WeakMap;// Style and size of an element that might be a scroll panel, cached per element.\n// Sizes are only read for elements whose overflow lets them scroll at all.\nfunction readPanel(el,now){const cached=panels.get(el);if(cached&&now-cached.time<PANEL_TTL_MS)return cached;const style=window.getComputedStyle(el);const oy=style.overflowY;const overflows=oy===\"auto\"||oy===\"scroll\"||oy===\"overlay\";const scrollHeight=overflows?el.scrollHeight:0;const clientHeight=overflows?el.clientHeight:0;const panel={time:now,scrolls:overflows&&scrollHeight>clientHeight+1,contain:style.overscrollBehaviorY!==\"auto\",scrollHeight,clientHeight};panels.set(el,panel);return panel;}// True when the event should keep the browser's own scroll: it starts inside an\n// opted-out element, or inside a scroll panel that can still move that way (deltaY 0\n// means \"any direction\"). Panels with overscroll-behavior contain never hand over.\nfunction scrollsNatively(path,deltaY){const now=performance.now();const root=document.documentElement;for(const node of path){if(node===document.body||node===root)break;if(!(node instanceof Element))continue;if(node.hasAttribute(\"data-smooth-scroll-prevent\")||node.hasAttribute(\"data-lenis-prevent\"))return true;const panel=readPanel(node,now);if(!panel.scrolls)continue;if(deltaY===0||panel.contain)return true;const top=node.scrollTop;const room=deltaY<0?top>0:top+panel.clientHeight<panel.scrollHeight-1;if(room)return true;}return false;}// True when the element sits inside its own scroll panel, so scrolling it into view is\n// that panel's job rather than the page's.\nfunction insidePanel(el){const now=performance.now();for(let node=el.parentElement;node;node=node.parentElement){if(node===document.body||node===document.documentElement)return false;if(readPanel(node,now).scrolls)return true;}return false;}const samePath=(a,b)=>a.replace(/\\/+$/,\"\")===b.replace(/\\/+$/,\"\");function noteArrival(arrival){try{window.sessionStorage.setItem(ARRIVAL_KEY,JSON.stringify(arrival));}catch{// Storage can be blocked (private modes); the router path still works without it.\n}}// The arrival expected on this page, if any. Reading it consumes it; stale ones are dropped.\nfunction takeArrival(){try{const raw=window.sessionStorage.getItem(ARRIVAL_KEY);if(!raw)return null;const arrival=JSON.parse(raw);const fresh=Date.now()-arrival.time<ARRIVAL_TTL_MS;if(fresh&&!samePath(arrival.path,window.location.pathname))return null;window.sessionStorage.removeItem(ARRIVAL_KEY);return fresh?arrival:null;}catch{return null;}}// One engine drives the page at a time. Extra instances wait in line and take over\n// when the active one unmounts (e.g. per-page copies during a route change).\nfunction claimPage(owner){const w=window;const owners=w[OWNERS_KEY]||(w[OWNERS_KEY]=[]);owners.push(owner);if(owners.length===1)owner.attach();return()=>{const i=owners.indexOf(owner);if(i===-1)return;owners.splice(i,1);if(i===0){owner.detach();owners[0]?.attach();}};}function createSmoothScroll(o){if(typeof window===\"undefined\"||typeof document===\"undefined\")return()=>{};const w=window;const root=document.documentElement;const reducedMotion=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const narrow=o.disableBelow>0?window.matchMedia(`(max-width: ${o.disableBelow}px)`):null;const easing=o.easing;const ease=easing===\"expoOut\"?expoOut:makeBezier((easing===\"custom\"?parseBezier(o.bezier):CURVES[easing])||CURVES.easeInOut);const retargetStart=steepestPoint(ease);// smoothness 0..100 -> share of the remaining distance covered per 60 Hz frame\nconst lerp=.22-Math.min(100,Math.max(0,o.smoothness))/100*.19;const durMs=Math.max(120,o.duration*1e3);// Section glides start and land softly, whatever the wheel settings are.\nconst sectionEase=makeBezier(CURVES.easeInOut);const sectionDurMs=Math.max(300,o.anchorDuration*1e3);let targetY=0;let currentY=0;let lastWritten=0;let raf=null;let lastFrame=0;// The running animation: \"lerp\" chases targetY, \"timed\" follows animEase over animDurMs.\nlet animKind=\"lerp\";let animEase=ease;let animDurMs=durMs;let animStart=0;let animFrom=0;let animOffset=0;let sectionGlide=false;// Layout is cached here and refreshed by observers — never read while gliding.\nlet limitY=0;let viewportH=0;let locked=false;let lockStale=true;let resizeObserver=null;let lockObserver=null;let nativeScrollIntoView=null;const measure=()=>{viewportH=root.clientHeight;limitY=Math.max(0,Math.max(document.body.scrollHeight,root.scrollHeight)-viewportH);};const clamp=v=>Math.min(Math.max(v,0),limitY);// Menus and modals lock the page with overflow: hidden, which programmatic scrolling\n// ignores. The computed style is re-read only after html/body attributes change.\nconst isLocked=()=>{if(lockStale){lockStale=false;const body=window.getComputedStyle(document.body).overflowY;const html=window.getComputedStyle(root).overflowY;locked=body===\"hidden\"||body===\"clip\"||html===\"hidden\"||html===\"clip\";}return locked;};// Wheel, keys and touch smoothing.\nconst enabledNow=()=>!(o.respectReducedMotion&&reducedMotion.matches)&&!(narrow&&narrow.matches)&&!root.classList.contains(\"lenis\");// Section glides: on at every width and even behind an open menu's scroll lock.\nconst sectionsOn=()=>o.anchorLinks&&!(o.respectReducedMotion&&reducedMotion.matches);const stop=()=>{if(raf!==null)window.cancelAnimationFrame(raf);raf=null;sectionGlide=false;};// Stop gliding right where the page is.\nconst halt=()=>{stop();targetY=currentY=lastWritten;};// Take the browser's real position as truth (page shows, history jumps).\nconst adopt=()=>{stop();targetY=currentY=lastWritten=window.scrollY;};const write=y=>{currentY=y;lastWritten=y;window.scrollTo({top:y,behavior:\"instant\"});};// Scroll events arrive for our own frames and for everything else. Ours land within\n// a few pixels of what we wrote (the browser clamps at the edges). Anything else —\n// router scroll-to-top, back/forward, scrollbar drags — wins and ends the glide.\nconst onScroll=()=>{w[PATH_KEY]=window.location.pathname;const y=window.scrollY;if(raf!==null&&Math.abs(y-clamp(lastWritten))<=SYNC_THRESHOLD)return;stop();targetY=currentY=lastWritten=y;};const tick=now=>{raf=null;if(animKind===\"timed\"){// (Re)started animations count from the previous frame, so the very first\n// frame already moves instead of rendering progress 0.\nif(animStart<0)animStart=lastFrame||now-FRAME_MS;const t=Math.min(1,Math.max(0,(now-animStart)/animDurMs));const base=animEase(animOffset);const p=animOffset+(1-animOffset)*t;const eased=base>=1?1:(animEase(p)-base)/(1-base);const y=animFrom+(targetY-animFrom)*eased;// Sub-pixel tails would re-run every scroll-linked effect for nothing.\nif(t>=1||t>.5&&Math.abs(targetY-y)<.5){write(targetY);sectionGlide=false;return;}write(y);}else{const diff=targetY-currentY;if(Math.abs(diff)<.5){write(targetY);return;}const dt=lastFrame?Math.min(64,now-lastFrame):FRAME_MS;write(currentY+diff*(1-Math.pow(1-lerp,dt/FRAME_MS)));}lastFrame=now;raf=window.requestAnimationFrame(tick);};const run=()=>{if(raf===null){lastFrame=0;raf=window.requestAnimationFrame(tick);}};// Wheel, keys and touch take over from a section glide right where the page is.\nconst takeInput=delta=>{if(sectionGlide){sectionGlide=false;targetY=currentY;}targetY=clamp(targetY+delta);if(o.mode===\"duration\"){animOffset=raf!==null&&animKind===\"timed\"&&animEase===ease?retargetStart:0;animKind=\"timed\";animEase=ease;animDurMs=durMs;animFrom=currentY;animStart=-1;}else{animKind=\"lerp\";}run();};// One timed glide to an absolute position, used for section links.\nconst glideTo=y=>{targetY=clamp(y);const distance=Math.abs(targetY-currentY);if(distance<1)return;sectionGlide=true;animKind=\"timed\";animEase=sectionEase;// Short hops take less time; anything past ~1.5 screens uses the full duration.\nanimDurMs=Math.max(300,Math.min(sectionDurMs,distance*.75));animFrom=currentY;animOffset=0;animStart=-1;run();};// Page y at which an element should come to rest, honouring scroll-margin-top.\nconst restingY=(el,block)=>{const rect=el.getBoundingClientRect();if(block===\"center\")return rect.top+window.scrollY+rect.height/2-viewportH/2;if(block===\"end\")return rect.bottom+window.scrollY-viewportH;const margin=parseFloat(window.getComputedStyle(el).scrollMarginTop)||0;return rect.top+window.scrollY-margin-o.anchorOffset;};// Just arrived from another page: show this one from its top, then glide down.\nconst arriveAt=y=>{stop();write(0);glideTo(y);};const sectionById=id=>{const el=id?document.getElementById(id):null;return el&&!insidePanel(el)?el:null;};const onWheel=e=>{if(e.defaultPrevented||e.ctrlKey||e.metaKey)return;if(Math.abs(e.deltaX)>Math.abs(e.deltaY))return;if(!enabledNow()||isLocked()){if(raf!==null)halt();return;}let delta=e.deltaY;if(e.deltaMode===1)delta*=LINE_PX;else if(e.deltaMode===2)delta*=viewportH;if(scrollsNatively(e.composedPath(),delta))return;e.preventDefault();if(o.maxDelta>0)delta=Math.max(-o.maxDelta,Math.min(o.maxDelta,delta));takeInput(delta*o.wheelMultiplier);};const onKey=e=>{if(e.defaultPrevented||e.altKey||e.ctrlKey||e.metaKey)return;if(!enabledNow()||isLocked())return;const el=e.target instanceof HTMLElement?e.target:null;const tag=el?.tagName??\"\";if(el?.isContentEditable||tag===\"INPUT\"||tag===\"TEXTAREA\"||tag===\"SELECT\")return;const page=viewportH*.85;let delta;if(e.key===\"PageDown\")delta=page;else if(e.key===\"PageUp\")delta=-page;else if(e.key===\"Home\")delta=-Infinity;else if(e.key===\"End\")delta=Infinity;else if(e.key===\" \"){// Space presses focused buttons; it only scrolls elsewhere.\nif(tag===\"BUTTON\"||tag===\"SUMMARY\"||el?.getAttribute(\"role\")===\"button\")return;delta=e.shiftKey?-page:page;}else return;if(el&&el!==document.body&&scrollsNatively(e.composedPath(),delta))return;e.preventDefault();if(delta===Infinity)delta=limitY-currentY;else if(delta===-Infinity)delta=-currentY;takeInput(delta);};let touching=false;let touchY=0;let touchTime=0;let touchSpeed=0;const onTouchStart=e=>{touching=e.touches.length===1&&enabledNow()&&!isLocked()&&!scrollsNatively(e.composedPath(),0);// A finger on the screen catches a running glide.\nhalt();if(!touching)return;touchY=e.touches[0].clientY;touchTime=e.timeStamp;touchSpeed=0;};const onTouchMove=e=>{if(!touching)return;if(e.touches.length!==1){touching=false;return;}const y=e.touches[0].clientY;const delta=(touchY-y)*o.touchMultiplier;touchSpeed=delta/Math.max(1,e.timeStamp-touchTime);touchY=y;touchTime=e.timeStamp;if(e.cancelable)e.preventDefault();takeInput(delta);};const onTouchEnd=()=>{if(!touching)return;touching=false;takeInput(touchSpeed*FLICK_MS);};// Grabbing the page scrollbar ends a running glide.\nconst onPointerDown=e=>{if(raf!==null&&e.target===root)halt();};// Router scrolls to a section go through scrollIntoView (a jump unless the link has\n// \"smooth scroll\" ticked). Page-level calls glide; panels and \"nearest\" stay native.\nfunction glidingScrollIntoView(arg){const block=typeof arg===\"object\"&&arg!==null?arg.block??\"start\":arg===false?\"end\":\"start\";const native=nativeScrollIntoView||NATIVE_SCROLL_INTO_VIEW;if(!sectionsOn()||block===\"nearest\"||!this.isConnected||insidePanel(this)){if(native&&native!==glidingScrollIntoView)native.call(this,arg);return;}measure();const y=restingY(this,block);const here=window.location.pathname;const cameFromElsewhere=!samePath(w[PATH_KEY]??here,here);w[PATH_KEY]=here;const arrival=takeArrival();if(cameFromElsewhere||arrival&&arrival.id===this.id){arriveAt(y);return;}// Already on its way there: the click was taken over before the router asked.\nif(sectionGlide&&Math.abs(clamp(y)-targetY)<2)return;glideTo(y);}// The latest same-page section click, so an older click never writes its hash late.\nlet pendingHash=null;// Every link click, in the capture phase — before menus can stop it and before the\n// browser jumps to an anchor.\nconst onClickCapture=e=>{if(e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const link=e.target instanceof Element?e.target.closest(\"a[href]\"):null;if(!(link instanceof HTMLAnchorElement))return;if(link.target&&link.target!==\"_self\"||link.hasAttribute(\"download\"))return;const url=new URL(link.href,window.location.href);const here=window.location;w[PATH_KEY]=here.pathname;if(url.origin!==here.origin)return;const id=url.hash.length>1?decodeURIComponent(url.hash.slice(1)):\"\";if(!samePath(url.pathname,here.pathname)||url.search!==here.search){// Another page: nothing may carry over. If it links to a section, that page's\n// instance glides there once the router or a full page load lands.\nhalt();if(id&&sectionsOn())noteArrival({path:url.pathname,id,time:Date.now()});return;}if(!sectionsOn())return;const dest=sectionById(id);if(!dest)return;// Same page: glide now. Only the browser's jump is cancelled; the click itself\n// travels on, so menus close and the site router still sees it.\ne.preventDefault();measure();glideTo(restingY(dest,\"start\"));// Plain anchors get their hash written here. Routers write it themselves, sometimes a\n// frame or two later, so wait before checking — never add a second history entry.\nconst hash=url.hash;const token={};pendingHash=token;window.setTimeout(()=>{if(pendingHash!==token)return;pendingHash=null;if(window.location.hash!==hash)window.history.pushState(window.history.state,\"\",hash);},400);};// Where the Navigation API exists (Chromium), fragment navigations — location.hash,\n// #links nothing else took over — are intercepted before the browser scrolls.\n// Back/forward keeps the browser's own scroll restoration. A fragment navigation also\n// fires popstate (and hashchange) right away; those belong to the glide, not to history.\nlet intercepted=null;const ownsFragment=()=>intercepted!==null&&intercepted.hash===window.location.hash&&performance.now()-intercepted.time<500;const onNavigate=e=>{if(!e.hashChange||!e.canIntercept||e.navigationType===\"traverse\")return;if(!sectionsOn())return;const url=new URL(e.destination.url);const dest=sectionById(decodeURIComponent(url.hash.slice(1)));if(!dest)return;intercepted={hash:url.hash,time:performance.now()};e.intercept({scroll:\"manual\",handler:async()=>{measure();glideTo(restingY(dest,\"start\"));}});};// location.hash changed where the Navigation API is missing: the browser jumped,\n// glide from where the page was instead.\nconst onHashChange=()=>{if(ownsFragment())return;if(!sectionsOn())return;const dest=sectionById(decodeURIComponent(window.location.hash.slice(1)));if(!dest)return;measure();const y=restingY(dest,\"start\");const from=lastWritten;if(Math.abs(clamp(y)-from)<2)return;stop();write(from);glideTo(y);};// Back/forward: the browser or the router restores the position, so take it as truth.\nconst onPopState=()=>{if(ownsFragment())return;adopt();};// Landing on this page from a link to one of its sections (router or full page load).\nconst arriveIfExpected=()=>{if(!sectionsOn())return;const arrival=takeArrival();const dest=arrival?sectionById(arrival.id):null;if(!dest)return;w[PATH_KEY]=window.location.pathname;measure();arriveAt(restingY(dest,\"start\"));};const onResize=()=>{measure();targetY=clamp(targetY);};const markLockStale=()=>{lockStale=true;};const attach=()=>{measure();targetY=currentY=lastWritten=window.scrollY;if(w[PATH_KEY]===undefined)w[PATH_KEY]=window.location.pathname;lockStale=true;window.addEventListener(\"wheel\",onWheel,{passive:false});window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"keydown\",onKey);window.addEventListener(\"resize\",onResize,{passive:true});window.addEventListener(\"pageshow\",adopt);window.addEventListener(\"popstate\",onPopState);window.addEventListener(\"pointerdown\",onPointerDown,{passive:true});if(o.anchorLinks){document.addEventListener(\"click\",onClickCapture,true);window.addEventListener(\"hashchange\",onHashChange);w.navigation?.addEventListener?.(\"navigate\",onNavigate);nativeScrollIntoView=Element.prototype.scrollIntoView;Element.prototype.scrollIntoView=glidingScrollIntoView;}if(typeof ResizeObserver!==\"undefined\"){resizeObserver=new ResizeObserver(onResize);resizeObserver.observe(root);resizeObserver.observe(document.body);}lockObserver=new MutationObserver(markLockStale);const watch={attributes:true,attributeFilter:[\"style\",\"class\"]};lockObserver.observe(root,watch);lockObserver.observe(document.body,watch);if(o.smoothTouch){window.addEventListener(\"touchstart\",onTouchStart,{passive:true});window.addEventListener(\"touchmove\",onTouchMove,{passive:false});window.addEventListener(\"touchend\",onTouchEnd,{passive:true});window.addEventListener(\"touchcancel\",onTouchEnd,{passive:true});}if(o.anchorLinks)arriveIfExpected();};const detach=()=>{window.removeEventListener(\"wheel\",onWheel);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"keydown\",onKey);window.removeEventListener(\"resize\",onResize);window.removeEventListener(\"pageshow\",adopt);window.removeEventListener(\"popstate\",onPopState);window.removeEventListener(\"pointerdown\",onPointerDown);document.removeEventListener(\"click\",onClickCapture,true);window.removeEventListener(\"hashchange\",onHashChange);w.navigation?.removeEventListener?.(\"navigate\",onNavigate);if(nativeScrollIntoView&&Element.prototype.scrollIntoView===glidingScrollIntoView)Element.prototype.scrollIntoView=nativeScrollIntoView;nativeScrollIntoView=null;window.removeEventListener(\"touchstart\",onTouchStart);window.removeEventListener(\"touchmove\",onTouchMove);window.removeEventListener(\"touchend\",onTouchEnd);window.removeEventListener(\"touchcancel\",onTouchEnd);resizeObserver?.disconnect();resizeObserver=null;lockObserver?.disconnect();lockObserver=null;stop();};return claimPage({attach,detach});}/**\n * SMOOTH SCROLL\n *\n * Auto-sized to 0 × 0: the instance takes no space and shows nothing on the canvas either.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function SmoothScrollPro(props){const{enabled=true,easing=\"expoOut\",bezier=\"0.45, 0, 0.25, 1\",smoothness=60,duration=1.6,mode=\"duration\",wheelMultiplier=1,touchMultiplier=1.6,maxDelta=0,smoothTouch=false,disableBelow=0,respectReducedMotion=true,anchorLinks=true,anchorDuration=1.2,anchorOffset=0}=props;// Static render: the Framer canvas, thumbnails and export passes.\nconst isStatic=useIsStaticRenderer();const target=RenderTarget.current();const isEditing=isStatic||target===RenderTarget.canvas||target===RenderTarget.thumbnail;const marker=useRef(null);useCommitEffect(()=>{if(isEditing||!enabled)return;const el=marker.current;const release=createSmoothScroll({easing,bezier,smoothness,duration,mode,wheelMultiplier,touchMultiplier,maxDelta,smoothTouch,disableBelow,respectReducedMotion,anchorLinks,anchorDuration,anchorOffset});el?.setAttribute(\"data-smooth-scroll\",\"on\");return()=>{release();el?.setAttribute(\"data-smooth-scroll\",\"off\");};},[enabled,isEditing,easing,bezier,smoothness,duration,mode,wheelMultiplier,touchMultiplier,maxDelta,smoothTouch,disableBelow,respectReducedMotion,anchorLinks,anchorDuration,anchorOffset]);// Canvas, thumbnails and export: no listeners, no animation and nothing visible.\n// Preview and live site: nothing visible at all either.\nreturn /*#__PURE__*/_jsx(\"div\",{ref:isEditing?undefined:marker,\"aria-hidden\":\"true\",style:{width:0,height:0,overflow:\"hidden\",pointerEvents:\"none\"},\"data-smooth-scroll\":isEditing?\"static\":\"off\"});}addPropertyControls(SmoothScrollPro,{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:true},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"lerp\",\"duration\"],optionTitles:[\"Inertia\",\"Duration\"],defaultValue:\"duration\",description:\"Duration eases each scroll over a fixed time (Lenis / Kairn feel). Inertia glides continuously.\"},easing:{type:ControlType.Enum,title:\"Easing\",options:[\"linear\",\"easeOut\",\"easeInOut\",\"expoOut\",\"circOut\",\"backOut\",\"custom\"],optionTitles:[\"Linear\",\"Ease out\",\"Ease in out\",\"Expo out\",\"Circ out\",\"Back out\",\"Custom bezier\"],defaultValue:\"expoOut\",hidden:p=>p?.mode!==\"duration\"},bezier:{type:ControlType.String,title:\"Bezier\",defaultValue:\"0.45, 0, 0.25, 1\",placeholder:\"x1, y1, x2, y2\",hidden:p=>p?.mode!==\"duration\"||p?.easing!==\"custom\"},smoothness:{type:ControlType.Number,title:\"Smoothness\",defaultValue:60,min:0,max:100,step:1,description:\"0 = tight and snappy, 100 = long heavy glide.\",hidden:p=>p?.mode===\"duration\"},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:1.6,min:.15,max:3,step:.05,unit:\"s\",hidden:p=>p?.mode!==\"duration\"},wheelMultiplier:{type:ControlType.Number,title:\"Wheel speed\",defaultValue:1,min:.2,max:3,step:.05},maxDelta:{type:ControlType.Number,title:\"Max step\",defaultValue:0,min:0,max:800,step:10,unit:\"px\",description:\"0 = no limit. Caps how far one wheel tick can move the page.\"},smoothTouch:{type:ControlType.Boolean,title:\"Smooth touch\",defaultValue:false,description:\"Off keeps native momentum on phones (recommended).\"},touchMultiplier:{type:ControlType.Number,title:\"Touch speed\",defaultValue:1.6,min:.5,max:4,step:.1,hidden:p=>!p?.smoothTouch},disableBelow:{type:ControlType.Number,title:\"Disable below\",defaultValue:0,min:0,max:1400,step:10,unit:\"px\",description:\"Turns off wheel smoothing on narrow screens. Section links still glide.\"},respectReducedMotion:{type:ControlType.Boolean,title:\"Reduced motion\",defaultValue:true,enabledTitle:\"Respect\",disabledTitle:\"Ignore\"},anchorLinks:{type:ControlType.Boolean,title:\"Section links\",defaultValue:true,enabledTitle:\"Glide\",disabledTitle:\"Jump\",description:\"Every link to a section glides there — navbar, buttons, menus, same page or another page.\"},anchorDuration:{type:ControlType.Number,title:\"Section glide\",defaultValue:1.2,min:.3,max:3,step:.05,unit:\"s\",hidden:p=>!p?.anchorLinks},anchorOffset:{type:ControlType.Number,title:\"Section offset\",defaultValue:0,min:0,max:400,step:4,unit:\"px\",description:\"Stops this far above the section, e.g. for a sticky header.\",hidden:p=>!p?.anchorLinks}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SmoothScrollPro\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SmoothScrollPro.map"],"mappings":"sNA2BA,SAAS,GAAQ,EAAE,CAAC,OAAO,GAAG,EAAE,EAAE,KAAK,IAAI,EAAE,MAAe,IAAE,IAAI,EAAE,CAAE,CAQgC,SAAS,GAAY,EAAM,CAAC,IAAM,EAAM,OAAO,CAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,WAAW,EAAE,KAAK,CAAC,CAAC,EAAkE,OAA7D,EAAM,SAAS,GAAG,EAAM,KAAK,GAAG,OAAO,MAAM,CAAC,CAAC,EAAS,KAAW,CAAC,EAAM,GAAG,EAAM,GAAG,EAAM,GAAG,EAAM,EAAE,CAAE,CAChT,SAAS,EAAW,EAAE,CAAC,GAAK,CAAC,EAAG,EAAG,EAAG,GAAI,EAAQ,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAQ,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,EAAQ,EAAE,GAAG,EAAE,EAAQ,GAAM,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAQ,GAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,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