@cubejs-client/react 1.2.21 → 1.2.23
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.
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
|
|
351
351
|
// `ToPrimitive` abstract operation
|
|
352
352
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
353
|
-
var toPrimitive = function (input, pref) {
|
|
353
|
+
var toPrimitive$1 = function (input, pref) {
|
|
354
354
|
if (!isObject(input) || isSymbol(input)) return input;
|
|
355
355
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
356
356
|
var result;
|
|
@@ -366,8 +366,8 @@
|
|
|
366
366
|
|
|
367
367
|
// `ToPropertyKey` abstract operation
|
|
368
368
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
369
|
-
var toPropertyKey = function (argument) {
|
|
370
|
-
var key = toPrimitive(argument, 'string');
|
|
369
|
+
var toPropertyKey$1 = function (argument) {
|
|
370
|
+
var key = toPrimitive$1(argument, 'string');
|
|
371
371
|
return isSymbol(key) ? key : key + '';
|
|
372
372
|
};
|
|
373
373
|
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
395
395
|
var f$7 = descriptors ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
|
|
396
396
|
O = toIndexedObject(O);
|
|
397
|
-
P = toPropertyKey(P);
|
|
397
|
+
P = toPropertyKey$1(P);
|
|
398
398
|
if (ie8DomDefine) try {
|
|
399
399
|
return $getOwnPropertyDescriptor$2(O, P);
|
|
400
400
|
} catch (error) { /* empty */ }
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
438
438
|
var f$6 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
|
|
439
439
|
anObject(O);
|
|
440
|
-
P = toPropertyKey(P);
|
|
440
|
+
P = toPropertyKey$1(P);
|
|
441
441
|
anObject(Attributes);
|
|
442
442
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
443
443
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
} return $defineProperty$1(O, P, Attributes);
|
|
453
453
|
} : $defineProperty$1 : function defineProperty(O, P, Attributes) {
|
|
454
454
|
anObject(O);
|
|
455
|
-
P = toPropertyKey(P);
|
|
455
|
+
P = toPropertyKey$1(P);
|
|
456
456
|
anObject(Attributes);
|
|
457
457
|
if (ie8DomDefine) try {
|
|
458
458
|
return $defineProperty$1(O, P, Attributes);
|
|
@@ -1172,7 +1172,7 @@
|
|
|
1172
1172
|
};
|
|
1173
1173
|
|
|
1174
1174
|
var createProperty = function (object, key, value) {
|
|
1175
|
-
var propertyKey = toPropertyKey(key);
|
|
1175
|
+
var propertyKey = toPropertyKey$1(key);
|
|
1176
1176
|
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1177
1177
|
else object[propertyKey] = value;
|
|
1178
1178
|
};
|
|
@@ -1444,7 +1444,7 @@
|
|
|
1444
1444
|
var $defineProperty = function defineProperty(O, P, Attributes) {
|
|
1445
1445
|
if (O === ObjectPrototype$1) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
|
|
1446
1446
|
anObject(O);
|
|
1447
|
-
var key = toPropertyKey(P);
|
|
1447
|
+
var key = toPropertyKey$1(P);
|
|
1448
1448
|
anObject(Attributes);
|
|
1449
1449
|
if (hasOwnProperty_1(AllSymbols, key)) {
|
|
1450
1450
|
if (!Attributes.enumerable) {
|
|
@@ -1472,7 +1472,7 @@
|
|
|
1472
1472
|
};
|
|
1473
1473
|
|
|
1474
1474
|
var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) {
|
|
1475
|
-
var P = toPropertyKey(V);
|
|
1475
|
+
var P = toPropertyKey$1(V);
|
|
1476
1476
|
var enumerable = functionCall(nativePropertyIsEnumerable, this, P);
|
|
1477
1477
|
if (this === ObjectPrototype$1 && hasOwnProperty_1(AllSymbols, P) && !hasOwnProperty_1(ObjectPrototypeSymbols, P)) return false;
|
|
1478
1478
|
return enumerable || !hasOwnProperty_1(this, P) || !hasOwnProperty_1(AllSymbols, P) || hasOwnProperty_1(this, HIDDEN) && this[HIDDEN][P]
|
|
@@ -1481,7 +1481,7 @@
|
|
|
1481
1481
|
|
|
1482
1482
|
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
|
|
1483
1483
|
var it = toIndexedObject(O);
|
|
1484
|
-
var key = toPropertyKey(P);
|
|
1484
|
+
var key = toPropertyKey$1(P);
|
|
1485
1485
|
if (it === ObjectPrototype$1 && hasOwnProperty_1(AllSymbols, key) && !hasOwnProperty_1(ObjectPrototypeSymbols, key)) return;
|
|
1486
1486
|
var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
|
|
1487
1487
|
if (descriptor && hasOwnProperty_1(AllSymbols, key) && !(hasOwnProperty_1(it, HIDDEN) && it[HIDDEN][key])) {
|
|
@@ -1908,167 +1908,145 @@
|
|
|
1908
1908
|
defineProperty: defineProperty$3
|
|
1909
1909
|
});
|
|
1910
1910
|
|
|
1911
|
-
function _arrayWithHoles(
|
|
1912
|
-
if (Array.isArray(
|
|
1911
|
+
function _arrayWithHoles(r) {
|
|
1912
|
+
if (Array.isArray(r)) return r;
|
|
1913
1913
|
}
|
|
1914
1914
|
|
|
1915
|
-
function _iterableToArrayLimit(
|
|
1916
|
-
var
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
try {
|
|
1926
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
1927
|
-
_arr.push(_s.value);
|
|
1928
|
-
|
|
1929
|
-
if (i && _arr.length === i) break;
|
|
1930
|
-
}
|
|
1931
|
-
} catch (err) {
|
|
1932
|
-
_d = true;
|
|
1933
|
-
_e = err;
|
|
1934
|
-
} finally {
|
|
1915
|
+
function _iterableToArrayLimit(r, l) {
|
|
1916
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1917
|
+
if (null != t) {
|
|
1918
|
+
var e,
|
|
1919
|
+
n,
|
|
1920
|
+
i,
|
|
1921
|
+
u,
|
|
1922
|
+
a = [],
|
|
1923
|
+
f = !0,
|
|
1924
|
+
o = !1;
|
|
1935
1925
|
try {
|
|
1936
|
-
if (
|
|
1926
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
1927
|
+
if (Object(t) !== t) return;
|
|
1928
|
+
f = !1;
|
|
1929
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
1930
|
+
} catch (r) {
|
|
1931
|
+
o = !0, n = r;
|
|
1937
1932
|
} finally {
|
|
1938
|
-
|
|
1933
|
+
try {
|
|
1934
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
1935
|
+
} finally {
|
|
1936
|
+
if (o) throw n;
|
|
1937
|
+
}
|
|
1939
1938
|
}
|
|
1939
|
+
return a;
|
|
1940
1940
|
}
|
|
1941
|
-
|
|
1942
|
-
return _arr;
|
|
1943
1941
|
}
|
|
1944
1942
|
|
|
1945
|
-
function _arrayLikeToArray(
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
arr2[i] = arr[i];
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
return arr2;
|
|
1943
|
+
function _arrayLikeToArray(r, a) {
|
|
1944
|
+
(null == a || a > r.length) && (a = r.length);
|
|
1945
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
1946
|
+
return n;
|
|
1953
1947
|
}
|
|
1954
1948
|
|
|
1955
|
-
function _unsupportedIterableToArray(
|
|
1956
|
-
if (
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
1949
|
+
function _unsupportedIterableToArray(r, a) {
|
|
1950
|
+
if (r) {
|
|
1951
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
1952
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
1953
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
1954
|
+
}
|
|
1962
1955
|
}
|
|
1963
1956
|
|
|
1964
1957
|
function _nonIterableRest() {
|
|
1965
1958
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1966
1959
|
}
|
|
1967
1960
|
|
|
1968
|
-
function _slicedToArray(
|
|
1969
|
-
return _arrayWithHoles(
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
function _classCallCheck(instance, Constructor) {
|
|
1973
|
-
if (!(instance instanceof Constructor)) {
|
|
1974
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
function _defineProperties(target, props) {
|
|
1979
|
-
for (var i = 0; i < props.length; i++) {
|
|
1980
|
-
var descriptor = props[i];
|
|
1981
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
1982
|
-
descriptor.configurable = true;
|
|
1983
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
1984
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1985
|
-
}
|
|
1961
|
+
function _slicedToArray(r, e) {
|
|
1962
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1986
1963
|
}
|
|
1987
1964
|
|
|
1988
|
-
function
|
|
1989
|
-
if (
|
|
1990
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1991
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
1992
|
-
writable: false
|
|
1993
|
-
});
|
|
1994
|
-
return Constructor;
|
|
1965
|
+
function _classCallCheck(a, n) {
|
|
1966
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
1995
1967
|
}
|
|
1996
1968
|
|
|
1997
|
-
function
|
|
1998
|
-
|
|
1999
|
-
o.__proto__ = p;
|
|
2000
|
-
return o;
|
|
2001
|
-
};
|
|
1969
|
+
function _typeof(o) {
|
|
1970
|
+
"@babel/helpers - typeof";
|
|
2002
1971
|
|
|
2003
|
-
return
|
|
1972
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
1973
|
+
return typeof o;
|
|
1974
|
+
} : function (o) {
|
|
1975
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1976
|
+
}, _typeof(o);
|
|
2004
1977
|
}
|
|
2005
1978
|
|
|
2006
|
-
function
|
|
2007
|
-
if (
|
|
2008
|
-
|
|
1979
|
+
function toPrimitive(t, r) {
|
|
1980
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
1981
|
+
var e = t[Symbol.toPrimitive];
|
|
1982
|
+
if (void 0 !== e) {
|
|
1983
|
+
var i = e.call(t, r || "default");
|
|
1984
|
+
if ("object" != _typeof(i)) return i;
|
|
1985
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2009
1986
|
}
|
|
2010
|
-
|
|
2011
|
-
Object.defineProperty(subClass, "prototype", {
|
|
2012
|
-
value: Object.create(superClass && superClass.prototype, {
|
|
2013
|
-
constructor: {
|
|
2014
|
-
value: subClass,
|
|
2015
|
-
writable: true,
|
|
2016
|
-
configurable: true
|
|
2017
|
-
}
|
|
2018
|
-
}),
|
|
2019
|
-
writable: false
|
|
2020
|
-
});
|
|
2021
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
1987
|
+
return ("string" === r ? String : Number)(t);
|
|
2022
1988
|
}
|
|
2023
1989
|
|
|
2024
|
-
function
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
2028
|
-
return typeof obj;
|
|
2029
|
-
} : function (obj) {
|
|
2030
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
2031
|
-
}, _typeof(obj);
|
|
1990
|
+
function toPropertyKey(t) {
|
|
1991
|
+
var i = toPrimitive(t, "string");
|
|
1992
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
2032
1993
|
}
|
|
2033
1994
|
|
|
2034
|
-
function
|
|
2035
|
-
|
|
2036
|
-
|
|
1995
|
+
function _defineProperties(e, r) {
|
|
1996
|
+
for (var t = 0; t < r.length; t++) {
|
|
1997
|
+
var o = r[t];
|
|
1998
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
2037
1999
|
}
|
|
2000
|
+
}
|
|
2001
|
+
function _createClass(e, r, t) {
|
|
2002
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
2003
|
+
writable: !1
|
|
2004
|
+
}), e;
|
|
2005
|
+
}
|
|
2038
2006
|
|
|
2039
|
-
|
|
2007
|
+
function _setPrototypeOf(t, e) {
|
|
2008
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
2009
|
+
return t.__proto__ = e, t;
|
|
2010
|
+
}, _setPrototypeOf(t, e);
|
|
2040
2011
|
}
|
|
2041
2012
|
|
|
2042
|
-
function
|
|
2043
|
-
if (
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2013
|
+
function _inherits(t, e) {
|
|
2014
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
2015
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
2016
|
+
constructor: {
|
|
2017
|
+
value: t,
|
|
2018
|
+
writable: !0,
|
|
2019
|
+
configurable: !0
|
|
2020
|
+
}
|
|
2021
|
+
}), Object.defineProperty(t, "prototype", {
|
|
2022
|
+
writable: !1
|
|
2023
|
+
}), e && _setPrototypeOf(t, e);
|
|
2024
|
+
}
|
|
2048
2025
|
|
|
2049
|
-
|
|
2026
|
+
function _assertThisInitialized(e) {
|
|
2027
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2028
|
+
return e;
|
|
2050
2029
|
}
|
|
2051
2030
|
|
|
2052
|
-
function
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
return _getPrototypeOf(o);
|
|
2031
|
+
function _possibleConstructorReturn(t, e) {
|
|
2032
|
+
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
2033
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
2034
|
+
return _assertThisInitialized(t);
|
|
2057
2035
|
}
|
|
2058
2036
|
|
|
2059
|
-
function
|
|
2060
|
-
|
|
2061
|
-
Object.
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
configurable: true,
|
|
2065
|
-
writable: true
|
|
2066
|
-
});
|
|
2067
|
-
} else {
|
|
2068
|
-
obj[key] = value;
|
|
2069
|
-
}
|
|
2037
|
+
function _getPrototypeOf(t) {
|
|
2038
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
2039
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
2040
|
+
}, _getPrototypeOf(t);
|
|
2041
|
+
}
|
|
2070
2042
|
|
|
2071
|
-
|
|
2043
|
+
function _defineProperty(e, r, t) {
|
|
2044
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
2045
|
+
value: t,
|
|
2046
|
+
enumerable: !0,
|
|
2047
|
+
configurable: !0,
|
|
2048
|
+
writable: !0
|
|
2049
|
+
}) : e[r] = t, e;
|
|
2072
2050
|
}
|
|
2073
2051
|
|
|
2074
2052
|
var defineProperty$2 = objectDefineProperty.f;
|
|
@@ -6024,849 +6002,404 @@
|
|
|
6024
6002
|
return pairs;
|
|
6025
6003
|
});
|
|
6026
6004
|
|
|
6027
|
-
function asyncGeneratorStep(
|
|
6005
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
6028
6006
|
try {
|
|
6029
|
-
var
|
|
6030
|
-
|
|
6031
|
-
} catch (
|
|
6032
|
-
|
|
6033
|
-
return;
|
|
6034
|
-
}
|
|
6035
|
-
|
|
6036
|
-
if (info.done) {
|
|
6037
|
-
resolve(value);
|
|
6038
|
-
} else {
|
|
6039
|
-
Promise.resolve(value).then(_next, _throw);
|
|
6007
|
+
var i = n[a](c),
|
|
6008
|
+
u = i.value;
|
|
6009
|
+
} catch (n) {
|
|
6010
|
+
return void e(n);
|
|
6040
6011
|
}
|
|
6012
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
6041
6013
|
}
|
|
6042
|
-
|
|
6043
|
-
function _asyncToGenerator(fn) {
|
|
6014
|
+
function _asyncToGenerator(n) {
|
|
6044
6015
|
return function () {
|
|
6045
|
-
var
|
|
6046
|
-
|
|
6047
|
-
return new Promise(function (
|
|
6048
|
-
var
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
6016
|
+
var t = this,
|
|
6017
|
+
e = arguments;
|
|
6018
|
+
return new Promise(function (r, o) {
|
|
6019
|
+
var a = n.apply(t, e);
|
|
6020
|
+
function _next(n) {
|
|
6021
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
6052
6022
|
}
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
6023
|
+
function _throw(n) {
|
|
6024
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
6056
6025
|
}
|
|
6057
|
-
|
|
6058
|
-
_next(undefined);
|
|
6026
|
+
_next(void 0);
|
|
6059
6027
|
});
|
|
6060
6028
|
};
|
|
6061
6029
|
}
|
|
6062
6030
|
|
|
6063
|
-
function _arrayWithoutHoles(
|
|
6064
|
-
if (Array.isArray(
|
|
6031
|
+
function _arrayWithoutHoles(r) {
|
|
6032
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
6065
6033
|
}
|
|
6066
6034
|
|
|
6067
|
-
function _iterableToArray(
|
|
6068
|
-
if (typeof Symbol
|
|
6035
|
+
function _iterableToArray(r) {
|
|
6036
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
6069
6037
|
}
|
|
6070
6038
|
|
|
6071
6039
|
function _nonIterableSpread() {
|
|
6072
6040
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6073
6041
|
}
|
|
6074
6042
|
|
|
6075
|
-
function _toConsumableArray(
|
|
6076
|
-
return _arrayWithoutHoles(
|
|
6043
|
+
function _toConsumableArray(r) {
|
|
6044
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
6077
6045
|
}
|
|
6078
6046
|
|
|
6079
|
-
function _objectWithoutPropertiesLoose(
|
|
6080
|
-
if (
|
|
6081
|
-
var
|
|
6082
|
-
var
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
6086
|
-
key = sourceKeys[i];
|
|
6087
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
6088
|
-
target[key] = source[key];
|
|
6047
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
6048
|
+
if (null == r) return {};
|
|
6049
|
+
var t = {};
|
|
6050
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
6051
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
6052
|
+
t[n] = r[n];
|
|
6089
6053
|
}
|
|
6090
|
-
|
|
6091
|
-
return target;
|
|
6054
|
+
return t;
|
|
6092
6055
|
}
|
|
6093
6056
|
|
|
6094
|
-
function _objectWithoutProperties(
|
|
6095
|
-
if (
|
|
6096
|
-
var
|
|
6097
|
-
|
|
6098
|
-
|
|
6057
|
+
function _objectWithoutProperties(e, t) {
|
|
6058
|
+
if (null == e) return {};
|
|
6059
|
+
var o,
|
|
6060
|
+
r,
|
|
6061
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
6099
6062
|
if (Object.getOwnPropertySymbols) {
|
|
6100
|
-
var
|
|
6101
|
-
|
|
6102
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
6103
|
-
key = sourceSymbolKeys[i];
|
|
6104
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
6105
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
6106
|
-
target[key] = source[key];
|
|
6107
|
-
}
|
|
6063
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
6064
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
6108
6065
|
}
|
|
6109
|
-
|
|
6110
|
-
return target;
|
|
6066
|
+
return i;
|
|
6111
6067
|
}
|
|
6112
6068
|
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
* This source code is licensed under the MIT license found in the
|
|
6117
|
-
* LICENSE file in the root directory of this source tree.
|
|
6118
|
-
*/
|
|
6119
|
-
|
|
6120
|
-
var runtime_1 = createCommonjsModule(function (module) {
|
|
6121
|
-
var runtime = (function (exports) {
|
|
6069
|
+
var _typeof_1 = createCommonjsModule(function (module) {
|
|
6070
|
+
function _typeof(o) {
|
|
6071
|
+
"@babel/helpers - typeof";
|
|
6122
6072
|
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6073
|
+
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
6074
|
+
return typeof o;
|
|
6075
|
+
} : function (o) {
|
|
6076
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
6077
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
6078
|
+
}
|
|
6079
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
6080
|
+
});
|
|
6130
6081
|
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6082
|
+
var regeneratorRuntime$1 = createCommonjsModule(function (module) {
|
|
6083
|
+
var _typeof = _typeof_1["default"];
|
|
6084
|
+
function _regeneratorRuntime() {
|
|
6085
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
6086
|
+
return e;
|
|
6087
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
6088
|
+
var t,
|
|
6089
|
+
e = {},
|
|
6090
|
+
r = Object.prototype,
|
|
6091
|
+
n = r.hasOwnProperty,
|
|
6092
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
6093
|
+
t[e] = r.value;
|
|
6094
|
+
},
|
|
6095
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
6096
|
+
a = i.iterator || "@@iterator",
|
|
6097
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
6098
|
+
u = i.toStringTag || "@@toStringTag";
|
|
6099
|
+
function define(t, e, r) {
|
|
6100
|
+
return Object.defineProperty(t, e, {
|
|
6101
|
+
value: r,
|
|
6102
|
+
enumerable: !0,
|
|
6103
|
+
configurable: !0,
|
|
6104
|
+
writable: !0
|
|
6105
|
+
}), t[e];
|
|
6139
6106
|
}
|
|
6140
6107
|
try {
|
|
6141
|
-
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
6142
6108
|
define({}, "");
|
|
6143
|
-
} catch (
|
|
6144
|
-
define = function(
|
|
6145
|
-
return
|
|
6109
|
+
} catch (t) {
|
|
6110
|
+
define = function define(t, e, r) {
|
|
6111
|
+
return t[e] = r;
|
|
6146
6112
|
};
|
|
6147
6113
|
}
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
// The ._invoke method unifies the implementations of the .next,
|
|
6156
|
-
// .throw, and .return methods.
|
|
6157
|
-
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
6158
|
-
|
|
6159
|
-
return generator;
|
|
6114
|
+
function wrap(t, e, r, n) {
|
|
6115
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
6116
|
+
a = Object.create(i.prototype),
|
|
6117
|
+
c = new Context(n || []);
|
|
6118
|
+
return o(a, "_invoke", {
|
|
6119
|
+
value: makeInvokeMethod(t, r, c)
|
|
6120
|
+
}), a;
|
|
6160
6121
|
}
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
6164
|
-
// record like context.tryEntries[i].completion. This interface could
|
|
6165
|
-
// have been (and was previously) designed to take a closure to be
|
|
6166
|
-
// invoked without arguments, but in all the cases we care about we
|
|
6167
|
-
// already have an existing method we want to call, so there's no need
|
|
6168
|
-
// to create a new function object. We can even get away with assuming
|
|
6169
|
-
// the method takes exactly one argument, since that happens to be true
|
|
6170
|
-
// in every case, so we don't have to touch the arguments object. The
|
|
6171
|
-
// only additional allocation required is the completion record, which
|
|
6172
|
-
// has a stable shape and so hopefully should be cheap to allocate.
|
|
6173
|
-
function tryCatch(fn, obj, arg) {
|
|
6122
|
+
function tryCatch(t, e, r) {
|
|
6174
6123
|
try {
|
|
6175
|
-
return {
|
|
6176
|
-
|
|
6177
|
-
|
|
6124
|
+
return {
|
|
6125
|
+
type: "normal",
|
|
6126
|
+
arg: t.call(e, r)
|
|
6127
|
+
};
|
|
6128
|
+
} catch (t) {
|
|
6129
|
+
return {
|
|
6130
|
+
type: "throw",
|
|
6131
|
+
arg: t
|
|
6132
|
+
};
|
|
6178
6133
|
}
|
|
6179
6134
|
}
|
|
6180
|
-
|
|
6181
|
-
var
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
// Returning this object from the innerFn has the same effect as
|
|
6187
|
-
// breaking out of the dispatch switch statement.
|
|
6188
|
-
var ContinueSentinel = {};
|
|
6189
|
-
|
|
6190
|
-
// Dummy constructor functions that we use as the .constructor and
|
|
6191
|
-
// .constructor.prototype properties for functions that return Generator
|
|
6192
|
-
// objects. For full spec compliance, you may wish to configure your
|
|
6193
|
-
// minifier not to mangle the names of these two functions.
|
|
6135
|
+
e.wrap = wrap;
|
|
6136
|
+
var h = "suspendedStart",
|
|
6137
|
+
l = "suspendedYield",
|
|
6138
|
+
f = "executing",
|
|
6139
|
+
s = "completed",
|
|
6140
|
+
y = {};
|
|
6194
6141
|
function Generator() {}
|
|
6195
6142
|
function GeneratorFunction() {}
|
|
6196
6143
|
function GeneratorFunctionPrototype() {}
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
// don't natively support it.
|
|
6200
|
-
var IteratorPrototype = {};
|
|
6201
|
-
define(IteratorPrototype, iteratorSymbol, function () {
|
|
6144
|
+
var p = {};
|
|
6145
|
+
define(p, a, function () {
|
|
6202
6146
|
return this;
|
|
6203
6147
|
});
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
IteratorPrototype = NativeIteratorPrototype;
|
|
6213
|
-
}
|
|
6214
|
-
|
|
6215
|
-
var Gp = GeneratorFunctionPrototype.prototype =
|
|
6216
|
-
Generator.prototype = Object.create(IteratorPrototype);
|
|
6217
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
6218
|
-
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
6219
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
6220
|
-
GeneratorFunction.displayName = define(
|
|
6221
|
-
GeneratorFunctionPrototype,
|
|
6222
|
-
toStringTagSymbol,
|
|
6223
|
-
"GeneratorFunction"
|
|
6224
|
-
);
|
|
6225
|
-
|
|
6226
|
-
// Helper for defining the .next, .throw, and .return methods of the
|
|
6227
|
-
// Iterator interface in terms of a single ._invoke method.
|
|
6228
|
-
function defineIteratorMethods(prototype) {
|
|
6229
|
-
["next", "throw", "return"].forEach(function(method) {
|
|
6230
|
-
define(prototype, method, function(arg) {
|
|
6231
|
-
return this._invoke(method, arg);
|
|
6148
|
+
var d = Object.getPrototypeOf,
|
|
6149
|
+
v = d && d(d(values([])));
|
|
6150
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
6151
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
6152
|
+
function defineIteratorMethods(t) {
|
|
6153
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
6154
|
+
define(t, e, function (t) {
|
|
6155
|
+
return this._invoke(e, t);
|
|
6232
6156
|
});
|
|
6233
6157
|
});
|
|
6234
6158
|
}
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
} else {
|
|
6250
|
-
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
6251
|
-
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
6252
|
-
}
|
|
6253
|
-
genFun.prototype = Object.create(Gp);
|
|
6254
|
-
return genFun;
|
|
6255
|
-
};
|
|
6256
|
-
|
|
6257
|
-
// Within the body of any async function, `await x` is transformed to
|
|
6258
|
-
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
6259
|
-
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
6260
|
-
// meant to be awaited.
|
|
6261
|
-
exports.awrap = function(arg) {
|
|
6262
|
-
return { __await: arg };
|
|
6263
|
-
};
|
|
6264
|
-
|
|
6265
|
-
function AsyncIterator(generator, PromiseImpl) {
|
|
6266
|
-
function invoke(method, arg, resolve, reject) {
|
|
6267
|
-
var record = tryCatch(generator[method], generator, arg);
|
|
6268
|
-
if (record.type === "throw") {
|
|
6269
|
-
reject(record.arg);
|
|
6270
|
-
} else {
|
|
6271
|
-
var result = record.arg;
|
|
6272
|
-
var value = result.value;
|
|
6273
|
-
if (value &&
|
|
6274
|
-
typeof value === "object" &&
|
|
6275
|
-
hasOwn.call(value, "__await")) {
|
|
6276
|
-
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
6277
|
-
invoke("next", value, resolve, reject);
|
|
6278
|
-
}, function(err) {
|
|
6279
|
-
invoke("throw", err, resolve, reject);
|
|
6280
|
-
});
|
|
6281
|
-
}
|
|
6282
|
-
|
|
6283
|
-
return PromiseImpl.resolve(value).then(function(unwrapped) {
|
|
6284
|
-
// When a yielded Promise is resolved, its final value becomes
|
|
6285
|
-
// the .value of the Promise<{value,done}> result for the
|
|
6286
|
-
// current iteration.
|
|
6287
|
-
result.value = unwrapped;
|
|
6288
|
-
resolve(result);
|
|
6289
|
-
}, function(error) {
|
|
6290
|
-
// If a rejected Promise was yielded, throw the rejection back
|
|
6291
|
-
// into the async generator function so it can be handled there.
|
|
6292
|
-
return invoke("throw", error, resolve, reject);
|
|
6159
|
+
function AsyncIterator(t, e) {
|
|
6160
|
+
function invoke(r, o, i, a) {
|
|
6161
|
+
var c = tryCatch(t[r], t, o);
|
|
6162
|
+
if ("throw" !== c.type) {
|
|
6163
|
+
var u = c.arg,
|
|
6164
|
+
h = u.value;
|
|
6165
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
6166
|
+
invoke("next", t, i, a);
|
|
6167
|
+
}, function (t) {
|
|
6168
|
+
invoke("throw", t, i, a);
|
|
6169
|
+
}) : e.resolve(h).then(function (t) {
|
|
6170
|
+
u.value = t, i(u);
|
|
6171
|
+
}, function (t) {
|
|
6172
|
+
return invoke("throw", t, i, a);
|
|
6293
6173
|
});
|
|
6294
6174
|
}
|
|
6175
|
+
a(c.arg);
|
|
6295
6176
|
}
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
});
|
|
6304
|
-
}
|
|
6305
|
-
|
|
6306
|
-
return previousPromise =
|
|
6307
|
-
// If enqueue has been called before, then we want to wait until
|
|
6308
|
-
// all previous Promises have been resolved before calling invoke,
|
|
6309
|
-
// so that results are always delivered in the correct order. If
|
|
6310
|
-
// enqueue has not been called before, then it is important to
|
|
6311
|
-
// call invoke immediately, without waiting on a callback to fire,
|
|
6312
|
-
// so that the async generator function has the opportunity to do
|
|
6313
|
-
// any necessary setup in a predictable way. This predictability
|
|
6314
|
-
// is why the Promise constructor synchronously invokes its
|
|
6315
|
-
// executor callback, and why async functions synchronously
|
|
6316
|
-
// execute code before the first await. Since we implement simple
|
|
6317
|
-
// async functions in terms of async generators, it is especially
|
|
6318
|
-
// important to get this right, even though it requires care.
|
|
6319
|
-
previousPromise ? previousPromise.then(
|
|
6320
|
-
callInvokeWithMethodAndArg,
|
|
6321
|
-
// Avoid propagating failures to Promises returned by later
|
|
6322
|
-
// invocations of the iterator.
|
|
6323
|
-
callInvokeWithMethodAndArg
|
|
6324
|
-
) : callInvokeWithMethodAndArg();
|
|
6325
|
-
}
|
|
6326
|
-
|
|
6327
|
-
// Define the unified helper method that is used to implement .next,
|
|
6328
|
-
// .throw, and .return (see defineIteratorMethods).
|
|
6329
|
-
this._invoke = enqueue;
|
|
6330
|
-
}
|
|
6331
|
-
|
|
6332
|
-
defineIteratorMethods(AsyncIterator.prototype);
|
|
6333
|
-
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
6334
|
-
return this;
|
|
6335
|
-
});
|
|
6336
|
-
exports.AsyncIterator = AsyncIterator;
|
|
6337
|
-
|
|
6338
|
-
// Note that simple async functions are implemented on top of
|
|
6339
|
-
// AsyncIterator objects; they just return a Promise for the value of
|
|
6340
|
-
// the final result produced by the iterator.
|
|
6341
|
-
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
6342
|
-
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
6343
|
-
|
|
6344
|
-
var iter = new AsyncIterator(
|
|
6345
|
-
wrap(innerFn, outerFn, self, tryLocsList),
|
|
6346
|
-
PromiseImpl
|
|
6347
|
-
);
|
|
6348
|
-
|
|
6349
|
-
return exports.isGeneratorFunction(outerFn)
|
|
6350
|
-
? iter // If outerFn is a generator, return the full iterator.
|
|
6351
|
-
: iter.next().then(function(result) {
|
|
6352
|
-
return result.done ? result.value : iter.next();
|
|
6353
|
-
});
|
|
6354
|
-
};
|
|
6355
|
-
|
|
6356
|
-
function makeInvokeMethod(innerFn, self, context) {
|
|
6357
|
-
var state = GenStateSuspendedStart;
|
|
6358
|
-
|
|
6359
|
-
return function invoke(method, arg) {
|
|
6360
|
-
if (state === GenStateExecuting) {
|
|
6361
|
-
throw new Error("Generator is already running");
|
|
6362
|
-
}
|
|
6363
|
-
|
|
6364
|
-
if (state === GenStateCompleted) {
|
|
6365
|
-
if (method === "throw") {
|
|
6366
|
-
throw arg;
|
|
6177
|
+
var r;
|
|
6178
|
+
o(this, "_invoke", {
|
|
6179
|
+
value: function value(t, n) {
|
|
6180
|
+
function callInvokeWithMethodAndArg() {
|
|
6181
|
+
return new e(function (e, r) {
|
|
6182
|
+
invoke(t, n, e, r);
|
|
6183
|
+
});
|
|
6367
6184
|
}
|
|
6368
|
-
|
|
6369
|
-
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
6370
|
-
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
6371
|
-
return doneResult();
|
|
6185
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
6372
6186
|
}
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
if (state === GenStateSuspendedStart) {
|
|
6394
|
-
state = GenStateCompleted;
|
|
6395
|
-
throw context.arg;
|
|
6187
|
+
});
|
|
6188
|
+
}
|
|
6189
|
+
function makeInvokeMethod(e, r, n) {
|
|
6190
|
+
var o = h;
|
|
6191
|
+
return function (i, a) {
|
|
6192
|
+
if (o === f) throw Error("Generator is already running");
|
|
6193
|
+
if (o === s) {
|
|
6194
|
+
if ("throw" === i) throw a;
|
|
6195
|
+
return {
|
|
6196
|
+
value: t,
|
|
6197
|
+
done: !0
|
|
6198
|
+
};
|
|
6199
|
+
}
|
|
6200
|
+
for (n.method = i, n.arg = a;;) {
|
|
6201
|
+
var c = n.delegate;
|
|
6202
|
+
if (c) {
|
|
6203
|
+
var u = maybeInvokeDelegate(c, n);
|
|
6204
|
+
if (u) {
|
|
6205
|
+
if (u === y) continue;
|
|
6206
|
+
return u;
|
|
6396
6207
|
}
|
|
6397
|
-
|
|
6398
|
-
context.dispatchException(context.arg);
|
|
6399
|
-
|
|
6400
|
-
} else if (context.method === "return") {
|
|
6401
|
-
context.abrupt("return", context.arg);
|
|
6402
6208
|
}
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
? GenStateCompleted
|
|
6412
|
-
: GenStateSuspendedYield;
|
|
6413
|
-
|
|
6414
|
-
if (record.arg === ContinueSentinel) {
|
|
6415
|
-
continue;
|
|
6416
|
-
}
|
|
6417
|
-
|
|
6209
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
6210
|
+
if (o === h) throw o = s, n.arg;
|
|
6211
|
+
n.dispatchException(n.arg);
|
|
6212
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
6213
|
+
o = f;
|
|
6214
|
+
var p = tryCatch(e, r, n);
|
|
6215
|
+
if ("normal" === p.type) {
|
|
6216
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
6418
6217
|
return {
|
|
6419
|
-
value:
|
|
6420
|
-
done:
|
|
6218
|
+
value: p.arg,
|
|
6219
|
+
done: n.done
|
|
6421
6220
|
};
|
|
6422
|
-
|
|
6423
|
-
} else if (record.type === "throw") {
|
|
6424
|
-
state = GenStateCompleted;
|
|
6425
|
-
// Dispatch the exception by looping back around to the
|
|
6426
|
-
// context.dispatchException(context.arg) call above.
|
|
6427
|
-
context.method = "throw";
|
|
6428
|
-
context.arg = record.arg;
|
|
6429
6221
|
}
|
|
6222
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
6430
6223
|
}
|
|
6431
6224
|
};
|
|
6432
6225
|
}
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
var
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
// variable specified by delegate.resultName (see delegateYield).
|
|
6490
|
-
context[delegate.resultName] = info.value;
|
|
6491
|
-
|
|
6492
|
-
// Resume execution at the desired location (see delegateYield).
|
|
6493
|
-
context.next = delegate.nextLoc;
|
|
6494
|
-
|
|
6495
|
-
// If context.method was "throw" but the delegate handled the
|
|
6496
|
-
// exception, let the outer generator proceed normally. If
|
|
6497
|
-
// context.method was "next", forget context.arg since it has been
|
|
6498
|
-
// "consumed" by the delegate iterator. If context.method was
|
|
6499
|
-
// "return", allow the original .return call to continue in the
|
|
6500
|
-
// outer generator.
|
|
6501
|
-
if (context.method !== "return") {
|
|
6502
|
-
context.method = "next";
|
|
6503
|
-
context.arg = undefined$1;
|
|
6504
|
-
}
|
|
6505
|
-
|
|
6506
|
-
} else {
|
|
6507
|
-
// Re-yield the result returned by the delegate method.
|
|
6508
|
-
return info;
|
|
6509
|
-
}
|
|
6510
|
-
|
|
6511
|
-
// The delegate iterator is finished, so forget it and continue with
|
|
6512
|
-
// the outer generator.
|
|
6513
|
-
context.delegate = null;
|
|
6514
|
-
return ContinueSentinel;
|
|
6515
|
-
}
|
|
6516
|
-
|
|
6517
|
-
// Define Generator.prototype.{next,throw,return} in terms of the
|
|
6518
|
-
// unified ._invoke helper method.
|
|
6519
|
-
defineIteratorMethods(Gp);
|
|
6520
|
-
|
|
6521
|
-
define(Gp, toStringTagSymbol, "Generator");
|
|
6522
|
-
|
|
6523
|
-
// A Generator should always return itself as the iterator object when the
|
|
6524
|
-
// @@iterator function is called on it. Some browsers' implementations of the
|
|
6525
|
-
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
6526
|
-
// object to not be returned from this call. This ensures that doesn't happen.
|
|
6527
|
-
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
6528
|
-
define(Gp, iteratorSymbol, function() {
|
|
6226
|
+
function maybeInvokeDelegate(e, r) {
|
|
6227
|
+
var n = r.method,
|
|
6228
|
+
o = e.iterator[n];
|
|
6229
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
6230
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
6231
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
6232
|
+
var a = i.arg;
|
|
6233
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
6234
|
+
}
|
|
6235
|
+
function pushTryEntry(t) {
|
|
6236
|
+
var e = {
|
|
6237
|
+
tryLoc: t[0]
|
|
6238
|
+
};
|
|
6239
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
6240
|
+
}
|
|
6241
|
+
function resetTryEntry(t) {
|
|
6242
|
+
var e = t.completion || {};
|
|
6243
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
6244
|
+
}
|
|
6245
|
+
function Context(t) {
|
|
6246
|
+
this.tryEntries = [{
|
|
6247
|
+
tryLoc: "root"
|
|
6248
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
6249
|
+
}
|
|
6250
|
+
function values(e) {
|
|
6251
|
+
if (e || "" === e) {
|
|
6252
|
+
var r = e[a];
|
|
6253
|
+
if (r) return r.call(e);
|
|
6254
|
+
if ("function" == typeof e.next) return e;
|
|
6255
|
+
if (!isNaN(e.length)) {
|
|
6256
|
+
var o = -1,
|
|
6257
|
+
i = function next() {
|
|
6258
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
6259
|
+
return next.value = t, next.done = !0, next;
|
|
6260
|
+
};
|
|
6261
|
+
return i.next = i;
|
|
6262
|
+
}
|
|
6263
|
+
}
|
|
6264
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
6265
|
+
}
|
|
6266
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
6267
|
+
value: GeneratorFunctionPrototype,
|
|
6268
|
+
configurable: !0
|
|
6269
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
6270
|
+
value: GeneratorFunction,
|
|
6271
|
+
configurable: !0
|
|
6272
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
6273
|
+
var e = "function" == typeof t && t.constructor;
|
|
6274
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
6275
|
+
}, e.mark = function (t) {
|
|
6276
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
6277
|
+
}, e.awrap = function (t) {
|
|
6278
|
+
return {
|
|
6279
|
+
__await: t
|
|
6280
|
+
};
|
|
6281
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
6529
6282
|
return this;
|
|
6530
|
-
})
|
|
6531
|
-
|
|
6532
|
-
|
|
6283
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
6284
|
+
void 0 === i && (i = Promise);
|
|
6285
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
6286
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
6287
|
+
return t.done ? t.value : a.next();
|
|
6288
|
+
});
|
|
6289
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
6290
|
+
return this;
|
|
6291
|
+
}), define(g, "toString", function () {
|
|
6533
6292
|
return "[object Generator]";
|
|
6534
|
-
})
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
var
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
entry.finallyLoc = locs[2];
|
|
6545
|
-
entry.afterLoc = locs[3];
|
|
6546
|
-
}
|
|
6547
|
-
|
|
6548
|
-
this.tryEntries.push(entry);
|
|
6549
|
-
}
|
|
6550
|
-
|
|
6551
|
-
function resetTryEntry(entry) {
|
|
6552
|
-
var record = entry.completion || {};
|
|
6553
|
-
record.type = "normal";
|
|
6554
|
-
delete record.arg;
|
|
6555
|
-
entry.completion = record;
|
|
6556
|
-
}
|
|
6557
|
-
|
|
6558
|
-
function Context(tryLocsList) {
|
|
6559
|
-
// The root entry object (effectively a try statement without a catch
|
|
6560
|
-
// or a finally block) gives us a place to store values thrown from
|
|
6561
|
-
// locations where there is no enclosing try statement.
|
|
6562
|
-
this.tryEntries = [{ tryLoc: "root" }];
|
|
6563
|
-
tryLocsList.forEach(pushTryEntry, this);
|
|
6564
|
-
this.reset(true);
|
|
6565
|
-
}
|
|
6566
|
-
|
|
6567
|
-
exports.keys = function(object) {
|
|
6568
|
-
var keys = [];
|
|
6569
|
-
for (var key in object) {
|
|
6570
|
-
keys.push(key);
|
|
6571
|
-
}
|
|
6572
|
-
keys.reverse();
|
|
6573
|
-
|
|
6574
|
-
// Rather than returning an object with a next method, we keep
|
|
6575
|
-
// things simple and return the next function itself.
|
|
6576
|
-
return function next() {
|
|
6577
|
-
while (keys.length) {
|
|
6578
|
-
var key = keys.pop();
|
|
6579
|
-
if (key in object) {
|
|
6580
|
-
next.value = key;
|
|
6581
|
-
next.done = false;
|
|
6582
|
-
return next;
|
|
6583
|
-
}
|
|
6584
|
-
}
|
|
6585
|
-
|
|
6586
|
-
// To avoid creating an additional object, we just hang the .value
|
|
6587
|
-
// and .done properties off the next function object itself. This
|
|
6588
|
-
// also ensures that the minifier will not anonymize the function.
|
|
6589
|
-
next.done = true;
|
|
6590
|
-
return next;
|
|
6293
|
+
}), e.keys = function (t) {
|
|
6294
|
+
var e = Object(t),
|
|
6295
|
+
r = [];
|
|
6296
|
+
for (var n in e) r.push(n);
|
|
6297
|
+
return r.reverse(), function next() {
|
|
6298
|
+
for (; r.length;) {
|
|
6299
|
+
var t = r.pop();
|
|
6300
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
6301
|
+
}
|
|
6302
|
+
return next.done = !0, next;
|
|
6591
6303
|
};
|
|
6592
|
-
}
|
|
6593
|
-
|
|
6594
|
-
function values(iterable) {
|
|
6595
|
-
if (iterable) {
|
|
6596
|
-
var iteratorMethod = iterable[iteratorSymbol];
|
|
6597
|
-
if (iteratorMethod) {
|
|
6598
|
-
return iteratorMethod.call(iterable);
|
|
6599
|
-
}
|
|
6600
|
-
|
|
6601
|
-
if (typeof iterable.next === "function") {
|
|
6602
|
-
return iterable;
|
|
6603
|
-
}
|
|
6604
|
-
|
|
6605
|
-
if (!isNaN(iterable.length)) {
|
|
6606
|
-
var i = -1, next = function next() {
|
|
6607
|
-
while (++i < iterable.length) {
|
|
6608
|
-
if (hasOwn.call(iterable, i)) {
|
|
6609
|
-
next.value = iterable[i];
|
|
6610
|
-
next.done = false;
|
|
6611
|
-
return next;
|
|
6612
|
-
}
|
|
6613
|
-
}
|
|
6614
|
-
|
|
6615
|
-
next.value = undefined$1;
|
|
6616
|
-
next.done = true;
|
|
6617
|
-
|
|
6618
|
-
return next;
|
|
6619
|
-
};
|
|
6620
|
-
|
|
6621
|
-
return next.next = next;
|
|
6622
|
-
}
|
|
6623
|
-
}
|
|
6624
|
-
|
|
6625
|
-
// Return an iterator with no values.
|
|
6626
|
-
return { next: doneResult };
|
|
6627
|
-
}
|
|
6628
|
-
exports.values = values;
|
|
6629
|
-
|
|
6630
|
-
function doneResult() {
|
|
6631
|
-
return { value: undefined$1, done: true };
|
|
6632
|
-
}
|
|
6633
|
-
|
|
6634
|
-
Context.prototype = {
|
|
6304
|
+
}, e.values = values, Context.prototype = {
|
|
6635
6305
|
constructor: Context,
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
this.prev = 0;
|
|
6639
|
-
this.next = 0;
|
|
6640
|
-
// Resetting context._sent for legacy support of Babel's
|
|
6641
|
-
// function.sent implementation.
|
|
6642
|
-
this.sent = this._sent = undefined$1;
|
|
6643
|
-
this.done = false;
|
|
6644
|
-
this.delegate = null;
|
|
6645
|
-
|
|
6646
|
-
this.method = "next";
|
|
6647
|
-
this.arg = undefined$1;
|
|
6648
|
-
|
|
6649
|
-
this.tryEntries.forEach(resetTryEntry);
|
|
6650
|
-
|
|
6651
|
-
if (!skipTempReset) {
|
|
6652
|
-
for (var name in this) {
|
|
6653
|
-
// Not sure about the optimal order of these conditions:
|
|
6654
|
-
if (name.charAt(0) === "t" &&
|
|
6655
|
-
hasOwn.call(this, name) &&
|
|
6656
|
-
!isNaN(+name.slice(1))) {
|
|
6657
|
-
this[name] = undefined$1;
|
|
6658
|
-
}
|
|
6659
|
-
}
|
|
6660
|
-
}
|
|
6306
|
+
reset: function reset(e) {
|
|
6307
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
6661
6308
|
},
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
var rootEntry = this.tryEntries[0];
|
|
6667
|
-
var rootRecord = rootEntry.completion;
|
|
6668
|
-
if (rootRecord.type === "throw") {
|
|
6669
|
-
throw rootRecord.arg;
|
|
6670
|
-
}
|
|
6671
|
-
|
|
6309
|
+
stop: function stop() {
|
|
6310
|
+
this.done = !0;
|
|
6311
|
+
var t = this.tryEntries[0].completion;
|
|
6312
|
+
if ("throw" === t.type) throw t.arg;
|
|
6672
6313
|
return this.rval;
|
|
6673
6314
|
},
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
var
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
return !! caught;
|
|
6694
|
-
}
|
|
6695
|
-
|
|
6696
|
-
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
6697
|
-
var entry = this.tryEntries[i];
|
|
6698
|
-
var record = entry.completion;
|
|
6699
|
-
|
|
6700
|
-
if (entry.tryLoc === "root") {
|
|
6701
|
-
// Exception thrown outside of any try block that could handle
|
|
6702
|
-
// it, so set the completion value of the entire function to
|
|
6703
|
-
// throw the exception.
|
|
6704
|
-
return handle("end");
|
|
6705
|
-
}
|
|
6706
|
-
|
|
6707
|
-
if (entry.tryLoc <= this.prev) {
|
|
6708
|
-
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
6709
|
-
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
6710
|
-
|
|
6711
|
-
if (hasCatch && hasFinally) {
|
|
6712
|
-
if (this.prev < entry.catchLoc) {
|
|
6713
|
-
return handle(entry.catchLoc, true);
|
|
6714
|
-
} else if (this.prev < entry.finallyLoc) {
|
|
6715
|
-
return handle(entry.finallyLoc);
|
|
6716
|
-
}
|
|
6717
|
-
|
|
6718
|
-
} else if (hasCatch) {
|
|
6719
|
-
if (this.prev < entry.catchLoc) {
|
|
6720
|
-
return handle(entry.catchLoc, true);
|
|
6721
|
-
}
|
|
6722
|
-
|
|
6723
|
-
} else if (hasFinally) {
|
|
6724
|
-
if (this.prev < entry.finallyLoc) {
|
|
6725
|
-
return handle(entry.finallyLoc);
|
|
6726
|
-
}
|
|
6727
|
-
|
|
6315
|
+
dispatchException: function dispatchException(e) {
|
|
6316
|
+
if (this.done) throw e;
|
|
6317
|
+
var r = this;
|
|
6318
|
+
function handle(n, o) {
|
|
6319
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
6320
|
+
}
|
|
6321
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
6322
|
+
var i = this.tryEntries[o],
|
|
6323
|
+
a = i.completion;
|
|
6324
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
6325
|
+
if (i.tryLoc <= this.prev) {
|
|
6326
|
+
var c = n.call(i, "catchLoc"),
|
|
6327
|
+
u = n.call(i, "finallyLoc");
|
|
6328
|
+
if (c && u) {
|
|
6329
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
6330
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
6331
|
+
} else if (c) {
|
|
6332
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
6728
6333
|
} else {
|
|
6729
|
-
throw
|
|
6334
|
+
if (!u) throw Error("try statement without catch or finally");
|
|
6335
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
6730
6336
|
}
|
|
6731
6337
|
}
|
|
6732
6338
|
}
|
|
6733
6339
|
},
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
hasOwn.call(entry, "finallyLoc") &&
|
|
6740
|
-
this.prev < entry.finallyLoc) {
|
|
6741
|
-
var finallyEntry = entry;
|
|
6340
|
+
abrupt: function abrupt(t, e) {
|
|
6341
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
6342
|
+
var o = this.tryEntries[r];
|
|
6343
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
6344
|
+
var i = o;
|
|
6742
6345
|
break;
|
|
6743
6346
|
}
|
|
6744
6347
|
}
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
type === "continue") &&
|
|
6749
|
-
finallyEntry.tryLoc <= arg &&
|
|
6750
|
-
arg <= finallyEntry.finallyLoc) {
|
|
6751
|
-
// Ignore the finally entry if control is not jumping to a
|
|
6752
|
-
// location outside the try/catch block.
|
|
6753
|
-
finallyEntry = null;
|
|
6754
|
-
}
|
|
6755
|
-
|
|
6756
|
-
var record = finallyEntry ? finallyEntry.completion : {};
|
|
6757
|
-
record.type = type;
|
|
6758
|
-
record.arg = arg;
|
|
6759
|
-
|
|
6760
|
-
if (finallyEntry) {
|
|
6761
|
-
this.method = "next";
|
|
6762
|
-
this.next = finallyEntry.finallyLoc;
|
|
6763
|
-
return ContinueSentinel;
|
|
6764
|
-
}
|
|
6765
|
-
|
|
6766
|
-
return this.complete(record);
|
|
6348
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
6349
|
+
var a = i ? i.completion : {};
|
|
6350
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
6767
6351
|
},
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
throw record.arg;
|
|
6772
|
-
}
|
|
6773
|
-
|
|
6774
|
-
if (record.type === "break" ||
|
|
6775
|
-
record.type === "continue") {
|
|
6776
|
-
this.next = record.arg;
|
|
6777
|
-
} else if (record.type === "return") {
|
|
6778
|
-
this.rval = this.arg = record.arg;
|
|
6779
|
-
this.method = "return";
|
|
6780
|
-
this.next = "end";
|
|
6781
|
-
} else if (record.type === "normal" && afterLoc) {
|
|
6782
|
-
this.next = afterLoc;
|
|
6783
|
-
}
|
|
6784
|
-
|
|
6785
|
-
return ContinueSentinel;
|
|
6352
|
+
complete: function complete(t, e) {
|
|
6353
|
+
if ("throw" === t.type) throw t.arg;
|
|
6354
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
6786
6355
|
},
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
if (entry.finallyLoc === finallyLoc) {
|
|
6792
|
-
this.complete(entry.completion, entry.afterLoc);
|
|
6793
|
-
resetTryEntry(entry);
|
|
6794
|
-
return ContinueSentinel;
|
|
6795
|
-
}
|
|
6356
|
+
finish: function finish(t) {
|
|
6357
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
6358
|
+
var r = this.tryEntries[e];
|
|
6359
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
6796
6360
|
}
|
|
6797
6361
|
},
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
resetTryEntry(entry);
|
|
6362
|
+
"catch": function _catch(t) {
|
|
6363
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
6364
|
+
var r = this.tryEntries[e];
|
|
6365
|
+
if (r.tryLoc === t) {
|
|
6366
|
+
var n = r.completion;
|
|
6367
|
+
if ("throw" === n.type) {
|
|
6368
|
+
var o = n.arg;
|
|
6369
|
+
resetTryEntry(r);
|
|
6807
6370
|
}
|
|
6808
|
-
return
|
|
6371
|
+
return o;
|
|
6809
6372
|
}
|
|
6810
6373
|
}
|
|
6811
|
-
|
|
6812
|
-
// The context.catch method must only be called with a location
|
|
6813
|
-
// argument that corresponds to a known catch block.
|
|
6814
|
-
throw new Error("illegal catch attempt");
|
|
6374
|
+
throw Error("illegal catch attempt");
|
|
6815
6375
|
},
|
|
6376
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
6377
|
+
return this.delegate = {
|
|
6378
|
+
iterator: values(e),
|
|
6379
|
+
resultName: r,
|
|
6380
|
+
nextLoc: n
|
|
6381
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
6382
|
+
}
|
|
6383
|
+
}, e;
|
|
6384
|
+
}
|
|
6385
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
6386
|
+
});
|
|
6816
6387
|
|
|
6817
|
-
|
|
6818
|
-
this.delegate = {
|
|
6819
|
-
iterator: values(iterable),
|
|
6820
|
-
resultName: resultName,
|
|
6821
|
-
nextLoc: nextLoc
|
|
6822
|
-
};
|
|
6823
|
-
|
|
6824
|
-
if (this.method === "next") {
|
|
6825
|
-
// Deliberately forget the last sent value so that we don't
|
|
6826
|
-
// accidentally pass it on to the delegate.
|
|
6827
|
-
this.arg = undefined$1;
|
|
6828
|
-
}
|
|
6829
|
-
|
|
6830
|
-
return ContinueSentinel;
|
|
6831
|
-
}
|
|
6832
|
-
};
|
|
6833
|
-
|
|
6834
|
-
// Regardless of whether this script is executing as a CommonJS module
|
|
6835
|
-
// or not, return the runtime object so that we can declare the variable
|
|
6836
|
-
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
6837
|
-
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
6838
|
-
return exports;
|
|
6388
|
+
// TODO(Babel 8): Remove this file.
|
|
6839
6389
|
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
6843
|
-
// object. Either way, the resulting object will be used to initialize
|
|
6844
|
-
// the regeneratorRuntime variable at the top of this file.
|
|
6845
|
-
module.exports
|
|
6846
|
-
));
|
|
6390
|
+
var runtime = regeneratorRuntime$1();
|
|
6391
|
+
var regenerator = runtime;
|
|
6847
6392
|
|
|
6393
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
6848
6394
|
try {
|
|
6849
6395
|
regeneratorRuntime = runtime;
|
|
6850
6396
|
} catch (accidentalStrictMode) {
|
|
6851
|
-
// This module should not be running in strict mode, so the above
|
|
6852
|
-
// assignment should always work unless something is misconfigured. Just
|
|
6853
|
-
// in case runtime.js accidentally runs in strict mode, in modern engines
|
|
6854
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
6855
|
-
// strict mode using a global Function call. This could conceivably fail
|
|
6856
|
-
// if a Content Security Policy forbids using Function, but in that case
|
|
6857
|
-
// the proper solution is to fix the accidental strict mode problem. If
|
|
6858
|
-
// you've misconfigured your bundler to force strict mode and applied a
|
|
6859
|
-
// CSP to forbid Function, and you're not willing to fix either of those
|
|
6860
|
-
// problems, please detail your unique predicament in a GitHub issue.
|
|
6861
6397
|
if (typeof globalThis === "object") {
|
|
6862
6398
|
globalThis.regeneratorRuntime = runtime;
|
|
6863
6399
|
} else {
|
|
6864
6400
|
Function("r", "regeneratorRuntime = r")(runtime);
|
|
6865
6401
|
}
|
|
6866
6402
|
}
|
|
6867
|
-
});
|
|
6868
|
-
|
|
6869
|
-
var regenerator = runtime_1;
|
|
6870
6403
|
|
|
6871
6404
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
6872
6405
|
var $RegExp$2 = global$1.RegExp;
|
|
@@ -8362,14 +7895,14 @@
|
|
|
8362
7895
|
// `ToNumeric` abstract operation
|
|
8363
7896
|
// https://tc39.es/ecma262/#sec-tonumeric
|
|
8364
7897
|
var toNumeric = function (value) {
|
|
8365
|
-
var primValue = toPrimitive(value, 'number');
|
|
7898
|
+
var primValue = toPrimitive$1(value, 'number');
|
|
8366
7899
|
return typeof primValue == 'bigint' ? primValue : toNumber(primValue);
|
|
8367
7900
|
};
|
|
8368
7901
|
|
|
8369
7902
|
// `ToNumber` abstract operation
|
|
8370
7903
|
// https://tc39.es/ecma262/#sec-tonumber
|
|
8371
7904
|
var toNumber = function (argument) {
|
|
8372
|
-
var it = toPrimitive(argument, 'number');
|
|
7905
|
+
var it = toPrimitive$1(argument, 'number');
|
|
8373
7906
|
var first, third, radix, maxCode, digits, length, index, code;
|
|
8374
7907
|
if (isSymbol(it)) throw new TypeError$2('Cannot convert a Symbol value to a number');
|
|
8375
7908
|
if (typeof it == 'string' && it.length > 2) {
|
|
@@ -11506,21 +11039,13 @@
|
|
|
11506
11039
|
});
|
|
11507
11040
|
|
|
11508
11041
|
function _extends() {
|
|
11509
|
-
_extends = Object.assign
|
|
11510
|
-
for (var
|
|
11511
|
-
var
|
|
11512
|
-
|
|
11513
|
-
for (var key in source) {
|
|
11514
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
11515
|
-
target[key] = source[key];
|
|
11516
|
-
}
|
|
11517
|
-
}
|
|
11042
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
11043
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
11044
|
+
var t = arguments[e];
|
|
11045
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
11518
11046
|
}
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
};
|
|
11522
|
-
|
|
11523
|
-
return _extends.apply(this, arguments);
|
|
11047
|
+
return n;
|
|
11048
|
+
}, _extends.apply(null, arguments);
|
|
11524
11049
|
}
|
|
11525
11050
|
|
|
11526
11051
|
var _excluded$1 = ["query"];
|