@vitessce/heatmap 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{deflate-6ff65b5f.js → deflate-d508d4a0.js} +1 -1
- package/dist/{index-047725f9.js → index-2a959f7f.js} +351 -635
- package/dist/index.js +1 -1
- package/dist/{jpeg-7841016e.js → jpeg-d33c98fc.js} +1 -1
- package/dist/{lerc-566b409f.js → lerc-10fe8c3f.js} +1 -1
- package/dist/{lzw-b36101c3.js → lzw-b482148a.js} +1 -1
- package/dist/{packbits-cb32e60c.js → packbits-09f27b8f.js} +1 -1
- package/dist/{raw-b35f9004.js → raw-0aecbbc9.js} +1 -1
- package/dist/{webimage-4ffaa38f.js → webimage-b4a1a024.js} +1 -1
- package/dist-tsc/Heatmap.d.ts +5 -2
- package/dist-tsc/Heatmap.d.ts.map +1 -1
- package/dist-tsc/Heatmap.js +6 -3
- package/dist-tsc/HeatmapTooltipSubscriber.js +4 -4
- package/package.json +9 -9
- package/src/Heatmap.js +6 -3
- package/src/HeatmapTooltipSubscriber.js +4 -4
|
@@ -10894,6 +10894,10 @@ const FileType$1 = {
|
|
|
10894
10894
|
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
|
10895
10895
|
};
|
|
10896
10896
|
const CoordinationType$1 = {
|
|
10897
|
+
// Meta coordination scopes
|
|
10898
|
+
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
10899
|
+
META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
|
|
10900
|
+
// Other coordination scopes
|
|
10897
10901
|
DATASET: "dataset",
|
|
10898
10902
|
// Entity types
|
|
10899
10903
|
OBS_TYPE: "obsType",
|
|
@@ -16889,7 +16893,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16889
16893
|
return result == "0" && 1 / value == -INFINITY2 ? "-0" : result;
|
|
16890
16894
|
}
|
|
16891
16895
|
function castPath(value) {
|
|
16892
|
-
return isArray$22(value) ? value :
|
|
16896
|
+
return isArray$22(value) ? value : stringToPath3(value);
|
|
16893
16897
|
}
|
|
16894
16898
|
function getMapData2(map2, key) {
|
|
16895
16899
|
var data = map2.__data__;
|
|
@@ -16916,7 +16920,7 @@ var json2csv_umd = { exports: {} };
|
|
|
16916
16920
|
function isMasked2(func) {
|
|
16917
16921
|
return !!maskSrcKey2 && maskSrcKey2 in func;
|
|
16918
16922
|
}
|
|
16919
|
-
var
|
|
16923
|
+
var stringToPath3 = memoize3(function(string2) {
|
|
16920
16924
|
string2 = toString$12(string2);
|
|
16921
16925
|
var result = [];
|
|
16922
16926
|
if (reLeadingDot.test(string2)) {
|
|
@@ -19149,7 +19153,24 @@ function elementTypeAcceptingRef(props2, propName, componentName, location, prop
|
|
|
19149
19153
|
return null;
|
|
19150
19154
|
}
|
|
19151
19155
|
const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
|
|
19156
|
+
function _toPrimitive(input, hint2) {
|
|
19157
|
+
if (_typeof$x(input) !== "object" || input === null)
|
|
19158
|
+
return input;
|
|
19159
|
+
var prim = input[Symbol.toPrimitive];
|
|
19160
|
+
if (prim !== void 0) {
|
|
19161
|
+
var res = prim.call(input, hint2 || "default");
|
|
19162
|
+
if (_typeof$x(res) !== "object")
|
|
19163
|
+
return res;
|
|
19164
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
19165
|
+
}
|
|
19166
|
+
return (hint2 === "string" ? String : Number)(input);
|
|
19167
|
+
}
|
|
19168
|
+
function _toPropertyKey(arg) {
|
|
19169
|
+
var key = _toPrimitive(arg, "string");
|
|
19170
|
+
return _typeof$x(key) === "symbol" ? key : String(key);
|
|
19171
|
+
}
|
|
19152
19172
|
function _defineProperty$f(obj, key, value) {
|
|
19173
|
+
key = _toPropertyKey(key);
|
|
19153
19174
|
if (key in obj) {
|
|
19154
19175
|
Object.defineProperty(obj, key, {
|
|
19155
19176
|
value,
|
|
@@ -19546,6 +19567,19 @@ function lighten(color2, coefficient) {
|
|
|
19546
19567
|
}
|
|
19547
19568
|
return recomposeColor(color2);
|
|
19548
19569
|
}
|
|
19570
|
+
function _defineProperty$e(obj, key, value) {
|
|
19571
|
+
if (key in obj) {
|
|
19572
|
+
Object.defineProperty(obj, key, {
|
|
19573
|
+
value,
|
|
19574
|
+
enumerable: true,
|
|
19575
|
+
configurable: true,
|
|
19576
|
+
writable: true
|
|
19577
|
+
});
|
|
19578
|
+
} else {
|
|
19579
|
+
obj[key] = value;
|
|
19580
|
+
}
|
|
19581
|
+
return obj;
|
|
19582
|
+
}
|
|
19549
19583
|
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
19550
19584
|
if (source == null)
|
|
19551
19585
|
return {};
|
|
@@ -19578,6 +19612,20 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
19578
19612
|
}
|
|
19579
19613
|
return target;
|
|
19580
19614
|
}
|
|
19615
|
+
function _extends$1() {
|
|
19616
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
19617
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
19618
|
+
var source = arguments[i2];
|
|
19619
|
+
for (var key in source) {
|
|
19620
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
19621
|
+
target[key] = source[key];
|
|
19622
|
+
}
|
|
19623
|
+
}
|
|
19624
|
+
}
|
|
19625
|
+
return target;
|
|
19626
|
+
};
|
|
19627
|
+
return _extends$1.apply(this, arguments);
|
|
19628
|
+
}
|
|
19581
19629
|
var keys$1 = ["xs", "sm", "md", "lg", "xl"];
|
|
19582
19630
|
function createBreakpoints(breakpoints) {
|
|
19583
19631
|
var _breakpoints$values = breakpoints.values, values2 = _breakpoints$values === void 0 ? {
|
|
@@ -19620,7 +19668,7 @@ function createBreakpoints(breakpoints) {
|
|
|
19620
19668
|
}
|
|
19621
19669
|
return values2[key];
|
|
19622
19670
|
}
|
|
19623
|
-
return _extends$
|
|
19671
|
+
return _extends$1({
|
|
19624
19672
|
keys: keys$1,
|
|
19625
19673
|
values: values2,
|
|
19626
19674
|
up,
|
|
@@ -19632,23 +19680,23 @@ function createBreakpoints(breakpoints) {
|
|
|
19632
19680
|
}
|
|
19633
19681
|
function createMixins(breakpoints, spacing, mixins) {
|
|
19634
19682
|
var _toolbar;
|
|
19635
|
-
return _extends$
|
|
19683
|
+
return _extends$1({
|
|
19636
19684
|
gutters: function gutters() {
|
|
19637
19685
|
var styles11 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
19638
19686
|
console.warn(["Material-UI: theme.mixins.gutters() is deprecated.", "You can use the source of the mixin directly:", "\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n"));
|
|
19639
|
-
return _extends$
|
|
19687
|
+
return _extends$1({
|
|
19640
19688
|
paddingLeft: spacing(2),
|
|
19641
19689
|
paddingRight: spacing(2)
|
|
19642
|
-
}, styles11, _defineProperty$
|
|
19690
|
+
}, styles11, _defineProperty$e({}, breakpoints.up("sm"), _extends$1({
|
|
19643
19691
|
paddingLeft: spacing(3),
|
|
19644
19692
|
paddingRight: spacing(3)
|
|
19645
19693
|
}, styles11[breakpoints.up("sm")])));
|
|
19646
19694
|
},
|
|
19647
19695
|
toolbar: (_toolbar = {
|
|
19648
19696
|
minHeight: 56
|
|
19649
|
-
}, _defineProperty$
|
|
19697
|
+
}, _defineProperty$e(_toolbar, "".concat(breakpoints.up("xs"), " and (orientation: landscape)"), {
|
|
19650
19698
|
minHeight: 48
|
|
19651
|
-
}), _defineProperty$
|
|
19699
|
+
}), _defineProperty$e(_toolbar, breakpoints.up("sm"), {
|
|
19652
19700
|
minHeight: 64
|
|
19653
19701
|
}), _toolbar)
|
|
19654
19702
|
}, mixins);
|
|
@@ -19773,7 +19821,7 @@ function createPalette(palette) {
|
|
|
19773
19821
|
var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
|
|
19774
19822
|
var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
|
|
19775
19823
|
var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
|
|
19776
|
-
color2 = _extends$
|
|
19824
|
+
color2 = _extends$1({}, color2);
|
|
19777
19825
|
if (!color2.main && color2[mainShade]) {
|
|
19778
19826
|
color2.main = color2[mainShade];
|
|
19779
19827
|
}
|
|
@@ -19799,7 +19847,7 @@ function createPalette(palette) {
|
|
|
19799
19847
|
console.error("Material-UI: The palette type `".concat(type, "` is not supported."));
|
|
19800
19848
|
}
|
|
19801
19849
|
}
|
|
19802
|
-
var paletteOutput = deepmerge(_extends$
|
|
19850
|
+
var paletteOutput = deepmerge(_extends$1({
|
|
19803
19851
|
// A collection of common colors.
|
|
19804
19852
|
common: common$3,
|
|
19805
19853
|
// The palette type, can be light or dark.
|
|
@@ -19864,7 +19912,7 @@ function createTypography(palette, typography) {
|
|
|
19864
19912
|
return "".concat(size / htmlFontSize * coef, "rem");
|
|
19865
19913
|
};
|
|
19866
19914
|
var buildVariant = function buildVariant2(fontWeight, size, lineHeight, letterSpacing, casing) {
|
|
19867
|
-
return _extends$
|
|
19915
|
+
return _extends$1({
|
|
19868
19916
|
fontFamily,
|
|
19869
19917
|
fontWeight,
|
|
19870
19918
|
fontSize: pxToRem(size),
|
|
@@ -19889,7 +19937,7 @@ function createTypography(palette, typography) {
|
|
|
19889
19937
|
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
|
19890
19938
|
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
|
|
19891
19939
|
};
|
|
19892
|
-
return deepmerge(_extends$
|
|
19940
|
+
return deepmerge(_extends$1({
|
|
19893
19941
|
htmlFontSize,
|
|
19894
19942
|
pxToRem,
|
|
19895
19943
|
round: roundWithDeprecationWarning,
|
|
@@ -19954,6 +20002,14 @@ function _nonIterableSpread$j() {
|
|
|
19954
20002
|
function _toConsumableArray$j(arr) {
|
|
19955
20003
|
return _arrayWithoutHoles$j(arr) || _iterableToArray$j(arr) || _unsupportedIterableToArray$k(arr) || _nonIterableSpread$j();
|
|
19956
20004
|
}
|
|
20005
|
+
function _typeof$w(obj) {
|
|
20006
|
+
"@babel/helpers - typeof";
|
|
20007
|
+
return _typeof$w = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
20008
|
+
return typeof obj2;
|
|
20009
|
+
} : function(obj2) {
|
|
20010
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
20011
|
+
}, _typeof$w(obj);
|
|
20012
|
+
}
|
|
19957
20013
|
function _arrayWithHoles$6(arr) {
|
|
19958
20014
|
if (Array.isArray(arr))
|
|
19959
20015
|
return arr;
|
|
@@ -20196,7 +20252,7 @@ function createTheme() {
|
|
|
20196
20252
|
} else if (pseudoClasses2.indexOf(key) !== -1 && Object.keys(child2).length > 0) {
|
|
20197
20253
|
{
|
|
20198
20254
|
console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), "You can not override it like this: ", JSON.stringify(node, null, 2), "", "Instead, you need to use the $ruleName syntax:", JSON.stringify({
|
|
20199
|
-
root: _defineProperty$
|
|
20255
|
+
root: _defineProperty$e({}, "&$".concat(key), child2)
|
|
20200
20256
|
}, null, 2), "", "https://mui.com/r/pseudo-classes-guide"].join("\n"));
|
|
20201
20257
|
}
|
|
20202
20258
|
node[key] = {};
|
|
@@ -20275,50 +20331,12 @@ function warning(condition, message) {
|
|
|
20275
20331
|
}
|
|
20276
20332
|
}
|
|
20277
20333
|
}
|
|
20278
|
-
function
|
|
20279
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
20280
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
20281
|
-
var source = arguments[i2];
|
|
20282
|
-
for (var key in source) {
|
|
20283
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
20284
|
-
target[key] = source[key];
|
|
20285
|
-
}
|
|
20286
|
-
}
|
|
20287
|
-
}
|
|
20288
|
-
return target;
|
|
20289
|
-
};
|
|
20290
|
-
return _extends$1.apply(this, arguments);
|
|
20291
|
-
}
|
|
20292
|
-
var _typeof$w = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
20334
|
+
var _typeof$v = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
20293
20335
|
return typeof obj;
|
|
20294
20336
|
} : function(obj) {
|
|
20295
20337
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20296
20338
|
};
|
|
20297
|
-
var isBrowser$5 = (typeof window === "undefined" ? "undefined" : _typeof$
|
|
20298
|
-
function _typeof$v(obj) {
|
|
20299
|
-
"@babel/helpers - typeof";
|
|
20300
|
-
return _typeof$v = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
20301
|
-
return typeof obj2;
|
|
20302
|
-
} : function(obj2) {
|
|
20303
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
20304
|
-
}, _typeof$v(obj);
|
|
20305
|
-
}
|
|
20306
|
-
function _toPrimitive(input, hint2) {
|
|
20307
|
-
if (_typeof$v(input) !== "object" || input === null)
|
|
20308
|
-
return input;
|
|
20309
|
-
var prim = input[Symbol.toPrimitive];
|
|
20310
|
-
if (prim !== void 0) {
|
|
20311
|
-
var res = prim.call(input, hint2 || "default");
|
|
20312
|
-
if (_typeof$v(res) !== "object")
|
|
20313
|
-
return res;
|
|
20314
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
20315
|
-
}
|
|
20316
|
-
return (hint2 === "string" ? String : Number)(input);
|
|
20317
|
-
}
|
|
20318
|
-
function _toPropertyKey(arg) {
|
|
20319
|
-
var key = _toPrimitive(arg, "string");
|
|
20320
|
-
return _typeof$v(key) === "symbol" ? key : String(key);
|
|
20321
|
-
}
|
|
20339
|
+
var isBrowser$5 = (typeof window === "undefined" ? "undefined" : _typeof$v(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$v(document)) === "object" && document.nodeType === 9;
|
|
20322
20340
|
function _defineProperties$w(target, props2) {
|
|
20323
20341
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
20324
20342
|
var descriptor = props2[i2];
|
|
@@ -20596,7 +20614,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
20596
20614
|
_proto2.toString = function toString2(options) {
|
|
20597
20615
|
var sheet = this.options.sheet;
|
|
20598
20616
|
var link2 = sheet ? sheet.options.link : false;
|
|
20599
|
-
var opts2 = link2 ? _extends$
|
|
20617
|
+
var opts2 = link2 ? _extends$2({}, options, {
|
|
20600
20618
|
allowEmpty: true
|
|
20601
20619
|
}) : options;
|
|
20602
20620
|
return toCss(this.selectorText, this.style, opts2);
|
|
@@ -20643,7 +20661,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
|
|
|
20643
20661
|
this.at = atMatch ? atMatch[1] : "unknown";
|
|
20644
20662
|
this.query = options.name || "@" + this.at;
|
|
20645
20663
|
this.options = options;
|
|
20646
|
-
this.rules = new RuleList(_extends$
|
|
20664
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
20647
20665
|
parent: this
|
|
20648
20666
|
}));
|
|
20649
20667
|
for (var name2 in styles11) {
|
|
@@ -20715,11 +20733,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
|
|
|
20715
20733
|
this.options = options;
|
|
20716
20734
|
var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
|
|
20717
20735
|
this.id = scoped === false ? this.name : escape(generateId(this, sheet));
|
|
20718
|
-
this.rules = new RuleList(_extends$
|
|
20736
|
+
this.rules = new RuleList(_extends$2({}, options, {
|
|
20719
20737
|
parent: this
|
|
20720
20738
|
}));
|
|
20721
20739
|
for (var name2 in frames) {
|
|
20722
|
-
this.rules.add(name2, frames[name2], _extends$
|
|
20740
|
+
this.rules.add(name2, frames[name2], _extends$2({}, options, {
|
|
20723
20741
|
parent: this
|
|
20724
20742
|
}));
|
|
20725
20743
|
}
|
|
@@ -20804,7 +20822,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
20804
20822
|
_proto.toString = function toString2(options) {
|
|
20805
20823
|
var sheet = this.options.sheet;
|
|
20806
20824
|
var link2 = sheet ? sheet.options.link : false;
|
|
20807
|
-
var opts2 = link2 ? _extends$
|
|
20825
|
+
var opts2 = link2 ? _extends$2({}, options, {
|
|
20808
20826
|
allowEmpty: true
|
|
20809
20827
|
}) : options;
|
|
20810
20828
|
return toCss(this.key, this.style, opts2);
|
|
@@ -20928,7 +20946,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
20928
20946
|
var _proto = RuleList2.prototype;
|
|
20929
20947
|
_proto.add = function add2(name2, decl, ruleOptions) {
|
|
20930
20948
|
var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
|
|
20931
|
-
var options = _extends$
|
|
20949
|
+
var options = _extends$2({
|
|
20932
20950
|
classes: this.classes,
|
|
20933
20951
|
parent,
|
|
20934
20952
|
sheet,
|
|
@@ -20964,7 +20982,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
|
20964
20982
|
}
|
|
20965
20983
|
var options = ruleOptions;
|
|
20966
20984
|
if (oldIndex !== -1)
|
|
20967
|
-
options = _extends$
|
|
20985
|
+
options = _extends$2({}, ruleOptions, {
|
|
20968
20986
|
index: oldIndex
|
|
20969
20987
|
});
|
|
20970
20988
|
return this.add(name2, decl, options);
|
|
@@ -21077,7 +21095,7 @@ var StyleSheet = /* @__PURE__ */ function() {
|
|
|
21077
21095
|
this.deployed = false;
|
|
21078
21096
|
this.classes = {};
|
|
21079
21097
|
this.keyframes = {};
|
|
21080
|
-
this.options = _extends$
|
|
21098
|
+
this.options = _extends$2({}, options, {
|
|
21081
21099
|
sheet: this,
|
|
21082
21100
|
parent: this,
|
|
21083
21101
|
classes: this.classes,
|
|
@@ -21696,7 +21714,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
21696
21714
|
this.options.createGenerateId = options.createGenerateId;
|
|
21697
21715
|
}
|
|
21698
21716
|
if (options.id) {
|
|
21699
|
-
this.options.id = _extends$
|
|
21717
|
+
this.options.id = _extends$2({}, this.options.id, options.id);
|
|
21700
21718
|
}
|
|
21701
21719
|
if (options.createGenerateId || options.id) {
|
|
21702
21720
|
this.generateId = this.options.createGenerateId(this.options.id);
|
|
@@ -21718,7 +21736,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
21718
21736
|
if (typeof index2 !== "number") {
|
|
21719
21737
|
index2 = sheets.index === 0 ? 0 : sheets.index + 1;
|
|
21720
21738
|
}
|
|
21721
|
-
var sheet = new StyleSheet(styles11, _extends$
|
|
21739
|
+
var sheet = new StyleSheet(styles11, _extends$2({}, options, {
|
|
21722
21740
|
jss: this,
|
|
21723
21741
|
generateId: options.generateId || this.generateId,
|
|
21724
21742
|
insertionPoint: this.options.insertionPoint,
|
|
@@ -21743,7 +21761,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
|
21743
21761
|
if (typeof name2 === "object") {
|
|
21744
21762
|
return this.createRule(void 0, name2, style2);
|
|
21745
21763
|
}
|
|
21746
|
-
var ruleOptions = _extends$
|
|
21764
|
+
var ruleOptions = _extends$2({}, options, {
|
|
21747
21765
|
name: name2,
|
|
21748
21766
|
jss: this,
|
|
21749
21767
|
Renderer: this.options.Renderer
|
|
@@ -21854,7 +21872,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
|
|
|
21854
21872
|
this.isProcessed = false;
|
|
21855
21873
|
this.key = key;
|
|
21856
21874
|
this.options = options;
|
|
21857
|
-
this.rules = new RuleList(_extends$
|
|
21875
|
+
this.rules = new RuleList(_extends$1({}, options, {
|
|
21858
21876
|
parent: this
|
|
21859
21877
|
}));
|
|
21860
21878
|
for (var selector2 in styles11) {
|
|
@@ -21894,7 +21912,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
|
|
|
21894
21912
|
this.key = key;
|
|
21895
21913
|
this.options = options;
|
|
21896
21914
|
var selector2 = key.substr(atPrefix.length);
|
|
21897
|
-
this.rule = options.jss.createRule(selector2, style2, _extends$
|
|
21915
|
+
this.rule = options.jss.createRule(selector2, style2, _extends$1({}, options, {
|
|
21898
21916
|
parent: this
|
|
21899
21917
|
}));
|
|
21900
21918
|
}
|
|
@@ -21921,7 +21939,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
|
|
|
21921
21939
|
if (!rules)
|
|
21922
21940
|
return;
|
|
21923
21941
|
for (var name2 in rules) {
|
|
21924
|
-
sheet.addRule(name2, rules[name2], _extends$
|
|
21942
|
+
sheet.addRule(name2, rules[name2], _extends$1({}, options, {
|
|
21925
21943
|
selector: addScope(name2, rule.selector)
|
|
21926
21944
|
}));
|
|
21927
21945
|
}
|
|
@@ -21933,7 +21951,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
21933
21951
|
if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
|
|
21934
21952
|
continue;
|
|
21935
21953
|
var selector2 = addScope(prop.substr(at.length), rule.selector);
|
|
21936
|
-
sheet.addRule(selector2, style2[prop], _extends$
|
|
21954
|
+
sheet.addRule(selector2, style2[prop], _extends$1({}, options, {
|
|
21937
21955
|
selector: selector2
|
|
21938
21956
|
}));
|
|
21939
21957
|
delete style2[prop];
|
|
@@ -22002,12 +22020,12 @@ function jssNested() {
|
|
|
22002
22020
|
}
|
|
22003
22021
|
function getOptions(rule, container, prevOptions) {
|
|
22004
22022
|
if (prevOptions)
|
|
22005
|
-
return _extends$
|
|
22023
|
+
return _extends$2({}, prevOptions, {
|
|
22006
22024
|
index: prevOptions.index + 1
|
|
22007
22025
|
});
|
|
22008
22026
|
var nestingLevel = rule.options.nestingLevel;
|
|
22009
22027
|
nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
|
|
22010
|
-
var options = _extends$
|
|
22028
|
+
var options = _extends$2({}, rule.options, {
|
|
22011
22029
|
nestingLevel,
|
|
22012
22030
|
index: container.indexOf(rule) + 1
|
|
22013
22031
|
// We don't need the parent name to be set options for chlid.
|
|
@@ -22035,11 +22053,11 @@ function jssNested() {
|
|
|
22035
22053
|
selector2 = selector2.replace(refRegExp, replaceRef3);
|
|
22036
22054
|
var name2 = styleRule.key + "-" + prop;
|
|
22037
22055
|
if ("replaceRule" in container) {
|
|
22038
|
-
container.replaceRule(name2, style2[prop], _extends$
|
|
22056
|
+
container.replaceRule(name2, style2[prop], _extends$2({}, options, {
|
|
22039
22057
|
selector: selector2
|
|
22040
22058
|
}));
|
|
22041
22059
|
} else {
|
|
22042
|
-
container.addRule(name2, style2[prop], _extends$
|
|
22060
|
+
container.addRule(name2, style2[prop], _extends$2({}, options, {
|
|
22043
22061
|
selector: selector2
|
|
22044
22062
|
}));
|
|
22045
22063
|
}
|
|
@@ -22809,7 +22827,7 @@ function mergeClasses() {
|
|
|
22809
22827
|
if (!newClasses) {
|
|
22810
22828
|
return baseClasses;
|
|
22811
22829
|
}
|
|
22812
|
-
var nextClasses = _extends$
|
|
22830
|
+
var nextClasses = _extends$1({}, baseClasses);
|
|
22813
22831
|
{
|
|
22814
22832
|
if (typeof newClasses === "string") {
|
|
22815
22833
|
console.error(["Material-UI: The value `".concat(newClasses, "` ") + "provided to the classes prop of ".concat(getDisplayName(Component2), " is incorrect."), "You might want to use the className prop instead."].join("\n"));
|
|
@@ -22881,7 +22899,7 @@ var injectFirstNode;
|
|
|
22881
22899
|
function StylesProvider(props2) {
|
|
22882
22900
|
var children2 = props2.children, _props$injectFirst = props2.injectFirst, injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst, _props$disableGenerat = props2.disableGeneration, disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat, localOptions = _objectWithoutProperties(props2, ["children", "injectFirst", "disableGeneration"]);
|
|
22883
22901
|
var outerOptions = React__default.useContext(StylesContext);
|
|
22884
|
-
var context = _extends$
|
|
22902
|
+
var context = _extends$1({}, outerOptions, {
|
|
22885
22903
|
disableGeneration
|
|
22886
22904
|
}, localOptions);
|
|
22887
22905
|
{
|
|
@@ -22986,7 +23004,7 @@ const noopTheme$1 = noopTheme;
|
|
|
22986
23004
|
function getStylesCreator(stylesOrCreator) {
|
|
22987
23005
|
var themingEnabled = typeof stylesOrCreator === "function";
|
|
22988
23006
|
{
|
|
22989
|
-
if (_typeof$
|
|
23007
|
+
if (_typeof$w(stylesOrCreator) !== "object" && !themingEnabled) {
|
|
22990
23008
|
console.error(["Material-UI: The `styles` argument provided is invalid.", "You need to provide a function generating the styles or a styles object."].join("\n"));
|
|
22991
23009
|
}
|
|
22992
23010
|
}
|
|
@@ -23007,7 +23025,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
23007
23025
|
return styles11;
|
|
23008
23026
|
}
|
|
23009
23027
|
var overrides = theme.overrides[name2];
|
|
23010
|
-
var stylesWithOverrides = _extends$
|
|
23028
|
+
var stylesWithOverrides = _extends$1({}, styles11);
|
|
23011
23029
|
Object.keys(overrides).forEach(function(key) {
|
|
23012
23030
|
{
|
|
23013
23031
|
if (!stylesWithOverrides[key]) {
|
|
@@ -23068,7 +23086,7 @@ function attach(_ref2, props2) {
|
|
|
23068
23086
|
};
|
|
23069
23087
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
23070
23088
|
}
|
|
23071
|
-
var options = _extends$
|
|
23089
|
+
var options = _extends$1({}, stylesCreator.options, stylesOptions, {
|
|
23072
23090
|
theme,
|
|
23073
23091
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
23074
23092
|
});
|
|
@@ -23081,7 +23099,7 @@ function attach(_ref2, props2) {
|
|
|
23081
23099
|
}
|
|
23082
23100
|
var styles11 = stylesCreator.create(theme, name2);
|
|
23083
23101
|
if (!staticSheet) {
|
|
23084
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles11, _extends$
|
|
23102
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles11, _extends$1({
|
|
23085
23103
|
link: false
|
|
23086
23104
|
}, options));
|
|
23087
23105
|
staticSheet.attach();
|
|
@@ -23096,7 +23114,7 @@ function attach(_ref2, props2) {
|
|
|
23096
23114
|
sheetManager.dynamicStyles = getDynamicStyles(styles11);
|
|
23097
23115
|
}
|
|
23098
23116
|
if (sheetManager.dynamicStyles) {
|
|
23099
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
23117
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$1({
|
|
23100
23118
|
link: true
|
|
23101
23119
|
}, options));
|
|
23102
23120
|
dynamicSheet.update(props2);
|
|
@@ -23178,7 +23196,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
23178
23196
|
var useStyles2 = function useStyles3() {
|
|
23179
23197
|
var props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
23180
23198
|
var theme = useTheme$1() || defaultTheme2;
|
|
23181
|
-
var stylesOptions = _extends$
|
|
23199
|
+
var stylesOptions = _extends$1({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
23182
23200
|
var instance = React__default.useRef();
|
|
23183
23201
|
var shouldUpdate = React__default.useRef();
|
|
23184
23202
|
useSynchronousEffect(function() {
|
|
@@ -23328,7 +23346,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
23328
23346
|
}
|
|
23329
23347
|
}
|
|
23330
23348
|
}
|
|
23331
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
23349
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$1({
|
|
23332
23350
|
defaultTheme: defaultTheme2,
|
|
23333
23351
|
Component: Component2,
|
|
23334
23352
|
name: name2 || Component2.displayName,
|
|
@@ -23337,7 +23355,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
23337
23355
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props2, ref) {
|
|
23338
23356
|
props2.classes;
|
|
23339
23357
|
var innerRef = props2.innerRef, other = _objectWithoutProperties(props2, ["classes", "innerRef"]);
|
|
23340
|
-
var classes = useStyles2(_extends$
|
|
23358
|
+
var classes = useStyles2(_extends$1({}, Component2.defaultProps, props2));
|
|
23341
23359
|
var theme;
|
|
23342
23360
|
var more = other;
|
|
23343
23361
|
if (typeof name2 === "string" || withTheme) {
|
|
@@ -23353,7 +23371,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
23353
23371
|
more.theme = theme;
|
|
23354
23372
|
}
|
|
23355
23373
|
}
|
|
23356
|
-
return /* @__PURE__ */ React__default.createElement(Component2, _extends$
|
|
23374
|
+
return /* @__PURE__ */ React__default.createElement(Component2, _extends$1({
|
|
23357
23375
|
ref: innerRef || ref,
|
|
23358
23376
|
classes
|
|
23359
23377
|
}, more));
|
|
@@ -23391,7 +23409,7 @@ var defaultTheme = createTheme();
|
|
|
23391
23409
|
const defaultTheme$1 = defaultTheme;
|
|
23392
23410
|
function makeStyles(stylesOrCreator) {
|
|
23393
23411
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
23394
|
-
return makeStyles$1(stylesOrCreator, _extends$
|
|
23412
|
+
return makeStyles$1(stylesOrCreator, _extends$1({
|
|
23395
23413
|
defaultTheme: defaultTheme$1
|
|
23396
23414
|
}, options));
|
|
23397
23415
|
}
|
|
@@ -23403,7 +23421,7 @@ function useTheme() {
|
|
|
23403
23421
|
return theme;
|
|
23404
23422
|
}
|
|
23405
23423
|
function withStyles2(stylesOrCreator, options) {
|
|
23406
|
-
return withStylesWithoutDefault(stylesOrCreator, _extends$
|
|
23424
|
+
return withStylesWithoutDefault(stylesOrCreator, _extends$1({
|
|
23407
23425
|
defaultTheme: defaultTheme$1
|
|
23408
23426
|
}, options));
|
|
23409
23427
|
}
|
|
@@ -23487,7 +23505,7 @@ var styles$b = function styles(theme) {
|
|
|
23487
23505
|
};
|
|
23488
23506
|
var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props2, ref) {
|
|
23489
23507
|
var children2 = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color2 = _props$color === void 0 ? "inherit" : _props$color, _props$component = props2.component, Component2 = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props2.fontSize, fontSize = _props$fontSize === void 0 ? "medium" : _props$fontSize, htmlColor = props2.htmlColor, titleAccess = props2.titleAccess, _props$viewBox = props2.viewBox, viewBox = _props$viewBox === void 0 ? "0 0 24 24" : _props$viewBox, other = _objectWithoutProperties(props2, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
23490
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
23508
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
23491
23509
|
className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize(color2))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize(fontSize))]),
|
|
23492
23510
|
focusable: "false",
|
|
23493
23511
|
viewBox,
|
|
@@ -23565,7 +23583,7 @@ const SvgIcon$1 = withStyles2(styles$b, {
|
|
|
23565
23583
|
})(SvgIcon);
|
|
23566
23584
|
function createSvgIcon(path, displayName) {
|
|
23567
23585
|
var Component2 = function Component3(props2, ref) {
|
|
23568
|
-
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$
|
|
23586
|
+
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$1({
|
|
23569
23587
|
ref
|
|
23570
23588
|
}, props2), path);
|
|
23571
23589
|
};
|
|
@@ -23893,7 +23911,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
23893
23911
|
}
|
|
23894
23912
|
if (this.mounted) {
|
|
23895
23913
|
this.setState(function(state) {
|
|
23896
|
-
var children2 = _extends$
|
|
23914
|
+
var children2 = _extends$1({}, state.children);
|
|
23897
23915
|
delete children2[child2.key];
|
|
23898
23916
|
return {
|
|
23899
23917
|
children: children2
|
|
@@ -23981,7 +23999,7 @@ var styles$a = function styles2(theme) {
|
|
|
23981
23999
|
boxShadow: shadow2
|
|
23982
24000
|
};
|
|
23983
24001
|
});
|
|
23984
|
-
return _extends$
|
|
24002
|
+
return _extends$1({
|
|
23985
24003
|
/* Styles applied to the root element. */
|
|
23986
24004
|
root: {
|
|
23987
24005
|
backgroundColor: theme.palette.background.paper,
|
|
@@ -24000,7 +24018,7 @@ var styles$a = function styles2(theme) {
|
|
|
24000
24018
|
};
|
|
24001
24019
|
var Paper = /* @__PURE__ */ React.forwardRef(function Paper2(props2, ref) {
|
|
24002
24020
|
var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$square = props2.square, square = _props$square === void 0 ? false : _props$square, _props$elevation = props2.elevation, elevation = _props$elevation === void 0 ? 1 : _props$elevation, _props$variant = props2.variant, variant = _props$variant === void 0 ? "elevation" : _props$variant, other = _objectWithoutProperties(props2, ["classes", "className", "component", "square", "elevation", "variant"]);
|
|
24003
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
24021
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
24004
24022
|
className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square && classes.rounded),
|
|
24005
24023
|
ref
|
|
24006
24024
|
}, other));
|
|
@@ -24339,7 +24357,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props2,
|
|
|
24339
24357
|
stop
|
|
24340
24358
|
};
|
|
24341
24359
|
}, [pulsate, start, stop]);
|
|
24342
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
|
24360
|
+
return /* @__PURE__ */ React.createElement("span", _extends$1({
|
|
24343
24361
|
className: clsx(classes.root, className),
|
|
24344
24362
|
ref: container
|
|
24345
24363
|
}, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
|
|
@@ -24558,7 +24576,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
|
24558
24576
|
}
|
|
24559
24577
|
}, [enableTouchRipple]);
|
|
24560
24578
|
}
|
|
24561
|
-
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$
|
|
24579
|
+
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$1({
|
|
24562
24580
|
className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
|
|
24563
24581
|
onBlur: handleBlur,
|
|
24564
24582
|
onClick,
|
|
@@ -24576,7 +24594,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
|
24576
24594
|
tabIndex: disabled ? -1 : tabIndex
|
|
24577
24595
|
}, buttonProps, other), children2, enableTouchRipple ? (
|
|
24578
24596
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
24579
|
-
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$
|
|
24597
|
+
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$1({
|
|
24580
24598
|
ref: rippleRef,
|
|
24581
24599
|
center: centerRipple
|
|
24582
24600
|
}, TouchRippleProps))
|
|
@@ -24808,7 +24826,7 @@ var styles$7 = function styles4(theme) {
|
|
|
24808
24826
|
};
|
|
24809
24827
|
var IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(props2, ref) {
|
|
24810
24828
|
var _props$edge = props2.edge, edge = _props$edge === void 0 ? false : _props$edge, children2 = props2.children, classes = props2.classes, className = props2.className, _props$color = props2.color, color2 = _props$color === void 0 ? "default" : _props$color, _props$disabled = props2.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$disableFocusRi = props2.disableFocusRipple, disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi, _props$size = props2.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props2, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
|
24811
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
|
24829
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
|
|
24812
24830
|
className: clsx(classes.root, className, color2 !== "default" && classes["color".concat(capitalize(color2))], disabled && classes.disabled, size === "small" && classes["size".concat(capitalize(size))], {
|
|
24813
24831
|
"start": classes.edgeStart,
|
|
24814
24832
|
"end": classes.edgeEnd
|
|
@@ -24941,7 +24959,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
|
24941
24959
|
}
|
|
24942
24960
|
}
|
|
24943
24961
|
var hasLabelFor = type === "checkbox" || type === "radio";
|
|
24944
|
-
return /* @__PURE__ */ React.createElement(IconButton$1, _extends$
|
|
24962
|
+
return /* @__PURE__ */ React.createElement(IconButton$1, _extends$1({
|
|
24945
24963
|
component: "span",
|
|
24946
24964
|
className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
|
24947
24965
|
disabled,
|
|
@@ -24950,7 +24968,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
|
24950
24968
|
onFocus: handleFocus,
|
|
24951
24969
|
onBlur: handleBlur,
|
|
24952
24970
|
ref
|
|
24953
|
-
}, other), /* @__PURE__ */ React.createElement("input", _extends$
|
|
24971
|
+
}, other), /* @__PURE__ */ React.createElement("input", _extends$1({
|
|
24954
24972
|
autoFocus,
|
|
24955
24973
|
checked: checkedProp,
|
|
24956
24974
|
defaultChecked,
|
|
@@ -25119,7 +25137,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
|
|
|
25119
25137
|
var _props$checkedIcon = props2.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props2.classes, _props$color = props2.color, color2 = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props2.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props2.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props2.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props2.inputProps, _props$size = props2.size, size = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props2, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
|
|
25120
25138
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
25121
25139
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
25122
|
-
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$
|
|
25140
|
+
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
|
|
25123
25141
|
type: "checkbox",
|
|
25124
25142
|
classes: {
|
|
25125
25143
|
root: clsx(classes.root, classes["color".concat(capitalize(color2))], indeterminate && classes.indeterminate),
|
|
@@ -25127,7 +25145,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref)
|
|
|
25127
25145
|
disabled: classes.disabled
|
|
25128
25146
|
},
|
|
25129
25147
|
color: color2,
|
|
25130
|
-
inputProps: _extends$
|
|
25148
|
+
inputProps: _extends$1({
|
|
25131
25149
|
"data-indeterminate": indeterminate
|
|
25132
25150
|
}, inputProps),
|
|
25133
25151
|
icon: /* @__PURE__ */ React.cloneElement(icon, {
|
|
@@ -26899,10 +26917,10 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref) {
|
|
|
26899
26917
|
}
|
|
26900
26918
|
}
|
|
26901
26919
|
}
|
|
26902
|
-
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$
|
|
26920
|
+
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$1({
|
|
26903
26921
|
placement: rtlPlacement
|
|
26904
26922
|
}, popperOptions, {
|
|
26905
|
-
modifiers: _extends$
|
|
26923
|
+
modifiers: _extends$1({}, disablePortal ? {} : {
|
|
26906
26924
|
// It's using scrollParent by default, we can use the viewport when using a portal.
|
|
26907
26925
|
preventOverflow: {
|
|
26908
26926
|
boundariesElement: "window"
|
|
@@ -26959,11 +26977,11 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref) {
|
|
|
26959
26977
|
return /* @__PURE__ */ React.createElement(Portal$1, {
|
|
26960
26978
|
disablePortal,
|
|
26961
26979
|
container
|
|
26962
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
|
26980
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$1({
|
|
26963
26981
|
ref: handleRef,
|
|
26964
26982
|
role: "tooltip"
|
|
26965
26983
|
}, other, {
|
|
26966
|
-
style: _extends$
|
|
26984
|
+
style: _extends$1({
|
|
26967
26985
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
26968
26986
|
position: "fixed",
|
|
26969
26987
|
// Fix Popper.js display issue
|
|
@@ -27067,7 +27085,7 @@ var styles$4 = function styles6(theme) {
|
|
|
27067
27085
|
}
|
|
27068
27086
|
},
|
|
27069
27087
|
open: {},
|
|
27070
|
-
offset: _extends$
|
|
27088
|
+
offset: _extends$1({
|
|
27071
27089
|
zIndex: 1
|
|
27072
27090
|
}, theme.typography.body2, {
|
|
27073
27091
|
fontSize: theme.typography.pxToRem(12),
|
|
@@ -27418,7 +27436,7 @@ var styles$3 = function styles7(theme) {
|
|
|
27418
27436
|
opacity: 0.8
|
|
27419
27437
|
},
|
|
27420
27438
|
/* Styles applied to the mark label element. */
|
|
27421
|
-
markLabel: _extends$
|
|
27439
|
+
markLabel: _extends$1({}, theme.typography.body2, {
|
|
27422
27440
|
color: theme.palette.text.secondary,
|
|
27423
27441
|
position: "absolute",
|
|
27424
27442
|
top: 26,
|
|
@@ -27724,8 +27742,8 @@ var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props2, ref) {
|
|
|
27724
27742
|
});
|
|
27725
27743
|
var trackOffset = valueToPercent(range2 ? values2[0] : min, min, max);
|
|
27726
27744
|
var trackLeap = valueToPercent(values2[values2.length - 1], min, max) - trackOffset;
|
|
27727
|
-
var trackStyle = _extends$
|
|
27728
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
27745
|
+
var trackStyle = _extends$1({}, axisProps[axis2].offset(trackOffset), axisProps[axis2].leap(trackLeap));
|
|
27746
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
27729
27747
|
ref: handleRef,
|
|
27730
27748
|
className: clsx(classes.root, classes["color".concat(capitalize(color2))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark) {
|
|
27731
27749
|
return mark.label;
|
|
@@ -27969,7 +27987,7 @@ const Tablelvl2Context$1 = Tablelvl2Context;
|
|
|
27969
27987
|
var styles$2 = function styles8(theme) {
|
|
27970
27988
|
return {
|
|
27971
27989
|
/* Styles applied to the root element. */
|
|
27972
|
-
root: _extends$
|
|
27990
|
+
root: _extends$1({}, theme.typography.body2, {
|
|
27973
27991
|
display: "table-cell",
|
|
27974
27992
|
verticalAlign: "inherit",
|
|
27975
27993
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
|
@@ -28081,7 +28099,7 @@ var TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(props2, ref
|
|
|
28081
28099
|
if (sortDirection) {
|
|
28082
28100
|
ariaSort = sortDirection === "asc" ? "ascending" : "descending";
|
|
28083
28101
|
}
|
|
28084
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
28102
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
28085
28103
|
ref,
|
|
28086
28104
|
className: clsx(classes.root, classes[variant], className, align !== "inherit" && classes["align".concat(capitalize(align))], padding !== "normal" && classes["padding".concat(capitalize(padding))], size !== "medium" && classes["size".concat(capitalize(size))], variant === "head" && table && table.stickyHeader && classes.stickyHeader),
|
|
28087
28105
|
"aria-sort": ariaSort,
|
|
@@ -28178,7 +28196,7 @@ var defaultComponent = "tr";
|
|
|
28178
28196
|
var TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(props2, ref) {
|
|
28179
28197
|
var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props2.hover, hover = _props$hover === void 0 ? false : _props$hover, _props$selected = props2.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties(props2, ["classes", "className", "component", "hover", "selected"]);
|
|
28180
28198
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
|
28181
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
|
28199
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$1({
|
|
28182
28200
|
ref,
|
|
28183
28201
|
className: clsx(classes.root, className, tablelvl2 && {
|
|
28184
28202
|
"head": classes.head,
|
|
@@ -30310,29 +30328,15 @@ const isWorker = typeof importScripts === "function";
|
|
|
30310
30328
|
const isMobile = typeof window !== "undefined" && typeof window.orientation !== "undefined";
|
|
30311
30329
|
const matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
|
|
30312
30330
|
matches && parseFloat(matches[1]) || 0;
|
|
30313
|
-
function _defineProperty$e(obj, key, value) {
|
|
30314
|
-
key = _toPropertyKey(key);
|
|
30315
|
-
if (key in obj) {
|
|
30316
|
-
Object.defineProperty(obj, key, {
|
|
30317
|
-
value,
|
|
30318
|
-
enumerable: true,
|
|
30319
|
-
configurable: true,
|
|
30320
|
-
writable: true
|
|
30321
|
-
});
|
|
30322
|
-
} else {
|
|
30323
|
-
obj[key] = value;
|
|
30324
|
-
}
|
|
30325
|
-
return obj;
|
|
30326
|
-
}
|
|
30327
30331
|
class WorkerJob {
|
|
30328
30332
|
constructor(jobName, workerThread) {
|
|
30329
|
-
_defineProperty$
|
|
30330
|
-
_defineProperty$
|
|
30331
|
-
_defineProperty$
|
|
30332
|
-
_defineProperty$
|
|
30333
|
-
_defineProperty$
|
|
30333
|
+
_defineProperty$f(this, "name", void 0);
|
|
30334
|
+
_defineProperty$f(this, "workerThread", void 0);
|
|
30335
|
+
_defineProperty$f(this, "isRunning", true);
|
|
30336
|
+
_defineProperty$f(this, "result", void 0);
|
|
30337
|
+
_defineProperty$f(this, "_resolve", () => {
|
|
30334
30338
|
});
|
|
30335
|
-
_defineProperty$
|
|
30339
|
+
_defineProperty$f(this, "_reject", () => {
|
|
30336
30340
|
});
|
|
30337
30341
|
this.name = jobName;
|
|
30338
30342
|
this.workerThread = workerThread;
|
|
@@ -30436,14 +30440,14 @@ class WorkerThread {
|
|
|
30436
30440
|
return typeof Worker !== "undefined" && isBrowser$2 || typeof Worker$1 !== "undefined" && !isBrowser$2;
|
|
30437
30441
|
}
|
|
30438
30442
|
constructor(props2) {
|
|
30439
|
-
_defineProperty$
|
|
30440
|
-
_defineProperty$
|
|
30441
|
-
_defineProperty$
|
|
30442
|
-
_defineProperty$
|
|
30443
|
-
_defineProperty$
|
|
30444
|
-
_defineProperty$
|
|
30445
|
-
_defineProperty$
|
|
30446
|
-
_defineProperty$
|
|
30443
|
+
_defineProperty$f(this, "name", void 0);
|
|
30444
|
+
_defineProperty$f(this, "source", void 0);
|
|
30445
|
+
_defineProperty$f(this, "url", void 0);
|
|
30446
|
+
_defineProperty$f(this, "terminated", false);
|
|
30447
|
+
_defineProperty$f(this, "worker", void 0);
|
|
30448
|
+
_defineProperty$f(this, "onMessage", void 0);
|
|
30449
|
+
_defineProperty$f(this, "onError", void 0);
|
|
30450
|
+
_defineProperty$f(this, "_loadableURL", "");
|
|
30447
30451
|
const {
|
|
30448
30452
|
name: name2,
|
|
30449
30453
|
source,
|
|
@@ -30534,19 +30538,19 @@ class WorkerPool {
|
|
|
30534
30538
|
return WorkerThread.isSupported();
|
|
30535
30539
|
}
|
|
30536
30540
|
constructor(props2) {
|
|
30537
|
-
_defineProperty$
|
|
30538
|
-
_defineProperty$
|
|
30539
|
-
_defineProperty$
|
|
30540
|
-
_defineProperty$
|
|
30541
|
-
_defineProperty$
|
|
30542
|
-
_defineProperty$
|
|
30543
|
-
});
|
|
30544
|
-
_defineProperty$
|
|
30545
|
-
_defineProperty$
|
|
30546
|
-
_defineProperty$
|
|
30547
|
-
_defineProperty$
|
|
30548
|
-
_defineProperty$
|
|
30549
|
-
_defineProperty$
|
|
30541
|
+
_defineProperty$f(this, "name", "unnamed");
|
|
30542
|
+
_defineProperty$f(this, "source", void 0);
|
|
30543
|
+
_defineProperty$f(this, "url", void 0);
|
|
30544
|
+
_defineProperty$f(this, "maxConcurrency", 1);
|
|
30545
|
+
_defineProperty$f(this, "maxMobileConcurrency", 1);
|
|
30546
|
+
_defineProperty$f(this, "onDebug", () => {
|
|
30547
|
+
});
|
|
30548
|
+
_defineProperty$f(this, "reuseWorkers", true);
|
|
30549
|
+
_defineProperty$f(this, "props", {});
|
|
30550
|
+
_defineProperty$f(this, "jobQueue", []);
|
|
30551
|
+
_defineProperty$f(this, "idleQueue", []);
|
|
30552
|
+
_defineProperty$f(this, "count", 0);
|
|
30553
|
+
_defineProperty$f(this, "isDestroyed", false);
|
|
30550
30554
|
this.source = props2.source;
|
|
30551
30555
|
this.url = props2.url;
|
|
30552
30556
|
this.setProps(props2);
|
|
@@ -30664,8 +30668,8 @@ class WorkerFarm {
|
|
|
30664
30668
|
return WorkerFarm._workerFarm;
|
|
30665
30669
|
}
|
|
30666
30670
|
constructor(props2) {
|
|
30667
|
-
_defineProperty$
|
|
30668
|
-
_defineProperty$
|
|
30671
|
+
_defineProperty$f(this, "props", void 0);
|
|
30672
|
+
_defineProperty$f(this, "workerPools", /* @__PURE__ */ new Map());
|
|
30669
30673
|
this.props = {
|
|
30670
30674
|
...DEFAULT_PROPS$4
|
|
30671
30675
|
};
|
|
@@ -30714,7 +30718,7 @@ class WorkerFarm {
|
|
|
30714
30718
|
};
|
|
30715
30719
|
}
|
|
30716
30720
|
}
|
|
30717
|
-
_defineProperty$
|
|
30721
|
+
_defineProperty$f(WorkerFarm, "_workerFarm", void 0);
|
|
30718
30722
|
const NPM_TAG = "latest";
|
|
30719
30723
|
function getWorkerURL(worker, options = {}) {
|
|
30720
30724
|
const workerOptions = options[worker.id] || {};
|
|
@@ -31021,20 +31025,20 @@ function getHiResTimestamp$1() {
|
|
|
31021
31025
|
}
|
|
31022
31026
|
class Stat {
|
|
31023
31027
|
constructor(name2, type) {
|
|
31024
|
-
_defineProperty$
|
|
31025
|
-
_defineProperty$
|
|
31026
|
-
_defineProperty$
|
|
31027
|
-
_defineProperty$
|
|
31028
|
-
_defineProperty$
|
|
31029
|
-
_defineProperty$
|
|
31030
|
-
_defineProperty$
|
|
31031
|
-
_defineProperty$
|
|
31032
|
-
_defineProperty$
|
|
31033
|
-
_defineProperty$
|
|
31034
|
-
_defineProperty$
|
|
31035
|
-
_defineProperty$
|
|
31036
|
-
_defineProperty$
|
|
31037
|
-
_defineProperty$
|
|
31028
|
+
_defineProperty$f(this, "name", void 0);
|
|
31029
|
+
_defineProperty$f(this, "type", void 0);
|
|
31030
|
+
_defineProperty$f(this, "sampleSize", 1);
|
|
31031
|
+
_defineProperty$f(this, "time", void 0);
|
|
31032
|
+
_defineProperty$f(this, "count", void 0);
|
|
31033
|
+
_defineProperty$f(this, "samples", void 0);
|
|
31034
|
+
_defineProperty$f(this, "lastTiming", void 0);
|
|
31035
|
+
_defineProperty$f(this, "lastSampleTime", void 0);
|
|
31036
|
+
_defineProperty$f(this, "lastSampleCount", void 0);
|
|
31037
|
+
_defineProperty$f(this, "_count", 0);
|
|
31038
|
+
_defineProperty$f(this, "_time", 0);
|
|
31039
|
+
_defineProperty$f(this, "_samples", 0);
|
|
31040
|
+
_defineProperty$f(this, "_startTime", 0);
|
|
31041
|
+
_defineProperty$f(this, "_timerPending", false);
|
|
31038
31042
|
this.name = name2;
|
|
31039
31043
|
this.type = type;
|
|
31040
31044
|
this.reset();
|
|
@@ -31131,8 +31135,8 @@ class Stat {
|
|
|
31131
31135
|
}
|
|
31132
31136
|
class Stats {
|
|
31133
31137
|
constructor(options) {
|
|
31134
|
-
_defineProperty$
|
|
31135
|
-
_defineProperty$
|
|
31138
|
+
_defineProperty$f(this, "id", void 0);
|
|
31139
|
+
_defineProperty$f(this, "stats", {});
|
|
31136
31140
|
this.id = options.id;
|
|
31137
31141
|
this.stats = {};
|
|
31138
31142
|
this._initializeStats(options.stats);
|
|
@@ -31205,12 +31209,12 @@ const DEFAULT_PROPS$3 = {
|
|
|
31205
31209
|
};
|
|
31206
31210
|
class RequestScheduler {
|
|
31207
31211
|
constructor(props2 = {}) {
|
|
31208
|
-
_defineProperty$
|
|
31209
|
-
_defineProperty$
|
|
31210
|
-
_defineProperty$
|
|
31211
|
-
_defineProperty$
|
|
31212
|
-
_defineProperty$
|
|
31213
|
-
_defineProperty$
|
|
31212
|
+
_defineProperty$e(this, "props", void 0);
|
|
31213
|
+
_defineProperty$e(this, "stats", void 0);
|
|
31214
|
+
_defineProperty$e(this, "activeRequestCount", 0);
|
|
31215
|
+
_defineProperty$e(this, "requestQueue", []);
|
|
31216
|
+
_defineProperty$e(this, "requestMap", /* @__PURE__ */ new Map());
|
|
31217
|
+
_defineProperty$e(this, "deferredUpdate", null);
|
|
31214
31218
|
this.props = {
|
|
31215
31219
|
...DEFAULT_PROPS$3,
|
|
31216
31220
|
...props2
|
|
@@ -31573,9 +31577,9 @@ class LocalStorage {
|
|
|
31573
31577
|
constructor(id) {
|
|
31574
31578
|
let defaultSettings = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
31575
31579
|
let type = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "sessionStorage";
|
|
31576
|
-
_defineProperty$
|
|
31577
|
-
_defineProperty$
|
|
31578
|
-
_defineProperty$
|
|
31580
|
+
_defineProperty$f(this, "storage", void 0);
|
|
31581
|
+
_defineProperty$f(this, "id", void 0);
|
|
31582
|
+
_defineProperty$f(this, "config", {});
|
|
31579
31583
|
this.storage = getStorage(type);
|
|
31580
31584
|
this.id = id;
|
|
31581
31585
|
this.config = {};
|
|
@@ -31726,13 +31730,13 @@ class Log {
|
|
|
31726
31730
|
} = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
31727
31731
|
id: ""
|
|
31728
31732
|
};
|
|
31729
|
-
_defineProperty$
|
|
31730
|
-
_defineProperty$
|
|
31731
|
-
_defineProperty$
|
|
31732
|
-
_defineProperty$
|
|
31733
|
-
_defineProperty$
|
|
31734
|
-
_defineProperty$
|
|
31735
|
-
_defineProperty$
|
|
31733
|
+
_defineProperty$f(this, "id", void 0);
|
|
31734
|
+
_defineProperty$f(this, "VERSION", VERSION$9);
|
|
31735
|
+
_defineProperty$f(this, "_startTs", getHiResTimestamp());
|
|
31736
|
+
_defineProperty$f(this, "_deltaTs", getHiResTimestamp());
|
|
31737
|
+
_defineProperty$f(this, "_storage", void 0);
|
|
31738
|
+
_defineProperty$f(this, "userData", {});
|
|
31739
|
+
_defineProperty$f(this, "LOG_THROTTLE_TIMEOUT", 0);
|
|
31736
31740
|
this.id = id;
|
|
31737
31741
|
this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
|
|
31738
31742
|
this.userData = {};
|
|
@@ -31933,7 +31937,7 @@ class Log {
|
|
|
31933
31937
|
return noop$4;
|
|
31934
31938
|
}
|
|
31935
31939
|
}
|
|
31936
|
-
_defineProperty$
|
|
31940
|
+
_defineProperty$f(Log, "VERSION", VERSION$9);
|
|
31937
31941
|
function normalizeLogLevel(logLevel) {
|
|
31938
31942
|
if (!logLevel) {
|
|
31939
31943
|
return 0;
|
|
@@ -32062,7 +32066,7 @@ class NullLog {
|
|
|
32062
32066
|
}
|
|
32063
32067
|
class ConsoleLog {
|
|
32064
32068
|
constructor() {
|
|
32065
|
-
_defineProperty$
|
|
32069
|
+
_defineProperty$e(this, "console", void 0);
|
|
32066
32070
|
this.console = console;
|
|
32067
32071
|
}
|
|
32068
32072
|
log(...args) {
|
|
@@ -43889,10 +43893,10 @@ class SphericalCoordinates {
|
|
|
43889
43893
|
altitude,
|
|
43890
43894
|
radiusScale = EARTH_RADIUS_METERS
|
|
43891
43895
|
} = {}) {
|
|
43892
|
-
_defineProperty$
|
|
43893
|
-
_defineProperty$
|
|
43894
|
-
_defineProperty$
|
|
43895
|
-
_defineProperty$
|
|
43896
|
+
_defineProperty$e(this, "phi", void 0);
|
|
43897
|
+
_defineProperty$e(this, "theta", void 0);
|
|
43898
|
+
_defineProperty$e(this, "radius", void 0);
|
|
43899
|
+
_defineProperty$e(this, "radiusScale", void 0);
|
|
43896
43900
|
this.phi = phi;
|
|
43897
43901
|
this.theta = theta;
|
|
43898
43902
|
this.radius = radius2 || altitude || 1;
|
|
@@ -44426,8 +44430,8 @@ class Pose {
|
|
|
44426
44430
|
position,
|
|
44427
44431
|
orientation
|
|
44428
44432
|
} = {}) {
|
|
44429
|
-
_defineProperty$
|
|
44430
|
-
_defineProperty$
|
|
44433
|
+
_defineProperty$e(this, "position", void 0);
|
|
44434
|
+
_defineProperty$e(this, "orientation", void 0);
|
|
44431
44435
|
if (Array.isArray(position) && position.length === 3) {
|
|
44432
44436
|
this.position = new Vector3(position);
|
|
44433
44437
|
} else {
|
|
@@ -47699,31 +47703,31 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
|
|
|
47699
47703
|
width: 1,
|
|
47700
47704
|
height: 1
|
|
47701
47705
|
}) {
|
|
47702
|
-
_defineProperty$
|
|
47703
|
-
_defineProperty$
|
|
47704
|
-
_defineProperty$
|
|
47705
|
-
_defineProperty$
|
|
47706
|
-
_defineProperty$
|
|
47707
|
-
_defineProperty$
|
|
47708
|
-
_defineProperty$
|
|
47709
|
-
_defineProperty$
|
|
47710
|
-
_defineProperty$
|
|
47711
|
-
_defineProperty$
|
|
47712
|
-
_defineProperty$
|
|
47713
|
-
_defineProperty$
|
|
47714
|
-
_defineProperty$
|
|
47715
|
-
_defineProperty$
|
|
47716
|
-
_defineProperty$
|
|
47717
|
-
_defineProperty$
|
|
47718
|
-
_defineProperty$
|
|
47719
|
-
_defineProperty$
|
|
47720
|
-
_defineProperty$
|
|
47706
|
+
_defineProperty$f(this, "latitude", void 0);
|
|
47707
|
+
_defineProperty$f(this, "longitude", void 0);
|
|
47708
|
+
_defineProperty$f(this, "zoom", void 0);
|
|
47709
|
+
_defineProperty$f(this, "pitch", void 0);
|
|
47710
|
+
_defineProperty$f(this, "bearing", void 0);
|
|
47711
|
+
_defineProperty$f(this, "altitude", void 0);
|
|
47712
|
+
_defineProperty$f(this, "fovy", void 0);
|
|
47713
|
+
_defineProperty$f(this, "meterOffset", void 0);
|
|
47714
|
+
_defineProperty$f(this, "center", void 0);
|
|
47715
|
+
_defineProperty$f(this, "width", void 0);
|
|
47716
|
+
_defineProperty$f(this, "height", void 0);
|
|
47717
|
+
_defineProperty$f(this, "scale", void 0);
|
|
47718
|
+
_defineProperty$f(this, "distanceScales", void 0);
|
|
47719
|
+
_defineProperty$f(this, "viewMatrix", void 0);
|
|
47720
|
+
_defineProperty$f(this, "projectionMatrix", void 0);
|
|
47721
|
+
_defineProperty$f(this, "viewProjectionMatrix", void 0);
|
|
47722
|
+
_defineProperty$f(this, "pixelProjectionMatrix", void 0);
|
|
47723
|
+
_defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
|
|
47724
|
+
_defineProperty$f(this, "equals", (viewport) => {
|
|
47721
47725
|
if (!(viewport instanceof WebMercatorViewport)) {
|
|
47722
47726
|
return false;
|
|
47723
47727
|
}
|
|
47724
47728
|
return viewport.width === this.width && viewport.height === this.height && equals$2(viewport.projectionMatrix, this.projectionMatrix) && equals$2(viewport.viewMatrix, this.viewMatrix);
|
|
47725
47729
|
});
|
|
47726
|
-
_defineProperty$
|
|
47730
|
+
_defineProperty$f(this, "project", (lngLatZ, options = {}) => {
|
|
47727
47731
|
const {
|
|
47728
47732
|
topLeft = true
|
|
47729
47733
|
} = options;
|
|
@@ -47733,7 +47737,7 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
|
|
|
47733
47737
|
const y22 = topLeft ? y2 : this.height - y2;
|
|
47734
47738
|
return lngLatZ.length === 2 ? [x2, y22] : [x2, y22, coord[2]];
|
|
47735
47739
|
});
|
|
47736
|
-
_defineProperty$
|
|
47740
|
+
_defineProperty$f(this, "unproject", (xyz, options = {}) => {
|
|
47737
47741
|
const {
|
|
47738
47742
|
topLeft = true,
|
|
47739
47743
|
targetZ = void 0
|
|
@@ -47748,12 +47752,12 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
|
|
|
47748
47752
|
}
|
|
47749
47753
|
return Number.isFinite(targetZ) ? [X, Y, targetZ] : [X, Y];
|
|
47750
47754
|
});
|
|
47751
|
-
_defineProperty$
|
|
47755
|
+
_defineProperty$f(this, "projectPosition", (xyz) => {
|
|
47752
47756
|
const [X, Y] = lngLatToWorld(xyz);
|
|
47753
47757
|
const Z = (xyz[2] || 0) * this.distanceScales.unitsPerMeter[2];
|
|
47754
47758
|
return [X, Y, Z];
|
|
47755
47759
|
});
|
|
47756
|
-
_defineProperty$
|
|
47760
|
+
_defineProperty$f(this, "unprojectPosition", (xyz) => {
|
|
47757
47761
|
const [X, Y] = worldToLngLat(xyz);
|
|
47758
47762
|
const Z = (xyz[2] || 0) * this.distanceScales.metersPerUnit[2];
|
|
47759
47763
|
return [X, Y, Z];
|
|
@@ -69151,10 +69155,10 @@ const scratchVector$6 = new Vector3();
|
|
|
69151
69155
|
const scratchNormal$3 = new Vector3();
|
|
69152
69156
|
class AxisAlignedBoundingBox {
|
|
69153
69157
|
constructor(minimum = [0, 0, 0], maximum = [0, 0, 0], center2) {
|
|
69154
|
-
_defineProperty$
|
|
69155
|
-
_defineProperty$
|
|
69156
|
-
_defineProperty$
|
|
69157
|
-
_defineProperty$
|
|
69158
|
+
_defineProperty$f(this, "center", void 0);
|
|
69159
|
+
_defineProperty$f(this, "halfDiagonal", void 0);
|
|
69160
|
+
_defineProperty$f(this, "minimum", void 0);
|
|
69161
|
+
_defineProperty$f(this, "maximum", void 0);
|
|
69158
69162
|
center2 = center2 || scratchVector$6.copy(minimum).add(maximum).scale(0.5);
|
|
69159
69163
|
this.center = new Vector3(center2);
|
|
69160
69164
|
this.halfDiagonal = new Vector3(maximum).subtract(this.center);
|
|
@@ -69218,8 +69222,8 @@ const scratchVector$5 = new Vector3();
|
|
|
69218
69222
|
const scratchVector2$2 = new Vector3();
|
|
69219
69223
|
class BoundingSphere {
|
|
69220
69224
|
constructor(center2 = [0, 0, 0], radius2 = 0) {
|
|
69221
|
-
_defineProperty$
|
|
69222
|
-
_defineProperty$
|
|
69225
|
+
_defineProperty$f(this, "center", void 0);
|
|
69226
|
+
_defineProperty$f(this, "radius", void 0);
|
|
69223
69227
|
this.radius = -0;
|
|
69224
69228
|
this.center = new Vector3();
|
|
69225
69229
|
this.fromCenterRadius(center2, radius2);
|
|
@@ -69317,8 +69321,8 @@ const MATRIX3 = {
|
|
|
69317
69321
|
};
|
|
69318
69322
|
class OrientedBoundingBox {
|
|
69319
69323
|
constructor(center2 = [0, 0, 0], halfAxes = [0, 0, 0, 0, 0, 0, 0, 0, 0]) {
|
|
69320
|
-
_defineProperty$
|
|
69321
|
-
_defineProperty$
|
|
69324
|
+
_defineProperty$f(this, "center", void 0);
|
|
69325
|
+
_defineProperty$f(this, "halfAxes", void 0);
|
|
69322
69326
|
this.center = new Vector3().from(center2);
|
|
69323
69327
|
this.halfAxes = new Matrix3(halfAxes);
|
|
69324
69328
|
}
|
|
@@ -69487,8 +69491,8 @@ const scratchPosition$2 = new Vector3();
|
|
|
69487
69491
|
const scratchNormal$2 = new Vector3();
|
|
69488
69492
|
class Plane {
|
|
69489
69493
|
constructor(normal = [0, 0, 1], distance2 = 0) {
|
|
69490
|
-
_defineProperty$
|
|
69491
|
-
_defineProperty$
|
|
69494
|
+
_defineProperty$f(this, "normal", void 0);
|
|
69495
|
+
_defineProperty$f(this, "distance", void 0);
|
|
69492
69496
|
this.normal = new Vector3();
|
|
69493
69497
|
this.distance = -0;
|
|
69494
69498
|
this.fromNormalDistance(normal, distance2);
|
|
@@ -69539,7 +69543,7 @@ const scratchPlaneNormal = new Vector3();
|
|
|
69539
69543
|
new Plane(new Vector3(1, 0, 0), 0);
|
|
69540
69544
|
class CullingVolume {
|
|
69541
69545
|
constructor(planes = []) {
|
|
69542
|
-
_defineProperty$
|
|
69546
|
+
_defineProperty$f(this, "planes", void 0);
|
|
69543
69547
|
this.planes = planes;
|
|
69544
69548
|
}
|
|
69545
69549
|
fromBoundingSphere(boundingSphere) {
|
|
@@ -69604,9 +69608,9 @@ class CullingVolume {
|
|
|
69604
69608
|
return mask2;
|
|
69605
69609
|
}
|
|
69606
69610
|
}
|
|
69607
|
-
_defineProperty$
|
|
69608
|
-
_defineProperty$
|
|
69609
|
-
_defineProperty$
|
|
69611
|
+
_defineProperty$f(CullingVolume, "MASK_OUTSIDE", 4294967295);
|
|
69612
|
+
_defineProperty$f(CullingVolume, "MASK_INSIDE", 0);
|
|
69613
|
+
_defineProperty$f(CullingVolume, "MASK_INDETERMINATE", 2147483647);
|
|
69610
69614
|
new Vector3();
|
|
69611
69615
|
new Vector3();
|
|
69612
69616
|
new Vector3();
|
|
@@ -85373,9 +85377,9 @@ const DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP = {
|
|
|
85373
85377
|
const INDEX_ITEM_SIZE = 4;
|
|
85374
85378
|
class DracoParser {
|
|
85375
85379
|
constructor(draco) {
|
|
85376
|
-
_defineProperty$
|
|
85377
|
-
_defineProperty$
|
|
85378
|
-
_defineProperty$
|
|
85380
|
+
_defineProperty$f(this, "draco", void 0);
|
|
85381
|
+
_defineProperty$f(this, "decoder", void 0);
|
|
85382
|
+
_defineProperty$f(this, "metadataQuerier", void 0);
|
|
85379
85383
|
this.draco = draco;
|
|
85380
85384
|
this.decoder = new this.draco.Decoder();
|
|
85381
85385
|
this.metadataQuerier = new this.draco.MetadataQuerier();
|
|
@@ -87637,15 +87641,15 @@ const scratchHeight = new Vector3();
|
|
|
87637
87641
|
const scratchCartesian = new Vector3();
|
|
87638
87642
|
class Ellipsoid {
|
|
87639
87643
|
constructor(x2 = 0, y2 = 0, z2 = 0) {
|
|
87640
|
-
_defineProperty$
|
|
87641
|
-
_defineProperty$
|
|
87642
|
-
_defineProperty$
|
|
87643
|
-
_defineProperty$
|
|
87644
|
-
_defineProperty$
|
|
87645
|
-
_defineProperty$
|
|
87646
|
-
_defineProperty$
|
|
87647
|
-
_defineProperty$
|
|
87648
|
-
_defineProperty$
|
|
87644
|
+
_defineProperty$f(this, "radii", void 0);
|
|
87645
|
+
_defineProperty$f(this, "radiiSquared", void 0);
|
|
87646
|
+
_defineProperty$f(this, "radiiToTheFourth", void 0);
|
|
87647
|
+
_defineProperty$f(this, "oneOverRadii", void 0);
|
|
87648
|
+
_defineProperty$f(this, "oneOverRadiiSquared", void 0);
|
|
87649
|
+
_defineProperty$f(this, "minimumRadius", void 0);
|
|
87650
|
+
_defineProperty$f(this, "maximumRadius", void 0);
|
|
87651
|
+
_defineProperty$f(this, "centerToleranceSquared", _MathUtils.EPSILON1);
|
|
87652
|
+
_defineProperty$f(this, "squaredXOverSquaredZ", void 0);
|
|
87649
87653
|
assert$6(x2 >= 0);
|
|
87650
87654
|
assert$6(y2 >= 0);
|
|
87651
87655
|
assert$6(z2 >= 0);
|
|
@@ -87742,7 +87746,7 @@ class Ellipsoid {
|
|
|
87742
87746
|
return scratchPosition$1.set(0, 0, z2).to(result);
|
|
87743
87747
|
}
|
|
87744
87748
|
}
|
|
87745
|
-
_defineProperty$
|
|
87749
|
+
_defineProperty$f(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
|
|
87746
87750
|
class DoublyLinkedListNode {
|
|
87747
87751
|
constructor(item, previous, next) {
|
|
87748
87752
|
_defineProperty$f(this, "item", void 0);
|
|
@@ -98137,13 +98141,13 @@ var shams$1 = function hasSymbols() {
|
|
|
98137
98141
|
}
|
|
98138
98142
|
return true;
|
|
98139
98143
|
};
|
|
98140
|
-
var hasSymbols$
|
|
98144
|
+
var hasSymbols$3 = shams$1;
|
|
98141
98145
|
var shams = function hasToStringTagShams() {
|
|
98142
|
-
return hasSymbols$
|
|
98146
|
+
return hasSymbols$3() && !!Symbol.toStringTag;
|
|
98143
98147
|
};
|
|
98144
98148
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
98145
98149
|
var hasSymbolSham = shams$1;
|
|
98146
|
-
var hasSymbols$
|
|
98150
|
+
var hasSymbols$2 = function hasNativeSymbols() {
|
|
98147
98151
|
if (typeof origSymbol !== "function") {
|
|
98148
98152
|
return false;
|
|
98149
98153
|
}
|
|
@@ -98158,6 +98162,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
|
|
|
98158
98162
|
}
|
|
98159
98163
|
return hasSymbolSham();
|
|
98160
98164
|
};
|
|
98165
|
+
var test = {
|
|
98166
|
+
foo: {}
|
|
98167
|
+
};
|
|
98168
|
+
var $Object = Object;
|
|
98169
|
+
var hasProto$1 = function hasProto() {
|
|
98170
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
98171
|
+
};
|
|
98161
98172
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
98162
98173
|
var slice = Array.prototype.slice;
|
|
98163
98174
|
var toStr$2 = Object.prototype.toString;
|
|
@@ -98203,374 +98214,8 @@ var implementation$7 = function bind2(that2) {
|
|
|
98203
98214
|
};
|
|
98204
98215
|
var implementation$6 = implementation$7;
|
|
98205
98216
|
var functionBind = Function.prototype.bind || implementation$6;
|
|
98206
|
-
var bind$2 = functionBind;
|
|
98207
|
-
var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
|
|
98208
|
-
var undefined$2;
|
|
98209
|
-
var $SyntaxError$1 = SyntaxError;
|
|
98210
|
-
var $Function$1 = Function;
|
|
98211
|
-
var $TypeError$1 = TypeError;
|
|
98212
|
-
var getEvalledConstructor$1 = function(expressionSyntax) {
|
|
98213
|
-
try {
|
|
98214
|
-
return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
98215
|
-
} catch (e3) {
|
|
98216
|
-
}
|
|
98217
|
-
};
|
|
98218
|
-
var $gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
98219
|
-
if ($gOPD$2) {
|
|
98220
|
-
try {
|
|
98221
|
-
$gOPD$2({}, "");
|
|
98222
|
-
} catch (e3) {
|
|
98223
|
-
$gOPD$2 = null;
|
|
98224
|
-
}
|
|
98225
|
-
}
|
|
98226
|
-
var throwTypeError$1 = function() {
|
|
98227
|
-
throw new $TypeError$1();
|
|
98228
|
-
};
|
|
98229
|
-
var ThrowTypeError$1 = $gOPD$2 ? function() {
|
|
98230
|
-
try {
|
|
98231
|
-
arguments.callee;
|
|
98232
|
-
return throwTypeError$1;
|
|
98233
|
-
} catch (calleeThrows) {
|
|
98234
|
-
try {
|
|
98235
|
-
return $gOPD$2(arguments, "callee").get;
|
|
98236
|
-
} catch (gOPDthrows) {
|
|
98237
|
-
return throwTypeError$1;
|
|
98238
|
-
}
|
|
98239
|
-
}
|
|
98240
|
-
}() : throwTypeError$1;
|
|
98241
|
-
var hasSymbols$2 = hasSymbols$3();
|
|
98242
|
-
var getProto$2 = Object.getPrototypeOf || function(x2) {
|
|
98243
|
-
return x2.__proto__;
|
|
98244
|
-
};
|
|
98245
|
-
var needsEval$1 = {};
|
|
98246
|
-
var TypedArray$1 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
|
|
98247
|
-
var INTRINSICS$1 = {
|
|
98248
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
|
|
98249
|
-
"%Array%": Array,
|
|
98250
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
|
|
98251
|
-
"%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
|
|
98252
|
-
"%AsyncFromSyncIteratorPrototype%": undefined$2,
|
|
98253
|
-
"%AsyncFunction%": needsEval$1,
|
|
98254
|
-
"%AsyncGenerator%": needsEval$1,
|
|
98255
|
-
"%AsyncGeneratorFunction%": needsEval$1,
|
|
98256
|
-
"%AsyncIteratorPrototype%": needsEval$1,
|
|
98257
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
|
|
98258
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
|
|
98259
|
-
"%Boolean%": Boolean,
|
|
98260
|
-
"%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
|
|
98261
|
-
"%Date%": Date,
|
|
98262
|
-
"%decodeURI%": decodeURI,
|
|
98263
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
98264
|
-
"%encodeURI%": encodeURI,
|
|
98265
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
98266
|
-
"%Error%": Error,
|
|
98267
|
-
"%eval%": eval,
|
|
98268
|
-
// eslint-disable-line no-eval
|
|
98269
|
-
"%EvalError%": EvalError,
|
|
98270
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
|
|
98271
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
|
|
98272
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
|
|
98273
|
-
"%Function%": $Function$1,
|
|
98274
|
-
"%GeneratorFunction%": needsEval$1,
|
|
98275
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
|
|
98276
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
|
|
98277
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
|
|
98278
|
-
"%isFinite%": isFinite,
|
|
98279
|
-
"%isNaN%": isNaN,
|
|
98280
|
-
"%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
|
|
98281
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined$2,
|
|
98282
|
-
"%Map%": typeof Map === "undefined" ? undefined$2 : Map,
|
|
98283
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
98284
|
-
"%Math%": Math,
|
|
98285
|
-
"%Number%": Number,
|
|
98286
|
-
"%Object%": Object,
|
|
98287
|
-
"%parseFloat%": parseFloat,
|
|
98288
|
-
"%parseInt%": parseInt,
|
|
98289
|
-
"%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
|
|
98290
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
|
|
98291
|
-
"%RangeError%": RangeError,
|
|
98292
|
-
"%ReferenceError%": ReferenceError,
|
|
98293
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
|
|
98294
|
-
"%RegExp%": RegExp,
|
|
98295
|
-
"%Set%": typeof Set === "undefined" ? undefined$2 : Set,
|
|
98296
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
98297
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
|
|
98298
|
-
"%String%": String,
|
|
98299
|
-
"%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
|
|
98300
|
-
"%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
|
|
98301
|
-
"%SyntaxError%": $SyntaxError$1,
|
|
98302
|
-
"%ThrowTypeError%": ThrowTypeError$1,
|
|
98303
|
-
"%TypedArray%": TypedArray$1,
|
|
98304
|
-
"%TypeError%": $TypeError$1,
|
|
98305
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
|
|
98306
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
|
|
98307
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
|
|
98308
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
|
|
98309
|
-
"%URIError%": URIError,
|
|
98310
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
|
|
98311
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
|
|
98312
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
|
|
98313
|
-
};
|
|
98314
|
-
var doEval$1 = function doEval(name2) {
|
|
98315
|
-
var value;
|
|
98316
|
-
if (name2 === "%AsyncFunction%") {
|
|
98317
|
-
value = getEvalledConstructor$1("async function () {}");
|
|
98318
|
-
} else if (name2 === "%GeneratorFunction%") {
|
|
98319
|
-
value = getEvalledConstructor$1("function* () {}");
|
|
98320
|
-
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
98321
|
-
value = getEvalledConstructor$1("async function* () {}");
|
|
98322
|
-
} else if (name2 === "%AsyncGenerator%") {
|
|
98323
|
-
var fn = doEval("%AsyncGeneratorFunction%");
|
|
98324
|
-
if (fn) {
|
|
98325
|
-
value = fn.prototype;
|
|
98326
|
-
}
|
|
98327
|
-
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
98328
|
-
var gen = doEval("%AsyncGenerator%");
|
|
98329
|
-
if (gen) {
|
|
98330
|
-
value = getProto$2(gen.prototype);
|
|
98331
|
-
}
|
|
98332
|
-
}
|
|
98333
|
-
INTRINSICS$1[name2] = value;
|
|
98334
|
-
return value;
|
|
98335
|
-
};
|
|
98336
|
-
var LEGACY_ALIASES$1 = {
|
|
98337
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
98338
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
98339
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
98340
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
98341
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
98342
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
98343
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
98344
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
98345
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
98346
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
98347
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
98348
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
98349
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
98350
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
98351
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
98352
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
98353
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
98354
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
98355
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
98356
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
98357
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
98358
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
98359
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
98360
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
98361
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
98362
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
98363
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
98364
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
98365
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
98366
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
98367
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
98368
|
-
"%Promise_all%": ["Promise", "all"],
|
|
98369
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
98370
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
98371
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
98372
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
98373
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
98374
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
98375
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
98376
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
98377
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
98378
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
98379
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
98380
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
98381
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
98382
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
98383
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
98384
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
98385
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
98386
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
98387
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
98388
|
-
};
|
|
98389
98217
|
var bind$1 = functionBind;
|
|
98390
|
-
var
|
|
98391
|
-
var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
|
|
98392
|
-
var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
|
|
98393
|
-
var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
|
|
98394
|
-
var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
|
|
98395
|
-
var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
|
|
98396
|
-
var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
98397
|
-
var reEscapeChar$1 = /\\(\\)?/g;
|
|
98398
|
-
var stringToPath$1 = function stringToPath(string2) {
|
|
98399
|
-
var first = $strSlice$1(string2, 0, 1);
|
|
98400
|
-
var last = $strSlice$1(string2, -1);
|
|
98401
|
-
if (first === "%" && last !== "%") {
|
|
98402
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
|
|
98403
|
-
} else if (last === "%" && first !== "%") {
|
|
98404
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
|
|
98405
|
-
}
|
|
98406
|
-
var result = [];
|
|
98407
|
-
$replace$1(string2, rePropName$1, function(match, number2, quote, subString) {
|
|
98408
|
-
result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match;
|
|
98409
|
-
});
|
|
98410
|
-
return result;
|
|
98411
|
-
};
|
|
98412
|
-
var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
|
|
98413
|
-
var intrinsicName = name2;
|
|
98414
|
-
var alias;
|
|
98415
|
-
if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
|
|
98416
|
-
alias = LEGACY_ALIASES$1[intrinsicName];
|
|
98417
|
-
intrinsicName = "%" + alias[0] + "%";
|
|
98418
|
-
}
|
|
98419
|
-
if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
|
|
98420
|
-
var value = INTRINSICS$1[intrinsicName];
|
|
98421
|
-
if (value === needsEval$1) {
|
|
98422
|
-
value = doEval$1(intrinsicName);
|
|
98423
|
-
}
|
|
98424
|
-
if (typeof value === "undefined" && !allowMissing) {
|
|
98425
|
-
throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
98426
|
-
}
|
|
98427
|
-
return {
|
|
98428
|
-
alias,
|
|
98429
|
-
name: intrinsicName,
|
|
98430
|
-
value
|
|
98431
|
-
};
|
|
98432
|
-
}
|
|
98433
|
-
throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
|
|
98434
|
-
};
|
|
98435
|
-
var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
|
|
98436
|
-
if (typeof name2 !== "string" || name2.length === 0) {
|
|
98437
|
-
throw new $TypeError$1("intrinsic name must be a non-empty string");
|
|
98438
|
-
}
|
|
98439
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
98440
|
-
throw new $TypeError$1('"allowMissing" argument must be a boolean');
|
|
98441
|
-
}
|
|
98442
|
-
if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
|
|
98443
|
-
throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
98444
|
-
}
|
|
98445
|
-
var parts = stringToPath$1(name2);
|
|
98446
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
98447
|
-
var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
|
|
98448
|
-
var intrinsicRealName = intrinsic.name;
|
|
98449
|
-
var value = intrinsic.value;
|
|
98450
|
-
var skipFurtherCaching = false;
|
|
98451
|
-
var alias = intrinsic.alias;
|
|
98452
|
-
if (alias) {
|
|
98453
|
-
intrinsicBaseName = alias[0];
|
|
98454
|
-
$spliceApply$1(parts, $concat$1([0, 1], alias));
|
|
98455
|
-
}
|
|
98456
|
-
for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
|
|
98457
|
-
var part = parts[i2];
|
|
98458
|
-
var first = $strSlice$1(part, 0, 1);
|
|
98459
|
-
var last = $strSlice$1(part, -1);
|
|
98460
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
98461
|
-
throw new $SyntaxError$1("property names with quotes must have matching quotes");
|
|
98462
|
-
}
|
|
98463
|
-
if (part === "constructor" || !isOwn) {
|
|
98464
|
-
skipFurtherCaching = true;
|
|
98465
|
-
}
|
|
98466
|
-
intrinsicBaseName += "." + part;
|
|
98467
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
98468
|
-
if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
|
|
98469
|
-
value = INTRINSICS$1[intrinsicRealName];
|
|
98470
|
-
} else if (value != null) {
|
|
98471
|
-
if (!(part in value)) {
|
|
98472
|
-
if (!allowMissing) {
|
|
98473
|
-
throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
|
|
98474
|
-
}
|
|
98475
|
-
return void 0;
|
|
98476
|
-
}
|
|
98477
|
-
if ($gOPD$2 && i2 + 1 >= parts.length) {
|
|
98478
|
-
var desc = $gOPD$2(value, part);
|
|
98479
|
-
isOwn = !!desc;
|
|
98480
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
98481
|
-
value = desc.get;
|
|
98482
|
-
} else {
|
|
98483
|
-
value = value[part];
|
|
98484
|
-
}
|
|
98485
|
-
} else {
|
|
98486
|
-
isOwn = hasOwn$1(value, part);
|
|
98487
|
-
value = value[part];
|
|
98488
|
-
}
|
|
98489
|
-
if (isOwn && !skipFurtherCaching) {
|
|
98490
|
-
INTRINSICS$1[intrinsicRealName] = value;
|
|
98491
|
-
}
|
|
98492
|
-
}
|
|
98493
|
-
}
|
|
98494
|
-
return value;
|
|
98495
|
-
};
|
|
98496
|
-
var callBind$3 = { exports: {} };
|
|
98497
|
-
(function(module2) {
|
|
98498
|
-
var bind4 = functionBind;
|
|
98499
|
-
var GetIntrinsic4 = getIntrinsic$1;
|
|
98500
|
-
var $apply = GetIntrinsic4("%Function.prototype.apply%");
|
|
98501
|
-
var $call = GetIntrinsic4("%Function.prototype.call%");
|
|
98502
|
-
var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
98503
|
-
var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
|
|
98504
|
-
var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
|
|
98505
|
-
var $max = GetIntrinsic4("%Math.max%");
|
|
98506
|
-
if ($defineProperty2) {
|
|
98507
|
-
try {
|
|
98508
|
-
$defineProperty2({}, "a", { value: 1 });
|
|
98509
|
-
} catch (e3) {
|
|
98510
|
-
$defineProperty2 = null;
|
|
98511
|
-
}
|
|
98512
|
-
}
|
|
98513
|
-
module2.exports = function callBind2(originalFunction) {
|
|
98514
|
-
var func = $reflectApply(bind4, $call, arguments);
|
|
98515
|
-
if ($gOPD2 && $defineProperty2) {
|
|
98516
|
-
var desc = $gOPD2(func, "length");
|
|
98517
|
-
if (desc.configurable) {
|
|
98518
|
-
$defineProperty2(
|
|
98519
|
-
func,
|
|
98520
|
-
"length",
|
|
98521
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
98522
|
-
);
|
|
98523
|
-
}
|
|
98524
|
-
}
|
|
98525
|
-
return func;
|
|
98526
|
-
};
|
|
98527
|
-
var applyBind = function applyBind2() {
|
|
98528
|
-
return $reflectApply(bind4, $apply, arguments);
|
|
98529
|
-
};
|
|
98530
|
-
if ($defineProperty2) {
|
|
98531
|
-
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
98532
|
-
} else {
|
|
98533
|
-
module2.exports.apply = applyBind;
|
|
98534
|
-
}
|
|
98535
|
-
})(callBind$3);
|
|
98536
|
-
var callBindExports = callBind$3.exports;
|
|
98537
|
-
var GetIntrinsic$1 = getIntrinsic$1;
|
|
98538
|
-
var callBind$2 = callBindExports;
|
|
98539
|
-
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
|
98540
|
-
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
|
98541
|
-
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
|
98542
|
-
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
98543
|
-
return callBind$2(intrinsic);
|
|
98544
|
-
}
|
|
98545
|
-
return intrinsic;
|
|
98546
|
-
};
|
|
98547
|
-
var hasToStringTag$2 = shams();
|
|
98548
|
-
var callBound$1 = callBound$2;
|
|
98549
|
-
var $toString$1 = callBound$1("Object.prototype.toString");
|
|
98550
|
-
var isStandardArguments = function isArguments2(value) {
|
|
98551
|
-
if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
|
|
98552
|
-
return false;
|
|
98553
|
-
}
|
|
98554
|
-
return $toString$1(value) === "[object Arguments]";
|
|
98555
|
-
};
|
|
98556
|
-
var isLegacyArguments = function isArguments3(value) {
|
|
98557
|
-
if (isStandardArguments(value)) {
|
|
98558
|
-
return true;
|
|
98559
|
-
}
|
|
98560
|
-
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
|
|
98561
|
-
};
|
|
98562
|
-
var supportsStandardArguments = function() {
|
|
98563
|
-
return isStandardArguments(arguments);
|
|
98564
|
-
}();
|
|
98565
|
-
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
98566
|
-
var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
98567
|
-
var test = {
|
|
98568
|
-
foo: {}
|
|
98569
|
-
};
|
|
98570
|
-
var $Object = Object;
|
|
98571
|
-
var hasProto$1 = function hasProto() {
|
|
98572
|
-
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
98573
|
-
};
|
|
98218
|
+
var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
|
|
98574
98219
|
var undefined$1;
|
|
98575
98220
|
var $SyntaxError = SyntaxError;
|
|
98576
98221
|
var $Function = Function;
|
|
@@ -98604,7 +98249,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
|
|
|
98604
98249
|
}
|
|
98605
98250
|
}
|
|
98606
98251
|
}() : throwTypeError;
|
|
98607
|
-
var hasSymbols$1 = hasSymbols$
|
|
98252
|
+
var hasSymbols$1 = hasSymbols$2();
|
|
98608
98253
|
var hasProto2 = hasProto$1();
|
|
98609
98254
|
var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
|
|
98610
98255
|
return x2.__proto__;
|
|
@@ -98688,7 +98333,7 @@ if (getProto$1) {
|
|
|
98688
98333
|
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
98689
98334
|
}
|
|
98690
98335
|
}
|
|
98691
|
-
var
|
|
98336
|
+
var doEval = function doEval2(name2) {
|
|
98692
98337
|
var value;
|
|
98693
98338
|
if (name2 === "%AsyncFunction%") {
|
|
98694
98339
|
value = getEvalledConstructor("async function () {}");
|
|
@@ -98697,12 +98342,12 @@ var doEval2 = function doEval3(name2) {
|
|
|
98697
98342
|
} else if (name2 === "%AsyncGeneratorFunction%") {
|
|
98698
98343
|
value = getEvalledConstructor("async function* () {}");
|
|
98699
98344
|
} else if (name2 === "%AsyncGenerator%") {
|
|
98700
|
-
var fn =
|
|
98345
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
98701
98346
|
if (fn) {
|
|
98702
98347
|
value = fn.prototype;
|
|
98703
98348
|
}
|
|
98704
98349
|
} else if (name2 === "%AsyncIteratorPrototype%") {
|
|
98705
|
-
var gen =
|
|
98350
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
98706
98351
|
if (gen && getProto$1) {
|
|
98707
98352
|
value = getProto$1(gen.prototype);
|
|
98708
98353
|
}
|
|
@@ -98772,7 +98417,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
|
|
|
98772
98417
|
var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
|
|
98773
98418
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
98774
98419
|
var reEscapeChar = /\\(\\)?/g;
|
|
98775
|
-
var
|
|
98420
|
+
var stringToPath = function stringToPath2(string2) {
|
|
98776
98421
|
var first = $strSlice(string2, 0, 1);
|
|
98777
98422
|
var last = $strSlice(string2, -1);
|
|
98778
98423
|
if (first === "%" && last !== "%") {
|
|
@@ -98786,7 +98431,7 @@ var stringToPath2 = function stringToPath3(string2) {
|
|
|
98786
98431
|
});
|
|
98787
98432
|
return result;
|
|
98788
98433
|
};
|
|
98789
|
-
var
|
|
98434
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
|
|
98790
98435
|
var intrinsicName = name2;
|
|
98791
98436
|
var alias;
|
|
98792
98437
|
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
@@ -98796,7 +98441,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
|
98796
98441
|
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
98797
98442
|
var value = INTRINSICS[intrinsicName];
|
|
98798
98443
|
if (value === needsEval) {
|
|
98799
|
-
value =
|
|
98444
|
+
value = doEval(intrinsicName);
|
|
98800
98445
|
}
|
|
98801
98446
|
if (typeof value === "undefined" && !allowMissing) {
|
|
98802
98447
|
throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
|
@@ -98809,7 +98454,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
|
98809
98454
|
}
|
|
98810
98455
|
throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
|
|
98811
98456
|
};
|
|
98812
|
-
var getIntrinsic = function
|
|
98457
|
+
var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
|
|
98813
98458
|
if (typeof name2 !== "string" || name2.length === 0) {
|
|
98814
98459
|
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
98815
98460
|
}
|
|
@@ -98819,9 +98464,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
|
98819
98464
|
if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
|
|
98820
98465
|
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
98821
98466
|
}
|
|
98822
|
-
var parts =
|
|
98467
|
+
var parts = stringToPath(name2);
|
|
98823
98468
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
98824
|
-
var intrinsic =
|
|
98469
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
98825
98470
|
var intrinsicRealName = intrinsic.name;
|
|
98826
98471
|
var value = intrinsic.value;
|
|
98827
98472
|
var skipFurtherCaching = false;
|
|
@@ -98870,8 +98515,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
|
98870
98515
|
}
|
|
98871
98516
|
return value;
|
|
98872
98517
|
};
|
|
98873
|
-
var
|
|
98874
|
-
|
|
98518
|
+
var callBind$3 = { exports: {} };
|
|
98519
|
+
(function(module2) {
|
|
98520
|
+
var bind4 = functionBind;
|
|
98521
|
+
var GetIntrinsic3 = getIntrinsic;
|
|
98522
|
+
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
98523
|
+
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
98524
|
+
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
98525
|
+
var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
|
|
98526
|
+
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
|
|
98527
|
+
var $max = GetIntrinsic3("%Math.max%");
|
|
98528
|
+
if ($defineProperty2) {
|
|
98529
|
+
try {
|
|
98530
|
+
$defineProperty2({}, "a", { value: 1 });
|
|
98531
|
+
} catch (e3) {
|
|
98532
|
+
$defineProperty2 = null;
|
|
98533
|
+
}
|
|
98534
|
+
}
|
|
98535
|
+
module2.exports = function callBind2(originalFunction) {
|
|
98536
|
+
var func = $reflectApply(bind4, $call, arguments);
|
|
98537
|
+
if ($gOPD2 && $defineProperty2) {
|
|
98538
|
+
var desc = $gOPD2(func, "length");
|
|
98539
|
+
if (desc.configurable) {
|
|
98540
|
+
$defineProperty2(
|
|
98541
|
+
func,
|
|
98542
|
+
"length",
|
|
98543
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
98544
|
+
);
|
|
98545
|
+
}
|
|
98546
|
+
}
|
|
98547
|
+
return func;
|
|
98548
|
+
};
|
|
98549
|
+
var applyBind = function applyBind2() {
|
|
98550
|
+
return $reflectApply(bind4, $apply, arguments);
|
|
98551
|
+
};
|
|
98552
|
+
if ($defineProperty2) {
|
|
98553
|
+
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
|
98554
|
+
} else {
|
|
98555
|
+
module2.exports.apply = applyBind;
|
|
98556
|
+
}
|
|
98557
|
+
})(callBind$3);
|
|
98558
|
+
var callBindExports = callBind$3.exports;
|
|
98559
|
+
var GetIntrinsic$1 = getIntrinsic;
|
|
98560
|
+
var callBind$2 = callBindExports;
|
|
98561
|
+
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
|
98562
|
+
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
|
98563
|
+
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
|
98564
|
+
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
|
98565
|
+
return callBind$2(intrinsic);
|
|
98566
|
+
}
|
|
98567
|
+
return intrinsic;
|
|
98568
|
+
};
|
|
98569
|
+
var hasToStringTag$2 = shams();
|
|
98570
|
+
var callBound$1 = callBound$2;
|
|
98571
|
+
var $toString$1 = callBound$1("Object.prototype.toString");
|
|
98572
|
+
var isStandardArguments = function isArguments2(value) {
|
|
98573
|
+
if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
|
|
98574
|
+
return false;
|
|
98575
|
+
}
|
|
98576
|
+
return $toString$1(value) === "[object Arguments]";
|
|
98577
|
+
};
|
|
98578
|
+
var isLegacyArguments = function isArguments3(value) {
|
|
98579
|
+
if (isStandardArguments(value)) {
|
|
98580
|
+
return true;
|
|
98581
|
+
}
|
|
98582
|
+
return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
|
|
98583
|
+
};
|
|
98584
|
+
var supportsStandardArguments = function() {
|
|
98585
|
+
return isStandardArguments(arguments);
|
|
98586
|
+
}();
|
|
98587
|
+
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
|
98588
|
+
var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
98589
|
+
var GetIntrinsic2 = getIntrinsic;
|
|
98590
|
+
var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
|
|
98875
98591
|
var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
|
|
98876
98592
|
if ($defineProperty) {
|
|
98877
98593
|
try {
|
|
@@ -132442,16 +132158,16 @@ function addDecoder(cases, importFn) {
|
|
|
132442
132158
|
}
|
|
132443
132159
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
132444
132160
|
}
|
|
132445
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
132446
|
-
addDecoder(5, () => import("./lzw-
|
|
132161
|
+
addDecoder([void 0, 1], () => import("./raw-0aecbbc9.js").then((m) => m.default));
|
|
132162
|
+
addDecoder(5, () => import("./lzw-b482148a.js").then((m) => m.default));
|
|
132447
132163
|
addDecoder(6, () => {
|
|
132448
132164
|
throw new Error("old style JPEG compression is not supported.");
|
|
132449
132165
|
});
|
|
132450
|
-
addDecoder(7, () => import("./jpeg-
|
|
132451
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
132452
|
-
addDecoder(32773, () => import("./packbits-
|
|
132453
|
-
addDecoder(34887, () => import("./lerc-
|
|
132454
|
-
addDecoder(50001, () => import("./webimage-
|
|
132166
|
+
addDecoder(7, () => import("./jpeg-d33c98fc.js").then((m) => m.default));
|
|
132167
|
+
addDecoder([8, 32946], () => import("./deflate-d508d4a0.js").then((m) => m.default));
|
|
132168
|
+
addDecoder(32773, () => import("./packbits-09f27b8f.js").then((m) => m.default));
|
|
132169
|
+
addDecoder(34887, () => import("./lerc-10fe8c3f.js").then((m) => m.default));
|
|
132170
|
+
addDecoder(50001, () => import("./webimage-b4a1a024.js").then((m) => m.default));
|
|
132455
132171
|
function decodeRowAcc(row, stride) {
|
|
132456
132172
|
let length2 = row.length - stride;
|
|
132457
132173
|
let offset5 = 0;
|
|
@@ -143532,7 +143248,7 @@ const Heatmap = forwardRef((props2, deckRef) => {
|
|
|
143532
143248
|
useEffect(() => {
|
|
143533
143249
|
updateViewInfo({
|
|
143534
143250
|
uuid,
|
|
143535
|
-
|
|
143251
|
+
projectFromId: (cellId, geneId) => {
|
|
143536
143252
|
const colI = transpose2 ? axisTopLabels.indexOf(cellId) : axisTopLabels.indexOf(geneId);
|
|
143537
143253
|
const rowI = transpose2 ? axisLeftLabels.indexOf(geneId) : axisLeftLabels.indexOf(cellId);
|
|
143538
143254
|
return heatmapToMousePosition(
|
|
@@ -144184,11 +143900,11 @@ function HeatmapTooltipSubscriber(props2) {
|
|
|
144184
143900
|
const viewInfo = useComponentViewInfo(parentUuid);
|
|
144185
143901
|
const [cellInfo, cellCoord] = obsHighlight && getObsInfo ? [
|
|
144186
143902
|
getObsInfo(obsHighlight),
|
|
144187
|
-
viewInfo && viewInfo.
|
|
143903
|
+
viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight, null)[transpose2 ? 0 : 1] : null
|
|
144188
143904
|
] : [null, null];
|
|
144189
143905
|
const [geneInfo, geneCoord] = featureHighlight && getFeatureInfo ? [
|
|
144190
143906
|
getFeatureInfo(featureHighlight),
|
|
144191
|
-
viewInfo && viewInfo.
|
|
143907
|
+
viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(null, featureHighlight)[transpose2 ? 1 : 0] : null
|
|
144192
143908
|
] : [null, null];
|
|
144193
143909
|
const x2 = transpose2 ? cellCoord : geneCoord;
|
|
144194
143910
|
const y2 = transpose2 ? geneCoord : cellCoord;
|