{"version":3,"file":"MenuGo.CC2OuIgl.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/KsLpJYdqHnlMOaYsDPI3/725PcnBFPuwg2pox8rZJ/MenuGo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const POSITIONS=[8900,9500,10100,10700,11300,11900,12500,13100];function getOffset(){if(typeof window===\"undefined\")return 0;return window.innerWidth>=1728?+100:0;}function goTo(index){const isHome=window.location.pathname===\"/\"||window.location.pathname===\"/index\";if(isHome){window.scrollTo({top:POSITIONS[index]+getOffset(),behavior:\"smooth\"});lockClicks();}else{sessionStorage.setItem(\"scrollTarget\",String(index));window.location.href=\"/\";}}function lockClicks(){const overlay=document.createElement(\"div\");overlay.id=\"scroll-lock-overlay\";overlay.style.cssText=`\n        position: fixed;\n        inset: 0;\n        z-index: 99999;\n        cursor: default;\n    `;document.body.appendChild(overlay);let scrollTimeout;const onScroll=()=>{clearTimeout(scrollTimeout);scrollTimeout=setTimeout(()=>{window.removeEventListener(\"scroll\",onScroll);overlay.remove();},150)// 150ms sin scroll = ha terminado\n;};window.addEventListener(\"scroll\",onScroll,{passive:true});// Fallback: máximo 2 segundos\nsetTimeout(()=>{window.removeEventListener(\"scroll\",onScroll);overlay.remove();},2e3);}if(typeof window!==\"undefined\"){window.addEventListener(\"load\",()=>{// Soluciones\nconst target=sessionStorage.getItem(\"scrollTarget\");if(target!==null){sessionStorage.removeItem(\"scrollTarget\");setTimeout(()=>{window.scrollTo({top:POSITIONS[Number(target)]+getOffset(),behavior:\"smooth\"});},800);}// Audiencias\nconst audiencias=sessionStorage.getItem(\"scrollAudiencias\");if(audiencias!==null){sessionStorage.removeItem(\"scrollAudiencias\");setTimeout(()=>{window.scrollTo({top:2800,behavior:\"smooth\"});},800);}});}// Menú lateral de sección\nexport function MenuItem0(){return{onClick:()=>goTo(0)};}export function MenuItem1(){return{onClick:()=>goTo(1)};}export function MenuItem2(){return{onClick:()=>goTo(2)};}export function MenuItem3(){return{onClick:()=>goTo(3)};}export function MenuItem4(){return{onClick:()=>goTo(4)};}export function MenuItem5(){return{onClick:()=>goTo(5)};}export function MenuItem6(){return{onClick:()=>goTo(6)};}export function MenuItem7(){return{onClick:()=>goTo(7)};}// Menú de navegación principal (popup)\nexport function NavItem0(){return{onClick:()=>goTo(0)};}export function NavItem1(){return{onClick:()=>goTo(1)};}export function NavItem2(){return{onClick:()=>goTo(2)};}export function NavItem3(){return{onClick:()=>goTo(3)};}export function NavItem4(){return{onClick:()=>goTo(4)};}export function NavItem5(){return{onClick:()=>goTo(5)};}export function NavItem6(){return{onClick:()=>goTo(6)};}export function NavItem7(){return{onClick:()=>goTo(7)};}export function NavAudiencias(){return{onClick:e=>{const width=window.innerWidth;if(width>=810){e?.preventDefault();window.scrollTo({top:2800,behavior:\"smooth\"});const isHome=window.location.pathname===\"/\"||window.location.pathname===\"/index\";if(isHome){window.scrollTo({top:2800,behavior:\"smooth\"});}else{sessionStorage.setItem(\"scrollAudiencias\",\"true\");window.location.href=\"/\";}}}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withMenuItem0(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem0(props)});};}withMenuItem0.displayName=\"MenuItem0\";export function withMenuItem1(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem1(props)});};}withMenuItem1.displayName=\"MenuItem1\";export function withMenuItem2(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem2(props)});};}withMenuItem2.displayName=\"MenuItem2\";export function withMenuItem3(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem3(props)});};}withMenuItem3.displayName=\"MenuItem3\";export function withMenuItem4(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem4(props)});};}withMenuItem4.displayName=\"MenuItem4\";export function withMenuItem5(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem5(props)});};}withMenuItem5.displayName=\"MenuItem5\";export function withMenuItem6(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem6(props)});};}withMenuItem6.displayName=\"MenuItem6\";export function withMenuItem7(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...MenuItem7(props)});};}withMenuItem7.displayName=\"MenuItem7\";export function withNavItem0(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem0(props)});};}withNavItem0.displayName=\"NavItem0\";export function withNavItem1(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem1(props)});};}withNavItem1.displayName=\"NavItem1\";export function withNavItem2(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem2(props)});};}withNavItem2.displayName=\"NavItem2\";export function withNavItem3(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem3(props)});};}withNavItem3.displayName=\"NavItem3\";export function withNavItem4(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem4(props)});};}withNavItem4.displayName=\"NavItem4\";export function withNavItem5(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem5(props)});};}withNavItem5.displayName=\"NavItem5\";export function withNavItem6(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem6(props)});};}withNavItem6.displayName=\"NavItem6\";export function withNavItem7(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavItem7(props)});};}withNavItem7.displayName=\"NavItem7\";export function withNavAudiencias(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...NavAudiencias(props)});};}withNavAudiencias.displayName=\"NavAudiencias\";\nexport const __FramerMetadata__ = {\"exports\":{\"MenuItem7\":{\"type\":\"override\",\"name\":\"MenuItem7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem3\":{\"type\":\"override\",\"name\":\"MenuItem3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem0\":{\"type\":\"override\",\"name\":\"NavItem0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem0\":{\"type\":\"override\",\"name\":\"MenuItem0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem4\":{\"type\":\"override\",\"name\":\"MenuItem4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem7\":{\"type\":\"reactHoc\",\"name\":\"withNavItem7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem1\":{\"type\":\"reactHoc\",\"name\":\"withNavItem1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem6\":{\"type\":\"reactHoc\",\"name\":\"withNavItem6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem0\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem0\":{\"type\":\"reactHoc\",\"name\":\"withNavItem0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem3\":{\"type\":\"reactHoc\",\"name\":\"withNavItem3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem2\":{\"type\":\"override\",\"name\":\"NavItem2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem5\":{\"type\":\"override\",\"name\":\"MenuItem5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem1\":{\"type\":\"override\",\"name\":\"MenuItem1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem7\":{\"type\":\"override\",\"name\":\"NavItem7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem4\":{\"type\":\"reactHoc\",\"name\":\"withNavItem4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem4\":{\"type\":\"override\",\"name\":\"NavItem4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem3\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem5\":{\"type\":\"reactHoc\",\"name\":\"withNavItem5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavItem2\":{\"type\":\"reactHoc\",\"name\":\"withNavItem2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem7\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem7\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem1\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem6\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem2\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem3\":{\"type\":\"override\",\"name\":\"NavItem3\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem5\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavAudiencias\":{\"type\":\"reactHoc\",\"name\":\"withNavAudiencias\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem6\":{\"type\":\"override\",\"name\":\"NavItem6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem5\":{\"type\":\"override\",\"name\":\"NavItem5\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMenuItem4\":{\"type\":\"reactHoc\",\"name\":\"withMenuItem4\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem6\":{\"type\":\"override\",\"name\":\"MenuItem6\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavItem1\":{\"type\":\"override\",\"name\":\"NavItem1\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NavAudiencias\":{\"type\":\"override\",\"name\":\"NavAudiencias\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MenuItem2\":{\"type\":\"override\",\"name\":\"MenuItem2\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MenuGo.map"],"mappings":"iLAA2G,SAAS,GAAW,CAAyC,OAA9B,IAAS,OAAmB,EAAS,EAAO,YAAY,KAAK,IAAK,EAAG,SAAS,EAAK,EAAM,CAAc,EAAO,SAAS,WAAW,KAAK,EAAO,SAAS,WAAW,UAAoB,EAAO,SAAS,CAAC,IAAI,EAAU,GAAO,GAAW,CAAC,SAAS,SAAS,CAAC,CAAC,GAAY,GAAO,eAAe,QAAQ,eAAe,OAAO,EAAM,CAAC,CAAC,EAAO,SAAS,KAAK,KAAM,SAAS,GAAY,CAAC,IAAM,EAAQ,SAAS,cAAc,MAAM,CAAC,EAAQ,GAAG,sBAAsB,EAAQ,MAAM,QAAQ;;;;;MAK5lB,SAAS,KAAK,YAAY,EAAQ,CAAC,IAAI,EAAoB,MAAa,CAAC,aAAa,EAAc,CAAC,EAAc,eAAe,CAAC,EAAO,oBAAoB,SAAS,EAAS,CAAC,EAAQ,QAAQ,EAAG,IAAI,EAC3M,EAAO,iBAAiB,SAAS,EAAS,CAAC,QAAQ,GAAK,CAAC,CAC5D,eAAe,CAAC,EAAO,oBAAoB,SAAS,EAAS,CAAC,EAAQ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