1import{d as K,n as ze,o as $e,c as u,e as n,x as re,f as a,h as p,H as r,t as i,D as f,m as v,g as L,E as qe,z as Se,w as C,_ as Ie,F as x,a as m,A as $,b as t,r as Re,C as H,W as De,i as ue,v as de,aj as Qe,ak as Ge,L as He,Y as Ke,y as _,k as We}from"./fB1wvp6C.js";import{i as Je}from"./BWQ0tiOC.js";import{A as Xe}from"./DhAlVVdH.js";import{_ as z}from"./Ca-o6VS-.js";import{I as U}from"./CTOacHst.js";import{_ as Ze}from"./CXIYokhX.js";import{I as O}from"./DBKJs5f5.js";import{S as _e}from"./5gL_G-yB.js";import{v as et,u as tt,f as at,b as nt,i as lt}from"./BL0xs9hv.js";import{C as ot,a as st,P as it,c as Ce}from"./Dum9H6Ye.js";import{i as ce,d as te,t as me}from"./DlK1awnu.js";import{f as h}from"./C09NEqYZ.js";import{P as rt}from"./nV50iqA0.js";import{u as ut,O as dt}from"./bldMFtXt.js";import{u as ct}from"./DKf0ycRV.js";import{u as mt}from"./B6ZhmtkU.js";import{u as yt}from"./BoF7rxlp.js";import{p as vt}from"./BwDJGdcO.js";import"./CznZ3wxZ.js";import"./Dz7_dfTi.js";import"./BGB6WHSR.js";import"./ILLLUT3T.js";import"./DefWdR_r.js";import"./XXzpwz3z.js";import"./YfLF_Wmu.js";import"./DRaTxIxX.js";import"./CtUEcEPs.js";import"./ZhWAdK_X.js";import"./pXPga1kU.js";import"./pNLGmQhE.js";import"./BXIu35xP.js";import"./CqtsftLc.js";import"./DcGr-gl9.js";import"./DWUglrQf.js";import"./DvGqK8yZ.js";import"./DLVCjf0A.js";import"./CXpK_col.js";import"./FIVYMj1Z.js";import"./UVKSHqRs.js";import"./DO3f9rtA.js";import"./ChzAN2ob.js";import"./DzNGh8x_.js";import"./CTBYaVfz.js";import"./TYOKaijG.js";import"./BYFIZN5t.js";import"./i_-1Uyam.js";import"./BudMToPb.js";import"./BPI4mpxi.js";import"./BIiM7e0p.js";import"./NKVLAFTp.js";import"./ogFXFWpd.js";import"./Cnq2EDXI.js";import"./BSCuy0VG.js";import"./Cb7jWB8O.js";import"./DZ6tDFr9.js";import"./CbPSoDvq.js";import"./D7bgiyYs.js";import"./CTr0EjRS.js";import"./B8H07QVk.js";const pt={class:"grid grid-cols-1 gap-3 md:grid-cols-2"},ft={class:"m-0 min-h-[1rem] text-xs text-error",role:"alert"},gt={class:"m-0 min-h-[1rem] text-xs text-error",role:"alert"},xt={class:"flex flex-col gap-1"},bt={class:"grid grid-cols-1 gap-3 md:grid-cols-2"},wt={class:"flex flex-col gap-1"},kt={class:"flex flex-col gap-1"},ht={class:"m-0 min-h-[1rem] text-xs text-error",role:"alert"},Ct={class:"m-0 text-xs text-muted"},Pt={class:"grid grid-cols-1 gap-3 md:grid-cols-2"},$t={class:"flex flex-col gap-1"},St={class:"flex flex-col gap-1"},It=K({__name:"CheckoutBillingForm",props:{draft:{},disabled:{type:Boolean}},setup(s,{expose:e}){const d=Se.scoped("CheckoutBillingForm"),w=s,{$api:S}=ze(),P=S,N=L([]),T=qe({billingName:!1,billingEmail:!1,billingCountryCode:!1}),E=v(()=>et(w.draft));function A(y){T[y]=!0}function I(y){return T[y]?E.value[y]??null:null}function k(){T.billingName=!0,T.billingEmail=!0,T.billingCountryCode=!0}e({revealErrors:k});const R=v(()=>N.value.find(o=>o.code===w.draft.billingCountryCode)?.name??w.draft.billingCountryCode);async function b(){try{const y=await P.geographyApi.geographyControllerList();N.value=y.data.filter(o=>!!o.isoCode2).map(o=>({name:o.name,code:o.isoCode2.toUpperCase()}))}catch(y){d.error("Failed to load countries",{error:y})}}return $e(()=>b()),(y,o)=>(n(),u("div",{class:re(["flex flex-col gap-3",{"pointer-events-none opacity-60":s.disabled}])},[a("div",pt,[a("div",{class:"flex flex-col gap-1",onFocusout:o[1]||(o[1]=g=>A("billingName"))},[o[12]||(o[12]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-name"},[r("Full name "),a("span",{class:"text-error"},"*")],-1)),p(O,{id:"checkout-billing-name",modelValue:s.draft.billingName,"onUpdate:modelValue":o[0]||(o[0]=g=>s.draft.billingName=g),placeholder:"Name on the invoice"},null,8,["modelValue"]),a("p",ft,i(I("billingName")),1)],32),a("div",{class:"flex flex-col gap-1",onFocusout:o[3]||(o[3]=g=>A("billingEmail"))},[o[13]||(o[13]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-email"},[r("Email "),a("span",{class:"text-error"},"*")],-1)),p(O,{id:"checkout-billing-email",modelValue:s.draft.billingEmail,"onUpdate:modelValue":o[2]||(o[2]=g=>s.draft.billingEmail=g),placeholder:"Receipt and invoice email",type:"email"},null,8,["modelValue"]),a("p",gt,i(I("billingEmail")),1)],32)]),a("div",xt,[o[14]||(o[14]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-address"},"Address line",-1)),p(O,{id:"checkout-billing-address",modelValue:s.draft.billingAddressLine1,"onUpdate:modelValue":o[4]||(o[4]=g=>s.draft.billingAddressLine1=g),placeholder:"Street address"},null,8,["modelValue"])]),a("div",bt,[a("div",wt,[o[15]||(o[15]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-city"},"City",-1)),p(O,{id:"checkout-billing-city",modelValue:s.draft.billingCity,"onUpdate:modelValue":o[5]||(o[5]=g=>s.draft.billingCity=g),placeholder:"City"},null,8,["modelValue"])]),a("div",kt,[o[16]||(o[16]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-postal"},"Postal code",-1)),p(O,{id:"checkout-billing-postal",modelValue:s.draft.billingPostalCode,"onUpdate:modelValue":o[6]||(o[6]=g=>s.draft.billingPostalCode=g),placeholder:"Postal code"},null,8,["modelValue"])])]),a("div",{class:"flex flex-col gap-1",onFocusout:o[9]||(o[9]=g=>A("billingCountryCode"))},[o[17]||(o[17]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-country"},[r("Country "),a("span",{class:"text-error"},"*")],-1)),s.draft.countryLocked?(n(),f(O,{key:0,id:"checkout-billing-country","model-value":R.value,disabled:""},null,8,["model-value"])):(n(),f(_e,{key:1,id:"checkout-billing-country",modelValue:s.draft.billingCountryCode,"onUpdate:modelValue":o[7]||(o[7]=g=>s.draft.billingCountryCode=g),items:N.value,"option-value":"code","option-label":"name",placeholder:"Country",filtered:"",onCh
1ange:o[8]||(o[8]=g=>A("billingCountryCode"))},null,8,["modelValue","items"])),a("p",ht,i(I("billingCountryCode")),1),a("p",Ct," Determines your pricing and tax"+i(s.draft.countryLocked?" â contact support to change it":""),1)],32),a("div",Pt,[a("div",$t,[o[18]||(o[18]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-tax-id"},"Tax / VAT ID (optional)",-1)),p(O,{id:"checkout-billing-tax-id",modelValue:s.draft.billingTaxId,"onUpdate:modelValue":o[10]||(o[10]=g=>s.draft.billingTaxId=g),placeholder:"VAT, TIN, GSTINâ¦"},null,8,["modelValue"])]),a("div",St,[o[19]||(o[19]=a("label",{class:"text-xs font-semibold text-muted",for:"checkout-billing-tax-type"},"Tax ID type (optional)",-1)),p(O,{id:"checkout-billing-tax-type",modelValue:s.draft.billingTaxIdType,"onUpdate:modelValue":o[11]||(o[11]=g=>s.draft.billingTaxIdType=g),placeholder:"e.g. VAT"},null,8,["modelValue"])])])],2))}}),Rt=Object.assign(It,{__name:"CheckoutBillingForm"}),Dt={class:"checkout-fine-print mx-auto max-w-6xl border-t pt-4 text-xs leading-5 text-muted",style:{"border-color":"var(--color-border-light)"}},Tt={class:"m-0 mb-1"},Ut={key:0,class:"m-0 mb-1"},At={key:1,class:"m-0 mb-1"},Et={class:"m-0"},Nt=K({__name:"CheckoutFinePrint",props:{canAutoRenew:{type:Boolean,default:!0}},setup(s){return(e,d)=>{const w=Ie;return n(),u("div",Dt,[a("p",Tt,[d[2]||(d[2]=r(" By completing a purchase you agree to the GovSpace ",-1)),p(w,{to:"/terms-of-use",class:"underline"},{default:C(()=>[...d[0]||(d[0]=[r("Terms of Service",-1)])]),_:1}),d[3]||(d[3]=r(" and ",-1)),p(w,{to:"/privacy-policy",class:"underline"},{default:C(()=>[...d[1]||(d[1]=[r("Privacy Policy",-1)])]),_:1}),d[4]||(d[4]=r(". Purchases are billed by DTS Solutions LLC, which is the name that will appear on your payment statement. ",-1))]),d[8]||(d[8]=a("p",{class:"m-0 mb-1"}," Payments are processed securely by Stripe; your payment details are never stored on GovSpace servers. Applicable taxes are determined by your billing country and shown before you pay. ",-1)),s.canAutoRenew?(n(),u("p",Ut," This is an auto-renewing plan: unless you turn renewal off, it renews at the end of each billing period on the renewal date shown in your order summary. Renewals are collected by emailed invoice â your payment method is never charged automatically. You can review invoices and receipts from your billing page at any time. ")):(n(),u("p",At," This is a fixed-term plan: it does not renew. Access runs for the term shown in your order summary and ends on the expiry date, and nothing is billed after that. You can review invoices and receipts from your billing page at any time. ")),a("p",Et,[d[6]||(d[6]=r(" Except where required by law or in the case of a billing error, payments are non-refundable; when you change plans, unused subscription value is applied as pro-rated credit toward the new plan. See our ",-1)),p(w,{to:"/terms-of-use#payments-renewals-and-refunds",class:"underline"},{default:C(()=>[...d[5]||(d[5]=[r(" payments, renewals, and refunds terms",-1)])]),_:1}),d[7]||(d[7]=r(". ",-1))])])}}}),Vt=Object.assign(Nt,{__name:"CheckoutFinePrint"}),Bt={class:"flex flex-col gap-3"},Lt={class:"flex items-baseline justify-between gap-2"},Ft={class:"flex flex-col"},jt={class:"m-0 text-base font-bold text-primary"},Ot={key:0,class:"text-xs text-muted"},Yt={key:0,class:"flex justify-between gap-3 text-sm"},Mt={class:"text-right text-primary"},zt={key:1,class:"flex justify-between text-sm"},qt={class:"text-muted"},Qt={class:"text-primary"},Gt={key:2,class:"flex justify-between text-sm"},Ht={class:"text-primary"},Kt={key:3,class:"flex justify-between text-sm"},Wt={class:"text-primary"},Jt={key:4,class:"flex flex-col gap-2","aria-hidden":"true"},Xt={key:0,class:"flex justify-between text-sm"},Zt={class:"text-primary"},_t={key:1,class:"flex justify-between text-sm"},ea={class:"text-primary"},ta={class:"text-muted"},aa={class:"text-primary"},na={key:2,class:"flex justify-between text-sm"},la={class:"text-primary"},oa={key:3,class:"flex justify-between text-sm"},sa={class:"text-primary"},ia={key:4,class:"flex justify-between text-sm"},ra={class:"text-muted"},ua={class:"text-primary"},da={class:"flex items-baseline justify-between"},ca={class:"text-xl font-extrabold text-primary"},ma={key:5,class:"m-0 text-right text-xs text-muted"},ya={key:6,class:"m-0 text-xs text-muted"},va={key:7,class:"m-0 text-xs text-muted"},pa={key:8,class:"m-0 text-xs text-muted"},fa={key:0,class:"flex justify-between text-sm"},ga={class:"text-primary"},xa={key:1,class:"flex justify-between text-sm"},ba={class:"text-muted"},wa={class:"text-primary"},ka={key:2,class:"flex justify-between text-sm"},ha={class:"text-primary"},Ca={class:"flex items-baseline justify-between"},Pa={class:"text-sm font-semibold text-primary"},$a={class:"text-xl font-extrabold text-primary"},Sa={key:3,class:"m-0 text-right text-xs text-muted"},Ia={key:7,class:"m-0 text-sm text-muted"},Ra={class:"mt-3 flex items-center justify-center gap-1 text-sm text-muted"},Da=K({__name:"OrderSummaryCard",props:{summary:{},pendingPlanName:{default:null},pathwayName:{default:null},pendingDurationLabel:{default:null},pendingCanAutoRenew:{type:Boolean,default:!0},pendingPricing:{default:null},pricingContext:{default:null},upgrade:{default:null},conversion:{default:null},currentPlanName:{default:null},extensionMode:{type:Boolean,default:!1},payByInvoice:{type:Boolean,default:!1},quoteLoading:{type:Boolean}},emits:["change","contactSupport"],setup(s,{emit:e}){const d=s,w=e,S=v(()=>d.summary?.planName??d.pendingPlanName),P=v(()=>d.summary?.pathwayName??d.pathwayName??null),N=v(()=>d.summary?.discountLines??[]),T=v(()=>ce(d.summary?d.summary.canAutoRenew:d.pendingCanAutoRenew)),E=v(()=>d.summary?T.value?te(d.summary.durationValue,d.summary.durationUnit):me(d.summary.durationValue,d.summary.durationUnit):d.pendingDurationLabel),A=v(()=>{const y=d.summary;return!y||!y.quantity||y.quantity<=1||!y.unitPrice?null:`${y.quantity} à ${h(y.unitPrice,y.currency)}`}),I=v(()=>{const y=d.summary?.maxSeats;return y==null?null:y===1?"1 seat":`${y} seats`}),k=v(()=>d.summary?.renewsAt?new Date(d.summary.renewsAt).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}):null),R=v(()=>d.summary?me(d.summary.durationValue,d.summary.durationUnit):null),b=v(()=>{const y=d.pendingPricing;if(!y||y.price==null)return null;const o=y.basePrice!=null&&y.price<y.basePrice;return{amount:h(y.price,y.currency),base:o?h(y.basePrice,y.currency):null,discountAmount:o?h(y.basePrice-y.price,y.currency):null,discountLabel:"Regional pricing",local:y.localPrice!=null&&y.localCurrency?h(y.localPrice,y.localCurrency):null}});return(y,o)=>(n(),u(x,null,[p(z,{class:"lg:sticky lg:top-6"},{default:C(()=>[a("div",Bt,[a("div",Lt,[a("div",Ft,[a("h3",jt,[s.upgrade?.isUpgrade&&S.value?(n(),u(x,{key:0},[r("Upgrade to "+i(S.value),1)],64)):s.extensionMode&&S.value?(n(),u(x,{key:1},[r("Extend "+i(S.value),1)],64)):s.conversion?.isConversion&&S.value?(n(),u(x,{key:2},[r("Convert to "+i(S.value),1)],64)):(n(),u(x,{key:3},[r(i(S.value??"Order summary"),1)],64))]),s.upgrade?.isUpgrade&&s.currentPlanName?(n(),u("span",Ot," from "+i(s.currentPlanName),1)):m("",!0)]),p($,{label:"change","style-type":"text-link",onClick:o[0]||(o[0]=g=>w("change"))})]),P.value?(n(),u("div",Yt,[o[2]||(o[2]=a("span",{class:"text-muted"},"Pathway",-1)),a("span",Mt,i(P.value),1)])):m("",!0),E.value?(n(),u("div",zt,[a("span",qt,i(s.extensionMode?"Extension":P.value?"Access period":T.value?"Billing period":"Term"),1),a("span",Qt,i(E.value),1)])):m("",!0),A.value?(n(),u("div",Gt,[o[3]||(o[3]=a("span",{class:"text-muted"},"Seats",-1)),a("span",Ht,i(A.value),1)])):I.value?(n(),u("div",Kt,[o[4]||(o[4]=a("span",{class:"text-muted"},"Seats included",-1)),a("span",Wt,i(I.value),1)])):m("",!0),o[14]||(o[14]=a("hr",{class:"my-1 border-0 border-t border-border-light"},null,-1)),s.quoteLoading?(n(),u("div",Jt,[...o[5]||(o[5]=[a("div",{class:"h-4 w-2/3 animate-pulse rounded bg-surface-raised"},null,-1),a("div",{class:"h-6 w-1/2 animate-pulse rounded bg-surface-raised"},null,-1)])])):s.summary?(n(),u(x,{key:5},[s.summary.pppDiscountAmount>0||N.value.length||s.conversion?.showCreditRow?(n(),u("div",Xt,[o[6]||(o[6]=a("span",{class:"text-muted"},"Price",-1)),a("span",Zt,i(t(h)(s.summary.subtotal,s.summary.currency)),1)])):m("",!0),s.summary.pppDiscountAmount>0?(n(),u("div",_t,[o[7]||(o[7]=a("span",{class:"text-muted"},"Regional pricing",-1)),a("span",ea,"â"+i(t(h)(s.summary.pppDiscountAmount,s.summary.currency)),1)])):m("",!0),(n(!0),u(x,null,Re(N.value,g=>(n(),u("div",{key:g.slug,class:"flex justify-between text-sm"},[a("span",ta,i(g.name),1),a("span",aa,"â"+i(t(h)(g.amountCents,s.summary.currency)),1)]))),128)),s.upgrade?.showCreditRow?(n(),u("div",na,[o[8]||(o[8]=a("span",{class:"text-muted"},"Pro-rated credit",-1)),a("span",la,"â"+i(t(h)(s.upgrade.creditCents,s.summary.currency)),1)])):m("",!0),s.conversion?.showCreditRow?(n(),u("div",oa,[o[9]||(o[9]=a("span",{class:"text-muted"},"Pathway credit",-1)),a("span",sa,"â"+i(t(h)(s.conversion.creditCents,s.summary.currency)),1)])):m("",!0),s.summary.taxAmount>0?(n(),u("div",ia,[a("span",ra,i(s.summary.taxType??"Tax")+" ("+i(s.summary.taxRatePercent)+"%)",1),a("span",ua,i(t(h)(s.summary.taxAmount,s.summary.currency)),1)])):m("",!0),a("div",da,[o[10]||(o[10]=a("span",{class:"text-sm font-semibold text-primary"},"Total today",-1)),a("span",ca,i(t(h)(s.summary.total,s.summary.currency)),1)]),s.summary.localTotal!=null&&s.summary.localCurrency?(n(),u("p",ma," â "+i(t(h)(s.summary.localTotal,s.summary.localCurrency)),1)):m("",!0),s.extensionMode&&k.value?(n(),u("p",ya,i(s.summary.currency)+" · access until "+i(k.value),1)):s.payByInvoice&&R.value?(n(),u("p",va,[T.value?(n(),u(x,{key:0},[r(i(s.summary.currency)+" · renews "+i(R.value)+" after payment unless cancelled ",1)],64)):(n(),u(x,{key:1},[r(i(s.summary.currency)+" · expires "+i(R.value)+" after payment",1)],64))])):k.value?(n(),u("p",pa,[T.value?(n(),u(x,{key:0},[r(i(s.summary.currency)+" · renews "+i(k.value)+" unless cancelled ",1)],64)):(n(),u(x,{key:1},[r(i(s.summary.currency)+" · expires "+i(k.value),1)],64))])):m("",!0)],64)):b.value?(n(),u(x,{key:6},[b.value.base?(n(),u("div",fa,[o[11]||(o[11]=a("span",{class:"text-muted"},"Price",-1)),a("span",ga,i(b.value.base),1)])):m("",!0),b.value.discountAmount?(n(),u("div",xa,[a("span",ba,i(b.value.discountLabel),
11),a("span",wa,"â"+i(b.value.discountAmount),1)])):m("",!0),s.upgrade?.showCreditRow?(n(),u("div",ka,[o[12]||(o[12]=a("span",{class:"text-muted"},"Pro-rated credit (est.)",-1)),a("span",ha,"â"+i(t(h)(s.upgrade.creditCents,s.pendingPricing.currency)),1)])):m("",!0),a("div",Ca,[a("span",Pa,i(b.value.base?"Your price":"Price"),1),a("span",$a,i(b.value.amount),1)]),b.value.local?(n(),u("p",Sa," â "+i(b.value.local),1)):m("",!0),o[13]||(o[13]=a("p",{class:"m-0 text-xs text-muted"}," Any applicable tax is added from your billing details â confirm them to see the final total. ",-1))],64)):(n(),u("p",Ia," Confirm your billing details to see your total. "))])]),_:1}),a("div",Ra,[o[15]||(o[15]=r(" Questions? ",-1)),p($,{label:"Contact support","style-type":"text-link",onClick:o[1]||(o[1]=g=>w("contactSupport"))})])],64))}}),Ta=Object.assign(Da,{__name:"CheckoutOrderSummaryCard"}),Ua={class:"flex flex-col gap-3"},Aa={key:0,class:"flex flex-col items-start gap-3"},Ea={class:"min-h-[120px]"},Na={key:0,class:"flex flex-col gap-3","aria-hidden":"true"},Va=K({__name:"PaymentElementSlot",props:{clientSecret:{},provider:{}},setup(s){const e=s,d=L(null);async function w(){d.value&&e.clientSecret&&await e.provider.mount(d.value,{clientSecret:e.clientSecret})}return H([()=>e.clientSecret,d],()=>w()),De(()=>e.provider.destroy()),(S,P)=>(n(),u("div",Ua,[s.provider.mountError.value?(n(),u("div",Aa,[p(U,{variant:"error",text:s.provider.mountError.value},null,8,["text"]),p($,{label:"Retry","style-type":"outline",onClick:w})])):m("",!0),ue(a("div",Ea,[s.provider.isReady.value?m("",!0):(n(),u("div",Na,[...P[0]||(P[0]=[a("div",{class:"h-10 rounded-lg bg-surface-raised animate-pulse"},null,-1),a("div",{class:"h-10 rounded-lg bg-surface-raised animate-pulse"},null,-1),a("div",{class:"h-10 w-1/2 rounded-lg bg-surface-raised animate-pulse"},null,-1)])])),a("div",{ref_key:"container",ref:d},null,512)],512),[[de,!s.provider.mountError.value]])]))}}),Ba=Object.assign(Va,{__name:"CheckoutPaymentElementSlot"}),ee=Se.scoped("StripePaymentProvider");function Pe(s){return typeof document>"u"?void 0:getComputedStyle(document.documentElement).getPropertyValue(s).trim()||void 0}function La(){const s=L(!1),e=L(!1),d=L(null);let w=null,S=null,P=null;async function N(A,I){d.value=null,s.value=!1,e.value=!1;try{const k=Qe().public.stripePublishableKey;if(!k)throw new Error("Stripe publishable key is not configured (STRIPE_PUBLISHABLE_KEY)");const{loadStripe:R}=await Ge(async()=>{const{loadStripe:b}=await import("./Dm_b0c4c.js");return{loadStripe:b}},[],import.meta.url);if(w=await R(k),!w)throw new Error("The payment form could not be loaded â check for content blockers and retry");P?.destroy(),S=w.elements({clientSecret:I.clientSecret,appearance:{theme:"stripe",variables:{colorPrimary:Pe("--palette-iceberg"),colorText:Pe("--palette-navy"),fontFamily:"Inter, sans-serif",borderRadius:"8px"}}}),P=S.create("payment"),P.on("ready",()=>{s.value=!0}),P.on("change",b=>{e.value=b.complete}),P.on("loaderror",b=>{ee.error("Payment element failed to load",{error:b.error}),d.value=b.error?.message??"The payment form failed to load â please retry"}),P.mount(A)}catch(k){ee.error("Failed to mount the payment element",{error:k}),d.value=k instanceof Error?k.message:"The payment form failed to load â please retry"}}async function T(A){if(!w||!S)return{status:"failed",errorMessage:"The payment form is not ready yet"};try{const{error:I}=await w.confirmPayment({elements:S,confirmParams:{return_url:A.returnUrl},redirect:"if_required"});return I?(ee.warn("Payment confirmation failed",{code:I.code,type:I.type}),{status:"failed",errorMessage:I.message??"Your payment could not be processed â please try again"}):{status:"succeeded"}}catch(I){return ee.error("Unexpected error confirming payment",{error:I}),{status:"failed",errorMessage:"Something went wrong processing your payment â you have not been charged twice; please try again"}}}function E(){P?.destroy(),P=null,S=null,s.value=!1,e.value=!1}return{isReady:s,isComplete:e,mountError:d,mount:N,confirm:T,destroy:E}}function Fa(s="stripe"){if(s==="stripe")return La()}const ja={class:"min-h-screen bg-bg-secondary px-6 py-8"},Oa={class:"mx-auto max-w-5xl pb-12"},Ya={class:"mb-4 flex items-center justify-between gap-3"},Ma={class:"m-0 text-2xl font-extrabold text-primary"},za={key:10,class:"flex flex-col items-center gap-4 py-12"},qa={class:"flex gap-3"},Qa={key:11,class:"mx-auto max-w-xl"},Ga={class:"flex flex-col gap-4"},Ha={class:"m-0 text-primary"},Ka={class:"flex flex-wrap gap-3"},Wa={class:"flex flex-col gap-4"},Ja={class:"m-0 text-primary"},Xa={class:"font-bold"},Za={class:"flex flex-wrap gap-3"},_a={key:12,class:"grid grid-cols-1 gap-6 lg:grid-cols-[11fr_9fr]"},en={class:"lg:order-2"},tn={class:"flex items-center justify-between gap-4"},an={class:"flex flex-col gap-6 lg:order-1"},nn={class:"flex flex-col gap-4"},ln={key:0,class:"flex flex-col gap-3","aria-hidden":"true"},on={class:"flex flex-col gap-4"},sn={class:"flex flex-col gap-4"},rn={key:0,class:"m-0 text-sm text-muted"},un={key:0,class:"flex flex-col gap-3","aria-hidden":"true"},dn={class:"flex flex-col gap-4"},cn={class:"flex flex-col gap-2"},mn={key:0,class:"m-0 text-xs text-error",role:"alert"},yn=600,vn=K({__name:"index",setup(s){const e=tt(),d=Fa(),w=L(!1),S=He(),P=v(()=>({source:"checkout",planName:T.value?.name??null,durationLabel:I.value,priceFormatted:e.summary.value?h(e.summary.value.total,e.summary.value.currency):E.value?h(E.value.price,E.value.currency):null,organizationName:e.scope.assignableTo==="organization"?S.userOrganization?.organization?.name??null:null})),N=ct(),T=v(()=>N.plans.value.find(c=>c.slug===e.planSlug.value)??null),E=v(()=>T.value?.durations.find(c=>c.id===e.planDurationId.value||c.durationSlug===e.planDurationId.value)??null),A=v(()=>ce(T.value?.canAutoRenew)),I=v(()=>{const c=E.value;return c?A.value?te(c.durationValue,c.durationUnit):me(c.durationValue,c.durationUnit):null}),k=e.isRenew,R=e.renewal,b=e.pathway,y=v(()=>R.value?.durationValue&&R.value?.durationUnit?te(R.value.durationValue,R.value.durationUnit):null),{invoice:o,load:g}=ut(),ae=L(!1),Te=v(()=>o.value?Ce(e.scope,o.value.id):"");async function Ue(){const c=e.renewSubscriptionId.value;if(!c){ae.value=!0;return}const l=e.scope;await g(c,l.assignableTo==="organization"&&l.organization?{type:"organization",organization:l.organization}:{type:"individual"}),ae.value=!0}const W=v(()=>k.value&&!!o.value&&e.state.value!=="invoice-created"&&e.state.value!=="failed-context"),B=e.isExtend,Ae=Ke(),ye=yt(),ve=v(()=>{if(!e.isPathway.value||B.value||e.state.value==="failed-context")return null;const c=e.summary.value;return c?vt({listCents:c.subtotal,currency:c.currency},ye.access.value,Ae.fullPath):null}),D=e.extension,ne=v(()=>D.value?.durationValue&&D.value?.durationUnit?te(D.value.durationValue,D.value.durationUnit):null),J=c=>c?new Date(c).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null,F=v(()=>nt({context:e.context.value,summary:e.summary.value})),X=v(()=>F.value.isConversion&&e.summary.value?.total===0);function Ee(){_({path:"/plans",query:e.returnUrl.value?{return:e.returnUrl.value}:{}})}const Ne=v(()=>e.state.value==="invoice-created"?3:2),pe=L(null),Y=v(()=>lt(e.billingDraft.value)),q=L(!1);H(Y,c=>{c&&(q.value=!1)});function fe(c){if(!Y.value){pe.value?.revealErrors(),q.value=!0;return}q.value=!1,c()}const j=L("card"),Ve=[{value:"card",label:"Pay now"},{value:"invoice",label:"Invoice me first"}];
1function Be(c){e.state.value==="paying"||e.state.value==="creating-invoice"||(j.value=c,q.value=!1)}const Le=v(()=>j.value==="invoice"?{...e.upgradeDisplay.value,showCreditRow:!1}:e.upgradeDisplay.value),Z=v(()=>j.value==="invoice"&&e.upgradeDisplay.value.showCreditRow?e.fullPriceQuote.value:e.summary.value);let Q=null;const G=L(!1),le=v(()=>j.value==="card"&&e.state.value==="billing"&&Y.value&&!G.value);function ge(){Q&&clearTimeout(Q),le.value&&(Q=setTimeout(()=>{le.value&&e.startCheckout().then(c=>{c||(G.value=!0)})},yn))}H(le,ge),H(e.billingDraft,()=>{G.value=!1,ge()},{deep:!0});function Fe(){G.value=!1}De(()=>{Q&&clearTimeout(Q)});const je=v(()=>e.state.value!=="ready"||!Y.value||!d.isComplete.value),Oe=v(()=>{const c=e.summary.value;return c?`Pay ${h(c.total,c.currency)}`:"Pay"}),xe=v(()=>{const c=e.invoiceResult.value?.dueAt;return c?new Date(c).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null});function be(c){return Ce(e.scope,c)}const we=v(()=>{const c=e.pendingInvoice.value;return c?be(c.invoiceId):""}),ke=v(()=>{const c=e.pendingInvoice.value;if(!c||e.isPathway.value||B.value)return!1;const l=e.planDurationId.value,M=E.value?.id??(Je(l)?l:null);return M?c.planDurationId!==M:!1}),oe=v(()=>{const c=e.invoiceResult.value;return c?be(c.invoiceId):""});function he(){const c=e.invoiceResult.value?.pdfUrl;c&&window.open(c,"_blank","noopener")}function Ye(){const c=e.invoiceResult.value?.hostedInvoiceUrl;c&&window.open(c,"_blank","noopener")}function se(){at(e.returnUrl.value??"/")}H(e.billingDraft,()=>{e.state.value==="ready"&&e.invalidateIntent()},{deep:!0});const Me=(()=>{const c=new URLSearchParams;e.returnUrl.value&&c.set("return",e.returnUrl.value),e.isAddon.value&&c.set("category","addons");const l=c.toString();return`/plans${l?`?${l}`:""}`})(),{goBack:ie}=mt(Me,["/plans"]);return $e(()=>{if(!e.planDurationId.value&&!k.value&&!B.value){ie();return}e.loadContext(),Ue(),e.isPathway.value&&!B.value&&ye.loadAccess(),!k.value&&!B.value&&N.load(void 0,e.isAddon.value||void 0)}),(c,l)=>{const M=Ie;return n(),u("div",ja,[a("div",Oa,[t(e).state.value!=="invoice-created"?(n(),f($,{key:0,label:"Back","style-type":"back",class:"mb-4 self-start",onClick:t(ie)},null,8,["onClick"])):(n(),f($,{key:1,label:"Back","style-type":"back",class:"mb-4 self-start",onClick:se})),p(ot,{"current-step":Ne.value,class:"mb-4"},null,8,["current-step"]),a("div",Ya,[a("h1",Ma,i(t(k)?"Renew subscription":t(B)?"Extend access":t(e).isPathway.value?"Buy a pathway":t(e).isAddon.value?"Add-on checkout":"Checkout"),1),p(st)]),t(e).isAddon.value&&t(e).state.value!=="failed-context"?(n(),f(U,{key:2,variant:"info",text:"You're purchasing an add-on. It will be co-terminated with your base subscription's current period.",class:"mb-4"})):m("",!0),t(e).isPathway.value&&!t(B)&&t(e).state.value!=="failed-context"?(n(),f(U,{key:3,variant:"info",class:"mb-4"},{default:C(()=>[...l[10]||(l[10]=[a("strong",null,"What you're agreeing to.",-1),r(" This assessment freezes at today's date. You'll have a 120-day window to enter data, a 30-day edit window that opens once your first report generates, and 12 months of access in total â then it locks, with a full export offered. ",-1)])]),_:1})):m("",!0),ve.value?(n(),f(rt,{key:4,nudge:ve.value,class:"mb-4"},null,8,["nudge"])):m("",!0),t(k)&&t(R)&&t(e).state.value!=="failed-context"&&!W.value?(n(),f(U,{key:5,variant:"info",class:"mb-4"},{default:C(()=>[l[11]||(l[11]=r(" You're renewing your ",-1)),a("strong",null,i(t(R).planName),1),l[12]||(l[12]=r(" subscription ",-1)),y.value?(n(),u(x,{key:0},[r("("+i(y.value)+")",1)],64)):m("",!0),l[13]||(l[13]=r(" as-is. Your new period starts as soon as your payment is received",-1)),t(R).seatCount?(n(),u(x,{key:1},[r(", and your "+i(t(R).seatCount)+" assigned "+i(t(R).seatCount===1?"seat stays":"seats stay")+" in place",1)],64)):m("",!0),l[14]||(l[14]=r(". Add-ons are not included â re-add them after renewing. Renewing switches automatic renewal back on; you can turn it off from the subscription page at any time. ",-1))]),_:1})):m("",!0),W.value&&t(o)?(n(),f(dt,{key:6,invoice:t(o),"invoice-route":Te.value,class:"mb-4"},null,8,["invoice","invoice-route"])):m("",!0),t(B)&&t(D)&&t(e).state.value!=="failed-context"?(n(),f(U,{key:7,variant:"info",class:"mb-4"},{default:C(()=>[l[16]||(l[16]=r(" You're extending your ",-1)),a("strong",null,i(t(D).pathwayName??t(D).planName),1),t(D).pathwayName?(n(),u(x,{key:0},[r("pathway ("+i(t(D).planName)+")",1)],64)):m("",!0),l[17]||(l[17]=r(" access",-1)),ne.value?(n(),u(x,{key:1},[r(" by "+i(ne.value),1)],64)):m("",!0),l[18]||(l[18]=r(". ",-1)),t(D).isExpired?(n(),u(x,{key:2},[r(" Your access ended on "+i(J(t(D).currentPeriodEnd))+";
1 the new period starts as soon as your payment is received",1),t(D).newPeriodEnd?(n(),u(x,{key:0},[r(" and runs to about "+i(J(t(D).newPeriodEnd)),1)],64)):m("",!0),l[15]||(l[15]=r(". ",-1))],64)):t(D).newPeriodEnd?(n(),u(x,{key:3},[r(" The new period starts when your current one ends on "+i(J(t(D).currentPeriodEnd))+" and runs to "+i(J(t(D).newPeriodEnd))+". ",1)],64)):m("",!0),l[19]||(l[19]=r(" Your answers, report and settings stay exactly as they are. ",-1))]),_:1})):m("",!0),F.value.isConversion&&t(e).state.value!=="failed-context"?(n(),f(U,{key:8,variant:"info",class:"mb-4"},{default:C(()=>[l[20]||(l[20]=r(" You're converting your ",-1)),a("strong",null,i(F.value.pathwayNames.join(", ")),1),r(" "+i(F.value.pathwayNames.length===1?"pathway purchase":"pathway purchases")+" into ",1),a("strong",null,i(F.value.targetPlanName),1),l[21]||(l[21]=r(". ",-1)),F.value.showCreditRow?(n(),u(x,{key:0},[r(" A "+i(t(h)(F.value.creditCents,t(e).summary.value?.currency??"USD"))+" pathway credit is applied to this order; ",1)],64)):m("",!0),l[22]||(l[22]=r(" the pathway subscriptions end when the new plan activates and their pathways carry over where the plan sells them. ",-1))]),_:1})):m("",!0),t(e).isPathway.value&&t(b)&&t(e).state.value!=="failed-context"?(n(),f(U,{key:9,variant:"info",class:"mb-4"},{default:C(()=>[l[23]||(l[23]=r(" You're buying the ",-1)),a("strong",null,i(t(b).name),1),l[24]||(l[24]=r(" pathway",-1)),t(b).priceTier?(n(),u(x,{key:0},[r(" ("+i(t(b).priceTier)+")",1)],64)):m("",!0),l[25]||(l[25]=r(": 120 days of data entry, 30 days of revision once your report is generated, and 12 months of platform access. ",-1)),t(b).isRefresh?(n(),u(x,{key:1},[r(" This is a refresh of a pathway you bought before â a fresh term with fresh windows, worked from the answers you already have. ")],64)):m("",!0)]),_:1})):m("",!0),t(e).state.value==="failed-context"?(n(),u("div",za,[p(U,{variant:"error",text:t(e).setupError.value??"Failed to load checkout"},null,8,["text"]),a("div",qa,[t(k)?(n(),f($,{key:0,label:"Pick a new plan","style-type":"primary/dark",onClick:Ee})):m("",!0),t(e).isPathway.value&&t(e).returnUrl.value?(n(),f($,{key:1,label:"Back to pathways","style-type":"primary/dark",onClick:l[0]||(l[0]=V=>t(_)(t(e).returnUrl.value))})):m("",!0),t(B)&&t(e).returnUrl.value?(n(),f($,{key:2,label:"Back to subscription","style-type":"primary/dark",onClick:l[1]||(l[1]=V=>t(_)(t(e).returnUrl.value))})):m("",!0),p($,{label:"Retry","style-type":"outline",onClick:l[2]||(l[2]=V=>t(e).loadContext())})])])):t(e).state.value==="invoice-created"&&t(e).invoiceResult.value?(n(),u("div",Qa,[t(e).invoiceResult.value.settled?(n(),f(z,{key:0},{default:C(()=>[a("div",Ga,[l[28]||(l[28]=a("h2",{class:"m-0 text-lg font-bold text-primary"},"Your order is confirmed",-1)),a("p",Ha,[l[26]||(l[26]=r(" Your pathway credit covered this plan in full. Your subscription is active now, and invoice ",-1)),p(M,{to:oe.value,class:"font-bold text-link underline hover:no-underline"},{default:C(()=>[r(i(t(e).invoiceResult.value.number),1)]),_:1},8,["to"]),l[27]||(l[27]=r(" records the credit â there is nothing to pay. ",-1))]),a("div",Ka,[p($,{label:"Download invoice (PDF)","style-type":"outline",onClick:he}),p($,{label:"Done","style-type":"primary/dark",onClick:se})])])]),_:1})):(n(),f(z,{key:1},{default:C(()=>[a("div",Wa,[l[32]||(l[32]=a("h2",{class:"m-0 text-lg font-bold text-primary"},"Your invoice is ready",-1)),a("p",Ja,[l[29]||(l[29]=r(" Invoice ",-1)),p(M,{to:oe.value,class:"font-bold text-link underline hover:no-underline"},{default:C(()=>[r(i(t(e).invoiceResult.value.number),1)]),_:1},8,["to"]),l[30]||(l[30]=r(" for ",-1)),a("span",Xa,i(t(h)(t(e).invoiceResult.value.total,t(e).invoiceResult.value.currency)),1),xe.value?(n(),u(x,{key:0},[r(" is due by "+i(xe.value),1)],64)):(n(),u(x,{key:1},[r(" has been issued")],64)),l[31]||(l[31]=r(". ",-1))]),p(U,{variant:"info",text:"Your subscription will be activated as soon as your payment is received. Payment instructions are on the invoice."}),t(e).upgradeDisplay.value.isUpgrade?(n(),f(U,{key:0,variant:"notice",text:"Pro-rated credits are based on the actual payment date. This invoice shows the full plan price â your credit is applied separately after payment is received."})):m("",!0),a("div",Za,[t(e).invoiceResult.value.hostedInvoiceUrl?(n(),f($,{key:0,label:"Pay invoice online","style-type":"primary/dark",onClick:Ye})):(n(),f($,{key:1,label:"View invoice","style-type":"primary/dark",onClick:l[3]||(l[3]=V=>t(_)(oe.value))})),p($,{label:"Download invoice (PDF)","style-type":"outline",onClick:he}),p($,{label:"Close","style-type":"outline",onClick:se})])])]),_:1}))])):!W.value&&(!t(k)||ae.value)?(n(),u("div",_a,[a("div",en,[Z.value?.pricingMode==="per_seat"&&!t(k)&&!t(B)?(n(),f(z,{key:0,class:"mb-4"},{default:C(()=>[a("div",tn,[l[33]||(l[33]=a("label",{for:"checkoutSeats",class:"font-inter font-semibold text-[13.5px] text-primary"},[r(" Seats "),a("span",{class:"block font-normal text-[12px] text-muted"},"One line, priced per seat")],-1)),p(Ze,{id:"checkoutSeats","model-value":t(e).quantity.value,min:1,max:1e3,disabled:["loading-context","creating-intent","paying","creating-invoice"].includes(t(e).state.value),class:"w-[120px]","onUpdate:modelValue":l[4]||(l[4]=V=>t(e).setQuantity(V??1))},null,8,["model-value","disabled"])])]),_:1})):m("",!0),p(Ta,{summary:Z.value,"pending-plan-name":T.value?.name??t(R)?.planName??t(D)?.planName,"pathway-name":t(b)?.name??t(D)?.pathwayName??null,"pending-duration-label":I.value??y.value??ne.value,"pending-can-auto-renew":A.value,"pending-pricing":E.value,"pricing-context":t(N).pricingContext.value,upgrade:Le.value,conversion:F.value,"current-plan-name":t(e).currentPlanName.value,"extension-mode":t(B),"pay-by-invoice":j.value==="invoice","quote-loading":t(e).state.value==="creating-intent",onChange:t
1(ie),onContactSupport:l[5]||(l[5]=V=>w.value=!0)},null,8,["summary","pending-plan-name","pathway-name","pending-duration-label","pending-can-auto-renew","pending-pricing","pricing-context","upgrade","conversion","current-plan-name","extension-mode","pay-by-invoice","quote-loading","onChange"])]),a("div",an,[t(e).pendingInvoice.value&&ke.value?(n(),f(U,{key:0,variant:"warning"},{default:C(()=>[l[34]||(l[34]=r(" You have an open invoice ",-1)),p(M,{to:we.value},{default:C(()=>[r(i(t(e).pendingInvoice.value.number),1)]),_:1},8,["to"]),l[35]||(l[35]=r(" for ",-1)),a("strong",null,i(t(e).pendingInvoice.value.planName),1),r(" ("+i(t(h)(t(e).pendingInvoice.value.total,t(e).pendingInvoice.value.currency))+"). Continuing will void that invoice and its pending subscription, replacing it with your new selection. ",1)]),_:1})):m("",!0),p(z,null,{default:C(()=>[a("div",nn,[l[36]||(l[36]=a("h2",{class:"m-0 text-lg font-bold text-primary"},"Billing details",-1)),t(e).state.value==="loading-context"?(n(),u("div",ln,[(n(),u(x,null,Re(4,V=>a("div",{key:V,class:"h-10 animate-pulse rounded-lg bg-surface-raised"})),64))])):(n(),f(Rt,{key:1,ref_key:"billingForm",ref:pe,draft:t(e).billingDraft.value,disabled:t(e).state.value==="paying"},null,8,["draft","disabled"]))])]),_:1}),t(e).state.value!=="loading-context"?(n(),f(z,{key:1},{default:C(()=>[a("div",on,[l[41]||(l[41]=a("h2",{class:"m-0 text-lg font-bold text-primary"},"Payment",-1)),X.value?(n(),u(x,{key:0},[p(U,{variant:"info",text:`Your pathway credit covers ${F.value.targetPlanName??"this plan"} in full â there is nothing to pay. Confirming activates it now.`},null,8,["text"]),p($,{label:"Confirm order","style-type":"primary/gradient",class:re(["w-full",{"checkout-btn-incomplete":!Y.value}]),"custom-class":"checkout-pay-btn",loading:t(e).state.value==="creating-invoice",onClick:l[6]||(l[6]=V=>fe(t(e).createInvoice))},null,8,["class","loading"])],64)):m("",!0),X.value?m("",!0):(n(),f(Xe,{key:1,options:Ve,"model-value":j.value,class:"self-start","onUpdate:modelValue":Be},null,8,["model-value"])),t(e).pendingInvoice.value&&!ke.value?(n(),f(U,{key:2,variant:"info"},{default:C(()=>[l[37]||(l[37]=r(" Invoice ",-1)),p(M,{to:we.value},{default:C(()=>[r(i(t(e).pendingInvoice.value.number),1)]),_:1},8,["to"]),r(" ("+i(t(h)(t(e).pendingInvoice.value.total,t(e).pendingInvoice.value.currency))+') is awaiting payment. Selecting "Invoice me first" shows it again â paying now replaces it. ',1)]),_:1})):m("",!0),t(e).setupError.value?(n(),f(U,{key:3,variant:"error",text:t(e).setupError.value},null,8,["text"])):m("",!0),ue(a("div",sn,[Y.value?G.value?(n(),f($,{key:1,label:"Try again","style-type":"outline",class:"self-start",onClick:Fe})):(n(),u(x,{key:2},[t(e).state.value!=="ready"&&t(e).state.value!=="paying"?(n(),u("div",un,[...l[38]||(l[38]=[a("div",{class:"h-10 animate-pulse rounded-lg bg-surface-raised"},null,-1),a("div",{class:"h-10 animate-pulse rounded-lg bg-surface-raised"},null,-1),a("div",{class:"h-10 w-1/2 animate-pulse rounded-lg bg-surface-raised"},null,-1)])])):(n(),f(Ba,{key:1,"client-secret":t(e).clientSecret.value,provider:t(d)},null,8,["client-secret","provider"])),t(e).payError.value?(n(),f(U,{key:2,variant:"error",text:t(e).payError.value},null,8,["text"])):m("",!0),p($,{label:Oe.value,"style-type":"primary/gradient",class:"w-full","custom-class":"checkout-pay-btn",disabled:je.value,loading:t(e).state.value==="paying",onClick:l[7]||(l[7]=V=>t(e).pay(t(d)))},null,8,["label","disabled","loading"]),l[39]||(l[39]=a("p",{class:"m-0 text-center text-xs text-muted"}," Payments are securely processed by Stripe. ",-1))],64)):(n(),u("p",rn," Complete your billing details to load the card payment form. "))],512),[[de,j.value==="card"&&!X.value]]),ue(a("div",dn,[l[40]||(l[40]=a("p",{class:"m-0 text-sm text-muted"}," You will get an invoice for this order. Your subscription will activate as soon as payment is received. ",-1)),t(e).upgradeDisplay.value.showCreditRow?(n(),f(U,{key:0,variant:"notice",text:"The remaining pro-rated value of your current subscription will be calculated on the actual payment date and credited separately after payment is received."})):m("",!0),a("div",cn,[p($,{label:"Get invoice","style-type":"primary/gradient",class:re(["w-full",{"checkout-btn-incomplete":!Y.value}]),"custom-class":"checkout-pay-btn",disabled:t(e).state.value==="creating-intent",loading:t(e).state.value==="creating-invoice",onClick:l[8]||(l[8]=V=>fe(t(e).createInvoice))},null,8,["class","disabled","loading"]),q.value?(n(),u("p",mn," Add your name, email, and country to continue. ")):m("",!0)])],512),[[de,j.value==="invoice"&&!X.value]])])]),_:1})):m("",!0)])])):m("",!0),w.value?(n(),f(it,{key:13,visible:w.value,context:P.value,onClose:l[9]||(l[9]=V=>w.value=!1)},null,8,["visible","context"])):m("",!0),t(e).state.value!=="invoice-created"&&!W.value?(n(),f(Vt,{key:14,"can-auto-renew":Z.value?t(ce)(Z.value.canAutoRenew):A.value},null,8,["can-auto-renew"])):m("",!0)])])}}}),wl=We(vn,[["__scopeId","data-v-252662f9"]]);export{wl as default};
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.