@genome-spy/app 0.52.0 → 0.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,7 @@
1
- import { _ as Y, L as J } from "./index-mihmTLo-.js";
2
- import { b as K } from "./index-C8lYPtq_.js";
1
+ import { _ as Y, L as J } from "./index-uO0O4Uv-.js";
2
+ import { b as K } from "./index-B5cesONJ.js";
3
3
  import { L as P } from "./__vite-browser-external-C--ziKoh.js";
4
- import { u as F, L as G, a as Q } from "./long-CYrAUkxh.js";
5
- import "./_commonjsHelpers-BIiJCwQW.js";
4
+ import { u as F, L as G, a as Q } from "./long-D4tVjLLz.js";
6
5
  function H(a) {
7
6
  if (a.greaterThan(Number.MAX_SAFE_INTEGER) || a.lessThan(Number.MIN_SAFE_INTEGER))
8
7
  throw new Error("integer overflow");
@@ -304,7 +303,7 @@ class U extends X {
304
303
  for (let w = 0; w < l; w += 1) {
305
304
  const u = t.readUInt32LE(c);
306
305
  if (u > this.maxBinNumber)
307
- b = this.parsePseudoBin(t, c + 4), c += 4 + 8 + 4 + 16 + 16;
306
+ b = this.parsePseudoBin(t, c + 4), c += 48;
308
307
  else {
309
308
  const I = T(t, c + 4);
310
309
  f = this._findFirstData(f, I);
@@ -372,7 +371,7 @@ const R = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
372
371
  function se(a) {
373
372
  return new Promise((e) => setTimeout(e, a));
374
373
  }
375
- class he {
374
+ class fe {
376
375
  /**
377
376
  * @param {object} args
378
377
  * @param {string} [args.path]
@@ -508,8 +507,7 @@ class he {
508
507
  const r = ((t == null ? void 0 : t.blockPosition) || 0) + i, s = await this._readRegion(0, r, e), o = await F(s);
509
508
  if (n) {
510
509
  let f = -1;
511
- const c = `
512
- `.charCodeAt(0), m = n.charCodeAt(0);
510
+ const c = 10, m = n.charCodeAt(0);
513
511
  for (let l = 0; l < o.length && !(l === f + 1 && o[l] !== m); l += 1)
514
512
  o[l] === c && (f = l);
515
513
  return o.slice(0, f + 1);
@@ -611,5 +609,5 @@ class he {
611
609
  export {
612
610
  U as CSI,
613
611
  z as TBI,
614
- he as TabixIndexedFile
612
+ fe as TabixIndexedFile
615
613
  };
@@ -1,4 +1,4 @@
1
- import { b as ce } from "./index-C8lYPtq_.js";
1
+ import { b as ce } from "./index-B5cesONJ.js";
2
2
  import { _ as Vt } from "./__vite-browser-external-C--ziKoh.js";
3
3
  import { a as Gt } from "./_commonjsHelpers-BIiJCwQW.js";
4
4
  var He = { exports: {} }, z = typeof Reflect == "object" ? Reflect : null, Je = z && typeof z.apply == "function" ? z.apply : function(e, r, a) {
@@ -288,7 +288,7 @@ function Zt() {
288
288
  }
289
289
  }
290
290
  function s(m, S, b) {
291
- return S && o(m.prototype, S), b && o(m, b), Object.defineProperty(m, "prototype", { writable: !1 }), m;
291
+ return S && o(m.prototype, S), Object.defineProperty(m, "prototype", { writable: !1 }), m;
292
292
  }
293
293
  function f(m) {
294
294
  var S = u(m, "string");
@@ -485,7 +485,7 @@ function Q() {
485
485
  return "of ".concat(l, " ").concat(String(u));
486
486
  }
487
487
  function o(u, l, h) {
488
- return u.substr(!h || h < 0 ? 0 : +h, l.length) === l;
488
+ return u.substr(0, l.length) === l;
489
489
  }
490
490
  function s(u, l, h) {
491
491
  return (h === void 0 || h > u.length) && (h = u.length), u.substring(h - l.length, h) === l;
@@ -869,6 +869,7 @@ function X() {
869
869
  }), Oe;
870
870
  }
871
871
  var Be = {}, We = { exports: {} };
872
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
872
873
  (function(t, e) {
873
874
  var r = ce, a = r.Buffer;
874
875
  function o(f, u) {
@@ -879,7 +880,7 @@ var Be = {}, We = { exports: {} };
879
880
  function s(f, u, l) {
880
881
  return a(f, u, l);
881
882
  }
882
- o(a, s), s.from = function(f, u, l) {
883
+ s.prototype = Object.create(a.prototype), o(a, s), s.from = function(f, u, l) {
883
884
  if (typeof f == "number")
884
885
  throw new TypeError("Argument must not be a number");
885
886
  return a(f, u, l);
@@ -1517,7 +1518,7 @@ function Ot() {
1517
1518
  }
1518
1519
  });
1519
1520
  for (var j in n)
1520
- this[j] === void 0 && typeof n[j] == "function" && (this[j] = function(G) {
1521
+ this[j] === void 0 && typeof n[j] == "function" && (this[j] = /* @__PURE__ */ function(G) {
1521
1522
  return function() {
1522
1523
  return n[G].apply(n, arguments);
1523
1524
  };