@vitessce/layer-controller 3.0.0 → 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.
@@ -1888,7 +1888,24 @@ function elementTypeAcceptingRef(props2, propName, componentName, location, prop
1888
1888
  return null;
1889
1889
  }
1890
1890
  const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
1891
+ function _toPrimitive(input, hint2) {
1892
+ if (_typeof$x(input) !== "object" || input === null)
1893
+ return input;
1894
+ var prim = input[Symbol.toPrimitive];
1895
+ if (prim !== void 0) {
1896
+ var res = prim.call(input, hint2 || "default");
1897
+ if (_typeof$x(res) !== "object")
1898
+ return res;
1899
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1900
+ }
1901
+ return (hint2 === "string" ? String : Number)(input);
1902
+ }
1903
+ function _toPropertyKey(arg) {
1904
+ var key = _toPrimitive(arg, "string");
1905
+ return _typeof$x(key) === "symbol" ? key : String(key);
1906
+ }
1891
1907
  function _defineProperty$f(obj, key, value) {
1908
+ key = _toPropertyKey(key);
1892
1909
  if (key in obj) {
1893
1910
  Object.defineProperty(obj, key, {
1894
1911
  value,
@@ -2285,6 +2302,19 @@ function lighten(color, coefficient) {
2285
2302
  }
2286
2303
  return recomposeColor(color);
2287
2304
  }
2305
+ function _defineProperty$e(obj, key, value) {
2306
+ if (key in obj) {
2307
+ Object.defineProperty(obj, key, {
2308
+ value,
2309
+ enumerable: true,
2310
+ configurable: true,
2311
+ writable: true
2312
+ });
2313
+ } else {
2314
+ obj[key] = value;
2315
+ }
2316
+ return obj;
2317
+ }
2288
2318
  function _objectWithoutPropertiesLoose$1(source, excluded) {
2289
2319
  if (source == null)
2290
2320
  return {};
@@ -2317,6 +2347,20 @@ function _objectWithoutProperties(source, excluded) {
2317
2347
  }
2318
2348
  return target;
2319
2349
  }
2350
+ function _extends() {
2351
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
2352
+ for (var i2 = 1; i2 < arguments.length; i2++) {
2353
+ var source = arguments[i2];
2354
+ for (var key in source) {
2355
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
2356
+ target[key] = source[key];
2357
+ }
2358
+ }
2359
+ }
2360
+ return target;
2361
+ };
2362
+ return _extends.apply(this, arguments);
2363
+ }
2320
2364
  var keys$2 = ["xs", "sm", "md", "lg", "xl"];
2321
2365
  function createBreakpoints(breakpoints) {
2322
2366
  var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
@@ -2359,7 +2403,7 @@ function createBreakpoints(breakpoints) {
2359
2403
  }
2360
2404
  return values2[key];
2361
2405
  }
2362
- return _extends$1({
2406
+ return _extends({
2363
2407
  keys: keys$2,
2364
2408
  values: values2,
2365
2409
  up,
@@ -2371,23 +2415,23 @@ function createBreakpoints(breakpoints) {
2371
2415
  }
2372
2416
  function createMixins(breakpoints, spacing, mixins) {
2373
2417
  var _toolbar;
2374
- return _extends$1({
2418
+ return _extends({
2375
2419
  gutters: function gutters() {
2376
2420
  var styles30 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2377
2421
  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"));
2378
- return _extends$1({
2422
+ return _extends({
2379
2423
  paddingLeft: spacing(2),
2380
2424
  paddingRight: spacing(2)
2381
- }, styles30, _defineProperty$f({}, breakpoints.up("sm"), _extends$1({
2425
+ }, styles30, _defineProperty$e({}, breakpoints.up("sm"), _extends({
2382
2426
  paddingLeft: spacing(3),
2383
2427
  paddingRight: spacing(3)
2384
2428
  }, styles30[breakpoints.up("sm")])));
2385
2429
  },
2386
2430
  toolbar: (_toolbar = {
2387
2431
  minHeight: 56
2388
- }, _defineProperty$f(_toolbar, "".concat(breakpoints.up("xs"), " and (orientation: landscape)"), {
2432
+ }, _defineProperty$e(_toolbar, "".concat(breakpoints.up("xs"), " and (orientation: landscape)"), {
2389
2433
  minHeight: 48
2390
- }), _defineProperty$f(_toolbar, breakpoints.up("sm"), {
2434
+ }), _defineProperty$e(_toolbar, breakpoints.up("sm"), {
2391
2435
  minHeight: 64
2392
2436
  }), _toolbar)
2393
2437
  }, mixins);
@@ -2512,7 +2556,7 @@ function createPalette(palette) {
2512
2556
  var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
2513
2557
  var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
2514
2558
  var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
2515
- color = _extends$1({}, color);
2559
+ color = _extends({}, color);
2516
2560
  if (!color.main && color[mainShade]) {
2517
2561
  color.main = color[mainShade];
2518
2562
  }
@@ -2538,7 +2582,7 @@ function createPalette(palette) {
2538
2582
  console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
2539
2583
  }
2540
2584
  }
2541
- var paletteOutput = deepmerge(_extends$1({
2585
+ var paletteOutput = deepmerge(_extends({
2542
2586
  // A collection of common colors.
2543
2587
  common: common$3,
2544
2588
  // The palette type, can be light or dark.
@@ -2603,7 +2647,7 @@ function createTypography(palette, typography) {
2603
2647
  return "".concat(size / htmlFontSize * coef, "rem");
2604
2648
  };
2605
2649
  var buildVariant = function buildVariant2(fontWeight, size, lineHeight, letterSpacing, casing) {
2606
- return _extends$1({
2650
+ return _extends({
2607
2651
  fontFamily,
2608
2652
  fontWeight,
2609
2653
  fontSize: pxToRem(size),
@@ -2628,7 +2672,7 @@ function createTypography(palette, typography) {
2628
2672
  caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
2629
2673
  overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
2630
2674
  };
2631
- return deepmerge(_extends$1({
2675
+ return deepmerge(_extends({
2632
2676
  htmlFontSize,
2633
2677
  pxToRem,
2634
2678
  round: roundWithDeprecationWarning,
@@ -2693,6 +2737,14 @@ function _nonIterableSpread$j() {
2693
2737
  function _toConsumableArray$j(arr) {
2694
2738
  return _arrayWithoutHoles$j(arr) || _iterableToArray$j(arr) || _unsupportedIterableToArray$k(arr) || _nonIterableSpread$j();
2695
2739
  }
2740
+ function _typeof$w(obj) {
2741
+ "@babel/helpers - typeof";
2742
+ return _typeof$w = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
2743
+ return typeof obj2;
2744
+ } : function(obj2) {
2745
+ return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
2746
+ }, _typeof$w(obj);
2747
+ }
2696
2748
  function _arrayWithHoles$6(arr) {
2697
2749
  if (Array.isArray(arr))
2698
2750
  return arr;
@@ -2935,7 +2987,7 @@ function createTheme() {
2935
2987
  } else if (pseudoClasses2.indexOf(key) !== -1 && Object.keys(child).length > 0) {
2936
2988
  {
2937
2989
  console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), "You can not override it like this: ", JSON.stringify(node2, null, 2), "", "Instead, you need to use the $ruleName syntax:", JSON.stringify({
2938
- root: _defineProperty$f({}, "&$".concat(key), child)
2990
+ root: _defineProperty$e({}, "&$".concat(key), child)
2939
2991
  }, null, 2), "", "https://mui.com/r/pseudo-classes-guide"].join("\n"));
2940
2992
  }
2941
2993
  node2[key] = {};
@@ -3017,50 +3069,12 @@ function warning(condition, message) {
3017
3069
  }
3018
3070
  }
3019
3071
  }
3020
- function _extends() {
3021
- _extends = Object.assign ? Object.assign.bind() : function(target) {
3022
- for (var i2 = 1; i2 < arguments.length; i2++) {
3023
- var source = arguments[i2];
3024
- for (var key in source) {
3025
- if (Object.prototype.hasOwnProperty.call(source, key)) {
3026
- target[key] = source[key];
3027
- }
3028
- }
3029
- }
3030
- return target;
3031
- };
3032
- return _extends.apply(this, arguments);
3033
- }
3034
- var _typeof$w = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3072
+ var _typeof$v = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
3035
3073
  return typeof obj;
3036
3074
  } : function(obj) {
3037
3075
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
3038
3076
  };
3039
- var isBrowser$4 = (typeof window === "undefined" ? "undefined" : _typeof$w(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$w(document)) === "object" && document.nodeType === 9;
3040
- function _typeof$v(obj) {
3041
- "@babel/helpers - typeof";
3042
- return _typeof$v = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
3043
- return typeof obj2;
3044
- } : function(obj2) {
3045
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
3046
- }, _typeof$v(obj);
3047
- }
3048
- function _toPrimitive(input, hint2) {
3049
- if (_typeof$v(input) !== "object" || input === null)
3050
- return input;
3051
- var prim = input[Symbol.toPrimitive];
3052
- if (prim !== void 0) {
3053
- var res = prim.call(input, hint2 || "default");
3054
- if (_typeof$v(res) !== "object")
3055
- return res;
3056
- throw new TypeError("@@toPrimitive must return a primitive value.");
3057
- }
3058
- return (hint2 === "string" ? String : Number)(input);
3059
- }
3060
- function _toPropertyKey(arg) {
3061
- var key = _toPrimitive(arg, "string");
3062
- return _typeof$v(key) === "symbol" ? key : String(key);
3063
- }
3077
+ var isBrowser$4 = (typeof window === "undefined" ? "undefined" : _typeof$v(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$v(document)) === "object" && document.nodeType === 9;
3064
3078
  function _defineProperties$x(target, props2) {
3065
3079
  for (var i2 = 0; i2 < props2.length; i2++) {
3066
3080
  var descriptor = props2[i2];
@@ -3338,7 +3352,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
3338
3352
  _proto2.toString = function toString2(options) {
3339
3353
  var sheet = this.options.sheet;
3340
3354
  var link2 = sheet ? sheet.options.link : false;
3341
- var opts2 = link2 ? _extends({}, options, {
3355
+ var opts2 = link2 ? _extends$1({}, options, {
3342
3356
  allowEmpty: true
3343
3357
  }) : options;
3344
3358
  return toCss(this.selectorText, this.style, opts2);
@@ -3385,7 +3399,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
3385
3399
  this.at = atMatch ? atMatch[1] : "unknown";
3386
3400
  this.query = options.name || "@" + this.at;
3387
3401
  this.options = options;
3388
- this.rules = new RuleList(_extends({}, options, {
3402
+ this.rules = new RuleList(_extends$1({}, options, {
3389
3403
  parent: this
3390
3404
  }));
3391
3405
  for (var name2 in styles30) {
@@ -3457,11 +3471,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
3457
3471
  this.options = options;
3458
3472
  var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
3459
3473
  this.id = scoped === false ? this.name : escape(generateId(this, sheet));
3460
- this.rules = new RuleList(_extends({}, options, {
3474
+ this.rules = new RuleList(_extends$1({}, options, {
3461
3475
  parent: this
3462
3476
  }));
3463
3477
  for (var name2 in frames) {
3464
- this.rules.add(name2, frames[name2], _extends({}, options, {
3478
+ this.rules.add(name2, frames[name2], _extends$1({}, options, {
3465
3479
  parent: this
3466
3480
  }));
3467
3481
  }
@@ -3546,7 +3560,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
3546
3560
  _proto.toString = function toString2(options) {
3547
3561
  var sheet = this.options.sheet;
3548
3562
  var link2 = sheet ? sheet.options.link : false;
3549
- var opts2 = link2 ? _extends({}, options, {
3563
+ var opts2 = link2 ? _extends$1({}, options, {
3550
3564
  allowEmpty: true
3551
3565
  }) : options;
3552
3566
  return toCss(this.key, this.style, opts2);
@@ -3670,7 +3684,7 @@ var RuleList = /* @__PURE__ */ function() {
3670
3684
  var _proto = RuleList2.prototype;
3671
3685
  _proto.add = function add2(name2, decl, ruleOptions) {
3672
3686
  var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
3673
- var options = _extends({
3687
+ var options = _extends$1({
3674
3688
  classes: this.classes,
3675
3689
  parent,
3676
3690
  sheet,
@@ -3706,7 +3720,7 @@ var RuleList = /* @__PURE__ */ function() {
3706
3720
  }
3707
3721
  var options = ruleOptions;
3708
3722
  if (oldIndex !== -1)
3709
- options = _extends({}, ruleOptions, {
3723
+ options = _extends$1({}, ruleOptions, {
3710
3724
  index: oldIndex
3711
3725
  });
3712
3726
  return this.add(name2, decl, options);
@@ -3819,7 +3833,7 @@ var StyleSheet = /* @__PURE__ */ function() {
3819
3833
  this.deployed = false;
3820
3834
  this.classes = {};
3821
3835
  this.keyframes = {};
3822
- this.options = _extends({}, options, {
3836
+ this.options = _extends$1({}, options, {
3823
3837
  sheet: this,
3824
3838
  parent: this,
3825
3839
  classes: this.classes,
@@ -4438,7 +4452,7 @@ var Jss = /* @__PURE__ */ function() {
4438
4452
  this.options.createGenerateId = options.createGenerateId;
4439
4453
  }
4440
4454
  if (options.id) {
4441
- this.options.id = _extends({}, this.options.id, options.id);
4455
+ this.options.id = _extends$1({}, this.options.id, options.id);
4442
4456
  }
4443
4457
  if (options.createGenerateId || options.id) {
4444
4458
  this.generateId = this.options.createGenerateId(this.options.id);
@@ -4460,7 +4474,7 @@ var Jss = /* @__PURE__ */ function() {
4460
4474
  if (typeof index2 !== "number") {
4461
4475
  index2 = sheets.index === 0 ? 0 : sheets.index + 1;
4462
4476
  }
4463
- var sheet = new StyleSheet(styles30, _extends({}, options, {
4477
+ var sheet = new StyleSheet(styles30, _extends$1({}, options, {
4464
4478
  jss: this,
4465
4479
  generateId: options.generateId || this.generateId,
4466
4480
  insertionPoint: this.options.insertionPoint,
@@ -4485,7 +4499,7 @@ var Jss = /* @__PURE__ */ function() {
4485
4499
  if (typeof name2 === "object") {
4486
4500
  return this.createRule(void 0, name2, style2);
4487
4501
  }
4488
- var ruleOptions = _extends({}, options, {
4502
+ var ruleOptions = _extends$1({}, options, {
4489
4503
  name: name2,
4490
4504
  jss: this,
4491
4505
  Renderer: this.options.Renderer
@@ -4596,7 +4610,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
4596
4610
  this.isProcessed = false;
4597
4611
  this.key = key;
4598
4612
  this.options = options;
4599
- this.rules = new RuleList(_extends$1({}, options, {
4613
+ this.rules = new RuleList(_extends({}, options, {
4600
4614
  parent: this
4601
4615
  }));
4602
4616
  for (var selector in styles30) {
@@ -4636,7 +4650,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
4636
4650
  this.key = key;
4637
4651
  this.options = options;
4638
4652
  var selector = key.substr(atPrefix.length);
4639
- this.rule = options.jss.createRule(selector, style2, _extends$1({}, options, {
4653
+ this.rule = options.jss.createRule(selector, style2, _extends({}, options, {
4640
4654
  parent: this
4641
4655
  }));
4642
4656
  }
@@ -4663,7 +4677,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
4663
4677
  if (!rules)
4664
4678
  return;
4665
4679
  for (var name2 in rules) {
4666
- sheet.addRule(name2, rules[name2], _extends$1({}, options, {
4680
+ sheet.addRule(name2, rules[name2], _extends({}, options, {
4667
4681
  selector: addScope(name2, rule.selector)
4668
4682
  }));
4669
4683
  }
@@ -4675,7 +4689,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
4675
4689
  if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
4676
4690
  continue;
4677
4691
  var selector = addScope(prop.substr(at.length), rule.selector);
4678
- sheet.addRule(selector, style2[prop], _extends$1({}, options, {
4692
+ sheet.addRule(selector, style2[prop], _extends({}, options, {
4679
4693
  selector
4680
4694
  }));
4681
4695
  delete style2[prop];
@@ -4744,12 +4758,12 @@ function jssNested() {
4744
4758
  }
4745
4759
  function getOptions(rule, container, prevOptions) {
4746
4760
  if (prevOptions)
4747
- return _extends({}, prevOptions, {
4761
+ return _extends$1({}, prevOptions, {
4748
4762
  index: prevOptions.index + 1
4749
4763
  });
4750
4764
  var nestingLevel = rule.options.nestingLevel;
4751
4765
  nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
4752
- var options = _extends({}, rule.options, {
4766
+ var options = _extends$1({}, rule.options, {
4753
4767
  nestingLevel,
4754
4768
  index: container.indexOf(rule) + 1
4755
4769
  // We don't need the parent name to be set options for chlid.
@@ -4777,11 +4791,11 @@ function jssNested() {
4777
4791
  selector = selector.replace(refRegExp, replaceRef3);
4778
4792
  var name2 = styleRule.key + "-" + prop;
4779
4793
  if ("replaceRule" in container) {
4780
- container.replaceRule(name2, style2[prop], _extends({}, options, {
4794
+ container.replaceRule(name2, style2[prop], _extends$1({}, options, {
4781
4795
  selector
4782
4796
  }));
4783
4797
  } else {
4784
- container.addRule(name2, style2[prop], _extends({}, options, {
4798
+ container.addRule(name2, style2[prop], _extends$1({}, options, {
4785
4799
  selector
4786
4800
  }));
4787
4801
  }
@@ -5551,7 +5565,7 @@ function mergeClasses() {
5551
5565
  if (!newClasses) {
5552
5566
  return baseClasses;
5553
5567
  }
5554
- var nextClasses = _extends$1({}, baseClasses);
5568
+ var nextClasses = _extends({}, baseClasses);
5555
5569
  {
5556
5570
  if (typeof newClasses === "string") {
5557
5571
  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"));
@@ -5623,7 +5637,7 @@ var injectFirstNode;
5623
5637
  function StylesProvider(props2) {
5624
5638
  var children = 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(props2, ["children", "injectFirst", "disableGeneration"]);
5625
5639
  var outerOptions = React__default.useContext(StylesContext);
5626
- var context = _extends$1({}, outerOptions, {
5640
+ var context = _extends({}, outerOptions, {
5627
5641
  disableGeneration
5628
5642
  }, localOptions);
5629
5643
  {
@@ -5728,7 +5742,7 @@ const noopTheme$1 = noopTheme;
5728
5742
  function getStylesCreator(stylesOrCreator) {
5729
5743
  var themingEnabled = typeof stylesOrCreator === "function";
5730
5744
  {
5731
- if (_typeof$x(stylesOrCreator) !== "object" && !themingEnabled) {
5745
+ if (_typeof$w(stylesOrCreator) !== "object" && !themingEnabled) {
5732
5746
  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"));
5733
5747
  }
5734
5748
  }
@@ -5749,7 +5763,7 @@ function getStylesCreator(stylesOrCreator) {
5749
5763
  return styles30;
5750
5764
  }
5751
5765
  var overrides = theme.overrides[name2];
5752
- var stylesWithOverrides = _extends$1({}, styles30);
5766
+ var stylesWithOverrides = _extends({}, styles30);
5753
5767
  Object.keys(overrides).forEach(function(key) {
5754
5768
  {
5755
5769
  if (!stylesWithOverrides[key]) {
@@ -5810,7 +5824,7 @@ function attach(_ref22, props2) {
5810
5824
  };
5811
5825
  multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
5812
5826
  }
5813
- var options = _extends$1({}, stylesCreator.options, stylesOptions, {
5827
+ var options = _extends({}, stylesCreator.options, stylesOptions, {
5814
5828
  theme,
5815
5829
  flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
5816
5830
  });
@@ -5823,7 +5837,7 @@ function attach(_ref22, props2) {
5823
5837
  }
5824
5838
  var styles30 = stylesCreator.create(theme, name2);
5825
5839
  if (!staticSheet) {
5826
- staticSheet = stylesOptions.jss.createStyleSheet(styles30, _extends$1({
5840
+ staticSheet = stylesOptions.jss.createStyleSheet(styles30, _extends({
5827
5841
  link: false
5828
5842
  }, options));
5829
5843
  staticSheet.attach();
@@ -5838,7 +5852,7 @@ function attach(_ref22, props2) {
5838
5852
  sheetManager.dynamicStyles = getDynamicStyles(styles30);
5839
5853
  }
5840
5854
  if (sheetManager.dynamicStyles) {
5841
- var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
5855
+ var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends({
5842
5856
  link: true
5843
5857
  }, options));
5844
5858
  dynamicSheet.update(props2);
@@ -5920,7 +5934,7 @@ function makeStyles$1(stylesOrCreator) {
5920
5934
  var useStyles2 = function useStyles3() {
5921
5935
  var props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5922
5936
  var theme = useTheme$1() || defaultTheme2;
5923
- var stylesOptions = _extends$1({}, React__default.useContext(StylesContext), stylesOptions2);
5937
+ var stylesOptions = _extends({}, React__default.useContext(StylesContext), stylesOptions2);
5924
5938
  var instance = React__default.useRef();
5925
5939
  var shouldUpdate = React__default.useRef();
5926
5940
  useSynchronousEffect(function() {
@@ -6095,7 +6109,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
6095
6109
  }
6096
6110
  }
6097
6111
  }
6098
- var useStyles2 = makeStyles$1(stylesOrCreator, _extends$1({
6112
+ var useStyles2 = makeStyles$1(stylesOrCreator, _extends({
6099
6113
  defaultTheme: defaultTheme2,
6100
6114
  Component: Component2,
6101
6115
  name: name2 || Component2.displayName,
@@ -6104,7 +6118,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
6104
6118
  var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props2, ref) {
6105
6119
  props2.classes;
6106
6120
  var innerRef = props2.innerRef, other = _objectWithoutProperties(props2, ["classes", "innerRef"]);
6107
- var classes = useStyles2(_extends$1({}, Component2.defaultProps, props2));
6121
+ var classes = useStyles2(_extends({}, Component2.defaultProps, props2));
6108
6122
  var theme;
6109
6123
  var more = other;
6110
6124
  if (typeof name2 === "string" || withTheme) {
@@ -6120,7 +6134,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
6120
6134
  more.theme = theme;
6121
6135
  }
6122
6136
  }
6123
- return /* @__PURE__ */ React__default.createElement(Component2, _extends$1({
6137
+ return /* @__PURE__ */ React__default.createElement(Component2, _extends({
6124
6138
  ref: innerRef || ref,
6125
6139
  classes
6126
6140
  }, more));
@@ -6161,7 +6175,7 @@ var defaultTheme = createTheme();
6161
6175
  const defaultTheme$1 = defaultTheme;
6162
6176
  function makeStyles(stylesOrCreator) {
6163
6177
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6164
- return makeStyles$1(stylesOrCreator, _extends$1({
6178
+ return makeStyles$1(stylesOrCreator, _extends({
6165
6179
  defaultTheme: defaultTheme$1
6166
6180
  }, options));
6167
6181
  }
@@ -6173,7 +6187,7 @@ function useTheme() {
6173
6187
  return theme;
6174
6188
  }
6175
6189
  function withStyles2(stylesOrCreator, options) {
6176
- return withStylesWithoutDefault(stylesOrCreator, _extends$1({
6190
+ return withStylesWithoutDefault(stylesOrCreator, _extends({
6177
6191
  defaultTheme: defaultTheme$1
6178
6192
  }, options));
6179
6193
  }
@@ -6257,7 +6271,7 @@ var styles$D = function styles(theme) {
6257
6271
  };
6258
6272
  var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props2, ref) {
6259
6273
  var children = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props2.component, Component2 = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props2.fontSize, fontSize = _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(props2, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
6260
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
6274
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
6261
6275
  className: clsx(classes.root, className, color !== "inherit" && classes["color".concat(capitalize$1(color))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize$1(fontSize))]),
6262
6276
  focusable: "false",
6263
6277
  viewBox,
@@ -6335,7 +6349,7 @@ const SvgIcon$1 = withStyles2(styles$D, {
6335
6349
  })(SvgIcon);
6336
6350
  function createSvgIcon(path, displayName) {
6337
6351
  var Component2 = function Component3(props2, ref) {
6338
- return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$1({
6352
+ return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends({
6339
6353
  ref
6340
6354
  }, props2), path);
6341
6355
  };
@@ -7159,7 +7173,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
7159
7173
  }
7160
7174
  if (this.mounted) {
7161
7175
  this.setState(function(state) {
7162
- var children = _extends$1({}, state.children);
7176
+ var children = _extends({}, state.children);
7163
7177
  delete children[child.key];
7164
7178
  return {
7165
7179
  children
@@ -7371,7 +7385,7 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props2, ref)
7371
7385
  timer.current = setTimeout(next, autoTransitionDuration.current || 0);
7372
7386
  }
7373
7387
  };
7374
- return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
7388
+ return /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
7375
7389
  in: inProp,
7376
7390
  onEnter: handleEnter,
7377
7391
  onEntered: handleEntered,
@@ -7383,12 +7397,12 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props2, ref)
7383
7397
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
7384
7398
  timeout: timeout2 === "auto" ? null : timeout2
7385
7399
  }, other), function(state, childProps) {
7386
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
7400
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
7387
7401
  className: clsx(classes.root, classes.container, className, {
7388
7402
  "entered": classes.entered,
7389
7403
  "exited": !inProp && collapsedSize === "0px" && classes.hidden
7390
7404
  }[state]),
7391
- style: _extends$1({
7405
+ style: _extends({
7392
7406
  minHeight: collapsedSize
7393
7407
  }, style2),
7394
7408
  ref: handleRef
@@ -7498,7 +7512,7 @@ var styles$B = function styles3(theme) {
7498
7512
  boxShadow: shadow2
7499
7513
  };
7500
7514
  });
7501
- return _extends$1({
7515
+ return _extends({
7502
7516
  /* Styles applied to the root element. */
7503
7517
  root: {
7504
7518
  backgroundColor: theme.palette.background.paper,
@@ -7517,7 +7531,7 @@ var styles$B = function styles3(theme) {
7517
7531
  };
7518
7532
  var Paper = /* @__PURE__ */ React.forwardRef(function Paper2(props2, ref) {
7519
7533
  var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$square = props2.square, square = _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(props2, ["classes", "className", "component", "square", "elevation", "variant"]);
7520
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
7534
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
7521
7535
  className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
7522
7536
  ref
7523
7537
  }, other));
@@ -7667,13 +7681,13 @@ var Accordion = /* @__PURE__ */ React.forwardRef(function Accordion2(props2, ref
7667
7681
  toggle: handleChange
7668
7682
  };
7669
7683
  }, [expanded, disabled, handleChange]);
7670
- return /* @__PURE__ */ React.createElement(Paper$1, _extends$1({
7684
+ return /* @__PURE__ */ React.createElement(Paper$1, _extends({
7671
7685
  className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square && classes.rounded),
7672
7686
  ref,
7673
7687
  square
7674
7688
  }, other), /* @__PURE__ */ React.createElement(AccordionContext$1.Provider, {
7675
7689
  value: contextValue
7676
- }, summary), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
7690
+ }, summary), /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
7677
7691
  in: expanded,
7678
7692
  timeout: "auto"
7679
7693
  }, TransitionProps), /* @__PURE__ */ React.createElement("div", {
@@ -7757,7 +7771,7 @@ var styles$z = function styles5(theme) {
7757
7771
  };
7758
7772
  var AccordionDetails = /* @__PURE__ */ React.forwardRef(function AccordionDetails2(props2, ref) {
7759
7773
  var classes = props2.classes, className = props2.className, other = _objectWithoutProperties(props2, ["classes", "className"]);
7760
- return /* @__PURE__ */ React.createElement("div", _extends$1({
7774
+ return /* @__PURE__ */ React.createElement("div", _extends({
7761
7775
  className: clsx(classes.root, className),
7762
7776
  ref
7763
7777
  }, other));
@@ -8069,7 +8083,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props2,
8069
8083
  stop
8070
8084
  };
8071
8085
  }, [pulsate, start, stop]);
8072
- return /* @__PURE__ */ React.createElement("span", _extends$1({
8086
+ return /* @__PURE__ */ React.createElement("span", _extends({
8073
8087
  className: clsx(classes.root, className),
8074
8088
  ref: container
8075
8089
  }, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
@@ -8288,7 +8302,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
8288
8302
  }
8289
8303
  }, [enableTouchRipple]);
8290
8304
  }
8291
- return /* @__PURE__ */ React.createElement(ComponentProp, _extends$1({
8305
+ return /* @__PURE__ */ React.createElement(ComponentProp, _extends({
8292
8306
  className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
8293
8307
  onBlur: handleBlur,
8294
8308
  onClick,
@@ -8306,7 +8320,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
8306
8320
  tabIndex: disabled ? -1 : tabIndex
8307
8321
  }, buttonProps, other), children, enableTouchRipple ? (
8308
8322
  /* TouchRipple is only needed client-side, x2 boost on the server. */
8309
- /* @__PURE__ */ React.createElement(TouchRipple$1, _extends$1({
8323
+ /* @__PURE__ */ React.createElement(TouchRipple$1, _extends({
8310
8324
  ref: rippleRef,
8311
8325
  center: centerRipple
8312
8326
  }, TouchRippleProps))
@@ -8538,7 +8552,7 @@ var styles$w = function styles7(theme) {
8538
8552
  };
8539
8553
  var IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(props2, ref) {
8540
8554
  var _props$edge = props2.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color = _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, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props2, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
8541
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
8555
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
8542
8556
  className: clsx(classes.root, className, color !== "default" && classes["color".concat(capitalize$1(color))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize$1(size))], {
8543
8557
  "start": classes.edgeStart,
8544
8558
  "end": classes.edgeEnd
@@ -8674,7 +8688,7 @@ var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummar
8674
8688
  onClick(event);
8675
8689
  }
8676
8690
  };
8677
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
8691
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
8678
8692
  focusRipple: false,
8679
8693
  disableRipple: true,
8680
8694
  disabled,
@@ -8686,7 +8700,7 @@ var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummar
8686
8700
  ref
8687
8701
  }, other), /* @__PURE__ */ React.createElement("div", {
8688
8702
  className: clsx(classes.content, expanded && classes.expanded)
8689
- }, children), expandIcon && /* @__PURE__ */ React.createElement(IconButton$1, _extends$1({
8703
+ }, children), expandIcon && /* @__PURE__ */ React.createElement(IconButton$1, _extends({
8690
8704
  className: clsx(classes.expandIcon, expanded && classes.expanded),
8691
8705
  edge: "end",
8692
8706
  component: "div",
@@ -8861,7 +8875,7 @@ var defaultVariantMapping = {
8861
8875
  var Typography = /* @__PURE__ */ React.forwardRef(function Typography2(props2, ref) {
8862
8876
  var _props$align = props2.align, align = _props$align === void 0 ? "inherit" : _props$align, classes = props2.classes, className = props2.className, _props$color = props2.color, color = _props$color === void 0 ? "initial" : _props$color, component = props2.component, _props$display = props2.display, display = _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(props2, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
8863
8877
  var Component2 = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
8864
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
8878
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
8865
8879
  className: clsx(classes.root, className, variant !== "inherit" && classes[variant], color !== "initial" && classes["color".concat(capitalize$1(color))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== "inherit" && classes["align".concat(capitalize$1(align))], display !== "initial" && classes["display".concat(capitalize$1(display))]),
8866
8880
  ref
8867
8881
  }, other));
@@ -8931,7 +8945,7 @@ const Typography$1 = withStyles2(styles$u, {
8931
8945
  var styles$t = function styles10(theme) {
8932
8946
  return {
8933
8947
  /* Styles applied to the root element. */
8934
- root: _extends$1({}, theme.typography.button, {
8948
+ root: _extends({}, theme.typography.button, {
8935
8949
  boxSizing: "border-box",
8936
8950
  minWidth: 64,
8937
8951
  padding: "6px 16px",
@@ -9188,7 +9202,7 @@ var Button = /* @__PURE__ */ React.forwardRef(function Button2(props2, ref) {
9188
9202
  var endIcon = endIconProp && /* @__PURE__ */ React.createElement("span", {
9189
9203
  className: clsx(classes.endIcon, classes["iconSize".concat(capitalize$1(size))])
9190
9204
  }, endIconProp);
9191
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
9205
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
9192
9206
  className: clsx(classes.root, classes[variant], className, color === "inherit" ? classes.colorInherit : color !== "default" && classes["".concat(variant).concat(capitalize$1(color))], size !== "medium" && [classes["".concat(variant, "Size").concat(capitalize$1(size))], classes["size".concat(capitalize$1(size))]], disableElevation && classes.disableElevation, disabled && classes.disabled, fullWidth && classes.fullWidth),
9193
9207
  component,
9194
9208
  disabled,
@@ -9353,7 +9367,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
9353
9367
  }
9354
9368
  }
9355
9369
  var hasLabelFor = type === "checkbox" || type === "radio";
9356
- return /* @__PURE__ */ React.createElement(IconButton$1, _extends$1({
9370
+ return /* @__PURE__ */ React.createElement(IconButton$1, _extends({
9357
9371
  component: "span",
9358
9372
  className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
9359
9373
  disabled,
@@ -9362,7 +9376,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
9362
9376
  onFocus: handleFocus,
9363
9377
  onBlur: handleBlur,
9364
9378
  ref
9365
- }, other), /* @__PURE__ */ React.createElement("input", _extends$1({
9379
+ }, other), /* @__PURE__ */ React.createElement("input", _extends({
9366
9380
  autoFocus,
9367
9381
  checked: checkedProp,
9368
9382
  defaultChecked,
@@ -9531,7 +9545,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
9531
9545
  var _props$checkedIcon = props2.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props2.classes, _props$color = props2.color, color = _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, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props2, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
9532
9546
  var icon = indeterminate ? indeterminateIconProp : iconProp;
9533
9547
  var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
9534
- return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
9548
+ return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends({
9535
9549
  type: "checkbox",
9536
9550
  classes: {
9537
9551
  root: clsx(classes.root, classes["color".concat(capitalize$1(color))], indeterminate && classes.indeterminate),
@@ -9539,7 +9553,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
9539
9553
  disabled: classes.disabled
9540
9554
  },
9541
9555
  color,
9542
- inputProps: _extends$1({
9556
+ inputProps: _extends({
9543
9557
  "data-indeterminate": indeterminate
9544
9558
  }, inputProps),
9545
9559
  icon: /* @__PURE__ */ React.cloneElement(icon, {
@@ -10053,11 +10067,11 @@ var styles$q = {
10053
10067
  };
10054
10068
  var SimpleBackdrop = /* @__PURE__ */ React.forwardRef(function SimpleBackdrop2(props2, ref) {
10055
10069
  var _props$invisible = props2.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props2.open, other = _objectWithoutProperties(props2, ["invisible", "open"]);
10056
- return open ? /* @__PURE__ */ React.createElement("div", _extends$1({
10070
+ return open ? /* @__PURE__ */ React.createElement("div", _extends({
10057
10071
  "aria-hidden": true,
10058
10072
  ref
10059
10073
  }, other, {
10060
- style: _extends$1({}, styles$q.root, invisible ? styles$q.invisible : {}, other.style)
10074
+ style: _extends({}, styles$q.root, invisible ? styles$q.invisible : {}, other.style)
10061
10075
  })) : null;
10062
10076
  });
10063
10077
  SimpleBackdrop.propTypes = {
@@ -10101,7 +10115,7 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref) {
10101
10115
  var theme = useTheme$1();
10102
10116
  var props2 = getThemeProps({
10103
10117
  name: "MuiModal",
10104
- props: _extends$1({}, inProps),
10118
+ props: _extends({}, inProps),
10105
10119
  theme
10106
10120
  });
10107
10121
  var _props$BackdropCompon = props2.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props2.BackdropProps, children = 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(props2, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
@@ -10216,13 +10230,13 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref) {
10216
10230
  ref: handlePortalRef,
10217
10231
  container,
10218
10232
  disablePortal
10219
- }, /* @__PURE__ */ React.createElement("div", _extends$1({
10233
+ }, /* @__PURE__ */ React.createElement("div", _extends({
10220
10234
  ref: handleRef,
10221
10235
  onKeyDown: handleKeyDown2,
10222
10236
  role: "presentation"
10223
10237
  }, other, {
10224
- style: _extends$1({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10225
- }), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends$1({
10238
+ style: _extends({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
10239
+ }), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends({
10226
10240
  open,
10227
10241
  onClick: handleBackdropClick
10228
10242
  }, BackdropProps)), /* @__PURE__ */ React.createElement(Unstable_TrapFocus, {
@@ -10450,12 +10464,12 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
10450
10464
  onChange(event);
10451
10465
  }
10452
10466
  };
10453
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends$1({
10467
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends({
10454
10468
  value,
10455
10469
  onChange: handleChange,
10456
10470
  ref: handleRef,
10457
10471
  rows: minRows,
10458
- style: _extends$1({
10472
+ style: _extends({
10459
10473
  height: state.outerHeightStyle,
10460
10474
  // Need a large enough difference to allow scrolling.
10461
10475
  // This prevents infinite rendering loop.
@@ -10467,7 +10481,7 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
10467
10481
  readOnly: true,
10468
10482
  ref: shadowRef,
10469
10483
  tabIndex: -1,
10470
- style: _extends$1({}, styles$o.shadow, style2)
10484
+ style: _extends({}, styles$o.shadow, style2)
10471
10485
  }));
10472
10486
  });
10473
10487
  TextareaAutosize.propTypes = {
@@ -10551,7 +10565,7 @@ var styles$n = function styles13(theme) {
10551
10565
  "@keyframes mui-auto-fill-cancel": {}
10552
10566
  },
10553
10567
  /* Styles applied to the root element. */
10554
- root: _extends$1({}, theme.typography.body1, {
10568
+ root: _extends({}, theme.typography.body1, {
10555
10569
  color: theme.palette.text.primary,
10556
10570
  lineHeight: "1.1876em",
10557
10571
  // Reset (19px), match the native input line-height
@@ -10808,11 +10822,11 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
10808
10822
  }
10809
10823
  };
10810
10824
  var InputComponent = inputComponent;
10811
- var inputProps = _extends$1({}, inputPropsProp, {
10825
+ var inputProps = _extends({}, inputPropsProp, {
10812
10826
  ref: handleInputRef
10813
10827
  });
10814
10828
  if (typeof InputComponent !== "string") {
10815
- inputProps = _extends$1({
10829
+ inputProps = _extends({
10816
10830
  // Rename ref to inputRef as we don't know the
10817
10831
  // provided `inputComponent` structure.
10818
10832
  inputRef: handleInputRef,
@@ -10824,7 +10838,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
10824
10838
  if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
10825
10839
  InputComponent = "textarea";
10826
10840
  } else {
10827
- inputProps = _extends$1({
10841
+ inputProps = _extends({
10828
10842
  minRows: rows || minRows,
10829
10843
  rowsMax,
10830
10844
  maxRows
@@ -10832,7 +10846,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
10832
10846
  InputComponent = TextareaAutosize$1;
10833
10847
  }
10834
10848
  } else {
10835
- inputProps = _extends$1({
10849
+ inputProps = _extends({
10836
10850
  type
10837
10851
  }, inputProps);
10838
10852
  }
@@ -10846,13 +10860,13 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
10846
10860
  muiFormControl.setAdornedStart(Boolean(startAdornment));
10847
10861
  }
10848
10862
  }, [muiFormControl, startAdornment]);
10849
- return /* @__PURE__ */ React.createElement("div", _extends$1({
10863
+ return /* @__PURE__ */ React.createElement("div", _extends({
10850
10864
  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),
10851
10865
  onClick: handleClick,
10852
10866
  ref
10853
10867
  }, other), startAdornment, /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
10854
10868
  value: null
10855
- }, /* @__PURE__ */ React.createElement(InputComponent, _extends$1({
10869
+ }, /* @__PURE__ */ React.createElement(InputComponent, _extends({
10856
10870
  "aria-invalid": fcs.error,
10857
10871
  "aria-describedby": ariaDescribedby,
10858
10872
  autoComplete,
@@ -10874,7 +10888,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
10874
10888
  onBlur: handleBlur,
10875
10889
  onChange: handleChange,
10876
10890
  onFocus: handleFocus
10877
- }))), endAdornment, renderSuffix ? renderSuffix(_extends$1({}, fcs, {
10891
+ }))), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {
10878
10892
  startAdornment
10879
10893
  })) : null);
10880
10894
  });
@@ -11192,8 +11206,8 @@ var styles$m = function styles14(theme) {
11192
11206
  };
11193
11207
  var FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(props2, ref) {
11194
11208
  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, type = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
11195
- return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
11196
- classes: _extends$1({}, classes, {
11209
+ return /* @__PURE__ */ React.createElement(InputBase$1, _extends({
11210
+ classes: _extends({}, classes, {
11197
11211
  root: clsx(classes.root, !disableUnderline && classes.underline),
11198
11212
  underline: null
11199
11213
  }),
@@ -11437,7 +11451,7 @@ var FormControl = /* @__PURE__ */ React.forwardRef(function FormControl2(props2,
11437
11451
  };
11438
11452
  return /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
11439
11453
  value: childContext
11440
- }, /* @__PURE__ */ React.createElement(Component2, _extends$1({
11454
+ }, /* @__PURE__ */ React.createElement(Component2, _extends({
11441
11455
  className: clsx(classes.root, className, margin !== "none" && classes["margin".concat(capitalize$1(margin))], fullWidth && classes.fullWidth),
11442
11456
  ref
11443
11457
  }, other), children));
@@ -11514,7 +11528,7 @@ const FormControl$1 = withStyles2(styles$l, {
11514
11528
  var styles$k = function styles15(theme) {
11515
11529
  return {
11516
11530
  /* Styles applied to the root element. */
11517
- root: _extends$1({
11531
+ root: _extends({
11518
11532
  color: theme.palette.text.secondary
11519
11533
  }, theme.typography.body1, {
11520
11534
  lineHeight: 1,
@@ -11569,7 +11583,7 @@ var FormLabel = /* @__PURE__ */ React.forwardRef(function FormLabel2(props2, ref
11569
11583
  muiFormControl,
11570
11584
  states: ["color", "required", "focused", "disabled", "error", "filled"]
11571
11585
  });
11572
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
11586
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
11573
11587
  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),
11574
11588
  ref
11575
11589
  }, other), children, fcs.required && /* @__PURE__ */ React.createElement("span", {
@@ -11658,7 +11672,7 @@ function generateGrid(globalStyles, theme, breakpoint) {
11658
11672
  };
11659
11673
  });
11660
11674
  if (breakpoint === "xs") {
11661
- _extends$1(globalStyles, styles30);
11675
+ _extends(globalStyles, styles30);
11662
11676
  } else {
11663
11677
  globalStyles[theme.breakpoints.up(breakpoint)] = styles30;
11664
11678
  }
@@ -11686,7 +11700,7 @@ function generateGutter(theme, breakpoint) {
11686
11700
  return styles30;
11687
11701
  }
11688
11702
  var styles$j = function styles16(theme) {
11689
- return _extends$1({
11703
+ return _extends({
11690
11704
  /* Styles applied to the root element. */
11691
11705
  root: {},
11692
11706
  /* Styles applied to the root element if `container={true}`. */
@@ -11790,7 +11804,7 @@ var styles$j = function styles16(theme) {
11790
11804
  var Grid = /* @__PURE__ */ React.forwardRef(function Grid2(props2, ref) {
11791
11805
  var _props$alignContent = props2.alignContent, alignContent = _props$alignContent === void 0 ? "stretch" : _props$alignContent, _props$alignItems = props2.alignItems, alignItems = _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, justifyContent = _props$justifyContent === void 0 ? "flex-start" : _props$justifyContent, _props$lg = props2.lg, lg = _props$lg === void 0 ? false : _props$lg, _props$md = props2.md, md = _props$md === void 0 ? false : _props$md, _props$sm = props2.sm, sm = _props$sm === void 0 ? false : _props$sm, _props$spacing = props2.spacing, spacing = _props$spacing === void 0 ? 0 : _props$spacing, _props$wrap = props2.wrap, wrap = _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(props2, ["alignContent", "alignItems", "classes", "className", "component", "container", "direction", "item", "justify", "justifyContent", "lg", "md", "sm", "spacing", "wrap", "xl", "xs", "zeroMinWidth"]);
11792
11806
  var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes["spacing-xs-".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== "row" && classes["direction-xs-".concat(String(direction))], wrap !== "wrap" && classes["wrap-xs-".concat(String(wrap))], alignItems !== "stretch" && classes["align-items-xs-".concat(String(alignItems))], alignContent !== "stretch" && classes["align-content-xs-".concat(String(alignContent))], (justify || justifyContent) !== "flex-start" && classes["justify-content-xs-".concat(String(justify || justifyContent))], xs !== false && classes["grid-xs-".concat(String(xs))], sm !== false && classes["grid-sm-".concat(String(sm))], md !== false && classes["grid-md-".concat(String(md))], lg !== false && classes["grid-lg-".concat(String(lg))], xl !== false && classes["grid-xl-".concat(String(xl))]);
11793
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
11807
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
11794
11808
  className,
11795
11809
  ref
11796
11810
  }, other));
@@ -11896,7 +11910,7 @@ var StyledGrid = withStyles2(styles$j, {
11896
11910
  })(Grid);
11897
11911
  {
11898
11912
  var requireProp = requirePropFactory("Grid");
11899
- StyledGrid.propTypes = _extends$1({}, StyledGrid.propTypes, {
11913
+ StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {
11900
11914
  alignContent: requireProp("container"),
11901
11915
  alignItems: requireProp("container"),
11902
11916
  direction: requireProp("container"),
@@ -12013,7 +12027,7 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props2, ref) {
12013
12027
  clearTimeout(timer.current);
12014
12028
  };
12015
12029
  }, []);
12016
- return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
12030
+ return /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
12017
12031
  appear: true,
12018
12032
  in: inProp,
12019
12033
  nodeRef: enableStrictModeCompat ? nodeRef : void 0,
@@ -12026,8 +12040,8 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props2, ref) {
12026
12040
  addEndListener,
12027
12041
  timeout: timeout2 === "auto" ? null : timeout2
12028
12042
  }, other), function(state, childProps) {
12029
- return /* @__PURE__ */ React.cloneElement(children, _extends$1({
12030
- style: _extends$1({
12043
+ return /* @__PURE__ */ React.cloneElement(children, _extends({
12044
+ style: _extends({
12031
12045
  opacity: 0,
12032
12046
  transform: getScale$1(0.75),
12033
12047
  visibility: state === "exited" && !inProp ? "hidden" : void 0
@@ -12192,8 +12206,8 @@ var styles$h = function styles17(theme) {
12192
12206
  };
12193
12207
  var Input$1 = /* @__PURE__ */ React.forwardRef(function Input(props2, ref) {
12194
12208
  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, type = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
12195
- return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
12196
- classes: _extends$1({}, classes, {
12209
+ return /* @__PURE__ */ React.createElement(InputBase$1, _extends({
12210
+ classes: _extends({}, classes, {
12197
12211
  root: clsx(classes.root, !disableUnderline && classes.underline),
12198
12212
  underline: null
12199
12213
  }),
@@ -12420,7 +12434,7 @@ var InputLabel = /* @__PURE__ */ React.forwardRef(function InputLabel2(props2, r
12420
12434
  muiFormControl,
12421
12435
  states: ["margin", "variant"]
12422
12436
  });
12423
- return /* @__PURE__ */ React.createElement(FormLabel$1, _extends$1({
12437
+ return /* @__PURE__ */ React.createElement(FormLabel$1, _extends({
12424
12438
  "data-shrink": shrink,
12425
12439
  className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === "dense" && classes.marginDense, {
12426
12440
  "filled": classes.filled,
@@ -12529,7 +12543,7 @@ var List = /* @__PURE__ */ React.forwardRef(function List2(props2, ref) {
12529
12543
  }, [dense]);
12530
12544
  return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
12531
12545
  value: context
12532
- }, /* @__PURE__ */ React.createElement(Component2, _extends$1({
12546
+ }, /* @__PURE__ */ React.createElement(Component2, _extends({
12533
12547
  className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
12534
12548
  ref
12535
12549
  }, other), subheader, children));
@@ -12672,7 +12686,7 @@ var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props2, ref)
12672
12686
  listItemRef.current = ReactDOM.findDOMNode(instance);
12673
12687
  }, []);
12674
12688
  var handleRef = useForkRef(handleOwnRef, ref);
12675
- var componentProps = _extends$1({
12689
+ var componentProps = _extends({
12676
12690
  className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== "center" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),
12677
12691
  disabled
12678
12692
  }, other);
@@ -12693,14 +12707,14 @@ var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props2, ref)
12693
12707
  }
12694
12708
  return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
12695
12709
  value: childContext
12696
- }, /* @__PURE__ */ React.createElement(ContainerComponent, _extends$1({
12710
+ }, /* @__PURE__ */ React.createElement(ContainerComponent, _extends({
12697
12711
  className: clsx(classes.container, ContainerClassName),
12698
12712
  ref: handleRef
12699
12713
  }, ContainerProps), /* @__PURE__ */ React.createElement(Component2, componentProps, children), children.pop()));
12700
12714
  }
12701
12715
  return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
12702
12716
  value: childContext
12703
- }, /* @__PURE__ */ React.createElement(Component2, _extends$1({
12717
+ }, /* @__PURE__ */ React.createElement(Component2, _extends({
12704
12718
  ref: handleRef
12705
12719
  }, componentProps), children));
12706
12720
  });
@@ -13006,7 +13020,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props2, ref) {
13006
13020
  transitionDuration = void 0;
13007
13021
  }
13008
13022
  var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl(anchorEl)).body : void 0);
13009
- return /* @__PURE__ */ React.createElement(Modal$1, _extends$1({
13023
+ return /* @__PURE__ */ React.createElement(Modal$1, _extends({
13010
13024
  container,
13011
13025
  open,
13012
13026
  ref,
@@ -13014,7 +13028,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props2, ref) {
13014
13028
  invisible: true
13015
13029
  },
13016
13030
  className: clsx(classes.root, className)
13017
- }, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$1({
13031
+ }, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends({
13018
13032
  appear: true,
13019
13033
  in: open,
13020
13034
  onEnter,
@@ -13025,7 +13039,7 @@ var Popover = /* @__PURE__ */ React.forwardRef(function Popover2(props2, ref) {
13025
13039
  timeout: transitionDuration
13026
13040
  }, TransitionProps, {
13027
13041
  onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
13028
- }), /* @__PURE__ */ React.createElement(Paper$1, _extends$1({
13042
+ }), /* @__PURE__ */ React.createElement(Paper$1, _extends({
13029
13043
  elevation,
13030
13044
  ref: handlePaperRef
13031
13045
  }, PaperProps, {
@@ -13362,7 +13376,7 @@ var MenuList = /* @__PURE__ */ React.forwardRef(function MenuList2(props2, ref)
13362
13376
  }
13363
13377
  return child;
13364
13378
  });
13365
- return /* @__PURE__ */ React.createElement(List$1, _extends$1({
13379
+ return /* @__PURE__ */ React.createElement(List$1, _extends({
13366
13380
  role: "menu",
13367
13381
  ref: handleRef,
13368
13382
  className,
@@ -13494,24 +13508,24 @@ var Menu = /* @__PURE__ */ React.forwardRef(function Menu2(props2, ref) {
13494
13508
  }
13495
13509
  return child;
13496
13510
  });
13497
- return /* @__PURE__ */ React.createElement(Popover$1, _extends$1({
13511
+ return /* @__PURE__ */ React.createElement(Popover$1, _extends({
13498
13512
  getContentAnchorEl,
13499
13513
  classes: PopoverClasses,
13500
13514
  onClose,
13501
- TransitionProps: _extends$1({
13515
+ TransitionProps: _extends({
13502
13516
  onEntering: handleEntering
13503
13517
  }, TransitionProps),
13504
13518
  anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
13505
13519
  transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
13506
- PaperProps: _extends$1({}, PaperProps, {
13507
- classes: _extends$1({}, PaperProps.classes, {
13520
+ PaperProps: _extends({}, PaperProps, {
13521
+ classes: _extends({}, PaperProps.classes, {
13508
13522
  root: classes.paper
13509
13523
  })
13510
13524
  }),
13511
13525
  open,
13512
13526
  ref,
13513
13527
  transitionDuration
13514
- }, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends$1({
13528
+ }, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends({
13515
13529
  onKeyDown: handleListKeyDown,
13516
13530
  actions: menuListActionsRef,
13517
13531
  autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
@@ -13632,7 +13646,7 @@ const Menu$1 = withStyles2(styles$c, {
13632
13646
  var styles$b = function styles20(theme) {
13633
13647
  return {
13634
13648
  /* Styles applied to the root element. */
13635
- root: _extends$1({}, theme.typography.body1, _defineProperty$f({
13649
+ root: _extends({}, theme.typography.body1, _defineProperty$e({
13636
13650
  minHeight: 48,
13637
13651
  paddingTop: 6,
13638
13652
  paddingBottom: 6,
@@ -13649,7 +13663,7 @@ var styles$b = function styles20(theme) {
13649
13663
  /* Styles applied to the root element if `selected={true}`. */
13650
13664
  selected: {},
13651
13665
  /* Styles applied to the root element if dense. */
13652
- dense: _extends$1({}, theme.typography.body2, {
13666
+ dense: _extends({}, theme.typography.body2, {
13653
13667
  minHeight: "auto"
13654
13668
  })
13655
13669
  };
@@ -13660,14 +13674,14 @@ var MenuItem = /* @__PURE__ */ React.forwardRef(function MenuItem2(props2, ref)
13660
13674
  if (!props2.disabled) {
13661
13675
  tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
13662
13676
  }
13663
- return /* @__PURE__ */ React.createElement(ListItem$1, _extends$1({
13677
+ return /* @__PURE__ */ React.createElement(ListItem$1, _extends({
13664
13678
  button: true,
13665
13679
  role,
13666
13680
  tabIndex,
13667
13681
  component,
13668
13682
  selected,
13669
13683
  disableGutters,
13670
- classes: _extends$1({
13684
+ classes: _extends({
13671
13685
  dense: classes.dense
13672
13686
  }, ListItemClasses),
13673
13687
  className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),
@@ -13727,7 +13741,7 @@ const MenuItem$1 = withStyles2(styles$b, {
13727
13741
  })(MenuItem);
13728
13742
  var NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelectInput2(props2, ref) {
13729
13743
  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(props2, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
13730
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends$1({
13744
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends({
13731
13745
  className: clsx(
13732
13746
  classes.root,
13733
13747
  // TODO v5: merge root and select
@@ -13913,11 +13927,11 @@ var NativeSelect = /* @__PURE__ */ React.forwardRef(function NativeSelect2(props
13913
13927
  muiFormControl,
13914
13928
  states: ["variant"]
13915
13929
  });
13916
- return /* @__PURE__ */ React.cloneElement(input, _extends$1({
13930
+ return /* @__PURE__ */ React.cloneElement(input, _extends({
13917
13931
  // Most of the logic is implemented in `NativeSelectInput`.
13918
13932
  // The `Select` component is a simple API wrapper to expose something better to play with.
13919
13933
  inputComponent: NativeSelectInput$1,
13920
- inputProps: _extends$1({
13934
+ inputProps: _extends({
13921
13935
  children,
13922
13936
  classes,
13923
13937
  IconComponent,
@@ -14040,7 +14054,7 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
14040
14054
  var theme = useTheme();
14041
14055
  var align = theme.direction === "rtl" ? "right" : "left";
14042
14056
  if (label !== void 0) {
14043
- return /* @__PURE__ */ React.createElement("fieldset", _extends$1({
14057
+ return /* @__PURE__ */ React.createElement("fieldset", _extends({
14044
14058
  "aria-hidden": true,
14045
14059
  className: clsx(classes.root, className),
14046
14060
  ref,
@@ -14054,9 +14068,9 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
14054
14068
  })));
14055
14069
  }
14056
14070
  var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
14057
- return /* @__PURE__ */ React.createElement("fieldset", _extends$1({
14071
+ return /* @__PURE__ */ React.createElement("fieldset", _extends({
14058
14072
  "aria-hidden": true,
14059
- style: _extends$1(_defineProperty$f({}, "padding".concat(capitalize$1(align)), 8), style2),
14073
+ style: _extends(_defineProperty$e({}, "padding".concat(capitalize$1(align)), 8), style2),
14060
14074
  className: clsx(classes.root, className),
14061
14075
  ref
14062
14076
  }, other), /* @__PURE__ */ React.createElement("legend", {
@@ -14199,7 +14213,7 @@ var styles$8 = function styles23(theme) {
14199
14213
  };
14200
14214
  var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(props2, ref) {
14201
14215
  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, label = 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, type = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties(props2, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
14202
- return /* @__PURE__ */ React.createElement(InputBase$1, _extends$1({
14216
+ return /* @__PURE__ */ React.createElement(InputBase$1, _extends({
14203
14217
  renderSuffix: function renderSuffix(state) {
14204
14218
  return /* @__PURE__ */ React.createElement(NotchedOutline$1, {
14205
14219
  className: classes.notchedOutline,
@@ -14208,7 +14222,7 @@ var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(pro
14208
14222
  notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
14209
14223
  });
14210
14224
  },
14211
- classes: _extends$1({}, classes, {
14225
+ classes: _extends({}, classes, {
14212
14226
  root: clsx(classes.root, classes.underline),
14213
14227
  notchedOutline: null
14214
14228
  }),
@@ -14354,7 +14368,7 @@ const OutlinedInput$1 = withStyles2(styles$8, {
14354
14368
  name: "MuiOutlinedInput"
14355
14369
  })(OutlinedInput);
14356
14370
  function areEqualValues(a2, b) {
14357
- if (_typeof$x(b) === "object" && b !== null) {
14371
+ if (_typeof$w(b) === "object" && b !== null) {
14358
14372
  return a2 === b;
14359
14373
  }
14360
14374
  return String(a2) === String(b);
@@ -14604,7 +14618,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
14604
14618
  tabIndex = disabled ? null : 0;
14605
14619
  }
14606
14620
  var buttonId = SelectDisplayProps.id || (name2 ? "mui-component-select-".concat(name2) : void 0);
14607
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends$1({
14621
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends({
14608
14622
  className: clsx(
14609
14623
  classes.root,
14610
14624
  // TODO v5: merge root and select
@@ -14636,7 +14650,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
14636
14650
  __html: "&#8203;"
14637
14651
  }
14638
14652
  })
14639
- ) : display), /* @__PURE__ */ React.createElement("input", _extends$1({
14653
+ ) : display), /* @__PURE__ */ React.createElement("input", _extends({
14640
14654
  value: Array.isArray(value) ? value.join(",") : value,
14641
14655
  name: name2,
14642
14656
  ref: inputRef,
@@ -14647,19 +14661,19 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
14647
14661
  autoFocus
14648
14662
  }, other)), /* @__PURE__ */ React.createElement(IconComponent, {
14649
14663
  className: clsx(classes.icon, classes["icon".concat(capitalize$1(variant))], open && classes.iconOpen, disabled && classes.disabled)
14650
- }), /* @__PURE__ */ React.createElement(Menu$1, _extends$1({
14664
+ }), /* @__PURE__ */ React.createElement(Menu$1, _extends({
14651
14665
  id: "menu-".concat(name2 || ""),
14652
14666
  anchorEl: displayNode,
14653
14667
  open,
14654
14668
  onClose: handleClose
14655
14669
  }, MenuProps, {
14656
- MenuListProps: _extends$1({
14670
+ MenuListProps: _extends({
14657
14671
  "aria-labelledby": labelId,
14658
14672
  role: "listbox",
14659
14673
  disableListWrap: true
14660
14674
  }, MenuProps.MenuListProps),
14661
- PaperProps: _extends$1({}, MenuProps.PaperProps, {
14662
- style: _extends$1({
14675
+ PaperProps: _extends({}, MenuProps.PaperProps, {
14676
+ style: _extends({
14663
14677
  minWidth: menuMinWidth
14664
14678
  }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
14665
14679
  })
@@ -14819,11 +14833,11 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props2, ref) {
14819
14833
  }),
14820
14834
  filled: _ref2$1
14821
14835
  }[variant];
14822
- return /* @__PURE__ */ React.cloneElement(InputComponent, _extends$1({
14836
+ return /* @__PURE__ */ React.cloneElement(InputComponent, _extends({
14823
14837
  // Most of the logic is implemented in `SelectInput`.
14824
14838
  // The `Select` component is a simple API wrapper to expose something better to play with.
14825
14839
  inputComponent,
14826
- inputProps: _extends$1({
14840
+ inputProps: _extends({
14827
14841
  children,
14828
14842
  IconComponent,
14829
14843
  variant,
@@ -14841,7 +14855,7 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props2, ref) {
14841
14855
  onOpen,
14842
14856
  open,
14843
14857
  renderValue,
14844
- SelectDisplayProps: _extends$1({
14858
+ SelectDisplayProps: _extends({
14845
14859
  id
14846
14860
  }, SelectDisplayProps)
14847
14861
  }, inputProps, {
@@ -14996,7 +15010,7 @@ var styles$6 = function styles24(theme) {
14996
15010
  }
14997
15011
  },
14998
15012
  open: {},
14999
- offset: _extends$1({
15013
+ offset: _extends({
15000
15014
  zIndex: 1
15001
15015
  }, theme.typography.body2, {
15002
15016
  fontSize: theme.typography.pxToRem(12),
@@ -15347,7 +15361,7 @@ var styles$5 = function styles25(theme) {
15347
15361
  opacity: 0.8
15348
15362
  },
15349
15363
  /* Styles applied to the mark label element. */
15350
- markLabel: _extends$1({}, theme.typography.body2, {
15364
+ markLabel: _extends({}, theme.typography.body2, {
15351
15365
  color: theme.palette.text.secondary,
15352
15366
  position: "absolute",
15353
15367
  top: 26,
@@ -15653,8 +15667,8 @@ var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props2, ref) {
15653
15667
  });
15654
15668
  var trackOffset = valueToPercent(range2 ? values2[0] : min, min, max);
15655
15669
  var trackLeap = valueToPercent(values2[values2.length - 1], min, max) - trackOffset;
15656
- var trackStyle = _extends$1({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap));
15657
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
15670
+ var trackStyle = _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap));
15671
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
15658
15672
  ref: handleRef,
15659
15673
  className: clsx(classes.root, classes["color".concat(capitalize$1(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark) {
15660
15674
  return mark.label;
@@ -15889,7 +15903,7 @@ var styles$4 = function styles26(theme) {
15889
15903
  var _extends2;
15890
15904
  return {
15891
15905
  /* Styles applied to the root element. */
15892
- root: _extends$1({}, theme.typography.button, (_extends2 = {
15906
+ root: _extends({}, theme.typography.button, (_extends2 = {
15893
15907
  maxWidth: 264,
15894
15908
  minWidth: 72,
15895
15909
  position: "relative",
@@ -15897,9 +15911,9 @@ var styles$4 = function styles26(theme) {
15897
15911
  minHeight: 48,
15898
15912
  flexShrink: 0,
15899
15913
  padding: "6px 12px"
15900
- }, _defineProperty$f(_extends2, theme.breakpoints.up("sm"), {
15914
+ }, _defineProperty$e(_extends2, theme.breakpoints.up("sm"), {
15901
15915
  padding: "6px 24px"
15902
- }), _defineProperty$f(_extends2, "overflow", "hidden"), _defineProperty$f(_extends2, "whiteSpace", "normal"), _defineProperty$f(_extends2, "textAlign", "center"), _defineProperty$f(_extends2, theme.breakpoints.up("sm"), {
15916
+ }), _defineProperty$e(_extends2, "overflow", "hidden"), _defineProperty$e(_extends2, "whiteSpace", "normal"), _defineProperty$e(_extends2, "textAlign", "center"), _defineProperty$e(_extends2, theme.breakpoints.up("sm"), {
15903
15917
  minWidth: 160
15904
15918
  }), _extends2)),
15905
15919
  /* Styles applied to the root element if both `icon` and `label` are provided. */
@@ -15985,7 +15999,7 @@ var Tab = /* @__PURE__ */ React.forwardRef(function Tab2(props2, ref) {
15985
15999
  onFocus(event);
15986
16000
  }
15987
16001
  };
15988
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
16002
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
15989
16003
  focusRipple: !disableFocusRipple,
15990
16004
  className: clsx(classes.root, classes["textColor".concat(capitalize$1(textColor))], className, disabled && classes.disabled, selected && classes.selected, label && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),
15991
16005
  ref,
@@ -16203,7 +16217,7 @@ function ScrollbarSize(props2) {
16203
16217
  setMeasurements();
16204
16218
  onChange(scrollbarHeight.current);
16205
16219
  }, [onChange]);
16206
- return /* @__PURE__ */ React.createElement("div", _extends$1({
16220
+ return /* @__PURE__ */ React.createElement("div", _extends({
16207
16221
  style: styles$3,
16208
16222
  ref: nodeRef
16209
16223
  }, other));
@@ -16235,7 +16249,7 @@ var styles$2 = function styles27(theme) {
16235
16249
  };
16236
16250
  var TabIndicator = /* @__PURE__ */ React.forwardRef(function TabIndicator2(props2, ref) {
16237
16251
  var classes = props2.classes, className = props2.className, color = props2.color, orientation = props2.orientation, other = _objectWithoutProperties(props2, ["classes", "className", "color", "orientation"]);
16238
- return /* @__PURE__ */ React.createElement("span", _extends$1({
16252
+ return /* @__PURE__ */ React.createElement("span", _extends({
16239
16253
  className: clsx(classes.root, classes["color".concat(capitalize$1(color))], className, orientation === "vertical" && classes.vertical),
16240
16254
  ref
16241
16255
  }, other));
@@ -16292,7 +16306,7 @@ var _ref2 = /* @__PURE__ */ React.createElement(KeyboardArrowRight, {
16292
16306
  });
16293
16307
  var TabScrollButton = /* @__PURE__ */ React.forwardRef(function TabScrollButton2(props2, ref) {
16294
16308
  var classes = props2.classes, classNameProp = props2.className, direction = props2.direction, orientation = props2.orientation, disabled = props2.disabled, other = _objectWithoutProperties(props2, ["classes", "className", "direction", "orientation", "disabled"]);
16295
- return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
16309
+ return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends({
16296
16310
  component: "div",
16297
16311
  className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === "vertical" && classes.vertical),
16298
16312
  ref,
@@ -16386,7 +16400,7 @@ var styles28 = function styles29(theme) {
16386
16400
  /* Styles applied to the `ScrollButtonComponent` component. */
16387
16401
  scrollButtons: {},
16388
16402
  /* Styles applied to the `ScrollButtonComponent` component if `scrollButtons="auto"` or scrollButtons="desktop"`. */
16389
- scrollButtonsDesktop: _defineProperty$f({}, theme.breakpoints.down("xs"), {
16403
+ scrollButtonsDesktop: _defineProperty$e({}, theme.breakpoints.down("xs"), {
16390
16404
  display: "none"
16391
16405
  }),
16392
16406
  /* Styles applied to the `TabIndicator` component. */
@@ -16469,7 +16483,7 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref) {
16469
16483
  startValue = tabMeta.left - tabsMeta.left + correction;
16470
16484
  }
16471
16485
  }
16472
- var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty$f(_newIndicatorStyle, start, startValue), _defineProperty$f(_newIndicatorStyle, size, tabMeta ? tabMeta[size] : 0), _newIndicatorStyle);
16486
+ var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty$e(_newIndicatorStyle, start, startValue), _defineProperty$e(_newIndicatorStyle, size, tabMeta ? tabMeta[size] : 0), _newIndicatorStyle);
16473
16487
  if (isNaN(indicatorStyle[start]) || isNaN(indicatorStyle[size])) {
16474
16488
  setIndicatorStyle(newIndicatorStyle);
16475
16489
  } else {
@@ -16513,14 +16527,14 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref) {
16513
16527
  }) : null;
16514
16528
  var scrollButtonsActive = displayScroll.start || displayScroll.end;
16515
16529
  var showScrollButtons = scrollable && (scrollButtons === "auto" && scrollButtonsActive || scrollButtons === "desktop" || scrollButtons === "on");
16516
- conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$1({
16530
+ conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends({
16517
16531
  orientation,
16518
16532
  direction: isRtl ? "right" : "left",
16519
16533
  onClick: handleStartScrollClick,
16520
16534
  disabled: !displayScroll.start,
16521
16535
  className: clsx(classes.scrollButtons, scrollButtons !== "on" && classes.scrollButtonsDesktop)
16522
16536
  }, TabScrollButtonProps)) : null;
16523
- conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$1({
16537
+ conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends({
16524
16538
  orientation,
16525
16539
  direction: isRtl ? "left" : "right",
16526
16540
  onClick: handleEndScrollClick,
@@ -16599,12 +16613,12 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref) {
16599
16613
  updateScrollButtons: updateScrollButtonState
16600
16614
  };
16601
16615
  }, [updateIndicatorState, updateScrollButtonState]);
16602
- var indicator = /* @__PURE__ */ React.createElement(TabIndicator$1, _extends$1({
16616
+ var indicator = /* @__PURE__ */ React.createElement(TabIndicator$1, _extends({
16603
16617
  className: classes.indicator,
16604
16618
  orientation,
16605
16619
  color: indicatorColor
16606
16620
  }, TabIndicatorProps, {
16607
- style: _extends$1({}, indicatorStyle, TabIndicatorProps.style)
16621
+ style: _extends({}, indicatorStyle, TabIndicatorProps.style)
16608
16622
  }));
16609
16623
  var childIndex = 0;
16610
16624
  var children = React.Children.map(childrenProp, function(child) {
@@ -16663,7 +16677,7 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref) {
16663
16677
  }
16664
16678
  };
16665
16679
  var conditionalElements = getConditionalElements();
16666
- return /* @__PURE__ */ React.createElement(Component2, _extends$1({
16680
+ return /* @__PURE__ */ React.createElement(Component2, _extends({
16667
16681
  className: clsx(classes.root, className, vertical && classes.vertical),
16668
16682
  ref
16669
16683
  }, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /* @__PURE__ */ React.createElement("div", {
@@ -16884,6 +16898,10 @@ const FileType$1 = {
16884
16898
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
16885
16899
  };
16886
16900
  const CoordinationType$1 = {
16901
+ // Meta coordination scopes
16902
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
16903
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
16904
+ // Other coordination scopes
16887
16905
  DATASET: "dataset",
16888
16906
  // Entity types
16889
16907
  OBS_TYPE: "obsType",
@@ -32301,7 +32319,7 @@ var json2csv_umd = { exports: {} };
32301
32319
  return result == "0" && 1 / value == -INFINITY2 ? "-0" : result;
32302
32320
  }
32303
32321
  function castPath(value) {
32304
- return isArray$22(value) ? value : stringToPath4(value);
32322
+ return isArray$22(value) ? value : stringToPath3(value);
32305
32323
  }
32306
32324
  function getMapData2(map2, key) {
32307
32325
  var data = map2.__data__;
@@ -32328,7 +32346,7 @@ var json2csv_umd = { exports: {} };
32328
32346
  function isMasked2(func) {
32329
32347
  return !!maskSrcKey2 && maskSrcKey2 in func;
32330
32348
  }
32331
- var stringToPath4 = memoize3(function(string) {
32349
+ var stringToPath3 = memoize3(function(string) {
32332
32350
  string = toString$12(string);
32333
32351
  var result = [];
32334
32352
  if (reLeadingDot.test(string)) {
@@ -36534,10 +36552,10 @@ class SphericalCoordinates {
36534
36552
  altitude,
36535
36553
  radiusScale = EARTH_RADIUS_METERS
36536
36554
  } = {}) {
36537
- _defineProperty$f(this, "phi", void 0);
36538
- _defineProperty$f(this, "theta", void 0);
36539
- _defineProperty$f(this, "radius", void 0);
36540
- _defineProperty$f(this, "radiusScale", void 0);
36555
+ _defineProperty$e(this, "phi", void 0);
36556
+ _defineProperty$e(this, "theta", void 0);
36557
+ _defineProperty$e(this, "radius", void 0);
36558
+ _defineProperty$e(this, "radiusScale", void 0);
36541
36559
  this.phi = phi;
36542
36560
  this.theta = theta;
36543
36561
  this.radius = radius || altitude || 1;
@@ -37071,8 +37089,8 @@ class Pose {
37071
37089
  position,
37072
37090
  orientation
37073
37091
  } = {}) {
37074
- _defineProperty$f(this, "position", void 0);
37075
- _defineProperty$f(this, "orientation", void 0);
37092
+ _defineProperty$e(this, "position", void 0);
37093
+ _defineProperty$e(this, "orientation", void 0);
37076
37094
  if (Array.isArray(position) && position.length === 3) {
37077
37095
  this.position = new Vector3(position);
37078
37096
  } else {
@@ -37249,29 +37267,15 @@ const isWorker = typeof importScripts === "function";
37249
37267
  const isMobile = typeof window !== "undefined" && typeof window.orientation !== "undefined";
37250
37268
  const matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
37251
37269
  matches && parseFloat(matches[1]) || 0;
37252
- function _defineProperty$e(obj, key, value) {
37253
- key = _toPropertyKey(key);
37254
- if (key in obj) {
37255
- Object.defineProperty(obj, key, {
37256
- value,
37257
- enumerable: true,
37258
- configurable: true,
37259
- writable: true
37260
- });
37261
- } else {
37262
- obj[key] = value;
37263
- }
37264
- return obj;
37265
- }
37266
37270
  class WorkerJob {
37267
37271
  constructor(jobName, workerThread) {
37268
- _defineProperty$e(this, "name", void 0);
37269
- _defineProperty$e(this, "workerThread", void 0);
37270
- _defineProperty$e(this, "isRunning", true);
37271
- _defineProperty$e(this, "result", void 0);
37272
- _defineProperty$e(this, "_resolve", () => {
37272
+ _defineProperty$f(this, "name", void 0);
37273
+ _defineProperty$f(this, "workerThread", void 0);
37274
+ _defineProperty$f(this, "isRunning", true);
37275
+ _defineProperty$f(this, "result", void 0);
37276
+ _defineProperty$f(this, "_resolve", () => {
37273
37277
  });
37274
- _defineProperty$e(this, "_reject", () => {
37278
+ _defineProperty$f(this, "_reject", () => {
37275
37279
  });
37276
37280
  this.name = jobName;
37277
37281
  this.workerThread = workerThread;
@@ -37375,14 +37379,14 @@ class WorkerThread {
37375
37379
  return typeof Worker !== "undefined" && isBrowser$2 || typeof Worker$1 !== "undefined" && !isBrowser$2;
37376
37380
  }
37377
37381
  constructor(props2) {
37378
- _defineProperty$e(this, "name", void 0);
37379
- _defineProperty$e(this, "source", void 0);
37380
- _defineProperty$e(this, "url", void 0);
37381
- _defineProperty$e(this, "terminated", false);
37382
- _defineProperty$e(this, "worker", void 0);
37383
- _defineProperty$e(this, "onMessage", void 0);
37384
- _defineProperty$e(this, "onError", void 0);
37385
- _defineProperty$e(this, "_loadableURL", "");
37382
+ _defineProperty$f(this, "name", void 0);
37383
+ _defineProperty$f(this, "source", void 0);
37384
+ _defineProperty$f(this, "url", void 0);
37385
+ _defineProperty$f(this, "terminated", false);
37386
+ _defineProperty$f(this, "worker", void 0);
37387
+ _defineProperty$f(this, "onMessage", void 0);
37388
+ _defineProperty$f(this, "onError", void 0);
37389
+ _defineProperty$f(this, "_loadableURL", "");
37386
37390
  const {
37387
37391
  name: name2,
37388
37392
  source,
@@ -37473,19 +37477,19 @@ class WorkerPool {
37473
37477
  return WorkerThread.isSupported();
37474
37478
  }
37475
37479
  constructor(props2) {
37476
- _defineProperty$e(this, "name", "unnamed");
37477
- _defineProperty$e(this, "source", void 0);
37478
- _defineProperty$e(this, "url", void 0);
37479
- _defineProperty$e(this, "maxConcurrency", 1);
37480
- _defineProperty$e(this, "maxMobileConcurrency", 1);
37481
- _defineProperty$e(this, "onDebug", () => {
37482
- });
37483
- _defineProperty$e(this, "reuseWorkers", true);
37484
- _defineProperty$e(this, "props", {});
37485
- _defineProperty$e(this, "jobQueue", []);
37486
- _defineProperty$e(this, "idleQueue", []);
37487
- _defineProperty$e(this, "count", 0);
37488
- _defineProperty$e(this, "isDestroyed", false);
37480
+ _defineProperty$f(this, "name", "unnamed");
37481
+ _defineProperty$f(this, "source", void 0);
37482
+ _defineProperty$f(this, "url", void 0);
37483
+ _defineProperty$f(this, "maxConcurrency", 1);
37484
+ _defineProperty$f(this, "maxMobileConcurrency", 1);
37485
+ _defineProperty$f(this, "onDebug", () => {
37486
+ });
37487
+ _defineProperty$f(this, "reuseWorkers", true);
37488
+ _defineProperty$f(this, "props", {});
37489
+ _defineProperty$f(this, "jobQueue", []);
37490
+ _defineProperty$f(this, "idleQueue", []);
37491
+ _defineProperty$f(this, "count", 0);
37492
+ _defineProperty$f(this, "isDestroyed", false);
37489
37493
  this.source = props2.source;
37490
37494
  this.url = props2.url;
37491
37495
  this.setProps(props2);
@@ -37603,8 +37607,8 @@ class WorkerFarm {
37603
37607
  return WorkerFarm._workerFarm;
37604
37608
  }
37605
37609
  constructor(props2) {
37606
- _defineProperty$e(this, "props", void 0);
37607
- _defineProperty$e(this, "workerPools", /* @__PURE__ */ new Map());
37610
+ _defineProperty$f(this, "props", void 0);
37611
+ _defineProperty$f(this, "workerPools", /* @__PURE__ */ new Map());
37608
37612
  this.props = {
37609
37613
  ...DEFAULT_PROPS$4
37610
37614
  };
@@ -37653,7 +37657,7 @@ class WorkerFarm {
37653
37657
  };
37654
37658
  }
37655
37659
  }
37656
- _defineProperty$e(WorkerFarm, "_workerFarm", void 0);
37660
+ _defineProperty$f(WorkerFarm, "_workerFarm", void 0);
37657
37661
  const NPM_TAG = "latest";
37658
37662
  function getWorkerURL(worker, options = {}) {
37659
37663
  const workerOptions = options[worker.id] || {};
@@ -37955,20 +37959,20 @@ function getHiResTimestamp$1() {
37955
37959
  }
37956
37960
  class Stat {
37957
37961
  constructor(name2, type) {
37958
- _defineProperty$e(this, "name", void 0);
37959
- _defineProperty$e(this, "type", void 0);
37960
- _defineProperty$e(this, "sampleSize", 1);
37961
- _defineProperty$e(this, "time", void 0);
37962
- _defineProperty$e(this, "count", void 0);
37963
- _defineProperty$e(this, "samples", void 0);
37964
- _defineProperty$e(this, "lastTiming", void 0);
37965
- _defineProperty$e(this, "lastSampleTime", void 0);
37966
- _defineProperty$e(this, "lastSampleCount", void 0);
37967
- _defineProperty$e(this, "_count", 0);
37968
- _defineProperty$e(this, "_time", 0);
37969
- _defineProperty$e(this, "_samples", 0);
37970
- _defineProperty$e(this, "_startTime", 0);
37971
- _defineProperty$e(this, "_timerPending", false);
37962
+ _defineProperty$f(this, "name", void 0);
37963
+ _defineProperty$f(this, "type", void 0);
37964
+ _defineProperty$f(this, "sampleSize", 1);
37965
+ _defineProperty$f(this, "time", void 0);
37966
+ _defineProperty$f(this, "count", void 0);
37967
+ _defineProperty$f(this, "samples", void 0);
37968
+ _defineProperty$f(this, "lastTiming", void 0);
37969
+ _defineProperty$f(this, "lastSampleTime", void 0);
37970
+ _defineProperty$f(this, "lastSampleCount", void 0);
37971
+ _defineProperty$f(this, "_count", 0);
37972
+ _defineProperty$f(this, "_time", 0);
37973
+ _defineProperty$f(this, "_samples", 0);
37974
+ _defineProperty$f(this, "_startTime", 0);
37975
+ _defineProperty$f(this, "_timerPending", false);
37972
37976
  this.name = name2;
37973
37977
  this.type = type;
37974
37978
  this.reset();
@@ -38065,8 +38069,8 @@ class Stat {
38065
38069
  }
38066
38070
  class Stats {
38067
38071
  constructor(options) {
38068
- _defineProperty$e(this, "id", void 0);
38069
- _defineProperty$e(this, "stats", {});
38072
+ _defineProperty$f(this, "id", void 0);
38073
+ _defineProperty$f(this, "stats", {});
38070
38074
  this.id = options.id;
38071
38075
  this.stats = {};
38072
38076
  this._initializeStats(options.stats);
@@ -38139,12 +38143,12 @@ const DEFAULT_PROPS$3 = {
38139
38143
  };
38140
38144
  class RequestScheduler {
38141
38145
  constructor(props2 = {}) {
38142
- _defineProperty$f(this, "props", void 0);
38143
- _defineProperty$f(this, "stats", void 0);
38144
- _defineProperty$f(this, "activeRequestCount", 0);
38145
- _defineProperty$f(this, "requestQueue", []);
38146
- _defineProperty$f(this, "requestMap", /* @__PURE__ */ new Map());
38147
- _defineProperty$f(this, "deferredUpdate", null);
38146
+ _defineProperty$e(this, "props", void 0);
38147
+ _defineProperty$e(this, "stats", void 0);
38148
+ _defineProperty$e(this, "activeRequestCount", 0);
38149
+ _defineProperty$e(this, "requestQueue", []);
38150
+ _defineProperty$e(this, "requestMap", /* @__PURE__ */ new Map());
38151
+ _defineProperty$e(this, "deferredUpdate", null);
38148
38152
  this.props = {
38149
38153
  ...DEFAULT_PROPS$3,
38150
38154
  ...props2
@@ -38507,9 +38511,9 @@ class LocalStorage {
38507
38511
  constructor(id) {
38508
38512
  let defaultSettings = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
38509
38513
  let type = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "sessionStorage";
38510
- _defineProperty$e(this, "storage", void 0);
38511
- _defineProperty$e(this, "id", void 0);
38512
- _defineProperty$e(this, "config", {});
38514
+ _defineProperty$f(this, "storage", void 0);
38515
+ _defineProperty$f(this, "id", void 0);
38516
+ _defineProperty$f(this, "config", {});
38513
38517
  this.storage = getStorage(type);
38514
38518
  this.id = id;
38515
38519
  this.config = {};
@@ -38660,13 +38664,13 @@ class Log {
38660
38664
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
38661
38665
  id: ""
38662
38666
  };
38663
- _defineProperty$e(this, "id", void 0);
38664
- _defineProperty$e(this, "VERSION", VERSION$9);
38665
- _defineProperty$e(this, "_startTs", getHiResTimestamp());
38666
- _defineProperty$e(this, "_deltaTs", getHiResTimestamp());
38667
- _defineProperty$e(this, "_storage", void 0);
38668
- _defineProperty$e(this, "userData", {});
38669
- _defineProperty$e(this, "LOG_THROTTLE_TIMEOUT", 0);
38667
+ _defineProperty$f(this, "id", void 0);
38668
+ _defineProperty$f(this, "VERSION", VERSION$9);
38669
+ _defineProperty$f(this, "_startTs", getHiResTimestamp());
38670
+ _defineProperty$f(this, "_deltaTs", getHiResTimestamp());
38671
+ _defineProperty$f(this, "_storage", void 0);
38672
+ _defineProperty$f(this, "userData", {});
38673
+ _defineProperty$f(this, "LOG_THROTTLE_TIMEOUT", 0);
38670
38674
  this.id = id;
38671
38675
  this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
38672
38676
  this.userData = {};
@@ -38867,7 +38871,7 @@ class Log {
38867
38871
  return noop$4;
38868
38872
  }
38869
38873
  }
38870
- _defineProperty$e(Log, "VERSION", VERSION$9);
38874
+ _defineProperty$f(Log, "VERSION", VERSION$9);
38871
38875
  function normalizeLogLevel(logLevel) {
38872
38876
  if (!logLevel) {
38873
38877
  return 0;
@@ -38996,7 +39000,7 @@ class NullLog {
38996
39000
  }
38997
39001
  class ConsoleLog {
38998
39002
  constructor() {
38999
- _defineProperty$f(this, "console", void 0);
39003
+ _defineProperty$e(this, "console", void 0);
39000
39004
  this.console = console;
39001
39005
  }
39002
39006
  log(...args) {
@@ -51032,31 +51036,31 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
51032
51036
  width: 1,
51033
51037
  height: 1
51034
51038
  }) {
51035
- _defineProperty$e(this, "latitude", void 0);
51036
- _defineProperty$e(this, "longitude", void 0);
51037
- _defineProperty$e(this, "zoom", void 0);
51038
- _defineProperty$e(this, "pitch", void 0);
51039
- _defineProperty$e(this, "bearing", void 0);
51040
- _defineProperty$e(this, "altitude", void 0);
51041
- _defineProperty$e(this, "fovy", void 0);
51042
- _defineProperty$e(this, "meterOffset", void 0);
51043
- _defineProperty$e(this, "center", void 0);
51044
- _defineProperty$e(this, "width", void 0);
51045
- _defineProperty$e(this, "height", void 0);
51046
- _defineProperty$e(this, "scale", void 0);
51047
- _defineProperty$e(this, "distanceScales", void 0);
51048
- _defineProperty$e(this, "viewMatrix", void 0);
51049
- _defineProperty$e(this, "projectionMatrix", void 0);
51050
- _defineProperty$e(this, "viewProjectionMatrix", void 0);
51051
- _defineProperty$e(this, "pixelProjectionMatrix", void 0);
51052
- _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
51053
- _defineProperty$e(this, "equals", (viewport) => {
51039
+ _defineProperty$f(this, "latitude", void 0);
51040
+ _defineProperty$f(this, "longitude", void 0);
51041
+ _defineProperty$f(this, "zoom", void 0);
51042
+ _defineProperty$f(this, "pitch", void 0);
51043
+ _defineProperty$f(this, "bearing", void 0);
51044
+ _defineProperty$f(this, "altitude", void 0);
51045
+ _defineProperty$f(this, "fovy", void 0);
51046
+ _defineProperty$f(this, "meterOffset", void 0);
51047
+ _defineProperty$f(this, "center", void 0);
51048
+ _defineProperty$f(this, "width", void 0);
51049
+ _defineProperty$f(this, "height", void 0);
51050
+ _defineProperty$f(this, "scale", void 0);
51051
+ _defineProperty$f(this, "distanceScales", void 0);
51052
+ _defineProperty$f(this, "viewMatrix", void 0);
51053
+ _defineProperty$f(this, "projectionMatrix", void 0);
51054
+ _defineProperty$f(this, "viewProjectionMatrix", void 0);
51055
+ _defineProperty$f(this, "pixelProjectionMatrix", void 0);
51056
+ _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
51057
+ _defineProperty$f(this, "equals", (viewport) => {
51054
51058
  if (!(viewport instanceof WebMercatorViewport)) {
51055
51059
  return false;
51056
51060
  }
51057
51061
  return viewport.width === this.width && viewport.height === this.height && equals$2(viewport.projectionMatrix, this.projectionMatrix) && equals$2(viewport.viewMatrix, this.viewMatrix);
51058
51062
  });
51059
- _defineProperty$e(this, "project", (lngLatZ, options = {}) => {
51063
+ _defineProperty$f(this, "project", (lngLatZ, options = {}) => {
51060
51064
  const {
51061
51065
  topLeft = true
51062
51066
  } = options;
@@ -51066,7 +51070,7 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
51066
51070
  const y22 = topLeft ? y2 : this.height - y2;
51067
51071
  return lngLatZ.length === 2 ? [x2, y22] : [x2, y22, coord[2]];
51068
51072
  });
51069
- _defineProperty$e(this, "unproject", (xyz, options = {}) => {
51073
+ _defineProperty$f(this, "unproject", (xyz, options = {}) => {
51070
51074
  const {
51071
51075
  topLeft = true,
51072
51076
  targetZ = void 0
@@ -51081,12 +51085,12 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
51081
51085
  }
51082
51086
  return Number.isFinite(targetZ) ? [X, Y, targetZ] : [X, Y];
51083
51087
  });
51084
- _defineProperty$e(this, "projectPosition", (xyz) => {
51088
+ _defineProperty$f(this, "projectPosition", (xyz) => {
51085
51089
  const [X, Y] = lngLatToWorld(xyz);
51086
51090
  const Z = (xyz[2] || 0) * this.distanceScales.unitsPerMeter[2];
51087
51091
  return [X, Y, Z];
51088
51092
  });
51089
- _defineProperty$e(this, "unprojectPosition", (xyz) => {
51093
+ _defineProperty$f(this, "unprojectPosition", (xyz) => {
51090
51094
  const [X, Y] = worldToLngLat(xyz);
51091
51095
  const Z = (xyz[2] || 0) * this.distanceScales.metersPerUnit[2];
51092
51096
  return [X, Y, Z];
@@ -72484,10 +72488,10 @@ const scratchVector$6 = new Vector3();
72484
72488
  const scratchNormal$3 = new Vector3();
72485
72489
  class AxisAlignedBoundingBox {
72486
72490
  constructor(minimum = [0, 0, 0], maximum = [0, 0, 0], center2) {
72487
- _defineProperty$e(this, "center", void 0);
72488
- _defineProperty$e(this, "halfDiagonal", void 0);
72489
- _defineProperty$e(this, "minimum", void 0);
72490
- _defineProperty$e(this, "maximum", void 0);
72491
+ _defineProperty$f(this, "center", void 0);
72492
+ _defineProperty$f(this, "halfDiagonal", void 0);
72493
+ _defineProperty$f(this, "minimum", void 0);
72494
+ _defineProperty$f(this, "maximum", void 0);
72491
72495
  center2 = center2 || scratchVector$6.copy(minimum).add(maximum).scale(0.5);
72492
72496
  this.center = new Vector3(center2);
72493
72497
  this.halfDiagonal = new Vector3(maximum).subtract(this.center);
@@ -72551,8 +72555,8 @@ const scratchVector$5 = new Vector3();
72551
72555
  const scratchVector2$2 = new Vector3();
72552
72556
  class BoundingSphere {
72553
72557
  constructor(center2 = [0, 0, 0], radius = 0) {
72554
- _defineProperty$e(this, "center", void 0);
72555
- _defineProperty$e(this, "radius", void 0);
72558
+ _defineProperty$f(this, "center", void 0);
72559
+ _defineProperty$f(this, "radius", void 0);
72556
72560
  this.radius = -0;
72557
72561
  this.center = new Vector3();
72558
72562
  this.fromCenterRadius(center2, radius);
@@ -72650,8 +72654,8 @@ const MATRIX3 = {
72650
72654
  };
72651
72655
  class OrientedBoundingBox {
72652
72656
  constructor(center2 = [0, 0, 0], halfAxes = [0, 0, 0, 0, 0, 0, 0, 0, 0]) {
72653
- _defineProperty$e(this, "center", void 0);
72654
- _defineProperty$e(this, "halfAxes", void 0);
72657
+ _defineProperty$f(this, "center", void 0);
72658
+ _defineProperty$f(this, "halfAxes", void 0);
72655
72659
  this.center = new Vector3().from(center2);
72656
72660
  this.halfAxes = new Matrix3(halfAxes);
72657
72661
  }
@@ -72820,8 +72824,8 @@ const scratchPosition$2 = new Vector3();
72820
72824
  const scratchNormal$2 = new Vector3();
72821
72825
  class Plane {
72822
72826
  constructor(normal = [0, 0, 1], distance2 = 0) {
72823
- _defineProperty$e(this, "normal", void 0);
72824
- _defineProperty$e(this, "distance", void 0);
72827
+ _defineProperty$f(this, "normal", void 0);
72828
+ _defineProperty$f(this, "distance", void 0);
72825
72829
  this.normal = new Vector3();
72826
72830
  this.distance = -0;
72827
72831
  this.fromNormalDistance(normal, distance2);
@@ -72872,7 +72876,7 @@ const scratchPlaneNormal = new Vector3();
72872
72876
  new Plane(new Vector3(1, 0, 0), 0);
72873
72877
  class CullingVolume {
72874
72878
  constructor(planes = []) {
72875
- _defineProperty$e(this, "planes", void 0);
72879
+ _defineProperty$f(this, "planes", void 0);
72876
72880
  this.planes = planes;
72877
72881
  }
72878
72882
  fromBoundingSphere(boundingSphere) {
@@ -72937,9 +72941,9 @@ class CullingVolume {
72937
72941
  return mask2;
72938
72942
  }
72939
72943
  }
72940
- _defineProperty$e(CullingVolume, "MASK_OUTSIDE", 4294967295);
72941
- _defineProperty$e(CullingVolume, "MASK_INSIDE", 0);
72942
- _defineProperty$e(CullingVolume, "MASK_INDETERMINATE", 2147483647);
72944
+ _defineProperty$f(CullingVolume, "MASK_OUTSIDE", 4294967295);
72945
+ _defineProperty$f(CullingVolume, "MASK_INSIDE", 0);
72946
+ _defineProperty$f(CullingVolume, "MASK_INDETERMINATE", 2147483647);
72943
72947
  new Vector3();
72944
72948
  new Vector3();
72945
72949
  new Vector3();
@@ -88706,9 +88710,9 @@ const DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP = {
88706
88710
  const INDEX_ITEM_SIZE = 4;
88707
88711
  class DracoParser {
88708
88712
  constructor(draco) {
88709
- _defineProperty$e(this, "draco", void 0);
88710
- _defineProperty$e(this, "decoder", void 0);
88711
- _defineProperty$e(this, "metadataQuerier", void 0);
88713
+ _defineProperty$f(this, "draco", void 0);
88714
+ _defineProperty$f(this, "decoder", void 0);
88715
+ _defineProperty$f(this, "metadataQuerier", void 0);
88712
88716
  this.draco = draco;
88713
88717
  this.decoder = new this.draco.Decoder();
88714
88718
  this.metadataQuerier = new this.draco.MetadataQuerier();
@@ -90970,15 +90974,15 @@ const scratchHeight = new Vector3();
90970
90974
  const scratchCartesian = new Vector3();
90971
90975
  class Ellipsoid {
90972
90976
  constructor(x2 = 0, y2 = 0, z2 = 0) {
90973
- _defineProperty$e(this, "radii", void 0);
90974
- _defineProperty$e(this, "radiiSquared", void 0);
90975
- _defineProperty$e(this, "radiiToTheFourth", void 0);
90976
- _defineProperty$e(this, "oneOverRadii", void 0);
90977
- _defineProperty$e(this, "oneOverRadiiSquared", void 0);
90978
- _defineProperty$e(this, "minimumRadius", void 0);
90979
- _defineProperty$e(this, "maximumRadius", void 0);
90980
- _defineProperty$e(this, "centerToleranceSquared", _MathUtils.EPSILON1);
90981
- _defineProperty$e(this, "squaredXOverSquaredZ", void 0);
90977
+ _defineProperty$f(this, "radii", void 0);
90978
+ _defineProperty$f(this, "radiiSquared", void 0);
90979
+ _defineProperty$f(this, "radiiToTheFourth", void 0);
90980
+ _defineProperty$f(this, "oneOverRadii", void 0);
90981
+ _defineProperty$f(this, "oneOverRadiiSquared", void 0);
90982
+ _defineProperty$f(this, "minimumRadius", void 0);
90983
+ _defineProperty$f(this, "maximumRadius", void 0);
90984
+ _defineProperty$f(this, "centerToleranceSquared", _MathUtils.EPSILON1);
90985
+ _defineProperty$f(this, "squaredXOverSquaredZ", void 0);
90982
90986
  assert$c(x2 >= 0);
90983
90987
  assert$c(y2 >= 0);
90984
90988
  assert$c(z2 >= 0);
@@ -91075,7 +91079,7 @@ class Ellipsoid {
91075
91079
  return scratchPosition$1.set(0, 0, z2).to(result);
91076
91080
  }
91077
91081
  }
91078
- _defineProperty$e(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
91082
+ _defineProperty$f(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
91079
91083
  class DoublyLinkedListNode {
91080
91084
  constructor(item, previous, next) {
91081
91085
  _defineProperty$f(this, "item", void 0);
@@ -101086,13 +101090,13 @@ var shams$1 = function hasSymbols() {
101086
101090
  }
101087
101091
  return true;
101088
101092
  };
101089
- var hasSymbols$4 = shams$1;
101093
+ var hasSymbols$3 = shams$1;
101090
101094
  var shams = function hasToStringTagShams() {
101091
- return hasSymbols$4() && !!Symbol.toStringTag;
101095
+ return hasSymbols$3() && !!Symbol.toStringTag;
101092
101096
  };
101093
101097
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
101094
101098
  var hasSymbolSham = shams$1;
101095
- var hasSymbols$3 = function hasNativeSymbols() {
101099
+ var hasSymbols$2 = function hasNativeSymbols() {
101096
101100
  if (typeof origSymbol !== "function") {
101097
101101
  return false;
101098
101102
  }
@@ -101107,6 +101111,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
101107
101111
  }
101108
101112
  return hasSymbolSham();
101109
101113
  };
101114
+ var test = {
101115
+ foo: {}
101116
+ };
101117
+ var $Object = Object;
101118
+ var hasProto$1 = function hasProto() {
101119
+ return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
101120
+ };
101110
101121
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
101111
101122
  var slice = Array.prototype.slice;
101112
101123
  var toStr$2 = Object.prototype.toString;
@@ -101152,374 +101163,8 @@ var implementation$7 = function bind2(that) {
101152
101163
  };
101153
101164
  var implementation$6 = implementation$7;
101154
101165
  var functionBind = Function.prototype.bind || implementation$6;
101155
- var bind$2 = functionBind;
101156
- var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
101157
- var undefined$2;
101158
- var $SyntaxError$1 = SyntaxError;
101159
- var $Function$1 = Function;
101160
- var $TypeError$1 = TypeError;
101161
- var getEvalledConstructor$1 = function(expressionSyntax) {
101162
- try {
101163
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
101164
- } catch (e2) {
101165
- }
101166
- };
101167
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
101168
- if ($gOPD$2) {
101169
- try {
101170
- $gOPD$2({}, "");
101171
- } catch (e2) {
101172
- $gOPD$2 = null;
101173
- }
101174
- }
101175
- var throwTypeError$1 = function() {
101176
- throw new $TypeError$1();
101177
- };
101178
- var ThrowTypeError$1 = $gOPD$2 ? function() {
101179
- try {
101180
- arguments.callee;
101181
- return throwTypeError$1;
101182
- } catch (calleeThrows) {
101183
- try {
101184
- return $gOPD$2(arguments, "callee").get;
101185
- } catch (gOPDthrows) {
101186
- return throwTypeError$1;
101187
- }
101188
- }
101189
- }() : throwTypeError$1;
101190
- var hasSymbols$2 = hasSymbols$3();
101191
- var getProto$2 = Object.getPrototypeOf || function(x2) {
101192
- return x2.__proto__;
101193
- };
101194
- var needsEval$1 = {};
101195
- var TypedArray$1 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
101196
- var INTRINSICS$1 = {
101197
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
101198
- "%Array%": Array,
101199
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
101200
- "%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
101201
- "%AsyncFromSyncIteratorPrototype%": undefined$2,
101202
- "%AsyncFunction%": needsEval$1,
101203
- "%AsyncGenerator%": needsEval$1,
101204
- "%AsyncGeneratorFunction%": needsEval$1,
101205
- "%AsyncIteratorPrototype%": needsEval$1,
101206
- "%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
101207
- "%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
101208
- "%Boolean%": Boolean,
101209
- "%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
101210
- "%Date%": Date,
101211
- "%decodeURI%": decodeURI,
101212
- "%decodeURIComponent%": decodeURIComponent,
101213
- "%encodeURI%": encodeURI,
101214
- "%encodeURIComponent%": encodeURIComponent,
101215
- "%Error%": Error,
101216
- "%eval%": eval,
101217
- // eslint-disable-line no-eval
101218
- "%EvalError%": EvalError,
101219
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
101220
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
101221
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
101222
- "%Function%": $Function$1,
101223
- "%GeneratorFunction%": needsEval$1,
101224
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
101225
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
101226
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
101227
- "%isFinite%": isFinite,
101228
- "%isNaN%": isNaN,
101229
- "%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
101230
- "%JSON%": typeof JSON === "object" ? JSON : undefined$2,
101231
- "%Map%": typeof Map === "undefined" ? undefined$2 : Map,
101232
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
101233
- "%Math%": Math,
101234
- "%Number%": Number,
101235
- "%Object%": Object,
101236
- "%parseFloat%": parseFloat,
101237
- "%parseInt%": parseInt,
101238
- "%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
101239
- "%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
101240
- "%RangeError%": RangeError,
101241
- "%ReferenceError%": ReferenceError,
101242
- "%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
101243
- "%RegExp%": RegExp,
101244
- "%Set%": typeof Set === "undefined" ? undefined$2 : Set,
101245
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
101246
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
101247
- "%String%": String,
101248
- "%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
101249
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
101250
- "%SyntaxError%": $SyntaxError$1,
101251
- "%ThrowTypeError%": ThrowTypeError$1,
101252
- "%TypedArray%": TypedArray$1,
101253
- "%TypeError%": $TypeError$1,
101254
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
101255
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
101256
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
101257
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
101258
- "%URIError%": URIError,
101259
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
101260
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
101261
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
101262
- };
101263
- var doEval$1 = function doEval(name2) {
101264
- var value;
101265
- if (name2 === "%AsyncFunction%") {
101266
- value = getEvalledConstructor$1("async function () {}");
101267
- } else if (name2 === "%GeneratorFunction%") {
101268
- value = getEvalledConstructor$1("function* () {}");
101269
- } else if (name2 === "%AsyncGeneratorFunction%") {
101270
- value = getEvalledConstructor$1("async function* () {}");
101271
- } else if (name2 === "%AsyncGenerator%") {
101272
- var fn = doEval("%AsyncGeneratorFunction%");
101273
- if (fn) {
101274
- value = fn.prototype;
101275
- }
101276
- } else if (name2 === "%AsyncIteratorPrototype%") {
101277
- var gen = doEval("%AsyncGenerator%");
101278
- if (gen) {
101279
- value = getProto$2(gen.prototype);
101280
- }
101281
- }
101282
- INTRINSICS$1[name2] = value;
101283
- return value;
101284
- };
101285
- var LEGACY_ALIASES$1 = {
101286
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
101287
- "%ArrayPrototype%": ["Array", "prototype"],
101288
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
101289
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
101290
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
101291
- "%ArrayProto_values%": ["Array", "prototype", "values"],
101292
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
101293
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
101294
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
101295
- "%BooleanPrototype%": ["Boolean", "prototype"],
101296
- "%DataViewPrototype%": ["DataView", "prototype"],
101297
- "%DatePrototype%": ["Date", "prototype"],
101298
- "%ErrorPrototype%": ["Error", "prototype"],
101299
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
101300
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
101301
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
101302
- "%FunctionPrototype%": ["Function", "prototype"],
101303
- "%Generator%": ["GeneratorFunction", "prototype"],
101304
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
101305
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
101306
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
101307
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
101308
- "%JSONParse%": ["JSON", "parse"],
101309
- "%JSONStringify%": ["JSON", "stringify"],
101310
- "%MapPrototype%": ["Map", "prototype"],
101311
- "%NumberPrototype%": ["Number", "prototype"],
101312
- "%ObjectPrototype%": ["Object", "prototype"],
101313
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
101314
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
101315
- "%PromisePrototype%": ["Promise", "prototype"],
101316
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
101317
- "%Promise_all%": ["Promise", "all"],
101318
- "%Promise_reject%": ["Promise", "reject"],
101319
- "%Promise_resolve%": ["Promise", "resolve"],
101320
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
101321
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
101322
- "%RegExpPrototype%": ["RegExp", "prototype"],
101323
- "%SetPrototype%": ["Set", "prototype"],
101324
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
101325
- "%StringPrototype%": ["String", "prototype"],
101326
- "%SymbolPrototype%": ["Symbol", "prototype"],
101327
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
101328
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
101329
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
101330
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
101331
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
101332
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
101333
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
101334
- "%URIErrorPrototype%": ["URIError", "prototype"],
101335
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
101336
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
101337
- };
101338
101166
  var bind$1 = functionBind;
101339
- var hasOwn$1 = src;
101340
- var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
101341
- var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
101342
- var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
101343
- var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
101344
- var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
101345
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
101346
- var reEscapeChar$1 = /\\(\\)?/g;
101347
- var stringToPath$1 = function stringToPath(string) {
101348
- var first = $strSlice$1(string, 0, 1);
101349
- var last = $strSlice$1(string, -1);
101350
- if (first === "%" && last !== "%") {
101351
- throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
101352
- } else if (last === "%" && first !== "%") {
101353
- throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
101354
- }
101355
- var result = [];
101356
- $replace$1(string, rePropName$1, function(match, number, quote, subString) {
101357
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number || match;
101358
- });
101359
- return result;
101360
- };
101361
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
101362
- var intrinsicName = name2;
101363
- var alias;
101364
- if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
101365
- alias = LEGACY_ALIASES$1[intrinsicName];
101366
- intrinsicName = "%" + alias[0] + "%";
101367
- }
101368
- if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
101369
- var value = INTRINSICS$1[intrinsicName];
101370
- if (value === needsEval$1) {
101371
- value = doEval$1(intrinsicName);
101372
- }
101373
- if (typeof value === "undefined" && !allowMissing) {
101374
- throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
101375
- }
101376
- return {
101377
- alias,
101378
- name: intrinsicName,
101379
- value
101380
- };
101381
- }
101382
- throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
101383
- };
101384
- var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
101385
- if (typeof name2 !== "string" || name2.length === 0) {
101386
- throw new $TypeError$1("intrinsic name must be a non-empty string");
101387
- }
101388
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
101389
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
101390
- }
101391
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
101392
- throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
101393
- }
101394
- var parts = stringToPath$1(name2);
101395
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
101396
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
101397
- var intrinsicRealName = intrinsic.name;
101398
- var value = intrinsic.value;
101399
- var skipFurtherCaching = false;
101400
- var alias = intrinsic.alias;
101401
- if (alias) {
101402
- intrinsicBaseName = alias[0];
101403
- $spliceApply$1(parts, $concat$1([0, 1], alias));
101404
- }
101405
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
101406
- var part = parts[i2];
101407
- var first = $strSlice$1(part, 0, 1);
101408
- var last = $strSlice$1(part, -1);
101409
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
101410
- throw new $SyntaxError$1("property names with quotes must have matching quotes");
101411
- }
101412
- if (part === "constructor" || !isOwn) {
101413
- skipFurtherCaching = true;
101414
- }
101415
- intrinsicBaseName += "." + part;
101416
- intrinsicRealName = "%" + intrinsicBaseName + "%";
101417
- if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
101418
- value = INTRINSICS$1[intrinsicRealName];
101419
- } else if (value != null) {
101420
- if (!(part in value)) {
101421
- if (!allowMissing) {
101422
- throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
101423
- }
101424
- return void 0;
101425
- }
101426
- if ($gOPD$2 && i2 + 1 >= parts.length) {
101427
- var desc = $gOPD$2(value, part);
101428
- isOwn = !!desc;
101429
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
101430
- value = desc.get;
101431
- } else {
101432
- value = value[part];
101433
- }
101434
- } else {
101435
- isOwn = hasOwn$1(value, part);
101436
- value = value[part];
101437
- }
101438
- if (isOwn && !skipFurtherCaching) {
101439
- INTRINSICS$1[intrinsicRealName] = value;
101440
- }
101441
- }
101442
- }
101443
- return value;
101444
- };
101445
- var callBind$3 = { exports: {} };
101446
- (function(module2) {
101447
- var bind4 = functionBind;
101448
- var GetIntrinsic4 = getIntrinsic$1;
101449
- var $apply = GetIntrinsic4("%Function.prototype.apply%");
101450
- var $call = GetIntrinsic4("%Function.prototype.call%");
101451
- var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
101452
- var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
101453
- var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
101454
- var $max = GetIntrinsic4("%Math.max%");
101455
- if ($defineProperty2) {
101456
- try {
101457
- $defineProperty2({}, "a", { value: 1 });
101458
- } catch (e2) {
101459
- $defineProperty2 = null;
101460
- }
101461
- }
101462
- module2.exports = function callBind2(originalFunction) {
101463
- var func = $reflectApply(bind4, $call, arguments);
101464
- if ($gOPD2 && $defineProperty2) {
101465
- var desc = $gOPD2(func, "length");
101466
- if (desc.configurable) {
101467
- $defineProperty2(
101468
- func,
101469
- "length",
101470
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
101471
- );
101472
- }
101473
- }
101474
- return func;
101475
- };
101476
- var applyBind = function applyBind2() {
101477
- return $reflectApply(bind4, $apply, arguments);
101478
- };
101479
- if ($defineProperty2) {
101480
- $defineProperty2(module2.exports, "apply", { value: applyBind });
101481
- } else {
101482
- module2.exports.apply = applyBind;
101483
- }
101484
- })(callBind$3);
101485
- var callBindExports = callBind$3.exports;
101486
- var GetIntrinsic$1 = getIntrinsic$1;
101487
- var callBind$2 = callBindExports;
101488
- var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
101489
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
101490
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
101491
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
101492
- return callBind$2(intrinsic);
101493
- }
101494
- return intrinsic;
101495
- };
101496
- var hasToStringTag$2 = shams();
101497
- var callBound$1 = callBound$2;
101498
- var $toString$1 = callBound$1("Object.prototype.toString");
101499
- var isStandardArguments = function isArguments2(value) {
101500
- if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
101501
- return false;
101502
- }
101503
- return $toString$1(value) === "[object Arguments]";
101504
- };
101505
- var isLegacyArguments = function isArguments3(value) {
101506
- if (isStandardArguments(value)) {
101507
- return true;
101508
- }
101509
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
101510
- };
101511
- var supportsStandardArguments = function() {
101512
- return isStandardArguments(arguments);
101513
- }();
101514
- isStandardArguments.isLegacyArguments = isLegacyArguments;
101515
- var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
101516
- var test = {
101517
- foo: {}
101518
- };
101519
- var $Object = Object;
101520
- var hasProto$1 = function hasProto() {
101521
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
101522
- };
101167
+ var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
101523
101168
  var undefined$1;
101524
101169
  var $SyntaxError = SyntaxError;
101525
101170
  var $Function = Function;
@@ -101553,7 +101198,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
101553
101198
  }
101554
101199
  }
101555
101200
  }() : throwTypeError;
101556
- var hasSymbols$1 = hasSymbols$3();
101201
+ var hasSymbols$1 = hasSymbols$2();
101557
101202
  var hasProto2 = hasProto$1();
101558
101203
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
101559
101204
  return x2.__proto__;
@@ -101637,7 +101282,7 @@ if (getProto$1) {
101637
101282
  INTRINSICS["%Error.prototype%"] = errorProto;
101638
101283
  }
101639
101284
  }
101640
- var doEval2 = function doEval3(name2) {
101285
+ var doEval = function doEval2(name2) {
101641
101286
  var value;
101642
101287
  if (name2 === "%AsyncFunction%") {
101643
101288
  value = getEvalledConstructor("async function () {}");
@@ -101646,12 +101291,12 @@ var doEval2 = function doEval3(name2) {
101646
101291
  } else if (name2 === "%AsyncGeneratorFunction%") {
101647
101292
  value = getEvalledConstructor("async function* () {}");
101648
101293
  } else if (name2 === "%AsyncGenerator%") {
101649
- var fn = doEval3("%AsyncGeneratorFunction%");
101294
+ var fn = doEval2("%AsyncGeneratorFunction%");
101650
101295
  if (fn) {
101651
101296
  value = fn.prototype;
101652
101297
  }
101653
101298
  } else if (name2 === "%AsyncIteratorPrototype%") {
101654
- var gen = doEval3("%AsyncGenerator%");
101299
+ var gen = doEval2("%AsyncGenerator%");
101655
101300
  if (gen && getProto$1) {
101656
101301
  value = getProto$1(gen.prototype);
101657
101302
  }
@@ -101721,7 +101366,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
101721
101366
  var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
101722
101367
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
101723
101368
  var reEscapeChar = /\\(\\)?/g;
101724
- var stringToPath2 = function stringToPath3(string) {
101369
+ var stringToPath = function stringToPath2(string) {
101725
101370
  var first = $strSlice(string, 0, 1);
101726
101371
  var last = $strSlice(string, -1);
101727
101372
  if (first === "%" && last !== "%") {
@@ -101735,7 +101380,7 @@ var stringToPath2 = function stringToPath3(string) {
101735
101380
  });
101736
101381
  return result;
101737
101382
  };
101738
- var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
101383
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
101739
101384
  var intrinsicName = name2;
101740
101385
  var alias;
101741
101386
  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
@@ -101745,7 +101390,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
101745
101390
  if (hasOwn(INTRINSICS, intrinsicName)) {
101746
101391
  var value = INTRINSICS[intrinsicName];
101747
101392
  if (value === needsEval) {
101748
- value = doEval2(intrinsicName);
101393
+ value = doEval(intrinsicName);
101749
101394
  }
101750
101395
  if (typeof value === "undefined" && !allowMissing) {
101751
101396
  throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
@@ -101758,7 +101403,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
101758
101403
  }
101759
101404
  throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
101760
101405
  };
101761
- var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
101406
+ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
101762
101407
  if (typeof name2 !== "string" || name2.length === 0) {
101763
101408
  throw new $TypeError("intrinsic name must be a non-empty string");
101764
101409
  }
@@ -101768,9 +101413,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
101768
101413
  if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
101769
101414
  throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
101770
101415
  }
101771
- var parts = stringToPath2(name2);
101416
+ var parts = stringToPath(name2);
101772
101417
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
101773
- var intrinsic = getBaseIntrinsic2("%" + intrinsicBaseName + "%", allowMissing);
101418
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
101774
101419
  var intrinsicRealName = intrinsic.name;
101775
101420
  var value = intrinsic.value;
101776
101421
  var skipFurtherCaching = false;
@@ -101819,8 +101464,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
101819
101464
  }
101820
101465
  return value;
101821
101466
  };
101822
- var GetIntrinsic3 = getIntrinsic;
101823
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
101467
+ var callBind$3 = { exports: {} };
101468
+ (function(module2) {
101469
+ var bind4 = functionBind;
101470
+ var GetIntrinsic3 = getIntrinsic;
101471
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
101472
+ var $call = GetIntrinsic3("%Function.prototype.call%");
101473
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
101474
+ var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
101475
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
101476
+ var $max = GetIntrinsic3("%Math.max%");
101477
+ if ($defineProperty2) {
101478
+ try {
101479
+ $defineProperty2({}, "a", { value: 1 });
101480
+ } catch (e2) {
101481
+ $defineProperty2 = null;
101482
+ }
101483
+ }
101484
+ module2.exports = function callBind2(originalFunction) {
101485
+ var func = $reflectApply(bind4, $call, arguments);
101486
+ if ($gOPD2 && $defineProperty2) {
101487
+ var desc = $gOPD2(func, "length");
101488
+ if (desc.configurable) {
101489
+ $defineProperty2(
101490
+ func,
101491
+ "length",
101492
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
101493
+ );
101494
+ }
101495
+ }
101496
+ return func;
101497
+ };
101498
+ var applyBind = function applyBind2() {
101499
+ return $reflectApply(bind4, $apply, arguments);
101500
+ };
101501
+ if ($defineProperty2) {
101502
+ $defineProperty2(module2.exports, "apply", { value: applyBind });
101503
+ } else {
101504
+ module2.exports.apply = applyBind;
101505
+ }
101506
+ })(callBind$3);
101507
+ var callBindExports = callBind$3.exports;
101508
+ var GetIntrinsic$1 = getIntrinsic;
101509
+ var callBind$2 = callBindExports;
101510
+ var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
101511
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
101512
+ var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
101513
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
101514
+ return callBind$2(intrinsic);
101515
+ }
101516
+ return intrinsic;
101517
+ };
101518
+ var hasToStringTag$2 = shams();
101519
+ var callBound$1 = callBound$2;
101520
+ var $toString$1 = callBound$1("Object.prototype.toString");
101521
+ var isStandardArguments = function isArguments2(value) {
101522
+ if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
101523
+ return false;
101524
+ }
101525
+ return $toString$1(value) === "[object Arguments]";
101526
+ };
101527
+ var isLegacyArguments = function isArguments3(value) {
101528
+ if (isStandardArguments(value)) {
101529
+ return true;
101530
+ }
101531
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
101532
+ };
101533
+ var supportsStandardArguments = function() {
101534
+ return isStandardArguments(arguments);
101535
+ }();
101536
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
101537
+ var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
101538
+ var GetIntrinsic2 = getIntrinsic;
101539
+ var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
101824
101540
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
101825
101541
  if ($defineProperty) {
101826
101542
  try {
@@ -135348,16 +135064,16 @@ function addDecoder(cases, importFn) {
135348
135064
  }
135349
135065
  cases.forEach((c) => registry$1.set(c, importFn));
135350
135066
  }
135351
- addDecoder([void 0, 1], () => import("./raw-51e455c7.js").then((m) => m.default));
135352
- addDecoder(5, () => import("./lzw-2ab01db2.js").then((m) => m.default));
135067
+ addDecoder([void 0, 1], () => import("./raw-86577f38.js").then((m) => m.default));
135068
+ addDecoder(5, () => import("./lzw-8827a384.js").then((m) => m.default));
135353
135069
  addDecoder(6, () => {
135354
135070
  throw new Error("old style JPEG compression is not supported.");
135355
135071
  });
135356
- addDecoder(7, () => import("./jpeg-6023316d.js").then((m) => m.default));
135357
- addDecoder([8, 32946], () => import("./deflate-75511377.js").then((m) => m.default));
135358
- addDecoder(32773, () => import("./packbits-2633f360.js").then((m) => m.default));
135359
- addDecoder(34887, () => import("./lerc-82182c45.js").then((m) => m.default));
135360
- addDecoder(50001, () => import("./webimage-bbb56d18.js").then((m) => m.default));
135072
+ addDecoder(7, () => import("./jpeg-ad5bae1d.js").then((m) => m.default));
135073
+ addDecoder([8, 32946], () => import("./deflate-806a8813.js").then((m) => m.default));
135074
+ addDecoder(32773, () => import("./packbits-88aef591.js").then((m) => m.default));
135075
+ addDecoder(34887, () => import("./lerc-588ff773.js").then((m) => m.default));
135076
+ addDecoder(50001, () => import("./webimage-c9cb4e30.js").then((m) => m.default));
135361
135077
  function decodeRowAcc(row, stride) {
135362
135078
  let length2 = row.length - stride;
135363
135079
  let offset4 = 0;
@@ -146373,45 +146089,22 @@ const useSelectStyles = makeStyles(() => ({
146373
146089
  margin: "4px 0"
146374
146090
  }
146375
146091
  }));
146376
- withStyles2((theme) => ({
146377
- paper: {
146378
- backgroundColor: theme.palette.background.paper
146379
- },
146380
- span: {
146381
- width: "70px",
146382
- textAlign: "center",
146383
- paddingLeft: "2px",
146384
- paddingRight: "2px"
146385
- },
146386
- colors: {
146387
- "&:hover": {
146388
- backgroundColor: "transparent"
146389
- },
146390
- paddingLeft: "2px",
146391
- paddingRight: "2px"
146392
- },
146393
- popper: {
146394
- zIndex: 4
146395
- }
146396
- }));
146397
146092
  const sharedControllerStyles = {
146398
146093
  width: "100%",
146399
146094
  flexDirection: "column"
146400
146095
  };
146401
146096
  const useControllerSectionStyles = makeStyles(() => ({
146402
- root: {
146097
+ layerControllerRoot: {
146403
146098
  ...sharedControllerStyles,
146404
146099
  padding: "0px 8px"
146405
146100
  }
146406
146101
  }));
146407
- const StyledAccordionDetails = withStyles2(() => ({
146408
- root: {
146102
+ const useAccordionStyles = makeStyles((theme) => ({
146103
+ accordionDetailsRoot: {
146409
146104
  ...sharedControllerStyles,
146410
146105
  padding: "8px 8px 24px 8px"
146411
- }
146412
- }))(AccordionDetails$1);
146413
- const StyledAccordionSummary = withStyles2((theme) => ({
146414
- root: {
146106
+ },
146107
+ accordionSummaryRoot: {
146415
146108
  padding: "0px 8px"
146416
146109
  },
146417
146110
  content: {
@@ -146427,30 +146120,30 @@ const StyledAccordionSummary = withStyles2((theme) => ({
146427
146120
  top: theme.spacing(-1.3)
146428
146121
  }
146429
146122
  }
146430
- }))(AccordionSummary$1);
146431
- const StyledInputLabel = withStyles2(() => ({
146432
- root: {
146123
+ }));
146124
+ const useInputLabelStyles = makeStyles(() => ({
146125
+ inputLabelRoot: {
146433
146126
  fontSize: "14px"
146434
146127
  }
146435
- }))(InputLabel$1);
146436
- const OverflowEllipsisGrid = withStyles2(() => ({
146128
+ }));
146129
+ const useOverflowEllipsisGridStyles = makeStyles(() => ({
146437
146130
  item: {
146438
146131
  width: "100%",
146439
146132
  overflow: "hidden",
146440
146133
  whiteSpace: "nowrap",
146441
146134
  textOverflow: "ellipsis"
146442
146135
  }
146443
- }))(Grid$1);
146444
- const StyledSelectionSlider = withStyles2(() => ({
146445
- root: {
146136
+ }));
146137
+ const useSelectionSliderStyles = makeStyles(() => ({
146138
+ selectionSliderRoot: {
146446
146139
  marginTop: "7px"
146447
146140
  },
146448
146141
  markActive: {
146449
146142
  backgroundColor: "rgba(128, 128, 128, 0.7)"
146450
146143
  }
146451
- }))(Slider$1);
146144
+ }));
146452
146145
  const useStyles$2 = makeStyles((theme) => ({
146453
- container: {
146146
+ paletteContainer: {
146454
146147
  width: "70px",
146455
146148
  height: "40px",
146456
146149
  display: "flex",
@@ -146471,7 +146164,7 @@ const useStyles$2 = makeStyles((theme) => ({
146471
146164
  }));
146472
146165
  const ColorPalette = ({ handleChange }) => {
146473
146166
  const classes = useStyles$2();
146474
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes.container, "aria-label": "color-swatch", children: VIEWER_PALETTE.map((color) => /* @__PURE__ */ jsxRuntimeExports.jsx(
146167
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classes.paletteContainer, "aria-label": "color-swatch", children: VIEWER_PALETTE.map((color) => /* @__PURE__ */ jsxRuntimeExports.jsx(
146475
146168
  IconButton$1,
146476
146169
  {
146477
146170
  className: classes.button,
@@ -146905,7 +146598,7 @@ function VectorLayerController(props2) {
146905
146598
  handleLayerChange({ ...layer, visible: v });
146906
146599
  }
146907
146600
  const classes = useControllerSectionStyles();
146908
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Grid$1, { item: true, style: { marginTop: "10px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Paper$1, { className: classes.root, children: [
146601
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Grid$1, { item: true, style: { marginTop: "10px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Paper$1, { className: classes.layerControllerRoot, children: [
146909
146602
  /* @__PURE__ */ jsxRuntimeExports.jsx(
146910
146603
  Typography$1,
146911
146604
  {
@@ -147135,9 +146828,11 @@ function GlobalSelectionSlider({
147135
146828
  handleChange,
147136
146829
  possibleValues
147137
146830
  }) {
146831
+ const classes = useSelectionSliderStyles();
147138
146832
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
147139
- StyledSelectionSlider,
146833
+ Slider$1,
147140
146834
  {
146835
+ classes: { root: classes.selectionSliderRoot, markActive: classes.markActive },
147141
146836
  value,
147142
146837
  onChange: (event, newValue) => {
147143
146838
  handleChange({ selection: { [field]: newValue }, event });
@@ -147782,6 +147477,9 @@ function LayerController(props2) {
147782
147477
  );
147783
147478
  }
147784
147479
  const controllerSectionClasses = useControllerSectionStyles();
147480
+ const accordionClasses = useAccordionStyles();
147481
+ const inputLabelClasses = useInputLabelStyles();
147482
+ const overflowEllipsisGridClasses = useOverflowEllipsisGridStyles();
147785
147483
  const { visible } = layer;
147786
147484
  const visibleSetting = typeof visible === "boolean" ? visible : true;
147787
147485
  const Visibility = visibleSetting ? VisibilityIcon : VisibilityOffIcon;
@@ -147842,7 +147540,7 @@ function LayerController(props2) {
147842
147540
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
147843
147541
  Accordion$1,
147844
147542
  {
147845
- className: controllerSectionClasses.root,
147543
+ className: controllerSectionClasses.layerControllerRoot,
147846
147544
  onChange: (e2, expanded) => {
147847
147545
  var _a3, _b, _c;
147848
147546
  return !disabled && setIsExpanded(
@@ -147853,12 +147551,18 @@ function LayerController(props2) {
147853
147551
  expanded: !disabled && isExpanded,
147854
147552
  children: [
147855
147553
  /* @__PURE__ */ jsxRuntimeExports.jsx(
147856
- StyledAccordionSummary,
147554
+ AccordionSummary$1,
147857
147555
  {
147556
+ classes: {
147557
+ root: accordionClasses.accordionSummaryRoot,
147558
+ content: accordionClasses.content,
147559
+ expanded: accordionClasses.expanded,
147560
+ expandIcon: accordionClasses.expandIcon
147561
+ },
147858
147562
  expandIcon: /* @__PURE__ */ jsxRuntimeExports.jsx(ExpandMoreIcon, { role: "presentation" }),
147859
147563
  "aria-controls": `layer-${name2}-controls`,
147860
147564
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Grid$1, { container: true, direction: "column", m: 1, justifyContent: "center", children: [
147861
- /* @__PURE__ */ jsxRuntimeExports.jsxs(OverflowEllipsisGrid, { item: true, children: [
147565
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Grid$1, { item: true, classes: { item: overflowEllipsisGridClasses.item }, children: [
147862
147566
  /* @__PURE__ */ jsxRuntimeExports.jsx(
147863
147567
  Button$1,
147864
147568
  {
@@ -147888,7 +147592,14 @@ function LayerController(props2) {
147888
147592
  alignItems: "center",
147889
147593
  justifyContent: "center",
147890
147594
  children: [
147891
- /* @__PURE__ */ jsxRuntimeExports.jsx(Grid$1, { item: true, xs: 6, children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledInputLabel, { htmlFor: `layer-${name2}-opacity-closed`, children: "Opacity:" }) }),
147595
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Grid$1, { item: true, xs: 6, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
147596
+ InputLabel$1,
147597
+ {
147598
+ htmlFor: `layer-${name2}-opacity-closed`,
147599
+ classes: { root: inputLabelClasses.inputLabelRoot },
147600
+ children: "Opacity:"
147601
+ }
147602
+ ) }),
147892
147603
  /* @__PURE__ */ jsxRuntimeExports.jsx(Grid$1, { item: true, xs: 6, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
147893
147604
  Slider$1,
147894
147605
  {
@@ -147909,7 +147620,7 @@ function LayerController(props2) {
147909
147620
  ] })
147910
147621
  }
147911
147622
  ),
147912
- /* @__PURE__ */ jsxRuntimeExports.jsxs(StyledAccordionDetails, { children: [
147623
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(AccordionDetails$1, { classes: { root: accordionClasses.accordionDetailsRoot }, children: [
147913
147624
  useVolumeTabs ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
147914
147625
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
147915
147626
  Tabs$1,
@@ -148301,8 +148012,6 @@ function LayerControllerSubscriber(props2) {
148301
148012
  const [obsLocationsData, obsLocationsStatus] = useObsLocationsData(
148302
148013
  loaders,
148303
148014
  dataset,
148304
- () => {
148305
- },
148306
148015
  false,
148307
148016
  { setSpatialPointLayer: setMoleculesLayer },
148308
148017
  { spatialPointLayer: moleculesLayer },
@@ -148315,8 +148024,6 @@ function LayerControllerSubscriber(props2) {
148315
148024
  ] = useObsSegmentationsData(
148316
148025
  loaders,
148317
148026
  dataset,
148318
- () => {
148319
- },
148320
148027
  false,
148321
148028
  { setSpatialSegmentationLayer: setCellsLayer },
148322
148029
  { spatialSegmentationLayer: cellsLayer },
@@ -148326,8 +148033,6 @@ function LayerControllerSubscriber(props2) {
148326
148033
  const [{ image: image2 }, imageStatus] = useImageData(
148327
148034
  loaders,
148328
148035
  dataset,
148329
- () => {
148330
- },
148331
148036
  false,
148332
148037
  { setSpatialImageLayer: setRasterLayers },
148333
148038
  { spatialImageLayer: rasterLayers },