1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DTB-ReRP.js","./CqkleIqs.js","./i53S1Mv-.js","./Bc7lCUTp.js","./entry.BcRYeKPT.css"])))=>i.map(i=>d[i]); 2import{s as H,o as n,f as i,d as L,v as Q,z as M,A as P,aA as J,u as q,ad as K,c as Z,D as w,r as Y,g as e,t as a,p as u,h as o,F as v,k as g,i as I,j as $,H as j,l as G,I as W,S as ss,w as y,at as ts,q as es,G as X,X as ns,R as x,ag as os,b5 as F,b6 as D,b9 as as,n as is,m as ls,b4 as cs,az as rs}from"./Bc7lCUTp.js";import{I as _s}from"./C0YOJmbQ.js";import{_ as us,a as ms,b as ds,c as ps,d as fs,e as gs,f as vs,g as bs,h as hs,i as xs}from"./BXBQOhGj.js";import{a as B,F as ys}from"./CmjZnZvE.js";import{P as T,g as V}from"./DsMtekfA.js";const Es={},Is={class:"text-gray-200 text-[10px]"};function $s(l,r){return n(),i("span",Is,"â")}const Ss=H(Es,[["render",$s]]),ws={ref:"lottie",class:"size-12"},Ns=1500,Cs=L({name:"StatusAnimation",__name:"status-animation",props:{animation:{type:Function},active:{type:Boolean,default:!1}},setup(l){const r=Q("lottie");return M(()=>{Promise.all([P(()=>import("./DTB-ReRP.js").then(p=>p.l),__vite__mapDeps([0,1]),import.meta.url),l.animation()]).then(([p,{default:f}])=>{if(!r.value)return;const m=p.default.loadAnimation({container:r.value,animationData:JSON.parse(f),loop:!1,autoplay:!1});J(()=>{l.active&&(m.stop(),m.play())},Ns)})}),(p,f)=>(n(),i("div",ws,null,512))}}),ks="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2025%2024'%3e%3cg%20stroke='%23726b80'%20stroke-linecap='round'%20stroke-miterlimit='10'%20stroke-width='1.5'%20clip-path='url(%23a)'%3e%3cpath%20d='m9.25%2015.25%206.5-6.5m0%206.5-6.5-6.5m3.25%2012.5a9.25%209.25%200%201%200%200-18.5%209.25%209.25%200%200%200%200%2018.5Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M.5%200h24v24H.5z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Os="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%3e%3cpath%20fill='%2322c55e'%20fill-rule='evenodd'%20d='M21.75%204a.75.75%200%200%201%20.727.937l-1.865%207.248a2.75%202.75%200%200%201-2.663%202.065H7.478l-.819%201.754Q6.704%2016%206.75%2016h10.5q.039%200%20.078.004a2.748%202.748%200%200%201-.078%205.496%202.75%202.75%200%200%201-2.447-4H9.197a2.75%202.75%200%201%201-4.853-.083l1.862-3.99L4.168%205.5H1.75a.75.75%200%200%201%200-1.5zm-15%2013.5a1.25%201.25%200%201%200%200%202.5%201.25%201.25%200%200%200%200-2.5m10.5%200a1.25%201.25%200%201%200%200%202.5%201.25%201.25%200%200%200%200-2.5m-9.668-4.75h10.367a1.25%201.25%200%200%200%201.211-.938L20.782%205.5H5.718z'%20clip-rule='evenodd'/%3e%3c/svg%3e",As="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%3e%3cg%20fill='%23a29caf'%3e%3cpath%20d='M15.724%209.215a.75.75%200%201%201%201.052%201.07l-5.59%205.5a.75.75%200%200%201-1.066-.014l-2.41-2.5a.75.75%200%201%201%201.08-1.041l1.884%201.954z'/%3e%3cpath%20d='M20.5%2012a8.5%208.5%200%201%200-17%200%208.5%208.5%200%200%200%2017%200m1.5%200c0%205.523-4.477%2010-10%2010S2%2017.523%202%2012%206.477%202%2012%202s10%204.477%2010%2010'/%3e%3c/g%3e%3c/svg%3e";var E=(l=>(l.CANCELLED="cancelled",l.WAITING_FOR_BUYER_FUNDS="waiting_for_buyer_funds",l.WAITING_FOR_CONFIRMATIONS="waiting_for_confirmations",l.COMPLETE="complete",l))(E||{});const Rs={class:"text-center mb-5"},Ds={class:"text-center mb-5 sm:mb-12 text-gray-600 sm:text-lg"},Ts={key:1,class:"flex flex-col items-center gap-5"},Ps={class:"leading-relaxed"},Ls={key:2,class:"flex flex-col items-center"},zs={class:"flex gap-8 justify-center items-center mb-8"},Us={class:"text-lg font-medium"},Ms=3e3,Fs=L({name:"OrderWaiting",__name:"coinpayments-loader",props:{isExtend:{type:Boolean,default:!1}},emits:["hide-loader"],setup(l,{emit:r}){const p=r,f=q(),m=K(),{t:A}=Z(),N=w(()=>[{status:E.WAITING_FOR_BUYER_FUNDS,title:A("subscription_success.coinpayments.waiting_funds"),animation:()=>P(()=>import("./Dshb1RSb.js"),[],import.meta.url)},{status:E.WAITING_FOR_CONFIRMATIONS,title:A("subscription_success.coinpayments.waiting_confirmations"),animation:()=>P(()=>import("./DHJKI54J.js"),[],import.meta.url)}]),C=Y(null),z=w(()=>{var t;return((t=C.value)==null?void 0:t.is_new_account)||!0}),O=w(()=>{var t;return((t=C.value)==null?void 0:t.email)||""}),s=w(()=>{var t;return((t=C.value)==null?void 0:t.coinpayments.status)||E.WAITING_FOR_BUYER_FUNDS}),d=w(()=>N.value.find(t=>t.status===s.value)||N.value[0]),k=w(()=>N.value.findIndex(t=>t.status===s.value)),S=async()=>{try{const t=await G({url:`/v4/orders/${f.query.order_id}`});if(C.value=t,s.value===E.CANCELLED)return;s.value===E.COMPLETE?p("hide-loader"):setTimeout(S,Ms)}catch(t){console.error(t),m.error({message:(t==null?void 0:t.message)||"Unknown error, please try again later"})}};return M(S),(t,_)=>{const U=ss,b=Ss,h=Cs;return n(),i(v,null,[e("h1",Rs,a(t.$t("subscription_success.coinpayments.title")),1),e("div",Ds,[u(a(t.$t("subscription_success.coinpayments.processing")),1),_[1]||(_[1]=e("br",null,null,-1)),!t.isExtend&&o(z)&&o(O)&&o(s)!==o(E).CANCELLED?(n(),i(v,{key:0},[u(a(t.$t("subscription_success.coinpayments.activation_email"))+" ",1),e("b",null,a(o(O)),1),_[0]||(_[0]=u(". "))],64)):g("",!0)]),o(C)?o(s)===o(E).CANCELLED?(n(),i("div",Ts,[_[3]||(_[3]=e("img",{src:ks,alt:"",class:"size-12"},null,-1)),e("div",Ps,[u(a(t.$t("subscription_success.coinpayments.cancelled")),1),_[2]||(_[2]=e("br",null,null,-1)),u(" "+a(t.$t("subscription_success.coinpayments.contact_support")),1)])])):(n(),i("div",Ls,[e("div",zs,[_[4]||(_[4]=e("img",{src:Os,alt:"",loading:"lazy",class:"size-12"},null,-1)),$(b),(n(!0),i(v,null,j(o(N),(c,R)=>(n(),i(v,{key:c.status},[e("div",{class:W({"text-gray-400":o(s)!==c.status,"text-green-500":R<o(k)})},[$(h,{animation:c.animation,active:o(s)===c.status},null,8,["animation","active"])],2),R<o(N).length-1?(n(),I(b,{key:0})):g("",!0)],64))),128)),$(b),_[5]||(_[5]=e("img",{src:As,alt:"",loading:"lazy",class:"size-12"},null,-1))]),e("span",Us,a(o(d).title),1)])):(n(),I(U,{key:0}))],64)}}}),Bs=H(Fs,[["__scopeId","data-v-91601185"]]),Vs=L({name:"HelpfulLink",__name:"helpful-link",props:{to:{}},setup(l){return(r,p)=>{const f=es,m=X;return n(),I(m,{to:r.to,class:"text-lg py-7 border-t -mx-10 px-5 font-medium flex items-center justify-center gap-2 sm:gap-3 hover:bg-gray-50 transition-colors",target:"_blank"},{default:y(()=>[ts(r.$slots,"default"),$(f,{icon:o(_s),size:"w-6 h-6",class:"hidden sm:block"},null,8,["icon"])]),_:3},8,["to"])}}}),Hs=rs(()=>P(()=>import("./i53S1Mv-.js"),__vite__mapDeps([2,3,4]),import.meta.url).then(l=>l.default||l)),qs={class:"text-center mb-5"},Ys={class:"max-w-4xl mx-auto mb-14 flex flex-col gap-7 items-center"},js={class:"text-center sm:text-xl !leading-relaxed text-balance"},Gs=["innerHTML"],Ws={class:"text-center mb-10 sm:mb-14"},Xs={class:"md:columns-2 -mx-5"},Qs={class:"p-10 bg-white shadow-md rounded-xl text-center overflow-hidden"},Js=["src","alt"],Ks={class:"flex flex-col gap-3 sm:text-balance"},Zs={class:"text-gray-800 max-w-lg text-lg leading-relaxed"},st={key:0},tt=["href"],et={class:"flex flex-col [&:not(:empty)]:mt-10 [&:not(:empty)]:-mb-10"},ct=L({name:"SubscriptionSuccessPage",__name:"success",setup(l){const r=q(),{setProfile:p}=ns(),f=Y(r.query[x.PROVIDER]===T.COINPAYMENTS&&r.query[x.ORDER_ID]),m=w(()=>r.query[x.ACTION]===cs.EXTEND),A=()=>{f.value=!1,m.value&&G({url:"/v3/user/profile"}).then(p)};M(()=>
2{if(m.value){F({eventName:D.PREMIUM_EXTEND_SUCCESS,[x.SOURCE]:V()});return}const s={[T.PADDLE]:D.SUBSCRIPTION_PADDLE_SUCCESS,[T.COINPAYMENTS]:D.SUBSCRIPTION_COINPAYMENTS_SUCCESS,[T.STRIPE]:D.SUBSCRIPTION_STRIPE_SUCCESS},d=r.query[x.PROVIDER],k=s[d];if(!k)return;const S=r.query[x.ADDON_ID];F({eventName:k,[x.SOURCE]:V(),...S&&{[x.ADDON_ID]:S}})});const z=Object.fromEntries(Object.entries(Object.assign({"/assets/img/subscription/features/api.svg":us,"/assets/img/subscription/features/custom-domains.svg":ms,"/assets/img/subscription/features/history-size.svg":ds,"/assets/img/subscription/features/history-sync.svg":ps,"/assets/img/subscription/features/inbox-in-extensions.svg":fs,"/assets/img/subscription/features/multiple-emails.svg":gs,"/assets/img/subscription/features/no-ads.svg":vs,"/assets/img/subscription/features/premium-domains.svg":bs,"/assets/img/subscription/features/saved-messages.svg":as,"/assets/img/subscription/features/storage-time.svg":hs,"/assets/img/subscription/features/unlimited-forwarding.svg":xs})).map(([s,d])=>[os(s),d.default])),O=s=>{try{return z[s]}catch(d){return console.error("Error getting feature image",d),null}};return(s,d)=>{const k=Bs,S=Hs,t=is,_=X,U=ls,b=Vs;return o(f)?(n(),I(k,{key:0,"is-extend":o(m),onHideLoader:A},null,8,["is-extend"])):(n(),i(v,{key:1},[$(S),d[0]||(d[0]=e("div",{class:"text-center mb-5"},[e("span",{class:"text-5xl"},"ð")],-1)),e("h1",qs,a(o(m)?s.$t("subscription_success.extend.title"):s.$t("subscription_success.title")),1),e("div",Ys,[o(m)?(n(),i(v,{key:0},[e("p",js,a(s.$t("subscription_success.extend.text")),1),$(t,{href:s.$localePath("/profile"),"data-qa":"extend-to-profile"},{default:y(()=>[u(a(s.$t("subscription_success.extend.to_profile")),1)]),_:1},8,["href"])],64)):(n(),i(v,{key:1},[e("div",{class:"text-center sm:text-xl !leading-relaxed text-balance",innerHTML:s.$t("subscription_success.text")},null,8,Gs),$(U,null,{default:y(()=>[u(a(s.$t("subscription_success.troubles_with_activation"))+" ",1),$(_,{to:"/help/account/cannot-get-activation-message",class:"underline",target:"_blank"},{default:y(()=>[u(a(s.$t("subscription_success.follow_our_detailed_guide")),1)]),_:1})]),_:1})],64))]),e("h2",Ws,a(s.$t("subscription_success.subtitle")),1),e("div",Xs,[(n(!0),i(v,null,j(s.$tm("subscription.features"),(h,c,R)=>(n(),i("div",{key:`feature-${c}`,class:"flex flex-col gap-7 mx-5 my-10 sm:my-20 [&:first-child]:mt-0 [&:last-child]:mb-0"},[e("div",Qs,[O(c)?(n(),i("img",{key:0,loading:"lazy",class:W(["w-full aspect-video mb-14",{"px-5":R===5}]),src:O(c),alt:s.$rt(h.title)},null,10,Js)):g("",!0),e("div",Ks,[e("h3",null,[typeof o(B).plus[c]=="number"&&c!==o(ys).API?(n(),i(v,{key:0},[u(a(o(B).plus[c]),1)],64)):g("",!0),u(" "+a(s.$rt(h.title)),1)]),e("p",Zs,a(s.$rt(h.description)),1),h.url?(n(),i("span",st,[e("a",{href:s.$rt(h.url),class:"underline capitalize text-lg font-medium",target:"_blank"},a(s.$rt(h.url_title)),9,tt)])):g("",!0)]),e("div",et,[c==="custom-domains"?(n(),I(b,{key:0,to:"/help/domains/what-is-custom-domain"},{default:y(()=>
2[u(a(s.$t("subscription_success.what_is_custom_domain")),1)]),_:1})):g("",!0),c==="custom-domains"?(n(),I(b,{key:1,to:"/help/domains/how-to-add-custom-domain"},{default:y(()=>[u(a(s.$t("subscription_success.how_to_add_custom_domain")),1)]),_:1})):g("",!0),c==="history-size"?(n(),I(b,{key:2,to:"/help/emails/how-to-access-old-temp-mail"},{default:y(()=>[u(a(s.$t("subscription_success.how_to_access_old_emails")),1)]),_:1})):g("",!0),c==="inbox-in-extensions"?(n(),I(b,{key:3,to:s.$localePath("/extensions")},{default:y(()=>[u(a(s.$t("subscription_success.get_our_extension")),1)]),_:1},8,["to"])):g("",!0)])])]))),128))])],64))}}});export{ct 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.