import{B as p}from"./BaseLayout-BFLssEfX.js";import{C as l}from"./ContentLayout-CmCLNwhv.js";import{e as f,an as _,b as i,M as g,a9 as b,n as r,g as s,w as u,v as y,j as w}from"./jwt-decode.esm-Dwzi-xky.js";import{_ as v}from"./BillingAlert.vue_vue_type_script_setup_true_lang-Y8ceb-8f.js";import{u as z}from"./projectsStore-D59C88sc.js";import"./router-CZGZsUNM.js";import"./ts.worker-BTEkdIk9.js";import"./index-7imsqG5n.js";import"./member-BmxHlqC4.js";import"./organization-Bjr_5SWS.js";import"./project-CjNh8vEO.js";import"./tables-BzIobYTO.js";import"./string-D_xS1NtB.js";import"./folder-b6L52wJi.js";import"./ant-design-Cmj2NAAa.js";import"./cascaderStore-Bh4HuAXl.js";import"./organizationSwitcher-Dl5BkV4z.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]="6445aa3b-6190-4e81-a9c7-8872faa775be",t._sentryDebugIdIdentifier="sentry-dbid-6445aa3b-6190-4e81-a9c7-8872faa775be")}catch{}})();const q=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 c=i(()=>a.fetchedState?.organization),m=i(()=>c.value?.billingMetadata);return(o,h)=>{const d=b("RouterView");return s(),r(p,null,{content:u(()=>[y(l,null,{default:u(()=>[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{q as default};
//# sourceMappingURL=Organization-LHl9cfyg.js.map
