PageSourceSearch

https://solana.org/_next/static/chunks/6319-3e0d5220cdd7ad97.js

js solana.org collected 2026-10-01 13:03:52 UTC 10,446 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6319],{652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_COOKIES=void 0,t.SESSION_COOKIES={adminToken:"admin_token",adminInfo:"admin_info",discordAuthToken:"discord_auth_token",discordOAuthState:"discord_oauth_state",jwtTokenExpiration:"12h",tokenExpiration:43200,discordTokenExpiration:"24h",discordTokenExpirationSeconds:86400}},3580:(e,t,r)=>{"use strict";var o=Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]},n=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||o(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),n(r(42572),t),n(r(89596),t),n(r(44460),t),n(r(77487),t),n(r(29551),t),n(r(7103),t),n(r(87118),t),n(r(41618),t),n(r(15128),t),n(r(44049),t),n(r(4191),t),n(r(98660),t),n(r(19789),t),n(r(56756),t),n(r(52817),t),n(r(7714),t),n(r(48053),t),n(r(652),t),n(r(69277),t)},4191:(e,t)=>{"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.SfdpParticipantState=void 0,(o=r||(t.SfdpParticipantState=r={})).Pending="Pending",o.TestnetOnboarded="TestnetOnboarded",o.Approved="Approved",o.Rejected="Rejected",o.Offboarded="Offboarded",o.Retired="Retired"},7103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},12206:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(55729);let{DARK_MODE_MEDIA_QUERY:n,DARK_THEME:_,LIGHT_THEME:s,THEME_LOCALSTORAGE_KEY:i}={THEME_LOCALSTORAGE_KEY:r(55370).THEME_LOCALSTORAGE_KEY,DARK_THEME:"theme-dark",LIGHT_THEME:"theme-light",DARK_MODE_MEDIA_QUERY:"(prefers-color-scheme: dark)"},a=()=>{let e=localStorage.getItem(i),t=window.matchMedia&&window.matchMedia(n).matches?_:s,[r,a]=(0,o.useState)(e||t),E=()=>r===_,S=()=>{a(s)},I=()=>{a(_)},u=t=>{e||(t.matches?I():S())};return(0,o.useEffect)(()=>{if(document.querySelector("html").classList=r,!window.matchMedia)return;let e=window.matchMedia(n);return e.addEventListener("change",u),()=>e.removeEventListener("change",u)},[r]),{toggleTheme:()=>{E()?S():I();let e=E()?s:_;return localStorage.setItem(i,e),e},usingDarkTheme:E,theme:r}}},15128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},19789:(e,t)=>{"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.ValidatorEpochStates=void 0,(o=r||(t.ValidatorEpochStates=r={})).None="None",o.Baseline="Baseline",o.Bonus="Bonus",o.NoneHighThirdPartyStake="NoneHighThirdPartyStake"},28867:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(55729);let n=[];function _(){return window.innerWidth}function s(){let e=_();n.forEach(t=>{t(e)})}function i(){let e=_(),[t,r]=(0,o.useState)(e);return(0,o.useEffect)(()=>(n.push(r),s(),window.addEventListener("resize",s),()=>{let e=n.indexOf(r);e>-1&&n.splice(e,1),window.removeEventListener("resize",s)}),[]),t}},29551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},36332:(e,t,r)=>{"use strict";r.d(t,{z:()=>E});var o=r(55729),n=r(81278),_=r(96723),s=r(86816),i=r(46887),a=r(3580);function E(){let[e,t]=(0,o.useState)(null),r=(0,n.useRouter)(),E=(0,o.useRef)(void 0),S=async()=>{await (0,_.A)("/admin/auth/admin-logout",{method:"POST",withCredentials:!0})};return(0,o.useEffect)(()=>{let e=()=>{let e=i.A.get(a.SESSION_COOKIES.adminInfo);e!==E.current&&(E.current=e,t(e?(0,s._)():null))};return e(),r.events.on("routeChangeComplete",e),()=>{r.events.off("routeChangeComplete",e)}},[]),{admin:e,logoutAdmin:S}}},39275:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});var o=r(55729);function n(e,t,r=1){let[_,s]=(0,o.useState)(t),[i,a]=(0,o.useState)(r),E=(0,o.useMemo)(()=>[...e].sort((e,t)=>i*((e[_]||0)-(t[_]||0))),[e,_,i]);return{sortColumn:_,sortDirection:i,sortedData:E,handleSort:e=>{_===e?a(-1*i):(s(e),a(1))},getSortIcon:e=>_!==e?"⇅":1===i?"↑":"↓"}}},41618:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0})},42572:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},44049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BONUS_ISSUES_MAP=t.BONUS_ISSUES=t.BASELINE_ISSUES_MAP=t.BASELINE_ISSUES=void 0,t.BASELINE_ISSUES={BLOCKED_ASN:"BLOCKED_ASN",HIGH_COMPANY_CONCENTRATION:"HIGH_COMPANY_CONCENTRATION",HIGH_DCC:"HIGH_DCC",HIGH_THIRD_PARTY_STAKE:"HIGH_THIRD_PARTY_STAKE",INELIGIBLE_COMMISSION_HISTORY:"INELIGIBLE_COMMISSION_HISTORY",INELIGIBILE_TESTNET_HISTORY:"INELIGIBILE_TESTNET_HISTORY",INELIGIBLE_JITO_COMMISSION_HISTORY:"INELIGIBLE_JITO_COMMISSION_HISTORY",INELIGIBLE_METRIC_REPORTING:"INELIGIBLE_METRIC_REPORTING",INELIGIBLE_VERSION:"INELIGIBLE_VERSION",LOW_CREDITS:"LOW_CREDITS",LOW_SELF_STAKE:"LOW_SELF_STAKE",RUNNING_JITO_ON_MAINNET_BUT_NOT_TESTNET:"RUNNING_JITO_ON_MAINNET_BUT_NOT_TESTNET"},t.BASELINE_ISSUES_MAP={[t.BASELINE_ISSUES.BLOCKED_ASN]:"Blacklisted data center",[t.BASELINE_ISSUES.HIGH_COMPANY_CONCENTRATION]:"High ASN or company stake concentration",[t.BASELINE_ISSUES.HIGH_DCC]:"High data center stake concentration",[t.BASELINE_ISSUES.INELIGIBLE_COMMISSION_HISTORY]:"Ineligible commission history",[t.BASELINE_ISSUES.INELIGIBLE_JITO_COMMISSION_HISTORY]:"Jito commission too high",[t.BASELINE_ISSUES.INELIGIBLE_METRIC_REPORTING]:"Missing required metric reporting",[t.BASELINE_ISSUES.INELIGIBILE_TESTNET_HISTORY]:"Ineligible testnet history",[t.BASELINE_ISSUES.INELIGIBLE_VERSION]:"Invalid software version",[t.BASELINE_ISSUES.LOW_CREDITS]:"Vote credits too low",[t.BASELINE_ISSUES.LOW_SELF_STAKE]:"Low self stake",[t.BASELINE_ISSUES.RUNNING_JITO_ON_MAINNET_BUT_NOT_TESTNET]:"Running Jito on mainnet but not testnet"},t.BONUS_ISSUES={HIGH_SKIP_RATE:"HIGH_SKIP_RATE"},t.BONUS_ISSUES_MAP={[t.BONUS_ISSUES.HIGH_SKIP_RATE]:"5-epoch average skip rate too high"}},44460:(e,t)=>{"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.KybStatus=void 0,(o=r||(t.KybStatus=r={})).MANUALLY_APPROVED="MANUALLY_APPROVED",o.MANUALLY_REJECTED="MANUALLY_REJECTED",o.TRULIOO_VERIFIED="TRULIOO_VERIFIED",o.PERSONA_VERIFIED="PERSONA_VERIFIED",o.NEEDS_REVIEW="NEEDS_REVIEW",o.ON_WATCHLIST="ON_WATCHLIST",o.NOT_A_BUSINESS="NOT_A_BUSINESS",o.NOT_APPLICABLE="NOT_APPLICABLE"},48053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52817:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidatorEpochStatStatsV2=function(e){return null!=e&&!!e.activated_stake}},56756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65966:(e,t,r)=>{"use strict";r.d(t,{L:()=>o,X:()=>_});let o={...r(80048)};var n=r(41735);let _=Object.keys(o).reduce((e,t)=>(e[t]=(e,...r)=>(0,n.AH)(["@media (min-width:","px){",";}"],o[t],(0,n.AH)(e,...r)),e),{})},69277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SFDP_URLS=void 0,t.SFDP_URLS={ecpqForm:"https://docs.google.com/forms/d/e/1FAIpQLSelQZkt2D2ZqYZd2NJ1zKC-FvlikHChSwDcsrmIGARdA4o5RA/viewform"}},76319:(e,t,r)=>{"use strict";r.d(t,{z8:()=>I.z,wi:()=>i,d6:()=>a,qK:()=>S,oJ:()=>s,DP:()=>E.A,SO:()=>_.A});var o=r(55729),n=r(65966),_=r(28867);function s(e){let[t,r]=(0,o.useState)(!1),s=n.L[e],i=(0,_.A)();return(0,o.useEffect)(()=>r(i>=s),[i]),t}function i(e){(0,o.useEffect)(()=>{let t=t=>{"Escape"===t.key&&(e(),t.stopPropagation())};return window.addEventListener("keyup",t),()=>window.removeEventListener("keyup",t)})}function a(e){(0,o.useEffect)(()=>{let t=document.scrollingElement;return t&&(t.style.overflowX=e?"hidden":"auto",t.style.overflowY=e?"hidden":"auto"),()=>{t&&(t.style.overflowX="auto",t.style.overflowY="auto")}},[e])}var E=r(12206);function S(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{t(!0)},[]),e}r(39275);var I=r(36332)},77487:(e,t)=>{"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),t.KycStatus=void 0,(o=r||(t.KycStatus=r={})).KYC_VALID="KYC_VALID",o.NA_REJECTED="NA_REJECTED",o.NO_KYC="NO_KYC",o.RE_KYC_EXPIRED="RE_KYC_EXPIRED",o.RE_KYC_REQUIRED="RE_KYC_REQUIRED"},80048:e=>{e.exports={xs:"0",sm:"640",md:"768",lg:"1024",xl:"1280",xxl:"1536"}},86816:(e,t,r)=>{"use strict";r.d(t,{_:()=>_});var o=r(46887),n=r(3580);function _(){let e=o.A.get(n.SESSION_COOKIES.adminInfo);return e?JSON.parse(e):null}},87118:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.ValidatorListOrderBy=void 0,t.ValidatorListOrderBy={num_bonus_last_10:"num_bonus_last_10",name:"name",percent_bonus_since_aug1_2021:"percent_bonus_since_aug1_2021",performance:"performance",tds_onboarding_group:"tds_onboarding_group",testnet_bonus_last_13:"testnet_bonus_last_13",testnet_vc:"testnet_vc",sfdp_onboarding_epoch:"sfdp_onboarding_epoch",non_foundation_stake:"non_foundation_stake",kyb_verification_status:"kyb_verification_status"}},89596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},96723:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let o=`${"https://api.solana.org".replace(/\/+$/,"")}/api`;async function n(e,{method:t="GET",params:r={},headers:s={},body:i,json:a=!0,extract:E,errorMessage:S,includeEmptyParams:I=!1,withCredentials:u=!1,basicBehavior:d=!1}){let c,l,O;if(e.startsWith("http://")||e.startsWith("https://"))c=new URL(e);else{if("/"!==e.charAt(0))throw Error("API resource should be absolute (start with a slash)");c=new URL(`${o}${e}`)}if(d)return fetch(c,{method:t,headers:s,body:i});Object.entries(r).forEach(([e,t])=>{(I||t&&0!==t)&&c.searchParams.append(e,t)}),"object"==typeof i&&(i=JSON.stringify(i));let N={method:t,headers:s,body:i};u&&(N.credentials="include");try{l=await fetch(c,N)}catch(e){throw await _(void 0,S||`Fetch from API failed: ${c}`,e)}if(!a)return l;let{status:f}=l;if(f>=400){let e;switch(f){case 400:e="Bad request";break;case 401:case 403:e="Not authorized";break;case 404:e=`Could not find: ${c}`;break;default:e=f>=500?"Server error":"Client error"}throw await _(l,S||e)}try{O=await l.json(c)}catch(e){throw await _(l,`Could not parse data returned from API: ${c}`,e)}if(E&&void 0===(O=O[E]))throw await _(l,`Key does not exist in JSON data: ${E}`);return O}async function _(e,t,r){let o=Error(t,{cause:r});o.name="FetchError",o.response=e;try{o.responseData=await e.json()}catch(e){console.error(e),o.responseData={}}return o}},98660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})}}]);

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.