{"version":3,"file":"DragScrollOverride.CLvKkOr2.mjs","names":["useState","useRef","useCallback","__esmMin","init_npm_react_18_3_1","de","window","init_ssg_sandbox_shims","init_jsx_runtime","ne","J","ce","_e","withDragScroll","dragging","setDragging","elRef","targetRef","currentRef","velocityRef","rafRef","draggingRef","minRef","maxRef","drag","baseTransformRef","props","applyTransform","el","STYLE_ID","s","neutralizeCentering","parent","cs","display","jc","measure","clip","ox","elRect","base","contentWidth","nodes","i","r","right","naturalLeft","clipLeft","clamp","value","tick","MIN_VELOCITY","next","FRICTION","follow","FOLLOW","diff","MIN_DELTA","ensureLoop","ro","onResize","t1","t2","onWheel","event","setRef","node","ref","onPointerDown","onPointerMove","delta","endDrag","Component","init_DragScrollOverride"],"sources":["https:/framerusercontent.com/modules/BUk6rSbrSNRQAvwQiJqZ/LkoQef500cX3ZW9NHGOv/DragScrollOverride.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef,useState}from\"react\";// Tuning constants for the feel of the scroll\nconst FOLLOW=.18// easing toward the target DURING MOMENTUM ONLY (0-1, higher = snappier). While dragging we track the finger 1:1.\n;const FRICTION=.92// momentum decay per frame after release (closer to 1 = longer glide)\n;const MIN_VELOCITY=.1// velocity threshold below which momentum stops\n;const MIN_DELTA=.1// gap below which we snap and stop the loop\n;const STYLE_ID=\"dragscroll-track-style\";export function withDragScroll(Component){return /*#__PURE__*/forwardRef(function WithDragScroll(props,ref){const[dragging,setDragging]=useState(false);const elRef=useRef(null);const targetRef=useRef(0)// where we want to be\n;const currentRef=useRef(0)// where we visibly are (animated)\n;const velocityRef=useRef(0)// px per move event, drives momentum\n;const rafRef=useRef(null);const draggingRef=useRef(false);const minRef=useRef(0)// most-negative scroll offset (last card reaches the right edge)\n;const maxRef=useRef(0)// most-positive scroll offset (first card reaches the left edge)\n;const drag=useRef({pointerId:null,startX:0,startOffset:0,lastX:0});// The base transform coming from Framer's own layout (kept, so we only\n// ADD our translateX on top). Refreshed every render from the latest\n// props so the imperative writes below never drop a Framer transform.\nconst baseTransformRef=useRef(\"\");baseTransformRef.current=props.style?.transform?props.style.transform+\" \":\"\";// Write the scroll position straight to the DOM node. We do NOT push it\n// through React state per frame: re-rendering the whole Framer card\n// stack 60x/second is the main reason the drag felt sluggish on mobile.\n// The rendered style (see JSX) reads the same ref, so any incidental\n// React re-render paints the exact same, current position — no jump.\nconst applyTransform=useCallback(()=>{const el=elRef.current;if(!el)return;el.style.transform=baseTransformRef.current+`translateX(${currentRef.current}px)`;},[]);// Force the track to lay out at its real content width and hide the\n// scrollbar. Without this, a flex track with width:100% lets the cards\n// shrink so only ~6 of 8 actually get room — the drag then has nothing\n// more to reveal. max-content makes all cards lay out full-size; the\n// element is translated inside its clipping ancestor to scroll them.\nuseEffect(()=>{if(typeof document===\"undefined\")return;if(document.getElementById(STYLE_ID))return;const s=document.createElement(\"style\");s.id=STYLE_ID;s.textContent=`\n                [data-dragscroll]{\n                    width:max-content!important;\n                    max-width:none!important;\n                    flex-shrink:0!important;\n                }\n                [data-dragscroll] > *{flex-shrink:0!important;}\n                [data-dragscroll]::-webkit-scrollbar{display:none!important;}\n            `;document.head.appendChild(s);},[]);// A Framer stack that centers its children centers the max-content track\n// too — the overflow then sticks out on BOTH sides, hiding the first\n// cards behind the left clip edge where the drag can never reveal them.\n// Pin the track to the start of the horizontal axis only, without\n// touching how the parent lays out its other children (titles etc).\nconst neutralizeCentering=useCallback(el=>{const parent=el.parentElement;if(!parent)return;const cs=getComputedStyle(parent);const display=cs.display;if(display.indexOf(\"flex\")!==-1){if((cs.flexDirection||\"row\").indexOf(\"column\")===0){// horizontal = cross axis → align only this child\nif(el.style.alignSelf!==\"flex-start\")el.style.alignSelf=\"flex-start\";}else{// horizontal = main axis → no per-child property exists;\n// with an overflowing track, centering is broken layout\n// anyway, so force the parent to start-pack.\nconst jc=cs.justifyContent;if(jc===\"center\"||jc===\"flex-end\"||jc===\"end\"||jc===\"right\"||jc.indexOf(\"space-\")===0){if(parent.style.justifyContent!==\"flex-start\")parent.style.justifyContent=\"flex-start\";}}}else if(display.indexOf(\"grid\")!==-1){if(el.style.justifySelf!==\"start\")el.style.justifySelf=\"start\";}},[]);// Measure the real scroll range.\n//\n// The visible \"window\" is NOT this element (it has overflow:visible so the\n// cards can peek past the edges) — it's the nearest ancestor that clips\n// (overflow hidden/clip/auto/scroll). We translate this element inside that\n// window, so both bounds come from real geometry: where the track's\n// UNTRANSFORMED edges sit relative to the clip window. This stays correct\n// whatever padding or alignment context the track lives in (the old\n// clientWidth-based range assumed the track started at the clip's edge and\n// left the last card clipped when the section had left padding).\n//\n// Content width is read from the element itself (forced to max-content,\n// so scrollWidth is reliable) and cross-checked against the farthest-right\n// descendant edge — robust to Framer's deep single-child card wrappers and\n// to overflow:visible under-reporting on WebKit/iOS. Descendant edges are\n// measured relative to the element's own rect, so the result is\n// transform-invariant.\nconst measure=useCallback(()=>{const el=elRef.current;if(!el)return;neutralizeCentering(el);// nearest clipping ancestor = the visible viewport for this track\nlet clip=el.parentElement;while(clip){const ox=getComputedStyle(clip).overflowX;if(ox===\"hidden\"||ox===\"clip\"||ox===\"auto\"||ox===\"scroll\")break;clip=clip.parentElement;}const elRect=el.getBoundingClientRect();const base=elRect.left;let contentWidth=Math.max(el.scrollWidth,elRect.width);const nodes=el.querySelectorAll(\"*\");for(let i=0;i<nodes.length;i++){const r=nodes[i].getBoundingClientRect();if(r.width===0&&r.height===0)continue;const right=r.right-base;if(right>contentWidth)contentWidth=right;}if(clip){// Where the track sits with no translation applied. currentRef\n// mirrors the translateX we render, so subtracting it removes\n// our own transform from the measurement.\nconst naturalLeft=elRect.left-currentRef.current;const clipRect=clip.getBoundingClientRect();const clipLeft=clipRect.left+clip.clientLeft;maxRef.current=Math.max(0,clipLeft-naturalLeft);minRef.current=Math.min(0,clipLeft+clip.clientWidth-(naturalLeft+contentWidth));}else{maxRef.current=0;minRef.current=Math.min(0,el.clientWidth-contentWidth);}// If the bounds tightened (fewer cards, resize), pull the current\n// position back into the valid range so we never strand off-content.\nif(targetRef.current<minRef.current)targetRef.current=minRef.current;if(targetRef.current>maxRef.current)targetRef.current=maxRef.current;if(currentRef.current<minRef.current||currentRef.current>maxRef.current){currentRef.current=targetRef.current;applyTransform();}},[neutralizeCentering,applyTransform]);const clamp=value=>{if(value>maxRef.current)return maxRef.current;if(value<minRef.current)return minRef.current;return value;};const tick=useCallback(()=>{const el=elRef.current;if(!el){rafRef.current=null;return;}// Apply momentum when the pointer is released\nif(!draggingRef.current&&Math.abs(velocityRef.current)>MIN_VELOCITY){const next=clamp(targetRef.current+velocityRef.current);// Kill velocity when we hit an edge\nif(next!==targetRef.current+velocityRef.current)velocityRef.current=0;targetRef.current=next;velocityRef.current*=FRICTION;}else if(!draggingRef.current){velocityRef.current=0;}// While the finger is down, stick to it 1:1. Easing here just makes\n// the cards trail the finger, which reads as \"slow\" on touch. The\n// FOLLOW easing is reserved for the post-release momentum glide.\nconst follow=draggingRef.current?1:FOLLOW;// Ease the visible position toward the target\nconst diff=targetRef.current-currentRef.current;const settled=Math.abs(diff)<MIN_DELTA&&!draggingRef.current&&Math.abs(velocityRef.current)<=MIN_VELOCITY;if(settled){currentRef.current=targetRef.current;applyTransform();rafRef.current=null;return;}currentRef.current+=diff*follow;applyTransform();rafRef.current=requestAnimationFrame(tick);},[applyTransform]);const ensureLoop=useCallback(()=>{if(rafRef.current==null)rafRef.current=requestAnimationFrame(tick);},[tick]);useEffect(()=>{return()=>{if(rafRef.current!=null)cancelAnimationFrame(rafRef.current);};},[]);// Keep the bounds in sync with the content: initial measure, on element\n// resize (breakpoint / CMS content change) and on window resize\n// (orientation change on mobile). A couple of delayed re-measures catch\n// late-loading card assets / fonts that change the total width.\nuseEffect(()=>{const el=elRef.current;if(!el)return;measure();let ro=null;if(typeof ResizeObserver!==\"undefined\"){ro=new ResizeObserver(()=>measure());ro.observe(el);if(el.parentElement)ro.observe(el.parentElement);}const onResize=()=>measure();window.addEventListener(\"resize\",onResize);const t1=setTimeout(measure,250);const t2=setTimeout(measure,1e3);return()=>{if(ro)ro.disconnect();window.removeEventListener(\"resize\",onResize);clearTimeout(t1);clearTimeout(t2);};},[measure]);// Trackpad / wheel support. React attaches onWheel passively, so preventDefault()\n// there is ignored — we must bind a native, non-passive listener to reliably stop\n// the page from scrolling when we consume a horizontal swipe.\nuseEffect(()=>{const el=elRef.current;if(!el)return;const onWheel=event=>{// Only hijack horizontal intent (two-finger trackpad swipe / shift+wheel).\n// Vertical scroll is left to the page — no scroll trapping.\nif(Math.abs(event.deltaX)<=Math.abs(event.deltaY))return;measure();const next=clamp(targetRef.current-event.deltaX);// At an edge in this direction: don't swallow the event, let the page react.\nif(next===targetRef.current)return;event.preventDefault();draggingRef.current=false;velocityRef.current=0;targetRef.current=next;ensureLoop();};el.addEventListener(\"wheel\",onWheel,{passive:false});return()=>el.removeEventListener(\"wheel\",onWheel);},[ensureLoop,measure]);// Merge the forwarded ref with our internal element ref so the wheel listener\n// (and clamp bounds) can read the node before any pointer interaction happens.\nconst setRef=useCallback(node=>{elRef.current=node;if(node)node.setAttribute(\"data-dragscroll\",\"\");if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;},[ref]);const onPointerDown=useCallback(event=>{const el=event.currentTarget;elRef.current=el;measure()// fresh bounds at the moment we start dragging\n;draggingRef.current=true;drag.current.pointerId=event.pointerId;drag.current.startX=event.clientX;drag.current.lastX=event.clientX;// Pick up from the currently visible position to avoid any jump\ndrag.current.startOffset=currentRef.current;targetRef.current=currentRef.current;velocityRef.current=0;if(el.setPointerCapture)el.setPointerCapture(event.pointerId);setDragging(true);ensureLoop();props.onPointerDown?.(event);},[ensureLoop,measure,props]);const onPointerMove=useCallback(event=>{if(draggingRef.current){const delta=event.clientX-drag.current.startX;targetRef.current=clamp(drag.current.startOffset+delta);velocityRef.current=event.clientX-drag.current.lastX;drag.current.lastX=event.clientX;ensureLoop();event.preventDefault();}props.onPointerMove?.(event);},[ensureLoop,props]);const endDrag=useCallback(event=>{if(draggingRef.current){const el=event.currentTarget;if(drag.current.pointerId!==null&&el.releasePointerCapture){try{el.releasePointerCapture(drag.current.pointerId);}catch(_){}}drag.current.pointerId=null;draggingRef.current=false;// A cancelled gesture (browser took over for a vertical page\n// scroll) must NOT fling the carousel — kill momentum, just settle.\nif(event.type===\"pointercancel\")velocityRef.current=0;setDragging(false);ensureLoop()// let momentum + easing run out (or just settle)\n;}if(event.type===\"pointerup\")props.onPointerUp?.(event);if(event.type===\"pointerleave\")props.onPointerLeave?.(event);if(event.type===\"pointercancel\")props.onPointerCancel?.(event);},[ensureLoop,props]);return /*#__PURE__*/_jsx(Component,{ref:setRef,...props,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:endDrag,onPointerLeave:endDrag,onPointerCancel:endDrag,onDragStart:event=>{event.preventDefault();props.onDragStart?.(event);},style:{...props.style,overflow:\"visible\",// Reads the live ref so a first paint / incidental React\n// re-render always matches the imperatively-driven position.\ntransform:baseTransformRef.current+`translateX(${currentRef.current}px)`,cursor:dragging?\"grabbing\":\"grab\",userSelect:dragging?\"none\":props.style?.userSelect,touchAction:\"pan-y\",willChange:\"transform\"}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDragScroll\":{\"type\":\"reactHoc\",\"name\":\"withDragScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DragScrollOverride.map"],"mappings":"A,4JAKyC,SAAgBa,EAAe,EAAU,CAAC,MAAoB,gBAAW,SAAwB,EAAM,EAAI,CAAC,GAAK,CAACC,EAASC,GAAaf,EAAS,EAAK,EAAQgB,EAAMf,EAAO,IAAI,EAAQgB,EAAUhB,EAAO,CAAC,EAC3OiB,EAAWjB,EAAO,CAAC,EACnBkB,EAAYlB,EAAO,CAAC,EACpBmB,EAAOnB,EAAO,IAAI,EAAQoB,EAAYpB,EAAO,EAAK,EAAQqB,EAAOrB,EAAO,CAAC,EACzEsB,EAA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