{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Hhb5I8ir5tXhVxUhtwne/H8doVinEbiGg6RI8bA37/Lottie_scroll_1.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export default function LottieScrollSticky(){const lottieRef=useRef(null);const parentRef=useRef(null);useEffect(()=>{const script1=document.createElement(\"script\");script1.src=\"https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js\";script1.async=true;document.body.appendChild(script1);const script2=document.createElement(\"script\");script2.src=\"https://unpkg.com/@lottiefiles/lottie-interactivity@latest/dist/lottie-interactivity.min.js\";script2.async=true;document.body.appendChild(script2);script2.onload=()=>{if(lottieRef.current&&parentRef.current){window.LottieInteractivity.create({mode:\"scroll\",player:\"#myLottie\",container:parentRef.current,actions:[{visibility:[-.2,.2],type:\"stop\",frames:[0]},{visibility:[.2,.8],type:\"seek\",frames:[0,900]},{visibility:[.8,1.2],type:\"stop\",frames:[900]}]});}};return()=>{document.body.removeChild(script1);document.body.removeChild(script2);};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:parentRef,style:{width:\"100%\",minHeight:\"300vh\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"sticky\",top:0,width:\"100%\",height:\"100vh\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"lottie-player\",{id:\"myLottie\",ref:lottieRef,src:\"https://lottie.host/8db90e2b-d349-43e3-b6b4-ec72384d151d/e8gqOid6Fp.json\",style:{width:\"100%\",height:\"auto\"},speed:\"1\"})})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LottieScrollSticky\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lottie_scroll_1.map"],
  "mappings": "gGAA8F,SAARA,GAAqC,CAAC,IAAMC,EAAUC,EAAO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