@vitessce/all 3.6.18 → 3.7.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,7 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- var _a;
5
1
  import { _ as __toBinary } from "./chunk-INHXZS53-DHVJiuU3.js";
6
2
  var blosc_codec = (() => {
7
3
  typeof document !== "undefined" && document.currentScript ? document.currentScript.src : void 0;
@@ -37,8 +33,7 @@ var blosc_codec = (() => {
37
33
  }
38
34
  var H = 0, J = null;
39
35
  function x(a) {
40
- var _a2;
41
- (_a2 = f.onAbort) == null ? void 0 : _a2.call(f, a);
36
+ f.onAbort?.(a);
42
37
  a = "Aborted(" + a + ")";
43
38
  t(a);
44
39
  fa = true;
@@ -312,7 +307,7 @@ var blosc_codec = (() => {
312
307
  }
313
308
  return c;
314
309
  }, cb = (a, b, c) => {
315
- c ?? (c = 2147483647);
310
+ c ??= 2147483647;
316
311
  if (2 > c)
317
312
  return 0;
318
313
  c -= 2;
@@ -332,7 +327,7 @@ var blosc_codec = (() => {
332
327
  }
333
328
  return d;
334
329
  }, fb = (a, b, c) => {
335
- c ?? (c = 2147483647);
330
+ c ??= 2147483647;
336
331
  if (4 > c)
337
332
  return 0;
338
333
  var d = b;
@@ -752,22 +747,20 @@ var blosc_codec = (() => {
752
747
  return 0;
753
748
  }
754
749
  }, Y = function() {
755
- var _a2;
756
750
  function a(c) {
757
- var _a3;
758
751
  Y = c.exports;
759
752
  y = Y.w;
760
753
  ja();
761
754
  Pa = Y.A;
762
755
  la.unshift(Y.x);
763
756
  H--;
764
- (_a3 = f.monitorRunDependencies) == null ? void 0 : _a3.call(f, H);
757
+ f.monitorRunDependencies?.(H);
765
758
  0 == H && (J && (c = J, J = null, c()));
766
759
  return Y;
767
760
  }
768
761
  var b = { a: nb };
769
762
  H++;
770
- (_a2 = f.monitorRunDependencies) == null ? void 0 : _a2.call(f, H);
763
+ f.monitorRunDependencies?.(H);
771
764
  if (f.instantiateWasm)
772
765
  try {
773
766
  return f.instantiateWasm(
@@ -828,12 +821,18 @@ var blosc_codec_default2 = __toBinary("AGFzbQEAAAABvwEWYAJ/fwBgBX9/f39/AX9gAn9/A
828
821
  var COMPRESSORS = /* @__PURE__ */ new Set(["blosclz", "lz4", "lz4hc", "snappy", "zlib", "zstd"]);
829
822
  var emscriptenModule;
830
823
  var init = () => blosc_codec_default({ noInitialRun: true, wasmBinary: blosc_codec_default2 });
831
- var Blosc = (_a = class {
824
+ var Blosc = class Blosc2 {
825
+ static codecId = "blosc";
826
+ static COMPRESSORS = [...COMPRESSORS];
827
+ static NOSHUFFLE = 0;
828
+ static SHUFFLE = 1;
829
+ static BITSHUFFLE = 2;
830
+ static AUTOSHUFFLE = -1;
831
+ clevel;
832
+ cname;
833
+ shuffle;
834
+ blocksize;
832
835
  constructor(clevel = 5, cname = "lz4", shuffle = 1, blocksize = 0) {
833
- __publicField(this, "clevel");
834
- __publicField(this, "cname");
835
- __publicField(this, "shuffle");
836
- __publicField(this, "blocksize");
837
836
  if (clevel < 0 || clevel > 9) {
838
837
  throw new Error(`Invalid compression level: '${clevel}'. It should be between 0 and 9`);
839
838
  }
@@ -855,7 +854,7 @@ var Blosc = (_a = class {
855
854
  this.shuffle = shuffle;
856
855
  }
857
856
  static fromConfig({ blocksize, clevel, cname, shuffle }) {
858
- return new _a(clevel, cname, shuffle, blocksize);
857
+ return new Blosc2(clevel, cname, shuffle, blocksize);
859
858
  }
860
859
  async encode(data) {
861
860
  if (!emscriptenModule) {
@@ -881,7 +880,7 @@ var Blosc = (_a = class {
881
880
  }
882
881
  return result;
883
882
  }
884
- }, __publicField(_a, "codecId", "blosc"), __publicField(_a, "COMPRESSORS", [...COMPRESSORS]), __publicField(_a, "NOSHUFFLE", 0), __publicField(_a, "SHUFFLE", 1), __publicField(_a, "BITSHUFFLE", 2), __publicField(_a, "AUTOSHUFFLE", -1), _a);
883
+ };
885
884
  var blosc_default = Blosc;
886
885
  export {
887
886
  blosc_default as default
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aP as BaseDecoder } from "./index-B2chDEFY.js";
2
+ import { aP as BaseDecoder } from "./index-Ci947y1K.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -1,7 +1,7 @@
1
1
  import * as React$7 from "react";
2
2
  import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
3
3
  import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
4
- import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-B2chDEFY.js";
4
+ import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-Ci947y1K.js";
5
5
  var promise = {};
6
6
  var hasRequiredPromise;
7
7
  function requirePromise() {