const a=e=>{const t=[];if(e){const r=new Map(Object.entries(e));for(const n of r.keys()){let s=Object.fromEntries([["label",r.get(n)],["value",n]]);t.push(s)}}return t},l=(e,t)=>{if(e&&t){let r=t.get(e);if(r)return r}return e};export{l as a,a as g};
