import{b7 as b,b$ as y,c,a as g,d as x,aY as B,aT as N,a$ as e,N as $,b0 as a,bc as I,r as V,bo as W,b_ as r,ba as u,m as C,aX as R}from"./index-xnhGKCfe.js";import{u as k}from"./withdraw-CIqe__b_.js";import{u as w}from"./recharge-CAB_al-L.js";const S={class:"h_1 bottom_mix_style"},T={class:"balance flex flex-items-center"},z={class:"h_2 bottom_mix_style"},G=b({__name:"header",props:{isRecharge:{type:[Boolean],default:!1},v1:{type:[Number],default:""},v2:{type:[Number],default:""}},setup(t){y(l=>({v14e0198e:p.value,v14e019ae:h.value}));const{currencySign:n}=g(),{getBasicInfo:i}=k(),{getImgVal:o}=C(),{GetRechargeBasicInfo:f}=w(),{refreshWalletBalance:m}=x(),_=t,s=V(!1);async function d(){if(!s.value){s.value=!0;try{await m(!1),setTimeout(()=>{_.isRecharge?f():i(!1)},1e3)}finally{s.value=!1}}}const p=c(()=>`url('${o("icon_cash_b")}')`),h=c(()=>`url('${o("icon_with2")}')`);return(l,M)=>{const v=W;return N(),B("header",null,[e("div",S,[e("div",T,[e("p",null,a(l.$t("t735")),1),$(v,{class:I({loading:s.value}),name:"replay",size:18,onClick:d},null,8,["class"])]),e("p",null,[e("span",null,a(u(n)),1),r(a(Math.trunc(t.v1)),1)])]),e("div",z,[e("p",null,a(l.$t("t736")),1),e("p",null,[e("span",null,a(u(n)),1),r(a(Math.trunc(t.v2)),1)])])])}}}),X=R(G,[["__scopeId","data-v-ea900104"]]);export{X as W};
