@vitessce/scatterplot-gating 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-a0ad3b95.js → deflate-ab775ef1.js} +1 -1
- package/dist/{index-ad0b1f6c.js → index-8d273a18.js} +249 -262
- package/dist/index.js +1 -1
- package/dist/{jpeg-19ae8d45.js → jpeg-568d6d43.js} +1 -1
- package/dist/{lerc-bff6809d.js → lerc-e08e64e5.js} +1 -1
- package/dist/{lzw-52e5b3a7.js → lzw-8f3108ef.js} +1 -1
- package/dist/{packbits-a7ae738c.js → packbits-77d77513.js} +1 -1
- package/dist/{raw-c8fd6778.js → raw-38daf41c.js} +1 -1
- package/dist/{webimage-58661116.js → webimage-c3ff0a0f.js} +1 -1
- package/package.json +6 -6
|
@@ -2580,9 +2580,6 @@ var pluralizeExports = pluralize$1.exports;
|
|
|
2580
2580
|
const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
|
|
2581
2581
|
plur.addPluralRule("glomerulus", "glomeruli");
|
|
2582
2582
|
plur.addPluralRule("interstitium", "interstitia");
|
|
2583
|
-
function fromEntries(iterable) {
|
|
2584
|
-
return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
|
|
2585
|
-
}
|
|
2586
2583
|
function commaNumber(n2) {
|
|
2587
2584
|
const nf = new Intl.NumberFormat("en-US");
|
|
2588
2585
|
return nf.format(n2);
|
|
@@ -10962,6 +10959,7 @@ const FileType$1 = {
|
|
|
10962
10959
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
10963
10960
|
// AnnData
|
|
10964
10961
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
10962
|
+
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
10965
10963
|
OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
|
|
10966
10964
|
OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
|
|
10967
10965
|
OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
|
|
@@ -11688,7 +11686,7 @@ function configSchemaToVersion(zodSchema) {
|
|
|
11688
11686
|
return zodSchema.shape.version._def.value;
|
|
11689
11687
|
}
|
|
11690
11688
|
({
|
|
11691
|
-
...fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
|
|
11689
|
+
...Object.fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
|
|
11692
11690
|
const version2 = configSchemaToVersion(zodSchema);
|
|
11693
11691
|
return [version2, zodSchema];
|
|
11694
11692
|
})),
|
|
@@ -11764,6 +11762,9 @@ const annDataObsSets = z.array(z.object({
|
|
|
11764
11762
|
]),
|
|
11765
11763
|
scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
|
|
11766
11764
|
}));
|
|
11765
|
+
z.array(z.object({
|
|
11766
|
+
path: z.string()
|
|
11767
|
+
}));
|
|
11767
11768
|
const annDataObsSpots = annDataObsm;
|
|
11768
11769
|
const annDataObsPoints = annDataObsm;
|
|
11769
11770
|
const annDataObsLocations = annDataObsm;
|
|
@@ -106077,9 +106078,9 @@ function _possibleConstructorReturn$u(self2, call) {
|
|
|
106077
106078
|
if (call && (_typeof$w(call) === "object" || typeof call === "function")) {
|
|
106078
106079
|
return call;
|
|
106079
106080
|
}
|
|
106080
|
-
return _assertThisInitialized$
|
|
106081
|
+
return _assertThisInitialized$v(self2);
|
|
106081
106082
|
}
|
|
106082
|
-
function _assertThisInitialized$
|
|
106083
|
+
function _assertThisInitialized$v(self2) {
|
|
106083
106084
|
if (self2 === void 0) {
|
|
106084
106085
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
106085
106086
|
}
|
|
@@ -106112,14 +106113,14 @@ function _inherits$u(subClass, superClass) {
|
|
|
106112
106113
|
}
|
|
106113
106114
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
106114
106115
|
if (superClass)
|
|
106115
|
-
_setPrototypeOf$
|
|
106116
|
+
_setPrototypeOf$v(subClass, superClass);
|
|
106116
106117
|
}
|
|
106117
|
-
function _setPrototypeOf$
|
|
106118
|
-
_setPrototypeOf$
|
|
106118
|
+
function _setPrototypeOf$v(o2, p) {
|
|
106119
|
+
_setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
106119
106120
|
o3.__proto__ = p2;
|
|
106120
106121
|
return o3;
|
|
106121
106122
|
};
|
|
106122
|
-
return _setPrototypeOf$
|
|
106123
|
+
return _setPrototypeOf$v(o2, p);
|
|
106123
106124
|
}
|
|
106124
106125
|
var ModifyMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
106125
106126
|
_inherits$u(ModifyMode2, _GeoJsonEditMode);
|
|
@@ -106519,9 +106520,9 @@ function _possibleConstructorReturn$t(self2, call) {
|
|
|
106519
106520
|
if (call && (_typeof$v(call) === "object" || typeof call === "function")) {
|
|
106520
106521
|
return call;
|
|
106521
106522
|
}
|
|
106522
|
-
return _assertThisInitialized$
|
|
106523
|
+
return _assertThisInitialized$u(self2);
|
|
106523
106524
|
}
|
|
106524
|
-
function _assertThisInitialized$
|
|
106525
|
+
function _assertThisInitialized$u(self2) {
|
|
106525
106526
|
if (self2 === void 0) {
|
|
106526
106527
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
106527
106528
|
}
|
|
@@ -106554,14 +106555,14 @@ function _inherits$t(subClass, superClass) {
|
|
|
106554
106555
|
}
|
|
106555
106556
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
106556
106557
|
if (superClass)
|
|
106557
|
-
_setPrototypeOf$
|
|
106558
|
+
_setPrototypeOf$u(subClass, superClass);
|
|
106558
106559
|
}
|
|
106559
|
-
function _setPrototypeOf$
|
|
106560
|
-
_setPrototypeOf$
|
|
106560
|
+
function _setPrototypeOf$u(o2, p) {
|
|
106561
|
+
_setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
106561
106562
|
o3.__proto__ = p2;
|
|
106562
106563
|
return o3;
|
|
106563
106564
|
};
|
|
106564
|
-
return _setPrototypeOf$
|
|
106565
|
+
return _setPrototypeOf$u(o2, p);
|
|
106565
106566
|
}
|
|
106566
106567
|
function _defineProperty$b(obj, key, value) {
|
|
106567
106568
|
if (key in obj) {
|
|
@@ -106581,8 +106582,8 @@ var ResizeCircleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
106581
106582
|
args[_key] = arguments[_key];
|
|
106582
106583
|
}
|
|
106583
106584
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
106584
|
-
_defineProperty$b(_assertThisInitialized$
|
|
106585
|
-
_defineProperty$b(_assertThisInitialized$
|
|
106585
|
+
_defineProperty$b(_assertThisInitialized$u(_this), "_selectedEditHandle", void 0);
|
|
106586
|
+
_defineProperty$b(_assertThisInitialized$u(_this), "_isResizing", false);
|
|
106586
106587
|
return _this;
|
|
106587
106588
|
}
|
|
106588
106589
|
_createClass$u(ResizeCircleMode2, [{
|
|
@@ -106871,9 +106872,9 @@ function _possibleConstructorReturn$s(self2, call) {
|
|
|
106871
106872
|
if (call && (_typeof$u(call) === "object" || typeof call === "function")) {
|
|
106872
106873
|
return call;
|
|
106873
106874
|
}
|
|
106874
|
-
return _assertThisInitialized$
|
|
106875
|
+
return _assertThisInitialized$t(self2);
|
|
106875
106876
|
}
|
|
106876
|
-
function _assertThisInitialized$
|
|
106877
|
+
function _assertThisInitialized$t(self2) {
|
|
106877
106878
|
if (self2 === void 0) {
|
|
106878
106879
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
106879
106880
|
}
|
|
@@ -106906,14 +106907,14 @@ function _inherits$s(subClass, superClass) {
|
|
|
106906
106907
|
}
|
|
106907
106908
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
106908
106909
|
if (superClass)
|
|
106909
|
-
_setPrototypeOf$
|
|
106910
|
+
_setPrototypeOf$t(subClass, superClass);
|
|
106910
106911
|
}
|
|
106911
|
-
function _setPrototypeOf$
|
|
106912
|
-
_setPrototypeOf$
|
|
106912
|
+
function _setPrototypeOf$t(o2, p) {
|
|
106913
|
+
_setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
106913
106914
|
o3.__proto__ = p2;
|
|
106914
106915
|
return o3;
|
|
106915
106916
|
};
|
|
106916
|
-
return _setPrototypeOf$
|
|
106917
|
+
return _setPrototypeOf$t(o2, p);
|
|
106917
106918
|
}
|
|
106918
106919
|
function _defineProperty$a(obj, key, value) {
|
|
106919
106920
|
if (key in obj) {
|
|
@@ -106933,8 +106934,8 @@ var TranslateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
106933
106934
|
args[_key] = arguments[_key];
|
|
106934
106935
|
}
|
|
106935
106936
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
106936
|
-
_defineProperty$a(_assertThisInitialized$
|
|
106937
|
-
_defineProperty$a(_assertThisInitialized$
|
|
106937
|
+
_defineProperty$a(_assertThisInitialized$t(_this), "_geometryBeforeTranslate", void 0);
|
|
106938
|
+
_defineProperty$a(_assertThisInitialized$t(_this), "_isTranslatable", void 0);
|
|
106938
106939
|
return _this;
|
|
106939
106940
|
}
|
|
106940
106941
|
_createClass$t(TranslateMode2, [{
|
|
@@ -107334,9 +107335,9 @@ function _possibleConstructorReturn$r(self2, call) {
|
|
|
107334
107335
|
if (call && (_typeof$t(call) === "object" || typeof call === "function")) {
|
|
107335
107336
|
return call;
|
|
107336
107337
|
}
|
|
107337
|
-
return _assertThisInitialized$
|
|
107338
|
+
return _assertThisInitialized$s(self2);
|
|
107338
107339
|
}
|
|
107339
|
-
function _assertThisInitialized$
|
|
107340
|
+
function _assertThisInitialized$s(self2) {
|
|
107340
107341
|
if (self2 === void 0) {
|
|
107341
107342
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
107342
107343
|
}
|
|
@@ -107369,14 +107370,14 @@ function _inherits$r(subClass, superClass) {
|
|
|
107369
107370
|
}
|
|
107370
107371
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
107371
107372
|
if (superClass)
|
|
107372
|
-
_setPrototypeOf$
|
|
107373
|
+
_setPrototypeOf$s(subClass, superClass);
|
|
107373
107374
|
}
|
|
107374
|
-
function _setPrototypeOf$
|
|
107375
|
-
_setPrototypeOf$
|
|
107375
|
+
function _setPrototypeOf$s(o2, p) {
|
|
107376
|
+
_setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
107376
107377
|
o3.__proto__ = p2;
|
|
107377
107378
|
return o3;
|
|
107378
107379
|
};
|
|
107379
|
-
return _setPrototypeOf$
|
|
107380
|
+
return _setPrototypeOf$s(o2, p);
|
|
107380
107381
|
}
|
|
107381
107382
|
function _defineProperty$9(obj, key, value) {
|
|
107382
107383
|
if (key in obj) {
|
|
@@ -107396,12 +107397,12 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107396
107397
|
args[_key] = arguments[_key];
|
|
107397
107398
|
}
|
|
107398
107399
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
107399
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107400
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107401
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107402
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107403
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107404
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107400
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_geometryBeingScaled", void 0);
|
|
107401
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_selectedEditHandle", void 0);
|
|
107402
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_cornerGuidePoints", void 0);
|
|
107403
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_cursor", void 0);
|
|
107404
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_isScaling", false);
|
|
107405
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_isSinglePointGeometrySelected", function(geometry2) {
|
|
107405
107406
|
var _ref3 = geometry2 || {}, features = _ref3.features;
|
|
107406
107407
|
if (Array.isArray(features) && features.length === 1) {
|
|
107407
107408
|
var _getGeom = (0, _invariant$1.getGeom)(features[0]), type = _getGeom.type;
|
|
@@ -107409,7 +107410,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107409
107410
|
}
|
|
107410
107411
|
return false;
|
|
107411
107412
|
});
|
|
107412
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107413
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_getOppositeScaleHandle", function(selectedHandle) {
|
|
107413
107414
|
var selectedHandleIndex = selectedHandle && selectedHandle.properties && Array.isArray(selectedHandle.properties.positionIndexes) && selectedHandle.properties.positionIndexes[0];
|
|
107414
107415
|
if (typeof selectedHandleIndex !== "number") {
|
|
107415
107416
|
return null;
|
|
@@ -107423,7 +107424,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107423
107424
|
return p.properties.positionIndexes[0] === oppositeIndex;
|
|
107424
107425
|
});
|
|
107425
107426
|
});
|
|
107426
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107427
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "_getUpdatedData", function(props2, editedData) {
|
|
107427
107428
|
var updatedData = new _immutableFeatureCollection$4.ImmutableFeatureCollection(props2.data);
|
|
107428
107429
|
var selectedIndexes = props2.selectedIndexes;
|
|
107429
107430
|
for (var i2 = 0; i2 < selectedIndexes.length; i2++) {
|
|
@@ -107433,10 +107434,10 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107433
107434
|
}
|
|
107434
107435
|
return updatedData.getObject();
|
|
107435
107436
|
});
|
|
107436
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107437
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "isEditHandleSelected", function() {
|
|
107437
107438
|
return Boolean(_this._selectedEditHandle);
|
|
107438
107439
|
});
|
|
107439
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107440
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "getScaleAction", function(startDragPoint, currentPoint, editType, props2) {
|
|
107440
107441
|
if (!_this._selectedEditHandle) {
|
|
107441
107442
|
return null;
|
|
107442
107443
|
}
|
|
@@ -107459,7 +107460,7 @@ var ScaleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107459
107460
|
}
|
|
107460
107461
|
};
|
|
107461
107462
|
});
|
|
107462
|
-
_defineProperty$9(_assertThisInitialized$
|
|
107463
|
+
_defineProperty$9(_assertThisInitialized$s(_this), "updateCursor", function(props2) {
|
|
107463
107464
|
if (_this._selectedEditHandle) {
|
|
107464
107465
|
if (_this._cursor) {
|
|
107465
107466
|
props2.onUpdateCursor(_this._cursor);
|
|
@@ -107683,9 +107684,9 @@ function _possibleConstructorReturn$q(self2, call) {
|
|
|
107683
107684
|
if (call && (_typeof$s(call) === "object" || typeof call === "function")) {
|
|
107684
107685
|
return call;
|
|
107685
107686
|
}
|
|
107686
|
-
return _assertThisInitialized$
|
|
107687
|
+
return _assertThisInitialized$r(self2);
|
|
107687
107688
|
}
|
|
107688
|
-
function _assertThisInitialized$
|
|
107689
|
+
function _assertThisInitialized$r(self2) {
|
|
107689
107690
|
if (self2 === void 0) {
|
|
107690
107691
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
107691
107692
|
}
|
|
@@ -107718,14 +107719,14 @@ function _inherits$q(subClass, superClass) {
|
|
|
107718
107719
|
}
|
|
107719
107720
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
107720
107721
|
if (superClass)
|
|
107721
|
-
_setPrototypeOf$
|
|
107722
|
+
_setPrototypeOf$r(subClass, superClass);
|
|
107722
107723
|
}
|
|
107723
|
-
function _setPrototypeOf$
|
|
107724
|
-
_setPrototypeOf$
|
|
107724
|
+
function _setPrototypeOf$r(o2, p) {
|
|
107725
|
+
_setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
107725
107726
|
o3.__proto__ = p2;
|
|
107726
107727
|
return o3;
|
|
107727
107728
|
};
|
|
107728
|
-
return _setPrototypeOf$
|
|
107729
|
+
return _setPrototypeOf$r(o2, p);
|
|
107729
107730
|
}
|
|
107730
107731
|
function _defineProperty$8(obj, key, value) {
|
|
107731
107732
|
if (key in obj) {
|
|
@@ -107745,10 +107746,10 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107745
107746
|
args[_key] = arguments[_key];
|
|
107746
107747
|
}
|
|
107747
107748
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
107748
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107749
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107750
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107751
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107749
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_selectedEditHandle", void 0);
|
|
107750
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_geometryBeingRotated", void 0);
|
|
107751
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_isRotating", false);
|
|
107752
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "_isSinglePointGeometrySelected", function(geometry2) {
|
|
107752
107753
|
var _ref3 = geometry2 || {}, features = _ref3.features;
|
|
107753
107754
|
if (Array.isArray(features) && features.length === 1) {
|
|
107754
107755
|
var _getGeom = (0, _invariant.getGeom)(features[0]), type = _getGeom.type;
|
|
@@ -107756,7 +107757,7 @@ var RotateMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
107756
107757
|
}
|
|
107757
107758
|
return false;
|
|
107758
107759
|
});
|
|
107759
|
-
_defineProperty$8(_assertThisInitialized$
|
|
107760
|
+
_defineProperty$8(_assertThisInitialized$r(_this), "getIsRotating", function() {
|
|
107760
107761
|
return _this._isRotating;
|
|
107761
107762
|
});
|
|
107762
107763
|
return _this;
|
|
@@ -107977,9 +107978,9 @@ function _possibleConstructorReturn$p(self2, call) {
|
|
|
107977
107978
|
if (call && (_typeof$r(call) === "object" || typeof call === "function")) {
|
|
107978
107979
|
return call;
|
|
107979
107980
|
}
|
|
107980
|
-
return _assertThisInitialized$
|
|
107981
|
+
return _assertThisInitialized$q(self2);
|
|
107981
107982
|
}
|
|
107982
|
-
function _assertThisInitialized$
|
|
107983
|
+
function _assertThisInitialized$q(self2) {
|
|
107983
107984
|
if (self2 === void 0) {
|
|
107984
107985
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
107985
107986
|
}
|
|
@@ -108012,14 +108013,14 @@ function _inherits$p(subClass, superClass) {
|
|
|
108012
108013
|
}
|
|
108013
108014
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108014
108015
|
if (superClass)
|
|
108015
|
-
_setPrototypeOf$
|
|
108016
|
+
_setPrototypeOf$q(subClass, superClass);
|
|
108016
108017
|
}
|
|
108017
|
-
function _setPrototypeOf$
|
|
108018
|
-
_setPrototypeOf$
|
|
108018
|
+
function _setPrototypeOf$q(o2, p) {
|
|
108019
|
+
_setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108019
108020
|
o3.__proto__ = p2;
|
|
108020
108021
|
return o3;
|
|
108021
108022
|
};
|
|
108022
|
-
return _setPrototypeOf$
|
|
108023
|
+
return _setPrototypeOf$q(o2, p);
|
|
108023
108024
|
}
|
|
108024
108025
|
var DuplicateMode = /* @__PURE__ */ function(_TranslateMode) {
|
|
108025
108026
|
_inherits$p(DuplicateMode2, _TranslateMode);
|
|
@@ -108107,9 +108108,9 @@ function _possibleConstructorReturn$o(self2, call) {
|
|
|
108107
108108
|
if (call && (_typeof$q(call) === "object" || typeof call === "function")) {
|
|
108108
108109
|
return call;
|
|
108109
108110
|
}
|
|
108110
|
-
return _assertThisInitialized$
|
|
108111
|
+
return _assertThisInitialized$p(self2);
|
|
108111
108112
|
}
|
|
108112
|
-
function _assertThisInitialized$
|
|
108113
|
+
function _assertThisInitialized$p(self2) {
|
|
108113
108114
|
if (self2 === void 0) {
|
|
108114
108115
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108115
108116
|
}
|
|
@@ -108142,14 +108143,14 @@ function _inherits$o(subClass, superClass) {
|
|
|
108142
108143
|
}
|
|
108143
108144
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108144
108145
|
if (superClass)
|
|
108145
|
-
_setPrototypeOf$
|
|
108146
|
+
_setPrototypeOf$p(subClass, superClass);
|
|
108146
108147
|
}
|
|
108147
|
-
function _setPrototypeOf$
|
|
108148
|
-
_setPrototypeOf$
|
|
108148
|
+
function _setPrototypeOf$p(o2, p) {
|
|
108149
|
+
_setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108149
108150
|
o3.__proto__ = p2;
|
|
108150
108151
|
return o3;
|
|
108151
108152
|
};
|
|
108152
|
-
return _setPrototypeOf$
|
|
108153
|
+
return _setPrototypeOf$p(o2, p);
|
|
108153
108154
|
}
|
|
108154
108155
|
var ExtendLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
108155
108156
|
_inherits$o(ExtendLineStringMode2, _GeoJsonEditMode);
|
|
@@ -108523,9 +108524,9 @@ function _possibleConstructorReturn$n(self2, call) {
|
|
|
108523
108524
|
if (call && (_typeof$p(call) === "object" || typeof call === "function")) {
|
|
108524
108525
|
return call;
|
|
108525
108526
|
}
|
|
108526
|
-
return _assertThisInitialized$
|
|
108527
|
+
return _assertThisInitialized$o(self2);
|
|
108527
108528
|
}
|
|
108528
|
-
function _assertThisInitialized$
|
|
108529
|
+
function _assertThisInitialized$o(self2) {
|
|
108529
108530
|
if (self2 === void 0) {
|
|
108530
108531
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108531
108532
|
}
|
|
@@ -108558,14 +108559,14 @@ function _inherits$n(subClass, superClass) {
|
|
|
108558
108559
|
}
|
|
108559
108560
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108560
108561
|
if (superClass)
|
|
108561
|
-
_setPrototypeOf$
|
|
108562
|
+
_setPrototypeOf$o(subClass, superClass);
|
|
108562
108563
|
}
|
|
108563
|
-
function _setPrototypeOf$
|
|
108564
|
-
_setPrototypeOf$
|
|
108564
|
+
function _setPrototypeOf$o(o2, p) {
|
|
108565
|
+
_setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108565
108566
|
o3.__proto__ = p2;
|
|
108566
108567
|
return o3;
|
|
108567
108568
|
};
|
|
108568
|
-
return _setPrototypeOf$
|
|
108569
|
+
return _setPrototypeOf$o(o2, p);
|
|
108569
108570
|
}
|
|
108570
108571
|
var SplitPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
108571
108572
|
_inherits$n(SplitPolygonMode2, _GeoJsonEditMode);
|
|
@@ -108858,9 +108859,9 @@ function _possibleConstructorReturn$m(self2, call) {
|
|
|
108858
108859
|
if (call && (_typeof$o(call) === "object" || typeof call === "function")) {
|
|
108859
108860
|
return call;
|
|
108860
108861
|
}
|
|
108861
|
-
return _assertThisInitialized$
|
|
108862
|
+
return _assertThisInitialized$n(self2);
|
|
108862
108863
|
}
|
|
108863
|
-
function _assertThisInitialized$
|
|
108864
|
+
function _assertThisInitialized$n(self2) {
|
|
108864
108865
|
if (self2 === void 0) {
|
|
108865
108866
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108866
108867
|
}
|
|
@@ -108893,14 +108894,14 @@ function _inherits$m(subClass, superClass) {
|
|
|
108893
108894
|
}
|
|
108894
108895
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
108895
108896
|
if (superClass)
|
|
108896
|
-
_setPrototypeOf$
|
|
108897
|
+
_setPrototypeOf$n(subClass, superClass);
|
|
108897
108898
|
}
|
|
108898
|
-
function _setPrototypeOf$
|
|
108899
|
-
_setPrototypeOf$
|
|
108899
|
+
function _setPrototypeOf$n(o2, p) {
|
|
108900
|
+
_setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
108900
108901
|
o3.__proto__ = p2;
|
|
108901
108902
|
return o3;
|
|
108902
108903
|
};
|
|
108903
|
-
return _setPrototypeOf$
|
|
108904
|
+
return _setPrototypeOf$n(o2, p);
|
|
108904
108905
|
}
|
|
108905
108906
|
function _defineProperty$7(obj, key, value) {
|
|
108906
108907
|
if (key in obj) {
|
|
@@ -108920,7 +108921,7 @@ var ExtrudeMode = /* @__PURE__ */ function(_ModifyMode) {
|
|
|
108920
108921
|
args[_key] = arguments[_key];
|
|
108921
108922
|
}
|
|
108922
108923
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
108923
|
-
_defineProperty$7(_assertThisInitialized$
|
|
108924
|
+
_defineProperty$7(_assertThisInitialized$n(_this), "isPointAdded", false);
|
|
108924
108925
|
return _this;
|
|
108925
108926
|
}
|
|
108926
108927
|
_createClass$n(ExtrudeMode2, [{
|
|
@@ -109189,9 +109190,9 @@ function _possibleConstructorReturn$l(self2, call) {
|
|
|
109189
109190
|
if (call && (_typeof$n(call) === "object" || typeof call === "function")) {
|
|
109190
109191
|
return call;
|
|
109191
109192
|
}
|
|
109192
|
-
return _assertThisInitialized$
|
|
109193
|
+
return _assertThisInitialized$m(self2);
|
|
109193
109194
|
}
|
|
109194
|
-
function _assertThisInitialized$
|
|
109195
|
+
function _assertThisInitialized$m(self2) {
|
|
109195
109196
|
if (self2 === void 0) {
|
|
109196
109197
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109197
109198
|
}
|
|
@@ -109224,14 +109225,14 @@ function _inherits$l(subClass, superClass) {
|
|
|
109224
109225
|
}
|
|
109225
109226
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109226
109227
|
if (superClass)
|
|
109227
|
-
_setPrototypeOf$
|
|
109228
|
+
_setPrototypeOf$m(subClass, superClass);
|
|
109228
109229
|
}
|
|
109229
|
-
function _setPrototypeOf$
|
|
109230
|
-
_setPrototypeOf$
|
|
109230
|
+
function _setPrototypeOf$m(o2, p) {
|
|
109231
|
+
_setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109231
109232
|
o3.__proto__ = p2;
|
|
109232
109233
|
return o3;
|
|
109233
109234
|
};
|
|
109234
|
-
return _setPrototypeOf$
|
|
109235
|
+
return _setPrototypeOf$m(o2, p);
|
|
109235
109236
|
}
|
|
109236
109237
|
function defaultCalculateElevationChange(_ref3) {
|
|
109237
109238
|
var pointerDownScreenCoords = _ref3.pointerDownScreenCoords, screenCoords = _ref3.screenCoords;
|
|
@@ -109425,9 +109426,9 @@ function _possibleConstructorReturn$k(self2, call) {
|
|
|
109425
109426
|
if (call && (_typeof$m(call) === "object" || typeof call === "function")) {
|
|
109426
109427
|
return call;
|
|
109427
109428
|
}
|
|
109428
|
-
return _assertThisInitialized$
|
|
109429
|
+
return _assertThisInitialized$l(self2);
|
|
109429
109430
|
}
|
|
109430
|
-
function _assertThisInitialized$
|
|
109431
|
+
function _assertThisInitialized$l(self2) {
|
|
109431
109432
|
if (self2 === void 0) {
|
|
109432
109433
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109433
109434
|
}
|
|
@@ -109460,14 +109461,14 @@ function _inherits$k(subClass, superClass) {
|
|
|
109460
109461
|
}
|
|
109461
109462
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109462
109463
|
if (superClass)
|
|
109463
|
-
_setPrototypeOf$
|
|
109464
|
+
_setPrototypeOf$l(subClass, superClass);
|
|
109464
109465
|
}
|
|
109465
|
-
function _setPrototypeOf$
|
|
109466
|
-
_setPrototypeOf$
|
|
109466
|
+
function _setPrototypeOf$l(o2, p) {
|
|
109467
|
+
_setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109467
109468
|
o3.__proto__ = p2;
|
|
109468
109469
|
return o3;
|
|
109469
109470
|
};
|
|
109470
|
-
return _setPrototypeOf$
|
|
109471
|
+
return _setPrototypeOf$l(o2, p);
|
|
109471
109472
|
}
|
|
109472
109473
|
function _defineProperty$6(obj, key, value) {
|
|
109473
109474
|
if (key in obj) {
|
|
@@ -109484,7 +109485,7 @@ var CompositeMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
109484
109485
|
var _this;
|
|
109485
109486
|
_classCallCheck$l(this, CompositeMode2);
|
|
109486
109487
|
_this = _super.call(this);
|
|
109487
|
-
_defineProperty$6(_assertThisInitialized$
|
|
109488
|
+
_defineProperty$6(_assertThisInitialized$l(_this), "_modes", void 0);
|
|
109488
109489
|
_this._modes = modes;
|
|
109489
109490
|
return _this;
|
|
109490
109491
|
}
|
|
@@ -109682,9 +109683,9 @@ function _possibleConstructorReturn$j(self2, call) {
|
|
|
109682
109683
|
if (call && (_typeof$l(call) === "object" || typeof call === "function")) {
|
|
109683
109684
|
return call;
|
|
109684
109685
|
}
|
|
109685
|
-
return _assertThisInitialized$
|
|
109686
|
+
return _assertThisInitialized$k(self2);
|
|
109686
109687
|
}
|
|
109687
|
-
function _assertThisInitialized$
|
|
109688
|
+
function _assertThisInitialized$k(self2) {
|
|
109688
109689
|
if (self2 === void 0) {
|
|
109689
109690
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109690
109691
|
}
|
|
@@ -109717,14 +109718,14 @@ function _inherits$j(subClass, superClass) {
|
|
|
109717
109718
|
}
|
|
109718
109719
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109719
109720
|
if (superClass)
|
|
109720
|
-
_setPrototypeOf$
|
|
109721
|
+
_setPrototypeOf$k(subClass, superClass);
|
|
109721
109722
|
}
|
|
109722
|
-
function _setPrototypeOf$
|
|
109723
|
-
_setPrototypeOf$
|
|
109723
|
+
function _setPrototypeOf$k(o2, p) {
|
|
109724
|
+
_setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109724
109725
|
o3.__proto__ = p2;
|
|
109725
109726
|
return o3;
|
|
109726
109727
|
};
|
|
109727
|
-
return _setPrototypeOf$
|
|
109728
|
+
return _setPrototypeOf$k(o2, p);
|
|
109728
109729
|
}
|
|
109729
109730
|
var TransformMode = /* @__PURE__ */ function(_CompositeMode) {
|
|
109730
109731
|
_inherits$j(TransformMode2, _CompositeMode);
|
|
@@ -109873,9 +109874,9 @@ function _possibleConstructorReturn$i(self2, call) {
|
|
|
109873
109874
|
if (call && (_typeof$k(call) === "object" || typeof call === "function")) {
|
|
109874
109875
|
return call;
|
|
109875
109876
|
}
|
|
109876
|
-
return _assertThisInitialized$
|
|
109877
|
+
return _assertThisInitialized$j(self2);
|
|
109877
109878
|
}
|
|
109878
|
-
function _assertThisInitialized$
|
|
109879
|
+
function _assertThisInitialized$j(self2) {
|
|
109879
109880
|
if (self2 === void 0) {
|
|
109880
109881
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
109881
109882
|
}
|
|
@@ -109908,14 +109909,14 @@ function _inherits$i(subClass, superClass) {
|
|
|
109908
109909
|
}
|
|
109909
109910
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
109910
109911
|
if (superClass)
|
|
109911
|
-
_setPrototypeOf$
|
|
109912
|
+
_setPrototypeOf$j(subClass, superClass);
|
|
109912
109913
|
}
|
|
109913
|
-
function _setPrototypeOf$
|
|
109914
|
-
_setPrototypeOf$
|
|
109914
|
+
function _setPrototypeOf$j(o2, p) {
|
|
109915
|
+
_setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
109915
109916
|
o3.__proto__ = p2;
|
|
109916
109917
|
return o3;
|
|
109917
109918
|
};
|
|
109918
|
-
return _setPrototypeOf$
|
|
109919
|
+
return _setPrototypeOf$j(o2, p);
|
|
109919
109920
|
}
|
|
109920
109921
|
var DrawPointMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
109921
109922
|
_inherits$i(DrawPointMode2, _GeoJsonEditMode);
|
|
@@ -110053,9 +110054,9 @@ function _possibleConstructorReturn$h(self2, call) {
|
|
|
110053
110054
|
if (call && (_typeof$j(call) === "object" || typeof call === "function")) {
|
|
110054
110055
|
return call;
|
|
110055
110056
|
}
|
|
110056
|
-
return _assertThisInitialized$
|
|
110057
|
+
return _assertThisInitialized$i(self2);
|
|
110057
110058
|
}
|
|
110058
|
-
function _assertThisInitialized$
|
|
110059
|
+
function _assertThisInitialized$i(self2) {
|
|
110059
110060
|
if (self2 === void 0) {
|
|
110060
110061
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110061
110062
|
}
|
|
@@ -110088,14 +110089,14 @@ function _inherits$h(subClass, superClass) {
|
|
|
110088
110089
|
}
|
|
110089
110090
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110090
110091
|
if (superClass)
|
|
110091
|
-
_setPrototypeOf$
|
|
110092
|
+
_setPrototypeOf$i(subClass, superClass);
|
|
110092
110093
|
}
|
|
110093
|
-
function _setPrototypeOf$
|
|
110094
|
-
_setPrototypeOf$
|
|
110094
|
+
function _setPrototypeOf$i(o2, p) {
|
|
110095
|
+
_setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110095
110096
|
o3.__proto__ = p2;
|
|
110096
110097
|
return o3;
|
|
110097
110098
|
};
|
|
110098
|
-
return _setPrototypeOf$
|
|
110099
|
+
return _setPrototypeOf$i(o2, p);
|
|
110099
110100
|
}
|
|
110100
110101
|
var DrawLineStringMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110101
110102
|
_inherits$h(DrawLineStringMode2, _GeoJsonEditMode);
|
|
@@ -110327,9 +110328,9 @@ function _possibleConstructorReturn$g(self2, call) {
|
|
|
110327
110328
|
if (call && (_typeof$i(call) === "object" || typeof call === "function")) {
|
|
110328
110329
|
return call;
|
|
110329
110330
|
}
|
|
110330
|
-
return _assertThisInitialized$
|
|
110331
|
+
return _assertThisInitialized$h(self2);
|
|
110331
110332
|
}
|
|
110332
|
-
function _assertThisInitialized$
|
|
110333
|
+
function _assertThisInitialized$h(self2) {
|
|
110333
110334
|
if (self2 === void 0) {
|
|
110334
110335
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110335
110336
|
}
|
|
@@ -110362,14 +110363,14 @@ function _inherits$g(subClass, superClass) {
|
|
|
110362
110363
|
}
|
|
110363
110364
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110364
110365
|
if (superClass)
|
|
110365
|
-
_setPrototypeOf$
|
|
110366
|
+
_setPrototypeOf$h(subClass, superClass);
|
|
110366
110367
|
}
|
|
110367
|
-
function _setPrototypeOf$
|
|
110368
|
-
_setPrototypeOf$
|
|
110368
|
+
function _setPrototypeOf$h(o2, p) {
|
|
110369
|
+
_setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110369
110370
|
o3.__proto__ = p2;
|
|
110370
110371
|
return o3;
|
|
110371
110372
|
};
|
|
110372
|
-
return _setPrototypeOf$
|
|
110373
|
+
return _setPrototypeOf$h(o2, p);
|
|
110373
110374
|
}
|
|
110374
110375
|
var DrawPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110375
110376
|
_inherits$g(DrawPolygonMode2, _GeoJsonEditMode);
|
|
@@ -110584,9 +110585,9 @@ function _possibleConstructorReturn$f(self2, call) {
|
|
|
110584
110585
|
if (call && (_typeof$h(call) === "object" || typeof call === "function")) {
|
|
110585
110586
|
return call;
|
|
110586
110587
|
}
|
|
110587
|
-
return _assertThisInitialized$
|
|
110588
|
+
return _assertThisInitialized$g(self2);
|
|
110588
110589
|
}
|
|
110589
|
-
function _assertThisInitialized$
|
|
110590
|
+
function _assertThisInitialized$g(self2) {
|
|
110590
110591
|
if (self2 === void 0) {
|
|
110591
110592
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110592
110593
|
}
|
|
@@ -110619,14 +110620,14 @@ function _inherits$f(subClass, superClass) {
|
|
|
110619
110620
|
}
|
|
110620
110621
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110621
110622
|
if (superClass)
|
|
110622
|
-
_setPrototypeOf$
|
|
110623
|
+
_setPrototypeOf$g(subClass, superClass);
|
|
110623
110624
|
}
|
|
110624
|
-
function _setPrototypeOf$
|
|
110625
|
-
_setPrototypeOf$
|
|
110625
|
+
function _setPrototypeOf$g(o2, p) {
|
|
110626
|
+
_setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110626
110627
|
o3.__proto__ = p2;
|
|
110627
110628
|
return o3;
|
|
110628
110629
|
};
|
|
110629
|
-
return _setPrototypeOf$
|
|
110630
|
+
return _setPrototypeOf$g(o2, p);
|
|
110630
110631
|
}
|
|
110631
110632
|
var TwoClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
110632
110633
|
_inherits$f(TwoClickPolygonMode2, _GeoJsonEditMode);
|
|
@@ -110799,9 +110800,9 @@ function _possibleConstructorReturn$e(self2, call) {
|
|
|
110799
110800
|
if (call && (_typeof$g(call) === "object" || typeof call === "function")) {
|
|
110800
110801
|
return call;
|
|
110801
110802
|
}
|
|
110802
|
-
return _assertThisInitialized$
|
|
110803
|
+
return _assertThisInitialized$f(self2);
|
|
110803
110804
|
}
|
|
110804
|
-
function _assertThisInitialized$
|
|
110805
|
+
function _assertThisInitialized$f(self2) {
|
|
110805
110806
|
if (self2 === void 0) {
|
|
110806
110807
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110807
110808
|
}
|
|
@@ -110834,14 +110835,14 @@ function _inherits$e(subClass, superClass) {
|
|
|
110834
110835
|
}
|
|
110835
110836
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110836
110837
|
if (superClass)
|
|
110837
|
-
_setPrototypeOf$
|
|
110838
|
+
_setPrototypeOf$f(subClass, superClass);
|
|
110838
110839
|
}
|
|
110839
|
-
function _setPrototypeOf$
|
|
110840
|
-
_setPrototypeOf$
|
|
110840
|
+
function _setPrototypeOf$f(o2, p) {
|
|
110841
|
+
_setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
110841
110842
|
o3.__proto__ = p2;
|
|
110842
110843
|
return o3;
|
|
110843
110844
|
};
|
|
110844
|
-
return _setPrototypeOf$
|
|
110845
|
+
return _setPrototypeOf$f(o2, p);
|
|
110845
110846
|
}
|
|
110846
110847
|
var DrawRectangleMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
110847
110848
|
_inherits$e(DrawRectangleMode2, _TwoClickPolygonMode);
|
|
@@ -110962,9 +110963,9 @@ function _possibleConstructorReturn$d(self2, call) {
|
|
|
110962
110963
|
if (call && (_typeof$f(call) === "object" || typeof call === "function")) {
|
|
110963
110964
|
return call;
|
|
110964
110965
|
}
|
|
110965
|
-
return _assertThisInitialized$
|
|
110966
|
+
return _assertThisInitialized$e(self2);
|
|
110966
110967
|
}
|
|
110967
|
-
function _assertThisInitialized$
|
|
110968
|
+
function _assertThisInitialized$e(self2) {
|
|
110968
110969
|
if (self2 === void 0) {
|
|
110969
110970
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
110970
110971
|
}
|
|
@@ -110997,14 +110998,14 @@ function _inherits$d(subClass, superClass) {
|
|
|
110997
110998
|
}
|
|
110998
110999
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
110999
111000
|
if (superClass)
|
|
111000
|
-
_setPrototypeOf$
|
|
111001
|
+
_setPrototypeOf$e(subClass, superClass);
|
|
111001
111002
|
}
|
|
111002
|
-
function _setPrototypeOf$
|
|
111003
|
-
_setPrototypeOf$
|
|
111003
|
+
function _setPrototypeOf$e(o2, p) {
|
|
111004
|
+
_setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111004
111005
|
o3.__proto__ = p2;
|
|
111005
111006
|
return o3;
|
|
111006
111007
|
};
|
|
111007
|
-
return _setPrototypeOf$
|
|
111008
|
+
return _setPrototypeOf$e(o2, p);
|
|
111008
111009
|
}
|
|
111009
111010
|
var DrawSquareFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111010
111011
|
_inherits$d(DrawSquareFromCenterMode2, _TwoClickPolygonMode);
|
|
@@ -111099,9 +111100,9 @@ function _possibleConstructorReturn$c(self2, call) {
|
|
|
111099
111100
|
if (call && (_typeof$e(call) === "object" || typeof call === "function")) {
|
|
111100
111101
|
return call;
|
|
111101
111102
|
}
|
|
111102
|
-
return _assertThisInitialized$
|
|
111103
|
+
return _assertThisInitialized$d(self2);
|
|
111103
111104
|
}
|
|
111104
|
-
function _assertThisInitialized$
|
|
111105
|
+
function _assertThisInitialized$d(self2) {
|
|
111105
111106
|
if (self2 === void 0) {
|
|
111106
111107
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111107
111108
|
}
|
|
@@ -111134,14 +111135,14 @@ function _inherits$c(subClass, superClass) {
|
|
|
111134
111135
|
}
|
|
111135
111136
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111136
111137
|
if (superClass)
|
|
111137
|
-
_setPrototypeOf$
|
|
111138
|
+
_setPrototypeOf$d(subClass, superClass);
|
|
111138
111139
|
}
|
|
111139
|
-
function _setPrototypeOf$
|
|
111140
|
-
_setPrototypeOf$
|
|
111140
|
+
function _setPrototypeOf$d(o2, p) {
|
|
111141
|
+
_setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111141
111142
|
o3.__proto__ = p2;
|
|
111142
111143
|
return o3;
|
|
111143
111144
|
};
|
|
111144
|
-
return _setPrototypeOf$
|
|
111145
|
+
return _setPrototypeOf$d(o2, p);
|
|
111145
111146
|
}
|
|
111146
111147
|
var DrawCircleByDiameterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111147
111148
|
_inherits$c(DrawCircleByDiameterMode2, _TwoClickPolygonMode);
|
|
@@ -111234,9 +111235,9 @@ function _possibleConstructorReturn$b(self2, call) {
|
|
|
111234
111235
|
if (call && (_typeof$d(call) === "object" || typeof call === "function")) {
|
|
111235
111236
|
return call;
|
|
111236
111237
|
}
|
|
111237
|
-
return _assertThisInitialized$
|
|
111238
|
+
return _assertThisInitialized$c(self2);
|
|
111238
111239
|
}
|
|
111239
|
-
function _assertThisInitialized$
|
|
111240
|
+
function _assertThisInitialized$c(self2) {
|
|
111240
111241
|
if (self2 === void 0) {
|
|
111241
111242
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111242
111243
|
}
|
|
@@ -111269,14 +111270,14 @@ function _inherits$b(subClass, superClass) {
|
|
|
111269
111270
|
}
|
|
111270
111271
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111271
111272
|
if (superClass)
|
|
111272
|
-
_setPrototypeOf$
|
|
111273
|
+
_setPrototypeOf$c(subClass, superClass);
|
|
111273
111274
|
}
|
|
111274
|
-
function _setPrototypeOf$
|
|
111275
|
-
_setPrototypeOf$
|
|
111275
|
+
function _setPrototypeOf$c(o2, p) {
|
|
111276
|
+
_setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111276
111277
|
o3.__proto__ = p2;
|
|
111277
111278
|
return o3;
|
|
111278
111279
|
};
|
|
111279
|
-
return _setPrototypeOf$
|
|
111280
|
+
return _setPrototypeOf$c(o2, p);
|
|
111280
111281
|
}
|
|
111281
111282
|
var DrawCircleFromCenterMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111282
111283
|
_inherits$b(DrawCircleFromCenterMode2, _TwoClickPolygonMode);
|
|
@@ -111446,9 +111447,9 @@ function _possibleConstructorReturn$a(self2, call) {
|
|
|
111446
111447
|
if (call && (_typeof$c(call) === "object" || typeof call === "function")) {
|
|
111447
111448
|
return call;
|
|
111448
111449
|
}
|
|
111449
|
-
return _assertThisInitialized$
|
|
111450
|
+
return _assertThisInitialized$b(self2);
|
|
111450
111451
|
}
|
|
111451
|
-
function _assertThisInitialized$
|
|
111452
|
+
function _assertThisInitialized$b(self2) {
|
|
111452
111453
|
if (self2 === void 0) {
|
|
111453
111454
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111454
111455
|
}
|
|
@@ -111481,14 +111482,14 @@ function _inherits$a(subClass, superClass) {
|
|
|
111481
111482
|
}
|
|
111482
111483
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111483
111484
|
if (superClass)
|
|
111484
|
-
_setPrototypeOf$
|
|
111485
|
+
_setPrototypeOf$b(subClass, superClass);
|
|
111485
111486
|
}
|
|
111486
|
-
function _setPrototypeOf$
|
|
111487
|
-
_setPrototypeOf$
|
|
111487
|
+
function _setPrototypeOf$b(o2, p) {
|
|
111488
|
+
_setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111488
111489
|
o3.__proto__ = p2;
|
|
111489
111490
|
return o3;
|
|
111490
111491
|
};
|
|
111491
|
-
return _setPrototypeOf$
|
|
111492
|
+
return _setPrototypeOf$b(o2, p);
|
|
111492
111493
|
}
|
|
111493
111494
|
var DrawEllipseByBoundingBoxMode = /* @__PURE__ */ function(_TwoClickPolygonMode) {
|
|
111494
111495
|
_inherits$a(DrawEllipseByBoundingBoxMode2, _TwoClickPolygonMode);
|
|
@@ -111597,9 +111598,9 @@ function _possibleConstructorReturn$9(self2, call) {
|
|
|
111597
111598
|
if (call && (_typeof$b(call) === "object" || typeof call === "function")) {
|
|
111598
111599
|
return call;
|
|
111599
111600
|
}
|
|
111600
|
-
return _assertThisInitialized$
|
|
111601
|
+
return _assertThisInitialized$a(self2);
|
|
111601
111602
|
}
|
|
111602
|
-
function _assertThisInitialized$
|
|
111603
|
+
function _assertThisInitialized$a(self2) {
|
|
111603
111604
|
if (self2 === void 0) {
|
|
111604
111605
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111605
111606
|
}
|
|
@@ -111632,14 +111633,14 @@ function _inherits$9(subClass, superClass) {
|
|
|
111632
111633
|
}
|
|
111633
111634
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111634
111635
|
if (superClass)
|
|
111635
|
-
_setPrototypeOf$
|
|
111636
|
+
_setPrototypeOf$a(subClass, superClass);
|
|
111636
111637
|
}
|
|
111637
|
-
function _setPrototypeOf$
|
|
111638
|
-
_setPrototypeOf$
|
|
111638
|
+
function _setPrototypeOf$a(o2, p) {
|
|
111639
|
+
_setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111639
111640
|
o3.__proto__ = p2;
|
|
111640
111641
|
return o3;
|
|
111641
111642
|
};
|
|
111642
|
-
return _setPrototypeOf$
|
|
111643
|
+
return _setPrototypeOf$a(o2, p);
|
|
111643
111644
|
}
|
|
111644
111645
|
var ThreeClickPolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
111645
111646
|
_inherits$9(ThreeClickPolygonMode2, _GeoJsonEditMode);
|
|
@@ -111791,9 +111792,9 @@ function _possibleConstructorReturn$8(self2, call) {
|
|
|
111791
111792
|
if (call && (_typeof$a(call) === "object" || typeof call === "function")) {
|
|
111792
111793
|
return call;
|
|
111793
111794
|
}
|
|
111794
|
-
return _assertThisInitialized$
|
|
111795
|
+
return _assertThisInitialized$9(self2);
|
|
111795
111796
|
}
|
|
111796
|
-
function _assertThisInitialized$
|
|
111797
|
+
function _assertThisInitialized$9(self2) {
|
|
111797
111798
|
if (self2 === void 0) {
|
|
111798
111799
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111799
111800
|
}
|
|
@@ -111826,14 +111827,14 @@ function _inherits$8(subClass, superClass) {
|
|
|
111826
111827
|
}
|
|
111827
111828
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
111828
111829
|
if (superClass)
|
|
111829
|
-
_setPrototypeOf$
|
|
111830
|
+
_setPrototypeOf$9(subClass, superClass);
|
|
111830
111831
|
}
|
|
111831
|
-
function _setPrototypeOf$
|
|
111832
|
-
_setPrototypeOf$
|
|
111832
|
+
function _setPrototypeOf$9(o2, p) {
|
|
111833
|
+
_setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
111833
111834
|
o3.__proto__ = p2;
|
|
111834
111835
|
return o3;
|
|
111835
111836
|
};
|
|
111836
|
-
return _setPrototypeOf$
|
|
111837
|
+
return _setPrototypeOf$9(o2, p);
|
|
111837
111838
|
}
|
|
111838
111839
|
var DrawEllipseUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
|
|
111839
111840
|
_inherits$8(DrawEllipseUsingThreePointsMode2, _ThreeClickPolygonMod);
|
|
@@ -111973,9 +111974,9 @@ function _possibleConstructorReturn$7(self2, call) {
|
|
|
111973
111974
|
if (call && (_typeof$9(call) === "object" || typeof call === "function")) {
|
|
111974
111975
|
return call;
|
|
111975
111976
|
}
|
|
111976
|
-
return _assertThisInitialized$
|
|
111977
|
+
return _assertThisInitialized$8(self2);
|
|
111977
111978
|
}
|
|
111978
|
-
function _assertThisInitialized$
|
|
111979
|
+
function _assertThisInitialized$8(self2) {
|
|
111979
111980
|
if (self2 === void 0) {
|
|
111980
111981
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
111981
111982
|
}
|
|
@@ -112008,14 +112009,14 @@ function _inherits$7(subClass, superClass) {
|
|
|
112008
112009
|
}
|
|
112009
112010
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112010
112011
|
if (superClass)
|
|
112011
|
-
_setPrototypeOf$
|
|
112012
|
+
_setPrototypeOf$8(subClass, superClass);
|
|
112012
112013
|
}
|
|
112013
|
-
function _setPrototypeOf$
|
|
112014
|
-
_setPrototypeOf$
|
|
112014
|
+
function _setPrototypeOf$8(o2, p) {
|
|
112015
|
+
_setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112015
112016
|
o3.__proto__ = p2;
|
|
112016
112017
|
return o3;
|
|
112017
112018
|
};
|
|
112018
|
-
return _setPrototypeOf$
|
|
112019
|
+
return _setPrototypeOf$8(o2, p);
|
|
112019
112020
|
}
|
|
112020
112021
|
var DrawRectangleUsingThreePointsMode = /* @__PURE__ */ function(_ThreeClickPolygonMod) {
|
|
112021
112022
|
_inherits$7(DrawRectangleUsingThreePointsMode2, _ThreeClickPolygonMod);
|
|
@@ -112215,9 +112216,9 @@ function _possibleConstructorReturn$6(self2, call) {
|
|
|
112215
112216
|
if (call && (_typeof$8(call) === "object" || typeof call === "function")) {
|
|
112216
112217
|
return call;
|
|
112217
112218
|
}
|
|
112218
|
-
return _assertThisInitialized$
|
|
112219
|
+
return _assertThisInitialized$7(self2);
|
|
112219
112220
|
}
|
|
112220
|
-
function _assertThisInitialized$
|
|
112221
|
+
function _assertThisInitialized$7(self2) {
|
|
112221
112222
|
if (self2 === void 0) {
|
|
112222
112223
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112223
112224
|
}
|
|
@@ -112250,14 +112251,14 @@ function _inherits$6(subClass, superClass) {
|
|
|
112250
112251
|
}
|
|
112251
112252
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112252
112253
|
if (superClass)
|
|
112253
|
-
_setPrototypeOf$
|
|
112254
|
+
_setPrototypeOf$7(subClass, superClass);
|
|
112254
112255
|
}
|
|
112255
|
-
function _setPrototypeOf$
|
|
112256
|
-
_setPrototypeOf$
|
|
112256
|
+
function _setPrototypeOf$7(o2, p) {
|
|
112257
|
+
_setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112257
112258
|
o3.__proto__ = p2;
|
|
112258
112259
|
return o3;
|
|
112259
112260
|
};
|
|
112260
|
-
return _setPrototypeOf$
|
|
112261
|
+
return _setPrototypeOf$7(o2, p);
|
|
112261
112262
|
}
|
|
112262
112263
|
var Draw90DegreePolygonMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
112263
112264
|
_inherits$6(Draw90DegreePolygonMode2, _GeoJsonEditMode);
|
|
@@ -112665,9 +112666,9 @@ function _possibleConstructorReturn$5(self2, call) {
|
|
|
112665
112666
|
if (call && (_typeof$7(call) === "object" || typeof call === "function")) {
|
|
112666
112667
|
return call;
|
|
112667
112668
|
}
|
|
112668
|
-
return _assertThisInitialized$
|
|
112669
|
+
return _assertThisInitialized$6(self2);
|
|
112669
112670
|
}
|
|
112670
|
-
function _assertThisInitialized$
|
|
112671
|
+
function _assertThisInitialized$6(self2) {
|
|
112671
112672
|
if (self2 === void 0) {
|
|
112672
112673
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112673
112674
|
}
|
|
@@ -112700,14 +112701,14 @@ function _inherits$5(subClass, superClass) {
|
|
|
112700
112701
|
}
|
|
112701
112702
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112702
112703
|
if (superClass)
|
|
112703
|
-
_setPrototypeOf$
|
|
112704
|
+
_setPrototypeOf$6(subClass, superClass);
|
|
112704
112705
|
}
|
|
112705
|
-
function _setPrototypeOf$
|
|
112706
|
-
_setPrototypeOf$
|
|
112706
|
+
function _setPrototypeOf$6(o2, p) {
|
|
112707
|
+
_setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112707
112708
|
o3.__proto__ = p2;
|
|
112708
112709
|
return o3;
|
|
112709
112710
|
};
|
|
112710
|
-
return _setPrototypeOf$
|
|
112711
|
+
return _setPrototypeOf$6(o2, p);
|
|
112711
112712
|
}
|
|
112712
112713
|
function _defineProperty$4(obj, key, value) {
|
|
112713
112714
|
if (key in obj) {
|
|
@@ -112727,7 +112728,7 @@ var DrawPolygonByDraggingMode = /* @__PURE__ */ function(_DrawPolygonMode) {
|
|
|
112727
112728
|
args[_key] = arguments[_key];
|
|
112728
112729
|
}
|
|
112729
112730
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
112730
|
-
_defineProperty$4(_assertThisInitialized$
|
|
112731
|
+
_defineProperty$4(_assertThisInitialized$6(_this), "handleDraggingThrottled", null);
|
|
112731
112732
|
return _this;
|
|
112732
112733
|
}
|
|
112733
112734
|
_createClass$6(DrawPolygonByDraggingMode2, [{
|
|
@@ -112824,9 +112825,9 @@ function _possibleConstructorReturn$4(self2, call) {
|
|
|
112824
112825
|
if (call && (_typeof$6(call) === "object" || typeof call === "function")) {
|
|
112825
112826
|
return call;
|
|
112826
112827
|
}
|
|
112827
|
-
return _assertThisInitialized$
|
|
112828
|
+
return _assertThisInitialized$5(self2);
|
|
112828
112829
|
}
|
|
112829
|
-
function _assertThisInitialized$
|
|
112830
|
+
function _assertThisInitialized$5(self2) {
|
|
112830
112831
|
if (self2 === void 0) {
|
|
112831
112832
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112832
112833
|
}
|
|
@@ -112859,14 +112860,14 @@ function _inherits$4(subClass, superClass) {
|
|
|
112859
112860
|
}
|
|
112860
112861
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
112861
112862
|
if (superClass)
|
|
112862
|
-
_setPrototypeOf$
|
|
112863
|
+
_setPrototypeOf$5(subClass, superClass);
|
|
112863
112864
|
}
|
|
112864
|
-
function _setPrototypeOf$
|
|
112865
|
-
_setPrototypeOf$
|
|
112865
|
+
function _setPrototypeOf$5(o2, p) {
|
|
112866
|
+
_setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
112866
112867
|
o3.__proto__ = p2;
|
|
112867
112868
|
return o3;
|
|
112868
112869
|
};
|
|
112869
|
-
return _setPrototypeOf$
|
|
112870
|
+
return _setPrototypeOf$5(o2, p);
|
|
112870
112871
|
}
|
|
112871
112872
|
var ViewMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
112872
112873
|
_inherits$4(ViewMode2, _GeoJsonEditMode);
|
|
@@ -112975,9 +112976,9 @@ function _possibleConstructorReturn$3(self2, call) {
|
|
|
112975
112976
|
if (call && (_typeof$5(call) === "object" || typeof call === "function")) {
|
|
112976
112977
|
return call;
|
|
112977
112978
|
}
|
|
112978
|
-
return _assertThisInitialized$
|
|
112979
|
+
return _assertThisInitialized$4(self2);
|
|
112979
112980
|
}
|
|
112980
|
-
function _assertThisInitialized$
|
|
112981
|
+
function _assertThisInitialized$4(self2) {
|
|
112981
112982
|
if (self2 === void 0) {
|
|
112982
112983
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
112983
112984
|
}
|
|
@@ -113010,14 +113011,14 @@ function _inherits$3(subClass, superClass) {
|
|
|
113010
113011
|
}
|
|
113011
113012
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
113012
113013
|
if (superClass)
|
|
113013
|
-
_setPrototypeOf$
|
|
113014
|
+
_setPrototypeOf$4(subClass, superClass);
|
|
113014
113015
|
}
|
|
113015
|
-
function _setPrototypeOf$
|
|
113016
|
-
_setPrototypeOf$
|
|
113016
|
+
function _setPrototypeOf$4(o2, p) {
|
|
113017
|
+
_setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
113017
113018
|
o3.__proto__ = p2;
|
|
113018
113019
|
return o3;
|
|
113019
113020
|
};
|
|
113020
|
-
return _setPrototypeOf$
|
|
113021
|
+
return _setPrototypeOf$4(o2, p);
|
|
113021
113022
|
}
|
|
113022
113023
|
function _defineProperty$3(obj, key, value) {
|
|
113023
113024
|
if (key in obj) {
|
|
@@ -113037,10 +113038,10 @@ var MeasureDistanceMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
113037
113038
|
args[_key] = arguments[_key];
|
|
113038
113039
|
}
|
|
113039
113040
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
113040
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113041
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113042
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113043
|
-
_defineProperty$3(_assertThisInitialized$
|
|
113041
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_isMeasuringSessionFinished", false);
|
|
113042
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_currentTooltips", []);
|
|
113043
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_currentDistance", 0);
|
|
113044
|
+
_defineProperty$3(_assertThisInitialized$4(_this), "_calculateDistanceForTooltip", function(_ref3) {
|
|
113044
113045
|
var positionA = _ref3.positionA, positionB = _ref3.positionB, modeConfig = _ref3.modeConfig;
|
|
113045
113046
|
var _ref22 = modeConfig || {}, turfOptions = _ref22.turfOptions, measurementCallback = _ref22.measurementCallback;
|
|
113046
113047
|
var distance2 = (0, _distance["default"])(positionA, positionB, turfOptions);
|
|
@@ -113397,9 +113398,9 @@ function _possibleConstructorReturn$2(self2, call) {
|
|
|
113397
113398
|
if (call && (_typeof$4(call) === "object" || typeof call === "function")) {
|
|
113398
113399
|
return call;
|
|
113399
113400
|
}
|
|
113400
|
-
return _assertThisInitialized$
|
|
113401
|
+
return _assertThisInitialized$3(self2);
|
|
113401
113402
|
}
|
|
113402
|
-
function _assertThisInitialized$
|
|
113403
|
+
function _assertThisInitialized$3(self2) {
|
|
113403
113404
|
if (self2 === void 0) {
|
|
113404
113405
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
113405
113406
|
}
|
|
@@ -113432,14 +113433,14 @@ function _inherits$2(subClass, superClass) {
|
|
|
113432
113433
|
}
|
|
113433
113434
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
113434
113435
|
if (superClass)
|
|
113435
|
-
_setPrototypeOf$
|
|
113436
|
+
_setPrototypeOf$3(subClass, superClass);
|
|
113436
113437
|
}
|
|
113437
|
-
function _setPrototypeOf$
|
|
113438
|
-
_setPrototypeOf$
|
|
113438
|
+
function _setPrototypeOf$3(o2, p) {
|
|
113439
|
+
_setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
113439
113440
|
o3.__proto__ = p2;
|
|
113440
113441
|
return o3;
|
|
113441
113442
|
};
|
|
113442
|
-
return _setPrototypeOf$
|
|
113443
|
+
return _setPrototypeOf$3(o2, p);
|
|
113443
113444
|
}
|
|
113444
113445
|
var DEFAULT_TOOLTIPS$1 = [];
|
|
113445
113446
|
var MeasureAreaMode = /* @__PURE__ */ function(_DrawPolygonMode) {
|
|
@@ -113626,9 +113627,9 @@ function _possibleConstructorReturn$1(self2, call) {
|
|
|
113626
113627
|
if (call && (_typeof$3(call) === "object" || typeof call === "function")) {
|
|
113627
113628
|
return call;
|
|
113628
113629
|
}
|
|
113629
|
-
return _assertThisInitialized$
|
|
113630
|
+
return _assertThisInitialized$2(self2);
|
|
113630
113631
|
}
|
|
113631
|
-
function _assertThisInitialized$
|
|
113632
|
+
function _assertThisInitialized$2(self2) {
|
|
113632
113633
|
if (self2 === void 0) {
|
|
113633
113634
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
113634
113635
|
}
|
|
@@ -113661,14 +113662,14 @@ function _inherits$1(subClass, superClass) {
|
|
|
113661
113662
|
}
|
|
113662
113663
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
113663
113664
|
if (superClass)
|
|
113664
|
-
_setPrototypeOf$
|
|
113665
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
113665
113666
|
}
|
|
113666
|
-
function _setPrototypeOf$
|
|
113667
|
-
_setPrototypeOf$
|
|
113667
|
+
function _setPrototypeOf$2(o2, p) {
|
|
113668
|
+
_setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
113668
113669
|
o3.__proto__ = p2;
|
|
113669
113670
|
return o3;
|
|
113670
113671
|
};
|
|
113671
|
-
return _setPrototypeOf$
|
|
113672
|
+
return _setPrototypeOf$2(o2, p);
|
|
113672
113673
|
}
|
|
113673
113674
|
function _defineProperty$1(obj, key, value) {
|
|
113674
113675
|
if (key in obj) {
|
|
@@ -113689,7 +113690,7 @@ var MeasureAngleMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
113689
113690
|
args[_key] = arguments[_key];
|
|
113690
113691
|
}
|
|
113691
113692
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
113692
|
-
_defineProperty$1(_assertThisInitialized$
|
|
113693
|
+
_defineProperty$1(_assertThisInitialized$2(_this), "_getTooltips", (0, _memoize["default"])(function(_ref3) {
|
|
113693
113694
|
var modeConfig = _ref3.modeConfig, vertex = _ref3.vertex, point1 = _ref3.point1, point2 = _ref3.point2;
|
|
113694
113695
|
var tooltips = DEFAULT_TOOLTIPS;
|
|
113695
113696
|
if (vertex && point1 && point2) {
|
|
@@ -113963,9 +113964,9 @@ function _possibleConstructorReturn(self2, call) {
|
|
|
113963
113964
|
if (call && (_typeof$2(call) === "object" || typeof call === "function")) {
|
|
113964
113965
|
return call;
|
|
113965
113966
|
}
|
|
113966
|
-
return _assertThisInitialized$
|
|
113967
|
+
return _assertThisInitialized$1(self2);
|
|
113967
113968
|
}
|
|
113968
|
-
function _assertThisInitialized$
|
|
113969
|
+
function _assertThisInitialized$1(self2) {
|
|
113969
113970
|
if (self2 === void 0) {
|
|
113970
113971
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
113971
113972
|
}
|
|
@@ -113998,14 +113999,14 @@ function _inherits(subClass, superClass) {
|
|
|
113998
113999
|
}
|
|
113999
114000
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
114000
114001
|
if (superClass)
|
|
114001
|
-
_setPrototypeOf$
|
|
114002
|
+
_setPrototypeOf$1(subClass, superClass);
|
|
114002
114003
|
}
|
|
114003
|
-
function _setPrototypeOf$
|
|
114004
|
-
_setPrototypeOf$
|
|
114004
|
+
function _setPrototypeOf$1(o2, p) {
|
|
114005
|
+
_setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p2) {
|
|
114005
114006
|
o3.__proto__ = p2;
|
|
114006
114007
|
return o3;
|
|
114007
114008
|
};
|
|
114008
|
-
return _setPrototypeOf$
|
|
114009
|
+
return _setPrototypeOf$1(o2, p);
|
|
114009
114010
|
}
|
|
114010
114011
|
function _defineProperty(obj, key, value) {
|
|
114011
114012
|
if (key in obj) {
|
|
@@ -114022,7 +114023,7 @@ var SnappableMode = /* @__PURE__ */ function(_GeoJsonEditMode) {
|
|
|
114022
114023
|
var _this;
|
|
114023
114024
|
_classCallCheck$1(this, SnappableMode2);
|
|
114024
114025
|
_this = _super.call(this);
|
|
114025
|
-
_defineProperty(_assertThisInitialized$
|
|
114026
|
+
_defineProperty(_assertThisInitialized$1(_this), "_handler", void 0);
|
|
114026
114027
|
_this._handler = handler;
|
|
114027
114028
|
return _this;
|
|
114028
114029
|
}
|
|
@@ -120124,7 +120125,8 @@ const AXIS_TITLE_TEXT_SIZE = 15;
|
|
|
120124
120125
|
const AXIS_MARGIN = 3;
|
|
120125
120126
|
const THEME_TO_TEXT_COLOR = {
|
|
120126
120127
|
dark: [224, 224, 224],
|
|
120127
|
-
light: [64, 64, 64]
|
|
120128
|
+
light: [64, 64, 64],
|
|
120129
|
+
light2: [64, 64, 64]
|
|
120128
120130
|
};
|
|
120129
120131
|
const AXIS_FONT_FAMILY = "-apple-system, 'Helvetica Neue', Arial, sans-serif";
|
|
120130
120132
|
const PIXELATED_TEXTURE_PARAMETERS = {
|
|
@@ -121228,16 +121230,16 @@ function addDecoder(cases, importFn) {
|
|
|
121228
121230
|
}
|
|
121229
121231
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121230
121232
|
}
|
|
121231
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121232
|
-
addDecoder(5, () => import("./lzw-
|
|
121233
|
+
addDecoder([void 0, 1], () => import("./raw-38daf41c.js").then((m2) => m2.default));
|
|
121234
|
+
addDecoder(5, () => import("./lzw-8f3108ef.js").then((m2) => m2.default));
|
|
121233
121235
|
addDecoder(6, () => {
|
|
121234
121236
|
throw new Error("old style JPEG compression is not supported.");
|
|
121235
121237
|
});
|
|
121236
|
-
addDecoder(7, () => import("./jpeg-
|
|
121237
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121238
|
-
addDecoder(32773, () => import("./packbits-
|
|
121239
|
-
addDecoder(34887, () => import("./lerc-
|
|
121240
|
-
addDecoder(50001, () => import("./webimage-
|
|
121238
|
+
addDecoder(7, () => import("./jpeg-568d6d43.js").then((m2) => m2.default));
|
|
121239
|
+
addDecoder([8, 32946], () => import("./deflate-ab775ef1.js").then((m2) => m2.default));
|
|
121240
|
+
addDecoder(32773, () => import("./packbits-77d77513.js").then((m2) => m2.default));
|
|
121241
|
+
addDecoder(34887, () => import("./lerc-e08e64e5.js").then((m2) => m2.default));
|
|
121242
|
+
addDecoder(50001, () => import("./webimage-c3ff0a0f.js").then((m2) => m2.default));
|
|
121241
121243
|
function decodeRowAcc(row, stride) {
|
|
121242
121244
|
let length2 = row.length - stride;
|
|
121243
121245
|
let offset5 = 0;
|
|
@@ -132479,7 +132481,7 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
132479
132481
|
} = this.state;
|
|
132480
132482
|
if (textures && model) {
|
|
132481
132483
|
const scaleFactor = 1 / 2 ** (maxZoom - zoom);
|
|
132482
|
-
const colors = fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
132484
|
+
const colors = Object.fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
132483
132485
|
model.setUniforms(Object.assign({}, uniforms, {
|
|
132484
132486
|
...colors,
|
|
132485
132487
|
// Bitmask image channel data textures
|
|
@@ -134753,19 +134755,19 @@ function _createClass$1(Constructor, protoProps, staticProps) {
|
|
|
134753
134755
|
});
|
|
134754
134756
|
return Constructor;
|
|
134755
134757
|
}
|
|
134756
|
-
function _setPrototypeOf
|
|
134757
|
-
_setPrototypeOf
|
|
134758
|
+
function _setPrototypeOf(o2, p) {
|
|
134759
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
134758
134760
|
o3.__proto__ = p2;
|
|
134759
134761
|
return o3;
|
|
134760
134762
|
};
|
|
134761
|
-
return _setPrototypeOf
|
|
134763
|
+
return _setPrototypeOf(o2, p);
|
|
134762
134764
|
}
|
|
134763
|
-
function _inheritsLoose
|
|
134765
|
+
function _inheritsLoose(subClass, superClass) {
|
|
134764
134766
|
subClass.prototype = Object.create(superClass.prototype);
|
|
134765
134767
|
subClass.prototype.constructor = subClass;
|
|
134766
|
-
_setPrototypeOf
|
|
134768
|
+
_setPrototypeOf(subClass, superClass);
|
|
134767
134769
|
}
|
|
134768
|
-
function _assertThisInitialized
|
|
134770
|
+
function _assertThisInitialized(self2) {
|
|
134769
134771
|
if (self2 === void 0) {
|
|
134770
134772
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
134771
134773
|
}
|
|
@@ -134972,7 +134974,7 @@ var BaseStyleRule = /* @__PURE__ */ function() {
|
|
|
134972
134974
|
return BaseStyleRule2;
|
|
134973
134975
|
}();
|
|
134974
134976
|
var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
134975
|
-
_inheritsLoose
|
|
134977
|
+
_inheritsLoose(StyleRule2, _BaseStyleRule);
|
|
134976
134978
|
function StyleRule2(key, style, options) {
|
|
134977
134979
|
var _this;
|
|
134978
134980
|
_this = _BaseStyleRule.call(this, key, style, options) || this;
|
|
@@ -134980,7 +134982,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
134980
134982
|
if (selector) {
|
|
134981
134983
|
_this.selectorText = selector;
|
|
134982
134984
|
} else if (scoped !== false) {
|
|
134983
|
-
_this.id = generateId(_assertThisInitialized
|
|
134985
|
+
_this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);
|
|
134984
134986
|
_this.selectorText = "." + escape(_this.id);
|
|
134985
134987
|
}
|
|
134986
134988
|
return _this;
|
|
@@ -135210,7 +135212,7 @@ var pluginKeyframesRule = {
|
|
|
135210
135212
|
}
|
|
135211
135213
|
};
|
|
135212
135214
|
var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
135213
|
-
_inheritsLoose
|
|
135215
|
+
_inheritsLoose(KeyframeRule2, _BaseStyleRule);
|
|
135214
135216
|
function KeyframeRule2() {
|
|
135215
135217
|
return _BaseStyleRule.apply(this, arguments) || this;
|
|
135216
135218
|
}
|
|
@@ -138173,18 +138175,6 @@ function useIsFocusVisible() {
|
|
|
138173
138175
|
ref
|
|
138174
138176
|
};
|
|
138175
138177
|
}
|
|
138176
|
-
function _setPrototypeOf(o2, p) {
|
|
138177
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
138178
|
-
o3.__proto__ = p2;
|
|
138179
|
-
return o3;
|
|
138180
|
-
};
|
|
138181
|
-
return _setPrototypeOf(o2, p);
|
|
138182
|
-
}
|
|
138183
|
-
function _inheritsLoose(subClass, superClass) {
|
|
138184
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
138185
|
-
subClass.prototype.constructor = subClass;
|
|
138186
|
-
_setPrototypeOf(subClass, superClass);
|
|
138187
|
-
}
|
|
138188
138178
|
const config = {
|
|
138189
138179
|
disabled: false
|
|
138190
138180
|
};
|
|
@@ -138430,7 +138420,7 @@ var Transition2 = /* @__PURE__ */ function(_React$Component) {
|
|
|
138430
138420
|
_this$props.onExiting;
|
|
138431
138421
|
_this$props.onExited;
|
|
138432
138422
|
_this$props.nodeRef;
|
|
138433
|
-
var childProps = _objectWithoutPropertiesLoose
|
|
138423
|
+
var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
138434
138424
|
return (
|
|
138435
138425
|
// allows for nested Transitions
|
|
138436
138426
|
/* @__PURE__ */ React__default.createElement(TransitionGroupContext.Provider, {
|
|
@@ -138634,12 +138624,6 @@ Transition2.ENTERING = ENTERING;
|
|
|
138634
138624
|
Transition2.ENTERED = ENTERED;
|
|
138635
138625
|
Transition2.EXITING = EXITING;
|
|
138636
138626
|
const Transition$1 = Transition2;
|
|
138637
|
-
function _assertThisInitialized(self2) {
|
|
138638
|
-
if (self2 === void 0) {
|
|
138639
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
138640
|
-
}
|
|
138641
|
-
return self2;
|
|
138642
|
-
}
|
|
138643
138627
|
function getChildMapping(children, mapFn) {
|
|
138644
138628
|
var mapper = function mapper2(child) {
|
|
138645
138629
|
return mapFn && isValidElement(child) ? mapFn(child) : child;
|
|
@@ -138788,7 +138772,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
138788
138772
|
}
|
|
138789
138773
|
if (this.mounted) {
|
|
138790
138774
|
this.setState(function(state) {
|
|
138791
|
-
var children = _extends$
|
|
138775
|
+
var children = _extends$2({}, state.children);
|
|
138792
138776
|
delete children[child.key];
|
|
138793
138777
|
return {
|
|
138794
138778
|
children
|
|
@@ -138797,7 +138781,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
138797
138781
|
}
|
|
138798
138782
|
};
|
|
138799
138783
|
_proto.render = function render() {
|
|
138800
|
-
var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose
|
|
138784
|
+
var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
|
138801
138785
|
var contextValue = this.state.contextValue;
|
|
138802
138786
|
var children = values(this.state.children).map(childFactory2);
|
|
138803
138787
|
delete props2.appear;
|
|
@@ -148769,10 +148753,13 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
|
|
|
148769
148753
|
y: p.centroid[1],
|
|
148770
148754
|
label: p.name
|
|
148771
148755
|
}));
|
|
148772
|
-
const collisionForce = this.cellSetsForceSimulation.size((d) =>
|
|
148773
|
-
|
|
148774
|
-
|
|
148775
|
-
|
|
148756
|
+
const collisionForce = this.cellSetsForceSimulation.size((d) => {
|
|
148757
|
+
var _a2;
|
|
148758
|
+
return [
|
|
148759
|
+
cellSetLabelSize * 1 / 2 ** zoom * 4 * ((_a2 = d == null ? void 0 : d.label) == null ? void 0 : _a2.length),
|
|
148760
|
+
cellSetLabelSize * 1 / 2 ** zoom * 1.5
|
|
148761
|
+
];
|
|
148762
|
+
});
|
|
148776
148763
|
forceSimulation().nodes(nodes).force("collision", collisionForce).tick(NUM_FORCE_SIMULATION_TICKS);
|
|
148777
148764
|
result.push(new TextLayer({
|
|
148778
148765
|
id: "cell-sets-text-layer",
|