{"version":3,"file":"UseIsDesktop.2JaC1tTZ.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/3dki8s131yYzYC1OUV8O/yMzcOHVy6s1fwfpQl08d/UseIsDesktop.js"],"sourcesContent":["import{useEffect,useState}from\"react\";const DESKTOP_BP=768;export default function useIsDesktop(){const[isDesktop,setIsDesktop]=useState(()=>typeof window!==\"undefined\"&&window.innerWidth>=DESKTOP_BP);useEffect(()=>{const handler=()=>setIsDesktop(window.innerWidth>=DESKTOP_BP);window.addEventListener(\"resize\",handler);return()=>window.removeEventListener(\"resize\",handler);},[]);return isDesktop;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UseIsDesktop.map"],"mappings":"yHAA2D,SAAwB,GAAc,CAAC,GAAK,CAAC,EAAU,GAAcA,MAAoB,IAAS,QAAa,EAAO,YAAY,CAAU,EAAsL,OAApL,MAAc,CAAC,IAAM,MAAY,EAAa,EAAO,YAAY,CAAU,EAA4C,OAA1C,EAAO,iBAAiB,SAAS,CAAO,MAAY,EAAO,oBAAoB,SAAS,CAAO,CAAE,EAAE,CAAC,CAAC,EAAS,CAAU,uBAAzW,EAAO,EAAW"}