1import{ao as y,aw as m,o as e,c as o,q as c,a1 as p,a2 as h,J as n,B as i,Z as g,A as a}from"./Ci0sP1HV.js";import{_ as k}from"./BKc8u1VI.js";const v=""+new URL("btc.Bm_C4kIV.png",import.meta.url).href,w=""+new URL("usdt.UinYIAsh.png",import.meta.url).href,U=""+new URL("eth.DNTFTPHk.png",import.meta.url).href,b=""+new URL("in.x2qD-ssm.svg",import.meta.url).href,x=""+new URL("out.B7SnbqfH.svg",import.meta.url).href,L=""+new URL("txid.vHeHCPl6.png",import.meta.url).href,R=""+new URL("done-checkbox.56kj-E7H.svg",import.meta.url).href,T=""+new URL("waitin.DdGlqtxW.svg",import.meta.url).href,f=""+new URL("closed.XUWIsrYD.svg",import.meta.url).href,B={setup(){const{locale:s}=y();return{locale:s}},data(){return{historyFinance:[],copied:!1}},props:{rows:{type:Array,default:()=>[]}},methods:{async copyText(s){try{await navigator.clipboard.writeText(s),this.copied=s,setTimeout(()=>this.copied=null,3e3)}catch(r){console.error("ÐÑибка копиÑованиÑ:",r)}},formatDate(s){return new Date(s*1e3).toLocaleString(this.locale,{month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"})},currencySymbol(s){return m(s)}},computed:{items(){return this.rows.map(s=>{const r=s.notes||[];return r.length?r.forEach(_=>{_.type==="tx_hash"&&(s.txid=_.note),_.type==="crypto_currency"&&(s.crypto_currency=_.note)}):(s.crypto_currency=null,s.txid=null),s})}}},C={class:"finance"},D={class:"finance__container"},S={class:"finance__logo"},H={key:0,src:v},I={key:1,src:w},q={key:2,src:U},E={key:3,src:b},F={key:4,src:x},N={class:"finance__title"},V={class:"finance__title-left"},A={key:0,class:"operation"},$={key:1,class:"operation"},j={key:2,class:"operation"},O=["onClick"],P={key:1,class:"operation copied"},W={class:"date"},X={class:"finance__result"},Y={key:0,class:"plus-minus"},z={key:1,class:"plus-minus"},G={key:2,class:"plus-minus"},J={key:0,class:"operation__status"},Z={key:1,class:"operation__status"},K={key:2,class:"operation__status"};function M(s,r,_,Q,l,u){return e(),o("div",C,[c("div",D,[(e(!0),o(p,null,h(u.items,(t,d)=>(e(),o("div",{class:"finance__operation",key:d},[c("div",S,[t.crypto_currency==="BTC"?(e(),o("img",H)):t.crypto_currency==="USDT_TRX"?(e(),o("img",I)):t.crypto_currency==="ETH"?(e(),o("img",q)):t.type==="out_return"?(e(),o("img",E)):t.type==="out"?(e(),o("img",F)):n("",!0)]),c("div",N,[c("div",V,[!l.copied||l.copied!==t.txid?(e(),o(p,{key:0},[t.type==="in"?(e(),o("p",A,i(s.$t("history.payIn")),1)):n("",!0),t.type==="out_return"?(e(),o("p",$,i(s.$t("history.payOutReturn")),1)):n("",!0),t.type==="out"?(e(),o("p",j,i(s.$t("history.payOut")),1)):n("",!0),t.txid?(e(),o("img",{key:3,onClick:tt=>u.copyText(t.txid),src:L},null,8,O)):n("",!0)],64)):l.copied===t.txid?(e(),o("p",P,"Ð¥ÑÑ ÑкопиÑован!")):n("",!0)]),c("div",W,i(u.formatDate(t.stamp)),1)]),c("div",X,[c("div",{class:g(["operation__value",{witdraw:t.type==="out"}])},[t.type==="in"?(e(),o("div",Y,"+")):n("",!0),t.type==="out_return"?(e(),o("div",z,"+")):n("",!0),t.type==="out"?(e(),o("div",G,"-")):n("",!0),a(" "+i(t.sum)+" "+i(t.isBonus?"B":"")+" "+i(t.baseCurrency?u.currencySymbol(t.baseCurrency)+" â":"")+" "+i(u.currencySymbol(t.currency)),1)],2),t.status==="complete"?(e(),o("div",J,[r[0]||(r[0]=c("img",{src:R},null,-1)),a(" "+i(s.$t("history.status.complete")),1)])):t.status==="wait"?(e(),o("div",Z,[r[1]||(r[1]=c("img",{src:T},null,-1)),a(" "+i(s.$t("history.status.wait")),1)])):t.status==="reject"?(e(),o("div",K,[r[2]||(r[2]=c("img",{src:f},null,-1)),a(" "+i(s.$t("history.status.cancel")),1)])):n("",!0)])]))),128))])])}const ot=k(B,[["render",M],["__scopeId","data-v-143db4c0"]]);export{ot 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.