ingred-ui 9.3.1 → 9.3.2
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/components/Select/internal/ClearIndicator/ClearIndicator.d.ts +1 -0
- package/dist/components/Select/internal/DropdownIndicator/DropdownIndicator.d.ts +1 -0
- package/dist/components/Select/internal/MultiValueRemove/MultiValueRemove.d.ts +1 -0
- package/dist/components/Toast/ToastProvider/internal/ToastContainer/styled.d.ts +1 -0
- package/dist/index.es.js +987 -1278
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +987 -1278
- package/dist/index.js.map +1 -1
- package/dist/lib/react-toast-notification/src/icons.d.ts +1 -0
- package/dist/utils/renderWithThemeProvider.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1241,8 +1241,8 @@ var Container$A = styled.div(templateObject_2$z || (templateObject_2$z = __makeT
|
|
|
1241
1241
|
});
|
|
1242
1242
|
var templateObject_1$19, templateObject_2$z;
|
|
1243
1243
|
|
|
1244
|
-
function _extends$
|
|
1245
|
-
_extends$
|
|
1244
|
+
function _extends$1() {
|
|
1245
|
+
_extends$1 = Object.assign || function (target) {
|
|
1246
1246
|
for (var i = 1; i < arguments.length; i++) {
|
|
1247
1247
|
var source = arguments[i];
|
|
1248
1248
|
|
|
@@ -1256,10 +1256,10 @@ function _extends$2() {
|
|
|
1256
1256
|
return target;
|
|
1257
1257
|
};
|
|
1258
1258
|
|
|
1259
|
-
return _extends$
|
|
1259
|
+
return _extends$1.apply(this, arguments);
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
|
-
function _objectWithoutPropertiesLoose
|
|
1262
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
1263
1263
|
if (source == null) return {};
|
|
1264
1264
|
var target = {};
|
|
1265
1265
|
var sourceKeys = Object.keys(source);
|
|
@@ -1274,19 +1274,19 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
|
1274
1274
|
return target;
|
|
1275
1275
|
}
|
|
1276
1276
|
|
|
1277
|
-
function _setPrototypeOf
|
|
1278
|
-
_setPrototypeOf
|
|
1277
|
+
function _setPrototypeOf(o, p) {
|
|
1278
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
1279
1279
|
o.__proto__ = p;
|
|
1280
1280
|
return o;
|
|
1281
1281
|
};
|
|
1282
1282
|
|
|
1283
|
-
return _setPrototypeOf
|
|
1283
|
+
return _setPrototypeOf(o, p);
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
1286
|
function _inheritsLoose(subClass, superClass) {
|
|
1287
1287
|
subClass.prototype = Object.create(superClass.prototype);
|
|
1288
1288
|
subClass.prototype.constructor = subClass;
|
|
1289
|
-
_setPrototypeOf
|
|
1289
|
+
_setPrototypeOf(subClass, superClass);
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
1292
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -1312,9 +1312,9 @@ function commonjsRequire (path) {
|
|
|
1312
1312
|
|
|
1313
1313
|
var propTypes = {exports: {}};
|
|
1314
1314
|
|
|
1315
|
-
var reactIs$
|
|
1315
|
+
var reactIs$1 = {exports: {}};
|
|
1316
1316
|
|
|
1317
|
-
var reactIs_production_min
|
|
1317
|
+
var reactIs_production_min = {};
|
|
1318
1318
|
|
|
1319
1319
|
/** @license React v16.13.1
|
|
1320
1320
|
* react-is.production.min.js
|
|
@@ -1324,14 +1324,14 @@ var reactIs_production_min$2 = {};
|
|
|
1324
1324
|
* This source code is licensed under the MIT license found in the
|
|
1325
1325
|
* LICENSE file in the root directory of this source tree.
|
|
1326
1326
|
*/
|
|
1327
|
-
var b
|
|
1328
|
-
Symbol.for("react.suspense_list"):60120,r
|
|
1329
|
-
function z
|
|
1330
|
-
reactIs_production_min
|
|
1331
|
-
reactIs_production_min
|
|
1332
|
-
reactIs_production_min
|
|
1327
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
1328
|
+
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w$1=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
1329
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
1330
|
+
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
1331
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
1332
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w$1||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
1333
1333
|
|
|
1334
|
-
var reactIs_development
|
|
1334
|
+
var reactIs_development = {};
|
|
1335
1335
|
|
|
1336
1336
|
/** @license React v16.13.1
|
|
1337
1337
|
* react-is.development.js
|
|
@@ -1481,41 +1481,41 @@ function isSuspense(object) {
|
|
|
1481
1481
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
1484
|
-
reactIs_development
|
|
1485
|
-
reactIs_development
|
|
1486
|
-
reactIs_development
|
|
1487
|
-
reactIs_development
|
|
1488
|
-
reactIs_development
|
|
1489
|
-
reactIs_development
|
|
1490
|
-
reactIs_development
|
|
1491
|
-
reactIs_development
|
|
1492
|
-
reactIs_development
|
|
1493
|
-
reactIs_development
|
|
1494
|
-
reactIs_development
|
|
1495
|
-
reactIs_development
|
|
1496
|
-
reactIs_development
|
|
1497
|
-
reactIs_development
|
|
1498
|
-
reactIs_development
|
|
1499
|
-
reactIs_development
|
|
1500
|
-
reactIs_development
|
|
1501
|
-
reactIs_development
|
|
1502
|
-
reactIs_development
|
|
1503
|
-
reactIs_development
|
|
1504
|
-
reactIs_development
|
|
1505
|
-
reactIs_development
|
|
1506
|
-
reactIs_development
|
|
1507
|
-
reactIs_development
|
|
1508
|
-
reactIs_development
|
|
1509
|
-
reactIs_development
|
|
1510
|
-
reactIs_development
|
|
1511
|
-
reactIs_development
|
|
1484
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
1485
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
1486
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1487
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
1488
|
+
reactIs_development.Element = Element;
|
|
1489
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
1490
|
+
reactIs_development.Fragment = Fragment;
|
|
1491
|
+
reactIs_development.Lazy = Lazy;
|
|
1492
|
+
reactIs_development.Memo = Memo;
|
|
1493
|
+
reactIs_development.Portal = Portal;
|
|
1494
|
+
reactIs_development.Profiler = Profiler;
|
|
1495
|
+
reactIs_development.StrictMode = StrictMode;
|
|
1496
|
+
reactIs_development.Suspense = Suspense;
|
|
1497
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1498
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1499
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1500
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
1501
|
+
reactIs_development.isElement = isElement;
|
|
1502
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
1503
|
+
reactIs_development.isFragment = isFragment;
|
|
1504
|
+
reactIs_development.isLazy = isLazy;
|
|
1505
|
+
reactIs_development.isMemo = isMemo;
|
|
1506
|
+
reactIs_development.isPortal = isPortal;
|
|
1507
|
+
reactIs_development.isProfiler = isProfiler;
|
|
1508
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
1509
|
+
reactIs_development.isSuspense = isSuspense;
|
|
1510
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
1511
|
+
reactIs_development.typeOf = typeOf;
|
|
1512
1512
|
})();
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
1515
|
if (process.env.NODE_ENV === 'production') {
|
|
1516
|
-
reactIs$
|
|
1516
|
+
reactIs$1.exports = reactIs_production_min;
|
|
1517
1517
|
} else {
|
|
1518
|
-
reactIs$
|
|
1518
|
+
reactIs$1.exports = reactIs_development;
|
|
1519
1519
|
}
|
|
1520
1520
|
|
|
1521
1521
|
/*
|
|
@@ -1618,6 +1618,8 @@ var ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
|
1618
1618
|
|
|
1619
1619
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret$3;
|
|
1620
1620
|
|
|
1621
|
+
var has$b = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
1622
|
+
|
|
1621
1623
|
/**
|
|
1622
1624
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1623
1625
|
*
|
|
@@ -1630,7 +1632,7 @@ var printWarning$1 = function() {};
|
|
|
1630
1632
|
if (process.env.NODE_ENV !== 'production') {
|
|
1631
1633
|
var ReactPropTypesSecret$2 = ReactPropTypesSecret_1;
|
|
1632
1634
|
var loggedTypeFailures = {};
|
|
1633
|
-
var has$a =
|
|
1635
|
+
var has$a = has$b;
|
|
1634
1636
|
|
|
1635
1637
|
printWarning$1 = function(text) {
|
|
1636
1638
|
var message = 'Warning: ' + text;
|
|
@@ -1642,7 +1644,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1642
1644
|
// This error was thrown as a convenience so that you can use this stack
|
|
1643
1645
|
// to find the callsite that caused this warning to fire.
|
|
1644
1646
|
throw new Error(message);
|
|
1645
|
-
} catch (x) {}
|
|
1647
|
+
} catch (x) { /**/ }
|
|
1646
1648
|
};
|
|
1647
1649
|
}
|
|
1648
1650
|
|
|
@@ -1671,7 +1673,8 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
1671
1673
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
1672
1674
|
var err = Error(
|
|
1673
1675
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
1674
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
1676
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
1677
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
1675
1678
|
);
|
|
1676
1679
|
err.name = 'Invariant Violation';
|
|
1677
1680
|
throw err;
|
|
@@ -1726,13 +1729,13 @@ var checkPropTypes_1 = checkPropTypes$1;
|
|
|
1726
1729
|
* LICENSE file in the root directory of this source tree.
|
|
1727
1730
|
*/
|
|
1728
1731
|
|
|
1729
|
-
var ReactIs$1 = reactIs$
|
|
1730
|
-
var assign = objectAssign;
|
|
1732
|
+
var ReactIs$1 = reactIs$1.exports;
|
|
1733
|
+
var assign$1 = objectAssign;
|
|
1731
1734
|
|
|
1732
1735
|
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
1736
|
+
var has$9 = has$b;
|
|
1733
1737
|
var checkPropTypes = checkPropTypes_1;
|
|
1734
1738
|
|
|
1735
|
-
var has$9 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
1736
1739
|
var printWarning = function() {};
|
|
1737
1740
|
|
|
1738
1741
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1833,6 +1836,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1833
1836
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
1834
1837
|
var ReactPropTypes = {
|
|
1835
1838
|
array: createPrimitiveTypeChecker('array'),
|
|
1839
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
1836
1840
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
1837
1841
|
func: createPrimitiveTypeChecker('function'),
|
|
1838
1842
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -1878,8 +1882,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1878
1882
|
* is prohibitively expensive if they are created too often, such as what
|
|
1879
1883
|
* happens in oneOfType() for any type before the one that matched.
|
|
1880
1884
|
*/
|
|
1881
|
-
function PropTypeError(message) {
|
|
1885
|
+
function PropTypeError(message, data) {
|
|
1882
1886
|
this.message = message;
|
|
1887
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
1883
1888
|
this.stack = '';
|
|
1884
1889
|
}
|
|
1885
1890
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -1914,7 +1919,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1914
1919
|
) {
|
|
1915
1920
|
printWarning(
|
|
1916
1921
|
'You are manually calling a React.PropTypes validation ' +
|
|
1917
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
1922
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
1918
1923
|
'and will throw in the standalone `prop-types` package. ' +
|
|
1919
1924
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
1920
1925
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -1953,7 +1958,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1953
1958
|
// 'of type `object`'.
|
|
1954
1959
|
var preciseType = getPreciseType(propValue);
|
|
1955
1960
|
|
|
1956
|
-
return new PropTypeError(
|
|
1961
|
+
return new PropTypeError(
|
|
1962
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
1963
|
+
{expectedType: expectedType}
|
|
1964
|
+
);
|
|
1957
1965
|
}
|
|
1958
1966
|
return null;
|
|
1959
1967
|
}
|
|
@@ -2097,14 +2105,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
2097
2105
|
}
|
|
2098
2106
|
|
|
2099
2107
|
function validate(props, propName, componentName, location, propFullName) {
|
|
2108
|
+
var expectedTypes = [];
|
|
2100
2109
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
2101
2110
|
var checker = arrayOfTypeCheckers[i];
|
|
2102
|
-
|
|
2111
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
|
|
2112
|
+
if (checkerResult == null) {
|
|
2103
2113
|
return null;
|
|
2104
2114
|
}
|
|
2115
|
+
if (checkerResult.data.hasOwnProperty('expectedType')) {
|
|
2116
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
2117
|
+
}
|
|
2105
2118
|
}
|
|
2106
|
-
|
|
2107
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
2119
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
2120
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
2108
2121
|
}
|
|
2109
2122
|
return createChainableTypeChecker(validate);
|
|
2110
2123
|
}
|
|
@@ -2119,6 +2132,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
2119
2132
|
return createChainableTypeChecker(validate);
|
|
2120
2133
|
}
|
|
2121
2134
|
|
|
2135
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
2136
|
+
return new PropTypeError(
|
|
2137
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
2138
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
2139
|
+
);
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2122
2142
|
function createShapeTypeChecker(shapeTypes) {
|
|
2123
2143
|
function validate(props, propName, componentName, location, propFullName) {
|
|
2124
2144
|
var propValue = props[propName];
|
|
@@ -2128,8 +2148,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
2128
2148
|
}
|
|
2129
2149
|
for (var key in shapeTypes) {
|
|
2130
2150
|
var checker = shapeTypes[key];
|
|
2131
|
-
if (
|
|
2132
|
-
|
|
2151
|
+
if (typeof checker !== 'function') {
|
|
2152
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
2133
2153
|
}
|
|
2134
2154
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
2135
2155
|
if (error) {
|
|
@@ -2148,16 +2168,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
2148
2168
|
if (propType !== 'object') {
|
|
2149
2169
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
2150
2170
|
}
|
|
2151
|
-
// We need to check all keys in case some are required but missing from
|
|
2152
|
-
|
|
2153
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
|
2171
|
+
// We need to check all keys in case some are required but missing from props.
|
|
2172
|
+
var allKeys = assign$1({}, props[propName], shapeTypes);
|
|
2154
2173
|
for (var key in allKeys) {
|
|
2155
2174
|
var checker = shapeTypes[key];
|
|
2175
|
+
if (has$9(shapeTypes, key) && typeof checker !== 'function') {
|
|
2176
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
2177
|
+
}
|
|
2156
2178
|
if (!checker) {
|
|
2157
2179
|
return new PropTypeError(
|
|
2158
2180
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
2159
2181
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
2160
|
-
'\nValid keys: ' +
|
|
2182
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
2161
2183
|
);
|
|
2162
2184
|
}
|
|
2163
2185
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
@@ -2342,6 +2364,7 @@ var factoryWithThrowingShims = function() {
|
|
|
2342
2364
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
2343
2365
|
var ReactPropTypes = {
|
|
2344
2366
|
array: shim,
|
|
2367
|
+
bigint: shim,
|
|
2345
2368
|
bool: shim,
|
|
2346
2369
|
func: shim,
|
|
2347
2370
|
number: shim,
|
|
@@ -2378,7 +2401,7 @@ var factoryWithThrowingShims = function() {
|
|
|
2378
2401
|
*/
|
|
2379
2402
|
|
|
2380
2403
|
if (process.env.NODE_ENV !== 'production') {
|
|
2381
|
-
var ReactIs = reactIs$
|
|
2404
|
+
var ReactIs = reactIs$1.exports;
|
|
2382
2405
|
|
|
2383
2406
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
2384
2407
|
// http://fb.me/prop-types-in-prod
|
|
@@ -2842,7 +2865,7 @@ var Transition = /*#__PURE__*/function (_React$Component) {
|
|
|
2842
2865
|
_this$props.onExiting;
|
|
2843
2866
|
_this$props.onExited;
|
|
2844
2867
|
_this$props.nodeRef;
|
|
2845
|
-
var childProps = _objectWithoutPropertiesLoose
|
|
2868
|
+
var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
2846
2869
|
|
|
2847
2870
|
return (
|
|
2848
2871
|
/*#__PURE__*/
|
|
@@ -3321,9 +3344,9 @@ var CSSTransition$3 = /*#__PURE__*/function (_React$Component) {
|
|
|
3321
3344
|
_proto.render = function render() {
|
|
3322
3345
|
var _this$props = this.props;
|
|
3323
3346
|
_this$props.classNames;
|
|
3324
|
-
var props = _objectWithoutPropertiesLoose
|
|
3347
|
+
var props = _objectWithoutPropertiesLoose(_this$props, ["classNames"]);
|
|
3325
3348
|
|
|
3326
|
-
return /*#__PURE__*/React__default.createElement(Transition$1, _extends$
|
|
3349
|
+
return /*#__PURE__*/React__default.createElement(Transition$1, _extends$1({}, props, {
|
|
3327
3350
|
onEnter: this.onEnter,
|
|
3328
3351
|
onEntered: this.onEntered,
|
|
3329
3352
|
onEntering: this.onEntering,
|
|
@@ -3339,7 +3362,7 @@ var CSSTransition$3 = /*#__PURE__*/function (_React$Component) {
|
|
|
3339
3362
|
CSSTransition$3.defaultProps = {
|
|
3340
3363
|
classNames: ''
|
|
3341
3364
|
};
|
|
3342
|
-
CSSTransition$3.propTypes = process.env.NODE_ENV !== "production" ? _extends$
|
|
3365
|
+
CSSTransition$3.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({}, Transition$1.propTypes, {
|
|
3343
3366
|
/**
|
|
3344
3367
|
* The animation classNames applied to the component as it appears, enters,
|
|
3345
3368
|
* exits or has finished the transition. A single name can be provided, which
|
|
@@ -3703,7 +3726,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
|
|
3703
3726
|
|
|
3704
3727
|
if (this.mounted) {
|
|
3705
3728
|
this.setState(function (state) {
|
|
3706
|
-
var children = _extends$
|
|
3729
|
+
var children = _extends$1({}, state.children);
|
|
3707
3730
|
|
|
3708
3731
|
delete children[child.key];
|
|
3709
3732
|
return {
|
|
@@ -3717,7 +3740,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
|
|
3717
3740
|
var _this$props = this.props,
|
|
3718
3741
|
Component = _this$props.component,
|
|
3719
3742
|
childFactory = _this$props.childFactory,
|
|
3720
|
-
props = _objectWithoutPropertiesLoose
|
|
3743
|
+
props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
|
3721
3744
|
|
|
3722
3745
|
var contextValue = this.state.contextValue;
|
|
3723
3746
|
var children = values(this.state.children).map(childFactory);
|
|
@@ -4532,7 +4555,10 @@ function getBasePlacement(placement) {
|
|
|
4532
4555
|
return placement.split('-')[0];
|
|
4533
4556
|
}
|
|
4534
4557
|
|
|
4535
|
-
var
|
|
4558
|
+
var max = Math.max;
|
|
4559
|
+
var min = Math.min;
|
|
4560
|
+
var round = Math.round;
|
|
4561
|
+
|
|
4536
4562
|
function getBoundingClientRect(element, includeScale) {
|
|
4537
4563
|
if (includeScale === void 0) {
|
|
4538
4564
|
includeScale = false;
|
|
@@ -4543,20 +4569,28 @@ function getBoundingClientRect(element, includeScale) {
|
|
|
4543
4569
|
var scaleY = 1;
|
|
4544
4570
|
|
|
4545
4571
|
if (isHTMLElement(element) && includeScale) {
|
|
4572
|
+
var offsetHeight = element.offsetHeight;
|
|
4573
|
+
var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
|
|
4546
4574
|
// Fallback to 1 in case both values are `0`
|
|
4547
|
-
|
|
4548
|
-
|
|
4575
|
+
|
|
4576
|
+
if (offsetWidth > 0) {
|
|
4577
|
+
scaleX = round(rect.width) / offsetWidth || 1;
|
|
4578
|
+
}
|
|
4579
|
+
|
|
4580
|
+
if (offsetHeight > 0) {
|
|
4581
|
+
scaleY = round(rect.height) / offsetHeight || 1;
|
|
4582
|
+
}
|
|
4549
4583
|
}
|
|
4550
4584
|
|
|
4551
4585
|
return {
|
|
4552
|
-
width:
|
|
4553
|
-
height:
|
|
4554
|
-
top:
|
|
4555
|
-
right:
|
|
4556
|
-
bottom:
|
|
4557
|
-
left:
|
|
4558
|
-
x:
|
|
4559
|
-
y:
|
|
4586
|
+
width: rect.width / scaleX,
|
|
4587
|
+
height: rect.height / scaleY,
|
|
4588
|
+
top: rect.top / scaleY,
|
|
4589
|
+
right: rect.right / scaleX,
|
|
4590
|
+
bottom: rect.bottom / scaleY,
|
|
4591
|
+
left: rect.left / scaleX,
|
|
4592
|
+
x: rect.left / scaleX,
|
|
4593
|
+
y: rect.top / scaleY
|
|
4560
4594
|
};
|
|
4561
4595
|
}
|
|
4562
4596
|
|
|
@@ -4701,13 +4735,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
4701
4735
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
4702
4736
|
}
|
|
4703
4737
|
|
|
4704
|
-
var max = Math.max;
|
|
4705
|
-
var min = Math.min;
|
|
4706
|
-
var round = Math.round;
|
|
4707
|
-
|
|
4708
4738
|
function within(min$1, value, max$1) {
|
|
4709
4739
|
return max(min$1, min(value, max$1));
|
|
4710
4740
|
}
|
|
4741
|
+
function withinMaxClamp(min, value, max) {
|
|
4742
|
+
var v = within(min, value, max);
|
|
4743
|
+
return v > max ? max : v;
|
|
4744
|
+
}
|
|
4711
4745
|
|
|
4712
4746
|
function getFreshSideObject() {
|
|
4713
4747
|
return {
|
|
@@ -4820,6 +4854,10 @@ var arrow$1 = {
|
|
|
4820
4854
|
requiresIfExists: ['preventOverflow']
|
|
4821
4855
|
};
|
|
4822
4856
|
|
|
4857
|
+
function getVariation(placement) {
|
|
4858
|
+
return placement.split('-')[1];
|
|
4859
|
+
}
|
|
4860
|
+
|
|
4823
4861
|
var unsetSides = {
|
|
4824
4862
|
top: 'auto',
|
|
4825
4863
|
right: 'auto',
|
|
@@ -4835,8 +4873,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
4835
4873
|
var win = window;
|
|
4836
4874
|
var dpr = win.devicePixelRatio || 1;
|
|
4837
4875
|
return {
|
|
4838
|
-
x: round(
|
|
4839
|
-
y: round(
|
|
4876
|
+
x: round(x * dpr) / dpr || 0,
|
|
4877
|
+
y: round(y * dpr) / dpr || 0
|
|
4840
4878
|
};
|
|
4841
4879
|
}
|
|
4842
4880
|
|
|
@@ -4846,11 +4884,13 @@ function mapToStyles(_ref2) {
|
|
|
4846
4884
|
var popper = _ref2.popper,
|
|
4847
4885
|
popperRect = _ref2.popperRect,
|
|
4848
4886
|
placement = _ref2.placement,
|
|
4887
|
+
variation = _ref2.variation,
|
|
4849
4888
|
offsets = _ref2.offsets,
|
|
4850
4889
|
position = _ref2.position,
|
|
4851
4890
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
4852
4891
|
adaptive = _ref2.adaptive,
|
|
4853
|
-
roundOffsets = _ref2.roundOffsets
|
|
4892
|
+
roundOffsets = _ref2.roundOffsets,
|
|
4893
|
+
isFixed = _ref2.isFixed;
|
|
4854
4894
|
|
|
4855
4895
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
4856
4896
|
_ref3$x = _ref3.x,
|
|
@@ -4872,7 +4912,7 @@ function mapToStyles(_ref2) {
|
|
|
4872
4912
|
if (offsetParent === getWindow(popper)) {
|
|
4873
4913
|
offsetParent = getDocumentElement(popper);
|
|
4874
4914
|
|
|
4875
|
-
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
4915
|
+
if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
|
|
4876
4916
|
heightProp = 'scrollHeight';
|
|
4877
4917
|
widthProp = 'scrollWidth';
|
|
4878
4918
|
}
|
|
@@ -4881,17 +4921,19 @@ function mapToStyles(_ref2) {
|
|
|
4881
4921
|
|
|
4882
4922
|
offsetParent = offsetParent;
|
|
4883
4923
|
|
|
4884
|
-
if (placement === top) {
|
|
4885
|
-
sideY = bottom;
|
|
4886
|
-
|
|
4887
|
-
|
|
4924
|
+
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
4925
|
+
sideY = bottom;
|
|
4926
|
+
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
4927
|
+
offsetParent[heightProp];
|
|
4928
|
+
y -= offsetY - popperRect.height;
|
|
4888
4929
|
y *= gpuAcceleration ? 1 : -1;
|
|
4889
4930
|
}
|
|
4890
4931
|
|
|
4891
|
-
if (placement === left) {
|
|
4892
|
-
sideX = right;
|
|
4893
|
-
|
|
4894
|
-
|
|
4932
|
+
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
4933
|
+
sideX = right;
|
|
4934
|
+
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
4935
|
+
offsetParent[widthProp];
|
|
4936
|
+
x -= offsetX - popperRect.width;
|
|
4895
4937
|
x *= gpuAcceleration ? 1 : -1;
|
|
4896
4938
|
}
|
|
4897
4939
|
}
|
|
@@ -4903,7 +4945,7 @@ function mapToStyles(_ref2) {
|
|
|
4903
4945
|
if (gpuAcceleration) {
|
|
4904
4946
|
var _Object$assign;
|
|
4905
4947
|
|
|
4906
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1)
|
|
4948
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
4907
4949
|
}
|
|
4908
4950
|
|
|
4909
4951
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
@@ -4931,9 +4973,11 @@ function computeStyles(_ref4) {
|
|
|
4931
4973
|
|
|
4932
4974
|
var commonStyles = {
|
|
4933
4975
|
placement: getBasePlacement(state.placement),
|
|
4976
|
+
variation: getVariation(state.placement),
|
|
4934
4977
|
popper: state.elements.popper,
|
|
4935
4978
|
popperRect: state.rects.popper,
|
|
4936
|
-
gpuAcceleration: gpuAcceleration
|
|
4979
|
+
gpuAcceleration: gpuAcceleration,
|
|
4980
|
+
isFixed: state.options.strategy === 'fixed'
|
|
4937
4981
|
};
|
|
4938
4982
|
|
|
4939
4983
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -5191,7 +5235,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
5191
5235
|
}
|
|
5192
5236
|
|
|
5193
5237
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
5194
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
5238
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement$1(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
5195
5239
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
5196
5240
|
// clipping (or hiding) overflowing elements with a position different from
|
|
5197
5241
|
// `initial`
|
|
@@ -5208,7 +5252,7 @@ function getClippingParents(element) {
|
|
|
5208
5252
|
|
|
5209
5253
|
|
|
5210
5254
|
return clippingParents.filter(function (clippingParent) {
|
|
5211
|
-
return isElement$1(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
5255
|
+
return isElement$1(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
|
|
5212
5256
|
});
|
|
5213
5257
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
5214
5258
|
// clipping parents
|
|
@@ -5233,10 +5277,6 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
5233
5277
|
return clippingRect;
|
|
5234
5278
|
}
|
|
5235
5279
|
|
|
5236
|
-
function getVariation(placement) {
|
|
5237
|
-
return placement.split('-')[1];
|
|
5238
|
-
}
|
|
5239
|
-
|
|
5240
5280
|
function computeOffsets(_ref) {
|
|
5241
5281
|
var reference = _ref.reference,
|
|
5242
5282
|
element = _ref.element,
|
|
@@ -5322,11 +5362,10 @@ function detectOverflow(state, options) {
|
|
|
5322
5362
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
5323
5363
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
5324
5364
|
var altContext = elementContext === popper ? reference : popper;
|
|
5325
|
-
var referenceElement = state.elements.reference;
|
|
5326
5365
|
var popperRect = state.rects.popper;
|
|
5327
5366
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
5328
5367
|
var clippingClientRect = getClippingRect(isElement$1(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
5329
|
-
var referenceClientRect = getBoundingClientRect(
|
|
5368
|
+
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
5330
5369
|
var popperOffsets = computeOffsets({
|
|
5331
5370
|
reference: referenceClientRect,
|
|
5332
5371
|
element: popperRect,
|
|
@@ -5713,6 +5752,14 @@ function preventOverflow(_ref) {
|
|
|
5713
5752
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
5714
5753
|
placement: state.placement
|
|
5715
5754
|
})) : tetherOffset;
|
|
5755
|
+
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
5756
|
+
mainAxis: tetherOffsetValue,
|
|
5757
|
+
altAxis: tetherOffsetValue
|
|
5758
|
+
} : Object.assign({
|
|
5759
|
+
mainAxis: 0,
|
|
5760
|
+
altAxis: 0
|
|
5761
|
+
}, tetherOffsetValue);
|
|
5762
|
+
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
5716
5763
|
var data = {
|
|
5717
5764
|
x: 0,
|
|
5718
5765
|
y: 0
|
|
@@ -5722,13 +5769,15 @@ function preventOverflow(_ref) {
|
|
|
5722
5769
|
return;
|
|
5723
5770
|
}
|
|
5724
5771
|
|
|
5725
|
-
if (checkMainAxis
|
|
5772
|
+
if (checkMainAxis) {
|
|
5773
|
+
var _offsetModifierState$;
|
|
5774
|
+
|
|
5726
5775
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
5727
5776
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
5728
5777
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
5729
5778
|
var offset = popperOffsets[mainAxis];
|
|
5730
|
-
var min$1 =
|
|
5731
|
-
var max$1 =
|
|
5779
|
+
var min$1 = offset + overflow[mainSide];
|
|
5780
|
+
var max$1 = offset - overflow[altSide];
|
|
5732
5781
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
5733
5782
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
5734
5783
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -5748,36 +5797,45 @@ function preventOverflow(_ref) {
|
|
|
5748
5797
|
// width or height)
|
|
5749
5798
|
|
|
5750
5799
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
5751
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
5752
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
5800
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
5801
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
5753
5802
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
5754
5803
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
5755
|
-
var offsetModifierValue =
|
|
5756
|
-
var tetherMin =
|
|
5757
|
-
var tetherMax =
|
|
5804
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
5805
|
+
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
5806
|
+
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
5807
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
5808
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
5809
|
+
data[mainAxis] = preventedOffset - offset;
|
|
5810
|
+
}
|
|
5758
5811
|
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
5762
|
-
data[mainAxis] = preventedOffset - offset;
|
|
5763
|
-
}
|
|
5812
|
+
if (checkAltAxis) {
|
|
5813
|
+
var _offsetModifierState$2;
|
|
5764
5814
|
|
|
5765
|
-
|
|
5766
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
5815
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
5767
5816
|
|
|
5768
|
-
|
|
5817
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
5769
5818
|
|
|
5770
|
-
|
|
5819
|
+
var _offset = popperOffsets[altAxis];
|
|
5771
5820
|
|
|
5772
|
-
|
|
5821
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
5773
5822
|
|
|
5774
|
-
|
|
5823
|
+
var _min = _offset + overflow[_mainSide];
|
|
5775
5824
|
|
|
5776
|
-
|
|
5825
|
+
var _max = _offset - overflow[_altSide];
|
|
5777
5826
|
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5827
|
+
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
5828
|
+
|
|
5829
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
5830
|
+
|
|
5831
|
+
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
5832
|
+
|
|
5833
|
+
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
5834
|
+
|
|
5835
|
+
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
5836
|
+
|
|
5837
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
5838
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
5781
5839
|
}
|
|
5782
5840
|
|
|
5783
5841
|
state.modifiersData[name] = data;
|
|
@@ -5809,8 +5867,8 @@ function getNodeScroll(node) {
|
|
|
5809
5867
|
|
|
5810
5868
|
function isElementScaled(element) {
|
|
5811
5869
|
var rect = element.getBoundingClientRect();
|
|
5812
|
-
var scaleX = rect.width / element.offsetWidth || 1;
|
|
5813
|
-
var scaleY = rect.height / element.offsetHeight || 1;
|
|
5870
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
5871
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
5814
5872
|
return scaleX !== 1 || scaleY !== 1;
|
|
5815
5873
|
} // Returns the composite rect of an element relative to its offsetParent.
|
|
5816
5874
|
// Composite means it takes into account transforms as well as layout.
|
|
@@ -5931,7 +5989,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
5931
5989
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
5932
5990
|
function validateModifiers(modifiers) {
|
|
5933
5991
|
modifiers.forEach(function (modifier) {
|
|
5934
|
-
Object.keys(modifier)
|
|
5992
|
+
[].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
|
|
5993
|
+
.filter(function (value, index, self) {
|
|
5994
|
+
return self.indexOf(value) === index;
|
|
5995
|
+
}).forEach(function (key) {
|
|
5935
5996
|
switch (key) {
|
|
5936
5997
|
case 'name':
|
|
5937
5998
|
if (typeof modifier.name !== 'string') {
|
|
@@ -5945,6 +6006,8 @@ function validateModifiers(modifiers) {
|
|
|
5945
6006
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
5946
6007
|
}
|
|
5947
6008
|
|
|
6009
|
+
break;
|
|
6010
|
+
|
|
5948
6011
|
case 'phase':
|
|
5949
6012
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
5950
6013
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -5960,14 +6023,14 @@ function validateModifiers(modifiers) {
|
|
|
5960
6023
|
break;
|
|
5961
6024
|
|
|
5962
6025
|
case 'effect':
|
|
5963
|
-
if (typeof modifier.effect !== 'function') {
|
|
6026
|
+
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
5964
6027
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
5965
6028
|
}
|
|
5966
6029
|
|
|
5967
6030
|
break;
|
|
5968
6031
|
|
|
5969
6032
|
case 'requires':
|
|
5970
|
-
if (!Array.isArray(modifier.requires)) {
|
|
6033
|
+
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
5971
6034
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
5972
6035
|
}
|
|
5973
6036
|
|
|
@@ -6077,7 +6140,8 @@ function popperGenerator(generatorOptions) {
|
|
|
6077
6140
|
var isDestroyed = false;
|
|
6078
6141
|
var instance = {
|
|
6079
6142
|
state: state,
|
|
6080
|
-
setOptions: function setOptions(
|
|
6143
|
+
setOptions: function setOptions(setOptionsAction) {
|
|
6144
|
+
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
6081
6145
|
cleanupModifierEffects();
|
|
6082
6146
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
6083
6147
|
state.scrollParents = {
|
|
@@ -7001,24 +7065,6 @@ var ContextMenu = React.forwardRef(function (_a, ref) {
|
|
|
7001
7065
|
React.createElement(Menu$2, __assign({ isOpen: isOpen, baseElement: iconWrapperElement, contents: contents, positionPriority: positionPriority, maxHeight: menuMaxHeight }, menuProps, { onClose: createChainedFunction(handleToggleOpen(false), menuProps === null || menuProps === void 0 ? void 0 : menuProps.onClose) }))));
|
|
7002
7066
|
});
|
|
7003
7067
|
|
|
7004
|
-
function _extends$1() {
|
|
7005
|
-
_extends$1 = Object.assign || function (target) {
|
|
7006
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
7007
|
-
var source = arguments[i];
|
|
7008
|
-
|
|
7009
|
-
for (var key in source) {
|
|
7010
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7011
|
-
target[key] = source[key];
|
|
7012
|
-
}
|
|
7013
|
-
}
|
|
7014
|
-
}
|
|
7015
|
-
|
|
7016
|
-
return target;
|
|
7017
|
-
};
|
|
7018
|
-
|
|
7019
|
-
return _extends$1.apply(this, arguments);
|
|
7020
|
-
}
|
|
7021
|
-
|
|
7022
7068
|
/*
|
|
7023
7069
|
|
|
7024
7070
|
Based off glamor's StyleSheet, thanks Sunil ❤️
|
|
@@ -7080,7 +7126,13 @@ var StyleSheet$1 = /*#__PURE__*/function () {
|
|
|
7080
7126
|
var before;
|
|
7081
7127
|
|
|
7082
7128
|
if (_this.tags.length === 0) {
|
|
7083
|
-
|
|
7129
|
+
if (_this.insertionPoint) {
|
|
7130
|
+
before = _this.insertionPoint.nextSibling;
|
|
7131
|
+
} else if (_this.prepend) {
|
|
7132
|
+
before = _this.container.firstChild;
|
|
7133
|
+
} else {
|
|
7134
|
+
before = _this.before;
|
|
7135
|
+
}
|
|
7084
7136
|
} else {
|
|
7085
7137
|
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
7086
7138
|
}
|
|
@@ -7098,6 +7150,7 @@ var StyleSheet$1 = /*#__PURE__*/function () {
|
|
|
7098
7150
|
this.key = options.key;
|
|
7099
7151
|
this.container = options.container;
|
|
7100
7152
|
this.prepend = options.prepend;
|
|
7153
|
+
this.insertionPoint = options.insertionPoint;
|
|
7101
7154
|
this.before = null;
|
|
7102
7155
|
}
|
|
7103
7156
|
|
|
@@ -7151,7 +7204,7 @@ var StyleSheet$1 = /*#__PURE__*/function () {
|
|
|
7151
7204
|
_proto.flush = function flush() {
|
|
7152
7205
|
// $FlowFixMe
|
|
7153
7206
|
this.tags.forEach(function (tag) {
|
|
7154
|
-
return tag.parentNode.removeChild(tag);
|
|
7207
|
+
return tag.parentNode && tag.parentNode.removeChild(tag);
|
|
7155
7208
|
});
|
|
7156
7209
|
this.tags = [];
|
|
7157
7210
|
this.ctr = 0;
|
|
@@ -7186,6 +7239,12 @@ var abs$4 = Math.abs;
|
|
|
7186
7239
|
*/
|
|
7187
7240
|
var from = String.fromCharCode;
|
|
7188
7241
|
|
|
7242
|
+
/**
|
|
7243
|
+
* @param {object}
|
|
7244
|
+
* @return {object}
|
|
7245
|
+
*/
|
|
7246
|
+
var assign = Object.assign;
|
|
7247
|
+
|
|
7189
7248
|
/**
|
|
7190
7249
|
* @param {string} value
|
|
7191
7250
|
* @param {number} length
|
|
@@ -7208,7 +7267,7 @@ function trim (value) {
|
|
|
7208
7267
|
* @param {RegExp} pattern
|
|
7209
7268
|
* @return {string?}
|
|
7210
7269
|
*/
|
|
7211
|
-
function match
|
|
7270
|
+
function match (value, pattern) {
|
|
7212
7271
|
return (value = pattern.exec(value)) ? value[0] : value
|
|
7213
7272
|
}
|
|
7214
7273
|
|
|
@@ -7224,7 +7283,7 @@ function replace (value, pattern, replacement) {
|
|
|
7224
7283
|
|
|
7225
7284
|
/**
|
|
7226
7285
|
* @param {string} value
|
|
7227
|
-
* @param {string}
|
|
7286
|
+
* @param {string} search
|
|
7228
7287
|
* @return {number}
|
|
7229
7288
|
*/
|
|
7230
7289
|
function indexof (value, search) {
|
|
@@ -7293,11 +7352,11 @@ var characters = '';
|
|
|
7293
7352
|
|
|
7294
7353
|
/**
|
|
7295
7354
|
* @param {string} value
|
|
7296
|
-
* @param {object} root
|
|
7297
|
-
* @param {object
|
|
7355
|
+
* @param {object | null} root
|
|
7356
|
+
* @param {object | null} parent
|
|
7298
7357
|
* @param {string} type
|
|
7299
|
-
* @param {string[]} props
|
|
7300
|
-
* @param {object[]} children
|
|
7358
|
+
* @param {string[] | string} props
|
|
7359
|
+
* @param {object[] | string} children
|
|
7301
7360
|
* @param {number} length
|
|
7302
7361
|
*/
|
|
7303
7362
|
function node (value, root, parent, type, props, children, length) {
|
|
@@ -7305,12 +7364,12 @@ function node (value, root, parent, type, props, children, length) {
|
|
|
7305
7364
|
}
|
|
7306
7365
|
|
|
7307
7366
|
/**
|
|
7308
|
-
* @param {string} value
|
|
7309
7367
|
* @param {object} root
|
|
7310
|
-
* @param {
|
|
7368
|
+
* @param {object} props
|
|
7369
|
+
* @return {object}
|
|
7311
7370
|
*/
|
|
7312
|
-
function copy (
|
|
7313
|
-
return node(
|
|
7371
|
+
function copy (root, props) {
|
|
7372
|
+
return assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)
|
|
7314
7373
|
}
|
|
7315
7374
|
|
|
7316
7375
|
/**
|
|
@@ -7363,7 +7422,7 @@ function caret () {
|
|
|
7363
7422
|
* @param {number} end
|
|
7364
7423
|
* @return {string}
|
|
7365
7424
|
*/
|
|
7366
|
-
function slice$
|
|
7425
|
+
function slice$2 (begin, end) {
|
|
7367
7426
|
return substr(characters, begin, end)
|
|
7368
7427
|
}
|
|
7369
7428
|
|
|
@@ -7416,7 +7475,7 @@ function dealloc (value) {
|
|
|
7416
7475
|
* @return {string}
|
|
7417
7476
|
*/
|
|
7418
7477
|
function delimit (type) {
|
|
7419
|
-
return trim(slice$
|
|
7478
|
+
return trim(slice$2(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))
|
|
7420
7479
|
}
|
|
7421
7480
|
|
|
7422
7481
|
/**
|
|
@@ -7444,7 +7503,7 @@ function escaping (index, count) {
|
|
|
7444
7503
|
if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))
|
|
7445
7504
|
break
|
|
7446
7505
|
|
|
7447
|
-
return slice$
|
|
7506
|
+
return slice$2(index, caret() + (count < 6 && peek() == 32 && next() == 32))
|
|
7448
7507
|
}
|
|
7449
7508
|
|
|
7450
7509
|
/**
|
|
@@ -7459,7 +7518,9 @@ function delimiter (type) {
|
|
|
7459
7518
|
return position
|
|
7460
7519
|
// " '
|
|
7461
7520
|
case 34: case 39:
|
|
7462
|
-
|
|
7521
|
+
if (type !== 34 && type !== 39)
|
|
7522
|
+
delimiter(character);
|
|
7523
|
+
break
|
|
7463
7524
|
// (
|
|
7464
7525
|
case 40:
|
|
7465
7526
|
if (type === 41)
|
|
@@ -7488,7 +7549,7 @@ function commenter (type, index) {
|
|
|
7488
7549
|
else if (type + character === 42 + 42 && peek() === 47)
|
|
7489
7550
|
break
|
|
7490
7551
|
|
|
7491
|
-
return '/*' + slice$
|
|
7552
|
+
return '/*' + slice$2(index, position - 1) + '*' + from(type === 47 ? type : next())
|
|
7492
7553
|
}
|
|
7493
7554
|
|
|
7494
7555
|
/**
|
|
@@ -7499,7 +7560,7 @@ function identifier (index) {
|
|
|
7499
7560
|
while (!token(peek()))
|
|
7500
7561
|
next();
|
|
7501
7562
|
|
|
7502
|
-
return slice$
|
|
7563
|
+
return slice$2(index, position)
|
|
7503
7564
|
}
|
|
7504
7565
|
|
|
7505
7566
|
/**
|
|
@@ -7541,8 +7602,15 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
|
7541
7602
|
|
|
7542
7603
|
while (scanning)
|
|
7543
7604
|
switch (previous = character, character = next()) {
|
|
7544
|
-
//
|
|
7545
|
-
case
|
|
7605
|
+
// (
|
|
7606
|
+
case 40:
|
|
7607
|
+
if (previous != 108 && characters.charCodeAt(length - 1) == 58) {
|
|
7608
|
+
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
|
|
7609
|
+
ampersand = -1;
|
|
7610
|
+
break
|
|
7611
|
+
}
|
|
7612
|
+
// " ' [
|
|
7613
|
+
case 34: case 39: case 91:
|
|
7546
7614
|
characters += delimit(character);
|
|
7547
7615
|
break
|
|
7548
7616
|
// \t \n \r \s
|
|
@@ -7592,7 +7660,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
|
7592
7660
|
parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
|
|
7593
7661
|
break
|
|
7594
7662
|
default:
|
|
7595
|
-
parse(characters, reference, reference, reference, [''], children,
|
|
7663
|
+
parse(characters, reference, reference, reference, [''], children, 0, points, children);
|
|
7596
7664
|
}
|
|
7597
7665
|
}
|
|
7598
7666
|
|
|
@@ -7623,7 +7691,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
|
7623
7691
|
if (peek() === 45)
|
|
7624
7692
|
characters += delimit(next());
|
|
7625
7693
|
|
|
7626
|
-
atrule = peek(), offset = strlen(type = characters += identifier(caret())), character++;
|
|
7694
|
+
atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
|
|
7627
7695
|
break
|
|
7628
7696
|
// -
|
|
7629
7697
|
case 45:
|
|
@@ -7826,6 +7894,7 @@ function stringify (element, index, children, callback) {
|
|
|
7826
7894
|
switch (element.type) {
|
|
7827
7895
|
case IMPORT: case DECLARATION: return element.return = element.return || element.value
|
|
7828
7896
|
case COMMENT: return ''
|
|
7897
|
+
case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
|
|
7829
7898
|
case RULESET: element.value = element.props.join(',');
|
|
7830
7899
|
}
|
|
7831
7900
|
|
|
@@ -7868,31 +7937,32 @@ function rulesheet (callback) {
|
|
|
7868
7937
|
* @param {function} callback
|
|
7869
7938
|
*/
|
|
7870
7939
|
function prefixer (element, index, children, callback) {
|
|
7871
|
-
if (
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7940
|
+
if (element.length > -1)
|
|
7941
|
+
if (!element.return)
|
|
7942
|
+
switch (element.type) {
|
|
7943
|
+
case DECLARATION: element.return = prefix(element.value, element.length);
|
|
7944
|
+
break
|
|
7945
|
+
case KEYFRAMES:
|
|
7946
|
+
return serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)
|
|
7947
|
+
case RULESET:
|
|
7948
|
+
if (element.length)
|
|
7949
|
+
return combine(element.props, function (value) {
|
|
7950
|
+
switch (match(value, /(::plac\w+|:read-\w+)/)) {
|
|
7951
|
+
// :read-(only|write)
|
|
7952
|
+
case ':read-only': case ':read-write':
|
|
7953
|
+
return serialize([copy(element, {props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]})], callback)
|
|
7954
|
+
// :placeholder
|
|
7955
|
+
case '::placeholder':
|
|
7956
|
+
return serialize([
|
|
7957
|
+
copy(element, {props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]}),
|
|
7958
|
+
copy(element, {props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]}),
|
|
7959
|
+
copy(element, {props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]})
|
|
7960
|
+
], callback)
|
|
7961
|
+
}
|
|
7962
|
+
|
|
7963
|
+
return ''
|
|
7964
|
+
})
|
|
7965
|
+
}
|
|
7896
7966
|
}
|
|
7897
7967
|
|
|
7898
7968
|
var weakMemoize = function weakMemoize(func) {
|
|
@@ -7920,6 +7990,29 @@ function memoize$1(fn) {
|
|
|
7920
7990
|
|
|
7921
7991
|
var last$1 = function last(arr) {
|
|
7922
7992
|
return arr.length ? arr[arr.length - 1] : null;
|
|
7993
|
+
}; // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244
|
|
7994
|
+
|
|
7995
|
+
|
|
7996
|
+
var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
|
|
7997
|
+
var previous = 0;
|
|
7998
|
+
var character = 0;
|
|
7999
|
+
|
|
8000
|
+
while (true) {
|
|
8001
|
+
previous = character;
|
|
8002
|
+
character = peek(); // &\f
|
|
8003
|
+
|
|
8004
|
+
if (previous === 38 && character === 12) {
|
|
8005
|
+
points[index] = 1;
|
|
8006
|
+
}
|
|
8007
|
+
|
|
8008
|
+
if (token(character)) {
|
|
8009
|
+
break;
|
|
8010
|
+
}
|
|
8011
|
+
|
|
8012
|
+
next();
|
|
8013
|
+
}
|
|
8014
|
+
|
|
8015
|
+
return slice$2(begin, position);
|
|
7923
8016
|
};
|
|
7924
8017
|
|
|
7925
8018
|
var toRules = function toRules(parsed, points) {
|
|
@@ -7939,7 +8032,7 @@ var toRules = function toRules(parsed, points) {
|
|
|
7939
8032
|
points[index] = 1;
|
|
7940
8033
|
}
|
|
7941
8034
|
|
|
7942
|
-
parsed[index] +=
|
|
8035
|
+
parsed[index] += identifierWithPointTracking(position - 1, points, index);
|
|
7943
8036
|
break;
|
|
7944
8037
|
|
|
7945
8038
|
case 2:
|
|
@@ -7972,8 +8065,9 @@ var getRules = function getRules(value, points) {
|
|
|
7972
8065
|
|
|
7973
8066
|
var fixedElements = /* #__PURE__ */new WeakMap();
|
|
7974
8067
|
var compat = function compat(element) {
|
|
7975
|
-
if (element.type !== 'rule' || !element.parent || // .length indicates
|
|
7976
|
-
|
|
8068
|
+
if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
|
|
8069
|
+
// negative .length indicates that this rule has been already prefixed
|
|
8070
|
+
element.length < 1) {
|
|
7977
8071
|
return;
|
|
7978
8072
|
}
|
|
7979
8073
|
|
|
@@ -8273,7 +8367,8 @@ var createCache = function createCache(options) {
|
|
|
8273
8367
|
container: container,
|
|
8274
8368
|
nonce: options.nonce,
|
|
8275
8369
|
speedy: options.speedy,
|
|
8276
|
-
prepend: options.prepend
|
|
8370
|
+
prepend: options.prepend,
|
|
8371
|
+
insertionPoint: options.insertionPoint
|
|
8277
8372
|
}),
|
|
8278
8373
|
nonce: options.nonce,
|
|
8279
8374
|
inserted: inserted,
|
|
@@ -8284,213 +8379,7 @@ var createCache = function createCache(options) {
|
|
|
8284
8379
|
return cache;
|
|
8285
8380
|
};
|
|
8286
8381
|
|
|
8287
|
-
var reactIs
|
|
8288
|
-
|
|
8289
|
-
var reactIs_production_min$1 = {};
|
|
8290
|
-
|
|
8291
|
-
/** @license React v16.13.1
|
|
8292
|
-
* react-is.production.min.js
|
|
8293
|
-
*
|
|
8294
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8295
|
-
*
|
|
8296
|
-
* This source code is licensed under the MIT license found in the
|
|
8297
|
-
* LICENSE file in the root directory of this source tree.
|
|
8298
|
-
*/
|
|
8299
|
-
var b$1="function"===typeof Symbol&&Symbol.for,c$1=b$1?Symbol.for("react.element"):60103,d$1=b$1?Symbol.for("react.portal"):60106,e$1=b$1?Symbol.for("react.fragment"):60107,f$1=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h$1=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l$1=b$1?Symbol.for("react.async_mode"):60111,m$1=b$1?Symbol.for("react.concurrent_mode"):60111,n$1=b$1?Symbol.for("react.forward_ref"):60112,p$1=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?
|
|
8300
|
-
Symbol.for("react.suspense_list"):60120,r$1=b$1?Symbol.for("react.memo"):60115,t$1=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w$2=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;
|
|
8301
|
-
function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$1:switch(a=a.type,a){case l$1:case m$1:case e$1:case g$1:case f$1:case p$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case n$1:case t$1:case r$1:case h$1:return a;default:return u}}case d$1:return u}}}function A$1(a){return z$1(a)===m$1}reactIs_production_min$1.AsyncMode=l$1;reactIs_production_min$1.ConcurrentMode=m$1;reactIs_production_min$1.ContextConsumer=k$1;reactIs_production_min$1.ContextProvider=h$1;reactIs_production_min$1.Element=c$1;reactIs_production_min$1.ForwardRef=n$1;reactIs_production_min$1.Fragment=e$1;reactIs_production_min$1.Lazy=t$1;reactIs_production_min$1.Memo=r$1;reactIs_production_min$1.Portal=d$1;
|
|
8302
|
-
reactIs_production_min$1.Profiler=g$1;reactIs_production_min$1.StrictMode=f$1;reactIs_production_min$1.Suspense=p$1;reactIs_production_min$1.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$1};reactIs_production_min$1.isConcurrentMode=A$1;reactIs_production_min$1.isContextConsumer=function(a){return z$1(a)===k$1};reactIs_production_min$1.isContextProvider=function(a){return z$1(a)===h$1};reactIs_production_min$1.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$1};reactIs_production_min$1.isForwardRef=function(a){return z$1(a)===n$1};reactIs_production_min$1.isFragment=function(a){return z$1(a)===e$1};reactIs_production_min$1.isLazy=function(a){return z$1(a)===t$1};
|
|
8303
|
-
reactIs_production_min$1.isMemo=function(a){return z$1(a)===r$1};reactIs_production_min$1.isPortal=function(a){return z$1(a)===d$1};reactIs_production_min$1.isProfiler=function(a){return z$1(a)===g$1};reactIs_production_min$1.isStrictMode=function(a){return z$1(a)===f$1};reactIs_production_min$1.isSuspense=function(a){return z$1(a)===p$1};
|
|
8304
|
-
reactIs_production_min$1.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$1||a===m$1||a===g$1||a===f$1||a===p$1||a===q$1||"object"===typeof a&&null!==a&&(a.$$typeof===t$1||a.$$typeof===r$1||a.$$typeof===h$1||a.$$typeof===k$1||a.$$typeof===n$1||a.$$typeof===w$2||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$1)};reactIs_production_min$1.typeOf=z$1;
|
|
8305
|
-
|
|
8306
|
-
var reactIs_development$1 = {};
|
|
8307
|
-
|
|
8308
|
-
/** @license React v16.13.1
|
|
8309
|
-
* react-is.development.js
|
|
8310
|
-
*
|
|
8311
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8312
|
-
*
|
|
8313
|
-
* This source code is licensed under the MIT license found in the
|
|
8314
|
-
* LICENSE file in the root directory of this source tree.
|
|
8315
|
-
*/
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
if (process.env.NODE_ENV !== "production") {
|
|
8320
|
-
(function() {
|
|
8321
|
-
|
|
8322
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
8323
|
-
// nor polyfill, then a plain number is used for performance.
|
|
8324
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
8325
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
8326
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
8327
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
8328
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
8329
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
8330
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
8331
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
8332
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
8333
|
-
|
|
8334
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
8335
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
8336
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
8337
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
8338
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
8339
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
8340
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
8341
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
8342
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
8343
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
8344
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
8345
|
-
|
|
8346
|
-
function isValidElementType(type) {
|
|
8347
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
8348
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
8349
|
-
}
|
|
8350
|
-
|
|
8351
|
-
function typeOf(object) {
|
|
8352
|
-
if (typeof object === 'object' && object !== null) {
|
|
8353
|
-
var $$typeof = object.$$typeof;
|
|
8354
|
-
|
|
8355
|
-
switch ($$typeof) {
|
|
8356
|
-
case REACT_ELEMENT_TYPE:
|
|
8357
|
-
var type = object.type;
|
|
8358
|
-
|
|
8359
|
-
switch (type) {
|
|
8360
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
8361
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
8362
|
-
case REACT_FRAGMENT_TYPE:
|
|
8363
|
-
case REACT_PROFILER_TYPE:
|
|
8364
|
-
case REACT_STRICT_MODE_TYPE:
|
|
8365
|
-
case REACT_SUSPENSE_TYPE:
|
|
8366
|
-
return type;
|
|
8367
|
-
|
|
8368
|
-
default:
|
|
8369
|
-
var $$typeofType = type && type.$$typeof;
|
|
8370
|
-
|
|
8371
|
-
switch ($$typeofType) {
|
|
8372
|
-
case REACT_CONTEXT_TYPE:
|
|
8373
|
-
case REACT_FORWARD_REF_TYPE:
|
|
8374
|
-
case REACT_LAZY_TYPE:
|
|
8375
|
-
case REACT_MEMO_TYPE:
|
|
8376
|
-
case REACT_PROVIDER_TYPE:
|
|
8377
|
-
return $$typeofType;
|
|
8378
|
-
|
|
8379
|
-
default:
|
|
8380
|
-
return $$typeof;
|
|
8381
|
-
}
|
|
8382
|
-
|
|
8383
|
-
}
|
|
8384
|
-
|
|
8385
|
-
case REACT_PORTAL_TYPE:
|
|
8386
|
-
return $$typeof;
|
|
8387
|
-
}
|
|
8388
|
-
}
|
|
8389
|
-
|
|
8390
|
-
return undefined;
|
|
8391
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
8392
|
-
|
|
8393
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
8394
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
8395
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
8396
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
8397
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
8398
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
8399
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
8400
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
8401
|
-
var Memo = REACT_MEMO_TYPE;
|
|
8402
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
8403
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
8404
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
8405
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
8406
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
8407
|
-
|
|
8408
|
-
function isAsyncMode(object) {
|
|
8409
|
-
{
|
|
8410
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
8411
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
8412
|
-
|
|
8413
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
8414
|
-
}
|
|
8415
|
-
}
|
|
8416
|
-
|
|
8417
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
8418
|
-
}
|
|
8419
|
-
function isConcurrentMode(object) {
|
|
8420
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
8421
|
-
}
|
|
8422
|
-
function isContextConsumer(object) {
|
|
8423
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
8424
|
-
}
|
|
8425
|
-
function isContextProvider(object) {
|
|
8426
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
8427
|
-
}
|
|
8428
|
-
function isElement(object) {
|
|
8429
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
8430
|
-
}
|
|
8431
|
-
function isForwardRef(object) {
|
|
8432
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
8433
|
-
}
|
|
8434
|
-
function isFragment(object) {
|
|
8435
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
8436
|
-
}
|
|
8437
|
-
function isLazy(object) {
|
|
8438
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
8439
|
-
}
|
|
8440
|
-
function isMemo(object) {
|
|
8441
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
8442
|
-
}
|
|
8443
|
-
function isPortal(object) {
|
|
8444
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
8445
|
-
}
|
|
8446
|
-
function isProfiler(object) {
|
|
8447
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
8448
|
-
}
|
|
8449
|
-
function isStrictMode(object) {
|
|
8450
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
8451
|
-
}
|
|
8452
|
-
function isSuspense(object) {
|
|
8453
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
8454
|
-
}
|
|
8455
|
-
|
|
8456
|
-
reactIs_development$1.AsyncMode = AsyncMode;
|
|
8457
|
-
reactIs_development$1.ConcurrentMode = ConcurrentMode;
|
|
8458
|
-
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
8459
|
-
reactIs_development$1.ContextProvider = ContextProvider;
|
|
8460
|
-
reactIs_development$1.Element = Element;
|
|
8461
|
-
reactIs_development$1.ForwardRef = ForwardRef;
|
|
8462
|
-
reactIs_development$1.Fragment = Fragment;
|
|
8463
|
-
reactIs_development$1.Lazy = Lazy;
|
|
8464
|
-
reactIs_development$1.Memo = Memo;
|
|
8465
|
-
reactIs_development$1.Portal = Portal;
|
|
8466
|
-
reactIs_development$1.Profiler = Profiler;
|
|
8467
|
-
reactIs_development$1.StrictMode = StrictMode;
|
|
8468
|
-
reactIs_development$1.Suspense = Suspense;
|
|
8469
|
-
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
8470
|
-
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
8471
|
-
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
8472
|
-
reactIs_development$1.isContextProvider = isContextProvider;
|
|
8473
|
-
reactIs_development$1.isElement = isElement;
|
|
8474
|
-
reactIs_development$1.isForwardRef = isForwardRef;
|
|
8475
|
-
reactIs_development$1.isFragment = isFragment;
|
|
8476
|
-
reactIs_development$1.isLazy = isLazy;
|
|
8477
|
-
reactIs_development$1.isMemo = isMemo;
|
|
8478
|
-
reactIs_development$1.isPortal = isPortal;
|
|
8479
|
-
reactIs_development$1.isProfiler = isProfiler;
|
|
8480
|
-
reactIs_development$1.isStrictMode = isStrictMode;
|
|
8481
|
-
reactIs_development$1.isSuspense = isSuspense;
|
|
8482
|
-
reactIs_development$1.isValidElementType = isValidElementType;
|
|
8483
|
-
reactIs_development$1.typeOf = typeOf;
|
|
8484
|
-
})();
|
|
8485
|
-
}
|
|
8486
|
-
|
|
8487
|
-
if (process.env.NODE_ENV === 'production') {
|
|
8488
|
-
reactIs$2.exports = reactIs_production_min$1;
|
|
8489
|
-
} else {
|
|
8490
|
-
reactIs$2.exports = reactIs_development$1;
|
|
8491
|
-
}
|
|
8492
|
-
|
|
8493
|
-
var reactIs$1 = reactIs$2.exports;
|
|
8382
|
+
var reactIs = reactIs$1.exports;
|
|
8494
8383
|
|
|
8495
8384
|
/**
|
|
8496
8385
|
* Copyright 2015, Yahoo! Inc.
|
|
@@ -8534,12 +8423,12 @@ var MEMO_STATICS = {
|
|
|
8534
8423
|
type: true
|
|
8535
8424
|
};
|
|
8536
8425
|
var TYPE_STATICS = {};
|
|
8537
|
-
TYPE_STATICS[reactIs
|
|
8538
|
-
TYPE_STATICS[reactIs
|
|
8426
|
+
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
8427
|
+
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
8539
8428
|
|
|
8540
8429
|
function getStatics(component) {
|
|
8541
8430
|
// React v16.11 and below
|
|
8542
|
-
if (reactIs
|
|
8431
|
+
if (reactIs.isMemo(component)) {
|
|
8543
8432
|
return MEMO_STATICS;
|
|
8544
8433
|
} // React v16.12 and above
|
|
8545
8434
|
|
|
@@ -9061,7 +8950,7 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
|
|
|
9061
8950
|
};
|
|
9062
8951
|
|
|
9063
8952
|
var isBrowser$1 = typeof document !== 'undefined';
|
|
9064
|
-
var hasOwnProperty$1 =
|
|
8953
|
+
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
9065
8954
|
|
|
9066
8955
|
var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
9067
8956
|
// because this module is primarily intended for the browser and node
|
|
@@ -9118,12 +9007,48 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
9118
9007
|
ThemeContext.displayName = 'EmotionThemeContext';
|
|
9119
9008
|
}
|
|
9120
9009
|
|
|
9121
|
-
|
|
9010
|
+
var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
|
|
9011
|
+
// V8
|
|
9012
|
+
var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
|
|
9013
|
+
|
|
9014
|
+
if (match) {
|
|
9015
|
+
// The match may be something like 'Object.createEmotionProps'
|
|
9016
|
+
var parts = match[1].split('.');
|
|
9017
|
+
return parts[parts.length - 1];
|
|
9018
|
+
} // Safari / Firefox
|
|
9019
|
+
|
|
9020
|
+
|
|
9021
|
+
match = /^([A-Za-z0-9$.]+)@/.exec(line);
|
|
9022
|
+
if (match) return match[1];
|
|
9023
|
+
return undefined;
|
|
9024
|
+
};
|
|
9025
|
+
|
|
9026
|
+
var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
|
|
9027
|
+
// identifiers, thus we only need to replace what is a valid character for JS,
|
|
9028
|
+
// but not for CSS.
|
|
9122
9029
|
|
|
9123
9030
|
var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
|
|
9124
9031
|
return identifier.replace(/\$/g, '-');
|
|
9125
9032
|
};
|
|
9126
9033
|
|
|
9034
|
+
var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
|
|
9035
|
+
if (!stackTrace) return undefined;
|
|
9036
|
+
var lines = stackTrace.split('\n');
|
|
9037
|
+
|
|
9038
|
+
for (var i = 0; i < lines.length; i++) {
|
|
9039
|
+
var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
|
|
9040
|
+
|
|
9041
|
+
if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
|
|
9042
|
+
|
|
9043
|
+
if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
|
|
9044
|
+
// uppercase letter
|
|
9045
|
+
|
|
9046
|
+
if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
|
|
9047
|
+
}
|
|
9048
|
+
|
|
9049
|
+
return undefined;
|
|
9050
|
+
};
|
|
9051
|
+
|
|
9127
9052
|
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
|
9128
9053
|
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
|
9129
9054
|
var createEmotionProps = function createEmotionProps(type, props) {
|
|
@@ -9140,28 +9065,21 @@ var createEmotionProps = function createEmotionProps(type, props) {
|
|
|
9140
9065
|
}
|
|
9141
9066
|
}
|
|
9142
9067
|
|
|
9143
|
-
newProps[typePropName] = type;
|
|
9144
|
-
|
|
9145
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
9146
|
-
var error = new Error();
|
|
9147
|
-
|
|
9148
|
-
if (error.stack) {
|
|
9149
|
-
// chrome
|
|
9150
|
-
var match = error.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z0-9$]+) /);
|
|
9151
|
-
|
|
9152
|
-
if (!match) {
|
|
9153
|
-
// safari and firefox
|
|
9154
|
-
match = error.stack.match(/.*\n([A-Z][A-Za-z0-9$]+)@/);
|
|
9155
|
-
}
|
|
9068
|
+
newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
|
|
9069
|
+
// the label hasn't already been computed
|
|
9156
9070
|
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
}
|
|
9071
|
+
if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
|
|
9072
|
+
var label = getLabelFromStackTrace(new Error().stack);
|
|
9073
|
+
if (label) newProps[labelPropName] = label;
|
|
9161
9074
|
}
|
|
9162
9075
|
|
|
9163
9076
|
return newProps;
|
|
9164
9077
|
};
|
|
9078
|
+
|
|
9079
|
+
var Noop$1 = function Noop() {
|
|
9080
|
+
return null;
|
|
9081
|
+
};
|
|
9082
|
+
|
|
9165
9083
|
var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
9166
9084
|
var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
|
|
9167
9085
|
// not passing the registered cache to serializeStyles because it would
|
|
@@ -9204,6 +9122,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
|
9204
9122
|
newProps.ref = ref;
|
|
9205
9123
|
newProps.className = className;
|
|
9206
9124
|
var ele = /*#__PURE__*/createElement(type, newProps);
|
|
9125
|
+
var possiblyStyleElement = /*#__PURE__*/createElement(Noop$1, null);
|
|
9207
9126
|
|
|
9208
9127
|
if (!isBrowser$1 && rules !== undefined) {
|
|
9209
9128
|
var _ref;
|
|
@@ -9216,12 +9135,13 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
|
9216
9135
|
next = next.next;
|
|
9217
9136
|
}
|
|
9218
9137
|
|
|
9219
|
-
|
|
9138
|
+
possiblyStyleElement = /*#__PURE__*/createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
9220
9139
|
__html: rules
|
|
9221
|
-
}, _ref.nonce = cache.sheet.nonce, _ref))
|
|
9222
|
-
}
|
|
9140
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
9141
|
+
} // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
|
|
9142
|
+
|
|
9223
9143
|
|
|
9224
|
-
return ele;
|
|
9144
|
+
return /*#__PURE__*/createElement(Fragment, null, possiblyStyleElement, ele);
|
|
9225
9145
|
});
|
|
9226
9146
|
|
|
9227
9147
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -9289,7 +9209,13 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
9289
9209
|
var before;
|
|
9290
9210
|
|
|
9291
9211
|
if (_this.tags.length === 0) {
|
|
9292
|
-
|
|
9212
|
+
if (_this.insertionPoint) {
|
|
9213
|
+
before = _this.insertionPoint.nextSibling;
|
|
9214
|
+
} else if (_this.prepend) {
|
|
9215
|
+
before = _this.container.firstChild;
|
|
9216
|
+
} else {
|
|
9217
|
+
before = _this.before;
|
|
9218
|
+
}
|
|
9293
9219
|
} else {
|
|
9294
9220
|
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
9295
9221
|
}
|
|
@@ -9307,6 +9233,7 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
9307
9233
|
this.key = options.key;
|
|
9308
9234
|
this.container = options.container;
|
|
9309
9235
|
this.prepend = options.prepend;
|
|
9236
|
+
this.insertionPoint = options.insertionPoint;
|
|
9310
9237
|
this.before = null;
|
|
9311
9238
|
}
|
|
9312
9239
|
|
|
@@ -9360,7 +9287,7 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
9360
9287
|
_proto.flush = function flush() {
|
|
9361
9288
|
// $FlowFixMe
|
|
9362
9289
|
this.tags.forEach(function (tag) {
|
|
9363
|
-
return tag.parentNode.removeChild(tag);
|
|
9290
|
+
return tag.parentNode && tag.parentNode.removeChild(tag);
|
|
9364
9291
|
});
|
|
9365
9292
|
this.tags = [];
|
|
9366
9293
|
this.ctr = 0;
|
|
@@ -9375,7 +9302,7 @@ var StyleSheet = /*#__PURE__*/function () {
|
|
|
9375
9302
|
|
|
9376
9303
|
var pkg = {
|
|
9377
9304
|
name: "@emotion/react",
|
|
9378
|
-
version: "11.
|
|
9305
|
+
version: "11.7.1",
|
|
9379
9306
|
main: "dist/emotion-react.cjs.js",
|
|
9380
9307
|
module: "dist/emotion-react.esm.js",
|
|
9381
9308
|
browser: {
|
|
@@ -9388,7 +9315,7 @@ var pkg = {
|
|
|
9388
9315
|
"dist",
|
|
9389
9316
|
"jsx-runtime",
|
|
9390
9317
|
"jsx-dev-runtime",
|
|
9391
|
-
"
|
|
9318
|
+
"_isolated-hnrs",
|
|
9392
9319
|
"types/*.d.ts",
|
|
9393
9320
|
"macro.js",
|
|
9394
9321
|
"macro.d.ts",
|
|
@@ -9402,9 +9329,9 @@ var pkg = {
|
|
|
9402
9329
|
},
|
|
9403
9330
|
dependencies: {
|
|
9404
9331
|
"@babel/runtime": "^7.13.10",
|
|
9405
|
-
"@emotion/cache": "^11.
|
|
9332
|
+
"@emotion/cache": "^11.7.1",
|
|
9406
9333
|
"@emotion/serialize": "^1.0.2",
|
|
9407
|
-
"@emotion/sheet": "^1.0
|
|
9334
|
+
"@emotion/sheet": "^1.1.0",
|
|
9408
9335
|
"@emotion/utils": "^1.0.0",
|
|
9409
9336
|
"@emotion/weak-memoize": "^0.2.5",
|
|
9410
9337
|
"hoist-non-react-statics": "^3.3.1"
|
|
@@ -9423,10 +9350,10 @@ var pkg = {
|
|
|
9423
9350
|
},
|
|
9424
9351
|
devDependencies: {
|
|
9425
9352
|
"@babel/core": "^7.13.10",
|
|
9426
|
-
"@emotion/css": "11.1
|
|
9427
|
-
"@emotion/css-prettifier": "1.0.
|
|
9353
|
+
"@emotion/css": "11.7.1",
|
|
9354
|
+
"@emotion/css-prettifier": "1.0.1",
|
|
9428
9355
|
"@emotion/server": "11.4.0",
|
|
9429
|
-
"@emotion/styled": "11.
|
|
9356
|
+
"@emotion/styled": "11.6.0",
|
|
9430
9357
|
"@types/react": "^16.9.11",
|
|
9431
9358
|
dtslint: "^0.3.0",
|
|
9432
9359
|
"html-tag-names": "^1.1.2",
|
|
@@ -9443,7 +9370,7 @@ var pkg = {
|
|
|
9443
9370
|
"./index.js",
|
|
9444
9371
|
"./jsx-runtime.js",
|
|
9445
9372
|
"./jsx-dev-runtime.js",
|
|
9446
|
-
"./
|
|
9373
|
+
"./_isolated-hnrs.js"
|
|
9447
9374
|
],
|
|
9448
9375
|
umdName: "emotionReact"
|
|
9449
9376
|
}
|
|
@@ -9663,6 +9590,10 @@ function merge(registered, css, className) {
|
|
|
9663
9590
|
return rawClassName + css(registeredStyles);
|
|
9664
9591
|
}
|
|
9665
9592
|
|
|
9593
|
+
var Noop = function Noop() {
|
|
9594
|
+
return null;
|
|
9595
|
+
};
|
|
9596
|
+
|
|
9666
9597
|
var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
|
|
9667
9598
|
var rules = '';
|
|
9668
9599
|
var serializedHashes = '';
|
|
@@ -9715,16 +9646,18 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
|
|
|
9715
9646
|
};
|
|
9716
9647
|
var ele = props.children(content);
|
|
9717
9648
|
hasRendered = true;
|
|
9649
|
+
var possiblyStyleElement = /*#__PURE__*/createElement(Noop, null);
|
|
9718
9650
|
|
|
9719
9651
|
if (!isBrowser$1 && rules.length !== 0) {
|
|
9720
9652
|
var _ref;
|
|
9721
9653
|
|
|
9722
|
-
|
|
9654
|
+
possiblyStyleElement = /*#__PURE__*/createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
|
|
9723
9655
|
__html: rules
|
|
9724
|
-
}, _ref.nonce = cache.sheet.nonce, _ref))
|
|
9725
|
-
}
|
|
9656
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
9657
|
+
} // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
|
|
9658
|
+
|
|
9726
9659
|
|
|
9727
|
-
return ele;
|
|
9660
|
+
return /*#__PURE__*/createElement(Fragment, null, possiblyStyleElement, ele);
|
|
9728
9661
|
});
|
|
9729
9662
|
|
|
9730
9663
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -9737,7 +9670,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
9737
9670
|
var isJest = typeof jest !== 'undefined';
|
|
9738
9671
|
|
|
9739
9672
|
if (isBrowser && !isJest) {
|
|
9740
|
-
|
|
9673
|
+
// globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
|
|
9674
|
+
var globalContext = // $FlowIgnore
|
|
9675
|
+
typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
|
|
9676
|
+
: isBrowser ? window : global;
|
|
9741
9677
|
var globalKey$1 = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
|
|
9742
9678
|
|
|
9743
9679
|
if (globalContext[globalKey$1]) {
|
|
@@ -9760,21 +9696,6 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
|
9760
9696
|
}));
|
|
9761
9697
|
}
|
|
9762
9698
|
|
|
9763
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
9764
|
-
if (source == null) return {};
|
|
9765
|
-
var target = {};
|
|
9766
|
-
var sourceKeys = Object.keys(source);
|
|
9767
|
-
var key, i;
|
|
9768
|
-
|
|
9769
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
9770
|
-
key = sourceKeys[i];
|
|
9771
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
9772
|
-
target[key] = source[key];
|
|
9773
|
-
}
|
|
9774
|
-
|
|
9775
|
-
return target;
|
|
9776
|
-
}
|
|
9777
|
-
|
|
9778
9699
|
function _objectWithoutProperties(source, excluded) {
|
|
9779
9700
|
if (source == null) return {};
|
|
9780
9701
|
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
@@ -9797,17 +9718,11 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
9797
9718
|
function _typeof$1(obj) {
|
|
9798
9719
|
"@babel/helpers - typeof";
|
|
9799
9720
|
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
}
|
|
9805
|
-
_typeof$1 = function _typeof(obj) {
|
|
9806
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
9807
|
-
};
|
|
9808
|
-
}
|
|
9809
|
-
|
|
9810
|
-
return _typeof$1(obj);
|
|
9721
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
9722
|
+
return typeof obj;
|
|
9723
|
+
} : function (obj) {
|
|
9724
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
9725
|
+
}, _typeof$1(obj);
|
|
9811
9726
|
}
|
|
9812
9727
|
|
|
9813
9728
|
function _classCallCheck$3(instance, Constructor) {
|
|
@@ -9829,29 +9744,26 @@ function _defineProperties(target, props) {
|
|
|
9829
9744
|
function _createClass$3(Constructor, protoProps, staticProps) {
|
|
9830
9745
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
9831
9746
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
9747
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
9748
|
+
writable: false
|
|
9749
|
+
});
|
|
9832
9750
|
return Constructor;
|
|
9833
9751
|
}
|
|
9834
9752
|
|
|
9835
|
-
function _setPrototypeOf(o, p) {
|
|
9836
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
9837
|
-
o.__proto__ = p;
|
|
9838
|
-
return o;
|
|
9839
|
-
};
|
|
9840
|
-
|
|
9841
|
-
return _setPrototypeOf(o, p);
|
|
9842
|
-
}
|
|
9843
|
-
|
|
9844
9753
|
function _inherits$3(subClass, superClass) {
|
|
9845
9754
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
9846
9755
|
throw new TypeError("Super expression must either be null or a function");
|
|
9847
9756
|
}
|
|
9848
9757
|
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
|
|
9758
|
+
Object.defineProperty(subClass, "prototype", {
|
|
9759
|
+
value: Object.create(superClass && superClass.prototype, {
|
|
9760
|
+
constructor: {
|
|
9761
|
+
value: subClass,
|
|
9762
|
+
writable: true,
|
|
9763
|
+
configurable: true
|
|
9764
|
+
}
|
|
9765
|
+
}),
|
|
9766
|
+
writable: false
|
|
9855
9767
|
});
|
|
9856
9768
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
9857
9769
|
}
|
|
@@ -10026,7 +9938,7 @@ function classNames(prefix, state, className) {
|
|
|
10026
9938
|
// ==============================
|
|
10027
9939
|
|
|
10028
9940
|
var cleanValue = function cleanValue(value) {
|
|
10029
|
-
if (isArray$
|
|
9941
|
+
if (isArray$2(value)) return value.filter(Boolean);
|
|
10030
9942
|
if (_typeof$1(value) === 'object' && value !== null) return [value];
|
|
10031
9943
|
return [];
|
|
10032
9944
|
}; // ==============================
|
|
@@ -10194,18 +10106,18 @@ var options = {
|
|
|
10194
10106
|
|
|
10195
10107
|
}; // check for SSR
|
|
10196
10108
|
|
|
10197
|
-
var w
|
|
10109
|
+
var w = typeof window !== 'undefined' ? window : {};
|
|
10198
10110
|
|
|
10199
|
-
if (w
|
|
10200
|
-
w
|
|
10201
|
-
w
|
|
10111
|
+
if (w.addEventListener && w.removeEventListener) {
|
|
10112
|
+
w.addEventListener('p', noop$1, options);
|
|
10113
|
+
w.removeEventListener('p', noop$1, false);
|
|
10202
10114
|
}
|
|
10203
10115
|
|
|
10204
10116
|
var supportsPassiveEvents = passiveOptionAccessed;
|
|
10205
10117
|
function notNullish(item) {
|
|
10206
10118
|
return item != null;
|
|
10207
10119
|
}
|
|
10208
|
-
function isArray$
|
|
10120
|
+
function isArray$2(arg) {
|
|
10209
10121
|
return Array.isArray(arg);
|
|
10210
10122
|
}
|
|
10211
10123
|
function valueTernary(isMulti, multiValue, singleValue) {
|
|
@@ -10712,10 +10624,11 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
10712
10624
|
var valueContainerCSS = function valueContainerCSS(_ref2) {
|
|
10713
10625
|
var spacing = _ref2.theme.spacing,
|
|
10714
10626
|
isMulti = _ref2.isMulti,
|
|
10715
|
-
hasValue = _ref2.hasValue
|
|
10627
|
+
hasValue = _ref2.hasValue,
|
|
10628
|
+
controlShouldRenderValue = _ref2.selectProps.controlShouldRenderValue;
|
|
10716
10629
|
return {
|
|
10717
10630
|
alignItems: 'center',
|
|
10718
|
-
display: isMulti && hasValue ? 'flex' : 'grid',
|
|
10631
|
+
display: isMulti && hasValue && controlShouldRenderValue ? 'flex' : 'grid',
|
|
10719
10632
|
flex: 1,
|
|
10720
10633
|
flexWrap: 'wrap',
|
|
10721
10634
|
padding: "".concat(spacing.baseUnit / 2, "px ").concat(spacing.baseUnit * 2, "px"),
|
|
@@ -11081,6 +10994,7 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
11081
10994
|
var _excluded$4 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
|
|
11082
10995
|
var inputCSS = function inputCSS(_ref) {
|
|
11083
10996
|
var isDisabled = _ref.isDisabled,
|
|
10997
|
+
value = _ref.value,
|
|
11084
10998
|
_ref$theme = _ref.theme,
|
|
11085
10999
|
spacing = _ref$theme.spacing,
|
|
11086
11000
|
colors = _ref$theme.colors;
|
|
@@ -11089,7 +11003,10 @@ var inputCSS = function inputCSS(_ref) {
|
|
|
11089
11003
|
paddingBottom: spacing.baseUnit / 2,
|
|
11090
11004
|
paddingTop: spacing.baseUnit / 2,
|
|
11091
11005
|
visibility: isDisabled ? 'hidden' : 'visible',
|
|
11092
|
-
color: colors.neutral80
|
|
11006
|
+
color: colors.neutral80,
|
|
11007
|
+
// force css to recompute when value change due to @emotion bug.
|
|
11008
|
+
// We can remove it whenever the bug is fixed.
|
|
11009
|
+
transform: value ? 'translateZ(0)' : ''
|
|
11093
11010
|
}, containerStyle);
|
|
11094
11011
|
};
|
|
11095
11012
|
var spacingStyle = {
|
|
@@ -12682,10 +12599,12 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
12682
12599
|
_this.setValue = function (newValue, action, option) {
|
|
12683
12600
|
var _this$props2 = _this.props,
|
|
12684
12601
|
closeMenuOnSelect = _this$props2.closeMenuOnSelect,
|
|
12685
|
-
isMulti = _this$props2.isMulti
|
|
12602
|
+
isMulti = _this$props2.isMulti,
|
|
12603
|
+
inputValue = _this$props2.inputValue;
|
|
12686
12604
|
|
|
12687
12605
|
_this.onInputChange('', {
|
|
12688
|
-
action: 'set-value'
|
|
12606
|
+
action: 'set-value',
|
|
12607
|
+
prevInputValue: inputValue
|
|
12689
12608
|
});
|
|
12690
12609
|
|
|
12691
12610
|
if (closeMenuOnSelect) {
|
|
@@ -13013,6 +12932,7 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13013
12932
|
};
|
|
13014
12933
|
|
|
13015
12934
|
_this.handleInputChange = function (event) {
|
|
12935
|
+
var prevInputValue = _this.props.inputValue;
|
|
13016
12936
|
var inputValue = event.currentTarget.value;
|
|
13017
12937
|
|
|
13018
12938
|
_this.setState({
|
|
@@ -13020,7 +12940,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13020
12940
|
});
|
|
13021
12941
|
|
|
13022
12942
|
_this.onInputChange(inputValue, {
|
|
13023
|
-
action: 'input-change'
|
|
12943
|
+
action: 'input-change',
|
|
12944
|
+
prevInputValue: prevInputValue
|
|
13024
12945
|
});
|
|
13025
12946
|
|
|
13026
12947
|
if (!_this.props.menuIsOpen) {
|
|
@@ -13046,6 +12967,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13046
12967
|
};
|
|
13047
12968
|
|
|
13048
12969
|
_this.onInputBlur = function (event) {
|
|
12970
|
+
var prevInputValue = _this.props.inputValue;
|
|
12971
|
+
|
|
13049
12972
|
if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
|
|
13050
12973
|
_this.inputRef.focus();
|
|
13051
12974
|
|
|
@@ -13057,7 +12980,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13057
12980
|
}
|
|
13058
12981
|
|
|
13059
12982
|
_this.onInputChange('', {
|
|
13060
|
-
action: 'input-blur'
|
|
12983
|
+
action: 'input-blur',
|
|
12984
|
+
prevInputValue: prevInputValue
|
|
13061
12985
|
});
|
|
13062
12986
|
|
|
13063
12987
|
_this.onMenuClose();
|
|
@@ -13182,7 +13106,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13182
13106
|
});
|
|
13183
13107
|
|
|
13184
13108
|
_this.onInputChange('', {
|
|
13185
|
-
action: 'menu-close'
|
|
13109
|
+
action: 'menu-close',
|
|
13110
|
+
prevInputValue: inputValue
|
|
13186
13111
|
});
|
|
13187
13112
|
|
|
13188
13113
|
_this.onMenuClose();
|
|
@@ -13330,7 +13255,8 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13330
13255
|
key: "onMenuClose",
|
|
13331
13256
|
value: function onMenuClose() {
|
|
13332
13257
|
this.onInputChange('', {
|
|
13333
|
-
action: 'menu-close'
|
|
13258
|
+
action: 'menu-close',
|
|
13259
|
+
prevInputValue: this.props.inputValue
|
|
13334
13260
|
});
|
|
13335
13261
|
this.props.onMenuClose();
|
|
13336
13262
|
}
|
|
@@ -13735,6 +13661,7 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13735
13661
|
if (isMulti) {
|
|
13736
13662
|
return selectValue.map(function (opt, index) {
|
|
13737
13663
|
var isOptionFocused = opt === focusedValue;
|
|
13664
|
+
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
13738
13665
|
return /*#__PURE__*/React__default.createElement(MultiValue, _extends$1({}, commonProps, {
|
|
13739
13666
|
components: {
|
|
13740
13667
|
Container: MultiValueContainer,
|
|
@@ -13743,7 +13670,7 @@ var Select$2 = /*#__PURE__*/function (_Component) {
|
|
|
13743
13670
|
},
|
|
13744
13671
|
isFocused: isOptionFocused,
|
|
13745
13672
|
isDisabled: isDisabled,
|
|
13746
|
-
key:
|
|
13673
|
+
key: key,
|
|
13747
13674
|
index: index,
|
|
13748
13675
|
removeProps: {
|
|
13749
13676
|
onClick: function onClick() {
|
|
@@ -15544,18 +15471,17 @@ function _interopRequireDefault(obj) {
|
|
|
15544
15471
|
};
|
|
15545
15472
|
}
|
|
15546
15473
|
|
|
15547
|
-
module.exports = _interopRequireDefault;
|
|
15548
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
15474
|
+
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
15549
15475
|
}(interopRequireDefault));
|
|
15550
15476
|
|
|
15551
15477
|
var registerCSSInterfaceWithDefaultTheme = {};
|
|
15552
15478
|
|
|
15553
15479
|
var dist = {};
|
|
15554
15480
|
|
|
15555
|
-
var toStr$
|
|
15481
|
+
var toStr$a = Object.prototype.toString;
|
|
15556
15482
|
|
|
15557
15483
|
var isArguments = function isArguments(value) {
|
|
15558
|
-
var str = toStr$
|
|
15484
|
+
var str = toStr$a.call(value);
|
|
15559
15485
|
var isArgs = str === '[object Arguments]';
|
|
15560
15486
|
if (!isArgs) {
|
|
15561
15487
|
isArgs = str !== '[object Array]' &&
|
|
@@ -15563,7 +15489,7 @@ var isArguments = function isArguments(value) {
|
|
|
15563
15489
|
typeof value === 'object' &&
|
|
15564
15490
|
typeof value.length === 'number' &&
|
|
15565
15491
|
value.length >= 0 &&
|
|
15566
|
-
toStr$
|
|
15492
|
+
toStr$a.call(value.callee) === '[object Function]';
|
|
15567
15493
|
}
|
|
15568
15494
|
return isArgs;
|
|
15569
15495
|
};
|
|
@@ -15572,7 +15498,7 @@ var keysShim$1;
|
|
|
15572
15498
|
if (!Object.keys) {
|
|
15573
15499
|
// modified from https://github.com/es-shims/es5-shim
|
|
15574
15500
|
var has$8 = Object.prototype.hasOwnProperty;
|
|
15575
|
-
var toStr$
|
|
15501
|
+
var toStr$9 = Object.prototype.toString;
|
|
15576
15502
|
var isArgs$1 = isArguments; // eslint-disable-line global-require
|
|
15577
15503
|
var isEnumerable$1 = Object.prototype.propertyIsEnumerable;
|
|
15578
15504
|
var hasDontEnumBug = !isEnumerable$1.call({ toString: null }, 'toString');
|
|
@@ -15647,9 +15573,9 @@ if (!Object.keys) {
|
|
|
15647
15573
|
|
|
15648
15574
|
keysShim$1 = function keys(object) {
|
|
15649
15575
|
var isObject = object !== null && typeof object === 'object';
|
|
15650
|
-
var isFunction = toStr$
|
|
15576
|
+
var isFunction = toStr$9.call(object) === '[object Function]';
|
|
15651
15577
|
var isArguments = isArgs$1(object);
|
|
15652
|
-
var isString = isObject && toStr$
|
|
15578
|
+
var isString = isObject && toStr$9.call(object) === '[object String]';
|
|
15653
15579
|
var theKeys = [];
|
|
15654
15580
|
|
|
15655
15581
|
if (!isObject && !isFunction && !isArguments) {
|
|
@@ -15689,7 +15615,7 @@ if (!Object.keys) {
|
|
|
15689
15615
|
}
|
|
15690
15616
|
var implementation$p = keysShim$1;
|
|
15691
15617
|
|
|
15692
|
-
var slice$
|
|
15618
|
+
var slice$1 = Array.prototype.slice;
|
|
15693
15619
|
var isArgs = isArguments;
|
|
15694
15620
|
|
|
15695
15621
|
var origKeys = Object.keys;
|
|
@@ -15707,7 +15633,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
15707
15633
|
if (!keysWorksWithArguments) {
|
|
15708
15634
|
Object.keys = function keys(object) { // eslint-disable-line func-name-matching
|
|
15709
15635
|
if (isArgs(object)) {
|
|
15710
|
-
return originalKeys(slice$
|
|
15636
|
+
return originalKeys(slice$1.call(object));
|
|
15711
15637
|
}
|
|
15712
15638
|
return originalKeys(object);
|
|
15713
15639
|
};
|
|
@@ -15723,12 +15649,12 @@ var objectKeys = keysShim;
|
|
|
15723
15649
|
var keys$1 = objectKeys;
|
|
15724
15650
|
var hasSymbols$6 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
15725
15651
|
|
|
15726
|
-
var toStr$
|
|
15652
|
+
var toStr$8 = Object.prototype.toString;
|
|
15727
15653
|
var concat = Array.prototype.concat;
|
|
15728
15654
|
var origDefineProperty = Object.defineProperty;
|
|
15729
15655
|
|
|
15730
15656
|
var isFunction = function (fn) {
|
|
15731
|
-
return typeof fn === 'function' && toStr$
|
|
15657
|
+
return typeof fn === 'function' && toStr$8.call(fn) === '[object Function]';
|
|
15732
15658
|
};
|
|
15733
15659
|
|
|
15734
15660
|
var arePropertyDescriptorsSupported = function () {
|
|
@@ -15782,23 +15708,23 @@ var callBind$8 = {exports: {}};
|
|
|
15782
15708
|
/* eslint no-invalid-this: 1 */
|
|
15783
15709
|
|
|
15784
15710
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
15785
|
-
var slice
|
|
15786
|
-
var toStr$
|
|
15711
|
+
var slice = Array.prototype.slice;
|
|
15712
|
+
var toStr$7 = Object.prototype.toString;
|
|
15787
15713
|
var funcType = '[object Function]';
|
|
15788
15714
|
|
|
15789
15715
|
var implementation$o = function bind(that) {
|
|
15790
15716
|
var target = this;
|
|
15791
|
-
if (typeof target !== 'function' || toStr$
|
|
15717
|
+
if (typeof target !== 'function' || toStr$7.call(target) !== funcType) {
|
|
15792
15718
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
15793
15719
|
}
|
|
15794
|
-
var args = slice
|
|
15720
|
+
var args = slice.call(arguments, 1);
|
|
15795
15721
|
|
|
15796
15722
|
var bound;
|
|
15797
15723
|
var binder = function () {
|
|
15798
15724
|
if (this instanceof bound) {
|
|
15799
15725
|
var result = target.apply(
|
|
15800
15726
|
this,
|
|
15801
|
-
args.concat(slice
|
|
15727
|
+
args.concat(slice.call(arguments))
|
|
15802
15728
|
);
|
|
15803
15729
|
if (Object(result) === result) {
|
|
15804
15730
|
return result;
|
|
@@ -15807,7 +15733,7 @@ var implementation$o = function bind(that) {
|
|
|
15807
15733
|
} else {
|
|
15808
15734
|
return target.apply(
|
|
15809
15735
|
that,
|
|
15810
|
-
args.concat(slice
|
|
15736
|
+
args.concat(slice.call(arguments))
|
|
15811
15737
|
);
|
|
15812
15738
|
}
|
|
15813
15739
|
};
|
|
@@ -15893,7 +15819,7 @@ var src$1 = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
15893
15819
|
|
|
15894
15820
|
var undefined$1;
|
|
15895
15821
|
|
|
15896
|
-
var $SyntaxError$
|
|
15822
|
+
var $SyntaxError$2 = SyntaxError;
|
|
15897
15823
|
var $Function = Function;
|
|
15898
15824
|
var $TypeError$h = TypeError;
|
|
15899
15825
|
|
|
@@ -15994,7 +15920,7 @@ var INTRINSICS = {
|
|
|
15994
15920
|
'%String%': String,
|
|
15995
15921
|
'%StringIteratorPrototype%': hasSymbols$4 ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
15996
15922
|
'%Symbol%': hasSymbols$4 ? Symbol : undefined$1,
|
|
15997
|
-
'%SyntaxError%': $SyntaxError$
|
|
15923
|
+
'%SyntaxError%': $SyntaxError$2,
|
|
15998
15924
|
'%ThrowTypeError%': ThrowTypeError,
|
|
15999
15925
|
'%TypedArray%': TypedArray,
|
|
16000
15926
|
'%TypeError%': $TypeError$h,
|
|
@@ -16089,21 +16015,21 @@ var LEGACY_ALIASES = {
|
|
|
16089
16015
|
|
|
16090
16016
|
var bind = functionBind;
|
|
16091
16017
|
var hasOwn$1 = src$1;
|
|
16092
|
-
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
16018
|
+
var $concat$1 = bind.call(Function.call, Array.prototype.concat);
|
|
16093
16019
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
16094
16020
|
var $replace$2 = bind.call(Function.call, String.prototype.replace);
|
|
16095
|
-
var $strSlice$
|
|
16021
|
+
var $strSlice$1 = bind.call(Function.call, String.prototype.slice);
|
|
16096
16022
|
|
|
16097
16023
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
16098
16024
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
16099
16025
|
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
16100
16026
|
var stringToPath = function stringToPath(string) {
|
|
16101
|
-
var first = $strSlice$
|
|
16102
|
-
var last = $strSlice$
|
|
16027
|
+
var first = $strSlice$1(string, 0, 1);
|
|
16028
|
+
var last = $strSlice$1(string, -1);
|
|
16103
16029
|
if (first === '%' && last !== '%') {
|
|
16104
|
-
throw new $SyntaxError$
|
|
16030
|
+
throw new $SyntaxError$2('invalid intrinsic syntax, expected closing `%`');
|
|
16105
16031
|
} else if (last === '%' && first !== '%') {
|
|
16106
|
-
throw new $SyntaxError$
|
|
16032
|
+
throw new $SyntaxError$2('invalid intrinsic syntax, expected opening `%`');
|
|
16107
16033
|
}
|
|
16108
16034
|
var result = [];
|
|
16109
16035
|
$replace$2(string, rePropName, function (match, number, quote, subString) {
|
|
@@ -16137,7 +16063,7 @@ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
|
16137
16063
|
};
|
|
16138
16064
|
}
|
|
16139
16065
|
|
|
16140
|
-
throw new $SyntaxError$
|
|
16066
|
+
throw new $SyntaxError$2('intrinsic ' + name + ' does not exist!');
|
|
16141
16067
|
};
|
|
16142
16068
|
|
|
16143
16069
|
var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
@@ -16159,13 +16085,13 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
|
16159
16085
|
var alias = intrinsic.alias;
|
|
16160
16086
|
if (alias) {
|
|
16161
16087
|
intrinsicBaseName = alias[0];
|
|
16162
|
-
$spliceApply(parts, $concat([0, 1], alias));
|
|
16088
|
+
$spliceApply(parts, $concat$1([0, 1], alias));
|
|
16163
16089
|
}
|
|
16164
16090
|
|
|
16165
16091
|
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
16166
16092
|
var part = parts[i];
|
|
16167
|
-
var first = $strSlice$
|
|
16168
|
-
var last = $strSlice$
|
|
16093
|
+
var first = $strSlice$1(part, 0, 1);
|
|
16094
|
+
var last = $strSlice$1(part, -1);
|
|
16169
16095
|
if (
|
|
16170
16096
|
(
|
|
16171
16097
|
(first === '"' || first === "'" || first === '`')
|
|
@@ -16173,7 +16099,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
|
16173
16099
|
)
|
|
16174
16100
|
&& first !== last
|
|
16175
16101
|
) {
|
|
16176
|
-
throw new $SyntaxError$
|
|
16102
|
+
throw new $SyntaxError$2('property names with quotes must have matching quotes');
|
|
16177
16103
|
}
|
|
16178
16104
|
if (part === 'constructor' || !isOwn) {
|
|
16179
16105
|
skipFurtherCaching = true;
|
|
@@ -16269,6 +16195,140 @@ if ($defineProperty) {
|
|
|
16269
16195
|
}
|
|
16270
16196
|
}(callBind$8));
|
|
16271
16197
|
|
|
16198
|
+
var GetIntrinsic$u = getIntrinsic;
|
|
16199
|
+
|
|
16200
|
+
var $abs$1 = GetIntrinsic$u('%Math.abs%');
|
|
16201
|
+
|
|
16202
|
+
// http://262.ecma-international.org/5.1/#sec-5.2
|
|
16203
|
+
|
|
16204
|
+
var abs$3 = function abs(x) {
|
|
16205
|
+
return $abs$1(x);
|
|
16206
|
+
};
|
|
16207
|
+
|
|
16208
|
+
// var modulo = require('./modulo');
|
|
16209
|
+
var $floor$2 = Math.floor;
|
|
16210
|
+
|
|
16211
|
+
// http://262.ecma-international.org/5.1/#sec-5.2
|
|
16212
|
+
|
|
16213
|
+
var floor$3 = function floor(x) {
|
|
16214
|
+
// return x - modulo(x, 1);
|
|
16215
|
+
return $floor$2(x);
|
|
16216
|
+
};
|
|
16217
|
+
|
|
16218
|
+
// https://262.ecma-international.org/5.1/#sec-8
|
|
16219
|
+
|
|
16220
|
+
var Type$e = function Type(x) {
|
|
16221
|
+
if (x === null) {
|
|
16222
|
+
return 'Null';
|
|
16223
|
+
}
|
|
16224
|
+
if (typeof x === 'undefined') {
|
|
16225
|
+
return 'Undefined';
|
|
16226
|
+
}
|
|
16227
|
+
if (typeof x === 'function' || typeof x === 'object') {
|
|
16228
|
+
return 'Object';
|
|
16229
|
+
}
|
|
16230
|
+
if (typeof x === 'number') {
|
|
16231
|
+
return 'Number';
|
|
16232
|
+
}
|
|
16233
|
+
if (typeof x === 'boolean') {
|
|
16234
|
+
return 'Boolean';
|
|
16235
|
+
}
|
|
16236
|
+
if (typeof x === 'string') {
|
|
16237
|
+
return 'String';
|
|
16238
|
+
}
|
|
16239
|
+
};
|
|
16240
|
+
|
|
16241
|
+
var ES5Type = Type$e;
|
|
16242
|
+
|
|
16243
|
+
// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
|
|
16244
|
+
|
|
16245
|
+
var Type$d = function Type(x) {
|
|
16246
|
+
if (typeof x === 'symbol') {
|
|
16247
|
+
return 'Symbol';
|
|
16248
|
+
}
|
|
16249
|
+
if (typeof x === 'bigint') {
|
|
16250
|
+
return 'BigInt';
|
|
16251
|
+
}
|
|
16252
|
+
return ES5Type(x);
|
|
16253
|
+
};
|
|
16254
|
+
|
|
16255
|
+
var _isNaN = Number.isNaN || function isNaN(a) {
|
|
16256
|
+
return a !== a;
|
|
16257
|
+
};
|
|
16258
|
+
|
|
16259
|
+
var $isNaN$3 = Number.isNaN || function (a) { return a !== a; };
|
|
16260
|
+
|
|
16261
|
+
var _isFinite = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN$3(x) && x !== Infinity && x !== -Infinity; };
|
|
16262
|
+
|
|
16263
|
+
var abs$2 = abs$3;
|
|
16264
|
+
var floor$2 = floor$3;
|
|
16265
|
+
var Type$c = Type$d;
|
|
16266
|
+
|
|
16267
|
+
var $isNaN$2 = _isNaN;
|
|
16268
|
+
var $isFinite$1 = _isFinite;
|
|
16269
|
+
|
|
16270
|
+
// https://tc39.es/ecma262/#sec-isintegralnumber
|
|
16271
|
+
|
|
16272
|
+
var IsIntegralNumber$2 = function IsIntegralNumber(argument) {
|
|
16273
|
+
if (Type$c(argument) !== 'Number' || $isNaN$2(argument) || !$isFinite$1(argument)) {
|
|
16274
|
+
return false;
|
|
16275
|
+
}
|
|
16276
|
+
var absValue = abs$2(argument);
|
|
16277
|
+
return floor$2(absValue) === absValue;
|
|
16278
|
+
};
|
|
16279
|
+
|
|
16280
|
+
var GetIntrinsic$t = getIntrinsic;
|
|
16281
|
+
|
|
16282
|
+
var $ArrayPrototype = GetIntrinsic$t('%Array.prototype%');
|
|
16283
|
+
var $RangeError = GetIntrinsic$t('%RangeError%');
|
|
16284
|
+
var $SyntaxError$1 = GetIntrinsic$t('%SyntaxError%');
|
|
16285
|
+
var $TypeError$g = GetIntrinsic$t('%TypeError%');
|
|
16286
|
+
|
|
16287
|
+
var IsIntegralNumber$1 = IsIntegralNumber$2;
|
|
16288
|
+
|
|
16289
|
+
var MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;
|
|
16290
|
+
|
|
16291
|
+
var $setProto = GetIntrinsic$t('%Object.setPrototypeOf%', true) || (
|
|
16292
|
+
// eslint-disable-next-line no-proto, no-negated-condition
|
|
16293
|
+
[].__proto__ !== $ArrayPrototype
|
|
16294
|
+
? null
|
|
16295
|
+
: function (O, proto) {
|
|
16296
|
+
O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign
|
|
16297
|
+
return O;
|
|
16298
|
+
}
|
|
16299
|
+
);
|
|
16300
|
+
|
|
16301
|
+
// https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate
|
|
16302
|
+
|
|
16303
|
+
var ArrayCreate$1 = function ArrayCreate(length) {
|
|
16304
|
+
if (!IsIntegralNumber$1(length) || length < 0) {
|
|
16305
|
+
throw new $TypeError$g('Assertion failed: `length` must be an integer Number >= 0');
|
|
16306
|
+
}
|
|
16307
|
+
if (length > MAX_ARRAY_LENGTH) {
|
|
16308
|
+
throw new $RangeError('length is greater than (2**32 - 1)');
|
|
16309
|
+
}
|
|
16310
|
+
var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;
|
|
16311
|
+
var A = []; // steps 3, 5
|
|
16312
|
+
if (proto !== $ArrayPrototype) { // step 4
|
|
16313
|
+
if (!$setProto) {
|
|
16314
|
+
throw new $SyntaxError$1('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');
|
|
16315
|
+
}
|
|
16316
|
+
$setProto(A, proto);
|
|
16317
|
+
}
|
|
16318
|
+
if (length !== 0) { // bypasses the need for step 6
|
|
16319
|
+
A.length = length;
|
|
16320
|
+
}
|
|
16321
|
+
/* step 6, the above as a shortcut for the below
|
|
16322
|
+
OrdinaryDefineOwnProperty(A, 'length', {
|
|
16323
|
+
'[[Configurable]]': false,
|
|
16324
|
+
'[[Enumerable]]': false,
|
|
16325
|
+
'[[Value]]': length,
|
|
16326
|
+
'[[Writable]]': true
|
|
16327
|
+
});
|
|
16328
|
+
*/
|
|
16329
|
+
return A;
|
|
16330
|
+
};
|
|
16331
|
+
|
|
16272
16332
|
var util$1 = {};
|
|
16273
16333
|
|
|
16274
16334
|
var isBuffer = function isBuffer(arg) {
|
|
@@ -17034,11 +17094,24 @@ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
|
17034
17094
|
var booleanValueOf = Boolean.prototype.valueOf;
|
|
17035
17095
|
var objectToString$2 = Object.prototype.toString;
|
|
17036
17096
|
var functionToString = Function.prototype.toString;
|
|
17037
|
-
var match = String.prototype.match;
|
|
17097
|
+
var $match$1 = String.prototype.match;
|
|
17098
|
+
var $slice$1 = String.prototype.slice;
|
|
17099
|
+
var $replace$1 = String.prototype.replace;
|
|
17100
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
17101
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
17102
|
+
var $test$1 = RegExp.prototype.test;
|
|
17103
|
+
var $concat = Array.prototype.concat;
|
|
17104
|
+
var $join = Array.prototype.join;
|
|
17105
|
+
var $arrSlice = Array.prototype.slice;
|
|
17106
|
+
var $floor$1 = Math.floor;
|
|
17038
17107
|
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
|
|
17039
17108
|
var gOPS = Object.getOwnPropertySymbols;
|
|
17040
17109
|
var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
|
|
17041
17110
|
var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
|
|
17111
|
+
// ie, `has-tostringtag/shams
|
|
17112
|
+
var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
|
|
17113
|
+
? Symbol.toStringTag
|
|
17114
|
+
: null;
|
|
17042
17115
|
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
17043
17116
|
|
|
17044
17117
|
var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
|
|
@@ -17049,9 +17122,30 @@ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPr
|
|
|
17049
17122
|
: null
|
|
17050
17123
|
);
|
|
17051
17124
|
|
|
17125
|
+
function addNumericSeparator(num, str) {
|
|
17126
|
+
if (
|
|
17127
|
+
num === Infinity
|
|
17128
|
+
|| num === -Infinity
|
|
17129
|
+
|| num !== num
|
|
17130
|
+
|| (num && num > -1000 && num < 1000)
|
|
17131
|
+
|| $test$1.call(/e/, str)
|
|
17132
|
+
) {
|
|
17133
|
+
return str;
|
|
17134
|
+
}
|
|
17135
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
17136
|
+
if (typeof num === 'number') {
|
|
17137
|
+
var int = num < 0 ? -$floor$1(-num) : $floor$1(num); // trunc(num)
|
|
17138
|
+
if (int !== num) {
|
|
17139
|
+
var intStr = String(int);
|
|
17140
|
+
var dec = $slice$1.call(str, intStr.length + 1);
|
|
17141
|
+
return $replace$1.call(intStr, sepRegex, '$&_') + '.' + $replace$1.call($replace$1.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
|
|
17142
|
+
}
|
|
17143
|
+
}
|
|
17144
|
+
return $replace$1.call(str, sepRegex, '$&_');
|
|
17145
|
+
}
|
|
17146
|
+
|
|
17052
17147
|
var inspectCustom = util_inspect.custom;
|
|
17053
17148
|
var inspectSymbol = inspectCustom && isSymbol$5(inspectCustom) ? inspectCustom : null;
|
|
17054
|
-
var toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;
|
|
17055
17149
|
|
|
17056
17150
|
var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
17057
17151
|
var opts = options || {};
|
|
@@ -17078,8 +17172,12 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
17078
17172
|
&& opts.indent !== '\t'
|
|
17079
17173
|
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
|
|
17080
17174
|
) {
|
|
17081
|
-
throw new TypeError('
|
|
17175
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
17176
|
+
}
|
|
17177
|
+
if (has$7(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
|
|
17178
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
17082
17179
|
}
|
|
17180
|
+
var numericSeparator = opts.numericSeparator;
|
|
17083
17181
|
|
|
17084
17182
|
if (typeof obj === 'undefined') {
|
|
17085
17183
|
return 'undefined';
|
|
@@ -17098,16 +17196,18 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
17098
17196
|
if (obj === 0) {
|
|
17099
17197
|
return Infinity / obj > 0 ? '0' : '-0';
|
|
17100
17198
|
}
|
|
17101
|
-
|
|
17199
|
+
var str = String(obj);
|
|
17200
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
17102
17201
|
}
|
|
17103
17202
|
if (typeof obj === 'bigint') {
|
|
17104
|
-
|
|
17203
|
+
var bigIntStr = String(obj) + 'n';
|
|
17204
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
17105
17205
|
}
|
|
17106
17206
|
|
|
17107
17207
|
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
|
|
17108
17208
|
if (typeof depth === 'undefined') { depth = 0; }
|
|
17109
17209
|
if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
|
|
17110
|
-
return isArray(obj) ? '[Array]' : '[Object]';
|
|
17210
|
+
return isArray$1(obj) ? '[Array]' : '[Object]';
|
|
17111
17211
|
}
|
|
17112
17212
|
|
|
17113
17213
|
var indent = getIndent(opts, depth);
|
|
@@ -17120,7 +17220,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
17120
17220
|
|
|
17121
17221
|
function inspect(value, from, noIndent) {
|
|
17122
17222
|
if (from) {
|
|
17123
|
-
seen =
|
|
17223
|
+
seen = $arrSlice.call(seen);
|
|
17124
17224
|
seen.push(from);
|
|
17125
17225
|
}
|
|
17126
17226
|
if (noIndent) {
|
|
@@ -17138,35 +17238,38 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
17138
17238
|
if (typeof obj === 'function') {
|
|
17139
17239
|
var name = nameOf(obj);
|
|
17140
17240
|
var keys = arrObjKeys(obj, inspect);
|
|
17141
|
-
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' +
|
|
17241
|
+
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
|
|
17142
17242
|
}
|
|
17143
17243
|
if (isSymbol$5(obj)) {
|
|
17144
|
-
var symString = hasShammedSymbols ? String(obj)
|
|
17244
|
+
var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
|
|
17145
17245
|
return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
17146
17246
|
}
|
|
17147
17247
|
if (isElement(obj)) {
|
|
17148
|
-
var s = '<' + String(obj.nodeName)
|
|
17248
|
+
var s = '<' + $toLowerCase.call(String(obj.nodeName));
|
|
17149
17249
|
var attrs = obj.attributes || [];
|
|
17150
17250
|
for (var i = 0; i < attrs.length; i++) {
|
|
17151
17251
|
s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
|
|
17152
17252
|
}
|
|
17153
17253
|
s += '>';
|
|
17154
17254
|
if (obj.childNodes && obj.childNodes.length) { s += '...'; }
|
|
17155
|
-
s += '</' + String(obj.nodeName)
|
|
17255
|
+
s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
|
|
17156
17256
|
return s;
|
|
17157
17257
|
}
|
|
17158
|
-
if (isArray(obj)) {
|
|
17258
|
+
if (isArray$1(obj)) {
|
|
17159
17259
|
if (obj.length === 0) { return '[]'; }
|
|
17160
17260
|
var xs = arrObjKeys(obj, inspect);
|
|
17161
17261
|
if (indent && !singleLineValues(xs)) {
|
|
17162
17262
|
return '[' + indentedJoin(xs, indent) + ']';
|
|
17163
17263
|
}
|
|
17164
|
-
return '[ ' +
|
|
17264
|
+
return '[ ' + $join.call(xs, ', ') + ' ]';
|
|
17165
17265
|
}
|
|
17166
17266
|
if (isError(obj)) {
|
|
17167
17267
|
var parts = arrObjKeys(obj, inspect);
|
|
17268
|
+
if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
|
|
17269
|
+
return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
|
|
17270
|
+
}
|
|
17168
17271
|
if (parts.length === 0) { return '[' + String(obj) + ']'; }
|
|
17169
|
-
return '{ [' + String(obj) + '] ' +
|
|
17272
|
+
return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
|
|
17170
17273
|
}
|
|
17171
17274
|
if (typeof obj === 'object' && customInspect) {
|
|
17172
17275
|
if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
|
|
@@ -17214,14 +17317,14 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
17214
17317
|
var ys = arrObjKeys(obj, inspect);
|
|
17215
17318
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
17216
17319
|
var protoTag = obj instanceof Object ? '' : 'null prototype';
|
|
17217
|
-
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr$
|
|
17320
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice$1.call(toStr$6(obj), 8, -1) : protoTag ? 'Object' : '';
|
|
17218
17321
|
var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
|
|
17219
|
-
var tag = constructorTag + (stringTag || protoTag ? '[' +
|
|
17322
|
+
var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
|
|
17220
17323
|
if (ys.length === 0) { return tag + '{}'; }
|
|
17221
17324
|
if (indent) {
|
|
17222
17325
|
return tag + '{' + indentedJoin(ys, indent) + '}';
|
|
17223
17326
|
}
|
|
17224
|
-
return tag + '{ ' +
|
|
17327
|
+
return tag + '{ ' + $join.call(ys, ', ') + ' }';
|
|
17225
17328
|
}
|
|
17226
17329
|
return String(obj);
|
|
17227
17330
|
};
|
|
@@ -17232,16 +17335,16 @@ function wrapQuotes(s, defaultStyle, opts) {
|
|
|
17232
17335
|
}
|
|
17233
17336
|
|
|
17234
17337
|
function quote(s) {
|
|
17235
|
-
return String(s)
|
|
17338
|
+
return $replace$1.call(String(s), /"/g, '"');
|
|
17236
17339
|
}
|
|
17237
17340
|
|
|
17238
|
-
function isArray(obj) { return toStr$
|
|
17239
|
-
function isDate$1(obj) { return toStr$
|
|
17240
|
-
function isRegExp(obj) { return toStr$
|
|
17241
|
-
function isError(obj) { return toStr$
|
|
17242
|
-
function isString(obj) { return toStr$
|
|
17243
|
-
function isNumber(obj) { return toStr$
|
|
17244
|
-
function isBoolean(obj) { return toStr$
|
|
17341
|
+
function isArray$1(obj) { return toStr$6(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17342
|
+
function isDate$1(obj) { return toStr$6(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17343
|
+
function isRegExp(obj) { return toStr$6(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17344
|
+
function isError(obj) { return toStr$6(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17345
|
+
function isString(obj) { return toStr$6(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17346
|
+
function isNumber(obj) { return toStr$6(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17347
|
+
function isBoolean(obj) { return toStr$6(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
17245
17348
|
|
|
17246
17349
|
// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
|
|
17247
17350
|
function isSymbol$5(obj) {
|
|
@@ -17277,13 +17380,13 @@ function has$7(obj, key) {
|
|
|
17277
17380
|
return hasOwn.call(obj, key);
|
|
17278
17381
|
}
|
|
17279
17382
|
|
|
17280
|
-
function toStr$
|
|
17383
|
+
function toStr$6(obj) {
|
|
17281
17384
|
return objectToString$2.call(obj);
|
|
17282
17385
|
}
|
|
17283
17386
|
|
|
17284
17387
|
function nameOf(f) {
|
|
17285
17388
|
if (f.name) { return f.name; }
|
|
17286
|
-
var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
17389
|
+
var m = $match$1.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
17287
17390
|
if (m) { return m[1]; }
|
|
17288
17391
|
return null;
|
|
17289
17392
|
}
|
|
@@ -17383,10 +17486,10 @@ function inspectString(str, opts) {
|
|
|
17383
17486
|
if (str.length > opts.maxStringLength) {
|
|
17384
17487
|
var remaining = str.length - opts.maxStringLength;
|
|
17385
17488
|
var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
|
|
17386
|
-
return inspectString(
|
|
17489
|
+
return inspectString($slice$1.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
17387
17490
|
}
|
|
17388
17491
|
// eslint-disable-next-line no-control-regex
|
|
17389
|
-
var s =
|
|
17492
|
+
var s = $replace$1.call($replace$1.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
|
|
17390
17493
|
return wrapQuotes(s, 'single', opts);
|
|
17391
17494
|
}
|
|
17392
17495
|
|
|
@@ -17400,7 +17503,7 @@ function lowbyte(c) {
|
|
|
17400
17503
|
13: 'r'
|
|
17401
17504
|
}[n];
|
|
17402
17505
|
if (x) { return '\\' + x; }
|
|
17403
|
-
return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16)
|
|
17506
|
+
return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
|
|
17404
17507
|
}
|
|
17405
17508
|
|
|
17406
17509
|
function markBoxed(str) {
|
|
@@ -17412,7 +17515,7 @@ function weakCollectionOf(type) {
|
|
|
17412
17515
|
}
|
|
17413
17516
|
|
|
17414
17517
|
function collectionOf(type, size, entries, indent) {
|
|
17415
|
-
var joinedEntries = indent ? indentedJoin(entries, indent) :
|
|
17518
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
|
|
17416
17519
|
return type + ' (' + size + ') {' + joinedEntries + '}';
|
|
17417
17520
|
}
|
|
17418
17521
|
|
|
@@ -17430,24 +17533,24 @@ function getIndent(opts, depth) {
|
|
|
17430
17533
|
if (opts.indent === '\t') {
|
|
17431
17534
|
baseIndent = '\t';
|
|
17432
17535
|
} else if (typeof opts.indent === 'number' && opts.indent > 0) {
|
|
17433
|
-
baseIndent = Array(opts.indent + 1)
|
|
17536
|
+
baseIndent = $join.call(Array(opts.indent + 1), ' ');
|
|
17434
17537
|
} else {
|
|
17435
17538
|
return null;
|
|
17436
17539
|
}
|
|
17437
17540
|
return {
|
|
17438
17541
|
base: baseIndent,
|
|
17439
|
-
prev: Array(depth + 1)
|
|
17542
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
17440
17543
|
};
|
|
17441
17544
|
}
|
|
17442
17545
|
|
|
17443
17546
|
function indentedJoin(xs, indent) {
|
|
17444
17547
|
if (xs.length === 0) { return ''; }
|
|
17445
17548
|
var lineJoiner = '\n' + indent.prev + indent.base;
|
|
17446
|
-
return lineJoiner +
|
|
17549
|
+
return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
|
|
17447
17550
|
}
|
|
17448
17551
|
|
|
17449
17552
|
function arrObjKeys(obj, inspect) {
|
|
17450
|
-
var isArr = isArray(obj);
|
|
17553
|
+
var isArr = isArray$1(obj);
|
|
17451
17554
|
var xs = [];
|
|
17452
17555
|
if (isArr) {
|
|
17453
17556
|
xs.length = obj.length;
|
|
@@ -17470,7 +17573,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
17470
17573
|
if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
|
|
17471
17574
|
// this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
|
|
17472
17575
|
continue; // eslint-disable-line no-restricted-syntax, no-continue
|
|
17473
|
-
} else if ((/[^\w$]
|
|
17576
|
+
} else if ($test$1.call(/[^\w$]/, key)) {
|
|
17474
17577
|
xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
|
|
17475
17578
|
} else {
|
|
17476
17579
|
xs.push(key + ': ' + inspect(obj[key], obj));
|
|
@@ -17492,51 +17595,14 @@ var IsPropertyKey$6 = function IsPropertyKey(argument) {
|
|
|
17492
17595
|
return typeof argument === 'string' || typeof argument === 'symbol';
|
|
17493
17596
|
};
|
|
17494
17597
|
|
|
17495
|
-
|
|
17496
|
-
|
|
17497
|
-
var Type$d = function Type(x) {
|
|
17498
|
-
if (x === null) {
|
|
17499
|
-
return 'Null';
|
|
17500
|
-
}
|
|
17501
|
-
if (typeof x === 'undefined') {
|
|
17502
|
-
return 'Undefined';
|
|
17503
|
-
}
|
|
17504
|
-
if (typeof x === 'function' || typeof x === 'object') {
|
|
17505
|
-
return 'Object';
|
|
17506
|
-
}
|
|
17507
|
-
if (typeof x === 'number') {
|
|
17508
|
-
return 'Number';
|
|
17509
|
-
}
|
|
17510
|
-
if (typeof x === 'boolean') {
|
|
17511
|
-
return 'Boolean';
|
|
17512
|
-
}
|
|
17513
|
-
if (typeof x === 'string') {
|
|
17514
|
-
return 'String';
|
|
17515
|
-
}
|
|
17516
|
-
};
|
|
17517
|
-
|
|
17518
|
-
var ES5Type = Type$d;
|
|
17519
|
-
|
|
17520
|
-
// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
|
|
17521
|
-
|
|
17522
|
-
var Type$c = function Type(x) {
|
|
17523
|
-
if (typeof x === 'symbol') {
|
|
17524
|
-
return 'Symbol';
|
|
17525
|
-
}
|
|
17526
|
-
if (typeof x === 'bigint') {
|
|
17527
|
-
return 'BigInt';
|
|
17528
|
-
}
|
|
17529
|
-
return ES5Type(x);
|
|
17530
|
-
};
|
|
17531
|
-
|
|
17532
|
-
var GetIntrinsic$u = getIntrinsic;
|
|
17598
|
+
var GetIntrinsic$s = getIntrinsic;
|
|
17533
17599
|
|
|
17534
|
-
var $TypeError$
|
|
17600
|
+
var $TypeError$f = GetIntrinsic$s('%TypeError%');
|
|
17535
17601
|
|
|
17536
17602
|
var inspect = objectInspect;
|
|
17537
17603
|
|
|
17538
17604
|
var IsPropertyKey$5 = IsPropertyKey$6;
|
|
17539
|
-
var Type$b = Type$
|
|
17605
|
+
var Type$b = Type$d;
|
|
17540
17606
|
|
|
17541
17607
|
/**
|
|
17542
17608
|
* 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p
|
|
@@ -17548,53 +17614,53 @@ var Type$b = Type$c;
|
|
|
17548
17614
|
var Get$4 = function Get(O, P) {
|
|
17549
17615
|
// 7.3.1.1
|
|
17550
17616
|
if (Type$b(O) !== 'Object') {
|
|
17551
|
-
throw new $TypeError$
|
|
17617
|
+
throw new $TypeError$f('Assertion failed: Type(O) is not Object');
|
|
17552
17618
|
}
|
|
17553
17619
|
// 7.3.1.2
|
|
17554
17620
|
if (!IsPropertyKey$5(P)) {
|
|
17555
|
-
throw new $TypeError$
|
|
17621
|
+
throw new $TypeError$f('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));
|
|
17556
17622
|
}
|
|
17557
17623
|
// 7.3.1.3
|
|
17558
17624
|
return O[P];
|
|
17559
17625
|
};
|
|
17560
17626
|
|
|
17561
|
-
var GetIntrinsic$
|
|
17627
|
+
var GetIntrinsic$r = getIntrinsic;
|
|
17562
17628
|
|
|
17563
17629
|
var callBind$7 = callBind$8.exports;
|
|
17564
17630
|
|
|
17565
|
-
var $indexOf = callBind$7(GetIntrinsic$
|
|
17631
|
+
var $indexOf = callBind$7(GetIntrinsic$r('String.prototype.indexOf'));
|
|
17566
17632
|
|
|
17567
17633
|
var callBound$a = function callBoundIntrinsic(name, allowMissing) {
|
|
17568
|
-
var intrinsic = GetIntrinsic$
|
|
17634
|
+
var intrinsic = GetIntrinsic$r(name, !!allowMissing);
|
|
17569
17635
|
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
17570
17636
|
return callBind$7(intrinsic);
|
|
17571
17637
|
}
|
|
17572
17638
|
return intrinsic;
|
|
17573
17639
|
};
|
|
17574
17640
|
|
|
17575
|
-
var GetIntrinsic$
|
|
17641
|
+
var GetIntrinsic$q = getIntrinsic;
|
|
17576
17642
|
|
|
17577
|
-
var $Array$1 = GetIntrinsic$
|
|
17643
|
+
var $Array$1 = GetIntrinsic$q('%Array%');
|
|
17578
17644
|
|
|
17579
17645
|
// eslint-disable-next-line global-require
|
|
17580
|
-
var toStr$
|
|
17646
|
+
var toStr$5 = !$Array$1.isArray && callBound$a('Object.prototype.toString');
|
|
17581
17647
|
|
|
17582
17648
|
// https://ecma-international.org/ecma-262/6.0/#sec-isarray
|
|
17583
17649
|
|
|
17584
|
-
var IsArray$
|
|
17585
|
-
return toStr$
|
|
17650
|
+
var IsArray$5 = $Array$1.isArray || function IsArray(argument) {
|
|
17651
|
+
return toStr$5(argument) === '[object Array]';
|
|
17586
17652
|
};
|
|
17587
17653
|
|
|
17588
17654
|
var IsConstructor$1 = {exports: {}};
|
|
17589
17655
|
|
|
17590
17656
|
// TODO: remove, semver-major
|
|
17591
17657
|
|
|
17592
|
-
var GetIntrinsic$
|
|
17658
|
+
var GetIntrinsic$p = getIntrinsic;
|
|
17593
17659
|
|
|
17594
|
-
var GetIntrinsic$
|
|
17660
|
+
var GetIntrinsic$o = getIntrinsic;
|
|
17595
17661
|
|
|
17596
17662
|
var has$6 = src$1;
|
|
17597
|
-
var $TypeError$
|
|
17663
|
+
var $TypeError$e = GetIntrinsic$o('%TypeError%');
|
|
17598
17664
|
|
|
17599
17665
|
var isPropertyDescriptor$1 = function IsPropertyDescriptor(ES, Desc) {
|
|
17600
17666
|
if (ES.Type(Desc) !== 'Object') {
|
|
@@ -17616,14 +17682,27 @@ var isPropertyDescriptor$1 = function IsPropertyDescriptor(ES, Desc) {
|
|
|
17616
17682
|
}
|
|
17617
17683
|
|
|
17618
17684
|
if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {
|
|
17619
|
-
throw new $TypeError$
|
|
17685
|
+
throw new $TypeError$e('Property Descriptors may not be both accessor and data descriptors');
|
|
17620
17686
|
}
|
|
17621
17687
|
return true;
|
|
17622
17688
|
};
|
|
17623
17689
|
|
|
17624
|
-
var GetIntrinsic$
|
|
17690
|
+
var GetIntrinsic$n = getIntrinsic;
|
|
17625
17691
|
|
|
17626
|
-
var $
|
|
17692
|
+
var $Array = GetIntrinsic$n('%Array%');
|
|
17693
|
+
|
|
17694
|
+
// eslint-disable-next-line global-require
|
|
17695
|
+
var toStr$4 = !$Array.isArray && callBound$a('Object.prototype.toString');
|
|
17696
|
+
|
|
17697
|
+
// https://ecma-international.org/ecma-262/6.0/#sec-isarray
|
|
17698
|
+
|
|
17699
|
+
var IsArray$4 = $Array.isArray || function IsArray(argument) {
|
|
17700
|
+
return toStr$4(argument) === '[object Array]';
|
|
17701
|
+
};
|
|
17702
|
+
|
|
17703
|
+
var GetIntrinsic$m = getIntrinsic;
|
|
17704
|
+
|
|
17705
|
+
var $defineProperty = GetIntrinsic$m('%Object.defineProperty%', true);
|
|
17627
17706
|
|
|
17628
17707
|
if ($defineProperty) {
|
|
17629
17708
|
try {
|
|
@@ -17634,6 +17713,12 @@ if ($defineProperty) {
|
|
|
17634
17713
|
}
|
|
17635
17714
|
}
|
|
17636
17715
|
|
|
17716
|
+
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
17717
|
+
var hasArrayLengthDefineBug = Object.defineProperty && Object.defineProperty([], 'length', { value: 1 }).length === 0;
|
|
17718
|
+
|
|
17719
|
+
// eslint-disable-next-line global-require
|
|
17720
|
+
var isArray = hasArrayLengthDefineBug && IsArray$4; // this does not depend on any other AOs.
|
|
17721
|
+
|
|
17637
17722
|
var callBound$9 = callBound$a;
|
|
17638
17723
|
|
|
17639
17724
|
var $isEnumerable$3 = callBound$9('Object.prototype.propertyIsEnumerable');
|
|
@@ -17661,14 +17746,26 @@ var DefineOwnProperty$2 = function DefineOwnProperty(IsDataDescriptor, SameValue
|
|
|
17661
17746
|
O[P] = V; // will use [[Define]]
|
|
17662
17747
|
return SameValue(O[P], V);
|
|
17663
17748
|
}
|
|
17749
|
+
if (
|
|
17750
|
+
hasArrayLengthDefineBug
|
|
17751
|
+
&& P === 'length'
|
|
17752
|
+
&& '[[Value]]' in desc
|
|
17753
|
+
&& isArray(O)
|
|
17754
|
+
&& O.length !== desc['[[Value]]']
|
|
17755
|
+
) {
|
|
17756
|
+
// eslint-disable-next-line no-param-reassign
|
|
17757
|
+
O.length = desc['[[Value]]'];
|
|
17758
|
+
return O.length === desc['[[Value]]'];
|
|
17759
|
+
}
|
|
17760
|
+
|
|
17664
17761
|
$defineProperty(O, P, FromPropertyDescriptor(desc));
|
|
17665
17762
|
return true;
|
|
17666
17763
|
};
|
|
17667
17764
|
|
|
17668
|
-
var GetIntrinsic$
|
|
17765
|
+
var GetIntrinsic$l = getIntrinsic;
|
|
17669
17766
|
|
|
17670
|
-
var $TypeError$
|
|
17671
|
-
var $SyntaxError = GetIntrinsic$
|
|
17767
|
+
var $TypeError$d = GetIntrinsic$l('%TypeError%');
|
|
17768
|
+
var $SyntaxError = GetIntrinsic$l('%SyntaxError%');
|
|
17672
17769
|
|
|
17673
17770
|
var has$5 = src$1;
|
|
17674
17771
|
|
|
@@ -17696,7 +17793,7 @@ var predicates = {
|
|
|
17696
17793
|
var isData = has$5(Desc, '[[Value]]');
|
|
17697
17794
|
var IsAccessor = has$5(Desc, '[[Get]]') || has$5(Desc, '[[Set]]');
|
|
17698
17795
|
if (isData && IsAccessor) {
|
|
17699
|
-
throw new $TypeError$
|
|
17796
|
+
throw new $TypeError$d('Property Descriptors may not be both accessor and data descriptors');
|
|
17700
17797
|
}
|
|
17701
17798
|
return true;
|
|
17702
17799
|
}
|
|
@@ -17708,13 +17805,13 @@ var assertRecord$3 = function assertRecord(Type, recordType, argumentName, value
|
|
|
17708
17805
|
throw new $SyntaxError('unknown record type: ' + recordType);
|
|
17709
17806
|
}
|
|
17710
17807
|
if (!predicate(Type, value)) {
|
|
17711
|
-
throw new $TypeError$
|
|
17808
|
+
throw new $TypeError$d(argumentName + ' must be a ' + recordType);
|
|
17712
17809
|
}
|
|
17713
17810
|
};
|
|
17714
17811
|
|
|
17715
17812
|
var assertRecord$2 = assertRecord$3;
|
|
17716
17813
|
|
|
17717
|
-
var Type$a = Type$
|
|
17814
|
+
var Type$a = Type$d;
|
|
17718
17815
|
|
|
17719
17816
|
// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
|
|
17720
17817
|
|
|
@@ -17751,7 +17848,7 @@ var has$4 = src$1;
|
|
|
17751
17848
|
|
|
17752
17849
|
var assertRecord$1 = assertRecord$3;
|
|
17753
17850
|
|
|
17754
|
-
var Type$9 = Type$
|
|
17851
|
+
var Type$9 = Type$d;
|
|
17755
17852
|
|
|
17756
17853
|
// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor
|
|
17757
17854
|
|
|
@@ -17773,7 +17870,7 @@ var has$3 = src$1;
|
|
|
17773
17870
|
|
|
17774
17871
|
var assertRecord = assertRecord$3;
|
|
17775
17872
|
|
|
17776
|
-
var Type$8 = Type$
|
|
17873
|
+
var Type$8 = Type$d;
|
|
17777
17874
|
|
|
17778
17875
|
// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
|
|
17779
17876
|
|
|
@@ -17791,11 +17888,7 @@ var IsDataDescriptor$2 = function IsDataDescriptor(Desc) {
|
|
|
17791
17888
|
return true;
|
|
17792
17889
|
};
|
|
17793
17890
|
|
|
17794
|
-
var
|
|
17795
|
-
return a !== a;
|
|
17796
|
-
};
|
|
17797
|
-
|
|
17798
|
-
var $isNaN$3 = _isNaN;
|
|
17891
|
+
var $isNaN$1 = _isNaN;
|
|
17799
17892
|
|
|
17800
17893
|
// http://262.ecma-international.org/5.1/#sec-9.12
|
|
17801
17894
|
|
|
@@ -17804,7 +17897,7 @@ var SameValue$2 = function SameValue(x, y) {
|
|
|
17804
17897
|
if (x === 0) { return 1 / x === 1 / y; }
|
|
17805
17898
|
return true;
|
|
17806
17899
|
}
|
|
17807
|
-
return $isNaN$
|
|
17900
|
+
return $isNaN$1(x) && $isNaN$1(y);
|
|
17808
17901
|
};
|
|
17809
17902
|
|
|
17810
17903
|
// http://262.ecma-international.org/5.1/#sec-9.2
|
|
@@ -17886,23 +17979,23 @@ var isCallable$2 = reflectApply
|
|
|
17886
17979
|
|
|
17887
17980
|
// http://262.ecma-international.org/5.1/#sec-9.11
|
|
17888
17981
|
|
|
17889
|
-
var IsCallable$
|
|
17982
|
+
var IsCallable$3 = isCallable$2;
|
|
17890
17983
|
|
|
17891
17984
|
var has$2 = src$1;
|
|
17892
17985
|
|
|
17893
|
-
var GetIntrinsic$
|
|
17986
|
+
var GetIntrinsic$k = getIntrinsic;
|
|
17894
17987
|
|
|
17895
|
-
var $TypeError$
|
|
17988
|
+
var $TypeError$c = GetIntrinsic$k('%TypeError%');
|
|
17896
17989
|
|
|
17897
|
-
var Type$7 = Type$
|
|
17990
|
+
var Type$7 = Type$d;
|
|
17898
17991
|
var ToBoolean$1 = ToBoolean$2;
|
|
17899
|
-
var IsCallable$
|
|
17992
|
+
var IsCallable$2 = IsCallable$3;
|
|
17900
17993
|
|
|
17901
17994
|
// https://262.ecma-international.org/5.1/#sec-8.10.5
|
|
17902
17995
|
|
|
17903
17996
|
var ToPropertyDescriptor$2 = function ToPropertyDescriptor(Obj) {
|
|
17904
17997
|
if (Type$7(Obj) !== 'Object') {
|
|
17905
|
-
throw new $TypeError$
|
|
17998
|
+
throw new $TypeError$c('ToPropertyDescriptor requires an object');
|
|
17906
17999
|
}
|
|
17907
18000
|
|
|
17908
18001
|
var desc = {};
|
|
@@ -17920,28 +18013,28 @@ var ToPropertyDescriptor$2 = function ToPropertyDescriptor(Obj) {
|
|
|
17920
18013
|
}
|
|
17921
18014
|
if (has$2(Obj, 'get')) {
|
|
17922
18015
|
var getter = Obj.get;
|
|
17923
|
-
if (typeof getter !== 'undefined' && !IsCallable$
|
|
17924
|
-
throw new $TypeError$
|
|
18016
|
+
if (typeof getter !== 'undefined' && !IsCallable$2(getter)) {
|
|
18017
|
+
throw new $TypeError$c('getter must be a function');
|
|
17925
18018
|
}
|
|
17926
18019
|
desc['[[Get]]'] = getter;
|
|
17927
18020
|
}
|
|
17928
18021
|
if (has$2(Obj, 'set')) {
|
|
17929
18022
|
var setter = Obj.set;
|
|
17930
|
-
if (typeof setter !== 'undefined' && !IsCallable$
|
|
17931
|
-
throw new $TypeError$
|
|
18023
|
+
if (typeof setter !== 'undefined' && !IsCallable$2(setter)) {
|
|
18024
|
+
throw new $TypeError$c('setter must be a function');
|
|
17932
18025
|
}
|
|
17933
18026
|
desc['[[Set]]'] = setter;
|
|
17934
18027
|
}
|
|
17935
18028
|
|
|
17936
18029
|
if ((has$2(desc, '[[Get]]') || has$2(desc, '[[Set]]')) && (has$2(desc, '[[Value]]') || has$2(desc, '[[Writable]]'))) {
|
|
17937
|
-
throw new $TypeError$
|
|
18030
|
+
throw new $TypeError$c('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
|
|
17938
18031
|
}
|
|
17939
18032
|
return desc;
|
|
17940
18033
|
};
|
|
17941
18034
|
|
|
17942
|
-
var GetIntrinsic$
|
|
18035
|
+
var GetIntrinsic$j = getIntrinsic;
|
|
17943
18036
|
|
|
17944
|
-
var $TypeError$
|
|
18037
|
+
var $TypeError$b = GetIntrinsic$j('%TypeError%');
|
|
17945
18038
|
|
|
17946
18039
|
var isPropertyDescriptor = isPropertyDescriptor$1;
|
|
17947
18040
|
var DefineOwnProperty$1 = DefineOwnProperty$2;
|
|
@@ -17952,17 +18045,17 @@ var IsDataDescriptor$1 = IsDataDescriptor$2;
|
|
|
17952
18045
|
var IsPropertyKey$4 = IsPropertyKey$6;
|
|
17953
18046
|
var SameValue$1 = SameValue$2;
|
|
17954
18047
|
var ToPropertyDescriptor$1 = ToPropertyDescriptor$2;
|
|
17955
|
-
var Type$6 = Type$
|
|
18048
|
+
var Type$6 = Type$d;
|
|
17956
18049
|
|
|
17957
18050
|
// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow
|
|
17958
18051
|
|
|
17959
18052
|
var DefinePropertyOrThrow$1 = function DefinePropertyOrThrow(O, P, desc) {
|
|
17960
18053
|
if (Type$6(O) !== 'Object') {
|
|
17961
|
-
throw new $TypeError$
|
|
18054
|
+
throw new $TypeError$b('Assertion failed: Type(O) is not Object');
|
|
17962
18055
|
}
|
|
17963
18056
|
|
|
17964
18057
|
if (!IsPropertyKey$4(P)) {
|
|
17965
|
-
throw new $TypeError$
|
|
18058
|
+
throw new $TypeError$b('Assertion failed: IsPropertyKey(P) is not true');
|
|
17966
18059
|
}
|
|
17967
18060
|
|
|
17968
18061
|
var Desc = isPropertyDescriptor({
|
|
@@ -17975,7 +18068,7 @@ var DefinePropertyOrThrow$1 = function DefinePropertyOrThrow(O, P, desc) {
|
|
|
17975
18068
|
IsDataDescriptor: IsDataDescriptor$1,
|
|
17976
18069
|
IsAccessorDescriptor: IsAccessorDescriptor
|
|
17977
18070
|
}, Desc)) {
|
|
17978
|
-
throw new $TypeError$
|
|
18071
|
+
throw new $TypeError$b('Assertion failed: Desc is not a valid Property Descriptor');
|
|
17979
18072
|
}
|
|
17980
18073
|
|
|
17981
18074
|
return DefineOwnProperty$1(
|
|
@@ -17988,9 +18081,9 @@ var DefinePropertyOrThrow$1 = function DefinePropertyOrThrow(O, P, desc) {
|
|
|
17988
18081
|
);
|
|
17989
18082
|
};
|
|
17990
18083
|
|
|
17991
|
-
var GetIntrinsic$
|
|
18084
|
+
var GetIntrinsic$i = GetIntrinsic$p;
|
|
17992
18085
|
|
|
17993
|
-
var $construct = GetIntrinsic$
|
|
18086
|
+
var $construct = GetIntrinsic$i('%Reflect.construct%', true);
|
|
17994
18087
|
|
|
17995
18088
|
var DefinePropertyOrThrow = DefinePropertyOrThrow$1;
|
|
17996
18089
|
try {
|
|
@@ -18027,119 +18120,81 @@ if (DefinePropertyOrThrow && $construct) {
|
|
|
18027
18120
|
};
|
|
18028
18121
|
}
|
|
18029
18122
|
|
|
18030
|
-
var GetIntrinsic$
|
|
18031
|
-
|
|
18032
|
-
var $abs$1 = GetIntrinsic$k('%Math.abs%');
|
|
18033
|
-
|
|
18034
|
-
// http://262.ecma-international.org/5.1/#sec-5.2
|
|
18035
|
-
|
|
18036
|
-
var abs$3 = function abs(x) {
|
|
18037
|
-
return $abs$1(x);
|
|
18038
|
-
};
|
|
18039
|
-
|
|
18040
|
-
// var modulo = require('./modulo');
|
|
18041
|
-
var $floor$1 = Math.floor;
|
|
18042
|
-
|
|
18043
|
-
// http://262.ecma-international.org/5.1/#sec-5.2
|
|
18044
|
-
|
|
18045
|
-
var floor$3 = function floor(x) {
|
|
18046
|
-
// return x - modulo(x, 1);
|
|
18047
|
-
return $floor$1(x);
|
|
18048
|
-
};
|
|
18049
|
-
|
|
18050
|
-
var $isNaN$2 = Number.isNaN || function (a) { return a !== a; };
|
|
18051
|
-
|
|
18052
|
-
var _isFinite = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN$2(x) && x !== Infinity && x !== -Infinity; };
|
|
18053
|
-
|
|
18054
|
-
var abs$2 = abs$3;
|
|
18055
|
-
var floor$2 = floor$3;
|
|
18056
|
-
|
|
18057
|
-
var $isNaN$1 = _isNaN;
|
|
18058
|
-
var $isFinite$1 = _isFinite;
|
|
18059
|
-
|
|
18060
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-isinteger
|
|
18061
|
-
|
|
18062
|
-
var IsInteger$1 = function IsInteger(argument) {
|
|
18063
|
-
if (typeof argument !== 'number' || $isNaN$1(argument) || !$isFinite$1(argument)) {
|
|
18064
|
-
return false;
|
|
18065
|
-
}
|
|
18066
|
-
var absValue = abs$2(argument);
|
|
18067
|
-
return floor$2(absValue) === absValue;
|
|
18068
|
-
};
|
|
18069
|
-
|
|
18070
|
-
var GetIntrinsic$j = getIntrinsic;
|
|
18123
|
+
var GetIntrinsic$h = getIntrinsic;
|
|
18071
18124
|
|
|
18072
|
-
var $
|
|
18073
|
-
var $
|
|
18074
|
-
var $TypeError$b = GetIntrinsic$j('%TypeError%');
|
|
18125
|
+
var $species = GetIntrinsic$h('%Symbol.species%', true);
|
|
18126
|
+
var $TypeError$a = GetIntrinsic$h('%TypeError%');
|
|
18075
18127
|
|
|
18128
|
+
var ArrayCreate = ArrayCreate$1;
|
|
18076
18129
|
var Get$3 = Get$4;
|
|
18077
|
-
var IsArray$3 = IsArray$
|
|
18130
|
+
var IsArray$3 = IsArray$5;
|
|
18078
18131
|
var IsConstructor = IsConstructor$1.exports;
|
|
18079
|
-
var
|
|
18080
|
-
var Type$5 = Type$
|
|
18132
|
+
var IsIntegralNumber = IsIntegralNumber$2;
|
|
18133
|
+
var Type$5 = Type$d;
|
|
18081
18134
|
|
|
18082
|
-
// https://ecma-international.org/ecma-262/
|
|
18135
|
+
// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate
|
|
18083
18136
|
|
|
18084
18137
|
var ArraySpeciesCreate$1 = function ArraySpeciesCreate(originalArray, length) {
|
|
18085
|
-
if (!
|
|
18086
|
-
throw new $TypeError$
|
|
18138
|
+
if (!IsIntegralNumber(length) || length < 0) {
|
|
18139
|
+
throw new $TypeError$a('Assertion failed: length must be an integer >= 0');
|
|
18087
18140
|
}
|
|
18088
|
-
|
|
18089
|
-
var C;
|
|
18141
|
+
|
|
18090
18142
|
var isArray = IsArray$3(originalArray);
|
|
18091
|
-
if (isArray) {
|
|
18092
|
-
|
|
18093
|
-
|
|
18094
|
-
|
|
18095
|
-
|
|
18096
|
-
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
|
|
18100
|
-
|
|
18101
|
-
|
|
18102
|
-
|
|
18143
|
+
if (!isArray) {
|
|
18144
|
+
return ArrayCreate(length);
|
|
18145
|
+
}
|
|
18146
|
+
|
|
18147
|
+
var C = Get$3(originalArray, 'constructor');
|
|
18148
|
+
// TODO: figure out how to make a cross-realm normal Array, a same-realm Array
|
|
18149
|
+
// if (IsConstructor(C)) {
|
|
18150
|
+
// if C is another realm's Array, C = undefined
|
|
18151
|
+
// Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?
|
|
18152
|
+
// }
|
|
18153
|
+
if ($species && Type$5(C) === 'Object') {
|
|
18154
|
+
C = Get$3(C, $species);
|
|
18155
|
+
if (C === null) {
|
|
18156
|
+
C = void 0;
|
|
18103
18157
|
}
|
|
18104
18158
|
}
|
|
18159
|
+
|
|
18105
18160
|
if (typeof C === 'undefined') {
|
|
18106
|
-
return
|
|
18161
|
+
return ArrayCreate(length);
|
|
18107
18162
|
}
|
|
18108
18163
|
if (!IsConstructor(C)) {
|
|
18109
|
-
throw new $TypeError$
|
|
18164
|
+
throw new $TypeError$a('C must be a constructor');
|
|
18110
18165
|
}
|
|
18111
|
-
return new C(
|
|
18166
|
+
return new C(length); // Construct(C, length);
|
|
18112
18167
|
};
|
|
18113
18168
|
|
|
18114
|
-
var GetIntrinsic$
|
|
18169
|
+
var GetIntrinsic$g = getIntrinsic;
|
|
18115
18170
|
|
|
18116
|
-
var $Math = GetIntrinsic$
|
|
18117
|
-
var $Number$
|
|
18171
|
+
var $Math = GetIntrinsic$g('%Math%');
|
|
18172
|
+
var $Number$1 = GetIntrinsic$g('%Number%');
|
|
18118
18173
|
|
|
18119
|
-
var maxSafeInteger = $Number$
|
|
18174
|
+
var maxSafeInteger = $Number$1.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;
|
|
18120
18175
|
|
|
18121
|
-
var GetIntrinsic$
|
|
18176
|
+
var GetIntrinsic$f = getIntrinsic;
|
|
18122
18177
|
var callBound$8 = callBound$a;
|
|
18123
18178
|
|
|
18124
|
-
var $TypeError$
|
|
18179
|
+
var $TypeError$9 = GetIntrinsic$f('%TypeError%');
|
|
18125
18180
|
|
|
18126
|
-
var IsArray$2 = IsArray$
|
|
18181
|
+
var IsArray$2 = IsArray$5;
|
|
18127
18182
|
|
|
18128
|
-
var $apply = GetIntrinsic$
|
|
18183
|
+
var $apply = GetIntrinsic$f('%Reflect.apply%', true) || callBound$8('%Function.prototype.apply%');
|
|
18129
18184
|
|
|
18130
18185
|
// https://ecma-international.org/ecma-262/6.0/#sec-call
|
|
18131
18186
|
|
|
18132
18187
|
var Call$1 = function Call(F, V) {
|
|
18133
18188
|
var argumentsList = arguments.length > 2 ? arguments[2] : [];
|
|
18134
18189
|
if (!IsArray$2(argumentsList)) {
|
|
18135
|
-
throw new $TypeError$
|
|
18190
|
+
throw new $TypeError$9('Assertion failed: optional `argumentsList`, if provided, must be a List');
|
|
18136
18191
|
}
|
|
18137
18192
|
return $apply(F, V, argumentsList);
|
|
18138
18193
|
};
|
|
18139
18194
|
|
|
18140
|
-
var GetIntrinsic$
|
|
18195
|
+
var GetIntrinsic$e = getIntrinsic;
|
|
18141
18196
|
|
|
18142
|
-
var $gOPD$1 = GetIntrinsic$
|
|
18197
|
+
var $gOPD$1 = GetIntrinsic$e('%Object.getOwnPropertyDescriptor%', true);
|
|
18143
18198
|
if ($gOPD$1) {
|
|
18144
18199
|
try {
|
|
18145
18200
|
$gOPD$1([], 'length');
|
|
@@ -18214,9 +18269,9 @@ var isRegex = hasToStringTag$1
|
|
|
18214
18269
|
return $toString(value) === regexClass;
|
|
18215
18270
|
};
|
|
18216
18271
|
|
|
18217
|
-
var GetIntrinsic$
|
|
18272
|
+
var GetIntrinsic$d = getIntrinsic;
|
|
18218
18273
|
|
|
18219
|
-
var $match = GetIntrinsic$
|
|
18274
|
+
var $match = GetIntrinsic$d('%Symbol.match%', true);
|
|
18220
18275
|
|
|
18221
18276
|
var hasRegExpMatcher = isRegex;
|
|
18222
18277
|
|
|
@@ -18237,10 +18292,10 @@ var IsRegExp$1 = function IsRegExp(argument) {
|
|
|
18237
18292
|
return hasRegExpMatcher(argument);
|
|
18238
18293
|
};
|
|
18239
18294
|
|
|
18240
|
-
var GetIntrinsic$
|
|
18295
|
+
var GetIntrinsic$c = getIntrinsic;
|
|
18241
18296
|
|
|
18242
18297
|
var $gOPD = getOwnPropertyDescriptor;
|
|
18243
|
-
var $TypeError$
|
|
18298
|
+
var $TypeError$8 = GetIntrinsic$c('%TypeError%');
|
|
18244
18299
|
|
|
18245
18300
|
var callBound$6 = callBound$a;
|
|
18246
18301
|
|
|
@@ -18248,20 +18303,20 @@ var $isEnumerable$2 = callBound$6('Object.prototype.propertyIsEnumerable');
|
|
|
18248
18303
|
|
|
18249
18304
|
var has = src$1;
|
|
18250
18305
|
|
|
18251
|
-
var IsArray$1 = IsArray$
|
|
18306
|
+
var IsArray$1 = IsArray$5;
|
|
18252
18307
|
var IsPropertyKey$3 = IsPropertyKey$6;
|
|
18253
18308
|
var IsRegExp = IsRegExp$1;
|
|
18254
18309
|
var ToPropertyDescriptor = ToPropertyDescriptor$2;
|
|
18255
|
-
var Type$4 = Type$
|
|
18310
|
+
var Type$4 = Type$d;
|
|
18256
18311
|
|
|
18257
18312
|
// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
|
|
18258
18313
|
|
|
18259
18314
|
var OrdinaryGetOwnProperty$1 = function OrdinaryGetOwnProperty(O, P) {
|
|
18260
18315
|
if (Type$4(O) !== 'Object') {
|
|
18261
|
-
throw new $TypeError$
|
|
18316
|
+
throw new $TypeError$8('Assertion failed: O must be an Object');
|
|
18262
18317
|
}
|
|
18263
18318
|
if (!IsPropertyKey$3(P)) {
|
|
18264
|
-
throw new $TypeError$
|
|
18319
|
+
throw new $TypeError$8('Assertion failed: P must be a Property Key');
|
|
18265
18320
|
}
|
|
18266
18321
|
if (!has(O, P)) {
|
|
18267
18322
|
return void 0;
|
|
@@ -18280,32 +18335,32 @@ var OrdinaryGetOwnProperty$1 = function OrdinaryGetOwnProperty(O, P) {
|
|
|
18280
18335
|
return ToPropertyDescriptor($gOPD(O, P));
|
|
18281
18336
|
};
|
|
18282
18337
|
|
|
18283
|
-
var isPrimitive$
|
|
18338
|
+
var isPrimitive$7 = function isPrimitive(value) {
|
|
18284
18339
|
return value === null || (typeof value !== 'function' && typeof value !== 'object');
|
|
18285
18340
|
};
|
|
18286
18341
|
|
|
18287
|
-
var GetIntrinsic$
|
|
18342
|
+
var GetIntrinsic$b = getIntrinsic;
|
|
18288
18343
|
|
|
18289
|
-
var $Object$
|
|
18344
|
+
var $Object$1 = GetIntrinsic$b('%Object%');
|
|
18290
18345
|
|
|
18291
|
-
var isPrimitive$
|
|
18346
|
+
var isPrimitive$6 = isPrimitive$7;
|
|
18292
18347
|
|
|
18293
|
-
var $preventExtensions = $Object$
|
|
18294
|
-
var $isExtensible = $Object$
|
|
18348
|
+
var $preventExtensions = $Object$1.preventExtensions;
|
|
18349
|
+
var $isExtensible = $Object$1.isExtensible;
|
|
18295
18350
|
|
|
18296
18351
|
// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
|
|
18297
18352
|
|
|
18298
18353
|
var IsExtensible$1 = $preventExtensions
|
|
18299
18354
|
? function IsExtensible(obj) {
|
|
18300
|
-
return !isPrimitive$
|
|
18355
|
+
return !isPrimitive$6(obj) && $isExtensible(obj);
|
|
18301
18356
|
}
|
|
18302
18357
|
: function IsExtensible(obj) {
|
|
18303
|
-
return !isPrimitive$
|
|
18358
|
+
return !isPrimitive$6(obj);
|
|
18304
18359
|
};
|
|
18305
18360
|
|
|
18306
|
-
var GetIntrinsic$
|
|
18361
|
+
var GetIntrinsic$a = getIntrinsic;
|
|
18307
18362
|
|
|
18308
|
-
var $TypeError$
|
|
18363
|
+
var $TypeError$7 = GetIntrinsic$a('%TypeError%');
|
|
18309
18364
|
|
|
18310
18365
|
var DefineOwnProperty = DefineOwnProperty$2;
|
|
18311
18366
|
|
|
@@ -18315,16 +18370,16 @@ var IsDataDescriptor = IsDataDescriptor$2;
|
|
|
18315
18370
|
var IsExtensible = IsExtensible$1;
|
|
18316
18371
|
var IsPropertyKey$2 = IsPropertyKey$6;
|
|
18317
18372
|
var SameValue = SameValue$2;
|
|
18318
|
-
var Type$3 = Type$
|
|
18373
|
+
var Type$3 = Type$d;
|
|
18319
18374
|
|
|
18320
18375
|
// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
|
|
18321
18376
|
|
|
18322
18377
|
var CreateDataProperty$1 = function CreateDataProperty(O, P, V) {
|
|
18323
18378
|
if (Type$3(O) !== 'Object') {
|
|
18324
|
-
throw new $TypeError$
|
|
18379
|
+
throw new $TypeError$7('Assertion failed: Type(O) is not Object');
|
|
18325
18380
|
}
|
|
18326
18381
|
if (!IsPropertyKey$2(P)) {
|
|
18327
|
-
throw new $TypeError$
|
|
18382
|
+
throw new $TypeError$7('Assertion failed: IsPropertyKey(P) is not true');
|
|
18328
18383
|
}
|
|
18329
18384
|
var oldDesc = OrdinaryGetOwnProperty(O, P);
|
|
18330
18385
|
var extensible = !oldDesc || IsExtensible(O);
|
|
@@ -18347,52 +18402,52 @@ var CreateDataProperty$1 = function CreateDataProperty(O, P, V) {
|
|
|
18347
18402
|
);
|
|
18348
18403
|
};
|
|
18349
18404
|
|
|
18350
|
-
var GetIntrinsic$
|
|
18405
|
+
var GetIntrinsic$9 = getIntrinsic;
|
|
18351
18406
|
|
|
18352
|
-
var $TypeError$
|
|
18407
|
+
var $TypeError$6 = GetIntrinsic$9('%TypeError%');
|
|
18353
18408
|
|
|
18354
18409
|
var CreateDataProperty = CreateDataProperty$1;
|
|
18355
18410
|
var IsPropertyKey$1 = IsPropertyKey$6;
|
|
18356
|
-
var Type$2 = Type$
|
|
18411
|
+
var Type$2 = Type$d;
|
|
18357
18412
|
|
|
18358
18413
|
// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow
|
|
18359
18414
|
|
|
18360
18415
|
var CreateDataPropertyOrThrow$1 = function CreateDataPropertyOrThrow(O, P, V) {
|
|
18361
18416
|
if (Type$2(O) !== 'Object') {
|
|
18362
|
-
throw new $TypeError$
|
|
18417
|
+
throw new $TypeError$6('Assertion failed: Type(O) is not Object');
|
|
18363
18418
|
}
|
|
18364
18419
|
if (!IsPropertyKey$1(P)) {
|
|
18365
|
-
throw new $TypeError$
|
|
18420
|
+
throw new $TypeError$6('Assertion failed: IsPropertyKey(P) is not true');
|
|
18366
18421
|
}
|
|
18367
18422
|
var success = CreateDataProperty(O, P, V);
|
|
18368
18423
|
if (!success) {
|
|
18369
|
-
throw new $TypeError$
|
|
18424
|
+
throw new $TypeError$6('unable to create data property');
|
|
18370
18425
|
}
|
|
18371
18426
|
return success;
|
|
18372
18427
|
};
|
|
18373
18428
|
|
|
18374
|
-
var GetIntrinsic$
|
|
18429
|
+
var GetIntrinsic$8 = getIntrinsic;
|
|
18375
18430
|
|
|
18376
|
-
var $TypeError$
|
|
18431
|
+
var $TypeError$5 = GetIntrinsic$8('%TypeError%');
|
|
18377
18432
|
|
|
18378
18433
|
var IsPropertyKey = IsPropertyKey$6;
|
|
18379
|
-
var Type$1 = Type$
|
|
18434
|
+
var Type$1 = Type$d;
|
|
18380
18435
|
|
|
18381
18436
|
// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty
|
|
18382
18437
|
|
|
18383
18438
|
var HasProperty$1 = function HasProperty(O, P) {
|
|
18384
18439
|
if (Type$1(O) !== 'Object') {
|
|
18385
|
-
throw new $TypeError$
|
|
18440
|
+
throw new $TypeError$5('Assertion failed: `O` must be an Object');
|
|
18386
18441
|
}
|
|
18387
18442
|
if (!IsPropertyKey(P)) {
|
|
18388
|
-
throw new $TypeError$
|
|
18443
|
+
throw new $TypeError$5('Assertion failed: `P` must be a Property Key');
|
|
18389
18444
|
}
|
|
18390
18445
|
return P in O;
|
|
18391
18446
|
};
|
|
18392
18447
|
|
|
18393
|
-
var GetIntrinsic$
|
|
18448
|
+
var GetIntrinsic$7 = getIntrinsic;
|
|
18394
18449
|
|
|
18395
|
-
var $abs = GetIntrinsic$
|
|
18450
|
+
var $abs = GetIntrinsic$7('%Math.abs%');
|
|
18396
18451
|
|
|
18397
18452
|
// http://262.ecma-international.org/5.1/#sec-5.2
|
|
18398
18453
|
|
|
@@ -18410,13 +18465,13 @@ var floor$1 = function floor(x) {
|
|
|
18410
18465
|
return $floor(x);
|
|
18411
18466
|
};
|
|
18412
18467
|
|
|
18413
|
-
var isPrimitive$
|
|
18468
|
+
var isPrimitive$5 = function isPrimitive(value) {
|
|
18414
18469
|
return value === null || (typeof value !== 'function' && typeof value !== 'object');
|
|
18415
18470
|
};
|
|
18416
18471
|
|
|
18417
18472
|
var toStr$2 = Object.prototype.toString;
|
|
18418
18473
|
|
|
18419
|
-
var isPrimitive$
|
|
18474
|
+
var isPrimitive$4 = isPrimitive$5;
|
|
18420
18475
|
|
|
18421
18476
|
var isCallable$1 = isCallable$2;
|
|
18422
18477
|
|
|
@@ -18436,7 +18491,7 @@ var ES5internalSlots = {
|
|
|
18436
18491
|
for (i = 0; i < methods.length; ++i) {
|
|
18437
18492
|
if (isCallable$1(O[methods[i]])) {
|
|
18438
18493
|
value = O[methods[i]]();
|
|
18439
|
-
if (isPrimitive$
|
|
18494
|
+
if (isPrimitive$4(value)) {
|
|
18440
18495
|
return value;
|
|
18441
18496
|
}
|
|
18442
18497
|
}
|
|
@@ -18449,7 +18504,7 @@ var ES5internalSlots = {
|
|
|
18449
18504
|
|
|
18450
18505
|
// http://ecma-international.org/ecma-262/5.1/#sec-9.1
|
|
18451
18506
|
var es5 = function ToPrimitive(input) {
|
|
18452
|
-
if (isPrimitive$
|
|
18507
|
+
if (isPrimitive$4(input)) {
|
|
18453
18508
|
return input;
|
|
18454
18509
|
}
|
|
18455
18510
|
if (arguments.length > 1) {
|
|
@@ -18460,14 +18515,14 @@ var es5 = function ToPrimitive(input) {
|
|
|
18460
18515
|
|
|
18461
18516
|
// http://262.ecma-international.org/5.1/#sec-9.1
|
|
18462
18517
|
|
|
18463
|
-
var ToPrimitive$
|
|
18518
|
+
var ToPrimitive$3 = es5;
|
|
18464
18519
|
|
|
18465
|
-
var ToPrimitive$
|
|
18520
|
+
var ToPrimitive$2 = ToPrimitive$3;
|
|
18466
18521
|
|
|
18467
18522
|
// http://262.ecma-international.org/5.1/#sec-9.3
|
|
18468
18523
|
|
|
18469
|
-
var ToNumber$
|
|
18470
|
-
var prim = ToPrimitive$
|
|
18524
|
+
var ToNumber$3 = function ToNumber(value) {
|
|
18525
|
+
var prim = ToPrimitive$2(value, Number);
|
|
18471
18526
|
if (typeof prim !== 'string') {
|
|
18472
18527
|
return +prim; // eslint-disable-line no-implicit-coercion
|
|
18473
18528
|
}
|
|
@@ -18487,7 +18542,7 @@ var sign = function sign(number) {
|
|
|
18487
18542
|
|
|
18488
18543
|
var abs = abs$1;
|
|
18489
18544
|
var floor = floor$1;
|
|
18490
|
-
var ToNumber$
|
|
18545
|
+
var ToNumber$2 = ToNumber$3;
|
|
18491
18546
|
|
|
18492
18547
|
var $isNaN = _isNaN;
|
|
18493
18548
|
var $isFinite = _isFinite;
|
|
@@ -18495,20 +18550,20 @@ var $sign = sign;
|
|
|
18495
18550
|
|
|
18496
18551
|
// http://262.ecma-international.org/5.1/#sec-9.4
|
|
18497
18552
|
|
|
18498
|
-
var ToInteger
|
|
18499
|
-
var number = ToNumber$
|
|
18553
|
+
var ToInteger = function ToInteger(value) {
|
|
18554
|
+
var number = ToNumber$2(value);
|
|
18500
18555
|
if ($isNaN(number)) { return 0; }
|
|
18501
18556
|
if (number === 0 || !$isFinite(number)) { return number; }
|
|
18502
18557
|
return $sign(number) * floor(abs(number));
|
|
18503
18558
|
};
|
|
18504
18559
|
|
|
18505
|
-
var GetIntrinsic$
|
|
18560
|
+
var GetIntrinsic$6 = getIntrinsic;
|
|
18506
18561
|
|
|
18507
|
-
var $test = GetIntrinsic$
|
|
18562
|
+
var $test = GetIntrinsic$6('RegExp.prototype.test');
|
|
18508
18563
|
|
|
18509
18564
|
var callBind$6 = callBind$8.exports;
|
|
18510
18565
|
|
|
18511
|
-
var regexTester$
|
|
18566
|
+
var regexTester$1 = function regexTester(regex) {
|
|
18512
18567
|
return callBind$6($test, regex);
|
|
18513
18568
|
};
|
|
18514
18569
|
|
|
@@ -18571,7 +18626,7 @@ if (hasSymbols$2) {
|
|
|
18571
18626
|
|
|
18572
18627
|
var hasSymbols$1 = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';
|
|
18573
18628
|
|
|
18574
|
-
var isPrimitive$
|
|
18629
|
+
var isPrimitive$3 = isPrimitive$5;
|
|
18575
18630
|
var isCallable = isCallable$2;
|
|
18576
18631
|
var isDate = isDateObject;
|
|
18577
18632
|
var isSymbol$3 = isSymbol$4.exports;
|
|
@@ -18589,7 +18644,7 @@ var ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {
|
|
|
18589
18644
|
method = O[methodNames[i]];
|
|
18590
18645
|
if (isCallable(method)) {
|
|
18591
18646
|
result = method.call(O);
|
|
18592
|
-
if (isPrimitive$
|
|
18647
|
+
if (isPrimitive$3(result)) {
|
|
18593
18648
|
return result;
|
|
18594
18649
|
}
|
|
18595
18650
|
}
|
|
@@ -18610,7 +18665,7 @@ var GetMethod = function GetMethod(O, P) {
|
|
|
18610
18665
|
|
|
18611
18666
|
// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive
|
|
18612
18667
|
var es2015 = function ToPrimitive(input) {
|
|
18613
|
-
if (isPrimitive$
|
|
18668
|
+
if (isPrimitive$3(input)) {
|
|
18614
18669
|
return input;
|
|
18615
18670
|
}
|
|
18616
18671
|
var hint = 'default';
|
|
@@ -18632,7 +18687,7 @@ var es2015 = function ToPrimitive(input) {
|
|
|
18632
18687
|
}
|
|
18633
18688
|
if (typeof exoticToPrim !== 'undefined') {
|
|
18634
18689
|
var result = exoticToPrim.call(input, hint);
|
|
18635
|
-
if (isPrimitive$
|
|
18690
|
+
if (isPrimitive$3(result)) {
|
|
18636
18691
|
return result;
|
|
18637
18692
|
}
|
|
18638
18693
|
throw new TypeError('unable to convert exotic object to primitive');
|
|
@@ -18643,145 +18698,145 @@ var es2015 = function ToPrimitive(input) {
|
|
|
18643
18698
|
return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);
|
|
18644
18699
|
};
|
|
18645
18700
|
|
|
18646
|
-
var toPrimitive
|
|
18701
|
+
var toPrimitive = es2015;
|
|
18647
18702
|
|
|
18648
18703
|
// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
|
|
18649
18704
|
|
|
18650
|
-
var ToPrimitive$
|
|
18705
|
+
var ToPrimitive$1 = function ToPrimitive(input) {
|
|
18651
18706
|
if (arguments.length > 1) {
|
|
18652
|
-
return toPrimitive
|
|
18707
|
+
return toPrimitive(input, arguments[1]);
|
|
18653
18708
|
}
|
|
18654
|
-
return toPrimitive
|
|
18709
|
+
return toPrimitive(input);
|
|
18655
18710
|
};
|
|
18656
18711
|
|
|
18657
|
-
var GetIntrinsic$
|
|
18712
|
+
var GetIntrinsic$5 = getIntrinsic;
|
|
18658
18713
|
|
|
18659
|
-
var $TypeError$
|
|
18660
|
-
var $Number
|
|
18661
|
-
var $RegExp
|
|
18662
|
-
var $parseInteger
|
|
18714
|
+
var $TypeError$4 = GetIntrinsic$5('%TypeError%');
|
|
18715
|
+
var $Number = GetIntrinsic$5('%Number%');
|
|
18716
|
+
var $RegExp = GetIntrinsic$5('%RegExp%');
|
|
18717
|
+
var $parseInteger = GetIntrinsic$5('%parseInt%');
|
|
18663
18718
|
|
|
18664
18719
|
var callBound$5 = callBound$a;
|
|
18665
|
-
var regexTester
|
|
18666
|
-
var isPrimitive$
|
|
18720
|
+
var regexTester = regexTester$1;
|
|
18721
|
+
var isPrimitive$2 = isPrimitive$7;
|
|
18667
18722
|
|
|
18668
|
-
var $strSlice
|
|
18669
|
-
var isBinary
|
|
18670
|
-
var isOctal
|
|
18671
|
-
var isInvalidHexLiteral
|
|
18672
|
-
var nonWS
|
|
18673
|
-
var nonWSregex
|
|
18674
|
-
var hasNonWS
|
|
18723
|
+
var $strSlice = callBound$5('String.prototype.slice');
|
|
18724
|
+
var isBinary = regexTester(/^0b[01]+$/i);
|
|
18725
|
+
var isOctal = regexTester(/^0o[0-7]+$/i);
|
|
18726
|
+
var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
|
|
18727
|
+
var nonWS = ['\u0085', '\u200b', '\ufffe'].join('');
|
|
18728
|
+
var nonWSregex = new $RegExp('[' + nonWS + ']', 'g');
|
|
18729
|
+
var hasNonWS = regexTester(nonWSregex);
|
|
18675
18730
|
|
|
18676
18731
|
// whitespace from: https://es5.github.io/#x15.5.4.20
|
|
18677
18732
|
// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324
|
|
18678
|
-
var ws
|
|
18733
|
+
var ws = [
|
|
18679
18734
|
'\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003',
|
|
18680
18735
|
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028',
|
|
18681
18736
|
'\u2029\uFEFF'
|
|
18682
18737
|
].join('');
|
|
18683
|
-
var trimRegex
|
|
18684
|
-
var $replace
|
|
18685
|
-
var $trim
|
|
18686
|
-
return $replace
|
|
18738
|
+
var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');
|
|
18739
|
+
var $replace = callBound$5('String.prototype.replace');
|
|
18740
|
+
var $trim = function (value) {
|
|
18741
|
+
return $replace(value, trimRegex, '');
|
|
18687
18742
|
};
|
|
18688
18743
|
|
|
18689
|
-
var ToPrimitive
|
|
18744
|
+
var ToPrimitive = ToPrimitive$1;
|
|
18690
18745
|
|
|
18691
18746
|
// https://ecma-international.org/ecma-262/6.0/#sec-tonumber
|
|
18692
18747
|
|
|
18693
|
-
var ToNumber$
|
|
18694
|
-
var value = isPrimitive$
|
|
18748
|
+
var ToNumber$1 = function ToNumber(argument) {
|
|
18749
|
+
var value = isPrimitive$2(argument) ? argument : ToPrimitive(argument, $Number);
|
|
18695
18750
|
if (typeof value === 'symbol') {
|
|
18696
|
-
throw new $TypeError$
|
|
18751
|
+
throw new $TypeError$4('Cannot convert a Symbol value to a number');
|
|
18697
18752
|
}
|
|
18698
18753
|
if (typeof value === 'bigint') {
|
|
18699
|
-
throw new $TypeError$
|
|
18754
|
+
throw new $TypeError$4('Conversion from \'BigInt\' to \'number\' is not allowed.');
|
|
18700
18755
|
}
|
|
18701
18756
|
if (typeof value === 'string') {
|
|
18702
|
-
if (isBinary
|
|
18703
|
-
return ToNumber($parseInteger
|
|
18704
|
-
} else if (isOctal
|
|
18705
|
-
return ToNumber($parseInteger
|
|
18706
|
-
} else if (hasNonWS
|
|
18757
|
+
if (isBinary(value)) {
|
|
18758
|
+
return ToNumber($parseInteger($strSlice(value, 2), 2));
|
|
18759
|
+
} else if (isOctal(value)) {
|
|
18760
|
+
return ToNumber($parseInteger($strSlice(value, 2), 8));
|
|
18761
|
+
} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {
|
|
18707
18762
|
return NaN;
|
|
18708
|
-
} else {
|
|
18709
|
-
var trimmed = $trim$1(value);
|
|
18710
|
-
if (trimmed !== value) {
|
|
18711
|
-
return ToNumber(trimmed);
|
|
18712
|
-
}
|
|
18713
18763
|
}
|
|
18764
|
+
var trimmed = $trim(value);
|
|
18765
|
+
if (trimmed !== value) {
|
|
18766
|
+
return ToNumber(trimmed);
|
|
18767
|
+
}
|
|
18768
|
+
|
|
18714
18769
|
}
|
|
18715
|
-
return $Number
|
|
18770
|
+
return $Number(value);
|
|
18716
18771
|
};
|
|
18717
18772
|
|
|
18718
|
-
var ES5ToInteger
|
|
18773
|
+
var ES5ToInteger = ToInteger;
|
|
18719
18774
|
|
|
18720
|
-
var ToNumber
|
|
18775
|
+
var ToNumber = ToNumber$1;
|
|
18721
18776
|
|
|
18722
|
-
// https://
|
|
18777
|
+
// https://www.ecma-international.org/ecma-262/11.0/#sec-tointeger
|
|
18723
18778
|
|
|
18724
|
-
var
|
|
18725
|
-
var number = ToNumber
|
|
18779
|
+
var ToIntegerOrInfinity$2 = function ToInteger(value) {
|
|
18780
|
+
var number = ToNumber(value);
|
|
18726
18781
|
if (number !== 0) {
|
|
18727
|
-
number = ES5ToInteger
|
|
18782
|
+
number = ES5ToInteger(number);
|
|
18728
18783
|
}
|
|
18729
18784
|
return number === 0 ? 0 : number;
|
|
18730
18785
|
};
|
|
18731
18786
|
|
|
18732
|
-
var MAX_SAFE_INTEGER$
|
|
18787
|
+
var MAX_SAFE_INTEGER$1 = maxSafeInteger;
|
|
18733
18788
|
|
|
18734
|
-
var
|
|
18789
|
+
var ToIntegerOrInfinity$1 = ToIntegerOrInfinity$2;
|
|
18735
18790
|
|
|
18736
|
-
var ToLength$
|
|
18737
|
-
var len =
|
|
18791
|
+
var ToLength$3 = function ToLength(argument) {
|
|
18792
|
+
var len = ToIntegerOrInfinity$1(argument);
|
|
18738
18793
|
if (len <= 0) { return 0; } // includes converting -0 to +0
|
|
18739
|
-
if (len > MAX_SAFE_INTEGER$
|
|
18794
|
+
if (len > MAX_SAFE_INTEGER$1) { return MAX_SAFE_INTEGER$1; }
|
|
18740
18795
|
return len;
|
|
18741
18796
|
};
|
|
18742
18797
|
|
|
18743
|
-
var GetIntrinsic$
|
|
18798
|
+
var GetIntrinsic$4 = getIntrinsic;
|
|
18744
18799
|
|
|
18745
|
-
var $TypeError$
|
|
18800
|
+
var $TypeError$3 = GetIntrinsic$4('%TypeError%');
|
|
18746
18801
|
|
|
18747
18802
|
var Get$2 = Get$4;
|
|
18748
|
-
var ToLength$
|
|
18749
|
-
var Type = Type$
|
|
18803
|
+
var ToLength$2 = ToLength$3;
|
|
18804
|
+
var Type = Type$d;
|
|
18750
18805
|
|
|
18751
18806
|
// https://262.ecma-international.org/11.0/#sec-lengthofarraylike
|
|
18752
18807
|
|
|
18753
18808
|
var LengthOfArrayLike$1 = function LengthOfArrayLike(obj) {
|
|
18754
18809
|
if (Type(obj) !== 'Object') {
|
|
18755
|
-
throw new $TypeError$
|
|
18810
|
+
throw new $TypeError$3('Assertion failed: `obj` must be an Object');
|
|
18756
18811
|
}
|
|
18757
|
-
return ToLength$
|
|
18812
|
+
return ToLength$2(Get$2(obj, 'length'));
|
|
18758
18813
|
};
|
|
18759
18814
|
|
|
18760
|
-
var GetIntrinsic$
|
|
18815
|
+
var GetIntrinsic$3 = getIntrinsic;
|
|
18761
18816
|
|
|
18762
|
-
var $String = GetIntrinsic$
|
|
18763
|
-
var $TypeError$
|
|
18817
|
+
var $String = GetIntrinsic$3('%String%');
|
|
18818
|
+
var $TypeError$2 = GetIntrinsic$3('%TypeError%');
|
|
18764
18819
|
|
|
18765
18820
|
// https://ecma-international.org/ecma-262/6.0/#sec-tostring
|
|
18766
18821
|
|
|
18767
18822
|
var ToString$1 = function ToString(argument) {
|
|
18768
18823
|
if (typeof argument === 'symbol') {
|
|
18769
|
-
throw new $TypeError$
|
|
18824
|
+
throw new $TypeError$2('Cannot convert a Symbol value to a string');
|
|
18770
18825
|
}
|
|
18771
18826
|
return $String(argument);
|
|
18772
18827
|
};
|
|
18773
18828
|
|
|
18774
|
-
var GetIntrinsic$
|
|
18829
|
+
var GetIntrinsic$2 = getIntrinsic;
|
|
18775
18830
|
|
|
18776
|
-
var $TypeError$
|
|
18831
|
+
var $TypeError$1 = GetIntrinsic$2('%TypeError%');
|
|
18777
18832
|
|
|
18778
|
-
var MAX_SAFE_INTEGER
|
|
18833
|
+
var MAX_SAFE_INTEGER = maxSafeInteger;
|
|
18779
18834
|
|
|
18780
18835
|
var Call = Call$1;
|
|
18781
18836
|
var CreateDataPropertyOrThrow = CreateDataPropertyOrThrow$1;
|
|
18782
18837
|
var Get$1 = Get$4;
|
|
18783
18838
|
var HasProperty = HasProperty$1;
|
|
18784
|
-
var IsArray = IsArray$
|
|
18839
|
+
var IsArray = IsArray$5;
|
|
18785
18840
|
var LengthOfArrayLike = LengthOfArrayLike$1;
|
|
18786
18841
|
var ToString = ToString$1;
|
|
18787
18842
|
|
|
@@ -18803,7 +18858,7 @@ var FlattenIntoArray$1 = function FlattenIntoArray(target, source, sourceLen, st
|
|
|
18803
18858
|
var element = Get$1(source, P);
|
|
18804
18859
|
if (typeof mapperFunction !== 'undefined') {
|
|
18805
18860
|
if (arguments.length <= 6) {
|
|
18806
|
-
throw new $TypeError$
|
|
18861
|
+
throw new $TypeError$1('Assertion failed: thisArg is required when mapperFunction is provided');
|
|
18807
18862
|
}
|
|
18808
18863
|
element = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);
|
|
18809
18864
|
}
|
|
@@ -18815,8 +18870,8 @@ var FlattenIntoArray$1 = function FlattenIntoArray(target, source, sourceLen, st
|
|
|
18815
18870
|
var elementLen = LengthOfArrayLike(element);
|
|
18816
18871
|
targetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);
|
|
18817
18872
|
} else {
|
|
18818
|
-
if (targetIndex >= MAX_SAFE_INTEGER
|
|
18819
|
-
throw new $TypeError$
|
|
18873
|
+
if (targetIndex >= MAX_SAFE_INTEGER) {
|
|
18874
|
+
throw new $TypeError$1('index too large');
|
|
18820
18875
|
}
|
|
18821
18876
|
CreateDataPropertyOrThrow(target, ToString(targetIndex), element);
|
|
18822
18877
|
targetIndex += 1;
|
|
@@ -18828,48 +18883,48 @@ var FlattenIntoArray$1 = function FlattenIntoArray(target, source, sourceLen, st
|
|
|
18828
18883
|
return targetIndex;
|
|
18829
18884
|
};
|
|
18830
18885
|
|
|
18831
|
-
var GetIntrinsic$
|
|
18886
|
+
var GetIntrinsic$1 = getIntrinsic;
|
|
18832
18887
|
|
|
18833
|
-
var $TypeError
|
|
18888
|
+
var $TypeError = GetIntrinsic$1('%TypeError%');
|
|
18834
18889
|
|
|
18835
18890
|
// http://262.ecma-international.org/5.1/#sec-9.10
|
|
18836
18891
|
|
|
18837
18892
|
var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
|
|
18838
18893
|
if (value == null) {
|
|
18839
|
-
throw new $TypeError
|
|
18894
|
+
throw new $TypeError(optMessage || ('Cannot call method on ' + value));
|
|
18840
18895
|
}
|
|
18841
18896
|
return value;
|
|
18842
18897
|
};
|
|
18843
18898
|
|
|
18844
|
-
var RequireObjectCoercible$
|
|
18899
|
+
var RequireObjectCoercible$4 = CheckObjectCoercible;
|
|
18845
18900
|
|
|
18846
|
-
var GetIntrinsic
|
|
18901
|
+
var GetIntrinsic = getIntrinsic;
|
|
18847
18902
|
|
|
18848
|
-
var $Object
|
|
18903
|
+
var $Object = GetIntrinsic('%Object%');
|
|
18849
18904
|
|
|
18850
|
-
var RequireObjectCoercible$
|
|
18905
|
+
var RequireObjectCoercible$3 = RequireObjectCoercible$4;
|
|
18851
18906
|
|
|
18852
18907
|
// https://ecma-international.org/ecma-262/6.0/#sec-toobject
|
|
18853
18908
|
|
|
18854
|
-
var ToObject$
|
|
18855
|
-
RequireObjectCoercible$
|
|
18856
|
-
return $Object
|
|
18909
|
+
var ToObject$2 = function ToObject(value) {
|
|
18910
|
+
RequireObjectCoercible$3(value);
|
|
18911
|
+
return $Object(value);
|
|
18857
18912
|
};
|
|
18858
18913
|
|
|
18859
18914
|
var ArraySpeciesCreate = ArraySpeciesCreate$1;
|
|
18860
18915
|
var FlattenIntoArray = FlattenIntoArray$1;
|
|
18861
18916
|
var Get = Get$4;
|
|
18862
|
-
var
|
|
18863
|
-
var ToLength$
|
|
18864
|
-
var ToObject$
|
|
18917
|
+
var ToIntegerOrInfinity = ToIntegerOrInfinity$2;
|
|
18918
|
+
var ToLength$1 = ToLength$3;
|
|
18919
|
+
var ToObject$1 = ToObject$2;
|
|
18865
18920
|
|
|
18866
18921
|
var implementation$m = function flat() {
|
|
18867
|
-
var O = ToObject$
|
|
18868
|
-
var sourceLen = ToLength$
|
|
18922
|
+
var O = ToObject$1(this);
|
|
18923
|
+
var sourceLen = ToLength$1(Get(O, 'length'));
|
|
18869
18924
|
|
|
18870
18925
|
var depthNum = 1;
|
|
18871
18926
|
if (arguments.length > 0 && typeof arguments[0] !== 'undefined') {
|
|
18872
|
-
depthNum =
|
|
18927
|
+
depthNum = ToIntegerOrInfinity(arguments[0]);
|
|
18873
18928
|
}
|
|
18874
18929
|
|
|
18875
18930
|
var A = ArraySpeciesCreate(O, 0);
|
|
@@ -18942,7 +18997,7 @@ var ensureCache = function ensureCache() {
|
|
|
18942
18997
|
|
|
18943
18998
|
var cache = ensureCache();
|
|
18944
18999
|
|
|
18945
|
-
var isPrimitive$
|
|
19000
|
+
var isPrimitive$1 = function isPrimitive(val) {
|
|
18946
19001
|
return val === null || (typeof val !== 'object' && typeof val !== 'function');
|
|
18947
19002
|
};
|
|
18948
19003
|
|
|
@@ -18954,7 +19009,7 @@ var getPrimitiveKey = function getPrimitiveKey(val) {
|
|
|
18954
19009
|
};
|
|
18955
19010
|
|
|
18956
19011
|
var requirePrimitiveKey = function requirePrimitiveKey(val) {
|
|
18957
|
-
if (!isPrimitive$
|
|
19012
|
+
if (!isPrimitive$1(val)) {
|
|
18958
19013
|
throw new TypeError('key must not be an object');
|
|
18959
19014
|
}
|
|
18960
19015
|
};
|
|
@@ -19638,14 +19693,11 @@ function _extends() {
|
|
|
19638
19693
|
}
|
|
19639
19694
|
|
|
19640
19695
|
return target;
|
|
19641
|
-
};
|
|
19642
|
-
|
|
19643
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19696
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19644
19697
|
return _extends.apply(this, arguments);
|
|
19645
19698
|
}
|
|
19646
19699
|
|
|
19647
|
-
module.exports = _extends;
|
|
19648
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19700
|
+
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19649
19701
|
}(_extends));
|
|
19650
19702
|
|
|
19651
19703
|
var assertThisInitialized = {exports: {}};
|
|
@@ -19659,8 +19711,7 @@ function _assertThisInitialized(self) {
|
|
|
19659
19711
|
return self;
|
|
19660
19712
|
}
|
|
19661
19713
|
|
|
19662
|
-
module.exports = _assertThisInitialized;
|
|
19663
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19714
|
+
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19664
19715
|
}(assertThisInitialized));
|
|
19665
19716
|
|
|
19666
19717
|
var inheritsLoose = {exports: {}};
|
|
@@ -19672,14 +19723,11 @@ function _setPrototypeOf(o, p) {
|
|
|
19672
19723
|
module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
19673
19724
|
o.__proto__ = p;
|
|
19674
19725
|
return o;
|
|
19675
|
-
};
|
|
19676
|
-
|
|
19677
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19726
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19678
19727
|
return _setPrototypeOf(o, p);
|
|
19679
19728
|
}
|
|
19680
19729
|
|
|
19681
|
-
module.exports = _setPrototypeOf;
|
|
19682
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19730
|
+
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19683
19731
|
}(setPrototypeOf));
|
|
19684
19732
|
|
|
19685
19733
|
(function (module) {
|
|
@@ -19691,8 +19739,7 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
19691
19739
|
setPrototypeOf$1(subClass, superClass);
|
|
19692
19740
|
}
|
|
19693
19741
|
|
|
19694
|
-
module.exports = _inheritsLoose;
|
|
19695
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19742
|
+
module.exports = _inheritsLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19696
19743
|
}(inheritsLoose));
|
|
19697
19744
|
|
|
19698
19745
|
var defineProperty$1 = {exports: {}};
|
|
@@ -19713,8 +19760,7 @@ function _defineProperty(obj, key, value) {
|
|
|
19713
19760
|
return obj;
|
|
19714
19761
|
}
|
|
19715
19762
|
|
|
19716
|
-
module.exports = _defineProperty;
|
|
19717
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19763
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19718
19764
|
}(defineProperty$1));
|
|
19719
19765
|
|
|
19720
19766
|
var moment$2 = {exports: {}};
|
|
@@ -25624,7 +25670,7 @@ var canBeObject = function (obj) {
|
|
|
25624
25670
|
var hasSymbols = shams$1();
|
|
25625
25671
|
var callBound$4 = callBound$a;
|
|
25626
25672
|
var toObject = Object;
|
|
25627
|
-
var $push = callBound$4('Array.prototype.push');
|
|
25673
|
+
var $push$2 = callBound$4('Array.prototype.push');
|
|
25628
25674
|
var $propIsEnumerable = callBound$4('Object.prototype.propertyIsEnumerable');
|
|
25629
25675
|
var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
|
|
25630
25676
|
|
|
@@ -25642,7 +25688,7 @@ var implementation$g = function assign(target, source1) {
|
|
|
25642
25688
|
for (i = 0; i < syms.length; ++i) {
|
|
25643
25689
|
key = syms[i];
|
|
25644
25690
|
if ($propIsEnumerable(source, key)) {
|
|
25645
|
-
$push(props, key);
|
|
25691
|
+
$push$2(props, key);
|
|
25646
25692
|
}
|
|
25647
25693
|
}
|
|
25648
25694
|
}
|
|
@@ -25907,16 +25953,17 @@ function andValidator(validators) {
|
|
|
25907
25953
|
|
|
25908
25954
|
var between = {};
|
|
25909
25955
|
|
|
25910
|
-
var RequireObjectCoercible$
|
|
25956
|
+
var RequireObjectCoercible$2 = RequireObjectCoercible$4;
|
|
25911
25957
|
var callBound$3 = callBound$a;
|
|
25912
25958
|
var $isEnumerable$1 = callBound$3('Object.prototype.propertyIsEnumerable');
|
|
25959
|
+
var $push$1 = callBound$3('Array.prototype.push');
|
|
25913
25960
|
|
|
25914
25961
|
var implementation$d = function entries(O) {
|
|
25915
|
-
var obj = RequireObjectCoercible$
|
|
25962
|
+
var obj = RequireObjectCoercible$2(O);
|
|
25916
25963
|
var entrys = [];
|
|
25917
25964
|
for (var key in obj) {
|
|
25918
25965
|
if ($isEnumerable$1(obj, key)) { // checks own-ness as well
|
|
25919
|
-
|
|
25966
|
+
$push$1(entrys, [key, obj[key]]);
|
|
25920
25967
|
}
|
|
25921
25968
|
}
|
|
25922
25969
|
return entrys;
|
|
@@ -26045,7 +26092,7 @@ function shapeValidator(shapeTypes) {
|
|
|
26045
26092
|
|
|
26046
26093
|
var valuesOf = {};
|
|
26047
26094
|
|
|
26048
|
-
var isPrimitive
|
|
26095
|
+
var isPrimitive = {};
|
|
26049
26096
|
|
|
26050
26097
|
(function (exports) {
|
|
26051
26098
|
|
|
@@ -26060,7 +26107,7 @@ function isPrimitive(x) {
|
|
|
26060
26107
|
return !x || _typeof(x) !== 'object' && typeof x !== 'function';
|
|
26061
26108
|
}
|
|
26062
26109
|
|
|
26063
|
-
}(isPrimitive
|
|
26110
|
+
}(isPrimitive));
|
|
26064
26111
|
|
|
26065
26112
|
(function (exports) {
|
|
26066
26113
|
|
|
@@ -26069,7 +26116,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
26069
26116
|
});
|
|
26070
26117
|
exports["default"] = valuesOfValidator;
|
|
26071
26118
|
|
|
26072
|
-
var _isPrimitive = _interopRequireDefault(isPrimitive
|
|
26119
|
+
var _isPrimitive = _interopRequireDefault(isPrimitive);
|
|
26073
26120
|
|
|
26074
26121
|
var _wrapValidator = _interopRequireDefault(wrapValidator);
|
|
26075
26122
|
|
|
@@ -26608,119 +26655,9 @@ function childrenOf(propType) {
|
|
|
26608
26655
|
|
|
26609
26656
|
var childrenOfType = {};
|
|
26610
26657
|
|
|
26611
|
-
var
|
|
26612
|
-
|
|
26613
|
-
var
|
|
26614
|
-
|
|
26615
|
-
var $Object = GetIntrinsic$1('%Object%');
|
|
26616
|
-
|
|
26617
|
-
var RequireObjectCoercible$2 = RequireObjectCoercible$3;
|
|
26618
|
-
|
|
26619
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-toobject
|
|
26620
|
-
|
|
26621
|
-
var ToObject$1 = function ToObject(value) {
|
|
26622
|
-
RequireObjectCoercible$2(value);
|
|
26623
|
-
return $Object(value);
|
|
26624
|
-
};
|
|
26625
|
-
|
|
26626
|
-
var toPrimitive = es2015;
|
|
26627
|
-
|
|
26628
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive
|
|
26629
|
-
|
|
26630
|
-
var ToPrimitive$1 = function ToPrimitive(input) {
|
|
26631
|
-
if (arguments.length > 1) {
|
|
26632
|
-
return toPrimitive(input, arguments[1]);
|
|
26633
|
-
}
|
|
26634
|
-
return toPrimitive(input);
|
|
26635
|
-
};
|
|
26636
|
-
|
|
26637
|
-
var GetIntrinsic = getIntrinsic;
|
|
26638
|
-
|
|
26639
|
-
var $TypeError = GetIntrinsic('%TypeError%');
|
|
26640
|
-
var $Number = GetIntrinsic('%Number%');
|
|
26641
|
-
var $RegExp = GetIntrinsic('%RegExp%');
|
|
26642
|
-
var $parseInteger = GetIntrinsic('%parseInt%');
|
|
26643
|
-
|
|
26644
|
-
var callBound$2 = callBound$a;
|
|
26645
|
-
var regexTester = regexTester$2;
|
|
26646
|
-
var isPrimitive = isPrimitive$8;
|
|
26647
|
-
|
|
26648
|
-
var $strSlice = callBound$2('String.prototype.slice');
|
|
26649
|
-
var isBinary = regexTester(/^0b[01]+$/i);
|
|
26650
|
-
var isOctal = regexTester(/^0o[0-7]+$/i);
|
|
26651
|
-
var isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);
|
|
26652
|
-
var nonWS = ['\u0085', '\u200b', '\ufffe'].join('');
|
|
26653
|
-
var nonWSregex = new $RegExp('[' + nonWS + ']', 'g');
|
|
26654
|
-
var hasNonWS = regexTester(nonWSregex);
|
|
26655
|
-
|
|
26656
|
-
// whitespace from: https://es5.github.io/#x15.5.4.20
|
|
26657
|
-
// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324
|
|
26658
|
-
var ws = [
|
|
26659
|
-
'\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003',
|
|
26660
|
-
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028',
|
|
26661
|
-
'\u2029\uFEFF'
|
|
26662
|
-
].join('');
|
|
26663
|
-
var trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');
|
|
26664
|
-
var $replace = callBound$2('String.prototype.replace');
|
|
26665
|
-
var $trim = function (value) {
|
|
26666
|
-
return $replace(value, trimRegex, '');
|
|
26667
|
-
};
|
|
26668
|
-
|
|
26669
|
-
var ToPrimitive = ToPrimitive$1;
|
|
26670
|
-
|
|
26671
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-tonumber
|
|
26672
|
-
|
|
26673
|
-
var ToNumber$1 = function ToNumber(argument) {
|
|
26674
|
-
var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);
|
|
26675
|
-
if (typeof value === 'symbol') {
|
|
26676
|
-
throw new $TypeError('Cannot convert a Symbol value to a number');
|
|
26677
|
-
}
|
|
26678
|
-
if (typeof value === 'string') {
|
|
26679
|
-
if (isBinary(value)) {
|
|
26680
|
-
return ToNumber($parseInteger($strSlice(value, 2), 2));
|
|
26681
|
-
} else if (isOctal(value)) {
|
|
26682
|
-
return ToNumber($parseInteger($strSlice(value, 2), 8));
|
|
26683
|
-
} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {
|
|
26684
|
-
return NaN;
|
|
26685
|
-
} else {
|
|
26686
|
-
var trimmed = $trim(value);
|
|
26687
|
-
if (trimmed !== value) {
|
|
26688
|
-
return ToNumber(trimmed);
|
|
26689
|
-
}
|
|
26690
|
-
}
|
|
26691
|
-
}
|
|
26692
|
-
return $Number(value);
|
|
26693
|
-
};
|
|
26694
|
-
|
|
26695
|
-
var ES5ToInteger = ToInteger$5;
|
|
26696
|
-
|
|
26697
|
-
var ToNumber = ToNumber$1;
|
|
26698
|
-
|
|
26699
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-tointeger
|
|
26700
|
-
|
|
26701
|
-
var ToInteger$1 = function ToInteger(value) {
|
|
26702
|
-
var number = ToNumber(value);
|
|
26703
|
-
return ES5ToInteger(number);
|
|
26704
|
-
};
|
|
26705
|
-
|
|
26706
|
-
var MAX_SAFE_INTEGER = maxSafeInteger;
|
|
26707
|
-
|
|
26708
|
-
var ToInteger = ToInteger$1;
|
|
26709
|
-
|
|
26710
|
-
var ToLength$1 = function ToLength(argument) {
|
|
26711
|
-
var len = ToInteger(argument);
|
|
26712
|
-
if (len <= 0) { return 0; } // includes converting -0 to +0
|
|
26713
|
-
if (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }
|
|
26714
|
-
return len;
|
|
26715
|
-
};
|
|
26716
|
-
|
|
26717
|
-
// http://262.ecma-international.org/5.1/#sec-9.11
|
|
26718
|
-
|
|
26719
|
-
var IsCallable$2 = isCallable$2;
|
|
26720
|
-
|
|
26721
|
-
var ToObject = ToObject$1;
|
|
26722
|
-
var ToLength = ToLength$1;
|
|
26723
|
-
var IsCallable$1 = IsCallable$2;
|
|
26658
|
+
var ToObject = ToObject$2;
|
|
26659
|
+
var ToLength = ToLength$3;
|
|
26660
|
+
var IsCallable$1 = IsCallable$3;
|
|
26724
26661
|
|
|
26725
26662
|
var implementation$a = function find(predicate) {
|
|
26726
26663
|
var list = ToObject(this);
|
|
@@ -26774,19 +26711,20 @@ var shim$7 = function shimArrayPrototypeFind() {
|
|
|
26774
26711
|
};
|
|
26775
26712
|
|
|
26776
26713
|
var define$5 = defineProperties_1;
|
|
26777
|
-
var
|
|
26714
|
+
var callBound$2 = callBound$a;
|
|
26715
|
+
var RequireObjectCoercible$1 = RequireObjectCoercible$4;
|
|
26778
26716
|
|
|
26779
26717
|
var implementation$9 = implementation$a;
|
|
26780
26718
|
var getPolyfill$6 = polyfill$6;
|
|
26781
26719
|
var shim$6 = shim$7;
|
|
26782
26720
|
|
|
26783
|
-
var slice = Array.prototype.slice;
|
|
26721
|
+
var $slice = callBound$2('Array.prototype.slice');
|
|
26784
26722
|
|
|
26785
26723
|
var polyfill$5 = getPolyfill$6();
|
|
26786
26724
|
|
|
26787
26725
|
var boundFindShim = function find(array, predicate) { // eslint-disable-line no-unused-vars
|
|
26788
26726
|
RequireObjectCoercible$1(array);
|
|
26789
|
-
var args = slice
|
|
26727
|
+
var args = $slice(arguments, 1);
|
|
26790
26728
|
return polyfill$5.apply(array, args);
|
|
26791
26729
|
};
|
|
26792
26730
|
|
|
@@ -26826,7 +26764,7 @@ functionsHaveNames$2.boundFunctionsHaveNames = function boundFunctionsHaveNames(
|
|
|
26826
26764
|
|
|
26827
26765
|
var functionsHaveNames_1 = functionsHaveNames$2;
|
|
26828
26766
|
|
|
26829
|
-
var IsCallable = IsCallable$
|
|
26767
|
+
var IsCallable = IsCallable$3;
|
|
26830
26768
|
var functionsHaveNames$1 = functionsHaveNames_1();
|
|
26831
26769
|
var callBound$1 = callBound$a;
|
|
26832
26770
|
var $functionToString = callBound$1('Function.prototype.toString');
|
|
@@ -26925,212 +26863,6 @@ define$4(bound, {
|
|
|
26925
26863
|
|
|
26926
26864
|
var function_prototype_name = bound;
|
|
26927
26865
|
|
|
26928
|
-
var reactIs = {exports: {}};
|
|
26929
|
-
|
|
26930
|
-
var reactIs_production_min = {};
|
|
26931
|
-
|
|
26932
|
-
/** @license React v16.13.1
|
|
26933
|
-
* react-is.production.min.js
|
|
26934
|
-
*
|
|
26935
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26936
|
-
*
|
|
26937
|
-
* This source code is licensed under the MIT license found in the
|
|
26938
|
-
* LICENSE file in the root directory of this source tree.
|
|
26939
|
-
*/
|
|
26940
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
26941
|
-
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
26942
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
26943
|
-
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
26944
|
-
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
26945
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
26946
|
-
|
|
26947
|
-
var reactIs_development = {};
|
|
26948
|
-
|
|
26949
|
-
/** @license React v16.13.1
|
|
26950
|
-
* react-is.development.js
|
|
26951
|
-
*
|
|
26952
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26953
|
-
*
|
|
26954
|
-
* This source code is licensed under the MIT license found in the
|
|
26955
|
-
* LICENSE file in the root directory of this source tree.
|
|
26956
|
-
*/
|
|
26957
|
-
|
|
26958
|
-
|
|
26959
|
-
|
|
26960
|
-
if (process.env.NODE_ENV !== "production") {
|
|
26961
|
-
(function() {
|
|
26962
|
-
|
|
26963
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
26964
|
-
// nor polyfill, then a plain number is used for performance.
|
|
26965
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
26966
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
26967
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
26968
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
26969
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
26970
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
26971
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
26972
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
26973
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
26974
|
-
|
|
26975
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
26976
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
26977
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
26978
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
26979
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
26980
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
26981
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
26982
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
26983
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
26984
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
26985
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
26986
|
-
|
|
26987
|
-
function isValidElementType(type) {
|
|
26988
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
26989
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
26990
|
-
}
|
|
26991
|
-
|
|
26992
|
-
function typeOf(object) {
|
|
26993
|
-
if (typeof object === 'object' && object !== null) {
|
|
26994
|
-
var $$typeof = object.$$typeof;
|
|
26995
|
-
|
|
26996
|
-
switch ($$typeof) {
|
|
26997
|
-
case REACT_ELEMENT_TYPE:
|
|
26998
|
-
var type = object.type;
|
|
26999
|
-
|
|
27000
|
-
switch (type) {
|
|
27001
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
27002
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
27003
|
-
case REACT_FRAGMENT_TYPE:
|
|
27004
|
-
case REACT_PROFILER_TYPE:
|
|
27005
|
-
case REACT_STRICT_MODE_TYPE:
|
|
27006
|
-
case REACT_SUSPENSE_TYPE:
|
|
27007
|
-
return type;
|
|
27008
|
-
|
|
27009
|
-
default:
|
|
27010
|
-
var $$typeofType = type && type.$$typeof;
|
|
27011
|
-
|
|
27012
|
-
switch ($$typeofType) {
|
|
27013
|
-
case REACT_CONTEXT_TYPE:
|
|
27014
|
-
case REACT_FORWARD_REF_TYPE:
|
|
27015
|
-
case REACT_LAZY_TYPE:
|
|
27016
|
-
case REACT_MEMO_TYPE:
|
|
27017
|
-
case REACT_PROVIDER_TYPE:
|
|
27018
|
-
return $$typeofType;
|
|
27019
|
-
|
|
27020
|
-
default:
|
|
27021
|
-
return $$typeof;
|
|
27022
|
-
}
|
|
27023
|
-
|
|
27024
|
-
}
|
|
27025
|
-
|
|
27026
|
-
case REACT_PORTAL_TYPE:
|
|
27027
|
-
return $$typeof;
|
|
27028
|
-
}
|
|
27029
|
-
}
|
|
27030
|
-
|
|
27031
|
-
return undefined;
|
|
27032
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
27033
|
-
|
|
27034
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
27035
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
27036
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
27037
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
27038
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
27039
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
27040
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
27041
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
27042
|
-
var Memo = REACT_MEMO_TYPE;
|
|
27043
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
27044
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
27045
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
27046
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
27047
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
27048
|
-
|
|
27049
|
-
function isAsyncMode(object) {
|
|
27050
|
-
{
|
|
27051
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
27052
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
27053
|
-
|
|
27054
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
27055
|
-
}
|
|
27056
|
-
}
|
|
27057
|
-
|
|
27058
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
27059
|
-
}
|
|
27060
|
-
function isConcurrentMode(object) {
|
|
27061
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
27062
|
-
}
|
|
27063
|
-
function isContextConsumer(object) {
|
|
27064
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
27065
|
-
}
|
|
27066
|
-
function isContextProvider(object) {
|
|
27067
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
27068
|
-
}
|
|
27069
|
-
function isElement(object) {
|
|
27070
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
27071
|
-
}
|
|
27072
|
-
function isForwardRef(object) {
|
|
27073
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
27074
|
-
}
|
|
27075
|
-
function isFragment(object) {
|
|
27076
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
27077
|
-
}
|
|
27078
|
-
function isLazy(object) {
|
|
27079
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
27080
|
-
}
|
|
27081
|
-
function isMemo(object) {
|
|
27082
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
27083
|
-
}
|
|
27084
|
-
function isPortal(object) {
|
|
27085
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
27086
|
-
}
|
|
27087
|
-
function isProfiler(object) {
|
|
27088
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
27089
|
-
}
|
|
27090
|
-
function isStrictMode(object) {
|
|
27091
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
27092
|
-
}
|
|
27093
|
-
function isSuspense(object) {
|
|
27094
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
27095
|
-
}
|
|
27096
|
-
|
|
27097
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
27098
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
27099
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
27100
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
27101
|
-
reactIs_development.Element = Element;
|
|
27102
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
27103
|
-
reactIs_development.Fragment = Fragment;
|
|
27104
|
-
reactIs_development.Lazy = Lazy;
|
|
27105
|
-
reactIs_development.Memo = Memo;
|
|
27106
|
-
reactIs_development.Portal = Portal;
|
|
27107
|
-
reactIs_development.Profiler = Profiler;
|
|
27108
|
-
reactIs_development.StrictMode = StrictMode;
|
|
27109
|
-
reactIs_development.Suspense = Suspense;
|
|
27110
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
27111
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
27112
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
27113
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
27114
|
-
reactIs_development.isElement = isElement;
|
|
27115
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
27116
|
-
reactIs_development.isFragment = isFragment;
|
|
27117
|
-
reactIs_development.isLazy = isLazy;
|
|
27118
|
-
reactIs_development.isMemo = isMemo;
|
|
27119
|
-
reactIs_development.isPortal = isPortal;
|
|
27120
|
-
reactIs_development.isProfiler = isProfiler;
|
|
27121
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
27122
|
-
reactIs_development.isSuspense = isSuspense;
|
|
27123
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
27124
|
-
reactIs_development.typeOf = typeOf;
|
|
27125
|
-
})();
|
|
27126
|
-
}
|
|
27127
|
-
|
|
27128
|
-
if (process.env.NODE_ENV === 'production') {
|
|
27129
|
-
reactIs.exports = reactIs_production_min;
|
|
27130
|
-
} else {
|
|
27131
|
-
reactIs.exports = reactIs_development;
|
|
27132
|
-
}
|
|
27133
|
-
|
|
27134
26866
|
(function (exports) {
|
|
27135
26867
|
|
|
27136
26868
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -27140,7 +26872,7 @@ exports["default"] = getComponentName;
|
|
|
27140
26872
|
|
|
27141
26873
|
var _functionPrototype = _interopRequireDefault(function_prototype_name);
|
|
27142
26874
|
|
|
27143
|
-
var _reactIs = reactIs.exports;
|
|
26875
|
+
var _reactIs = reactIs$1.exports;
|
|
27144
26876
|
|
|
27145
26877
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27146
26878
|
|
|
@@ -28026,7 +27758,7 @@ exports["default"] = elementTypeValidator;
|
|
|
28026
27758
|
|
|
28027
27759
|
var _propTypes = propTypes.exports;
|
|
28028
27760
|
|
|
28029
|
-
var _reactIs = reactIs.exports;
|
|
27761
|
+
var _reactIs = reactIs$1.exports;
|
|
28030
27762
|
|
|
28031
27763
|
var _and = _interopRequireDefault(and);
|
|
28032
27764
|
|
|
@@ -28268,7 +28000,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
28268
28000
|
});
|
|
28269
28001
|
exports["default"] = keysOfValidator;
|
|
28270
28002
|
|
|
28271
|
-
var _isPrimitive = _interopRequireDefault(isPrimitive
|
|
28003
|
+
var _isPrimitive = _interopRequireDefault(isPrimitive);
|
|
28272
28004
|
|
|
28273
28005
|
var _wrapValidator = _interopRequireDefault(wrapValidator);
|
|
28274
28006
|
|
|
@@ -29265,25 +28997,14 @@ var _typeof = {exports: {}};
|
|
|
29265
28997
|
function _typeof(obj) {
|
|
29266
28998
|
"@babel/helpers - typeof";
|
|
29267
28999
|
|
|
29268
|
-
|
|
29269
|
-
|
|
29270
|
-
|
|
29271
|
-
|
|
29272
|
-
|
|
29273
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
29274
|
-
} else {
|
|
29275
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
29276
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
29277
|
-
};
|
|
29278
|
-
|
|
29279
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
29280
|
-
}
|
|
29281
|
-
|
|
29282
|
-
return _typeof(obj);
|
|
29000
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
29001
|
+
return typeof obj;
|
|
29002
|
+
} : function (obj) {
|
|
29003
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
29004
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
29283
29005
|
}
|
|
29284
29006
|
|
|
29285
|
-
module.exports = _typeof;
|
|
29286
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
29007
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
29287
29008
|
}(_typeof));
|
|
29288
29009
|
|
|
29289
29010
|
(function (module) {
|
|
@@ -29339,8 +29060,7 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
29339
29060
|
return newObj;
|
|
29340
29061
|
}
|
|
29341
29062
|
|
|
29342
|
-
module.exports = _interopRequireWildcard;
|
|
29343
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
29063
|
+
module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
29344
29064
|
}(interopRequireWildcard));
|
|
29345
29065
|
|
|
29346
29066
|
var objectWithoutProperties = {exports: {}};
|
|
@@ -29363,8 +29083,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
29363
29083
|
return target;
|
|
29364
29084
|
}
|
|
29365
29085
|
|
|
29366
|
-
module.exports = _objectWithoutPropertiesLoose;
|
|
29367
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
29086
|
+
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
29368
29087
|
}(objectWithoutPropertiesLoose));
|
|
29369
29088
|
|
|
29370
29089
|
(function (module) {
|
|
@@ -29389,8 +29108,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
29389
29108
|
return target;
|
|
29390
29109
|
}
|
|
29391
29110
|
|
|
29392
|
-
module.exports = _objectWithoutProperties;
|
|
29393
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
29111
|
+
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
29394
29112
|
}(objectWithoutProperties));
|
|
29395
29113
|
|
|
29396
29114
|
var emptyStylesFn = {};
|
|
@@ -29600,17 +29318,18 @@ exports['default'] = _propTypes2['default'].shape({
|
|
|
29600
29318
|
|
|
29601
29319
|
var direction = {};
|
|
29602
29320
|
|
|
29603
|
-
var RequireObjectCoercible = RequireObjectCoercible$
|
|
29321
|
+
var RequireObjectCoercible = RequireObjectCoercible$4;
|
|
29604
29322
|
var callBound = callBound$a;
|
|
29605
29323
|
|
|
29606
29324
|
var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
29325
|
+
var $push = callBound('Array.prototype.push');
|
|
29607
29326
|
|
|
29608
29327
|
var implementation$5 = function values(O) {
|
|
29609
29328
|
var obj = RequireObjectCoercible(O);
|
|
29610
29329
|
var vals = [];
|
|
29611
29330
|
for (var key in obj) {
|
|
29612
29331
|
if ($isEnumerable(obj, key)) { // checks own-ness as well
|
|
29613
|
-
|
|
29332
|
+
$push(vals, obj[key]);
|
|
29614
29333
|
}
|
|
29615
29334
|
}
|
|
29616
29335
|
return vals;
|
|
@@ -30817,8 +30536,7 @@ function _arrayLikeToArray(arr, len) {
|
|
|
30817
30536
|
return arr2;
|
|
30818
30537
|
}
|
|
30819
30538
|
|
|
30820
|
-
module.exports = _arrayLikeToArray;
|
|
30821
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
30539
|
+
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
30822
30540
|
}(arrayLikeToArray));
|
|
30823
30541
|
|
|
30824
30542
|
(function (module) {
|
|
@@ -30828,8 +30546,7 @@ function _arrayWithoutHoles(arr) {
|
|
|
30828
30546
|
if (Array.isArray(arr)) return arrayLikeToArray$1(arr);
|
|
30829
30547
|
}
|
|
30830
30548
|
|
|
30831
|
-
module.exports = _arrayWithoutHoles;
|
|
30832
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
30549
|
+
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
30833
30550
|
}(arrayWithoutHoles));
|
|
30834
30551
|
|
|
30835
30552
|
var iterableToArray = {exports: {}};
|
|
@@ -30839,8 +30556,7 @@ function _iterableToArray(iter) {
|
|
|
30839
30556
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
30840
30557
|
}
|
|
30841
30558
|
|
|
30842
|
-
module.exports = _iterableToArray;
|
|
30843
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
30559
|
+
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
30844
30560
|
}(iterableToArray));
|
|
30845
30561
|
|
|
30846
30562
|
var unsupportedIterableToArray = {exports: {}};
|
|
@@ -30857,8 +30573,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
30857
30573
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray$1(o, minLen);
|
|
30858
30574
|
}
|
|
30859
30575
|
|
|
30860
|
-
module.exports = _unsupportedIterableToArray;
|
|
30861
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
30576
|
+
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
30862
30577
|
}(unsupportedIterableToArray));
|
|
30863
30578
|
|
|
30864
30579
|
var nonIterableSpread = {exports: {}};
|
|
@@ -30868,8 +30583,7 @@ function _nonIterableSpread() {
|
|
|
30868
30583
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
30869
30584
|
}
|
|
30870
30585
|
|
|
30871
|
-
module.exports = _nonIterableSpread;
|
|
30872
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
30586
|
+
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
30873
30587
|
}(nonIterableSpread));
|
|
30874
30588
|
|
|
30875
30589
|
(function (module) {
|
|
@@ -30885,8 +30599,7 @@ function _toConsumableArray(arr) {
|
|
|
30885
30599
|
return arrayWithoutHoles$1(arr) || iterableToArray$1(arr) || unsupportedIterableToArray$1(arr) || nonIterableSpread$1();
|
|
30886
30600
|
}
|
|
30887
30601
|
|
|
30888
|
-
module.exports = _toConsumableArray;
|
|
30889
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
30602
|
+
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
30890
30603
|
}(toConsumableArray));
|
|
30891
30604
|
|
|
30892
30605
|
(function (exports) {
|
|
@@ -35678,8 +35391,7 @@ function _arrayWithHoles(arr) {
|
|
|
35678
35391
|
if (Array.isArray(arr)) return arr;
|
|
35679
35392
|
}
|
|
35680
35393
|
|
|
35681
|
-
module.exports = _arrayWithHoles;
|
|
35682
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35394
|
+
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
35683
35395
|
}(arrayWithHoles));
|
|
35684
35396
|
|
|
35685
35397
|
var iterableToArrayLimit = {exports: {}};
|
|
@@ -35715,8 +35427,7 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
35715
35427
|
return _arr;
|
|
35716
35428
|
}
|
|
35717
35429
|
|
|
35718
|
-
module.exports = _iterableToArrayLimit;
|
|
35719
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35430
|
+
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
35720
35431
|
}(iterableToArrayLimit));
|
|
35721
35432
|
|
|
35722
35433
|
var nonIterableRest = {exports: {}};
|
|
@@ -35726,8 +35437,7 @@ function _nonIterableRest() {
|
|
|
35726
35437
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35727
35438
|
}
|
|
35728
35439
|
|
|
35729
|
-
module.exports = _nonIterableRest;
|
|
35730
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35440
|
+
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
35731
35441
|
}(nonIterableRest));
|
|
35732
35442
|
|
|
35733
35443
|
(function (module) {
|
|
@@ -35743,8 +35453,7 @@ function _slicedToArray(arr, i) {
|
|
|
35743
35453
|
return arrayWithHoles$1(arr) || iterableToArrayLimit$1(arr, i) || unsupportedIterableToArray$1(arr, i) || nonIterableRest$1();
|
|
35744
35454
|
}
|
|
35745
35455
|
|
|
35746
|
-
module.exports = _slicedToArray;
|
|
35747
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35456
|
+
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
35748
35457
|
}(slicedToArray));
|
|
35749
35458
|
|
|
35750
35459
|
var isNextDay = {};
|