{"version":3,"file":"CaptureButtonCode.hwuvddG2.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/3pgMLWoceZpbIT4gzIr7/nO0vVkZckjo5cTgsMlhv/CaptureButtonCode.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function CaptureButton(props){const{link}=props;const[isHovered,setIsHovered]=useState(false);const handleClick=()=>{if(typeof window!==\"undefined\"&&window.posthog){window.posthog.capture(\"join_button_clicked\",{location:\"homepage\"});}};return /*#__PURE__*/_jsx(\"a\",{href:link,onClick:handleClick,onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:200,height:87,backgroundColor:isHovered?\"#F5C518\":\"#FFFFFF\",color:\"#000000\",fontSize:40,fontWeight:700,textDecoration:\"none\",fontFamily:\"inherit\",transition:\"background-color 0.2s ease\",cursor:\"pointer\",boxSizing:\"border-box\"},children:\"join\"});}addPropertyControls(CaptureButton,{link:{type:ControlType.Link,title:\"Link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CaptureButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CaptureButtonCode.map"],"mappings":"wLAA2H,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,EAAW,CAAC,EAAU,GAAcA,EAAS,GAAM,CAA+I,OAAoB,EAAK,IAAI,CAAC,KAAK,EAAK,YAAhK,CAAW,IAAS,QAAa,EAAO,SAAS,EAAO,QAAQ,QAAQ,sBAAsB,CAAC,SAAS,WAAW,CAAC,EAAgE,iBAAiB,EAAa,GAAK,CAAC,iBAAiB,EAAa,GAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,MAAM,IAAI,OAAO,GAAG,gBAAgB,EAAU,UAAU,UAAU,MAAM,UAAU,SAAS,GAAG,WAAW,IAAI,eAAe,OAAO,WAAW,UAAU,WAAW,6BAA6B,OAAO,UAAU,UAAU,aAAa,CAAC,SAAS,OAAO,CAAC,sBAA5wB,IAA4B,IAAoD,CAA8rB,EAAoB,EAAc,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,CAAC,CAAC"}