Liferay.Loader.define("translation-web@2.0.69/js/translate/components/TranslateActionBar/TranslateLanguagesSelector",["module","exports","require","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$react","./LanguageSelector"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=u(t("@frontend-taglib-clay$clayui/layout")),n=u(t("liferay!frontend-js-react-web$react")),r=u(t("./LanguageSelector"));function u(e){return e&&e.__esModule?e:{default:e}}var o=({confirmChangesBeforeReload:e,sourceAvailableLanguages:a,sourceLanguageId:t,targetAvailableLanguages:u,targetLanguageId:o})=>{const g=(a,t)=>{e({sourceLanguageId:a,targetLanguageId:t})};return n.default.createElement(l.default.ContentRow,{className:"languages-selector",verticalAlign:"center"},n.default.createElement(l.default.ContentCol,null,Liferay.Language.get("translate-from")),n.default.createElement(l.default.ContentCol,null,n.default.createElement(r.default,{languageIds:a,onChange:e=>{g(e,o)},selectedLanguageId:t})),n.default.createElement(l.default.ContentCol,null,Liferay.Language.get("to").toLowerCase()),n.default.createElement(l.default.ContentCol,null,n.default.createElement(r.default,{languageIds:u,onChange:e=>{g(t,e)},selectedLanguageId:o})))};a.default=o}}));
//# sourceMappingURL=TranslateLanguagesSelector.js.map