{"version":3,"file":"RandomEmoji.DNOscdXj.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/owCrnI0hVTLGvUI8P3YG/rW2vyLkFyaMAFOHqblZ5/RandomEmoji.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";const gifs=[\"https://framerusercontent.com/images/sLqfdTqT624QdWTFIzRopa0KPk.gif?scale-down-to=512&width=650&height=650\",\"https://framerusercontent.com/images/sEobQuJsClNnP0duNjdba8a5nVE.gif?scale-down-to=512&width=1000&height=1000\",\"https://framerusercontent.com/images/wQIaMnCoicitRp7sol1gqmD9M.gif?scale-down-to=512&width=1000&height=1000\",\"https://framerusercontent.com/images/5aQHMXYkoe3xxsUyXJ3SzFHdGHs.gif?scale-down-to=512&width=1000&height=1000\"];export function withRandomGif(Component){return props=>{const[currentGif,setCurrentGif]=useState(gifs[0]);useEffect(()=>{const randomIndex=Math.floor(Math.random()*gifs.length);setCurrentGif(gifs[randomIndex]);},[]);return /*#__PURE__*/_jsx(\"img\",{...props,src:currentGif,style:{...props.style,objectFit:\"cover\"},alt:\"Random Emoji\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRandomGif\":{\"type\":\"reactHoc\",\"name\":\"withRandomGif\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RandomEmoji.map"],"mappings":"yHAAyhB,SAAgB,EAAc,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAW,GAAeA,EAAS,EAAK,EAAE,EAAgH,OAA9G,MAAc,CAAC,IAAM,EAAY,KAAK,MAAM,KAAK,OAAO,EAAE,EAAK,MAAM,EAAE,EAAc,EAAK,EAAY,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,GAAG,EAAM,IAAI,EAAW,MAAM,CAAC,GAAG,EAAM,MAAM,UAAU,OAAO,EAAE,IAAI,cAAc,CAAC,CAAE,CAAE,mBAA/zB,IAAsC,EAAO,EAAK,CAAC,6GAA6G,gHAAgH,8GAA8G,+GAA+G"}