import{d as n,e as o}from"./chunk-PQ4LRPD5.js";function f(e,i,t,l){let r=e.use(t);if(r)return r;let a=i.create({uri:l,withCredentials:!0}),u=new n((h,c)=>c?c(h).map(y=>y):null);e.createNamed(t,{link:u.concat(a),cache:new o,defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"},mutate:{fetchPolicy:"no-cache",errorPolicy:"all"}}})}export{f as a};