@vitessce/all 3.4.7 → 3.4.8

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,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { aP as BaseDecoder } from "./index-18dbb697.js";
2
+ import { aP as BaseDecoder } from "./index-ebba1e3d.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
2
  import ReactDOM__default from "react-dom";
3
- import { aS as commonjsGlobal, aT as objectAssign, g as getDefaultExportFromCjs, aU as earcut, aV as getAugmentedNamespace } from "./index-18dbb697.js";
3
+ import { aS as commonjsGlobal, aT as objectAssign, g as getDefaultExportFromCjs, aU as earcut, aV as getAugmentedNamespace } from "./index-ebba1e3d.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, L as Layers, T as Texture, c as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, d as PCFShadowMap, e as VSMShadowMap, f as BufferGeometry, M as Material, h as Color, i as Clock, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, p as Ray$1, q as Plane, E as EventDispatcher, r as MOUSE, s as TOUCH, Q as Quaternion, t as Spherical, u as Loader, v as LoaderUtils, F as FileLoader, w as SpotLight, x as PointLight, D as DirectionalLight, y as MeshBasicMaterial, z as MeshPhysicalMaterial, I as InstancedMesh, H as Object3D, J as TextureLoader, K as ImageBitmapLoader, X as BufferAttribute, Y as InterleavedBuffer, Z as LinearFilter, $ as LinearMipmapLinearFilter, a0 as RepeatWrapping, a1 as PointsMaterial, a2 as LineBasicMaterial, a3 as MeshStandardMaterial, a4 as DoubleSide, a5 as PropertyBinding, a6 as SkinnedMesh, a7 as Mesh, a8 as LineSegments, a9 as Line$1, aa as LineLoop, ab as Points, ac as MathUtils, ad as Skeleton, ae as InterpolateLinear, af as AnimationClip, ag as Bone, ah as NearestFilter, ai as NearestMipmapNearestFilter, aj as LinearMipmapNearestFilter, ak as NearestMipmapLinearFilter, al as ClampToEdgeWrapping, am as MirroredRepeatWrapping, an as InterpolateDiscrete, ao as FrontSide, ap as InterleavedBufferAttribute, aq as VectorKeyframeTrack, ar as QuaternionKeyframeTrack, as as NumberKeyframeTrack, at as Box3, au as Sphere, av as Interpolant, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-18dbb697.js";
1
+ import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, L as Layers, T as Texture, c as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, d as PCFShadowMap, e as VSMShadowMap, f as BufferGeometry, M as Material, h as Color, i as Clock, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, p as Ray$1, q as Plane, E as EventDispatcher, r as MOUSE, s as TOUCH, Q as Quaternion, t as Spherical, u as Loader, v as LoaderUtils, F as FileLoader, w as SpotLight, x as PointLight, D as DirectionalLight, y as MeshBasicMaterial, z as MeshPhysicalMaterial, I as InstancedMesh, H as Object3D, J as TextureLoader, K as ImageBitmapLoader, X as BufferAttribute, Y as InterleavedBuffer, Z as LinearFilter, $ as LinearMipmapLinearFilter, a0 as RepeatWrapping, a1 as PointsMaterial, a2 as LineBasicMaterial, a3 as MeshStandardMaterial, a4 as DoubleSide, a5 as PropertyBinding, a6 as SkinnedMesh, a7 as Mesh, a8 as LineSegments, a9 as Line$1, aa as LineLoop, ab as Points, ac as MathUtils, ad as Skeleton, ae as InterpolateLinear, af as AnimationClip, ag as Bone, ah as NearestFilter, ai as NearestMipmapNearestFilter, aj as LinearMipmapNearestFilter, ak as NearestMipmapLinearFilter, al as ClampToEdgeWrapping, am as MirroredRepeatWrapping, an as InterpolateDiscrete, ao as FrontSide, ap as InterleavedBufferAttribute, aq as VectorKeyframeTrack, ar as QuaternionKeyframeTrack, as as NumberKeyframeTrack, at as Box3, au as Sphere, av as Interpolant, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-ebba1e3d.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useReducer, useRef, useDebugValue, useEffect, useLayoutEffect, useState, useMemo, forwardRef } from "react";
4
4
  import "@vitessce/vit-s";
@@ -23800,7 +23800,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23800
23800
  const {
23801
23801
  Text: TextMeshImpl,
23802
23802
  preloadFont
23803
- } = suspend(async () => import("./troika-three-text.esm-57f1beb5.js"), []);
23803
+ } = suspend(async () => import("./troika-three-text.esm-3d1f6283.js"), []);
23804
23804
  const invalidate2 = useThree(({
23805
23805
  invalidate: invalidate3
23806
23806
  }) => invalidate3);
@@ -15962,7 +15962,7 @@ function getStylesCreator(stylesOrCreator) {
15962
15962
  }
15963
15963
  }
15964
15964
  return {
15965
- create: function create5(theme, name2) {
15965
+ create: function create6(theme, name2) {
15966
15966
  var styles35;
15967
15967
  try {
15968
15968
  styles35 = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
@@ -25159,7 +25159,7 @@ var classCallCheck$1 = function(instance, Constructor) {
25159
25159
  }
25160
25160
  };
25161
25161
  var createClass$1 = function() {
25162
- function defineProperties3(target2, props) {
25162
+ function defineProperties4(target2, props) {
25163
25163
  for (var i2 = 0; i2 < props.length; i2++) {
25164
25164
  var descriptor2 = props[i2];
25165
25165
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -25171,9 +25171,9 @@ var createClass$1 = function() {
25171
25171
  }
25172
25172
  return function(Constructor, protoProps, staticProps) {
25173
25173
  if (protoProps)
25174
- defineProperties3(Constructor.prototype, protoProps);
25174
+ defineProperties4(Constructor.prototype, protoProps);
25175
25175
  if (staticProps)
25176
- defineProperties3(Constructor, staticProps);
25176
+ defineProperties4(Constructor, staticProps);
25177
25177
  return Constructor;
25178
25178
  };
25179
25179
  }();
@@ -39275,13 +39275,15 @@ function stratifyExpressionData(sampleEdges, sampleSets, sampleSetSelection, exp
39275
39275
  }
39276
39276
  function aggregateStratifiedExpressionData(stratifiedResult, geneSelection) {
39277
39277
  const result = new InternMap([], JSON.stringify);
39278
- [...stratifiedResult.keys()].forEach((cellSetKey) => {
39279
- result.set(cellSetKey, new InternMap([], JSON.stringify));
39280
- [...stratifiedResult.get(cellSetKey).keys()].forEach((sampleSetKey) => {
39281
- const values3 = stratifiedResult.get(cellSetKey).get(sampleSetKey).get(geneSelection[0]);
39282
- result.get(cellSetKey).set(sampleSetKey, values3);
39278
+ if (stratifiedResult) {
39279
+ Array.from(stratifiedResult.keys()).forEach((cellSetKey) => {
39280
+ result.set(cellSetKey, new InternMap([], JSON.stringify));
39281
+ Array.from(stratifiedResult.get(cellSetKey).keys()).forEach((sampleSetKey) => {
39282
+ const values3 = stratifiedResult.get(cellSetKey).get(sampleSetKey).get(geneSelection[0]);
39283
+ result.get(cellSetKey).set(sampleSetKey, values3);
39284
+ });
39283
39285
  });
39284
- });
39286
+ }
39285
39287
  return result;
39286
39288
  }
39287
39289
  var _global = { exports: {} };
@@ -39426,10 +39428,10 @@ var _propertyDesc = function(bitmap, value2) {
39426
39428
  value: value2
39427
39429
  };
39428
39430
  };
39429
- var dP$1 = require_objectDp();
39431
+ var dP$2 = require_objectDp();
39430
39432
  var createDesc$2 = _propertyDesc;
39431
39433
  var _hide = require_descriptors() ? function(object2, key2, value2) {
39432
- return dP$1.f(object2, key2, createDesc$2(1, value2));
39434
+ return dP$2.f(object2, key2, createDesc$2(1, value2));
39433
39435
  } : function(object2, key2, value2) {
39434
39436
  object2[key2] = value2;
39435
39437
  return object2;
@@ -39443,7 +39445,7 @@ var core$3 = _coreExports;
39443
39445
  var ctx = _ctx;
39444
39446
  var hide$2 = _hide;
39445
39447
  var has$a = _has$1;
39446
- var PROTOTYPE$1 = "prototype";
39448
+ var PROTOTYPE$2 = "prototype";
39447
39449
  var $export$6 = function(type2, name2, source2) {
39448
39450
  var IS_FORCED = type2 & $export$6.F;
39449
39451
  var IS_GLOBAL = type2 & $export$6.G;
@@ -39452,8 +39454,8 @@ var $export$6 = function(type2, name2, source2) {
39452
39454
  var IS_BIND = type2 & $export$6.B;
39453
39455
  var IS_WRAP = type2 & $export$6.W;
39454
39456
  var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
39455
- var expProto = exports2[PROTOTYPE$1];
39456
- var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$1];
39457
+ var expProto = exports2[PROTOTYPE$2];
39458
+ var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
39457
39459
  var key2, own, out;
39458
39460
  if (IS_GLOBAL)
39459
39461
  source2 = name2;
@@ -39477,7 +39479,7 @@ var $export$6 = function(type2, name2, source2) {
39477
39479
  }
39478
39480
  return C3.apply(this, arguments);
39479
39481
  };
39480
- F[PROTOTYPE$1] = C3[PROTOTYPE$1];
39482
+ F[PROTOTYPE$2] = C3[PROTOTYPE$2];
39481
39483
  return F;
39482
39484
  }(out) : IS_PROTO && typeof out == "function" ? ctx(Function.call, out) : out;
39483
39485
  if (IS_PROTO) {
@@ -39582,30 +39584,22 @@ var px$2 = Math.random();
39582
39584
  var _uid = function(key2) {
39583
39585
  return "Symbol(".concat(key2 === void 0 ? "" : key2, ")_", (++id$4 + px$2).toString(36));
39584
39586
  };
39585
- var _sharedKey;
39586
- var hasRequired_sharedKey;
39587
- function require_sharedKey() {
39588
- if (hasRequired_sharedKey)
39589
- return _sharedKey;
39590
- hasRequired_sharedKey = 1;
39591
- var shared2 = _sharedExports("keys");
39592
- var uid2 = _uid;
39593
- _sharedKey = function(key2) {
39594
- return shared2[key2] || (shared2[key2] = uid2(key2));
39595
- };
39596
- return _sharedKey;
39597
- }
39587
+ var shared$1 = _sharedExports("keys");
39588
+ var uid$3 = _uid;
39589
+ var _sharedKey = function(key2) {
39590
+ return shared$1[key2] || (shared$1[key2] = uid$3(key2));
39591
+ };
39598
39592
  var has$9 = _has$1;
39599
39593
  var toIObject$4 = _toIobject;
39600
39594
  var arrayIndexOf = _arrayIncludes(false);
39601
- var IE_PROTO$1 = require_sharedKey()("IE_PROTO");
39595
+ var IE_PROTO$2 = _sharedKey("IE_PROTO");
39602
39596
  var _objectKeysInternal = function(object2, names) {
39603
39597
  var O = toIObject$4(object2);
39604
39598
  var i2 = 0;
39605
39599
  var result = [];
39606
39600
  var key2;
39607
39601
  for (key2 in O)
39608
- if (key2 != IE_PROTO$1)
39602
+ if (key2 != IE_PROTO$2)
39609
39603
  has$9(O, key2) && result.push(key2);
39610
39604
  while (names.length > i2)
39611
39605
  if (has$9(O, key2 = names[i2++])) {
@@ -39615,9 +39609,9 @@ var _objectKeysInternal = function(object2, names) {
39615
39609
  };
39616
39610
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
39617
39611
  var $keys$2 = _objectKeysInternal;
39618
- var enumBugKeys = _enumBugKeys;
39612
+ var enumBugKeys$1 = _enumBugKeys;
39619
39613
  var _objectKeys$1 = Object.keys || function keys(O) {
39620
- return $keys$2(O, enumBugKeys);
39614
+ return $keys$2(O, enumBugKeys$1);
39621
39615
  };
39622
39616
  var _objectGops = {};
39623
39617
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -39735,7 +39729,7 @@ function _interopRequireDefault$o(obj) {
39735
39729
  return obj && obj.__esModule ? obj : { default: obj };
39736
39730
  }
39737
39731
  var _default$5 = function() {
39738
- function defineProperties3(target2, props) {
39732
+ function defineProperties4(target2, props) {
39739
39733
  for (var i2 = 0; i2 < props.length; i2++) {
39740
39734
  var descriptor2 = props[i2];
39741
39735
  descriptor2.enumerable = descriptor2.enumerable || false;
@@ -39747,9 +39741,9 @@ var _default$5 = function() {
39747
39741
  }
39748
39742
  return function(Constructor, protoProps, staticProps) {
39749
39743
  if (protoProps)
39750
- defineProperties3(Constructor.prototype, protoProps);
39744
+ defineProperties4(Constructor.prototype, protoProps);
39751
39745
  if (staticProps)
39752
- defineProperties3(Constructor, staticProps);
39746
+ defineProperties4(Constructor, staticProps);
39753
39747
  return Constructor;
39754
39748
  };
39755
39749
  }();
@@ -39770,27 +39764,19 @@ var _stringAt = function(TO_STRING) {
39770
39764
  };
39771
39765
  var _redefine = _hide;
39772
39766
  var _iterators = {};
39773
- var _objectDps;
39774
- var hasRequired_objectDps;
39775
- function require_objectDps() {
39776
- if (hasRequired_objectDps)
39777
- return _objectDps;
39778
- hasRequired_objectDps = 1;
39779
- var dP2 = require_objectDp();
39780
- var anObject2 = _anObject;
39781
- var getKeys2 = _objectKeys$1;
39782
- _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties3(O, Properties) {
39783
- anObject2(O);
39784
- var keys4 = getKeys2(Properties);
39785
- var length2 = keys4.length;
39786
- var i2 = 0;
39787
- var P2;
39788
- while (length2 > i2)
39789
- dP2.f(O, P2 = keys4[i2++], Properties[P2]);
39790
- return O;
39791
- };
39792
- return _objectDps;
39793
- }
39767
+ var dP$1 = require_objectDp();
39768
+ var anObject$2 = _anObject;
39769
+ var getKeys$1 = _objectKeys$1;
39770
+ var _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
39771
+ anObject$2(O);
39772
+ var keys4 = getKeys$1(Properties);
39773
+ var length2 = keys4.length;
39774
+ var i2 = 0;
39775
+ var P2;
39776
+ while (length2 > i2)
39777
+ dP$1.f(O, P2 = keys4[i2++], Properties[P2]);
39778
+ return O;
39779
+ };
39794
39780
  var _html;
39795
39781
  var hasRequired_html;
39796
39782
  function require_html() {
@@ -39801,50 +39787,42 @@ function require_html() {
39801
39787
  _html = document2 && document2.documentElement;
39802
39788
  return _html;
39803
39789
  }
39804
- var _objectCreate;
39805
- var hasRequired_objectCreate;
39806
- function require_objectCreate() {
39807
- if (hasRequired_objectCreate)
39808
- return _objectCreate;
39809
- hasRequired_objectCreate = 1;
39810
- var anObject2 = _anObject;
39811
- var dPs = require_objectDps();
39812
- var enumBugKeys2 = _enumBugKeys;
39813
- var IE_PROTO2 = require_sharedKey()("IE_PROTO");
39814
- var Empty2 = function() {
39815
- };
39816
- var PROTOTYPE2 = "prototype";
39817
- var createDict = function() {
39818
- var iframe = require_domCreate()("iframe");
39819
- var i2 = enumBugKeys2.length;
39820
- var lt2 = "<";
39821
- var gt2 = ">";
39822
- var iframeDocument;
39823
- iframe.style.display = "none";
39824
- require_html().appendChild(iframe);
39825
- iframe.src = "javascript:";
39826
- iframeDocument = iframe.contentWindow.document;
39827
- iframeDocument.open();
39828
- iframeDocument.write(lt2 + "script" + gt2 + "document.F=Object" + lt2 + "/script" + gt2);
39829
- iframeDocument.close();
39830
- createDict = iframeDocument.F;
39831
- while (i2--)
39832
- delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
39833
- return createDict();
39834
- };
39835
- _objectCreate = Object.create || function create5(O, Properties) {
39836
- var result;
39837
- if (O !== null) {
39838
- Empty2[PROTOTYPE2] = anObject2(O);
39839
- result = new Empty2();
39840
- Empty2[PROTOTYPE2] = null;
39841
- result[IE_PROTO2] = O;
39842
- } else
39843
- result = createDict();
39844
- return Properties === void 0 ? result : dPs(result, Properties);
39845
- };
39846
- return _objectCreate;
39847
- }
39790
+ var anObject$1 = _anObject;
39791
+ var dPs = _objectDps;
39792
+ var enumBugKeys = _enumBugKeys;
39793
+ var IE_PROTO$1 = _sharedKey("IE_PROTO");
39794
+ var Empty$2 = function() {
39795
+ };
39796
+ var PROTOTYPE$1 = "prototype";
39797
+ var createDict = function() {
39798
+ var iframe = require_domCreate()("iframe");
39799
+ var i2 = enumBugKeys.length;
39800
+ var lt2 = "<";
39801
+ var gt2 = ">";
39802
+ var iframeDocument;
39803
+ iframe.style.display = "none";
39804
+ require_html().appendChild(iframe);
39805
+ iframe.src = "javascript:";
39806
+ iframeDocument = iframe.contentWindow.document;
39807
+ iframeDocument.open();
39808
+ iframeDocument.write(lt2 + "script" + gt2 + "document.F=Object" + lt2 + "/script" + gt2);
39809
+ iframeDocument.close();
39810
+ createDict = iframeDocument.F;
39811
+ while (i2--)
39812
+ delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
39813
+ return createDict();
39814
+ };
39815
+ var _objectCreate = Object.create || function create2(O, Properties) {
39816
+ var result;
39817
+ if (O !== null) {
39818
+ Empty$2[PROTOTYPE$1] = anObject$1(O);
39819
+ result = new Empty$2();
39820
+ Empty$2[PROTOTYPE$1] = null;
39821
+ result[IE_PROTO$1] = O;
39822
+ } else
39823
+ result = createDict();
39824
+ return Properties === void 0 ? result : dPs(result, Properties);
39825
+ };
39848
39826
  var _wks = { exports: {} };
39849
39827
  var store = _sharedExports("wks");
39850
39828
  var uid$2 = _uid;
@@ -39862,7 +39840,7 @@ var _setToStringTag = function(it, tag2, stat) {
39862
39840
  if (it && !has$8(it = stat ? it : it.prototype, TAG))
39863
39841
  def$1(it, TAG, { configurable: true, value: tag2 });
39864
39842
  };
39865
- var create$b = require_objectCreate();
39843
+ var create$b = _objectCreate;
39866
39844
  var descriptor = _propertyDesc;
39867
39845
  var setToStringTag$2 = _setToStringTag;
39868
39846
  var IteratorPrototype$2 = {};
@@ -39875,7 +39853,7 @@ var _iterCreate = function(Constructor, NAME2, next3) {
39875
39853
  };
39876
39854
  var has$7 = _has$1;
39877
39855
  var toObject$2 = _toObject;
39878
- var IE_PROTO = require_sharedKey()("IE_PROTO");
39856
+ var IE_PROTO = _sharedKey("IE_PROTO");
39879
39857
  var ObjectProto$1 = Object.prototype;
39880
39858
  var _objectGpo = Object.getPrototypeOf || function(O) {
39881
39859
  O = toObject$2(O);
@@ -40038,23 +40016,23 @@ var setMeta = function(it) {
40038
40016
  // weak collections IDs
40039
40017
  } });
40040
40018
  };
40041
- var fastKey = function(it, create5) {
40019
+ var fastKey = function(it, create6) {
40042
40020
  if (!isObject$h(it))
40043
40021
  return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
40044
40022
  if (!has$6(it, META$1)) {
40045
40023
  if (!isExtensible(it))
40046
40024
  return "F";
40047
- if (!create5)
40025
+ if (!create6)
40048
40026
  return "E";
40049
40027
  setMeta(it);
40050
40028
  }
40051
40029
  return it[META$1].i;
40052
40030
  };
40053
- var getWeak = function(it, create5) {
40031
+ var getWeak = function(it, create6) {
40054
40032
  if (!has$6(it, META$1)) {
40055
40033
  if (!isExtensible(it))
40056
40034
  return true;
40057
- if (!create5)
40035
+ if (!create6)
40058
40036
  return false;
40059
40037
  setMeta(it);
40060
40038
  }
@@ -40163,7 +40141,7 @@ var toObject$1 = _toObject;
40163
40141
  var toIObject = _toIobject;
40164
40142
  var toPrimitive = _toPrimitive;
40165
40143
  var createDesc = _propertyDesc;
40166
- var _create$1 = require_objectCreate();
40144
+ var _create$1 = _objectCreate;
40167
40145
  var gOPNExt = _objectGopnExt;
40168
40146
  var $GOPD = _objectGopd;
40169
40147
  var $GOPS = _objectGops;
@@ -40230,7 +40208,7 @@ var $defineProperty$4 = function defineProperty2(it, key2, D2) {
40230
40208
  }
40231
40209
  return dP(it, key2, D2);
40232
40210
  };
40233
- var $defineProperties = function defineProperties(it, P2) {
40211
+ var $defineProperties = function defineProperties2(it, P2) {
40234
40212
  anObject(it);
40235
40213
  var keys4 = enumKeys(P2 = toIObject(P2));
40236
40214
  var i2 = 0;
@@ -40240,7 +40218,7 @@ var $defineProperties = function defineProperties(it, P2) {
40240
40218
  $defineProperty$4(it, key2 = keys4[i2++], P2[key2]);
40241
40219
  return it;
40242
40220
  };
40243
- var $create = function create2(it, P2) {
40221
+ var $create = function create3(it, P2) {
40244
40222
  return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
40245
40223
  };
40246
40224
  var $propertyIsEnumerable = function propertyIsEnumerable(key2) {
@@ -40467,9 +40445,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
40467
40445
  var setPrototypeOf$2 = _coreExports.Object.setPrototypeOf;
40468
40446
  var setPrototypeOf$1 = { "default": setPrototypeOf$2, __esModule: true };
40469
40447
  var $export = _export;
40470
- $export($export.S, "Object", { create: require_objectCreate() });
40448
+ $export($export.S, "Object", { create: _objectCreate });
40471
40449
  var $Object$2 = _coreExports.Object;
40472
- var create$a = function create3(P2, D2) {
40450
+ var create$a = function create4(P2, D2) {
40473
40451
  return $Object$2.create(P2, D2);
40474
40452
  };
40475
40453
  var create$9 = { "default": create$a, __esModule: true };
@@ -96261,11 +96239,11 @@ class Tileset2D {
96261
96239
  this._dirty = false;
96262
96240
  }
96263
96241
  }
96264
- _getTile(index2, create5) {
96242
+ _getTile(index2, create6) {
96265
96243
  const id2 = this.getTileId(index2);
96266
96244
  let tile = this._cache.get(id2);
96267
96245
  let needsReload = false;
96268
- if (!tile && create5) {
96246
+ if (!tile && create6) {
96269
96247
  tile = new Tile2DHeader(index2);
96270
96248
  Object.assign(tile, this.getTileMetadata(tile.index));
96271
96249
  Object.assign(tile, {
@@ -124664,7 +124642,7 @@ var defineProperty$2 = function(object2, name2, value2, predicate) {
124664
124642
  defineDataProperty2(object2, name2, value2);
124665
124643
  }
124666
124644
  };
124667
- var defineProperties2 = function(object2, map2) {
124645
+ var defineProperties3 = function(object2, map2) {
124668
124646
  var predicates = arguments.length > 2 ? arguments[2] : {};
124669
124647
  var props = keys$4(map2);
124670
124648
  if (hasSymbols$1) {
@@ -124674,8 +124652,8 @@ var defineProperties2 = function(object2, map2) {
124674
124652
  defineProperty$2(object2, props[i2], map2[props[i2]], predicates[props[i2]]);
124675
124653
  }
124676
124654
  };
124677
- defineProperties2.supportsDescriptors = !!supportsDescriptors$2;
124678
- var defineProperties_1 = defineProperties2;
124655
+ defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
124656
+ var defineProperties_1 = defineProperties3;
124679
124657
  var numberIsNaN = function(value2) {
124680
124658
  return value2 !== value2;
124681
124659
  };
@@ -158932,16 +158910,16 @@ async function getDecoder(fileDirectory) {
158932
158910
  const Decoder = await importFn();
158933
158911
  return new Decoder(fileDirectory);
158934
158912
  }
158935
- addDecoder([void 0, 1], () => import("./raw-a6eed765.js").then((m2) => m2.default));
158936
- addDecoder(5, () => import("./lzw-24106b2f.js").then((m2) => m2.default));
158913
+ addDecoder([void 0, 1], () => import("./raw-478626a5.js").then((m2) => m2.default));
158914
+ addDecoder(5, () => import("./lzw-13b6f62e.js").then((m2) => m2.default));
158937
158915
  addDecoder(6, () => {
158938
158916
  throw new Error("old style JPEG compression is not supported.");
158939
158917
  });
158940
- addDecoder(7, () => import("./jpeg-1e46c7a6.js").then((m2) => m2.default));
158941
- addDecoder([8, 32946], () => import("./deflate-d380a1ac.js").then((m2) => m2.default));
158942
- addDecoder(32773, () => import("./packbits-acb5020d.js").then((m2) => m2.default));
158943
- addDecoder(34887, () => import("./lerc-7335edde.js").then((m2) => m2.default));
158944
- addDecoder(50001, () => import("./webimage-f766c600.js").then((m2) => m2.default));
158918
+ addDecoder(7, () => import("./jpeg-4ea25d50.js").then((m2) => m2.default));
158919
+ addDecoder([8, 32946], () => import("./deflate-71285f81.js").then((m2) => m2.default));
158920
+ addDecoder(32773, () => import("./packbits-bb6a3ee0.js").then((m2) => m2.default));
158921
+ addDecoder(34887, () => import("./lerc-6dc56a5a.js").then((m2) => m2.default));
158922
+ addDecoder(50001, () => import("./webimage-f6a8e0e0.js").then((m2) => m2.default));
158945
158923
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
158946
158924
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
158947
158925
  }
@@ -174443,18 +174421,18 @@ function selection_lower() {
174443
174421
  return this.each(lower);
174444
174422
  }
174445
174423
  function selection_append(name2) {
174446
- var create5 = typeof name2 === "function" ? name2 : creator(name2);
174424
+ var create6 = typeof name2 === "function" ? name2 : creator(name2);
174447
174425
  return this.select(function() {
174448
- return this.appendChild(create5.apply(this, arguments));
174426
+ return this.appendChild(create6.apply(this, arguments));
174449
174427
  });
174450
174428
  }
174451
174429
  function constantNull() {
174452
174430
  return null;
174453
174431
  }
174454
174432
  function selection_insert(name2, before) {
174455
- var create5 = typeof name2 === "function" ? name2 : creator(name2), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
174433
+ var create6 = typeof name2 === "function" ? name2 : creator(name2), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
174456
174434
  return this.select(function() {
174457
- return this.insertBefore(create5.apply(this, arguments), select2.apply(this, arguments) || null);
174435
+ return this.insertBefore(create6.apply(this, arguments), select2.apply(this, arguments) || null);
174458
174436
  });
174459
174437
  }
174460
174438
  function remove$1() {
@@ -179743,7 +179721,7 @@ var typedFunction$1 = { exports: {} };
179743
179721
  function undef() {
179744
179722
  return void 0;
179745
179723
  }
179746
- function create5() {
179724
+ function create6() {
179747
179725
  var _types = [
179748
179726
  { name: "number", test: function(x2) {
179749
179727
  return typeof x2 === "number";
@@ -180495,7 +180473,7 @@ var typedFunction$1 = { exports: {} };
180495
180473
  return createTypedFunction(name2, extractSignatures(fns));
180496
180474
  }
180497
180475
  });
180498
- typed2.create = create5;
180476
+ typed2.create = create6;
180499
180477
  typed2.types = _types;
180500
180478
  typed2.conversions = _conversions;
180501
180479
  typed2.ignore = _ignore;
@@ -180526,7 +180504,7 @@ var typedFunction$1 = { exports: {} };
180526
180504
  };
180527
180505
  return typed2;
180528
180506
  }
180529
- return create5();
180507
+ return create6();
180530
180508
  });
180531
180509
  })(typedFunction$1);
180532
180510
  var typedFunctionExports = typedFunction$1.exports;
@@ -181238,11 +181216,11 @@ function getArrayDataType(array2, typeOf2) {
181238
181216
  }
181239
181217
  return type2;
181240
181218
  }
181241
- function factory(name2, dependencies2, create5, meta2) {
181219
+ function factory(name2, dependencies2, create6, meta2) {
181242
181220
  function assertAndCreate(scope) {
181243
181221
  var deps = pickShallow(scope, dependencies2.map(stripOptionalNotation));
181244
181222
  assertDependencies(name2, dependencies2, scope);
181245
- return create5(deps);
181223
+ return create6(deps);
181246
181224
  }
181247
181225
  assertAndCreate.isFactory = true;
181248
181226
  assertAndCreate.fn = name2;
@@ -199886,7 +199864,7 @@ class ErrorBoundary extends React__default.Component {
199886
199864
  }
199887
199865
  }
199888
199866
  const LazySpatialThree = React__default.lazy(async () => {
199889
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-bef5d3c7.js");
199867
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-dafcfc95.js");
199890
199868
  return { default: SpatialWrapper2 };
199891
199869
  });
199892
199870
  const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
@@ -208934,7 +208912,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
208934
208912
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
208935
208913
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
208936
208914
  const LazyHiGlassComponent = React__default.lazy(async () => {
208937
- const { HiGlassComponent } = await import("./hglib-fb36286c.js").then((n3) => n3.h);
208915
+ const { HiGlassComponent } = await import("./hglib-f861e9cd.js").then((n3) => n3.h);
208938
208916
  return { default: HiGlassComponent };
208939
208917
  });
208940
208918
  const HG_SIZE = 800;
@@ -214266,12 +214244,12 @@ function summarize(iterable, keepZeros) {
214266
214244
  }
214267
214245
  function dotStratifiedExpressionData(stratifiedResult, posThreshold) {
214268
214246
  const result = new InternMap([], JSON.stringify);
214269
- [...stratifiedResult.keys()].forEach((cellSetKey) => {
214247
+ Array.from(stratifiedResult.keys()).forEach((cellSetKey) => {
214270
214248
  result.set(cellSetKey, new InternMap([], JSON.stringify));
214271
- [...stratifiedResult.get(cellSetKey).keys()].forEach((sampleSetKey) => {
214249
+ Array.from(stratifiedResult.get(cellSetKey).keys()).forEach((sampleSetKey) => {
214272
214250
  result.get(cellSetKey).set(sampleSetKey, new InternMap([], JSON.stringify));
214273
214251
  const allGenes = stratifiedResult.get(cellSetKey).get(sampleSetKey);
214274
- [...allGenes.keys()].forEach((geneKey) => {
214252
+ Array.from(allGenes.keys()).forEach((geneKey) => {
214275
214253
  const values3 = allGenes.get(geneKey);
214276
214254
  const exprMean = mean$1(values3);
214277
214255
  const numPos = values3.reduce((acc, val) => val > posThreshold ? acc + 1 : acc, 0);
@@ -214288,9 +214266,9 @@ function dotStratifiedExpressionData(stratifiedResult, posThreshold) {
214288
214266
  }
214289
214267
  function summarizeStratifiedExpressionData(stratifiedResult, keepZeros) {
214290
214268
  const summarizedResult = new InternMap([], JSON.stringify);
214291
- [...stratifiedResult.keys()].forEach((cellSetKey) => {
214269
+ Array.from(stratifiedResult.keys()).forEach((cellSetKey) => {
214292
214270
  summarizedResult.set(cellSetKey, new InternMap([], JSON.stringify));
214293
- [...stratifiedResult.get(cellSetKey).keys()].forEach((sampleSetKey) => {
214271
+ Array.from(stratifiedResult.get(cellSetKey).keys()).forEach((sampleSetKey) => {
214294
214272
  const values3 = stratifiedResult.get(cellSetKey).get(sampleSetKey);
214295
214273
  const summary = summarize(values3, keepZeros);
214296
214274
  summarizedResult.get(cellSetKey).set(sampleSetKey, summary);
@@ -214299,9 +214277,9 @@ function summarizeStratifiedExpressionData(stratifiedResult, keepZeros) {
214299
214277
  return summarizedResult;
214300
214278
  }
214301
214279
  function histogramStratifiedExpressionData(summarizedResult, binCount, yMinProp) {
214302
- const groupSummaries = [...summarizedResult.keys()].map((cellSetKey) => ({
214280
+ const groupSummaries = Array.from(summarizedResult.keys()).map((cellSetKey) => ({
214303
214281
  key: cellSetKey,
214304
- value: [...summarizedResult.get(cellSetKey).keys()].map((sampleSetKey) => ({
214282
+ value: Array.from(summarizedResult.get(cellSetKey).keys()).map((sampleSetKey) => ({
214305
214283
  key: sampleSetKey,
214306
214284
  value: summarizedResult.get(cellSetKey).get(sampleSetKey)
214307
214285
  }))
@@ -230765,7 +230743,7 @@ inherits(Projection$1, Transform2, {
230765
230743
  transform(_, pulse2) {
230766
230744
  let proj = this.value;
230767
230745
  if (!proj || _.modified("type")) {
230768
- this.value = proj = create4(_.type);
230746
+ this.value = proj = create5(_.type);
230769
230747
  projectionProperties.forEach((prop) => {
230770
230748
  if (_[prop] != null)
230771
230749
  set$3(proj, prop, _[prop]);
@@ -230787,7 +230765,7 @@ function fit(proj, _) {
230787
230765
  const data2 = collectGeoJSON(_.fit);
230788
230766
  _.extent ? proj.fitExtent(_.extent, data2) : _.size ? proj.fitSize(_.size, data2) : 0;
230789
230767
  }
230790
- function create4(type2) {
230768
+ function create5(type2) {
230791
230769
  const constructor = projection((type2 || "mercator").toLowerCase());
230792
230770
  if (!constructor)
230793
230771
  error("Unrecognized projection type: " + type2);
@@ -239594,8 +239572,8 @@ function bind3(view, el2, binding) {
239594
239572
  bind4.update = debounce(param2.debounce, bind4.update);
239595
239573
  }
239596
239574
  }
239597
- const create5 = param2.input == null && param2.element ? target : generate$1;
239598
- create5(bind4, el2, param2, view);
239575
+ const create6 = param2.input == null && param2.element ? target : generate$1;
239576
+ create6(bind4, el2, param2, view);
239599
239577
  if (!bind4.active) {
239600
239578
  view.on(view._signals[param2.signal], null, () => {
239601
239579
  bind4.source ? bind4.source = false : bind4.set(view.signal(param2.signal));
@@ -266184,9 +266162,9 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
266184
266162
  const cellSetToUuid = new InternMap(cellSetSelection == null ? void 0 : cellSetSelection.map((sampleSet) => [sampleSet, v4$1()]), JSON.stringify);
266185
266163
  const sampleSetToUuid = new InternMap(sampleSetSelection == null ? void 0 : sampleSetSelection.map((sampleSet) => [sampleSet, v4$1()]), JSON.stringify);
266186
266164
  const result = [];
266187
- [...dotData.keys()].forEach((cellSetKey) => {
266188
- [...dotData.get(cellSetKey).keys()].forEach((sampleSetKey) => {
266189
- [...dotData.get(cellSetKey).get(sampleSetKey).keys()].forEach((geneKey) => {
266165
+ Array.from(dotData.keys()).forEach((cellSetKey) => {
266166
+ Array.from(dotData.get(cellSetKey).keys()).forEach((sampleSetKey) => {
266167
+ Array.from(dotData.get(cellSetKey).get(sampleSetKey).keys()).forEach((geneKey) => {
266190
266168
  const dotObj = dotData.get(cellSetKey).get(sampleSetKey).get(geneKey);
266191
266169
  const featureName = geneKey;
266192
266170
  result.push({
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b5, b3, b1, b4, b2, b0, b6 } from "./index-18dbb697.js";
1
+ import { b5, b3, b1, b4, b2, b0, b6 } from "./index-ebba1e3d.js";
2
2
  import { useCoordination } from "@vitessce/vit-s";
3
3
  import "react";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-18dbb697.js";
1
+ import { aP as BaseDecoder } from "./index-ebba1e3d.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-18dbb697.js";
2
+ import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-ebba1e3d.js";
3
3
  import "react";
4
4
  import "@vitessce/vit-s";
5
5
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-18dbb697.js";
1
+ import { aP as BaseDecoder } from "./index-ebba1e3d.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-18dbb697.js";
1
+ import { aP as BaseDecoder } from "./index-ebba1e3d.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-18dbb697.js";
1
+ import { aP as BaseDecoder } from "./index-ebba1e3d.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aB as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, a$ as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-18dbb697.js";
1
+ import { aB as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, a$ as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-ebba1e3d.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-18dbb697.js";
1
+ import { aP as BaseDecoder } from "./index-ebba1e3d.js";
2
2
  import "react";
3
3
  import "@vitessce/vit-s";
4
4
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.4.7",
3
+ "version": "3.4.8",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -18,29 +18,29 @@
18
18
  "dependencies": {
19
19
  "@material-ui/core": "~4.12.3",
20
20
  "zod": "^3.21.4",
21
- "@vitessce/constants-internal": "3.4.7",
22
- "@vitessce/csv": "3.4.7",
23
- "@vitessce/description": "3.4.7",
24
- "@vitessce/feature-list": "3.4.7",
25
- "@vitessce/genomic-profiles": "3.4.7",
26
- "@vitessce/heatmap": "3.4.7",
27
- "@vitessce/glb": "3.4.7",
28
- "@vitessce/json": "3.4.7",
29
- "@vitessce/layer-controller": "3.4.7",
30
- "@vitessce/layer-controller-beta": "3.4.7",
31
- "@vitessce/obs-sets-manager": "3.4.7",
32
- "@vitessce/ome-tiff": "3.4.7",
33
- "@vitessce/plugins": "3.4.7",
34
- "@vitessce/scatterplot-embedding": "3.4.7",
35
- "@vitessce/scatterplot-gating": "3.4.7",
36
- "@vitessce/schemas": "3.4.7",
37
- "@vitessce/spatial": "3.4.7",
38
- "@vitessce/spatial-beta": "3.4.7",
39
- "@vitessce/statistical-plots": "3.4.7",
40
- "@vitessce/status": "3.4.7",
41
- "@vitessce/vit-s": "3.4.7",
42
- "@vitessce/zarr": "3.4.7",
43
- "@vitessce/spatial-three": "3.4.7"
21
+ "@vitessce/constants-internal": "3.4.8",
22
+ "@vitessce/csv": "3.4.8",
23
+ "@vitessce/description": "3.4.8",
24
+ "@vitessce/feature-list": "3.4.8",
25
+ "@vitessce/genomic-profiles": "3.4.8",
26
+ "@vitessce/heatmap": "3.4.8",
27
+ "@vitessce/glb": "3.4.8",
28
+ "@vitessce/json": "3.4.8",
29
+ "@vitessce/layer-controller": "3.4.8",
30
+ "@vitessce/layer-controller-beta": "3.4.8",
31
+ "@vitessce/obs-sets-manager": "3.4.8",
32
+ "@vitessce/ome-tiff": "3.4.8",
33
+ "@vitessce/plugins": "3.4.8",
34
+ "@vitessce/scatterplot-embedding": "3.4.8",
35
+ "@vitessce/scatterplot-gating": "3.4.8",
36
+ "@vitessce/schemas": "3.4.8",
37
+ "@vitessce/spatial": "3.4.8",
38
+ "@vitessce/spatial-beta": "3.4.8",
39
+ "@vitessce/statistical-plots": "3.4.8",
40
+ "@vitessce/status": "3.4.8",
41
+ "@vitessce/vit-s": "3.4.8",
42
+ "@vitessce/zarr": "3.4.8",
43
+ "@vitessce/spatial-three": "3.4.8"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^18.0.28",