@vitessce/all 3.6.16 → 3.6.18

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,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-4NRxI5_U.js";
1
+ import { g as getDefaultExportFromCjs, aV as requireAssign, aW as require_export, aX as require_core, aY as require_fails, aZ as require_toObject, a_ as require_objectKeys, a$ as require_cof, b0 as require_wks, b1 as require_iterators, b2 as requireWeb_dom_iterable, b3 as requireEs6_string_iterator, b4 as require_anObject, b5 as require_hide, b6 as require_ctx, b7 as require_toLength, b8 as require_global, b9 as require_objectDp, ba as require_descriptors, bb as require_isObject, bc as require_objectCreate, bd as require_iterDefine, be as require_iterStep, bf as require_meta, bg as require_isArray, bh as require_iobject, bi as require_setToStringTag, bj as require_aFunction, bk as requireIterator, bl as require_propertyDesc, aS as commonjsGlobal, bm as requireEs6_symbol, bn as requireDefineProperty, bo as require_toIobject, bp as require_objectGopd, bq as require_html, br as require_domCreate, bs as require_library, bt as requireSymbol, bu as require_objectPie, bv as require_has, bw as require_redefine, bx as require_objectAssign, by as getAugmentedNamespace, bz as requirePropTypes, aI as jsxRuntimeExports } from "./index-B2chDEFY.js";
2
2
  import React__default from "react";
3
3
  var lib = {};
4
4
  var assignExports = requireAssign();
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { aP as BaseDecoder } from "./index-4NRxI5_U.js";
2
+ import { aP as BaseDecoder } from "./index-B2chDEFY.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -1,7 +1,7 @@
1
1
  import * as React$7 from "react";
2
2
  import React__default, { isValidElement, PureComponent, Component, createElement, createContext, createRef } from "react";
3
3
  import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
4
- import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-4NRxI5_U.js";
4
+ import { aS as commonjsGlobal$1, aT as requireObjectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-B2chDEFY.js";
5
5
  var promise = {};
6
6
  var hasRequiredPromise;
7
7
  function requirePromise() {
@@ -12,7 +12,7 @@ var __privateMethod = (obj, member, method2) => (__accessCheck(obj, member, "acc
12
12
  var _a2, _b2, _overrides, _use_suffix_request, _FetchStore_instances, merge_init_fn, _c, _bytes, _d, _encoder, _e, _data, _f, _stride, _TypedArray, _BYTES_PER_ELEMENT, _shape, _endian, _g, _encoder_config, _decoder_config, _h, _order, _inverseOrder, _i, _shape2, _strides, _j, _metadata, _k, _metadata2, _l, _overrides2, _refs, _opts, _overrides3, _focused, _cleanup, _setup, _m2, _online, _cleanup2, _setup2, _n, _client, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _o2, _client2, _result, _queries, _options, _observers, _combinedResult, _lastCombine, _lastResult, _observerMatches, _QueriesObserver_instances, trackResult_fn, combineResult_fn, findMatchingObservers_fn, onUpdate_fn, notify_fn2, _p2, _bytes2, _encoder2, _data2, _stride2, _TypedArray2, _BYTES_PER_ELEMENT2, _shape3, _endian2, _encoder_config2, _decoder_config2, _order2, _inverseOrder2, _shape4, _strides2, _metadata3, _q, _metadata4, _r, _overrides4, _use_suffix_request2, _FetchStore_instances2, merge_init_fn2;
13
13
  import * as React from "react";
14
14
  import React__default, { useContext, forwardRef as forwardRef$1, useRef, useMemo as useMemo$1, createContext, createElement, isValidElement, cloneElement, Children, version as version$6, useLayoutEffect as useLayoutEffect$1, useEffect, useImperativeHandle, PureComponent, Component as Component$1, useState, useCallback, Suspense, useReducer } from "react";
15
- import { useLoaders, useCoordination, useDescription, useImageData, useReady, TitleInfo, useVitessceContainer, useSetWarning, useObsSetsData, useUrls, usePlotOptionsStyles, OptionsContainer, CellColorEncodingOption, OptionSelect, useComponentHover, useComponentViewInfo, useSetComponentHover, useSetComponentViewInfo, useInitialCoordination, useDeckCanvasSize, useMultiObsLabels, useObsEmbeddingData, useFeatureSelection, useObsFeatureMatrixIndices, useFeatureLabelsData, useExpandedFeatureLabelsMap, useSampleSetsData, useSampleEdgesData, useGetObsInfo, useUint8FeatureSelection, useExpressionValueGetter, useAuxiliaryCoordination, useHasLoader, useObsLocationsData, useObsLabelsData, useObsSegmentationsData, useNeighborhoodsData, useMergeCoordination, useCoordinationScopes, useCoordinationScopesBy, useMultiCoordinationScopesSecondaryNonNull, useMultiCoordinationScopesNonNull, useComplexCoordination, useComplexCoordinationSecondary, useGridItemSize, useMultiObsPoints, usePointMultiObsLabels, useMultiObsSpots, useSpotMultiObsSets, useSpotMultiFeatureLabels, useSpotMultiFeatureSelection, useSpotMultiObsFeatureMatrixIndices, useSegmentationMultiObsLocations, useMultiObsSegmentations, useSegmentationMultiObsSets, useSegmentationMultiFeatureSelection, useSegmentationMultiObsFeatureMatrixIndices, useMultiImages, useObsFeatureMatrixData, useUint8ObsFeatureMatrix, useGetObsMembership, PopperMenu, useComponentLayout, useClosestVitessceContainerSize, useWindowDimensions, useRemoveImageChannelInMetaCoordinationScopes, useAddImageChannelInMetaCoordinationScopes, useViewConfigStoreApi, useViewConfig, useSetViewConfig, createLoaders, useWarning, useGenomicProfilesData, useMatchingLoader, useColumnNameMapping, useFeatureStatsData, useObsSetStatsData, useAsyncFunction, useFeatureSetStatsData, useComparisonMetadata, logConfig, VitSContainer } from "@vitessce/vit-s";
15
+ import { useLoaders, useCoordinationScopes, useCoordination, useDescription, useImageData, useReady, TitleInfo, useVitessceContainer, useSetWarning, useObsSetsData, useUrls, usePlotOptionsStyles, OptionsContainer, CellColorEncodingOption, OptionSelect, useComponentHover, useComponentViewInfo, useSetComponentHover, useSetComponentViewInfo, useInitialCoordination, useDeckCanvasSize, useMultiObsLabels, useObsEmbeddingData, useFeatureSelection, useObsFeatureMatrixIndices, useFeatureLabelsData, useExpandedFeatureLabelsMap, useSampleSetsData, useSampleEdgesData, useGetObsInfo, useUint8FeatureSelection, useExpressionValueGetter, useAuxiliaryCoordination, useHasLoader, useObsLocationsData, useObsLabelsData, useObsSegmentationsData, useNeighborhoodsData, useMergeCoordination, useCoordinationScopesBy, useMultiCoordinationScopesSecondaryNonNull, useMultiCoordinationScopesNonNull, useComplexCoordination, useComplexCoordinationSecondary, useGridItemSize, useMultiObsPoints, usePointMultiObsLabels, useMultiObsSpots, useSpotMultiObsSets, useSpotMultiFeatureLabels, useSpotMultiFeatureSelection, useSpotMultiObsFeatureMatrixIndices, useSegmentationMultiObsLocations, useMultiObsSegmentations, useSegmentationMultiObsSets, useSegmentationMultiFeatureSelection, useSegmentationMultiObsFeatureMatrixIndices, useMultiImages, useObsFeatureMatrixData, useUint8ObsFeatureMatrix, useGetObsMembership, PopperMenu, useComponentLayout, useClosestVitessceContainerSize, useWindowDimensions, useRemoveImageChannelInMetaCoordinationScopes, useAddImageChannelInMetaCoordinationScopes, useViewConfigStoreApi, useViewConfig, useSetViewConfig, createLoaders, useWarning, useGenomicProfilesData, useMatchingLoader, useColumnNameMapping, useFeatureStatsData, useObsSetStatsData, useAsyncFunction, useFeatureSetStatsData, useComparisonMetadata, logConfig, VitSContainer } from "@vitessce/vit-s";
16
16
  import * as ReactDOM from "react-dom";
17
17
  import ReactDOM__default, { createPortal } from "react-dom";
18
18
  function _mergeNamespaces(n3, m2) {
@@ -82846,8 +82846,9 @@ function Description(props) {
82846
82846
  return jsxRuntimeExports.jsxs("div", { className: classes2.description, children: [descriptionType && descriptionType === DescriptionType.MARKDOWN ? jsxRuntimeExports.jsx(Markdown, { children: description2 }) : jsxRuntimeExports.jsx("p", { children: description2 }), metadata2 && Array.from(metadata2.entries()).map(([layerIndex, { name: layerName, metadata: metadataRecord }]) => metadataRecord && Object.entries(metadataRecord).length > 0 ? jsxRuntimeExports.jsxs("details", { children: [jsxRuntimeExports.jsx("summary", { children: layerName }), jsxRuntimeExports.jsx("div", { className: classes2.metadataContainer, children: jsxRuntimeExports.jsx("table", { children: jsxRuntimeExports.jsx("tbody", { children: Object.entries(metadataRecord).map(([key2, value2]) => jsxRuntimeExports.jsxs("tr", { children: [jsxRuntimeExports.jsx("th", { title: key2, children: key2 }), jsxRuntimeExports.jsx("td", { title: value2, children: value2 })] }, key2)) }) }) })] }, layerIndex) : null)] });
82847
82847
  }
82848
82848
  function DescriptionSubscriber(props) {
82849
- const { coordinationScopes, description: descriptionOverride, descriptionType, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible, helpText = ViewHelpMapping.DESCRIPTION } = props;
82849
+ const { coordinationScopes: coordinationScopesRaw, description: descriptionOverride, descriptionType, removeGridComponent, theme, title: title2 = "Description", closeButtonVisible, helpText = ViewHelpMapping.DESCRIPTION } = props;
82850
82850
  const loaders = useLoaders();
82851
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
82851
82852
  const [{ dataset, spatialImageLayer: rasterLayers }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DESCRIPTION], coordinationScopes);
82852
82853
  const [description2] = useDescription(loaders, dataset);
82853
82854
  const [{ image: image2 }, imageStatus, imageUrls, imageError] = useImageData(loaders, dataset, false, {}, {}, {});
@@ -103386,87 +103387,83 @@ function SetsManager(props) {
103386
103387
  }
103387
103388
  const packageJson = { name: "vitessce" };
103388
103389
  function ObsSetsManagerSubscriber(props) {
103389
- const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SETS } = props;
103390
+ const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SETS } = props;
103390
103391
  const loaders = useLoaders();
103392
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
103391
103393
  const setWarning = useSetWarning();
103392
- const [{ dataset, obsType, obsSetSelection: cellSetSelection, obsSetExpansion: cellSetExpansion, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, obsColorEncoding: cellColorEncoding }, { setObsSetSelection: setCellSetSelection, setObsColorEncoding: setCellColorEncoding, setObsSetColor: setCellSetColor, setObsSetExpansion: setCellSetExpansion, setAdditionalObsSets: setAdditionalCellSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SETS], coordinationScopes);
103394
+ const [{ dataset, obsType, obsSetSelection, obsSetExpansion, obsSetColor, additionalObsSets, obsColorEncoding }, { setObsSetSelection, setObsColorEncoding, setObsSetColor, setObsSetExpansion, setAdditionalObsSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SETS], coordinationScopes);
103393
103395
  const title2 = titleOverride || `${capitalize$3(obsType)} Sets`;
103394
- useEffect(() => {
103395
- if (cellSetExpansion && cellSetExpansion.length > 0) {
103396
- setCellSetExpansion([]);
103397
- }
103398
- }, [loaders, dataset]);
103399
- const [{ obsIndex, obsSets: cellSets }, obsSetsStatus, obsSetsUrls, obsSetsError] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { obsSetSelection: cellSetSelection, obsSetColor: cellSetColor }, { obsType });
103396
+ const [{ obsIndex, obsSets: cellSets }, obsSetsStatus, obsSetsUrls, obsSetsError] = useObsSetsData(loaders, dataset, false, { setObsSetSelection, setObsSetColor, setObsSetExpansion }, { obsSetSelection, obsSetColor, obsSetExpansion }, { obsType });
103400
103397
  const errors = [
103401
103398
  obsSetsError
103402
103399
  ];
103403
103400
  const isReady = useReady([obsSetsStatus]);
103404
103401
  const urls2 = useUrls([obsSetsUrls]);
103405
103402
  useEffect(() => {
103406
- if (additionalCellSets) {
103403
+ if (additionalObsSets) {
103407
103404
  let upgradedCellSets;
103408
103405
  let didUpgrade;
103409
103406
  try {
103410
- [upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(additionalCellSets, SETS_DATATYPE_OBS);
103407
+ [upgradedCellSets, didUpgrade] = tryUpgradeTreeToLatestSchema(additionalObsSets, SETS_DATATYPE_OBS);
103411
103408
  } catch (e3) {
103412
103409
  setWarning(e3.message);
103413
103410
  return;
103414
103411
  }
103415
103412
  if (didUpgrade) {
103416
- setAdditionalCellSets(upgradedCellSets);
103413
+ setAdditionalObsSets(upgradedCellSets);
103417
103414
  }
103418
103415
  }
103419
- }, [additionalCellSets, setAdditionalCellSets, setWarning]);
103416
+ }, [additionalObsSets, setAdditionalObsSets, setWarning]);
103420
103417
  const allCellIds = useMemo$1(() => obsIndex || [], [obsIndex]);
103421
- const setCellSetColorEncoding = useCallback(() => {
103422
- setCellColorEncoding("cellSetSelection");
103423
- }, [setCellColorEncoding]);
103424
- const mergedCellSets = useMemo$1(() => mergeObsSets(cellSets, additionalCellSets), [cellSets, additionalCellSets]);
103418
+ const setObsSetColorEncoding = useCallback(() => {
103419
+ setObsColorEncoding("cellSetSelection");
103420
+ }, [setObsColorEncoding]);
103421
+ const mergedObsSets = useMemo$1(() => mergeObsSets(cellSets, additionalObsSets), [cellSets, additionalObsSets]);
103425
103422
  const checkedLevel = useMemo$1(() => {
103426
- if (cellSetSelection && cellSetSelection.length > 0 && mergedCellSets && mergedCellSets.tree.length > 0) {
103427
- return treeToExpectedCheckedLevel(mergedCellSets, cellSetSelection);
103423
+ if (obsSetSelection && obsSetSelection.length > 0 && mergedObsSets && mergedObsSets.tree.length > 0) {
103424
+ return treeToExpectedCheckedLevel(mergedObsSets, obsSetSelection);
103428
103425
  }
103429
103426
  return null;
103430
- }, [cellSetSelection, mergedCellSets]);
103427
+ }, [obsSetSelection, mergedObsSets]);
103431
103428
  const onCheckLevel = useCallback((levelZeroName, levelIndex) => {
103432
- const lzn = mergedCellSets.tree.find((n3) => n3.name === levelZeroName);
103429
+ const lzn = mergedObsSets.tree.find((n3) => n3.name === levelZeroName);
103433
103430
  if (lzn) {
103434
- const newCellSetSelection = nodeToLevelDescendantNamePaths(lzn, levelIndex, [], true);
103435
- setCellSetSelection(newCellSetSelection);
103436
- setCellSetColorEncoding();
103431
+ const newObsSetSelection = nodeToLevelDescendantNamePaths(lzn, levelIndex, [], true);
103432
+ setObsSetSelection(newObsSetSelection);
103433
+ setObsSetColorEncoding();
103437
103434
  }
103438
- }, [mergedCellSets, setCellSetColorEncoding, setCellSetSelection]);
103435
+ }, [mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
103439
103436
  const onCheckNode = useCallback((targetKey, checked) => {
103440
103437
  const targetPath = Array.isArray(targetKey) ? targetKey : targetKey.split(PATH_SEP);
103441
103438
  if (!targetKey) {
103442
103439
  return;
103443
103440
  }
103444
103441
  if (checked) {
103445
- setCellSetSelection([...cellSetSelection, targetPath]);
103442
+ setObsSetSelection([...obsSetSelection, targetPath]);
103446
103443
  } else {
103447
- setCellSetSelection(cellSetSelection.filter((d) => !isEqual$3(d, targetPath)));
103444
+ setObsSetSelection(obsSetSelection.filter((d) => !isEqual$3(d, targetPath)));
103448
103445
  }
103449
- setCellSetColorEncoding();
103450
- }, [cellSetSelection, setCellSetColorEncoding, setCellSetSelection]);
103446
+ setObsSetColorEncoding();
103447
+ }, [obsSetSelection, setObsSetColorEncoding, setObsSetSelection]);
103451
103448
  const onExpandNode = useCallback((expandedKeys, targetKey, expanded) => {
103452
- const prevCellSetExpansion = cellSetExpansion || [];
103449
+ const prevObsSetExpansion = obsSetExpansion || [];
103453
103450
  if (expanded) {
103454
- setCellSetExpansion([...prevCellSetExpansion, targetKey.split(PATH_SEP)]);
103451
+ setObsSetExpansion([...prevObsSetExpansion, targetKey.split(PATH_SEP)]);
103455
103452
  } else {
103456
- const newCellSetExpansion = prevCellSetExpansion.filter((d) => !isEqual$3(d, targetKey.split(PATH_SEP)));
103457
- setCellSetExpansion(newCellSetExpansion);
103453
+ const newObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqual$3(d, targetKey.split(PATH_SEP)));
103454
+ setObsSetExpansion(newObsSetExpansion);
103458
103455
  }
103459
- }, [cellSetExpansion, setCellSetExpansion]);
103456
+ }, [obsSetExpansion, setObsSetExpansion]);
103460
103457
  const onDropNode = useCallback((dropKey, dragKey, dropPosition, dropToGap) => {
103461
103458
  const dropPath = dropKey.split(PATH_SEP);
103462
- const dropNode = treeFindNodeByNamePath(additionalCellSets, dropPath);
103459
+ const dropNode = treeFindNodeByNamePath(additionalObsSets, dropPath);
103463
103460
  if (!dropNode.children && !dropToGap) {
103464
103461
  return;
103465
103462
  }
103466
103463
  const dropNodeLevel = dropPath.length - 1;
103467
103464
  const dropNodeIsLevelZero = dropNodeLevel === 0;
103468
103465
  const dragPath = dragKey.split(PATH_SEP);
103469
- const dragNode = treeFindNodeByNamePath(additionalCellSets, dragPath);
103466
+ const dragNode = treeFindNodeByNamePath(additionalObsSets, dragPath);
103470
103467
  if (dropNodeIsLevelZero && dropToGap && !dragNode.children) {
103471
103468
  return;
103472
103469
  }
@@ -103475,10 +103472,10 @@ function ObsSetsManagerSubscriber(props) {
103475
103472
  let dropNodeCurrIndex;
103476
103473
  if (!dropNodeIsLevelZero) {
103477
103474
  dropParentPath = dropPath.slice(0, -1);
103478
- dropParentNode = treeFindNodeByNamePath(additionalCellSets, dropParentPath);
103475
+ dropParentNode = treeFindNodeByNamePath(additionalObsSets, dropParentPath);
103479
103476
  dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
103480
103477
  } else {
103481
- dropNodeCurrIndex = additionalCellSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
103478
+ dropNodeCurrIndex = additionalObsSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
103482
103479
  }
103483
103480
  let hasSiblingNameConflict;
103484
103481
  const dragNodeName = dragNode.name;
@@ -103487,19 +103484,19 @@ function ObsSetsManagerSubscriber(props) {
103487
103484
  } else if (!dropToGap) {
103488
103485
  hasSiblingNameConflict = dropNode.children.find((c2) => c2 !== dragNode && c2.name === dragNodeName);
103489
103486
  } else {
103490
- hasSiblingNameConflict = additionalCellSets.tree.find((lzn) => lzn !== dragNode && lzn.name === dragNodeName);
103487
+ hasSiblingNameConflict = additionalObsSets.tree.find((lzn) => lzn !== dragNode && lzn.name === dragNodeName);
103491
103488
  }
103492
103489
  if (hasSiblingNameConflict) {
103493
103490
  return;
103494
103491
  }
103495
- const nextAdditionalCellSets = {
103496
- ...additionalCellSets,
103497
- tree: additionalCellSets.tree.map((lzn) => filterNode(lzn, [], dragPath)).filter(Boolean)
103492
+ const nextAdditionalObsSets = {
103493
+ ...additionalObsSets,
103494
+ tree: additionalObsSets.tree.map((lzn) => filterNode(lzn, [], dragPath)).filter(Boolean)
103498
103495
  };
103499
103496
  if (!dropNodeIsLevelZero) {
103500
103497
  dropNodeCurrIndex = dropParentNode.children.findIndex((c2) => c2.name === dropNode.name);
103501
103498
  } else {
103502
- dropNodeCurrIndex = nextAdditionalCellSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
103499
+ dropNodeCurrIndex = nextAdditionalObsSets.tree.findIndex((lzn) => lzn.name === dropNode.name);
103503
103500
  }
103504
103501
  let newDragPath = [];
103505
103502
  if (!dropToGap || !dropNodeIsLevelZero) {
@@ -103518,67 +103515,67 @@ function ObsSetsManagerSubscriber(props) {
103518
103515
  addChildFunction = (n3) => nodeInsertChild(n3, dragNode, insertIndex);
103519
103516
  }
103520
103517
  }
103521
- nextAdditionalCellSets.tree = nextAdditionalCellSets.tree.map((node2) => nodeTransform(node2, (n3, path2) => checkPathFunction(path2), (n3) => {
103518
+ nextAdditionalObsSets.tree = nextAdditionalObsSets.tree.map((node2) => nodeTransform(node2, (n3, path2) => checkPathFunction(path2), (n3) => {
103522
103519
  const newNode = addChildFunction(n3);
103523
103520
  return newNode;
103524
103521
  }, newPath));
103525
- setAdditionalCellSets(nextAdditionalCellSets);
103522
+ setAdditionalObsSets(nextAdditionalObsSets);
103526
103523
  newDragPath = [...newPath[0], dragNode.name];
103527
- setCellSetSelection([newDragPath]);
103524
+ setObsSetSelection([newDragPath]);
103528
103525
  } else if (dropPosition === -1) {
103529
- nextAdditionalCellSets.tree.unshift(dragNode);
103530
- setAdditionalCellSets(nextAdditionalCellSets);
103526
+ nextAdditionalObsSets.tree.unshift(dragNode);
103527
+ setAdditionalObsSets(nextAdditionalObsSets);
103531
103528
  newDragPath = [dragNode.name];
103532
- setCellSetSelection([newDragPath]);
103529
+ setObsSetSelection([newDragPath]);
103533
103530
  } else {
103534
103531
  const insertIndex = dropNodeCurrIndex + (dropPosition > dropNodeCurrIndex ? 1 : 0);
103535
- const newLevelZero = Array.from(nextAdditionalCellSets.tree);
103532
+ const newLevelZero = Array.from(nextAdditionalObsSets.tree);
103536
103533
  newLevelZero.splice(insertIndex, 0, dragNode);
103537
- nextAdditionalCellSets.tree = newLevelZero;
103538
- setAdditionalCellSets(nextAdditionalCellSets);
103534
+ nextAdditionalObsSets.tree = newLevelZero;
103535
+ setAdditionalObsSets(nextAdditionalObsSets);
103539
103536
  newDragPath = [dragNode.name];
103540
- setCellSetSelection([newDragPath]);
103537
+ setObsSetSelection([newDragPath]);
103541
103538
  }
103542
- const oldColors = cellSetColor.filter((i2) => isEqualOrPrefix(dragPath, i2.path));
103539
+ const oldColors = obsSetColor.filter((i2) => isEqualOrPrefix(dragPath, i2.path));
103543
103540
  const newColors = oldColors.map((i2) => ({
103544
103541
  ...i2,
103545
103542
  path: !isEqual$3(i2.path, dragPath) ? newDragPath.concat(i2.path.slice(dragPath.length)) : newDragPath
103546
103543
  }));
103547
- const newCellSetColor = cellSetColor.filter((i2) => !isEqualOrPrefix(dragPath, i2.path));
103548
- newCellSetColor.push(...newColors);
103549
- setCellSetColor(newCellSetColor);
103544
+ const newObsSetColor = obsSetColor.filter((i2) => !isEqualOrPrefix(dragPath, i2.path));
103545
+ newObsSetColor.push(...newColors);
103546
+ setObsSetColor(newObsSetColor);
103550
103547
  }, [
103551
- additionalCellSets,
103552
- cellSetColor,
103553
- setAdditionalCellSets,
103554
- setCellSetColor,
103555
- setCellSetSelection
103548
+ additionalObsSets,
103549
+ obsSetColor,
103550
+ setAdditionalObsSets,
103551
+ setObsSetColor,
103552
+ setObsSetSelection
103556
103553
  ]);
103557
103554
  const onNodeSetColor = useCallback((targetPath, color2) => {
103558
- const prevNodeColor = cellSetColor == null ? void 0 : cellSetColor.find((d) => isEqual$3(d.path, targetPath));
103555
+ const prevNodeColor = obsSetColor == null ? void 0 : obsSetColor.find((d) => isEqual$3(d.path, targetPath));
103559
103556
  if (!prevNodeColor) {
103560
- setCellSetColor([
103561
- ...cellSetColor || [],
103557
+ setObsSetColor([
103558
+ ...obsSetColor || [],
103562
103559
  {
103563
103560
  path: targetPath,
103564
103561
  color: color2
103565
103562
  }
103566
103563
  ]);
103567
103564
  } else {
103568
- setCellSetColor([
103569
- ...cellSetColor.filter((d) => !isEqual$3(d.path, targetPath)),
103565
+ setObsSetColor([
103566
+ ...obsSetColor.filter((d) => !isEqual$3(d.path, targetPath)),
103570
103567
  {
103571
103568
  path: targetPath,
103572
103569
  color: color2
103573
103570
  }
103574
103571
  ]);
103575
103572
  }
103576
- }, [cellSetColor, setCellSetColor]);
103573
+ }, [obsSetColor, setObsSetColor]);
103577
103574
  const onNodeSetName = useCallback((targetPath, name2) => {
103578
103575
  const nextNamePath = [...targetPath];
103579
103576
  nextNamePath.pop();
103580
103577
  nextNamePath.push(name2);
103581
- const prevCellSetExpansion = cellSetExpansion || [];
103578
+ const prevObsSetExpansion = obsSetExpansion || [];
103582
103579
  function renameNode(node2, prevPath) {
103583
103580
  if (isEqual$3([...prevPath, node2.name], targetPath)) {
103584
103581
  return {
@@ -103594,64 +103591,64 @@ function ObsSetsManagerSubscriber(props) {
103594
103591
  children: node2.children.map((c2) => renameNode(c2, [...prevPath, node2.name]))
103595
103592
  };
103596
103593
  }
103597
- const nextAdditionalCellSets = {
103598
- ...additionalCellSets,
103599
- tree: additionalCellSets.tree.map((lzn) => renameNode(lzn, []))
103594
+ const nextAdditionalObsSets = {
103595
+ ...additionalObsSets,
103596
+ tree: additionalObsSets.tree.map((lzn) => renameNode(lzn, []))
103600
103597
  };
103601
- const nextCellSetColor = cellSetColor.map((d) => ({
103598
+ const nextObsSetColor = obsSetColor.map((d) => ({
103602
103599
  path: tryRenamePath(targetPath, d.path, nextNamePath),
103603
103600
  color: d.color
103604
103601
  }));
103605
- const nextCellSetSelection = cellSetSelection.map((d) => tryRenamePath(targetPath, d, nextNamePath));
103606
- const nextCellSetExpansion = prevCellSetExpansion.map((d) => tryRenamePath(targetPath, d, nextNamePath));
103607
- setAdditionalCellSets(nextAdditionalCellSets);
103608
- setCellSetColor(nextCellSetColor);
103609
- setCellSetSelection(nextCellSetSelection);
103610
- setCellSetExpansion(nextCellSetExpansion);
103602
+ const nextObsSetSelection = obsSetSelection.map((d) => tryRenamePath(targetPath, d, nextNamePath));
103603
+ const nextObsSetExpansion = prevObsSetExpansion.map((d) => tryRenamePath(targetPath, d, nextNamePath));
103604
+ setAdditionalObsSets(nextAdditionalObsSets);
103605
+ setObsSetColor(nextObsSetColor);
103606
+ setObsSetSelection(nextObsSetSelection);
103607
+ setObsSetExpansion(nextObsSetExpansion);
103611
103608
  }, [
103612
- additionalCellSets,
103613
- cellSetColor,
103614
- cellSetExpansion,
103615
- cellSetSelection,
103616
- setAdditionalCellSets,
103617
- setCellSetColor,
103618
- setCellSetSelection,
103619
- setCellSetExpansion
103609
+ additionalObsSets,
103610
+ obsSetColor,
103611
+ obsSetExpansion,
103612
+ obsSetSelection,
103613
+ setAdditionalObsSets,
103614
+ setObsSetColor,
103615
+ setObsSetSelection,
103616
+ setObsSetExpansion
103620
103617
  ]);
103621
103618
  const onNodeCheckNewName = useCallback((targetPath, name2) => {
103622
103619
  const nextNamePath = [...targetPath];
103623
103620
  nextNamePath.pop();
103624
103621
  nextNamePath.push(name2);
103625
- const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(additionalCellSets, nextNamePath);
103622
+ const hasConflicts = !isEqual$3(targetPath, nextNamePath) && treeFindNodeByNamePath(additionalObsSets, nextNamePath);
103626
103623
  return hasConflicts;
103627
- }, [additionalCellSets]);
103624
+ }, [additionalObsSets]);
103628
103625
  const onNodeRemove = useCallback((targetPath) => {
103629
- const prevCellSetExpansion = cellSetExpansion || [];
103630
- const nextAdditionalCellSets = {
103631
- ...additionalCellSets,
103632
- tree: additionalCellSets.tree.map((lzn) => filterNode(lzn, [], targetPath)).filter(Boolean)
103633
- };
103634
- const nextCellSetColor = cellSetColor.filter((d) => !isEqualOrPrefix(targetPath, d.path));
103635
- const nextCellSetSelection = cellSetSelection.filter((d) => !isEqualOrPrefix(targetPath, d));
103636
- const nextCellSetExpansion = prevCellSetExpansion.filter((d) => !isEqualOrPrefix(targetPath, d));
103637
- setAdditionalCellSets(nextAdditionalCellSets);
103638
- setCellSetColor(nextCellSetColor);
103639
- setCellSetSelection(nextCellSetSelection);
103640
- setCellSetExpansion(nextCellSetExpansion);
103626
+ const prevObsSetExpansion = obsSetExpansion || [];
103627
+ const nextAdditionalObsSets = {
103628
+ ...additionalObsSets,
103629
+ tree: additionalObsSets.tree.map((lzn) => filterNode(lzn, [], targetPath)).filter(Boolean)
103630
+ };
103631
+ const nextObsSetColor = obsSetColor.filter((d) => !isEqualOrPrefix(targetPath, d.path));
103632
+ const nextObsSetSelection = obsSetSelection.filter((d) => !isEqualOrPrefix(targetPath, d));
103633
+ const nextObsSetExpansion = prevObsSetExpansion.filter((d) => !isEqualOrPrefix(targetPath, d));
103634
+ setAdditionalObsSets(nextAdditionalObsSets);
103635
+ setObsSetColor(nextObsSetColor);
103636
+ setObsSetSelection(nextObsSetSelection);
103637
+ setObsSetExpansion(nextObsSetExpansion);
103641
103638
  }, [
103642
- additionalCellSets,
103643
- cellSetColor,
103644
- cellSetExpansion,
103645
- cellSetSelection,
103646
- setAdditionalCellSets,
103647
- setCellSetColor,
103648
- setCellSetSelection,
103649
- setCellSetExpansion
103639
+ additionalObsSets,
103640
+ obsSetColor,
103641
+ obsSetExpansion,
103642
+ obsSetSelection,
103643
+ setAdditionalObsSets,
103644
+ setObsSetColor,
103645
+ setObsSetSelection,
103646
+ setObsSetExpansion
103650
103647
  ]);
103651
103648
  const onNodeView = useCallback((targetPath) => {
103652
103649
  const setsToView = [];
103653
103650
  function viewNode(node2, nodePath) {
103654
- if (cellSetExpansion == null ? void 0 : cellSetExpansion.find((expandedPath) => isEqual$3(nodePath, expandedPath))) {
103651
+ if (obsSetExpansion == null ? void 0 : obsSetExpansion.find((expandedPath) => isEqual$3(nodePath, expandedPath))) {
103655
103652
  if (node2.children) {
103656
103653
  node2.children.forEach((c2) => {
103657
103654
  viewNode(c2, [...nodePath, c2.name]);
@@ -103663,105 +103660,105 @@ function ObsSetsManagerSubscriber(props) {
103663
103660
  setsToView.push(nodePath);
103664
103661
  }
103665
103662
  }
103666
- const targetNode = treeFindNodeByNamePath(mergedCellSets, targetPath);
103663
+ const targetNode = treeFindNodeByNamePath(mergedObsSets, targetPath);
103667
103664
  viewNode(targetNode, targetPath);
103668
- setCellSetSelection(setsToView);
103669
- setCellSetColorEncoding();
103670
- }, [cellSetExpansion, mergedCellSets, setCellSetColorEncoding, setCellSetSelection]);
103665
+ setObsSetSelection(setsToView);
103666
+ setObsSetColorEncoding();
103667
+ }, [obsSetExpansion, mergedObsSets, setObsSetColorEncoding, setObsSetSelection]);
103671
103668
  const onCreateLevelZeroNode = useCallback(() => {
103672
- const nextName = getNextNumberedNodeName(additionalCellSets == null ? void 0 : additionalCellSets.tree, "My hierarchy ", "");
103673
- setAdditionalCellSets({
103674
- ...additionalCellSets || treeInitialize(SETS_DATATYPE_OBS),
103669
+ const nextName = getNextNumberedNodeName(additionalObsSets == null ? void 0 : additionalObsSets.tree, "My hierarchy ", "");
103670
+ setAdditionalObsSets({
103671
+ ...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
103675
103672
  tree: [
103676
- ...additionalCellSets ? additionalCellSets.tree : [],
103673
+ ...additionalObsSets ? additionalObsSets.tree : [],
103677
103674
  {
103678
103675
  name: nextName,
103679
103676
  children: []
103680
103677
  }
103681
103678
  ]
103682
103679
  });
103683
- }, [additionalCellSets, setAdditionalCellSets]);
103680
+ }, [additionalObsSets, setAdditionalObsSets]);
103684
103681
  const onUnion = useCallback(() => {
103685
- const newSet = treeToUnion(mergedCellSets, cellSetSelection);
103686
- setObsSelection(newSet, additionalCellSets, cellSetColor, setCellSetSelection, setAdditionalCellSets, setCellSetColor, setCellColorEncoding, "Union ");
103682
+ const newSet = treeToUnion(mergedObsSets, obsSetSelection);
103683
+ setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Union ");
103687
103684
  }, [
103688
- additionalCellSets,
103689
- cellSetColor,
103690
- cellSetSelection,
103691
- mergedCellSets,
103692
- setAdditionalCellSets,
103693
- setCellColorEncoding,
103694
- setCellSetColor,
103695
- setCellSetSelection
103685
+ additionalObsSets,
103686
+ obsSetColor,
103687
+ obsSetSelection,
103688
+ mergedObsSets,
103689
+ setAdditionalObsSets,
103690
+ setObsColorEncoding,
103691
+ setObsSetColor,
103692
+ setObsSetSelection
103696
103693
  ]);
103697
103694
  const onIntersection = useCallback(() => {
103698
- const newSet = treeToIntersection(mergedCellSets, cellSetSelection);
103699
- setObsSelection(newSet, additionalCellSets, cellSetColor, setCellSetSelection, setAdditionalCellSets, setCellSetColor, setCellColorEncoding, "Intersection ");
103695
+ const newSet = treeToIntersection(mergedObsSets, obsSetSelection);
103696
+ setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Intersection ");
103700
103697
  }, [
103701
- additionalCellSets,
103702
- cellSetColor,
103703
- cellSetSelection,
103704
- mergedCellSets,
103705
- setAdditionalCellSets,
103706
- setCellColorEncoding,
103707
- setCellSetColor,
103708
- setCellSetSelection
103698
+ additionalObsSets,
103699
+ obsSetColor,
103700
+ obsSetSelection,
103701
+ mergedObsSets,
103702
+ setAdditionalObsSets,
103703
+ setObsColorEncoding,
103704
+ setObsSetColor,
103705
+ setObsSetSelection
103709
103706
  ]);
103710
103707
  const onComplement = useCallback(() => {
103711
- const newSet = treeToComplement(mergedCellSets, cellSetSelection, allCellIds);
103712
- setObsSelection(newSet, additionalCellSets, cellSetColor, setCellSetSelection, setAdditionalCellSets, setCellSetColor, setCellColorEncoding, "Complement ");
103708
+ const newSet = treeToComplement(mergedObsSets, obsSetSelection, allCellIds);
103709
+ setObsSelection(newSet, additionalObsSets, obsSetColor, setObsSetSelection, setAdditionalObsSets, setObsSetColor, setObsColorEncoding, "Complement ");
103713
103710
  }, [
103714
- additionalCellSets,
103711
+ additionalObsSets,
103715
103712
  allCellIds,
103716
- cellSetColor,
103717
- cellSetSelection,
103718
- mergedCellSets,
103719
- setAdditionalCellSets,
103720
- setCellColorEncoding,
103721
- setCellSetColor,
103722
- setCellSetSelection
103713
+ obsSetColor,
103714
+ obsSetSelection,
103715
+ mergedObsSets,
103716
+ setAdditionalObsSets,
103717
+ setObsColorEncoding,
103718
+ setObsSetColor,
103719
+ setObsSetSelection
103723
103720
  ]);
103724
103721
  const onImportTree = useCallback((treeToImport) => {
103725
- const hasConflict = treesConflict(mergedCellSets, treeToImport);
103722
+ const hasConflict = treesConflict(mergedObsSets, treeToImport);
103726
103723
  if (!hasConflict) {
103727
- setAdditionalCellSets({
103728
- ...additionalCellSets || treeInitialize(SETS_DATATYPE_OBS),
103724
+ setAdditionalObsSets({
103725
+ ...additionalObsSets || treeInitialize(SETS_DATATYPE_OBS),
103729
103726
  tree: [
103730
- ...additionalCellSets ? additionalCellSets.tree : [],
103727
+ ...additionalObsSets ? additionalObsSets.tree : [],
103731
103728
  ...treeToImport.tree
103732
103729
  ]
103733
103730
  });
103734
- const importAutoSetColors = initializeCellSetColor(treeToImport, cellSetColor);
103735
- setCellSetColor([
103736
- ...cellSetColor,
103731
+ const importAutoSetColors = initializeCellSetColor(treeToImport, obsSetColor);
103732
+ setObsSetColor([
103733
+ ...obsSetColor,
103737
103734
  ...importAutoSetColors
103738
103735
  ]);
103739
103736
  }
103740
103737
  }, [
103741
- additionalCellSets,
103742
- cellSetColor,
103743
- mergedCellSets,
103744
- setAdditionalCellSets,
103745
- setCellSetColor
103738
+ additionalObsSets,
103739
+ obsSetColor,
103740
+ mergedObsSets,
103741
+ setAdditionalObsSets,
103742
+ setObsSetColor
103746
103743
  ]);
103747
103744
  const onExportLevelZeroNodeJSON = useCallback((nodePath) => {
103748
- const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedCellSets, nodePath, SETS_DATATYPE_OBS, cellSetColor, theme);
103745
+ const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedObsSets, nodePath, SETS_DATATYPE_OBS, obsSetColor, theme);
103749
103746
  downloadForUser(handleExportJSON(treeToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-hierarchy.${FILE_EXTENSION_JSON}`);
103750
- }, [cellSetColor, mergedCellSets, theme]);
103747
+ }, [obsSetColor, mergedObsSets, theme]);
103751
103748
  const onExportLevelZeroNodeTabular = useCallback((nodePath) => {
103752
- const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedCellSets, nodePath, SETS_DATATYPE_OBS, cellSetColor, theme);
103749
+ const { treeToExport, nodeName } = treeExportLevelZeroNode(mergedObsSets, nodePath, SETS_DATATYPE_OBS, obsSetColor, theme);
103753
103750
  downloadForUser(handleExportTabular(treeToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-hierarchy.${FILE_EXTENSION_TABULAR}`);
103754
- }, [cellSetColor, mergedCellSets, theme]);
103751
+ }, [obsSetColor, mergedObsSets, theme]);
103755
103752
  const onExportSetJSON = useCallback((nodePath) => {
103756
- const { setToExport, nodeName } = treeExportSet(mergedCellSets, nodePath);
103753
+ const { setToExport, nodeName } = treeExportSet(mergedObsSets, nodePath);
103757
103754
  downloadForUser(handleExportJSON(setToExport), `${nodeName}_${packageJson.name}-${SETS_DATATYPE_OBS}-set.${FILE_EXTENSION_JSON}`);
103758
- }, [mergedCellSets]);
103759
- const manager2 = useMemo$1(() => jsxRuntimeExports.jsx(SetsManager, { setColor: cellSetColor, sets: cellSets, additionalSets: additionalCellSets, levelSelection: checkedLevel, setSelection: cellSetSelection, setExpansion: cellSetExpansion, hasColorEncoding: cellColorEncoding === "cellSetSelection", draggable: true, datatype: SETS_DATATYPE_OBS, onError: setWarning, onCheckNode, onExpandNode, onDropNode, onCheckLevel, onNodeSetColor, onNodeSetName, onNodeCheckNewName, onNodeRemove, onNodeView, onImportTree, onCreateLevelZeroNode, onExportLevelZeroNodeJSON, onExportLevelZeroNodeTabular, onExportSetJSON, onUnion, onIntersection, onComplement, hasCheckedSetsToUnion: (cellSetSelection == null ? void 0 : cellSetSelection.length) > 1, hasCheckedSetsToIntersect: (cellSetSelection == null ? void 0 : cellSetSelection.length) > 1, hasCheckedSetsToComplement: (cellSetSelection == null ? void 0 : cellSetSelection.length) > 0, theme }), [
103760
- additionalCellSets,
103761
- cellColorEncoding,
103762
- cellSetColor,
103763
- cellSetExpansion,
103764
- cellSetSelection,
103755
+ }, [mergedObsSets]);
103756
+ const manager2 = useMemo$1(() => jsxRuntimeExports.jsx(SetsManager, { setColor: obsSetColor, sets: cellSets, additionalSets: additionalObsSets, levelSelection: checkedLevel, setSelection: obsSetSelection, setExpansion: obsSetExpansion, hasColorEncoding: obsColorEncoding === "cellSetSelection", draggable: true, datatype: SETS_DATATYPE_OBS, onError: setWarning, onCheckNode, onExpandNode, onDropNode, onCheckLevel, onNodeSetColor, onNodeSetName, onNodeCheckNewName, onNodeRemove, onNodeView, onImportTree, onCreateLevelZeroNode, onExportLevelZeroNodeJSON, onExportLevelZeroNodeTabular, onExportSetJSON, onUnion, onIntersection, onComplement, hasCheckedSetsToUnion: (obsSetSelection == null ? void 0 : obsSetSelection.length) > 1, hasCheckedSetsToIntersect: (obsSetSelection == null ? void 0 : obsSetSelection.length) > 1, hasCheckedSetsToComplement: (obsSetSelection == null ? void 0 : obsSetSelection.length) > 0, theme }), [
103757
+ additionalObsSets,
103758
+ obsColorEncoding,
103759
+ obsSetColor,
103760
+ obsSetExpansion,
103761
+ obsSetSelection,
103765
103762
  cellSets,
103766
103763
  checkedLevel,
103767
103764
  onCheckLevel,
@@ -209686,22 +209683,22 @@ async function getDecoder(fileDirectory) {
209686
209683
  const Decoder = await importFn();
209687
209684
  return new Decoder(fileDirectory);
209688
209685
  }
209689
- addDecoder([void 0, 1], () => import("./raw-Cr701BEG.js").then((m2) => m2.default));
209690
- addDecoder(5, () => import("./lzw-BGfMtVf8.js").then((m2) => m2.default));
209686
+ addDecoder([void 0, 1], () => import("./raw-Dcut_m0H.js").then((m2) => m2.default));
209687
+ addDecoder(5, () => import("./lzw-BSD1S9eX.js").then((m2) => m2.default));
209691
209688
  addDecoder(6, () => {
209692
209689
  throw new Error("old style JPEG compression is not supported.");
209693
209690
  });
209694
- addDecoder(7, () => import("./jpeg-Bchz4eQZ.js").then((m2) => m2.default));
209695
- addDecoder([8, 32946], () => import("./deflate-B4lAhrai.js").then((m2) => m2.default));
209696
- addDecoder(32773, () => import("./packbits-CY5eh5R9.js").then((m2) => m2.default));
209691
+ addDecoder(7, () => import("./jpeg-CP3IBASq.js").then((m2) => m2.default));
209692
+ addDecoder([8, 32946], () => import("./deflate-D4WUbeKy.js").then((m2) => m2.default));
209693
+ addDecoder(32773, () => import("./packbits-BjpOk8Mk.js").then((m2) => m2.default));
209697
209694
  addDecoder(
209698
209695
  34887,
209699
- () => import("./lerc-zYgnQpg3.js").then(async (m2) => {
209696
+ () => import("./lerc-BAp1E_M5.js").then(async (m2) => {
209700
209697
  await m2.zstd.init();
209701
209698
  return m2;
209702
209699
  }).then((m2) => m2.default)
209703
209700
  );
209704
- addDecoder(50001, () => import("./webimage-DxRfiiSy.js").then((m2) => m2.default));
209701
+ addDecoder(50001, () => import("./webimage-CmDy5gE2.js").then((m2) => m2.default));
209705
209702
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
209706
209703
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
209707
209704
  }
@@ -232047,7 +232044,7 @@ const DEFAULT_FEATURE_AGGREGATION_STRATEGY$1 = "first";
232047
232044
  function EmbeddingScatterplotSubscriber(props) {
232048
232045
  const {
232049
232046
  uuid: uuid2,
232050
- coordinationScopes,
232047
+ coordinationScopes: coordinationScopesRaw,
232051
232048
  closeButtonVisible,
232052
232049
  downloadButtonVisible,
232053
232050
  removeGridComponent,
@@ -232061,6 +232058,7 @@ function EmbeddingScatterplotSubscriber(props) {
232061
232058
  sampleSetSelection: sampleSetSelectionFromProps
232062
232059
  } = props;
232063
232060
  const loaders = useLoaders();
232061
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
232064
232062
  const setComponentHover = useSetComponentHover();
232065
232063
  const setComponentViewInfo = useSetComponentViewInfo(uuid2);
232066
232064
  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, featureAggregationStrategy }, { 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, setFeatureAggregationStrategy }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.SCATTERPLOT], coordinationScopes);
@@ -232409,7 +232407,8 @@ function EmbeddingScatterplotSubscriber(props) {
232409
232407
  }
232410
232408
  function DualEmbeddingScatterplotSubscriber(props) {
232411
232409
  var _a3, _b3;
232412
- const { uuid: uuid2, coordinationScopes } = props;
232410
+ const { uuid: uuid2, coordinationScopes: coordinationScopesRaw } = props;
232411
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
232413
232412
  const [{ embeddingType, sampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.DUAL_SCATTERPLOT], coordinationScopes);
232414
232413
  const isCaseCtrl = Array.isArray(sampleSetSelection) && sampleSetSelection.length === 2;
232415
232414
  const caseSampleSetSelection = useMemo$1(() => (sampleSetSelection == null ? void 0 : sampleSetSelection[0]) ? [sampleSetSelection[0]] : null, [sampleSetSelection]);
@@ -232458,7 +232457,7 @@ function GatingScatterplotOptions(props) {
232458
232457
  function GatingSubscriber(props) {
232459
232458
  const {
232460
232459
  uuid: uuid2,
232461
- coordinationScopes,
232460
+ coordinationScopes: coordinationScopesRaw,
232462
232461
  closeButtonVisible,
232463
232462
  downloadButtonVisible,
232464
232463
  removeGridComponent,
@@ -232470,6 +232469,7 @@ function GatingSubscriber(props) {
232470
232469
  helpText = ViewHelpMapping.GATING
232471
232470
  } = props;
232472
232471
  const loaders = useLoaders();
232472
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
232473
232473
  const setComponentHover = useSetComponentHover();
232474
232474
  const setComponentViewInfo = useSetComponentViewInfo(uuid2);
232475
232475
  const [{ dataset, obsType, featureType, featureValueType, embeddingZoom: zoom2, embeddingTargetX: targetX2, embeddingTargetY: targetY2, embeddingTargetZ: targetZ, obsFilter: cellFilter, obsHighlight: cellHighlight, 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, featureSelection: gatingFeatureSelectionColor, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY }, { 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, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.GATING], coordinationScopes);
@@ -252854,6 +252854,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
252854
252854
  contrastLimits,
252855
252855
  selections,
252856
252856
  channelsVisible,
252857
+ visible,
252857
252858
  opacity: layerCoordination[CoordinationType$1.SPATIAL_LAYER_OPACITY],
252858
252859
  colormap,
252859
252860
  modelMatrix: layerDefModelMatrix,
@@ -253595,7 +253596,7 @@ class ErrorBoundary extends React__default.Component {
253595
253596
  }
253596
253597
  }
253597
253598
  const LazySpatialThree = React__default.lazy(async () => {
253598
- const { SpatialWrapper: SpatialWrapper2 } = await import("./index-Da_amvil.js");
253599
+ const { SpatialWrapper: SpatialWrapper2 } = await import("./index-DTVSAAC6.js");
253599
253600
  return { default: SpatialWrapper2 };
253600
253601
  });
253601
253602
  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 }) }) }) }));
@@ -255099,8 +255100,9 @@ function HeatmapOptions(props) {
255099
255100
  }, value: geneExpressionColormapRange, onChange: handleColormapRangeChangeDebounced, getAriaLabel: (index2) => index2 === 0 ? "Low value colormap range slider" : "High value colormap range slider", id: `heatmap-gene-expression-colormap-range-${heatmapOptionsId}`, valueLabelDisplay: "auto", step: 5e-3, min: 0, max: 1 }) })] })] });
255100
255101
  }
255101
255102
  function HeatmapSubscriber(props) {
255102
- const { uuid: uuid2, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap", helpText = ViewHelpMapping.HEATMAP } = props;
255103
+ const { uuid: uuid2, coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, transpose: transpose2, observationsLabelOverride, variablesLabelOverride, title: title2 = "Heatmap", helpText = ViewHelpMapping.HEATMAP } = props;
255103
255104
  const loaders = useLoaders();
255105
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
255104
255106
  const setComponentHover = useSetComponentHover();
255105
255107
  const setComponentViewInfo = useSetComponentViewInfo(uuid2);
255106
255108
  const [{ dataset, obsType, featureType, featureValueType, heatmapZoomX: zoomX, heatmapTargetX: targetX2, heatmapTargetY: targetY2, featureSelection: geneSelection, obsHighlight: cellHighlight, featureHighlight: geneHighlight, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, featureValueColormap: geneExpressionColormap, featureValueColormapRange: geneExpressionColormapRange, tooltipsVisible }, { setHeatmapZoomX: setZoomX, setHeatmapZoomY: setZoomY, setHeatmapTargetX: setTargetX, setHeatmapTargetY: setTargetY, setObsHighlight: setCellHighlight, setFeatureSelection: setGeneSelection, setObsColorEncoding: setCellColorEncoding, setFeatureHighlight: setGeneHighlight, setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor, setFeatureValueColormapRange: setGeneExpressionColormapRange, setFeatureValueColormap: setGeneExpressionColormap, setTooltipsVisible }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.HEATMAP], coordinationScopes);
@@ -261915,7 +261917,7 @@ function FeatureList(props) {
261915
261917
  [primaryColumnName]
261916
261918
  ];
261917
261919
  }, [showFeatureTable, primaryColumnName, hasFeatureLabels]);
261918
- return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("input", { className: classes2.searchBar, type: "text", placeholder: "Search", value: searchTerm, onChange: handleChange }), jsxRuntimeExports.jsx(SelectableTable, { columns: columns2, columnLabels, data: data2, hasColorEncoding, idKey: "key", valueKey: "value", onChange, allowMultiple: enableMultiSelect, allowUncheck: enableMultiSelect, showTableHead: columnLabels.length > 1, width: width2, height: height2 - 34 })] });
261920
+ return width2 > 0 && height2 > 0 ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("input", { className: classes2.searchBar, type: "text", placeholder: "Search", value: searchTerm, onChange: handleChange }), jsxRuntimeExports.jsx(SelectableTable, { columns: columns2, columnLabels, data: data2, hasColorEncoding, idKey: "key", valueKey: "value", onChange, allowMultiple: enableMultiSelect, allowUncheck: enableMultiSelect, showTableHead: columnLabels.length > 1, width: width2, height: height2 - 34 })] }) : null;
261919
261921
  }
261920
261922
  function FeatureListOptions(props) {
261921
261923
  const { children: children3, featureListSort, setFeatureListSort, featureListSortKey, setFeatureListSortKey, showFeatureTable, setShowFeatureTable, hasFeatureLabels, primaryColumnName } = props;
@@ -261951,8 +261953,9 @@ const useStyles$k = makeStyles()((theme) => ({
261951
261953
  }
261952
261954
  }));
261953
261955
  function FeatureListSubscriber(props) {
261954
- const { coordinationScopes, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null, closeButtonVisible, downloadButtonVisible, helpText = ViewHelpMapping.FEATURE_LIST } = props;
261956
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, variablesLabelOverride, theme, title: titleOverride, enableMultiSelect = false, showTable = false, sort: sort2 = "alphabetical", sortKey: sortKey2 = null, closeButtonVisible, downloadButtonVisible, helpText = ViewHelpMapping.FEATURE_LIST } = props;
261955
261957
  const loaders = useLoaders();
261958
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
261956
261959
  const [width2, height2, containerRef] = useGridItemSize();
261957
261960
  const { classes: classes2 } = useStyles$k();
261958
261961
  const [{ dataset, obsType, featureType, featureSelection: geneSelection, featureFilter: geneFilter, obsColorEncoding: cellColorEncoding }, { setFeatureSelection: setGeneSelection, setFeatureFilter: setGeneFilter, setFeatureHighlight: setGeneHighlight, setObsColorEncoding: setCellColorEncoding }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_LIST], coordinationScopes);
@@ -265185,7 +265188,8 @@ function Status(props) {
265185
265188
  return messages2;
265186
265189
  }
265187
265190
  function StatusSubscriber(props) {
265188
- const { coordinationScopes, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status", helpText = ViewHelpMapping.STATUS } = props;
265191
+ const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, removeGridComponent, theme, title: title2 = "Status", helpText = ViewHelpMapping.STATUS } = props;
265192
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
265189
265193
  const [{ obsHighlight: cellHighlight, featureHighlight: geneHighlight, moleculeHighlight }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.STATUS], coordinationScopes);
265190
265194
  const warn2 = useWarning();
265191
265195
  const infos = [
@@ -266989,7 +266993,7 @@ function HiglassGlobalStyles(props) {
266989
266993
  }
266990
266994
  register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
266991
266995
  const LazyHiGlassComponent = React__default.lazy(async () => {
266992
- const { HiGlassComponent } = await import("./higlass-EAS9uYCT.js");
266996
+ const { HiGlassComponent } = await import("./higlass-B5A5XLB4.js");
266993
266997
  return { default: HiGlassComponent };
266994
266998
  });
266995
266999
  const HG_SIZE = 800;
@@ -266997,7 +267001,8 @@ function setStoreRootForHiGlass(url, storeRoot) {
266997
267001
  ZarrMultivecDataFetcher_default.urlToStoreRoot[url] = storeRoot;
266998
267002
  }
266999
267003
  function HiGlassLazy(props) {
267000
- const { coordinationScopes, theme, hgViewConfig: hgViewConfigProp, hgOptions: hgOptionsProp, genomeSize = 31e8, height: height2 } = props;
267004
+ const { coordinationScopes: coordinationScopesRaw, theme, hgViewConfig: hgViewConfigProp, hgOptions: hgOptionsProp, genomeSize = 31e8, height: height2 } = props;
267005
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
267001
267006
  const [{ genomicZoomX, genomicZoomY, genomicTargetX, genomicTargetY }, { setGenomicZoomX, setGenomicZoomY, setGenomicTargetX, setGenomicTargetY }] = useCoordination(COMPONENT_COORDINATION_TYPES.higlass, coordinationScopes);
267002
267007
  const [width2, computedHeight, containerRef] = useGridItemSize();
267003
267008
  const [hgInstance, setHgInstance] = useState();
@@ -267155,9 +267160,10 @@ const REFERENCE_STATIC_FILES = {
267155
267160
  }
267156
267161
  };
267157
267162
  function GenomicProfilesSubscriber(props) {
267158
- const { coordinationScopes, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, profileTrackUidKey = "path", profileTrackNameKey = null, higlassServer = "https://higlass.io/api/v1", assembly = "hg38", title: title2 = "Genomic Profiles", showGeneAnnotations = true, helpText = ViewHelpMapping.GENOMIC_PROFILES } = props;
267163
+ const { coordinationScopes: coordinationScopesRaw, theme, closeButtonVisible, downloadButtonVisible, removeGridComponent, profileTrackUidKey = "path", profileTrackNameKey = null, higlassServer = "https://higlass.io/api/v1", assembly = "hg38", title: title2 = "Genomic Profiles", showGeneAnnotations = true, helpText = ViewHelpMapping.GENOMIC_PROFILES } = props;
267159
267164
  const [width2, height2, containerRef] = useGridItemSize();
267160
267165
  const loaders = useLoaders();
267166
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
267161
267167
  const [{ dataset, obsSetColor: cellSetColor, obsSetSelection: cellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.GENOMIC_PROFILES], coordinationScopes);
267162
267168
  const [genomicProfilesData, genomicProfilesStatus, genomicProfilesUrls, genomicProfilesError] = useGenomicProfilesData(loaders, dataset, true, {}, {}, {});
267163
267169
  const errors = [
@@ -269933,7 +269939,7 @@ function NeuroglancerGlobalStyles(props) {
269933
269939
  const { classes: classes2 } = props;
269934
269940
  return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(GlobalStyles$3, { styles: globalNeuroglancerCss }), jsxRuntimeExports.jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes2.neuroglancerWrapper })] });
269935
269941
  }
269936
- const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-iZCfY5TU.js"));
269942
+ const LazyReactNeuroglancer = React__default.lazy(() => import("./ReactNeuroglancer-BEVcmeJW.js"));
269937
269943
  function createWorker() {
269938
269944
  return new WorkerFactory();
269939
269945
  }
@@ -270058,7 +270064,9 @@ function normalizeQuaternion(q) {
270058
270064
  return q.map((value2) => value2 / length2);
270059
270065
  }
270060
270066
  function NeuroglancerSubscriber(props) {
270061
- const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Neuroglancer", helpText = ViewHelpMapping.NEUROGLANCER, viewerState: initialViewerState } = props;
270067
+ const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2 = "Neuroglancer", helpText = ViewHelpMapping.NEUROGLANCER, viewerState: initialViewerState } = props;
270068
+ const loaders = useLoaders();
270069
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
270062
270070
  const [{
270063
270071
  dataset,
270064
270072
  obsType,
@@ -270089,7 +270097,6 @@ function NeuroglancerSubscriber(props) {
270089
270097
  setSpatialZoom: setZoom
270090
270098
  }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.NEUROGLANCER], coordinationScopes);
270091
270099
  const { classes: classes2 } = useStyles$4();
270092
- const loaders = useLoaders();
270093
270100
  const [{ obsSets: cellSets }] = useObsSetsData(loaders, dataset, false, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }, { cellSetSelection, obsSetColor: cellSetColor }, { obsType });
270094
270101
  const [{ obsIndex }] = useObsEmbeddingData(loaders, dataset, true, {}, {}, { obsType, embeddingType: mapping });
270095
270102
  const handleStateUpdate = useCallback((newState) => {
@@ -272486,9 +272493,10 @@ function useExpressionByCellSet(sampleEdges, sampleSets, sampleSetSelection, exp
272486
272493
  }
272487
272494
  function CellSetExpressionPlotSubscriber(props) {
272488
272495
  var _a3;
272489
- const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2, xAxisTitle, jitter: jitter2 = false, yMin = null, yUnits = null, helpText = ViewHelpMapping.OBS_SET_FEATURE_VALUE_DISTRIBUTION } = props;
272496
+ const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: title2, xAxisTitle, jitter: jitter2 = false, yMin = null, yUnits = null, helpText = ViewHelpMapping.OBS_SET_FEATURE_VALUE_DISTRIBUTION } = props;
272490
272497
  const { classes: classes2 } = useStyles$3();
272491
272498
  const loaders = useLoaders();
272499
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
272492
272500
  const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, featureValueTransform, featureValueTransformCoefficient, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, sampleType, sampleSetSelection, sampleSetColor, featureAggregationStrategy }, { setFeatureValueTransform, setFeatureValueTransformCoefficient, setSampleSetColor, setFeatureAggregationStrategy }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_FEATURE_VALUE_DISTRIBUTION], coordinationScopes);
272493
272501
  const [width2, height2, containerRef] = useGridItemSize();
272494
272502
  const transformOptions = VALUE_TRANSFORM_OPTIONS;
@@ -323251,9 +323259,10 @@ function CellSetSizesPlot(props) {
323251
323259
  return jsxRuntimeExports.jsx(VegaPlot, { data: data2, spec, signalListeners, getTooltipText });
323252
323260
  }
323253
323261
  function CellSetSizesPlotSubscriber(props) {
323254
- const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SET_SIZES } = props;
323262
+ const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, title: titleOverride, helpText = ViewHelpMapping.OBS_SET_SIZES } = props;
323255
323263
  const { classes: classes2 } = useStyles$3();
323256
323264
  const loaders = useLoaders();
323265
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
323257
323266
  const [{ dataset, obsType, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor, additionalObsSets: additionalCellSets, obsSetExpansion: cellSetExpansion }, { setObsSetSelection: setCellSetSelection, setObsSetColor: setCellSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_SIZES], coordinationScopes);
323258
323267
  const title2 = titleOverride || `${capitalize$3(obsType)} Set Sizes`;
323259
323268
  const [width2, height2, containerRef] = useGridItemSize();
@@ -323360,9 +323369,10 @@ function ExpressionHistogram(props) {
323360
323369
  return jsxRuntimeExports.jsx(VegaPlot, { data: data2, signalListeners, spec });
323361
323370
  }
323362
323371
  function ExpressionHistogramSubscriber(props) {
323363
- const { coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_VALUE_HISTOGRAM } = props;
323372
+ const { coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_VALUE_HISTOGRAM } = props;
323364
323373
  const { classes: classes2 } = useStyles$3();
323365
323374
  const loaders = useLoaders();
323375
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
323366
323376
  const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, additionalObsSets: additionalCellSets, obsSetColor: cellSetColor }, { setAdditionalObsSets: setAdditionalCellSets, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setObsSetSelection: setCellSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_VALUE_HISTOGRAM], coordinationScopes);
323367
323377
  const [width2, height2, containerRef] = useGridItemSize();
323368
323378
  const [{ obsIndex, featureIndex, obsFeatureMatrix }, matrixStatus, matrixUrls, matrixError] = useObsFeatureMatrixData(loaders, dataset, true, {}, {}, { obsType, featureType, featureValueType });
@@ -323627,9 +323637,10 @@ function useExpressionSummaries(sampleEdges, sampleSets, sampleSetSelection, exp
323627
323637
  }
323628
323638
  function DotPlotSubscriber(props) {
323629
323639
  var _a3;
323630
- const { coordinationScopes, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
323640
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, title: title2 = "Dot Plot", transpose: transpose2 = true, helpText = ViewHelpMapping.DOT_PLOT } = props;
323631
323641
  const { classes: classes2 } = useStyles$3();
323632
323642
  const loaders = useLoaders();
323643
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
323633
323644
  const [{
323634
323645
  dataset,
323635
323646
  obsType,
@@ -323806,9 +323817,10 @@ function FeatureBarPlot(props) {
323806
323817
  } });
323807
323818
  }
323808
323819
  function FeatureBarPlotSubscriber(props) {
323809
- const { coordinationScopes, removeGridComponent, theme, yMin = 0, yUnits = null, helpText = ViewHelpMapping.FEATURE_BAR_PLOT } = props;
323820
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, yMin = 0, yUnits = null, helpText = ViewHelpMapping.FEATURE_BAR_PLOT } = props;
323810
323821
  const { classes: classes2 } = useStyles$3();
323811
323822
  const loaders = useLoaders();
323823
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
323812
323824
  const [{ dataset, obsType, featureType, featureValueType, featureSelection: geneSelection, featureValueTransform, featureValueTransformCoefficient, obsHighlight: cellHighlight, additionalObsSets: additionalCellSets, obsSetSelection: cellSetSelection, obsSetColor: cellSetColor }, { setObsSetSelection: setCellSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_BAR_PLOT], coordinationScopes);
323813
323825
  const [width2, height2, containerRef] = useGridItemSize();
323814
323826
  const [
@@ -324018,9 +324030,10 @@ function TreemapOptions(props) {
324018
324030
  }
324019
324031
  const DEFAULT_HIERARCHY_LEVELS = ["obsSet", "sampleSet"];
324020
324032
  function TreemapSubscriber(props) {
324021
- const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
324033
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.TREEMAP } = props;
324022
324034
  const { classes: classes2 } = useStyles$3();
324023
324035
  const loaders = useLoaders();
324036
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
324024
324037
  const [{ dataset, obsType, featureType, featureValueType, obsFilter, obsHighlight, obsSetSelection, obsSetFilter, obsSelection, obsSelectionMode, obsSetHighlight, obsSetColor, obsColorEncoding, additionalObsSets, sampleType, sampleSetSelection, sampleSetFilter, sampleSetColor, sampleSelection, sampleSelectionMode, sampleFilter, sampleFilterMode, sampleHighlight, hierarchyLevels }, { setObsFilter, setObsSelection: setObsSelection2, setObsSetFilter, setObsSetSelection, setObsSelectionMode, setObsFilterMode, setObsHighlight, setObsSetColor, setObsColorEncoding, setAdditionalObsSets, setSampleFilter, setSampleSetFilter, setSampleFilterMode, setSampleSelection, setSampleSetSelection, setSampleSelectionMode, setSampleHighlight, setSampleSetColor, setHierarchyLevels }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.TREEMAP], coordinationScopes);
324025
324038
  const [width2, height2, containerRef] = useGridItemSize();
324026
324039
  const [{ obsIndex }, matrixIndicesStatus, matrixIndicesUrls, matrixIndicesError] = useObsFeatureMatrixIndices(loaders, dataset, false, { obsType, featureType, featureValueType });
@@ -324266,9 +324279,10 @@ function VolcanoPlotOptions(props) {
324266
324279
  }, value: featurePointFoldChangeThreshold, onChange: handlePointFoldChangeChange, "aria-label": "Volcano plot point fold-change threshold slider", id: `volcano-point-fc-${volcanoOptionsId}`, valueLabelDisplay: "auto", step: 0.5, min: 0, max: 50 }) })] })] });
324267
324280
  }
324268
324281
  function VolcanoPlotSubscriber(props) {
324269
- const { title: title2 = "Volcano Plot", coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.VOLCANO_PLOT } = props;
324282
+ const { title: title2 = "Volcano Plot", coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.VOLCANO_PLOT } = props;
324270
324283
  const { classes: classes2 } = useStyles$3();
324271
324284
  const loaders = useLoaders();
324285
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
324272
324286
  const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureLabelSignificanceThreshold, featureLabelFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureLabelSignificanceThreshold, setFeatureLabelFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.VOLCANO_PLOT], coordinationScopes);
324273
324287
  const [width2, height2, containerRef] = useGridItemSize();
324274
324288
  const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.OBS_SETS, { obsType });
@@ -324473,9 +324487,10 @@ function CellSetCompositionBarPlot(props) {
324473
324487
  return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
324474
324488
  }
324475
324489
  function CellSetCompositionBarPlotSubscriber(props) {
324476
- const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.OBS_SET_COMPOSITION_BAR_PLOT } = props;
324490
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.OBS_SET_COMPOSITION_BAR_PLOT } = props;
324477
324491
  const { classes: classes2 } = useStyles$3();
324478
324492
  const loaders = useLoaders();
324493
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
324479
324494
  const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureLabelSignificanceThreshold, featureLabelFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureLabelSignificanceThreshold, setFeatureLabelFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.OBS_SET_COMPOSITION_BAR_PLOT], coordinationScopes);
324480
324495
  const [width2, height2, containerRef] = useGridItemSize();
324481
324496
  const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.OBS_SETS, { obsType });
@@ -324657,9 +324672,10 @@ function FeatureSetEnrichmentBarPlot(props) {
324657
324672
  return jsxRuntimeExports.jsx(VegaPlot, { data: computedData, spec, signalListeners, getTooltipText });
324658
324673
  }
324659
324674
  function FeatureSetEnrichmentBarPlotSubscriber(props) {
324660
- const { coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_SET_ENRICHMENT_BAR_PLOT } = props;
324675
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_SET_ENRICHMENT_BAR_PLOT } = props;
324661
324676
  const { classes: classes2 } = useStyles$3();
324662
324677
  const loaders = useLoaders();
324678
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
324663
324679
  const transformFeature2 = useAsyncFunction(AsyncFunctionType.TRANSFORM_FEATURE);
324664
324680
  const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureLabelSignificanceThreshold, featureLabelFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureLabelSignificanceThreshold, setFeatureLabelFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_SET_ENRICHMENT_BAR_PLOT], coordinationScopes);
324665
324681
  const [width2, height2, containerRef] = useGridItemSize();
@@ -324788,8 +324804,9 @@ function FeatureStatsTable(props) {
324788
324804
  });
324789
324805
  }
324790
324806
  function FeatureStatsTableSubscriber(props) {
324791
- const { title: title2 = "Differential Expression Results", coordinationScopes, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_STATS_TABLE } = props;
324807
+ const { title: title2 = "Differential Expression Results", coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, helpText = ViewHelpMapping.FEATURE_STATS_TABLE } = props;
324792
324808
  const loaders = useLoaders();
324809
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
324793
324810
  const [{ dataset, obsType, sampleType, featureType, featureValueType, obsFilter: cellFilter, obsHighlight: cellHighlight, obsSetSelection, obsSetColor, obsColorEncoding: cellColorEncoding, additionalObsSets: additionalCellSets, featurePointSignificanceThreshold, featurePointFoldChangeThreshold, featureValueTransform, featureValueTransformCoefficient, gatingFeatureSelectionX, gatingFeatureSelectionY, featureSelection, sampleSetSelection, sampleSetColor }, { setObsFilter: setCellFilter, setObsSetSelection, setObsHighlight: setCellHighlight, setObsSetColor: setCellSetColor, setObsColorEncoding: setCellColorEncoding, setAdditionalObsSets: setAdditionalCellSets, setFeaturePointSignificanceThreshold, setFeaturePointFoldChangeThreshold, setFeatureValueTransform, setFeatureValueTransformCoefficient, setGatingFeatureSelectionX, setGatingFeatureSelectionY, setFeatureSelection, setSampleSetSelection, setSampleSetColor }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.FEATURE_STATS_TABLE], coordinationScopes);
324794
324811
  const obsSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.OBS_SETS, { obsType });
324795
324812
  const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.SAMPLE_SETS, { sampleType });
@@ -328200,23 +328217,41 @@ class SpatialDataObsSegmentationsLoader extends AbstractTwoStepLoader {
328200
328217
  return null;
328201
328218
  }
328202
328219
  async load() {
328220
+ var _a3;
328203
328221
  const [obsIndex, obsSegmentations] = await Promise.all([
328204
328222
  this.loadObsIndex(),
328205
328223
  this.loadPolygons()
328206
328224
  ]);
328225
+ const channelCoordination = [{
328226
+ // obsType: null,
328227
+ spatialChannelColor: [255, 255, 255],
328228
+ spatialChannelVisible: true,
328229
+ spatialChannelOpacity: 1,
328230
+ spatialChannelWindow: null,
328231
+ // featureType: 'feature',
328232
+ // featureValueType: 'value',
328233
+ obsColorEncoding: "spatialChannelColor",
328234
+ spatialSegmentationFilled: true,
328235
+ spatialSegmentationStrokeWidth: 1,
328236
+ obsHighlight: null
328237
+ }];
328207
328238
  const coordinationValues = {
328208
- segmentationLayer: CL({
328209
- // TODO: more coordination values here?
328210
- // obsColorEncoding: 'spatialLayerColor',
328211
- // spatialLayerColor: [255, 255, 255],
328212
- spatialLayerVisible: true,
328213
- spatialLayerOpacity: 1
328214
- // featureValueColormapRange: [0, 1],
328215
- // obsHighlight: null,
328216
- // obsSetColor: null,
328217
- // obsSetSelection: null,
328218
- // additionalObsSets: null,
328219
- })
328239
+ segmentationLayer: CL([
328240
+ {
328241
+ // TODO: more coordination values here?
328242
+ // obsColorEncoding: 'spatialLayerColor',
328243
+ // spatialLayerColor: [255, 255, 255],
328244
+ fileUid: ((_a3 = this.coordinationValues) == null ? void 0 : _a3.fileUid) || null,
328245
+ spatialLayerVisible: true,
328246
+ spatialLayerOpacity: 1,
328247
+ segmentationChannel: CL(channelCoordination)
328248
+ // featureValueColormapRange: [0, 1],
328249
+ // obsHighlight: null,
328250
+ // obsSetColor: null,
328251
+ // obsSetSelection: null,
328252
+ // additionalObsSets: null,
328253
+ }
328254
+ ])
328220
328255
  };
328221
328256
  return new LoaderResult({ obsIndex, obsSegmentations, obsSegmentationsType: "polygon" }, null, coordinationValues);
328222
328257
  }
@@ -377655,11 +377690,12 @@ function ScmdUi(props) {
377655
377690
  }
377656
377691
  function BiomarkerSelectSubscriber(props) {
377657
377692
  const {
377658
- coordinationScopes,
377693
+ coordinationScopes: coordinationScopesRaw,
377659
377694
  stratificationOptions: stratificationOptionsProp
377660
377695
  // TODO: Remove; Get from comparisonMetadata instead
377661
377696
  } = props;
377662
377697
  const loaders = useLoaders();
377698
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
377663
377699
  const [{ dataset, obsType, sampleType, sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.BIOMARKER_SELECT], coordinationScopes);
377664
377700
  const viewConfigStoreApi = useViewConfigStoreApi();
377665
377701
  const viewConfig = useViewConfig();
@@ -377754,7 +377790,8 @@ const useStyles$1 = makeStyles()((theme) => ({
377754
377790
  }));
377755
377791
  function ComparativeHeadingSubscriber(props) {
377756
377792
  var _a3, _b3;
377757
- const { coordinationScopes } = props;
377793
+ const { coordinationScopes: coordinationScopesRaw } = props;
377794
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
377758
377795
  const [{ sampleSetSelection, featureSelection }, { setSampleSetSelection, setFeatureSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.COMPARATIVE_HEADING], coordinationScopes);
377759
377796
  const { classes: classes2 } = useStyles$1();
377760
377797
  const swapSampleSets = useCallback(() => {
@@ -377791,9 +377828,10 @@ const useStyles = makeStyles()(() => ({
377791
377828
  }
377792
377829
  }));
377793
377830
  function SampleSetPairManagerSubscriber(props) {
377794
- const { coordinationScopes, removeGridComponent, theme, title: title2 = "Sample Sets", closeButtonVisible, helpText = ViewHelpMapping.SAMPLE_SET_PAIR_MANAGER } = props;
377831
+ const { coordinationScopes: coordinationScopesRaw, removeGridComponent, theme, title: title2 = "Sample Sets", closeButtonVisible, helpText = ViewHelpMapping.SAMPLE_SET_PAIR_MANAGER } = props;
377795
377832
  const { classes: classes2 } = useStyles();
377796
377833
  const loaders = useLoaders();
377834
+ const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
377797
377835
  const [{ dataset, obsType, sampleType, sampleSetSelection }, { setSampleSetSelection }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType$1.SAMPLE_SET_PAIR_MANAGER], coordinationScopes);
377798
377836
  const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType$3.SAMPLE_SETS, { sampleType });
377799
377837
  const sampleSetsColumnNameMappingReversed = useColumnNameMapping(sampleSetsLoader, true);
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, 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-4NRxI5_U.js";
1
+ import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, V as VSMShadowMap, b as PCFShadowMap, B as BasicShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, c as Vector3, d as Vector2, C as Clock, W as WebGLRenderer, e as Camera, f as BufferGeometry, M as Material, L as Layers, T as Texture, h as RGBAFormat, U as UnsignedByteType, i as Color, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, E as EventDispatcher, p as MOUSE, q as TOUCH, r as Spherical, Q as Quaternion, s as Ray$1, t as Plane, u as Loader, v as LoaderUtils, F as FileLoader, w as MeshPhysicalMaterial, x as SpotLight, y as PointLight, D as DirectionalLight, I as InstancedMesh, z as Object3D, H as TextureLoader, J as ImageBitmapLoader, K as BufferAttribute, X as InterleavedBuffer, Y as LinearMipmapLinearFilter, Z as NearestMipmapLinearFilter, $ as LinearMipmapNearestFilter, a0 as NearestMipmapNearestFilter, a1 as LinearFilter, a2 as NearestFilter, a3 as RepeatWrapping, a4 as MirroredRepeatWrapping, a5 as ClampToEdgeWrapping, a6 as PointsMaterial, a7 as LineBasicMaterial, a8 as MeshStandardMaterial, a9 as DoubleSide, aa as MeshBasicMaterial, ab as PropertyBinding, ac as SkinnedMesh, ad as Mesh, ae as LineSegments, af as Line$1, ag as LineLoop, ah as Points, ai as MathUtils, aj as Skeleton, ak as InterpolateDiscrete, al as InterpolateLinear, am as AnimationClip, an as Bone, ao as InterleavedBufferAttribute, ap as VectorKeyframeTrack, aq as QuaternionKeyframeTrack, ar as NumberKeyframeTrack, as as FrontSide, at as Interpolant, au as Box3, av as Sphere, 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-B2chDEFY.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useReducer, useRef, useEffect, useLayoutEffect, useDebugValue, useState, useMemo, forwardRef } from "react";
4
4
  var constants = { exports: {} };
@@ -23637,7 +23637,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
23637
23637
  const {
23638
23638
  Text: TextMeshImpl,
23639
23639
  preloadFont
23640
- } = suspend(async () => import("./troika-three-text.esm-CEMf4KoZ.js"), []);
23640
+ } = suspend(async () => import("./troika-three-text.esm-C4kMzHny.js"), []);
23641
23641
  const invalidate2 = useThree(({
23642
23642
  invalidate: invalidate3
23643
23643
  }) => invalidate3);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bL, bJ, bH, bK, bI, bG, bM } from "./index-4NRxI5_U.js";
1
+ import { bL, bJ, bH, bK, bI, bG, bM } from "./index-B2chDEFY.js";
2
2
  import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
3
3
  export {
4
4
  bL as PluginAsyncFunction,
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-4NRxI5_U.js";
1
+ import { aP as BaseDecoder } from "./index-B2chDEFY.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-4NRxI5_U.js";
2
+ import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-B2chDEFY.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-4NRxI5_U.js";
1
+ import { aP as BaseDecoder } from "./index-B2chDEFY.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-4NRxI5_U.js";
1
+ import { aP as BaseDecoder } from "./index-B2chDEFY.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-4NRxI5_U.js";
1
+ import { aP as BaseDecoder } from "./index-B2chDEFY.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-4NRxI5_U.js";
1
+ import { bA as MeshDistanceMaterial, bB as MeshDepthMaterial, bC as RGBADepthPacking, aB as UniformsUtils, bD as ShaderChunk, aw as InstancedBufferGeometry, av as Sphere, au as Box3, aH as BackSide, a9 as DoubleSide, ad as Mesh, as as FrontSide, aa as MeshBasicMaterial, i as Color, c as Vector3, k as Matrix4, d as Vector2, aJ as Matrix3, aD as Vector4, T as Texture, a1 as LinearFilter, bE as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, bF as InstancedBufferAttribute } from "./index-B2chDEFY.js";
2
2
  function workerBootstrap() {
3
3
  var modules = /* @__PURE__ */ Object.create(null);
4
4
  function registerModule(ref, callback) {
@@ -1,4 +1,4 @@
1
- import { aP as BaseDecoder } from "./index-4NRxI5_U.js";
1
+ import { aP as BaseDecoder } from "./index-B2chDEFY.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/all",
3
- "version": "3.6.16",
3
+ "version": "3.6.18",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -17,37 +17,37 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.21.4",
20
- "@vitessce/styles": "3.6.16",
21
- "@vitessce/constants-internal": "3.6.16",
22
- "@vitessce/abstract": "3.6.16",
23
- "@vitessce/error": "3.6.16",
24
- "@vitessce/csv": "3.6.16",
25
- "@vitessce/description": "3.6.16",
26
- "@vitessce/feature-list": "3.6.16",
27
- "@vitessce/genomic-profiles": "3.6.16",
28
- "@vitessce/heatmap": "3.6.16",
29
- "@vitessce/glb": "3.6.16",
30
- "@vitessce/json": "3.6.16",
31
- "@vitessce/layer-controller": "3.6.16",
32
- "@vitessce/layer-controller-beta": "3.6.16",
33
- "@vitessce/link-controller": "3.6.16",
34
- "@vitessce/obs-sets-manager": "3.6.16",
35
- "@vitessce/ome-tiff": "3.6.16",
36
- "@vitessce/plugins": "3.6.16",
37
- "@vitessce/scatterplot-embedding": "3.6.16",
38
- "@vitessce/scatterplot-gating": "3.6.16",
39
- "@vitessce/schemas": "3.6.16",
40
- "@vitessce/spatial": "3.6.16",
41
- "@vitessce/spatial-beta": "3.6.16",
42
- "@vitessce/statistical-plots": "3.6.16",
43
- "@vitessce/status": "3.6.16",
44
- "@vitessce/vit-s": "3.6.16",
45
- "@vitessce/zarr": "3.6.16",
46
- "@vitessce/globals": "3.6.16",
47
- "@vitessce/spatial-zarr": "3.6.16",
48
- "@vitessce/spatial-three": "3.6.16",
49
- "@vitessce/biomarker-select": "3.6.16",
50
- "@vitessce/neuroglancer": "3.6.16"
20
+ "@vitessce/styles": "3.6.18",
21
+ "@vitessce/constants-internal": "3.6.18",
22
+ "@vitessce/abstract": "3.6.18",
23
+ "@vitessce/error": "3.6.18",
24
+ "@vitessce/csv": "3.6.18",
25
+ "@vitessce/description": "3.6.18",
26
+ "@vitessce/feature-list": "3.6.18",
27
+ "@vitessce/genomic-profiles": "3.6.18",
28
+ "@vitessce/heatmap": "3.6.18",
29
+ "@vitessce/glb": "3.6.18",
30
+ "@vitessce/json": "3.6.18",
31
+ "@vitessce/layer-controller": "3.6.18",
32
+ "@vitessce/layer-controller-beta": "3.6.18",
33
+ "@vitessce/link-controller": "3.6.18",
34
+ "@vitessce/obs-sets-manager": "3.6.18",
35
+ "@vitessce/ome-tiff": "3.6.18",
36
+ "@vitessce/plugins": "3.6.18",
37
+ "@vitessce/scatterplot-embedding": "3.6.18",
38
+ "@vitessce/scatterplot-gating": "3.6.18",
39
+ "@vitessce/schemas": "3.6.18",
40
+ "@vitessce/spatial": "3.6.18",
41
+ "@vitessce/spatial-beta": "3.6.18",
42
+ "@vitessce/statistical-plots": "3.6.18",
43
+ "@vitessce/status": "3.6.18",
44
+ "@vitessce/vit-s": "3.6.18",
45
+ "@vitessce/zarr": "3.6.18",
46
+ "@vitessce/globals": "3.6.18",
47
+ "@vitessce/spatial-zarr": "3.6.18",
48
+ "@vitessce/spatial-three": "3.6.18",
49
+ "@vitessce/biomarker-select": "3.6.18",
50
+ "@vitessce/neuroglancer": "3.6.18"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^18.0.28",