"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3497],{93497:(e,t,a)=>{a.d(t,{doAfterAttach:()=>o});var n=a(99546),s=a(42489),i=a(36422);function o(e){!function(e,t){(0,i.addDisposer)(e,(0,s.autorun)((async()=>{try{await t()}catch(t){(0,i.isAlive)(e)&&e.setError(t)}}),{delay:1e3}))}(e,(async()=>{await async function(e){const{rpcSessionId:t}=(0,n.getContainingTrack)(e),{rpcManager:a}=(0,n.getSession)(e),s=(0,n.getContainingView)(e);if(!s.initialized||e.error||!e.statsReadyAndRegionNotTooLarge)return;e.setLoading(!0);const i=await a.call(t,"CoreGetFeatures",{sessionId:t,regions:s.staticBlocks.contentBlocks,adapterConfig:e.adapterConfig});e.setFeatures((0,n.dedupe)(i,(e=>e.id()))),e.setLoading(!1)}(e)}))}}}]);
//# sourceMappingURL=3497.8b9602c3.chunk.js.map