Liferay.Loader.define("portal-search-web@6.0.114/js/shared/LearnMessage",["module","exports","require","@frontend-taglib-clay$clayui/link","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function LearnMessage({className:e,learnMessages:a={},resourceKey:r}){const s=a[r]||{en_US:{}},u=s[Liferay.ThemeDisplay.getLanguageId()]||s[Liferay.ThemeDisplay.getDefaultLanguageId()]||s[Object.keys(s)[0]];if(u.url)return l.default.createElement(t.default,{className:(0,n.default)("learn-message",e),href:u.url,rel:"noopener noreferrer",target:"_blank"},u.message);return l.default.createElement(l.default.Fragment,null)};var t=_interopRequireDefault(r("@frontend-taglib-clay$clayui/link")),n=_interopRequireDefault(r("liferay!frontend-js-react-web$classnames")),l=_interopRequireDefault(r("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=LearnMessage.js.map