1import{c as a,V as s,_ as r}from"#entry";import{u as t,a as e}from"./CAgLKPVn.js";import{B as n,x as i,av as o,aH as c,C as l,R as d,$ as p,aq as u,U as b,az as g,aw as m}from"./nX7w3--X.js";const U={key:0,class:"pro-upgrade-banner"},_={class:"banner-content"},f={class:"banner-icon"},v={class:"banner-text"},y={class:"banner-title"},k={class:"banner-description"},w=["disabled"],h={key:0},A=r(n({__name:"ProUpgradeBanner",props:{title:{default:"Unlock Unlimited Access"},description:{default:"Get full access with Giving Compass Pro"},returnUrl:{}},setup(r){const n=r,A=a(),{isUpgrading:C,startUpgrade:P,upgradeCtaLabel:S}=t(),{canStartTrial:T,starting:x,checkEligibility:z,startTrial:I,TRIAL_DURATION_DAYS:R}=e();async function j(){T.value?await I():await P({returnUrl:n.returnUrl,location:"pro_upgrade_banner"})}return i(z),(a,r)=>l(A).hasSubscription?c("",!0):(m(),o("div",U,[d("div",_,[d("div",f,[p(s,{icon:"mdi-star",size:"20",color:"#2eb398"})]),d("div",v,[d("span",y,u(a.title),1),d("span",k,u(a.description),1)]),d("button",{onClick:j,disabled:l(C)||l(x),class:"banner-button"},[l(C)||l(x)?(m(),o("span",h,"Processing...")):(m(),o(b,{key:1},[g(u(l(T)?`Start ${l(R)}-day free trial`:l(S))+" ",1),p(s,{icon:"mdi-arrow-right",size:"16"})],64))],8,w)])]))}}),[["__scopeId","data-v-2daa0ce3"]]);export{A as P};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.