{"version":3,"file":"Render.BeJkWwtF.mjs","names":["useState","React","_Fragment"],"sources":["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":"gUAEG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,KAAG,KAAG,KAAG,MAAI,EAAW,CAAC,EAAO,GAAWA,EAAS,KAAK,CAAoV,GAAnV,MAAc,CAAC,IAAM,EAAa,aAAa,QAAQ,SAAS,EAAE,KAAK,EAAU,EAAa,CAAC,IAAM,MAAwB,CAAC,IAAM,EAAc,aAAa,QAAQ,SAAS,EAAE,KAAK,EAAU,EAAc,EAA0D,OAAvD,EAAO,iBAAiB,UAAU,EAAoB,KAAW,EAAO,oBAAoB,UAAU,EAAoB,EAAG,EAAE,CAAC,CAAI,CAAC,EAAO,OAAO,KAC7c,SAAS,GAAM,CAAC,OAAO,EAAP,CAAe,IAAI,KAAK,OAAO,EAAG,IAAI,KAAK,OAAO,EAAG,IAAI,KAAK,OAAO,EAAG,QAAQ,OAAO,GAAK,IAAM,EAAU,CAAC,OAAO,OAAO,MAAM,OAAO,CAAO,EAAQ,GAAM,CAAO,EAAcC,EAAM,SAAS,IAAI,EAAQ,GAAoB,EAAM,aAAa,EAAM,CAAC,MAAM,EAAU,CAAC,CAAC,CAAC,OAAoB,EAAKC,EAAU,CAAC,SAAS,EAAc,CAAC,sBAH1R,IAAsC,IAAoD,CAK3J,EAAoB,EAAO,CAAC,GAAG,CAAC,KAAK,EAAY,kBAAkB,CAAC,GAAG,CAAC,KAAK,EAAY,kBAAkB,CAAC,CAAC"}