PageSourceSearch

https://taostats.io/_next/static/chunks/04y7gzvrt9552.js

js taostats.io collected 2026-09-25 18:46:28 UTC 31,840 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,326999,e=>{"use strict";var t=e.i(271645),r=e.i(981140),a=e.i(820783),l=e.i(30030),o=e.i(610772),n=e.i(369340),i=e.i(726330),s=e.i(765491),d=e.i(774606),c=e.i(296626),u=e.i(248425),m=e.i(303536),g=e.i(985369),p=e.i(186312),f=e.i(991918),h=e.i(843476),x="Dialog",[b,y]=(0,l.createContextScope)(x),[v,C]=b(x),w=e=>{let{__scopeDialog:r,children:a,open:l,defaultOpen:i,onOpenChange:s,modal:d=!0}=e,c=t.useRef(null),u=t.useRef(null),[m,g]=(0,n.useControllableState)({prop:l,defaultProp:i??!1,onChange:s,caller:x});return(0,h.jsx)(v,{scope:r,triggerRef:c,contentRef:u,contentId:(0,o.useId)(),titleId:(0,o.useId)(),descriptionId:(0,o.useId)(),open:m,onOpenChange:g,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),modal:d,children:a})};w.displayName=x;var j="DialogTrigger",N=t.forwardRef((e,t)=>{let{__scopeDialog:l,...o}=e,n=C(j,l),i=(0,a.useComposedRefs)(t,n.triggerRef);return(0,h.jsx)(u.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":_(n.open),...o,ref:i,onClick:(0,r.composeEventHandlers)(e.onClick,n.onOpenToggle)})});N.displayName=j;var D="DialogPortal",[k,E]=b(D,{forceMount:void 0}),R=e=>{let{__scopeDialog:r,forceMount:a,children:l,container:o}=e,n=C(D,r);return(0,h.jsx)(k,{scope:r,forceMount:a,children:t.Children.map(l,e=>(0,h.jsx)(c.Presence,{present:a||n.open,children:(0,h.jsx)(d.Portal,{asChild:!0,container:o,children:e})}))})};R.displayName=D;var S="DialogOverlay",I=t.forwardRef((e,t)=>{let r=E(S,e.__scopeDialog),{forceMount:a=r.forceMount,...l}=e,o=C(S,e.__scopeDialog);return o.modal?(0,h.jsx)(c.Presence,{present:a||o.open,children:(0,h.jsx)(O,{...l,ref:t})}):null});I.displayName=S;var F=(0,f.createSlot)("DialogOverlay.RemoveScroll"),O=t.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,l=C(S,r);return(0,h.jsx)(g.RemoveScroll,{as:F,allowPinchZoom:!0,shards:[l.contentRef],children:(0,h.jsx)(u.Primitive.div,{"data-state":_(l.open),...a,ref:t,style:{pointerEvents:"auto",...a.style}})})}),L="DialogContent",T=t.forwardRef((e,t)=>{let r=E(L,e.__scopeDialog),{forceMount:a=r.forceMount,...l}=e,o=C(L,e.__scopeDialog);return(0,h.jsx)(c.Presence,{present:a||o.open,children:o.modal?(0,h.jsx)(A,{...l,ref:t}):(0,h.jsx)(M,{...l,ref:t})})});T.displayName=L;var A=t.forwardRef((e,l)=>{let o=C(L,e.__scopeDialog),n=t.useRef(null),i=(0,a.useComposedRefs)(l,o.contentRef,n);return t.useEffect(()=>{let e=n.current;if(e)return(0,p.hideOthers)(e)},[]),(0,h.jsx)(P,{...e,ref:i,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),M=t.forwardRef((e,r)=>{let a=C(L,e.__scopeDialog),l=t.useRef(!1),o=t.useRef(!1);return(0,h.jsx)(P,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(l.current||a.triggerRef.current?.focus(),t.preventDefault()),l.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;a.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),P=t.forwardRef((e,r)=>{let{__scopeDialog:l,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:d,...c}=e,u=C(L,l),g=t.useRef(null),p=(0,a.useComposedRefs)(r,g);return(0,m.useFocusGuards)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(s.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:d,children:(0,h.jsx)(i.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":_(u.open),...c,ref:p,onDismiss:()=>u.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(X,{titleId:u.titleId}),(0,h.jsx)(G,{contentRef:g,descriptionId:u.descriptionId})]})]})}),z="DialogTitle",U=t.forwardRef((e,t)=>
1{let{__scopeDialog:r,...a}=e,l=C(z,r);return(0,h.jsx)(u.Primitive.h2,{id:l.titleId,...a,ref:t})});U.displayName=z;var B="DialogDescription",V=t.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,l=C(B,r);return(0,h.jsx)(u.Primitive.p,{id:l.descriptionId,...a,ref:t})});V.displayName=B;var H="DialogClose",W=t.forwardRef((e,t)=>{let{__scopeDialog:a,...l}=e,o=C(H,a);return(0,h.jsx)(u.Primitive.button,{type:"button",...l,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function _(e){return e?"open":"closed"}W.displayName=H;var K="DialogTitleWarning",[$,Y]=(0,l.createContext)(K,{contentName:L,titleName:z,docsSlug:"dialog"}),X=({titleId:e})=>{let r=Y(K),a=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},G=({contentRef:e,descriptionId:r})=>{let a=Y("DialogDescriptionWarning"),l=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${a.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");r&&t&&(document.getElementById(r)||console.warn(l))},[l,e,r]),null};e.s(["Close",0,W,"Content",0,T,"Description",0,V,"Dialog",0,w,"DialogClose",0,W,"DialogContent",0,T,"DialogDescription",0,V,"DialogOverlay",0,I,"DialogPortal",0,R,"DialogTitle",0,U,"DialogTrigger",0,N,"Overlay",0,I,"Portal",0,R,"Root",0,w,"Title",0,U,"Trigger",0,N,"WarningProvider",0,$,"createDialogScope",0,y])},190570,e=>{"use strict";let t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",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:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},r=RegExp(Object.keys(t).join("|"),"g");function a(e,t,r){let a;return(e=l(e,r),(t=l(t,r)).length>e.length)?0:e===t?7:(e=e.toLowerCase())===(t=t.toLowerCase())?6:e.startsWith(t)?5:e.includes(` ${t}`)?4:e.includes(t)?3:1===t.length?0:(a="",e.split(" ").forEach(e
5=>{e.split("-").forEach(e=>{a+=e.substr(0,1)})}),a).includes(t)?2:function(e,t){let r=0,a=0;function l(e,t,a){for(let l=a,o=t.length;l<o;l++)if(t[l]===e)return r+=1,l+1;return -1}let o=l(t[0],e,0);if(o<0)return 0;a=o;for(let r=1,o=t.length;r<o;r++)if(!((a=l(t[r],e,a))>-1))return 0;return 1+1/(a-o)*(r/t.length)}(e,t)}function l(e,a){let{keepDiacritics:l}=a;return e=`${e}`,l||(e=e.replace(r,e=>t[e])),e}let o={maxRanking:1/0,minRanking:-1/0};e.s(["rankItem",0,function(e,t,r){var l;if((r=r||{}).threshold=null!=(l=r.threshold)?l:1,!r.accessors){let l=a(e,t,r);return{rankedValue:e,rank:l,accessorIndex:-1,accessorThreshold:r.threshold,passed:l>=r.threshold}}let n=function(e,t){let r=[];for(let l=0,n=t.length;l<n;l++){var a;let n=t[l],i="function"==typeof(a=n)?o:{...o,...a},s=function(e,t){let r=t;"object"==typeof t&&(r=t.accessor);let a=r(e);return null==a?[]:Array.isArray(a)?a:[String(a)]}(e,n);for(let e=0,t=s.length;e<t;e++)r.push({itemValue:s[e],attributes:i})}return r}(e,r.accessors),i={rankedValue:e,rank:0,accessorIndex:-1,accessorThreshold:r.threshold,passed:!1};for(let e=0;e<n.length;e++){let l=n[e],o=a(l.itemValue,t,r),{minRanking:s,maxRanking:d,threshold:c=r.threshold}=l.attributes;o<s&&o>=1?o=s:o>d&&(o=d),(o=Math.min(o,d))>=c&&o>i.rank&&(i.rank=o,i.passed=!0,i.accessorIndex=e,i.accessorThreshold=c,i.rankedValue=l.itemValue)}return i}])},235079,e=>{"use strict";var t=e.i(271645);let r=({size:e=24,color:r="currentColor",...a})=>t.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:r,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},t.createElement("path",{d:"m21 21-3.5-3.5m2.5-6a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0Z"}));r.displayName="SearchLg",e.s(["SearchLg",0,r])},524092,e=>{"use strict";var t=e.i(271645);e.s(["useDebounce",0,function(e,r){let[a,l]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=setTimeout(()=>{l(e)},r);return()=>{clearTimeout(t)}},[e,r]),a}])},692429,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(152990),l=e.i(710656),o=e.i(503975);e.s(["Header",0,({tableName:e,setWidths:n,widths:i,invisible:s,...d})=>{let c=(0,r.useRef)(null),u=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!u.current&&n&&c.current)return u.current=new ResizeObserver(e=>{n(Array.from(e[0].target.children).map(e=>e.clientWidth))}),u.current.observe(c.current),()=>{u.current?.disconnect(),u.current=null}},[n]),(0,t.jsx)("thead",{className:(0,o.cn)(s&&"invisible"),children:d.getHeaderGroups().map(r=>(0,t.jsx)("tr",{ref:c,children:r.headers.map((r,n)=>(0,t.jsx)("th",{onClick:()=>{r.column.getCanSort()&&r.column.toggleSorting("asc"!==r.column.getNextSortingOrder())},className:(0,o.cn)("cursor-default px-2 py-2 text-left text-xs font-[400] text-neutral-500 transition",r.column.getCanSort()?"hover:text-neutral-300":"","root-metagraph"===e&&2===n?"z-1 sticky left-0 bg-neutral-900":"root-metagraph-history"===e&&0===n||"subnets"===e&&2===n?"z-1 sticky left-0 bg-[#121212]":""),style:i?.[n]?{minWidth:`${i[n]}px`}:{},children:(0,t.jsxs)("span",{className:(0,o.cn)("group flex select-none items-center gap-3 truncate py-1",r.column.getIsSorted()&&"text-ocean"),children:[r.isPlaceholder?null:(0,a.flexRender)(r.column.columnDef.header,r.getContext()),r.column.getCanSort()?(0,t.jsx)(l.CgChevronUp,{className:(0,o.cn)("transition-transform","asc"===r.column.getIsSorted()?"":"desc"===r.column.getIsSorted()?"rotate-180":"rotate-45 opacity-50 saturate-0 group-hover:opacity-80")}):null]})},r.id))},r.id))})}])},36565,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(190570),l=e.i(682830),o=e.i(152990),n=e.i(503975),i=e.i(692429),s=e.i(723088),d=e.i(146977),c=e.i(542781),u=e.i(447721),m=e.i(846932);let g=({row:e,i:a,pageSize:l=50,latestHighlight:i,small:s,isFocus:d,tableName:c,colors:u,subnetColors:g,onClick:p,link:f,className:h,bottom:x})=>{let b=!!e.original.isCurrent,[y,v]=(0,r.useState)(!1);return(0,t.jsx)(m.motion.tr,{initial:{opacity:0}
5,animate:{opacity:1},transition:{duration:.5,delay:a%l*.01},className:(0,n.cn)("overflow-hidden text-xs",x?"rounded-none":"rounded-lg",!b&&(0===a&&i?"bg-ocean/10 hover:bg-ocean/20":"bg-neutral-800/20 hover:bg-neutral-800 [&:hover>td]:bg-neutral-800"),!b&&"child-hotkey"===c&&"bg-[#0D0D0D] hover:bg-[#0C0C0C] [&:hover>td]:bg-[#0C0C0C]",!b&&d?"bg-neutral-700":"",h),style:b?{backgroundColor:y?"rgba(0, 219, 188, 0.3)":"rgba(0, 219, 188, 0.2)"}:void 0,onMouseEnter:()=>{b&&v(!0)},onMouseLeave:()=>{b&&v(!1)},onClick:e=>{p&&p(e)},children:e.getVisibleCells().map((e,r)=>(0,t.jsx)("td",{className:(0,n.cn)(s&&"!h-10","h-12.5 cursor-default text-left",f&&"cursor-pointer",x&&"!rounded-l-none !rounded-r-none border-b border-t border-b-[#FFFFFF4D] border-t-[#FFFFFF4D]",!b&&(0===a&&i?"text-ocean":"text-white"),"overflow-hidden first:rounded-l-lg first:pl-2 last:rounded-r-lg last:pr-2","root-metagraph"===c&&2===r?"z-1 sticky left-0 bg-[#1a1a1a]":"root-metagraph-history"===c&&0===r?"z-1 sticky left-0 bg-[#151515]":"subnets"===c&&2===r?"z-1 sticky left-0 bg-[#121212]":""),style:b?{color:"#00DBBC"}:void 0,children:(0,t.jsx)("div",{className:(0,n.cn)(s&&"!h-10","h-12.5 flex w-max items-center px-2"),style:{backgroundColor:"root-metagraph-history"===c&&0!==r&&u?.[r-1]||"",color:"root-metagraph"===c&&r>3?Math.abs(g?.[r-4]??0)>2?"#eb8547":Math.abs(g?.[r-4]??0)>1?"#ffdb29":Math.abs(g?.[r-4]??0)>3?"#bf1111":"#FFFFFF":""},children:(0,o.flexRender)(e.column.columnDef.cell,e.getContext())})},e.id))})},p=({row:e,i:a,pageSize:l=50,small:i})=>{let s=(0,r.useMemo)(()=>Number(e.original.updated)>1e3||Number(e.original.last_updated)>1e3,[e.original.updated,e.original.last_updated]),d=(0,r.useMemo)(()=>!!e.original.isChildkey,[e.original.isChildkey]);return(0,t.jsx)(m.motion.tr,{initial:{opacity:0}
5,animate:{opacity:1},transition:{duration:.5,delay:a%l*.01},className:(0,n.cn)("overflow-hidden rounded-lg text-xs","bg-neutral-800/20 hover:bg-neutral-800 [&:hover>td]:bg-neutral-800",s?"bg-[#EB5347]/20 hover:bg-[#EB5347]/30 [&:hover>td]:bg-[#EB5347]/30":d?"bg-yellow-100/10 hover:bg-yellow-100/20 [&:hover>td]:bg-yellow-100/20":"bg-neutral-900 hover:bg-neutral-800 [&:hover>td]:bg-neutral-800",d?"border-yellow-200/50":s?"border-rose-500":"border-neutral-800"),children:e.getVisibleCells().map(e=>(0,t.jsx)("td",{className:(0,n.cn)(i&&"!h-10","h-14 cursor-default px-2 text-left text-white","overflow-hidden first:rounded-l-lg first:pl-5 last:rounded-r-lg last:pr-5"),children:(0,o.flexRender)(e.column.columnDef.cell,e.getContext())},e.id))})};e.s(["BubbleTable",0,({heading:e,description:m,rowData:f,columnSchemas:h,searchable:x,searchPlaceholder:b="Filter Table...",initialSortBy:y=[],selector:v,pageSize:C=50,isFetching:w=!1,latestHighlight:j,small:N,initialPageSize:D=10,focusIndex:k,closeIcon:E=!0,csvFilename:R,amountFilter:S,customFilters:I,isManual:F=!0,rowTotalData:O,onFilterChange:L,onLimitChange:T,onRowClick:A,variant:M="Default",colors:P,subnetColor:z,stickyHeader:U,stickyHeaderClass:B="bg-darkgrey md:bg-neutral-900",iconClassName:V,inputClassName:H,inputStyleClassName:W,topPagination:_,taoSwitch:K,link:$,csvExport:Y=!0,inlineHeading:X,className:G,selectorType:Z,searchInputRootClassName:q,bottom:J=!1,suffix:Q})=>{let ee=(0,r.useMemo)(()=>[...f],[f]),[et,er]=(0,r.useState)(y),[ea,el]=(0,r.useState)(""),[eo,en]=(0,r.useState)(void 0),ei=(0,r.useRef)(null),es=(0,r.useRef)(null),ed=(0,l.createColumnHelper)(),ec=h.map(e=>{let t="accessorKey"in e?e.accessorKey:void 0,r="id";return t?r=t:e.id&&(r=e.id),ed.accessor(r,{id:e.id??t,header:e.header,footer:e.footer,cell:e.cell,sortingFn:e.sortingFn??"auto",enableSorting:e.enableSorting,size:e.size})}),eu=(0,o.useReactTable)({data:ee,columns:ec,state:{sorting:et,globalFilter:ea},getCoreRowModel:(0,l.getCoreRowModel)(),getSortedRowModel:(0,l.getSortedRowModel)(),getFilteredRowModel:(0,l.getFilteredRowModel)(),onSortingChange:er,manualSorting:F,manualFiltering:F,globalFilterFn:(e,t,r,l)=>{let o=(0,a.rankItem)(e.getValue(t),r);return l({itemRank:o}),o.passed},onGlobalFilterChange:el,sortDescFirst:!0}),em=(0,r.useCallback)((e,t)=>{L&&L(e,t)},[L]);return(0,r.useEffect)(()=>{if(U){let e=ei.current,t=es.current;if(!e||!t)return;let r=r=>{r.target===e?t.scrollLeft=e.scrollLeft:r.target===t&&(e.scrollLeft=t.scrollLeft)};return e.addEventListener("scroll",r),t.addEventListener("scroll",r),()=>{e.removeEventListener("scroll",r),t.removeEventListener("scroll",r)}}},[U]),(0,r.useEffect)(()=>{em(ea,et)},[et,ea,em]),(0,t.jsxs)("div",{className:"flex w-full flex-col items-start",children:[e||m||x||S||v||K?(0,t.jsxs)("section",{id:"taostats-table-header",className:"flex w-full flex-col gap-4",children:[e&&!X?(0,t.jsx)(u.Text,{level:"mdTitle",className:"font-medium",children:e}):null,m?(0,t.jsx)(u.Text,{level:"sm",className:"text-neutral-700",children:m}):null,(0,t.jsxs)("div",{className:(0,n.cn)("flex w-full flex-row items-center gap-4 md:pb-4","Subnets"!==M?"flex-wrap":"max-lg:flex-col max-lg:items-start"),children:[e&&X?(0,t.jsx)(u.Text,{level:"mdTitle",className:"font-medium",children:e}):null,(0,t.jsxs)("div",{className:(0,n.cn)("flex flex-wrap items-end gap-2",("Subnets"===M||"Validator"===M)&&"!w-full",q),children:[S||null,x?(0,t.jsx)(d.SearchInput,{setGlobalFilter:el,closeIcon:E,searchPlaceholder:b,iconClassName:V,inputClassName:H,inputStyleClassName:W}):null]}),I||null,(0,t.jsxs)("div",{className:"ml-auto flex flex-row items-center gap-10",children:[K||null,_?null:(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-row items-center gap-6",children:[v?(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(c.Selector,{selectorType:Z,defaultSize:D,onLimitChange:T})}):null,Y?(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(s.CSVModal,{rowData:O??f,columnSchemas:h,filename:R})}):null]}),Q||null]})]})]}),(0,t.jsxs)("div",{className:"flex flex-row justify-between pb-4 md:hidden",children:[v?(0,t.jsx)(c.Selector,{selectorType:Z,defaultSize:D,onLimitChange:T,className:"justify-start"}):null,Y?(0,t.jsx)(s.CSVModal,{rowData:O??f,columnSchemas:h,filename:R}):null]})]}):null,U?(0,t.jsx)("div",{ref:ei,className:(0,n.cn)("no-scrollbar z-1 sticky top-[110px] -mb-8 max-w-full overflow-x-auto md:top-[104px]",B),children:(0,t.jsx)("table",{children:(0,t.jsx)(i.Header,{widths:eo,...eu,tableName:R})})}):null,(0,t.jsx)("div",{ref:es,className:"w-full overflow-x-auto",children:(0,t.jsxs)("table",{id:"taostats-table",className:(0,n.cn)("min-w-full border-separate","WeightEvent"===M?"border-spacing-y-0":"border-spacing-y-1"),children:[(0,t.jsx)(i.Header,{invisible:U,setWidths:U?en:void 0,...eu,tableName:R}),(0,t.jsxs)("tbody",{className:"space-y-1",children:[eu.getRowModel().rows.map((e,t)=>{let a={latestHighlight:j,row:e,i:t,pageSize:C,small:N,isFocus:k===t,tableName:R};return"ValidatorPerformance"===M?(0,r.createElement)(p,{...a,key:e.id}):"WeightEvent"===M?(0,r.createElement)(g,{...a,colors:P?P[t]:[],key:e.id,link:$,onClick:e=>A?.(e,a.row),className:G}):"RootMetagraph"===M?(0,r.createElement)(g,{...a,subnetColors:z?z[t]:[],key:e.id,onClick:e=>A?.(e,a.row),link:$,className:G}):"Subnets"===M?(0,r.createElement)(g,{...a,key:e.id,bottom:J&&void 0===e.original.netuid,link:void 0!==e.original.netuid&&$,onClick:void 0!==e.original.netuid?e=>A?.(e,a.row):void 0,className:G}):(0,r.createElement)(g,{...a,key:e.id,link:$,onClick:e=>A?.(e,a.row),className:G})}),w?Array.from({length:10}).map((e,r)=>(0,t.jsx)("tr",{className:(0,n.cn)("w-full animate-pulse overflow-hidden rounded-lg bg-neutral-800/50",N?"h-10":"h-14"),children:h.map((e,r)=>(0,t.jsx)("td",{className:"overflow-hidden first:rounded-l-lg last:rounded-r-lg"},r))},r)):null]})]})})]})}],36565)},723088,e=>{"use strict";var t=e.i(843476);let r=(0,e.i(475254).default)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);var a=e.i(833401),l=e.i(251458),o=e.i(348099),n=e.i(481972),i=e.i(356143),s=e.i(293543);
5e.s(["CSVModal",0,function({rowData:e,columnSchemas:d,filename:c}){let{getDashUrl:u}=(0,l.useUrlResolver)();return(0,t.jsxs)(n.DialogRoot,{children:[(0,t.jsxs)(n.DialogTrigger,{className:"flex items-center gap-1 rounded-lg border border-[#323232] bg-[#1D1D1D] p-2 text-sm font-medium leading-[16px] hover:bg-neutral-800",children:["CSV ",(0,t.jsx)(a.BiArrowToBottom,{size:16})]}),(0,t.jsxs)(n.DialogContent,{className:"z-[130]",children:[(0,t.jsx)(n.DialogHeader,{children:"Export to CSV"}),(0,t.jsx)(n.DialogDescription,{children:"Download a limited set of data using our CSV export tool, or dive deeper into the chain using our taostats API"}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsxs)(o.Button,{variant:"secondary2",size:"sm",className:"w-fit",onClick:()=>{(0,s.exportToCSV)(e,d,c)},children:[(0,t.jsx)(r,{size:12})," Limited Data CSV"]}),(0,t.jsxs)(o.Button,{variant:"primary",size:"sm",className:"w-fit",onClick:()=>{window.location.href=u("/")},children:[(0,t.jsx)(i.Taostats,{className:"h-3 w-3"})," Discover our API"]})]})]})]})}],723088)},293543,e=>{"use strict";var t=e.i(166540);e.s(["exportToCSV",0,(e,r,a)=>{let l=new Blob([[r.map(e=>{let t={column:e,header:e.header,table:{}},r="function"==typeof e.header?e.header(t)?.props?.title?e.header(t)?.props?.title:e.header(t)?.props?.children:e.header;return"root-metagraph"===a&&e.id?.toString().includes("sn")?e.id.toLocaleUpperCase():r}).join(","),...e?.map(e=>r.map(t=>e[t.id??""]).join(","))??[]].join("\n")],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a");if(void 0!==o.download){let e=`${a??"data"}-${(0,t.utc)().format("YYYY-MM-DD")}.csv`,r=URL.createObjectURL(l);o.setAttribute("href",r),o.setAttribute("download",e),o.style.visibility="hidden",document.body.appendChild(o),o.click(),document.body.removeChild(o)}}])},481972,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(326999),l=e.i(833401),o=e.i(503975),n=e.i(767683),i=e.i(334050),s=e.i(630116);let d=a.Root,c=a.Trigger,u=a.Portal,m=a.Close,g=r.forwardRef(({className:e,...r},l)=>(0,t.jsx)(a.Overlay,{ref:l,className:(0,o.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0  fixed inset-0 z-50 backdrop-blur",n.isNewLookEnabled?"bg-bg-secondary-solid/60 backdrop-blur-md [.light_&]:bg-black/60":"bg-black/80",e),...r}));g.displayName=a.Overlay.displayName;let p=r.forwardRef(({className:e,children:r,paymentLayer:d=!1,closeLabel:c="Close",closeDisabled:m=!1,hideClose:p=!1,...f},h)=>(0,t.jsxs)(u,{children:[(0,t.jsx)(g,{className:d?s.paymentReducedMotion:void 0,style:d?{zIndex:i.paymentLayers.dialogBackdrop}:void 0}),(0,t.jsxs)(a.Content,{ref:h,style:d?{zIndex:i.paymentLayers.dialog}:void 0,className:(0,o.cn)("bg-app-bg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border-white/30 p-6 shadow-lg duration-200 sm:rounded-lg",d&&s.paymentReducedMotion,e),...f,children:[r,p?null:(0,t.jsxs)(a.Close,{disabled:m,className:(0,o.cn)("ring-offset-app-bg focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute right-4 top-4 roun
5ded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",n.isNewLookEnabled&&"text-fg-primary"),children:[(0,t.jsx)(l.BiX,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"sr-only",children:c})]})]})]}));p.displayName=a.Content.displayName;let f=({className:e,...r})=>(0,t.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});f.displayName="DialogHeader";let h=({className:e,...r})=>(0,t.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r});h.displayName="DialogFooter";let x=r.forwardRef(({className:e,...r},l)=>(0,t.jsx)(a.Title,{ref:l,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",e),...r}));x.displayName=a.Title.displayName;let b=r.forwardRef(({className:e,...r},l)=>(0,t.jsx)(a.Description,{ref:l,className:(0,o.cn)("text-muted-foreground text-sm",e),...r}));b.displayName=a.Description.displayName,e.s(["DialogClose",0,m,"DialogContent",0,p,"DialogDescription",0,b,"DialogFooter",0,h,"DialogHeader",0,f,"DialogOverlay",0,g,"DialogPortal",0,u,"DialogRoot",0,d,"DialogTitle",0,x,"DialogTrigger",0,c])},866320,e=>{"use strict";var t=e.i(843476),r=e.i(7062),a=e.i(225913),l=e.i(114674),o=e.i(503975),n=e.i(767683);let i=(0,a.cva)("flex h-8 w-full rounded-md border items-center border-input bg-neutral-900 gap-2 px-3 py-1 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",{variants:{intent:{primary:["bg-neutral-900","text-white","hover:bg-neutral-800"],secondary:["bg-white","text-gray-800","border-gray-400","hover:bg-gray-100"]},size:{small:["w-70","py-1","px-4"],default:["py-1","px-3"],xl:["h-14","px-lg","py-lg"]}},defaultVariants:{intent:"primary",size:"default"}}),s=(0,a.cva)("flex h-8 w-full items-center gap-2 rounded-md border border-primary bg-secondary px-3 py-1 text-sm text-fg-primary transition-colors duration-500 focus-within:border-brand disabled:cursor-not-allowed disabled:opacity-50",{variants:{intent:{primary:["bg-secondary","text-fg-primary"],secondary:["bg-tertiary","text-fg-tertiary","border-primary"]},size:{small:["w-70","py-1","px-4"],default:["py-1","px-3"],xl:["h-14","px-lg","py-lg"]}},defaultVariants:{intent:"primary",size:"default"}});e.s(["InputRoot",0,({intent:e,size:a,placeholder:d,icon:c,value:u,setValue:m,className:g,inputClassName:p,onKeyUp:f,onKeyDown:h,onFocus:x,onClick:b,onBlur:y,type:v,clearIcon:C,maxLength:w,iconClassName:j,iconSize:N=14,leftContent:D,rightContent:k,min:E,disabled:R,inputId:S,"aria-describedby":I})=>{let F=n.isNewLookEnabled?s({intent:e,size:a}):i({intent:e,size:a});return(0,t.jsxs)("div",{className:(0,o.cn)(F,g),children:[D,c?(0,t.jsx)(c,{size:N,className:(0,o.cn)("shrink-0",n.isNewLookEnabled?"text-fg-tertiary":"text-neutral-500",j)}):null,(0,t.jsx)("input",{id:S,"aria-describedby":I,onChange:e=>m?.(e.target.value),value:u,className:(0,o.cn)("h-full w-full flex-1 bg-transparent text-xs focus:border-none focus:outline-none focus:ring-0",n.isNewLookEnabled?"text-fg-primary placeholder:text-fg-tertiary":"placeholder:text-neutral-500",p),placeholder:d,onKeyUp:f,onKeyDown:h,onFocus:x,onClick:b,onBlur:y,type:v,maxLength:w,min:E,autoComplete:"off",disabled:R}),C&&u&&u.length>0?n.isNewLookEnabled?(0,t.jsx)("button",{type:"button",onClick:()=>m?.(""),className:"text-fg-tertiary hover:text-fg-primary flex shrink-0 items-center justify-center transition-colors","aria-label":"Clear input",children:(0,t.jsx)(r.XClose,{size:16})}):(0,t.jsx)(l.HiXMark,{cursor:"pointer",size:18,onClick:()=>m?.(""),className:"rounded-full bg-[#535353] p-0.5"}):null,k]})}])},146977,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(235079),l=e.i(618566),o=e.i(833401),n=e.i(524092),i=e.i(503975),s=e.i(767683),d=e.i(866320);e.s(["SearchInput",0,({closeIcon:e,searchPlaceholder:c,setGlobalFilter:u,iconClassName:m,inputClassName:g,inputStyleClassName:p,rightContent:f,type:h})=>{let x=(0,l.useSearchParams)(),[b,y]=(0,r.useState)(!0),[v,C]=(0,r.useState)(""),w=(0,n.useDebounce)(v,300),j=(0,r.useCallback)(e=>{"Enter"===e.key&&u(v)},[v,u]);return(0,r.useEffect)(()=>{u(w)},[w,u]),(0,r.useEffect)(()=>
5{if(b){y(!1);let e=x.get("filter");null!==e&&"Menu"!==h&&(C(e),u(e))}},[x,b,u,h]),(0,t.jsx)(d.InputRoot,{size:"small",intent:s.isNewLookEnabled?"secondary":"primary",value:v,setValue:C,icon:s.isNewLookEnabled?a.SearchLg:o.BiSearch,placeholder:c,onKeyUp:j,clearIcon:e,className:(0,i.cn)("h-9",p),inputClassName:g,iconClassName:m,rightContent:f})}])},542781,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566),l=e.i(503975),o=e.i(447721);let n=[{label:10,value:10},{label:25,value:25},{label:50,value:50},{label:100,value:100},{label:"ALL",value:-1}];e.s(["Selector",0,({defaultSize:e=10,onLimitChange:i,selectorType:s,className:d})=>{let c=(0,a.useRouter)(),u=(0,a.usePathname)(),m=(0,a.useSearchParams)(),[g,p]=(0,r.useState)(e),f=(0,r.useMemo)(()=>Number(m.get("limit")??e),[m,e]),h=(0,r.useCallback)(t=>{if(i){i(t),p(t);return}let r=new URLSearchParams(m),a=r.get("limit");Number(a)!==t&&(null!==a||t!==e)&&(r.set("limit",`${t}`),r.delete("page"),c.push(`${u}?${r.toString()}`,{scroll:!1}),p(t))},[m,u,c,i,e]);return(0,r.useEffect)(()=>{p(f)},[f]),(0,t.jsxs)("div",{className:(0,l.cn)("flex w-full flex-row items-center justify-end gap-2 sm:gap-2 lg:w-fit",d),children:[(0,t.jsx)(o.Text,{level:"sm",className:"font-medium leading-4 opacity-20",children:"Rows"}),n.slice(0,"Subnets"===s?5:4).map(e=>(0,t.jsx)("button",{className:(0,l.cn)("rounded-md px-2.5 py-2 text-sm font-medium leading-4 opacity-40",e.value===g?"border border-[#00DBBC] bg-[#00DBBC1A] opacity-100":"hover:bg-[#D9D9D90D]"),onClick:()=>{h(e.value)},type:"button",children:e.label},e.label))]})},"pageSizeList",0,n])},356143,e=>{"use strict";var t=e.i(843476);e.s(["Taostats",0,e=>(0,t.jsxs)("svg",{width:"1.5em",height:"1.5em",viewBox:"0 0 29 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("title",{children:"Taostats"}),(0,t.jsx)("path",{d:"M6.28835 3.26259C5.48538 1.9296 6.44537 0.230591 8.00153 0.230591L19.1285 0.230591C19.7366 0.230591 20.3116 0.507233 20.6911 0.982338L26.4057 8.1362C27.4519 9.44596 26.5194 11.3844 24.843 11.3844H12.3109C11.6096 11.3844 10.9596 11.0171 10.5977 10.4164L6.28835 3.26259Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M5.25763 16.9209C5.60229 16.2602 6.28568 15.8459 7.03087 15.8459H21.2394C22.7412 15.8459 23.7072 17.4394 23.0127 18.771L19.2808 25.9248C18.9362 26.5855 18.2528 26.9998 17.5076 26.9998H3.29906C1.79726 26.9998 0.831239 25.4063 1.52583 24.0748L5.25763 16.9209Z",fill:"currentColor"})]})])},334050,630116,e=>{"use strict";e.s(["paymentLayers",0,{sheetBackdrop:70,sheet:71,dialogBackdrop:80,dialog:81}],334050),e.s(["paymentReducedMotion",0,"motion-reduce:!animate-none motion-reduce:!transition-none motion-reduce:!duration-0"],630116)}]);

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.