import{S as d}from"./Sidebar.60928b80.js";import{_ as u}from"./Navbar.vue_vue_type_script_setup_true_lang.0a282b87.js";import{L as f,M as b,N as g}from"./icons.aae3c493.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.cb403911.js";import{a as h}from"./asyncComputed.e79d98d0.js";import"./router.41eccbd6.js";import"./index.d47d8dcd.js";import{O as I}from"./organization.38ac2eb4.js";import{B}from"./BaseLayout.de97a8da.js";import"./index.2cd71938.js";import"./logo.084e5d7c.js";import"./Text.685c8d87.js";import"./Base.e3f83538.js";import"./Typography.1be659fb.js";import"./index.14a7b0ad.js";import"./ArrowRightOutlined.08fa31dd.js";import"./index.593c023f.js";import"./Form.c4e43409.js";import"./hasIn.fda5345a.js";import"./popupNotifcation.25cc8775.js";import"./index.cf4c23b9.js";import"./record.1cf44d32.js";import"./pubsub.b68b1f2c.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]="73950084-03ef-41ea-9067-5c8af4d814af",a._sentryDebugIdIdentifier="sentry-dbid-73950084-03ef-41ea-9067-5c8af4d814af")}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),p=s(()=>{var e;return(e=t.value)==null?void 0:e.billingMetadata}),l=[{name:"Organization",items:[{name:"Projects",icon:f,path:"projects"},{name:"Editors",icon:b,path:"editors"},{name:"Billing",icon:g,path:"billing"}]}];return(e,M)=>{const c=y("router-view");return w(),z(B,null,{navbar:i(()=>[r(u,{breadcrumb:m.value,"billing-metadata":p.value},null,8,["breadcrumb","billing-metadata"])]),sidebar:i(()=>[r(d,{class:"sidebar",sections:l})]),content:i(()=>[r(c)]),_:1})}}});export{U as default};
//# sourceMappingURL=Organization.e00a40a0.js.map
