@vitessce/all 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-475a23c9.js → deflate-c18e8d14.js} +1 -1
- package/dist/{hglib-76c1b0ad.js → hglib-8b454259.js} +1 -1
- package/dist/{index-f48f3f08.js → index-6e5fe875.js} +552 -785
- package/dist/index.js +1 -1
- package/dist/{jpeg-7f0b1b2c.js → jpeg-d5225556.js} +1 -1
- package/dist/{lerc-f7557585.js → lerc-e2ffe296.js} +1 -1
- package/dist/{lzw-4d26ee71.js → lzw-e2d5a7f6.js} +1 -1
- package/dist/{packbits-08efb7ce.js → packbits-b6a798a9.js} +1 -1
- package/dist/{raw-3c2d82ff.js → raw-90cab418.js} +1 -1
- package/dist/{webimage-a7dde8d2.js → webimage-ad4dfc02.js} +1 -1
- package/dist-tsc/base-plugins.d.ts +1 -1
- package/dist-tsc/base-plugins.d.ts.map +1 -1
- package/dist-tsc/base-plugins.js +2 -0
- package/package.json +20 -20
- package/src/base-plugins.ts +10 -0
@@ -5525,15 +5525,15 @@ function memoizeCapped$2(func) {
|
|
5525
5525
|
var cache2 = result.cache;
|
5526
5526
|
return result;
|
5527
5527
|
}
|
5528
|
-
var rePropName$
|
5529
|
-
var reEscapeChar$
|
5528
|
+
var rePropName$2 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
5529
|
+
var reEscapeChar$2 = /\\(\\)?/g;
|
5530
5530
|
var stringToPath$3 = memoizeCapped$2(function(string2) {
|
5531
5531
|
var result = [];
|
5532
5532
|
if (string2.charCodeAt(0) === 46) {
|
5533
5533
|
result.push("");
|
5534
5534
|
}
|
5535
|
-
string2.replace(rePropName$
|
5536
|
-
result.push(quote ? subString.replace(reEscapeChar$
|
5535
|
+
string2.replace(rePropName$2, function(match2, number2, quote, subString) {
|
5536
|
+
result.push(quote ? subString.replace(reEscapeChar$2, "$1") : number2 || match2);
|
5537
5537
|
});
|
5538
5538
|
return result;
|
5539
5539
|
});
|
@@ -14177,7 +14177,7 @@ var json2csv_umd = { exports: {} };
|
|
14177
14177
|
return result == "0" && 1 / value2 == -INFINITY2 ? "-0" : result;
|
14178
14178
|
}
|
14179
14179
|
function castPath2(value2) {
|
14180
|
-
return isArray$22(value2) ? value2 :
|
14180
|
+
return isArray$22(value2) ? value2 : stringToPath3(value2);
|
14181
14181
|
}
|
14182
14182
|
function getMapData2(map2, key2) {
|
14183
14183
|
var data2 = map2.__data__;
|
@@ -14204,7 +14204,7 @@ var json2csv_umd = { exports: {} };
|
|
14204
14204
|
function isMasked2(func) {
|
14205
14205
|
return !!maskSrcKey2 && maskSrcKey2 in func;
|
14206
14206
|
}
|
14207
|
-
var
|
14207
|
+
var stringToPath3 = memoize3(function(string2) {
|
14208
14208
|
string2 = toString$12(string2);
|
14209
14209
|
var result = [];
|
14210
14210
|
if (reLeadingDot.test(string2)) {
|
@@ -18672,6 +18672,10 @@ const FileType$1 = {
|
|
18672
18672
|
ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
|
18673
18673
|
};
|
18674
18674
|
const CoordinationType$1 = {
|
18675
|
+
// Meta coordination scopes
|
18676
|
+
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
18677
|
+
META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
|
18678
|
+
// Other coordination scopes
|
18675
18679
|
DATASET: "dataset",
|
18676
18680
|
// Entity types
|
18677
18681
|
OBS_TYPE: "obsType",
|
@@ -20410,7 +20414,24 @@ function elementTypeAcceptingRef(props2, propName, componentName, location, prop
|
|
20410
20414
|
return null;
|
20411
20415
|
}
|
20412
20416
|
const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
|
20417
|
+
function _toPrimitive$1(input, hint2) {
|
20418
|
+
if (_typeof$B(input) !== "object" || input === null)
|
20419
|
+
return input;
|
20420
|
+
var prim = input[Symbol.toPrimitive];
|
20421
|
+
if (prim !== void 0) {
|
20422
|
+
var res = prim.call(input, hint2 || "default");
|
20423
|
+
if (_typeof$B(res) !== "object")
|
20424
|
+
return res;
|
20425
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
20426
|
+
}
|
20427
|
+
return (hint2 === "string" ? String : Number)(input);
|
20428
|
+
}
|
20429
|
+
function _toPropertyKey(arg) {
|
20430
|
+
var key2 = _toPrimitive$1(arg, "string");
|
20431
|
+
return _typeof$B(key2) === "symbol" ? key2 : String(key2);
|
20432
|
+
}
|
20413
20433
|
function _defineProperty$n(obj, key2, value2) {
|
20434
|
+
key2 = _toPropertyKey(key2);
|
20414
20435
|
if (key2 in obj) {
|
20415
20436
|
Object.defineProperty(obj, key2, {
|
20416
20437
|
value: value2,
|
@@ -20807,6 +20828,19 @@ function lighten(color2, coefficient) {
|
|
20807
20828
|
}
|
20808
20829
|
return recomposeColor(color2);
|
20809
20830
|
}
|
20831
|
+
function _defineProperty$m(obj, key2, value2) {
|
20832
|
+
if (key2 in obj) {
|
20833
|
+
Object.defineProperty(obj, key2, {
|
20834
|
+
value: value2,
|
20835
|
+
enumerable: true,
|
20836
|
+
configurable: true,
|
20837
|
+
writable: true
|
20838
|
+
});
|
20839
|
+
} else {
|
20840
|
+
obj[key2] = value2;
|
20841
|
+
}
|
20842
|
+
return obj;
|
20843
|
+
}
|
20810
20844
|
function _objectWithoutPropertiesLoose$1(source2, excluded) {
|
20811
20845
|
if (source2 == null)
|
20812
20846
|
return {};
|
@@ -20839,6 +20873,20 @@ function _objectWithoutProperties$1(source2, excluded) {
|
|
20839
20873
|
}
|
20840
20874
|
return target2;
|
20841
20875
|
}
|
20876
|
+
function _extends$6() {
|
20877
|
+
_extends$6 = Object.assign ? Object.assign.bind() : function(target2) {
|
20878
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
20879
|
+
var source2 = arguments[i2];
|
20880
|
+
for (var key2 in source2) {
|
20881
|
+
if (Object.prototype.hasOwnProperty.call(source2, key2)) {
|
20882
|
+
target2[key2] = source2[key2];
|
20883
|
+
}
|
20884
|
+
}
|
20885
|
+
}
|
20886
|
+
return target2;
|
20887
|
+
};
|
20888
|
+
return _extends$6.apply(this, arguments);
|
20889
|
+
}
|
20842
20890
|
var keys$9 = ["xs", "sm", "md", "lg", "xl"];
|
20843
20891
|
function createBreakpoints(breakpoints) {
|
20844
20892
|
var _breakpoints$values = breakpoints.values, values3 = _breakpoints$values === void 0 ? {
|
@@ -20881,7 +20929,7 @@ function createBreakpoints(breakpoints) {
|
|
20881
20929
|
}
|
20882
20930
|
return values3[key2];
|
20883
20931
|
}
|
20884
|
-
return _extends$
|
20932
|
+
return _extends$6({
|
20885
20933
|
keys: keys$9,
|
20886
20934
|
values: values3,
|
20887
20935
|
up,
|
@@ -20893,23 +20941,23 @@ function createBreakpoints(breakpoints) {
|
|
20893
20941
|
}
|
20894
20942
|
function createMixins(breakpoints, spacing, mixins) {
|
20895
20943
|
var _toolbar;
|
20896
|
-
return _extends$
|
20944
|
+
return _extends$6({
|
20897
20945
|
gutters: function gutters() {
|
20898
20946
|
var styles33 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
20899
20947
|
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"));
|
20900
|
-
return _extends$
|
20948
|
+
return _extends$6({
|
20901
20949
|
paddingLeft: spacing(2),
|
20902
20950
|
paddingRight: spacing(2)
|
20903
|
-
}, styles33, _defineProperty$
|
20951
|
+
}, styles33, _defineProperty$m({}, breakpoints.up("sm"), _extends$6({
|
20904
20952
|
paddingLeft: spacing(3),
|
20905
20953
|
paddingRight: spacing(3)
|
20906
20954
|
}, styles33[breakpoints.up("sm")])));
|
20907
20955
|
},
|
20908
20956
|
toolbar: (_toolbar = {
|
20909
20957
|
minHeight: 56
|
20910
|
-
}, _defineProperty$
|
20958
|
+
}, _defineProperty$m(_toolbar, "".concat(breakpoints.up("xs"), " and (orientation: landscape)"), {
|
20911
20959
|
minHeight: 48
|
20912
|
-
}), _defineProperty$
|
20960
|
+
}), _defineProperty$m(_toolbar, breakpoints.up("sm"), {
|
20913
20961
|
minHeight: 64
|
20914
20962
|
}), _toolbar)
|
20915
20963
|
}, mixins);
|
@@ -21034,7 +21082,7 @@ function createPalette(palette) {
|
|
21034
21082
|
var mainShade = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 500;
|
21035
21083
|
var lightShade = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 300;
|
21036
21084
|
var darkShade = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 700;
|
21037
|
-
color2 = _extends$
|
21085
|
+
color2 = _extends$6({}, color2);
|
21038
21086
|
if (!color2.main && color2[mainShade]) {
|
21039
21087
|
color2.main = color2[mainShade];
|
21040
21088
|
}
|
@@ -21060,7 +21108,7 @@ function createPalette(palette) {
|
|
21060
21108
|
console.error("Material-UI: The palette type `".concat(type2, "` is not supported."));
|
21061
21109
|
}
|
21062
21110
|
}
|
21063
|
-
var paletteOutput = deepmerge(_extends$
|
21111
|
+
var paletteOutput = deepmerge(_extends$6({
|
21064
21112
|
// A collection of common colors.
|
21065
21113
|
common: common$3,
|
21066
21114
|
// The palette type, can be light or dark.
|
@@ -21125,7 +21173,7 @@ function createTypography(palette, typography) {
|
|
21125
21173
|
return "".concat(size2 / htmlFontSize * coef, "rem");
|
21126
21174
|
};
|
21127
21175
|
var buildVariant = function buildVariant2(fontWeight, size2, lineHeight2, letterSpacing, casing) {
|
21128
|
-
return _extends$
|
21176
|
+
return _extends$6({
|
21129
21177
|
fontFamily: fontFamily2,
|
21130
21178
|
fontWeight,
|
21131
21179
|
fontSize: pxToRem(size2),
|
@@ -21150,7 +21198,7 @@ function createTypography(palette, typography) {
|
|
21150
21198
|
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
21151
21199
|
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
|
21152
21200
|
};
|
21153
|
-
return deepmerge(_extends$
|
21201
|
+
return deepmerge(_extends$6({
|
21154
21202
|
htmlFontSize,
|
21155
21203
|
pxToRem,
|
21156
21204
|
round: roundWithDeprecationWarning,
|
@@ -21215,6 +21263,14 @@ function _nonIterableSpread$j() {
|
|
21215
21263
|
function _toConsumableArray$j(arr) {
|
21216
21264
|
return _arrayWithoutHoles$j(arr) || _iterableToArray$j(arr) || _unsupportedIterableToArray$n(arr) || _nonIterableSpread$j();
|
21217
21265
|
}
|
21266
|
+
function _typeof$A(obj) {
|
21267
|
+
"@babel/helpers - typeof";
|
21268
|
+
return _typeof$A = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
21269
|
+
return typeof obj2;
|
21270
|
+
} : function(obj2) {
|
21271
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
21272
|
+
}, _typeof$A(obj);
|
21273
|
+
}
|
21218
21274
|
function _arrayWithHoles$8(arr) {
|
21219
21275
|
if (Array.isArray(arr))
|
21220
21276
|
return arr;
|
@@ -21457,7 +21513,7 @@ function createTheme() {
|
|
21457
21513
|
} else if (pseudoClasses2.indexOf(key2) !== -1 && Object.keys(child2).length > 0) {
|
21458
21514
|
{
|
21459
21515
|
console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key2, "` internal state."), "You can not override it like this: ", JSON.stringify(node, null, 2), "", "Instead, you need to use the $ruleName syntax:", JSON.stringify({
|
21460
|
-
root: _defineProperty$
|
21516
|
+
root: _defineProperty$m({}, "&$".concat(key2), child2)
|
21461
21517
|
}, null, 2), "", "https://mui.com/r/pseudo-classes-guide"].join("\n"));
|
21462
21518
|
}
|
21463
21519
|
node[key2] = {};
|
@@ -21539,50 +21595,12 @@ function warning$2(condition, message) {
|
|
21539
21595
|
}
|
21540
21596
|
}
|
21541
21597
|
}
|
21542
|
-
function
|
21543
|
-
_extends$6 = Object.assign ? Object.assign.bind() : function(target2) {
|
21544
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
21545
|
-
var source2 = arguments[i2];
|
21546
|
-
for (var key2 in source2) {
|
21547
|
-
if (Object.prototype.hasOwnProperty.call(source2, key2)) {
|
21548
|
-
target2[key2] = source2[key2];
|
21549
|
-
}
|
21550
|
-
}
|
21551
|
-
}
|
21552
|
-
return target2;
|
21553
|
-
};
|
21554
|
-
return _extends$6.apply(this, arguments);
|
21555
|
-
}
|
21556
|
-
var _typeof$A = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
21598
|
+
var _typeof$z = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
21557
21599
|
return typeof obj;
|
21558
21600
|
} : function(obj) {
|
21559
21601
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
21560
21602
|
};
|
21561
|
-
var isBrowser$6 = (typeof window === "undefined" ? "undefined" : _typeof$
|
21562
|
-
function _typeof$z(obj) {
|
21563
|
-
"@babel/helpers - typeof";
|
21564
|
-
return _typeof$z = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
21565
|
-
return typeof obj2;
|
21566
|
-
} : function(obj2) {
|
21567
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
21568
|
-
}, _typeof$z(obj);
|
21569
|
-
}
|
21570
|
-
function _toPrimitive$1(input, hint2) {
|
21571
|
-
if (_typeof$z(input) !== "object" || input === null)
|
21572
|
-
return input;
|
21573
|
-
var prim = input[Symbol.toPrimitive];
|
21574
|
-
if (prim !== void 0) {
|
21575
|
-
var res = prim.call(input, hint2 || "default");
|
21576
|
-
if (_typeof$z(res) !== "object")
|
21577
|
-
return res;
|
21578
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
21579
|
-
}
|
21580
|
-
return (hint2 === "string" ? String : Number)(input);
|
21581
|
-
}
|
21582
|
-
function _toPropertyKey(arg) {
|
21583
|
-
var key2 = _toPrimitive$1(arg, "string");
|
21584
|
-
return _typeof$z(key2) === "symbol" ? key2 : String(key2);
|
21585
|
-
}
|
21603
|
+
var isBrowser$6 = (typeof window === "undefined" ? "undefined" : _typeof$z(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof$z(document)) === "object" && document.nodeType === 9;
|
21586
21604
|
function _defineProperties$y(target2, props2) {
|
21587
21605
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
21588
21606
|
var descriptor2 = props2[i2];
|
@@ -21860,7 +21878,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
21860
21878
|
_proto2.toString = function toString2(options) {
|
21861
21879
|
var sheet = this.options.sheet;
|
21862
21880
|
var link2 = sheet ? sheet.options.link : false;
|
21863
|
-
var opts2 = link2 ? _extends$
|
21881
|
+
var opts2 = link2 ? _extends$7({}, options, {
|
21864
21882
|
allowEmpty: true
|
21865
21883
|
}) : options;
|
21866
21884
|
return toCss(this.selectorText, this.style, opts2);
|
@@ -21907,7 +21925,7 @@ var ConditionalRule = /* @__PURE__ */ function() {
|
|
21907
21925
|
this.at = atMatch ? atMatch[1] : "unknown";
|
21908
21926
|
this.query = options.name || "@" + this.at;
|
21909
21927
|
this.options = options;
|
21910
|
-
this.rules = new RuleList(_extends$
|
21928
|
+
this.rules = new RuleList(_extends$7({}, options, {
|
21911
21929
|
parent: this
|
21912
21930
|
}));
|
21913
21931
|
for (var name2 in styles33) {
|
@@ -21979,11 +21997,11 @@ var KeyframesRule = /* @__PURE__ */ function() {
|
|
21979
21997
|
this.options = options;
|
21980
21998
|
var scoped = options.scoped, sheet = options.sheet, generateId = options.generateId;
|
21981
21999
|
this.id = scoped === false ? this.name : escape$1(generateId(this, sheet));
|
21982
|
-
this.rules = new RuleList(_extends$
|
22000
|
+
this.rules = new RuleList(_extends$7({}, options, {
|
21983
22001
|
parent: this
|
21984
22002
|
}));
|
21985
22003
|
for (var name2 in frames) {
|
21986
|
-
this.rules.add(name2, frames[name2], _extends$
|
22004
|
+
this.rules.add(name2, frames[name2], _extends$7({}, options, {
|
21987
22005
|
parent: this
|
21988
22006
|
}));
|
21989
22007
|
}
|
@@ -22068,7 +22086,7 @@ var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
22068
22086
|
_proto.toString = function toString2(options) {
|
22069
22087
|
var sheet = this.options.sheet;
|
22070
22088
|
var link2 = sheet ? sheet.options.link : false;
|
22071
|
-
var opts2 = link2 ? _extends$
|
22089
|
+
var opts2 = link2 ? _extends$7({}, options, {
|
22072
22090
|
allowEmpty: true
|
22073
22091
|
}) : options;
|
22074
22092
|
return toCss(this.key, this.style, opts2);
|
@@ -22192,7 +22210,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
22192
22210
|
var _proto = RuleList2.prototype;
|
22193
22211
|
_proto.add = function add2(name2, decl, ruleOptions) {
|
22194
22212
|
var _this$options = this.options, parent = _this$options.parent, sheet = _this$options.sheet, jss2 = _this$options.jss, Renderer2 = _this$options.Renderer, generateId = _this$options.generateId, scoped = _this$options.scoped;
|
22195
|
-
var options = _extends$
|
22213
|
+
var options = _extends$7({
|
22196
22214
|
classes: this.classes,
|
22197
22215
|
parent,
|
22198
22216
|
sheet,
|
@@ -22228,7 +22246,7 @@ var RuleList = /* @__PURE__ */ function() {
|
|
22228
22246
|
}
|
22229
22247
|
var options = ruleOptions;
|
22230
22248
|
if (oldIndex !== -1)
|
22231
|
-
options = _extends$
|
22249
|
+
options = _extends$7({}, ruleOptions, {
|
22232
22250
|
index: oldIndex
|
22233
22251
|
});
|
22234
22252
|
return this.add(name2, decl, options);
|
@@ -22341,7 +22359,7 @@ var StyleSheet = /* @__PURE__ */ function() {
|
|
22341
22359
|
this.deployed = false;
|
22342
22360
|
this.classes = {};
|
22343
22361
|
this.keyframes = {};
|
22344
|
-
this.options = _extends$
|
22362
|
+
this.options = _extends$7({}, options, {
|
22345
22363
|
sheet: this,
|
22346
22364
|
parent: this,
|
22347
22365
|
classes: this.classes,
|
@@ -22960,7 +22978,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
22960
22978
|
this.options.createGenerateId = options.createGenerateId;
|
22961
22979
|
}
|
22962
22980
|
if (options.id) {
|
22963
|
-
this.options.id = _extends$
|
22981
|
+
this.options.id = _extends$7({}, this.options.id, options.id);
|
22964
22982
|
}
|
22965
22983
|
if (options.createGenerateId || options.id) {
|
22966
22984
|
this.generateId = this.options.createGenerateId(this.options.id);
|
@@ -22982,7 +23000,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
22982
23000
|
if (typeof index2 !== "number") {
|
22983
23001
|
index2 = sheets.index === 0 ? 0 : sheets.index + 1;
|
22984
23002
|
}
|
22985
|
-
var sheet = new StyleSheet(styles33, _extends$
|
23003
|
+
var sheet = new StyleSheet(styles33, _extends$7({}, options, {
|
22986
23004
|
jss: this,
|
22987
23005
|
generateId: options.generateId || this.generateId,
|
22988
23006
|
insertionPoint: this.options.insertionPoint,
|
@@ -23007,7 +23025,7 @@ var Jss = /* @__PURE__ */ function() {
|
|
23007
23025
|
if (typeof name2 === "object") {
|
23008
23026
|
return this.createRule(void 0, name2, style2);
|
23009
23027
|
}
|
23010
|
-
var ruleOptions = _extends$
|
23028
|
+
var ruleOptions = _extends$7({}, options, {
|
23011
23029
|
name: name2,
|
23012
23030
|
jss: this,
|
23013
23031
|
Renderer: this.options.Renderer
|
@@ -23118,7 +23136,7 @@ var GlobalContainerRule = /* @__PURE__ */ function() {
|
|
23118
23136
|
this.isProcessed = false;
|
23119
23137
|
this.key = key2;
|
23120
23138
|
this.options = options;
|
23121
|
-
this.rules = new RuleList(_extends$
|
23139
|
+
this.rules = new RuleList(_extends$6({}, options, {
|
23122
23140
|
parent: this
|
23123
23141
|
}));
|
23124
23142
|
for (var selector2 in styles33) {
|
@@ -23158,7 +23176,7 @@ var GlobalPrefixedRule = /* @__PURE__ */ function() {
|
|
23158
23176
|
this.key = key2;
|
23159
23177
|
this.options = options;
|
23160
23178
|
var selector2 = key2.substr(atPrefix.length);
|
23161
|
-
this.rule = options.jss.createRule(selector2, style2, _extends$
|
23179
|
+
this.rule = options.jss.createRule(selector2, style2, _extends$6({}, options, {
|
23162
23180
|
parent: this
|
23163
23181
|
}));
|
23164
23182
|
}
|
@@ -23185,7 +23203,7 @@ function handleNestedGlobalContainerRule(rule2, sheet) {
|
|
23185
23203
|
if (!rules)
|
23186
23204
|
return;
|
23187
23205
|
for (var name2 in rules) {
|
23188
|
-
sheet.addRule(name2, rules[name2], _extends$
|
23206
|
+
sheet.addRule(name2, rules[name2], _extends$6({}, options, {
|
23189
23207
|
selector: addScope(name2, rule2.selector)
|
23190
23208
|
}));
|
23191
23209
|
}
|
@@ -23197,7 +23215,7 @@ function handlePrefixedGlobalRule(rule2, sheet) {
|
|
23197
23215
|
if (prop[0] !== "@" || prop.substr(0, at.length) !== at)
|
23198
23216
|
continue;
|
23199
23217
|
var selector2 = addScope(prop.substr(at.length), rule2.selector);
|
23200
|
-
sheet.addRule(selector2, style2[prop], _extends$
|
23218
|
+
sheet.addRule(selector2, style2[prop], _extends$6({}, options, {
|
23201
23219
|
selector: selector2
|
23202
23220
|
}));
|
23203
23221
|
delete style2[prop];
|
@@ -23266,12 +23284,12 @@ function jssNested() {
|
|
23266
23284
|
}
|
23267
23285
|
function getOptions(rule2, container, prevOptions) {
|
23268
23286
|
if (prevOptions)
|
23269
|
-
return _extends$
|
23287
|
+
return _extends$7({}, prevOptions, {
|
23270
23288
|
index: prevOptions.index + 1
|
23271
23289
|
});
|
23272
23290
|
var nestingLevel = rule2.options.nestingLevel;
|
23273
23291
|
nestingLevel = nestingLevel === void 0 ? 1 : nestingLevel + 1;
|
23274
|
-
var options = _extends$
|
23292
|
+
var options = _extends$7({}, rule2.options, {
|
23275
23293
|
nestingLevel,
|
23276
23294
|
index: container.indexOf(rule2) + 1
|
23277
23295
|
// We don't need the parent name to be set options for chlid.
|
@@ -23299,11 +23317,11 @@ function jssNested() {
|
|
23299
23317
|
selector2 = selector2.replace(refRegExp, replaceRef3);
|
23300
23318
|
var name2 = styleRule.key + "-" + prop;
|
23301
23319
|
if ("replaceRule" in container) {
|
23302
|
-
container.replaceRule(name2, style2[prop], _extends$
|
23320
|
+
container.replaceRule(name2, style2[prop], _extends$7({}, options, {
|
23303
23321
|
selector: selector2
|
23304
23322
|
}));
|
23305
23323
|
} else {
|
23306
|
-
container.addRule(name2, style2[prop], _extends$
|
23324
|
+
container.addRule(name2, style2[prop], _extends$7({}, options, {
|
23307
23325
|
selector: selector2
|
23308
23326
|
}));
|
23309
23327
|
}
|
@@ -24073,7 +24091,7 @@ function mergeClasses$2() {
|
|
24073
24091
|
if (!newClasses) {
|
24074
24092
|
return baseClasses;
|
24075
24093
|
}
|
24076
|
-
var nextClasses = _extends$
|
24094
|
+
var nextClasses = _extends$6({}, baseClasses);
|
24077
24095
|
{
|
24078
24096
|
if (typeof newClasses === "string") {
|
24079
24097
|
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"));
|
@@ -24145,7 +24163,7 @@ var injectFirstNode;
|
|
24145
24163
|
function StylesProvider(props2) {
|
24146
24164
|
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$1(props2, ["children", "injectFirst", "disableGeneration"]);
|
24147
24165
|
var outerOptions = React__default.useContext(StylesContext);
|
24148
|
-
var context2 = _extends$
|
24166
|
+
var context2 = _extends$6({}, outerOptions, {
|
24149
24167
|
disableGeneration
|
24150
24168
|
}, localOptions);
|
24151
24169
|
{
|
@@ -24250,7 +24268,7 @@ const noopTheme$1 = noopTheme;
|
|
24250
24268
|
function getStylesCreator(stylesOrCreator) {
|
24251
24269
|
var themingEnabled = typeof stylesOrCreator === "function";
|
24252
24270
|
{
|
24253
|
-
if (_typeof$
|
24271
|
+
if (_typeof$A(stylesOrCreator) !== "object" && !themingEnabled) {
|
24254
24272
|
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"));
|
24255
24273
|
}
|
24256
24274
|
}
|
@@ -24271,7 +24289,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
24271
24289
|
return styles33;
|
24272
24290
|
}
|
24273
24291
|
var overrides = theme.overrides[name2];
|
24274
|
-
var stylesWithOverrides = _extends$
|
24292
|
+
var stylesWithOverrides = _extends$6({}, styles33);
|
24275
24293
|
Object.keys(overrides).forEach(function(key2) {
|
24276
24294
|
{
|
24277
24295
|
if (!stylesWithOverrides[key2]) {
|
@@ -24332,7 +24350,7 @@ function attach(_ref22, props2) {
|
|
24332
24350
|
};
|
24333
24351
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
24334
24352
|
}
|
24335
|
-
var options = _extends$
|
24353
|
+
var options = _extends$6({}, stylesCreator.options, stylesOptions, {
|
24336
24354
|
theme,
|
24337
24355
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
24338
24356
|
});
|
@@ -24345,7 +24363,7 @@ function attach(_ref22, props2) {
|
|
24345
24363
|
}
|
24346
24364
|
var styles33 = stylesCreator.create(theme, name2);
|
24347
24365
|
if (!staticSheet) {
|
24348
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles33, _extends$
|
24366
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles33, _extends$6({
|
24349
24367
|
link: false
|
24350
24368
|
}, options));
|
24351
24369
|
staticSheet.attach();
|
@@ -24360,7 +24378,7 @@ function attach(_ref22, props2) {
|
|
24360
24378
|
sheetManager.dynamicStyles = getDynamicStyles(styles33);
|
24361
24379
|
}
|
24362
24380
|
if (sheetManager.dynamicStyles) {
|
24363
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
24381
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$6({
|
24364
24382
|
link: true
|
24365
24383
|
}, options));
|
24366
24384
|
dynamicSheet.update(props2);
|
@@ -24442,7 +24460,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
24442
24460
|
var useStyles2 = function useStyles3() {
|
24443
24461
|
var props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
24444
24462
|
var theme = useTheme$1() || defaultTheme2;
|
24445
|
-
var stylesOptions = _extends$
|
24463
|
+
var stylesOptions = _extends$6({}, React__default.useContext(StylesContext), stylesOptions2);
|
24446
24464
|
var instance = React__default.useRef();
|
24447
24465
|
var shouldUpdate = React__default.useRef();
|
24448
24466
|
useSynchronousEffect(function() {
|
@@ -24622,7 +24640,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
24622
24640
|
}
|
24623
24641
|
}
|
24624
24642
|
}
|
24625
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
24643
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$6({
|
24626
24644
|
defaultTheme: defaultTheme2,
|
24627
24645
|
Component: Component2,
|
24628
24646
|
name: name2 || Component2.displayName,
|
@@ -24631,7 +24649,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
24631
24649
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props2, ref2) {
|
24632
24650
|
props2.classes;
|
24633
24651
|
var innerRef = props2.innerRef, other = _objectWithoutProperties$1(props2, ["classes", "innerRef"]);
|
24634
|
-
var classes = useStyles2(_extends$
|
24652
|
+
var classes = useStyles2(_extends$6({}, Component2.defaultProps, props2));
|
24635
24653
|
var theme;
|
24636
24654
|
var more = other;
|
24637
24655
|
if (typeof name2 === "string" || withTheme) {
|
@@ -24647,7 +24665,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
24647
24665
|
more.theme = theme;
|
24648
24666
|
}
|
24649
24667
|
}
|
24650
|
-
return /* @__PURE__ */ React__default.createElement(Component2, _extends$
|
24668
|
+
return /* @__PURE__ */ React__default.createElement(Component2, _extends$6({
|
24651
24669
|
ref: innerRef || ref2,
|
24652
24670
|
classes
|
24653
24671
|
}, more));
|
@@ -24688,7 +24706,7 @@ var defaultTheme = createTheme();
|
|
24688
24706
|
const defaultTheme$1 = defaultTheme;
|
24689
24707
|
function makeStyles(stylesOrCreator) {
|
24690
24708
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
24691
|
-
return makeStyles$1(stylesOrCreator, _extends$
|
24709
|
+
return makeStyles$1(stylesOrCreator, _extends$6({
|
24692
24710
|
defaultTheme: defaultTheme$1
|
24693
24711
|
}, options));
|
24694
24712
|
}
|
@@ -24700,7 +24718,7 @@ function useTheme() {
|
|
24700
24718
|
return theme;
|
24701
24719
|
}
|
24702
24720
|
function withStyles2(stylesOrCreator, options) {
|
24703
|
-
return withStylesWithoutDefault(stylesOrCreator, _extends$
|
24721
|
+
return withStylesWithoutDefault(stylesOrCreator, _extends$6({
|
24704
24722
|
defaultTheme: defaultTheme$1
|
24705
24723
|
}, options));
|
24706
24724
|
}
|
@@ -24784,7 +24802,7 @@ var styles$I = function styles(theme) {
|
|
24784
24802
|
};
|
24785
24803
|
var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props2, ref2) {
|
24786
24804
|
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, fontSize2 = _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$1(props2, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
24787
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
24805
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
24788
24806
|
className: clsx(classes.root, className, color2 !== "inherit" && classes["color".concat(capitalize$1(color2))], fontSize2 !== "default" && fontSize2 !== "medium" && classes["fontSize".concat(capitalize$1(fontSize2))]),
|
24789
24807
|
focusable: "false",
|
24790
24808
|
viewBox,
|
@@ -24862,7 +24880,7 @@ const SvgIcon$1 = withStyles2(styles$I, {
|
|
24862
24880
|
})(SvgIcon);
|
24863
24881
|
function createSvgIcon(path2, displayName) {
|
24864
24882
|
var Component2 = function Component3(props2, ref2) {
|
24865
|
-
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$
|
24883
|
+
return /* @__PURE__ */ React__default.createElement(SvgIcon$1, _extends$6({
|
24866
24884
|
ref: ref2
|
24867
24885
|
}, props2), path2);
|
24868
24886
|
};
|
@@ -25686,7 +25704,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
25686
25704
|
}
|
25687
25705
|
if (this.mounted) {
|
25688
25706
|
this.setState(function(state) {
|
25689
|
-
var children2 = _extends$
|
25707
|
+
var children2 = _extends$6({}, state.children);
|
25690
25708
|
delete children2[child2.key];
|
25691
25709
|
return {
|
25692
25710
|
children: children2
|
@@ -25898,7 +25916,7 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props2, ref2)
|
|
25898
25916
|
timer2.current = setTimeout(next3, autoTransitionDuration.current || 0);
|
25899
25917
|
}
|
25900
25918
|
};
|
25901
|
-
return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$
|
25919
|
+
return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$6({
|
25902
25920
|
in: inProp,
|
25903
25921
|
onEnter: handleEnter,
|
25904
25922
|
onEntered: handleEntered,
|
@@ -25910,12 +25928,12 @@ var Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(props2, ref2)
|
|
25910
25928
|
nodeRef: enableStrictModeCompat ? nodeRef : void 0,
|
25911
25929
|
timeout: timeout3 === "auto" ? null : timeout3
|
25912
25930
|
}, other), function(state, childProps) {
|
25913
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
25931
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
25914
25932
|
className: clsx(classes.root, classes.container, className, {
|
25915
25933
|
"entered": classes.entered,
|
25916
25934
|
"exited": !inProp && collapsedSize === "0px" && classes.hidden
|
25917
25935
|
}[state]),
|
25918
|
-
style: _extends$
|
25936
|
+
style: _extends$6({
|
25919
25937
|
minHeight: collapsedSize
|
25920
25938
|
}, style2),
|
25921
25939
|
ref: handleRef
|
@@ -26025,7 +26043,7 @@ var styles$G = function styles3(theme) {
|
|
26025
26043
|
boxShadow: shadow2
|
26026
26044
|
};
|
26027
26045
|
});
|
26028
|
-
return _extends$
|
26046
|
+
return _extends$6({
|
26029
26047
|
/* Styles applied to the root element. */
|
26030
26048
|
root: {
|
26031
26049
|
backgroundColor: theme.palette.background.paper,
|
@@ -26044,7 +26062,7 @@ var styles$G = function styles3(theme) {
|
|
26044
26062
|
};
|
26045
26063
|
var Paper = /* @__PURE__ */ React.forwardRef(function Paper2(props2, ref2) {
|
26046
26064
|
var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$square = props2.square, square2 = _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$1(props2, ["classes", "className", "component", "square", "elevation", "variant"]);
|
26047
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
26065
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
26048
26066
|
className: clsx(classes.root, className, variant === "outlined" ? classes.outlined : classes["elevation".concat(elevation)], !square2 && classes.rounded),
|
26049
26067
|
ref: ref2
|
26050
26068
|
}, other));
|
@@ -26194,13 +26212,13 @@ var Accordion = /* @__PURE__ */ React.forwardRef(function Accordion2(props2, ref
|
|
26194
26212
|
toggle: handleChange
|
26195
26213
|
};
|
26196
26214
|
}, [expanded, disabled, handleChange]);
|
26197
|
-
return /* @__PURE__ */ React.createElement(Paper$1, _extends$
|
26215
|
+
return /* @__PURE__ */ React.createElement(Paper$1, _extends$6({
|
26198
26216
|
className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square2 && classes.rounded),
|
26199
26217
|
ref: ref2,
|
26200
26218
|
square: square2
|
26201
26219
|
}, other), /* @__PURE__ */ React.createElement(AccordionContext$1.Provider, {
|
26202
26220
|
value: contextValue
|
26203
|
-
}, summary), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$
|
26221
|
+
}, summary), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$6({
|
26204
26222
|
in: expanded,
|
26205
26223
|
timeout: "auto"
|
26206
26224
|
}, TransitionProps), /* @__PURE__ */ React.createElement("div", {
|
@@ -26284,7 +26302,7 @@ var styles$E = function styles5(theme) {
|
|
26284
26302
|
};
|
26285
26303
|
var AccordionDetails = /* @__PURE__ */ React.forwardRef(function AccordionDetails2(props2, ref2) {
|
26286
26304
|
var classes = props2.classes, className = props2.className, other = _objectWithoutProperties$1(props2, ["classes", "className"]);
|
26287
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
26305
|
+
return /* @__PURE__ */ React.createElement("div", _extends$6({
|
26288
26306
|
className: clsx(classes.root, className),
|
26289
26307
|
ref: ref2
|
26290
26308
|
}, other));
|
@@ -26596,7 +26614,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props2,
|
|
26596
26614
|
stop: stop3
|
26597
26615
|
};
|
26598
26616
|
}, [pulsate, start, stop3]);
|
26599
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
26617
|
+
return /* @__PURE__ */ React.createElement("span", _extends$6({
|
26600
26618
|
className: clsx(classes.root, className),
|
26601
26619
|
ref: container
|
26602
26620
|
}, other), /* @__PURE__ */ React.createElement(TransitionGroup$1, {
|
@@ -26815,7 +26833,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
26815
26833
|
}
|
26816
26834
|
}, [enableTouchRipple]);
|
26817
26835
|
}
|
26818
|
-
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$
|
26836
|
+
return /* @__PURE__ */ React.createElement(ComponentProp, _extends$6({
|
26819
26837
|
className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),
|
26820
26838
|
onBlur: handleBlur,
|
26821
26839
|
onClick,
|
@@ -26833,7 +26851,7 @@ var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props2, r
|
|
26833
26851
|
tabIndex: disabled ? -1 : tabIndex
|
26834
26852
|
}, buttonProps, other), children2, enableTouchRipple ? (
|
26835
26853
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
26836
|
-
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$
|
26854
|
+
/* @__PURE__ */ React.createElement(TouchRipple$1, _extends$6({
|
26837
26855
|
ref: rippleRef,
|
26838
26856
|
center: centerRipple
|
26839
26857
|
}, TouchRippleProps))
|
@@ -27065,7 +27083,7 @@ var styles$B = function styles7(theme) {
|
|
27065
27083
|
};
|
27066
27084
|
var IconButton$1 = /* @__PURE__ */ React.forwardRef(function IconButton(props2, ref2) {
|
27067
27085
|
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, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$1(props2, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
27068
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
27086
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$6({
|
27069
27087
|
className: clsx(classes.root, className, color2 !== "default" && classes["color".concat(capitalize$1(color2))], disabled && classes.disabled, size2 === "small" && classes["size".concat(capitalize$1(size2))], {
|
27070
27088
|
"start": classes.edgeStart,
|
27071
27089
|
"end": classes.edgeEnd
|
@@ -27201,7 +27219,7 @@ var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummar
|
|
27201
27219
|
onClick(event2);
|
27202
27220
|
}
|
27203
27221
|
};
|
27204
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
27222
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$6({
|
27205
27223
|
focusRipple: false,
|
27206
27224
|
disableRipple: true,
|
27207
27225
|
disabled,
|
@@ -27213,7 +27231,7 @@ var AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSummar
|
|
27213
27231
|
ref: ref2
|
27214
27232
|
}, other), /* @__PURE__ */ React.createElement("div", {
|
27215
27233
|
className: clsx(classes.content, expanded && classes.expanded)
|
27216
|
-
}, children2), expandIcon && /* @__PURE__ */ React.createElement(IconButton$2, _extends$
|
27234
|
+
}, children2), expandIcon && /* @__PURE__ */ React.createElement(IconButton$2, _extends$6({
|
27217
27235
|
className: clsx(classes.expandIcon, expanded && classes.expanded),
|
27218
27236
|
edge: "end",
|
27219
27237
|
component: "div",
|
@@ -27388,7 +27406,7 @@ var defaultVariantMapping = {
|
|
27388
27406
|
var Typography = /* @__PURE__ */ React.forwardRef(function Typography2(props2, ref2) {
|
27389
27407
|
var _props$align = props2.align, align2 = _props$align === void 0 ? "inherit" : _props$align, classes = props2.classes, className = props2.className, _props$color = props2.color, color2 = _props$color === void 0 ? "initial" : _props$color, component = props2.component, _props$display = props2.display, display = _props$display === void 0 ? "initial" : _props$display, _props$gutterBottom = props2.gutterBottom, gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom, _props$noWrap = props2.noWrap, noWrap = _props$noWrap === void 0 ? false : _props$noWrap, _props$paragraph = props2.paragraph, paragraph = _props$paragraph === void 0 ? false : _props$paragraph, _props$variant = props2.variant, variant = _props$variant === void 0 ? "body1" : _props$variant, _props$variantMapping = props2.variantMapping, variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping, other = _objectWithoutProperties$1(props2, ["align", "classes", "className", "color", "component", "display", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"]);
|
27390
27408
|
var Component2 = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
|
27391
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
27409
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
27392
27410
|
className: clsx(classes.root, className, variant !== "inherit" && classes[variant], color2 !== "initial" && classes["color".concat(capitalize$1(color2))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align2 !== "inherit" && classes["align".concat(capitalize$1(align2))], display !== "initial" && classes["display".concat(capitalize$1(display))]),
|
27393
27411
|
ref: ref2
|
27394
27412
|
}, other));
|
@@ -27458,7 +27476,7 @@ const Typography$1 = withStyles2(styles$z, {
|
|
27458
27476
|
var styles$y = function styles10(theme) {
|
27459
27477
|
return {
|
27460
27478
|
/* Styles applied to the root element. */
|
27461
|
-
root: _extends$
|
27479
|
+
root: _extends$6({}, theme.typography.button, {
|
27462
27480
|
boxSizing: "border-box",
|
27463
27481
|
minWidth: 64,
|
27464
27482
|
padding: "6px 16px",
|
@@ -27715,7 +27733,7 @@ var Button = /* @__PURE__ */ React.forwardRef(function Button2(props2, ref2) {
|
|
27715
27733
|
var endIcon = endIconProp && /* @__PURE__ */ React.createElement("span", {
|
27716
27734
|
className: clsx(classes.endIcon, classes["iconSize".concat(capitalize$1(size2))])
|
27717
27735
|
}, endIconProp);
|
27718
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
27736
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$6({
|
27719
27737
|
className: clsx(classes.root, classes[variant], className, color2 === "inherit" ? classes.colorInherit : color2 !== "default" && classes["".concat(variant).concat(capitalize$1(color2))], size2 !== "medium" && [classes["".concat(variant, "Size").concat(capitalize$1(size2))], classes["size".concat(capitalize$1(size2))]], disableElevation && classes.disableElevation, disabled && classes.disabled, fullWidth && classes.fullWidth),
|
27720
27738
|
component,
|
27721
27739
|
disabled,
|
@@ -27880,7 +27898,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
27880
27898
|
}
|
27881
27899
|
}
|
27882
27900
|
var hasLabelFor = type2 === "checkbox" || type2 === "radio";
|
27883
|
-
return /* @__PURE__ */ React.createElement(IconButton$2, _extends$
|
27901
|
+
return /* @__PURE__ */ React.createElement(IconButton$2, _extends$6({
|
27884
27902
|
component: "span",
|
27885
27903
|
className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),
|
27886
27904
|
disabled,
|
@@ -27889,7 +27907,7 @@ var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props2, r
|
|
27889
27907
|
onFocus: handleFocus2,
|
27890
27908
|
onBlur: handleBlur,
|
27891
27909
|
ref: ref2
|
27892
|
-
}, other), /* @__PURE__ */ React.createElement("input", _extends$
|
27910
|
+
}, other), /* @__PURE__ */ React.createElement("input", _extends$6({
|
27893
27911
|
autoFocus,
|
27894
27912
|
checked: checkedProp,
|
27895
27913
|
defaultChecked,
|
@@ -28058,7 +28076,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref2)
|
|
28058
28076
|
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, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$1(props2, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
|
28059
28077
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
28060
28078
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
28061
|
-
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$
|
28079
|
+
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$6({
|
28062
28080
|
type: "checkbox",
|
28063
28081
|
classes: {
|
28064
28082
|
root: clsx(classes.root, classes["color".concat(capitalize$1(color2))], indeterminate && classes.indeterminate),
|
@@ -28066,7 +28084,7 @@ var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props2, ref2)
|
|
28066
28084
|
disabled: classes.disabled
|
28067
28085
|
},
|
28068
28086
|
color: color2,
|
28069
|
-
inputProps: _extends$
|
28087
|
+
inputProps: _extends$6({
|
28070
28088
|
"data-indeterminate": indeterminate
|
28071
28089
|
}, inputProps),
|
28072
28090
|
icon: /* @__PURE__ */ React.cloneElement(icon, {
|
@@ -28580,11 +28598,11 @@ var styles$v = {
|
|
28580
28598
|
};
|
28581
28599
|
var SimpleBackdrop = /* @__PURE__ */ React.forwardRef(function SimpleBackdrop2(props2, ref2) {
|
28582
28600
|
var _props$invisible = props2.invisible, invisible = _props$invisible === void 0 ? false : _props$invisible, open = props2.open, other = _objectWithoutProperties$1(props2, ["invisible", "open"]);
|
28583
|
-
return open ? /* @__PURE__ */ React.createElement("div", _extends$
|
28601
|
+
return open ? /* @__PURE__ */ React.createElement("div", _extends$6({
|
28584
28602
|
"aria-hidden": true,
|
28585
28603
|
ref: ref2
|
28586
28604
|
}, other, {
|
28587
|
-
style: _extends$
|
28605
|
+
style: _extends$6({}, styles$v.root, invisible ? styles$v.invisible : {}, other.style)
|
28588
28606
|
})) : null;
|
28589
28607
|
});
|
28590
28608
|
SimpleBackdrop.propTypes = {
|
@@ -28628,7 +28646,7 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref2) {
|
|
28628
28646
|
var theme = useTheme$1();
|
28629
28647
|
var props2 = getThemeProps({
|
28630
28648
|
name: "MuiModal",
|
28631
|
-
props: _extends$
|
28649
|
+
props: _extends$6({}, inProps),
|
28632
28650
|
theme
|
28633
28651
|
});
|
28634
28652
|
var _props$BackdropCompon = props2.BackdropComponent, BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop$1 : _props$BackdropCompon, BackdropProps = props2.BackdropProps, children2 = props2.children, _props$closeAfterTran = props2.closeAfterTransition, closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran, container = props2.container, _props$disableAutoFoc = props2.disableAutoFocus, disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc, _props$disableBackdro = props2.disableBackdropClick, disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro, _props$disableEnforce = props2.disableEnforceFocus, disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce, _props$disableEscapeK = props2.disableEscapeKeyDown, disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK, _props$disablePortal = props2.disablePortal, disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal, _props$disableRestore = props2.disableRestoreFocus, disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore, _props$disableScrollL = props2.disableScrollLock, disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL, _props$hideBackdrop = props2.hideBackdrop, hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop, _props$keepMounted = props2.keepMounted, keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted, _props$manager = props2.manager, manager = _props$manager === void 0 ? defaultManager : _props$manager, onBackdropClick = props2.onBackdropClick, onClose = props2.onClose, onEscapeKeyDown = props2.onEscapeKeyDown, onRendered = props2.onRendered, open = props2.open, other = _objectWithoutProperties$1(props2, ["BackdropComponent", "BackdropProps", "children", "closeAfterTransition", "container", "disableAutoFocus", "disableBackdropClick", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onEscapeKeyDown", "onRendered", "open"]);
|
@@ -28743,13 +28761,13 @@ var Modal = /* @__PURE__ */ React.forwardRef(function Modal2(inProps, ref2) {
|
|
28743
28761
|
ref: handlePortalRef,
|
28744
28762
|
container,
|
28745
28763
|
disablePortal
|
28746
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
28764
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$6({
|
28747
28765
|
ref: handleRef,
|
28748
28766
|
onKeyDown: handleKeyDown2,
|
28749
28767
|
role: "presentation"
|
28750
28768
|
}, other, {
|
28751
|
-
style: _extends$
|
28752
|
-
}), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends$
|
28769
|
+
style: _extends$6({}, inlineStyle.root, !open && exited ? inlineStyle.hidden : {}, other.style)
|
28770
|
+
}), hideBackdrop ? null : /* @__PURE__ */ React.createElement(BackdropComponent, _extends$6({
|
28753
28771
|
open,
|
28754
28772
|
onClick: handleBackdropClick
|
28755
28773
|
}, BackdropProps)), /* @__PURE__ */ React.createElement(Unstable_TrapFocus, {
|
@@ -28977,12 +28995,12 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
|
|
28977
28995
|
onChange(event2);
|
28978
28996
|
}
|
28979
28997
|
};
|
28980
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends$
|
28998
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("textarea", _extends$6({
|
28981
28999
|
value: value2,
|
28982
29000
|
onChange: handleChange,
|
28983
29001
|
ref: handleRef,
|
28984
29002
|
rows: minRows,
|
28985
|
-
style: _extends$
|
29003
|
+
style: _extends$6({
|
28986
29004
|
height: state.outerHeightStyle,
|
28987
29005
|
// Need a large enough difference to allow scrolling.
|
28988
29006
|
// This prevents infinite rendering loop.
|
@@ -28994,7 +29012,7 @@ var TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosiz
|
|
28994
29012
|
readOnly: true,
|
28995
29013
|
ref: shadowRef,
|
28996
29014
|
tabIndex: -1,
|
28997
|
-
style: _extends$
|
29015
|
+
style: _extends$6({}, styles$t.shadow, style2)
|
28998
29016
|
}));
|
28999
29017
|
});
|
29000
29018
|
TextareaAutosize.propTypes = {
|
@@ -29078,7 +29096,7 @@ var styles$s = function styles13(theme) {
|
|
29078
29096
|
"@keyframes mui-auto-fill-cancel": {}
|
29079
29097
|
},
|
29080
29098
|
/* Styles applied to the root element. */
|
29081
|
-
root: _extends$
|
29099
|
+
root: _extends$6({}, theme.typography.body1, {
|
29082
29100
|
color: theme.palette.text.primary,
|
29083
29101
|
lineHeight: "1.1876em",
|
29084
29102
|
// Reset (19px), match the native input line-height
|
@@ -29335,11 +29353,11 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
29335
29353
|
}
|
29336
29354
|
};
|
29337
29355
|
var InputComponent = inputComponent;
|
29338
|
-
var inputProps = _extends$
|
29356
|
+
var inputProps = _extends$6({}, inputPropsProp, {
|
29339
29357
|
ref: handleInputRef
|
29340
29358
|
});
|
29341
29359
|
if (typeof InputComponent !== "string") {
|
29342
|
-
inputProps = _extends$
|
29360
|
+
inputProps = _extends$6({
|
29343
29361
|
// Rename ref to inputRef as we don't know the
|
29344
29362
|
// provided `inputComponent` structure.
|
29345
29363
|
inputRef: handleInputRef,
|
@@ -29351,7 +29369,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
29351
29369
|
if (rows && !maxRows && !minRows && !rowsMax && !rowsMin) {
|
29352
29370
|
InputComponent = "textarea";
|
29353
29371
|
} else {
|
29354
|
-
inputProps = _extends$
|
29372
|
+
inputProps = _extends$6({
|
29355
29373
|
minRows: rows || minRows,
|
29356
29374
|
rowsMax,
|
29357
29375
|
maxRows
|
@@ -29359,7 +29377,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
29359
29377
|
InputComponent = TextareaAutosize$1;
|
29360
29378
|
}
|
29361
29379
|
} else {
|
29362
|
-
inputProps = _extends$
|
29380
|
+
inputProps = _extends$6({
|
29363
29381
|
type: type2
|
29364
29382
|
}, inputProps);
|
29365
29383
|
}
|
@@ -29373,13 +29391,13 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
29373
29391
|
muiFormControl.setAdornedStart(Boolean(startAdornment));
|
29374
29392
|
}
|
29375
29393
|
}, [muiFormControl, startAdornment]);
|
29376
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
29394
|
+
return /* @__PURE__ */ React.createElement("div", _extends$6({
|
29377
29395
|
className: clsx(classes.root, classes["color".concat(capitalize$1(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === "dense" && classes.marginDense),
|
29378
29396
|
onClick: handleClick,
|
29379
29397
|
ref: ref2
|
29380
29398
|
}, other), startAdornment, /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
|
29381
29399
|
value: null
|
29382
|
-
}, /* @__PURE__ */ React.createElement(InputComponent, _extends$
|
29400
|
+
}, /* @__PURE__ */ React.createElement(InputComponent, _extends$6({
|
29383
29401
|
"aria-invalid": fcs.error,
|
29384
29402
|
"aria-describedby": ariaDescribedby,
|
29385
29403
|
autoComplete,
|
@@ -29401,7 +29419,7 @@ var InputBase = /* @__PURE__ */ React.forwardRef(function InputBase2(props2, ref
|
|
29401
29419
|
onBlur: handleBlur,
|
29402
29420
|
onChange: handleChange,
|
29403
29421
|
onFocus: handleFocus2
|
29404
|
-
}))), endAdornment, renderSuffix ? renderSuffix(_extends$
|
29422
|
+
}))), endAdornment, renderSuffix ? renderSuffix(_extends$6({}, fcs, {
|
29405
29423
|
startAdornment
|
29406
29424
|
})) : null);
|
29407
29425
|
});
|
@@ -29719,8 +29737,8 @@ var styles$r = function styles14(theme) {
|
|
29719
29737
|
};
|
29720
29738
|
var FilledInput = /* @__PURE__ */ React.forwardRef(function FilledInput2(props2, ref2) {
|
29721
29739
|
var disableUnderline = props2.disableUnderline, classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props2.type, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$1(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
|
29722
|
-
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$
|
29723
|
-
classes: _extends$
|
29740
|
+
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$6({
|
29741
|
+
classes: _extends$6({}, classes, {
|
29724
29742
|
root: clsx(classes.root, !disableUnderline && classes.underline),
|
29725
29743
|
underline: null
|
29726
29744
|
}),
|
@@ -29964,7 +29982,7 @@ var FormControl = /* @__PURE__ */ React.forwardRef(function FormControl2(props2,
|
|
29964
29982
|
};
|
29965
29983
|
return /* @__PURE__ */ React.createElement(FormControlContext$1.Provider, {
|
29966
29984
|
value: childContext
|
29967
|
-
}, /* @__PURE__ */ React.createElement(Component2, _extends$
|
29985
|
+
}, /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
29968
29986
|
className: clsx(classes.root, className, margin !== "none" && classes["margin".concat(capitalize$1(margin))], fullWidth && classes.fullWidth),
|
29969
29987
|
ref: ref2
|
29970
29988
|
}, other), children2));
|
@@ -30041,7 +30059,7 @@ const FormControl$1 = withStyles2(styles$q, {
|
|
30041
30059
|
var styles$p = function styles15(theme) {
|
30042
30060
|
return {
|
30043
30061
|
/* Styles applied to the root element. */
|
30044
|
-
root: _extends$
|
30062
|
+
root: _extends$6({
|
30045
30063
|
color: theme.palette.text.secondary
|
30046
30064
|
}, theme.typography.caption, {
|
30047
30065
|
textAlign: "left",
|
@@ -30091,7 +30109,7 @@ var FormHelperText = /* @__PURE__ */ React.forwardRef(function FormHelperText2(p
|
|
30091
30109
|
muiFormControl,
|
30092
30110
|
states: ["variant", "margin", "disabled", "error", "filled", "focused", "required"]
|
30093
30111
|
});
|
30094
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
30112
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
30095
30113
|
className: clsx(classes.root, (fcs.variant === "filled" || fcs.variant === "outlined") && classes.contained, className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required, fcs.margin === "dense" && classes.marginDense),
|
30096
30114
|
ref: ref2
|
30097
30115
|
}, other), children2 === " " ? (
|
@@ -30164,7 +30182,7 @@ const FormHelperText$1 = withStyles2(styles$p, {
|
|
30164
30182
|
var styles$o = function styles16(theme) {
|
30165
30183
|
return {
|
30166
30184
|
/* Styles applied to the root element. */
|
30167
|
-
root: _extends$
|
30185
|
+
root: _extends$6({
|
30168
30186
|
color: theme.palette.text.secondary
|
30169
30187
|
}, theme.typography.body1, {
|
30170
30188
|
lineHeight: 1,
|
@@ -30219,7 +30237,7 @@ var FormLabel = /* @__PURE__ */ React.forwardRef(function FormLabel2(props2, ref
|
|
30219
30237
|
muiFormControl,
|
30220
30238
|
states: ["color", "required", "focused", "disabled", "error", "filled"]
|
30221
30239
|
});
|
30222
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
30240
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
30223
30241
|
className: clsx(classes.root, classes["color".concat(capitalize$1(fcs.color || "primary"))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),
|
30224
30242
|
ref: ref2
|
30225
30243
|
}, other), children2, fcs.required && /* @__PURE__ */ React.createElement("span", {
|
@@ -30308,7 +30326,7 @@ function generateGrid(globalStyles, theme, breakpoint) {
|
|
30308
30326
|
};
|
30309
30327
|
});
|
30310
30328
|
if (breakpoint === "xs") {
|
30311
|
-
_extends$
|
30329
|
+
_extends$6(globalStyles, styles33);
|
30312
30330
|
} else {
|
30313
30331
|
globalStyles[theme.breakpoints.up(breakpoint)] = styles33;
|
30314
30332
|
}
|
@@ -30336,7 +30354,7 @@ function generateGutter(theme, breakpoint) {
|
|
30336
30354
|
return styles33;
|
30337
30355
|
}
|
30338
30356
|
var styles$n = function styles17(theme) {
|
30339
|
-
return _extends$
|
30357
|
+
return _extends$6({
|
30340
30358
|
/* Styles applied to the root element. */
|
30341
30359
|
root: {},
|
30342
30360
|
/* Styles applied to the root element if `container={true}`. */
|
@@ -30440,7 +30458,7 @@ var styles$n = function styles17(theme) {
|
|
30440
30458
|
var Grid$2 = /* @__PURE__ */ React.forwardRef(function Grid(props2, ref2) {
|
30441
30459
|
var _props$alignContent = props2.alignContent, alignContent = _props$alignContent === void 0 ? "stretch" : _props$alignContent, _props$alignItems = props2.alignItems, alignItems = _props$alignItems === void 0 ? "stretch" : _props$alignItems, classes = props2.classes, classNameProp = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? "div" : _props$component, _props$container = props2.container, container = _props$container === void 0 ? false : _props$container, _props$direction = props2.direction, direction = _props$direction === void 0 ? "row" : _props$direction, _props$item = props2.item, item = _props$item === void 0 ? false : _props$item, justify = props2.justify, _props$justifyContent = props2.justifyContent, justifyContent2 = _props$justifyContent === void 0 ? "flex-start" : _props$justifyContent, _props$lg = props2.lg, lg = _props$lg === void 0 ? false : _props$lg, _props$md = props2.md, md2 = _props$md === void 0 ? false : _props$md, _props$sm = props2.sm, sm = _props$sm === void 0 ? false : _props$sm, _props$spacing = props2.spacing, spacing = _props$spacing === void 0 ? 0 : _props$spacing, _props$wrap = props2.wrap, wrap2 = _props$wrap === void 0 ? "wrap" : _props$wrap, _props$xl = props2.xl, xl = _props$xl === void 0 ? false : _props$xl, _props$xs = props2.xs, xs = _props$xs === void 0 ? false : _props$xs, _props$zeroMinWidth = props2.zeroMinWidth, zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth, other = _objectWithoutProperties$1(props2, ["alignContent", "alignItems", "classes", "className", "component", "container", "direction", "item", "justify", "justifyContent", "lg", "md", "sm", "spacing", "wrap", "xl", "xs", "zeroMinWidth"]);
|
30442
30460
|
var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes["spacing-xs-".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== "row" && classes["direction-xs-".concat(String(direction))], wrap2 !== "wrap" && classes["wrap-xs-".concat(String(wrap2))], alignItems !== "stretch" && classes["align-items-xs-".concat(String(alignItems))], alignContent !== "stretch" && classes["align-content-xs-".concat(String(alignContent))], (justify || justifyContent2) !== "flex-start" && classes["justify-content-xs-".concat(String(justify || justifyContent2))], xs !== false && classes["grid-xs-".concat(String(xs))], sm !== false && classes["grid-sm-".concat(String(sm))], md2 !== false && classes["grid-md-".concat(String(md2))], lg !== false && classes["grid-lg-".concat(String(lg))], xl !== false && classes["grid-xl-".concat(String(xl))]);
|
30443
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
30461
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
30444
30462
|
className,
|
30445
30463
|
ref: ref2
|
30446
30464
|
}, other));
|
@@ -30546,7 +30564,7 @@ var StyledGrid = withStyles2(styles$n, {
|
|
30546
30564
|
})(Grid$2);
|
30547
30565
|
{
|
30548
30566
|
var requireProp = requirePropFactory("Grid");
|
30549
|
-
StyledGrid.propTypes = _extends$
|
30567
|
+
StyledGrid.propTypes = _extends$6({}, StyledGrid.propTypes, {
|
30550
30568
|
alignContent: requireProp("container"),
|
30551
30569
|
alignItems: requireProp("container"),
|
30552
30570
|
direction: requireProp("container"),
|
@@ -30663,7 +30681,7 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props2, ref2) {
|
|
30663
30681
|
clearTimeout(timer2.current);
|
30664
30682
|
};
|
30665
30683
|
}, []);
|
30666
|
-
return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$
|
30684
|
+
return /* @__PURE__ */ React.createElement(TransitionComponent, _extends$6({
|
30667
30685
|
appear: true,
|
30668
30686
|
in: inProp,
|
30669
30687
|
nodeRef: enableStrictModeCompat ? nodeRef : void 0,
|
@@ -30676,8 +30694,8 @@ var Grow = /* @__PURE__ */ React.forwardRef(function Grow2(props2, ref2) {
|
|
30676
30694
|
addEndListener,
|
30677
30695
|
timeout: timeout3 === "auto" ? null : timeout3
|
30678
30696
|
}, other), function(state, childProps) {
|
30679
|
-
return /* @__PURE__ */ React.cloneElement(children2, _extends$
|
30680
|
-
style: _extends$
|
30697
|
+
return /* @__PURE__ */ React.cloneElement(children2, _extends$6({
|
30698
|
+
style: _extends$6({
|
30681
30699
|
opacity: 0,
|
30682
30700
|
transform: getScale$2(0.75),
|
30683
30701
|
visibility: state === "exited" && !inProp ? "hidden" : void 0
|
@@ -30842,8 +30860,8 @@ var styles$l = function styles18(theme) {
|
|
30842
30860
|
};
|
30843
30861
|
var Input$1 = /* @__PURE__ */ React.forwardRef(function Input(props2, ref2) {
|
30844
30862
|
var disableUnderline = props2.disableUnderline, classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, _props$type = props2.type, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$1(props2, ["disableUnderline", "classes", "fullWidth", "inputComponent", "multiline", "type"]);
|
30845
|
-
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$
|
30846
|
-
classes: _extends$
|
30863
|
+
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$6({
|
30864
|
+
classes: _extends$6({}, classes, {
|
30847
30865
|
root: clsx(classes.root, !disableUnderline && classes.underline),
|
30848
30866
|
underline: null
|
30849
30867
|
}),
|
@@ -31070,7 +31088,7 @@ var InputLabel = /* @__PURE__ */ React.forwardRef(function InputLabel2(props2, r
|
|
31070
31088
|
muiFormControl,
|
31071
31089
|
states: ["margin", "variant"]
|
31072
31090
|
});
|
31073
|
-
return /* @__PURE__ */ React.createElement(FormLabel$1, _extends$
|
31091
|
+
return /* @__PURE__ */ React.createElement(FormLabel$1, _extends$6({
|
31074
31092
|
"data-shrink": shrink,
|
31075
31093
|
className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === "dense" && classes.marginDense, {
|
31076
31094
|
"filled": classes.filled,
|
@@ -31179,7 +31197,7 @@ var List = /* @__PURE__ */ React.forwardRef(function List2(props2, ref2) {
|
|
31179
31197
|
}, [dense]);
|
31180
31198
|
return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
|
31181
31199
|
value: context2
|
31182
|
-
}, /* @__PURE__ */ React.createElement(Component2, _extends$
|
31200
|
+
}, /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
31183
31201
|
className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),
|
31184
31202
|
ref: ref2
|
31185
31203
|
}, other), subheader, children2));
|
@@ -31322,7 +31340,7 @@ var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props2, ref2)
|
|
31322
31340
|
listItemRef.current = ReactDOM.findDOMNode(instance);
|
31323
31341
|
}, []);
|
31324
31342
|
var handleRef = useForkRef(handleOwnRef, ref2);
|
31325
|
-
var componentProps = _extends$
|
31343
|
+
var componentProps = _extends$6({
|
31326
31344
|
className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== "center" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),
|
31327
31345
|
disabled
|
31328
31346
|
}, other);
|
@@ -31343,14 +31361,14 @@ var ListItem = /* @__PURE__ */ React.forwardRef(function ListItem2(props2, ref2)
|
|
31343
31361
|
}
|
31344
31362
|
return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
|
31345
31363
|
value: childContext
|
31346
|
-
}, /* @__PURE__ */ React.createElement(ContainerComponent, _extends$
|
31364
|
+
}, /* @__PURE__ */ React.createElement(ContainerComponent, _extends$6({
|
31347
31365
|
className: clsx(classes.container, ContainerClassName),
|
31348
31366
|
ref: handleRef
|
31349
31367
|
}, ContainerProps), /* @__PURE__ */ React.createElement(Component2, componentProps, children2), children2.pop()));
|
31350
31368
|
}
|
31351
31369
|
return /* @__PURE__ */ React.createElement(ListContext$1.Provider, {
|
31352
31370
|
value: childContext
|
31353
|
-
}, /* @__PURE__ */ React.createElement(Component2, _extends$
|
31371
|
+
}, /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
31354
31372
|
ref: handleRef
|
31355
31373
|
}, componentProps), children2));
|
31356
31374
|
});
|
@@ -31656,7 +31674,7 @@ var Popover$1 = /* @__PURE__ */ React.forwardRef(function Popover(props2, ref2)
|
|
31656
31674
|
transitionDuration = void 0;
|
31657
31675
|
}
|
31658
31676
|
var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl$1(anchorEl)).body : void 0);
|
31659
|
-
return /* @__PURE__ */ React.createElement(Modal$1, _extends$
|
31677
|
+
return /* @__PURE__ */ React.createElement(Modal$1, _extends$6({
|
31660
31678
|
container,
|
31661
31679
|
open,
|
31662
31680
|
ref: ref2,
|
@@ -31664,7 +31682,7 @@ var Popover$1 = /* @__PURE__ */ React.forwardRef(function Popover(props2, ref2)
|
|
31664
31682
|
invisible: true
|
31665
31683
|
},
|
31666
31684
|
className: clsx(classes.root, className)
|
31667
|
-
}, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$
|
31685
|
+
}, other), /* @__PURE__ */ React.createElement(TransitionComponent, _extends$6({
|
31668
31686
|
appear: true,
|
31669
31687
|
in: open,
|
31670
31688
|
onEnter,
|
@@ -31675,7 +31693,7 @@ var Popover$1 = /* @__PURE__ */ React.forwardRef(function Popover(props2, ref2)
|
|
31675
31693
|
timeout: transitionDuration
|
31676
31694
|
}, TransitionProps, {
|
31677
31695
|
onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)
|
31678
|
-
}), /* @__PURE__ */ React.createElement(Paper$1, _extends$
|
31696
|
+
}), /* @__PURE__ */ React.createElement(Paper$1, _extends$6({
|
31679
31697
|
elevation,
|
31680
31698
|
ref: handlePaperRef
|
31681
31699
|
}, PaperProps, {
|
@@ -32012,7 +32030,7 @@ var MenuList = /* @__PURE__ */ React.forwardRef(function MenuList2(props2, ref2)
|
|
32012
32030
|
}
|
32013
32031
|
return child2;
|
32014
32032
|
});
|
32015
|
-
return /* @__PURE__ */ React.createElement(List$1, _extends$
|
32033
|
+
return /* @__PURE__ */ React.createElement(List$1, _extends$6({
|
32016
32034
|
role: "menu",
|
32017
32035
|
ref: handleRef,
|
32018
32036
|
className,
|
@@ -32144,24 +32162,24 @@ var Menu = /* @__PURE__ */ React.forwardRef(function Menu2(props2, ref2) {
|
|
32144
32162
|
}
|
32145
32163
|
return child2;
|
32146
32164
|
});
|
32147
|
-
return /* @__PURE__ */ React.createElement(Popover$2, _extends$
|
32165
|
+
return /* @__PURE__ */ React.createElement(Popover$2, _extends$6({
|
32148
32166
|
getContentAnchorEl,
|
32149
32167
|
classes: PopoverClasses,
|
32150
32168
|
onClose,
|
32151
|
-
TransitionProps: _extends$
|
32169
|
+
TransitionProps: _extends$6({
|
32152
32170
|
onEntering: handleEntering
|
32153
32171
|
}, TransitionProps),
|
32154
32172
|
anchorOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
|
32155
32173
|
transformOrigin: theme.direction === "rtl" ? RTL_ORIGIN : LTR_ORIGIN,
|
32156
|
-
PaperProps: _extends$
|
32157
|
-
classes: _extends$
|
32174
|
+
PaperProps: _extends$6({}, PaperProps, {
|
32175
|
+
classes: _extends$6({}, PaperProps.classes, {
|
32158
32176
|
root: classes.paper
|
32159
32177
|
})
|
32160
32178
|
}),
|
32161
32179
|
open,
|
32162
32180
|
ref: ref2,
|
32163
32181
|
transitionDuration
|
32164
|
-
}, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends$
|
32182
|
+
}, other), /* @__PURE__ */ React.createElement(MenuList$1, _extends$6({
|
32165
32183
|
onKeyDown: handleListKeyDown,
|
32166
32184
|
actions: menuListActionsRef,
|
32167
32185
|
autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
|
@@ -32282,7 +32300,7 @@ const Menu$1 = withStyles2(styles$g, {
|
|
32282
32300
|
var styles$f = function styles21(theme) {
|
32283
32301
|
return {
|
32284
32302
|
/* Styles applied to the root element. */
|
32285
|
-
root: _extends$
|
32303
|
+
root: _extends$6({}, theme.typography.body1, _defineProperty$m({
|
32286
32304
|
minHeight: 48,
|
32287
32305
|
paddingTop: 6,
|
32288
32306
|
paddingBottom: 6,
|
@@ -32299,7 +32317,7 @@ var styles$f = function styles21(theme) {
|
|
32299
32317
|
/* Styles applied to the root element if `selected={true}`. */
|
32300
32318
|
selected: {},
|
32301
32319
|
/* Styles applied to the root element if dense. */
|
32302
|
-
dense: _extends$
|
32320
|
+
dense: _extends$6({}, theme.typography.body2, {
|
32303
32321
|
minHeight: "auto"
|
32304
32322
|
})
|
32305
32323
|
};
|
@@ -32310,14 +32328,14 @@ var MenuItem = /* @__PURE__ */ React.forwardRef(function MenuItem2(props2, ref2)
|
|
32310
32328
|
if (!props2.disabled) {
|
32311
32329
|
tabIndex = tabIndexProp !== void 0 ? tabIndexProp : -1;
|
32312
32330
|
}
|
32313
|
-
return /* @__PURE__ */ React.createElement(ListItem$1, _extends$
|
32331
|
+
return /* @__PURE__ */ React.createElement(ListItem$1, _extends$6({
|
32314
32332
|
button: true,
|
32315
32333
|
role,
|
32316
32334
|
tabIndex,
|
32317
32335
|
component,
|
32318
32336
|
selected,
|
32319
32337
|
disableGutters,
|
32320
|
-
classes: _extends$
|
32338
|
+
classes: _extends$6({
|
32321
32339
|
dense: classes.dense
|
32322
32340
|
}, ListItemClasses),
|
32323
32341
|
className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),
|
@@ -32377,7 +32395,7 @@ const MenuItem$1 = withStyles2(styles$f, {
|
|
32377
32395
|
})(MenuItem);
|
32378
32396
|
var NativeSelectInput = /* @__PURE__ */ React.forwardRef(function NativeSelectInput2(props2, ref2) {
|
32379
32397
|
var classes = props2.classes, className = props2.className, disabled = props2.disabled, IconComponent = props2.IconComponent, inputRef = props2.inputRef, _props$variant = props2.variant, variant = _props$variant === void 0 ? "standard" : _props$variant, other = _objectWithoutProperties$1(props2, ["classes", "className", "disabled", "IconComponent", "inputRef", "variant"]);
|
32380
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends$
|
32398
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("select", _extends$6({
|
32381
32399
|
className: clsx(
|
32382
32400
|
classes.root,
|
32383
32401
|
// TODO v5: merge root and select
|
@@ -32563,11 +32581,11 @@ var NativeSelect = /* @__PURE__ */ React.forwardRef(function NativeSelect2(props
|
|
32563
32581
|
muiFormControl,
|
32564
32582
|
states: ["variant"]
|
32565
32583
|
});
|
32566
|
-
return /* @__PURE__ */ React.cloneElement(input, _extends$
|
32584
|
+
return /* @__PURE__ */ React.cloneElement(input, _extends$6({
|
32567
32585
|
// Most of the logic is implemented in `NativeSelectInput`.
|
32568
32586
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
32569
32587
|
inputComponent: NativeSelectInput$1,
|
32570
|
-
inputProps: _extends$
|
32588
|
+
inputProps: _extends$6({
|
32571
32589
|
children: children2,
|
32572
32590
|
classes,
|
32573
32591
|
IconComponent,
|
@@ -32690,7 +32708,7 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
|
|
32690
32708
|
var theme = useTheme();
|
32691
32709
|
var align2 = theme.direction === "rtl" ? "right" : "left";
|
32692
32710
|
if (label2 !== void 0) {
|
32693
|
-
return /* @__PURE__ */ React.createElement("fieldset", _extends$
|
32711
|
+
return /* @__PURE__ */ React.createElement("fieldset", _extends$6({
|
32694
32712
|
"aria-hidden": true,
|
32695
32713
|
className: clsx(classes.root, className),
|
32696
32714
|
ref: ref2,
|
@@ -32704,9 +32722,9 @@ var NotchedOutline = /* @__PURE__ */ React.forwardRef(function NotchedOutline2(p
|
|
32704
32722
|
})));
|
32705
32723
|
}
|
32706
32724
|
var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;
|
32707
|
-
return /* @__PURE__ */ React.createElement("fieldset", _extends$
|
32725
|
+
return /* @__PURE__ */ React.createElement("fieldset", _extends$6({
|
32708
32726
|
"aria-hidden": true,
|
32709
|
-
style: _extends$
|
32727
|
+
style: _extends$6(_defineProperty$m({}, "padding".concat(capitalize$1(align2)), 8), style2),
|
32710
32728
|
className: clsx(classes.root, className),
|
32711
32729
|
ref: ref2
|
32712
32730
|
}, other), /* @__PURE__ */ React.createElement("legend", {
|
@@ -32849,7 +32867,7 @@ var styles$c = function styles24(theme) {
|
|
32849
32867
|
};
|
32850
32868
|
var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(props2, ref2) {
|
32851
32869
|
var classes = props2.classes, _props$fullWidth = props2.fullWidth, fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth, _props$inputComponent = props2.inputComponent, inputComponent = _props$inputComponent === void 0 ? "input" : _props$inputComponent, label2 = props2.label, _props$labelWidth = props2.labelWidth, labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth, _props$multiline = props2.multiline, multiline = _props$multiline === void 0 ? false : _props$multiline, notched = props2.notched, _props$type = props2.type, type2 = _props$type === void 0 ? "text" : _props$type, other = _objectWithoutProperties$1(props2, ["classes", "fullWidth", "inputComponent", "label", "labelWidth", "multiline", "notched", "type"]);
|
32852
|
-
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$
|
32870
|
+
return /* @__PURE__ */ React.createElement(InputBase$1, _extends$6({
|
32853
32871
|
renderSuffix: function renderSuffix(state) {
|
32854
32872
|
return /* @__PURE__ */ React.createElement(NotchedOutline$1, {
|
32855
32873
|
className: classes.notchedOutline,
|
@@ -32858,7 +32876,7 @@ var OutlinedInput = /* @__PURE__ */ React.forwardRef(function OutlinedInput2(pro
|
|
32858
32876
|
notched: typeof notched !== "undefined" ? notched : Boolean(state.startAdornment || state.filled || state.focused)
|
32859
32877
|
});
|
32860
32878
|
},
|
32861
|
-
classes: _extends$
|
32879
|
+
classes: _extends$6({}, classes, {
|
32862
32880
|
root: clsx(classes.root, classes.underline),
|
32863
32881
|
notchedOutline: null
|
32864
32882
|
}),
|
@@ -34609,10 +34627,10 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref2) {
|
|
34609
34627
|
}
|
34610
34628
|
}
|
34611
34629
|
}
|
34612
|
-
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$
|
34630
|
+
var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends$6({
|
34613
34631
|
placement: rtlPlacement
|
34614
34632
|
}, popperOptions, {
|
34615
|
-
modifiers: _extends$
|
34633
|
+
modifiers: _extends$6({}, disablePortal ? {} : {
|
34616
34634
|
// It's using scrollParent by default, we can use the viewport when using a portal.
|
34617
34635
|
preventOverflow: {
|
34618
34636
|
boundariesElement: "window"
|
@@ -34669,11 +34687,11 @@ var Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props2, ref2) {
|
|
34669
34687
|
return /* @__PURE__ */ React.createElement(Portal$2, {
|
34670
34688
|
disablePortal,
|
34671
34689
|
container
|
34672
|
-
}, /* @__PURE__ */ React.createElement("div", _extends$
|
34690
|
+
}, /* @__PURE__ */ React.createElement("div", _extends$6({
|
34673
34691
|
ref: handleRef,
|
34674
34692
|
role: "tooltip"
|
34675
34693
|
}, other, {
|
34676
|
-
style: _extends$
|
34694
|
+
style: _extends$6({
|
34677
34695
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
34678
34696
|
position: "fixed",
|
34679
34697
|
// Fix Popper.js display issue
|
@@ -34768,7 +34786,7 @@ Popper.propTypes = {
|
|
34768
34786
|
};
|
34769
34787
|
const Popper$1 = Popper;
|
34770
34788
|
function areEqualValues(a2, b2) {
|
34771
|
-
if (_typeof$
|
34789
|
+
if (_typeof$A(b2) === "object" && b2 !== null) {
|
34772
34790
|
return a2 === b2;
|
34773
34791
|
}
|
34774
34792
|
return String(a2) === String(b2);
|
@@ -35018,7 +35036,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
|
|
35018
35036
|
tabIndex = disabled ? null : 0;
|
35019
35037
|
}
|
35020
35038
|
var buttonId = SelectDisplayProps.id || (name2 ? "mui-component-select-".concat(name2) : void 0);
|
35021
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends$
|
35039
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", _extends$6({
|
35022
35040
|
className: clsx(
|
35023
35041
|
classes.root,
|
35024
35042
|
// TODO v5: merge root and select
|
@@ -35050,7 +35068,7 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
|
|
35050
35068
|
__html: "​"
|
35051
35069
|
}
|
35052
35070
|
})
|
35053
|
-
) : display), /* @__PURE__ */ React.createElement("input", _extends$
|
35071
|
+
) : display), /* @__PURE__ */ React.createElement("input", _extends$6({
|
35054
35072
|
value: Array.isArray(value2) ? value2.join(",") : value2,
|
35055
35073
|
name: name2,
|
35056
35074
|
ref: inputRef,
|
@@ -35061,19 +35079,19 @@ var SelectInput = /* @__PURE__ */ React.forwardRef(function SelectInput2(props2,
|
|
35061
35079
|
autoFocus
|
35062
35080
|
}, other)), /* @__PURE__ */ React.createElement(IconComponent, {
|
35063
35081
|
className: clsx(classes.icon, classes["icon".concat(capitalize$1(variant))], open && classes.iconOpen, disabled && classes.disabled)
|
35064
|
-
}), /* @__PURE__ */ React.createElement(Menu$1, _extends$
|
35082
|
+
}), /* @__PURE__ */ React.createElement(Menu$1, _extends$6({
|
35065
35083
|
id: "menu-".concat(name2 || ""),
|
35066
35084
|
anchorEl: displayNode,
|
35067
35085
|
open,
|
35068
35086
|
onClose: handleClose
|
35069
35087
|
}, MenuProps, {
|
35070
|
-
MenuListProps: _extends$
|
35088
|
+
MenuListProps: _extends$6({
|
35071
35089
|
"aria-labelledby": labelId,
|
35072
35090
|
role: "listbox",
|
35073
35091
|
disableListWrap: true
|
35074
35092
|
}, MenuProps.MenuListProps),
|
35075
|
-
PaperProps: _extends$
|
35076
|
-
style: _extends$
|
35093
|
+
PaperProps: _extends$6({}, MenuProps.PaperProps, {
|
35094
|
+
style: _extends$6({
|
35077
35095
|
minWidth: menuMinWidth
|
35078
35096
|
}, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
|
35079
35097
|
})
|
@@ -35233,11 +35251,11 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props2, ref2) {
|
|
35233
35251
|
}),
|
35234
35252
|
filled: _ref2$1
|
35235
35253
|
}[variant];
|
35236
|
-
return /* @__PURE__ */ React.cloneElement(InputComponent, _extends$
|
35254
|
+
return /* @__PURE__ */ React.cloneElement(InputComponent, _extends$6({
|
35237
35255
|
// Most of the logic is implemented in `SelectInput`.
|
35238
35256
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
35239
35257
|
inputComponent,
|
35240
|
-
inputProps: _extends$
|
35258
|
+
inputProps: _extends$6({
|
35241
35259
|
children: children2,
|
35242
35260
|
IconComponent,
|
35243
35261
|
variant,
|
@@ -35255,7 +35273,7 @@ var Select = /* @__PURE__ */ React.forwardRef(function Select2(props2, ref2) {
|
|
35255
35273
|
onOpen,
|
35256
35274
|
open,
|
35257
35275
|
renderValue,
|
35258
|
-
SelectDisplayProps: _extends$
|
35276
|
+
SelectDisplayProps: _extends$6({
|
35259
35277
|
id: id2
|
35260
35278
|
}, SelectDisplayProps)
|
35261
35279
|
}, inputProps, {
|
@@ -35410,7 +35428,7 @@ var styles$a = function styles25(theme) {
|
|
35410
35428
|
}
|
35411
35429
|
},
|
35412
35430
|
open: {},
|
35413
|
-
offset: _extends$
|
35431
|
+
offset: _extends$6({
|
35414
35432
|
zIndex: 1
|
35415
35433
|
}, theme.typography.body2, {
|
35416
35434
|
fontSize: theme.typography.pxToRem(12),
|
@@ -35761,7 +35779,7 @@ var styles$9 = function styles26(theme) {
|
|
35761
35779
|
opacity: 0.8
|
35762
35780
|
},
|
35763
35781
|
/* Styles applied to the mark label element. */
|
35764
|
-
markLabel: _extends$
|
35782
|
+
markLabel: _extends$6({}, theme.typography.body2, {
|
35765
35783
|
color: theme.palette.text.secondary,
|
35766
35784
|
position: "absolute",
|
35767
35785
|
top: 26,
|
@@ -36067,8 +36085,8 @@ var Slider = /* @__PURE__ */ React.forwardRef(function Slider2(props2, ref2) {
|
|
36067
36085
|
});
|
36068
36086
|
var trackOffset = valueToPercent(range2 ? values3[0] : min2, min2, max2);
|
36069
36087
|
var trackLeap = valueToPercent(values3[values3.length - 1], min2, max2) - trackOffset;
|
36070
|
-
var trackStyle = _extends$
|
36071
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
36088
|
+
var trackStyle = _extends$6({}, axisProps[axis2].offset(trackOffset), axisProps[axis2].leap(trackLeap));
|
36089
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
36072
36090
|
ref: handleRef,
|
36073
36091
|
className: clsx(classes.root, classes["color".concat(capitalize$1(color2))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function(mark2) {
|
36074
36092
|
return mark2.label;
|
@@ -36303,7 +36321,7 @@ var styles$8 = function styles27(theme) {
|
|
36303
36321
|
var _extends2;
|
36304
36322
|
return {
|
36305
36323
|
/* Styles applied to the root element. */
|
36306
|
-
root: _extends$
|
36324
|
+
root: _extends$6({}, theme.typography.button, (_extends2 = {
|
36307
36325
|
maxWidth: 264,
|
36308
36326
|
minWidth: 72,
|
36309
36327
|
position: "relative",
|
@@ -36311,9 +36329,9 @@ var styles$8 = function styles27(theme) {
|
|
36311
36329
|
minHeight: 48,
|
36312
36330
|
flexShrink: 0,
|
36313
36331
|
padding: "6px 12px"
|
36314
|
-
}, _defineProperty$
|
36332
|
+
}, _defineProperty$m(_extends2, theme.breakpoints.up("sm"), {
|
36315
36333
|
padding: "6px 24px"
|
36316
|
-
}), _defineProperty$
|
36334
|
+
}), _defineProperty$m(_extends2, "overflow", "hidden"), _defineProperty$m(_extends2, "whiteSpace", "normal"), _defineProperty$m(_extends2, "textAlign", "center"), _defineProperty$m(_extends2, theme.breakpoints.up("sm"), {
|
36317
36335
|
minWidth: 160
|
36318
36336
|
}), _extends2)),
|
36319
36337
|
/* Styles applied to the root element if both `icon` and `label` are provided. */
|
@@ -36399,7 +36417,7 @@ var Tab = /* @__PURE__ */ React.forwardRef(function Tab2(props2, ref2) {
|
|
36399
36417
|
onFocus(event2);
|
36400
36418
|
}
|
36401
36419
|
};
|
36402
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
36420
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$6({
|
36403
36421
|
focusRipple: !disableFocusRipple,
|
36404
36422
|
className: clsx(classes.root, classes["textColor".concat(capitalize$1(textColor))], className, disabled && classes.disabled, selected && classes.selected, label2 && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),
|
36405
36423
|
ref: ref2,
|
@@ -36508,7 +36526,7 @@ const Tablelvl2Context$1 = Tablelvl2Context;
|
|
36508
36526
|
var styles$7 = function styles28(theme) {
|
36509
36527
|
return {
|
36510
36528
|
/* Styles applied to the root element. */
|
36511
|
-
root: _extends$
|
36529
|
+
root: _extends$6({}, theme.typography.body2, {
|
36512
36530
|
display: "table-cell",
|
36513
36531
|
verticalAlign: "inherit",
|
36514
36532
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
@@ -36620,7 +36638,7 @@ var TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(props2, ref
|
|
36620
36638
|
if (sortDirection) {
|
36621
36639
|
ariaSort = sortDirection === "asc" ? "ascending" : "descending";
|
36622
36640
|
}
|
36623
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
36641
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
36624
36642
|
ref: ref2,
|
36625
36643
|
className: clsx(classes.root, classes[variant], className, align2 !== "inherit" && classes["align".concat(capitalize$1(align2))], padding2 !== "normal" && classes["padding".concat(capitalize$1(padding2))], size2 !== "medium" && classes["size".concat(capitalize$1(size2))], variant === "head" && table && table.stickyHeader && classes.stickyHeader),
|
36626
36644
|
"aria-sort": ariaSort,
|
@@ -36723,7 +36741,7 @@ var defaultComponent = "tr";
|
|
36723
36741
|
var TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(props2, ref2) {
|
36724
36742
|
var classes = props2.classes, className = props2.className, _props$component = props2.component, Component2 = _props$component === void 0 ? defaultComponent : _props$component, _props$hover = props2.hover, hover3 = _props$hover === void 0 ? false : _props$hover, _props$selected = props2.selected, selected = _props$selected === void 0 ? false : _props$selected, other = _objectWithoutProperties$1(props2, ["classes", "className", "component", "hover", "selected"]);
|
36725
36743
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
36726
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
36744
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
36727
36745
|
ref: ref2,
|
36728
36746
|
className: clsx(classes.root, className, tablelvl2 && {
|
36729
36747
|
"head": classes.head,
|
@@ -36879,7 +36897,7 @@ function ScrollbarSize(props2) {
|
|
36879
36897
|
setMeasurements();
|
36880
36898
|
onChange(scrollbarHeight.current);
|
36881
36899
|
}, [onChange]);
|
36882
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
36900
|
+
return /* @__PURE__ */ React.createElement("div", _extends$6({
|
36883
36901
|
style: styles$5,
|
36884
36902
|
ref: nodeRef
|
36885
36903
|
}, other));
|
@@ -36911,7 +36929,7 @@ var styles$4 = function styles30(theme) {
|
|
36911
36929
|
};
|
36912
36930
|
var TabIndicator = /* @__PURE__ */ React.forwardRef(function TabIndicator2(props2, ref2) {
|
36913
36931
|
var classes = props2.classes, className = props2.className, color2 = props2.color, orientation = props2.orientation, other = _objectWithoutProperties$1(props2, ["classes", "className", "color", "orientation"]);
|
36914
|
-
return /* @__PURE__ */ React.createElement("span", _extends$
|
36932
|
+
return /* @__PURE__ */ React.createElement("span", _extends$6({
|
36915
36933
|
className: clsx(classes.root, classes["color".concat(capitalize$1(color2))], className, orientation === "vertical" && classes.vertical),
|
36916
36934
|
ref: ref2
|
36917
36935
|
}, other));
|
@@ -36968,7 +36986,7 @@ var _ref2 = /* @__PURE__ */ React.createElement(KeyboardArrowRight, {
|
|
36968
36986
|
});
|
36969
36987
|
var TabScrollButton = /* @__PURE__ */ React.forwardRef(function TabScrollButton2(props2, ref2) {
|
36970
36988
|
var classes = props2.classes, classNameProp = props2.className, direction = props2.direction, orientation = props2.orientation, disabled = props2.disabled, other = _objectWithoutProperties$1(props2, ["classes", "className", "direction", "orientation", "disabled"]);
|
36971
|
-
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$
|
36989
|
+
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$6({
|
36972
36990
|
component: "div",
|
36973
36991
|
className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === "vertical" && classes.vertical),
|
36974
36992
|
ref: ref2,
|
@@ -37062,7 +37080,7 @@ var styles$2 = function styles31(theme) {
|
|
37062
37080
|
/* Styles applied to the `ScrollButtonComponent` component. */
|
37063
37081
|
scrollButtons: {},
|
37064
37082
|
/* Styles applied to the `ScrollButtonComponent` component if `scrollButtons="auto"` or scrollButtons="desktop"`. */
|
37065
|
-
scrollButtonsDesktop: _defineProperty$
|
37083
|
+
scrollButtonsDesktop: _defineProperty$m({}, theme.breakpoints.down("xs"), {
|
37066
37084
|
display: "none"
|
37067
37085
|
}),
|
37068
37086
|
/* Styles applied to the `TabIndicator` component. */
|
@@ -37145,7 +37163,7 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref2) {
|
|
37145
37163
|
startValue = tabMeta.left - tabsMeta.left + correction;
|
37146
37164
|
}
|
37147
37165
|
}
|
37148
|
-
var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty$
|
37166
|
+
var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty$m(_newIndicatorStyle, start, startValue), _defineProperty$m(_newIndicatorStyle, size2, tabMeta ? tabMeta[size2] : 0), _newIndicatorStyle);
|
37149
37167
|
if (isNaN(indicatorStyle[start]) || isNaN(indicatorStyle[size2])) {
|
37150
37168
|
setIndicatorStyle(newIndicatorStyle);
|
37151
37169
|
} else {
|
@@ -37189,14 +37207,14 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref2) {
|
|
37189
37207
|
}) : null;
|
37190
37208
|
var scrollButtonsActive = displayScroll.start || displayScroll.end;
|
37191
37209
|
var showScrollButtons = scrollable && (scrollButtons === "auto" && scrollButtonsActive || scrollButtons === "desktop" || scrollButtons === "on");
|
37192
|
-
conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$
|
37210
|
+
conditionalElements2.scrollButtonStart = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$6({
|
37193
37211
|
orientation,
|
37194
37212
|
direction: isRtl ? "right" : "left",
|
37195
37213
|
onClick: handleStartScrollClick,
|
37196
37214
|
disabled: !displayScroll.start,
|
37197
37215
|
className: clsx(classes.scrollButtons, scrollButtons !== "on" && classes.scrollButtonsDesktop)
|
37198
37216
|
}, TabScrollButtonProps)) : null;
|
37199
|
-
conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$
|
37217
|
+
conditionalElements2.scrollButtonEnd = showScrollButtons ? /* @__PURE__ */ React.createElement(ScrollButtonComponent, _extends$6({
|
37200
37218
|
orientation,
|
37201
37219
|
direction: isRtl ? "left" : "right",
|
37202
37220
|
onClick: handleEndScrollClick,
|
@@ -37275,12 +37293,12 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref2) {
|
|
37275
37293
|
updateScrollButtons: updateScrollButtonState
|
37276
37294
|
};
|
37277
37295
|
}, [updateIndicatorState, updateScrollButtonState]);
|
37278
|
-
var indicator = /* @__PURE__ */ React.createElement(TabIndicator$1, _extends$
|
37296
|
+
var indicator = /* @__PURE__ */ React.createElement(TabIndicator$1, _extends$6({
|
37279
37297
|
className: classes.indicator,
|
37280
37298
|
orientation,
|
37281
37299
|
color: indicatorColor
|
37282
37300
|
}, TabIndicatorProps, {
|
37283
|
-
style: _extends$
|
37301
|
+
style: _extends$6({}, indicatorStyle, TabIndicatorProps.style)
|
37284
37302
|
}));
|
37285
37303
|
var childIndex = 0;
|
37286
37304
|
var children2 = React.Children.map(childrenProp, function(child2) {
|
@@ -37339,7 +37357,7 @@ var Tabs = /* @__PURE__ */ React.forwardRef(function Tabs2(props2, ref2) {
|
|
37339
37357
|
}
|
37340
37358
|
};
|
37341
37359
|
var conditionalElements = getConditionalElements();
|
37342
|
-
return /* @__PURE__ */ React.createElement(Component2, _extends$
|
37360
|
+
return /* @__PURE__ */ React.createElement(Component2, _extends$6({
|
37343
37361
|
className: clsx(classes.root, className, vertical && classes.vertical),
|
37344
37362
|
ref: ref2
|
37345
37363
|
}, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /* @__PURE__ */ React.createElement("div", {
|
@@ -37501,7 +37519,7 @@ var TextField = /* @__PURE__ */ React.forwardRef(function TextField2(props2, ref
|
|
37501
37519
|
var helperTextId = helperText && id2 ? "".concat(id2, "-helper-text") : void 0;
|
37502
37520
|
var inputLabelId = label2 && id2 ? "".concat(id2, "-label") : void 0;
|
37503
37521
|
var InputComponent = variantComponent[variant];
|
37504
|
-
var InputElement = /* @__PURE__ */ React.createElement(InputComponent, _extends$
|
37522
|
+
var InputElement = /* @__PURE__ */ React.createElement(InputComponent, _extends$6({
|
37505
37523
|
"aria-describedby": helperTextId,
|
37506
37524
|
autoComplete,
|
37507
37525
|
autoFocus,
|
@@ -37523,7 +37541,7 @@ var TextField = /* @__PURE__ */ React.forwardRef(function TextField2(props2, ref
|
|
37523
37541
|
placeholder,
|
37524
37542
|
inputProps
|
37525
37543
|
}, InputMore, InputProps));
|
37526
|
-
return /* @__PURE__ */ React.createElement(FormControl$1, _extends$
|
37544
|
+
return /* @__PURE__ */ React.createElement(FormControl$1, _extends$6({
|
37527
37545
|
className: clsx(classes.root, className),
|
37528
37546
|
disabled,
|
37529
37547
|
error: error2,
|
@@ -37533,16 +37551,16 @@ var TextField = /* @__PURE__ */ React.forwardRef(function TextField2(props2, ref
|
|
37533
37551
|
required: required2,
|
37534
37552
|
color: color2,
|
37535
37553
|
variant
|
37536
|
-
}, other), label2 && /* @__PURE__ */ React.createElement(InputLabel$1, _extends$
|
37554
|
+
}, other), label2 && /* @__PURE__ */ React.createElement(InputLabel$1, _extends$6({
|
37537
37555
|
htmlFor: id2,
|
37538
37556
|
id: inputLabelId
|
37539
|
-
}, InputLabelProps), label2), select2 ? /* @__PURE__ */ React.createElement(Select$1, _extends$
|
37557
|
+
}, InputLabelProps), label2), select2 ? /* @__PURE__ */ React.createElement(Select$1, _extends$6({
|
37540
37558
|
"aria-describedby": helperTextId,
|
37541
37559
|
id: id2,
|
37542
37560
|
labelId: inputLabelId,
|
37543
37561
|
value: value2,
|
37544
37562
|
input: InputElement
|
37545
|
-
}, SelectProps), children2) : InputElement, helperText && /* @__PURE__ */ React.createElement(FormHelperText$1, _extends$
|
37563
|
+
}, SelectProps), children2) : InputElement, helperText && /* @__PURE__ */ React.createElement(FormHelperText$1, _extends$6({
|
37546
37564
|
id: helperTextId
|
37547
37565
|
}, FormHelperTextProps), helperText));
|
37548
37566
|
});
|
@@ -38195,8 +38213,8 @@ var defineProperty$6 = function defineProperty(it, key2, desc) {
|
|
38195
38213
|
return $Object$2.defineProperty(it, key2, desc);
|
38196
38214
|
};
|
38197
38215
|
var defineProperty$5 = { "default": defineProperty$6, __esModule: true };
|
38198
|
-
var _defineProperty$
|
38199
|
-
var _defineProperty2$1 = _interopRequireDefault$p(_defineProperty$
|
38216
|
+
var _defineProperty$l = defineProperty$5;
|
38217
|
+
var _defineProperty2$1 = _interopRequireDefault$p(_defineProperty$l);
|
38200
38218
|
function _interopRequireDefault$p(obj) {
|
38201
38219
|
return obj && obj.__esModule ? obj : { default: obj };
|
38202
38220
|
}
|
@@ -38218,8 +38236,8 @@ var _default$9 = function(instance, Constructor) {
|
|
38218
38236
|
throw new TypeError("Cannot call a class as a function");
|
38219
38237
|
}
|
38220
38238
|
};
|
38221
|
-
var _defineProperty$
|
38222
|
-
var _defineProperty2 = _interopRequireDefault$o(_defineProperty$
|
38239
|
+
var _defineProperty$k = defineProperty$5;
|
38240
|
+
var _defineProperty2 = _interopRequireDefault$o(_defineProperty$k);
|
38223
38241
|
function _interopRequireDefault$o(obj) {
|
38224
38242
|
return obj && obj.__esModule ? obj : { default: obj };
|
38225
38243
|
}
|
@@ -40947,27 +40965,13 @@ function _objectSpread2$2(target2) {
|
|
40947
40965
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
40948
40966
|
var source2 = null != arguments[i2] ? arguments[i2] : {};
|
40949
40967
|
i2 % 2 ? ownKeys$a(Object(source2), true).forEach(function(key2) {
|
40950
|
-
_defineProperty$
|
40968
|
+
_defineProperty$m(target2, key2, source2[key2]);
|
40951
40969
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$a(Object(source2)).forEach(function(key2) {
|
40952
40970
|
Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
|
40953
40971
|
});
|
40954
40972
|
}
|
40955
40973
|
return target2;
|
40956
40974
|
}
|
40957
|
-
function _defineProperty$k(obj, key2, value2) {
|
40958
|
-
key2 = _toPropertyKey(key2);
|
40959
|
-
if (key2 in obj) {
|
40960
|
-
Object.defineProperty(obj, key2, {
|
40961
|
-
value: value2,
|
40962
|
-
enumerable: true,
|
40963
|
-
configurable: true,
|
40964
|
-
writable: true
|
40965
|
-
});
|
40966
|
-
} else {
|
40967
|
-
obj[key2] = value2;
|
40968
|
-
}
|
40969
|
-
return obj;
|
40970
|
-
}
|
40971
40975
|
function ownKeys$9(object2, enumerableOnly) {
|
40972
40976
|
var keys4 = Object.keys(object2);
|
40973
40977
|
if (Object.getOwnPropertySymbols) {
|
@@ -40982,7 +40986,7 @@ function _objectSpread2$1(target2) {
|
|
40982
40986
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
40983
40987
|
var source2 = null != arguments[i2] ? arguments[i2] : {};
|
40984
40988
|
i2 % 2 ? ownKeys$9(Object(source2), true).forEach(function(key2) {
|
40985
|
-
_defineProperty$
|
40989
|
+
_defineProperty$n(target2, key2, source2[key2]);
|
40986
40990
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2)) : ownKeys$9(Object(source2)).forEach(function(key2) {
|
40987
40991
|
Object.defineProperty(target2, key2, Object.getOwnPropertyDescriptor(source2, key2));
|
40988
40992
|
});
|
@@ -41033,7 +41037,7 @@ function _isNativeReflectConstruct$w() {
|
|
41033
41037
|
}
|
41034
41038
|
}
|
41035
41039
|
function _possibleConstructorReturn$w(self2, call) {
|
41036
|
-
if (call && (_typeof$
|
41040
|
+
if (call && (_typeof$B(call) === "object" || typeof call === "function")) {
|
41037
41041
|
return call;
|
41038
41042
|
} else if (call !== void 0) {
|
41039
41043
|
throw new TypeError("Derived constructors may only return object or undefined");
|
@@ -41120,7 +41124,7 @@ function findDOMNode(node) {
|
|
41120
41124
|
function fillRef(ref2, node) {
|
41121
41125
|
if (typeof ref2 === "function") {
|
41122
41126
|
ref2(node);
|
41123
|
-
} else if (_typeof$
|
41127
|
+
} else if (_typeof$B(ref2) === "object" && ref2 && "current" in ref2) {
|
41124
41128
|
ref2.current = node;
|
41125
41129
|
}
|
41126
41130
|
}
|
@@ -41335,7 +41339,7 @@ var transitionEndName = internalTransitionEndName || "transitionend";
|
|
41335
41339
|
function getTransitionName$1(transitionName, transitionType) {
|
41336
41340
|
if (!transitionName)
|
41337
41341
|
return null;
|
41338
|
-
if (_typeof$
|
41342
|
+
if (_typeof$B(transitionName) === "object") {
|
41339
41343
|
var type2 = transitionType.replace(/-\w/g, function(match2) {
|
41340
41344
|
return match2[1].toUpperCase();
|
41341
41345
|
});
|
@@ -41505,11 +41509,11 @@ function useStatus(supportMotion, visible, getElement2, _ref3) {
|
|
41505
41509
|
var _ref22, _ref32, _ref4;
|
41506
41510
|
switch (status) {
|
41507
41511
|
case STATUS_APPEAR:
|
41508
|
-
return _ref22 = {}, _defineProperty$
|
41512
|
+
return _ref22 = {}, _defineProperty$n(_ref22, STEP_PREPARE, onAppearPrepare), _defineProperty$n(_ref22, STEP_START, onAppearStart), _defineProperty$n(_ref22, STEP_ACTIVE, onAppearActive), _ref22;
|
41509
41513
|
case STATUS_ENTER:
|
41510
|
-
return _ref32 = {}, _defineProperty$
|
41514
|
+
return _ref32 = {}, _defineProperty$n(_ref32, STEP_PREPARE, onEnterPrepare), _defineProperty$n(_ref32, STEP_START, onEnterStart), _defineProperty$n(_ref32, STEP_ACTIVE, onEnterActive), _ref32;
|
41511
41515
|
case STATUS_LEAVE:
|
41512
|
-
return _ref4 = {}, _defineProperty$
|
41516
|
+
return _ref4 = {}, _defineProperty$n(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty$n(_ref4, STEP_START, onLeaveStart), _defineProperty$n(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
|
41513
41517
|
default:
|
41514
41518
|
return {};
|
41515
41519
|
}
|
@@ -41616,7 +41620,7 @@ var DomWrapper = /* @__PURE__ */ function(_React$Component) {
|
|
41616
41620
|
}(React.Component);
|
41617
41621
|
function genCSSMotion(config3) {
|
41618
41622
|
var transitionSupport = config3;
|
41619
|
-
if (_typeof$
|
41623
|
+
if (_typeof$B(config3) === "object") {
|
41620
41624
|
transitionSupport = config3.transitionSupport;
|
41621
41625
|
}
|
41622
41626
|
function isSupportTransition(props2) {
|
@@ -41676,7 +41680,7 @@ function genCSSMotion(config3) {
|
|
41676
41680
|
statusSuffix = "start";
|
41677
41681
|
}
|
41678
41682
|
motionChildren = children2(_objectSpread2$1(_objectSpread2$1({}, mergedProps), {}, {
|
41679
|
-
className: classNames(getTransitionName$1(motionName, status), (_classNames = {}, _defineProperty$
|
41683
|
+
className: classNames(getTransitionName$1(motionName, status), (_classNames = {}, _defineProperty$n(_classNames, getTransitionName$1(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), _defineProperty$n(_classNames, motionName, typeof motionName === "string"), _classNames)),
|
41680
41684
|
style: statusStyle
|
41681
41685
|
}), setNodeRef);
|
41682
41686
|
}
|
@@ -41729,7 +41733,7 @@ function Mask(props2) {
|
|
41729
41733
|
animation: maskAnimation
|
41730
41734
|
}));
|
41731
41735
|
}
|
41732
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
41736
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$7({}, motion, {
|
41733
41737
|
visible,
|
41734
41738
|
removeOnLeave: true
|
41735
41739
|
}), function(_ref3) {
|
@@ -44183,7 +44187,7 @@ function getElement(func) {
|
|
44183
44187
|
return func();
|
44184
44188
|
}
|
44185
44189
|
function getPoint(point2) {
|
44186
|
-
if (_typeof$
|
44190
|
+
if (_typeof$B(point2) !== "object" || !point2)
|
44187
44191
|
return null;
|
44188
44192
|
return point2;
|
44189
44193
|
}
|
@@ -44358,7 +44362,7 @@ function _regeneratorRuntime$1() {
|
|
44358
44362
|
var record = tryCatch2(generator[method2], generator, arg);
|
44359
44363
|
if ("throw" !== record.type) {
|
44360
44364
|
var result = record.arg, value2 = result.value;
|
44361
|
-
return value2 && "object" == _typeof$
|
44365
|
+
return value2 && "object" == _typeof$B(value2) && hasOwn2.call(value2, "__await") ? PromiseImpl.resolve(value2.__await).then(function(value3) {
|
44362
44366
|
invoke2("next", value3, resolve2, reject);
|
44363
44367
|
}, function(err2) {
|
44364
44368
|
invoke2("throw", err2, resolve2, reject);
|
@@ -44823,7 +44827,7 @@ var PopupInner = /* @__PURE__ */ React.forwardRef(function(props2, ref2) {
|
|
44823
44827
|
className: "".concat(prefixCls, "-content")
|
44824
44828
|
}, children2);
|
44825
44829
|
}
|
44826
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
44830
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$7({
|
44827
44831
|
visible,
|
44828
44832
|
ref: elementRef,
|
44829
44833
|
leavedClassName: "".concat(prefixCls, "-hidden")
|
@@ -44882,7 +44886,7 @@ var MobilePopupInner = /* @__PURE__ */ React.forwardRef(function(props2, ref2) {
|
|
44882
44886
|
if (popupRender) {
|
44883
44887
|
childNode = popupRender(childNode);
|
44884
44888
|
}
|
44885
|
-
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$
|
44889
|
+
return /* @__PURE__ */ React.createElement(CSSMotion, _extends$7({
|
44886
44890
|
visible,
|
44887
44891
|
ref: elementRef,
|
44888
44892
|
removeOnLeave: true
|
@@ -44912,10 +44916,10 @@ var Popup$1 = /* @__PURE__ */ React.forwardRef(function(_ref3, ref2) {
|
|
44912
44916
|
setInMobile(isMobile$1());
|
44913
44917
|
}
|
44914
44918
|
}, [visible, mobile]);
|
44915
|
-
var popupNode = inMobile ? /* @__PURE__ */ React.createElement(MobilePopupInner, _extends$
|
44919
|
+
var popupNode = inMobile ? /* @__PURE__ */ React.createElement(MobilePopupInner, _extends$7({}, cloneProps, {
|
44916
44920
|
mobile,
|
44917
44921
|
ref: ref2
|
44918
|
-
})) : /* @__PURE__ */ React.createElement(PopupInner, _extends$
|
44922
|
+
})) : /* @__PURE__ */ React.createElement(PopupInner, _extends$7({}, cloneProps, {
|
44919
44923
|
ref: ref2
|
44920
44924
|
}));
|
44921
44925
|
return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(Mask, cloneProps), popupNode);
|
@@ -45102,7 +45106,7 @@ function generateTrigger(PortalComponent) {
|
|
45102
45106
|
}
|
45103
45107
|
mouseProps.onMouseDown = _this.onPopupMouseDown;
|
45104
45108
|
mouseProps.onTouchStart = _this.onPopupMouseDown;
|
45105
|
-
return /* @__PURE__ */ React.createElement(Popup$1, _extends$
|
45109
|
+
return /* @__PURE__ */ React.createElement(Popup$1, _extends$7({
|
45106
45110
|
prefixCls,
|
45107
45111
|
destroyPopupOnHide,
|
45108
45112
|
visible: popupVisible,
|
@@ -45632,12 +45636,12 @@ var Tooltip$2 = function Tooltip(props2, ref2) {
|
|
45632
45636
|
var autoDestroy = false;
|
45633
45637
|
if (typeof destroyTooltipOnHide === "boolean") {
|
45634
45638
|
destroyTooltip = destroyTooltipOnHide;
|
45635
|
-
} else if (destroyTooltipOnHide && _typeof$
|
45639
|
+
} else if (destroyTooltipOnHide && _typeof$A(destroyTooltipOnHide) === "object") {
|
45636
45640
|
var keepParent = destroyTooltipOnHide.keepParent;
|
45637
45641
|
destroyTooltip = keepParent === true;
|
45638
45642
|
autoDestroy = keepParent === false;
|
45639
45643
|
}
|
45640
|
-
return /* @__PURE__ */ React.createElement(Trigger, _extends$
|
45644
|
+
return /* @__PURE__ */ React.createElement(Trigger, _extends$6({
|
45641
45645
|
popupClassName: overlayClassName,
|
45642
45646
|
prefixCls,
|
45643
45647
|
popup: getPopupElement,
|
@@ -48034,19 +48038,19 @@ function memoizeCapped$1(func) {
|
|
48034
48038
|
}
|
48035
48039
|
var _memoizeCapped = memoizeCapped$1;
|
48036
48040
|
var memoizeCapped = _memoizeCapped;
|
48037
|
-
var rePropName$
|
48038
|
-
var reEscapeChar$
|
48039
|
-
var stringToPath$1
|
48041
|
+
var rePropName$1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
48042
|
+
var reEscapeChar$1 = /\\(\\)?/g;
|
48043
|
+
var stringToPath$1 = memoizeCapped(function(string2) {
|
48040
48044
|
var result = [];
|
48041
48045
|
if (string2.charCodeAt(0) === 46) {
|
48042
48046
|
result.push("");
|
48043
48047
|
}
|
48044
|
-
string2.replace(rePropName$
|
48045
|
-
result.push(quote ? subString.replace(reEscapeChar$
|
48048
|
+
string2.replace(rePropName$1, function(match2, number2, quote, subString) {
|
48049
|
+
result.push(quote ? subString.replace(reEscapeChar$1, "$1") : number2 || match2);
|
48046
48050
|
});
|
48047
48051
|
return result;
|
48048
48052
|
});
|
48049
|
-
var _stringToPath = stringToPath$1
|
48053
|
+
var _stringToPath = stringToPath$1;
|
48050
48054
|
var Symbol$2 = _Symbol, arrayMap$1 = _arrayMap, isArray$7 = isArray_1, isSymbol$2 = isSymbol_1;
|
48051
48055
|
var INFINITY$1 = 1 / 0;
|
48052
48056
|
var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
|
@@ -52640,13 +52644,13 @@ const matches = typeof process !== "undefined" && process.version && /v([0-9]*)/
|
|
52640
52644
|
matches && parseFloat(matches[1]) || 0;
|
52641
52645
|
class WorkerJob {
|
52642
52646
|
constructor(jobName, workerThread) {
|
52643
|
-
_defineProperty$
|
52644
|
-
_defineProperty$
|
52645
|
-
_defineProperty$
|
52646
|
-
_defineProperty$
|
52647
|
-
_defineProperty$
|
52647
|
+
_defineProperty$n(this, "name", void 0);
|
52648
|
+
_defineProperty$n(this, "workerThread", void 0);
|
52649
|
+
_defineProperty$n(this, "isRunning", true);
|
52650
|
+
_defineProperty$n(this, "result", void 0);
|
52651
|
+
_defineProperty$n(this, "_resolve", () => {
|
52648
52652
|
});
|
52649
|
-
_defineProperty$
|
52653
|
+
_defineProperty$n(this, "_reject", () => {
|
52650
52654
|
});
|
52651
52655
|
this.name = jobName;
|
52652
52656
|
this.workerThread = workerThread;
|
@@ -52750,14 +52754,14 @@ class WorkerThread {
|
|
52750
52754
|
return typeof Worker !== "undefined" && isBrowser$2 || typeof Worker$1 !== "undefined" && !isBrowser$2;
|
52751
52755
|
}
|
52752
52756
|
constructor(props2) {
|
52753
|
-
_defineProperty$
|
52754
|
-
_defineProperty$
|
52755
|
-
_defineProperty$
|
52756
|
-
_defineProperty$
|
52757
|
-
_defineProperty$
|
52758
|
-
_defineProperty$
|
52759
|
-
_defineProperty$
|
52760
|
-
_defineProperty$
|
52757
|
+
_defineProperty$n(this, "name", void 0);
|
52758
|
+
_defineProperty$n(this, "source", void 0);
|
52759
|
+
_defineProperty$n(this, "url", void 0);
|
52760
|
+
_defineProperty$n(this, "terminated", false);
|
52761
|
+
_defineProperty$n(this, "worker", void 0);
|
52762
|
+
_defineProperty$n(this, "onMessage", void 0);
|
52763
|
+
_defineProperty$n(this, "onError", void 0);
|
52764
|
+
_defineProperty$n(this, "_loadableURL", "");
|
52761
52765
|
const {
|
52762
52766
|
name: name2,
|
52763
52767
|
source: source2,
|
@@ -52848,19 +52852,19 @@ class WorkerPool {
|
|
52848
52852
|
return WorkerThread.isSupported();
|
52849
52853
|
}
|
52850
52854
|
constructor(props2) {
|
52851
|
-
_defineProperty$
|
52852
|
-
_defineProperty$
|
52853
|
-
_defineProperty$
|
52854
|
-
_defineProperty$
|
52855
|
-
_defineProperty$
|
52856
|
-
_defineProperty$
|
52857
|
-
});
|
52858
|
-
_defineProperty$
|
52859
|
-
_defineProperty$
|
52860
|
-
_defineProperty$
|
52861
|
-
_defineProperty$
|
52862
|
-
_defineProperty$
|
52863
|
-
_defineProperty$
|
52855
|
+
_defineProperty$n(this, "name", "unnamed");
|
52856
|
+
_defineProperty$n(this, "source", void 0);
|
52857
|
+
_defineProperty$n(this, "url", void 0);
|
52858
|
+
_defineProperty$n(this, "maxConcurrency", 1);
|
52859
|
+
_defineProperty$n(this, "maxMobileConcurrency", 1);
|
52860
|
+
_defineProperty$n(this, "onDebug", () => {
|
52861
|
+
});
|
52862
|
+
_defineProperty$n(this, "reuseWorkers", true);
|
52863
|
+
_defineProperty$n(this, "props", {});
|
52864
|
+
_defineProperty$n(this, "jobQueue", []);
|
52865
|
+
_defineProperty$n(this, "idleQueue", []);
|
52866
|
+
_defineProperty$n(this, "count", 0);
|
52867
|
+
_defineProperty$n(this, "isDestroyed", false);
|
52864
52868
|
this.source = props2.source;
|
52865
52869
|
this.url = props2.url;
|
52866
52870
|
this.setProps(props2);
|
@@ -52978,8 +52982,8 @@ class WorkerFarm {
|
|
52978
52982
|
return WorkerFarm._workerFarm;
|
52979
52983
|
}
|
52980
52984
|
constructor(props2) {
|
52981
|
-
_defineProperty$
|
52982
|
-
_defineProperty$
|
52985
|
+
_defineProperty$n(this, "props", void 0);
|
52986
|
+
_defineProperty$n(this, "workerPools", /* @__PURE__ */ new Map());
|
52983
52987
|
this.props = {
|
52984
52988
|
...DEFAULT_PROPS$4
|
52985
52989
|
};
|
@@ -53028,7 +53032,7 @@ class WorkerFarm {
|
|
53028
53032
|
};
|
53029
53033
|
}
|
53030
53034
|
}
|
53031
|
-
_defineProperty$
|
53035
|
+
_defineProperty$n(WorkerFarm, "_workerFarm", void 0);
|
53032
53036
|
const NPM_TAG = "latest";
|
53033
53037
|
function getWorkerURL(worker, options = {}) {
|
53034
53038
|
const workerOptions = options[worker.id] || {};
|
@@ -53335,20 +53339,20 @@ function getHiResTimestamp$1() {
|
|
53335
53339
|
}
|
53336
53340
|
class Stat {
|
53337
53341
|
constructor(name2, type2) {
|
53338
|
-
_defineProperty$
|
53339
|
-
_defineProperty$
|
53340
|
-
_defineProperty$
|
53341
|
-
_defineProperty$
|
53342
|
-
_defineProperty$
|
53343
|
-
_defineProperty$
|
53344
|
-
_defineProperty$
|
53345
|
-
_defineProperty$
|
53346
|
-
_defineProperty$
|
53347
|
-
_defineProperty$
|
53348
|
-
_defineProperty$
|
53349
|
-
_defineProperty$
|
53350
|
-
_defineProperty$
|
53351
|
-
_defineProperty$
|
53342
|
+
_defineProperty$n(this, "name", void 0);
|
53343
|
+
_defineProperty$n(this, "type", void 0);
|
53344
|
+
_defineProperty$n(this, "sampleSize", 1);
|
53345
|
+
_defineProperty$n(this, "time", void 0);
|
53346
|
+
_defineProperty$n(this, "count", void 0);
|
53347
|
+
_defineProperty$n(this, "samples", void 0);
|
53348
|
+
_defineProperty$n(this, "lastTiming", void 0);
|
53349
|
+
_defineProperty$n(this, "lastSampleTime", void 0);
|
53350
|
+
_defineProperty$n(this, "lastSampleCount", void 0);
|
53351
|
+
_defineProperty$n(this, "_count", 0);
|
53352
|
+
_defineProperty$n(this, "_time", 0);
|
53353
|
+
_defineProperty$n(this, "_samples", 0);
|
53354
|
+
_defineProperty$n(this, "_startTime", 0);
|
53355
|
+
_defineProperty$n(this, "_timerPending", false);
|
53352
53356
|
this.name = name2;
|
53353
53357
|
this.type = type2;
|
53354
53358
|
this.reset();
|
@@ -53445,8 +53449,8 @@ class Stat {
|
|
53445
53449
|
}
|
53446
53450
|
class Stats {
|
53447
53451
|
constructor(options) {
|
53448
|
-
_defineProperty$
|
53449
|
-
_defineProperty$
|
53452
|
+
_defineProperty$n(this, "id", void 0);
|
53453
|
+
_defineProperty$n(this, "stats", {});
|
53450
53454
|
this.id = options.id;
|
53451
53455
|
this.stats = {};
|
53452
53456
|
this._initializeStats(options.stats);
|
@@ -53519,12 +53523,12 @@ const DEFAULT_PROPS$3 = {
|
|
53519
53523
|
};
|
53520
53524
|
class RequestScheduler {
|
53521
53525
|
constructor(props2 = {}) {
|
53522
|
-
_defineProperty$
|
53523
|
-
_defineProperty$
|
53524
|
-
_defineProperty$
|
53525
|
-
_defineProperty$
|
53526
|
-
_defineProperty$
|
53527
|
-
_defineProperty$
|
53526
|
+
_defineProperty$m(this, "props", void 0);
|
53527
|
+
_defineProperty$m(this, "stats", void 0);
|
53528
|
+
_defineProperty$m(this, "activeRequestCount", 0);
|
53529
|
+
_defineProperty$m(this, "requestQueue", []);
|
53530
|
+
_defineProperty$m(this, "requestMap", /* @__PURE__ */ new Map());
|
53531
|
+
_defineProperty$m(this, "deferredUpdate", null);
|
53528
53532
|
this.props = {
|
53529
53533
|
...DEFAULT_PROPS$3,
|
53530
53534
|
...props2
|
@@ -53887,9 +53891,9 @@ class LocalStorage {
|
|
53887
53891
|
constructor(id2) {
|
53888
53892
|
let defaultSettings = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
53889
53893
|
let type2 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "sessionStorage";
|
53890
|
-
_defineProperty$
|
53891
|
-
_defineProperty$
|
53892
|
-
_defineProperty$
|
53894
|
+
_defineProperty$n(this, "storage", void 0);
|
53895
|
+
_defineProperty$n(this, "id", void 0);
|
53896
|
+
_defineProperty$n(this, "config", {});
|
53893
53897
|
this.storage = getStorage(type2);
|
53894
53898
|
this.id = id2;
|
53895
53899
|
this.config = {};
|
@@ -54040,13 +54044,13 @@ let Log$1 = class Log {
|
|
54040
54044
|
} = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
54041
54045
|
id: ""
|
54042
54046
|
};
|
54043
|
-
_defineProperty$
|
54044
|
-
_defineProperty$
|
54045
|
-
_defineProperty$
|
54046
|
-
_defineProperty$
|
54047
|
-
_defineProperty$
|
54048
|
-
_defineProperty$
|
54049
|
-
_defineProperty$
|
54047
|
+
_defineProperty$n(this, "id", void 0);
|
54048
|
+
_defineProperty$n(this, "VERSION", VERSION$a);
|
54049
|
+
_defineProperty$n(this, "_startTs", getHiResTimestamp());
|
54050
|
+
_defineProperty$n(this, "_deltaTs", getHiResTimestamp());
|
54051
|
+
_defineProperty$n(this, "_storage", void 0);
|
54052
|
+
_defineProperty$n(this, "userData", {});
|
54053
|
+
_defineProperty$n(this, "LOG_THROTTLE_TIMEOUT", 0);
|
54050
54054
|
this.id = id2;
|
54051
54055
|
this._storage = new LocalStorage("__probe-".concat(this.id, "__"), DEFAULT_SETTINGS);
|
54052
54056
|
this.userData = {};
|
@@ -54247,7 +54251,7 @@ let Log$1 = class Log {
|
|
54247
54251
|
return noop$9;
|
54248
54252
|
}
|
54249
54253
|
};
|
54250
|
-
_defineProperty$
|
54254
|
+
_defineProperty$n(Log$1, "VERSION", VERSION$a);
|
54251
54255
|
function normalizeLogLevel(logLevel) {
|
54252
54256
|
if (!logLevel) {
|
54253
54257
|
return 0;
|
@@ -54376,7 +54380,7 @@ class NullLog {
|
|
54376
54380
|
}
|
54377
54381
|
class ConsoleLog {
|
54378
54382
|
constructor() {
|
54379
|
-
_defineProperty$
|
54383
|
+
_defineProperty$m(this, "console", void 0);
|
54380
54384
|
this.console = console;
|
54381
54385
|
}
|
54382
54386
|
log(...args) {
|
@@ -66203,10 +66207,10 @@ class SphericalCoordinates {
|
|
66203
66207
|
altitude,
|
66204
66208
|
radiusScale = EARTH_RADIUS_METERS
|
66205
66209
|
} = {}) {
|
66206
|
-
_defineProperty$
|
66207
|
-
_defineProperty$
|
66208
|
-
_defineProperty$
|
66209
|
-
_defineProperty$
|
66210
|
+
_defineProperty$m(this, "phi", void 0);
|
66211
|
+
_defineProperty$m(this, "theta", void 0);
|
66212
|
+
_defineProperty$m(this, "radius", void 0);
|
66213
|
+
_defineProperty$m(this, "radiusScale", void 0);
|
66210
66214
|
this.phi = phi2;
|
66211
66215
|
this.theta = theta;
|
66212
66216
|
this.radius = radius2 || altitude || 1;
|
@@ -66740,8 +66744,8 @@ class Pose {
|
|
66740
66744
|
position: position2,
|
66741
66745
|
orientation
|
66742
66746
|
} = {}) {
|
66743
|
-
_defineProperty$
|
66744
|
-
_defineProperty$
|
66747
|
+
_defineProperty$m(this, "position", void 0);
|
66748
|
+
_defineProperty$m(this, "orientation", void 0);
|
66745
66749
|
if (Array.isArray(position2) && position2.length === 3) {
|
66746
66750
|
this.position = new Vector3(position2);
|
66747
66751
|
} else {
|
@@ -70013,31 +70017,31 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
|
|
70013
70017
|
width: 1,
|
70014
70018
|
height: 1
|
70015
70019
|
}) {
|
70016
|
-
_defineProperty$
|
70017
|
-
_defineProperty$
|
70018
|
-
_defineProperty$
|
70019
|
-
_defineProperty$
|
70020
|
-
_defineProperty$
|
70021
|
-
_defineProperty$
|
70022
|
-
_defineProperty$
|
70023
|
-
_defineProperty$
|
70024
|
-
_defineProperty$
|
70025
|
-
_defineProperty$
|
70026
|
-
_defineProperty$
|
70027
|
-
_defineProperty$
|
70028
|
-
_defineProperty$
|
70029
|
-
_defineProperty$
|
70030
|
-
_defineProperty$
|
70031
|
-
_defineProperty$
|
70032
|
-
_defineProperty$
|
70033
|
-
_defineProperty$
|
70034
|
-
_defineProperty$
|
70020
|
+
_defineProperty$n(this, "latitude", void 0);
|
70021
|
+
_defineProperty$n(this, "longitude", void 0);
|
70022
|
+
_defineProperty$n(this, "zoom", void 0);
|
70023
|
+
_defineProperty$n(this, "pitch", void 0);
|
70024
|
+
_defineProperty$n(this, "bearing", void 0);
|
70025
|
+
_defineProperty$n(this, "altitude", void 0);
|
70026
|
+
_defineProperty$n(this, "fovy", void 0);
|
70027
|
+
_defineProperty$n(this, "meterOffset", void 0);
|
70028
|
+
_defineProperty$n(this, "center", void 0);
|
70029
|
+
_defineProperty$n(this, "width", void 0);
|
70030
|
+
_defineProperty$n(this, "height", void 0);
|
70031
|
+
_defineProperty$n(this, "scale", void 0);
|
70032
|
+
_defineProperty$n(this, "distanceScales", void 0);
|
70033
|
+
_defineProperty$n(this, "viewMatrix", void 0);
|
70034
|
+
_defineProperty$n(this, "projectionMatrix", void 0);
|
70035
|
+
_defineProperty$n(this, "viewProjectionMatrix", void 0);
|
70036
|
+
_defineProperty$n(this, "pixelProjectionMatrix", void 0);
|
70037
|
+
_defineProperty$n(this, "pixelUnprojectionMatrix", void 0);
|
70038
|
+
_defineProperty$n(this, "equals", (viewport) => {
|
70035
70039
|
if (!(viewport instanceof WebMercatorViewport)) {
|
70036
70040
|
return false;
|
70037
70041
|
}
|
70038
70042
|
return viewport.width === this.width && viewport.height === this.height && equals$2(viewport.projectionMatrix, this.projectionMatrix) && equals$2(viewport.viewMatrix, this.viewMatrix);
|
70039
70043
|
});
|
70040
|
-
_defineProperty$
|
70044
|
+
_defineProperty$n(this, "project", (lngLatZ, options = {}) => {
|
70041
70045
|
const {
|
70042
70046
|
topLeft = true
|
70043
70047
|
} = options;
|
@@ -70047,7 +70051,7 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
|
|
70047
70051
|
const y22 = topLeft ? y2 : this.height - y2;
|
70048
70052
|
return lngLatZ.length === 2 ? [x2, y22] : [x2, y22, coord[2]];
|
70049
70053
|
});
|
70050
|
-
_defineProperty$
|
70054
|
+
_defineProperty$n(this, "unproject", (xyz, options = {}) => {
|
70051
70055
|
const {
|
70052
70056
|
topLeft = true,
|
70053
70057
|
targetZ = void 0
|
@@ -70062,12 +70066,12 @@ let WebMercatorViewport$1 = class WebMercatorViewport {
|
|
70062
70066
|
}
|
70063
70067
|
return Number.isFinite(targetZ) ? [X3, Y3, targetZ] : [X3, Y3];
|
70064
70068
|
});
|
70065
|
-
_defineProperty$
|
70069
|
+
_defineProperty$n(this, "projectPosition", (xyz) => {
|
70066
70070
|
const [X3, Y3] = lngLatToWorld(xyz);
|
70067
70071
|
const Z = (xyz[2] || 0) * this.distanceScales.unitsPerMeter[2];
|
70068
70072
|
return [X3, Y3, Z];
|
70069
70073
|
});
|
70070
|
-
_defineProperty$
|
70074
|
+
_defineProperty$n(this, "unprojectPosition", (xyz) => {
|
70071
70075
|
const [X3, Y3] = worldToLngLat(xyz);
|
70072
70076
|
const Z = (xyz[2] || 0) * this.distanceScales.metersPerUnit[2];
|
70073
70077
|
return [X3, Y3, Z];
|
@@ -91465,10 +91469,10 @@ const scratchVector$6 = new Vector3();
|
|
91465
91469
|
const scratchNormal$3 = new Vector3();
|
91466
91470
|
class AxisAlignedBoundingBox {
|
91467
91471
|
constructor(minimum = [0, 0, 0], maximum = [0, 0, 0], center2) {
|
91468
|
-
_defineProperty$
|
91469
|
-
_defineProperty$
|
91470
|
-
_defineProperty$
|
91471
|
-
_defineProperty$
|
91472
|
+
_defineProperty$n(this, "center", void 0);
|
91473
|
+
_defineProperty$n(this, "halfDiagonal", void 0);
|
91474
|
+
_defineProperty$n(this, "minimum", void 0);
|
91475
|
+
_defineProperty$n(this, "maximum", void 0);
|
91472
91476
|
center2 = center2 || scratchVector$6.copy(minimum).add(maximum).scale(0.5);
|
91473
91477
|
this.center = new Vector3(center2);
|
91474
91478
|
this.halfDiagonal = new Vector3(maximum).subtract(this.center);
|
@@ -91532,8 +91536,8 @@ const scratchVector$5 = new Vector3();
|
|
91532
91536
|
const scratchVector2$2 = new Vector3();
|
91533
91537
|
class BoundingSphere {
|
91534
91538
|
constructor(center2 = [0, 0, 0], radius2 = 0) {
|
91535
|
-
_defineProperty$
|
91536
|
-
_defineProperty$
|
91539
|
+
_defineProperty$n(this, "center", void 0);
|
91540
|
+
_defineProperty$n(this, "radius", void 0);
|
91537
91541
|
this.radius = -0;
|
91538
91542
|
this.center = new Vector3();
|
91539
91543
|
this.fromCenterRadius(center2, radius2);
|
@@ -91631,8 +91635,8 @@ const MATRIX3 = {
|
|
91631
91635
|
};
|
91632
91636
|
class OrientedBoundingBox {
|
91633
91637
|
constructor(center2 = [0, 0, 0], halfAxes = [0, 0, 0, 0, 0, 0, 0, 0, 0]) {
|
91634
|
-
_defineProperty$
|
91635
|
-
_defineProperty$
|
91638
|
+
_defineProperty$n(this, "center", void 0);
|
91639
|
+
_defineProperty$n(this, "halfAxes", void 0);
|
91636
91640
|
this.center = new Vector3().from(center2);
|
91637
91641
|
this.halfAxes = new Matrix3(halfAxes);
|
91638
91642
|
}
|
@@ -91801,8 +91805,8 @@ const scratchPosition$2 = new Vector3();
|
|
91801
91805
|
const scratchNormal$2 = new Vector3();
|
91802
91806
|
class Plane {
|
91803
91807
|
constructor(normal = [0, 0, 1], distance2 = 0) {
|
91804
|
-
_defineProperty$
|
91805
|
-
_defineProperty$
|
91808
|
+
_defineProperty$n(this, "normal", void 0);
|
91809
|
+
_defineProperty$n(this, "distance", void 0);
|
91806
91810
|
this.normal = new Vector3();
|
91807
91811
|
this.distance = -0;
|
91808
91812
|
this.fromNormalDistance(normal, distance2);
|
@@ -91853,7 +91857,7 @@ const scratchPlaneNormal = new Vector3();
|
|
91853
91857
|
new Plane(new Vector3(1, 0, 0), 0);
|
91854
91858
|
class CullingVolume {
|
91855
91859
|
constructor(planes = []) {
|
91856
|
-
_defineProperty$
|
91860
|
+
_defineProperty$n(this, "planes", void 0);
|
91857
91861
|
this.planes = planes;
|
91858
91862
|
}
|
91859
91863
|
fromBoundingSphere(boundingSphere) {
|
@@ -91918,9 +91922,9 @@ class CullingVolume {
|
|
91918
91922
|
return mask2;
|
91919
91923
|
}
|
91920
91924
|
}
|
91921
|
-
_defineProperty$
|
91922
|
-
_defineProperty$
|
91923
|
-
_defineProperty$
|
91925
|
+
_defineProperty$n(CullingVolume, "MASK_OUTSIDE", 4294967295);
|
91926
|
+
_defineProperty$n(CullingVolume, "MASK_INSIDE", 0);
|
91927
|
+
_defineProperty$n(CullingVolume, "MASK_INDETERMINATE", 2147483647);
|
91924
91928
|
new Vector3();
|
91925
91929
|
new Vector3();
|
91926
91930
|
new Vector3();
|
@@ -107687,9 +107691,9 @@ const DRACO_DATA_TYPE_TO_TYPED_ARRAY_MAP = {
|
|
107687
107691
|
const INDEX_ITEM_SIZE = 4;
|
107688
107692
|
class DracoParser {
|
107689
107693
|
constructor(draco) {
|
107690
|
-
_defineProperty$
|
107691
|
-
_defineProperty$
|
107692
|
-
_defineProperty$
|
107694
|
+
_defineProperty$n(this, "draco", void 0);
|
107695
|
+
_defineProperty$n(this, "decoder", void 0);
|
107696
|
+
_defineProperty$n(this, "metadataQuerier", void 0);
|
107693
107697
|
this.draco = draco;
|
107694
107698
|
this.decoder = new this.draco.Decoder();
|
107695
107699
|
this.metadataQuerier = new this.draco.MetadataQuerier();
|
@@ -109951,15 +109955,15 @@ const scratchHeight = new Vector3();
|
|
109951
109955
|
const scratchCartesian = new Vector3();
|
109952
109956
|
class Ellipsoid {
|
109953
109957
|
constructor(x2 = 0, y2 = 0, z2 = 0) {
|
109954
|
-
_defineProperty$
|
109955
|
-
_defineProperty$
|
109956
|
-
_defineProperty$
|
109957
|
-
_defineProperty$
|
109958
|
-
_defineProperty$
|
109959
|
-
_defineProperty$
|
109960
|
-
_defineProperty$
|
109961
|
-
_defineProperty$
|
109962
|
-
_defineProperty$
|
109958
|
+
_defineProperty$n(this, "radii", void 0);
|
109959
|
+
_defineProperty$n(this, "radiiSquared", void 0);
|
109960
|
+
_defineProperty$n(this, "radiiToTheFourth", void 0);
|
109961
|
+
_defineProperty$n(this, "oneOverRadii", void 0);
|
109962
|
+
_defineProperty$n(this, "oneOverRadiiSquared", void 0);
|
109963
|
+
_defineProperty$n(this, "minimumRadius", void 0);
|
109964
|
+
_defineProperty$n(this, "maximumRadius", void 0);
|
109965
|
+
_defineProperty$n(this, "centerToleranceSquared", _MathUtils.EPSILON1);
|
109966
|
+
_defineProperty$n(this, "squaredXOverSquaredZ", void 0);
|
109963
109967
|
assert$7(x2 >= 0);
|
109964
109968
|
assert$7(y2 >= 0);
|
109965
109969
|
assert$7(z2 >= 0);
|
@@ -110056,7 +110060,7 @@ class Ellipsoid {
|
|
110056
110060
|
return scratchPosition$1.set(0, 0, z2).to(result);
|
110057
110061
|
}
|
110058
110062
|
}
|
110059
|
-
_defineProperty$
|
110063
|
+
_defineProperty$n(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
|
110060
110064
|
class DoublyLinkedListNode {
|
110061
110065
|
constructor(item, previous, next3) {
|
110062
110066
|
_defineProperty$n(this, "item", void 0);
|
@@ -120451,13 +120455,13 @@ var shams$1 = function hasSymbols() {
|
|
120451
120455
|
}
|
120452
120456
|
return true;
|
120453
120457
|
};
|
120454
|
-
var hasSymbols$
|
120458
|
+
var hasSymbols$3 = shams$1;
|
120455
120459
|
var shams = function hasToStringTagShams() {
|
120456
|
-
return hasSymbols$
|
120460
|
+
return hasSymbols$3() && !!Symbol.toStringTag;
|
120457
120461
|
};
|
120458
120462
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
120459
120463
|
var hasSymbolSham = shams$1;
|
120460
|
-
var hasSymbols$
|
120464
|
+
var hasSymbols$2 = function hasNativeSymbols() {
|
120461
120465
|
if (typeof origSymbol !== "function") {
|
120462
120466
|
return false;
|
120463
120467
|
}
|
@@ -120472,6 +120476,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
|
|
120472
120476
|
}
|
120473
120477
|
return hasSymbolSham();
|
120474
120478
|
};
|
120479
|
+
var test$1 = {
|
120480
|
+
foo: {}
|
120481
|
+
};
|
120482
|
+
var $Object = Object;
|
120483
|
+
var hasProto$1 = function hasProto() {
|
120484
|
+
return { __proto__: test$1 }.foo === test$1.foo && !({ __proto__: null } instanceof $Object);
|
120485
|
+
};
|
120475
120486
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
120476
120487
|
var slice$4 = Array.prototype.slice;
|
120477
120488
|
var toStr$2 = Object.prototype.toString;
|
@@ -120517,374 +120528,8 @@ var implementation$7 = function bind2(that2) {
|
|
120517
120528
|
};
|
120518
120529
|
var implementation$6 = implementation$7;
|
120519
120530
|
var functionBind = Function.prototype.bind || implementation$6;
|
120520
|
-
var bind$4 = functionBind;
|
120521
|
-
var src = bind$4.call(Function.call, Object.prototype.hasOwnProperty);
|
120522
|
-
var undefined$3;
|
120523
|
-
var $SyntaxError$1 = SyntaxError;
|
120524
|
-
var $Function$1 = Function;
|
120525
|
-
var $TypeError$1 = TypeError;
|
120526
|
-
var getEvalledConstructor$1 = function(expressionSyntax) {
|
120527
|
-
try {
|
120528
|
-
return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
120529
|
-
} catch (e3) {
|
120530
|
-
}
|
120531
|
-
};
|
120532
|
-
var $gOPD$2 = Object.getOwnPropertyDescriptor;
|
120533
|
-
if ($gOPD$2) {
|
120534
|
-
try {
|
120535
|
-
$gOPD$2({}, "");
|
120536
|
-
} catch (e3) {
|
120537
|
-
$gOPD$2 = null;
|
120538
|
-
}
|
120539
|
-
}
|
120540
|
-
var throwTypeError$1 = function() {
|
120541
|
-
throw new $TypeError$1();
|
120542
|
-
};
|
120543
|
-
var ThrowTypeError$1 = $gOPD$2 ? function() {
|
120544
|
-
try {
|
120545
|
-
arguments.callee;
|
120546
|
-
return throwTypeError$1;
|
120547
|
-
} catch (calleeThrows) {
|
120548
|
-
try {
|
120549
|
-
return $gOPD$2(arguments, "callee").get;
|
120550
|
-
} catch (gOPDthrows) {
|
120551
|
-
return throwTypeError$1;
|
120552
|
-
}
|
120553
|
-
}
|
120554
|
-
}() : throwTypeError$1;
|
120555
|
-
var hasSymbols$2 = hasSymbols$3();
|
120556
|
-
var getProto$3 = Object.getPrototypeOf || function(x2) {
|
120557
|
-
return x2.__proto__;
|
120558
|
-
};
|
120559
|
-
var needsEval$1 = {};
|
120560
|
-
var TypedArray$2 = typeof Uint8Array === "undefined" ? undefined$3 : getProto$3(Uint8Array);
|
120561
|
-
var INTRINSICS$1 = {
|
120562
|
-
"%AggregateError%": typeof AggregateError === "undefined" ? undefined$3 : AggregateError,
|
120563
|
-
"%Array%": Array,
|
120564
|
-
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$3 : ArrayBuffer,
|
120565
|
-
"%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$3([][Symbol.iterator]()) : undefined$3,
|
120566
|
-
"%AsyncFromSyncIteratorPrototype%": undefined$3,
|
120567
|
-
"%AsyncFunction%": needsEval$1,
|
120568
|
-
"%AsyncGenerator%": needsEval$1,
|
120569
|
-
"%AsyncGeneratorFunction%": needsEval$1,
|
120570
|
-
"%AsyncIteratorPrototype%": needsEval$1,
|
120571
|
-
"%Atomics%": typeof Atomics === "undefined" ? undefined$3 : Atomics,
|
120572
|
-
"%BigInt%": typeof BigInt === "undefined" ? undefined$3 : BigInt,
|
120573
|
-
"%Boolean%": Boolean,
|
120574
|
-
"%DataView%": typeof DataView === "undefined" ? undefined$3 : DataView,
|
120575
|
-
"%Date%": Date,
|
120576
|
-
"%decodeURI%": decodeURI,
|
120577
|
-
"%decodeURIComponent%": decodeURIComponent,
|
120578
|
-
"%encodeURI%": encodeURI,
|
120579
|
-
"%encodeURIComponent%": encodeURIComponent,
|
120580
|
-
"%Error%": Error,
|
120581
|
-
"%eval%": eval,
|
120582
|
-
// eslint-disable-line no-eval
|
120583
|
-
"%EvalError%": EvalError,
|
120584
|
-
"%Float32Array%": typeof Float32Array === "undefined" ? undefined$3 : Float32Array,
|
120585
|
-
"%Float64Array%": typeof Float64Array === "undefined" ? undefined$3 : Float64Array,
|
120586
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$3 : FinalizationRegistry,
|
120587
|
-
"%Function%": $Function$1,
|
120588
|
-
"%GeneratorFunction%": needsEval$1,
|
120589
|
-
"%Int8Array%": typeof Int8Array === "undefined" ? undefined$3 : Int8Array,
|
120590
|
-
"%Int16Array%": typeof Int16Array === "undefined" ? undefined$3 : Int16Array,
|
120591
|
-
"%Int32Array%": typeof Int32Array === "undefined" ? undefined$3 : Int32Array,
|
120592
|
-
"%isFinite%": isFinite,
|
120593
|
-
"%isNaN%": isNaN,
|
120594
|
-
"%IteratorPrototype%": hasSymbols$2 ? getProto$3(getProto$3([][Symbol.iterator]())) : undefined$3,
|
120595
|
-
"%JSON%": typeof JSON === "object" ? JSON : undefined$3,
|
120596
|
-
"%Map%": typeof Map === "undefined" ? undefined$3 : Map,
|
120597
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$3 : getProto$3((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
120598
|
-
"%Math%": Math,
|
120599
|
-
"%Number%": Number,
|
120600
|
-
"%Object%": Object,
|
120601
|
-
"%parseFloat%": parseFloat,
|
120602
|
-
"%parseInt%": parseInt,
|
120603
|
-
"%Promise%": typeof Promise === "undefined" ? undefined$3 : Promise,
|
120604
|
-
"%Proxy%": typeof Proxy === "undefined" ? undefined$3 : Proxy,
|
120605
|
-
"%RangeError%": RangeError,
|
120606
|
-
"%ReferenceError%": ReferenceError,
|
120607
|
-
"%Reflect%": typeof Reflect === "undefined" ? undefined$3 : Reflect,
|
120608
|
-
"%RegExp%": RegExp,
|
120609
|
-
"%Set%": typeof Set === "undefined" ? undefined$3 : Set,
|
120610
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$3 : getProto$3((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
120611
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$3 : SharedArrayBuffer,
|
120612
|
-
"%String%": String,
|
120613
|
-
"%StringIteratorPrototype%": hasSymbols$2 ? getProto$3(""[Symbol.iterator]()) : undefined$3,
|
120614
|
-
"%Symbol%": hasSymbols$2 ? Symbol : undefined$3,
|
120615
|
-
"%SyntaxError%": $SyntaxError$1,
|
120616
|
-
"%ThrowTypeError%": ThrowTypeError$1,
|
120617
|
-
"%TypedArray%": TypedArray$2,
|
120618
|
-
"%TypeError%": $TypeError$1,
|
120619
|
-
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$3 : Uint8Array,
|
120620
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$3 : Uint8ClampedArray,
|
120621
|
-
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$3 : Uint16Array,
|
120622
|
-
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$3 : Uint32Array,
|
120623
|
-
"%URIError%": URIError,
|
120624
|
-
"%WeakMap%": typeof WeakMap === "undefined" ? undefined$3 : WeakMap,
|
120625
|
-
"%WeakRef%": typeof WeakRef === "undefined" ? undefined$3 : WeakRef,
|
120626
|
-
"%WeakSet%": typeof WeakSet === "undefined" ? undefined$3 : WeakSet
|
120627
|
-
};
|
120628
|
-
var doEval$1 = function doEval(name2) {
|
120629
|
-
var value2;
|
120630
|
-
if (name2 === "%AsyncFunction%") {
|
120631
|
-
value2 = getEvalledConstructor$1("async function () {}");
|
120632
|
-
} else if (name2 === "%GeneratorFunction%") {
|
120633
|
-
value2 = getEvalledConstructor$1("function* () {}");
|
120634
|
-
} else if (name2 === "%AsyncGeneratorFunction%") {
|
120635
|
-
value2 = getEvalledConstructor$1("async function* () {}");
|
120636
|
-
} else if (name2 === "%AsyncGenerator%") {
|
120637
|
-
var fn = doEval("%AsyncGeneratorFunction%");
|
120638
|
-
if (fn) {
|
120639
|
-
value2 = fn.prototype;
|
120640
|
-
}
|
120641
|
-
} else if (name2 === "%AsyncIteratorPrototype%") {
|
120642
|
-
var gen = doEval("%AsyncGenerator%");
|
120643
|
-
if (gen) {
|
120644
|
-
value2 = getProto$3(gen.prototype);
|
120645
|
-
}
|
120646
|
-
}
|
120647
|
-
INTRINSICS$1[name2] = value2;
|
120648
|
-
return value2;
|
120649
|
-
};
|
120650
|
-
var LEGACY_ALIASES$1 = {
|
120651
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
120652
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
120653
|
-
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
120654
|
-
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
120655
|
-
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
120656
|
-
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
120657
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
120658
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
120659
|
-
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
120660
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
120661
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
120662
|
-
"%DatePrototype%": ["Date", "prototype"],
|
120663
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
120664
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
120665
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
120666
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
120667
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
120668
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
120669
|
-
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
120670
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
120671
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
120672
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
120673
|
-
"%JSONParse%": ["JSON", "parse"],
|
120674
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
120675
|
-
"%MapPrototype%": ["Map", "prototype"],
|
120676
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
120677
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
120678
|
-
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
120679
|
-
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
120680
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
120681
|
-
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
120682
|
-
"%Promise_all%": ["Promise", "all"],
|
120683
|
-
"%Promise_reject%": ["Promise", "reject"],
|
120684
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
120685
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
120686
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
120687
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
120688
|
-
"%SetPrototype%": ["Set", "prototype"],
|
120689
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
120690
|
-
"%StringPrototype%": ["String", "prototype"],
|
120691
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
120692
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
120693
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
120694
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
120695
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
120696
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
120697
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
120698
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
120699
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
120700
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
120701
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
120702
|
-
};
|
120703
120531
|
var bind$3 = functionBind;
|
120704
|
-
var
|
120705
|
-
var $concat$1 = bind$3.call(Function.call, Array.prototype.concat);
|
120706
|
-
var $spliceApply$1 = bind$3.call(Function.apply, Array.prototype.splice);
|
120707
|
-
var $replace$1 = bind$3.call(Function.call, String.prototype.replace);
|
120708
|
-
var $strSlice$1 = bind$3.call(Function.call, String.prototype.slice);
|
120709
|
-
var $exec$2 = bind$3.call(Function.call, RegExp.prototype.exec);
|
120710
|
-
var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
120711
|
-
var reEscapeChar$1 = /\\(\\)?/g;
|
120712
|
-
var stringToPath$1 = function stringToPath(string2) {
|
120713
|
-
var first = $strSlice$1(string2, 0, 1);
|
120714
|
-
var last = $strSlice$1(string2, -1);
|
120715
|
-
if (first === "%" && last !== "%") {
|
120716
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
|
120717
|
-
} else if (last === "%" && first !== "%") {
|
120718
|
-
throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
|
120719
|
-
}
|
120720
|
-
var result = [];
|
120721
|
-
$replace$1(string2, rePropName$1, function(match2, number2, quote, subString) {
|
120722
|
-
result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match2;
|
120723
|
-
});
|
120724
|
-
return result;
|
120725
|
-
};
|
120726
|
-
var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
|
120727
|
-
var intrinsicName = name2;
|
120728
|
-
var alias;
|
120729
|
-
if (hasOwn$2(LEGACY_ALIASES$1, intrinsicName)) {
|
120730
|
-
alias = LEGACY_ALIASES$1[intrinsicName];
|
120731
|
-
intrinsicName = "%" + alias[0] + "%";
|
120732
|
-
}
|
120733
|
-
if (hasOwn$2(INTRINSICS$1, intrinsicName)) {
|
120734
|
-
var value2 = INTRINSICS$1[intrinsicName];
|
120735
|
-
if (value2 === needsEval$1) {
|
120736
|
-
value2 = doEval$1(intrinsicName);
|
120737
|
-
}
|
120738
|
-
if (typeof value2 === "undefined" && !allowMissing) {
|
120739
|
-
throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
120740
|
-
}
|
120741
|
-
return {
|
120742
|
-
alias,
|
120743
|
-
name: intrinsicName,
|
120744
|
-
value: value2
|
120745
|
-
};
|
120746
|
-
}
|
120747
|
-
throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
|
120748
|
-
};
|
120749
|
-
var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
|
120750
|
-
if (typeof name2 !== "string" || name2.length === 0) {
|
120751
|
-
throw new $TypeError$1("intrinsic name must be a non-empty string");
|
120752
|
-
}
|
120753
|
-
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
120754
|
-
throw new $TypeError$1('"allowMissing" argument must be a boolean');
|
120755
|
-
}
|
120756
|
-
if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
|
120757
|
-
throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
120758
|
-
}
|
120759
|
-
var parts = stringToPath$1(name2);
|
120760
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
120761
|
-
var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
|
120762
|
-
var intrinsicRealName = intrinsic.name;
|
120763
|
-
var value2 = intrinsic.value;
|
120764
|
-
var skipFurtherCaching = false;
|
120765
|
-
var alias = intrinsic.alias;
|
120766
|
-
if (alias) {
|
120767
|
-
intrinsicBaseName = alias[0];
|
120768
|
-
$spliceApply$1(parts, $concat$1([0, 1], alias));
|
120769
|
-
}
|
120770
|
-
for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
|
120771
|
-
var part = parts[i2];
|
120772
|
-
var first = $strSlice$1(part, 0, 1);
|
120773
|
-
var last = $strSlice$1(part, -1);
|
120774
|
-
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
120775
|
-
throw new $SyntaxError$1("property names with quotes must have matching quotes");
|
120776
|
-
}
|
120777
|
-
if (part === "constructor" || !isOwn) {
|
120778
|
-
skipFurtherCaching = true;
|
120779
|
-
}
|
120780
|
-
intrinsicBaseName += "." + part;
|
120781
|
-
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
120782
|
-
if (hasOwn$2(INTRINSICS$1, intrinsicRealName)) {
|
120783
|
-
value2 = INTRINSICS$1[intrinsicRealName];
|
120784
|
-
} else if (value2 != null) {
|
120785
|
-
if (!(part in value2)) {
|
120786
|
-
if (!allowMissing) {
|
120787
|
-
throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
|
120788
|
-
}
|
120789
|
-
return void 0;
|
120790
|
-
}
|
120791
|
-
if ($gOPD$2 && i2 + 1 >= parts.length) {
|
120792
|
-
var desc = $gOPD$2(value2, part);
|
120793
|
-
isOwn = !!desc;
|
120794
|
-
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
120795
|
-
value2 = desc.get;
|
120796
|
-
} else {
|
120797
|
-
value2 = value2[part];
|
120798
|
-
}
|
120799
|
-
} else {
|
120800
|
-
isOwn = hasOwn$2(value2, part);
|
120801
|
-
value2 = value2[part];
|
120802
|
-
}
|
120803
|
-
if (isOwn && !skipFurtherCaching) {
|
120804
|
-
INTRINSICS$1[intrinsicRealName] = value2;
|
120805
|
-
}
|
120806
|
-
}
|
120807
|
-
}
|
120808
|
-
return value2;
|
120809
|
-
};
|
120810
|
-
var callBind$3 = { exports: {} };
|
120811
|
-
(function(module2) {
|
120812
|
-
var bind4 = functionBind;
|
120813
|
-
var GetIntrinsic4 = getIntrinsic$1;
|
120814
|
-
var $apply = GetIntrinsic4("%Function.prototype.apply%");
|
120815
|
-
var $call = GetIntrinsic4("%Function.prototype.call%");
|
120816
|
-
var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
|
120817
|
-
var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
|
120818
|
-
var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
|
120819
|
-
var $max = GetIntrinsic4("%Math.max%");
|
120820
|
-
if ($defineProperty2) {
|
120821
|
-
try {
|
120822
|
-
$defineProperty2({}, "a", { value: 1 });
|
120823
|
-
} catch (e3) {
|
120824
|
-
$defineProperty2 = null;
|
120825
|
-
}
|
120826
|
-
}
|
120827
|
-
module2.exports = function callBind2(originalFunction) {
|
120828
|
-
var func = $reflectApply(bind4, $call, arguments);
|
120829
|
-
if ($gOPD2 && $defineProperty2) {
|
120830
|
-
var desc = $gOPD2(func, "length");
|
120831
|
-
if (desc.configurable) {
|
120832
|
-
$defineProperty2(
|
120833
|
-
func,
|
120834
|
-
"length",
|
120835
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
120836
|
-
);
|
120837
|
-
}
|
120838
|
-
}
|
120839
|
-
return func;
|
120840
|
-
};
|
120841
|
-
var applyBind = function applyBind2() {
|
120842
|
-
return $reflectApply(bind4, $apply, arguments);
|
120843
|
-
};
|
120844
|
-
if ($defineProperty2) {
|
120845
|
-
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
120846
|
-
} else {
|
120847
|
-
module2.exports.apply = applyBind;
|
120848
|
-
}
|
120849
|
-
})(callBind$3);
|
120850
|
-
var callBindExports = callBind$3.exports;
|
120851
|
-
var GetIntrinsic$1 = getIntrinsic$1;
|
120852
|
-
var callBind$2 = callBindExports;
|
120853
|
-
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
120854
|
-
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
120855
|
-
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
120856
|
-
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
120857
|
-
return callBind$2(intrinsic);
|
120858
|
-
}
|
120859
|
-
return intrinsic;
|
120860
|
-
};
|
120861
|
-
var hasToStringTag$2 = shams();
|
120862
|
-
var callBound$1 = callBound$2;
|
120863
|
-
var $toString$1 = callBound$1("Object.prototype.toString");
|
120864
|
-
var isStandardArguments = function isArguments2(value2) {
|
120865
|
-
if (hasToStringTag$2 && value2 && typeof value2 === "object" && Symbol.toStringTag in value2) {
|
120866
|
-
return false;
|
120867
|
-
}
|
120868
|
-
return $toString$1(value2) === "[object Arguments]";
|
120869
|
-
};
|
120870
|
-
var isLegacyArguments = function isArguments3(value2) {
|
120871
|
-
if (isStandardArguments(value2)) {
|
120872
|
-
return true;
|
120873
|
-
}
|
120874
|
-
return value2 !== null && typeof value2 === "object" && typeof value2.length === "number" && value2.length >= 0 && $toString$1(value2) !== "[object Array]" && $toString$1(value2.callee) === "[object Function]";
|
120875
|
-
};
|
120876
|
-
var supportsStandardArguments = function() {
|
120877
|
-
return isStandardArguments(arguments);
|
120878
|
-
}();
|
120879
|
-
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
120880
|
-
var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
120881
|
-
var test$1 = {
|
120882
|
-
foo: {}
|
120883
|
-
};
|
120884
|
-
var $Object = Object;
|
120885
|
-
var hasProto$1 = function hasProto() {
|
120886
|
-
return { __proto__: test$1 }.foo === test$1.foo && !({ __proto__: null } instanceof $Object);
|
120887
|
-
};
|
120532
|
+
var src = bind$3.call(Function.call, Object.prototype.hasOwnProperty);
|
120888
120533
|
var undefined$2;
|
120889
120534
|
var $SyntaxError = SyntaxError;
|
120890
120535
|
var $Function = Function;
|
@@ -120918,7 +120563,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
|
|
120918
120563
|
}
|
120919
120564
|
}
|
120920
120565
|
}() : throwTypeError;
|
120921
|
-
var hasSymbols$1 = hasSymbols$
|
120566
|
+
var hasSymbols$1 = hasSymbols$2();
|
120922
120567
|
var hasProto2 = hasProto$1();
|
120923
120568
|
var getProto$2 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
|
120924
120569
|
return x2.__proto__;
|
@@ -121002,7 +120647,7 @@ if (getProto$2) {
|
|
121002
120647
|
INTRINSICS["%Error.prototype%"] = errorProto;
|
121003
120648
|
}
|
121004
120649
|
}
|
121005
|
-
var
|
120650
|
+
var doEval = function doEval2(name2) {
|
121006
120651
|
var value2;
|
121007
120652
|
if (name2 === "%AsyncFunction%") {
|
121008
120653
|
value2 = getEvalledConstructor("async function () {}");
|
@@ -121011,12 +120656,12 @@ var doEval2 = function doEval3(name2) {
|
|
121011
120656
|
} else if (name2 === "%AsyncGeneratorFunction%") {
|
121012
120657
|
value2 = getEvalledConstructor("async function* () {}");
|
121013
120658
|
} else if (name2 === "%AsyncGenerator%") {
|
121014
|
-
var fn =
|
120659
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
121015
120660
|
if (fn) {
|
121016
120661
|
value2 = fn.prototype;
|
121017
120662
|
}
|
121018
120663
|
} else if (name2 === "%AsyncIteratorPrototype%") {
|
121019
|
-
var gen =
|
120664
|
+
var gen = doEval2("%AsyncGenerator%");
|
121020
120665
|
if (gen && getProto$2) {
|
121021
120666
|
value2 = getProto$2(gen.prototype);
|
121022
120667
|
}
|
@@ -121086,7 +120731,7 @@ var $strSlice = bind$2.call(Function.call, String.prototype.slice);
|
|
121086
120731
|
var $exec$1 = bind$2.call(Function.call, RegExp.prototype.exec);
|
121087
120732
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
121088
120733
|
var reEscapeChar = /\\(\\)?/g;
|
121089
|
-
var
|
120734
|
+
var stringToPath = function stringToPath2(string2) {
|
121090
120735
|
var first = $strSlice(string2, 0, 1);
|
121091
120736
|
var last = $strSlice(string2, -1);
|
121092
120737
|
if (first === "%" && last !== "%") {
|
@@ -121100,7 +120745,7 @@ var stringToPath2 = function stringToPath3(string2) {
|
|
121100
120745
|
});
|
121101
120746
|
return result;
|
121102
120747
|
};
|
121103
|
-
var
|
120748
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
|
121104
120749
|
var intrinsicName = name2;
|
121105
120750
|
var alias;
|
121106
120751
|
if (hasOwn$1(LEGACY_ALIASES, intrinsicName)) {
|
@@ -121110,7 +120755,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
121110
120755
|
if (hasOwn$1(INTRINSICS, intrinsicName)) {
|
121111
120756
|
var value2 = INTRINSICS[intrinsicName];
|
121112
120757
|
if (value2 === needsEval) {
|
121113
|
-
value2 =
|
120758
|
+
value2 = doEval(intrinsicName);
|
121114
120759
|
}
|
121115
120760
|
if (typeof value2 === "undefined" && !allowMissing) {
|
121116
120761
|
throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
|
@@ -121123,7 +120768,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
|
|
121123
120768
|
}
|
121124
120769
|
throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
|
121125
120770
|
};
|
121126
|
-
var getIntrinsic = function
|
120771
|
+
var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
|
121127
120772
|
if (typeof name2 !== "string" || name2.length === 0) {
|
121128
120773
|
throw new $TypeError("intrinsic name must be a non-empty string");
|
121129
120774
|
}
|
@@ -121133,9 +120778,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
121133
120778
|
if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
|
121134
120779
|
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
121135
120780
|
}
|
121136
|
-
var parts =
|
120781
|
+
var parts = stringToPath(name2);
|
121137
120782
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
121138
|
-
var intrinsic =
|
120783
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
121139
120784
|
var intrinsicRealName = intrinsic.name;
|
121140
120785
|
var value2 = intrinsic.value;
|
121141
120786
|
var skipFurtherCaching = false;
|
@@ -121184,8 +120829,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
|
|
121184
120829
|
}
|
121185
120830
|
return value2;
|
121186
120831
|
};
|
121187
|
-
var
|
121188
|
-
|
120832
|
+
var callBind$3 = { exports: {} };
|
120833
|
+
(function(module2) {
|
120834
|
+
var bind4 = functionBind;
|
120835
|
+
var GetIntrinsic3 = getIntrinsic;
|
120836
|
+
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
120837
|
+
var $call = GetIntrinsic3("%Function.prototype.call%");
|
120838
|
+
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
|
120839
|
+
var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
|
120840
|
+
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
|
120841
|
+
var $max = GetIntrinsic3("%Math.max%");
|
120842
|
+
if ($defineProperty2) {
|
120843
|
+
try {
|
120844
|
+
$defineProperty2({}, "a", { value: 1 });
|
120845
|
+
} catch (e3) {
|
120846
|
+
$defineProperty2 = null;
|
120847
|
+
}
|
120848
|
+
}
|
120849
|
+
module2.exports = function callBind2(originalFunction) {
|
120850
|
+
var func = $reflectApply(bind4, $call, arguments);
|
120851
|
+
if ($gOPD2 && $defineProperty2) {
|
120852
|
+
var desc = $gOPD2(func, "length");
|
120853
|
+
if (desc.configurable) {
|
120854
|
+
$defineProperty2(
|
120855
|
+
func,
|
120856
|
+
"length",
|
120857
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
120858
|
+
);
|
120859
|
+
}
|
120860
|
+
}
|
120861
|
+
return func;
|
120862
|
+
};
|
120863
|
+
var applyBind = function applyBind2() {
|
120864
|
+
return $reflectApply(bind4, $apply, arguments);
|
120865
|
+
};
|
120866
|
+
if ($defineProperty2) {
|
120867
|
+
$defineProperty2(module2.exports, "apply", { value: applyBind });
|
120868
|
+
} else {
|
120869
|
+
module2.exports.apply = applyBind;
|
120870
|
+
}
|
120871
|
+
})(callBind$3);
|
120872
|
+
var callBindExports = callBind$3.exports;
|
120873
|
+
var GetIntrinsic$1 = getIntrinsic;
|
120874
|
+
var callBind$2 = callBindExports;
|
120875
|
+
var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
|
120876
|
+
var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
|
120877
|
+
var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
|
120878
|
+
if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
|
120879
|
+
return callBind$2(intrinsic);
|
120880
|
+
}
|
120881
|
+
return intrinsic;
|
120882
|
+
};
|
120883
|
+
var hasToStringTag$2 = shams();
|
120884
|
+
var callBound$1 = callBound$2;
|
120885
|
+
var $toString$1 = callBound$1("Object.prototype.toString");
|
120886
|
+
var isStandardArguments = function isArguments2(value2) {
|
120887
|
+
if (hasToStringTag$2 && value2 && typeof value2 === "object" && Symbol.toStringTag in value2) {
|
120888
|
+
return false;
|
120889
|
+
}
|
120890
|
+
return $toString$1(value2) === "[object Arguments]";
|
120891
|
+
};
|
120892
|
+
var isLegacyArguments = function isArguments3(value2) {
|
120893
|
+
if (isStandardArguments(value2)) {
|
120894
|
+
return true;
|
120895
|
+
}
|
120896
|
+
return value2 !== null && typeof value2 === "object" && typeof value2.length === "number" && value2.length >= 0 && $toString$1(value2) !== "[object Array]" && $toString$1(value2.callee) === "[object Function]";
|
120897
|
+
};
|
120898
|
+
var supportsStandardArguments = function() {
|
120899
|
+
return isStandardArguments(arguments);
|
120900
|
+
}();
|
120901
|
+
isStandardArguments.isLegacyArguments = isLegacyArguments;
|
120902
|
+
var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
120903
|
+
var GetIntrinsic2 = getIntrinsic;
|
120904
|
+
var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
|
121189
120905
|
var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
|
121190
120906
|
if ($defineProperty) {
|
121191
120907
|
try {
|
@@ -155471,16 +155187,16 @@ async function getDecoder(fileDirectory) {
|
|
155471
155187
|
const Decoder = await importFn();
|
155472
155188
|
return new Decoder(fileDirectory);
|
155473
155189
|
}
|
155474
|
-
addDecoder([void 0, 1], () => import("./raw-
|
155475
|
-
addDecoder(5, () => import("./lzw-
|
155190
|
+
addDecoder([void 0, 1], () => import("./raw-90cab418.js").then((m2) => m2.default));
|
155191
|
+
addDecoder(5, () => import("./lzw-e2d5a7f6.js").then((m2) => m2.default));
|
155476
155192
|
addDecoder(6, () => {
|
155477
155193
|
throw new Error("old style JPEG compression is not supported.");
|
155478
155194
|
});
|
155479
|
-
addDecoder(7, () => import("./jpeg-
|
155480
|
-
addDecoder([8, 32946], () => import("./deflate-
|
155481
|
-
addDecoder(32773, () => import("./packbits-
|
155482
|
-
addDecoder(34887, () => import("./lerc-
|
155483
|
-
addDecoder(50001, () => import("./webimage-
|
155195
|
+
addDecoder(7, () => import("./jpeg-d5225556.js").then((m2) => m2.default));
|
155196
|
+
addDecoder([8, 32946], () => import("./deflate-c18e8d14.js").then((m2) => m2.default));
|
155197
|
+
addDecoder(32773, () => import("./packbits-b6a798a9.js").then((m2) => m2.default));
|
155198
|
+
addDecoder(34887, () => import("./lerc-e2ffe296.js").then((m2) => m2.default));
|
155199
|
+
addDecoder(50001, () => import("./webimage-ad4dfc02.js").then((m2) => m2.default));
|
155484
155200
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
155485
155201
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
155486
155202
|
}
|
@@ -172096,7 +171812,7 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
172096
171812
|
// eslint-disable-next-line consistent-return
|
172097
171813
|
onHover(info2) {
|
172098
171814
|
const { coordinate, sourceLayer: layer, tile } = info2;
|
172099
|
-
const { setCellHighlight, cellHighlight, setComponentHover, layers } = this.props;
|
171815
|
+
const { setCellHighlight, cellHighlight, setComponentHover, layers, setHoverInfo } = this.props;
|
172100
171816
|
const hasBitmask = (layers || []).some((l2) => l2.type === "bitmask");
|
172101
171817
|
if (!setCellHighlight || !tile) {
|
172102
171818
|
return null;
|
@@ -172105,6 +171821,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
172105
171821
|
if (cellHighlight && hasBitmask) {
|
172106
171822
|
setCellHighlight(null);
|
172107
171823
|
}
|
171824
|
+
if (setHoverInfo) {
|
171825
|
+
setHoverInfo(null, null);
|
171826
|
+
}
|
172108
171827
|
return null;
|
172109
171828
|
}
|
172110
171829
|
const { content: content2, bbox: bbox2, index: { z: z2 } } = tile;
|
@@ -172112,6 +171831,9 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
172112
171831
|
if (cellHighlight && hasBitmask) {
|
172113
171832
|
setCellHighlight(null);
|
172114
171833
|
}
|
171834
|
+
if (setHoverInfo) {
|
171835
|
+
setHoverInfo(null, null);
|
171836
|
+
}
|
172115
171837
|
return null;
|
172116
171838
|
}
|
172117
171839
|
const { data: data2, width: width2, height: height2 } = content2;
|
@@ -172143,6 +171865,13 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
172143
171865
|
}
|
172144
171866
|
setCellHighlight(cellId ? String(cellId) : null);
|
172145
171867
|
}
|
171868
|
+
if (setHoverInfo) {
|
171869
|
+
if (cellId) {
|
171870
|
+
setHoverInfo(hoverData, coordinate);
|
171871
|
+
} else {
|
171872
|
+
setHoverInfo(null, null);
|
171873
|
+
}
|
171874
|
+
}
|
172146
171875
|
}
|
172147
171876
|
}
|
172148
171877
|
/**
|
@@ -172157,7 +171886,8 @@ class AbstractSpatialOrScatterplot extends PureComponent {
|
|
172157
171886
|
if (updateViewInfo && viewport) {
|
172158
171887
|
updateViewInfo({
|
172159
171888
|
uuid,
|
172160
|
-
project:
|
171889
|
+
project: viewport.project,
|
171890
|
+
projectFromId: (obsId) => {
|
172161
171891
|
try {
|
172162
171892
|
if (obsIndex && obsLocations) {
|
172163
171893
|
const getObsCoords = makeGetObsCoords(obsLocations);
|
@@ -172772,7 +172502,7 @@ function ScatterplotTooltipSubscriber(props2) {
|
|
172772
172502
|
const viewInfo = useComponentViewInfo(parentUuid);
|
172773
172503
|
const [cellInfo, x2, y2] = obsHighlight && getObsInfo ? [
|
172774
172504
|
getObsInfo(obsHighlight),
|
172775
|
-
...viewInfo && viewInfo.
|
172505
|
+
...viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight) : [null, null]
|
172776
172506
|
] : [null, null, null];
|
172777
172507
|
return cellInfo ? jsxRuntimeExports.jsx(Tooltip2D, { x: x2, y: y2, parentUuid, sourceUuid, parentWidth: width2, parentHeight: height2, children: jsxRuntimeExports.jsx(TooltipContent, { info: cellInfo }) }) : null;
|
172778
172508
|
}
|
@@ -175434,7 +175164,7 @@ var config$1 = function config(options) {
|
|
175434
175164
|
}
|
175435
175165
|
return Object.freeze(DEFAULT_CONFIG);
|
175436
175166
|
};
|
175437
|
-
_extends$
|
175167
|
+
_extends$6(config$1, DEFAULT_CONFIG, {
|
175438
175168
|
MATRIX_OPTIONS,
|
175439
175169
|
NUMBER_OPTIONS
|
175440
175170
|
});
|
@@ -185204,7 +184934,7 @@ function _objectSpread$3(target2) {
|
|
185204
184934
|
var source2 = arguments[i2] != null ? arguments[i2] : {};
|
185205
184935
|
if (i2 % 2) {
|
185206
184936
|
ownKeys$3(Object(source2), true).forEach(function(key2) {
|
185207
|
-
_defineProperty$
|
184937
|
+
_defineProperty$m(target2, key2, source2[key2]);
|
185208
184938
|
});
|
185209
184939
|
} else if (Object.getOwnPropertyDescriptors) {
|
185210
184940
|
Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
|
@@ -186032,7 +185762,7 @@ function _objectSpread$2(target2) {
|
|
186032
185762
|
var source2 = arguments[i2] != null ? arguments[i2] : {};
|
186033
185763
|
if (i2 % 2) {
|
186034
185764
|
ownKeys$2(Object(source2), true).forEach(function(key2) {
|
186035
|
-
_defineProperty$
|
185765
|
+
_defineProperty$m(target2, key2, source2[key2]);
|
186036
185766
|
});
|
186037
185767
|
} else if (Object.getOwnPropertyDescriptors) {
|
186038
185768
|
Object.defineProperties(target2, Object.getOwnPropertyDescriptors(source2));
|
@@ -187438,9 +187168,9 @@ var createUnitClass = /* @__PURE__ */ factory(name$8, dependencies$7, (_ref3) =>
|
|
187438
187168
|
}
|
187439
187169
|
}
|
187440
187170
|
};
|
187441
|
-
PREFIXES.SHORTLONG = _extends$
|
187442
|
-
PREFIXES.BINARY_SHORT = _extends$
|
187443
|
-
PREFIXES.BINARY_LONG = _extends$
|
187171
|
+
PREFIXES.SHORTLONG = _extends$6({}, PREFIXES.SHORT, PREFIXES.LONG);
|
187172
|
+
PREFIXES.BINARY_SHORT = _extends$6({}, PREFIXES.BINARY_SHORT_SI, PREFIXES.BINARY_SHORT_IEC);
|
187173
|
+
PREFIXES.BINARY_LONG = _extends$6({}, PREFIXES.BINARY_LONG_SI, PREFIXES.BINARY_LONG_IEC);
|
187444
187174
|
var BASE_DIMENSIONS = ["MASS", "LENGTH", "TIME", "CURRENT", "TEMPERATURE", "LUMINOUS_INTENSITY", "AMOUNT_OF_SUBSTANCE", "ANGLE", "BIT"];
|
187445
187175
|
var BASE_UNITS = {
|
187446
187176
|
NONE: {
|
@@ -191268,13 +190998,25 @@ function SpatialOptions(props2) {
|
|
191268
190998
|
}, children: GLSL_COLORMAPS.map((cmap) => jsxRuntimeExports.jsx("option", { value: cmap, children: cmap }, cmap)) }) })] }), jsxRuntimeExports.jsxs(TableRow$1, { children: [jsxRuntimeExports.jsx(TableCell$1, { className: classes.labelCell, children: "Gene Expression Colormap Range" }), jsxRuntimeExports.jsx(TableCell$1, { className: classes.inputCell, children: jsxRuntimeExports.jsx(Slider$1, { classes: { root: classes.slider, valueLabel: classes.sliderValueLabel }, value: geneExpressionColormapRange, onChange: handleColormapRangeChangeDebounced, "aria-labelledby": "gene-expression-colormap-range-slider", valueLabelDisplay: "auto", step: 5e-3, min: 0, max: 1 }) })] })] }) : null] });
|
191269
190999
|
}
|
191270
191000
|
function SpatialTooltipSubscriber(props2) {
|
191271
|
-
const { parentUuid, obsHighlight, width: width2, height: height2, getObsInfo } = props2;
|
191001
|
+
const { parentUuid, obsHighlight, width: width2, height: height2, getObsInfo, hoverData, hoverCoord, useHoverInfoForTooltip, getObsIdFromHoverData } = props2;
|
191272
191002
|
const sourceUuid = useComponentHover();
|
191273
191003
|
const viewInfo = useComponentViewInfo(parentUuid);
|
191274
|
-
|
191275
|
-
|
191276
|
-
|
191277
|
-
|
191004
|
+
let [cellInfo, x2, y2] = [null, null, null];
|
191005
|
+
if (useHoverInfoForTooltip && getObsIdFromHoverData && hoverData && hoverCoord && parentUuid === sourceUuid) {
|
191006
|
+
const obsId = getObsIdFromHoverData(hoverData);
|
191007
|
+
if (obsId) {
|
191008
|
+
[cellInfo, x2, y2] = [
|
191009
|
+
getObsInfo(obsId),
|
191010
|
+
...viewInfo && viewInfo.project ? viewInfo.project(hoverCoord) : [null, null]
|
191011
|
+
];
|
191012
|
+
}
|
191013
|
+
} else if (!useHoverInfoForTooltip && getObsInfo && obsHighlight) {
|
191014
|
+
const obsId = obsHighlight;
|
191015
|
+
[cellInfo, x2, y2] = [
|
191016
|
+
getObsInfo(obsId),
|
191017
|
+
...viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsId) : [null, null]
|
191018
|
+
];
|
191019
|
+
}
|
191278
191020
|
return cellInfo ? jsxRuntimeExports.jsx(Tooltip2D, { x: x2, y: y2, parentUuid, sourceUuid, parentWidth: width2, parentHeight: height2, children: jsxRuntimeExports.jsx(TooltipContent, { info: cellInfo }) }) : null;
|
191279
191021
|
}
|
191280
191022
|
function SpatialSubscriber(props2) {
|
@@ -191419,6 +191161,21 @@ function SpatialSubscriber(props2) {
|
|
191419
191161
|
]);
|
191420
191162
|
const cellSelection = useMemo(() => Array.from(cellColors.keys()), [cellColors]);
|
191421
191163
|
const getObsInfo = useGetObsInfo(observationsLabel, obsLabelsTypes, obsLabelsData, obsSetsMembership);
|
191164
|
+
const [hoverData, setHoverData] = useState(null);
|
191165
|
+
const [hoverCoord, setHoverCoord] = useState(null);
|
191166
|
+
const useHoverInfoForTooltip = !obsCentroids;
|
191167
|
+
const setHoverInfo = useCallback(debounce$5((data2, coord) => {
|
191168
|
+
setHoverData(data2);
|
191169
|
+
setHoverCoord(coord);
|
191170
|
+
}, 10, { trailing: true }), [setHoverData, setHoverCoord, useHoverInfoForTooltip]);
|
191171
|
+
const getObsIdFromHoverData = useCallback((data2) => {
|
191172
|
+
if (useHoverInfoForTooltip) {
|
191173
|
+
const spatialTargetC = 0;
|
191174
|
+
const obsId = data2 == null ? void 0 : data2[spatialTargetC];
|
191175
|
+
return obsId;
|
191176
|
+
}
|
191177
|
+
return null;
|
191178
|
+
}, [useHoverInfoForTooltip]);
|
191422
191179
|
const setViewState = ({ zoom: newZoom, target: target2, rotationX: newRotationX, rotationOrbit: newRotationOrbit, orbitAxis: newOrbitAxis }) => {
|
191423
191180
|
setZoom(newZoom);
|
191424
191181
|
setTargetX(target2[0]);
|
@@ -191505,9 +191262,9 @@ function SpatialSubscriber(props2) {
|
|
191505
191262
|
rotationZ,
|
191506
191263
|
rotationOrbit,
|
191507
191264
|
orbitAxis
|
191508
|
-
}, setViewState, originalViewState, imageLayerDefs: imageLayers, obsSegmentationsLayerDefs: cellsLayer, obsLocationsLayerDefs: moleculesLayer, neighborhoodLayerDefs: neighborhoodsLayer, obsLocationsIndex, obsSegmentationsIndex, obsLocations, obsLocationsLabels, obsLocationsFeatureIndex, hasSegmentations: hasSegmentationsData, obsSegmentations, obsSegmentationsType, obsCentroids, obsCentroidsIndex, cellFilter, cellSelection, cellHighlight, cellColors, neighborhoods, imageLayerLoaders: resolutionFilteredImageLayerLoaders, setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight, setMoleculeHighlight, setComponentHover: () => {
|
191265
|
+
}, setViewState, originalViewState, imageLayerDefs: imageLayers, obsSegmentationsLayerDefs: cellsLayer, obsLocationsLayerDefs: moleculesLayer, neighborhoodLayerDefs: neighborhoodsLayer, obsLocationsIndex, obsSegmentationsIndex, obsLocations, obsLocationsLabels, obsLocationsFeatureIndex, hasSegmentations: hasSegmentationsData, obsSegmentations, obsSegmentationsType, obsCentroids, obsCentroidsIndex, cellFilter, cellSelection, cellHighlight, cellColors, neighborhoods, imageLayerLoaders: resolutionFilteredImageLayerLoaders, setCellFilter, setCellSelection: setCellSelectionProp, setCellHighlight, setHoverInfo, setMoleculeHighlight, setComponentHover: () => {
|
191509
191266
|
setComponentHover(uuid);
|
191510
|
-
}, updateViewInfo: setComponentViewInfo, imageLayerCallbacks, segmentationLayerCallbacks, spatialAxisFixed, geneExpressionColormap, geneExpressionColormapRange, expressionData: shiftedExpressionDataForBitmask, cellColorEncoding, getExpressionValue, theme, useFullResolutionImage }), tooltipsVisible && jsxRuntimeExports.jsx(SpatialTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width2, height: height2, getObsInfo }), jsxRuntimeExports.jsx(Legend, {
|
191267
|
+
}, updateViewInfo: setComponentViewInfo, imageLayerCallbacks, segmentationLayerCallbacks, spatialAxisFixed, geneExpressionColormap, geneExpressionColormapRange, expressionData: shiftedExpressionDataForBitmask, cellColorEncoding, getExpressionValue, theme, useFullResolutionImage }), tooltipsVisible && jsxRuntimeExports.jsx(SpatialTooltipSubscriber, { parentUuid: uuid, obsHighlight: cellHighlight, width: width2, height: height2, getObsInfo, useHoverInfoForTooltip, hoverData, hoverCoord, getObsIdFromHoverData }), jsxRuntimeExports.jsx(Legend, {
|
191511
191268
|
visible: true,
|
191512
191269
|
// Fix to dark theme due to black background of spatial plot.
|
191513
191270
|
theme: "dark",
|
@@ -191803,7 +191560,7 @@ const Heatmap$1 = forwardRef((props2, deckRef) => {
|
|
191803
191560
|
useEffect(() => {
|
191804
191561
|
updateViewInfo({
|
191805
191562
|
uuid,
|
191806
|
-
|
191563
|
+
projectFromId: (cellId, geneId) => {
|
191807
191564
|
const colI = transpose2 ? axisTopLabels.indexOf(cellId) : axisTopLabels.indexOf(geneId);
|
191808
191565
|
const rowI = transpose2 ? axisLeftLabels.indexOf(geneId) : axisLeftLabels.indexOf(cellId);
|
191809
191566
|
return heatmapToMousePosition(colI, rowI, {
|
@@ -192336,11 +192093,11 @@ function HeatmapTooltipSubscriber(props2) {
|
|
192336
192093
|
const viewInfo = useComponentViewInfo(parentUuid);
|
192337
192094
|
const [cellInfo, cellCoord] = obsHighlight && getObsInfo ? [
|
192338
192095
|
getObsInfo(obsHighlight),
|
192339
|
-
viewInfo && viewInfo.
|
192096
|
+
viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(obsHighlight, null)[transpose2 ? 0 : 1] : null
|
192340
192097
|
] : [null, null];
|
192341
192098
|
const [geneInfo, geneCoord] = featureHighlight && getFeatureInfo ? [
|
192342
192099
|
getFeatureInfo(featureHighlight),
|
192343
|
-
viewInfo && viewInfo.
|
192100
|
+
viewInfo && viewInfo.projectFromId ? viewInfo.projectFromId(null, featureHighlight)[transpose2 ? 1 : 0] : null
|
192344
192101
|
] : [null, null];
|
192345
192102
|
const x2 = transpose2 ? cellCoord : geneCoord;
|
192346
192103
|
const y2 = transpose2 ? geneCoord : cellCoord;
|
@@ -198540,7 +198297,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
|
|
198540
198297
|
const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
|
198541
198298
|
register({ dataFetcher: ZarrMultivecDataFetcher, config: ZarrMultivecDataFetcher.config }, { pluginType: "dataFetcher" });
|
198542
198299
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
198543
|
-
const { HiGlassComponent } = await import("./hglib-
|
198300
|
+
const { HiGlassComponent } = await import("./hglib-8b454259.js").then((n3) => n3.h);
|
198544
198301
|
return { default: HiGlassComponent };
|
198545
198302
|
});
|
198546
198303
|
const HG_SIZE = 800;
|
@@ -258167,6 +257924,16 @@ const baseJointFileTypes = [
|
|
258167
257924
|
new PluginJointFileType(FileType$1.MOLECULES_JSON, expandMoleculesJson, z.null())
|
258168
257925
|
];
|
258169
257926
|
const baseCoordinationTypes = [
|
257927
|
+
new PluginCoordinationType(
|
257928
|
+
CoordinationType$1.META_COORDINATION_SCOPES,
|
257929
|
+
null,
|
257930
|
+
z.record(z.any()).nullable()
|
257931
|
+
),
|
257932
|
+
new PluginCoordinationType(
|
257933
|
+
CoordinationType$1.META_COORDINATION_SCOPES_BY,
|
257934
|
+
null,
|
257935
|
+
z.record(z.any()).nullable()
|
257936
|
+
),
|
258170
257937
|
new PluginCoordinationType(CoordinationType$1.DATASET, null, z.string().nullable()),
|
258171
257938
|
new PluginCoordinationType(CoordinationType$1.OBS_TYPE, "cell", z.string()),
|
258172
257939
|
new PluginCoordinationType(CoordinationType$1.FEATURE_TYPE, "gene", z.string()),
|