import{s as l}from"./p-188ef7e9.js";function n(l){return l?l.replace(/\s{2,}/g," ").trim().toLowerCase():l}function e({filterBy:e}={}){const o=e?((null==l?void 0:l.services)||[]).filter(e):(null==l?void 0:l.services)||[];return[...new Set(o.map((l=>n(null==l?void 0:l.tab))))].sort(((l,n)=>l>n?1:-1)).filter((l=>null==l?void 0:l.length)).map((l=>({label:l,value:l})))}export{n as c,e as g}