@vitessce/dev 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 { aQ as BaseDecoder } from "./index-32bd9a42.js";
2
+ import { aQ as BaseDecoder } from "./index-2951243b.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
2
  import ReactDOM__default from "react-dom";
3
- import { aT as commonjsGlobal, aU as objectAssign, g as getDefaultExportFromCjs, aV as earcut, aW as getAugmentedNamespace } from "./index-32bd9a42.js";
3
+ import { aT as commonjsGlobal, aU as objectAssign, g as getDefaultExportFromCjs, aV as earcut, aW as getAugmentedNamespace } from "./index-2951243b.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
6
6
  const e = m[i];
@@ -832,10 +832,10 @@ const COMPONENT_COORDINATION_TYPES = {
832
832
  ]
833
833
  };
834
834
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
835
- const version$6 = "3.4.7";
836
- const date$5 = "2024-07-25";
835
+ const version$6 = "3.4.8";
836
+ const date$5 = "2024-07-26";
837
837
  const branch = "changeset-release/main";
838
- const hash$1 = "efed9951";
838
+ const hash$1 = "61e7e8e5";
839
839
  const META_VERSION = {
840
840
  note,
841
841
  version: version$6,
@@ -54800,13 +54800,15 @@ function stratifyExpressionData(sampleEdges, sampleSets, sampleSetSelection, exp
54800
54800
  }
54801
54801
  function aggregateStratifiedExpressionData(stratifiedResult, geneSelection) {
54802
54802
  const result = new InternMap([], JSON.stringify);
54803
- [...stratifiedResult.keys()].forEach((cellSetKey) => {
54804
- result.set(cellSetKey, new InternMap([], JSON.stringify));
54805
- [...stratifiedResult.get(cellSetKey).keys()].forEach((sampleSetKey) => {
54806
- const values3 = stratifiedResult.get(cellSetKey).get(sampleSetKey).get(geneSelection[0]);
54807
- result.get(cellSetKey).set(sampleSetKey, values3);
54803
+ if (stratifiedResult) {
54804
+ Array.from(stratifiedResult.keys()).forEach((cellSetKey) => {
54805
+ result.set(cellSetKey, new InternMap([], JSON.stringify));
54806
+ Array.from(stratifiedResult.get(cellSetKey).keys()).forEach((sampleSetKey) => {
54807
+ const values3 = stratifiedResult.get(cellSetKey).get(sampleSetKey).get(geneSelection[0]);
54808
+ result.get(cellSetKey).set(sampleSetKey, values3);
54809
+ });
54808
54810
  });
54809
- });
54811
+ }
54810
54812
  return result;
54811
54813
  }
54812
54814
  var _global = { exports: {} };
@@ -54864,19 +54866,11 @@ var _fails = function(exec) {
54864
54866
  return true;
54865
54867
  }
54866
54868
  };
54867
- var _descriptors;
54868
- var hasRequired_descriptors;
54869
- function require_descriptors() {
54870
- if (hasRequired_descriptors)
54871
- return _descriptors;
54872
- hasRequired_descriptors = 1;
54873
- _descriptors = !_fails(function() {
54874
- return Object.defineProperty({}, "a", { get: function() {
54875
- return 7;
54876
- } }).a != 7;
54877
- });
54878
- return _descriptors;
54879
- }
54869
+ var _descriptors = !_fails(function() {
54870
+ return Object.defineProperty({}, "a", { get: function() {
54871
+ return 7;
54872
+ } }).a != 7;
54873
+ });
54880
54874
  var _domCreate;
54881
54875
  var hasRequired_domCreate;
54882
54876
  function require_domCreate() {
@@ -54891,19 +54885,11 @@ function require_domCreate() {
54891
54885
  };
54892
54886
  return _domCreate;
54893
54887
  }
54894
- var _ie8DomDefine;
54895
- var hasRequired_ie8DomDefine;
54896
- function require_ie8DomDefine() {
54897
- if (hasRequired_ie8DomDefine)
54898
- return _ie8DomDefine;
54899
- hasRequired_ie8DomDefine = 1;
54900
- _ie8DomDefine = !require_descriptors() && !_fails(function() {
54901
- return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
54902
- return 7;
54903
- } }).a != 7;
54904
- });
54905
- return _ie8DomDefine;
54906
- }
54888
+ var _ie8DomDefine = !_descriptors && !_fails(function() {
54889
+ return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
54890
+ return 7;
54891
+ } }).a != 7;
54892
+ });
54907
54893
  var isObject$f = _isObject;
54908
54894
  var _toPrimitive = function(it, S) {
54909
54895
  if (!isObject$f(it))
@@ -54917,32 +54903,25 @@ var _toPrimitive = function(it, S) {
54917
54903
  return val;
54918
54904
  throw TypeError("Can't convert object to primitive value");
54919
54905
  };
54920
- var hasRequired_objectDp;
54921
- function require_objectDp() {
54922
- if (hasRequired_objectDp)
54923
- return _objectDp;
54924
- hasRequired_objectDp = 1;
54925
- var anObject2 = _anObject;
54926
- var IE8_DOM_DEFINE2 = require_ie8DomDefine();
54927
- var toPrimitive2 = _toPrimitive;
54928
- var dP2 = Object.defineProperty;
54929
- _objectDp.f = require_descriptors() ? Object.defineProperty : function defineProperty4(O, P2, Attributes) {
54930
- anObject2(O);
54931
- P2 = toPrimitive2(P2, true);
54932
- anObject2(Attributes);
54933
- if (IE8_DOM_DEFINE2)
54934
- try {
54935
- return dP2(O, P2, Attributes);
54936
- } catch (e3) {
54937
- }
54938
- if ("get" in Attributes || "set" in Attributes)
54939
- throw TypeError("Accessors not supported!");
54940
- if ("value" in Attributes)
54941
- O[P2] = Attributes.value;
54942
- return O;
54943
- };
54944
- return _objectDp;
54945
- }
54906
+ var anObject$3 = _anObject;
54907
+ var IE8_DOM_DEFINE$1 = _ie8DomDefine;
54908
+ var toPrimitive$2 = _toPrimitive;
54909
+ var dP$3 = Object.defineProperty;
54910
+ _objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O, P2, Attributes) {
54911
+ anObject$3(O);
54912
+ P2 = toPrimitive$2(P2, true);
54913
+ anObject$3(Attributes);
54914
+ if (IE8_DOM_DEFINE$1)
54915
+ try {
54916
+ return dP$3(O, P2, Attributes);
54917
+ } catch (e3) {
54918
+ }
54919
+ if ("get" in Attributes || "set" in Attributes)
54920
+ throw TypeError("Accessors not supported!");
54921
+ if ("value" in Attributes)
54922
+ O[P2] = Attributes.value;
54923
+ return O;
54924
+ };
54946
54925
  var _propertyDesc = function(bitmap, value2) {
54947
54926
  return {
54948
54927
  enumerable: !(bitmap & 1),
@@ -54951,9 +54930,9 @@ var _propertyDesc = function(bitmap, value2) {
54951
54930
  value: value2
54952
54931
  };
54953
54932
  };
54954
- var dP$2 = require_objectDp();
54933
+ var dP$2 = _objectDp;
54955
54934
  var createDesc$2 = _propertyDesc;
54956
- var _hide = require_descriptors() ? function(object2, key2, value2) {
54935
+ var _hide = _descriptors ? function(object2, key2, value2) {
54957
54936
  return dP$2.f(object2, key2, createDesc$2(1, value2));
54958
54937
  } : function(object2, key2, value2) {
54959
54938
  object2[key2] = value2;
@@ -55157,7 +55136,7 @@ function require_objectAssign() {
55157
55136
  if (hasRequired_objectAssign)
55158
55137
  return _objectAssign;
55159
55138
  hasRequired_objectAssign = 1;
55160
- var DESCRIPTORS2 = require_descriptors();
55139
+ var DESCRIPTORS2 = _descriptors;
55161
55140
  var getKeys2 = _objectKeys$1;
55162
55141
  var gOPS2 = _objectGops;
55163
55142
  var pIE2 = require_objectPie();
@@ -55217,9 +55196,9 @@ var _default$8 = _assign2.default || function(target2) {
55217
55196
  return target2;
55218
55197
  };
55219
55198
  var $export$4 = _export;
55220
- $export$4($export$4.S + $export$4.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
55199
+ $export$4($export$4.S + $export$4.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
55221
55200
  var $Object$3 = _coreExports.Object;
55222
- var defineProperty$6 = function defineProperty(it, key2, desc) {
55201
+ var defineProperty$6 = function defineProperty2(it, key2, desc) {
55223
55202
  return $Object$3.defineProperty(it, key2, desc);
55224
55203
  };
55225
55204
  var defineProperty$5 = { "default": defineProperty$6, __esModule: true };
@@ -55287,10 +55266,10 @@ var _stringAt = function(TO_STRING) {
55287
55266
  };
55288
55267
  var _redefine = _hide;
55289
55268
  var _iterators = {};
55290
- var dP$1 = require_objectDp();
55269
+ var dP$1 = _objectDp;
55291
55270
  var anObject$2 = _anObject;
55292
55271
  var getKeys$1 = _objectKeys$1;
55293
- var _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
55272
+ var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
55294
55273
  anObject$2(O);
55295
55274
  var keys4 = getKeys$1(Properties);
55296
55275
  var length2 = keys4.length;
@@ -55356,7 +55335,7 @@ var $exports = _wks.exports = function(name2) {
55356
55335
  };
55357
55336
  $exports.store = store;
55358
55337
  var _wksExports = _wks.exports;
55359
- var def$1 = require_objectDp().f;
55338
+ var def$1 = _objectDp.f;
55360
55339
  var has$8 = _has$1;
55361
55340
  var TAG = _wksExports("toStringTag");
55362
55341
  var _setToStringTag = function(it, tag2, stat) {
@@ -55523,7 +55502,7 @@ var _meta$3 = { exports: {} };
55523
55502
  var META$1 = _uid("meta");
55524
55503
  var isObject$e = _isObject;
55525
55504
  var has$6 = _has$1;
55526
- var setDesc = require_objectDp().f;
55505
+ var setDesc = _objectDp.f;
55527
55506
  var id$3 = 0;
55528
55507
  var isExtensible = Object.isExtensible || function() {
55529
55508
  return true;
@@ -55576,7 +55555,7 @@ var meta$6 = _meta$3.exports = {
55576
55555
  var _metaExports = _meta$3.exports;
55577
55556
  var core$1 = _coreExports;
55578
55557
  var wksExt$1 = _wksExt;
55579
- var defineProperty$4 = require_objectDp().f;
55558
+ var defineProperty$4 = _objectDp.f;
55580
55559
  var _wksDefine = function(name2) {
55581
55560
  var $Symbol2 = core$1.Symbol || (core$1.Symbol = {});
55582
55561
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -55630,9 +55609,9 @@ var createDesc$1 = _propertyDesc;
55630
55609
  var toIObject$1 = _toIobject;
55631
55610
  var toPrimitive$1 = _toPrimitive;
55632
55611
  var has$5 = _has$1;
55633
- var IE8_DOM_DEFINE = require_ie8DomDefine();
55612
+ var IE8_DOM_DEFINE = _ie8DomDefine;
55634
55613
  var gOPD$5 = Object.getOwnPropertyDescriptor;
55635
- _objectGopd.f = require_descriptors() ? gOPD$5 : function getOwnPropertyDescriptor2(O, P2) {
55614
+ _objectGopd.f = _descriptors ? gOPD$5 : function getOwnPropertyDescriptor2(O, P2) {
55636
55615
  O = toIObject$1(O);
55637
55616
  P2 = toPrimitive$1(P2, true);
55638
55617
  if (IE8_DOM_DEFINE)
@@ -55645,7 +55624,7 @@ _objectGopd.f = require_descriptors() ? gOPD$5 : function getOwnPropertyDescript
55645
55624
  };
55646
55625
  var global$2 = _globalExports;
55647
55626
  var has$4 = _has$1;
55648
- var DESCRIPTORS = require_descriptors();
55627
+ var DESCRIPTORS = _descriptors;
55649
55628
  var $export$2 = _export;
55650
55629
  var redefine = _redefine;
55651
55630
  var META = _metaExports.KEY;
@@ -55668,7 +55647,7 @@ var _create$1 = _objectCreate;
55668
55647
  var gOPNExt = _objectGopnExt;
55669
55648
  var $GOPD = _objectGopd;
55670
55649
  var $GOPS = _objectGops;
55671
- var $DP = require_objectDp();
55650
+ var $DP = _objectDp;
55672
55651
  var $keys = _objectKeys$1;
55673
55652
  var gOPD$4 = $GOPD.f;
55674
55653
  var dP = $DP.f;
@@ -55711,7 +55690,7 @@ var isSymbol$6 = USE_NATIVE && typeof $Symbol$1.iterator == "symbol" ? function(
55711
55690
  } : function(it) {
55712
55691
  return it instanceof $Symbol$1;
55713
55692
  };
55714
- var $defineProperty$4 = function defineProperty2(it, key2, D2) {
55693
+ var $defineProperty$4 = function defineProperty3(it, key2, D2) {
55715
55694
  if (it === ObjectProto)
55716
55695
  $defineProperty$4(OPSymbols, key2, D2);
55717
55696
  anObject(it);
@@ -60388,7 +60367,7 @@ function _regeneratorRuntime$1() {
60388
60367
  _regeneratorRuntime$1 = function _regeneratorRuntime2() {
60389
60368
  return exports2;
60390
60369
  };
60391
- var exports2 = {}, Op2 = Object.prototype, hasOwn2 = Op2.hasOwnProperty, defineProperty4 = Object.defineProperty || function(obj, key2, desc) {
60370
+ var exports2 = {}, Op2 = Object.prototype, hasOwn2 = Op2.hasOwnProperty, defineProperty5 = Object.defineProperty || function(obj, key2, desc) {
60392
60371
  obj[key2] = desc.value;
60393
60372
  }, $Symbol2 = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol2 = $Symbol2.iterator || "@@iterator", asyncIteratorSymbol2 = $Symbol2.asyncIterator || "@@asyncIterator", toStringTagSymbol2 = $Symbol2.toStringTag || "@@toStringTag";
60394
60373
  function define2(obj, key2, value2) {
@@ -60408,7 +60387,7 @@ function _regeneratorRuntime$1() {
60408
60387
  }
60409
60388
  function wrap2(innerFn, outerFn, self2, tryLocsList) {
60410
60389
  var protoGenerator = outerFn && outerFn.prototype instanceof Generator2 ? outerFn : Generator2, generator = Object.create(protoGenerator.prototype), context2 = new Context2(tryLocsList || []);
60411
- return defineProperty4(generator, "_invoke", {
60390
+ return defineProperty5(generator, "_invoke", {
60412
60391
  value: makeInvokeMethod2(innerFn, self2, context2)
60413
60392
  }), generator;
60414
60393
  }
@@ -60465,7 +60444,7 @@ function _regeneratorRuntime$1() {
60465
60444
  reject(record.arg);
60466
60445
  }
60467
60446
  var previousPromise;
60468
- defineProperty4(this, "_invoke", {
60447
+ defineProperty5(this, "_invoke", {
60469
60448
  value: function value2(method2, arg) {
60470
60449
  function callInvokeWithMethodAndArg() {
60471
60450
  return new PromiseImpl(function(resolve2, reject) {
@@ -60570,10 +60549,10 @@ function _regeneratorRuntime$1() {
60570
60549
  done: true
60571
60550
  };
60572
60551
  }
60573
- return GeneratorFunction2.prototype = GeneratorFunctionPrototype2, defineProperty4(Gp2, "constructor", {
60552
+ return GeneratorFunction2.prototype = GeneratorFunctionPrototype2, defineProperty5(Gp2, "constructor", {
60574
60553
  value: GeneratorFunctionPrototype2,
60575
60554
  configurable: true
60576
- }), defineProperty4(GeneratorFunctionPrototype2, "constructor", {
60555
+ }), defineProperty5(GeneratorFunctionPrototype2, "constructor", {
60577
60556
  value: GeneratorFunction2,
60578
60557
  configurable: true
60579
60558
  }), GeneratorFunction2.displayName = define2(GeneratorFunctionPrototype2, toStringTagSymbol2, "GeneratorFunction"), exports2.isGeneratorFunction = function(genFun) {
@@ -173194,16 +173173,16 @@ async function getDecoder(fileDirectory) {
173194
173173
  const Decoder = await importFn();
173195
173174
  return new Decoder(fileDirectory);
173196
173175
  }
173197
- addDecoder([void 0, 1], () => import("./raw-9f85d96f.js").then((m2) => m2.default));
173198
- addDecoder(5, () => import("./lzw-41b5d461.js").then((m2) => m2.default));
173176
+ addDecoder([void 0, 1], () => import("./raw-85741c70.js").then((m2) => m2.default));
173177
+ addDecoder(5, () => import("./lzw-7f89cd30.js").then((m2) => m2.default));
173199
173178
  addDecoder(6, () => {
173200
173179
  throw new Error("old style JPEG compression is not supported.");
173201
173180
  });
173202
- addDecoder(7, () => import("./jpeg-af331467.js").then((m2) => m2.default));
173203
- addDecoder([8, 32946], () => import("./deflate-cba4baed.js").then((m2) => m2.default));
173204
- addDecoder(32773, () => import("./packbits-ced3b735.js").then((m2) => m2.default));
173205
- addDecoder(34887, () => import("./lerc-14cfc60f.js").then((m2) => m2.default));
173206
- addDecoder(50001, () => import("./webimage-e2a02c0a.js").then((m2) => m2.default));
173181
+ addDecoder(7, () => import("./jpeg-a9b4e462.js").then((m2) => m2.default));
173182
+ addDecoder([8, 32946], () => import("./deflate-9493a2c0.js").then((m2) => m2.default));
173183
+ addDecoder(32773, () => import("./packbits-3ec96a35.js").then((m2) => m2.default));
173184
+ addDecoder(34887, () => import("./lerc-6a48ea77.js").then((m2) => m2.default));
173185
+ addDecoder(50001, () => import("./webimage-fe1e389d.js").then((m2) => m2.default));
173207
173186
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
173208
173187
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
173209
173188
  }
@@ -213864,7 +213843,7 @@ class ErrorBoundary extends React__default.Component {
213864
213843
  }
213865
213844
  }
213866
213845
  const LazySpatialThree = React__default.lazy(async () => {
213867
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-09e12e99.js");
213846
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-c7b06c66.js");
213868
213847
  return { default: SpatialWrapper2 };
213869
213848
  });
213870
213849
  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 }) }) }) }));
@@ -215658,11 +215637,11 @@ function requireInherits() {
215658
215637
  })(inherits$1);
215659
215638
  return inherits$1.exports;
215660
215639
  }
215661
- var defineProperty3 = { exports: {} };
215640
+ var defineProperty4 = { exports: {} };
215662
215641
  var hasRequiredDefineProperty;
215663
215642
  function requireDefineProperty() {
215664
215643
  if (hasRequiredDefineProperty)
215665
- return defineProperty3.exports;
215644
+ return defineProperty4.exports;
215666
215645
  hasRequiredDefineProperty = 1;
215667
215646
  (function(module2) {
215668
215647
  function _defineProperty3(obj, key2, value2) {
@@ -215679,8 +215658,8 @@ function requireDefineProperty() {
215679
215658
  return obj;
215680
215659
  }
215681
215660
  module2.exports = _defineProperty3, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
215682
- })(defineProperty3);
215683
- return defineProperty3.exports;
215661
+ })(defineProperty4);
215662
+ return defineProperty4.exports;
215684
215663
  }
215685
215664
  var detectElementResize = {};
215686
215665
  var hasRequiredDetectElementResize;
@@ -221855,7 +221834,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
221855
221834
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
221856
221835
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
221857
221836
  const LazyHiGlassComponent = React__default.lazy(async () => {
221858
- const { HiGlassComponent } = await import("./hglib-a2e7fdb7.js").then((n3) => n3.h);
221837
+ const { HiGlassComponent } = await import("./hglib-c4ed6bea.js").then((n3) => n3.h);
221859
221838
  return { default: HiGlassComponent };
221860
221839
  });
221861
221840
  const HG_SIZE = 800;
@@ -227186,12 +227165,12 @@ function summarize(iterable, keepZeros) {
227186
227165
  }
227187
227166
  function dotStratifiedExpressionData(stratifiedResult, posThreshold) {
227188
227167
  const result = new InternMap([], JSON.stringify);
227189
- [...stratifiedResult.keys()].forEach((cellSetKey) => {
227168
+ Array.from(stratifiedResult.keys()).forEach((cellSetKey) => {
227190
227169
  result.set(cellSetKey, new InternMap([], JSON.stringify));
227191
- [...stratifiedResult.get(cellSetKey).keys()].forEach((sampleSetKey) => {
227170
+ Array.from(stratifiedResult.get(cellSetKey).keys()).forEach((sampleSetKey) => {
227192
227171
  result.get(cellSetKey).set(sampleSetKey, new InternMap([], JSON.stringify));
227193
227172
  const allGenes = stratifiedResult.get(cellSetKey).get(sampleSetKey);
227194
- [...allGenes.keys()].forEach((geneKey) => {
227173
+ Array.from(allGenes.keys()).forEach((geneKey) => {
227195
227174
  const values3 = allGenes.get(geneKey);
227196
227175
  const exprMean = mean$1(values3);
227197
227176
  const numPos = values3.reduce((acc, val) => val > posThreshold ? acc + 1 : acc, 0);
@@ -227208,9 +227187,9 @@ function dotStratifiedExpressionData(stratifiedResult, posThreshold) {
227208
227187
  }
227209
227188
  function summarizeStratifiedExpressionData(stratifiedResult, keepZeros) {
227210
227189
  const summarizedResult = new InternMap([], JSON.stringify);
227211
- [...stratifiedResult.keys()].forEach((cellSetKey) => {
227190
+ Array.from(stratifiedResult.keys()).forEach((cellSetKey) => {
227212
227191
  summarizedResult.set(cellSetKey, new InternMap([], JSON.stringify));
227213
- [...stratifiedResult.get(cellSetKey).keys()].forEach((sampleSetKey) => {
227192
+ Array.from(stratifiedResult.get(cellSetKey).keys()).forEach((sampleSetKey) => {
227214
227193
  const values3 = stratifiedResult.get(cellSetKey).get(sampleSetKey);
227215
227194
  const summary = summarize(values3, keepZeros);
227216
227195
  summarizedResult.get(cellSetKey).set(sampleSetKey, summary);
@@ -227219,9 +227198,9 @@ function summarizeStratifiedExpressionData(stratifiedResult, keepZeros) {
227219
227198
  return summarizedResult;
227220
227199
  }
227221
227200
  function histogramStratifiedExpressionData(summarizedResult, binCount, yMinProp) {
227222
- const groupSummaries = [...summarizedResult.keys()].map((cellSetKey) => ({
227201
+ const groupSummaries = Array.from(summarizedResult.keys()).map((cellSetKey) => ({
227223
227202
  key: cellSetKey,
227224
- value: [...summarizedResult.get(cellSetKey).keys()].map((sampleSetKey) => ({
227203
+ value: Array.from(summarizedResult.get(cellSetKey).keys()).map((sampleSetKey) => ({
227225
227204
  key: sampleSetKey,
227226
227205
  value: summarizedResult.get(cellSetKey).get(sampleSetKey)
227227
227206
  }))
@@ -279118,9 +279097,9 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
279118
279097
  const cellSetToUuid = new InternMap(cellSetSelection?.map((sampleSet) => [sampleSet, v4$1()]), JSON.stringify);
279119
279098
  const sampleSetToUuid = new InternMap(sampleSetSelection?.map((sampleSet) => [sampleSet, v4$1()]), JSON.stringify);
279120
279099
  const result = [];
279121
- [...dotData.keys()].forEach((cellSetKey) => {
279122
- [...dotData.get(cellSetKey).keys()].forEach((sampleSetKey) => {
279123
- [...dotData.get(cellSetKey).get(sampleSetKey).keys()].forEach((geneKey) => {
279100
+ Array.from(dotData.keys()).forEach((cellSetKey) => {
279101
+ Array.from(dotData.get(cellSetKey).keys()).forEach((sampleSetKey) => {
279102
+ Array.from(dotData.get(cellSetKey).get(sampleSetKey).keys()).forEach((geneKey) => {
279124
279103
  const dotObj = dotData.get(cellSetKey).get(sampleSetKey).get(geneKey);
279125
279104
  const featureName = geneKey;
279126
279105
  result.push({
@@ -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, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-32bd9a42.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, c as create, L as Layers, T as Texture, d as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, e as PCFShadowMap, f as VSMShadowMap, h as BufferGeometry, M as Material, i as Color, j as Clock, _ as _extends, k as THREE, G as Group, l as Matrix4, m as TrianglesDrawMode, n as TriangleFanDrawMode, o as TriangleStripDrawMode, p as REVISION, q as Ray$1, r as Plane, E as EventDispatcher, s as MOUSE, t as TOUCH, Q as Quaternion, u as Spherical, v as Loader, w as LoaderUtils, F as FileLoader, x as SpotLight, y as PointLight, D as DirectionalLight, z as MeshBasicMaterial, H as MeshPhysicalMaterial, I as InstancedMesh, J as Object3D, K as TextureLoader, X as ImageBitmapLoader, Y as BufferAttribute, Z as InterleavedBuffer, $ as LinearFilter, a0 as LinearMipmapLinearFilter, a1 as RepeatWrapping, a2 as PointsMaterial, a3 as LineBasicMaterial, a4 as MeshStandardMaterial, a5 as DoubleSide, a6 as PropertyBinding, a7 as SkinnedMesh, a8 as Mesh, a9 as LineSegments, aa as Line$1, ab as LineLoop, ac as Points, ad as MathUtils, ae as Skeleton, af as InterpolateLinear, ag as AnimationClip, ah as Bone, ai as NearestFilter, aj as NearestMipmapNearestFilter, ak as LinearMipmapNearestFilter, al as NearestMipmapLinearFilter, am as ClampToEdgeWrapping, an as MirroredRepeatWrapping, ao as InterpolateDiscrete, ap as FrontSide, aq as InterleavedBufferAttribute, ar as VectorKeyframeTrack, as as QuaternionKeyframeTrack, at as NumberKeyframeTrack, au as Box3, av as Sphere, aw as Interpolant, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as SphereGeometry, aH as Triangle, aI as BackSide, aJ as jsxRuntimeExports, aK as Matrix3, aL as CoordinationType, aM as Data3DTexture, aN as RedFormat, aO as FloatType, aP as getImageSize } from "./index-2951243b.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useState, useRef, useEffect, useMemo, forwardRef } from "react";
4
4
  import "react-dom";
@@ -23693,7 +23693,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23693
23693
  const {
23694
23694
  Text: TextMeshImpl,
23695
23695
  preloadFont
23696
- } = suspend(async () => import("./troika-three-text.esm-93914b1c.js"), []);
23696
+ } = suspend(async () => import("./troika-three-text.esm-efb24052.js"), []);
23697
23697
  const invalidate2 = useThree(({
23698
23698
  invalidate: invalidate3
23699
23699
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bb, b6, b4, b5, bf, bg, b7, bo, bm, bk, bn, bl, b3, bj, b8, b2, b1, bd, bc, be, bi, bh, ba, bq, b9, bp } from "./index-32bd9a42.js";
1
+ import { bb, b6, b4, b5, bf, bg, b7, bo, bm, bk, bn, bl, b3, bj, b8, b2, b1, bd, bc, be, bi, bh, ba, bq, b9, bp } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-32bd9a42.js";
1
+ import { aQ as BaseDecoder } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-32bd9a42.js";
2
+ import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-2951243b.js";
3
3
  import "react";
4
4
  import "react-dom";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-32bd9a42.js";
1
+ import { aQ as BaseDecoder } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-32bd9a42.js";
1
+ import { aQ as BaseDecoder } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-32bd9a42.js";
1
+ import { aQ as BaseDecoder } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { aC as UniformsUtils, aX as MeshDepthMaterial, aY as RGBADepthPacking, aZ as MeshDistanceMaterial, a_ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a$ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, b0 as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-32bd9a42.js";
1
+ import { aC as UniformsUtils, aX as MeshDepthMaterial, aY as RGBADepthPacking, aZ as MeshDistanceMaterial, a_ as ShaderChunk, T as Texture, $ as LinearFilter, ax as InstancedBufferGeometry, av as Sphere, au as Box3, aI as BackSide, a5 as DoubleSide, a$ as InstancedBufferAttribute, V as Vector2, aE as Vector4, i as Color, aK as Matrix3, a8 as Mesh, ap as FrontSide, b0 as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  function workerBootstrap() {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-32bd9a42.js";
1
+ import { aQ as BaseDecoder } from "./index-2951243b.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/dev",
3
- "version": "3.4.7",
3
+ "version": "3.4.8",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,10 +16,10 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "3.4.7",
20
- "@vitessce/config": "3.4.7",
21
- "@vitessce/constants": "3.4.7",
22
- "@vitessce/export-utils": "3.4.7"
19
+ "@vitessce/all": "3.4.8",
20
+ "@vitessce/config": "3.4.8",
21
+ "@vitessce/constants": "3.4.8",
22
+ "@vitessce/export-utils": "3.4.8"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",