import{S as c}from"./Sidebar.8d121d3c.js";import{N as m}from"./Navbar.2c426f39.js";import{C as d,D as p,E as l}from"./icons.e4ff78f2.js";import{d as u,K as _,L as b,a as g,b as f,c as v,e as t,y,F as z,t as h}from"./registerWidgets.a9b9c198.js";import{a as w}from"./asyncComputed.380e0794.js";import"./gateway.ff7b2acd.js";import{O as I}from"./organization.bd8b615c.js";import"./index.6965b89d.js";import"./Tooltip.72b7ac59.js";import"./logo.084e5d7c.js";import"./passwordlessManager.18e9d509.js";import"./pubsub.d6cf90d7.js";import"./activeRecord.ded96690.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8c61a0ea-d64f-4334-81c2-4b2aa6a4b566",e._sentryDebugIdIdentifier="sentry-dbid-8c61a0ea-d64f-4334-81c2-4b2aa6a4b566")}catch{}})();const O={class:"organization"},D=u({__name:"Organization",setup(e){const n=_().params.organizationId,{result:o}=w(()=>I.get(n)),r=b(()=>o.value?[{label:"My organizations",path:"/organizations"},{label:o.value.name,path:`/organizations/${o.value.id}`}]:void 0),i=[{name:"Organization",items:[{name:"Projects",icon:d,path:"projects"},{name:"Members",icon:p,path:"members"},{name:"Billing",icon:l,path:"billing",unavailable:!0}]}];return(k,x)=>{const s=g("router-view");return f(),v(z,null,[t(m,{breadcrumb:r.value},null,8,["breadcrumb"]),y("div",O,[t(c,{class:"sidebar",sections:i}),t(s)])],64)}}});const $=h(D,[["__scopeId","data-v-51ce7239"]]);export{$ as default};
//# sourceMappingURL=Organization.99b401bf.js.map
