PageSourceSearch

https://solana.com/_next/static/chunks/4399.a42bfd88c75d5a73.js

js solana.com collected 2026-10-01 09:05:11 UTC 22,312 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="48d82f91-511a-40c5-9cf4-66e5a96326e9",e._sentryDebugIdIdentifier="sentry-dbid-48d82f91-511a-40c5-9cf4-66e5a96326e9")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4399],{44399:(e,t,n)=>{n.r(t),n.d(t,{FinalFormCanvas:()=>P});var o=n(36822),i=n(66774),a=n(54021),l=n(53678);function r(e){let t=0x811c9dc5;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,0x1000193);return t>>>0}let s=[-2,0,2],c=["0","1"];function d(e){return"legacy"===e?12800:150}function u(e,t){return(e>>>t&255)/255}function h(e){return 1-Math.pow(1-Math.max(0,Math.min(1,e)),3)}function f(e){var t;if(!e.length)return 0;let n=[...e].sort((e,t)=>e-t);return null!=(t=n[Math.floor(n.length/2)])?t:0}function m(e,t){return Math.max(256,Math.min(6e4,Math.round(e*("legacy"===t?12.8:.15))))}function p(e){return Math.max(m(e,"alpenglow"),8e3)}let g=new a.Q1f(0x9945ff),v=new a.Q1f(54527),M=new a.Q1f(1372565);function y(e,t){let n=u(e,0);return n<.5?t.copy(g).lerp(v,2*n):t.copy(v).lerp(M,(n-.5)*2),t}function w(){let e=new a.V9B({color:0xffffff});return e.onBeforeCompile=e=>{e.vertexShader=e.vertexShader.replace("#include <common>","#include <common>\nvarying vec3 vVoxelPosition;").replace("#include <begin_vertex>","#include <begin_vertex>\nvVoxelPosition = position;"),e.fragmentShader=e.fragmentShader.replace("#include <common>","#include <common>\nvarying vec3 vVoxelPosition;").replace("#include <opaque_fragment>","vec3 edgeDistance = vec3(0.5) - abs(vVoxelPosition);\n        float nearestFaceEdge = max(\n          min(edgeDistance.x, edgeDistance.y),\n          min(max(edgeDistance.x, edgeDistance.y), edgeDistance.z)\n        );\n        float edgePixels = nearestFaceEdge / max(fwidth(nearestFaceEdge), 0.0001);\n        float blockInterior = smoothstep(0.0, 0.55, edgePixels);\n        diffuseColor.rgb = mix(vec3(0.0), diffuseColor.rgb, blockInterior);\n        #include <opaque_fragment>")},e}function x(e){return Math.max(2,Math.ceil(Math.cbrt(e)))}function b(e,t,n){let o=x(Math.max(t,e+1)),i=o*o,l=Math.floor(e/i),r=e%i,s=Math.floor(r/o),c=1.064/Math.max(1,o-1);return new a.Pq0(n+.532-l*c,-.532+r%o*c,-.532+s*c)}function k(e){let t=Math.max(8,Math.ceil(Math.cbrt(e/.4))),n=[],o=[[[-.42,.46],[.54,.46],[.42,.26],[-.54,.26]],[[-.54,.1],[.42,.1],[.54,-.1],[-.42,-.1]],[[-.42,-.26],[.54,-.26],[.42,-.46],[-.54,-.46]]];for(;n.length<e;){n=[];for(let e=0;e<t;e+=1)for(let i=0;i<t;i+=1)for(let l=0;l<t;l+=1){let r=-.54+l/(t-1)*1.08,c=-.54+i/(t-1)*1.08,d=-.38+e/(t-1)*.76;o.some(e=>(function(e,t,n){let o=!1;for(let i=0,a=n.length-1;i<n.length;a=i++){let[l,r]=n[i],[s,c]=n[a];r>t!=c>t&&e<(s-l)*(t-r)/(c-r)+l&&(o=!o)}return o})(r,c,e))&&n.push(new a.Pq0(s[2]+r,c,d))}n.length<e&&(t+=1)}let i=Array.from({length:e},(t,o)=>{let i=Math.floor(o/e*n.length);return n[i].clone()});return i.sort((e,t)=>-e.x-e.y-(-t.x-t.y)||t.z-e.z),{points:i}}function E(e){let t=Array.from({length:256},()=>[]);for(let n=0;n<e;n+=1)t[Math.min(255,Math.floor(n/e*256))].push(n);return t}let P=(0,i.forwardRef)(function(e,t){let{onTelemetry:n,onReady:g}=e,v=(0,i.useRef)(null),M=(0,i.useRef)(null);return(0,i.useImperativeHandle)(t,()=>({push:e=>{var t;return null==(t=M.current)?void 0:t.push(e)},setMode:e=>{var t;return null==(t=M.current)?void 0:t.setMode(e)},resetStream:()=>{var e;return null==(e=M.current)?void 0:e.resetStream()},resetView:()=>{var e;return null==(e=M.current)?void 0:e.resetView()}})),(0,i.useEffect)(()=>{let e,t=v.current;if(!t)return;let o=new a.Z58,i=new a.YJl;
1i.rotation.set(-.18,-.28,0),o.add(i),s.forEach(e=>(function(e,t){let n=new a.iNn(1.5,1.5,1.5),o=new a.eaF(n,new a.V9B({color:723725,transparent:!0,opacity:.42,side:a.$EB,depthWrite:!1})),i=new a.DXC(new a.TDQ(n),new a.mrM({color:0xffffff,transparent:!0,opacity:.34}));o.position.x=t,i.position.x=t,e.add(o,i)})(i,e));let P=new a.ubm(34,1,.1,30);P.position.set(0,.2,7.2);try{e=new l.JeP({antialias:!0,alpha:!0})}catch(x){let e="alpenglow",o=3e3,i={counts:[0,0,0],melting:[],population:m(3e3,e),logoPopulation:p(o),cyclePopulation:p(o)},l=new Map,s=[],c=0,h=0;function C(e){for(let[t,n]of l)n.optimisticallyFinalized&&e-n.confirmedAt>=6e4&&l.delete(t);for(;l.size>256;){let e=[...l].find(e=>{let[,t]=e;return t.optimisticallyFinalized});if(!e)break;l.delete(e[0])}}function A(e){let t=l.get(e);if(!t||t.optimisticallyFinalized)return;let n=Math.min(t.confirmedCount,i.cyclePopulation-i.counts[2]);i.counts[1]=Math.max(0,i.counts[1]-n),i.counts[2]+=n,t.confirmedCount-=n,t.finalizedCount+=n,t.optimisticallyFinalized=!0,i.counts[2]>=i.cyclePopulation&&(i.melting.push({count:i.counts[2],startedAt:performance.now()}),i.counts[2]=0,i.cyclePopulation=i.logoPopulation),F()}function F(){n({holding:[...l.values()].filter(e=>!e.optimisticallyFinalized).length,rendered:i.counts.reduce((e,t)=>e+t,0)+i.melting.reduce((e,t)=>e+t.count,0),finalizedBlocks:c,currentFinalityMs:h,medianFinalityMs:f(s)})}M.current={push(t){if("performance_sample"===t.type&&(i.population=m(o=t.totalTps,e),i.logoPopulation=p(o),F()),"transaction_observed"===t.type&&(i.counts[0]=Math.min(i.population,i.counts[0]+1)),"block_confirmed"===t.type){let e=Math.min(t.transactionCount,Math.max(0,i.population-i.counts[1]));e>0&&l.set(t.blockhash,{confirmedCount:e,finalizedCount:0,confirmedAt:performance.now(),optimisticallyFinalized:!1,actuallyFinalized:!1}),i.counts[1]+=e,C(performance.now()),F()}if("block_orphaned"===t.type){var n,a=t.blockhash;let e=l.get(a);e&&(l.delete(a),i.counts[1]=Math.max(0,i.counts[1]-e.confirmedCount),i.counts[2]=Math.max(0,i.counts[2]-e.finalizedCount)),F()}if("block_finalized"===t.type){n=t.observedFinalityMs,c+=1,h=n,s.push(n),s.length>48&&s.shift(),F();let o=l.get(t.blockhash);o&&(o.actuallyFinalized=!0),"legacy"===e&&A(t.blockhash),(null==o?void 0:o.optimisticallyFinalized)&&l.delete(t.blockhash)}},setMode(t){i.population=m(o,e=t)},resetStream(){i.counts=[0,0,0],i.melting=[],i.population=m(o,e),i.logoPopulation=p(o),i.cyclePopulation=i.logoPopulation,l.clear(),s.length=0,c=0,h=0,F()},resetView(){}};let v=window.setInterval(()=>{if("alpenglow"!==e)return;let t=performance.now();for(let[n,o]of l)!o.optimisticallyFinalized&&t-o.confirmedAt>=d(e)&&(A(n),o.actuallyFinalized&&l.delete(n));C(t)},50);null==g||g();let w=function(e,t){let n=document.createElement("canvas");n.setAttribute("aria-hidden","true"),e.appendChild(n);let o=n.getContext("2d"),i=new a.Q1f,l=0,s=!1,c=!1;function d(a){if(!s||!o)return;t.melting=t.melting.filter(e=>a-e.startedAt<3200),t.counts[2]>=t.cyclePopulation&&(t.melting.push({count:t.counts[2],startedAt:a}),t.counts[2]=0,t.cyclePopulation=t.logoPopulation);let c=Math.min(window.devicePixelRatio,1.5),h=e.clientWidth,f=e.clientHeight;(n.width!==h*c||n.height!==f*c)&&(n.width=h*c,n.height=f*c,n.style.width="".concat(h,"px"),n.style.height="".concat(f,"px")),o.setTransform(c,0,0,c,0,0),o.clearRect(0,0,h,f),o.strokeStyle="rgba(255,255,255,.42)",o.lineWidth=1;let m=Math.min(.24*h,.44*f),p=.12*m,g=h/2-(3*m+2*p)/2,v=f/2-m/2;for(let e=0;e<3;e+=1){let n=g+e*(m+p);o.strokeRect(n,v,m,m),o.strokeRect(n+.1*m,v-.1*m,m,m),o.beginPath(),o.moveTo(n,v),o.lineTo(n+.1*m,v-.1*m),o.moveTo(n+m,v),o.lineTo(n+1.1*m,v-.1*m),o.moveTo(n+m,v+m),o.lineTo(n+1.1*m,v+.9*m),o.stroke();let l=Math.min(900,t.counts[e]),s=t.melting.reduce((e,t)=>e+t.count,0),c=2===e?Math.min(900-l,s):0,d=l+c,h=Math.max(2,Math.ceil(Math.sqrt(d))),f=Math.max(1.2,.012*m);for(let s=0;s<d;s+=1){let c,p,g=r("".concat(s));if(0===e)c=n+m*(-.2+1.05*((.0018*a+u(r("stream-".concat(s)),0))%1)),p=v+m*(.15+.72*u(r("stream-y-".concat(s)),0));else if(1===e)c=n+m*(.12+s%h/h*.76),p=v+m*(.12+Math.floor(s/h)/h*.76);else{let e=s>=l,o=Math.floor(s/d*3),i=Math.ceil(d/3),r=Math.max(3,Math.ceil(Math.sqrt(4*i))
1),h=s%i,f=h%r,y=Math.floor(h/r),w=.008*Math.abs(y-2);if(c=n+m*(.18+w+f/Math.max(1,r-1)*(.64-2*w)),p=v+m*(.23+.27*o+.012*y),e){var M;let e=t.melting.at(-1),n=Math.min(1,(a-(null!=(M=null==e?void 0:e.startedAt)?M:a))/3200);p+=n*n*m*(.4+.35*u(g,16))}}o.fillStyle="#".concat(y(g,i).getHexString()),o.fillRect(c,p,f,f),o.strokeStyle="#000000",o.lineWidth=.5,o.strokeRect(c,p,f,f)}}l=requestAnimationFrame(d)}let h=()=>{let e=c&&!document.hidden;e!==s&&((s=e)?l=requestAnimationFrame(d):cancelAnimationFrame(l))},f=new IntersectionObserver(e=>{var t;let[n]=e;c=null!=(t=null==n?void 0:n.isIntersecting)&&t,h()},{rootMargin:"200px 0px"}),m=()=>h();return f.observe(e),document.addEventListener("visibilitychange",m),()=>{s=!1,cancelAnimationFrame(l),f.disconnect(),document.removeEventListener("visibilitychange",m),n.remove()}}(t,i);return()=>{M.current=null,window.clearInterval(v),w()}}e.setPixelRatio(Math.min(window.devicePixelRatio,1.6)),e.setClearColor(0,0),t.appendChild(e.domElement);let z=function(e,t){let n=new a.YJl,o=[],i=[];function l(e,t){let n=[],o=[],i=[];for(let a=0;a<t;a+=1)for(let l=0;l<e;l+=1){let s=r("haze-".concat(a,"-").concat(l)),c=-1+l/(e-1)*2,d=1-a/(t-1)*2,h=Math.min(1,(.06+.9*Math.exp(-Math.pow((c-.24)/.42,2)-Math.pow((d+.02)/.62,2))+.66*Math.exp(-Math.pow((c+.24)/.86,2)-Math.pow((d+.58)/.3,2))+.34*Math.exp(-Math.pow((c+.56)/.32,2)-Math.pow((d+.22)/.46,2)))*Math.max(0,Math.min(1,(Math.min(1-Math.abs(c),1-Math.abs(d))-.08)/.2)));n.push(c,d,0),o.push(u(s,0)),i.push(h)}let l=new a.LoY;return l.setAttribute("position",new a.qtW(n,3)),l.setAttribute("aSeed",new a.qtW(o,1)),l.setAttribute("aDensity",new a.qtW(i,1)),l}function s(e,t){return{columns:Math.max(2,Math.ceil(e/12)+1),rows:Math.max(2,Math.ceil(t/12)+1)}}n.position.z=-2.8;let d=s(e,t),h=l(d.columns,d.rows),f=function(){let e=document.createElement("canvas");e.width=64*c.length,e.height=64;let t=e.getContext("2d");t&&(t.clearRect(0,0,e.width,e.height),t.textAlign="center",t.textBaseline="middle",t.font='500 36px "Courier New", monospace',c.forEach((e,n)=>{let o=64*n+32;t.fillStyle="rgba(255, 255, 255, 0.3)",t.shadowColor="rgba(255, 255, 255, 0.65)",t.shadowBlur=12,t.fillText(e,o,33),t.shadowBlur=0,t.fillStyle="white",t.fillText(e,o,33)}));let n=new a.GOR(e);
1return n.colorSpace=a.er$,n.minFilter=a.k6q,n.magFilter=a.k6q,n}(),m=new a.BKk({uniforms:{uGlyph:{value:f},uTime:{value:0},uSpeed:{value:.6},uPixelRatio:{value:1},uGlyphCount:{value:c.length}},vertexShader:"\n        attribute float aSeed;\n        attribute float aDensity;\n        uniform float uTime;\n        uniform float uSpeed;\n        uniform float uPixelRatio;\n        uniform float uGlyphCount;\n        varying float vOpacity;\n        varying float vDigit;\n\n        void main() {\n          float tempo = 0.18 + uSpeed * 0.82;\n          float phase = uTime * tempo + aSeed * 18.0;\n          float pulse = 0.72 + 0.28 * sin(phase + position.x * 7.0);\n          vOpacity = aDensity * pulse * (0.55 + aSeed * 0.35);\n          float refreshRate = 0.6 + uSpeed * 4.4;\n          float generation = floor(uTime * refreshRate);\n          float selection = fract(sin(aSeed * 997.0 + generation * 37.0) * 43758.5453);\n          vDigit = floor(selection * uGlyphCount);\n\n          vec4 mvPosition = modelViewMatrix * vec4(position, 1.0);\n          gl_Position = projectionMatrix * mvPosition;\n          gl_PointSize = (7.0 + aDensity * 6.0 + aSeed * 2.0) * uPixelRatio;\n        }\n      ",fragmentShader:"\n        uniform sampler2D uGlyph;\n        uniform float uGlyphCount;\n        varying float vOpacity;\n        varying float vDigit;\n\n        void main() {\n          vec2 atlasUv = vec2(\n            (gl_PointCoord.x + vDigit) / uGlyphCount,\n            1.0 - gl_PointCoord.y\n          );\n          vec4 glyph = texture2D(uGlyph, atlasUv);\n          float bokeh = smoothstep(0.5, 0.0, distance(gl_PointCoord, vec2(0.5)));\n          float alpha = (glyph.a * 0.86 + bokeh * 0.045) * vOpacity;\n          if (alpha < 0.008) discard;\n          gl_FragColor = vec4(vec3(1.0), alpha);\n        }\n      ",transparent:!0,depthTest:!0,depthWrite:!1,blending:a.EZo}),p=new a.ONl(h,m);return p.renderOrder=-2,n.add(p),o.push(m),i.push(f),{group:n,materials:o,textures:i,resize(e,t){let n=s(e,t);(n.columns!==d.columns||n.rows!==d.rows)&&(p.geometry.dispose(),p.geometry=l(n.columns,n.rows),d=n)},dispose(){p.geometry.dispose(),o.forEach(e=>e.dispose()),i.forEach(e=>e.dispose())}}}(t.clientWidth,t.clientHeight);o.add(z.group);let S=new a.iNn(1,1,1),_=w(),L=w(),I=w(),D=new a.ZLX(S,_,6e4),T=new a.ZLX(S,L,6e4),R=new a.ZLX(S,I,6e4),V=new a.ZLX(S,I,6e4);D.count=0,T.count=0,R.count=0,V.count=0,D.instanceMatrix.setUsage(a.Vnu),T.instanceMatrix.setUsage(a.Vnu),R.instanceMatrix.setUsage(a.Vnu),V.instanceMatrix.setUsage(a.Vnu),i.add(D,T,R,V);let q="alpenglow",U=3e3,B=!1,W=m(3e3,q),G=p(U),O=k(G),X=E(G),N=new Uint32Array(256),Y=[],j=0,Q=0,Z=0,H=[],J=[],$=[],K=[],ee=!0,et=!0,en=0,eo=0,ei=0,ea=performance.now(),el=new Map,er=[],es=new a.B69,ec=new a.Pq0,ed=new a.Q1f,eu=0,eh=!1,ef=!1,em=!1,ep=0,eg=0,ev=i.rotation.x,eM=i.rotation.y,ey=P.position.z,ew=!1,ex=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function eb(){let e=W,t=performance.now();for(let n of J)n.fromPosition=b(n.order,Math.max(e,J.length),s[1]),n.enteredAt=t;W=m(U,q),ee=!0}function ek(e){let t=255&e;for(let e=0;e<256;e+=1)for(let n of 0===e?[t]:[t-e,t+e]){if(n<0||n>=256)continue;let e=N[n],t=X[n];if(!(e>=t.length))return N[n]=e+1,t[e]}return G-1}function eE(e){let t=!1;for(let n of J){if(n.moved||e-n.enteredAt<d(q))continue;let o=n.blockhash?el.get(n.blockhash):void 0;o&&("legacy"===q?o.actualFinalized:e-o.observedAt>=d(q))&&($.length>=G||(n.moved=!0,$.push({...n,targetIndex:ek(n.seed),seed:n.seed,finalEnteredAt:e,finalFromPosition:b(n.order,Math.max(W,J.length),s[1])}),t=!0))}if(!t)return;let n=J.filter(e=>!e.moved);n.forEach((e,t)=>{e.fromPosition=b(e.order,Math.max(W,n.length),s[1]),e.order=t}),Z=(J=n).length,ee=!0,et=!0}function eP(){let n=t.clientWidth,o=t.clientHeight;e.setSize(n,o,!1),P.aspect=n/Math.max(o,1),P.fov=n<720?52:34,P.updateProjectionMatrix(),z.resize(n,o),eC()}function eC(){let e=P.position.z-z.group.position.z,t=Math.tan(a.cj9.degToRad(.5*P.fov))*e;z.group.scale.set(t*P.aspect,t,1)}function eA(t){em=!0,ep=t.clientX,eg=t.clientY,e.domElement.setPointerCapture(t.pointerId)}function eF(e){em&&(eM+=(e.clientX-ep)*.006,ev+=(e.clientY-eg)*.006,ev=Math.max(-1.15,Math.min(1.15,ev)),ep=e.clientX,eg=e.clientY)}function ez(t){em=!1,e.domElement.hasPointerCapture(t.pointerId)&&e.domElement.releasePointerCapture(t.pointerId)}function eS(e){ew&&(e.preventDefault(),ey=Math.max(t.clientWidth<720?6.4:4.5,Math.min(9.5,ey+.006*e.deltaY)))}
1function e_(e){("Control"===e.key||"Meta"===e.key)&&(ew="keydown"===e.type)}function eL(){ew=!1}function eI(e,t,n){var o,i;let l=h((t-e.born)/180),r=e.blockhash?el.get(e.blockhash):void 0,c=Math.max(1,Math.min(6e4,null!=(o=null==r?void 0:r.transactionCount)?o:W));!function(e,t,n,o){let i=x(t),a=e%Math.pow(i,3),l=i*i,r=Math.floor(a/l),s=a%l,c=Math.floor(s/i),d=1.08/Math.max(1,i-1);o.set(n+.54-r*d,-.54+s%i*d,-.54+c*d)}(B?e.seed%c:(null!=(i=e.indexInBlock)?i:e.seed)%c,c,s[0],n);let d=n.x,f=n.y,m=n.z,p=1-l;return n.set(a.cj9.lerp(-3.7-.45*u(e.seed,24),d,l),f+(u(e.seed,8)-.5)*.22*p,m+(u(e.seed,16)-.5)*.22*p),ex||(n.y+=.08*Math.sin(.002*t+e.seed)*p,n.z+=.08*Math.cos(.0017*t+.5*e.seed)*p),n}function eD(t){var l;if(!eh)return;eu=requestAnimationFrame(eD);let c=Math.min(50,t-ea);ea=t,i.rotation.x+=(ev-i.rotation.x)*.09,i.rotation.y+=(eM-i.rotation.y)*.09,P.position.z+=(ey-P.position.z)*.09,eC();let d=Math.max(.12,Math.min(1,U/5e3));for(let n of z.materials)n.uniforms.uTime.value=ex?0:.001*t,n.uniforms.uSpeed.value=ex?0:d,n.uniforms.uPixelRatio.value=e.getPixelRatio();let m=Y.length-j;m>0?Q+=U*c/1e3:Q=0;let g=Math.min(Math.floor(Q),m,6e4-H.length);if(g>0){Q-=g;for(let e=0;e<g;e+=1){let n=Y[j++];H.push({...n,born:t-c+e/g*c,seed:r(n.signature)})}}j>2e4&&(Y.splice(0,j),j=0);let v=[];for(let e of H){if(t-e.born<400||!(e.blockhash?el.get(e.blockhash):void 0)||J.length>=6e4){v.push(e);continue}J.push({...e,enteredAt:t,order:Z++,moved:!1,fromPosition:eI(e,t,new a.Pq0)}),ee=!0}H=v,eE(t),(K=K.filter(e=>t-e.meltStartedAt<3200)).length||(V.count=0);let M=!1;if($.length>=G){let e=$.map(e=>{var n,o;return{...e,meltTarget:null!=(o=null==(n=O.points[e.targetIndex])?void 0:n.clone())?o:e.finalFromPosition.clone(),meltStartedAt:t}});K=[...K,...e].slice(-6e4),$=[],R.count=0,O=k(G=p(U)),X=E(G),N=new Uint32Array(256),et=!0,M=!0}M&&eE(t);for(let e=0;e<H.length;e+=1){let n=H[e];eI(n,t,ec),es.position.copy(ec),es.rotation.set(.001*t+u(n.seed,0)*Math.PI,.0013*t+u(n.seed,8)*Math.PI,u(n.seed,16)*Math.PI),es.scale.setScalar(.016),es.updateMatrix(),D.setMatrixAt(e,es.matrix),D.setColorAt(e,y(n.seed,ed))}if(D.count=H.length,D.instanceMatrix.needsUpdate=!0,D.instanceColor&&(D.instanceColor.needsUpdate=!0),!function(e){if(!ee)return;let t=!1;J.forEach((n,o)=>{let i=b(n.order,Math.max(W,J.length),s[1]),a=ex?1:h((e-n.enteredAt)/850);ec.lerpVectors(n.fromPosition,i,a),es.position.copy(ec),es.rotation.set(0,0,0),es.scale.setScalar(.016),es.updateMatrix(),T.setMatrixAt(o,es.matrix),T.setColorAt(o,y(n.seed,ed)),a<1&&(t=!0)}),T.count=J.length,T.instanceMatrix.needsUpdate=!0,T.instanceColor&&(T.instanceColor.needsUpdate=!0),ee=t}(t),K.length&&(K.forEach((e,n)=>{let o=ex?1:h((t-e.finalEnteredAt)/850);ec.lerpVectors(e.finalFromPosition,e.meltTarget,o);let i=280*u(e.seed,24),a=Math.max(0,t-e.meltStartedAt-i),l=a/1e3,r=Math.min(1,a/2920);ec.x+=(u(e.seed,0)-.5)*l*.22,ec.y-=.625*(.85+.3*u(e.seed,8))*l*l,ec.z+=(u(e.seed,16)-.5)*l*.28,es.position.copy(ec),es.rotation.set(l*(.8+2.4*u(e.seed,0)),l*(.8+2.4*u(e.seed,8)),l*(.8+2.4*u(e.seed,16)));let s=h(Math.max(0,(r-.72)/.28));es.scale.setScalar(.032*Math.max(.001,1-s)),es.updateMatrix(),V.setMatrixAt(n,es.matrix),V.setColorAt(n,y(e.seed,ed))}),V.count=K.length,V.instanceMatrix.needsUpdate=!0,V.instanceColor&&(V.instanceColor.needsUpdate=!0)),et&&($.forEach((e,n)=>{let o=O.points[e.targetIndex];if(!o)return;let i=ex?1:h((t-e.finalEnteredAt)/850);ec.lerpVectors(e.finalFromPosition,o,i),es.position.copy(ec),es.rotation.set(0,0,0),es.scale.setScalar(a.cj9.lerp(.016,.032,i)),es.updateMatrix(),R.setMatrixAt(n,es.matrix),R.setColorAt(n,y(e.seed,ed))}),R.count=$.length,R.instanceMatrix.needsUpdate=!0,R.instanceColor&&(R.instanceColor.needsUpdate=!0),et=$.some(e=>t-e.finalEnteredAt<850)),t-ei>500){ei=t;let e=new Set;for(let t=j;t<Y.length;t+=1){let n=null==(l=Y[t])?void 0:l.blockhash;n&&e.add(n)}for(let t of H)t.blockhash&&e.add(t.blockhash);for(let t of J)t.blockhash&&e.add(t.blockhash);for(let[t,n]of el)n.actualFinalized&&!e.has(t)&&el.delete(t);n({holding:[...el.values()].filter(e=>!e.actualFinalized).length,rendered:H.length+J.length+$.length+K.length,finalizedBlocks:en,currentFinalityMs:eo,medianFinalityMs:f(er)})}e.render(o,P)}M.current={push:function(e){if("stream_status"===e.type){B=e.sampled;return}if("transaction_observed"===e.type){Y.length-j>=6e4&&(j+=1),Y.push(e),j>4096&&(Y.splice(0,j),j=0);return}if("performance_sample"===e.type){let t=W;Math.abs(m(U=Math.max(1,e.totalTps),q)-t)/t>.08&&eb();return}if("block_orphaned"===e.type){el.delete(e.blockhash);let t=j;for(let n=j;n<Y.length;n+=1){let o=Y[n];o.blockhash!==e.blockhash&&(Y[t++]=o)}Y.length=t,H=H.filter(t=>t.blockhash!==e.blockhash),(J=J.filter(t=>
1t.blockhash!==e.blockhash)).forEach((e,t)=>{e.order=t}),Z=J.length;let n=performance.now();for(let t of($=$.filter(t=>t.blockhash!==e.blockhash),(K=K.filter(t=>t.blockhash!==e.blockhash)).length||(V.count=0),N=new Uint32Array(256),$)){let e=O.points[t.targetIndex];if(e){let o=ex?1:h((n-t.finalEnteredAt)/850);t.finalFromPosition=new a.Pq0().lerpVectors(t.finalFromPosition,e,o)}t.targetIndex=ek(t.seed),t.finalEnteredAt=n}ee=!0,et=!0;return}if("block_confirmed"===e.type){var t;let n=el.get(e.blockhash),{transactionSignatures:o,...i}=e;el.set(e.blockhash,{...i,observedAt:performance.now(),actualFinalized:null!=(t=null==n?void 0:n.actualFinalized)&&t,finalityMs:null==n?void 0:n.finalityMs});return}if("block_finalized"===e.type){let t=el.get(e.blockhash);t&&(t.actualFinalized=!0,t.finalityMs=e.observedFinalityMs),en+=1,eo=e.observedFinalityMs,er.push(e.observedFinalityMs),er.length>48&&er.shift()}},setMode(e){q!==e&&(q=e,eb())},resetStream:function(){Y.length=0,j=0,Q=0,Z=0,H=[],J=[],$=[],K=[],el.clear(),er.length=0,en=0,eo=0,W=m(U,q),O=k(G=p(U)),X=E(G),N=new Uint32Array(256),D.count=0,T.count=0,R.count=0,V.count=0,ee=!0,et=!0,ei=0,n({holding:0,rendered:0,finalizedBlocks:0,currentFinalityMs:0,medianFinalityMs:0})},resetView:function(){ev=-.18,eM=-.28,ey=7.2}},null==g||g(),e.domElement.addEventListener("pointerdown",eA),e.domElement.addEventListener("pointermove",eF),e.domElement.addEventListener("pointerup",ez),e.domElement.addEventListener("pointercancel",ez),e.domElement.addEventListener("wheel",eS,{passive:!1}),window.addEventListener("keydown",e_),window.addEventListener("keyup",e_),window.addEventListener("blur",eL),window.addEventListener("resize",eP),eP();let eT=()=>{let e=ef&&!document.hidden;e!==eh&&((eh=e)?(ea=performance.now(),eu=requestAnimationFrame(eD)):cancelAnimationFrame(eu))},eR=new IntersectionObserver(e=>{var t;let[n]=e;ef=null!=(t=null==n?void 0:n.isIntersecting)&&t,eT()},{rootMargin:"200px 0px"}),eV=()=>eT();return eR.observe(t),document.addEventListener("visibilitychange",eV),()=>{eh=!1,cancelAnimationFrame(eu),eR.disconnect(),document.removeEventListener("visibilitychange",eV),M.current=null,window.removeEventListener("resize",eP),e.domElement.removeEventListener("pointerdown",eA),e.domElement.removeEventListener("pointermove",eF),e.domElement.removeEventListener("pointerup",ez),e.domElement.removeEventListener("pointercancel",ez),e.domElement.removeEventListener("wheel",eS),window.removeEventListener("keydown",e_),window.removeEventListener("keyup",e_),window.removeEventListener("blur",eL),e.dispose(),S.dispose(),_.dispose(),L.dispose(),I.dispose(),z.dispose(),o.traverse(e=>{e instanceof a.DXC&&(e.geometry.dispose(),e.material instanceof a.imn&&e.material.dispose()),e instanceof a.eaF&&e!==D&&e!==T&&e!==R&&e!==V&&(e.geometry.dispose(),e.material instanceof a.imn&&e.material.dispose())}),e.domElement.remove()}},[g,n]),(0,o.jsx)("div",{ref:v,className:"ff-canvas","aria-hidden":"true"})})}}]);

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.