"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9584],{59584:(e,t,n)=>{n.d(t,{renderSvg:()=>a});var i=n(99546),s=n(69500);async function a(e,t,a){const r=(0,i.getContainingView)(e).dynamicBlocks.totalWidthPx,c=e.height;if(t.rasterizeLayers){const t=document.createElement("canvas");t.width=2*r,t.height=2*c;const n=t.getContext("2d");if(!n)return;return n.scale(2,2),a(e,n,r,c),(0,s.jsx)("image",{width:r,height:c,xlinkHref:t.toDataURL("image/png")})}{const t=new((await n.e(3109).then(n.t.bind(n,63109,23))).default)(r,c);a(e,t,r,c);const i=(h=e.id,`arc-clip-${"undefined"==typeof jest?h:"jest"}`);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:i,children:(0,s.jsx)("rect",{x:0,y:0,width:r,height:c})})}),(0,s.jsx)("g",{dangerouslySetInnerHTML:{__html:t.getSvg().innerHTML},clipPath:`url(#${i})`})]})}var h}}}]);
//# sourceMappingURL=9584.5d354f43.chunk.js.map