import{fs as e,v as t}from"./app-server-manager-signals-Yn0WSnoY.js";import{H as n,V as r,h as i,u as a}from"./vscode-api-DjORcpSo.js";var o=[`plan`,`default`];function s(e){let t=e.mode;return t==null||t===`plan`||t===`default`?e:{...e,mode:`default`}}function c(e,t){let n={};for(let t of e){let e=s(t);e.mode==null||n[e.mode]||(n[e.mode]=e)}let r=[];for(let e of t){let t=n[e];t&&r.push(t)}return r}function l(t){return{queryKey:[`collaboration-modes`,`list`,t],staleTime:a.INFINITE,queryFn:async()=>c((await e(`list-collaboration-modes`,{hostId:t})).data,o)}}var u=r(i,e=>l(e)),d=n(i,({get:e})=>l(e(t)));export{d as n,u as t};
//# sourceMappingURL=collaboration-mode-queries-BHD8pO23.js.map