import{C as m,T as u}from"./router-Iw95qt13.js";import{a as b,c as f,i as d,b as i,e as y,f as r,u as s,w as t,B as g,g as l,t as o,h as p,T as _}from"./jwt-decode.esm-CcQ3pRvv.js";import{A as k}from"./index-DAyi3Wsy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b0da6216-22db-4a63-97a5-eae05e385e01",e._sentryDebugIdIdentifier="sentry-dbid-b0da6216-22db-4a63-97a5-eae05e385e01")}catch{}})();const M=b({__name:"BillingAlert",props:{organizationId:{},billingMetadata:{}},setup(e){const a=e,n=f(()=>a.billingMetadata?.messageCTA??d.translate("i18n_billingalert_contact_us")),c=()=>{m.showNewMessage(d.translate("i18n_billingalert_help_message")),u.billingAlertCtaClicked(a.organizationId,n.value)};return(C,w)=>e.billingMetadata?.message?(r(),i(s(k),{key:0,type:"error"},{message:t(()=>[p(s(_),{type:"secondary"},{default:t(()=>[l(o(e.billingMetadata?.message),1)]),_:1})]),action:t(()=>[e.billingMetadata?.messageLink?(r(),i(s(g),{key:0,type:"primary",target:"_blank",href:e.billingMetadata.messageLink},{default:t(()=>[l(o(n.value),1)]),_:1},8,["href"])):(r(),i(s(g),{key:1,type:"primary",onClick:c},{default:t(()=>[l(o(n.value),1)]),_:1}))]),_:1})):y("",!0)}});export{M as _};
//# sourceMappingURL=BillingAlert.vue_vue_type_script_setup_true_lang-Cul6dads.js.map
