@vitessce/scatterplot 3.3.4 → 3.3.5

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.
@@ -89613,9 +89613,9 @@ function _possibleConstructorReturn$u(self2, call) {
89613
89613
  if (call && (_typeof$w(call) === "object" || typeof call === "function")) {
89614
89614
  return call;
89615
89615
  }
89616
- return _assertThisInitialized$w(self2);
89616
+ return _assertThisInitialized$v(self2);
89617
89617
  }
89618
- function _assertThisInitialized$w(self2) {
89618
+ function _assertThisInitialized$v(self2) {
89619
89619
  if (self2 === void 0) {
89620
89620
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
89621
89621
  }
@@ -89648,14 +89648,14 @@ function _inherits$u(subClass, superClass) {
89648
89648
  }
89649
89649
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
89650
89650
  if (superClass)
89651
- _setPrototypeOf$w(subClass, superClass);
89651
+ _setPrototypeOf$v(subClass, superClass);
89652
89652
  }
89653
- function _setPrototypeOf$w(o2, p) {
89654
- _setPrototypeOf$w = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
89653
+ function _setPrototypeOf$v(o2, p) {
89654
+ _setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
89655
89655
  o3.__proto__ = p2;
89656
89656
  return o3;
89657
89657
  };
89658
- return _setPrototypeOf$w(o2, p);
89658
+ return _setPrototypeOf$v(o2, p);
89659
89659
  }
89660
89660
  var ModifyMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
89661
89661
  _inherits$u(ModifyMode2, _GeoJsonEditMode);
@@ -90055,9 +90055,9 @@ function _possibleConstructorReturn$t(self2, call) {
90055
90055
  if (call && (_typeof$v(call) === "object" || typeof call === "function")) {
90056
90056
  return call;
90057
90057
  }
90058
- return _assertThisInitialized$v(self2);
90058
+ return _assertThisInitialized$u(self2);
90059
90059
  }
90060
- function _assertThisInitialized$v(self2) {
90060
+ function _assertThisInitialized$u(self2) {
90061
90061
  if (self2 === void 0) {
90062
90062
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
90063
90063
  }
@@ -90090,14 +90090,14 @@ function _inherits$t(subClass, superClass) {
90090
90090
  }
90091
90091
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
90092
90092
  if (superClass)
90093
- _setPrototypeOf$v(subClass, superClass);
90093
+ _setPrototypeOf$u(subClass, superClass);
90094
90094
  }
90095
- function _setPrototypeOf$v(o2, p) {
90096
- _setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
90095
+ function _setPrototypeOf$u(o2, p) {
90096
+ _setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
90097
90097
  o3.__proto__ = p2;
90098
90098
  return o3;
90099
90099
  };
90100
- return _setPrototypeOf$v(o2, p);
90100
+ return _setPrototypeOf$u(o2, p);
90101
90101
  }
90102
90102
  function _defineProperty$b(obj, key, value) {
90103
90103
  if (key in obj) {
@@ -90117,8 +90117,8 @@ var ResizeCircleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90117
90117
  args[_key] = arguments[_key];
90118
90118
  }
90119
90119
  _this = _super.call.apply(_super, [this].concat(args));
90120
- _defineProperty$b(_assertThisInitialized$v(_this), "_selectedEditHandle", void 0);
90121
- _defineProperty$b(_assertThisInitialized$v(_this), "_isResizing", false);
90120
+ _defineProperty$b(_assertThisInitialized$u(_this), "_selectedEditHandle", void 0);
90121
+ _defineProperty$b(_assertThisInitialized$u(_this), "_isResizing", false);
90122
90122
  return _this;
90123
90123
  }
90124
90124
  _createClass$t(ResizeCircleMode2, [{
@@ -90407,9 +90407,9 @@ function _possibleConstructorReturn$s(self2, call) {
90407
90407
  if (call && (_typeof$u(call) === "object" || typeof call === "function")) {
90408
90408
  return call;
90409
90409
  }
90410
- return _assertThisInitialized$u(self2);
90410
+ return _assertThisInitialized$t(self2);
90411
90411
  }
90412
- function _assertThisInitialized$u(self2) {
90412
+ function _assertThisInitialized$t(self2) {
90413
90413
  if (self2 === void 0) {
90414
90414
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
90415
90415
  }
@@ -90442,14 +90442,14 @@ function _inherits$s(subClass, superClass) {
90442
90442
  }
90443
90443
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
90444
90444
  if (superClass)
90445
- _setPrototypeOf$u(subClass, superClass);
90445
+ _setPrototypeOf$t(subClass, superClass);
90446
90446
  }
90447
- function _setPrototypeOf$u(o2, p) {
90448
- _setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
90447
+ function _setPrototypeOf$t(o2, p) {
90448
+ _setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
90449
90449
  o3.__proto__ = p2;
90450
90450
  return o3;
90451
90451
  };
90452
- return _setPrototypeOf$u(o2, p);
90452
+ return _setPrototypeOf$t(o2, p);
90453
90453
  }
90454
90454
  function _defineProperty$a(obj, key, value) {
90455
90455
  if (key in obj) {
@@ -90469,8 +90469,8 @@ var TranslateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90469
90469
  args[_key] = arguments[_key];
90470
90470
  }
90471
90471
  _this = _super.call.apply(_super, [this].concat(args));
90472
- _defineProperty$a(_assertThisInitialized$u(_this), "_geometryBeforeTranslate", void 0);
90473
- _defineProperty$a(_assertThisInitialized$u(_this), "_isTranslatable", void 0);
90472
+ _defineProperty$a(_assertThisInitialized$t(_this), "_geometryBeforeTranslate", void 0);
90473
+ _defineProperty$a(_assertThisInitialized$t(_this), "_isTranslatable", void 0);
90474
90474
  return _this;
90475
90475
  }
90476
90476
  _createClass$s(TranslateMode2, [{
@@ -90870,9 +90870,9 @@ function _possibleConstructorReturn$r(self2, call) {
90870
90870
  if (call && (_typeof$t(call) === "object" || typeof call === "function")) {
90871
90871
  return call;
90872
90872
  }
90873
- return _assertThisInitialized$t(self2);
90873
+ return _assertThisInitialized$s(self2);
90874
90874
  }
90875
- function _assertThisInitialized$t(self2) {
90875
+ function _assertThisInitialized$s(self2) {
90876
90876
  if (self2 === void 0) {
90877
90877
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
90878
90878
  }
@@ -90905,14 +90905,14 @@ function _inherits$r(subClass, superClass) {
90905
90905
  }
90906
90906
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
90907
90907
  if (superClass)
90908
- _setPrototypeOf$t(subClass, superClass);
90908
+ _setPrototypeOf$s(subClass, superClass);
90909
90909
  }
90910
- function _setPrototypeOf$t(o2, p) {
90911
- _setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
90910
+ function _setPrototypeOf$s(o2, p) {
90911
+ _setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
90912
90912
  o3.__proto__ = p2;
90913
90913
  return o3;
90914
90914
  };
90915
- return _setPrototypeOf$t(o2, p);
90915
+ return _setPrototypeOf$s(o2, p);
90916
90916
  }
90917
90917
  function _defineProperty$9(obj, key, value) {
90918
90918
  if (key in obj) {
@@ -90932,12 +90932,12 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90932
90932
  args[_key] = arguments[_key];
90933
90933
  }
90934
90934
  _this = _super.call.apply(_super, [this].concat(args));
90935
- _defineProperty$9(_assertThisInitialized$t(_this), "_geometryBeingScaled", void 0);
90936
- _defineProperty$9(_assertThisInitialized$t(_this), "_selectedEditHandle", void 0);
90937
- _defineProperty$9(_assertThisInitialized$t(_this), "_cornerGuidePoints", void 0);
90938
- _defineProperty$9(_assertThisInitialized$t(_this), "_cursor", void 0);
90939
- _defineProperty$9(_assertThisInitialized$t(_this), "_isScaling", false);
90940
- _defineProperty$9(_assertThisInitialized$t(_this), "_isSinglePointGeometrySelected", function(geometry2) {
90935
+ _defineProperty$9(_assertThisInitialized$s(_this), "_geometryBeingScaled", void 0);
90936
+ _defineProperty$9(_assertThisInitialized$s(_this), "_selectedEditHandle", void 0);
90937
+ _defineProperty$9(_assertThisInitialized$s(_this), "_cornerGuidePoints", void 0);
90938
+ _defineProperty$9(_assertThisInitialized$s(_this), "_cursor", void 0);
90939
+ _defineProperty$9(_assertThisInitialized$s(_this), "_isScaling", false);
90940
+ _defineProperty$9(_assertThisInitialized$s(_this), "_isSinglePointGeometrySelected", function(geometry2) {
90941
90941
  var _ref = geometry2 || {}, features = _ref.features;
90942
90942
  if (Array.isArray(features) && features.length === 1) {
90943
90943
  var _getGeom = (0, _invariant$1.getGeom)(features[0]), type = _getGeom.type;
@@ -90945,7 +90945,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90945
90945
  }
90946
90946
  return false;
90947
90947
  });
90948
- _defineProperty$9(_assertThisInitialized$t(_this), "_getOppositeScaleHandle", function(selectedHandle) {
90948
+ _defineProperty$9(_assertThisInitialized$s(_this), "_getOppositeScaleHandle", function(selectedHandle) {
90949
90949
  var selectedHandleIndex = selectedHandle && selectedHandle.properties && Array.isArray(selectedHandle.properties.positionIndexes) && selectedHandle.properties.positionIndexes[0];
90950
90950
  if (typeof selectedHandleIndex !== "number") {
90951
90951
  return null;
@@ -90959,7 +90959,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90959
90959
  return p.properties.positionIndexes[0] === oppositeIndex;
90960
90960
  });
90961
90961
  });
90962
- _defineProperty$9(_assertThisInitialized$t(_this), "_getUpdatedData", function(props2, editedData) {
90962
+ _defineProperty$9(_assertThisInitialized$s(_this), "_getUpdatedData", function(props2, editedData) {
90963
90963
  var updatedData = new _immutableFeatureCollection$4.ImmutableFeatureCollection(props2.data);
90964
90964
  var selectedIndexes = props2.selectedIndexes;
90965
90965
  for (var i2 = 0; i2 < selectedIndexes.length; i2++) {
@@ -90969,10 +90969,10 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90969
90969
  }
90970
90970
  return updatedData.getObject();
90971
90971
  });
90972
- _defineProperty$9(_assertThisInitialized$t(_this), "isEditHandleSelected", function() {
90972
+ _defineProperty$9(_assertThisInitialized$s(_this), "isEditHandleSelected", function() {
90973
90973
  return Boolean(_this._selectedEditHandle);
90974
90974
  });
90975
- _defineProperty$9(_assertThisInitialized$t(_this), "getScaleAction", function(startDragPoint, currentPoint, editType, props2) {
90975
+ _defineProperty$9(_assertThisInitialized$s(_this), "getScaleAction", function(startDragPoint, currentPoint, editType, props2) {
90976
90976
  if (!_this._selectedEditHandle) {
90977
90977
  return null;
90978
90978
  }
@@ -90995,7 +90995,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
90995
90995
  }
90996
90996
  };
90997
90997
  });
90998
- _defineProperty$9(_assertThisInitialized$t(_this), "updateCursor", function(props2) {
90998
+ _defineProperty$9(_assertThisInitialized$s(_this), "updateCursor", function(props2) {
90999
90999
  if (_this._selectedEditHandle) {
91000
91000
  if (_this._cursor) {
91001
91001
  props2.onUpdateCursor(_this._cursor);
@@ -91219,9 +91219,9 @@ function _possibleConstructorReturn$q(self2, call) {
91219
91219
  if (call && (_typeof$s(call) === "object" || typeof call === "function")) {
91220
91220
  return call;
91221
91221
  }
91222
- return _assertThisInitialized$s(self2);
91222
+ return _assertThisInitialized$r(self2);
91223
91223
  }
91224
- function _assertThisInitialized$s(self2) {
91224
+ function _assertThisInitialized$r(self2) {
91225
91225
  if (self2 === void 0) {
91226
91226
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
91227
91227
  }
@@ -91254,14 +91254,14 @@ function _inherits$q(subClass, superClass) {
91254
91254
  }
91255
91255
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
91256
91256
  if (superClass)
91257
- _setPrototypeOf$s(subClass, superClass);
91257
+ _setPrototypeOf$r(subClass, superClass);
91258
91258
  }
91259
- function _setPrototypeOf$s(o2, p) {
91260
- _setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
91259
+ function _setPrototypeOf$r(o2, p) {
91260
+ _setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
91261
91261
  o3.__proto__ = p2;
91262
91262
  return o3;
91263
91263
  };
91264
- return _setPrototypeOf$s(o2, p);
91264
+ return _setPrototypeOf$r(o2, p);
91265
91265
  }
91266
91266
  function _defineProperty$8(obj, key, value) {
91267
91267
  if (key in obj) {
@@ -91281,10 +91281,10 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
91281
91281
  args[_key] = arguments[_key];
91282
91282
  }
91283
91283
  _this = _super.call.apply(_super, [this].concat(args));
91284
- _defineProperty$8(_assertThisInitialized$s(_this), "_selectedEditHandle", void 0);
91285
- _defineProperty$8(_assertThisInitialized$s(_this), "_geometryBeingRotated", void 0);
91286
- _defineProperty$8(_assertThisInitialized$s(_this), "_isRotating", false);
91287
- _defineProperty$8(_assertThisInitialized$s(_this), "_isSinglePointGeometrySelected", function(geometry2) {
91284
+ _defineProperty$8(_assertThisInitialized$r(_this), "_selectedEditHandle", void 0);
91285
+ _defineProperty$8(_assertThisInitialized$r(_this), "_geometryBeingRotated", void 0);
91286
+ _defineProperty$8(_assertThisInitialized$r(_this), "_isRotating", false);
91287
+ _defineProperty$8(_assertThisInitialized$r(_this), "_isSinglePointGeometrySelected", function(geometry2) {
91288
91288
  var _ref = geometry2 || {}, features = _ref.features;
91289
91289
  if (Array.isArray(features) && features.length === 1) {
91290
91290
  var _getGeom = (0, _invariant.getGeom)(features[0]), type = _getGeom.type;
@@ -91292,7 +91292,7 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
91292
91292
  }
91293
91293
  return false;
91294
91294
  });
91295
- _defineProperty$8(_assertThisInitialized$s(_this), "getIsRotating", function() {
91295
+ _defineProperty$8(_assertThisInitialized$r(_this), "getIsRotating", function() {
91296
91296
  return _this._isRotating;
91297
91297
  });
91298
91298
  return _this;
@@ -91513,9 +91513,9 @@ function _possibleConstructorReturn$p(self2, call) {
91513
91513
  if (call && (_typeof$r(call) === "object" || typeof call === "function")) {
91514
91514
  return call;
91515
91515
  }
91516
- return _assertThisInitialized$r(self2);
91516
+ return _assertThisInitialized$q(self2);
91517
91517
  }
91518
- function _assertThisInitialized$r(self2) {
91518
+ function _assertThisInitialized$q(self2) {
91519
91519
  if (self2 === void 0) {
91520
91520
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
91521
91521
  }
@@ -91548,14 +91548,14 @@ function _inherits$p(subClass, superClass) {
91548
91548
  }
91549
91549
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
91550
91550
  if (superClass)
91551
- _setPrototypeOf$r(subClass, superClass);
91551
+ _setPrototypeOf$q(subClass, superClass);
91552
91552
  }
91553
- function _setPrototypeOf$r(o2, p) {
91554
- _setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
91553
+ function _setPrototypeOf$q(o2, p) {
91554
+ _setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
91555
91555
  o3.__proto__ = p2;
91556
91556
  return o3;
91557
91557
  };
91558
- return _setPrototypeOf$r(o2, p);
91558
+ return _setPrototypeOf$q(o2, p);
91559
91559
  }
91560
91560
  var DuplicateMode = /* @__PURE__ */ function(_TranslateMode) {
91561
91561
  _inherits$p(DuplicateMode2, _TranslateMode);
@@ -91643,9 +91643,9 @@ function _possibleConstructorReturn$o(self2, call) {
91643
91643
  if (call && (_typeof$q(call) === "object" || typeof call === "function")) {
91644
91644
  return call;
91645
91645
  }
91646
- return _assertThisInitialized$q(self2);
91646
+ return _assertThisInitialized$p(self2);
91647
91647
  }
91648
- function _assertThisInitialized$q(self2) {
91648
+ function _assertThisInitialized$p(self2) {
91649
91649
  if (self2 === void 0) {
91650
91650
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
91651
91651
  }
@@ -91678,14 +91678,14 @@ function _inherits$o(subClass, superClass) {
91678
91678
  }
91679
91679
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
91680
91680
  if (superClass)
91681
- _setPrototypeOf$q(subClass, superClass);
91681
+ _setPrototypeOf$p(subClass, superClass);
91682
91682
  }
91683
- function _setPrototypeOf$q(o2, p) {
91684
- _setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
91683
+ function _setPrototypeOf$p(o2, p) {
91684
+ _setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
91685
91685
  o3.__proto__ = p2;
91686
91686
  return o3;
91687
91687
  };
91688
- return _setPrototypeOf$q(o2, p);
91688
+ return _setPrototypeOf$p(o2, p);
91689
91689
  }
91690
91690
  var ExtendLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
91691
91691
  _inherits$o(ExtendLineStringMode2, _GeoJsonEditMode);
@@ -92059,9 +92059,9 @@ function _possibleConstructorReturn$n(self2, call) {
92059
92059
  if (call && (_typeof$p(call) === "object" || typeof call === "function")) {
92060
92060
  return call;
92061
92061
  }
92062
- return _assertThisInitialized$p(self2);
92062
+ return _assertThisInitialized$o(self2);
92063
92063
  }
92064
- function _assertThisInitialized$p(self2) {
92064
+ function _assertThisInitialized$o(self2) {
92065
92065
  if (self2 === void 0) {
92066
92066
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
92067
92067
  }
@@ -92094,14 +92094,14 @@ function _inherits$n(subClass, superClass) {
92094
92094
  }
92095
92095
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
92096
92096
  if (superClass)
92097
- _setPrototypeOf$p(subClass, superClass);
92097
+ _setPrototypeOf$o(subClass, superClass);
92098
92098
  }
92099
- function _setPrototypeOf$p(o2, p) {
92100
- _setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
92099
+ function _setPrototypeOf$o(o2, p) {
92100
+ _setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
92101
92101
  o3.__proto__ = p2;
92102
92102
  return o3;
92103
92103
  };
92104
- return _setPrototypeOf$p(o2, p);
92104
+ return _setPrototypeOf$o(o2, p);
92105
92105
  }
92106
92106
  var SplitPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
92107
92107
  _inherits$n(SplitPolygonMode2, _GeoJsonEditMode);
@@ -92394,9 +92394,9 @@ function _possibleConstructorReturn$m(self2, call) {
92394
92394
  if (call && (_typeof$o(call) === "object" || typeof call === "function")) {
92395
92395
  return call;
92396
92396
  }
92397
- return _assertThisInitialized$o(self2);
92397
+ return _assertThisInitialized$n(self2);
92398
92398
  }
92399
- function _assertThisInitialized$o(self2) {
92399
+ function _assertThisInitialized$n(self2) {
92400
92400
  if (self2 === void 0) {
92401
92401
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
92402
92402
  }
@@ -92429,14 +92429,14 @@ function _inherits$m(subClass, superClass) {
92429
92429
  }
92430
92430
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
92431
92431
  if (superClass)
92432
- _setPrototypeOf$o(subClass, superClass);
92432
+ _setPrototypeOf$n(subClass, superClass);
92433
92433
  }
92434
- function _setPrototypeOf$o(o2, p) {
92435
- _setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
92434
+ function _setPrototypeOf$n(o2, p) {
92435
+ _setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
92436
92436
  o3.__proto__ = p2;
92437
92437
  return o3;
92438
92438
  };
92439
- return _setPrototypeOf$o(o2, p);
92439
+ return _setPrototypeOf$n(o2, p);
92440
92440
  }
92441
92441
  function _defineProperty$7(obj, key, value) {
92442
92442
  if (key in obj) {
@@ -92456,7 +92456,7 @@ var ExtrudeMode = /* @__PURE__ */ function(_ModifyMode) {
92456
92456
  args[_key] = arguments[_key];
92457
92457
  }
92458
92458
  _this = _super.call.apply(_super, [this].concat(args));
92459
- _defineProperty$7(_assertThisInitialized$o(_this), "isPointAdded", false);
92459
+ _defineProperty$7(_assertThisInitialized$n(_this), "isPointAdded", false);
92460
92460
  return _this;
92461
92461
  }
92462
92462
  _createClass$m(ExtrudeMode2, [{
@@ -92725,9 +92725,9 @@ function _possibleConstructorReturn$l(self2, call) {
92725
92725
  if (call && (_typeof$n(call) === "object" || typeof call === "function")) {
92726
92726
  return call;
92727
92727
  }
92728
- return _assertThisInitialized$n(self2);
92728
+ return _assertThisInitialized$m(self2);
92729
92729
  }
92730
- function _assertThisInitialized$n(self2) {
92730
+ function _assertThisInitialized$m(self2) {
92731
92731
  if (self2 === void 0) {
92732
92732
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
92733
92733
  }
@@ -92760,14 +92760,14 @@ function _inherits$l(subClass, superClass) {
92760
92760
  }
92761
92761
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
92762
92762
  if (superClass)
92763
- _setPrototypeOf$n(subClass, superClass);
92763
+ _setPrototypeOf$m(subClass, superClass);
92764
92764
  }
92765
- function _setPrototypeOf$n(o2, p) {
92766
- _setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
92765
+ function _setPrototypeOf$m(o2, p) {
92766
+ _setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
92767
92767
  o3.__proto__ = p2;
92768
92768
  return o3;
92769
92769
  };
92770
- return _setPrototypeOf$n(o2, p);
92770
+ return _setPrototypeOf$m(o2, p);
92771
92771
  }
92772
92772
  function defaultCalculateElevationChange(_ref) {
92773
92773
  var pointerDownScreenCoords = _ref.pointerDownScreenCoords, screenCoords = _ref.screenCoords;
@@ -92961,9 +92961,9 @@ function _possibleConstructorReturn$k(self2, call) {
92961
92961
  if (call && (_typeof$m(call) === "object" || typeof call === "function")) {
92962
92962
  return call;
92963
92963
  }
92964
- return _assertThisInitialized$m(self2);
92964
+ return _assertThisInitialized$l(self2);
92965
92965
  }
92966
- function _assertThisInitialized$m(self2) {
92966
+ function _assertThisInitialized$l(self2) {
92967
92967
  if (self2 === void 0) {
92968
92968
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
92969
92969
  }
@@ -92996,14 +92996,14 @@ function _inherits$k(subClass, superClass) {
92996
92996
  }
92997
92997
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
92998
92998
  if (superClass)
92999
- _setPrototypeOf$m(subClass, superClass);
92999
+ _setPrototypeOf$l(subClass, superClass);
93000
93000
  }
93001
- function _setPrototypeOf$m(o2, p) {
93002
- _setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93001
+ function _setPrototypeOf$l(o2, p) {
93002
+ _setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93003
93003
  o3.__proto__ = p2;
93004
93004
  return o3;
93005
93005
  };
93006
- return _setPrototypeOf$m(o2, p);
93006
+ return _setPrototypeOf$l(o2, p);
93007
93007
  }
93008
93008
  function _defineProperty$6(obj, key, value) {
93009
93009
  if (key in obj) {
@@ -93020,7 +93020,7 @@ var CompositeMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
93020
93020
  var _this;
93021
93021
  _classCallCheck$k(this, CompositeMode2);
93022
93022
  _this = _super.call(this);
93023
- _defineProperty$6(_assertThisInitialized$m(_this), "_modes", void 0);
93023
+ _defineProperty$6(_assertThisInitialized$l(_this), "_modes", void 0);
93024
93024
  _this._modes = modes;
93025
93025
  return _this;
93026
93026
  }
@@ -93218,9 +93218,9 @@ function _possibleConstructorReturn$j(self2, call) {
93218
93218
  if (call && (_typeof$l(call) === "object" || typeof call === "function")) {
93219
93219
  return call;
93220
93220
  }
93221
- return _assertThisInitialized$l(self2);
93221
+ return _assertThisInitialized$k(self2);
93222
93222
  }
93223
- function _assertThisInitialized$l(self2) {
93223
+ function _assertThisInitialized$k(self2) {
93224
93224
  if (self2 === void 0) {
93225
93225
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
93226
93226
  }
@@ -93253,14 +93253,14 @@ function _inherits$j(subClass, superClass) {
93253
93253
  }
93254
93254
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
93255
93255
  if (superClass)
93256
- _setPrototypeOf$l(subClass, superClass);
93256
+ _setPrototypeOf$k(subClass, superClass);
93257
93257
  }
93258
- function _setPrototypeOf$l(o2, p) {
93259
- _setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93258
+ function _setPrototypeOf$k(o2, p) {
93259
+ _setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93260
93260
  o3.__proto__ = p2;
93261
93261
  return o3;
93262
93262
  };
93263
- return _setPrototypeOf$l(o2, p);
93263
+ return _setPrototypeOf$k(o2, p);
93264
93264
  }
93265
93265
  var TransformMode = /* @__PURE__ */ function(_CompositeMode) {
93266
93266
  _inherits$j(TransformMode2, _CompositeMode);
@@ -93409,9 +93409,9 @@ function _possibleConstructorReturn$i(self2, call) {
93409
93409
  if (call && (_typeof$k(call) === "object" || typeof call === "function")) {
93410
93410
  return call;
93411
93411
  }
93412
- return _assertThisInitialized$k(self2);
93412
+ return _assertThisInitialized$j(self2);
93413
93413
  }
93414
- function _assertThisInitialized$k(self2) {
93414
+ function _assertThisInitialized$j(self2) {
93415
93415
  if (self2 === void 0) {
93416
93416
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
93417
93417
  }
@@ -93444,14 +93444,14 @@ function _inherits$i(subClass, superClass) {
93444
93444
  }
93445
93445
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
93446
93446
  if (superClass)
93447
- _setPrototypeOf$k(subClass, superClass);
93447
+ _setPrototypeOf$j(subClass, superClass);
93448
93448
  }
93449
- function _setPrototypeOf$k(o2, p) {
93450
- _setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93449
+ function _setPrototypeOf$j(o2, p) {
93450
+ _setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93451
93451
  o3.__proto__ = p2;
93452
93452
  return o3;
93453
93453
  };
93454
- return _setPrototypeOf$k(o2, p);
93454
+ return _setPrototypeOf$j(o2, p);
93455
93455
  }
93456
93456
  var DrawPointMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
93457
93457
  _inherits$i(DrawPointMode2, _GeoJsonEditMode);
@@ -93589,9 +93589,9 @@ function _possibleConstructorReturn$h(self2, call) {
93589
93589
  if (call && (_typeof$j(call) === "object" || typeof call === "function")) {
93590
93590
  return call;
93591
93591
  }
93592
- return _assertThisInitialized$j(self2);
93592
+ return _assertThisInitialized$i(self2);
93593
93593
  }
93594
- function _assertThisInitialized$j(self2) {
93594
+ function _assertThisInitialized$i(self2) {
93595
93595
  if (self2 === void 0) {
93596
93596
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
93597
93597
  }
@@ -93624,14 +93624,14 @@ function _inherits$h(subClass, superClass) {
93624
93624
  }
93625
93625
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
93626
93626
  if (superClass)
93627
- _setPrototypeOf$j(subClass, superClass);
93627
+ _setPrototypeOf$i(subClass, superClass);
93628
93628
  }
93629
- function _setPrototypeOf$j(o2, p) {
93630
- _setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93629
+ function _setPrototypeOf$i(o2, p) {
93630
+ _setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93631
93631
  o3.__proto__ = p2;
93632
93632
  return o3;
93633
93633
  };
93634
- return _setPrototypeOf$j(o2, p);
93634
+ return _setPrototypeOf$i(o2, p);
93635
93635
  }
93636
93636
  var DrawLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
93637
93637
  _inherits$h(DrawLineStringMode2, _GeoJsonEditMode);
@@ -93863,9 +93863,9 @@ function _possibleConstructorReturn$g(self2, call) {
93863
93863
  if (call && (_typeof$i(call) === "object" || typeof call === "function")) {
93864
93864
  return call;
93865
93865
  }
93866
- return _assertThisInitialized$i(self2);
93866
+ return _assertThisInitialized$h(self2);
93867
93867
  }
93868
- function _assertThisInitialized$i(self2) {
93868
+ function _assertThisInitialized$h(self2) {
93869
93869
  if (self2 === void 0) {
93870
93870
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
93871
93871
  }
@@ -93898,14 +93898,14 @@ function _inherits$g(subClass, superClass) {
93898
93898
  }
93899
93899
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
93900
93900
  if (superClass)
93901
- _setPrototypeOf$i(subClass, superClass);
93901
+ _setPrototypeOf$h(subClass, superClass);
93902
93902
  }
93903
- function _setPrototypeOf$i(o2, p) {
93904
- _setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93903
+ function _setPrototypeOf$h(o2, p) {
93904
+ _setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
93905
93905
  o3.__proto__ = p2;
93906
93906
  return o3;
93907
93907
  };
93908
- return _setPrototypeOf$i(o2, p);
93908
+ return _setPrototypeOf$h(o2, p);
93909
93909
  }
93910
93910
  var DrawPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
93911
93911
  _inherits$g(DrawPolygonMode2, _GeoJsonEditMode);
@@ -94120,9 +94120,9 @@ function _possibleConstructorReturn$f(self2, call) {
94120
94120
  if (call && (_typeof$h(call) === "object" || typeof call === "function")) {
94121
94121
  return call;
94122
94122
  }
94123
- return _assertThisInitialized$h(self2);
94123
+ return _assertThisInitialized$g(self2);
94124
94124
  }
94125
- function _assertThisInitialized$h(self2) {
94125
+ function _assertThisInitialized$g(self2) {
94126
94126
  if (self2 === void 0) {
94127
94127
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
94128
94128
  }
@@ -94155,14 +94155,14 @@ function _inherits$f(subClass, superClass) {
94155
94155
  }
94156
94156
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
94157
94157
  if (superClass)
94158
- _setPrototypeOf$h(subClass, superClass);
94158
+ _setPrototypeOf$g(subClass, superClass);
94159
94159
  }
94160
- function _setPrototypeOf$h(o2, p) {
94161
- _setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94160
+ function _setPrototypeOf$g(o2, p) {
94161
+ _setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94162
94162
  o3.__proto__ = p2;
94163
94163
  return o3;
94164
94164
  };
94165
- return _setPrototypeOf$h(o2, p);
94165
+ return _setPrototypeOf$g(o2, p);
94166
94166
  }
94167
94167
  var TwoClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
94168
94168
  _inherits$f(TwoClickPolygonMode2, _GeoJsonEditMode);
@@ -94335,9 +94335,9 @@ function _possibleConstructorReturn$e(self2, call) {
94335
94335
  if (call && (_typeof$g(call) === "object" || typeof call === "function")) {
94336
94336
  return call;
94337
94337
  }
94338
- return _assertThisInitialized$g(self2);
94338
+ return _assertThisInitialized$f(self2);
94339
94339
  }
94340
- function _assertThisInitialized$g(self2) {
94340
+ function _assertThisInitialized$f(self2) {
94341
94341
  if (self2 === void 0) {
94342
94342
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
94343
94343
  }
@@ -94370,14 +94370,14 @@ function _inherits$e(subClass, superClass) {
94370
94370
  }
94371
94371
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
94372
94372
  if (superClass)
94373
- _setPrototypeOf$g(subClass, superClass);
94373
+ _setPrototypeOf$f(subClass, superClass);
94374
94374
  }
94375
- function _setPrototypeOf$g(o2, p) {
94376
- _setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94375
+ function _setPrototypeOf$f(o2, p) {
94376
+ _setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94377
94377
  o3.__proto__ = p2;
94378
94378
  return o3;
94379
94379
  };
94380
- return _setPrototypeOf$g(o2, p);
94380
+ return _setPrototypeOf$f(o2, p);
94381
94381
  }
94382
94382
  var DrawRectangleMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
94383
94383
  _inherits$e(DrawRectangleMode2, _TwoClickPolygonMode);
@@ -94498,9 +94498,9 @@ function _possibleConstructorReturn$d(self2, call) {
94498
94498
  if (call && (_typeof$f(call) === "object" || typeof call === "function")) {
94499
94499
  return call;
94500
94500
  }
94501
- return _assertThisInitialized$f(self2);
94501
+ return _assertThisInitialized$e(self2);
94502
94502
  }
94503
- function _assertThisInitialized$f(self2) {
94503
+ function _assertThisInitialized$e(self2) {
94504
94504
  if (self2 === void 0) {
94505
94505
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
94506
94506
  }
@@ -94533,14 +94533,14 @@ function _inherits$d(subClass, superClass) {
94533
94533
  }
94534
94534
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
94535
94535
  if (superClass)
94536
- _setPrototypeOf$f(subClass, superClass);
94536
+ _setPrototypeOf$e(subClass, superClass);
94537
94537
  }
94538
- function _setPrototypeOf$f(o2, p) {
94539
- _setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94538
+ function _setPrototypeOf$e(o2, p) {
94539
+ _setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94540
94540
  o3.__proto__ = p2;
94541
94541
  return o3;
94542
94542
  };
94543
- return _setPrototypeOf$f(o2, p);
94543
+ return _setPrototypeOf$e(o2, p);
94544
94544
  }
94545
94545
  var DrawSquareFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
94546
94546
  _inherits$d(DrawSquareFromCenterMode2, _TwoClickPolygonMode);
@@ -94635,9 +94635,9 @@ function _possibleConstructorReturn$c(self2, call) {
94635
94635
  if (call && (_typeof$e(call) === "object" || typeof call === "function")) {
94636
94636
  return call;
94637
94637
  }
94638
- return _assertThisInitialized$e(self2);
94638
+ return _assertThisInitialized$d(self2);
94639
94639
  }
94640
- function _assertThisInitialized$e(self2) {
94640
+ function _assertThisInitialized$d(self2) {
94641
94641
  if (self2 === void 0) {
94642
94642
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
94643
94643
  }
@@ -94670,14 +94670,14 @@ function _inherits$c(subClass, superClass) {
94670
94670
  }
94671
94671
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
94672
94672
  if (superClass)
94673
- _setPrototypeOf$e(subClass, superClass);
94673
+ _setPrototypeOf$d(subClass, superClass);
94674
94674
  }
94675
- function _setPrototypeOf$e(o2, p) {
94676
- _setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94675
+ function _setPrototypeOf$d(o2, p) {
94676
+ _setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94677
94677
  o3.__proto__ = p2;
94678
94678
  return o3;
94679
94679
  };
94680
- return _setPrototypeOf$e(o2, p);
94680
+ return _setPrototypeOf$d(o2, p);
94681
94681
  }
94682
94682
  var DrawCircleByDiameterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
94683
94683
  _inherits$c(DrawCircleByDiameterMode2, _TwoClickPolygonMode);
@@ -94770,9 +94770,9 @@ function _possibleConstructorReturn$b(self2, call) {
94770
94770
  if (call && (_typeof$d(call) === "object" || typeof call === "function")) {
94771
94771
  return call;
94772
94772
  }
94773
- return _assertThisInitialized$d(self2);
94773
+ return _assertThisInitialized$c(self2);
94774
94774
  }
94775
- function _assertThisInitialized$d(self2) {
94775
+ function _assertThisInitialized$c(self2) {
94776
94776
  if (self2 === void 0) {
94777
94777
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
94778
94778
  }
@@ -94805,14 +94805,14 @@ function _inherits$b(subClass, superClass) {
94805
94805
  }
94806
94806
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
94807
94807
  if (superClass)
94808
- _setPrototypeOf$d(subClass, superClass);
94808
+ _setPrototypeOf$c(subClass, superClass);
94809
94809
  }
94810
- function _setPrototypeOf$d(o2, p) {
94811
- _setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94810
+ function _setPrototypeOf$c(o2, p) {
94811
+ _setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
94812
94812
  o3.__proto__ = p2;
94813
94813
  return o3;
94814
94814
  };
94815
- return _setPrototypeOf$d(o2, p);
94815
+ return _setPrototypeOf$c(o2, p);
94816
94816
  }
94817
94817
  var DrawCircleFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
94818
94818
  _inherits$b(DrawCircleFromCenterMode2, _TwoClickPolygonMode);
@@ -94982,9 +94982,9 @@ function _possibleConstructorReturn$a(self2, call) {
94982
94982
  if (call && (_typeof$c(call) === "object" || typeof call === "function")) {
94983
94983
  return call;
94984
94984
  }
94985
- return _assertThisInitialized$c(self2);
94985
+ return _assertThisInitialized$b(self2);
94986
94986
  }
94987
- function _assertThisInitialized$c(self2) {
94987
+ function _assertThisInitialized$b(self2) {
94988
94988
  if (self2 === void 0) {
94989
94989
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
94990
94990
  }
@@ -95017,14 +95017,14 @@ function _inherits$a(subClass, superClass) {
95017
95017
  }
95018
95018
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
95019
95019
  if (superClass)
95020
- _setPrototypeOf$c(subClass, superClass);
95020
+ _setPrototypeOf$b(subClass, superClass);
95021
95021
  }
95022
- function _setPrototypeOf$c(o2, p) {
95023
- _setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95022
+ function _setPrototypeOf$b(o2, p) {
95023
+ _setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95024
95024
  o3.__proto__ = p2;
95025
95025
  return o3;
95026
95026
  };
95027
- return _setPrototypeOf$c(o2, p);
95027
+ return _setPrototypeOf$b(o2, p);
95028
95028
  }
95029
95029
  var DrawEllipseByBoundingBoxMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
95030
95030
  _inherits$a(DrawEllipseByBoundingBoxMode2, _TwoClickPolygonMode);
@@ -95133,9 +95133,9 @@ function _possibleConstructorReturn$9(self2, call) {
95133
95133
  if (call && (_typeof$b(call) === "object" || typeof call === "function")) {
95134
95134
  return call;
95135
95135
  }
95136
- return _assertThisInitialized$b(self2);
95136
+ return _assertThisInitialized$a(self2);
95137
95137
  }
95138
- function _assertThisInitialized$b(self2) {
95138
+ function _assertThisInitialized$a(self2) {
95139
95139
  if (self2 === void 0) {
95140
95140
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95141
95141
  }
@@ -95168,14 +95168,14 @@ function _inherits$9(subClass, superClass) {
95168
95168
  }
95169
95169
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
95170
95170
  if (superClass)
95171
- _setPrototypeOf$b(subClass, superClass);
95171
+ _setPrototypeOf$a(subClass, superClass);
95172
95172
  }
95173
- function _setPrototypeOf$b(o2, p) {
95174
- _setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95173
+ function _setPrototypeOf$a(o2, p) {
95174
+ _setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95175
95175
  o3.__proto__ = p2;
95176
95176
  return o3;
95177
95177
  };
95178
- return _setPrototypeOf$b(o2, p);
95178
+ return _setPrototypeOf$a(o2, p);
95179
95179
  }
95180
95180
  var ThreeClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
95181
95181
  _inherits$9(ThreeClickPolygonMode2, _GeoJsonEditMode);
@@ -95327,9 +95327,9 @@ function _possibleConstructorReturn$8(self2, call) {
95327
95327
  if (call && (_typeof$a(call) === "object" || typeof call === "function")) {
95328
95328
  return call;
95329
95329
  }
95330
- return _assertThisInitialized$a(self2);
95330
+ return _assertThisInitialized$9(self2);
95331
95331
  }
95332
- function _assertThisInitialized$a(self2) {
95332
+ function _assertThisInitialized$9(self2) {
95333
95333
  if (self2 === void 0) {
95334
95334
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95335
95335
  }
@@ -95362,14 +95362,14 @@ function _inherits$8(subClass, superClass) {
95362
95362
  }
95363
95363
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
95364
95364
  if (superClass)
95365
- _setPrototypeOf$a(subClass, superClass);
95365
+ _setPrototypeOf$9(subClass, superClass);
95366
95366
  }
95367
- function _setPrototypeOf$a(o2, p) {
95368
- _setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95367
+ function _setPrototypeOf$9(o2, p) {
95368
+ _setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95369
95369
  o3.__proto__ = p2;
95370
95370
  return o3;
95371
95371
  };
95372
- return _setPrototypeOf$a(o2, p);
95372
+ return _setPrototypeOf$9(o2, p);
95373
95373
  }
95374
95374
  var DrawEllipseUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
95375
95375
  _inherits$8(DrawEllipseUsingThreePointsMode2, _ThreeClickPolygonMod);
@@ -95509,9 +95509,9 @@ function _possibleConstructorReturn$7(self2, call) {
95509
95509
  if (call && (_typeof$9(call) === "object" || typeof call === "function")) {
95510
95510
  return call;
95511
95511
  }
95512
- return _assertThisInitialized$9(self2);
95512
+ return _assertThisInitialized$8(self2);
95513
95513
  }
95514
- function _assertThisInitialized$9(self2) {
95514
+ function _assertThisInitialized$8(self2) {
95515
95515
  if (self2 === void 0) {
95516
95516
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95517
95517
  }
@@ -95544,14 +95544,14 @@ function _inherits$7(subClass, superClass) {
95544
95544
  }
95545
95545
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
95546
95546
  if (superClass)
95547
- _setPrototypeOf$9(subClass, superClass);
95547
+ _setPrototypeOf$8(subClass, superClass);
95548
95548
  }
95549
- function _setPrototypeOf$9(o2, p) {
95550
- _setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95549
+ function _setPrototypeOf$8(o2, p) {
95550
+ _setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95551
95551
  o3.__proto__ = p2;
95552
95552
  return o3;
95553
95553
  };
95554
- return _setPrototypeOf$9(o2, p);
95554
+ return _setPrototypeOf$8(o2, p);
95555
95555
  }
95556
95556
  var DrawRectangleUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
95557
95557
  _inherits$7(DrawRectangleUsingThreePointsMode2, _ThreeClickPolygonMod);
@@ -95751,9 +95751,9 @@ function _possibleConstructorReturn$6(self2, call) {
95751
95751
  if (call && (_typeof$8(call) === "object" || typeof call === "function")) {
95752
95752
  return call;
95753
95753
  }
95754
- return _assertThisInitialized$8(self2);
95754
+ return _assertThisInitialized$7(self2);
95755
95755
  }
95756
- function _assertThisInitialized$8(self2) {
95756
+ function _assertThisInitialized$7(self2) {
95757
95757
  if (self2 === void 0) {
95758
95758
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
95759
95759
  }
@@ -95786,14 +95786,14 @@ function _inherits$6(subClass, superClass) {
95786
95786
  }
95787
95787
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
95788
95788
  if (superClass)
95789
- _setPrototypeOf$8(subClass, superClass);
95789
+ _setPrototypeOf$7(subClass, superClass);
95790
95790
  }
95791
- function _setPrototypeOf$8(o2, p) {
95792
- _setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95791
+ function _setPrototypeOf$7(o2, p) {
95792
+ _setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
95793
95793
  o3.__proto__ = p2;
95794
95794
  return o3;
95795
95795
  };
95796
- return _setPrototypeOf$8(o2, p);
95796
+ return _setPrototypeOf$7(o2, p);
95797
95797
  }
95798
95798
  var Draw90DegreePolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
95799
95799
  _inherits$6(Draw90DegreePolygonMode2, _GeoJsonEditMode);
@@ -96201,9 +96201,9 @@ function _possibleConstructorReturn$5(self2, call) {
96201
96201
  if (call && (_typeof$7(call) === "object" || typeof call === "function")) {
96202
96202
  return call;
96203
96203
  }
96204
- return _assertThisInitialized$7(self2);
96204
+ return _assertThisInitialized$6(self2);
96205
96205
  }
96206
- function _assertThisInitialized$7(self2) {
96206
+ function _assertThisInitialized$6(self2) {
96207
96207
  if (self2 === void 0) {
96208
96208
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
96209
96209
  }
@@ -96236,14 +96236,14 @@ function _inherits$5(subClass, superClass) {
96236
96236
  }
96237
96237
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
96238
96238
  if (superClass)
96239
- _setPrototypeOf$7(subClass, superClass);
96239
+ _setPrototypeOf$6(subClass, superClass);
96240
96240
  }
96241
- function _setPrototypeOf$7(o2, p) {
96242
- _setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96241
+ function _setPrototypeOf$6(o2, p) {
96242
+ _setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96243
96243
  o3.__proto__ = p2;
96244
96244
  return o3;
96245
96245
  };
96246
- return _setPrototypeOf$7(o2, p);
96246
+ return _setPrototypeOf$6(o2, p);
96247
96247
  }
96248
96248
  function _defineProperty$4(obj, key, value) {
96249
96249
  if (key in obj) {
@@ -96263,7 +96263,7 @@ var DrawPolygonByDraggingMode = /* @__PURE__ */ function(_DrawPolygonMode) {
96263
96263
  args[_key] = arguments[_key];
96264
96264
  }
96265
96265
  _this = _super.call.apply(_super, [this].concat(args));
96266
- _defineProperty$4(_assertThisInitialized$7(_this), "handleDraggingThrottled", null);
96266
+ _defineProperty$4(_assertThisInitialized$6(_this), "handleDraggingThrottled", null);
96267
96267
  return _this;
96268
96268
  }
96269
96269
  _createClass$5(DrawPolygonByDraggingMode2, [{
@@ -96360,9 +96360,9 @@ function _possibleConstructorReturn$4(self2, call) {
96360
96360
  if (call && (_typeof$6(call) === "object" || typeof call === "function")) {
96361
96361
  return call;
96362
96362
  }
96363
- return _assertThisInitialized$6(self2);
96363
+ return _assertThisInitialized$5(self2);
96364
96364
  }
96365
- function _assertThisInitialized$6(self2) {
96365
+ function _assertThisInitialized$5(self2) {
96366
96366
  if (self2 === void 0) {
96367
96367
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
96368
96368
  }
@@ -96395,14 +96395,14 @@ function _inherits$4(subClass, superClass) {
96395
96395
  }
96396
96396
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
96397
96397
  if (superClass)
96398
- _setPrototypeOf$6(subClass, superClass);
96398
+ _setPrototypeOf$5(subClass, superClass);
96399
96399
  }
96400
- function _setPrototypeOf$6(o2, p) {
96401
- _setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96400
+ function _setPrototypeOf$5(o2, p) {
96401
+ _setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96402
96402
  o3.__proto__ = p2;
96403
96403
  return o3;
96404
96404
  };
96405
- return _setPrototypeOf$6(o2, p);
96405
+ return _setPrototypeOf$5(o2, p);
96406
96406
  }
96407
96407
  var ViewMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
96408
96408
  _inherits$4(ViewMode2, _GeoJsonEditMode);
@@ -96511,9 +96511,9 @@ function _possibleConstructorReturn$3(self2, call) {
96511
96511
  if (call && (_typeof$5(call) === "object" || typeof call === "function")) {
96512
96512
  return call;
96513
96513
  }
96514
- return _assertThisInitialized$5(self2);
96514
+ return _assertThisInitialized$4(self2);
96515
96515
  }
96516
- function _assertThisInitialized$5(self2) {
96516
+ function _assertThisInitialized$4(self2) {
96517
96517
  if (self2 === void 0) {
96518
96518
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
96519
96519
  }
@@ -96546,14 +96546,14 @@ function _inherits$3(subClass, superClass) {
96546
96546
  }
96547
96547
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
96548
96548
  if (superClass)
96549
- _setPrototypeOf$5(subClass, superClass);
96549
+ _setPrototypeOf$4(subClass, superClass);
96550
96550
  }
96551
- function _setPrototypeOf$5(o2, p) {
96552
- _setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96551
+ function _setPrototypeOf$4(o2, p) {
96552
+ _setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96553
96553
  o3.__proto__ = p2;
96554
96554
  return o3;
96555
96555
  };
96556
- return _setPrototypeOf$5(o2, p);
96556
+ return _setPrototypeOf$4(o2, p);
96557
96557
  }
96558
96558
  function _defineProperty$3(obj, key, value) {
96559
96559
  if (key in obj) {
@@ -96573,10 +96573,10 @@ var MeasureDistanceMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
96573
96573
  args[_key] = arguments[_key];
96574
96574
  }
96575
96575
  _this = _super.call.apply(_super, [this].concat(args));
96576
- _defineProperty$3(_assertThisInitialized$5(_this), "_isMeasuringSessionFinished", false);
96577
- _defineProperty$3(_assertThisInitialized$5(_this), "_currentTooltips", []);
96578
- _defineProperty$3(_assertThisInitialized$5(_this), "_currentDistance", 0);
96579
- _defineProperty$3(_assertThisInitialized$5(_this), "_calculateDistanceForTooltip", function(_ref) {
96576
+ _defineProperty$3(_assertThisInitialized$4(_this), "_isMeasuringSessionFinished", false);
96577
+ _defineProperty$3(_assertThisInitialized$4(_this), "_currentTooltips", []);
96578
+ _defineProperty$3(_assertThisInitialized$4(_this), "_currentDistance", 0);
96579
+ _defineProperty$3(_assertThisInitialized$4(_this), "_calculateDistanceForTooltip", function(_ref) {
96580
96580
  var positionA = _ref.positionA, positionB = _ref.positionB, modeConfig = _ref.modeConfig;
96581
96581
  var _ref2 = modeConfig || {}, turfOptions = _ref2.turfOptions, measurementCallback = _ref2.measurementCallback;
96582
96582
  var distance2 = (0, _distance["default"])(positionA, positionB, turfOptions);
@@ -96933,9 +96933,9 @@ function _possibleConstructorReturn$2(self2, call) {
96933
96933
  if (call && (_typeof$4(call) === "object" || typeof call === "function")) {
96934
96934
  return call;
96935
96935
  }
96936
- return _assertThisInitialized$4(self2);
96936
+ return _assertThisInitialized$3(self2);
96937
96937
  }
96938
- function _assertThisInitialized$4(self2) {
96938
+ function _assertThisInitialized$3(self2) {
96939
96939
  if (self2 === void 0) {
96940
96940
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
96941
96941
  }
@@ -96968,14 +96968,14 @@ function _inherits$2(subClass, superClass) {
96968
96968
  }
96969
96969
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
96970
96970
  if (superClass)
96971
- _setPrototypeOf$4(subClass, superClass);
96971
+ _setPrototypeOf$3(subClass, superClass);
96972
96972
  }
96973
- function _setPrototypeOf$4(o2, p) {
96974
- _setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96973
+ function _setPrototypeOf$3(o2, p) {
96974
+ _setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
96975
96975
  o3.__proto__ = p2;
96976
96976
  return o3;
96977
96977
  };
96978
- return _setPrototypeOf$4(o2, p);
96978
+ return _setPrototypeOf$3(o2, p);
96979
96979
  }
96980
96980
  var DEFAULT_TOOLTIPS$1 = [];
96981
96981
  var MeasureAreaMode = /* @__PURE__ */ function(_DrawPolygonMode) {
@@ -97162,9 +97162,9 @@ function _possibleConstructorReturn$1(self2, call) {
97162
97162
  if (call && (_typeof$3(call) === "object" || typeof call === "function")) {
97163
97163
  return call;
97164
97164
  }
97165
- return _assertThisInitialized$3(self2);
97165
+ return _assertThisInitialized$2(self2);
97166
97166
  }
97167
- function _assertThisInitialized$3(self2) {
97167
+ function _assertThisInitialized$2(self2) {
97168
97168
  if (self2 === void 0) {
97169
97169
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
97170
97170
  }
@@ -97197,14 +97197,14 @@ function _inherits$1(subClass, superClass) {
97197
97197
  }
97198
97198
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
97199
97199
  if (superClass)
97200
- _setPrototypeOf$3(subClass, superClass);
97200
+ _setPrototypeOf$2(subClass, superClass);
97201
97201
  }
97202
- function _setPrototypeOf$3(o2, p) {
97203
- _setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
97202
+ function _setPrototypeOf$2(o2, p) {
97203
+ _setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
97204
97204
  o3.__proto__ = p2;
97205
97205
  return o3;
97206
97206
  };
97207
- return _setPrototypeOf$3(o2, p);
97207
+ return _setPrototypeOf$2(o2, p);
97208
97208
  }
97209
97209
  function _defineProperty$1(obj, key, value) {
97210
97210
  if (key in obj) {
@@ -97225,7 +97225,7 @@ var MeasureAngleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
97225
97225
  args[_key] = arguments[_key];
97226
97226
  }
97227
97227
  _this = _super.call.apply(_super, [this].concat(args));
97228
- _defineProperty$1(_assertThisInitialized$3(_this), "_getTooltips", (0, _memoize["default"])(function(_ref) {
97228
+ _defineProperty$1(_assertThisInitialized$2(_this), "_getTooltips", (0, _memoize["default"])(function(_ref) {
97229
97229
  var modeConfig = _ref.modeConfig, vertex = _ref.vertex, point1 = _ref.point1, point2 = _ref.point2;
97230
97230
  var tooltips = DEFAULT_TOOLTIPS;
97231
97231
  if (vertex && point1 && point2) {
@@ -97499,9 +97499,9 @@ function _possibleConstructorReturn(self2, call) {
97499
97499
  if (call && (_typeof$2(call) === "object" || typeof call === "function")) {
97500
97500
  return call;
97501
97501
  }
97502
- return _assertThisInitialized$2(self2);
97502
+ return _assertThisInitialized$1(self2);
97503
97503
  }
97504
- function _assertThisInitialized$2(self2) {
97504
+ function _assertThisInitialized$1(self2) {
97505
97505
  if (self2 === void 0) {
97506
97506
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
97507
97507
  }
@@ -97534,14 +97534,14 @@ function _inherits(subClass, superClass) {
97534
97534
  }
97535
97535
  subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
97536
97536
  if (superClass)
97537
- _setPrototypeOf$2(subClass, superClass);
97537
+ _setPrototypeOf$1(subClass, superClass);
97538
97538
  }
97539
- function _setPrototypeOf$2(o2, p) {
97540
- _setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
97539
+ function _setPrototypeOf$1(o2, p) {
97540
+ _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
97541
97541
  o3.__proto__ = p2;
97542
97542
  return o3;
97543
97543
  };
97544
- return _setPrototypeOf$2(o2, p);
97544
+ return _setPrototypeOf$1(o2, p);
97545
97545
  }
97546
97546
  function _defineProperty(obj, key, value) {
97547
97547
  if (key in obj) {
@@ -97558,7 +97558,7 @@ var SnappableMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
97558
97558
  var _this;
97559
97559
  _classCallCheck(this, SnappableMode2);
97560
97560
  _this = _super.call(this);
97561
- _defineProperty(_assertThisInitialized$2(_this), "_handler", void 0);
97561
+ _defineProperty(_assertThisInitialized$1(_this), "_handler", void 0);
97562
97562
  _this._handler = handler;
97563
97563
  return _this;
97564
97564
  }
@@ -103660,7 +103660,8 @@ const AXIS_TITLE_TEXT_SIZE = 15;
103660
103660
  const AXIS_MARGIN = 3;
103661
103661
  const THEME_TO_TEXT_COLOR = {
103662
103662
  dark: [224, 224, 224],
103663
- light: [64, 64, 64]
103663
+ light: [64, 64, 64],
103664
+ light2: [64, 64, 64]
103664
103665
  };
103665
103666
  const AXIS_FONT_FAMILY = "-apple-system, 'Helvetica Neue', Arial, sans-serif";
103666
103667
  const PIXELATED_TEXTURE_PARAMETERS = {
@@ -104764,16 +104765,16 @@ function addDecoder(cases, importFn) {
104764
104765
  }
104765
104766
  cases.forEach((c2) => registry$1.set(c2, importFn));
104766
104767
  }
104767
- addDecoder([void 0, 1], () => import("./raw-49fc55eb.js").then((m2) => m2.default));
104768
- addDecoder(5, () => import("./lzw-b4cd83f4.js").then((m2) => m2.default));
104768
+ addDecoder([void 0, 1], () => import("./raw-fc2d907b.js").then((m2) => m2.default));
104769
+ addDecoder(5, () => import("./lzw-eee0f4ba.js").then((m2) => m2.default));
104769
104770
  addDecoder(6, () => {
104770
104771
  throw new Error("old style JPEG compression is not supported.");
104771
104772
  });
104772
- addDecoder(7, () => import("./jpeg-58016a69.js").then((m2) => m2.default));
104773
- addDecoder([8, 32946], () => import("./deflate-6648ad3a.js").then((m2) => m2.default));
104774
- addDecoder(32773, () => import("./packbits-cef9cbbc.js").then((m2) => m2.default));
104775
- addDecoder(34887, () => import("./lerc-1041e73a.js").then((m2) => m2.default));
104776
- addDecoder(50001, () => import("./webimage-f062cec3.js").then((m2) => m2.default));
104773
+ addDecoder(7, () => import("./jpeg-fbf98ea3.js").then((m2) => m2.default));
104774
+ addDecoder([8, 32946], () => import("./deflate-a5971832.js").then((m2) => m2.default));
104775
+ addDecoder(32773, () => import("./packbits-591ffe73.js").then((m2) => m2.default));
104776
+ addDecoder(34887, () => import("./lerc-32d3d23a.js").then((m2) => m2.default));
104777
+ addDecoder(50001, () => import("./webimage-e8a123ef.js").then((m2) => m2.default));
104777
104778
  function decodeRowAcc(row, stride) {
104778
104779
  let length2 = row.length - stride;
104779
104780
  let offset5 = 0;
@@ -115582,371 +115583,6 @@ let BitmaskLayer$1 = class BitmaskLayer extends XRLayer {
115582
115583
  };
115583
115584
  BitmaskLayer$1.layerName = "BitmaskLayer";
115584
115585
  BitmaskLayer$1.defaultProps = defaultProps$2;
115585
- var pluralize = { exports: {} };
115586
- (function(module2, exports) {
115587
- (function(root2, pluralize2) {
115588
- if (typeof commonjsRequire === "function" && true && true) {
115589
- module2.exports = pluralize2();
115590
- } else {
115591
- root2.pluralize = pluralize2();
115592
- }
115593
- })(commonjsGlobal, function() {
115594
- var pluralRules = [];
115595
- var singularRules = [];
115596
- var uncountables = {};
115597
- var irregularPlurals = {};
115598
- var irregularSingles = {};
115599
- function sanitizeRule(rule) {
115600
- if (typeof rule === "string") {
115601
- return new RegExp("^" + rule + "$", "i");
115602
- }
115603
- return rule;
115604
- }
115605
- function restoreCase(word, token) {
115606
- if (word === token)
115607
- return token;
115608
- if (word === word.toLowerCase())
115609
- return token.toLowerCase();
115610
- if (word === word.toUpperCase())
115611
- return token.toUpperCase();
115612
- if (word[0] === word[0].toUpperCase()) {
115613
- return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
115614
- }
115615
- return token.toLowerCase();
115616
- }
115617
- function interpolate2(str, args) {
115618
- return str.replace(/\$(\d{1,2})/g, function(match, index2) {
115619
- return args[index2] || "";
115620
- });
115621
- }
115622
- function replace(word, rule) {
115623
- return word.replace(rule[0], function(match, index2) {
115624
- var result = interpolate2(rule[1], arguments);
115625
- if (match === "") {
115626
- return restoreCase(word[index2 - 1], result);
115627
- }
115628
- return restoreCase(match, result);
115629
- });
115630
- }
115631
- function sanitizeWord(token, word, rules) {
115632
- if (!token.length || uncountables.hasOwnProperty(token)) {
115633
- return word;
115634
- }
115635
- var len2 = rules.length;
115636
- while (len2--) {
115637
- var rule = rules[len2];
115638
- if (rule[0].test(word))
115639
- return replace(word, rule);
115640
- }
115641
- return word;
115642
- }
115643
- function replaceWord(replaceMap, keepMap, rules) {
115644
- return function(word) {
115645
- var token = word.toLowerCase();
115646
- if (keepMap.hasOwnProperty(token)) {
115647
- return restoreCase(word, token);
115648
- }
115649
- if (replaceMap.hasOwnProperty(token)) {
115650
- return restoreCase(word, replaceMap[token]);
115651
- }
115652
- return sanitizeWord(token, word, rules);
115653
- };
115654
- }
115655
- function checkWord(replaceMap, keepMap, rules, bool) {
115656
- return function(word) {
115657
- var token = word.toLowerCase();
115658
- if (keepMap.hasOwnProperty(token))
115659
- return true;
115660
- if (replaceMap.hasOwnProperty(token))
115661
- return false;
115662
- return sanitizeWord(token, token, rules) === token;
115663
- };
115664
- }
115665
- function pluralize2(word, count2, inclusive) {
115666
- var pluralized = count2 === 1 ? pluralize2.singular(word) : pluralize2.plural(word);
115667
- return (inclusive ? count2 + " " : "") + pluralized;
115668
- }
115669
- pluralize2.plural = replaceWord(
115670
- irregularSingles,
115671
- irregularPlurals,
115672
- pluralRules
115673
- );
115674
- pluralize2.isPlural = checkWord(
115675
- irregularSingles,
115676
- irregularPlurals,
115677
- pluralRules
115678
- );
115679
- pluralize2.singular = replaceWord(
115680
- irregularPlurals,
115681
- irregularSingles,
115682
- singularRules
115683
- );
115684
- pluralize2.isSingular = checkWord(
115685
- irregularPlurals,
115686
- irregularSingles,
115687
- singularRules
115688
- );
115689
- pluralize2.addPluralRule = function(rule, replacement) {
115690
- pluralRules.push([sanitizeRule(rule), replacement]);
115691
- };
115692
- pluralize2.addSingularRule = function(rule, replacement) {
115693
- singularRules.push([sanitizeRule(rule), replacement]);
115694
- };
115695
- pluralize2.addUncountableRule = function(word) {
115696
- if (typeof word === "string") {
115697
- uncountables[word.toLowerCase()] = true;
115698
- return;
115699
- }
115700
- pluralize2.addPluralRule(word, "$0");
115701
- pluralize2.addSingularRule(word, "$0");
115702
- };
115703
- pluralize2.addIrregularRule = function(single, plural) {
115704
- plural = plural.toLowerCase();
115705
- single = single.toLowerCase();
115706
- irregularSingles[single] = plural;
115707
- irregularPlurals[plural] = single;
115708
- };
115709
- [
115710
- // Pronouns.
115711
- ["I", "we"],
115712
- ["me", "us"],
115713
- ["he", "they"],
115714
- ["she", "they"],
115715
- ["them", "them"],
115716
- ["myself", "ourselves"],
115717
- ["yourself", "yourselves"],
115718
- ["itself", "themselves"],
115719
- ["herself", "themselves"],
115720
- ["himself", "themselves"],
115721
- ["themself", "themselves"],
115722
- ["is", "are"],
115723
- ["was", "were"],
115724
- ["has", "have"],
115725
- ["this", "these"],
115726
- ["that", "those"],
115727
- // Words ending in with a consonant and `o`.
115728
- ["echo", "echoes"],
115729
- ["dingo", "dingoes"],
115730
- ["volcano", "volcanoes"],
115731
- ["tornado", "tornadoes"],
115732
- ["torpedo", "torpedoes"],
115733
- // Ends with `us`.
115734
- ["genus", "genera"],
115735
- ["viscus", "viscera"],
115736
- // Ends with `ma`.
115737
- ["stigma", "stigmata"],
115738
- ["stoma", "stomata"],
115739
- ["dogma", "dogmata"],
115740
- ["lemma", "lemmata"],
115741
- ["schema", "schemata"],
115742
- ["anathema", "anathemata"],
115743
- // Other irregular rules.
115744
- ["ox", "oxen"],
115745
- ["axe", "axes"],
115746
- ["die", "dice"],
115747
- ["yes", "yeses"],
115748
- ["foot", "feet"],
115749
- ["eave", "eaves"],
115750
- ["goose", "geese"],
115751
- ["tooth", "teeth"],
115752
- ["quiz", "quizzes"],
115753
- ["human", "humans"],
115754
- ["proof", "proofs"],
115755
- ["carve", "carves"],
115756
- ["valve", "valves"],
115757
- ["looey", "looies"],
115758
- ["thief", "thieves"],
115759
- ["groove", "grooves"],
115760
- ["pickaxe", "pickaxes"],
115761
- ["passerby", "passersby"]
115762
- ].forEach(function(rule) {
115763
- return pluralize2.addIrregularRule(rule[0], rule[1]);
115764
- });
115765
- [
115766
- [/s?$/i, "s"],
115767
- [/[^\u0000-\u007F]$/i, "$0"],
115768
- [/([^aeiou]ese)$/i, "$1"],
115769
- [/(ax|test)is$/i, "$1es"],
115770
- [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, "$1es"],
115771
- [/(e[mn]u)s?$/i, "$1s"],
115772
- [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, "$1"],
115773
- [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1i"],
115774
- [/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"],
115775
- [/(seraph|cherub)(?:im)?$/i, "$1im"],
115776
- [/(her|at|gr)o$/i, "$1oes"],
115777
- [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, "$1a"],
115778
- [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, "$1a"],
115779
- [/sis$/i, "ses"],
115780
- [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"],
115781
- [/([^aeiouy]|qu)y$/i, "$1ies"],
115782
- [/([^ch][ieo][ln])ey$/i, "$1ies"],
115783
- [/(x|ch|ss|sh|zz)$/i, "$1es"],
115784
- [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"],
115785
- [/\b((?:tit)?m|l)(?:ice|ouse)$/i, "$1ice"],
115786
- [/(pe)(?:rson|ople)$/i, "$1ople"],
115787
- [/(child)(?:ren)?$/i, "$1ren"],
115788
- [/eaux$/i, "$0"],
115789
- [/m[ae]n$/i, "men"],
115790
- ["thou", "you"]
115791
- ].forEach(function(rule) {
115792
- return pluralize2.addPluralRule(rule[0], rule[1]);
115793
- });
115794
- [
115795
- [/s$/i, ""],
115796
- [/(ss)$/i, "$1"],
115797
- [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, "$1fe"],
115798
- [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"],
115799
- [/ies$/i, "y"],
115800
- [/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, "$1ie"],
115801
- [/\b(mon|smil)ies$/i, "$1ey"],
115802
- [/\b((?:tit)?m|l)ice$/i, "$1ouse"],
115803
- [/(seraph|cherub)im$/i, "$1"],
115804
- [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, "$1"],
115805
- [/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, "$1sis"],
115806
- [/(movie|twelve|abuse|e[mn]u)s$/i, "$1"],
115807
- [/(test)(?:is|es)$/i, "$1is"],
115808
- [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1us"],
115809
- [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, "$1um"],
115810
- [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, "$1on"],
115811
- [/(alumn|alg|vertebr)ae$/i, "$1a"],
115812
- [/(cod|mur|sil|vert|ind)ices$/i, "$1ex"],
115813
- [/(matr|append)ices$/i, "$1ix"],
115814
- [/(pe)(rson|ople)$/i, "$1rson"],
115815
- [/(child)ren$/i, "$1"],
115816
- [/(eau)x?$/i, "$1"],
115817
- [/men$/i, "man"]
115818
- ].forEach(function(rule) {
115819
- return pluralize2.addSingularRule(rule[0], rule[1]);
115820
- });
115821
- [
115822
- // Singular words with no plurals.
115823
- "adulthood",
115824
- "advice",
115825
- "agenda",
115826
- "aid",
115827
- "aircraft",
115828
- "alcohol",
115829
- "ammo",
115830
- "analytics",
115831
- "anime",
115832
- "athletics",
115833
- "audio",
115834
- "bison",
115835
- "blood",
115836
- "bream",
115837
- "buffalo",
115838
- "butter",
115839
- "carp",
115840
- "cash",
115841
- "chassis",
115842
- "chess",
115843
- "clothing",
115844
- "cod",
115845
- "commerce",
115846
- "cooperation",
115847
- "corps",
115848
- "debris",
115849
- "diabetes",
115850
- "digestion",
115851
- "elk",
115852
- "energy",
115853
- "equipment",
115854
- "excretion",
115855
- "expertise",
115856
- "firmware",
115857
- "flounder",
115858
- "fun",
115859
- "gallows",
115860
- "garbage",
115861
- "graffiti",
115862
- "hardware",
115863
- "headquarters",
115864
- "health",
115865
- "herpes",
115866
- "highjinks",
115867
- "homework",
115868
- "housework",
115869
- "information",
115870
- "jeans",
115871
- "justice",
115872
- "kudos",
115873
- "labour",
115874
- "literature",
115875
- "machinery",
115876
- "mackerel",
115877
- "mail",
115878
- "media",
115879
- "mews",
115880
- "moose",
115881
- "music",
115882
- "mud",
115883
- "manga",
115884
- "news",
115885
- "only",
115886
- "personnel",
115887
- "pike",
115888
- "plankton",
115889
- "pliers",
115890
- "police",
115891
- "pollution",
115892
- "premises",
115893
- "rain",
115894
- "research",
115895
- "rice",
115896
- "salmon",
115897
- "scissors",
115898
- "series",
115899
- "sewage",
115900
- "shambles",
115901
- "shrimp",
115902
- "software",
115903
- "species",
115904
- "staff",
115905
- "swine",
115906
- "tennis",
115907
- "traffic",
115908
- "transportation",
115909
- "trout",
115910
- "tuna",
115911
- "wealth",
115912
- "welfare",
115913
- "whiting",
115914
- "wildebeest",
115915
- "wildlife",
115916
- "you",
115917
- /pok[eé]mon$/i,
115918
- // Regexes.
115919
- /[^aeiou]ese$/i,
115920
- // "chinese", "japanese"
115921
- /deer$/i,
115922
- // "deer", "reindeer"
115923
- /fish$/i,
115924
- // "fish", "blowfish", "angelfish"
115925
- /measles$/i,
115926
- /o[iu]s$/i,
115927
- // "carnivorous"
115928
- /pox$/i,
115929
- // "chickpox", "smallpox"
115930
- /sheep$/i
115931
- ].forEach(pluralize2.addUncountableRule);
115932
- return pluralize2;
115933
- });
115934
- })(pluralize);
115935
- var pluralizeExports = pluralize.exports;
115936
- const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
115937
- plur.addPluralRule("glomerulus", "glomeruli");
115938
- plur.addPluralRule("interstitium", "interstitia");
115939
- function fromEntries(iterable) {
115940
- return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
115941
- }
115942
- function capitalize$1(word) {
115943
- return word ? word.charAt(0).toUpperCase() + word.slice(1) : "";
115944
- }
115945
- const DEFAULT_DARK_COLOR = [50, 50, 50];
115946
- const DEFAULT_LIGHT_COLOR = [200, 200, 200];
115947
- function getDefaultColor(theme) {
115948
- return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR;
115949
- }
115950
115586
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
115951
115587
  const freeGlobal$1 = freeGlobal;
115952
115588
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
@@ -116706,7 +116342,7 @@ class BitmaskLayer2 extends XRLayer {
116706
116342
  } = this.state;
116707
116343
  if (textures && model) {
116708
116344
  const scaleFactor = 1 / 2 ** (maxZoom - zoom);
116709
- const colors = fromEntries(range$1(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
116345
+ const colors = Object.fromEntries(range$1(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
116710
116346
  model.setUniforms(Object.assign({}, uniforms, {
116711
116347
  ...colors,
116712
116348
  // Bitmask image channel data textures
@@ -116857,6 +116493,368 @@ class BitmaskLayer2 extends XRLayer {
116857
116493
  }
116858
116494
  BitmaskLayer2.layerName = "BitmaskLayer";
116859
116495
  BitmaskLayer2.defaultProps = defaultProps$1;
116496
+ var pluralize = { exports: {} };
116497
+ (function(module2, exports) {
116498
+ (function(root2, pluralize2) {
116499
+ if (typeof commonjsRequire === "function" && true && true) {
116500
+ module2.exports = pluralize2();
116501
+ } else {
116502
+ root2.pluralize = pluralize2();
116503
+ }
116504
+ })(commonjsGlobal, function() {
116505
+ var pluralRules = [];
116506
+ var singularRules = [];
116507
+ var uncountables = {};
116508
+ var irregularPlurals = {};
116509
+ var irregularSingles = {};
116510
+ function sanitizeRule(rule) {
116511
+ if (typeof rule === "string") {
116512
+ return new RegExp("^" + rule + "$", "i");
116513
+ }
116514
+ return rule;
116515
+ }
116516
+ function restoreCase(word, token) {
116517
+ if (word === token)
116518
+ return token;
116519
+ if (word === word.toLowerCase())
116520
+ return token.toLowerCase();
116521
+ if (word === word.toUpperCase())
116522
+ return token.toUpperCase();
116523
+ if (word[0] === word[0].toUpperCase()) {
116524
+ return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
116525
+ }
116526
+ return token.toLowerCase();
116527
+ }
116528
+ function interpolate2(str, args) {
116529
+ return str.replace(/\$(\d{1,2})/g, function(match, index2) {
116530
+ return args[index2] || "";
116531
+ });
116532
+ }
116533
+ function replace(word, rule) {
116534
+ return word.replace(rule[0], function(match, index2) {
116535
+ var result = interpolate2(rule[1], arguments);
116536
+ if (match === "") {
116537
+ return restoreCase(word[index2 - 1], result);
116538
+ }
116539
+ return restoreCase(match, result);
116540
+ });
116541
+ }
116542
+ function sanitizeWord(token, word, rules) {
116543
+ if (!token.length || uncountables.hasOwnProperty(token)) {
116544
+ return word;
116545
+ }
116546
+ var len2 = rules.length;
116547
+ while (len2--) {
116548
+ var rule = rules[len2];
116549
+ if (rule[0].test(word))
116550
+ return replace(word, rule);
116551
+ }
116552
+ return word;
116553
+ }
116554
+ function replaceWord(replaceMap, keepMap, rules) {
116555
+ return function(word) {
116556
+ var token = word.toLowerCase();
116557
+ if (keepMap.hasOwnProperty(token)) {
116558
+ return restoreCase(word, token);
116559
+ }
116560
+ if (replaceMap.hasOwnProperty(token)) {
116561
+ return restoreCase(word, replaceMap[token]);
116562
+ }
116563
+ return sanitizeWord(token, word, rules);
116564
+ };
116565
+ }
116566
+ function checkWord(replaceMap, keepMap, rules, bool) {
116567
+ return function(word) {
116568
+ var token = word.toLowerCase();
116569
+ if (keepMap.hasOwnProperty(token))
116570
+ return true;
116571
+ if (replaceMap.hasOwnProperty(token))
116572
+ return false;
116573
+ return sanitizeWord(token, token, rules) === token;
116574
+ };
116575
+ }
116576
+ function pluralize2(word, count2, inclusive) {
116577
+ var pluralized = count2 === 1 ? pluralize2.singular(word) : pluralize2.plural(word);
116578
+ return (inclusive ? count2 + " " : "") + pluralized;
116579
+ }
116580
+ pluralize2.plural = replaceWord(
116581
+ irregularSingles,
116582
+ irregularPlurals,
116583
+ pluralRules
116584
+ );
116585
+ pluralize2.isPlural = checkWord(
116586
+ irregularSingles,
116587
+ irregularPlurals,
116588
+ pluralRules
116589
+ );
116590
+ pluralize2.singular = replaceWord(
116591
+ irregularPlurals,
116592
+ irregularSingles,
116593
+ singularRules
116594
+ );
116595
+ pluralize2.isSingular = checkWord(
116596
+ irregularPlurals,
116597
+ irregularSingles,
116598
+ singularRules
116599
+ );
116600
+ pluralize2.addPluralRule = function(rule, replacement) {
116601
+ pluralRules.push([sanitizeRule(rule), replacement]);
116602
+ };
116603
+ pluralize2.addSingularRule = function(rule, replacement) {
116604
+ singularRules.push([sanitizeRule(rule), replacement]);
116605
+ };
116606
+ pluralize2.addUncountableRule = function(word) {
116607
+ if (typeof word === "string") {
116608
+ uncountables[word.toLowerCase()] = true;
116609
+ return;
116610
+ }
116611
+ pluralize2.addPluralRule(word, "$0");
116612
+ pluralize2.addSingularRule(word, "$0");
116613
+ };
116614
+ pluralize2.addIrregularRule = function(single, plural) {
116615
+ plural = plural.toLowerCase();
116616
+ single = single.toLowerCase();
116617
+ irregularSingles[single] = plural;
116618
+ irregularPlurals[plural] = single;
116619
+ };
116620
+ [
116621
+ // Pronouns.
116622
+ ["I", "we"],
116623
+ ["me", "us"],
116624
+ ["he", "they"],
116625
+ ["she", "they"],
116626
+ ["them", "them"],
116627
+ ["myself", "ourselves"],
116628
+ ["yourself", "yourselves"],
116629
+ ["itself", "themselves"],
116630
+ ["herself", "themselves"],
116631
+ ["himself", "themselves"],
116632
+ ["themself", "themselves"],
116633
+ ["is", "are"],
116634
+ ["was", "were"],
116635
+ ["has", "have"],
116636
+ ["this", "these"],
116637
+ ["that", "those"],
116638
+ // Words ending in with a consonant and `o`.
116639
+ ["echo", "echoes"],
116640
+ ["dingo", "dingoes"],
116641
+ ["volcano", "volcanoes"],
116642
+ ["tornado", "tornadoes"],
116643
+ ["torpedo", "torpedoes"],
116644
+ // Ends with `us`.
116645
+ ["genus", "genera"],
116646
+ ["viscus", "viscera"],
116647
+ // Ends with `ma`.
116648
+ ["stigma", "stigmata"],
116649
+ ["stoma", "stomata"],
116650
+ ["dogma", "dogmata"],
116651
+ ["lemma", "lemmata"],
116652
+ ["schema", "schemata"],
116653
+ ["anathema", "anathemata"],
116654
+ // Other irregular rules.
116655
+ ["ox", "oxen"],
116656
+ ["axe", "axes"],
116657
+ ["die", "dice"],
116658
+ ["yes", "yeses"],
116659
+ ["foot", "feet"],
116660
+ ["eave", "eaves"],
116661
+ ["goose", "geese"],
116662
+ ["tooth", "teeth"],
116663
+ ["quiz", "quizzes"],
116664
+ ["human", "humans"],
116665
+ ["proof", "proofs"],
116666
+ ["carve", "carves"],
116667
+ ["valve", "valves"],
116668
+ ["looey", "looies"],
116669
+ ["thief", "thieves"],
116670
+ ["groove", "grooves"],
116671
+ ["pickaxe", "pickaxes"],
116672
+ ["passerby", "passersby"]
116673
+ ].forEach(function(rule) {
116674
+ return pluralize2.addIrregularRule(rule[0], rule[1]);
116675
+ });
116676
+ [
116677
+ [/s?$/i, "s"],
116678
+ [/[^\u0000-\u007F]$/i, "$0"],
116679
+ [/([^aeiou]ese)$/i, "$1"],
116680
+ [/(ax|test)is$/i, "$1es"],
116681
+ [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, "$1es"],
116682
+ [/(e[mn]u)s?$/i, "$1s"],
116683
+ [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, "$1"],
116684
+ [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1i"],
116685
+ [/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"],
116686
+ [/(seraph|cherub)(?:im)?$/i, "$1im"],
116687
+ [/(her|at|gr)o$/i, "$1oes"],
116688
+ [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, "$1a"],
116689
+ [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, "$1a"],
116690
+ [/sis$/i, "ses"],
116691
+ [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"],
116692
+ [/([^aeiouy]|qu)y$/i, "$1ies"],
116693
+ [/([^ch][ieo][ln])ey$/i, "$1ies"],
116694
+ [/(x|ch|ss|sh|zz)$/i, "$1es"],
116695
+ [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"],
116696
+ [/\b((?:tit)?m|l)(?:ice|ouse)$/i, "$1ice"],
116697
+ [/(pe)(?:rson|ople)$/i, "$1ople"],
116698
+ [/(child)(?:ren)?$/i, "$1ren"],
116699
+ [/eaux$/i, "$0"],
116700
+ [/m[ae]n$/i, "men"],
116701
+ ["thou", "you"]
116702
+ ].forEach(function(rule) {
116703
+ return pluralize2.addPluralRule(rule[0], rule[1]);
116704
+ });
116705
+ [
116706
+ [/s$/i, ""],
116707
+ [/(ss)$/i, "$1"],
116708
+ [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, "$1fe"],
116709
+ [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"],
116710
+ [/ies$/i, "y"],
116711
+ [/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, "$1ie"],
116712
+ [/\b(mon|smil)ies$/i, "$1ey"],
116713
+ [/\b((?:tit)?m|l)ice$/i, "$1ouse"],
116714
+ [/(seraph|cherub)im$/i, "$1"],
116715
+ [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, "$1"],
116716
+ [/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, "$1sis"],
116717
+ [/(movie|twelve|abuse|e[mn]u)s$/i, "$1"],
116718
+ [/(test)(?:is|es)$/i, "$1is"],
116719
+ [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1us"],
116720
+ [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, "$1um"],
116721
+ [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, "$1on"],
116722
+ [/(alumn|alg|vertebr)ae$/i, "$1a"],
116723
+ [/(cod|mur|sil|vert|ind)ices$/i, "$1ex"],
116724
+ [/(matr|append)ices$/i, "$1ix"],
116725
+ [/(pe)(rson|ople)$/i, "$1rson"],
116726
+ [/(child)ren$/i, "$1"],
116727
+ [/(eau)x?$/i, "$1"],
116728
+ [/men$/i, "man"]
116729
+ ].forEach(function(rule) {
116730
+ return pluralize2.addSingularRule(rule[0], rule[1]);
116731
+ });
116732
+ [
116733
+ // Singular words with no plurals.
116734
+ "adulthood",
116735
+ "advice",
116736
+ "agenda",
116737
+ "aid",
116738
+ "aircraft",
116739
+ "alcohol",
116740
+ "ammo",
116741
+ "analytics",
116742
+ "anime",
116743
+ "athletics",
116744
+ "audio",
116745
+ "bison",
116746
+ "blood",
116747
+ "bream",
116748
+ "buffalo",
116749
+ "butter",
116750
+ "carp",
116751
+ "cash",
116752
+ "chassis",
116753
+ "chess",
116754
+ "clothing",
116755
+ "cod",
116756
+ "commerce",
116757
+ "cooperation",
116758
+ "corps",
116759
+ "debris",
116760
+ "diabetes",
116761
+ "digestion",
116762
+ "elk",
116763
+ "energy",
116764
+ "equipment",
116765
+ "excretion",
116766
+ "expertise",
116767
+ "firmware",
116768
+ "flounder",
116769
+ "fun",
116770
+ "gallows",
116771
+ "garbage",
116772
+ "graffiti",
116773
+ "hardware",
116774
+ "headquarters",
116775
+ "health",
116776
+ "herpes",
116777
+ "highjinks",
116778
+ "homework",
116779
+ "housework",
116780
+ "information",
116781
+ "jeans",
116782
+ "justice",
116783
+ "kudos",
116784
+ "labour",
116785
+ "literature",
116786
+ "machinery",
116787
+ "mackerel",
116788
+ "mail",
116789
+ "media",
116790
+ "mews",
116791
+ "moose",
116792
+ "music",
116793
+ "mud",
116794
+ "manga",
116795
+ "news",
116796
+ "only",
116797
+ "personnel",
116798
+ "pike",
116799
+ "plankton",
116800
+ "pliers",
116801
+ "police",
116802
+ "pollution",
116803
+ "premises",
116804
+ "rain",
116805
+ "research",
116806
+ "rice",
116807
+ "salmon",
116808
+ "scissors",
116809
+ "series",
116810
+ "sewage",
116811
+ "shambles",
116812
+ "shrimp",
116813
+ "software",
116814
+ "species",
116815
+ "staff",
116816
+ "swine",
116817
+ "tennis",
116818
+ "traffic",
116819
+ "transportation",
116820
+ "trout",
116821
+ "tuna",
116822
+ "wealth",
116823
+ "welfare",
116824
+ "whiting",
116825
+ "wildebeest",
116826
+ "wildlife",
116827
+ "you",
116828
+ /pok[eé]mon$/i,
116829
+ // Regexes.
116830
+ /[^aeiou]ese$/i,
116831
+ // "chinese", "japanese"
116832
+ /deer$/i,
116833
+ // "deer", "reindeer"
116834
+ /fish$/i,
116835
+ // "fish", "blowfish", "angelfish"
116836
+ /measles$/i,
116837
+ /o[iu]s$/i,
116838
+ // "carnivorous"
116839
+ /pox$/i,
116840
+ // "chickpox", "smallpox"
116841
+ /sheep$/i
116842
+ ].forEach(pluralize2.addUncountableRule);
116843
+ return pluralize2;
116844
+ });
116845
+ })(pluralize);
116846
+ var pluralizeExports = pluralize.exports;
116847
+ const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
116848
+ plur.addPluralRule("glomerulus", "glomeruli");
116849
+ plur.addPluralRule("interstitium", "interstitia");
116850
+ function capitalize$1(word) {
116851
+ return word ? word.charAt(0).toUpperCase() + word.slice(1) : "";
116852
+ }
116853
+ const DEFAULT_DARK_COLOR = [50, 50, 50];
116854
+ const DEFAULT_LIGHT_COLOR = [200, 200, 200];
116855
+ function getDefaultColor(theme) {
116856
+ return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR;
116857
+ }
116860
116858
  function r(e2) {
116861
116859
  var t, f2, n2 = "";
116862
116860
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -118957,19 +118955,19 @@ function _createClass(Constructor, protoProps, staticProps) {
118957
118955
  });
118958
118956
  return Constructor;
118959
118957
  }
118960
- function _setPrototypeOf$1(o2, p) {
118961
- _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
118958
+ function _setPrototypeOf(o2, p) {
118959
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
118962
118960
  o3.__proto__ = p2;
118963
118961
  return o3;
118964
118962
  };
118965
- return _setPrototypeOf$1(o2, p);
118963
+ return _setPrototypeOf(o2, p);
118966
118964
  }
118967
- function _inheritsLoose$1(subClass, superClass) {
118965
+ function _inheritsLoose(subClass, superClass) {
118968
118966
  subClass.prototype = Object.create(superClass.prototype);
118969
118967
  subClass.prototype.constructor = subClass;
118970
- _setPrototypeOf$1(subClass, superClass);
118968
+ _setPrototypeOf(subClass, superClass);
118971
118969
  }
118972
- function _assertThisInitialized$1(self2) {
118970
+ function _assertThisInitialized(self2) {
118973
118971
  if (self2 === void 0) {
118974
118972
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
118975
118973
  }
@@ -119176,7 +119174,7 @@ var BaseStyleRule = /* @__PURE__ */ function() {
119176
119174
  return BaseStyleRule2;
119177
119175
  }();
119178
119176
  var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
119179
- _inheritsLoose$1(StyleRule2, _BaseStyleRule);
119177
+ _inheritsLoose(StyleRule2, _BaseStyleRule);
119180
119178
  function StyleRule2(key, style, options) {
119181
119179
  var _this;
119182
119180
  _this = _BaseStyleRule.call(this, key, style, options) || this;
@@ -119184,7 +119182,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
119184
119182
  if (selector) {
119185
119183
  _this.selectorText = selector;
119186
119184
  } else if (scoped !== false) {
119187
- _this.id = generateId(_assertThisInitialized$1(_assertThisInitialized$1(_this)), sheet);
119185
+ _this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);
119188
119186
  _this.selectorText = "." + escape(_this.id);
119189
119187
  }
119190
119188
  return _this;
@@ -119414,7 +119412,7 @@ var pluginKeyframesRule = {
119414
119412
  }
119415
119413
  };
119416
119414
  var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
119417
- _inheritsLoose$1(KeyframeRule2, _BaseStyleRule);
119415
+ _inheritsLoose(KeyframeRule2, _BaseStyleRule);
119418
119416
  function KeyframeRule2() {
119419
119417
  return _BaseStyleRule.apply(this, arguments) || this;
119420
119418
  }
@@ -122326,25 +122324,7 @@ function useIsFocusVisible() {
122326
122324
  ref
122327
122325
  };
122328
122326
  }
122329
- function _setPrototypeOf(o2, p) {
122330
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
122331
- o3.__proto__ = p2;
122332
- return o3;
122333
- };
122334
- return _setPrototypeOf(o2, p);
122335
- }
122336
- function _inheritsLoose(subClass, superClass) {
122337
- subClass.prototype = Object.create(superClass.prototype);
122338
- subClass.prototype.constructor = subClass;
122339
- _setPrototypeOf(subClass, superClass);
122340
- }
122341
122327
  const TransitionGroupContext = React__default.createContext(null);
122342
- function _assertThisInitialized(self2) {
122343
- if (self2 === void 0) {
122344
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
122345
- }
122346
- return self2;
122347
- }
122348
122328
  function getChildMapping(children, mapFn) {
122349
122329
  var mapper = function mapper2(child) {
122350
122330
  return mapFn && isValidElement(child) ? mapFn(child) : child;
@@ -122493,7 +122473,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
122493
122473
  }
122494
122474
  if (this.mounted) {
122495
122475
  this.setState(function(state) {
122496
- var children = _extends$1({}, state.children);
122476
+ var children = _extends$2({}, state.children);
122497
122477
  delete children[child.key];
122498
122478
  return {
122499
122479
  children
@@ -122502,7 +122482,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
122502
122482
  }
122503
122483
  };
122504
122484
  _proto.render = function render() {
122505
- var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose$1(_this$props, ["component", "childFactory"]);
122485
+ var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
122506
122486
  var contextValue = this.state.contextValue;
122507
122487
  var children = values(this.state.children).map(childFactory2);
122508
122488
  delete props2.appear;
@@ -127534,10 +127514,13 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
127534
127514
  y: p.centroid[1],
127535
127515
  label: p.name
127536
127516
  }));
127537
- const collisionForce = this.cellSetsForceSimulation.size((d) => [
127538
- cellSetLabelSize * 1 / 2 ** zoom * 4 * d.label.length,
127539
- cellSetLabelSize * 1 / 2 ** zoom * 1.5
127540
- ]);
127517
+ const collisionForce = this.cellSetsForceSimulation.size((d) => {
127518
+ var _a2;
127519
+ return [
127520
+ cellSetLabelSize * 1 / 2 ** zoom * 4 * ((_a2 = d == null ? void 0 : d.label) == null ? void 0 : _a2.length),
127521
+ cellSetLabelSize * 1 / 2 ** zoom * 1.5
127522
+ ];
127523
+ });
127541
127524
  forceSimulation().nodes(nodes).force("collision", collisionForce).tick(NUM_FORCE_SIMULATION_TICKS);
127542
127525
  result.push(new TextLayer({
127543
127526
  id: "cell-sets-text-layer",