import"./p-06444484.js";import{c as t,f as e}from"./p-1b562ffa.js";function s(t){return t.replace(/\s{2,}/g," ").replace(/\s\s+/g," ").trim().toLocaleLowerCase()}const c={id:"search",limit:5,typeOfRecords:[e.Product]};function r(e,r,...i){const n=Object.assign(Object.assign({},c),r);const o=s(e);const a={id:n.id,typeOfRequest:t.Search,settings:Object.assign({query:{term:o}},n)};return{klevuFunctionId:"search",params:Object.assign(Object.assign({},n),{term:e}),queries:[a],modifiers:i}}export{s as c,r as s};
//# sourceMappingURL=p-6b11a3a7.js.map