const n=r=>{var s,e,a;return((a=(e=(s=r.resources)==null?void 0:s.instances)==null?void 0:e.filter(t=>t.startsWith("/1.0/instances/")).map(t=>t.split("/")[3]).pop())==null?void 0:a.split("?")[0])??""},i=r=>{var s,e,a;return((a=(e=(s=r.resources)==null?void 0:s.instances)==null?void 0:e.filter(t=>t.startsWith("/1.0/instances/")).map(t=>t.split("project=")[1]).pop())==null?void 0:a.split("&")[0])??"default"};export{i as a,n as g};
