import{B as l}from"./BaseLayout-rDtJA7YY.js";import{C as p}from"./ContentLayout-CPCBQcka.js";import{e as f,aj as b,b as i,C as _,a2 as g,n as r,g as s,w as m,q as y,j as w}from"./jwt-decode.esm-RrwddusF.js";import{_ as z}from"./BillingAlert.vue_vue_type_script_setup_true_lang-5Z5_O4Aw.js";import{u as h}from"./projectsStore-DTW_2d0P.js";import"./router-Mf0aFyWQ.js";import"./ts.worker-DZw3sO0o.js";import"./index-dWJWLGVc.js";import"./member-BtaT_KKN.js";import"./organization-CIHxKoK0.js";import"./project-D5uYMnuH.js";import"./tables-BxB7qxLH.js";import"./string-DfWpluZV.js";import"./cascaderStore-CsU5GMUq.js";import"./organizationSwitcher-pIo9V6kL.js";import"./ant-design-DgPg3ncY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="61cec786-290b-487a-9bb1-36bd3c77ff9c",t._sentryDebugIdIdentifier="sentry-dbid-61cec786-290b-487a-9bb1-36bd3c77ff9c")}catch{}})();const P=f({__name:"Organization",setup(t){const e=b(),o=h(),n=i(()=>e.params.organizationId);_(n,a=>{a&&o.fetchedState?.organization?.id!==a&&o.fetchState(a)},{immediate:!0});const d=i(()=>o.fetchedState?.organization),c=i(()=>d.value?.billingMetadata);return(a,v)=>{const u=g("RouterView");return s(),r(l,null,{content:m(()=>[y(p,null,{default:m(()=>[c.value?(s(),r(z,{key:0,"billing-metadata":c.value,"organization-id":n.value},null,8,["billing-metadata","organization-id"])):w("",!0),(s(),r(u,{key:n.value}))]),_:1})]),_:1})}}});export{P as default};
//# sourceMappingURL=Organization--SZsKs2d.js.map
