import{F as o}from"./p-4d314fbd.js";import{s as i}from"./p-46225039.js";async function n(n,l){var e;let d;if(!((e=i.services)===null||e===void 0?void 0:e.length)||!(n===null||n===void 0?void 0:n.length)){d=(i===null||i===void 0?void 0:i.services)||[]}else{const l=new o(i.services,{keys:["name","description"]});d=l.search(n).map((o=>o===null||o===void 0?void 0:o.item))}return d.filter((o=>l&&typeof l==="function"?l(o):true))}function l(){return[...new Set(((i===null||i===void 0?void 0:i.services)||[]).map((o=>o===null||o===void 0?void 0:o.tab)))].map((o=>({label:o,value:o})))}export{l as g,n as s};
//# sourceMappingURL=p-d54380cd.js.map