1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2944],{227:(e,t,a)=>{a.d(t,{E:()=>c});var n=a(37876),r=a(14232),i=a(57175),l=a(54854),s=a(33712);function o(e){return(0,s.s)(e,e=>"auto"===e?"auto":`span ${e}/span ${e}`)}let c=(0,r.forwardRef)(function(e,t){let{area:a,colSpan:r,colStart:s,colEnd:c,rowEnd:d,rowSpan:h,rowStart:u,...m}=e,b=(0,l.o)({gridArea:a,gridColumn:o(r),gridRow:o(h),gridColumnStart:s,gridColumnEnd:c,gridRowStart:u,gridRowEnd:d});return(0,n.jsx)(i.B.div,{ref:t,css:b,...m})})},2072:(e,t,a)=>{a.d(t,{A:()=>c});var n=a(37876),r=a(57175);a(14232);var i=a(65370),l=a(83614),s=a(99845);let o=l.A.features.rollup,c=(0,r.B)(e=>{var t,a;if(!o.isEnabled)return null;let r=o.parentChain.baseUrl+(0,i.w)({pathname:"/block/[height_or_hash]",query:{height_or_hash:null!==(t=e.hash)&&void 0!==t?t:String(e.number)}});return(0,n.jsx)(s.Ay,{...e,href:null!==(a=e.href)&&void 0!==a?a:r,isExternal:!0})})},4205:(e,t,a)=>{a.d(t,{A:()=>u});var n=a(37876),r=a(43123),i=a(21555),l=a(57175),s=a(14232),o=a(68250),c=a(12265),d=a(45267),h=a(28348);let u=(0,l.B)(e=>{let{className:t,onClick:a,prevLabel:l,nextLabel:u,isPrevDisabled:m,isNextDisabled:b,isLoading:x}=e,g=s.useCallback(()=>{a("prev")},[a]),f=s.useCallback(()=>{a("next")},[a]);return x?(0,n.jsxs)(r.s,{columnGap:"10px",className:t,children:[(0,n.jsx)(c.EA,{loading:!0,boxSize:6,borderRadius:"sm"}),(0,n.jsx)(c.EA,{loading:!0,boxSize:6,borderRadius:"sm"})]}):(0,n.jsxs)(i.a,{className:t,display:"flex",children:[(0,n.jsx)(d.m,{content:l,children:(0,n.jsx)(o.K,{"aria-label":"prev",borderRadius:"sm",variant:"subtle",boxSize:6,onClick:g,disabled:m,children:(0,n.jsx)(h.A,{name:"arrows/east-mini"})})}),(0,n.jsx)(d.m,{content:u,children:(0,n.jsx)(o.K,{"aria-label":"next",borderRadius:"sm",variant:"subtle",boxSize:6,ml:"10px",onClick:f,disabled:b,children:(0,n.jsx)(h.A,{name:"arrows/east-mini",transform:"rotate(180deg)"})})})]})})},18828:(e,t,a)=>{a.d(t,{A:()=>g,Du:()=>x,Tc:()=>f,gf:()=>b,mc:()=>u});var n=a(37876),r=a(77005),i=a(58509),l=a(227),s=a(43123);a(14232);var o=a(12265),c=a(1621),d=a(94086);let h={base:"30px",lg:"32px"},u=e=>(0,n.jsx)(r.x,{columnGap:8,rowGap:{base:0,lg:3},templateColumns:{base:"minmax(0, 1fr)",lg:"max-content minmax(728px, auto)"},textStyle:{base:"sm",lg:"md"},...e}),m=()=>(0,n.jsx)(i.E,{fontWeight:500,color:"text.secondary",textStyle:"xs",className:"note",textAlign:"right",children:"Scroll to see more"}),b=e=>{let{hint:t,children:a,isLoading:r,id:i,hasScroll:d,...u}=e;return(0,n.jsx)(l.E,{id:i,minH:h,_notFirst:{mt:{base:3,lg:0}},...u,children:(0,n.jsxs)(s.s,{columnGap:{base:1,lg:2},alignItems:"flex-start",w:"100%",children:[t&&(0,n.jsx)(c.C,{label:t,isLoading:r,my:{base:"5px",lg:"6px"}}),(0,n.jsxs)(o.EA,{loading:r,fontWeight:{base:700,lg:500},py:{base:"5px",lg:"4px"},flexGrow:1,children:[a,d&&(0,n.jsx)(m,{})]})]})})},x=e=>{let{children:t,multiRow:a=!1,...r}=e;return(0,n.jsx)(l.E,{display:"flex",alignItems:"center",pl:{base:6,lg:0},minH:h,whiteSpace:"nowrap",...a?{flexWrap:"wrap",lineHeight:h}:{},...r,children:t})},g=e=>{let{children:t,gradientHeight:a,onScrollVisibilityChange:r,...i}=e;return(0,n.jsx)(x,{position:"relative",children:(0,n.jsx)(d.A,{...i,gradientHeight:a,onScrollVisibilityChange:r,children:t})})},f=e=>{let{colSpan:t={base:void 0,lg:2},...a}=e;return(0,n.jsx)(l.E,{colSpan:t,mt:{base:2,lg:3},mb:{base:0,lg:3},borderBottom:"1px solid",borderColor:"border.divider",...a})}},19645:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(31135),r=a(17577);function i(e){let t=(0,r.A)(e);return(0,n.A)(t)}},28929:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(37876);a(14232);var r=a(79447);let i=e=>{let t,{dataContainer:a,isLoading:i}=e;if(null===a)return null;switch(a){case"in_blob4844":t="Blob";break;case"in_anytrust":t="AnyTrust";break;case"in_calldata":t="Calldata";break;case"in_celestia":t="Celestia";break;default:t=""}return t?(0,n.jsx)(r.E,{loading:i,colorPalette:"in_blob4844"===a?"yellow":"gray",children:t}):null}},30387:(e,t,a)=>{a.d(t,{i:()=>n});function n(e,t){if(!Number.isInteger(t)||t<=0)throw Error("Size must be an integer greater than zero.");let a=Math.ceil(e.length/t),n=Array(a);for(let r=0;r<a;r++){let a=r*t,i=a+t;n[r]=e.slice(a,i)}return n}},31135:(e,t,a)=>{a.d(t,{A:()=>n});function n(e){let t="";for(let a of e)t+=String.fromCharCode(a);return btoa(t)}},39835:(e,t,a)=>{a.d(t,{A:()=>f});var n,r,i,l=a(37876),s=a(43123),o=a(5787),c=a(14232),d=a(83614);
1function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}let u=function(e){return c.createElement("svg",h({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=c.createElement("circle",{cx:10,cy:10,r:10,fill:"url(#a)"})),r||(r=c.createElement("g",{clipPath:"url(#b)",fill:"#fff",fillOpacity:.95},c.createElement("path",{d:"M15.763 12.826c.119-.243.178-.365.158-.462a.292.292 0 0 0-.148-.199c-.088-.047-.244-.02-.554.033a6.409 6.409 0 0 1-5.632-1.786 6.409 6.409 0 0 1-1.785-5.631c.053-.31.08-.466.033-.554a.292.292 0 0 0-.199-.149c-.098-.02-.219.04-.462.159a6.417 6.417 0 1 0 8.589 8.589Z"}),c.createElement("path",{d:"M15.9 10.817c.152-.054.229-.082.31-.152a.686.686 0 0 0 .163-.228c.04-.1.04-.183.043-.35a6.398 6.398 0 0 0-1.879-4.624 6.398 6.398 0 0 0-4.624-1.88c-.167.003-.25.004-.35.044a.685.685 0 0 0-.229.163c-.07.081-.097.158-.151.31a5.25 5.25 0 0 0 6.717 6.717Z"}))),i||(i=c.createElement("defs",null,c.createElement("linearGradient",{id:"a",x1:17.5,y1:2,x2:0,y2:20,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#196E41"}),c.createElement("stop",{offset:1,stopColor:"#092E1B"})),c.createElement("clipPath",{id:"b"},c.createElement("rect",{x:3,y:3,width:14,height:14,rx:7,fill:"#fff"})))))};var m=a(19645),b=a(75884);let x=d.A.features.rollup;function g(e){try{if(!x.isEnabled||!x.DA.celestia.celeniumUrl)return;let t=new URL(x.DA.celestia.celeniumUrl);return t.searchParams.set("commitment",(0,m.A)(e.commitment)),t.searchParams.set("hash",(0,m.A)(e.namespace)),t.searchParams.set("height",String(e.height)),t.toString()}catch(e){}}let f=c.memo(e=>{if(!g(e)){var t;return null!==(t=e.fallback)&&void 0!==t?t:null}return(0,l.jsxs)(s.s,{alignItems:"center",columnGap:2,children:[(0,l.jsx)(o.I,{as:u,boxSize:5}),(0,l.jsx)(b.N_,{external:!0,href:g(e),children:"Blob page"})]})})},39898:(e,t,a)=>{a.d(t,{A:()=>c});var n=a(37876),r=a(57175);a(14232);var i=a(65370),l=a(83614),s=a(7071);let o=l.A.features.rollup,c=(0,r.B)(e=>{var t;if(!o.isEnabled)return null;let a=o.parentChain.baseUrl+(0,i.w)({pathname:"/tx/[hash]",query:{hash:e.hash}});return(0,n.jsx)(s.Ay,{...e,href:null!==(t=e.href)&&void 0!==t?t:a,isExternal:!0})})},41330:(e,t,a)=>{a.d(t,{r:()=>i});var n=a(14232),r=a(60307);function i(e,t){let a=(0,r.$)();return(0,n.useMemo)(()=>(Array.isArray(t)?t:[t]).map(t=>a.token(`${e}.${t}`,t)),[a,e,t])}},49728:(e,t,a)=>{a.d(t,{A_:()=>i,EK:()=>l,QT:()=>s,_7:()=>o});var n=a(30642),r=a(10276);let i={completion_transaction_hash:r.Iu,id:181920,origination_address_hash:n.W,origination_transaction_block_number:123456,origination_transaction_hash:r.Iu,origination_timestamp:"2023-06-01T14:46:48.000000Z",status:"relayed"},l={number:12345,blocks_count:12345,transactions_count:1e4,commitment_transaction:{block_number:12345,timestamp:"2024-04-17T08:51:58.000000Z",hash:r.Iu,status:"finalized"},batch_data_container:"in_blob4844"},s={...l,after_acc_hash:"0xcd064f3409015e8e6407e492e5275a185e492c6b43ccf127f22092d8057a9ffb",before_acc_hash:"0x2ed7c4985eb778d76ec400a43805e7feecc8c2afcdb492dbe5caf227de6d37bc",start_block_number:1245209,end_block_number:1245490,data_availability:{batch_data_container:"in_blob4844"}},o={arb_block_number:0x439af2d,caller_address_hash:"0x507f55d716340fc836ba52c1a8daebcfeedeef1a",completion_transaction_hash:null,callvalue:"100000000000000",data:"0x",destination_address_hash:"0x507f55d716340fc836ba52c1a8daebcfeedeef1a",eth_block_number:6494128,id:43685,l2_timestamp:0x66bbb8c9,status:"relayed",token:null}},52756:(e,t,a)=>{a.d(t,{A:()=>c});var n=a(37876);a(14232);var r=a(95948),i=a(12265),l=a(28348),s=a(58989),o=a(73988);let c=e=>{let{timestamp:t,isLoading:a,noIcon:c}=e;return(0,n.jsxs)(n.Fragment,{children:[!c&&(0,n.jsx)(l.A,{name:"clock",boxSize:5,color:"icon.primary",isLoading:a,mr:{base:1,lg:2}}),(0,n.jsx)(i.EA,{loading:a,children:(0,r.A)(t).fromNow()}),(0,n.jsx)(s.A,{mx:2}),(0,n.jsx)(o.A,{value:(0,r.A)(t).format("llll"),isLoading:a})]})}},66930:(e,t,a)=>{a.r(t),a.d(t,{default:()=>J});var n=a(37876),r=a(89099),i=a(14232),l=a(26375),s=a(17979),o=a(31658),c=a(78672),d=a(89613),h=a(10276),u=a(18321),m=a(43929),b=a(77370),x=a(51389),g=a(16564),f=a(56336),p=a(88941),j=a(227),_=a(6
15370),A=a(81258),v=a(75884),y=a(12265),k=a(79427),w=a(28929),E=a(88837),S=a(45883),D=a(18828),C=a(52756),L=a(2072),T=a(39898),B=a(51868),P=a(4205),q=a(58509),W=a(77005),R=a(43123),N=a(21555),I=a(1924),z=a(95948),H=a(20097),F=a(28348),G=a(58989);let U=e=>{let{data:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.gf,{hint:"Aggregated BLS signature of AnyTrust committee members",children:"Signature"}),(0,n.jsx)(D.Du,{wordBreak:"break-all",whiteSpace:"break-spaces",children:t.bls_signature}),(0,n.jsx)(D.gf,{hint:"The hash of the data blob stored by the AnyTrust committee",children:"Data hash"}),(0,n.jsxs)(D.Du,{whiteSpace:"pre-wrap",wordBreak:"break-all",alignItems:{base:"flex-start",lg:"center"},children:[t.data_hash,(0,n.jsx)(E.A,{text:t.data_hash,ml:2})]}),(0,n.jsx)(D.gf,{hint:"Expiration timeout for the data blob",children:"Timeout"}),(0,n.jsx)(D.Du,{multiRow:!0,children:(0,z.A)(t.timeout)<(0,z.A)()?(0,n.jsx)(C.A,{timestamp:t.timeout}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(q.E,{children:(0,z.A)(t.timeout).format("llll")}),(0,n.jsx)(G.A,{}),(0,n.jsxs)(q.E,{color:"red.500",children:[(0,z.A)(t.timeout).diff((0,z.A)(),"day")," days left"]})]})}),(0,n.jsx)(D.gf,{hint:"Members of AnyTrust committee",children:"Signers"}),(0,n.jsxs)(D.Du,{overflowX:"scroll",fontSize:"sm",children:[(0,n.jsxs)(W.x,{hideBelow:"lg",templateColumns:"1fr auto auto",gap:5,backgroundColor:{_light:"blackAlpha.50",_dark:"whiteAlpha.50"},padding:4,borderRadius:"md",minW:"600px",children:[(0,n.jsx)(q.E,{fontWeight:600,children:"Key"}),(0,n.jsx)(q.E,{fontWeight:600,children:"Trusted"}),(0,n.jsx)(q.E,{fontWeight:600,children:"Proof"}),t.signers.map(e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(R.s,{justifyContent:"space-between",children:[(0,n.jsx)(q.E,{wordBreak:"break-all",whiteSpace:"break-spaces",children:e.key}),(0,n.jsx)(E.A,{text:e.key,ml:2})]}),(0,n.jsx)(N.a,{justifySelf:"center",children:e.trusted?(0,n.jsx)(F.A,{name:"check",boxSize:6}):(0,n.jsx)(F.A,{name:"cross",boxSize:6})}),e.proof?(0,n.jsxs)(R.s,{children:[(0,n.jsx)(H.A,{hash:e.proof}),(0,n.jsx)(E.A,{text:e.proof,ml:2})]}):"-"]}))]}),(0,n.jsx)(N.a,{hideFrom:"lg",backgroundColor:{_light:"blackAlpha.50",_dark:"whiteAlpha.50"},borderRadius:"md",children:t.signers.map(e=>(0,n.jsxs)(I.T,{padding:4,gap:2,children:[(0,n.jsxs)(R.s,{w:"100%",justifyContent:"space-between",children:[(0,n.jsx)(q.E,{fontWeight:600,children:"Key"}),(0,n.jsx)(E.A,{text:e.key})]}),(0,n.jsx)(q.E,{wordBreak:"break-all",whiteSpace:"break-spaces",children:e.key}),(0,n.jsxs)(R.s,{w:"100%",alignItems:"center",children:[(0,n.jsxs)(R.s,{alignItems:"center",w:"50%",children:[(0,n.jsx)(q.E,{fontWeight:600,mr:2,children:"Trusted"}),e.trusted?(0,n.jsx)(F.A,{name:"check",boxSize:6}):(0,n.jsx)(F.A,{name:"cross",boxSize:6})]}),(0,n.jsxs)(R.s,{alignItems:"center",w:"50%",children:[(0,n.jsx)(q.E,{fontWeight:600,mr:2,children:"Proof"}),e.proof?(0,n.jsxs)(R.s,{children:[(0,n.jsx)(H.A,{hash:e.proof}),(0,n.jsx)(E.A,{text:e.proof,ml:2})]}):"-"]})]})]},e.key))})]})]})};var O=a(83614),M=a(39835);let V=O.A.features.rollup,K=e=>{let{data:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.gf,{hint:"The block number in Celestia where the Data Availability blob was published",children:"Height"}),(0,n.jsx)(D.Du,{wordBreak:"break-all",whiteSpace:"break-spaces",children:t.height}),(0,n.jsx)(D.gf,{hint:"The Data Availability blobâs unique cryptographic proof",children:"Commitment"}),(0,n.jsxs)(D.Du,{flexWrap:"nowrap",children:[(0,n.jsx)(R.s,{overflow:"hidden",minW:"0",children:(0,n.jsx)(B.A,{hash:t.transaction_commitment})}),(0,n.jsx)(E.A,{text:t.transaction_commitment,mr:3}),V.isEnabled&&V.DA.celestia.namespace&&(0,n.jsx)(M.A,{commitment:t.transaction_commitment,namespace:V.DA.celestia.namespace,height:t.height})]})]})},$=e=>{let{query:t}=e,a=(0,r.useRouter)(),{data:l,isPlaceholderData:o,isError:c,error:d}=t,h=i.useCallback(e=>{if(!l)return;let t=String(l.number+("next"===e?1:-1));a.push({pathname:"/batches/[number]",query:{number:t}},void 0)},[l,a]);if(c)return(0,k.A)(d)&&(0,s.A)({isError:c,error:d}),(0,n.jsx)(S.A,{});if(!l)return null;let u=l.end_block_number-l.start_block_number+1;return(0,n.jsxs)(D.mc,{templateColumns:{base:"minmax(0, 1fr)",lg:"minmax(min-content, 200px) minmax(0, 1fr)"},children:[(0,n.jsx)(D.gf,{isLoading:o,hint:"Batch number indicates the length of batches produced by grouping L2 blocks to be proven on L1",children:"Txn batch number"}),(0,n.jsxs)(D.Du,{children:[(0,n.jsx)(y.EA,{loading:o,children:l.number}),(0,n.jsx)(P.A,{ml:6,onClick:h,prevLabel:"View previous txn batch",nextLabel:"View next txn batch",isPrevDisabled:0===l.number,isLoading:o})]}),(0,n.jsx)(D.gf,{isLoading:o,hint:"Date and time at which batch is submitted to L1",children:"Timestamp"}),(0,n.jsx)(D.Du,{children:l.commitment_transaction.timestamp?(0,n.jsx)(C.A,{timestamp:l.commitment_transaction.timestamp,isLoading:o}
1):"Undefined"}),(0,n.jsx)(D.gf,{isLoading:o,hint:"Number of transactions in this batch",children:"Transactions"}),(0,n.jsx)(D.Du,{children:(0,n.jsxs)(v.N_,{loading:o,href:(0,_.w)({pathname:"/batches/[number]",query:{number:l.number.toString(),tab:"txs"}}),children:[l.transactions_count.toLocaleString()," transaction",1===l.transactions_count?"":"s"]})}),(0,n.jsx)(D.gf,{isLoading:o,hint:"Number of L2 blocks in this batch",children:"Blocks"}),(0,n.jsx)(D.Du,{children:(0,n.jsxs)(v.N_,{loading:o,href:(0,_.w)({pathname:"/batches/[number]",query:{number:l.number.toString(),tab:"blocks"}}),children:[u.toLocaleString()," block",1===u?"":"s"]})}),(0,n.jsx)(D.gf,{isLoading:o,hint:"Hash of L1 transaction in which transactions was committed",children:"L1 transaction hash"}),(0,n.jsx)(D.Du,{children:(0,n.jsx)(T.A,{isLoading:o,hash:l.commitment_transaction.hash,maxW:"100%"})}),(0,n.jsx)(D.gf,{isLoading:o,hint:"Heigh of L1 block which includes L1 transactions",children:"L1 block"}),(0,n.jsx)(D.Du,{children:(0,n.jsx)(L.A,{isLoading:o,number:l.commitment_transaction.block_number})}),l.data_availability.batch_data_container&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.gf,{isLoading:o,hint:"Where the batch data is stored",children:"Batch data container"}),(0,n.jsx)(D.Du,{children:(0,n.jsx)(w.A,{dataContainer:l.data_availability.batch_data_container,isLoading:o})})]}),(0,n.jsx)(D.gf,{isLoading:o,hint:"The hash of the state before the batch",children:"Before acc"}),(0,n.jsxs)(D.Du,{flexWrap:"nowrap",children:[(0,n.jsx)(y.EA,{loading:o,overflow:"hidden",children:(0,n.jsx)(B.A,{hash:l.before_acc_hash})}),(0,n.jsx)(E.A,{text:l.before_acc_hash,isLoading:o})]}),(0,n.jsx)(D.gf,{isLoading:o,hint:"The hash of the state after the batch",children:"After acc"}),(0,n.jsxs)(D.Du,{flexWrap:"nowrap",children:[(0,n.jsx)(y.EA,{loading:o,overflow:"hidden",children:(0,n.jsx)(B.A,{hash:l.after_acc_hash})}),(0,n.jsx)(E.A,{text:l.after_acc_hash,isLoading:o})]}),("in_anytrust"===l.data_availability.batch_data_container||"in_celestia"===l.data_availability.batch_data_container)&&(0,n.jsxs)(A.v,{loading:o,mt:6,gridColumn:{base:void 0,lg:"1 / 3"},text:["Show data availability info","Hide data availability info"],children:[(0,n.jsx)(j.E,{colSpan:{base:void 0,lg:2},mt:{base:1,lg:4}}),"in_anytrust"===l.data_availability.batch_data_container&&(0,n.jsx)(U,{data:l.data_availability}),"in_celestia"===l.data_availability.batch_data_container&&(0,n.jsx)(K,{data:l.data_availability})]})]})};var X=a(47152),Z=a(49728),Q=a(74166);let Y={marginBottom:0,py:5,marginTop:-5},J=()=>{var e,t,a,j,_;let A;let v=(0,r.useRouter)(),y=(0,c.A)(v.query.number),k=(0,c.A)(v.query.height),w=(0,c.A)(v.query.commitment),E=(0,c.A)(v.query.tab),S=(0,o.A)(),D=function(){let e=(0,r.useRouter)(),t=(0,c.A)(e.query.number),a=(0,c.A)(e.query.height),n=(0,c.A)(e.query.commitment),i=(0,X.A)("general:arbitrum_l2_txn_batch",{pathParams:{number:t},queryOptions:{enabled:!!t,placeholderData:Z.QT}}),l=(0,X.A)("general:arbitrum_l2_txn_batch_celestia",{pathParams:{height:a,commitment:n},queryOptions:{enabled:!!(a&&n),placeholderData:Z.QT}});return t?i:l}(),C=(0,p.A)({resourceName:"general:arbitrum_l2_txn_batch_txs",pathParams:{number:String(null===(e=D.data)||void 0===e?void 0:e.number)},options:{enabled:!!(!D.isPlaceholderData&&(null===(t=D.data)||void 0===t?void 0:t.number)&&"txs"===E),placeholderData:(0,u.k)(h.TX,50,{next_page_params:{batch_number:"8122",block_number:1338932,index:0,items_count:50}})}}),L=(0,p.A)({resourceName:"general:arbitrum_l2_txn_batch_blocks",pathParams:{number:String(null===(a=D.data)||void 0===a?void 0:a.number)},options:{enabled:!!(!D.isPlaceholderData&&(null===(j=D.data)||void 0===j?void 0:j.number)&&"blocks"===E),placeholderData:(0,u.k)(d.I,50,{next_page_params:{batch_number:"8122",block_number:1338932,items_count:50}})}});(0,l.A)(y||k&&w),(0,s.A)(D),"txs"===E&&(A=C.pagination),"blocks"===E&&(A=L.pagination);let T=!S&&(null==A?void 0:A.isVisible),B=i.useMemo(()=>[{id:"index",title:"Details",component:(0,n.jsx)($,{query:D})},{id:"txs",title:"Transactions",component:(0,n.jsx)(Q.A,{query:C,top:80*!!T})},{id:"blocks",title:"Blocks",component:(0,n.jsx)(b.A,{type:"block",query:L,enableSocket:!1,top:80*!!T})}
1].filter(Boolean),[D,C,L,T]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.A,{mb:6}),(0,n.jsx)(g.A,{title:"Txn batch #".concat(null===(_=D.data)||void 0===_?void 0:_.number),isLoading:D.isPlaceholderData}),(0,n.jsx)(m.A,{tabs:B,isLoading:D.isPlaceholderData,listProps:S?void 0:Y,rightSlot:T&&A?(0,n.jsx)(f.A,{...A}):null,stickyEnabled:T})]})}},74166:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(37876);a(14232);var r=a(32777),i=a(45415);let l=e=>{let{filter:t,filterValue:a,query:l,showBlockInfo:s=!0,socketType:o,currentAddress:c,enableTimeIncrement:d,top:h}=e,{data:u,isPlaceholderData:m,isError:b,setSortByValue:x,sorting:g}=(0,i.A)(l);return(0,n.jsx)(r.A,{filter:t,filterValue:a,showBlockInfo:s,socketType:o,currentAddress:c,enableTimeIncrement:d,top:h,items:null==u?void 0:u.items,isPlaceholderData:m,isError:b,setSorting:x,sort:g,pagination:l.pagination})}},79427:(e,t,a)=>{a.d(t,{A:()=>r});let n=[403,404,422,429];function r(e){return n.includes(e.status)}},81258:(e,t,a)=>{a.d(t,{T:()=>h,v:()=>d});var n=a(37876),r=a(43123),i=a(14232),l=a(78226),s=a(81698),o=a(75884);let c={duration:500,smooth:!0},d=e=>{var t,a;let{children:r,id:d="CollapsibleDetails",onClick:h,isExpanded:u=!1,text:m,loading:b,noScroll:x,...g}=e,[f,p]=i.useState(u),j=i.useCallback(e=>{p(e=>!e),x||l.XG.scrollTo(d,c),null==h||h(e)},[d,x,h]);(0,s.w)(()=>{p(u),u&&!x&&l.XG.scrollTo(d,c)},[u,d,x]);let _=f?null!==(t=null==m?void 0:m[1])&&void 0!==t?t:"Hide details":null!==(a=null==m?void 0:m[0])&&void 0!==a?a:"View details";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.N_,{textStyle:"sm",textDecorationLine:"underline",textDecorationStyle:"dashed",w:"fit-content",onClick:j,loading:b,...g,children:(0,n.jsx)(l.Hg,{name:d,children:_})}),f&&r]})},h=e=>{let{items:t,renderItem:a,triggerProps:l,cutLength:s=3,...c}=e,[d,h]=i.useState(!1),u=i.useCallback(()=>{h(e=>!e)},[]);return(0,n.jsxs)(r.s,{flexDir:"column",w:"100%",...c,children:[t.slice(0,d?void 0:s).map(a),t.length>s&&(0,n.jsx)(o.N_,{textStyle:"sm",textDecorationLine:"underline",textDecorationStyle:"dashed",w:"fit-content",minW:"auto",onClick:u,...l,children:d?"Hide":"Show all"})]})}},81698:(e,t,a)=>{a.d(t,{w:()=>r});var n=a(14232);let r=(e,t)=>{let a=function(){let e=n.useRef(!0);return e.current?(e.current=!1,!0):e.current}();n.useEffect(()=>{if(!a)return e()},t)}},94086:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(37876),r=a(41330),i=a(43123),l=a(14232);let s=e=>{let{gradientHeight:t,children:a,onScrollVisibilityChange:s,...o}=e,c=l.useRef(null),[d,h]=l.useState(!1),u=(0,r.r)("colors","bg.primary");return l.useEffect(()=>{if(!c.current)return;let e=c.current.scrollHeight>=c.current.clientHeight+t/2;h(e),null==s||s(e)},[t,s]),(0,n.jsx)(i.s,{flexDirection:"column",overflowY:d?"scroll":"auto",ref:c,_after:d?{position:"absolute",content:'""',bottom:0,left:0,right:"20px",height:"".concat(t,"px"),bg:"linear-gradient(to bottom, transparent, ".concat(u,")")}:void 0,pr:5*!!d,pb:d?"".concat(t,"px"):0,...o,children:a})}}}]); 2//# sourceMappingURL=2944.218d6b9b25618e38.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.