{"version":3,"file":"StackingSlider.D20bVd9Y.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image","Children","useState","useRef"],"sources":["https:/framerusercontent.com/modules/HnY6d9tEldzir8x86bQn/UGdkQ9Lb3bFV94imAAVB/it1fV5u9d.js","https:/framerusercontent.com/modules/EoIhnhYqhxHNTvRyd2j1/IzQqa9Qw6ZztADTcGcxd/StackingSlider.js"],"sourcesContent":["// Generated by Framer (b322937)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,getPropertyControls,Image,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/7qT0r3So12155VV5Jq5x/Video.js\";const VideoFonts=getFonts(Video);const VideoControls=getPropertyControls(Video);const cycleOrder=[\"nkEUYo9WR\",\"RYKNfbOP3\",\"lrUGrkM9S\"];const serializationHash=\"framer-ET011\";const variantClassNames={lrUGrkM9S:\"framer-v-3lfqws\",nkEUYo9WR:\"framer-v-1ickx1h\",RYKNfbOP3:\"framer-v-1hi3yfn\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const YnfigNzWj=undefined;const xYcLtWkxo=undefined;const U9YvPGK1u=undefined;const k0SMgO0NE=undefined;const XBw_Q7mdM=undefined;const tdI0EK50c=undefined;const radiusForCorner=(value,cornerIndex)=>{if(typeof value===\"number\"&&Number.isFinite(value))return Math.max(0,value)+\"px\";if(typeof value!==\"string\"||typeof cornerIndex!==\"number\")return undefined;const segments=value.split(\" \");return segments[cornerIndex]||segments[cornerIndex-2]||segments[0];};const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const toImageSrc=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value.src;}return typeof value===\"string\"?value:undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Pause:\"nkEUYo9WR\",Play:\"RYKNfbOP3\",Reset:\"lrUGrkM9S\"};const getProps=({controls,height,id,muted,poster,radius,shadow,video,width,...props})=>{return{...props,k0SMgO0NE:video??props.k0SMgO0NE??\"https://framerusercontent.com/assets/ZPTJ56VBuEEyer6RGym7vTCImA.mp4\",tdI0EK50c:controls??props.tdI0EK50c??true,U9YvPGK1u:poster??props.U9YvPGK1u??{alt:\"\",pixelHeight:2430,pixelWidth:4320,src:\"https://framerusercontent.com/images/DJtNS2rnuJKhCfPYZebRDpuRRXM.png?width=4320&height=2430\",srcSet:\"https://framerusercontent.com/images/DJtNS2rnuJKhCfPYZebRDpuRRXM.png?scale-down-to=512&width=4320&height=2430 512w,https://framerusercontent.com/images/DJtNS2rnuJKhCfPYZebRDpuRRXM.png?scale-down-to=1024&width=4320&height=2430 1024w,https://framerusercontent.com/images/DJtNS2rnuJKhCfPYZebRDpuRRXM.png?scale-down-to=2048&width=4320&height=2430 2048w,https://framerusercontent.com/images/DJtNS2rnuJKhCfPYZebRDpuRRXM.png?scale-down-to=4096&width=4320&height=2430 4096w,https://framerusercontent.com/images/DJtNS2rnuJKhCfPYZebRDpuRRXM.png?width=4320&height=2430 4320w\"},variant:humanReadableVariantMap[props.variant]??props.variant??\"nkEUYo9WR\",XBw_Q7mdM:muted??props.XBw_Q7mdM??true,xYcLtWkxo:radius??props.xYcLtWkxo??\"40px\",YnfigNzWj:shadow??props.YnfigNzWj??\"-5px 5px 20px 0px rgba(0, 0, 0, 0.1)\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,U9YvPGK1u,k0SMgO0NE,tdI0EK50c,XBw_Q7mdM,YnfigNzWj,xYcLtWkxo,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"nkEUYo9WR\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1mt7la1=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});setVariant(\"RYKNfbOP3\");});const onMouseLeave17zp77s=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"lrUGrkM9S\");});const onTappy0mp5=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});setVariant(\"nkEUYo9WR\");});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"lrUGrkM9S\")return true;return false;};const isDisplayed1=()=>{if(baseVariant===\"lrUGrkM9S\")return false;return true;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1ickx1h\",className,classNames),\"data-framer-name\":\"Pause\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"nkEUYo9WR\",onMouseLeave:onMouseLeave17zp77s,onTap:onTap1mt7la1,ref:refBinding,style:{\"--7y3lpq\":YnfigNzWj,borderBottomLeftRadius:radiusForCorner(xYcLtWkxo,3),borderBottomRightRadius:radiusForCorner(xYcLtWkxo,2),borderTopLeftRadius:radiusForCorner(xYcLtWkxo,0),borderTopRightRadius:radiusForCorner(xYcLtWkxo,1),boxShadow:\"var(--7y3lpq)\",...style},...addPropertyOverrides({lrUGrkM9S:{\"data-framer-name\":\"Reset\"},RYKNfbOP3:{\"data-framer-name\":\"Play\",onTap:onTappy0mp5}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",pixelHeight:2430,pixelWidth:4320,...toResponsiveImage(U9YvPGK1u)},className:\"framer-qr2uu8\",layoutDependency:layoutDependency,layoutId:\"Lg30bkDcH\",...addPropertyOverrides({lrUGrkM9S:{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||607.5)-0-607.5)/2)),pixelHeight:2430,pixelWidth:4320,sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,...toResponsiveImage(U9YvPGK1u)}}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-yum9kh-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"tWO3VlpjN-container\",nodeId:\"tWO3VlpjN\",rendersWithMotion:true,scopeId:\"it1fV5u9d\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,controls:false,height:\"100%\",id:\"tWO3VlpjN\",isMixedBorderRadius:false,layoutId:\"tWO3VlpjN\",loop:false,muted:XBw_Q7mdM,objectFit:\"cover\",playing:false,poster:toImageSrc(U9YvPGK1u),posterEnabled:true,srcFile:k0SMgO0NE,srcType:\"Upload\",srcUrl:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\",...addPropertyOverrides({RYKNfbOP3:{controls:tdI0EK50c,playing:true}},baseVariant,gestureVariant)})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ET011.framer-6hlulm, .framer-ET011 .framer-6hlulm { display: block; }\",\".framer-ET011.framer-1ickx1h { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 1080px; will-change: var(--framer-will-change-override, transform); }\",\".framer-ET011 .framer-qr2uu8 { aspect-ratio: 1.7777777777777777 / 1; flex: 1 0 0px; height: var(--framer-aspect-ratio-supported, 113px); position: relative; width: 1px; }\",\".framer-ET011 .framer-yum9kh-container { aspect-ratio: 1.7777777777777777 / 1; flex: 1 0 0px; height: var(--framer-aspect-ratio-supported, 608px); pointer-events: none; position: relative; width: 1px; z-index: 1; }\",\".framer-ET011.framer-v-1hi3yfn.framer-1ickx1h { width: min-content; }\",\".framer-ET011.framer-v-1hi3yfn .framer-yum9kh-container { height: var(--framer-aspect-ratio-supported, 1px); pointer-events: auto; }\",\".framer-ET011.framer-v-3lfqws .framer-qr2uu8 { height: var(--framer-aspect-ratio-supported, 608px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 607.5\n * @framerIntrinsicWidth 1080\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"RYKNfbOP3\":{\"layout\":[\"auto\",\"auto\"]},\"lrUGrkM9S\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"U9YvPGK1u\":\"poster\",\"k0SMgO0NE\":\"video\",\"tdI0EK50c\":\"controls\",\"XBw_Q7mdM\":\"muted\",\"YnfigNzWj\":\"shadow\",\"xYcLtWkxo\":\"radius\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerit1fV5u9d=withCSS(Component,css,\"framer-ET011\");export default Framerit1fV5u9d;Framerit1fV5u9d.displayName=\"Video\";Framerit1fV5u9d.defaultProps={height:607.5,width:1080};addPropertyControls(Framerit1fV5u9d,{variant:{options:[\"nkEUYo9WR\",\"RYKNfbOP3\",\"lrUGrkM9S\"],optionTitles:[\"Pause\",\"Play\",\"Reset\"],title:\"Variant\",type:ControlType.Enum},U9YvPGK1u:{__defaultAssetReference:\"data:framer/asset-reference,DJtNS2rnuJKhCfPYZebRDpuRRXM.png?originalFilename=1.png&width=4320&height=2430\",__vekterDefault:{alt:\"\",assetReference:\"data:framer/asset-reference,DJtNS2rnuJKhCfPYZebRDpuRRXM.png?originalFilename=1.png&width=4320&height=2430\"},title:\"Poster\",type:ControlType.ResponsiveImage},k0SMgO0NE:VideoControls?.[\"srcFile\"]&&{...VideoControls[\"srcFile\"],__defaultAssetReference:\"data:framer/asset-reference,ZPTJ56VBuEEyer6RGym7vTCImA.mp4?originalFilename=0_Abstract_Geometric_1280x720.mp4\",description:undefined,hidden:undefined,title:\"Video\"},tdI0EK50c:{defaultValue:true,title:\"Controls\",type:ControlType.Boolean},XBw_Q7mdM:{defaultValue:true,title:\"Muted\",type:ControlType.Boolean},YnfigNzWj:{defaultValue:[{blur:20,color:\"rgba(0, 0, 0, 0.1)\",diffusion:.5,focus:.5,inset:false,spread:0,type:\"box\",x:-5,y:5}],title:\"Shadow\",type:ControlType.BoxShadow},xYcLtWkxo:{defaultValue:\"40px\",title:\"Radius\",type:ControlType.BorderRadius}});addFonts(Framerit1fV5u9d,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerit1fV5u9d\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"RYKNfbOP3\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"lrUGrkM9S\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"607.5\",\"framerIntrinsicWidth\":\"1080\",\"framerVariables\":\"{\\\"U9YvPGK1u\\\":\\\"poster\\\",\\\"k0SMgO0NE\\\":\\\"video\\\",\\\"tdI0EK50c\\\":\\\"controls\\\",\\\"XBw_Q7mdM\\\":\\\"muted\\\",\\\"YnfigNzWj\\\":\\\"shadow\\\",\\\"xYcLtWkxo\\\":\\\"radius\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./it1fV5u9d.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";import{Children,useState,useRef,useEffect}from\"react\";export default function StackingSlider(props){const{children,cardGap=20,stackOffset=20,mobileStackOffset=0,leftArrowIcon,rightArrowIcon,arrowSize=40,arrowColor=\"#000000\",arrowBackgroundColor=\"#FFFFFF\",arrowHoverColor=\"#F0F0F0\",arrowBorderRadius=100,arrowGap=20,buttonPosition=\"left\",transition,disabledArrowOpacity=.3}=props;const childrenArray=Children.toArray(children);const[currentIndex,setCurrentIndex]=useState(0);const containerRef=useRef(null);const cardRefs=useRef([]);const[cardWidth,setCardWidth]=useState(0);const[isMobile,setIsMobile]=useState(false);const[hoveredButton,setHoveredButton]=useState(null);// Get card width from first card\nuseEffect(()=>{const updateDimensions=()=>{if(cardRefs.current[0]){setCardWidth(cardRefs.current[0].offsetWidth);}setIsMobile(window.innerWidth<992);};updateDimensions();setTimeout(updateDimensions,100);window.addEventListener(\"resize\",updateDimensions);return()=>window.removeEventListener(\"resize\",updateDimensions);},[childrenArray.length]);// Get active offset based on mobile/desktop\nconst activeOffset=isMobile?mobileStackOffset:stackOffset;// Handle navigation\nconst goToNext=()=>{if(currentIndex<childrenArray.length-1){setCurrentIndex(currentIndex+1);}};const goToPrev=()=>{if(currentIndex>0){setCurrentIndex(currentIndex-1);}};// Calculate transform - cards move cumulatively, future cards follow current\nconst getCardTransform=index=>{if(index<currentIndex){// Cards BEFORE current: each has its own stack position\nconst slideMove=(cardWidth+cardGap-activeOffset)*index;return-slideMove;}else{// Current card AND cards after: all move together by current amount\nconst slideMove=(cardWidth+cardGap-activeOffset)*currentIndex;return-slideMove;}};// Get transition settings\nconst transitionSettings={duration:transition?.duration||.35,ease:transition?.ease||\"easeInOut\",type:transition?.type||\"tween\"};// Canvas placeholder\nif(RenderTarget.current()===RenderTarget.canvas&&childrenArray.length===0){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"rgba(136, 85, 255, 0.1)\",border:\"2px dashed rgba(136, 85, 255, 0.3)\",borderRadius:\"12px\",color:\"#8855FF\",fontSize:\"14px\",fontWeight:500,textAlign:\"center\",padding:\"20px\"},children:[\"🎴 Stacking Slider\",/*#__PURE__*/_jsx(\"br\",{}),\"Connect components or layers\"]});}const isAtStart=currentIndex===0;const isAtEnd=currentIndex===childrenArray.length-1;// Get button alignment based on position prop\nconst getButtonAlignment=()=>{switch(buttonPosition){case\"center\":return\"center\";case\"right\":return\"flex-end\";default:return\"flex-start\";}};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",gap:`${arrowGap}px`},children:[/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{flex:1,height:\"100%\",position:\"relative\",overflow:\"visible\",display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",height:\"fit-content\",position:\"relative\",gap:`${cardGap}px`},children:childrenArray.map((child,index)=>/*#__PURE__*/_jsx(motion.div,{ref:el=>cardRefs.current[index]=el,animate:{x:getCardTransform(index)},transition:transitionSettings,style:{flexShrink:0,position:\"relative\",// Z-index: first card = 1, second = 2, third = 3, etc\n    zIndex:index+1},children:child},index))})}),childrenArray.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:\"20px\",alignItems:\"center\",justifyContent:getButtonAlignment()},children:[/*#__PURE__*/_jsx(\"button\",{onClick:goToPrev,disabled:isAtStart,onMouseEnter:()=>setHoveredButton(\"left\"),onMouseLeave:()=>setHoveredButton(null),style:{width:`${arrowSize}px`,height:`${arrowSize}px`,minWidth:`${arrowSize}px`,minHeight:`${arrowSize}px`,flexShrink:0,background:hoveredButton===\"left\"&&!isAtStart?arrowHoverColor:arrowBackgroundColor,border:\"none\",borderRadius:`${arrowBorderRadius}px`,cursor:isAtStart?\"not-allowed\":\"pointer\",opacity:isAtStart?disabledArrowOpacity:1,transition:\"opacity 0.2s ease, background 0.2s ease\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",outline:\"none\"},children:leftArrowIcon?/*#__PURE__*/_jsx(\"img\",{src:leftArrowIcon,alt:\"Previous\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",display:\"block\"}}):/*#__PURE__*/_jsx(\"svg\",{width:arrowSize*.5,height:arrowSize*.5,viewBox:\"0 0 24 24\",fill:\"none\",stroke:arrowColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"15 18 9 12 15 6\"})})}),/*#__PURE__*/_jsx(\"button\",{onClick:goToNext,disabled:isAtEnd,onMouseEnter:()=>setHoveredButton(\"right\"),onMouseLeave:()=>setHoveredButton(null),style:{width:`${arrowSize}px`,height:`${arrowSize}px`,minWidth:`${arrowSize}px`,minHeight:`${arrowSize}px`,flexShrink:0,background:hoveredButton===\"right\"&&!isAtEnd?arrowHoverColor:arrowBackgroundColor,border:\"none\",borderRadius:`${arrowBorderRadius}px`,cursor:isAtEnd?\"not-allowed\":\"pointer\",opacity:isAtEnd?disabledArrowOpacity:1,transition:\"opacity 0.2s ease, background 0.2s ease\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",outline:\"none\"},children:rightArrowIcon?/*#__PURE__*/_jsx(\"img\",{src:rightArrowIcon,alt:\"Next\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",display:\"block\"}}):/*#__PURE__*/_jsx(\"svg\",{width:arrowSize*.5,height:arrowSize*.5,viewBox:\"0 0 24 24\",fill:\"none\",stroke:arrowColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"9 18 15 12 9 6\"})})})]})]});}StackingSlider.displayName=\"Stacking Slider\";addPropertyControls(StackingSlider,{children:{type:ControlType.Array,title:\"Slides\",control:{type:ControlType.ComponentInstance}},cardGap:{type:ControlType.Number,title:\"Card Gap\",min:0,max:100,step:4,defaultValue:20,unit:\"px\",displayStepper:true,description:\"Space between cards\"},stackOffset:{type:ControlType.Number,title:\"Stack Offset\",min:0,max:100,step:5,defaultValue:20,unit:\"px\",displayStepper:true,description:\"Visible offset of stacked cards (desktop)\"},mobileStackOffset:{type:ControlType.Number,title:\"Mobile Stack Offset\",min:0,max:100,step:5,defaultValue:0,unit:\"px\",displayStepper:true,description:\"Visible offset on mobile (<992px)\"},leftArrowIcon:{type:ControlType.Image,title:\"Left Arrow Icon\",description:\"Custom icon for left arrow\"},rightArrowIcon:{type:ControlType.Image,title:\"Right Arrow Icon\",description:\"Custom icon for right arrow\"},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",min:20,max:80,step:4,defaultValue:40,unit:\"px\",displayStepper:true,description:\"Size of arrow buttons\"},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#000000\",description:\"Color for default arrow icons\"},arrowBackgroundColor:{type:ControlType.Color,title:\"Arrow Background\",defaultValue:\"#FFFFFF\",description:\"Background color of arrow buttons\"},arrowHoverColor:{type:ControlType.Color,title:\"Arrow Hover\",defaultValue:\"#F0F0F0\",description:\"Background color on hover\"},arrowBorderRadius:{type:ControlType.Number,title:\"Arrow Radius\",min:0,max:100,step:4,defaultValue:100,unit:\"px\",displayStepper:true,description:\"Border radius of arrow buttons\"},buttonPosition:{type:ControlType.Enum,title:\"Button Position\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\",description:\"Horizontal alignment of navigation buttons\"},arrowGap:{type:ControlType.Number,title:\"Button Gap\",min:0,max:60,step:4,defaultValue:20,unit:\"px\",displayStepper:true,description:\"Space between slider and buttons\"},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{duration:.35,ease:\"easeInOut\"}},disabledArrowOpacity:{type:ControlType.Number,title:\"Disabled Opacity\",min:0,max:1,step:.1,defaultValue:.3,displayStepper:true,description:\"Opacity of disabled arrows\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StackingSlider\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StackingSlider.map"],"mappings":"idACo0B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,oDAAn7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