import{C as e,D as t,E as n,F as r,H as i,Q as a,T as o,Y as s,_ as c,b as l,n as u,r as d}from"./app-TUitoOVa.js";import{t as f}from"./MarketingLayout-BhvHJ8hj.js";var p={class:`mx-auto max-w-xl px-6 py-24 text-center`},m={class:`mt-3 text-ink-2`},h={class:`mt-5 select-all rounded-xl border border-line bg-surface-2 px-5 py-4 font-mono text-lg font-bold tracking-wide text-primary`},g={key:1,class:`mt-3 text-ink-2`},_={class:`mt-8 flex justify-center gap-3`},v=t({__name:`Success`,props:{license:{}},setup(t){return(v,y)=>(r(),e(c,null,[n(s(u),{title:`Thank you`}),n(f,null,{default:i(()=>[l(`section`,p,[y[5]||=l(`div`,{class:`text-5xl`},`🎉`,-1),y[6]||=l(`h1`,{class:`mt-4 text-3xl font-black tracking-tight`},`Thank you!`,-1),t.license?(r(),e(c,{key:0},[l(`p`,m,[y[0]||=o(`Your purchase of `,-1),l(`strong`,null,a(t.license.product),1),y[1]||=o(` is complete. Here’s your license key:`,-1)]),l(`div`,h,a(t.license.key),1),y[2]||=l(`p`,{class:`mt-3 text-sm text-ink-muted`},[o(`Enter this key in your site’s `),l(`strong`,null,`Admin → Marketplace`),o(` to install it. It’s also saved to your account.`)],-1)],64)):(r(),e(`p`,g,`Your payment is being confirmed. Your license key will appear in your account momentarily — and we’ve emailed it to you.`)),l(`div`,_,[n(s(d),{href:`/account/licenses`,class:`rounded-xl bg-primary px-5 py-3 font-bold text-white hover:bg-primary-600`},{default:i(()=>[...y[3]||=[o(`View my licenses`,-1)]]),_:1}),n(s(d),{href:`/extensions`,class:`rounded-xl border border-line px-5 py-3 font-bold text-ink-2 hover:bg-surface-2`},{default:i(()=>[...y[4]||=[o(`Back to extensions`,-1)]]),_:1})])])]),_:1})],64))}});export{v as default};