1import{g as e,a as t,o as a,w as l,X as s,A as n,B as i,C as c,D as o,Y as u,H as r,j as d,I as y,Q as p,$ as m,P as x,L as g,G as b,F as f,r as v,ad as h,ac as D,aZ as C,a_ as q,a3 as k,t as w}from"./vue-vendor-fc9d70f0.js";import{_ as A,al as $,ck as S,cy as M,a1 as V,ac as F,r as j}from"./index-761c6c6f.js";import _ from"./EmailDialog-15af172a.js";/* empty css */import{u as I}from"./useEmailDialog-d80a7ae2.js";import{V as E,u as T}from"./index-f8749d8a.js";import"./i18n-e53c91ad.js";import"./http-crypto-09d0f023.js";const U={class:"pt-4"},H={class:"exchange-box"},B={style:{flex:"1 1 0%"}},R={class:"leading-4 flex items-center"},z={class:"text-base flex"},P={class:"font-bold"},O={class:"leading-4 flex items-start"},N={class:"text-base"},G={class:"flex"},L={class:"ml-1.5 text-base"},Q={class:"font-bold"},K={class:"text-xs"},W={class:"text-right pb-6"},Y={class:"saleDetail flex"},J={class:"textRight"},X={class:"flex items-center"},Z={class:"text-xs opacity-50"},ee={class:"pt-6"},te={class:"leading-4 flex items-center"},ae={class:"text-base flex"},le={class:"font-bold"},se={class:"leading-4 flex items-start"},ne={class:"text-base"},ie={class:"flex"},ce={class:"ml-1.5 text-base"},oe={class:"font-bold"},ue={class:"text-xs"},re={class:"text-right"},de={class:"text-sm mb-2 text-[#54545E]"},ye={class:"mb-4 flex"},pe={class:"font-bold text-2xl"},me={class:"text-gray-500"},xe={class:"text-[#54545E] ml-3 font-bold"},ge={class:"text-sm mb-2 text-[#54545E]"},be={class:"textRight"},fe={class:"flex items-center"},ve={class:"text-xs opacity-50"},he={class:"text-sm mb-2 text-[#54545E]"},De={class:"mb-4 flex"},Ce={class:"font-bold text-2xl"},qe={class:"text-gray-500"},ke={class:"text-[#54545E] ml-3 font-bold"},we={class:"flex items-center cancelTip"},Ae={style:{"margin-right":"15px"}},$e={class:"text-center"},Se={class:"successIconBox"},Me={key:0,class:"iconfont icon-Successful text-[#4CC599] successIcon"},Ve={key:1},Fe={class:"icon my-0 mx-auto","aria-hidden":"true",style:{width:"72px",height:"72px"}},je={class:"font-bold text-2xl text-black mb-2"},_e={key:0},Ie={key:1},Ee={class:"text-sm text-black mb-4"},Te={class:"rounded-md border px-12 py-4 mb-6 sm:px-4"},Ue={key:0,class:"flex justify-between relative"},He={class:"w-14 flex justify-center flex-wrap z-20"},Be={class:"mb-1"},Re={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},ze={class:"text-sm text-black"},Pe={class:"w-14 flex justify-center flex-wrap z-20"},Oe={class:"mb-1"},Ne={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},Ge={class:"text-sm text-black"},Le={class:"w-14 flex justify-center flex-wrap z-20"},Qe={class:"mb-1"},Ke={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},We={class:"text-sm text-black"},Ye={class:"w-14 flex justify-center flex-wrap z-20"},Je={class:"mb-1"},Xe={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},Ze={class:"text-sm text-black"},et={key:1,class:"flex justify-between relative"},tt={class:"w-14 flex justify-center flex-wrap z-20"},at={class:"mb-1"},lt={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},st={class:"text-sm text-black"},nt={class:"w-14 flex justify-center flex-wrap z-20"},it={class:"mb-1"},ct={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},ot={class:"text-sm text-black"},ut={class:"w-14 flex justify-center flex-wrap z-20"},rt={class:"mb-1"},dt={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},yt={class:"text-sm text-black"},pt={key:2,class:"flex justify-between relative"},mt={class:"w-14 flex justify-center flex-wrap z-20"},xt={class:"mb-1"},gt={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},bt={class:"text-sm text-black"},ft={class:"w-14 flex justify-center flex-wrap z-20"},vt={class:"mb-1"},ht={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},Dt={class:"text-sm text-black"},Ct={class:"w-14 flex justify-center flex-wrap z-20"},qt={class:"mb-1"},kt={class:"icon","aria-hidden":"true",style:{width:"32px",height:"32px"}},wt={class:"text-sm text-black"}
1,At={class:"rounded-md border py-8 px-8 text-left border-[#ECEFF1]"},$t={class:"border-b pb-4"},St={class:"text-[#5A5F6D] text-sm"},Mt={class:"flex items-center"},Vt={class:"text-black font-bold",style:{"min-width":"90px"}},Ft={class:"flex"},jt={class:"text-[#5A5F6D] text-sm"},_t={class:"flex items-center"},It={class:"text-black font-bold",style:{"min-width":"90px"}},Et={class:"flex"},Tt={class:"py-4"},Ut={class:"flex justify-between mb-3"},Ht={class:"text-[#5A5F6D]"},Bt={class:"text-[#333333]"},Rt={class:"flex justify-between mb-3"},zt={class:"text-[#5A5F6D]"},Pt={class:"text-[#333333]"},Ot={class:"flex justify-end pt-4 flex-col-reverse md:px-0 px-5"};const Nt=A({props:{detailObj:Object},components:{EmailDialog:_,Va2FA:E},setup(n){const i=e().appContext.config.globalProperties,c=v(null);e();const o=w({visible:!0,step:1,currCountry:"",a:"",selectValue:"",loading:!1,exChangeType:!1,selledBanlance:0,beforeCloseVis:!1,delHandle:null,returnData:{},quotesData:{vaNo:null,sellCurrency:"",sellAmount:1e3,buyCurrency:"",buyAmount:null,settlementDate:"",validTill:"",fxId:"",ccyPair:"",rateValue:null},sellBallence:0,buyBallence:0,RateDetails:!1,needImg:!0,rate:.669658,sec:100,sec2:70,inputTw:669.658,inputIn:1e3,placeholder:{inputHold:"请è¾å
¥",selectHold:"è¯·éæ©"},options:[],activities:[{content:"Custom icon",timestamp:"2018-04-12 20:46",size:"large",type:"primary",tips:"å¯ç¨ä½é¢ 0.00 AUD"},{content:"Custom color",timestamp:"2018-04-03 20:46",color:"#0bbd87",tips:"å¯ç¨ä½é¢ 0.00 AUD"},{content:"Custom size",timestamp:"2018-04-03 20:46",size:"large",tips:"å¯ç¨ä½é¢ 0.00 AUD"},{content:"Custom hollow",timestamp:"2018-04-03 20:46",type:"primary",hollow:!0,tips:"å¯ç¨ä½é¢ 0.00 AUD"},{content:"Default node",timestamp:"2018-04-03 20:46",tips:"å¯ç¨ä½é¢ 0.00 AUD"}],selectShow:{}}),{emailShow:u,emailDialogFun:r,visibleEmail:d,openDialogbyVerfiyEmail:y}=I(),{Show2FA:p,twoFADialogFun:m,visible2FA:x,openDialogbyVerfiy2FA:g}=T();t(()=>{window.clearInterval(c.value)});const b=()=>{o.visible=!0,o.step=1,D()},f=(e,t)=>{1==t?C(e,o.quotesData.sellCurrency,null,o.quotesData.buyCurrency):C(null,o.quotesData.sellCurrency,e,o.quotesData.buyCurrency)},h=(e,t,a)=>{1==a?(o.quotesData.sellCurrency=e,e==o.quotesData.buyCurrency&&(o.quotesData.buyCurrency=t),C(o.quotesData.sellAmount,e,null,o.quotesData.buyCurrency)):(o.quotesData.buyCurrency=e,e==o.quotesData.sellCurrency&&(o.quotesData.sellCurrency=t),C(null,o.quotesData.sellCurrency,o.quotesData.buyAmount,e)),o.buyBallence=o.options.find(e=>e.currency==o.quotesData.buyCurrency).availableAmount,o.sellBallence=o.options.find(e=>e.currency==o.quotesData.sellCurrency).availableAmount},D=()=>{F(i.$config.RESQUEST.DASHBOARD_BALANCELIST).then(e=>{if("success"!=e.code)return i.$message.error(e.msg);e.data.forEach((e,t)=>{e.value=t,e.icon=i.$store.state.support_currency_list[e.currency],e.label=e.currency,e.detail=e.availableAmount+" "+e.currency,e.slot=!0}),o.options=e.data,o.quotesData.buyCurrency="HKD",n.detailObj&&null!=n.detailObj&&""!=n.detailObj.currency?("HKD"==n.detailObj.currency&&(o.quotesData.buyCurrency="USD"),o.quotesData.sellCurrency=n.detailObj.currency):o.quotesData.sellCurrency="USD",o.sellBallence=o.options.find(e=>e.currency==o.quotesData.sellCurrency).availableAmount,o.buyBallence=o.options.find(e=>e.currency==o.quotesData.buyCurrency).availableAmount,f(1e3,1)})},C=(e,t,a,l)=>{"JPY"==t&&e&&(e=Number(e).toFixed(0)),"JPY"==l&&a&&(a=Number(a).toFixed(0)),o.loading=!0,V(i.$config.RESQUEST.QUOTES,{buyAmount:a,buyCurrency:l,sellAmount:e,sellCurrency:t,vaNo:""},{}).then(e=>{if(o.loading=!1,"success"!=e.code)return window.clearInterval(c.value),o.quotesData.sellAmount=null,o.quotesData.buyAmount=null,o.sec=100,i.$message.error(e.msg);o.quotesData=e.data,o.quotesData.ccyPair=e.data.ccyPair,o.quotesData.ccyRateValue=e.data.ccyRateValue,o.quotesData.fxId=e.data.fxId,o.quotesData.rateValue=e.data.rateValue,o.quotesData.sellAmount=e.data.sellAmount,o.quotesData.settlementDate=e.data.settlementDate,o.quotesData.validTill=e.data.validTill,o.quotesData.buyAmount=e.data.buyAmount,window.clearInterval(c.value),o.sec2=(new Date(o.quotesData.validTill).getTime()-(new Date).getTime())/1e3,c.value=window.setInterval(()=>{if(o.sec2--,o.sec2<=0)return window.clearInterval(c.value),void C(o.quotesData.sellAmount,o.quotesData.sellCurrency,null,o.quotesData.buyCurrency);o.sec=1.1111*o.sec2},1e3)})};return a(()=>{b()}),l(()=>n.detailObj,(e,t)=>{D()}),{init:b,...s(o),selectCountryHandle:e=>{o.currCountry=e},Complate:()=>{console.log(inputTw,input)},updatePageCond:f,getSelectVal:h,submitHandle:()=>{o.loading=!0,V(i.$config.RESQUEST.FXBOOKING,{fxId:o.quotesData.fxId}).then(e=>(o.loading=!1,"success"!=e.code?i.$message.error(e.msg):"fail"==e.data.tradeStatus?i.$message.error(e.data.returnMerchantMsg):(o.returnData=e.data,window.clearInterval(c.value),void F(i.$config.RESQUEST.DASHBOARD_BALANCELIST).then(e=>{o.selledBanlance=e.data.find(e=>
1e.currency==o.quotesData.sellCurrency).availableAmount,o.step++}))))},successHandle:()=>{j.push({path:"/conversionsDetail",query:{id:o.quotesData.fxId}})},creatHandle:()=>{b()},formatDateTime:$,closeHandle:()=>{window.clearInterval(c.value)},beforeClose:e=>{3==o.step?e():(o.beforeCloseVis=!0,o.delHandle=e)},mountMethod:D,nextStep:()=>{y(()=>{g(()=>{o.quotesData.sellAmount&&o.quotesData.buyAmount&&(o.step=o.step+1)})})},intervalId:c,exchangeCurrency:()=>{o.exChangeType=!o.exChangeType,o.exChangeType?(o.quotesData.buyAmount=o.quotesData.sellAmount,o.quotesData.sellAmount=null,h(o.quotesData.sellCurrency,o.quotesData.buyCurrency,2)):(o.quotesData.sellAmount=o.quotesData.buyAmount,o.quotesData.buyAmount=null,h(o.quotesData.buyCurrency,o.quotesData.sellCurrency,1))},formatMoneybyM:S,dateFilter:M,closConfim:()=>{o.beforeCloseVis=!1,o.delHandle()},emailShow:u,emailDialogFun:r,visibleEmail:d,openDialogbyVerfiyEmail:y,Show2FA:p,twoFADialogFun:m,visible2FA:x,openDialogbyVerfiy2FA:g}}},[["render",function(e,t,a,l,s,v){const w=n("VaInputSelect"),A=n("Sort"),$=h,S=D,M=C,V=q,F=n("Warning"),j=n("va-button"),I=n("va-dialog"),E=_,T=n("Va2FA"),Nt=k;return i(),c(f,null,[o("div",null,[u((i(),c("div",U,[u(o("div",null,[o("div",H,[t[13]||(t[13]=o("div",{class:"border-style"},null,-1)),o("div",B,[o("p",null,r(e.$t("exchangeManagement.key12")),1),d(w,{modelValue:e.quotesData.sellAmount,"onUpdate:modelValue":t[0]||(t[0]=t=>e.quotesData.sellAmount=t),VaSelect:e.quotesData.sellCurrency,options:e.options,placeHobj:e.placeholder,onGetInputVal:t[1]||(t[1]=e=>{l.updatePageCond(e,1)}),onGetSelectVal:t[2]||(t[2]=(e,t)=>{l.getSelectVal(e,t,1)}),needSelectImg:!0},{selectShow:y(e=>[o("div",R,[o("p",z,[o("span",{class:p(["flag","flag-"+e.selectShow.icon]),style:{top:"0"}},null,2)]),o("p",P,r(e.selectShow?e.selectShow.label:""),1)])]),optionCont:y(e=>[o("div",O,[o("div",N,[o("div",G,[o("span",{class:p(["flag","flag-"+e.item.icon]),style:{top:"0"}},null,2)])]),o("div",L,[o("p",Q,r(e.item.label),1),o("p",K,r(e.item.detail),1)])])]),_:1},8,["modelValue","VaSelect","options","placeHobj"]),o("p",W,r(e.$t("exchangeManagement.key13"))+" "+r(l.formatMoneybyM(e.sellBallence,e.quotesData.sellCurrency))+" "+r(e.quotesData.sellCurrency),1),o("div",Y,[o("div",{class:"iconLeft flex items-center justify-center text-lg cursor-pointer",style:{color:"var(--sys-blue)"},onClick:t[3]||(t[3]=(...e)=>l.exchangeCurrency&&l.exchangeCurrency(...e))},[d($,null,{default:y(()=>[d(A)]),_:1})]),o("div",J,[o("p",{class:"cursor-pointer",onClick:t[4]||(t[4]=t=>e.RateDetails=!e.RateDetails)},[o("span",null,"1 "+r(e.quotesData.ccyPair.slice(0,3))+"= "+r(Number(e.quotesData.ccyRateValue).toFixed(6))+" "+r(e.quotesData.ccyPair.slice(3,6)),1)]),o("div",X,[o("p",Z,r(e.$t("exchangeManagement.key14"))+" "+r(e.quotesData.validTill?l.dateFilter(e.quotesData.validTill,"yyyy-MM-dd hh:mm:ss"):""),1),d(S,{width:"10","stroke-width":"1",type:"circle",class:"pl-2.5 progress",percentage:e.sec},null,8,["percentage"])])])]),o("p",ee,r(e.$t("exchangeManagement.key15")),1),d(w,{modelValue:e.quotesData.buyAmount,"onUpdate:modelValue":t[5]||(t[5]=t=>e.quotesData.buyAmount=t),VaSelect:e.quotesData.buyCurrency,VaDisabled:!1,placeHobj:e.placeholder,onGetInputVal:t[6]||(t[6]=e=>{l.updatePageCond(e,2)}),onGetSelectVal:t[7]||(t[7]=(e,t)=>{l.getSelectVal(e,t,2)}),options:e.options,needSelectImg:!0},{selectShow:y(e=>[o("div",te,[o("p",ae,[o("span",{class:p(["flag","flag-"+e.selectShow.icon]),style:{top:"0"}},null,2)]),o("p",le,r(e.selectShow?e.selectShow.label:""),1)])]),optionCont:y(e=>[o("div",se,[o("div",ne,[o("div",ie,[o("span",{class:p(["flag","flag-"+e.item.icon]),style:{top:"0"}},null,2)])]),o("div",ce,[o("p",oe,r(e.item.label),1),o("p",ue,r(e.item.detail),1)])])]),_:1},8,["modelValue","VaSelect","placeHobj","options"]),o("p",re,r(e.$t("exchangeManagement.key13"))+" "+r(l.formatMoneybyM(e.buyBallence,e.quotesData.buyCurrency))+" "+r(e.quotesData.buyCurrency),1)])])],512),[[m,1==e.step]]),u(o("div",null,[d(V,null,{default:y(()=>[d(M,{type:"primary",hollow:!0},{default:y(()=>[o("div",null,[o("p",de,r(e.$t("exchangeManagement.key12")),1),o("div",ye,[o("span",pe,r(e.quotesData.sellAmount)+" "+r(e.quotesData.sellCurrency),1),o("span",{class:p(["flag ml-3","flag-"+e.$store.state.support_currency_list[e.quotesData.sellCurrency]]),style:{to
1p:"0"}},null,2)]),o("p",null,[o("span",me,r(e.$t("exchangeManagement.key13")),1),o("span",xe,r(l.formatMoneybyM(e.sellBallence,e.quotesData.sellCurrency))+" "+r(e.quotesData.sellCurrency),1)])])]),_:1}),d(M,{type:"primary",hollow:!0},{default:y(()=>[o("div",null,[o("p",ge,r(e.$t("exchangeManagement.key16")),1),o("div",be,[o("p",{class:"cursor-pointer",onClick:t[8]||(t[8]=t=>e.RateDetails=!e.RateDetails)},[o("span",null,"1 "+r(e.quotesData.ccyPair.slice(0,3))+"= "+r(Number(e.quotesData.ccyRateValue).toFixed(6))+" "+r(e.quotesData.ccyPair.slice(3,6)),1)]),o("div",fe,[o("p",ve,r(e.$t("exchangeManagement.key14"))+" "+r(e.quotesData.validTill?l.dateFilter(e.quotesData.validTill,"yyyy-MM-dd hh:mm:ss"):""),1),d(S,{width:"10","stroke-width":"1",type:"circle",class:"pl-2.5 progress",percentage:e.sec},null,8,["percentage"])])])])]),_:1}),d(M,{type:"primary",hollow:!0},{default:y(()=>[o("div",null,[o("p",he,r(e.$t("exchangeManagement.key15")),1),o("div",De,[o("span",Ce,r(e.quotesData.buyAmount)+" "+r(e.quotesData.buyCurrency),1),o("span",{class:p(["flag ml-3","flag-"+e.$store.state.support_currency_list[e.quotesData.buyCurrency]]),style:{top:"0"}},null,2)]),o("p",null,[o("span",qe,r(e.$t("exchangeManagement.key13")),1),o("span",ke,r(l.formatMoneybyM(e.buyBallence,e.quotesData.buyCurrency))+" "+r(e.quotesData.buyCurrency),1)])])]),_:1})]),_:1}),o("div",we,[o("div",Ae,[d($,{class:"align-middle"},{default:y(()=>[d(F)]),_:1})]),o("div",null,r(e.$t("exchangeManagement.key17")),1)])],512),[[m,2==e.step]]),u(o("div",null,[o("div",$e,[o("div",Se,["success"==e.returnData.tradeStatus?(i(),c("span",Me)):"pending"==e.returnData.tradeStatus?(i(),c("span",Ve,[(i(),c("svg",Fe,[...t[14]||(t[14]=[o("use",{"xlink:href":"#icon-processing"},null,-1)])]))])):x("",!0)]),o("p",je,["success"==e.returnData.tradeStatus?(i(),c("span",_e,r(e.$t("exchangeManagement.key18")),1)):"pending"==e.returnData.tradeStatus?(i(),c("span",Ie,r(e.$t("exchangeManagement.key43")),1)):x("",!0)]),o("p",Ee,r(e.$t("exchangeManagement.key19"))+r(e.quotesData.fxId),1),o("div",Te,["success"==e.returnData.tradeStatus?(i(),c("div",Ue,[o("div",He,[o("div",Be,[(i(),c("svg",Re,[...t[15]||(t[15]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",ze,r(e.$t("transfer.key35")),1)]),o("div",Pe,[o("div",Oe,[(i(),c("svg",Ne,[...t[16]||(t[16]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",Ge,r(e.$t("exchangeManagement.key30")),1)]),o("div",Le,[o("div",Qe,[(i(),c("svg",Ke,[...t[17]||(t[17]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",We,r(e.$t("exchangeManagement.key31")),1)]),o("div",Ye,[o("div",Je,[(i(),c("svg",Xe,[...t[18]||(t[18]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",Ze,r(e.$t("exchangeManagement.key32")),1)]),t[19]||(t[19]=o("div",{class:"timeline1 z-10 flex"},[o("div",{class:"w-full bg-[#4cc599]"})],-1))])):"pending"==e.returnData.tradeStatus?(i(),c("div",et,[o("div",tt,[o("div",at,[(i(),c("svg",lt,[...t[20]||(t[20]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",st,r(e.$t("transfer.key35")),1)]),o("div",nt,[o("div",it,[(i(),c("svg",ct,[...t[21]||(t[21]=[o("use",{"xlink:href":"#icon-processing"},null,-1)])]))]),o("div",ot,r(e.$t("exchangeManagement.key2")),1)]),o("div",ut,[o("div",rt,[(i(),c("svg",dt,[...t[22]||(t[22]=[o("use",{"xlink:href":"#icon-a-Graytick"},null,-1)])]))]),o("div",yt,r(e.$t("exchangeManagement.key38")),1)]),t[23]||(t[23]=o("div",{class:"timeline1 z-10 flex"},[o("div",{class:"w-[25%] bg-[#4cc599]"}),o("div",{class:"w-[75%] bg-[rgb(223,235,255)]"})],-1))])):"failed"==e.returnData.tradeStatus?(i(),c("div",pt,[o("div",mt,[o("div",xt,[(i(),c("svg",gt,[...t[24]||(t[24]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",bt,r(e.$t("transfer.key35")),1)]),o("div",ft,[o("div",vt,[(i(),c("svg",ht,[...t[25]||(t[25]=[o("use",{"xlink:href":"#icon-Finish"},null,-1)])]))]),o("div",Dt,r(e.$t("exchangeManagement.key30")),1)]),o("div",Ct,[o("div",qt,[(i(),c("svg",kt,[...t[26]||(t[26]=[o("use",{"xlink:href":"#icon-Fail"},null,-1)])]))]),o("div",wt,r(e.$t("exchangeManagement.key39")),1)]),t[27]||(t[27]=o("div",{class:"timeline1 z-10 flex"},[o("div",{class:"w-[50%] bg-[#4cc599]"}),o("div",{class:"w-[50%] bg-[rgb(223,235,255)]"})],-1))])):x("",!0)]),o("div",At,[o("div",$t,[o("p",St,r(e.$t("exchangeManagement.key9")),1),o("div",Mt,[o("div",Vt,r(e.quotesData.sellAmount)+" "+r(e.quotesData.sellCurrency),1),o("div",Ft,[o("div",{class:p(["flag","flag-"+e.$store.state.support_currency_list[e.quotesData.sellCurrency]]),style:{width:"32px",height:"32px"}},null,2)])]),o("p",jt,r(e.$t("exchangeManagement.key10")),1),o("div",_t,[o("div",It,r(e.quotesData.buyAmount)+" "+r(e.quotesData.buyCurrency),1),o("div",Et,[o("div",{class:p(["flag","flag-"+e.$store.state.support_currency_list[e.quotesData.buyCurrency
1]]),style:{width:"32px",height:"32px"}},null,2)])])]),o("div",Tt,[o("div",Ut,[o("span",Ht,r(e.$t("exchangeManagement.key13")),1),o("span",Bt,r(l.formatMoneybyM(e.selledBanlance,e.quotesData.sellCurrency))+" "+r(e.quotesData.sellCurrency),1)]),o("div",Rt,[o("span",zt,r(e.$t("exchangeManagement.key16")),1),o("span",Pt,"1 "+r(e.quotesData.ccyPair.slice(0,3))+"= "+r(Number(e.quotesData.ccyRateValue).toFixed(6))+" "+r(e.quotesData.ccyPair.slice(3,6)),1)])])])])],512),[[m,3==e.step]])])),[[Nt,e.loading]]),o("div",Ot,[2==e.step?(i(),g(j,{key:0,onClick:t[9]||(t[9]=t=>e.step=e.step-1)},{default:y(()=>[b(r(e.$t("exchangeManagement.key20")),1)]),_:1})):x("",!0),1==e.step&&1!==e.$store.state.deviceWidth?(i(),g(j,{key:1,class:"mt-6",onClick:t[10]||(t[10]=t=>e.visible=!1)},{default:y(()=>[b(r(e.$t("comm.cancel")),1)]),_:1})):x("",!0),1==e.step?(i(),g(j,{key:2,onClick:l.nextStep,type:"primary",disabled:!e.quotesData.sellAmount||!e.quotesData.buyAmount},{default:y(()=>[b(r(e.$t("exchangeManagement.key21")),1)]),_:1},8,["onClick","disabled"])):x("",!0),2==e.step?(i(),g(j,{key:3,onClick:l.submitHandle,type:"primary",class:"mb-6 sm:mb-0"},{default:y(()=>[b(r(e.$t("exchangeManagement.key22")),1)]),_:1},8,["onClick"])):x("",!0),3==e.step?(i(),g(j,{key:4,onClick:l.creatHandle,class:"sm:w-full mb-6"},{default:y(()=>[b(r(e.$t("exchangeManagement.key1")),1)]),_:1},8,["onClick"])):x("",!0),3==e.step&&1!==e.$store.state.deviceWidth?(i(),g(j,{key:5,type:"primary",onClick:l.successHandle,class:"sm:w-full sm:mb-2"},{default:y(()=>[b(r(e.$t("exchangeManagement.key23")),1)]),_:1},8,["onClick"])):x("",!0)])]),d(I,{modelValue:e.beforeCloseVis,"onUpdate:modelValue":t[12]||(t[12]=t=>e.beforeCloseVis=t),title:e.$t("exchangeManagement.key34"),top:"10%"},{body:y(()=>[o("p",null,r(e.$t("exchangeManagement.key35")),1)]),button:y(()=>[d(j,{onClick:t[11]||(t[11]=t=>e.beforeCloseVis=!1),class:"mr-2"},{default:y(()=>[b(r(e.$t("comm.cancel")),1)]),_:1}),t[28]||(t[28]=o("span",null,null,-1)),d(j,{type:"primary",onClick:l.closConfim},{default:y(()=>[b(r(e.$t("comm.confirm")),1)]),_:1},8,["onClick"])]),_:1},8,["modelValue","title"]),d(E,{visible:l.emailShow,"onUpdate:hide":l.emailDialogFun,"onUpdate:visible":l.visibleEmail},null,8,["visible","onUpdate:hide","onUpdate:visible"]),d(T,{visible:l.Show2FA,"onUpdate:hide":l.twoFADialogFun,"onUpdate:visible":l.visible2FA},null,8,["visible","onUpdate:hide","onUpdate:visible"])],64)}],["__scopeId","data-v-5ccf0d2b"]]);export{Nt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.