@dereekb/util 10.1.6 → 10.1.7
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/fetch/CHANGELOG.md +4 -0
- package/fetch/package.json +1 -1
- package/index.cjs.js +401 -399
- package/index.esm.js +452 -449
- package/package.json +1 -1
- package/test/CHANGELOG.md +4 -0
- package/test/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1546,244 +1546,20 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1546
1546
|
|
|
1547
1547
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1548
1548
|
|
|
1549
|
-
var classof$7 = classofRaw$2;
|
|
1550
|
-
|
|
1551
|
-
// `IsArray` abstract operation
|
|
1552
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
1553
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1554
|
-
var isArray$3 = Array.isArray || function isArray(argument) {
|
|
1555
|
-
return classof$7(argument) === 'Array';
|
|
1556
|
-
};
|
|
1557
|
-
|
|
1558
|
-
var $TypeError$a = TypeError;
|
|
1559
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
1560
|
-
|
|
1561
|
-
var doesNotExceedSafeInteger$1 = function (it) {
|
|
1562
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError$a('Maximum allowed index exceeded');
|
|
1563
|
-
return it;
|
|
1564
|
-
};
|
|
1565
|
-
|
|
1566
|
-
var classofRaw$1 = classofRaw$2;
|
|
1567
|
-
var uncurryThis$i = functionUncurryThis;
|
|
1568
|
-
|
|
1569
|
-
var functionUncurryThisClause = function (fn) {
|
|
1570
|
-
// Nashorn bug:
|
|
1571
|
-
// https://github.com/zloirock/core-js/issues/1128
|
|
1572
|
-
// https://github.com/zloirock/core-js/issues/1130
|
|
1573
|
-
if (classofRaw$1(fn) === 'Function') return uncurryThis$i(fn);
|
|
1574
|
-
};
|
|
1575
|
-
|
|
1576
|
-
var uncurryThis$h = functionUncurryThisClause;
|
|
1577
1549
|
var aCallable$7 = aCallable$a;
|
|
1578
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
1579
|
-
|
|
1580
|
-
var bind$5 = uncurryThis$h(uncurryThis$h.bind);
|
|
1581
|
-
|
|
1582
|
-
// optional / simple context binding
|
|
1583
|
-
var functionBindContext = function (fn, that) {
|
|
1584
|
-
aCallable$7(fn);
|
|
1585
|
-
return that === undefined ? fn : NATIVE_BIND$1 ? bind$5(fn, that) : function (/* ...args */) {
|
|
1586
|
-
return fn.apply(that, arguments);
|
|
1587
|
-
};
|
|
1588
|
-
};
|
|
1589
|
-
|
|
1590
|
-
var isArray$2 = isArray$3;
|
|
1591
|
-
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
1592
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
1593
|
-
var bind$4 = functionBindContext;
|
|
1594
|
-
|
|
1595
|
-
// `FlattenIntoArray` abstract operation
|
|
1596
|
-
// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
|
|
1597
|
-
var flattenIntoArray$1 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
|
1598
|
-
var targetIndex = start;
|
|
1599
|
-
var sourceIndex = 0;
|
|
1600
|
-
var mapFn = mapper ? bind$4(mapper, thisArg) : false;
|
|
1601
|
-
var element, elementLen;
|
|
1602
|
-
|
|
1603
|
-
while (sourceIndex < sourceLen) {
|
|
1604
|
-
if (sourceIndex in source) {
|
|
1605
|
-
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
1606
|
-
|
|
1607
|
-
if (depth > 0 && isArray$2(element)) {
|
|
1608
|
-
elementLen = lengthOfArrayLike$4(element);
|
|
1609
|
-
targetIndex = flattenIntoArray$1(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
|
1610
|
-
} else {
|
|
1611
|
-
doesNotExceedSafeInteger(targetIndex + 1);
|
|
1612
|
-
target[targetIndex] = element;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
targetIndex++;
|
|
1616
|
-
}
|
|
1617
|
-
sourceIndex++;
|
|
1618
|
-
}
|
|
1619
|
-
return targetIndex;
|
|
1620
|
-
};
|
|
1621
|
-
|
|
1622
|
-
var flattenIntoArray_1 = flattenIntoArray$1;
|
|
1623
|
-
|
|
1624
|
-
var wellKnownSymbol$d = wellKnownSymbol$k;
|
|
1625
|
-
|
|
1626
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$d('toStringTag');
|
|
1627
|
-
var test$2 = {};
|
|
1628
|
-
|
|
1629
|
-
test$2[TO_STRING_TAG$1] = 'z';
|
|
1630
|
-
|
|
1631
|
-
var toStringTagSupport = String(test$2) === '[object z]';
|
|
1632
|
-
|
|
1633
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1634
|
-
var isCallable$9 = isCallable$n;
|
|
1635
|
-
var classofRaw = classofRaw$2;
|
|
1636
|
-
var wellKnownSymbol$c = wellKnownSymbol$k;
|
|
1637
|
-
|
|
1638
|
-
var TO_STRING_TAG = wellKnownSymbol$c('toStringTag');
|
|
1639
|
-
var $Object = Object;
|
|
1640
|
-
|
|
1641
|
-
// ES3 wrong here
|
|
1642
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1643
|
-
|
|
1644
|
-
// fallback for IE11 Script Access Denied error
|
|
1645
|
-
var tryGet = function (it, key) {
|
|
1646
|
-
try {
|
|
1647
|
-
return it[key];
|
|
1648
|
-
} catch (error) { /* empty */ }
|
|
1649
|
-
};
|
|
1650
|
-
|
|
1651
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
1652
|
-
var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1653
|
-
var O, tag, result;
|
|
1654
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1655
|
-
// @@toStringTag case
|
|
1656
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1657
|
-
// builtinTag case
|
|
1658
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1659
|
-
// ES3 arguments fallback
|
|
1660
|
-
: (result = classofRaw(O)) === 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
|
|
1661
|
-
};
|
|
1662
|
-
|
|
1663
|
-
var uncurryThis$g = functionUncurryThis;
|
|
1664
|
-
var fails$e = fails$p;
|
|
1665
|
-
var isCallable$8 = isCallable$n;
|
|
1666
|
-
var classof$5 = classof$6;
|
|
1667
|
-
var getBuiltIn$3 = getBuiltIn$7;
|
|
1668
|
-
var inspectSource$1 = inspectSource$3;
|
|
1669
|
-
|
|
1670
|
-
var noop = function () { /* empty */ };
|
|
1671
|
-
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
1672
|
-
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1673
|
-
var exec$2 = uncurryThis$g(constructorRegExp.exec);
|
|
1674
|
-
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
1675
|
-
|
|
1676
|
-
var isConstructorModern = function isConstructor(argument) {
|
|
1677
|
-
if (!isCallable$8(argument)) return false;
|
|
1678
|
-
try {
|
|
1679
|
-
construct(noop, [], argument);
|
|
1680
|
-
return true;
|
|
1681
|
-
} catch (error) {
|
|
1682
|
-
return false;
|
|
1683
|
-
}
|
|
1684
|
-
};
|
|
1685
|
-
|
|
1686
|
-
var isConstructorLegacy = function isConstructor(argument) {
|
|
1687
|
-
if (!isCallable$8(argument)) return false;
|
|
1688
|
-
switch (classof$5(argument)) {
|
|
1689
|
-
case 'AsyncFunction':
|
|
1690
|
-
case 'GeneratorFunction':
|
|
1691
|
-
case 'AsyncGeneratorFunction': return false;
|
|
1692
|
-
}
|
|
1693
|
-
try {
|
|
1694
|
-
// we can't check .prototype since constructors produced by .bind haven't it
|
|
1695
|
-
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1696
|
-
// (for example, `DOMQuad` and similar in FF41-)
|
|
1697
|
-
return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource$1(argument));
|
|
1698
|
-
} catch (error) {
|
|
1699
|
-
return true;
|
|
1700
|
-
}
|
|
1701
|
-
};
|
|
1702
|
-
|
|
1703
|
-
isConstructorLegacy.sham = true;
|
|
1704
|
-
|
|
1705
|
-
// `IsConstructor` abstract operation
|
|
1706
|
-
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1707
|
-
var isConstructor$2 = !construct || fails$e(function () {
|
|
1708
|
-
var called;
|
|
1709
|
-
return isConstructorModern(isConstructorModern.call)
|
|
1710
|
-
|| !isConstructorModern(Object)
|
|
1711
|
-
|| !isConstructorModern(function () { called = true; })
|
|
1712
|
-
|| called;
|
|
1713
|
-
}) ? isConstructorLegacy : isConstructorModern;
|
|
1714
|
-
|
|
1715
|
-
var isArray$1 = isArray$3;
|
|
1716
|
-
var isConstructor$1 = isConstructor$2;
|
|
1717
|
-
var isObject$4 = isObject$c;
|
|
1718
|
-
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
1719
|
-
|
|
1720
|
-
var SPECIES$4 = wellKnownSymbol$b('species');
|
|
1721
|
-
var $Array = Array;
|
|
1722
|
-
|
|
1723
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
1724
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1725
|
-
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
1726
|
-
var C;
|
|
1727
|
-
if (isArray$1(originalArray)) {
|
|
1728
|
-
C = originalArray.constructor;
|
|
1729
|
-
// cross-realm fallback
|
|
1730
|
-
if (isConstructor$1(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
|
|
1731
|
-
else if (isObject$4(C)) {
|
|
1732
|
-
C = C[SPECIES$4];
|
|
1733
|
-
if (C === null) C = undefined;
|
|
1734
|
-
}
|
|
1735
|
-
} return C === undefined ? $Array : C;
|
|
1736
|
-
};
|
|
1737
|
-
|
|
1738
|
-
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
1739
|
-
|
|
1740
|
-
// `ArraySpeciesCreate` abstract operation
|
|
1741
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1742
|
-
var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
1743
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1744
|
-
};
|
|
1745
|
-
|
|
1746
|
-
var $$g = _export;
|
|
1747
|
-
var flattenIntoArray = flattenIntoArray_1;
|
|
1748
1550
|
var toObject$4 = toObject$7;
|
|
1749
|
-
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
1750
|
-
var toIntegerOrInfinity$4 = toIntegerOrInfinity$7;
|
|
1751
|
-
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
1752
|
-
|
|
1753
|
-
// `Array.prototype.flat` method
|
|
1754
|
-
// https://tc39.es/ecma262/#sec-array.prototype.flat
|
|
1755
|
-
$$g({ target: 'Array', proto: true }, {
|
|
1756
|
-
flat: function flat(/* depthArg = 1 */) {
|
|
1757
|
-
var depthArg = arguments.length ? arguments[0] : undefined;
|
|
1758
|
-
var O = toObject$4(this);
|
|
1759
|
-
var sourceLen = lengthOfArrayLike$3(O);
|
|
1760
|
-
var A = arraySpeciesCreate(O, 0);
|
|
1761
|
-
A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity$4(depthArg));
|
|
1762
|
-
return A;
|
|
1763
|
-
}
|
|
1764
|
-
});
|
|
1765
|
-
|
|
1766
|
-
// this method was added to unscopables after implementation
|
|
1767
|
-
// in popular engines, so it's moved to a separate module
|
|
1768
|
-
var addToUnscopables = addToUnscopables$2;
|
|
1769
|
-
|
|
1770
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1771
|
-
addToUnscopables('flat');
|
|
1772
|
-
|
|
1773
|
-
var aCallable$6 = aCallable$a;
|
|
1774
|
-
var toObject$3 = toObject$7;
|
|
1775
1551
|
var IndexedObject$1 = indexedObject;
|
|
1776
|
-
var lengthOfArrayLike$
|
|
1552
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
1777
1553
|
|
|
1778
|
-
var $TypeError$
|
|
1554
|
+
var $TypeError$a = TypeError;
|
|
1779
1555
|
|
|
1780
1556
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
1781
1557
|
var createMethod$2 = function (IS_RIGHT) {
|
|
1782
1558
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
1783
|
-
var O = toObject$
|
|
1559
|
+
var O = toObject$4(that);
|
|
1784
1560
|
var self = IndexedObject$1(O);
|
|
1785
|
-
var length = lengthOfArrayLike$
|
|
1786
|
-
aCallable$
|
|
1561
|
+
var length = lengthOfArrayLike$4(O);
|
|
1562
|
+
aCallable$7(callbackfn);
|
|
1787
1563
|
var index = IS_RIGHT ? length - 1 : 0;
|
|
1788
1564
|
var i = IS_RIGHT ? -1 : 1;
|
|
1789
1565
|
if (argumentsLength < 2) while (true) {
|
|
@@ -1794,7 +1570,7 @@ var createMethod$2 = function (IS_RIGHT) {
|
|
|
1794
1570
|
}
|
|
1795
1571
|
index += i;
|
|
1796
1572
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
1797
|
-
throw new $TypeError$
|
|
1573
|
+
throw new $TypeError$a('Reduce of empty array with no initial value');
|
|
1798
1574
|
}
|
|
1799
1575
|
}
|
|
1800
1576
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -1813,22 +1589,22 @@ var arrayReduce = {
|
|
|
1813
1589
|
right: createMethod$2(true)
|
|
1814
1590
|
};
|
|
1815
1591
|
|
|
1816
|
-
var fails$
|
|
1592
|
+
var fails$e = fails$p;
|
|
1817
1593
|
|
|
1818
1594
|
var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {
|
|
1819
1595
|
var method = [][METHOD_NAME];
|
|
1820
|
-
return !!method && fails$
|
|
1596
|
+
return !!method && fails$e(function () {
|
|
1821
1597
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
1822
1598
|
method.call(null, argument || function () { return 1; }, 1);
|
|
1823
1599
|
});
|
|
1824
1600
|
};
|
|
1825
1601
|
|
|
1826
1602
|
var global$c = global$o;
|
|
1827
|
-
var classof$
|
|
1603
|
+
var classof$7 = classofRaw$2;
|
|
1828
1604
|
|
|
1829
|
-
var engineIsNode = classof$
|
|
1605
|
+
var engineIsNode = classof$7(global$c.process) === 'process';
|
|
1830
1606
|
|
|
1831
|
-
var $$
|
|
1607
|
+
var $$g = _export;
|
|
1832
1608
|
var $reduce = arrayReduce.left;
|
|
1833
1609
|
var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;
|
|
1834
1610
|
var CHROME_VERSION = engineV8Version;
|
|
@@ -1841,7 +1617,7 @@ var FORCED$2 = CHROME_BUG || !arrayMethodIsStrict$1('reduce');
|
|
|
1841
1617
|
|
|
1842
1618
|
// `Array.prototype.reduce` method
|
|
1843
1619
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
1844
|
-
$$
|
|
1620
|
+
$$g({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
1845
1621
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
1846
1622
|
var length = arguments.length;
|
|
1847
1623
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -1928,7 +1704,10 @@ function concatArrays(...arrays) {
|
|
|
1928
1704
|
* @returns
|
|
1929
1705
|
*/
|
|
1930
1706
|
function flattenArray(array) {
|
|
1931
|
-
|
|
1707
|
+
const filteredValues = array.filter(x => Boolean(x));
|
|
1708
|
+
|
|
1709
|
+
// concat with spread is faster than a depth-one flat
|
|
1710
|
+
return [].concat(...filteredValues);
|
|
1932
1711
|
}
|
|
1933
1712
|
|
|
1934
1713
|
/**
|
|
@@ -2085,12 +1864,51 @@ const mergeArrayIntoArray = pushArrayItemsIntoArray;
|
|
|
2085
1864
|
*/
|
|
2086
1865
|
const mergeArrayOrValueIntoArray = pushItemOrArrayItemsIntoArray;
|
|
2087
1866
|
|
|
2088
|
-
var
|
|
1867
|
+
var wellKnownSymbol$d = wellKnownSymbol$k;
|
|
1868
|
+
|
|
1869
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$d('toStringTag');
|
|
1870
|
+
var test$2 = {};
|
|
1871
|
+
|
|
1872
|
+
test$2[TO_STRING_TAG$1] = 'z';
|
|
1873
|
+
|
|
1874
|
+
var toStringTagSupport = String(test$2) === '[object z]';
|
|
1875
|
+
|
|
1876
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1877
|
+
var isCallable$9 = isCallable$n;
|
|
1878
|
+
var classofRaw$1 = classofRaw$2;
|
|
1879
|
+
var wellKnownSymbol$c = wellKnownSymbol$k;
|
|
1880
|
+
|
|
1881
|
+
var TO_STRING_TAG = wellKnownSymbol$c('toStringTag');
|
|
1882
|
+
var $Object = Object;
|
|
1883
|
+
|
|
1884
|
+
// ES3 wrong here
|
|
1885
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1886
|
+
|
|
1887
|
+
// fallback for IE11 Script Access Denied error
|
|
1888
|
+
var tryGet = function (it, key) {
|
|
1889
|
+
try {
|
|
1890
|
+
return it[key];
|
|
1891
|
+
} catch (error) { /* empty */ }
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1895
|
+
var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1896
|
+
var O, tag, result;
|
|
1897
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1898
|
+
// @@toStringTag case
|
|
1899
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1900
|
+
// builtinTag case
|
|
1901
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1902
|
+
// ES3 arguments fallback
|
|
1903
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
var classof$5 = classof$6;
|
|
2089
1907
|
|
|
2090
1908
|
var $String$1 = String;
|
|
2091
1909
|
|
|
2092
1910
|
var toString$c = function (argument) {
|
|
2093
|
-
if (classof$
|
|
1911
|
+
if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2094
1912
|
return $String$1(argument);
|
|
2095
1913
|
};
|
|
2096
1914
|
|
|
@@ -2103,12 +1921,12 @@ var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
|
2103
1921
|
return defineProperty$2.f(target, name, descriptor);
|
|
2104
1922
|
};
|
|
2105
1923
|
|
|
2106
|
-
var $$
|
|
1924
|
+
var $$f = _export;
|
|
2107
1925
|
var DESCRIPTORS$4 = descriptors;
|
|
2108
1926
|
var global$b = global$o;
|
|
2109
|
-
var uncurryThis$
|
|
1927
|
+
var uncurryThis$i = functionUncurryThis;
|
|
2110
1928
|
var hasOwn$3 = hasOwnProperty_1;
|
|
2111
|
-
var isCallable$
|
|
1929
|
+
var isCallable$8 = isCallable$n;
|
|
2112
1930
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
2113
1931
|
var toString$b = toString$c;
|
|
2114
1932
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
@@ -2117,7 +1935,7 @@ var copyConstructorProperties = copyConstructorProperties$2;
|
|
|
2117
1935
|
var NativeSymbol = global$b.Symbol;
|
|
2118
1936
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
2119
1937
|
|
|
2120
|
-
if (DESCRIPTORS$4 && isCallable$
|
|
1938
|
+
if (DESCRIPTORS$4 && isCallable$8(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
2121
1939
|
// Safari 12 bug
|
|
2122
1940
|
NativeSymbol().description !== undefined
|
|
2123
1941
|
)) {
|
|
@@ -2138,11 +1956,11 @@ if (DESCRIPTORS$4 && isCallable$7(NativeSymbol) && (!('description' in SymbolPro
|
|
|
2138
1956
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
2139
1957
|
|
|
2140
1958
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
2141
|
-
var thisSymbolValue = uncurryThis$
|
|
2142
|
-
var symbolDescriptiveString = uncurryThis$
|
|
1959
|
+
var thisSymbolValue = uncurryThis$i(SymbolPrototype.valueOf);
|
|
1960
|
+
var symbolDescriptiveString = uncurryThis$i(SymbolPrototype.toString);
|
|
2143
1961
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
2144
|
-
var replace$4 = uncurryThis$
|
|
2145
|
-
var stringSlice$8 = uncurryThis$
|
|
1962
|
+
var replace$4 = uncurryThis$i(''.replace);
|
|
1963
|
+
var stringSlice$8 = uncurryThis$i(''.slice);
|
|
2146
1964
|
|
|
2147
1965
|
defineBuiltInAccessor$1(SymbolPrototype, 'description', {
|
|
2148
1966
|
configurable: true,
|
|
@@ -2155,7 +1973,7 @@ if (DESCRIPTORS$4 && isCallable$7(NativeSymbol) && (!('description' in SymbolPro
|
|
|
2155
1973
|
}
|
|
2156
1974
|
});
|
|
2157
1975
|
|
|
2158
|
-
$$
|
|
1976
|
+
$$f({ global: true, constructor: true, forced: true }, {
|
|
2159
1977
|
Symbol: SymbolWrapper
|
|
2160
1978
|
});
|
|
2161
1979
|
}
|
|
@@ -2843,24 +2661,24 @@ function setsAreEquivalent(a, b) {
|
|
|
2843
2661
|
}
|
|
2844
2662
|
|
|
2845
2663
|
var DESCRIPTORS$3 = descriptors;
|
|
2846
|
-
var uncurryThis$
|
|
2664
|
+
var uncurryThis$h = functionUncurryThis;
|
|
2847
2665
|
var call$e = functionCall;
|
|
2848
|
-
var fails$
|
|
2666
|
+
var fails$d = fails$p;
|
|
2849
2667
|
var objectKeys = objectKeys$2;
|
|
2850
2668
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
2851
2669
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
2852
|
-
var toObject$
|
|
2670
|
+
var toObject$3 = toObject$7;
|
|
2853
2671
|
var IndexedObject = indexedObject;
|
|
2854
2672
|
|
|
2855
2673
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
2856
2674
|
var $assign = Object.assign;
|
|
2857
2675
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2858
2676
|
var defineProperty$1 = Object.defineProperty;
|
|
2859
|
-
var concat$1 = uncurryThis$
|
|
2677
|
+
var concat$1 = uncurryThis$h([].concat);
|
|
2860
2678
|
|
|
2861
2679
|
// `Object.assign` method
|
|
2862
2680
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2863
|
-
var objectAssign = !$assign || fails$
|
|
2681
|
+
var objectAssign = !$assign || fails$d(function () {
|
|
2864
2682
|
// should have correct order of operations (Edge bug)
|
|
2865
2683
|
if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
2866
2684
|
enumerable: true,
|
|
@@ -2881,7 +2699,7 @@ var objectAssign = !$assign || fails$c(function () {
|
|
|
2881
2699
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
2882
2700
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
2883
2701
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
2884
|
-
var T = toObject$
|
|
2702
|
+
var T = toObject$3(target);
|
|
2885
2703
|
var argumentsLength = arguments.length;
|
|
2886
2704
|
var index = 1;
|
|
2887
2705
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
@@ -2899,13 +2717,13 @@ var objectAssign = !$assign || fails$c(function () {
|
|
|
2899
2717
|
} return T;
|
|
2900
2718
|
} : $assign;
|
|
2901
2719
|
|
|
2902
|
-
var $$
|
|
2720
|
+
var $$e = _export;
|
|
2903
2721
|
var assign = objectAssign;
|
|
2904
2722
|
|
|
2905
2723
|
// `Object.assign` method
|
|
2906
2724
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2907
2725
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2908
|
-
$$
|
|
2726
|
+
$$e({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
2909
2727
|
assign: assign
|
|
2910
2728
|
});
|
|
2911
2729
|
|
|
@@ -3681,15 +3499,15 @@ const BooleanStringKeyArrayUtilityInstance = new BooleanKeyArrayUtilityInstance(
|
|
|
3681
3499
|
|
|
3682
3500
|
var tryToString$3 = tryToString$5;
|
|
3683
3501
|
|
|
3684
|
-
var $TypeError$
|
|
3502
|
+
var $TypeError$9 = TypeError;
|
|
3685
3503
|
|
|
3686
3504
|
var deletePropertyOrThrow$1 = function (O, P) {
|
|
3687
|
-
if (!delete O[P]) throw new $TypeError$
|
|
3505
|
+
if (!delete O[P]) throw new $TypeError$9('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
|
|
3688
3506
|
};
|
|
3689
3507
|
|
|
3690
|
-
var uncurryThis$
|
|
3508
|
+
var uncurryThis$g = functionUncurryThis;
|
|
3691
3509
|
|
|
3692
|
-
var arraySlice$2 = uncurryThis$
|
|
3510
|
+
var arraySlice$2 = uncurryThis$g([].slice);
|
|
3693
3511
|
|
|
3694
3512
|
var arraySlice$1 = arraySlice$2;
|
|
3695
3513
|
|
|
@@ -3749,14 +3567,14 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
|
|
|
3749
3567
|
|
|
3750
3568
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
3751
3569
|
|
|
3752
|
-
var $$
|
|
3753
|
-
var uncurryThis$
|
|
3754
|
-
var aCallable$
|
|
3755
|
-
var toObject$
|
|
3756
|
-
var lengthOfArrayLike$
|
|
3570
|
+
var $$d = _export;
|
|
3571
|
+
var uncurryThis$f = functionUncurryThis;
|
|
3572
|
+
var aCallable$6 = aCallable$a;
|
|
3573
|
+
var toObject$2 = toObject$7;
|
|
3574
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
3757
3575
|
var deletePropertyOrThrow = deletePropertyOrThrow$1;
|
|
3758
3576
|
var toString$a = toString$c;
|
|
3759
|
-
var fails$
|
|
3577
|
+
var fails$c = fails$p;
|
|
3760
3578
|
var internalSort = arraySort;
|
|
3761
3579
|
var arrayMethodIsStrict = arrayMethodIsStrict$2;
|
|
3762
3580
|
var FF = engineFfVersion;
|
|
@@ -3765,21 +3583,21 @@ var V8 = engineV8Version;
|
|
|
3765
3583
|
var WEBKIT = engineWebkitVersion;
|
|
3766
3584
|
|
|
3767
3585
|
var test$1 = [];
|
|
3768
|
-
var nativeSort = uncurryThis$
|
|
3769
|
-
var push$2 = uncurryThis$
|
|
3586
|
+
var nativeSort = uncurryThis$f(test$1.sort);
|
|
3587
|
+
var push$2 = uncurryThis$f(test$1.push);
|
|
3770
3588
|
|
|
3771
3589
|
// IE8-
|
|
3772
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
3590
|
+
var FAILS_ON_UNDEFINED = fails$c(function () {
|
|
3773
3591
|
test$1.sort(undefined);
|
|
3774
3592
|
});
|
|
3775
3593
|
// V8 bug
|
|
3776
|
-
var FAILS_ON_NULL = fails$
|
|
3594
|
+
var FAILS_ON_NULL = fails$c(function () {
|
|
3777
3595
|
test$1.sort(null);
|
|
3778
3596
|
});
|
|
3779
3597
|
// Old WebKit
|
|
3780
3598
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
3781
3599
|
|
|
3782
|
-
var STABLE_SORT = !fails$
|
|
3600
|
+
var STABLE_SORT = !fails$c(function () {
|
|
3783
3601
|
// feature detection can be too slow, so check engines versions
|
|
3784
3602
|
if (V8) return V8 < 70;
|
|
3785
3603
|
if (FF && FF > 3) return;
|
|
@@ -3827,16 +3645,16 @@ var getSortCompare = function (comparefn) {
|
|
|
3827
3645
|
|
|
3828
3646
|
// `Array.prototype.sort` method
|
|
3829
3647
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
3830
|
-
$$
|
|
3648
|
+
$$d({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
3831
3649
|
sort: function sort(comparefn) {
|
|
3832
|
-
if (comparefn !== undefined) aCallable$
|
|
3650
|
+
if (comparefn !== undefined) aCallable$6(comparefn);
|
|
3833
3651
|
|
|
3834
|
-
var array = toObject$
|
|
3652
|
+
var array = toObject$2(this);
|
|
3835
3653
|
|
|
3836
3654
|
if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
|
|
3837
3655
|
|
|
3838
3656
|
var items = [];
|
|
3839
|
-
var arrayLength = lengthOfArrayLike$
|
|
3657
|
+
var arrayLength = lengthOfArrayLike$3(array);
|
|
3840
3658
|
var itemsLength, index;
|
|
3841
3659
|
|
|
3842
3660
|
for (index = 0; index < arrayLength; index++) {
|
|
@@ -3845,7 +3663,7 @@ $$c({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
3845
3663
|
|
|
3846
3664
|
internalSort(items, getSortCompare(comparefn));
|
|
3847
3665
|
|
|
3848
|
-
itemsLength = lengthOfArrayLike$
|
|
3666
|
+
itemsLength = lengthOfArrayLike$3(items);
|
|
3849
3667
|
index = 0;
|
|
3850
3668
|
|
|
3851
3669
|
while (index < itemsLength) array[index] = items[index++];
|
|
@@ -3890,14 +3708,14 @@ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
|
3890
3708
|
var defineBuiltIn$4 = defineBuiltIn$8;
|
|
3891
3709
|
var anObject$9 = anObject$g;
|
|
3892
3710
|
var $toString = toString$c;
|
|
3893
|
-
var fails$
|
|
3711
|
+
var fails$b = fails$p;
|
|
3894
3712
|
var getRegExpFlags$1 = regexpGetFlags;
|
|
3895
3713
|
|
|
3896
3714
|
var TO_STRING = 'toString';
|
|
3897
3715
|
var RegExpPrototype$2 = RegExp.prototype;
|
|
3898
3716
|
var nativeToString = RegExpPrototype$2[TO_STRING];
|
|
3899
3717
|
|
|
3900
|
-
var NOT_GENERIC = fails$
|
|
3718
|
+
var NOT_GENERIC = fails$b(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
3901
3719
|
// FF44- RegExp#toString has a wrong name
|
|
3902
3720
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
|
|
3903
3721
|
|
|
@@ -5123,13 +4941,13 @@ function boundNumber(input, min, max) {
|
|
|
5123
4941
|
return Math.max(Math.min(input, max), min);
|
|
5124
4942
|
}
|
|
5125
4943
|
|
|
5126
|
-
var fails$
|
|
4944
|
+
var fails$a = fails$p;
|
|
5127
4945
|
var global$a = global$o;
|
|
5128
4946
|
|
|
5129
4947
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
5130
4948
|
var $RegExp$2 = global$a.RegExp;
|
|
5131
4949
|
|
|
5132
|
-
var UNSUPPORTED_Y$3 = fails$
|
|
4950
|
+
var UNSUPPORTED_Y$3 = fails$a(function () {
|
|
5133
4951
|
var re = $RegExp$2('a', 'y');
|
|
5134
4952
|
re.lastIndex = 2;
|
|
5135
4953
|
return re.exec('abcd') !== null;
|
|
@@ -5137,11 +4955,11 @@ var UNSUPPORTED_Y$3 = fails$9(function () {
|
|
|
5137
4955
|
|
|
5138
4956
|
// UC Browser bug
|
|
5139
4957
|
// https://github.com/zloirock/core-js/issues/1008
|
|
5140
|
-
var MISSED_STICKY$1 = UNSUPPORTED_Y$3 || fails$
|
|
4958
|
+
var MISSED_STICKY$1 = UNSUPPORTED_Y$3 || fails$a(function () {
|
|
5141
4959
|
return !$RegExp$2('a', 'y').sticky;
|
|
5142
4960
|
});
|
|
5143
4961
|
|
|
5144
|
-
var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$
|
|
4962
|
+
var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$a(function () {
|
|
5145
4963
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
5146
4964
|
var re = $RegExp$2('^r', 'gy');
|
|
5147
4965
|
re.lastIndex = 2;
|
|
@@ -5154,24 +4972,24 @@ var regexpStickyHelpers = {
|
|
|
5154
4972
|
UNSUPPORTED_Y: UNSUPPORTED_Y$3
|
|
5155
4973
|
};
|
|
5156
4974
|
|
|
5157
|
-
var fails$
|
|
4975
|
+
var fails$9 = fails$p;
|
|
5158
4976
|
var global$9 = global$o;
|
|
5159
4977
|
|
|
5160
4978
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
5161
4979
|
var $RegExp$1 = global$9.RegExp;
|
|
5162
4980
|
|
|
5163
|
-
var regexpUnsupportedDotAll = fails$
|
|
4981
|
+
var regexpUnsupportedDotAll = fails$9(function () {
|
|
5164
4982
|
var re = $RegExp$1('.', 's');
|
|
5165
4983
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
5166
4984
|
});
|
|
5167
4985
|
|
|
5168
|
-
var fails$
|
|
4986
|
+
var fails$8 = fails$p;
|
|
5169
4987
|
var global$8 = global$o;
|
|
5170
4988
|
|
|
5171
4989
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
5172
4990
|
var $RegExp = global$8.RegExp;
|
|
5173
4991
|
|
|
5174
|
-
var regexpUnsupportedNcg = fails$
|
|
4992
|
+
var regexpUnsupportedNcg = fails$8(function () {
|
|
5175
4993
|
var re = $RegExp('(?<a>b)', 'g');
|
|
5176
4994
|
return re.exec('b').groups.a !== 'b' ||
|
|
5177
4995
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -5180,7 +4998,7 @@ var regexpUnsupportedNcg = fails$7(function () {
|
|
|
5180
4998
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
5181
4999
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
5182
5000
|
var call$c = functionCall;
|
|
5183
|
-
var uncurryThis$
|
|
5001
|
+
var uncurryThis$e = functionUncurryThis;
|
|
5184
5002
|
var toString$9 = toString$c;
|
|
5185
5003
|
var regexpFlags = regexpFlags$1;
|
|
5186
5004
|
var stickyHelpers$2 = regexpStickyHelpers;
|
|
@@ -5193,10 +5011,10 @@ var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
|
5193
5011
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
5194
5012
|
var nativeExec = RegExp.prototype.exec;
|
|
5195
5013
|
var patchedExec = nativeExec;
|
|
5196
|
-
var charAt$4 = uncurryThis$
|
|
5197
|
-
var indexOf = uncurryThis$
|
|
5198
|
-
var replace$3 = uncurryThis$
|
|
5199
|
-
var stringSlice$7 = uncurryThis$
|
|
5014
|
+
var charAt$4 = uncurryThis$e(''.charAt);
|
|
5015
|
+
var indexOf = uncurryThis$e(''.indexOf);
|
|
5016
|
+
var replace$3 = uncurryThis$e(''.replace);
|
|
5017
|
+
var stringSlice$7 = uncurryThis$e(''.slice);
|
|
5200
5018
|
|
|
5201
5019
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
5202
5020
|
var re1 = /a/;
|
|
@@ -5294,22 +5112,22 @@ if (PATCH) {
|
|
|
5294
5112
|
|
|
5295
5113
|
var regexpExec$2 = patchedExec;
|
|
5296
5114
|
|
|
5297
|
-
var $$
|
|
5298
|
-
var exec$
|
|
5115
|
+
var $$c = _export;
|
|
5116
|
+
var exec$2 = regexpExec$2;
|
|
5299
5117
|
|
|
5300
5118
|
// `RegExp.prototype.exec` method
|
|
5301
5119
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
5302
|
-
$$
|
|
5303
|
-
exec: exec$
|
|
5120
|
+
$$c({ target: 'RegExp', proto: true, forced: /./.exec !== exec$2 }, {
|
|
5121
|
+
exec: exec$2
|
|
5304
5122
|
});
|
|
5305
5123
|
|
|
5306
|
-
var uncurryThis$
|
|
5124
|
+
var uncurryThis$d = functionUncurryThis;
|
|
5307
5125
|
|
|
5308
5126
|
// `thisNumberValue` abstract operation
|
|
5309
5127
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
5310
|
-
var thisNumberValue$1 = uncurryThis$
|
|
5128
|
+
var thisNumberValue$1 = uncurryThis$d(1.0.valueOf);
|
|
5311
5129
|
|
|
5312
|
-
var toIntegerOrInfinity$
|
|
5130
|
+
var toIntegerOrInfinity$4 = toIntegerOrInfinity$7;
|
|
5313
5131
|
var toString$8 = toString$c;
|
|
5314
5132
|
var requireObjectCoercible$7 = requireObjectCoercible$a;
|
|
5315
5133
|
|
|
@@ -5320,25 +5138,25 @@ var $RangeError$1 = RangeError;
|
|
|
5320
5138
|
var stringRepeat = function repeat(count) {
|
|
5321
5139
|
var str = toString$8(requireObjectCoercible$7(this));
|
|
5322
5140
|
var result = '';
|
|
5323
|
-
var n = toIntegerOrInfinity$
|
|
5141
|
+
var n = toIntegerOrInfinity$4(count);
|
|
5324
5142
|
if (n < 0 || n === Infinity) throw new $RangeError$1('Wrong number of repetitions');
|
|
5325
5143
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
5326
5144
|
return result;
|
|
5327
5145
|
};
|
|
5328
5146
|
|
|
5329
|
-
var $$
|
|
5330
|
-
var uncurryThis$
|
|
5331
|
-
var toIntegerOrInfinity$
|
|
5147
|
+
var $$b = _export;
|
|
5148
|
+
var uncurryThis$c = functionUncurryThis;
|
|
5149
|
+
var toIntegerOrInfinity$3 = toIntegerOrInfinity$7;
|
|
5332
5150
|
var thisNumberValue = thisNumberValue$1;
|
|
5333
5151
|
var $repeat = stringRepeat;
|
|
5334
|
-
var fails$
|
|
5152
|
+
var fails$7 = fails$p;
|
|
5335
5153
|
|
|
5336
5154
|
var $RangeError = RangeError;
|
|
5337
5155
|
var $String = String;
|
|
5338
5156
|
var floor$1 = Math.floor;
|
|
5339
|
-
var repeat = uncurryThis$
|
|
5340
|
-
var stringSlice$6 = uncurryThis$
|
|
5341
|
-
var nativeToFixed = uncurryThis$
|
|
5157
|
+
var repeat = uncurryThis$c($repeat);
|
|
5158
|
+
var stringSlice$6 = uncurryThis$c(''.slice);
|
|
5159
|
+
var nativeToFixed = uncurryThis$c(1.0.toFixed);
|
|
5342
5160
|
|
|
5343
5161
|
var pow = function (x, n, acc) {
|
|
5344
5162
|
return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
|
|
@@ -5388,22 +5206,22 @@ var dataToString = function (data) {
|
|
|
5388
5206
|
} return s;
|
|
5389
5207
|
};
|
|
5390
5208
|
|
|
5391
|
-
var FORCED = fails$
|
|
5209
|
+
var FORCED = fails$7(function () {
|
|
5392
5210
|
return nativeToFixed(0.00008, 3) !== '0.000' ||
|
|
5393
5211
|
nativeToFixed(0.9, 0) !== '1' ||
|
|
5394
5212
|
nativeToFixed(1.255, 2) !== '1.25' ||
|
|
5395
5213
|
nativeToFixed(1000000000000000128.0, 0) !== '1000000000000000128';
|
|
5396
|
-
}) || !fails$
|
|
5214
|
+
}) || !fails$7(function () {
|
|
5397
5215
|
// V8 ~ Android 4.3-
|
|
5398
5216
|
nativeToFixed({});
|
|
5399
5217
|
});
|
|
5400
5218
|
|
|
5401
5219
|
// `Number.prototype.toFixed` method
|
|
5402
5220
|
// https://tc39.es/ecma262/#sec-number.prototype.tofixed
|
|
5403
|
-
$$
|
|
5221
|
+
$$b({ target: 'Number', proto: true, forced: FORCED }, {
|
|
5404
5222
|
toFixed: function toFixed(fractionDigits) {
|
|
5405
5223
|
var number = thisNumberValue(this);
|
|
5406
|
-
var fractDigits = toIntegerOrInfinity$
|
|
5224
|
+
var fractDigits = toIntegerOrInfinity$3(fractionDigits);
|
|
5407
5225
|
var data = [0, 0, 0, 0, 0, 0];
|
|
5408
5226
|
var sign = '';
|
|
5409
5227
|
var result = '0';
|
|
@@ -6783,24 +6601,24 @@ function terminatingFactoryFromArray(array, terminatingValue) {
|
|
|
6783
6601
|
var call$b = functionCall;
|
|
6784
6602
|
var defineBuiltIn$3 = defineBuiltIn$8;
|
|
6785
6603
|
var regexpExec$1 = regexpExec$2;
|
|
6786
|
-
var fails$
|
|
6787
|
-
var wellKnownSymbol$
|
|
6604
|
+
var fails$6 = fails$p;
|
|
6605
|
+
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
6788
6606
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
|
|
6789
6607
|
|
|
6790
|
-
var SPECIES$
|
|
6608
|
+
var SPECIES$4 = wellKnownSymbol$b('species');
|
|
6791
6609
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
6792
6610
|
|
|
6793
6611
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
6794
|
-
var SYMBOL = wellKnownSymbol$
|
|
6612
|
+
var SYMBOL = wellKnownSymbol$b(KEY);
|
|
6795
6613
|
|
|
6796
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
6614
|
+
var DELEGATES_TO_SYMBOL = !fails$6(function () {
|
|
6797
6615
|
// String methods call symbol-named RegExp methods
|
|
6798
6616
|
var O = {};
|
|
6799
6617
|
O[SYMBOL] = function () { return 7; };
|
|
6800
6618
|
return ''[KEY](O) !== 7;
|
|
6801
6619
|
});
|
|
6802
6620
|
|
|
6803
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
6621
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {
|
|
6804
6622
|
// Symbol-named RegExp methods call .exec
|
|
6805
6623
|
var execCalled = false;
|
|
6806
6624
|
var re = /a/;
|
|
@@ -6813,7 +6631,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6813
6631
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
6814
6632
|
// a new one. We need to return the patched regex when creating the new one.
|
|
6815
6633
|
re.constructor = {};
|
|
6816
|
-
re.constructor[SPECIES$
|
|
6634
|
+
re.constructor[SPECIES$4] = function () { return re; };
|
|
6817
6635
|
re.flags = '';
|
|
6818
6636
|
re[SYMBOL] = /./[SYMBOL];
|
|
6819
6637
|
}
|
|
@@ -6854,19 +6672,19 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6854
6672
|
if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$1[SYMBOL], 'sham', true);
|
|
6855
6673
|
};
|
|
6856
6674
|
|
|
6857
|
-
var uncurryThis$
|
|
6858
|
-
var toIntegerOrInfinity$
|
|
6675
|
+
var uncurryThis$b = functionUncurryThis;
|
|
6676
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$7;
|
|
6859
6677
|
var toString$7 = toString$c;
|
|
6860
6678
|
var requireObjectCoercible$6 = requireObjectCoercible$a;
|
|
6861
6679
|
|
|
6862
|
-
var charAt$3 = uncurryThis$
|
|
6863
|
-
var charCodeAt = uncurryThis$
|
|
6864
|
-
var stringSlice$5 = uncurryThis$
|
|
6680
|
+
var charAt$3 = uncurryThis$b(''.charAt);
|
|
6681
|
+
var charCodeAt = uncurryThis$b(''.charCodeAt);
|
|
6682
|
+
var stringSlice$5 = uncurryThis$b(''.slice);
|
|
6865
6683
|
|
|
6866
6684
|
var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
6867
6685
|
return function ($this, pos) {
|
|
6868
6686
|
var S = toString$7(requireObjectCoercible$6($this));
|
|
6869
|
-
var position = toIntegerOrInfinity$
|
|
6687
|
+
var position = toIntegerOrInfinity$2(pos);
|
|
6870
6688
|
var size = S.length;
|
|
6871
6689
|
var first, second;
|
|
6872
6690
|
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
@@ -6901,23 +6719,23 @@ var advanceStringIndex$3 = function (S, index, unicode) {
|
|
|
6901
6719
|
|
|
6902
6720
|
var call$a = functionCall;
|
|
6903
6721
|
var anObject$8 = anObject$g;
|
|
6904
|
-
var isCallable$
|
|
6905
|
-
var classof$
|
|
6722
|
+
var isCallable$7 = isCallable$n;
|
|
6723
|
+
var classof$4 = classofRaw$2;
|
|
6906
6724
|
var regexpExec = regexpExec$2;
|
|
6907
6725
|
|
|
6908
|
-
var $TypeError$
|
|
6726
|
+
var $TypeError$8 = TypeError;
|
|
6909
6727
|
|
|
6910
6728
|
// `RegExpExec` abstract operation
|
|
6911
6729
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
6912
6730
|
var regexpExecAbstract = function (R, S) {
|
|
6913
6731
|
var exec = R.exec;
|
|
6914
|
-
if (isCallable$
|
|
6732
|
+
if (isCallable$7(exec)) {
|
|
6915
6733
|
var result = call$a(exec, R, S);
|
|
6916
6734
|
if (result !== null) anObject$8(result);
|
|
6917
6735
|
return result;
|
|
6918
6736
|
}
|
|
6919
|
-
if (classof$
|
|
6920
|
-
throw new $TypeError$
|
|
6737
|
+
if (classof$4(R) === 'RegExp') return call$a(regexpExec, R, S);
|
|
6738
|
+
throw new $TypeError$8('RegExp#exec called on incompatible receiver');
|
|
6921
6739
|
};
|
|
6922
6740
|
|
|
6923
6741
|
var call$9 = functionCall;
|
|
@@ -7272,12 +7090,12 @@ function findIndexOfFirstDuplicateValue(values) {
|
|
|
7272
7090
|
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
7273
7091
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
7274
7092
|
|
|
7275
|
-
var uncurryThis$
|
|
7093
|
+
var uncurryThis$a = functionUncurryThis;
|
|
7276
7094
|
var requireObjectCoercible$4 = requireObjectCoercible$a;
|
|
7277
7095
|
var toString$5 = toString$c;
|
|
7278
7096
|
var whitespaces$1 = whitespaces$2;
|
|
7279
7097
|
|
|
7280
|
-
var replace$2 = uncurryThis$
|
|
7098
|
+
var replace$2 = uncurryThis$a(''.replace);
|
|
7281
7099
|
var ltrim = RegExp('^[' + whitespaces$1 + ']+');
|
|
7282
7100
|
var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
|
|
7283
7101
|
|
|
@@ -7304,7 +7122,7 @@ var stringTrim = {
|
|
|
7304
7122
|
};
|
|
7305
7123
|
|
|
7306
7124
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
7307
|
-
var fails$
|
|
7125
|
+
var fails$5 = fails$p;
|
|
7308
7126
|
var whitespaces = whitespaces$2;
|
|
7309
7127
|
|
|
7310
7128
|
var non = '\u200B\u0085\u180E';
|
|
@@ -7312,53 +7130,105 @@ var non = '\u200B\u0085\u180E';
|
|
|
7312
7130
|
// check that a method works with the correct list
|
|
7313
7131
|
// of whitespaces and has a correct name
|
|
7314
7132
|
var stringTrimForced = function (METHOD_NAME) {
|
|
7315
|
-
return fails$
|
|
7133
|
+
return fails$5(function () {
|
|
7316
7134
|
return !!whitespaces[METHOD_NAME]()
|
|
7317
7135
|
|| non[METHOD_NAME]() !== non
|
|
7318
7136
|
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
7319
7137
|
});
|
|
7320
7138
|
};
|
|
7321
7139
|
|
|
7322
|
-
var $$
|
|
7140
|
+
var $$a = _export;
|
|
7323
7141
|
var $trim = stringTrim.trim;
|
|
7324
7142
|
var forcedStringTrimMethod = stringTrimForced;
|
|
7325
7143
|
|
|
7326
7144
|
// `String.prototype.trim` method
|
|
7327
7145
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
7328
|
-
$$
|
|
7146
|
+
$$a({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
7329
7147
|
trim: function trim() {
|
|
7330
7148
|
return $trim(this);
|
|
7331
7149
|
}
|
|
7332
7150
|
});
|
|
7333
7151
|
|
|
7334
|
-
var
|
|
7152
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
7153
|
+
var fails$4 = fails$p;
|
|
7154
|
+
var isCallable$6 = isCallable$n;
|
|
7155
|
+
var classof$3 = classof$6;
|
|
7156
|
+
var getBuiltIn$3 = getBuiltIn$7;
|
|
7157
|
+
var inspectSource$1 = inspectSource$3;
|
|
7158
|
+
|
|
7159
|
+
var noop = function () { /* empty */ };
|
|
7160
|
+
var construct = getBuiltIn$3('Reflect', 'construct');
|
|
7161
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
7162
|
+
var exec$1 = uncurryThis$9(constructorRegExp.exec);
|
|
7163
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
7164
|
+
|
|
7165
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
7166
|
+
if (!isCallable$6(argument)) return false;
|
|
7167
|
+
try {
|
|
7168
|
+
construct(noop, [], argument);
|
|
7169
|
+
return true;
|
|
7170
|
+
} catch (error) {
|
|
7171
|
+
return false;
|
|
7172
|
+
}
|
|
7173
|
+
};
|
|
7174
|
+
|
|
7175
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
7176
|
+
if (!isCallable$6(argument)) return false;
|
|
7177
|
+
switch (classof$3(argument)) {
|
|
7178
|
+
case 'AsyncFunction':
|
|
7179
|
+
case 'GeneratorFunction':
|
|
7180
|
+
case 'AsyncGeneratorFunction': return false;
|
|
7181
|
+
}
|
|
7182
|
+
try {
|
|
7183
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
7184
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
7185
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
7186
|
+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource$1(argument));
|
|
7187
|
+
} catch (error) {
|
|
7188
|
+
return true;
|
|
7189
|
+
}
|
|
7190
|
+
};
|
|
7191
|
+
|
|
7192
|
+
isConstructorLegacy.sham = true;
|
|
7193
|
+
|
|
7194
|
+
// `IsConstructor` abstract operation
|
|
7195
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
7196
|
+
var isConstructor$2 = !construct || fails$4(function () {
|
|
7197
|
+
var called;
|
|
7198
|
+
return isConstructorModern(isConstructorModern.call)
|
|
7199
|
+
|| !isConstructorModern(Object)
|
|
7200
|
+
|| !isConstructorModern(function () { called = true; })
|
|
7201
|
+
|| called;
|
|
7202
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
7203
|
+
|
|
7204
|
+
var isConstructor$1 = isConstructor$2;
|
|
7335
7205
|
var tryToString$2 = tryToString$5;
|
|
7336
7206
|
|
|
7337
|
-
var $TypeError$
|
|
7207
|
+
var $TypeError$7 = TypeError;
|
|
7338
7208
|
|
|
7339
7209
|
// `Assert: IsConstructor(argument) is true`
|
|
7340
7210
|
var aConstructor$1 = function (argument) {
|
|
7341
|
-
if (isConstructor(argument)) return argument;
|
|
7342
|
-
throw new $TypeError$
|
|
7211
|
+
if (isConstructor$1(argument)) return argument;
|
|
7212
|
+
throw new $TypeError$7(tryToString$2(argument) + ' is not a constructor');
|
|
7343
7213
|
};
|
|
7344
7214
|
|
|
7345
7215
|
var anObject$6 = anObject$g;
|
|
7346
7216
|
var aConstructor = aConstructor$1;
|
|
7347
7217
|
var isNullOrUndefined$3 = isNullOrUndefined$7;
|
|
7348
|
-
var wellKnownSymbol$
|
|
7218
|
+
var wellKnownSymbol$a = wellKnownSymbol$k;
|
|
7349
7219
|
|
|
7350
|
-
var SPECIES$
|
|
7220
|
+
var SPECIES$3 = wellKnownSymbol$a('species');
|
|
7351
7221
|
|
|
7352
7222
|
// `SpeciesConstructor` abstract operation
|
|
7353
7223
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
7354
7224
|
var speciesConstructor$2 = function (O, defaultConstructor) {
|
|
7355
7225
|
var C = anObject$6(O).constructor;
|
|
7356
7226
|
var S;
|
|
7357
|
-
return C === undefined || isNullOrUndefined$3(S = anObject$6(C)[SPECIES$
|
|
7227
|
+
return C === undefined || isNullOrUndefined$3(S = anObject$6(C)[SPECIES$3]) ? defaultConstructor : aConstructor(S);
|
|
7358
7228
|
};
|
|
7359
7229
|
|
|
7360
7230
|
var call$8 = functionCall;
|
|
7361
|
-
var uncurryThis$
|
|
7231
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
7362
7232
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
7363
7233
|
var anObject$5 = anObject$g;
|
|
7364
7234
|
var isNullOrUndefined$2 = isNullOrUndefined$7;
|
|
@@ -7375,8 +7245,8 @@ var fails$3 = fails$p;
|
|
|
7375
7245
|
var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y;
|
|
7376
7246
|
var MAX_UINT32 = 0xFFFFFFFF;
|
|
7377
7247
|
var min$3 = Math.min;
|
|
7378
|
-
var push$1 = uncurryThis$
|
|
7379
|
-
var stringSlice$4 = uncurryThis$
|
|
7248
|
+
var push$1 = uncurryThis$8([].push);
|
|
7249
|
+
var stringSlice$4 = uncurryThis$8(''.slice);
|
|
7380
7250
|
|
|
7381
7251
|
// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
|
|
7382
7252
|
// Weex JS has frozen built-in prototypes, so use try / catch wrapper
|
|
@@ -7599,32 +7469,42 @@ function mapIterable(values, fn) {
|
|
|
7599
7469
|
return mapping;
|
|
7600
7470
|
}
|
|
7601
7471
|
|
|
7602
|
-
var
|
|
7603
|
-
var
|
|
7604
|
-
|
|
7472
|
+
var classofRaw = classofRaw$2;
|
|
7473
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
7474
|
+
|
|
7475
|
+
var functionUncurryThisClause = function (fn) {
|
|
7476
|
+
// Nashorn bug:
|
|
7477
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
7478
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
7479
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$7(fn);
|
|
7480
|
+
};
|
|
7481
|
+
|
|
7482
|
+
var isObject$4 = isObject$c;
|
|
7483
|
+
var classof$2 = classofRaw$2;
|
|
7484
|
+
var wellKnownSymbol$9 = wellKnownSymbol$k;
|
|
7605
7485
|
|
|
7606
|
-
var MATCH$2 = wellKnownSymbol$
|
|
7486
|
+
var MATCH$2 = wellKnownSymbol$9('match');
|
|
7607
7487
|
|
|
7608
7488
|
// `IsRegExp` abstract operation
|
|
7609
7489
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
7610
7490
|
var isRegexp = function (it) {
|
|
7611
7491
|
var isRegExp;
|
|
7612
|
-
return isObject$
|
|
7492
|
+
return isObject$4(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$2(it) === 'RegExp');
|
|
7613
7493
|
};
|
|
7614
7494
|
|
|
7615
7495
|
var isRegExp$1 = isRegexp;
|
|
7616
7496
|
|
|
7617
|
-
var $TypeError$
|
|
7497
|
+
var $TypeError$6 = TypeError;
|
|
7618
7498
|
|
|
7619
7499
|
var notARegexp = function (it) {
|
|
7620
7500
|
if (isRegExp$1(it)) {
|
|
7621
|
-
throw new $TypeError$
|
|
7501
|
+
throw new $TypeError$6("The method doesn't accept regular expressions");
|
|
7622
7502
|
} return it;
|
|
7623
7503
|
};
|
|
7624
7504
|
|
|
7625
|
-
var wellKnownSymbol$
|
|
7505
|
+
var wellKnownSymbol$8 = wellKnownSymbol$k;
|
|
7626
7506
|
|
|
7627
|
-
var MATCH$1 = wellKnownSymbol$
|
|
7507
|
+
var MATCH$1 = wellKnownSymbol$8('match');
|
|
7628
7508
|
|
|
7629
7509
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
7630
7510
|
var regexp = /./;
|
|
@@ -7638,8 +7518,8 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
7638
7518
|
} return false;
|
|
7639
7519
|
};
|
|
7640
7520
|
|
|
7641
|
-
var $$
|
|
7642
|
-
var uncurryThis$
|
|
7521
|
+
var $$9 = _export;
|
|
7522
|
+
var uncurryThis$6 = functionUncurryThisClause;
|
|
7643
7523
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
7644
7524
|
var toLength$2 = toLength$6;
|
|
7645
7525
|
var toString$3 = toString$c;
|
|
@@ -7647,7 +7527,7 @@ var notARegExp$1 = notARegexp;
|
|
|
7647
7527
|
var requireObjectCoercible$2 = requireObjectCoercible$a;
|
|
7648
7528
|
var correctIsRegExpLogic$1 = correctIsRegexpLogic;
|
|
7649
7529
|
|
|
7650
|
-
var stringSlice$3 = uncurryThis$
|
|
7530
|
+
var stringSlice$3 = uncurryThis$6(''.slice);
|
|
7651
7531
|
var min$2 = Math.min;
|
|
7652
7532
|
|
|
7653
7533
|
var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('startsWith');
|
|
@@ -7659,7 +7539,7 @@ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
|
|
|
7659
7539
|
|
|
7660
7540
|
// `String.prototype.startsWith` method
|
|
7661
7541
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
|
7662
|
-
$$
|
|
7542
|
+
$$9({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
|
|
7663
7543
|
startsWith: function startsWith(searchString /* , position = 0 */) {
|
|
7664
7544
|
var that = toString$3(requireObjectCoercible$2(this));
|
|
7665
7545
|
notARegExp$1(searchString);
|
|
@@ -7669,8 +7549,8 @@ $$8({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_
|
|
|
7669
7549
|
}
|
|
7670
7550
|
});
|
|
7671
7551
|
|
|
7672
|
-
var $$
|
|
7673
|
-
var uncurryThis$
|
|
7552
|
+
var $$8 = _export;
|
|
7553
|
+
var uncurryThis$5 = functionUncurryThisClause;
|
|
7674
7554
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
7675
7555
|
var toLength$1 = toLength$6;
|
|
7676
7556
|
var toString$2 = toString$c;
|
|
@@ -7678,7 +7558,7 @@ var notARegExp = notARegexp;
|
|
|
7678
7558
|
var requireObjectCoercible$1 = requireObjectCoercible$a;
|
|
7679
7559
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
7680
7560
|
|
|
7681
|
-
var slice = uncurryThis$
|
|
7561
|
+
var slice = uncurryThis$5(''.slice);
|
|
7682
7562
|
var min$1 = Math.min;
|
|
7683
7563
|
|
|
7684
7564
|
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
|
|
@@ -7690,7 +7570,7 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
|
7690
7570
|
|
|
7691
7571
|
// `String.prototype.endsWith` method
|
|
7692
7572
|
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
7693
|
-
$$
|
|
7573
|
+
$$8({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
7694
7574
|
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
7695
7575
|
var that = toString$2(requireObjectCoercible$1(this));
|
|
7696
7576
|
notARegExp(searchString);
|
|
@@ -8937,7 +8817,7 @@ function authClaims(authClaimsUpdate) {
|
|
|
8937
8817
|
}
|
|
8938
8818
|
|
|
8939
8819
|
var isCallable$5 = isCallable$n;
|
|
8940
|
-
var isObject$
|
|
8820
|
+
var isObject$3 = isObject$c;
|
|
8941
8821
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
8942
8822
|
|
|
8943
8823
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -8949,7 +8829,7 @@ var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
|
8949
8829
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
8950
8830
|
isCallable$5(NewTarget = dummy.constructor) &&
|
|
8951
8831
|
NewTarget !== Wrapper &&
|
|
8952
|
-
isObject$
|
|
8832
|
+
isObject$3(NewTargetPrototype = NewTarget.prototype) &&
|
|
8953
8833
|
NewTargetPrototype !== Wrapper.prototype
|
|
8954
8834
|
) setPrototypeOf$1($this, NewTargetPrototype);
|
|
8955
8835
|
return $this;
|
|
@@ -8967,16 +8847,16 @@ var proxyAccessor$1 = function (Target, Source, key) {
|
|
|
8967
8847
|
|
|
8968
8848
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
8969
8849
|
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
8970
|
-
var wellKnownSymbol$
|
|
8850
|
+
var wellKnownSymbol$7 = wellKnownSymbol$k;
|
|
8971
8851
|
var DESCRIPTORS$2 = descriptors;
|
|
8972
8852
|
|
|
8973
|
-
var SPECIES$
|
|
8853
|
+
var SPECIES$2 = wellKnownSymbol$7('species');
|
|
8974
8854
|
|
|
8975
8855
|
var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
8976
8856
|
var Constructor = getBuiltIn$2(CONSTRUCTOR_NAME);
|
|
8977
8857
|
|
|
8978
|
-
if (DESCRIPTORS$2 && Constructor && !Constructor[SPECIES$
|
|
8979
|
-
defineBuiltInAccessor(Constructor, SPECIES$
|
|
8858
|
+
if (DESCRIPTORS$2 && Constructor && !Constructor[SPECIES$2]) {
|
|
8859
|
+
defineBuiltInAccessor(Constructor, SPECIES$2, {
|
|
8980
8860
|
configurable: true,
|
|
8981
8861
|
get: function () { return this; }
|
|
8982
8862
|
});
|
|
@@ -8985,7 +8865,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
8985
8865
|
|
|
8986
8866
|
var DESCRIPTORS$1 = descriptors;
|
|
8987
8867
|
var global$7 = global$o;
|
|
8988
|
-
var uncurryThis$
|
|
8868
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
8989
8869
|
var isForced$1 = isForced_1;
|
|
8990
8870
|
var inheritIfRequired = inheritIfRequired$1;
|
|
8991
8871
|
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
@@ -9002,19 +8882,19 @@ var fails$2 = fails$p;
|
|
|
9002
8882
|
var hasOwn$1 = hasOwnProperty_1;
|
|
9003
8883
|
var enforceInternalState = internalState.enforce;
|
|
9004
8884
|
var setSpecies$1 = setSpecies$2;
|
|
9005
|
-
var wellKnownSymbol$
|
|
8885
|
+
var wellKnownSymbol$6 = wellKnownSymbol$k;
|
|
9006
8886
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
9007
8887
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
9008
8888
|
|
|
9009
|
-
var MATCH = wellKnownSymbol$
|
|
8889
|
+
var MATCH = wellKnownSymbol$6('match');
|
|
9010
8890
|
var NativeRegExp = global$7.RegExp;
|
|
9011
8891
|
var RegExpPrototype = NativeRegExp.prototype;
|
|
9012
8892
|
var SyntaxError = global$7.SyntaxError;
|
|
9013
|
-
var exec = uncurryThis$
|
|
9014
|
-
var charAt$1 = uncurryThis$
|
|
9015
|
-
var replace$1 = uncurryThis$
|
|
9016
|
-
var stringIndexOf$1 = uncurryThis$
|
|
9017
|
-
var stringSlice$2 = uncurryThis$
|
|
8893
|
+
var exec = uncurryThis$4(RegExpPrototype.exec);
|
|
8894
|
+
var charAt$1 = uncurryThis$4(''.charAt);
|
|
8895
|
+
var replace$1 = uncurryThis$4(''.replace);
|
|
8896
|
+
var stringIndexOf$1 = uncurryThis$4(''.indexOf);
|
|
8897
|
+
var stringSlice$2 = uncurryThis$4(''.slice);
|
|
9018
8898
|
// TODO: Use only proper RegExpIdentifierName
|
|
9019
8899
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
9020
8900
|
var re1 = /a/g;
|
|
@@ -9175,24 +9055,24 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
9175
9055
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
9176
9056
|
setSpecies$1('RegExp');
|
|
9177
9057
|
|
|
9178
|
-
var NATIVE_BIND = functionBindNative;
|
|
9058
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
9179
9059
|
|
|
9180
9060
|
var FunctionPrototype = Function.prototype;
|
|
9181
9061
|
var apply$2 = FunctionPrototype.apply;
|
|
9182
9062
|
var call$7 = FunctionPrototype.call;
|
|
9183
9063
|
|
|
9184
9064
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
9185
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$7.bind(apply$2) : function () {
|
|
9065
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$2) : function () {
|
|
9186
9066
|
return call$7.apply(apply$2, arguments);
|
|
9187
9067
|
});
|
|
9188
9068
|
|
|
9189
|
-
var uncurryThis$
|
|
9190
|
-
var toObject = toObject$7;
|
|
9069
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
9070
|
+
var toObject$1 = toObject$7;
|
|
9191
9071
|
|
|
9192
9072
|
var floor = Math.floor;
|
|
9193
|
-
var charAt = uncurryThis$
|
|
9194
|
-
var replace = uncurryThis$
|
|
9195
|
-
var stringSlice$1 = uncurryThis$
|
|
9073
|
+
var charAt = uncurryThis$3(''.charAt);
|
|
9074
|
+
var replace = uncurryThis$3(''.replace);
|
|
9075
|
+
var stringSlice$1 = uncurryThis$3(''.slice);
|
|
9196
9076
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
9197
9077
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
9198
9078
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
@@ -9204,7 +9084,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
9204
9084
|
var m = captures.length;
|
|
9205
9085
|
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
9206
9086
|
if (namedCaptures !== undefined) {
|
|
9207
|
-
namedCaptures = toObject(namedCaptures);
|
|
9087
|
+
namedCaptures = toObject$1(namedCaptures);
|
|
9208
9088
|
symbols = SUBSTITUTION_SYMBOLS;
|
|
9209
9089
|
}
|
|
9210
9090
|
return replace(replacement, symbols, function (match, ch) {
|
|
@@ -9234,13 +9114,13 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
9234
9114
|
|
|
9235
9115
|
var apply$1 = functionApply;
|
|
9236
9116
|
var call$6 = functionCall;
|
|
9237
|
-
var uncurryThis$
|
|
9117
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
9238
9118
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
9239
9119
|
var fails$1 = fails$p;
|
|
9240
9120
|
var anObject$4 = anObject$g;
|
|
9241
9121
|
var isCallable$4 = isCallable$n;
|
|
9242
9122
|
var isNullOrUndefined$1 = isNullOrUndefined$7;
|
|
9243
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$7;
|
|
9123
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$7;
|
|
9244
9124
|
var toLength = toLength$6;
|
|
9245
9125
|
var toString = toString$c;
|
|
9246
9126
|
var requireObjectCoercible = requireObjectCoercible$a;
|
|
@@ -9248,15 +9128,15 @@ var advanceStringIndex = advanceStringIndex$3;
|
|
|
9248
9128
|
var getMethod$2 = getMethod$6;
|
|
9249
9129
|
var getSubstitution = getSubstitution$1;
|
|
9250
9130
|
var regExpExec = regexpExecAbstract;
|
|
9251
|
-
var wellKnownSymbol$
|
|
9131
|
+
var wellKnownSymbol$5 = wellKnownSymbol$k;
|
|
9252
9132
|
|
|
9253
|
-
var REPLACE = wellKnownSymbol$
|
|
9133
|
+
var REPLACE = wellKnownSymbol$5('replace');
|
|
9254
9134
|
var max = Math.max;
|
|
9255
9135
|
var min = Math.min;
|
|
9256
|
-
var concat = uncurryThis$
|
|
9257
|
-
var push = uncurryThis$
|
|
9258
|
-
var stringIndexOf = uncurryThis$
|
|
9259
|
-
var stringSlice = uncurryThis$
|
|
9136
|
+
var concat = uncurryThis$2([].concat);
|
|
9137
|
+
var push = uncurryThis$2([].push);
|
|
9138
|
+
var stringIndexOf = uncurryThis$2(''.indexOf);
|
|
9139
|
+
var stringSlice = uncurryThis$2(''.slice);
|
|
9260
9140
|
|
|
9261
9141
|
var maybeToString = function (it) {
|
|
9262
9142
|
return it === undefined ? it : String(it);
|
|
@@ -9346,7 +9226,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
9346
9226
|
result = results[i];
|
|
9347
9227
|
|
|
9348
9228
|
var matched = toString(result[0]);
|
|
9349
|
-
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
9229
|
+
var position = max(min(toIntegerOrInfinity$1(result.index), S.length), 0);
|
|
9350
9230
|
var captures = [];
|
|
9351
9231
|
var replacement;
|
|
9352
9232
|
// NOTE: This is equivalent to
|
|
@@ -9374,21 +9254,30 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
9374
9254
|
];
|
|
9375
9255
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
9376
9256
|
|
|
9377
|
-
var
|
|
9378
|
-
|
|
9379
|
-
|
|
9257
|
+
var classof$1 = classofRaw$2;
|
|
9258
|
+
|
|
9259
|
+
// `IsArray` abstract operation
|
|
9260
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
9261
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
9262
|
+
var isArray$3 = Array.isArray || function isArray(argument) {
|
|
9263
|
+
return classof$1(argument) === 'Array';
|
|
9264
|
+
};
|
|
9265
|
+
|
|
9266
|
+
var $$7 = _export;
|
|
9267
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
9268
|
+
var isArray$2 = isArray$3;
|
|
9380
9269
|
|
|
9381
|
-
var nativeReverse = uncurryThis([].reverse);
|
|
9270
|
+
var nativeReverse = uncurryThis$1([].reverse);
|
|
9382
9271
|
var test = [1, 2];
|
|
9383
9272
|
|
|
9384
9273
|
// `Array.prototype.reverse` method
|
|
9385
9274
|
// https://tc39.es/ecma262/#sec-array.prototype.reverse
|
|
9386
9275
|
// fix for Safari 12.0 bug
|
|
9387
9276
|
// https://bugs.webkit.org/show_bug.cgi?id=188794
|
|
9388
|
-
$$
|
|
9277
|
+
$$7({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
|
|
9389
9278
|
reverse: function reverse() {
|
|
9390
9279
|
// eslint-disable-next-line no-self-assign -- dirty hack
|
|
9391
|
-
if (isArray(this)) this.length = this.length;
|
|
9280
|
+
if (isArray$2(this)) this.length = this.length;
|
|
9392
9281
|
return nativeReverse(this);
|
|
9393
9282
|
}
|
|
9394
9283
|
});
|
|
@@ -11232,17 +11121,31 @@ function urlWithoutParameters(url) {
|
|
|
11232
11121
|
|
|
11233
11122
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
11234
11123
|
|
|
11235
|
-
var $TypeError$
|
|
11124
|
+
var $TypeError$5 = TypeError;
|
|
11236
11125
|
|
|
11237
11126
|
var anInstance$1 = function (it, Prototype) {
|
|
11238
11127
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
11239
|
-
throw new $TypeError$
|
|
11128
|
+
throw new $TypeError$5('Incorrect invocation');
|
|
11240
11129
|
};
|
|
11241
11130
|
|
|
11242
|
-
var
|
|
11131
|
+
var uncurryThis = functionUncurryThisClause;
|
|
11132
|
+
var aCallable$5 = aCallable$a;
|
|
11133
|
+
var NATIVE_BIND = functionBindNative;
|
|
11134
|
+
|
|
11135
|
+
var bind$5 = uncurryThis(uncurryThis.bind);
|
|
11136
|
+
|
|
11137
|
+
// optional / simple context binding
|
|
11138
|
+
var functionBindContext = function (fn, that) {
|
|
11139
|
+
aCallable$5(fn);
|
|
11140
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$5(fn, that) : function (/* ...args */) {
|
|
11141
|
+
return fn.apply(that, arguments);
|
|
11142
|
+
};
|
|
11143
|
+
};
|
|
11144
|
+
|
|
11145
|
+
var $TypeError$4 = TypeError;
|
|
11243
11146
|
|
|
11244
11147
|
var validateArgumentsLength$1 = function (passed, required) {
|
|
11245
|
-
if (passed < required) throw new $TypeError$
|
|
11148
|
+
if (passed < required) throw new $TypeError$4('Not enough arguments');
|
|
11246
11149
|
return passed;
|
|
11247
11150
|
};
|
|
11248
11151
|
|
|
@@ -11253,7 +11156,7 @@ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
|
11253
11156
|
|
|
11254
11157
|
var global$6 = global$o;
|
|
11255
11158
|
var apply = functionApply;
|
|
11256
|
-
var bind$
|
|
11159
|
+
var bind$4 = functionBindContext;
|
|
11257
11160
|
var isCallable$3 = isCallable$n;
|
|
11258
11161
|
var hasOwn = hasOwnProperty_1;
|
|
11259
11162
|
var fails = fails$p;
|
|
@@ -11335,7 +11238,7 @@ if (!set || !clear) {
|
|
|
11335
11238
|
channel = new MessageChannel();
|
|
11336
11239
|
port = channel.port2;
|
|
11337
11240
|
channel.port1.onmessage = eventListener;
|
|
11338
|
-
defer = bind$
|
|
11241
|
+
defer = bind$4(port.postMessage, port);
|
|
11339
11242
|
// Browsers with postMessage, skip WebWorkers
|
|
11340
11243
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
11341
11244
|
} else if (
|
|
@@ -11416,7 +11319,7 @@ var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
11416
11319
|
|
|
11417
11320
|
var global$4 = global$o;
|
|
11418
11321
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
11419
|
-
var bind$
|
|
11322
|
+
var bind$3 = functionBindContext;
|
|
11420
11323
|
var macrotask = task$1.set;
|
|
11421
11324
|
var Queue$1 = queue$1;
|
|
11422
11325
|
var IS_IOS = engineIsIos;
|
|
@@ -11462,7 +11365,7 @@ if (!microtask$1) {
|
|
|
11462
11365
|
promise = Promise$1.resolve(undefined);
|
|
11463
11366
|
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
11464
11367
|
promise.constructor = Promise$1;
|
|
11465
|
-
then = bind$
|
|
11368
|
+
then = bind$3(promise.then, promise);
|
|
11466
11369
|
notify$1 = function () {
|
|
11467
11370
|
then(flush);
|
|
11468
11371
|
};
|
|
@@ -11479,7 +11382,7 @@ if (!microtask$1) {
|
|
|
11479
11382
|
// - setTimeout
|
|
11480
11383
|
} else {
|
|
11481
11384
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
11482
|
-
macrotask = bind$
|
|
11385
|
+
macrotask = bind$3(macrotask, global$4);
|
|
11483
11386
|
notify$1 = function () {
|
|
11484
11387
|
macrotask(flush);
|
|
11485
11388
|
};
|
|
@@ -11527,13 +11430,13 @@ var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
|
11527
11430
|
var isCallable$2 = isCallable$n;
|
|
11528
11431
|
var isForced = isForced_1;
|
|
11529
11432
|
var inspectSource = inspectSource$3;
|
|
11530
|
-
var wellKnownSymbol$
|
|
11433
|
+
var wellKnownSymbol$4 = wellKnownSymbol$k;
|
|
11531
11434
|
var IS_BROWSER = engineIsBrowser;
|
|
11532
11435
|
var IS_DENO = engineIsDeno;
|
|
11533
11436
|
var V8_VERSION = engineV8Version;
|
|
11534
11437
|
|
|
11535
11438
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
11536
|
-
var SPECIES = wellKnownSymbol$
|
|
11439
|
+
var SPECIES$1 = wellKnownSymbol$4('species');
|
|
11537
11440
|
var SUBCLASSING = false;
|
|
11538
11441
|
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(global$2.PromiseRejectionEvent);
|
|
11539
11442
|
|
|
@@ -11554,7 +11457,7 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
|
11554
11457
|
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
11555
11458
|
};
|
|
11556
11459
|
var constructor = promise.constructor = {};
|
|
11557
|
-
constructor[SPECIES] = FakePromise;
|
|
11460
|
+
constructor[SPECIES$1] = FakePromise;
|
|
11558
11461
|
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
11559
11462
|
if (!SUBCLASSING) return true;
|
|
11560
11463
|
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
@@ -11571,12 +11474,12 @@ var newPromiseCapability$2 = {};
|
|
|
11571
11474
|
|
|
11572
11475
|
var aCallable$4 = aCallable$a;
|
|
11573
11476
|
|
|
11574
|
-
var $TypeError$
|
|
11477
|
+
var $TypeError$3 = TypeError;
|
|
11575
11478
|
|
|
11576
11479
|
var PromiseCapability = function (C) {
|
|
11577
11480
|
var resolve, reject;
|
|
11578
11481
|
this.promise = new C(function ($$resolve, $$reject) {
|
|
11579
|
-
if (resolve !== undefined || reject !== undefined) throw new $TypeError$
|
|
11482
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$3('Bad Promise constructor');
|
|
11580
11483
|
resolve = $$resolve;
|
|
11581
11484
|
reject = $$reject;
|
|
11582
11485
|
});
|
|
@@ -11590,7 +11493,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
11590
11493
|
return new PromiseCapability(C);
|
|
11591
11494
|
};
|
|
11592
11495
|
|
|
11593
|
-
var $$
|
|
11496
|
+
var $$6 = _export;
|
|
11594
11497
|
var IS_NODE = engineIsNode;
|
|
11595
11498
|
var global$1 = global$o;
|
|
11596
11499
|
var call$5 = functionCall;
|
|
@@ -11600,7 +11503,7 @@ var setToStringTag = setToStringTag$4;
|
|
|
11600
11503
|
var setSpecies = setSpecies$2;
|
|
11601
11504
|
var aCallable$3 = aCallable$a;
|
|
11602
11505
|
var isCallable$1 = isCallable$n;
|
|
11603
|
-
var isObject$
|
|
11506
|
+
var isObject$2 = isObject$c;
|
|
11604
11507
|
var anInstance = anInstance$1;
|
|
11605
11508
|
var speciesConstructor = speciesConstructor$2;
|
|
11606
11509
|
var task = task$1.set;
|
|
@@ -11642,7 +11545,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
11642
11545
|
// helpers
|
|
11643
11546
|
var isThenable = function (it) {
|
|
11644
11547
|
var then;
|
|
11645
|
-
return isObject$
|
|
11548
|
+
return isObject$2(it) && isCallable$1(then = it.then) ? then : false;
|
|
11646
11549
|
};
|
|
11647
11550
|
|
|
11648
11551
|
var callReaction = function (reaction, state) {
|
|
@@ -11739,7 +11642,7 @@ var onHandleUnhandled = function (state) {
|
|
|
11739
11642
|
});
|
|
11740
11643
|
};
|
|
11741
11644
|
|
|
11742
|
-
var bind$
|
|
11645
|
+
var bind$2 = function (fn, state, unwrap) {
|
|
11743
11646
|
return function (value) {
|
|
11744
11647
|
fn(state, value, unwrap);
|
|
11745
11648
|
};
|
|
@@ -11766,8 +11669,8 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
11766
11669
|
var wrapper = { done: false };
|
|
11767
11670
|
try {
|
|
11768
11671
|
call$5(then, value,
|
|
11769
|
-
bind$
|
|
11770
|
-
bind$
|
|
11672
|
+
bind$2(internalResolve, wrapper, state),
|
|
11673
|
+
bind$2(internalReject, wrapper, state)
|
|
11771
11674
|
);
|
|
11772
11675
|
} catch (error) {
|
|
11773
11676
|
internalReject(wrapper, error, state);
|
|
@@ -11792,7 +11695,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
11792
11695
|
call$5(Internal, this);
|
|
11793
11696
|
var state = getInternalPromiseState(this);
|
|
11794
11697
|
try {
|
|
11795
|
-
executor(bind$
|
|
11698
|
+
executor(bind$2(internalResolve, state), bind$2(internalReject, state));
|
|
11796
11699
|
} catch (error) {
|
|
11797
11700
|
internalReject(state, error);
|
|
11798
11701
|
}
|
|
@@ -11834,8 +11737,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
11834
11737
|
var promise = new Internal();
|
|
11835
11738
|
var state = getInternalPromiseState(promise);
|
|
11836
11739
|
this.promise = promise;
|
|
11837
|
-
this.resolve = bind$
|
|
11838
|
-
this.reject = bind$
|
|
11740
|
+
this.resolve = bind$2(internalResolve, state);
|
|
11741
|
+
this.reject = bind$2(internalReject, state);
|
|
11839
11742
|
};
|
|
11840
11743
|
|
|
11841
11744
|
newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
|
|
@@ -11870,17 +11773,17 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
11870
11773
|
}
|
|
11871
11774
|
}
|
|
11872
11775
|
|
|
11873
|
-
$$
|
|
11776
|
+
$$6({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
11874
11777
|
Promise: PromiseConstructor
|
|
11875
11778
|
});
|
|
11876
11779
|
|
|
11877
11780
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
11878
11781
|
setSpecies(PROMISE);
|
|
11879
11782
|
|
|
11880
|
-
var wellKnownSymbol$
|
|
11783
|
+
var wellKnownSymbol$3 = wellKnownSymbol$k;
|
|
11881
11784
|
var Iterators$1 = iterators;
|
|
11882
11785
|
|
|
11883
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
11786
|
+
var ITERATOR$2 = wellKnownSymbol$3('iterator');
|
|
11884
11787
|
var ArrayPrototype = Array.prototype;
|
|
11885
11788
|
|
|
11886
11789
|
// check on default Array iterator
|
|
@@ -11892,9 +11795,9 @@ var classof = classof$6;
|
|
|
11892
11795
|
var getMethod$1 = getMethod$6;
|
|
11893
11796
|
var isNullOrUndefined = isNullOrUndefined$7;
|
|
11894
11797
|
var Iterators = iterators;
|
|
11895
|
-
var wellKnownSymbol$
|
|
11798
|
+
var wellKnownSymbol$2 = wellKnownSymbol$k;
|
|
11896
11799
|
|
|
11897
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
11800
|
+
var ITERATOR$1 = wellKnownSymbol$2('iterator');
|
|
11898
11801
|
|
|
11899
11802
|
var getIteratorMethod$2 = function (it) {
|
|
11900
11803
|
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$1)
|
|
@@ -11908,12 +11811,12 @@ var anObject$3 = anObject$g;
|
|
|
11908
11811
|
var tryToString$1 = tryToString$5;
|
|
11909
11812
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
11910
11813
|
|
|
11911
|
-
var $TypeError$
|
|
11814
|
+
var $TypeError$2 = TypeError;
|
|
11912
11815
|
|
|
11913
11816
|
var getIterator$1 = function (argument, usingIterator) {
|
|
11914
11817
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
11915
11818
|
if (aCallable$2(iteratorMethod)) return anObject$3(call$4(iteratorMethod, argument));
|
|
11916
|
-
throw new $TypeError$
|
|
11819
|
+
throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
|
|
11917
11820
|
};
|
|
11918
11821
|
|
|
11919
11822
|
var call$3 = functionCall;
|
|
@@ -11940,18 +11843,18 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
11940
11843
|
return value;
|
|
11941
11844
|
};
|
|
11942
11845
|
|
|
11943
|
-
var bind = functionBindContext;
|
|
11846
|
+
var bind$1 = functionBindContext;
|
|
11944
11847
|
var call$2 = functionCall;
|
|
11945
11848
|
var anObject$1 = anObject$g;
|
|
11946
11849
|
var tryToString = tryToString$5;
|
|
11947
11850
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
11948
|
-
var lengthOfArrayLike = lengthOfArrayLike$6;
|
|
11851
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
11949
11852
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
11950
11853
|
var getIterator = getIterator$1;
|
|
11951
11854
|
var getIteratorMethod = getIteratorMethod$2;
|
|
11952
11855
|
var iteratorClose = iteratorClose$1;
|
|
11953
11856
|
|
|
11954
|
-
var $TypeError = TypeError;
|
|
11857
|
+
var $TypeError$1 = TypeError;
|
|
11955
11858
|
|
|
11956
11859
|
var Result = function (stopped, result) {
|
|
11957
11860
|
this.stopped = stopped;
|
|
@@ -11966,7 +11869,7 @@ var iterate$3 = function (iterable, unboundFunction, options) {
|
|
|
11966
11869
|
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
11967
11870
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
11968
11871
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
11969
|
-
var fn = bind(unboundFunction, that);
|
|
11872
|
+
var fn = bind$1(unboundFunction, that);
|
|
11970
11873
|
var iterator, iterFn, index, length, result, next, step;
|
|
11971
11874
|
|
|
11972
11875
|
var stop = function (condition) {
|
|
@@ -11987,10 +11890,10 @@ var iterate$3 = function (iterable, unboundFunction, options) {
|
|
|
11987
11890
|
iterator = iterable;
|
|
11988
11891
|
} else {
|
|
11989
11892
|
iterFn = getIteratorMethod(iterable);
|
|
11990
|
-
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
11893
|
+
if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
11991
11894
|
// optimisation for array iterators
|
|
11992
11895
|
if (isArrayIteratorMethod(iterFn)) {
|
|
11993
|
-
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
11896
|
+
for (index = 0, length = lengthOfArrayLike$2(iterable); length > index; index++) {
|
|
11994
11897
|
result = callFn(iterable[index]);
|
|
11995
11898
|
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
11996
11899
|
} return new Result(false);
|
|
@@ -12009,9 +11912,9 @@ var iterate$3 = function (iterable, unboundFunction, options) {
|
|
|
12009
11912
|
} return new Result(false);
|
|
12010
11913
|
};
|
|
12011
11914
|
|
|
12012
|
-
var wellKnownSymbol = wellKnownSymbol$k;
|
|
11915
|
+
var wellKnownSymbol$1 = wellKnownSymbol$k;
|
|
12013
11916
|
|
|
12014
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
11917
|
+
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
12015
11918
|
var SAFE_CLOSING = false;
|
|
12016
11919
|
|
|
12017
11920
|
try {
|
|
@@ -12058,7 +11961,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
12058
11961
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
12059
11962
|
});
|
|
12060
11963
|
|
|
12061
|
-
var $$
|
|
11964
|
+
var $$5 = _export;
|
|
12062
11965
|
var call$1 = functionCall;
|
|
12063
11966
|
var aCallable$1 = aCallable$a;
|
|
12064
11967
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
@@ -12068,7 +11971,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
|
12068
11971
|
|
|
12069
11972
|
// `Promise.all` method
|
|
12070
11973
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
12071
|
-
$$
|
|
11974
|
+
$$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
12072
11975
|
all: function all(iterable) {
|
|
12073
11976
|
var C = this;
|
|
12074
11977
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
@@ -12097,7 +12000,7 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
12097
12000
|
}
|
|
12098
12001
|
});
|
|
12099
12002
|
|
|
12100
|
-
var $$
|
|
12003
|
+
var $$4 = _export;
|
|
12101
12004
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
12102
12005
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
12103
12006
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
@@ -12108,7 +12011,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
|
|
|
12108
12011
|
|
|
12109
12012
|
// `Promise.prototype.catch` method
|
|
12110
12013
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
12111
|
-
$$
|
|
12014
|
+
$$4({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
12112
12015
|
'catch': function (onRejected) {
|
|
12113
12016
|
return this.then(undefined, onRejected);
|
|
12114
12017
|
}
|
|
@@ -12122,7 +12025,7 @@ if (isCallable(NativePromiseConstructor)) {
|
|
|
12122
12025
|
}
|
|
12123
12026
|
}
|
|
12124
12027
|
|
|
12125
|
-
var $$
|
|
12028
|
+
var $$3 = _export;
|
|
12126
12029
|
var call = functionCall;
|
|
12127
12030
|
var aCallable = aCallable$a;
|
|
12128
12031
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
@@ -12132,7 +12035,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
|
12132
12035
|
|
|
12133
12036
|
// `Promise.race` method
|
|
12134
12037
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
12135
|
-
$$
|
|
12038
|
+
$$3({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
12136
12039
|
race: function race(iterable) {
|
|
12137
12040
|
var C = this;
|
|
12138
12041
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
@@ -12148,13 +12051,13 @@ $$2({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
12148
12051
|
}
|
|
12149
12052
|
});
|
|
12150
12053
|
|
|
12151
|
-
var $$
|
|
12054
|
+
var $$2 = _export;
|
|
12152
12055
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
12153
12056
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
12154
12057
|
|
|
12155
12058
|
// `Promise.reject` method
|
|
12156
12059
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
12157
|
-
$$
|
|
12060
|
+
$$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
12158
12061
|
reject: function reject(r) {
|
|
12159
12062
|
var capability = newPromiseCapabilityModule.f(this);
|
|
12160
12063
|
var capabilityReject = capability.reject;
|
|
@@ -12164,19 +12067,19 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
12164
12067
|
});
|
|
12165
12068
|
|
|
12166
12069
|
var anObject = anObject$g;
|
|
12167
|
-
var isObject = isObject$c;
|
|
12070
|
+
var isObject$1 = isObject$c;
|
|
12168
12071
|
var newPromiseCapability = newPromiseCapability$2;
|
|
12169
12072
|
|
|
12170
12073
|
var promiseResolve$1 = function (C, x) {
|
|
12171
12074
|
anObject(C);
|
|
12172
|
-
if (isObject(x) && x.constructor === C) return x;
|
|
12075
|
+
if (isObject$1(x) && x.constructor === C) return x;
|
|
12173
12076
|
var promiseCapability = newPromiseCapability.f(C);
|
|
12174
12077
|
var resolve = promiseCapability.resolve;
|
|
12175
12078
|
resolve(x);
|
|
12176
12079
|
return promiseCapability.promise;
|
|
12177
12080
|
};
|
|
12178
12081
|
|
|
12179
|
-
var
|
|
12082
|
+
var $$1 = _export;
|
|
12180
12083
|
var getBuiltIn = getBuiltIn$7;
|
|
12181
12084
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
12182
12085
|
var promiseResolve = promiseResolve$1;
|
|
@@ -12185,7 +12088,7 @@ getBuiltIn('Promise');
|
|
|
12185
12088
|
|
|
12186
12089
|
// `Promise.resolve` method
|
|
12187
12090
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
12188
|
-
|
|
12091
|
+
$$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
12189
12092
|
resolve: function resolve(x) {
|
|
12190
12093
|
return promiseResolve(this, x);
|
|
12191
12094
|
}
|
|
@@ -13735,6 +13638,106 @@ function modifyModelMapFunction(mapFn, modifyModel, copy = true) {
|
|
|
13735
13638
|
} : mapFn;
|
|
13736
13639
|
}
|
|
13737
13640
|
|
|
13641
|
+
var $TypeError = TypeError;
|
|
13642
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
13643
|
+
|
|
13644
|
+
var doesNotExceedSafeInteger$1 = function (it) {
|
|
13645
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
|
13646
|
+
return it;
|
|
13647
|
+
};
|
|
13648
|
+
|
|
13649
|
+
var isArray$1 = isArray$3;
|
|
13650
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
13651
|
+
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
13652
|
+
var bind = functionBindContext;
|
|
13653
|
+
|
|
13654
|
+
// `FlattenIntoArray` abstract operation
|
|
13655
|
+
// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
|
|
13656
|
+
var flattenIntoArray$1 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
|
13657
|
+
var targetIndex = start;
|
|
13658
|
+
var sourceIndex = 0;
|
|
13659
|
+
var mapFn = mapper ? bind(mapper, thisArg) : false;
|
|
13660
|
+
var element, elementLen;
|
|
13661
|
+
|
|
13662
|
+
while (sourceIndex < sourceLen) {
|
|
13663
|
+
if (sourceIndex in source) {
|
|
13664
|
+
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
13665
|
+
|
|
13666
|
+
if (depth > 0 && isArray$1(element)) {
|
|
13667
|
+
elementLen = lengthOfArrayLike$1(element);
|
|
13668
|
+
targetIndex = flattenIntoArray$1(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
|
13669
|
+
} else {
|
|
13670
|
+
doesNotExceedSafeInteger(targetIndex + 1);
|
|
13671
|
+
target[targetIndex] = element;
|
|
13672
|
+
}
|
|
13673
|
+
|
|
13674
|
+
targetIndex++;
|
|
13675
|
+
}
|
|
13676
|
+
sourceIndex++;
|
|
13677
|
+
}
|
|
13678
|
+
return targetIndex;
|
|
13679
|
+
};
|
|
13680
|
+
|
|
13681
|
+
var flattenIntoArray_1 = flattenIntoArray$1;
|
|
13682
|
+
|
|
13683
|
+
var isArray = isArray$3;
|
|
13684
|
+
var isConstructor = isConstructor$2;
|
|
13685
|
+
var isObject = isObject$c;
|
|
13686
|
+
var wellKnownSymbol = wellKnownSymbol$k;
|
|
13687
|
+
|
|
13688
|
+
var SPECIES = wellKnownSymbol('species');
|
|
13689
|
+
var $Array = Array;
|
|
13690
|
+
|
|
13691
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
13692
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
13693
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
13694
|
+
var C;
|
|
13695
|
+
if (isArray(originalArray)) {
|
|
13696
|
+
C = originalArray.constructor;
|
|
13697
|
+
// cross-realm fallback
|
|
13698
|
+
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
|
|
13699
|
+
else if (isObject(C)) {
|
|
13700
|
+
C = C[SPECIES];
|
|
13701
|
+
if (C === null) C = undefined;
|
|
13702
|
+
}
|
|
13703
|
+
} return C === undefined ? $Array : C;
|
|
13704
|
+
};
|
|
13705
|
+
|
|
13706
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
13707
|
+
|
|
13708
|
+
// `ArraySpeciesCreate` abstract operation
|
|
13709
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
13710
|
+
var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
13711
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
13712
|
+
};
|
|
13713
|
+
|
|
13714
|
+
var $ = _export;
|
|
13715
|
+
var flattenIntoArray = flattenIntoArray_1;
|
|
13716
|
+
var toObject = toObject$7;
|
|
13717
|
+
var lengthOfArrayLike = lengthOfArrayLike$6;
|
|
13718
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$7;
|
|
13719
|
+
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
13720
|
+
|
|
13721
|
+
// `Array.prototype.flat` method
|
|
13722
|
+
// https://tc39.es/ecma262/#sec-array.prototype.flat
|
|
13723
|
+
$({ target: 'Array', proto: true }, {
|
|
13724
|
+
flat: function flat(/* depthArg = 1 */) {
|
|
13725
|
+
var depthArg = arguments.length ? arguments[0] : undefined;
|
|
13726
|
+
var O = toObject(this);
|
|
13727
|
+
var sourceLen = lengthOfArrayLike(O);
|
|
13728
|
+
var A = arraySpeciesCreate(O, 0);
|
|
13729
|
+
A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));
|
|
13730
|
+
return A;
|
|
13731
|
+
}
|
|
13732
|
+
});
|
|
13733
|
+
|
|
13734
|
+
// this method was added to unscopables after implementation
|
|
13735
|
+
// in popular engines, so it's moved to a separate module
|
|
13736
|
+
var addToUnscopables = addToUnscopables$2;
|
|
13737
|
+
|
|
13738
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
13739
|
+
addToUnscopables('flat');
|
|
13740
|
+
|
|
13738
13741
|
// MARK: Loop
|
|
13739
13742
|
|
|
13740
13743
|
async function performTaskLoop(config) {
|