@vitessce/heatmap 3.5.7 → 3.5.9
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-fffd8c02.js → deflate-0ad22b29.js} +1 -1
- package/dist/{index-843bbcc5.js → index-1efb621a.js} +572 -596
- package/dist/index.js +1 -1
- package/dist/{jpeg-4b1b3c31.js → jpeg-c9fcfef5.js} +1 -1
- package/dist/{lerc-f492be43.js → lerc-a13625a5.js} +1 -1
- package/dist/{lzw-e8d09d74.js → lzw-a6f4336c.js} +1 -1
- package/dist/{packbits-5d8615dc.js → packbits-3a229772.js} +1 -1
- package/dist/{raw-4a476cb0.js → raw-e57b711b.js} +1 -1
- package/dist/{webimage-019fbbb1.js → webimage-1ade83b1.js} +1 -1
- package/package.json +9 -9
|
@@ -1776,7 +1776,7 @@ var reTrimStart = /^\s+/;
|
|
|
1776
1776
|
function baseTrim(string2) {
|
|
1777
1777
|
return string2 ? string2.slice(0, trimmedEndIndex(string2) + 1).replace(reTrimStart, "") : string2;
|
|
1778
1778
|
}
|
|
1779
|
-
function isObject$
|
|
1779
|
+
function isObject$5(value) {
|
|
1780
1780
|
var type2 = typeof value;
|
|
1781
1781
|
return value != null && (type2 == "object" || type2 == "function");
|
|
1782
1782
|
}
|
|
@@ -1792,9 +1792,9 @@ function toNumber$1(value) {
|
|
|
1792
1792
|
if (isSymbol$1(value)) {
|
|
1793
1793
|
return NAN$1;
|
|
1794
1794
|
}
|
|
1795
|
-
if (isObject$
|
|
1795
|
+
if (isObject$5(value)) {
|
|
1796
1796
|
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
1797
|
-
value = isObject$
|
|
1797
|
+
value = isObject$5(other) ? other + "" : other;
|
|
1798
1798
|
}
|
|
1799
1799
|
if (typeof value != "string") {
|
|
1800
1800
|
return value === 0 ? value : +value;
|
|
@@ -1816,8 +1816,8 @@ function toFinite(value) {
|
|
|
1816
1816
|
return value === value ? value : 0;
|
|
1817
1817
|
}
|
|
1818
1818
|
var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
|
|
1819
|
-
function isFunction$
|
|
1820
|
-
if (!isObject$
|
|
1819
|
+
function isFunction$4(value) {
|
|
1820
|
+
if (!isObject$5(value)) {
|
|
1821
1821
|
return false;
|
|
1822
1822
|
}
|
|
1823
1823
|
var tag = baseGetTag(value);
|
|
@@ -1856,10 +1856,10 @@ var reIsNative = RegExp(
|
|
|
1856
1856
|
"^" + funcToString.call(hasOwnProperty$c).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1857
1857
|
);
|
|
1858
1858
|
function baseIsNative(value) {
|
|
1859
|
-
if (!isObject$
|
|
1859
|
+
if (!isObject$5(value) || isMasked(value)) {
|
|
1860
1860
|
return false;
|
|
1861
1861
|
}
|
|
1862
|
-
var pattern = isFunction$
|
|
1862
|
+
var pattern = isFunction$4(value) ? reIsNative : reIsHostCtor;
|
|
1863
1863
|
return pattern.test(toSource(value));
|
|
1864
1864
|
}
|
|
1865
1865
|
function getValue$1(object2, key) {
|
|
@@ -1876,7 +1876,7 @@ var baseCreate = function() {
|
|
|
1876
1876
|
function object2() {
|
|
1877
1877
|
}
|
|
1878
1878
|
return function(proto) {
|
|
1879
|
-
if (!isObject$
|
|
1879
|
+
if (!isObject$5(proto)) {
|
|
1880
1880
|
return {};
|
|
1881
1881
|
}
|
|
1882
1882
|
if (objectCreate) {
|
|
@@ -1968,10 +1968,10 @@ function isLength(value) {
|
|
|
1968
1968
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$2;
|
|
1969
1969
|
}
|
|
1970
1970
|
function isArrayLike(value) {
|
|
1971
|
-
return value != null && isLength(value.length) && !isFunction$
|
|
1971
|
+
return value != null && isLength(value.length) && !isFunction$4(value);
|
|
1972
1972
|
}
|
|
1973
1973
|
function isIterateeCall(value, index2, object2) {
|
|
1974
|
-
if (!isObject$
|
|
1974
|
+
if (!isObject$5(object2)) {
|
|
1975
1975
|
return false;
|
|
1976
1976
|
}
|
|
1977
1977
|
var type2 = typeof index2;
|
|
@@ -2097,7 +2097,7 @@ function nativeKeysIn(object2) {
|
|
|
2097
2097
|
var objectProto$7 = Object.prototype;
|
|
2098
2098
|
var hasOwnProperty$7 = objectProto$7.hasOwnProperty;
|
|
2099
2099
|
function baseKeysIn(object2) {
|
|
2100
|
-
if (!isObject$
|
|
2100
|
+
if (!isObject$5(object2)) {
|
|
2101
2101
|
return nativeKeysIn(object2);
|
|
2102
2102
|
}
|
|
2103
2103
|
var isProto = isPrototype(object2), result = [];
|
|
@@ -2543,7 +2543,7 @@ function baseClone(value, bitmask, customizer, key, object2, stack2) {
|
|
|
2543
2543
|
if (result !== void 0) {
|
|
2544
2544
|
return result;
|
|
2545
2545
|
}
|
|
2546
|
-
if (!isObject$
|
|
2546
|
+
if (!isObject$5(value)) {
|
|
2547
2547
|
return value;
|
|
2548
2548
|
}
|
|
2549
2549
|
var isArr = isArray$4(value);
|
|
@@ -2837,7 +2837,7 @@ function debounce$2(func, wait, options) {
|
|
|
2837
2837
|
throw new TypeError(FUNC_ERROR_TEXT$1);
|
|
2838
2838
|
}
|
|
2839
2839
|
wait = toNumber$1(wait) || 0;
|
|
2840
|
-
if (isObject$
|
|
2840
|
+
if (isObject$5(options)) {
|
|
2841
2841
|
leading = !!options.leading;
|
|
2842
2842
|
maxing = "maxWait" in options;
|
|
2843
2843
|
maxWait = maxing ? nativeMax$2(toNumber$1(options.maxWait) || 0, wait) : maxWait;
|
|
@@ -3042,7 +3042,7 @@ function point(coordinates2, properties, options) {
|
|
|
3042
3042
|
if (coordinates2.length < 2) {
|
|
3043
3043
|
throw new Error("coordinates must be at least 2 numbers long");
|
|
3044
3044
|
}
|
|
3045
|
-
if (!isNumber(coordinates2[0]) || !isNumber(coordinates2[1])) {
|
|
3045
|
+
if (!isNumber$1(coordinates2[0]) || !isNumber$1(coordinates2[1])) {
|
|
3046
3046
|
throw new Error("coordinates must contain numbers");
|
|
3047
3047
|
}
|
|
3048
3048
|
var geom = {
|
|
@@ -3243,10 +3243,10 @@ function convertArea(area2, originalUnit, finalUnit) {
|
|
|
3243
3243
|
}
|
|
3244
3244
|
return area2 / startFactor * finalFactor;
|
|
3245
3245
|
}
|
|
3246
|
-
function isNumber(num) {
|
|
3246
|
+
function isNumber$1(num) {
|
|
3247
3247
|
return !isNaN(num) && num !== null && !Array.isArray(num);
|
|
3248
3248
|
}
|
|
3249
|
-
function isObject$
|
|
3249
|
+
function isObject$4(input) {
|
|
3250
3250
|
return !!input && input.constructor === Object;
|
|
3251
3251
|
}
|
|
3252
3252
|
function validateBBox(bbox2) {
|
|
@@ -3260,7 +3260,7 @@ function validateBBox(bbox2) {
|
|
|
3260
3260
|
throw new Error("bbox must be an Array of 4 or 6 numbers");
|
|
3261
3261
|
}
|
|
3262
3262
|
bbox2.forEach(function(num) {
|
|
3263
|
-
if (!isNumber(num)) {
|
|
3263
|
+
if (!isNumber$1(num)) {
|
|
3264
3264
|
throw new Error("bbox must only contain numbers");
|
|
3265
3265
|
}
|
|
3266
3266
|
});
|
|
@@ -3286,8 +3286,8 @@ const es$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
3286
3286
|
featureCollection: featureCollection$1,
|
|
3287
3287
|
geometry: geometry$1,
|
|
3288
3288
|
geometryCollection,
|
|
3289
|
-
isNumber,
|
|
3290
|
-
isObject: isObject$
|
|
3289
|
+
isNumber: isNumber$1,
|
|
3290
|
+
isObject: isObject$4,
|
|
3291
3291
|
lengthToDegrees,
|
|
3292
3292
|
lengthToRadians,
|
|
3293
3293
|
lineString,
|
|
@@ -3729,7 +3729,7 @@ function lineReduce$1(geojson, callback, initialValue) {
|
|
|
3729
3729
|
}
|
|
3730
3730
|
function findSegment$1(geojson, options) {
|
|
3731
3731
|
options = options || {};
|
|
3732
|
-
if (!isObject$
|
|
3732
|
+
if (!isObject$4(options))
|
|
3733
3733
|
throw new Error("options is invalid");
|
|
3734
3734
|
var featureIndex = options.featureIndex || 0;
|
|
3735
3735
|
var multiFeatureIndex = options.multiFeatureIndex || 0;
|
|
@@ -3821,7 +3821,7 @@ function findSegment$1(geojson, options) {
|
|
|
3821
3821
|
}
|
|
3822
3822
|
function findPoint$1(geojson, options) {
|
|
3823
3823
|
options = options || {};
|
|
3824
|
-
if (!isObject$
|
|
3824
|
+
if (!isObject$4(options))
|
|
3825
3825
|
throw new Error("options is invalid");
|
|
3826
3826
|
var featureIndex = options.featureIndex || 0;
|
|
3827
3827
|
var multiFeatureIndex = options.multiFeatureIndex || 0;
|
|
@@ -9152,9 +9152,9 @@ var debug_1 = debug$2;
|
|
|
9152
9152
|
const re2 = exports2.re = [];
|
|
9153
9153
|
const src = exports2.src = [];
|
|
9154
9154
|
const t2 = exports2.t = {};
|
|
9155
|
-
let
|
|
9155
|
+
let R = 0;
|
|
9156
9156
|
const createToken = (name2, value, isGlobal) => {
|
|
9157
|
-
const index2 =
|
|
9157
|
+
const index2 = R++;
|
|
9158
9158
|
debug2(name2, index2, value);
|
|
9159
9159
|
t2[name2] = index2;
|
|
9160
9160
|
src[index2] = value;
|
|
@@ -11253,8 +11253,13 @@ const ViewType$1 = {
|
|
|
11253
11253
|
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
11254
11254
|
DOT_PLOT: "dotPlot",
|
|
11255
11255
|
FEATURE_BAR_PLOT: "featureBarPlot",
|
|
11256
|
+
VOLCANO_PLOT: "volcanoPlot",
|
|
11257
|
+
OBS_SET_COMPOSITION_BAR_PLOT: "obsSetCompositionBarPlot",
|
|
11258
|
+
FEATURE_SET_ENRICHMENT_BAR_PLOT: "featureSetEnrichmentBarPlot",
|
|
11256
11259
|
BIOMARKER_SELECT: "biomarkerSelect",
|
|
11260
|
+
COMPARATIVE_HEADING: "comparativeHeading",
|
|
11257
11261
|
LINK_CONTROLLER: "linkController",
|
|
11262
|
+
NEUROGLANCER: "neuroglancer",
|
|
11258
11263
|
DUAL_SCATTERPLOT: "dualScatterplot",
|
|
11259
11264
|
TREEMAP: "treemap"
|
|
11260
11265
|
};
|
|
@@ -11272,7 +11277,11 @@ const DataType$2 = {
|
|
|
11272
11277
|
OBS_POINTS: "obsPoints",
|
|
11273
11278
|
OBS_LOCATIONS: "obsLocations",
|
|
11274
11279
|
SAMPLE_SETS: "sampleSets",
|
|
11275
|
-
SAMPLE_EDGES: "sampleEdges"
|
|
11280
|
+
SAMPLE_EDGES: "sampleEdges",
|
|
11281
|
+
COMPARISON_METADATA: "comparisonMetadata",
|
|
11282
|
+
FEATURE_STATS: "featureStats",
|
|
11283
|
+
FEATURE_SET_STATS: "featureSetStats",
|
|
11284
|
+
OBS_SET_STATS: "obsSetStats"
|
|
11276
11285
|
};
|
|
11277
11286
|
const FileType$1 = {
|
|
11278
11287
|
// Joint file types
|
|
@@ -11311,6 +11320,10 @@ const FileType$1 = {
|
|
|
11311
11320
|
FEATURE_LABELS_ANNDATA_ZARR: "featureLabels.anndata.zarr",
|
|
11312
11321
|
SAMPLE_EDGES_ANNDATA_ZARR: "sampleEdges.anndata.zarr",
|
|
11313
11322
|
SAMPLE_SETS_ANNDATA_ZARR: "sampleSets.anndata.zarr",
|
|
11323
|
+
COMPARISON_METADATA_ANNDATA_ZARR: "comparisonMetadata.anndata.zarr",
|
|
11324
|
+
COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR: "comparativeFeatureStats.anndata.zarr",
|
|
11325
|
+
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR: "comparativeFeatureSetStats.anndata.zarr",
|
|
11326
|
+
COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR: "comparativeObsSetStats.anndata.zarr",
|
|
11314
11327
|
// AnnData - zipped
|
|
11315
11328
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR_ZIP: "obsFeatureMatrix.anndata.zarr.zip",
|
|
11316
11329
|
OBS_FEATURE_COLUMNS_ANNDATA_ZARR_ZIP: "obsFeatureColumns.anndata.zarr.zip",
|
|
@@ -11324,6 +11337,10 @@ const FileType$1 = {
|
|
|
11324
11337
|
FEATURE_LABELS_ANNDATA_ZARR_ZIP: "featureLabels.anndata.zarr.zip",
|
|
11325
11338
|
SAMPLE_EDGES_ANNDATA_ZARR_ZIP: "sampleEdges.anndata.zarr.zip",
|
|
11326
11339
|
SAMPLE_SETS_ANNDATA_ZARR_ZIP: "sampleSets.anndata.zarr.zip",
|
|
11340
|
+
COMPARISON_METADATA_ANNDATA_ZARR_ZIP: "comparisonMetadata.anndata.zarr.zip",
|
|
11341
|
+
COMPARATIVE_FEATURE_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureStats.anndata.zarr.zip",
|
|
11342
|
+
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeFeatureSetStats.anndata.zarr.zip",
|
|
11343
|
+
COMPARATIVE_OBS_SET_STATS_ANNDATA_ZARR_ZIP: "comparativeObsSetStats.anndata.zarr.zip",
|
|
11327
11344
|
// AnnData - h5ad via reference spec
|
|
11328
11345
|
OBS_FEATURE_MATRIX_ANNDATA_H5AD: "obsFeatureMatrix.anndata.h5ad",
|
|
11329
11346
|
OBS_FEATURE_COLUMNS_ANNDATA_H5AD: "obsFeatureColumns.anndata.h5ad",
|
|
@@ -11337,6 +11354,10 @@ const FileType$1 = {
|
|
|
11337
11354
|
FEATURE_LABELS_ANNDATA_H5AD: "featureLabels.anndata.h5ad",
|
|
11338
11355
|
SAMPLE_EDGES_ANNDATA_H5AD: "sampleEdges.anndata.h5ad",
|
|
11339
11356
|
SAMPLE_SETS_ANNDATA_H5AD: "sampleSets.anndata.h5ad",
|
|
11357
|
+
COMPARISON_METADATA_ANNDATA_H5AD: "comparisonMetadata.anndata.h5ad",
|
|
11358
|
+
COMPARATIVE_FEATURE_STATS_ANNDATA_H5AD: "comparativeFeatureStats.anndata.h5ad",
|
|
11359
|
+
COMPARATIVE_FEATURE_SET_STATS_ANNDATA_H5AD: "comparativeFeatureSetStats.anndata.h5ad",
|
|
11360
|
+
COMPARATIVE_OBS_SET_STATS_ANNDATA_H5AD: "comparativeObsSetStats.anndata.h5ad",
|
|
11340
11361
|
// SpatialData
|
|
11341
11362
|
IMAGE_SPATIALDATA_ZARR: "image.spatialdata.zarr",
|
|
11342
11363
|
LABELS_SPATIALDATA_ZARR: "labels.spatialdata.zarr",
|
|
@@ -11535,6 +11556,11 @@ const CoordinationType$1 = {
|
|
|
11535
11556
|
EMBEDDING_CONTOUR_PERCENTILES: "embeddingContourPercentiles",
|
|
11536
11557
|
CONTOUR_COLOR_ENCODING: "contourColorEncoding",
|
|
11537
11558
|
CONTOUR_COLOR: "contourColor",
|
|
11559
|
+
// For volcano plot:
|
|
11560
|
+
FEATURE_POINT_SIGNIFICANCE_THRESHOLD: "featurePointSignificanceThreshold",
|
|
11561
|
+
FEATURE_LABEL_SIGNIFICANCE_THRESHOLD: "featureLabelSignificanceThreshold",
|
|
11562
|
+
FEATURE_POINT_FOLD_CHANGE_THRESHOLD: "featurePointFoldChangeThreshold",
|
|
11563
|
+
FEATURE_LABEL_FOLD_CHANGE_THRESHOLD: "featureLabelFoldChangeThreshold",
|
|
11538
11564
|
// Treemap
|
|
11539
11565
|
HIERARCHY_LEVELS: "hierarchyLevels"
|
|
11540
11566
|
};
|
|
@@ -11554,9 +11580,16 @@ const ViewHelpMapping = {
|
|
|
11554
11580
|
FEATURE_VALUE_HISTOGRAM: "The feature value histogram displays the distribution of values (e.g., expression) for the selected feature (e.g., gene).",
|
|
11555
11581
|
DOT_PLOT: "The dot plot displays summary information about expression of the selected features (e.g., genes) for each selected observation set (e.g., cell type).",
|
|
11556
11582
|
FEATURE_BAR_PLOT: "The feature bar plot displays one bar per observation (e.g., cell) along the x-axis, where the value of a selected feature (e.g., gene) is encoded along the y-axis.",
|
|
11557
|
-
|
|
11583
|
+
NEUROGLANCER: "The Neuroglancer view displays 3d meshes using Neuroglancer developed by Google.",
|
|
11584
|
+
TREEMAP: "The treemap provides an overview of the current state of sample-level or cell-level selection and filtering.",
|
|
11585
|
+
VOLCANO_PLOT: "The volcano plot displays differential expression results. Each data point represents a feature (as opposed to an observation).",
|
|
11586
|
+
OBS_SET_COMPOSITION_BAR_PLOT: "The set composition bar plot displays the results of a compositional analysis conducted using the scCODA method (Büttner et al. 2021 Nature Communications).",
|
|
11587
|
+
FEATURE_SET_ENRICHMENT_BAR_PLOT: "The feature set enrichment bar plot displays the results of a hypergeometric test applied to the differential expression test results to identify enriched pathway gene sets."
|
|
11558
11588
|
};
|
|
11559
11589
|
const COMPONENT_COORDINATION_TYPES = {
|
|
11590
|
+
[ViewType$1.NEUROGLANCER]: [
|
|
11591
|
+
CoordinationType$1.DATASET
|
|
11592
|
+
],
|
|
11560
11593
|
[ViewType$1.SCATTERPLOT]: [
|
|
11561
11594
|
CoordinationType$1.DATASET,
|
|
11562
11595
|
CoordinationType$1.OBS_TYPE,
|
|
@@ -12026,8 +12059,64 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12026
12059
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
12027
12060
|
CoordinationType$1.ADDITIONAL_OBS_SETS
|
|
12028
12061
|
],
|
|
12062
|
+
[ViewType$1.VOLCANO_PLOT]: [
|
|
12063
|
+
CoordinationType$1.DATASET,
|
|
12064
|
+
CoordinationType$1.OBS_TYPE,
|
|
12065
|
+
CoordinationType$1.FEATURE_TYPE,
|
|
12066
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12067
|
+
// For selection of case-control sets of samples:
|
|
12068
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12069
|
+
// For selection of one-vs-others sets of observations:
|
|
12070
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12071
|
+
// TODO: CoordinationType.FEATURE_SET_SELECTION,
|
|
12072
|
+
// TODO: CoordinationType.FEATURE_SET_HIGHLIGHT,
|
|
12073
|
+
// TODO: CoordinationType.FEATURE_SET_COLOR,
|
|
12074
|
+
CoordinationType$1.FEATURE_HIGHLIGHT,
|
|
12075
|
+
CoordinationType$1.FEATURE_SELECTION,
|
|
12076
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
12077
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
12078
|
+
// TODO: CoordinationType.FEATURE_COLOR_ENCODING,
|
|
12079
|
+
// TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
|
|
12080
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
12081
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12082
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12083
|
+
CoordinationType$1.SAMPLE_SET_COLOR,
|
|
12084
|
+
CoordinationType$1.FEATURE_POINT_SIGNIFICANCE_THRESHOLD,
|
|
12085
|
+
CoordinationType$1.FEATURE_LABEL_SIGNIFICANCE_THRESHOLD,
|
|
12086
|
+
CoordinationType$1.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
|
|
12087
|
+
CoordinationType$1.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
|
|
12088
|
+
],
|
|
12089
|
+
[ViewType$1.OBS_SET_COMPOSITION_BAR_PLOT]: [
|
|
12090
|
+
CoordinationType$1.DATASET,
|
|
12091
|
+
CoordinationType$1.OBS_TYPE,
|
|
12092
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12093
|
+
// For selection of case-control sets of samples:
|
|
12094
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12095
|
+
// For selection of one-vs-others sets of observations:
|
|
12096
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12097
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12098
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12099
|
+
CoordinationType$1.SAMPLE_SET_COLOR
|
|
12100
|
+
],
|
|
12101
|
+
[ViewType$1.FEATURE_SET_ENRICHMENT_BAR_PLOT]: [
|
|
12102
|
+
CoordinationType$1.DATASET,
|
|
12103
|
+
CoordinationType$1.OBS_TYPE,
|
|
12104
|
+
CoordinationType$1.FEATURE_TYPE,
|
|
12105
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12106
|
+
// For selection of case-control sets of samples:
|
|
12107
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12108
|
+
// For selection of one-vs-others sets of observations:
|
|
12109
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12110
|
+
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
12111
|
+
CoordinationType$1.OBS_SET_COLOR,
|
|
12112
|
+
CoordinationType$1.SAMPLE_SET_COLOR,
|
|
12113
|
+
CoordinationType$1.FEATURE_SELECTION
|
|
12114
|
+
],
|
|
12029
12115
|
[ViewType$1.LINK_CONTROLLER]: [],
|
|
12030
12116
|
[ViewType$1.BIOMARKER_SELECT]: [
|
|
12117
|
+
CoordinationType$1.DATASET,
|
|
12118
|
+
CoordinationType$1.OBS_TYPE,
|
|
12119
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12031
12120
|
CoordinationType$1.FEATURE_SELECTION,
|
|
12032
12121
|
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12033
12122
|
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
@@ -12035,6 +12124,16 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
12035
12124
|
CoordinationType$1.OBS_SET_FILTER
|
|
12036
12125
|
// TODO: create coordination types for internal state of the biomarker selection view?
|
|
12037
12126
|
],
|
|
12127
|
+
[ViewType$1.COMPARATIVE_HEADING]: [
|
|
12128
|
+
CoordinationType$1.DATASET,
|
|
12129
|
+
CoordinationType$1.OBS_TYPE,
|
|
12130
|
+
CoordinationType$1.SAMPLE_TYPE,
|
|
12131
|
+
CoordinationType$1.FEATURE_SELECTION,
|
|
12132
|
+
CoordinationType$1.SAMPLE_SET_SELECTION,
|
|
12133
|
+
CoordinationType$1.SAMPLE_SET_FILTER,
|
|
12134
|
+
CoordinationType$1.OBS_SET_SELECTION,
|
|
12135
|
+
CoordinationType$1.OBS_SET_FILTER
|
|
12136
|
+
],
|
|
12038
12137
|
[ViewType$1.TREEMAP]: [
|
|
12039
12138
|
CoordinationType$1.DATASET,
|
|
12040
12139
|
CoordinationType$1.OBS_TYPE,
|
|
@@ -12307,6 +12406,42 @@ const annDataConvenienceObsEmbeddingItem = z.object({
|
|
|
12307
12406
|
dims: z.array(z.number()).optional(),
|
|
12308
12407
|
embeddingType: z.string()
|
|
12309
12408
|
});
|
|
12409
|
+
z.object({
|
|
12410
|
+
path: z.string().describe("Path to the comparison metadata, such as /uns/comparison_metadata")
|
|
12411
|
+
});
|
|
12412
|
+
z.object({
|
|
12413
|
+
// TODO: implement a featureStats.anndata.zarr loader
|
|
12414
|
+
// which does not depend on comparisonMetadata
|
|
12415
|
+
// (instead, would point directly to the root of
|
|
12416
|
+
// the dataframe containing a set of diff exp results)
|
|
12417
|
+
// path: z.string().describe('Path to the dataframe containing the results.'),
|
|
12418
|
+
metadataPath: z.string().describe("Path to the comparison metadata."),
|
|
12419
|
+
indexColumn: z.string().optional().describe("Provide a column to use for the feature index, if different than the default dataframe index."),
|
|
12420
|
+
pValueColumn: z.string(),
|
|
12421
|
+
foldChangeColumn: z.string(),
|
|
12422
|
+
pValueTransformation: z.enum(["minuslog10"]).optional(),
|
|
12423
|
+
pValueAdjusted: z.boolean().optional(),
|
|
12424
|
+
foldChangeTransformation: z.enum(["log2"]).optional()
|
|
12425
|
+
});
|
|
12426
|
+
z.object({
|
|
12427
|
+
metadataPath: z.string().describe("Path to the comparison metadata."),
|
|
12428
|
+
indexColumn: z.string().optional().describe("Provide a column to use for the feature set index, if different than the default dataframe index."),
|
|
12429
|
+
termColumn: z.string().optional(),
|
|
12430
|
+
pValueColumn: z.string(),
|
|
12431
|
+
pValueAdjusted: z.boolean().optional(),
|
|
12432
|
+
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, pertpy_hypergeometric.")
|
|
12433
|
+
});
|
|
12434
|
+
z.object({
|
|
12435
|
+
metadataPath: z.string().describe("Path to the comparison metadata."),
|
|
12436
|
+
indexColumn: z.string().optional().describe("Provide a column to use for the obs set index, if different than the default dataframe index."),
|
|
12437
|
+
interceptExpectedSampleColumn: z.string().describe("If we had a new sample (with no active covariates) with a total number of cells equal to the mean sampling depth of the dataset, then this distribution over the cell types would be most likely."),
|
|
12438
|
+
effectExpectedSampleColumn: z.string().describe("If we had a new sample (with no active covariates) with a total number of cells equal to the mean sampling depth of the dataset, then this distribution over the cell types would be most likely."),
|
|
12439
|
+
foldChangeColumn: z.string().describe("The log-fold change is then calculated between this expected sample and the expected sample with no active covariates from the intercept section."),
|
|
12440
|
+
foldChangeTransformation: z.enum(["log2"]).optional(),
|
|
12441
|
+
isCredibleEffectColumn: z.string().describe("Column which annotates effects as being credible or not (boolean)."),
|
|
12442
|
+
covariateColumn: z.string().describe("Column which defines the covariate used in the analysis."),
|
|
12443
|
+
analysisType: z.string().optional().describe("Optionally, provide an analysis_type name. By default, sccoda_df.")
|
|
12444
|
+
});
|
|
12310
12445
|
const annDataObsLabels = annDataObs;
|
|
12311
12446
|
const annDataFeatureLabels = annDataObs;
|
|
12312
12447
|
const annDataSampleEdges = annDataObs;
|
|
@@ -12626,14 +12761,14 @@ var tinycolor = { exports: {} };
|
|
|
12626
12761
|
},
|
|
12627
12762
|
getLuminance: function() {
|
|
12628
12763
|
var rgb2 = this.toRgb();
|
|
12629
|
-
var RsRGB, GsRGB, BsRGB,
|
|
12764
|
+
var RsRGB, GsRGB, BsRGB, R, G2, B2;
|
|
12630
12765
|
RsRGB = rgb2.r / 255;
|
|
12631
12766
|
GsRGB = rgb2.g / 255;
|
|
12632
12767
|
BsRGB = rgb2.b / 255;
|
|
12633
12768
|
if (RsRGB <= 0.03928) {
|
|
12634
|
-
|
|
12769
|
+
R = RsRGB / 12.92;
|
|
12635
12770
|
} else {
|
|
12636
|
-
|
|
12771
|
+
R = Math2.pow((RsRGB + 0.055) / 1.055, 2.4);
|
|
12637
12772
|
}
|
|
12638
12773
|
if (GsRGB <= 0.03928) {
|
|
12639
12774
|
G2 = GsRGB / 12.92;
|
|
@@ -12645,7 +12780,7 @@ var tinycolor = { exports: {} };
|
|
|
12645
12780
|
} else {
|
|
12646
12781
|
B2 = Math2.pow((BsRGB + 0.055) / 1.055, 2.4);
|
|
12647
12782
|
}
|
|
12648
|
-
return 0.2126 *
|
|
12783
|
+
return 0.2126 * R + 0.7152 * G2 + 0.0722 * B2;
|
|
12649
12784
|
},
|
|
12650
12785
|
setAlpha: function(value) {
|
|
12651
12786
|
this._a = boundAlpha(value);
|
|
@@ -13614,7 +13749,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13614
13749
|
}
|
|
13615
13750
|
this._maxListeners = this._maxListeners || void 0;
|
|
13616
13751
|
};
|
|
13617
|
-
EventEmitter2.prototype.setMaxListeners = function
|
|
13752
|
+
EventEmitter2.prototype.setMaxListeners = function setMaxListeners(n2) {
|
|
13618
13753
|
if (typeof n2 !== "number" || n2 < 0 || isNaN(n2))
|
|
13619
13754
|
throw new TypeError('"n" argument must be a positive number');
|
|
13620
13755
|
this._maxListeners = n2;
|
|
@@ -13625,7 +13760,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13625
13760
|
return EventEmitter2.defaultMaxListeners;
|
|
13626
13761
|
return that._maxListeners;
|
|
13627
13762
|
}
|
|
13628
|
-
EventEmitter2.prototype.getMaxListeners = function
|
|
13763
|
+
EventEmitter2.prototype.getMaxListeners = function getMaxListeners() {
|
|
13629
13764
|
return $getMaxListeners(this);
|
|
13630
13765
|
};
|
|
13631
13766
|
function emitNone(handler, isFn, self2) {
|
|
@@ -13633,9 +13768,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13633
13768
|
handler.call(self2);
|
|
13634
13769
|
else {
|
|
13635
13770
|
var len2 = handler.length;
|
|
13636
|
-
var
|
|
13771
|
+
var listeners = arrayClone(handler, len2);
|
|
13637
13772
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13638
|
-
|
|
13773
|
+
listeners[i2].call(self2);
|
|
13639
13774
|
}
|
|
13640
13775
|
}
|
|
13641
13776
|
function emitOne(handler, isFn, self2, arg1) {
|
|
@@ -13643,9 +13778,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13643
13778
|
handler.call(self2, arg1);
|
|
13644
13779
|
else {
|
|
13645
13780
|
var len2 = handler.length;
|
|
13646
|
-
var
|
|
13781
|
+
var listeners = arrayClone(handler, len2);
|
|
13647
13782
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13648
|
-
|
|
13783
|
+
listeners[i2].call(self2, arg1);
|
|
13649
13784
|
}
|
|
13650
13785
|
}
|
|
13651
13786
|
function emitTwo(handler, isFn, self2, arg1, arg2) {
|
|
@@ -13653,9 +13788,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13653
13788
|
handler.call(self2, arg1, arg2);
|
|
13654
13789
|
else {
|
|
13655
13790
|
var len2 = handler.length;
|
|
13656
|
-
var
|
|
13791
|
+
var listeners = arrayClone(handler, len2);
|
|
13657
13792
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13658
|
-
|
|
13793
|
+
listeners[i2].call(self2, arg1, arg2);
|
|
13659
13794
|
}
|
|
13660
13795
|
}
|
|
13661
13796
|
function emitThree(handler, isFn, self2, arg1, arg2, arg3) {
|
|
@@ -13663,9 +13798,9 @@ var json2csv_umd = { exports: {} };
|
|
|
13663
13798
|
handler.call(self2, arg1, arg2, arg3);
|
|
13664
13799
|
else {
|
|
13665
13800
|
var len2 = handler.length;
|
|
13666
|
-
var
|
|
13801
|
+
var listeners = arrayClone(handler, len2);
|
|
13667
13802
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13668
|
-
|
|
13803
|
+
listeners[i2].call(self2, arg1, arg2, arg3);
|
|
13669
13804
|
}
|
|
13670
13805
|
}
|
|
13671
13806
|
function emitMany(handler, isFn, self2, args) {
|
|
@@ -13673,12 +13808,12 @@ var json2csv_umd = { exports: {} };
|
|
|
13673
13808
|
handler.apply(self2, args);
|
|
13674
13809
|
else {
|
|
13675
13810
|
var len2 = handler.length;
|
|
13676
|
-
var
|
|
13811
|
+
var listeners = arrayClone(handler, len2);
|
|
13677
13812
|
for (var i2 = 0; i2 < len2; ++i2)
|
|
13678
|
-
|
|
13813
|
+
listeners[i2].apply(self2, args);
|
|
13679
13814
|
}
|
|
13680
13815
|
}
|
|
13681
|
-
EventEmitter2.prototype.emit = function
|
|
13816
|
+
EventEmitter2.prototype.emit = function emit(type3) {
|
|
13682
13817
|
var er, handler, len2, args, i2, events2, domain2;
|
|
13683
13818
|
var doError = type3 === "error";
|
|
13684
13819
|
events2 = this._events;
|
|
@@ -13731,7 +13866,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13731
13866
|
}
|
|
13732
13867
|
return true;
|
|
13733
13868
|
};
|
|
13734
|
-
function
|
|
13869
|
+
function _addListener(target, type3, listener, prepend) {
|
|
13735
13870
|
var m;
|
|
13736
13871
|
var events2;
|
|
13737
13872
|
var existing;
|
|
@@ -13783,14 +13918,14 @@ var json2csv_umd = { exports: {} };
|
|
|
13783
13918
|
function emitWarning(e3) {
|
|
13784
13919
|
typeof console.warn === "function" ? console.warn(e3) : console.log(e3);
|
|
13785
13920
|
}
|
|
13786
|
-
EventEmitter2.prototype.addListener = function
|
|
13787
|
-
return
|
|
13921
|
+
EventEmitter2.prototype.addListener = function addListener(type3, listener) {
|
|
13922
|
+
return _addListener(this, type3, listener, false);
|
|
13788
13923
|
};
|
|
13789
13924
|
EventEmitter2.prototype.on = EventEmitter2.prototype.addListener;
|
|
13790
|
-
EventEmitter2.prototype.prependListener = function
|
|
13791
|
-
return
|
|
13925
|
+
EventEmitter2.prototype.prependListener = function prependListener2(type3, listener) {
|
|
13926
|
+
return _addListener(this, type3, listener, true);
|
|
13792
13927
|
};
|
|
13793
|
-
function
|
|
13928
|
+
function _onceWrap(target, type3, listener) {
|
|
13794
13929
|
var fired = false;
|
|
13795
13930
|
function g2() {
|
|
13796
13931
|
target.removeListener(type3, g2);
|
|
@@ -13802,19 +13937,19 @@ var json2csv_umd = { exports: {} };
|
|
|
13802
13937
|
g2.listener = listener;
|
|
13803
13938
|
return g2;
|
|
13804
13939
|
}
|
|
13805
|
-
EventEmitter2.prototype.once = function
|
|
13940
|
+
EventEmitter2.prototype.once = function once(type3, listener) {
|
|
13806
13941
|
if (typeof listener !== "function")
|
|
13807
13942
|
throw new TypeError('"listener" argument must be a function');
|
|
13808
|
-
this.on(type3,
|
|
13943
|
+
this.on(type3, _onceWrap(this, type3, listener));
|
|
13809
13944
|
return this;
|
|
13810
13945
|
};
|
|
13811
|
-
EventEmitter2.prototype.prependOnceListener = function
|
|
13946
|
+
EventEmitter2.prototype.prependOnceListener = function prependOnceListener(type3, listener) {
|
|
13812
13947
|
if (typeof listener !== "function")
|
|
13813
13948
|
throw new TypeError('"listener" argument must be a function');
|
|
13814
|
-
this.prependListener(type3,
|
|
13949
|
+
this.prependListener(type3, _onceWrap(this, type3, listener));
|
|
13815
13950
|
return this;
|
|
13816
13951
|
};
|
|
13817
|
-
EventEmitter2.prototype.removeListener = function
|
|
13952
|
+
EventEmitter2.prototype.removeListener = function removeListener(type3, listener) {
|
|
13818
13953
|
var list, events2, position, i2, originalListener;
|
|
13819
13954
|
if (typeof listener !== "function")
|
|
13820
13955
|
throw new TypeError('"listener" argument must be a function');
|
|
@@ -13852,15 +13987,15 @@ var json2csv_umd = { exports: {} };
|
|
|
13852
13987
|
delete events2[type3];
|
|
13853
13988
|
}
|
|
13854
13989
|
} else {
|
|
13855
|
-
|
|
13990
|
+
spliceOne(list, position);
|
|
13856
13991
|
}
|
|
13857
13992
|
if (events2.removeListener)
|
|
13858
13993
|
this.emit("removeListener", type3, originalListener || listener);
|
|
13859
13994
|
}
|
|
13860
13995
|
return this;
|
|
13861
13996
|
};
|
|
13862
|
-
EventEmitter2.prototype.removeAllListeners = function
|
|
13863
|
-
var
|
|
13997
|
+
EventEmitter2.prototype.removeAllListeners = function removeAllListeners(type3) {
|
|
13998
|
+
var listeners, events2;
|
|
13864
13999
|
events2 = this._events;
|
|
13865
14000
|
if (!events2)
|
|
13866
14001
|
return this;
|
|
@@ -13889,17 +14024,17 @@ var json2csv_umd = { exports: {} };
|
|
|
13889
14024
|
this._eventsCount = 0;
|
|
13890
14025
|
return this;
|
|
13891
14026
|
}
|
|
13892
|
-
|
|
13893
|
-
if (typeof
|
|
13894
|
-
this.removeListener(type3,
|
|
13895
|
-
} else if (
|
|
14027
|
+
listeners = events2[type3];
|
|
14028
|
+
if (typeof listeners === "function") {
|
|
14029
|
+
this.removeListener(type3, listeners);
|
|
14030
|
+
} else if (listeners) {
|
|
13896
14031
|
do {
|
|
13897
|
-
this.removeListener(type3,
|
|
13898
|
-
} while (
|
|
14032
|
+
this.removeListener(type3, listeners[listeners.length - 1]);
|
|
14033
|
+
} while (listeners[0]);
|
|
13899
14034
|
}
|
|
13900
14035
|
return this;
|
|
13901
14036
|
};
|
|
13902
|
-
EventEmitter2.prototype.listeners = function
|
|
14037
|
+
EventEmitter2.prototype.listeners = function listeners(type3) {
|
|
13903
14038
|
var evlistener;
|
|
13904
14039
|
var ret;
|
|
13905
14040
|
var events2 = this._events;
|
|
@@ -13912,7 +14047,7 @@ var json2csv_umd = { exports: {} };
|
|
|
13912
14047
|
else if (typeof evlistener === "function")
|
|
13913
14048
|
ret = [evlistener.listener || evlistener];
|
|
13914
14049
|
else
|
|
13915
|
-
ret =
|
|
14050
|
+
ret = unwrapListeners(evlistener);
|
|
13916
14051
|
}
|
|
13917
14052
|
return ret;
|
|
13918
14053
|
};
|
|
@@ -13920,11 +14055,11 @@ var json2csv_umd = { exports: {} };
|
|
|
13920
14055
|
if (typeof emitter.listenerCount === "function") {
|
|
13921
14056
|
return emitter.listenerCount(type3);
|
|
13922
14057
|
} else {
|
|
13923
|
-
return
|
|
14058
|
+
return listenerCount.call(emitter, type3);
|
|
13924
14059
|
}
|
|
13925
14060
|
};
|
|
13926
|
-
EventEmitter2.prototype.listenerCount =
|
|
13927
|
-
function
|
|
14061
|
+
EventEmitter2.prototype.listenerCount = listenerCount;
|
|
14062
|
+
function listenerCount(type3) {
|
|
13928
14063
|
var events2 = this._events;
|
|
13929
14064
|
if (events2) {
|
|
13930
14065
|
var evlistener = events2[type3];
|
|
@@ -13936,21 +14071,21 @@ var json2csv_umd = { exports: {} };
|
|
|
13936
14071
|
}
|
|
13937
14072
|
return 0;
|
|
13938
14073
|
}
|
|
13939
|
-
EventEmitter2.prototype.eventNames = function
|
|
14074
|
+
EventEmitter2.prototype.eventNames = function eventNames() {
|
|
13940
14075
|
return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
|
|
13941
14076
|
};
|
|
13942
|
-
function
|
|
14077
|
+
function spliceOne(list, index2) {
|
|
13943
14078
|
for (var i2 = index2, k = i2 + 1, n2 = list.length; k < n2; i2 += 1, k += 1)
|
|
13944
14079
|
list[i2] = list[k];
|
|
13945
14080
|
list.pop();
|
|
13946
14081
|
}
|
|
13947
|
-
function
|
|
14082
|
+
function arrayClone(arr, i2) {
|
|
13948
14083
|
var copy2 = new Array(i2);
|
|
13949
14084
|
while (i2--)
|
|
13950
14085
|
copy2[i2] = arr[i2];
|
|
13951
14086
|
return copy2;
|
|
13952
14087
|
}
|
|
13953
|
-
function
|
|
14088
|
+
function unwrapListeners(arr) {
|
|
13954
14089
|
var ret = new Array(arr.length);
|
|
13955
14090
|
for (var i2 = 0; i2 < ret.length; ++i2) {
|
|
13956
14091
|
ret[i2] = arr[i2].listener || arr[i2];
|
|
@@ -15742,7 +15877,7 @@ var json2csv_umd = { exports: {} };
|
|
|
15742
15877
|
return str;
|
|
15743
15878
|
}
|
|
15744
15879
|
function deprecate(fn, msg) {
|
|
15745
|
-
if (
|
|
15880
|
+
if (isUndefined2(global$1.process)) {
|
|
15746
15881
|
return function() {
|
|
15747
15882
|
return deprecate(fn, msg).apply(this, arguments);
|
|
15748
15883
|
};
|
|
@@ -15762,7 +15897,7 @@ var json2csv_umd = { exports: {} };
|
|
|
15762
15897
|
var debugs = {};
|
|
15763
15898
|
var debugEnviron;
|
|
15764
15899
|
function debuglog(set2) {
|
|
15765
|
-
if (
|
|
15900
|
+
if (isUndefined2(debugEnviron))
|
|
15766
15901
|
debugEnviron = "";
|
|
15767
15902
|
set2 = set2.toUpperCase();
|
|
15768
15903
|
if (!debugs[set2]) {
|
|
@@ -15793,13 +15928,13 @@ var json2csv_umd = { exports: {} };
|
|
|
15793
15928
|
} else if (opts2) {
|
|
15794
15929
|
_extend(ctx, opts2);
|
|
15795
15930
|
}
|
|
15796
|
-
if (
|
|
15931
|
+
if (isUndefined2(ctx.showHidden))
|
|
15797
15932
|
ctx.showHidden = false;
|
|
15798
|
-
if (
|
|
15933
|
+
if (isUndefined2(ctx.depth))
|
|
15799
15934
|
ctx.depth = 2;
|
|
15800
|
-
if (
|
|
15935
|
+
if (isUndefined2(ctx.colors))
|
|
15801
15936
|
ctx.colors = false;
|
|
15802
|
-
if (
|
|
15937
|
+
if (isUndefined2(ctx.customInspect))
|
|
15803
15938
|
ctx.customInspect = true;
|
|
15804
15939
|
if (ctx.colors)
|
|
15805
15940
|
ctx.stylize = stylizeWithColor;
|
|
@@ -15927,7 +16062,7 @@ var json2csv_umd = { exports: {} };
|
|
|
15927
16062
|
return reduceToSingleString(output, base, braces);
|
|
15928
16063
|
}
|
|
15929
16064
|
function formatPrimitive(ctx, value) {
|
|
15930
|
-
if (
|
|
16065
|
+
if (isUndefined2(value))
|
|
15931
16066
|
return ctx.stylize("undefined", "undefined");
|
|
15932
16067
|
if (isString(value)) {
|
|
15933
16068
|
var simple = "'" + JSON.stringify(value).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
@@ -16012,7 +16147,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16012
16147
|
str = ctx.stylize("[Circular]", "special");
|
|
16013
16148
|
}
|
|
16014
16149
|
}
|
|
16015
|
-
if (
|
|
16150
|
+
if (isUndefined2(name2)) {
|
|
16016
16151
|
if (array2 && key.match(/^\d+$/)) {
|
|
16017
16152
|
return str;
|
|
16018
16153
|
}
|
|
@@ -16053,7 +16188,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16053
16188
|
function isString(arg) {
|
|
16054
16189
|
return typeof arg === "string";
|
|
16055
16190
|
}
|
|
16056
|
-
function
|
|
16191
|
+
function isUndefined2(arg) {
|
|
16057
16192
|
return arg === void 0;
|
|
16058
16193
|
}
|
|
16059
16194
|
function isRegExp(re2) {
|
|
@@ -16282,7 +16417,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16282
16417
|
Readable.ReadableState = ReadableState;
|
|
16283
16418
|
var debug2 = debuglog("stream");
|
|
16284
16419
|
inherits$1(Readable, EventEmitter2);
|
|
16285
|
-
function
|
|
16420
|
+
function prependListener(emitter, event, fn) {
|
|
16286
16421
|
if (typeof emitter.prependListener === "function") {
|
|
16287
16422
|
return emitter.prependListener(event, fn);
|
|
16288
16423
|
} else {
|
|
@@ -16636,7 +16771,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16636
16771
|
if (listenerCount$1(dest, "error") === 0)
|
|
16637
16772
|
dest.emit("error", er);
|
|
16638
16773
|
}
|
|
16639
|
-
|
|
16774
|
+
prependListener(dest, "error", onerror);
|
|
16640
16775
|
function onclose() {
|
|
16641
16776
|
dest.removeListener("finish", onfinish);
|
|
16642
16777
|
unpipe();
|
|
@@ -26218,7 +26353,7 @@ function taskDebounce(fn) {
|
|
|
26218
26353
|
}
|
|
26219
26354
|
var supportsMicroTasks = isBrowser$4 && window.Promise;
|
|
26220
26355
|
var debounce$1 = supportsMicroTasks ? microtaskDebounce : taskDebounce;
|
|
26221
|
-
function isFunction$
|
|
26356
|
+
function isFunction$3(functionToCheck) {
|
|
26222
26357
|
var getType2 = {};
|
|
26223
26358
|
return functionToCheck && getType2.toString.call(functionToCheck) === "[object Function]";
|
|
26224
26359
|
}
|
|
@@ -26676,7 +26811,7 @@ function runModifiers(modifiers2, data, ends) {
|
|
|
26676
26811
|
console.warn("`modifier.function` is deprecated, use `modifier.fn`!");
|
|
26677
26812
|
}
|
|
26678
26813
|
var fn = modifier["function"] || modifier.fn;
|
|
26679
|
-
if (modifier.enabled && isFunction$
|
|
26814
|
+
if (modifier.enabled && isFunction$3(fn)) {
|
|
26680
26815
|
data.offsets.popper = getClientRect(data.offsets.popper);
|
|
26681
26816
|
data.offsets.reference = getClientRect(data.offsets.reference);
|
|
26682
26817
|
data = fn(data, modifier);
|
|
@@ -27639,7 +27774,7 @@ var Popper$2 = function() {
|
|
|
27639
27774
|
return a2.order - b.order;
|
|
27640
27775
|
});
|
|
27641
27776
|
this.modifiers.forEach(function(modifierOptions) {
|
|
27642
|
-
if (modifierOptions.enabled && isFunction$
|
|
27777
|
+
if (modifierOptions.enabled && isFunction$3(modifierOptions.onLoad)) {
|
|
27643
27778
|
modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);
|
|
27644
27779
|
}
|
|
27645
27780
|
});
|
|
@@ -29821,58 +29956,55 @@ function select(selector2) {
|
|
|
29821
29956
|
return typeof selector2 === "string" ? new Selection([[document.querySelector(selector2)]], [document.documentElement]) : new Selection([[selector2]], root$1);
|
|
29822
29957
|
}
|
|
29823
29958
|
function ascending$1(a2, b) {
|
|
29824
|
-
return a2
|
|
29825
|
-
}
|
|
29826
|
-
function descending(a2, b) {
|
|
29827
|
-
return a2 == null || b == null ? NaN : b < a2 ? -1 : b > a2 ? 1 : b >= a2 ? 0 : NaN;
|
|
29959
|
+
return a2 < b ? -1 : a2 > b ? 1 : a2 >= b ? 0 : NaN;
|
|
29828
29960
|
}
|
|
29829
29961
|
function bisector$1(f2) {
|
|
29830
|
-
let
|
|
29831
|
-
|
|
29832
|
-
|
|
29833
|
-
compare2 = (d, x2) => ascending$1(f2(d), x2);
|
|
29962
|
+
let delta = f2;
|
|
29963
|
+
let compare2 = f2;
|
|
29964
|
+
if (f2.length === 1) {
|
|
29834
29965
|
delta = (d, x2) => f2(d) - x2;
|
|
29835
|
-
|
|
29836
|
-
|
|
29837
|
-
|
|
29838
|
-
|
|
29839
|
-
|
|
29840
|
-
|
|
29841
|
-
|
|
29842
|
-
|
|
29843
|
-
|
|
29844
|
-
|
|
29845
|
-
|
|
29846
|
-
|
|
29847
|
-
|
|
29848
|
-
else
|
|
29849
|
-
hi = mid;
|
|
29850
|
-
} while (lo < hi);
|
|
29966
|
+
compare2 = ascendingComparator$1(f2);
|
|
29967
|
+
}
|
|
29968
|
+
function left2(a2, x2, lo, hi) {
|
|
29969
|
+
if (lo == null)
|
|
29970
|
+
lo = 0;
|
|
29971
|
+
if (hi == null)
|
|
29972
|
+
hi = a2.length;
|
|
29973
|
+
while (lo < hi) {
|
|
29974
|
+
const mid = lo + hi >>> 1;
|
|
29975
|
+
if (compare2(a2[mid], x2) < 0)
|
|
29976
|
+
lo = mid + 1;
|
|
29977
|
+
else
|
|
29978
|
+
hi = mid;
|
|
29851
29979
|
}
|
|
29852
29980
|
return lo;
|
|
29853
29981
|
}
|
|
29854
|
-
function right2(a2, x2, lo
|
|
29855
|
-
if (lo
|
|
29856
|
-
|
|
29857
|
-
|
|
29858
|
-
|
|
29859
|
-
|
|
29860
|
-
|
|
29861
|
-
|
|
29862
|
-
|
|
29863
|
-
|
|
29864
|
-
|
|
29982
|
+
function right2(a2, x2, lo, hi) {
|
|
29983
|
+
if (lo == null)
|
|
29984
|
+
lo = 0;
|
|
29985
|
+
if (hi == null)
|
|
29986
|
+
hi = a2.length;
|
|
29987
|
+
while (lo < hi) {
|
|
29988
|
+
const mid = lo + hi >>> 1;
|
|
29989
|
+
if (compare2(a2[mid], x2) > 0)
|
|
29990
|
+
hi = mid;
|
|
29991
|
+
else
|
|
29992
|
+
lo = mid + 1;
|
|
29865
29993
|
}
|
|
29866
29994
|
return lo;
|
|
29867
29995
|
}
|
|
29868
|
-
function center2(a2, x2, lo
|
|
29996
|
+
function center2(a2, x2, lo, hi) {
|
|
29997
|
+
if (lo == null)
|
|
29998
|
+
lo = 0;
|
|
29999
|
+
if (hi == null)
|
|
30000
|
+
hi = a2.length;
|
|
29869
30001
|
const i2 = left2(a2, x2, lo, hi - 1);
|
|
29870
30002
|
return i2 > lo && delta(a2[i2 - 1], x2) > -delta(a2[i2], x2) ? i2 - 1 : i2;
|
|
29871
30003
|
}
|
|
29872
30004
|
return { left: left2, center: center2, right: right2 };
|
|
29873
30005
|
}
|
|
29874
|
-
function
|
|
29875
|
-
return
|
|
30006
|
+
function ascendingComparator$1(f2) {
|
|
30007
|
+
return (d, x2) => ascending$1(f2(d), x2);
|
|
29876
30008
|
}
|
|
29877
30009
|
function number$3(x2) {
|
|
29878
30010
|
return x2 === null ? NaN : +x2;
|
|
@@ -29881,6 +30013,41 @@ const ascendingBisect = bisector$1(ascending$1);
|
|
|
29881
30013
|
const bisectRight = ascendingBisect.right;
|
|
29882
30014
|
bisector$1(number$3).center;
|
|
29883
30015
|
const bisect = bisectRight;
|
|
30016
|
+
function extent$1(values2, valueof) {
|
|
30017
|
+
let min;
|
|
30018
|
+
let max2;
|
|
30019
|
+
if (valueof === void 0) {
|
|
30020
|
+
for (const value of values2) {
|
|
30021
|
+
if (value != null) {
|
|
30022
|
+
if (min === void 0) {
|
|
30023
|
+
if (value >= value)
|
|
30024
|
+
min = max2 = value;
|
|
30025
|
+
} else {
|
|
30026
|
+
if (min > value)
|
|
30027
|
+
min = value;
|
|
30028
|
+
if (max2 < value)
|
|
30029
|
+
max2 = value;
|
|
30030
|
+
}
|
|
30031
|
+
}
|
|
30032
|
+
}
|
|
30033
|
+
} else {
|
|
30034
|
+
let index2 = -1;
|
|
30035
|
+
for (let value of values2) {
|
|
30036
|
+
if ((value = valueof(value, ++index2, values2)) != null) {
|
|
30037
|
+
if (min === void 0) {
|
|
30038
|
+
if (value >= value)
|
|
30039
|
+
min = max2 = value;
|
|
30040
|
+
} else {
|
|
30041
|
+
if (min > value)
|
|
30042
|
+
min = value;
|
|
30043
|
+
if (max2 < value)
|
|
30044
|
+
max2 = value;
|
|
30045
|
+
}
|
|
30046
|
+
}
|
|
30047
|
+
}
|
|
30048
|
+
}
|
|
30049
|
+
return [min, max2];
|
|
30050
|
+
}
|
|
29884
30051
|
var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);
|
|
29885
30052
|
function ticks(start, stop, count2) {
|
|
29886
30053
|
var reverse, i2 = -1, n2, ticks2, step;
|
|
@@ -29929,6 +30096,24 @@ function tickStep(start, stop, count2) {
|
|
|
29929
30096
|
step1 *= 2;
|
|
29930
30097
|
return stop < start ? -step1 : step1;
|
|
29931
30098
|
}
|
|
30099
|
+
function max$1(values2, valueof) {
|
|
30100
|
+
let max2;
|
|
30101
|
+
if (valueof === void 0) {
|
|
30102
|
+
for (const value of values2) {
|
|
30103
|
+
if (value != null && (max2 < value || max2 === void 0 && value >= value)) {
|
|
30104
|
+
max2 = value;
|
|
30105
|
+
}
|
|
30106
|
+
}
|
|
30107
|
+
} else {
|
|
30108
|
+
let index2 = -1;
|
|
30109
|
+
for (let value of values2) {
|
|
30110
|
+
if ((value = valueof(value, ++index2, values2)) != null && (max2 < value || max2 === void 0 && value >= value)) {
|
|
30111
|
+
max2 = value;
|
|
30112
|
+
}
|
|
30113
|
+
}
|
|
30114
|
+
}
|
|
30115
|
+
return max2;
|
|
30116
|
+
}
|
|
29932
30117
|
function initRange(domain, range2) {
|
|
29933
30118
|
switch (arguments.length) {
|
|
29934
30119
|
case 0:
|
|
@@ -32781,16 +32966,16 @@ function dirname(url) {
|
|
|
32781
32966
|
return slashIndex >= 0 ? url.substr(0, slashIndex) : "";
|
|
32782
32967
|
}
|
|
32783
32968
|
const isBoolean = (x2) => typeof x2 === "boolean";
|
|
32784
|
-
const isFunction$
|
|
32785
|
-
const isObject$
|
|
32786
|
-
const isPureObject = (x2) => isObject$
|
|
32969
|
+
const isFunction$2 = (x2) => typeof x2 === "function";
|
|
32970
|
+
const isObject$3 = (x2) => x2 !== null && typeof x2 === "object";
|
|
32971
|
+
const isPureObject = (x2) => isObject$3(x2) && x2.constructor === {}.constructor;
|
|
32787
32972
|
const isIterable = (x2) => x2 && typeof x2[Symbol.iterator] === "function";
|
|
32788
32973
|
const isAsyncIterable$1 = (x2) => x2 && typeof x2[Symbol.asyncIterator] === "function";
|
|
32789
32974
|
const isResponse = (x2) => typeof Response !== "undefined" && x2 instanceof Response || x2 && x2.arrayBuffer && x2.text && x2.json;
|
|
32790
32975
|
const isBlob = (x2) => typeof Blob !== "undefined" && x2 instanceof Blob;
|
|
32791
32976
|
const isBuffer$1 = (x2) => x2 && typeof x2 === "object" && x2.isBuffer;
|
|
32792
|
-
const isReadableDOMStream = (x2) => typeof ReadableStream !== "undefined" && x2 instanceof ReadableStream || isObject$
|
|
32793
|
-
const isReadableNodeStream = (x2) => isObject$
|
|
32977
|
+
const isReadableDOMStream = (x2) => typeof ReadableStream !== "undefined" && x2 instanceof ReadableStream || isObject$3(x2) && isFunction$2(x2.tee) && isFunction$2(x2.cancel) && isFunction$2(x2.getReader);
|
|
32978
|
+
const isReadableNodeStream = (x2) => isObject$3(x2) && isFunction$2(x2.read) && isFunction$2(x2.pipe) && isBoolean(x2.readable);
|
|
32794
32979
|
const isReadableStream = (x2) => isReadableDOMStream(x2) || isReadableNodeStream(x2);
|
|
32795
32980
|
const DATA_URL_PATTERN = /^data:([-\w.]+\/[-\w.+]+)(;|,)/;
|
|
32796
32981
|
const MIME_TYPE_PATTERN = /^([-\w.]+\/[-\w.+]+)/;
|
|
@@ -33590,7 +33775,7 @@ function getFetchFunction(options, context) {
|
|
|
33590
33775
|
if (typeof fetchOptions.fetch === "function") {
|
|
33591
33776
|
return fetchOptions.fetch;
|
|
33592
33777
|
}
|
|
33593
|
-
if (isObject$
|
|
33778
|
+
if (isObject$3(fetchOptions.fetch)) {
|
|
33594
33779
|
return (url) => fetchFile(url, fetchOptions);
|
|
33595
33780
|
}
|
|
33596
33781
|
if (context !== null && context !== void 0 && context.fetch) {
|
|
@@ -33611,7 +33796,7 @@ function validateOptionsObject(options, id, defaultOptions2, deprecatedOptions,
|
|
|
33611
33796
|
const loaderName = id || "Top level";
|
|
33612
33797
|
const prefix2 = id ? "".concat(id, ".") : "";
|
|
33613
33798
|
for (const key in options) {
|
|
33614
|
-
const isSubOptions = !id && isObject$
|
|
33799
|
+
const isSubOptions = !id && isObject$3(options[key]);
|
|
33615
33800
|
const isBaseUriOption = key === "baseUri" && !id;
|
|
33616
33801
|
const isWorkerUrlOption = key === "workerUrl" && id;
|
|
33617
33802
|
if (!(key in defaultOptions2) && !isBaseUriOption && !isWorkerUrlOption) {
|
|
@@ -52579,9 +52764,9 @@ class Controller {
|
|
|
52579
52764
|
updateTransition() {
|
|
52580
52765
|
this.transitionManager.updateTransition();
|
|
52581
52766
|
}
|
|
52582
|
-
toggleEvents(
|
|
52767
|
+
toggleEvents(eventNames, enabled) {
|
|
52583
52768
|
if (this.eventManager) {
|
|
52584
|
-
|
|
52769
|
+
eventNames.forEach((eventName) => {
|
|
52585
52770
|
if (this._events[eventName] !== enabled) {
|
|
52586
52771
|
this._events[eventName] = enabled;
|
|
52587
52772
|
if (enabled) {
|
|
@@ -56032,18 +56217,18 @@ var hammer$1 = { exports: {} };
|
|
|
56032
56217
|
emit: function(input) {
|
|
56033
56218
|
var self2 = this;
|
|
56034
56219
|
var state = this.state;
|
|
56035
|
-
function
|
|
56220
|
+
function emit(event) {
|
|
56036
56221
|
self2.manager.emit(event, input);
|
|
56037
56222
|
}
|
|
56038
56223
|
if (state < STATE_ENDED) {
|
|
56039
|
-
|
|
56224
|
+
emit(self2.options.event + stateStr(state));
|
|
56040
56225
|
}
|
|
56041
|
-
|
|
56226
|
+
emit(self2.options.event);
|
|
56042
56227
|
if (input.additionalEvent) {
|
|
56043
|
-
|
|
56228
|
+
emit(input.additionalEvent);
|
|
56044
56229
|
}
|
|
56045
56230
|
if (state >= STATE_ENDED) {
|
|
56046
|
-
|
|
56231
|
+
emit(self2.options.event + stateStr(state));
|
|
56047
56232
|
}
|
|
56048
56233
|
},
|
|
56049
56234
|
/**
|
|
@@ -57403,7 +57588,7 @@ class EventRegistrar {
|
|
|
57403
57588
|
isEmpty() {
|
|
57404
57589
|
return !this._active;
|
|
57405
57590
|
}
|
|
57406
|
-
add(type2, handler, options,
|
|
57591
|
+
add(type2, handler, options, once = false, passive = false) {
|
|
57407
57592
|
const { handlers, handlersByElement } = this;
|
|
57408
57593
|
let opts2 = DEFAULT_OPTIONS$2;
|
|
57409
57594
|
if (typeof options === "string" || options && options.addEventListener) {
|
|
@@ -57422,7 +57607,7 @@ class EventRegistrar {
|
|
|
57422
57607
|
srcElement: opts2.srcElement,
|
|
57423
57608
|
priority: opts2.priority
|
|
57424
57609
|
};
|
|
57425
|
-
if (
|
|
57610
|
+
if (once) {
|
|
57426
57611
|
entry.once = true;
|
|
57427
57612
|
}
|
|
57428
57613
|
if (passive) {
|
|
@@ -57470,7 +57655,7 @@ class EventRegistrar {
|
|
|
57470
57655
|
};
|
|
57471
57656
|
const entriesToRemove = [];
|
|
57472
57657
|
for (let i2 = 0; i2 < entries.length; i2++) {
|
|
57473
|
-
const { type: type2, handler, once
|
|
57658
|
+
const { type: type2, handler, once } = entries[i2];
|
|
57474
57659
|
handler({
|
|
57475
57660
|
...event,
|
|
57476
57661
|
// @ts-ignore
|
|
@@ -57478,7 +57663,7 @@ class EventRegistrar {
|
|
|
57478
57663
|
stopPropagation,
|
|
57479
57664
|
stopImmediatePropagation
|
|
57480
57665
|
});
|
|
57481
|
-
if (
|
|
57666
|
+
if (once) {
|
|
57482
57667
|
entriesToRemove.push(entries[i2]);
|
|
57483
57668
|
}
|
|
57484
57669
|
if (immediatePropagationStopped) {
|
|
@@ -57659,11 +57844,11 @@ class EventManager {
|
|
|
57659
57844
|
/**
|
|
57660
57845
|
* Process the event registration for a single event + handler.
|
|
57661
57846
|
*/
|
|
57662
|
-
_addEventHandler(event, handler, opts2,
|
|
57847
|
+
_addEventHandler(event, handler, opts2, once, passive) {
|
|
57663
57848
|
if (typeof event !== "string") {
|
|
57664
57849
|
opts2 = handler;
|
|
57665
57850
|
for (const eventName in event) {
|
|
57666
|
-
this._addEventHandler(eventName, event[eventName], opts2,
|
|
57851
|
+
this._addEventHandler(eventName, event[eventName], opts2, once, passive);
|
|
57667
57852
|
}
|
|
57668
57853
|
return;
|
|
57669
57854
|
}
|
|
@@ -57678,7 +57863,7 @@ class EventManager {
|
|
|
57678
57863
|
manager.on(eventAlias, eventRegistrar.handleEvent);
|
|
57679
57864
|
}
|
|
57680
57865
|
}
|
|
57681
|
-
eventRegistrar.add(event, handler, opts2,
|
|
57866
|
+
eventRegistrar.add(event, handler, opts2, once, passive);
|
|
57682
57867
|
if (!eventRegistrar.isEmpty()) {
|
|
57683
57868
|
this._toggleRecognizer(eventRegistrar.recognizerName, true);
|
|
57684
57869
|
}
|
|
@@ -60399,7 +60584,7 @@ function getPropTypes(props) {
|
|
|
60399
60584
|
const ERR_NOT_OBJECT = "count(): argument not an object";
|
|
60400
60585
|
const ERR_NOT_CONTAINER = "count(): argument not a container";
|
|
60401
60586
|
function count(container) {
|
|
60402
|
-
if (!isObject$
|
|
60587
|
+
if (!isObject$2(container)) {
|
|
60403
60588
|
throw new Error(ERR_NOT_OBJECT);
|
|
60404
60589
|
}
|
|
60405
60590
|
if (typeof container.count === "function") {
|
|
@@ -60419,7 +60604,7 @@ function count(container) {
|
|
|
60419
60604
|
function isPlainObject(value) {
|
|
60420
60605
|
return value !== null && typeof value === "object" && value.constructor === Object;
|
|
60421
60606
|
}
|
|
60422
|
-
function isObject$
|
|
60607
|
+
function isObject$2(value) {
|
|
60423
60608
|
return value !== null && typeof value === "object";
|
|
60424
60609
|
}
|
|
60425
60610
|
function mergeShaders(target, source) {
|
|
@@ -97439,7 +97624,7 @@ function getCoords$1(coords) {
|
|
|
97439
97624
|
throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array");
|
|
97440
97625
|
}
|
|
97441
97626
|
function containsNumber$1(coordinates2) {
|
|
97442
|
-
if (coordinates2.length > 1 && isNumber(coordinates2[0]) && isNumber(coordinates2[1])) {
|
|
97627
|
+
if (coordinates2.length > 1 && isNumber$1(coordinates2[0]) && isNumber$1(coordinates2[1])) {
|
|
97443
97628
|
return true;
|
|
97444
97629
|
}
|
|
97445
97630
|
if (Array.isArray(coordinates2[0]) && coordinates2[0].length) {
|
|
@@ -99670,7 +99855,7 @@ var hasProto$1 = function hasProto() {
|
|
|
99670
99855
|
};
|
|
99671
99856
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
99672
99857
|
var toStr$2 = Object.prototype.toString;
|
|
99673
|
-
var max
|
|
99858
|
+
var max = Math.max;
|
|
99674
99859
|
var funcType = "[object Function]";
|
|
99675
99860
|
var concatty = function concatty2(a2, b) {
|
|
99676
99861
|
var arr = [];
|
|
@@ -99722,7 +99907,7 @@ var implementation$7 = function bind2(that) {
|
|
|
99722
99907
|
concatty(args, arguments)
|
|
99723
99908
|
);
|
|
99724
99909
|
};
|
|
99725
|
-
var boundLength = max
|
|
99910
|
+
var boundLength = max(0, target.length - args.length);
|
|
99726
99911
|
var boundArgs = [];
|
|
99727
99912
|
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
99728
99913
|
boundArgs[i2] = "$" + i2;
|
|
@@ -100262,7 +100447,7 @@ var hasSymbols2 = typeof Symbol === "function" && typeof Symbol("foo") === "symb
|
|
|
100262
100447
|
var toStr$1 = Object.prototype.toString;
|
|
100263
100448
|
var concat = Array.prototype.concat;
|
|
100264
100449
|
var defineDataProperty2 = defineDataProperty$1;
|
|
100265
|
-
var isFunction = function(fn) {
|
|
100450
|
+
var isFunction$1 = function(fn) {
|
|
100266
100451
|
return typeof fn === "function" && toStr$1.call(fn) === "[object Function]";
|
|
100267
100452
|
};
|
|
100268
100453
|
var supportsDescriptors$2 = hasPropertyDescriptors_1();
|
|
@@ -100272,7 +100457,7 @@ var defineProperty$1 = function(object2, name2, value, predicate) {
|
|
|
100272
100457
|
if (object2[name2] === value) {
|
|
100273
100458
|
return;
|
|
100274
100459
|
}
|
|
100275
|
-
} else if (!isFunction(predicate) || !predicate()) {
|
|
100460
|
+
} else if (!isFunction$1(predicate) || !predicate()) {
|
|
100276
100461
|
return;
|
|
100277
100462
|
}
|
|
100278
100463
|
}
|
|
@@ -100656,7 +100841,7 @@ function lineOverlap(line1, line2, options) {
|
|
|
100656
100841
|
options = {};
|
|
100657
100842
|
}
|
|
100658
100843
|
options = options || {};
|
|
100659
|
-
if (!isObject$
|
|
100844
|
+
if (!isObject$4(options))
|
|
100660
100845
|
throw new Error("options is invalid");
|
|
100661
100846
|
var tolerance = options.tolerance || 0;
|
|
100662
100847
|
var features = [];
|
|
@@ -101216,19 +101401,19 @@ var jsts_min = { exports: {} };
|
|
|
101216
101401
|
}, Object.defineProperties(w2, O);
|
|
101217
101402
|
var T = function(t3, e4) {
|
|
101218
101403
|
return t3.interfaces_ && t3.interfaces_().indexOf(e4) > -1;
|
|
101219
|
-
},
|
|
101404
|
+
}, R = function() {
|
|
101220
101405
|
}, P = { LOG_10: { configurable: true } };
|
|
101221
|
-
|
|
101406
|
+
R.prototype.interfaces_ = function() {
|
|
101222
101407
|
return [];
|
|
101223
|
-
},
|
|
101224
|
-
return
|
|
101225
|
-
},
|
|
101408
|
+
}, R.prototype.getClass = function() {
|
|
101409
|
+
return R;
|
|
101410
|
+
}, R.log10 = function(t3) {
|
|
101226
101411
|
var e4 = Math.log(t3);
|
|
101227
|
-
return v.isInfinite(e4) ? e4 : v.isNaN(e4) ? e4 : e4 /
|
|
101228
|
-
},
|
|
101412
|
+
return v.isInfinite(e4) ? e4 : v.isNaN(e4) ? e4 : e4 / R.LOG_10;
|
|
101413
|
+
}, R.min = function(t3, e4, n3, i3) {
|
|
101229
101414
|
var r3 = t3;
|
|
101230
101415
|
return e4 < r3 && (r3 = e4), n3 < r3 && (r3 = n3), i3 < r3 && (r3 = i3), r3;
|
|
101231
|
-
},
|
|
101416
|
+
}, R.clamp = function() {
|
|
101232
101417
|
if ("number" == typeof arguments[2] && "number" == typeof arguments[0] && "number" == typeof arguments[1]) {
|
|
101233
101418
|
var t3 = arguments[0], e4 = arguments[1], n3 = arguments[2];
|
|
101234
101419
|
return t3 < e4 ? e4 : t3 > n3 ? n3 : t3;
|
|
@@ -101237,9 +101422,9 @@ var jsts_min = { exports: {} };
|
|
|
101237
101422
|
var i3 = arguments[0], r3 = arguments[1], o3 = arguments[2];
|
|
101238
101423
|
return i3 < r3 ? r3 : i3 > o3 ? o3 : i3;
|
|
101239
101424
|
}
|
|
101240
|
-
},
|
|
101425
|
+
}, R.wrap = function(t3, e4) {
|
|
101241
101426
|
return t3 < 0 ? e4 - -t3 % e4 : t3 % e4;
|
|
101242
|
-
},
|
|
101427
|
+
}, R.max = function() {
|
|
101243
101428
|
if (3 === arguments.length) {
|
|
101244
101429
|
var t3 = arguments[0], e4 = arguments[1], n3 = arguments[2], i3 = t3;
|
|
101245
101430
|
return e4 > i3 && (i3 = e4), n3 > i3 && (i3 = n3), i3;
|
|
@@ -101248,11 +101433,11 @@ var jsts_min = { exports: {} };
|
|
|
101248
101433
|
var r3 = arguments[0], o3 = arguments[1], s3 = arguments[2], a3 = arguments[3], u2 = r3;
|
|
101249
101434
|
return o3 > u2 && (u2 = o3), s3 > u2 && (u2 = s3), a3 > u2 && (u2 = a3), u2;
|
|
101250
101435
|
}
|
|
101251
|
-
},
|
|
101436
|
+
}, R.average = function(t3, e4) {
|
|
101252
101437
|
return (t3 + e4) / 2;
|
|
101253
101438
|
}, P.LOG_10.get = function() {
|
|
101254
101439
|
return Math.log(10);
|
|
101255
|
-
}, Object.defineProperties(
|
|
101440
|
+
}, Object.defineProperties(R, P);
|
|
101256
101441
|
var D2 = function(t3) {
|
|
101257
101442
|
this.str = t3;
|
|
101258
101443
|
};
|
|
@@ -102407,7 +102592,7 @@ var jsts_min = { exports: {} };
|
|
|
102407
102592
|
}
|
|
102408
102593
|
} else
|
|
102409
102594
|
r3 = true;
|
|
102410
|
-
return r3 ?
|
|
102595
|
+
return r3 ? R.min(at2.distancePointLine(t3, n3, i3), at2.distancePointLine(e4, n3, i3), at2.distancePointLine(n3, t3, e4), at2.distancePointLine(i3, t3, e4)) : 0;
|
|
102411
102596
|
}, at2.isPointInRing = function(t3, e4) {
|
|
102412
102597
|
return at2.locatePointInRing(t3, e4) !== w2.EXTERIOR;
|
|
102413
102598
|
}, at2.computeLength = function(t3) {
|
|
@@ -102997,8 +103182,8 @@ var jsts_min = { exports: {} };
|
|
|
102997
103182
|
(null === e4 || e4.compareTo(t3[n3]) > 0) && (e4 = t3[n3]);
|
|
102998
103183
|
return e4;
|
|
102999
103184
|
}, Lt.extract = function(t3, e4, n3) {
|
|
103000
|
-
e4 =
|
|
103001
|
-
var i3 = (n3 =
|
|
103185
|
+
e4 = R.clamp(e4, 0, t3.length);
|
|
103186
|
+
var i3 = (n3 = R.clamp(n3, -1, t3.length)) - e4 + 1;
|
|
103002
103187
|
n3 < 0 && (i3 = 0), e4 >= t3.length && (i3 = 0), n3 < e4 && (i3 = 0);
|
|
103003
103188
|
var r3 = new Array(i3).fill(null);
|
|
103004
103189
|
if (0 === i3)
|
|
@@ -108743,7 +108928,7 @@ var jsts_min = { exports: {} };
|
|
|
108743
108928
|
return f3.getResultGeometry(c2);
|
|
108744
108929
|
}
|
|
108745
108930
|
}, di.precisionScaleFactor = function(t3, e4, n3) {
|
|
108746
|
-
var i3 = t3.getEnvelopeInternal(), r3 =
|
|
108931
|
+
var i3 = t3.getEnvelopeInternal(), r3 = R.max(Math.abs(i3.getMaxX()), Math.abs(i3.getMaxY()), Math.abs(i3.getMinX()), Math.abs(i3.getMinY())) + 2 * (e4 > 0 ? e4 : 0), o3 = n3 - Math.trunc(Math.log(r3) / Math.log(10) + 1);
|
|
108747
108932
|
return Math.pow(10, o3);
|
|
108748
108933
|
}, yi.CAP_ROUND.get = function() {
|
|
108749
108934
|
return Cn.CAP_ROUND;
|
|
@@ -111986,7 +112171,7 @@ function clipExtent(x02, y02, x12, y12) {
|
|
|
111986
112171
|
return clipStream;
|
|
111987
112172
|
};
|
|
111988
112173
|
}
|
|
111989
|
-
function extent
|
|
112174
|
+
function extent() {
|
|
111990
112175
|
var x02 = 0, y02 = 0, x12 = 960, y12 = 500, cache2, cacheStream, clip2;
|
|
111991
112176
|
return clip2 = {
|
|
111992
112177
|
stream: function(stream) {
|
|
@@ -113393,7 +113578,7 @@ const d3Geo$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
113393
113578
|
geoBounds: bounds,
|
|
113394
113579
|
geoCentroid: centroid$3,
|
|
113395
113580
|
geoCircle: circle$2,
|
|
113396
|
-
geoClipExtent: extent
|
|
113581
|
+
geoClipExtent: extent,
|
|
113397
113582
|
geoConicConformal: conicConformal,
|
|
113398
113583
|
geoConicConformalRaw: conicConformalRaw,
|
|
113399
113584
|
geoConicEqualArea: conicEqualArea,
|
|
@@ -116134,372 +116319,216 @@ var layerMouseEvent = {};
|
|
|
116134
116319
|
exports2["default"] = LayerMouseEvent;
|
|
116135
116320
|
})(layerMouseEvent);
|
|
116136
116321
|
var nebulaLayer = {};
|
|
116137
|
-
var events = { exports: {} };
|
|
116138
|
-
var R = typeof Reflect === "object" ? Reflect : null;
|
|
116139
|
-
var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
|
|
116140
|
-
return Function.prototype.apply.call(target, receiver, args);
|
|
116141
|
-
};
|
|
116142
|
-
var ReflectOwnKeys;
|
|
116143
|
-
if (R && typeof R.ownKeys === "function") {
|
|
116144
|
-
ReflectOwnKeys = R.ownKeys;
|
|
116145
|
-
} else if (Object.getOwnPropertySymbols) {
|
|
116146
|
-
ReflectOwnKeys = function ReflectOwnKeys2(target) {
|
|
116147
|
-
return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
|
|
116148
|
-
};
|
|
116149
|
-
} else {
|
|
116150
|
-
ReflectOwnKeys = function ReflectOwnKeys2(target) {
|
|
116151
|
-
return Object.getOwnPropertyNames(target);
|
|
116152
|
-
};
|
|
116153
|
-
}
|
|
116154
|
-
function ProcessEmitWarning(warning2) {
|
|
116155
|
-
if (console && console.warn)
|
|
116156
|
-
console.warn(warning2);
|
|
116157
|
-
}
|
|
116158
|
-
var NumberIsNaN = Number.isNaN || function NumberIsNaN2(value) {
|
|
116159
|
-
return value !== value;
|
|
116160
|
-
};
|
|
116161
116322
|
function EventEmitter() {
|
|
116162
|
-
|
|
116323
|
+
this._events = this._events || {};
|
|
116324
|
+
this._maxListeners = this._maxListeners || void 0;
|
|
116163
116325
|
}
|
|
116164
|
-
events
|
|
116165
|
-
events.exports.once = once2;
|
|
116326
|
+
var events = EventEmitter;
|
|
116166
116327
|
EventEmitter.EventEmitter = EventEmitter;
|
|
116167
116328
|
EventEmitter.prototype._events = void 0;
|
|
116168
|
-
EventEmitter.prototype._eventsCount = 0;
|
|
116169
116329
|
EventEmitter.prototype._maxListeners = void 0;
|
|
116170
|
-
|
|
116171
|
-
function
|
|
116172
|
-
if (
|
|
116173
|
-
throw
|
|
116174
|
-
}
|
|
116175
|
-
}
|
|
116176
|
-
Object.defineProperty(EventEmitter, "defaultMaxListeners", {
|
|
116177
|
-
enumerable: true,
|
|
116178
|
-
get: function() {
|
|
116179
|
-
return defaultMaxListeners;
|
|
116180
|
-
},
|
|
116181
|
-
set: function(arg) {
|
|
116182
|
-
if (typeof arg !== "number" || arg < 0 || NumberIsNaN(arg)) {
|
|
116183
|
-
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + ".");
|
|
116184
|
-
}
|
|
116185
|
-
defaultMaxListeners = arg;
|
|
116186
|
-
}
|
|
116187
|
-
});
|
|
116188
|
-
EventEmitter.init = function() {
|
|
116189
|
-
if (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) {
|
|
116190
|
-
this._events = /* @__PURE__ */ Object.create(null);
|
|
116191
|
-
this._eventsCount = 0;
|
|
116192
|
-
}
|
|
116193
|
-
this._maxListeners = this._maxListeners || void 0;
|
|
116194
|
-
};
|
|
116195
|
-
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n2) {
|
|
116196
|
-
if (typeof n2 !== "number" || n2 < 0 || NumberIsNaN(n2)) {
|
|
116197
|
-
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n2 + ".");
|
|
116198
|
-
}
|
|
116330
|
+
EventEmitter.defaultMaxListeners = 10;
|
|
116331
|
+
EventEmitter.prototype.setMaxListeners = function(n2) {
|
|
116332
|
+
if (!isNumber(n2) || n2 < 0 || isNaN(n2))
|
|
116333
|
+
throw TypeError("n must be a positive number");
|
|
116199
116334
|
this._maxListeners = n2;
|
|
116200
116335
|
return this;
|
|
116201
116336
|
};
|
|
116202
|
-
function
|
|
116203
|
-
|
|
116204
|
-
|
|
116205
|
-
|
|
116206
|
-
|
|
116207
|
-
|
|
116208
|
-
|
|
116209
|
-
|
|
116210
|
-
|
|
116211
|
-
|
|
116212
|
-
|
|
116213
|
-
|
|
116214
|
-
|
|
116215
|
-
|
|
116216
|
-
|
|
116217
|
-
|
|
116218
|
-
|
|
116219
|
-
|
|
116220
|
-
if (doError) {
|
|
116221
|
-
var er;
|
|
116222
|
-
if (args.length > 0)
|
|
116223
|
-
er = args[0];
|
|
116224
|
-
if (er instanceof Error) {
|
|
116225
|
-
throw er;
|
|
116226
|
-
}
|
|
116227
|
-
var err2 = new Error("Unhandled error." + (er ? " (" + er.message + ")" : ""));
|
|
116228
|
-
err2.context = er;
|
|
116229
|
-
throw err2;
|
|
116230
|
-
}
|
|
116231
|
-
var handler = events2[type2];
|
|
116232
|
-
if (handler === void 0)
|
|
116337
|
+
EventEmitter.prototype.emit = function(type2) {
|
|
116338
|
+
var er, handler, len2, args, i2, listeners;
|
|
116339
|
+
if (!this._events)
|
|
116340
|
+
this._events = {};
|
|
116341
|
+
if (type2 === "error") {
|
|
116342
|
+
if (!this._events.error || isObject$1(this._events.error) && !this._events.error.length) {
|
|
116343
|
+
er = arguments[1];
|
|
116344
|
+
if (er instanceof Error) {
|
|
116345
|
+
throw er;
|
|
116346
|
+
} else {
|
|
116347
|
+
var err2 = new Error('Uncaught, unspecified "error" event. (' + er + ")");
|
|
116348
|
+
err2.context = er;
|
|
116349
|
+
throw err2;
|
|
116350
|
+
}
|
|
116351
|
+
}
|
|
116352
|
+
}
|
|
116353
|
+
handler = this._events[type2];
|
|
116354
|
+
if (isUndefined(handler))
|
|
116233
116355
|
return false;
|
|
116234
|
-
if (
|
|
116235
|
-
|
|
116236
|
-
|
|
116237
|
-
|
|
116238
|
-
|
|
116239
|
-
|
|
116240
|
-
|
|
116356
|
+
if (isFunction(handler)) {
|
|
116357
|
+
switch (arguments.length) {
|
|
116358
|
+
case 1:
|
|
116359
|
+
handler.call(this);
|
|
116360
|
+
break;
|
|
116361
|
+
case 2:
|
|
116362
|
+
handler.call(this, arguments[1]);
|
|
116363
|
+
break;
|
|
116364
|
+
case 3:
|
|
116365
|
+
handler.call(this, arguments[1], arguments[2]);
|
|
116366
|
+
break;
|
|
116367
|
+
default:
|
|
116368
|
+
args = Array.prototype.slice.call(arguments, 1);
|
|
116369
|
+
handler.apply(this, args);
|
|
116370
|
+
}
|
|
116371
|
+
} else if (isObject$1(handler)) {
|
|
116372
|
+
args = Array.prototype.slice.call(arguments, 1);
|
|
116373
|
+
listeners = handler.slice();
|
|
116374
|
+
len2 = listeners.length;
|
|
116375
|
+
for (i2 = 0; i2 < len2; i2++)
|
|
116376
|
+
listeners[i2].apply(this, args);
|
|
116241
116377
|
}
|
|
116242
116378
|
return true;
|
|
116243
116379
|
};
|
|
116244
|
-
function
|
|
116380
|
+
EventEmitter.prototype.addListener = function(type2, listener) {
|
|
116245
116381
|
var m;
|
|
116246
|
-
|
|
116247
|
-
|
|
116248
|
-
|
|
116249
|
-
|
|
116250
|
-
if (
|
|
116251
|
-
|
|
116252
|
-
|
|
116253
|
-
|
|
116254
|
-
|
|
116255
|
-
|
|
116256
|
-
|
|
116257
|
-
|
|
116258
|
-
|
|
116259
|
-
|
|
116260
|
-
|
|
116261
|
-
|
|
116262
|
-
|
|
116263
|
-
|
|
116264
|
-
|
|
116265
|
-
existing = events2[type2] = listener;
|
|
116266
|
-
++target._eventsCount;
|
|
116267
|
-
} else {
|
|
116268
|
-
if (typeof existing === "function") {
|
|
116269
|
-
existing = events2[type2] = prepend ? [listener, existing] : [existing, listener];
|
|
116270
|
-
} else if (prepend) {
|
|
116271
|
-
existing.unshift(listener);
|
|
116382
|
+
if (!isFunction(listener))
|
|
116383
|
+
throw TypeError("listener must be a function");
|
|
116384
|
+
if (!this._events)
|
|
116385
|
+
this._events = {};
|
|
116386
|
+
if (this._events.newListener)
|
|
116387
|
+
this.emit(
|
|
116388
|
+
"newListener",
|
|
116389
|
+
type2,
|
|
116390
|
+
isFunction(listener.listener) ? listener.listener : listener
|
|
116391
|
+
);
|
|
116392
|
+
if (!this._events[type2])
|
|
116393
|
+
this._events[type2] = listener;
|
|
116394
|
+
else if (isObject$1(this._events[type2]))
|
|
116395
|
+
this._events[type2].push(listener);
|
|
116396
|
+
else
|
|
116397
|
+
this._events[type2] = [this._events[type2], listener];
|
|
116398
|
+
if (isObject$1(this._events[type2]) && !this._events[type2].warned) {
|
|
116399
|
+
if (!isUndefined(this._maxListeners)) {
|
|
116400
|
+
m = this._maxListeners;
|
|
116272
116401
|
} else {
|
|
116273
|
-
|
|
116402
|
+
m = EventEmitter.defaultMaxListeners;
|
|
116274
116403
|
}
|
|
116275
|
-
m
|
|
116276
|
-
|
|
116277
|
-
|
|
116278
|
-
|
|
116279
|
-
|
|
116280
|
-
|
|
116281
|
-
|
|
116282
|
-
|
|
116283
|
-
|
|
116404
|
+
if (m && m > 0 && this._events[type2].length > m) {
|
|
116405
|
+
this._events[type2].warned = true;
|
|
116406
|
+
console.error(
|
|
116407
|
+
"(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",
|
|
116408
|
+
this._events[type2].length
|
|
116409
|
+
);
|
|
116410
|
+
if (typeof console.trace === "function") {
|
|
116411
|
+
console.trace();
|
|
116412
|
+
}
|
|
116284
116413
|
}
|
|
116285
116414
|
}
|
|
116286
|
-
return target;
|
|
116287
|
-
}
|
|
116288
|
-
EventEmitter.prototype.addListener = function addListener(type2, listener) {
|
|
116289
|
-
return _addListener(this, type2, listener, false);
|
|
116290
|
-
};
|
|
116291
|
-
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
116292
|
-
EventEmitter.prototype.prependListener = function prependListener(type2, listener) {
|
|
116293
|
-
return _addListener(this, type2, listener, true);
|
|
116294
|
-
};
|
|
116295
|
-
function onceWrapper() {
|
|
116296
|
-
if (!this.fired) {
|
|
116297
|
-
this.target.removeListener(this.type, this.wrapFn);
|
|
116298
|
-
this.fired = true;
|
|
116299
|
-
if (arguments.length === 0)
|
|
116300
|
-
return this.listener.call(this.target);
|
|
116301
|
-
return this.listener.apply(this.target, arguments);
|
|
116302
|
-
}
|
|
116303
|
-
}
|
|
116304
|
-
function _onceWrap(target, type2, listener) {
|
|
116305
|
-
var state = { fired: false, wrapFn: void 0, target, type: type2, listener };
|
|
116306
|
-
var wrapped = onceWrapper.bind(state);
|
|
116307
|
-
wrapped.listener = listener;
|
|
116308
|
-
state.wrapFn = wrapped;
|
|
116309
|
-
return wrapped;
|
|
116310
|
-
}
|
|
116311
|
-
EventEmitter.prototype.once = function once(type2, listener) {
|
|
116312
|
-
checkListener(listener);
|
|
116313
|
-
this.on(type2, _onceWrap(this, type2, listener));
|
|
116314
116415
|
return this;
|
|
116315
116416
|
};
|
|
116316
|
-
EventEmitter.prototype.
|
|
116317
|
-
|
|
116318
|
-
|
|
116417
|
+
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
116418
|
+
EventEmitter.prototype.once = function(type2, listener) {
|
|
116419
|
+
if (!isFunction(listener))
|
|
116420
|
+
throw TypeError("listener must be a function");
|
|
116421
|
+
var fired = false;
|
|
116422
|
+
function g2() {
|
|
116423
|
+
this.removeListener(type2, g2);
|
|
116424
|
+
if (!fired) {
|
|
116425
|
+
fired = true;
|
|
116426
|
+
listener.apply(this, arguments);
|
|
116427
|
+
}
|
|
116428
|
+
}
|
|
116429
|
+
g2.listener = listener;
|
|
116430
|
+
this.on(type2, g2);
|
|
116319
116431
|
return this;
|
|
116320
116432
|
};
|
|
116321
|
-
EventEmitter.prototype.removeListener = function
|
|
116322
|
-
var list,
|
|
116323
|
-
|
|
116324
|
-
|
|
116325
|
-
if (
|
|
116433
|
+
EventEmitter.prototype.removeListener = function(type2, listener) {
|
|
116434
|
+
var list, position, length2, i2;
|
|
116435
|
+
if (!isFunction(listener))
|
|
116436
|
+
throw TypeError("listener must be a function");
|
|
116437
|
+
if (!this._events || !this._events[type2])
|
|
116326
116438
|
return this;
|
|
116327
|
-
list =
|
|
116328
|
-
|
|
116329
|
-
|
|
116330
|
-
if (list === listener || list.listener === listener) {
|
|
116331
|
-
|
|
116332
|
-
|
|
116333
|
-
|
|
116334
|
-
|
|
116335
|
-
|
|
116336
|
-
|
|
116337
|
-
}
|
|
116338
|
-
} else if (typeof list !== "function") {
|
|
116339
|
-
position = -1;
|
|
116340
|
-
for (i2 = list.length - 1; i2 >= 0; i2--) {
|
|
116341
|
-
if (list[i2] === listener || list[i2].listener === listener) {
|
|
116342
|
-
originalListener = list[i2].listener;
|
|
116439
|
+
list = this._events[type2];
|
|
116440
|
+
length2 = list.length;
|
|
116441
|
+
position = -1;
|
|
116442
|
+
if (list === listener || isFunction(list.listener) && list.listener === listener) {
|
|
116443
|
+
delete this._events[type2];
|
|
116444
|
+
if (this._events.removeListener)
|
|
116445
|
+
this.emit("removeListener", type2, listener);
|
|
116446
|
+
} else if (isObject$1(list)) {
|
|
116447
|
+
for (i2 = length2; i2-- > 0; ) {
|
|
116448
|
+
if (list[i2] === listener || list[i2].listener && list[i2].listener === listener) {
|
|
116343
116449
|
position = i2;
|
|
116344
116450
|
break;
|
|
116345
116451
|
}
|
|
116346
116452
|
}
|
|
116347
116453
|
if (position < 0)
|
|
116348
116454
|
return this;
|
|
116349
|
-
if (
|
|
116350
|
-
list.
|
|
116351
|
-
|
|
116352
|
-
|
|
116455
|
+
if (list.length === 1) {
|
|
116456
|
+
list.length = 0;
|
|
116457
|
+
delete this._events[type2];
|
|
116458
|
+
} else {
|
|
116459
|
+
list.splice(position, 1);
|
|
116353
116460
|
}
|
|
116354
|
-
if (
|
|
116355
|
-
|
|
116356
|
-
if (events2.removeListener !== void 0)
|
|
116357
|
-
this.emit("removeListener", type2, originalListener || listener);
|
|
116461
|
+
if (this._events.removeListener)
|
|
116462
|
+
this.emit("removeListener", type2, listener);
|
|
116358
116463
|
}
|
|
116359
116464
|
return this;
|
|
116360
116465
|
};
|
|
116361
|
-
EventEmitter.prototype.
|
|
116362
|
-
|
|
116363
|
-
|
|
116364
|
-
events2 = this._events;
|
|
116365
|
-
if (events2 === void 0)
|
|
116466
|
+
EventEmitter.prototype.removeAllListeners = function(type2) {
|
|
116467
|
+
var key, listeners;
|
|
116468
|
+
if (!this._events)
|
|
116366
116469
|
return this;
|
|
116367
|
-
if (
|
|
116368
|
-
if (arguments.length === 0)
|
|
116369
|
-
this._events =
|
|
116370
|
-
|
|
116371
|
-
|
|
116372
|
-
if (--this._eventsCount === 0)
|
|
116373
|
-
this._events = /* @__PURE__ */ Object.create(null);
|
|
116374
|
-
else
|
|
116375
|
-
delete events2[type2];
|
|
116376
|
-
}
|
|
116470
|
+
if (!this._events.removeListener) {
|
|
116471
|
+
if (arguments.length === 0)
|
|
116472
|
+
this._events = {};
|
|
116473
|
+
else if (this._events[type2])
|
|
116474
|
+
delete this._events[type2];
|
|
116377
116475
|
return this;
|
|
116378
116476
|
}
|
|
116379
116477
|
if (arguments.length === 0) {
|
|
116380
|
-
|
|
116381
|
-
var key;
|
|
116382
|
-
for (i2 = 0; i2 < keys3.length; ++i2) {
|
|
116383
|
-
key = keys3[i2];
|
|
116478
|
+
for (key in this._events) {
|
|
116384
116479
|
if (key === "removeListener")
|
|
116385
116480
|
continue;
|
|
116386
116481
|
this.removeAllListeners(key);
|
|
116387
116482
|
}
|
|
116388
116483
|
this.removeAllListeners("removeListener");
|
|
116389
|
-
this._events =
|
|
116390
|
-
this._eventsCount = 0;
|
|
116484
|
+
this._events = {};
|
|
116391
116485
|
return this;
|
|
116392
116486
|
}
|
|
116393
|
-
|
|
116394
|
-
if (
|
|
116395
|
-
this.removeListener(type2,
|
|
116396
|
-
} else if (
|
|
116397
|
-
|
|
116398
|
-
this.removeListener(type2,
|
|
116399
|
-
}
|
|
116487
|
+
listeners = this._events[type2];
|
|
116488
|
+
if (isFunction(listeners)) {
|
|
116489
|
+
this.removeListener(type2, listeners);
|
|
116490
|
+
} else if (listeners) {
|
|
116491
|
+
while (listeners.length)
|
|
116492
|
+
this.removeListener(type2, listeners[listeners.length - 1]);
|
|
116400
116493
|
}
|
|
116494
|
+
delete this._events[type2];
|
|
116401
116495
|
return this;
|
|
116402
116496
|
};
|
|
116403
|
-
function
|
|
116404
|
-
var
|
|
116405
|
-
if (
|
|
116406
|
-
|
|
116407
|
-
|
|
116408
|
-
|
|
116409
|
-
|
|
116410
|
-
|
|
116411
|
-
|
|
116412
|
-
return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);
|
|
116413
|
-
}
|
|
116414
|
-
EventEmitter.prototype.listeners = function listeners(type2) {
|
|
116415
|
-
return _listeners(this, type2, true);
|
|
116416
|
-
};
|
|
116417
|
-
EventEmitter.prototype.rawListeners = function rawListeners(type2) {
|
|
116418
|
-
return _listeners(this, type2, false);
|
|
116419
|
-
};
|
|
116420
|
-
EventEmitter.listenerCount = function(emitter, type2) {
|
|
116421
|
-
if (typeof emitter.listenerCount === "function") {
|
|
116422
|
-
return emitter.listenerCount(type2);
|
|
116423
|
-
} else {
|
|
116424
|
-
return listenerCount.call(emitter, type2);
|
|
116425
|
-
}
|
|
116497
|
+
EventEmitter.prototype.listeners = function(type2) {
|
|
116498
|
+
var ret;
|
|
116499
|
+
if (!this._events || !this._events[type2])
|
|
116500
|
+
ret = [];
|
|
116501
|
+
else if (isFunction(this._events[type2]))
|
|
116502
|
+
ret = [this._events[type2]];
|
|
116503
|
+
else
|
|
116504
|
+
ret = this._events[type2].slice();
|
|
116505
|
+
return ret;
|
|
116426
116506
|
};
|
|
116427
|
-
EventEmitter.prototype.listenerCount =
|
|
116428
|
-
|
|
116429
|
-
|
|
116430
|
-
|
|
116431
|
-
var evlistener = events2[type2];
|
|
116432
|
-
if (typeof evlistener === "function") {
|
|
116507
|
+
EventEmitter.prototype.listenerCount = function(type2) {
|
|
116508
|
+
if (this._events) {
|
|
116509
|
+
var evlistener = this._events[type2];
|
|
116510
|
+
if (isFunction(evlistener))
|
|
116433
116511
|
return 1;
|
|
116434
|
-
|
|
116512
|
+
else if (evlistener)
|
|
116435
116513
|
return evlistener.length;
|
|
116436
|
-
}
|
|
116437
116514
|
}
|
|
116438
116515
|
return 0;
|
|
116439
|
-
}
|
|
116440
|
-
EventEmitter.prototype.eventNames = function eventNames() {
|
|
116441
|
-
return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];
|
|
116442
116516
|
};
|
|
116443
|
-
function
|
|
116444
|
-
|
|
116445
|
-
|
|
116446
|
-
|
|
116447
|
-
return
|
|
116448
|
-
}
|
|
116449
|
-
function spliceOne(list, index2) {
|
|
116450
|
-
for (; index2 + 1 < list.length; index2++)
|
|
116451
|
-
list[index2] = list[index2 + 1];
|
|
116452
|
-
list.pop();
|
|
116453
|
-
}
|
|
116454
|
-
function unwrapListeners(arr) {
|
|
116455
|
-
var ret = new Array(arr.length);
|
|
116456
|
-
for (var i2 = 0; i2 < ret.length; ++i2) {
|
|
116457
|
-
ret[i2] = arr[i2].listener || arr[i2];
|
|
116458
|
-
}
|
|
116459
|
-
return ret;
|
|
116517
|
+
EventEmitter.listenerCount = function(emitter, type2) {
|
|
116518
|
+
return emitter.listenerCount(type2);
|
|
116519
|
+
};
|
|
116520
|
+
function isFunction(arg) {
|
|
116521
|
+
return typeof arg === "function";
|
|
116460
116522
|
}
|
|
116461
|
-
function
|
|
116462
|
-
return
|
|
116463
|
-
function errorListener(err2) {
|
|
116464
|
-
emitter.removeListener(name2, resolver);
|
|
116465
|
-
reject(err2);
|
|
116466
|
-
}
|
|
116467
|
-
function resolver() {
|
|
116468
|
-
if (typeof emitter.removeListener === "function") {
|
|
116469
|
-
emitter.removeListener("error", errorListener);
|
|
116470
|
-
}
|
|
116471
|
-
resolve([].slice.call(arguments));
|
|
116472
|
-
}
|
|
116473
|
-
eventTargetAgnosticAddListener(emitter, name2, resolver, { once: true });
|
|
116474
|
-
if (name2 !== "error") {
|
|
116475
|
-
addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });
|
|
116476
|
-
}
|
|
116477
|
-
});
|
|
116523
|
+
function isNumber(arg) {
|
|
116524
|
+
return typeof arg === "number";
|
|
116478
116525
|
}
|
|
116479
|
-
function
|
|
116480
|
-
|
|
116481
|
-
eventTargetAgnosticAddListener(emitter, "error", handler, flags3);
|
|
116482
|
-
}
|
|
116526
|
+
function isObject$1(arg) {
|
|
116527
|
+
return typeof arg === "object" && arg !== null;
|
|
116483
116528
|
}
|
|
116484
|
-
function
|
|
116485
|
-
|
|
116486
|
-
if (flags3.once) {
|
|
116487
|
-
emitter.once(name2, listener);
|
|
116488
|
-
} else {
|
|
116489
|
-
emitter.on(name2, listener);
|
|
116490
|
-
}
|
|
116491
|
-
} else if (typeof emitter.addEventListener === "function") {
|
|
116492
|
-
emitter.addEventListener(name2, function wrapListener(arg) {
|
|
116493
|
-
if (flags3.once) {
|
|
116494
|
-
emitter.removeEventListener(name2, wrapListener);
|
|
116495
|
-
}
|
|
116496
|
-
listener(arg);
|
|
116497
|
-
});
|
|
116498
|
-
} else {
|
|
116499
|
-
throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter);
|
|
116500
|
-
}
|
|
116529
|
+
function isUndefined(arg) {
|
|
116530
|
+
return arg === void 0;
|
|
116501
116531
|
}
|
|
116502
|
-
var eventsExports = events.exports;
|
|
116503
116532
|
var getRandomValues = typeof crypto != "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != "undefined" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto);
|
|
116504
116533
|
var rnds8 = new Uint8Array(16);
|
|
116505
116534
|
function rng() {
|
|
@@ -116865,7 +116894,7 @@ const require$$1$3 = /* @__PURE__ */ getAugmentedNamespace(esmBrowser);
|
|
|
116865
116894
|
value: true
|
|
116866
116895
|
});
|
|
116867
116896
|
exports2["default"] = void 0;
|
|
116868
|
-
var _events = _interopRequireDefault2(
|
|
116897
|
+
var _events = _interopRequireDefault2(events);
|
|
116869
116898
|
var _uuid = _interopRequireDefault2(require$$1$3);
|
|
116870
116899
|
function _interopRequireDefault2(obj) {
|
|
116871
116900
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
@@ -117349,7 +117378,7 @@ function rhumbDistance$2(from, to, options) {
|
|
|
117349
117378
|
}
|
|
117350
117379
|
function calculateRhumbDistance(origin, destination2, radius) {
|
|
117351
117380
|
radius = radius === void 0 ? helpers_1$9.earthRadius : Number(radius);
|
|
117352
|
-
var
|
|
117381
|
+
var R = radius;
|
|
117353
117382
|
var phi12 = origin[1] * Math.PI / 180;
|
|
117354
117383
|
var phi2 = destination2[1] * Math.PI / 180;
|
|
117355
117384
|
var DeltaPhi = phi2 - phi12;
|
|
@@ -117360,7 +117389,7 @@ function calculateRhumbDistance(origin, destination2, radius) {
|
|
|
117360
117389
|
var DeltaPsi = Math.log(Math.tan(phi2 / 2 + Math.PI / 4) / Math.tan(phi12 / 2 + Math.PI / 4));
|
|
117361
117390
|
var q = Math.abs(DeltaPsi) > 1e-11 ? DeltaPhi / DeltaPsi : Math.cos(phi12);
|
|
117362
117391
|
var delta = Math.sqrt(DeltaPhi * DeltaPhi + q * q * DeltaLambda * DeltaLambda);
|
|
117363
|
-
var dist = delta *
|
|
117392
|
+
var dist = delta * R;
|
|
117364
117393
|
return dist;
|
|
117365
117394
|
}
|
|
117366
117395
|
js$e.default = rhumbDistance$2;
|
|
@@ -131907,7 +131936,7 @@ var document_1 = doccy;
|
|
|
131907
131936
|
value: true
|
|
131908
131937
|
});
|
|
131909
131938
|
exports2["default"] = void 0;
|
|
131910
|
-
var _events =
|
|
131939
|
+
var _events = events;
|
|
131911
131940
|
var _document = _interopRequireDefault2(document_1);
|
|
131912
131941
|
var _core = require$$2$2;
|
|
131913
131942
|
var _deckDrawer = _interopRequireDefault2(deckDrawer);
|
|
@@ -133833,16 +133862,16 @@ function addDecoder(cases, importFn) {
|
|
|
133833
133862
|
}
|
|
133834
133863
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
133835
133864
|
}
|
|
133836
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
133837
|
-
addDecoder(5, () => import("./lzw-
|
|
133865
|
+
addDecoder([void 0, 1], () => import("./raw-e57b711b.js").then((m) => m.default));
|
|
133866
|
+
addDecoder(5, () => import("./lzw-a6f4336c.js").then((m) => m.default));
|
|
133838
133867
|
addDecoder(6, () => {
|
|
133839
133868
|
throw new Error("old style JPEG compression is not supported.");
|
|
133840
133869
|
});
|
|
133841
|
-
addDecoder(7, () => import("./jpeg-
|
|
133842
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
133843
|
-
addDecoder(32773, () => import("./packbits-
|
|
133844
|
-
addDecoder(34887, () => import("./lerc-
|
|
133845
|
-
addDecoder(50001, () => import("./webimage-
|
|
133870
|
+
addDecoder(7, () => import("./jpeg-c9fcfef5.js").then((m) => m.default));
|
|
133871
|
+
addDecoder([8, 32946], () => import("./deflate-0ad22b29.js").then((m) => m.default));
|
|
133872
|
+
addDecoder(32773, () => import("./packbits-3a229772.js").then((m) => m.default));
|
|
133873
|
+
addDecoder(34887, () => import("./lerc-a13625a5.js").then((m) => m.default));
|
|
133874
|
+
addDecoder(50001, () => import("./webimage-1ade83b1.js").then((m) => m.default));
|
|
133846
133875
|
function decodeRowAcc(row, stride) {
|
|
133847
133876
|
let length2 = row.length - stride;
|
|
133848
133877
|
let offset5 = 0;
|
|
@@ -134032,16 +134061,16 @@ createCommonjsModule(function(module2) {
|
|
|
134032
134061
|
if (!new Events().__proto__)
|
|
134033
134062
|
prefix2 = false;
|
|
134034
134063
|
}
|
|
134035
|
-
function EE(fn, context,
|
|
134064
|
+
function EE(fn, context, once) {
|
|
134036
134065
|
this.fn = fn;
|
|
134037
134066
|
this.context = context;
|
|
134038
|
-
this.once =
|
|
134067
|
+
this.once = once || false;
|
|
134039
134068
|
}
|
|
134040
|
-
function
|
|
134069
|
+
function addListener(emitter, event, fn, context, once) {
|
|
134041
134070
|
if (typeof fn !== "function") {
|
|
134042
134071
|
throw new TypeError("The listener must be a function");
|
|
134043
134072
|
}
|
|
134044
|
-
var listener = new EE(fn, context || emitter,
|
|
134073
|
+
var listener = new EE(fn, context || emitter, once), evt = prefix2 ? prefix2 + event : event;
|
|
134045
134074
|
if (!emitter._events[evt])
|
|
134046
134075
|
emitter._events[evt] = listener, emitter._eventsCount++;
|
|
134047
134076
|
else if (!emitter._events[evt].fn)
|
|
@@ -134060,7 +134089,7 @@ createCommonjsModule(function(module2) {
|
|
|
134060
134089
|
this._events = new Events();
|
|
134061
134090
|
this._eventsCount = 0;
|
|
134062
134091
|
}
|
|
134063
|
-
EventEmitter2.prototype.eventNames = function
|
|
134092
|
+
EventEmitter2.prototype.eventNames = function eventNames() {
|
|
134064
134093
|
var names = [], events2, name2;
|
|
134065
134094
|
if (this._eventsCount === 0)
|
|
134066
134095
|
return names;
|
|
@@ -134073,7 +134102,7 @@ createCommonjsModule(function(module2) {
|
|
|
134073
134102
|
}
|
|
134074
134103
|
return names;
|
|
134075
134104
|
};
|
|
134076
|
-
EventEmitter2.prototype.listeners = function
|
|
134105
|
+
EventEmitter2.prototype.listeners = function listeners(event) {
|
|
134077
134106
|
var evt = prefix2 ? prefix2 + event : event, handlers = this._events[evt];
|
|
134078
134107
|
if (!handlers)
|
|
134079
134108
|
return [];
|
|
@@ -134084,76 +134113,76 @@ createCommonjsModule(function(module2) {
|
|
|
134084
134113
|
}
|
|
134085
134114
|
return ee;
|
|
134086
134115
|
};
|
|
134087
|
-
EventEmitter2.prototype.listenerCount = function
|
|
134088
|
-
var evt = prefix2 ? prefix2 + event : event,
|
|
134089
|
-
if (!
|
|
134116
|
+
EventEmitter2.prototype.listenerCount = function listenerCount(event) {
|
|
134117
|
+
var evt = prefix2 ? prefix2 + event : event, listeners = this._events[evt];
|
|
134118
|
+
if (!listeners)
|
|
134090
134119
|
return 0;
|
|
134091
|
-
if (
|
|
134120
|
+
if (listeners.fn)
|
|
134092
134121
|
return 1;
|
|
134093
|
-
return
|
|
134122
|
+
return listeners.length;
|
|
134094
134123
|
};
|
|
134095
|
-
EventEmitter2.prototype.emit = function
|
|
134124
|
+
EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
134096
134125
|
var evt = prefix2 ? prefix2 + event : event;
|
|
134097
134126
|
if (!this._events[evt])
|
|
134098
134127
|
return false;
|
|
134099
|
-
var
|
|
134100
|
-
if (
|
|
134101
|
-
if (
|
|
134102
|
-
this.removeListener(event,
|
|
134128
|
+
var listeners = this._events[evt], len2 = arguments.length, args, i2;
|
|
134129
|
+
if (listeners.fn) {
|
|
134130
|
+
if (listeners.once)
|
|
134131
|
+
this.removeListener(event, listeners.fn, void 0, true);
|
|
134103
134132
|
switch (len2) {
|
|
134104
134133
|
case 1:
|
|
134105
|
-
return
|
|
134134
|
+
return listeners.fn.call(listeners.context), true;
|
|
134106
134135
|
case 2:
|
|
134107
|
-
return
|
|
134136
|
+
return listeners.fn.call(listeners.context, a1), true;
|
|
134108
134137
|
case 3:
|
|
134109
|
-
return
|
|
134138
|
+
return listeners.fn.call(listeners.context, a1, a2), true;
|
|
134110
134139
|
case 4:
|
|
134111
|
-
return
|
|
134140
|
+
return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
134112
134141
|
case 5:
|
|
134113
|
-
return
|
|
134142
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
|
134114
134143
|
case 6:
|
|
134115
|
-
return
|
|
134144
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
|
134116
134145
|
}
|
|
134117
134146
|
for (i2 = 1, args = new Array(len2 - 1); i2 < len2; i2++) {
|
|
134118
134147
|
args[i2 - 1] = arguments[i2];
|
|
134119
134148
|
}
|
|
134120
|
-
|
|
134149
|
+
listeners.fn.apply(listeners.context, args);
|
|
134121
134150
|
} else {
|
|
134122
|
-
var length2 =
|
|
134151
|
+
var length2 = listeners.length, j;
|
|
134123
134152
|
for (i2 = 0; i2 < length2; i2++) {
|
|
134124
|
-
if (
|
|
134125
|
-
this.removeListener(event,
|
|
134153
|
+
if (listeners[i2].once)
|
|
134154
|
+
this.removeListener(event, listeners[i2].fn, void 0, true);
|
|
134126
134155
|
switch (len2) {
|
|
134127
134156
|
case 1:
|
|
134128
|
-
|
|
134157
|
+
listeners[i2].fn.call(listeners[i2].context);
|
|
134129
134158
|
break;
|
|
134130
134159
|
case 2:
|
|
134131
|
-
|
|
134160
|
+
listeners[i2].fn.call(listeners[i2].context, a1);
|
|
134132
134161
|
break;
|
|
134133
134162
|
case 3:
|
|
134134
|
-
|
|
134163
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2);
|
|
134135
134164
|
break;
|
|
134136
134165
|
case 4:
|
|
134137
|
-
|
|
134166
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
|
|
134138
134167
|
break;
|
|
134139
134168
|
default:
|
|
134140
134169
|
if (!args)
|
|
134141
134170
|
for (j = 1, args = new Array(len2 - 1); j < len2; j++) {
|
|
134142
134171
|
args[j - 1] = arguments[j];
|
|
134143
134172
|
}
|
|
134144
|
-
|
|
134173
|
+
listeners[i2].fn.apply(listeners[i2].context, args);
|
|
134145
134174
|
}
|
|
134146
134175
|
}
|
|
134147
134176
|
}
|
|
134148
134177
|
return true;
|
|
134149
134178
|
};
|
|
134150
134179
|
EventEmitter2.prototype.on = function on(event, fn, context) {
|
|
134151
|
-
return
|
|
134180
|
+
return addListener(this, event, fn, context, false);
|
|
134152
134181
|
};
|
|
134153
|
-
EventEmitter2.prototype.once = function
|
|
134154
|
-
return
|
|
134182
|
+
EventEmitter2.prototype.once = function once(event, fn, context) {
|
|
134183
|
+
return addListener(this, event, fn, context, true);
|
|
134155
134184
|
};
|
|
134156
|
-
EventEmitter2.prototype.removeListener = function
|
|
134185
|
+
EventEmitter2.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
134157
134186
|
var evt = prefix2 ? prefix2 + event : event;
|
|
134158
134187
|
if (!this._events[evt])
|
|
134159
134188
|
return this;
|
|
@@ -134161,15 +134190,15 @@ createCommonjsModule(function(module2) {
|
|
|
134161
134190
|
clearEvent(this, evt);
|
|
134162
134191
|
return this;
|
|
134163
134192
|
}
|
|
134164
|
-
var
|
|
134165
|
-
if (
|
|
134166
|
-
if (
|
|
134193
|
+
var listeners = this._events[evt];
|
|
134194
|
+
if (listeners.fn) {
|
|
134195
|
+
if (listeners.fn === fn && (!once || listeners.once) && (!context || listeners.context === context)) {
|
|
134167
134196
|
clearEvent(this, evt);
|
|
134168
134197
|
}
|
|
134169
134198
|
} else {
|
|
134170
|
-
for (var i2 = 0, events2 = [], length2 =
|
|
134171
|
-
if (
|
|
134172
|
-
events2.push(
|
|
134199
|
+
for (var i2 = 0, events2 = [], length2 = listeners.length; i2 < length2; i2++) {
|
|
134200
|
+
if (listeners[i2].fn !== fn || once && !listeners[i2].once || context && listeners[i2].context !== context) {
|
|
134201
|
+
events2.push(listeners[i2]);
|
|
134173
134202
|
}
|
|
134174
134203
|
}
|
|
134175
134204
|
if (events2.length)
|
|
@@ -134179,7 +134208,7 @@ createCommonjsModule(function(module2) {
|
|
|
134179
134208
|
}
|
|
134180
134209
|
return this;
|
|
134181
134210
|
};
|
|
134182
|
-
EventEmitter2.prototype.removeAllListeners = function
|
|
134211
|
+
EventEmitter2.prototype.removeAllListeners = function removeAllListeners(event) {
|
|
134183
134212
|
var evt;
|
|
134184
134213
|
if (event) {
|
|
134185
134214
|
evt = prefix2 ? prefix2 + event : event;
|
|
@@ -138662,7 +138691,7 @@ var blosc_codec = function() {
|
|
|
138662
138691
|
b += Ga[z2[a2++]];
|
|
138663
138692
|
return b;
|
|
138664
138693
|
}
|
|
138665
|
-
var Q2 = {},
|
|
138694
|
+
var Q2 = {}, R = {}, S = {};
|
|
138666
138695
|
function Ha(a2) {
|
|
138667
138696
|
if (void 0 === a2)
|
|
138668
138697
|
return "_unknown";
|
|
@@ -138707,8 +138736,8 @@ var blosc_codec = function() {
|
|
|
138707
138736
|
});
|
|
138708
138737
|
var e3 = Array(a2.length), g2 = [], k = 0;
|
|
138709
138738
|
a2.forEach(function(h, l2) {
|
|
138710
|
-
|
|
138711
|
-
e3[l2] =
|
|
138739
|
+
R.hasOwnProperty(h) ? e3[l2] = R[h] : (g2.push(h), Q2.hasOwnProperty(h) || (Q2[h] = []), Q2[h].push(function() {
|
|
138740
|
+
e3[l2] = R[h];
|
|
138712
138741
|
++k;
|
|
138713
138742
|
k === g2.length && c(e3);
|
|
138714
138743
|
}));
|
|
@@ -138721,12 +138750,12 @@ var blosc_codec = function() {
|
|
|
138721
138750
|
throw new TypeError("registerType registeredInstance requires argPackAdvance");
|
|
138722
138751
|
var d = b.name;
|
|
138723
138752
|
a2 || T('type "' + d + '" must have a positive integer typeid pointer');
|
|
138724
|
-
if (
|
|
138753
|
+
if (R.hasOwnProperty(a2)) {
|
|
138725
138754
|
if (c.U)
|
|
138726
138755
|
return;
|
|
138727
138756
|
T("Cannot register type '" + d + "' twice");
|
|
138728
138757
|
}
|
|
138729
|
-
|
|
138758
|
+
R[a2] = b;
|
|
138730
138759
|
delete S[a2];
|
|
138731
138760
|
Q2.hasOwnProperty(a2) && (b = Q2[a2], delete Q2[a2], b.forEach(function(e3) {
|
|
138732
138761
|
e3();
|
|
@@ -138839,7 +138868,7 @@ var blosc_codec = function() {
|
|
|
138839
138868
|
}
|
|
138840
138869
|
function eb(a2, b) {
|
|
138841
138870
|
function c(g2) {
|
|
138842
|
-
e3[g2] ||
|
|
138871
|
+
e3[g2] || R[g2] || (S[g2] ? S[g2].forEach(c) : (d.push(g2), e3[g2] = true));
|
|
138843
138872
|
}
|
|
138844
138873
|
var d = [], e3 = {};
|
|
138845
138874
|
b.forEach(c);
|
|
@@ -139127,7 +139156,7 @@ var blosc_codec = function() {
|
|
|
139127
139156
|
}, n: Qa, x: function(a2) {
|
|
139128
139157
|
4 < a2 && (V[a2].P += 1);
|
|
139129
139158
|
}, C: function(a2, b) {
|
|
139130
|
-
var c =
|
|
139159
|
+
var c = R[a2];
|
|
139131
139160
|
void 0 === c && T("_emval_take_value has unknown type " + cb(a2));
|
|
139132
139161
|
a2 = c.readValueFromPointer(b);
|
|
139133
139162
|
return Ra(a2);
|
|
@@ -143878,61 +143907,8 @@ void main() {
|
|
|
143878
143907
|
DECKGL_FILTER_COLOR(gl_FragColor, geometry);
|
|
143879
143908
|
}
|
|
143880
143909
|
`;
|
|
143881
|
-
function extent(values2, valueof) {
|
|
143882
|
-
let min;
|
|
143883
|
-
let max2;
|
|
143884
|
-
if (valueof === void 0) {
|
|
143885
|
-
for (const value of values2) {
|
|
143886
|
-
if (value != null) {
|
|
143887
|
-
if (min === void 0) {
|
|
143888
|
-
if (value >= value)
|
|
143889
|
-
min = max2 = value;
|
|
143890
|
-
} else {
|
|
143891
|
-
if (min > value)
|
|
143892
|
-
min = value;
|
|
143893
|
-
if (max2 < value)
|
|
143894
|
-
max2 = value;
|
|
143895
|
-
}
|
|
143896
|
-
}
|
|
143897
|
-
}
|
|
143898
|
-
} else {
|
|
143899
|
-
let index2 = -1;
|
|
143900
|
-
for (let value of values2) {
|
|
143901
|
-
if ((value = valueof(value, ++index2, values2)) != null) {
|
|
143902
|
-
if (min === void 0) {
|
|
143903
|
-
if (value >= value)
|
|
143904
|
-
min = max2 = value;
|
|
143905
|
-
} else {
|
|
143906
|
-
if (min > value)
|
|
143907
|
-
min = value;
|
|
143908
|
-
if (max2 < value)
|
|
143909
|
-
max2 = value;
|
|
143910
|
-
}
|
|
143911
|
-
}
|
|
143912
|
-
}
|
|
143913
|
-
}
|
|
143914
|
-
return [min, max2];
|
|
143915
|
-
}
|
|
143916
|
-
function max(values2, valueof) {
|
|
143917
|
-
let max2;
|
|
143918
|
-
if (valueof === void 0) {
|
|
143919
|
-
for (const value of values2) {
|
|
143920
|
-
if (value != null && (max2 < value || max2 === void 0 && value >= value)) {
|
|
143921
|
-
max2 = value;
|
|
143922
|
-
}
|
|
143923
|
-
}
|
|
143924
|
-
} else {
|
|
143925
|
-
let index2 = -1;
|
|
143926
|
-
for (let value of values2) {
|
|
143927
|
-
if ((value = valueof(value, ++index2, values2)) != null && (max2 < value || max2 === void 0 && value >= value)) {
|
|
143928
|
-
max2 = value;
|
|
143929
|
-
}
|
|
143930
|
-
}
|
|
143931
|
-
}
|
|
143932
|
-
return max2;
|
|
143933
|
-
}
|
|
143934
143910
|
function normalize(arr) {
|
|
143935
|
-
const [min, max2] = extent(arr);
|
|
143911
|
+
const [min, max2] = extent$1(arr);
|
|
143936
143912
|
const ratio = 255 / (max2 - min);
|
|
143937
143913
|
const data = new Uint8Array(arr.map((i2) => Math.floor((i2 - min) * ratio)));
|
|
143938
143914
|
return data;
|
|
@@ -143944,9 +143920,9 @@ function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex, setColo
|
|
|
143944
143920
|
var _a2, _b, _c, _d;
|
|
143945
143921
|
if (isSetColorMode) {
|
|
143946
143922
|
totalColorsLength += (((_b = (_a2 = setColorValues[channelIndex]) == null ? void 0 : _a2.setColors) == null ? void 0 : _b.length) || 0) * 3;
|
|
143947
|
-
totalValuesLength += ((_c = setColorValues[channelIndex]) == null ? void 0 : _c.obsIndex) ? max(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
143923
|
+
totalValuesLength += ((_c = setColorValues[channelIndex]) == null ? void 0 : _c.obsIndex) ? max$1(setColorValues[channelIndex].obsIndex.map((d) => parseInt(d))) : 0;
|
|
143948
143924
|
} else {
|
|
143949
|
-
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length) || 0;
|
|
143925
|
+
totalValuesLength += multiMatrixObsIndex[channelIndex] ? max$1(multiMatrixObsIndex[channelIndex].map((d) => parseInt(d))) : ((_d = multiFeatureValues[channelIndex]) == null ? void 0 : _d.length) || 0;
|
|
143950
143926
|
}
|
|
143951
143927
|
});
|
|
143952
143928
|
const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
|