PageSourceSearch

https://www.tabi.lol/assets/TransactionItem-ETqhm0_k.js

js tabi.lol collected 2026-09-24 11:57:15 UTC 2,212 bytes, 1 lines download raw bytes

1import{bP as d,j as t,aQ as m,af as o,w as i,bV as h,x as f}from"./index-WbIxiSre.js";import{g as b}from"./useHistory-C0xWm56l.js";function p({i:e}){var l,n,r,c;const s=d(),a=e.from.hash===(s==null?void 0:s.address),x=(l=b().chain.blockExplorers)==null?void 0:l[0].url;return t.jsxs(m,{className:"py-4 flex items-center justify-between border-b-[0.5px] border-b-[rgba(19,19,19,0.10)]",to:`${x}/tx/${e.tx_hash}`,target:"_blank",children:[t.jsxs("div",{className:"flex flex-col",children:[t.jsx("div",{className:"text-black text-sm font-bold leading-5 capitalize",children:e.type.replace(/_/g," ")}),t.jsx("div",{className:"text-[#696969] text-xs font-normal leading-4",children:a?o(e.to.hash):o(e.from.hash)})]}),t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsxs("div",{className:i("text-black text-right text-sm font-bold leading-5",a?"text-black":"text-[#5EC16A]"),children:[a?"-":"+"," ",h((n=e.total)==null?void 0:n.value,+(((r=e.total)==null?void 0:r.decimals)||18))," ",(c=e.token)==null?void 0:c.symbol]}),t.jsx("div",{className:"text-[#696969] text-xs font-normal leading-4",children:f(e.timestamp).format("YYYY-MM-DD HH:mm")})]})]},e.block_hash)}function v({i:e}){var l,n,r;const s=d(),a=e.from.hash===(s==null?void 0:s.address),x=(l=b().chain.blockExplorers)==null?void 0:l[0].url;return t.jsxs(m,{className:"py-4 flex items-center justify-between border-b-[0.5px] border-b-[rgba(19,19,19,0.10)]",to:`${x}/tx/${e.hash}`,target:"_blank",children:[t.jsxs("div",{className:"flex flex-col",children:[t.jsx("div",{className:"text-black text-sm font-bold leading-5 capitalize",children:((r=(n=e.transaction_types)==null?void 0:n[e.transaction_types.length-1])==null?void 0:r.replace(/_/g," "))||"--"}),t.jsx("div",{className:"text-[#696969] text-xs font-normal leading-4",children:a?o(e.to.hash):o(e.from.hash)})]}),t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsxs("div",{className:i("text-black text-right text-sm font-bold leading-5",a?"text-black":"text-[#5EC16A]"),children:[a?"-":"+"," ",h(e.value)," Tabi"]}),t.jsx("div",{className:"text-[#696969] text-xs font-normal leading-4",children:f(e.timestamp).format("YYYY-MM-DD HH:mm")})]})]},e.hash)}export{v as T,p as a};

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.