import{B as l}from"./BaseLayout-BQD29nk2.js";import{C as p}from"./ContentLayout-BdyeQQuP.js";import{e as f,aj as _,b as i,E as g,a3 as b,n as r,g as s,w as d,v as y,j as w}from"./jwt-decode.esm-1W9iq5Oc.js";import{_ as v}from"./BillingAlert.vue_vue_type_script_setup_true_lang-D1KQub9v.js";import{u as z}from"./projectsStore-DODF11t6.js";import"./router-BlBl3YCU.js";import"./ts.worker-dw09Qg0Q.js";import"./index-Qgm5pAm_.js";import"./member-D3nZEJyp.js";import"./organization-q3fCIcrv.js";import"./project-Dxis22Lv.js";import"./tables-CNXyNFR4.js";import"./string-BXLOTiJ3.js";import"./cascaderStore-P7x_FHHC.js";import"./organizationSwitcher-D3T7RAxQ.js";import"./ant-design-319s0mTE.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]="27988316-5a49-4191-baa2-3183c9a8de96",t._sentryDebugIdIdentifier="sentry-dbid-27988316-5a49-4191-baa2-3183c9a8de96")}catch{}})();const $=f({__name:"Organization",setup(t){const e=_(),a=z(),n=i(()=>e.params.organizationId);g(n,o=>{o&&a.fetchedState?.organization?.id!==o&&a.fetchState(o)},{immediate:!0});const u=i(()=>a.fetchedState?.organization),m=i(()=>u.value?.billingMetadata);return(o,h)=>{const c=b("RouterView");return s(),r(l,null,{content:d(()=>[y(p,null,{default:d(()=>[m.value?(s(),r(v,{key:0,"billing-metadata":m.value,"organization-id":n.value},null,8,["billing-metadata","organization-id"])):w("",!0),(s(),r(c,{key:n.value}))]),_:1})]),_:1})}}});export{$ as default};
//# sourceMappingURL=Organization-CcK5uRJg.js.map
