{"version":3,"file":"Carousel_Controls.P-9tLR7s.mjs","names":["useState","useRef","Children","useCallback","_jsx","useRef","useState","useMemo","__esmMin","ne","j","init_npm_react_18_3_1","pe","le","z","window","_e","de","init_jsx_runtime","c","p","ce","init_ssg_sandbox_shims","motion","useReducedMotion","animate","useTransform","useMotionValue","init_framer_motion_DhsWWWsN","addPropertyControls","RenderTarget","init_framer_BL9pqxmF","ControlType","usePadding","paddingControl","resize","scroll","init_index_es$1","init_default_utils_js__0_45","clamp","init_index_es","t","e","calcMaskWidth","inset","width","useIsMouse","isMouseDevice","setIsMouseDevice","checkLimit","moreItems","progress","target","edgeOpacity","transition","buttonRef","useGUI","initialMoreItems","fadeOpacity","initialAlpha","buttonOpacity","v","pointerEvents","cursor","baseButtonStyles","setAriaVisible","element","useScrollLimits","container","stopScroll","info","axis","targetScroll","updateCurrentScroll","checkLimits","stopResize","measureItems","Carousel","props","numItems","slots","isCanvas","padding","axisLabel","fadeObject","snapObject","sizingObject","progressObject","arrowObject","scrollInfo","currentScroll","newScroll","start","fadeAlpha","end","startMaskInset","fadeInset","endMaskInset","baseWidth","fadeWidth","startMaskWidth","endMaskWidth","direction","mask","latest","carouselRef","numPages","setNumPages","itemStyle","snapEdge","childStyle","align","fluid","widthType","widthInset","widthColumns","gap","heightType","heightInset","heightRows","scrollOverflow","containerStyle","baseContainerStyle","carouselStyle","baseCarouselStyle","snap","fadeContent","carouselA11y","ariaLabel","itemA11y","itemSizes","current","targetLength","containerLength","fadeTransition","scrollLength","i","start1","end1","newNumPages","isReducedMotion","goto","scrollTo","options","gotoPage","page","gotoDelta","pageLength","currentPage","delta","Placeholder","dots","dotsBlurStyle","showProgressDots","showScrollbar","isSelected","Dot","dotStyle","dotSize","dotsFill","dotsActiveOpacity","dotsOpacity","dotsGap","dotsPadding","dotsBlur","index","child","controlsStyles","arrowPadding","showMouseControls","arrowFill","arrowSize","arrowRadius","leftArrow","rightArrow","dotsContainerStyle","dotsInset","dotsRadius","dotsBackground","MouseStyles","unselectedOpacity","opacity","selectedOpacity","total","minScroll","maxScroll","inlinePadding","top","bottom","right","left","buttonStyle","placeholderStyles","emojiStyles","titleStyles","subtitleStyles","init_Carousel","CarouselControls","isScrollContainerRef","isReady","setIsReady","canGoPrevious","setCanGoPrevious","canGoNext","setCanGoNext","isElementScrollable","el","mayScroll","overflow","overflowX","overflowY","isHorizontal","schedule","pendingFn","batched","fn","checkScrollState","max","queryOnce","name","selectedCarousel","syncState","q","s","qa","prevBtn","nextBtn","indicators","active","list","slideContainer","slides","updateForCarousel","observer","onScroll","clickOrKey","type","key","keyTarget","previousEnabled","nextEnabled","baseButtonStyle","size","border","enableHover","backgroundColor","borderRadius","disabledStyle","arrowStyle","arrowColor","layout","spacing","labelStyle","font","renderArrow","icon","kind","previousIcon","nextIcon","finalArrowColor","enabled","isHovered","hoverArrowColor","useCustomIcons","hoveredButton","setHoveredButton","getButtonStyle","buttonType","scale","hoverScale","bgColor","hoverBackgroundColor","borderColor","hoverBorderColor","buttonGroupStyle","prevButtonGroupStyle","style","showLabels","previousLabel","nextLabel","init_Carousel_Controls"],"sources":["https:/ga.jspm.io/npm:@motionone/utils@10.12.0/dist/index.es.js","https:/framerusercontent.com/modules/UIrMjSS6ZX89L0CsT8k6/w90zR0qzeh1mgaDSvD54/Carousel.js","https:/framerusercontent.com/modules/hGPQJT05JOnYq6dP3T7W/qQkUY4zT4XJAO27qnrud/Carousel_Controls.js"],"sourcesContent":["function addUniqueItem(t,e){-1===t.indexOf(e)&&t.push(e)}function removeItem(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const clamp=(t,e,n)=>Math.min(Math.max(n,t),e);const t={duration:.3,delay:0,endDelay:0,repeat:0,easing:\"ease\"};const isNumber=t=>\"number\"===typeof t;const isString=t=>\"string\"===typeof t;const isEasingGenerator=t=>\"object\"===typeof t&&Boolean(t.createAnimation);const isCubicBezier=t=>Array.isArray(t)&&isNumber(t[0]);const isEasingList=t=>Array.isArray(t)&&!isNumber(t[0]);const wrap=(t,e,n)=>{const o=e-t;return((n-t)%o+o)%o+t};function getEasingForSegment(t,e){return isEasingList(t)?t[wrap(0,t.length,e)]:t}const mix=(t,e,n)=>-n*t+n*e+t;const noop=()=>{};const noopReturn=t=>t;const progress=(t,e,n)=>e-t===0?1:(n-t)/(e-t);function fillOffset(t,e){const n=t[t.length-1];for(let o=1;o<=e;o++){const s=progress(0,e,o);t.push(mix(n,1,s))}}function defaultOffset(t){const e=[0];fillOffset(e,t-1);return e}function interpolate(t,e=defaultOffset(t.length),n=noopReturn){const o=t.length;const s=o-e.length;s>0&&fillOffset(e,s);return s=>{let r=0;for(;r<o-2;r++)if(s<e[r+1])break;let f=clamp(0,1,progress(e[r],e[r+1],s));const c=getEasingForSegment(n,r);f=c(f);return mix(t[r],t[r+1],f)}}const e={ms:t=>1e3*t,s:t=>t/1e3};\n/*\n  Convert velocity into velocity per second\n\n  @param [number]: Unit per frame\n  @param [number]: Frame duration in ms\n*/function velocityPerSecond(t,e){return e?t*(1e3/e):0}export{addUniqueItem,clamp,defaultOffset,t as defaults,fillOffset,getEasingForSegment,interpolate,isCubicBezier,isEasingGenerator,isEasingList,isNumber,isString,mix,noop,noopReturn,progress,removeItem,e as time,velocityPerSecond,wrap};\n\n//# sourceMappingURL=index.es.js.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Children,useCallback,useLayoutEffect,useEffect,useState,useRef,cloneElement}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{scroll,resize}from\"@motionone/dom\";import{clamp,progress}from\"@motionone/utils\";import{animate,motion,useMotionValue,useTransform,useReducedMotion}from\"framer-motion\";import{usePadding,paddingControl}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";/**\n * Calculate the width of the fade mask. Fade width and inset are provided\n * as percentages. There's a fade on the left and the right, so we return\n * a maximum of 50%.\n */ function calcMaskWidth([inset,width]){return inset+(100-inset)*(width/100)*.5;}/**\n * Use media queries to determine if this device uses a mouse as\n * the primary input.\n */ function useIsMouse(){const[isMouseDevice,setIsMouseDevice]=useState(false);useLayoutEffect(()=>{setIsMouseDevice(window.matchMedia(\"(pointer:fine)\").matches);},[]);return isMouseDevice;}/**\n * This checks a scroll position against the available scrollable\n * range. If we have hit an edge, start/end, we fade out the pagination\n * controls and mask. Likewise if we've just moved away from an edge we\n * fade them back in.\n */ function checkLimit(progress,target,{edgeOpacity,moreItems,buttonRef},transition){if(moreItems.current&&progress===target){moreItems.current=false;animate(edgeOpacity,1,transition);buttonRef.current.setAttribute(\"disabled\",\"\");}else if(!moreItems.current&&progress!==target){moreItems.current=true;animate(edgeOpacity,0,transition);buttonRef.current.removeAttribute(\"disabled\");}}function useGUI(initialMoreItems,initialAlpha){const moreItems=useRef(initialMoreItems);const edgeOpacity=useMotionValue(moreItems.current?0:1);const fadeOpacity=useTransform(edgeOpacity,[0,1],[initialAlpha||0,1]);const buttonOpacity=useTransform(edgeOpacity,v=>1-v);const buttonRef=useRef(null);/**\n     * Returns a pointer-events CSS value for a given opacity.\n     * The threshold here is arbitrary, the theory being we\n     * should only enable pointer-events when the button is\n     * somewhat visible.\n     */ const pointerEvents=useTransform(buttonOpacity,v=>v>.2?\"auto\":\"none\");/**\n     * Returns a cursor CSS value for a given pointer-events value.\n     * So only indicate\n     */ const cursor=useTransform(pointerEvents,v=>v===\"auto\"?\"pointer\":\"default\");const buttonStyle={...baseButtonStyles,opacity:buttonOpacity,pointerEvents,cursor};return{moreItems,fadeOpacity,edgeOpacity,buttonStyle,buttonRef};}function setAriaVisible({element}){element.setAttribute(\"aria-hidden\",false);}function useScrollLimits(container,axis,scrollInfo,updateCurrentScroll,targetScroll,checkLimits,measureItems){useEffect(()=>{if(!container.current)return;const updateScrollInfo=info=>{scrollInfo.current=info[axis];/**\n             * If we've reached our target scroll, delete it.\n             * This way we know when to make calculations based on the\n             * actual current scroll or the target scroll.\n             */ if(info[axis].current===targetScroll.current){targetScroll.current=undefined;}updateCurrentScroll(info[axis].current);checkLimits();};const stopScroll=scroll(updateScrollInfo,{container:container.current,axis});const stopResize=resize(container.current,()=>{measureItems();checkLimits();});return()=>{stopScroll();stopResize();};},[checkLimits,measureItems]);}/**\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */ export default function Carousel({slots,gap,axis,align,sizingObject,fadeObject,arrowObject,snapObject,progressObject,ariaLabel,borderRadius,effectsObject,...props}){const numItems=Children.count(slots);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const padding=usePadding(props);const axisLabel=axis?\"x\":\"y\";const{fadeContent,fadeWidth,fadeInset,fadeTransition,fadeAlpha}=fadeObject;const{snap,snapEdge,fluid}=snapObject;const{widthType,widthInset,widthColumns,heightType,heightInset,heightRows}=sizingObject;const{showScrollbar,showProgressDots,dotSize,dotsInset,dotsRadius,dotsPadding,dotsGap,dotsFill,dotsBackground,dotsActiveOpacity,dotsOpacity,dotsBlur}=progressObject;const{showMouseControls,arrowSize,arrowRadius,arrowFill,leftArrow,rightArrow,arrowPadding}=arrowObject;/**\n     * The latest scroll info on the scrollable axis as reported by Motion One.\n     */ const scrollInfo=useRef(undefined);/**\n     * The target scroll we're currently animating to, calculated when\n     * a user presses a pagination button.\n     */ const targetScroll=useRef(undefined);/**\n     * If we're performing a scroll animation, return the target scroll instead\n     * of the latest scroll position. This will help users paginate through\n     * a carousel much quicker.\n     */ const currentScroll=useMotionValue(0);const updateCurrentScroll=newScroll=>{currentScroll.set(targetScroll.current!==undefined?targetScroll.current:newScroll);};/**\n     * We only want to display pagination buttons if the user has enabled the setting\n     * and this is actually a mouse device.\n     */ const isMouseDevice=useIsMouse();/**\n     * Create all the motion values for the GUI at each end of the carousel.\n     */ const start=useGUI(false,fadeAlpha);const end=useGUI(true,fadeAlpha);const startMaskInset=useMotionValue(fadeInset*.5);const endMaskInset=useTransform(startMaskInset,v=>100-v);const baseWidth=useMotionValue(fadeWidth);const startMaskWidth=useTransform([startMaskInset,baseWidth],calcMaskWidth);const endMaskWidth=useTransform(startMaskWidth,v=>100-v);const direction=useMotionValue(axis?\"right\":\"bottom\");const mask=useTransform([direction,start.fadeOpacity,startMaskInset,startMaskWidth,end.fadeOpacity,endMaskInset,endMaskWidth,],latest=>{return`linear-gradient(to ${latest[0]}, rgb(0, 0, 0, ${latest[1]}) ${latest[2]}%, rgb(0, 0, 0, 1) ${latest[3]}%, rgba(0, 0, 0, 1) ${latest[6]}%, rgb(0, 0, 0, ${latest[4]}) ${latest[5]}%)`;});const carouselRef=useRef(null);/**\n     * Dots state\n     */ const[numPages,setNumPages]=useState(isCanvas?4:1);/**\n     * Generate styles for components.\n     */ const itemStyle={scrollSnapAlign:snapEdge,flexShrink:0};const childStyle={};if(align===\"stretch\"){if(axis){childStyle.height=\"100%\";itemStyle.height=\"auto\";}else{childStyle.width=\"100%\";itemStyle.width=\"auto\";}}if(!fluid){itemStyle.scrollSnapStop=\"always\";}if(widthType===\"stretch\"){itemStyle.width=`calc(100% - ${widthInset||0}px)`;childStyle.width=\"100%\";}else if(widthType===\"columns\"){itemStyle.width=`calc(${100/widthColumns}% - ${gap}px + ${gap/widthColumns}px)`;childStyle.width=\"100%\";}if(heightType===\"stretch\"){itemStyle.height=`calc(100% - ${heightInset||0}px)`;childStyle.height=\"100%\";}else if(heightType===\"rows\"){itemStyle.height=`calc(${100/heightRows}% - ${gap}px + ${gap/heightRows}px)`;childStyle.height=\"100%\";}const scrollOverflow=isCanvas?\"hidden\":\"auto\";const containerStyle={...baseContainerStyle,padding};const carouselStyle={...baseCarouselStyle,gap,alignItems:align,flexDirection:axis?\"row\":\"column\",overflowX:axis?scrollOverflow:\"hidden\",overflowY:axis?\"hidden\":scrollOverflow,scrollSnapType:snap?`${axisLabel} mandatory`:undefined,WebkitOverflowScrolling:\"touch\",WebkitMaskImage:fadeContent?mask:undefined,MozMaskImage:fadeContent?mask:undefined,maskImage:fadeContent?mask:undefined,borderRadius};const carouselA11y={[\"aria-roledescription\"]:\"carousel\"};if(ariaLabel){carouselA11y[\"aria-title\"]=ariaLabel;}const itemA11y={};if(align===\"stretch\"){itemA11y[\"aria-role\"]=\"group\";itemA11y[\"aria-roledescription\"]=\"slide\";}if(!isCanvas){const itemSizes=useRef([]);useScrollLimits(carouselRef,axisLabel,scrollInfo,updateCurrentScroll,targetScroll,useCallback(()=>{if(!scrollInfo.current)return;const{targetLength,containerLength,scrollLength}=scrollInfo.current;const current=currentScroll.get();if(!targetLength&&!containerLength)return;if(targetLength>containerLength){checkLimit(current,0,start,fadeTransition);checkLimit(current,scrollLength,end,fadeTransition);for(let i=0;i<itemSizes.current.length;i++){const{element,start:start1,end:end1}=itemSizes.current[i];if(end1<current||start1>current+containerLength){element.setAttribute(\"aria-hidden\",true);}else{element.setAttribute(\"aria-hidden\",false);}}}else{checkLimit(0,0,start,fadeTransition);checkLimit(1,1,end,fadeTransition);itemSizes.current.forEach(setAriaVisible);}// This used to be Math.ceil, which would round 3.05 to 4.\n// This now uses Math.round to ensure people get a perfect amount of dots\n// when using Columns or Rows — Benjamin\n/**\n                 * Update by Matt: changing back to ceil, might break dots but round was incorrectly\n                 * paginating for all widths - overshooting items at shorter viewports and\n                 * not paginating at all for wide.\n                 */ let newNumPages=Math.ceil(targetLength/containerLength);if(!isNaN(newNumPages)){// If the number of dots is 65% of the number of items, make it 100%\nif(newNumPages/numItems>.65)newNumPages=numItems;if(newNumPages!==numPages)setNumPages(newNumPages);}},[numPages]),useCallback(()=>{if(!carouselRef.current)return;itemSizes.current=Array.from(carouselRef.current.children).map(element=>{return axis?{element,start:element.offsetLeft,end:element.offsetLeft+element.offsetWidth}:{element,start:element.offsetTop,end:element.offsetTop+element.offsetHeight};});},[]));}/**\n     * On the canvas, we want to keep the motion values updated\n     * with the latest props. Outside of the canvas these will never\n     * update.\n     */ if(isCanvas){useEffect(()=>{baseWidth.set(fadeWidth);},[fadeWidth]);useEffect(()=>{startMaskInset.set(fadeInset*.5);},[fadeInset]);useEffect(()=>{direction.set(axis?\"right\":\"bottom\");},[axis]);}const findNextItem=(delta,target)=>{if(!scrollInfo.current)return;const{current}=scrollInfo.current;const{children}=carouselRef.current;let scrollTarget;let i=delta===1?0:children.length-1;while(scrollTarget===undefined){const item=children[i];const start=axis?item.offsetLeft:item.offsetTop;const length=axis?item.offsetWidth:item.offsetHeight;const end=start+length;const threshold=.05;if(delta===1){const visibility=progress(start,end,target);if(visibility<1-threshold){scrollTarget=start;}else if(i===children.length-1){scrollTarget=end;}}else if(delta===-1){const visibility1=progress(start,end,target);if(visibility1>threshold){scrollTarget=end;}else if(i===0){scrollTarget=start;}}i+=delta;}return scrollTarget;};const isReducedMotion=useReducedMotion();const goto=scrollTo=>{targetScroll.current=scrollTo;const options=axis?{left:scrollTo}:{top:scrollTo};carouselRef.current.scrollTo({...options,behavior:isReducedMotion?\"auto\":\"smooth\"});};const gotoPage=page=>{if(!scrollInfo.current)return;const{scrollLength}=scrollInfo.current;goto(page*(scrollLength/(numPages-1)));};const gotoDelta=delta=>()=>{if(!scrollInfo.current)return;const{containerLength,scrollLength}=scrollInfo.current;const current=currentScroll.get();const pageLength=scrollLength/numPages;const currentPage=clamp(0,numPages-1,Math.floor(current/pageLength));gotoPage(currentPage+delta);};/**\n     * Return placeholder if no children\n     */ if(numItems===0){return /*#__PURE__*/ _jsx(Placeholder,{});}const dots=[];const dotsBlurStyle={};if(numPages>1&&showProgressDots&&!showScrollbar){for(let i=0;i<numPages;i++){const isSelected=isCanvas&&!i||false;dots.push(/*#__PURE__*/ _jsx(Dot,{dotStyle:{...dotStyle,width:dotSize,height:dotSize,backgroundColor:dotsFill},buttonStyle:baseButtonStyles,isSelected:isSelected,selectedOpacity:dotsActiveOpacity,opacity:dotsOpacity,onClick:()=>gotoPage(i),currentScroll:currentScroll,scrollInfo:scrollInfo,total:numPages,index:i,gap:dotsGap,padding:dotsPadding,axis:axis}));}if(dotsBlur){dotsBlurStyle.backdropFilter=dotsBlurStyle.WebkitBackdropFilter=dotsBlurStyle.MozBackdropFilter=`blur(${dotsBlur}px)`;}}return /*#__PURE__*/ _jsxs(\"section\",{style:containerStyle,...carouselA11y,children:[/*#__PURE__*/ _jsx(motion.ul,{ref:carouselRef,style:carouselStyle,className:\"framer--carousel\",\"data-show-scrollbar\":showScrollbar,\"aria-atomic\":\"false\",\"aria-live\":\"polite\",onWheel:()=>targetScroll.current=undefined,children:Children.map(slots,(child,index)=>{var ref;/*#__PURE__*/ return _jsx(\"li\",{style:itemStyle,...itemA11y,\"aria-label\":`${index+1} of ${numItems}`,children:/*#__PURE__*/ cloneElement(child,{...child.props,style:{...(ref=child.props)===null||ref===void 0?void 0:ref.style,...childStyle}})});})}),/*#__PURE__*/ _jsxs(\"fieldset\",{style:{...controlsStyles,padding:arrowPadding,display:\"flex\",flexDirection:axis?\"row\":\"column\"},\"aria-label\":\"Carousel pagination controls\",className:\"framer--carousel-controls\",\"data-show-mouse-controls\":showMouseControls,children:[/*#__PURE__*/ _jsx(motion.button,{ref:start.buttonRef,type:\"button\",style:{...start.buttonStyle,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!axis?90:0,display:showMouseControls?\"block\":\"none\"},onClick:gotoDelta(-1),\"aria-label\":\"Previous\",whileTap:{scale:.9},transition:{duration:.05},children:/*#__PURE__*/ _jsx(\"img\",{alt:\"\",width:arrowSize,height:arrowSize,src:leftArrow||\"https://framerusercontent.com/images/6tTbkXggWgQCAJ4DO2QEdXXmgM.svg\"})}),/*#__PURE__*/ _jsx(motion.button,{ref:end.buttonRef,type:\"button\",style:{...end.buttonStyle,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!axis?90:0,display:showMouseControls?\"block\":\"none\"},onClick:gotoDelta(1),\"aria-label\":\"Next\",whileTap:{scale:.9},transition:{duration:.05},children:/*#__PURE__*/ _jsx(\"img\",{alt:\"\",width:arrowSize,height:arrowSize,src:rightArrow||\"https://framerusercontent.com/images/11KSGbIZoRSg4pjdnUoif6MKHI.svg\"})}),dots.length>1?/*#__PURE__*/ _jsx(\"div\",{style:{...dotsContainerStyle,left:axis?\"50%\":dotsInset,top:!axis?\"50%\":\"unset\",transform:axis?\"translateX(-50%)\":\"translateY(-50%)\",flexDirection:axis?\"row\":\"column\",bottom:axis?dotsInset:\"unset\",borderRadius:dotsRadius,backgroundColor:dotsBackground,...dotsBlurStyle},children:dots}):null]}),/*#__PURE__*/ _jsx(MouseStyles,{})]});};/* Default Properties */ Carousel.defaultProps={gap:10,padding:10,progressObject:{showScrollbar:false,showProgressDots:false},sizingObject:{widthType:\"auto\",widthOffset:0,widthColumns:2,heightType:\"auto\",heightOffset:0,heightRows:2},borderRadius:0};/* Property Controls */ addPropertyControls(Carousel,{slots:{type:ControlType.Array,title:\"Children\",control:{type:ControlType.ComponentInstance}},axis:{type:ControlType.Enum,title:\"Direction\",options:[true,false],optionIcons:[\"direction-horizontal\",\"direction-vertical\"],displaySegmentedControl:true},align:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionIcons:{axis:{true:[\"align-top\",\"align-middle\",\"align-bottom\"],false:[\"align-left\",\"align-center\",\"align-right\"]}},defaultValue:\"center\",displaySegmentedControl:true},gap:{type:ControlType.Number,title:\"Gap\"},...paddingControl,sizingObject:{type:ControlType.Object,title:\"Sizing\",controls:{widthType:{type:ControlType.Enum,title:\"Width\",options:[\"auto\",\"stretch\",\"columns\"],optionTitles:[\"Auto\",\"Stretch\",\"Columns\"],defaultValue:\"auto\"},widthInset:{type:ControlType.Number,title:\"Inset\",min:0,max:500,defaultValue:0,hidden:props=>props.widthType!==\"stretch\"},widthColumns:{type:ControlType.Number,title:\"Columns\",min:1,max:10,defaultValue:2,displayStepper:true,hidden:props=>props.widthType!==\"columns\"},heightType:{type:ControlType.Enum,title:\"Height\",options:[\"auto\",\"stretch\",\"rows\"],optionTitles:[\"Auto\",\"Stretch\",\"Rows\"],defaultValue:\"auto\"},heightInset:{type:ControlType.Number,title:\"Inset\",min:0,max:500,defaultValue:0,hidden:props=>props.heightType!==\"stretch\"},heightRows:{type:ControlType.Number,title:\"Rows\",min:1,max:10,defaultValue:2,displayStepper:true,hidden:props=>props.heightType!==\"rows\"}}},snapObject:{type:ControlType.Object,title:\"Snapping\",controls:{snap:{type:ControlType.Boolean,title:\"Enable\"},snapEdge:{type:ControlType.Enum,title:\"Edge\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",hidden:props=>!props.snap},fluid:{type:ControlType.Boolean,title:\"Fluid\",defaultValue:false,hidden:props=>!props.snap}}},fadeObject:{type:ControlType.Object,title:\"Fading\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Enable\",defaultValue:false},fadeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:25,min:0,max:100,unit:\"%\",hidden:props=>!props.fadeContent},fadeInset:{type:ControlType.Number,title:\"Inset\",defaultValue:0,min:0,max:100,unit:\"%\",hidden:props=>!props.fadeContent},fadeAlpha:{type:ControlType.Number,title:\"Opacity\",hidden:props=>!props.fadeContent,min:0,max:1,step:.05,defaultValue:0},fadeTransition:{type:ControlType.Transition,title:\"Transition\",hidden:props=>!props.fadeContent}}},progressObject:{type:ControlType.Object,title:\"Progress\",controls:{showScrollbar:{type:ControlType.Boolean,title:\"Scroll Bar\",defaultValue:false},showProgressDots:{type:ControlType.Boolean,title:\"Dots\",defaultValue:false,hidden:props=>props.showScrollbar},dotSize:{type:ControlType.Number,title:\"Size\",min:1,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsInset:{type:ControlType.Number,title:\"Inset\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsPadding:{type:ControlType.Number,title:\"Padding\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsFill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#fff\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBackground:{type:ControlType.Color,title:\"Backdrop\",defaultValue:\"rgba(0,0,0,0.2)\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:200,defaultValue:50,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsOpacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,defaultValue:.5,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsActiveOpacity:{type:ControlType.Number,title:\"Current\",min:0,max:1,defaultValue:1,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBlur:{type:ControlType.Number,title:\"Blur\",min:0,max:50,defaultValue:4,step:1,hidden:props=>!props.showProgressDots||props.showScrollbar}}},arrowObject:{type:ControlType.Object,title:\"Arrows\",controls:{showMouseControls:{type:ControlType.Boolean,title:\"Show\",defaultValue:true},arrowFill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"rgba(0,0,0,0.2)\",hidden:props=>!props.showMouseControls},leftArrow:{type:ControlType.Image,title:\"Previous\",hidden:props=>!props.showMouseControls},rightArrow:{type:ControlType.Image,title:\"Next\",hidden:props=>!props.showMouseControls},arrowSize:{type:ControlType.Number,title:\"Size\",min:0,max:200,displayStepper:true,defaultValue:40,hidden:props=>!props.showMouseControls},arrowRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,defaultValue:40,hidden:props=>!props.showMouseControls},arrowPadding:{type:ControlType.Number,title:\"Inset\",min:0,max:100,defaultValue:20,displayStepper:true,hidden:props=>!props.showMouseControls}}},ariaLabel:{type:ControlType.String,title:\"Aria Label\",placeholder:\"Movies...\"},borderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,displayStepper:true,defaultValue:0}});function Dot({currentScroll,scrollInfo,isSelected,selectedOpacity,opacity:unselectedOpacity,total,index,dotStyle,buttonStyle,gap,padding,axis,...props}){const opacity=useTransform(currentScroll,v=>{var ref,ref1;if(!((ref=scrollInfo.current)===null||ref===void 0?void 0:ref.scrollLength)){return index===0?selectedOpacity:unselectedOpacity;}const pageLength=((ref1=scrollInfo.current)===null||ref1===void 0?void 0:ref1.scrollLength)/total;const minScroll=pageLength*index;const maxScroll=minScroll+pageLength;const isSelected=v>=minScroll&&(index<total-1?v<maxScroll:index===total-1);return isSelected?selectedOpacity:unselectedOpacity;});const inlinePadding=gap/2;let top=!axis&&index>0?inlinePadding:padding;let bottom=!axis&&index!==total-1?inlinePadding:padding;let right=axis&&index!==total-1?inlinePadding:padding;let left=axis&&index>0?inlinePadding:padding;return /*#__PURE__*/ _jsx(\"button\",{\"aria-label\":`Scroll to page ${index+1}`,type:\"button\",...props,style:{...buttonStyle,padding:`${top}px ${right}px ${bottom}px ${left}px`},children:/*#__PURE__*/ _jsx(motion.div,{style:{...dotStyle,opacity}})});}function Placeholder(){return /*#__PURE__*/ _jsxs(\"section\",{style:placeholderStyles,children:[/*#__PURE__*/ _jsx(\"div\",{style:emojiStyles,children:\"✨\"}),/*#__PURE__*/ _jsx(\"p\",{style:titleStyles,children:\"Connect to Content\"}),/*#__PURE__*/ _jsx(\"p\",{style:subtitleStyles,children:\"Add layers or components to swipe between.\"})]});}function MouseStyles(){return /*#__PURE__*/ _jsx(\"div\",{dangerouslySetInnerHTML:{__html:`<style>@media (pointer: fine) {\n                .framer--carousel[data-show-scrollbar=\"false\"]::-webkit-scrollbar {\n                    display: none;\n                    -webkit-appearance: none;\n                    width: 0;\n                    height: 0;\n                }\n\n                .framer--carousel[data-show-scrollbar=\"false\"]::-webkit-scrollbar-thumb {\n                    display: none;\n                }\n\n                .framer--carousel[data-show-scrollbar=\"false\"] {\n                    scrollbar-width: none;\n                    scrollbar-height: none;\n                }\n            }</style>`}});}/* Styles */ const placeholderStyles={display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",color:\"#96F\",background:\"rgba(136, 85, 255, 0.1)\",fontSize:11,overflow:\"hidden\",padding:\"20px 20px 30px 20px\"};const emojiStyles={fontSize:32,marginBottom:10};const titleStyles={margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"};const subtitleStyles={margin:0,opacity:.7,maxWidth:130,lineHeight:1.5,textAlign:\"center\"};const labelStyle={clip:\"rect(0 0 0 0)\",WebkitClipPath:\"inset(50%)\",clipPath:\"inset(50%)\",height:1,width:1,margin:-1,padding:0,overflow:\"hidden\",position:\"absolute\",whiteSpace:\"nowrap\"};/**\n * GUI styles\n */ const baseContainerStyle={display:\"flex\",overflow:\"hidden\",width:\"100%\",height:\"100%\",position:\"relative\"};const baseCarouselStyle={padding:0,margin:0,listStyle:\"none\",position:\"relative\",display:\"flex\",flex:\"1 1 100%\",width:\"100%\",height:\"100%\"};const baseButtonStyles={border:\"none\",display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",background:\"transparent\",cursor:\"pointer\",margin:0,padding:0};const controlsStyles={display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",position:\"absolute\",top:0,left:0,right:0,bottom:0,pointerEvents:\"none\",border:0,padding:0,margin:0};/**\n * Dot styles\n */ const dotsContainerStyle={display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",position:\"absolute\",pointerEvents:\"auto\"};const dotStyle={borderRadius:\"50%\",background:\"white\",cursor:\"pointer\",border:\"none\",placeContent:\"center\",placeItems:\"center\",padding:0};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Carousel\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"200\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"*\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Carousel.map","// Arrow controls for carousels and scroll containers\n// Optimized for Framer code components: fewer DOM queries, stable callbacks,\n// passive event listeners, rAF-batched state updates, and smaller bundle surface.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useLayoutEffect,useMemo,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function CarouselControls(props){const{direction=\"horizontal\",arrowColor=\"#000000\",backgroundColor=\"#F5F5F5\",borderRadius=8,border={borderWidth:0,borderStyle:\"solid\",borderColor:\"#000000\"},size=40,arrowSize=16,spacing=12,layout=\"flex-start\",selectedCarousel=\"\",showLabels=false,previousLabel=\"Previous\",nextLabel=\"Next\",font,useCustomIcons=false,previousIcon=\"\",nextIcon=\"\",enableHover=true,hoverScale=1.05,hoverBackgroundColor,hoverArrowColor,hoverBorderColor,style}=props;const carouselRef=useRef(null);const isScrollContainerRef=useRef(false);// `isReady` is real state (not a ref) so button enabled/disabled always\n// reflects whether we actually have a live carousel element. Previously\n// !!carouselRef.current was evaluated at render time from a ref that could\n// be null even after the layout effect ran, making buttons appear clickable\n// while clickOrKey silently returned early.\nconst[isReady,setIsReady]=useState(false);const[canGoPrevious,setCanGoPrevious]=useState(false);const[canGoNext,setCanGoNext]=useState(true);// FIX #1: Use getComputedStyle instead of el.style so CSS-class-applied\n// overflow values are detected, not just inline styles.\nconst isElementScrollable=el=>{if(!el)return false;const computed=getComputedStyle(el);const{overflow,overflowX,overflowY}=computed;const mayScroll=v=>v===\"scroll\"||v===\"auto\";if(!(mayScroll(overflow)||mayScroll(overflowX)||mayScroll(overflowY)))return false;return el.scrollWidth>el.clientWidth||el.scrollHeight>el.clientHeight;};const isHorizontal=direction===\"horizontal\";// FIX #2: Track the pending function separately so rapid batched() calls\n// always execute the *latest* fn rather than silently dropping updates.\nconst schedule=useRef(null);const pendingFn=useRef(null);const batched=fn=>{pendingFn.current=fn;if(schedule.current!=null)return;schedule.current=requestAnimationFrame(()=>{schedule.current=null;pendingFn.current?.();pendingFn.current=null;});};// FIX #4: Cancel any pending rAF on unmount to prevent state updates on\n// an unmounted component.\nuseEffect(()=>{return()=>{if(schedule.current!=null){cancelAnimationFrame(schedule.current);}};},[]);const checkScrollState=container=>{if(!container){setCanGoPrevious(false);setCanGoNext(false);return;}if(isHorizontal){const left=container.scrollLeft;const max=container.scrollWidth-container.clientWidth;setCanGoPrevious(left>1);setCanGoNext(left<max-1);}else{const top=container.scrollTop;const max=container.scrollHeight-container.clientHeight;setCanGoPrevious(top>1);setCanGoNext(top<max-1);}};const queryOnce=()=>{if(typeof window===\"undefined\")return null;const name=selectedCarousel?.trim();if(!name)return null;// Prioritize exact data-framer-name match\nconst named=document.querySelector(`[data-framer-name=\"${CSS.escape(name)}\"]`);if(named)return named;// Fallbacks: class contains, role/aria-label contains\nconst byClass=Array.from(document.querySelectorAll('[class*=\"carousel\" i]')).find(el=>el.className.toLowerCase().includes(name.toLowerCase()));if(byClass)return byClass;const byLabel=Array.from(document.querySelectorAll('[role*=\"carousel\" i], [aria-label*=\"carousel\" i]')).find(el=>(el.getAttribute(\"aria-label\")||el.getAttribute(\"role\")||\"\").toLowerCase().includes(name.toLowerCase()));return byLabel||null;};// Read-only state sync — never touches carouselRef.current.\n// Safe to call from async contexts (observer callbacks, setTimeout).\nconst syncState=el=>{if(isScrollContainerRef.current){checkScrollState(el);return;}const q=s=>el.querySelector(s);const qa=s=>el.querySelectorAll(s);// Priority 1 — explicit prev/next buttons with disabled state.\n// If found, these are the ground truth; return immediately so\n// indicator/slide logic doesn't overwrite with stale data.\nconst prevBtn=q('[aria-label*=\"previous\" i], .carousel-prev, .prev');const nextBtn=q('[aria-label*=\"next\" i], .carousel-next, .next');if(prevBtn&&nextBtn){setCanGoPrevious(!prevBtn.disabled&&!prevBtn.hasAttribute(\"aria-disabled\"));setCanGoNext(!nextBtn.disabled&&!nextBtn.hasAttribute(\"aria-disabled\"));return;}// Priority 2 — indicator tabs/dots.\nconst indicators=qa('[role=\"tab\"], .carousel-indicator, .slide-indicator');if(indicators.length){const active=el.querySelector('[role=\"tab\"][aria-selected=\"true\"], .carousel-indicator.active, .slide-indicator.active');if(active){const list=Array.from(indicators);const i=list.indexOf(active);setCanGoPrevious(i>0);setCanGoNext(i<list.length-1);return;}// Indicators exist but none is marked active — don't leave state\n// stale; enable both so the user isn't stuck.\nsetCanGoPrevious(true);setCanGoNext(true);return;}// Priority 3 — active slide inside a slide container.\nconst slideContainer=q('.carousel-inner, .slides-container, [data-framer-name*=\"slide\" i]');if(slideContainer){const slides=Array.from(slideContainer.children);const active=slideContainer.querySelector('.active, .current, [aria-current=\"true\"]');if(active){const i=slides.indexOf(active);setCanGoPrevious(i>0);setCanGoNext(i<slides.length-1);return;}}// Fallback — couldn't determine position; enable both directions.\nsetCanGoPrevious(true);setCanGoNext(true);};// Initialise the ref and scroll-container flag ONCE per carousel/direction\n// change. Never called from async paths so the ref assignment is always stable.\nconst updateForCarousel=el=>{carouselRef.current=el;isScrollContainerRef.current=isElementScrollable(el);if(!el){setIsReady(false);setCanGoPrevious(false);setCanGoNext(false);return;}setIsReady(true);syncState(el);};// Observe DOM mutations around the selected carousel with minimal cost\nuseLayoutEffect(()=>{const el=queryOnce();updateForCarousel(el);if(!el)return;// Observer only calls syncState — never touches the ref.\nconst observer=new MutationObserver(()=>{batched(()=>syncState(el));});observer.observe(el,{subtree:true,childList:true,attributes:true,attributeFilter:[\"class\",\"data-framer-name\",\"role\",\"aria-label\",\"aria-selected\",\"aria-current\",\"disabled\",\"aria-disabled\"]});return()=>observer.disconnect();// eslint-disable-next-line react-hooks/exhaustive-deps\n},[selectedCarousel,direction]);// FIX #3: Depend on selectedCarousel/direction (stable values) instead of\n// carouselRef.current (a mutable ref value React cannot track). Re-read\n// carouselRef.current fresh inside the effect so it always reflects the\n// element resolved by the layout effect above.\nuseEffect(()=>{const el=carouselRef.current;if(!el||!isScrollContainerRef.current)return;const onScroll=()=>batched(()=>checkScrollState(el));el.addEventListener(\"scroll\",onScroll,{passive:true});checkScrollState(el);return()=>el.removeEventListener(\"scroll\",onScroll);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[selectedCarousel,direction]);const clickOrKey=type=>{// Capture at call time — immune to any re-render that happens\n// between now and the async syncState callback below.\nconst el=carouselRef.current;if(!el)return;if(isScrollContainerRef.current){const delta=(isHorizontal?el.clientWidth:el.clientHeight)*.8*(type===\"prev\"?-1:1);if(isHorizontal)el.scrollBy({left:delta,behavior:\"smooth\"});else el.scrollBy({top:delta,behavior:\"smooth\"});return;}const target=el.querySelector(type===\"prev\"?'[aria-label*=\"previous\" i], .carousel-prev, .prev':'[aria-label*=\"next\" i], .carousel-next, .next');if(target){target.click();// Use syncState (not updateForCarousel) so the ref is never\n// reassigned from an async context.\nsetTimeout(()=>syncState(el),80);return;}// Keyboard fallback — dispatch on the carousel root itself, NOT on\n// querySelector's first focusable child. That first child is almost\n// always a nav indicator dot (e.g. card 1's tab/button), so dispatching\n// ArrowRight to it either does nothing or jumps to the wrong card.\n// Framer's carousel root handles arrow-key events directly when focused.\nconst key=isHorizontal?type===\"prev\"?\"ArrowLeft\":\"ArrowRight\":type===\"prev\"?\"ArrowUp\":\"ArrowDown\";// 1. Try the currently active/current slide — it's the natural keyboard\n//    focus target inside the carousel and will bubble up correctly.\nconst activeSlide=el.querySelector('.active, .current, [aria-current=\"true\"], [aria-selected=\"true\"]');const keyTarget=activeSlide??el;keyTarget.focus({preventScroll:true});keyTarget.dispatchEvent(new KeyboardEvent(\"keydown\",{key,bubbles:true,cancelable:true}));// 2. Also dispatch on the root in case the carousel listens there\n//    (Framer's built-in carousel does).\nif(keyTarget!==el){el.dispatchEvent(new KeyboardEvent(\"keydown\",{key,bubbles:false,cancelable:true}));}setTimeout(()=>syncState(el),80);};const previousEnabled=isReady&&canGoPrevious;const nextEnabled=isReady&&canGoNext;const baseButtonStyle=useMemo(()=>({width:size,height:size,backgroundColor,border:border.borderWidth>0?`${border.borderWidth}px ${border.borderStyle} ${border.borderColor}`:\"none\",borderRadius,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:enableHover?\"transform .18s cubic-bezier(.4,0,.2,1), opacity .18s, background-color .18s, border-color .18s\":\"opacity .18s\",willChange:enableHover?\"transform\":undefined,userSelect:\"none\",cursor:\"pointer\",transform:\"scale(1)\",transformOrigin:\"center\"}),[size,backgroundColor,borderRadius,border,enableHover]);const disabledStyle={opacity:.4,cursor:\"not-allowed\"};const arrowStyle=useMemo(()=>({width:arrowSize,height:arrowSize,fill:\"none\",stroke:arrowColor,strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",transition:\"stroke .18s\"}),[arrowSize,arrowColor]);// FIX #5: Remove `style` from the memo dependency array — it's an object\n// reference that changes every render, defeating memoization. The style\n// prop is spread onto the container in JSX anyway, so it doesn't belong here.\nconst containerStyle=useMemo(()=>({display:\"flex\",alignItems:\"center\",justifyContent:layout,gap:spacing,flexDirection:isHorizontal?\"row\":\"column\",width:\"100%\",height:\"100%\"}),[spacing,isHorizontal,layout]);const labelStyle=useMemo(()=>({...font||{},color:arrowColor,margin:0,userSelect:\"none\"}),[font,arrowColor]);const renderArrow=(kind,enabled,isHovered=false)=>{const icon=kind===\"prev\"?previousIcon:nextIcon;const currentArrowColor=isHovered&&hoverArrowColor?hoverArrowColor:arrowColor;const finalArrowColor=enabled?currentArrowColor:\"#999999\";if(useCustomIcons&&icon){return /*#__PURE__*/_jsx(\"img\",{src:icon,alt:kind===\"prev\"?\"previous\":\"next\",style:{width:size*.5,height:size*.5,objectFit:\"contain\",opacity:enabled?1:.4,transition:\"opacity .18s\"}});}return /*#__PURE__*/_jsx(\"svg\",{style:{...arrowStyle,stroke:finalArrowColor,transition:\"stroke .18s\"},viewBox:\"0 0 24 24\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:kind===\"prev\"?\"M15 18l-6-6 6-6\":\"M9 18l6-6-6-6\"})});};const[hoveredButton,setHoveredButton]=useState(null);const getButtonStyle=(enabled,buttonType)=>{const isHovered=enableHover&&hoveredButton===buttonType&&enabled;const scale=isHovered?hoverScale:1;const bgColor=isHovered&&hoverBackgroundColor?hoverBackgroundColor:backgroundColor;const borderColor=isHovered&&hoverBorderColor&&border.borderWidth>0?hoverBorderColor:border.borderColor;return{...baseButtonStyle,...enabled?{}:disabledStyle,transform:`scale(${scale})`,backgroundColor:bgColor,border:border.borderWidth>0?`${border.borderWidth}px ${border.borderStyle} ${borderColor}`:\"none\"};};const buttonGroupStyle=useMemo(()=>({display:\"flex\",alignItems:\"center\",gap:8,// FIX #6: Align label placement consistently for both buttons.\n    // Previous: label comes BEFORE the button (← Previous)\n    // Next:     label comes AFTER the button  (Next →)\n    // Use row-reverse for the prev group so the label sits left of the button\n    // without changing the underlying DOM order for accessibility.\n    flexDirection:isHorizontal?\"row\":\"column\",overflow:\"visible\"}),[isHorizontal]);// Separate group style for the previous button so we can reverse label order\nconst prevButtonGroupStyle=useMemo(()=>({...buttonGroupStyle,flexDirection:isHorizontal?\"row-reverse\":\"column-reverse\"}),[buttonGroupStyle,isHorizontal]);return /*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,...style,overflow:\"visible\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:prevButtonGroupStyle,children:[/*#__PURE__*/_jsx(\"button\",{style:getButtonStyle(previousEnabled,\"prev\"),onClick:()=>clickOrKey(\"prev\"),disabled:!previousEnabled,\"aria-label\":\"Previous\",onMouseEnter:()=>enableHover&&setHoveredButton(\"prev\"),onMouseLeave:()=>enableHover&&setHoveredButton(null),children:renderArrow(\"prev\",previousEnabled,hoveredButton===\"prev\")}),showLabels&&/*#__PURE__*/_jsx(\"span\",{style:labelStyle,children:previousLabel})]}),/*#__PURE__*/_jsxs(\"div\",{style:buttonGroupStyle,children:[/*#__PURE__*/_jsx(\"button\",{style:getButtonStyle(nextEnabled,\"next\"),onClick:()=>clickOrKey(\"next\"),disabled:!nextEnabled,\"aria-label\":\"Next\",onMouseEnter:()=>enableHover&&setHoveredButton(\"next\"),onMouseLeave:()=>enableHover&&setHoveredButton(null),children:renderArrow(\"next\",nextEnabled,hoveredButton===\"next\")}),showLabels&&/*#__PURE__*/_jsx(\"span\",{style:labelStyle,children:nextLabel})]})]});}addPropertyControls(CarouselControls,{selectedCarousel:{type:ControlType.String,title:\"Select Carousel\",defaultValue:\"\",placeholder:\"Enter carousel name...\"},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"↔\",\"↕\"],defaultValue:\"horizontal\",displaySegmentedControl:true},size:{type:ControlType.Number,title:\"Button Size\",defaultValue:40,min:24,max:80,step:4,unit:\"px\"},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",defaultValue:16,min:8,max:40,step:1,unit:\"px\",hidden:({useCustomIcons})=>useCustomIcons},spacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:12,min:0,max:40,step:2,unit:\"px\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],defaultValue:\"flex-start\"},useCustomIcons:{type:ControlType.Boolean,title:\"Custom Icons\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Default\"},previousIcon:{type:ControlType.File,title:\"Previous Icon\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\",\"svg\"],hidden:({useCustomIcons})=>!useCustomIcons},nextIcon:{type:ControlType.File,title:\"Next Icon\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\",\"svg\"],hidden:({useCustomIcons})=>!useCustomIcons},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#000000\",hidden:({useCustomIcons})=>useCustomIcons},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#F5F5F5\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,step:1,unit:\"px\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.5)\"}},enableHover:{type:ControlType.Boolean,title:\"Hover Effects\",defaultValue:true,enabledTitle:\"Enabled\",disabledTitle:\"Disabled\"},hoverScale:{type:ControlType.Number,title:\"Hover Scale\",defaultValue:1.05,min:1,max:1.5,step:.01,displayStepper:true,hidden:({enableHover})=>!enableHover},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"\",hidden:({enableHover})=>!enableHover},hoverArrowColor:{type:ControlType.Color,title:\"Hover Arrow Color\",defaultValue:\"\",hidden:({enableHover,useCustomIcons})=>!enableHover||useCustomIcons},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"\",hidden:({enableHover,border})=>!enableHover||border.borderWidth===0},showLabels:{type:ControlType.Boolean,title:\"Show Labels\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},previousLabel:{type:ControlType.String,title:\"Previous Label\",defaultValue:\"Previous\",hidden:({showLabels})=>!showLabels},nextLabel:{type:ControlType.String,title:\"Next Label\",defaultValue:\"Next\",hidden:({showLabels})=>!showLabels},font:{type:ControlType.Font,title:\"Label Font\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({showLabels})=>!showLabels}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CarouselControls\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMapping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