{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/fnUIQ7lPV7uNDTYprOms/4qVLnj61i3Yvh9ImUkw4/Scroll.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{motion,useViewportScroll}from\"framer-motion\";import{useEffect,useState}from\"react\";export default function Scroll(){const{scrollYProgress}=useViewportScroll();const[initialScale,setInitialScale]=useState(0)// Updated initial scale to 0\n;useEffect(()=>{const updateInitialScale=()=>{setInitialScale(scrollYProgress.current*100)// Adjusted calculation for initial scale\n;};// Listen for changes in scrollYProgress and update the initial scale\nscrollYProgress.onChange(updateInitialScale);// Initialize the initial scale\nupdateInitialScale();},[scrollYProgress]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          .progress-bar-container {\n            position: fixed;\n            top: 0;\n            left: 0;\n            right: 0;\n            height: 2px;\n            width: ${initialScale}%;\n            border-radius: 4px;\n            overflow: hidden;    \n            filter: drop-shadow(0px 0px 4px #FD4C00);\n            margin:0 auto;\n          }\n\n          .progress-bar {\n            height: 100%;\n            width:100%;\n            background: #FD4C00;\n            transform-origin: 0%;\n          }\n        `}),/*#__PURE__*/_jsx(\"div\",{className:\"progress-bar-container\",children:/*#__PURE__*/_jsx(motion.div,{className:\"progress-bar\",style:{originX:.5}})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Scroll\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scroll.map"],
  "mappings": "8JAAAA,IAAwL,SAARC,GAAyB,CAAC,GAAK,CAAC,gBAAAC,CAAe,EAAEC,EAAkB,EAAO,CAACC,EAAaC,CAAe,EAAEC,EAAS,CAAC,EAClS,OAAAC,EAAU,IAAI,CAAC,IAAMC,EAAmB,IAAI,CAACH,EAAgBH,EAAgB,QAAQ,GAAG,CACxF,EACDA,EAAgB,SAASM,CAAkB,EAC3CA,EAAmB,CAAE,EAAE,CAACN,CAAe,CAAC,EAAsBO,EAAMC,EAAU,CAAC,SAAS,CAAcC,EAAK,QAAQ,CAAC,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAOxGP,CAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAaxB,CAAC,EAAeO,EAAK,MAAM,CAAC,UAAU,yBAAyB,SAAsBA,EAAKC,EAAO,IAAI,CAAC,UAAU,eAAe,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE",
  "names": ["init_ssg_sandbox_shims", "Scroll", "scrollYProgress", "useViewportScroll", "initialScale", "setInitialScale", "ye", "ue", "updateInitialScale", "u", "l", "p", "motion"]
}
