{"version":3,"file":"WithQueryRedirect.CEphfICm.mjs","names":[],"sources":["https:/framerusercontent.com/modules/zBmySsk4byuQPv3q8Yub/ZUH2oGxwjfWGOBck1nlw/WithQueryRedirect.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withQueryRedirect(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const handleClick=e=>{e.preventDefault();e.stopPropagation();if(props.link){window.location.replace(props.link);}};return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:handleClick});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withQueryRedirect\":{\"type\":\"reactHoc\",\"name\":\"withQueryRedirect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithQueryRedirect.map"],"mappings":"gIAAyE,SAAgB,EAAkB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAY,GAAG,CAAC,EAAE,eAAe,EAAE,EAAE,gBAAgB,EAAK,EAAM,MAAM,EAAO,SAAS,QAAQ,EAAM,IAAI,CAAG,EAAE,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,QAAQ,CAAW,CAAC,CAAE,CAAC,CAAE,qBAA1T,IAA8B"}