"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3880],{83880:(e,t,n)=>{n.d(t,{renderSvg:()=>r});var a=n(66204),i=n(90872);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(8112).then(n.t.bind(n,38112,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=3880.d1361551.chunk.js.map