import{B as l}from"./BaseLayout-ihl5FUyP.js";import{C as p}from"./ContentLayout-BJYYaCGH.js";import{e as f,ak as _,b as i,F as b,a4 as g,n as r,g as s,w as c,v as y,j as w}from"./jwt-decode.esm-CuXC0Nfv.js";import{_ as v}from"./BillingAlert.vue_vue_type_script_setup_true_lang-DXzr_dV-.js";import{u as z}from"./projectsStore-C8S-mZt-.js";import"./router-BoyBqgp3.js";import"./ts.worker-DKUz-B-p.js";import"./index-CmddK3uS.js";import"./member-Cp_EWmY1.js";import"./organization-Bfx34Ras.js";import"./project-CeIai9B8.js";import"./tables-C4D4EbcR.js";import"./string-B-SW5Weg.js";import"./cascaderStore-Bp9NlIg8.js";import"./organizationSwitcher-C2vITqvh.js";import"./ant-design-fgJVEdMQ.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]="ca078441-6f03-46a1-816b-67c58b9f6b60",t._sentryDebugIdIdentifier="sentry-dbid-ca078441-6f03-46a1-816b-67c58b9f6b60")}catch{}})();const P=f({__name:"Organization",setup(t){const e=_(),a=z(),n=i(()=>e.params.organizationId);b(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 d=g("RouterView");return s(),r(l,null,{content:c(()=>[y(p,null,{default:c(()=>[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(d,{key:n.value}))]),_:1})]),_:1})}}});export{P as default};
//# sourceMappingURL=Organization-CDt42jbl.js.map
