import{d as b,eB as f,H as m,a as g,b as p,c as l,w as r,f as i,ex as _}from"./outputWidgets.74b0761d.js";import"./router.e97d6286.js";import"./index.c51517e3.js";import{O as v}from"./organization.9216f762.js";import{B as y}from"./BaseLayout.e514e975.js";import{a as w}from"./asyncComputed.fbb4ba44.js";import{S as z,_ as h}from"./Sidebar.33571818.js";import{_ as I}from"./Navbar.vue_vue_type_script_setup_true_lang.76a26ee0.js";import{L as B,M as C,N as M}from"./icons.fd5c09b0.js";import"./Form.a24c61ad.js";import"./hasIn.d2130316.js";import"./popupNotifcation.2bb5bdcc.js";import"./index.cf4c23b9.js";import"./record.acc69298.js";import"./pubsub.4c1d9617.js";import"./Text.b007494b.js";import"./Base.4463d78c.js";import"./Typography.5e0282a3.js";import"./index.5e119e42.js";import"./index.2189f45b.js";import"./logo.084e5d7c.js";import"./index.d2307af6.js";import"./ArrowRightOutlined.08fa31dd.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]="da8e5594-9c42-492f-9e56-9648f1bbb5e7",e._sentryDebugIdIdentifier="sentry-dbid-da8e5594-9c42-492f-9e56-9648f1bbb5e7")}catch{}})();const X=b({__name:"Organization",setup(e){const n=f().params.organizationId,{result:t}=w(()=>v.get(n)),c=m(()=>t.value?[{label:"My organizations",path:"/organizations"},{label:t.value.name,path:`/organizations/${t.value.id}`}]:void 0),s=m(()=>{var o;return(o=t.value)==null?void 0:o.billingMetadata}),d=[{name:"Organization",items:[{name:"Projects",icon:B,path:"projects"},{name:"Editors",icon:C,path:"editors"},{name:"Billing",icon:M,path:"billing"}]}];return(o,k)=>{const u=g("router-view");return p(),l(y,null,{navbar:r(()=>[i(I,{breadcrumb:c.value},null,8,["breadcrumb"])]),sidebar:r(()=>[i(z,{class:"sidebar",sections:d})]),content:r(()=>[s.value?(p(),l(h,{key:0,"billing-metadata":s.value},null,8,["billing-metadata"])):_("",!0),i(u)]),_:1})}}});export{X as default};
//# sourceMappingURL=Organization.9e9ceb29.js.map
