{"version":3,"file":"DemoEnquiry.CWCYBPmT.mjs","names":["React.useState","__esmMin","init_npm_react_18_3_1","_e","p","c","J","init_jsx_runtime","withDemoEnquiry","tried","setTried","Component","props","event","init_DemoEnquiry"],"sources":["https:/framerusercontent.com/modules/QincAohcnQWEX0QqCDn0/N2KZF0BKYMaQwkTqjT4o/DemoEnquiry.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{forwardRef}from\"react\";export function withDemoEnquiry(Component){return /*#__PURE__*/forwardRef(function DemoEnquiry(props,ref){const[tried,setTried]=React.useState(false);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(Component,{...props,ref:ref,onSubmit:event=>{event.preventDefault();event.stopPropagation();setTried(true);}}),tried&&/*#__PURE__*/_jsx(\"p\",{role:\"status\",style:{fontFamily:\"Space Grotesk\",fontSize:16,lineHeight:1.5},children:\"Demo complete. No message has been sent or stored.\"})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDemoEnquiry\":{\"type\":\"reactHoc\",\"name\":\"withDemoEnquiry\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DemoEnquiry.map"],"mappings":"A,gIAAmH,SAAgBQ,EAAgB,EAAU,CAAC,MAAoB,gBAAW,SAAqB,EAAM,EAAI,CAAC,GAAK,CAACC,EAAMC,GAAUV,EAAe,EAAK,EAAE,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,MAAM,MAAM,EAAE,SAAS,CAAc,gBAAKW,EAAU,CAAC,GAAGC,EAAU,MAAI,SAAS,GAAO,CAACC,EAAM,eAAe,EAAEA,EAAM,gBAAgB,EAAEH,EAAS,EAAI,CAAE,CAAC,CAAC,EAAED,GAAoB,gBAAK,IAAI,CAAC,KAAK,SAAS,MAAM,CAAC,WAAW,gBAAgB,SAAS,GAAG,WAAW,GAAG,EAAE,SAAS,oDAAoD,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,C"}