{"version":3,"file":"HandleLogoRedirection.DXAw3v9F.mjs","names":[],"sources":["https:/framerusercontent.com/modules/J6CycpSJz5eNnyPhQ96U/422i1nmEZlVZXzenFdEX/HandleLogoRedirection.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export const handleLogoRedirection=Component=>{return props=>{const handleClick=e=>{e.preventDefault();// Sauvegarde l'URL actuelle avant redirection\nlocalStorage.setItem(\"lastVisitedUrl\",window.location.pathname);// Redirection vers home\nwindow.location.href=\"../\";};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};};\nexport const __FramerMetadata__ = {\"exports\":{\"handleLogoRedirection\":{\"type\":\"reactHoc\",\"name\":\"handleLogoRedirection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HandleLogoRedirection.map"],"mappings":"0LAAwD,EAAsB,GAAmB,GAAO,CAAC,IAAM,EAAY,GAAG,CAAC,EAAE,iBACjI,aAAa,QAAQ,iBAAiB,EAAO,SAAS,UACtD,EAAO,SAAS,KAAK,KAAO,EAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,CAAG"}