import{d as m,eB as u,u as e,b as d,c as y,ev as _,f as a,w as o,bg as g,ar as l,ex as b,e as x,eD as w}from"./outputWidgets.cb403911.js";import"./router.41eccbd6.js";import"./index.d47d8dcd.js";import{O as k}from"./organization.38ac2eb4.js";import{a as A}from"./asyncComputed.e79d98d0.js";import{A as B}from"./Title.c41b8760.js";import{A as h}from"./index.ee47e378.js";import{A as C}from"./index.0ce17bcf.js";import{A as v}from"./Text.685c8d87.js";import{C as D}from"./Card.dcc1468b.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";import"./Base.e3f83538.js";import"./Typography.1be659fb.js";import"./TabPane.31c8bf49.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="a3c0c5ea-ceab-4850-86b9-71893afebaf6",t._sentryDebugIdIdentifier="sentry-dbid-a3c0c5ea-ceab-4850-86b9-71893afebaf6")}catch{}})();const I={key:1},N={style:{display:"flex","justify-content":"flex-end","font-size":"24px"}},Y=m({__name:"Billing",setup(t){const n=u().params.organizationId,{loading:c,result:f}=A(()=>k.get(n));return(z,T)=>e(c)?(d(),y(e(g),{key:0})):(d(),_("div",I,[a(e(h),{justify:"space-between",align:"center"},{default:o(()=>[a(e(B),{level:3},{default:o(()=>[l("Current plan")]),_:1}),b("",!0)]),_:1}),a(e(C),{style:{"margin-top":"0"}}),a(e(D),{style:{width:"300px"}},{default:o(()=>{var i,s,p;return[a(e(v),{type:"secondary"},{default:o(()=>[l("Plan")]),_:1}),x("div",N,w((p=(s=(i=e(f))==null?void 0:i.billingMetadata)==null?void 0:s.plan)!=null?p:"No active plan"),1)]}),_:1})]))}});export{Y as default};
//# sourceMappingURL=Billing.347bfe93.js.map
