PageSourceSearch

https://cdn-static.gloda.vip/ds-gala-front-app-pc/_nuxt/DFZd1kzl.js

js gloda.vip collected 2026-10-08 22:48:52 UTC 1,927 bytes, 2 lines download raw bytes

1import{d as R,G as F,H as I,u as O,a1 as T,b as V,r as f,c as m,cd as A,ce as $,O as D,bd as M,o as h,i as U,h as n,g as p,l as _,k as r,f as Y,m as j,t as u,w as z,M as v,P as G,a5 as H,E as K,S as J}from"./rMOKYDjI.js";const Q={class:"h-full w-full flex flex-col gap-16"},W={class:"box-border w-full flex flex-1 flex-col items-center justify-center gap-16 rd-8 bg-white p-32 text-16 text-[--color-text-1] font-500"},X={"mt-8":""},Z=2e3,ee=1e3,ne=R({__name:"check",setup(te){const b=F(),{$request:g}=I(),{t}=O(),{refetchUserInfo:w}=T(),k=V(),o=f(!0),s=f(0),c=m(()=>b.query.trade_number),l=m(()=>{switch(s.value){case 3:return{title:t("Some anomalies have occurred."),subtitle:t("You can click refresh to retry.")};default:return{title:t("Payment pending"),subtitle:t("please do not close the page.")}}}),{pause:a,resume:i}=A(y,Z,{immediate:!1});async function y(){if(!c.value){a();return}try{o.value=!0;const e=await g(`/trades/${c.value}`);x(e)}catch(e){E(e)}}function x(e){switch(e.status){case 2:B();break;case 3:C(e.message);break;default:console.warn("Unknown payment status:",e.status)}s.value=e.status,e.status!==0&&(a(),setTimeout(d,ee))}const{isFromFb:P}=$();function B(){v.success(t("支付成功")),window.fbq&&P.value&&window.fbq("track","Purchase"),w()}function C(e){v.error(e||t("支付失败"))}function E(e){console.error("Order query failed:",e),s.value=3,o.value=!1,a()}function d(){G(k("/vip"))}function L(){o.value=!1,s.value=0,a(),i()}return D(c,e=>{e&&i()},{immediate:!0}),M(a),(e,se)=>{const N=H,S=J,q=K;return h(),U("div",Q,[n("span",{class:"cursor-pointer",onClick:d},[p(N,{name:"vip/return",width:24,height:24}),_(" BACK ")]),n("div",W,[r(s)===0?(h(),Y(S,{key:0,size:40})):j("",!0),n("div",X,u(r(l).title),1),n("div",null,u(r(l).subtitle),1),p(q,{type:"primary","mt-16":"",onClick:L},{default:z(()=>[_(u(e.$t("refresh")),1)]),_:1})])])}}});export{ne as default};
2//# sourceMappingURL=DFZd1kzl.js.map

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.