"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("@argent/x-shared"),a=require("../../../features/icons/SendSecondaryIcon.cjs"),n=require("@chakra-ui/react"),u=require("./UnknownTokenIcon.cjs"),c=({transaction:r,networkId:i})=>{var t,d;const o=s.useToken({address:((d=(t=r==null?void 0:r.activity)==null?void 0:t.value)==null?void 0:d.token.address)||"0x0",networkId:i});return e.jsx(n.Center,{"data-testid":"send-transaction-icon",children:e.jsx(n.Box,{height:"14",width:"14",position:"relative",children:e.jsxs(n.Center,{w:"14",h:"14",background:"neutrals.600",borderRadius:"90",boxShadow:"menu",padding:"4",children:[e.jsx(a,{fontSize:"4xl",color:"white"}),o?e.jsx(n.Center,{w:"28px",h:"28px",background:"neutrals.900",borderRadius:"90",boxShadow:"menu",padding:"1",position:"absolute",zIndex:"1",right:"-1",bottom:"-1",children:e.jsx(n.Image,{src:o==null?void 0:o.image,height:"5",width:"5",zIndex:"2"})}):e.jsx(u.UnknownTokenIcon,{w:"28px",h:"28px",background:"neutrals.900",borderRadius:"90",boxShadow:"menu",padding:"1",position:"absolute",zIndex:"1",right:"-1",bottom:"-1"})]})})})};exports.SendTransactionIcon=c;
