Liferay.Loader.define("portal-search-web@6.0.114/js/components/search_bar_configuration_suggestions/contributor_input_set_item/inputs/MinimumSearchesInput",["module","exports","require","@frontend-taglib-clay$clayui/form","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/tooltip","liferay!frontend-js-react-web$classnames","frontend-js-web","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=t("@frontend-taglib-clay$clayui/form"),r=_interopRequireDefault(t("@frontend-taglib-clay$clayui/icon")),n=t("@frontend-taglib-clay$clayui/tooltip"),u=_interopRequireDefault(t("liferay!frontend-js-react-web$classnames")),i=t("frontend-js-web"),o=_interopRequireDefault(t("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var c=function MinimumSearchesInput({onBlur:e,onChange:a,touched:t,value:c}){return o.default.createElement(l.ClayInput.GroupItem,{className:(0,u.default)({"has-error":(!c||c<0)&&t})},o.default.createElement("label",null,Liferay.Language.get("minimum-searches"),o.default.createElement("span",{className:"reference-mark"},o.default.createElement(r.default,{symbol:"asterisk"})),o.default.createElement(n.ClayTooltipProvider,null,o.default.createElement("span",{className:"c-ml-2","data-tooltip-align":"top",title:Liferay.Language.get("minimum-searches-help")},o.default.createElement(r.default,{symbol:"question-circle-full"})))),o.default.createElement(l.ClayInput,{"aria-label":Liferay.Language.get("minimum-searches"),min:"0",onBlur:e,onChange:a,required:!0,type:"number",value:c||""}),c<0&&t&&o.default.createElement("div",{className:"form-feedback-group"},o.default.createElement("div",{className:"form-feedback-item"},(0,i.sub)(Liferay.Language.get("please-enter-a-value-greater-than-or-equal-to-x"),"0"))))};a.default=c}}));
//# sourceMappingURL=MinimumSearchesInput.js.map