{"version":3,"file":"RTL_Support.V98AC_I4.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"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":"2KAA6E,SAAgB,EAAQ,EAAU,CAAiC,IAAM,EAAtB,GAAe,GAAyB,QAAQ,MAAM,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,mBAAlhB,IAAkC,IAA4P,CAAwP,EAAY,YAAY"}