view x/static/js/9070.d49de235.chunk.js @ 125:49f3d3878413 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author fubar
date Sat, 05 Oct 2024 23:58:05 +0000
parents
children
line wrap: on
line source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9070],{9070:(e,t,n)=>{n.d(t,{doAfterAttach:()=>o});var a=n(99546),i=n(86576),s=n(36422);function o(e,t){function n(n){const a=e.ref;if(!a)return;const i=a.getContext("2d");i&&e.chainData&&(i.clearRect(0,0,a.width,2*e.height),i.resetTransform(),i.scale(2,2),t(e,i,a.width,e.height),e.setLastDrawnOffsetPx(n.offsetPx),e.setLastDrawnBpPerPx(n.bpPerPx))}(0,i.vi)(e,(async()=>{await async function(e){const{rpcSessionId:t}=(0,a.getContainingTrack)(e),{rpcManager:n}=(0,a.getSession)(e),i=(0,a.getContainingView)(e);if(!i.initialized||e.error||e.regionTooLarge)return;e.setLoading(!0);const o=await n.call(t,"PileupGetReducedFeatures",{sessionId:t,regions:i.staticBlocks.contentBlocks,filterBy:(0,s.getSnapshot)(e.filterBy),adapterConfig:e.adapterConfig});e.setChainData(o),e.setLoading(!1)}(e)}),{delay:1e3}),(0,i.vi)(e,(async()=>{const t=(0,a.getContainingView)(e);t.bpPerPx!==e.lastDrawnBpPerPx&&n(t)})),(0,i.vi)(e,(async()=>{n((0,a.getContainingView)(e))}),{delay:1e3})}}}]);
//# sourceMappingURL=9070.d49de235.chunk.js.map