@vitessce/scatterplot-embedding 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.
- package/dist/{deflate-143b7b76.js → deflate-ace56a0e.js} +1 -1
- package/dist/{index-82a0ed1f.js → index-84e77b55.js} +248 -261
- package/dist/index.js +1 -1
- package/dist/{jpeg-bf9fd2bf.js → jpeg-be45146d.js} +1 -1
- package/dist/{lerc-fd829a7c.js → lerc-9cd3178c.js} +1 -1
- package/dist/{lzw-5ee876a5.js → lzw-c9ffecd4.js} +1 -1
- package/dist/{packbits-11e46ecd.js → packbits-53dbd890.js} +1 -1
- package/dist/{raw-e09dceaf.js → raw-0c07377d.js} +1 -1
- package/dist/{webimage-9fafb50a.js → webimage-d32ef5d0.js} +1 -1
- package/package.json +7 -7
|
@@ -4417,9 +4417,6 @@ var pluralizeExports = pluralize$1.exports;
|
|
|
4417
4417
|
const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
|
|
4418
4418
|
plur.addPluralRule("glomerulus", "glomeruli");
|
|
4419
4419
|
plur.addPluralRule("interstitium", "interstitia");
|
|
4420
|
-
function fromEntries(iterable) {
|
|
4421
|
-
return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
|
|
4422
|
-
}
|
|
4423
4420
|
function commaNumber(n2) {
|
|
4424
4421
|
const nf = new Intl.NumberFormat("en-US");
|
|
4425
4422
|
return nf.format(n2);
|
|
@@ -11048,6 +11045,7 @@ const FileType$1 = {
|
|
|
11048
11045
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
11049
11046
|
// AnnData
|
|
11050
11047
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
11048
|
+
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
11051
11049
|
OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
|
|
11052
11050
|
OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
|
|
11053
11051
|
OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
|
|
@@ -11774,7 +11772,7 @@ function configSchemaToVersion(zodSchema) {
|
|
|
11774
11772
|
return zodSchema.shape.version._def.value;
|
|
11775
11773
|
}
|
|
11776
11774
|
({
|
|
11777
|
-
...fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
|
|
11775
|
+
...Object.fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
|
|
11778
11776
|
const version2 = configSchemaToVersion(zodSchema);
|
|
11779
11777
|
return [version2, zodSchema];
|
|
11780
11778
|
})),
|
|
@@ -11850,6 +11848,9 @@ const annDataObsSets = z.array(z.object({
|
|
|
11850
11848
|
]),
|
|
11851
11849
|
scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
|
|
11852
11850
|
}));
|
|
11851
|
+
z.array(z.object({
|
|
11852
|
+
path: z.string()
|
|
11853
|
+
}));
|
|
11853
11854
|
const annDataObsSpots = annDataObsm;
|
|
11854
11855
|
const annDataObsPoints = annDataObsm;
|
|
11855
11856
|
const annDataObsLocations = annDataObsm;
|
|
@@ -106163,9 +106164,9 @@ function _possibleConstructorReturn$u(self2, call) {
|
|
|
106163
106164
|
if (call && (_typeof$w(call) === "object" || typeof call === "function")) {
|
|
106164
106165
|
return call;
|
|
106165
106166
|
}
|
|
106166
|
-
return _assertThisInitialized$
|
|
106167
|
+
return _assertThisInitialized$v(self2);
|
|
106167
106168
|
}
|
|
106168
|
-
function _assertThisInitialized$
|
|
106169
|
+
function _assertThisInitialized$v(self2) {
|
|
106169
106170
|
if (self2 === void 0) {
|
|
106170
106171
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
106171
106172
|
}
|
|
@@ -106198,14 +106199,14 @@ function _inherits$u(subClass, superClass) {
|
|
|
106198
106199
|
}
|
|
106199
106200
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
106200
106201
|
if (superClass)
|
|
106201
|
-
_setPrototypeOf$
|
|
106202
|
+
_setPrototypeOf$v(subClass, superClass);
|
|
106202
106203
|
}
|
|
106203
|
-
function _setPrototypeOf$
|
|
106204
|
-
_setPrototypeOf$
|
|
106204
|
+
function _setPrototypeOf$v(o2, p) {
|
|
106205
|
+
_setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
106205
106206
|
o3.__proto__ = p2;
|
|
106206
106207
|
return o3;
|
|
106207
106208
|
};
|
|
106208
|
-
return _setPrototypeOf$
|
|
106209
|
+
return _setPrototypeOf$v(o2, p);
|
|
106209
106210
|
}
|
|
106210
106211
|
var ModifyMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
106211
106212
|
_inherits$u(ModifyMode2, _GeoJsonEditMode);
|
|
@@ -106605,9 +106606,9 @@ function _possibleConstructorReturn$t(self2, call) {
|
|
|
106605
106606
|
if (call && (_typeof$v(call) === "object" || typeof call === "function")) {
|
|
106606
106607
|
return call;
|
|
106607
106608
|
}
|
|
106608
|
-
return _assertThisInitialized$
|
|
106609
|
+
return _assertThisInitialized$u(self2);
|
|
106609
106610
|
}
|
|
106610
|
-
function _assertThisInitialized$
|
|
106611
|
+
function _assertThisInitialized$u(self2) {
|
|
106611
106612
|
if (self2 === void 0) {
|
|
106612
106613
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
106613
106614
|
}
|
|
@@ -106640,14 +106641,14 @@ function _inherits$t(subClass, superClass) {
|
|
|
106640
106641
|
}
|
|
106641
106642
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
106642
106643
|
if (superClass)
|
|
106643
|
-
_setPrototypeOf$
|
|
106644
|
+
_setPrototypeOf$u(subClass, superClass);
|
|
106644
106645
|
}
|
|
106645
|
-
function _setPrototypeOf$
|
|
106646
|
-
_setPrototypeOf$
|
|
106646
|
+
function _setPrototypeOf$u(o2, p) {
|
|
106647
|
+
_setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
106647
106648
|
o3.__proto__ = p2;
|
|
106648
106649
|
return o3;
|
|
106649
106650
|
};
|
|
106650
|
-
return _setPrototypeOf$
|
|
106651
|
+
return _setPrototypeOf$u(o2, p);
|
|
106651
106652
|
}
|
|
106652
106653
|
function _defineProperty$b(obj, key, value) {
|
|
106653
106654
|
if (key in obj) {
|
|
@@ -106667,8 +106668,8 @@ var ResizeCircleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
106667
106668
|
args[_key] = arguments[_key];
|
|
106668
106669
|
}
|
|
106669
106670
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
106670
|
-
_defineProperty$b(_assertThisInitialized$
|
|
106671
|
-
_defineProperty$b(_assertThisInitialized$
|
|
106671
|
+
_defineProperty$b(_assertThisInitialized$u(_this), "_selectedEditHandle", void 0);
|
|
106672
|
+
_defineProperty$b(_assertThisInitialized$u(_this), "_isResizing", false);
|
|
106672
106673
|
return _this;
|
|
106673
106674
|
}
|
|
106674
106675
|
_createClass$t(ResizeCircleMode2, [{
|
|
@@ -106957,9 +106958,9 @@ function _possibleConstructorReturn$s(self2, call) {
|
|
|
106957
106958
|
if (call && (_typeof$u(call) === "object" || typeof call === "function")) {
|
|
106958
106959
|
return call;
|
|
106959
106960
|
}
|
|
106960
|
-
return _assertThisInitialized$
|
|
106961
|
+
return _assertThisInitialized$t(self2);
|
|
106961
106962
|
}
|
|
106962
|
-
function _assertThisInitialized$
|
|
106963
|
+
function _assertThisInitialized$t(self2) {
|
|
106963
106964
|
if (self2 === void 0) {
|
|
106964
106965
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
106965
106966
|
}
|
|
@@ -106992,14 +106993,14 @@ function _inherits$s(subClass, superClass) {
|
|
|
106992
106993
|
}
|
|
106993
106994
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
106994
106995
|
if (superClass)
|
|
106995
|
-
_setPrototypeOf$
|
|
106996
|
+
_setPrototypeOf$t(subClass, superClass);
|
|
106996
106997
|
}
|
|
106997
|
-
function _setPrototypeOf$
|
|
106998
|
-
_setPrototypeOf$
|
|
106998
|
+
function _setPrototypeOf$t(o2, p) {
|
|
106999
|
+
_setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
106999
107000
|
o3.__proto__ = p2;
|
|
107000
107001
|
return o3;
|
|
107001
107002
|
};
|
|
107002
|
-
return _setPrototypeOf$
|
|
107003
|
+
return _setPrototypeOf$t(o2, p);
|
|
107003
107004
|
}
|
|
107004
107005
|
function _defineProperty$a(obj, key, value) {
|
|
107005
107006
|
if (key in obj) {
|
|
@@ -107019,8 +107020,8 @@ var TranslateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107019
107020
|
args[_key] = arguments[_key];
|
|
107020
107021
|
}
|
|
107021
107022
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
107022
|
-
_defineProperty$a(_assertThisInitialized$
|
|
107023
|
-
_defineProperty$a(_assertThisInitialized$
|
|
107023
|
+
_defineProperty$a(_assertThisInitialized$t(_this), "_geometryBeforeTranslate", void 0);
|
|
107024
|
+
_defineProperty$a(_assertThisInitialized$t(_this), "_isTranslatable", void 0);
|
|
107024
107025
|
return _this;
|
|
107025
107026
|
}
|
|
107026
107027
|
_createClass$s(TranslateMode2, [{
|
|
@@ -107420,9 +107421,9 @@ function _possibleConstructorReturn$r(self2, call) {
|
|
|
107420
107421
|
if (call && (_typeof$t(call) === "object" || typeof call === "function")) {
|
|
107421
107422
|
return call;
|
|
107422
107423
|
}
|
|
107423
|
-
return _assertThisInitialized$
|
|
107424
|
+
return _assertThisInitialized$s(self2);
|
|
107424
107425
|
}
|
|
107425
|
-
function _assertThisInitialized$
|
|
107426
|
+
function _assertThisInitialized$s(self2) {
|
|
107426
107427
|
if (self2 === void 0) {
|
|
107427
107428
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
107428
107429
|
}
|
|
@@ -107455,14 +107456,14 @@ function _inherits$r(subClass, superClass) {
|
|
|
107455
107456
|
}
|
|
107456
107457
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
107457
107458
|
if (superClass)
|
|
107458
|
-
_setPrototypeOf$
|
|
107459
|
+
_setPrototypeOf$s(subClass, superClass);
|
|
107459
107460
|
}
|
|
107460
|
-
function _setPrototypeOf$
|
|
107461
|
-
_setPrototypeOf$
|
|
107461
|
+
function _setPrototypeOf$s(o2, p) {
|
|
107462
|
+
_setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
107462
107463
|
o3.__proto__ = p2;
|
|
107463
107464
|
return o3;
|
|
107464
107465
|
};
|
|
107465
|
-
return _setPrototypeOf$
|
|
107466
|
+
return _setPrototypeOf$s(o2, p);
|
|
107466
107467
|
}
|
|
107467
107468
|
function _defineProperty$9(obj, key, value) {
|
|
107468
107469
|
if (key in obj) {
|
|
@@ -107482,12 +107483,12 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107482
107483
|
args[_key] = arguments[_key];
|
|
107483
107484
|
}
|
|
107484
107485
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
107485
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107486
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107487
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107488
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107489
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107490
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107486
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_geometryBeingScaled", void 0);
|
|
107487
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_selectedEditHandle", void 0);
|
|
107488
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_cornerGuidePoints", void 0);
|
|
107489
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_cursor", void 0);
|
|
107490
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_isScaling", false);
|
|
107491
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_isSinglePointGeometrySelected", function(geometry2) {
|
|
107491
107492
|
var _ref = geometry2 || {}, features = _ref.features;
|
|
107492
107493
|
if (Array.isArray(features) && features.length === 1) {
|
|
107493
107494
|
var _getGeom = (0, _invariant$1.getGeom)(features[0]), type = _getGeom.type;
|
|
@@ -107495,7 +107496,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107495
107496
|
}
|
|
107496
107497
|
return false;
|
|
107497
107498
|
});
|
|
107498
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107499
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_getOppositeScaleHandle", function(selectedHandle) {
|
|
107499
107500
|
var selectedHandleIndex = selectedHandle && selectedHandle.properties && Array.isArray(selectedHandle.properties.positionIndexes) && selectedHandle.properties.positionIndexes[0];
|
|
107500
107501
|
if (typeof selectedHandleIndex !== "number") {
|
|
107501
107502
|
return null;
|
|
@@ -107509,7 +107510,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107509
107510
|
return p.properties.positionIndexes[0] === oppositeIndex;
|
|
107510
107511
|
});
|
|
107511
107512
|
});
|
|
107512
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107513
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_getUpdatedData", function(props2, editedData) {
|
|
107513
107514
|
var updatedData = new _immutableFeatureCollection$4.ImmutableFeatureCollection(props2.data);
|
|
107514
107515
|
var selectedIndexes = props2.selectedIndexes;
|
|
107515
107516
|
for (var i2 = 0; i2 < selectedIndexes.length; i2++) {
|
|
@@ -107519,10 +107520,10 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107519
107520
|
}
|
|
107520
107521
|
return updatedData.getObject();
|
|
107521
107522
|
});
|
|
107522
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107523
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "isEditHandleSelected", function() {
|
|
107523
107524
|
return Boolean(_this._selectedEditHandle);
|
|
107524
107525
|
});
|
|
107525
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107526
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "getScaleAction", function(startDragPoint, currentPoint, editType, props2) {
|
|
107526
107527
|
if (!_this._selectedEditHandle) {
|
|
107527
107528
|
return null;
|
|
107528
107529
|
}
|
|
@@ -107545,7 +107546,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107545
107546
|
}
|
|
107546
107547
|
};
|
|
107547
107548
|
});
|
|
107548
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107549
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "updateCursor", function(props2) {
|
|
107549
107550
|
if (_this._selectedEditHandle) {
|
|
107550
107551
|
if (_this._cursor) {
|
|
107551
107552
|
props2.onUpdateCursor(_this._cursor);
|
|
@@ -107769,9 +107770,9 @@ function _possibleConstructorReturn$q(self2, call) {
|
|
|
107769
107770
|
if (call && (_typeof$s(call) === "object" || typeof call === "function")) {
|
|
107770
107771
|
return call;
|
|
107771
107772
|
}
|
|
107772
|
-
return _assertThisInitialized$
|
|
107773
|
+
return _assertThisInitialized$r(self2);
|
|
107773
107774
|
}
|
|
107774
|
-
function _assertThisInitialized$
|
|
107775
|
+
function _assertThisInitialized$r(self2) {
|
|
107775
107776
|
if (self2 === void 0) {
|
|
107776
107777
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
107777
107778
|
}
|
|
@@ -107804,14 +107805,14 @@ function _inherits$q(subClass, superClass) {
|
|
|
107804
107805
|
}
|
|
107805
107806
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
107806
107807
|
if (superClass)
|
|
107807
|
-
_setPrototypeOf$
|
|
107808
|
+
_setPrototypeOf$r(subClass, superClass);
|
|
107808
107809
|
}
|
|
107809
|
-
function _setPrototypeOf$
|
|
107810
|
-
_setPrototypeOf$
|
|
107810
|
+
function _setPrototypeOf$r(o2, p) {
|
|
107811
|
+
_setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
107811
107812
|
o3.__proto__ = p2;
|
|
107812
107813
|
return o3;
|
|
107813
107814
|
};
|
|
107814
|
-
return _setPrototypeOf$
|
|
107815
|
+
return _setPrototypeOf$r(o2, p);
|
|
107815
107816
|
}
|
|
107816
107817
|
function _defineProperty$8(obj, key, value) {
|
|
107817
107818
|
if (key in obj) {
|
|
@@ -107831,10 +107832,10 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107831
107832
|
args[_key] = arguments[_key];
|
|
107832
107833
|
}
|
|
107833
107834
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
107834
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107835
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107836
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107837
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107835
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_selectedEditHandle", void 0);
|
|
107836
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_geometryBeingRotated", void 0);
|
|
107837
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_isRotating", false);
|
|
107838
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_isSinglePointGeometrySelected", function(geometry2) {
|
|
107838
107839
|
var _ref = geometry2 || {}, features = _ref.features;
|
|
107839
107840
|
if (Array.isArray(features) && features.length === 1) {
|
|
107840
107841
|
var _getGeom = (0, _invariant.getGeom)(features[0]), type = _getGeom.type;
|
|
@@ -107842,7 +107843,7 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107842
107843
|
}
|
|
107843
107844
|
return false;
|
|
107844
107845
|
});
|
|
107845
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107846
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "getIsRotating", function() {
|
|
107846
107847
|
return _this._isRotating;
|
|
107847
107848
|
});
|
|
107848
107849
|
return _this;
|
|
@@ -108063,9 +108064,9 @@ function _possibleConstructorReturn$p(self2, call) {
|
|
|
108063
108064
|
if (call && (_typeof$r(call) === "object" || typeof call === "function")) {
|
|
108064
108065
|
return call;
|
|
108065
108066
|
}
|
|
108066
|
-
return _assertThisInitialized$
|
|
108067
|
+
return _assertThisInitialized$q(self2);
|
|
108067
108068
|
}
|
|
108068
|
-
function _assertThisInitialized$
|
|
108069
|
+
function _assertThisInitialized$q(self2) {
|
|
108069
108070
|
if (self2 === void 0) {
|
|
108070
108071
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108071
108072
|
}
|
|
@@ -108098,14 +108099,14 @@ function _inherits$p(subClass, superClass) {
|
|
|
108098
108099
|
}
|
|
108099
108100
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108100
108101
|
if (superClass)
|
|
108101
|
-
_setPrototypeOf$
|
|
108102
|
+
_setPrototypeOf$q(subClass, superClass);
|
|
108102
108103
|
}
|
|
108103
|
-
function _setPrototypeOf$
|
|
108104
|
-
_setPrototypeOf$
|
|
108104
|
+
function _setPrototypeOf$q(o2, p) {
|
|
108105
|
+
_setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108105
108106
|
o3.__proto__ = p2;
|
|
108106
108107
|
return o3;
|
|
108107
108108
|
};
|
|
108108
|
-
return _setPrototypeOf$
|
|
108109
|
+
return _setPrototypeOf$q(o2, p);
|
|
108109
108110
|
}
|
|
108110
108111
|
var DuplicateMode = /* @__PURE__ */ function(_TranslateMode) {
|
|
108111
108112
|
_inherits$p(DuplicateMode2, _TranslateMode);
|
|
@@ -108193,9 +108194,9 @@ function _possibleConstructorReturn$o(self2, call) {
|
|
|
108193
108194
|
if (call && (_typeof$q(call) === "object" || typeof call === "function")) {
|
|
108194
108195
|
return call;
|
|
108195
108196
|
}
|
|
108196
|
-
return _assertThisInitialized$
|
|
108197
|
+
return _assertThisInitialized$p(self2);
|
|
108197
108198
|
}
|
|
108198
|
-
function _assertThisInitialized$
|
|
108199
|
+
function _assertThisInitialized$p(self2) {
|
|
108199
108200
|
if (self2 === void 0) {
|
|
108200
108201
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108201
108202
|
}
|
|
@@ -108228,14 +108229,14 @@ function _inherits$o(subClass, superClass) {
|
|
|
108228
108229
|
}
|
|
108229
108230
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108230
108231
|
if (superClass)
|
|
108231
|
-
_setPrototypeOf$
|
|
108232
|
+
_setPrototypeOf$p(subClass, superClass);
|
|
108232
108233
|
}
|
|
108233
|
-
function _setPrototypeOf$
|
|
108234
|
-
_setPrototypeOf$
|
|
108234
|
+
function _setPrototypeOf$p(o2, p) {
|
|
108235
|
+
_setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108235
108236
|
o3.__proto__ = p2;
|
|
108236
108237
|
return o3;
|
|
108237
108238
|
};
|
|
108238
|
-
return _setPrototypeOf$
|
|
108239
|
+
return _setPrototypeOf$p(o2, p);
|
|
108239
108240
|
}
|
|
108240
108241
|
var ExtendLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
108241
108242
|
_inherits$o(ExtendLineStringMode2, _GeoJsonEditMode);
|
|
@@ -108609,9 +108610,9 @@ function _possibleConstructorReturn$n(self2, call) {
|
|
|
108609
108610
|
if (call && (_typeof$p(call) === "object" || typeof call === "function")) {
|
|
108610
108611
|
return call;
|
|
108611
108612
|
}
|
|
108612
|
-
return _assertThisInitialized$
|
|
108613
|
+
return _assertThisInitialized$o(self2);
|
|
108613
108614
|
}
|
|
108614
|
-
function _assertThisInitialized$
|
|
108615
|
+
function _assertThisInitialized$o(self2) {
|
|
108615
108616
|
if (self2 === void 0) {
|
|
108616
108617
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108617
108618
|
}
|
|
@@ -108644,14 +108645,14 @@ function _inherits$n(subClass, superClass) {
|
|
|
108644
108645
|
}
|
|
108645
108646
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108646
108647
|
if (superClass)
|
|
108647
|
-
_setPrototypeOf$
|
|
108648
|
+
_setPrototypeOf$o(subClass, superClass);
|
|
108648
108649
|
}
|
|
108649
|
-
function _setPrototypeOf$
|
|
108650
|
-
_setPrototypeOf$
|
|
108650
|
+
function _setPrototypeOf$o(o2, p) {
|
|
108651
|
+
_setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108651
108652
|
o3.__proto__ = p2;
|
|
108652
108653
|
return o3;
|
|
108653
108654
|
};
|
|
108654
|
-
return _setPrototypeOf$
|
|
108655
|
+
return _setPrototypeOf$o(o2, p);
|
|
108655
108656
|
}
|
|
108656
108657
|
var SplitPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
108657
108658
|
_inherits$n(SplitPolygonMode2, _GeoJsonEditMode);
|
|
@@ -108944,9 +108945,9 @@ function _possibleConstructorReturn$m(self2, call) {
|
|
|
108944
108945
|
if (call && (_typeof$o(call) === "object" || typeof call === "function")) {
|
|
108945
108946
|
return call;
|
|
108946
108947
|
}
|
|
108947
|
-
return _assertThisInitialized$
|
|
108948
|
+
return _assertThisInitialized$n(self2);
|
|
108948
108949
|
}
|
|
108949
|
-
function _assertThisInitialized$
|
|
108950
|
+
function _assertThisInitialized$n(self2) {
|
|
108950
108951
|
if (self2 === void 0) {
|
|
108951
108952
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108952
108953
|
}
|
|
@@ -108979,14 +108980,14 @@ function _inherits$m(subClass, superClass) {
|
|
|
108979
108980
|
}
|
|
108980
108981
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108981
108982
|
if (superClass)
|
|
108982
|
-
_setPrototypeOf$
|
|
108983
|
+
_setPrototypeOf$n(subClass, superClass);
|
|
108983
108984
|
}
|
|
108984
|
-
function _setPrototypeOf$
|
|
108985
|
-
_setPrototypeOf$
|
|
108985
|
+
function _setPrototypeOf$n(o2, p) {
|
|
108986
|
+
_setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108986
108987
|
o3.__proto__ = p2;
|
|
108987
108988
|
return o3;
|
|
108988
108989
|
};
|
|
108989
|
-
return _setPrototypeOf$
|
|
108990
|
+
return _setPrototypeOf$n(o2, p);
|
|
108990
108991
|
}
|
|
108991
108992
|
function _defineProperty$7(obj, key, value) {
|
|
108992
108993
|
if (key in obj) {
|
|
@@ -109006,7 +109007,7 @@ var ExtrudeMode = /* @__PURE__ */ function(_ModifyMode) {
|
|
|
109006
109007
|
args[_key] = arguments[_key];
|
|
109007
109008
|
}
|
|
109008
109009
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
109009
|
-
_defineProperty$7(_assertThisInitialized$
|
|
109010
|
+
_defineProperty$7(_assertThisInitialized$n(_this), "isPointAdded", false);
|
|
109010
109011
|
return _this;
|
|
109011
109012
|
}
|
|
109012
109013
|
_createClass$m(ExtrudeMode2, [{
|
|
@@ -109275,9 +109276,9 @@ function _possibleConstructorReturn$l(self2, call) {
|
|
|
109275
109276
|
if (call && (_typeof$n(call) === "object" || typeof call === "function")) {
|
|
109276
109277
|
return call;
|
|
109277
109278
|
}
|
|
109278
|
-
return _assertThisInitialized$
|
|
109279
|
+
return _assertThisInitialized$m(self2);
|
|
109279
109280
|
}
|
|
109280
|
-
function _assertThisInitialized$
|
|
109281
|
+
function _assertThisInitialized$m(self2) {
|
|
109281
109282
|
if (self2 === void 0) {
|
|
109282
109283
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109283
109284
|
}
|
|
@@ -109310,14 +109311,14 @@ function _inherits$l(subClass, superClass) {
|
|
|
109310
109311
|
}
|
|
109311
109312
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109312
109313
|
if (superClass)
|
|
109313
|
-
_setPrototypeOf$
|
|
109314
|
+
_setPrototypeOf$m(subClass, superClass);
|
|
109314
109315
|
}
|
|
109315
|
-
function _setPrototypeOf$
|
|
109316
|
-
_setPrototypeOf$
|
|
109316
|
+
function _setPrototypeOf$m(o2, p) {
|
|
109317
|
+
_setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109317
109318
|
o3.__proto__ = p2;
|
|
109318
109319
|
return o3;
|
|
109319
109320
|
};
|
|
109320
|
-
return _setPrototypeOf$
|
|
109321
|
+
return _setPrototypeOf$m(o2, p);
|
|
109321
109322
|
}
|
|
109322
109323
|
function defaultCalculateElevationChange(_ref) {
|
|
109323
109324
|
var pointerDownScreenCoords = _ref.pointerDownScreenCoords, screenCoords = _ref.screenCoords;
|
|
@@ -109511,9 +109512,9 @@ function _possibleConstructorReturn$k(self2, call) {
|
|
|
109511
109512
|
if (call && (_typeof$m(call) === "object" || typeof call === "function")) {
|
|
109512
109513
|
return call;
|
|
109513
109514
|
}
|
|
109514
|
-
return _assertThisInitialized$
|
|
109515
|
+
return _assertThisInitialized$l(self2);
|
|
109515
109516
|
}
|
|
109516
|
-
function _assertThisInitialized$
|
|
109517
|
+
function _assertThisInitialized$l(self2) {
|
|
109517
109518
|
if (self2 === void 0) {
|
|
109518
109519
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109519
109520
|
}
|
|
@@ -109546,14 +109547,14 @@ function _inherits$k(subClass, superClass) {
|
|
|
109546
109547
|
}
|
|
109547
109548
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109548
109549
|
if (superClass)
|
|
109549
|
-
_setPrototypeOf$
|
|
109550
|
+
_setPrototypeOf$l(subClass, superClass);
|
|
109550
109551
|
}
|
|
109551
|
-
function _setPrototypeOf$
|
|
109552
|
-
_setPrototypeOf$
|
|
109552
|
+
function _setPrototypeOf$l(o2, p) {
|
|
109553
|
+
_setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109553
109554
|
o3.__proto__ = p2;
|
|
109554
109555
|
return o3;
|
|
109555
109556
|
};
|
|
109556
|
-
return _setPrototypeOf$
|
|
109557
|
+
return _setPrototypeOf$l(o2, p);
|
|
109557
109558
|
}
|
|
109558
109559
|
function _defineProperty$6(obj, key, value) {
|
|
109559
109560
|
if (key in obj) {
|
|
@@ -109570,7 +109571,7 @@ var CompositeMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
109570
109571
|
var _this;
|
|
109571
109572
|
_classCallCheck$k(this, CompositeMode2);
|
|
109572
109573
|
_this = _super.call(this);
|
|
109573
|
-
_defineProperty$6(_assertThisInitialized$
|
|
109574
|
+
_defineProperty$6(_assertThisInitialized$l(_this), "_modes", void 0);
|
|
109574
109575
|
_this._modes = modes;
|
|
109575
109576
|
return _this;
|
|
109576
109577
|
}
|
|
@@ -109768,9 +109769,9 @@ function _possibleConstructorReturn$j(self2, call) {
|
|
|
109768
109769
|
if (call && (_typeof$l(call) === "object" || typeof call === "function")) {
|
|
109769
109770
|
return call;
|
|
109770
109771
|
}
|
|
109771
|
-
return _assertThisInitialized$
|
|
109772
|
+
return _assertThisInitialized$k(self2);
|
|
109772
109773
|
}
|
|
109773
|
-
function _assertThisInitialized$
|
|
109774
|
+
function _assertThisInitialized$k(self2) {
|
|
109774
109775
|
if (self2 === void 0) {
|
|
109775
109776
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109776
109777
|
}
|
|
@@ -109803,14 +109804,14 @@ function _inherits$j(subClass, superClass) {
|
|
|
109803
109804
|
}
|
|
109804
109805
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109805
109806
|
if (superClass)
|
|
109806
|
-
_setPrototypeOf$
|
|
109807
|
+
_setPrototypeOf$k(subClass, superClass);
|
|
109807
109808
|
}
|
|
109808
|
-
function _setPrototypeOf$
|
|
109809
|
-
_setPrototypeOf$
|
|
109809
|
+
function _setPrototypeOf$k(o2, p) {
|
|
109810
|
+
_setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109810
109811
|
o3.__proto__ = p2;
|
|
109811
109812
|
return o3;
|
|
109812
109813
|
};
|
|
109813
|
-
return _setPrototypeOf$
|
|
109814
|
+
return _setPrototypeOf$k(o2, p);
|
|
109814
109815
|
}
|
|
109815
109816
|
var TransformMode = /* @__PURE__ */ function(_CompositeMode) {
|
|
109816
109817
|
_inherits$j(TransformMode2, _CompositeMode);
|
|
@@ -109959,9 +109960,9 @@ function _possibleConstructorReturn$i(self2, call) {
|
|
|
109959
109960
|
if (call && (_typeof$k(call) === "object" || typeof call === "function")) {
|
|
109960
109961
|
return call;
|
|
109961
109962
|
}
|
|
109962
|
-
return _assertThisInitialized$
|
|
109963
|
+
return _assertThisInitialized$j(self2);
|
|
109963
109964
|
}
|
|
109964
|
-
function _assertThisInitialized$
|
|
109965
|
+
function _assertThisInitialized$j(self2) {
|
|
109965
109966
|
if (self2 === void 0) {
|
|
109966
109967
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109967
109968
|
}
|
|
@@ -109994,14 +109995,14 @@ function _inherits$i(subClass, superClass) {
|
|
|
109994
109995
|
}
|
|
109995
109996
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109996
109997
|
if (superClass)
|
|
109997
|
-
_setPrototypeOf$
|
|
109998
|
+
_setPrototypeOf$j(subClass, superClass);
|
|
109998
109999
|
}
|
|
109999
|
-
function _setPrototypeOf$
|
|
110000
|
-
_setPrototypeOf$
|
|
110000
|
+
function _setPrototypeOf$j(o2, p) {
|
|
110001
|
+
_setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110001
110002
|
o3.__proto__ = p2;
|
|
110002
110003
|
return o3;
|
|
110003
110004
|
};
|
|
110004
|
-
return _setPrototypeOf$
|
|
110005
|
+
return _setPrototypeOf$j(o2, p);
|
|
110005
110006
|
}
|
|
110006
110007
|
var DrawPointMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110007
110008
|
_inherits$i(DrawPointMode2, _GeoJsonEditMode);
|
|
@@ -110139,9 +110140,9 @@ function _possibleConstructorReturn$h(self2, call) {
|
|
|
110139
110140
|
if (call && (_typeof$j(call) === "object" || typeof call === "function")) {
|
|
110140
110141
|
return call;
|
|
110141
110142
|
}
|
|
110142
|
-
return _assertThisInitialized$
|
|
110143
|
+
return _assertThisInitialized$i(self2);
|
|
110143
110144
|
}
|
|
110144
|
-
function _assertThisInitialized$
|
|
110145
|
+
function _assertThisInitialized$i(self2) {
|
|
110145
110146
|
if (self2 === void 0) {
|
|
110146
110147
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110147
110148
|
}
|
|
@@ -110174,14 +110175,14 @@ function _inherits$h(subClass, superClass) {
|
|
|
110174
110175
|
}
|
|
110175
110176
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110176
110177
|
if (superClass)
|
|
110177
|
-
_setPrototypeOf$
|
|
110178
|
+
_setPrototypeOf$i(subClass, superClass);
|
|
110178
110179
|
}
|
|
110179
|
-
function _setPrototypeOf$
|
|
110180
|
-
_setPrototypeOf$
|
|
110180
|
+
function _setPrototypeOf$i(o2, p) {
|
|
110181
|
+
_setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110181
110182
|
o3.__proto__ = p2;
|
|
110182
110183
|
return o3;
|
|
110183
110184
|
};
|
|
110184
|
-
return _setPrototypeOf$
|
|
110185
|
+
return _setPrototypeOf$i(o2, p);
|
|
110185
110186
|
}
|
|
110186
110187
|
var DrawLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110187
110188
|
_inherits$h(DrawLineStringMode2, _GeoJsonEditMode);
|
|
@@ -110413,9 +110414,9 @@ function _possibleConstructorReturn$g(self2, call) {
|
|
|
110413
110414
|
if (call && (_typeof$i(call) === "object" || typeof call === "function")) {
|
|
110414
110415
|
return call;
|
|
110415
110416
|
}
|
|
110416
|
-
return _assertThisInitialized$
|
|
110417
|
+
return _assertThisInitialized$h(self2);
|
|
110417
110418
|
}
|
|
110418
|
-
function _assertThisInitialized$
|
|
110419
|
+
function _assertThisInitialized$h(self2) {
|
|
110419
110420
|
if (self2 === void 0) {
|
|
110420
110421
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110421
110422
|
}
|
|
@@ -110448,14 +110449,14 @@ function _inherits$g(subClass, superClass) {
|
|
|
110448
110449
|
}
|
|
110449
110450
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110450
110451
|
if (superClass)
|
|
110451
|
-
_setPrototypeOf$
|
|
110452
|
+
_setPrototypeOf$h(subClass, superClass);
|
|
110452
110453
|
}
|
|
110453
|
-
function _setPrototypeOf$
|
|
110454
|
-
_setPrototypeOf$
|
|
110454
|
+
function _setPrototypeOf$h(o2, p) {
|
|
110455
|
+
_setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110455
110456
|
o3.__proto__ = p2;
|
|
110456
110457
|
return o3;
|
|
110457
110458
|
};
|
|
110458
|
-
return _setPrototypeOf$
|
|
110459
|
+
return _setPrototypeOf$h(o2, p);
|
|
110459
110460
|
}
|
|
110460
110461
|
var DrawPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110461
110462
|
_inherits$g(DrawPolygonMode2, _GeoJsonEditMode);
|
|
@@ -110670,9 +110671,9 @@ function _possibleConstructorReturn$f(self2, call) {
|
|
|
110670
110671
|
if (call && (_typeof$h(call) === "object" || typeof call === "function")) {
|
|
110671
110672
|
return call;
|
|
110672
110673
|
}
|
|
110673
|
-
return _assertThisInitialized$
|
|
110674
|
+
return _assertThisInitialized$g(self2);
|
|
110674
110675
|
}
|
|
110675
|
-
function _assertThisInitialized$
|
|
110676
|
+
function _assertThisInitialized$g(self2) {
|
|
110676
110677
|
if (self2 === void 0) {
|
|
110677
110678
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110678
110679
|
}
|
|
@@ -110705,14 +110706,14 @@ function _inherits$f(subClass, superClass) {
|
|
|
110705
110706
|
}
|
|
110706
110707
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110707
110708
|
if (superClass)
|
|
110708
|
-
_setPrototypeOf$
|
|
110709
|
+
_setPrototypeOf$g(subClass, superClass);
|
|
110709
110710
|
}
|
|
110710
|
-
function _setPrototypeOf$
|
|
110711
|
-
_setPrototypeOf$
|
|
110711
|
+
function _setPrototypeOf$g(o2, p) {
|
|
110712
|
+
_setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110712
110713
|
o3.__proto__ = p2;
|
|
110713
110714
|
return o3;
|
|
110714
110715
|
};
|
|
110715
|
-
return _setPrototypeOf$
|
|
110716
|
+
return _setPrototypeOf$g(o2, p);
|
|
110716
110717
|
}
|
|
110717
110718
|
var TwoClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110718
110719
|
_inherits$f(TwoClickPolygonMode2, _GeoJsonEditMode);
|
|
@@ -110885,9 +110886,9 @@ function _possibleConstructorReturn$e(self2, call) {
|
|
|
110885
110886
|
if (call && (_typeof$g(call) === "object" || typeof call === "function")) {
|
|
110886
110887
|
return call;
|
|
110887
110888
|
}
|
|
110888
|
-
return _assertThisInitialized$
|
|
110889
|
+
return _assertThisInitialized$f(self2);
|
|
110889
110890
|
}
|
|
110890
|
-
function _assertThisInitialized$
|
|
110891
|
+
function _assertThisInitialized$f(self2) {
|
|
110891
110892
|
if (self2 === void 0) {
|
|
110892
110893
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110893
110894
|
}
|
|
@@ -110920,14 +110921,14 @@ function _inherits$e(subClass, superClass) {
|
|
|
110920
110921
|
}
|
|
110921
110922
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110922
110923
|
if (superClass)
|
|
110923
|
-
_setPrototypeOf$
|
|
110924
|
+
_setPrototypeOf$f(subClass, superClass);
|
|
110924
110925
|
}
|
|
110925
|
-
function _setPrototypeOf$
|
|
110926
|
-
_setPrototypeOf$
|
|
110926
|
+
function _setPrototypeOf$f(o2, p) {
|
|
110927
|
+
_setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110927
110928
|
o3.__proto__ = p2;
|
|
110928
110929
|
return o3;
|
|
110929
110930
|
};
|
|
110930
|
-
return _setPrototypeOf$
|
|
110931
|
+
return _setPrototypeOf$f(o2, p);
|
|
110931
110932
|
}
|
|
110932
110933
|
var DrawRectangleMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
110933
110934
|
_inherits$e(DrawRectangleMode2, _TwoClickPolygonMode);
|
|
@@ -111048,9 +111049,9 @@ function _possibleConstructorReturn$d(self2, call) {
|
|
|
111048
111049
|
if (call && (_typeof$f(call) === "object" || typeof call === "function")) {
|
|
111049
111050
|
return call;
|
|
111050
111051
|
}
|
|
111051
|
-
return _assertThisInitialized$
|
|
111052
|
+
return _assertThisInitialized$e(self2);
|
|
111052
111053
|
}
|
|
111053
|
-
function _assertThisInitialized$
|
|
111054
|
+
function _assertThisInitialized$e(self2) {
|
|
111054
111055
|
if (self2 === void 0) {
|
|
111055
111056
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111056
111057
|
}
|
|
@@ -111083,14 +111084,14 @@ function _inherits$d(subClass, superClass) {
|
|
|
111083
111084
|
}
|
|
111084
111085
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111085
111086
|
if (superClass)
|
|
111086
|
-
_setPrototypeOf$
|
|
111087
|
+
_setPrototypeOf$e(subClass, superClass);
|
|
111087
111088
|
}
|
|
111088
|
-
function _setPrototypeOf$
|
|
111089
|
-
_setPrototypeOf$
|
|
111089
|
+
function _setPrototypeOf$e(o2, p) {
|
|
111090
|
+
_setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111090
111091
|
o3.__proto__ = p2;
|
|
111091
111092
|
return o3;
|
|
111092
111093
|
};
|
|
111093
|
-
return _setPrototypeOf$
|
|
111094
|
+
return _setPrototypeOf$e(o2, p);
|
|
111094
111095
|
}
|
|
111095
111096
|
var DrawSquareFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111096
111097
|
_inherits$d(DrawSquareFromCenterMode2, _TwoClickPolygonMode);
|
|
@@ -111185,9 +111186,9 @@ function _possibleConstructorReturn$c(self2, call) {
|
|
|
111185
111186
|
if (call && (_typeof$e(call) === "object" || typeof call === "function")) {
|
|
111186
111187
|
return call;
|
|
111187
111188
|
}
|
|
111188
|
-
return _assertThisInitialized$
|
|
111189
|
+
return _assertThisInitialized$d(self2);
|
|
111189
111190
|
}
|
|
111190
|
-
function _assertThisInitialized$
|
|
111191
|
+
function _assertThisInitialized$d(self2) {
|
|
111191
111192
|
if (self2 === void 0) {
|
|
111192
111193
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111193
111194
|
}
|
|
@@ -111220,14 +111221,14 @@ function _inherits$c(subClass, superClass) {
|
|
|
111220
111221
|
}
|
|
111221
111222
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111222
111223
|
if (superClass)
|
|
111223
|
-
_setPrototypeOf$
|
|
111224
|
+
_setPrototypeOf$d(subClass, superClass);
|
|
111224
111225
|
}
|
|
111225
|
-
function _setPrototypeOf$
|
|
111226
|
-
_setPrototypeOf$
|
|
111226
|
+
function _setPrototypeOf$d(o2, p) {
|
|
111227
|
+
_setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111227
111228
|
o3.__proto__ = p2;
|
|
111228
111229
|
return o3;
|
|
111229
111230
|
};
|
|
111230
|
-
return _setPrototypeOf$
|
|
111231
|
+
return _setPrototypeOf$d(o2, p);
|
|
111231
111232
|
}
|
|
111232
111233
|
var DrawCircleByDiameterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111233
111234
|
_inherits$c(DrawCircleByDiameterMode2, _TwoClickPolygonMode);
|
|
@@ -111320,9 +111321,9 @@ function _possibleConstructorReturn$b(self2, call) {
|
|
|
111320
111321
|
if (call && (_typeof$d(call) === "object" || typeof call === "function")) {
|
|
111321
111322
|
return call;
|
|
111322
111323
|
}
|
|
111323
|
-
return _assertThisInitialized$
|
|
111324
|
+
return _assertThisInitialized$c(self2);
|
|
111324
111325
|
}
|
|
111325
|
-
function _assertThisInitialized$
|
|
111326
|
+
function _assertThisInitialized$c(self2) {
|
|
111326
111327
|
if (self2 === void 0) {
|
|
111327
111328
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111328
111329
|
}
|
|
@@ -111355,14 +111356,14 @@ function _inherits$b(subClass, superClass) {
|
|
|
111355
111356
|
}
|
|
111356
111357
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111357
111358
|
if (superClass)
|
|
111358
|
-
_setPrototypeOf$
|
|
111359
|
+
_setPrototypeOf$c(subClass, superClass);
|
|
111359
111360
|
}
|
|
111360
|
-
function _setPrototypeOf$
|
|
111361
|
-
_setPrototypeOf$
|
|
111361
|
+
function _setPrototypeOf$c(o2, p) {
|
|
111362
|
+
_setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111362
111363
|
o3.__proto__ = p2;
|
|
111363
111364
|
return o3;
|
|
111364
111365
|
};
|
|
111365
|
-
return _setPrototypeOf$
|
|
111366
|
+
return _setPrototypeOf$c(o2, p);
|
|
111366
111367
|
}
|
|
111367
111368
|
var DrawCircleFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111368
111369
|
_inherits$b(DrawCircleFromCenterMode2, _TwoClickPolygonMode);
|
|
@@ -111532,9 +111533,9 @@ function _possibleConstructorReturn$a(self2, call) {
|
|
|
111532
111533
|
if (call && (_typeof$c(call) === "object" || typeof call === "function")) {
|
|
111533
111534
|
return call;
|
|
111534
111535
|
}
|
|
111535
|
-
return _assertThisInitialized$
|
|
111536
|
+
return _assertThisInitialized$b(self2);
|
|
111536
111537
|
}
|
|
111537
|
-
function _assertThisInitialized$
|
|
111538
|
+
function _assertThisInitialized$b(self2) {
|
|
111538
111539
|
if (self2 === void 0) {
|
|
111539
111540
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111540
111541
|
}
|
|
@@ -111567,14 +111568,14 @@ function _inherits$a(subClass, superClass) {
|
|
|
111567
111568
|
}
|
|
111568
111569
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111569
111570
|
if (superClass)
|
|
111570
|
-
_setPrototypeOf$
|
|
111571
|
+
_setPrototypeOf$b(subClass, superClass);
|
|
111571
111572
|
}
|
|
111572
|
-
function _setPrototypeOf$
|
|
111573
|
-
_setPrototypeOf$
|
|
111573
|
+
function _setPrototypeOf$b(o2, p) {
|
|
111574
|
+
_setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111574
111575
|
o3.__proto__ = p2;
|
|
111575
111576
|
return o3;
|
|
111576
111577
|
};
|
|
111577
|
-
return _setPrototypeOf$
|
|
111578
|
+
return _setPrototypeOf$b(o2, p);
|
|
111578
111579
|
}
|
|
111579
111580
|
var DrawEllipseByBoundingBoxMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111580
111581
|
_inherits$a(DrawEllipseByBoundingBoxMode2, _TwoClickPolygonMode);
|
|
@@ -111683,9 +111684,9 @@ function _possibleConstructorReturn$9(self2, call) {
|
|
|
111683
111684
|
if (call && (_typeof$b(call) === "object" || typeof call === "function")) {
|
|
111684
111685
|
return call;
|
|
111685
111686
|
}
|
|
111686
|
-
return _assertThisInitialized$
|
|
111687
|
+
return _assertThisInitialized$a(self2);
|
|
111687
111688
|
}
|
|
111688
|
-
function _assertThisInitialized$
|
|
111689
|
+
function _assertThisInitialized$a(self2) {
|
|
111689
111690
|
if (self2 === void 0) {
|
|
111690
111691
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111691
111692
|
}
|
|
@@ -111718,14 +111719,14 @@ function _inherits$9(subClass, superClass) {
|
|
|
111718
111719
|
}
|
|
111719
111720
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111720
111721
|
if (superClass)
|
|
111721
|
-
_setPrototypeOf$
|
|
111722
|
+
_setPrototypeOf$a(subClass, superClass);
|
|
111722
111723
|
}
|
|
111723
|
-
function _setPrototypeOf$
|
|
111724
|
-
_setPrototypeOf$
|
|
111724
|
+
function _setPrototypeOf$a(o2, p) {
|
|
111725
|
+
_setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111725
111726
|
o3.__proto__ = p2;
|
|
111726
111727
|
return o3;
|
|
111727
111728
|
};
|
|
111728
|
-
return _setPrototypeOf$
|
|
111729
|
+
return _setPrototypeOf$a(o2, p);
|
|
111729
111730
|
}
|
|
111730
111731
|
var ThreeClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
111731
111732
|
_inherits$9(ThreeClickPolygonMode2, _GeoJsonEditMode);
|
|
@@ -111877,9 +111878,9 @@ function _possibleConstructorReturn$8(self2, call) {
|
|
|
111877
111878
|
if (call && (_typeof$a(call) === "object" || typeof call === "function")) {
|
|
111878
111879
|
return call;
|
|
111879
111880
|
}
|
|
111880
|
-
return _assertThisInitialized$
|
|
111881
|
+
return _assertThisInitialized$9(self2);
|
|
111881
111882
|
}
|
|
111882
|
-
function _assertThisInitialized$
|
|
111883
|
+
function _assertThisInitialized$9(self2) {
|
|
111883
111884
|
if (self2 === void 0) {
|
|
111884
111885
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111885
111886
|
}
|
|
@@ -111912,14 +111913,14 @@ function _inherits$8(subClass, superClass) {
|
|
|
111912
111913
|
}
|
|
111913
111914
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111914
111915
|
if (superClass)
|
|
111915
|
-
_setPrototypeOf$
|
|
111916
|
+
_setPrototypeOf$9(subClass, superClass);
|
|
111916
111917
|
}
|
|
111917
|
-
function _setPrototypeOf$
|
|
111918
|
-
_setPrototypeOf$
|
|
111918
|
+
function _setPrototypeOf$9(o2, p) {
|
|
111919
|
+
_setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111919
111920
|
o3.__proto__ = p2;
|
|
111920
111921
|
return o3;
|
|
111921
111922
|
};
|
|
111922
|
-
return _setPrototypeOf$
|
|
111923
|
+
return _setPrototypeOf$9(o2, p);
|
|
111923
111924
|
}
|
|
111924
111925
|
var DrawEllipseUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
|
|
111925
111926
|
_inherits$8(DrawEllipseUsingThreePointsMode2, _ThreeClickPolygonMod);
|
|
@@ -112059,9 +112060,9 @@ function _possibleConstructorReturn$7(self2, call) {
|
|
|
112059
112060
|
if (call && (_typeof$9(call) === "object" || typeof call === "function")) {
|
|
112060
112061
|
return call;
|
|
112061
112062
|
}
|
|
112062
|
-
return _assertThisInitialized$
|
|
112063
|
+
return _assertThisInitialized$8(self2);
|
|
112063
112064
|
}
|
|
112064
|
-
function _assertThisInitialized$
|
|
112065
|
+
function _assertThisInitialized$8(self2) {
|
|
112065
112066
|
if (self2 === void 0) {
|
|
112066
112067
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112067
112068
|
}
|
|
@@ -112094,14 +112095,14 @@ function _inherits$7(subClass, superClass) {
|
|
|
112094
112095
|
}
|
|
112095
112096
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112096
112097
|
if (superClass)
|
|
112097
|
-
_setPrototypeOf$
|
|
112098
|
+
_setPrototypeOf$8(subClass, superClass);
|
|
112098
112099
|
}
|
|
112099
|
-
function _setPrototypeOf$
|
|
112100
|
-
_setPrototypeOf$
|
|
112100
|
+
function _setPrototypeOf$8(o2, p) {
|
|
112101
|
+
_setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112101
112102
|
o3.__proto__ = p2;
|
|
112102
112103
|
return o3;
|
|
112103
112104
|
};
|
|
112104
|
-
return _setPrototypeOf$
|
|
112105
|
+
return _setPrototypeOf$8(o2, p);
|
|
112105
112106
|
}
|
|
112106
112107
|
var DrawRectangleUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
|
|
112107
112108
|
_inherits$7(DrawRectangleUsingThreePointsMode2, _ThreeClickPolygonMod);
|
|
@@ -112301,9 +112302,9 @@ function _possibleConstructorReturn$6(self2, call) {
|
|
|
112301
112302
|
if (call && (_typeof$8(call) === "object" || typeof call === "function")) {
|
|
112302
112303
|
return call;
|
|
112303
112304
|
}
|
|
112304
|
-
return _assertThisInitialized$
|
|
112305
|
+
return _assertThisInitialized$7(self2);
|
|
112305
112306
|
}
|
|
112306
|
-
function _assertThisInitialized$
|
|
112307
|
+
function _assertThisInitialized$7(self2) {
|
|
112307
112308
|
if (self2 === void 0) {
|
|
112308
112309
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112309
112310
|
}
|
|
@@ -112336,14 +112337,14 @@ function _inherits$6(subClass, superClass) {
|
|
|
112336
112337
|
}
|
|
112337
112338
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112338
112339
|
if (superClass)
|
|
112339
|
-
_setPrototypeOf$
|
|
112340
|
+
_setPrototypeOf$7(subClass, superClass);
|
|
112340
112341
|
}
|
|
112341
|
-
function _setPrototypeOf$
|
|
112342
|
-
_setPrototypeOf$
|
|
112342
|
+
function _setPrototypeOf$7(o2, p) {
|
|
112343
|
+
_setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112343
112344
|
o3.__proto__ = p2;
|
|
112344
112345
|
return o3;
|
|
112345
112346
|
};
|
|
112346
|
-
return _setPrototypeOf$
|
|
112347
|
+
return _setPrototypeOf$7(o2, p);
|
|
112347
112348
|
}
|
|
112348
112349
|
var Draw90DegreePolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
112349
112350
|
_inherits$6(Draw90DegreePolygonMode2, _GeoJsonEditMode);
|
|
@@ -112751,9 +112752,9 @@ function _possibleConstructorReturn$5(self2, call) {
|
|
|
112751
112752
|
if (call && (_typeof$7(call) === "object" || typeof call === "function")) {
|
|
112752
112753
|
return call;
|
|
112753
112754
|
}
|
|
112754
|
-
return _assertThisInitialized$
|
|
112755
|
+
return _assertThisInitialized$6(self2);
|
|
112755
112756
|
}
|
|
112756
|
-
function _assertThisInitialized$
|
|
112757
|
+
function _assertThisInitialized$6(self2) {
|
|
112757
112758
|
if (self2 === void 0) {
|
|
112758
112759
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112759
112760
|
}
|
|
@@ -112786,14 +112787,14 @@ function _inherits$5(subClass, superClass) {
|
|
|
112786
112787
|
}
|
|
112787
112788
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112788
112789
|
if (superClass)
|
|
112789
|
-
_setPrototypeOf$
|
|
112790
|
+
_setPrototypeOf$6(subClass, superClass);
|
|
112790
112791
|
}
|
|
112791
|
-
function _setPrototypeOf$
|
|
112792
|
-
_setPrototypeOf$
|
|
112792
|
+
function _setPrototypeOf$6(o2, p) {
|
|
112793
|
+
_setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112793
112794
|
o3.__proto__ = p2;
|
|
112794
112795
|
return o3;
|
|
112795
112796
|
};
|
|
112796
|
-
return _setPrototypeOf$
|
|
112797
|
+
return _setPrototypeOf$6(o2, p);
|
|
112797
112798
|
}
|
|
112798
112799
|
function _defineProperty$4(obj, key, value) {
|
|
112799
112800
|
if (key in obj) {
|
|
@@ -112813,7 +112814,7 @@ var DrawPolygonByDraggingMode = /* @__PURE__ */ function(_DrawPolygonMode) {
|
|
|
112813
112814
|
args[_key] = arguments[_key];
|
|
112814
112815
|
}
|
|
112815
112816
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
112816
|
-
_defineProperty$4(_assertThisInitialized$
|
|
112817
|
+
_defineProperty$4(_assertThisInitialized$6(_this), "handleDraggingThrottled", null);
|
|
112817
112818
|
return _this;
|
|
112818
112819
|
}
|
|
112819
112820
|
_createClass$5(DrawPolygonByDraggingMode2, [{
|
|
@@ -112910,9 +112911,9 @@ function _possibleConstructorReturn$4(self2, call) {
|
|
|
112910
112911
|
if (call && (_typeof$6(call) === "object" || typeof call === "function")) {
|
|
112911
112912
|
return call;
|
|
112912
112913
|
}
|
|
112913
|
-
return _assertThisInitialized$
|
|
112914
|
+
return _assertThisInitialized$5(self2);
|
|
112914
112915
|
}
|
|
112915
|
-
function _assertThisInitialized$
|
|
112916
|
+
function _assertThisInitialized$5(self2) {
|
|
112916
112917
|
if (self2 === void 0) {
|
|
112917
112918
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112918
112919
|
}
|
|
@@ -112945,14 +112946,14 @@ function _inherits$4(subClass, superClass) {
|
|
|
112945
112946
|
}
|
|
112946
112947
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112947
112948
|
if (superClass)
|
|
112948
|
-
_setPrototypeOf$
|
|
112949
|
+
_setPrototypeOf$5(subClass, superClass);
|
|
112949
112950
|
}
|
|
112950
|
-
function _setPrototypeOf$
|
|
112951
|
-
_setPrototypeOf$
|
|
112951
|
+
function _setPrototypeOf$5(o2, p) {
|
|
112952
|
+
_setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112952
112953
|
o3.__proto__ = p2;
|
|
112953
112954
|
return o3;
|
|
112954
112955
|
};
|
|
112955
|
-
return _setPrototypeOf$
|
|
112956
|
+
return _setPrototypeOf$5(o2, p);
|
|
112956
112957
|
}
|
|
112957
112958
|
var ViewMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
112958
112959
|
_inherits$4(ViewMode2, _GeoJsonEditMode);
|
|
@@ -113061,9 +113062,9 @@ function _possibleConstructorReturn$3(self2, call) {
|
|
|
113061
113062
|
if (call && (_typeof$5(call) === "object" || typeof call === "function")) {
|
|
113062
113063
|
return call;
|
|
113063
113064
|
}
|
|
113064
|
-
return _assertThisInitialized$
|
|
113065
|
+
return _assertThisInitialized$4(self2);
|
|
113065
113066
|
}
|
|
113066
|
-
function _assertThisInitialized$
|
|
113067
|
+
function _assertThisInitialized$4(self2) {
|
|
113067
113068
|
if (self2 === void 0) {
|
|
113068
113069
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
113069
113070
|
}
|
|
@@ -113096,14 +113097,14 @@ function _inherits$3(subClass, superClass) {
|
|
|
113096
113097
|
}
|
|
113097
113098
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
113098
113099
|
if (superClass)
|
|
113099
|
-
_setPrototypeOf$
|
|
113100
|
+
_setPrototypeOf$4(subClass, superClass);
|
|
113100
113101
|
}
|
|
113101
|
-
function _setPrototypeOf$
|
|
113102
|
-
_setPrototypeOf$
|
|
113102
|
+
function _setPrototypeOf$4(o2, p) {
|
|
113103
|
+
_setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
113103
113104
|
o3.__proto__ = p2;
|
|
113104
113105
|
return o3;
|
|
113105
113106
|
};
|
|
113106
|
-
return _setPrototypeOf$
|
|
113107
|
+
return _setPrototypeOf$4(o2, p);
|
|
113107
113108
|
}
|
|
113108
113109
|
function _defineProperty$3(obj, key, value) {
|
|
113109
113110
|
if (key in obj) {
|
|
@@ -113123,10 +113124,10 @@ var MeasureDistanceMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
113123
113124
|
args[_key] = arguments[_key];
|
|
113124
113125
|
}
|
|
113125
113126
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
113126
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113127
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113128
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113129
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113127
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_isMeasuringSessionFinished", false);
|
|
113128
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_currentTooltips", []);
|
|
113129
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_currentDistance", 0);
|
|
113130
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_calculateDistanceForTooltip", function(_ref) {
|
|
113130
113131
|
var positionA = _ref.positionA, positionB = _ref.positionB, modeConfig = _ref.modeConfig;
|
|
113131
113132
|
var _ref2 = modeConfig || {}, turfOptions = _ref2.turfOptions, measurementCallback = _ref2.measurementCallback;
|
|
113132
113133
|
var distance2 = (0, _distance["default"])(positionA, positionB, turfOptions);
|
|
@@ -113483,9 +113484,9 @@ function _possibleConstructorReturn$2(self2, call) {
|
|
|
113483
113484
|
if (call && (_typeof$4(call) === "object" || typeof call === "function")) {
|
|
113484
113485
|
return call;
|
|
113485
113486
|
}
|
|
113486
|
-
return _assertThisInitialized$
|
|
113487
|
+
return _assertThisInitialized$3(self2);
|
|
113487
113488
|
}
|
|
113488
|
-
function _assertThisInitialized$
|
|
113489
|
+
function _assertThisInitialized$3(self2) {
|
|
113489
113490
|
if (self2 === void 0) {
|
|
113490
113491
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
113491
113492
|
}
|
|
@@ -113518,14 +113519,14 @@ function _inherits$2(subClass, superClass) {
|
|
|
113518
113519
|
}
|
|
113519
113520
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
113520
113521
|
if (superClass)
|
|
113521
|
-
_setPrototypeOf$
|
|
113522
|
+
_setPrototypeOf$3(subClass, superClass);
|
|
113522
113523
|
}
|
|
113523
|
-
function _setPrototypeOf$
|
|
113524
|
-
_setPrototypeOf$
|
|
113524
|
+
function _setPrototypeOf$3(o2, p) {
|
|
113525
|
+
_setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
113525
113526
|
o3.__proto__ = p2;
|
|
113526
113527
|
return o3;
|
|
113527
113528
|
};
|
|
113528
|
-
return _setPrototypeOf$
|
|
113529
|
+
return _setPrototypeOf$3(o2, p);
|
|
113529
113530
|
}
|
|
113530
113531
|
var DEFAULT_TOOLTIPS$1 = [];
|
|
113531
113532
|
var MeasureAreaMode = /* @__PURE__ */ function(_DrawPolygonMode) {
|
|
@@ -113712,9 +113713,9 @@ function _possibleConstructorReturn$1(self2, call) {
|
|
|
113712
113713
|
if (call && (_typeof$3(call) === "object" || typeof call === "function")) {
|
|
113713
113714
|
return call;
|
|
113714
113715
|
}
|
|
113715
|
-
return _assertThisInitialized$
|
|
113716
|
+
return _assertThisInitialized$2(self2);
|
|
113716
113717
|
}
|
|
113717
|
-
function _assertThisInitialized$
|
|
113718
|
+
function _assertThisInitialized$2(self2) {
|
|
113718
113719
|
if (self2 === void 0) {
|
|
113719
113720
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
113720
113721
|
}
|
|
@@ -113747,14 +113748,14 @@ function _inherits$1(subClass, superClass) {
|
|
|
113747
113748
|
}
|
|
113748
113749
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
113749
113750
|
if (superClass)
|
|
113750
|
-
_setPrototypeOf$
|
|
113751
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
113751
113752
|
}
|
|
113752
|
-
function _setPrototypeOf$
|
|
113753
|
-
_setPrototypeOf$
|
|
113753
|
+
function _setPrototypeOf$2(o2, p) {
|
|
113754
|
+
_setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
113754
113755
|
o3.__proto__ = p2;
|
|
113755
113756
|
return o3;
|
|
113756
113757
|
};
|
|
113757
|
-
return _setPrototypeOf$
|
|
113758
|
+
return _setPrototypeOf$2(o2, p);
|
|
113758
113759
|
}
|
|
113759
113760
|
function _defineProperty$1(obj, key, value) {
|
|
113760
113761
|
if (key in obj) {
|
|
@@ -113775,7 +113776,7 @@ var MeasureAngleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
113775
113776
|
args[_key] = arguments[_key];
|
|
113776
113777
|
}
|
|
113777
113778
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
113778
|
-
_defineProperty$1(_assertThisInitialized$
|
|
113779
|
+
_defineProperty$1(_assertThisInitialized$2(_this), "_getTooltips", (0, _memoize["default"])(function(_ref) {
|
|
113779
113780
|
var modeConfig = _ref.modeConfig, vertex = _ref.vertex, point1 = _ref.point1, point2 = _ref.point2;
|
|
113780
113781
|
var tooltips = DEFAULT_TOOLTIPS;
|
|
113781
113782
|
if (vertex && point1 && point2) {
|
|
@@ -114049,9 +114050,9 @@ function _possibleConstructorReturn(self2, call) {
|
|
|
114049
114050
|
if (call && (_typeof$2(call) === "object" || typeof call === "function")) {
|
|
114050
114051
|
return call;
|
|
114051
114052
|
}
|
|
114052
|
-
return _assertThisInitialized$
|
|
114053
|
+
return _assertThisInitialized$1(self2);
|
|
114053
114054
|
}
|
|
114054
|
-
function _assertThisInitialized$
|
|
114055
|
+
function _assertThisInitialized$1(self2) {
|
|
114055
114056
|
if (self2 === void 0) {
|
|
114056
114057
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
114057
114058
|
}
|
|
@@ -114084,14 +114085,14 @@ function _inherits(subClass, superClass) {
|
|
|
114084
114085
|
}
|
|
114085
114086
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
114086
114087
|
if (superClass)
|
|
114087
|
-
_setPrototypeOf$
|
|
114088
|
+
_setPrototypeOf$1(subClass, superClass);
|
|
114088
114089
|
}
|
|
114089
|
-
function _setPrototypeOf$
|
|
114090
|
-
_setPrototypeOf$
|
|
114090
|
+
function _setPrototypeOf$1(o2, p) {
|
|
114091
|
+
_setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
114091
114092
|
o3.__proto__ = p2;
|
|
114092
114093
|
return o3;
|
|
114093
114094
|
};
|
|
114094
|
-
return _setPrototypeOf$
|
|
114095
|
+
return _setPrototypeOf$1(o2, p);
|
|
114095
114096
|
}
|
|
114096
114097
|
function _defineProperty(obj, key, value) {
|
|
114097
114098
|
if (key in obj) {
|
|
@@ -114108,7 +114109,7 @@ var SnappableMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
114108
114109
|
var _this;
|
|
114109
114110
|
_classCallCheck(this, SnappableMode2);
|
|
114110
114111
|
_this = _super.call(this);
|
|
114111
|
-
_defineProperty(_assertThisInitialized$
|
|
114112
|
+
_defineProperty(_assertThisInitialized$1(_this), "_handler", void 0);
|
|
114112
114113
|
_this._handler = handler;
|
|
114113
114114
|
return _this;
|
|
114114
114115
|
}
|
|
@@ -120210,7 +120211,8 @@ const AXIS_TITLE_TEXT_SIZE = 15;
|
|
|
120210
120211
|
const AXIS_MARGIN = 3;
|
|
120211
120212
|
const THEME_TO_TEXT_COLOR = {
|
|
120212
120213
|
dark: [224, 224, 224],
|
|
120213
|
-
light: [64, 64, 64]
|
|
120214
|
+
light: [64, 64, 64],
|
|
120215
|
+
light2: [64, 64, 64]
|
|
120214
120216
|
};
|
|
120215
120217
|
const AXIS_FONT_FAMILY = "-apple-system, 'Helvetica Neue', Arial, sans-serif";
|
|
120216
120218
|
const PIXELATED_TEXTURE_PARAMETERS = {
|
|
@@ -121314,16 +121316,16 @@ function addDecoder(cases, importFn) {
|
|
|
121314
121316
|
}
|
|
121315
121317
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121316
121318
|
}
|
|
121317
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121318
|
-
addDecoder(5, () => import("./lzw-
|
|
121319
|
+
addDecoder([void 0, 1], () => import("./raw-0c07377d.js").then((m2) => m2.default));
|
|
121320
|
+
addDecoder(5, () => import("./lzw-c9ffecd4.js").then((m2) => m2.default));
|
|
121319
121321
|
addDecoder(6, () => {
|
|
121320
121322
|
throw new Error("old style JPEG compression is not supported.");
|
|
121321
121323
|
});
|
|
121322
|
-
addDecoder(7, () => import("./jpeg-
|
|
121323
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121324
|
-
addDecoder(32773, () => import("./packbits-
|
|
121325
|
-
addDecoder(34887, () => import("./lerc-
|
|
121326
|
-
addDecoder(50001, () => import("./webimage-
|
|
121324
|
+
addDecoder(7, () => import("./jpeg-be45146d.js").then((m2) => m2.default));
|
|
121325
|
+
addDecoder([8, 32946], () => import("./deflate-ace56a0e.js").then((m2) => m2.default));
|
|
121326
|
+
addDecoder(32773, () => import("./packbits-53dbd890.js").then((m2) => m2.default));
|
|
121327
|
+
addDecoder(34887, () => import("./lerc-9cd3178c.js").then((m2) => m2.default));
|
|
121328
|
+
addDecoder(50001, () => import("./webimage-d32ef5d0.js").then((m2) => m2.default));
|
|
121327
121329
|
function decodeRowAcc(row, stride) {
|
|
121328
121330
|
let length2 = row.length - stride;
|
|
121329
121331
|
let offset5 = 0;
|
|
@@ -132565,7 +132567,7 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
132565
132567
|
} = this.state;
|
|
132566
132568
|
if (textures && model) {
|
|
132567
132569
|
const scaleFactor = 1 / 2 ** (maxZoom - zoom);
|
|
132568
|
-
const colors = fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
132570
|
+
const colors = Object.fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
132569
132571
|
model.setUniforms(Object.assign({}, uniforms, {
|
|
132570
132572
|
...colors,
|
|
132571
132573
|
// Bitmask image channel data textures
|
|
@@ -134816,19 +134818,19 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
134816
134818
|
});
|
|
134817
134819
|
return Constructor;
|
|
134818
134820
|
}
|
|
134819
|
-
function _setPrototypeOf
|
|
134820
|
-
_setPrototypeOf
|
|
134821
|
+
function _setPrototypeOf(o2, p) {
|
|
134822
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
134821
134823
|
o3.__proto__ = p2;
|
|
134822
134824
|
return o3;
|
|
134823
134825
|
};
|
|
134824
|
-
return _setPrototypeOf
|
|
134826
|
+
return _setPrototypeOf(o2, p);
|
|
134825
134827
|
}
|
|
134826
|
-
function _inheritsLoose
|
|
134828
|
+
function _inheritsLoose(subClass, superClass) {
|
|
134827
134829
|
subClass.prototype = Object.create(superClass.prototype);
|
|
134828
134830
|
subClass.prototype.constructor = subClass;
|
|
134829
|
-
_setPrototypeOf
|
|
134831
|
+
_setPrototypeOf(subClass, superClass);
|
|
134830
134832
|
}
|
|
134831
|
-
function _assertThisInitialized
|
|
134833
|
+
function _assertThisInitialized(self2) {
|
|
134832
134834
|
if (self2 === void 0) {
|
|
134833
134835
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
134834
134836
|
}
|
|
@@ -135035,7 +135037,7 @@ var BaseStyleRule = /* @__PURE__ */ function() {
|
|
|
135035
135037
|
return BaseStyleRule2;
|
|
135036
135038
|
}();
|
|
135037
135039
|
var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
135038
|
-
_inheritsLoose
|
|
135040
|
+
_inheritsLoose(StyleRule2, _BaseStyleRule);
|
|
135039
135041
|
function StyleRule2(key, style, options) {
|
|
135040
135042
|
var _this;
|
|
135041
135043
|
_this = _BaseStyleRule.call(this, key, style, options) || this;
|
|
@@ -135043,7 +135045,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
135043
135045
|
if (selector2) {
|
|
135044
135046
|
_this.selectorText = selector2;
|
|
135045
135047
|
} else if (scoped !== false) {
|
|
135046
|
-
_this.id = generateId(_assertThisInitialized
|
|
135048
|
+
_this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);
|
|
135047
135049
|
_this.selectorText = "." + escape(_this.id);
|
|
135048
135050
|
}
|
|
135049
135051
|
return _this;
|
|
@@ -135273,7 +135275,7 @@ var pluginKeyframesRule = {
|
|
|
135273
135275
|
}
|
|
135274
135276
|
};
|
|
135275
135277
|
var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
135276
|
-
_inheritsLoose
|
|
135278
|
+
_inheritsLoose(KeyframeRule2, _BaseStyleRule);
|
|
135277
135279
|
function KeyframeRule2() {
|
|
135278
135280
|
return _BaseStyleRule.apply(this, arguments) || this;
|
|
135279
135281
|
}
|
|
@@ -138185,25 +138187,7 @@ function useIsFocusVisible() {
|
|
|
138185
138187
|
ref
|
|
138186
138188
|
};
|
|
138187
138189
|
}
|
|
138188
|
-
function _setPrototypeOf(o2, p) {
|
|
138189
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
138190
|
-
o3.__proto__ = p2;
|
|
138191
|
-
return o3;
|
|
138192
|
-
};
|
|
138193
|
-
return _setPrototypeOf(o2, p);
|
|
138194
|
-
}
|
|
138195
|
-
function _inheritsLoose(subClass, superClass) {
|
|
138196
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
138197
|
-
subClass.prototype.constructor = subClass;
|
|
138198
|
-
_setPrototypeOf(subClass, superClass);
|
|
138199
|
-
}
|
|
138200
138190
|
const TransitionGroupContext = React__default.createContext(null);
|
|
138201
|
-
function _assertThisInitialized(self2) {
|
|
138202
|
-
if (self2 === void 0) {
|
|
138203
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
138204
|
-
}
|
|
138205
|
-
return self2;
|
|
138206
|
-
}
|
|
138207
138191
|
function getChildMapping(children2, mapFn) {
|
|
138208
138192
|
var mapper = function mapper2(child) {
|
|
138209
138193
|
return mapFn && isValidElement(child) ? mapFn(child) : child;
|
|
@@ -138352,7 +138336,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
138352
138336
|
}
|
|
138353
138337
|
if (this.mounted) {
|
|
138354
138338
|
this.setState(function(state) {
|
|
138355
|
-
var children2 = _extends$
|
|
138339
|
+
var children2 = _extends$2({}, state.children);
|
|
138356
138340
|
delete children2[child.key];
|
|
138357
138341
|
return {
|
|
138358
138342
|
children: children2
|
|
@@ -138361,7 +138345,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
138361
138345
|
}
|
|
138362
138346
|
};
|
|
138363
138347
|
_proto.render = function render() {
|
|
138364
|
-
var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose
|
|
138348
|
+
var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
|
138365
138349
|
var contextValue = this.state.contextValue;
|
|
138366
138350
|
var children2 = values(this.state.children).map(childFactory2);
|
|
138367
138351
|
delete props2.appear;
|
|
@@ -143262,10 +143246,13 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
|
|
|
143262
143246
|
y: p.centroid[1],
|
|
143263
143247
|
label: p.name
|
|
143264
143248
|
}));
|
|
143265
|
-
const collisionForce = this.cellSetsForceSimulation.size((d) =>
|
|
143266
|
-
|
|
143267
|
-
|
|
143268
|
-
|
|
143249
|
+
const collisionForce = this.cellSetsForceSimulation.size((d) => {
|
|
143250
|
+
var _a2;
|
|
143251
|
+
return [
|
|
143252
|
+
cellSetLabelSize * 1 / 2 ** zoom * 4 * ((_a2 = d == null ? void 0 : d.label) == null ? void 0 : _a2.length),
|
|
143253
|
+
cellSetLabelSize * 1 / 2 ** zoom * 1.5
|
|
143254
|
+
];
|
|
143255
|
+
});
|
|
143269
143256
|
forceSimulation().nodes(nodes).force("collision", collisionForce).tick(NUM_FORCE_SIMULATION_TICKS);
|
|
143270
143257
|
result.push(new TextLayer({
|
|
143271
143258
|
id: "cell-sets-text-layer",
|