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