PageSourceSearch

https://cov-spectrum.org/static/js/3581.24183275.chunk.js

js cov-spectrum.org collected 2026-09-24 18:34:35 UTC 1,488 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcov_spectrum_website=self.webpackChunkcov_spectrum_website||[]).push([[3581],{3581:(e,o,r)=>{r.d(o,{drawDensity:()=>s});var t=r(9062);const c=.3,n=2;function s(e,o){const{stopToken:r,features:s,regions:a,bpPerPx:l,scaleOpts:f,height:p,config:i}=o,u=a[0],b=t.s.readConfObject(i,"bicolorPivot"),d=t.s.readConfObject(i,"bicolorPivotValue"),m=t.s.readConfObject(i,"negColor"),C=t.s.readConfObject(i,"posColor"),g=t.s.readConfObject(i,"color"),h=t.s.readConfObject(i,"clipColor"),v="none"!==b&&"log"!==f.scaleType,w=(0,t.am)({...f,pivotValue:v?d:void 0,range:v?[m,"#eee",C]:["#eee",C]}),k="#f0f"===g?(e,o)=>w(o):(e,o)=>t.s.readConfObject(i,"color",{feature:e,score:o}),O=(0,t.am)({...f,range:[0,p]}).domain(),j=O[0],S=O[1];let T=Number.NEGATIVE_INFINITY,y=!1;const P=[];let _=performance.now();for(const n of s.values()){performance.now()-_>400&&(t.R.checkStopToken(r),_=performance.now());const[o,s]=t.u.featureSpanPx(n,u,l);(Math.floor(o)!==Math.floor(T)||s-o>1)&&(P.push(n),T=o);const a=n.get("score");y=y||a>S||a<j;const i=s-o+c;a>=f.domain[0]?(e.fillStyle=k(n,a),e.fillRect(o,0,i,p)):(e.fillStyle="#eee",e.fillRect(o,0,i,p))}if(e.save(),y){e.fillStyle=h;for(const o of s.values()){performance.now()-_>400&&(t.R.checkStopToken(r),_=performance.now());const[s,a]=t.u.featureSpanPx(o,u,l),p=a-s+c,i=o.get("score");(i>S||i<j&&"log"!==f.scaleType)&&(0,t.ap)(s,0,p,n,e)}}return e.restore(),{reducedFeatures:P}}}}]);
2//# sourceMappingURL=3581.24183275.chunk.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.