3&&void 0!==_[3]?_[3]:{},r<0&&(r=0),e.next=4,this.parse(o);case 4:if(i=e.sent){e.next=7;break}return e.abrupt("return",[]);case 7:if(a=i.indices[t]){e.next=10;break}return e.abrupt("return",[]);case 10:u=Z(r,n),c=[],l=j(u);try{for(l.s();!(s=l.n()).done;)for(f=E(s.value,2),p=f[0],d=f[1],h=p;h<=d;h++)if(a.binIndex[h]){y=a.binIndex[h],m=j(y);try{for(m.s();!(b=m.n()).done;)g=b.value,c.push(g)}catch(e){m.e(e)}finally{m.f()}}}catch(e){l.e(e)}finally{l.f()}for(w=a.linearIndex.length,x=Math.min(r>>14,w-1),O=Math.min(n>>14,w-1),P=x;P<=O;++P)(k=a.linearIndex[P])&&(!S||k.compareTo(S)<0)&&(S=k);return e.abrupt("return",v(c,S));case 19:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return i.apply(this,arguments)})},{key:"parse",value:(o=A(L().mark((function e(){var t,r=this,n=arguments;return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},this.setupP||(this.setupP=this._parse(t).catch((function(e){throw r.setupP=void 0,e}))),e.abrupt("return",this.setupP);case 3:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"hasRefSeq",value:(n=A(L().mark((function e(t){var r,n,o,i=arguments;return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.parse(r);case 3:return o=e.sent,e.abrupt("return",!!(null===(n=o.indices[t])||void 0===n?void 0:n.binIndex));case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}],r&&I(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),h}(x),B=r(80365),z=r(40661),G=r.n(z),U=r(41589),H=r(93403),V=r(33860),W=r.n(V),q=r(94877),$=r.n(q);function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function K(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=J(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function J(e,t){if(e){if("string"==typeof e)return X(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?X(e,t):void 0}}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r3&&void 0!==S[3]?S[3]:{},r<0&&(r=0),e.next=4,this.parse(o);case 4:if(a=e.sent,u=null==a?void 0:a.indices[t]){e.next=8;break}return e.abrupt("return",[]);case 8:if(0!==(c=this.reg2bins(r,n)).length){e.next=11;break}return e.abrupt("return",[]);case 11:l=[],s=K(c);try{for(s.s();!(f=s.n()).done;)for(x=f.value,O=2,p=function(e){if(Array.isArray(e))return e}(x)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(x,O)||J(x,O)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=p[0],h=p[1],y=d;y<=h;y++)if(u.binIndex[y]){m=u.binIndex[y],b=K(m);try{for(b.s();!(g=b.n()).done;)w=g.value,l.push(w)}catch(e){b.e(e)}finally{b.f()}}}catch(e){s.e(e)}finally{s.f()}return e.abrupt("return",v(l,new i(0,0)));case 15:case"end":return e.stop()}var x,O}),e,this)}))),function(e,t,r){return u.apply(this,arguments)})},{key:"reg2bins",value:function(e,t){(e-=1)<1&&(e=1),t>Math.pow(2,50)&&(t=Math.pow(2,34)),t-=1;for(var r,n=0,o=0,i=this.minShift+3*this.depth,a=[];n<=this.depth;i-=3,o+=(r=3*n,1*Math.pow(2,r)),n+=1){var u=o+ce(e,i),c=o+ce(t,i);if(c-u+a.length>this.maxBinNumber)throw new Error("query ".concat(e,"-").concat(t," is too large for current binning scheme (shift ").concat(this.minShift,", depth ").concat(this.depth,"), try a smaller query or a coarser index binning scheme"));a.push([u,c])}return a}},{key:"parse",value:(o=ne(te().mark((function e(){var t,r=this,n=arguments;return te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},this.setupP||(this.setupP=this._parse(t).catch((function(e){throw r.setupP=void 0,e}))),e.abrupt("return",this.setupP);case 3:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"hasRefSeq",value:(n=ne(te().mark((function e(t){var r,n,o,i=arguments;return te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.parse(r);case 3:return o=e.sent,e.abrupt("return",!!(null===(n=o.indices[t])||void 0===n?void 0:n.binIndex));case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}],r&&oe(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),y}(x);function se(e){return se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},se(e)}function fe(e,t){for(var r=0;r>=7;n<30;n++)for(L[n]=o<<7,e=0;e<1<