import{S as l}from"./Sidebar.e1602ffd.js";import{_ as u}from"./Navbar.vue_vue_type_script_setup_true_lang.3c878dea.js";import{L as b,M as f,N as g}from"./icons.8f8b8d07.js";import{d as _,eB as v,H as s,a as y,b as w,c as z,w as i,f as r}from"./outputWidgets.ed989e0a.js";import{a as h}from"./asyncComputed.9f78a6df.js";import"./router.5e7d449c.js";import"./index.46777a19.js";import{O as I}from"./organization.fcb3d7ee.js";import{B}from"./BaseLayout.7ec04095.js";import"./index.f09baa6d.js";import"./logo.084e5d7c.js";import"./Text.8e13d454.js";import"./Base.42a4c5ca.js";import"./Typography.5e43ce25.js";import"./index.e56fd585.js";import"./ArrowRightOutlined.08fa31dd.js";import"./index.08bc448a.js";import"./Form.fe660512.js";import"./hasIn.264c6078.js";import"./popupNotifcation.c17802b7.js";import"./index.cf4c23b9.js";import"./record.f2e811cc.js";import"./pubsub.14278e58.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="1fb8c31a-960b-4e1f-a59a-ccad9cfad191",a._sentryDebugIdIdentifier="sentry-dbid-1fb8c31a-960b-4e1f-a59a-ccad9cfad191")}catch{}})();const U=_({__name:"Organization",setup(a){const n=v().params.organizationId,{result:t}=h(()=>I.get(n)),m=s(()=>t.value?[{label:"My organizations",path:"/organizations"},{label:t.value.name,path:`/organizations/${t.value.id}`}]:void 0),c=s(()=>{var e;return(e=t.value)==null?void 0:e.billingMetadata}),p=[{name:"Organization",items:[{name:"Projects",icon:b,path:"projects"},{name:"Editors",icon:f,path:"editors"},{name:"Billing",icon:g,path:"billing"}]}];return(e,M)=>{const d=y("router-view");return w(),z(B,null,{navbar:i(()=>[r(u,{breadcrumb:m.value,"billing-metadata":c.value},null,8,["breadcrumb","billing-metadata"])]),sidebar:i(()=>[r(l,{class:"sidebar",sections:p})]),content:i(()=>[r(d)]),_:1})}}});export{U as default};
//# sourceMappingURL=Organization.b13f7b68.js.map
