<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6275],{80863:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;l});var t,n,r=s(96540);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var a=1;a&lt;arguments.length;a++){var s=arguments[a];for(var t in s)Object.prototype.hasOwnProperty.call(s,t)&amp;&amp;(e[t]=s[t])}return e}).apply(this,arguments)}let l=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 23 20"},e),t||(t=r.createElement("path",{fill:"url(#a)",d:"M1.12 1.111v5.556h2.241V2.222h4.482V0H2.241a1.13 1.13 0 0 0-.793.325c-.21.209-.327.491-.327.786Zm20.168 5.556V1.11c0-.295-.118-.577-.328-.786A1.125 1.125 0 0 0 20.168 0h-5.603v2.222h4.482v4.445h2.24Zm-2.24 11.11h-4.483V20h5.603c.297 0 .582-.117.792-.326.21-.208.328-.49.328-.785v-5.556h-2.24v4.445ZM7.842 20v-2.222H3.361v-4.445h-2.24v5.556c0 .295.117.577.327.785.21.209.496.326.793.326h5.602ZM0 8.889h22.408v2.222H0V8.89Z"})),n||(n=r.createElement("defs",null,r.createElement("linearGradient",{id:"a",x1:2.161,x2:21.104,y1:1.429,y2:18.729,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#52FF00"}),r.createElement("stop",{offset:1,stopColor:"#00EEFD"})))))}},58397:(e,a,s)=&gt;{(window.__NEXT_P=window.__NEXT_P||[]).push(["/address/[hash]",function(){return s(10550)}])},47435:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;r});var t=s(60346),n=s(44495);function r(e){var a;return((null===(a=e.rewards)||void 0===a?void 0:a.map(e=&gt;{let{reward:a}=e;return(0,t.A)(a)}).reduce((e,a)=&gt;e.plus(a),n.f2))||n.f2).div(n.M$)}},72902:(e,a,s)=&gt;{"use strict";function t(e,a){if("string"==typeof a&amp;&amp;e.includes(a))return a}s.d(a,{A:()=&gt;t})},72409:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;n});var t=s(96540);function n(){return t.useCallback(e=&gt;e.stopPropagation(),[])}},13663:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;n});var t=s(57286);function n(){switch(t.A.chain.verificationType){case"validation":return"validated";case"mining":return"mined";case"posting":return"posted";case"sequencing":return"sequenced";default:return"miner"}}},10550:(e,a,s)=&gt;{"use strict";s.r(a),s.d(a,{__N_SSP:()=&gt;ne,default:()=&gt;na});var t=s(74848),n=s(96540),r=s(92554),i=s(48996),l=s(11692),o=s(46378),d=s(62539),c=s(86715),h=s(57286),u=s(64569),m=s(71343),x=s(8753),p=s(58041),g=s(97286),j=s(8620),b=s(57577);let v=h.A.features.addressProfileAPI,f=j.Ikc({user_profile:j.Ikc({username:j.KCZ([j.YjP(),j.chJ()])})}),A=h.A.features.safe;var y=s(13663),_=s(85665),w=s(79408),k=s(82460),L=s(57123);let C="address_xstar_score",T="Invalid response schema";var S=s(24289),E=s(87620),D=s(57930),P=s(74458),R=s(88993),F=s(22629),I=s(36671),z=s(10875),W=s(72902),N=s(45753),q=s(99030),B=s(20900),O=s(97324),V=s(25366),U=s(78117),G=s(84213),M=s(62856),H=s(28208);let $=n.memo(e=&gt;{let a=(0,n.useMemo)(()=&gt;{let a=e.tx.classificationData.description;return a.endsWith(".")?a.substring(0,a.length-1):a},[e.tx.classificationData.description]);return(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(O.Td,{px:3,py:"18px",fontSize:"sm",children:(0,t.jsx)(H.A,{timestamp:1e3*e.tx.rawTransactionData.timestamp,isLoading:e.isPlaceholderData,color:"text_secondary",borderRadius:"sm",flexShrink:0})}),(0,t.jsx)(O.Td,{px:3,py:"18px",fontSize:"sm",children:(0,t.jsx)(V.A,{borderRadius:"sm",isLoaded:!e.isPlaceholderData,children:(0,t.jsxs)(d.az,{display:"flex",children:[(0,t.jsx)(U.A,{name:"lightning",height:"5",width:"5",color:"gray.500",mr:"8px",_dark:{color:"gray.400"}}),(0,t.jsx)(G.A,{href:"/tx/".concat(e.tx.rawTransactionData.transactionHash),fontWeight:"bold",whiteSpace:"break-spaces",wordBreak:"break-word",children:a})]})})}),(0,t.jsx)(O.Td,{px:3,py:"18px",fontSize:"sm",children:(0,t.jsx)(d.az,{flexShrink:0,children:(0,t.jsx)(M.A,{txData:e.tx,currentAddress:e.currentAddress,isLoaded:!e.isPlaceholderData})})})]})});var Q=s(38659),J=s(94448),X=s(99108),K=s(49169),Z=s(86296),Y=s(27693),ee=s(27821),ea=s(16075);let es=n.memo(e=&gt;{let a=(0,n.useMemo)(()=&gt;{let a=e.tx.classificationData.description;return a.endsWith(".")?a.substring(0,a.length-1):a},[e.tx.classificationData.description]);return(0,t.jsxs)(ea.A,{rowGap:4,w:"full",children:[(0,t.jsx)(V.A,{borderRadius:"sm",isLoaded:!e.isPlaceholderData,w:"full",children:(0,t.jsxs)(l.s,{justifyContent:"space-between",w:"full",children:[(0,t.jsxs)(l.s,{columnGap:2,children:[(0,t.jsx)(U.A,{name:"lightning",height:"5",width:"5",color:"gray.500",_dark:{color:"gray.400"}}),(0,t.jsx)(ee.E,{fontSize:"sm",fontWeight:500,children:"Action"})]}),(0,t.jsx)(H.A,{timestamp:1e3*e.tx.rawTransactionData.timestamp,color:"text_secondary",borderRadius:"sm",fontWeight:500})]})}),(0,t.jsx)(V.A,{borderRadius:"sm",isLoaded:!e.isPlaceholderData,children:(0,t.jsx)(G.A,{href:"/tx/".concat(e.tx.rawTransactionData.transactionHash),fontWeight:"bold",whiteSpace:"break-spaces",wordBreak:"break-word",children:a})}),(0,t.jsx)(d.az,{maxW:"full",children:(0,t.jsx)(M.A,{txData:e.tx,currentAddress:e.currentAddress,isLoaded:!e.isPlaceholderData})})]})});var et=s(18569),en=s(45214);let er=[{value:"all",label:"All"},{value:"received",label:"Received from"},{value:"sent",label:"Sent to"}],ei=n.memo(e=&gt;{let{onFilterChange:a,defaultFilter:s,hasActiveFilter:n,isLoading:r}=e,i=(0,et.A)(r);return(0,t.jsx)(en.A,{name:"account_history_filter",options:er,onChange:a,hasActiveFilter:n,isLoading:i,defaultValue:s||er[0].value})}),el=W.A.bind(null,["received","sent"]),eo=e=&gt;{let{scrollRef:a,shouldRender:s=!0,isQueryEnabled:r=!0}=e,i=(0,c.useRouter)(),l=(0,N.A)(),o=(0,_.A)(i.query.hash).toLowerCase(),[h,u]=n.useState(el(i.query.filter)),{data:m,isError:x,pagination:p,isPlaceholderData:g}=(0,Z.A)({resourceName:"noves_address_history",pathParams:{address:o},scrollRef:a,options:{enabled:r,placeholderData:(0,B.k)(q.v,10,{hasNextPage:!1,pageNumber:1,pageSize:10})}}),j=n.useCallback(e=&gt;{u(el(e))},[]);if(!l||!s)return null;let b=(0,t.jsxs)(Q.Ay,{mt:-6,pb:{base:6,md:5},children:[(0,t.jsx)(ei,{defaultFilter:h,onFilterChange:j,hasActiveFilter:!!h,isLoading:p.isLoading}),(0,t.jsx)(K.A,{ml:{base:"auto",lg:8},...p})]}),v=g?null==m?void 0:m.items:null==m?void 0:m.items.filter(e=&gt;h?(0,X.HE)(e,o)===h:e),f=(0,t.jsxs)(d.az,{position:"relative",children:[(0,t.jsx)(D.L,{above:"lg",ssr:!1,children:null==v?void 0:v.map((e,a)=&gt;(0,t.jsx)(es,{tx:e,currentAddress:o,isPlaceholderData:g},"".concat(a,"-").concat(e.rawTransactionData.transactionHash)))}),(0,t.jsx)(P.w,{above:"lg",ssr:!1,children:(0,t.jsxs)(R.X,{children:[(0,t.jsx)(Y.A,{top:75,children:(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(I.Th,{width:"120px",children:"Age"}),(0,t.jsx)(I.Th,{children:"Action"}),(0,t.jsx)(I.Th,{width:"320px",children:"From/To"})]})}),(0,t.jsx)(z.N,{maxWidth:"full",children:null==v?void 0:v.map((e,a)=&gt;(0,t.jsx)($,{tx:e,currentAddress:o,isPlaceholderData:g},"".concat(a,"-").concat(e.rawTransactionData.transactionHash)))})]})})]});return(0,t.jsx)(J.A,{isError:x,items:v,emptyText:"There are no transactions.",content:f,actionBar:b,filterProps:{hasActiveFilters:!!h,emptyFilteredText:"No match found for current filter"}})};var ed=s(97665),ec=s(80980),eh=s(73240),eu=s(90317),em=s(60346),ex=s(47435),ep=s(3164),eg=s(86032);let ej=n.memo(e=&gt;{var a;let s=(0,ex.A)(e);return(0,t.jsxs)(ea.A,{rowGap:2,isAnimated:!0,children:[(0,t.jsxs)(l.s,{justifyContent:"space-between",w:"100%",children:[(0,t.jsx)(eg.Ay,{isLoading:e.isLoading,number:e.height,noIcon:!0,fontWeight:700}),(0,t.jsx)(H.A,{timestamp:e.timestamp,enableIncrement:1===e.page,isLoading:e.isLoading,color:"text_secondary",display:"inline-block"})]}),(0,t.jsxs)(l.s,{columnGap:2,w:"100%",children:[(0,t.jsx)(V.A,{isLoaded:!e.isLoading,fontWeight:500,flexShrink:0,children:"Txn"}),(0,t.jsx)(V.A,{isLoaded:!e.isLoading,display:"inline-block",color:"Skeleton_secondary",children:(0,t.jsx)("span",{children:e.transaction_count})})]}),(0,t.jsxs)(l.s,{columnGap:2,w:"100%",children:[(0,t.jsx)(V.A,{isLoaded:!e.isLoading,fontWeight:500,flexShrink:0,children:"Gas used"}),(0,t.jsx)(V.A,{isLoaded:!e.isLoading,children:(0,t.jsx)(ee.E,{color:"text_secondary",children:(0,em.A)(e.gas_used||0).toFormat()})}),(0,t.jsx)(ep.A,{gasUsed:e.gas_used,gasLimit:e.gas_limit,isLoading:e.isLoading})]}),!(null===(a=h.A.UI.views.block.hiddenFields)||void 0===a?void 0:a.total_reward)&amp;&amp;!h.A.features.rollup.isEnabled&amp;&amp;(0,t.jsxs)(l.s,{columnGap:2,w:"100%",children:[(0,t.jsxs)(V.A,{isLoaded:!e.isLoading,fontWeight:500,flexShrink:0,children:["Reward ",ec.T.ether]}),(0,t.jsx)(V.A,{isLoaded:!e.isLoading,children:(0,t.jsx)(ee.E,{color:"text_secondary",children:s.toFixed()})})]})]})}),eb=n.memo(e=&gt;{var a;let s=(0,ex.A)(e);return(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(O.Td,{children:(0,t.jsx)(eg.Ay,{isLoading:e.isLoading,number:e.height,noIcon:!0,fontSize:"sm",lineHeight:5,fontWeight:700})}),(0,t.jsx)(O.Td,{children:(0,t.jsx)(H.A,{timestamp:e.timestamp,enableIncrement:1===e.page,isLoading:e.isLoading,color:"text_secondary",display:"inline-block"})}),(0,t.jsx)(O.Td,{children:(0,t.jsx)(V.A,{isLoaded:!e.isLoading,display:"inline-block",fontWeight:"500",children:(0,t.jsx)("span",{children:e.transaction_count})})}),(0,t.jsx)(O.Td,{children:(0,t.jsxs)(l.s,{alignItems:"center",columnGap:2,children:[(0,t.jsx)(V.A,{isLoaded:!e.isLoading,flexBasis:"80px",children:(0,em.A)(e.gas_used||0).toFormat()}),(0,t.jsx)(ep.A,{gasUsed:e.gas_used,gasLimit:e.gas_limit,isLoading:e.isLoading})]})}),!(null===(a=h.A.UI.views.block.hiddenFields)||void 0===a?void 0:a.total_reward)&amp;&amp;!h.A.features.rollup.isEnabled&amp;&amp;(0,t.jsx)(O.Td,{isNumeric:!0,children:(0,t.jsx)(V.A,{isLoaded:!e.isLoading,display:"inline-block",children:(0,t.jsx)("span",{children:s.toFixed()})})})]})}),ev=n.memo(e=&gt;{var a,s,r;let{scrollRef:i,shouldRender:l=!0,isQueryEnabled:o=!0}=e,[d,u]=n.useState(""),[m,p]=n.useState(0),g=(0,ed.jE)(),j=(0,c.useRouter)(),b=(0,N.A)(),v=String(j.query.hash),f=(0,Z.A)({resourceName:"address_blocks_validated",pathParams:{hash:v},scrollRef:i,options:{enabled:o,placeholderData:(0,B.k)(eh.IE,50,{next_page_params:{block_number:9060562,items_count:50}})}}),A=n.useCallback(()=&gt;{u("An error has occurred while fetching new blocks. Please refresh the page to load new blocks.")},[]),y=n.useCallback(e=&gt;{u(""),g.setQueryData((0,x.y)("address_blocks_validated",{pathParams:{hash:v}}),a=&gt;a?a.items.length&gt;=75?(p(e=&gt;e+1),a):{...a,items:[e.block,...a.items]}:void 0)},[v,g]),_=(0,w.A)({topic:"blocks:".concat(v.toLowerCase()),onSocketClose:A,onSocketError:A,isDisabled:!v||f.isPlaceholderData||1!==f.pagination.page});if((0,k.A)({channel:_,event:"new_block",handler:y}),!b||!l)return null;let L=(null===(a=f.data)||void 0===a?void 0:a.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsxs)(R.X,{style:{tableLayout:"auto"},children:[(0,t.jsx)(Y.A,{top:f.pagination.isVisible?Q.i$:0,children:(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(I.Th,{children:"Block"}),(0,t.jsx)(I.Th,{children:"Age"}),(0,t.jsx)(I.Th,{children:"Txn"}),(0,t.jsx)(I.Th,{children:"Gas used"}),!(null===(s=h.A.UI.views.block.hiddenFields)||void 0===s?void 0:s.total_reward)&amp;&amp;!h.A.features.rollup.isEnabled&amp;&amp;(0,t.jsxs)(I.Th,{isNumeric:!0,children:["Reward ",ec.T.ether]})]})}),(0,t.jsxs)(z.N,{children:[(0,t.jsx)(eu.X8,{url:window.location.href,num:m,alert:d,type:"block",isLoading:f.isPlaceholderData}),f.data.items.map((e,a)=&gt;(0,t.jsx)(eb,{...e,page:f.pagination.page,isLoading:f.isPlaceholderData},e.height+(f.isPlaceholderData?String(a):"")))]})]})}),(0,t.jsxs)(P.w,{below:"lg",ssr:!1,children:[1===f.pagination.page&amp;&amp;(0,t.jsx)(eu.fq,{url:window.location.href,num:m,alert:d,type:"block",isLoading:f.isPlaceholderData}),f.data.items.map((e,a)=&gt;(0,t.jsx)(ej,{...e,page:f.pagination.page,isLoading:f.isPlaceholderData},e.height+(f.isPlaceholderData?String(a):"")))]})]}):null,C=f.pagination.isVisible?(0,t.jsx)(Q.Ay,{mt:-6,children:(0,t.jsx)(K.A,{ml:"auto",...f.pagination})}):null;return(0,t.jsx)(J.A,{isError:f.isError,items:null===(r=f.data)||void 0===r?void 0:r.items,emptyText:"There are no validated blocks for this address.",content:L,actionBar:C})});var ef=s(85771),eA=s(14320),ey=s(65269);let e_=(0,ey.B)(e=&gt;{let{className:a}=e;return(0,t.jsxs)(ef.F,{status:"warning",className:a,children:[(0,t.jsx)(ee.E,{whiteSpace:"pre",children:"Connection lost, click "}),(0,t.jsx)(eA.N,{href:window.document.location.href,children:"to load newer records"})]})});var ew=s(52779);let ek=n.memo(e=&gt;{let{addressHash:a}=e,{data:s,isPending:r,isError:i}=(0,x.A)("address_coin_balance_chart",{pathParams:{hash:a}}),l=n.useMemo(()=&gt;{if(s)return s.items.map(e=&gt;{let{date:a,value:s}=e;return{date:new Date(a),value:(0,em.A)(s).div(10**h.A.chain.currency.decimals).toNumber()}})},[s]);return(0,t.jsx)(ew.A,{isError:i,title:"Balances",items:l,isLoading:r,h:"300px",units:ec.T.ether,emptyText:(null==s?void 0:s.days)&amp;&amp;"Insufficient data for the past ".concat(s.days," days")})});var eL=s(24520),eC=s(2535),eT=s(57057),eS=s(44495),eE=s(21158);let eD=n.memo(e=&gt;{let a=(0,em.A)(e.delta).div(eS.M$),s=a.gte(eS.f2);return(0,t.jsxs)(ea.A,{rowGap:2,isAnimated:!0,children:[(0,t.jsxs)(l.s,{justifyContent:"space-between",w:"100%",children:[(0,t.jsxs)(V.A,{isLoaded:!e.isLoading,fontWeight:600,children:[(0,em.A)(e.value).div(eS.M$).dp(8).toFormat()," ",ec.T.ether]}),(0,t.jsx)(V.A,{isLoaded:!e.isLoading,children:(0,t.jsx)(eL.r,{flexGrow:"0",children:(0,t.jsxs)(eC.h,{display:"flex",mb:0,alignItems:"center",children:[(0,t.jsx)(eT.Ip,{type:s?"increase":"decrease",mr:2}),(0,t.jsx)(ee.E,{as:"span",color:s?"green.500":"red.500",fontWeight:600,children:a.dp(8).toFormat()})]})})})]}),(0,t.jsxs)(l.s,{columnGap:2,w:"100%",children:[(0,t.jsx)(V.A,{isLoaded:!e.isLoading,fontWeight:500,flexShrink:0,children:"Block"}),(0,t.jsx)(eg.Ay,{isLoading:e.isLoading,number:e.block_number,noIcon:!0,fontWeight:700})]}),e.transaction_hash&amp;&amp;(0,t.jsxs)(l.s,{columnGap:2,w:"100%",children:[(0,t.jsx)(V.A,{isLoaded:!e.isLoading,fontWeight:500,flexShrink:0,children:"Txs"}),(0,t.jsx)(eE.Ay,{hash:e.transaction_hash,isLoading:e.isLoading,noIcon:!0,fontWeight:700,maxW:"150px"})]}),(0,t.jsxs)(l.s,{columnGap:2,w:"100%",children:[(0,t.jsx)(V.A,{isLoaded:!e.isLoading,fontWeight:500,flexShrink:0,children:"Age"}),(0,t.jsx)(H.A,{timestamp:e.block_timestamp,enableIncrement:1===e.page,isLoading:e.isLoading,color:"text_secondary"})]})]})}),eP=n.memo(e=&gt;{let a=(0,em.A)(e.delta).div(eS.M$),s=a.gte(eS.f2);return(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(O.Td,{children:(0,t.jsx)(eg.Ay,{isLoading:e.isLoading,number:e.block_number,noIcon:!0,fontSize:"sm",lineHeight:5,fontWeight:700})}),(0,t.jsx)(O.Td,{children:e.transaction_hash&amp;&amp;(0,t.jsx)(eE.Ay,{hash:e.transaction_hash,isLoading:e.isLoading,noIcon:!0,fontWeight:700,maxW:"150px"})}),(0,t.jsx)(O.Td,{children:(0,t.jsx)(H.A,{timestamp:e.block_timestamp,enableIncrement:1===e.page,isLoading:e.isLoading,color:"text_secondary",display:"inline-block"})}),(0,t.jsx)(O.Td,{isNumeric:!0,pr:1,children:(0,t.jsx)(V.A,{isLoaded:!e.isLoading,color:"text_secondary",display:"inline-block",children:(0,t.jsx)("span",{children:(0,em.A)(e.value).div(eS.M$).dp(8).toFormat()})})}),(0,t.jsx)(O.Td,{isNumeric:!0,display:"flex",justifyContent:"end",children:(0,t.jsx)(V.A,{isLoaded:!e.isLoading,children:(0,t.jsx)(eL.r,{flexGrow:"0",lineHeight:5,children:(0,t.jsxs)(eC.h,{display:"flex",mb:0,alignItems:"center",children:[(0,t.jsx)(eT.Ip,{type:s?"increase":"decrease",mr:2}),(0,t.jsx)(ee.E,{as:"span",color:s?"green.500":"red.500",fontWeight:600,children:a.dp(8).toFormat()})]})})})})]})}),eR=n.memo(e=&gt;{var a,s;let{query:n}=e,r=(null===(a=n.data)||void 0===a?void 0:a.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsxs)(R.X,{children:[(0,t.jsx)(Y.A,{top:n.pagination.isVisible?Q.i$:0,children:(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(I.Th,{width:"20%",children:"Block"}),(0,t.jsx)(I.Th,{width:"20%",children:"Txn"}),(0,t.jsx)(I.Th,{width:"20%",children:"Age"}),(0,t.jsxs)(I.Th,{width:"20%",isNumeric:!0,pr:1,children:["Balance ",ec.T.ether]}),(0,t.jsx)(I.Th,{width:"20%",isNumeric:!0,children:"Delta"})]})}),(0,t.jsx)(z.N,{children:n.data.items.map((e,a)=&gt;(0,t.jsx)(eP,{...e,page:n.pagination.page,isLoading:n.isPlaceholderData},e.block_number+(n.isPlaceholderData?String(a):"")))})]})}),(0,t.jsx)(P.w,{below:"lg",ssr:!1,children:n.data.items.map((e,a)=&gt;(0,t.jsx)(eD,{...e,page:n.pagination.page,isLoading:n.isPlaceholderData},e.block_number+(n.isPlaceholderData?String(a):"")))})]}):null,i=n.pagination.isVisible?(0,t.jsx)(Q.Ay,{mt:-6,children:(0,t.jsx)(K.A,{ml:"auto",...n.pagination})}):null;return(0,t.jsx)(J.A,{mt:8,isError:n.isError,items:null===(s=n.data)||void 0===s?void 0:s.items,emptyText:"There is no coin balance history for this address.",content:r,actionBar:i})}),eF=n.memo(e=&gt;{let{shouldRender:a=!0,isQueryEnabled:s=!0}=e,[r,i]=n.useState(!1),l=(0,ed.jE)(),o=(0,c.useRouter)(),d=(0,N.A)(),h=n.useRef(null),u=(0,_.A)(o.query.hash),m=(0,Z.A)({resourceName:"address_coin_balance",pathParams:{hash:u},scrollRef:h,options:{enabled:s,placeholderData:(0,B.k)(S.sm,50,{next_page_params:{block_number:8009880,items_count:50}})}}),p=n.useCallback(()=&gt;{i(!0)},[]),g=n.useCallback(e=&gt;{i(!1),l.setQueryData((0,x.y)("address_coin_balance",{pathParams:{hash:u}}),a=&gt;{if(a)return{...a,items:[e.coin_balance,...a.items]}})},[u,l]),j=(0,w.A)({topic:"addresses:".concat(u.toLowerCase()),onSocketClose:p,onSocketError:p,isDisabled:!u||m.isPlaceholderData||1!==m.pagination.page});return((0,k.A)({channel:j,event:"coin_balance",handler:g}),d&amp;&amp;a)?(0,t.jsxs)(t.Fragment,{children:[r&amp;&amp;(0,t.jsx)(e_,{mb:6}),(0,t.jsx)(ek,{addressHash:u}),(0,t.jsx)("div",{ref:h}),(0,t.jsx)(eR,{query:m})]}):null});var eI=s(93017),ez=s(3253),eW=s(61482),eN=s(88757),eq=s(33855);let eB={transactions_count:"txs",token_transfers_count:"token_transfers",validations_count:"blocks_validated"},eO=n.memo(e=&gt;{var a;let{prop:s,query:n,address:r,onClick:i,isAddressQueryLoading:l,isDegradedData:o}=e;if(n.isPlaceholderData||l)return(0,t.jsx)(V.A,{h:5,w:"80px",borderRadius:"full"});let d=null===(a=n.data)||void 0===a?void 0:a[s];if(n.isError||null==d)return(0,t.jsx)("span",{children:"0"});switch(s){case"gas_usage_count":return(0,t.jsx)("span",{children:(0,em.A)(d).toFormat()});case"transactions_count":case"token_transfers_count":case"validations_count":if("0"===d)return(0,t.jsx)("span",{children:"0"});if(o)return(0,t.jsx)("span",{children:Number(d).toLocaleString()});return(0,t.jsx)(G.A,{href:(0,eq.w)({pathname:"/address/[hash]",query:{hash:r,tab:eB[s]}}),onClick:i,scroll:!1,children:Number(d).toLocaleString()})}});var eV=s(78089),eU=s(57842),eG=s(30208),eM=s(88426),eH=s(25709),e$=s(99026),eQ=s(98669),eJ=s(10487),eX=s(36225);let eK=n.memo(e=&gt;{let{isLoading:a,addressHash:s}=e,n=(0,eX.Mp)();if(!n||h.A.UI.views.address.hashFormat.availableFormats.length&lt;2)return null;let r="bech32"===n.addressFormat?"0x hash":"".concat(h.A.UI.views.address.hashFormat.bech32Prefix).concat(eJ.Ln," hash"),i="bech32"===n.addressFormat?"Address hash encoded in base16 format":"Address hash encoded in bech32 format",l="bech32"===n.addressFormat?s:(0,eJ.VC)(s);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:i,isLoading:a,children:r}),(0,t.jsx)(eH.WT,{children:(0,t.jsx)(eQ.Ay,{address:{hash:l},isLoading:a,noIcon:!0,noLink:!0,noAltHash:!0})})]})});var eZ=s(97370),eY=s(38997);let e0=n.memo(e=&gt;{let{data:a,isLoading:s}=e,[r,i]=n.useState(a.block_number_balance_updated_at||0),l=(0,ed.jE)(),o=n.useCallback((e,s,t)=&gt;{if(t&lt;r)return;i(t);let n=(0,x.y)("address",{pathParams:{hash:a.hash}});l.setQueryData(n,a=&gt;{if(a)return{...a,coin_balance:e,exchange_rate:s,block_number_balance_updated_at:t}})},[a.hash,r,l]),d=n.useCallback(e=&gt;{o(e.balance,e.exchange_rate,e.block_number)},[o]),c=n.useCallback(e=&gt;{o(e.coin_balance,e.exchange_rate,e.block_number)},[o]),u=(0,w.A)({topic:"addresses:".concat(a.hash.toLowerCase()),isDisabled:!a.coin_balance});return(0,k.A)({channel:u,event:"balance",handler:d}),(0,k.A)({channel:u,event:"current_coin_balance",handler:c}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"".concat(ec.T.ether," balance"),isLoading:s,children:"Balance"}),(0,t.jsxs)(eH.WT,{alignSelf:"center",flexWrap:"nowrap",children:[(0,t.jsx)(eY.A,{boxSize:6,mr:2,isLoading:s}),(0,t.jsx)(eZ.A,{value:a.coin_balance||"0",exchangeRate:a.exchange_rate,decimals:String(h.A.chain.currency.decimals),currency:ec.T.ether,accuracyUsd:2,accuracy:8,flexWrap:"wrap",isLoading:s})]})]})}),e1=n.memo(e=&gt;{let{data:a,isLoading:s,proxyType:r}=e,i=a.length&gt;1,[l,o]=n.useState(!1),d="eip7702"===r?"Account's executable code address":"Implementation".concat(i?"s":""," address").concat(i?"es":""," of the proxy contract");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:d,isLoading:s,hasScroll:l,children:"eip7702"===r?"Delegated to":"Implementation".concat(i?"s":"")}),(0,t.jsx)(eH.l$,{gradientHeight:48,onScrollVisibilityChange:o,rowGap:2,maxH:"200px",children:a.map(e=&gt;(0,t.jsx)(eQ.Ay,{address:{hash:e.address,filecoin:{robust:e.filecoin_robust_address},name:e.name,is_contract:!0},isLoading:s,noIcon:!0},e.address))})]})});var e2=s(14804);let e5=n.memo(e=&gt;{let{data:a,isLoading:s}=e;return a.token?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Token name and symbol",isLoading:s,children:"Token name"}),(0,t.jsx)(eH.WT,{children:(0,t.jsx)(e2.Ay,{token:a.token,isLoading:s,noIcon:!0,noCopy:!0})})]}):a.is_contract&amp;&amp;a.name?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"The name found in the source code of the Contract",isLoading:s,children:"Contract name"}),(0,t.jsx)(eH.WT,{children:(0,t.jsx)(V.A,{isLoaded:!s,children:a.name})})]}):a.name?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"The name of the validator",isLoading:s,children:"Validator name"}),(0,t.jsx)(eH.WT,{children:(0,t.jsx)(V.A,{isLoaded:!s,children:a.name})})]}):null});var e6=s(66571),e8=s(40714),e4=s(16696);function e3(e,a){return e.plus(a)}let e7=["ERC-20","ERC-721","ERC-1155","ERC-404"],e9=(e,a)=&gt;e7.indexOf(e[0])&gt;e7.indexOf(a[0])?1:-1,ae=e=&gt;(a,s)=&gt;a.value===s.value?0:"desc"===e?Number(a.value)&gt;Number(s.value)?-1:1:Number(a.value)&gt;Number(s.value)?1:-1,aa={"ERC-20":e=&gt;(a,s)=&gt;a.usd||s.usd?s.usd?a.usd?"desc"===e?a.usd.gt(s.usd)?-1:1:a.usd.gt(s.usd)?1:-1:0:-1:0,"ERC-721":()=&gt;()=&gt;0,"ERC-1155":ae,"ERC-404":ae},as=e=&gt;a=&gt;{var s;let{token:t}=a;return t.name?null===(s=t.name)||void 0===s?void 0:s.toLowerCase().includes(e):!e||t.address.toLowerCase().includes(e)},at=e=&gt;{if("ERC-20"!==e.token.type)return e;let a=e.token.exchange_rate;if(!a)return e;let s=Number(e.token.decimals||"18");return{...e,usd:(0,em.A)(e.value).div((0,em.A)(10**s)).multipliedBy((0,em.A)(a))}},an=e=&gt;({usd:Object.values(e).map(e=&gt;{let{items:a}=e;return a.reduce(ar,eS.f2)}).reduce(e3,eS.f2),num:Object.values(e).map(e=&gt;{let{items:a}=e;return a.length}).reduce((e,a)=&gt;e+a,0),isOverflow:Object.values(e).some(e=&gt;{let{isOverflow:a}=e;return a})}),ar=(e,a)=&gt;a.usd?e.plus((0,em.A)(a.usd)):e,ai=e=&gt;a=&gt;{var s,t;return e.token.address===a.token.address&amp;&amp;e.token_id===a.token_id&amp;&amp;(null===(s=e.token_instance)||void 0===s?void 0:s.id)===(null===(t=a.token_instance)||void 0===t?void 0:t.id)};function al(e){let{hash:a,enabled:s}=e,t=(0,x.A)("address_tokens",{pathParams:{hash:a},queryParams:{type:"ERC-20"},queryOptions:{enabled:!!a&amp;&amp;s,refetchOnMount:!1}}),r=(0,x.A)("address_tokens",{pathParams:{hash:a},queryParams:{type:"ERC-721"},queryOptions:{enabled:!!a&amp;&amp;s,refetchOnMount:!1}}),i=(0,x.A)("address_tokens",{pathParams:{hash:a},queryParams:{type:"ERC-1155"},queryOptions:{enabled:!!a&amp;&amp;s,refetchOnMount:!1}}),l=(0,x.A)("address_tokens",{pathParams:{hash:a},queryParams:{type:"ERC-404"},queryOptions:{enabled:!!a&amp;&amp;s,refetchOnMount:!1}}),o=(0,ed.jE)(),d=n.useCallback((e,s)=&gt;{let t=(0,x.y)("address_tokens",{pathParams:{hash:a},queryParams:{type:e}});o.setQueryData(t,e=&gt;{let a=(null==e?void 0:e.items.map(e=&gt;{let a=s.token_balances.find(ai(e));return null!=a?a:e}))||[],t=(null==e?void 0:e.next_page_params)?[]:s.token_balances.filter(e=&gt;!a.some(ai(e)));return e?{items:a.concat(t),next_page_params:e.next_page_params}:{items:t,next_page_params:null}})},[a,o]),c=n.useCallback(e=&gt;{d("ERC-20",e)},[d]),h=n.useCallback(e=&gt;{d("ERC-721",e)},[d]),u=n.useCallback(e=&gt;{d("ERC-1155",e)},[d]),m=n.useCallback(e=&gt;{d("ERC-404",e)},[d]),p=(0,w.A)({topic:"addresses:".concat(null==a?void 0:a.toLowerCase()),isDisabled:!!a&amp;&amp;(t.isPlaceholderData||r.isPlaceholderData||i.isPlaceholderData)});(0,k.A)({channel:p,event:"updated_token_balances_erc_20",handler:c}),(0,k.A)({channel:p,event:"updated_token_balances_erc_721",handler:h}),(0,k.A)({channel:p,event:"updated_token_balances_erc_1155",handler:u}),(0,k.A)({channel:p,event:"updated_token_balances_erc_404",handler:m});let g=n.useMemo(()=&gt;{var e,a,s,n,o,d,c,h;return{"ERC-20":{items:(null===(e=t.data)||void 0===e?void 0:e.items.map(at))||[],isOverflow:!!(null===(a=t.data)||void 0===a?void 0:a.next_page_params)},"ERC-721":{items:(null===(s=r.data)||void 0===s?void 0:s.items.map(at))||[],isOverflow:!!(null===(n=r.data)||void 0===n?void 0:n.next_page_params)},"ERC-1155":{items:(null===(o=i.data)||void 0===o?void 0:o.items.map(at))||[],isOverflow:!!(null===(d=i.data)||void 0===d?void 0:d.next_page_params)},"ERC-404":{items:(null===(c=l.data)||void 0===c?void 0:c.items.map(at))||[],isOverflow:!!(null===(h=i.data)||void 0===h?void 0:h.next_page_params)}}},[i.data,t.data,r.data,l.data]);return{isPending:t.isPending||r.isPending||i.isPending||l.isPending,isError:t.isError||r.isError||i.isError||l.isError,data:g}}var ao=s(33725),ad=s(78865),ac=s(15259),ah=s(46935);let au=e=&gt;{let{item:a,addressHash:s,onClick:n,hasSingleProvider:r}=e,i=(0,t.jsx)(ao._,{src:a.logoUrl,alt:a.name,boxSize:5,mr:r?2:0,borderRadius:"4px",overflow:"hidden"}),l=r?(0,t.jsxs)(t.Fragment,{children:[i,(0,ac.Z)(a.name)]}):(0,t.jsx)(ad.m,{label:(0,ac.Z)(a.name),children:i}),o={variant:r?"subtle":void 0,display:"flex",alignItems:"center",fontSize:"sm",lineHeight:5,fontWeight:500,onClick:n};try{let e=a.urlTemplate.replace("{address}",s),n=new URL(e);n.searchParams.append("utm_source","blockscout"),n.searchParams.append("utm_medium","address");let r=a.dappId;return"string"==typeof r?(0,t.jsx)(G.A,{href:(0,eq.w)({pathname:"/apps/[id]",query:{id:r,url:n.toString()}}),...o,children:l}):(0,t.jsx)(ah.A,{href:n.toString(),...o,children:l})}catch(e){}return null},am=h.A.features.multichainButton,ax=e=&gt;{let{addressData:a,isLoading:s,addressHash:r}=e,{data:i,isError:o,isPending:d}=al({hash:null==a?void 0:a.hash,enabled:null==a?void 0:a.has_tokens}),{usdBn:c}=(0,e6.A)({value:(null==a?void 0:a.coin_balance)||"0",accuracy:8,accuracyUsd:2,exchangeRate:null==a?void 0:a.exchange_rate,decimals:String(h.A.chain.currency.decimals)}),{usd:u,isOverflow:m}=an(i),x=c.plus(u),p=n.useCallback(()=&gt;{e8.$s(e8.wf.BUTTON_CLICK,{Content:"Multichain",Source:"address"})},[]),g=null;if(am.isEnabled&amp;&amp;!(null==a?void 0:a.is_contract)){let{providers:e}=am,a=1===e.length;g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e4.A,{mx:0,color:"gray.500"}),(0,t.jsxs)(l.s,{alignItems:"center",gap:2,children:[(0,t.jsx)(ee.E,{children:"Multichain"}),e.map(e=&gt;(0,t.jsx)(au,{item:e,addressHash:r,onClick:p,hasSingleProvider:a},e.name))]})]})}return(0,t.jsxs)(V.A,{display:"flex",alignItems:"center",flexWrap:"wrap",isLoaded:!s&amp;&amp;!((null==a?void 0:a.has_tokens)&amp;&amp;d),gap:2,children:[(0,t.jsx)(ee.E,{children:!o&amp;&amp;(null==a?void 0:a.exchange_rate)?"".concat(m?"&gt;":"","$").concat(x.toFormat(2)):"N/A"}),g]})},ap=h.A.features.saveOnGas,ag=j.Ikc({percent:j.aig()}),aj=n.memo(e=&gt;{var a;let{gasUsed:s,address:r}=e,i=Number(s),l=(0,g.I)({queryKey:["gas_hawk_saving_potential",{address:r}],queryFn:async()=&gt;{if(!ap.isEnabled)return;let e=await fetch(ap.apiUrlTemplate.replace("&lt;address&gt;",r));return await e.json()},select:e=&gt;{let a=j.xLC(ag,e);if(!a.success)throw Error("Invalid response schema");return a.output},placeholderData:{percent:42},enabled:ap.isEnabled&amp;&amp;i&gt;0}),o=l.error&amp;&amp;"message"in l.error?l.error.message:void 0;if(n.useEffect(()=&gt;{"Invalid response schema"===o&amp;&amp;fetch("/node-api/monitoring/invalid-api-schema",{method:"POST",body:JSON.stringify({resource:"gas_hawk_saving_potential",url:ap.isEnabled?ap.apiUrlTemplate.replace("&lt;address&gt;",r):void 0})})},[r,o]),i&lt;=0||!ap.isEnabled||l.isError||!(null===(a=l.data)||void 0===a?void 0:a.percent))return null;let d=Math.round(l.data.percent);return d&lt;1?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e4.A,{color:"divider"}),(0,t.jsxs)(V.A,{isLoaded:!l.isPlaceholderData,display:"flex",alignItems:"center",columnGap:2,children:[(0,t.jsx)(ao._,{src:"/static/gas_hawk_logo.svg",w:"15px",h:"20px",alt:"GasHawk logo"}),(0,t.jsxs)(ah.A,{href:"https://www.gashawk.io?utm_source=blockscout&amp;utm_medium=address",fontSize:"sm",children:["Save ",d.toLocaleString(void 0,{maximumFractionDigits:0}),"% with GasHawk"]})]})]})});var ab=s(79706);let av={account:"Account",cron:"Scheduled Tasks",datacap:"Data Cap Management",eam:"Ethereum Address Manager",ethaccount:"Ethereum-Compatible Account",evm:"Ethereum Virtual Machine",init:"Initialization",market:"Storage Market",miner:"Storage Provider",multisig:"Multi-Signature Wallet",paych:"Payment Channel",placeholder:"Placeholder Address",power:"Power Management",reward:"Incentives and Rewards",system:"System Operations",verifreg:"Verification Registry"},af=e=&gt;{let{actorType:a}=e,s=av[a];return s?(0,t.jsx)(ab.vw,{colorScheme:"gray",children:s}):null};var aA=s(48706),ay=s(87496),a_=s(8152),aw=s(89783),ak=s(59595),aL=s(81171),aC=s(62887),aT=s(29194),aS=s(63487),aE=s(63286),aD=s(38495),aP=s(10600);let aR=n.forwardRef((e,a)=&gt;{let{isOpen:s,isLoading:r,onClick:l,data:o}=e,{usd:c,num:h,isOverflow:u}=an(o),m=(0,i.dU)("white","black"),x=u?"&gt;":"",p=n.useCallback(()=&gt;{(!r||s)&amp;&amp;(e8.$s(e8.wf.PAGE_WIDGET,{Type:"Tokens dropdown"}),l())},[r,s,l]);return(0,t.jsxs)(d.az,{position:"relative",children:[(0,t.jsxs)(aD.$,{ref:a,size:"sm",variant:"outline",colorScheme:"gray",onClick:p,isActive:s,"aria-label":"Token select",children:[(0,t.jsx)(U.A,{name:"tokens",boxSize:4,mr:2}),(0,t.jsxs)(ey.B.span,{fontWeight:600,children:[x,h]}),(0,t.jsxs)(ey.B.span,{whiteSpace:"pre",color:"text_secondary",fontWeight:400,maxW:{base:"calc(100vw - 230px)",lg:"500px"},overflow:"hidden",textOverflow:"ellipsis",children:[aP.xe,"(",x,"$",c.toFormat(2),")"]}),(0,t.jsx)(U.A,{name:"arrows/east-mini",transform:s?"rotate(90deg)":"rotate(-90deg)",transitionDuration:"faster",boxSize:5,ml:3})]}),r&amp;&amp;!s&amp;&amp;(0,t.jsx)(V.A,{h:"100%",w:"100%",position:"absolute",top:0,left:0,bgColor:m,borderRadius:"base"})]})});var aF=s(62849),aI=s(90727),az=s(62346),aW=s(84083),aN=s(57245);let aq=n.memo(e=&gt;{let{data:a}=e,s=(()=&gt;{switch(a.token.type){case"ERC-20":{let e=Number(a.token.decimals)||18,s="".concat((0,em.A)(a.value).dividedBy(10**e).dp(8).toFormat()," ").concat(a.token.symbol||"");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(aN.A,{value:s}),a.token.exchange_rate&amp;&amp;(0,t.jsxs)(ey.B.span,{ml:2,children:["@",Number(a.token.exchange_rate).toLocaleString()]})]})}case"ERC-721":{let e="".concat((0,em.A)(a.value).toFormat()," ").concat(a.token.symbol||"");return(0,t.jsx)(aN.A,{value:e})}case"ERC-1155":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(ey.B.span,{textOverflow:"ellipsis",overflow:"hidden",mr:6,children:["#",a.token_id||0]}),(0,t.jsx)("span",{children:(0,em.A)(a.value).toFormat()})]});case"ERC-404":return(0,t.jsxs)(t.Fragment,{children:[null!==a.token_id&amp;&amp;(0,t.jsxs)(ey.B.span,{textOverflow:"ellipsis",overflow:"hidden",mr:6,children:["#",a.token_id||0]}),null!==a.value&amp;&amp;(0,t.jsx)("span",{children:a.token.decimals?(0,e6.A)({value:a.value,decimals:a.token.decimals,accuracy:2}).valueStr:(0,em.A)(a.value).toFormat()})]})}})(),n=(0,eq.w)({pathname:"/token/[hash]",query:{hash:a.token.address}});return(0,t.jsxs)(G.A,{px:1,py:"10px",display:"flex",flexDir:"column",rowGap:2,borderColor:"divider",borderBottomWidth:"1px",_hover:{bgColor:(0,i.dU)("blue.50","gray.800")},color:"unset",fontSize:"sm",href:n,children:[(0,t.jsxs)(l.s,{alignItems:"center",w:"100%",overflow:"hidden",children:[(0,t.jsx)(e2.Ay,{token:a.token,noSymbol:!0,noCopy:!0,noLink:!0,fontWeight:700,mr:2}),a.usd&amp;&amp;(0,t.jsx)(aN.A,{value:"$".concat(a.usd.toFormat(2)),fontWeight:700,minW:"120px",ml:"auto",textAlign:"right"})]}),(0,t.jsx)(l.s,{alignItems:"center",justifyContent:"space-between",w:"100%",whiteSpace:"nowrap",children:s})]})}),aB=n.memo(e=&gt;{let{erc20sort:a,erc1155sort:s,erc404sort:n,filteredData:r,onInputChange:o,onSortClick:c,searchTerm:h}=e,u=(0,i.dU)("blackAlpha.600","whiteAlpha.600"),m=(0,a_.x)(Object.values(r),e=&gt;{let{items:a}=e;return a.length})&gt;0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(aF.M,{size:"xs",mb:5,children:[(0,t.jsx)(aI.W,{children:(0,t.jsx)(U.A,{name:"search",boxSize:4,color:u})}),(0,t.jsx)(az.p,{paddingInlineStart:"38px",placeholder:"Search by token name",ml:"1px",onChange:o,bgColor:"dialog_bg"})]}),(0,t.jsx)(l.s,{flexDir:"column",rowGap:6,children:Object.entries(r).sort(e9).map(e=&gt;{let[r,i]=e;if(0===i.items.length)return null;let o="ERC-1155"===r&amp;&amp;"desc"===s||"ERC-404"===r&amp;&amp;"desc"===n||"ERC-20"===r&amp;&amp;"desc"===a?"rotate(90deg)":"rotate(-90deg)",h=(()=&gt;{switch(r){case"ERC-1155":return s;case"ERC-20":return a;default:return"desc"}})(),u="ERC-404"===r&amp;&amp;i.items.some(e=&gt;e.value)||"ERC-1155"===r||"ERC-20"===r&amp;&amp;i.items.some(e=&gt;{let{usd:a}=e;return a}),m=i.isOverflow?"&gt;":"";return(0,t.jsxs)(d.az,{children:[(0,t.jsxs)(l.s,{justifyContent:"space-between",children:[(0,t.jsxs)(ee.E,{mb:3,color:"gray.500",fontWeight:600,fontSize:"sm",children:[(0,aW.Le)(r)," tokens (",m,i.items.length,")"]}),u&amp;&amp;(0,t.jsx)(eA.N,{"data-type":r,onClick:c,"aria-label":"Sort ".concat((0,aW.Le)(r)," tokens"),children:(0,t.jsx)(U.A,{name:"arrows/east",boxSize:5,transform:o,transitionDuration:"faster"})})]}),i.items.sort(aa[r](h)).map(e=&gt;(0,t.jsx)(aq,{data:e},e.token.address+e.token_id))]},r)})}),!!h&amp;&amp;!m&amp;&amp;(0,t.jsx)(ee.E,{fontSize:"sm",children:"Could not find any matches."})]})});var aO=s(62125);function aV(e){let[a,s]=n.useState(""),[t,r]=n.useState("desc"),[i,l]=n.useState("desc"),[o,d]=n.useState("desc"),c=n.useCallback(e=&gt;{s(e.target.value)},[]),h=n.useCallback(e=&gt;{let a=e.currentTarget.getAttribute("data-type");"ERC-1155"===a&amp;&amp;r(e=&gt;"desc"===e?"asc":"desc"),"ERC-404"===a&amp;&amp;l(e=&gt;"desc"===e?"asc":"desc"),"ERC-20"===a&amp;&amp;d(e=&gt;"desc"===e?"asc":"desc")},[]),u=n.useMemo(()=&gt;(0,aO.L)(e,e=&gt;{let{items:s,isOverflow:t}=e;return{isOverflow:t,items:s.filter(as(a.toLowerCase()))}}),[e,a]);return{searchTerm:a,erc20sort:o,erc1155sort:t,erc404sort:i,onInputChange:c,onSortClick:h,data:e,filteredData:u}}let aU=n.memo(e=&gt;{let{data:a,isLoading:s}=e,{isOpen:n,onToggle:r,onClose:i}=(0,aL.j)(),l=aV(a);return(0,t.jsxs)(aE.A,{isOpen:n,onClose:i,placement:"bottom-start",isLazy:!0,children:[(0,t.jsx)(aC.W,{children:(0,t.jsx)(aR,{isOpen:n,onClick:r,data:l.data,isLoading:s})}),(0,t.jsx)(aT.h,{w:"355px",maxH:"450px",overflowY:"scroll",children:(0,t.jsx)(aS.e,{px:4,py:6,boxShadow:"2xl",children:(0,t.jsx)(aB,{...l})})})]})});var aG=s(32816),aM=s(65712),aH=s(21302);let a$=n.memo(e=&gt;{let{data:a,isLoading:s}=e,{isOpen:n,onToggle:r,onClose:i}=(0,aL.j)(),l=aV(a);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(aR,{isOpen:n,onClick:r,data:l.data,isLoading:s}),(0,t.jsx)(aG.aF,{isOpen:n,onClose:i,size:"full",children:(0,t.jsxs)(aM.$,{children:[(0,t.jsx)(aH.s,{}),(0,t.jsx)(aB,{...l})]})})]})}),aQ=n.memo(e=&gt;{let{onClick:a}=e,s=(0,c.useRouter)(),r=(0,aw.A)(),i=(0,ed.jE)(),o=(0,_.A)(s.query.hash),h=(0,x.y)("address",{pathParams:{hash:o}}),u=i.getQueryData(h),{data:m,isError:p,isPending:g}=al({hash:null==u?void 0:u.hash}),j=(0,x.y)("address_tokens",{pathParams:{hash:null==u?void 0:u.hash},queryParams:{type:"ERC-20"}}),b=(0,ay.C)({queryKey:j}),v=n.useCallback(()=&gt;{e8.$s(e8.wf.PAGE_WIDGET,{Type:"Tokens show all (icon)"}),null==a||a()},[a]);if(g)return(0,t.jsxs)(l.s,{columnGap:3,children:[(0,t.jsx)(V.A,{h:8,w:"150px",borderRadius:"base"}),(0,t.jsx)(V.A,{h:8,w:9,borderRadius:"base"})]});let f=(0,a_.x)(Object.values(m),e=&gt;{let{items:a}=e;return a.length})&gt;0;return p||!f?(0,t.jsx)(d.az,{py:"6px",children:"0"}):(0,t.jsxs)(l.s,{columnGap:3,mt:{base:1,lg:0},children:[r?(0,t.jsx)(a$,{data:m,isLoading:1===b}):(0,t.jsx)(aU,{data:m,isLoading:1===b}),(0,t.jsx)(ad.m,{label:"Show all tokens",children:(0,t.jsx)(d.az,{children:(0,t.jsx)(ak.A,{href:{pathname:"/address/[hash]",query:{hash:o,tab:"tokens"}},passHref:!0,legacyBehavior:!0,scroll:!1,children:(0,t.jsx)(aA.K,{"aria-label":"Show all tokens",variant:"outline",size:"sm",pl:"6px",pr:"6px",icon:(0,t.jsx)(U.A,{name:"wallet",boxSize:5}),as:"a",onClick:v})})})})]})});var aJ=s(7820),aX=s(88330);let aK=n.memo(e=&gt;{var a,s,r,i,l,o,u,m;let{addressQuery:p,scrollRef:j}=e,b=(0,c.useRouter)(),v=(0,_.A)(b.query.hash),f=function(e){let{hash:a,addressQuery:s}=e,t=!!a&amp;&amp;!s.isPlaceholderData,n=(0,x.A)("address_counters",{pathParams:{hash:a},queryOptions:{enabled:t&amp;&amp;!s.isDegradedData,placeholderData:S.Z,refetchOnMount:!1}}),r=(0,g.I)({queryKey:["RPC","address_counters",{hash:a}],queryFn:async()=&gt;{if(!aJ.R)throw Error("No public RPC client");return Promise.all([aJ.R.getTransactionCount({address:a}).catch(()=&gt;null)])},select:e=&gt;{var a;let[s]=e;return{transactions_count:null!==(a=null==s?void 0:s.toString())&amp;&amp;void 0!==a?a:"0",token_transfers_count:"0",gas_usage_count:null,validations_count:null}},placeholderData:[aX.No],enabled:t&amp;&amp;(s.isDegradedData||n.isError),retry:!1,refetchOnMount:!1}),i=!!((s.isDegradedData||n.isError)&amp;&amp;r.data&amp;&amp;aJ.R);return{...i?r:n,isDegradedData:i}}({hash:v,addressQuery:p}),A=n.useCallback(()=&gt;{window.setTimeout(()=&gt;{var e;null==j||null===(e=j.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})},500)},[j]),w=n.useMemo(()=&gt;({hash:v||"",is_contract:!1,implementations:null,token:null,watchlist_address_id:null,watchlist_names:null,creation_transaction_hash:null,block_number_balance_updated_at:null,name:null,exchange_rate:null,coin_balance:null,has_tokens:!0,has_token_transfers:!0,has_validated_blocks:!1,filecoin:void 0,creator_filecoin_robust_address:null,creator_address_hash:null}),[v]);if(p.isError){if(!(0,eU.A)(p.error))return(0,t.jsx)(eM.A,{});p.isError&amp;&amp;"status"in p.error&amp;&amp;404===p.error.status||(0,eW.A)(p)}let k=p.isError?w:p.data;if(!k)return null;let L=k.creator_address_hash;return(0,t.jsxs)(t.Fragment,{children:[p.isDegradedData&amp;&amp;(0,t.jsx)(eV.A,{isLoading:p.isPlaceholderData,mb:6}),(0,t.jsxs)(ez.x,{columnGap:8,rowGap:{base:1,lg:3},templateColumns:{base:"minmax(0, 1fr)",lg:"auto minmax(0, 1fr)"},overflow:"hidden",children:[(0,t.jsx)(eK,{isLoading:p.isPlaceholderData,addressHash:v}),(null===(a=k.filecoin)||void 0===a?void 0:a.id)&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Short identifier of an address that may change with chain state updates",children:"ID"}),(0,t.jsxs)(eH.WT,{children:[(0,t.jsx)(ee.E,{children:k.filecoin.id}),(0,t.jsx)(eG.A,{text:k.filecoin.id})]})]}),(null===(s=k.filecoin)||void 0===s?void 0:s.actor_type)&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Identifies the purpose and behavior of the address on the Filecoin network",children:"Actor"}),(0,t.jsx)(eH.WT,{children:(0,t.jsx)(af,{actorType:k.filecoin.actor_type})})]}),((null===(r=k.filecoin)||void 0===r?void 0:r.actor_type)==="evm"||(null===(i=k.filecoin)||void 0===i?void 0:i.actor_type)==="ethaccount")&amp;&amp;(null==k?void 0:null===(l=k.filecoin)||void 0===l?void 0:l.robust)&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"0x-style address to which the Filecoin address is assigned by the Ethereum Address Manager",children:"Ethereum Address"}),(0,t.jsx)(eH.WT,{flexWrap:"nowrap",children:(0,t.jsx)(eQ.Ay,{address:{hash:k.hash},noIcon:!0,noLink:!0})})]}),(0,t.jsx)(e5,{data:k,isLoading:p.isPlaceholderData}),k.is_contract&amp;&amp;k.creation_transaction_hash&amp;&amp;L&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Transaction and address of creation",isLoading:p.isPlaceholderData,children:"Creator"}),(0,t.jsxs)(eH.WT,{children:[(0,t.jsx)(eQ.Ay,{address:{hash:L,filecoin:{robust:k.creator_filecoin_robust_address}},truncation:"constant",noIcon:!0}),(0,t.jsx)(ee.E,{whiteSpace:"pre",children:" at txn "}),(0,t.jsx)(eE.Ay,{hash:k.creation_transaction_hash,truncation:"constant",noIcon:!0,noCopy:!1})]})]}),k.is_contract&amp;&amp;k.implementations&amp;&amp;(null===(o=k.implementations)||void 0===o?void 0:o.length)&gt;0&amp;&amp;(0,t.jsx)(e1,{data:k.implementations,isLoading:p.isPlaceholderData,proxyType:k.proxy_type}),(0,t.jsx)(e0,{data:k,isLoading:p.isPlaceholderData}),k.has_tokens&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"All tokens in the account and total value",children:"Tokens"}),(0,t.jsx)(eH.WT,{py:p.data?0:void 0,children:p.data?(0,t.jsx)(aQ,{onClick:A}):(0,t.jsx)(d.az,{children:"0"})})]}),(h.A.features.multichainButton.isEnabled||k.exchange_rate&amp;&amp;k.has_tokens)&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Total net worth in USD of all tokens for the address",isLoading:p.isPlaceholderData,children:"Net worth"}),(0,t.jsx)(eH.WT,{alignSelf:"center",py:0,children:(0,t.jsx)(ax,{addressData:p.data,addressHash:v,isLoading:p.isPlaceholderData})})]}),(0,t.jsx)(eH.JU,{hint:"Number of transactions related to this address",isLoading:p.isPlaceholderData||f.isPlaceholderData,children:"Transactions"}),(0,t.jsx)(eH.WT,{children:p.data?(0,t.jsx)(eO,{prop:"transactions_count",query:f,address:k.hash,onClick:A,isAddressQueryLoading:p.isPlaceholderData,isDegradedData:p.isDegradedData}):0}),k.has_token_transfers&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Number of transfers to/from this address",isLoading:p.isPlaceholderData||f.isPlaceholderData,children:"Transfers"}),(0,t.jsx)(eH.WT,{children:p.data?(0,t.jsx)(eO,{prop:"token_transfers_count",query:f,address:k.hash,onClick:A,isAddressQueryLoading:p.isPlaceholderData,isDegradedData:p.isDegradedData}):0})]}),(null===(u=f.data)||void 0===u?void 0:u.gas_usage_count)&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Gas used by the address",isLoading:p.isPlaceholderData||f.isPlaceholderData,children:"Gas used"}),(0,t.jsxs)(eH.WT,{children:[p.data?(0,t.jsx)(eO,{prop:"gas_usage_count",query:f,address:k.hash,onClick:A,isAddressQueryLoading:p.isPlaceholderData,isDegradedData:p.isDegradedData}):0,!f.isPlaceholderData&amp;&amp;(null===(m=f.data)||void 0===m?void 0:m.gas_usage_count)&amp;&amp;(0,t.jsx)(aj,{gasUsed:f.data.gas_usage_count,address:k.hash})]})]}),k.has_validated_blocks&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Number of blocks ".concat((0,y.A)()," by this ").concat((0,eN.A)()),isLoading:p.isPlaceholderData||f.isPlaceholderData,children:"Blocks ".concat((0,y.A)())}),(0,t.jsx)(eH.WT,{children:p.data?(0,t.jsx)(eO,{prop:"validations_count",query:f,address:k.hash,onClick:A,isAddressQueryLoading:p.isPlaceholderData,isDegradedData:p.isDegradedData}):0})]}),k.block_number_balance_updated_at&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eH.JU,{hint:"Block number in which the address was updated",isLoading:p.isPlaceholderData,children:"Last balance update"}),(0,t.jsx)(eH.WT,{children:(0,t.jsx)(eg.Ay,{number:k.block_number_balance_updated_at,isLoading:p.isPlaceholderData})})]}),(0,t.jsx)(e$.A,{isLoading:p.isPlaceholderData})]})]})});var aZ=s(43626);let aY=e=&gt;{let{item:a,isLoading:s}=e,{valueStr:n}=(0,e6.A)({value:a.amount,decimals:a.token.decimals});return(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsxs)(l.s,{alignItems:"center",gap:3,children:[(0,t.jsx)(eg.Ay,{number:a.block_number,isLoading:s,noIcon:!0,fontWeight:600}),(0,t.jsx)(V.A,{isLoaded:!s,children:(0,t.jsx)(ee.E,{color:"text_secondary",fontWeight:600,children:"Epoch # ".concat(a.epoch_number)})}),(0,t.jsx)(H.A,{timestamp:a.block_timestamp,isLoading:s,textColor:"text_secondary",fontWeight:400})]})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(aZ.A,{type:a.type,isLoading:s})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(eQ.Ay,{address:a.associated_account,isLoading:s,truncation:"constant"})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",isNumeric:!0,children:(0,t.jsxs)(V.A,{isLoaded:!s,display:"flex",alignItems:"center",gap:2,justifyContent:"flex-end",children:[n,(0,t.jsx)(e2.Ay,{token:a.token,isLoading:s,onlySymbol:!0,width:"auto",noCopy:!0})]})})]})},a0=e=&gt;{let{items:a,isLoading:s,top:n}=e;return(0,t.jsxs)(R.X,{minW:"1000px",style:{tableLayout:"auto"},children:[(0,t.jsx)(Y.A,{top:n,children:(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(I.Th,{children:"Block"}),(0,t.jsx)(I.Th,{children:"Reward type"}),(0,t.jsx)(I.Th,{children:"Associated address"}),(0,t.jsx)(I.Th,{isNumeric:!0,children:"Value"})]})}),(0,t.jsx)(z.N,{children:a.map((e,a)=&gt;(0,t.jsx)(aY,{item:e,isLoading:s},e.block_hash+e.type+e.account.hash+e.associated_account.hash+(s?String(a):"")))})]})};var a1=s(27109),a2=s(70971);let a5=e=&gt;{let{item:a,isLoading:s}=e,{valueStr:n}=(0,e6.A)({value:a.amount,accuracy:2,decimals:a.token.decimals});return(0,t.jsxs)(a2.A.Container,{gridTemplateColumns:"100px auto",children:[(0,t.jsx)(a2.A.Label,{isLoading:s,children:"Block"}),(0,t.jsx)(a2.A.Value,{children:(0,t.jsx)(eg.Ay,{number:Number(a.block_number),isLoading:s,noIcon:!0})}),(0,t.jsx)(a2.A.Label,{isLoading:s,children:"Epoch #"}),(0,t.jsx)(a2.A.Value,{children:(0,t.jsx)(V.A,{isLoaded:!s,children:a.epoch_number})}),(0,t.jsx)(a2.A.Label,{isLoading:s,children:"Age"}),(0,t.jsx)(a2.A.Value,{children:(0,t.jsx)(H.A,{timestamp:a.block_timestamp,isLoading:s,color:"text_secondary",display:"inline-block"})}),(0,t.jsx)(a2.A.Label,{isLoading:s,children:"Reward type"}),(0,t.jsx)(a2.A.Value,{children:(0,t.jsx)(aZ.A,{type:a.type,isLoading:s})}),(0,t.jsx)(a2.A.Label,{isLoading:s,children:"Associated address"}),(0,t.jsx)(a2.A.Value,{children:(0,t.jsx)(eQ.Ay,{address:a.associated_account,isLoading:s})}),(0,t.jsx)(a2.A.Label,{isLoading:s,children:"Value"}),(0,t.jsx)(a2.A.Value,{children:(0,t.jsxs)(V.A,{isLoaded:!s,display:"flex",alignItems:"center",gap:2,children:[n,(0,t.jsx)(e2.Ay,{token:a.token,isLoading:s,onlySymbol:!0,width:"auto",noCopy:!0})]})})]})},a6=e=&gt;{var a,s;let{scrollRef:n,shouldRender:r=!0,isQueryEnabled:i=!0}=e,l=(0,c.useRouter)(),o=(0,N.A)(),d=(0,_.A)(l.query.hash),h=(0,Z.A)({resourceName:"address_epoch_rewards",pathParams:{hash:d},scrollRef:n,options:{enabled:i&amp;&amp;!!d,placeholderData:(0,B.k)(S.OL,50,{next_page_params:{amount:"1",items_count:50,type:"voter",associated_account_address_hash:"1",block_number:0x9e04e2}})}});if(!o||!r)return null;let u=(null===(a=h.data)||void 0===a?void 0:a.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsx)(a0,{items:h.data.items,top:h.pagination.isVisible?Q.i$:0,isLoading:h.isPlaceholderData})}),(0,t.jsx)(P.w,{below:"lg",ssr:!1,children:h.data.items.map((e,a)=&gt;(0,t.jsx)(a5,{item:e,isLoading:h.isPlaceholderData},e.block_hash+e.type+e.account.hash+e.associated_account.hash+(h.isPlaceholderData?String(a):"")))})]}):null,m=h.pagination.isVisible?(0,t.jsxs)(Q.Ay,{mt:-6,children:[(0,t.jsx)(a1.A,{address:d,isLoading:h.pagination.isLoading,params:{type:"epoch-rewards"},ml:{lg:"auto"}}),(0,t.jsx)(K.A,{ml:{base:0,lg:8},...h.pagination})]}):null;return(0,t.jsx)(J.A,{isError:h.isError,items:null===(s=h.data)||void 0===s?void 0:s.items,emptyText:"There are no epoch rewards for this address.",content:u,actionBar:m})};var a8=s(8094),a4=s(93964),a3=s(30702),a7=s(62118);let a9=[{value:"all",label:"All"},{value:"from",label:"Outgoing transactions"},{value:"to",label:"Incoming transactions"}],se=n.memo(e=&gt;{let{onFilterChange:a,defaultFilter:s,hasActiveFilter:n,isLoading:r}=e,i=(0,et.A)(r);return(0,t.jsx)(en.A,{name:"txs_filter",options:a9,onChange:a,hasActiveFilter:n,isLoading:i,defaultValue:s||a9[0].value})}),sa=W.A.bind(null,a8.E),ss=e=&gt;{let{scrollRef:a,shouldRender:s=!0,isQueryEnabled:r=!0}=e,i=(0,c.useRouter)(),l=(0,N.A)(),[o,d]=n.useState(sa(i.query.filter)),h=(0,_.A)(i.query.hash),{data:u,isPlaceholderData:m,isError:x,pagination:p,onFilterChange:g}=(0,Z.A)({resourceName:"address_internal_txs",pathParams:{hash:h},filters:{filter:o},scrollRef:a,options:{enabled:r,placeholderData:(0,B.k)(a4.v,50,{next_page_params:{block_number:8987561,index:2,items_count:50,transaction_index:67}})}}),j=n.useCallback(e=&gt;{let a=sa(e);d(a),g({filter:a})},[g]);if(!l||!s)return null;let b=(null==u?void 0:u.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.w,{below:"lg",ssr:!1,children:(0,t.jsx)(a3.A,{data:u.items,currentAddress:h,isLoading:m})}),(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsx)(a7.A,{data:u.items,currentAddress:h,isLoading:m})})]}):null,v=(0,t.jsxs)(Q.Ay,{mt:-6,justifyContent:"left",children:[(0,t.jsx)(se,{defaultFilter:o,onFilterChange:j,hasActiveFilter:!!o,isLoading:p.isLoading}),(0,t.jsx)(a1.A,{address:h,isLoading:p.isLoading,params:{type:"internal-transactions",filterType:"address",filterValue:o},ml:{base:2,lg:"auto"}}),(0,t.jsx)(K.A,{ml:{base:"auto",lg:8},...p})]});return(0,t.jsx)(J.A,{isError:x,items:null==u?void 0:u.items,filterProps:{emptyFilteredText:"Couldn".concat(aP.wA,"t find any transaction that matches your query."),hasActiveFilters:!!o},emptyText:"There are no internal transactions for this address.",content:b,actionBar:v})};var st=s(67115),sn=s(46299),sr=s(13250);let si=[403];function sl(e){var a,s,t,r,i,l,o;let{hash:d,isEnabled:c=!0}=e,[h,u]=n.useState(!1),m=(0,x.A)("address",{pathParams:{hash:d},queryOptions:{enabled:c&amp;&amp;!!d,placeholderData:S.yW,refetchOnMount:!1,retry:(e,a)=&gt;!h&amp;&amp;(0,sr.L)(e,a),refetchInterval:()=&gt;!!h&amp;&amp;15*eS.Z2}}),p=(0,g.I)({queryKey:["RPC","address",{hash:d}],queryFn:async()=&gt;{if(!aJ.R)throw Error("No public RPC client");return Promise.all([aJ.R.getBalance({address:d}).catch(()=&gt;null)])},select:e=&gt;{let[a]=e;return a?{hash:d,block_number_balance_updated_at:null,coin_balance:a.toString(),creator_address_hash:null,creation_transaction_hash:null,exchange_rate:null,ens_domain_name:null,has_logs:!1,has_token_transfers:!1,has_tokens:!1,has_validated_blocks:!1,implementations:null,is_contract:!1,is_verified:!1,name:null,token:null,watchlist_address_id:null,private_tags:null,public_tags:null,watchlist_names:null}:null},placeholderData:[aX.KO],enabled:(m.isError||m.errorUpdateCount&gt;0)&amp;&amp;!((null===(a=m.error)||void 0===a?void 0:a.status)&amp;&amp;si.includes(null===(s=m.error)||void 0===s?void 0:s.status)),retry:!1,refetchOnMount:!1});n.useEffect(()=&gt;{!m.isPlaceholderData&amp;&amp;aJ.R&amp;&amp;(m.isError&amp;&amp;1===m.errorUpdateCount?u(!0):m.isError||u(!1))},[m.errorUpdateCount,m.isError,m.isPlaceholderData,null===(t=m.error)||void 0===t?void 0:t.status]),n.useEffect(()=&gt;{p.isPlaceholderData||p.data||u(!1)},[p.data,p.isPlaceholderData]);let j=!!((m.isError||m.isPlaceholderData)&amp;&amp;!((null===(r=m.error)||void 0===r?void 0:r.status)&amp;&amp;si.includes(null===(i=m.error)||void 0===i?void 0:i.status))&amp;&amp;!si.includes(null!==(o=null===(l=m.error)||void 0===l?void 0:l.status)&amp;&amp;void 0!==o?o:999)&amp;&amp;m.errorUpdateCount&gt;0&amp;&amp;p.data&amp;&amp;aJ.R);return{...j?p:m,isDegradedData:j}}let so=e=&gt;{let{scrollRef:a,shouldRender:s=!0,isQueryEnabled:n=!0}=e,r=(0,c.useRouter)(),i=(0,N.A)(),l=(0,_.A)(r.query.hash),{data:o,isPlaceholderData:d,isError:h,pagination:u}=(0,Z.A)({resourceName:"address_logs",pathParams:{hash:l},scrollRef:a,options:{enabled:n,placeholderData:(0,B.k)(st.$,3,{next_page_params:{block_number:9005750,index:42,items_count:50,transaction_index:23}})}}),m=sl({hash:l}),x=(0,t.jsxs)(Q.Ay,{mt:-6,showShadow:!0,justifyContent:{base:"space-between",lg:"end"},children:[(0,t.jsx)(a1.A,{address:l,isLoading:u.isLoading,params:{type:"logs"}}),(0,t.jsx)(K.A,{ml:{base:0,lg:8},...u})]});if(!i||!s)return null;let p=(null==o?void 0:o.items)?o.items.map((e,a)=&gt;{var s,n;return(0,t.jsx)(sn.A,{...e,type:"address",isLoading:d,defaultDataType:(null===(n=m.data)||void 0===n?void 0:null===(s=n.zilliqa)||void 0===s?void 0:s.is_scilla_contract)?"UTF-8":void 0},a)}):null;return(0,t.jsx)(J.A,{isError:h,items:null==o?void 0:o.items,emptyText:"There are no logs for this address.",content:p,actionBar:x})};var sd=s(50350),sc=s(59247),sh=s(73429),su=s(43212),sm=s(70043);let sx=e=&gt;{let{text:a,href:s,isLast:r,scrollRef:l}=e,o=(0,i.dU)("gray.300","gray.600"),c=(0,sm.A)()?window.location.href:"",h=n.useCallback(()=&gt;{window.setTimeout(()=&gt;{var e;null==l||null===(e=l.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})},500)},[l]);return r?(0,t.jsxs)(ez.x,{gap:2,overflow:"hidden",templateColumns:"auto 24px",alignItems:"center",children:[(0,t.jsx)(d.az,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:a}),(0,t.jsx)(eG.A,{text:c,type:"link",mx:0,color:"text_secondary"})]}):(0,t.jsxs)(ez.x,{gap:2,overflow:"hidden",templateColumns:"auto 24px",alignItems:"center",children:[(0,t.jsx)(G.A,{href:s,onClick:h,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",children:a}),!r&amp;&amp;(0,t.jsx)(U.A,{name:"arrows/east",boxSize:6,color:o})]})},sp=n.memo((0,ey.B)(e=&gt;{var a;let s={tab:"mud",hash:e.hash},n=(0,aw.A)(),r=sl({hash:e.hash});return(0,t.jsxs)(d.az,{display:n?"flex":"grid",flexWrap:"wrap",gridTemplateColumns:"20px auto auto auto",gap:2,alignItems:"center",className:e.className,width:"fit-content",fontSize:"sm",children:[(0,t.jsx)(U.A,{name:"MUD",boxSize:5,color:(null===(a=r.data)||void 0===a?void 0:a.is_verified)?"green.500":"text_secondary"}),(0,t.jsx)(sx,{text:"MUD World",href:(0,eq.w)({pathname:"/address/[hash]",query:s}),scrollRef:e.scrollRef}),(0,t.jsx)(sx,{text:e.tableName,href:(0,eq.w)({pathname:"/address/[hash]",query:{...s,table_id:e.tableId}}),isLast:!("recordId"in e),scrollRef:e.scrollRef}),"recordId"in e&amp;&amp;(0,t.jsx)(sx,{text:e.recordName,href:(0,eq.w)({pathname:"/address/[hash]",query:{...s,table_id:e.tableId,record_id:e.recordId}}),isLast:!0,scrollRef:e.scrollRef})]})}));var sg=s(86735);let sj={key0:["desc","asc",void 0],key1:["desc","asc",void 0]},sb=(e,a)=&gt;(0,sg.A)(e)+" ("+a+")",sv=e=&gt;Array.isArray(e)?e.join(", "):e.toString(),sf=e=&gt;{let{data:a}=e,s=(0,i.dU)("blackAlpha.50","whiteAlpha.50");return(null==a?void 0:a.schema.value_names.length)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(F.Tr,{backgroundColor:s,borderBottomStyle:"hidden",children:[(0,t.jsx)(O.Td,{fontWeight:600,w:"100px",fontSize:"sm",children:"Field"}),(0,t.jsx)(O.Td,{fontWeight:600,w:"90px",fontSize:"sm",children:"Type"}),(0,t.jsx)(O.Td,{fontWeight:600,fontSize:"sm",children:"Value"})]}),null==a?void 0:a.schema.value_names.map((e,n)=&gt;(0,t.jsxs)(F.Tr,{backgroundColor:s,borderBottomStyle:"hidden",children:[(0,t.jsx)(O.Td,{fontWeight:400,w:"100px",py:0,pb:4,pr:0,wordBreak:"break-all",children:e}),(0,t.jsx)(O.Td,{fontWeight:400,w:"90px",py:0,pb:4,wordBreak:"break-all",children:a.schema.value_types[n]}),(0,t.jsx)(O.Td,{fontWeight:400,wordBreak:"break-word",py:0,pb:4,children:(0,t.jsx)(d.az,{children:sv(a.record.decoded[e])})})]},e))]}):null},sA=e=&gt;{let{tableId:a,recordId:s,isQueryEnabled:n=!0,scrollRef:r}=e,i=(0,c.useRouter)(),o=(0,_.A)(i.query.hash),{data:h,isLoading:u,isError:m}=(0,x.A)("address_mud_record",{pathParams:{hash:o,table_id:a,record_id:s},queryOptions:{enabled:n}});return u?(0,t.jsx)(su.A,{}):m?(0,t.jsx)(eM.A,{}):(0,t.jsxs)(t.Fragment,{children:[h&amp;&amp;(0,t.jsx)(sp,{hash:o,tableId:a,tableName:null==h?void 0:h.table.table_full_name,recordId:s,recordName:h.record.id,mb:6,scrollRef:r}),(0,t.jsx)(P.w,{above:"lg",ssr:!1,children:(0,t.jsxs)(R.X,{borderRadius:"8px",style:{tableLayout:"auto"},width:"100%",overflow:"hidden",children:[(null==h?void 0:h.schema.key_names.length)&amp;&amp;(null==h?void 0:h.schema.key_names.map((e,a)=&gt;(0,t.jsxs)(F.Tr,{borderBottomStyle:a===h.schema.key_names.length-1?"hidden":"solid",children:[(0,t.jsxs)(O.Td,{fontWeight:600,whiteSpace:"nowrap",fontSize:"sm",children:[e," (",h.schema.key_types[a],")"]}),(0,t.jsx)(O.Td,{colSpan:2,fontSize:"sm",children:(0,t.jsxs)(l.s,{justifyContent:"space-between",children:[(0,t.jsx)(aN.A,{value:sv(h.record.decoded[e]),mr:2}),0===a&amp;&amp;(0,t.jsx)(d.az,{color:"text_secondary",children:(0,sh.A)(h.record.timestamp).format("lll")})]})})]},e))),(0,t.jsx)(sf,{data:h})]})}),(0,t.jsx)(D.L,{above:"lg",ssr:!1,children:(0,t.jsxs)(t.Fragment,{children:[(null==h?void 0:h.schema.key_names.length)&amp;&amp;(null==h?void 0:h.schema.key_names.map((e,a)=&gt;(0,t.jsxs)(sd.T,{gap:1,alignItems:"start",fontSize:"sm",children:[(0,t.jsx)(sc.c,{}),(0,t.jsxs)(ee.E,{fontWeight:600,whiteSpace:"nowrap",children:[e," (",h.schema.key_types[a],")"]}),(0,t.jsx)(ee.E,{wordBreak:"break-word",children:sv(h.record.decoded[e])}),0===a&amp;&amp;(0,t.jsx)(d.az,{color:"text_secondary",children:(0,sh.A)(h.record.timestamp).format("lll")})]},e))),(0,t.jsx)(R.X,{borderRadius:"8px",style:{tableLayout:"auto"},width:"100%",mt:2,overflow:"hidden",children:(0,t.jsx)(sf,{data:h})})]})})]})};var sy=s(85164),s_=s(66537),sw=s(8793),sk=s(50128),sL=s(70198);let sC=e=&gt;{let{value:a="",handleFilterChange:s,columnName:r,title:i,onClose:l}=e,[o,d]=n.useState(a),c=n.useCallback(()=&gt;{s(o)},[s,o]);return(0,t.jsx)(sL.A,{title:i,isFilled:!!o,onFilter:c,onClose:l,isTouched:o!==a,children:(0,t.jsx)(sk.A,{initialValue:a,size:"xs",onChange:d,placeholder:r})})},sT=e=&gt;{let{value:a="",handleFilterChange:s,columnName:n,title:r,isLoading:i}=e;return(0,t.jsx)(sw.A,{columnName:n,isActive:!!a,isLoading:i,w:"350px",children:(0,t.jsx)(sC,{value:a,handleFilterChange:s,title:r,columnName:n})})},sS=e=&gt;{let{data:a,top:s,sorting:r,toggleSorting:o,filters:h,setFilters:u,toggleTableHasHorizontalScroll:m,scrollRef:x,hash:p}=e,g=a.schema.key_names.length+a.schema.value_names.length,j=(0,aw.A)(!1),[b,v]=n.useState(j?2:0),[f,A]=(0,sy.C)(!1),[y,_]=(0,sy.C)(!j||g&gt;2),w=n.useRef(null),k=n.useRef(null),L=(0,c.useRouter)(),C=n.useCallback(()=&gt;{var e;f&amp;&amp;(null===(e=k.current)||void 0===e||e.scroll({left:0})),A.toggle(),m()},[A,m,f]),T=n.useCallback(e=&gt;{var s;if(e.metaKey||e.ctrlKey)return;e.preventDefault();let t=e.currentTarget.getAttribute("data-id");t&amp;&amp;L.push({pathname:"/address/[hash]",query:{hash:p,tab:"mud",table_id:a.table.table_id,record_id:t}},void 0,{shallow:!0}),null==x||null===(s=x.current)||void 0===s||s.scrollIntoView()},[L,x,p,a.table.table_id]),S=n.useCallback(e=&gt;a=&gt;{u(s=&gt;{let t={...s};return t[e]=a,t})},[u]),E=n.useCallback(e=&gt;o("key"+e.currentTarget.getAttribute("data-id")),[o]),D=(0,i.dU)("blackAlpha.50","whiteAlpha.50");n.useEffect(()=&gt;{if(y&amp;&amp;!b&amp;&amp;w.current){let e=Math.floor((w.current.getBoundingClientRect().width-36)/180);g&gt;2&amp;&amp;e-1&lt;g?v(e-1):_.off()}},[b,a.schema,y,_,g]);let P=j?140:180,W=f||!y?a.schema.key_names:a.schema.key_names.slice(0,b),N=f||!y?a.schema.value_names:a.schema.value_names.slice(0,b-a.schema.key_names.length),q=f||!y?g:b,B={wordBreak:"break-word",whiteSpace:"normal",minW:"".concat(P,"px"),w:"".concat(100/q,"%"),verticalAlign:"top",lineHeight:"20px"},V=j||f;if(y&amp;&amp;!b)return(0,t.jsx)(d.az,{w:"100%",ref:w});let M=(0,t.jsx)(I.Th,{width:"".concat(36,"px "),verticalAlign:"baseline",children:(0,t.jsx)(ad.m,{label:f?"Hide columns":"Show all columns",children:(0,t.jsx)(eA.N,{onClick:C,"aria-label":"show/hide columns",children:"..."})})});return(0,t.jsx)(d.az,{maxW:"100%",overflowX:V?"scroll":"unset",whiteSpace:"nowrap",ref:k,children:(0,t.jsxs)(R.X,{style:{tableLayout:"fixed"},children:[(0,t.jsx)(Y.A,{top:V?0:s,display:V?"table":"table-header-group",w:"100%",children:(0,t.jsxs)(F.Tr,{children:[W.map((e,s)=&gt;{let n=sb(e,a.schema.key_types[s]);return(0,t.jsx)(I.Th,{...B,children:s&lt;2?(0,t.jsxs)(l.s,{alignItems:"center",children:[(0,t.jsxs)(eA.N,{onClick:E,"data-id":s,display:"flex",alignItems:"start",lineHeight:"20px",mr:2,children:[(null==r?void 0:r.sort)==="key".concat(s)&amp;&amp;r.order&amp;&amp;(0,t.jsx)(d.az,{minW:"24px",w:"24px",mr:2,children:(0,t.jsx)(U.A,{name:"arrows/east",boxSize:5,transform:"asc"===r.order?"rotate(-90deg)":"rotate(90deg)"})}),n]}),(0,t.jsx)(d.az,{minW:"20px",w:"20px",children:(0,t.jsx)(sT,{value:h[0===s?"filter_key0":"filter_key1"],title:n,columnName:e,handleFilterChange:S(0===s?"filter_key0":"filter_key1")})})]}):n},e)}),N.map((e,s)=&gt;(0,t.jsxs)(I.Th,{...B,children:[(0,sg.A)(e)," (",a.schema.value_types[s],")"]},e)),y&amp;&amp;!f&amp;&amp;M,(0,t.jsx)(I.Th,{...B,w:"".concat(P,"px"),children:"Modified"}),y&amp;&amp;f&amp;&amp;M]})}),(0,t.jsx)(z.N,{display:V?"table":"table-row-group",w:"100%",children:a.items.map(e=&gt;(0,t.jsxs)(F.Tr,{children:[W.map((s,n)=&gt;(0,t.jsxs)(O.Td,{backgroundColor:D,...B,children:[0===n?(0,t.jsx)(G.A,{onClick:T,"data-id":e.id,fontWeight:700,href:(0,eq.w)({pathname:"/address/[hash]",query:{hash:p,tab:"mud",table_id:a.table.table_id,record_id:e.id}}),children:sv(e.decoded[s])}):sv(e.decoded[s]),(0,t.jsx)(eG.A,{text:e.decoded[s]})]},s)),N.map(a=&gt;(0,t.jsx)(O.Td,{...B,children:sv(e.decoded[a])},a)),y&amp;&amp;!f&amp;&amp;(0,t.jsx)(O.Td,{width:"".concat(36,"px ")}),(0,t.jsx)(O.Td,{...B,color:"text_secondary",w:"".concat(P,"px"),children:(0,sh.A)(e.timestamp).format("lll")}),y&amp;&amp;f&amp;&amp;(0,t.jsx)(O.Td,{width:"".concat(36,"px ")})]},e.id))})]})})},sE=e=&gt;{let{scrollRef:a,tableId:s,isQueryEnabled:r=!0}=e,i=(0,c.useRouter)(),[l,h]=n.useState(function(e,a){if(!e.sort||!e.order)return;let s=(0,_.A)(e.sort);if(!Object.keys(a).includes(s))return;let t=(0,_.A)(e.order);if(a[s].includes(t))return{sort:s,order:t}}(i.query,sj)),[u,m]=n.useState({}),x=(0,aw.A)(),[p,g]=(0,sy.C)(x),j=(0,_.A)(i.query.hash),{data:b,isLoading:v,isError:f,pagination:A,onSortingChange:y}=(0,Z.A)({resourceName:"address_mud_records",pathParams:{hash:j,table_id:s},filters:u,sorting:l,scrollRef:a,options:{enabled:r}}),w=n.useCallback(e=&gt;{let a={sort:e,order:(0,s_.zU)((null==l?void 0:l.sort)===e?l.order:void 0)};h(a),y(a)},[y,l]),k=n.useCallback(e=&gt;()=&gt;{m(a=&gt;{let s={...a};return delete s[e],s})},[]),L=Object.values(u).some(Boolean),C=n.useMemo(()=&gt;{let e=A.isVisible?Q.i$:60;return L?e+44:e},[A.isVisible,L]);if(v)return(0,t.jsx)(su.A,{});let T=L?(0,t.jsx)(o.z,{gap:3,mb:1,flexWrap:"wrap",children:Object.entries(u).map(e=&gt;{let[a,s]=e,n="filter_key0"===a?0:1;return(0,t.jsxs)(ab.vw,{display:"inline-flex",maxW:"360px",colorScheme:"blue",children:[(0,t.jsx)(ey.B.span,{color:"text_secondary",children:sb((null==b?void 0:b.schema.key_names[n])||"",(null==b?void 0:b.schema.key_types[n])||"")}),(0,t.jsxs)(ey.B.span,{color:"text",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",children:[aP.OX,s]}),(0,t.jsx)(ab.TV,{onClick:k(a)})]},a)})}):null,S=b?(0,t.jsx)(sp,{hash:j,tableId:s,tableName:null==b?void 0:b.table.table_full_name,scrollRef:a,mb:L?4:0}):null,E=(!x||L||A.isVisible)&amp;&amp;(0,t.jsxs)(Q.Ay,{mt:-6,showShadow:p,justifyContent:"space-between",alignItems:L?"start":"center",children:[(0,t.jsxs)(d.az,{children:[!x&amp;&amp;S,T]}),(0,t.jsx)(K.A,{ml:{base:0,lg:8},...A})]}),D=(null==b?void 0:b.items)?(0,t.jsx)(sS,{data:b,top:C,sorting:l,toggleSorting:w,setFilters:m,filters:u,toggleTableHasHorizontalScroll:g.toggle,scrollRef:a,hash:j}):null,P=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ey.B.span,{children:"There are no records for "}),(null==b?void 0:b.table.table_full_name)?(0,t.jsx)(ey.B.span,{fontWeight:600,children:null==b?void 0:b.table.table_full_name}):"this table"]});return(0,t.jsxs)(t.Fragment,{children:[x&amp;&amp;(0,t.jsx)(d.az,{mb:6,children:S}),(0,t.jsx)(J.A,{isError:f,items:null==b?void 0:b.items,emptyText:P,filterProps:{emptyFilteredText:"Couldn".concat(aP.wA,"t find records that match your filter query."),hasActiveFilters:Object.values(u).some(Boolean)},content:D,actionBar:E,showActionBarIfEmpty:!x,mt:(null==b?void 0:b.items.length)?0:2})]})};var sD=s(40792),sP=s(65602),sR=s(83591),sF=s(47796);let sI=n.memo(e=&gt;{let{item:a,isLoading:s,scrollRef:r,hash:i}=e,[o,h]=(0,sy.C)(!1),u=(0,c.useRouter)(),m=n.useCallback(e=&gt;{var a;if(e.metaKey||e.ctrlKey)return;e.preventDefault();let s=e.currentTarget.getAttribute("data-id");s&amp;&amp;u.push({pathname:"/address/[hash]",query:{hash:i,tab:"mud",table_id:s}},void 0,{shallow:!0}),null==r||null===(a=r.current)||void 0===a||a.scrollIntoView()},[u,r,i]);return(0,t.jsxs)(ea.A,{rowGap:3,fontSize:"sm",py:3,children:[(0,t.jsxs)(l.s,{w:"100%",children:[(0,t.jsx)(V.A,{isLoaded:!s,children:(0,t.jsx)(eA.N,{display:"block",children:(0,t.jsx)(U.A,{name:"arrows/east-mini",transform:o?"rotate(270deg)":"rotate(180deg)",boxSize:6,cursor:"pointer",onClick:h.toggle,transitionDuration:"faster","aria-label":"View schema"})})}),(0,t.jsxs)(d.az,{flexGrow:"1",children:[(0,t.jsxs)(l.s,{justifyContent:"space-between",height:6,alignItems:"center",mb:3,children:[(0,t.jsx)(V.A,{isLoaded:!s,children:(0,t.jsx)(G.A,{onClick:m,"data-id":a.table.table_id,fontWeight:500,href:(0,eq.w)({pathname:"/address/[hash]",query:{hash:i,tab:"mud",table_id:a.table.table_id}}),children:a.table.table_full_name})}),(0,t.jsx)(V.A,{isLoaded:!s,color:"text_secondary",children:a.table.table_type})]}),(0,t.jsx)(V.A,{isLoaded:!s,color:"text_secondary",children:(0,t.jsx)(sF.A,{hash:a.table.table_id,type:"long"})})]})]}),o&amp;&amp;(0,t.jsxs)(ez.x,{templateColumns:"48px 1fr",gap:"8px 24px",fontWeight:500,w:"100%",children:[!!a.schema.key_names.length&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ee.E,{lineHeight:"24px",children:"Key"}),(0,t.jsx)(sd.T,{gap:1,alignItems:"start",children:a.schema.key_names.map((e,s)=&gt;(0,t.jsxs)(sR.A,{children:[(0,t.jsx)(ey.B.span,{fontWeight:700,children:a.schema.key_types[s]})," ",e]},e))})]}),(0,t.jsx)(sP.E,{colSpan:2,children:(0,t.jsx)(sc.c,{})}),(0,t.jsx)(ee.E,{lineHeight:"24px",children:"Value"}),(0,t.jsx)(sd.T,{gap:1,alignItems:"start",children:a.schema.value_names.map((e,s)=&gt;(0,t.jsxs)(ee.E,{children:[(0,t.jsx)(ey.B.span,{fontWeight:700,children:a.schema.value_types[s]})," ",e]},e))})]})]})}),sz=n.memo(e=&gt;{let{item:a,isLoading:s,scrollRef:r,hash:i}=e,[l,o]=(0,sy.C)(!1),d=(0,c.useRouter)(),h=n.useCallback(e=&gt;{var a;if(e.metaKey||e.ctrlKey)return;e.preventDefault();let s=e.currentTarget.getAttribute("data-id");s&amp;&amp;d.push({pathname:"/address/[hash]",query:{hash:i,tab:"mud",table_id:s}},void 0,{shallow:!0}),null==r||null===(a=r.current)||void 0===a||a.scrollIntoView()},[d,r,i]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(F.Tr,{borderBottomStyle:l?"hidden":"unset",children:[(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!s,children:(0,t.jsx)(eA.N,{display:"block",children:(0,t.jsx)(U.A,{name:"arrows/east-mini",transform:l?"rotate(270deg)":"rotate(180deg)",boxSize:6,cursor:"pointer",onClick:o.toggle,transitionDuration:"faster","aria-label":"View schema"})})})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!s,children:(0,t.jsx)(G.A,{href:(0,eq.w)({pathname:"/address/[hash]",query:{hash:i,tab:"mud",table_id:a.table.table_id}}),"data-id":a.table.table_id,onClick:h,fontWeight:700,children:a.table.table_full_name})})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!s,children:a.table.table_id})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!s,children:a.table.table_type})})]}),l&amp;&amp;(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(O.Td,{pt:0}),(0,t.jsx)(O.Td,{colSpan:3,pt:0,children:(0,t.jsxs)(R.X,{children:[!!a.schema.key_names.length&amp;&amp;(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(O.Td,{width:"80px",fontSize:"sm",fontWeight:600,py:2,pl:0,verticalAlign:"middle",children:"Key"}),(0,t.jsx)(O.Td,{py:2,children:(0,t.jsx)(sd.T,{gap:1,alignItems:"start",children:a.schema.key_names.map((e,s)=&gt;(0,t.jsxs)(sR.A,{children:[(0,t.jsx)(ey.B.span,{fontWeight:700,children:a.schema.key_types[s]})," ",e]},e))})})]}),(0,t.jsxs)(F.Tr,{borderBottomStyle:"hidden",children:[(0,t.jsx)(O.Td,{width:"80px",fontSize:"sm",fontWeight:600,py:2,pl:0,children:"Value"}),(0,t.jsx)(O.Td,{fontSize:"sm",py:2,children:(0,t.jsx)(sd.T,{gap:1,alignItems:"start",children:a.schema.value_names.map((e,s)=&gt;(0,t.jsxs)(ee.E,{children:[(0,t.jsx)(ey.B.span,{fontWeight:700,children:a.schema.value_types[s]})," ",e]},e))})})]})]})})]})]})}),sW=e=&gt;{let{items:a,isLoading:s,top:n,scrollRef:r,hash:i}=e;return(0,t.jsxs)(R.X,{style:{tableLayout:"auto"},children:[(0,t.jsx)(Y.A,{top:n,children:(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(I.Th,{width:"24px"}),(0,t.jsx)(I.Th,{children:"Full name"}),(0,t.jsx)(I.Th,{children:"Table ID"}),(0,t.jsx)(I.Th,{children:"Type"})]})}),(0,t.jsx)(z.N,{children:a.map((e,a)=&gt;(0,t.jsx)(sz,{item:e,isLoading:s,scrollRef:r,hash:i},e.table.table_id+(s?String(a):"")))})]})},sN=e=&gt;{let{scrollRef:a,isQueryEnabled:s=!0}=e,r=(0,c.useRouter)(),i=(0,_.A)(r.query.hash),l=(0,_.A)(r.query.q),[o,d]=n.useState(l||""),h=(0,sD.A)(o,300),{data:u,isPlaceholderData:m,isError:x,pagination:p}=(0,Z.A)({resourceName:"address_mud_tables",pathParams:{hash:i},filters:{q:h},scrollRef:a,options:{enabled:s,placeholderData:(0,B.k)(S.hA,3,{next_page_params:{items_count:50,table_id:"1"}})}}),g=(0,et.A)(m),j=(0,t.jsx)(sk.A,{w:{base:"100%",lg:"360px"},minW:{base:"auto",lg:"250px"},size:"xs",onChange:d,placeholder:"Search by name, namespace or table ID...",initialValue:o,isLoading:g}),b=(0,t.jsxs)(Q.Ay,{mt:-6,showShadow:!0,justifyContent:"space-between",children:[j,(0,t.jsx)(K.A,{ml:{base:0,lg:8},...p})]}),v=(null==u?void 0:u.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsx)(sW,{items:u.items,isLoading:m,top:Q.i$,scrollRef:a,hash:i})}),(0,t.jsx)(P.w,{below:"lg",ssr:!1,children:u.items.map((e,a)=&gt;(0,t.jsx)(sI,{item:e,isLoading:m,hash:i},e.table.table_id+(m?String(a):"")))})]}):null;return(0,t.jsx)(J.A,{isError:x,items:null==u?void 0:u.items,emptyText:"There are no tables for this address.",filterProps:{emptyFilteredText:"Couldn".concat(aP.wA,"t find tables that match your filter query."),hasActiveFilters:!!o},content:v,actionBar:b})},sq=e=&gt;{var a,s;let{scrollRef:n,shouldRender:r=!0,isQueryEnabled:i=!0}=e,l=(0,N.A)(),o=(0,c.useRouter)(),d=null===(a=o.query.table_id)||void 0===a?void 0:a.toString(),h=null===(s=o.query.record_id)||void 0===s?void 0:s.toString();return l&amp;&amp;r?d&amp;&amp;h?(0,t.jsx)(sA,{tableId:d,recordId:h,isQueryEnabled:i,scrollRef:n}):d?(0,t.jsx)(sE,{tableId:d,scrollRef:n,isQueryEnabled:i}):(0,t.jsx)(sN,{scrollRef:n,isQueryEnabled:i}):null};var sB=s(643),sO=s(62711),sV=s(88579),sU=s(10043),sG=s(26861),sM=s(28872),sH=s(31089),s$=s(31181),sQ=s(91404),sJ=s(12903);let sX=(0,ey.B)(e=&gt;{let{children:a,className:s}=e;return(0,t.jsx)(d.az,{w:{base:"100%",lg:"210px"},border:"1px solid",borderColor:(0,i.dU)("blackAlpha.100","whiteAlpha.200"),borderRadius:"12px",p:"10px",fontSize:"sm",fontWeight:500,lineHeight:"20px",className:s,children:a})}),sK=e=&gt;{let{token:a,value:s,isLoading:n,withTokenLink:r,...i}=e,o=a.decimals&amp;&amp;s?(0,e6.A)({value:s,decimals:a.decimals,accuracy:2}).valueStr:s,d=i.id?(0,eq.w)({pathname:"/token/[hash]/instance/[id]",query:{hash:a.address,id:i.id}}):void 0;return(0,t.jsxs)(sX,{position:"relative",children:[(0,t.jsx)(V.A,{isLoaded:!n,children:(0,t.jsx)(s$.K2,{children:(0,t.jsx)(ab.vw,{background:"gray.50",zIndex:1,position:"absolute",top:"18px",right:"18px",children:(0,aW.Le)(a.type)})})}),(0,t.jsx)(eA.N,{href:n?void 0:d,children:(0,t.jsx)(sJ.A,{mb:"18px",data:i,isLoading:n,autoplayVideo:!1})}),(0,t.jsxs)(l.s,{justifyContent:"space-between",w:"100%",flexWrap:"wrap",children:[(0,t.jsxs)(l.s,{ml:1,overflow:"hidden",children:[(0,t.jsx)(ee.E,{whiteSpace:"pre",variant:"secondary",children:"ID# "}),(0,t.jsx)(sQ.Ay,{hash:a.address,id:i.id,isLoading:n,noIcon:!0})]}),(0,t.jsx)(V.A,{isLoaded:!n,overflow:"hidden",ml:1,children:o&amp;&amp;(0,t.jsxs)(l.s,{children:[(0,t.jsx)(ee.E,{variant:"secondary",whiteSpace:"pre",children:"Qty "}),(0,t.jsx)(ee.E,{overflow:"hidden",wordBreak:"break-all",children:o})]})})]}),r&amp;&amp;(0,t.jsx)(e2.Ay,{mt:2,token:a,isLoading:n,noCopy:!0,noSymbol:!0})]})},sZ=e=&gt;{let{collectionsQuery:a,address:s,hasActiveFilters:n}=e,r=(0,aw.A)(),{isError:i,isPlaceholderData:c,data:h,pagination:u}=a,m=r&amp;&amp;u.isVisible&amp;&amp;(0,t.jsx)(Q.Ay,{mt:-6,children:(0,t.jsx)(K.A,{ml:"auto",...u})}),x=(null==h?void 0:h.items)?null==h?void 0:h.items.filter(e=&gt;e.token_instances.length&gt;0).map((e,a)=&gt;{let n=(0,eq.w)({pathname:"/token/[hash]",query:{hash:e.token.address,tab:"inventory",holder_address_hash:s,scroll_to_tabs:"true"}}),r=Number(e.amount)&gt;e.token_instances.length;return(0,t.jsxs)(d.az,{mb:6,children:[(0,t.jsxs)(l.s,{mb:3,flexWrap:"wrap",lineHeight:"30px",children:[(0,t.jsx)(e2.Ay,{width:"auto",noSymbol:!0,token:e.token,isLoading:c,noCopy:!0,fontWeight:"600"}),(0,t.jsx)(V.A,{isLoaded:!c,mr:3,children:(0,t.jsx)(ee.E,{variant:"secondary",whiteSpace:"pre",children:" - ".concat(Number(e.amount).toLocaleString()," item").concat(Number(e.amount)&gt;1?"s":"")})}),(0,t.jsx)(G.A,{href:n,isLoading:c,children:(0,t.jsx)(V.A,{isLoaded:!c,children:"View in collection"})})]}),(0,t.jsxs)(ez.x,{w:"100%",mb:6,columnGap:{base:3,lg:6},rowGap:{base:3,lg:6},gridTemplateColumns:{base:"repeat(2, calc((100% - 12px)/2))",lg:"repeat(auto-fill, minmax(210px, 1fr))"},children:[e.token_instances.map((a,s)=&gt;{let n=e.token.address+"_"+(a.id&amp;&amp;!c?"id_".concat(a.id):"index_".concat(s));return(0,t.jsx)(sK,{...a,token:e.token,isLoading:c},n)}),r&amp;&amp;(0,t.jsx)(G.A,{display:"flex",href:n,children:(0,t.jsxs)(sX,{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",minH:"248px",children:[(0,t.jsxs)(o.z,{gap:2,mb:3,children:[(0,t.jsx)(sH.A,{bgColor:"unset",w:"30px",h:"30px",boxSize:"30px",p:0}),(0,t.jsx)(sH.A,{bgColor:"unset",w:"30px",h:"30px",boxSize:"30px",p:0}),(0,t.jsx)(sH.A,{bgColor:"unset",w:"30px",h:"30px",boxSize:"30px",p:0})]}),"View all NFTs"]})})]})]},e.token.address+a)}):null;return(0,t.jsx)(J.A,{isError:i,items:null==h?void 0:h.items,emptyText:"There are no tokens of selected type.",content:x,actionBar:m,filterProps:{emptyFilteredText:"Couldn".concat(aP.wA,"t find any token that matches your query."),hasActiveFilters:n}})},sY=e=&gt;{let{tokensQuery:a,hasActiveFilters:s}=e,n=(0,aw.A)(),{isError:r,isPlaceholderData:i,data:l,pagination:o}=a,d=n&amp;&amp;o.isVisible&amp;&amp;(0,t.jsx)(Q.Ay,{mt:-6,children:(0,t.jsx)(K.A,{ml:"auto",...o})}),c=(null==l?void 0:l.items)?(0,t.jsx)(ez.x,{w:"100%",columnGap:{base:3,lg:6},rowGap:{base:3,lg:6},gridTemplateColumns:{base:"repeat(2, calc((100% - 12px)/2))",lg:"repeat(auto-fill, minmax(210px, 1fr))"},children:l.items.map((e,a)=&gt;{let s=e.token.address+"_"+(e.id&amp;&amp;!i?"id_".concat(e.id):"index_".concat(a));return(0,t.jsx)(sK,{...e,isLoading:i,withTokenLink:!0},s)})}):null;return(0,t.jsx)(J.A,{isError:r,items:null==l?void 0:l.items,emptyText:"There are no tokens of selected type.",content:c,actionBar:d,filterProps:{emptyFilteredText:"Couldn".concat(aP.wA,"t find any token that matches your query."),hasActiveFilters:s}})};var s0=s(94149);let s1=e=&gt;{let{token:a,value:s,isLoading:n}=e,{valueStr:r,usd:i}=(0,e6.A)({value:s,exchangeRate:a.exchange_rate,decimals:a.decimals,accuracy:8,accuracyUsd:2});return(0,t.jsxs)(ea.A,{rowGap:2,children:[(0,t.jsx)(l.s,{alignItems:"center",width:"100%",children:(0,t.jsx)(e2.Ay,{token:a,isLoading:n,noCopy:!0,jointSymbol:!0,fontWeight:"700"})}),(0,t.jsxs)(l.s,{alignItems:"center",pl:8,children:[(0,t.jsx)(eQ.Ay,{address:{hash:a.address},isLoading:n,truncation:"constant",noIcon:!0}),(0,t.jsx)(s0.A,{token:a,ml:2,isLoading:n})]}),void 0!==a.exchange_rate&amp;&amp;null!==a.exchange_rate&amp;&amp;(0,t.jsxs)(o.z,{spacing:3,children:[(0,t.jsx)(V.A,{isLoaded:!n,fontSize:"sm",fontWeight:500,children:"Price"}),(0,t.jsx)(V.A,{isLoaded:!n,fontSize:"sm",color:"text_secondary",children:(0,t.jsx)("span",{children:"$".concat(Number(a.exchange_rate).toLocaleString())})})]}),(0,t.jsxs)(o.z,{spacing:3,alignItems:"baseline",children:[(0,t.jsx)(V.A,{isLoaded:!n,fontSize:"sm",fontWeight:500,children:"Quantity"}),(0,t.jsx)(V.A,{isLoaded:!n,fontSize:"sm",color:"text_secondary",whiteSpace:"pre-wrap",wordBreak:"break-word",children:(0,t.jsx)("span",{children:r})})]}),void 0!==i&amp;&amp;(0,t.jsxs)(o.z,{spacing:3,alignItems:"baseline",children:[(0,t.jsx)(V.A,{isLoaded:!n,fontSize:"sm",fontWeight:500,children:"Value"}),(0,t.jsx)(V.A,{isLoaded:!n,fontSize:"sm",color:"text_secondary",whiteSpace:"pre-wrap",wordBreak:"break-word",children:(0,t.jsxs)("span",{children:["$",i]})})]})]})},s2=n.memo(e=&gt;{let{token:a,value:s,isLoading:n}=e,{valueStr:r,usd:i}=(0,e6.A)({value:s,exchangeRate:a.exchange_rate,decimals:a.decimals,accuracy:8,accuracyUsd:2});return(0,t.jsxs)(F.Tr,{role:"group",children:[(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsx)(e2.Ay,{token:a,isLoading:n,noCopy:!0,jointSymbol:!0,fontWeight:"700"})}),(0,t.jsx)(O.Td,{verticalAlign:"middle",children:(0,t.jsxs)(l.s,{alignItems:"center",width:"150px",justifyContent:"space-between",children:[(0,t.jsx)(eQ.Ay,{address:{hash:a.address},isLoading:n,truncation:"constant",noIcon:!0}),(0,t.jsx)(s0.A,{token:a,ml:4,isLoading:n,opacity:"0",_groupHover:{opacity:1}})]})}),(0,t.jsx)(O.Td,{isNumeric:!0,verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!n,display:"inline-block",children:a.exchange_rate&amp;&amp;"$".concat(Number(a.exchange_rate).toLocaleString())})}),(0,t.jsx)(O.Td,{isNumeric:!0,verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!n,display:"inline",children:r})}),(0,t.jsx)(O.Td,{isNumeric:!0,verticalAlign:"middle",children:(0,t.jsx)(V.A,{isLoaded:!n,display:"inline",children:i&amp;&amp;"$".concat(i)})})]})}),s5=e=&gt;{let{data:a,top:s,isLoading:n}=e;return(0,t.jsxs)(R.X,{children:[(0,t.jsx)(Y.A,{top:s,children:(0,t.jsxs)(F.Tr,{children:[(0,t.jsx)(I.Th,{width:"30%",children:"Asset"}),(0,t.jsx)(I.Th,{width:"30%",children:"Contract address"}),(0,t.jsx)(I.Th,{width:"10%",isNumeric:!0,children:"Price"}),(0,t.jsx)(I.Th,{width:"15%",isNumeric:!0,children:"Quantity"}),(0,t.jsx)(I.Th,{width:"15%",isNumeric:!0,children:"Value"})]})}),(0,t.jsx)(z.N,{children:a.map((e,a)=&gt;(0,t.jsx)(s2,{...e,isLoading:n},e.token.address+(n?a:"")))})]})},s6=e=&gt;{let{tokensQuery:a}=e,s=(0,aw.A)(),{isError:n,isPlaceholderData:r,data:i,pagination:l}=a,o=s&amp;&amp;l.isVisible&amp;&amp;(0,t.jsx)(Q.Ay,{mt:-6,children:(0,t.jsx)(K.A,{ml:"auto",...l})}),d=(null==i?void 0:i.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsx)(s5,{data:i.items,top:l.isVisible?72:0,isLoading:r})}),(0,t.jsx)(P.w,{below:"lg",ssr:!1,children:i.items.map((e,a)=&gt;(0,t.jsx)(s1,{...e,isLoading:r},e.token.address+(r?a:"")))})]}):null;return(0,t.jsx)(J.A,{isError:n,items:null==i?void 0:i.items,emptyText:"There are no tokens of selected type.",content:d,actionBar:o})},s8=n.memo(e=&gt;{let{name:a,icon:s,value:n,valueSecondary:r,isLoading:o}=e,c=(0,i.dU)("blackAlpha.50","whiteAlpha.50");return(0,t.jsxs)(d.az,{px:"12px",py:"10px",bgColor:c,borderRadius:"base",children:[(0,t.jsx)(ee.E,{variant:"secondary",fontSize:"xs",fontWeight:500,mb:1,children:a}),(0,t.jsxs)(l.s,{alignItems:"center",children:[s,(0,t.jsxs)(V.A,{isLoaded:!o,fontWeight:"500",whiteSpace:"pre-wrap",wordBreak:"break-word",display:"flex",ml:2,children:[n,!!r&amp;&amp;(0,t.jsxs)(ee.E,{color:"text_secondary",children:[" (",r,")"]})]})]})]})}),s4=()=&gt;{var e;let a=null===(e=(0,c.useRouter)().query.hash)||void 0===e?void 0:e.toString(),s=(0,x.A)("address",{pathParams:{hash:a},queryOptions:{enabled:!!a,refetchOnMount:!1}}),n=al({hash:a});if(s.isError||n.isError)return(0,t.jsx)(eM.A,{});let r=s.data,{valueStr:i,usdBn:o}=(0,e6.A)({value:(null==r?void 0:r.coin_balance)||"0",accuracy:8,accuracyUsd:2,exchangeRate:null==r?void 0:r.exchange_rate,decimals:String(h.A.chain.currency.decimals)}),d=an(n.data),u=d.isOverflow?"&gt;":"",m=o.plus(d.usd),p=d.num&gt;0?"".concat(u).concat(d.num," ").concat(d.num&gt;1?"tokens":"token"):"0";return(0,t.jsxs)(l.s,{columnGap:3,rowGap:3,mt:{base:"6px",lg:0},flexDirection:{base:"column",lg:"row"},children:[(0,t.jsx)(s8,{name:"Net Worth",value:(null==r?void 0:r.exchange_rate)?"".concat(u,"$").concat(m.toFormat(2)):"N/A",isLoading:s.isPending||n.isPending,icon:(0,t.jsx)(U.A,{name:"wallet",boxSize:"20px",flexShrink:0,color:"text_secondary"})}),(0,t.jsx)(s8,{name:"".concat(ec.T.ether," Balance"),value:"".concat(i," ").concat(ec.T.ether),valueSecondary:o.eq(eS.f2)?"":"$".concat(o.toFormat(2)),isLoading:s.isPending||n.isPending,icon:(0,t.jsx)(eY.A,{boxSize:"20px"})}),(0,t.jsx)(s8,{name:"Tokens",value:p,valueSecondary:"".concat(u,"$").concat(d.usd.toFormat(2)),isLoading:s.isPending||n.isPending,icon:(0,t.jsx)(U.A,{name:"tokens",boxSize:"20px",flexShrink:0,color:"text_secondary"})})]})},s3={mt:1,mb:{base:6,lg:1},py:5,columnGap:3},s7={my:8,columnGap:3},s9=sO.A.bind(null,aW.ns),te=e=&gt;{var a,s;let r,{shouldRender:i=!0,isQueryEnabled:l=!0}=e,u=(0,c.useRouter)(),m=(0,aw.A)(),x=(0,N.A)(),g=n.useRef(null),j=sB.Jt(sB.Xk.ADDRESS_NFT_DISPLAY_TYPE,(0,p.U)().cookies),[b,v]=n.useState("list"===j?"list":"collection"),[f,A]=n.useState(s9(u.query.type)||[]),y=(0,_.A)(u.query.tab),w=(0,_.A)(u.query.hash),k=(0,Z.A)({resourceName:"address_tokens",pathParams:{hash:w},filters:{type:"ERC-20"},scrollRef:g,options:{enabled:l&amp;&amp;(!y||"tokens"===y||"tokens_erc20"===y),refetchOnMount:!1,placeholderData:(0,B.k)(S.y8,10,{next_page_params:null})}}),L=(0,Z.A)({resourceName:"address_collections",pathParams:{hash:w},scrollRef:g,options:{enabled:l&amp;&amp;"tokens_nfts"===y&amp;&amp;"collection"===b,placeholderData:(0,B.k)(S.U3,10,{next_page_params:null})},filters:{type:f}}),C=(0,Z.A)({resourceName:"address_nfts",pathParams:{hash:w},scrollRef:g,options:{enabled:l&amp;&amp;"tokens_nfts"===y&amp;&amp;"list"===b,placeholderData:(0,B.k)(S.f3,10,{next_page_params:null})},filters:{type:f}}),T=n.useCallback(e=&gt;{sB.hZ(sB.Xk.ADDRESS_NFT_DISPLAY_TYPE,e),v(e)},[]),E=n.useCallback(e=&gt;{C.onFilterChange({type:e}),L.onFilterChange({type:e}),A(e)},[C,L]);if(!x||!i)return null;let D=(0,t.jsx)(sV.A,{contentProps:{w:"200px"},appliedFiltersNum:null==f?void 0:f.length,children:(0,t.jsx)(sU.A,{nftOnly:!0,onChange:E,defaultValue:f})}),P=!!(null==f?void 0:f.length),R=[{id:"tokens_erc20",title:"".concat(h.A.chain.tokenStandard,"-20"),component:(0,t.jsx)(s6,{tokensQuery:k})},{id:"tokens_nfts",title:"NFTs",component:"list"===b?(0,t.jsx)(sY,{tokensQuery:C,hasActiveFilters:P}):(0,t.jsx)(sZ,{collectionsQuery:L,address:w,hasActiveFilters:P})}],F=(0,t.jsx)(sG.A,{onChange:T,defaultValue:b,name:"type",options:[{title:"By collection",value:"collection",icon:"collection",onlyIcon:m},{title:"List",value:"list",icon:"apps",onlyIcon:m}]});r="tokens_nfts"===y?"list"===b?C.pagination:L.pagination:k.pagination;let I=!C.isPlaceholderData&amp;&amp;(null===(a=C.data)||void 0===a?void 0:a.items.length)||!L.isPlaceholderData&amp;&amp;(null===(s=L.data)||void 0===s?void 0:s.items.length),z="tokens"!==y&amp;&amp;"tokens_erc20"!==y,W=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.z,{spacing:3,children:[z&amp;&amp;(I||P)&amp;&amp;F,z&amp;&amp;(I||P)&amp;&amp;D]}),r.isVisible&amp;&amp;!m&amp;&amp;(0,t.jsx)(K.A,{...r})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s4,{}),(0,t.jsx)(d.az,{ref:g}),(0,t.jsx)(sM.A,{tabs:R,variant:"outline",colorScheme:"gray",size:"sm",tabListProps:m?s7:s3,rightSlot:W,rightSlotProps:"tokens_erc20"===y||m?{}:{flexGrow:1,display:"flex",justifyContent:"space-between",ml:8},stickyEnabled:!m})]})};var ta=s(72012),ts=s(28196),tt=s(92485),tn=s(61292),tr=s(10555);let ti=sO.A.bind(null,aW.sc),tl=W.A.bind(null,a8.E),to=(e,a,s)=&gt;(!e.filter||("from"!==e.filter||a.from.hash===s)&amp;&amp;("to"!==e.filter||a.to.hash===s))&amp;&amp;(!e.type||!e.type.length||!!a.token&amp;&amp;!!e.type.includes(a.token.type)),td=e=&gt;{var a;let{scrollRef:s,overloadCount:r=75,shouldRender:i=!0,isQueryEnabled:o=!0}=e,d=(0,c.useRouter)(),h=(0,ed.jE)(),u=(0,aw.A)(),m=(0,N.A)(),p=(0,_.A)(d.query.hash),[g,j]=n.useState(""),[b,v]=n.useState(0),f=(0,_.A)(d.query.token)||void 0,[A,y]=n.useState({type:ti(d.query.type)||[],filter:tl(d.query.filter)}),{isError:L,isPlaceholderData:C,data:T,pagination:S,onFilterChange:E}=(0,Z.A)({resourceName:"address_token_transfers",pathParams:{hash:p},filters:f?{token:f}:A,scrollRef:s,options:{enabled:o,placeholderData:(0,ta.OS)(void 0,{block_number:7793535,index:46,items_count:50})}}),R=n.useCallback(e=&gt;{E({...A,type:e}),y(a=&gt;({...a,type:e}))},[A,E]),F=n.useCallback(e=&gt;{let a=tl(e);E({...A,filter:a}),y(e=&gt;({...e,filter:a}))},[A,E]),I=n.useCallback(()=&gt;{E({})},[E]),z=n.useCallback(()=&gt;{j("Connection is lost. Please refresh the page to load new token transfers.")},[]),W=n.useCallback(()=&gt;{j("An error has occurred while fetching new token transfers. Please refresh the page.")},[]),q=(0,w.A)({topic:"addresses:".concat(p.toLowerCase()),onSocketClose:z,onSocketError:W,isDisabled:1!==S.page||!!f});(0,k.A)({channel:q,event:"token_transfer",handler:e=&gt;{j("");let a=[],s=0;e.token_transfers.forEach(e=&gt;{(null==T?void 0:T.items)&amp;&amp;T.items.length+a.length&gt;=r?to(A,e,p)&amp;&amp;s++:to(A,e,p)&amp;&amp;a.push(e)}),s&gt;0&amp;&amp;v(e=&gt;e+s),a.length&gt;0&amp;&amp;h.setQueryData((0,x.y)("address_token_transfers",{pathParams:{hash:p},queryParams:{...A}}),e=&gt;{if(e)return{...e,items:[...a,...e.items]}})}});let B=n.useMemo(()=&gt;({address:f||"",name:"",icon_url:"",symbol:"",type:"ERC-20"}),[f]);if(!m||!i)return null;let O=((null===(a=A.type)||void 0===a?void 0:a.length)||0)+(A.filter?1:0),V=!f&amp;&amp;!O&amp;&amp;!(null==T?void 0:T.items.length)&amp;&amp;!p,U=(null==T?void 0:T.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsx)(tr.A,{data:null==T?void 0:T.items,baseAddress:p,showTxInfo:!0,top:V?0:Q.i$,enableTimeIncrement:!0,showSocketInfo:1===S.page&amp;&amp;!f,socketInfoAlert:g,socketInfoNum:b,isLoading:C})}),(0,t.jsxs)(P.w,{below:"lg",ssr:!1,children:[1===S.page&amp;&amp;!f&amp;&amp;(0,t.jsx)(eu.fq,{url:window.location.href,num:b,alert:g,type:"token_transfer",isLoading:C}),(0,t.jsx)(tn.A,{data:null==T?void 0:T.items,baseAddress:p,showTxInfo:!0,enableTimeIncrement:!0,isLoading:C})]})]}):null,G=f&amp;&amp;(0,t.jsxs)(l.s,{alignItems:"center",flexWrap:"wrap",mb:{base:V?3:6,lg:0},mr:4,children:[(0,t.jsx)(ee.E,{whiteSpace:"nowrap",mr:2,py:1,children:"Filtered by token"}),(0,t.jsxs)(l.s,{alignItems:"center",py:1,children:[(0,t.jsx)(e2.In,{token:B,isLoading:C}),u?(0,t.jsx)(sF.A,{hash:f}):f,(0,t.jsx)(ts.A,{onClick:I})]})]}),M=(0,t.jsxs)(t.Fragment,{children:[u&amp;&amp;G,!V&amp;&amp;(0,t.jsxs)(Q.Ay,{mt:-6,children:[!u&amp;&amp;G,!f&amp;&amp;(0,t.jsx)(tt.A,{defaultTypeFilters:A.type,onTypeFilterChange:R,appliedFiltersNum:O,withAddressFilter:!0,onAddressFilterChange:F,defaultAddressFilter:A.filter,isLoading:C}),p&amp;&amp;(0,t.jsx)(a1.A,{address:p,params:{type:"token-transfers",filterType:"address",filterValue:A.filter},ml:{base:2,lg:"auto"},isLoading:C}),(0,t.jsx)(K.A,{ml:{base:"auto",lg:8},...S})]})]});return(0,t.jsx)(J.A,{isError:L,items:null==T?void 0:T.items,emptyText:"There are no token transfers.",filterProps:{emptyFilteredText:"Couldn".concat(aP.wA,"t find any token transfer that matches your query."),hasActiveFilters:!!O},content:U,actionBar:M})};var tc=s(67677),th=s(32060),tu=s(48712),tm=s(66025),tx=s(99416);let tp=e=&gt;{var a;let{filter:s,filterValue:r,query:i,showBlockInfo:l=!0,showSocketInfo:o=!0,socketInfoAlert:d,socketInfoNum:c,currentAddress:h,enableTimeIncrement:u,top:m,sorting:x,setSort:p}=e,g=n.useCallback(e=&gt;{p(e),i.onSortingChange((0,th.A)(e))},[p,i]);return(0,t.jsx)(tx.A,{filter:s,filterValue:r,showBlockInfo:l,showSocketInfo:o,socketInfoAlert:d,socketInfoNum:c,currentAddress:h,enableTimeIncrement:u,top:m,items:null===(a=i.data)||void 0===a?void 0:a.items,isPlaceholderData:i.isPlaceholderData,isError:i.isError,setSorting:g,sort:x,query:i})};var tg=s(27278);let tj=W.A.bind(null,a8.E),tb=(e,a,s)=&gt;{if(!e)return!0;if("from"===e)return a.from.hash===s;if("to"===e){var t;return(null===(t=a.to)||void 0===t?void 0:t.hash)===s}},tv=e=&gt;{let{scrollRef:a,overloadCount:s=75,shouldRender:r=!0,isQueryEnabled:i=!0}=e,l=(0,c.useRouter)(),o=(0,ed.jE)(),d=(0,N.A)(),[h,u]=n.useState(""),[m,p]=n.useState(0),[g,j]=n.useState((0,tu.A)(l.query,tg.Q)),b=(0,aw.A)(),v=(0,_.A)(l.query.hash),[f,A]=n.useState(tj(l.query.filter)),y=(0,Z.A)({resourceName:"address_txs",pathParams:{hash:v},filters:{filter:f},sorting:(0,th.A)(g),scrollRef:a,options:{enabled:i,placeholderData:(0,B.k)(tc.TX,50,{next_page_params:{block_number:9005713,index:5,items_count:50}})}}),L=n.useCallback(e=&gt;{let a=tj(e);A(a),y.onFilterChange({filter:a})},[y]),C=n.useCallback(e=&gt;{u(""),o.setQueryData((0,x.y)("address_txs",{pathParams:{hash:v},queryParams:{filter:f}}),a=&gt;{if(!a)return;let t=[],n=0;return e.transactions.forEach(e=&gt;{let r=a.items.findIndex(a=&gt;a.hash===e.hash);r&gt;-1?a.items[r]=e:tb(f,e,v)&amp;&amp;(t.length+a.items.length&gt;=s?n++:t.push(e))}),n&gt;0&amp;&amp;p(e=&gt;e+n),{...a,items:[...t,...a.items].sort((0,tm.H)(g))}})},[v,f,s,o,g]),T=n.useCallback(()=&gt;{u("Connection is lost. Please refresh the page to load new transactions.")},[]),S=n.useCallback(()=&gt;{u("An error has occurred while fetching new transactions. Please refresh the page.")},[]),E=(0,w.A)({topic:"addresses:".concat(null==v?void 0:v.toLowerCase()),onSocketClose:T,onSocketError:S,isDisabled:1!==y.pagination.page||y.isPlaceholderData});if((0,k.A)({channel:E,event:"transaction",handler:C}),(0,k.A)({channel:E,event:"pending_transaction",handler:C}),!d||!r)return null;let D=(0,t.jsx)(se,{defaultFilter:f,onFilterChange:L,hasActiveFilter:!!f,isLoading:y.pagination.isLoading}),P=(0,t.jsx)(a1.A,{address:v,params:{type:"transactions",filterType:"address",filterValue:f},ml:"auto",isLoading:y.pagination.isLoading});return(0,t.jsxs)(t.Fragment,{children:[!b&amp;&amp;(0,t.jsxs)(Q.Ay,{mt:-6,children:[D,v&amp;&amp;P,(0,t.jsx)(K.A,{...y.pagination,ml:8})]}),(0,t.jsx)(tp,{filter:D,filterValue:f,query:y,currentAddress:"string"==typeof v?v:void 0,enableTimeIncrement:!0,showSocketInfo:1===y.pagination.page,socketInfoAlert:h,socketInfoNum:m,top:Q.i$,sorting:g,setSort:j})]})};var tf=s(81293);let tA=e=&gt;{let{scrollRef:a,shouldRender:s=!0,isQueryEnabled:n=!0}=e,r=(0,c.useRouter)(),i=(0,N.A)(),l=(0,_.A)(r.query.hash),o=(0,Z.A)({resourceName:"user_ops",scrollRef:a,options:{enabled:n&amp;&amp;!!l,placeholderData:(0,B.k)(E.ZG,50,{next_page_params:{page_token:"10355938,0x5956a847d8089e254e02e5111cad6992b99ceb9e5c2dc4343fd53002834c4dc6",page_size:50}})},filters:{sender:l}});return i&amp;&amp;s?(0,t.jsx)(tf.A,{query:o,showSender:!1}):null};var ty=s(20253),t_=s(50805),tw=s(29177);let tk=e=&gt;{let{scrollRef:a,shouldRender:s=!0,isQueryEnabled:n=!0}=e,r=(0,c.useRouter)(),i=(0,N.A)(),l=(0,_.A)(r.query.hash),{data:o,isPlaceholderData:d,isError:h,pagination:u}=(0,Z.A)({resourceName:"address_withdrawals",pathParams:{hash:l},scrollRef:a,options:{enabled:n,placeholderData:(0,B.k)(ty.o,50,{next_page_params:{index:5,items_count:50}})}});if(!i||!s)return null;let m=(null==o?void 0:o.items)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.w,{below:"lg",ssr:!1,children:o.items.map((e,a)=&gt;(0,t.jsx)(t_.A,{item:e,view:"address",isLoading:d},e.index+Number(d?a:"")))}),(0,t.jsx)(D.L,{below:"lg",ssr:!1,children:(0,t.jsx)(tw.A,{items:o.items,view:"address",top:u.isVisible?Q.i$:0,isLoading:d})})]}):null,x=u.isVisible?(0,t.jsx)(Q.Ay,{mt:-6,children:(0,t.jsx)(K.A,{ml:"auto",...u})}):null;return(0,t.jsx)(J.A,{isError:h,items:null==o?void 0:o.items,emptyText:"There are no withdrawals for this address.",content:m,actionBar:x})};var tL=s(47375),tC=s(86561),tT=s(72409),tS=s(87337),tE=s(59243),tD=s(17802);let tP=(0,ey.B)(e=&gt;{let{className:a,hash:s,watchListId:r}=e,i=(0,aL.j)(),l=(0,aL.j)(),o=(0,ed.jE)(),d=(0,c.useRouter)(),u=(0,tT.A)(),m=n.useCallback(()=&gt;{r?l.onOpen():i.onOpen(),r||e8.$s(e8.wf.PAGE_WIDGET,{Type:"Add to watchlist"})},[r,l,i]),p=n.useCallback(async()=&gt;{var e;let a=(0,x.y)("address",{pathParams:{hash:null===(e=d.query.hash)||void 0===e?void 0:e.toString()}});await o.refetchQueries({queryKey:a}),i.onClose()},[i,o,d.query.hash]),g=n.useCallback(()=&gt;{i.onClose()},[i]),j=n.useCallback(()=&gt;{l.onClose()},[l]),b=n.useMemo(()=&gt;"number"!=typeof r?{address_hash:s}:{address_hash:s,id:r},[s,r]);return h.A.features.account.isEnabled?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tS.A,{onAuthSuccess:m,children:e=&gt;{let{onClick:s}=e;return(0,t.jsx)(ad.m,{label:"".concat(r?"Remove address from Watch list":"Add address to Watch list"),children:(0,t.jsx)(aA.K,{isActive:!!r,className:a,"aria-label":"edit",variant:"outline",size:"sm",pl:"6px",pr:"6px",flexShrink:0,onClick:s,icon:(0,t.jsx)(U.A,{name:r?"star_filled":"star_outline",boxSize:5}),onFocusCapture:u})})}}),(0,t.jsx)(tE.A,{...i,isAdd:!0,onClose:g,onSuccess:p,data:b}),b.id&amp;&amp;(0,t.jsx)(tD.A,{...l,onClose:j,data:b,onSuccess:p})]}):null});var tR=s(44401),tF=s(23126),tI=s(41319),tz=s(70836),tW=s(8744);let tN=e=&gt;{let{data:a}=e;return(0,t.jsx)(ez.x,{templateColumns:{base:"repeat(".concat((0,tI.q)(a.length,1,2),", 1fr)"),lg:"repeat(".concat((0,tI.q)(a.length,1,3),", 1fr)")},columnGap:8,rowGap:4,mt:2,children:a.slice(0,9).map(e=&gt;(0,t.jsx)(tz.Ay,{domain:e.name,protocol:e.protocol,noCopy:!0},e.id))})},tq=n.memo(e=&gt;{let{query:a,addressHash:s,mainDomainName:n}=e,{isOpen:r,onToggle:i,onClose:o}=(0,aL.j)(),{data:c,isPending:h,isError:u}=a;if(u)return null;if(h)return(0,t.jsx)(V.A,{h:8,w:{base:"50px",xl:"120px"},borderRadius:"base"});if(0===c.items.length)return null;let m=c.items.find(e=&gt;n&amp;&amp;e.name===n),x=c.items.filter(e=&gt;{var a;return(!n||e.name!==n)&amp;&amp;(!e.resolved_address||e.resolved_address.hash.toLowerCase()!==s.toLowerCase())&amp;&amp;(!!e.owner&amp;&amp;e.owner.hash.toLowerCase()===s.toLowerCase()||(null===(a=e.wrapped_owner)||void 0===a?void 0:a.hash.toLowerCase())===s.toLowerCase()&amp;&amp;(!e.resolved_address||e.resolved_address.hash.toLowerCase()!==s.toLowerCase()))}),p=c.items.filter(e=&gt;e.resolved_address&amp;&amp;e.resolved_address.hash.toLowerCase()===s.toLowerCase()&amp;&amp;e.name!==n),g=c.items.length&gt;40?"40+":c.items.length;return(0,t.jsxs)(aE.A,{isOpen:r,onClose:o,placement:"bottom-start",isLazy:!0,children:[(0,t.jsx)(aC.W,{children:(0,t.jsx)(tW.A,{label:"List of names resolved or owned by this address",children:(0,t.jsxs)(aD.$,{size:"sm",variant:"outline",colorScheme:"gray",onClick:i,isActive:r,"aria-label":"Address domains",fontWeight:500,px:2,h:"32px",flexShrink:0,children:[(0,t.jsx)(U.A,{name:"ENS_slim",boxSize:5}),(0,t.jsx)(P.w,{above:"xl",children:(0,t.jsxs)(ey.B.span,{ml:1,children:[g," Domain",c.items.length&gt;1?"s":""]})}),(0,t.jsx)(D.L,{above:"xl",children:(0,t.jsx)(ey.B.span,{ml:1,children:g})})]})})}),(0,t.jsx)(aT.h,{w:{base:"100vw",lg:"500px"},children:(0,t.jsxs)(aS.e,{px:6,py:5,fontSize:"sm",display:"flex",flexDir:"column",rowGap:5,alignItems:"flex-start",children:[m&amp;&amp;(0,t.jsxs)(d.az,{w:"100%",children:[(0,t.jsx)(ey.B.span,{color:"text_secondary",fontSize:"xs",children:"Primary*"}),(0,t.jsxs)(l.s,{alignItems:"center",fontSize:"md",mt:2,children:[(0,t.jsx)(tz.Ay,{domain:m.name,protocol:m.protocol,fontWeight:600,noCopy:!0}),m.expiry_date&amp;&amp;(0,t.jsxs)(ey.B.span,{color:"text_secondary",whiteSpace:"pre",children:[" (expires ",(0,sh.A)(m.expiry_date).fromNow(),")"]})]})]}),x.length&gt;0&amp;&amp;(0,t.jsxs)("div",{children:[(0,t.jsx)(ey.B.span,{color:"text_secondary",fontSize:"xs",children:"Owned by this address"}),(0,t.jsx)(tN,{data:x})]}),p.length&gt;0&amp;&amp;(0,t.jsxs)("div",{children:[(0,t.jsx)(ey.B.span,{color:"text_secondary",fontSize:"xs",children:"Resolved to this address"}),(0,t.jsx)(tN,{data:p})]}),(x.length&gt;9||p.length&gt;9)&amp;&amp;(0,t.jsxs)(G.A,{href:(0,eq.w)({pathname:"/name-domains",query:{owned_by:"true",resolved_to:"true",address:s}}),children:[(0,t.jsx)("span",{children:" More results"}),(0,t.jsxs)(ey.B.span,{color:"text_secondary",children:[" (",g,")"]})]}),m&amp;&amp;(0,t.jsx)(ey.B.span,{fontSize:"xs",mt:-1,children:"*A domain name is not necessarily held by a person popularly associated with the name"})]})})]})});var tB=s(93809),tO=s(80863),tV=s(55067);let tU=j.Ikc({critical:j.aig(),gas:j.aig(),high:j.aig(),informational:j.aig(),low:j.aig(),medium:j.aig()}),tG=j.Ikc({scan_report:j.Ikc({contractname:j.YjP(),scan_status:j.YjP(),scan_summary:j.Ikc({score_v2:j.YjP(),issue_severity_distribution:tU}),scanner_reference_url:j.YjP()})}),tM="contract_solidity_scan_report",tH="Invalid response schema";var t$=s(25349),tQ=s(19199),tJ=s(21671);let tX=n.memo(e=&gt;{let{hash:a}=e,{isOpen:s,onToggle:r,onClose:i}=(0,aL.j)(),{data:l,isPlaceholderData:o,isError:c}=function(e){let{hash:a}=e,s=(0,x.A)(tM,{pathParams:{hash:a},queryOptions:{select:e=&gt;{let a=j.xLC(tG,e);if(!a.success)throw Error(tH);return a.output},enabled:!!a,placeholderData:tV.BD,retry:0}}),t=s.error&amp;&amp;"message"in s.error?s.error.message:void 0;return n.useEffect(()=&gt;{t===tH&amp;&amp;fetch("/node-api/monitoring/invalid-api-schema",{method:"POST",body:JSON.stringify({resource:tM,url:(0,L.A)(tM,{hash:a},void 0,!0)})})},[t,a]),s}({hash:a});if(c||!l)return null;let h=Number(l.scan_report.scan_summary.score_v2);if(!h)return null;let u=l.scan_report.scan_summary.issue_severity_distribution,m=(u?Object.values(u):[]).reduce((e,a)=&gt;e+a,0);return(0,t.jsxs)(aE.A,{isOpen:s,onClose:i,placement:"bottom-start",isLazy:!0,children:[(0,t.jsx)(aC.W,{children:(0,t.jsx)(t$.A,{score:h,isLoading:o,onClick:r,isActive:s})}),(0,t.jsx)(aT.h,{w:{base:"100vw",lg:"328px"},children:(0,t.jsxs)(aS.e,{px:"26px",py:"20px",fontSize:"sm",children:[(0,t.jsxs)(d.az,{mb:5,lineHeight:"25px",children:["Contract analyzed for 240+ vulnerability patterns by",(0,t.jsx)(tB.I,{as:tO.A,mr:1,ml:"6px",w:"23px",h:"20px",display:"inline-block",verticalAlign:"middle"}),(0,t.jsx)(ee.E,{fontWeight:600,display:"inline-block",children:"SolidityScan"})]}),(0,t.jsx)(tJ.A,{score:h,mb:5}),u&amp;&amp;m&gt;0&amp;&amp;(0,t.jsxs)(d.az,{mb:5,children:[(0,t.jsx)(ee.E,{py:"7px",variant:"secondary",fontSize:"xs",fontWeight:500,children:"Vulnerabilities distribution"}),(0,t.jsx)(tQ.A,{vulnerabilities:u,vulnerabilitiesCount:m})]}),(0,t.jsx)(ah.A,{href:l.scan_report.scanner_reference_url,children:"View full report"})]})})]})}),tK=/.\../;var tZ=s(59625),tY=s(93825),t0=s(41489),t1=s(4620),t2=s(49551),t5=s(34486),t6=s(56221);let t8=["tokens_erc20","tokens_nfts","tokens_nfts_collection","tokens_nfts_list"],t4=h.A.features.txInterpretation,t3=h.A.features.addressProfileAPI,t7=h.A.features.xStarScore,t9=()=&gt;{var e,a,s,r,D,P,R,F,I,z,W,N,q,B,O,V,G,M,H,$,Q,J,X;let K=(0,c.useRouter)(),Z=(0,p.U)(),Y=n.useRef(null),ee=(0,_.A)(K.query.hash),ea=function(e){let a=(0,c.useRouter)(),s=tK.test(e),t=h.A.features.nameService.isEnabled&amp;&amp;s,[r,i]=n.useState(t),l=(0,x.A)("domains_lookup",{pathParams:{chainId:h.A.chain.id},queryParams:{name:e,only_active:!1},queryOptions:{enabled:t}});return n.useEffect(()=&gt;{var e,s,t;if(l.isPending)return;let n=null===(t=l.data)||void 0===t?void 0:null===(s=t.items[0])||void 0===s?void 0:null===(e=s.resolved_address)||void 0===e?void 0:e.hash;n?a.replace({pathname:"/address/[hash]",query:{hash:n}}):i(!1)},[l.isPending,l.data,a]),n.useEffect(()=&gt;{s||i(!1)},[s]),r}(ee),es=function(e){let a=(0,c.useRouter)(),s=h.A.UI.views.address.hashFormat.availableFormats.includes("bech32")&amp;&amp;(0,eJ.Ec)(e),[t,r]=n.useState(s);return n.useEffect(()=&gt;{if(!t)return;let s=(0,eJ.Mg)(e);s!==e?a.replace({pathname:"/address/[hash]",query:{...a.query,hash:s}}):r(!1)},[e,t,a]),t}(ee),et=!ea&amp;&amp;!es,en=sl({hash:ee,isEnabled:et}),er=(0,x.A)("address_tabs_counters",{pathParams:{hash:ee},queryOptions:{enabled:et&amp;&amp;!!ee,placeholderData:S.au}}),ei=(0,x.A)("user_ops_account",{pathParams:{hash:ee},queryOptions:{enabled:et&amp;&amp;!!ee&amp;&amp;h.A.features.userOps.isEnabled,placeholderData:E.DJ}}),el=(0,x.A)("address_mud_tables_count",{pathParams:{hash:ee},queryOptions:{enabled:h.A.features.mudFramework.isEnabled&amp;&amp;et&amp;&amp;!!ee,placeholderData:10}}),ed=n.useMemo(()=&gt;[ee].filter(Boolean),[ee]),ec=(0,m.A)(ed,et),eh=function(e){let a=!(arguments.length&gt;1)||void 0===arguments[1]||arguments[1],s=(0,b.A)();return(0,g.I)({queryKey:["username_api",e],queryFn:async()=&gt;v.isEnabled&amp;&amp;e?s(v.apiUrlTemplate.replace("{address}",e)):Promise.reject(),enabled:a&amp;&amp;!!e,refetchOnMount:!1,select:e=&gt;{let a=j.xLC(f,e);if(!a.success)throw Error("Invalid response schema");return a.output}})}(ee,t3.isEnabled&amp;&amp;et),eu=(0,x.A)("addresses_lookup",{pathParams:{chainId:h.A.chain.id},queryParams:{address:ee,resolved_to:!0,owned_by:!0,only_active:!0,order:"ASC"},queryOptions:{enabled:!!ee&amp;&amp;h.A.features.nameService.isEnabled}}),em=en.isPlaceholderData?void 0:null===(e=eu.data)||void 0===e?void 0:e.items.find(e=&gt;{var a;return e.name===(null===(a=en.data)||void 0===a?void 0:a.ens_domain_name)}),ex=en.isPlaceholderData,ep=ex||er.isPlaceholderData||h.A.features.userOps.isEnabled&amp;&amp;ei.isPlaceholderData||h.A.features.mudFramework.isEnabled&amp;&amp;el.isPlaceholderData,eg=n.useCallback(()=&gt;{en.refetch()},[en]),ej=(0,w.A)({topic:"addresses:".concat(null==ee?void 0:ee.toLowerCase()),isDisabled:ep||en.isDegradedData||!!(null===(a=en.data)||void 0===a?void 0:a.is_contract)});(0,k.A)({channel:ej,event:"fetched_bytecode",handler:eg});let eb=function(e){let a=(0,b.A)(),{data:s}=(0,g.I)({queryKey:["safe_transaction_api",e],queryFn:async()=&gt;A.isEnabled&amp;&amp;e?a("".concat(A.apiUrl,"/").concat(e)):Promise.reject(),enabled:A.isEnabled&amp;&amp;!!e,refetchOnMount:!1});return!!s}(!en.isPlaceholderData&amp;&amp;(null===(s=en.data)||void 0===s?void 0:s.is_contract)?ee:void 0),ef=(0,i.dU)("black","white"),eA=function(e){let{hash:a}=e,s=(0,x.A)(C,{pathParams:{hash:a},queryOptions:{select:e=&gt;{let a=j.xLC(j.Ikc({data:j.Ikc({level:j.mee(j.YjP())})}),e);if(!a.success)throw Error(T);return a.output},enabled:!!a&amp;&amp;h.A.features.xStarScore.isEnabled,placeholderData:{data:{level:"Base"}},retry:0}}),t=s.error&amp;&amp;"message"in s.error?s.error.message:void 0;return n.useEffect(()=&gt;{t===T&amp;&amp;fetch("/node-api/monitoring/invalid-api-schema",{method:"POST",body:JSON.stringify({resource:C,url:(0,L.A)(C,{hash:a},void 0,!0)})})},[t,a]),s}({hash:ee}),ey=(0,tL.A)(en.data,h.A.features.mudFramework.isEnabled&amp;&amp;el.isPlaceholderData||en.isPlaceholderData,!!(h.A.features.mudFramework.isEnabled&amp;&amp;el.data&amp;&amp;el.data&gt;0)),e_=n.useMemo(()=&gt;{var e,a,s,n,r,i,l,o,d,c,u,m,x,p,g;return[h.A.features.mudFramework.isEnabled&amp;&amp;el.data&amp;&amp;el.data&gt;0&amp;&amp;{id:"mud",title:"MUD",count:el.data,component:(0,t.jsx)(sq,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})},{id:"txs",title:"Transactions",count:null===(e=er.data)||void 0===e?void 0:e.transactions_count,component:(0,t.jsx)(tv,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})},t4.isEnabled&amp;&amp;"noves"===t4.provider?{id:"account_history",title:"Account history",component:(0,t.jsx)(eo,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})}:void 0,h.A.features.userOps.isEnabled&amp;&amp;(null===(a=ei.data)||void 0===a?void 0:a.total_ops)?{id:"user_ops",title:"User operations",count:null===(s=ei.data)||void 0===s?void 0:s.total_ops,component:(0,t.jsx)(tA,{shouldRender:!ep,isQueryEnabled:et})}:void 0,h.A.features.beaconChain.isEnabled&amp;&amp;(null===(n=er.data)||void 0===n?void 0:n.withdrawals_count)?{id:"withdrawals",title:"Withdrawals",count:null===(r=er.data)||void 0===r?void 0:r.withdrawals_count,component:(0,t.jsx)(tk,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})}:void 0,{id:"token_transfers",title:"Token transfers",count:null===(i=er.data)||void 0===i?void 0:i.token_transfers_count,component:(0,t.jsx)(td,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})},{id:"tokens",title:"Tokens",count:null===(l=er.data)||void 0===l?void 0:l.token_balances_count,component:(0,t.jsx)(te,{shouldRender:!ep,isQueryEnabled:et}),subTabs:t8},{id:"internal_txns",title:"Internal txns",count:null===(o=er.data)||void 0===o?void 0:o.internal_transactions_count,component:(0,t.jsx)(ss,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})},(null===(d=er.data)||void 0===d?void 0:d.celo_election_rewards_count)?{id:"epoch_rewards",title:"Epoch rewards",count:null===(c=er.data)||void 0===c?void 0:c.celo_election_rewards_count,component:(0,t.jsx)(a6,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})}:void 0,{id:"coin_balance_history",title:"Coin balance history",component:(0,t.jsx)(eF,{shouldRender:!ep,isQueryEnabled:et})},(null===(u=er.data)||void 0===u?void 0:u.validations_count)?{id:"blocks_validated",title:"Blocks ".concat((0,y.A)()),count:null===(m=er.data)||void 0===m?void 0:m.validations_count,component:(0,t.jsx)(ev,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})}:void 0,(null===(x=er.data)||void 0===x?void 0:x.logs_count)?{id:"logs",title:"Logs",count:null===(p=er.data)||void 0===p?void 0:p.logs_count,component:(0,t.jsx)(so,{scrollRef:Y,shouldRender:!ep,isQueryEnabled:et})}:void 0,(null===(g=en.data)||void 0===g?void 0:g.is_contract)?{id:"contract",title:()=&gt;{let e="eip7702"===en.data.proxy_type?"Code":"Contract";return en.data.is_verified?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)(U.A,{name:"status/success",boxSize:"14px",color:"green.500",ml:1})]}):e},component:(0,t.jsx)(eI.A,{tabs:ey.tabs,shouldRender:!ep,isLoading:ey.isLoading}),subTabs:tC.a$}:void 0].filter(Boolean)},[en.data,ey,er.data,ei.data,ep,et,el.data]),ew=null===(D=eh.data)||void 0===D?void 0:null===(r=D.user_profile)||void 0===r?void 0:r.username,ek=n.useMemo(()=&gt;{var e,a,s,t,n,r,i,l,o,d,c,u,m,x,p,g;return[...(null===(a=en.data)||void 0===a?void 0:null===(e=a.public_tags)||void 0===e?void 0:e.map(e=&gt;({slug:e.label,name:e.display_name,tagType:"custom",ordinal:-1})))||[],(null===(s=en.data)||void 0===s?void 0:s.is_contract)?void 0:{slug:"eoa",name:"EOA",tagType:"custom",ordinal:100},h.A.features.validators.isEnabled&amp;&amp;(null===(t=en.data)||void 0===t?void 0:t.has_validated_blocks)?{slug:"validator",name:"Validator",tagType:"custom",ordinal:100}:void 0,(null===(r=en.data)||void 0===r?void 0:null===(n=r.implementations)||void 0===n?void 0:n.length)&amp;&amp;(null===(i=en.data)||void 0===i?void 0:i.proxy_type)!=="eip7702"?{slug:"proxy",name:"Proxy",tagType:"custom",ordinal:100}:void 0,(null===(o=en.data)||void 0===o?void 0:null===(l=o.implementations)||void 0===l?void 0:l.length)&amp;&amp;(null===(d=en.data)||void 0===d?void 0:d.proxy_type)==="eip7702"?{slug:"eip7702",name:"EOA+code",tagType:"custom",ordinal:100}:void 0,(null===(c=en.data)||void 0===c?void 0:c.token)?{slug:"token",name:"Token",tagType:"custom",ordinal:100}:void 0,eb?{slug:"safe",name:"Multisig: Safe",tagType:"custom",ordinal:-10}:void 0,t3.isEnabled&amp;&amp;ew?{slug:"username_api",name:ew,tagType:"custom",ordinal:11,meta:{tagIcon:t3.tagIcon,bgColor:t3.tagBgColor,textColor:t3.tagTextColor,tagUrl:t3.tagLinkTemplate?t3.tagLinkTemplate.replace("{username}",ew):void 0}}:void 0,h.A.features.userOps.isEnabled&amp;&amp;ei.data?{slug:"user_ops_acc",name:"Smart contract wallet",tagType:"custom",ordinal:100}:void 0,h.A.features.mudFramework.isEnabled&amp;&amp;el.data?{slug:"mud",name:"MUD World",tagType:"custom",ordinal:100}:void 0,...(0,t1.A)(en.data),...(null===(x=ec.data)||void 0===x?void 0:null===(m=x.addresses)||void 0===m?void 0:null===(u=m[ee.toLowerCase()])||void 0===u?void 0:u.tags.filter(e=&gt;"note"!==e.tagType))||[],!(null===(p=en.data)||void 0===p?void 0:p.is_contract)&amp;&amp;t7.isEnabled&amp;&amp;(null===(g=eA.data)||void 0===g?void 0:g.data.level)?{slug:"xstar",name:"XHS ".concat(eA.data.data.level," level"),tagType:"custom",ordinal:12,meta:{tooltipTitle:"XStar humanity levels",tooltipDescription:"XStar looks for off-chain information about an address and interpret it as a XHS score. Different score means different humanity levels.",tooltipUrl:t7.url}}:void 0].filter(Boolean).sort(t2.A)},[ec.data,en.data,ee,eb,ei.data,el.data,ew,null===(P=eA.data)||void 0===P?void 0:P.data]),eL=(0,t.jsx)(t0.A,{tags:ek,isLoading:ex||h.A.features.userOps.isEnabled&amp;&amp;ei.isPlaceholderData||h.A.features.addressMetadata.isEnabled&amp;&amp;ec.isPending||t3.isEnabled&amp;&amp;eh.isPending||t7.isEnabled&amp;&amp;eA.isPlaceholderData}),eC=en.isError||en.isDegradedData?null:(0,t.jsx)(sM.A,{tabs:e_,tabListProps:{mt:6},isLoading:ep}),eT=n.useMemo(()=&gt;Z.referrer&amp;&amp;Z.referrer.includes("/accounts")?{label:"Back to top accounts list",url:Z.referrer}:Z.referrer&amp;&amp;Z.referrer.includes("/mud-worlds")?{label:"Back to MUD worlds list",url:Z.referrer}:void 0,[Z.referrer]),eS=n.useMemo(()=&gt;{var e,a;return null!==(a=null===(e=en.data)||void 0===e?void 0:e.hash)&amp;&amp;void 0!==a?a:function(e){try{return(0,u.b)(e,h.A.chain.id?Number(h.A.chain.id):void 0)}catch(a){return e}}(ee)},[ee,null===(R=en.data)||void 0===R?void 0:R.hash]),eE=(0,t.jsxs)(l.s,{alignItems:"center",w:"100%",columnGap:2,rowGap:2,flexWrap:{base:"wrap",lg:"nowrap"},children:[(null===(F=en.data)||void 0===F?void 0:F.ens_domain_name)&amp;&amp;(0,t.jsx)(tz.Ay,{domain:null===(I=en.data)||void 0===I?void 0:I.ens_domain_name,protocol:eu.isPending?null:null==em?void 0:em.protocol,fontFamily:"heading",fontSize:"lg",fontWeight:500,mr:1,maxW:"300px"}),(0,t.jsx)(eQ.Ay,{address:{...en.data,hash:eS,name:"",ens_domain_name:"",implementations:null},isLoading:ex,fontFamily:"heading",fontSize:"lg",fontWeight:500,noLink:!0,isSafeAddress:eb,icon:{color:eb?ef:void 0},mr:4}),!ex&amp;&amp;(null===(z=en.data)||void 0===z?void 0:z.is_contract)&amp;&amp;en.data.token&amp;&amp;(0,t.jsx)(s0.A,{token:en.data.token,variant:"button"}),!ex&amp;&amp;!(null===(W=en.data)||void 0===W?void 0:W.is_contract)&amp;&amp;h.A.features.account.isEnabled&amp;&amp;(0,t.jsx)(tP,{hash:ee,watchListId:null===(N=en.data)||void 0===N?void 0:N.watchlist_address_id}),(0,t.jsx)(tF.A,{address:{hash:null!==(X=null===(B=en.data)||void 0===B?void 0:null===(q=B.filecoin)||void 0===q?void 0:q.robust)&amp;&amp;void 0!==X?X:eS},isLoading:ex}),(0,t.jsx)(tZ.A,{isLoading:ex}),(0,t.jsx)(o.z,{ml:"auto",gap:2}),!ex&amp;&amp;(null===(O=en.data)||void 0===O?void 0:O.is_contract)&amp;&amp;(null===(V=en.data)||void 0===V?void 0:V.is_verified)&amp;&amp;h.A.UI.views.address.solidityscanEnabled&amp;&amp;(0,t.jsx)(tX,{hash:ee}),!ex&amp;&amp;eu.data&amp;&amp;h.A.features.nameService.isEnabled&amp;&amp;(0,t.jsx)(tq,{query:eu,addressHash:ee,mainDomainName:null===(G=en.data)||void 0===G?void 0:G.ens_domain_name}),(0,t.jsx)(t5.A,{type:"address",pathParam:ee.toLowerCase()})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tY.A,{mb:6}),(0,t.jsx)(t6.A,{title:"".concat((null===(M=en.data)||void 0===M?void 0:M.is_contract)&amp;&amp;(null===(H=en.data)||void 0===H?void 0:H.proxy_type)!=="eip7702"?"Contract":"Address"," details"),backLink:eT,contentAfter:eL,secondRow:eE,isLoading:ex}),!ec.isPending&amp;&amp;(0,t.jsx)(tR.A,{tags:null===(J=ec.data)||void 0===J?void 0:null===(Q=J.addresses)||void 0===Q?void 0:null===($=Q[ee.toLowerCase()])||void 0===$?void 0:$.tags,mt:"-4px",mb:6}),h.A.features.metasuites.isEnabled&amp;&amp;(0,t.jsx)(d.az,{display:"none",id:"meta-suites__address","data-ready":!ex}),(0,t.jsx)(aK,{addressQuery:en,scrollRef:Y}),(0,t.jsx)(d.az,{ref:Y}),eC]})};var ne=!0;let na=e=&gt;(0,t.jsx)(r.A,{pathname:"/address/[hash]",query:e.query,apiData:e.apiData,children:(0,t.jsx)(t9,{})})},20253:(e,a,s)=&gt;{"use strict";s.d(a,{o:()=&gt;t});let t={amount:"12565723",index:3810697,receiver:s(11967).s,validator_index:25987,block_number:9005713,timestamp:"2023-05-12T19:29:12.000000Z"}},8094:(e,a,s)=&gt;{"use strict";s.d(a,{E:()=&gt;t});let t=["from","to"]},30702:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;f});var t=s(74848),n=s(62539);s(96540);var r=s(11692),i=s(46378),l=s(60346),o=s(57286),d=s(80980),c=s(93926),h=s(25366),u=s(83591),m=s(86032),x=s(21158),p=s(16075),g=s(37319),j=s(28208),b=s(72479);let v=e=&gt;{var a;let{type:s,from:n,to:v,value:f,success:A,error:y,created_contract:_,transaction_hash:w,block_number:k,timestamp:L,currentAddress:C,isLoading:T}=e,S=null===(a=b.F.find(e=&gt;{let{id:a}=e;return a===s}))||void 0===a?void 0:a.title;return(0,t.jsxs)(p.A,{rowGap:3,children:[(0,t.jsxs)(r.s,{columnGap:2,children:[S&amp;&amp;(0,t.jsx)(u.A,{colorScheme:"cyan",isLoading:T,children:S}),(0,t.jsx)(g.A,{status:A?"ok":"error",errorText:y,isLoading:T})]}),(0,t.jsxs)(r.s,{justifyContent:"space-between",width:"100%",children:[(0,t.jsx)(x.Ay,{hash:w,isLoading:T,fontWeight:700,truncation:"constant_long"}),(0,t.jsx)(j.A,{timestamp:L,isLoading:T,color:"text_secondary",fontWeight:"400",fontSize:"sm"})]}),(0,t.jsxs)(i.z,{spacing:1,children:[(0,t.jsx)(h.A,{isLoaded:!T,fontSize:"sm",fontWeight:500,children:"Block"}),(0,t.jsx)(m.Ay,{isLoading:T,number:k,noIcon:!0,fontSize:"sm",lineHeight:5})]}),(0,t.jsx)(c.A,{from:n,to:v||_,current:C,isLoading:T,w:"100%"}),(0,t.jsxs)(i.z,{spacing:3,children:[(0,t.jsxs)(h.A,{isLoaded:!T,fontSize:"sm",fontWeight:500,children:["Value ",d.T.ether]}),(0,t.jsx)(h.A,{isLoaded:!T,fontSize:"sm",color:"text_secondary",minW:6,children:(0,t.jsx)("span",{children:(0,l.A)(f).div((0,l.A)(10**o.A.chain.currency.decimals)).toFormat()})})]})]})},f=e=&gt;{let{data:a,currentAddress:s,isLoading:r}=e;return(0,t.jsx)(n.az,{children:a.map((e,a)=&gt;(0,t.jsx)(v,{...e,currentAddress:s,isLoading:r},e.transaction_hash+"_"+a))})}},62118:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;L});var t=s(74848),n=s(88993),r=s(22629),i=s(36671),l=s(10875),o=s(96540),d=s(17874),c=s(80980),h=s(27693),u=s(97324),m=s(11692),x=s(62539),p=s(60346),g=s(57286),j=s(93926),b=s(25366),v=s(83591),f=s(86032),A=s(21158),y=s(37319),_=s(28208),w=s(72479);let k=o.memo(e=&gt;{var a;let{type:s,from:n,to:i,value:l,success:o,error:d,created_contract:c,transaction_hash:h,block_number:k,timestamp:L,currentAddress:C,isLoading:T}=e,S=null===(a=w.F.find(e=&gt;{let{id:a}=e;return a===s}))||void 0===a?void 0:a.title;return(0,t.jsxs)(r.Tr,{alignItems:"top",children:[(0,t.jsx)(u.Td,{verticalAlign:"middle",children:(0,t.jsxs)(m.s,{rowGap:3,flexDir:"column",children:[(0,t.jsx)(A.Ay,{hash:h,isLoading:T,fontWeight:700,noIcon:!0,truncation:"constant_long"}),(0,t.jsx)(_.A,{timestamp:L,enableIncrement:!0,isLoading:T,color:"text_secondary",fontWeight:"400",fontSize:"sm"})]})}),(0,t.jsx)(u.Td,{verticalAlign:"middle",children:(0,t.jsxs)(m.s,{rowGap:2,flexWrap:"wrap",children:[S&amp;&amp;(0,t.jsx)(x.az,{w:"126px",display:"inline-block",children:(0,t.jsx)(v.A,{colorScheme:"cyan",mr:5,isLoading:T,children:S})}),(0,t.jsx)(y.A,{status:o?"ok":"error",errorText:d,isLoading:T})]})}),(0,t.jsx)(u.Td,{verticalAlign:"middle",children:(0,t.jsx)(f.Ay,{isLoading:T,number:k,noIcon:!0,fontSize:"sm",lineHeight:5,fontWeight:500})}),(0,t.jsx)(u.Td,{verticalAlign:"middle",children:(0,t.jsx)(j.A,{from:n,to:i||c,current:C,isLoading:T})}),(0,t.jsx)(u.Td,{isNumeric:!0,verticalAlign:"middle",children:(0,t.jsx)(b.A,{isLoaded:!T,display:"inline-block",minW:6,children:(0,p.A)(l).div((0,p.A)(10**g.A.chain.currency.decimals)).toFormat()})})]})}),L=e=&gt;{let{data:a,currentAddress:s,isLoading:o}=e;return(0,t.jsx)(d.im,{children:(0,t.jsxs)(n.X,{children:[(0,t.jsx)(h.A,{top:68,children:(0,t.jsxs)(r.Tr,{children:[(0,t.jsx)(i.Th,{width:"15%",children:"Parent txn hash"}),(0,t.jsx)(i.Th,{width:"15%",children:"Type"}),(0,t.jsx)(i.Th,{width:"10%",children:"Block"}),(0,t.jsx)(i.Th,{width:"40%",children:"From/To"}),(0,t.jsxs)(i.Th,{width:"20%",isNumeric:!0,children:["Value ",c.T.ether]})]})}),(0,t.jsx)(l.N,{children:a.map((e,a)=&gt;(0,t.jsx)(k,{...e,currentAddress:s,isLoading:o},e.transaction_hash+"_"+a))})]})})}},9438:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;j});var t=s(74848),n=s(32816),r=s(696),i=s(65712),l=s(49632),o=s(21302),d=s(28287),c=s(62539),h=s(92769),u=s(38495),m=s(82309),x=s(96540),p=s(89783),g=s(41966);let j=e=&gt;{let{isOpen:a,onClose:s,title:j,renderContent:b,mutationFn:v,onSuccess:f}=e,[A,y]=(0,x.useState)(!1),_=(0,x.useCallback)(()=&gt;{y(!1),s()},[s,y]),{mutate:w,isPending:k}=(0,m.n)({mutationFn:v,onSuccess:async()=&gt;{f(),s()},onError:()=&gt;{y(!0)}}),L=(0,x.useCallback)(()=&gt;{y(!1),w()},[y,w]),C=(0,p.A)();return(0,t.jsxs)(n.aF,{isOpen:a,onClose:_,size:C?"full":"md",children:[(0,t.jsx)(r.m,{}),(0,t.jsxs)(i.$,{children:[(0,t.jsx)(l.r,{fontWeight:"500",textStyle:"h3",children:j}),(0,t.jsx)(o.s,{}),(0,t.jsxs)(d.c,{children:[A&amp;&amp;(0,t.jsx)(c.az,{mb:4,children:(0,t.jsx)(g.A,{})}),b()]}),(0,t.jsx)(h.j,{children:(0,t.jsx)(u.$,{size:"lg",onClick:L,isLoading:k,isDisabled:!1,children:"Delete"})})]})]})}},43626:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;o});var t=s(74848),n=s(78865),r=s(96540),i=s(83591);let l={group:{text:"Validator group rewards",label:"Reward given to a validator group. The address being viewed is the group's address; the associated address is the validator's address on whose behalf the reward was paid.",color:"teal"},validator:{text:"Validator rewards",label:"Reward given to a validator. The address being viewed is the validator's address; the associated address is the validator group's address.",color:"purple"},delegated_payment:{text:"Delegated payments",label:"Reward portion delegated by a validator to another address. The address being viewed is the beneficiary receiving the reward; the associated address is the validator who set the delegation.",color:"blue"},voter:{text:"Voting rewards",label:"Reward given to a voter. The address being viewed is the voter's address; the associated address is the group address.",color:"yellow"}},o=r.memo(e=&gt;{let{type:a,isLoading:s}=e,{text:r,label:o,color:d}=l[a];return(0,t.jsx)(n.m,{label:o,maxW:"322px",textAlign:"center",children:(0,t.jsx)(i.A,{colorScheme:d,isLoading:s,children:r})})})},38997:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;h});var t=s(74848),n=s(33725),r=s(65269);s(96540);var i=s(57286),l=s(8753),o=s(57370),d=s(25366),c=s(69625);let h=(0,r.B)(e=&gt;{var a,s;let{isLoading:r,className:h,type:u}=e,m=(0,l.A)("stats",{queryOptions:{refetchOnMount:!1,placeholderData:o.JY}});if(r||m.isPlaceholderData)return(0,t.jsx)(d.A,{borderRadius:"base",className:h});let x="secondary"===u?null===(a=m.data)||void 0===a?void 0:a.secondary_coin_image:null===(s=m.data)||void 0===s?void 0:s.coin_image;return(0,t.jsx)(n._,{borderRadius:"base",className:h,src:x||"",alt:"".concat(i.A.chain.currency.symbol," logo"),fallback:(0,t.jsx)(c.A,{borderRadius:"base",className:h}),fallbackStrategy:x?"onError":"beforeLoadOrError"})})},3164:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;g});var t=s(74848),n=s(48996),r=s(78865),i=s(62539),l=s(65269),o=s(60346),d=s(96540),c=s(57286),h=s(25366);let u=d.memo(e=&gt;{let{value:a,isLoading:s}=e;return(0,t.jsx)(r.m,{label:"% of Gas Target",children:(0,t.jsx)(h.A,{color:"text_secondary",isLoaded:!s,children:(0,t.jsxs)("span",{children:[(a&gt;0?"+":"")+a.toLocaleString(void 0,{maximumFractionDigits:2}),"%"]})})})});var m=s(16696),x=s(53631);let p=c.A.features.rollup,g=d.memo((0,l.B)(e=&gt;{let{className:a,gasUsed:s,gasLimit:l,gasTarget:d,isLoading:c}=e,h=s&amp;&amp;"0"!==s&amp;&amp;(!p.isEnabled||"optimistic"===p.type||"shibarium"===p.type),g=(0,n.dU)("gray.200","gray.700");return h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.m,{label:c?void 0:"Gas Used %",children:(0,t.jsx)(i.az,{children:(0,t.jsx)(x.A,{colorScheme:"gray",value:(0,o.A)(s).dividedBy((0,o.A)(l)).toNumber(),isLoading:c,className:a})})}),d&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.A,{color:g,mx:1}),(0,t.jsx)(u,{value:d,isLoading:c})]})]}):null}))},52779:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;b});var t=s(74848),n=s(48996),r=s(11692),i=s(78865),l=s(48706),o=s(65269),d=s(96540),c=s(33855),h=s(57286),u=s(25366),m=s(78117),x=s(59595),p=s(5760),g=s(2770),j=s(13867);let b=d.memo((0,o.B)(e=&gt;{let{items:a,title:s,description:o,isLoading:b,className:v,isError:f,units:A,emptyText:y,noAnimation:_,href:w}=e,k=(0,d.useRef)(null),{zoomRange:L,handleZoom:C,handleZoomReset:T}=(0,j.A)(),S=(0,n.dU)("gray.200","gray.600"),E=a&amp;&amp;a.length&gt;2,D=(0,t.jsx)(g.A,{items:a,isError:f,isLoading:b,units:A,title:s,emptyText:y,handleZoom:C,zoomRange:L,noAnimation:_}),P=(0,t.jsxs)(r.s,{flexGrow:1,flexDir:"column",alignItems:"flex-start",cursor:w?"pointer":"default",_hover:w?{color:"link_hovered"}:{},children:[(0,t.jsx)(u.A,{isLoaded:!b,fontWeight:600,size:{base:"xs",lg:"sm"},children:(0,t.jsx)("span",{children:s})}),o&amp;&amp;(0,t.jsx)(u.A,{isLoaded:!b,color:"text_secondary",fontSize:"xs",mt:1,children:(0,t.jsx)("span",{children:o})})]});return(0,t.jsxs)(r.s,{height:"100%",ref:k,flexDir:"column",padding:{base:3,lg:4},borderRadius:"lg",border:"1px",borderColor:S,className:v,children:[(0,t.jsxs)(r.s,{columnGap:6,mb:2,alignItems:"flex-start",children:[w?(0,t.jsx)(x.A,{href:w,passHref:!0,legacyBehavior:!0,children:P}):P,(0,t.jsxs)(r.s,{ml:"auto",columnGap:2,children:[(0,t.jsx)(i.m,{label:"Reset zoom",children:(0,t.jsx)(l.K,{hidden:!L,"aria-label":"Reset zoom",colorScheme:"blue",w:9,h:8,size:"sm",variant:"outline",onClick:T,icon:(0,t.jsx)(m.A,{name:"repeat",w:4,h:4})})}),E&amp;&amp;(0,t.jsx)(p.A,{items:a,title:s,description:o,chartUrl:w?h.A.app.baseUrl+(0,c.w)(w):void 0,isLoading:b,chartRef:k,units:A,handleZoom:C,handleZoomReset:T,zoomRange:L})]})]}),D]})}))},45214:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;l});var t=s(74848),n=s(96540),r=s(12654),i=s(52477);let l=n.memo(e=&gt;{let{name:a,hasActiveFilter:s,options:n,isLoading:l,onChange:o,defaultValue:d}=e;return(0,t.jsx)(i.A,{options:n,name:a,defaultValue:d,onChange:o,children:e=&gt;{let{isOpen:a,onToggle:n}=e;return(0,t.jsx)(r.A,{isActive:a,onClick:n,appliedFiltersNum:s?1:0,isLoading:l})}})})},70198:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;c});var t=s(74848),n=s(11692),r=s(27821),i=s(14320),l=s(38495),o=s(65269),d=s(96540);let c=(0,o.B)(e=&gt;{let{title:a,isFilled:s,isTouched:o,hasReset:c,onFilter:h,onReset:u,onClose:m,children:x}=e,p=d.useCallback(()=&gt;{m&amp;&amp;m(),h()},[m,h]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.s,{alignItems:"center",justifyContent:"space-between",children:[(0,t.jsx)(r.E,{color:"text_secondary",fontWeight:"600",children:a}),c&amp;&amp;(0,t.jsx)(i.N,{onClick:u,cursor:s?"pointer":"unset",opacity:s?1:.2,_hover:{color:s?"link_hovered":"none"},children:"Reset"})]}),x,(0,t.jsx)(l.$,{isDisabled:!o,onClick:p,w:"fit-content",children:"Filter"})]})})},8793:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;x});var t=s(74848),n=s(81171),r=s(62887),i=s(38495),l=s(65269),o=s(9848),d=s(29194),c=s(63487),h=s(96540),u=s(63286),m=s(78117);let x=(0,l.B)(e=&gt;{let{columnName:a,isActive:s,className:x,children:p,isLoading:g,value:j}=e,{isOpen:b,onToggle:v,onClose:f}=(0,n.j)(),A=h.Children.only(p),y=h.cloneElement(A,{onClose:f});return(0,t.jsxs)(u.A,{isOpen:b,onClose:f,placement:"bottom-start",isLazy:!0,lazyBehavior:"unmount",children:[(0,t.jsx)(r.W,{children:(0,t.jsx)(i.$,{onClick:v,"aria-label":"filter by ".concat(a),variant:"ghost",h:"20px",isActive:!!j||s,isDisabled:g,borderRadius:"4px",color:"text_secondary",fontSize:"sm",fontWeight:500,leftIcon:(0,t.jsx)(m.A,{name:"filter",w:"19px",h:"19px"}),padding:0,sx:{"span:only-child":{mx:0},"span:not(:only-child)":{mr:"2px"}},children:!!j&amp;&amp;(0,t.jsx)(l.B.span,{children:j})})}),(0,t.jsx)(o.Z,{children:(0,t.jsx)(d.h,{className:x,children:(0,t.jsx)(c.e,{px:4,py:6,display:"flex",flexDir:"column",rowGap:3,children:y})})})]})})},25349:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;x});var t=s(74848),n=s(48996),r=s(78865),i=s(38495),l=s(14084),o=s(65269),d=s(96540),c=s(89783),h=s(72409),u=s(78117),m=s(78374);let x=(0,o.B)(d.forwardRef((e,a)=&gt;{let{score:s,isLoading:o,onlyIcon:d,onClick:x,label:p="Security score",isActive:g,className:j}=e,{scoreColor:b}=(0,m.A)(s),v=(0,n.dU)("gray.300","gray.600"),f=(0,c.A)(),A=(0,h.A)();return(0,t.jsx)(r.m,{label:p,isDisabled:f,openDelay:100,textAlign:"center",children:(0,t.jsxs)(i.$,{className:j,ref:a,color:o?v:b,size:"sm",variant:"outline",colorScheme:"gray",onClick:x,isActive:g,"aria-label":"SolidityScan score",fontWeight:500,px:"6px",flexShrink:0,columnGap:1,isDisabled:o,_disabled:{opacity:1,_hover:{color:v}},onFocusCapture:A,children:[(0,t.jsx)(u.A,{name:s&lt;80?"score/score-not-ok":"score/score-ok",boxSize:5}),o&amp;&amp;(0,t.jsx)(l.y,{size:"sm"}),!o&amp;&amp;(d?null:s)]})})}))},19199:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;u});var t=s(74848),n=s(48996),r=s(62539),i=s(11692),l=s(27821),o=s(3253),d=s(65269);s(96540);let c=[{id:"critical",name:"Critical",color:"#891F11"},{id:"high",name:"High",color:"#EC672C"},{id:"medium",name:"Medium",color:"#FBE74D"},{id:"low",name:"Low",color:"#68C88E"},{id:"informational",name:"Informational",color:"#A3AEBE"},{id:"gas",name:"Gas",color:"#A47585"}],h=e=&gt;{let{item:a,vulnerabilities:s,vulnerabilitiesCount:o}=e,d=(0,n.dU)("blackAlpha.50","whiteAlpha.50"),c=(0,n.dU)("gray.400","gray.500"),h=s[a.id];return void 0===h?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.az,{w:3,h:3,bg:a.color,borderRadius:"6px",mr:2}),(0,t.jsxs)(i.s,{justifyContent:"space-between",mr:3,children:[(0,t.jsx)(l.E,{children:a.name}),(0,t.jsx)(l.E,{color:h&gt;0?"text":c,children:s[a.id]})]}),(0,t.jsx)(r.az,{bg:d,h:"10px",borderRadius:"8px",children:(0,t.jsx)(r.az,{bg:a.color,w:h/o,h:"10px",borderRadius:"8px"})})]})},u=(0,d.B)(e=&gt;{let{vulnerabilities:a,vulnerabilitiesCount:s}=e;return(0,t.jsx)(o.x,{templateColumns:"20px 1fr 100px",alignItems:"center",rowGap:2,children:c.map(e=&gt;(0,t.jsx)(h,{item:e,vulnerabilities:a,vulnerabilitiesCount:s},e.id))})})},21671:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;u});var t=s(74848),n=s(48996),r=s(11692),i=s(62539),l=s(77638),o=s(27821),d=s(65269);s(96540);var c=s(78117),h=s(78374);let u=(0,d.B)(e=&gt;{let{className:a,score:s}=e,{scoreLevel:d,scoreColor:u}=(0,h.A)(s),m=(0,n.dU)("gray.100","gray.700"),x=(0,n.dU)("gray.400","gray.500"),p=(0,n.dU)("white","gray.900");return(0,t.jsxs)(r.s,{className:a,alignItems:"center",children:[(0,t.jsx)(i.az,{w:12,h:12,bgGradient:"conic-gradient(".concat(u," 0, ").concat(u," ").concat(s,"%, ").concat(m," 0, ").concat(m," 100%)"),borderRadius:"24px",position:"relative",mr:3,children:(0,t.jsx)(l.o,{position:"absolute",w:"38px",h:"38px",top:"5px",right:"5px",bg:p,borderRadius:"20px",children:(0,t.jsx)(c.A,{name:s&lt;80?"score/score-not-ok":"score/score-ok",boxSize:5,color:u})})}),(0,t.jsxs)(i.az,{children:[(0,t.jsxs)(r.s,{children:[(0,t.jsx)(o.E,{color:u,fontSize:"lg",fontWeight:500,children:s}),(0,t.jsx)(o.E,{color:x,fontSize:"lg",fontWeight:500,whiteSpace:"pre",children:" / 100"})]}),(0,t.jsxs)(o.E,{color:u,fontWeight:500,children:["Security score is ",d]})]})]})})},78374:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;n});var t=s(48996);function n(e){let a,s;let n=(0,t.dU)("green.600","green.400"),r=(0,t.dU)("purple.600","purple.400"),i=(0,t.dU)("red.600","red.400");return e&gt;=80?(a=n,s="GREAT"):e&gt;=30?(a=r,s="AVERAGE"):(a=i,s="LOW"),{scoreColor:a,scoreLevel:s}}},32060:(e,a,s)=&gt;{"use strict";function t(e){if(!e)return;let a=e.split("-");return{sort:a[0],order:a[1]}}s.d(a,{A:()=&gt;t})},48712:(e,a,s)=&gt;{"use strict";function t(e,a){if(!e.sort||!e.order)return;let s=e.sort+"-"+e.order;if(a.map(e=&gt;e.value).includes(s))return s}s.d(a,{A:()=&gt;t})},59243:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;S});var t=s(74848),n=s(96540),r=s(2115),i=s(81171),l=s(85771),o=s(38495),d=s(27821),c=s(62539),h=s(82309),u=s(49785),m=s(36865),x=s(73214),p=s(91826),g=s(34991),j=s(4305),b=s(77553),v=s(76624),f=s(3253),A=s(65602),y=s(57286);let _=y.A.chain.tokenStandard,w=["native","ERC-20","ERC-721","ERC-404"],k=[y.A.chain.currency.symbol,"".concat(_,"-20"),"".concat(_,"-721, ").concat(_,"-1155 (NFT)"),"".concat(_,"-404")];function L(){return(0,t.jsx)(f.x,{templateColumns:{base:"repeat(2, max-content)",lg:"repeat(3, max-content)"},gap:{base:"10px 24px",lg:"20px 24px"},children:w.map((e,a)=&gt;{let s="notification_settings.".concat(e,".incoming"),r="notification_settings.".concat(e,".outcoming");return(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(A.E,{gridColumnStart:{base:1,lg:1},gridColumnEnd:{base:3,lg:1},_notFirst:{mt:{base:3,lg:0}},children:k[a]}),(0,t.jsx)(A.E,{children:(0,t.jsx)(g.A,{name:s,label:"Incoming"})}),(0,t.jsx)(A.E,{children:(0,t.jsx)(g.A,{name:r,label:"Outgoing"})})]},e)})})}let C=["native","ERC-20","ERC-721","ERC-404"],T=e=&gt;{let{data:a,onSuccess:s,setAlertVisible:r,isAdd:f}=e,[A,y]=(0,n.useState)(!1),_=(0,v.A)(),w=_.data&amp;&amp;!_.data.email,k=(0,i.j)(),T={};(null==a?void 0:a.notification_settings)?T=a.notification_settings:C.forEach(e=&gt;T[e]={incoming:!w,outcoming:!w});let S=(0,u.mN)({defaultValues:{address:(null==a?void 0:a.address_hash)||"",tag:(null==a?void 0:a.name)||"",notification:(null==a?void 0:a.notification_methods)?a.notification_methods.email:!w,notification_settings:T},mode:"onTouched"}),E=(0,m.A)(),{mutateAsync:D}=(0,h.n)({mutationFn:function(e){let s={name:null==e?void 0:e.tag,address_hash:null==e?void 0:e.address,notification_settings:e.notification_settings,notification_methods:{email:e.notification}};return!f&amp;&amp;a?E("watchlist",{pathParams:{id:(null==a?void 0:a.id)?String(a.id):""},fetchParams:{method:"PUT",body:s}}):E("watchlist",{fetchParams:{method:"POST",body:s}})},onSuccess:async()=&gt;{await s(),y(!1)},onError:e=&gt;{var a;y(!1);let s=null===(a=e.payload)||void 0===a?void 0:a.errors;(null==s?void 0:s.address_hash)||(null==s?void 0:s.name)?((null==s?void 0:s.address_hash)&amp;&amp;S.setError("address",{type:"custom",message:(0,x.A)(s,"address_hash")}),(null==s?void 0:s.name)&amp;&amp;S.setError("tag",{type:"custom",message:(0,x.A)(s,"name")})):(null==s?void 0:s.watchlist_id)?S.setError("address",{type:"custom",message:(0,x.A)(s,"watchlist_id")}):r(!0)}}),P=async e=&gt;{r(!1),y(!0),await D(e)};return(0,t.jsx)(u.Op,{...S,children:(0,t.jsxs)("form",{noValidate:!0,onSubmit:S.handleSubmit(P),children:[(0,t.jsx)(p.A,{name:"address",isRequired:!0,bgColor:"dialog_bg",mb:5}),(0,t.jsx)(j.A,{name:"tag",placeholder:"Private tag (max 35 characters)",isRequired:!0,rules:{maxLength:35},bgColor:"dialog_bg",mb:8}),w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l.F,{status:"info",colorScheme:"gray",display:"flex",flexDirection:{base:"column",md:"row"},alignItems:{base:"flex-start",lg:"center"},columnGap:2,rowGap:2,w:"fit-content",children:["To receive notifications you need to add an email to your profile.",(0,t.jsx)(o.$,{variant:"outline",size:"sm",onClick:k.onOpen,children:"Add email"})]}),k.isOpen&amp;&amp;(0,t.jsx)(b.A,{initialScreen:{type:"email",isAuth:!0},onClose:k.onClose})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.E,{variant:"secondary",fontSize:"sm",marginBottom:5,children:"Please select what types of notifications you will receive"}),(0,t.jsx)(c.az,{marginBottom:8,children:(0,t.jsx)(L,{})}),(0,t.jsx)(d.E,{variant:"secondary",fontSize:"sm",marginBottom:{base:"10px",lg:5},children:"Notification methods"}),(0,t.jsx)(g.A,{name:"notification",label:"Email notifications"})]}),(0,t.jsx)(c.az,{marginTop:8,children:(0,t.jsx)(o.$,{size:"lg",type:"submit",isLoading:A,isDisabled:!S.formState.isDirty,children:f?"Add address":"Save changes"})})]})})},S=e=&gt;{let{isOpen:a,onClose:s,onSuccess:i,data:l,isAdd:o}=e,d=o?"New address to watch list":"Edit watch list address",c=o?"An email notification can be sent to you when an address on your watch list sends or receives any transactions.":"",[h,u]=(0,n.useState)(!1),m=(0,n.useCallback)(()=&gt;(0,t.jsx)(T,{data:l,onSuccess:i,setAlertVisible:u,isAdd:o}),[l,o,i]);return(0,t.jsx)(r.A,{isOpen:a,onClose:s,title:d,text:c,renderForm:m,isAlertVisible:h,setAlertVisible:u})}},17802:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;d});var t=s(74848),n=s(27821),r=s(96540),i=s(36865),l=s(89783),o=s(9438);let d=e=&gt;{let{isOpen:a,onClose:s,onSuccess:d,data:c}=e,h=(0,l.A)(),u=(0,i.A)(),m=(0,r.useCallback)(()=&gt;u("watchlist",{pathParams:{id:String(c.id)},fetchParams:{method:"DELETE"}}),[null==c?void 0:c.id,u]),x=null==c?void 0:c.address_hash,p=(0,r.useCallback)(()=&gt;{let e=h?[x.slice(0,4),x.slice(-4)].join("..."):x;return(0,t.jsxs)(n.E,{children:["Address ",(0,t.jsxs)(n.E,{fontWeight:"700",as:"span",children:[" ",e||"address"]})," will be deleted"]})},[x,h]);return(0,t.jsx)(o.A,{isOpen:a,onClose:s,title:"Remove address from watch list",renderContent:p,mutationFn:m,onSuccess:d})}},50805:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;m});var t=s(74848);s(96540);var n=s(57286),r=s(80980),i=s(25366),l=s(97370),o=s(98669),d=s(86032),c=s(70971),h=s(28208);let u=n.A.features.beaconChain,m=e=&gt;{let{item:a,isLoading:s,view:n}=e;return u.isEnabled?(0,t.jsxs)(c.A.Container,{gridTemplateColumns:"100px auto",children:[(0,t.jsx)(c.A.Label,{isLoading:s,children:"Index"}),(0,t.jsx)(c.A.Value,{children:(0,t.jsx)(i.A,{isLoaded:!s,display:"inline-block",children:a.index})}),(0,t.jsx)(c.A.Label,{isLoading:s,children:"Validator index"}),(0,t.jsx)(c.A.Value,{children:(0,t.jsx)(i.A,{isLoaded:!s,display:"inline-block",children:a.validator_index})}),"block"!==n&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.A.Label,{isLoading:s,children:"Block"}),(0,t.jsx)(c.A.Value,{children:(0,t.jsx)(d.Ay,{number:a.block_number,isLoading:s,fontSize:"sm",lineHeight:5})})]}),"address"!==n&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.A.Label,{isLoading:s,children:"To"}),(0,t.jsx)(c.A.Value,{children:(0,t.jsx)(o.Ay,{address:a.receiver,isLoading:s,truncation:"constant"})})]}),"block"!==n&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.A.Label,{isLoading:s,children:"Age"}),(0,t.jsx)(c.A.Value,{children:(0,t.jsx)(h.A,{timestamp:a.timestamp,isLoading:s,display:"inline-block"})}),(0,t.jsx)(c.A.Label,{isLoading:s,children:"Value"}),(0,t.jsx)(c.A.Value,{children:(0,t.jsx)(l.A,{value:a.amount,currency:r.T.ether,isLoading:s})})]})]}):null}},29177:(e,a,s)=&gt;{"use strict";s.d(a,{A:()=&gt;v});var t=s(74848),n=s(88993),r=s(22629),i=s(36671),l=s(10875);s(96540);var o=s(57286),d=s(52024),c=s(27693),h=s(97324),u=s(25366),m=s(97370),x=s(98669),p=s(86032),g=s(28208);let j=e=&gt;{let{item:a,view:s,isLoading:n}=e;return(0,t.jsxs)(r.Tr,{children:[(0,t.jsx)(h.Td,{verticalAlign:"middle",children:(0,t.jsx)(u.A,{isLoaded:!n,display:"inline-block",children:a.index})}),(0,t.jsx)(h.Td,{verticalAlign:"middle",children:(0,t.jsx)(u.A,{isLoaded:!n,display:"inline-block",children:a.validator_index})}),"block"!==s&amp;&amp;(0,t.jsx)(h.Td,{verticalAlign:"middle",children:(0,t.jsx)(p.Ay,{number:a.block_number,isLoading:n,fontSize:"sm",lineHeight:5,noIcon:!0})}),"address"!==s&amp;&amp;(0,t.jsx)(h.Td,{verticalAlign:"middle",children:(0,t.jsx)(x.Ay,{address:a.receiver,isLoading:n,truncation:"constant"})}),"block"!==s&amp;&amp;(0,t.jsx)(h.Td,{verticalAlign:"middle",pr:12,children:(0,t.jsx)(g.A,{timestamp:a.timestamp,isLoading:n,color:"text_secondary",display:"inline-block"})}),(0,t.jsx)(h.Td,{verticalAlign:"middle",children:(0,t.jsx)(m.A,{value:a.amount,isLoading:n})})]})},b=o.A.features.beaconChain,v=e=&gt;{let{items:a,isLoading:s,top:o,view:h}=e,{cutRef:u,renderedItemsNum:m}=(0,d.A)(a,!s);return b.isEnabled?(0,t.jsxs)(n.X,{style:{tableLayout:"auto"},minW:"950px",children:[(0,t.jsx)(c.A,{top:o,children:(0,t.jsxs)(r.Tr,{children:[(0,t.jsx)(i.Th,{minW:"140px",children:"Index"}),(0,t.jsx)(i.Th,{minW:"200px",children:"Validator index"}),"block"!==h&amp;&amp;(0,t.jsx)(i.Th,{w:"25%",children:"Block"}),"address"!==h&amp;&amp;(0,t.jsx)(i.Th,{w:"25%",children:"To"}),"block"!==h&amp;&amp;(0,t.jsx)(i.Th,{w:"25%",children:"Age"}),(0,t.jsx)(i.Th,{w:"25%",children:"Value ".concat(b.currency.symbol)})]})}),(0,t.jsxs)(l.N,{children:["list"===h&amp;&amp;a.slice(0,m).map((e,a)=&gt;(0,t.jsx)(j,{item:e,view:"list",isLoading:s},e.index+(s?String(a):""))),"address"===h&amp;&amp;a.slice(0,m).map((e,a)=&gt;(0,t.jsx)(j,{item:e,view:"address",isLoading:s},e.index+(s?String(a):""))),"block"===h&amp;&amp;a.slice(0,m).map((e,a)=&gt;(0,t.jsx)(j,{item:e,view:"block",isLoading:s},e.index+(s?String(a):""))),(0,t.jsx)("tr",{ref:u})]})]}):null}}},e=&gt;{var a=a=&gt;e(e.s=a);e.O(0,[5735,1148,2009,147,5206,6965,2844,7606,5729,2330,5691,3080,9416,865,4922,6667,7286,3014,6224,2624,6504,4246,687,3920,636,6593,8792],()=&gt;a(58397)),_N_E=e.O()}]);
//# sourceMappingURL=[hash]-c153f52e2eee3e6b.js.map</pre></body></html>