import{j as n,cn as r,co as o,aO as a}from"./app-BgLa5dit.js";import{T as i}from"./CRMfsAcH.chunk.js";const c="/api/search/v1/search/content";function s(e){return n.jsx(r,{id:"company",renderAsForm:!1,placeholder:"Search content partner",initialQuery:e.initialQuery||"",onSuggestionSelected:e.onSelect,getRemoteUrl:t=>`${c}?query=${t}&index=company&filters.presentation=${e.presentationId}`,formatRemoteSuggestions:t=>t.results,onBlur:e.onBlur,onQueryChange:e.onQueryChange,activationLength:2,debounceTime:300,showClearInputIcon:!!e.onClearInput,onClickClearInput:e.onClearInput,getEmptyStateComponent:t=>n.jsx(i,{query:t,imageUrl:a.EmptyStates.TYPEAHEAD_RESULTS}),getErrorStateComponent:t=>n.jsx(o,{imageUrl:a.TYPEAHEAD_ERROR,onClickTryAgain:t}),searchIconPlacement:"left"})}export{s as C};
//# sourceMappingURL=XPx5cqyz.chunk.js.map
