PageSourceSearch

https://bitstack.com/static/js/8884.767ef948.chunk.js

js bitstack.com collected 2026-10-09 04:19:25 UTC 7,996 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbit_stack=self.webpackChunkbit_stack||[]).push([[8884],{48884:function(e,t,n){n.r(t),n.d(t,{default:function(){return L}});var r=n(74165),o=n(1413),i=n(15861),a=n(70885),l=n(83655),c=n(47313),p=n(15082),d=n(41727),u=n(37987),s=n(36668),f=n(14195),h=n(45468),m=n(18201),x=n(52211),g=n(97075),k=n(36269),y=n(60380),b=n(70816),w=n.n(b),v=n(96187),B=n(63830),I=n(46417),C=l.default.div.withConfig({displayName:"Brc20__Brc20Container",componentId:"sc-kk4684-0"})(["width:100%;height:auto;background-color:",";"],(function(e){return e.theme.bg0})),_=l.default.div.withConfig({displayName:"Brc20__Brc20Content",componentId:"sc-kk4684-1"})(["max-width:1180px;margin:0 auto;"]),j=l.default.div.withConfig({displayName:"Brc20__Brc20Header",componentId:"sc-kk4684-2"})(["background:linear-gradient(180deg,#ffffff,#f7f8fa);padding:80px 0;"]),Z=l.default.div.withConfig({displayName:"Brc20__Brc20HeaderTitle",componentId:"sc-kk4684-3"})(["font-size:40px;font-family:Gilroy-Bold4;color:",";line-height:50px;text-align:center;"],(function(e){return e.theme.text2}
1)),N=l.default.div.withConfig({displayName:"Brc20__Brc20HeaderSearchBox",componentId:"sc-kk4684-4"})(["margin-top:50px;display:flex;flex-direction:row;align-items:center;justify-content:center;"]),S=(0,l.default)(p.Z).withConfig({displayName:"Brc20__Brc20HeaderSearchInput",componentId:"sc-kk4684-5"})(["& .MuiInputBase-input:focus{background:transparent!important;}& .MuiInputLabel-root.Mui-focused{color:",";}& .MuiInputBase-formControl{width:675px;height:50px;background-color:",";border:1px solid ",";box-shadow:0px 2px 20px 0px rgba(167,187,212,0.10);}& .MuiInputBase-multiline{height:auto!important;padding:10px 0;}& .MuiFilledInput-root{border-radius:8px;font-family:Inter-Regular;font-size:16px;line-height:20px;color:",";:hover{background-color:",";}::before,:after{border:none!important;}::-webkit-input-placeholder{color:",";}::-moz-placeholder{color:",";}:-ms-input-placeholder{color:",";}input:-moz-placeholder{color:",";}}& .MuiFilledInput-root.Mui-error:after{}& .MuiFilledInput-root.Mui-focused{background-color:",";}& .MuiFilledInput-input{padding:0 20px;height:50px;}"],(function(e){return e.theme.text5}),(function(e){return e.theme.bg0}),(function(e){return e.theme.bg7}),(function(e){return e.theme.text2}),(function(e){return e.theme.bg0}),(function(e){return e.theme.text5}),(function(e){return e.theme.text5}),(function(e){return e.theme.text5}),(function(e){return e.theme.text5}),(function(e){return e.theme.bg0}
1)),z=l.default.span.withConfig({displayName:"Brc20__StyleClearSearchIcon",componentId:"sc-kk4684-6"})(["cursor:pointer;transform:scale(0.9);margin-top:5px;opacity:0.8;&:hover{transform:scale(1);opacity:1;}"]),M=(0,l.default)(u.zx).withConfig({displayName:"Brc20__Brc20HeaderSearchBtn",componentId:"sc-kk4684-7"})(["width:50px;height:50px;border-radius:8px!important;background:",";margin-left:10px!important;cursor:pointer;display:flex!important;align-items:center;justify-content:center;box-shadow:0px 4px 10px 0px rgba(26,32,44,0.15);"],(function(e){return e.theme.bg1})),F=l.default.div.withConfig({displayName:"Brc20__Brc20Body",componentId:"sc-kk4684-8"})(["background-color:#F7F8FA;padding-bottom:60px;"]),D=l.default.div.withConfig({displayName:"Brc20__Brc20FullList",componentId:"sc-kk4684-9"})(["background:",";border:1px solid #E2E8F0;border-radius:12px;box-shadow:0px 2px 20px 0px rgba(167,187,212,0.10);padding:24px 32px;"],(function(e){return e.theme.bg0})),T=l.default.div.withConfig({displayName:"Brc20__Brc20FullListTitle",componentId:"sc-kk4684-10"})(["font-size:20px;font-family:Inter-Bold;color:",";line-height:32px;margin-bottom:24px;"],(function(e){return e.theme.text2}
1)),A=l.default.div.withConfig({displayName:"Brc20__StyledTableValue",componentId:"sc-kk4684-11"})(["font-size:14px;font-family:Inter-Regular;color:",";line-height:20px;word-break:break-all;"],(function(e){return e.theme.text2})),E=l.default.div.withConfig({displayName:"Brc20__StyledTableValue1",componentId:"sc-kk4684-12"})(["font-size:16px;font-family:Inter-Bold;color:",";line-height:24px;display:flex;flex-direction:row;align-items:center;img{margin-right:4px;}"],(function(e){return e.theme.text2})),H=l.default.div.withConfig({displayName:"Brc20__StyledDetailsButton",componentId:"sc-kk4684-13"})(["cursor:pointer;"]),R=l.default.div.withConfig({displayName:"Brc20__StyledPaginationBox",componentId:"sc-kk4684-14"})(["padding:24px 0 40px;"]);function Y(e){var t=e.data,r=[];return null===t||void 0===t||t.forEach((function(e,t){var o;try{o=n(12389)("./".concat(e.name.toLowerCase(),".png"))}catch(i){o=v.Z.DefaultBrc20Icon}r.push({token:(0,I.jsxs)(E,{children:[(0,I.jsx)("img",{width:"24",height:"24",src:o,onError:P,alt:""}),e.name]}),time:(0,I.jsx)(A,{children:e.deployTime?w()(1e3*e.deployTime).format("YYYY-MM-DD HH:mm:ss"):"-"}),supply:(0,I.jsx)(A,{children:(0,x.Kr)(e.supply||0)}),minted:(0,I.jsx)(A,{children:(0,x.Kr)(e.minted||0)}),handle:(0,I.jsx)(H,{children:(0,I.jsx)(s.Z,{icon:"arrow-right-s",size:20,color:"#A0AEC0"})})})})),r}function L(e){var t;(0,g.ZY)();var n=e.history,l=(0,B.UO)().chain,p=(0,f.Z)().text1,u=(0,c.useRef)(null),x=(0,g.i$)(),b=(0,c.useState)(""),w=(0,a.Z)(b,2),v=w[0],A=w[1],E=(0,c.useState)([]),H=(0,a.Z)(E,2),L=H[0],P=H[1],U=(0,c.useState)(!0),V=(0,a.Z)(U,2),K=V[0],G=V[1],O=(0,c.useState)({pageSize:20,pageNum:1,total:0}),Q=(0,a.Z)(O,2),$=Q[0],q=Q[1];function J(){return W.apply(this,arguments)}function W(){return(W=(0,i.Z)((0,r.Z)().mark((function e(){var t,n,i,a,c,p,d,u,s,f,h;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,G(!0),P([]),e.next=5,(0,k.h6)({chain:l,page:$.pageNum-1,pageSize:$.pageSize});case 5:t=e.sent,i=(n=null!==t&&void 0!==t?t:{}).status,a=n.msg,c=n.data,p=(c=void 0===c?{}:c).data,d=void 0===p?[]:p,u=c.total,s=void 0===u?0:u,i?($.total=null!==(f=Math.ceil(s/$.pageSize))&&void 0!==f?f:0,q((0,o.Z)({},$)),h=Y({data:d}),P(h)):x("error",a,"full-tokens-error",2500),G(!1),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(0),x("error",e.t0,"full-tokens-error",2500),G(!1);case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))).apply(this,arguments)}(0,c.useEffect)((function(){y.m.includes(l)&&($.pageNum=1,$.total=0,q((0,o.Z)({},$)),J())}),[l]);var X=function(){var e=(0,i.Z)((0,r.Z)().mark((function e(t,n){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return $.pageNum=n,q((0,o.Z)({},$)),u.current&&u.current.scrollIntoView(),e.next=5,J();case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();return(0,I.jsxs)(C,{children:[(0,I.jsx)(j,{children:(0,I.jsxs)(_,{children:[(0,I.jsxs)(Z,{children:[(null===(t=y.D[l])||void 0===t?void 0:t.toUpperCase())||"Unknow"," Information Query"]}),(0,I.jsxs)(N,{children:[(0,I.jsx)(S,{autoComplete:"off",placeholder:"Search address or hash",variant:"filled",value:v,onChange:function(e){A(e.target.value.trim())},InputProps:{endAdornment:(0,I.jsx)(d.Z,{position:"end",children:(0,I.jsx)(z,{onClick:function(){A("")},children:(0,I.jsx)(s.Z,{icon:"close-circle",type:"fill",size:20,color:"#A0AEC0"})})})}}),(0,I.jsx)(M,{onClick:function(){v&&(64==v.length?n.push("/explorer/"+l+"/tx?t="+v):n.push("/explorer/"+l+"/address?a="+v))},children:(0,I.jsx)(s.Z,{icon:"search",size:20,color:p})})]})]})}),(0,I.jsx)(F,{children:(0,I.jsx)(_,{ref:u,children:(0,I.jsxs)(D,{children:[(0,I.jsxs)(T,{children:["All ",y.D[l]||"unknow"," tokens"]}),(0,I.jsx)(h.Z,{data:L,isPending:K,header:[{name:"Token",props:"token",align:"left"},{name:"Deploy Time",props:"time",align:"left"},{name:"Supply",props:"supply",align:"left"},{name:"Minted",props:"minted",align:"left"},{name:"",props:"handle",align:"right"}],onRowClick:function(e){var t=e.token.props.children;t&&n.push("/explorer/"+l+"/token?n="+encodeURIComponent(t[1]))}}),$.total>1&&!K?(0,I.jsx)(R,{children:(0,I.jsx)(m.Z,{total:$.total,page:$.pageNum,onPaginationChange:X})}):null]})})})]})}function P(e){e.target.src=v.Z.DefaultBrc20Icon}}}]);

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.