@vitessce/dev 3.5.4 → 3.5.6

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-0dd94049.js";
2
+ import { aQ as BaseDecoder } from "./index-1d75881e.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, { createElement, isValidElement, PureComponent, Component } from "react";
2
2
  import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
3
- import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-0dd94049.js";
3
+ import { aT as commonjsGlobal$1, aU as objectAssign, g as getDefaultExportFromCjs$1, aV as earcut } from "./index-1d75881e.js";
4
4
  var promise = {};
5
5
  (function(exports2) {
6
6
  (function(global) {
@@ -69,7 +69,8 @@ const ViewType$2 = {
69
69
  DOT_PLOT: "dotPlot",
70
70
  FEATURE_BAR_PLOT: "featureBarPlot",
71
71
  BIOMARKER_SELECT: "biomarkerSelect",
72
- LINK_CONTROLLER: "linkController"
72
+ LINK_CONTROLLER: "linkController",
73
+ DUAL_SCATTERPLOT: "dualScatterplot"
73
74
  };
74
75
  const DataType$4 = {
75
76
  OBS_LABELS: "obsLabels",
@@ -270,15 +271,23 @@ const CoordinationType$2 = {
270
271
  HEATMAP_ZOOM_Y: "heatmapZoomY",
271
272
  HEATMAP_TARGET_X: "heatmapTargetX",
272
273
  HEATMAP_TARGET_Y: "heatmapTargetY",
273
- OBS_FILTER: "obsFilter",
274
274
  OBS_HIGHLIGHT: "obsHighlight",
275
+ OBS_SELECTION: "obsSelection",
275
276
  OBS_SET_SELECTION: "obsSetSelection",
277
+ OBS_SELECTION_MODE: "obsSelectionMode",
278
+ OBS_FILTER: "obsFilter",
279
+ OBS_SET_FILTER: "obsSetFilter",
280
+ OBS_FILTER_MODE: "obsFilterMode",
276
281
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
277
282
  OBS_SET_EXPANSION: "obsSetExpansion",
278
283
  OBS_SET_COLOR: "obsSetColor",
279
- FEATURE_FILTER: "featureFilter",
280
284
  FEATURE_HIGHLIGHT: "featureHighlight",
281
285
  FEATURE_SELECTION: "featureSelection",
286
+ FEATURE_SET_SELECTION: "featureSetSelection",
287
+ FEATURE_SELECTION_MODE: "featureSelectionMode",
288
+ FEATURE_FILTER: "featureFilter",
289
+ FEATURE_SET_FILTER: "featureSetFilter",
290
+ FEATURE_FILTER_MODE: "featureFilterMode",
282
291
  FEATURE_VALUE_COLORMAP: "featureValueColormap",
283
292
  FEATURE_VALUE_TRANSFORM: "featureValueTransform",
284
293
  FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
@@ -345,7 +354,12 @@ const CoordinationType$2 = {
345
354
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
346
355
  // Multi-sample / comparative
347
356
  SAMPLE_TYPE: "sampleType",
357
+ SAMPLE_SELECTION: "sampleSelection",
348
358
  SAMPLE_SET_SELECTION: "sampleSetSelection",
359
+ SAMPLE_SELECTION_MODE: "sampleSelectionMode",
360
+ SAMPLE_FILTER: "sampleFilter",
361
+ SAMPLE_SET_FILTER: "sampleSetFilter",
362
+ SAMPLE_FILTER_MODE: "sampleFilterMode",
349
363
  SAMPLE_SET_COLOR: "sampleSetColor",
350
364
  EMBEDDING_POINTS_VISIBLE: "embeddingPointsVisible",
351
365
  EMBEDDING_CONTOURS_VISIBLE: "embeddingContoursVisible",
@@ -518,6 +532,50 @@ const COMPONENT_COORDINATION_TYPES = {
518
532
  CoordinationType$2.OBS_FILTER,
519
533
  CoordinationType$2.OBS_HIGHLIGHT,
520
534
  CoordinationType$2.OBS_SET_SELECTION,
535
+ CoordinationType$2.OBS_SET_FILTER,
536
+ CoordinationType$2.OBS_SET_HIGHLIGHT,
537
+ CoordinationType$2.OBS_SET_COLOR,
538
+ CoordinationType$2.FEATURE_HIGHLIGHT,
539
+ CoordinationType$2.FEATURE_SELECTION,
540
+ CoordinationType$2.FEATURE_VALUE_COLORMAP,
541
+ CoordinationType$2.FEATURE_VALUE_COLORMAP_RANGE,
542
+ CoordinationType$2.OBS_COLOR_ENCODING,
543
+ CoordinationType$2.ADDITIONAL_OBS_SETS,
544
+ CoordinationType$2.TOOLTIPS_VISIBLE,
545
+ CoordinationType$2.SAMPLE_TYPE,
546
+ CoordinationType$2.SAMPLE_SET_SELECTION,
547
+ CoordinationType$2.SAMPLE_SET_FILTER,
548
+ CoordinationType$2.SAMPLE_SET_COLOR,
549
+ CoordinationType$2.EMBEDDING_POINTS_VISIBLE,
550
+ CoordinationType$2.EMBEDDING_CONTOURS_VISIBLE,
551
+ CoordinationType$2.EMBEDDING_CONTOURS_FILLED,
552
+ CoordinationType$2.EMBEDDING_CONTOUR_PERCENTILES,
553
+ CoordinationType$2.CONTOUR_COLOR_ENCODING,
554
+ CoordinationType$2.CONTOUR_COLOR
555
+ ],
556
+ [ViewType$2.DUAL_SCATTERPLOT]: [
557
+ CoordinationType$2.DATASET,
558
+ CoordinationType$2.OBS_TYPE,
559
+ CoordinationType$2.FEATURE_TYPE,
560
+ CoordinationType$2.FEATURE_VALUE_TYPE,
561
+ CoordinationType$2.OBS_LABELS_TYPE,
562
+ CoordinationType$2.EMBEDDING_TYPE,
563
+ CoordinationType$2.EMBEDDING_ZOOM,
564
+ CoordinationType$2.EMBEDDING_ROTATION,
565
+ CoordinationType$2.EMBEDDING_TARGET_X,
566
+ CoordinationType$2.EMBEDDING_TARGET_Y,
567
+ CoordinationType$2.EMBEDDING_TARGET_Z,
568
+ CoordinationType$2.EMBEDDING_OBS_SET_POLYGONS_VISIBLE,
569
+ CoordinationType$2.EMBEDDING_OBS_SET_LABELS_VISIBLE,
570
+ CoordinationType$2.EMBEDDING_OBS_SET_LABEL_SIZE,
571
+ CoordinationType$2.EMBEDDING_OBS_RADIUS,
572
+ CoordinationType$2.EMBEDDING_OBS_RADIUS_MODE,
573
+ CoordinationType$2.EMBEDDING_OBS_OPACITY,
574
+ CoordinationType$2.EMBEDDING_OBS_OPACITY_MODE,
575
+ CoordinationType$2.OBS_FILTER,
576
+ CoordinationType$2.OBS_HIGHLIGHT,
577
+ CoordinationType$2.OBS_SET_SELECTION,
578
+ CoordinationType$2.OBS_SET_FILTER,
521
579
  CoordinationType$2.OBS_SET_HIGHLIGHT,
522
580
  CoordinationType$2.OBS_SET_COLOR,
523
581
  CoordinationType$2.FEATURE_HIGHLIGHT,
@@ -529,6 +587,7 @@ const COMPONENT_COORDINATION_TYPES = {
529
587
  CoordinationType$2.TOOLTIPS_VISIBLE,
530
588
  CoordinationType$2.SAMPLE_TYPE,
531
589
  CoordinationType$2.SAMPLE_SET_SELECTION,
590
+ CoordinationType$2.SAMPLE_SET_FILTER,
532
591
  CoordinationType$2.SAMPLE_SET_COLOR,
533
592
  CoordinationType$2.EMBEDDING_POINTS_VISIBLE,
534
593
  CoordinationType$2.EMBEDDING_CONTOURS_VISIBLE,
@@ -595,6 +654,7 @@ const COMPONENT_COORDINATION_TYPES = {
595
654
  CoordinationType$2.OBS_FILTER,
596
655
  CoordinationType$2.OBS_HIGHLIGHT,
597
656
  CoordinationType$2.OBS_SET_SELECTION,
657
+ CoordinationType$2.OBS_SET_FILTER,
598
658
  CoordinationType$2.OBS_SET_HIGHLIGHT,
599
659
  CoordinationType$2.OBS_SET_COLOR,
600
660
  CoordinationType$2.FEATURE_HIGHLIGHT,
@@ -631,6 +691,7 @@ const COMPONENT_COORDINATION_TYPES = {
631
691
  CoordinationType$2.OBS_FILTER,
632
692
  CoordinationType$2.OBS_HIGHLIGHT,
633
693
  CoordinationType$2.OBS_SET_SELECTION,
694
+ CoordinationType$2.OBS_SET_FILTER,
634
695
  CoordinationType$2.OBS_SET_HIGHLIGHT,
635
696
  CoordinationType$2.OBS_SET_COLOR,
636
697
  CoordinationType$2.FEATURE_HIGHLIGHT,
@@ -690,6 +751,7 @@ const COMPONENT_COORDINATION_TYPES = {
690
751
  CoordinationType$2.OBS_FILTER,
691
752
  CoordinationType$2.OBS_HIGHLIGHT,
692
753
  CoordinationType$2.OBS_SET_SELECTION,
754
+ CoordinationType$2.OBS_SET_FILTER,
693
755
  CoordinationType$2.OBS_SET_HIGHLIGHT,
694
756
  CoordinationType$2.OBS_SET_COLOR,
695
757
  CoordinationType$2.FEATURE_FILTER,
@@ -705,6 +767,7 @@ const COMPONENT_COORDINATION_TYPES = {
705
767
  CoordinationType$2.DATASET,
706
768
  CoordinationType$2.OBS_TYPE,
707
769
  CoordinationType$2.OBS_SET_SELECTION,
770
+ CoordinationType$2.OBS_SET_FILTER,
708
771
  CoordinationType$2.OBS_SET_EXPANSION,
709
772
  CoordinationType$2.OBS_SET_HIGHLIGHT,
710
773
  CoordinationType$2.OBS_SET_COLOR,
@@ -716,6 +779,7 @@ const COMPONENT_COORDINATION_TYPES = {
716
779
  CoordinationType$2.DATASET,
717
780
  CoordinationType$2.OBS_TYPE,
718
781
  CoordinationType$2.OBS_SET_SELECTION,
782
+ CoordinationType$2.OBS_SET_FILTER,
719
783
  CoordinationType$2.OBS_SET_EXPANSION,
720
784
  CoordinationType$2.OBS_SET_HIGHLIGHT,
721
785
  CoordinationType$2.OBS_SET_COLOR,
@@ -748,6 +812,7 @@ const COMPONENT_COORDINATION_TYPES = {
748
812
  CoordinationType$2.FEATURE_VALUE_TRANSFORM,
749
813
  CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
750
814
  CoordinationType$2.OBS_SET_SELECTION,
815
+ CoordinationType$2.OBS_SET_FILTER,
751
816
  CoordinationType$2.OBS_SET_HIGHLIGHT,
752
817
  CoordinationType$2.OBS_SET_COLOR,
753
818
  CoordinationType$2.ADDITIONAL_OBS_SETS,
@@ -764,7 +829,8 @@ const COMPONENT_COORDINATION_TYPES = {
764
829
  CoordinationType$2.ADDITIONAL_OBS_SETS,
765
830
  CoordinationType$2.OBS_SET_COLOR,
766
831
  CoordinationType$2.OBS_COLOR_ENCODING,
767
- CoordinationType$2.OBS_SET_SELECTION
832
+ CoordinationType$2.OBS_SET_SELECTION,
833
+ CoordinationType$2.OBS_SET_FILTER
768
834
  ],
769
835
  [ViewType$2.LAYER_CONTROLLER]: [
770
836
  CoordinationType$2.DATASET,
@@ -879,11 +945,13 @@ const COMPONENT_COORDINATION_TYPES = {
879
945
  CoordinationType$2.FEATURE_VALUE_POSITIVITY_THRESHOLD,
880
946
  CoordinationType$2.FEATURE_VALUE_COLORMAP,
881
947
  CoordinationType$2.OBS_SET_SELECTION,
948
+ CoordinationType$2.OBS_SET_FILTER,
882
949
  CoordinationType$2.OBS_SET_HIGHLIGHT,
883
950
  CoordinationType$2.OBS_SET_COLOR,
884
951
  CoordinationType$2.ADDITIONAL_OBS_SETS,
885
952
  CoordinationType$2.SAMPLE_TYPE,
886
953
  CoordinationType$2.SAMPLE_SET_SELECTION,
954
+ CoordinationType$2.SAMPLE_SET_FILTER,
887
955
  CoordinationType$2.SAMPLE_SET_COLOR
888
956
  ],
889
957
  higlass: [
@@ -914,15 +982,18 @@ const COMPONENT_COORDINATION_TYPES = {
914
982
  [ViewType$2.LINK_CONTROLLER]: [],
915
983
  [ViewType$2.BIOMARKER_SELECT]: [
916
984
  CoordinationType$2.FEATURE_SELECTION,
917
- CoordinationType$2.SAMPLE_SET_SELECTION
985
+ CoordinationType$2.SAMPLE_SET_SELECTION,
986
+ CoordinationType$2.SAMPLE_SET_FILTER,
987
+ CoordinationType$2.OBS_SET_SELECTION,
988
+ CoordinationType$2.OBS_SET_FILTER
918
989
  // TODO: create coordination types for internal state of the biomarker selection view?
919
990
  ]
920
991
  };
921
992
  const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
922
- const version$6 = "3.5.4";
923
- const date$5 = "2025-01-14";
993
+ const version$6 = "3.5.6";
994
+ const date$5 = "2025-01-29";
924
995
  const branch = "changeset-release/main";
925
- const hash$1 = "76d60b64";
996
+ const hash$1 = "c8eedf07";
926
997
  const META_VERSION = {
927
998
  note,
928
999
  version: version$6,
@@ -46850,8 +46921,9 @@ function useGetObsInfo(obsType, obsLabelsTypes, obsLabelsData, obsSetsMembership
46850
46921
  function useExpandedFeatureLabelsMap(featureType, featureLabelsMap, options) {
46851
46922
  const { stripCuriePrefixes = true } = options || {};
46852
46923
  const getTermMapping2 = useAsyncFunction(AsyncFunctionType.GET_TERM_MAPPING);
46924
+ const enabled = featureType === "gene";
46853
46925
  const termMappingQuery = useQuery({
46854
- enabled: featureType === "gene",
46926
+ enabled,
46855
46927
  queryKey: ["useExpandedFeatureLabelsMap", "ensembl", "hgnc"],
46856
46928
  queryFn: async () => getTermMapping2("ensembl", "hgnc")
46857
46929
  });
@@ -46864,7 +46936,7 @@ function useExpandedFeatureLabelsMap(featureType, featureLabelsMap, options) {
46864
46936
  ...featureLabelsMap || []
46865
46937
  ]);
46866
46938
  }, [fetchedMapping, featureLabelsMap, stripCuriePrefixes]);
46867
- const dataStatus = isFetching ? STATUS$1.LOADING : status;
46939
+ const dataStatus = enabled ? isFetching ? STATUS$1.LOADING : status : STATUS$1.SUCCESS;
46868
46940
  return [updatedFeatureLabelsMap, dataStatus];
46869
46941
  }
46870
46942
  const useVitessceContainerStyles = makeStyles((theme) => ({
@@ -68089,10 +68161,10 @@ var _objectKeysInternal = function(object2, names) {
68089
68161
  return result;
68090
68162
  };
68091
68163
  var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
68092
- var $keys$1 = _objectKeysInternal;
68164
+ var $keys$2 = _objectKeysInternal;
68093
68165
  var enumBugKeys$1 = _enumBugKeys;
68094
68166
  var _objectKeys$1 = Object.keys || function keys(O) {
68095
- return $keys$1(O, enumBugKeys$1);
68167
+ return $keys$2(O, enumBugKeys$1);
68096
68168
  };
68097
68169
  var _objectGops = {};
68098
68170
  _objectGops.f = Object.getOwnPropertySymbols;
@@ -68563,20 +68635,13 @@ var _isArray = Array.isArray || function isArray2(arg) {
68563
68635
  };
68564
68636
  var _objectGopnExt = {};
68565
68637
  var _objectGopn = {};
68566
- var hasRequired_objectGopn;
68567
- function require_objectGopn() {
68568
- if (hasRequired_objectGopn)
68569
- return _objectGopn;
68570
- hasRequired_objectGopn = 1;
68571
- var $keys2 = _objectKeysInternal;
68572
- var hiddenKeys = _enumBugKeys.concat("length", "prototype");
68573
- _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames4(O) {
68574
- return $keys2(O, hiddenKeys);
68575
- };
68576
- return _objectGopn;
68577
- }
68638
+ var $keys$1 = _objectKeysInternal;
68639
+ var hiddenKeys = _enumBugKeys.concat("length", "prototype");
68640
+ _objectGopn.f = Object.getOwnPropertyNames || function getOwnPropertyNames2(O) {
68641
+ return $keys$1(O, hiddenKeys);
68642
+ };
68578
68643
  var toIObject$2 = _toIobject;
68579
- var gOPN$1 = require_objectGopn().f;
68644
+ var gOPN$1 = _objectGopn.f;
68580
68645
  var toString$4 = {}.toString;
68581
68646
  var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
68582
68647
  var getWindowNames = function(it2) {
@@ -68586,7 +68651,7 @@ var getWindowNames = function(it2) {
68586
68651
  return windowNames.slice();
68587
68652
  }
68588
68653
  };
68589
- _objectGopnExt.f = function getOwnPropertyNames2(it2) {
68654
+ _objectGopnExt.f = function getOwnPropertyNames3(it2) {
68590
68655
  return windowNames && toString$4.call(it2) == "[object Window]" ? getWindowNames(it2) : gOPN$1(toIObject$2(it2));
68591
68656
  };
68592
68657
  var _objectGopd = {};
@@ -68676,9 +68741,9 @@ var isSymbol$6 = USE_NATIVE && typeof $Symbol$1.iterator == "symbol" ? function(
68676
68741
  } : function(it2) {
68677
68742
  return it2 instanceof $Symbol$1;
68678
68743
  };
68679
- var $defineProperty$4 = function defineProperty2(it2, key2, D2) {
68744
+ var $defineProperty$3 = function defineProperty2(it2, key2, D2) {
68680
68745
  if (it2 === ObjectProto)
68681
- $defineProperty$4(OPSymbols, key2, D2);
68746
+ $defineProperty$3(OPSymbols, key2, D2);
68682
68747
  anObject(it2);
68683
68748
  key2 = toPrimitive(key2, true);
68684
68749
  anObject(D2);
@@ -68703,7 +68768,7 @@ var $defineProperties = function defineProperties2(it2, P2) {
68703
68768
  var l2 = keys4.length;
68704
68769
  var key2;
68705
68770
  while (l2 > i2)
68706
- $defineProperty$4(it2, key2 = keys4[i2++], P2[key2]);
68771
+ $defineProperty$3(it2, key2 = keys4[i2++], P2[key2]);
68707
68772
  return it2;
68708
68773
  };
68709
68774
  var $create = function create3(it2, P2) {
@@ -68725,7 +68790,7 @@ var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor3(it2, key2) {
68725
68790
  D2.enumerable = true;
68726
68791
  return D2;
68727
68792
  };
68728
- var $getOwnPropertyNames = function getOwnPropertyNames3(it2) {
68793
+ var $getOwnPropertyNames = function getOwnPropertyNames4(it2) {
68729
68794
  var names = gOPN(toIObject(it2));
68730
68795
  var result = [];
68731
68796
  var i2 = 0;
@@ -68768,8 +68833,8 @@ if (!USE_NATIVE) {
68768
68833
  return this._k;
68769
68834
  });
68770
68835
  $GOPD.f = $getOwnPropertyDescriptor;
68771
- $DP.f = $defineProperty$4;
68772
- require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames;
68836
+ $DP.f = $defineProperty$3;
68837
+ _objectGopn.f = gOPNExt.f = $getOwnPropertyNames;
68773
68838
  require_objectPie().f = $propertyIsEnumerable;
68774
68839
  $GOPS.f = $getOwnPropertySymbols;
68775
68840
  if (DESCRIPTORS && !_library) {
@@ -68811,7 +68876,7 @@ $export$2($export$2.S + $export$2.F * !USE_NATIVE, "Object", {
68811
68876
  // 19.1.2.2 Object.create(O [, Properties])
68812
68877
  create: $create,
68813
68878
  // 19.1.2.4 Object.defineProperty(O, P, Attributes)
68814
- defineProperty: $defineProperty$4,
68879
+ defineProperty: $defineProperty$3,
68815
68880
  // 19.1.2.3 Object.defineProperties(O, Properties)
68816
68881
  defineProperties: $defineProperties,
68817
68882
  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
@@ -151688,16 +151753,24 @@ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
151688
151753
  return value2;
151689
151754
  };
151690
151755
  var callBind$3 = { exports: {} };
151691
- var GetIntrinsic$4 = getIntrinsic;
151692
- var $defineProperty$3 = GetIntrinsic$4("%Object.defineProperty%", true) || false;
151693
- if ($defineProperty$3) {
151694
- try {
151695
- $defineProperty$3({}, "a", { value: 1 });
151696
- } catch (e3) {
151697
- $defineProperty$3 = false;
151756
+ var esDefineProperty;
151757
+ var hasRequiredEsDefineProperty;
151758
+ function requireEsDefineProperty() {
151759
+ if (hasRequiredEsDefineProperty)
151760
+ return esDefineProperty;
151761
+ hasRequiredEsDefineProperty = 1;
151762
+ var GetIntrinsic3 = getIntrinsic;
151763
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
151764
+ if ($defineProperty2) {
151765
+ try {
151766
+ $defineProperty2({}, "a", { value: 1 });
151767
+ } catch (e3) {
151768
+ $defineProperty2 = false;
151769
+ }
151698
151770
  }
151771
+ esDefineProperty = $defineProperty2;
151772
+ return esDefineProperty;
151699
151773
  }
151700
- var esDefineProperty = $defineProperty$3;
151701
151774
  var GetIntrinsic$3 = getIntrinsic;
151702
151775
  var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
151703
151776
  if ($gOPD$1) {
@@ -151708,7 +151781,7 @@ if ($gOPD$1) {
151708
151781
  }
151709
151782
  }
151710
151783
  var gopd$1 = $gOPD$1;
151711
- var $defineProperty$2 = esDefineProperty;
151784
+ var $defineProperty$2 = requireEsDefineProperty();
151712
151785
  var $SyntaxError = syntax;
151713
151786
  var $TypeError$3 = type$1;
151714
151787
  var gopd = gopd$1;
@@ -151749,7 +151822,7 @@ var defineDataProperty$1 = function defineDataProperty(obj, property2, value2) {
151749
151822
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
151750
151823
  }
151751
151824
  };
151752
- var $defineProperty$1 = esDefineProperty;
151825
+ var $defineProperty$1 = requireEsDefineProperty();
151753
151826
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
151754
151827
  return !!$defineProperty$1;
151755
151828
  };
@@ -151818,7 +151891,7 @@ var setFunctionLength = function setFunctionLength2(fn2, length2) {
151818
151891
  var $apply = GetIntrinsic3("%Function.prototype.apply%");
151819
151892
  var $call = GetIntrinsic3("%Function.prototype.call%");
151820
151893
  var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
151821
- var $defineProperty2 = esDefineProperty;
151894
+ var $defineProperty2 = requireEsDefineProperty();
151822
151895
  var $max = GetIntrinsic3("%Math.max%");
151823
151896
  module2.exports = function callBind2(originalFunction) {
151824
151897
  if (typeof originalFunction !== "function") {
@@ -186181,16 +186254,16 @@ async function getDecoder(fileDirectory) {
186181
186254
  const Decoder = await importFn();
186182
186255
  return new Decoder(fileDirectory);
186183
186256
  }
186184
- addDecoder([void 0, 1], () => import("./raw-b871aa33.js").then((m2) => m2.default));
186185
- addDecoder(5, () => import("./lzw-1877cafe.js").then((m2) => m2.default));
186257
+ addDecoder([void 0, 1], () => import("./raw-96242ba0.js").then((m2) => m2.default));
186258
+ addDecoder(5, () => import("./lzw-16c4832e.js").then((m2) => m2.default));
186186
186259
  addDecoder(6, () => {
186187
186260
  throw new Error("old style JPEG compression is not supported.");
186188
186261
  });
186189
- addDecoder(7, () => import("./jpeg-ddb5ba7e.js").then((m2) => m2.default));
186190
- addDecoder([8, 32946], () => import("./deflate-badb3b0c.js").then((m2) => m2.default));
186191
- addDecoder(32773, () => import("./packbits-22a5c520.js").then((m2) => m2.default));
186192
- addDecoder(34887, () => import("./lerc-bc6d9782.js").then((m2) => m2.default));
186193
- addDecoder(50001, () => import("./webimage-916f21dc.js").then((m2) => m2.default));
186262
+ addDecoder(7, () => import("./jpeg-73010abe.js").then((m2) => m2.default));
186263
+ addDecoder([8, 32946], () => import("./deflate-1792f9ac.js").then((m2) => m2.default));
186264
+ addDecoder(32773, () => import("./packbits-4a3e6a99.js").then((m2) => m2.default));
186265
+ addDecoder(34887, () => import("./lerc-73b57874.js").then((m2) => m2.default));
186266
+ addDecoder(50001, () => import("./webimage-a69885c6.js").then((m2) => m2.default));
186194
186267
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
186195
186268
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
186196
186269
  }
@@ -205995,14 +206068,17 @@ function EmbeddingScatterplotSubscriber(props) {
205995
206068
  title: titleOverride,
205996
206069
  helpText = ViewHelpMapping.SCATTERPLOT,
205997
206070
  // Average fill density for dynamic opacity calculation.
205998
- averageFillDensity
206071
+ averageFillDensity,
206072
+ // For the dual scatterplot:
206073
+ sampleSetSelection: sampleSetSelectionFromProps
205999
206074
  } = props;
206000
206075
  const loaders = useLoaders();
206001
206076
  const setComponentHover = useSetComponentHover();
206002
206077
  const setComponentViewInfo = useSetComponentViewInfo(uuid);
206003
- const [{ dataset, obsType, featureType, featureValueType, sampleType, embeddingZoom: zoom2, embeddingTargetX: targetX2, embeddingTargetY: targetY2, embeddingTargetZ: targetZ, embeddingType: mapping, obsFilter: cellFilter, obsHighlight: cellHighlight, featureSelection: geneSelection, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, embeddingObsSetPolygonsVisible: cellSetPolygonsVisible, embeddingObsSetLabelsVisible: cellSetLabelsVisible, embeddingObsSetLabelSize: cellSetLabelSize, embeddingObsRadius: cellRadiusFixed, embeddingObsRadiusMode: cellRadiusMode, embeddingObsOpacity: cellOpacityFixed, embeddingObsOpacityMode: cellOpacityMode, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, tooltipsVisible, sampleSetSelection, sampleSetColor, embeddingPointsVisible, embeddingContoursVisible, embeddingContoursFilled, embeddingContourPercentiles: contourPercentiles, contourColorEncoding, contourColor }, { setEmbeddingZoom: setZoom, setEmbeddingTargetX: setTargetX, setEmbeddingTargetY: setTargetY, setEmbeddingTargetZ: setTargetZ, setObsFilter: setCellFilter, setObsSetSelection: setCellSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setEmbeddingObsSetPolygonsVisible: setCellSetPolygonsVisible, setEmbeddingObsSetLabelsVisible: setCellSetLabelsVisible, setEmbeddingObsSetLabelSize: setCellSetLabelSize, setEmbeddingObsRadius: setCellRadiusFixed, setEmbeddingObsRadiusMode: setCellRadiusMode, setEmbeddingObsOpacity: setCellOpacityFixed, setEmbeddingObsOpacityMode: setCellOpacityMode, setFeatureValueColormap: setGeneExpressionColormap, setFeatureValueColormapRange: setGeneExpressionColormapRange, setTooltipsVisible, setEmbeddingPointsVisible, setEmbeddingContoursVisible, setEmbeddingContoursFilled, setEmbeddingContourPercentiles: setContourPercentiles, setContourColorEncoding }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.SCATTERPLOT], coordinationScopes);
206078
+ const [{ dataset, obsType, featureType, featureValueType, sampleType, embeddingZoom: zoom2, embeddingTargetX: targetX2, embeddingTargetY: targetY2, embeddingTargetZ: targetZ, embeddingType: mapping, obsFilter: cellFilter, obsHighlight: cellHighlight, featureSelection: geneSelection, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, embeddingObsSetPolygonsVisible: cellSetPolygonsVisible, embeddingObsSetLabelsVisible: cellSetLabelsVisible, embeddingObsSetLabelSize: cellSetLabelSize, embeddingObsRadius: cellRadiusFixed, embeddingObsRadiusMode: cellRadiusMode, embeddingObsOpacity: cellOpacityFixed, embeddingObsOpacityMode: cellOpacityMode, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, tooltipsVisible, sampleSetSelection: sampleSetSelectionFromCoordination, sampleSetColor, embeddingPointsVisible, embeddingContoursVisible, embeddingContoursFilled, embeddingContourPercentiles: contourPercentiles, contourColorEncoding, contourColor }, { setEmbeddingZoom: setZoom, setEmbeddingTargetX: setTargetX, setEmbeddingTargetY: setTargetY, setEmbeddingTargetZ: setTargetZ, setObsFilter: setCellFilter, setObsSetSelection: setCellSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setEmbeddingObsSetPolygonsVisible: setCellSetPolygonsVisible, setEmbeddingObsSetLabelsVisible: setCellSetLabelsVisible, setEmbeddingObsSetLabelSize: setCellSetLabelSize, setEmbeddingObsRadius: setCellRadiusFixed, setEmbeddingObsRadiusMode: setCellRadiusMode, setEmbeddingObsOpacity: setCellOpacityFixed, setEmbeddingObsOpacityMode: setCellOpacityMode, setFeatureValueColormap: setGeneExpressionColormap, setFeatureValueColormapRange: setGeneExpressionColormapRange, setTooltipsVisible, setEmbeddingPointsVisible, setEmbeddingContoursVisible, setEmbeddingContoursFilled, setEmbeddingContourPercentiles: setContourPercentiles, setContourColorEncoding }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.SCATTERPLOT], coordinationScopes);
206004
206079
  const { embeddingZoom: initialZoom, embeddingTargetX: initialTargetX, embeddingTargetY: initialTargetY } = useInitialCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.SCATTERPLOT], coordinationScopes);
206005
206080
  const observationsLabel = observationsLabelOverride || obsType;
206081
+ const sampleSetSelection = sampleSetSelectionFromProps || sampleSetSelectionFromCoordination;
206006
206082
  const [width2, height2, deckRef] = useDeckCanvasSize();
206007
206083
  const title2 = titleOverride || `Scatterplot (${mapping})`;
206008
206084
  const [obsLabelsTypes, obsLabelsData] = useMultiObsLabels(coordinationScopes, obsType, loaders, dataset);
@@ -206287,6 +206363,13 @@ function EmbeddingScatterplotSubscriber(props) {
206287
206363
  contourThresholds
206288
206364
  })] });
206289
206365
  }
206366
+ function DualEmbeddingScatterplotSubscriber(props) {
206367
+ const { coordinationScopes } = props;
206368
+ const [{ sampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.DUAL_SCATTERPLOT], coordinationScopes);
206369
+ const caseSampleSetSelection = useMemo(() => sampleSetSelection?.[0] ? [sampleSetSelection[0]] : null, [sampleSetSelection]);
206370
+ const ctrlSampleSetSelection = useMemo(() => sampleSetSelection?.[1] ? [sampleSetSelection[1]] : null, [sampleSetSelection]);
206371
+ return jsxRuntimeExports.jsxs("div", { style: { width: "100%", height: "100%", display: "flex", flexDirection: "row" }, children: [jsxRuntimeExports.jsx("div", { style: { width: "50%", display: "flex", flexDirection: "column" }, children: jsxRuntimeExports.jsx(EmbeddingScatterplotSubscriber, { ...props, sampleSetSelection: caseSampleSetSelection }) }), jsxRuntimeExports.jsx("div", { style: { width: "50%", display: "flex", flexDirection: "column" }, children: jsxRuntimeExports.jsx(EmbeddingScatterplotSubscriber, { ...props, title: "", sampleSetSelection: ctrlSampleSetSelection }) })] });
206372
+ }
206290
206373
  function GatingScatterplotOptions(props) {
206291
206374
  const { featureType, gatingFeatureSelectionX, setGatingFeatureSelectionX, gatingFeatureSelectionY, setGatingFeatureSelectionY, gatingFeatureValueTransform, setGatingFeatureValueTransform, gatingFeatureValueTransformCoefficient, setGatingFeatureValueTransformCoefficient, geneSelectOptions, transformOptions } = props;
206292
206375
  const gatingScatterplotOptionsId = $bdb11010cef70236$export$f680877a34711e37();
@@ -226171,13 +226254,21 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
226171
226254
  coordinateSystem: COORDINATE_SYSTEM.CARTESIAN,
226172
226255
  pickable: true,
226173
226256
  autoHighlight: AUTO_HIGHLIGHT,
226174
- filled: spatialSegmentationFilled,
226257
+ filled: true,
226175
226258
  stroked: !spatialSegmentationFilled,
226176
226259
  backgroundColor: [0, 0, 0],
226177
226260
  // isSelected: getCellIsSelected,
226178
226261
  getPolygon,
226179
- getFillColor: isStaticColor ? staticColor : getCellColor,
226180
- getLineColor: isStaticColor ? staticColor : getCellColor,
226262
+ getFillColor: (object2, { index: index2 }) => {
226263
+ const color2 = isStaticColor ? staticColor : getCellColor(object2, { index: index2 });
226264
+ color2[3] = spatialSegmentationFilled ? opacity2 * 255 : 0;
226265
+ return color2;
226266
+ },
226267
+ getLineColor: (object2, { index: index2 }) => {
226268
+ const color2 = isStaticColor ? staticColor : getCellColor(object2, { index: index2 });
226269
+ color2[3] = spatialSegmentationFilled ? 0 : opacity2 * 255;
226270
+ return color2;
226271
+ },
226181
226272
  onClick: (info2) => {
226182
226273
  },
226183
226274
  onHover: (info2) => delegateHover(info2, "segmentation-polygon", layerScope),
@@ -226193,8 +226284,20 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
226193
226284
  isExpressionMode: obsColorEncoding === "geneSelection",
226194
226285
  colormap: featureValueColormap,
226195
226286
  updateTriggers: {
226196
- getFillColor: [obsColorEncoding, staticColor, layerColors],
226197
- getLineColor: [obsColorEncoding, staticColor, layerColors]
226287
+ getFillColor: [
226288
+ opacity2,
226289
+ spatialSegmentationFilled,
226290
+ obsColorEncoding,
226291
+ staticColor,
226292
+ layerColors
226293
+ ],
226294
+ getLineColor: [
226295
+ opacity2,
226296
+ spatialSegmentationFilled,
226297
+ obsColorEncoding,
226298
+ staticColor,
226299
+ layerColors
226300
+ ]
226198
226301
  /*
226199
226302
  getLineWidth: [stroked],
226200
226303
  isSelected: cellSelection,
@@ -227199,7 +227302,7 @@ class ErrorBoundary extends React__default.Component {
227199
227302
  }
227200
227303
  }
227201
227304
  const LazySpatialThree = React__default.lazy(async () => {
227202
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-507e7fae.js");
227305
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-b992752d.js");
227203
227306
  return { default: SpatialWrapper2 };
227204
227307
  });
227205
227308
  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 }) }) }) }));
@@ -235703,7 +235806,7 @@ const useStyles$3 = makeStyles((theme) => ({
235703
235806
  }));
235704
235807
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
235705
235808
  const LazyHiGlassComponent = React__default.lazy(async () => {
235706
- const { HiGlassComponent } = await import("./higlass-148ab938.js");
235809
+ const { HiGlassComponent } = await import("./higlass-9bad2d6d.js");
235707
235810
  return { default: HiGlassComponent };
235708
235811
  });
235709
235812
  const HG_SIZE = 800;
@@ -352016,8 +352119,8 @@ function BiomarkerSelectSubscriber(props) {
352016
352119
  const { coordinationScopes, stratificationOptions } = props;
352017
352120
  useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$2.BIOMARKER_SELECT], coordinationScopes);
352018
352121
  const viewConfigStoreApi = useViewConfigStoreApi();
352019
- useViewConfig();
352020
- useSetViewConfig(viewConfigStoreApi);
352122
+ const viewConfig = useViewConfig();
352123
+ const setViewConfig = useSetViewConfig(viewConfigStoreApi);
352021
352124
  const [isSelecting, setIsSelecting] = useState(true);
352022
352125
  const [mode, setMode] = useState(null);
352023
352126
  const [step2, setStep] = useState(null);
@@ -352029,7 +352132,20 @@ function BiomarkerSelectSubscriber(props) {
352029
352132
  const autocompleteNode = useCallback(async (inputValue) => autocompleteFeature2(inputValue), [autocompleteFeature2]);
352030
352133
  const getEdges = useCallback(async (node2, targetModality) => transformFeature2(node2, targetModality), [transformFeature2]);
352031
352134
  return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: isSelecting ? jsxRuntimeExports.jsx(ScmdUi, { mode, setMode, step: step2, setStep, currentModalityAgnosticSelection, setCurrentModalityAgnosticSelection, currentModalitySpecificSelection, setCurrentModalitySpecificSelection, currentStratificationSelection, setCurrentStratificationSelection, autocompleteNode, getEdges, stratifications: stratificationOptions, onFinish: () => {
352032
- console.log("Done selecting");
352135
+ setViewConfig({
352136
+ ...viewConfig,
352137
+ coordinationSpace: {
352138
+ ...viewConfig.coordinationSpace,
352139
+ sampleSetFilter: {
352140
+ ...viewConfig.coordinationSpace.sampleSetFilter,
352141
+ "case-control": currentStratificationSelection?.sampleSets
352142
+ },
352143
+ sampleSetSelection: {
352144
+ ...viewConfig.coordinationSpace.sampleSetSelection,
352145
+ "case-control": currentStratificationSelection?.sampleSets
352146
+ }
352147
+ }
352148
+ });
352033
352149
  } }) : null });
352034
352150
  }
352035
352151
  function isArray3(value2) {
@@ -353700,6 +353816,7 @@ const baseViewTypes = [
353700
353816
  makeViewType(ViewType$2.DESCRIPTION, DescriptionSubscriber),
353701
353817
  makeViewType(ViewType$2.OBS_SETS, ObsSetsManagerSubscriber),
353702
353818
  makeViewType(ViewType$2.SCATTERPLOT, EmbeddingScatterplotSubscriber),
353819
+ makeViewType(ViewType$2.DUAL_SCATTERPLOT, DualEmbeddingScatterplotSubscriber),
353703
353820
  makeViewType(ViewType$2.GATING, GatingSubscriber),
353704
353821
  makeViewType(ViewType$2.SPATIAL, SpatialSubscriber$1),
353705
353822
  makeViewType(ViewType$2.SPATIAL_BETA, SpatialSubscriber),
@@ -353851,7 +353968,11 @@ const baseCoordinationTypes = [
353851
353968
  new PluginCoordinationType(CoordinationType$2.HEATMAP_TARGET_Y, 0, z.number()),
353852
353969
  new PluginCoordinationType(CoordinationType$2.OBS_FILTER, null, z.array(z.string()).nullable()),
353853
353970
  new PluginCoordinationType(CoordinationType$2.OBS_HIGHLIGHT, null, z.string().nullable()),
353971
+ new PluginCoordinationType(CoordinationType$2.OBS_SELECTION, null, z.array(z.string()).nullable()),
353854
353972
  new PluginCoordinationType(CoordinationType$2.OBS_SET_SELECTION, null, z.array(obsSetPath).nullable()),
353973
+ new PluginCoordinationType(CoordinationType$2.OBS_SELECTION_MODE, null, z.enum(["obsSelection", "obsSetSelection"]).nullable()),
353974
+ new PluginCoordinationType(CoordinationType$2.OBS_SET_FILTER, null, z.array(obsSetPath).nullable()),
353975
+ new PluginCoordinationType(CoordinationType$2.OBS_FILTER_MODE, null, z.enum(["obsFilter", "obsSetFilter"]).nullable()),
353855
353976
  new PluginCoordinationType(CoordinationType$2.OBS_SET_EXPANSION, null, z.array(obsSetPath).nullable()),
353856
353977
  new PluginCoordinationType(CoordinationType$2.OBS_SET_HIGHLIGHT, null, obsSetPath.nullable()),
353857
353978
  new PluginCoordinationType(CoordinationType$2.OBS_SET_COLOR, null, z.array(z.object({
@@ -353862,6 +353983,10 @@ const baseCoordinationTypes = [
353862
353983
  new PluginCoordinationType(CoordinationType$2.FEATURE_FILTER, null, z.array(z.string()).nullable()),
353863
353984
  new PluginCoordinationType(CoordinationType$2.FEATURE_HIGHLIGHT, null, z.string().nullable()),
353864
353985
  new PluginCoordinationType(CoordinationType$2.FEATURE_SELECTION, null, z.array(z.string()).nullable()),
353986
+ new PluginCoordinationType(CoordinationType$2.FEATURE_SET_SELECTION, null, z.array(obsSetPath).nullable()),
353987
+ new PluginCoordinationType(CoordinationType$2.FEATURE_SELECTION_MODE, null, z.enum(["featureSelection", "featureSetSelection"]).nullable()),
353988
+ new PluginCoordinationType(CoordinationType$2.FEATURE_SET_FILTER, null, z.array(obsSetPath).nullable()),
353989
+ new PluginCoordinationType(CoordinationType$2.FEATURE_FILTER_MODE, null, z.enum(["featureFilter", "featureSetFilter"]).nullable()),
353865
353990
  new PluginCoordinationType(CoordinationType$2.FEATURE_VALUE_TRANSFORM, null, z.enum(["log1p", "arcsinh"]).nullable()),
353866
353991
  new PluginCoordinationType(CoordinationType$2.FEATURE_VALUE_TRANSFORM_COEFFICIENT, 1, z.number()),
353867
353992
  new PluginCoordinationType(CoordinationType$2.FEATURE_VALUE_POSITIVITY_THRESHOLD, 0, z.number()),
@@ -353918,7 +354043,12 @@ const baseCoordinationTypes = [
353918
354043
  new PluginCoordinationType(CoordinationType$2.SPATIAL_CHANNEL_LABEL_SIZE, 14, z.number()),
353919
354044
  new PluginCoordinationType(CoordinationType$2.SAMPLE_TYPE, "sample", z.string().nullable()),
353920
354045
  // TODO: remove one array level and use multi-coordination for sampleSetSelection?
354046
+ new PluginCoordinationType(CoordinationType$2.SAMPLE_FILTER, null, z.array(z.string()).nullable()),
354047
+ new PluginCoordinationType(CoordinationType$2.SAMPLE_SELECTION, null, z.array(z.string()).nullable()),
353921
354048
  new PluginCoordinationType(CoordinationType$2.SAMPLE_SET_SELECTION, null, z.array(z.array(z.string())).nullable()),
354049
+ new PluginCoordinationType(CoordinationType$2.SAMPLE_SET_FILTER, null, z.array(z.array(z.string())).nullable()),
354050
+ new PluginCoordinationType(CoordinationType$2.SAMPLE_SELECTION_MODE, null, z.enum(["sampleSelection", "sampleSetSelection"]).nullable()),
354051
+ new PluginCoordinationType(CoordinationType$2.SAMPLE_FILTER_MODE, null, z.enum(["sampleFilter", "sampleSetFilter"]).nullable()),
353922
354052
  new PluginCoordinationType(CoordinationType$2.SAMPLE_SET_COLOR, null, z.array(z.object({
353923
354053
  path: obsSetPath,
353924
354054
  color: rgbArray
@@ -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-0dd94049.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-1d75881e.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-de05f2bd.js"), []);
23696
+ } = suspend(async () => import("./troika-three-text.esm-5ddc62f7.js"), []);
23697
23697
  const invalidate2 = useThree(({
23698
23698
  invalidate: invalidate3
23699
23699
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-0dd94049.js";
1
+ import { ba, b5, b3, b4, be, bf, b6, bn, bl, bj, bm, bk, b2, bi, b7, b1, b0, bc, bb, bd, bh, bg, b9, bs, bv, bp, bw, bx, bq, bt, bu, br, b8, bo } from "./index-1d75881e.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { aQ as BaseDecoder } from "./index-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-1d75881e.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-0dd94049.js";
2
+ import { g as getDefaultExportFromCjs, aQ as BaseDecoder, aR as LercParameters, aS as LercAddCompression } from "./index-1d75881e.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-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-1d75881e.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-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-1d75881e.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-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-1d75881e.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, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ 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, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-0dd94049.js";
1
+ import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ 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, a$ as PlaneGeometry, h as BufferGeometry, ay as Float32BufferAttribute, z as MeshBasicMaterial, l as Matrix4, b as Vector3 } from "./index-1d75881e.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-0dd94049.js";
1
+ import { aQ as BaseDecoder } from "./index-1d75881e.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.5.4",
3
+ "version": "3.5.6",
4
4
  "author": "HIDIVE Lab at HMS",
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.5.4",
20
- "@vitessce/config": "3.5.4",
21
- "@vitessce/constants": "3.5.4",
22
- "@vitessce/export-utils": "3.5.4"
19
+ "@vitessce/all": "3.5.6",
20
+ "@vitessce/config": "3.5.6",
21
+ "@vitessce/constants": "3.5.6",
22
+ "@vitessce/export-utils": "3.5.6"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@vitejs/plugin-react": "^4.0.0",