{"version":3,"file":"ScrollReactiveLogoStrip.DoHlgLVz.mjs","names":["React.useRef","React.useState","React.useMemo"],"sources":["https:/framerusercontent.com/modules/orzMmsnghkKyuuV1VQix/jXFzjkh7zVym1ush5Lvi/ScrollReactiveLogoStrip.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion,useAnimationFrame,useMotionValue,useScroll}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";const SPACING_KEYS=[\"topPadding\",\"bottomPadding\",\"leftPadding\",\"rightPadding\",\"logoSpacing\"];const SPACING_CONTROL_DEFAULTS={topPadding:40,bottomPadding:40,leftPadding:0,rightPadding:0,// ✅ tighter by default\nlogoSpacing:32};const EDGE_FADE_CONTROL_DEFAULTS={edgeFade:true,fadeWidth:100,fadeOpacity:1};const RESPONSIVE_PRESETS={desktop:{minWidth:960,spacing:{topPadding:40,bottomPadding:40,leftPadding:0,rightPadding:0,// ✅ tighter by default\nlogoSpacing:32},fadeWidth:100},tablet:{minWidth:480,spacing:{topPadding:40,bottomPadding:40,leftPadding:0,rightPadding:0,// ✅ tighter by default\nlogoSpacing:32},fadeWidth:100},mobile:{spacing:{topPadding:24,bottomPadding:24,leftPadding:0,rightPadding:0,// ✅ tighter on mobile too\nlogoSpacing:24},fadeWidth:48}};const getResponsivePreset=width=>{if(width>=RESPONSIVE_PRESETS.desktop.minWidth)return RESPONSIVE_PRESETS.desktop;if(width>=RESPONSIVE_PRESETS.tablet.minWidth)return RESPONSIVE_PRESETS.tablet;return RESPONSIVE_PRESETS.mobile;};export default function LogoCarouselScrollReactiveVariant(props){const{items=[],speed=50,logoSpacing,backgroundColor=\"transparent\",topPadding,bottomPadding,leftPadding,rightPadding,hoverPause=true,scrollDirection=\"left\",scrollReverse=\"On\",burst=\"On\",edgeFade=true,fadeWidth,fadeOpacity=.8,// ✅ x1.3 bigger than 0.72\nlogoScale=.94,density=2,// ✅ NEW\ngapMode=\"Auto (Responsive)\",edgeFadeGroup,spacingGroup}=props;const containerRef=React.useRef(null);const trackRef=React.useRef(null);const segmentRef=React.useRef(null);const isCanvasEnvironment=typeof window!==\"undefined\"&&window.location?.pathname?.includes(\"/canvas\");const[segmentWidth,setSegmentWidth]=React.useState(0);const frameWidth=typeof props.width===\"number\"?props.width:undefined;const[measuredWidth,setMeasuredWidth]=React.useState(frameWidth??null);React.useLayoutEffect(()=>{const node=containerRef.current;if(!node)return;const updateWidth=()=>{const nextWidth=node.getBoundingClientRect().width;if(!Number.isNaN(nextWidth)&&nextWidth>0){setMeasuredWidth(prev=>{if(prev===null||Math.abs(prev-nextWidth)>.5)return nextWidth;return prev;});}};updateWidth();const observer=new ResizeObserver(updateWidth);observer.observe(node);return()=>observer.disconnect();},[props.width]);const responsiveWidth=measuredWidth??frameWidth??1200;const responsivePreset=getResponsivePreset(responsiveWidth);const spacingValues=spacingGroup??{};const parseSpacingValue=value=>{if(typeof value===\"number\"&&!Number.isNaN(value))return value;if(typeof value===\"string\"){const parsed=parseFloat(value);return Number.isNaN(parsed)?undefined:parsed;}return undefined;};// ✅ CHANGED: no more \"only custom if different from defaults\" for logoSpacing.\n// We let the user choose via gapMode whether the inspector should win.\nconst resolveSpacingValue=(key,propValue)=>{const groupVal=parseSpacingValue(spacingValues[key]);// If manual mode, ALWAYS prefer inspector control (spacingGroup),\n// and fall back to the simple prop, then preset.\nif(gapMode===\"Manual\"){if(key===\"logoSpacing\"){if(groupVal!==undefined)return groupVal;if(typeof propValue===\"number\")return propValue;return responsivePreset.spacing[key];}}// Auto (Responsive): behave like before for paddings,\n// and for logoSpacing use responsive unless the user explicitly set a value\n// different from the default.\nconst isCustom=groupVal!==undefined&&groupVal!==SPACING_CONTROL_DEFAULTS[key];if(isCustom)return groupVal??responsivePreset.spacing[key];if(typeof propValue===\"number\")return propValue;return responsivePreset.spacing[key];};const resolvedTopPadding=resolveSpacingValue(\"topPadding\",topPadding);const resolvedBottomPadding=resolveSpacingValue(\"bottomPadding\",bottomPadding);const resolvedLeftPadding=resolveSpacingValue(\"leftPadding\",leftPadding);const resolvedRightPadding=resolveSpacingValue(\"rightPadding\",rightPadding);const resolvedLogoSpacing=resolveSpacingValue(\"logoSpacing\",logoSpacing);const mergedEdgeFade=edgeFadeGroup?.edgeFade??edgeFade;const fadeWidthFromControls=edgeFadeGroup&&edgeFadeGroup.fadeWidth!==undefined?Number(edgeFadeGroup.fadeWidth):undefined;const fadeWidthHasCustom=fadeWidthFromControls!==undefined&&fadeWidthFromControls!==EDGE_FADE_CONTROL_DEFAULTS.fadeWidth;const mergedFadeWidth=(fadeWidthHasCustom?fadeWidthFromControls:undefined)??(typeof fadeWidth===\"number\"?fadeWidth:undefined)??responsivePreset.fadeWidth;const mergedFadeOpacity=edgeFadeGroup?.fadeOpacity??fadeOpacity;const activeItems=React.useMemo(()=>(items??[]).filter(item=>item!=null),[items]);const segmentItems=React.useMemo(()=>{const d=Math.max(1,Math.min(6,Math.round(density)));if(activeItems.length===0)return[];const out=[];for(let i=0;i<d;i++)out.push(...activeItems);return out;},[activeItems,density]);const marqueeItems=React.useMemo(()=>{return segmentItems.length>0?[...segmentItems,...segmentItems]:[];},[segmentItems]);const showEdgeFade=mergedEdgeFade&&mergedFadeWidth>0&&mergedFadeOpacity>0;const containerStyle={backgroundColor,boxSizing:\"border-box\",width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",justifyContent:\"center\",paddingTop:resolvedTopPadding,paddingBottom:resolvedBottomPadding,paddingLeft:resolvedLeftPadding,paddingRight:resolvedRightPadding};const innerStyle={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",overflow:\"hidden\"};const trackBaseStyle={display:\"flex\",alignItems:\"center\",width:\"max-content\",flexWrap:\"nowrap\"};const measurementSegmentStyle={display:\"flex\",alignItems:\"center\",gap:resolvedLogoSpacing,paddingRight:resolvedLogoSpacing,flexShrink:0,position:\"absolute\",visibility:\"hidden\",pointerEvents:\"none\",top:0,left:0,width:\"max-content\"};const logoWrapperStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transform:`scale(${Math.max(.1,Math.min(2,logoScale))})`,transformOrigin:\"center\"};const renderItems=(itemsToRender,keyPrefix)=>itemsToRender.map((layer,index)=>/*#__PURE__*/_jsx(\"div\",{className:\"logo-carousel__logo\",\"data-name\":`Item ${index+1}`,style:logoWrapperStyle,children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:layer})},`${keyPrefix}-${index}`));const trackWrapperStyle={width:\"100%\",height:\"100%\",overflow:\"hidden\",position:\"relative\",display:\"flex\",alignItems:\"center\",...showEdgeFade?{WebkitMaskImage:`linear-gradient(to right,\n                    rgba(0,0,0,0) 0px,\n                    rgba(0,0,0,${mergedFadeOpacity}) ${mergedFadeWidth}px,\n                    rgba(0,0,0,${mergedFadeOpacity}) calc(100% - ${mergedFadeWidth}px),\n                    rgba(0,0,0,0) 100%)`,maskImage:`linear-gradient(to right,\n                    rgba(0,0,0,0) 0px,\n                    rgba(0,0,0,${mergedFadeOpacity}) ${mergedFadeWidth}px,\n                    rgba(0,0,0,${mergedFadeOpacity}) calc(100% - ${mergedFadeWidth}px),\n                    rgba(0,0,0,0) 100%)`}:null};React.useLayoutEffect(()=>{const updateSegmentWidth=()=>{if(!segmentRef.current)return;const nextWidth=segmentRef.current.getBoundingClientRect().width;if(!Number.isNaN(nextWidth)&&nextWidth>0)setSegmentWidth(nextWidth);};updateSegmentWidth();let observer=null;if(typeof ResizeObserver!==\"undefined\"&&segmentRef.current){observer=new ResizeObserver(()=>updateSegmentWidth());observer.observe(segmentRef.current);}else if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",updateSegmentWidth);}return()=>{if(observer)observer.disconnect();else if(typeof window!==\"undefined\"){window.removeEventListener(\"resize\",updateSegmentWidth);}};},[items,resolvedLogoSpacing,responsiveWidth,logoScale,density]);const marqueeX=useMotionValue(0);const[isHovering,setIsHovering]=React.useState(false);const isHoveringRef=React.useRef(false);const baseDirectionMultiplier=scrollDirection===\"right\"?1:-1;const shouldReverseOnScroll=scrollReverse!==\"Off\";const shouldBurst=burst!==\"Off\";const lastScrollYRef=React.useRef(null);const scrollDirRef=React.useRef(1);const{scrollY}=useScroll();const smoothedDeltaRef=React.useRef(1/60);const smoothedVelocityRef=React.useRef(0);const smoothedDirectionRef=React.useRef(baseDirectionMultiplier);const burstTargetRef=React.useRef(0);const burstImpulseRef=React.useRef(0);const burstImpulseVelRef=React.useRef(0);const lastScrollSampleTimeRef=React.useRef(null);React.useEffect(()=>{const unsubscribe=scrollY.on(\"change\",latest=>{const last=lastScrollYRef.current;if(typeof latest!==\"number\"||Number.isNaN(latest))return;if(hoverPause&&isHoveringRef.current){isHoveringRef.current=false;setIsHovering(false);}const now=typeof performance!==\"undefined\"?performance.now():Date.now();const lastTime=lastScrollSampleTimeRef.current;if(last!=null&&lastTime!=null){const dt=Math.max(.001,Math.min((now-lastTime)/1e3,.1));const scrollVel=(latest-last)/dt;if(shouldBurst){const impulseAdd=Math.min(110,Math.max(0,Math.abs(scrollVel)*.028));burstTargetRef.current=Math.min(160,burstTargetRef.current+impulseAdd);}}lastScrollSampleTimeRef.current=now;if(last==null){lastScrollYRef.current=latest;return;}if(latest===last)return;scrollDirRef.current=latest>last?1:-1;lastScrollYRef.current=latest;});return()=>unsubscribe?.();},[scrollY,shouldBurst,hoverPause]);React.useEffect(()=>{marqueeX.set(baseDirectionMultiplier===1?-segmentWidth:0);smoothedDirectionRef.current=baseDirectionMultiplier;},[segmentWidth,marqueeX,baseDirectionMultiplier]);const clampNumber=(value,min,max)=>Math.max(min,Math.min(max,value));const wrapRange=(value,min,max)=>{const range=max-min;if(range===0)return min;const wrapped=((value-min)%range+range)%range;return wrapped+min;};const smoothingAlpha=(responsePerSecond,dtSeconds)=>1-Math.exp(-responsePerSecond*dtSeconds);useAnimationFrame((t,delta)=>{if(segmentWidth<=0||marqueeItems.length===0)return;if(hoverPause&&isHoveringRef.current)return;const dtRaw=delta/1e3;const dtClamped=clampNumber(dtRaw,0,.05);if(dtClamped<=0)return;const dtAlpha=smoothingAlpha(18,dtClamped);const dtSmoothed=smoothedDeltaRef.current+(dtClamped-smoothedDeltaRef.current)*dtAlpha;smoothedDeltaRef.current=dtSmoothed;const clampedSpeed=Math.max(0,Math.min(100,speed));const durationSeconds=32-clampedSpeed/100*(32-8);const safeDurationSeconds=Math.max(durationSeconds,.1);const targetVelocity=segmentWidth/safeDurationSeconds;const velocityAlpha=smoothingAlpha(10,dtSmoothed);smoothedVelocityRef.current=smoothedVelocityRef.current+(targetVelocity-smoothedVelocityRef.current)*velocityAlpha;const targetDecay=Math.exp(-6.2*dtSmoothed);burstTargetRef.current=(shouldBurst?burstTargetRef.current:0)*targetDecay;const omega=14.5;const zeta=.99;const x=burstImpulseRef.current;const v=burstImpulseVelRef.current;const target=burstTargetRef.current;const accelUnclamped=omega*omega*(target-x)-2*zeta*omega*v;const maxAccel=2200;const accel=clampNumber(accelUnclamped,-maxAccel,maxAccel);const nextVUnclamped=v+accel*dtSmoothed;const maxV=420;const nextV=clampNumber(nextVUnclamped,-maxV,maxV);const nextX=x+nextV*dtSmoothed;burstImpulseVelRef.current=nextV;burstImpulseRef.current=nextX;const effectiveVelocity=smoothedVelocityRef.current+burstImpulseRef.current;const scrollReverseMultiplier=shouldReverseOnScroll&&scrollDirRef.current===-1?-1:1;const targetDirection=baseDirectionMultiplier*scrollReverseMultiplier;const directionAlpha=smoothingAlpha(14,dtSmoothed);smoothedDirectionRef.current=smoothedDirectionRef.current+(targetDirection-smoothedDirectionRef.current)*directionAlpha;const current=marqueeX.get();const nextUnwrapped=current+effectiveVelocity*dtSmoothed*smoothedDirectionRef.current;const next=wrapRange(nextUnwrapped,-segmentWidth,0);marqueeX.set(next);});return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,className:\"logo-carousel\",style:containerStyle,children:/*#__PURE__*/_jsx(\"div\",{className:\"logo-carousel__inner\",style:innerStyle,children:/*#__PURE__*/_jsxs(\"div\",{className:\"logo-carousel__track-wrapper\",style:trackWrapperStyle,children:[/*#__PURE__*/_jsx(\"div\",{className:\"logo-carousel__track logo-carousel__track--visible\",style:{...trackBaseStyle,width:\"max-content\",gap:resolvedLogoSpacing,flexWrap:\"nowrap\",justifyContent:\"flex-start\",margin:responsiveWidth<900?\"0 auto\":undefined,opacity:isCanvasEnvironment?1:0},children:activeItems.length===0?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",textAlign:\"center\",fontSize:14,color:\"rgba(0,0,0,0.5)\",padding:\"12px 0\"},children:\"Add Items in the Inspector\"}):renderItems(segmentItems,\"visible\")}),!isCanvasEnvironment&&marqueeItems.length>0&&/*#__PURE__*/_jsx(motion.div,{ref:trackRef,className:\"logo-carousel__track logo-carousel__track--marquee\",style:{...trackBaseStyle,position:\"absolute\",inset:0,gap:resolvedLogoSpacing,pointerEvents:hoverPause?\"auto\":\"none\",opacity:1,x:marqueeX},onMouseEnter:()=>{if(!hoverPause)return;isHoveringRef.current=true;setIsHovering(true);},onMouseLeave:()=>{if(!hoverPause)return;isHoveringRef.current=false;setIsHovering(false);},children:renderItems(marqueeItems,\"marquee\")}),/*#__PURE__*/_jsx(\"div\",{ref:segmentRef,className:\"logo-carousel__segment-measurement\",style:measurementSegmentStyle,\"aria-hidden\":\"true\",children:renderItems(segmentItems,\"measurement\")})]})})});}LogoCarouselScrollReactiveVariant.defaultProps={items:[],hoverPause:true,scrollDirection:\"left\",scrollReverse:\"On\",burst:\"On\",speed:50,width:1200,backgroundColor:\"transparent\",edgeFade:true,fadeOpacity:1,edgeFadeGroup:{...EDGE_FADE_CONTROL_DEFAULTS},// ✅ x1.3 bigger than 0.72\nlogoScale:.94,density:2,// ✅ NEW\ngapMode:\"Auto (Responsive)\"};addPropertyControls(LogoCarouselScrollReactiveVariant,{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"transparent\"},items:{type:ControlType.Array,title:\"Items\",defaultValue:[],control:{type:ControlType.ComponentInstance,title:\"Layer\"}},logoScale:{type:ControlType.Number,title:\"Logo Scale\",min:.2,max:1.5,step:.05,defaultValue:.94},density:{type:ControlType.Number,title:\"Density\",min:1,max:6,step:1,defaultValue:2},// ✅ NEW: gives you full control\ngapMode:{type:ControlType.SegmentedEnum,title:\"Gap Mode\",options:[\"Auto (Responsive)\",\"Manual\"],defaultValue:\"Auto (Responsive)\"},edgeFadeGroup:{type:ControlType.Object,title:\"Edge Fade\",defaultValue:{...EDGE_FADE_CONTROL_DEFAULTS},controls:{edgeFade:{type:ControlType.Boolean,title:\"Enable Fade\",defaultValue:true},fadeWidth:{type:ControlType.Number,title:\"Fade Width\",min:40,max:300,step:1,unit:\"px\",defaultValue:EDGE_FADE_CONTROL_DEFAULTS.fadeWidth},fadeOpacity:{type:ControlType.Number,title:\"Fade Opacity\",min:0,max:1,step:.05,defaultValue:EDGE_FADE_CONTROL_DEFAULTS.fadeOpacity}}},scrollDirection:{type:ControlType.SegmentedEnum,title:\"Scroll To\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"left\"},scrollReverse:{type:ControlType.SegmentedEnum,title:\"Scroll Reverse\",options:[\"On\",\"Off\"],defaultValue:\"On\"},burst:{type:ControlType.SegmentedEnum,title:\"Burst\",options:[\"On\",\"Off\"],defaultValue:\"On\"},hoverPause:{type:ControlType.Boolean,title:\"Hover Pause\",defaultValue:true},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:100,step:1},spacingGroup:{type:ControlType.Object,title:\"Spacing\",defaultValue:{...SPACING_CONTROL_DEFAULTS},controls:{topPadding:{type:ControlType.Number,title:\"Top Padding\",min:0,max:200,step:4,defaultValue:SPACING_CONTROL_DEFAULTS.topPadding},bottomPadding:{type:ControlType.Number,title:\"Bottom Padding\",min:0,max:200,step:4,defaultValue:SPACING_CONTROL_DEFAULTS.bottomPadding},leftPadding:{type:ControlType.Number,title:\"Left Padding\",min:0,max:200,step:4,defaultValue:SPACING_CONTROL_DEFAULTS.leftPadding},rightPadding:{type:ControlType.Number,title:\"Right Padding\",min:0,max:200,step:4,defaultValue:SPACING_CONTROL_DEFAULTS.rightPadding},logoSpacing:{type:ControlType.Number,title:\"Logo Gap\",min:0,max:240,step:1,unit:\"px\",defaultValue:SPACING_CONTROL_DEFAULTS.logoSpacing}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"LogoCarouselScrollReactiveVariantProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"LogoCarouselScrollReactiveVariant\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollReactiveLogoStrip.map"],"mappings":"iSAIkQ,SAAwB,EAAkC,EAAM,CAAC,GAAK,CAAC,QAAM,EAAE,CAAC,QAAM,GAAG,cAAY,kBAAgB,cAAc,aAAW,gBAAc,cAAY,eAAa,aAAW,GAAK,mBAAgB,OAAO,iBAAc,KAAK,SAAM,KAAK,YAAS,GAAK,aAAU,eAAY,GAChiB,aAAU,IAAI,UAAQ,EACtB,WAAQ,oBAAoB,gBAAc,iBAAc,EAAY,GAAaA,EAAa,KAAK,CAAO,GAASA,EAAa,KAAK,CAAO,EAAWA,EAAa,KAAK,CAAO,EAA2B,IAAS,QAAa,EAAO,UAAU,UAAU,SAAS,UAAU,CAAM,CAAC,EAAa,IAAiBC,EAAe,EAAE,CAAO,GAAW,OAAO,EAAM,OAAQ,SAAS,EAAM,MAAM,IAAA,GAAe,CAAC,GAAc,IAAkBA,EAAe,IAAY,KAAK,CAAC,MAA0B,CAAC,IAAM,EAAK,GAAa,QAAQ,GAAG,CAAC,EAAK,OAAO,IAAM,MAAgB,CAAC,IAAM,EAAU,EAAK,uBAAuB,CAAC,MAAS,CAAC,OAAO,MAAM,EAAU,EAAE,EAAU,GAAG,GAAiB,GAAU,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