{"version":3,"file":"WithSlideFromRightttt.DXx5x2fd.mjs","names":["useState","useRef","useState","useState"],"sources":["https:/framerusercontent.com/modules/XEAFXGF6nF0Vl30G2d3A/S6QVDBHfFZgSuUuX9Fdy/BilingualText.js","https:/framerusercontent.com/modules/7XlM1U8pISNI3c25utO3/DOzGP8nXV2dAoDvEByrR/Derecha_a_izquierda.js","https:/framerusercontent.com/modules/cy4TwDBKgD124zNGWsuB/XFgTf7fNG5agUe1wUgzn/WithSlideFromRightttt.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{useLanguage}from\"https://framerusercontent.com/modules/QriWEv2o0RvZgtp6i8Ql/ZlTzxQLTWIGCe9C5pzDO/LanguageContext.js\";export const translations={// ========================================\n// HOME — HERO\n// ========================================\n\"PROYECTOS CON ALMA\":\"PROJECTS WITH SOUL\",\"Colaboramos con desarrolladores, inversionistas y empresas para crear espacios inmobiliarios, comerciales y corporativos con impacto, identidad y valor a largo plazo.\":\"We collaborate with developers, investors, and companies to create real estate, commercial, and corporate spaces with impact, identity, and long-term value.\",// ========================================\n// HOME — STATEMENT\n// ========================================\n\"Creemos en proyectos que respetan su contexto, enriquecen comunidades y generan valor para quienes los habitan, los operan y los invierten.\":\"We believe in projects that respect their context, enrich communities and generate value for those who live in them, operate them and invest in them.\",// Variante con saltos de línea (usada por ImagenQueCrece)\n\"Creemos en proyectos\\nque respetan su contexto,\\nenriquecen comunidades\\ny generan valor para\\nquienes los habitan, los\\noperan y los invierten.\":\"We believe in projects\\nthat respect their context,\\nenrich communities\\nand generate value for\\nthose who live in them,\\noperate them and invest in them.\",\"Espacios concebidos para permanecer.\":\"Spaces designed to last.\",// ========================================\n// NAVEGACIÓN / ETIQUETAS\n// ========================================\n\"ACERCA DE\":\"ABOUT\",\"POR QU\\xc9 METRIC\":\"WHY METRIC\",PROYECTOS:\"PROJECTS\",MANIFIESTO:\"MANIFESTO\",// ========================================\n// ACERCA DE — INTRO\n// ========================================\n\"Durante m\\xe1s de una d\\xe9cada, en Metric Development hemos colaborado con inversionistas visionarios y l\\xedderes de industria para desarrollar proyectos que transforman la manera en que habitamos, vivimos y conectamos con nuestro entorno.\":\"For over a decade, at Metric Development we have collaborated with visionary investors and industry leaders to develop projects that transform the way we inhabit, live, and connect with our surroundings.\",// Variante anterior por compatibilidad\n\"Durante m\\xe1s de 12 a\\xf1os, en Metric Development hemos colaborado con inversionistas visionarios y l\\xedderes de industria para desarrollar proyectos que transforman la manera en que habitamos, vivimos y conectamos con nuestro entorno.\":\"For over 12 years, at Metric Development we have collaborated with visionary investors and industry leaders to develop projects that transform the way we inhabit, live, and connect with our surroundings.\",// ========================================\n// ACERCA DE — TEXTO INTRO\n// ========================================\n\"Integramos visi\\xf3n estrat\\xe9gica, dise\\xf1o y experiencia en desarrollo para convertir ideas en espacios con identidad, prop\\xf3sito y valor duradero.\":\"We integrate strategic vision, design, and development experience to turn ideas into spaces with identity, purpose, and lasting value.\",\"Cada proyecto es abordado desde una perspectiva \\xfanica, entendiendo su contexto, reconociendo su potencial y construyendo soluciones pensadas para trascender.\":\"Each project is approached from a unique perspective, understanding its context, recognizing its potential, and building solutions designed to endure.\",// ========================================\n// ACERCA DE — POR QUÉ METRIC\n// ========================================\n\"C\\xd3MO TRABAJAMOS\":\"HOW WE WORK\",\"ARQUITECTURA QUE INSPIRA\":\"ARCHITECTURE THAT INSPIRES\",\"Nuestro mantra es la esencia de c\\xf3mo pensamos, c\\xf3mo trabajamos y por qu\\xe9 nuestros aliados conf\\xedan en nosotros para construir proyectos con alma.\":\"Our mantra is the essence of how we think, how we work, and why our partners trust us to build projects with soul.\",// ========================================\n// MANTRA\n// ========================================\n\"Observar el lugar. Entender su potencial. Definir una visi\\xf3n clara. Dise\\xf1ar con intenci\\xf3n. Construir con precisi\\xf3n. Crear espacios que hagan sentido. Cumplir lo que prometemos. Construir un legado.\":\"Observe the place. Understand its potential. Define a clear vision. Design with intention. Build with precision. Create spaces that make sense. Deliver what we promise. Build a legacy.\",\"Observar el lugar.\\nEntender su potencial.\\nDefinir una visi\\xf3n clara.\\nDise\\xf1ar con intenci\\xf3n.\\nConstruir con precisi\\xf3n.\\nCrear espacios que hagan sentido.\\nCumplir lo que prometemos.\\nConstruir un legado.\":\"Observe the place.\\nUnderstand its potential.\\nDefine a clear vision.\\nDesign with intention.\\nBuild with precision.\\nCreate spaces that make sense.\\nDeliver what we promise.\\nBuild a legacy.\",\"Observar el lugar.Entender su potencial.Definir una visi\\xf3n clara.Dise\\xf1ar con intenci\\xf3n.Construir con precisi\\xf3n.Crear espacios que hagan sentido.Cumplir lo que prometemos.Construir un legado.\":\"Observe the place. Understand its potential. Define a clear vision. Design with intention. Build with precision. Create spaces that make sense. Deliver what we promise. Build a legacy.\",// ========================================\n// MÉTRICA / DESCRIPCIÓN\n// ========================================\n\"12+\":\"12+\",\"Dise\\xf1o, estrategia y rentabilidad converge en cada proyecto para crear espacios que generan valor para quienes los habitan, los operan y los invierten.\":\"Design, strategy, and profitability converge in every project to create spaces that generate value for those who live in them, operate them, and invest in them.\",\"Dise\\xf1o, estrategia y rentabilidad convergen en cada proyecto para crear espacios que generan valor para quienes los habitan, los operan y los invierten.\":\"Design, strategy, and profitability converge in every project to create spaces that generate value for those who live in them, operate them, and invest in them.\",// Variante con saltos manuales\n\"Dise\\xf1o, estrategia y rentabilidad\\nconvergen en cada proyecto para\\ncrear espacios que generan valor\\npara quienes los habitan, los\\noperan y los invierten.\":\"Design, strategy, and profitability converge in every project to create spaces that generate value for those who live in them, operate them, and invest in them.\",// Variante sin espacios entre líneas (texto pegado tal cual llega del DOM)\n\"Dise\\xf1o, estrategia y rentabilidadconvergen en cada proyecto paracrear espacios que generan valorpara quienes los habitan, losoperan y los invierten.\":\"Design, strategy, and profitability converge in every project to create spaces that generate value for those who live in them, operate them, and invest in them.\",// ========================================\n// ACERCA DE — NUESTROS SERVICIOS\n// ========================================\n\"Nuestros Servicios\":\"Our Services\",\"Desde el an\\xe1lisis inicial del terreno hasta la construcci\\xf3n y comercializaci\\xf3n, gestionamos cada etapa del proceso de desarrollo con visi\\xf3n y disciplina.\":\"From initial land analysis through construction and sales, we manage every stage of the development process with vision and discipline.\",// Ambas variantes\n\"ver servicios\":\"view services\",\"Ver servicios\":\"View services\",\"VER SERVICIOS\":\"VIEW SERVICES\",// ========================================\n// SERVICIOS\n// ========================================\n\"An\\xe1lisis del Terreno\":\"Land Analysis\",\"Inteligencia de Mercado\":\"Market Intelligence\",\"Definici\\xf3n del Proyecto Dise\\xf1o\":\"Project & Design Definition\",\"Concepto del Proyecto\":\"Project Concept\",Branding:\"Branding\",\"Estructuraci\\xf3n Financiera\":\"Financial Structuring\",\"Estrategia de Desarrollo\":\"Development Strategy\",\"Estrategia Comercial\":\"Sales Strategy\",\"Planeaci\\xf3n Arquitect\\xf3nica\":\"Architectural Planning\",\"Permisos y Autorizaciones\":\"Permits & Authorizations\",\"Gesti\\xf3n de la Construcci\\xf3n\":\"Construction Management\",\"Coordinaci\\xf3n de Ventas\":\"Sales Coordination\",\"Reportes para Inversionistas\":\"Investor Reporting\",// ========================================\n// ACERCA DE — INSIGHTS / BLOG\n// ========================================\n\"Ideas que inspiran la manera en que desarrollamos.\":\"Ideas that inspire the way we develop.\",\"Arquitectura, inversi\\xf3n, dise\\xf1o y tendencias que dan forma a nuestros proyectos.\":\"Architecture, investment, design, and trends that shape our projects.\",// Variante con doble espacio\n\"Arquitectura, inversi\\xf3n, dise\\xf1o y tendencias que  dan forma a nuestros proyectos.\":\"Architecture, investment, design, and trends that shape our projects.\",// Variante con salto manual\n\"Arquitectura, inversi\\xf3n, dise\\xf1o y tendencias que\\ndan forma a nuestros proyectos.\":\"Architecture, investment, design, and trends that shape our projects.\",// ========================================\n// INSIGHTS — TEXTO COMBINADO\n// ========================================\n\"Ideas que inspiran la manera en que desarrollamos. Arquitectura, inversi\\xf3n, dise\\xf1o y tendencias que dan forma a nuestros proyectos.\":\"Ideas that inspire the way we develop. Architecture, investment, design, and trends that shape our projects.\",\"Ideas que inspiran la manera en que desarrollamos.\\nArquitectura, inversi\\xf3n, dise\\xf1o y tendencias que dan forma a nuestros proyectos.\":\"Ideas that inspire the way we develop.\\nArchitecture, investment, design, and trends that shape our projects.\",\"Ideas que inspiran la manera en que desarrollamos.Arquitectura, inversi\\xf3n, dise\\xf1o y tendencias que  dan forma a nuestros proyectos.\":\"Ideas that inspire the way we develop. Architecture, investment, design, and trends that shape our projects.\",// ========================================\n// BLOG\n// ========================================\n\"Inversi\\xf3n | junio 2, 2026\":\"Investment | June 2, 2026\",\"LOS CABOS: DONDE SE ENCUENTRAN EL PAISAJE, LA ARQUITECTURA Y LA INVERSI\\xd3N\":\"LOS CABOS: WHERE LANDSCAPE, ARCHITECTURE, AND INVESTMENT MEET\",// Todas las variantes\n\"Ver entradas\":\"View entries\",\"ver entradas\":\"view entries\",\"VER ENTRADAS\":\"VIEW ENTRIES\",Entradas:\"Entries\",ENTRADAS:\"ENTRIES\",// ========================================\n// PROYECTOS\n// ========================================\n\"Proyectos recientes\":\"Recent projects\",\"Selecci\\xf3n de desarrollos residenciales, uso mixto y masterplans.\":\"A selection of residential, mixed-use, and masterplan developments.\",// ========================================\n// PROYECTOS — INTRO\n// ========================================\n\"A lo largo de m\\xe1s de una d\\xe9cada, hemos tenido el privilegio de desarrollar proyectos inmobiliarios en algunos de los destinos m\\xe1s relevantes y atractivos de M\\xe9xico.Cada uno representa nuestra forma de entender el desarrollo: con visi\\xf3n, prop\\xf3sito e integridad.\":\"Over more than a decade, we have had the privilege of developing real estate projects in some of Mexico's most relevant and attractive destinations. Each one represents our way of understanding development: with vision, purpose, and integrity.\",\"A lo largo de m\\xe1s de una d\\xe9cada, hemos tenido el privilegio de desarrollar proyectos inmobiliarios en algunos de los destinos m\\xe1s relevantes y atractivos de M\\xe9xico. Cada uno representa nuestra forma de entender el desarrollo: con visi\\xf3n, prop\\xf3sito e integridad.\":\"Over more than a decade, we have had the privilege of developing real estate projects in some of Mexico's most relevant and attractive destinations. Each one represents our way of understanding development: with vision, purpose, and integrity.\",\"A lo largo de m\\xe1s de una d\\xe9cada, hemos tenido el privilegio de desarrollar proyectos inmobiliarios en algunos de los destinos m\\xe1s relevantes y atractivos de M\\xe9xico.\\nCada uno representa nuestra forma de entender el desarrollo: con visi\\xf3n, prop\\xf3sito e integridad.\":\"Over more than a decade, we have had the privilege of developing real estate projects in some of Mexico's most relevant and attractive destinations.\\nEach one represents our way of understanding development: with vision, purpose, and integrity.\",// ========================================\n// CATEGORÍAS PROYECTOS\n// ========================================\n\"Proyectos Residenciales\":\"Residential Projects\"};/* ========================================\n    REEMPLAZAR TEXTO CONSERVANDO ESTILO\n======================================== */function setTextPreservingStyle(el,newText){const walker=document.createTreeWalker(el,NodeFilter.SHOW_TEXT);let isFirst=true;let node;while(node=walker.nextNode()){if(isFirst){node.nodeValue=newText;isFirst=false;}else{node.nodeValue=\"\";}}}/* ========================================\n    OVERRIDE BILINGÜE\n======================================== */export function withBilingualText(Component){return props=>{const[node,setNode]=useState(null);const originalRef=useRef(null);const{lang}=useLanguage();useEffect(()=>{if(!node)return;// Guardamos el texto original en español\nif(originalRef.current===null){originalRef.current=node.textContent||\"\";}const original=originalRef.current.trim();const translated=translations[original];const target=lang===\"en\"&&translated?translated:originalRef.current;setTextPreservingStyle(node,target);},[lang,node]);return /*#__PURE__*/_jsx(Component,{...props,ref:setNode});};}\nexport const __FramerMetadata__ = {\"exports\":{\"translations\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBilingualText\":{\"type\":\"reactHoc\",\"name\":\"withBilingualText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BilingualText.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function CrecerHaciaIzquierda(Component){return props=>{const[node,setNode]=useState(null);const[visible,setVisible]=useState(false);useEffect(()=>{if(!node)return;const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){setVisible(true);observer.disconnect();}},{threshold:.05,rootMargin:\"0px 0px -10% 0px\"});observer.observe(node);return()=>observer.disconnect();},[node]);return /*#__PURE__*/_jsx(Component,{...props,ref:setNode,style:{...props?.style,// Crece hacia la izquierda\ntransform:visible?\"scaleX(1)\":\"scaleX(0)\",// La punta derecha permanece fija\ntransformOrigin:\"right center\",transition:\"transform 1.8s cubic-bezier(.16,.84,.44,1)\",opacity:1,willChange:\"transform\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"CrecerHaciaIzquierda\":{\"type\":\"reactHoc\",\"name\":\"CrecerHaciaIzquierda\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Derecha_a_izquierda.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function CrecerHaciaDerecha(Component){return props=>{const[node,setNode]=useState(null);const[visible,setVisible]=useState(false);useEffect(()=>{if(!node)return;const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){setVisible(true);observer.disconnect();}},{// Comienza cuando una pequeña parte llega a la pantalla\nthreshold:.05,rootMargin:\"0px 0px -10% 0px\"});observer.observe(node);return()=>observer.disconnect();},[node]);return /*#__PURE__*/_jsx(Component,{...props,ref:setNode,style:{...props?.style,// No se mueve: crece desde la izquierda\ntransform:visible?\"scaleX(1)\":\"scaleX(0)\",// La punta izquierda permanece fija\ntransformOrigin:\"left center\",transition:\"transform 1.8s cubic-bezier(.16,.84,.44,1)\",opacity:1,willChange:\"transform\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"CrecerHaciaDerecha\":{\"type\":\"reactHoc\",\"name\":\"CrecerHaciaDerecha\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithSlideFromRightttt.map"],"mappings":"qLA0D2C,SAAS,EAAuB,EAAG,EAAQ,CAA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