PageSourceSearch

https://safe-wallet-monorepo-web-sandy.vercel.app/_next/static/chunks/2050.53ad4450f99c1de3.js

js safe-wallet-monorepo-web-sandy.vercel.app collected 2026-10-03 07:39:52 UTC 1,684 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2050],{92050:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>g});var s=l(6029),a=l(55729),n=l(49811),i=l(22876),r=l(58092),d=l(63345),o=l(88543),c=l(95047),p=l(75883),u=l(95293),f=l(69465),x=l(93430),h=l.n(x);let _=e=>{let{isLoading:t,...l}=e;return(0,s.jsx)(i.A,{...l,className:t?h().spinning:void 0,sx:l.sx})},g={PortfolioRefreshHint:e=>{let{entryPoint:t,_fulfilledTimeStamp:l,_isFetching:i,_freezeTime:x}=e,{refetch:h,fulfilledTimeStamp:g,isFetching:m}=(0,d.k)(),v=null!=l?l:g,j=null!=i?i:m,[k,y]=(0,a.useState)(Date.now);(0,a.useEffect)(()=>{if(x)return;let e=setInterval(()=>y(Date.now()),1e3);return()=>clearInterval(e)},[x]);let b=v?k-v:1/0,w=b<o.fe,E=v?(0,r.m)(v):null,I=(0,a.useCallback)(async()=>{if(!j&&!w){(0,c.sx)(p.p.PORTFOLIO_REFRESH_CLICKED,{[u.$v.ENTRY_POINT]:t});try{await h()}catch(e){(0,f.vV)(f.I._601,e)}}},[j,w,h,t]),C=j||w,F=w?(0,s.jsxs)(s.Fragment,{children:["Next update available in ",Math.ceil((o.fe-b)/1e3),"s"]}):"Update portfolio data";return(0,s.jsxs)(n.azJ,{display:"flex",alignItems:"center",gap:.5,children:[(0,s.jsx)(n.o5u,{variant:"subtitle2",color:"var(--color-text-secondary)",children:j?"Fetching data":E?(0,s.jsxs)(s.Fragment,{children:["Updated ",E," ago"]}):"Loading..."}),(0,s.jsx)(n.m_M,{title:F,arrow:!0,children:(0,s.jsx)("span",{style:{display:"inline-flex"},children:(0,s.jsx)(n.K0,{onClick:I,disabled:C,size:"small",sx:{padding:"2px"},"data-testid":"portfolio-refresh-button",children:(0,s.jsx)(_,{fontSize:"small",isLoading:j})})})})]})}}},93430:e=>{e.exports={spinning:"styles_spinning__vJ9r6",spin:"styles_spin__wVKlk"}}}]);
2//# sourceMappingURL=2050.53ad4450f99c1de3.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.