Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
game 61 clube /
assets /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
native
[ DIR ]
drwxr-xr-x
2025-03-26 22:46
ar-35d5f806.js
189.54
KB
-rw-r--r--
2025-03-26 22:46
ar-9b618746.js
189.53
KB
-rw-r--r--
2025-03-26 22:46
bdt-59b7042e.js
248.19
KB
-rw-r--r--
2025-03-26 22:46
bdt-cf865807.js
248.19
KB
-rw-r--r--
2025-03-26 22:46
bra-3ab0f86f.js
146.75
KB
-rw-r--r--
2025-03-26 22:46
bra-aababf96.js
146.79
KB
-rw-r--r--
2025-03-26 22:46
en-bc484038.js
134.3
KB
-rw-r--r--
2025-03-26 22:46
en-cae5b254.js
134.78
KB
-rw-r--r--
2025-03-26 22:46
hd-509ab7a8.js
249.72
KB
-rw-r--r--
2025-03-26 22:46
hd-c0b680be.js
249.97
KB
-rw-r--r--
2025-03-26 22:46
id-3d0ca29b.js
135.07
KB
-rw-r--r--
2025-03-26 22:46
id-d4342d32.js
135.03
KB
-rw-r--r--
2025-03-26 22:46
index-20d21328.js
19.88
KB
-rw-r--r--
2025-03-26 22:46
index-ac3cc376.js
4.92
KB
-rw-r--r--
2025-03-26 22:46
index-c5ae8495.js
19.75
KB
-rw-r--r--
2025-03-26 22:46
md-c0d15065.js
315.66
KB
-rw-r--r--
2025-03-26 22:46
md-c91aff1a.js
315.58
KB
-rw-r--r--
2025-03-26 22:46
modules-f0d7701b.js
1.25
MB
-rw-r--r--
2025-03-26 22:46
modules-f3c4939f.js
1.25
MB
-rw-r--r--
2025-03-26 22:46
my-d3165d06.js
134.79
KB
-rw-r--r--
2025-03-26 22:46
my-dbd78db9.js
134.88
KB
-rw-r--r--
2025-03-26 22:46
page-activity-7450c021.js
1.3
MB
-rw-r--r--
2025-11-21 17:37
page-activity-ee8a72bf.js
1.25
MB
-rw-r--r--
2025-11-21 17:37
page-home-c4c81372.js
677.58
KB
-rw-r--r--
2025-03-26 22:46
page-home-f004124b.js
679.32
KB
-rw-r--r--
2025-03-26 22:46
page-login-7b2b46c1.js
40.35
KB
-rw-r--r--
2025-03-26 22:46
page-login-e59ddec4.js
43.14
KB
-rw-r--r--
2025-03-26 22:46
page-main-db3a0b97.js
130.54
KB
-rw-r--r--
2025-03-26 22:46
page-main-ed177ab1.js
128.47
KB
-rw-r--r--
2025-03-26 22:46
page-promotion-1aaf8be9.js
51.98
KB
-rw-r--r--
2025-03-26 22:46
page-promotion-73d8c439.js
52.1
KB
-rw-r--r--
2025-03-26 22:46
page-register-b5c35892.js
17
KB
-rw-r--r--
2025-03-26 22:46
page-rpwd-1352b9ae.js
10.3
KB
-rw-r--r--
2025-03-26 22:46
page-rpwd-1f344c11.js
10.27
KB
-rw-r--r--
2025-03-26 22:46
page-test-22bee71d.js
14.04
KB
-rw-r--r--
2025-03-26 22:46
page-test-eda5d168.js
14.02
KB
-rw-r--r--
2025-03-26 22:46
page-vip-bc080803.js
22.12
KB
-rw-r--r--
2025-03-26 22:46
page-vip-d96def68.js
22.17
KB
-rw-r--r--
2025-03-26 22:46
page-wallet-a27db91e.js
547.05
KB
-rw-r--r--
2025-03-26 22:46
page-wallet-cbddbcfa.js
233.8
KB
-rw-r--r--
2025-03-26 22:46
pak-56d1671c.js
197.85
KB
-rw-r--r--
2025-03-26 22:46
pak-c9649f1f.js
197.87
KB
-rw-r--r--
2025-03-26 22:46
rus-17e010d8.js
88.76
KB
-rw-r--r--
2025-03-26 22:46
rus-7aba5263.js
88.77
KB
-rw-r--r--
2025-03-26 22:46
tha-28264300.js
240.99
KB
-rw-r--r--
2025-03-26 22:46
tha-9d9a5d5b.js
240.95
KB
-rw-r--r--
2025-03-26 22:46
vi-2b471810.js
163.6
KB
-rw-r--r--
2025-03-26 22:46
vi-58ce7afb.js
163.63
KB
-rw-r--r--
2025-03-26 22:46
zh-23e70c06.js
114.25
KB
-rw-r--r--
2025-03-26 22:46
zh-3d649d7a.js
113.94
KB
-rw-r--r--
2025-03-26 22:46
Save
Rename
import { _ as ce, J as E, K as Te, P as me, r as T, A as ke, a2 as q, j as l, l as e, a6 as _, H as a, a0 as t, a1 as y, F as st, a4 as oe, a5 as Ce, o as s, a9 as ae, k as jt, af as Be, ag as Pe, I as Ae, a7 as te, O as Ge, aa as _e, am as Re, a8 as j, G as Ke, N as _t, n as ue, z as Sa, aq as St, aQ as kn, aP as bn, D as At, ae as Ne, W as Cn, a3 as nt, ak as It, aB as Je, ad as Tn, q as Nt, $ as na, as as Ia, Q as ot, ab as Na, ac as ia, B as Sn, b0 as In, b1 as sa, } from "./modules-f0d7701b.js"; import { G as xt, a as Ye, bo as dt, A as ne, cJ as Nn, cK as An, bq as kt, o as ve, g as ye, _ as de, bw as lt, bx as Oe, $ as Ie, D as et, cL as Dn, cM as ra, cN as Aa, cO as Rn, S as Ve, c as Un, d as Bn, cP as Vt, cQ as Pn, b1 as Jt, b2 as ea, v as ta, cR as Wn, cS as On, cT as Ln, a2 as Da, cU as Mn, cV as qn, cW as Vn, cX as En, cY as jn, cZ as xn, c_ as ga, c$ as Hn, d0 as Fn, d1 as zn, d2 as Kn, d3 as Gn, ag as Dt, d4 as Qn, d5 as Yn, d6 as Ra, d7 as Ua, cr as Zn, cI as ca, i as fe, cB as Ba, b as Rt, d8 as la, a0 as bt, L as da, bu as Xn, M as Jn, d9 as es, da as ts, db as as, f as ut, dc as ns, dd as Pa, de as it, u as Ht, df as ss, dg as Wa, N as ls, cf as Et, bL as os, dh as $a, r as is, di as rs, dj as ht, cz as mt, bf as Qe, dk as cs, ca as ua, dl as Ft, dm as ds, dn as us, dp as vs, dq as ps, dr as _s, ds as hs, dt as ms, du as Oa, dv as fs, dw as ws, dx as ys, dy as gs, dz as $s, } from "./page-activity-ee8a72bf.js"; import { u as va, P as ks } from "./page-login-e59ddec4.js"; import { N as bs, C as La, v as Ma, a as qa } from "./page-home-c4c81372.js"; import { u as ft, S as wt } from "./page-test-22bee71d.js"; import { S as Cs } from "./page-promotion-73d8c439.js"; window.getBuildInfo = function () { return { buildTime: "11/30/2024, 12:54:19 AM", branch: " commitId:eb04e17425ebd38c4c3adb463c3193984d6a78ef", }; }; const Ts = { class: "wallet-container" }, Ss = { class: "wallet-container-header" }, Is = { class: "wallet-container-header-belly" }, Ns = { key: 0 }, As = { class: "total" }, Ds = { class: "total" }, Rs = { class: "wallet-container-content" }, Us = { class: "container" }, Bs = { class: "progressBars" }, Ps = { class: "progressBarsL" }, Ws = { class: "progressBarsR" }, Os = { class: "recycleBtnD" }, Ls = { key: 1, class: "recycleBtn disable" }, Ms = { class: "userDetail" }, qs = ["onClick"], Vs = { class: "imgD" }, Es = ["src"], js = { key: 0, class: "gameList" }, xs = { class: "money" }, Hs = { key: 1, class: "gameList" }, Fs = ce({ __name: "index", setup(g) { const n = xt(), u = E(() => n.userInfo), c = kt(), { t: i } = Te(), o = me(), { setLoading: v } = Ye(), m = dt(), k = { recharge: { title: i("recharge"), icon: "rechargeIcon", link: "Recharge", }, withdraw: { title: i("withdraw"), icon: "widthdrawBlue", link: "Withdraw", }, rechargeHistory: { title: i("rechargeRecords"), icon: "rechargeHistory", link: "RechargeHistory", }, withdrawHistory: { title: i("withdrawRecords"), icon: "withdrawHistory", link: "WithdrawHistory", }, }; function h(K) { K === "RechargeHistory" && c.emit("changeKeepAliveKey"), o.push({ name: K }); } let r = T([]), f = 0, p = 0, A = 0, C = "0%", R = 0, S = 0, w = "0%"; const b = new Date().getTime() / 1e3, $ = T(0), B = T(0), D = T(0); async function O() { v(!0); const K = await ne(Nn()); K && (m.setTimestampLast(b), m.setAllwallets(K == null ? void 0 : K.data), Q(K == null ? void 0 : K.data)), v(!1); } async function x() { if (D.value) return; D.value = 5; const K = await ne(An()); K && (f = K.data.amount), I(); } const I = async () => { if (D.value == 0) { v(!0), await O(), v(!1); return; } setTimeout(() => { (D.value -= 1), I(); }, 1e3); }; function Q(K) { if (!K) return; u.value.isShowWalletTotalCT == "1" && (($.value = K.totalWithdraw || 0), (B.value = K.totalRecharge || 0)), (r.value = K.thidGameBalanceList || []); let H = K.thidGameBalanceList || []; if (((p = 0), (R = 0), H)) for (var N of H) N.vendorCode === "Lottery" ? (p += N.balance) : (R += N.balance); (f = p + R), f > 0 ? ((A = Math.round((p / f) * 1e4) / 100), (S = Math.round((R / f) * 1e4) / 100), (C = A + "%"), (w = S + "%")) : ((A = 0), (S = 0)); } return ( ke(async () => { m.getTimestampLast == 0 || b - m.getTimestampLast >= 6 ? await O() : Q(m.getAllwallets); }), (K, H) => { const N = q("NavBar"), z = q("svg-icon"), V = q("van-circle"); return ( s(), l("div", Ts, [ e("div", Ss, [ _( N, { title: a(i)("wallet"), class: "main", "left-arrow": "", onClickLeft: H[0] || (H[0] = (W) => a(o).go(-1)), }, null, 8, ["title"] ), e("div", Is, [ _(z, { name: "wallet1" }), e("div", null, t(a(ve)(a(f))), 1), e("span", null, t(a(i)("totalBalance")), 1), u.value.isShowWalletTotalCT == "1" ? (s(), l("div", Ns, [ e("div", null, [ e("p", As, t($.value), 1), e("p", null, t(a(i)("totalWithdraw")), 1), ]), e("div", null, [ e("p", Ds, t(B.value), 1), e("p", null, t(a(i)("totalRechargeAmount")), 1), ]), ])) : y("v-if", !0), ]), ]), e("div", Rs, [ e("div", Us, [ e("div", Bs, [ e("div", Ps, [ _( V, { "current-rate": a(A), "onUpdate:currentRate": H[1] || (H[1] = (W) => (st(A) ? (A.value = W) : (A = W))), speed: 100, text: a(C), "stroke-width": "100", "stroke-linecap": "butt", }, null, 8, ["current-rate", "text"] ), e("h3", null, t(a(ve)(a(p))), 1), e("span", null, t(a(i)("mainWallet")), 1), ]), e("div", Ws, [ _( V, { "current-rate": a(S), "onUpdate:currentRate": H[2] || (H[2] = (W) => (st(S) ? (S.value = W) : (S = W))), speed: 100, text: a(w), "stroke-width": "100", "stroke-linecap": "butt", }, null, 8, ["current-rate", "text"] ), e("h3", null, t(a(ve)(a(R))), 1), e("span", null, t(a(i)("thirdPartyWallet")), 1), ]), ]), e("div", Os, [ D.value == 0 ? (s(), l( "button", { key: 0, class: "recycleBtn", onClick: x }, t(a(i)("oneClickRecovery")), 1 )) : (s(), l( "button", Ls, t(a(i)("recycling")) + " " + t(D.value), 1 )), ]), e("div", Ms, [ (s(), l( oe, null, Ce(k, (W, Z) => e( "div", { key: Z, onClick: (U) => h(W.link) }, [ e("div", Vs, [ e( "img", { src: a(ye)("wallet", W.icon) }, null, 8, Es ), ]), e("span", null, t(W.title), 1), ], 8, qs ) ), 64 )), ]), ]), a(r) ? (s(), l("div", js, [ (s(!0), l( oe, null, Ce( a(r), (W, Z) => ( s(), l( "div", { class: ae([ "box", W.balance > 0 ? "select" : "", ]), key: Z, }, [ _(z, { name: W.vendorCode }, null, 8, ["name"]), e("h3", xs, t(a(ve)(W.balance, " ")), 1), e("span", null, t(W.vendorCode), 1), ], 2 ) ) ), 128 )), ])) : (s(), l("div", Hs, [e("div", null, t(a(i)("noData")), 1)])), ]), ]) ); } ); }, }); const zs = de(Fs, [ ["__scopeId", "data-v-0dabd3fc"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/index.vue", ], ]), X$ = Object.freeze( Object.defineProperty( { __proto__: null, default: zs }, Symbol.toStringTag, { value: "Module" } ) ), yt = (g) => (Be("data-v-63c604a3"), (g = g()), Pe(), g), Ks = { class: "WHD__container" }, Gs = ["src"], Qs = { class: "WHD__container-body" }, Ys = { class: "container" }, Zs = { class: "top ar-1px-b" }, Xs = ["src"], Js = yt(() => e("span", null, "Bank Card 充值", -1)), el = jt( '<div class="item" data-v-63c604a3><div data-v-63c604a3><span data-v-63c604a3>订单金额</span><span class="yellow" data-v-63c604a3>$8888.88</span></div><div data-v-63c604a3><span data-v-63c604a3>扣除金额</span><span class="black" data-v-63c604a3>$8888.88</span></div><div data-v-63c604a3><span data-v-63c604a3>到账金额</span><span class="black" data-v-63c604a3>$8888.88</span></div><div data-v-63c604a3><span data-v-63c604a3>订单时间</span><span data-v-63c604a3>2022-06-01</span></div></div>', 1 ), tl = { class: "mImg" }, al = ["src"], nl = { class: "item" }, sl = yt(() => e("span", null, "UTR", -1)), ll = yt(() => e("span", null, "202246892345", -1)), ol = yt(() => e("span", null, "订单号", -1)), il = yt(() => e("span", null, "2022102518543345000113", -1)), rl = yt(() => e("span", null, "支付时间", -1)), cl = yt(() => e("span", null, "2022-06-20 15:15:16", -1)), dl = jt( '<div class="containerB" data-v-63c604a3><div class="top ar-1px-b" data-v-63c604a3><span data-v-63c604a3>银行名称</span></div><div class="item" data-v-63c604a3><div data-v-63c604a3><span class="red" data-v-63c604a3>Account Name</span><span data-v-63c604a3>SAWARN TELECOM</span></div><div data-v-63c604a3><span class="red" data-v-63c604a3>Bank Number</span><span data-v-63c604a3>0005123100000315</span></div><div data-v-63c604a3><span class="red" data-v-63c604a3>Order Number</span><span data-v-63c604a3>2022102518543345000113</span></div></div></div>', 1 ), ul = ce({ __name: "index", setup(g) { const n = me(); function u() { n.back(); } const c = history.state.paramValue || 1; return (i, o) => { const v = q("NavBar"), m = q("svg-icon"); return ( s(), l("div", Ks, [ _( v, { title: "", classN: `bg${a(c)}`, "left-arrow": "", onClickLeft: u, }, null, 8, ["classN"] ), e( "div", { class: ae(["WHD__container-header", `bg${a(c)}`]) }, [ e("div", null, [ e("h1", null, t(i.$t(a(lt)(a(Oe).RechargeState, a(c)))), 1), e( "span", null, t(i.$t(a(lt)(a(Oe).RStateCorrelationT, a(c)))), 1 ), ]), e( "img", { src: a(ye)( "wallet/recharge/rechargeRecords/state", `${a(c)}` ), }, null, 8, Gs ), ], 2 ), e("div", Qs, [ e("div", Ys, [ e("div", Zs, [ e( "img", { src: a(ye)("wallet/withdraw/withdrawHistory", "bc") }, null, 8, Xs ), Js, ]), el, e("div", tl, [ e( "img", { src: a(ye)("wallet/withdraw/withdrawHistory", "moonBar"), }, null, 8, al ), ]), e("div", nl, [ e("div", null, [ sl, ll, _(m, { onClick: o[0] || (o[0] = (k) => a(Ie)("1414")), name: "copy", }), ]), e("div", null, [ ol, il, _(m, { onClick: o[1] || (o[1] = (k) => a(Ie)("1414")), name: "copy", }), ]), e("div", null, [ rl, cl, _(m, { onClick: o[2] || (o[2] = (k) => a(Ie)("1414")), name: "copy", }), ]), ]), ]), dl, ]), ]) ); }; }, }); const vl = de(ul, [ ["__scopeId", "data-v-63c604a3"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/BankStatus/index.vue", ], ]), J$ = Object.freeze( Object.defineProperty( { __proto__: null, default: vl }, Symbol.toStringTag, { value: "Module" } ) ), pl = (g) => (Be("data-v-b22f1e4e"), (g = g()), Pe(), g), _l = { class: "cancel_recharge" }, hl = { class: "info" }, ml = { class: "info_item" }, fl = pl(() => e("div", null, "UPI ID", -1)), wl = { class: "user_name" }, yl = { class: "info_item" }, gl = { class: "money" }, $l = { class: "info_item" }, kl = { class: "order_num" }, bl = { class: "time" }, Cl = { class: "cancel_content" }, Tl = { class: "title" }, Sl = ["onClick"], Il = { class: "radio_title" }, Nl = ["placeholder", "disabled"], Al = { class: "tip" }, Dl = { class: "cancen_model_cnt" }, Rl = ce({ __name: "index", setup(g) { const { t: n } = Te(), u = kt(), c = T(""), i = T(!1), o = T(-1), v = T(), m = me(), k = Ae([]), h = () => { m.back(); }, r = async () => { await p(), (i.value = !1); }, f = E(() => { var R; return o.value === 4 ? c.value : (R = k.find((S) => S.id === o.value)) == null ? void 0 : R.reasonText; }), p = async () => { var w; let R = { orderId: (w = v.value) == null ? void 0 : w.id, cancelReason: f.value, }; (await ne(Dn(R))) && (Ge(n("code244")), u.emit("changeKeepAliveKey"), window.history.replaceState(null, "", window.location.href), m.replace({ name: "RechargeHistory", query: { type: 1 } })); }, A = async (R) => { const S = await ne(ra({ orderId: R })); S && (v.value = S.data); }, C = async () => { const R = await ne(Aa({ type: 0 })); R && k.unshift(...R.data); }; return ( ke(async () => { const R = Number(m.currentRoute.value.query.orderNo); await A(R), await C(); }), (R, S) => { var $, B, D, O; const w = q("NavBar"), b = q("van-divider"); return ( s(), l("div", _l, [ _( w, { title: R.$t("concelOrder"), "left-arrow": "", onClickLeft: h, }, null, 8, ["title"] ), e("div", hl, [ e("div", ml, [ fl, e( "span", wl, t(($ = v.value) == null ? void 0 : $.sellerAccountNo), 1 ), ]), e("div", yl, [ e("div", null, t(R.$t("amount")), 1), e( "span", gl, "₹ " + t((B = v.value) == null ? void 0 : B.orderAmount), 1 ), ]), _(b), e("div", $l, [ e( "div", kl, t((D = v.value) == null ? void 0 : D.orderNo), 1 ), e( "span", bl, t((O = v.value) == null ? void 0 : O.createTime), 1 ), ]), ]), e("div", Cl, [ e("div", Tl, t(R.$t("cancelReason")), 1), (s(!0), l( oe, null, Ce( k, (x) => ( s(), l( "div", { class: ae([ "cancel_radio", { radio_active: o.value === x.id }, ]), key: x.id, onClick: () => { (o.value = x.id), o.value !== 4 && (c.value = ""); }, }, [ e("span", Il, t(x.reasonText), 1), x.id === 4 ? _e( (s(), l( "textarea", { key: 0, class: "textarea_input", "onUpdate:modelValue": S[0] || (S[0] = (I) => (c.value = I)), placeholder: R.$t("enterOtherReason"), disabled: o.value !== 4, }, null, 8, Nl )), [[Re, c.value]] ) : y("v-if", !0), ], 10, Sl ) ) ), 128 )), ]), e("div", Al, t(R.$t("c2cTip15")), 1), e( "div", { class: "cancel_btn", onClick: S[1] || (S[1] = (x) => (i.value = !0)), }, t(R.$t("confirmCancel")), 1 ), _( et, { show: i.value, "onUpdate:show": S[2] || (S[2] = (x) => (i.value = x)), onConfirm: r, "show-cancel-btn": !0, confirmText: R.$t("confirmCancel"), cancelText: R.$t("cancel"), title: R.$t("cancelDeal"), }, { content: te(() => [e("div", Dl, t(R.$t("orderDesc2")), 1)]), _: 1, }, 8, ["show", "confirmText", "cancelText", "title"] ), ]) ); } ); }, }); const Ul = de(Rl, [ ["__scopeId", "data-v-b22f1e4e"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/CancelRecharge/index.vue", ], ]), ek = Object.freeze( Object.defineProperty( { __proto__: null, default: Ul }, Symbol.toStringTag, { value: "Module" } ) ), Va = (g) => (Be("data-v-877972de"), (g = g()), Pe(), g), Bl = { class: "orderCancel__container" }, Pl = { class: "orderCancel__container-header" }, Wl = { class: "orderCancel__container-header__details" }, Ol = Va(() => e("div", { class: "divider" }, null, -1)), Ll = Va(() => e( "div", { class: "orderCancel__container-header__footer" }, [ e("span", null, "MS2022102618415496"), e("span", null, "2022-06-01 15:15:15"), ], -1 ) ), Ml = { class: "orderCancel__container-reason" }, ql = ["onClick"], Vl = ["placeholder"], El = { class: "orderCancel__container-tip" }, jl = ce({ __name: "index", setup(g) { const { t: n } = Te(), u = me(), c = T(1), i = T(""), o = T(!1), v = [ { name: "Account Name", value: "SAWARN TELECOM" }, { name: "Bank Number", value: "00051231000000315" }, { name: "Order Number", value: "2022102518543345000113" }, { name: "Payment Amount", value: "฿8888.00" }, ], m = [ { value: 1, label: n("c2cTip17") }, { value: 2, label: n("c2cTip17") }, { value: 3, label: n("c2cTip17") }, { value: 4, label: n("other") }, ]; return (k, h) => { const r = q("NavBar"); return ( s(), l( oe, null, [ e("div", Bl, [ _( r, { "left-arrow": !0, onClickLeft: h[0] || (h[0] = (f) => a(u).back()), }, { center: te(() => [j(t(k.$t("concelOrder")), 1)]), _: 1 } ), e("div", Pl, [ (s(), l( oe, null, Ce(v, (f, p) => e("div", Wl, [ e("span", null, t(f.name), 1), e("span", null, t(f.value), 1), ]) ), 64 )), Ol, Ll, ]), e("div", Ml, [ e("h1", null, t(k.$t("cancelReason")), 1), (s(), l( oe, null, Ce(m, (f, p) => e( "div", { class: ae([ "orderCancel__container-reason__item", { selected: f.value === c.value }, ]), onClick: (A) => (c.value = f.value), key: p, }, [e("span", null, t(f.label), 1)], 10, ql ) ), 64 )), _e( e( "textarea", { "onUpdate:modelValue": h[1] || (h[1] = (f) => (i.value = f)), class: ae({ active: c.value === 4 }), placeholder: k.$t("enterOtherReason"), }, null, 10, Vl ), [[Re, i.value]] ), ]), e("div", El, t(k.$t("orderDesc1")), 1), ]), e( "div", { class: "orderCancel__container-button", onClick: h[2] || (h[2] = (f) => (o.value = !0)), }, t(k.$t("confirmCancel")), 1 ), _( et, { show: o.value, "onUpdate:show": h[3] || (h[3] = (f) => (o.value = f)), title: k.$t("cancelDeal"), "cancel-text": k.$t("close"), "confirm-text": k.$t("confirmCancel"), }, { content: te(() => [j(t(k.$t("orderDesc2")), 1)]), _: 1 }, 8, ["show", "title", "cancel-text", "confirm-text"] ), ], 64 ) ); }; }, }); const xl = de(jl, [ ["__scopeId", "data-v-877972de"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/OrderCancel/index.vue", ], ]), tk = Object.freeze( Object.defineProperty( { __proto__: null, default: xl }, Symbol.toStringTag, { value: "Module" } ) ), d = Ae({ rechangeUpiShow: !1, rechargeSubmitBtnStatus: !1, currentMenu: 0, rechargeType: [], bankList: [], rechargeTypes: [], bank_local: [], quickList: [], C2CQuickList: [], priceRange: { min: 0, max: 0 }, currentPayType: {}, isRechargeInputDialog: JSON.parse(localStorage.getItem("userInfo") || "{}") .isOpenOfficialRechargeInputDialog === "1", amount: void 0, numberPayAmount: void 0, numberExchangeRate: 0, validateAmount: "", currentQuickIndex: -1, rechargeDialogVisible: !1, bankInfo: {}, currentBankIndex: 0, isC2COrder: !1, C2COrderInfo: void 0, isBankOrder: !1, bankOrderInfo: void 0, isUsdtOrder: !1, currentPayId: 0, localUsdtInfo: [], currentLocalUsdtIndex: 0, usdtOrderInfo: {}, orderDetail: {}, bankUTR: "", localUpiUTR: "", upiOrderInfo: void 0, isUpiOrder: !1, CreateUpiOrderRep: void 0, otherBankName: "", thirdPayBankList: [], selectOtherBank: void 0, arPayInfo: void 0, isArPayOrder: !1, }), Hl = [9, 10, 18, 19], Fl = [11, 16, 19], aa = T(), ka = T(1), Tt = T(), ba = T(!1), Ca = T(!1), rt = () => { const { t: g } = Te(), n = kt(), u = E(() => V.value === 20), c = E(() => V.value === 21), o = xt().getUserInfo, v = E(() => o.uRate), m = E(() => o.trxRate), k = E(() => o.isOpenOfficialRechargeInputDialog === "1"), h = E( () => o.isShowRechargeBankList === "1" || ![9, 10].includes(V.value) ), r = E(() => Fl.includes(V.value)), f = me(), p = T(!1), A = T(!1), C = T([]), R = T(!1), S = T(!1), w = T(0), b = T(0), $ = T(!1), B = T(!1), D = T(""), O = T(!1), x = E(() => Ve().getDollarSign), I = T(!1), Q = (P) => { aa.value = P; }, K = { 11: { key: "USDT", unit: "USDT", selectText: g("selectUSDTNum"), placeholder: g("enterUSDTAmount"), icon: "usdt", }, 16: { key: "TRX", unit: "TRX", selectText: g("selectTRXNum"), placeholder: g("enterTRXAmount"), icon: "trx", }, 19: { key: "USDT", unit: "USDT", selectText: g("selectUSDTNum"), placeholder: g("enterUSDTAmount"), icon: "usdt", }, }, H = E(() => { var F; let P = (F = d.rechargeTypes[0]) == null ? void 0 : F.c2cUnitAmount; return P ? P.toString().substring(1) : "00"; }), N = E(() => { var P, F; return ((P = d.bankList) == null ? void 0 : P.length) < 1 ? [] : (F = d.bankList) == null ? void 0 : F.filter((Y) => Y.transferType === ka.value); }), z = E(() => V.value === 12), V = E(() => d.currentPayId), W = E(() => Hl.includes(V.value)), Z = E(() => V.value === 10), U = E(() => d.currentPayType.payTypeID || -1), M = E(() => !W.value && !c.value && !z.value && !Z.value), L = E(() => x.value === "৳" ? N.value[d.currentBankIndex].bankName : d.bankList[d.currentBankIndex].bankName ), ee = E(() => (x.value === "৳" ? N.value : d.bankList)), J = E(() => d.thirdPayBankList.length > 0 ? d.thirdPayBankList.filter( (P) => P.type === d.currentPayType.payTypeID ) : [] ), ie = E(() => (V.value !== 18 ? !0 : !Ve().getIsSplitLocalEWallet)), se = async () => { d.rechargeType.unshift({ payNameUrl2: ye("wallet/withdraw/withdrawHistory", "all_NS"), payNameUrl: ye("wallet/withdraw/withdrawHistory", "all"), payID: -1, payName: g("all"), minPrice: 0, maxPrice: -0, scope: "", typeName: g("all"), payTypeID: 0, paySysName: "", }), (d.currentMenu = 0); }, re = E(() => z.value ? !!d.isUpiOrder : W.value || Z.value ? !!d.isBankOrder || !!d.isUsdtOrder : c.value ? !!d.isArPayOrder : !1 ), We = E(() => V.value === 11 || V.value === 19 ? v.value : V.value === 16 ? m.value : 0 ), Le = E(() => d.rechargeType.find((P) => P.payID === 21)), Ue = E(() => d.rechargeType.filter((P) => P.payID !== 21)), be = E(() => d.localUsdtInfo[d.currentLocalUsdtIndex]), ge = async (P) => { yn(), (d.currentMenu = 0), (d.rechargeType = []); const F = await ne(Rn()); F && ((d.rechargeType = F.data.typelist), (d.currentMenu = 0), (d.currentPayId = Ue.value[0].payID), !P && je(0), P && se()); }, $e = () => { var F; return (F = d.rechargeTypes.find((Y) => Y.paySysName === L.value)) == null ? void 0 : F.payTypeID; }, je = async (P) => { if (!(d.currentMenu === P && d.currentMenu !== 0)) { if ( ((d.currentMenu = P), P !== -1 ? (d.currentPayId = Ue.value[P].payID) : (d.currentPayId = 21), we(), await Me(), z.value) ) ha(); else if (c.value) qe(); else if (W.value || Z.value) if (V.value === 19) ma(); else if (V.value === 18 && !Ve().getIsSplitLocalEWallet) Ot($e()); else { let F = Ue.value[d.currentMenu].payTypeID; Ot(Z.value ? V.value : F || -1); } Lt(); } }, we = () => { (d.isArPayOrder = !1), (d.isC2COrder = !1), (d.isUpiOrder = !1), (d.isBankOrder = !1), (d.isUsdtOrder = !1); }, Me = async (P, F) => { var pe, De, He, Ze, ze, Ee, at, Mt; const Y = await ne( Un({ payid: V.value || P, payTypeId: ((pe = Ue.value[d.currentMenu]) == null ? void 0 : pe.payTypeID) || F, }) ); if (Y) { if ( (V.value === 19 && (d.localUsdtInfo = Y.data.localUsdtlist), (d.rechargeTypes = Y.data.rechargetypelist), (d.bankList = Y.data.banklist), W.value && ((De = d.bankList) == null ? void 0 : De.length) > 0 && (d.currentBankIndex = 0), Z.value && (((He = d.bankList) == null ? void 0 : He.length) > 1 && (d.currentBankIndex = ya()), (d.bank_local = Y.data.rechargetypelist[0].parameters.split("|"))), W.value) ) if (V.value === 18) { const Zt = d.bankList[0].bankName, pt = (Ze = Y.data.rechargetypelist) == null ? void 0 : Ze.find((Xe) => Xe.paySysName === Zt); pt && pt.parameters && (d.bank_local = pt.parameters.split("|")); } else d.bank_local = Y.data.rechargetypelist[0].parameters.split("|"); ((ze = Y.data) == null ? void 0 : ze.rechargetypelist.length) > 0 && ((d.quickList = (Ee = Y.data.rechargetypelist[0]) == null ? void 0 : Ee.quickConfigList), (d.currentPayType = Y.data.rechargetypelist[0]), (d.priceRange = { min: Number( (at = Y.data.rechargetypelist[0]) == null ? void 0 : at.miniPrice ), max: Number( (Mt = Y.data.rechargetypelist[0]) == null ? void 0 : Mt.maxPrice ), })), M && ((d.thirdPayBankList = Y.data.thirdPayBankList || []), d.thirdPayBankList.length > 0 && (d.selectOtherBank = J.value[0])); } }, qe = async () => { const P = await ne(Bn()); P.code === 0 && (d.isArPayOrder = P.data); }, X = (P) => { var F, Y, pe; (d.currentPayType = d.rechargeTypes[P]), (d.quickList = (F = d.rechargeTypes[P]) == null ? void 0 : F.quickConfigList), (d.priceRange = { min: Number( (Y = d.rechargeTypes[P]) == null ? void 0 : Y.miniPrice ), max: Number( (pe = d.rechargeTypes[P]) == null ? void 0 : pe.maxPrice ), }), d.thirdPayBankList.length > 0 && (d.selectOtherBank = J.value[0] || ""), Lt(); }, G = () => { let P = V.value === 11 || V.value === 19 ? "USDT" : "TRX"; return (d.numberPayAmount || d.numberPayAmount === 0) && d.numberPayAmount <= 0 ? ((d.validateAmount = g("rangeDesc1")), !1) : d.numberPayAmount && d.numberPayAmount > d.priceRange.max ? ((d.validateAmount = g("rangeDesc3") + d.priceRange.max + P), !1) : d.numberPayAmount && d.numberPayAmount < d.priceRange.min ? ((d.validateAmount = g("rangeDesc2") + d.priceRange.min + P), !1) : ((d.validateAmount = ""), !0); }, le = () => (d.amount || d.amount === 0) && d.amount <= 0 ? ((d.validateAmount = g("rangeDesc1")), !1) : d.amount && d.amount > d.priceRange.max ? ((d.validateAmount = g("rangeDesc3") + d.priceRange.max), !1) : d.amount && d.amount < d.priceRange.min ? ((d.validateAmount = g("rangeDesc2") + d.priceRange.min), !1) : ((d.validateAmount = ""), !0), he = (P) => { if (((d.currentQuickIndex = P), r.value)) { (d.numberPayAmount = Number(d.quickList[P].rechargeAmount)), (d.numberExchangeRate = We.value * Number(d.quickList[P].rechargeAmount)), G() && ((d.numberPayAmount = Number(Fe(d.numberPayAmount.toString()))), (d.numberExchangeRate = d.numberPayAmount * We.value)); return; } (d.amount = Number(d.quickList[P].rechargeAmount)), le() && (d.amount = Number(Fe(d.amount.toString()))); }, Fe = (P) => ((P = P + ""), P.indexOf(".") > -1 ? P.split(".")[0] : P), $t = async () => { if (!d.rechargeSubmitBtnStatus) return; const { onTriggerRecharege: P } = Zn(); if ((P({ amount: d.amount }), c.value)) return xe(); if (M.value) return Se(); if (z.value) return Bt(); if (W.value || Z.value) if ( [10, 18].includes(V.value) || (d.isRechargeInputDialog && V.value !== 19) ) { if (!d.bankList) { ue("The payment channel is empty"); return; } d.bank_local.map((F) => { let Y = F.split(",")[1]; d.bankInfo[Y] = ee.value[d.currentBankIndex][Y]; }), (d.rechargeDialogVisible = !0); return; } else V.value === 19 ? Pt() : _a(); }, xe = async () => { var He; if ( ((He = d.arPayInfo) == null ? void 0 : He.walletActivationStatus) === 0 ) { ue(g("arNoActive2")); return; } Sa({ message: g("loading") + "...", forbidClick: !0 }); let P = "https://" + window.location.host + "/#/main"; const F = sessionStorage.getItem("pixel") || localStorage.getItem("fb_dynamic_pixel") || "", Y = Vt("_fbc") || Vt("_fbp") || "", pe = { payTypeId: d.currentPayType.payTypeID, amount: d.amount || 0, returnUrl: P, pixelId: F, vendorId: 1, fbcId: Y, }, De = await ne(Pn(pe)); if (De && De.code === 0) { const { data: { submitUrl: Ze, submitType: ze }, } = De; if (ze && ze === 1) { let Ee = Ze; Jt() ? ea("recharge", { url: Ee, recharegeName: d.currentPayType.payName, }) : ta(Ee); } } }, Yt = async (P, F, Y, pe, De) => { if (((d.currentPayId = P), c.value && pe === 0)) { d.isArPayOrder || (await qe()), d.isArPayOrder ? (window.location.href = d.isArPayOrder) : ue(g("C2Ctimeout2")); return; } if (z.value && pe === 0) { f.push({ name: "OtherPay", query: { type: "upi" } }); return; } if (pe === 0 && P === 19) return f.push({ name: "RechargeUsdt" }); if ((W.value || Z.value) && pe === 0) return f.push({ name: "RechargeDetail", query: { currentPayId: P, payTypeId: F, amount: Y }, }); }, Bt = async () => { await an(), f.push({ name: "OtherPay", query: { type: "upi" } }); }, Pt = () => { f.push({ name: "RechargeUsdt", query: { amount: d.numberPayAmount } }); }, Wt = async (P) => { (await ne(Wn(P))) && (Ge(g("success")), n.emit("changeKeepAliveKey"), f.replace({ name: "RechargeHistory" })); }, Se = async () => { var Ze, ze; const P = Ve(); if (V.value === 15 || P.getDollarSign === "R$") { const Ee = await ne(On()); if ( ((Ca.value = Ee.data.needSetPIX), Ee.data.isFirstPixRecharge && !O.value) ) { (ba.value = !0), (O.value = !0); return; } if (Ee.data.needSetPIX) { await f.push({ name: "Withdraw-AddPIX", query: { fromV: "Recharge" }, }); return; } } let F = 0; r.value ? (F = d.numberPayAmount) : (F = d.amount); let Y = window.location.origin + ",status/rechargeStatus"; const pe = sessionStorage.getItem("pixel") || localStorage.getItem("fb_dynamic_pixel") || "", De = Vt("_fbc") || Vt("_fbp") || ""; let He = d.thirdPayBankList.length > 0 && d.selectOtherBank; if (d.currentPayType.payTypeID >= 1e4) Ya(F, Y, pe, De, He); else { let Ee = d.currentPayType.paySendUrl, at = ""; Ee.indexOf("tyid") === -1 ? (at = Ee + "?tyid=" + d.currentPayType.payTypeID + "&amount=" + F + "&uid=" + o.userId + "&sign=" + o.sign + (He ? "&bankCode=" + ((Ze = d.selectOtherBank) == null ? void 0 : Ze.bankCode) : "") + "&urlInfo=" + Y + `&pixelId=${pe}&fbcId=${De}`) : (at = Ee + "&amount=" + F + "&uid=" + o.userId + "&sign=" + o.sign + (He ? "&bankCode=" + ((ze = d.selectOtherBank) == null ? void 0 : ze.bankCode) : "") + "&urlInfo=" + Y + `&pixelId=${pe}&fbcId=${De}`), Jt() ? ea("recharge", { url: at, recharegeName: d.currentPayType.payName, }) : ta(at); } }, Ya = async (P, F, Y, pe, De) => { var Ee; const Ze = { payTypeId: d.currentPayType.payTypeID, bankCode: De ? (Ee = d.selectOtherBank) == null ? void 0 : Ee.bankCode : "", urlInfo: F, amount: P, pixelId: Y, vendorId: 1, fbcId: pe, }; d.rechargeSubmitBtnStatus = !1; const ze = await ne(Ln(Ze)); if (((d.rechargeSubmitBtnStatus = !0), ze && ze.code === 0)) { const { data: { redirectUrl: at, scanCodePay: Mt, formUrl: Zt, formBody: pt, }, } = ze; if (!Mt && at) { let Xe = at; Jt() ? ea("recharge", { url: Xe, recharegeName: d.currentPayType.payName, }) : ta(Xe); } else { const Xe = document.createElement("form"); (Xe.action = Zt), (Xe.method = "POST"), (Xe.target = "_blank"); for (let Xt in pt) if (pt.hasOwnProperty(Xt)) { let qt = document.createElement("input"); (qt.name = Xt), (qt.value = pt[Xt]), (qt.type = "hidden"), Xe.appendChild(qt); } document.body.appendChild(Xe), Xe.submit(); } } }, Za = async () => { var pe, De; let P = ((pe = d.amount) == null ? void 0 : pe.toString()) + H.value, F = { category: V.value, orderAmount: Number(P) }; const [, Y] = await Da(Mn(F)); if (Y) { if ((Y == null ? void 0 : Y.msgCode) === 260 && Y.code !== 0) { ue(Y.msg), setTimeout(() => { f.push({ name: "RechargeHistory-RechargeUpiDetail", query: { type: "C2C", orderNo: Y.data.orderId, state: Y.data.state, }, }); }, 2e3); return; } if (Y.data.state === 1) (d.rechangeUpiShow = !1), f.push({ name: "OtherPay", query: { type: "C2C" } }); else if (Y.data.state === 2) (S.value = !0), (w.value = Y.data.errorCount), (b.value = Y.data.remainingLimitTime); else { if ( ((d.currentPayType.paySendUrl = (De = Y.data.rechargeChannelInfo) == null ? void 0 : De.paySendUrl), (d.currentPayType = Y.data.rechargeChannelInfo), !Y.data.suggessList.length) ) return Se(); (d.rechangeUpiShow = !0), (d.C2CQuickList = Y.data.suggessList); } } }, Xa = async () => { const P = await ne(qn({ amount: d.amount })); P && (d.C2CQuickList = P.data); }, _a = async () => { if (Z.value) return Ja(); if (V.value !== 9) { let F = d.bankInfo[d.bank_local[1].split(",")[1]]; if (F && F.length && F.trim().length < 7) { ue({ message: g("wrongTel"), wordBreak: "break-word" }); return; } } if (k.value) { for (let F in d.bankInfo) if (!d.bankInfo[F]) { ue(g("rechargeBankTip")); return; } } if (((d.rechargeDialogVisible = !1), await fa())) { let F = Ue.value[d.currentMenu].payTypeID; V.value === 18 && (F = $e()), f.push({ name: "RechargeDetail", query: { currentPayId: V.value, payTypeId: F, amount: d.amount }, }); } }, Ja = async () => { if (Object.keys(d.bankInfo).length < 2) { ue(g("requiredFaild")); return; } for (let Y in d.bankInfo) if (!d.bankInfo[Y]) { ue(g("rechargeBankTip")); return; } d.rechargeDialogVisible = !1; let P = Ue.value[d.currentMenu].payTypeID; (await ln()) && f.push({ name: "RechargeDetail", query: { currentPayId: V.value, payTypeId: P, amount: d.amount }, }); }, en = async (P) => { const F = await ne(ra({ orderId: P })); F && (d.C2COrderInfo = F.data); }, tn = async () => { var F; const P = await ne(Vn()); P ? P.data && (F = P.data) != null && F.orderNo && ((d.isC2COrder = !0), Ct(P.data.serviceTime, P.data.endTime, () => { (d.C2COrderInfo = void 0), (d.isC2COrder = !1); }), (d.C2COrderInfo = P.data)) : ((d.C2COrderInfo = void 0), (d.isC2COrder = !1)); }, Ot = async (P) => { var Y; const F = await ne(En({ payTypeId: P })); F && ((d.orderDetail = F.data), F.data && (Y = F.data) != null && Y.orderNumber ? ((d.bankUTR = F.data.refNo), (d.isBankOrder = !0), Ct(F.data.serverTime, F.data.addTime1, () => { (d.bankOrderInfo = void 0), (d.isBankOrder = !1); }), (d.bankOrderInfo = F.data)) : ((d.bankOrderInfo = void 0), (d.isBankOrder = !1))); }, ha = async () => { const P = await ne(jn({ type: 82 })); P && (P.data && P.data.orderNumber ? ((d.localUpiUTR = P.data.transferUTR), (d.isUpiOrder = !0), Ct(P.data.serverTime, P.data.addTime1, () => { (d.upiOrderInfo = void 0), (d.isUpiOrder = !1); }), (d.upiOrderInfo = P.data)) : ((d.upiOrderInfo = void 0), (d.isUpiOrder = !1))); }, an = async () => { const P = await ne(xn({ amount: d.amount })); P && (d.CreateUpiOrderRep = P.data); }, nn = async (P, F, Y) => { var pe; if (P === "upi") { let De = { type: 1, tranrefId: d.localUpiUTR, orderNo: F + "", isBankQRCodeOrder: Z.value, }; (await ne(ga(De))) && (n.emit("changeKeepAliveKey"), f.replace({ name: "RechargeHistory" })); } else (await ne( Hn({ orderId: F, transactionNo: d.localUpiUTR, ossUrls: Y }) )) && f.replace({ name: "RechargeHistory-RechargeUpiDetail", query: { orderNo: (pe = d.C2COrderInfo) == null ? void 0 : pe.id, state: 1, }, }); }, ma = async () => { var F; const P = await ne(Fn({ type: 3 })); P && (P.data && (F = P.data) != null && F.orderNumber ? ((d.isUsdtOrder = !0), (d.isBankOrder = !1), Ct(P.data.serverTime, P.data.addTime1, () => { (d.usdtOrderInfo = void 0), (d.isUsdtOrder = !1); }), (d.usdtOrderInfo = P.data)) : ((d.usdtOrderInfo = void 0), (d.isUsdtOrder = !1), (d.isBankOrder = !1))); }, sn = async (P) => { (await ne(zn(P))) && (Ge(g("success")), n.emit("changeKeepAliveKey"), f.replace({ name: "RechargeHistory" })); }, fa = async () => { let P = Ue.value[d.currentMenu].payTypeID; V.value === 18 && (P = $e()); let F = { payTypeId: P, amount: d.amount, bankName: L.value, transferType: ee.value[d.currentBankIndex].transferType, ...d.bankInfo, }; h.value || delete F.bankName; const Y = await ne(Kn(F)); return Y != null && Y.data ? ((d.orderDetail = Y.data), (d.bankUTR = Y.data.refNo), !0) : !1; }, ln = async () => { let P = { payTypeId: V.value, amount: d.amount || 0, bankName: L.value, ...d.bankInfo, }; const F = await ne(Gn(P)); return F != null && F.data ? ((d.orderDetail = F.data), (d.bankUTR = F.data.refNo), !0) : !1; }, Ct = (P, F, Y) => { clearInterval(Tt.value), (Tt.value = void 0); let pe = wa(P, F); Tt.value = setInterval(() => { var Ze; if (((pe -= 1e3), pe < 0)) { clearInterval(Tt.value), Y(); return; } const De = Dt(pe, "mm:ss"), He = (Ze = aa.value) == null ? void 0 : Ze.querySelectorAll("span"); He == null || He.forEach((ze, Ee) => { ze.innerHTML = De[Ee]; }); }, 1e3); }, on = async (P) => { var Y, pe; if (V.value === 99) return; const F = await ne(Qn({ rechargeNumber: P })); if (((Y = F.data) == null ? void 0 : Y.state) !== 0) { St( ((pe = F.data) == null ? void 0 : pe.state) === 1 ? g("orderpay") : g("ordercancle") ), sessionStorage.removeItem("localOrder"), f.go(-1); return; } }, rn = async () => { var F; if ((Ve().getDollarSign === "₹" && V.value === 9) || Z.value) { let Y = { type: 1, tranrefId: d.bankUTR, orderNo: (F = d.orderDetail) == null ? void 0 : F.orderNumber, isBankQRCodeOrder: Z.value, }; const pe = await ne(ga(Y)); if (pe.code === 0) Ge(g("success")); else { Ge(pe.msg); return; } } n.emit("changeKeepAliveKey"), f.replace({ name: "RechargeHistory" }); }, cn = async (P, F) => { (await ne(Yn({ orderNo: P }))) && ((d.isBankOrder = !1), (p.value = !1), (A.value = !1), Ge(g("cancelSucceed")), n.emit("changeKeepAliveKey"), f.back()); }, wa = (P, F) => { let Y = new Date(P); return new Date(F).getTime() - Y.getTime(); }, dn = () => { (d.rechargeSubmitBtnStatus = !1), (d.amount = void 0), (d.numberPayAmount = void 0), (d.numberExchangeRate = void 0), (d.currentQuickIndex = -1), (d.validateAmount = ""); }, un = async () => { var Y; let P = { pageNo: 1, pageSize: 5, startDate: "", endDate: "", state: -1, type: -1, payId: d.currentPayId, category: d.currentPayId, }; u.value ? ((P.type = -1), delete P.payId) : (delete P.category, delete P.type, (P.payTypeId = ((Y = Ue.value[d.currentMenu]) == null ? void 0 : Y.payTypeID) || -1)); const F = await ne(u.value ? Ra(P) : Ua(P)); F && (C.value = F.data.list); }, vn = (P, F, Y) => { if ( (F !== 0 && V.value !== 9 && (P.replace(/\D/g, ""), (d.bankInfo[Y] = P.replace(/\D/g, ""))), F === 0) ) { let pe = d.bankInfo[d.bank_local[0].split(",")[1]].replace( /\s*/g, "" ); d.bankInfo[d.bank_local[0].split(",")[1]] = pe; } }, pn = (P) => { if ( ((d.currentBankIndex = P), d.currentPayId === 18 && d.bankList.length) ) { let F = x.value === "৳" ? N.value[P].bankName : d.bankList[P].bankName, Y = d.rechargeTypes.find((pe) => pe.paySysName === F); (d.bank_local = (Y == null ? void 0 : Y.parameters.split("|")) || []), d.bank_local.map((pe) => { let De = pe.split(",")[1]; d.bankInfo[De] = d.bankList[d.currentBankIndex][De]; }), (d.quickList = Y.quickConfigList); } d.currentPayId === 18 && Ot($e()); }, Lt = () => { var P; (d.rechargeSubmitBtnStatus = !1), (d.amount = void 0), (d.numberPayAmount = void 0), (d.numberExchangeRate = void 0), (d.validateAmount = ""), (d.currentQuickIndex = -1), Z.value && ((P = d.bankList) == null ? void 0 : P.length) > 1 ? (d.currentBankIndex = ya()) : (d.currentBankIndex = 0), (d.localUpiUTR = ""), (d.bankUTR = ""); }, _n = (P) => { clearTimeout(P.target.timer), (P.target.timer = setTimeout(() => { if ( ((d.validateAmount = ""), (d.currentQuickIndex = -1), r.value) ) { G() && (d.numberExchangeRate = d.numberPayAmount ? d.numberPayAmount * We.value : 0); return; } le(); }, 500)); }, hn = (P) => P >= 1e6 ? (P / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : P >= 1e3 ? (P / 1e3).toFixed(1).replace(/\.0$/, "") + "K" : P + "", mn = async () => await navigator.clipboard.readText(), fn = (P) => { var F = document.getElementById(P); kn(F, { useCORS: !0, x: 0, y: 0, width: F.offsetWidth, height: F.offsetHeight, }).then((Y) => { Y.toDataURL("image/jpeg"); const pe = document.createElement("a"); (pe.href = Y.toDataURL("image/jpeg")), (pe.download = "qrcode.jpeg"), document.body.appendChild(pe), pe.click(); }); }, wn = async (P) => { try { return bn.toDataURL(P); } catch {} }, yn = () => { (d.isBankOrder = !1), (d.isUsdtOrder = !1), (d.localUpiUTR = ""), (d.bankUTR = ""); }, ya = () => Math.floor(Math.random() * d.bankList.length), gn = ({ selectedOptions: P }) => { (R.value = !1), (d.selectOtherBank = P[0]); }, $n = (P, F) => { let Y = new Date(P.replace(/-/g, "/")).getTime(), pe = new Date(F.replace(/-/g, "/")).getTime(); Y - pe <= 0 && ($.value = !0); }; return ( Ke( () => U.value, () => { Lt(); } ), _t(() => { clearInterval(Tt.value); }), Ke([() => d.amount, () => d.numberPayAmount], () => { if (!d.amount && !d.numberPayAmount) { d.rechargeSubmitBtnStatus = !1; return; } if (r.value && d.numberPayAmount) { d.rechargeSubmitBtnStatus = G(); return; } if (!r.value) { d.rechargeSubmitBtnStatus = le() && d.rechargeTypes.length > 0; return; } d.rechargeSubmitBtnStatus = !1; }), { store: d, confirmOtherSelectBank: gn, showOtherSelect: R, getRechargeTypeName: ge, handleChangeMenu: je, getRechargeTypes: Me, restAmount: Lt, handleInput: _n, formatNum: hn, handleRecharge: $t, handleQuickSelect: he, isHaveOrder: re, currentPayId: V, numberKeyObj: K, isC2CRecharge: u, isArpay: c, isLocakBank: W, isNumberPay: r, getC2CunitAmount: H, usdtRate: v, trxRate: m, currentBankName: L, currentPayTypeId: U, handleSelectPayType: X, handleClearInput: dn, getPayTabList: Ue, arPay: Le, validateBankForm: vn, localBankRecharge: _a, submitUsdtRecharge: Wt, getUsdtOrderInfo: ma, getLocalUsdtInfo: be, handlePaste: mn, createLocalBankOrder: fa, getLoclBankOrderDetail: on, handeCancelOrder: cn, getAmountList: Xa, cancelOrderShow: A, rechargeActionSheetShow: p, handleFinishOrder: rn, countdownTimeFun: Ct, countdownRef: aa, setCountdownRef: Q, getBankOrderInfo: Ot, getUpiOrderInfo: ha, handleFinishUpiOrder: nn, getRechargeTab: se, historyToDetail: Yt, getC2COrderInfo: tn, otherRecharge: Se, getRecordList: un, htmlToImage: fn, createQrCode: wn, C2CRecharge: Za, getTransferBankList: N, transfer: ka, isFirstPixRecharge: ba, isSplitLocalEWallet: ie, RechargeRList: C, handleSelectBank: pn, getElwallett: $e, IsShowRechargeBankList: h, handleUpdateUsdtOrder: sn, getOrderDetail: en, isOtherRecharge: M, currentOtherThirdBankList: J, C2CforbiddenShow: S, ErrorCount: w, RemainingLimitTime: b, C2COrderTimeOutStatus: $, C2CTimeOut: $n, thirdRechargeDialog: B, thirdRechargeUrl: D, getDownTime: wa, currentBankList: ee, userInfo: o, showAmountError: I, needPixInfo: Ca, } ); }, Ea = (g) => (Be("data-v-7cba6004"), (g = g()), Pe(), g), zl = { class: "Recharge__container-intro" }, Kl = { key: 0, class: "Recharge__container-intro__title" }, Gl = { class: "img" }, Ql = { class: "Recharge__container-intro__lists" }, Yl = { key: 0, class: "item" }, Zl = ["innerHTML"], Xl = { class: "red" }, Jl = { class: "red" }, eo = { class: "red" }, to = { key: 1, class: "item" }, ao = { key: 0 }, no = { class: "red" }, so = ["innerHTML"], lo = { key: 2, class: "item" }, oo = Ea(() => e("p", null, "*Số tiền nạp phải là bội số nguyên của 1000", -1) ), io = Ea(() => e( "p", null, " Lưu ý: nếu tạo lệnh nạp sai với mệnh giá thấp hơn thẻ cào thì hệ thống sẽ tự động cộng vào số tiền mà quý khách đã tạo lệnh,chúng tôi không có trách nhiệm bổ sung số tiền chênh lệch.Xin cảm ơn! ", -1 ) ), ro = { key: 3, class: "item" }, co = { key: 0 }, uo = { key: 4, class: "item" }, vo = { key: 5, class: "item" }, po = { key: 6, class: "item" }, _o = { key: 7, class: "item" }, ho = ce({ __name: "Instructions", props: { withdrawalsrule: { type: null, required: !1 }, showType: { type: Number, required: !1, default: 0 }, withdrawMoney: { type: Number, required: !1, default: 0 }, withdrawType: { type: Number, required: !1, default: -1 }, isShowHead: { type: Boolean, required: !1, default: !1 }, rechargeInfo: { type: null, required: !1 }, }, setup(g) { const n = g, { store: u } = rt(), c = {}.VITE_BASE_VIR, i = E(() => n.showType === 9 || n.showType === 18 || n.showType === 10 ? "bank" : n.showType === 20 ? "c2c" : n.showType === 12 ? "upi" : n.showType === 6 && c ? "exclusive" : n.showType === 11 || n.showType === 16 || n.showType === 19 ? "numberCurrency" : n.showType === 771 ? "c2cDetail" : n.withdrawType !== -1 ? "" : "bank" ); return (o, v) => { var k, h, r, f, p, A, C, R, S, w, b, $, B; const m = q("svg-icon"); return ( s(), l("div", zl, [ o.isShowHead ? (s(), l("div", Kl, [ e("div", Gl, [_(m, { name: "shuoming" })]), e("p", null, t(o.$t("rechargeInstruction")), 1), ])) : y("v-if", !0), e("div", Ql, [ [1, 3, 6].includes(o.withdrawType) ? (s(), l("div", Yl, [ e( "p", { innerHTML: o.$t("instructionDes", [ a(ve)( (k = o.withdrawalsrule) == null ? void 0 : k.amountofCode ), ]), }, null, 8, Zl ), e("p", null, [ j(t(o.$t("instructionTxt6")) + " ", 1), e( "span", Xl, t( (h = o.withdrawalsrule) == null ? void 0 : h.startTime ) + "-" + t( (r = o.withdrawalsrule) == null ? void 0 : r.endTime ), 1 ), ]), e("p", null, [ j(t(o.$t("instructionTxt7")), 1), e( "span", Jl, t( (f = o.withdrawalsrule) == null ? void 0 : f.withdrawRemainingCount ), 1 ), ]), e("p", null, [ j(t(o.$t("instructionTxt8")), 1), e( "span", eo, t( a(ve)( (p = o.withdrawalsrule) == null ? void 0 : p.minPrice ) ) + "-" + t( a(ve)( (A = o.withdrawalsrule) == null ? void 0 : A.maxPrice ) ), 1 ), ]), ])) : y("v-if", !0), y(" c2c "), i.value === "c2c" ? (s(), l("div", to, [ e( "p", null, t( o.$t("c2cMBAInteger", [ (C = o.rechargeInfo) == null ? void 0 : C.c2cUnitAmount, ]) ), 1 ), ((R = o.rechargeInfo) == null ? void 0 : R.rechargeRifts) > 0 ? (s(), l( "p", ao, t( o.$t("c2cNEWUPIW", [ a(ca)( (S = o.rechargeInfo) == null ? void 0 : S.rechargeRifts, 100 ), ]) ), 1 )) : y("v-if", !0), e("p", null, [ j(t(o.$t("c2cTUAR")), 1), e( "span", no, t( a(ve)( (w = o.rechargeInfo) == null ? void 0 : w.miniPrice ) ) + "-" + t( a(ve)( (b = o.rechargeInfo) == null ? void 0 : b.maxPrice ) ), 1 ), ]), e( "p", { innerHTML: o.$t("c2cInstructions1") }, null, 8, so ), ])) : y("v-if", !0), y(" 专属 "), i.value === "exclusive" ? (s(), l("div", lo, [ e( "p", null, "Số tiền nhận được:" + t((a(u).amount || 0) * Number(a(c))), 1 ), e("p", null, "Phí: " + t((1 - a(c)) * 100) + "%", 1), oo, io, ])) : y("v-if", !0), y(" 一般三方和本地银行充值 "), i.value === "bank" ? (s(), l("div", ro, [ e("p", null, t(o.$t("instructionTxt2")), 1), e("p", null, t(o.$t("instructionTxt3")), 1), e("p", null, t(o.$t("instructionTxt4")), 1), o.showType === 18 ? (s(), l("p", co, t(o.$t("rechargeBankDetailTip")), 1)) : y("v-if", !0), e("p", null, t(o.$t("instructionTxt5")), 1), ])) : y("v-if", !0), i.value === "c2cDetail" ? (s(), l("div", uo, [ y(" <p>{{ $t('c2cInstructions2') }}</p> "), e("p", null, t(o.$t("c2cInstructions3")), 1), ])) : y("v-if", !0), i.value === "numberCurrency" ? (s(), l("div", vo, [ e( "p", null, t( o.$t("instructionsDesc1", [ ((($ = o.rechargeInfo) == null ? void 0 : $.miniPrice) || 1) + (o.showType === 16 ? "TRX" : "USDT"), (((B = o.rechargeInfo) == null ? void 0 : B.miniPrice) || 1) + (o.showType === 16 ? "TRX" : "USDT"), ]) ), 1 ), e("p", null, t(o.$t("instructionsDesc2")), 1), e("p", null, t(o.$t("instructionsDesc3")), 1), e("p", null, t(o.$t("instructionsDesc4")), 1), e("p", null, t(o.$t("instructionsDesc5")), 1), ])) : y("v-if", !0), i.value === "upi" ? (s(), l("div", po, [ e("p", null, t(o.$t("upiInstructions1")), 1), e("p", null, t(o.$t("upiInstructions2")), 1), ])) : y("v-if", !0), o.withdrawType === 3 ? (s(), l("div", _o, [ y(" <p>{{ $t('instructionTxt9') }}</p> "), e("p", null, t(o.$t("instructionTxt10")), 1), e("p", null, t(o.$t("instructionTxt11")), 1), ])) : y("v-if", !0), ]), ]) ); }; }, }); const zt = de(ho, [ ["__scopeId", "data-v-7cba6004"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Recharge/Instructions.vue", ], ]), mo = { class: "pay_state_step" }, fo = ["src"], wo = ce({ __name: "PayState", props: { state: { type: Number, default: 1 }, type: { type: Number, default: 1 }, }, setup(g) { const n = g, { t: u } = Te(), c = E(() => n.type === 1 ? [ { img: fe("wallet/recharge", "setup1"), title: u("transfer") }, { img: n.state >= 2 ? fe("wallet/recharge", "setup2_active") : fe("wallet/recharge", "setup2"), title: u("uploadproof"), }, { img: n.state >= 3 ? fe("wallet/recharge", "setup3_active") : fe("wallet/recharge", "setup3"), title: u("waitConfirm"), }, { img: n.state === 4 ? fe("wallet/recharge", "setup4_active") : fe("wallet/recharge", "setup4"), title: u("completed"), }, ] : [ { img: fe("wallet/recharge", "appeal_state"), title: u("c2cTip32"), }, { img: n.state >= 3 ? fe("wallet/recharge", "setup3_active") : fe("wallet/recharge", "setup3"), title: u("amountError2"), }, { img: n.state === 4 ? fe("wallet/recharge", "setup4_active") : fe("wallet/recharge", "setup4"), title: u("completed"), }, ] ); return (i, o) => ( s(), l("div", mo, [ (s(!0), l( oe, null, Ce( c.value, (v, m) => ( s(), l( "div", { class: ae(["item", { appeal: g.type === 2 }]), key: m }, [ e("img", { src: v.img, alt: "" }, null, 8, fo), e("span", null, t(v.title), 1), ], 2 ) ) ), 128 )), ]) ); }, }); const ja = de(wo, [ ["__scopeId", "data-v-d8d9a23f"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/OtherPay/components/PayState.vue", ], ]), tt = (g) => (Be("data-v-5bada7e8"), (g = g()), Pe(), g), yo = { class: "other_pay" }, go = { key: 0, class: "pay_store" }, $o = ["onClick"], ko = ["src"], bo = tt(() => e( "div", { class: "tip" }, [ e("div", null, "have you paid successfully?"), e("div", null, "Paytm,PhonePe,GooglePay,Other Bank"), ], -1 ) ), Co = { class: "orderInfo" }, To = { key: 0, class: "info_item" }, So = { class: "info_item" }, Io = tt(() => e("span", null, "UPI ID", -1)), No = { key: 1, class: "info_item" }, Ao = tt(() => e("span", null, "UTR", -1)), Do = { class: "info_item" }, Ro = { key: 2 }, Uo = ["src"], Bo = { key: 3 }, Po = tt(() => e("div", { class: "UTR_title" }, "UTR(UPI Ref.ID)", -1)), Wo = { class: "c2cupload_box" }, Oo = { class: "c2cupload_tip" }, Lo = ["src"], Mo = { class: "upload_action" }, qo = { class: "upload_btn" }, Vo = { class: "upload_text" }, Eo = tt(() => e("br", null, null, -1)), jo = { key: 2, class: "pay_btn" }, xo = { key: 3, class: "c2c_btn" }, Ho = { class: "actionSheet__content" }, Fo = { class: "title" }, zo = ["src"], Ko = { class: "sheet_info" }, Go = { class: "info_item sheet_item" }, Qo = tt(() => e("span", null, "UPI ID", -1)), Yo = { class: "sheet_right" }, Zo = { class: "info_item sheet_item" }, Xo = tt(() => e("span", null, "UTR", -1)), Jo = { class: "sheet_right" }, ei = { class: "info_item sheet_item" }, ti = { class: "sheet_amount" }, ai = { class: "finish_tit" }, ni = { class: "finish_tip" }, si = { class: "pay_btn" }, li = { class: "c2c_actiosheet" }, oi = ["src"], ii = tt(() => e( "div", { class: "text" }, [ j("*Confirm using "), e("span", null, "your own UPI"), j(" for the transfer"), ], -1 ) ), ri = tt(() => e( "div", { class: "text" }, [ j(" *After a successful transfer, return here and provide the "), e("span", null, "12-digit Ref/UTR No"), j(". for the deposit into your account. "), ], -1 ) ), ci = tt(() => e("div", { class: "video_text" }, "DEMO VIDEO >>", -1)), di = tt(() => e("div", { class: "text2" }, "Sample of UTR(UPI Ref.ID)", -1)), ui = { class: "img_box" }, vi = ["src"], pi = { class: "close_box" }, _i = ce({ __name: "index", setup(g) { const { store: n, getUpiOrderInfo: u, handleFinishUpiOrder: c, getC2COrderInfo: i, handeCancelOrder: o, createQrCode: v, htmlToImage: m, getDownTime: k, C2COrderTimeOutStatus: h, } = rt(), r = me(), f = T(!1), p = T(), A = T(!1), C = T(), R = T(""), S = T(!1), w = T(1), b = T([]), $ = T(""), B = T(), D = T(""), O = [ { name: "Paytm", icon: fe("wallet/recharge", "paytm"), id: 1, url: "paytmmp://upi", }, { name: "PhonePe", icon: fe("wallet/recharge", "phone_pe"), id: 2, url: "phonepe://pay", }, { name: "GooglePay", icon: fe("wallet/recharge", "google_pay"), id: 3, url: "gpay://upi", }, { name: "Other Bank", icon: fe("wallet/recharge", "other_bank"), id: 4, url: "upi://pay", }, ], x = T({ fileType: 1, fileUrl: "" }), I = E(() => r.currentRoute.value.query.type === "C2C"), Q = (ee) => { window.open(ee, "_blank"); }; E(() => w.value === 2 ? ye("common", "upload_icon") : w.value === 3 ? fe("common", "switch") : ye("common", "upload_icon") ); const K = async (ee) => { b.value = []; const J = new FormData(); J.append("files", ee.file); const ie = await ne(Ba(J)); ($.value = ie.data[0].ossHttp + "/" + ie.data[0].src), (x.value.fileUrl = ie.data[0].src); }, H = () => { (h.value = !1), r.back(); }, N = () => { f.value = !1; }, z = () => { n.localUpiUTR.length < 12 || (f.value = !0); }, V = () => { r.back(); }, W = E(() => r.currentRoute.value.query.type), Z = () => { if (I.value && w.value === 1) { if (n.localUpiUTR.length < 12) return; w.value = 2; } else z(); }, U = async (ee) => { if (n.localUpiUTR.length !== 12) { A.value = !0; return; } await c(r.currentRoute.value.query.type, ee), (f.value = !1); }, M = () => { var ee, J; r.currentRoute.value.query.type === "upi" ? o(((ee = p.value) == null ? void 0 : ee.orderNumber) + "") : r.push({ name: "CancelRecharge", query: { orderNo: (J = p.value) == null ? void 0 : J.id }, }); }, L = async () => { if ( (await i(), (p.value = n.C2COrderInfo), (n.isC2COrder = !1), !p.value) ) { (h.value = !0), clearInterval(C.value); return; } let ee = k(p.value.serviceTime, p.value.endTime); C.value = setInterval(() => { (ee -= 1e3), ee < 0 && ((h.value = !0), clearInterval(C.value)), (R.value = Dt(ee, "mm:ss")); }, 1e3); }; return ( ke(async () => { var se, re, We, Le; let ee = r.currentRoute.value.query.type; C.value = null; let J = ""; ee === "upi" ? (await u(), (p.value = n.upiOrderInfo), (J = "upi://pay?pa=" + ((se = p.value) == null ? void 0 : se.upiAccount) + "&am=" + ((re = p.value) == null ? void 0 : re.amount) + "&cu=INR")) : ((S.value = !0), await L(), (J = "upi://pay?pa=" + ((We = p.value) == null ? void 0 : We.sellerAccountNo) + "&am=" + ((Le = p.value) == null ? void 0 : Le.orderAmount) + "&cu=INR")); const ie = await v(J); (D.value = ie), v(J); }), _t(() => { clearInterval(C.value); }), At(() => { sessionStorage.removeItem("upiOrderInfo"), clearInterval(C.value); }), (ee, J) => { var be, ge, $e, je; const ie = q("NavBar"), se = q("svg-icon"), re = q("van-field"), We = q("van-uploader"), Le = q("van-divider"), Ue = q("van-action-sheet"); return ( s(), l("div", yo, [ _( ie, { class: "white", title: ee.$t("payments"), "left-arrow": "", onClickLeft: V, }, null, 8, ["title"] ), I.value ? (s(), Ne(ja, { key: 1, state: w.value }, null, 8, ["state"])) : (s(), l("div", go, [ (s(), l( oe, null, Ce(O, (we) => e( "div", { class: "store_item", key: we.id, onClick: (Me) => Q(we.url), }, [ e("img", { src: we.icon, alt: "" }, null, 8, ko), e("span", null, t(we.name), 1), ], 8, $o ) ), 64 )), ])), bo, e("div", Co, [ I.value ? (s(), l("div", To, [ e("span", null, t(ee.$t("expiredTimes")), 1), e("div", null, t(R.value), 1), ])) : y("v-if", !0), e("div", So, [ Io, e("div", null, [ e( "span", null, t( ((be = p.value) == null ? void 0 : be.upiAccount) || ((ge = p.value) == null ? void 0 : ge.sellerAccountNo) || "--" ), 1 ), _(se, { name: "copy", onClick: J[0] || (J[0] = (we) => { var Me, qe; return a(Ie)( ((Me = p.value) == null ? void 0 : Me.sellerAccountNo) || ((qe = p.value) == null ? void 0 : qe.upiAccount) ); }), }), ]), ]), w.value !== 1 ? (s(), l("div", No, [ Ao, e("div", null, [e("span", null, t(a(n).localUpiUTR), 1)]), ])) : y("v-if", !0), e("div", Do, [ e("span", null, t(ee.$t("amount")), 1), e( "div", null, t( a(ve)(($e = p.value) == null ? void 0 : $e.orderAmount) || ((je = p.value) == null ? void 0 : je.amount) || "--" ), 1 ), ]), w.value === 1 || !I.value ? (s(), l("div", Ro, [ e( "img", { class: "qrcode", src: D.value, id: "qrcode" }, null, 8, Uo ), e( "div", { class: "save_qrcode", onClick: J[1] || (J[1] = (we) => a(m)("qrcode")), }, t(ee.$t("saveTheQRCode")), 1 ), ])) : y("v-if", !0), y(` <img class="qrcode" :src="codeUrl" id="qrcode" /> <div class="save_qrcode" @click="htmlToImage('qrcode')">{{ $t('saveTheQRCode') }}</div> `), w.value === 1 ? (s(), l("div", Bo, [ Po, _( re, { modelValue: a(n).localUpiUTR, "onUpdate:modelValue": J[3] || (J[3] = (we) => (a(n).localUpiUTR = we)), class: "info_item", type: "digit", placeholder: "Please enter a 12-digit UTR", maxlength: 12, }, { "right-icon": te(() => [ _(se, { name: "copy", alt: "", onClick: J[2] || (J[2] = (we) => a(Ie)(a(n).localUpiUTR)), }), ]), _: 1, }, 8, ["modelValue"] ), ])) : y("v-if", !0), w.value === 1 ? (s(), Ne( zt, { key: 4, showType: I.value ? 771 : 12, isShowHead: !0 }, null, 8, ["showType"] )) : y("v-if", !0), ]), e("div", Wo, [ e("div", Oo, [ e("div", null, t(ee.$t("C2Cuploadtip3")), 1), e("div", null, t(ee.$t("C2Cuploadtip4")), 1), ]), e( "div", { class: ae(["upload_img", { noAdd: !!$.value }]), onClick: J[4] || (J[4] = () => { B.value.chooseFile(); }), }, [ $.value ? (s(), l( "img", { key: 0, src: $.value, alt: "" }, null, 8, Lo )) : y("v-if", !0), ], 2 ), e("div", Mo, [ _( We, { ref_key: "uploadRef", ref: B, "max-size": 5e3 * 1024, onOversize: J[5] || (J[5] = () => a(St)(ee.$t("C2Cuploadtip2"))), modelValue: b.value, "onUpdate:modelValue": J[6] || (J[6] = (we) => (b.value = we)), accept: "image/*", "after-read": K, "preview-image": !1, }, { default: te(() => [ e("div", qo, [ _(se, { name: "uploadIcon" }), y(' <img :src="uploadBtnIcon" /> '), e( "span", null, t( w.value === 2 && b.value.length === 0 ? ee.$t("uploadImg") : ee.$t("changeImage") ), 1 ), ]), ]), _: 1, }, 8, ["modelValue"] ), e("div", Vo, [ j(t(ee.$t("C2Cuploadtip1")), 1), Eo, j(" " + t(ee.$t("C2Cuploadtip2")), 1), ]), ]), ]), w.value === 1 ? (s(), l("div", jo, [ e( "div", { class: "cancel_order", onClick: M }, t(ee.$t("concelOrder")), 1 ), e( "div", { class: ae([ "finish", { unfinish: a(n).localUpiUTR.length < 12 }, ]), onClick: Z, }, t( I.value && w.value === 1 ? ee.$t("nextStep") : ee.$t("rechargeDetailDesc6") ), 3 ), ])) : y("v-if", !0), w.value !== 1 ? (s(), l("div", xo, [ e( "div", { class: ae(["c2cFinish", { no_finish: !$.value }]), onClick: J[7] || (J[7] = () => { var we; $.value && a(c)( "c2c", (we = p.value) == null ? void 0 : we.id, [x.value] ); }), }, t(ee.$t("rechargeDetailDesc6")), 3 ), e( "div", { class: "backPay", onClick: J[8] || (J[8] = (we) => (w.value = 1)), }, t(ee.$t("backPay")), 1 ), ])) : y("v-if", !0), _( Ue, { show: f.value, "onUpdate:show": J[11] || (J[11] = (we) => (f.value = we)), onClickOverlay: N, }, { default: te(() => { var we, Me, qe, X; return [ e("div", Ho, [ e("div", Fo, [ e( "img", { src: a(ye)("wallet", "upi"), alt: "" }, null, 8, zo ), e( "span", null, t( (W.value === "upi" ? "Local UPI " : "NEW UPI ") + ee.$t("recharge") ), 1 ), ]), _(Le), e("div", Ko, [ e("div", Go, [ Qo, e( "div", Yo, t( ((we = p.value) == null ? void 0 : we.sellerAccountNo) || ((Me = p.value) == null ? void 0 : Me.upiAccount) ), 1 ), ]), e("div", Zo, [ Xo, e("div", Jo, t(a(n).localUpiUTR), 1), ]), e("div", ei, [ e("span", null, t(ee.$t("amount")), 1), e( "div", ti, t( a(ve)( ((qe = p.value) == null ? void 0 : qe.orderAmount) || ((X = p.value) == null ? void 0 : X.amount) ) ), 1 ), ]), ]), e("div", ai, t(ee.$t("rechargeDetailDesc8")), 1), e("div", ni, t(ee.$t("rechargeDetailDesc11")), 1), e("div", si, [ e( "div", { class: "cancel_order", onClick: J[9] || (J[9] = (G) => (f.value = !1)), }, t(ee.$t("rechargeDetailDesc7")), 1 ), e( "div", { class: "finish", onClick: J[10] || (J[10] = (G) => { var le, he; return U( ((le = p.value) == null ? void 0 : le.id) || ((he = p.value) == null ? void 0 : he.orderNumber) ); }), }, t(ee.$t("rechargeDetailDesc8")), 1 ), ]), ]), ]; }), _: 1, }, 8, ["show"] ), _( Ue, { title: " ", show: S.value, "onUpdate:show": J[13] || (J[13] = (we) => (S.value = we)), onClickOverlay: J[14] || (J[14] = (we) => (S.value = !1)), closeable: !0, }, { default: te(() => [ e("div", li, [ e( "img", { src: a(fe)("common", "close"), class: "close_img" }, null, 8, oi ), ii, ri, ci, di, e("div", ui, [ e( "img", { src: a(fe)("wallet/recharge", "C2Chelp"), alt: "", class: "help_img", }, null, 8, vi ), ]), e("div", pi, [ e( "div", { class: "close_btn", onClick: J[12] || (J[12] = (we) => (S.value = !1)), }, t(ee.$t("close")), 1 ), ]), ]), ]), _: 1, }, 8, ["show"] ), _( et, { show: A.value, "onUpdate:show": J[15] || (J[15] = (we) => (A.value = we)), showCancelBtn: !1, title: ee.$t("UTRError"), "confirm-text": "OK", confirm: (A.value = !1), }, { content: te(() => [j(t(ee.$t("c2cTip16")), 1)]), _: 1 }, 8, ["show", "title", "confirm"] ), _( et, { show: a(h), "onUpdate:show": J[16] || (J[16] = (we) => (st(h) ? (h.value = we) : null)), showCancelBtn: !1, title: ee.$t("C2Ctimeout1"), "confirm-text": "OK", onConfirm: H, }, { content: te(() => [j(t(ee.$t("C2Ctimeout2")), 1)]), _: 1 }, 8, ["show", "title"] ), ]) ); } ); }, }); const hi = de(_i, [ ["__scopeId", "data-v-5bada7e8"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/OtherPay/index.vue", ], ]), ak = Object.freeze( Object.defineProperty( { __proto__: null, default: hi }, Symbol.toStringTag, { value: "Module" } ) ), mi = (g) => (Be("data-v-4f3d8608"), (g = g()), Pe(), g), fi = ["src"], wi = { class: "upi_item" }, yi = { class: "title" }, gi = { key: 0, class: "upi_image" }, $i = { key: 1, class: "gift" }, ki = { key: 2, class: "upi_image" }, bi = { class: "Recharge__container-tabcard" }, Ci = ["onClick"], Ti = { class: "centers" }, Si = { key: 0, class: "gift" }, Ii = { class: "Recharge__container-tabcard__top" }, Ni = ["src"], Ai = { class: "Recharge__container-tabcard__bot" }, Di = { key: 1 }, Ri = { class: "left" }, Ui = { class: "right" }, Bi = { class: "ar_wallet" }, Pi = { class: "info" }, Wi = ["src"], Oi = { key: 0, class: "tit" }, Li = { key: 1, class: "tip" }, Mi = { key: 2, class: "wallet_amount" }, qi = mi(() => e("span", null, "ARB", -1)), Vi = ce({ __name: "RechargeMenu", setup(g) { const { store: n, handleChangeMenu: u, getPayTabList: c, arPay: i, currentPayId: o, } = rt(), { isArWalletActive: v, arWallet: m, getInfo: k, goWallet: h, goActive: r, } = Rt(), { t: f } = Te(); me(); const p = () => { v.value ? h("wallet/recharge") : r("wallet/recharge"); }, A = () => { const C = encodeURIComponent( "https://" + window.location.host + "/#/main" ); let S = `https://arbpay.me/#/TradRules?lang=${localStorage.getItem( "language" )}&returnUrl=${C}`; window.location.href = S; }; return ( Ke( () => o.value, async (C) => { C === 21 && (Sa({ message: f("loading") + "...", forbidClick: !0 }), await k(), (n.arPayInfo = m.value), Cn()); }, { immediate: !0 } ), (C, R) => { var b, $, B, D, O; const S = q("svg-icon"), w = q("van-icon"); return ( s(), l("div", null, [ a(i) ? (s(), l( "div", { key: 0, class: ae([ "new_upi", { upi_active: a(n).currentMenu === -1 }, ]), onClick: R[0] || (R[0] = (x) => a(u)(-1)), }, [ e("img", { src: a(i).payNameUrl, alt: "" }, null, 8, fi), e("div", wi, [ e("div", yi, t(a(i).payName), 1), (b = a(i)) != null && b.maxRechargeRifts ? (s(), l( "div", gi, "+" + t( (($ = a(i)) == null ? void 0 : $.maxRechargeRifts) * 100 ) + "%", 1 )) : y("v-if", !0), a(i).maxRechargeRifts ? (s(), l( "div", $i, t( a(f)("arGift", [ a(ca)(a(i).maxRechargeRifts || 0, 100) + "%", ]) ), 1 )) : y("v-if", !0), (B = a(i)) != null && B.maxRechargeRifts ? (s(), l( "div", ki, "+" + t( ((D = a(i)) == null ? void 0 : D.maxRechargeRifts) * 100 ) + "%", 1 )) : y("v-if", !0), ]), ], 2 )) : y("v-if", !0), e("div", bi, [ (s(!0), l( oe, null, Ce( a(c), (x, I) => ( s(), l( "div", { key: I, class: ae([ "Recharge__container-tabcard__items", { active: I === a(n).currentMenu }, ]), onClick: (Q) => a(u)(I), }, [ e("div", Ti, [ x.maxRechargeRifts && x.maxRechargeRifts > 0 ? (s(), l("div", Si, [ e( "span", null, "+" + t( a(la)( (x == null ? void 0 : x.maxRechargeRifts) * 100 ) ) + "%", 1 ), ])) : y("v-if", !0), e("div", Ii, [ e( "img", { class: "img", src: I === a(n).currentMenu ? x.payNameUrl2 : x.payNameUrl, alt: "", }, null, 8, Ni ), ]), e("div", Ai, [ j(t(x.payName) + " ", 1), y( ' <span v-if="item.maxRechargeRifts && item.maxRechargeRifts > 0">{{ item?.maxRechargeRifts * 100 }}%</span> ' ), ]), ]), ], 10, Ci ) ) ), 128 )), ]), a(i) && a(n).currentMenu === -1 ? (s(), l("div", Di, [ e( "div", { class: "rule", onClick: R[1] || (R[1] = (x) => A()) }, [ e("div", Ri, [ _(S, { name: "arpay1" }), e("p", null, t(C.$t("arbTip1")), 1), ]), e("div", Ui, [ j(t(C.$t("checkOver")), 1), _(w, { name: "arrow" }), ]), ] ), e("div", Bi, [ e("div", Pi, [ e( "img", { src: a(i).payNameUrl, alt: "" }, null, 8, Wi ), e("div", null, [ a(v) ? (s(), l("div", Oi, t(a(f)("arbTip13")), 1)) : y("v-if", !0), a(v) ? (s(), l("div", Mi, [ j( t( ((O = a(m)) == null ? void 0 : O.balance) || 0 ), 1 ), qi, ])) : (s(), l("div", Li, t(C.$t("arNoActive")), 1)), ]), ]), e( "div", { class: "ar_btn", onClick: p }, t(a(v) ? a(f)("comminWallet") : a(f)("arActive")), 1 ), ]), y(` <div class="ar_wallet_tip">{{ $t('arTip') }}</div> `), ])) : y("v-if", !0), ]) ); } ); }, }); const Ei = de(Vi, [ ["__scopeId", "data-v-4f3d8608"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Recharge/RechargeMenu.vue", ], ]), ji = { key: 0, class: "arCard" }, xi = { class: "left" }, Hi = ["src"], Fi = { class: "features" }, zi = { class: "title" }, Ki = { class: "t1" }, Gi = { class: "t3" }, Qi = ["innerHTML"], Yi = ["innerHTML"], Zi = ce({ __name: "noActivate", props: { pageType: { type: String, required: !0 } }, setup(g) { const n = () => { const i = encodeURIComponent( "https://" + window.location.host + "/#/main" ); let v = `https://arbpay.me/#/ActivaRules?lang=${localStorage.getItem( "language" )}&returnUrl=${i}`; window.location.href = v; }, { goActive: u } = Rt(), c = E(() => Ve().getProjectName); return (i, o) => { const v = q("svg-icon"), m = q("van-icon"); return ( s(), l( oe, null, [ i.pageType !== "wallet/recharge" ? (s(), l("div", ji, [ e("div", xi, [ e( "img", { src: a(ye)("wallet/withdrawType", "21") }, null, 8, Hi ), j(" " + t(i.$t("arbTip3")), 1), ]), e( "div", { class: "right", onClick: o[0] || (o[0] = (k) => a(u)(i.pageType)), }, t(i.$t("arbActive")), 1 ), ])) : y("v-if", !0), e("div", Fi, [ e("div", zi, [ _(v, { name: "arpay2" }), j(" " + t(i.$t("arbTip4")), 1), ]), e("p", null, t(i.$t("arbTip5")), 1), e("p", Ki, t(i.$t("arbTip6")), 1), e("p", { class: "t2", onClick: o[1] || (o[1] = (k) => n()) }, [ j(t(i.$t("arbTip7")), 1), _(m, { name: "arrow" }), ]), e("p", Gi, t(i.$t("arbTip8")), 1), e("p", { innerHTML: i.$t("abbTip9", [c.value]) }, null, 8, Qi), e("p", { innerHTML: i.$t("arbTip10", [c.value]) }, null, 8, Yi), e("p", null, t(i.$t("arbTip11")), 1), e("p", null, t(i.$t("arbTip12")), 1), e( "div", { class: "toActive", onClick: o[2] || (o[2] = (k) => a(u)(i.pageType)), }, t(i.$t("arActive")), 1 ), ]), ], 64 ) ); }; }, }); const xa = de(Zi, [ ["__scopeId", "data-v-e7d19060"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/Ar/noActivate.vue", ], ]), Ut = (g) => (Be("data-v-9e03166f"), (g = g()), Pe(), g), Xi = { class: "Recharge__content" }, Ji = { key: 0, class: "Recharge__content-quickInfo boxStyle" }, er = { class: "Recharge__content-quickInfo__title" }, tr = { class: "title" }, ar = ["onClick"], nr = { key: 0, class: "other" }, sr = { key: 0, class: "bouns" }, lr = { key: 1, class: "usdt_icon" }, or = ["src"], ir = { key: 0, class: "bouns" }, rr = { key: 1, class: "other_bank" }, cr = { class: "select_bank_tit" }, dr = { key: 2, class: "transfer boxStyle" }, ur = { class: "title" }, vr = { class: "transfer_list" }, pr = ["src"], _r = ["src"], hr = { key: 3, class: "bank_list" }, mr = ["onClick"], fr = ["data-img"], wr = { key: 5, class: "Recharge__content-paymoney boxStyle" }, yr = { class: "Recharge__content-paymoney__title" }, gr = ["src"], $r = { key: 2 }, kr = { key: 3 }, br = { class: "Recharge__content-paymoney__money-list" }, Cr = ["onClick"], Tr = ["src"], Sr = { key: 1 }, Ir = { key: 0, class: "ar_gift" }, Nr = ["src"], Ar = { class: "place-div" }, Dr = { key: 2, class: "unit" }, Rr = ["src"], Ur = { key: 2, class: "recharge_tip" }, Br = { class: "Recharge__content-waitPay boxStyle" }, Pr = ["src"], Wr = { class: "wait_text" }, Or = Ut(() => e("span", null, "3", -1)), Lr = Ut(() => e("span", null, "0", -1)), Mr = Ut(() => e("span", null, ":", -1)), qr = Ut(() => e("span", null, "0", -1)), Vr = Ut(() => e("span", null, "0", -1)), Er = [Or, Lr, Mr, qr, Vr], jr = { class: "showAmountError" }, xr = { class: "title1" }, Hr = { class: "title2" }, Fr = { class: "title2 red" }, zr = { class: "button" }, Kr = ce({ __name: "RechargeContainer", setup(g) { const n = T(), { store: u, currentPayId: c, isLocakBank: i, isArpay: o, isNumberPay: v, isHaveOrder: m, currentPayTypeId: k, handleSelectPayType: h, numberKeyObj: r, handleQuickSelect: f, handleInput: p, getC2CunitAmount: A, handleClearInput: C, formatNum: R, setCountdownRef: S, getElwallett: w, isSplitLocalEWallet: b, handleSelectBank: $, IsShowRechargeBankList: B, showOtherSelect: D, confirmOtherSelectBank: O, isOtherRecharge: x, currentOtherThirdBankList: I, getTransferBankList: Q, transfer: K, handleRecharge: H, showAmountError: N, } = rt(), { arWallet: z, isArWalletActive: V, goWallet: W } = Rt(), Z = me(), U = E(() => Ve().getDollarSign), M = E(() => (o.value ? "arActive" : "active")); ke(() => { S(n.value); }); const L = () => { (u.amount = 1e3), (u.currentQuickIndex = -1); }, ee = E(() => (o.value ? !!V.value : !m.value)), J = async () => { let se = c.value === 18 ? w() : u.currentPayType.payTypeID; c.value === 21 ? (window.location.href = u.isArPayOrder) : c.value === 12 ? Z.push({ name: "OtherPay", query: { type: "upi" } }) : c.value === 19 ? Z.push({ name: "RechargeUsdt", query: { amount: u.numberPayAmount }, }) : Z.push({ name: "RechargeDetail", query: { currentPayId: c.value, payTypeId: se, amount: u.amount, }, }); }, ie = () => { W("wallet/recharge"); }; return (se, re) => { var Me, qe; const We = q("svg-icon"), Le = q("van-icon"), Ue = q("van-field"), be = q("van-picker"), ge = q("van-popup"), $e = q("van-dialog"), je = nt("lazy"), we = nt("throttle-click"); return ( s(), l( oe, null, [ e("div", Xi, [ y(" 选择通道 "), !a(i) && !a(o) && !a(m) && a(c) !== 10 ? (s(), l("div", Ji, [ e("div", er, [ e("div", tr, [ _(We, { name: "quickpay2" }), e("p", null, t(se.$t("RCTXT1")), 1), ]), ]), e( "div", { class: ae([ "rechargeTypes_list", { numberPay: a(v) }, ]), }, [ (s(!0), l( oe, null, Ce( a(u).rechargeTypes, (X, G) => ( s(), l( "div", { class: ae([ "Recharge__content-quickInfo__item", { item_active: a(k) === X.payTypeID }, ]), key: X.payTypeID, onClick: (le) => a(h)(G), }, [ a(c) !== 11 ? (s(), l("div", nr, [ e("div", null, t(X.payName), 1), e( "div", null, t(se.$t("RCTXT2")) + t(X.miniPrice) + " - " + t(a(R)(X.maxPrice)), 1 ), X.rechargeRifts > 0 ? (s(), l( "div", sr, t( a(la)(X.rechargeRifts * 100) ) + "% bonus", 1 )) : y("v-if", !0), ])) : (s(), l("div", lr, [ e( "img", { src: a(ye)("wallet", "usdt"), alt: "", }, null, 8, or ), e("div", null, [ e("div", null, t(X.payName), 1), e( "div", null, t(se.$t("RCTXT2")) + t(X.miniPrice) + " - " + t(a(R)(X.maxPrice)), 1 ), X.rechargeRifts > 0 ? (s(), l( "div", ir, t( a(la)(X.rechargeRifts * 100) ) + "% bonus", 1 )) : y("v-if", !0), ]), ])), ], 10, ar ) ) ), 128 )), ], 2 ), ])) : y("v-if", !0), a(x) && a(u).thirdPayBankList.length > 0 && a(I).length > 0 ? (s(), l("div", rr, [ e("div", cr, [ _(We, { name: "bank" }), j(t(se.$t("selectBank")), 1), ]), e( "div", { class: "bank_name", onClick: re[0] || (re[0] = (X) => (D.value = !0)), }, [ j( t( (Me = a(u).selectOtherBank) == null ? void 0 : Me.bankName ) + " ", 1 ), _(Le, { name: "arrow", class: "right_arrow" }), ] ), ])) : y("v-if", !0), y(" 孟加拉的转账类型选择 "), U.value === "৳" && !a(m) && a(c) === 9 ? (s(), l("div", dr, [ e("div", ur, [ _(We, { name: "transf_amount" }), j(" " + t(se.$t("transferType")), 1), ]), e("div", vr, [ e( "div", { class: ae([ "item", { transfer_active: a(K) === 1 }, ]), onClick: re[1] || (re[1] = (X) => (K.value = 1)), }, [ e( "img", { src: a(fe)("wallet/recharge", "banktobank"), alt: "", }, null, 8, pr ), j(" " + t(se.$t("banktobank")), 1), ], 2 ), e( "div", { class: ae([ "item", { transfer_active: a(K) === 2 }, ]), onClick: re[2] || (re[2] = (X) => (K.value = 2)), }, [ e( "img", { src: a(fe)("wallet/recharge", "wallettobank"), alt: "", }, null, 8, _r ), j(" " + t(se.$t("wallettobank")), 1), ], 2 ), ]), ])) : y("v-if", !0), y(" 银行列表 "), a(i) && a(b) && a(B) && !a(m) ? (s(), l("div", hr, [ (s(!0), l( oe, null, Ce( U.value === "৳" ? a(Q) : a(u).bankList, (X, G) => ( s(), l( "div", { class: ae([ "bank_item", { bank_item_active: a(u).currentBankIndex === G, }, ]), onClick: (le) => a($)(G), }, [ _e( e( "img", { alt: "", "data-img": a(ye)( "wallet", "slot_wallet" ), }, null, 8, fr ), [[je, X.bankLogo]] ), j(" " + t(X.bankName), 1), ], 10, mr ) ) ), 256 )), ])) : y("v-if", !0), !a(V) && a(o) ? (s(), Ne(xa, { key: 4, "page-type": "wallet/recharge" })) : y("v-if", !0), y(" 充值金额选择 "), ee.value ? (s(), l("div", wr, [ e("div", yr, [ a(v) ? (s(), l( "img", { key: 1, src: a(ye)("wallet", a(r)[a(c)].icon), alt: "", }, null, 8, gr )) : (s(), Ne(We, { key: 0, name: "saveWallet" })), a(v) ? (s(), l( "p", kr, t( ((qe = a(r)[a(c)]) == null ? void 0 : qe.selectText) || "" ), 1 )) : (s(), l( "p", $r, t( a(o) ? se.$t("arbRecharge") : se.$t("rechageAmount") ), 1 )), ]), e("div", br, [ (s(!0), l( oe, null, Ce( a(u).quickList, (X, G) => ( s(), l( "div", { class: ae([ "Recharge__content-paymoney__money-list__item", a(u).currentQuickIndex === G ? M.value : "", ]), key: G, onClick: (le) => a(f)(G), }, [ e( "div", { class: ae(["amount", { arAmount: a(o) }]), }, [ a(v) ? (s(), l( "img", { key: 0, src: a(ye)( "wallet", a(r)[a(c)].icon ), alt: "", class: "usdt", }, null, 8, Tr )) : y("v-if", !0), !a(v) && !a(o) ? (s(), l("span", Sr, t(U.value), 1)) : y("v-if", !0), j( " " + t( a(o) ? "₹" + a(R)(Number(X.rechargeAmount)) : a(R)(Number(X.rechargeAmount)) ), 1 ), ], 2 ), y( ' <div v-if="isArpay && store.currentPayType?.rechargeRifts" class="ar_gift">' ), y(" {{ $t('k3WarningTip4') }} ₹"), y( " <span>{{ formatNum(Number(item.giftAmount)) }}</span>" ), y(" </div>"), X.giftAmount > 0 ? (s(), l("div", Ir, [ j( t(se.$t("k3WarningTip4")) + " + " + t(U.value) + " ", 1 ), e( "span", null, t(a(R)(Number(X.giftAmount))), 1 ), ])) : y("v-if", !0), ], 10, Cr ) ) ), 128 )), ]), a(v) ? (s(), l( "div", { key: 0, class: ae([ "Recharge__content-paymoney__money-input", { radius: a(v) }, ]), }, [ e( "div", { class: ae(["place-div", a(r)[a(c)].icon]) }, null, 2 ), _( Ue, { modelValue: a(u).numberPayAmount, "onUpdate:modelValue": re[3] || (re[3] = (X) => (a(u).numberPayAmount = X)), modelModifiers: { number: !0 }, type: "digit", autocomplete: "new-password", placeholder: a(r)[a(c)].placeholder, class: "amount-input", onInput: re[4] || (re[4] = (X) => a(p)(X)), }, null, 8, ["modelValue", "placeholder"] ), e( "div", { class: "place-right", onClick: re[5] || (re[5] = (X) => a(C)()), }, [ e( "img", { src: a(fe)("wallet/recharge", "clean"), alt: "", }, null, 8, Nr ), ] ), ], 2 )) : y("v-if", !0), a(c) != 6 ? (s(), l( "div", { key: 1, class: ae([ "Recharge__content-paymoney__money-input", { radius: a(v) }, ]), }, [ e("div", Ar, t(U.value), 1), a(v) ? (s(), Ne( Ue, { key: 0, disabled: a(v), modelValue: a(u).numberExchangeRate, "onUpdate:modelValue": re[6] || (re[6] = (X) => (a(u).numberExchangeRate = X)), modelModifiers: { number: !0 }, type: "digit", autocomplete: "new-password", placeholder: se.$t("enterAmount"), class: "amount-input", onInput: re[7] || (re[7] = (X) => a(p)(X)), }, null, 8, ["disabled", "modelValue", "placeholder"] )) : (s(), Ne( Ue, { key: 1, modelValue: a(u).amount, "onUpdate:modelValue": re[8] || (re[8] = (X) => (a(u).amount = X)), modelModifiers: { number: !0 }, type: "digit", autocomplete: "new-password", placeholder: se.$t("enterAmount"), class: "amount-input", onInput: re[9] || (re[9] = (X) => a(p)(X)), }, null, 8, ["modelValue", "placeholder"] )), a(c) === 20 ? (s(), l("div", Dr, t(a(A)), 1)) : y("v-if", !0), !a(v) && !a(o) ? (s(), l( "div", { key: 3, class: "place-right", onClick: re[10] || (re[10] = (X) => a(C)()), }, [ e( "img", { src: a(fe)( "wallet/recharge", "clean" ), alt: "", }, null, 8, Rr ), ] )) : y("v-if", !0), a(o) ? (s(), l( "div", { key: 4, class: "ar_all", onClick: L }, t(se.$t("withdrawStatem1")), 1 )) : y("v-if", !0), ], 2 )) : y("v-if", !0), a(u).validateAmount ? (s(), l("div", Ur, t(a(u).validateAmount), 1)) : y("v-if", !0), !a(m) || a(x) ? _e( (s(), l( "div", { key: 3, class: ae([ "Recharge__container-rechageBtn", a(u).rechargeSubmitBtnStatus ? "rechage_active" : "", ]), }, [j(t(se.$t("recharge")), 1)], 2 )), [[we, { handler: a(H), wait: 2e3 }]] ) : y("v-if", !0), ])) : y("v-if", !0), _e( e( "div", Br, [ e( "img", { src: a(ye)("wallet", "tip"), alt: "" }, null, 8, Pr ), e("div", Wr, t(se.$t("RCTXT3")), 1), a(o) ? y("v-if", !0) : (s(), l( "div", { key: 0, class: "Recharge__content-waitPay__countdown", ref_key: "countdownRef", ref: n, }, Er, 512 )), e( "div", { class: "go_pay", onClick: J }, t(se.$t("RCTXT4")), 1 ), ], 512 ), [[It, a(m)]] ), _( ge, { show: a(D), "onUpdate:show": re[12] || (re[12] = (X) => (st(D) ? (D.value = X) : null)), round: "", position: "bottom", }, { default: te(() => [ _( be, { "columns-field-names": { text: "bankName", value: "bankCode", children: "children", }, columns: a(I), onCancel: re[11] || (re[11] = (X) => (D.value = !1)), onConfirm: a(O), }, null, 8, ["columns", "onConfirm"] ), ]), _: 1, }, 8, ["show"] ), ]), _( $e, { show: a(N), "onUpdate:show": re[14] || (re[14] = (X) => (st(N) ? (N.value = X) : null)), "show-confirm-button": !1, width: 327, }, { default: te(() => { var X; return [ e("div", jr, [ e("div", xr, t(se.$t("arb1")), 1), e("div", Hr, t(se.$t("arb2")), 1), e( "div", Fr, t( se.$t("arb3", [ ((X = a(z)) == null ? void 0 : X.withdrawalRewardRatio) || 0, ]) ), 1 ), e("div", zr, [ e( "div", { class: "clance", onClick: re[13] || (re[13] = (G) => (N.value = !1)), }, t(se.$t("cancel")), 1 ), e( "div", { class: "goBuy", onClick: ie }, t(se.$t("arb4")), 1 ), ]), ]), ]; }), _: 1, }, 8, ["show"] ), ], 64 ) ); }; }, }); const Gr = de(Kr, [ ["__scopeId", "data-v-9e03166f"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Recharge/RechargeContainer.vue", ], ]), Qr = { class: "balanceAssets" }, Yr = { class: "balanceAssets__header" }, Zr = { class: "balanceAssets__header__left" }, Xr = ["src"], Jr = { class: "balanceAssets__main" }, ec = ["src"], tc = ce({ __name: "BalanceAssets", setup(g) { const n = dt(); return (u, c) => ( s(), l("div", Qr, [ e("div", Yr, [ e("div", Zr, [ e("img", { src: a(ye)("wallet", "balance") }, null, 8, Xr), j(" " + t(u.$t("balance")), 1), ]), ]), e("div", Jr, [ e("p", null, t(a(ve)(a(n).getAmount)), 1), e( "img", { src: a(fe)("wallet/recharge", "refresh"), alt: "", onClick: c[0] || (c[0] = (i) => a(n).resetData()), }, null, 8, ec ), ]), y(` <div class="balanceAssets__tip"> <img :src="getIconsPublic('wallet/recharge', 'cip')" alt="" /> </div> `), ]) ); }, }); const ac = de(tc, [ ["__scopeId", "data-v-98c90f53"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/BalanceAssets.vue", ], ]), nc = ce({ __name: "CountDownTimer", props: { startTime: { type: String, required: !0 }, endTime: { type: String, required: !0 }, className: { type: String, required: !1 }, }, setup(g) { const n = g, u = T(), c = T("00:00"); return ( ke(() => { let i = n.startTime, o = n.endTime, v = new Date(i.replace(/-/g, "/")).getTime(), m = new Date(o.replace(/-/g, "/")).getTime(), k = v - m; u.value = setInterval(() => { (k -= 1e3), (c.value = Dt(k, "mm:ss")), k < 0 && (clearInterval(u.value), (c.value = "00:00")); }, 1e3); }), _t(() => { clearInterval(u.value); }), (i, o) => ( s(), l("span", { class: ae([i.className, "count_timer"]) }, t(c.value), 3) ) ); }, }); const Ha = de(nc, [ ["__scopeId", "data-v-b3f8911c"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Recharge/CountDownTimer.vue", ], ]), sc = (g) => (Be("data-v-9f5f4114"), (g = g()), Pe(), g), lc = { class: "record__main" }, oc = { class: "record__main-title" }, ic = { key: 1 }, rc = ["onClick"], cc = { class: "record__main-info__title flex_between" }, dc = { class: "recharge_text" }, uc = { class: "flex_between" }, vc = ["src"], pc = { key: 0, class: "record__main-info__money item flex_between" }, _c = { key: 1, class: "record__main-info__money item flex_between" }, hc = { key: 2, class: "record__main-info__type item flex_between" }, mc = { key: 3, class: "record__main-info__type item flex_between" }, fc = sc(() => e("span", null, "UTR", -1)), wc = { key: 4, class: "record__main-info__time item flex_between" }, yc = { key: 5, class: "record__main-info__time item flex_between" }, gc = { key: 6, class: "record__main-info__orderNumber item flex_between" }, $c = { key: 7, class: "record__main-info__orderNumber item flex_between" }, kc = ["onClick"], bc = ["onClick"], Cc = ce({ __name: "RechargeRecord", setup(g, { expose: n }) { const u = kt(), { store: c, historyToDetail: i, getRecordList: o, RechargeRList: v, } = rt(), m = E(() => v.value.length >= 5), k = me(), { goToTictek: h, isCenterServer: r } = va({ ServerType: 2 }), f = (C) => { let R = ""; switch (C.state) { case 0: R = "recharge"; break; case 1: R = "check"; break; case 2: R = "timeout"; break; case 3: R = "representation"; break; case 4: R = "success"; break; case 5: R = "fail"; break; case 6: R = "cancel"; break; default: R = "#FFB800"; break; } return R; }, p = async (C) => { i(C.payID || C.category, C.type, C.price, C.state, C.id); }, A = () => { u.emit("changeKeepAliveKey"), k.push({ name: "RechargeHistory" }); }; return ( ke(() => { o(); }), n({ getRecordList: o }), (C, R) => { const S = q("svg-icon"); return ( s(), l("div", lc, [ e("div", oc, [ _(S, { name: "historyHead" }), e( "span", null, t( a(c).currentPayId === 20 ? "C2C" + C.$t("rechargeRecords") : C.$t("rechargeRecords") ), 1 ), ]), a(v).length < 1 ? (s(), Ne(bt, { key: 0, class: "mgt40" })) : y("v-if", !0), a(v).length > 0 ? (s(), l("div", ic, [ (s(!0), l( oe, null, Ce( a(v), (w) => ( s(), l( "div", { class: "record__main-info", key: w.rechargeNumber, onClick: (b) => p(w), }, [ e("div", cc, [ e("div", dc, t(C.$t("recharge")), 1), e("div", uc, [ a(c).currentPayId !== 20 ? (s(), l( "div", { key: 0, class: ae({ danger: w.state === 0, success: w.state === 1, rechargeFail: w.state === 2, cancel: w.state === 6, }), }, t( C.$t( a(lt)(a(Oe).RechargeState, w.state) ) ), 3 )) : (s(), l( "div", { key: 1, class: ae(f(w)) }, [ j( t( a(lt)( a(Oe).RechargeC2CState, w.state ) ) + " ", 1 ), w.state === 1 || w.state === 0 ? (s(), Ne( Ha, { "start-time": w.endTime, "end-time": w.serviceTime, "class-name": f(w), key: w.id, }, null, 8, [ "start-time", "end-time", "class-name", ] )) : y("v-if", !0), ], 2 )), w.state !== 2 ? (s(), l( "img", { key: 2, src: a(fe)( "wallet/recharge", "left_arrow" ), alt: "", }, null, 8, vc )) : y("v-if", !0), ]), ]), a(c).currentPayId !== 20 ? (s(), l("div", pc, [ e("span", null, t(C.$t("amount")), 1), e( "span", null, t(a(ve)(w == null ? void 0 : w.price)), 1 ), ])) : (s(), l("div", _c, [ e("span", null, t(C.$t("amount")), 1), e( "span", null, t( a(ve)( w == null ? void 0 : w.orderAmount ) ), 1 ), ])), a(c).currentPayId !== 20 ? (s(), l("div", hc, [ e("span", null, t(C.$t("type")), 1), e( "span", null, t(w == null ? void 0 : w.payName), 1 ), ])) : (s(), l("div", mc, [ fc, e("div", null, [ e( "span", null, t(w.transactionNo || "-"), 1 ), _( S, { name: "copy", alt: "", onClick: Je( (b) => a(Ie)(w.transactionNo), ["stop"] ), }, null, 8, ["onClick"] ), ]), ])), a(c).currentPayId !== 20 ? (s(), l("div", wc, [ e("span", null, t(C.$t("time")), 1), e("span", null, t(w.addTime), 1), ])) : (s(), l("div", yc, [ e("span", null, t(C.$t("time")), 1), e("span", null, t(w.createTime), 1), ])), a(c).currentPayId !== 20 ? (s(), l("div", gc, [ e("span", null, t(C.$t("orderNo")), 1), e("div", null, [ e( "span", null, t( w == null ? void 0 : w.rechargeNumber ), 1 ), _( S, { name: "copy", alt: "", onClick: Je( (b) => a(Ie)(w.rechargeNumber), ["stop"] ), }, null, 8, ["onClick"] ), ]), ])) : (s(), l("div", $c, [ e("span", null, t(C.$t("orderNo")), 1), e("div", null, [ e("span", null, t(w.orderNo), 1), _( S, { "name-": "copy", alt: "", onClick: Je( (b) => a(Ie)(w.orderNo), ["stop"] ), }, null, 8, ["onClick"] ), ]), ])), [0, 2].includes(w.state) && a(r) ? (s(), l( "div", { key: 8, class: "report", onClick: Je( (b) => a(h)(w, C.isC2C), ["stop"] ), }, t(C.$t("report")), 9, kc )) : y("v-if", !0), ], 8, rc ) ) ), 128 )), m.value ? (s(), l( "div", { key: 0, class: "record__main-more", onClick: Je(A, ["stop"]), }, t(C.$t("allRecords")), 9, bc )) : y("v-if", !0), ])) : y("v-if", !0), ]) ); } ); }, }); const Tc = de(Cc, [ ["__scopeId", "data-v-9f5f4114"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Recharge/RechargeRecord.vue", ], ]), Sc = { class: "Recharge__box" }, Ic = { class: "Recharge__container" }, Nc = { class: "cancen_model_cnt" }, Ac = { class: "promptHeader" }, Dc = { class: "promptContent" }, Rc = { class: "input_item" }, Uc = ["maxlength", "onUpdate:modelValue", "placeholder", "onInput"], Bc = { key: 0, class: "tip" }, Pc = { key: 1, class: "tip" }, Wc = { class: "footer_btn" }, Oc = { class: "forbidden_tip" }, Lc = { class: "forbidden1" }, Mc = { class: "forbidden2" }, qc = { class: "forbidden3" }, Vc = { class: "cancen_model_cnt" }, Ec = ce({ __name: "index", setup(g) { const { store: n, C2CforbiddenShow: u, ErrorCount: c, RemainingLimitTime: i, currentPayId: o, validateBankForm: v, localBankRecharge: m, getRechargeTypeName: k, getAmountList: h, isFirstPixRecharge: r, isArpay: f, needPixInfo: p, } = rt(), { isArWalletActive: A } = Rt(), C = me(), R = dt(), S = kt(), w = T(!1), b = E(() => Ve().getDollarSign), $ = E(() => (f.value ? !A.value : !1)), B = () => { S.emit("changeKeepAliveKey"), C.push({ name: "RechargeHistory" }); }; function D() { var I; ((I = C.currentRoute.value.query) == null ? void 0 : I.type) === "Add" ? C.go(-2) : C.go(-1); } const O = () => { (r.value = !1), p.value && C.push({ name: "Withdraw-AddPIX", query: { fromV: "Recharge" } }); }, x = () => { h(), (w.value = !1); }; return ( ke(async () => { R.resetData(!0), k(); }), (I, Q) => { const K = q("NavBar"), H = q("van-dialog"); return ( s(), l("div", Sc, [ e("div", Ic, [ _( K, { class: "white", title: I.$t("recharge"), placeholder: !1, "left-arrow": "", onClickLeft: D, }, { right: te(() => [ e( "div", { class: "title", onClick: B }, t(I.$t("rechargeRecords")), 1 ), ]), _: 1, }, 8, ["title"] ), y(" 余额组件 "), _(ac), y(" 支付方式选择菜单 "), _(Ei), y(" 支付方式组件 "), _(Gr), y(` <div v-if="!isHaveOrder || isOtherRecharge" class="Recharge__container-rechageBtn" :class="store.rechargeSubmitBtnStatus ? 'rechage_active' : ''" v-throttle-click="{ handler: handleRecharge, wait: 2000 }" > {{ $t('recharge') }} </div> `), y(" 充值说明组件 "), a(o) && !$.value ? (s(), Ne( zt, { key: 0, "show-type": a(o), isShowHead: !0, rechargeInfo: a(n).currentPayType, }, null, 8, ["show-type", "rechargeInfo"] )) : y("v-if", !0), a(o) && !$.value ? (s(), Ne( Tc, { ref: "recordRef", payID: a(o), key: a(o) }, null, 8, ["payID"] )) : y("v-if", !0), ]), y(" <RechargeUpiSheet /> "), _( et, { show: w.value, "onUpdate:show": Q[0] || (Q[0] = (N) => (w.value = N)), onConfirm: x, "show-cancel-btn": !0, confirmText: "OK", title: I.$t("c2cLapseOfAmount"), }, { content: te(() => [e("div", Nc, t(I.$t("c2cPCAAmount")), 1)]), _: 1, }, 8, ["show", "title"] ), (a(n).isRechargeInputDialog && a(o) !== 19) || [10, 18].includes(a(o)) ? (s(), Ne( H, { key: 0, show: a(n).rechargeDialogVisible, "onUpdate:show": Q[3] || (Q[3] = (N) => (a(n).rechargeDialogVisible = N)), "confirm-button-text": I.$t("confirm"), }, { footer: te(() => []), default: te(() => [ e("div", Ac, t(I.$t("prompt")), 1), e("div", Dc, [ (s(!0), l( oe, null, Ce( a(n).bank_local, (N, z) => ( s(), l("div", Rc, [ e("div", null, t(N.split(",")[0]), 1), _e( e( "input", { class: "input_bank", maxlength: z === 0 ? 50 : 30, "onUpdate:modelValue": (V) => (a(n).bankInfo[N.split(",")[1]] = V), placeholder: I.$t("requiredFaild"), onInput: (V) => a(v)( a(n).bankInfo[N.split(",")[1]], z, N.split(",")[1] ), }, null, 40, Uc ), [ [ Re, a(n).bankInfo[N.split(",")[1]], void 0, { trim: !0 }, ], ] ), ]) ) ), 256 )), b.value === "৳" ? (s(), l("div", Bc, t(I.$t("rechargeBankVailte2")), 1)) : (s(), l( "div", Pc, t( a(o) === 9 || a(o) === 10 ? I.$t("rechargeBankVailte1") : I.$t("rechargeBankVailte") ), 1 )), e("div", Wc, [ e( "div", { onClick: Q[1] || (Q[1] = (...N) => a(m) && a(m)(...N)), }, t(I.$t("confirm")), 1 ), e( "div", { onClick: Q[2] || (Q[2] = (N) => (a(n).rechargeDialogVisible = !1)), }, t(I.$t("cancel")), 1 ), ]), ]), ]), _: 1, }, 8, ["show", "confirm-button-text"] )) : y("v-if", !0), _( et, { show: a(u), "onUpdate:show": Q[4] || (Q[4] = (N) => (st(u) ? (u.value = N) : null)), title: I.$t("C2Cforbidden", [a(i)]), "img-url": "forbhidden", showCancelBtn: !1, onConfirm: Q[5] || (Q[5] = (N) => (u.value = !1)), "cancel-text": I.$t("close"), "confirm-text": I.$t("sure"), }, { content: te(() => [ e("div", Oc, t(I.$t("C2Cforbidden1", [a(i)])), 1), e("div", Lc, t(I.$t("C2Cforbidden2", [a(c)])), 1), e("div", Mc, t(I.$t("C2Cforbidden3", [a(i)])), 1), e("div", qc, t(I.$t("C2Cforbidden4")), 1), ]), _: 1, }, 8, ["show", "title", "cancel-text", "confirm-text"] ), _( et, { show: a(r), "onUpdate:show": Q[6] || (Q[6] = (N) => (st(r) ? (r.value = N) : null)), onConfirm: Q[7] || (Q[7] = (N) => O()), "show-cancel-btn": !1, confirmText: I.$t("confirm"), cancelText: I.$t("cancel"), title: I.$t("safetyTips"), }, { content: te(() => [e("div", Vc, t(I.$t("safetyTips1")), 1)]), _: 1, }, 8, ["show", "confirmText", "cancelText", "title"] ), ]) ); } ); }, }); const jc = de(Ec, [ ["__scopeId", "data-v-36cc3380"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Recharge/index.vue", ], ]), nk = Object.freeze( Object.defineProperty( { __proto__: null, default: jc }, Symbol.toStringTag, { value: "Module" } ) ), ct = (g) => (Be("data-v-845bb16b"), (g = g()), Pe(), g), xc = { class: "rechargeDetail__container" }, Hc = { class: "rechargeDetail__container-header" }, Fc = ct(() => e("span", null, null, -1)), zc = ct(() => e("span", null, null, -1)), Kc = ct(() => e("span", null, null, -1)), Gc = ct(() => e("span", null, null, -1)), Qc = ct(() => e("span", null, null, -1)), Yc = [Fc, zc, Kc, Gc, Qc], Zc = { class: "rechargeDetail__container-main" }, Xc = { key: 0, class: "rechargeDetail__container-body" }, Jc = { class: "rechargeDetail__container-body__title" }, ed = { class: "qrcodeCont" }, td = ["src"], ad = { class: "qrcode_item" }, nd = { key: 1, class: "rechargeDetail__container-body" }, sd = { class: "rechargeDetail__container-body__title" }, ld = { key: 0, class: "rechargeDetail__container-body__content" }, od = { key: 0, class: "rechargeDetail__container-body__content" }, id = ct(() => e("h1", null, "SWIFT CODE", -1)), rd = { key: 1, class: "rechargeDetail__container-body__content" }, cd = ct(() => e("h1", null, "Routing Number", -1)), dd = { key: 2, class: "rechargeDetail__container-body__timestamp" }, ud = { key: 2, class: "utr_box" }, vd = ct(() => e("h1", null, "UTR(UPI Ref.ID)", -1)), pd = { key: 0, class: "rechargeDetail__container-buttons" }, _d = { key: 1, class: "rechargeDetail__container-buttons" }, hd = { key: 0 }, md = { key: 1 }, fd = { class: "actionSheet__content" }, wd = { class: "title" }, yd = { key: 0, class: "img" }, gd = { key: 1, class: "img" }, $d = { key: 2, class: "img" }, kd = ct(() => e("div", { class: "divider" }, null, -1)), bd = { class: "details" }, Cd = { class: "details" }, Td = { class: "details" }, Sd = { class: "details" }, Id = { class: "tipTitle" }, Nd = { class: "tipText" }, Ad = { class: "cancen_model_cnt" }, Dd = ce({ __name: "index", setup(g) { const n = T(), u = T(""), c = E(() => Number(B.currentRoute.value.query.currentPayId)), i = E(() => Number(B.currentRoute.value.query.payTypeId)), o = E(() => { var W; return Nt((W = r.orderDetail) == null ? void 0 : W.serverTime).format( "YYYY-MM-DD HH:mm:ss" ); }), v = kt(), m = E(() => Ve().getDollarSign), { rechargeActionSheetShow: k, cancelOrderShow: h, store: r, getLoclBankOrderDetail: f, handleFinishOrder: p, handlePaste: A, handeCancelOrder: C, countdownTimeFun: R, setCountdownRef: S, htmlToImage: w, getBankOrderInfo: b, } = rt(), { t: $ } = Te(), B = me(), D = Ve(), O = E(() => B.currentRoute.value.query.bankName === "KBZpay" ? { tit1: $("kbzName"), tit2: $("kbzMobile"), tit3: $("rechageAmount"), } : B.currentRoute.value.query.bankName === "WavePay" ? { tit1: $("waveName"), tit2: $("waveMobile"), tit3: $("rechageAmount"), } : { tit1: $("rechargeDetailTitle1"), tit2: $(c.value === 9 ? "rechargeDetailTitle2" : "account"), tit3: $("amount"), } ), x = Ae([ { title: O.value.tit1, value: "", name: "accountName" }, { title: O.value.tit2, value: "", name: "bankAccountNumber" }, { title: "IFSC", value: "", name: "ifscCode" }, { title: O.value.tit3, value: "", name: "amount" }, ]), I = () => { v.emit("changeKeepAliveKey"), B.replace({ name: "RechargeHistory" }); }, Q = T(), K = E(() => Ve().getProjectName === "vn168"), H = E(() => c.value === 9 ? { text1: $("accountName"), text2: $("bankNumber"), text3: $("orderNumber"), text4: $("rechageAmount"), } : i.value === 157 ? { text1: $("kbzName"), text2: $("kbzMobile"), text3: $("orderNumber"), text4: $("rechageAmount"), } : i.value === 158 ? { text1: $("waveName"), text2: $("waveMobile"), text3: $("orderNumber"), text4: $("rechageAmount"), } : { text1: $("name"), text2: $("account"), text3: $("orderNumber"), text4: $("rechageAmount"), } ), N = async () => { r.bankUTR = await A(); }, z = () => { let W = Number(B.currentRoute.value.query.currentPayId); if ( (!r.bankUTR || r.bankUTR.length < 12) && D.getDollarSign === "₹" && W === 9 ) { ue({ message: $("bankUTR"), wordBreak: "break-word" }); return; } k.value = !0; }, V = (W) => { let Z = r.orderDetail ? r.orderDetail[W] : ""; W === "bankAccountNumber" && (Z = Z == null ? void 0 : Z.replaceAll(" ", "")), Ie(Z); }; return ( ke(async () => { var Z, U, M, L, ee, J, ie, se; S(n.value); let W = c.value === 10 ? c.value : B.currentRoute.value.query.payTypeId; await b(Number(W)), await f( ((Z = r.orderDetail) == null ? void 0 : Z.orderNumber) + "" ), (x[0].value = ((U = r.orderDetail) == null ? void 0 : U.accountName) || ""), (x[1].value = ((M = r.orderDetail) == null ? void 0 : M.bankAccountNumber) || ""), D.getDollarSign === "₹" && c.value === 9 && (x[2].value = ((L = r.orderDetail) == null ? void 0 : L.ifscCode) || ""), (x[3].value = ((ee = r.orderDetail) == null ? void 0 : ee.amount) || ""), c.value === 10 && (u.value = ((J = r.orderDetail) == null ? void 0 : J.bankCardQRCodeUrl) || ""), R( (ie = r.orderDetail) == null ? void 0 : ie.serverTime, (se = r.orderDetail) == null ? void 0 : se.addTime1, () => { (r.orderDetail = void 0), (r.isBankOrder = !1), B.back(); } ); }), Tn((W, Z, U) => { U(); }), (W, Z) => { var J, ie, se, re, We, Le, Ue, be; const U = q("NavBar"), M = q("svg-icon"), L = q("van-field"), ee = q("van-action-sheet"); return ( s(), l("div", xc, [ _( U, { leftArrow: !0, onClickLeft: Z[0] || (Z[0] = (ge) => a(B).back()), onClickRight: I, class: "main", }, { center: te(() => [j(t(W.$t("recharge")), 1)]), right: te(() => [j(t(W.$t("rechargeRecords")), 1)]), _: 1, } ), e("div", Hc, [ e("p", null, t(W.$t("rechargeDetailDesc3")), 1), e( "div", { class: "rechargeDetail__container-header__countdown", ref_key: "countdownRef", ref: n, }, Yc, 512 ), ]), e("div", Zc, [ [10].includes(c.value) ? (s(), l("div", Xc, [ e("div", Jc, [ e( "h1", null, t( ((J = a(r).orderDetail) == null ? void 0 : J.bankName) || W.$t("rechargeDetailDesc4") ), 1 ), ]), e("div", ed, [ e("p", null, [ j(t(W.$t("rechageAmount")) + " ", 1), e( "span", null, t( ((ie = a(r).orderDetail) == null ? void 0 : ie.amount) || "5,000" ), 1 ), ]), e("div", null, [ e( "img", { class: "qrcode", src: u.value, id: "qrcode" }, null, 8, td ), ]), e( "div", { class: "save_qrcode", onClick: Z[1] || (Z[1] = (ge) => a(w)("qrcode")), }, [ j(t(W.$t("saveTheQRCode")) + " ", 1), e( "p", null, "(" + t(W.$t("rechargeQRTip")) + ")", 1 ), ] ), e("div", ad, [ e("span", null, t(o.value), 1), e("div", null, [ e( "span", null, t( (se = a(r).orderDetail) == null ? void 0 : se.orderNumber ), 1 ), _(M, { name: "copy", onClick: Z[2] || (Z[2] = (ge) => { var $e; return a(Ie)( ($e = a(r).orderDetail) == null ? void 0 : $e.orderNumber ); }), }), ]), ]), ]), ])) : (s(), l("div", nd, [ e("div", sd, [ e("h1", null, [ i.value == 157 ? (s(), Ne(M, { key: 0, name: "bankKbz" })) : i.value == 158 ? (s(), Ne(M, { key: 1, name: "bankWave" })) : (s(), Ne(M, { key: 2, name: "bankTitle" })), j( " " + t( ((re = a(r).orderDetail) == null ? void 0 : re.bankName) || W.$t("rechargeDetailDesc4") ), 1 ), ]), ]), (s(!0), l( oe, null, Ce( x, (ge, $e) => ( s(), l("div", { key: $e }, [ ge.value ? (s(), l("div", ld, [ e("h1", null, t(ge.title), 1), e("div", null, [ e("span", null, t(ge.value), 1), _( M, { name: "copy", onClick: (je) => V(ge.name), }, null, 8, ["onClick"] ), ]), ])) : y("v-if", !0), ]) ) ), 128 )), m.value === "৳" ? (s(), l("div", od, [ id, e("div", null, [ j( t( (We = a(r).orderDetail) == null ? void 0 : We.extend1 ) + " ", 1 ), _(M, { name: "copy", onClick: Z[3] || (Z[3] = (ge) => { var $e; return a(Ie)( ($e = a(r).orderDetail) == null ? void 0 : $e.extend1 ); }), }), ]), ])) : y("v-if", !0), m.value === "৳" ? (s(), l("div", rd, [ cd, e("div", null, [ j( t( (Le = a(r).orderDetail) == null ? void 0 : Le.extend2 ) + " ", 1 ), _(M, { name: "copy", onClick: Z[4] || (Z[4] = (ge) => { var $e; return a(Ie)( ($e = a(r).orderDetail) == null ? void 0 : $e.extend2 ); }), }), ]), ])) : y("v-if", !0), K.value ? (s(), l("div", dd, [ e( "span", null, t( (Ue = Q.value) == null ? void 0 : Ue.serverTime ), 1 ), e("span", null, [ e( "span", null, t( (be = Q.value) == null ? void 0 : be.orderNumber ), 1 ), _(M, { name: "copy", onClick: Z[5] || (Z[5] = (ge) => { var $e; return a(Ie)( ($e = Q.value) == null ? void 0 : $e.orderNumber ); }), }), ]), ])) : y("v-if", !0), ])), a(D).getDollarSign === "₹" && c.value === 9 ? (s(), l("div", ud, [ vd, _( L, { modelValue: a(r).bankUTR, "onUpdate:modelValue": Z[6] || (Z[6] = (ge) => (a(r).bankUTR = ge)), class: "utr_input", type: "phone", placeholder: W.$t("bankUTR"), maxlength: 12, }, { button: te(() => [ e( "div", { class: "paste", onClick: N }, t(W.$t("paste")), 1 ), ]), _: 1, }, 8, ["modelValue", "placeholder"] ), ])) : y("v-if", !0), y(" 充值说明组件 "), _(zt, { "show-type": c.value, isShowHead: !0 }, null, 8, [ "show-type", ]), ]), c.value === 10 ? (s(), l("div", pd, [ e("div", null, [ e( "span", { onClick: Z[7] || (Z[7] = (ge) => (h.value = !0)) }, t(W.$t("rechargeDetailDesc5")), 1 ), e( "span", { onClick: Z[8] || (Z[8] = (ge) => a(p)()) }, t(W.$t("rechargeDetailDesc6")), 1 ), y(` <span v-else class="disablePayBtn"> {{ $t('rechargeDetailDesc6') }} </span> `), ]), ])) : (s(), l("div", _d, [ a(k) ? (s(), l("div", md, [ e( "span", { onClick: Z[10] || (Z[10] = (ge) => (k.value = !1)), }, t(W.$t("rechargeDetailDesc7")), 1 ), e( "span", { onClick: Z[11] || (Z[11] = (ge) => a(p)()) }, t(W.$t("rechargeDetailDesc8")), 1 ), ])) : (s(), l("div", hd, [ e( "span", { onClick: Z[9] || (Z[9] = (ge) => (h.value = !0)), }, t(W.$t("rechargeDetailDesc5")), 1 ), e( "span", { onClick: z }, t(W.$t("rechargeDetailDesc6")), 1 ), ])), ])), _( ee, { show: a(k), "onUpdate:show": Z[12] || (Z[12] = (ge) => (st(k) ? (k.value = ge) : null)), closeable: !1, }, { default: te(() => { var ge, $e, je, we, Me, qe, X, G, le; return [ e("div", fd, [ e("div", wd, [ i.value == 157 ? (s(), l("div", yd, [_(M, { name: "bankKbz" })])) : i.value == 158 ? (s(), l("div", gd, [_(M, { name: "bankWave" })])) : (s(), l("div", $d, [_(M, { name: "bankTitle" })])), e( "p", null, t( ((ge = a(r).orderDetail) == null ? void 0 : ge.bankName) || W.$t("rechargeDetailDesc4") ), 1 ), ]), kd, e("div", bd, [ e( "span", null, t(($e = H.value) == null ? void 0 : $e.text1), 1 ), e( "span", null, t( (je = a(r).orderDetail) == null ? void 0 : je.accountName ), 1 ), ]), e("div", Cd, [ e( "span", null, t((we = H.value) == null ? void 0 : we.text2), 1 ), e( "span", null, t( (Me = a(r).orderDetail) == null ? void 0 : Me.bankAccountNumber ), 1 ), ]), e("div", Td, [ e( "span", null, t((qe = H.value) == null ? void 0 : qe.text3), 1 ), e( "span", null, t( (X = a(r).orderDetail) == null ? void 0 : X.orderNumber ), 1 ), ]), e("div", Sd, [ e( "span", null, t((G = H.value) == null ? void 0 : G.text4), 1 ), e( "span", null, t( (le = a(r).orderDetail) == null ? void 0 : le.amount ), 1 ), ]), e("h1", Id, t(W.$t("rechargeDetailDesc10")), 1), e("p", Nd, t(W.$t("rechargeDetailDesc11")), 1), ]), ]; }), _: 1, }, 8, ["show"] ), _( et, { show: a(h), "onUpdate:show": Z[13] || (Z[13] = (ge) => (st(h) ? (h.value = ge) : null)), onConfirm: Z[14] || (Z[14] = (ge) => { var $e; return a(C)( ($e = a(r).orderDetail) == null ? void 0 : $e.orderNumber ); }), "show-cancel-btn": !0, confirmText: W.$t("confirmCancel"), cancelText: W.$t("cancel"), title: W.$t("cancelDeal"), }, { content: te(() => [e("div", Ad, t(W.$t("orderDesc2")), 1)]), _: 1, }, 8, ["show", "confirmText", "cancelText", "title"] ), ]) ); } ); }, }); const Rd = de(Dd, [ ["__scopeId", "data-v-845bb16b"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/RechargeDetail/index.vue", ], ]), sk = Object.freeze( Object.defineProperty( { __proto__: null, default: Rd }, Symbol.toStringTag, { value: "Module" } ) ), Ud = (g) => (Be("data-v-f851bd18"), (g = g()), Pe(), g), Bd = { class: "rechargeh__container" }, Pd = { class: "rechargeh__header_box" }, Wd = ["src"], Od = { key: 0, class: "state_box" }, Ld = { class: "query_select" }, Md = { class: "ar-searchbar__selector" }, qd = { class: "ar-searchbar__selector-default" }, Vd = { class: "rechargeh__container-content" }, Ed = ["onClick"], jd = { class: "rechargeh__container-content__item-header" }, xd = { class: "recharge_tit" }, Hd = { key: 0, class: "rechargeh__container-content__item-body" }, Fd = { class: "price" }, zd = Ud(() => e("span", null, "UTR", -1)), Kd = { class: "order" }, Gd = { key: 1, class: "rechargeh__container-content__item-body" }, Qd = { class: "price" }, Yd = { class: "order" }, Zd = ["onClick"], Xd = ce({ __name: "index", setup(g) { const { t: n } = Te(), { store: u, getRechargeTypeName: c, currentPayId: i, historyToDetail: o, } = rt(); (u.currentPayId = 0), c(!0); const v = me(); function m() { v.currentRoute.value.query.type ? v.replace({ name: "Recharge" }) : v.back(); } const { goToTictek: k, isCenterServer: h } = va({ ServerType: 2 }), r = T(!1), f = T(n("all")), p = T(!1), A = T(!1), C = T(1), R = T(), S = Ae({ startDate: "", endDate: "", state: -1, payId: -1, payTypeId: -1, }), w = E(() => { if (!b.value) return Oe.RechargeState; let V = [{ key: n("all"), value: -1 }], W = Oe.RechargeC2CState; return C.value === 1 ? V.concat(W.slice(0, 4)) : V.concat(W.slice(4, 7)); }), b = E(() => { var V; return ( ((V = u.rechargeType[u.currentMenu]) == null ? void 0 : V.payID) === 20 || !1 ); }), $ = (V) => { V !== C.value && ((f.value = n("all")), (S.state = -1), (C.value = V), (S.type = V), I.value.resetRefresh()); }, B = async ({ selectedOptions: V }) => { (r.value = !1), (f.value = V[0].key), (S.state = V[0].value), I.value.resetRefresh(); }; function D() { (r.value = !0), (p.value = !0); } async function O() { let V = R.value.endDateValue !== "" ? `${R.value.endDateValue} 23:59:59` : ""; (S.startDate = Nt(R.value.startDateValue).format( "YYYY-MM-DD HH:mm:ss" )), (S.endDate = Nt(V).format("YYYY-MM-DD HH:mm:ss")), I.value.resetRefresh(); } const x = T([]), I = T(), Q = E(() => u.currentMenu === 0 || !b.value ? (S.category && delete S.category, S) : { ...S } ), K = (V) => {}, H = async (V) => { o(V.payID || V.category, V.type, V.price, V.state, V.id); }, N = E(() => (b.value ? Ra : Ua)), z = (V) => { let W = ""; switch (V.state) { case 0: W = "recharge"; break; case 1: i.value !== 20 ? (W = "success") : (W = "check"); break; case 2: i.value !== 20 ? (W = "fail") : (W = "timeout"); break; case 3: W = "representation"; break; case 4: W = "success"; break; case 5: W = "fail"; break; case 6: W = "cancel"; break; case 7: W = "timeout"; break; default: W = "#FFB800"; break; } return W; }; return ( Ke( () => u.currentMenu, async () => { u.currentMenu === 0 && (u.currentPayId = 0), (f.value = n("all")), (S.state = -1), (A.value = !1), b.value ? ((S.type = 1), (S.category = -1), delete S.payTypeId, delete S.payId) : (delete S.type, (S.payId = u.rechargeType[u.currentMenu].payID), (S.payTypeId = u.rechargeType[u.currentMenu].payTypeID)), await I.value.resetRefresh(); } ), (V, W) => { const Z = q("NavBar"), U = q("svg-icon"), M = q("van-icon"), L = q("van-picker"), ee = q("van-popup"), J = q("van-divider"); return ( s(), l("div", Bd, [ _( Z, { class: "white", title: V.$t("rechargeRecords"), "left-arrow": "", onClickLeft: m, }, null, 8, ["title"] ), e("div", Pd, [ _( bs, { list: a(u).rechargeType, "is-auto-load": !0, active: a(u).currentMenu, "onUpdate:active": W[0] || (W[0] = (ie) => (a(u).currentMenu = ie)), tabClassName: "tabs", activeClassName: "tab_active", ref: "tabRefs", tabItemClassName: "funtab_item", }, { default: te(({ item: ie, index: se }) => [ e( "div", { class: ae([ "tab_item", { tab_active: se === a(u).currentMenu }, ]), }, [ ie.payID == -1 ? (s(), Ne(U, { key: 0, name: "all" })) : (s(), l( "img", { key: 1, src: a(u).currentMenu === se ? ie.payNameUrl2 : ie.payNameUrl, alt: "", }, null, 8, Wd )), e("span", null, t(ie.typeName), 1), ], 2 ), ]), _: 1, }, 8, ["list", "active"] ), b.value ? (s(), l("div", Od, [ e( "div", { class: ae([ "state_item", { state_item_active: C.value === 1 }, ]), onClick: W[1] || (W[1] = (ie) => $(1)), }, t(V.$t("inTransaction")), 3 ), e( "div", { class: ae([ "state_item", { state_item_active: C.value === 2 }, ]), onClick: W[2] || (W[2] = (ie) => $(2)), }, t(V.$t("completed")), 3 ), ])) : y("v-if", !0), e("div", Ld, [ e("div", Md, [ e( "div", { onClick: D, class: ae({ selectorA: !p.value }) }, [ e("span", qd, t(f.value), 1), _(M, { name: "arrow-down" }), ], 2 ), ]), y("日期选择组件"), _( La, { ref_key: "calendar", ref: R, onConfirm: O }, null, 512 ), ]), ]), _( ee, { show: r.value, "onUpdate:show": W[4] || (W[4] = (ie) => (r.value = ie)), round: "", position: "bottom", }, { default: te(() => [ _( L, { "columns-field-names": { text: "key", value: "value", children: "children", }, columns: w.value, onCancel: W[3] || (W[3] = (ie) => (r.value = !1)), onConfirm: B, }, null, 8, ["columns"] ), ]), _: 1, }, 8, ["show"] ), _( da, { list: x.value, "onUpdate:list": W[5] || (W[5] = (ie) => (x.value = ie)), "page-query": Q.value, "onUpdate:pageQuery": W[6] || (W[6] = (ie) => (Q.value = ie)), api: N.value, distance: 100, ref_key: "listRef", ref: I, onPageChange: K, isAutoLoad: !0, }, { content: te(() => [ e("div", Vd, [ (s(!0), l( oe, null, Ce( x.value, (ie, se) => ( s(), l( "div", { class: "rechargeh__container-content__item", key: se, onClick: Je((re) => H(ie), ["stop"]), }, [ e("div", jd, [ e("span", xd, t(V.$t("recharge")), 1), e( "div", { class: ae(["recharge_right", z(ie)]) }, t( a(lt)( b.value ? a(Oe).RechargeC2CState : a(Oe).RechargeState, ie.state ) ), 3 ), ]), _(J, { class: "divier" }), b.value ? (s(), l("div", Hd, [ e("div", null, [ e("span", null, t(V.$t("amount")), 1), e( "span", Fd, t(a(ve)(ie.orderAmount)), 1 ), ]), e("div", null, [ zd, e( "span", null, t(ie.transactionNo || "-"), 1 ), ]), e("div", null, [ e("span", null, t(V.$t("time")), 1), e("span", null, t(ie.createTime), 1), ]), e("div", null, [ e("span", null, t(V.$t("orderNo")), 1), e("div", Kd, [ e("span", null, t(ie.orderNo), 1), _( U, { name: "copy", onClick: Je( (re) => a(Ie)(ie.orderNo), ["stop"] ), }, null, 8, ["onClick"] ), ]), ]), ])) : (s(), l("div", Gd, [ e("div", null, [ e("span", null, t(V.$t("amount")), 1), e("span", Qd, t(a(ve)(ie.price)), 1), ]), e("div", null, [ e("span", null, t(V.$t("type")), 1), e( "span", null, t(ie == null ? void 0 : ie.payName), 1 ), ]), e("div", null, [ e("span", null, t(V.$t("time")), 1), e("span", null, t(ie.addTime), 1), ]), e("div", null, [ e("span", null, t(V.$t("orderNo")), 1), e("div", Yd, [ e( "span", null, t(ie.rechargeNumber), 1 ), _( U, { name: "copy", onClick: Je( (re) => a(Ie)(ie.rechargeNumber), ["stop"] ), }, null, 8, ["onClick"] ), ]), ]), ])), [0, 2].includes(ie.state) && a(h) ? (s(), l( "div", { key: 2, class: "report", onClick: Je( (re) => a(k)(ie, b.value), ["stop"] ), }, t(V.$t("report")), 9, Zd )) : y("v-if", !0), ], 8, Ed ) ) ), 128 )), ]), ]), _: 1, }, 8, ["list", "page-query", "api"] ), ]) ); } ); }, }); const Jd = de(Xd, [ ["__scopeId", "data-v-f851bd18"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/RechargeHistory/index.vue", ], ]), lk = Object.freeze( Object.defineProperty( { __proto__: null, default: Jd }, Symbol.toStringTag, { value: "Module" } ) ), eu = (g) => (Be("data-v-a876fc5b"), (g = g()), Pe(), g), tu = { class: "RechargeUsdt__container" }, au = { class: "RechargeUsdt__container__content" }, nu = { class: "RechargeUsdt__container__content-qrCode" }, su = ["src"], lu = { class: "tip" }, ou = ["src"], iu = { class: "RechargeUsdt__container__content-info" }, ru = { class: "label" }, cu = { class: "address" }, du = { class: "RechargeUsdt__container__content-info" }, uu = { class: "label" }, vu = { class: "address" }, pu = { class: "RechargeUsdt__container__content-info" }, _u = { class: "label" }, hu = { class: "RechargeUsdt__container-popup__wrap" }, mu = { class: "title" }, fu = { class: "tip" }, wu = { class: "list" }, yu = { class: "item" }, gu = ["src"], $u = eu(() => e("span", null, "Tron(TRC20)", -1)), ku = { class: "item" }, bu = ce({ __name: "index", setup(g) { const n = me(), { t: u } = Te(), c = T(!1), i = T(""), { store: o, submitUsdtRecharge: v, getLocalUsdtInfo: m, handlePaste: k, createQrCode: h, getUsdtOrderInfo: r, handleUpdateUsdtOrder: f, } = rt(), p = T(""), A = T(null), C = (b) => b.replace(/[\u4e00-\u9fa5\s]/g, ""); ke(async () => { var B, D, O, x, I; if ((await r(), !sessionStorage.getItem("usdtInfo") && !o.isUsdtOrder)) (A.value = m.value), A.value && sessionStorage.setItem("usdtInfo", JSON.stringify(A.value)); else { let Q = sessionStorage.getItem("usdtInfo"), K = JSON.parse(Q || "{}"); A.value = K; } let b = ((B = A.value) == null ? void 0 : B.coding) || ((D = o.usdtOrderInfo) == null ? void 0 : D.rechargeAddress), $ = ""; b && ($ = await h( ((O = A.value) == null ? void 0 : O.coding) || ((x = o.usdtOrderInfo) == null ? void 0 : x.rechargeAddress) )), o.isUsdtOrder && (p.value = (I = o.usdtOrderInfo) == null ? void 0 : I.transferOutAddress), (i.value = $ + ""); }); const R = async () => { var $, B, D, O, x, I, Q, K; if (!p.value) { ue(u("enterUsdtAddress")); return; } if (o.isUsdtOrder) { let H = { usdtId: ($ = o.usdtOrderInfo) == null ? void 0 : $.usdtId, usdtType: (B = o.usdtOrderInfo) == null ? void 0 : B.usdtType, rechargeAddress: (D = o.usdtOrderInfo) == null ? void 0 : D.rechargeAddress, transferOutAddress: p.value, amount: Number((O = o.usdtOrderInfo) == null ? void 0 : O.amount), orderNo: (x = o.usdtOrderInfo) == null ? void 0 : x.orderNumber, }; await f(H); return; } let b = { usdtId: (I = A.value) == null ? void 0 : I.usdtID, amount: Number(n.currentRoute.value.query.amount), usdtType: (Q = A.value) == null ? void 0 : Q.usdtType, rechargeAddress: (K = A.value) == null ? void 0 : K.coding, transferOutAddress: p.value, }; await v(b); }; At(() => { sessionStorage.removeItem("usdtInfo"); }); const S = async () => { p.value = await k(); }; function w() { n.go(-1); } return (b, $) => { var I, Q, K, H; const B = q("NavBar"), D = q("svg-icon"), O = q("van-field"), x = q("van-popup"); return ( s(), l("div", tu, [ _( B, { title: b.$t("rechargeUSDT"), placeholder: !1, "left-arrow": "", onClickLeft: w, }, null, 8, ["title"] ), e("div", au, [ e("div", nu, [ e("img", { src: i.value, alt: "" }, null, 8, su), e("div", lu, t(b.$t("rechargeUsdtDesc1")), 1), e( "img", { src: a(ye)("wallet", "recharge_usdt"), alt: "", class: "usdt_bg", }, null, 8, ou ), ]), e("div", iu, [ e("div", ru, [ _(D, { name: "usdt4" }), e("span", null, t(b.$t("rechargeUsdtDesc2")), 1), ]), e("div", cu, [ e( "span", null, t( ((I = A.value) == null ? void 0 : I.coding) || ((Q = a(o).usdtOrderInfo) == null ? void 0 : Q.rechargeAddress) ), 1 ), _(D, { name: "copy", onClick: $[0] || ($[0] = (N) => { var z; return a(Ie)((z = A.value) == null ? void 0 : z.coding); }), }), ]), ]), e("div", du, [ e("div", uu, [ _(D, { name: "usdt4" }), e("span", null, t(b.$t("rechargeUsdtDesc3")), 1), ]), e("div", vu, [ e( "span", null, t( ((K = A.value) == null ? void 0 : K.usdtName) || ((H = a(o).usdtOrderInfo) == null ? void 0 : H.bankName) ), 1 ), y( ` <img :src="getIcons('wallet/recharge', 'mainChain')" alt="" @click="showPicker = true" /> ` ), ]), ]), e("div", pu, [ e("div", _u, [e("span", null, t(b.$t("transferAddress")), 1)]), _( O, { modelValue: p.value, "onUpdate:modelValue": $[2] || ($[2] = (N) => (p.value = N)), modelModifiers: { trim: !0 }, class: "address_input", placeholder: b.$t("enterUsdtAddress"), maxlength: 40, formatter: C, }, { button: te(() => [ e( "div", { class: "paste", onClick: $[1] || ($[1] = (N) => S()), }, t(b.$t("paste")), 1 ), ]), _: 1, }, 8, ["modelValue", "placeholder"] ), ]), _(zt, { "show-type": 19, isShowHead: !0 }), e( "div", { class: "RechargeUsdt__container-rechageBtn rechage_active", onClick: R, }, t(b.$t("finishRechargeUsdt")), 1 ), ]), _( x, { show: c.value, "onUpdate:show": $[3] || ($[3] = (N) => (c.value = N)), round: "", position: "bottom", }, { default: te(() => [ e("div", hu, [ e("div", mu, t(b.$t("rechargeUsdtDesc4")), 1), e("div", fu, t(b.$t("rechargeUsdtDesc5")), 1), e("div", wu, [ e("div", yu, [ e( "img", { src: a(fe)("wallet/recharge", "mainChain"), alt: "", }, null, 8, gu ), $u, ]), e("div", ku, [ _(D, { name: "usdt4", class: "icon" }), e("span", null, t(b.$t("rechargeUsdtDesc6")), 1), ]), ]), ]), ]), _: 1, }, 8, ["show"] ), ]) ); }; }, }); const Cu = de(bu, [ ["__scopeId", "data-v-a876fc5b"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/RechargeUsdt/index.vue", ], ]), ok = Object.freeze( Object.defineProperty( { __proto__: null, default: Cu }, Symbol.toStringTag, { value: "Module" } ) ), Tu = { class: "transRecord__container" }, Su = { style: { height: "65px" } }, Iu = { class: "ar" }, Nu = { class: "ar-searchbar" }, Au = { class: "transRecord__container-content" }, Du = { class: "transRecord__container-content__card" }, Ru = { class: "transRecord__container-content__card-top" }, Uu = { class: "transRecord__container-content__card-mid" }, Bu = { class: "line" }, Pu = { class: "left" }, Wu = { class: "right" }, Ou = { class: "line" }, Lu = { class: "left" }, Mu = { class: "right" }, qu = { class: "line" }, Vu = { class: "left" }, Eu = { class: "transRecord__container-content__card-bot" }, ju = ["onUpdate:modelValue"], xu = ce({ __name: "index", setup(g) { const { t: n } = Te(), u = me(); function c() { u.back(); } const i = T([]), o = T([]), v = T(), m = Ae({ date: "", type: -1 }), k = T(!1), h = T(""), r = T(!1), f = async ({ selectedOptions: N }) => { (k.value = !1), (h.value = N[0].typeName), (m.type = N[0].type), v.value.resetRefresh(); }; function p() { (k.value = !0), (r.value = !0); } const { key: A, value: C } = Xn(), R = T(C), { minDate: S, maxDate: w } = Jn(0), b = T(!1), $ = ({ selectedOptions: N }) => { b.value = !1; }, B = async ({ selectedOptions: N }) => { (b.value = !1), (m.date = `${R.value[0]}-${R.value[1]}-${R.value[2]} 00:00:00`), v.value.resetRefresh(); }, D = ({ selectedOptions: N }) => {}, O = (N, z) => z; async function x() { const N = await ne(es()); N && ((i.value = N.data.typeList.map( (z) => ((z.typeName = n(`code${z.typeNameCode}`)), z) )), i.value.unshift({ type: -1, typeName: n("all") }), (h.value = i.value[0].typeName)); } let I = [8e3, 8005, 8018, 8021, 8023, 8100], Q = [ 8001, 8002, 8003, 8004, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 8014, 8015, 8016, 8017, 8019, 8020, 8022, 8024, 8029, 8030, 8031, 8101, 8102, 8103, 8104, 8105, 8107, ]; const K = (N) => { (o.value = N), (o.value = o.value.map((z) => { z.typeName = n(`code${z.typeNameCode}`); let V; return ( I.includes(z.typeNameCode * 1) ? (V = "red") : Q.includes(z.typeNameCode * 1) && (V = "green"), { ...z, typeColor: V } ); })); }; function H(N) { return [109].includes(N) ? "red" : [111, 112, 110, 108, 114].includes(N) ? "green" : ""; } return ( ke(async () => { await x(); }), (N, z) => { const V = q("NavBar"), W = q("ArSelect"), Z = q("van-picker"), U = q("van-popup"), M = q("van-date-picker"); return ( s(), l("div", Tu, [ _( V, { title: N.$t("transactionrecord"), "left-arrow": "", onClickLeft: c, }, null, 8, ["title"] ), e("div", Su, [ e("div", Iu, [ e("div", Nu, [ _(W, { onClickSelect: p, selectName: h.value }, null, 8, [ "selectName", ]), _( W, { onClickSelect: z[0] || (z[0] = (L) => (b.value = !0)), selectName: m.date || N.$t("pickDate"), }, null, 8, ["selectName"] ), ]), ]), ]), y(" 配合弹窗层使用 "), _( U, { show: k.value, "onUpdate:show": z[2] || (z[2] = (L) => (k.value = L)), round: "", position: "bottom", }, { default: te(() => [ _( Z, { "columns-field-names": { text: "typeName", value: "type", children: "children", }, columns: i.value, onCancel: z[1] || (z[1] = (L) => (k.value = !1)), onConfirm: f, }, null, 8, ["columns"] ), ]), _: 1, }, 8, ["show"] ), y(" 日期选择 "), _( U, { show: b.value, "onUpdate:show": z[4] || (z[4] = (L) => (b.value = L)), round: "", position: "bottom", }, { default: te(() => [ _( M, { modelValue: R.value, "onUpdate:modelValue": z[3] || (z[3] = (L) => (R.value = L)), title: N.$t("pickDate"), onCancel: $, onConfirm: B, filter: O, onChange: D, "min-date": a(S), "max-date": a(w), }, null, 8, ["modelValue", "title", "min-date", "max-date"] ), ]), _: 1, }, 8, ["show"] ), _( da, { distance: 100, api: a(as), list: o.value, "onUpdate:list": [z[5] || (z[5] = (L) => (o.value = L)), K], ref_key: "listRef", ref: v, pageQuery: m, "onUpdate:pageQuery": z[6] || (z[6] = (L) => (m = L)), }, { content: te(() => [ e("div", Au, [ (s(!0), l( oe, null, Ce( o.value, (L, ee) => ( s(), l( "div", { class: "transRecord__container-content__item", key: ee, }, [ e("div", Du, [ e("div", Ru, [ e("h3", null, t(L.typeName), 1), ]), e("div", Uu, [ e("div", Bu, [ e("div", Pu, t(N.$t("detail")), 1), e( "div", Wu, t(a(ts)(i.value, L.type)), 1 ), ]), e("div", Ou, [ e("div", Lu, t(N.$t("time")), 1), e("div", Mu, t(L.addTime), 1), ]), e("div", qu, [ e("div", Vu, t(N.$t("amount")), 1), e( "div", { class: ae(["right", L.typeColor]), style: na(`color:${H(L.type)}`), }, t(a(ve)(L.amount)), 7 ), ]), ]), e("div", Eu, [ _e( e( "textarea", { class: "textarea", name: "remark", cols: "30", rows: "10", readonly: !0, "onUpdate:modelValue": (J) => (L.remark = J), }, null, 8, ju ), [[Re, L.remark]] ), ]), ]), ] ) ) ), 128 )), ]), ]), _: 1, }, 8, ["api", "list", "pageQuery"] ), ]) ); } ); }, }); const Hu = de(xu, [ ["__scopeId", "data-v-2565e76d"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/TransAction/index.vue", ], ]), ik = Object.freeze( Object.defineProperty( { __proto__: null, default: Hu }, Symbol.toStringTag, { value: "Module" } ) ), Fu = { class: "balanceAssets" }, zu = { class: "balanceAssets__header" }, Ku = { class: "balanceAssets__header__left" }, Gu = ["src"], Qu = { class: "balanceAssets__main" }, Yu = ["src"], Zu = ce({ __name: "BalanceAssetsW", props: { data_NewSetWithdrawal: { type: null, required: !0 }, withdrawalsrule: { type: null, required: !0 }, }, setup(g) { const n = g, { t: u } = Te(), { setLoading: c } = Ye(), i = Ia(n, "withdrawalsrule"); async function o() { c(!0); const v = await ne(ut({ withdrawid: n.data_NewSetWithdrawal.type })); v && ((i.value.amount = v.data.withdrawalsrule.amount), Ge(u("refreshSuccess"))), c(!1); } return (v, m) => ( s(), l("div", Fu, [ e("div", zu, [ e("div", Ku, [ e("img", { src: a(ye)("wallet", "balance") }, null, 8, Gu), y(" 可用余额 "), j(" " + t(v.$t("vailableBalance")), 1), ]), ]), e("div", Qu, [ e("p", null, t(a(ve)(i.value.amount)), 1), e( "img", { src: a(fe)("wallet/recharge", "refresh"), alt: "", onClick: o }, null, 8, Yu ), ]), ]) ); }, }); const Xu = de(Zu, [ ["__scopeId", "data-v-0879c174"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/BalanceAssetsW.vue", ], ]), Ju = { class: "rechargeh__container" }, ev = { class: "rechargeh__container-head" }, tv = { class: "rechargeh__container-content" }, av = { class: "rechargeh__container-content__item-header ar-1px-b" }, nv = { class: "rechargeh__container-content__item-body" }, sv = { class: "rechargeh__container-footer" }, lv = ce({ __name: "WithdrawHistory", setup(g, { expose: n }) { const u = me(), { setLoading: c } = Ye(), i = T([]), o = Ae({ pageNo: 1, pageSize: 5, startDate: "", endDate: "", state: -1, type: -1, }); function v() { u.push({ name: "WithdrawHistory" }); } async function m() { c(!0); const k = await ne(ns(o)); k && (i.value = k.data.list), c(!1); } return ( ke(async () => { await m(); }), n({ getWithdrawLog: m }), (k, h) => { const r = q("svg-icon"); return ( s(), l("div", Ju, [ e("div", ev, [ _(r, { name: "historyHead" }), e("h1", null, t(k.$t("whTitle5")), 1), ]), e("div", tv, [ i.value.length > 0 ? (s(!0), l( oe, { key: 0 }, Ce( i.value, (f, p) => ( s(), l( "div", { class: "rechargeh__container-content__item", key: p, }, [ y( ' <div class="rechargeh__container-content__item-header ar-1px-b" @click="onToDetail(item.state)"> ' ), e("div", av, [ e("span", null, t(k.$t("withdraw")), 1), e( "span", { class: ae({ stateR: f.state === 0, stateG: f.state === 1, }), }, [ j( t(a(lt)(a(Oe).WithdrawState, f.state)) + " ", 1 ), y(' <van-icon name="arrow" /> '), ], 2 ), ]), e("div", nv, [ e("div", null, [ e("span", null, t(k.$t("amount")), 1), e("span", null, t(a(ve)(f.price)), 1), ]), e("div", null, [ e("span", null, t(k.$t("type")), 1), e("span", null, t(f.withdrawName), 1), ]), e("div", null, [ e("span", null, t(k.$t("time")), 1), e("span", null, t(f.addTime), 1), ]), e("div", null, [ e("span", null, t(k.$t("orderNo")), 1), e("span", null, t(f.withdrawNumber), 1), _( r, { onClick: (A) => a(Ie)(f.withdrawNumber.toString()), name: "copy", }, null, 8, ["onClick"] ), ]), ]), ] ) ) ), 128 )) : (s(), Ne(bt, { key: 1 })), ]), e("div", sv, [ e("button", { onClick: v }, t(k.$t("allRecords")), 1), ]), ]) ); } ); }, }); const oa = de(lv, [ ["__scopeId", "data-v-30972a14"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/WithdrawHistory.vue", ], ]), ov = { class: "withdrawWay" }, iv = ["src"], rv = ["src"], cv = ["src"], dv = ["src"], uv = ["onClick"], vv = ["src"], pv = ["src"], _v = ce({ __name: "withdrawalTypes", props: { data_NewSetWithdrawal: { type: null, required: !0 }, withdrawalTypeslist: { type: Array, required: !0 }, c2cAward: { type: Number, required: !0 }, }, emits: ["onSelectWithdrawalType"], setup(g, { emit: n }) { const u = g, c = E(() => u.withdrawalTypeslist.find((v) => v.withdrawID == 20)), i = E(() => u.withdrawalTypeslist.find((v) => v.withdrawID == 21)); function o(v) { n("onSelectWithdrawalType", v); } return (v, m) => ( s(), l("div", ov, [ c.value ? (s(), l( "div", { key: 0, class: ae([ "c2c", { active: v.data_NewSetWithdrawal.type == 20 }, ]), onClick: m[0] || (m[0] = (k) => o({ withdrawID: 20 })), }, [ v.data_NewSetWithdrawal.type != c.value.withdrawID ? (s(), l( "img", { key: 0, src: c.value.withBeforeImgUrl }, null, 8, iv )) : (s(), l( "img", { key: 1, src: c.value.withAfterImgUrl }, null, 8, rv )), e("div", null, [ e("div", null, t(c.value.name), 1), v.c2cAward > 0 ? (s(), l( oe, { key: 0 }, [ j( t( v.$t("c2cEGReward", [ v.c2cAward ? a(ca)(v.c2cAward, 100) : 0, ]) ), 1 ), ], 64 )) : y("v-if", !0), ]), ], 2 )) : y("v-if", !0), i.value ? (s(), l( "div", { key: 1, class: ae([ "c2c Ar", { active: v.data_NewSetWithdrawal.type == 21 }, ]), onClick: m[1] || (m[1] = (k) => o({ withdrawID: 21 })), }, [ v.data_NewSetWithdrawal.type != i.value.withdrawID ? (s(), l( "img", { key: 0, src: i.value.withBeforeImgUrl }, null, 8, cv )) : (s(), l( "img", { key: 1, src: i.value.withAfterImgUrl }, null, 8, dv )), e("div", null, [ e("div", null, t(i.value.name), 1), e("p", null, t(v.$t("withdrawTip5")), 1), ]), ], 2 )) : y("v-if", !0), (s(!0), l( oe, null, Ce( v.withdrawalTypeslist, (k) => ( s(), l( oe, { key: k.withdrawID }, [ [20, 21].includes(k.withdrawID) ? y("v-if", !0) : (s(), l( "div", { key: 0, class: ae({ select: v.data_NewSetWithdrawal.type == k.withdrawID, }), onClick: (h) => o(k), }, [ e("div", null, [ v.data_NewSetWithdrawal.type != k.withdrawID ? (s(), l( "img", { key: 0, src: k.withBeforeImgUrl }, null, 8, vv )) : (s(), l( "img", { key: 1, src: k.withAfterImgUrl }, null, 8, pv )), ]), e("span", null, t(k.name), 1), ], 10, uv )), ], 64 ) ) ), 128 )), ]) ); }, }); const hv = de(_v, [ ["__scopeId", "data-v-9bae072d"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/withdrawalTypes.vue", ], ]), mv = { class: "explain" }, fv = { class: "input" }, wv = { class: "place-div" }, yv = ["placeholder"], gv = { key: 0, class: "verify" }, $v = { class: "balance bank" }, kv = { class: "yellow" }, bv = ["value"], Cv = { class: "rightD" }, Tv = { class: "yellow" }, Sv = { class: "explain usdt" }, Iv = { class: "head" }, Nv = ["src"], Av = { key: 0 }, Dv = { key: 1 }, Rv = { class: "input" }, Uv = { class: "place-div" }, Bv = ["placeholder"], Pv = { key: 0, class: "verify" }, Wv = { key: 1, class: "verify" }, Ov = { key: 2, class: "input" }, Lv = ["placeholder"], Mv = { class: "place-div" }, qv = { class: "place-icon" }, Vv = ["src"], Ev = { class: "balance usdt" }, jv = { class: "yellow" }, xv = ["value"], Hv = ce({ __name: "withdrawField", props: { data_NewSetWithdrawal: { type: null, required: !0 }, withdrawalsrule: { type: null, required: !0 }, }, setup(g, { expose: n }) { const u = g, { t: c } = Te(), i = E(() => Ve().getDollarSign), o = T(0), v = E({ get() { return o.value != 0 ? o.value : ""; }, set(B) { o.value = B; }, }), m = Ia(u, "data_NewSetWithdrawal"), k = E({ get() { return m.value.amount != 0 ? m.value.amount : ""; }, set(B) { m.value.amount = B; }, }), h = E( () => m.value.amount != 0 && (m.value.amount > u.withdrawalsrule.canWithdrawAmount || m.value.amount > u.withdrawalsrule.maxPrice || m.value.amount < u.withdrawalsrule.minPrice || u.withdrawalsrule.amountofCode > 0) ), r = E(() => { if (m.value.amount != 0) { if (u.withdrawalsrule.amountofCode > 0) return c("code128"); if (m.value.amount > u.withdrawalsrule.canWithdrawAmount) return c("cashBalanceInsufficient"); if ( m.value.amount > u.withdrawalsrule.maxPrice || m.value.amount < u.withdrawalsrule.minPrice ) return c("wordWithdrawal", [ ve(u.withdrawalsrule.minPrice), ve(u.withdrawalsrule.maxPrice), ]); } }), f = E( () => m.value.type === 3 && m.value.amount != 0 && Number(m.value.amount) < 10 ); function p(B) { B.keyCode != 46 && (B.keyCode < 48 || B.keyCode > 57) && (B.returnValue = !1); } function A(B) { (B.keyCode < 48 || B.keyCode > 57) && (B.returnValue = !1); } function C() { (m.value.amount = Number( m.value.amount .toString() .replace(/[^\d.]/g, "") .replace(/^\./g, "") .replace(/\.{2,}/g, ".") .replace(".", "$#$") .replace(/\./g, "") .replace("$#$", ".") )), m.value.amount.toString().length > 11 && (m.value.amount = Number(m.value.amount.toString().slice(0, 11))); } function R() { (m.value.amount = Math.floor(u.withdrawalsrule.canWithdrawAmount)), m.value.type === 3 && w(); } function S() { o.value = Math.floor(o.value); } function w() { if ( ((m.value.amount = Number( m.value.amount .toString() .replace(/[^\d.]/g, "") .replace(/\.{2,}/g, ".") .replace(".", "$#$") .replace(/\./g, "") .replace("$#$", ".") .replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3") .replace(/^\./g, "") )), m.value.amount.toString().length > 11 && (m.value.amount = Number(m.value.amount.toString().slice(0, 11))), m.value.amount > 0) ) { let B = Number(m.value.amount) / u.withdrawalsrule.uRate; o.value = Math.floor(B * 100) / 100; } else o.value = 0; } function b() { if ( (o.value.toString().length > 11 && (o.value = Number(o.value.toString().slice(0, 11))), o.value > 0) ) { let B = o.value * u.withdrawalsrule.uRate; m.value.amount = Math.floor(Math.floor(B * 100) / 100); } else m.value.amount = 0; } const $ = E(() => { if (!m.value.amount) return 0; const { withMinPrice: B = 0, withMaxPrice: D = 0, fee: O, } = u.withdrawalsrule; return O > 0 && B <= m.value.amount && m.value.amount <= D ? m.value.amount - m.value.amount * O : m.value.amount; }); return ( n({ usdtCount: o, data: m, showValidate: h, showValidateUB: f }), (B, D) => ( s(), l( oe, null, [ _e( e( "div", mv, [ e("div", fv, [ e("div", wv, t(i.value), 1), _e( e( "input", { placeholder: B.$t("enterAmount"), onInput: D[0] || (D[0] = (O) => C()), class: "inp", "onUpdate:modelValue": D[1] || (D[1] = (O) => (k.value = O)), onKeypress: D[2] || (D[2] = (O) => p(O)), }, null, 40, yv ), [[Re, k.value]] ), ]), h.value ? (s(), l("div", gv, t(r.value), 1)) : y("v-if", !0), e("div", $v, [ e("div", null, [ e("span", null, [ j(t(B.$t("wfDesc1")) + " ", 1), e( "h6", kv, t(a(ve)(B.withdrawalsrule.canWithdrawAmount || 0)), 1 ), ]), e( "input", { type: "button", value: B.$t("all"), onClick: R }, null, 8, bv ), ]), e("div", null, [ e("span", null, t(B.$t("wfDesc2")), 1), e("div", Cv, [e("span", Tv, t(a(ve)($.value)), 1)]), ]), ]), ], 512 ), [[It, [1, 2, 6, 8, 5].includes(m.value.type)]] ), _e( e( "div", Sv, [ e("div", Iv, [ e( "img", { src: a(ye)( "wallet/withdrawType", String(m.value.type) ), }, null, 8, Nv ), m.value.type == 3 ? (s(), l("h1", Av, t(B.$t("selectUSDTNum")), 1)) : y("v-if", !0), m.value.type == 10 ? (s(), l("h1", Dv, t(B.$t("selectUSDTAmount")), 1)) : y("v-if", !0), ]), e("div", Rv, [ e("div", Uv, t(i.value), 1), _e( e( "input", { type: "number", placeholder: B.$t("enterWithdrawAmount"), onInput: w, class: "inp", "onUpdate:modelValue": D[3] || (D[3] = (O) => (k.value = O)), onKeypress: D[4] || (D[4] = (O) => A(O)), }, null, 40, Bv ), [[Re, k.value]] ), ]), h.value ? (s(), l("div", Pv, t(r.value), 1)) : y("v-if", !0), f.value ? (s(), l("div", Wv, t(B.$t("wfDesc4")), 1)) : y("v-if", !0), [3].includes(m.value.type) ? (s(), l("div", Ov, [ _e( e( "input", { type: "number", placeholder: B.$t("enterUSDTAmount"), onInput: b, class: "inp", "onUpdate:modelValue": D[5] || (D[5] = (O) => (v.value = O)), onKeypress: D[6] || (D[6] = (O) => A(O)), onFocus: S, }, null, 40, Lv ), [[Re, v.value]] ), e("div", Mv, [ e("div", qv, [ e( "img", { src: a(ye)("wallet/withdrawType", "3") }, null, 8, Vv ), ]), ]), ])) : y("v-if", !0), e("div", Ev, [ e("div", null, [ e("span", null, [ j(t(B.$t("wfDesc5")) + " ", 1), e( "h6", jv, t(a(ve)(B.withdrawalsrule.canWithdrawAmount || 0)), 1 ), ]), e( "input", { type: "button", value: B.$t("all"), onClick: R }, null, 8, xv ), ]), ]), ], 512 ), [[It, [3, 10].includes(m.value.type)]] ), ], 64 ) ) ); }, }); const Fv = de(Hv, [ ["__scopeId", "data-v-cb5583fe"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/withdrawField.vue", ], ]), zv = { key: 0, class: "addWithdrawType" }, Kv = ["src"], Gv = { key: 0, class: "addWithdrawType-text" }, Qv = ce({ __name: "AddWithdrawType", props: { isShowhintTextO: { type: Boolean, required: !1, default: !1 }, hintTextO: { type: String, required: !1, default: "" }, type: { type: null, required: !1, default: "" }, }, setup(g) { const n = g, u = me(), c = ot(), { t: i } = Te(), o = dt(), v = i("addAddr"); let m = i("paymentMethodRequired"); const { getSelfCustomerServiceLink: k } = va({ ServerType: 2 }), h = E(() => !([3, 10].includes(n.type) && o.getADDUSTD == 0)), r = () => { k("addUSTD"); }; function f() { const A = { 1: "Withdraw-AddBankCard", 2: "Withdraw-AddUpi", 3: "Withdraw-AddUSDT", 4: "Withdraw-AddType4", 5: "Withdraw-AddPIX", 6: "Withdraw-AddWave", 8: "Withdraw-AddKbz", 10: "Withdraw-AddUSDT", }; u.replace({ name: A[n.type], query: { fromV: c.name } }); } const p = E( () => ({ 1: i("titleAddBankCard"), 2: i("addUpi"), 3: i("addAddr"), 4: i("addWallet"), 5: i("upiAddPaymentMethod"), 6: i("addWaveType"), 8: i("upiAddPaymentMethod"), 10: i("addAddr"), }[n.type]) ); return (A, C) => { const R = q("svg-icon"); return h.value ? (s(), l("div", zv, [ e("div", { class: "addWithdrawType-top", onClick: f }, [ e("img", { src: a(fe)("wallet/withdraw", "add") }, null, 8, Kv), e("span", null, t(p.value || a(v)), 1), ]), A.isShowhintTextO ? (s(), l("div", Gv, t(A.hintTextO || a(m)), 1)) : y("v-if", !0), ])) : (s(), l("div", { key: 1, class: "canNotAdd", onClick: r }, [ _(R, { name: "customer_b", class: "forgetbg" }), j(" " + t(A.$t("contactServicer") + A.$t("titleAddUSDTAddr")), 1), ])); }; }, }); const Kt = de(Qv, [ ["__scopeId", "data-v-ef5c8333"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/AddWithdrawType.vue", ], ]), Yv = { class: "Recharge__container-intro" }, Zv = { class: "br" }, Xv = ["innerHTML"], Jv = { class: "red" }, ep = { class: "red" }, tp = { class: "red" }, ap = { key: 0 }, np = ["innerHTML"], sp = { key: 0 }, lp = ["innerHTML"], op = ["innerHTML"], ip = ["innerHTML"], rp = ["innerHTML"], cp = ["innerHTML"], dp = ["innerHTML"], up = ce({ __name: "InstructionsW", props: { withdrawalsrule: { type: null, required: !0 }, withdrawType: { type: null, required: !1 }, award: { type: null, required: !1 }, name: { type: null, required: !1 }, }, setup(g) { return (n, u) => { var c, i, o, v, m, k, h, r, f, p, A, C; return ( s(), l("div", Yv, [ e("div", Zv, [ n.withdrawType == 21 ? (s(), l( oe, { key: 0 }, [ e("p", null, t(n.$t("arWTip1", [n.name])), 1), e("p", null, t(n.$t("arWTip2", [n.name])), 1), ], 64 )) : y("v-if", !0), [1, 2, 3, 4, 5, 6, 8, 10, 20, 21].includes(n.withdrawType) ? (s(), l( oe, { key: 1 }, [ e( "p", { innerHTML: n.$t("instructionDes", [ a(ve)( (c = n.withdrawalsrule) == null ? void 0 : c.amountofCode ), ]), }, null, 8, Xv ), e("p", null, [ j(t(n.$t("instructionTxt6")) + " ", 1), e( "span", Jv, t( (i = n.withdrawalsrule) == null ? void 0 : i.startTime ) + "-" + t( (o = n.withdrawalsrule) == null ? void 0 : o.endTime ), 1 ), ]), e("p", null, [ j(t(n.$t("instructionTxt7")), 1), e( "span", ep, t( (v = n.withdrawalsrule) == null ? void 0 : v.withdrawRemainingCount ), 1 ), ]), e("p", null, [ j(t(n.$t("instructionTxt8")) + " ", 1), e( "span", tp, t( a(ve)( (m = n.withdrawalsrule) == null ? void 0 : m.minPrice ) ) + "-" + t( a(ve)( (k = n.withdrawalsrule) == null ? void 0 : k.maxPrice ) ), 1 ), ]), ], 64 )) : y("v-if", !0), [3, 10].includes(n.withdrawType) ? (s(), l( oe, { key: 2 }, [ e("p", null, t(n.$t("instructionTxt10")), 1), e("p", null, t(n.$t("instructionTxt11")), 1), ], 64 )) : y("v-if", !0), n.withdrawType == 4 ? (s(), l( oe, { key: 3 }, [ Number(n.award) ? (s(), l("div", ap, [ e( "p", { innerHTML: n.$t("c2cFTip1", [ n.name, n.award * 100 || 0, ]), }, null, 8, np ), ])) : y("v-if", !0), ], 64 )) : y("v-if", !0), n.withdrawType == 20 ? (s(), l( oe, { key: 4 }, [ Number(n.award) ? (s(), l("div", sp, [ e( "p", { innerHTML: n.$t("c2cFTip1", [ n.name, n.award * 100 || 0, ]), }, null, 8, lp ), ])) : y("v-if", !0), e("div", null, [ e("p", { innerHTML: n.$t("c2cFTip4") }, null, 8, op), ]), e("div", null, [ e( "p", { innerHTML: n.$t("c2cFTip2", [ ((h = n.withdrawalsrule) == null ? void 0 : h.c2cUnitAmount) || 100, ]), }, null, 8, ip ), ]), e("div", null, [ e("p", { innerHTML: n.$t("c2cFTip3") }, null, 8, rp), ]), ], 64 )) : y("v-if", !0), n.withdrawType != 21 ? (s(), l( oe, { key: 5 }, [ (r = n.withdrawalsrule) != null && r.fee ? (s(), l( oe, { key: 0 }, [ ((f = n.withdrawalsrule) == null ? void 0 : f.withMinPrice) + ((p = n.withdrawalsrule) == null ? void 0 : p.withMaxPrice) ? (s(), l( "p", { key: 0, innerHTML: n.$t("sxf", [ a(ve)( (A = n.withdrawalsrule) == null ? void 0 : A.withMinPrice ), a(ve)( (C = n.withdrawalsrule) == null ? void 0 : C.withMaxPrice ), ]), }, null, 8, cp )) : y("v-if", !0), e( "p", { innerHTML: n.$t("sxf1", [ Math.floor( (n.withdrawalsrule.fee * 1e4) / 100 ).toFixed(2), ]), }, null, 8, dp ), ], 64 )) : y("v-if", !0), e("p", null, t(n.$t("withdrwsTip5")), 1), e("p", null, t(n.$t("withdrwsTip6")), 1), ], 64 )) : y("v-if", !0), ]), ]) ); }; }, }); const Gt = de(up, [ ["__scopeId", "data-v-76eb7f31"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/InstructionsW.vue", ], ]), vt = (g) => (Be("data-v-391308ac"), (g = g()), Pe(), g), vp = { class: "c2cConfirm" }, pp = vt(() => e( "p", null, [j("*You must click "), e("span", null, "【Confirm Receipt】")], -1 ) ), _p = vt(() => e( "p", null, "*After receiving the transfer, go to order details and click 【Confirm Receipt】to receive the reward.", -1 ) ), hp = vt(() => e("h6", null, [j("How to "), e("span", null, "【Confirm Receipt】")], -1) ), mp = { class: "imgBox" }, fp = { class: "box" }, wp = vt(() => e("div", null, [e("h6", null, "01、"), j("Open my withdrawal record")], -1) ), yp = { class: "box" }, gp = vt(() => e("div", null, "02、Select New-UPI Click Order", -1)), $p = { class: "box" }, kp = vt(() => e("div", null, "03、Click to Money received", -1)), bp = { class: "box" }, Cp = vt(() => e("div", null, "04、Complete the order and get rewards", -1)), Tp = vt(() => e("span", null, "[Money received]", -1)), Sp = ce({ __name: "c2cConfirm", props: { showC2c: { type: Boolean, default: !1, required: !0 } }, emits: ["update:showC2c"], setup(g, { emit: n }) { const u = g, { showC2c: c } = Na(u, n), i = T(!1); function o() { if (!i.value) return ue({ message: "Please read the process and check the box to agree", wordBreak: "break-word", }); localStorage.setItem("isC2cCheck", "1"), (c.value = !1); } return ( ke(() => { localStorage.getItem("isC2cCheck") != null && (i.value = localStorage.getItem("isC2cCheck") == "1"); }), (v, m) => { const k = q("van-checkbox"), h = nt("lazy"); return ( s(), l("div", vp, [ pp, _p, hp, e("div", mp, [ e("div", fp, [ wp, _e(e("img", null, null, 512), [ [h, a(ye)("wallet/withdraw/c2c", "1")], ]), ]), e("div", yp, [ gp, _e(e("img", null, null, 512), [ [h, a(ye)("wallet/withdraw/c2c", "2")], ]), ]), e("div", $p, [ kp, _e(e("img", null, null, 512), [ [h, a(ye)("wallet/withdraw/c2c", "3")], ]), ]), e("div", bp, [ Cp, _e(e("img", null, null, 512), [ [h, a(ye)("wallet/withdraw/c2c", "4")], ]), ]), ]), _( k, { modelValue: i.value, "onUpdate:modelValue": m[0] || (m[0] = (r) => (i.value = r)), }, { default: te(() => [ j( "I already understand the process and agree to come back and click " ), Tp, ]), _: 1, }, 8, ["modelValue"] ), e( "div", { class: ae(["btn", { active: i.value }]), onClick: o }, "confirm", 2 ), ]) ); } ); }, }); const Ip = de(Sp, [ ["__scopeId", "data-v-391308ac"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/c2cConfirm.vue", ], ]), Np = { class: "c2cWithdraw__C" }, Ap = { class: "c2cWithdraw__C-input" }, Dp = { class: "place-div" }, Rp = { class: "unit" }, Up = { key: 0, class: "verify" }, Bp = { class: "can-withdraw" }, Pp = { class: "c2cWithdraw__C-tip" }, Wp = { class: "c2cWithdraw__C-tip-l" }, Op = { class: "c2cWithdraw__C-tip-r" }, Lp = { class: "c2cWithdraw__T" }, Mp = { class: "c2cWithdraw__T-h" }, qp = 20, Vp = ce({ __name: "c2cField", props: { c2crule: { type: null, required: !0 }, c2cAward: { type: null, required: !0 }, c2cName: { type: String, required: !0 }, }, emits: ["setc2cAmount"], setup(g, { emit: n }) { const u = g, { t: c } = Te(), i = T(0), o = E(() => Ve().getDollarSign), v = E(() => Number(i.value) ? Number(i.value) * (u.c2crule.c2cUnitAmount || 100) : 0 ), m = E(() => v.value * u.c2cAward), k = () => { const f = Math.floor(u.c2crule.canWithdrawAmount / 100), p = Math.floor(u.c2crule.maxPrice / 100); i.value = f > p ? p : f; }, h = (f) => { n("setc2cAmount", f * (u.c2crule.c2cUnitAmount || 100)); }, r = E(() => { if (v.value != 0) { if (v.value > u.c2crule.canWithdrawAmount) return c("cashBalanceInsufficient"); if (v.value > u.c2crule.maxPrice || v.value < u.c2crule.minPrice) return c("wordWithdrawal", [ ve(u.c2crule.minPrice), ve(u.c2crule.maxPrice), ]); } return ""; }); return ( ke(() => {}), (f, p) => { var R; const A = q("van-field"), C = q("svg-icon"); return ( s(), l( oe, null, [ e("div", Np, [ e("div", Ap, [ e("div", Dp, t(o.value), 1), _( A, { modelValue: i.value, "onUpdate:modelValue": [ p[0] || (p[0] = (S) => (i.value = S)), h, ], modelModifiers: { number: !0 }, type: "digit", placeholder: f.$t("plsEnterQuantity"), class: "amount-input", }, null, 8, ["modelValue", "placeholder"] ), e( "div", Rp, t( ((R = f.c2crule.c2cUnitAmount) == null ? void 0 : R.toString().substring(1)) || "00" ), 1 ), ]), r.value ? (s(), l("div", Up, t(r.value), 1)) : y("v-if", !0), e("div", Bp, [ j( t(f.$t("wfDesc1")) + t(a(ve)(f.c2crule.canWithdrawAmount || 0)) + " ", 1 ), e("div", { onClick: k }, t(f.$t("all")), 1), ]), e("div", Pp, [ e("div", Wp, [ e("div", null, t(f.$t("wfDesc2")), 1), e("div", null, t(f.$t("savedForYou")), 1), ]), e("div", Op, [ e("div", null, t(a(ve)(v.value)), 1), e("div", null, t(a(ve)(m.value)), 1), ]), ]), ia(f.$slots, "default", {}, void 0, !0), ]), e("div", Lp, [ e("div", Mp, [ _(C, { name: "shuoming" }), j(" " + t(f.$t("withdrawalInstructions")), 1), ]), _( Gt, { withdrawType: qp, withdrawalsrule: f.c2crule, award: f.c2cAward, name: f.c2cName, }, null, 8, ["withdrawalsrule", "award", "name"] ), ]), ], 64 ) ); } ); }, }); const Ep = de(Vp, [ ["__scopeId", "data-v-472a2df8"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/c2cField.vue", ], ]), jp = { class: "title" }, xp = { class: "name" }, Hp = ce({ __name: "c2cUpi", props: { withdrawalslist: { type: Array, default: () => [] }, bid: { default: -0 }, }, setup(g) { const n = g, u = ot(), c = me(), i = E(() => n.withdrawalslist.find((v) => v.bid == n.bid) || {}), o = (v) => { c.replace({ name: "Withdraw-Upi", query: { bid: v, fromV: u.name } }); }; return ( ke(() => {}), (v, m) => { const k = q("van-icon"); return ( s(), l( "div", { class: ae(["c2cUpi", { noUpi: !g.withdrawalslist.length }]), onClick: m[0] || (m[0] = (h) => o(i.value.bid)), }, [ g.withdrawalslist.length ? (s(), l( oe, { key: 0 }, [ e("div", jp, t(v.$t("upiCollectMoney")), 1), e("div", xp, t(i.value.upiAccount), 1), _(k, { name: "arrow", class: "right-icon", size: "12", }), ], 64 )) : (s(), l(oe, { key: 1 }, [j(t(v.$t("addUpi")), 1)], 64)), ], 2 ) ); } ); }, }); const Ta = de(Hp, [ ["__scopeId", "data-v-fe54ed07"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/c2cUpi.vue", ], ]), Fp = (g) => (Be("data-v-15989e8c"), (g = g()), Pe(), g), zp = ["onClick"], Kp = { class: "c2cRecord__C-item-h" }, Gp = { class: "title" }, Qp = { key: 0 }, Yp = { key: 1 }, Zp = { class: "c2cRecord__C-item-a" }, Xp = { class: "title" }, Jp = { class: "c2cRecord__C-item-u" }, e_ = Fp(() => e("span", { class: "title" }, "UTR", -1)), t_ = { class: "c2cRecord__C-item-t" }, a_ = { class: "title" }, n_ = { class: "c2cRecord__C-item-id" }, s_ = { class: "title" }, l_ = ce({ __name: "c2cRecordList", props: { list: { type: Array, required: !0 } }, setup(g) { const n = g, { t: u } = Te(), c = me(), i = [ u("c2cState0"), u("c2cState1"), u("c2cState2"), u("c2cState3"), u("c2cState4"), u("c2cTip9"), u("c2cState6"), u("c2cState7"), u("c2cState8"), u("c2cState9"), u("c2cState10"), u("c2cState11"), u("c2cState11"), u("c2cState13"), u("c2cState14"), ], o = T(null), v = T(0), m = T("00:00"), k = T("00:00"), h = T(null), r = T(null), f = (R, S) => { localStorage.setItem("c2cOrderNo", R), c.push({ name: "Withdraw-C2cDetail", query: { order: R, state: S }, }); }; Ke( () => n.list, (R) => { if (((o.value = R.findIndex((w) => w.state === 1)), o.value != -1)) { const w = R[o.value].serviceTime.replace(/-/g, "/"), b = R[o.value].confrimEndTime.replace(/-/g, "/"); (v.value = new Date(b).getTime() - new Date(w).getTime()), v.value > 0 ? (clearInterval(h.value), A()) : (m.value = "00:00"); } else m.value = "00:00"; let S = R.find((w) => w.state === 11 || w.state === 12); if (S) { const w = S.auditEndTime.replace(/-/g, "/"), b = S.serviceTime.replace(/-/g, "/"); (v.value = new Date(b).getTime() - new Date(w).getTime()), clearInterval(r.value), C(); } else k.value = "00:00"; } ); const p = (R) => { const S = Math.floor(R / 36e5), w = Math.floor((R - S * 36e5) / 6e4), b = Math.floor((R - S * 36e5 - w * 6e4) / 1e3); return `${S ? S.toString().padStart(2, "0") + ":" : ""}${w .toString() .padStart(2, "0")}:${b.toString().padStart(2, "0")}`; }; function A() { h.value = setInterval(() => { (v.value -= 1e3), (m.value = p(v.value)), v.value <= 0 && clearInterval(h.value); }, 1e3); } function C() { r.value = setInterval(() => { (v.value += 1e3), (k.value = p(v.value)); }, 1e3); } return ( _t(() => { clearInterval(h.value), clearInterval(r.value); }), (R, S) => { const w = q("van-icon"), b = q("svg-icon"); return ( s(!0), l( oe, null, Ce( R.list, ($, B) => ( s(), l( "div", { key: B, class: "c2cRecord__C-item", onClick: (D) => f($.orderNo, $.state), }, [ e("div", Kp, [ e("div", Gp, t(R.$t("withdraw")), 1), e( "div", { class: ae(["state" + $.state]) }, [ j(t(i[$.state]) + " ", 1), $.state === 1 ? (s(), l("span", Qp, t(m.value), 1)) : y("v-if", !0), [11, 12].includes($.state) ? (s(), l("span", Yp, ": " + t(k.value), 1)) : y("v-if", !0), $.state != 2 ? (s(), Ne(w, { key: 2, name: "arrow", size: "14" })) : y("v-if", !0), ], 2 ), ]), e("div", Zp, [ e("span", Xp, t(R.$t("amount")), 1), j(" " + t(a(ve)($.orderAmount)), 1), ]), e("div", Jp, [ e_, e("span", null, [ j(t($.transactionNo), 1), _( b, { name: "copy", onClick: Je( (D) => a(Ie)($.transactionNo), ["stop"] ), }, null, 8, ["onClick"] ), ]), ]), e("div", t_, [ e("span", a_, t(R.$t("time")), 1), j(t($.createTime), 1), ]), e("div", n_, [ e("span", s_, t(R.$t("orderNo")), 1), e("span", null, [ j(t($.orderNo), 1), _( b, { name: "copy", onClick: Je((D) => a(Ie)($.orderNo), ["stop"]), }, null, 8, ["onClick"] ), ]), ]), ], 8, zp ) ) ), 128 ) ); } ); }, }); const Fa = de(l_, [ ["__scopeId", "data-v-15989e8c"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/c2cRecordList.vue", ], ]), o_ = { class: "c2cRecord__C" }, i_ = { class: "c2cRecord__C-head" }, r_ = { class: "c2cRecord__C-body" }, c_ = ce({ __name: "c2cRecord", setup(g, { expose: n }) { const u = me(), c = T(), i = T({ startDate: "", endDate: "", type: -1, state: -1, category: -1, }), o = T([]), v = () => { u.push({ name: "WithdrawHistory" }); }; return ( n({ resetRefresh: () => { c.value.resetRefresh(); }, }), (k, h) => ( s(), l("div", o_, [ e("div", i_, t(k.$t("c2CWithdrawalRecord")), 1), e("div", r_, [ _( da, { list: o.value, "onUpdate:list": h[0] || (h[0] = (r) => (o.value = r)), "page-query": i.value, "onUpdate:pageQuery": h[1] || (h[1] = (r) => (i.value = r)), api: a(Pa), distance: 100, ref_key: "listRef", ref: c, "is-auto-load": !0, showNoM: !1, }, { content: te(() => [ _(Fa, { list: o.value }, null, 8, ["list"]), ]), _: 1, }, 8, ["list", "page-query", "api"] ), ]), e( "div", { class: "c2cRecord__C-allrecord", onClick: v }, t(k.$t("allRecords")), 1 ), ]) ) ); }, }); const d_ = de(c_, [ ["__scopeId", "data-v-824a4891"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/c2cRecord.vue", ], ]), u_ = { class: "WC4__C" }, v_ = { class: "WC4__C-input" }, p_ = { class: "place-div" }, __ = { key: 0, class: "verify" }, h_ = { class: "can-withdraw" }, m_ = { class: "amount" }, f_ = { class: "num" }, w_ = 4, y_ = ce({ __name: "wC4Field", props: { rule: { type: null, required: !0 }, award: { type: null, required: !0 }, name: { type: String, required: !0 }, }, emits: ["setc2cAmount"], setup(g, { emit: n }) { const u = g, { t: c } = Te(), i = T(0), o = E(() => Ve().getDollarSign), v = E(() => { if (!i.value) return 0; const { withMinPrice: r = 0, withMaxPrice: f = 0, fee: p } = u.rule; return p > 0 && r <= i.value && i.value <= f ? i.value - i.value * p : i.value; }), m = () => { const r = u.rule.canWithdrawAmount, f = u.rule.maxPrice; i.value = r > f ? f : r; }, k = (r) => { n("setc2cAmount", r); }, h = E(() => { if (i.value != 0) { if (i.value > u.rule.canWithdrawAmount) return c("cashBalanceInsufficient"); if (i.value > u.rule.maxPrice || i.value < u.rule.minPrice) return c("wordWithdrawal", [ ve(u.rule.minPrice), ve(u.rule.maxPrice), ]); } return ""; }); return ( ke(() => {}), (r, f) => { const p = q("van-field"); return ( s(), l("div", u_, [ e("div", v_, [ e("div", p_, t(o.value), 1), _( p, { modelValue: i.value, "onUpdate:modelValue": [ f[0] || (f[0] = (A) => (i.value = A)), k, ], modelModifiers: { number: !0 }, type: "digit", placeholder: r.$t("plsEnterQuantity"), class: "amount-input", }, null, 8, ["modelValue", "placeholder"] ), ]), h.value ? (s(), l("div", __, t(h.value), 1)) : y("v-if", !0), e("div", h_, [ j( t(r.$t("wfDesc1")) + t(a(ve)(r.rule.canWithdrawAmount || 0)) + " ", 1 ), e("div", { onClick: m }, t(r.$t("all")), 1), ]), e("div", m_, [ e("div", null, t(r.$t("wfDesc2")), 1), e("div", f_, t(a(ve)(v.value)), 1), ]), ia(r.$slots, "default", {}, void 0, !0), _( Gt, { withdrawType: w_, withdrawalsrule: r.rule, award: r.award, name: r.name, }, null, 8, ["withdrawalsrule", "award", "name"] ), ]) ); } ); }, }); const g_ = de(y_, [ ["__scopeId", "data-v-81d3a4d3"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/wC4Field.vue", ], ]), $_ = { class: "name" }, k_ = { class: "title" }, b_ = { class: "name" }, C_ = ce({ __name: "wC4Id", props: { withdrawalslist: { type: Array, default: () => [] }, bid: { default: -0 }, withdrawType: { default: 4 }, name: { default: "" }, }, setup(g) { const n = g, u = ot(), c = me(), i = E(() => n.withdrawalslist.find((m) => m.bid == n.bid) || {}), o = E(() => (n.withdrawalslist.length > 0 ? n.withdrawalslist[0] : {})), v = (m) => { n.withdrawType === 22 ? n.bid || c.replace({ name: "Withdraw-AddRsnPay", query: { Type4name: n.name }, }) : c.replace({ name: "Withdraw-Type4", query: { bid: m, fromV: u.name, Type4name: n.name }, }); }; return ( ke(() => {}), (m, k) => { const h = q("van-icon"); return g.withdrawType === 4 ? (s(), l( "div", { key: 0, class: ae(["wC4Id", { noUpi: !g.withdrawalslist.length }]), onClick: k[0] || (k[0] = (r) => v(i.value.bid)), }, [ g.withdrawalslist.length ? (s(), l( oe, { key: 0 }, [ e( "div", { class: ae(["title", `${i.value.walletName}`]) }, t(i.value.walletName), 3 ), e("div", $_, t(i.value.mobileNO), 1), _(h, { name: "arrow", class: "right-icon", size: "12", }), ], 64 )) : (s(), l(oe, { key: 1 }, [j(t(m.$t("addto")), 1)], 64)), ], 2 )) : (s(), l( "div", { key: 1, class: ae([ "wC4Id rnsData", { noUpi: !g.withdrawalslist.length }, ]), onClick: k[1] || (k[1] = (r) => v(o.value.bid)), }, [ g.withdrawalslist.length ? (s(), l( oe, { key: 0 }, [ e("div", k_, t(o.value.bankName), 1), e("div", b_, t(o.value.mobileNo), 1), ], 64 )) : (s(), l(oe, { key: 1 }, [j(t(m.$t("addto")), 1)], 64)), ], 2 )); } ); }, }); const T_ = de(C_, [ ["__scopeId", "data-v-8fab5987"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/wC4Id.vue", ], ]), S_ = { class: "c2cWithdraw__C" }, I_ = { class: "head" }, N_ = { class: "c2cWithdraw__C-input" }, A_ = { class: "place-div" }, D_ = { key: 0, class: "verify" }, R_ = { class: "can-withdraw" }, U_ = { class: "c2cWithdraw__C-tip" }, B_ = { class: "c2cWithdraw__C-tip-l" }, P_ = { class: "c2cWithdraw__C-tip-r" }, W_ = { class: "c2cWithdraw__T" }, O_ = { class: "c2cWithdraw__T-h" }, L_ = 21, M_ = ce({ __name: "arField", setup(g, { expose: n }) { const { withdrawalsrule: u, withdrawalTypeslist: c, setc2cAmount: i, } = it(), { t: o } = Te(), v = T(0), m = E(() => Ve().getDollarSign), k = E(() => (Number(v.value) ? Number(v.value) : 0)), h = () => { const p = Math.floor(u.value.canWithdrawAmount), A = Math.floor(u.value.maxPrice); v.value = p > A ? A : p; }, r = (p) => { i(p); }, f = E(() => { if (k.value != 0) { if (k.value > u.value.canWithdrawAmount) return o("cashBalanceInsufficient"); if (k.value > u.value.maxPrice || k.value < u.value.minPrice) return o("wordWithdrawal", [ ve(u.value.minPrice), ve(u.value.maxPrice), ]); } return ""; }); return ( n({ validateTxt: f }), (p, A) => { var S; const C = q("svg-icon"), R = q("van-field"); return ( s(), l( oe, null, [ e("div", S_, [ e("div", I_, [ _(C, { name: "saveWallet" }), j(" " + t(p.$t("enterA")), 1), ]), e("div", N_, [ e("div", A_, t(m.value), 1), _( R, { modelValue: v.value, "onUpdate:modelValue": [ A[0] || (A[0] = (w) => (v.value = w)), r, ], modelModifiers: { number: !0 }, type: "digit", placeholder: p.$t("plsEnterQuantity"), class: "amount-input", }, null, 8, ["modelValue", "placeholder"] ), e("div", { class: "all", onClick: h }, t(p.$t("all")), 1), ]), f.value ? (s(), l("div", D_, t(f.value), 1)) : y("v-if", !0), e( "div", R_, t(p.$t("wfDesc1")) + t(a(ve)(a(u).canWithdrawAmount || 0)), 1 ), e("div", U_, [ e("div", B_, [e("div", null, t(p.$t("wfDesc2")), 1)]), e("div", P_, [e("div", null, t(a(ve)(k.value)), 1)]), ]), ia(p.$slots, "default", {}, void 0, !0), ]), e("div", W_, [ e("div", O_, [ _(C, { name: "shuoming" }), j(t(p.$t("withdrawalInstructions")), 1), ]), _( Gt, { withdrawType: L_, withdrawalsrule: a(u), name: ((S = a(c).find((w) => w.withdrawID == 21)) == null ? void 0 : S.name) || "", }, null, 8, ["withdrawalsrule", "name"] ), ]), ], 64 ) ); } ); }, }); const q_ = de(M_, [ ["__scopeId", "data-v-7dcfb9e1"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/Ar/arField.vue", ], ]), V_ = { class: "arType" }, E_ = { class: "left" }, j_ = { class: "right" }, x_ = { key: 0, class: "arCard" }, H_ = { class: "left" }, F_ = ["src"], z_ = { class: "amount" }, K_ = { class: "recycleBtnD c2c" }, G_ = ce({ __name: "card", emits: ["onShowPwdD"], setup(g, { expose: n, emit: u }) { me(); const { data_NewSetWithdrawalH: c, withdrawalTypeslist: i } = it(), { getInfo: o, arWallet: v, goWallet: m } = Rt(), k = T(), h = E(() => { var p, A; if ([21].includes(c.value.type) && c.value.amount > 0) return !( c.value.amount < 1 || ((p = k.value) == null ? void 0 : p.validateTxt.length) > 0 || c.value.bid == 0 || ((A = v.value) == null ? void 0 : A.walletActivationStatus) != 1 ); }), r = () => { const f = encodeURIComponent( "https://" + window.location.host + "/#/main" ); let A = `https://arbpay.me/#/TradRules?type=1&lang=${localStorage.getItem( "language" )}&returnUrl=${f}`; window.location.href = A; }; return ( ke(() => { o(); }), n({ isActiveC: h }), (f, p) => { var R, S; const A = q("svg-icon"), C = q("van-icon"); return ( s(), l("div", V_, [ e( "div", { class: "rule", onClick: p[0] || (p[0] = (w) => r()) }, [ e("div", E_, [ _(A, { name: "arpay1" }), e("p", null, t(f.$t("arbTip1")), 1), ]), e("div", j_, [ j(t(f.$t("checkOver")), 1), _(C, { name: "arrow" }), ]), ] ), ((R = a(v)) == null ? void 0 : R.walletActivationStatus) == 1 ? (s(), l( oe, { key: 0 }, [ [21].includes(a(c).type) ? (s(), l("div", x_, [ e("div", H_, [ e( "img", { src: a(ye)( "wallet/withdrawType", `${a(c).type}` ), }, null, 8, F_ ), e("p", null, [ e("span", null, t(f.$t("arbTip13")), 1), e( "span", z_, t( ((S = a(v)) == null ? void 0 : S.balance) || 0 ) + " ARB", 1 ), ]), ]), e( "div", { class: "right", onClick: p[1] || (p[1] = (w) => a(m)("wallet/withdraw")), }, t(f.$t("comminWallet")), 1 ), ])) : y("v-if", !0), _( q_, { ref_key: "arFieldRef", ref: k }, { default: te(() => [ e("div", K_, [ e( "button", { class: ae([ "recycleBtn", { active: h.value }, ]), onClick: p[2] || (p[2] = () => { u("onShowPwdD"); }), }, t(f.$t("withdraw")), 3 ), ]), ]), _: 1, }, 512 ), _(oa), ], 64 )) : (s(), Ne(xa, { key: 1, pageType: "wallet/Withdraw" })), ]) ); } ); }, }); const Q_ = de(G_, [ ["__scopeId", "data-v-69845b27"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/Ar/card.vue", ], ]), Y_ = { class: "noRightTimeDialog" }, Z_ = { class: "fail" }, X_ = { class: "van-dialog__content-title title1" }, J_ = { class: "van-dialog__content-note" }, eh = { class: "red" }, th = ce({ __name: "noRightTimeDialog", setup(g) { const { withdrawalsrule: n } = it(), u = E(() => (n.value ? n.value.startTime : "00:00")), c = E(() => (n.value ? n.value.endTime : "23:59")); return (i, o) => { const v = nt("lazy"); return ( s(), l("div", Y_, [ _e(e("img", Z_, null, 512), [[v, a(ye)("wallet", "tip")]]), e("div", X_, t(i.$t("noRightTime")), 1), e("div", J_, [ e("p", null, [ j(t(i.$t("wTimeInterval")), 1), e("span", eh, t(u.value) + "-" + t(c.value), 1), j(", "), ]), e("p", null, t(i.$t("later")), 1), ]), ]) ); }; }, }); const ah = de(th, [ ["__scopeId", "data-v-415fa4b1"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/noRightTimeDialog.vue", ], ]), za = (g) => (Be("data-v-80a607a5"), (g = g()), Pe(), g), nh = { class: "withdraw__container" }, sh = { class: "withdraw__container-content" }, lh = { class: "recycleBtnD c2c" }, oh = { class: "recycleBtnD c2c" }, ih = { key: 1, class: "bankInfoItem usdt" }, rh = ["src"], ch = { key: 2, class: "bankInfoItem usdt KBZ" }, dh = ["src"], uh = { key: 0 }, vh = { key: 1 }, ph = { key: 0 }, _h = { key: 1 }, hh = { class: "recycleBtnD" }, mh = { class: "succeed" }, fh = { class: "van-dialog__content-title" }, wh = { class: "van-dialog__content-note" }, yh = { class: "succeedImg" }, gh = { class: "c2cTip" }, $h = ["innerHTML"], kh = ["innerHTML"], bh = { class: "pwd" }, Ch = { class: "pwd-head ar-1px-b" }, Th = za(() => e("input", { type: "text", class: "is-hidden" }, null, -1)), Sh = za(() => e("input", { type: "password", class: "is-hidden" }, null, -1)), Ih = { class: "red" }, Nh = { class: "forgetPwd" }, Ah = { class: "btnD" }, Dh = ["innerHTML"], Rh = { class: "question" }, Uh = { class: "button" }, Bh = ce({ __name: "index", setup(g) { const { setWithdrawal: n, setWithdrawalsrule: u, setWithdrawalTypeslist: c, } = it(), i = T(!1), o = () => { if (((i.value = !i.value), i.value)) { const G = new Date().getTime() + 2592e6; localStorage.setItem("popupHideUntil", G.toString()); } else localStorage.removeItem("popupHideUntil"); }, { t: v } = Te(), { setLoading: m } = Ye(), { getUserInfo: k, getRegisterState: h, $state: r } = Ht(), f = me(), p = dt(), A = T(), C = T(), R = T(), S = T({}), w = T(), b = T(0), $ = T(!1), B = T(!1), D = E(() => r.isOpenForgetPasswordSMSState); function O() { f.back(); } const x = xt(), I = E(() => x.userInfo), Q = T(""), K = T(!1); function H() { const G = { 1: "Withdraw-BankCard", 3: "Withdraw-USDT", 10: "Withdraw-USDT", 5: "Withdraw-PIX", }; f.replace({ name: G[U.type] }); } const N = E(() => { var he, Fe; if ([4, 20, 22].includes(U.type) && U.amount > 0) return !( be.value.withdrawalslist.length == 0 || U.bid == 0 || U.amount < 1 || U.amount > be.value.withdrawalsrule.canWithdrawAmount ); const le = [1, 2, 3, 5, 6, 8, 10]; return !( U.bid == 0 || !le.includes(U.type) || U.amount < 1 || ((he = A.value) != null && he.showValidate) || ((Fe = A.value) != null && Fe.showValidateUB) || (U.type == 1 && U.amount.toString().indexOf(".") != -1) ); }), z = T(!1), V = T(!1), W = T(!1), Z = T(!1), U = Ae({ amount: 0, pwd: "", type: 0, bid: 0, name: "" }); Ke(U, (G) => { p.setWithdrawal({ ...G }), n(G); }); const M = T(null), L = T(""); async function ee() { M.value && clearTimeout(M.value), (M.value = setTimeout(async () => { if (I.value.isAllowWithdraw == 0) { (B.value = !0), (W.value = !1); return; } let G = be.value.withdrawalsrule; U.amount = Number(U.amount); var le = /^\d+(\.\d{1,2})?$/; if (!le.test(U.amount.toString())) { ue(v("showDialogTip1")), (W.value = !1); return; } if (U.amount > G.maxPrice || U.amount < G.minPrice) { ue(v("wordWithdrawal", [ve(G.minPrice), ve(G.maxPrice)])), (W.value = !1); return; } m(!0); const he = await J(ls(U)); he && (he.code !== 0 && he.msgCode == 220 ? ((Z.value = !0), setTimeout(function () { Z.value = !1; }, 3e3)) : he.code !== 0 && he.msgCode == 280 ? setTimeout(function () { U.type == 20 && he != null && he.data && (localStorage.setItem( "c2cOrderNo", he == null ? void 0 : he.data ), f.push({ name: "Withdraw-C2cDetail", query: { order: he == null ? void 0 : he.data }, })); }, 2e3) : U.type == 20 ? ((V.value = !0), (L.value = he == null ? void 0 : he.data)) : (z.value = !0)), (W.value = !1), m(!1); }, 500)); } const J = async (G) => await G.then((he) => he && he.code !== 0 ? [220].includes(he.msgCode) ? he : [280].includes(he.msgCode) ? (Et(he), he) : (Et(he), null) : he ).catch((he) => (Et(he), null)); async function ie(G) { G == "c2c" ? ((V.value = !1), (U.type == 20 || U.type == 2) && L.value && (localStorage.setItem("c2cOrderNo", L.value), f.push({ name: "Withdraw-C2cDetail", query: { order: L.value }, }))) : ((z.value = !1), await f.push({ name: "WithdrawHistory" })); } function se() { var G; U.type == 21 ? (G = C.value) != null && G.isActiveC && ((U.pwd = ""), (W.value = !0)) : N.value && ((U.pwd = ""), (W.value = !0)); } const re = T([]); async function We() { var le, he; m(!0); const G = await ne(Wa()); if (G) { (re.value = (G == null ? void 0 : G.data.withdrawlist) || []), c(re.value), p.getWithdrawal.type && re.value.find((xe) => xe.withdrawID == p.getWithdrawal.type) ? (U.type = p.getWithdrawal.type) : re.value.find((xe) => xe.withdrawID == p.getWithdrawal.type) || (U.type = 0), U.type == 0 && ((U.type = re.value[0].withdrawID), (Le.value = re.value[0].name), U.type == 20 && ($.value = !0)), U.type == 4 && (Le.value = ((le = re.value.find((xe) => xe.withdrawID == 4)) == null ? void 0 : le.name) || ""), U.type == 22 && (Le.value = ((he = re.value.find((xe) => xe.withdrawID == 22)) == null ? void 0 : he.name) || ""); let Fe = localStorage.getItem("popupHideUntil") || void 0; const $t = new Date().getTime(); if (((K.value = G.data.isOpenSafeGuide), K.value)) { const xe = parseInt(Fe, 10); $t < xe && (K.value = !1), (Q.value = G.data.safeGuideContent || ""); } } m(!1); } const Le = T(""); async function Ue(G) { U.type != G.withdrawID && (G.withdrawID == 20 && ($.value = !0), (U.type = G.withdrawID), (S.value = {}), await $e(), (Le.value = G.name || ""), (U.bid = be.value.withdrawalslist.length > 0 ? be.value.withdrawalslist[0].bid : 0), (U.amount = 0), A.value && (A.value.usdtCount = 0)); } const be = T({ withdrawalslist: [], withdrawalsrule: {} }); function ge() { (S.value = be.value.withdrawalslist.find((G) => G.bid == U.bid)), S.value || ((U.bid = be.value.withdrawalslist[0].bid), (S.value = be.value.withdrawalslist[0])); } async function $e() { var le, he, Fe; m(!0); const G = await ne(ut({ withdrawid: U.type })); if ((m(!1), G)) { if ( ((be.value = G.data), u((le = G.data) == null ? void 0 : le.withdrawalsrule), G.data.lastBandCarkName ? localStorage.setItem( "lastBandCarkName", (he = G.data) == null ? void 0 : he.lastBandCarkName ) : localStorage.removeItem("lastBandCarkName"), !be.value.withdrawalslist.length) ) return; U.bid == 0 && (U.bid = ((Fe = be.value.withdrawalslist[0]) == null ? void 0 : Fe.bid) || 0), ge(), p.setWithdrawalslist(G.data.withdrawalslist); } } ke(async () => { var G, le; p.getWithdrawal.type && (U.type = p.getWithdrawal.type), (U.bid = Number( ((le = (G = f.currentRoute.value) == null ? void 0 : G.query) == null ? void 0 : le.bid) || 0 ) || 0), k({ signature: x.token }), h(), await We(), await $e(), await qe(); }); function je() { f.push({ name: "CustomerService" }); } function we() { f.push({ name: "rpwd" }); } const Me = () => { f.push({ name: "StrongBox" }); }, qe = async () => { const G = await ne(ss({ key: "C2CWithdrawRewardRate" })), le = (G == null ? void 0 : G.data.value1) || 0; b.value = Number(le); }, X = (G) => { U.amount = G; }; return (G, le) => { var Pt, Wt; const he = q("NavBar"), Fe = q("svg-icon"), $t = q("van-icon"), xe = q("van-dialog"), Yt = q("van-popup"), Bt = nt("lazy"); return ( s(), l( oe, null, [ e("div", nh, [ _( he, { title: G.$t("withdraw"), "left-arrow": "", onClickLeft: O, onClickRight: le[0] || (le[0] = (Se) => a(f).push({ name: "WithdrawHistory" })), }, { right: te(() => [ e("span", null, t(G.$t("withdrawRecords")), 1), ]), _: 1, }, 8, ["title"] ), e("div", sh, [ y("资产余额"), _( Xu, { data_NewSetWithdrawal: U, withdrawalsrule: be.value.withdrawalsrule, }, null, 8, ["data_NewSetWithdrawal", "withdrawalsrule"] ), y("提款方式"), _( hv, { data_NewSetWithdrawal: U, withdrawalTypeslist: re.value, c2cAward: b.value, onOnSelectWithdrawalType: Ue, }, null, 8, ["data_NewSetWithdrawal", "withdrawalTypeslist", "c2cAward"] ), y(" upi "), U.type == 2 ? (s(), Ne( Ta, { key: 0, withdrawalslist: be.value.withdrawalslist, bid: U.bid, }, null, 8, ["withdrawalslist", "bid"] )) : y("v-if", !0), y(" c2cupi "), U.type == 20 ? (s(), l( oe, { key: 1 }, [ _( Ta, { withdrawalslist: be.value.withdrawalslist, bid: U.bid, }, null, 8, ["withdrawalslist", "bid"] ), _( Ep, { c2crule: be.value.withdrawalsrule, c2cAward: b.value, onSetc2cAmount: X, c2cName: ((Pt = re.value.find( (Se) => Se.withdrawID == 20 )) == null ? void 0 : Pt.name) || "", }, { default: te(() => [ e("div", lh, [ e( "button", { class: ae([ "recycleBtn", { active: N.value }, ]), onClick: se, }, t(G.$t("withdraw")), 3 ), ]), ]), _: 1, }, 8, ["c2crule", "c2cAward", "c2cName"] ), _(d_, { ref_key: "c2cRecordRef", ref: w }, null, 512), ], 64 )) : U.type == 21 ? (s(), Ne( Q_, { key: 2, onOnShowPwdD: le[1] || (le[1] = (Se) => se()), ref_key: "ArCardRef", ref: C, }, null, 512 )) : U.type == 4 || U.type == 22 ? (s(), l( oe, { key: 3 }, [ _( T_, { withdrawalslist: be.value.withdrawalslist, withdrawType: U.type, bid: U.bid, name: Le.value, }, null, 8, ["withdrawalslist", "withdrawType", "bid", "name"] ), _( g_, { rule: be.value.withdrawalsrule, award: b.value, onSetc2cAmount: X, name: ((Wt = re.value.find( (Se) => Se.withdrawID == 20 )) == null ? void 0 : Wt.name) || "", }, { default: te(() => [ e("div", oh, [ e( "button", { class: ae([ "recycleBtn", { active: N.value }, ]), onClick: se, }, t(G.$t("withdraw")), 3 ), ]), ]), _: 1, }, 8, ["rule", "award", "name"] ), y("提现记录"), _( oa, { ref_key: "withdrawHistory", ref: R }, null, 512 ), ], 64 )) : (s(), l( oe, { key: 4 }, [ y("银行卡模块"), be.value.withdrawalslist.length ? (s(), l( "div", { key: 0, class: "bankInfo", onClick: le[2] || (le[2] = (Se) => H()), }, [ [1, 5].includes(U.type) ? (s(), l( "div", { key: 0, class: ae([ "bankInfoItem", `type${U.type}`, ]), }, [ e("div", null, [ _(Fe, { name: U.type }, null, 8, [ "name", ]), e( "span", null, t(S.value.bankName), 1 ), ]), e("div", null, [ e( "span", null, t(S.value.beneficiaryName), 1 ), e( "span", null, t(S.value.accountNo), 1 ), ]), _($t, { name: "arrow" }), ], 2 )) : y("v-if", !0), [3, 10].includes(U.type) ? (s(), l("div", ih, [ e("div", null, [ e( "img", { src: a(ye)( "wallet/withdrawType", `${U.type}` ), }, null, 8, rh ), e( "span", null, t(S.value.bankName), 1 ), ]), e("div", null, [ e( "span", null, t(S.value.accountNo), 1 ), _($t, { name: "arrow" }), ]), e("div", null, [ e( "span", null, t(S.value.usdtRemarkName), 1 ), ]), ])) : y("v-if", !0), [6, 8].includes(U.type) ? (s(), l("div", ch, [ e("div", null, [ e( "img", { src: a(ye)( "wallet/withdrawType", `${U.type}` ), }, null, 8, dh ), U.type == 6 ? (s(), l( "span", uh, t(S.value.bankName), 1 )) : y("v-if", !0), U.type == 8 ? (s(), l( "span", vh, t(S.value.walletName), 1 )) : y("v-if", !0), ]), e("div", null, [ U.type == 6 ? (s(), l( "span", ph, t(S.value.accountNo), 1 )) : y("v-if", !0), U.type == 8 ? (s(), l( "span", _h, t(S.value.mobileNO), 1 )) : y("v-if", !0), ]), ])) : y("v-if", !0), ] )) : y("v-if", !0), _e( _( Kt, { type: U.type, isShowhintTextO: !0 }, null, 8, ["type"] ), [ [ It, [1, 3, 6, 8, 5, 10].includes(U.type) && be.value.withdrawalslist.length == 0, ], ] ), y("输入区"), _( Fv, { data_NewSetWithdrawal: U, withdrawalsrule: be.value.withdrawalsrule, ref_key: "withdrawField", ref: A, }, null, 8, ["data_NewSetWithdrawal", "withdrawalsrule"] ), e("div", hh, [ e( "button", { class: ae(["recycleBtn", { active: N.value }]), onClick: se, }, t(G.$t("withdraw")), 3 ), ]), y("提现说明组件"), _( Gt, { withdrawType: U.type, withdrawalsrule: be.value.withdrawalsrule, }, null, 8, ["withdrawType", "withdrawalsrule"] ), y("提现记录"), _( oa, { ref_key: "withdrawHistory", ref: R }, null, 512 ), ], 64 )), ]), y("提现成功弹窗"), _( xe, { show: z.value, "onUpdate:show": le[4] || (le[4] = (Se) => (z.value = Se)), "show-confirm-button": !1, "z-index": "100", }, { default: te(() => [ _e(e("img", mh, null, 512), [ [Bt, a(ye)("public", "succeed")], ]), e( "div", fh, t(G.$t("tipWithdrawalApplicationSuccess")), 1 ), e("div", wh, [ e( "span", null, t(G.$t("tipWithdrawWillBeCompletedIn2Hours")), 1 ), e( "span", null, t(G.$t("tipPlaWaitPaciently")) + "...", 1 ), ]), e( "div", { class: "van-dialog__content-btn", onClick: le[3] || (le[3] = (Se) => ie()), }, t(G.$t("confirm")), 1 ), ]), _: 1, }, 8, ["show"] ), _( et, { class: "c2c", show: V.value, "onUpdate:show": le[5] || (le[5] = (Se) => (V.value = Se)), showCancelBtn: !1, onConfirm: le[6] || (le[6] = (Se) => ie("c2c")), title: G.$t("withdrawTip2"), }, { header: te(() => [ _e(e("img", yh, null, 512), [ [Bt, a(ye)("public", "succeed")], ]), ]), content: te(() => [ e("div", gh, [ e( "h1", { innerHTML: G.$t("withdrawTip3") }, null, 8, $h ), e( "p", { innerHTML: G.$t("withdrawTip4") }, null, 8, kh ), ]), ]), _: 1, }, 8, ["show", "title"] ), y("输入密码弹窗"), W.value ? (s(), Ne( Yt, { key: 0, show: W.value, "onUpdate:show": le[9] || (le[9] = (Se) => (W.value = Se)), position: "bottom", closeable: "", round: "", }, { default: te(() => [ e("div", bh, [ e("div", Ch, [ _(Fe, { name: "safeIcon" }), e("h1", null, t(G.$t("withdrawDialogDesc1")), 1), ]), Th, Sh, _( ks, { value: U.pwd, "onUpdate:value": le[7] || (le[7] = (Se) => (U.pwd = Se)), label: G.$t("withdrawDialogPh"), maxlength: 32, }, null, 8, ["value", "label"] ), e("span", Ih, t(G.$t("withdrawDialogDesc3")), 1), e("div", Nh, [ D.value ? (s(), l( "span", { key: 0, onClick: we }, t(G.$t("withdrawDialogDesc4")), 1 )) : y("v-if", !0), e( "div", { class: "red", onClick: je }, t(G.$t("withdrawDialogDesc5")), 1 ), ]), e("div", Ah, [ e( "button", { onClick: le[8] || (le[8] = () => (W.value = !1)), }, t(G.$t("withdrawDialogDesc6")), 1 ), e( "button", { onClick: ee }, t(G.$t("withdrawDialogDesc7")), 1 ), ]), ]), ]), _: 1, }, 8, ["show"] )) : y("v-if", !0), y("不在提现时间内提示"), _( xe, { show: Z.value, "onUpdate:show": le[10] || (le[10] = (Se) => (Z.value = Se)), "show-confirm-button": !1, "z-index": "100", }, { default: te(() => [_(ah)]), _: 1 }, 8, ["show"] ), _( xe, { show: $.value, "onUpdate:show": le[12] || (le[12] = (Se) => ($.value = Se)), showConfirmButton: !1, class: "c2cconfirm", width: "100%", }, { default: te(() => [ $.value ? (s(), Ne( Ip, { key: 0, showC2c: $.value, "onUpdate:showC2c": le[11] || (le[11] = (Se) => ($.value = Se)), }, null, 8, ["showC2c"] )) : y("v-if", !0), ]), _: 1, }, 8, ["show"] ), _( et, { show: B.value, "onUpdate:show": le[13] || (le[13] = (Se) => (B.value = Se)), showCancelBtn: !1, showCloseIcon: !0, clickOutSide: !0, onConfirm: le[14] || (le[14] = () => (B.value = !1)), }, { content: te(() => [ e("h1", null, t(G.$t("withdrwsTip1")), 1), ]), _: 1, }, 8, ["show"] ), ]), _( xe, { "class-name": "safebox-dialog", show: K.value, "onUpdate:show": le[16] || (le[16] = (Se) => (K.value = Se)), }, { footer: te(() => [ e("div", Rh, t(G.$t("safeG")), 1), e( "div", { class: ae(["active", { a: i.value }]), onClick: o }, [ _(Fe, { name: "active" }), j(t(G.$t("checkSafeBox")), 1), ], 2 ), e("div", Uh, [ e( "div", { onClick: le[15] || (le[15] = (Se) => (K.value = !1)), }, t(G.$t("no")), 1 ), e("div", { onClick: Me }, t(G.$t("go")), 1), ]), ]), default: te(() => [ e( "div", { class: "content", innerHTML: Q.value }, null, 8, Dh ), ]), _: 1, }, 8, ["show"] ), ], 64 ) ); }; }, }); const Ph = de(Bh, [ ["__scopeId", "data-v-80a607a5"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/index.vue", ], ]), rk = Object.freeze( Object.defineProperty( { __proto__: null, default: Ph }, Symbol.toStringTag, { value: "Module" } ) ), Wh = { class: "rechargeh__container" }, Oh = { class: "rechargeh__container_header" }, Lh = { class: "tabDiv" }, Mh = { key: 0, class: "c2cType" }, qh = { class: "ar" }, Vh = { class: "ar-searchbar" }, Eh = { class: "rechargeh__container-content__item-header ar-1px-b" }, jh = { class: "rechargeh__container-content__item-body" }, xh = ["onUpdate:modelValue"], Hh = ce({ __name: "index", setup(g) { const { t: n } = Te(), { setLoading: u } = Ye(), c = T(!1), i = me(); function o() { i.back(); } const v = T([]), m = T(!1), k = T(""), h = T(!1), r = async ({ selectedOptions: K }) => { var H; (m.value = !1), (k.value = K[0].key), (I.state = K[0].value), (H = x.value) == null || H.resetRefresh(); }, f = T($a), p = T(); let A = T([]); const C = T(!1), R = T(-1), S = T(null), w = Ke(R, (K, H) => { (k.value = Oe.RechargeState[0].key), (I.state = Oe.RechargeState[0].value), (I.type = A.value[K].withdrawID), I.type == 20 ? ((p.value = [ { key: n("withdrawStatem1"), value: -1 }, { key: n("c2cState0"), value: 0 }, { key: n("c2cState1"), value: 1 }, { key: n("c2cState2"), value: 2 }, { key: n("c2cState3"), value: 3 }, { key: n("c2cState4"), value: 4 }, { key: n("c2cTip9"), value: 5 }, { key: n("c2cState6"), value: 6 }, { key: n("c2cState7"), value: 7 }, { key: n("c2cState8"), value: 8 }, { key: n("c2cState9"), value: 9 }, ]), (k.value = Oe.C2cState[0].key), (I.state = Oe.C2cState[0].value), (I.category = -1), (f.value = Pa), (C.value = !0), (I.type = -1)) : (clearInterval(S.value), (p.value = Oe.WithdrawState), delete I.category, (C.value = !1), (f.value = $a)), Sn(() => { var N; (N = x.value) == null || N.resetRefresh(); }); }); function b() { S.value = setInterval(() => { var K; (K = x.value) == null || K.resetRefresh(); }, 1e4); } Ke( () => v.value, (K) => { C.value && K.findIndex((H) => H.state === 11 || H.state === 12) != -1 ? (clearInterval(S.value), b()) : clearInterval(S.value); } ); async function $() { u(!0); const K = await ne(Wa()); if (K) { let H = K == null ? void 0 : K.data.withdrawlist; H.unshift({ withdrawID: -1, name: n("all"), isAdd: 0 }), (A.value = H); } u(!1); } ke(async () => { setTimeout(() => { (k.value = n("all")), (p.value = Oe.WithdrawState); }), await $(); }), At(() => { w(); }), _t(() => { clearInterval(S.value); }); function B() { (m.value = !0), (h.value = !0); } const D = T(); async function O() { var H; let K = D.value.endDateValue !== "" ? `${D.value.endDateValue} 23:59:59` : ""; (I.startDate = Nt(D.value.startDateValue).format( "YYYY-MM-DD HH:mm:ss" )), (I.endDate = Nt(K).format("YYYY-MM-DD HH:mm:ss")), (H = x.value) == null || H.resetRefresh(); } const x = T(), I = Ae({ startDate: "", endDate: "", state: Oe.RechargeState[0].value, type: -1, }), Q = (K) => { var H; (I.type = K), K == 1 ? (p.value = [ { key: n("withdrawStatem1"), value: -1 }, { key: n("c2cState0"), value: 0 }, { key: n("c2cState1"), value: 1 }, { key: n("c2cState2"), value: 2 }, { key: n("c2cState3"), value: 3 }, { key: n("c2cState8"), value: 8 }, { key: n("c2cState9"), value: 9 }, ]) : (p.value = [ { key: n("withdrawStatem1"), value: -1 }, { key: n("c2cState4"), value: 4 }, { key: n("c2cTip9"), value: 5 }, { key: n("c2cState6"), value: 6 }, { key: n("c2cState7"), value: 7 }, ]), (k.value = Oe.C2cState[0].key), (I.state = Oe.C2cState[0].value), (H = x.value) == null || H.resetRefresh(); }; return (K, H) => { const N = q("NavBar"), z = q("svg-icon"), V = q("van-tab"), W = q("van-tabs"), Z = q("ArSelect"), U = q("van-picker"), M = q("van-popup"); return ( s(), l("div", Wh, [ _( N, { class: "white", title: K.$t("withdrawRecords"), "left-arrow": "", onClickLeft: o, }, null, 8, ["title"] ), e("div", Oh, [ _( W, { class: "onlineGames__container-tabBar", active: R.value, "onUpdate:active": H[0] || (H[0] = (L) => (R.value = L)), type: "card", ref: "tabsRef", ellipsis: "", "swipe-threshold": 3, }, { default: te(() => [ (s(!0), l( oe, null, Ce( a(A), (L, ee) => ( s(), Ne( V, { key: ee }, In({ _: 2 }, [ L.withdrawID === -1 ? { name: "title", fn: te(() => [ e("div", Lh, [ _(z, { name: "all" }), j(" " + t(L.name), 1), ]), ]), key: "0", } : { name: "title", fn: te(() => [ e("div", { class: "tabDiv" }, [ R.value == ee ? (s(), l( "img", { key: 0, src: L.withAfterImgUrl, }, null, 8, ["src"] )) : (s(), l( "img", { key: 1, src: L.withBeforeImgUrl, }, null, 8, ["src"] )), j(" " + t(L.name), 1), ]), ]), key: "1", }, ]), 1024 ) ) ), 128 )), ]), _: 1, }, 8, ["active"] ), C.value ? (s(), l("div", Mh, [ e( "div", { class: ae({ active: I.type == 1 }), onClick: H[1] || (H[1] = (L) => Q(1)), }, t(K.$t("inTransaction")), 3 ), e( "div", { class: ae({ active: I.type == 2 }), onClick: H[2] || (H[2] = (L) => Q(2)), }, t(K.$t("completed")), 3 ), ])) : y("v-if", !0), e("div", qh, [ e("div", Vh, [ _(Z, { onClickSelect: B, selectName: k.value }, null, 8, [ "selectName", ]), y("日期选择组件"), _( La, { ref_key: "calendar", ref: D, onConfirm: O }, null, 512 ), ]), ]), ]), _( M, { show: m.value, "onUpdate:show": H[4] || (H[4] = (L) => (m.value = L)), round: "", position: "bottom", }, { default: te(() => [ _( U, { "columns-field-names": { text: "key", value: "value", children: "children", }, columns: p.value, onCancel: H[3] || (H[3] = (L) => (m.value = !1)), onConfirm: r, }, null, 8, ["columns"] ), ]), _: 1, }, 8, ["show"] ), y(" 提现记录 "), _( os, { list: v.value, "onUpdate:list": H[5] || (H[5] = (L) => (v.value = L)), "page-query": I, "onUpdate:pageQuery": H[6] || (H[6] = (L) => (I = L)), api: f.value, distance: 100, ref_key: "listRef", ref: x, "is-auto-load": c.value, }, { content: te(() => [ e( "div", { class: ae([ "rechargeh__container-content", { isC2c: C.value }, ]), }, [ C.value ? (s(), Ne(Fa, { key: 0, list: v.value }, null, 8, ["list"])) : (s(!0), l( oe, { key: 1 }, Ce( v.value, (L, ee) => ( s(), l( "div", { class: "rechargeh__container-content__item", key: ee, }, [ y( ' <div class="rechargeh__container-content__item-header ar-1px-b" @click="onToDetail(item.state)"> ' ), e("div", Eh, [ e("span", null, t(K.$t("withdraw")), 1), y( " <span>{{ item.withdrawName }}</span> " ), e( "span", { class: ae({ stateR: L.state === 0, stateG: L.state === 1, stateReject: L.state === 2, }), }, [ j( t( a(lt)( a(Oe).WithdrawState, L.state ) ) + " ", 1 ), y(' <van-icon name="arrow" /> '), ], 2 ), ]), e("div", jh, [ e("div", null, [ e("span", null, t(K.$t("amount")), 1), e("span", null, t(a(ve)(L.price)), 1), ]), e("div", null, [ e("span", null, t(K.$t("type")), 1), e("span", null, t(L.withdrawName), 1), ]), e("div", null, [ e("span", null, t(K.$t("time")), 1), e("span", null, t(L.addTime), 1), ]), e("div", null, [ e("span", null, t(K.$t("orderNo")), 1), e("span", null, t(L.withdrawNumber), 1), _( z, { onClick: (J) => a(Ie)( L.withdrawNumber.toString() ), name: "copy", }, null, 8, ["onClick"] ), ]), e("div", null, [ e( "span", null, t(K.$t("remarksContent")), 1 ), ]), e("div", null, [ y( " <span>{{ $t('remarksContent') }}</span> " ), _e( e( "textarea", { class: "textarea", name: "remark", cols: "30", rows: "10", readonly: !0, "onUpdate:modelValue": (J) => (L.remark = J), }, null, 8, xh ), [ [ It, (L == null ? void 0 : L.remark) && (L == null ? void 0 : L.remark.trim()) != "", ], [Re, L.remark], ] ), ]), ]), ] ) ) ), 128 )), ], 2 ), ]), _: 1, }, 8, ["list", "page-query", "api", "is-auto-load"] ), ]) ); }; }, }); const Fh = de(Hh, [ ["__scopeId", "data-v-e4760c44"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/WithdrawHistory/index.vue", ], ]), ck = Object.freeze( Object.defineProperty( { __proto__: null, default: Fh }, Symbol.toStringTag, { value: "Module" } ) ), zh = { key: 0 }, Kh = { class: "info" }, Gh = { class: "state_txt" }, Qh = { class: "tip" }, Yh = ["src"], Zh = { class: "btn_group" }, Xh = ["src"], Jh = ["src"], em = ce({ __name: "RechargeDetailHeader", props: { state: { type: Number, required: !0 }, info: { type: null, required: !0 }, }, emits: ["onClickRight", "appeal", "appealAdmin"], setup(g, { emit: n }) { const u = g, { t: c } = Te(), i = E(() => v.value.find((h) => h.state === u.state)), o = E(() => { var h; return (h = v.value.find((r) => r.state === u.state)) == null ? void 0 : h.state; }), v = T([ { state: 1, text: c("rechargeState0"), tip: c("rdhTip1"), tip2: c("tipPlaWaitPaciently"), icon: fe("wallet/recharge", "wait"), className: "wait", }, { state: 4, text: c("completed"), tip: c("c2cTip7"), tip2: c("c2cTip8"), icon: fe("wallet/recharge", "success"), className: "success", }, { state: 5, text: c("rechargeState4"), tip: c("rdhTip2"), tip2: c("rdhTip3"), icon: fe("wallet/recharge", "fail"), className: "fail", }, { state: 7, text: c("rechargeState1"), tip: c("rdhTip4"), tip2: c("rdhTip5"), icon: fe("wallet/recharge", "timeout"), className: "timeout", }, { state: 6, text: c("cancelled"), tip: "", icon: fe("wallet/recharge", "cancel"), className: "cancel", }, { state: 3, text: c("c2cState3"), tip: c("c2cTip5"), tip2: c("c2cTip6"), icon: fe("wallet/recharge", "appeal"), className: "appeal", }, { state: 8, text: c("c2cState14"), tip: c("amountError1"), tip2: c("c2cTip33"), icon: fe("wallet/recharge", "amount_error"), className: "appeal", }, ]), m = () => { n("onClickRight"); }, k = () => { is.go(-1); }; return ( Ke( () => u.info, (h) => { u.state === 6 && (v.value[4].tip = h == null ? void 0 : h.cancelReason); }, { immediate: !0 } ), (h, r) => { var p, A, C, R, S, w, b, $, B; const f = q("NavBar"); return ( s(), l( "div", { class: ae([ "upi_detail_header", (p = i.value) == null ? void 0 : p.className, ]), }, [ _( f, { title: "", "left-arrow": "", onClickLeft: k, onClickRight: m, }, { right: te(() => [ v.value === 3 ? (s(), l("div", zh, t(h.$t("concelOrder")), 1)) : y("v-if", !0), ]), _: 1, } ), e("div", Kh, [ e("div", Gh, [ j(t((A = i.value) == null ? void 0 : A.text) + " ", 1), ((C = h.info) == null ? void 0 : C.state) === 1 ? (s(), Ne( Ha, { "start-time": (R = h.info) == null ? void 0 : R.endTime, "end-time": (S = h.info) == null ? void 0 : S.serviceTime, "class-name": "state_txt", key: (w = h.info) == null ? void 0 : w.id, }, null, 8, ["start-time", "end-time"] )) : y("v-if", !0), ]), e("div", Qh, [ e( "div", null, t((b = i.value) == null ? void 0 : b.tip), 1 ), e( "div", null, t(($ = i.value) == null ? void 0 : $.tip2), 1 ), ]), ]), e( "img", { src: (B = i.value) == null ? void 0 : B.icon, class: "state_img", alt: "", }, null, 8, Yh ), e("div", Zh, [ o.value === 7 ? (s(), l( "div", { key: 0, class: "appeal", onClick: r[0] || (r[0] = () => { n("appeal"); }), }, [ e( "img", { src: a(fe)("wallet/recharge/detail", "appeal"), alt: "", }, null, 8, Xh ), j(" " + t(h.$t("appeal")), 1), ] )) : y("v-if", !0), o.value === 3 ? (s(), l( "div", { key: 1, class: "appeal_admin", onClick: r[1] || (r[1] = () => { n("appealAdmin"); }), }, t(h.$t("AppealsAdmin")), 1 )) : y("v-if", !0), o.value === 7 || o.value === 3 || o.value === 1 ? (s(), l( "div", { key: 2, class: "cancel", onClick: r[2] || (r[2] = () => { n("onClickRight"); }), }, [ e( "img", { src: a(fe)("common", "close"), alt: "" }, null, 8, Jh ), j(" " + t(h.$t("concelOrder")), 1), ] )) : y("v-if", !0), ]), ], 2 ) ); } ); }, }); const tm = de(em, [ ["__scopeId", "data-v-fb8ab76f"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Recharge/RechargeDetailHeader.vue", ], ]), Qt = (g) => (Be("data-v-f3187262"), (g = g()), Pe(), g), am = { key: 0, style: { padding: "20px 16px 0" } }, nm = { class: "order_info" }, sm = { class: "title" }, lm = ["src"], om = Qt(() => e("div", { class: "dir" }, null, -1)), im = { class: "order_info_box" }, rm = { class: "order_info_item" }, cm = { class: "title" }, dm = { class: "amount" }, um = { class: "order_info_item" }, vm = { class: "title" }, pm = { class: "order_info_item" }, _m = { class: "title" }, hm = { class: "order_info_item" }, mm = { class: "title" }, fm = { class: "time" }, wm = { key: 0, class: "order_info_item" }, ym = { class: "title" }, gm = { class: "time" }, $m = Qt(() => e("div", { class: "divider" }, null, -1)), km = { class: "order_info_box" }, bm = { class: "order_info_item" }, Cm = Qt(() => e("div", { class: "title" }, "UTR", -1)), Tm = { class: "order_num" }, Sm = ["src"], Im = { class: "order_info_item" }, Nm = { class: "title" }, Am = { class: "order_num" }, Dm = ["src"], Rm = { class: "order_info_item" }, Um = { class: "title" }, Bm = { class: "time" }, Pm = { class: "upi_info" }, Wm = { class: "upi_title" }, Om = { class: "order_info_box" }, Lm = { class: "order_info_item" }, Mm = Qt(() => e("div", { class: "title" }, "UPI", -1)), qm = { class: "order_num" }, Vm = ["src"], Em = { key: 1, class: "upi_info" }, jm = { class: "upi_title" }, xm = ["src"], Hm = { key: 2 }, Fm = { class: "upi_info" }, zm = { class: "upi_title tit_img" }, Km = ["src", "onClick"], Gm = { key: 0, class: "upi_info" }, Qm = { class: "upi_title tit_video" }, Ym = { style: { width: "100%" }, controls: "" }, Zm = ["src"], Xm = ce({ __name: "index", setup(g) { const n = me(), u = T(3), c = T(), i = T(-1), o = T(), v = T(), m = Ve(), k = E(() => { var b, $; return !!( ((b = c.value) != null && b.isAppealCompleted) || [4, 3, 7, 1].includes(($ = c.value) == null ? void 0 : $.state) ); }), h = E(() => { var w, b; if ((w = c.value) != null && w.ossUrls) return ( m.getOSSUrl + "/" + JSON.parse( ((b = c.value) == null ? void 0 : b.ossUrls) || "[]" )[0].fileUrl || "" ); }), r = E(() => { var w, b; return (w = c.value) != null && w.withdrawOssUrls ? JSON.parse( (b = c.value) == null ? void 0 : b.withdrawOssUrls ).filter(($) => $.fileType === 1) : []; }), f = E(() => { var w, b, $; return (w = c.value) != null && w.withdrawOssUrls ? ($ = JSON.parse( (b = c.value) == null ? void 0 : b.withdrawOssUrls ).filter((B) => B.fileType === 2)[0]) == null ? void 0 : $.fileUrl : []; }), p = async (w) => { const b = await ne(ra({ orderId: w })); b && ((c.value = b.data), (o.value = b.data), (i.value = b.data.state), c.value.state === 4 && (u.value = 4), c.value.state === 5 && c.value.isAppealCompleted && (u.value = 4), i.value !== 1 && v.value && clearInterval(v.value), (i.value === 3 || i.value === 7) && S()); }, A = () => { var w; n.push({ name: "CancelRecharge", query: { orderNo: (w = c.value) == null ? void 0 : w.id }, }); }, C = async () => { var w, b, $; try { await ne(rs({ orderId: (w = c.value) == null ? void 0 : w.id })), await p((b = c.value) == null ? void 0 : b.id), St({ message: "申诉成功", type: "success" }), R(), (i.value = ($ = c.value) == null ? void 0 : $.state); } catch {} }, R = () => { var w; Tawk_API.toggle(), window.Tawk_API.setAttributes( { order: (w = c.value) == null ? void 0 : w.id, store: "recharge", }, function (b) {} ); }, S = () => { let w = "https://embed.tawk.to/6452138631ebfa0fe7fbb175/1hb0ug9qm"; if (!document.getElementById("tawk-chatjs")) { let b = document.createElement("script"); (b.id = "tawk-chatjs"), (b.async = !0), (b.src = w), document.head.appendChild(b); } }; return ( ke(() => { i.value = Number(n.currentRoute.value.query.state); const w = Number(n.currentRoute.value.query.orderNo) || -1; p(w), i.value === 1 ? (v.value = setInterval(() => { p(w); }, 5e3)) : clearInterval(v.value), (i.value === 3 || i.value === 7) && S(); }), At(() => { v.value && clearInterval(v.value); }), (w, b) => { var B, D, O, x, I, Q, K, H, N, z, V, W, Z; const $ = q("van-divider"); return ( s(), l("div", null, [ (s(), Ne( tm, { state: i.value, info: o.value, onOnClickRight: A, onAppeal: C, onAppealAdmin: R, key: i.value, }, null, 8, ["state", "info"] )), k.value ? (s(), l("div", am, [ _( ja, { state: u.value, type: ((B = c.value) != null && B.isAppealCompleted) || ((D = c.value) == null ? void 0 : D.state) === 3 ? 2 : 1, }, null, 8, ["state", "type"] ), ])) : y("v-if", !0), e("div", nm, [ e("div", sm, [ e( "img", { src: a(ye)("wallet", "upi"), alt: "" }, null, 8, lm ), e("span", null, "New UPI " + t(w.$t("recharge")), 1), ]), om, e("div", im, [ e("div", rm, [ e("div", cm, t(w.$t("orderAmount")), 1), e( "span", dm, t(a(ve)((O = c.value) == null ? void 0 : O.orderAmount)), 1 ), ]), e("div", um, [ e("div", vm, t(w.$t("actualAmount")), 1), e( "span", null, t(a(ve)((x = c.value) == null ? void 0 : x.finalAmount)), 1 ), ]), e("div", pm, [ e("div", _m, t(w.$t("award")), 1), e( "span", null, t( a(ve)((I = c.value) == null ? void 0 : I.discountAmount) ), 1 ), ]), e("div", hm, [ e("div", mm, t(w.$t("orderTime")), 1), e( "span", fm, t((Q = c.value) == null ? void 0 : Q.createTime), 1 ), ]), ((K = c.value) == null ? void 0 : K.state) === 8 ? (s(), l("div", wm, [ e("div", ym, t(w.$t("c2cTip47")), 1), e( "span", gm, t((H = c.value) == null ? void 0 : H.lastUpdateTime), 1 ), ])) : y("v-if", !0), ]), $m, e("div", km, [ e("div", bm, [ Cm, e("div", Tm, [ e( "span", null, t((N = c.value) == null ? void 0 : N.transactionNo), 1 ), e( "img", { src: a(fe)("wallet/recharge", "copy1"), alt: "", onClick: b[0] || (b[0] = (U) => { var M; return a(Ie)( ((M = c.value) == null ? void 0 : M.transactionNo) || "-" ); }), }, null, 8, Sm ), ]), ]), e("div", Im, [ e("div", Nm, t(w.$t("orderNo")), 1), e("div", Am, [ e( "span", null, t((z = c.value) == null ? void 0 : z.orderNo), 1 ), e( "img", { src: a(fe)("wallet/recharge", "copy1"), alt: "", onClick: b[1] || (b[1] = (U) => { var M; return a(Ie)( ((M = c.value) == null ? void 0 : M.orderNo) || "-" ); }), }, null, 8, Dm ), ]), ]), e("div", Rm, [ e("div", Um, t(w.$t("PaymentTime")), 1), e( "span", Bm, t((V = c.value) == null ? void 0 : V.confrimBeginTime), 1 ), ]), ]), ]), e("div", Pm, [ e("div", Wm, t(w.$t("information")), 1), _($), e("div", Om, [ e("div", Lm, [ Mm, e("div", qm, [ e( "span", null, t( ((W = c.value) == null ? void 0 : W.sellerAccountNo) || "--" ), 1 ), e( "img", { src: a(fe)("wallet/recharge", "copy1"), alt: "", onClick: b[2] || (b[2] = (U) => { var M; return a(Ie)( ((M = c.value) == null ? void 0 : M.sellerAccountNo) || "-" ); }), }, null, 8, Vm ), ]), ]), ]), ]), ((Z = c.value) == null ? void 0 : Z.state) !== 8 ? (s(), l("div", Em, [ e("div", jm, t(w.$t("c2cTip50")), 1), _($), e( "img", { src: h.value, class: "pay_img", alt: "", onClick: b[3] || (b[3] = () => { a(sa)({ images: [h.value || ""], closeable: !0 }); }), }, null, 8, xm ), ])) : (s(), l("div", Hm, [ e("div", Fm, [ e("div", zm, t(w.$t("c2cTip48")), 1), _($), (s(!0), l( oe, null, Ce( r.value, (U) => ( s(), l( "img", { src: a(m).getOSSUrl + "/" + U.fileUrl, class: "withdraw_img", alt: "", onClick: () => { a(sa)({ images: [a(m).getOSSUrl + "/" + U.fileUrl], closeable: !0, }); }, }, null, 8, Km ) ) ), 256 )), ]), f.value ? (s(), l("div", Gm, [ e("div", Qm, t(w.$t("c2cTip49")), 1), _($), e("video", Ym, [ e( "source", { src: a(m).getOSSUrl + "/" + f.value }, null, 8, Zm ), ]), ])) : y("v-if", !0), ])), y(` <div class="btn_group"> <div class="appeal" v-if="orderDetail?.state === 7" @click="handleAppeal">{{ $t('appeal') }}</div> <div class="appeal_admin" v-if="orderDetail?.state === 3" @click="handleAppealAdmin">{{ $t('AppealsAdmin') }}</div> <div class="cancel" @click="handleCancelOrder" v-if="orderDetail?.state === 7 || orderDetail?.state === 3 || orderDetail?.state === 1" > {{ $t('concelOrder') }} </div> </div> `), ]) ); } ); }, }); const Jm = de(Xm, [ ["__scopeId", "data-v-f3187262"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/RechargeHistory/RechargeUpiDetail/index.vue", ], ]), dk = Object.freeze( Object.defineProperty( { __proto__: null, default: Jm }, Symbol.toStringTag, { value: "Module" } ) ), e1 = { class: "chooseBank__container" }, t1 = { class: "search" }, a1 = ["placeholder"], n1 = { class: "chooseBank__container-content" }, s1 = { class: "chooseBank__container-content-items" }, l1 = { class: "ar-1px-b" }, o1 = ["onClick"], i1 = { class: "chooseBank__container-content-items__title" }, r1 = ["src"], c1 = ce({ __name: "index", emits: ["onSelectItem"], setup(g, { emit: n }) { const u = T(""); let c = Ae([]), i = T([]); function o(m) { n("onSelectItem", m); } async function v() { const m = await ne(ht({ withdrawid: 1 })); m && ((c = m.data.banklist), (i.value = c)); } return ( Ke(u, () => { c.length > 0 && (i.value = c.filter( (m) => m.bankName.toLowerCase().indexOf(u.value.toLowerCase()) !== -1 )); }), ke(() => { v(); }), (m, k) => { const h = q("van-icon"); return ( s(), l("div", e1, [ e("div", t1, [ _(h, { name: "search", size: "35" }), _e( e( "input", { placeholder: m.$t("phSearchBank"), "onUpdate:modelValue": k[0] || (k[0] = (r) => (u.value = r)), }, null, 8, a1 ), [[Re, u.value, void 0, { trim: !0 }]] ), ]), e("div", n1, [ e("div", s1, [ e("div", l1, t(m.$t("selectBank")), 1), (s(!0), l( oe, null, Ce( a(i), (r) => ( s(), l( "div", { key: r.bankID, class: "chooseBank__container-content-items__item ar-1px-b", onClick: (f) => o(r), }, [ e("div", i1, [ e( "img", { src: r.bankLogo, alt: "" }, null, 8, r1 ), e("span", null, t(r.bankName), 1), ]), ], 8, o1 ) ) ), 128 )), ]), ]), ]) ); } ); }, }); const Ka = de(c1, [ ["__scopeId", "data-v-c1c91417"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/ChooseBank/index.vue", ], ]), uk = Object.freeze( Object.defineProperty( { __proto__: null, default: Ka }, Symbol.toStringTag, { value: "Module" } ) ), d1 = { class: "addBankCard__container" }, u1 = { key: 0, class: "addBankCard__container-content" }, v1 = { class: "addBankCard__container-content-top" }, p1 = ["src"], _1 = { class: "addBankCard__container-content-item" }, h1 = { class: "label" }, m1 = { class: "addBankCard__container-content-item" }, f1 = { class: "label" }, w1 = ["placeholder", "readonly"], y1 = { key: 0, class: "red" }, g1 = { key: 1, class: "red" }, $1 = { class: "addBankCard__container-content-item" }, k1 = { class: "label" }, b1 = ["placeholder"], C1 = { class: "addBankCard__container-content-item" }, T1 = { class: "label phone_icon" }, S1 = ["placeholder"], I1 = { key: 0, class: "addBankCard__container-content-item" }, N1 = { class: "label" }, A1 = ["placeholder"], D1 = { key: 1, class: "addBankCard__container-content-item" }, R1 = { class: "label" }, U1 = ["placeholder"], B1 = { key: 2, class: "addBankCard__container-content-item" }, P1 = { class: "label" }, W1 = ["placeholder"], O1 = { key: 3, class: "addBankCard__container-content-item" }, L1 = { class: "label" }, M1 = ["placeholder"], q1 = { class: "addBankCard__container-content-btn" }, V1 = { key: 1 }, E1 = ce({ __name: "index", setup(g) { const { t: n } = Te(), u = T(0), { setLoading: c } = Ye(), i = Ht(), o = me(), { isOpenWithdraw: v, isOpenAddBankCardOpenEmail: m } = mt(), k = o.currentRoute.value.query.fromV || "Withdraw-BankCard", h = T(), { iseditor: r, onInput: f, setUL: p, onLoad: A, makeTxt: C } = it(), R = E(() => (h.value ? h.value : n("addCardMsg1"))); function S(M) { (I.bankid = M.bankID), (h.value = M.bankName), (u.value = 0); } const w = E(() => u.value == 0 ? n("titleAddBankCard") : n("selectBank") ), b = T(!1), $ = T(!1), B = T(!1), D = Ve(), O = E(() => D.getDollarSign); O.value && ((b.value = ["₫", "K"].includes(O.value)), ($.value = O.value == "₹"), (B.value = O.value == "৳")); function x() { if (u.value > 0) return (u.value = 0); o.replace({ name: k, query: { type: "Add" } }); } const I = Ae({ smsCode: "", ifsccode: "", bankid: 0, beneficiaryname: "", accountno: "", email: "", mobileno: "", bankcitycode: "", bankprovincecode: "", bankbranchaddress: "", type: "", codeType: Qe.addBankCard, }), K = ft({ content: () => _( wt, { type: I.type, "onUpdate:type": (M) => (I.type = M), code: I.smsCode, "onUpdate:code": (M) => (I.smsCode = M), onConfirm: V, codeType: Qe.addBankCard, }, null ), beforeClose: () => { I.smsCode = ""; }, }), H = E( () => !( I.beneficiaryname.trim().length == 0 || I.accountno.trim().length == 0 || I.mobileno.trim().length == 0 || (!$.value && !B.value && I.bankbranchaddress.trim().length == 0) || I.bankid == 0 || ($.value == !0 && I.ifsccode.trim().length == 0) || (B.value == !0 && I.ifsccode.trim().length == 0) ) ), N = () => { const M = localStorage.getItem("numberType") || i.userForm.numberType; if (!H.value) return !1; if (I.bankid == 0) return ue({ message: n("addCardMsg1"), wordBreak: "break-word" }); if (I.beneficiaryname.toString().trim().length == 0) return ue({ message: n("addCardMsg2"), wordBreak: "break-word" }); if (I.accountno.toString().trim().length == 0) return ue({ message: n("addCardMsg3"), wordBreak: "break-word" }); { let L; if (O.value == "R$") { if (((L = /^[0-9\-]{6,25}$/), I.accountno.indexOf("-") == -1)) return ue({ message: n("code212"), wordBreak: "break-word" }); } else L = /^[0-9]{6,25}$/; if (!L.test(I.accountno)) return ue({ message: n("code212"), wordBreak: "break-word" }); } if ( R.value.toUpperCase() == "STATE BANK OF INDIA" && I.accountno.toString().trim().charAt(0) == "0" ) return ue({ message: n("addBC1", [R.value]), wordBreak: "break-word", }); if (I.mobileno.toString().trim().length == 0) return ue({ message: n("addCardMsg4"), wordBreak: "break-word" }); if (!ua(M, I.mobileno.trim().length)) return ue({ message: n("wrongTel"), wordBreak: "break-word" }); if ( I.bankbranchaddress.toString().trim().length == 0 && !$.value && !B.value ) return ue({ message: n("addCardMsg5"), wordBreak: "break-word" }); if (m.value && I.email.toString().trim().length == 0) return ue({ message: n("addCardMsg6"), wordBreak: "break-word" }); if ($.value == !0) { if (I.ifsccode.trim().length == 0) return ue({ message: n("phEnter") + n("IFSCCode"), wordBreak: "break-word", }); if (!/^[A-Za-z]{4}0[A-Za-z0-9]{6}$/.test(I.ifsccode)) return ue({ message: n("IFSCCode") + n("formatErr"), wordBreak: "break-word", }); } return m.value && !Ma.email1.test(I.email) ? ue({ message: n(qa.email), wordBreak: "break-word" }) : B.value == !0 && I.ifsccode.trim().length == 0 ? ue({ message: n("phEnter") + " Routing Number", wordBreak: "break-word", }) : !0; }; async function z() { if (((I.smsCode = ""), N() === !0)) { if (v.value) return K.open(); await V(); } } async function V() { const M = localStorage.getItem("numberType") || i.userForm.numberType; c(!0), (I.beneficiaryname = I.beneficiaryname.trim()), (await ne(cs(Object.assign({}, I, { mobileno: M + I.mobileno })))) && (Ge(n("addedSuccessfully")), K.close(), await o.replace({ name: k, query: { type: "Add" }, replace: !0 })), c(!1); } function W() { O.value == "R$" ? (I.accountno = I.accountno.replace(/[^\d\-]+/g, "")) : (I.accountno = I.accountno.replace(/[^\d]+/g, "")); } const Z = () => { (I.ifsccode = I.ifsccode.replace(/[^a-zA-Z0-9]/g, "")), p(I, "ifsccode"); }; function U() { u.value = 2; } return ( A(I, "beneficiaryname"), (M, L) => { const ee = q("NavBar"), J = q("svg-icon"), ie = q("van-icon"); return ( s(), l("div", d1, [ _( ee, { title: w.value, "left-arrow": "", onClickLeft: x }, null, 8, ["title"] ), u.value == 0 ? (s(), l("div", u1, [ e("div", v1, [ e("img", { src: a(ye)("wallet", "hint") }, null, 8, p1), e( "span", null, t(M.$t("tipBindUrOwnCardToEnsureFundSafety")), 1 ), ]), e("div", _1, [ e("div", h1, [ _(J, { name: "bank" }), j(" " + t(M.$t("selectBank")), 1), ]), e("div", { class: "selectB", onClick: U }, [ j(t(R.value) + " ", 1), _(ie, { name: "arrow" }), ]), ]), y("验证收款人姓名"), e("div", m1, [ e("div", f1, [ _(J, { name: "name" }), j(" " + t(M.$t("payeeName")), 1), ]), _e( e( "input", { placeholder: M.$t("phEnterPayeeName"), "onUpdate:modelValue": L[0] || (L[0] = (se) => (I.beneficiaryname = se)), maxlength: "50", onInput: L[1] || (L[1] = (se) => a(C)(I, "beneficiaryname")), readonly: a(r), }, null, 40, w1 ), [[Re, I.beneficiaryname, void 0, { trim: !0 }]] ), b.value ? (s(), l("span", y1, t(M.$t("validateDesc21")), 1)) : y("v-if", !0), b.value ? (s(), l( "p", g1, t(M.$t("example")) + " : DINH THI HUYEN", 1 )) : y("v-if", !0), ]), e("div", $1, [ e("div", k1, [ _(J, { name: "bankCard" }), j(" " + t(M.$t("bankcardNo")), 1), ]), _e( e( "input", { placeholder: M.$t("phEnterBankcardNo"), "onUpdate:modelValue": L[2] || (L[2] = (se) => (I.accountno = se)), maxlength: "25", onInput: W, }, null, 40, b1 ), [[Re, I.accountno, void 0, { trim: !0 }]] ), ]), e("div", C1, [ e("div", T1, [ _(J, { name: "phone" }), j(" " + t(M.$t("tel")), 1), ]), _e( e( "input", { placeholder: M.$t("phEnterPayeeTel"), "onUpdate:modelValue": L[3] || (L[3] = (se) => (I.mobileno = se)), maxlength: "12", onInput: L[4] || (L[4] = (se) => a(f)(I, "mobileno")), }, null, 40, S1 ), [[Re, I.mobileno, void 0, { trim: !0 }]] ), ]), a(m) ? (s(), l("div", I1, [ e("div", N1, [ _(J, { name: "email" }), j(" " + t(M.$t("email")), 1), ]), _e( e( "input", { type: "text", placeholder: M.$t("inputemail"), "onUpdate:modelValue": L[5] || (L[5] = (se) => (I.email = se)), maxlength: "250", }, null, 8, A1 ), [[Re, I.email, void 0, { trim: !0 }]] ), ])) : y("v-if", !0), $.value ? (s(), l("div", D1, [ e("div", R1, [ _(J, { name: "ifscCode" }), j(" " + t(M.$t("IFSCCode")), 1), ]), _e( e( "input", { placeholder: M.$t("phEnter") + M.$t("IFSCCode"), "onUpdate:modelValue": L[6] || (L[6] = (se) => (I.ifsccode = se)), onInput: Z, maxlength: "11", }, null, 40, U1 ), [[Re, I.ifsccode, void 0, { trim: !0 }]] ), ])) : y("v-if", !0), B.value ? (s(), l("div", B1, [ e("div", P1, [ _(J, { name: "address" }), j(" Routing Number "), ]), _e( e( "input", { placeholder: M.$t("phEnter") + " Routing Number", "onUpdate:modelValue": L[7] || (L[7] = (se) => (I.ifsccode = se)), }, null, 8, W1 ), [[Re, I.ifsccode, void 0, { trim: !0 }]] ), ])) : y("v-if", !0), !$.value && !B.value ? (s(), l("div", O1, [ e("div", L1, [ _(J, { name: "address" }), j(" " + t(M.$t("branchBankAddr")), 1), ]), _e( e( "textarea", { class: "textarea", name: "remark", id: "", cols: "30", rows: "10", placeholder: M.$t("phEnterBranchAddr"), "onUpdate:modelValue": L[8] || (L[8] = (se) => (I.bankbranchaddress = se)), maxlength: "100", }, null, 8, M1 ), [[Re, I.bankbranchaddress, void 0, { trim: !0 }]] ), ])) : y("v-if", !0), e("div", q1, [ e( "button", { class: ae({ active: H.value }), onClick: z }, t(M.$t("save")), 3 ), ]), ])) : (s(), l("div", V1, [ y("选择银行卡"), _(Ka, { onOnSelectItem: S }), ])), ]) ); } ); }, }); const j1 = de(E1, [ ["__scopeId", "data-v-1726638e"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddBankCard/index.vue", ], ]), vk = Object.freeze( Object.defineProperty( { __proto__: null, default: j1 }, Symbol.toStringTag, { value: "Module" } ) ), x1 = { class: "addKBZ" }, H1 = { class: "addKBZ-top" }, F1 = ["src"], z1 = { class: "addKBZ-item" }, K1 = { class: "label" }, G1 = { class: "selectB" }, Q1 = { class: "addKBZ-item" }, Y1 = { class: "label" }, Z1 = ["placeholder", "readonly"], X1 = { class: "addKBZ-item" }, J1 = { class: "label" }, ef = ["placeholder"], tf = ce({ __name: "index", setup(g) { const { iseditor: n, onInput: u, checkAccoutNo: c, onLoad: i, makeTxt: o, } = it(), { t: v } = Te(), m = me(), { setLoading: k } = Ye(); let h = Ae([]); const r = T(""), { isOpenWithdraw: f } = mt(), p = Ae({ smsCode: "", withdrawId: 8, bankId: 0, mobileNo: "", beneficiaryName: "", type: "", codeType: Qe.addKBZ, }), A = E( () => !( p.mobileNo.trim().length == 0 || p.bankId == 0 || p.beneficiaryName.trim().length == 0 ) ); async function C() { const D = await ne(ht({ withdrawid: 8 })); D && ((h = D.data.banklist), (r.value = h.length > 0 ? h[0].bankName : ""), (p.bankId = h.length > 0 ? h[0].bankID : 0)); } ke(async () => { await C(); }); const R = () => !A.value || !localStorage.getItem("numberType") ? !1 : p.bankId == 0 ? ue({ message: v("addCardMsg1"), wordBreak: "break-word" }) : p.beneficiaryName.toString().trim().length == 0 ? ue({ message: v("phEnterName"), wordBreak: "break-word" }) : p.mobileNo.toString().trim().length == 0 ? ue({ message: v("addCardMsg4"), wordBreak: "break-word" }) : c(p.mobileNo, v("tel") + v("formatErr")) ? ua(localStorage.getItem("numberType"), p.mobileNo.trim().length) ? !0 : ue({ message: v("wrongTel"), wordBreak: "break-word" }) : void 0, w = ft({ content: () => _( wt, { type: p.type, "onUpdate:type": (D) => (p.type = D), code: p.smsCode, "onUpdate:code": (D) => (p.smsCode = D), onConfirm: $, codeType: Qe.addKBZ, }, null ), beforeClose: () => { p.smsCode = ""; }, }); async function b() { if (R() === !0) { if (((p.smsCode = ""), f.value)) return w.open(); await $(); } } async function $() { k(!0), (await ne(Ft(p))) && (w.close(), m.replace({ name: "Withdraw", query: { type: "Add" }, replace: !0, })), k(!1); } function B() { m.replace({ name: "Withdraw", query: { type: "Add" } }); } return ( i(p, "beneficiaryName"), (D, O) => { const x = q("NavBar"), I = q("svg-icon"); return ( s(), l("div", x1, [ _( x, { title: `${D.$t("addto")} KBZPay`, "left-arrow": "", onClickLeft: B, }, null, 8, ["title"] ), e("div", H1, [ e("img", { src: a(ye)("wallet", "hint") }, null, 8, F1), e("span", null, t(D.$t("WaveTip1")), 1), ]), e("div", z1, [ e("div", K1, [ _(I, { name: "bank" }), j(" " + t(D.$t("bankname")), 1), ]), e("div", G1, t(r.value), 1), ]), e("div", Q1, [ e("div", Y1, [ _(I, { name: "name" }), j(" " + t(D.$t("name")), 1), ]), _e( e( "input", { placeholder: D.$t("phEnterName"), "onUpdate:modelValue": O[0] || (O[0] = (Q) => (p.beneficiaryName = Q)), maxlength: "50", onInput: O[1] || (O[1] = (Q) => a(o)(p, "beneficiaryName")), readonly: a(n), }, null, 40, Z1 ), [[Re, p.beneficiaryName, void 0, { trim: !0 }]] ), ]), e("div", X1, [ e("div", J1, [ _(I, { name: "phone" }), j(" " + t(D.$t("tel")), 1), ]), _e( e( "input", { placeholder: D.$t("phEnterPayeeTel"), "onUpdate:modelValue": O[2] || (O[2] = (Q) => (p.mobileNo = Q)), maxlength: 12, onInput: O[3] || (O[3] = (Q) => a(u)(p, "mobileNo")), }, null, 40, ef ), [[Re, p.mobileNo, void 0, { trim: !0 }]] ), ]), e( "div", { class: ae(["addKBZ-btn", { active: A.value }]), onClick: b }, t(D.$t("save")), 3 ), ]) ); } ); }, }); const af = de(tf, [ ["__scopeId", "data-v-ee22f671"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddKbz/index.vue", ], ]), pk = Object.freeze( Object.defineProperty( { __proto__: null, default: af }, Symbol.toStringTag, { value: "Module" } ) ), nf = (g) => (Be("data-v-9694f22e"), (g = g()), Pe(), g), sf = { class: "addBankCard__container" }, lf = { class: "addBankCard__container-content" }, of = { class: "addBankCard__container-content-top" }, rf = { class: "addBankCard__container-content-top-item" }, cf = { class: "label" }, df = ["readonly", "placeholder"], uf = { class: "addBankCard__container-content-top-item" }, vf = nf(() => e("div", { class: "label" }, "CPF", -1)), pf = ["readonly", "placeholder"], _f = { class: "addBankCard__container-content-top-item" }, hf = { class: "label" }, mf = { class: "ar-searchbar" }, ff = { class: "addBankCard__container-content-top-item" }, wf = { class: "label" }, yf = { class: "accountNo" }, gf = { key: 0 }, $f = ["placeholder"], kf = ["placeholder"], bf = { class: "addBankCard__container-content-btn" }, Cf = { class: "search" }, Tf = ce({ __name: "index", setup(g) { const { t: n } = Te(), { setLoading: u } = Ye(), c = me(), i = T(""), o = T(!1), v = c.currentRoute.value.query.fromV || "Withdraw-PIX"; function m() { c.replace({ name: v, query: { type: "Add" } }); } const { isOpenWithdraw: k } = mt(), h = Ae({ bankId: 0, accountNo: "", name: "", cpf: "", smsCode: "", type: "", codeType: Qe.addPIX, pixType: "", }), r = T(localStorage.getItem("numberType")), f = T(""); let p = T([]), A = Ae([]); const C = E( () => !( h.accountNo.trim().length == 0 || h.name.trim().length == 0 || h.cpf.trim().length == 0 || h.bankId == 0 ) ); function R(N) { N.preventDefault(); const V = N.clipboardData.getData("text").replace(/[^\d]/g, ""); (N.target.value = V), N.target.id == "cpf" ? (h.cpf = V) : N.target.id == "accountNo" && (h.accountNo = V); } const S = () => { if (C.value) return h.name.trim().length == 0 ? ue({ message: n("phEnterPayeeName"), wordBreak: "break-word" }) : h.cpf.trim().length == 0 ? ue({ message: n("enterCpf"), wordBreak: "break-word" }) : Q(h.cpf.trim()) ? h.bankId == 0 ? ue({ message: n("tipsCpf2"), wordBreak: "break-word" }) : h.accountNo.trim().length == 0 ? ue({ message: n("tipsCpf3"), wordBreak: "break-word" }) : (i.value.toUpperCase().indexOf("PHONE") != -1 || i.value.toUpperCase().indexOf("CPF") != -1) && h.accountNo.trim().length != 11 ? ue({ message: n("tipsCpf4"), wordBreak: "break-word" }) : i.value.toUpperCase().indexOf("CPF") != -1 && h.accountNo != h.cpf ? ue({ message: n("pixTip1"), wordBreak: "break-word" }) : ["EMALL", "EMAIL"].includes(i.value.toUpperCase()) && !Ma.email1.test(h.accountNo.trim()) ? ue({ message: n(qa.email), wordBreak: "break-word" }) : !0 : ue({ message: n("tipsCpf1"), wordBreak: "break-word" }); }; async function w() { if (S() === !0) { if (((h.smsCode = ""), k.value)) return H.open(); await b(); } } async function b() { u(!0); let N = h; if (i.value.toUpperCase().indexOf("PHONE") != -1) { const V = r.value + h.accountNo; N = Object.assign({}, h, { accountNo: V }); } (await ne(ds(N))) && (Ge(n("addedSuccessfully")), H.close(), (h.accountNo = ""), await c.replace({ name: v, query: { type: "Add" }, replace: !0 })), u(!1); } const $ = T(!0); async function B() { const N = await ne(us()); N && N.data != null ? (($.value = !0), (h.name = N.data.realName), (h.cpf = N.data.idCard)) : ($.value = !1); } async function D() { const N = await ne(ht({ withdrawid: 5 })); N && ((A = N.data.banklist), (i.value = A.length > 0 ? A[0].bankName : ""), (h.bankId = A.length > 0 ? A[0].bankID : 0), (p.value = A), O()); } Ke(f, () => { A.length > 0 && (p.value = A.filter( (N) => N.bankName.toLowerCase().indexOf(f.value.toLowerCase()) !== -1 )); }); function O() { (h.accountNo = ""), (h.pixType = ""), i.value.toUpperCase().indexOf("CPF") != -1 && ((h.pixType = "cpf"), h.cpf.trim().length != 0 && (h.accountNo = h.cpf)); } Ke(o, () => { o.value && (f.value = ""); }); function x() { o.value = !0; } const I = ({ selectedOptions: N }) => { (o.value = !1), N[0] && ((i.value = N[0].bankName), (h.bankId = N[0].bankID), O()); }; function Q(N) { if ( ((N = N.replace(/[^\d]+/g, "")), N == "" || N.length != 11 || N == "00000000000" || N == "11111111111" || N == "22222222222" || N == "33333333333" || N == "44444444444" || N == "55555555555" || N == "66666666666" || N == "77777777777" || N == "88888888888" || N == "99999999999") ) return !1; let z = 0; for (let W = 0; W < 9; W++) z += parseInt(N.charAt(W)) * (10 - W); let V = 11 - (z % 11); if (((V == 10 || V == 11) && (V = 0), V != parseInt(N.charAt(9)))) return !1; z = 0; for (let W = 0; W < 10; W++) z += parseInt(N.charAt(W)) * (11 - W); return ( (V = 11 - (z % 11)), (V == 10 || V == 11) && (V = 0), V == parseInt(N.charAt(10)) ); } ke(async () => { await B(), await D(); }); const H = ft({ content: () => _( wt, { type: h.type, "onUpdate:type": (N) => (h.type = N), code: h.smsCode, "onUpdate:code": (N) => (h.smsCode = N), onConfirm: b, codeType: Qe.addPIX, }, null ), beforeClose: () => { h.smsCode = ""; }, }); return (N, z) => { const V = q("NavBar"), W = q("svg-icon"), Z = q("ArSelect"), U = q("van-picker"), M = q("van-popup"); return ( s(), l("div", sf, [ _( V, { title: N.$t("paymentMethod"), "left-arrow": "", onClickLeft: m, }, null, 8, ["title"] ), e("div", lf, [ e("h1", null, [_(W, { name: "pix" }), j(t(N.$t("pixInfo")), 1)]), e("div", of, [ e("div", rf, [ e("div", cf, t(N.$t("payeeName")), 1), _e( e( "input", { readonly: $.value, placeholder: N.$t("phEnterPayeeName"), "onUpdate:modelValue": z[0] || (z[0] = (L) => (h.name = L)), }, null, 8, df ), [[Re, h.name]] ), ]), e("div", uf, [ vf, _e( e( "input", { readonly: $.value, placeholder: N.$t("enterCpf"), "onUpdate:modelValue": z[1] || (z[1] = (L) => (h.cpf = L)), maxlength: "11", oninput: "value=value.replace(/\\D/g,'')", onPaste: R, id: "cpf", }, null, 40, pf ), [[Re, h.cpf]] ), ]), e("div", _f, [ e("div", hf, t(N.$t("pixType")), 1), e("div", mf, [ _(Z, { onClickSelect: x, selectName: i.value }, null, 8, [ "selectName", ]), ]), ]), e("div", ff, [ e("div", wf, t(N.$t("pixAccount")), 1), e("div", yf, [ i.value.toUpperCase().indexOf("PHONE") != -1 ? (s(), l("div", gf, "+" + t(r.value), 1)) : y("v-if", !0), y("phone只能输入数字"), i.value.toUpperCase().indexOf("PHONE") != -1 || i.value.toUpperCase().indexOf("CPF") != -1 ? _e( (s(), l( "input", { key: 1, placeholder: N.$t("enterPixAccount"), "onUpdate:modelValue": z[2] || (z[2] = (L) => (h.accountNo = L)), oninput: "value=value.replace(/\\D/g,'')", maxlength: "11", onPaste: R, id: "accountNo", }, null, 40, $f )), [[Re, h.accountNo, void 0, { trim: !0 }]] ) : _e( (s(), l( "input", { key: 2, placeholder: N.$t("enterPixAccount"), "onUpdate:modelValue": z[3] || (z[3] = (L) => (h.accountNo = L)), oninput: "value=value.replace(/\\s+/g,'')", maxlength: "40", }, null, 8, kf )), [[Re, h.accountNo, void 0, { trim: !0 }]] ), ]), ]), ]), ]), e("div", bf, [ e( "button", { class: ae({ active: C.value }), onClick: w }, t(N.$t("save")), 3 ), e( "div", { onClick: z[4] || (z[4] = () => { a(c).push({ name: "CustomerService" }); }), }, [ _(W, { name: "iconservr-r" }), j(t(N.$t("withdrawDialogDesc5")), 1), ] ), ]), _( M, { show: o.value, "onUpdate:show": z[7] || (z[7] = (L) => (o.value = L)), round: "", position: "bottom", }, { default: te(() => [ e("div", Cf, [ _( Cs, { placeholder: N.$t("searchPixType"), value: f.value, "onUpdate:value": z[5] || (z[5] = (L) => (f.value = L)), isShowClose: !0, }, null, 8, ["placeholder", "value"] ), ]), _( U, { "columns-field-names": { text: "bankName", value: "bankID", children: "children", }, columns: a(p), onCancel: z[6] || (z[6] = (L) => (o.value = !1)), onConfirm: I, }, null, 8, ["columns"] ), ]), _: 1, }, 8, ["show"] ), ]) ); }; }, }); const Sf = de(Tf, [ ["__scopeId", "data-v-9694f22e"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddPIX/index.vue", ], ]), _k = Object.freeze( Object.defineProperty( { __proto__: null, default: Sf }, Symbol.toStringTag, { value: "Module" } ) ), If = { class: "addtype4_C" }, Nf = { class: "addtype4_C-header" }, Af = { class: "addtype4_C-title" }, Df = { class: "selectB" }, Rf = { class: "addtype4_C-title" }, Uf = { class: "successTip" }, Bf = ce({ __name: "index", setup(g) { const { t: n } = Te(), u = me(), { isOpenWithdraw: c } = mt(), i = u.currentRoute.value.query.Type4name, o = T(!1), v = Ae({ withdrawId: 22, mobileNo: "", bankId: "", smsCode: "", beneficiaryName: "", type: "", codeType: Qe.addEWallet, }), m = T({ bankName: "", bankID: 0, reserved: "" }); T(!1); const k = () => { u.replace({ name: "Withdraw-RsnPay", query: { type: "Add", Type4name: i }, }); }, h = E(() => v.mobileNo); let r = T([]); async function f() { var w; const S = await ne(ht({ withdrawid: 22 })); S && ((r.value = S.data.banklist), ((w = S == null ? void 0 : S.data) == null ? void 0 : w.banklist.length) > 0 && ((m.value = S.data.banklist[0]), (v.bankId = S.data.banklist[0].bankID))); } ke(async () => { await f(); }); const p = async () => { (await ne(Ft(v))) && (Ge(n("addedSuccessfully")), C.close(), u.replace({ name: "Withdraw", query: { bid: 0, type: 22 } }), u.replace({ name: "Withdraw-RsnPay", query: { type: "Add", Type4name: i }, })); }, C = ft({ content: () => _( wt, { type: v.type, "onUpdate:type": (S) => (v.type = S), code: v.smsCode, "onUpdate:code": (S) => (v.smsCode = S), onConfirm: p, codeType: Qe.addEWallet, }, null ), beforeClose: () => { v.smsCode = ""; }, }), R = async () => { if (c.value) return C.open(); await p(); }; return (S, w) => { const b = q("NavBar"), $ = q("van-field"), B = q("van-toast"); return ( s(), l( oe, null, [ e("div", If, [ _( b, { title: a(i) + a(n)("paymentMethod"), "left-arrow": "", onClickLeft: k, }, null, 8, ["title"] ), e("div", Nf, t(a(i)), 1), e("div", Af, t(S.$t("bankname")), 1), e("div", Df, t(m.value.bankName), 1), y(` <van-field class="addtype4-input" v-model="activeBink.bankName" :readonly="true" disabled :placeholder="$t('tipSelectPls')" /> `), e("div", Rf, t(S.$t("walletAddress")), 1), _( $, { class: "addtype4-input", modelValue: v.mobileNo, "onUpdate:modelValue": w[0] || (w[0] = (D) => (v.mobileNo = D)), modelModifiers: { trim: !0 }, placeholder: S.$t("phEnter") + S.$t("walletAddress"), }, null, 8, ["modelValue", "placeholder"] ), e( "div", { class: ae(["sumbitBtn", { disable: !h.value }]), onClick: R, }, t(S.$t("save")), 3 ), _( B, { show: o.value, "onUpdate:show": w[1] || (w[1] = (D) => (o.value = D)), }, { message: te(() => [ e("div", Uf, [ e("div", null, t(S.$t("addedSuccessfully")), 1), ]), ]), _: 1, }, 8, ["show"] ), ]), y(` <van-popup v-model:show="showPicker" round position="bottom"> <van-picker :columns="originalBankList" :columns-field-names="customFieldName" @cancel="showPicker = false" @confirm="onConfirm" /> </van-popup> `), ], 2112 ) ); }; }, }); const Pf = de(Bf, [ ["__scopeId", "data-v-81838f32"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddRsnPay/index.vue", ], ]), hk = Object.freeze( Object.defineProperty( { __proto__: null, default: Pf }, Symbol.toStringTag, { value: "Module" } ) ), Wf = { class: "addtype4_C" }, Of = { class: "addtype4_C-header" }, Lf = { class: "addtype4_C-title" }, Mf = { class: "addtype4_C-title" }, qf = { class: "addtype4_C-title" }, Vf = { class: "successTip" }, Ef = ce({ __name: "index", setup(g) { const { iseditor: n, onLoad: u, makeTxt: c } = it(), { t: i } = Te(), o = me(), { isOpenWithdraw: v } = mt(), m = o.currentRoute.value.query.Type4name, k = T(!1), h = Ae({ withdrawId: 4, mobileNo: "", bankId: "", smsCode: "", beneficiaryName: "", type: "", codeType: Qe.addEWallet, }), r = T({ bankName: "", bankID: 0, reserved: "" }), f = T(!1), p = () => { o.replace({ name: "Withdraw-Type4", query: { type: "Add", Type4name: m }, }); }, A = { text: "bankName", value: "bankID" }, C = E(() => h.mobileNo && h.bankId && h.beneficiaryName); let R = T([]); async function S() { const H = await ne(ht({ withdrawid: 4 })); H && (R.value = H.data.banklist); } ke(async () => { await S(); }); const w = async () => { (await ne(Ft(h))) && (Ge(i("addedSuccessfully")), $.close(), o.replace({ name: "Withdraw-Type4", query: { type: "Add", Type4name: m }, })); }, $ = ft({ content: () => _( wt, { type: h.type, "onUpdate:type": (H) => (h.type = H), code: h.smsCode, "onUpdate:code": (H) => (h.smsCode = H), onConfirm: w, codeType: Qe.addEWallet, }, null ), beforeClose: () => { h.smsCode = ""; }, }), B = (H) => { let N = { ...H.selectedOptions[0] }; (r.value = N), (h.bankId = N.bankID), (f.value = !1); }; function D(H) { return /^[A-Za-z\d]{8,15}$/.test(H) ? !0 : (ue({ message: i("account") + i("formatErr"), wordBreak: "break-word", }), !1); } function O(H, N) { return /^[0-9]{8,15}$/.test(H) ? !0 : (ue({ message: N, wordBreak: "break-word" }), !1); } const x = {}.VITE_ADDTYPE4_ONLY_NUM === "1", I = E(() => (x ? "digit" : "text")), Q = () => { if ( !( h.mobileNo.toString().trim().length > 0 && !(x ? O(h.mobileNo, i("account") + i("formatErr")) : D(h.mobileNo)) ) ) return !0; }, K = async () => { if (Q() === !0) { if (v.value) return $.open(); await w(); } }; return ( u(h, "beneficiaryName"), (H, N) => { const z = q("NavBar"), V = q("van-field"), W = q("van-toast"), Z = q("van-picker"), U = q("van-popup"); return ( s(), l( oe, null, [ e("div", Wf, [ _( z, { title: a(m) + a(i)("paymentMethod"), "left-arrow": "", onClickLeft: p, }, null, 8, ["title"] ), e("div", Of, t(a(m)), 1), e("div", Lf, t(H.$t("selectType")), 1), _( V, { class: "addtype4-input", modelValue: r.value.bankName, "onUpdate:modelValue": N[0] || (N[0] = (M) => (r.value.bankName = M)), readonly: !0, "right-icon": "arrow-down", placeholder: H.$t("tipSelectPls"), onClick: N[1] || (N[1] = (M) => (f.value = !0)), }, null, 8, ["modelValue", "placeholder"] ), e("div", Mf, t(H.$t("name")), 1), _( V, { class: "addtype4-input", modelValue: h.beneficiaryName, "onUpdate:modelValue": N[2] || (N[2] = (M) => (h.beneficiaryName = M)), maxlength: 50, placeholder: H.$t("phEnter") + H.$t("name"), onInput: N[3] || (N[3] = (M) => a(c)(h, "beneficiaryName")), readonly: a(n), }, null, 8, ["modelValue", "placeholder", "readonly"] ), e("div", qf, t(H.$t("account")), 1), _( V, { class: "addtype4-input", modelValue: h.mobileNo, "onUpdate:modelValue": N[4] || (N[4] = (M) => (h.mobileNo = M)), modelModifiers: { trim: !0 }, maxlength: 15, type: I.value, placeholder: H.$t("phEnter") + H.$t("account"), }, null, 8, ["modelValue", "type", "placeholder"] ), e( "div", { class: ae(["sumbitBtn", { disable: !C.value }]), onClick: K, }, t(H.$t("save")), 3 ), _( W, { show: k.value, "onUpdate:show": N[5] || (N[5] = (M) => (k.value = M)), }, { message: te(() => [ e("div", Vf, [ e("div", null, t(H.$t("addedSuccessfully")), 1), ]), ]), _: 1, }, 8, ["show"] ), ]), _( U, { show: f.value, "onUpdate:show": N[7] || (N[7] = (M) => (f.value = M)), round: "", position: "bottom", }, { default: te(() => [ _( Z, { columns: a(R), "columns-field-names": A, onCancel: N[6] || (N[6] = (M) => (f.value = !1)), onConfirm: B, }, null, 8, ["columns"] ), ]), _: 1, }, 8, ["show"] ), ], 64 ) ); } ); }, }); const jf = de(Ef, [ ["__scopeId", "data-v-497422b6"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddType4/index.vue", ], ]), mk = Object.freeze( Object.defineProperty( { __proto__: null, default: jf }, Symbol.toStringTag, { value: "Module" } ) ), xf = { class: "addUSDT__container" }, Hf = { class: "addUSDT__container-content" }, Ff = { class: "addUSDT__container-content-top" }, zf = ["src"], Kf = { class: "addUSDT__container-content-item" }, Gf = { class: "label" }, Qf = { class: "ar-searchbar" }, Yf = { class: "addUSDT__container-content-item" }, Zf = { class: "label" }, Xf = { class: "input" }, Jf = ["placeholder", "maxlength"], ew = { class: "addUSDT__container-content-item" }, tw = { class: "label" }, aw = ["placeholder"], nw = { class: "addUSDT__container-content-btn" }, sw = ce({ __name: "index", setup(g) { const { t: n } = Te(), { isOpenWithdraw: u } = mt(), { setLoading: c } = Ye(), i = me(), o = i.currentRoute.value.query.fromV || "Withdraw-USDT"; function v() { i.replace({ name: o, query: { type: "Add" } }); } const m = T(!1); let k = Ae([]); async function h() { const O = await ne(ht({ withdrawid: 3 })); O && ((k = O.data.banklist), (r.value = k.length > 0 ? k[0].bankName : ""), (C.bankid = k.length > 0 ? k[0].bankID : 0)); } const r = T(""), f = ({ selectedOptions: O }) => { (m.value = !1), (r.value = O[0].bankName), (C.bankid = O[0].bankID); }; function p() { m.value = !0; } const A = E(() => r.value.toUpperCase().indexOf("TRC") != -1 ? 36 : r.value.toUpperCase().indexOf("ERC") != -1 ? 46 : 100 ), C = Ae({ withdrawid: 3, bankid: 0, usdtaddress: "", smsCode: "", usdtRemarkName: "", type: "", codeType: Qe.addUSDT, }), R = (O) => { const x = O.target; C.usdtaddress = x.value.replace(/[^\w\/]/gi, ""); }, S = E( () => !( C.usdtRemarkName.trim().length == 0 || C.bankid == 0 || C.usdtaddress.trim().length == 0 ) ), w = () => { if (S.value) return C.bankid == 0 ? ue({ message: n("onConfirmMsg1"), wordBreak: "break-word" }) : C.usdtaddress.toString().trim().length == 0 ? ue({ message: n("onConfirmMsg2"), wordBreak: "break-word" }) : C.usdtaddress.trim().length < 30 ? ue({ message: n("onConfirmMsg4"), wordBreak: "break-word" }) : r.value.toUpperCase().indexOf("TRC") != -1 && (C.usdtaddress.trim().slice(0, 1) != "T" || C.usdtaddress.trim().length > 36) ? ue({ message: n("onConfirmMsg5"), wordBreak: "break-word" }) : r.value.toUpperCase().indexOf("ERC") != -1 && (C.usdtaddress.trim().slice(0, 2) != "0x" || C.usdtaddress.trim().length > 46) ? ue({ message: n("onConfirmMsg5"), wordBreak: "break-word" }) : C.usdtRemarkName.toString().trim().length == 0 ? ue({ message: n("onConfirmMsg3"), wordBreak: "break-word" }) : !0; }; async function b() { if (w() !== !0) return; c(!0), (await ne(vs(C))) && (Ge(n("addedSuccessfully")), B.close(), await i.replace({ name: o, query: { type: "Add" }, replace: !0 })), c(!1); } ke(async () => { await h(); }); const B = ft({ content: () => _( wt, { type: C.type, "onUpdate:type": (O) => (C.type = O), code: C.smsCode, "onUpdate:code": (O) => (C.smsCode = O), onConfirm: b, codeType: C.codeType, }, null ), beforeClose: () => { C.smsCode = ""; }, }); async function D() { if (((C.smsCode = ""), w() === !0)) { if (u.value) return B.open(); await b(); } } return (O, x) => { const I = q("NavBar"), Q = q("svg-icon"), K = q("ArSelect"), H = q("van-picker"), N = q("van-popup"); return ( s(), l("div", xf, [ _( I, { title: O.$t("titleAddUSDTAddr"), "left-arrow": "", onClickLeft: v, }, null, 8, ["title"] ), e("div", Hf, [ e("div", Ff, [ e("img", { src: a(ye)("wallet", "hint") }, null, 8, zf), e( "span", null, t(O.$t("tipBindUrOwnUSDEAddrForFundSafety")), 1 ), ]), e("div", Kf, [ e("div", Gf, [ _(Q, { name: "usdt1", class: "icon" }), j(" " + t(O.$t("selectMainNetwork")), 1), ]), e("div", Qf, [ _(K, { onClickSelect: p, selectName: r.value }, null, 8, [ "selectName", ]), ]), ]), e("div", Yf, [ e("div", Zf, [ _(Q, { name: "usdt2", class: "icon" }), j(" " + t(O.$t("usedAddr")), 1), ]), e("div", Xf, [ _e( e( "input", { placeholder: O.$t("phEnterUSDTAddr"), maxlength: A.value, "onUpdate:modelValue": x[0] || (x[0] = (z) => (C.usdtaddress = z)), onInput: R, }, null, 40, Jf ), [[Re, C.usdtaddress]] ), ]), ]), e("div", ew, [ e("div", tw, [ _(Q, { name: "usdt3", class: "icon" }), j(" " + t(O.$t("addressAlias")), 1), ]), _e( e( "input", { placeholder: O.$t("phEnterUSDTRemarks"), maxlength: "20", "onUpdate:modelValue": x[1] || (x[1] = (z) => (C.usdtRemarkName = z)), }, null, 8, aw ), [[Re, C.usdtRemarkName]] ), ]), e("div", nw, [ e( "button", { class: ae({ active: S.value }), onClick: D }, t(O.$t("save")), 3 ), ]), ]), _( N, { show: m.value, "onUpdate:show": x[3] || (x[3] = (z) => (m.value = z)), round: "", position: "bottom", }, { default: te(() => [ _( H, { "columns-field-names": { text: "bankName", value: "bankID", children: "children", }, columns: a(k), onCancel: x[2] || (x[2] = (z) => (m.value = !1)), onConfirm: f, }, null, 8, ["columns"] ), ]), _: 1, }, 8, ["show"] ), ]) ); }; }, }); const lw = de(sw, [ ["__scopeId", "data-v-24736190"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddUSDT/index.vue", ], ]), fk = Object.freeze( Object.defineProperty( { __proto__: null, default: lw }, Symbol.toStringTag, { value: "Module" } ) ), Ga = (g) => (Be("data-v-8ced09ab"), (g = g()), Pe(), g), ow = { class: "addupi_C" }, iw = { class: "addupi_C-header wallet_18" }, rw = Ga(() => e("div", { class: "addupi_C-title" }, "UPI Name", -1)), cw = Ga(() => e("div", { class: "addupi_C-title" }, "UPI ID", -1)), dw = ce({ __name: "index", setup(g) { const n = me(), u = Ht(), c = T(u.getUserForm.numberType), i = T(""), { t: o } = Te(), v = T(""); E(() => c.value + "" + i.value); const { iseditor: m, onLoad: k, makeTxt: h } = it(), r = () => { n.replace({ name: "Withdraw-Upi", query: { type: "Add" } }); }, f = Ae({ beneficiaryName: "", accountNo: "" }); function p(S) { var B; const w = sessionStorage.getItem("areaPhoneLenList"); let $ = (B = JSON.parse(w).find( (D) => S.indexOf(D.area.replace("+", "")) == 0 )) == null ? void 0 : B.area.replace("+", ""); $ && ((c.value = $), (i.value = S.substring($.length))); } const A = E(() => f.beneficiaryName && f.accountNo && i && c), C = async () => { const S = await ne(ps()); (v.value = (S == null ? void 0 : S.data) || ""), v.value != "" && p(v.value); }; ke(() => { C(); }), k(f, "beneficiaryName"); const R = async () => { if (!/^[a-zA-Z0-9]+@[a-zA-Z0-9]+$/.test(f.accountNo)) return ue(o("UPIID")); (await ne(_s(f))) && (Ge(o("addedSuccessfully")), await n.replace({ name: "Withdraw-Upi" })); }; return (S, w) => { const b = q("NavBar"), $ = q("svg-icon"), B = q("van-field"); return ( s(), l("div", ow, [ _( b, { title: S.$t("paymentMethod"), "left-arrow": "", onClickLeft: r, }, null, 8, ["title"] ), e("div", iw, [ _($, { name: "upi" }), j(t(S.$t("UPIInformation")), 1), ]), rw, _( B, { class: "upi-input", modelValue: f.beneficiaryName, "onUpdate:modelValue": w[0] || (w[0] = (D) => (f.beneficiaryName = D)), modelModifiers: { trim: !0 }, maxlength: 30, placeholder: S.$t("phEnterUPIName"), readonly: a(m), onInput: w[1] || (w[1] = (D) => a(h)(f, "beneficiaryName")), rules: [{ required: !0, message: S.$t("phEnterUPIName") }], }, null, 8, ["modelValue", "placeholder", "readonly", "rules"] ), cw, _( B, { class: "upi-input", modelValue: f.accountNo, "onUpdate:modelValue": w[2] || (w[2] = (D) => (f.accountNo = D)), modelModifiers: { trim: !0 }, maxlength: 30, type: "text", placeholder: S.$t("phEnterUPIID"), }, null, 8, ["modelValue", "placeholder"] ), y(` <div class="addupi_C-title">{{$t('phoneN') }}</div> <div class="addupi_C_number"> <DropDown v-model:typeValue="numberType" ref="dropDown" @changeT="changeT"/> <van-field class="upi-input number" v-model.number.trim="number" type="digit" :placeholder="$t('plsEnterTel')"/> </div> <div class="tip"><van-icon name="warning-o" size="14" />{{ $t('upiTip1') }}</div> `), e( "div", { class: ae(["bind-bank-sumbit", { disable: !A.value }]), onClick: R, }, t(S.$t("save")), 3 ), ]) ); }; }, }); const uw = de(dw, [ ["__scopeId", "data-v-8ced09ab"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddUpi/index.vue", ], ]), wk = Object.freeze( Object.defineProperty( { __proto__: null, default: uw }, Symbol.toStringTag, { value: "Module" } ) ), vw = { class: "addKBZ" }, pw = { class: "addKBZ-top" }, _w = ["src"], hw = { class: "addKBZ-item" }, mw = { class: "label" }, fw = { class: "selectB" }, ww = { class: "addKBZ-item" }, yw = { class: "label" }, gw = ["placeholder", "readonly"], $w = { class: "addKBZ-item" }, kw = { class: "label" }, bw = ["placeholder"], Cw = ce({ __name: "index", setup(g) { const { iseditor: n, onInput: u, checkAccoutNo: c, onLoad: i, makeTxt: o, } = it(), { t: v } = Te(), m = me(), { setLoading: k } = Ye(), { isOpenWithdraw: h } = mt(); let r = Ae([]); const f = T(""), p = Ae({ smsCode: "", withdrawId: 6, bankId: 0, mobileNo: "", beneficiaryName: "", type: "", codeType: Qe.addWave, }), A = E( () => !( p.mobileNo.trim().length == 0 || p.bankId == 0 || p.beneficiaryName.trim().length == 0 ) ), C = () => p.bankId == 0 ? ue({ message: v("addCardMsg1"), wordBreak: "break-word" }) : p.beneficiaryName.toString().trim().length == 0 ? ue({ message: v("phEnterName"), wordBreak: "break-word" }) : p.mobileNo.toString().trim().length == 0 ? ue({ message: v("addCardMsg4"), wordBreak: "break-word" }) : c(p.mobileNo, v("tel") + v("formatErr")) ? ua(localStorage.getItem("numberType"), p.mobileNo.trim().length) ? !0 : ue({ message: v("wrongTel"), wordBreak: "break-word" }) : void 0, S = ft({ content: () => _( wt, { type: p.type, "onUpdate:type": (D) => (p.type = D), code: p.smsCode, "onUpdate:code": (D) => (p.smsCode = D), onConfirm: b, codeType: Qe.addWave, }, null ), beforeClose: () => { p.smsCode = ""; }, }); async function w() { if (!A.value) return !1; if (C() === !0) { if (!localStorage.getItem("numberType")) return !1; if (((p.smsCode = ""), h.value)) return S.open(); await b(); } } async function b() { k(!0), (await ne(Ft(p))) && (S.close(), m.replace({ name: "Withdraw", query: { type: "Add" }, replace: !0, })), k(!1); } async function $() { const D = await ne(ht({ withdrawid: 6 })); D && ((r = D.data.banklist), (f.value = r.length > 0 ? r[0].bankName : ""), (p.bankId = r.length > 0 ? r[0].bankID : 0)); } $(); function B() { m.replace({ name: "Withdraw", query: { type: "Add" } }); } return ( i(p, "beneficiaryName"), (D, O) => { const x = q("NavBar"), I = q("svg-icon"); return ( s(), l("div", vw, [ _( x, { title: D.$t("addWaveType"), "left-arrow": "", onClickLeft: B, }, null, 8, ["title"] ), e("div", pw, [ e("img", { src: a(ye)("wallet", "hint") }, null, 8, _w), e("span", null, t(D.$t("WaveTip1")), 1), ]), e("div", hw, [ e("div", mw, [ _(I, { name: "bankName" }), j(" " + t(D.$t("bankname")), 1), ]), e("div", fw, t(f.value), 1), ]), e("div", ww, [ e("div", yw, [ _(I, { name: "user" }), j(" " + t(D.$t("name")), 1), ]), _e( e( "input", { placeholder: D.$t("phEnterName"), "onUpdate:modelValue": O[0] || (O[0] = (Q) => (p.beneficiaryName = Q)), maxlength: "50", onInput: O[1] || (O[1] = (Q) => a(o)(p, "beneficiaryName")), readonly: a(n), }, null, 40, gw ), [[Re, p.beneficiaryName, void 0, { trim: !0 }]] ), ]), e("div", $w, [ e("div", kw, [ _(I, { name: "phone" }), j(" " + t(D.$t("tel")), 1), ]), _e( e( "input", { placeholder: D.$t("phEnterPayeeTel"), "onUpdate:modelValue": O[2] || (O[2] = (Q) => (p.mobileNo = Q)), maxlength: 12, type: "digit", onInput: O[3] || (O[3] = (Q) => a(u)(p, "mobileNo")), }, null, 40, bw ), [[Re, p.mobileNo, void 0, { trim: !0 }]] ), ]), e( "div", { class: ae(["addKBZ-btn", { active: A.value }]), onClick: w }, t(D.$t("save")), 3 ), ]) ); } ); }, }); const Tw = de(Cw, [ ["__scopeId", "data-v-8c64dafa"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/AddWave/index.vue", ], ]), yk = Object.freeze( Object.defineProperty( { __proto__: null, default: Tw }, Symbol.toStringTag, { value: "Module" } ) ), Sw = (g) => (Be("data-v-9ed9b8ef"), (g = g()), Pe(), g), Iw = { class: "bankCard__container" }, Nw = { key: 0, class: "bankCard__container-content" }, Aw = { class: "bankCard__container-content__card" }, Dw = Sw(() => e("div", { class: "bankCard__container-content__card-top" }, null, -1) ), Rw = { class: "bankCard__container-content__card-mid" }, Uw = { class: "line" }, Bw = { class: "left" }, Pw = { class: "right" }, Ww = { class: "line" }, Ow = { class: "left" }, Lw = { class: "right" }, Mw = { class: "line" }, qw = { class: "left" }, Vw = { class: "right" }, Ew = { key: 1, class: "bankCard__container-default" }, jw = ce({ __name: "index", setup(g) { const { setLoading: n } = Ye(), u = me(), c = dt(), i = E(() => c.getWithdrawal), o = T(!1), v = E(() => c.getWithdrawal.bid.toString()), m = T([]); function k() { u.replace({ name: "Withdraw", query: { bid: v.value } }); } const h = Ae({ bid: c.getWithdrawal.bid, withdrawid: c.getWithdrawal.type, }); function r(C) { u.replace({ name: "Withdraw", query: { bid: C.bid } }); } async function f() { (o.value = !1), n(!0), (await ne(hs(h))) && (h.bid == i.value.bid && (i.value.bid = 0), c.setWithdrawal({ ...i.value }), await A()), n(!1); } const p = Ae({ withdrawid: c.getWithdrawal.type }); async function A() { n(!0); const C = await ne(ut(p)); C && ((m.value = C.data.withdrawalslist), (C.data.withdrawalslist.length > 0 && c.getWithdrawal.bid == 0) || C.data.withdrawalslist.length == 1 ? (i.value.bid = C.data.withdrawalslist[0].bid) : C.data.withdrawalslist.length == 0 && (i.value.bid = 0), c.setWithdrawal({ ...i.value }), c.setWithdrawalslist(C.data.withdrawalslist)), n(!1); } return ( ke(async () => { u.currentRoute.value.query.type == "Add" ? await A() : (m.value = c.getWithdrawalslist); }), (C, R) => { const S = q("NavBar"), w = q("van-radio"), b = q("van-radio-group"), $ = nt("lazy"); return ( s(), l("div", Iw, [ _( S, { title: C.$t("bankCard"), "left-arrow": "", onClickLeft: k }, null, 8, ["title"] ), m.value.length > 0 ? (s(), l("div", Nw, [ (s(!0), l( oe, null, Ce( m.value, (B) => ( s(), l( "div", { class: "bankCard__container-content__item", key: B.bid, }, [ _( b, { modelValue: v.value, "onUpdate:modelValue": R[0] || (R[0] = (D) => (v.value = D)), }, { default: te(() => [ e("div", Aw, [ Dw, e("div", Rw, [ e("div", Uw, [ e("div", Bw, t(C.$t("bankname")), 1), e("div", Pw, t(B.bankName), 1), ]), y(` <div class="line" v-if="item.beneficiaryName"> <div class="left">{{ $t('payeename') }}</div> <div class="right">{{ item.beneficiaryName }}</div> </div> `), e("div", Ww, [ e( "div", Ow, t(C.$t("bankcardNo")), 1 ), e("div", Lw, t(B.accountNo), 1), ]), e("div", Mw, [ e("div", qw, t(C.$t("tel")), 1), e("div", Vw, t(B.mobileNo), 1), ]), ]), e("div", null, [ _( w, { name: `${B.bid.toString()}`, "icon-size": "18px", onClick: (D) => r(B), }, { default: te(() => [ j(t(C.$t("select")), 1), ]), _: 2, }, 1032, ["name", "onClick"] ), ]), ]), ]), _: 2, }, 1032, ["modelValue"] ), ] ) ) ), 128 )), ])) : (s(), l("div", Ew, [ _(bt, null, { text: te(() => [ e("span", null, t(C.$t("noPaymentMethodsYet")), 1), ]), _: 1, }), ])), _(Kt, { type: 1 }), _( et, { show: o.value, "onUpdate:show": R[2] || (R[2] = (B) => (o.value = B)), onConfirm: f, "show-cancel-btn": !0, title: C.$t("tipCanNotRetrivedAfterDeleted"), confirmText: C.$t("confirmDelete"), cancelText: C.$t("cancel"), }, { content: te(() => [ _e( e( "img", { class: "dialog__content-bottom", onClick: R[1] || (R[1] = (B) => (o.value = !1)), }, null, 512 ), [[$, a(fe)("main", "close")]] ), ]), _: 1, }, 8, ["show", "title", "confirmText", "cancelText"] ), ]) ); } ); }, }); const xw = de(jw, [ ["__scopeId", "data-v-9ed9b8ef"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/BankCard/index.vue", ], ]), gk = Object.freeze( Object.defineProperty( { __proto__: null, default: xw }, Symbol.toStringTag, { value: "Module" } ) ), Hw = { class: "item" }, Fw = { key: 0, class: "line" }, zw = ce({ __name: "progress", props: { state: { type: Number, required: !0 }, isAppealCompleted: { type: Boolean, required: !1 }, }, setup(g) { const n = g, { t: u } = Te(), c = [ { title: u("c2cState11"), icon: "1" }, { title: u("c2cState13"), icon: "2" }, { title: u("c2cTip30"), icon: "3" }, { title: u("c2cState4"), icon: "4" }, ], i = [ { title: u("c2cTip32"), icon: "1" }, { title: u("c2cTip33"), icon: "2" }, { title: u("c2cState4"), icon: "3" }, ], o = [ { title: u("c2cTip32"), icon: "1" }, { title: u("c2cTip33"), icon: "2" }, { title: u("c2cTip9"), icon: "4" }, ], v = E(() => [1, 9, 11, 13].includes(n.state) ? c : [3].includes(n.state) ? i : [5].includes(n.state) ? o : n.state == 4 ? n.isAppealCompleted ? i : c : [] ); function m(k) { let h = []; switch (n.state) { case 1: case 9: h = [!0, !0, !0, !1]; break; case 4: h = [!0, !0, !0, !0]; break; case 11: h = [!0, !1, !1, !1]; break; case 13: h = [!0, !0, !1, !1]; break; case 3: h = [!0, !0, !1]; break; case 5: h = [!0, !0, !0]; break; } return h[k]; } return (k, h) => v.value.length > 0 ? (s(), l( "div", { key: 0, class: ae([ "progress", [ `state_${k.state}`, { isAppealCompleted: k.isAppealCompleted }, ], ]), }, [ (s(!0), l( oe, null, Ce( v.value, (r, f) => ( s(), l( oe, null, [ e("div", Hw, [ e( "span", { class: ae( `icon${m(f) ? r.icon + "_a" : r.icon}` ), }, null, 2 ), e("h6", null, t(r.title), 1), ]), f < v.value.length - 1 ? (s(), l("div", Fw)) : y("v-if", !0), ], 64 ) ) ), 256 )), ], 2 )) : y("v-if", !0); }, }); const Qa = de(zw, [ ["__scopeId", "data-v-90f50022"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/progress.vue", ], ]), Kw = (g) => (Be("data-v-ced8750d"), (g = g()), Pe(), g), Gw = { class: "c2cDetail__CO" }, Qw = { class: "top" }, Yw = { class: "container" }, Zw = { key: 0, class: "time" }, Xw = { key: 1, class: "time2" }, Jw = { class: "head" }, ey = { class: "tip2" }, ty = { class: "tip2" }, ay = { key: 0 }, ny = { key: 0, class: "operate" }, sy = { class: "order-q" }, ly = { class: "y" }, oy = { class: "order-q" }, iy = { class: "b" }, ry = Kw(() => e("div", { class: "line" }, null, -1)), cy = { class: "tip" }, dy = ce({ __name: "c2cDetailOther", props: { OrderDetail: { type: null, required: !0 }, orderNo: { type: String, required: !0 }, }, emits: ["update:OrderDetail", "update:orderNo"], setup(g, { emit: n }) { const u = g, c = me(), { t: i } = Te(), { OrderDetail: o, orderNo: v } = Na(u, n), m = { 2: { title: i("c2cState11"), tip1: i("c2cWTip1"), tip2: i("c2cWTip6"), tip3: i("c2cTip31"), }, 11: { title: i("c2cState11"), tip1: i("c2cWTip1"), tip2: i("c2cWTip2"), tip3: i("c2cWTip3"), }, 12: { title: i("c2cState11"), tip1: i("c2cWTip1"), tip2: i("c2cWTip2"), tip3: i("c2cWTip3"), }, }, k = E(() => m[o.value.state]), h = () => { c.go(-1); }, r = T("00:00"), f = T(0), p = T(null), A = E(() => [11, 12].includes(o.value.state)); Ke( () => o.value, (D) => { C(D); }, { immediate: !0 } ); function C(D) { if (!A.value) return !1; const O = D.auditEndTime.replace(/-/g, "/"), x = D.serviceTime.replace(/-/g, "/"); (f.value = new Date(x).getTime() - new Date(O).getTime()), clearInterval(p.value), w(); } const R = (D) => { const O = Math.floor(D / 36e5), x = Math.floor((D - O * 36e5) / 6e4), I = Math.floor((D - O * 36e5 - x * 6e4) / 1e3); return `${O ? O.toString().padStart(2, "0") + ":" : ""}${x .toString() .padStart(2, "0")}:${I.toString().padStart(2, "0")}`; }, S = T(5); function w() { p.value = setInterval(() => { S.value--, (f.value += 1e3), (r.value = R(f.value)), S.value == 0 && (b(o.value.orderNo), (S.value = 5)); }, 1e3); } const b = async (D) => { const O = await ne(Oa({ orderNo: D })); O && (O.data.state == 2 && clearInterval(p.value), (o.value = O.data)); }; async function $() { (await ne(ms({ orderNo: o.value.orderNo }))) && b(o.value.orderNo); } function B() { c.push({ name: "Withdraw-c2cCancelWithdrawal", query: { orderAmount: o.value.orderAmount, sellerAccountNo: o.value.sellerAccountNo, createTime: o.value.createTime, orderNo: o.value.orderNo, }, }); } return ( _t(() => { clearInterval(p.value); }), (D, O) => { var I; const x = q("NavBar"); return ( s(), l("div", Gw, [ e("div", Qw, [ _( x, { title: k.value.title, "left-arrow": "", onClickLeft: h, backgroundColor: "transparent", }, null, 8, ["title"] ), y(" 进度条 "), _( Qa, { state: (I = a(o)) == null ? void 0 : I.state }, null, 8, ["state"] ), e("div", Yw, [ A.value ? (s(), l("div", Zw, [ e("p", null, t(k.value.title), 1), e("div", null, [e("span", null, t(r.value), 1)]), ])) : y("v-if", !0), A.value ? y("v-if", !0) : (s(), l("div", Xw, t(D.$t("c2cState2")), 1)), ]), e("div", Jw, [ e("div", ey, t(k.value.tip2), 1), e("div", ty, [ j(t(k.value.tip3), 1), A.value ? (s(), l( "span", ay, t(a(o).matchTimeMinutes || 5) + t(D.$t("minute")), 1 )) : y("v-if", !0), ]), ]), A.value ? y("v-if", !0) : (s(), l("div", ny, [ e( "div", { class: "CancelW", onClick: B }, t(D.$t("concelOrder")), 1 ), e( "div", { class: "uAmount", onClick: $ }, t(D.$t("continueM")), 1 ), ])), ]), e( "div", { class: ae(["order", ["bgc" + k.value.background]]) }, [ e("div", sy, [ e("span", null, t(D.$t("withdrawalA")), 1), e("span", ly, t(a(ve)(a(o).orderAmount)), 1), ]), e("div", oy, [ e("span", null, "UPI " + t(D.$t("account")), 1), e("span", iy, t(a(o).sellerAccountNo), 1), ]), e( "div", { class: "order-id", onClick: O[0] || (O[0] = (Q) => a(Ie)(a(o).orderNo)), }, [ e( "span", null, t(a(Dt)(a(o).createTime, "yyyy-MM-dd")), 1 ), j(t(a(o).orderNo), 1), ] ), ry, e("div", cy, t(D.$t("c2cWTip4")), 1), ], 2 ), ]) ); } ); }, }); const uy = de(dy, [ ["__scopeId", "data-v-ced8750d"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/components/Wallet/Withdraw/c2cDetailOther.vue", ], ]), pa = (g) => (Be("data-v-0f202033"), (g = g()), Pe(), g), vy = { key: 0, class: "c2cDetail__C" }, py = { class: "title" }, _y = { key: 0 }, hy = { class: "tip1" }, my = { key: 0, class: "tip2" }, fy = { key: 1 }, wy = { key: 0, class: "accountArry" }, yy = { class: "con" }, gy = { class: "order" }, $y = { class: "order-h" }, ky = { class: "order-q y" }, by = { key: 0, class: "order-q y" }, Cy = { key: 1, class: "order-q orange" }, Ty = { class: "order-t" }, Sy = { key: 2, class: "order-t" }, Iy = pa(() => e("div", { class: "line" }, null, -1)), Ny = pa(() => e("span", null, "UTR", -1)), Ay = { key: 4, class: "order-tl" }, Dy = { key: 0, class: "upi" }, Ry = { class: "upi-h" }, Uy = pa(() => e("span", null, "UPI", -1)), By = { key: 1, class: "upi img" }, Py = { class: "upi-h" }, Wy = { class: "imgBox" }, Oy = ["onClick"], Ly = { key: 2, class: "img" }, My = { class: "imgBox" }, qy = ["onClick"], Vy = { key: 3, class: "img video" }, Ey = { class: "v", controls: "" }, jy = ["src"], xy = ["src"], Hy = ["src"], Fy = ce({ __name: "index", setup(g) { var Z; const { t: n } = Te(), u = me(), c = ot(), i = Ve(), o = { 0: { title: n("c2cState0"), tip1: n("c2cTip1"), tip2: n("tipPlaWaitPaciently"), icon: "0", background: 0, }, 1: { title: n("c2cState1"), tip1: n("c2cTip2"), tip2: n("c2cTip3"), icon: "0", background: 1, }, 2: { title: n("c2cState8"), tip1: n("c2cTip4"), tip2: n("tipPlaWaitPaciently"), icon: "6", background: 8, }, 3: { title: n("c2cState3"), tip1: n("c2cTip5"), tip2: n("c2cTip6"), icon: "1", background: 3, }, 4: { title: n("completed"), tip1: n("c2cTip7"), tip2: n("c2cTip8"), icon: "2", background: 4, }, 5: { title: n("c2cTip9"), tip1: n("c2cTip10"), tip2: n("c2cTip11"), icon: "3", background: 5, }, 6: { title: n("cancelled"), tip1: "*****", tip2: "", icon: "4", background: 6, }, 7: { title: n("c2cTip12"), tip1: n("c2cTip1"), tip2: "", icon: "5", background: 7, }, 8: { title: n("withdrawState1"), tip1: n("c2cTip4"), tip2: n("tipPlaWaitPaciently"), icon: "6", background: 8, }, 9: { title: n("rechargeState1"), tip1: n("c2cTip13"), tip2: n("c2cTip14"), icon: "7", background: 9, }, 10: { title: n("c2cState10"), tip1: n("c2cTip21"), tip2: n("c2cTip22"), icon: "8", background: 10, }, 11: { title: n("c2cState11"), tip1: n("c2cWTip1"), tip2: n("c2cWTip2"), tip3: n("c2cWTip3"), icon: "8", background: 11, }, 12: { title: n("c2cState11"), tip1: n("c2cTip21"), tip2: n("c2cTip22"), icon: "8", background: 10, }, 13: { title: n("c2cState13"), tip1: n("c2cTip24"), icon: "0", background: 11, }, 14: { title: n("c2cState14"), tip1: n("c2cTip46"), tip2: n("c2cTip33"), icon: "14", background: 11, }, }, v = T(0), m = T("00:00"), k = T(null), h = T(null), r = T({ id: 0, orderNo: "", type: 0, withdrawName: "", createTime: "", orderAmount: 0, realAmount: 0, discountAmount: 0, serviceAmount: 0, state: Number(((Z = c.query) == null ? void 0 : Z.state) || 0), cancelReasonId: 0, reasonText: "", remark: "", transactionNo: "", sellerAccountNo: "", rechargeFinishTime: "", }), f = T(""), p = E(() => o[r.value.state]), A = E(() => r.value.state == 10), C = E(() => [9].includes(r.value.state)), R = E(() => [1, 9, 3].includes(r.value.state)), S = E(() => [2, 11, 12].includes(r.value.state)), w = E(() => [5, 6, 7, 14].includes(r.value.state)); Ke( () => r.value.state, (U) => { D(); }, { deep: !0 } ); const b = () => { u.back(); }; function $(U, M) { if (!U) return; let L; return ( M ? (L = JSON.parse(U).filter((ee) => ee.fileType == M)) : (L = JSON.parse(U)), L.length == 0 ? !1 : L.map((ee) => ((ee.fileUrl = i.ossUrl + "/" + ee.fileUrl), ee)) ); } const B = async (U) => { const M = await ne(Oa({ orderNo: U })); M && (r.value = M.data); }; function D() { var U; if ([1, 13].includes(r.value.state)) { const M = (U = r.value) == null ? void 0 : U.serviceTime.replace(/-/g, "/"); if (r.value.state == 1) { const L = r.value.confrimEndTime.replace(/-/g, "/"); v.value = new Date(L).getTime() - new Date(M).getTime(); } else if (r.value.state == 13) { const L = r.value.matchOutTime.replace(/-/g, "/"); v.value = new Date(L).getTime() - new Date(M).getTime(); } clearInterval(k.value), K(); } else clearInterval(k.value); (r.value.state === 7 || r.value.state === 6) && ((o[r.value.state].tip1 = r.value.reasonText || ""), (o[r.value.state].tip2 = r.value.remark || "")), r.value.state === 0 ? (clearInterval(h.value), H()) : clearInterval(h.value), r.value.state === 3 && z(); } const O = async (U) => { await ne(fs({ orderNo: U })), B(U); }, x = async (U) => { await ne(ws({ orderNo: U })), B(U); }, I = (U) => { const M = Math.floor(U / 36e5), L = Math.floor((U - M * 36e5) / 6e4), ee = Math.floor((U - M * 36e5 - L * 6e4) / 1e3); return `${ M ? M.toString().padStart(2, "0") + ":" : "" }${L.toString().padStart(2, "0")}:${ee.toString().padStart(2, "0")}`; }, Q = T(5); function K() { k.value = setInterval(() => { Q.value--, v.value > 0 ? ((v.value -= 1e3), (m.value = I(v.value))) : (m.value = "00:00"), Q.value == 0 && (B(f.value), (Q.value = 5)); }, 1e3); } function H() { h.value = setInterval(() => { B(f.value); }, 5e3); } const N = () => { Tawk_API.toggle(), window.Tawk_API.setAttributes( { order: f.value, store: "withdraw" }, function (U) {} ); }, z = () => { let U = "https://embed.tawk.to/6452138631ebfa0fe7fbb175/1hb0ug9qm"; if (!document.getElementById("tawk-chatjs")) { var M = document.createElement("script"), L = document.getElementsByTagName("script")[0]; (M.async = !0), (M.src = U), (M.charset = "UTF-8"), M.setAttribute("crossorigin", "*"), (M.id = "tawk-chatjs"), L.parentNode.insertBefore(M, L); } }; function V() { u.push({ name: "Withdraw-c2cWrongAmount", query: { orderNo: f.value }, }); } function W(U) { sa({ images: [U], closeable: !0 }); } return ( ke(() => { var U, M; (f.value = localStorage.getItem("c2cOrderNo") || ((M = (U = c.query) == null ? void 0 : U.order) == null ? void 0 : M.toString()) || ""), B(f.value); }), At(() => {}), _t(() => { clearInterval(k.value), clearInterval(h.value); }), (U, M) => { var ee, J, ie, se, re, We, Le, Ue, be, ge, $e, je, we, Me, qe; const L = q("NavBar"); return S.value ? (s(), l( oe, { key: 1 }, [ r.value.orderNo != "" ? (s(), Ne( uy, { key: 0, orderNo: f.value, "onUpdate:orderNo": M[7] || (M[7] = (X) => (f.value = X)), OrderDetail: r.value, "onUpdate:OrderDetail": M[8] || (M[8] = (X) => (r.value = X)), }, null, 8, ["orderNo", "OrderDetail"] )) : y("v-if", !0), ], 64 )) : (s(), l("div", vy, [ e( "div", { class: ae(["header", ["bgc" + p.value.background]]) }, [ _(L, { title: "", "left-arrow": "", onClickLeft: b, backgroundColor: "transparent", }), e( "div", { class: ae(["head", ["hicon" + p.value.icon]]) }, [ e("div", py, [ j(t(p.value.title) + " ", 1), [1, 13].includes(r.value.state) ? (s(), l("span", _y, t(m.value), 1)) : y("v-if", !0), ]), e("div", hy, t(p.value.tip1), 1), p.value.tip2 ? (s(), l("div", my, t(p.value.tip2), 1)) : y("v-if", !0), R.value ? (s(), l("div", fy, t(U.$t("c2cTip23")), 1)) : y("v-if", !0), ], 2 ), R.value ? (s(), l("div", wy, [ e( "div", { class: "account btn", onClick: M[0] || (M[0] = (X) => O(r.value.orderNo)), }, t(U.$t("confirmTheAccount")), 1 ), C.value ? (s(), l( "div", { key: 0, class: "appeal btn", onClick: M[1] || (M[1] = (X) => x(r.value.orderNo)), }, t(U.$t("appeal")), 1 )) : y("v-if", !0), r.value.state == 3 ? (s(), l( "div", { key: 1, class: "appeal btn", onClick: M[2] || (M[2] = (X) => N()), }, t(U.$t("AppealsAdmin")), 1 )) : y("v-if", !0), r.value.state == 1 ? (s(), l( "div", { key: 2, class: "wrong btn", onClick: M[3] || (M[3] = (X) => V()), }, t(U.$t("c2cState14")), 1 )) : y("v-if", !0), ])) : y("v-if", !0), ], 2 ), e("div", yy, [ y(" 进度条 "), _( Qa, { state: (ee = r.value) == null ? void 0 : ee.state, isAppealCompleted: (J = r.value) == null ? void 0 : J.isAppealCompleted, }, null, 8, ["state", "isAppealCompleted"] ), e("div", gy, [ e("div", $y, "New UPI " + t(U.$t("withdraw")), 1), e("div", ky, [ e("span", null, t(U.$t("orderAmount")), 1), j(t(a(ve)(r.value.orderAmount)), 1), ]), [4, 14].includes(r.value.state) ? (s(), l("div", by, [ e("span", null, t(U.$t("actualAmount")), 1), j(t(a(ve)(r.value.realAmount)), 1), ])) : y("v-if", !0), w.value ? y("v-if", !0) : (s(), l("div", Cy, [ e("span", null, t(U.$t("award")), 1), j(t(a(ve)(r.value.discountAmount)), 1), ])), e("div", Ty, [ e("span", null, t(U.$t("orderTime")), 1), j(t(r.value.createTime), 1), ]), r.value.state == 14 ? (s(), l("div", Sy, [ e("span", null, t(U.$t("c2cTip47")), 1), j(t(r.value.lastUpdateTime), 1), ])) : y("v-if", !0), Iy, A.value ? y("v-if", !0) : (s(), l( "div", { key: 3, class: "order-id", onClick: M[4] || (M[4] = (X) => a(Ie)(r.value.transactionNo)), }, [Ny, j(t(r.value.transactionNo), 1)] )), e( "div", { class: "order-id", onClick: M[5] || (M[5] = (X) => a(Ie)(r.value.orderNo)), }, [ e("span", null, t(U.$t("orderNo")), 1), j(t(r.value.orderNo), 1), ] ), A.value ? y("v-if", !0) : (s(), l("div", Ay, [ e("span", null, t(U.$t("PaymentTime")), 1), j(t(r.value.rechargeFinishTime), 1), ])), ]), A.value ? y("v-if", !0) : (s(), l("div", Dy, [ e("div", Ry, t(U.$t("information")), 1), e( "div", { class: "upi-id", onClick: M[6] || (M[6] = (X) => a(Ie)(r.value.sellerAccountNo)), }, [Uy, j(t(r.value.sellerAccountNo), 1)] ), ])), [5, 1, 9, 3, 4, 6].includes(r.value.state) && (ie = r.value) != null && ie.rechargeOssUrls ? (s(), l("div", By, [ e("div", Py, t(U.$t("c2cTip50")), 1), e("div", Wy, [ (s(!0), l( oe, null, Ce( $( (se = r.value) == null ? void 0 : se.rechargeOssUrls ), (X, G) => ( s(), l( "div", { class: "imgD", key: G, style: na( `background-image: url('${ X == null ? void 0 : X.fileUrl }');` ), onClick: (le) => W(X == null ? void 0 : X.fileUrl), }, null, 12, Oy ) ) ), 128 )), ]), ])) : y("v-if", !0), ((re = r.value) == null ? void 0 : re.state) == 14 && (We = r.value) != null && We.ossUrls ? (s(), l("div", Ly, [ e("h1", null, t(U.$t("c2cTip48")), 1), e("div", My, [ (s(!0), l( oe, null, Ce( $( (Le = r.value) == null ? void 0 : Le.ossUrls, 1 ), (X, G) => ( s(), l( "div", { class: "imgD", key: G, style: na( `background-image: url('${ X == null ? void 0 : X.fileUrl }');` ), onClick: (le) => W(X == null ? void 0 : X.fileUrl), }, null, 12, qy ) ) ), 128 )), ]), ])) : y("v-if", !0), ((Ue = r.value) == null ? void 0 : Ue.state) == 14 && $((be = r.value) == null ? void 0 : be.ossUrls, 2) ? (s(), l("div", Vy, [ e("h1", null, t(U.$t("c2cTip49")), 1), e("video", Ey, [ e( "source", { src: ($e = $( (ge = r.value) == null ? void 0 : ge.ossUrls, 2 )[0]) == null ? void 0 : $e.fileUrl, type: "video/ogg", }, null, 8, jy ), e( "source", { src: (we = $( (je = r.value) == null ? void 0 : je.ossUrls, 2 )[0]) == null ? void 0 : we.fileUrl, type: "video/mp4", }, null, 8, xy ), e( "source", { src: (qe = $( (Me = r.value) == null ? void 0 : Me.ossUrls, 2 )[0]) == null ? void 0 : qe.fileUrl, type: "video/webm", }, null, 8, Hy ), ]), ])) : y("v-if", !0), ]), ])); } ); }, }); const zy = de(Fy, [ ["__scopeId", "data-v-0f202033"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/C2cDetail/index.vue", ], ]), $k = Object.freeze( Object.defineProperty( { __proto__: null, default: zy }, Symbol.toStringTag, { value: "Module" } ) ), Ky = { class: "bankCard__container" }, Gy = { key: 0, class: "bankCard__container-content" }, Qy = { class: "bankCard__container-content__card" }, Yy = { class: "bankCard__container-content__card-top ar-1px-b" }, Zy = ["src"], Xy = { class: "bankCard__container-content__card-mid" }, Jy = { class: "line" }, eg = { class: "line" }, tg = { class: "line" }, ag = { key: 1, class: "bankCard__container-default" }, ng = ce({ __name: "index", setup(g) { const { setLoading: n } = Ye(), u = me(); ot(); const c = dt(), i = E(() => c.getWithdrawal); T(!1); const o = E(() => c.getWithdrawal.bid.toString()), v = T([]); function m() { u.replace({ name: "Withdraw", query: { bid: o.value } }); } const k = Ae({ bid: c.getWithdrawal.bid, withdrawid: 5 }); function h(p) { u.replace({ name: "Withdraw", query: { bid: p.bid } }); } const r = Ae({ withdrawid: 5 }); async function f() { n(!0); const p = await ne(ut(r)); p && ((v.value = p.data.withdrawalslist), (p.data.withdrawalslist.length > 0 && c.getWithdrawal.bid == 0) || p.data.withdrawalslist.length == 1 ? (i.value.bid = p.data.withdrawalslist[0].bid) : p.data.withdrawalslist.length == 0 && (i.value.bid = 0), c.setWithdrawal({ ...i.value }), c.setWithdrawalslist(p.data.withdrawalslist)), n(!1); } return ( ke(async () => { u.currentRoute.value.query.type == "Add" ? await f() : (v.value = c.getWithdrawalslist); }), (p, A) => { const C = q("NavBar"), R = q("van-radio"), S = q("van-radio-group"); return ( s(), l("div", Ky, [ _( C, { title: p.$t("paymentMethod"), "left-arrow": "", onClickLeft: m, }, null, 8, ["title"] ), v.value.length > 0 ? (s(), l("div", Gy, [ (s(!0), l( oe, null, Ce( v.value, (w, b) => ( s(), l( "div", { class: "bankCard__container-content__item", key: w.bid, }, [ _( S, { modelValue: o.value, "onUpdate:modelValue": A[0] || (A[0] = ($) => (o.value = $)), }, { default: te(() => [ e("div", Qy, [ e("div", Yy, [ e("div", null, [ e( "img", { src: a(ye)( "wallet/withdrawType", `${k.withdrawid}` ), }, null, 8, Zy ), j( " " + t(p.$t("paymentMethodOfPix")), 1 ), ]), e("div", null, [ _( R, { name: `${w.bid.toString()}`, "icon-size": "22px", onClick: ($) => h(w), }, null, 8, ["name", "onClick"] ), ]), ]), e("div", Xy, [ e("div", Jy, t(w.beneficiaryName), 1), e("div", eg, t(w.accountNo), 1), e("div", tg, t(w.bankName), 1), ]), y(` <div class="delete" @click="onShowDeleteDialog(item)"> <van-icon name="delete" color="rgba(238, 54, 37, 1)" size="20" /> {{ $t('delete') }} </div> `), ]), ]), _: 2, }, 1032, ["modelValue"] ), ] ) ) ), 128 )), ])) : (s(), l("div", ag, [ _(bt, null, { text: te(() => [ e("span", null, t(p.$t("noPaymentMethodsYet")), 1), ]), _: 1, }), ])), _(Kt, { type: 5 }), y(` <Dialog v-model:show="delelteDialogShow" @confirm="onDelete" :show-cancel-btn="true" :title="$t('tipCanNotRetrivedAfterDeleted')" :confirmText="$t('confirmDelete')" :cancelText="$t('cancel')" > <template #header> <img v-lazy="getIconsPublic('common', 'warn')" /> </template> <template #content> <img v-lazy="getIconsPublic('common', 'closeGrey')" class="dialog__content-bottom" @click="delelteDialogShow = false" /> </template> </Dialog> `), ]) ); } ); }, }); const sg = de(ng, [ ["__scopeId", "data-v-abf3326c"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/PIX/index.vue", ], ]), kk = Object.freeze( Object.defineProperty( { __proto__: null, default: sg }, Symbol.toStringTag, { value: "Module" } ) ), lg = (g) => (Be("data-v-290c4222"), (g = g()), Pe(), g), og = { class: "type4_C" }, ig = { class: "type4_C-list" }, rg = { class: "header-title" }, cg = ["onClick"], dg = { key: 0, xmlns: "http://www.w3.org/2000/svg", width: "60", height: "60", viewBox: "0 0 60 60", fill: "none", }, ug = lg(() => e( "path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M60 30C60 46.5686 46.5686 60 30 60C13.4314 60 0 46.5686 0 30C0 13.4314 13.4314 0 30 0C46.5686 0 60 13.4314 60 30ZM14.4 34.2149L19.3014 29.0266C20.9353 30.363 24.2029 33.2714 27.4705 37.2807C27.5276 37.3507 27.7006 36.9707 28.0345 36.2374C29.4965 33.0269 34.0423 23.0442 45.4425 14.4053C45.5467 14.3263 45.5229 15.1444 45.4865 16.397C45.4534 17.5342 45.41 19.0295 45.4425 20.5367C45.5024 23.3195 45.9093 26.1966 45.9093 26.1966C45.9093 26.1966 39.374 27.8474 28.1707 46.0063C28.1442 46.0494 27.8296 45.6959 27.2806 45.0789C25.2645 42.8134 20.0868 36.9951 14.4 34.2149Z", fill: "var(--main-color)", }, null, -1 ) ), vg = [ug], pg = { class: "type4-body" }, _g = { class: "type4-body-id" }, hg = { key: 1, class: "noData" }, mg = ce({ __name: "index", setup(g) { const n = me(), u = ot(), c = n.currentRoute.value.query.Type4name, i = T([]), o = T(null), v = () => { const f = i.value.find((p) => { p.bid == o.value; }) ? o.value : 0; n.replace({ name: "Withdraw", query: { bid: f, type: 22 } }); }, m = (r) => { n.replace({ name: "Withdraw", query: { bid: r, type: 22 } }); }, k = async () => { n.replace({ name: "Withdraw-AddRsnPay", query: { Type4name: c } }); }, h = async () => { var f; const r = await ne(ut({ withdrawid: 22 })); r && (i.value = ((f = r.data) == null ? void 0 : f.withdrawalslist) || []); }; return ( ke(() => { (o.value = u.query.bid || 0), h(); }), (r, f) => { const p = q("NavBar"), A = nt("throttle-click"); return ( s(), l("div", og, [ _( p, { title: a(c) + r.$t("paymentMethod"), "left-arrow": "", onClickLeft: v, }, null, 8, ["title"] ), e("div", ig, [ i.value.length ? (s(!0), l( oe, { key: 0 }, Ce( i.value, (C, R) => ( s(), l("div", { key: R, class: "type4_C-item" }, [ e( "div", { class: ae(["header", `${C.walletName}`]) }, [ e("div", rg, t(C.bankName), 1), e( "div", { class: ae([ "select-btn", { isSelect: C.bid == o.value }, ]), onClick: (S) => m(C.bid), }, [ C.bid == o.value ? (s(), l("svg", dg, vg)) : y("v-if", !0), ], 10, cg ), ], 2 ), e("div", pg, [e("div", _g, t(C.mobileNo), 1)]), ]) ) ), 128 )) : _e( (s(), l("div", hg, [j(t(r.$t("upiAddPaymentMethod")), 1)])), [[A, { handler: k, wait: 1e3 }]] ), ]), ]) ); } ); }, }); const fg = de(mg, [ ["__scopeId", "data-v-290c4222"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/RsnPay/index.vue", ], ]), bk = Object.freeze( Object.defineProperty( { __proto__: null, default: fg }, Symbol.toStringTag, { value: "Module" } ) ), wg = (g) => (Be("data-v-8da75fee"), (g = g()), Pe(), g), yg = { class: "type4_C" }, gg = { class: "type4_C-list" }, $g = { class: "header-title" }, kg = ["onClick"], bg = { key: 0, xmlns: "http://www.w3.org/2000/svg", width: "60", height: "60", viewBox: "0 0 60 60", fill: "none", }, Cg = wg(() => e( "path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M60 30C60 46.5686 46.5686 60 30 60C13.4314 60 0 46.5686 0 30C0 13.4314 13.4314 0 30 0C46.5686 0 60 13.4314 60 30ZM14.4 34.2149L19.3014 29.0266C20.9353 30.363 24.2029 33.2714 27.4705 37.2807C27.5276 37.3507 27.7006 36.9707 28.0345 36.2374C29.4965 33.0269 34.0423 23.0442 45.4425 14.4053C45.5467 14.3263 45.5229 15.1444 45.4865 16.397C45.4534 17.5342 45.41 19.0295 45.4425 20.5367C45.5024 23.3195 45.9093 26.1966 45.9093 26.1966C45.9093 26.1966 39.374 27.8474 28.1707 46.0063C28.1442 46.0494 27.8296 45.6959 27.2806 45.0789C25.2645 42.8134 20.0868 36.9951 14.4 34.2149Z", fill: "var(--main-color)", }, null, -1 ) ), Tg = [Cg], Sg = { class: "type4-body" }, Ig = { class: "type4-body-name" }, Ng = { class: "type4-body-id" }, Ag = { key: 1, class: "noData" }, Dg = { class: "type4_C-addbtn" }, Rg = ce({ __name: "index", setup(g) { const n = me(), u = ot(), c = n.currentRoute.value.query.Type4name, i = T([]), o = T(null), v = () => { const f = i.value.find((p) => { p.bid == o.value; }) ? o.value : 0; n.replace({ name: "Withdraw", query: { bid: f, type: 4 } }); }, m = (r) => { n.replace({ name: "Withdraw", query: { bid: r, type: 4 } }); }, k = async () => { n.replace({ name: "Withdraw-AddType4", query: { Type4name: c } }); }, h = async () => { var f; const r = await ne(ut({ withdrawid: 4 })); r && (i.value = ((f = r.data) == null ? void 0 : f.withdrawalslist) || []); }; return ( ke(() => { (o.value = u.query.bid || 0), h(); }), (r, f) => { const p = q("NavBar"), A = nt("throttle-click"); return ( s(), l("div", yg, [ _( p, { title: a(c) + r.$t("paymentMethod"), "left-arrow": "", onClickLeft: v, }, null, 8, ["title"] ), e("div", gg, [ i.value.length ? (s(!0), l( oe, { key: 0 }, Ce( i.value, (C, R) => ( s(), l("div", { key: R, class: "type4_C-item" }, [ e( "div", { class: ae(["header", `${C.walletName}`]) }, [ e("div", $g, t(C.walletName), 1), e( "div", { class: ae([ "select-btn", { isSelect: C.bid == o.value }, ]), onClick: (S) => m(C.bid), }, [ C.bid == o.value ? (s(), l("svg", bg, Tg)) : y("v-if", !0), ], 10, kg ), ], 2 ), e("div", Sg, [ e("div", Ig, t(C.beneficiaryName), 1), e("div", Ng, t(C.mobileNO), 1), ]), ]) ) ), 128 )) : _e( (s(), l("div", Ag, [j(t(r.$t("upiAddPaymentMethod")), 1)])), [[A, { handler: k, wait: 1e3 }]] ), ]), _e((s(), l("div", Dg, [j(t(r.$t("upiAddPaymentMethod")), 1)])), [ [A, { handler: k, wait: 1e3 }], ]), ]) ); } ); }, }); const Ug = de(Rg, [ ["__scopeId", "data-v-8da75fee"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/Type4/index.vue", ], ]), Ck = Object.freeze( Object.defineProperty( { __proto__: null, default: Ug }, Symbol.toStringTag, { value: "Module" } ) ), Bg = { class: "USDT__container" }, Pg = { key: 0, class: "USDT__container-content" }, Wg = { class: "USDT__container-content__card" }, Og = { class: "USDT__container-content__card-top" }, Lg = { class: "USDT__container-content__card-mid ar-1px-b" }, Mg = { key: 1, class: "USDT__container-default" }, qg = ce({ __name: "index", setup(g) { const { setLoading: n } = Ye(), { getUserInfo: u } = Ht(), c = xt(); u({ signature: c.token }); const i = me(), o = dt(), v = o.getWithdrawal; T(!1); const m = E(() => o.getWithdrawal.bid.toString()), k = T([]); Ae({ bid: o.getWithdrawal.bid, withdrawid: o.getWithdrawal.type }); function h(A) { i.replace({ name: "Withdraw", query: { bid: A.bid } }); } const r = Ae({ withdrawid: o.getWithdrawal.type }); async function f() { n(!0); const A = await ne(ut(r)); A && ((k.value = A.data.withdrawalslist), (A.data.withdrawalslist.length > 0 && o.getWithdrawal.bid == 0) || A.data.withdrawalslist.length == 1 ? (v.bid = A.data.withdrawalslist[0].bid) : A.data.withdrawalslist.length == 0 && (v.bid = 0), o.setWithdrawal({ ...v }), o.setWithdrawalslist(A.data.withdrawalslist)), n(!1); } ke(async () => { i.currentRoute.value.query.type == "Add" ? await f() : (k.value = o.getWithdrawalslist); }); function p() { i.replace({ name: "Withdraw", query: { bid: m.value } }); } return (A, C) => { const R = q("NavBar"), S = q("svg-icon"), w = q("van-radio"), b = q("van-radio-group"); return ( s(), l("div", Bg, [ _( R, { title: A.$t("usdtAddr"), "left-arrow": "", onClickLeft: p }, null, 8, ["title"] ), k.value.length > 0 ? (s(), l("div", Pg, [ (s(!0), l( oe, null, Ce( k.value, ($) => ( s(), l( "div", { class: "USDT__container-content__item", key: $.bid, }, [ _( b, { modelValue: m.value, "onUpdate:modelValue": C[0] || (C[0] = (B) => (m.value = B)), }, { default: te(() => [ e("div", Wg, [ e("div", Og, [ _(S, { name: "bankHeader" }), _(S, { name: "usdtLogo3" }), ]), e("div", Lg, [ e("span", null, t($.accountNo), 1), e("span", null, t($.usdtRemarkName), 1), ]), e("div", null, [ y("这是假的"), _( w, { name: `${$.bid.toString()}`, "icon-size": "18px", onClick: (B) => h($), }, { default: te(() => [ j(t(A.$t("select")), 1), ]), _: 2, }, 1032, ["name", "onClick"] ), y(` <div @click="onShowDeleteDialog(item)"> <img :src="getIcons('wallet/withdraw', 'delete')" />{{ $t('delete') }} </div> `), ]), ]), ]), _: 2, }, 1032, ["modelValue"] ), ] ) ) ), 128 )), ])) : (s(), l("div", Mg, [ _(bt, null, { text: te(() => [ e("span", null, t(A.$t("noPaymentMethodsYet")), 1), ]), _: 1, }), ])), _(Kt, { type: 3 }), y(` <Dialog v-model:show="delelteDialogShow" @confirm="onDelete" :show-cancel-btn="true" :title="$t('tipCanNotRetrivedAfterDeleted')" :confirmText="$t('confirmDelete')" :cancelText="$t('cancel')" > <template #content> <img v-lazy="getIcons('main', 'close')" class="dialog__content-bottom" @click="delelteDialogShow = false" /> </template> </Dialog> `), ]) ); }; }, }); const Vg = de(qg, [ ["__scopeId", "data-v-1cef303f"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/USDT/index.vue", ], ]), Tk = Object.freeze( Object.defineProperty( { __proto__: null, default: Vg }, Symbol.toStringTag, { value: "Module" } ) ), Eg = { class: "upi_C" }, jg = { class: "upi_C-list" }, xg = { class: "header" }, Hg = { class: "header-title" }, Fg = ["onClick"], zg = { class: "upi-body" }, Kg = { class: "upi-body-name" }, Gg = { class: "upi-body-id" }, Qg = { class: "upi-body-id" }, Yg = { class: "upi_C-addbtn" }, Zg = ce({ __name: "index", setup(g) { const n = me(), u = ot(), c = T([]), i = T(null), o = () => { const r = c.value.find((f) => { f.bid == i.value; }) ? i.value : 0; n.replace({ name: "Withdraw", query: { bid: r, type: 2 } }); }, v = (h) => { n.replace({ name: "Withdraw", query: { bid: h, type: 2 } }); }, m = async () => { n.replace({ name: "Withdraw-AddUpi" }); }, k = async () => { var r; const h = await ne(ut({ withdrawid: 2 })); h && (c.value = ((r = h.data) == null ? void 0 : r.withdrawalslist) || []); }; return ( ke(() => { (i.value = u.query.bid || 0), k(); }), (h, r) => { const f = q("NavBar"), p = nt("throttle-click"); return ( s(), l("div", Eg, [ _( f, { title: h.$t("upiPaymentMethod"), "left-arrow": "", onClickLeft: o, }, null, 8, ["title"] ), e("div", jg, [ c.value.length ? (s(!0), l( oe, { key: 0 }, Ce( c.value, (A, C) => ( s(), l("div", { key: C, class: "upi_C-item" }, [ e("div", xg, [ e("div", Hg, t(h.$t("upiCollectMoney")), 1), e( "div", { class: ae([ "select-btn", { isSelect: A.bid == i.value }, ]), onClick: (R) => v(A.bid), }, null, 10, Fg ), ]), e("div", zg, [ e("div", Kg, t(A.upiName), 1), e("div", Gg, t(A.upiAccount), 1), e("div", Qg, t(A.mobileNo), 1), ]), ]) ) ), 128 )) : (s(), Ne( bt, { key: 1 }, { text: te(() => [ e("span", null, t(h.$t("noPaymentMethodsYet")), 1), ]), _: 1, } )), ]), _e((s(), l("div", Yg, [j(t(h.$t("upiAddPaymentMethod")), 1)])), [ [p, { handler: m, wait: 1e3 }], ]), ]) ); } ); }, }); const Xg = de(Zg, [ ["__scopeId", "data-v-68a41569"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/Upi/index.vue", ], ]), Sk = Object.freeze( Object.defineProperty( { __proto__: null, default: Xg }, Symbol.toStringTag, { value: "Module" } ) ), Jg = { class: "cancelW" }, e$ = { class: "orderInfo" }, t$ = { class: "b" }, a$ = { class: "reason" }, n$ = { class: "fail" }, s$ = { class: "van-dialog__content-title" }, l$ = { class: "van-dialog__content-note" }, o$ = ce({ __name: "index", setup(g) { const { t: n } = Te(), u = me(), c = ot(), i = T(), o = T("0"), v = T(!1), m = T(""), k = E(() => { var w; return o.value == "0" ? m.value : (w = i.value.find((b) => b.id == o.value)) == null ? void 0 : w.reasonText; }), h = () => { u.go(-1); }, r = T(""), f = T(""), p = T(""), A = T(""); async function C() { const w = await ne(Aa({ type: 1 })); w && (i.value = w.data); } async function R() { (await ne( ys({ orderNo: A.value, cancelReason: k.value, reamrk: "" }) )) && ((v.value = !1), h()); } async function S() { if (o.value == "0" && m.value.trim().length == 0) { ue(n("enterOtherReason")); return; } v.value = !0; } return ( ke(() => { var w, b, $, B, D, O, x, I; (r.value = ((b = (w = c.query) == null ? void 0 : w.orderAmount) == null ? void 0 : b.toString()) || ""), (f.value = ((B = ($ = c.query) == null ? void 0 : $.sellerAccountNo) == null ? void 0 : B.toString()) || ""), (p.value = ((O = (D = c.query) == null ? void 0 : D.createTime) == null ? void 0 : O.toString()) || ""), (A.value = ((I = (x = c.query) == null ? void 0 : x.orderNo) == null ? void 0 : I.toString()) || ""), C(); }), (w, b) => { const $ = q("NavBar"), B = q("van-radio"), D = q("van-radio-group"), O = q("van-field"), x = q("van-dialog"), I = nt("lazy"); return ( s(), l("div", Jg, [ _($, { title: "取消订单", "left-arrow": "", onClickLeft: h, backgroundColor: "transparent", }), e("div", e$, [ e("div", null, [ e("span", null, t(w.$t("withdrawalA")), 1), e("span", t$, t(a(ve)(r.value)), 1), ]), e("div", null, [ e("span", null, "UPI " + t(w.$t("account")), 1), e("span", null, t(f.value), 1), ]), e("div", null, [ e("span", null, t(a(Dt)(p.value, "yyyy-MM-dd")), 1), e( "span", { class: "copy", onClick: b[0] || (b[0] = (Q) => a(Ie)(A.value)), }, t(A.value), 1 ), ]), ]), e("div", a$, [ e("h2", null, t(w.$t("cancelReason")), 1), _( D, { modelValue: o.value, "onUpdate:modelValue": b[1] || (b[1] = (Q) => (o.value = Q)), shape: "dot", "checked-color": "#ee0a24", }, { default: te(() => [ (s(!0), l( oe, null, Ce( i.value, (Q, K) => ( s(), Ne( B, { key: K, name: Q.id.toString() }, { default: te(() => [j(t(Q.reasonText), 1)]), _: 2, }, 1032, ["name"] ) ) ), 128 )), _( B, { name: "0" }, { default: te(() => [j(t(w.$t("other")), 1)]), _: 1 } ), ]), _: 1, }, 8, ["modelValue"] ), _( O, { class: "textarea", disabled: o.value != "0", modelValue: m.value, "onUpdate:modelValue": b[2] || (b[2] = (Q) => (m.value = Q)), rows: "3", autosize: "", type: "textarea", maxlength: "150", placeholder: w.$t("enterOtherReason"), }, null, 8, ["disabled", "modelValue", "placeholder"] ), ]), e( "div", { class: "cancel", onClick: S }, t(w.$t("confirmCancel")), 1 ), _( x, { show: v.value, "onUpdate:show": b[4] || (b[4] = (Q) => (v.value = Q)), "show-confirm-button": !1, "z-index": "100", closeOnClickOverlay: !0, }, { default: te(() => [ _e(e("img", n$, null, 512), [ [I, a(ye)("wallet/recharge", "tip")], ]), e("div", s$, t(w.$t("cancelW")), 1), e("div", l$, [e("span", null, t(w.$t("c2cWTip11")), 1)]), e( "div", { class: "van-dialog__content-btn", onClick: R }, t(w.$t("confirmCancel")), 1 ), _e( e( "img", { class: "close", onClick: b[3] || (b[3] = (Q) => (v.value = !1)), }, null, 512 ), [[I, a(fe)("main", "close")]] ), ]), _: 1, }, 8, ["show"] ), ]) ); } ); }, }); const i$ = de(o$, [ ["__scopeId", "data-v-522a488b"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/c2cCancelWithdrawal/index.vue", ], ]), Ik = Object.freeze( Object.defineProperty( { __proto__: null, default: i$ }, Symbol.toStringTag, { value: "Module" } ) ), r$ = { class: "wrongA" }, c$ = { class: "head" }, d$ = { class: "content" }, u$ = { class: "amount" }, v$ = { class: "input" }, p$ = { class: "place-div" }, _$ = { class: "img" }, h$ = { class: "uploadImg" }, m$ = { class: "tip" }, f$ = { class: "img video" }, w$ = { class: "uploadImg" }, y$ = { key: 0, class: "v", controls: "" }, g$ = ["src"], $$ = ["src"], k$ = ["src"], b$ = { key: 1, class: "videoBox loading" }, C$ = ce({ __name: "index", setup(g) { var w; const n = me(), { t: u } = Te(), c = E(() => Ve().getDollarSign), i = T([]), o = T([]), v = T([]), m = T(), k = T(), h = T(!1), r = T({ orderNo: (w = n.currentRoute.value.query) == null ? void 0 : w.orderNo, realAmount: 0, ossUrls: [{}], }), f = E(() => { var b; return !( ((b = r.value.orderNo) == null ? void 0 : b.toString().trim().length) == 0 || +(r.value.realAmount <= 0) || v.value.length == 0 || h.value ); }), p = async (b) => { const $ = new FormData(); (b == null ? void 0 : b.length) > 0 ? b.forEach((D) => { $.append("files", D.file); }) : $.append("files", b.file), (await ne(Ba($))).data.forEach((D) => { v.value.push(D.src); }); }, A = (b, $) => ( v.value.filter((B, D) => { $.index == D && v.value.splice(D, 1); }), !0 ), C = async (b) => { h.value = !0; const $ = new FormData(); $.append("files", b.file); const B = await ne(gs($)); B && ((m.value = B.data[0].ossHttp + "/" + B.data[0].src), (k.value = B.data[0].src)), (h.value = !1); }; async function R() { if (!f.value) return; if (h.value) return ue({ message: u("c2cTip45"), wordBreak: "break-word" }); (r.value.ossUrls.length = 0), v.value.forEach((B) => { r.value.ossUrls.push({ fileType: 1, fileUrl: B }); }), k.value && r.value.ossUrls.push({ fileType: 2, fileUrl: k.value }); const [b, $] = await Da($s(r.value)); $.code == 0 ? S(u("submitSuccess")) : $.msgCode == "281" && $.code == 1 ? S($.msg) : Et($); } function S(b) { ue({ message: b, wordBreak: "break-word" }), setTimeout(() => { n.replace({ name: "Withdraw-C2cDetail", query: { order: r.value.orderNo }, }); }, 2e3); } return (b, $) => { const B = q("NavBar"), D = q("van-field"), O = q("van-uploader"), x = q("van-icon"); return ( s(), l("div", r$, [ e("div", c$, [ _(B, { title: "", "left-arrow": "", onClickLeft: $[0] || ($[0] = () => a(n).back()), backgroundColor: "transparent", }), e("h1", null, t(b.$t("c2cState14")), 1), e("div", null, t(b.$t("c2cTip35")), 1), e("div", null, t(b.$t("c2cTip36")), 1), ]), e("div", d$, [ e("div", u$, [ e("h1", null, t(b.$t("c2cTip37")), 1), e("p", null, t(b.$t("c2cTip38")), 1), e("div", v$, [ e("div", p$, t(c.value), 1), _( D, { modelValue: r.value.realAmount, "onUpdate:modelValue": $[1] || ($[1] = (I) => (r.value.realAmount = I)), modelModifiers: { number: !0 }, center: "", type: "digit", placeholder: b.$t("enterAmount"), class: "inp", }, null, 8, ["modelValue", "placeholder"] ), ]), ]), e("div", _$, [ e( "h1", null, t(b.$t("c2cTip39")) + " (" + t(i.value.length) + "/3) ", 1 ), _( O, { modelValue: i.value, "onUpdate:modelValue": $[2] || ($[2] = (I) => (i.value = I)), multiple: "", "max-count": 3, "max-size": 5e3 * 1024, onOversize: $[3] || ($[3] = () => a(St)(b.$t("C2Cuploadtip2"))), accept: "image/*", "after-read": p, "before-delete": A, }, { default: te(() => [e("div", h$, t(b.$t("c2cTip40")), 1)]), _: 1, }, 8, ["modelValue"] ), e("div", m$, [ _(x, { name: "warning-o", size: "18" }), j(t(b.$t("c2cTip41")), 1), ]), ]), e("div", f$, [ e( "h1", null, t(b.$t("c2cTip42")) + " (" + t(o.value.length) + "/1) ", 1 ), h.value ? y("v-if", !0) : (s(), Ne( O, { key: 0, modelValue: o.value, "onUpdate:modelValue": $[4] || ($[4] = (I) => (o.value = I)), "max-count": 1, "max-size": 5e4 * 1024, onOversize: $[5] || ($[5] = () => a(St)(b.$t("c2cTip51"))), accept: "video/*", "after-read": C, }, { "preview-cover": te(({ file: I }) => [ m.value ? (s(), l("video", y$, [ e( "source", { src: m.value, type: "video/ogg" }, null, 8, g$ ), e( "source", { src: m.value, type: "video/mp4" }, null, 8, $$ ), e( "source", { src: m.value, type: "video/webm" }, null, 8, k$ ), ])) : y("v-if", !0), ]), default: te(() => [ e("div", w$, t(b.$t("c2cTip43")), 1), ]), _: 1, }, 8, ["modelValue"] )), h.value ? (s(), l("div", b$, t(b.$t("c2cTip44")), 1)) : y("v-if", !0), ]), e( "div", { class: ae(["cmdBth", { active: f.value }]), onClick: R }, t(b.$t("c2cState14")), 3 ), ]), ]) ); }; }, }); const T$ = de(C$, [ ["__scopeId", "data-v-5e595a70"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/Withdraw/c2cWrongAmount/index.vue", ], ]), Nk = Object.freeze( Object.defineProperty( { __proto__: null, default: T$ }, Symbol.toStringTag, { value: "Module" } ) ), gt = (g) => (Be("data-v-9bca0648"), (g = g()), Pe(), g), S$ = { class: "WHD__container" }, I$ = ["src"], N$ = { class: "WHD__container-body" }, A$ = { class: "container" }, D$ = { class: "top ar-1px-b" }, R$ = ["src"], U$ = gt(() => e("span", null, "Bank Card 提现", -1)), B$ = jt( '<div class="item" data-v-9bca0648><div data-v-9bca0648><span data-v-9bca0648>订单金额</span><span class="yellow" data-v-9bca0648>$8888.88</span></div><div data-v-9bca0648><span data-v-9bca0648>扣除金额</span><span class="black" data-v-9bca0648>$8888.88</span></div><div data-v-9bca0648><span data-v-9bca0648>到账金额</span><span class="black" data-v-9bca0648>$8888.88</span></div><div data-v-9bca0648><span data-v-9bca0648>订单时间</span><span data-v-9bca0648>2022-06-01</span></div></div>', 1 ), P$ = { class: "mImg" }, W$ = ["src"], O$ = { class: "item" }, L$ = gt(() => e("span", null, "UTR", -1)), M$ = gt(() => e("span", null, "202246892345", -1)), q$ = gt(() => e("span", null, "订单号", -1)), V$ = gt(() => e("span", null, "2022102518543345000113", -1)), E$ = gt(() => e("span", null, "支付时间", -1)), j$ = gt(() => e("span", null, "2022-06-20 15:15:16", -1)), x$ = jt( '<div class="containerB" data-v-9bca0648><div class="top ar-1px-b" data-v-9bca0648><!-- <img :src="getIcons('wallet/withdraw/withdrawHistory', 'bc')" /> --><span data-v-9bca0648>银行名称</span></div><div class="item" data-v-9bca0648><div data-v-9bca0648><span class="red" data-v-9bca0648>Account Name</span><span data-v-9bca0648>SAWARN TELECOM</span></div><div data-v-9bca0648><span class="red" data-v-9bca0648>Bank Number</span><span data-v-9bca0648>0005123100000315</span></div><div data-v-9bca0648><span class="red" data-v-9bca0648>Order Number</span><span data-v-9bca0648>2022102518543345000113</span></div></div></div>', 1 ), H$ = ce({ __name: "index", setup(g) { const n = me(); function u() { n.back(); } const c = history.state.paramValue || 0; return (i, o) => { const v = q("NavBar"), m = q("svg-icon"); return ( s(), l("div", S$, [ _( v, { title: "", "left-arrow": "", onClickLeft: u, classN: `bg${a(c)}`, }, null, 8, ["classN"] ), e( "div", { class: ae(["WHD__container-header", `bg${a(c)}`]) }, [ e("div", null, [ e("h1", null, t(i.$t(a(lt)(a(Oe).WithdrawState, a(c)))), 1), e( "span", null, t(i.$t(a(lt)(a(Oe).WStateCorrelationT, a(c)))), 1 ), ]), e( "img", { src: a(ye)( "wallet/withdraw/withdrawHistory/state", `${a(c)}` ), }, null, 8, I$ ), ], 2 ), e("div", N$, [ e("div", A$, [ e("div", D$, [ e( "img", { src: a(ye)("wallet/withdraw/withdrawHistory", "bc") }, null, 8, R$ ), U$, ]), B$, e("div", P$, [ e( "img", { src: a(ye)("wallet/withdraw/withdrawHistory", "moonBar"), }, null, 8, W$ ), ]), e("div", O$, [ e("div", null, [ L$, M$, _(m, { onClick: o[0] || (o[0] = (k) => a(Ie)("1414")) }), ]), e("div", null, [ q$, V$, _(m, { onClick: o[1] || (o[1] = (k) => a(Ie)("1414")) }), ]), e("div", null, [ E$, j$, _(m, { onClick: o[2] || (o[2] = (k) => a(Ie)("1414")) }), ]), ]), ]), x$, ]), ]) ); }; }, }); const F$ = de(H$, [ ["__scopeId", "data-v-9bca0648"], [ "__file", "/var/lib/jenkins/workspace/web-印度-sikkim-ar058-webnew/src/views/wallet/WithdrawHistory/WithdrawHistoryDetail/index.vue", ], ]), Ak = Object.freeze( Object.defineProperty( { __proto__: null, default: F$ }, Symbol.toStringTag, { value: "Module" } ) ); export { Ck as A, Tk as B, Sk as C, Ik as D, Nk as E, Ak as F, J$ as a, ek as b, tk as c, ak as d, nk as e, sk as f, lk as g, ok as h, X$ as i, ik as j, rk as k, ck as l, dk as m, uk as n, vk as o, pk as p, _k as q, hk as r, mk as s, fk as t, wk as u, yk as v, gk as w, $k as x, kk as y, bk as z, };