@vitessce/dev 3.0.1 → 3.1.0

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.
@@ -122,6 +122,10 @@ const FileType$2 = {
122
122
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
123
123
  };
124
124
  const CoordinationType$2 = {
125
+ // Meta coordination scopes
126
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
127
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
128
+ // Other coordination scopes
125
129
  DATASET: "dataset",
126
130
  // Entity types
127
131
  OBS_TYPE: "obsType",
@@ -1565,15 +1569,15 @@ function memoizeCapped$2(func) {
1565
1569
  var cache2 = result.cache;
1566
1570
  return result;
1567
1571
  }
1568
- var rePropName$3 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1569
- var reEscapeChar$3 = /\\(\\)?/g;
1572
+ var rePropName$2 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1573
+ var reEscapeChar$2 = /\\(\\)?/g;
1570
1574
  var stringToPath$3 = memoizeCapped$2(function(string2) {
1571
1575
  var result = [];
1572
1576
  if (string2.charCodeAt(0) === 46) {
1573
1577
  result.push("");
1574
1578
  }
1575
- string2.replace(rePropName$3, function(match2, number2, quote, subString) {
1576
- result.push(quote ? subString.replace(reEscapeChar$3, "$1") : number2 || match2);
1579
+ string2.replace(rePropName$2, function(match2, number2, quote, subString) {
1580
+ result.push(quote ? subString.replace(reEscapeChar$2, "$1") : number2 || match2);
1577
1581
  });
1578
1582
  return result;
1579
1583
  });
@@ -17149,7 +17153,7 @@ var json2csv_umd = { exports: {} };
17149
17153
  return result == "0" && 1 / value2 == -INFINITY2 ? "-0" : result;
17150
17154
  }
17151
17155
  function castPath2(value2) {
17152
- return isArray$22(value2) ? value2 : stringToPath4(value2);
17156
+ return isArray$22(value2) ? value2 : stringToPath3(value2);
17153
17157
  }
17154
17158
  function getMapData2(map2, key2) {
17155
17159
  var data2 = map2.__data__;
@@ -17176,7 +17180,7 @@ var json2csv_umd = { exports: {} };
17176
17180
  function isMasked2(func) {
17177
17181
  return !!maskSrcKey2 && maskSrcKey2 in func;
17178
17182
  }
17179
- var stringToPath4 = memoize3(function(string2) {
17183
+ var stringToPath3 = memoize3(function(string2) {
17180
17184
  string2 = toString$12(string2);
17181
17185
  var result = [];
17182
17186
  if (reLeadingDot.test(string2)) {
@@ -18794,6 +18798,52 @@ class VitessceConfigDataset {
18794
18798
  };
18795
18799
  }
18796
18800
  }
18801
+ function useComplexCoordinationHelper(scopes, coordinationScopes, coordinationScopesBy) {
18802
+ function processLevel(parentType, parentScope, levelType, levelVal) {
18803
+ var _a2, _b;
18804
+ if (Array.isArray(levelVal)) {
18805
+ coordinationScopesBy[parentType] = {
18806
+ ...coordinationScopesBy[parentType] || {},
18807
+ [levelType]: {
18808
+ ...((_a2 = coordinationScopesBy[parentType]) == null ? void 0 : _a2[levelType]) || {},
18809
+ [parentScope.cScope]: levelVal.map((childVal) => childVal.scope.cScope)
18810
+ }
18811
+ };
18812
+ levelVal.forEach((childVal) => {
18813
+ if (childVal.children) {
18814
+ Object.entries(childVal.children).forEach(([nextLevelType, nextLevelVal]) => processLevel(levelType, childVal.scope, nextLevelType, nextLevelVal));
18815
+ }
18816
+ });
18817
+ } else {
18818
+ coordinationScopesBy[parentType] = {
18819
+ ...coordinationScopesBy[parentType] || {},
18820
+ [levelType]: {
18821
+ ...((_b = coordinationScopesBy[parentType]) == null ? void 0 : _b[levelType]) || {},
18822
+ [parentScope.cScope]: levelVal.scope.cScope
18823
+ }
18824
+ };
18825
+ if (levelVal.children) {
18826
+ Object.entries(levelVal.children).forEach(([nextLevelType, nextLevelVal]) => processLevel(levelType, levelVal.scope, nextLevelType, nextLevelVal));
18827
+ }
18828
+ }
18829
+ }
18830
+ Object.entries(scopes).forEach(([topLevelType, topLevelVal]) => {
18831
+ if (Array.isArray(topLevelVal)) {
18832
+ coordinationScopes[topLevelType] = topLevelVal.map((levelVal) => levelVal.scope.cScope);
18833
+ topLevelVal.forEach((levelVal) => {
18834
+ if (levelVal.children) {
18835
+ Object.entries(levelVal.children).forEach(([nextLevelType, nextLevelVal]) => processLevel(topLevelType, levelVal.scope, nextLevelType, nextLevelVal));
18836
+ }
18837
+ });
18838
+ } else {
18839
+ coordinationScopes[topLevelType] = topLevelVal.scope.cScope;
18840
+ if (topLevelVal.children) {
18841
+ Object.entries(topLevelVal.children).forEach(([nextLevelType, nextLevelVal]) => processLevel(topLevelType, topLevelVal.scope, nextLevelType, nextLevelVal));
18842
+ }
18843
+ }
18844
+ });
18845
+ return [coordinationScopes, coordinationScopesBy];
18846
+ }
18797
18847
  class VitessceConfigView {
18798
18848
  /**
18799
18849
  * Construct a new view instance.
@@ -18809,6 +18859,7 @@ class VitessceConfigView {
18809
18859
  this.view = {
18810
18860
  component,
18811
18861
  coordinationScopes,
18862
+ coordinationScopesBy: void 0,
18812
18863
  x: x2,
18813
18864
  y: y2,
18814
18865
  w: w2,
@@ -18828,6 +18879,37 @@ class VitessceConfigView {
18828
18879
  });
18829
18880
  return this;
18830
18881
  }
18882
+ useComplexCoordination(scopes) {
18883
+ if (!this.view.coordinationScopes) {
18884
+ this.view.coordinationScopes = {};
18885
+ }
18886
+ if (!this.view.coordinationScopesBy) {
18887
+ this.view.coordinationScopesBy = {};
18888
+ }
18889
+ const [nextCoordinationScopes, nextCoordinationScopesBy] = useComplexCoordinationHelper(scopes, this.view.coordinationScopes, this.view.coordinationScopesBy);
18890
+ this.view.coordinationScopes = nextCoordinationScopes;
18891
+ this.view.coordinationScopesBy = nextCoordinationScopesBy;
18892
+ return this;
18893
+ }
18894
+ /**
18895
+ * Attach meta coordination scopes to this view.
18896
+ * @param {VitessceConfigMetaCoordinationScope} metaScope A meta coordination scope instance.
18897
+ * @returns {VitessceConfigView} This, to allow chaining.
18898
+ */
18899
+ useMetaCoordination(metaScope) {
18900
+ if (!this.view.coordinationScopes) {
18901
+ this.view.coordinationScopes = {};
18902
+ }
18903
+ this.view.coordinationScopes[CoordinationType$2.META_COORDINATION_SCOPES] = [
18904
+ ...this.view.coordinationScopes[CoordinationType$2.META_COORDINATION_SCOPES] || [],
18905
+ metaScope.metaScope.cScope
18906
+ ];
18907
+ this.view.coordinationScopes[CoordinationType$2.META_COORDINATION_SCOPES_BY] = [
18908
+ ...this.view.coordinationScopes[CoordinationType$2.META_COORDINATION_SCOPES_BY] || [],
18909
+ metaScope.metaByScope.cScope
18910
+ ];
18911
+ return this;
18912
+ }
18831
18913
  /**
18832
18914
  * Set the x, y, w, h values for this view.
18833
18915
  * @param {number} x The x-coordinate of the view in the layout.
@@ -18879,6 +18961,11 @@ function vconcat(...views) {
18879
18961
  const vcvvc = new VitessceConfigViewVConcat(views);
18880
18962
  return vcvvc;
18881
18963
  }
18964
+ class CoordinationLevel {
18965
+ constructor(value2) {
18966
+ this.value = value2;
18967
+ }
18968
+ }
18882
18969
  class VitessceConfigCoordinationScope {
18883
18970
  /**
18884
18971
  * Construct a new coordination scope instance.
@@ -18900,6 +18987,53 @@ class VitessceConfigCoordinationScope {
18900
18987
  return this;
18901
18988
  }
18902
18989
  }
18990
+ class VitessceConfigMetaCoordinationScope {
18991
+ /**
18992
+ * Construct a new coordination scope instance.
18993
+ * @param {string} metaScope The name of the coordination scope for metaCoordinationScopes.
18994
+ * @param {string} metaByScope The name of the coordination scope for metaCoordinationScopesBy.
18995
+ */
18996
+ constructor(metaScope, metaByScope) {
18997
+ this.metaScope = new VitessceConfigCoordinationScope(CoordinationType$2.META_COORDINATION_SCOPES, metaScope);
18998
+ this.metaByScope = new VitessceConfigCoordinationScope(CoordinationType$2.META_COORDINATION_SCOPES_BY, metaByScope);
18999
+ }
19000
+ /**
19001
+ * Attach coordination scopes to this meta scope.
19002
+ * @param {...VitessceConfigCoordinationScope} args A variable number of
19003
+ * coordination scope instances.
19004
+ * @returns {VitessceConfigMetaCoordinationScope} This, to allow chaining.
19005
+ */
19006
+ useCoordination(...args) {
19007
+ const cScopes = args;
19008
+ const metaScopesVal = this.metaScope.cValue;
19009
+ cScopes.forEach((cScope) => {
19010
+ metaScopesVal[cScope.cType] = cScope.cScope;
19011
+ });
19012
+ this.metaScope.setValue(metaScopesVal);
19013
+ return this;
19014
+ }
19015
+ useComplexCoordination(scopes) {
19016
+ if (!this.metaScope.cValue) {
19017
+ this.metaScope.setValue({});
19018
+ }
19019
+ if (!this.metaByScope.cValue) {
19020
+ this.metaByScope.setValue({});
19021
+ }
19022
+ const [metaScopesVal, metaByScopesVal] = useComplexCoordinationHelper(scopes, this.metaScope.cValue, this.metaByScope.cValue);
19023
+ this.metaScope.setValue(metaScopesVal);
19024
+ this.metaByScope.setValue(metaByScopesVal);
19025
+ return this;
19026
+ }
19027
+ /**
19028
+ * Set the coordination value of the coordination scope.
19029
+ * @param {any} cValue The value to set.
19030
+ * @returns {VitessceConfigCoordinationScope} This, to allow chaining.
19031
+ */
19032
+ setValue(cValue) {
19033
+ this.cValue = cValue;
19034
+ return this;
19035
+ }
19036
+ }
18903
19037
  class VitessceConfig {
18904
19038
  /**
18905
19039
  * Construct a new view config instance.
@@ -19015,6 +19149,50 @@ class VitessceConfig {
19015
19149
  });
19016
19150
  return result;
19017
19151
  }
19152
+ addMetaCoordination() {
19153
+ const prevMetaScopes = this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES] ? Object.keys(this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES]) : [];
19154
+ const prevMetaByScopes = this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES_BY] ? Object.keys(this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES_BY]) : [];
19155
+ const metaContainer = new VitessceConfigMetaCoordinationScope(getNextScope(prevMetaScopes), getNextScope(prevMetaByScopes));
19156
+ if (!this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES]) {
19157
+ this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES] = {};
19158
+ }
19159
+ if (!this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES_BY]) {
19160
+ this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES_BY] = {};
19161
+ }
19162
+ this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES][metaContainer.metaScope.cScope] = metaContainer.metaScope;
19163
+ this.config.coordinationSpace[CoordinationType$2.META_COORDINATION_SCOPES_BY][metaContainer.metaByScope.cScope] = metaContainer.metaByScope;
19164
+ return metaContainer;
19165
+ }
19166
+ addComplexCoordination(input) {
19167
+ const processLevel = (level) => {
19168
+ const result = {};
19169
+ Object.entries(level).forEach(([cType, nextLevelOrInitialValue]) => {
19170
+ if (nextLevelOrInitialValue instanceof CoordinationLevel) {
19171
+ const nextLevel = nextLevelOrInitialValue.value;
19172
+ if (Array.isArray(nextLevel)) {
19173
+ result[cType] = nextLevel.map((nextEl) => {
19174
+ const [dummyScope] = this.addCoordination(cType);
19175
+ dummyScope.setValue("__dummy__");
19176
+ return {
19177
+ scope: dummyScope,
19178
+ children: processLevel(nextEl)
19179
+ };
19180
+ });
19181
+ } else {
19182
+ throw new Error("Expected CoordinationLevel.value to be an array.");
19183
+ }
19184
+ } else {
19185
+ const initialValue = nextLevelOrInitialValue;
19186
+ const [scope] = this.addCoordination(cType);
19187
+ scope.setValue(initialValue);
19188
+ result[cType] = { scope };
19189
+ }
19190
+ });
19191
+ return result;
19192
+ };
19193
+ const output2 = processLevel(input);
19194
+ return output2;
19195
+ }
19018
19196
  /**
19019
19197
  * A convenience function for setting up new coordination scopes across a set of views.
19020
19198
  * @param {VitessceConfigView[]} views An array of view objects to link together.
@@ -19123,6 +19301,109 @@ class VitessceConfig {
19123
19301
  return vc;
19124
19302
  }
19125
19303
  }
19304
+ const SINGLE_CELL_WITH_HEATMAP_VIEWS = {
19305
+ obsSets: { x: 4, y: 0, w: 4, h: 4 },
19306
+ obsSetSizes: { x: 8, y: 0, w: 4, h: 4 },
19307
+ scatterplot: { x: 0, y: 0, w: 4, h: 4 },
19308
+ heatmap: { x: 0, y: 4, w: 8, h: 4 },
19309
+ featureList: { x: 8, y: 4, w: 4, h: 4 }
19310
+ };
19311
+ const SINGLE_CELL_WITHOUT_HEATMAP_VIEWS = {
19312
+ obsSets: { x: 10, y: 6, w: 2, h: 6 },
19313
+ obsSetSizes: { x: 8, y: 1, w: 4, h: 6 },
19314
+ scatterplot: { x: 0, y: 0, w: 8, h: 12 },
19315
+ featureList: { x: 8, y: 6, w: 2, h: 6 }
19316
+ };
19317
+ const SPATIAL_TRANSCRIPTOMICS_VIEWS = {
19318
+ scatterplot: { x: 0, y: 0, w: 3, h: 4 },
19319
+ spatial: { x: 3, y: 0, w: 5, h: 4 },
19320
+ obsSets: { x: 8, y: 0, w: 4, h: 2 },
19321
+ featureList: { x: 8, y: 0, w: 4, h: 2 },
19322
+ heatmap: { x: 0, y: 4, w: 6, h: 4 },
19323
+ obsSetFeatureValueDistribution: { x: 6, y: 4, w: 6, h: 4 }
19324
+ };
19325
+ const SPATIAL_TRANSCRIPTOMICS_WITH_HSITOLOGY_VIEWS = {
19326
+ spatial: { x: 0, y: 0, w: 6, h: 6 },
19327
+ heatmap: { x: 0, y: 6, w: 8, h: 6 },
19328
+ layerController: { x: 8, y: 6, w: 4, h: 6 },
19329
+ obsSets: { x: 9, y: 0, w: 3, h: 6 },
19330
+ featureList: { x: 6, y: 0, w: 3, h: 6 }
19331
+ };
19332
+ const IMAGE_VIEWS = {
19333
+ spatial: { x: 0, y: 0, w: 8, h: 12 },
19334
+ layerController: { x: 8, y: 0, w: 4, h: 7 },
19335
+ description: { x: 8, y: 9, w: 4, h: 5 }
19336
+ };
19337
+ const NO_HINTS_CONFIG = {
19338
+ views: {},
19339
+ coordinationValues: {}
19340
+ };
19341
+ const HINTS_CONFIG = {
19342
+ "No hints are available. Generate config with no hints.": NO_HINTS_CONFIG,
19343
+ Basic: NO_HINTS_CONFIG,
19344
+ "Transcriptomics / scRNA-seq (with heatmap)": {
19345
+ views: SINGLE_CELL_WITH_HEATMAP_VIEWS
19346
+ },
19347
+ "Transcriptomics / scRNA-seq (without heatmap)": {
19348
+ views: SINGLE_CELL_WITHOUT_HEATMAP_VIEWS
19349
+ },
19350
+ "Spatial transcriptomics (with polygon cell segmentations)": {
19351
+ views: SPATIAL_TRANSCRIPTOMICS_VIEWS
19352
+ },
19353
+ "Chromatin accessibility / scATAC-seq (with heatmap)": {
19354
+ views: SINGLE_CELL_WITH_HEATMAP_VIEWS,
19355
+ coordinationValues: {
19356
+ featureType: "peak"
19357
+ }
19358
+ },
19359
+ "Chromatin accessibility / scATAC-seq (without heatmap)": {
19360
+ views: SINGLE_CELL_WITHOUT_HEATMAP_VIEWS,
19361
+ coordinationValues: {
19362
+ featureType: "peak"
19363
+ }
19364
+ },
19365
+ "Spatial transcriptomics (with histology image and polygon cell segmentations)": {
19366
+ views: SPATIAL_TRANSCRIPTOMICS_WITH_HSITOLOGY_VIEWS,
19367
+ coordinationSpaceRequired: true
19368
+ },
19369
+ Image: {
19370
+ views: IMAGE_VIEWS
19371
+ }
19372
+ };
19373
+ const HINT_TYPE_TO_FILE_TYPE_MAP = {
19374
+ "AnnData-Zarr": [
19375
+ "Basic",
19376
+ "Transcriptomics / scRNA-seq (with heatmap)",
19377
+ "Transcriptomics / scRNA-seq (without heatmap)",
19378
+ "Spatial transcriptomics (with polygon cell segmentations)",
19379
+ "Chromatin accessibility / scATAC-seq (with heatmap)",
19380
+ "Chromatin accessibility / scATAC-seq (without heatmap)"
19381
+ ],
19382
+ "OME-TIFF": [
19383
+ "Basic",
19384
+ "Image"
19385
+ ],
19386
+ "AnnData-Zarr,OME-TIFF": [
19387
+ "Basic",
19388
+ "Spatial transcriptomics (with histology image and polygon cell segmentations)"
19389
+ ]
19390
+ };
19391
+ const filterViews = (hintsConfig, possibleViews) => {
19392
+ const requiredViews = Object.keys(hintsConfig.views);
19393
+ if (requiredViews.length === 0) {
19394
+ return possibleViews;
19395
+ }
19396
+ const resultViews = [];
19397
+ requiredViews.forEach((requiredView) => {
19398
+ const match2 = possibleViews.find((possibleView) => possibleView[0] === requiredView);
19399
+ if (match2)
19400
+ resultViews.push(match2);
19401
+ });
19402
+ if (resultViews.length === 0) {
19403
+ throw new Error("No views found that are compatible with the supplied dataset URLs and hint.");
19404
+ }
19405
+ return resultViews;
19406
+ };
19126
19407
  class AbstractAutoConfig {
19127
19408
  async composeViewsConfig() {
19128
19409
  throw new Error("The composeViewsConfig() method has not been implemented.");
@@ -19138,12 +19419,8 @@ class OmeTiffAutoConfig extends AbstractAutoConfig {
19138
19419
  this.fileType = FileType$2.RASTER_JSON;
19139
19420
  this.fileName = fileUrl.split("/").at(-1);
19140
19421
  }
19141
- async composeViewsConfig() {
19142
- return [
19143
- ["description"],
19144
- ["spatial"],
19145
- ["layerController"]
19146
- ];
19422
+ async composeViewsConfig(hintsConfig) {
19423
+ return filterViews(hintsConfig, [["description"], ["spatial"], ["layerController"]]);
19147
19424
  }
19148
19425
  async composeFileConfig() {
19149
19426
  return {
@@ -19172,13 +19449,8 @@ class OmeZarrAutoConfig extends AbstractAutoConfig {
19172
19449
  this.fileType = FileType$2.RASTER_OME_ZARR;
19173
19450
  this.fileName = fileUrl.split("/").at(-1);
19174
19451
  }
19175
- async composeViewsConfig() {
19176
- return [
19177
- ["description"],
19178
- ["spatial"],
19179
- ["layerController"],
19180
- ["status"]
19181
- ];
19452
+ async composeViewsConfig(hintsConfig) {
19453
+ return filterViews(hintsConfig, [["description"], ["spatial"], ["layerController"]]);
19182
19454
  }
19183
19455
  async composeFileConfig() {
19184
19456
  return {
@@ -19197,6 +19469,7 @@ class AnndataZarrAutoConfig extends AbstractAutoConfig {
19197
19469
  this.metadataSummary = {};
19198
19470
  }
19199
19471
  async composeFileConfig() {
19472
+ var _a2;
19200
19473
  this.metadataSummary = await this.setMetadataSummary();
19201
19474
  const options = {
19202
19475
  obsEmbedding: [],
@@ -19223,8 +19496,10 @@ class AnndataZarrAutoConfig extends AbstractAutoConfig {
19223
19496
  });
19224
19497
  const supportedObsSetsKeys = [
19225
19498
  "cluster",
19499
+ "clusters",
19226
19500
  "subcluster",
19227
19501
  "cell_type",
19502
+ "celltype",
19228
19503
  "leiden",
19229
19504
  "louvain",
19230
19505
  "disease",
@@ -19249,6 +19524,15 @@ class AnndataZarrAutoConfig extends AbstractAutoConfig {
19249
19524
  }
19250
19525
  });
19251
19526
  });
19527
+ options.obsSets = (_a2 = options.obsSets) == null ? void 0 : _a2.map((obsSet) => {
19528
+ if (obsSet.path.length === 1) {
19529
+ return {
19530
+ ...obsSet,
19531
+ path: obsSet.path[0]
19532
+ };
19533
+ }
19534
+ return obsSet;
19535
+ });
19252
19536
  return {
19253
19537
  options,
19254
19538
  fileType: this.fileType,
@@ -19260,34 +19544,37 @@ class AnndataZarrAutoConfig extends AbstractAutoConfig {
19260
19544
  }
19261
19545
  };
19262
19546
  }
19263
- async composeViewsConfig() {
19547
+ async composeViewsConfig(hintsConfig) {
19264
19548
  this.metadataSummary = await this.setMetadataSummary();
19265
- const views = [];
19266
- const hasCellSetData = this.metadataSummary.obs.filter((key2) => key2.toLowerCase().includes("cluster") || key2.toLowerCase().includes("cell_type"));
19549
+ const possibleViews = [];
19550
+ const hasCellSetData = this.metadataSummary.obs.filter((key2) => key2.toLowerCase().includes("cluster") || key2.toLowerCase().includes("cell_type") || key2.toLowerCase().includes("celltype"));
19267
19551
  if (hasCellSetData.length > 0) {
19268
- views.push(["obsSets"]);
19552
+ possibleViews.push(["obsSets"]);
19269
19553
  }
19270
19554
  this.metadataSummary.obsm.forEach((key2) => {
19271
19555
  if (key2.toLowerCase().includes("obsm/x_umap")) {
19272
- views.push(["scatterplot", { mapping: "UMAP" }]);
19556
+ possibleViews.push(["scatterplot", { mapping: "UMAP" }]);
19273
19557
  }
19274
19558
  if (key2.toLowerCase().includes("obsm/x_tsne")) {
19275
- views.push(["scatterplot", { mapping: "t-SNE" }]);
19559
+ possibleViews.push(["scatterplot", { mapping: "t-SNE" }]);
19276
19560
  }
19277
19561
  if (key2.toLowerCase().includes("obsm/x_pca")) {
19278
- views.push(["scatterplot", { mapping: "PCA" }]);
19562
+ possibleViews.push(["scatterplot", { mapping: "PCA" }]);
19279
19563
  }
19280
19564
  if (key2.toLowerCase().includes("obsm/x_segmentations")) {
19281
- views.push(["layerController"]);
19565
+ possibleViews.push(["layerController"]);
19282
19566
  }
19283
19567
  if (key2.toLowerCase().includes("obsm/x_spatial")) {
19284
- views.push(["spatial"]);
19568
+ possibleViews.push(["spatial"]);
19285
19569
  }
19286
19570
  });
19571
+ possibleViews.push(["obsSetSizes"]);
19572
+ possibleViews.push(["obsSetFeatureValueDistribution"]);
19287
19573
  if (this.metadataSummary.X) {
19288
- views.push(["heatmap"]);
19289
- views.push(["featureList"]);
19574
+ possibleViews.push(["heatmap"]);
19575
+ possibleViews.push(["featureList"]);
19290
19576
  }
19577
+ const views = filterViews(hintsConfig, possibleViews);
19291
19578
  return views;
19292
19579
  }
19293
19580
  async setMetadataSummaryWithZmetadata(response) {
@@ -19319,7 +19606,9 @@ class AnndataZarrAutoConfig extends AbstractAutoConfig {
19319
19606
  "/obsm/X_spatial/.zarray",
19320
19607
  "/obsm/X_segmentations/.zarray",
19321
19608
  "/obs/.zattrs",
19322
- "/X/.zarray"
19609
+ "/X/.zarray",
19610
+ "/X/data/.zarray"
19611
+ // for https://s3.amazonaws.com/vitessce-data/0.0.33/main/human-lymph-node-10x-visium/human_lymph_node_10x_visium.h5ad.zarr
19323
19612
  ];
19324
19613
  const getObsmKey = (url) => {
19325
19614
  const obsmKeyStartIndex = `${this.fileUrl}/`.length;
@@ -19373,30 +19662,28 @@ class AnndataZarrAutoConfig extends AbstractAutoConfig {
19373
19662
  return this.setMetadataSummaryWithoutZmetadata();
19374
19663
  }
19375
19664
  throw new Error(`Could not generate config: ${response.statusText}`);
19665
+ }).catch((error2) => {
19666
+ throw new Error(`Could not generate config for URL ${this.fileUrl}: ${error2}`);
19376
19667
  });
19377
19668
  }
19378
19669
  }
19379
19670
  const configClasses = [
19380
19671
  {
19381
19672
  extensions: [".ome.tif", ".ome.tiff", ".ome.tf2", ".ome.tf8"],
19382
- class: OmeTiffAutoConfig
19673
+ class: OmeTiffAutoConfig,
19674
+ name: "OME-TIFF"
19383
19675
  },
19384
19676
  {
19385
19677
  extensions: [".h5ad.zarr", ".adata.zarr", ".anndata.zarr"],
19386
- class: AnndataZarrAutoConfig
19678
+ class: AnndataZarrAutoConfig,
19679
+ name: "AnnData-Zarr"
19387
19680
  },
19388
19681
  {
19389
19682
  extensions: ["ome.zarr"],
19390
- class: OmeZarrAutoConfig
19683
+ class: OmeZarrAutoConfig,
19684
+ name: "OME-Zarr"
19391
19685
  }
19392
19686
  ];
19393
- function getFileType(url) {
19394
- const match2 = configClasses.find((obj) => obj.extensions.filter((ext) => url.endsWith(ext)).length === 1);
19395
- if (!match2) {
19396
- throw new Error(`Could not generate config for URL: ${url}. This file type is not supported.`);
19397
- }
19398
- return match2.class;
19399
- }
19400
19687
  function calculateCoordinates(viewsNumb) {
19401
19688
  const rows = Math.ceil(Math.sqrt(viewsNumb));
19402
19689
  const cols = Math.ceil(viewsNumb / rows);
@@ -19408,14 +19695,103 @@ function calculateCoordinates(viewsNumb) {
19408
19695
  const col = i2 % cols;
19409
19696
  const x2 = col * width2;
19410
19697
  const y2 = row * height2;
19411
- coords.push([x2, y2, width2, height2]);
19698
+ coords.push([
19699
+ Math.floor(x2),
19700
+ Math.floor(y2),
19701
+ // Ensure width/height is at least 1.
19702
+ Math.max(1, Math.floor(width2)),
19703
+ Math.max(1, Math.floor(height2))
19704
+ ]);
19412
19705
  }
19413
19706
  return coords;
19414
19707
  }
19415
- async function generateConfig(url, vc) {
19708
+ const spatialSegmentationLayerValue = {
19709
+ radius: 65,
19710
+ stroked: true,
19711
+ visible: true,
19712
+ opacity: 1
19713
+ };
19714
+ function insertCoordinationSpaceForSpatial(views, vc) {
19715
+ const [spatialSegmentationLayer, spatialImageLayer, spatialZoom, spatialTargetX, spatialTargetY] = vc.addCoordination(CoordinationType$2.SPATIAL_SEGMENTATION_LAYER, CoordinationType$2.SPATIAL_IMAGE_LAYER, CoordinationType$2.SPATIAL_ZOOM, CoordinationType$2.SPATIAL_TARGET_X, CoordinationType$2.SPATIAL_TARGET_Y);
19716
+ spatialSegmentationLayer.setValue(spatialSegmentationLayerValue);
19717
+ spatialImageLayer.setValue([
19718
+ {
19719
+ type: "raster",
19720
+ index: 0,
19721
+ colormap: null,
19722
+ transparentColor: null,
19723
+ opacity: 1,
19724
+ domainType: "Min/Max",
19725
+ channels: [
19726
+ {
19727
+ selection: {
19728
+ c: 0
19729
+ },
19730
+ color: [
19731
+ 255,
19732
+ 0,
19733
+ 0
19734
+ ],
19735
+ visible: true,
19736
+ slider: [
19737
+ 0,
19738
+ 255
19739
+ ]
19740
+ },
19741
+ {
19742
+ selection: {
19743
+ c: 1
19744
+ },
19745
+ color: [
19746
+ 0,
19747
+ 255,
19748
+ 0
19749
+ ],
19750
+ visible: true,
19751
+ slider: [
19752
+ 0,
19753
+ 255
19754
+ ]
19755
+ },
19756
+ {
19757
+ selection: {
19758
+ c: 2
19759
+ },
19760
+ color: [
19761
+ 0,
19762
+ 0,
19763
+ 255
19764
+ ],
19765
+ visible: true,
19766
+ slider: [
19767
+ 0,
19768
+ 255
19769
+ ]
19770
+ }
19771
+ ]
19772
+ }
19773
+ ]);
19774
+ views.forEach((view) => {
19775
+ if (view.view.component === "spatial" || view.view.component === "layerController") {
19776
+ view.useCoordination(spatialImageLayer);
19777
+ view.useCoordination(spatialSegmentationLayer);
19778
+ view.useCoordination(spatialZoom);
19779
+ view.useCoordination(spatialTargetX);
19780
+ view.useCoordination(spatialTargetY);
19781
+ }
19782
+ });
19783
+ }
19784
+ function getFileType(url) {
19785
+ const match2 = configClasses.find((obj) => obj.extensions.filter((ext) => url.endsWith(ext)).length === 1);
19786
+ if (!match2) {
19787
+ throw new Error("One or more of the URLs provided point to unsupported file types.");
19788
+ }
19789
+ return match2;
19790
+ }
19791
+ async function generateViewDefinition(url, vc, dataset, hintsConfig) {
19416
19792
  let ConfigClassName;
19417
19793
  try {
19418
- ConfigClassName = getFileType(url);
19794
+ ConfigClassName = getFileType(url).class;
19419
19795
  } catch (err2) {
19420
19796
  return Promise.reject(err2);
19421
19797
  }
@@ -19424,12 +19800,12 @@ async function generateConfig(url, vc) {
19424
19800
  let viewsConfig;
19425
19801
  try {
19426
19802
  fileConfig = await configInstance.composeFileConfig();
19427
- viewsConfig = await configInstance.composeViewsConfig();
19803
+ viewsConfig = await configInstance.composeViewsConfig(hintsConfig);
19428
19804
  } catch (error2) {
19429
19805
  console.error(error2);
19430
19806
  return Promise.reject(error2);
19431
19807
  }
19432
- const dataset = vc.addDataset(configInstance.fileName).addFile(fileConfig);
19808
+ dataset.addFile(fileConfig);
19433
19809
  let layerControllerView = false;
19434
19810
  let spatialView = false;
19435
19811
  const views = [];
@@ -19441,7 +19817,7 @@ async function generateConfig(url, vc) {
19441
19817
  if (v[0] === "spatial") {
19442
19818
  spatialView = view;
19443
19819
  }
19444
- if (v[0] === "layerController" && configInstance instanceof OmeTiffAutoConfig) {
19820
+ if (v[0] === "layerController") {
19445
19821
  view.setProps({
19446
19822
  disable3d: [],
19447
19823
  disableChannelsIfRgbDetected: true
@@ -19453,36 +19829,57 @@ async function generateConfig(url, vc) {
19453
19829
  views.push(view);
19454
19830
  });
19455
19831
  if (layerControllerView && spatialView && configInstance instanceof AnndataZarrAutoConfig) {
19456
- const spatialSegmentationLayerValue = {
19457
- opacity: 1,
19458
- radius: 0,
19459
- visible: true,
19460
- stroked: false
19461
- };
19462
19832
  vc.linkViews([spatialView, layerControllerView], [
19463
- CoordinationType$2.SPATIAL_ZOOM,
19464
- CoordinationType$2.SPATIAL_TARGET_X,
19465
- CoordinationType$2.SPATIAL_TARGET_Y,
19466
19833
  CoordinationType$2.SPATIAL_SEGMENTATION_LAYER
19467
- ], [-5.5, 16e3, 2e4, spatialSegmentationLayerValue]);
19834
+ ], [spatialSegmentationLayerValue]);
19468
19835
  }
19469
19836
  return views;
19470
19837
  }
19471
- async function generateConfigs(fileUrls) {
19838
+ function getHintOptions(fileUrls) {
19839
+ const fileTypes = {};
19840
+ fileUrls.forEach((url) => {
19841
+ const match2 = getFileType(url);
19842
+ if (match2.name === "OME-Zarr") {
19843
+ fileTypes["OME-TIFF"] = true;
19844
+ } else {
19845
+ fileTypes[match2.name] = true;
19846
+ }
19847
+ });
19848
+ const datasetType = Object.keys(fileTypes).sort().join(",");
19849
+ return (HINT_TYPE_TO_FILE_TYPE_MAP == null ? void 0 : HINT_TYPE_TO_FILE_TYPE_MAP[datasetType]) || [];
19850
+ }
19851
+ async function generateConfig(fileUrls, hintTitle = null) {
19852
+ var _a2;
19472
19853
  const vc = new VitessceConfig({
19473
19854
  schemaVersion: "1.0.15",
19474
19855
  name: "An automatically generated config. Adjust values and add layout components if needed.",
19475
19856
  description: "Populate with text relevant to this visualisation."
19476
19857
  });
19477
19858
  const allViews = [];
19859
+ const dataset = vc.addDataset("An automatically generated view config for dataset. Adjust values and add layout components if needed.");
19860
+ const hintsConfig = !hintTitle ? { views: {} } : HINTS_CONFIG == null ? void 0 : HINTS_CONFIG[hintTitle];
19861
+ if (!hintsConfig) {
19862
+ throw new Error(`Hints config not found for the supplied hint: ${hintTitle}.`);
19863
+ }
19864
+ const useHints = ((_a2 = Object.keys(hintsConfig == null ? void 0 : hintsConfig.views)) == null ? void 0 : _a2.length) > 0;
19478
19865
  fileUrls.forEach((url) => {
19479
- allViews.push(generateConfig(url, vc));
19866
+ allViews.push(generateViewDefinition(url, vc, dataset, hintsConfig));
19480
19867
  });
19481
19868
  return Promise.all(allViews).then((views) => {
19482
19869
  const flattenedViews = views.flat();
19483
- const coord = calculateCoordinates(flattenedViews.length);
19484
- for (let i2 = 0; i2 < flattenedViews.length; i2++) {
19485
- flattenedViews[i2].setXYWH(...coord[i2]);
19870
+ if (hintsConfig == null ? void 0 : hintsConfig.coordinationSpaceRequired) {
19871
+ insertCoordinationSpaceForSpatial(flattenedViews, vc);
19872
+ }
19873
+ if (!useHints) {
19874
+ const coord = calculateCoordinates(flattenedViews.length);
19875
+ for (let i2 = 0; i2 < flattenedViews.length; i2++) {
19876
+ flattenedViews[i2].setXYWH(...coord[i2]);
19877
+ }
19878
+ } else {
19879
+ flattenedViews.forEach((vitessceConfigView) => {
19880
+ const coordinates2 = Object.values(hintsConfig.views[vitessceConfigView.view.component]);
19881
+ vitessceConfigView.setXYWH(...coordinates2);
19882
+ });
19486
19883
  }
19487
19884
  return vc.toJSON();
19488
19885
  });
@@ -21548,7 +21945,24 @@ function elementTypeAcceptingRef(props2, propName, componentName, location, prop
21548
21945
  return null;
21549
21946
  }
21550
21947
  const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
21948
+ function _toPrimitive$1(input, hint2) {
21949
+ if (_typeof$H(input) !== "object" || input === null)
21950
+ return input;
21951
+ var prim = input[Symbol.toPrimitive];
21952
+ if (prim !== void 0) {
21953
+ var res = prim.call(input, hint2 || "default");
21954
+ if (_typeof$H(res) !== "object")
21955
+ return res;
21956
+ throw new TypeError("@@toPrimitive must return a primitive value.");
21957
+ }
21958
+ return (hint2 === "string" ? String : Number)(input);
21959
+ }
21960
+ function _toPropertyKey(arg) {
21961
+ var key2 = _toPrimitive$1(arg, "string");
21962
+ return _typeof$H(key2) === "symbol" ? key2 : String(key2);
21963
+ }
21551
21964
  function _defineProperty$x(obj, key2, value2) {
21965
+ key2 = _toPropertyKey(key2);
21552
21966
  if (key2 in obj) {
21553
21967
  Object.defineProperty(obj, key2, {
21554
21968
  value: value2,
@@ -21945,6 +22359,19 @@ function lighten(color2, coefficient) {
21945
22359
  }
21946
22360
  return recomposeColor(color2);
21947
22361
  }
22362
+ function _defineProperty$w(obj, key2, value2) {
22363
+ if (key2 in obj) {
22364
+ Object.defineProperty(obj, key2, {
22365
+ value: value2,
22366
+ enumerable: true,
22367
+ configurable: true,
22368
+ writable: true
22369
+ });
22370
+ } else {
22371
+ obj[key2] = value2;
22372
+ }
22373
+ return obj;
22374
+ }
21948
22375
  function _objectWithoutPropertiesLoose$5(source2, excluded) {
21949
22376
  if (source2 == null)
21950
22377
  return {};
@@ -21977,6 +22404,20 @@ function _objectWithoutProperties$3(source2, excluded) {
21977
22404
  }
21978
22405
  return target2;
21979
22406
  }
22407
+ function _extends$a() {
22408
+ _extends$a = Object.assign ? Object.assign.bind() : function(target2) {
22409
+ for (var i2 = 1; i2 < arguments.length; i2++) {
22410
+ var source2 = arguments[i2];
22411
+ for (var key2 in source2) {
22412
+ if (Object.prototype.hasOwnProperty.call(source2, key2)) {
22413
+ target2[key2] = source2[key2];
22414
+ }
22415
+ }
22416
+ }
22417
+ return target2;
22418
+ };
22419
+ return _extends$a.apply(this, arguments);
22420
+ }
21980
22421
  var keys$9 = ["xs", "sm", "md", "lg", "xl"];
21981
22422
  function createBreakpoints(breakpoints) {
21982
22423
  var _breakpoints$values = breakpoints.values, values3 = _breakpoints$values === void 0 ? {
@@ -22019,7 +22460,7 @@ function createBreakpoints(breakpoints) {
22019
22460
  }
22020
22461
  return values3[key2];
22021
22462
  }
22022
- return _extends$b({
22463
+ return _extends$a({
22023
22464
  keys: keys$9,
22024
22465
  values: values3,
22025
22466
  up: up2,
@@ -22031,23 +22472,23 @@ function createBreakpoints(breakpoints) {
22031
22472
  }
22032
22473
  function createMixins(breakpoints, spacing2, mixins) {
22033
22474
  var _toolbar;
22034
- return _extends$b({
22475
+ return _extends$a({
22035
22476
  gutters: function gutters() {
22036
22477
  var styles35 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
22037
22478
  console.warn(["Material-UI: theme.mixins.gutters() is deprecated.", "You can use the source of the mixin directly:", "\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n"));
22038
- return _extends$b({
22479
+ return _extends$a({
22039
22480
  paddingLeft: spacing2(2),
22040
22481
  paddingRight: spacing2(2)
22041
- }, styles35, _defineProperty$x({}, breakpoints.up("sm"), _extends$b({
22482
+ }, styles35, _defineProperty$w({}, breakpoints.up("sm"), _extends$a({
22042
22483
  paddingLeft: spacing2(3),
22043
22484
  paddingRight: spacing2(3)
22044
22485
  }, styles35[breakpoints.up("sm")])));
22045
22486
  },
22046
22487
  toolbar: (_toolbar = {
22047
22488
  minHeight: 56
22048
- }, _defineProperty$x(_toolbar, "".concat(breakpoints.up("xs"), " and (orientation: landscape)"), {
22489
+ }, _defineProperty$w(_toolbar, "".concat(breakpoints.up("xs"), " and (orientation: landscape)"), {
22049
22490
  minHeight: 48
22050
- }), _defineProperty$x(_toolbar, breakpoints.up("sm"), {
22491
+ }), _defineProperty$w(_toolbar, breakpoints.up("sm"), {
22051
22492
  minHeight: 64
22052
22493
  }), _toolbar)
22053
22494
  }, mixins);
@@ -22172,7 +22613,7 @@ function createPalette(palette2) {
22172
22613
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
22173
22614
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
22174
22615
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
22175
- color2 = _extends$b({}, color2);
22616
+ color2 = _extends$a({}, color2);
22176
22617
  if (!color2.main && color2[mainShade]) {
22177
22618
  color2.main = color2[mainShade];
22178
22619
  }
@@ -22198,7 +22639,7 @@ function createPalette(palette2) {
22198
22639
  console.error("Material-UI: The palette type `".concat(type3, "` is not supported."));
22199
22640
  }
22200
22641
  }
22201
- var paletteOutput = deepmerge(_extends$b({
22642
+ var paletteOutput = deepmerge(_extends$a({
22202
22643
  // A collection of common colors.
22203
22644
  common: common$3,
22204
22645
  // The palette type, can be light or dark.
@@ -22263,7 +22704,7 @@ function createTypography(palette2, typography2) {
22263
22704
  return "".concat(size2 / htmlFontSize * coef, "rem");
22264
22705
  };
22265
22706
  var buildVariant = function buildVariant2(fontWeight2, size2, lineHeight2, letterSpacing2, casing) {
22266
- return _extends$b({
22707
+ return _extends$a({
22267
22708
  fontFamily: fontFamily2,
22268
22709
  fontWeight: fontWeight2,
22269
22710
  fontSize: pxToRem(size2),
@@ -22288,7 +22729,7 @@ function createTypography(palette2, typography2) {
22288
22729
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
22289
22730
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
22290
22731
  };
22291
- return deepmerge(_extends$b({
22732
+ return deepmerge(_extends$a({
22292
22733
  htmlFontSize,
22293
22734
  pxToRem,
22294
22735
  round: roundWithDeprecationWarning,
@@ -22353,6 +22794,14 @@ function _nonIterableSpread$k() {
22353
22794
  function _toConsumableArray$k(arr) {
22354
22795
  return _arrayWithoutHoles$k(arr) || _iterableToArray$k(arr) || _unsupportedIterableToArray$p(arr) || _nonIterableSpread$k();
22355
22796
  }
22797
+ function _typeof$G(obj) {
22798
+ "@babel/helpers - typeof";
22799
+ return _typeof$G = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
22800
+ return typeof obj2;
22801
+ } : function(obj2) {
22802
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
22803
+ }, _typeof$G(obj);
22804
+ }
22356
22805
  function merge$6(acc, item) {
22357
22806
  if (!item) {
22358
22807
  return acc;
@@ -22390,7 +22839,7 @@ function handleBreakpoints(props2, propValue, styleFromPropValue) {
22390
22839
  return acc;
22391
22840
  }, {});
22392
22841
  }
22393
- if (_typeof$H(propValue) === "object") {
22842
+ if (_typeof$G(propValue) === "object") {
22394
22843
  var _themeBreakpoints = props2.theme.breakpoints || defaultBreakpoints;
22395
22844
  return Object.keys(propValue).reduce(function(acc, breakpoint) {
22396
22845
  acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);
@@ -22432,11 +22881,11 @@ function style$6(options) {
22432
22881
  if (cssProperty === false) {
22433
22882
  return value2;
22434
22883
  }
22435
- return _defineProperty$x({}, cssProperty, value2);
22884
+ return _defineProperty$w({}, cssProperty, value2);
22436
22885
  };
22437
22886
  return handleBreakpoints(props2, propValue, styleFromPropValue);
22438
22887
  };
22439
- fn.propTypes = _defineProperty$x({}, prop, responsivePropType$1);
22888
+ fn.propTypes = _defineProperty$w({}, prop, responsivePropType$1);
22440
22889
  fn.filterProps = [prop];
22441
22890
  return fn;
22442
22891
  }
@@ -22454,7 +22903,7 @@ function compose$2() {
22454
22903
  }, {});
22455
22904
  };
22456
22905
  fn.propTypes = styles35.reduce(function(acc, style2) {
22457
- return _extends$b(acc, style2.propTypes);
22906
+ return _extends$a(acc, style2.propTypes);
22458
22907
  }, {});
22459
22908
  fn.filterProps = styles35.reduce(function(acc, style2) {
22460
22909
  return acc.concat(style2.filterProps);
@@ -22516,18 +22965,18 @@ function styleFunctionSx(styleFunction2) {
22516
22965
  var newStyleFunction = function newStyleFunction2(props2) {
22517
22966
  var output2 = styleFunction2(props2);
22518
22967
  if (props2.css) {
22519
- return _extends$b({}, merge$6(output2, styleFunction2(_extends$b({
22968
+ return _extends$a({}, merge$6(output2, styleFunction2(_extends$a({
22520
22969
  theme: props2.theme
22521
22970
  }, props2.css))), omit$2(props2.css, [styleFunction2.filterProps]));
22522
22971
  }
22523
22972
  if (props2.sx) {
22524
- return _extends$b({}, merge$6(output2, styleFunction2(_extends$b({
22973
+ return _extends$a({}, merge$6(output2, styleFunction2(_extends$a({
22525
22974
  theme: props2.theme
22526
22975
  }, props2.sx))), omit$2(props2.sx, [styleFunction2.filterProps]));
22527
22976
  }
22528
22977
  return output2;
22529
22978
  };
22530
- newStyleFunction.propTypes = _extends$b({}, styleFunction2.propTypes, {
22979
+ newStyleFunction.propTypes = _extends$a({}, styleFunction2.propTypes, {
22531
22980
  css: chainPropTypes(_pt.object, function(props2) {
22532
22981
  if (!warnedOnce && props2.css !== void 0) {
22533
22982
  warnedOnce = true;
@@ -23071,7 +23520,7 @@ function createTheme() {
23071
23520
  } else if (pseudoClasses2.indexOf(key2) !== -1 && Object.keys(child2).length > 0) {
23072
23521
  {
23073
23522
  console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key2, "` internal state."), "You can not override it like this: ", JSON.stringify(node, null, 2), "", "Instead, you need to use the $ruleName syntax:", JSON.stringify({
23074
- root: _defineProperty$x({}, "&$".concat(key2), child2)
23523
+ root: _defineProperty$w({}, "&$".concat(key2), child2)
23075
23524
  }, null, 2), "", "https://mui.com/r/pseudo-classes-guide"].join("\n"));
23076
23525
  }
23077
23526
  node[key2] = {};
@@ -23153,50 +23602,12 @@ function warning$2(condition, message) {
23153
23602
  }
23154
23603
  }
23155
23604
  }
23156
- function _extends$a() {
23157
- _extends$a = Object.assign ? Object.assign.bind() : function(target2) {
23158
- for (var i2 = 1; i2 < arguments.length; i2++) {
23159
- var source2 = arguments[i2];
23160
- for (var key2 in source2) {
23161
- if (Object.prototype.hasOwnProperty.call(source2, key2)) {
23162
- target2[key2] = source2[key2];
23163
- }
23164
- }
23165
- }
23166
- return target2;
23167
- };
23168
- return _extends$a.apply(this, arguments);
23169
- }
23170
- var _typeof$G = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
23605
+ var _typeof$F = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
23171
23606
  return typeof obj;
23172
23607
  } : function(obj) {
23173
23608
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
23174
23609
  };
23175
- var isBrowser$6 = (typeof window === "undefined" ? "undefined" : _typeof$G(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$G(document)) === "object" && document.nodeType === 9;
23176
- function _typeof$F(obj) {
23177
- "@babel/helpers - typeof";
23178
- return _typeof$F = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
23179
- return typeof obj2;
23180
- } : function(obj2) {
23181
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
23182
- }, _typeof$F(obj);
23183
- }
23184
- function _toPrimitive$1(input, hint2) {
23185
- if (_typeof$F(input) !== "object" || input === null)
23186
- return input;
23187
- var prim = input[Symbol.toPrimitive];
23188
- if (prim !== void 0) {
23189
- var res = prim.call(input, hint2 || "default");
23190
- if (_typeof$F(res) !== "object")
23191
- return res;
23192
- throw new TypeError("@@toPrimitive must return a primitive value.");
23193
- }
23194
- return (hint2 === "string" ? String : Number)(input);
23195
- }
23196
- function _toPropertyKey(arg) {
23197
- var key2 = _toPrimitive$1(arg, "string");
23198
- return _typeof$F(key2) === "symbol" ? key2 : String(key2);
23199
- }
23610
+ var isBrowser$6 = (typeof window === "undefined" ? "undefined" : _typeof$F(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$F(document)) === "object" && document.nodeType === 9;
23200
23611
  function _defineProperties$D(target2, props2) {
23201
23612
  for (var i2 = 0; i2 < props2.length; i2++) {
23202
23613
  var descriptor2 = props2[i2];
@@ -23474,7 +23885,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
23474
23885
  _proto2.toString = function toString2(options) {
23475
23886
  var sheet = this.options.sheet;
23476
23887
  var link2 = sheet ? sheet.options.link : false;
23477
- var opts2 = link2 ? _extends$a({}, options, {
23888
+ var opts2 = link2 ? _extends$b({}, options, {
23478
23889
  allowEmpty: true
23479
23890
  }) : options;
23480
23891
  return toCss(this.selectorText, this.style, opts2);
@@ -23521,7 +23932,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
23521
23932
  this.at = atMatch ? atMatch[1] : "unknown";
23522
23933
  this.query = options.name || "@" + this.at;
23523
23934
  this.options = options;
23524
- this.rules = new RuleList(_extends$a({}, options, {
23935
+ this.rules = new RuleList(_extends$b({}, options, {
23525
23936
  parent: this
23526
23937
  }));
23527
23938
  for (var name2 in styles35) {
@@ -23593,11 +24004,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
23593
24004
  this.options = options;
23594
24005
  var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
23595
24006
  this.id = scoped === false ? this.name : escape$1(generateId(this, sheet));
23596
- this.rules = new RuleList(_extends$a({}, options, {
24007
+ this.rules = new RuleList(_extends$b({}, options, {
23597
24008
  parent: this
23598
24009
  }));
23599
24010
  for (var name2 in frames) {
23600
- this.rules.add(name2, frames[name2], _extends$a({}, options, {
24011
+ this.rules.add(name2, frames[name2], _extends$b({}, options, {
23601
24012
  parent: this
23602
24013
  }));
23603
24014
  }
@@ -23682,7 +24093,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
23682
24093
  _proto.toString = function toString2(options) {
23683
24094
  var sheet = this.options.sheet;
23684
24095
  var link2 = sheet ? sheet.options.link : false;
23685
- var opts2 = link2 ? _extends$a({}, options, {
24096
+ var opts2 = link2 ? _extends$b({}, options, {
23686
24097
  allowEmpty: true
23687
24098
  }) : options;
23688
24099
  return toCss(this.key, this.style, opts2);
@@ -23806,7 +24217,7 @@ var RuleList = /* @__PURE__ */ function() {
23806
24217
  var _proto = RuleList2.prototype;
23807
24218
  _proto.add = function add2(name2, decl, ruleOptions) {
23808
24219
  var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer2 = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
23809
- var options = _extends$a({
24220
+ var options = _extends$b({
23810
24221
  classes: this.classes,
23811
24222
  parent,
23812
24223
  sheet,
@@ -23842,7 +24253,7 @@ var RuleList = /* @__PURE__ */ function() {
23842
24253
  }
23843
24254
  var options = ruleOptions;
23844
24255
  if (oldIndex !== -1)
23845
- options = _extends$a({}, ruleOptions, {
24256
+ options = _extends$b({}, ruleOptions, {
23846
24257
  index: oldIndex
23847
24258
  });
23848
24259
  return this.add(name2, decl, options);
@@ -23955,7 +24366,7 @@ var StyleSheet = /* @__PURE__ */ function() {
23955
24366
  this.deployed = false;
23956
24367
  this.classes = {};
23957
24368
  this.keyframes = {};
23958
- this.options = _extends$a({}, options, {
24369
+ this.options = _extends$b({}, options, {
23959
24370
  sheet: this,
23960
24371
  parent: this,
23961
24372
  classes: this.classes,
@@ -24574,7 +24985,7 @@ var Jss = /* @__PURE__ */ function() {
24574
24985
  this.options.createGenerateId = options.createGenerateId;
24575
24986
  }
24576
24987
  if (options.id) {
24577
- this.options.id = _extends$a({}, this.options.id, options.id);
24988
+ this.options.id = _extends$b({}, this.options.id, options.id);
24578
24989
  }
24579
24990
  if (options.createGenerateId || options.id) {
24580
24991
  this.generateId = this.options.createGenerateId(this.options.id);
@@ -24596,7 +25007,7 @@ var Jss = /* @__PURE__ */ function() {
24596
25007
  if (typeof index2 !== "number") {
24597
25008
  index2 = sheets.index === 0 ? 0 : sheets.index + 1;
24598
25009
  }
24599
- var sheet = new StyleSheet(styles35, _extends$a({}, options, {
25010
+ var sheet = new StyleSheet(styles35, _extends$b({}, options, {
24600
25011
  jss: this,
24601
25012
  generateId: options.generateId || this.generateId,
24602
25013
  insertionPoint: this.options.insertionPoint,
@@ -24621,7 +25032,7 @@ var Jss = /* @__PURE__ */ function() {
24621
25032
  if (typeof name2 === "object") {
24622
25033
  return this.createRule(void 0, name2, style2);
24623
25034
  }
24624
- var ruleOptions = _extends$a({}, options, {
25035
+ var ruleOptions = _extends$b({}, options, {
24625
25036
  name: name2,
24626
25037
  jss: this,
24627
25038
  Renderer: this.options.Renderer
@@ -24740,7 +25151,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
24740
25151
  this.isProcessed = false;
24741
25152
  this.key = key2;
24742
25153
  this.options = options;
24743
- this.rules = new RuleList(_extends$b({}, options, {
25154
+ this.rules = new RuleList(_extends$a({}, options, {
24744
25155
  parent: this
24745
25156
  }));
24746
25157
  for (var selector2 in styles35) {
@@ -24780,7 +25191,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
24780
25191
  this.key = key2;
24781
25192
  this.options = options;
24782
25193
  var selector2 = key2.substr(atPrefix.length);
24783
- this.rule = options.jss.createRule(selector2, style2, _extends$b({}, options, {
25194
+ this.rule = options.jss.createRule(selector2, style2, _extends$a({}, options, {
24784
25195
  parent: this
24785
25196
  }));
24786
25197
  }
@@ -24807,7 +25218,7 @@ function handleNestedGlobalContainerRule(rule2, sheet) {
24807
25218
  if (!rules)
24808
25219
  return;
24809
25220
  for (var name2 in rules) {
24810
- sheet.addRule(name2, rules[name2], _extends$b({}, options, {
25221
+ sheet.addRule(name2, rules[name2], _extends$a({}, options, {
24811
25222
  selector: addScope(name2, rule2.selector)
24812
25223
  }));
24813
25224
  }
@@ -24819,7 +25230,7 @@ function handlePrefixedGlobalRule(rule2, sheet) {
24819
25230
  if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
24820
25231
  continue;
24821
25232
  var selector2 = addScope(prop.substr(at.length), rule2.selector);
24822
- sheet.addRule(selector2, style2[prop], _extends$b({}, options, {
25233
+ sheet.addRule(selector2, style2[prop], _extends$a({}, options, {
24823
25234
  selector: selector2
24824
25235
  }));
24825
25236
  delete style2[prop];
@@ -24888,12 +25299,12 @@ function jssNested() {
24888
25299
  }
24889
25300
  function getOptions(rule2, container, prevOptions) {
24890
25301
  if (prevOptions)
24891
- return _extends$a({}, prevOptions, {
25302
+ return _extends$b({}, prevOptions, {
24892
25303
  index: prevOptions.index + 1
24893
25304
  });
24894
25305
  var nestingLevel = rule2.options.nestingLevel;
24895
25306
  nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
24896
- var options = _extends$a({}, rule2.options, {
25307
+ var options = _extends$b({}, rule2.options, {
24897
25308
  nestingLevel,
24898
25309
  index: container.indexOf(rule2) + 1
24899
25310
  // We don't need the parent name to be set options for chlid.
@@ -24921,11 +25332,11 @@ function jssNested() {
24921
25332
  selector2 = selector2.replace(refRegExp, replaceRef3);
24922
25333
  var name2 = styleRule.key + "-" + prop;
24923
25334
  if ("replaceRule" in container) {
24924
- container.replaceRule(name2, style2[prop], _extends$a({}, options, {
25335
+ container.replaceRule(name2, style2[prop], _extends$b({}, options, {
24925
25336
  selector: selector2
24926
25337
  }));
24927
25338
  } else {
24928
- container.addRule(name2, style2[prop], _extends$a({}, options, {
25339
+ container.addRule(name2, style2[prop], _extends$b({}, options, {
24929
25340
  selector: selector2
24930
25341
  }));
24931
25342
  }
@@ -25695,7 +26106,7 @@ function mergeClasses$2() {
25695
26106
  if (!newClasses) {
25696
26107
  return baseClasses;
25697
26108
  }
25698
- var nextClasses = _extends$b({}, baseClasses);
26109
+ var nextClasses = _extends$a({}, baseClasses);
25699
26110
  {
25700
26111
  if (typeof newClasses === "string") {
25701
26112
  console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(getDisplayName(Component2), " is incorrect."), "You might want to use the className prop instead."].join("\n"));
@@ -25767,7 +26178,7 @@ var injectFirstNode;
25767
26178
  function StylesProvider(props2) {
25768
26179
  var children3 = props2.children, _props$injectFirst = props2.injectFirst, injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst, _props$disableGenerat = props2.disableGeneration, disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat, localOptions = _objectWithoutProperties$3(props2, ["children", "injectFirst", "disableGeneration"]);
25769
26180
  var outerOptions = React__default.useContext(StylesContext);
25770
- var context2 = _extends$b({}, outerOptions, {
26181
+ var context2 = _extends$a({}, outerOptions, {
25771
26182
  disableGeneration
25772
26183
  }, localOptions);
25773
26184
  {
@@ -25872,7 +26283,7 @@ const noopTheme$1 = noopTheme;
25872
26283
  function getStylesCreator(stylesOrCreator) {
25873
26284
  var themingEnabled = typeof stylesOrCreator === "function";
25874
26285
  {
25875
- if (_typeof$H(stylesOrCreator) !== "object" && !themingEnabled) {
26286
+ if (_typeof$G(stylesOrCreator) !== "object" && !themingEnabled) {
25876
26287
  console.error(["Material-UI: The `styles` argument provided is invalid.", "You need to provide a function generating the styles or a styles object."].join("\n"));
25877
26288
  }
25878
26289
  }
@@ -25893,7 +26304,7 @@ function getStylesCreator(stylesOrCreator) {
25893
26304
  return styles35;
25894
26305
  }
25895
26306
  var overrides = theme.overrides[name2];
25896
- var stylesWithOverrides = _extends$b({}, styles35);
26307
+ var stylesWithOverrides = _extends$a({}, styles35);
25897
26308
  Object.keys(overrides).forEach(function(key2) {
25898
26309
  {
25899
26310
  if (!stylesWithOverrides[key2]) {
@@ -25954,7 +26365,7 @@ function attach(_ref22, props2) {
25954
26365
  };
25955
26366
  multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
25956
26367
  }
25957
- var options = _extends$b({}, stylesCreator.options, stylesOptions, {
26368
+ var options = _extends$a({}, stylesCreator.options, stylesOptions, {
25958
26369
  theme,
25959
26370
  flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
25960
26371
  });
@@ -25967,7 +26378,7 @@ function attach(_ref22, props2) {
25967
26378
  }
25968
26379
  var styles35 = stylesCreator.create(theme, name2);
25969
26380
  if (!staticSheet) {
25970
- staticSheet = stylesOptions.jss.createStyleSheet(styles35, _extends$b({
26381
+ staticSheet = stylesOptions.jss.createStyleSheet(styles35, _extends$a({
25971
26382
  link: false
25972
26383
  }, options));
25973
26384
  staticSheet.attach();
@@ -25982,7 +26393,7 @@ function attach(_ref22, props2) {
25982
26393
  sheetManager.dynamicStyles = getDynamicStyles(styles35);
25983
26394
  }
25984
26395
  if (sheetManager.dynamicStyles) {
25985
- var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$b({
26396
+ var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$a({
25986
26397
  link: true
25987
26398
  }, options));
25988
26399
  dynamicSheet.update(props2);
@@ -26064,7 +26475,7 @@ function makeStyles$1(stylesOrCreator) {
26064
26475
  var useStyles2 = function useStyles3() {
26065
26476
  var props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
26066
26477
  var theme = useTheme$1() || defaultTheme2;
26067
- var stylesOptions = _extends$b({}, React__default.useContext(StylesContext), stylesOptions2);
26478
+ var stylesOptions = _extends$a({}, React__default.useContext(StylesContext), stylesOptions2);
26068
26479
  var instance = React__default.useRef();
26069
26480
  var shouldUpdate = React__default.useRef();
26070
26481
  useSynchronousEffect(function() {
@@ -26254,7 +26665,7 @@ function styled$2(Component2) {
26254
26665
  var stylesOrCreator = typeof style2 === "function" ? function(theme) {
26255
26666
  return {
26256
26667
  root: function root2(props2) {
26257
- return style2(_extends$b({
26668
+ return style2(_extends$a({
26258
26669
  theme
26259
26670
  }, props2));
26260
26671
  }
@@ -26262,7 +26673,7 @@ function styled$2(Component2) {
26262
26673
  } : {
26263
26674
  root: style2
26264
26675
  };
26265
- var useStyles2 = makeStyles$1(stylesOrCreator, _extends$b({
26676
+ var useStyles2 = makeStyles$1(stylesOrCreator, _extends$a({
26266
26677
  Component: Component2,
26267
26678
  name: name2 || Component2.displayName,
26268
26679
  classNamePrefix
@@ -26286,22 +26697,22 @@ function styled$2(Component2) {
26286
26697
  spread = omit$1(spread, filterProps);
26287
26698
  }
26288
26699
  if (clone3) {
26289
- return /* @__PURE__ */ React__default.cloneElement(children3, _extends$b({
26700
+ return /* @__PURE__ */ React__default.cloneElement(children3, _extends$a({
26290
26701
  className: clsx(children3.props.className, className)
26291
26702
  }, spread));
26292
26703
  }
26293
26704
  if (typeof children3 === "function") {
26294
- return children3(_extends$b({
26705
+ return children3(_extends$a({
26295
26706
  className
26296
26707
  }, spread));
26297
26708
  }
26298
26709
  var FinalComponent = ComponentProp || Component2;
26299
- return /* @__PURE__ */ React__default.createElement(FinalComponent, _extends$b({
26710
+ return /* @__PURE__ */ React__default.createElement(FinalComponent, _extends$a({
26300
26711
  ref: ref2,
26301
26712
  className
26302
26713
  }, spread), children3);
26303
26714
  });
26304
- StyledComponent.propTypes = _extends$b({
26715
+ StyledComponent.propTypes = _extends$a({
26305
26716
  /**
26306
26717
  * A render function or node.
26307
26718
  */
@@ -26346,7 +26757,7 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
26346
26757
  }
26347
26758
  return mergedTheme;
26348
26759
  }
26349
- return _extends$b({}, outerTheme, localTheme);
26760
+ return _extends$a({}, outerTheme, localTheme);
26350
26761
  }
26351
26762
  function ThemeProvider(props2) {
26352
26763
  var children3 = props2.children, localTheme = props2.theme;
@@ -26398,7 +26809,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
26398
26809
  }
26399
26810
  }
26400
26811
  }
26401
- var useStyles2 = makeStyles$1(stylesOrCreator, _extends$b({
26812
+ var useStyles2 = makeStyles$1(stylesOrCreator, _extends$a({
26402
26813
  defaultTheme: defaultTheme2,
26403
26814
  Component: Component2,
26404
26815
  name: name2 || Component2.displayName,
@@ -26407,7 +26818,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
26407
26818
  var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props2, ref2) {
26408
26819
  props2.classes;
26409
26820
  var innerRef = props2.innerRef, other = _objectWithoutProperties$3(props2, ["classes", "innerRef"]);
26410
- var classes = useStyles2(_extends$b({}, Component2.defaultProps, props2));
26821
+ var classes = useStyles2(_extends$a({}, Component2.defaultProps, props2));
26411
26822
  var theme;
26412
26823
  var more = other;
26413
26824
  if (typeof name2 === "string" || withTheme) {
@@ -26423,7 +26834,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
26423
26834
  more.theme = theme;
26424
26835
  }
26425
26836
  }
26426
- return /* @__PURE__ */ React__default.createElement(Component2, _extends$b({
26837
+ return /* @__PURE__ */ React__default.createElement(Component2, _extends$a({
26427
26838
  ref: innerRef || ref2,
26428
26839
  classes
26429
26840
  }, more));
@@ -26464,14 +26875,14 @@ var defaultTheme = createTheme();
26464
26875
  const defaultTheme$1 = defaultTheme;
26465
26876
  function makeStyles(stylesOrCreator) {
26466
26877
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
26467
- return makeStyles$1(stylesOrCreator, _extends$b({
26878
+ return makeStyles$1(stylesOrCreator, _extends$a({
26468
26879
  defaultTheme: defaultTheme$1
26469
26880
  }, options));
26470
26881
  }
26471
26882
  var styled = function styled2(Component2) {
26472
26883
  var componentCreator = styled$2(Component2);
26473
26884
  return function(style2, options) {
26474
- return componentCreator(style2, _extends$b({
26885
+ return componentCreator(style2, _extends$a({
26475
26886
  defaultTheme: defaultTheme$1
26476
26887
  }, options));
26477
26888
  };
@@ -26485,7 +26896,7 @@ function useTheme() {
26485
26896
  return theme;
26486
26897
  }
26487
26898
  function withStyles2(stylesOrCreator, options) {
26488
- return withStylesWithoutDefault(stylesOrCreator, _extends$b({
26899
+ return withStylesWithoutDefault(stylesOrCreator, _extends$a({
26489
26900
  defaultTheme: defaultTheme$1
26490
26901
  }, options));
26491
26902
  }
@@ -26569,7 +26980,7 @@ var styles$O = function styles(theme) {
26569
26980
  };
26570
26981
  var SvgIcon = /* @__PURE__ */ React$6.forwardRef(function SvgIcon2(props2, ref2) {
26571
26982
  var children3 = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color2 = _props$color === void 0 ? "inherit" : _props$color, _props$component = props2.component, Component2 = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props2.fontSize, fontSize2 = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props2.htmlColor, titleAccess = props2.titleAccess, _props$viewBox = props2.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties$3(props2, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
26572
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
26983
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
26573
26984
  className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], fontSize2 !== "default" && fontSize2 !== "medium" && classes["fontSize".concat(capitalize$1(fontSize2))]),
26574
26985
  focusable: "false",
26575
26986
  viewBox,
@@ -26647,7 +27058,7 @@ const SvgIcon$1 = withStyles2(styles$O, {
26647
27058
  })(SvgIcon);
26648
27059
  function createSvgIcon(path2, displayName) {
26649
27060
  var Component2 = function Component3(props2, ref2) {
26650
- return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$b({
27061
+ return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$a({
26651
27062
  ref: ref2
26652
27063
  }, props2), path2);
26653
27064
  };
@@ -27471,7 +27882,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
27471
27882
  }
27472
27883
  if (this.mounted) {
27473
27884
  this.setState(function(state) {
27474
- var children3 = _extends$b({}, state.children);
27885
+ var children3 = _extends$a({}, state.children);
27475
27886
  delete children3[child2.key];
27476
27887
  return {
27477
27888
  children: children3
@@ -27683,7 +28094,7 @@ var Collapse = /* @__PURE__ */ React$6.forwardRef(function Collapse2(props2, ref
27683
28094
  timer2.current = setTimeout(next3, autoTransitionDuration.current || 0);
27684
28095
  }
27685
28096
  };
27686
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$b({
28097
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$a({
27687
28098
  in: inProp,
27688
28099
  onEnter: handleEnter,
27689
28100
  onEntered: handleEntered,
@@ -27695,12 +28106,12 @@ var Collapse = /* @__PURE__ */ React$6.forwardRef(function Collapse2(props2, ref
27695
28106
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
27696
28107
  timeout: timeout3 === "auto" ? null : timeout3
27697
28108
  }, other), function(state, childProps) {
27698
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
28109
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
27699
28110
  className: clsx(classes.root, classes.container, className, {
27700
28111
  "entered": classes.entered,
27701
28112
  "exited": !inProp && collapsedSize === "0px" && classes.hidden
27702
28113
  }[state]),
27703
- style: _extends$b({
28114
+ style: _extends$a({
27704
28115
  minHeight: collapsedSize
27705
28116
  }, style2),
27706
28117
  ref: handleRef
@@ -27810,7 +28221,7 @@ var styles$M = function styles3(theme) {
27810
28221
  boxShadow: shadow2
27811
28222
  };
27812
28223
  });
27813
- return _extends$b({
28224
+ return _extends$a({
27814
28225
  /* Styles applied to the root element. */
27815
28226
  root: {
27816
28227
  backgroundColor: theme.palette.background.paper,
@@ -27829,7 +28240,7 @@ var styles$M = function styles3(theme) {
27829
28240
  };
27830
28241
  var Paper = /* @__PURE__ */ React$6.forwardRef(function Paper2(props2, ref2) {
27831
28242
  var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$square = props2.square, square2 = _props$square === void 0 ? false : _props$square, _props$elevation = props2.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props2.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties$3(props2, ["classes", "className", "component", "square", "elevation", "variant"]);
27832
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
28243
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
27833
28244
  className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square2 && classes.rounded),
27834
28245
  ref: ref2
27835
28246
  }, other));
@@ -27979,13 +28390,13 @@ var Accordion = /* @__PURE__ */ React$6.forwardRef(function Accordion2(props2, r
27979
28390
  toggle: handleChange
27980
28391
  };
27981
28392
  }, [expanded, disabled, handleChange]);
27982
- return /* @__PURE__ */ React$6.createElement(Paper$1, _extends$b({
28393
+ return /* @__PURE__ */ React$6.createElement(Paper$1, _extends$a({
27983
28394
  className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square2 && classes.rounded),
27984
28395
  ref: ref2,
27985
28396
  square: square2
27986
28397
  }, other), /* @__PURE__ */ React$6.createElement(AccordionContext$1.Provider, {
27987
28398
  value: contextValue
27988
- }, summary), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$b({
28399
+ }, summary), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$a({
27989
28400
  in: expanded,
27990
28401
  timeout: "auto"
27991
28402
  }, TransitionProps), /* @__PURE__ */ React$6.createElement("div", {
@@ -28069,7 +28480,7 @@ var styles$K = function styles5(theme) {
28069
28480
  };
28070
28481
  var AccordionDetails = /* @__PURE__ */ React$6.forwardRef(function AccordionDetails2(props2, ref2) {
28071
28482
  var classes = props2.classes, className = props2.className, other = _objectWithoutProperties$3(props2, ["classes", "className"]);
28072
- return /* @__PURE__ */ React$6.createElement("div", _extends$b({
28483
+ return /* @__PURE__ */ React$6.createElement("div", _extends$a({
28073
28484
  className: clsx(classes.root, className),
28074
28485
  ref: ref2
28075
28486
  }, other));
@@ -28381,7 +28792,7 @@ var TouchRipple = /* @__PURE__ */ React$6.forwardRef(function TouchRipple2(props
28381
28792
  stop: stop3
28382
28793
  };
28383
28794
  }, [pulsate, start, stop3]);
28384
- return /* @__PURE__ */ React$6.createElement("span", _extends$b({
28795
+ return /* @__PURE__ */ React$6.createElement("span", _extends$a({
28385
28796
  className: clsx(classes.root, className),
28386
28797
  ref: container
28387
28798
  }, other), /* @__PURE__ */ React$6.createElement(TransitionGroup$1, {
@@ -28600,7 +29011,7 @@ var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props2,
28600
29011
  }
28601
29012
  }, [enableTouchRipple]);
28602
29013
  }
28603
- return /* @__PURE__ */ React$6.createElement(ComponentProp, _extends$b({
29014
+ return /* @__PURE__ */ React$6.createElement(ComponentProp, _extends$a({
28604
29015
  className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
28605
29016
  onBlur: handleBlur,
28606
29017
  onClick,
@@ -28618,7 +29029,7 @@ var ButtonBase = /* @__PURE__ */ React$6.forwardRef(function ButtonBase2(props2,
28618
29029
  tabIndex: disabled ? -1 : tabIndex
28619
29030
  }, buttonProps, other), children3, enableTouchRipple ? (
28620
29031
  /* TouchRipple is only needed client-side, x2 boost on the server. */
28621
- /* @__PURE__ */ React$6.createElement(TouchRipple$1, _extends$b({
29032
+ /* @__PURE__ */ React$6.createElement(TouchRipple$1, _extends$a({
28622
29033
  ref: rippleRef,
28623
29034
  center: centerRipple
28624
29035
  }, TouchRippleProps))
@@ -28850,7 +29261,7 @@ var styles$H = function styles7(theme) {
28850
29261
  };
28851
29262
  var IconButton$1 = /* @__PURE__ */ React$6.forwardRef(function IconButton(props2, ref2) {
28852
29263
  var _props$edge = props2.edge, edge = _props$edge === void 0 ? false : _props$edge, children3 = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color2 = _props$color === void 0 ? "default" : _props$color, _props$disabled = props2.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props2.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props2.size, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$3(props2, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
28853
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$b({
29264
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$a({
28854
29265
  className: clsx(classes.root, className, color2 !== "default" && classes["color".concat(capitalize$1(color2))], disabled && classes.disabled, size2 === "small" && classes["size".concat(capitalize$1(size2))], {
28855
29266
  "start": classes.edgeStart,
28856
29267
  "end": classes.edgeEnd
@@ -28986,7 +29397,7 @@ var AccordionSummary = /* @__PURE__ */ React$6.forwardRef(function AccordionSumm
28986
29397
  onClick(event2);
28987
29398
  }
28988
29399
  };
28989
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$b({
29400
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$a({
28990
29401
  focusRipple: false,
28991
29402
  disableRipple: true,
28992
29403
  disabled,
@@ -28998,7 +29409,7 @@ var AccordionSummary = /* @__PURE__ */ React$6.forwardRef(function AccordionSumm
28998
29409
  ref: ref2
28999
29410
  }, other), /* @__PURE__ */ React$6.createElement("div", {
29000
29411
  className: clsx(classes.content, expanded && classes.expanded)
29001
- }, children3), expandIcon && /* @__PURE__ */ React$6.createElement(IconButton$2, _extends$b({
29412
+ }, children3), expandIcon && /* @__PURE__ */ React$6.createElement(IconButton$2, _extends$a({
29002
29413
  className: clsx(classes.expandIcon, expanded && classes.expanded),
29003
29414
  edge: "end",
29004
29415
  component: "div",
@@ -29117,7 +29528,7 @@ var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props2, ref2) {
29117
29528
  }
29118
29529
  });
29119
29530
  var handleExited = normalizedTransitionCallback(onExited);
29120
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$b({
29531
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$a({
29121
29532
  appear: true,
29122
29533
  in: inProp,
29123
29534
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -29129,8 +29540,8 @@ var Fade = /* @__PURE__ */ React$6.forwardRef(function Fade2(props2, ref2) {
29129
29540
  onExiting: handleExiting,
29130
29541
  timeout: timeout3
29131
29542
  }, other), function(state, childProps) {
29132
- return /* @__PURE__ */ React$6.cloneElement(children3, _extends$b({
29133
- style: _extends$b({
29543
+ return /* @__PURE__ */ React$6.cloneElement(children3, _extends$a({
29544
+ style: _extends$a({
29134
29545
  opacity: 0,
29135
29546
  visibility: state === "exited" && !inProp ? "hidden" : void 0
29136
29547
  }, styles$F[state], style2, children3.props.style),
@@ -29319,7 +29730,7 @@ var defaultVariantMapping = {
29319
29730
  var Typography = /* @__PURE__ */ React$6.forwardRef(function Typography2(props2, ref2) {
29320
29731
  var _props$align = props2.align, align2 = _props$align === void 0 ? "inherit" : _props$align, classes = props2.classes, className = props2.className, _props$color = props2.color, color2 = _props$color === void 0 ? "initial" : _props$color, component = props2.component, _props$display = props2.display, display2 = _props$display === void 0 ? "initial" : _props$display, _props$gutterBottom = props2.gutterBottom, gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom, _props$noWrap = props2.noWrap, noWrap = _props$noWrap === void 0 ? false : _props$noWrap, _props$paragraph = props2.paragraph, paragraph = _props$paragraph === void 0 ? false : _props$paragraph, _props$variant = props2.variant, variant = _props$variant === void 0 ? "body1" : _props$variant, _props$variantMapping = props2.variantMapping, variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping, other = _objectWithoutProperties$3(props2, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
29321
29732
  var Component2 = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
29322
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
29733
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
29323
29734
  className: clsx(classes.root, className, variant !== "inherit" && classes[variant], color2 !== "initial" && classes["color".concat(capitalize$1(color2))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align2 !== "inherit" && classes["align".concat(capitalize$1(align2))], display2 !== "initial" && classes["display".concat(capitalize$1(display2))]),
29324
29735
  ref: ref2
29325
29736
  }, other));
@@ -29389,7 +29800,7 @@ const Typography$1 = withStyles2(styles$E, {
29389
29800
  var styles$D = function styles10(theme) {
29390
29801
  return {
29391
29802
  /* Styles applied to the root element. */
29392
- root: _extends$b({}, theme.typography.button, {
29803
+ root: _extends$a({}, theme.typography.button, {
29393
29804
  boxSizing: "border-box",
29394
29805
  minWidth: 64,
29395
29806
  padding: "6px 16px",
@@ -29646,7 +30057,7 @@ var Button = /* @__PURE__ */ React$6.forwardRef(function Button2(props2, ref2) {
29646
30057
  var endIcon = endIconProp && /* @__PURE__ */ React$6.createElement("span", {
29647
30058
  className: clsx(classes.endIcon, classes["iconSize".concat(capitalize$1(size2))])
29648
30059
  }, endIconProp);
29649
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$b({
30060
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$a({
29650
30061
  className: clsx(classes.root, classes[variant], className, color2 === "inherit" ? classes.colorInherit : color2 !== "default" && classes["".concat(variant).concat(capitalize$1(color2))], size2 !== "medium" && [classes["".concat(variant, "Size").concat(capitalize$1(size2))], classes["size".concat(capitalize$1(size2))]], disableElevation && classes.disableElevation, disabled && classes.disabled, fullWidth && classes.fullWidth),
29651
30062
  component,
29652
30063
  disabled,
@@ -29811,7 +30222,7 @@ var SwitchBase = /* @__PURE__ */ React$6.forwardRef(function SwitchBase2(props2,
29811
30222
  }
29812
30223
  }
29813
30224
  var hasLabelFor = type3 === "checkbox" || type3 === "radio";
29814
- return /* @__PURE__ */ React$6.createElement(IconButton$2, _extends$b({
30225
+ return /* @__PURE__ */ React$6.createElement(IconButton$2, _extends$a({
29815
30226
  component: "span",
29816
30227
  className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
29817
30228
  disabled,
@@ -29820,7 +30231,7 @@ var SwitchBase = /* @__PURE__ */ React$6.forwardRef(function SwitchBase2(props2,
29820
30231
  onFocus: handleFocus2,
29821
30232
  onBlur: handleBlur,
29822
30233
  ref: ref2
29823
- }, other), /* @__PURE__ */ React$6.createElement("input", _extends$b({
30234
+ }, other), /* @__PURE__ */ React$6.createElement("input", _extends$a({
29824
30235
  autoFocus,
29825
30236
  checked: checkedProp,
29826
30237
  defaultChecked,
@@ -29989,7 +30400,7 @@ var Checkbox = /* @__PURE__ */ React$6.forwardRef(function Checkbox2(props2, ref
29989
30400
  var _props$checkedIcon = props2.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props2.classes, _props$color = props2.color, color2 = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props2.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props2.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props2.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props2.inputProps, _props$size = props2.size, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$3(props2, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
29990
30401
  var icon = indeterminate ? indeterminateIconProp : iconProp;
29991
30402
  var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
29992
- return /* @__PURE__ */ React$6.createElement(SwitchBase$1, _extends$b({
30403
+ return /* @__PURE__ */ React$6.createElement(SwitchBase$1, _extends$a({
29993
30404
  type: "checkbox",
29994
30405
  classes: {
29995
30406
  root: clsx(classes.root, classes["color".concat(capitalize$1(color2))], indeterminate && classes.indeterminate),
@@ -29997,7 +30408,7 @@ var Checkbox = /* @__PURE__ */ React$6.forwardRef(function Checkbox2(props2, ref
29997
30408
  disabled: classes.disabled
29998
30409
  },
29999
30410
  color: color2,
30000
- inputProps: _extends$b({
30411
+ inputProps: _extends$a({
30001
30412
  "data-indeterminate": indeterminate
30002
30413
  }, inputProps),
30003
30414
  icon: /* @__PURE__ */ React$6.cloneElement(icon, {
@@ -30186,13 +30597,13 @@ var CircularProgress = /* @__PURE__ */ React$6.forwardRef(function CircularProgr
30186
30597
  circleStyle.strokeDashoffset = "".concat(((100 - value2) / 100 * circumference).toFixed(3), "px");
30187
30598
  rootStyle.transform = "rotate(-90deg)";
30188
30599
  }
30189
- return /* @__PURE__ */ React$6.createElement("div", _extends$b({
30600
+ return /* @__PURE__ */ React$6.createElement("div", _extends$a({
30190
30601
  className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], {
30191
30602
  "determinate": classes.determinate,
30192
30603
  "indeterminate": classes.indeterminate,
30193
30604
  "static": classes.static
30194
30605
  }[variant]),
30195
- style: _extends$b({
30606
+ style: _extends$a({
30196
30607
  width: size2,
30197
30608
  height: size2
30198
30609
  }, rootStyle, style2),
@@ -30820,11 +31231,11 @@ var styles$z = {
30820
31231
  };
30821
31232
  var SimpleBackdrop = /* @__PURE__ */ React$6.forwardRef(function SimpleBackdrop2(props2, ref2) {
30822
31233
  var _props$invisible = props2.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props2.open, other = _objectWithoutProperties$3(props2, ["invisible", "open"]);
30823
- return open ? /* @__PURE__ */ React$6.createElement("div", _extends$b({
31234
+ return open ? /* @__PURE__ */ React$6.createElement("div", _extends$a({
30824
31235
  "aria-hidden": true,
30825
31236
  ref: ref2
30826
31237
  }, other, {
30827
- style: _extends$b({}, styles$z.root, invisible ? styles$z.invisible : {}, other.style)
31238
+ style: _extends$a({}, styles$z.root, invisible ? styles$z.invisible : {}, other.style)
30828
31239
  })) : null;
30829
31240
  });
30830
31241
  SimpleBackdrop.propTypes = {
@@ -30868,7 +31279,7 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref2) {
30868
31279
  var theme = useTheme$1();
30869
31280
  var props2 = getThemeProps({
30870
31281
  name: "MuiModal",
30871
- props: _extends$b({}, inProps),
31282
+ props: _extends$a({}, inProps),
30872
31283
  theme
30873
31284
  });
30874
31285
  var _props$BackdropCompon = props2.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props2.BackdropProps, children3 = props2.children, _props$closeAfterTran = props2.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props2.container, _props$disableAutoFoc = props2.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props2.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props2.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props2.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props2.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props2.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props2.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props2.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props2.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props2.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props2.onBackdropClick, onClose = props2.onClose, onEscapeKeyDown = props2.onEscapeKeyDown, onRendered = props2.onRendered, open = props2.open, other = _objectWithoutProperties$3(props2, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
@@ -30983,13 +31394,13 @@ var Modal = /* @__PURE__ */ React$6.forwardRef(function Modal2(inProps, ref2) {
30983
31394
  ref: handlePortalRef,
30984
31395
  container,
30985
31396
  disablePortal
30986
- }, /* @__PURE__ */ React$6.createElement("div", _extends$b({
31397
+ }, /* @__PURE__ */ React$6.createElement("div", _extends$a({
30987
31398
  ref: handleRef,
30988
31399
  onKeyDown: handleKeyDown2,
30989
31400
  role: "presentation"
30990
31401
  }, other, {
30991
- style: _extends$b({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
30992
- }), hideBackdrop ? null : /* @__PURE__ */ React$6.createElement(BackdropComponent, _extends$b({
31402
+ style: _extends$a({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
31403
+ }), hideBackdrop ? null : /* @__PURE__ */ React$6.createElement(BackdropComponent, _extends$a({
30993
31404
  open,
30994
31405
  onClick: handleBackdropClick
30995
31406
  }, BackdropProps)), /* @__PURE__ */ React$6.createElement(Unstable_TrapFocus, {
@@ -31217,12 +31628,12 @@ var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutos
31217
31628
  onChange(event2);
31218
31629
  }
31219
31630
  };
31220
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("textarea", _extends$b({
31631
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("textarea", _extends$a({
31221
31632
  value: value2,
31222
31633
  onChange: handleChange,
31223
31634
  ref: handleRef,
31224
31635
  rows: minRows,
31225
- style: _extends$b({
31636
+ style: _extends$a({
31226
31637
  height: state.outerHeightStyle,
31227
31638
  // Need a large enough difference to allow scrolling.
31228
31639
  // This prevents infinite rendering loop.
@@ -31234,7 +31645,7 @@ var TextareaAutosize = /* @__PURE__ */ React$6.forwardRef(function TextareaAutos
31234
31645
  readOnly: true,
31235
31646
  ref: shadowRef,
31236
31647
  tabIndex: -1,
31237
- style: _extends$b({}, styles$x.shadow, style2)
31648
+ style: _extends$a({}, styles$x.shadow, style2)
31238
31649
  }));
31239
31650
  });
31240
31651
  TextareaAutosize.propTypes = {
@@ -31318,7 +31729,7 @@ var styles$w = function styles14(theme) {
31318
31729
  "@keyframes mui-auto-fill-cancel": {}
31319
31730
  },
31320
31731
  /* Styles applied to the root element. */
31321
- root: _extends$b({}, theme.typography.body1, {
31732
+ root: _extends$a({}, theme.typography.body1, {
31322
31733
  color: theme.palette.text.primary,
31323
31734
  lineHeight: "1.1876em",
31324
31735
  // Reset (19px), match the native input line-height
@@ -31575,11 +31986,11 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props2, r
31575
31986
  }
31576
31987
  };
31577
31988
  var InputComponent = inputComponent;
31578
- var inputProps = _extends$b({}, inputPropsProp, {
31989
+ var inputProps = _extends$a({}, inputPropsProp, {
31579
31990
  ref: handleInputRef
31580
31991
  });
31581
31992
  if (typeof InputComponent !== "string") {
31582
- inputProps = _extends$b({
31993
+ inputProps = _extends$a({
31583
31994
  // Rename ref to inputRef as we don't know the
31584
31995
  // provided `inputComponent` structure.
31585
31996
  inputRef: handleInputRef,
@@ -31591,7 +32002,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props2, r
31591
32002
  if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
31592
32003
  InputComponent = "textarea";
31593
32004
  } else {
31594
- inputProps = _extends$b({
32005
+ inputProps = _extends$a({
31595
32006
  minRows: rows || minRows,
31596
32007
  rowsMax,
31597
32008
  maxRows
@@ -31599,7 +32010,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props2, r
31599
32010
  InputComponent = TextareaAutosize$1;
31600
32011
  }
31601
32012
  } else {
31602
- inputProps = _extends$b({
32013
+ inputProps = _extends$a({
31603
32014
  type: type3
31604
32015
  }, inputProps);
31605
32016
  }
@@ -31613,13 +32024,13 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props2, r
31613
32024
  muiFormControl.setAdornedStart(Boolean(startAdornment));
31614
32025
  }
31615
32026
  }, [muiFormControl, startAdornment]);
31616
- return /* @__PURE__ */ React$6.createElement("div", _extends$b({
32027
+ return /* @__PURE__ */ React$6.createElement("div", _extends$a({
31617
32028
  className: clsx(classes.root, classes["color".concat(capitalize$1(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === "dense" && classes.marginDense),
31618
32029
  onClick: handleClick,
31619
32030
  ref: ref2
31620
32031
  }, other), startAdornment, /* @__PURE__ */ React$6.createElement(FormControlContext$1.Provider, {
31621
32032
  value: null
31622
- }, /* @__PURE__ */ React$6.createElement(InputComponent, _extends$b({
32033
+ }, /* @__PURE__ */ React$6.createElement(InputComponent, _extends$a({
31623
32034
  "aria-invalid": fcs.error,
31624
32035
  "aria-describedby": ariaDescribedby,
31625
32036
  autoComplete,
@@ -31641,7 +32052,7 @@ var InputBase = /* @__PURE__ */ React$6.forwardRef(function InputBase2(props2, r
31641
32052
  onBlur: handleBlur,
31642
32053
  onChange: handleChange,
31643
32054
  onFocus: handleFocus2
31644
- }))), endAdornment, renderSuffix ? renderSuffix(_extends$b({}, fcs, {
32055
+ }))), endAdornment, renderSuffix ? renderSuffix(_extends$a({}, fcs, {
31645
32056
  startAdornment
31646
32057
  })) : null);
31647
32058
  });
@@ -31959,8 +32370,8 @@ var styles$v = function styles15(theme) {
31959
32370
  };
31960
32371
  var FilledInput = /* @__PURE__ */ React$6.forwardRef(function FilledInput2(props2, ref2) {
31961
32372
  var disableUnderline = props2.disableUnderline, classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props2.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
31962
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$b({
31963
- classes: _extends$b({}, classes, {
32373
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$a({
32374
+ classes: _extends$a({}, classes, {
31964
32375
  root: clsx(classes.root, !disableUnderline && classes.underline),
31965
32376
  underline: null
31966
32377
  }),
@@ -32204,7 +32615,7 @@ var FormControl = /* @__PURE__ */ React$6.forwardRef(function FormControl2(props
32204
32615
  };
32205
32616
  return /* @__PURE__ */ React$6.createElement(FormControlContext$1.Provider, {
32206
32617
  value: childContext
32207
- }, /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
32618
+ }, /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
32208
32619
  className: clsx(classes.root, className, margin2 !== "none" && classes["margin".concat(capitalize$1(margin2))], fullWidth && classes.fullWidth),
32209
32620
  ref: ref2
32210
32621
  }, other), children3));
@@ -32281,7 +32692,7 @@ const FormControl$1 = withStyles2(styles$u, {
32281
32692
  var styles$t = function styles16(theme) {
32282
32693
  return {
32283
32694
  /* Styles applied to the root element. */
32284
- root: _extends$b({
32695
+ root: _extends$a({
32285
32696
  color: theme.palette.text.secondary
32286
32697
  }, theme.typography.caption, {
32287
32698
  textAlign: "left",
@@ -32331,7 +32742,7 @@ var FormHelperText = /* @__PURE__ */ React$6.forwardRef(function FormHelperText2
32331
32742
  muiFormControl,
32332
32743
  states: ["variant", "margin", "disabled", "error", "filled", "focused", "required"]
32333
32744
  });
32334
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
32745
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
32335
32746
  className: clsx(classes.root, (fcs.variant === "filled" || fcs.variant === "outlined") && classes.contained, className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required, fcs.margin === "dense" && classes.marginDense),
32336
32747
  ref: ref2
32337
32748
  }, other), children3 === " " ? (
@@ -32404,7 +32815,7 @@ const FormHelperText$1 = withStyles2(styles$t, {
32404
32815
  var styles$s = function styles17(theme) {
32405
32816
  return {
32406
32817
  /* Styles applied to the root element. */
32407
- root: _extends$b({
32818
+ root: _extends$a({
32408
32819
  color: theme.palette.text.secondary
32409
32820
  }, theme.typography.body1, {
32410
32821
  lineHeight: 1,
@@ -32459,7 +32870,7 @@ var FormLabel = /* @__PURE__ */ React$6.forwardRef(function FormLabel2(props2, r
32459
32870
  muiFormControl,
32460
32871
  states: ["color", "required", "focused", "disabled", "error", "filled"]
32461
32872
  });
32462
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
32873
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
32463
32874
  className: clsx(classes.root, classes["color".concat(capitalize$1(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),
32464
32875
  ref: ref2
32465
32876
  }, other), children3, fcs.required && /* @__PURE__ */ React$6.createElement("span", {
@@ -32548,7 +32959,7 @@ function generateGrid(globalStyles, theme, breakpoint) {
32548
32959
  };
32549
32960
  });
32550
32961
  if (breakpoint === "xs") {
32551
- _extends$b(globalStyles, styles35);
32962
+ _extends$a(globalStyles, styles35);
32552
32963
  } else {
32553
32964
  globalStyles[theme.breakpoints.up(breakpoint)] = styles35;
32554
32965
  }
@@ -32576,7 +32987,7 @@ function generateGutter(theme, breakpoint) {
32576
32987
  return styles35;
32577
32988
  }
32578
32989
  var styles$r = function styles18(theme) {
32579
- return _extends$b({
32990
+ return _extends$a({
32580
32991
  /* Styles applied to the root element. */
32581
32992
  root: {},
32582
32993
  /* Styles applied to the root element if `container={true}`. */
@@ -32680,7 +33091,7 @@ var styles$r = function styles18(theme) {
32680
33091
  var Grid$2 = /* @__PURE__ */ React$6.forwardRef(function Grid(props2, ref2) {
32681
33092
  var _props$alignContent = props2.alignContent, alignContent2 = _props$alignContent === void 0 ? "stretch" : _props$alignContent, _props$alignItems = props2.alignItems, alignItems2 = _props$alignItems === void 0 ? "stretch" : _props$alignItems, classes = props2.classes, classNameProp = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$container = props2.container, container = _props$container === void 0 ? false : _props$container, _props$direction = props2.direction, direction = _props$direction === void 0 ? "row" : _props$direction, _props$item = props2.item, item = _props$item === void 0 ? false : _props$item, justify = props2.justify, _props$justifyContent = props2.justifyContent, justifyContent3 = _props$justifyContent === void 0 ? "flex-start" : _props$justifyContent, _props$lg = props2.lg, lg = _props$lg === void 0 ? false : _props$lg, _props$md = props2.md, md2 = _props$md === void 0 ? false : _props$md, _props$sm = props2.sm, sm = _props$sm === void 0 ? false : _props$sm, _props$spacing = props2.spacing, spacing2 = _props$spacing === void 0 ? 0 : _props$spacing, _props$wrap = props2.wrap, wrap2 = _props$wrap === void 0 ? "wrap" : _props$wrap, _props$xl = props2.xl, xl = _props$xl === void 0 ? false : _props$xl, _props$xs = props2.xs, xs = _props$xs === void 0 ? false : _props$xs, _props$zeroMinWidth = props2.zeroMinWidth, zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth, other = _objectWithoutProperties$3(props2, ["alignContent", "alignItems", "classes", "className", "component", "container", "direction", "item", "justify", "justifyContent", "lg", "md", "sm", "spacing", "wrap", "xl", "xs", "zeroMinWidth"]);
32682
33093
  var className = clsx(classes.root, classNameProp, container && [classes.container, spacing2 !== 0 && classes["spacing-xs-".concat(String(spacing2))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== "row" && classes["direction-xs-".concat(String(direction))], wrap2 !== "wrap" && classes["wrap-xs-".concat(String(wrap2))], alignItems2 !== "stretch" && classes["align-items-xs-".concat(String(alignItems2))], alignContent2 !== "stretch" && classes["align-content-xs-".concat(String(alignContent2))], (justify || justifyContent3) !== "flex-start" && classes["justify-content-xs-".concat(String(justify || justifyContent3))], xs !== false && classes["grid-xs-".concat(String(xs))], sm !== false && classes["grid-sm-".concat(String(sm))], md2 !== false && classes["grid-md-".concat(String(md2))], lg !== false && classes["grid-lg-".concat(String(lg))], xl !== false && classes["grid-xl-".concat(String(xl))]);
32683
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
33094
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
32684
33095
  className,
32685
33096
  ref: ref2
32686
33097
  }, other));
@@ -32786,7 +33197,7 @@ var StyledGrid = withStyles2(styles$r, {
32786
33197
  })(Grid$2);
32787
33198
  {
32788
33199
  var requireProp = requirePropFactory("Grid");
32789
- StyledGrid.propTypes = _extends$b({}, StyledGrid.propTypes, {
33200
+ StyledGrid.propTypes = _extends$a({}, StyledGrid.propTypes, {
32790
33201
  alignContent: requireProp("container"),
32791
33202
  alignItems: requireProp("container"),
32792
33203
  direction: requireProp("container"),
@@ -32903,7 +33314,7 @@ var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props2, ref2) {
32903
33314
  clearTimeout(timer2.current);
32904
33315
  };
32905
33316
  }, []);
32906
- return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$b({
33317
+ return /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$a({
32907
33318
  appear: true,
32908
33319
  in: inProp,
32909
33320
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -32916,8 +33327,8 @@ var Grow = /* @__PURE__ */ React$6.forwardRef(function Grow2(props2, ref2) {
32916
33327
  addEndListener,
32917
33328
  timeout: timeout3 === "auto" ? null : timeout3
32918
33329
  }, other), function(state, childProps) {
32919
- return /* @__PURE__ */ React$6.cloneElement(children3, _extends$b({
32920
- style: _extends$b({
33330
+ return /* @__PURE__ */ React$6.cloneElement(children3, _extends$a({
33331
+ style: _extends$a({
32921
33332
  opacity: 0,
32922
33333
  transform: getScale$2(0.75),
32923
33334
  visibility: state === "exited" && !inProp ? "hidden" : void 0
@@ -33082,8 +33493,8 @@ var styles$p = function styles19(theme) {
33082
33493
  };
33083
33494
  var Input$1 = /* @__PURE__ */ React$6.forwardRef(function Input(props2, ref2) {
33084
33495
  var disableUnderline = props2.disableUnderline, classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props2.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
33085
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$b({
33086
- classes: _extends$b({}, classes, {
33496
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$a({
33497
+ classes: _extends$a({}, classes, {
33087
33498
  root: clsx(classes.root, !disableUnderline && classes.underline),
33088
33499
  underline: null
33089
33500
  }),
@@ -33310,7 +33721,7 @@ var InputLabel = /* @__PURE__ */ React$6.forwardRef(function InputLabel2(props2,
33310
33721
  muiFormControl,
33311
33722
  states: ["margin", "variant"]
33312
33723
  });
33313
- return /* @__PURE__ */ React$6.createElement(FormLabel$1, _extends$b({
33724
+ return /* @__PURE__ */ React$6.createElement(FormLabel$1, _extends$a({
33314
33725
  "data-shrink": shrink,
33315
33726
  className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === "dense" && classes.marginDense, {
33316
33727
  "filled": classes.filled,
@@ -33458,7 +33869,7 @@ var Link = /* @__PURE__ */ React$6.forwardRef(function Link2(props2, ref2) {
33458
33869
  onFocus(event2);
33459
33870
  }
33460
33871
  };
33461
- return /* @__PURE__ */ React$6.createElement(Typography$1, _extends$b({
33872
+ return /* @__PURE__ */ React$6.createElement(Typography$1, _extends$a({
33462
33873
  className: clsx(classes.root, classes["underline".concat(capitalize$1(underline))], className, focusVisible && classes.focusVisible, component === "button" && classes.button),
33463
33874
  classes: TypographyClasses,
33464
33875
  color: color2,
@@ -33550,7 +33961,7 @@ var List = /* @__PURE__ */ React$6.forwardRef(function List2(props2, ref2) {
33550
33961
  }, [dense]);
33551
33962
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
33552
33963
  value: context2
33553
- }, /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
33964
+ }, /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
33554
33965
  className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
33555
33966
  ref: ref2
33556
33967
  }, other), subheader, children3));
@@ -33693,7 +34104,7 @@ var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props2, ref
33693
34104
  listItemRef.current = ReactDOM.findDOMNode(instance);
33694
34105
  }, []);
33695
34106
  var handleRef = useForkRef(handleOwnRef, ref2);
33696
- var componentProps = _extends$b({
34107
+ var componentProps = _extends$a({
33697
34108
  className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems2 !== "center" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),
33698
34109
  disabled
33699
34110
  }, other);
@@ -33714,14 +34125,14 @@ var ListItem = /* @__PURE__ */ React$6.forwardRef(function ListItem2(props2, ref
33714
34125
  }
33715
34126
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
33716
34127
  value: childContext
33717
- }, /* @__PURE__ */ React$6.createElement(ContainerComponent, _extends$b({
34128
+ }, /* @__PURE__ */ React$6.createElement(ContainerComponent, _extends$a({
33718
34129
  className: clsx(classes.container, ContainerClassName),
33719
34130
  ref: handleRef
33720
34131
  }, ContainerProps), /* @__PURE__ */ React$6.createElement(Component2, componentProps, children3), children3.pop()));
33721
34132
  }
33722
34133
  return /* @__PURE__ */ React$6.createElement(ListContext$1.Provider, {
33723
34134
  value: childContext
33724
- }, /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
34135
+ }, /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
33725
34136
  ref: handleRef
33726
34137
  }, componentProps), children3));
33727
34138
  });
@@ -34027,7 +34438,7 @@ var Popover$1 = /* @__PURE__ */ React$6.forwardRef(function Popover(props2, ref2
34027
34438
  transitionDuration = void 0;
34028
34439
  }
34029
34440
  var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl$1(anchorEl)).body : void 0);
34030
- return /* @__PURE__ */ React$6.createElement(Modal$1, _extends$b({
34441
+ return /* @__PURE__ */ React$6.createElement(Modal$1, _extends$a({
34031
34442
  container,
34032
34443
  open,
34033
34444
  ref: ref2,
@@ -34035,7 +34446,7 @@ var Popover$1 = /* @__PURE__ */ React$6.forwardRef(function Popover(props2, ref2
34035
34446
  invisible: true
34036
34447
  },
34037
34448
  className: clsx(classes.root, className)
34038
- }, other), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$b({
34449
+ }, other), /* @__PURE__ */ React$6.createElement(TransitionComponent, _extends$a({
34039
34450
  appear: true,
34040
34451
  in: open,
34041
34452
  onEnter,
@@ -34046,7 +34457,7 @@ var Popover$1 = /* @__PURE__ */ React$6.forwardRef(function Popover(props2, ref2
34046
34457
  timeout: transitionDuration
34047
34458
  }, TransitionProps, {
34048
34459
  onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
34049
- }), /* @__PURE__ */ React$6.createElement(Paper$1, _extends$b({
34460
+ }), /* @__PURE__ */ React$6.createElement(Paper$1, _extends$a({
34050
34461
  elevation,
34051
34462
  ref: handlePaperRef
34052
34463
  }, PaperProps, {
@@ -34383,7 +34794,7 @@ var MenuList = /* @__PURE__ */ React$6.forwardRef(function MenuList2(props2, ref
34383
34794
  }
34384
34795
  return child2;
34385
34796
  });
34386
- return /* @__PURE__ */ React$6.createElement(List$1, _extends$b({
34797
+ return /* @__PURE__ */ React$6.createElement(List$1, _extends$a({
34387
34798
  role: "menu",
34388
34799
  ref: handleRef,
34389
34800
  className,
@@ -34515,24 +34926,24 @@ var Menu = /* @__PURE__ */ React$6.forwardRef(function Menu2(props2, ref2) {
34515
34926
  }
34516
34927
  return child2;
34517
34928
  });
34518
- return /* @__PURE__ */ React$6.createElement(Popover$2, _extends$b({
34929
+ return /* @__PURE__ */ React$6.createElement(Popover$2, _extends$a({
34519
34930
  getContentAnchorEl,
34520
34931
  classes: PopoverClasses,
34521
34932
  onClose,
34522
- TransitionProps: _extends$b({
34933
+ TransitionProps: _extends$a({
34523
34934
  onEntering: handleEntering
34524
34935
  }, TransitionProps),
34525
34936
  anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
34526
34937
  transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
34527
- PaperProps: _extends$b({}, PaperProps, {
34528
- classes: _extends$b({}, PaperProps.classes, {
34938
+ PaperProps: _extends$a({}, PaperProps, {
34939
+ classes: _extends$a({}, PaperProps.classes, {
34529
34940
  root: classes.paper
34530
34941
  })
34531
34942
  }),
34532
34943
  open,
34533
34944
  ref: ref2,
34534
34945
  transitionDuration
34535
- }, other), /* @__PURE__ */ React$6.createElement(MenuList$1, _extends$b({
34946
+ }, other), /* @__PURE__ */ React$6.createElement(MenuList$1, _extends$a({
34536
34947
  onKeyDown: handleListKeyDown,
34537
34948
  actions: menuListActionsRef,
34538
34949
  autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
@@ -34653,7 +35064,7 @@ const Menu$1 = withStyles2(styles$j, {
34653
35064
  var styles$i = function styles22(theme) {
34654
35065
  return {
34655
35066
  /* Styles applied to the root element. */
34656
- root: _extends$b({}, theme.typography.body1, _defineProperty$x({
35067
+ root: _extends$a({}, theme.typography.body1, _defineProperty$w({
34657
35068
  minHeight: 48,
34658
35069
  paddingTop: 6,
34659
35070
  paddingBottom: 6,
@@ -34670,7 +35081,7 @@ var styles$i = function styles22(theme) {
34670
35081
  /* Styles applied to the root element if `selected={true}`. */
34671
35082
  selected: {},
34672
35083
  /* Styles applied to the root element if dense. */
34673
- dense: _extends$b({}, theme.typography.body2, {
35084
+ dense: _extends$a({}, theme.typography.body2, {
34674
35085
  minHeight: "auto"
34675
35086
  })
34676
35087
  };
@@ -34681,14 +35092,14 @@ var MenuItem = /* @__PURE__ */ React$6.forwardRef(function MenuItem2(props2, ref
34681
35092
  if (!props2.disabled) {
34682
35093
  tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
34683
35094
  }
34684
- return /* @__PURE__ */ React$6.createElement(ListItem$1, _extends$b({
35095
+ return /* @__PURE__ */ React$6.createElement(ListItem$1, _extends$a({
34685
35096
  button: true,
34686
35097
  role,
34687
35098
  tabIndex,
34688
35099
  component,
34689
35100
  selected,
34690
35101
  disableGutters,
34691
- classes: _extends$b({
35102
+ classes: _extends$a({
34692
35103
  dense: classes.dense
34693
35104
  }, ListItemClasses),
34694
35105
  className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),
@@ -34748,7 +35159,7 @@ const MenuItem$1 = withStyles2(styles$i, {
34748
35159
  })(MenuItem);
34749
35160
  var NativeSelectInput = /* @__PURE__ */ React$6.forwardRef(function NativeSelectInput2(props2, ref2) {
34750
35161
  var classes = props2.classes, className = props2.className, disabled = props2.disabled, IconComponent = props2.IconComponent, inputRef = props2.inputRef, _props$variant = props2.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$3(props2, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
34751
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$b({
35162
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("select", _extends$a({
34752
35163
  className: clsx(
34753
35164
  classes.root,
34754
35165
  // TODO v5: merge root and select
@@ -34934,11 +35345,11 @@ var NativeSelect = /* @__PURE__ */ React$6.forwardRef(function NativeSelect2(pro
34934
35345
  muiFormControl,
34935
35346
  states: ["variant"]
34936
35347
  });
34937
- return /* @__PURE__ */ React$6.cloneElement(input, _extends$b({
35348
+ return /* @__PURE__ */ React$6.cloneElement(input, _extends$a({
34938
35349
  // Most of the logic is implemented in `NativeSelectInput`.
34939
35350
  // The `Select` component is a simple API wrapper to expose something better to play with.
34940
35351
  inputComponent: NativeSelectInput$1,
34941
- inputProps: _extends$b({
35352
+ inputProps: _extends$a({
34942
35353
  children: children3,
34943
35354
  classes,
34944
35355
  IconComponent,
@@ -35061,7 +35472,7 @@ var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2
35061
35472
  var theme = useTheme();
35062
35473
  var align2 = theme.direction === "rtl" ? "right" : "left";
35063
35474
  if (label2 !== void 0) {
35064
- return /* @__PURE__ */ React$6.createElement("fieldset", _extends$b({
35475
+ return /* @__PURE__ */ React$6.createElement("fieldset", _extends$a({
35065
35476
  "aria-hidden": true,
35066
35477
  className: clsx(classes.root, className),
35067
35478
  ref: ref2,
@@ -35075,9 +35486,9 @@ var NotchedOutline = /* @__PURE__ */ React$6.forwardRef(function NotchedOutline2
35075
35486
  })));
35076
35487
  }
35077
35488
  var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
35078
- return /* @__PURE__ */ React$6.createElement("fieldset", _extends$b({
35489
+ return /* @__PURE__ */ React$6.createElement("fieldset", _extends$a({
35079
35490
  "aria-hidden": true,
35080
- style: _extends$b(_defineProperty$x({}, "padding".concat(capitalize$1(align2)), 8), style2),
35491
+ style: _extends$a(_defineProperty$w({}, "padding".concat(capitalize$1(align2)), 8), style2),
35081
35492
  className: clsx(classes.root, className),
35082
35493
  ref: ref2
35083
35494
  }, other), /* @__PURE__ */ React$6.createElement("legend", {
@@ -35220,7 +35631,7 @@ var styles$f = function styles25(theme) {
35220
35631
  };
35221
35632
  var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(props2, ref2) {
35222
35633
  var classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label2 = props2.label, _props$labelWidth = props2.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props2.notched, _props$type = props2.type, type3 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$3(props2, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
35223
- return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$b({
35634
+ return /* @__PURE__ */ React$6.createElement(InputBase$1, _extends$a({
35224
35635
  renderSuffix: function renderSuffix(state) {
35225
35636
  return /* @__PURE__ */ React$6.createElement(NotchedOutline$1, {
35226
35637
  className: classes.notchedOutline,
@@ -35229,7 +35640,7 @@ var OutlinedInput = /* @__PURE__ */ React$6.forwardRef(function OutlinedInput2(p
35229
35640
  notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
35230
35641
  });
35231
35642
  },
35232
- classes: _extends$b({}, classes, {
35643
+ classes: _extends$a({}, classes, {
35233
35644
  root: clsx(classes.root, classes.underline),
35234
35645
  notchedOutline: null
35235
35646
  }),
@@ -36980,10 +37391,10 @@ var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props2, ref2) {
36980
37391
  }
36981
37392
  }
36982
37393
  }
36983
- var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$b({
37394
+ var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$a({
36984
37395
  placement: rtlPlacement
36985
37396
  }, popperOptions, {
36986
- modifiers: _extends$b({}, disablePortal ? {} : {
37397
+ modifiers: _extends$a({}, disablePortal ? {} : {
36987
37398
  // It's using scrollParent by default, we can use the viewport when using a portal.
36988
37399
  preventOverflow: {
36989
37400
  boundariesElement: "window"
@@ -37040,11 +37451,11 @@ var Popper = /* @__PURE__ */ React$6.forwardRef(function Popper2(props2, ref2) {
37040
37451
  return /* @__PURE__ */ React$6.createElement(Portal$2, {
37041
37452
  disablePortal,
37042
37453
  container
37043
- }, /* @__PURE__ */ React$6.createElement("div", _extends$b({
37454
+ }, /* @__PURE__ */ React$6.createElement("div", _extends$a({
37044
37455
  ref: handleRef,
37045
37456
  role: "tooltip"
37046
37457
  }, other, {
37047
- style: _extends$b({
37458
+ style: _extends$a({
37048
37459
  // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
37049
37460
  position: "fixed",
37050
37461
  // Fix Popper.js display issue
@@ -37139,7 +37550,7 @@ Popper.propTypes = {
37139
37550
  };
37140
37551
  const Popper$1 = Popper;
37141
37552
  function areEqualValues(a2, b2) {
37142
- if (_typeof$H(b2) === "object" && b2 !== null) {
37553
+ if (_typeof$G(b2) === "object" && b2 !== null) {
37143
37554
  return a2 === b2;
37144
37555
  }
37145
37556
  return String(a2) === String(b2);
@@ -37389,7 +37800,7 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
37389
37800
  tabIndex = disabled ? null : 0;
37390
37801
  }
37391
37802
  var buttonId = SelectDisplayProps.id || (name2 ? "mui-component-select-".concat(name2) : void 0);
37392
- return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("div", _extends$b({
37803
+ return /* @__PURE__ */ React$6.createElement(React$6.Fragment, null, /* @__PURE__ */ React$6.createElement("div", _extends$a({
37393
37804
  className: clsx(
37394
37805
  classes.root,
37395
37806
  // TODO v5: merge root and select
@@ -37421,7 +37832,7 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
37421
37832
  __html: "&#8203;"
37422
37833
  }
37423
37834
  })
37424
- ) : display2), /* @__PURE__ */ React$6.createElement("input", _extends$b({
37835
+ ) : display2), /* @__PURE__ */ React$6.createElement("input", _extends$a({
37425
37836
  value: Array.isArray(value2) ? value2.join(",") : value2,
37426
37837
  name: name2,
37427
37838
  ref: inputRef,
@@ -37432,19 +37843,19 @@ var SelectInput = /* @__PURE__ */ React$6.forwardRef(function SelectInput2(props
37432
37843
  autoFocus
37433
37844
  }, other)), /* @__PURE__ */ React$6.createElement(IconComponent, {
37434
37845
  className: clsx(classes.icon, classes["icon".concat(capitalize$1(variant))], open && classes.iconOpen, disabled && classes.disabled)
37435
- }), /* @__PURE__ */ React$6.createElement(Menu$1, _extends$b({
37846
+ }), /* @__PURE__ */ React$6.createElement(Menu$1, _extends$a({
37436
37847
  id: "menu-".concat(name2 || ""),
37437
37848
  anchorEl: displayNode,
37438
37849
  open,
37439
37850
  onClose: handleClose
37440
37851
  }, MenuProps, {
37441
- MenuListProps: _extends$b({
37852
+ MenuListProps: _extends$a({
37442
37853
  "aria-labelledby": labelId,
37443
37854
  role: "listbox",
37444
37855
  disableListWrap: true
37445
37856
  }, MenuProps.MenuListProps),
37446
- PaperProps: _extends$b({}, MenuProps.PaperProps, {
37447
- style: _extends$b({
37857
+ PaperProps: _extends$a({}, MenuProps.PaperProps, {
37858
+ style: _extends$a({
37448
37859
  minWidth: menuMinWidth
37449
37860
  }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
37450
37861
  })
@@ -37604,11 +38015,11 @@ var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props2, ref2) {
37604
38015
  }),
37605
38016
  filled: _ref2$1
37606
38017
  }[variant];
37607
- return /* @__PURE__ */ React$6.cloneElement(InputComponent, _extends$b({
38018
+ return /* @__PURE__ */ React$6.cloneElement(InputComponent, _extends$a({
37608
38019
  // Most of the logic is implemented in `SelectInput`.
37609
38020
  // The `Select` component is a simple API wrapper to expose something better to play with.
37610
38021
  inputComponent,
37611
- inputProps: _extends$b({
38022
+ inputProps: _extends$a({
37612
38023
  children: children3,
37613
38024
  IconComponent,
37614
38025
  variant,
@@ -37626,7 +38037,7 @@ var Select = /* @__PURE__ */ React$6.forwardRef(function Select2(props2, ref2) {
37626
38037
  onOpen,
37627
38038
  open,
37628
38039
  renderValue,
37629
- SelectDisplayProps: _extends$b({
38040
+ SelectDisplayProps: _extends$a({
37630
38041
  id: id2
37631
38042
  }, SelectDisplayProps)
37632
38043
  }, inputProps, {
@@ -37781,7 +38192,7 @@ var styles$d = function styles26(theme) {
37781
38192
  }
37782
38193
  },
37783
38194
  open: {},
37784
- offset: _extends$b({
38195
+ offset: _extends$a({
37785
38196
  zIndex: 1
37786
38197
  }, theme.typography.body2, {
37787
38198
  fontSize: theme.typography.pxToRem(12),
@@ -38132,7 +38543,7 @@ var styles$c = function styles27(theme) {
38132
38543
  opacity: 0.8
38133
38544
  },
38134
38545
  /* Styles applied to the mark label element. */
38135
- markLabel: _extends$b({}, theme.typography.body2, {
38546
+ markLabel: _extends$a({}, theme.typography.body2, {
38136
38547
  color: theme.palette.text.secondary,
38137
38548
  position: "absolute",
38138
38549
  top: 26,
@@ -38438,8 +38849,8 @@ var Slider = /* @__PURE__ */ React$6.forwardRef(function Slider2(props2, ref2) {
38438
38849
  });
38439
38850
  var trackOffset = valueToPercent(range2 ? values3[0] : min2, min2, max2);
38440
38851
  var trackLeap = valueToPercent(values3[values3.length - 1], min2, max2) - trackOffset;
38441
- var trackStyle = _extends$b({}, axisProps[axis2].offset(trackOffset), axisProps[axis2].leap(trackLeap));
38442
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
38852
+ var trackStyle = _extends$a({}, axisProps[axis2].offset(trackOffset), axisProps[axis2].leap(trackLeap));
38853
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
38443
38854
  ref: handleRef,
38444
38855
  className: clsx(classes.root, classes["color".concat(capitalize$1(color2))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark2) {
38445
38856
  return mark2.label;
@@ -38674,7 +39085,7 @@ var styles$b = function styles28(theme) {
38674
39085
  var _extends2;
38675
39086
  return {
38676
39087
  /* Styles applied to the root element. */
38677
- root: _extends$b({}, theme.typography.button, (_extends2 = {
39088
+ root: _extends$a({}, theme.typography.button, (_extends2 = {
38678
39089
  maxWidth: 264,
38679
39090
  minWidth: 72,
38680
39091
  position: "relative",
@@ -38682,9 +39093,9 @@ var styles$b = function styles28(theme) {
38682
39093
  minHeight: 48,
38683
39094
  flexShrink: 0,
38684
39095
  padding: "6px 12px"
38685
- }, _defineProperty$x(_extends2, theme.breakpoints.up("sm"), {
39096
+ }, _defineProperty$w(_extends2, theme.breakpoints.up("sm"), {
38686
39097
  padding: "6px 24px"
38687
- }), _defineProperty$x(_extends2, "overflow", "hidden"), _defineProperty$x(_extends2, "whiteSpace", "normal"), _defineProperty$x(_extends2, "textAlign", "center"), _defineProperty$x(_extends2, theme.breakpoints.up("sm"), {
39098
+ }), _defineProperty$w(_extends2, "overflow", "hidden"), _defineProperty$w(_extends2, "whiteSpace", "normal"), _defineProperty$w(_extends2, "textAlign", "center"), _defineProperty$w(_extends2, theme.breakpoints.up("sm"), {
38688
39099
  minWidth: 160
38689
39100
  }), _extends2)),
38690
39101
  /* Styles applied to the root element if both `icon` and `label` are provided. */
@@ -38770,7 +39181,7 @@ var Tab = /* @__PURE__ */ React$6.forwardRef(function Tab2(props2, ref2) {
38770
39181
  onFocus(event2);
38771
39182
  }
38772
39183
  };
38773
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$b({
39184
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$a({
38774
39185
  focusRipple: !disableFocusRipple,
38775
39186
  className: clsx(classes.root, classes["textColor".concat(capitalize$1(textColor))], className, disabled && classes.disabled, selected && classes.selected, label2 && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),
38776
39187
  ref: ref2,
@@ -38879,7 +39290,7 @@ var styles$a = function styles29(theme) {
38879
39290
  width: "100%",
38880
39291
  borderCollapse: "collapse",
38881
39292
  borderSpacing: 0,
38882
- "& caption": _extends$b({}, theme.typography.body2, {
39293
+ "& caption": _extends$a({}, theme.typography.body2, {
38883
39294
  padding: theme.spacing(2),
38884
39295
  color: theme.palette.text.secondary,
38885
39296
  textAlign: "left",
@@ -38904,7 +39315,7 @@ var Table$2 = /* @__PURE__ */ React$6.forwardRef(function Table(props2, ref2) {
38904
39315
  }, [padding2, size2, stickyHeader]);
38905
39316
  return /* @__PURE__ */ React$6.createElement(TableContext$1.Provider, {
38906
39317
  value: table
38907
- }, /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
39318
+ }, /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
38908
39319
  role: Component2 === defaultComponent$2 ? null : "table",
38909
39320
  ref: ref2,
38910
39321
  className: clsx(classes.root, className, stickyHeader && classes.stickyHeader)
@@ -38972,7 +39383,7 @@ var TableBody = /* @__PURE__ */ React$6.forwardRef(function TableBody2(props2, r
38972
39383
  var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? defaultComponent$1 : _props$component, other = _objectWithoutProperties$3(props2, ["classes", "className", "component"]);
38973
39384
  return /* @__PURE__ */ React$6.createElement(Tablelvl2Context$1.Provider, {
38974
39385
  value: tablelvl2
38975
- }, /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
39386
+ }, /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
38976
39387
  className: clsx(classes.root, className),
38977
39388
  ref: ref2,
38978
39389
  role: Component2 === defaultComponent$1 ? null : "rowgroup"
@@ -39004,7 +39415,7 @@ const TableBody$1 = withStyles2(styles$9, {
39004
39415
  var styles$8 = function styles30(theme) {
39005
39416
  return {
39006
39417
  /* Styles applied to the root element. */
39007
- root: _extends$b({}, theme.typography.body2, {
39418
+ root: _extends$a({}, theme.typography.body2, {
39008
39419
  display: "table-cell",
39009
39420
  verticalAlign: "inherit",
39010
39421
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
@@ -39116,7 +39527,7 @@ var TableCell = /* @__PURE__ */ React$6.forwardRef(function TableCell2(props2, r
39116
39527
  if (sortDirection) {
39117
39528
  ariaSort = sortDirection === "asc" ? "ascending" : "descending";
39118
39529
  }
39119
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
39530
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
39120
39531
  ref: ref2,
39121
39532
  className: clsx(classes.root, classes[variant], className, align2 !== "inherit" && classes["align".concat(capitalize$1(align2))], padding2 !== "normal" && classes["padding".concat(capitalize$1(padding2))], size2 !== "medium" && classes["size".concat(capitalize$1(size2))], variant === "head" && table && table.stickyHeader && classes.stickyHeader),
39122
39533
  "aria-sort": ariaSort,
@@ -39192,7 +39603,7 @@ var styles$7 = {
39192
39603
  };
39193
39604
  var TableContainer = /* @__PURE__ */ React$6.forwardRef(function TableContainer2(props2, ref2) {
39194
39605
  var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, other = _objectWithoutProperties$3(props2, ["classes", "className", "component"]);
39195
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
39606
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
39196
39607
  ref: ref2,
39197
39608
  className: clsx(classes.root, className)
39198
39609
  }, other));
@@ -39256,7 +39667,7 @@ var defaultComponent = "tr";
39256
39667
  var TableRow = /* @__PURE__ */ React$6.forwardRef(function TableRow2(props2, ref2) {
39257
39668
  var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props2.hover, hover3 = _props$hover === void 0 ? false : _props$hover, _props$selected = props2.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$3(props2, ["classes", "className", "component", "hover", "selected"]);
39258
39669
  var tablelvl22 = React$6.useContext(Tablelvl2Context$1);
39259
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
39670
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
39260
39671
  ref: ref2,
39261
39672
  className: clsx(classes.root, className, tablelvl22 && {
39262
39673
  "head": classes.head,
@@ -39412,7 +39823,7 @@ function ScrollbarSize(props2) {
39412
39823
  setMeasurements();
39413
39824
  onChange(scrollbarHeight.current);
39414
39825
  }, [onChange]);
39415
- return /* @__PURE__ */ React$6.createElement("div", _extends$b({
39826
+ return /* @__PURE__ */ React$6.createElement("div", _extends$a({
39416
39827
  style: styles$5,
39417
39828
  ref: nodeRef
39418
39829
  }, other));
@@ -39444,7 +39855,7 @@ var styles$4 = function styles32(theme) {
39444
39855
  };
39445
39856
  var TabIndicator = /* @__PURE__ */ React$6.forwardRef(function TabIndicator2(props2, ref2) {
39446
39857
  var classes = props2.classes, className = props2.className, color2 = props2.color, orientation = props2.orientation, other = _objectWithoutProperties$3(props2, ["classes", "className", "color", "orientation"]);
39447
- return /* @__PURE__ */ React$6.createElement("span", _extends$b({
39858
+ return /* @__PURE__ */ React$6.createElement("span", _extends$a({
39448
39859
  className: clsx(classes.root, classes["color".concat(capitalize$1(color2))], className, orientation === "vertical" && classes.vertical),
39449
39860
  ref: ref2
39450
39861
  }, other));
@@ -39501,7 +39912,7 @@ var _ref2 = /* @__PURE__ */ React$6.createElement(KeyboardArrowRight, {
39501
39912
  });
39502
39913
  var TabScrollButton = /* @__PURE__ */ React$6.forwardRef(function TabScrollButton2(props2, ref2) {
39503
39914
  var classes = props2.classes, classNameProp = props2.className, direction = props2.direction, orientation = props2.orientation, disabled = props2.disabled, other = _objectWithoutProperties$3(props2, ["classes", "className", "direction", "orientation", "disabled"]);
39504
- return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$b({
39915
+ return /* @__PURE__ */ React$6.createElement(ButtonBase$1, _extends$a({
39505
39916
  component: "div",
39506
39917
  className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === "vertical" && classes.vertical),
39507
39918
  ref: ref2,
@@ -39595,7 +40006,7 @@ var styles$2 = function styles33(theme) {
39595
40006
  /* Styles applied to the `ScrollButtonComponent` component. */
39596
40007
  scrollButtons: {},
39597
40008
  /* Styles applied to the `ScrollButtonComponent` component if `scrollButtons="auto"` or scrollButtons="desktop"`. */
39598
- scrollButtonsDesktop: _defineProperty$x({}, theme.breakpoints.down("xs"), {
40009
+ scrollButtonsDesktop: _defineProperty$w({}, theme.breakpoints.down("xs"), {
39599
40010
  display: "none"
39600
40011
  }),
39601
40012
  /* Styles applied to the `TabIndicator` component. */
@@ -39678,7 +40089,7 @@ var Tabs = /* @__PURE__ */ React$6.forwardRef(function Tabs2(props2, ref2) {
39678
40089
  startValue = tabMeta.left - tabsMeta.left + correction;
39679
40090
  }
39680
40091
  }
39681
- var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty$x(_newIndicatorStyle, start, startValue), _defineProperty$x(_newIndicatorStyle, size2, tabMeta ? tabMeta[size2] : 0), _newIndicatorStyle);
40092
+ var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty$w(_newIndicatorStyle, start, startValue), _defineProperty$w(_newIndicatorStyle, size2, tabMeta ? tabMeta[size2] : 0), _newIndicatorStyle);
39682
40093
  if (isNaN(indicatorStyle[start]) || isNaN(indicatorStyle[size2])) {
39683
40094
  setIndicatorStyle(newIndicatorStyle);
39684
40095
  } else {
@@ -39722,14 +40133,14 @@ var Tabs = /* @__PURE__ */ React$6.forwardRef(function Tabs2(props2, ref2) {
39722
40133
  }) : null;
39723
40134
  var scrollButtonsActive = displayScroll.start || displayScroll.end;
39724
40135
  var showScrollButtons = scrollable && (scrollButtons === "auto" && scrollButtonsActive || scrollButtons === "desktop" || scrollButtons === "on");
39725
- conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React$6.createElement(ScrollButtonComponent, _extends$b({
40136
+ conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React$6.createElement(ScrollButtonComponent, _extends$a({
39726
40137
  orientation,
39727
40138
  direction: isRtl ? "right" : "left",
39728
40139
  onClick: handleStartScrollClick,
39729
40140
  disabled: !displayScroll.start,
39730
40141
  className: clsx(classes.scrollButtons, scrollButtons !== "on" && classes.scrollButtonsDesktop)
39731
40142
  }, TabScrollButtonProps)) : null;
39732
- conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React$6.createElement(ScrollButtonComponent, _extends$b({
40143
+ conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React$6.createElement(ScrollButtonComponent, _extends$a({
39733
40144
  orientation,
39734
40145
  direction: isRtl ? "left" : "right",
39735
40146
  onClick: handleEndScrollClick,
@@ -39808,12 +40219,12 @@ var Tabs = /* @__PURE__ */ React$6.forwardRef(function Tabs2(props2, ref2) {
39808
40219
  updateScrollButtons: updateScrollButtonState
39809
40220
  };
39810
40221
  }, [updateIndicatorState, updateScrollButtonState]);
39811
- var indicator = /* @__PURE__ */ React$6.createElement(TabIndicator$1, _extends$b({
40222
+ var indicator = /* @__PURE__ */ React$6.createElement(TabIndicator$1, _extends$a({
39812
40223
  className: classes.indicator,
39813
40224
  orientation,
39814
40225
  color: indicatorColor
39815
40226
  }, TabIndicatorProps, {
39816
- style: _extends$b({}, indicatorStyle, TabIndicatorProps.style)
40227
+ style: _extends$a({}, indicatorStyle, TabIndicatorProps.style)
39817
40228
  }));
39818
40229
  var childIndex = 0;
39819
40230
  var children3 = React$6.Children.map(childrenProp, function(child2) {
@@ -39872,7 +40283,7 @@ var Tabs = /* @__PURE__ */ React$6.forwardRef(function Tabs2(props2, ref2) {
39872
40283
  }
39873
40284
  };
39874
40285
  var conditionalElements = getConditionalElements();
39875
- return /* @__PURE__ */ React$6.createElement(Component2, _extends$b({
40286
+ return /* @__PURE__ */ React$6.createElement(Component2, _extends$a({
39876
40287
  className: clsx(classes.root, className, vertical && classes.vertical),
39877
40288
  ref: ref2
39878
40289
  }, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /* @__PURE__ */ React$6.createElement("div", {
@@ -40034,7 +40445,7 @@ var TextField = /* @__PURE__ */ React$6.forwardRef(function TextField2(props2, r
40034
40445
  var helperTextId = helperText && id2 ? "".concat(id2, "-helper-text") : void 0;
40035
40446
  var inputLabelId = label2 && id2 ? "".concat(id2, "-label") : void 0;
40036
40447
  var InputComponent = variantComponent[variant];
40037
- var InputElement = /* @__PURE__ */ React$6.createElement(InputComponent, _extends$b({
40448
+ var InputElement = /* @__PURE__ */ React$6.createElement(InputComponent, _extends$a({
40038
40449
  "aria-describedby": helperTextId,
40039
40450
  autoComplete,
40040
40451
  autoFocus,
@@ -40056,7 +40467,7 @@ var TextField = /* @__PURE__ */ React$6.forwardRef(function TextField2(props2, r
40056
40467
  placeholder,
40057
40468
  inputProps
40058
40469
  }, InputMore, InputProps));
40059
- return /* @__PURE__ */ React$6.createElement(FormControl$1, _extends$b({
40470
+ return /* @__PURE__ */ React$6.createElement(FormControl$1, _extends$a({
40060
40471
  className: clsx(classes.root, className),
40061
40472
  disabled,
40062
40473
  error: error2,
@@ -40066,16 +40477,16 @@ var TextField = /* @__PURE__ */ React$6.forwardRef(function TextField2(props2, r
40066
40477
  required: required2,
40067
40478
  color: color2,
40068
40479
  variant
40069
- }, other), label2 && /* @__PURE__ */ React$6.createElement(InputLabel$1, _extends$b({
40480
+ }, other), label2 && /* @__PURE__ */ React$6.createElement(InputLabel$1, _extends$a({
40070
40481
  htmlFor: id2,
40071
40482
  id: inputLabelId
40072
- }, InputLabelProps), label2), select2 ? /* @__PURE__ */ React$6.createElement(Select$1, _extends$b({
40483
+ }, InputLabelProps), label2), select2 ? /* @__PURE__ */ React$6.createElement(Select$1, _extends$a({
40073
40484
  "aria-describedby": helperTextId,
40074
40485
  id: id2,
40075
40486
  labelId: inputLabelId,
40076
40487
  value: value2,
40077
40488
  input: InputElement
40078
- }, SelectProps), children3) : InputElement, helperText && /* @__PURE__ */ React$6.createElement(FormHelperText$1, _extends$b({
40489
+ }, SelectProps), children3) : InputElement, helperText && /* @__PURE__ */ React$6.createElement(FormHelperText$1, _extends$a({
40079
40490
  id: helperTextId
40080
40491
  }, FormHelperTextProps), helperText));
40081
40492
  });
@@ -44341,14 +44752,14 @@ function _objectSpread$f(target2) {
44341
44752
  for (var i2 = 1; i2 < arguments.length; i2++) {
44342
44753
  var source2 = null != arguments[i2] ? arguments[i2] : {};
44343
44754
  i2 % 2 ? ownKeys$i(Object(source2), true).forEach(function(key2) {
44344
- _defineProperty$w(target2, key2, source2[key2]);
44755
+ _defineProperty$v(target2, key2, source2[key2]);
44345
44756
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$i(Object(source2)).forEach(function(key2) {
44346
44757
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
44347
44758
  });
44348
44759
  }
44349
44760
  return target2;
44350
44761
  }
44351
- function _defineProperty$w(obj, key2, value2) {
44762
+ function _defineProperty$v(obj, key2, value2) {
44352
44763
  if (key2 in obj) {
44353
44764
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
44354
44765
  } else {
@@ -44949,14 +45360,14 @@ function _objectSpread$e(target2) {
44949
45360
  for (var i2 = 1; i2 < arguments.length; i2++) {
44950
45361
  var source2 = null != arguments[i2] ? arguments[i2] : {};
44951
45362
  i2 % 2 ? ownKeys$h(Object(source2), true).forEach(function(key2) {
44952
- _defineProperty$v(target2, key2, source2[key2]);
45363
+ _defineProperty$u(target2, key2, source2[key2]);
44953
45364
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$h(Object(source2)).forEach(function(key2) {
44954
45365
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
44955
45366
  });
44956
45367
  }
44957
45368
  return target2;
44958
45369
  }
44959
- function _defineProperty$v(obj, key2, value2) {
45370
+ function _defineProperty$u(obj, key2, value2) {
44960
45371
  if (key2 in obj) {
44961
45372
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
44962
45373
  } else {
@@ -45057,7 +45468,7 @@ function offsetXYFromParent(evt, offsetParent2, scale2) {
45057
45468
  }
45058
45469
  function createCSSTransform(controlPos, positionOffset2) {
45059
45470
  var translation = getTranslation(controlPos, positionOffset2, "px");
45060
- return _defineProperty$v({}, (0, _getPrefix.browserPrefixToKey)("transform", _getPrefix.default), translation);
45471
+ return _defineProperty$u({}, (0, _getPrefix.browserPrefixToKey)("transform", _getPrefix.default), translation);
45061
45472
  }
45062
45473
  function createSVGTransform(controlPos, positionOffset2) {
45063
45474
  var translation = getTranslation(controlPos, positionOffset2, "");
@@ -45471,7 +45882,7 @@ function _getPrototypeOf$A(o2) {
45471
45882
  };
45472
45883
  return _getPrototypeOf$A(o2);
45473
45884
  }
45474
- function _defineProperty$u(obj, key2, value2) {
45885
+ function _defineProperty$t(obj, key2, value2) {
45475
45886
  if (key2 in obj) {
45476
45887
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
45477
45888
  } else {
@@ -45502,15 +45913,15 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
45502
45913
  args[_key] = arguments[_key];
45503
45914
  }
45504
45915
  _this = _super.call.apply(_super, [this].concat(args));
45505
- _defineProperty$u(_assertThisInitialized$z(_this), "state", {
45916
+ _defineProperty$t(_assertThisInitialized$z(_this), "state", {
45506
45917
  dragging: false,
45507
45918
  // Used while dragging to determine deltas.
45508
45919
  lastX: NaN,
45509
45920
  lastY: NaN,
45510
45921
  touchIdentifier: null
45511
45922
  });
45512
- _defineProperty$u(_assertThisInitialized$z(_this), "mounted", false);
45513
- _defineProperty$u(_assertThisInitialized$z(_this), "handleDragStart", function(e3) {
45923
+ _defineProperty$t(_assertThisInitialized$z(_this), "mounted", false);
45924
+ _defineProperty$t(_assertThisInitialized$z(_this), "handleDragStart", function(e3) {
45514
45925
  _this.props.onMouseDown(e3);
45515
45926
  if (!_this.props.allowAnyClick && typeof e3.button === "number" && e3.button !== 0)
45516
45927
  return false;
@@ -45548,7 +45959,7 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
45548
45959
  (0, _domFns.addEvent)(ownerDocument2, dragEventFor.move, _this.handleDrag);
45549
45960
  (0, _domFns.addEvent)(ownerDocument2, dragEventFor.stop, _this.handleDragStop);
45550
45961
  });
45551
- _defineProperty$u(_assertThisInitialized$z(_this), "handleDrag", function(e3) {
45962
+ _defineProperty$t(_assertThisInitialized$z(_this), "handleDrag", function(e3) {
45552
45963
  var position2 = (0, _positionFns.getControlPosition)(e3, _this.state.touchIdentifier, _assertThisInitialized$z(_this));
45553
45964
  if (position2 == null)
45554
45965
  return;
@@ -45581,7 +45992,7 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
45581
45992
  lastY: y2
45582
45993
  });
45583
45994
  });
45584
- _defineProperty$u(_assertThisInitialized$z(_this), "handleDragStop", function(e3) {
45995
+ _defineProperty$t(_assertThisInitialized$z(_this), "handleDragStop", function(e3) {
45585
45996
  if (!_this.state.dragging)
45586
45997
  return;
45587
45998
  var position2 = (0, _positionFns.getControlPosition)(e3, _this.state.touchIdentifier, _assertThisInitialized$z(_this));
@@ -45618,19 +46029,19 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
45618
46029
  (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.stop, _this.handleDragStop);
45619
46030
  }
45620
46031
  });
45621
- _defineProperty$u(_assertThisInitialized$z(_this), "onMouseDown", function(e3) {
46032
+ _defineProperty$t(_assertThisInitialized$z(_this), "onMouseDown", function(e3) {
45622
46033
  dragEventFor = eventsFor.mouse;
45623
46034
  return _this.handleDragStart(e3);
45624
46035
  });
45625
- _defineProperty$u(_assertThisInitialized$z(_this), "onMouseUp", function(e3) {
46036
+ _defineProperty$t(_assertThisInitialized$z(_this), "onMouseUp", function(e3) {
45626
46037
  dragEventFor = eventsFor.mouse;
45627
46038
  return _this.handleDragStop(e3);
45628
46039
  });
45629
- _defineProperty$u(_assertThisInitialized$z(_this), "onTouchStart", function(e3) {
46040
+ _defineProperty$t(_assertThisInitialized$z(_this), "onTouchStart", function(e3) {
45630
46041
  dragEventFor = eventsFor.touch;
45631
46042
  return _this.handleDragStart(e3);
45632
46043
  });
45633
- _defineProperty$u(_assertThisInitialized$z(_this), "onTouchEnd", function(e3) {
46044
+ _defineProperty$t(_assertThisInitialized$z(_this), "onTouchEnd", function(e3) {
45634
46045
  dragEventFor = eventsFor.touch;
45635
46046
  return _this.handleDragStop(e3);
45636
46047
  });
@@ -45691,8 +46102,8 @@ var DraggableCore$1 = /* @__PURE__ */ function(_React$Component) {
45691
46102
  return DraggableCore2;
45692
46103
  }(React$5.Component);
45693
46104
  DraggableCore$2.default = DraggableCore$1;
45694
- _defineProperty$u(DraggableCore$1, "displayName", "DraggableCore");
45695
- _defineProperty$u(DraggableCore$1, "propTypes", {
46105
+ _defineProperty$t(DraggableCore$1, "displayName", "DraggableCore");
46106
+ _defineProperty$t(DraggableCore$1, "propTypes", {
45696
46107
  /**
45697
46108
  * `allowAnyClick` allows dragging using any mouse button.
45698
46109
  * By default, we only accept the left button.
@@ -45815,7 +46226,7 @@ _defineProperty$u(DraggableCore$1, "propTypes", {
45815
46226
  style: _shims.dontSetMe,
45816
46227
  transform: _shims.dontSetMe
45817
46228
  });
45818
- _defineProperty$u(DraggableCore$1, "defaultProps", {
46229
+ _defineProperty$t(DraggableCore$1, "defaultProps", {
45819
46230
  allowAnyClick: false,
45820
46231
  // by default only accept left click
45821
46232
  disabled: false,
@@ -46445,7 +46856,7 @@ function _objectSpread$d(target2) {
46445
46856
  var source2 = arguments[i2] != null ? arguments[i2] : {};
46446
46857
  if (i2 % 2) {
46447
46858
  ownKeys$g(Object(source2), true).forEach(function(key2) {
46448
- _defineProperty$t(target2, key2, source2[key2]);
46859
+ _defineProperty$s(target2, key2, source2[key2]);
46449
46860
  });
46450
46861
  } else if (Object.getOwnPropertyDescriptors) {
46451
46862
  Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
@@ -46457,7 +46868,7 @@ function _objectSpread$d(target2) {
46457
46868
  }
46458
46869
  return target2;
46459
46870
  }
46460
- function _defineProperty$t(obj, key2, value2) {
46871
+ function _defineProperty$s(obj, key2, value2) {
46461
46872
  if (key2 in obj) {
46462
46873
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
46463
46874
  } else {
@@ -46660,7 +47071,7 @@ function _objectSpread$c(target2) {
46660
47071
  var source2 = arguments[i2] != null ? arguments[i2] : {};
46661
47072
  if (i2 % 2) {
46662
47073
  ownKeys$f(Object(source2), true).forEach(function(key2) {
46663
- _defineProperty$s(target2, key2, source2[key2]);
47074
+ _defineProperty$r(target2, key2, source2[key2]);
46664
47075
  });
46665
47076
  } else if (Object.getOwnPropertyDescriptors) {
46666
47077
  Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
@@ -46672,7 +47083,7 @@ function _objectSpread$c(target2) {
46672
47083
  }
46673
47084
  return target2;
46674
47085
  }
46675
- function _defineProperty$s(obj, key2, value2) {
47086
+ function _defineProperty$r(obj, key2, value2) {
46676
47087
  if (key2 in obj) {
46677
47088
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
46678
47089
  } else {
@@ -46937,7 +47348,7 @@ function _objectSpread$b(target2) {
46937
47348
  var source2 = arguments[i2] != null ? arguments[i2] : {};
46938
47349
  if (i2 % 2) {
46939
47350
  ownKeys$e(Object(source2), true).forEach(function(key2) {
46940
- _defineProperty$r(target2, key2, source2[key2]);
47351
+ _defineProperty$q(target2, key2, source2[key2]);
46941
47352
  });
46942
47353
  } else if (Object.getOwnPropertyDescriptors) {
46943
47354
  Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
@@ -46949,7 +47360,7 @@ function _objectSpread$b(target2) {
46949
47360
  }
46950
47361
  return target2;
46951
47362
  }
46952
- function _defineProperty$r(obj, key2, value2) {
47363
+ function _defineProperty$q(obj, key2, value2) {
46953
47364
  if (key2 in obj) {
46954
47365
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
46955
47366
  } else {
@@ -47230,7 +47641,7 @@ function _objectSpread$a(target2) {
47230
47641
  for (var i2 = 1; i2 < arguments.length; i2++) {
47231
47642
  var source2 = null != arguments[i2] ? arguments[i2] : {};
47232
47643
  i2 % 2 ? ownKeys$d(Object(source2), true).forEach(function(key2) {
47233
- _defineProperty$q(target2, key2, source2[key2]);
47644
+ _defineProperty$p(target2, key2, source2[key2]);
47234
47645
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$d(Object(source2)).forEach(function(key2) {
47235
47646
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
47236
47647
  });
@@ -47324,7 +47735,7 @@ function _getPrototypeOf$z(o2) {
47324
47735
  };
47325
47736
  return _getPrototypeOf$z(o2);
47326
47737
  }
47327
- function _defineProperty$q(obj, key2, value2) {
47738
+ function _defineProperty$p(obj, key2, value2) {
47328
47739
  if (key2 in obj) {
47329
47740
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
47330
47741
  } else {
@@ -47342,13 +47753,13 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
47342
47753
  args[_key] = arguments[_key];
47343
47754
  }
47344
47755
  _this = _super.call.apply(_super, [this].concat(args));
47345
- _defineProperty$q(_assertThisInitialized$y(_this), "state", {
47756
+ _defineProperty$p(_assertThisInitialized$y(_this), "state", {
47346
47757
  resizing: null,
47347
47758
  dragging: null,
47348
47759
  className: ""
47349
47760
  });
47350
- _defineProperty$q(_assertThisInitialized$y(_this), "elementRef", /* @__PURE__ */ _react$2.default.createRef());
47351
- _defineProperty$q(_assertThisInitialized$y(_this), "onDragStart", function(e3, _ref3) {
47761
+ _defineProperty$p(_assertThisInitialized$y(_this), "elementRef", /* @__PURE__ */ _react$2.default.createRef());
47762
+ _defineProperty$p(_assertThisInitialized$y(_this), "onDragStart", function(e3, _ref3) {
47352
47763
  var node = _ref3.node;
47353
47764
  var _this$props = _this.props, onDragStart = _this$props.onDragStart, transformScale2 = _this$props.transformScale;
47354
47765
  if (!onDragStart)
@@ -47378,7 +47789,7 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
47378
47789
  newPosition
47379
47790
  });
47380
47791
  });
47381
- _defineProperty$q(_assertThisInitialized$y(_this), "onDrag", function(e3, _ref22) {
47792
+ _defineProperty$p(_assertThisInitialized$y(_this), "onDrag", function(e3, _ref22) {
47382
47793
  var node = _ref22.node, deltaX = _ref22.deltaX, deltaY = _ref22.deltaY;
47383
47794
  var onDrag2 = _this.props.onDrag;
47384
47795
  if (!onDrag2)
@@ -47415,7 +47826,7 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
47415
47826
  newPosition
47416
47827
  });
47417
47828
  });
47418
- _defineProperty$q(_assertThisInitialized$y(_this), "onDragStop", function(e3, _ref3) {
47829
+ _defineProperty$p(_assertThisInitialized$y(_this), "onDragStop", function(e3, _ref3) {
47419
47830
  var node = _ref3.node;
47420
47831
  var onDragStop = _this.props.onDragStop;
47421
47832
  if (!onDragStop)
@@ -47439,13 +47850,13 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
47439
47850
  newPosition
47440
47851
  });
47441
47852
  });
47442
- _defineProperty$q(_assertThisInitialized$y(_this), "onResizeStop", function(e3, callbackData) {
47853
+ _defineProperty$p(_assertThisInitialized$y(_this), "onResizeStop", function(e3, callbackData) {
47443
47854
  _this.onResizeHandler(e3, callbackData, "onResizeStop");
47444
47855
  });
47445
- _defineProperty$q(_assertThisInitialized$y(_this), "onResizeStart", function(e3, callbackData) {
47856
+ _defineProperty$p(_assertThisInitialized$y(_this), "onResizeStart", function(e3, callbackData) {
47446
47857
  _this.onResizeHandler(e3, callbackData, "onResizeStart");
47447
47858
  });
47448
- _defineProperty$q(_assertThisInitialized$y(_this), "onResize", function(e3, callbackData) {
47859
+ _defineProperty$p(_assertThisInitialized$y(_this), "onResize", function(e3, callbackData) {
47449
47860
  _this.onResizeHandler(e3, callbackData, "onResize");
47450
47861
  });
47451
47862
  return _this;
@@ -47664,7 +48075,7 @@ var GridItem = /* @__PURE__ */ function(_React$Component) {
47664
48075
  return GridItem2;
47665
48076
  }(_react$2.default.Component);
47666
48077
  GridItem$1.default = GridItem;
47667
- _defineProperty$q(GridItem, "propTypes", {
48078
+ _defineProperty$p(GridItem, "propTypes", {
47668
48079
  // Children must be only a single element
47669
48080
  children: _propTypes$2.default.element,
47670
48081
  // General grid attributes
@@ -47741,7 +48152,7 @@ _defineProperty$q(GridItem, "propTypes", {
47741
48152
  top: _propTypes$2.default.number.isRequired
47742
48153
  })
47743
48154
  });
47744
- _defineProperty$q(GridItem, "defaultProps", {
48155
+ _defineProperty$p(GridItem, "defaultProps", {
47745
48156
  className: "",
47746
48157
  cancel: "",
47747
48158
  handle: "",
@@ -47839,7 +48250,7 @@ function _objectSpread$9(target2) {
47839
48250
  for (var i2 = 1; i2 < arguments.length; i2++) {
47840
48251
  var source2 = null != arguments[i2] ? arguments[i2] : {};
47841
48252
  i2 % 2 ? ownKeys$c(Object(source2), true).forEach(function(key2) {
47842
- _defineProperty$p(target2, key2, source2[key2]);
48253
+ _defineProperty$o(target2, key2, source2[key2]);
47843
48254
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$c(Object(source2)).forEach(function(key2) {
47844
48255
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
47845
48256
  });
@@ -47992,7 +48403,7 @@ function _getPrototypeOf$y(o2) {
47992
48403
  };
47993
48404
  return _getPrototypeOf$y(o2);
47994
48405
  }
47995
- function _defineProperty$p(obj, key2, value2) {
48406
+ function _defineProperty$o(obj, key2, value2) {
47996
48407
  if (key2 in obj) {
47997
48408
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
47998
48409
  } else {
@@ -48016,7 +48427,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48016
48427
  args[_key] = arguments[_key];
48017
48428
  }
48018
48429
  _this = _super.call.apply(_super, [this].concat(args));
48019
- _defineProperty$p(_assertThisInitialized$x(_this), "state", {
48430
+ _defineProperty$o(_assertThisInitialized$x(_this), "state", {
48020
48431
  activeDrag: null,
48021
48432
  layout: (0, _utils$h.synchronizeLayoutWithChildren)(
48022
48433
  _this.props.layout,
@@ -48033,8 +48444,8 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48033
48444
  droppingDOMNode: null,
48034
48445
  children: []
48035
48446
  });
48036
- _defineProperty$p(_assertThisInitialized$x(_this), "dragEnterCounter", 0);
48037
- _defineProperty$p(_assertThisInitialized$x(_this), "onDragStart", function(i2, x2, y2, _ref3) {
48447
+ _defineProperty$o(_assertThisInitialized$x(_this), "dragEnterCounter", 0);
48448
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDragStart", function(i2, x2, y2, _ref3) {
48038
48449
  var e3 = _ref3.e, node = _ref3.node;
48039
48450
  var layout2 = _this.state.layout;
48040
48451
  var l2 = (0, _utils$h.getLayoutItem)(layout2, i2);
@@ -48046,7 +48457,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48046
48457
  });
48047
48458
  return _this.props.onDragStart(layout2, l2, l2, null, e3, node);
48048
48459
  });
48049
- _defineProperty$p(_assertThisInitialized$x(_this), "onDrag", function(i2, x2, y2, _ref22) {
48460
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDrag", function(i2, x2, y2, _ref22) {
48050
48461
  var e3 = _ref22.e, node = _ref22.node;
48051
48462
  var oldDragItem = _this.state.oldDragItem;
48052
48463
  var layout2 = _this.state.layout;
@@ -48070,7 +48481,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48070
48481
  activeDrag: placeholder
48071
48482
  });
48072
48483
  });
48073
- _defineProperty$p(_assertThisInitialized$x(_this), "onDragStop", function(i2, x2, y2, _ref3) {
48484
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDragStop", function(i2, x2, y2, _ref3) {
48074
48485
  var e3 = _ref3.e, node = _ref3.node;
48075
48486
  if (!_this.state.activeDrag)
48076
48487
  return;
@@ -48093,7 +48504,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48093
48504
  });
48094
48505
  _this.onLayoutMaybeChanged(newLayout, oldLayout);
48095
48506
  });
48096
- _defineProperty$p(_assertThisInitialized$x(_this), "onResizeStart", function(i2, w2, h2, _ref4) {
48507
+ _defineProperty$o(_assertThisInitialized$x(_this), "onResizeStart", function(i2, w2, h2, _ref4) {
48097
48508
  var e3 = _ref4.e, node = _ref4.node;
48098
48509
  var layout2 = _this.state.layout;
48099
48510
  var l2 = (0, _utils$h.getLayoutItem)(layout2, i2);
@@ -48105,7 +48516,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48105
48516
  });
48106
48517
  _this.props.onResizeStart(layout2, l2, l2, null, e3, node);
48107
48518
  });
48108
- _defineProperty$p(_assertThisInitialized$x(_this), "onResize", function(i2, w2, h2, _ref5) {
48519
+ _defineProperty$o(_assertThisInitialized$x(_this), "onResize", function(i2, w2, h2, _ref5) {
48109
48520
  var e3 = _ref5.e, node = _ref5.node;
48110
48521
  var _this$state = _this.state, layout2 = _this$state.layout, oldResizeItem = _this$state.oldResizeItem;
48111
48522
  var _this$props3 = _this.props, cols = _this$props3.cols, preventCollision = _this$props3.preventCollision, allowOverlap = _this$props3.allowOverlap;
@@ -48155,7 +48566,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48155
48566
  activeDrag: placeholder
48156
48567
  });
48157
48568
  });
48158
- _defineProperty$p(_assertThisInitialized$x(_this), "onResizeStop", function(i2, w2, h2, _ref6) {
48569
+ _defineProperty$o(_assertThisInitialized$x(_this), "onResizeStop", function(i2, w2, h2, _ref6) {
48159
48570
  var e3 = _ref6.e, node = _ref6.node;
48160
48571
  var _this$state2 = _this.state, layout2 = _this$state2.layout, oldResizeItem = _this$state2.oldResizeItem;
48161
48572
  var _this$props4 = _this.props, cols = _this$props4.cols, allowOverlap = _this$props4.allowOverlap;
@@ -48171,7 +48582,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48171
48582
  });
48172
48583
  _this.onLayoutMaybeChanged(newLayout, oldLayout);
48173
48584
  });
48174
- _defineProperty$p(_assertThisInitialized$x(_this), "onDragOver", function(e3) {
48585
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDragOver", function(e3) {
48175
48586
  var _e$nativeEvent$target;
48176
48587
  e3.preventDefault();
48177
48588
  e3.stopPropagation();
@@ -48227,7 +48638,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48227
48638
  }
48228
48639
  }
48229
48640
  });
48230
- _defineProperty$p(_assertThisInitialized$x(_this), "removeDroppingPlaceholder", function() {
48641
+ _defineProperty$o(_assertThisInitialized$x(_this), "removeDroppingPlaceholder", function() {
48231
48642
  var _this$props6 = _this.props, droppingItem = _this$props6.droppingItem, cols = _this$props6.cols;
48232
48643
  var layout2 = _this.state.layout;
48233
48644
  var newLayout = (0, _utils$h.compact)(layout2.filter(function(l2) {
@@ -48240,7 +48651,7 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48240
48651
  droppingPosition: void 0
48241
48652
  });
48242
48653
  });
48243
- _defineProperty$p(_assertThisInitialized$x(_this), "onDragLeave", function(e3) {
48654
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDragLeave", function(e3) {
48244
48655
  e3.preventDefault();
48245
48656
  e3.stopPropagation();
48246
48657
  _this.dragEnterCounter--;
@@ -48248,12 +48659,12 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48248
48659
  _this.removeDroppingPlaceholder();
48249
48660
  }
48250
48661
  });
48251
- _defineProperty$p(_assertThisInitialized$x(_this), "onDragEnter", function(e3) {
48662
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDragEnter", function(e3) {
48252
48663
  e3.preventDefault();
48253
48664
  e3.stopPropagation();
48254
48665
  _this.dragEnterCounter++;
48255
48666
  });
48256
- _defineProperty$p(_assertThisInitialized$x(_this), "onDrop", function(e3) {
48667
+ _defineProperty$o(_assertThisInitialized$x(_this), "onDrop", function(e3) {
48257
48668
  e3.preventDefault();
48258
48669
  e3.stopPropagation();
48259
48670
  var droppingItem = _this.props.droppingItem;
@@ -48464,9 +48875,9 @@ var ReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48464
48875
  return ReactGridLayout2;
48465
48876
  }(React$2.Component);
48466
48877
  ReactGridLayout$1.default = ReactGridLayout;
48467
- _defineProperty$p(ReactGridLayout, "displayName", "ReactGridLayout");
48468
- _defineProperty$p(ReactGridLayout, "propTypes", _ReactGridLayoutPropTypes.default);
48469
- _defineProperty$p(ReactGridLayout, "defaultProps", {
48878
+ _defineProperty$o(ReactGridLayout, "displayName", "ReactGridLayout");
48879
+ _defineProperty$o(ReactGridLayout, "propTypes", _ReactGridLayoutPropTypes.default);
48880
+ _defineProperty$o(ReactGridLayout, "defaultProps", {
48470
48881
  autoSize: true,
48471
48882
  cols: 12,
48472
48883
  className: "",
@@ -48675,7 +49086,7 @@ function _objectSpread$8(target2) {
48675
49086
  for (var i2 = 1; i2 < arguments.length; i2++) {
48676
49087
  var source2 = null != arguments[i2] ? arguments[i2] : {};
48677
49088
  i2 % 2 ? ownKeys$b(Object(source2), true).forEach(function(key2) {
48678
- _defineProperty$o(target2, key2, source2[key2]);
49089
+ _defineProperty$n(target2, key2, source2[key2]);
48679
49090
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$b(Object(source2)).forEach(function(key2) {
48680
49091
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
48681
49092
  });
@@ -48769,7 +49180,7 @@ function _getPrototypeOf$x(o2) {
48769
49180
  };
48770
49181
  return _getPrototypeOf$x(o2);
48771
49182
  }
48772
- function _defineProperty$o(obj, key2, value2) {
49183
+ function _defineProperty$n(obj, key2, value2) {
48773
49184
  if (key2 in obj) {
48774
49185
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
48775
49186
  } else {
@@ -48795,9 +49206,9 @@ var ResponsiveReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48795
49206
  args[_key] = arguments[_key];
48796
49207
  }
48797
49208
  _this = _super.call.apply(_super, [this].concat(args));
48798
- _defineProperty$o(_assertThisInitialized$w(_this), "state", _this.generateInitialState());
48799
- _defineProperty$o(_assertThisInitialized$w(_this), "onLayoutChange", function(layout2) {
48800
- _this.props.onLayoutChange(layout2, _objectSpread$8(_objectSpread$8({}, _this.props.layouts), {}, _defineProperty$o({}, _this.state.breakpoint, layout2)));
49209
+ _defineProperty$n(_assertThisInitialized$w(_this), "state", _this.generateInitialState());
49210
+ _defineProperty$n(_assertThisInitialized$w(_this), "onLayoutChange", function(layout2) {
49211
+ _this.props.onLayoutChange(layout2, _objectSpread$8(_objectSpread$8({}, _this.props.layouts), {}, _defineProperty$n({}, _this.state.breakpoint, layout2)));
48801
49212
  });
48802
49213
  return _this;
48803
49214
  }
@@ -48894,7 +49305,7 @@ var ResponsiveReactGridLayout = /* @__PURE__ */ function(_React$Component) {
48894
49305
  return ResponsiveReactGridLayout2;
48895
49306
  }(React$1.Component);
48896
49307
  ResponsiveReactGridLayout$1.default = ResponsiveReactGridLayout;
48897
- _defineProperty$o(ResponsiveReactGridLayout, "propTypes", {
49308
+ _defineProperty$n(ResponsiveReactGridLayout, "propTypes", {
48898
49309
  //
48899
49310
  // Basic props
48900
49311
  //
@@ -48943,7 +49354,7 @@ _defineProperty$o(ResponsiveReactGridLayout, "propTypes", {
48943
49354
  // Calls back with (containerWidth, margin, cols, containerPadding)
48944
49355
  onWidthChange: _propTypes$1.default.func
48945
49356
  });
48946
- _defineProperty$o(ResponsiveReactGridLayout, "defaultProps", {
49357
+ _defineProperty$n(ResponsiveReactGridLayout, "defaultProps", {
48947
49358
  breakpoints: {
48948
49359
  lg: 1200,
48949
49360
  md: 996,
@@ -49163,7 +49574,7 @@ function _getPrototypeOf$w(o2) {
49163
49574
  };
49164
49575
  return _getPrototypeOf$w(o2);
49165
49576
  }
49166
- function _defineProperty$n(obj, key2, value2) {
49577
+ function _defineProperty$m(obj, key2, value2) {
49167
49578
  if (key2 in obj) {
49168
49579
  Object.defineProperty(obj, key2, { value: value2, enumerable: true, configurable: true, writable: true });
49169
49580
  } else {
@@ -49184,12 +49595,12 @@ function WidthProvideRGL(ComposedComponent) {
49184
49595
  args[_key] = arguments[_key];
49185
49596
  }
49186
49597
  _this = _super.call.apply(_super, [this].concat(args));
49187
- _defineProperty$n(_assertThisInitialized$v(_this), "state", {
49598
+ _defineProperty$m(_assertThisInitialized$v(_this), "state", {
49188
49599
  width: 1280
49189
49600
  });
49190
- _defineProperty$n(_assertThisInitialized$v(_this), "elementRef", /* @__PURE__ */ React.createRef());
49191
- _defineProperty$n(_assertThisInitialized$v(_this), "mounted", false);
49192
- _defineProperty$n(_assertThisInitialized$v(_this), "onWindowResize", function() {
49601
+ _defineProperty$m(_assertThisInitialized$v(_this), "elementRef", /* @__PURE__ */ React.createRef());
49602
+ _defineProperty$m(_assertThisInitialized$v(_this), "mounted", false);
49603
+ _defineProperty$m(_assertThisInitialized$v(_this), "onWindowResize", function() {
49193
49604
  if (!_this.mounted)
49194
49605
  return;
49195
49606
  var node = _this.elementRef.current;
@@ -49231,9 +49642,9 @@ function WidthProvideRGL(ComposedComponent) {
49231
49642
  }
49232
49643
  }]);
49233
49644
  return WidthProvider2;
49234
- }(React.Component), _defineProperty$n(_class, "defaultProps", {
49645
+ }(React.Component), _defineProperty$m(_class, "defaultProps", {
49235
49646
  measureBeforeMount: false
49236
- }), _defineProperty$n(_class, "propTypes", {
49647
+ }), _defineProperty$m(_class, "propTypes", {
49237
49648
  // If true, will not render children until mounted. Useful for getting the exact width before
49238
49649
  // rendering, to prevent any unsightly resizing.
49239
49650
  measureBeforeMount: _propTypes.default.bool
@@ -49757,7 +50168,10 @@ function useReady(statusValues) {
49757
50168
  }
49758
50169
  function useUrls(urls2) {
49759
50170
  const mergedUrls = useMemo(
49760
- () => urls2.filter((a2) => Array.isArray(a2)).flat(),
50171
+ () => urls2.filter((a2) => Array.isArray(a2)).flat().filter((url, index2, array2) => {
50172
+ const firstIndex = array2.findIndex((u2) => u2.name === url.name);
50173
+ return index2 === firstIndex;
50174
+ }),
49761
50175
  // eslint-disable-next-line react-hooks/exhaustive-deps
49762
50176
  urls2
49763
50177
  );
@@ -50515,7 +50929,7 @@ function VitS(props2) {
50515
50929
  }
50516
50930
  return createViewConfigStore(null, null);
50517
50931
  }, [success, configKey]);
50518
- return success ? jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(QueryClientProvider, { client: queryClient, children: jsxRuntimeExports.jsx(ViewConfigProvider, { createStore: createViewConfigStoreClosure, children: jsxRuntimeExports.jsxs(AuxiliaryProvider, { createStore: createAuxiliaryStore, children: [jsxRuntimeExports.jsx(VitessceGrid, { success, configKey, viewTypes, fileTypes, coordinationTypes, config: configOrWarning, rowHeight, height: height2, theme, isBounded }), jsxRuntimeExports.jsx(CallbackPublisher, { onWarn, onConfigChange, onLoaderChange, validateOnConfigChange, pluginSpecificConfigSchema })] }) }) }) }) }) : jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(Warning, { ...configOrWarning }) }) });
50932
+ return success ? jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(QueryClientProvider, { client: queryClient, children: jsxRuntimeExports.jsx(ViewConfigProvider, { createStore: createViewConfigStoreClosure, children: jsxRuntimeExports.jsxs(AuxiliaryProvider, { createStore: createAuxiliaryStore, children: [jsxRuntimeExports.jsx(VitessceGrid, { success, configKey, viewTypes, fileTypes, coordinationTypes, config: configOrWarning, rowHeight, height: height2, theme, isBounded }), jsxRuntimeExports.jsx(CallbackPublisher, { onWarn, onConfigChange, onLoaderChange, validateOnConfigChange, pluginSpecificConfigSchema })] }) }, configKey) }) }) }) : jsxRuntimeExports.jsx(StylesProvider, { generateClassName: generateClassName2, children: jsxRuntimeExports.jsx(ThemeProvider, { theme: muiTheme[theme], children: jsxRuntimeExports.jsx(Warning, { ...configOrWarning }) }) });
50519
50933
  }
50520
50934
  const AddIcon = createSvgIcon(/* @__PURE__ */ React$6.createElement("path", {
50521
50935
  d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
@@ -51642,8 +52056,8 @@ var defineProperty$6 = function defineProperty(it, key2, desc) {
51642
52056
  return $Object$2.defineProperty(it, key2, desc);
51643
52057
  };
51644
52058
  var defineProperty$5 = { "default": defineProperty$6, __esModule: true };
51645
- var _defineProperty$m = defineProperty$5;
51646
- var _defineProperty2$1 = _interopRequireDefault$p(_defineProperty$m);
52059
+ var _defineProperty$l = defineProperty$5;
52060
+ var _defineProperty2$1 = _interopRequireDefault$p(_defineProperty$l);
51647
52061
  function _interopRequireDefault$p(obj) {
51648
52062
  return obj && obj.__esModule ? obj : { default: obj };
51649
52063
  }
@@ -51665,8 +52079,8 @@ var _default$9 = function(instance, Constructor) {
51665
52079
  throw new TypeError("Cannot call a class as a function");
51666
52080
  }
51667
52081
  };
51668
- var _defineProperty$l = defineProperty$5;
51669
- var _defineProperty2 = _interopRequireDefault$o(_defineProperty$l);
52082
+ var _defineProperty$k = defineProperty$5;
52083
+ var _defineProperty2 = _interopRequireDefault$o(_defineProperty$k);
51670
52084
  function _interopRequireDefault$o(obj) {
51671
52085
  return obj && obj.__esModule ? obj : { default: obj };
51672
52086
  }
@@ -54394,27 +54808,13 @@ function _objectSpread2$2(target2) {
54394
54808
  for (var i2 = 1; i2 < arguments.length; i2++) {
54395
54809
  var source2 = null != arguments[i2] ? arguments[i2] : {};
54396
54810
  i2 % 2 ? ownKeys$a(Object(source2), true).forEach(function(key2) {
54397
- _defineProperty$x(target2, key2, source2[key2]);
54811
+ _defineProperty$w(target2, key2, source2[key2]);
54398
54812
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$a(Object(source2)).forEach(function(key2) {
54399
54813
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
54400
54814
  });
54401
54815
  }
54402
54816
  return target2;
54403
54817
  }
54404
- function _defineProperty$k(obj, key2, value2) {
54405
- key2 = _toPropertyKey(key2);
54406
- if (key2 in obj) {
54407
- Object.defineProperty(obj, key2, {
54408
- value: value2,
54409
- enumerable: true,
54410
- configurable: true,
54411
- writable: true
54412
- });
54413
- } else {
54414
- obj[key2] = value2;
54415
- }
54416
- return obj;
54417
- }
54418
54818
  function ownKeys$9(object2, enumerableOnly) {
54419
54819
  var keys4 = Object.keys(object2);
54420
54820
  if (Object.getOwnPropertySymbols) {
@@ -54429,7 +54829,7 @@ function _objectSpread2$1(target2) {
54429
54829
  for (var i2 = 1; i2 < arguments.length; i2++) {
54430
54830
  var source2 = null != arguments[i2] ? arguments[i2] : {};
54431
54831
  i2 % 2 ? ownKeys$9(Object(source2), true).forEach(function(key2) {
54432
- _defineProperty$k(target2, key2, source2[key2]);
54832
+ _defineProperty$x(target2, key2, source2[key2]);
54433
54833
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$9(Object(source2)).forEach(function(key2) {
54434
54834
  Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
54435
54835
  });
@@ -54480,7 +54880,7 @@ function _isNativeReflectConstruct$w() {
54480
54880
  }
54481
54881
  }
54482
54882
  function _possibleConstructorReturn$w(self2, call) {
54483
- if (call && (_typeof$F(call) === "object" || typeof call === "function")) {
54883
+ if (call && (_typeof$H(call) === "object" || typeof call === "function")) {
54484
54884
  return call;
54485
54885
  } else if (call !== void 0) {
54486
54886
  throw new TypeError("Derived constructors may only return object or undefined");
@@ -54567,7 +54967,7 @@ function findDOMNode(node) {
54567
54967
  function fillRef(ref2, node) {
54568
54968
  if (typeof ref2 === "function") {
54569
54969
  ref2(node);
54570
- } else if (_typeof$F(ref2) === "object" && ref2 && "current" in ref2) {
54970
+ } else if (_typeof$H(ref2) === "object" && ref2 && "current" in ref2) {
54571
54971
  ref2.current = node;
54572
54972
  }
54573
54973
  }
@@ -54782,7 +55182,7 @@ var transitionEndName = internalTransitionEndName || "transitionend";
54782
55182
  function getTransitionName$1(transitionName, transitionType) {
54783
55183
  if (!transitionName)
54784
55184
  return null;
54785
- if (_typeof$F(transitionName) === "object") {
55185
+ if (_typeof$H(transitionName) === "object") {
54786
55186
  var type3 = transitionType.replace(/-\w/g, function(match2) {
54787
55187
  return match2[1].toUpperCase();
54788
55188
  });
@@ -54952,11 +55352,11 @@ function useStatus(supportMotion, visible, getElement2, _ref3) {
54952
55352
  var _ref22, _ref32, _ref4;
54953
55353
  switch (status) {
54954
55354
  case STATUS_APPEAR:
54955
- return _ref22 = {}, _defineProperty$k(_ref22, STEP_PREPARE, onAppearPrepare), _defineProperty$k(_ref22, STEP_START, onAppearStart), _defineProperty$k(_ref22, STEP_ACTIVE, onAppearActive), _ref22;
55355
+ return _ref22 = {}, _defineProperty$x(_ref22, STEP_PREPARE, onAppearPrepare), _defineProperty$x(_ref22, STEP_START, onAppearStart), _defineProperty$x(_ref22, STEP_ACTIVE, onAppearActive), _ref22;
54956
55356
  case STATUS_ENTER:
54957
- return _ref32 = {}, _defineProperty$k(_ref32, STEP_PREPARE, onEnterPrepare), _defineProperty$k(_ref32, STEP_START, onEnterStart), _defineProperty$k(_ref32, STEP_ACTIVE, onEnterActive), _ref32;
55357
+ return _ref32 = {}, _defineProperty$x(_ref32, STEP_PREPARE, onEnterPrepare), _defineProperty$x(_ref32, STEP_START, onEnterStart), _defineProperty$x(_ref32, STEP_ACTIVE, onEnterActive), _ref32;
54958
55358
  case STATUS_LEAVE:
54959
- return _ref4 = {}, _defineProperty$k(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty$k(_ref4, STEP_START, onLeaveStart), _defineProperty$k(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
55359
+ return _ref4 = {}, _defineProperty$x(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty$x(_ref4, STEP_START, onLeaveStart), _defineProperty$x(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
54960
55360
  default:
54961
55361
  return {};
54962
55362
  }
@@ -55063,7 +55463,7 @@ var DomWrapper = /* @__PURE__ */ function(_React$Component) {
55063
55463
  }(React$6.Component);
55064
55464
  function genCSSMotion(config3) {
55065
55465
  var transitionSupport = config3;
55066
- if (_typeof$F(config3) === "object") {
55466
+ if (_typeof$H(config3) === "object") {
55067
55467
  transitionSupport = config3.transitionSupport;
55068
55468
  }
55069
55469
  function isSupportTransition(props2) {
@@ -55123,7 +55523,7 @@ function genCSSMotion(config3) {
55123
55523
  statusSuffix = "start";
55124
55524
  }
55125
55525
  motionChildren = children3(_objectSpread2$1(_objectSpread2$1({}, mergedProps), {}, {
55126
- className: classNames(getTransitionName$1(motionName, status), (_classNames = {}, _defineProperty$k(_classNames, getTransitionName$1(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), _defineProperty$k(_classNames, motionName, typeof motionName === "string"), _classNames)),
55526
+ className: classNames(getTransitionName$1(motionName, status), (_classNames = {}, _defineProperty$x(_classNames, getTransitionName$1(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), _defineProperty$x(_classNames, motionName, typeof motionName === "string"), _classNames)),
55127
55527
  style: statusStyle
55128
55528
  }), setNodeRef);
55129
55529
  }
@@ -55176,7 +55576,7 @@ function Mask(props2) {
55176
55576
  animation: maskAnimation
55177
55577
  }));
55178
55578
  }
55179
- return /* @__PURE__ */ React$6.createElement(CSSMotion, _extends$a({}, motion, {
55579
+ return /* @__PURE__ */ React$6.createElement(CSSMotion, _extends$b({}, motion, {
55180
55580
  visible,
55181
55581
  removeOnLeave: true
55182
55582
  }), function(_ref3) {
@@ -56765,7 +57165,7 @@ function getElement(func) {
56765
57165
  return func();
56766
57166
  }
56767
57167
  function getPoint(point2) {
56768
- if (_typeof$F(point2) !== "object" || !point2)
57168
+ if (_typeof$H(point2) !== "object" || !point2)
56769
57169
  return null;
56770
57170
  return point2;
56771
57171
  }
@@ -56940,7 +57340,7 @@ function _regeneratorRuntime$1() {
56940
57340
  var record = tryCatch2(generator[method2], generator, arg);
56941
57341
  if ("throw" !== record.type) {
56942
57342
  var result = record.arg, value2 = result.value;
56943
- return value2 && "object" == _typeof$F(value2) && hasOwn2.call(value2, "__await") ? PromiseImpl.resolve(value2.__await).then(function(value3) {
57343
+ return value2 && "object" == _typeof$H(value2) && hasOwn2.call(value2, "__await") ? PromiseImpl.resolve(value2.__await).then(function(value3) {
56944
57344
  invoke2("next", value3, resolve2, reject);
56945
57345
  }, function(err2) {
56946
57346
  invoke2("throw", err2, resolve2, reject);
@@ -57405,7 +57805,7 @@ var PopupInner = /* @__PURE__ */ React$6.forwardRef(function(props2, ref2) {
57405
57805
  className: "".concat(prefixCls, "-content")
57406
57806
  }, children3);
57407
57807
  }
57408
- return /* @__PURE__ */ React$6.createElement(CSSMotion, _extends$a({
57808
+ return /* @__PURE__ */ React$6.createElement(CSSMotion, _extends$b({
57409
57809
  visible,
57410
57810
  ref: elementRef,
57411
57811
  leavedClassName: "".concat(prefixCls, "-hidden")
@@ -57464,7 +57864,7 @@ var MobilePopupInner = /* @__PURE__ */ React$6.forwardRef(function(props2, ref2)
57464
57864
  if (popupRender) {
57465
57865
  childNode = popupRender(childNode);
57466
57866
  }
57467
- return /* @__PURE__ */ React$6.createElement(CSSMotion, _extends$a({
57867
+ return /* @__PURE__ */ React$6.createElement(CSSMotion, _extends$b({
57468
57868
  visible,
57469
57869
  ref: elementRef,
57470
57870
  removeOnLeave: true
@@ -57494,10 +57894,10 @@ var Popup$1 = /* @__PURE__ */ React$6.forwardRef(function(_ref3, ref2) {
57494
57894
  setInMobile(isMobile$1());
57495
57895
  }
57496
57896
  }, [visible, mobile]);
57497
- var popupNode = inMobile ? /* @__PURE__ */ React$6.createElement(MobilePopupInner, _extends$a({}, cloneProps, {
57897
+ var popupNode = inMobile ? /* @__PURE__ */ React$6.createElement(MobilePopupInner, _extends$b({}, cloneProps, {
57498
57898
  mobile,
57499
57899
  ref: ref2
57500
- })) : /* @__PURE__ */ React$6.createElement(PopupInner, _extends$a({}, cloneProps, {
57900
+ })) : /* @__PURE__ */ React$6.createElement(PopupInner, _extends$b({}, cloneProps, {
57501
57901
  ref: ref2
57502
57902
  }));
57503
57903
  return /* @__PURE__ */ React$6.createElement("div", null, /* @__PURE__ */ React$6.createElement(Mask, cloneProps), popupNode);
@@ -57684,7 +58084,7 @@ function generateTrigger(PortalComponent) {
57684
58084
  }
57685
58085
  mouseProps.onMouseDown = _this.onPopupMouseDown;
57686
58086
  mouseProps.onTouchStart = _this.onPopupMouseDown;
57687
- return /* @__PURE__ */ React$6.createElement(Popup$1, _extends$a({
58087
+ return /* @__PURE__ */ React$6.createElement(Popup$1, _extends$b({
57688
58088
  prefixCls,
57689
58089
  destroyPopupOnHide,
57690
58090
  visible: popupVisible,
@@ -58214,12 +58614,12 @@ var Tooltip$2 = function Tooltip(props2, ref2) {
58214
58614
  var autoDestroy = false;
58215
58615
  if (typeof destroyTooltipOnHide === "boolean") {
58216
58616
  destroyTooltip = destroyTooltipOnHide;
58217
- } else if (destroyTooltipOnHide && _typeof$H(destroyTooltipOnHide) === "object") {
58617
+ } else if (destroyTooltipOnHide && _typeof$G(destroyTooltipOnHide) === "object") {
58218
58618
  var keepParent = destroyTooltipOnHide.keepParent;
58219
58619
  destroyTooltip = keepParent === true;
58220
58620
  autoDestroy = keepParent === false;
58221
58621
  }
58222
- return /* @__PURE__ */ React$6.createElement(Trigger, _extends$b({
58622
+ return /* @__PURE__ */ React$6.createElement(Trigger, _extends$a({
58223
58623
  popupClassName: overlayClassName,
58224
58624
  prefixCls,
58225
58625
  popup: getPopupElement,
@@ -60616,19 +61016,19 @@ function memoizeCapped$1(func) {
60616
61016
  }
60617
61017
  var _memoizeCapped = memoizeCapped$1;
60618
61018
  var memoizeCapped = _memoizeCapped;
60619
- var rePropName$2 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
60620
- var reEscapeChar$2 = /\\(\\)?/g;
60621
- var stringToPath$1$1 = memoizeCapped(function(string2) {
61019
+ var rePropName$1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
61020
+ var reEscapeChar$1 = /\\(\\)?/g;
61021
+ var stringToPath$1 = memoizeCapped(function(string2) {
60622
61022
  var result = [];
60623
61023
  if (string2.charCodeAt(0) === 46) {
60624
61024
  result.push("");
60625
61025
  }
60626
- string2.replace(rePropName$2, function(match2, number2, quote, subString) {
60627
- result.push(quote ? subString.replace(reEscapeChar$2, "$1") : number2 || match2);
61026
+ string2.replace(rePropName$1, function(match2, number2, quote, subString) {
61027
+ result.push(quote ? subString.replace(reEscapeChar$1, "$1") : number2 || match2);
60628
61028
  });
60629
61029
  return result;
60630
61030
  });
60631
- var _stringToPath = stringToPath$1$1;
61031
+ var _stringToPath = stringToPath$1;
60632
61032
  var Symbol$2 = _Symbol, arrayMap$1 = _arrayMap, isArray$7 = isArray_1, isSymbol$2 = isSymbol_1;
60633
61033
  var INFINITY$1 = 1 / 0;
60634
61034
  var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
@@ -65063,13 +65463,13 @@ const matches = typeof process !== "undefined" && process.version && /v([0-9]*)/
65063
65463
  matches && parseFloat(matches[1]) || 0;
65064
65464
  class WorkerJob {
65065
65465
  constructor(jobName, workerThread) {
65066
- _defineProperty$k(this, "name", void 0);
65067
- _defineProperty$k(this, "workerThread", void 0);
65068
- _defineProperty$k(this, "isRunning", true);
65069
- _defineProperty$k(this, "result", void 0);
65070
- _defineProperty$k(this, "_resolve", () => {
65466
+ _defineProperty$x(this, "name", void 0);
65467
+ _defineProperty$x(this, "workerThread", void 0);
65468
+ _defineProperty$x(this, "isRunning", true);
65469
+ _defineProperty$x(this, "result", void 0);
65470
+ _defineProperty$x(this, "_resolve", () => {
65071
65471
  });
65072
- _defineProperty$k(this, "_reject", () => {
65472
+ _defineProperty$x(this, "_reject", () => {
65073
65473
  });
65074
65474
  this.name = jobName;
65075
65475
  this.workerThread = workerThread;
@@ -65173,14 +65573,14 @@ class WorkerThread {
65173
65573
  return typeof Worker !== "undefined" && isBrowser$2 || typeof Worker$1 !== "undefined" && !isBrowser$2;
65174
65574
  }
65175
65575
  constructor(props2) {
65176
- _defineProperty$k(this, "name", void 0);
65177
- _defineProperty$k(this, "source", void 0);
65178
- _defineProperty$k(this, "url", void 0);
65179
- _defineProperty$k(this, "terminated", false);
65180
- _defineProperty$k(this, "worker", void 0);
65181
- _defineProperty$k(this, "onMessage", void 0);
65182
- _defineProperty$k(this, "onError", void 0);
65183
- _defineProperty$k(this, "_loadableURL", "");
65576
+ _defineProperty$x(this, "name", void 0);
65577
+ _defineProperty$x(this, "source", void 0);
65578
+ _defineProperty$x(this, "url", void 0);
65579
+ _defineProperty$x(this, "terminated", false);
65580
+ _defineProperty$x(this, "worker", void 0);
65581
+ _defineProperty$x(this, "onMessage", void 0);
65582
+ _defineProperty$x(this, "onError", void 0);
65583
+ _defineProperty$x(this, "_loadableURL", "");
65184
65584
  const {
65185
65585
  name: name2,
65186
65586
  source: source2,
@@ -65271,19 +65671,19 @@ class WorkerPool {
65271
65671
  return WorkerThread.isSupported();
65272
65672
  }
65273
65673
  constructor(props2) {
65274
- _defineProperty$k(this, "name", "unnamed");
65275
- _defineProperty$k(this, "source", void 0);
65276
- _defineProperty$k(this, "url", void 0);
65277
- _defineProperty$k(this, "maxConcurrency", 1);
65278
- _defineProperty$k(this, "maxMobileConcurrency", 1);
65279
- _defineProperty$k(this, "onDebug", () => {
65280
- });
65281
- _defineProperty$k(this, "reuseWorkers", true);
65282
- _defineProperty$k(this, "props", {});
65283
- _defineProperty$k(this, "jobQueue", []);
65284
- _defineProperty$k(this, "idleQueue", []);
65285
- _defineProperty$k(this, "count", 0);
65286
- _defineProperty$k(this, "isDestroyed", false);
65674
+ _defineProperty$x(this, "name", "unnamed");
65675
+ _defineProperty$x(this, "source", void 0);
65676
+ _defineProperty$x(this, "url", void 0);
65677
+ _defineProperty$x(this, "maxConcurrency", 1);
65678
+ _defineProperty$x(this, "maxMobileConcurrency", 1);
65679
+ _defineProperty$x(this, "onDebug", () => {
65680
+ });
65681
+ _defineProperty$x(this, "reuseWorkers", true);
65682
+ _defineProperty$x(this, "props", {});
65683
+ _defineProperty$x(this, "jobQueue", []);
65684
+ _defineProperty$x(this, "idleQueue", []);
65685
+ _defineProperty$x(this, "count", 0);
65686
+ _defineProperty$x(this, "isDestroyed", false);
65287
65687
  this.source = props2.source;
65288
65688
  this.url = props2.url;
65289
65689
  this.setProps(props2);
@@ -65401,8 +65801,8 @@ class WorkerFarm {
65401
65801
  return WorkerFarm._workerFarm;
65402
65802
  }
65403
65803
  constructor(props2) {
65404
- _defineProperty$k(this, "props", void 0);
65405
- _defineProperty$k(this, "workerPools", /* @__PURE__ */ new Map());
65804
+ _defineProperty$x(this, "props", void 0);
65805
+ _defineProperty$x(this, "workerPools", /* @__PURE__ */ new Map());
65406
65806
  this.props = {
65407
65807
  ...DEFAULT_PROPS$4
65408
65808
  };
@@ -65451,7 +65851,7 @@ class WorkerFarm {
65451
65851
  };
65452
65852
  }
65453
65853
  }
65454
- _defineProperty$k(WorkerFarm, "_workerFarm", void 0);
65854
+ _defineProperty$x(WorkerFarm, "_workerFarm", void 0);
65455
65855
  const NPM_TAG = "latest";
65456
65856
  function getWorkerURL(worker, options = {}) {
65457
65857
  const workerOptions = options[worker.id] || {};
@@ -65758,20 +66158,20 @@ function getHiResTimestamp$1() {
65758
66158
  }
65759
66159
  class Stat {
65760
66160
  constructor(name2, type3) {
65761
- _defineProperty$k(this, "name", void 0);
65762
- _defineProperty$k(this, "type", void 0);
65763
- _defineProperty$k(this, "sampleSize", 1);
65764
- _defineProperty$k(this, "time", void 0);
65765
- _defineProperty$k(this, "count", void 0);
65766
- _defineProperty$k(this, "samples", void 0);
65767
- _defineProperty$k(this, "lastTiming", void 0);
65768
- _defineProperty$k(this, "lastSampleTime", void 0);
65769
- _defineProperty$k(this, "lastSampleCount", void 0);
65770
- _defineProperty$k(this, "_count", 0);
65771
- _defineProperty$k(this, "_time", 0);
65772
- _defineProperty$k(this, "_samples", 0);
65773
- _defineProperty$k(this, "_startTime", 0);
65774
- _defineProperty$k(this, "_timerPending", false);
66161
+ _defineProperty$x(this, "name", void 0);
66162
+ _defineProperty$x(this, "type", void 0);
66163
+ _defineProperty$x(this, "sampleSize", 1);
66164
+ _defineProperty$x(this, "time", void 0);
66165
+ _defineProperty$x(this, "count", void 0);
66166
+ _defineProperty$x(this, "samples", void 0);
66167
+ _defineProperty$x(this, "lastTiming", void 0);
66168
+ _defineProperty$x(this, "lastSampleTime", void 0);
66169
+ _defineProperty$x(this, "lastSampleCount", void 0);
66170
+ _defineProperty$x(this, "_count", 0);
66171
+ _defineProperty$x(this, "_time", 0);
66172
+ _defineProperty$x(this, "_samples", 0);
66173
+ _defineProperty$x(this, "_startTime", 0);
66174
+ _defineProperty$x(this, "_timerPending", false);
65775
66175
  this.name = name2;
65776
66176
  this.type = type3;
65777
66177
  this.reset();
@@ -65868,8 +66268,8 @@ class Stat {
65868
66268
  }
65869
66269
  class Stats {
65870
66270
  constructor(options) {
65871
- _defineProperty$k(this, "id", void 0);
65872
- _defineProperty$k(this, "stats", {});
66271
+ _defineProperty$x(this, "id", void 0);
66272
+ _defineProperty$x(this, "stats", {});
65873
66273
  this.id = options.id;
65874
66274
  this.stats = {};
65875
66275
  this._initializeStats(options.stats);
@@ -65942,12 +66342,12 @@ const DEFAULT_PROPS$3 = {
65942
66342
  };
65943
66343
  class RequestScheduler {
65944
66344
  constructor(props2 = {}) {
65945
- _defineProperty$x(this, "props", void 0);
65946
- _defineProperty$x(this, "stats", void 0);
65947
- _defineProperty$x(this, "activeRequestCount", 0);
65948
- _defineProperty$x(this, "requestQueue", []);
65949
- _defineProperty$x(this, "requestMap", /* @__PURE__ */ new Map());
65950
- _defineProperty$x(this, "deferredUpdate", null);
66345
+ _defineProperty$w(this, "props", void 0);
66346
+ _defineProperty$w(this, "stats", void 0);
66347
+ _defineProperty$w(this, "activeRequestCount", 0);
66348
+ _defineProperty$w(this, "requestQueue", []);
66349
+ _defineProperty$w(this, "requestMap", /* @__PURE__ */ new Map());
66350
+ _defineProperty$w(this, "deferredUpdate", null);
65951
66351
  this.props = {
65952
66352
  ...DEFAULT_PROPS$3,
65953
66353
  ...props2
@@ -66310,9 +66710,9 @@ class LocalStorage {
66310
66710
  constructor(id2) {
66311
66711
  let defaultSettings = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
66312
66712
  let type3 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "sessionStorage";
66313
- _defineProperty$k(this, "storage", void 0);
66314
- _defineProperty$k(this, "id", void 0);
66315
- _defineProperty$k(this, "config", {});
66713
+ _defineProperty$x(this, "storage", void 0);
66714
+ _defineProperty$x(this, "id", void 0);
66715
+ _defineProperty$x(this, "config", {});
66316
66716
  this.storage = getStorage(type3);
66317
66717
  this.id = id2;
66318
66718
  this.config = {};
@@ -66463,13 +66863,13 @@ let Log$1 = class Log {
66463
66863
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
66464
66864
  id: ""
66465
66865
  };
66466
- _defineProperty$k(this, "id", void 0);
66467
- _defineProperty$k(this, "VERSION", VERSION$a);
66468
- _defineProperty$k(this, "_startTs", getHiResTimestamp());
66469
- _defineProperty$k(this, "_deltaTs", getHiResTimestamp());
66470
- _defineProperty$k(this, "_storage", void 0);
66471
- _defineProperty$k(this, "userData", {});
66472
- _defineProperty$k(this, "LOG_THROTTLE_TIMEOUT", 0);
66866
+ _defineProperty$x(this, "id", void 0);
66867
+ _defineProperty$x(this, "VERSION", VERSION$a);
66868
+ _defineProperty$x(this, "_startTs", getHiResTimestamp());
66869
+ _defineProperty$x(this, "_deltaTs", getHiResTimestamp());
66870
+ _defineProperty$x(this, "_storage", void 0);
66871
+ _defineProperty$x(this, "userData", {});
66872
+ _defineProperty$x(this, "LOG_THROTTLE_TIMEOUT", 0);
66473
66873
  this.id = id2;
66474
66874
  this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
66475
66875
  this.userData = {};
@@ -66670,7 +67070,7 @@ let Log$1 = class Log {
66670
67070
  return noop$9;
66671
67071
  }
66672
67072
  };
66673
- _defineProperty$k(Log$1, "VERSION", VERSION$a);
67073
+ _defineProperty$x(Log$1, "VERSION", VERSION$a);
66674
67074
  function normalizeLogLevel(logLevel) {
66675
67075
  if (!logLevel) {
66676
67076
  return 0;
@@ -66799,7 +67199,7 @@ class NullLog {
66799
67199
  }
66800
67200
  class ConsoleLog {
66801
67201
  constructor() {
66802
- _defineProperty$x(this, "console", void 0);
67202
+ _defineProperty$w(this, "console", void 0);
66803
67203
  this.console = console;
66804
67204
  }
66805
67205
  log(...args) {
@@ -78626,10 +79026,10 @@ class SphericalCoordinates {
78626
79026
  altitude,
78627
79027
  radiusScale = EARTH_RADIUS_METERS
78628
79028
  } = {}) {
78629
- _defineProperty$x(this, "phi", void 0);
78630
- _defineProperty$x(this, "theta", void 0);
78631
- _defineProperty$x(this, "radius", void 0);
78632
- _defineProperty$x(this, "radiusScale", void 0);
79029
+ _defineProperty$w(this, "phi", void 0);
79030
+ _defineProperty$w(this, "theta", void 0);
79031
+ _defineProperty$w(this, "radius", void 0);
79032
+ _defineProperty$w(this, "radiusScale", void 0);
78633
79033
  this.phi = phi2;
78634
79034
  this.theta = theta;
78635
79035
  this.radius = radius2 || altitude || 1;
@@ -79163,8 +79563,8 @@ class Pose {
79163
79563
  position: position2,
79164
79564
  orientation
79165
79565
  } = {}) {
79166
- _defineProperty$x(this, "position", void 0);
79167
- _defineProperty$x(this, "orientation", void 0);
79566
+ _defineProperty$w(this, "position", void 0);
79567
+ _defineProperty$w(this, "orientation", void 0);
79168
79568
  if (Array.isArray(position2) && position2.length === 3) {
79169
79569
  this.position = new Vector3(position2);
79170
79570
  } else {
@@ -82436,31 +82836,31 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
82436
82836
  width: 1,
82437
82837
  height: 1
82438
82838
  }) {
82439
- _defineProperty$k(this, "latitude", void 0);
82440
- _defineProperty$k(this, "longitude", void 0);
82441
- _defineProperty$k(this, "zoom", void 0);
82442
- _defineProperty$k(this, "pitch", void 0);
82443
- _defineProperty$k(this, "bearing", void 0);
82444
- _defineProperty$k(this, "altitude", void 0);
82445
- _defineProperty$k(this, "fovy", void 0);
82446
- _defineProperty$k(this, "meterOffset", void 0);
82447
- _defineProperty$k(this, "center", void 0);
82448
- _defineProperty$k(this, "width", void 0);
82449
- _defineProperty$k(this, "height", void 0);
82450
- _defineProperty$k(this, "scale", void 0);
82451
- _defineProperty$k(this, "distanceScales", void 0);
82452
- _defineProperty$k(this, "viewMatrix", void 0);
82453
- _defineProperty$k(this, "projectionMatrix", void 0);
82454
- _defineProperty$k(this, "viewProjectionMatrix", void 0);
82455
- _defineProperty$k(this, "pixelProjectionMatrix", void 0);
82456
- _defineProperty$k(this, "pixelUnprojectionMatrix", void 0);
82457
- _defineProperty$k(this, "equals", (viewport) => {
82839
+ _defineProperty$x(this, "latitude", void 0);
82840
+ _defineProperty$x(this, "longitude", void 0);
82841
+ _defineProperty$x(this, "zoom", void 0);
82842
+ _defineProperty$x(this, "pitch", void 0);
82843
+ _defineProperty$x(this, "bearing", void 0);
82844
+ _defineProperty$x(this, "altitude", void 0);
82845
+ _defineProperty$x(this, "fovy", void 0);
82846
+ _defineProperty$x(this, "meterOffset", void 0);
82847
+ _defineProperty$x(this, "center", void 0);
82848
+ _defineProperty$x(this, "width", void 0);
82849
+ _defineProperty$x(this, "height", void 0);
82850
+ _defineProperty$x(this, "scale", void 0);
82851
+ _defineProperty$x(this, "distanceScales", void 0);
82852
+ _defineProperty$x(this, "viewMatrix", void 0);
82853
+ _defineProperty$x(this, "projectionMatrix", void 0);
82854
+ _defineProperty$x(this, "viewProjectionMatrix", void 0);
82855
+ _defineProperty$x(this, "pixelProjectionMatrix", void 0);
82856
+ _defineProperty$x(this, "pixelUnprojectionMatrix", void 0);
82857
+ _defineProperty$x(this, "equals", (viewport) => {
82458
82858
  if (!(viewport instanceof WebMercatorViewport)) {
82459
82859
  return false;
82460
82860
  }
82461
82861
  return viewport.width === this.width && viewport.height === this.height && equals$2(viewport.projectionMatrix, this.projectionMatrix) && equals$2(viewport.viewMatrix, this.viewMatrix);
82462
82862
  });
82463
- _defineProperty$k(this, "project", (lngLatZ, options = {}) => {
82863
+ _defineProperty$x(this, "project", (lngLatZ, options = {}) => {
82464
82864
  const {
82465
82865
  topLeft = true
82466
82866
  } = options;
@@ -82470,7 +82870,7 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
82470
82870
  const y22 = topLeft ? y2 : this.height - y2;
82471
82871
  return lngLatZ.length === 2 ? [x2, y22] : [x2, y22, coord[2]];
82472
82872
  });
82473
- _defineProperty$k(this, "unproject", (xyz, options = {}) => {
82873
+ _defineProperty$x(this, "unproject", (xyz, options = {}) => {
82474
82874
  const {
82475
82875
  topLeft = true,
82476
82876
  targetZ = void 0
@@ -82485,12 +82885,12 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
82485
82885
  }
82486
82886
  return Number.isFinite(targetZ) ? [X3, Y3, targetZ] : [X3, Y3];
82487
82887
  });
82488
- _defineProperty$k(this, "projectPosition", (xyz) => {
82888
+ _defineProperty$x(this, "projectPosition", (xyz) => {
82489
82889
  const [X3, Y3] = lngLatToWorld(xyz);
82490
82890
  const Z = (xyz[2] || 0) * this.distanceScales.unitsPerMeter[2];
82491
82891
  return [X3, Y3, Z];
82492
82892
  });
82493
- _defineProperty$k(this, "unprojectPosition", (xyz) => {
82893
+ _defineProperty$x(this, "unprojectPosition", (xyz) => {
82494
82894
  const [X3, Y3] = worldToLngLat(xyz);
82495
82895
  const Z = (xyz[2] || 0) * this.distanceScales.metersPerUnit[2];
82496
82896
  return [X3, Y3, Z];
@@ -103888,10 +104288,10 @@ const scratchVector$6 = new Vector3();
103888
104288
  const scratchNormal$3 = new Vector3();
103889
104289
  class AxisAlignedBoundingBox {
103890
104290
  constructor(minimum = [0, 0, 0], maximum = [0, 0, 0], center2) {
103891
- _defineProperty$k(this, "center", void 0);
103892
- _defineProperty$k(this, "halfDiagonal", void 0);
103893
- _defineProperty$k(this, "minimum", void 0);
103894
- _defineProperty$k(this, "maximum", void 0);
104291
+ _defineProperty$x(this, "center", void 0);
104292
+ _defineProperty$x(this, "halfDiagonal", void 0);
104293
+ _defineProperty$x(this, "minimum", void 0);
104294
+ _defineProperty$x(this, "maximum", void 0);
103895
104295
  center2 = center2 || scratchVector$6.copy(minimum).add(maximum).scale(0.5);
103896
104296
  this.center = new Vector3(center2);
103897
104297
  this.halfDiagonal = new Vector3(maximum).subtract(this.center);
@@ -103955,8 +104355,8 @@ const scratchVector$5 = new Vector3();
103955
104355
  const scratchVector2$2 = new Vector3();
103956
104356
  class BoundingSphere {
103957
104357
  constructor(center2 = [0, 0, 0], radius2 = 0) {
103958
- _defineProperty$k(this, "center", void 0);
103959
- _defineProperty$k(this, "radius", void 0);
104358
+ _defineProperty$x(this, "center", void 0);
104359
+ _defineProperty$x(this, "radius", void 0);
103960
104360
  this.radius = -0;
103961
104361
  this.center = new Vector3();
103962
104362
  this.fromCenterRadius(center2, radius2);
@@ -104054,8 +104454,8 @@ const MATRIX3 = {
104054
104454
  };
104055
104455
  class OrientedBoundingBox {
104056
104456
  constructor(center2 = [0, 0, 0], halfAxes = [0, 0, 0, 0, 0, 0, 0, 0, 0]) {
104057
- _defineProperty$k(this, "center", void 0);
104058
- _defineProperty$k(this, "halfAxes", void 0);
104457
+ _defineProperty$x(this, "center", void 0);
104458
+ _defineProperty$x(this, "halfAxes", void 0);
104059
104459
  this.center = new Vector3().from(center2);
104060
104460
  this.halfAxes = new Matrix3(halfAxes);
104061
104461
  }
@@ -104224,8 +104624,8 @@ const scratchPosition$2 = new Vector3();
104224
104624
  const scratchNormal$2 = new Vector3();
104225
104625
  class Plane {
104226
104626
  constructor(normal = [0, 0, 1], distance2 = 0) {
104227
- _defineProperty$k(this, "normal", void 0);
104228
- _defineProperty$k(this, "distance", void 0);
104627
+ _defineProperty$x(this, "normal", void 0);
104628
+ _defineProperty$x(this, "distance", void 0);
104229
104629
  this.normal = new Vector3();
104230
104630
  this.distance = -0;
104231
104631
  this.fromNormalDistance(normal, distance2);
@@ -104276,7 +104676,7 @@ const scratchPlaneNormal = new Vector3();
104276
104676
  new Plane(new Vector3(1, 0, 0), 0);
104277
104677
  class CullingVolume {
104278
104678
  constructor(planes = []) {
104279
- _defineProperty$k(this, "planes", void 0);
104679
+ _defineProperty$x(this, "planes", void 0);
104280
104680
  this.planes = planes;
104281
104681
  }
104282
104682
  fromBoundingSphere(boundingSphere) {
@@ -104341,9 +104741,9 @@ class CullingVolume {
104341
104741
  return mask2;
104342
104742
  }
104343
104743
  }
104344
- _defineProperty$k(CullingVolume, "MASK_OUTSIDE", 4294967295);
104345
- _defineProperty$k(CullingVolume, "MASK_INSIDE", 0);
104346
- _defineProperty$k(CullingVolume, "MASK_INDETERMINATE", 2147483647);
104744
+ _defineProperty$x(CullingVolume, "MASK_OUTSIDE", 4294967295);
104745
+ _defineProperty$x(CullingVolume, "MASK_INSIDE", 0);
104746
+ _defineProperty$x(CullingVolume, "MASK_INDETERMINATE", 2147483647);
104347
104747
  new Vector3();
104348
104748
  new Vector3();
104349
104749
  new Vector3();
@@ -120110,9 +120510,9 @@ const DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP = {
120110
120510
  const INDEX_ITEM_SIZE = 4;
120111
120511
  class DracoParser {
120112
120512
  constructor(draco) {
120113
- _defineProperty$k(this, "draco", void 0);
120114
- _defineProperty$k(this, "decoder", void 0);
120115
- _defineProperty$k(this, "metadataQuerier", void 0);
120513
+ _defineProperty$x(this, "draco", void 0);
120514
+ _defineProperty$x(this, "decoder", void 0);
120515
+ _defineProperty$x(this, "metadataQuerier", void 0);
120116
120516
  this.draco = draco;
120117
120517
  this.decoder = new this.draco.Decoder();
120118
120518
  this.metadataQuerier = new this.draco.MetadataQuerier();
@@ -122374,15 +122774,15 @@ const scratchHeight = new Vector3();
122374
122774
  const scratchCartesian = new Vector3();
122375
122775
  class Ellipsoid {
122376
122776
  constructor(x2 = 0, y2 = 0, z2 = 0) {
122377
- _defineProperty$k(this, "radii", void 0);
122378
- _defineProperty$k(this, "radiiSquared", void 0);
122379
- _defineProperty$k(this, "radiiToTheFourth", void 0);
122380
- _defineProperty$k(this, "oneOverRadii", void 0);
122381
- _defineProperty$k(this, "oneOverRadiiSquared", void 0);
122382
- _defineProperty$k(this, "minimumRadius", void 0);
122383
- _defineProperty$k(this, "maximumRadius", void 0);
122384
- _defineProperty$k(this, "centerToleranceSquared", _MathUtils.EPSILON1);
122385
- _defineProperty$k(this, "squaredXOverSquaredZ", void 0);
122777
+ _defineProperty$x(this, "radii", void 0);
122778
+ _defineProperty$x(this, "radiiSquared", void 0);
122779
+ _defineProperty$x(this, "radiiToTheFourth", void 0);
122780
+ _defineProperty$x(this, "oneOverRadii", void 0);
122781
+ _defineProperty$x(this, "oneOverRadiiSquared", void 0);
122782
+ _defineProperty$x(this, "minimumRadius", void 0);
122783
+ _defineProperty$x(this, "maximumRadius", void 0);
122784
+ _defineProperty$x(this, "centerToleranceSquared", _MathUtils.EPSILON1);
122785
+ _defineProperty$x(this, "squaredXOverSquaredZ", void 0);
122386
122786
  assert$7(x2 >= 0);
122387
122787
  assert$7(y2 >= 0);
122388
122788
  assert$7(z2 >= 0);
@@ -122479,7 +122879,7 @@ class Ellipsoid {
122479
122879
  return scratchPosition$1.set(0, 0, z2).to(result);
122480
122880
  }
122481
122881
  }
122482
- _defineProperty$k(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
122882
+ _defineProperty$x(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
122483
122883
  class DoublyLinkedListNode {
122484
122884
  constructor(item, previous, next3) {
122485
122885
  _defineProperty$x(this, "item", void 0);
@@ -132874,13 +133274,13 @@ var shams$1 = function hasSymbols() {
132874
133274
  }
132875
133275
  return true;
132876
133276
  };
132877
- var hasSymbols$4 = shams$1;
133277
+ var hasSymbols$3 = shams$1;
132878
133278
  var shams = function hasToStringTagShams() {
132879
- return hasSymbols$4() && !!Symbol.toStringTag;
133279
+ return hasSymbols$3() && !!Symbol.toStringTag;
132880
133280
  };
132881
133281
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
132882
133282
  var hasSymbolSham = shams$1;
132883
- var hasSymbols$3 = function hasNativeSymbols() {
133283
+ var hasSymbols$2 = function hasNativeSymbols() {
132884
133284
  if (typeof origSymbol !== "function") {
132885
133285
  return false;
132886
133286
  }
@@ -132895,6 +133295,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
132895
133295
  }
132896
133296
  return hasSymbolSham();
132897
133297
  };
133298
+ var test$1 = {
133299
+ foo: {}
133300
+ };
133301
+ var $Object = Object;
133302
+ var hasProto$1 = function hasProto() {
133303
+ return { __proto__: test$1 }.foo === test$1.foo && !({ __proto__: null } instanceof $Object);
133304
+ };
132898
133305
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
132899
133306
  var slice$4 = Array.prototype.slice;
132900
133307
  var toStr$2 = Object.prototype.toString;
@@ -132940,374 +133347,8 @@ var implementation$7 = function bind2(that2) {
132940
133347
  };
132941
133348
  var implementation$6 = implementation$7;
132942
133349
  var functionBind = Function.prototype.bind || implementation$6;
132943
- var bind$4 = functionBind;
132944
- var src = bind$4.call(Function.call, Object.prototype.hasOwnProperty);
132945
- var undefined$3;
132946
- var $SyntaxError$1 = SyntaxError;
132947
- var $Function$1 = Function;
132948
- var $TypeError$1 = TypeError;
132949
- var getEvalledConstructor$1 = function(expressionSyntax) {
132950
- try {
132951
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
132952
- } catch (e3) {
132953
- }
132954
- };
132955
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
132956
- if ($gOPD$2) {
132957
- try {
132958
- $gOPD$2({}, "");
132959
- } catch (e3) {
132960
- $gOPD$2 = null;
132961
- }
132962
- }
132963
- var throwTypeError$1 = function() {
132964
- throw new $TypeError$1();
132965
- };
132966
- var ThrowTypeError$1 = $gOPD$2 ? function() {
132967
- try {
132968
- arguments.callee;
132969
- return throwTypeError$1;
132970
- } catch (calleeThrows) {
132971
- try {
132972
- return $gOPD$2(arguments, "callee").get;
132973
- } catch (gOPDthrows) {
132974
- return throwTypeError$1;
132975
- }
132976
- }
132977
- }() : throwTypeError$1;
132978
- var hasSymbols$2 = hasSymbols$3();
132979
- var getProto$3 = Object.getPrototypeOf || function(x2) {
132980
- return x2.__proto__;
132981
- };
132982
- var needsEval$1 = {};
132983
- var TypedArray$2 = typeof Uint8Array === "undefined" ? undefined$3 : getProto$3(Uint8Array);
132984
- var INTRINSICS$1 = {
132985
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$3 : AggregateError,
132986
- "%Array%": Array,
132987
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$3 : ArrayBuffer,
132988
- "%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$3([][Symbol.iterator]()) : undefined$3,
132989
- "%AsyncFromSyncIteratorPrototype%": undefined$3,
132990
- "%AsyncFunction%": needsEval$1,
132991
- "%AsyncGenerator%": needsEval$1,
132992
- "%AsyncGeneratorFunction%": needsEval$1,
132993
- "%AsyncIteratorPrototype%": needsEval$1,
132994
- "%Atomics%": typeof Atomics === "undefined" ? undefined$3 : Atomics,
132995
- "%BigInt%": typeof BigInt === "undefined" ? undefined$3 : BigInt,
132996
- "%Boolean%": Boolean,
132997
- "%DataView%": typeof DataView === "undefined" ? undefined$3 : DataView,
132998
- "%Date%": Date,
132999
- "%decodeURI%": decodeURI,
133000
- "%decodeURIComponent%": decodeURIComponent,
133001
- "%encodeURI%": encodeURI,
133002
- "%encodeURIComponent%": encodeURIComponent,
133003
- "%Error%": Error,
133004
- "%eval%": eval,
133005
- // eslint-disable-line no-eval
133006
- "%EvalError%": EvalError,
133007
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$3 : Float32Array,
133008
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$3 : Float64Array,
133009
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$3 : FinalizationRegistry,
133010
- "%Function%": $Function$1,
133011
- "%GeneratorFunction%": needsEval$1,
133012
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$3 : Int8Array,
133013
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$3 : Int16Array,
133014
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$3 : Int32Array,
133015
- "%isFinite%": isFinite,
133016
- "%isNaN%": isNaN,
133017
- "%IteratorPrototype%": hasSymbols$2 ? getProto$3(getProto$3([][Symbol.iterator]())) : undefined$3,
133018
- "%JSON%": typeof JSON === "object" ? JSON : undefined$3,
133019
- "%Map%": typeof Map === "undefined" ? undefined$3 : Map,
133020
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$3 : getProto$3((/* @__PURE__ */ new Map())[Symbol.iterator]()),
133021
- "%Math%": Math,
133022
- "%Number%": Number,
133023
- "%Object%": Object,
133024
- "%parseFloat%": parseFloat,
133025
- "%parseInt%": parseInt,
133026
- "%Promise%": typeof Promise === "undefined" ? undefined$3 : Promise,
133027
- "%Proxy%": typeof Proxy === "undefined" ? undefined$3 : Proxy,
133028
- "%RangeError%": RangeError,
133029
- "%ReferenceError%": ReferenceError,
133030
- "%Reflect%": typeof Reflect === "undefined" ? undefined$3 : Reflect,
133031
- "%RegExp%": RegExp,
133032
- "%Set%": typeof Set === "undefined" ? undefined$3 : Set,
133033
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$3 : getProto$3((/* @__PURE__ */ new Set())[Symbol.iterator]()),
133034
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$3 : SharedArrayBuffer,
133035
- "%String%": String,
133036
- "%StringIteratorPrototype%": hasSymbols$2 ? getProto$3(""[Symbol.iterator]()) : undefined$3,
133037
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$3,
133038
- "%SyntaxError%": $SyntaxError$1,
133039
- "%ThrowTypeError%": ThrowTypeError$1,
133040
- "%TypedArray%": TypedArray$2,
133041
- "%TypeError%": $TypeError$1,
133042
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$3 : Uint8Array,
133043
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$3 : Uint8ClampedArray,
133044
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$3 : Uint16Array,
133045
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$3 : Uint32Array,
133046
- "%URIError%": URIError,
133047
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$3 : WeakMap,
133048
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$3 : WeakRef,
133049
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$3 : WeakSet
133050
- };
133051
- var doEval$1 = function doEval(name2) {
133052
- var value2;
133053
- if (name2 === "%AsyncFunction%") {
133054
- value2 = getEvalledConstructor$1("async function () {}");
133055
- } else if (name2 === "%GeneratorFunction%") {
133056
- value2 = getEvalledConstructor$1("function* () {}");
133057
- } else if (name2 === "%AsyncGeneratorFunction%") {
133058
- value2 = getEvalledConstructor$1("async function* () {}");
133059
- } else if (name2 === "%AsyncGenerator%") {
133060
- var fn = doEval("%AsyncGeneratorFunction%");
133061
- if (fn) {
133062
- value2 = fn.prototype;
133063
- }
133064
- } else if (name2 === "%AsyncIteratorPrototype%") {
133065
- var gen = doEval("%AsyncGenerator%");
133066
- if (gen) {
133067
- value2 = getProto$3(gen.prototype);
133068
- }
133069
- }
133070
- INTRINSICS$1[name2] = value2;
133071
- return value2;
133072
- };
133073
- var LEGACY_ALIASES$1 = {
133074
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
133075
- "%ArrayPrototype%": ["Array", "prototype"],
133076
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
133077
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
133078
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
133079
- "%ArrayProto_values%": ["Array", "prototype", "values"],
133080
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
133081
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
133082
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
133083
- "%BooleanPrototype%": ["Boolean", "prototype"],
133084
- "%DataViewPrototype%": ["DataView", "prototype"],
133085
- "%DatePrototype%": ["Date", "prototype"],
133086
- "%ErrorPrototype%": ["Error", "prototype"],
133087
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
133088
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
133089
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
133090
- "%FunctionPrototype%": ["Function", "prototype"],
133091
- "%Generator%": ["GeneratorFunction", "prototype"],
133092
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
133093
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
133094
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
133095
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
133096
- "%JSONParse%": ["JSON", "parse"],
133097
- "%JSONStringify%": ["JSON", "stringify"],
133098
- "%MapPrototype%": ["Map", "prototype"],
133099
- "%NumberPrototype%": ["Number", "prototype"],
133100
- "%ObjectPrototype%": ["Object", "prototype"],
133101
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
133102
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
133103
- "%PromisePrototype%": ["Promise", "prototype"],
133104
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
133105
- "%Promise_all%": ["Promise", "all"],
133106
- "%Promise_reject%": ["Promise", "reject"],
133107
- "%Promise_resolve%": ["Promise", "resolve"],
133108
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
133109
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
133110
- "%RegExpPrototype%": ["RegExp", "prototype"],
133111
- "%SetPrototype%": ["Set", "prototype"],
133112
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
133113
- "%StringPrototype%": ["String", "prototype"],
133114
- "%SymbolPrototype%": ["Symbol", "prototype"],
133115
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
133116
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
133117
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
133118
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
133119
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
133120
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
133121
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
133122
- "%URIErrorPrototype%": ["URIError", "prototype"],
133123
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
133124
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
133125
- };
133126
133350
  var bind$3 = functionBind;
133127
- var hasOwn$2 = src;
133128
- var $concat$1 = bind$3.call(Function.call, Array.prototype.concat);
133129
- var $spliceApply$1 = bind$3.call(Function.apply, Array.prototype.splice);
133130
- var $replace$1 = bind$3.call(Function.call, String.prototype.replace);
133131
- var $strSlice$1 = bind$3.call(Function.call, String.prototype.slice);
133132
- var $exec$2 = bind$3.call(Function.call, RegExp.prototype.exec);
133133
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
133134
- var reEscapeChar$1 = /\\(\\)?/g;
133135
- var stringToPath$1 = function stringToPath(string2) {
133136
- var first = $strSlice$1(string2, 0, 1);
133137
- var last = $strSlice$1(string2, -1);
133138
- if (first === "%" && last !== "%") {
133139
- throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
133140
- } else if (last === "%" && first !== "%") {
133141
- throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
133142
- }
133143
- var result = [];
133144
- $replace$1(string2, rePropName$1, function(match2, number2, quote, subString) {
133145
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match2;
133146
- });
133147
- return result;
133148
- };
133149
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
133150
- var intrinsicName = name2;
133151
- var alias;
133152
- if (hasOwn$2(LEGACY_ALIASES$1, intrinsicName)) {
133153
- alias = LEGACY_ALIASES$1[intrinsicName];
133154
- intrinsicName = "%" + alias[0] + "%";
133155
- }
133156
- if (hasOwn$2(INTRINSICS$1, intrinsicName)) {
133157
- var value2 = INTRINSICS$1[intrinsicName];
133158
- if (value2 === needsEval$1) {
133159
- value2 = doEval$1(intrinsicName);
133160
- }
133161
- if (typeof value2 === "undefined" && !allowMissing) {
133162
- throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
133163
- }
133164
- return {
133165
- alias,
133166
- name: intrinsicName,
133167
- value: value2
133168
- };
133169
- }
133170
- throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
133171
- };
133172
- var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
133173
- if (typeof name2 !== "string" || name2.length === 0) {
133174
- throw new $TypeError$1("intrinsic name must be a non-empty string");
133175
- }
133176
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
133177
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
133178
- }
133179
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
133180
- throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
133181
- }
133182
- var parts = stringToPath$1(name2);
133183
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
133184
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
133185
- var intrinsicRealName = intrinsic.name;
133186
- var value2 = intrinsic.value;
133187
- var skipFurtherCaching = false;
133188
- var alias = intrinsic.alias;
133189
- if (alias) {
133190
- intrinsicBaseName = alias[0];
133191
- $spliceApply$1(parts, $concat$1([0, 1], alias));
133192
- }
133193
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
133194
- var part = parts[i2];
133195
- var first = $strSlice$1(part, 0, 1);
133196
- var last = $strSlice$1(part, -1);
133197
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
133198
- throw new $SyntaxError$1("property names with quotes must have matching quotes");
133199
- }
133200
- if (part === "constructor" || !isOwn) {
133201
- skipFurtherCaching = true;
133202
- }
133203
- intrinsicBaseName += "." + part;
133204
- intrinsicRealName = "%" + intrinsicBaseName + "%";
133205
- if (hasOwn$2(INTRINSICS$1, intrinsicRealName)) {
133206
- value2 = INTRINSICS$1[intrinsicRealName];
133207
- } else if (value2 != null) {
133208
- if (!(part in value2)) {
133209
- if (!allowMissing) {
133210
- throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
133211
- }
133212
- return void 0;
133213
- }
133214
- if ($gOPD$2 && i2 + 1 >= parts.length) {
133215
- var desc = $gOPD$2(value2, part);
133216
- isOwn = !!desc;
133217
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
133218
- value2 = desc.get;
133219
- } else {
133220
- value2 = value2[part];
133221
- }
133222
- } else {
133223
- isOwn = hasOwn$2(value2, part);
133224
- value2 = value2[part];
133225
- }
133226
- if (isOwn && !skipFurtherCaching) {
133227
- INTRINSICS$1[intrinsicRealName] = value2;
133228
- }
133229
- }
133230
- }
133231
- return value2;
133232
- };
133233
- var callBind$3 = { exports: {} };
133234
- (function(module2) {
133235
- var bind4 = functionBind;
133236
- var GetIntrinsic4 = getIntrinsic$1;
133237
- var $apply = GetIntrinsic4("%Function.prototype.apply%");
133238
- var $call = GetIntrinsic4("%Function.prototype.call%");
133239
- var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
133240
- var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
133241
- var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
133242
- var $max = GetIntrinsic4("%Math.max%");
133243
- if ($defineProperty2) {
133244
- try {
133245
- $defineProperty2({}, "a", { value: 1 });
133246
- } catch (e3) {
133247
- $defineProperty2 = null;
133248
- }
133249
- }
133250
- module2.exports = function callBind2(originalFunction) {
133251
- var func = $reflectApply(bind4, $call, arguments);
133252
- if ($gOPD2 && $defineProperty2) {
133253
- var desc = $gOPD2(func, "length");
133254
- if (desc.configurable) {
133255
- $defineProperty2(
133256
- func,
133257
- "length",
133258
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
133259
- );
133260
- }
133261
- }
133262
- return func;
133263
- };
133264
- var applyBind = function applyBind2() {
133265
- return $reflectApply(bind4, $apply, arguments);
133266
- };
133267
- if ($defineProperty2) {
133268
- $defineProperty2(module2.exports, "apply", { value: applyBind });
133269
- } else {
133270
- module2.exports.apply = applyBind;
133271
- }
133272
- })(callBind$3);
133273
- var callBindExports = callBind$3.exports;
133274
- var GetIntrinsic$1 = getIntrinsic$1;
133275
- var callBind$2 = callBindExports;
133276
- var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
133277
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
133278
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
133279
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
133280
- return callBind$2(intrinsic);
133281
- }
133282
- return intrinsic;
133283
- };
133284
- var hasToStringTag$2 = shams();
133285
- var callBound$1 = callBound$2;
133286
- var $toString$1 = callBound$1("Object.prototype.toString");
133287
- var isStandardArguments = function isArguments2(value2) {
133288
- if (hasToStringTag$2 && value2 && typeof value2 === "object" && Symbol.toStringTag in value2) {
133289
- return false;
133290
- }
133291
- return $toString$1(value2) === "[object Arguments]";
133292
- };
133293
- var isLegacyArguments = function isArguments3(value2) {
133294
- if (isStandardArguments(value2)) {
133295
- return true;
133296
- }
133297
- return value2 !== null && typeof value2 === "object" && typeof value2.length === "number" && value2.length >= 0 && $toString$1(value2) !== "[object Array]" && $toString$1(value2.callee) === "[object Function]";
133298
- };
133299
- var supportsStandardArguments = function() {
133300
- return isStandardArguments(arguments);
133301
- }();
133302
- isStandardArguments.isLegacyArguments = isLegacyArguments;
133303
- var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
133304
- var test$1 = {
133305
- foo: {}
133306
- };
133307
- var $Object = Object;
133308
- var hasProto$1 = function hasProto() {
133309
- return { __proto__: test$1 }.foo === test$1.foo && !({ __proto__: null } instanceof $Object);
133310
- };
133351
+ var src = bind$3.call(Function.call, Object.prototype.hasOwnProperty);
133311
133352
  var undefined$2;
133312
133353
  var $SyntaxError = SyntaxError;
133313
133354
  var $Function = Function;
@@ -133341,7 +133382,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
133341
133382
  }
133342
133383
  }
133343
133384
  }() : throwTypeError;
133344
- var hasSymbols$1 = hasSymbols$3();
133385
+ var hasSymbols$1 = hasSymbols$2();
133345
133386
  var hasProto2 = hasProto$1();
133346
133387
  var getProto$2 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
133347
133388
  return x2.__proto__;
@@ -133425,7 +133466,7 @@ if (getProto$2) {
133425
133466
  INTRINSICS["%Error.prototype%"] = errorProto;
133426
133467
  }
133427
133468
  }
133428
- var doEval2 = function doEval3(name2) {
133469
+ var doEval = function doEval2(name2) {
133429
133470
  var value2;
133430
133471
  if (name2 === "%AsyncFunction%") {
133431
133472
  value2 = getEvalledConstructor("async function () {}");
@@ -133434,12 +133475,12 @@ var doEval2 = function doEval3(name2) {
133434
133475
  } else if (name2 === "%AsyncGeneratorFunction%") {
133435
133476
  value2 = getEvalledConstructor("async function* () {}");
133436
133477
  } else if (name2 === "%AsyncGenerator%") {
133437
- var fn = doEval3("%AsyncGeneratorFunction%");
133478
+ var fn = doEval2("%AsyncGeneratorFunction%");
133438
133479
  if (fn) {
133439
133480
  value2 = fn.prototype;
133440
133481
  }
133441
133482
  } else if (name2 === "%AsyncIteratorPrototype%") {
133442
- var gen = doEval3("%AsyncGenerator%");
133483
+ var gen = doEval2("%AsyncGenerator%");
133443
133484
  if (gen && getProto$2) {
133444
133485
  value2 = getProto$2(gen.prototype);
133445
133486
  }
@@ -133509,7 +133550,7 @@ var $strSlice = bind$2.call(Function.call, String.prototype.slice);
133509
133550
  var $exec$1 = bind$2.call(Function.call, RegExp.prototype.exec);
133510
133551
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
133511
133552
  var reEscapeChar = /\\(\\)?/g;
133512
- var stringToPath2 = function stringToPath3(string2) {
133553
+ var stringToPath = function stringToPath2(string2) {
133513
133554
  var first = $strSlice(string2, 0, 1);
133514
133555
  var last = $strSlice(string2, -1);
133515
133556
  if (first === "%" && last !== "%") {
@@ -133523,7 +133564,7 @@ var stringToPath2 = function stringToPath3(string2) {
133523
133564
  });
133524
133565
  return result;
133525
133566
  };
133526
- var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
133567
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
133527
133568
  var intrinsicName = name2;
133528
133569
  var alias;
133529
133570
  if (hasOwn$1(LEGACY_ALIASES, intrinsicName)) {
@@ -133533,7 +133574,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
133533
133574
  if (hasOwn$1(INTRINSICS, intrinsicName)) {
133534
133575
  var value2 = INTRINSICS[intrinsicName];
133535
133576
  if (value2 === needsEval) {
133536
- value2 = doEval2(intrinsicName);
133577
+ value2 = doEval(intrinsicName);
133537
133578
  }
133538
133579
  if (typeof value2 === "undefined" && !allowMissing) {
133539
133580
  throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
@@ -133546,7 +133587,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
133546
133587
  }
133547
133588
  throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
133548
133589
  };
133549
- var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
133590
+ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
133550
133591
  if (typeof name2 !== "string" || name2.length === 0) {
133551
133592
  throw new $TypeError("intrinsic name must be a non-empty string");
133552
133593
  }
@@ -133556,9 +133597,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
133556
133597
  if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
133557
133598
  throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
133558
133599
  }
133559
- var parts = stringToPath2(name2);
133600
+ var parts = stringToPath(name2);
133560
133601
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
133561
- var intrinsic = getBaseIntrinsic2("%" + intrinsicBaseName + "%", allowMissing);
133602
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
133562
133603
  var intrinsicRealName = intrinsic.name;
133563
133604
  var value2 = intrinsic.value;
133564
133605
  var skipFurtherCaching = false;
@@ -133607,8 +133648,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
133607
133648
  }
133608
133649
  return value2;
133609
133650
  };
133610
- var GetIntrinsic3 = getIntrinsic;
133611
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
133651
+ var callBind$3 = { exports: {} };
133652
+ (function(module2) {
133653
+ var bind4 = functionBind;
133654
+ var GetIntrinsic3 = getIntrinsic;
133655
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
133656
+ var $call = GetIntrinsic3("%Function.prototype.call%");
133657
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
133658
+ var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
133659
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
133660
+ var $max = GetIntrinsic3("%Math.max%");
133661
+ if ($defineProperty2) {
133662
+ try {
133663
+ $defineProperty2({}, "a", { value: 1 });
133664
+ } catch (e3) {
133665
+ $defineProperty2 = null;
133666
+ }
133667
+ }
133668
+ module2.exports = function callBind2(originalFunction) {
133669
+ var func = $reflectApply(bind4, $call, arguments);
133670
+ if ($gOPD2 && $defineProperty2) {
133671
+ var desc = $gOPD2(func, "length");
133672
+ if (desc.configurable) {
133673
+ $defineProperty2(
133674
+ func,
133675
+ "length",
133676
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
133677
+ );
133678
+ }
133679
+ }
133680
+ return func;
133681
+ };
133682
+ var applyBind = function applyBind2() {
133683
+ return $reflectApply(bind4, $apply, arguments);
133684
+ };
133685
+ if ($defineProperty2) {
133686
+ $defineProperty2(module2.exports, "apply", { value: applyBind });
133687
+ } else {
133688
+ module2.exports.apply = applyBind;
133689
+ }
133690
+ })(callBind$3);
133691
+ var callBindExports = callBind$3.exports;
133692
+ var GetIntrinsic$1 = getIntrinsic;
133693
+ var callBind$2 = callBindExports;
133694
+ var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
133695
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
133696
+ var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
133697
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
133698
+ return callBind$2(intrinsic);
133699
+ }
133700
+ return intrinsic;
133701
+ };
133702
+ var hasToStringTag$2 = shams();
133703
+ var callBound$1 = callBound$2;
133704
+ var $toString$1 = callBound$1("Object.prototype.toString");
133705
+ var isStandardArguments = function isArguments2(value2) {
133706
+ if (hasToStringTag$2 && value2 && typeof value2 === "object" && Symbol.toStringTag in value2) {
133707
+ return false;
133708
+ }
133709
+ return $toString$1(value2) === "[object Arguments]";
133710
+ };
133711
+ var isLegacyArguments = function isArguments3(value2) {
133712
+ if (isStandardArguments(value2)) {
133713
+ return true;
133714
+ }
133715
+ return value2 !== null && typeof value2 === "object" && typeof value2.length === "number" && value2.length >= 0 && $toString$1(value2) !== "[object Array]" && $toString$1(value2.callee) === "[object Function]";
133716
+ };
133717
+ var supportsStandardArguments = function() {
133718
+ return isStandardArguments(arguments);
133719
+ }();
133720
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
133721
+ var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
133722
+ var GetIntrinsic2 = getIntrinsic;
133723
+ var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
133612
133724
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
133613
133725
  if ($defineProperty) {
133614
133726
  try {
@@ -167894,16 +168006,16 @@ async function getDecoder(fileDirectory) {
167894
168006
  const Decoder = await importFn();
167895
168007
  return new Decoder(fileDirectory);
167896
168008
  }
167897
- addDecoder([void 0, 1], () => import("./raw-057a4f85.js").then((m2) => m2.default));
167898
- addDecoder(5, () => import("./lzw-ca7ea787.js").then((m2) => m2.default));
168009
+ addDecoder([void 0, 1], () => import("./raw-5a9e82cf.js").then((m2) => m2.default));
168010
+ addDecoder(5, () => import("./lzw-3ccd34cd.js").then((m2) => m2.default));
167899
168011
  addDecoder(6, () => {
167900
168012
  throw new Error("old style JPEG compression is not supported.");
167901
168013
  });
167902
- addDecoder(7, () => import("./jpeg-81b91cae.js").then((m2) => m2.default));
167903
- addDecoder([8, 32946], () => import("./deflate-0c880ca4.js").then((m2) => m2.default));
167904
- addDecoder(32773, () => import("./packbits-71dd9761.js").then((m2) => m2.default));
167905
- addDecoder(34887, () => import("./lerc-5d4634f9.js").then((m2) => m2.default));
167906
- addDecoder(50001, () => import("./webimage-d9186a47.js").then((m2) => m2.default));
168014
+ addDecoder(7, () => import("./jpeg-8b218246.js").then((m2) => m2.default));
168015
+ addDecoder([8, 32946], () => import("./deflate-18068ab6.js").then((m2) => m2.default));
168016
+ addDecoder(32773, () => import("./packbits-cda64d1b.js").then((m2) => m2.default));
168017
+ addDecoder(34887, () => import("./lerc-168e2976.js").then((m2) => m2.default));
168018
+ addDecoder(50001, () => import("./webimage-ac4b8e63.js").then((m2) => m2.default));
167907
168019
  function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
167908
168020
  return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
167909
168021
  }
@@ -184495,7 +184607,7 @@ class AbstractSpatialOrScatterplot extends PureComponent {
184495
184607
  // eslint-disable-next-line consistent-return
184496
184608
  onHover(info2) {
184497
184609
  const { coordinate, sourceLayer: layer, tile } = info2;
184498
- const { setCellHighlight, cellHighlight, setComponentHover, layers } = this.props;
184610
+ const { setCellHighlight, cellHighlight, setComponentHover, layers, setHoverInfo } = this.props;
184499
184611
  const hasBitmask = (layers || []).some((l2) => l2.type === "bitmask");
184500
184612
  if (!setCellHighlight || !tile) {
184501
184613
  return null;
@@ -184504,6 +184616,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
184504
184616
  if (cellHighlight && hasBitmask) {
184505
184617
  setCellHighlight(null);
184506
184618
  }
184619
+ if (setHoverInfo) {
184620
+ setHoverInfo(null, null);
184621
+ }
184507
184622
  return null;
184508
184623
  }
184509
184624
  const { content: content2, bbox: bbox2, index: { z: z2 } } = tile;
@@ -184511,6 +184626,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
184511
184626
  if (cellHighlight && hasBitmask) {
184512
184627
  setCellHighlight(null);
184513
184628
  }
184629
+ if (setHoverInfo) {
184630
+ setHoverInfo(null, null);
184631
+ }
184514
184632
  return null;
184515
184633
  }
184516
184634
  const { data: data2, width: width2, height: height2 } = content2;
@@ -184542,6 +184660,13 @@ class AbstractSpatialOrScatterplot extends PureComponent {
184542
184660
  }
184543
184661
  setCellHighlight(cellId ? String(cellId) : null);
184544
184662
  }
184663
+ if (setHoverInfo) {
184664
+ if (cellId) {
184665
+ setHoverInfo(hoverData, coordinate);
184666
+ } else {
184667
+ setHoverInfo(null, null);
184668
+ }
184669
+ }
184545
184670
  }
184546
184671
  }
184547
184672
  /**
@@ -184556,7 +184681,8 @@ class AbstractSpatialOrScatterplot extends PureComponent {
184556
184681
  if (updateViewInfo && viewport) {
184557
184682
  updateViewInfo({
184558
184683
  uuid,
184559
- project: (obsId) => {
184684
+ project: viewport.project,
184685
+ projectFromId: (obsId) => {
184560
184686
  try {
184561
184687
  if (obsIndex && obsLocations) {
184562
184688
  const getObsCoords = makeGetObsCoords(obsLocations);
@@ -185171,7 +185297,7 @@ function ScatterplotTooltipSubscriber(props2) {
185171
185297
  const viewInfo = useComponentViewInfo(parentUuid);
185172
185298
  const [cellInfo, x2, y2] = obsHighlight && getObsInfo ? [
185173
185299
  getObsInfo(obsHighlight),
185174
- ...viewInfo && viewInfo.project ? viewInfo.project(obsHighlight) : [null, null]
185300
+ ...viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight) : [null, null]
185175
185301
  ] : [null, null, null];
185176
185302
  return cellInfo ? jsxRuntimeExports.jsx(Tooltip2D, { x: x2, y: y2, parentUuid, sourceUuid, parentWidth: width2, parentHeight: height2, children: jsxRuntimeExports.jsx(TooltipContent, { info: cellInfo }) }) : null;
185177
185303
  }
@@ -187833,7 +187959,7 @@ var config$1 = function config(options) {
187833
187959
  }
187834
187960
  return Object.freeze(DEFAULT_CONFIG);
187835
187961
  };
187836
- _extends$b(config$1, DEFAULT_CONFIG, {
187962
+ _extends$a(config$1, DEFAULT_CONFIG, {
187837
187963
  MATRIX_OPTIONS,
187838
187964
  NUMBER_OPTIONS
187839
187965
  });
@@ -197603,7 +197729,7 @@ function _objectSpread$3(target2) {
197603
197729
  var source2 = arguments[i2] != null ? arguments[i2] : {};
197604
197730
  if (i2 % 2) {
197605
197731
  ownKeys$3(Object(source2), true).forEach(function(key2) {
197606
- _defineProperty$x(target2, key2, source2[key2]);
197732
+ _defineProperty$w(target2, key2, source2[key2]);
197607
197733
  });
197608
197734
  } else if (Object.getOwnPropertyDescriptors) {
197609
197735
  Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
@@ -198431,7 +198557,7 @@ function _objectSpread$2(target2) {
198431
198557
  var source2 = arguments[i2] != null ? arguments[i2] : {};
198432
198558
  if (i2 % 2) {
198433
198559
  ownKeys$2(Object(source2), true).forEach(function(key2) {
198434
- _defineProperty$x(target2, key2, source2[key2]);
198560
+ _defineProperty$w(target2, key2, source2[key2]);
198435
198561
  });
198436
198562
  } else if (Object.getOwnPropertyDescriptors) {
198437
198563
  Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
@@ -199837,9 +199963,9 @@ var createUnitClass = /* @__PURE__ */ factory(name$8, dependencies$7, (_ref3) =>
199837
199963
  }
199838
199964
  }
199839
199965
  };
199840
- PREFIXES.SHORTLONG = _extends$b({}, PREFIXES.SHORT, PREFIXES.LONG);
199841
- PREFIXES.BINARY_SHORT = _extends$b({}, PREFIXES.BINARY_SHORT_SI, PREFIXES.BINARY_SHORT_IEC);
199842
- PREFIXES.BINARY_LONG = _extends$b({}, PREFIXES.BINARY_LONG_SI, PREFIXES.BINARY_LONG_IEC);
199966
+ PREFIXES.SHORTLONG = _extends$a({}, PREFIXES.SHORT, PREFIXES.LONG);
199967
+ PREFIXES.BINARY_SHORT = _extends$a({}, PREFIXES.BINARY_SHORT_SI, PREFIXES.BINARY_SHORT_IEC);
199968
+ PREFIXES.BINARY_LONG = _extends$a({}, PREFIXES.BINARY_LONG_SI, PREFIXES.BINARY_LONG_IEC);
199843
199969
  var BASE_DIMENSIONS = ["MASS", "LENGTH", "TIME", "CURRENT", "TEMPERATURE", "LUMINOUS_INTENSITY", "AMOUNT_OF_SUBSTANCE", "ANGLE", "BIT"];
199844
199970
  var BASE_UNITS = {
199845
199971
  NONE: {
@@ -203667,13 +203793,25 @@ function SpatialOptions(props2) {
203667
203793
  }, children: GLSL_COLORMAPS.map((cmap) => jsxRuntimeExports.jsx("option", { value: cmap, children: cmap }, cmap)) }) })] }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, children: "Gene Expression Colormap Range" }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, children: jsxRuntimeExports.jsx(Slider$1, { classes: { root: classes.slider, valueLabel: classes.sliderValueLabel }, value: geneExpressionColormapRange, onChange: handleColormapRangeChangeDebounced, "aria-labelledby": "gene-expression-colormap-range-slider", valueLabelDisplay: "auto", step: 5e-3, min: 0, max: 1 }) })] })] }) : null] });
203668
203794
  }
203669
203795
  function SpatialTooltipSubscriber(props2) {
203670
- const { parentUuid, obsHighlight, width: width2, height: height2, getObsInfo } = props2;
203796
+ const { parentUuid, obsHighlight, width: width2, height: height2, getObsInfo, hoverData, hoverCoord, useHoverInfoForTooltip, getObsIdFromHoverData } = props2;
203671
203797
  const sourceUuid = useComponentHover();
203672
203798
  const viewInfo = useComponentViewInfo(parentUuid);
203673
- const [cellInfo, x2, y2] = obsHighlight && getObsInfo ? [
203674
- getObsInfo(obsHighlight),
203675
- ...viewInfo && viewInfo.project ? viewInfo.project(obsHighlight) : [null, null]
203676
- ] : [null, null, null];
203799
+ let [cellInfo, x2, y2] = [null, null, null];
203800
+ if (useHoverInfoForTooltip && getObsIdFromHoverData && hoverData && hoverCoord && parentUuid === sourceUuid) {
203801
+ const obsId = getObsIdFromHoverData(hoverData);
203802
+ if (obsId) {
203803
+ [cellInfo, x2, y2] = [
203804
+ getObsInfo(obsId),
203805
+ ...viewInfo && viewInfo.project ? viewInfo.project(hoverCoord) : [null, null]
203806
+ ];
203807
+ }
203808
+ } else if (!useHoverInfoForTooltip && getObsInfo && obsHighlight) {
203809
+ const obsId = obsHighlight;
203810
+ [cellInfo, x2, y2] = [
203811
+ getObsInfo(obsId),
203812
+ ...viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsId) : [null, null]
203813
+ ];
203814
+ }
203677
203815
  return cellInfo ? jsxRuntimeExports.jsx(Tooltip2D, { x: x2, y: y2, parentUuid, sourceUuid, parentWidth: width2, parentHeight: height2, children: jsxRuntimeExports.jsx(TooltipContent, { info: cellInfo }) }) : null;
203678
203816
  }
203679
203817
  function SpatialSubscriber(props2) {
@@ -203818,6 +203956,21 @@ function SpatialSubscriber(props2) {
203818
203956
  ]);
203819
203957
  const cellSelection = useMemo(() => Array.from(cellColors.keys()), [cellColors]);
203820
203958
  const getObsInfo = useGetObsInfo(observationsLabel, obsLabelsTypes, obsLabelsData, obsSetsMembership);
203959
+ const [hoverData, setHoverData] = useState(null);
203960
+ const [hoverCoord, setHoverCoord] = useState(null);
203961
+ const useHoverInfoForTooltip = !obsCentroids;
203962
+ const setHoverInfo = useCallback(debounce$5((data2, coord) => {
203963
+ setHoverData(data2);
203964
+ setHoverCoord(coord);
203965
+ }, 10, { trailing: true }), [setHoverData, setHoverCoord, useHoverInfoForTooltip]);
203966
+ const getObsIdFromHoverData = useCallback((data2) => {
203967
+ if (useHoverInfoForTooltip) {
203968
+ const spatialTargetC = 0;
203969
+ const obsId = data2 == null ? void 0 : data2[spatialTargetC];
203970
+ return obsId;
203971
+ }
203972
+ return null;
203973
+ }, [useHoverInfoForTooltip]);
203821
203974
  const setViewState = ({ zoom: newZoom, target: target2, rotationX: newRotationX, rotationOrbit: newRotationOrbit, orbitAxis: newOrbitAxis }) => {
203822
203975
  setZoom(newZoom);
203823
203976
  setTargetX(target2[0]);
@@ -203904,9 +204057,9 @@ function SpatialSubscriber(props2) {
203904
204057
  rotationZ,
203905
204058
  rotationOrbit,
203906
204059
  orbitAxis
203907
- }, setViewState, originalViewState, imageLayerDefs: imageLayers, obsSegmentationsLayerDefs: cellsLayer, obsLocationsLayerDefs: moleculesLayer, neighborhoodLayerDefs: neighborhoodsLayer, obsLocationsIndex, obsSegmentationsIndex, obsLocations, obsLocationsLabels, obsLocationsFeatureIndex, hasSegmentations: hasSegmentationsData, obsSegmentations, obsSegmentationsType, obsCentroids, obsCentroidsIndex, cellFilter, cellSelection, cellHighlight, cellColors, neighborhoods, imageLayerLoaders: resolutionFilteredImageLayerLoaders, setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight, setMoleculeHighlight, setComponentHover: () => {
204060
+ }, setViewState, originalViewState, imageLayerDefs: imageLayers, obsSegmentationsLayerDefs: cellsLayer, obsLocationsLayerDefs: moleculesLayer, neighborhoodLayerDefs: neighborhoodsLayer, obsLocationsIndex, obsSegmentationsIndex, obsLocations, obsLocationsLabels, obsLocationsFeatureIndex, hasSegmentations: hasSegmentationsData, obsSegmentations, obsSegmentationsType, obsCentroids, obsCentroidsIndex, cellFilter, cellSelection, cellHighlight, cellColors, neighborhoods, imageLayerLoaders: resolutionFilteredImageLayerLoaders, setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight, setHoverInfo, setMoleculeHighlight, setComponentHover: () => {
203908
204061
  setComponentHover(uuid);
203909
- }, updateViewInfo: setComponentViewInfo, imageLayerCallbacks, segmentationLayerCallbacks, spatialAxisFixed, geneExpressionColormap, geneExpressionColormapRange, expressionData: shiftedExpressionDataForBitmask, cellColorEncoding, getExpressionValue, theme, useFullResolutionImage }), tooltipsVisible && jsxRuntimeExports.jsx(SpatialTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width2, height: height2, getObsInfo }), jsxRuntimeExports.jsx(Legend, {
204062
+ }, updateViewInfo: setComponentViewInfo, imageLayerCallbacks, segmentationLayerCallbacks, spatialAxisFixed, geneExpressionColormap, geneExpressionColormapRange, expressionData: shiftedExpressionDataForBitmask, cellColorEncoding, getExpressionValue, theme, useFullResolutionImage }), tooltipsVisible && jsxRuntimeExports.jsx(SpatialTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width2, height: height2, getObsInfo, useHoverInfoForTooltip, hoverData, hoverCoord, getObsIdFromHoverData }), jsxRuntimeExports.jsx(Legend, {
203910
204063
  visible: true,
203911
204064
  // Fix to dark theme due to black background of spatial plot.
203912
204065
  theme: "dark",
@@ -204202,7 +204355,7 @@ const Heatmap$1 = forwardRef((props2, deckRef) => {
204202
204355
  useEffect(() => {
204203
204356
  updateViewInfo({
204204
204357
  uuid,
204205
- project: (cellId, geneId) => {
204358
+ projectFromId: (cellId, geneId) => {
204206
204359
  const colI = transpose2 ? axisTopLabels.indexOf(cellId) : axisTopLabels.indexOf(geneId);
204207
204360
  const rowI = transpose2 ? axisLeftLabels.indexOf(geneId) : axisLeftLabels.indexOf(cellId);
204208
204361
  return heatmapToMousePosition(colI, rowI, {
@@ -204736,11 +204889,11 @@ function HeatmapTooltipSubscriber(props2) {
204736
204889
  const viewInfo = useComponentViewInfo(parentUuid);
204737
204890
  const [cellInfo, cellCoord] = obsHighlight && getObsInfo ? [
204738
204891
  getObsInfo(obsHighlight),
204739
- viewInfo && viewInfo.project ? viewInfo.project(obsHighlight, null)[transpose2 ? 0 : 1] : null
204892
+ viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight, null)[transpose2 ? 0 : 1] : null
204740
204893
  ] : [null, null];
204741
204894
  const [geneInfo, geneCoord] = featureHighlight && getFeatureInfo ? [
204742
204895
  getFeatureInfo(featureHighlight),
204743
- viewInfo && viewInfo.project ? viewInfo.project(null, featureHighlight)[transpose2 ? 1 : 0] : null
204896
+ viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(null, featureHighlight)[transpose2 ? 1 : 0] : null
204744
204897
  ] : [null, null];
204745
204898
  const x2 = transpose2 ? cellCoord : geneCoord;
204746
204899
  const y2 = transpose2 ? geneCoord : cellCoord;
@@ -210939,7 +211092,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
210939
211092
  const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
210940
211093
  register({ dataFetcher: ZarrMultivecDataFetcher, config: ZarrMultivecDataFetcher.config }, { pluginType: "dataFetcher" });
210941
211094
  const LazyHiGlassComponent = React__default.lazy(async () => {
210942
- const { HiGlassComponent } = await import("./hglib-907f59a3.js").then((n3) => n3.h);
211095
+ const { HiGlassComponent } = await import("./hglib-b39fe448.js").then((n3) => n3.h);
210943
211096
  return { default: HiGlassComponent };
210944
211097
  });
210945
211098
  const HG_SIZE = 800;
@@ -270583,6 +270736,8 @@ const baseJointFileTypes = [
270583
270736
  new PluginJointFileType(FileType$2.MOLECULES_JSON, expandMoleculesJson, z.null())
270584
270737
  ];
270585
270738
  const baseCoordinationTypes = [
270739
+ new PluginCoordinationType(CoordinationType$2.META_COORDINATION_SCOPES, null, z.record(z.any()).nullable()),
270740
+ new PluginCoordinationType(CoordinationType$2.META_COORDINATION_SCOPES_BY, null, z.record(z.any()).nullable()),
270586
270741
  new PluginCoordinationType(CoordinationType$2.DATASET, null, z.string().nullable()),
270587
270742
  new PluginCoordinationType(CoordinationType$2.OBS_TYPE, "cell", z.string()),
270588
270743
  new PluginCoordinationType(CoordinationType$2.FEATURE_TYPE, "gene", z.string()),
@@ -273143,6 +273298,7 @@ export {
273143
273298
  CoordinationType as C,
273144
273299
  DataType$1 as D,
273145
273300
  FileType as F,
273301
+ HINTS_CONFIG as H,
273146
273302
  LercParameters as L,
273147
273303
  PluginFileType as P,
273148
273304
  ViewType as V,
@@ -273156,12 +273312,14 @@ export {
273156
273312
  CoordinationType$1 as h,
273157
273313
  VitessceConfig as i,
273158
273314
  hconcat as j,
273159
- generateConfigs as k,
273160
- Vitessce as l,
273161
- PluginViewType as m,
273162
- PluginCoordinationType as n,
273315
+ generateConfig as k,
273316
+ getHintOptions as l,
273317
+ HINT_TYPE_TO_FILE_TYPE_MAP as m,
273318
+ Vitessce as n,
273163
273319
  objectAssign$2 as o,
273164
- PluginJointFileType as p,
273320
+ PluginViewType as p,
273321
+ PluginCoordinationType as q,
273322
+ PluginJointFileType as r,
273165
273323
  vconcat as v,
273166
273324
  z
273167
273325
  };