{"version":3,"file":"HandleLogoRedirection.DXzeejdc.mjs","names":["__esmMin","window","init_jsx_runtime","c","init_ssg_sandbox_shims","handleLogoRedirection","init_HandleLogoRedirection","handleClick","Component","props"],"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":"A,8JAAwD,EAAsB,GAAmB,GAAO,CAAC,IAAMO,EAAY,GAAG,CAAC,EAAE,eAAe,EAChJ,aAAa,QAAQ,iBAAiBN,EAAO,SAAS,QAAQ,EAC9D,EAAO,SAAS,KAAK,KAAM,EAAE,MAAoB,gBAAKO,EAAU,CAAC,GAAGC,EAAM,QAAQF,CAAW,CAAC,CAAE,C"}