"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7842],{57842:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var r=s(46377),a=s(99834);class i extends r.BaseAdapter{async setupPre(){const t=this.pluginManager,e=(0,a.openLocation)(this.getConf("chromSizesLocation"),t),s=await e.readFile("utf8");return Object.fromEntries(s.split(/\n|\r\n|\r/).map((t=>t.trim())).filter((t=>!!t)).map((t=>{const[e,s]=t.split("\t");return[e,+s]})))}async setup(){return this.setupP||(this.setupP=this.setupPre().catch((t=>{throw this.setupP=void 0,t}))),this.setupP}async getRegions(){const t=await this.setup();return Object.keys(t).map((e=>({refName:e,start:0,end:t[e]})))}getHeader(){return{}}}}}]);
//# sourceMappingURL=7842.a61cbac8.chunk.js.map