{"version":3,"file":"ReloadPage.B6eToEc7.mjs","names":[],"sources":["https:/framerusercontent.com/modules/1XTlREvuFWhEbukCLrWq/s0N3ZX7mOJnG5KrNy9Sd/ReloadPage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function ReloadPageOnClick(Component){return props=>{const handleClick=event=>{// 1. Fire any existing click events the component might have\nif(props.onClick){props.onClick(event);}// 2. Reload the page immediately\nwindow.location.reload();};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"ReloadPageOnClick\":{\"type\":\"reactHoc\",\"name\":\"ReloadPageOnClick\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ReloadPage.map"],"mappings":"kHAA2C,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAY,GAAO,CAC7H,EAAM,SAAS,EAAM,QAAQ,EAAM,CACtC,EAAO,SAAS,QAAQ,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAC,uBAFlD"}