{"version":3,"file":"HandleLogoRedirection.DJ3hAMoq.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":"wIAA0C,EAAc,EAAsB,GAAmB,GAAO,CAAC,IAAM,EAAY,GAAG,CAAC,EAAE,eAAe,EAChJ,aAAa,QAAQ,iBAAiB,EAAO,SAAS,QAAQ,EAC9D,EAAO,SAAS,KAAK,KAAM,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,CAAW,CAAC,CAAE"}