{"version":3,"file":"InfiniteParallaxSlider.B94psCdM.mjs","names":["useRef","useState","useCallback","startTransition"],"sources":["https:/framerusercontent.com/modules/vhqUEOU38jtSuvOFlRxw/6suBxkdDPQQM134pWzHi/InfiniteParallaxSlider.js"],"sourcesContent":["// Infinite Parallax Horizontal Slider with smooth inertial motion, drag/swipe/wheel support, and parallax images\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useEffect,useState,useCallback,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Drag Parallax Slider\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DragParallaxSlider(props){const{slides=[{image:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1\"},hoverImage:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 1 Hover\"},title:\"Explore Nature\"},{image:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2\"},hoverImage:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 2 Hover\"},title:\"Creative Vision\"},{image:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3\"},hoverImage:{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 3 Hover\"},title:\"Bold Energy\"},{image:{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 4\"},hoverImage:{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 4 Hover\"},title:\"Warm Moments\"},{image:{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 5\"},hoverImage:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 5 Hover\"},title:\"Fresh Start\"}],slideWidth=400,slideHeight=500,spacing=20,parallaxIntensity=.15,imageScale=1.2,borderRadius=12,motionSpeed=2,dragStrength=1,enableScroll=true,showArrows=true,arrowSize=48,arrowColor=\"#FFFFFF\",arrowBackground=\"rgba(0, 0, 0, 0.5)\",arrowOffset=20}=props;// Internal constants (not exposed to property panel)\n// Map motionSpeed (1-3) to internal velocity range using non-linear curve\nconst clampedMotionSpeed=Math.max(1,Math.min(3,motionSpeed));// Exponential curve: slower growth at low values, faster at high values\n// This makes perceptual differences more noticeable across the range\nconst normalizedSpeed=(clampedMotionSpeed-1)/2// 0 to 1\n;const curvedSpeed=Math.pow(normalizedSpeed,1.5)// Apply exponential curve\n;// Derive drag sensitivity from both motion speed and drag strength\n// dragStrength acts as a multiplier on the base sensitivity\nconst clampedDragStrength=Math.max(.5,Math.min(2,dragStrength));const baseDragSensitivity=.8+curvedSpeed*.6// Maps to 0.8-1.4 range\n;const dragSensitivity=baseDragSensitivity*clampedDragStrength;const lerpFactor=.12-curvedSpeed*.05// Maps to 0.12-0.07 range (less smoothing at higher speeds)\n;const maxVelocity=50;const scrollSensitivity=.5+curvedSpeed*.5// Maps to 0.5-1.0 range\n;const containerRef=useRef(null);const rafRef=useRef();const positionRef=useRef(0);const targetPositionRef=useRef(0);const velocityRef=useRef(0);const isDraggingRef=useRef(false);const lastMouseXRef=useRef(0);const dragStartXRef=useRef(0);const dragStartTimeRef=useRef(0);const lastFrameTimeRef=useRef(0);const lastDragVelocityRef=useRef(0);const dragDistanceRef=useRef(0);const[renderTrigger,setRenderTrigger]=useState(0);const scrollProgressRef=useRef(0);const wrapperRef=useRef(null);const isHoveringRef=useRef(false);const[hoveredSlideIndex,setHoveredSlideIndex]=useState(null);const slideWidthWithSpacing=slideWidth+spacing;const totalWidth=slides.length*slideWidthWithSpacing;// Scroll-based position tracking\nuseEffect(()=>{if(typeof window===\"undefined\"||!enableScroll)return;const handleWheel=e=>{if(!isHoveringRef.current)return;e.preventDefault();// Convert vertical scroll to horizontal velocity\nconst scrollDelta=e.deltaY||e.deltaX;const scrollVelocity=scrollDelta*scrollSensitivity;// Add to velocity instead of replacing\nvelocityRef.current+=scrollVelocity*.1;// Clamp velocity\nvelocityRef.current=Math.max(-maxVelocity,Math.min(maxVelocity,velocityRef.current));};const container=containerRef.current;if(container){container.addEventListener(\"wheel\",handleWheel,{passive:false});}return()=>{if(container){container.removeEventListener(\"wheel\",handleWheel);}};},[scrollSensitivity,maxVelocity,enableScroll]);// Arrow navigation handlers\nconst handlePrevSlide=useCallback(()=>{// Move exactly one slide to the left\ntargetPositionRef.current-=slideWidthWithSpacing;},[slideWidthWithSpacing]);const handleNextSlide=useCallback(()=>{// Move exactly one slide to the right\ntargetPositionRef.current+=slideWidthWithSpacing;},[slideWidthWithSpacing]);// Animation loop\nuseEffect(()=>{if(slides.length===0)return;const animate=time=>{// Initialize lastFrameTimeRef on first frame to prevent large delta\nif(lastFrameTimeRef.current===0){lastFrameTimeRef.current=time;}const deltaTime=lastFrameTimeRef.current?Math.min(time-lastFrameTimeRef.current,32):16;lastFrameTimeRef.current=time;// Apply velocity to target position with time normalization\nconst normalizedDelta=deltaTime/16;targetPositionRef.current+=velocityRef.current*normalizedDelta;// Consistent lerp smoothing regardless of input method\nconst diff=targetPositionRef.current-positionRef.current;positionRef.current+=diff*lerpFactor;// Organic velocity decay with exponential falloff\nconst decayFactor=isDraggingRef.current?.92:.96;velocityRef.current*=Math.pow(decayFactor,normalizedDelta);// Stop velocity when it's negligible to prevent micro-movements\nif(Math.abs(velocityRef.current)<.01){velocityRef.current=0;}// Seamless infinite loop\nconst visibleRange=(containerRef.current?.offsetWidth||1200)+slideWidthWithSpacing*2;if(positionRef.current>totalWidth+visibleRange){const offset=Math.floor(positionRef.current/totalWidth)*totalWidth;positionRef.current-=offset;targetPositionRef.current-=offset;}else if(positionRef.current<-visibleRange){const offset=Math.ceil(Math.abs(positionRef.current)/totalWidth)*totalWidth;positionRef.current+=offset;targetPositionRef.current+=offset;}// Trigger re-render\nstartTransition(()=>setRenderTrigger(prev=>prev+1));rafRef.current=requestAnimationFrame(animate);};rafRef.current=requestAnimationFrame(animate);return()=>{if(rafRef.current)cancelAnimationFrame(rafRef.current);};},[slides.length,lerpFactor,slideWidthWithSpacing,totalWidth]);// Mouse/Touch drag handlers\nconst handlePointerDown=useCallback(e=>{isDraggingRef.current=true;lastMouseXRef.current=e.clientX;dragStartXRef.current=e.clientX;dragStartTimeRef.current=Date.now();dragDistanceRef.current=0;velocityRef.current=0;if(containerRef.current){containerRef.current.style.cursor=\"grabbing\";}},[]);const handlePointerMove=useCallback(e=>{if(!isDraggingRef.current)return;const deltaX=e.clientX-lastMouseXRef.current;// Track total drag distance\ndragDistanceRef.current+=Math.abs(deltaX);// Convert drag delta to velocity instead of modifying position\nconst dragVelocity=-deltaX*dragSensitivity*.8;// Accumulate velocity smoothly instead of replacing it\nvelocityRef.current+=(dragVelocity-velocityRef.current)*.3;// Clamp velocity\nvelocityRef.current=Math.max(-maxVelocity,Math.min(maxVelocity,velocityRef.current));lastMouseXRef.current=e.clientX;lastDragVelocityRef.current=velocityRef.current;},[dragSensitivity,maxVelocity]);const handlePointerUp=useCallback(e=>{if(!isDraggingRef.current)return;// Simply release drag - velocity will decay naturally via animation loop\n// No momentum calculation or velocity modification needed\nisDraggingRef.current=false;lastDragVelocityRef.current=0;if(containerRef.current){containerRef.current.style.cursor=\"grab\";}},[]);// Click handler with drag threshold\nconst handleSlideClick=useCallback(totalDragDistance=>{// Only register as click if total movement is less than 10px\nconst clickThreshold=10;if(totalDragDistance<clickThreshold){// Click detected - can be used for future interactions\n// Currently no action as slides don't have URLs\n}},[]);// Calculate parallax offset based on slide position\nconst calculateParallax=useCallback(slideIndex=>{if(typeof window===\"undefined\")return 0;const containerWidth=containerRef.current?.offsetWidth||window.innerWidth;// Calculate slide's actual position in the viewport\nconst slidePosition=slideIndex*slideWidthWithSpacing-positionRef.current;// Distance from viewport center\nconst viewportCenter=containerWidth/2;const slideCenter=slidePosition+slideWidth/2;const distanceFromCenter=slideCenter-viewportCenter;// Normalized distance (-1 to 1 range when slide is in view)\nconst normalizedDistance=distanceFromCenter/(containerWidth/2);// Further reduced parallax intensity tied directly to viewport position\nconst reducedIntensity=parallaxIntensity*.2;return-normalizedDistance*slideWidth*reducedIntensity;},[slideWidthWithSpacing,slideWidth,parallaxIntensity]);// Render slides with duplication for seamless loop\nconst renderSlides=()=>{if(slides.length===0)return null;const containerWidth=containerRef.current?.offsetWidth||1200;const allSlides=[];// Render duplicated slides for infinite loop\nconst duplications=Math.ceil(containerWidth/totalWidth)+4;const startDup=-1;for(let dup=startDup;dup<duplications;dup++){slides.forEach((slide,index)=>{const actualIndex=dup*slides.length+index;const xPosition=actualIndex*slideWidthWithSpacing-positionRef.current;// Only render slides that are near the viewport\nif(xPosition<-slideWidth*2||xPosition>containerWidth+slideWidth*2){return;}const parallaxOffset=calculateParallax(actualIndex);// Ensure image has default values\nconst slideImage=slide.image||{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Default image\"};const slideHoverImage=slide.hoverImage||slideImage;const isHovered=hoveredSlideIndex===actualIndex;allSlides.push(/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,top:\"50%\",transform:`translate3d(${xPosition}px, -50%, 0)`,width:slideWidth,height:slideHeight,borderRadius:borderRadius,overflow:\"hidden\",cursor:\"grab\",willChange:\"transform\"},onPointerDown:e=>{handlePointerDown(e);dragStartXRef.current=e.clientX;},onPointerUp:e=>{handleSlideClick(dragDistanceRef.current);},onMouseEnter:()=>startTransition(()=>setHoveredSlideIndex(actualIndex)),onMouseLeave:()=>startTransition(()=>setHoveredSlideIndex(null)),children:[slide.link?/*#__PURE__*/_jsx(\"a\",{href:slide.link,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",textDecoration:\"none\",zIndex:10},onClick:e=>{if(isDraggingRef.current||dragDistanceRef.current>10){e.preventDefault();}}}):null,/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",transform:`translate3d(${parallaxOffset}px, 0, 0) scale(${imageScale})`,willChange:\"transform\",opacity:isHovered&&slide.hoverImage?0:1,transition:\"opacity 0.3s ease\"},children:/*#__PURE__*/_jsx(\"img\",{src:slideImage.src,alt:slideImage.alt||slide.title,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\",userSelect:\"none\"},draggable:false})}),slide.hoverImage&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",transform:`translate3d(${parallaxOffset}px, 0, 0) scale(${imageScale})`,willChange:\"transform\",opacity:isHovered?1:0,transition:\"opacity 0.3s ease\"},children:/*#__PURE__*/_jsx(\"img\",{src:slideHoverImage.src,alt:slideHoverImage.alt||`${slide.title} Hover`,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\",userSelect:\"none\"},draggable:false})})]},`slide-${dup}-${index}`));});}return allSlides;};if(slides.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:16},children:\"Add slides to get started\"});}return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",cursor:\"grab\",userSelect:\"none\",touchAction:\"pan-y\"},onPointerMove:handlePointerMove,onPointerUp:handlePointerUp,onPointerLeave:handlePointerUp,onMouseEnter:()=>{isHoveringRef.current=true;},onMouseLeave:()=>{isHoveringRef.current=false;},children:[renderSlides(),showArrows&&/*#__PURE__*/_jsx(\"button\",{onClick:handlePrevSlide,style:{position:\"absolute\",left:arrowOffset,top:\"50%\",transform:\"translateY(-50%)\",width:arrowSize,height:arrowSize,borderRadius:\"50%\",backgroundColor:arrowBackground,border:\"none\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:100,pointerEvents:\"auto\",transition:\"transform 0.2s ease, opacity 0.2s ease\",opacity:.8},onMouseEnter:e=>{e.currentTarget.style.opacity=\"1\";e.currentTarget.style.transform=\"translateY(-50%) scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"0.8\";e.currentTarget.style.transform=\"translateY(-50%) scale(1)\";},\"aria-label\":\"Previous slide\",children:/*#__PURE__*/_jsx(\"svg\",{width:arrowSize*.5,height:arrowSize*.5,viewBox:\"0 0 24 24\",fill:\"none\",stroke:arrowColor,strokeWidth:\"2\",strokeLinecap:\"square\",strokeLinejoin:\"miter\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"15,4 6,12 15,20\"})})}),showArrows&&/*#__PURE__*/_jsx(\"button\",{onClick:handleNextSlide,style:{position:\"absolute\",right:arrowOffset,top:\"50%\",transform:\"translateY(-50%)\",width:arrowSize,height:arrowSize,borderRadius:\"50%\",backgroundColor:arrowBackground,border:\"none\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",zIndex:100,pointerEvents:\"auto\",transition:\"transform 0.2s ease, opacity 0.2s ease\",opacity:.8},onMouseEnter:e=>{e.currentTarget.style.opacity=\"1\";e.currentTarget.style.transform=\"translateY(-50%) scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"0.8\";e.currentTarget.style.transform=\"translateY(-50%) scale(1)\";},\"aria-label\":\"Next slide\",children:/*#__PURE__*/_jsx(\"svg\",{width:arrowSize*.5,height:arrowSize*.5,viewBox:\"0 0 24 24\",fill:\"none\",stroke:arrowColor,strokeWidth:\"2\",strokeLinecap:\"square\",strokeLinejoin:\"miter\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"9,4 18,12 9,20\"})})})]});}addPropertyControls(DragParallaxSlider,{slides:{type:ControlType.Array,title:\"Slides\",control:{type:ControlType.Object,controls:{image:{type:ControlType.ResponsiveImage,title:\"Image\"},hoverImage:{type:ControlType.ResponsiveImage,title:\"Hover Image\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Slide Title\"},link:{type:ControlType.Link,title:\"Link\"}}},defaultValue:[{image:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1\"},hoverImage:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 1 Hover\"},title:\"Explore Nature\"},{image:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2\"},hoverImage:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 2 Hover\"},title:\"Creative Vision\"},{image:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3\"},hoverImage:{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 3 Hover\"},title:\"Bold Energy\"},{image:{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 4\"},hoverImage:{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 4 Hover\"},title:\"Warm Moments\"},{image:{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 5\"},hoverImage:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 5 Hover\"},title:\"Fresh Start\"}]},slideWidth:{type:ControlType.Number,title:\"Slide Width\",defaultValue:400,min:200,max:800,step:10,unit:\"px\"},slideHeight:{type:ControlType.Number,title:\"Slide Height\",defaultValue:500,min:200,max:800,step:10,unit:\"px\"},spacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:20,min:0,max:100,step:5,unit:\"px\"},motionSpeed:{type:ControlType.Number,title:\"Motion Speed\",defaultValue:2,min:1,max:3,step:.1},dragStrength:{type:ControlType.Number,title:\"Drag Strength\",defaultValue:1,min:.5,max:2,step:.1},enableScroll:{type:ControlType.Boolean,title:\"Enable Scroll\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},parallaxIntensity:{type:ControlType.Number,title:\"Parallax Intensity\",defaultValue:.15,min:0,max:1,step:.05},imageScale:{type:ControlType.Number,title:\"Image Scale\",defaultValue:1.2,min:1,max:2,step:.05},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:12,min:0,max:100,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DragParallaxSlider\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"600\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InfiniteParallaxSlider.map"],"mappings":"2NASG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,SAAO,CAAC,CAAC,MAAM,CAAC,IAAI,sEAAsE,IAAI,aAAa,CAAC,WAAW,CAAC,IAAI,oEAAoE,IAAI,mBAAmB,CAAC,MAAM,iBAAiB,CAAC,CAAC,MAAM,CAAC,IAAI,oEAAoE,IAAI,aAAa,CAAC,WAAW,CAAC,IAAI,uEAAuE,IAAI,mBAAmB,CAAC,MAAM,kBAAkB,CAAC,CAAC,MAAM,CAAC,IAAI,uEAAuE,IAAI,aAAa,CAAC,WAAW,CAAC,IAAI,oEAAoE,IAAI,mBAAmB,CAAC,MAAM,cAAc,CAAC,CAAC,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