{"version":3,"file":"RTL_Support.CXPcupB9.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx","__esmMin","init_npm_react_18_3_1","oe","init_jsx_runtime","c","init_framer_Bf4_tcb2","DataObserverContext","useLocaleCode","withRTL","isRTL","withwithRTL","C","props","init_RTL_Support"],"sources":["https:/framerusercontent.com/modules/ijafWDCxt4au2eh1WRHY/0ZNYkYw9WiDxxDIx5Fd0/RTL_Support.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useLocaleCode}from\"framer\";export function withRTL(Component){const localCode=useLocaleCode();const isRTL=localCode===\"ar-IQ\";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\":{\"withwithRTL\":{\"type\":\"reactHoc\",\"name\":\"withwithRTL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRTL\":{\"type\":\"override\",\"name\":\"withRTL\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RTL_Support.map"],"mappings":"A,2KAA6E,SAAgBU,EAAQ,EAAU,CAAiC,IAAMC,EAAtBF,EAAoC,IAAI,QAAQ,MAAM,CAAC,MAAM,CAAC,UAAUE,EAAM,MAAM,MAAM,UAAUA,EAAM,QAAQ,OAAO,MAAM,MAAM,CAAC,CAAE,CAAoJ,SAAgBC,EAAY,EAAE,CAAC,MAAO,KAAQR,EAA+BJ,CAAuC,EAASC,EAAKY,EAAE,CAAC,GAAGC,EAAM,GAAGJ,EAAQI,CAAK,CAAC,CAAC,EAAI,C,0CAAC,EAAY,YAAY,S"}