{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/KFjQ9zCwaMWzAagq9UrO/t0yBUPoUmgGvih1zQ0Mu/Render.js"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{ControlType,addPropertyControls}from\"framer\";import React from\"react\";/**\n * Render Component - Displays Content Based on Selected Language\n */export default function Render(props){const{en,ge,ru,ch}=props;const[chosen,setChosen]=useState(null);useEffect(()=>{const storedLocale=localStorage.getItem(\"locale\")||\"ge\";setChosen(storedLocale);const handleStorageChange=()=>{const updatedLocale=localStorage.getItem(\"locale\")||\"ge\";setChosen(updatedLocale);};window.addEventListener(\"storage\",handleStorageChange);return()=>window.removeEventListener(\"storage\",handleStorageChange);},[]);if(!chosen)return null// Prevent hydration errors\n;function lang(){switch(chosen){case\"ge\":return ge;case\"ru\":return ru;case\"ch\":return ch;default:return en;}}const holaStyle={height:\"100%\",width:\"100%\"};const display=lang();const styledDisplay=React.Children.map(display,child=>/*#__PURE__*/React.cloneElement(child,{style:holaStyle}));return /*#__PURE__*/_jsx(_Fragment,{children:styledDisplay});// return <div className=\"hola\">{display}</div>\n}// Property Controls for Framer\naddPropertyControls(Render,{en:{type:ControlType.ComponentInstance},ge:{type:ControlType.ComponentInstance}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Render\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Render.map"],
  "mappings": "8JAEkB,SAARA,EAAwBC,EAAM,CAAC,GAAK,CAAC,GAAAC,EAAG,GAAAC,EAAG,GAAAC,EAAG,GAAAC,CAAE,EAAEJ,EAAW,CAACK,EAAOC,CAAS,EAAEC,EAAS,IAAI,EAAqV,GAAnVC,EAAU,IAAI,CAAC,IAAMC,EAAa,aAAa,QAAQ,QAAQ,GAAG,KAAKH,EAAUG,CAAY,EAAE,IAAMC,EAAoB,IAAI,CAAC,IAAMC,EAAc,aAAa,QAAQ,QAAQ,GAAG,KAAKL,EAAUK,CAAa,CAAE,EAAE,OAAAC,EAAO,iBAAiB,UAAUF,CAAmB,EAAQ,IAAIE,EAAO,oBAAoB,UAAUF,CAAmB,CAAE,EAAE,CAAC,CAAC,EAAK,CAACL,EAAO,OAAO,KAC7c,SAASQ,GAAM,CAAC,OAAOR,EAAO,CAAC,IAAI,KAAK,OAAOH,EAAG,IAAI,KAAK,OAAOC,EAAG,IAAI,KAAK,OAAOC,EAAG,QAAQ,OAAOH,CAAG,CAAC,CAAC,IAAMa,EAAU,CAAC,OAAO,OAAO,MAAM,MAAM,EAAQC,EAAQF,EAAK,EAAQG,EAAcC,EAAM,SAAS,IAAIF,EAAQG,GAAoBD,EAAM,aAAaC,EAAM,CAAC,MAAMJ,CAAS,CAAC,CAAC,EAAE,OAAoBK,EAAKC,EAAU,CAAC,SAASJ,CAAa,CAAC,CAC1V,CACAK,EAAoBtB,EAAO,CAAC,GAAG,CAAC,KAAKuB,EAAY,iBAAiB,EAAE,GAAG,CAAC,KAAKA,EAAY,iBAAiB,CAAC,CAAC",
  "names": ["Render", "props", "en", "ge", "ru", "ch", "chosen", "setChosen", "ye", "ue", "storedLocale", "handleStorageChange", "updatedLocale", "window", "lang", "holaStyle", "display", "styledDisplay", "e", "child", "p", "l", "addPropertyControls", "ControlType"]
}
