Liferay.Loader.define("product-navigation-control-menu@6.0.40/js/SearchForm",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=l();if(r&&r.has(e))return r.get(e);var t={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(t,n,o):t[n]=e[n]}t.default=e,r&&r.set(e,t);return t}(t("@frontend-taglib-clay$clayui/form")),n=(o(t("liferay!frontend-js-react-web$prop-types")),o(t("liferay!frontend-js-react-web$react")));function o(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}var c=({onChange:e,tabIndex:r,value:t})=>{const o="sidebarAddPanelSearchFormInput".concat(r);return n.default.createElement(a.default.Group,{className:"mb-3",role:"search"},n.default.createElement("label",{className:"sr-only",htmlFor:o},Liferay.Language.get("search-form")),n.default.createElement(a.ClayInput,{id:o,onChange:r=>{e(r.target.value)},placeholder:"".concat(Liferay.Language.get("search"),"..."),sizing:"sm",type:"search",value:t}))};r.default=c}}));
//# sourceMappingURL=SearchForm.js.map