import"./p-c2e91ee8.js";import{K as e,g as t}from"./p-9ef574c2.js";import"./p-b45be397.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 o=Object.assign(Object.assign({},c),r);const n=s(t);const p={id:o.id,typeOfRequest:e.Search,settings:Object.assign({query:{term:n}},o)};return{klevuFunctionId:"search",params:Object.assign(Object.assign({},o),{term:t}),queries:[p],modifiers:i}}export{s as c,r as s};
//# sourceMappingURL=p-648241d1.js.map