{"version":3,"file":"Card.0KfyNYxT.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/w2N4TuxR5w936q24Bgyc/tLxKoS3ImUZYdcSxlS8t/Card.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useLayoutEffect,useRef}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Card(props){const[windowWidth,setWindowWidth]=useState(window?window.innerWidth:0);const timerRef=useRef();useLayoutEffect(()=>{const updateSize=()=>{window.clearTimeout(timerRef.current);timerRef.current=window.setTimeout(()=>setWindowWidth(window.innerWidth),500);};window.addEventListener(\"resize\",updateSize);return()=>{window.removeEventListener(\"resize\",updateSize);window.clearTimeout(timerRef.current);};},[]);const style={height:\"100px\",width:Math.max((windowWidth-Math.min(windowWidth,1150))/2-30,0)};return /*#__PURE__*/_jsx(\"div\",{style:style});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Card\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Card.map"],"mappings":"oIAMG,SAAwB,EAAK,EAAM,CAAC,GAAK,CAAC,EAAY,GAAgBA,EAAS,EAAO,EAAO,WAAW,CAAC,EAAQ,EAASC,EAAO,EAAsZ,OAApZ,MAAoB,CAAC,IAAM,MAAe,CAAC,EAAO,aAAa,EAAS,OAAO,EAAE,EAAS,QAAQ,EAAO,eAAe,EAAe,EAAO,UAAU,EAAE,GAAG,CAAE,EAA+C,OAA7C,EAAO,iBAAiB,SAAS,CAAU,MAAY,CAAC,EAAO,oBAAoB,SAAS,CAAU,EAAE,EAAO,aAAa,EAAS,OAAO,CAAE,CAAE,EAAE,CAAC,CAAC,EAAmH,EAAK,MAAM,CAAC,MAAM,CAAtH,OAAO,QAAQ,MAAM,KAAK,KAAK,EAAY,KAAK,IAAI,EAAY,IAAI,GAAG,EAAE,GAAG,CAAC,CAA6C,CAAC,CAAC,CAAE,qBAN9hB,IAAmD"}