import{s as l}from"./p-9e8ba117.js";function n(l){return l?l.replace(/\s{2,}/g," ").trim().toLowerCase():l}function o({filterBy:o}={}){const e=o?((null==l?void 0:l.services)||[]).filter(o):(null==l?void 0:l.services)||[];return[...new Set(e.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,o as g}