{"version":3,"file":"CarouselAlwaysOnControls.CWSG-CjR.mjs","names":["p","React.useLayoutEffect","React.useEffect","React.useMemo","React.useRef","React.useState","React.useCallback","u"],"sources":["https:/framerusercontent.com/modules/6T2m9xkaPlVD9vgMeNUP/O7yQW2lMQbJoX29xfQCk/CarouselAlwaysOnControls.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function clamp(v,a,b){return Math.max(a,Math.min(b,v));}function finiteOr(v,fallback){const n=Number(v);return Number.isFinite(n)?n:fallback;}function resolvePadding(p){// Back-compat: allow a single number, or an object with {left,right,top,bottom}\nif(typeof p===\"number\"){const v=Math.max(0,finiteOr(p,0));return{left:v,right:v,top:v,bottom:v};}const left=Math.max(0,finiteOr(p?.left,0));const right=Math.max(0,finiteOr(p?.right,0));const top=Math.max(0,finiteOr(p?.top,0));const bottom=Math.max(0,finiteOr(p?.bottom,0));return{left,right,top,bottom};}function useIsoLayoutEffect(fn,deps){const useLE=typeof window!==\"undefined\"?React.useLayoutEffect:React.useEffect;// eslint-disable-next-line react-hooks/rules-of-hooks\nuseLE(fn,deps);}/**\n * Carousel Always On Controls\n *\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 320\n */export default function CarouselWithSlider(props){const{gap=24,padding={left:0,right:0,top:0,bottom:0},controlsGap=20,verticalAlign=\"Center\",segments,slotGap,trackHeight,trackRadius,thumb,// Pill thumb by default (easier to grab).\nthumbWidth,thumbHeight,thumbRadius,// Make the circle noticeably larger on hover/drag.\nthumbScaleHover,autoScroll=false,hoverPause=false,autoSpeed=50,hideSlider=false,// Defaults tuned for light backgrounds.\n// Slots defaults: clear separation between idle / hover / active on light backgrounds.\nslotColor,slotHoverColor,slotActiveColor,thumbColor,items:itemsProp,className,style}=props;const pad=React.useMemo(()=>resolvePadding(padding),[padding]);const segGap=Math.max(0,Math.round(finiteOr(segments?.gap,finiteOr(slotGap,4))));const segH=Math.max(1,Math.round(finiteOr(segments?.height,finiteOr(trackHeight,5))));const segR=Math.max(0,finiteOr(segments?.radius,finiteOr(trackRadius,0)));const segBg=segments?.background??slotColor??\"#E1E1E1\";const segHover=segments?.onHover??slotHoverColor??\"#C6C6C6\";const segActive=segments?.onActive??slotActiveColor??\"#AFAFAF\";// Single source of truth: Items list control.\nconst items=React.useMemo(()=>Array.isArray(itemsProp)?itemsProp.filter(Boolean):[],[itemsProp]);const itemCount=items.length;const scrollRef=React.useRef(null);const trackRef=React.useRef(null);const contentRef=React.useRef(null);const[layout,setLayout]=React.useState({viewportW:0,contentW:0,trackW:0,scrollLeft:0});const hoverTrackMetricsRef=React.useRef({left:0,width:0});const[hoverSlot,setHoverSlot]=React.useState(null);const[hoverRegion,setHoverRegion]=React.useState(false);const[hoverAny,setHoverAny]=React.useState(false);const[dragging,setDragging]=React.useState(false);const dragState=React.useRef(null);const hoverAnyRef=React.useRef(false);React.useEffect(()=>{hoverAnyRef.current=hoverAny;if(!hoverAny&&autoScrollRef.current&&hoverPauseRef.current){startRafIfNeededRef.current();}},[hoverAny]);const autoScrollRef=React.useRef(!!autoScroll);React.useEffect(()=>{autoScrollRef.current=!!autoScroll;},[autoScroll]);const hoverPauseRef=React.useRef(!!hoverPause);React.useEffect(()=>{hoverPauseRef.current=!!hoverPause;},[hoverPause]);const autoSpeedRef=React.useRef(Math.max(0,finiteOr(autoSpeed,0)));React.useEffect(()=>{autoSpeedRef.current=Math.max(0,finiteOr(autoSpeed,0));},[autoSpeed]);const carouselScrollableRef=React.useRef(false);const maxScrollRef=React.useRef(0);const draggingRef=React.useRef(false);React.useEffect(()=>{draggingRef.current=dragging;},[dragging]);const clickTargetRef=React.useRef(null);const snapAnimRef=React.useRef(null);const autoDirRef=React.useRef(1);const prevAutoScrollRef=React.useRef(false);const pendingScrollLeftRef=React.useRef(null);const scrollStateRafRef=React.useRef(0);const SCROLL_STATE_EPS=.35;const AUTO_START_STABLE_FRAMES=8;const AUTO_START_MAX_EPS=.25;const maxScrollPrevForStartRef=React.useRef(null);const maxScrollStableFramesRef=React.useRef(0);const autoStartLatchedRef=React.useRef(false);const integratorRafRef=React.useRef(0);const integratorLastTRef=React.useRef(null);const startRafIfNeededRef=React.useRef(()=>{});const maxScroll=Math.max(0,layout.contentW-layout.viewportW);// Keep thumb geometry faithful to user inputs (default is a true circle).\nconst baseThumbW=Math.max(8,finiteOr(thumb?.width,finiteOr(thumbWidth,48)));const baseThumbH=Math.max(8,finiteOr(thumb?.height,finiteOr(thumbHeight,16)));const handleRadius=Math.max(0,finiteOr(thumb?.radius,finiteOr(thumbRadius,999)));const sliderVisible=!(autoScroll&&hideSlider);const carouselScrollable=itemCount>=2&&maxScroll>0;React.useEffect(()=>{carouselScrollableRef.current=carouselScrollable;},[carouselScrollable]);React.useEffect(()=>{maxScrollRef.current=maxScroll;},[maxScroll]);const travel=Math.max(0,layout.trackW-baseThumbW)// thumb-left travel in px\n;const sliderEnabled=sliderVisible&&carouselScrollable&&layout.trackW>0&&travel>1e-6;// Simple linear mapping (stable + predictable).\nconst progress=carouselScrollable?clamp(layout.scrollLeft/maxScroll,0,1):0;const thumbLeftPx=progress*travel;// Trackpad scrolling uses native browser momentum.\n// Auto-scroll state.\nconst autoActive=autoScroll&&carouselScrollable&&!(hoverPause&&hoverAny)&&!dragging;const thumbOpacity=React.useMemo(()=>{// In ping-pong mode we don't fade; handle stays synced with motion.\nreturn 1;},[autoActive,maxScroll,progress]);const snapToDevicePixel=React.useCallback(value=>{const dpr=typeof window!==\"undefined\"&&window.devicePixelRatio?window.devicePixelRatio:1;return Math.round(value*dpr)/dpr;},[]);React.useEffect(()=>{const was=prevAutoScrollRef.current;prevAutoScrollRef.current=!!autoScroll;if(!autoScroll){maxScrollPrevForStartRef.current=null;maxScrollStableFramesRef.current=0;autoStartLatchedRef.current=false;return;}if(was)return;// Initialize direction ONCE when auto-scroll is enabled.\n// After that, direction is controlled exclusively by the ping-pong edge logic in the RAF tick.\nconst sc=scrollRef.current;const x=sc?Math.max(0,sc.scrollLeft):layout.scrollLeft;if(x>=maxScroll-.5)autoDirRef.current=-1;else if(x<=.5)autoDirRef.current=1;maxScrollPrevForStartRef.current=null;maxScrollStableFramesRef.current=0;autoStartLatchedRef.current=false;// otherwise keep default (1)\n},[autoScroll,maxScroll]);// Render-only snapping reduces visual shimmer without changing motion math.\nconst thumbRenderLeftPx=snapToDevicePixel(thumbLeftPx);// Interaction padding for the track area (invisible hit target).\nconst HIT_PAD_PX=5;const visualTrackH=segH;const hitTrackH=Math.max(visualTrackH,baseThumbH)+HIT_PAD_PX*2;// Active slot rule (thumb-driven):\n// The active pill is the one under the thumb. When the thumb center crosses a pill boundary,\n// >50% of the thumb has entered the next pill, so we switch immediately.\nconst activeIndex=React.useMemo(()=>{if(!sliderEnabled)return 0;const n=itemCount;if(n<=0)return 0;const trackW=layout.trackW;if(!(trackW>1e-6))return 0;// Use true slot geometry (including gaps) so \"active\" matches what users see.\nconst g=Math.max(0,finiteOr(segGap,4));const totalGap=g*(n-1);const slotW=(trackW-totalGap)/n;if(!(slotW>0))return 0;const segment=slotW+g;const thumbL=thumbRenderLeftPx;const thumbR=thumbRenderLeftPx+baseThumbW;const approxA=clamp(Math.floor(thumbL/segment),0,n-1);const approxB=clamp(Math.floor(thumbR/segment),0,n-1);let best=approxA;let bestO=-1;let bestCenterD=Infinity;const thumbC=(thumbL+thumbR)/2;const test=i=>{if(i<0||i>=n)return;const sL=i*segment;const sR=sL+slotW;const o=Math.max(0,Math.min(thumbR,sR)-Math.max(thumbL,sL));if(o>bestO+1e-6){bestO=o;best=i;bestCenterD=Math.abs(thumbC-(sL+sR)/2);return;}if(Math.abs(o-bestO)<=1e-6){const d=Math.abs(thumbC-(sL+sR)/2);if(d<bestCenterD){bestCenterD=d;best=i;}}};// Only a couple candidates matter.\ntest(approxA-1);test(approxA);test(approxA+1);if(approxB!==approxA){test(approxB-1);test(approxB);test(approxB+1);}return clamp(best,0,n-1);},[sliderEnabled,itemCount,thumbRenderLeftPx,baseThumbW,layout.trackW,segGap]);const DRAG_SCALE_FRACTION_OF_HOVER=.9;const hoverScale=Math.max(1,finiteOr(thumb?.hoverScale,finiteOr(thumbScaleHover,2)));const dragScale=Math.max(1,hoverScale*DRAG_SCALE_FRACTION_OF_HOVER);const thumbShadow=React.useMemo(()=>{const raw=thumb?.shadow;if(typeof raw===\"string\"){const normalized=raw.trim();return normalized.length?normalized:\"none\";}if(raw&&typeof raw===\"object\"){const x=finiteOr(raw.x,0);const y=finiteOr(raw.y,0);const blur=Math.max(0,finiteOr(raw.blur,0));const spread=finiteOr(raw.spread,0);const color=typeof raw.color===\"string\"?raw.color:\"rgba(0,0,0,0)\";const inset=raw.inset?\"inset \":\"\";return`${inset}${x}px ${y}px ${blur}px ${spread}px ${color}`;}return\"none\";},[thumb?.shadow]);const thumbScale=dragging?dragScale:hoverRegion?hoverScale:1;const measureNow=React.useCallback(()=>{const sc=scrollRef.current;const tr=trackRef.current;if(!sc)return;const viewportW=Math.max(0,Math.round(sc.clientWidth));const contentW=Math.max(0,Math.round(sc.scrollWidth));// Use layout-space width (not viewport-transformed width) so canvas zoom does not desync\n// indicator geometry from scrollLeft/maxScroll math.\nconst trackW=Math.max(0,tr?.clientWidth??tr?.offsetWidth??0);if(tr){const r=tr.getBoundingClientRect();hoverTrackMetricsRef.current={left:r.left,width:Math.max(0,r.width)};}// Keep scrollLeft high precision so thumb moves smoothly.\nconst scrollLeft=Math.max(0,sc.scrollLeft);setLayout(prev=>{if(prev.viewportW===viewportW&&prev.contentW===contentW&&prev.trackW===trackW&&prev.scrollLeft===scrollLeft)return prev;return{viewportW,contentW,trackW,scrollLeft};});},[]);const refreshHoverTrackMetrics=React.useCallback(()=>{const tr=trackRef.current;if(!tr)return;const r=tr.getBoundingClientRect();hoverTrackMetricsRef.current={left:r.left,width:Math.max(0,r.width)};},[]);const computeGapSnapTargetLeft=React.useCallback((trackW,curScroll)=>{const n=itemCount;if(n<=1)return null;if(!(trackW>1))return null;if(!(maxScroll>0))return null;const g=Math.max(0,finiteOr(segGap,4));const totalGap=g*(n-1);const slotW=(trackW-totalGap)/n;if(!(slotW>1e-6))return null;const segment=slotW+g;const travelLocal=Math.max(0,trackW-baseThumbW);if(!(travelLocal>1e-6))return null;const pNow=clamp(curScroll/Math.max(1e-6,maxScroll),0,1);const thumbLeft=pNow*travelLocal;const thumbRight=thumbLeft+baseThumbW;// Find the gap with maximum overlap with the thumb.\nlet bestGap=-1;let bestOverlap=0;for(let i=0;i<n-1;i++){const gapL=i*segment+slotW;const gapR=(i+1)*segment;const overlap=Math.max(0,Math.min(thumbRight,gapR)-Math.max(thumbLeft,gapL));if(overlap>bestOverlap){bestOverlap=overlap;bestGap=i;}}if(bestGap<0||bestOverlap<=0)return null;// Decide which adjacent slot wins by overlap, then snap to that slot edge.\nconst leftSlotL=bestGap*segment;const leftSlotR=leftSlotL+slotW;const rightSlotL=(bestGap+1)*segment;const rightSlotR=rightSlotL+slotW;const oLeft=Math.max(0,Math.min(thumbRight,leftSlotR)-Math.max(thumbLeft,leftSlotL));const oRight=Math.max(0,Math.min(thumbRight,rightSlotR)-Math.max(thumbLeft,rightSlotL));const snapLeftRaw=oLeft>=oRight?leftSlotR-baseThumbW:rightSlotL;const leftMax=Math.max(0,trackW-baseThumbW);const snapLeft=clamp(snapLeftRaw,0,leftMax);return snapLeft;},[itemCount,segGap,baseThumbW,maxScroll]);const startSnap=React.useCallback((from,to)=>{clickTargetRef.current=null;snapAnimRef.current={from,to,startMs:typeof performance!==\"undefined\"?performance.now():Date.now(),durMs:130};startRafIfNeededRef.current();},[]);const flushScrollLeftToState=React.useCallback(()=>{scrollStateRafRef.current=0;const v=pendingScrollLeftRef.current;if(v==null)return;setLayout(prev=>Math.abs(prev.scrollLeft-v)<SCROLL_STATE_EPS?prev:{...prev,scrollLeft:v});},[]);const queueScrollLeftState=React.useCallback(v=>{const next=Math.max(0,v);const curPending=pendingScrollLeftRef.current;if(curPending!=null&&Math.abs(curPending-next)<SCROLL_STATE_EPS)return;pendingScrollLeftRef.current=next;if(scrollStateRafRef.current)return;scrollStateRafRef.current=requestAnimationFrame(flushScrollLeftToState);},[flushScrollLeftToState]);// Dampen horizontal wheel/trackpad swipes so one gesture travels less distance.\nconst onViewportWheel=React.useCallback(e=>{const sc=scrollRef.current;if(!sc)return;// Only consume wheel when horizontal intent dominates.\nconst absX=Math.abs(e.deltaX);const absY=Math.abs(e.deltaY);if(absX<absY||absX<.01)return;const modeScale=e.deltaMode===1?16:e.deltaMode===2?Math.max(1,sc.clientWidth):1;const WHEEL_DAMPING=.25;const deltaPx=e.deltaX*modeScale*WHEEL_DAMPING;const next=clamp(sc.scrollLeft+deltaPx,0,Math.max(0,maxScrollRef.current));if(Math.abs(next-sc.scrollLeft)<.01)return;e.preventDefault();sc.scrollLeft=next;queueScrollLeftState(next);},[queueScrollLeftState]);// Measure + observe size changes (viewport/content/track).\nuseIsoLayoutEffect(()=>{const sc=scrollRef.current;const tr=trackRef.current;const ct=contentRef.current;if(!sc)return;let raf=0;const schedule=()=>{if(raf)cancelAnimationFrame(raf);raf=requestAnimationFrame(()=>{raf=0;measureNow();});};schedule();let ro=null;try{ro=new ResizeObserver(()=>schedule());ro.observe(sc);if(tr)ro.observe(tr);if(ct)ro.observe(ct);}catch{// ignore\n}const onScroll=()=>{const scrollLeft=Math.max(0,sc.scrollLeft);queueScrollLeftState(scrollLeft);};sc.addEventListener(\"scroll\",onScroll,{passive:true});const onResize=()=>schedule();window.addEventListener(\"resize\",onResize);return()=>{sc.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onResize);if(ro)ro.disconnect();if(raf)cancelAnimationFrame(raf);if(scrollStateRafRef.current){cancelAnimationFrame(scrollStateRafRef.current);scrollStateRafRef.current=0;}};},[measureNow,itemCount,queueScrollLeftState]);// Auto-scroll + click-to integrator (on-demand RAF).\nReact.useEffect(()=>{if(typeof window===\"undefined\")return;const clampNumber=(value,min,max)=>Math.max(min,Math.min(max,value));const canAutoScrollNow=()=>snapAnimRef.current==null&&clickTargetRef.current==null&&autoScrollRef.current&&!(hoverPauseRef.current&&hoverAnyRef.current)&&autoStartLatchedRef.current&&!draggingRef.current;const shouldRunRaf=()=>{if(!carouselScrollableRef.current)return false;if(snapAnimRef.current!=null)return true;if(clickTargetRef.current!=null)return true;if(canAutoScrollNow())return true;// Keep ticking briefly while waiting for auto-start latch stabilization.\nif(autoScrollRef.current&&!(hoverPauseRef.current&&hoverAnyRef.current)&&!draggingRef.current&&!autoStartLatchedRef.current){return true;}return false;};const tick=tMs=>{integratorRafRef.current=0;const sc=scrollRef.current;if(!sc||!carouselScrollableRef.current){integratorLastTRef.current=tMs;return;}const dtRaw=integratorLastTRef.current==null?0:(tMs-integratorLastTRef.current)/1e3;integratorLastTRef.current=tMs;const dt=clampNumber(dtRaw,0,.05);let resetLastT=false;if(dt>0){// Snap animation (used when releasing the thumb in a pill gap).\nconst snap=snapAnimRef.current;if(snap&&!draggingRef.current){const u=clampNumber((tMs-snap.startMs)/Math.max(1,snap.durMs),0,1);const ease=1-Math.pow(1-u,3)// easeOutCubic\n;const next=snap.from+(snap.to-snap.from)*ease;sc.scrollLeft=next;queueScrollLeftState(next);if(u>=1)snapAnimRef.current=null;}else{// Click-to target velocity (used for pill-slot clicks).\nlet clickVel=0;const clickTarget=clickTargetRef.current;if(clickTarget!=null){if(draggingRef.current){clickTargetRef.current=null;}else{const cur=sc.scrollLeft;const err=clickTarget-cur;const dir=err>=0?1:-1;const dist=Math.abs(err);if(dist<.75){// Snap to target and stop.\nclickTargetRef.current=null;sc.scrollLeft=clickTarget;queueScrollLeftState(clickTarget);}else{// Ease-out profile: fast when far, gentle near target.\nconst vBase=clampNumber(90*Math.sqrt(dist),140,1400);clickVel=dir*vBase;}}}// Base autoscroll velocity (px/s), paused on hover/drag and while click-bursting.\nconst max=maxScrollRef.current;if(!autoStartLatchedRef.current){const prevMax=maxScrollPrevForStartRef.current;if(prevMax==null||Math.abs(max-prevMax)>AUTO_START_MAX_EPS){maxScrollStableFramesRef.current=0;maxScrollPrevForStartRef.current=max;}else{maxScrollStableFramesRef.current+=1;}const autoStartReady=maxScrollStableFramesRef.current>=AUTO_START_STABLE_FRAMES;if(autoStartReady)autoStartLatchedRef.current=true;}const canAutoScroll=canAutoScrollNow();const baseVel=canAutoScroll?autoSpeedRef.current:0;const vel=baseVel*autoDirRef.current+clickVel;if(Math.abs(vel)<1e-4){if(!shouldRunRaf()){resetLastT=true;}}else{const cur=sc.scrollLeft;let next=cur+vel*dt;if(max<=0){if(cur!==0)sc.scrollLeft=0;}else{// Ping-pong autoscroll: reverse direction at ends (no looping jump).\nif(baseVel>0){if(next>=max){next=max;autoDirRef.current=-1;}else if(next<=0){next=0;autoDirRef.current=1;}}{// Clamp & prevent overshoot past click target.\nconst tgt=clickTargetRef.current;if(tgt!=null){if(cur<=tgt&&next>tgt)next=tgt;if(cur>=tgt&&next<tgt)next=tgt;}next=clampNumber(next,0,max);}sc.scrollLeft=next;queueScrollLeftState(next);}}}}if(resetLastT){integratorLastTRef.current=null;}if(shouldRunRaf()){startRafIfNeededRef.current();}};const startRafIfNeeded=()=>{if(integratorRafRef.current)return;if(!shouldRunRaf())return;integratorRafRef.current=window.requestAnimationFrame(tick);};startRafIfNeededRef.current=startRafIfNeeded;startRafIfNeeded();return()=>{startRafIfNeededRef.current=()=>{};if(integratorRafRef.current){window.cancelAnimationFrame(integratorRafRef.current);integratorRafRef.current=0;}integratorLastTRef.current=null;};},[queueScrollLeftState]);React.useEffect(()=>{startRafIfNeededRef.current();},[autoScroll,hoverPause,dragging,carouselScrollable,maxScroll]);// Keep thumb stable when maxScroll becomes 0.\nReact.useEffect(()=>{const sc=scrollRef.current;if(!sc)return;if(maxScroll<=0){if(sc.scrollLeft!==0)sc.scrollLeft=0;}},[maxScroll]);const scrollToProgress=React.useCallback(p=>{const sc=scrollRef.current;if(!sc)return;if(maxScroll<=0){if(sc.scrollLeft!==0)sc.scrollLeft=0;return;}const clamped=clamp(p,0,1);sc.scrollLeft=clamped*maxScroll;},[maxScroll]);const clickToProgress=React.useCallback(p=>{const sc=scrollRef.current;if(!sc)return;if(maxScroll<=0){if(sc.scrollLeft!==0)sc.scrollLeft=0;return;}const target=clamp(p,0,1)*maxScroll;clickTargetRef.current=target;startRafIfNeededRef.current();},[maxScroll]);const onTrackPointerDown=e=>{if(!sliderEnabled)return;// Let pills handle their own click behavior.\nif(e.target!==e.currentTarget)return;refreshHoverTrackMetrics();const tr=trackRef.current;if(!tr)return;const r=tr.getBoundingClientRect();const x=e.clientX-r.left;// Map click x (desired thumb center) -> clamped thumbLeft -> progress.\nconst desiredCenter=clamp(x,0,r.width);const left=clamp(desiredCenter-baseThumbW/2,0,Math.max(0,r.width-baseThumbW));const p=travel>1e-6?clamp(left/travel,0,1):0;scrollToProgress(p);};const updateHoverSlotFromClientX=React.useCallback(clientX=>{if(!sliderEnabled)return;const n=itemCount;if(n<=0)return;let{left:trackLeft,width:trackW}=hoverTrackMetricsRef.current;if(!(trackW>1e-6)){refreshHoverTrackMetrics();trackLeft=hoverTrackMetricsRef.current.left;trackW=hoverTrackMetricsRef.current.width;}if(!(trackW>1e-6)){trackW=layout.trackW;}if(!(trackW>1e-6))return;const g=Math.max(0,finiteOr(segGap,4));const totalGap=g*(n-1);const slotW=(trackW-totalGap)/n;if(!(slotW>1e-6))return;const segment=slotW+g;const localX=clamp(clientX-trackLeft,0,trackW);let next=clamp(Math.floor(localX/segment),0,n-1);const segStart=next*segment;const xInSeg=localX-segStart;if(xInSeg>slotW&&next<n-1){const leftCenter=segStart+slotW/2;const rightCenter=(next+1)*segment+slotW/2;next=Math.abs(localX-leftCenter)<=Math.abs(localX-rightCenter)?next:next+1;}setHoverSlot(prev=>prev===next?prev:next);},[sliderEnabled,itemCount,segGap,layout.trackW,refreshHoverTrackMetrics]);const onThumbPointerDown=e=>{if(!sliderEnabled)return;refreshHoverTrackMetrics();const tr=trackRef.current;if(!tr)return;try{e.currentTarget.setPointerCapture?.(e.pointerId);}catch{// ignore\n}setDragging(true);const r=tr.getBoundingClientRect();const x=e.clientX-r.left;dragState.current={pointerId:e.pointerId,startX:x,startCenterX:thumbRenderLeftPx};e.preventDefault();e.stopPropagation();};const onThumbPointerMove=e=>{if(!sliderEnabled)return;if(!dragging)return;const tr=trackRef.current;const ds=dragState.current;if(!tr||!ds)return;if(ds.pointerId!==e.pointerId)return;const r=tr.getBoundingClientRect();const x=e.clientX-r.left;const dx=x-ds.startX;const left=clamp(ds.startCenterX+dx,0,Math.max(0,r.width-baseThumbW));const p=travel>1e-6?clamp(left/travel,0,1):0;scrollToProgress(p);e.preventDefault();e.stopPropagation();};const endDrag=e=>{if(!dragging)return;setDragging(false);dragState.current=null;try{e.currentTarget.releasePointerCapture?.(e.pointerId);}catch{// ignore\n}e.preventDefault();e.stopPropagation();// If released in the gap between pill slots, \"suck\" into the nearest slot edge.\nif(!sliderEnabled)return;const sc=scrollRef.current;if(!sc)return;const tr=trackRef.current;if(!tr)return;const n=itemCount;if(n<=1)return;const curScroll=sc.scrollLeft;const trackW=Math.max(0,tr.getBoundingClientRect().width);const left=computeGapSnapTargetLeft(trackW,curScroll);if(left==null)return;const travelLocal=Math.max(0,trackW-baseThumbW);if(!(travelLocal>1e-6))return;const p=clamp(left/travelLocal,0,1);const targetScroll=p*maxScroll;if(Math.abs(targetScroll-curScroll)<=.5)return;startSnap(curScroll,targetScroll);};const outerStyle={...style,width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",gap:Math.max(0,finiteOr(controlsGap,12)),minWidth:1,minHeight:1,position:\"relative\"};const scrollStyle={flex:\"1 1 auto\",overflowX:\"auto\",overflowY:\"hidden\",WebkitOverflowScrolling:\"touch\",scrollbarWidth:\"none\",msOverflowStyle:\"none\",paddingLeft:pad.left,paddingRight:pad.right,paddingTop:pad.top,paddingBottom:pad.bottom};const rowStyle={display:\"flex\",flexDirection:\"row\",gap,// Do NOT stretch items (keeps each item's own height/size).\n// Instead, align within the viewport height.\nalignItems:verticalAlign===\"Top\"?\"flex-start\":verticalAlign===\"Bottom\"?\"flex-end\":\"center\",width:\"max-content\",minHeight:\"100%\"};const trackOuterStyle={// Keep visual track height slim, but make the hit area larger.\nheight:hitTrackH,position:\"relative\",userSelect:\"none\",touchAction:\"none\"};const slotsStyle={position:\"absolute\",left:0,right:0,top:\"50%\",transform:\"translateY(-50%)\",height:visualTrackH,display:\"flex\",gap:segGap,pointerEvents:sliderEnabled?\"auto\":\"none\",// With gaps, pills are separate; don't clip their corners.\noverflow:\"visible\",// Outer capsule should blend with thumb at the ends.\nborderTopLeftRadius:handleRadius,borderBottomLeftRadius:handleRadius,borderTopRightRadius:handleRadius,borderBottomRightRadius:handleRadius};const thumbHitStyle={position:\"absolute\",top:\"50%\",left:0,width:baseThumbW+HIT_PAD_PX*2,height:hitTrackH,transform:`translate3d(${thumbRenderLeftPx-HIT_PAD_PX}px, -50%, 0)`,background:\"transparent\",cursor:sliderEnabled?dragging?\"grabbing\":\"grab\":\"default\",pointerEvents:sliderEnabled?\"auto\":\"none\",zIndex:2,touchAction:\"none\"};// Keep thumb translation \"raw\" (no easing) so it matches scroll position exactly.\nconst thumbOuterStyle={position:\"absolute\",top:\"50%\",left:0,width:baseThumbW,height:baseThumbH,transform:`translate3d(${thumbRenderLeftPx}px, -50%, 0)`,willChange:\"transform\",pointerEvents:\"none\",zIndex:3,opacity:thumbOpacity};const thumbInnerStyle={width:\"100%\",height:\"100%\",borderRadius:handleRadius,background:sliderEnabled?thumb?.color??thumbColor??\"#2E2E2E\":\"rgba(255,255,255,0.32)\",transform:`scale(${thumbScale})`,transformOrigin:\"50% 50%\",boxShadow:sliderEnabled?thumbShadow:\"none\",transition:dragging?\"none\":\"transform 140ms ease, background 140ms ease\",willChange:\"transform\"};// Keep carousel item subtree stable during scroll updates to reduce main-thread churn/jitter.\nconst renderedItems=React.useMemo(()=>items.map((child,i)=>/*#__PURE__*/_jsx(\"div\",{style:{flex:\"0 0 auto\",flexShrink:0,display:\"block\"},children:child},child?.key??i)),[items]);return /*#__PURE__*/_jsxs(\"div\",{className:className,style:outerStyle,onPointerEnter:()=>setHoverAny(true),onPointerLeave:()=>setHoverAny(false),children:[/*#__PURE__*/_jsx(\"div\",{ref:scrollRef,className:\"framer-carousel-always-on-controls-hide-scrollbar\",style:scrollStyle,onWheel:onViewportWheel,children:/*#__PURE__*/_jsx(\"div\",{ref:contentRef,style:rowStyle,children:renderedItems})}),sliderVisible?/*#__PURE__*/_jsxs(\"div\",{ref:trackRef,style:trackOuterStyle,onPointerDown:onTrackPointerDown,onPointerEnter:()=>{refreshHoverTrackMetrics();setHoverRegion(true);},onPointerLeave:()=>{setHoverRegion(false);setHoverSlot(null);},onPointerMove:e=>{// Enlarge pill hover target vertically: any pointer within the track hitbox\n// highlights the nearest pill horizontally (even if between pills).\nupdateHoverSlotFromClientX(e.clientX);},children:[/*#__PURE__*/_jsx(\"div\",{style:slotsStyle,children:itemCount>0?new Array(itemCount).fill(0).map((_,i)=>{const isActive=i===activeIndex;const isHover=hoverSlot===i;const bg=isActive?segActive:isHover?segHover:segBg;const rTrack=segR;const rThumb=handleRadius;const isFirst=i===0;const isLast=i===itemCount-1;const tl=isFirst?rThumb:rTrack;const bl=isFirst?rThumb:rTrack;const tr=isLast?rThumb:rTrack;const br=isLast?rThumb:rTrack;return /*#__PURE__*/_jsx(\"div\",{onClick:()=>{if(!sliderEnabled)return;// Snap thumb to the center of this slot.\nconst n=Math.max(1,itemCount);const trackW=layout.trackW;const desiredCenter=(i+.5)/n*trackW;const left=clamp(desiredCenter-baseThumbW/2,0,Math.max(0,trackW-baseThumbW));const p=travel>1e-6?clamp(left/travel,0,1):0;clickToProgress(p);},style:{flex:\"1 1 0\",background:bg,transition:\"background 120ms ease\",borderTopLeftRadius:tl,borderBottomLeftRadius:bl,borderTopRightRadius:tr,borderBottomRightRadius:br}},i);}):null}),/*#__PURE__*/_jsx(\"div\",{style:thumbHitStyle,onPointerDown:onThumbPointerDown,onPointerMove:onThumbPointerMove,onPointerUp:endDrag,onPointerCancel:endDrag}),/*#__PURE__*/_jsx(\"div\",{role:\"slider\",\"aria-valuemin\":0,\"aria-valuemax\":1,\"aria-valuenow\":progress,style:thumbOuterStyle,children:/*#__PURE__*/_jsx(\"div\",{style:thumbInnerStyle})})]}):null,/*#__PURE__*/_jsx(\"style\",{children:`\n                .framer-carousel-always-on-controls-hide-scrollbar::-webkit-scrollbar { display: none; width: 0; height: 0; }\n            `})]});}addPropertyControls(CarouselWithSlider,{items:{type:ControlType.Array,title:\"Items\",description:\"Select frames from canvas to display inside the carousel.\",defaultValue:[],// Use an Array of ComponentInstance directly to get the native dropdown per row.\ncontrol:{type:ControlType.ComponentInstance,title:\"Layer\"}},autoScroll:{type:ControlType.Boolean,title:\"Auto Scroll\",description:\"Scrolls automatically.\",defaultValue:false},hoverPause:{type:ControlType.Boolean,title:\"Hover Pause\",enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Pause auto-scroll while hovering the carousel.\",defaultValue:false,hidden:p=>!p?.autoScroll},autoSpeed:{type:ControlType.Number,title:\"Speed\",description:\"Auto-scroll speed (px/s).\",min:15,max:600,step:1,defaultValue:50,hidden:p=>!p?.autoScroll},hideSlider:{type:ControlType.Boolean,title:\"Hide Slider\",description:\"On auto scroll, hide slider track.\",defaultValue:false,hidden:p=>!p?.autoScroll},gap:{type:ControlType.Number,title:\"H Gap\",description:\"Space between carousel items.\",min:0,max:64,step:1,defaultValue:24},controlsGap:{type:ControlType.Number,title:\"V Gap\",description:\"Space between carousel and slider track.\",min:0,max:80,step:1,defaultValue:20},padding:{type:ControlType.Object,title:\"Padding\",description:\"Inner padding on the carousel row.\",defaultValue:{left:0,right:0,top:0,bottom:0},controls:{left:{type:ControlType.Number,title:\"Left\",description:\"Left padding.\",min:0,max:128,step:1,defaultValue:0},right:{type:ControlType.Number,title:\"Right\",description:\"Right padding.\",min:0,max:128,step:1,defaultValue:0},top:{type:ControlType.Number,title:\"Top\",description:\"Top padding.\",min:0,max:128,step:1,defaultValue:0},bottom:{type:ControlType.Number,title:\"Bottom\",description:\"Bottom padding.\",min:0,max:128,step:1,defaultValue:0}}},verticalAlign:{type:ControlType.SegmentedEnum,title:\"Align\",description:\"Vertical alignment of items.\",options:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"Center\"},thumb:{type:ControlType.Object,title:\"Handle\",description:\"Drag handle size and style.\",hidden:p=>!!p?.autoScroll&&!!p?.hideSlider,defaultValue:{width:48,height:16,radius:999,hoverScale:1.2,color:\"#2E2E2E\",shadow:{x:0,y:0,blur:0,spread:0,color:\"rgba(0,0,0,0)\"}},controls:{width:{type:ControlType.Number,title:\"Width\",description:\"Handle width.\",min:8,max:200,step:1,defaultValue:48},height:{type:ControlType.Number,title:\"Height\",description:\"Handle height.\",min:8,max:200,step:1,defaultValue:16},radius:{type:ControlType.Number,title:\"Radius\",description:\"Corner radius.\",min:0,max:999,step:1,defaultValue:999},hoverScale:{type:ControlType.Number,title:\"Hover \\xd7\",description:\"1.2 means on hover, the handle size will increase by 1.2 times.\",min:1,max:3,step:.01,defaultValue:1.2},color:{type:ControlType.Color,title:\"Color\",description:\"Handle color.\",defaultValue:\"#2E2E2E\"},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",description:\"Adjust shadow styling.\",defaultValue:{x:0,y:0,blur:0,spread:0,color:\"rgba(0,0,0,0)\"}}}},segments:{type:ControlType.Object,title:\"Segments\",description:\"Styling of the segments on the slider track.\",hidden:p=>!!p?.autoScroll&&!!p?.hideSlider,defaultValue:{height:5,radius:0,gap:4,background:\"#E1E1E1\",onHover:\"#C6C6C6\",onActive:\"#AFAFAF\"},controls:{height:{type:ControlType.Number,title:\"Height\",description:\"Segment height.\",min:1,max:80,step:1,defaultValue:5},radius:{type:ControlType.Number,title:\"Radius\",description:\"Corner radius.\",min:0,max:999,step:1,defaultValue:0},gap:{type:ControlType.Number,title:\"Gap\",description:\"Space between segments.\",min:0,max:40,step:1,defaultValue:4},background:{type:ControlType.Color,title:\"Background\",description:\"Idle color.\",defaultValue:\"#E1E1E1\"},onHover:{type:ControlType.Color,title:\"On Hover\",description:\"Hover color.\",defaultValue:\"#C6C6C6\"},onActive:{type:ControlType.Color,title:\"On Active\",description:\"Active color.\",defaultValue:\"#AFAFAF\"}}}});export const defaultSize={width:800,height:320};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CarouselWithSlider\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"800\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"320\",\"framerContractVersion\":\"1\"}},\"defaultSize\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CarouselAlwaysOnControls.map"],"mappings":"8NAAyI,SAAS,EAAM,EAAE,EAAE,EAAE,CAAC,OAAO,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,EAAE,CAAC,CAAE,SAAS,EAAS,EAAE,EAAS,CAAC,IAAM,EAAE,OAAO,EAAE,CAAC,OAAO,OAAO,SAAS,EAAE,CAAC,EAAE,EAAU,SAAS,GAAe,EAAE,CACjT,GAAG,OAAOA,GAAI,SAAS,CAAC,IAAM,EAAE,KAAK,IAAI,EAAE,EAASA,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,CAAkL,MAAM,CAAC,KAA5K,KAAK,IAAI,EAAE,EAASA,GAAG,KAAK,EAAE,CAAC,CAAkJ,MAArI,KAAK,IAAI,EAAE,EAASA,GAAG,MAAM,EAAE,CAAC,CAA2G,IAAhG,KAAK,IAAI,EAAE,EAASA,GAAG,IAAI,EAAE,CAAC,CAAsE,OAAxD,KAAK,IAAI,EAAE,EAASA,GA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