Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/app/components/app-hooks/useLanguageDirection",["module","exports","require","liferay!frontend-js-react-web$react","../../contexts/StoreContext","../../selectors/selectLanguageId"],(function(e,t,o){var a;window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=(0,n.useSelector)(c.default);(0,r.useEffect)((()=>{const t=Liferay.Language.direction[e],o=document.getElementById("wrapper");o&&(o.dir=t,o.lang=e)}),[e])};var r=o("liferay!frontend-js-react-web$react"),n=o("../../contexts/StoreContext"),c=(a=o("../../selectors/selectLanguageId"))&&a.__esModule?a:{default:a}}));
//# sourceMappingURL=useLanguageDirection.js.map