{"version":3,"file":"SideNavFeatureCardStack.Bi79Plxk.mjs","names":["_jsx","useRef","useCallback","useEffect","_jsxs","__esmMin","init_npm_react_18_3_1","ne","p","c","init_jsx_runtime","ce","de","useMotionValue","motion","useTransform","animate","init_framer_motion_1EwlFBEG","dampenOverdrag","position","min","max","resistance","DRAG_EDGE_RESISTANCE","resolveReleaseIndex","velocity","step","activeIndex","total","target","FLICK_VELOCITY_THRESHOLD","framerCardImageProps","url","cssWidth","sized","width","parsed","oneX","peekOpacityForSlot","slot","PEEK_OPACITY","MAX_PEEK_CARDS","scaleForRelativeIndex","rel","PEEK_SCALE_STEP","opacityForRelativeIndex","slot1","slot2","carouselClipPath","bleed","cardHeight","outOfBoxImageOffsetY","top","bottom","StackCard","image","imageSrcSet","alt","index","trackX","shellStyle","imageStyle","usesOutOfBoxImage","outOfBoxFrameStyle","v","pinX","r","scale","opacity","zIndex","Z_UNDER","Z_TRACK","img","event","SideNavFeatureCardStack","slides","onIndexChange","onDragStateChange","enableDrag","cardWidth","cardGap","cardRadius","cardPeek","imageFit","isMobile","reduceMotion","carouselBleed","style","carouselRef","usesNaturalImageHeight","usesFixedFrameHeight","naturalCardMinHeight","settleAnimation","settleTarget","dragSession","settleTo","TRACK_SPRING","dragEnabled","onPointerDown","onPointerMove","session","raw","endDrag","resolved","cardShellStyle","cardImageStyle","outOfBoxImageStyle","containerStyle","currentSlide","StaticCardImage","slide","imageProps","init_SideNavFeatureCardStack"],"sources":["https:/framerusercontent.com/modules/HBFvttViAimr0PUBP2sd/Z23jhqXeVwjrKYcMryfr/SideNavFeatureCardStack.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef}from\"react\";import{animate,motion,useMotionValue,useTransform}from\"framer-motion\";const DRAG_EDGE_RESISTANCE=.35;/** Flicks faster than this (px/s) advance a slide even without a half-step drag. */const FLICK_VELOCITY_THRESHOLD=400;/** Rubber-band positions beyond [min, max] so the track resists instead of stopping dead. */export function dampenOverdrag(position,min,max,resistance=DRAG_EDGE_RESISTANCE){if(position>max)return max+(position-max)*resistance;if(position<min)return min+(position-min)*resistance;return position;}/**\n * Resolve a drag release to the index the track should settle on.\n * Fast flicks move one slide in the flick direction; slow releases snap to the\n * nearest slide, at most one step from where the gesture started.\n */export function resolveReleaseIndex(position,velocity,step,activeIndex,total){if(total<=1||step<=0)return Math.max(0,Math.min(activeIndex,total-1));let target;if(Math.abs(velocity)>FLICK_VELOCITY_THRESHOLD){target=activeIndex+(velocity<0?1:-1);}else{target=Math.round(-position/step);target=Math.max(activeIndex-1,Math.min(activeIndex+1,target));}return Math.max(0,Math.min(total-1,target));}/**\n * framerusercontent.com only resizes via `scale-down-to`; the `width`/`height`\n * params Framer stores on asset URLs are metadata, so using them verbatim ships\n * the full-size original. Request the card's rendered width instead, bucketed\n * to 64px so viewport jitter doesn't fragment the CDN cache.\n */export function framerCardImageProps(url,cssWidth){if(!url.startsWith(\"https://framerusercontent.com/images/\")){return{src:url};}const sized=width=>{try{const parsed=new URL(url);parsed.searchParams.delete(\"width\");parsed.searchParams.delete(\"height\");parsed.searchParams.set(\"scale-down-to\",String(width));return parsed.toString();}catch{return url;}};const oneX=Math.max(64,Math.ceil(cssWidth/64)*64);return{src:sized(oneX),srcSet:`${sized(oneX)} 1x, ${sized(oneX*2)} 2x`};}/** Cards behind the active slot shrink/fade in place instead of sliding off-screen. */const EXIT_SCALE=.3;const MAX_PEEK_CARDS=2;const PEEK_OPACITY=.58;const PEEK_SCALE_STEP=.018;const Z_UNDER=1;const Z_TRACK=2;const TRACK_SPRING={type:\"spring\",stiffness:260,damping:30,mass:1};/** Default upward shift for out-of-box images (heads above the frame). */export const DEFAULT_OUT_OF_BOX_IMAGE_OFFSET_Y=-44;function peekOpacityForSlot(slot){return PEEK_OPACITY+(MAX_PEEK_CARDS-slot)*.08;}/**\n * Continuous scale for a card's signed distance from the active slot.\n * rel 0 → 1, rel > 0 → peek shrink, rel < 0 → exit shrink toward EXIT_SCALE.\n */export function scaleForRelativeIndex(rel){if(rel<0){const t=Math.min(1,-rel);return 1+(EXIT_SCALE-1)*t;}return 1-Math.min(rel,MAX_PEEK_CARDS)*PEEK_SCALE_STEP;}/** Continuous opacity companion to {@link scaleForRelativeIndex}. */export function opacityForRelativeIndex(rel){if(rel<0)return Math.max(0,1+rel);if(rel<=0)return 1;const slot1=peekOpacityForSlot(1);const slot2=peekOpacityForSlot(MAX_PEEK_CARDS);if(rel<=1)return 1+(slot1-1)*rel;if(rel<=MAX_PEEK_CARDS)return slot1+(slot2-slot1)*(rel-1);return slot2;}/** Left edge clips track overflow; top/bottom expand for out-of-box image bleed. */function carouselClipPath(bleed,cardHeight,outOfBoxImageOffsetY){if(outOfBoxImageOffsetY===undefined){return`inset(0 ${-bleed}px 0 0)`;}const top=outOfBoxImageOffsetY<0?outOfBoxImageOffsetY:0;const bottom=-Math.max(400,Math.round(cardHeight*1.25));return`inset(${top}px ${-bleed}px ${bottom}px 0)`;}/** One card whose position/scale/opacity derive continuously from the track offset. */function StackCard({image,imageSrcSet,alt,index,trackX,step,shellStyle,imageStyle,usesOutOfBoxImage,outOfBoxFrameStyle}){const rel=useTransform(trackX,v=>step>0?index+v/step:index);// Cards behind the active slot stay pinned at slot 0 while they shrink away.\nconst pinX=useTransform(rel,r=>r<0?-r*step:0);const scale=useTransform(rel,scaleForRelativeIndex);const opacity=useTransform(rel,opacityForRelativeIndex);const zIndex=useTransform(rel,r=>r<-.001?Z_UNDER:Z_TRACK);const img=/*#__PURE__*/_jsx(\"img\",{src:image,srcSet:imageSrcSet,alt:alt??\"\",// Always lazy: the browser still fetches ~1250px ahead of the viewport,\n// and eager cards cost every bouncing visitor the full image set.\nloading:\"lazy\",decoding:\"async\",draggable:false,onDragStart:event=>event.preventDefault(),style:imageStyle});return /*#__PURE__*/_jsx(motion.div,{style:{flexShrink:0,transformOrigin:usesOutOfBoxImage?\"center top\":\"center center\",x:pinX,scale,opacity,zIndex,...shellStyle},children:usesOutOfBoxImage?/*#__PURE__*/_jsx(\"div\",{style:outOfBoxFrameStyle,children:img}):img});}/**\n * Continuous-track card carousel: one motion value drives the track, and every\n * card's transform derives from it. Drags follow the pointer 1:1 (with edge\n * rubber-banding), releases snap with velocity, and index changes retarget the\n * spring mid-flight — there are no locks and no discrete transition phases.\n */export function SideNavFeatureCardStack({slides,activeIndex,onIndexChange,onDragStateChange,enableDrag=true,cardWidth,cardHeight,cardGap,cardRadius,cardPeek,imageFit=\"natural\",outOfBoxImageOffsetY=DEFAULT_OUT_OF_BOX_IMAGE_OFFSET_Y,isMobile=false,reduceMotion=false,carouselBleed,style,carouselRef}){const step=cardWidth+cardGap;const total=slides.length;const bleed=carouselBleed??Math.max(cardPeek,cardGap,8);const usesNaturalImageHeight=imageFit===\"natural\";const usesOutOfBoxImage=imageFit===\"outOfBox\";const usesFixedFrameHeight=imageFit===\"cover\"||imageFit===\"contain\";const naturalCardMinHeight=usesNaturalImageHeight&&isMobile?cardHeight:undefined;const trackX=useMotionValue(-activeIndex*step);const settleAnimation=useRef(null);const settleTarget=useRef(-activeIndex*step);const dragSession=useRef(null);const settleTo=useCallback(target=>{settleTarget.current=target;settleAnimation.current?.stop();if(reduceMotion){trackX.set(target);return;}settleAnimation.current=animate(trackX,target,TRACK_SPRING);},[trackX,reduceMotion]);useEffect(()=>{const target=-Math.max(0,Math.min(activeIndex,total-1))*step;// Already resting on or springing toward this target — don't restart.\nif(settleTarget.current===target&&dragSession.current===null){return;}if(dragSession.current!==null){settleTarget.current=target;return;}settleTo(target);},[activeIndex,step,total,settleTo]);useEffect(()=>()=>settleAnimation.current?.stop(),[]);const dragEnabled=enableDrag&&total>1;const onPointerDown=useCallback(event=>{if(!dragEnabled||!event.isPrimary)return;settleAnimation.current?.stop();dragSession.current={pointerId:event.pointerId,startClientX:event.clientX,startTrackX:trackX.get()};event.currentTarget.setPointerCapture(event.pointerId);onDragStateChange?.(true);},[dragEnabled,trackX,onDragStateChange]);const onPointerMove=useCallback(event=>{const session=dragSession.current;if(!session||event.pointerId!==session.pointerId)return;const raw=session.startTrackX+(event.clientX-session.startClientX);trackX.set(dampenOverdrag(raw,-(total-1)*step,0));},[trackX,total,step]);const endDrag=useCallback(event=>{const session=dragSession.current;if(!session||event.pointerId!==session.pointerId)return;dragSession.current=null;if(event.currentTarget.hasPointerCapture(event.pointerId)){event.currentTarget.releasePointerCapture(event.pointerId);}onDragStateChange?.(false);const resolved=resolveReleaseIndex(trackX.get(),trackX.getVelocity(),step,activeIndex,total);// Without a change handler the index is fixed externally — spring back.\nconst target=onIndexChange?resolved:activeIndex;settleTo(-target*step);if(target!==activeIndex)onIndexChange?.(target);},[trackX,step,activeIndex,total,onIndexChange,settleTo,onDragStateChange]);const cardShellStyle={width:cardWidth,...usesNaturalImageHeight?{display:\"flex\",alignItems:\"flex-start\",justifyContent:\"flex-start\",height:\"fit-content\",minHeight:naturalCardMinHeight}:{height:cardHeight},borderRadius:cardRadius,overflow:\"visible\"};const cardImageStyle={display:\"block\",width:\"100%\",height:usesNaturalImageHeight?\"auto\":\"100%\",maxHeight:usesNaturalImageHeight?\"none\":undefined,borderRadius:cardRadius,objectFit:usesNaturalImageHeight||usesOutOfBoxImage?undefined:imageFit,userSelect:\"none\",WebkitUserDrag:\"none\",pointerEvents:\"none\"};const outOfBoxImageStyle={position:\"absolute\",top:outOfBoxImageOffsetY,left:0,width:\"100%\",height:\"auto\",display:\"block\",borderRadius:cardRadius,userSelect:\"none\",WebkitUserDrag:\"none\",pointerEvents:\"none\"};const outOfBoxFrameStyle={position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"visible\"};const containerStyle={position:\"relative\",minWidth:0,width:\"100%\",...usesNaturalImageHeight?isMobile?{height:\"fit-content\",minHeight:naturalCardMinHeight}:{flex:1,minHeight:0}:{height:cardHeight},overflow:\"visible\",clipPath:carouselClipPath(bleed,cardHeight,usesOutOfBoxImage?outOfBoxImageOffsetY:undefined),touchAction:dragEnabled?\"pan-y\":\"auto\",cursor:dragEnabled?\"grab\":\"auto\",...style};if(total===0)return null;const safeIndex=Math.max(0,Math.min(activeIndex,total-1));const currentSlide=slides[safeIndex];return /*#__PURE__*/_jsxs(\"div\",{ref:carouselRef,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:endDrag,onPointerCancel:endDrag,style:containerStyle,children:[currentSlide&&!usesFixedFrameHeight&&!usesOutOfBoxImage?/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{visibility:\"hidden\",pointerEvents:\"none\",...cardShellStyle},children:/*#__PURE__*/_jsx(StaticCardImage,{image:currentSlide.image,cardWidth:cardWidth,imageStyle:cardImageStyle})}):null,/*#__PURE__*/_jsx(motion.div,{style:{display:\"flex\",gap:`${cardGap}px`,width:\"fit-content\",position:\"absolute\",left:0,top:0,x:trackX},children:slides.map((slide,index)=>{const imageProps=framerCardImageProps(slide.image,cardWidth);return /*#__PURE__*/_jsx(StackCard,{image:imageProps.src,imageSrcSet:imageProps.srcSet,alt:slide.alt,index:index,trackX:trackX,step:step,shellStyle:cardShellStyle,imageStyle:{...usesOutOfBoxImage?outOfBoxImageStyle:cardImageStyle},usesOutOfBoxImage:usesOutOfBoxImage,outOfBoxFrameStyle:outOfBoxFrameStyle},`card-${index}`);})})]});}function StaticCardImage({image,cardWidth,imageStyle}){const imageProps=framerCardImageProps(image,cardWidth);return /*#__PURE__*/_jsx(\"img\",{src:imageProps.src,srcSet:imageProps.srcSet,alt:\"\",loading:\"lazy\",decoding:\"async\",draggable:false,style:imageStyle});}SideNavFeatureCardStack.displayName=\"Side Nav Feature Card Stack\";export default SideNavFeatureCardStack;\nexport const __FramerMetadata__ = {\"exports\":{\"framerCardImageProps\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SideNavFeatureCardStackProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveReleaseIndex\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SlideDirection\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"opacityForRelativeIndex\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_OUT_OF_BOX_IMAGE_OFFSET_Y\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SideNavFeatureCardStackSlide\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SideNavFeatureCardStack\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SideNavFeatureCardStack\":{\"type\":\"reactComponent\",\"name\":\"SideNavFeatureCardStack\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"dampenOverdrag\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"scaleForRelativeIndex\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SideNavFeatureCardStack.map"],"mappings":"A,8MAAka,SAAgBkB,EAAeC,EAASC,EAAIC,EAAIC,EAAWC,EAAqB,CAA2G,OAAvGJ,EAASE,EAAWA,GAAKF,EAASE,GAAKC,EAAcH,EAASC,EAAWA,GAAKD,EAASC,GAAKE,EAAkBH,CAAS,CAI1mB,SAAgBK,EAAoBL,EAASM,EAASC,EAAKC,EAAYC,EAAM,CAAC,GAAGA,GAAO,GAAGF,GAAM,EAAE,OAAO,KAAK,IAAI,EAAE,KAAK,IAAIC,EAAYC,EAAM,CAAC,CAAC,EAAE,IAAIC,EAAmM,OAAzL,KAAK,IAAIJ,CAAQ,EAAEK,EAA0BD,EAAOF,GAAaF,EAAS,EAAE,EAAE,KAAUI,EAAO,KAAK,MAAM,CAACV,EAASO,CAAI,EAAEG,EAAO,KAAK,IAAIF,EAAY,EAAE,KAAK,IAAIA,EAAY,EAAEE,CAAM,CAAC,GAAU,KAAK,IAAI,EAAE,KAAK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