{"version":3,"file":"Return_Key.Bko1fSSC.mjs","names":[],"sources":["https:/framerusercontent.com/modules/DlwxblIQFzq0f0NLCdJJ/9fIQZ6r3wqOR4G6plVIw/Return_Key.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{forwardRef}from\"react\";export function withReturnKeyRedirect(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{const handleKeyDown=event=>{if(event.key===\"Enter\"){window.location.href=\"https://app.montra.com/signup\";}};window.addEventListener(\"keydown\",handleKeyDown);return()=>{window.removeEventListener(\"keydown\",handleKeyDown);};},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withReturnKeyRedirect\":{\"type\":\"reactHoc\",\"name\":\"withReturnKeyRedirect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Return_Key.map"],"mappings":"uIAAsG,SAAgB,EAAsB,EAAU,CAAC,OAAoB,GAAY,EAAM,KAAO,MAAc,CAAC,IAAM,EAAc,GAAO,CAAI,EAAM,MAAM,UAAS,EAAO,SAAS,KAAK,kCAAoF,OAAjD,EAAO,iBAAiB,UAAU,EAAc,KAAW,CAAC,EAAO,oBAAoB,UAAU,EAAc,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,CAAC,EAAG,sBAArc,IAA6B"}