import"./p-c2e91ee8.js";import{K as e,g as t}from"./p-ae1fa3d6.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 a={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:[a],modifiers:i}}export{s as c,r as s};
//# sourceMappingURL=p-67d9bad5.js.map