{"version":3,"file":"Blog_rtl.DKANbBd5.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/YO3WK1C0zelEV45MFIaX/RWwZmex0fwn13pwdjAvq/Blog_rtl.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useLocaleCode}from\"framer\";import{useEffect}from\"react\";export function withRTL(Component){const localCode=useLocaleCode();const isRTL=localCode===\"ar-IQ\";useEffect(()=>{if(isRTL){const styleTagId=\"rtl-list-styles\";if(!document.getElementById(styleTagId)){const style=document.createElement(\"style\");style.id=styleTagId;style.innerHTML=`\n                    ul.framer-text, ol.framer-text {\n                        padding-right: 3ch !important;\n                        padding-left: 0px !important;\n                    }\n                    ol.framer-text > li.framer-text {\n                        margin: 10px 0 !important;\n                    }\n                    ol.framer-text > li.framer-text::before {\n                        right: 0px !important;\n                    }\n                   ul.framer-text > li.framer-text {\n                        margin: 10px 0 !important;\n                    }\n                    ul.framer-text > li.framer-text::before {\n                        right: 0px !important;\n                    }\n                    blockquote::before {\n                        right: 0px !important;\n                    }\n                `;document.head.appendChild(style);}}},[isRTL]);return{style:{direction:isRTL?\"rtl\":\"ltr\",textAlign:isRTL?\"right\":\"left\",width:\"auto\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withwithRTL(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...withRTL(props)});};}withwithRTL.displayName=\"withRTL\";\nexport const __FramerMetadata__ = {\"exports\":{\"withRTL\":{\"type\":\"override\",\"name\":\"withRTL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withwithRTL\":{\"type\":\"reactHoc\",\"name\":\"withwithRTL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Blog_rtl.map"],"mappings":"mLAA0G,SAAgB,EAAQ,EAAU,CAAiC,IAAM,EAAtB,GAAe,GAAyB,QAoBrI,OApB6I,MAAc,CAAC,GAAG,EAAM,CAAC,IAAM,EAAW,kBAAkB,GAAG,CAAC,SAAS,eAAe,EAAW,CAAC,CAAC,IAAM,EAAM,SAAS,cAAc,QAAQ,CAAC,EAAM,GAAG,EAAW,EAAM,UAAU;;;;;;;;;;;;;;;;;;;;kBAoBhX,SAAS,KAAK,YAAY,EAAM,IAAK,CAAC,EAAM,CAAC,CAAO,CAAC,MAAM,CAAC,UAAU,EAAM,MAAM,MAAM,UAAU,EAAM,QAAQ,OAAO,MAAM,OAAO,CAAC,CAAqJ,SAAgB,EAAY,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAQ,EAAM,CAAC,CAAC,mBApBla,IAAkC,IAA6B,CAoBuW,EAAY,YAAY"}