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