{"version":3,"file":"ScrollIndicator.sAwUbiS8.mjs","names":[],"sources":["https:/framerusercontent.com/modules/R0qiEq9f5knTYcO93VHj/sIOGC9zfRtDNw2FnYRT0/ScrollIndicator.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion,useAnimation}from\"framer-motion\";import{useEffect}from\"react\";export default function ScrollIndicator(){const controls=useAnimation();useEffect(()=>{const handleScroll=()=>{const threshold=window.innerHeight*.5;if(window.scrollY>threshold){controls.start({opacity:0,transition:{duration:.4}});}else{controls.start({opacity:1,transition:{duration:.4}});}};window.addEventListener(\"scroll\",handleScroll);return()=>window.removeEventListener(\"scroll\",handleScroll);},[]);return /*#__PURE__*/_jsx(motion.div,{animate:controls,style:{position:\"fixed\",bottom:\"40px\",left:0,right:0,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:4,zIndex:9999,pointerEvents:\"none\"},children:[0,.25,.5].map((delay,i)=>/*#__PURE__*/_jsx(motion.div,{animate:{opacity:[.3,1,.3],y:[0,8,0]},transition:{duration:1.4,repeat:Infinity,delay,ease:\"easeInOut\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"28\",height:\"16\",viewBox:\"0 0 28 16\",fill:\"none\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"2 2 14 14 26 2\",stroke:\"white\",strokeWidth:\"2.5\",strokeLinecap:\"round\"})})},i))});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollIndicator\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollIndicator.map"],"mappings":"wLAAuH,SAAwB,GAAiB,CAAC,IAAM,EAAS,EAAa,EAAgV,OAA9U,MAAc,CAAC,IAAM,MAAiB,CAAC,IAAM,EAAU,EAAO,YAAY,GAAM,EAAO,QAAQ,EAAW,EAAS,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,EAAQ,EAAS,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,CAAG,EAAiD,OAA/C,EAAO,iBAAiB,SAAS,CAAY,MAAY,EAAO,oBAAoB,SAAS,CAAY,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAO,IAAI,CAAC,QAAQ,EAAS,MAAM,CAAC,SAAS,QAAQ,OAAO,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,OAAO,cAAc,SAAS,WAAW,SAAS,IAAI,EAAE,OAAO,KAAK,cAAc,MAAM,EAAE,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,EAAM,IAAiB,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,SAAS,IAAI,OAAO,IAAS,QAAM,KAAK,WAAW,EAAE,SAAsB,EAAK,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,SAAsB,EAAK,WAAW,CAAC,OAAO,iBAAiB,OAAO,QAAQ,YAAY,MAAM,cAAc,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,qBAAljC,IAA+C,IAA6B"}