{"version":3,"file":"ScrollOnHash_ManualSolar_Comprar.CyKAl101.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mOLcmOtDziv8GfpSBMEC/IqivoBF4hz9HGhtdhfXv/ScrollOnHash_ManualSolar_Comprar.js"],"sourcesContent":["// ScrollOnHash.jsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function ScrollOnHash(){useEffect(()=>{// Espera medio segundo para que la página cargue\nconst timer=setTimeout(()=>{if(window.location.hash){const id=window.location.hash.replace(\"#\",\"\");const element=document.getElementById(id);if(element){element.scrollIntoView({behavior:\"smooth\"});}}},500);return()=>clearTimeout(timer);},[]);// Devolvemos un div invisible para que Framer permita arrastrarlo al canvas\nreturn /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"ScrollOnHash\":{\"type\":\"reactComponent\",\"name\":\"ScrollOnHash\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollOnHash_ManualSolar_Comprar.map"],"mappings":"mMACwE,SAAgB,GAAc,CAEtG,OAFuG,MAAc,CACrH,IAAM,EAAM,eAAe,CAAC,GAAG,EAAO,SAAS,KAAK,CAAC,IAAM,EAAG,EAAO,SAAS,KAAK,QAAQ,IAAI,IAAU,EAAQ,SAAS,eAAe,GAAO,GAAS,EAAQ,eAAe,CAAC,SAAS,SAAS,CAAI,CAAC,EAAC,KAAK,UAAU,aAAa,EAAQ,EAAC,EAAE,EAC5N,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,CAAC,CAAG"}