1import{_ as V,R as B,u as H,r as i,D,e as E,f as u,g as w,w as C,H as F,v as $,x as h,i as o,L as O,F as Q,o as _,T as A,j,t as R,cz as z,K as x,cE as K}from"./kV3UbmWC.js";import{_ as G}from"./Bkbgsozq.js";import{_ as J,a as U,b as W}from"./CSjnjjZT.js";import{c as X}from"./BGKs7_5k.js";import"./DqucRFxa.js";import"./DFyfOUaN.js";import"./DR6ml0wK.js";import"./nOdF7oh-.js";import"./DjhezoFL.js";import"./C8krmiux.js";import"./BLItm3Mv.js";import"./D0zgv2H4.js";import"./CDHKXH3t.js";import"./DN_HYiym.js";import"./CkYLXfjH.js";import"./dMRsTg0E.js";import"./Bv6v84Me.js";import"./ZDn52qBw.js";import"./22STUMkF.js";import"./VxTD2GRl.js";import"./CfX1vOTs.js";import"./CiPt2j0b.js";import"./CYWIdePs.js";import"./FOKLT-KQ.js";const Y={class:"pay w1200"},Z={__name:"[id]",setup(q){const d=B(),f=H();let l=i(!1);const p=i({}),M=i({}),y=i(!1),v=i(!1),P=i(!1),S=async({query:n,selectedGroup:a,order:c})=>{l.value=!0;let r=null;if(c)r=c;else{if(r=await z(n),r.code!=200)return l.value=!1,x.error(r.msg);n.coupon_sn==sessionStorage.getItem("coupon")&&sessionStorage.removeItem("coupon")}let{trade_no:s}=r.data;const g=`https://www.proxylite.com/order-check/${s}/`;let e=await K({...n,trade_no:s,return_url:g}).finally(()=>{l.value=!1});if(e.code==127)return d.push(f(`/order-check/${s}/`)),!1;if(e.code!=200)return x.error(e.msg);if(n.pm_id==30)d.push(f(`/order-check/${s}/`));else if(p.value=e.data,M.value=a,e.data.intent=="FINISH")d.push(f(`/order-check/${s}/`));else if(e.data.intent=="QRCODE")y.value=!0;else if(e.data.crypto&&e.data.crypto.address_qr_code)v.value=!0;else{const m=window.open("","_blank");m?m.location.href=e.data.payment_url:x.error(t("order-pay.t4")),P.value=!0}};return D(()=>{l.value=!0,setTimeout(()=>{l.value=!1},1e3*1.5)}),(n,a)=>{var I,b,L,N;const c=A,r=F,s=G,g=O,e=J,m=U,T=W;return _(),E(Q,null,[u(r,null,{default:C(()=>[u(c,null,{default:C(()=>[j(R(n.$t("user.status[1]"))+" - ProxyLite",1)]),_:1})]),_:1}),w("div",Y,[u(g,{loading:o(l)},{default:C(()=>[w("nav",{onClick:a[0]||(a[0]=k=>n.$router.back())},[u(o(X)),w("b",null,R(n.$t("pricing.pay.back")),1)]),u(s,{onConfirm:S})]),_:1},8,["loading"]),o(y)?(_(),$(e,{key:0,trade_no:(I=o(p))==null?void 0:I.trade_no,payment_url:(b=o(p))==null?void 0:b.payment_url,onClose:a[1]||(a[1]=k=>y.value=!1)},null,8,["trade_no","payment_url"])):h("",!0),o(v)?(_(),$(m,{key:1,cryptoPayMent:o(M),PayMentInfo:o(p),onClose:a[2]||(a[2]=k=>v.value=!1)},null,8,["cryptoPayMent","PayMentInfo"])):h("",!0),o(P)?(_(),$(T,{key:2,trade_no:(L=o(p))==null?void 0:L.trade_no,payment_url:(N=o(p))==null?void 0:N.payment_url,onClose:a[3]||(a[3]=k=>P.value=!1)},null,8,["trade_no","payment_url"])):h("",!0)])],64)}}},he=V(Z,[["__scopeId","data-v-46fe9535"]]);export{he 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.