{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/pev1xf15jj1Pf6WppC0y/hLMNWlqf7PNGfdM9vjtD/Star.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useAnimationControls}from\"framer-motion\";import{useState,useEffect,useCallback}from\"react\";const isBrowser=typeof window!==\"undefined\";export const Star=Component=>{return props=>{const[start]=useState(Math.random());const[speed]=useState(75+Math.random()*50);const getDuration=()=>800/speed;const controls=useAnimationControls();const loopForever=useCallback(()=>{controls.start({x:[\"-100vw\",\"100vw\"]},{duration:getDuration(),ease:\"linear\",repeat:Infinity});},[controls]);useEffect(()=>{controls.start({x:[start*200-100+\"vw\",\"100vw\"]},{duration:getDuration()*(1-1*start),ease:\"linear\"}).then(loopForever);},[]);return /*#__PURE__*/_jsx(Component,{...props,animate:controls});};};\nexport const __FramerMetadata__ = {\"exports\":{\"Star\":{\"type\":\"reactHoc\",\"name\":\"Star\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Star.map"],
  "mappings": "qEAAgM,IAAMA,EAAKC,GAAmBC,GAAO,CAAC,GAAK,CAACC,CAAK,EAAEC,EAAS,KAAK,OAAO,CAAC,EAAO,CAACC,CAAK,EAAED,EAAS,GAAG,KAAK,OAAO,EAAE,EAAE,EAAQE,EAAY,IAAI,IAAID,EAAYE,EAASC,EAAqB,EAAQC,EAAYC,EAAY,IAAI,CAACH,EAAS,MAAM,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,EAAE,CAAC,SAASD,EAAY,EAAE,KAAK,SAAS,OAAO,GAAQ,CAAC,CAAE,EAAE,CAACC,CAAQ,CAAC,EAAE,OAAAI,EAAU,IAAI,CAACJ,EAAS,MAAM,CAAC,EAAE,CAACJ,EAAM,IAAI,IAAI,KAAK,OAAO,CAAC,EAAE,CAAC,SAASG,EAAY,GAAG,EAAE,EAAEH,GAAO,KAAK,QAAQ,CAAC,EAAE,KAAKM,CAAW,CAAE,EAAE,CAAC,CAAC,EAAsBG,EAAKX,EAAU,CAAC,GAAGC,EAAM,QAAQK,CAAQ,CAAC,CAAE",
  "names": ["Star", "Component", "props", "start", "ye", "speed", "getDuration", "controls", "useAnimationControls", "loopForever", "te", "ue", "p"]
}
