1import{_ as w}from"./DoMoL-Ky.js";import{E as x}from"./l-0c4tcc.js";import{j as g,h as C,r as d,c as i,o as l,a as u,b as s,a8 as V,t as a,w as p,q as c,m as $,s as B,d as _}from"./Du-RYt8t.js";import{c as E}from"./NrtfPlkz.js";import{_ as N}from"./DlAUqK2U.js";import"./ve6nrjoC.js";const R={class:"subscription-succeeded"},U={class:"wrap"},D={key:0,class:"d-ctrl"},L={__name:"index",setup(P){const m=g(),{getUserInfo:n}=m,f=$(),h=B(),y=C(),o=d(""),t=d(!1),v=async()=>{t.value=!0;try{const e=await E({session_id:f.query.session_id});e&&e.code===200&&e.data&&e.data.order.invoice_pdf&&(o.value=e.data.order.invoice_pdf),t.value=!1,n()}catch{t.value=!1,n()}},b=()=>{if(o&&o.value&&!t.value){const e=document.createElement("a");document.body.appendChild(e),e.style.display="none",e.href=`${o.value}?response-content-type=application%2Foctet-stream`,e.rel="noopener noreferrer",e.click(),document.body.removeChild(e),window.URL.revokeObjectURL(o.value)}},k=()=>{h.push({path:y("/dashboard")})};return v(),(e,j)=>{const S=w,r=x;return l(),i("div",R,[u("div",U,[s(S,{name:"gouxuan",filled:"",class:"block mx-auto check-icon"}),u("h3",null,a(e.$t("paySuccess_paymentSuccess")),1),s(r,{type:"primary",onClick:k,loading:c(t),disabled:c(t)},{default:p(()=>[_(a(e.$t("paySuccess_getStarted")),1)]),_:1},8,["loading","disabled"]),c(o)?(l(),i("div",D,[s(r,{type:"text",onClick:b},{default:p(()=>[_(a(e.$t("paySuccess_downloadPaymentVoucher")),1)]),_:1})])):V("",!0)])])}}},A=N(L,[["__scopeId","data-v-bab7ff72"]]);export{A 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.