import{b as r}from"./p-1b562ffa.js";import"./p-06444484.js";function e(e){return{klevuModifierId:"sendSearchEvent",onResult:(t,n)=>{var o;if(!n.params){return t}const{id:i,term:s}=n.params;if(!i||!s){return t}const u=(o=t.queriesById(i))===null||o===void 0?void 0:o.meta;if(!u){return t}r.search({term:s,totalResults:u.totalResultsFound,typeOfSearch:u.typeOfSearch,override:e});return t}}}export{e as s};
//# sourceMappingURL=p-b7c74937.js.map