1"use strict";(self.webpackChunkcov_spectrum_website=self.webpackChunkcov_spectrum_website||[]).push([[2460],{2460:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var o=n(579),r=n(9062),l=(n(5043),n(9374));const i=(0,r.o)((function(e){const{model:t}=e;return(0,o.jsxs)("div",{children:[(0,o.jsx)(r.aj,{...e}),(0,o.jsx)(l.Y,{model:t})]})}))},9374:(e,t,n)=>{n.d(t,{Y:()=>g});var o=n(579),r=n(9062),l=n(5959);const i=e=>{const{color:t="rgb(255,255,255,0.8)"}=e;return(0,o.jsx)("rect",{...e,...r.u.getFillProps(t)})},s=function(e){let{source:t,idx:n,rowHeight:r,labelWidth:l,model:s,exportSVG:a}=e;const c=Math.min(20,r),{needsCustomLegend:d,graphType:h,needsFullHeightScalebar:u,rowHeightTooSmallForScalebar:g,renderColorBoxes:x}=s,m=Math.min(r,12),p=r>11,f=x?15:0,j=l+f+5,w=(a?10:0)||(h&&!g?50:0);return(0,o.jsxs)(o.Fragment,{children:[u?null:(0,o.jsx)(i,{y:n*r+1,x:w,width:j,height:c}),t.color?(0,o.jsx)(i,{y:n*r+1,x:w,width:f,height:d?r:c,color:t.color}):null,p?(0,o.jsx)("text",{y:n*r+13,x:w+f+2,fontSize:m,children:t.name}):null]})},a=(0,r.o)((function(e){let{model:t,rowHeight:n,exportSVG:r}=e;const{graphType:l,needsFullHeightScalebar:a,rowHeightTooSmallForScalebar:c,renderColorBoxes:d,sources:h,labelWidth:u}=t,g=u+(d?15:0)+5;return h?(0,o.jsxs)(o.Fragment,{children:[a?(0,o.jsx)(i,{y:0,x:(r?10:0)||(l&&!c?50:0),width:g,height:(h.length+.25)*n}):null,h.map(((e,l)=>(0,o.jsx)(s,{source:e,idx:l,model:t,rowHeight:n,exportSVG:r,labelWidth:u},`${e.name}-${l}`)))]}):null})),c=(0,r.o)((function(e){let{model:t,orientation:n,exportSVG:i}=e;const{labelWidth:s}=t,{width:c}=r.u.getContainingView(t);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("g",{transform:`translate(${i?0:(0,l.g)(t)},0)`,children:(0,o.jsx)(r.Y,{model:t,orientation:n})}),(0,o.jsx)("g",{transform:`translate(${c-s-100},0)`,children:(0,o.jsx)(a,{exportSVG:i,model:t,rowHeight:12})})]})})),d=(0,r.o)((e=>{let{model:t}=e;const{ticks:n,scaleType:l}=t,{width:s}=r.u.getContainingView(t),a=`[${null==n?void 0:n.values[0]}-${null==n?void 0:n.values[1]}]${"log"===l?" (log scale)":""}`,c=r.u.measureText(a,14),d=s-c-25;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i,{y:0,x:d,width:c+6,height:16}),(0,o.jsx)("text",{y:13,x:d,children:a})]})})),h=(0,r.o)((function(e){let{model:t,orientation:n,exportSVG:l}=e;const{sources:i,rowHeight:s,rowHeightTooSmallForScalebar:c,needsCustomLegend:h,ticks:u}=t;return null!=i&&i.length?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a,{exportSVG:l,model:t,rowHeight:t.rowHeight}),c||h?(0,o.jsx)(d,{model:t}):i.map(((e,l)=>(0,o.jsx)("g",{transform:`translate(0 ${s*l})`,children:(0,o.jsx)(r.Y,{model:t,orientation:n})},`${JSON.stringify(u)}-${l}`)))]}):null})),u=(0,r.o)((function(e){let{children:t,model:n,exportSVG:l}=e;const{height:i}=n;return l?t:(0,o.jsx)("svg",{style:{position:"absolute",top:0,left:0,pointerEvents:"none",height:i,width:r.u.getContainingView(n).width},children:t})})),g=(0,r.o)((function(e){const{model:t,orientation:n,exportSVG:r}=e,{showSidebar:l,stats:i,needsFullHeightScalebar:s,sources:a}=t;return i&&a?(0,o.jsx)(u,{...e,children:l?s?(0,o.jsx)(c,{model:t,orientation:n,exportSVG:r}):(0,o.jsx)(h,{model:t,orientation:n,exportSVG:r}):null}):null}))},5959:(e,t,n)=>{n.d(t,{a:()=>l,g:()=>s,m:()=>r});var o=n(9062);function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const o=t.map((t=>e.findIndex((e=>e.name===t)))).sort(((e,t)=>e-t));let r=0;for(const l of o){const t=Math.max(r,l-n);t>=r&&e.splice(t,0,e.splice(l,1)[0]),r+=1}return e}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const o=t.map((t=>e.findIndex((e=>e.name===t)))).sort(((e,t)=>t-e));let r=e.length-1;for(const l of o){const t=Math.min(r,l+n);t<=r&&e.splice(t,0,e.splice(l,1)[0]),r-=1}return e}const i=12.8;function s(e){const{prefersOffset:t}=e,{trackLabels:n}=o.u.getContainingView(e),r=o.u.getContainingTrack(e),l=o.s.getConf(r,"name");return"overlapping"!==n||t?10:o.u.measureText(l,i)+100}}}]); 2//# sourceMappingURL=2460.5e5decd0.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.