billboard.js 3.9.2 → 3.10.0-next.1
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/README.md +2 -2
- package/dist/billboard.css +2 -2
- package/dist/billboard.js +2705 -2529
- package/dist/billboard.min.css +2 -2
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +3516 -3329
- package/dist/billboard.pkgd.min.js +4 -4
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +15 -15
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +215 -196
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +244 -239
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +184 -164
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +170 -151
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/{billboardjs-plugin-bubblecompare.js → billboardjs-plugin-bubblecompare.pkgd.js} +667 -642
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-sparkline.js → billboardjs-plugin-sparkline.pkgd.js} +864 -820
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-stanford.js → billboardjs-plugin-stanford.pkgd.js} +929 -900
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-tableview.js → billboardjs-plugin-tableview.pkgd.js} +833 -788
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +12 -0
- package/dist/plugin/pkgd/{billboardjs-plugin-textoverlap.js → billboardjs-plugin-textoverlap.pkgd.js} +932 -897
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +12 -0
- package/dist/theme/dark.css +5 -4
- package/dist/theme/dark.min.css +2 -2
- package/dist/theme/datalab.css +5 -4
- package/dist/theme/datalab.min.css +2 -2
- package/dist/theme/graph.css +5 -4
- package/dist/theme/graph.min.css +2 -2
- package/dist/theme/insight.css +5 -4
- package/dist/theme/insight.min.css +2 -2
- package/dist-esm/billboard.js +605 -468
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +3 -3
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +13 -7
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +21 -28
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +17 -11
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +13 -7
- package/package.json +31 -31
- package/src/Chart/api/axis.ts +4 -0
- package/src/Chart/api/category.ts +8 -4
- package/src/Chart/api/export.ts +1 -2
- package/src/Chart/api/subchart.ts +162 -89
- package/src/Chart/api/zoom.ts +69 -79
- package/src/ChartInternal/Axis/AxisRendererHelper.ts +0 -8
- package/src/ChartInternal/data/IData.ts +4 -1
- package/src/ChartInternal/data/convert.helper.ts +1 -15
- package/src/ChartInternal/data/data.ts +8 -2
- package/src/ChartInternal/interactions/eventrect.ts +0 -1
- package/src/ChartInternal/interactions/flow.ts +1 -7
- package/src/ChartInternal/interactions/interaction.ts +10 -4
- package/src/ChartInternal/interactions/subchart.ts +36 -30
- package/src/ChartInternal/interactions/zoom.ts +13 -3
- package/src/ChartInternal/internals/category.ts +2 -2
- package/src/ChartInternal/internals/clip.ts +4 -4
- package/src/ChartInternal/internals/domain.ts +46 -10
- package/src/ChartInternal/internals/grid.ts +57 -86
- package/src/ChartInternal/internals/redraw.ts +0 -5
- package/src/ChartInternal/internals/region.ts +35 -12
- package/src/ChartInternal/internals/text.ts +1 -26
- package/src/ChartInternal/internals/title.ts +10 -48
- package/src/ChartInternal/internals/tooltip.ts +47 -51
- package/src/ChartInternal/shape/arc.ts +16 -6
- package/src/ChartInternal/shape/candlestick.ts +2 -17
- package/src/ChartInternal/shape/shape.ts +50 -4
- package/src/ChartInternal/shape/treemap.ts +2 -2
- package/src/Plugin/bubblecompare/index.ts +1 -1
- package/src/Plugin/stanford/Elements.ts +10 -2
- package/src/Plugin/stanford/index.ts +1 -24
- package/src/Plugin/tableview/index.ts +2 -2
- package/src/config/Options/axis/x.ts +1 -0
- package/src/config/Options/common/main.ts +12 -2
- package/src/config/Options/common/tooltip.ts +10 -10
- package/src/config/Options/data/axis.ts +3 -1
- package/src/config/Options/data/data.ts +10 -2
- package/src/config/Store/State.ts +3 -0
- package/src/module/Cache.ts +7 -5
- package/src/module/browser.ts +34 -14
- package/src/module/util.ts +8 -4
- package/src/module/worker.ts +24 -13
- package/src/scss/billboard.scss +4 -2
- package/src/scss/theme/dark.scss +4 -2
- package/src/scss/theme/datalab.scss +4 -2
- package/src/scss/theme/graph.scss +4 -2
- package/src/scss/theme/insight.scss +4 -2
- package/types/chart.d.ts +11 -0
- package/types/options.d.ts +3 -3
- package/types/types.d.ts +15 -1
package/dist/plugin/pkgd/{billboardjs-plugin-stanford.js → billboardjs-plugin-stanford.pkgd.js}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.
|
|
8
|
+
* @version 3.10.0-next.1
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
else if(typeof exports === 'object')
|
|
18
18
|
exports["bb"] = factory();
|
|
19
19
|
else
|
|
20
|
-
root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["stanford"] = factory();
|
|
20
|
+
root["bb"] = root["bb"] || {}, root["bb"]["plugin"] = root["bb"]["plugin"] || {}, root["bb"]["plugin"]["stanford.pkgd"] = factory();
|
|
21
21
|
})(this, function() {
|
|
22
22
|
return /******/ (function() { // webpackBootstrap
|
|
23
23
|
/******/ var __webpack_modules__ = ([
|
|
@@ -84,29 +84,29 @@ __webpack_require__(203);
|
|
|
84
84
|
__webpack_require__(204);
|
|
85
85
|
__webpack_require__(205);
|
|
86
86
|
__webpack_require__(207);
|
|
87
|
-
__webpack_require__(
|
|
88
|
-
__webpack_require__(
|
|
89
|
-
__webpack_require__(
|
|
90
|
-
__webpack_require__(221);
|
|
87
|
+
__webpack_require__(215);
|
|
88
|
+
__webpack_require__(217);
|
|
89
|
+
__webpack_require__(220);
|
|
91
90
|
__webpack_require__(222);
|
|
92
91
|
__webpack_require__(223);
|
|
93
92
|
__webpack_require__(224);
|
|
94
93
|
__webpack_require__(225);
|
|
95
|
-
__webpack_require__(
|
|
94
|
+
__webpack_require__(226);
|
|
96
95
|
__webpack_require__(230);
|
|
97
|
-
__webpack_require__(
|
|
96
|
+
__webpack_require__(231);
|
|
98
97
|
__webpack_require__(233);
|
|
99
98
|
__webpack_require__(234);
|
|
100
|
-
__webpack_require__(
|
|
99
|
+
__webpack_require__(235);
|
|
101
100
|
__webpack_require__(237);
|
|
102
101
|
__webpack_require__(238);
|
|
103
|
-
__webpack_require__(95);
|
|
104
102
|
__webpack_require__(239);
|
|
103
|
+
__webpack_require__(95);
|
|
105
104
|
__webpack_require__(240);
|
|
106
|
-
__webpack_require__(
|
|
107
|
-
__webpack_require__(
|
|
105
|
+
__webpack_require__(241);
|
|
106
|
+
__webpack_require__(249);
|
|
108
107
|
__webpack_require__(251);
|
|
109
108
|
__webpack_require__(252);
|
|
109
|
+
__webpack_require__(253);
|
|
110
110
|
__webpack_require__(254);
|
|
111
111
|
__webpack_require__(255);
|
|
112
112
|
__webpack_require__(257);
|
|
@@ -378,7 +378,7 @@ var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChil
|
|
|
378
378
|
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
|
|
379
379
|
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
|
|
380
380
|
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
|
|
381
|
-
})).a
|
|
381
|
+
})).a !== 7;
|
|
382
382
|
}) ? function (O, P, Attributes) {
|
|
383
383
|
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
|
|
384
384
|
if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
|
|
@@ -634,7 +634,7 @@ module.exports = function (options, source) {
|
|
|
634
634
|
"use strict";
|
|
635
635
|
|
|
636
636
|
var check = function (it) {
|
|
637
|
-
return it && it.Math
|
|
637
|
+
return it && it.Math === Math && it;
|
|
638
638
|
};
|
|
639
639
|
|
|
640
640
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
@@ -690,7 +690,7 @@ var fails = __webpack_require__(7);
|
|
|
690
690
|
// Detect IE8's incomplete defineProperty implementation
|
|
691
691
|
module.exports = !fails(function () {
|
|
692
692
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
693
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
693
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
|
|
@@ -811,7 +811,7 @@ module.exports = fails(function () {
|
|
|
811
811
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
812
812
|
return !$Object('z').propertyIsEnumerable(0);
|
|
813
813
|
}) ? function (it) {
|
|
814
|
-
return classof(it)
|
|
814
|
+
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
|
815
815
|
} : $Object;
|
|
816
816
|
|
|
817
817
|
|
|
@@ -1065,7 +1065,7 @@ var $String = global.String;
|
|
|
1065
1065
|
|
|
1066
1066
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1067
1067
|
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
1068
|
-
var symbol = Symbol();
|
|
1068
|
+
var symbol = Symbol('symbol detection');
|
|
1069
1069
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1070
1070
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
1071
1071
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
@@ -1233,10 +1233,10 @@ var store = __webpack_require__(37);
|
|
|
1233
1233
|
(module.exports = function (key, value) {
|
|
1234
1234
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1235
1235
|
})('versions', []).push({
|
|
1236
|
-
version: '3.32.
|
|
1236
|
+
version: '3.32.1',
|
|
1237
1237
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1238
1238
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
1239
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.32.
|
|
1239
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE',
|
|
1240
1240
|
source: 'https://github.com/zloirock/core-js'
|
|
1241
1241
|
});
|
|
1242
1242
|
|
|
@@ -1353,7 +1353,7 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
1353
1353
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1354
1354
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1355
1355
|
get: function () { return 7; }
|
|
1356
|
-
}).a
|
|
1356
|
+
}).a !== 7;
|
|
1357
1357
|
});
|
|
1358
1358
|
|
|
1359
1359
|
|
|
@@ -1460,7 +1460,7 @@ module.exports = DESCRIPTORS && fails(function () {
|
|
|
1460
1460
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1461
1461
|
value: 42,
|
|
1462
1462
|
writable: false
|
|
1463
|
-
}).prototype
|
|
1463
|
+
}).prototype !== 42;
|
|
1464
1464
|
});
|
|
1465
1465
|
|
|
1466
1466
|
|
|
@@ -1855,10 +1855,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
1855
1855
|
var value;
|
|
1856
1856
|
// Array#includes uses SameValueZero equality algorithm
|
|
1857
1857
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1858
|
-
if (IS_INCLUDES && el
|
|
1858
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
1859
1859
|
value = O[index++];
|
|
1860
1860
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1861
|
-
if (value
|
|
1861
|
+
if (value !== value) return true;
|
|
1862
1862
|
// Array#indexOf ignores holes, Array#includes - not
|
|
1863
1863
|
} else for (;length > index; index++) {
|
|
1864
1864
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -2004,8 +2004,8 @@ var replacement = /#|\.prototype\./;
|
|
|
2004
2004
|
|
|
2005
2005
|
var isForced = function (feature, detection) {
|
|
2006
2006
|
var value = data[normalize(feature)];
|
|
2007
|
-
return value
|
|
2008
|
-
: value
|
|
2007
|
+
return value === POLYFILL ? true
|
|
2008
|
+
: value === NATIVE ? false
|
|
2009
2009
|
: isCallable(detection) ? fails(detection)
|
|
2010
2010
|
: !!detection;
|
|
2011
2011
|
};
|
|
@@ -2052,7 +2052,7 @@ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
|
2052
2052
|
var $Object = Object;
|
|
2053
2053
|
|
|
2054
2054
|
// ES3 wrong here
|
|
2055
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
2055
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
2056
2056
|
|
|
2057
2057
|
// fallback for IE11 Script Access Denied error
|
|
2058
2058
|
var tryGet = function (it, key) {
|
|
@@ -2070,7 +2070,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
2070
2070
|
// builtinTag case
|
|
2071
2071
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2072
2072
|
// ES3 arguments fallback
|
|
2073
|
-
: (result = classofRaw(O))
|
|
2073
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
2074
2074
|
};
|
|
2075
2075
|
|
|
2076
2076
|
|
|
@@ -2262,7 +2262,7 @@ var getWindowNames = function (it) {
|
|
|
2262
2262
|
|
|
2263
2263
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
2264
2264
|
module.exports.f = function getOwnPropertyNames(it) {
|
|
2265
|
-
return windowNames && classof(it)
|
|
2265
|
+
return windowNames && classof(it) === 'Window'
|
|
2266
2266
|
? getWindowNames(it)
|
|
2267
2267
|
: $getOwnPropertyNames(toIndexedObject(it));
|
|
2268
2268
|
};
|
|
@@ -2286,7 +2286,8 @@ module.exports = function (O, start, end) {
|
|
|
2286
2286
|
var k = toAbsoluteIndex(start, length);
|
|
2287
2287
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
2288
2288
|
var result = $Array(max(fin - k, 0));
|
|
2289
|
-
|
|
2289
|
+
var n = 0;
|
|
2290
|
+
for (; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
2290
2291
|
result.length = n;
|
|
2291
2292
|
return result;
|
|
2292
2293
|
};
|
|
@@ -2431,13 +2432,13 @@ var push = uncurryThis([].push);
|
|
|
2431
2432
|
|
|
2432
2433
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2433
2434
|
var createMethod = function (TYPE) {
|
|
2434
|
-
var IS_MAP = TYPE
|
|
2435
|
-
var IS_FILTER = TYPE
|
|
2436
|
-
var IS_SOME = TYPE
|
|
2437
|
-
var IS_EVERY = TYPE
|
|
2438
|
-
var IS_FIND_INDEX = TYPE
|
|
2439
|
-
var IS_FILTER_REJECT = TYPE
|
|
2440
|
-
var NO_HOLES = TYPE
|
|
2435
|
+
var IS_MAP = TYPE === 1;
|
|
2436
|
+
var IS_FILTER = TYPE === 2;
|
|
2437
|
+
var IS_SOME = TYPE === 3;
|
|
2438
|
+
var IS_EVERY = TYPE === 4;
|
|
2439
|
+
var IS_FIND_INDEX = TYPE === 6;
|
|
2440
|
+
var IS_FILTER_REJECT = TYPE === 7;
|
|
2441
|
+
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
|
|
2441
2442
|
return function ($this, callbackfn, that, specificCreate) {
|
|
2442
2443
|
var O = toObject($this);
|
|
2443
2444
|
var self = IndexedObject(O);
|
|
@@ -2590,7 +2591,7 @@ var classof = __webpack_require__(15);
|
|
|
2590
2591
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2591
2592
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2592
2593
|
module.exports = Array.isArray || function isArray(argument) {
|
|
2593
|
-
return classof(argument)
|
|
2594
|
+
return classof(argument) === 'Array';
|
|
2594
2595
|
};
|
|
2595
2596
|
|
|
2596
2597
|
|
|
@@ -2752,13 +2753,13 @@ var low = /^[\uD800-\uDBFF]$/;
|
|
|
2752
2753
|
var hi = /^[\uDC00-\uDFFF]$/;
|
|
2753
2754
|
|
|
2754
2755
|
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
|
|
2755
|
-
var symbol = getBuiltIn('Symbol')();
|
|
2756
|
+
var symbol = getBuiltIn('Symbol')('stringify detection');
|
|
2756
2757
|
// MS Edge converts symbol values to JSON as {}
|
|
2757
|
-
return $stringify([symbol])
|
|
2758
|
+
return $stringify([symbol]) !== '[null]'
|
|
2758
2759
|
// WebKit converts symbol values to JSON as null
|
|
2759
|
-
|| $stringify({ a: symbol })
|
|
2760
|
+
|| $stringify({ a: symbol }) !== '{}'
|
|
2760
2761
|
// V8 throws on boxed symbols
|
|
2761
|
-
|| $stringify(Object(symbol))
|
|
2762
|
+
|| $stringify(Object(symbol)) !== '{}';
|
|
2762
2763
|
});
|
|
2763
2764
|
|
|
2764
2765
|
// https://github.com/tc39/proposal-well-formed-stringify
|
|
@@ -2852,7 +2853,7 @@ module.exports = function (replacer) {
|
|
|
2852
2853
|
for (var i = 0; i < rawLength; i++) {
|
|
2853
2854
|
var element = replacer[i];
|
|
2854
2855
|
if (typeof element == 'string') push(keys, element);
|
|
2855
|
-
else if (typeof element == 'number' || classof(element)
|
|
2856
|
+
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));
|
|
2856
2857
|
}
|
|
2857
2858
|
var keysLength = keys.length;
|
|
2858
2859
|
var root = true;
|
|
@@ -2935,7 +2936,7 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
|
|
|
2935
2936
|
SymbolWrapper.prototype = SymbolPrototype;
|
|
2936
2937
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
2937
2938
|
|
|
2938
|
-
var NATIVE_SYMBOL = String(NativeSymbol('
|
|
2939
|
+
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
2939
2940
|
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
|
2940
2941
|
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
|
2941
2942
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
@@ -3895,7 +3896,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
3895
3896
|
|
|
3896
3897
|
// Array.prototype[@@unscopables]
|
|
3897
3898
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3898
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
3899
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
3899
3900
|
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
3900
3901
|
configurable: true,
|
|
3901
3902
|
value: create(null)
|
|
@@ -4284,7 +4285,7 @@ var lengthOfArrayLike = __webpack_require__(64);
|
|
|
4284
4285
|
|
|
4285
4286
|
// `Array.prototype.{ findLast, findLastIndex }` methods implementation
|
|
4286
4287
|
var createMethod = function (TYPE) {
|
|
4287
|
-
var IS_FIND_LAST_INDEX = TYPE
|
|
4288
|
+
var IS_FIND_LAST_INDEX = TYPE === 1;
|
|
4288
4289
|
return function ($this, callbackfn, that) {
|
|
4289
4290
|
var O = toObject($this);
|
|
4290
4291
|
var self = IndexedObject(O);
|
|
@@ -4442,7 +4443,7 @@ var forEach = __webpack_require__(161);
|
|
|
4442
4443
|
// `Array.prototype.forEach` method
|
|
4443
4444
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
4444
4445
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
4445
|
-
$({ target: 'Array', proto: true, forced: [].forEach
|
|
4446
|
+
$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {
|
|
4446
4447
|
forEach: forEach
|
|
4447
4448
|
});
|
|
4448
4449
|
|
|
@@ -4729,9 +4730,10 @@ module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
|
4729
4730
|
state.target = undefined;
|
|
4730
4731
|
return createIterResultObject(undefined, true);
|
|
4731
4732
|
}
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4733
|
+
switch (kind) {
|
|
4734
|
+
case 'keys': return createIterResultObject(index, false);
|
|
4735
|
+
case 'values': return createIterResultObject(target[index], false);
|
|
4736
|
+
} return createIterResultObject([index, target[index]], false);
|
|
4735
4737
|
}, 'values');
|
|
4736
4738
|
|
|
4737
4739
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -4802,7 +4804,7 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
4802
4804
|
|| IterablePrototype['@@iterator']
|
|
4803
4805
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
4804
4806
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
4805
|
-
var anyNativeIterator = NAME
|
|
4807
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
4806
4808
|
var CurrentIteratorPrototype, methods, KEY;
|
|
4807
4809
|
|
|
4808
4810
|
// fix native
|
|
@@ -4823,7 +4825,7 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
4823
4825
|
}
|
|
4824
4826
|
|
|
4825
4827
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
4826
|
-
if (PROPER_FUNCTION_NAME && DEFAULT
|
|
4828
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
4827
4829
|
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
|
|
4828
4830
|
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
|
|
4829
4831
|
} else {
|
|
@@ -4962,7 +4964,7 @@ var arrayMethodIsStrict = __webpack_require__(148);
|
|
|
4962
4964
|
|
|
4963
4965
|
var nativeJoin = uncurryThis([].join);
|
|
4964
4966
|
|
|
4965
|
-
var ES3_STRINGS = IndexedObject
|
|
4967
|
+
var ES3_STRINGS = IndexedObject !== Object;
|
|
4966
4968
|
var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
|
|
4967
4969
|
|
|
4968
4970
|
// `Array.prototype.join` method
|
|
@@ -5247,9 +5249,10 @@ module.exports = {
|
|
|
5247
5249
|
|
|
5248
5250
|
"use strict";
|
|
5249
5251
|
|
|
5252
|
+
var global = __webpack_require__(4);
|
|
5250
5253
|
var classof = __webpack_require__(15);
|
|
5251
5254
|
|
|
5252
|
-
module.exports =
|
|
5255
|
+
module.exports = classof(global.process) === 'process';
|
|
5253
5256
|
|
|
5254
5257
|
|
|
5255
5258
|
/***/ }),
|
|
@@ -6219,7 +6222,7 @@ if (!NATIVE_ARRAY_BUFFER) {
|
|
|
6219
6222
|
new NativeArrayBuffer();
|
|
6220
6223
|
new NativeArrayBuffer(1.5);
|
|
6221
6224
|
new NativeArrayBuffer(NaN);
|
|
6222
|
-
return NativeArrayBuffer.length
|
|
6225
|
+
return NativeArrayBuffer.length !== 1 || INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;
|
|
6223
6226
|
})) {
|
|
6224
6227
|
/* eslint-enable no-new -- required for testing */
|
|
6225
6228
|
$ArrayBuffer = function ArrayBuffer(length) {
|
|
@@ -6333,11 +6336,14 @@ module.exports = function (it) {
|
|
|
6333
6336
|
|
|
6334
6337
|
/***/ }),
|
|
6335
6338
|
/* 213 */
|
|
6336
|
-
/***/ (function(module) {
|
|
6339
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6337
6340
|
|
|
6338
6341
|
"use strict";
|
|
6339
6342
|
|
|
6340
6343
|
// IEEE754 conversions based on https://github.com/feross/ieee754
|
|
6344
|
+
var sign = __webpack_require__(214);
|
|
6345
|
+
var trunc = __webpack_require__(63);
|
|
6346
|
+
|
|
6341
6347
|
var $Array = Array;
|
|
6342
6348
|
var abs = Math.abs;
|
|
6343
6349
|
var pow = Math.pow;
|
|
@@ -6345,20 +6351,28 @@ var floor = Math.floor;
|
|
|
6345
6351
|
var log = Math.log;
|
|
6346
6352
|
var LN2 = Math.LN2;
|
|
6347
6353
|
|
|
6354
|
+
var roundToEven = function (number) {
|
|
6355
|
+
var truncated = trunc(number);
|
|
6356
|
+
var delta = abs(number - truncated);
|
|
6357
|
+
if (delta > 0.5 || delta === 0.5 && truncated % 2 !== 0) {
|
|
6358
|
+
return truncated + sign(number);
|
|
6359
|
+
} return truncated;
|
|
6360
|
+
};
|
|
6361
|
+
|
|
6348
6362
|
var pack = function (number, mantissaLength, bytes) {
|
|
6349
6363
|
var buffer = $Array(bytes);
|
|
6350
6364
|
var exponentLength = bytes * 8 - mantissaLength - 1;
|
|
6351
6365
|
var eMax = (1 << exponentLength) - 1;
|
|
6352
6366
|
var eBias = eMax >> 1;
|
|
6353
6367
|
var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;
|
|
6354
|
-
var
|
|
6368
|
+
var s = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
|
|
6355
6369
|
var index = 0;
|
|
6356
6370
|
var exponent, mantissa, c;
|
|
6357
6371
|
number = abs(number);
|
|
6358
6372
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6359
|
-
if (number
|
|
6373
|
+
if (number !== number || number === Infinity) {
|
|
6360
6374
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6361
|
-
mantissa = number
|
|
6375
|
+
mantissa = number !== number ? 1 : 0;
|
|
6362
6376
|
exponent = eMax;
|
|
6363
6377
|
} else {
|
|
6364
6378
|
exponent = floor(log(number) / LN2);
|
|
@@ -6380,10 +6394,10 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6380
6394
|
mantissa = 0;
|
|
6381
6395
|
exponent = eMax;
|
|
6382
6396
|
} else if (exponent + eBias >= 1) {
|
|
6383
|
-
mantissa = (number * c - 1) * pow(2, mantissaLength);
|
|
6397
|
+
mantissa = roundToEven((number * c - 1) * pow(2, mantissaLength));
|
|
6384
6398
|
exponent = exponent + eBias;
|
|
6385
6399
|
} else {
|
|
6386
|
-
mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);
|
|
6400
|
+
mantissa = roundToEven(number * pow(2, eBias - 1) * pow(2, mantissaLength));
|
|
6387
6401
|
exponent = 0;
|
|
6388
6402
|
}
|
|
6389
6403
|
}
|
|
@@ -6399,7 +6413,7 @@ var pack = function (number, mantissaLength, bytes) {
|
|
|
6399
6413
|
exponent /= 256;
|
|
6400
6414
|
exponentLength -= 8;
|
|
6401
6415
|
}
|
|
6402
|
-
buffer[--index] |=
|
|
6416
|
+
buffer[--index] |= s * 128;
|
|
6403
6417
|
return buffer;
|
|
6404
6418
|
};
|
|
6405
6419
|
|
|
@@ -6410,10 +6424,10 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6410
6424
|
var eBias = eMax >> 1;
|
|
6411
6425
|
var nBits = exponentLength - 7;
|
|
6412
6426
|
var index = bytes - 1;
|
|
6413
|
-
var
|
|
6414
|
-
var exponent =
|
|
6427
|
+
var s = buffer[index--];
|
|
6428
|
+
var exponent = s & 127;
|
|
6415
6429
|
var mantissa;
|
|
6416
|
-
|
|
6430
|
+
s >>= 7;
|
|
6417
6431
|
while (nBits > 0) {
|
|
6418
6432
|
exponent = exponent * 256 + buffer[index--];
|
|
6419
6433
|
nBits -= 8;
|
|
@@ -6428,11 +6442,11 @@ var unpack = function (buffer, mantissaLength) {
|
|
|
6428
6442
|
if (exponent === 0) {
|
|
6429
6443
|
exponent = 1 - eBias;
|
|
6430
6444
|
} else if (exponent === eMax) {
|
|
6431
|
-
return mantissa ? NaN :
|
|
6445
|
+
return mantissa ? NaN : s ? -Infinity : Infinity;
|
|
6432
6446
|
} else {
|
|
6433
6447
|
mantissa = mantissa + pow(2, mantissaLength);
|
|
6434
6448
|
exponent = exponent - eBias;
|
|
6435
|
-
} return (
|
|
6449
|
+
} return (s ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
|
|
6436
6450
|
};
|
|
6437
6451
|
|
|
6438
6452
|
module.exports = {
|
|
@@ -6443,12 +6457,28 @@ module.exports = {
|
|
|
6443
6457
|
|
|
6444
6458
|
/***/ }),
|
|
6445
6459
|
/* 214 */
|
|
6460
|
+
/***/ (function(module) {
|
|
6461
|
+
|
|
6462
|
+
"use strict";
|
|
6463
|
+
|
|
6464
|
+
// `Math.sign` method implementation
|
|
6465
|
+
// https://tc39.es/ecma262/#sec-math.sign
|
|
6466
|
+
// eslint-disable-next-line es/no-math-sign -- safe
|
|
6467
|
+
module.exports = Math.sign || function sign(x) {
|
|
6468
|
+
var n = +x;
|
|
6469
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6470
|
+
return n === 0 || n !== n ? n : n < 0 ? -1 : 1;
|
|
6471
|
+
};
|
|
6472
|
+
|
|
6473
|
+
|
|
6474
|
+
/***/ }),
|
|
6475
|
+
/* 215 */
|
|
6446
6476
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6447
6477
|
|
|
6448
6478
|
"use strict";
|
|
6449
6479
|
|
|
6450
6480
|
var $ = __webpack_require__(3);
|
|
6451
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
6481
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
6452
6482
|
|
|
6453
6483
|
var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
|
|
6454
6484
|
|
|
@@ -6460,7 +6490,7 @@ $({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
|
|
|
6460
6490
|
|
|
6461
6491
|
|
|
6462
6492
|
/***/ }),
|
|
6463
|
-
/*
|
|
6493
|
+
/* 216 */
|
|
6464
6494
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6465
6495
|
|
|
6466
6496
|
"use strict";
|
|
@@ -6660,7 +6690,7 @@ module.exports = {
|
|
|
6660
6690
|
|
|
6661
6691
|
|
|
6662
6692
|
/***/ }),
|
|
6663
|
-
/*
|
|
6693
|
+
/* 217 */
|
|
6664
6694
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6665
6695
|
|
|
6666
6696
|
"use strict";
|
|
@@ -6672,7 +6702,7 @@ var ArrayBufferModule = __webpack_require__(208);
|
|
|
6672
6702
|
var anObject = __webpack_require__(47);
|
|
6673
6703
|
var toAbsoluteIndex = __webpack_require__(61);
|
|
6674
6704
|
var toLength = __webpack_require__(65);
|
|
6675
|
-
var speciesConstructor = __webpack_require__(
|
|
6705
|
+
var speciesConstructor = __webpack_require__(218);
|
|
6676
6706
|
|
|
6677
6707
|
var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
|
|
6678
6708
|
var DataView = ArrayBufferModule.DataView;
|
|
@@ -6707,13 +6737,13 @@ $({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE },
|
|
|
6707
6737
|
|
|
6708
6738
|
|
|
6709
6739
|
/***/ }),
|
|
6710
|
-
/*
|
|
6740
|
+
/* 218 */
|
|
6711
6741
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6712
6742
|
|
|
6713
6743
|
"use strict";
|
|
6714
6744
|
|
|
6715
6745
|
var anObject = __webpack_require__(47);
|
|
6716
|
-
var aConstructor = __webpack_require__(
|
|
6746
|
+
var aConstructor = __webpack_require__(219);
|
|
6717
6747
|
var isNullOrUndefined = __webpack_require__(17);
|
|
6718
6748
|
var wellKnownSymbol = __webpack_require__(34);
|
|
6719
6749
|
|
|
@@ -6729,7 +6759,7 @@ module.exports = function (O, defaultConstructor) {
|
|
|
6729
6759
|
|
|
6730
6760
|
|
|
6731
6761
|
/***/ }),
|
|
6732
|
-
/*
|
|
6762
|
+
/* 219 */
|
|
6733
6763
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6734
6764
|
|
|
6735
6765
|
"use strict";
|
|
@@ -6747,17 +6777,17 @@ module.exports = function (argument) {
|
|
|
6747
6777
|
|
|
6748
6778
|
|
|
6749
6779
|
/***/ }),
|
|
6750
|
-
/*
|
|
6780
|
+
/* 220 */
|
|
6751
6781
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6752
6782
|
|
|
6753
6783
|
"use strict";
|
|
6754
6784
|
|
|
6755
6785
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
6756
|
-
__webpack_require__(
|
|
6786
|
+
__webpack_require__(221);
|
|
6757
6787
|
|
|
6758
6788
|
|
|
6759
6789
|
/***/ }),
|
|
6760
|
-
/*
|
|
6790
|
+
/* 221 */
|
|
6761
6791
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6762
6792
|
|
|
6763
6793
|
"use strict";
|
|
@@ -6774,7 +6804,7 @@ $({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, {
|
|
|
6774
6804
|
|
|
6775
6805
|
|
|
6776
6806
|
/***/ }),
|
|
6777
|
-
/*
|
|
6807
|
+
/* 222 */
|
|
6778
6808
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6779
6809
|
|
|
6780
6810
|
"use strict";
|
|
@@ -6801,7 +6831,7 @@ $({ target: 'Date', proto: true, forced: FORCED }, {
|
|
|
6801
6831
|
|
|
6802
6832
|
|
|
6803
6833
|
/***/ }),
|
|
6804
|
-
/*
|
|
6834
|
+
/* 223 */
|
|
6805
6835
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6806
6836
|
|
|
6807
6837
|
"use strict";
|
|
@@ -6823,7 +6853,7 @@ $({ target: 'Date', stat: true }, {
|
|
|
6823
6853
|
|
|
6824
6854
|
|
|
6825
6855
|
/***/ }),
|
|
6826
|
-
/*
|
|
6856
|
+
/* 224 */
|
|
6827
6857
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6828
6858
|
|
|
6829
6859
|
"use strict";
|
|
@@ -6843,14 +6873,14 @@ $({ target: 'Date', proto: true }, {
|
|
|
6843
6873
|
// validate
|
|
6844
6874
|
thisTimeValue(this);
|
|
6845
6875
|
var yi = toIntegerOrInfinity(year);
|
|
6846
|
-
var yyyy =
|
|
6876
|
+
var yyyy = yi >= 0 && yi <= 99 ? yi + 1900 : yi;
|
|
6847
6877
|
return setFullYear(this, yyyy);
|
|
6848
6878
|
}
|
|
6849
6879
|
});
|
|
6850
6880
|
|
|
6851
6881
|
|
|
6852
6882
|
/***/ }),
|
|
6853
|
-
/*
|
|
6883
|
+
/* 225 */
|
|
6854
6884
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6855
6885
|
|
|
6856
6886
|
"use strict";
|
|
@@ -6865,13 +6895,13 @@ $({ target: 'Date', proto: true }, {
|
|
|
6865
6895
|
|
|
6866
6896
|
|
|
6867
6897
|
/***/ }),
|
|
6868
|
-
/*
|
|
6898
|
+
/* 226 */
|
|
6869
6899
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
6870
6900
|
|
|
6871
6901
|
"use strict";
|
|
6872
6902
|
|
|
6873
6903
|
var $ = __webpack_require__(3);
|
|
6874
|
-
var toISOString = __webpack_require__(
|
|
6904
|
+
var toISOString = __webpack_require__(227);
|
|
6875
6905
|
|
|
6876
6906
|
// `Date.prototype.toISOString` method
|
|
6877
6907
|
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
|
|
@@ -6882,14 +6912,14 @@ $({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOStr
|
|
|
6882
6912
|
|
|
6883
6913
|
|
|
6884
6914
|
/***/ }),
|
|
6885
|
-
/*
|
|
6915
|
+
/* 227 */
|
|
6886
6916
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6887
6917
|
|
|
6888
6918
|
"use strict";
|
|
6889
6919
|
|
|
6890
6920
|
var uncurryThis = __webpack_require__(14);
|
|
6891
6921
|
var fails = __webpack_require__(7);
|
|
6892
|
-
var padStart = (__webpack_require__(
|
|
6922
|
+
var padStart = (__webpack_require__(228).start);
|
|
6893
6923
|
|
|
6894
6924
|
var $RangeError = RangeError;
|
|
6895
6925
|
var $isFinite = isFinite;
|
|
@@ -6909,7 +6939,7 @@ var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);
|
|
|
6909
6939
|
// https://tc39.es/ecma262/#sec-date.prototype.toisostring
|
|
6910
6940
|
// PhantomJS / old WebKit fails here:
|
|
6911
6941
|
module.exports = (fails(function () {
|
|
6912
|
-
return nativeDateToISOString.call(new Date(-5e13 - 1))
|
|
6942
|
+
return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z';
|
|
6913
6943
|
}) || !fails(function () {
|
|
6914
6944
|
nativeDateToISOString.call(new Date(NaN));
|
|
6915
6945
|
})) ? function toISOString() {
|
|
@@ -6930,7 +6960,7 @@ module.exports = (fails(function () {
|
|
|
6930
6960
|
|
|
6931
6961
|
|
|
6932
6962
|
/***/ }),
|
|
6933
|
-
/*
|
|
6963
|
+
/* 228 */
|
|
6934
6964
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6935
6965
|
|
|
6936
6966
|
"use strict";
|
|
@@ -6939,7 +6969,7 @@ module.exports = (fails(function () {
|
|
|
6939
6969
|
var uncurryThis = __webpack_require__(14);
|
|
6940
6970
|
var toLength = __webpack_require__(65);
|
|
6941
6971
|
var toString = __webpack_require__(69);
|
|
6942
|
-
var $repeat = __webpack_require__(
|
|
6972
|
+
var $repeat = __webpack_require__(229);
|
|
6943
6973
|
var requireObjectCoercible = __webpack_require__(16);
|
|
6944
6974
|
|
|
6945
6975
|
var repeat = uncurryThis($repeat);
|
|
@@ -6954,7 +6984,7 @@ var createMethod = function (IS_END) {
|
|
|
6954
6984
|
var stringLength = S.length;
|
|
6955
6985
|
var fillStr = fillString === undefined ? ' ' : toString(fillString);
|
|
6956
6986
|
var fillLen, stringFiller;
|
|
6957
|
-
if (intMaxLength <= stringLength || fillStr
|
|
6987
|
+
if (intMaxLength <= stringLength || fillStr === '') return S;
|
|
6958
6988
|
fillLen = intMaxLength - stringLength;
|
|
6959
6989
|
stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));
|
|
6960
6990
|
if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);
|
|
@@ -6973,7 +7003,7 @@ module.exports = {
|
|
|
6973
7003
|
|
|
6974
7004
|
|
|
6975
7005
|
/***/ }),
|
|
6976
|
-
/*
|
|
7006
|
+
/* 229 */
|
|
6977
7007
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6978
7008
|
|
|
6979
7009
|
"use strict";
|
|
@@ -6990,14 +7020,14 @@ module.exports = function repeat(count) {
|
|
|
6990
7020
|
var str = toString(requireObjectCoercible(this));
|
|
6991
7021
|
var result = '';
|
|
6992
7022
|
var n = toIntegerOrInfinity(count);
|
|
6993
|
-
if (n < 0 || n
|
|
7023
|
+
if (n < 0 || n === Infinity) throw $RangeError('Wrong number of repetitions');
|
|
6994
7024
|
for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
|
|
6995
7025
|
return result;
|
|
6996
7026
|
};
|
|
6997
7027
|
|
|
6998
7028
|
|
|
6999
7029
|
/***/ }),
|
|
7000
|
-
/*
|
|
7030
|
+
/* 230 */
|
|
7001
7031
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7002
7032
|
|
|
7003
7033
|
"use strict";
|
|
@@ -7025,14 +7055,14 @@ $({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {
|
|
|
7025
7055
|
|
|
7026
7056
|
|
|
7027
7057
|
/***/ }),
|
|
7028
|
-
/*
|
|
7058
|
+
/* 231 */
|
|
7029
7059
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7030
7060
|
|
|
7031
7061
|
"use strict";
|
|
7032
7062
|
|
|
7033
7063
|
var hasOwn = __webpack_require__(39);
|
|
7034
7064
|
var defineBuiltIn = __webpack_require__(48);
|
|
7035
|
-
var dateToPrimitive = __webpack_require__(
|
|
7065
|
+
var dateToPrimitive = __webpack_require__(232);
|
|
7036
7066
|
var wellKnownSymbol = __webpack_require__(34);
|
|
7037
7067
|
|
|
7038
7068
|
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
@@ -7046,7 +7076,7 @@ if (!hasOwn(DatePrototype, TO_PRIMITIVE)) {
|
|
|
7046
7076
|
|
|
7047
7077
|
|
|
7048
7078
|
/***/ }),
|
|
7049
|
-
/*
|
|
7079
|
+
/* 232 */
|
|
7050
7080
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7051
7081
|
|
|
7052
7082
|
"use strict";
|
|
@@ -7067,7 +7097,7 @@ module.exports = function (hint) {
|
|
|
7067
7097
|
|
|
7068
7098
|
|
|
7069
7099
|
/***/ }),
|
|
7070
|
-
/*
|
|
7100
|
+
/* 233 */
|
|
7071
7101
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7072
7102
|
|
|
7073
7103
|
"use strict";
|
|
@@ -7084,7 +7114,7 @@ var thisTimeValue = uncurryThis(DatePrototype.getTime);
|
|
|
7084
7114
|
|
|
7085
7115
|
// `Date.prototype.toString` method
|
|
7086
7116
|
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
7087
|
-
if (String(new Date(NaN))
|
|
7117
|
+
if (String(new Date(NaN)) !== INVALID_DATE) {
|
|
7088
7118
|
defineBuiltIn(DatePrototype, TO_STRING, function toString() {
|
|
7089
7119
|
var value = thisTimeValue(this);
|
|
7090
7120
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -7094,7 +7124,7 @@ if (String(new Date(NaN)) != INVALID_DATE) {
|
|
|
7094
7124
|
|
|
7095
7125
|
|
|
7096
7126
|
/***/ }),
|
|
7097
|
-
/*
|
|
7127
|
+
/* 234 */
|
|
7098
7128
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7099
7129
|
|
|
7100
7130
|
"use strict";
|
|
@@ -7144,14 +7174,14 @@ $({ global: true }, {
|
|
|
7144
7174
|
|
|
7145
7175
|
|
|
7146
7176
|
/***/ }),
|
|
7147
|
-
/*
|
|
7177
|
+
/* 235 */
|
|
7148
7178
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7149
7179
|
|
|
7150
7180
|
"use strict";
|
|
7151
7181
|
|
|
7152
7182
|
// TODO: Remove from `core-js@4`
|
|
7153
7183
|
var $ = __webpack_require__(3);
|
|
7154
|
-
var bind = __webpack_require__(
|
|
7184
|
+
var bind = __webpack_require__(236);
|
|
7155
7185
|
|
|
7156
7186
|
// `Function.prototype.bind` method
|
|
7157
7187
|
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
@@ -7162,7 +7192,7 @@ $({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
|
|
|
7162
7192
|
|
|
7163
7193
|
|
|
7164
7194
|
/***/ }),
|
|
7165
|
-
/*
|
|
7195
|
+
/* 236 */
|
|
7166
7196
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7167
7197
|
|
|
7168
7198
|
"use strict";
|
|
@@ -7181,7 +7211,9 @@ var factories = {};
|
|
|
7181
7211
|
|
|
7182
7212
|
var construct = function (C, argsLength, args) {
|
|
7183
7213
|
if (!hasOwn(factories, argsLength)) {
|
|
7184
|
-
|
|
7214
|
+
var list = [];
|
|
7215
|
+
var i = 0;
|
|
7216
|
+
for (; i < argsLength; i++) list[i] = 'a[' + i + ']';
|
|
7185
7217
|
factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');
|
|
7186
7218
|
} return factories[argsLength](C, args);
|
|
7187
7219
|
};
|
|
@@ -7203,7 +7235,7 @@ module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args
|
|
|
7203
7235
|
|
|
7204
7236
|
|
|
7205
7237
|
/***/ }),
|
|
7206
|
-
/*
|
|
7238
|
+
/* 237 */
|
|
7207
7239
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7208
7240
|
|
|
7209
7241
|
"use strict";
|
|
@@ -7233,7 +7265,7 @@ if (!(HAS_INSTANCE in FunctionPrototype)) {
|
|
|
7233
7265
|
|
|
7234
7266
|
|
|
7235
7267
|
/***/ }),
|
|
7236
|
-
/*
|
|
7268
|
+
/* 238 */
|
|
7237
7269
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7238
7270
|
|
|
7239
7271
|
"use strict";
|
|
@@ -7266,7 +7298,7 @@ if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
|
7266
7298
|
|
|
7267
7299
|
|
|
7268
7300
|
/***/ }),
|
|
7269
|
-
/*
|
|
7301
|
+
/* 239 */
|
|
7270
7302
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7271
7303
|
|
|
7272
7304
|
"use strict";
|
|
@@ -7282,7 +7314,7 @@ $({ global: true, forced: global.globalThis !== global }, {
|
|
|
7282
7314
|
|
|
7283
7315
|
|
|
7284
7316
|
/***/ }),
|
|
7285
|
-
/*
|
|
7317
|
+
/* 240 */
|
|
7286
7318
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7287
7319
|
|
|
7288
7320
|
"use strict";
|
|
@@ -7296,23 +7328,23 @@ setToStringTag(global.JSON, 'JSON', true);
|
|
|
7296
7328
|
|
|
7297
7329
|
|
|
7298
7330
|
/***/ }),
|
|
7299
|
-
/*
|
|
7331
|
+
/* 241 */
|
|
7300
7332
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7301
7333
|
|
|
7302
7334
|
"use strict";
|
|
7303
7335
|
|
|
7304
7336
|
// TODO: Remove this module from `core-js@4` since it's replaced to module below
|
|
7305
|
-
__webpack_require__(
|
|
7337
|
+
__webpack_require__(242);
|
|
7306
7338
|
|
|
7307
7339
|
|
|
7308
7340
|
/***/ }),
|
|
7309
|
-
/*
|
|
7341
|
+
/* 242 */
|
|
7310
7342
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7311
7343
|
|
|
7312
7344
|
"use strict";
|
|
7313
7345
|
|
|
7314
|
-
var collection = __webpack_require__(
|
|
7315
|
-
var collectionStrong = __webpack_require__(
|
|
7346
|
+
var collection = __webpack_require__(243);
|
|
7347
|
+
var collectionStrong = __webpack_require__(248);
|
|
7316
7348
|
|
|
7317
7349
|
// `Map` constructor
|
|
7318
7350
|
// https://tc39.es/ecma262/#sec-map-objects
|
|
@@ -7322,7 +7354,7 @@ collection('Map', function (init) {
|
|
|
7322
7354
|
|
|
7323
7355
|
|
|
7324
7356
|
/***/ }),
|
|
7325
|
-
/*
|
|
7357
|
+
/* 243 */
|
|
7326
7358
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7327
7359
|
|
|
7328
7360
|
"use strict";
|
|
@@ -7332,7 +7364,7 @@ var global = __webpack_require__(4);
|
|
|
7332
7364
|
var uncurryThis = __webpack_require__(14);
|
|
7333
7365
|
var isForced = __webpack_require__(68);
|
|
7334
7366
|
var defineBuiltIn = __webpack_require__(48);
|
|
7335
|
-
var InternalMetadataModule = __webpack_require__(
|
|
7367
|
+
var InternalMetadataModule = __webpack_require__(244);
|
|
7336
7368
|
var iterate = __webpack_require__(132);
|
|
7337
7369
|
var anInstance = __webpack_require__(211);
|
|
7338
7370
|
var isCallable = __webpack_require__(21);
|
|
@@ -7355,14 +7387,14 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7355
7387
|
var fixMethod = function (KEY) {
|
|
7356
7388
|
var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);
|
|
7357
7389
|
defineBuiltIn(NativePrototype, KEY,
|
|
7358
|
-
KEY
|
|
7390
|
+
KEY === 'add' ? function add(value) {
|
|
7359
7391
|
uncurriedNativeMethod(this, value === 0 ? 0 : value);
|
|
7360
7392
|
return this;
|
|
7361
|
-
} : KEY
|
|
7393
|
+
} : KEY === 'delete' ? function (key) {
|
|
7362
7394
|
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7363
|
-
} : KEY
|
|
7395
|
+
} : KEY === 'get' ? function get(key) {
|
|
7364
7396
|
return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7365
|
-
} : KEY
|
|
7397
|
+
} : KEY === 'has' ? function has(key) {
|
|
7366
7398
|
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7367
7399
|
} : function set(key, value) {
|
|
7368
7400
|
uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
|
|
@@ -7385,7 +7417,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7385
7417
|
} else if (isForced(CONSTRUCTOR_NAME, true)) {
|
|
7386
7418
|
var instance = new Constructor();
|
|
7387
7419
|
// early implementations not supports chaining
|
|
7388
|
-
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1)
|
|
7420
|
+
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;
|
|
7389
7421
|
// V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
|
|
7390
7422
|
var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
|
|
7391
7423
|
// most early implementations doesn't supports iterables, most modern - not close it correctly
|
|
@@ -7424,7 +7456,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7424
7456
|
}
|
|
7425
7457
|
|
|
7426
7458
|
exported[CONSTRUCTOR_NAME] = Constructor;
|
|
7427
|
-
$({ global: true, constructor: true, forced: Constructor
|
|
7459
|
+
$({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);
|
|
7428
7460
|
|
|
7429
7461
|
setToStringTag(Constructor, CONSTRUCTOR_NAME);
|
|
7430
7462
|
|
|
@@ -7435,7 +7467,7 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7435
7467
|
|
|
7436
7468
|
|
|
7437
7469
|
/***/ }),
|
|
7438
|
-
/*
|
|
7470
|
+
/* 244 */
|
|
7439
7471
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7440
7472
|
|
|
7441
7473
|
"use strict";
|
|
@@ -7448,9 +7480,9 @@ var hasOwn = __webpack_require__(39);
|
|
|
7448
7480
|
var defineProperty = (__webpack_require__(45).f);
|
|
7449
7481
|
var getOwnPropertyNamesModule = __webpack_require__(58);
|
|
7450
7482
|
var getOwnPropertyNamesExternalModule = __webpack_require__(76);
|
|
7451
|
-
var isExtensible = __webpack_require__(
|
|
7483
|
+
var isExtensible = __webpack_require__(245);
|
|
7452
7484
|
var uid = __webpack_require__(41);
|
|
7453
|
-
var FREEZING = __webpack_require__(
|
|
7485
|
+
var FREEZING = __webpack_require__(247);
|
|
7454
7486
|
|
|
7455
7487
|
var REQUIRED = false;
|
|
7456
7488
|
var METADATA = uid('meta');
|
|
@@ -7532,7 +7564,7 @@ hiddenKeys[METADATA] = true;
|
|
|
7532
7564
|
|
|
7533
7565
|
|
|
7534
7566
|
/***/ }),
|
|
7535
|
-
/*
|
|
7567
|
+
/* 245 */
|
|
7536
7568
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7537
7569
|
|
|
7538
7570
|
"use strict";
|
|
@@ -7540,7 +7572,7 @@ hiddenKeys[METADATA] = true;
|
|
|
7540
7572
|
var fails = __webpack_require__(7);
|
|
7541
7573
|
var isObject = __webpack_require__(20);
|
|
7542
7574
|
var classof = __webpack_require__(15);
|
|
7543
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
7575
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
7544
7576
|
|
|
7545
7577
|
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
7546
7578
|
var $isExtensible = Object.isExtensible;
|
|
@@ -7550,13 +7582,13 @@ var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });
|
|
|
7550
7582
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
7551
7583
|
module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
7552
7584
|
if (!isObject(it)) return false;
|
|
7553
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
7585
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;
|
|
7554
7586
|
return $isExtensible ? $isExtensible(it) : true;
|
|
7555
7587
|
} : $isExtensible;
|
|
7556
7588
|
|
|
7557
7589
|
|
|
7558
7590
|
/***/ }),
|
|
7559
|
-
/*
|
|
7591
|
+
/* 246 */
|
|
7560
7592
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7561
7593
|
|
|
7562
7594
|
"use strict";
|
|
@@ -7574,7 +7606,7 @@ module.exports = fails(function () {
|
|
|
7574
7606
|
|
|
7575
7607
|
|
|
7576
7608
|
/***/ }),
|
|
7577
|
-
/*
|
|
7609
|
+
/* 247 */
|
|
7578
7610
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7579
7611
|
|
|
7580
7612
|
"use strict";
|
|
@@ -7588,7 +7620,7 @@ module.exports = !fails(function () {
|
|
|
7588
7620
|
|
|
7589
7621
|
|
|
7590
7622
|
/***/ }),
|
|
7591
|
-
/*
|
|
7623
|
+
/* 248 */
|
|
7592
7624
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7593
7625
|
|
|
7594
7626
|
"use strict";
|
|
@@ -7604,7 +7636,7 @@ var defineIterator = __webpack_require__(170);
|
|
|
7604
7636
|
var createIterResultObject = __webpack_require__(173);
|
|
7605
7637
|
var setSpecies = __webpack_require__(194);
|
|
7606
7638
|
var DESCRIPTORS = __webpack_require__(6);
|
|
7607
|
-
var fastKey = (__webpack_require__(
|
|
7639
|
+
var fastKey = (__webpack_require__(244).fastKey);
|
|
7608
7640
|
var InternalStateModule = __webpack_require__(52);
|
|
7609
7641
|
|
|
7610
7642
|
var setInternalState = InternalStateModule.set;
|
|
@@ -7663,7 +7695,7 @@ module.exports = {
|
|
|
7663
7695
|
if (index !== 'F') return state.index[index];
|
|
7664
7696
|
// frozen object case
|
|
7665
7697
|
for (entry = state.first; entry; entry = entry.next) {
|
|
7666
|
-
if (entry.key
|
|
7698
|
+
if (entry.key === key) return entry;
|
|
7667
7699
|
}
|
|
7668
7700
|
};
|
|
7669
7701
|
|
|
@@ -7700,8 +7732,8 @@ module.exports = {
|
|
|
7700
7732
|
entry.removed = true;
|
|
7701
7733
|
if (prev) prev.next = next;
|
|
7702
7734
|
if (next) next.previous = prev;
|
|
7703
|
-
if (state.first
|
|
7704
|
-
if (state.last
|
|
7735
|
+
if (state.first === entry) state.first = next;
|
|
7736
|
+
if (state.last === entry) state.last = prev;
|
|
7705
7737
|
if (DESCRIPTORS) state.size--;
|
|
7706
7738
|
else that.size--;
|
|
7707
7739
|
} return !!entry;
|
|
@@ -7788,8 +7820,8 @@ module.exports = {
|
|
|
7788
7820
|
return createIterResultObject(undefined, true);
|
|
7789
7821
|
}
|
|
7790
7822
|
// return step by kind
|
|
7791
|
-
if (kind
|
|
7792
|
-
if (kind
|
|
7823
|
+
if (kind === 'keys') return createIterResultObject(entry.key, false);
|
|
7824
|
+
if (kind === 'values') return createIterResultObject(entry.value, false);
|
|
7793
7825
|
return createIterResultObject([entry.key, entry.value], false);
|
|
7794
7826
|
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
|
|
7795
7827
|
|
|
@@ -7802,13 +7834,13 @@ module.exports = {
|
|
|
7802
7834
|
|
|
7803
7835
|
|
|
7804
7836
|
/***/ }),
|
|
7805
|
-
/*
|
|
7837
|
+
/* 249 */
|
|
7806
7838
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7807
7839
|
|
|
7808
7840
|
"use strict";
|
|
7809
7841
|
|
|
7810
7842
|
var $ = __webpack_require__(3);
|
|
7811
|
-
var log1p = __webpack_require__(
|
|
7843
|
+
var log1p = __webpack_require__(250);
|
|
7812
7844
|
|
|
7813
7845
|
// eslint-disable-next-line es/no-math-acosh -- required for testing
|
|
7814
7846
|
var $acosh = Math.acosh;
|
|
@@ -7818,9 +7850,9 @@ var LN2 = Math.LN2;
|
|
|
7818
7850
|
|
|
7819
7851
|
var FORCED = !$acosh
|
|
7820
7852
|
// V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
|
|
7821
|
-
|| Math.floor($acosh(Number.MAX_VALUE))
|
|
7853
|
+
|| Math.floor($acosh(Number.MAX_VALUE)) !== 710
|
|
7822
7854
|
// Tor Browser bug: Math.acosh(Infinity) -> NaN
|
|
7823
|
-
|| $acosh(Infinity)
|
|
7855
|
+
|| $acosh(Infinity) !== Infinity;
|
|
7824
7856
|
|
|
7825
7857
|
// `Math.acosh` method
|
|
7826
7858
|
// https://tc39.es/ecma262/#sec-math.acosh
|
|
@@ -7835,7 +7867,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, {
|
|
|
7835
7867
|
|
|
7836
7868
|
|
|
7837
7869
|
/***/ }),
|
|
7838
|
-
/*
|
|
7870
|
+
/* 250 */
|
|
7839
7871
|
/***/ (function(module) {
|
|
7840
7872
|
|
|
7841
7873
|
"use strict";
|
|
@@ -7852,7 +7884,7 @@ module.exports = Math.log1p || function log1p(x) {
|
|
|
7852
7884
|
|
|
7853
7885
|
|
|
7854
7886
|
/***/ }),
|
|
7855
|
-
/*
|
|
7887
|
+
/* 251 */
|
|
7856
7888
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7857
7889
|
|
|
7858
7890
|
"use strict";
|
|
@@ -7866,7 +7898,7 @@ var sqrt = Math.sqrt;
|
|
|
7866
7898
|
|
|
7867
7899
|
function asinh(x) {
|
|
7868
7900
|
var n = +x;
|
|
7869
|
-
return !isFinite(n) || n
|
|
7901
|
+
return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));
|
|
7870
7902
|
}
|
|
7871
7903
|
|
|
7872
7904
|
var FORCED = !($asinh && 1 / $asinh(0) > 0);
|
|
@@ -7880,7 +7912,7 @@ $({ target: 'Math', stat: true, forced: FORCED }, {
|
|
|
7880
7912
|
|
|
7881
7913
|
|
|
7882
7914
|
/***/ }),
|
|
7883
|
-
/*
|
|
7915
|
+
/* 252 */
|
|
7884
7916
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7885
7917
|
|
|
7886
7918
|
"use strict";
|
|
@@ -7899,19 +7931,19 @@ var FORCED = !($atanh && 1 / $atanh(-0) < 0);
|
|
|
7899
7931
|
$({ target: 'Math', stat: true, forced: FORCED }, {
|
|
7900
7932
|
atanh: function atanh(x) {
|
|
7901
7933
|
var n = +x;
|
|
7902
|
-
return n
|
|
7934
|
+
return n === 0 ? n : log((1 + n) / (1 - n)) / 2;
|
|
7903
7935
|
}
|
|
7904
7936
|
});
|
|
7905
7937
|
|
|
7906
7938
|
|
|
7907
7939
|
/***/ }),
|
|
7908
|
-
/*
|
|
7940
|
+
/* 253 */
|
|
7909
7941
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
7910
7942
|
|
|
7911
7943
|
"use strict";
|
|
7912
7944
|
|
|
7913
7945
|
var $ = __webpack_require__(3);
|
|
7914
|
-
var sign = __webpack_require__(
|
|
7946
|
+
var sign = __webpack_require__(214);
|
|
7915
7947
|
|
|
7916
7948
|
var abs = Math.abs;
|
|
7917
7949
|
var pow = Math.pow;
|
|
@@ -7926,22 +7958,6 @@ $({ target: 'Math', stat: true }, {
|
|
|
7926
7958
|
});
|
|
7927
7959
|
|
|
7928
7960
|
|
|
7929
|
-
/***/ }),
|
|
7930
|
-
/* 253 */
|
|
7931
|
-
/***/ (function(module) {
|
|
7932
|
-
|
|
7933
|
-
"use strict";
|
|
7934
|
-
|
|
7935
|
-
// `Math.sign` method implementation
|
|
7936
|
-
// https://tc39.es/ecma262/#sec-math.sign
|
|
7937
|
-
// eslint-disable-next-line es/no-math-sign -- safe
|
|
7938
|
-
module.exports = Math.sign || function sign(x) {
|
|
7939
|
-
var n = +x;
|
|
7940
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
7941
|
-
return n == 0 || n != n ? n : n < 0 ? -1 : 1;
|
|
7942
|
-
};
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
7961
|
/***/ }),
|
|
7946
7962
|
/* 254 */
|
|
7947
7963
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -8006,10 +8022,10 @@ module.exports = (!$expm1
|
|
|
8006
8022
|
// Old FF bug
|
|
8007
8023
|
|| $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
|
|
8008
8024
|
// Tor Browser bug
|
|
8009
|
-
|| $expm1(-2e-17)
|
|
8025
|
+
|| $expm1(-2e-17) !== -2e-17
|
|
8010
8026
|
) ? function expm1(x) {
|
|
8011
8027
|
var n = +x;
|
|
8012
|
-
return n
|
|
8028
|
+
return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;
|
|
8013
8029
|
} : $expm1;
|
|
8014
8030
|
|
|
8015
8031
|
|
|
@@ -8025,7 +8041,7 @@ var expm1 = __webpack_require__(256);
|
|
|
8025
8041
|
// `Math.expm1` method
|
|
8026
8042
|
// https://tc39.es/ecma262/#sec-math.expm1
|
|
8027
8043
|
// eslint-disable-next-line es/no-math-expm1 -- required for testing
|
|
8028
|
-
$({ target: 'Math', stat: true, forced: expm1
|
|
8044
|
+
$({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 });
|
|
8029
8045
|
|
|
8030
8046
|
|
|
8031
8047
|
/***/ }),
|
|
@@ -8048,7 +8064,7 @@ $({ target: 'Math', stat: true }, { fround: fround });
|
|
|
8048
8064
|
|
|
8049
8065
|
"use strict";
|
|
8050
8066
|
|
|
8051
|
-
var sign = __webpack_require__(
|
|
8067
|
+
var sign = __webpack_require__(214);
|
|
8052
8068
|
|
|
8053
8069
|
var abs = Math.abs;
|
|
8054
8070
|
var pow = Math.pow;
|
|
@@ -8073,7 +8089,7 @@ module.exports = Math.fround || function fround(x) {
|
|
|
8073
8089
|
a = (1 + EPSILON32 / EPSILON) * $abs;
|
|
8074
8090
|
result = a - (a - $abs);
|
|
8075
8091
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8076
|
-
if (result > MAX32 || result
|
|
8092
|
+
if (result > MAX32 || result !== result) return $sign * Infinity;
|
|
8077
8093
|
return $sign * result;
|
|
8078
8094
|
};
|
|
8079
8095
|
|
|
@@ -8134,7 +8150,7 @@ var fails = __webpack_require__(7);
|
|
|
8134
8150
|
var $imul = Math.imul;
|
|
8135
8151
|
|
|
8136
8152
|
var FORCED = fails(function () {
|
|
8137
|
-
return $imul(0xFFFFFFFF, 5)
|
|
8153
|
+
return $imul(0xFFFFFFFF, 5) !== -5 || $imul.length !== 2;
|
|
8138
8154
|
});
|
|
8139
8155
|
|
|
8140
8156
|
// `Math.imul` method
|
|
@@ -8190,7 +8206,7 @@ module.exports = Math.log10 || function log10(x) {
|
|
|
8190
8206
|
"use strict";
|
|
8191
8207
|
|
|
8192
8208
|
var $ = __webpack_require__(3);
|
|
8193
|
-
var log1p = __webpack_require__(
|
|
8209
|
+
var log1p = __webpack_require__(250);
|
|
8194
8210
|
|
|
8195
8211
|
// `Math.log1p` method
|
|
8196
8212
|
// https://tc39.es/ecma262/#sec-math.log1p
|
|
@@ -8224,7 +8240,7 @@ $({ target: 'Math', stat: true }, {
|
|
|
8224
8240
|
"use strict";
|
|
8225
8241
|
|
|
8226
8242
|
var $ = __webpack_require__(3);
|
|
8227
|
-
var sign = __webpack_require__(
|
|
8243
|
+
var sign = __webpack_require__(214);
|
|
8228
8244
|
|
|
8229
8245
|
// `Math.sign` method
|
|
8230
8246
|
// https://tc39.es/ecma262/#sec-math.sign
|
|
@@ -8249,7 +8265,7 @@ var E = Math.E;
|
|
|
8249
8265
|
|
|
8250
8266
|
var FORCED = fails(function () {
|
|
8251
8267
|
// eslint-disable-next-line es/no-math-sinh -- required for testing
|
|
8252
|
-
return Math.sinh(-2e-17)
|
|
8268
|
+
return Math.sinh(-2e-17) !== -2e-17;
|
|
8253
8269
|
});
|
|
8254
8270
|
|
|
8255
8271
|
// `Math.sinh` method
|
|
@@ -8281,7 +8297,7 @@ $({ target: 'Math', stat: true }, {
|
|
|
8281
8297
|
var n = +x;
|
|
8282
8298
|
var a = expm1(n);
|
|
8283
8299
|
var b = expm1(-n);
|
|
8284
|
-
return a
|
|
8300
|
+
return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n));
|
|
8285
8301
|
}
|
|
8286
8302
|
});
|
|
8287
8303
|
|
|
@@ -8582,7 +8598,7 @@ var $ = __webpack_require__(3);
|
|
|
8582
8598
|
$({ target: 'Number', stat: true }, {
|
|
8583
8599
|
isNaN: function isNaN(number) {
|
|
8584
8600
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8585
|
-
return number
|
|
8601
|
+
return number !== number;
|
|
8586
8602
|
}
|
|
8587
8603
|
});
|
|
8588
8604
|
|
|
@@ -8649,7 +8665,7 @@ var parseFloat = __webpack_require__(285);
|
|
|
8649
8665
|
// `Number.parseFloat` method
|
|
8650
8666
|
// https://tc39.es/ecma262/#sec-number.parseFloat
|
|
8651
8667
|
// eslint-disable-next-line es/no-number-parsefloat -- required for testing
|
|
8652
|
-
$({ target: 'Number', stat: true, forced: Number.parseFloat
|
|
8668
|
+
$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, {
|
|
8653
8669
|
parseFloat: parseFloat
|
|
8654
8670
|
});
|
|
8655
8671
|
|
|
@@ -8680,7 +8696,7 @@ var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity
|
|
|
8680
8696
|
module.exports = FORCED ? function parseFloat(string) {
|
|
8681
8697
|
var trimmedString = trim(toString(string));
|
|
8682
8698
|
var result = $parseFloat(trimmedString);
|
|
8683
|
-
return result === 0 && charAt(trimmedString, 0)
|
|
8699
|
+
return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;
|
|
8684
8700
|
} : $parseFloat;
|
|
8685
8701
|
|
|
8686
8702
|
|
|
@@ -8696,7 +8712,7 @@ var parseInt = __webpack_require__(287);
|
|
|
8696
8712
|
// `Number.parseInt` method
|
|
8697
8713
|
// https://tc39.es/ecma262/#sec-number.parseint
|
|
8698
8714
|
// eslint-disable-next-line es/no-number-parseint -- required for testing
|
|
8699
|
-
$({ target: 'Number', stat: true, forced: Number.parseInt
|
|
8715
|
+
$({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt }, {
|
|
8700
8716
|
parseInt: parseInt
|
|
8701
8717
|
});
|
|
8702
8718
|
|
|
@@ -8741,7 +8757,7 @@ var $ = __webpack_require__(3);
|
|
|
8741
8757
|
var uncurryThis = __webpack_require__(14);
|
|
8742
8758
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
8743
8759
|
var thisNumberValue = __webpack_require__(272);
|
|
8744
|
-
var $repeat = __webpack_require__(
|
|
8760
|
+
var $repeat = __webpack_require__(229);
|
|
8745
8761
|
var log10 = __webpack_require__(263);
|
|
8746
8762
|
var fails = __webpack_require__(7);
|
|
8747
8763
|
|
|
@@ -8850,7 +8866,7 @@ var $ = __webpack_require__(3);
|
|
|
8850
8866
|
var uncurryThis = __webpack_require__(14);
|
|
8851
8867
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
8852
8868
|
var thisNumberValue = __webpack_require__(272);
|
|
8853
|
-
var $repeat = __webpack_require__(
|
|
8869
|
+
var $repeat = __webpack_require__(229);
|
|
8854
8870
|
var fails = __webpack_require__(7);
|
|
8855
8871
|
|
|
8856
8872
|
var $RangeError = RangeError;
|
|
@@ -8932,7 +8948,7 @@ $({ target: 'Number', proto: true, forced: FORCED }, {
|
|
|
8932
8948
|
// TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
|
|
8933
8949
|
if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits');
|
|
8934
8950
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
8935
|
-
if (number
|
|
8951
|
+
if (number !== number) return 'NaN';
|
|
8936
8952
|
if (number <= -1e21 || number >= 1e21) return $String(number);
|
|
8937
8953
|
if (number < 0) {
|
|
8938
8954
|
sign = '-';
|
|
@@ -9066,11 +9082,11 @@ module.exports = !$assign || fails(function () {
|
|
|
9066
9082
|
var A = {};
|
|
9067
9083
|
var B = {};
|
|
9068
9084
|
// eslint-disable-next-line es/no-symbol -- safe
|
|
9069
|
-
var symbol = Symbol();
|
|
9085
|
+
var symbol = Symbol('assign detection');
|
|
9070
9086
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
9071
9087
|
A[symbol] = 7;
|
|
9072
9088
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
9073
|
-
return $assign({}, A)[symbol]
|
|
9089
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
9074
9090
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
9075
9091
|
var T = toObject(target);
|
|
9076
9092
|
var argumentsLength = arguments.length;
|
|
@@ -9298,10 +9314,10 @@ module.exports = {
|
|
|
9298
9314
|
"use strict";
|
|
9299
9315
|
|
|
9300
9316
|
var $ = __webpack_require__(3);
|
|
9301
|
-
var FREEZING = __webpack_require__(
|
|
9317
|
+
var FREEZING = __webpack_require__(247);
|
|
9302
9318
|
var fails = __webpack_require__(7);
|
|
9303
9319
|
var isObject = __webpack_require__(20);
|
|
9304
|
-
var onFreeze = (__webpack_require__(
|
|
9320
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9305
9321
|
|
|
9306
9322
|
// eslint-disable-next-line es/no-object-freeze -- safe
|
|
9307
9323
|
var $freeze = Object.freeze;
|
|
@@ -9481,7 +9497,7 @@ $({ target: 'Object', stat: true }, {
|
|
|
9481
9497
|
// eslint-disable-next-line es/no-object-is -- safe
|
|
9482
9498
|
module.exports = Object.is || function is(x, y) {
|
|
9483
9499
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
9484
|
-
return x === y ? x !== 0 || 1 / x === 1 / y : x
|
|
9500
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
|
9485
9501
|
};
|
|
9486
9502
|
|
|
9487
9503
|
|
|
@@ -9492,7 +9508,7 @@ module.exports = Object.is || function is(x, y) {
|
|
|
9492
9508
|
"use strict";
|
|
9493
9509
|
|
|
9494
9510
|
var $ = __webpack_require__(3);
|
|
9495
|
-
var $isExtensible = __webpack_require__(
|
|
9511
|
+
var $isExtensible = __webpack_require__(245);
|
|
9496
9512
|
|
|
9497
9513
|
// `Object.isExtensible` method
|
|
9498
9514
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
@@ -9512,7 +9528,7 @@ var $ = __webpack_require__(3);
|
|
|
9512
9528
|
var fails = __webpack_require__(7);
|
|
9513
9529
|
var isObject = __webpack_require__(20);
|
|
9514
9530
|
var classof = __webpack_require__(15);
|
|
9515
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
9531
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
9516
9532
|
|
|
9517
9533
|
// eslint-disable-next-line es/no-object-isfrozen -- safe
|
|
9518
9534
|
var $isFrozen = Object.isFrozen;
|
|
@@ -9524,7 +9540,7 @@ var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); })
|
|
|
9524
9540
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
9525
9541
|
isFrozen: function isFrozen(it) {
|
|
9526
9542
|
if (!isObject(it)) return true;
|
|
9527
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
9543
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
|
|
9528
9544
|
return $isFrozen ? $isFrozen(it) : false;
|
|
9529
9545
|
}
|
|
9530
9546
|
});
|
|
@@ -9540,7 +9556,7 @@ var $ = __webpack_require__(3);
|
|
|
9540
9556
|
var fails = __webpack_require__(7);
|
|
9541
9557
|
var isObject = __webpack_require__(20);
|
|
9542
9558
|
var classof = __webpack_require__(15);
|
|
9543
|
-
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(
|
|
9559
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(246);
|
|
9544
9560
|
|
|
9545
9561
|
// eslint-disable-next-line es/no-object-issealed -- safe
|
|
9546
9562
|
var $isSealed = Object.isSealed;
|
|
@@ -9552,7 +9568,7 @@ var FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isSealed(1); })
|
|
|
9552
9568
|
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
9553
9569
|
isSealed: function isSealed(it) {
|
|
9554
9570
|
if (!isObject(it)) return true;
|
|
9555
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it)
|
|
9571
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;
|
|
9556
9572
|
return $isSealed ? $isSealed(it) : false;
|
|
9557
9573
|
}
|
|
9558
9574
|
});
|
|
@@ -9648,8 +9664,8 @@ if (DESCRIPTORS) {
|
|
|
9648
9664
|
|
|
9649
9665
|
var $ = __webpack_require__(3);
|
|
9650
9666
|
var isObject = __webpack_require__(20);
|
|
9651
|
-
var onFreeze = (__webpack_require__(
|
|
9652
|
-
var FREEZING = __webpack_require__(
|
|
9667
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9668
|
+
var FREEZING = __webpack_require__(247);
|
|
9653
9669
|
var fails = __webpack_require__(7);
|
|
9654
9670
|
|
|
9655
9671
|
// eslint-disable-next-line es/no-object-preventextensions -- safe
|
|
@@ -9709,8 +9725,8 @@ if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototyp
|
|
|
9709
9725
|
|
|
9710
9726
|
var $ = __webpack_require__(3);
|
|
9711
9727
|
var isObject = __webpack_require__(20);
|
|
9712
|
-
var onFreeze = (__webpack_require__(
|
|
9713
|
-
var FREEZING = __webpack_require__(
|
|
9728
|
+
var onFreeze = (__webpack_require__(244).onFreeze);
|
|
9729
|
+
var FREEZING = __webpack_require__(247);
|
|
9714
9730
|
var fails = __webpack_require__(7);
|
|
9715
9731
|
|
|
9716
9732
|
// eslint-disable-next-line es/no-object-seal -- safe
|
|
@@ -9804,7 +9820,7 @@ var $parseFloat = __webpack_require__(285);
|
|
|
9804
9820
|
|
|
9805
9821
|
// `parseFloat` method
|
|
9806
9822
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
9807
|
-
$({ global: true, forced: parseFloat
|
|
9823
|
+
$({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
9808
9824
|
parseFloat: $parseFloat
|
|
9809
9825
|
});
|
|
9810
9826
|
|
|
@@ -9820,7 +9836,7 @@ var $parseInt = __webpack_require__(287);
|
|
|
9820
9836
|
|
|
9821
9837
|
// `parseInt` method
|
|
9822
9838
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
9823
|
-
$({ global: true, forced: parseInt
|
|
9839
|
+
$({ global: true, forced: parseInt !== $parseInt }, {
|
|
9824
9840
|
parseInt: $parseInt
|
|
9825
9841
|
});
|
|
9826
9842
|
|
|
@@ -9859,7 +9875,7 @@ var aCallable = __webpack_require__(31);
|
|
|
9859
9875
|
var isCallable = __webpack_require__(21);
|
|
9860
9876
|
var isObject = __webpack_require__(20);
|
|
9861
9877
|
var anInstance = __webpack_require__(211);
|
|
9862
|
-
var speciesConstructor = __webpack_require__(
|
|
9878
|
+
var speciesConstructor = __webpack_require__(218);
|
|
9863
9879
|
var task = (__webpack_require__(327).set);
|
|
9864
9880
|
var microtask = __webpack_require__(330);
|
|
9865
9881
|
var hostReportErrors = __webpack_require__(334);
|
|
@@ -9904,7 +9920,7 @@ var isThenable = function (it) {
|
|
|
9904
9920
|
|
|
9905
9921
|
var callReaction = function (reaction, state) {
|
|
9906
9922
|
var value = state.value;
|
|
9907
|
-
var ok = state.state
|
|
9923
|
+
var ok = state.state === FULFILLED;
|
|
9908
9924
|
var handler = ok ? reaction.ok : reaction.fail;
|
|
9909
9925
|
var resolve = reaction.resolve;
|
|
9910
9926
|
var reject = reaction.reject;
|
|
@@ -10080,7 +10096,7 @@ if (FORCED_PROMISE_CONSTRUCTOR) {
|
|
|
10080
10096
|
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
10081
10097
|
reaction.fail = isCallable(onRejected) && onRejected;
|
|
10082
10098
|
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
10083
|
-
if (state.state
|
|
10099
|
+
if (state.state === PENDING) state.reactions.add(reaction);
|
|
10084
10100
|
else microtask(function () {
|
|
10085
10101
|
callReaction(reaction, state);
|
|
10086
10102
|
});
|
|
@@ -10436,7 +10452,7 @@ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
|
10436
10452
|
module.exports = function (a, b) {
|
|
10437
10453
|
try {
|
|
10438
10454
|
// eslint-disable-next-line no-console -- safe
|
|
10439
|
-
arguments.length
|
|
10455
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
|
10440
10456
|
} catch (error) { /* empty */ }
|
|
10441
10457
|
};
|
|
10442
10458
|
|
|
@@ -10886,7 +10902,7 @@ var NativePromiseConstructor = __webpack_require__(336);
|
|
|
10886
10902
|
var fails = __webpack_require__(7);
|
|
10887
10903
|
var getBuiltIn = __webpack_require__(24);
|
|
10888
10904
|
var isCallable = __webpack_require__(21);
|
|
10889
|
-
var speciesConstructor = __webpack_require__(
|
|
10905
|
+
var speciesConstructor = __webpack_require__(218);
|
|
10890
10906
|
var promiseResolve = __webpack_require__(347);
|
|
10891
10907
|
var defineBuiltIn = __webpack_require__(48);
|
|
10892
10908
|
|
|
@@ -10960,8 +10976,8 @@ $({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {
|
|
|
10960
10976
|
var $ = __webpack_require__(3);
|
|
10961
10977
|
var getBuiltIn = __webpack_require__(24);
|
|
10962
10978
|
var apply = __webpack_require__(96);
|
|
10963
|
-
var bind = __webpack_require__(
|
|
10964
|
-
var aConstructor = __webpack_require__(
|
|
10979
|
+
var bind = __webpack_require__(236);
|
|
10980
|
+
var aConstructor = __webpack_require__(219);
|
|
10965
10981
|
var anObject = __webpack_require__(47);
|
|
10966
10982
|
var isObject = __webpack_require__(20);
|
|
10967
10983
|
var create = __webpack_require__(72);
|
|
@@ -10992,7 +11008,7 @@ $({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
|
|
|
10992
11008
|
anObject(args);
|
|
10993
11009
|
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
|
|
10994
11010
|
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
|
|
10995
|
-
if (Target
|
|
11011
|
+
if (Target === newTarget) {
|
|
10996
11012
|
// w/o altered newTarget, optimization for 0-4 arguments
|
|
10997
11013
|
switch (args.length) {
|
|
10998
11014
|
case 0: return new Target();
|
|
@@ -11181,7 +11197,7 @@ $({ target: 'Reflect', stat: true }, {
|
|
|
11181
11197
|
|
|
11182
11198
|
var $ = __webpack_require__(3);
|
|
11183
11199
|
var anObject = __webpack_require__(47);
|
|
11184
|
-
var $isExtensible = __webpack_require__(
|
|
11200
|
+
var $isExtensible = __webpack_require__(245);
|
|
11185
11201
|
|
|
11186
11202
|
// `Reflect.isExtensible` method
|
|
11187
11203
|
// https://tc39.es/ecma262/#sec-reflect.isextensible
|
|
@@ -11218,7 +11234,7 @@ $({ target: 'Reflect', stat: true }, {
|
|
|
11218
11234
|
var $ = __webpack_require__(3);
|
|
11219
11235
|
var getBuiltIn = __webpack_require__(24);
|
|
11220
11236
|
var anObject = __webpack_require__(47);
|
|
11221
|
-
var FREEZING = __webpack_require__(
|
|
11237
|
+
var FREEZING = __webpack_require__(247);
|
|
11222
11238
|
|
|
11223
11239
|
// `Reflect.preventExtensions` method
|
|
11224
11240
|
// https://tc39.es/ecma262/#sec-reflect.preventextensions
|
|
@@ -11389,7 +11405,7 @@ var BASE_FORCED = DESCRIPTORS &&
|
|
|
11389
11405
|
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {
|
|
11390
11406
|
re2[MATCH] = false;
|
|
11391
11407
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
11392
|
-
return NativeRegExp(re1)
|
|
11408
|
+
return NativeRegExp(re1) !== re1 || NativeRegExp(re2) === re2 || String(NativeRegExp(re1, 'i')) !== '/a/i';
|
|
11393
11409
|
}));
|
|
11394
11410
|
|
|
11395
11411
|
var handleDotAll = function (string) {
|
|
@@ -11551,7 +11567,7 @@ var MATCH = wellKnownSymbol('match');
|
|
|
11551
11567
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
11552
11568
|
module.exports = function (it) {
|
|
11553
11569
|
var isRegExp;
|
|
11554
|
-
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it)
|
|
11570
|
+
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
|
|
11555
11571
|
};
|
|
11556
11572
|
|
|
11557
11573
|
|
|
@@ -11615,7 +11631,7 @@ var $RegExp = global.RegExp;
|
|
|
11615
11631
|
var UNSUPPORTED_Y = fails(function () {
|
|
11616
11632
|
var re = $RegExp('a', 'y');
|
|
11617
11633
|
re.lastIndex = 2;
|
|
11618
|
-
return re.exec('abcd')
|
|
11634
|
+
return re.exec('abcd') !== null;
|
|
11619
11635
|
});
|
|
11620
11636
|
|
|
11621
11637
|
// UC Browser bug
|
|
@@ -11628,7 +11644,7 @@ var BROKEN_CARET = UNSUPPORTED_Y || fails(function () {
|
|
|
11628
11644
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
11629
11645
|
var re = $RegExp('^r', 'gy');
|
|
11630
11646
|
re.lastIndex = 2;
|
|
11631
|
-
return re.exec('str')
|
|
11647
|
+
return re.exec('str') !== null;
|
|
11632
11648
|
});
|
|
11633
11649
|
|
|
11634
11650
|
module.exports = {
|
|
@@ -12003,9 +12019,9 @@ var TO_STRING = 'toString';
|
|
|
12003
12019
|
var RegExpPrototype = RegExp.prototype;
|
|
12004
12020
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
12005
12021
|
|
|
12006
|
-
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' })
|
|
12022
|
+
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
12007
12023
|
// FF44- RegExp#toString has a wrong name
|
|
12008
|
-
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name
|
|
12024
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
12009
12025
|
|
|
12010
12026
|
// `RegExp.prototype.toString` method
|
|
12011
12027
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
@@ -12035,8 +12051,8 @@ __webpack_require__(381);
|
|
|
12035
12051
|
|
|
12036
12052
|
"use strict";
|
|
12037
12053
|
|
|
12038
|
-
var collection = __webpack_require__(
|
|
12039
|
-
var collectionStrong = __webpack_require__(
|
|
12054
|
+
var collection = __webpack_require__(243);
|
|
12055
|
+
var collectionStrong = __webpack_require__(248);
|
|
12040
12056
|
|
|
12041
12057
|
// `Set` constructor
|
|
12042
12058
|
// https://tc39.es/ecma262/#sec-set-objects
|
|
@@ -12242,7 +12258,7 @@ var $fromCodePoint = String.fromCodePoint;
|
|
|
12242
12258
|
var join = uncurryThis([].join);
|
|
12243
12259
|
|
|
12244
12260
|
// length should be 1, old FF problem
|
|
12245
|
-
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length
|
|
12261
|
+
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;
|
|
12246
12262
|
|
|
12247
12263
|
// `String.fromCodePoint` method
|
|
12248
12264
|
// https://tc39.es/ecma262/#sec-string.fromcodepoint
|
|
@@ -12314,9 +12330,9 @@ $({ target: 'String', proto: true }, {
|
|
|
12314
12330
|
for (var i = 0; i < length; i++) {
|
|
12315
12331
|
var charCode = charCodeAt(S, i);
|
|
12316
12332
|
// single UTF-16 code unit
|
|
12317
|
-
if ((charCode & 0xF800)
|
|
12333
|
+
if ((charCode & 0xF800) !== 0xD800) continue;
|
|
12318
12334
|
// unpaired surrogate
|
|
12319
|
-
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00)
|
|
12335
|
+
if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false;
|
|
12320
12336
|
} return true;
|
|
12321
12337
|
}
|
|
12322
12338
|
});
|
|
@@ -12440,7 +12456,7 @@ module.exports = function (KEY, exec, FORCED, SHAM) {
|
|
|
12440
12456
|
// String methods call symbol-named RegEp methods
|
|
12441
12457
|
var O = {};
|
|
12442
12458
|
O[SYMBOL] = function () { return 7; };
|
|
12443
|
-
return ''[KEY](O)
|
|
12459
|
+
return ''[KEY](O) !== 7;
|
|
12444
12460
|
});
|
|
12445
12461
|
|
|
12446
12462
|
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
|
@@ -12563,7 +12579,7 @@ var getMethod = __webpack_require__(30);
|
|
|
12563
12579
|
var defineBuiltIn = __webpack_require__(48);
|
|
12564
12580
|
var fails = __webpack_require__(7);
|
|
12565
12581
|
var wellKnownSymbol = __webpack_require__(34);
|
|
12566
|
-
var speciesConstructor = __webpack_require__(
|
|
12582
|
+
var speciesConstructor = __webpack_require__(218);
|
|
12567
12583
|
var advanceStringIndex = __webpack_require__(394);
|
|
12568
12584
|
var regExpExec = __webpack_require__(395);
|
|
12569
12585
|
var InternalStateModule = __webpack_require__(52);
|
|
@@ -12636,7 +12652,7 @@ $({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
|
|
|
12636
12652
|
}
|
|
12637
12653
|
if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
|
|
12638
12654
|
matcher = getMethod(regexp, MATCH_ALL);
|
|
12639
|
-
if (matcher === undefined && IS_PURE && classof(regexp)
|
|
12655
|
+
if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll;
|
|
12640
12656
|
if (matcher) return call(matcher, regexp, O);
|
|
12641
12657
|
} else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp);
|
|
12642
12658
|
S = toString(O);
|
|
@@ -12655,7 +12671,7 @@ IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_
|
|
|
12655
12671
|
"use strict";
|
|
12656
12672
|
|
|
12657
12673
|
var $ = __webpack_require__(3);
|
|
12658
|
-
var $padEnd = (__webpack_require__(
|
|
12674
|
+
var $padEnd = (__webpack_require__(228).end);
|
|
12659
12675
|
var WEBKIT_BUG = __webpack_require__(398);
|
|
12660
12676
|
|
|
12661
12677
|
// `String.prototype.padEnd` method
|
|
@@ -12686,7 +12702,7 @@ module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari
|
|
|
12686
12702
|
"use strict";
|
|
12687
12703
|
|
|
12688
12704
|
var $ = __webpack_require__(3);
|
|
12689
|
-
var $padStart = (__webpack_require__(
|
|
12705
|
+
var $padStart = (__webpack_require__(228).start);
|
|
12690
12706
|
var WEBKIT_BUG = __webpack_require__(398);
|
|
12691
12707
|
|
|
12692
12708
|
// `String.prototype.padStart` method
|
|
@@ -12740,7 +12756,7 @@ $({ target: 'String', stat: true }, {
|
|
|
12740
12756
|
"use strict";
|
|
12741
12757
|
|
|
12742
12758
|
var $ = __webpack_require__(3);
|
|
12743
|
-
var repeat = __webpack_require__(
|
|
12759
|
+
var repeat = __webpack_require__(229);
|
|
12744
12760
|
|
|
12745
12761
|
// `String.prototype.repeat` method
|
|
12746
12762
|
// https://tc39.es/ecma262/#sec-string.prototype.repeat
|
|
@@ -12844,13 +12860,16 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12844
12860
|
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
12845
12861
|
|
|
12846
12862
|
var global = rx.global;
|
|
12863
|
+
var fullUnicode;
|
|
12847
12864
|
if (global) {
|
|
12848
|
-
|
|
12865
|
+
fullUnicode = rx.unicode;
|
|
12849
12866
|
rx.lastIndex = 0;
|
|
12850
12867
|
}
|
|
12868
|
+
|
|
12851
12869
|
var results = [];
|
|
12870
|
+
var result;
|
|
12852
12871
|
while (true) {
|
|
12853
|
-
|
|
12872
|
+
result = regExpExec(rx, S);
|
|
12854
12873
|
if (result === null) break;
|
|
12855
12874
|
|
|
12856
12875
|
push(results, result);
|
|
@@ -12868,6 +12887,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12868
12887
|
var matched = toString(result[0]);
|
|
12869
12888
|
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
12870
12889
|
var captures = [];
|
|
12890
|
+
var replacement;
|
|
12871
12891
|
// NOTE: This is equivalent to
|
|
12872
12892
|
// captures = result.slice(1).map(maybeToString)
|
|
12873
12893
|
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
@@ -12878,7 +12898,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12878
12898
|
if (functionalReplace) {
|
|
12879
12899
|
var replacerArgs = concat([matched], captures, position, S);
|
|
12880
12900
|
if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
|
|
12881
|
-
|
|
12901
|
+
replacement = toString(apply(replaceValue, undefined, replacerArgs));
|
|
12882
12902
|
} else {
|
|
12883
12903
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
12884
12904
|
}
|
|
@@ -12887,6 +12907,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
12887
12907
|
nextSourcePosition = position + matched.length;
|
|
12888
12908
|
}
|
|
12889
12909
|
}
|
|
12910
|
+
|
|
12890
12911
|
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
12891
12912
|
}
|
|
12892
12913
|
];
|
|
@@ -13083,7 +13104,7 @@ var anObject = __webpack_require__(47);
|
|
|
13083
13104
|
var isNullOrUndefined = __webpack_require__(17);
|
|
13084
13105
|
var isRegExp = __webpack_require__(367);
|
|
13085
13106
|
var requireObjectCoercible = __webpack_require__(16);
|
|
13086
|
-
var speciesConstructor = __webpack_require__(
|
|
13107
|
+
var speciesConstructor = __webpack_require__(218);
|
|
13087
13108
|
var advanceStringIndex = __webpack_require__(394);
|
|
13088
13109
|
var toLength = __webpack_require__(65);
|
|
13089
13110
|
var toString = __webpack_require__(69);
|
|
@@ -13117,11 +13138,11 @@ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
|
|
|
13117
13138
|
fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
|
|
13118
13139
|
var internalSplit;
|
|
13119
13140
|
if (
|
|
13120
|
-
'abbc'.split(/(b)*/)[1]
|
|
13141
|
+
'abbc'.split(/(b)*/)[1] === 'c' ||
|
|
13121
13142
|
// eslint-disable-next-line regexp/no-empty-group -- required for testing
|
|
13122
|
-
'test'.split(/(?:)/, -1).length
|
|
13123
|
-
'ab'.split(/(?:ab)*/).length
|
|
13124
|
-
'.'.split(/(.?)(.?)/).length
|
|
13143
|
+
'test'.split(/(?:)/, -1).length !== 4 ||
|
|
13144
|
+
'ab'.split(/(?:ab)*/).length !== 2 ||
|
|
13145
|
+
'.'.split(/(.?)(.?)/).length !== 4 ||
|
|
13125
13146
|
// eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
|
|
13126
13147
|
'.'.split(/()()/).length > 1 ||
|
|
13127
13148
|
''.split(/.?/).length
|
|
@@ -13350,9 +13371,9 @@ $({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, {
|
|
|
13350
13371
|
for (var i = 0; i < length; i++) {
|
|
13351
13372
|
var charCode = charCodeAt(S, i);
|
|
13352
13373
|
// single UTF-16 code unit
|
|
13353
|
-
if ((charCode & 0xF800)
|
|
13374
|
+
if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i);
|
|
13354
13375
|
// unpaired surrogate
|
|
13355
|
-
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00)
|
|
13376
|
+
else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER;
|
|
13356
13377
|
// surrogate pair
|
|
13357
13378
|
else {
|
|
13358
13379
|
result[i] = charAt(S, i);
|
|
@@ -13829,7 +13850,7 @@ var global = __webpack_require__(4);
|
|
|
13829
13850
|
var call = __webpack_require__(8);
|
|
13830
13851
|
var DESCRIPTORS = __webpack_require__(6);
|
|
13831
13852
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
13832
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
13853
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
13833
13854
|
var ArrayBufferModule = __webpack_require__(208);
|
|
13834
13855
|
var anInstance = __webpack_require__(211);
|
|
13835
13856
|
var createPropertyDescriptor = __webpack_require__(11);
|
|
@@ -13895,7 +13916,7 @@ var addGetter = function (it, key) {
|
|
|
13895
13916
|
|
|
13896
13917
|
var isArrayBuffer = function (it) {
|
|
13897
13918
|
var klass;
|
|
13898
|
-
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it))
|
|
13919
|
+
return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) === 'ArrayBuffer' || klass === 'SharedArrayBuffer';
|
|
13899
13920
|
};
|
|
13900
13921
|
|
|
13901
13922
|
var isTypedArrayIndex = function (target, key) {
|
|
@@ -14051,7 +14072,7 @@ if (DESCRIPTORS) {
|
|
|
14051
14072
|
createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
|
|
14052
14073
|
}
|
|
14053
14074
|
|
|
14054
|
-
var FORCED = TypedArrayConstructor
|
|
14075
|
+
var FORCED = TypedArrayConstructor !== NativeTypedArrayConstructor;
|
|
14055
14076
|
|
|
14056
14077
|
exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
|
|
14057
14078
|
|
|
@@ -14080,7 +14101,7 @@ if (DESCRIPTORS) {
|
|
|
14080
14101
|
var global = __webpack_require__(4);
|
|
14081
14102
|
var fails = __webpack_require__(7);
|
|
14082
14103
|
var checkCorrectnessOfIteration = __webpack_require__(165);
|
|
14083
|
-
var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(
|
|
14104
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(216).NATIVE_ARRAY_BUFFER_VIEWS);
|
|
14084
14105
|
|
|
14085
14106
|
var ArrayBuffer = global.ArrayBuffer;
|
|
14086
14107
|
var Int8Array = global.Int8Array;
|
|
@@ -14156,14 +14177,14 @@ module.exports = function (it) {
|
|
|
14156
14177
|
|
|
14157
14178
|
var bind = __webpack_require__(86);
|
|
14158
14179
|
var call = __webpack_require__(8);
|
|
14159
|
-
var aConstructor = __webpack_require__(
|
|
14180
|
+
var aConstructor = __webpack_require__(219);
|
|
14160
14181
|
var toObject = __webpack_require__(40);
|
|
14161
14182
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14162
14183
|
var getIterator = __webpack_require__(135);
|
|
14163
14184
|
var getIteratorMethod = __webpack_require__(136);
|
|
14164
14185
|
var isArrayIteratorMethod = __webpack_require__(133);
|
|
14165
14186
|
var isBigIntArray = __webpack_require__(440);
|
|
14166
|
-
var aTypedArrayConstructor = (__webpack_require__(
|
|
14187
|
+
var aTypedArrayConstructor = (__webpack_require__(216).aTypedArrayConstructor);
|
|
14167
14188
|
var toBigInt = __webpack_require__(441);
|
|
14168
14189
|
|
|
14169
14190
|
module.exports = function from(source /* , mapfn, thisArg */) {
|
|
@@ -14207,7 +14228,7 @@ var classof = __webpack_require__(70);
|
|
|
14207
14228
|
|
|
14208
14229
|
module.exports = function (it) {
|
|
14209
14230
|
var klass = classof(it);
|
|
14210
|
-
return klass
|
|
14231
|
+
return klass === 'BigInt64Array' || klass === 'BigUint64Array';
|
|
14211
14232
|
};
|
|
14212
14233
|
|
|
14213
14234
|
|
|
@@ -14373,7 +14394,7 @@ createTypedArrayConstructor('Uint32', function (init) {
|
|
|
14373
14394
|
|
|
14374
14395
|
"use strict";
|
|
14375
14396
|
|
|
14376
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14397
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14377
14398
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14378
14399
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
14379
14400
|
|
|
@@ -14398,7 +14419,7 @@ exportTypedArrayMethod('at', function at(index) {
|
|
|
14398
14419
|
"use strict";
|
|
14399
14420
|
|
|
14400
14421
|
var uncurryThis = __webpack_require__(14);
|
|
14401
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14422
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14402
14423
|
var $ArrayCopyWithin = __webpack_require__(145);
|
|
14403
14424
|
|
|
14404
14425
|
var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);
|
|
@@ -14418,7 +14439,7 @@ exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end
|
|
|
14418
14439
|
|
|
14419
14440
|
"use strict";
|
|
14420
14441
|
|
|
14421
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14442
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14422
14443
|
var $every = (__webpack_require__(85).every);
|
|
14423
14444
|
|
|
14424
14445
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14437,7 +14458,7 @@ exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {
|
|
|
14437
14458
|
|
|
14438
14459
|
"use strict";
|
|
14439
14460
|
|
|
14440
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14461
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14441
14462
|
var $fill = __webpack_require__(150);
|
|
14442
14463
|
var toBigInt = __webpack_require__(441);
|
|
14443
14464
|
var classof = __webpack_require__(70);
|
|
@@ -14473,7 +14494,7 @@ exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
|
|
|
14473
14494
|
|
|
14474
14495
|
"use strict";
|
|
14475
14496
|
|
|
14476
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14497
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14477
14498
|
var $filter = (__webpack_require__(85).filter);
|
|
14478
14499
|
var fromSpeciesAndList = __webpack_require__(455);
|
|
14479
14500
|
|
|
@@ -14508,8 +14529,8 @@ module.exports = function (instance, list) {
|
|
|
14508
14529
|
|
|
14509
14530
|
"use strict";
|
|
14510
14531
|
|
|
14511
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14512
|
-
var speciesConstructor = __webpack_require__(
|
|
14532
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14533
|
+
var speciesConstructor = __webpack_require__(218);
|
|
14513
14534
|
|
|
14514
14535
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
|
14515
14536
|
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
|
|
@@ -14527,7 +14548,7 @@ module.exports = function (originalArray) {
|
|
|
14527
14548
|
|
|
14528
14549
|
"use strict";
|
|
14529
14550
|
|
|
14530
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14551
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14531
14552
|
var $find = (__webpack_require__(85).find);
|
|
14532
14553
|
|
|
14533
14554
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14546,7 +14567,7 @@ exportTypedArrayMethod('find', function find(predicate /* , thisArg */) {
|
|
|
14546
14567
|
|
|
14547
14568
|
"use strict";
|
|
14548
14569
|
|
|
14549
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14570
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14550
14571
|
var $findIndex = (__webpack_require__(85).findIndex);
|
|
14551
14572
|
|
|
14552
14573
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14565,7 +14586,7 @@ exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */
|
|
|
14565
14586
|
|
|
14566
14587
|
"use strict";
|
|
14567
14588
|
|
|
14568
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14589
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14569
14590
|
var $findLast = (__webpack_require__(155).findLast);
|
|
14570
14591
|
|
|
14571
14592
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14584,7 +14605,7 @@ exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */)
|
|
|
14584
14605
|
|
|
14585
14606
|
"use strict";
|
|
14586
14607
|
|
|
14587
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14608
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14588
14609
|
var $findLastIndex = (__webpack_require__(155).findLastIndex);
|
|
14589
14610
|
|
|
14590
14611
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14603,7 +14624,7 @@ exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , th
|
|
|
14603
14624
|
|
|
14604
14625
|
"use strict";
|
|
14605
14626
|
|
|
14606
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14627
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14607
14628
|
var $forEach = (__webpack_require__(85).forEach);
|
|
14608
14629
|
|
|
14609
14630
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14623,7 +14644,7 @@ exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {
|
|
|
14623
14644
|
"use strict";
|
|
14624
14645
|
|
|
14625
14646
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
14626
|
-
var exportTypedArrayStaticMethod = (__webpack_require__(
|
|
14647
|
+
var exportTypedArrayStaticMethod = (__webpack_require__(216).exportTypedArrayStaticMethod);
|
|
14627
14648
|
var typedArrayFrom = __webpack_require__(439);
|
|
14628
14649
|
|
|
14629
14650
|
// `%TypedArray%.from` method
|
|
@@ -14637,7 +14658,7 @@ exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_R
|
|
|
14637
14658
|
|
|
14638
14659
|
"use strict";
|
|
14639
14660
|
|
|
14640
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14661
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14641
14662
|
var $includes = (__webpack_require__(60).includes);
|
|
14642
14663
|
|
|
14643
14664
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14656,7 +14677,7 @@ exportTypedArrayMethod('includes', function includes(searchElement /* , fromInde
|
|
|
14656
14677
|
|
|
14657
14678
|
"use strict";
|
|
14658
14679
|
|
|
14659
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14680
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14660
14681
|
var $indexOf = (__webpack_require__(60).indexOf);
|
|
14661
14682
|
|
|
14662
14683
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14678,7 +14699,7 @@ exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex
|
|
|
14678
14699
|
var global = __webpack_require__(4);
|
|
14679
14700
|
var fails = __webpack_require__(7);
|
|
14680
14701
|
var uncurryThis = __webpack_require__(14);
|
|
14681
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14702
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14682
14703
|
var ArrayIterators = __webpack_require__(169);
|
|
14683
14704
|
var wellKnownSymbol = __webpack_require__(34);
|
|
14684
14705
|
|
|
@@ -14728,7 +14749,7 @@ exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUE
|
|
|
14728
14749
|
|
|
14729
14750
|
"use strict";
|
|
14730
14751
|
|
|
14731
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14752
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14732
14753
|
var uncurryThis = __webpack_require__(14);
|
|
14733
14754
|
|
|
14734
14755
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14748,7 +14769,7 @@ exportTypedArrayMethod('join', function join(separator) {
|
|
|
14748
14769
|
|
|
14749
14770
|
"use strict";
|
|
14750
14771
|
|
|
14751
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14772
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14752
14773
|
var apply = __webpack_require__(96);
|
|
14753
14774
|
var $lastIndexOf = __webpack_require__(176);
|
|
14754
14775
|
|
|
@@ -14769,7 +14790,7 @@ exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fr
|
|
|
14769
14790
|
|
|
14770
14791
|
"use strict";
|
|
14771
14792
|
|
|
14772
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14793
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14773
14794
|
var $map = (__webpack_require__(85).map);
|
|
14774
14795
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
14775
14796
|
|
|
@@ -14791,7 +14812,7 @@ exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {
|
|
|
14791
14812
|
|
|
14792
14813
|
"use strict";
|
|
14793
14814
|
|
|
14794
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14815
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14795
14816
|
var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(435);
|
|
14796
14817
|
|
|
14797
14818
|
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
|
|
@@ -14814,7 +14835,7 @@ exportTypedArrayStaticMethod('of', function of(/* ...items */) {
|
|
|
14814
14835
|
|
|
14815
14836
|
"use strict";
|
|
14816
14837
|
|
|
14817
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14838
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14818
14839
|
var $reduce = (__webpack_require__(182).left);
|
|
14819
14840
|
|
|
14820
14841
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14834,7 +14855,7 @@ exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */
|
|
|
14834
14855
|
|
|
14835
14856
|
"use strict";
|
|
14836
14857
|
|
|
14837
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14858
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14838
14859
|
var $reduceRight = (__webpack_require__(182).right);
|
|
14839
14860
|
|
|
14840
14861
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14854,7 +14875,7 @@ exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initi
|
|
|
14854
14875
|
|
|
14855
14876
|
"use strict";
|
|
14856
14877
|
|
|
14857
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14878
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14858
14879
|
|
|
14859
14880
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
14860
14881
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -14884,7 +14905,7 @@ exportTypedArrayMethod('reverse', function reverse() {
|
|
|
14884
14905
|
|
|
14885
14906
|
var global = __webpack_require__(4);
|
|
14886
14907
|
var call = __webpack_require__(8);
|
|
14887
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14908
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14888
14909
|
var lengthOfArrayLike = __webpack_require__(64);
|
|
14889
14910
|
var toOffset = __webpack_require__(436);
|
|
14890
14911
|
var toIndexedObject = __webpack_require__(40);
|
|
@@ -14933,7 +14954,7 @@ exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
|
|
|
14933
14954
|
|
|
14934
14955
|
"use strict";
|
|
14935
14956
|
|
|
14936
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14957
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14937
14958
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
14938
14959
|
var fails = __webpack_require__(7);
|
|
14939
14960
|
var arraySlice = __webpack_require__(97);
|
|
@@ -14965,7 +14986,7 @@ exportTypedArrayMethod('slice', function slice(start, end) {
|
|
|
14965
14986
|
|
|
14966
14987
|
"use strict";
|
|
14967
14988
|
|
|
14968
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
14989
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14969
14990
|
var $some = (__webpack_require__(85).some);
|
|
14970
14991
|
|
|
14971
14992
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
@@ -14989,7 +15010,7 @@ var uncurryThis = __webpack_require__(87);
|
|
|
14989
15010
|
var fails = __webpack_require__(7);
|
|
14990
15011
|
var aCallable = __webpack_require__(31);
|
|
14991
15012
|
var internalSort = __webpack_require__(189);
|
|
14992
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15013
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
14993
15014
|
var FF = __webpack_require__(190);
|
|
14994
15015
|
var IE_OR_EDGE = __webpack_require__(191);
|
|
14995
15016
|
var V8 = __webpack_require__(28);
|
|
@@ -15061,7 +15082,7 @@ exportTypedArrayMethod('sort', function sort(comparefn) {
|
|
|
15061
15082
|
|
|
15062
15083
|
"use strict";
|
|
15063
15084
|
|
|
15064
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15085
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15065
15086
|
var toLength = __webpack_require__(65);
|
|
15066
15087
|
var toAbsoluteIndex = __webpack_require__(61);
|
|
15067
15088
|
var typedArraySpeciesConstructor = __webpack_require__(456);
|
|
@@ -15092,7 +15113,7 @@ exportTypedArrayMethod('subarray', function subarray(begin, end) {
|
|
|
15092
15113
|
|
|
15093
15114
|
var global = __webpack_require__(4);
|
|
15094
15115
|
var apply = __webpack_require__(96);
|
|
15095
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15116
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15096
15117
|
var fails = __webpack_require__(7);
|
|
15097
15118
|
var arraySlice = __webpack_require__(97);
|
|
15098
15119
|
|
|
@@ -15107,7 +15128,7 @@ var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
|
|
|
15107
15128
|
});
|
|
15108
15129
|
|
|
15109
15130
|
var FORCED = fails(function () {
|
|
15110
|
-
return [1, 2].toLocaleString()
|
|
15131
|
+
return [1, 2].toLocaleString() !== new Int8Array([1, 2]).toLocaleString();
|
|
15111
15132
|
}) || !fails(function () {
|
|
15112
15133
|
Int8Array.prototype.toLocaleString.call([1, 2]);
|
|
15113
15134
|
});
|
|
@@ -15130,7 +15151,7 @@ exportTypedArrayMethod('toLocaleString', function toLocaleString() {
|
|
|
15130
15151
|
"use strict";
|
|
15131
15152
|
|
|
15132
15153
|
var arrayToReversed = __webpack_require__(197);
|
|
15133
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15154
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15134
15155
|
|
|
15135
15156
|
var aTypedArray = ArrayBufferViewCore.aTypedArray;
|
|
15136
15157
|
var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -15149,7 +15170,7 @@ exportTypedArrayMethod('toReversed', function toReversed() {
|
|
|
15149
15170
|
|
|
15150
15171
|
"use strict";
|
|
15151
15172
|
|
|
15152
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15173
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15153
15174
|
var uncurryThis = __webpack_require__(14);
|
|
15154
15175
|
var aCallable = __webpack_require__(31);
|
|
15155
15176
|
var arrayFromConstructorAndList = __webpack_require__(199);
|
|
@@ -15175,7 +15196,7 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
|
|
|
15175
15196
|
|
|
15176
15197
|
"use strict";
|
|
15177
15198
|
|
|
15178
|
-
var exportTypedArrayMethod = (__webpack_require__(
|
|
15199
|
+
var exportTypedArrayMethod = (__webpack_require__(216).exportTypedArrayMethod);
|
|
15179
15200
|
var fails = __webpack_require__(7);
|
|
15180
15201
|
var global = __webpack_require__(4);
|
|
15181
15202
|
var uncurryThis = __webpack_require__(14);
|
|
@@ -15191,7 +15212,7 @@ if (fails(function () { arrayToString.call({}); })) {
|
|
|
15191
15212
|
};
|
|
15192
15213
|
}
|
|
15193
15214
|
|
|
15194
|
-
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString
|
|
15215
|
+
var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString !== arrayToString;
|
|
15195
15216
|
|
|
15196
15217
|
// `%TypedArray%.prototype.toString` method
|
|
15197
15218
|
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring
|
|
@@ -15205,7 +15226,7 @@ exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
|
|
|
15205
15226
|
"use strict";
|
|
15206
15227
|
|
|
15207
15228
|
var arrayWith = __webpack_require__(206);
|
|
15208
|
-
var ArrayBufferViewCore = __webpack_require__(
|
|
15229
|
+
var ArrayBufferViewCore = __webpack_require__(216);
|
|
15209
15230
|
var isBigIntArray = __webpack_require__(440);
|
|
15210
15231
|
var toIntegerOrInfinity = __webpack_require__(62);
|
|
15211
15232
|
var toBigInt = __webpack_require__(441);
|
|
@@ -15303,12 +15324,12 @@ __webpack_require__(485);
|
|
|
15303
15324
|
|
|
15304
15325
|
"use strict";
|
|
15305
15326
|
|
|
15306
|
-
var FREEZING = __webpack_require__(
|
|
15327
|
+
var FREEZING = __webpack_require__(247);
|
|
15307
15328
|
var global = __webpack_require__(4);
|
|
15308
15329
|
var uncurryThis = __webpack_require__(14);
|
|
15309
15330
|
var defineBuiltIns = __webpack_require__(210);
|
|
15310
|
-
var InternalMetadataModule = __webpack_require__(
|
|
15311
|
-
var collection = __webpack_require__(
|
|
15331
|
+
var InternalMetadataModule = __webpack_require__(244);
|
|
15332
|
+
var collection = __webpack_require__(243);
|
|
15312
15333
|
var collectionWeak = __webpack_require__(486);
|
|
15313
15334
|
var isObject = __webpack_require__(20);
|
|
15314
15335
|
var enforceInternalState = (__webpack_require__(52).enforce);
|
|
@@ -15405,8 +15426,8 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) {
|
|
|
15405
15426
|
else if (isSealed(key)) arrayIntegrityLevel = SEALED;
|
|
15406
15427
|
}
|
|
15407
15428
|
nativeSet(this, key, value);
|
|
15408
|
-
if (arrayIntegrityLevel
|
|
15409
|
-
if (arrayIntegrityLevel
|
|
15429
|
+
if (arrayIntegrityLevel === FROZEN) freeze(key);
|
|
15430
|
+
if (arrayIntegrityLevel === SEALED) seal(key);
|
|
15410
15431
|
return this;
|
|
15411
15432
|
}
|
|
15412
15433
|
});
|
|
@@ -15421,7 +15442,7 @@ if (NATIVE_WEAK_MAP) if (IS_IE11) {
|
|
|
15421
15442
|
|
|
15422
15443
|
var uncurryThis = __webpack_require__(14);
|
|
15423
15444
|
var defineBuiltIns = __webpack_require__(210);
|
|
15424
|
-
var getWeakData = (__webpack_require__(
|
|
15445
|
+
var getWeakData = (__webpack_require__(244).getWeakData);
|
|
15425
15446
|
var anInstance = __webpack_require__(211);
|
|
15426
15447
|
var anObject = __webpack_require__(47);
|
|
15427
15448
|
var isNullOrUndefined = __webpack_require__(17);
|
|
@@ -15567,7 +15588,7 @@ __webpack_require__(488);
|
|
|
15567
15588
|
|
|
15568
15589
|
"use strict";
|
|
15569
15590
|
|
|
15570
|
-
var collection = __webpack_require__(
|
|
15591
|
+
var collection = __webpack_require__(243);
|
|
15571
15592
|
var collectionWeak = __webpack_require__(486);
|
|
15572
15593
|
|
|
15573
15594
|
// `WeakSet` constructor
|
|
@@ -15630,10 +15651,10 @@ $({ global: true, bind: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_E
|
|
|
15630
15651
|
var position = 0;
|
|
15631
15652
|
var bc = 0;
|
|
15632
15653
|
var chr, bs;
|
|
15633
|
-
if (string.length % 4
|
|
15654
|
+
if (string.length % 4 === 0) {
|
|
15634
15655
|
string = replace(string, finalEq, '');
|
|
15635
15656
|
}
|
|
15636
|
-
if (string.length % 4
|
|
15657
|
+
if (string.length % 4 === 1 || exec(disallowed, string)) {
|
|
15637
15658
|
throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');
|
|
15638
15659
|
}
|
|
15639
15660
|
while (chr = charAt(string, position++)) {
|
|
@@ -15888,7 +15909,7 @@ var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {
|
|
|
15888
15909
|
// eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe
|
|
15889
15910
|
new MessageChannel().port1.postMessage(new WeakMap());
|
|
15890
15911
|
} catch (error) {
|
|
15891
|
-
if (error.name
|
|
15912
|
+
if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor;
|
|
15892
15913
|
}
|
|
15893
15914
|
})();
|
|
15894
15915
|
var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;
|
|
@@ -16211,7 +16232,7 @@ var Function = global.Function;
|
|
|
16211
16232
|
// dirty IE9- and Bun 0.3.0- checks
|
|
16212
16233
|
var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {
|
|
16213
16234
|
var version = global.Bun.version.split('.');
|
|
16214
|
-
return version.length < 3 || version[0]
|
|
16235
|
+
return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0');
|
|
16215
16236
|
})();
|
|
16216
16237
|
|
|
16217
16238
|
// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix
|
|
@@ -16385,7 +16406,7 @@ var checkBasicSemantic = function (structuredCloneImplementation) {
|
|
|
16385
16406
|
var set1 = new global.Set([7]);
|
|
16386
16407
|
var set2 = structuredCloneImplementation(set1);
|
|
16387
16408
|
var number = structuredCloneImplementation(Object(7));
|
|
16388
|
-
return set2
|
|
16409
|
+
return set2 === set1 || !set2.has(7) || typeof number != 'object' || number !== 7;
|
|
16389
16410
|
}) && structuredCloneImplementation;
|
|
16390
16411
|
};
|
|
16391
16412
|
|
|
@@ -16401,7 +16422,7 @@ var checkErrorsCloning = function (structuredCloneImplementation, $Error) {
|
|
|
16401
16422
|
var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) {
|
|
16402
16423
|
return !fails(function () {
|
|
16403
16424
|
var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
|
|
16404
|
-
return test.name
|
|
16425
|
+
return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3;
|
|
16405
16426
|
});
|
|
16406
16427
|
};
|
|
16407
16428
|
|
|
@@ -16763,7 +16784,7 @@ var structuredCloneInternal = function (value, map, transferredBuffers) {
|
|
|
16763
16784
|
if (hasOwn(value, 'cause')) {
|
|
16764
16785
|
createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map, transferredBuffers));
|
|
16765
16786
|
}
|
|
16766
|
-
if (name
|
|
16787
|
+
if (name === 'AggregateError') {
|
|
16767
16788
|
cloned.errors = structuredCloneInternal(value.errors, map, transferredBuffers);
|
|
16768
16789
|
} // break omitted
|
|
16769
16790
|
case 'DOMException':
|
|
@@ -16831,7 +16852,7 @@ var replacePlaceholders = function (value, map) {
|
|
|
16831
16852
|
if (hasOwn(value, 'cause')) {
|
|
16832
16853
|
value.cause = replacePlaceholders(value.cause, map);
|
|
16833
16854
|
}
|
|
16834
|
-
if (value.name
|
|
16855
|
+
if (value.name === 'AggregateError') {
|
|
16835
16856
|
value.errors = replacePlaceholders(value.errors, map);
|
|
16836
16857
|
} // break omitted
|
|
16837
16858
|
case 'DOMException':
|
|
@@ -17024,7 +17045,7 @@ module.exports = !!structuredClone && !fails(function () {
|
|
|
17024
17045
|
if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;
|
|
17025
17046
|
var buffer = new ArrayBuffer(8);
|
|
17026
17047
|
var clone = structuredClone(buffer, { transfer: [buffer] });
|
|
17027
|
-
return buffer.byteLength
|
|
17048
|
+
return buffer.byteLength !== 0 || clone.byteLength !== 8;
|
|
17028
17049
|
});
|
|
17029
17050
|
|
|
17030
17051
|
|
|
@@ -17165,7 +17186,7 @@ var EOF;
|
|
|
17165
17186
|
var parseIPv4 = function (input) {
|
|
17166
17187
|
var parts = split(input, '.');
|
|
17167
17188
|
var partsLength, numbers, index, part, radix, number, ipv4;
|
|
17168
|
-
if (parts.length && parts[parts.length - 1]
|
|
17189
|
+
if (parts.length && parts[parts.length - 1] === '') {
|
|
17169
17190
|
parts.length--;
|
|
17170
17191
|
}
|
|
17171
17192
|
partsLength = parts.length;
|
|
@@ -17173,23 +17194,23 @@ var parseIPv4 = function (input) {
|
|
|
17173
17194
|
numbers = [];
|
|
17174
17195
|
for (index = 0; index < partsLength; index++) {
|
|
17175
17196
|
part = parts[index];
|
|
17176
|
-
if (part
|
|
17197
|
+
if (part === '') return input;
|
|
17177
17198
|
radix = 10;
|
|
17178
|
-
if (part.length > 1 && charAt(part, 0)
|
|
17199
|
+
if (part.length > 1 && charAt(part, 0) === '0') {
|
|
17179
17200
|
radix = exec(HEX_START, part) ? 16 : 8;
|
|
17180
|
-
part = stringSlice(part, radix
|
|
17201
|
+
part = stringSlice(part, radix === 8 ? 1 : 2);
|
|
17181
17202
|
}
|
|
17182
17203
|
if (part === '') {
|
|
17183
17204
|
number = 0;
|
|
17184
17205
|
} else {
|
|
17185
|
-
if (!exec(radix
|
|
17206
|
+
if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input;
|
|
17186
17207
|
number = parseInt(part, radix);
|
|
17187
17208
|
}
|
|
17188
17209
|
push(numbers, number);
|
|
17189
17210
|
}
|
|
17190
17211
|
for (index = 0; index < partsLength; index++) {
|
|
17191
17212
|
number = numbers[index];
|
|
17192
|
-
if (index
|
|
17213
|
+
if (index === partsLength - 1) {
|
|
17193
17214
|
if (number >= pow(256, 5 - partsLength)) return null;
|
|
17194
17215
|
} else if (number > 255) return null;
|
|
17195
17216
|
}
|
|
@@ -17213,15 +17234,15 @@ var parseIPv6 = function (input) {
|
|
|
17213
17234
|
return charAt(input, pointer);
|
|
17214
17235
|
};
|
|
17215
17236
|
|
|
17216
|
-
if (chr()
|
|
17217
|
-
if (charAt(input, 1)
|
|
17237
|
+
if (chr() === ':') {
|
|
17238
|
+
if (charAt(input, 1) !== ':') return;
|
|
17218
17239
|
pointer += 2;
|
|
17219
17240
|
pieceIndex++;
|
|
17220
17241
|
compress = pieceIndex;
|
|
17221
17242
|
}
|
|
17222
17243
|
while (chr()) {
|
|
17223
|
-
if (pieceIndex
|
|
17224
|
-
if (chr()
|
|
17244
|
+
if (pieceIndex === 8) return;
|
|
17245
|
+
if (chr() === ':') {
|
|
17225
17246
|
if (compress !== null) return;
|
|
17226
17247
|
pointer++;
|
|
17227
17248
|
pieceIndex++;
|
|
@@ -17234,33 +17255,33 @@ var parseIPv6 = function (input) {
|
|
|
17234
17255
|
pointer++;
|
|
17235
17256
|
length++;
|
|
17236
17257
|
}
|
|
17237
|
-
if (chr()
|
|
17238
|
-
if (length
|
|
17258
|
+
if (chr() === '.') {
|
|
17259
|
+
if (length === 0) return;
|
|
17239
17260
|
pointer -= length;
|
|
17240
17261
|
if (pieceIndex > 6) return;
|
|
17241
17262
|
numbersSeen = 0;
|
|
17242
17263
|
while (chr()) {
|
|
17243
17264
|
ipv4Piece = null;
|
|
17244
17265
|
if (numbersSeen > 0) {
|
|
17245
|
-
if (chr()
|
|
17266
|
+
if (chr() === '.' && numbersSeen < 4) pointer++;
|
|
17246
17267
|
else return;
|
|
17247
17268
|
}
|
|
17248
17269
|
if (!exec(DIGIT, chr())) return;
|
|
17249
17270
|
while (exec(DIGIT, chr())) {
|
|
17250
17271
|
number = parseInt(chr(), 10);
|
|
17251
17272
|
if (ipv4Piece === null) ipv4Piece = number;
|
|
17252
|
-
else if (ipv4Piece
|
|
17273
|
+
else if (ipv4Piece === 0) return;
|
|
17253
17274
|
else ipv4Piece = ipv4Piece * 10 + number;
|
|
17254
17275
|
if (ipv4Piece > 255) return;
|
|
17255
17276
|
pointer++;
|
|
17256
17277
|
}
|
|
17257
17278
|
address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
|
|
17258
17279
|
numbersSeen++;
|
|
17259
|
-
if (numbersSeen
|
|
17280
|
+
if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;
|
|
17260
17281
|
}
|
|
17261
|
-
if (numbersSeen
|
|
17282
|
+
if (numbersSeen !== 4) return;
|
|
17262
17283
|
break;
|
|
17263
|
-
} else if (chr()
|
|
17284
|
+
} else if (chr() === ':') {
|
|
17264
17285
|
pointer++;
|
|
17265
17286
|
if (!chr()) return;
|
|
17266
17287
|
} else if (chr()) return;
|
|
@@ -17269,12 +17290,12 @@ var parseIPv6 = function (input) {
|
|
|
17269
17290
|
if (compress !== null) {
|
|
17270
17291
|
swaps = pieceIndex - compress;
|
|
17271
17292
|
pieceIndex = 7;
|
|
17272
|
-
while (pieceIndex
|
|
17293
|
+
while (pieceIndex !== 0 && swaps > 0) {
|
|
17273
17294
|
swap = address[pieceIndex];
|
|
17274
17295
|
address[pieceIndex--] = address[compress + swaps - 1];
|
|
17275
17296
|
address[compress + --swaps] = swap;
|
|
17276
17297
|
}
|
|
17277
|
-
} else if (pieceIndex
|
|
17298
|
+
} else if (pieceIndex !== 8) return;
|
|
17278
17299
|
return address;
|
|
17279
17300
|
};
|
|
17280
17301
|
|
|
@@ -17362,15 +17383,15 @@ var specialSchemes = {
|
|
|
17362
17383
|
// https://url.spec.whatwg.org/#windows-drive-letter
|
|
17363
17384
|
var isWindowsDriveLetter = function (string, normalized) {
|
|
17364
17385
|
var second;
|
|
17365
|
-
return string.length
|
|
17366
|
-
&& ((second = charAt(string, 1))
|
|
17386
|
+
return string.length === 2 && exec(ALPHA, charAt(string, 0))
|
|
17387
|
+
&& ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));
|
|
17367
17388
|
};
|
|
17368
17389
|
|
|
17369
17390
|
// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
|
|
17370
17391
|
var startsWithWindowsDriveLetter = function (string) {
|
|
17371
17392
|
var third;
|
|
17372
17393
|
return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
|
|
17373
|
-
string.length
|
|
17394
|
+
string.length === 2 ||
|
|
17374
17395
|
((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
|
|
17375
17396
|
);
|
|
17376
17397
|
};
|
|
@@ -17474,27 +17495,27 @@ URLState.prototype = {
|
|
|
17474
17495
|
break;
|
|
17475
17496
|
|
|
17476
17497
|
case SCHEME:
|
|
17477
|
-
if (chr && (exec(ALPHANUMERIC, chr) || chr
|
|
17498
|
+
if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) {
|
|
17478
17499
|
buffer += toLowerCase(chr);
|
|
17479
|
-
} else if (chr
|
|
17500
|
+
} else if (chr === ':') {
|
|
17480
17501
|
if (stateOverride && (
|
|
17481
|
-
(url.isSpecial()
|
|
17482
|
-
(buffer
|
|
17483
|
-
(url.scheme
|
|
17502
|
+
(url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||
|
|
17503
|
+
(buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||
|
|
17504
|
+
(url.scheme === 'file' && !url.host)
|
|
17484
17505
|
)) return;
|
|
17485
17506
|
url.scheme = buffer;
|
|
17486
17507
|
if (stateOverride) {
|
|
17487
|
-
if (url.isSpecial() && specialSchemes[url.scheme]
|
|
17508
|
+
if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;
|
|
17488
17509
|
return;
|
|
17489
17510
|
}
|
|
17490
17511
|
buffer = '';
|
|
17491
|
-
if (url.scheme
|
|
17512
|
+
if (url.scheme === 'file') {
|
|
17492
17513
|
state = FILE;
|
|
17493
|
-
} else if (url.isSpecial() && base && base.scheme
|
|
17514
|
+
} else if (url.isSpecial() && base && base.scheme === url.scheme) {
|
|
17494
17515
|
state = SPECIAL_RELATIVE_OR_AUTHORITY;
|
|
17495
17516
|
} else if (url.isSpecial()) {
|
|
17496
17517
|
state = SPECIAL_AUTHORITY_SLASHES;
|
|
17497
|
-
} else if (codePoints[pointer + 1]
|
|
17518
|
+
} else if (codePoints[pointer + 1] === '/') {
|
|
17498
17519
|
state = PATH_OR_AUTHORITY;
|
|
17499
17520
|
pointer++;
|
|
17500
17521
|
} else {
|
|
@@ -17511,8 +17532,8 @@ URLState.prototype = {
|
|
|
17511
17532
|
break;
|
|
17512
17533
|
|
|
17513
17534
|
case NO_SCHEME:
|
|
17514
|
-
if (!base || (base.cannotBeABaseURL && chr
|
|
17515
|
-
if (base.cannotBeABaseURL && chr
|
|
17535
|
+
if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;
|
|
17536
|
+
if (base.cannotBeABaseURL && chr === '#') {
|
|
17516
17537
|
url.scheme = base.scheme;
|
|
17517
17538
|
url.path = arraySlice(base.path);
|
|
17518
17539
|
url.query = base.query;
|
|
@@ -17521,11 +17542,11 @@ URLState.prototype = {
|
|
|
17521
17542
|
state = FRAGMENT;
|
|
17522
17543
|
break;
|
|
17523
17544
|
}
|
|
17524
|
-
state = base.scheme
|
|
17545
|
+
state = base.scheme === 'file' ? FILE : RELATIVE;
|
|
17525
17546
|
continue;
|
|
17526
17547
|
|
|
17527
17548
|
case SPECIAL_RELATIVE_OR_AUTHORITY:
|
|
17528
|
-
if (chr
|
|
17549
|
+
if (chr === '/' && codePoints[pointer + 1] === '/') {
|
|
17529
17550
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17530
17551
|
pointer++;
|
|
17531
17552
|
} else {
|
|
@@ -17534,7 +17555,7 @@ URLState.prototype = {
|
|
|
17534
17555
|
} break;
|
|
17535
17556
|
|
|
17536
17557
|
case PATH_OR_AUTHORITY:
|
|
17537
|
-
if (chr
|
|
17558
|
+
if (chr === '/') {
|
|
17538
17559
|
state = AUTHORITY;
|
|
17539
17560
|
break;
|
|
17540
17561
|
} else {
|
|
@@ -17544,16 +17565,16 @@ URLState.prototype = {
|
|
|
17544
17565
|
|
|
17545
17566
|
case RELATIVE:
|
|
17546
17567
|
url.scheme = base.scheme;
|
|
17547
|
-
if (chr
|
|
17568
|
+
if (chr === EOF) {
|
|
17548
17569
|
url.username = base.username;
|
|
17549
17570
|
url.password = base.password;
|
|
17550
17571
|
url.host = base.host;
|
|
17551
17572
|
url.port = base.port;
|
|
17552
17573
|
url.path = arraySlice(base.path);
|
|
17553
17574
|
url.query = base.query;
|
|
17554
|
-
} else if (chr
|
|
17575
|
+
} else if (chr === '/' || (chr === '\\' && url.isSpecial())) {
|
|
17555
17576
|
state = RELATIVE_SLASH;
|
|
17556
|
-
} else if (chr
|
|
17577
|
+
} else if (chr === '?') {
|
|
17557
17578
|
url.username = base.username;
|
|
17558
17579
|
url.password = base.password;
|
|
17559
17580
|
url.host = base.host;
|
|
@@ -17561,7 +17582,7 @@ URLState.prototype = {
|
|
|
17561
17582
|
url.path = arraySlice(base.path);
|
|
17562
17583
|
url.query = '';
|
|
17563
17584
|
state = QUERY;
|
|
17564
|
-
} else if (chr
|
|
17585
|
+
} else if (chr === '#') {
|
|
17565
17586
|
url.username = base.username;
|
|
17566
17587
|
url.password = base.password;
|
|
17567
17588
|
url.host = base.host;
|
|
@@ -17582,9 +17603,9 @@ URLState.prototype = {
|
|
|
17582
17603
|
} break;
|
|
17583
17604
|
|
|
17584
17605
|
case RELATIVE_SLASH:
|
|
17585
|
-
if (url.isSpecial() && (chr
|
|
17606
|
+
if (url.isSpecial() && (chr === '/' || chr === '\\')) {
|
|
17586
17607
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17587
|
-
} else if (chr
|
|
17608
|
+
} else if (chr === '/') {
|
|
17588
17609
|
state = AUTHORITY;
|
|
17589
17610
|
} else {
|
|
17590
17611
|
url.username = base.username;
|
|
@@ -17597,24 +17618,24 @@ URLState.prototype = {
|
|
|
17597
17618
|
|
|
17598
17619
|
case SPECIAL_AUTHORITY_SLASHES:
|
|
17599
17620
|
state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
|
|
17600
|
-
if (chr
|
|
17621
|
+
if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue;
|
|
17601
17622
|
pointer++;
|
|
17602
17623
|
break;
|
|
17603
17624
|
|
|
17604
17625
|
case SPECIAL_AUTHORITY_IGNORE_SLASHES:
|
|
17605
|
-
if (chr
|
|
17626
|
+
if (chr !== '/' && chr !== '\\') {
|
|
17606
17627
|
state = AUTHORITY;
|
|
17607
17628
|
continue;
|
|
17608
17629
|
} break;
|
|
17609
17630
|
|
|
17610
17631
|
case AUTHORITY:
|
|
17611
|
-
if (chr
|
|
17632
|
+
if (chr === '@') {
|
|
17612
17633
|
if (seenAt) buffer = '%40' + buffer;
|
|
17613
17634
|
seenAt = true;
|
|
17614
17635
|
bufferCodePoints = arrayFrom(buffer);
|
|
17615
17636
|
for (var i = 0; i < bufferCodePoints.length; i++) {
|
|
17616
17637
|
var codePoint = bufferCodePoints[i];
|
|
17617
|
-
if (codePoint
|
|
17638
|
+
if (codePoint === ':' && !seenPasswordToken) {
|
|
17618
17639
|
seenPasswordToken = true;
|
|
17619
17640
|
continue;
|
|
17620
17641
|
}
|
|
@@ -17624,10 +17645,10 @@ URLState.prototype = {
|
|
|
17624
17645
|
}
|
|
17625
17646
|
buffer = '';
|
|
17626
17647
|
} else if (
|
|
17627
|
-
chr
|
|
17628
|
-
(chr
|
|
17648
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17649
|
+
(chr === '\\' && url.isSpecial())
|
|
17629
17650
|
) {
|
|
17630
|
-
if (seenAt && buffer
|
|
17651
|
+
if (seenAt && buffer === '') return INVALID_AUTHORITY;
|
|
17631
17652
|
pointer -= arrayFrom(buffer).length + 1;
|
|
17632
17653
|
buffer = '';
|
|
17633
17654
|
state = HOST;
|
|
@@ -17636,22 +17657,22 @@ URLState.prototype = {
|
|
|
17636
17657
|
|
|
17637
17658
|
case HOST:
|
|
17638
17659
|
case HOSTNAME:
|
|
17639
|
-
if (stateOverride && url.scheme
|
|
17660
|
+
if (stateOverride && url.scheme === 'file') {
|
|
17640
17661
|
state = FILE_HOST;
|
|
17641
17662
|
continue;
|
|
17642
|
-
} else if (chr
|
|
17643
|
-
if (buffer
|
|
17663
|
+
} else if (chr === ':' && !seenBracket) {
|
|
17664
|
+
if (buffer === '') return INVALID_HOST;
|
|
17644
17665
|
failure = url.parseHost(buffer);
|
|
17645
17666
|
if (failure) return failure;
|
|
17646
17667
|
buffer = '';
|
|
17647
17668
|
state = PORT;
|
|
17648
|
-
if (stateOverride
|
|
17669
|
+
if (stateOverride === HOSTNAME) return;
|
|
17649
17670
|
} else if (
|
|
17650
|
-
chr
|
|
17651
|
-
(chr
|
|
17671
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17672
|
+
(chr === '\\' && url.isSpecial())
|
|
17652
17673
|
) {
|
|
17653
|
-
if (url.isSpecial() && buffer
|
|
17654
|
-
if (stateOverride && buffer
|
|
17674
|
+
if (url.isSpecial() && buffer === '') return INVALID_HOST;
|
|
17675
|
+
if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;
|
|
17655
17676
|
failure = url.parseHost(buffer);
|
|
17656
17677
|
if (failure) return failure;
|
|
17657
17678
|
buffer = '';
|
|
@@ -17659,8 +17680,8 @@ URLState.prototype = {
|
|
|
17659
17680
|
if (stateOverride) return;
|
|
17660
17681
|
continue;
|
|
17661
17682
|
} else {
|
|
17662
|
-
if (chr
|
|
17663
|
-
else if (chr
|
|
17683
|
+
if (chr === '[') seenBracket = true;
|
|
17684
|
+
else if (chr === ']') seenBracket = false;
|
|
17664
17685
|
buffer += chr;
|
|
17665
17686
|
} break;
|
|
17666
17687
|
|
|
@@ -17668,11 +17689,11 @@ URLState.prototype = {
|
|
|
17668
17689
|
if (exec(DIGIT, chr)) {
|
|
17669
17690
|
buffer += chr;
|
|
17670
17691
|
} else if (
|
|
17671
|
-
chr
|
|
17672
|
-
(chr
|
|
17692
|
+
chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
|
|
17693
|
+
(chr === '\\' && url.isSpecial()) ||
|
|
17673
17694
|
stateOverride
|
|
17674
17695
|
) {
|
|
17675
|
-
if (buffer
|
|
17696
|
+
if (buffer !== '') {
|
|
17676
17697
|
var port = parseInt(buffer, 10);
|
|
17677
17698
|
if (port > 0xFFFF) return INVALID_PORT;
|
|
17678
17699
|
url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
|
|
@@ -17686,31 +17707,35 @@ URLState.prototype = {
|
|
|
17686
17707
|
|
|
17687
17708
|
case FILE:
|
|
17688
17709
|
url.scheme = 'file';
|
|
17689
|
-
if (chr
|
|
17690
|
-
else if (base && base.scheme
|
|
17691
|
-
|
|
17692
|
-
|
|
17693
|
-
url.path = arraySlice(base.path);
|
|
17694
|
-
url.query = base.query;
|
|
17695
|
-
} else if (chr == '?') {
|
|
17696
|
-
url.host = base.host;
|
|
17697
|
-
url.path = arraySlice(base.path);
|
|
17698
|
-
url.query = '';
|
|
17699
|
-
state = QUERY;
|
|
17700
|
-
} else if (chr == '#') {
|
|
17701
|
-
url.host = base.host;
|
|
17702
|
-
url.path = arraySlice(base.path);
|
|
17703
|
-
url.query = base.query;
|
|
17704
|
-
url.fragment = '';
|
|
17705
|
-
state = FRAGMENT;
|
|
17706
|
-
} else {
|
|
17707
|
-
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17710
|
+
if (chr === '/' || chr === '\\') state = FILE_SLASH;
|
|
17711
|
+
else if (base && base.scheme === 'file') {
|
|
17712
|
+
switch (chr) {
|
|
17713
|
+
case EOF:
|
|
17708
17714
|
url.host = base.host;
|
|
17709
17715
|
url.path = arraySlice(base.path);
|
|
17710
|
-
url.
|
|
17711
|
-
|
|
17712
|
-
|
|
17713
|
-
|
|
17716
|
+
url.query = base.query;
|
|
17717
|
+
break;
|
|
17718
|
+
case '?':
|
|
17719
|
+
url.host = base.host;
|
|
17720
|
+
url.path = arraySlice(base.path);
|
|
17721
|
+
url.query = '';
|
|
17722
|
+
state = QUERY;
|
|
17723
|
+
break;
|
|
17724
|
+
case '#':
|
|
17725
|
+
url.host = base.host;
|
|
17726
|
+
url.path = arraySlice(base.path);
|
|
17727
|
+
url.query = base.query;
|
|
17728
|
+
url.fragment = '';
|
|
17729
|
+
state = FRAGMENT;
|
|
17730
|
+
break;
|
|
17731
|
+
default:
|
|
17732
|
+
if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17733
|
+
url.host = base.host;
|
|
17734
|
+
url.path = arraySlice(base.path);
|
|
17735
|
+
url.shortenPath();
|
|
17736
|
+
}
|
|
17737
|
+
state = PATH;
|
|
17738
|
+
continue;
|
|
17714
17739
|
}
|
|
17715
17740
|
} else {
|
|
17716
17741
|
state = PATH;
|
|
@@ -17718,11 +17743,11 @@ URLState.prototype = {
|
|
|
17718
17743
|
} break;
|
|
17719
17744
|
|
|
17720
17745
|
case FILE_SLASH:
|
|
17721
|
-
if (chr
|
|
17746
|
+
if (chr === '/' || chr === '\\') {
|
|
17722
17747
|
state = FILE_HOST;
|
|
17723
17748
|
break;
|
|
17724
17749
|
}
|
|
17725
|
-
if (base && base.scheme
|
|
17750
|
+
if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
|
|
17726
17751
|
if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
|
|
17727
17752
|
else url.host = base.host;
|
|
17728
17753
|
}
|
|
@@ -17730,17 +17755,17 @@ URLState.prototype = {
|
|
|
17730
17755
|
continue;
|
|
17731
17756
|
|
|
17732
17757
|
case FILE_HOST:
|
|
17733
|
-
if (chr
|
|
17758
|
+
if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') {
|
|
17734
17759
|
if (!stateOverride && isWindowsDriveLetter(buffer)) {
|
|
17735
17760
|
state = PATH;
|
|
17736
|
-
} else if (buffer
|
|
17761
|
+
} else if (buffer === '') {
|
|
17737
17762
|
url.host = '';
|
|
17738
17763
|
if (stateOverride) return;
|
|
17739
17764
|
state = PATH_START;
|
|
17740
17765
|
} else {
|
|
17741
17766
|
failure = url.parseHost(buffer);
|
|
17742
17767
|
if (failure) return failure;
|
|
17743
|
-
if (url.host
|
|
17768
|
+
if (url.host === 'localhost') url.host = '';
|
|
17744
17769
|
if (stateOverride) return;
|
|
17745
17770
|
buffer = '';
|
|
17746
17771
|
state = PATH_START;
|
|
@@ -17751,50 +17776,50 @@ URLState.prototype = {
|
|
|
17751
17776
|
case PATH_START:
|
|
17752
17777
|
if (url.isSpecial()) {
|
|
17753
17778
|
state = PATH;
|
|
17754
|
-
if (chr
|
|
17755
|
-
} else if (!stateOverride && chr
|
|
17779
|
+
if (chr !== '/' && chr !== '\\') continue;
|
|
17780
|
+
} else if (!stateOverride && chr === '?') {
|
|
17756
17781
|
url.query = '';
|
|
17757
17782
|
state = QUERY;
|
|
17758
|
-
} else if (!stateOverride && chr
|
|
17783
|
+
} else if (!stateOverride && chr === '#') {
|
|
17759
17784
|
url.fragment = '';
|
|
17760
17785
|
state = FRAGMENT;
|
|
17761
|
-
} else if (chr
|
|
17786
|
+
} else if (chr !== EOF) {
|
|
17762
17787
|
state = PATH;
|
|
17763
|
-
if (chr
|
|
17788
|
+
if (chr !== '/') continue;
|
|
17764
17789
|
} break;
|
|
17765
17790
|
|
|
17766
17791
|
case PATH:
|
|
17767
17792
|
if (
|
|
17768
|
-
chr
|
|
17769
|
-
(chr
|
|
17770
|
-
(!stateOverride && (chr
|
|
17793
|
+
chr === EOF || chr === '/' ||
|
|
17794
|
+
(chr === '\\' && url.isSpecial()) ||
|
|
17795
|
+
(!stateOverride && (chr === '?' || chr === '#'))
|
|
17771
17796
|
) {
|
|
17772
17797
|
if (isDoubleDot(buffer)) {
|
|
17773
17798
|
url.shortenPath();
|
|
17774
|
-
if (chr
|
|
17799
|
+
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
|
|
17775
17800
|
push(url.path, '');
|
|
17776
17801
|
}
|
|
17777
17802
|
} else if (isSingleDot(buffer)) {
|
|
17778
|
-
if (chr
|
|
17803
|
+
if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
|
|
17779
17804
|
push(url.path, '');
|
|
17780
17805
|
}
|
|
17781
17806
|
} else {
|
|
17782
|
-
if (url.scheme
|
|
17807
|
+
if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
|
|
17783
17808
|
if (url.host) url.host = '';
|
|
17784
17809
|
buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
|
|
17785
17810
|
}
|
|
17786
17811
|
push(url.path, buffer);
|
|
17787
17812
|
}
|
|
17788
17813
|
buffer = '';
|
|
17789
|
-
if (url.scheme
|
|
17814
|
+
if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {
|
|
17790
17815
|
while (url.path.length > 1 && url.path[0] === '') {
|
|
17791
17816
|
shift(url.path);
|
|
17792
17817
|
}
|
|
17793
17818
|
}
|
|
17794
|
-
if (chr
|
|
17819
|
+
if (chr === '?') {
|
|
17795
17820
|
url.query = '';
|
|
17796
17821
|
state = QUERY;
|
|
17797
|
-
} else if (chr
|
|
17822
|
+
} else if (chr === '#') {
|
|
17798
17823
|
url.fragment = '';
|
|
17799
17824
|
state = FRAGMENT;
|
|
17800
17825
|
}
|
|
@@ -17803,28 +17828,28 @@ URLState.prototype = {
|
|
|
17803
17828
|
} break;
|
|
17804
17829
|
|
|
17805
17830
|
case CANNOT_BE_A_BASE_URL_PATH:
|
|
17806
|
-
if (chr
|
|
17831
|
+
if (chr === '?') {
|
|
17807
17832
|
url.query = '';
|
|
17808
17833
|
state = QUERY;
|
|
17809
|
-
} else if (chr
|
|
17834
|
+
} else if (chr === '#') {
|
|
17810
17835
|
url.fragment = '';
|
|
17811
17836
|
state = FRAGMENT;
|
|
17812
|
-
} else if (chr
|
|
17837
|
+
} else if (chr !== EOF) {
|
|
17813
17838
|
url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
|
|
17814
17839
|
} break;
|
|
17815
17840
|
|
|
17816
17841
|
case QUERY:
|
|
17817
|
-
if (!stateOverride && chr
|
|
17842
|
+
if (!stateOverride && chr === '#') {
|
|
17818
17843
|
url.fragment = '';
|
|
17819
17844
|
state = FRAGMENT;
|
|
17820
|
-
} else if (chr
|
|
17821
|
-
if (chr
|
|
17822
|
-
else if (chr
|
|
17845
|
+
} else if (chr !== EOF) {
|
|
17846
|
+
if (chr === "'" && url.isSpecial()) url.query += '%27';
|
|
17847
|
+
else if (chr === '#') url.query += '%23';
|
|
17823
17848
|
else url.query += percentEncode(chr, C0ControlPercentEncodeSet);
|
|
17824
17849
|
} break;
|
|
17825
17850
|
|
|
17826
17851
|
case FRAGMENT:
|
|
17827
|
-
if (chr
|
|
17852
|
+
if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
|
|
17828
17853
|
break;
|
|
17829
17854
|
}
|
|
17830
17855
|
|
|
@@ -17834,8 +17859,8 @@ URLState.prototype = {
|
|
|
17834
17859
|
// https://url.spec.whatwg.org/#host-parsing
|
|
17835
17860
|
parseHost: function (input) {
|
|
17836
17861
|
var result, codePoints, index;
|
|
17837
|
-
if (charAt(input, 0)
|
|
17838
|
-
if (charAt(input, input.length - 1)
|
|
17862
|
+
if (charAt(input, 0) === '[') {
|
|
17863
|
+
if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;
|
|
17839
17864
|
result = parseIPv6(stringSlice(input, 1, -1));
|
|
17840
17865
|
if (!result) return INVALID_HOST;
|
|
17841
17866
|
this.host = result;
|
|
@@ -17858,11 +17883,11 @@ URLState.prototype = {
|
|
|
17858
17883
|
},
|
|
17859
17884
|
// https://url.spec.whatwg.org/#cannot-have-a-username-password-port
|
|
17860
17885
|
cannotHaveUsernamePasswordPort: function () {
|
|
17861
|
-
return !this.host || this.cannotBeABaseURL || this.scheme
|
|
17886
|
+
return !this.host || this.cannotBeABaseURL || this.scheme === 'file';
|
|
17862
17887
|
},
|
|
17863
17888
|
// https://url.spec.whatwg.org/#include-credentials
|
|
17864
17889
|
includesCredentials: function () {
|
|
17865
|
-
return this.username
|
|
17890
|
+
return this.username !== '' || this.password !== '';
|
|
17866
17891
|
},
|
|
17867
17892
|
// https://url.spec.whatwg.org/#is-special
|
|
17868
17893
|
isSpecial: function () {
|
|
@@ -17872,7 +17897,7 @@ URLState.prototype = {
|
|
|
17872
17897
|
shortenPath: function () {
|
|
17873
17898
|
var path = this.path;
|
|
17874
17899
|
var pathSize = path.length;
|
|
17875
|
-
if (pathSize && (this.scheme
|
|
17900
|
+
if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {
|
|
17876
17901
|
path.length--;
|
|
17877
17902
|
}
|
|
17878
17903
|
},
|
|
@@ -17895,7 +17920,7 @@ URLState.prototype = {
|
|
|
17895
17920
|
}
|
|
17896
17921
|
output += serializeHost(host);
|
|
17897
17922
|
if (port !== null) output += ':' + port;
|
|
17898
|
-
} else if (scheme
|
|
17923
|
+
} else if (scheme === 'file') output += '//';
|
|
17899
17924
|
output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
|
|
17900
17925
|
if (query !== null) output += '?' + query;
|
|
17901
17926
|
if (fragment !== null) output += '#' + fragment;
|
|
@@ -17911,12 +17936,12 @@ URLState.prototype = {
|
|
|
17911
17936
|
getOrigin: function () {
|
|
17912
17937
|
var scheme = this.scheme;
|
|
17913
17938
|
var port = this.port;
|
|
17914
|
-
if (scheme
|
|
17939
|
+
if (scheme === 'blob') try {
|
|
17915
17940
|
return new URLConstructor(scheme.path[0]).origin;
|
|
17916
17941
|
} catch (error) {
|
|
17917
17942
|
return 'null';
|
|
17918
17943
|
}
|
|
17919
|
-
if (scheme
|
|
17944
|
+
if (scheme === 'file' || !this.isSpecial()) return 'null';
|
|
17920
17945
|
return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
|
|
17921
17946
|
},
|
|
17922
17947
|
// https://url.spec.whatwg.org/#dom-url-protocol
|
|
@@ -17979,7 +18004,7 @@ URLState.prototype = {
|
|
|
17979
18004
|
setPort: function (port) {
|
|
17980
18005
|
if (this.cannotHaveUsernamePasswordPort()) return;
|
|
17981
18006
|
port = $toString(port);
|
|
17982
|
-
if (port
|
|
18007
|
+
if (port === '') this.port = null;
|
|
17983
18008
|
else this.parse(port, PORT);
|
|
17984
18009
|
},
|
|
17985
18010
|
// https://url.spec.whatwg.org/#dom-url-pathname
|
|
@@ -17999,10 +18024,10 @@ URLState.prototype = {
|
|
|
17999
18024
|
},
|
|
18000
18025
|
setSearch: function (search) {
|
|
18001
18026
|
search = $toString(search);
|
|
18002
|
-
if (search
|
|
18027
|
+
if (search === '') {
|
|
18003
18028
|
this.query = null;
|
|
18004
18029
|
} else {
|
|
18005
|
-
if (
|
|
18030
|
+
if (charAt(search, 0) === '?') search = stringSlice(search, 1);
|
|
18006
18031
|
this.query = '';
|
|
18007
18032
|
this.parse(search, QUERY);
|
|
18008
18033
|
}
|
|
@@ -18019,11 +18044,11 @@ URLState.prototype = {
|
|
|
18019
18044
|
},
|
|
18020
18045
|
setHash: function (hash) {
|
|
18021
18046
|
hash = $toString(hash);
|
|
18022
|
-
if (hash
|
|
18047
|
+
if (hash === '') {
|
|
18023
18048
|
this.fragment = null;
|
|
18024
18049
|
return;
|
|
18025
18050
|
}
|
|
18026
|
-
if (
|
|
18051
|
+
if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);
|
|
18027
18052
|
this.fragment = '';
|
|
18028
18053
|
this.parse(hash, FRAGMENT);
|
|
18029
18054
|
},
|
|
@@ -18237,7 +18262,7 @@ var ucs2decode = function (string) {
|
|
|
18237
18262
|
if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
|
|
18238
18263
|
// It's a high surrogate, and there is a next character.
|
|
18239
18264
|
var extra = charCodeAt(string, counter++);
|
|
18240
|
-
if ((extra & 0xFC00)
|
|
18265
|
+
if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.
|
|
18241
18266
|
push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
|
|
18242
18267
|
} else {
|
|
18243
18268
|
// It's an unmatched surrogate; only append this code unit, in case the
|
|
@@ -18336,7 +18361,7 @@ var encode = function (input) {
|
|
|
18336
18361
|
if (currentValue < n && ++delta > maxInt) {
|
|
18337
18362
|
throw $RangeError(OVERFLOW_ERROR);
|
|
18338
18363
|
}
|
|
18339
|
-
if (currentValue
|
|
18364
|
+
if (currentValue === n) {
|
|
18340
18365
|
// Represent delta as a generalized variable-length integer.
|
|
18341
18366
|
var q = delta;
|
|
18342
18367
|
var k = base;
|
|
@@ -18351,7 +18376,7 @@ var encode = function (input) {
|
|
|
18351
18376
|
}
|
|
18352
18377
|
|
|
18353
18378
|
push(output, fromCharCode(digitToBasic(q)));
|
|
18354
|
-
bias = adapt(delta, handledCPCountPlusOne, handledCPCount
|
|
18379
|
+
bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
|
|
18355
18380
|
delta = 0;
|
|
18356
18381
|
handledCPCount++;
|
|
18357
18382
|
}
|
|
@@ -19011,304 +19036,304 @@ var _typeof = (__webpack_require__(529)["default"]);
|
|
|
19011
19036
|
function _regeneratorRuntime() {
|
|
19012
19037
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
19013
19038
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
19014
|
-
return
|
|
19039
|
+
return e;
|
|
19015
19040
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19016
|
-
var
|
|
19017
|
-
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19041
|
+
var t,
|
|
19042
|
+
e = {},
|
|
19043
|
+
r = Object.prototype,
|
|
19044
|
+
n = r.hasOwnProperty,
|
|
19045
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
19046
|
+
t[e] = r.value;
|
|
19021
19047
|
},
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
|
|
19026
|
-
function define(
|
|
19027
|
-
return Object.defineProperty(
|
|
19028
|
-
value:
|
|
19048
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
19049
|
+
a = i.iterator || "@@iterator",
|
|
19050
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
19051
|
+
u = i.toStringTag || "@@toStringTag";
|
|
19052
|
+
function define(t, e, r) {
|
|
19053
|
+
return Object.defineProperty(t, e, {
|
|
19054
|
+
value: r,
|
|
19029
19055
|
enumerable: !0,
|
|
19030
19056
|
configurable: !0,
|
|
19031
19057
|
writable: !0
|
|
19032
|
-
}),
|
|
19058
|
+
}), t[e];
|
|
19033
19059
|
}
|
|
19034
19060
|
try {
|
|
19035
19061
|
define({}, "");
|
|
19036
|
-
} catch (
|
|
19037
|
-
define = function define(
|
|
19038
|
-
return
|
|
19062
|
+
} catch (t) {
|
|
19063
|
+
define = function define(t, e, r) {
|
|
19064
|
+
return t[e] = r;
|
|
19039
19065
|
};
|
|
19040
19066
|
}
|
|
19041
|
-
function wrap(
|
|
19042
|
-
var
|
|
19043
|
-
|
|
19044
|
-
|
|
19045
|
-
return
|
|
19046
|
-
value: makeInvokeMethod(
|
|
19047
|
-
}),
|
|
19067
|
+
function wrap(t, e, r, n) {
|
|
19068
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
19069
|
+
a = Object.create(i.prototype),
|
|
19070
|
+
c = new Context(n || []);
|
|
19071
|
+
return o(a, "_invoke", {
|
|
19072
|
+
value: makeInvokeMethod(t, r, c)
|
|
19073
|
+
}), a;
|
|
19048
19074
|
}
|
|
19049
|
-
function tryCatch(
|
|
19075
|
+
function tryCatch(t, e, r) {
|
|
19050
19076
|
try {
|
|
19051
19077
|
return {
|
|
19052
19078
|
type: "normal",
|
|
19053
|
-
arg:
|
|
19079
|
+
arg: t.call(e, r)
|
|
19054
19080
|
};
|
|
19055
|
-
} catch (
|
|
19081
|
+
} catch (t) {
|
|
19056
19082
|
return {
|
|
19057
19083
|
type: "throw",
|
|
19058
|
-
arg:
|
|
19084
|
+
arg: t
|
|
19059
19085
|
};
|
|
19060
19086
|
}
|
|
19061
19087
|
}
|
|
19062
|
-
|
|
19063
|
-
var
|
|
19088
|
+
e.wrap = wrap;
|
|
19089
|
+
var h = "suspendedStart",
|
|
19090
|
+
l = "suspendedYield",
|
|
19091
|
+
f = "executing",
|
|
19092
|
+
s = "completed",
|
|
19093
|
+
y = {};
|
|
19064
19094
|
function Generator() {}
|
|
19065
19095
|
function GeneratorFunction() {}
|
|
19066
19096
|
function GeneratorFunctionPrototype() {}
|
|
19067
|
-
var
|
|
19068
|
-
define(
|
|
19097
|
+
var p = {};
|
|
19098
|
+
define(p, a, function () {
|
|
19069
19099
|
return this;
|
|
19070
19100
|
});
|
|
19071
|
-
var
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
var
|
|
19075
|
-
function defineIteratorMethods(
|
|
19076
|
-
["next", "throw", "return"].forEach(function (
|
|
19077
|
-
define(
|
|
19078
|
-
return this._invoke(
|
|
19101
|
+
var d = Object.getPrototypeOf,
|
|
19102
|
+
v = d && d(d(values([])));
|
|
19103
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
19104
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
19105
|
+
function defineIteratorMethods(t) {
|
|
19106
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
19107
|
+
define(t, e, function (t) {
|
|
19108
|
+
return this._invoke(e, t);
|
|
19079
19109
|
});
|
|
19080
19110
|
});
|
|
19081
19111
|
}
|
|
19082
|
-
function AsyncIterator(
|
|
19083
|
-
function invoke(
|
|
19084
|
-
var
|
|
19085
|
-
if ("throw" !==
|
|
19086
|
-
var
|
|
19087
|
-
|
|
19088
|
-
return
|
|
19089
|
-
invoke("next",
|
|
19090
|
-
}, function (
|
|
19091
|
-
invoke("throw",
|
|
19092
|
-
}) :
|
|
19093
|
-
|
|
19094
|
-
}, function (
|
|
19095
|
-
return invoke("throw",
|
|
19112
|
+
function AsyncIterator(t, e) {
|
|
19113
|
+
function invoke(r, o, i, a) {
|
|
19114
|
+
var c = tryCatch(t[r], t, o);
|
|
19115
|
+
if ("throw" !== c.type) {
|
|
19116
|
+
var u = c.arg,
|
|
19117
|
+
h = u.value;
|
|
19118
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
19119
|
+
invoke("next", t, i, a);
|
|
19120
|
+
}, function (t) {
|
|
19121
|
+
invoke("throw", t, i, a);
|
|
19122
|
+
}) : e.resolve(h).then(function (t) {
|
|
19123
|
+
u.value = t, i(u);
|
|
19124
|
+
}, function (t) {
|
|
19125
|
+
return invoke("throw", t, i, a);
|
|
19096
19126
|
});
|
|
19097
19127
|
}
|
|
19098
|
-
|
|
19128
|
+
a(c.arg);
|
|
19099
19129
|
}
|
|
19100
|
-
var
|
|
19101
|
-
|
|
19102
|
-
value: function value(
|
|
19130
|
+
var r;
|
|
19131
|
+
o(this, "_invoke", {
|
|
19132
|
+
value: function value(t, n) {
|
|
19103
19133
|
function callInvokeWithMethodAndArg() {
|
|
19104
|
-
return new
|
|
19105
|
-
invoke(
|
|
19134
|
+
return new e(function (e, r) {
|
|
19135
|
+
invoke(t, n, e, r);
|
|
19106
19136
|
});
|
|
19107
19137
|
}
|
|
19108
|
-
return
|
|
19138
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
19109
19139
|
}
|
|
19110
19140
|
});
|
|
19111
19141
|
}
|
|
19112
|
-
function makeInvokeMethod(
|
|
19113
|
-
var
|
|
19114
|
-
return function (
|
|
19115
|
-
if (
|
|
19116
|
-
if (
|
|
19117
|
-
if ("throw" ===
|
|
19118
|
-
return
|
|
19142
|
+
function makeInvokeMethod(e, r, n) {
|
|
19143
|
+
var o = h;
|
|
19144
|
+
return function (i, a) {
|
|
19145
|
+
if (o === f) throw new Error("Generator is already running");
|
|
19146
|
+
if (o === s) {
|
|
19147
|
+
if ("throw" === i) throw a;
|
|
19148
|
+
return {
|
|
19149
|
+
value: t,
|
|
19150
|
+
done: !0
|
|
19151
|
+
};
|
|
19119
19152
|
}
|
|
19120
|
-
for (
|
|
19121
|
-
var
|
|
19122
|
-
if (
|
|
19123
|
-
var
|
|
19124
|
-
if (
|
|
19125
|
-
if (
|
|
19126
|
-
return
|
|
19153
|
+
for (n.method = i, n.arg = a;;) {
|
|
19154
|
+
var c = n.delegate;
|
|
19155
|
+
if (c) {
|
|
19156
|
+
var u = maybeInvokeDelegate(c, n);
|
|
19157
|
+
if (u) {
|
|
19158
|
+
if (u === y) continue;
|
|
19159
|
+
return u;
|
|
19127
19160
|
}
|
|
19128
19161
|
}
|
|
19129
|
-
if ("next" ===
|
|
19130
|
-
if (
|
|
19131
|
-
|
|
19132
|
-
} else "return" ===
|
|
19133
|
-
|
|
19134
|
-
var
|
|
19135
|
-
if ("normal" ===
|
|
19136
|
-
if (
|
|
19162
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
19163
|
+
if (o === h) throw o = s, n.arg;
|
|
19164
|
+
n.dispatchException(n.arg);
|
|
19165
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
19166
|
+
o = f;
|
|
19167
|
+
var p = tryCatch(e, r, n);
|
|
19168
|
+
if ("normal" === p.type) {
|
|
19169
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
19137
19170
|
return {
|
|
19138
|
-
value:
|
|
19139
|
-
done:
|
|
19171
|
+
value: p.arg,
|
|
19172
|
+
done: n.done
|
|
19140
19173
|
};
|
|
19141
19174
|
}
|
|
19142
|
-
"throw" ===
|
|
19175
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
19143
19176
|
}
|
|
19144
19177
|
};
|
|
19145
19178
|
}
|
|
19146
|
-
function maybeInvokeDelegate(
|
|
19147
|
-
var
|
|
19148
|
-
|
|
19149
|
-
if (
|
|
19150
|
-
var
|
|
19151
|
-
if ("throw" ===
|
|
19152
|
-
var
|
|
19153
|
-
return
|
|
19154
|
-
}
|
|
19155
|
-
function pushTryEntry(
|
|
19156
|
-
var
|
|
19157
|
-
tryLoc:
|
|
19179
|
+
function maybeInvokeDelegate(e, r) {
|
|
19180
|
+
var n = r.method,
|
|
19181
|
+
o = e.iterator[n];
|
|
19182
|
+
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;
|
|
19183
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
19184
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
19185
|
+
var a = i.arg;
|
|
19186
|
+
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);
|
|
19187
|
+
}
|
|
19188
|
+
function pushTryEntry(t) {
|
|
19189
|
+
var e = {
|
|
19190
|
+
tryLoc: t[0]
|
|
19158
19191
|
};
|
|
19159
|
-
1 in
|
|
19192
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
19160
19193
|
}
|
|
19161
|
-
function resetTryEntry(
|
|
19162
|
-
var
|
|
19163
|
-
|
|
19194
|
+
function resetTryEntry(t) {
|
|
19195
|
+
var e = t.completion || {};
|
|
19196
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
19164
19197
|
}
|
|
19165
|
-
function Context(
|
|
19198
|
+
function Context(t) {
|
|
19166
19199
|
this.tryEntries = [{
|
|
19167
19200
|
tryLoc: "root"
|
|
19168
|
-
}],
|
|
19169
|
-
}
|
|
19170
|
-
function values(
|
|
19171
|
-
if (
|
|
19172
|
-
var
|
|
19173
|
-
if (
|
|
19174
|
-
if ("function" == typeof
|
|
19175
|
-
if (!isNaN(
|
|
19176
|
-
var
|
|
19177
|
-
|
|
19178
|
-
for (; ++
|
|
19179
|
-
return next.value =
|
|
19201
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
19202
|
+
}
|
|
19203
|
+
function values(e) {
|
|
19204
|
+
if (e || "" === e) {
|
|
19205
|
+
var r = e[a];
|
|
19206
|
+
if (r) return r.call(e);
|
|
19207
|
+
if ("function" == typeof e.next) return e;
|
|
19208
|
+
if (!isNaN(e.length)) {
|
|
19209
|
+
var o = -1,
|
|
19210
|
+
i = function next() {
|
|
19211
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
19212
|
+
return next.value = t, next.done = !0, next;
|
|
19180
19213
|
};
|
|
19181
|
-
return
|
|
19214
|
+
return i.next = i;
|
|
19182
19215
|
}
|
|
19183
19216
|
}
|
|
19184
|
-
|
|
19185
|
-
next: doneResult
|
|
19186
|
-
};
|
|
19187
|
-
}
|
|
19188
|
-
function doneResult() {
|
|
19189
|
-
return {
|
|
19190
|
-
value: undefined,
|
|
19191
|
-
done: !0
|
|
19192
|
-
};
|
|
19217
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
19193
19218
|
}
|
|
19194
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
19219
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
19195
19220
|
value: GeneratorFunctionPrototype,
|
|
19196
19221
|
configurable: !0
|
|
19197
|
-
}),
|
|
19222
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
19198
19223
|
value: GeneratorFunction,
|
|
19199
19224
|
configurable: !0
|
|
19200
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
19201
|
-
var
|
|
19202
|
-
return !!
|
|
19203
|
-
},
|
|
19204
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
19205
|
-
},
|
|
19225
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
19226
|
+
var e = "function" == typeof t && t.constructor;
|
|
19227
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
19228
|
+
}, e.mark = function (t) {
|
|
19229
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
19230
|
+
}, e.awrap = function (t) {
|
|
19206
19231
|
return {
|
|
19207
|
-
__await:
|
|
19232
|
+
__await: t
|
|
19208
19233
|
};
|
|
19209
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
19234
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
19210
19235
|
return this;
|
|
19211
|
-
}),
|
|
19212
|
-
void 0 ===
|
|
19213
|
-
var
|
|
19214
|
-
return
|
|
19215
|
-
return
|
|
19236
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
19237
|
+
void 0 === i && (i = Promise);
|
|
19238
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
19239
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
19240
|
+
return t.done ? t.value : a.next();
|
|
19216
19241
|
});
|
|
19217
|
-
}, defineIteratorMethods(
|
|
19242
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
19218
19243
|
return this;
|
|
19219
|
-
}), define(
|
|
19244
|
+
}), define(g, "toString", function () {
|
|
19220
19245
|
return "[object Generator]";
|
|
19221
|
-
}),
|
|
19222
|
-
var
|
|
19223
|
-
|
|
19224
|
-
for (var
|
|
19225
|
-
return
|
|
19226
|
-
for (;
|
|
19227
|
-
var
|
|
19228
|
-
if (
|
|
19246
|
+
}), e.keys = function (t) {
|
|
19247
|
+
var e = Object(t),
|
|
19248
|
+
r = [];
|
|
19249
|
+
for (var n in e) r.push(n);
|
|
19250
|
+
return r.reverse(), function next() {
|
|
19251
|
+
for (; r.length;) {
|
|
19252
|
+
var t = r.pop();
|
|
19253
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
19229
19254
|
}
|
|
19230
19255
|
return next.done = !0, next;
|
|
19231
19256
|
};
|
|
19232
|
-
},
|
|
19257
|
+
}, e.values = values, Context.prototype = {
|
|
19233
19258
|
constructor: Context,
|
|
19234
|
-
reset: function reset(
|
|
19235
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
19259
|
+
reset: function reset(e) {
|
|
19260
|
+
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);
|
|
19236
19261
|
},
|
|
19237
19262
|
stop: function stop() {
|
|
19238
19263
|
this.done = !0;
|
|
19239
|
-
var
|
|
19240
|
-
if ("throw" ===
|
|
19264
|
+
var t = this.tryEntries[0].completion;
|
|
19265
|
+
if ("throw" === t.type) throw t.arg;
|
|
19241
19266
|
return this.rval;
|
|
19242
19267
|
},
|
|
19243
|
-
dispatchException: function dispatchException(
|
|
19244
|
-
if (this.done) throw
|
|
19245
|
-
var
|
|
19246
|
-
function handle(
|
|
19247
|
-
return
|
|
19268
|
+
dispatchException: function dispatchException(e) {
|
|
19269
|
+
if (this.done) throw e;
|
|
19270
|
+
var r = this;
|
|
19271
|
+
function handle(n, o) {
|
|
19272
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
19248
19273
|
}
|
|
19249
|
-
for (var
|
|
19250
|
-
var
|
|
19251
|
-
|
|
19252
|
-
if ("root" ===
|
|
19253
|
-
if (
|
|
19254
|
-
var
|
|
19255
|
-
|
|
19256
|
-
if (
|
|
19257
|
-
if (this.prev <
|
|
19258
|
-
if (this.prev <
|
|
19259
|
-
} else if (
|
|
19260
|
-
if (this.prev <
|
|
19274
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
19275
|
+
var i = this.tryEntries[o],
|
|
19276
|
+
a = i.completion;
|
|
19277
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
19278
|
+
if (i.tryLoc <= this.prev) {
|
|
19279
|
+
var c = n.call(i, "catchLoc"),
|
|
19280
|
+
u = n.call(i, "finallyLoc");
|
|
19281
|
+
if (c && u) {
|
|
19282
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
19283
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
19284
|
+
} else if (c) {
|
|
19285
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
19261
19286
|
} else {
|
|
19262
|
-
if (!
|
|
19263
|
-
if (this.prev <
|
|
19287
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
19288
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
19264
19289
|
}
|
|
19265
19290
|
}
|
|
19266
19291
|
}
|
|
19267
19292
|
},
|
|
19268
|
-
abrupt: function abrupt(
|
|
19269
|
-
for (var
|
|
19270
|
-
var
|
|
19271
|
-
if (
|
|
19272
|
-
var
|
|
19293
|
+
abrupt: function abrupt(t, e) {
|
|
19294
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
19295
|
+
var o = this.tryEntries[r];
|
|
19296
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
19297
|
+
var i = o;
|
|
19273
19298
|
break;
|
|
19274
19299
|
}
|
|
19275
19300
|
}
|
|
19276
|
-
|
|
19277
|
-
var
|
|
19278
|
-
return
|
|
19301
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
19302
|
+
var a = i ? i.completion : {};
|
|
19303
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
19279
19304
|
},
|
|
19280
|
-
complete: function complete(
|
|
19281
|
-
if ("throw" ===
|
|
19282
|
-
return "break" ===
|
|
19305
|
+
complete: function complete(t, e) {
|
|
19306
|
+
if ("throw" === t.type) throw t.arg;
|
|
19307
|
+
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;
|
|
19283
19308
|
},
|
|
19284
|
-
finish: function finish(
|
|
19285
|
-
for (var
|
|
19286
|
-
var
|
|
19287
|
-
if (
|
|
19309
|
+
finish: function finish(t) {
|
|
19310
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
19311
|
+
var r = this.tryEntries[e];
|
|
19312
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
19288
19313
|
}
|
|
19289
19314
|
},
|
|
19290
|
-
"catch": function _catch(
|
|
19291
|
-
for (var
|
|
19292
|
-
var
|
|
19293
|
-
if (
|
|
19294
|
-
var
|
|
19295
|
-
if ("throw" ===
|
|
19296
|
-
var
|
|
19297
|
-
resetTryEntry(
|
|
19315
|
+
"catch": function _catch(t) {
|
|
19316
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
19317
|
+
var r = this.tryEntries[e];
|
|
19318
|
+
if (r.tryLoc === t) {
|
|
19319
|
+
var n = r.completion;
|
|
19320
|
+
if ("throw" === n.type) {
|
|
19321
|
+
var o = n.arg;
|
|
19322
|
+
resetTryEntry(r);
|
|
19298
19323
|
}
|
|
19299
|
-
return
|
|
19324
|
+
return o;
|
|
19300
19325
|
}
|
|
19301
19326
|
}
|
|
19302
19327
|
throw new Error("illegal catch attempt");
|
|
19303
19328
|
},
|
|
19304
|
-
delegateYield: function delegateYield(
|
|
19329
|
+
delegateYield: function delegateYield(e, r, n) {
|
|
19305
19330
|
return this.delegate = {
|
|
19306
|
-
iterator: values(
|
|
19307
|
-
resultName:
|
|
19308
|
-
nextLoc:
|
|
19309
|
-
}, "next" === this.method && (this.arg =
|
|
19331
|
+
iterator: values(e),
|
|
19332
|
+
resultName: r,
|
|
19333
|
+
nextLoc: n
|
|
19334
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
19310
19335
|
}
|
|
19311
|
-
},
|
|
19336
|
+
}, e;
|
|
19312
19337
|
}
|
|
19313
19338
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19314
19339
|
|
|
@@ -19316,14 +19341,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
|
19316
19341
|
/* 529 */
|
|
19317
19342
|
/***/ (function(module) {
|
|
19318
19343
|
|
|
19319
|
-
function _typeof(
|
|
19344
|
+
function _typeof(o) {
|
|
19320
19345
|
"@babel/helpers - typeof";
|
|
19321
19346
|
|
|
19322
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
19323
|
-
return typeof
|
|
19324
|
-
} : function (
|
|
19325
|
-
return
|
|
19326
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
|
19347
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
19348
|
+
return typeof o;
|
|
19349
|
+
} : function (o) {
|
|
19350
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
19351
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
|
19327
19352
|
}
|
|
19328
19353
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19329
19354
|
|
|
@@ -19642,7 +19667,7 @@ function rgb_formatHex8() {
|
|
|
19642
19667
|
return "#" + hex(this.r) + hex(this.g) + hex(this.b) + hex((isNaN(this.opacity) ? 1 : this.opacity) * 255);
|
|
19643
19668
|
}
|
|
19644
19669
|
function rgb_formatRgb() {
|
|
19645
|
-
|
|
19670
|
+
const a = clampa(this.opacity);
|
|
19646
19671
|
return "" + (a === 1 ? "rgb(" : "rgba(") + clampi(this.r) + ", " + clampi(this.g) + ", " + clampi(this.b) + (a === 1 ? ")" : ", " + a + ")");
|
|
19647
19672
|
}
|
|
19648
19673
|
function clampa(opacity) {
|
|
@@ -19715,7 +19740,7 @@ src_define(Hsl, hsl, extend(Color, {
|
|
|
19715
19740
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
19716
19741
|
},
|
|
19717
19742
|
formatHsl: function formatHsl() {
|
|
19718
|
-
|
|
19743
|
+
const a = clampa(this.opacity);
|
|
19719
19744
|
return "" + (a === 1 ? "hsl(" : "hsla(") + clamph(this.h) + ", " + clampt(this.s) * 100 + "%, " + clampt(this.l) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
|
|
19720
19745
|
}
|
|
19721
19746
|
}));
|
|
@@ -20037,10 +20062,9 @@ function descending(a, b) {
|
|
|
20037
20062
|
|
|
20038
20063
|
|
|
20039
20064
|
function bisector(f) {
|
|
20040
|
-
var _this = this
|
|
20041
|
-
|
|
20042
|
-
|
|
20043
|
-
delta;
|
|
20065
|
+
var _this = this;
|
|
20066
|
+
let compare1, compare2, delta;
|
|
20067
|
+
|
|
20044
20068
|
// If an accessor is specified, promote it to a comparator. In this case we
|
|
20045
20069
|
// can test whether the search value is (self-) comparable. We can’t do this
|
|
20046
20070
|
// for a comparator (except for specific, known comparators) because we can’t
|
|
@@ -20071,7 +20095,7 @@ function bisector(f) {
|
|
|
20071
20095
|
if (lo < hi) {
|
|
20072
20096
|
if (compare1(x, x) !== 0) return hi;
|
|
20073
20097
|
do {
|
|
20074
|
-
|
|
20098
|
+
const mid = lo + hi >>> 1;
|
|
20075
20099
|
if (compare2(a[mid], x) < 0) lo = mid + 1;else hi = mid;
|
|
20076
20100
|
} while (lo < hi);
|
|
20077
20101
|
}
|
|
@@ -20087,7 +20111,7 @@ function bisector(f) {
|
|
|
20087
20111
|
if (lo < hi) {
|
|
20088
20112
|
if (compare1(x, x) !== 0) return hi;
|
|
20089
20113
|
do {
|
|
20090
|
-
|
|
20114
|
+
const mid = lo + hi >>> 1;
|
|
20091
20115
|
if (compare2(a[mid], x) <= 0) lo = mid + 1;else hi = mid;
|
|
20092
20116
|
} while (lo < hi);
|
|
20093
20117
|
}
|
|
@@ -20100,7 +20124,7 @@ function bisector(f) {
|
|
|
20100
20124
|
if (hi === void 0) {
|
|
20101
20125
|
hi = a.length;
|
|
20102
20126
|
}
|
|
20103
|
-
|
|
20127
|
+
const i = left(a, x, lo, hi - 1);
|
|
20104
20128
|
return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
|
|
20105
20129
|
}
|
|
20106
20130
|
return {
|
|
@@ -20124,7 +20148,7 @@ function number_number(x) {
|
|
|
20124
20148
|
return x === null ? NaN : +x;
|
|
20125
20149
|
}
|
|
20126
20150
|
function numbers(values, valueof) {
|
|
20127
|
-
var _iterator, _step, value, index, _iterator2, _step2
|
|
20151
|
+
var _iterator, _step, value, index, _iterator2, _step2;
|
|
20128
20152
|
return regenerator.wrap(function (_context) {
|
|
20129
20153
|
while (1) switch (_context.prev = _context.next) {
|
|
20130
20154
|
case 0:
|
|
@@ -20159,13 +20183,13 @@ function numbers(values, valueof) {
|
|
|
20159
20183
|
_context.next = 20;
|
|
20160
20184
|
break;
|
|
20161
20185
|
}
|
|
20162
|
-
|
|
20163
|
-
if (!((
|
|
20186
|
+
value = _step2.value;
|
|
20187
|
+
if (!((value = valueof(value, ++index, values)) != null && (value = +value) >= value)) {
|
|
20164
20188
|
_context.next = 18;
|
|
20165
20189
|
break;
|
|
20166
20190
|
}
|
|
20167
20191
|
_context.next = 18;
|
|
20168
|
-
return
|
|
20192
|
+
return value;
|
|
20169
20193
|
case 18:
|
|
20170
20194
|
_context.next = 13;
|
|
20171
20195
|
break;
|
|
@@ -20179,10 +20203,10 @@ function numbers(values, valueof) {
|
|
|
20179
20203
|
|
|
20180
20204
|
|
|
20181
20205
|
|
|
20182
|
-
|
|
20183
|
-
|
|
20184
|
-
|
|
20185
|
-
|
|
20206
|
+
const ascendingBisect = bisector(ascending);
|
|
20207
|
+
const bisectRight = ascendingBisect.right;
|
|
20208
|
+
const bisectLeft = ascendingBisect.left;
|
|
20209
|
+
const bisectCenter = bisector(number_number).center;
|
|
20186
20210
|
/* harmony default export */ var bisect = (bisectRight);
|
|
20187
20211
|
;// CONCATENATED MODULE: ./node_modules/d3-scale/src/constant.js
|
|
20188
20212
|
function constants(x) {
|
|
@@ -20334,15 +20358,15 @@ function initInterpolator(domain, interpolator) {
|
|
|
20334
20358
|
return this;
|
|
20335
20359
|
}
|
|
20336
20360
|
;// CONCATENATED MODULE: ./node_modules/d3-array/src/ticks.js
|
|
20337
|
-
|
|
20361
|
+
const e10 = Math.sqrt(50),
|
|
20338
20362
|
e5 = Math.sqrt(10),
|
|
20339
20363
|
e2 = Math.sqrt(2);
|
|
20340
20364
|
function tickSpec(start, stop, count) {
|
|
20341
|
-
|
|
20365
|
+
const step = (stop - start) / Math.max(0, count),
|
|
20342
20366
|
power = Math.floor(Math.log10(step)),
|
|
20343
20367
|
error = step / Math.pow(10, power),
|
|
20344
20368
|
factor = error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1;
|
|
20345
|
-
|
|
20369
|
+
let i1, i2, inc;
|
|
20346
20370
|
if (power < 0) {
|
|
20347
20371
|
inc = Math.pow(10, -power) / factor;
|
|
20348
20372
|
i1 = Math.round(start * inc);
|
|
@@ -20364,18 +20388,18 @@ function ticks(start, stop, count) {
|
|
|
20364
20388
|
stop = +stop, start = +start, count = +count;
|
|
20365
20389
|
if (!(count > 0)) return [];
|
|
20366
20390
|
if (start === stop) return [start];
|
|
20367
|
-
|
|
20391
|
+
const reverse = stop < start,
|
|
20368
20392
|
_ref = reverse ? tickSpec(stop, start, count) : tickSpec(start, stop, count),
|
|
20369
20393
|
i1 = _ref[0],
|
|
20370
20394
|
i2 = _ref[1],
|
|
20371
20395
|
inc = _ref[2];
|
|
20372
20396
|
if (!(i2 >= i1)) return [];
|
|
20373
|
-
|
|
20397
|
+
const n = i2 - i1 + 1,
|
|
20374
20398
|
ticks = Array(n);
|
|
20375
20399
|
if (reverse) {
|
|
20376
|
-
if (inc < 0) for (
|
|
20400
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) / -inc;else for (let i = 0; i < n; ++i) ticks[i] = (i2 - i) * inc;
|
|
20377
20401
|
} else {
|
|
20378
|
-
if (inc < 0) for (
|
|
20402
|
+
if (inc < 0) for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) / -inc;else for (let i = 0; i < n; ++i) ticks[i] = (i1 + i) * inc;
|
|
20379
20403
|
}
|
|
20380
20404
|
return ticks;
|
|
20381
20405
|
}
|
|
@@ -20385,7 +20409,7 @@ function tickIncrement(start, stop, count) {
|
|
|
20385
20409
|
}
|
|
20386
20410
|
function tickStep(start, stop, count) {
|
|
20387
20411
|
stop = +stop, start = +start, count = +count;
|
|
20388
|
-
|
|
20412
|
+
const reverse = stop < start,
|
|
20389
20413
|
inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
|
|
20390
20414
|
return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
|
|
20391
20415
|
}
|
|
@@ -20892,10 +20916,10 @@ function reflect(f) {
|
|
|
20892
20916
|
}.bind(this);
|
|
20893
20917
|
}
|
|
20894
20918
|
function loggish(transform) {
|
|
20895
|
-
var _this4 = this
|
|
20896
|
-
|
|
20897
|
-
domain = scale.domain
|
|
20898
|
-
|
|
20919
|
+
var _this4 = this;
|
|
20920
|
+
const scale = transform(transformLog, transformExp),
|
|
20921
|
+
domain = scale.domain;
|
|
20922
|
+
let base = 10,
|
|
20899
20923
|
logs,
|
|
20900
20924
|
pows;
|
|
20901
20925
|
function rescale() {
|
|
@@ -20916,21 +20940,21 @@ function loggish(transform) {
|
|
|
20916
20940
|
};
|
|
20917
20941
|
scale.ticks = function (count) {
|
|
20918
20942
|
_newArrowCheck(this, _this4);
|
|
20919
|
-
|
|
20920
|
-
|
|
20943
|
+
const d = domain();
|
|
20944
|
+
let u = d[0],
|
|
20921
20945
|
v = d[d.length - 1];
|
|
20922
|
-
|
|
20946
|
+
const r = v < u;
|
|
20923
20947
|
if (r) {
|
|
20924
20948
|
var _ref = [v, u];
|
|
20925
20949
|
u = _ref[0];
|
|
20926
20950
|
v = _ref[1];
|
|
20927
20951
|
}
|
|
20928
|
-
|
|
20952
|
+
let i = logs(u),
|
|
20929
20953
|
j = logs(v),
|
|
20930
20954
|
k,
|
|
20931
20955
|
t;
|
|
20932
|
-
|
|
20933
|
-
|
|
20956
|
+
const n = count == null ? 10 : +count;
|
|
20957
|
+
let z = [];
|
|
20934
20958
|
if (!(base % 1) && j - i < n) {
|
|
20935
20959
|
i = Math.floor(i), j = Math.ceil(j);
|
|
20936
20960
|
if (u > 0) for (; i <= j; ++i) {
|
|
@@ -20964,10 +20988,10 @@ function loggish(transform) {
|
|
|
20964
20988
|
specifier = format(specifier);
|
|
20965
20989
|
}
|
|
20966
20990
|
if (count === Infinity) return specifier;
|
|
20967
|
-
|
|
20991
|
+
const k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?
|
|
20968
20992
|
return function (d) {
|
|
20969
20993
|
_newArrowCheck(this, _this5);
|
|
20970
|
-
|
|
20994
|
+
let i = d / pows(Math.round(logs(d)));
|
|
20971
20995
|
if (i * base < base - .5) i *= base;
|
|
20972
20996
|
return i <= k ? specifier(d) : "";
|
|
20973
20997
|
}.bind(this);
|
|
@@ -20989,8 +21013,8 @@ function loggish(transform) {
|
|
|
20989
21013
|
return scale;
|
|
20990
21014
|
}
|
|
20991
21015
|
function log() {
|
|
20992
|
-
var _this7 = this
|
|
20993
|
-
|
|
21016
|
+
var _this7 = this;
|
|
21017
|
+
const scale = loggish(transformer()).domain([1, 10]);
|
|
20994
21018
|
scale.copy = function () {
|
|
20995
21019
|
_newArrowCheck(this, _this7);
|
|
20996
21020
|
return copy(scale, log()).base(scale.base());
|
|
@@ -21145,14 +21169,14 @@ function sequentialSqrt() {
|
|
|
21145
21169
|
return sequentialPow.apply(null, arguments).exponent(.5);
|
|
21146
21170
|
}
|
|
21147
21171
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
21148
|
-
function _typeof(
|
|
21172
|
+
function _typeof(o) {
|
|
21149
21173
|
"@babel/helpers - typeof";
|
|
21150
21174
|
|
|
21151
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
21152
|
-
return typeof
|
|
21153
|
-
} : function (
|
|
21154
|
-
return
|
|
21155
|
-
}, _typeof(
|
|
21175
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
21176
|
+
return typeof o;
|
|
21177
|
+
} : function (o) {
|
|
21178
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
21179
|
+
}, _typeof(o);
|
|
21156
21180
|
}
|
|
21157
21181
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
21158
21182
|
|
|
@@ -21191,8 +21215,8 @@ function _defineProperty(obj, key, value) {
|
|
|
21191
21215
|
}
|
|
21192
21216
|
;// CONCATENATED MODULE: ./src/config/classes.ts
|
|
21193
21217
|
|
|
21194
|
-
function ownKeys(
|
|
21195
|
-
function _objectSpread(
|
|
21218
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
21219
|
+
function _objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21196
21220
|
/**
|
|
21197
21221
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
21198
21222
|
* billboard.js project is licensed under the MIT license
|
|
@@ -21201,7 +21225,7 @@ function _objectSpread(target) { for (var i = 1, source; i < arguments.length; i
|
|
|
21201
21225
|
* CSS class names definition
|
|
21202
21226
|
* @private
|
|
21203
21227
|
*/
|
|
21204
|
-
|
|
21228
|
+
const $COMMON = {
|
|
21205
21229
|
button: "bb-button",
|
|
21206
21230
|
chart: "bb-chart",
|
|
21207
21231
|
empty: "bb-empty",
|
|
@@ -21209,7 +21233,7 @@ var $COMMON = {
|
|
|
21209
21233
|
target: "bb-target",
|
|
21210
21234
|
EXPANDED: "_expanded_"
|
|
21211
21235
|
};
|
|
21212
|
-
|
|
21236
|
+
const $ARC = {
|
|
21213
21237
|
arc: "bb-arc",
|
|
21214
21238
|
arcLabelLine: "bb-arc-label-line",
|
|
21215
21239
|
arcs: "bb-arcs",
|
|
@@ -21219,11 +21243,11 @@ var $ARC = {
|
|
|
21219
21243
|
chartArcsTitle: "bb-chart-arcs-title",
|
|
21220
21244
|
needle: "bb-needle"
|
|
21221
21245
|
};
|
|
21222
|
-
|
|
21246
|
+
const $AREA = {
|
|
21223
21247
|
area: "bb-area",
|
|
21224
21248
|
areas: "bb-areas"
|
|
21225
21249
|
};
|
|
21226
|
-
|
|
21250
|
+
const $AXIS = {
|
|
21227
21251
|
axis: "bb-axis",
|
|
21228
21252
|
axisX: "bb-axis-x",
|
|
21229
21253
|
axisXLabel: "bb-axis-x-label",
|
|
@@ -21232,13 +21256,13 @@ var $AXIS = {
|
|
|
21232
21256
|
axisY2Label: "bb-axis-y2-label",
|
|
21233
21257
|
axisYLabel: "bb-axis-y-label"
|
|
21234
21258
|
};
|
|
21235
|
-
|
|
21259
|
+
const $BAR = {
|
|
21236
21260
|
bar: "bb-bar",
|
|
21237
21261
|
bars: "bb-bars",
|
|
21238
21262
|
chartBar: "bb-chart-bar",
|
|
21239
21263
|
chartBars: "bb-chart-bars"
|
|
21240
21264
|
};
|
|
21241
|
-
|
|
21265
|
+
const $CANDLESTICK = {
|
|
21242
21266
|
candlestick: "bb-candlestick",
|
|
21243
21267
|
candlesticks: "bb-candlesticks",
|
|
21244
21268
|
chartCandlestick: "bb-chart-candlestick",
|
|
@@ -21246,27 +21270,27 @@ var $CANDLESTICK = {
|
|
|
21246
21270
|
valueDown: "bb-value-down",
|
|
21247
21271
|
valueUp: "bb-value-up"
|
|
21248
21272
|
};
|
|
21249
|
-
|
|
21273
|
+
const $CIRCLE = {
|
|
21250
21274
|
chartCircles: "bb-chart-circles",
|
|
21251
21275
|
circle: "bb-circle",
|
|
21252
21276
|
circles: "bb-circles"
|
|
21253
21277
|
};
|
|
21254
|
-
|
|
21278
|
+
const $COLOR = {
|
|
21255
21279
|
colorPattern: "bb-color-pattern",
|
|
21256
21280
|
colorScale: "bb-colorscale"
|
|
21257
21281
|
};
|
|
21258
|
-
|
|
21282
|
+
const $DRAG = {
|
|
21259
21283
|
dragarea: "bb-dragarea",
|
|
21260
21284
|
INCLUDED: "_included_"
|
|
21261
21285
|
};
|
|
21262
|
-
|
|
21286
|
+
const $GAUGE = {
|
|
21263
21287
|
chartArcsGaugeMax: "bb-chart-arcs-gauge-max",
|
|
21264
21288
|
chartArcsGaugeMin: "bb-chart-arcs-gauge-min",
|
|
21265
21289
|
chartArcsGaugeUnit: "bb-chart-arcs-gauge-unit",
|
|
21266
21290
|
chartArcsGaugeTitle: "bb-chart-arcs-gauge-title",
|
|
21267
21291
|
gaugeValue: "bb-gauge-value"
|
|
21268
21292
|
};
|
|
21269
|
-
|
|
21293
|
+
const $LEGEND = {
|
|
21270
21294
|
legend: "bb-legend",
|
|
21271
21295
|
legendBackground: "bb-legend-background",
|
|
21272
21296
|
legendItem: "bb-legend-item",
|
|
@@ -21275,26 +21299,26 @@ var $LEGEND = {
|
|
|
21275
21299
|
legendItemPoint: "bb-legend-item-point",
|
|
21276
21300
|
legendItemTile: "bb-legend-item-tile"
|
|
21277
21301
|
};
|
|
21278
|
-
|
|
21302
|
+
const $LINE = {
|
|
21279
21303
|
chartLine: "bb-chart-line",
|
|
21280
21304
|
chartLines: "bb-chart-lines",
|
|
21281
21305
|
line: "bb-line",
|
|
21282
21306
|
lines: "bb-lines"
|
|
21283
21307
|
};
|
|
21284
|
-
|
|
21308
|
+
const $EVENT = {
|
|
21285
21309
|
eventRect: "bb-event-rect",
|
|
21286
21310
|
eventRects: "bb-event-rects",
|
|
21287
21311
|
eventRectsMultiple: "bb-event-rects-multiple",
|
|
21288
21312
|
eventRectsSingle: "bb-event-rects-single"
|
|
21289
21313
|
};
|
|
21290
|
-
|
|
21314
|
+
const $FOCUS = {
|
|
21291
21315
|
focused: "bb-focused",
|
|
21292
21316
|
defocused: "bb-defocused",
|
|
21293
21317
|
legendItemFocused: "bb-legend-item-focused",
|
|
21294
21318
|
xgridFocus: "bb-xgrid-focus",
|
|
21295
21319
|
ygridFocus: "bb-ygrid-focus"
|
|
21296
21320
|
};
|
|
21297
|
-
|
|
21321
|
+
const $GRID = {
|
|
21298
21322
|
grid: "bb-grid",
|
|
21299
21323
|
gridLines: "bb-grid-lines",
|
|
21300
21324
|
xgrid: "bb-xgrid",
|
|
@@ -21306,32 +21330,32 @@ var $GRID = {
|
|
|
21306
21330
|
ygridLines: "bb-ygrid-lines",
|
|
21307
21331
|
ygrids: "bb-ygrids"
|
|
21308
21332
|
};
|
|
21309
|
-
|
|
21333
|
+
const $LEVEL = {
|
|
21310
21334
|
level: "bb-level",
|
|
21311
21335
|
levels: "bb-levels"
|
|
21312
21336
|
};
|
|
21313
|
-
|
|
21337
|
+
const $RADAR = {
|
|
21314
21338
|
chartRadar: "bb-chart-radar",
|
|
21315
21339
|
chartRadars: "bb-chart-radars"
|
|
21316
21340
|
};
|
|
21317
|
-
|
|
21341
|
+
const $REGION = {
|
|
21318
21342
|
region: "bb-region",
|
|
21319
21343
|
regions: "bb-regions"
|
|
21320
21344
|
};
|
|
21321
|
-
|
|
21345
|
+
const $SELECT = {
|
|
21322
21346
|
selectedCircle: "bb-selected-circle",
|
|
21323
21347
|
selectedCircles: "bb-selected-circles",
|
|
21324
21348
|
SELECTED: "_selected_"
|
|
21325
21349
|
};
|
|
21326
|
-
|
|
21350
|
+
const $SHAPE = {
|
|
21327
21351
|
shape: "bb-shape",
|
|
21328
21352
|
shapes: "bb-shapes"
|
|
21329
21353
|
};
|
|
21330
|
-
|
|
21354
|
+
const $SUBCHART = {
|
|
21331
21355
|
brush: "bb-brush",
|
|
21332
21356
|
subchart: "bb-subchart"
|
|
21333
21357
|
};
|
|
21334
|
-
|
|
21358
|
+
const $TEXT = {
|
|
21335
21359
|
chartText: "bb-chart-text",
|
|
21336
21360
|
chartTexts: "bb-chart-texts",
|
|
21337
21361
|
text: "bb-text",
|
|
@@ -21339,24 +21363,24 @@ var $TEXT = {
|
|
|
21339
21363
|
title: "bb-title",
|
|
21340
21364
|
TextOverlapping: "text-overlapping"
|
|
21341
21365
|
};
|
|
21342
|
-
|
|
21366
|
+
const $TOOLTIP = {
|
|
21343
21367
|
tooltip: "bb-tooltip",
|
|
21344
21368
|
tooltipContainer: "bb-tooltip-container",
|
|
21345
21369
|
tooltipName: "bb-tooltip-name"
|
|
21346
21370
|
};
|
|
21347
|
-
|
|
21371
|
+
const $TREEMAP = {
|
|
21348
21372
|
treemap: "bb-treemap",
|
|
21349
21373
|
chartTreemap: "bb-chart-treemap",
|
|
21350
21374
|
chartTreemaps: "bb-chart-treemaps"
|
|
21351
21375
|
};
|
|
21352
|
-
|
|
21376
|
+
const $ZOOM = {
|
|
21353
21377
|
buttonZoomReset: "bb-zoom-reset",
|
|
21354
21378
|
zoomBrush: "bb-zoom-brush"
|
|
21355
21379
|
};
|
|
21356
21380
|
/* harmony default export */ var classes = (_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, $COMMON), $ARC), $AREA), $AXIS), $BAR), $CANDLESTICK), $CIRCLE), $COLOR), $DRAG), $GAUGE), $LEGEND), $LINE), $EVENT), $FOCUS), $GRID), $RADAR), $REGION), $SELECT), $SHAPE), $SUBCHART), $TEXT), $TOOLTIP), $TREEMAP), $ZOOM));
|
|
21357
21381
|
;// CONCATENATED MODULE: ./node_modules/d3-selection/src/sourceEvent.js
|
|
21358
21382
|
/* harmony default export */ function sourceEvent(event) {
|
|
21359
|
-
|
|
21383
|
+
let sourceEvent;
|
|
21360
21384
|
while (sourceEvent = event.sourceEvent) event = sourceEvent;
|
|
21361
21385
|
return event;
|
|
21362
21386
|
}
|
|
@@ -21839,7 +21863,7 @@ function size_createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeo
|
|
|
21839
21863
|
function size_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return size_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return size_arrayLikeToArray(o, minLen); }
|
|
21840
21864
|
function size_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
21841
21865
|
/* harmony default export */ function size() {
|
|
21842
|
-
|
|
21866
|
+
let size = 0;
|
|
21843
21867
|
for (var _iterator = size_createForOfIteratorHelperLoose(this), _step; !(_step = _iterator()).done;) {
|
|
21844
21868
|
_step.value;
|
|
21845
21869
|
++size;
|
|
@@ -22389,10 +22413,10 @@ Selection.prototype = selection.prototype = (_selection$prototype = {
|
|
|
22389
22413
|
;// CONCATENATED MODULE: ./node_modules/d3-drag/src/noevent.js
|
|
22390
22414
|
// These are typically used in conjunction with noevent to ensure that we can
|
|
22391
22415
|
// preventDefault on the event.
|
|
22392
|
-
|
|
22416
|
+
const nonpassive = {
|
|
22393
22417
|
passive: !1
|
|
22394
22418
|
};
|
|
22395
|
-
|
|
22419
|
+
const nonpassivecapture = {
|
|
22396
22420
|
capture: !0,
|
|
22397
22421
|
passive: !1
|
|
22398
22422
|
};
|
|
@@ -22757,7 +22781,7 @@ var svgNode;
|
|
|
22757
22781
|
|
|
22758
22782
|
/* eslint-disable no-undef */
|
|
22759
22783
|
function parseCss(value) {
|
|
22760
|
-
|
|
22784
|
+
const m = new (typeof DOMMatrix === "function" ? DOMMatrix : WebKitCSSMatrix)(value + "");
|
|
22761
22785
|
return m.isIdentity ? decompose_identity : decompose(m.a, m.b, m.c, m.d, m.e, m.f);
|
|
22762
22786
|
}
|
|
22763
22787
|
function parseSvg(value) {
|
|
@@ -23512,7 +23536,7 @@ var constant_this = undefined;
|
|
|
23512
23536
|
}).bind(undefined));
|
|
23513
23537
|
;// CONCATENATED MODULE: ./node_modules/d3-brush/src/event.js
|
|
23514
23538
|
function BrushEvent(type, _ref) {
|
|
23515
|
-
|
|
23539
|
+
let sourceEvent = _ref.sourceEvent,
|
|
23516
23540
|
target = _ref.target,
|
|
23517
23541
|
selection = _ref.selection,
|
|
23518
23542
|
mode = _ref.mode,
|
|
@@ -23581,7 +23605,7 @@ var MODE_DRAG = {
|
|
|
23581
23605
|
MODE_CENTER = {
|
|
23582
23606
|
name: "center"
|
|
23583
23607
|
};
|
|
23584
|
-
|
|
23608
|
+
const abs = Math.abs,
|
|
23585
23609
|
max = Math.max,
|
|
23586
23610
|
min = Math.min;
|
|
23587
23611
|
function number1(e) {
|
|
@@ -23867,7 +23891,7 @@ function brush_brush(dim) {
|
|
|
23867
23891
|
lockY,
|
|
23868
23892
|
points = Array.from(event.touches || [event], function (t) {
|
|
23869
23893
|
_newArrowCheck(this, _this);
|
|
23870
|
-
|
|
23894
|
+
const i = t.identifier;
|
|
23871
23895
|
t = src_pointer(t, that);
|
|
23872
23896
|
t.point0 = t.slice();
|
|
23873
23897
|
t.identifier = i;
|
|
@@ -23877,7 +23901,7 @@ function brush_brush(dim) {
|
|
|
23877
23901
|
var emit = emitter(that, arguments, !0).beforestart();
|
|
23878
23902
|
if (type === "overlay") {
|
|
23879
23903
|
if (selection) moving = !0;
|
|
23880
|
-
|
|
23904
|
+
const pts = [points[0], points[1] || points[0]];
|
|
23881
23905
|
state.selection = selection = [[w0 = dim === Y ? W : min(pts[0][0], pts[1][0]), n0 = dim === X ? N : min(pts[0][1], pts[1][1])], [e0 = dim === Y ? E : max(pts[0][0], pts[1][0]), s0 = dim === X ? S : max(pts[0][1], pts[1][1])]];
|
|
23882
23906
|
if (points.length > 1) move(event);
|
|
23883
23907
|
} else {
|
|
@@ -23904,26 +23928,26 @@ function brush_brush(dim) {
|
|
|
23904
23928
|
emit.start(event, mode.name);
|
|
23905
23929
|
function moved(event) {
|
|
23906
23930
|
for (var _iterator = brush_createForOfIteratorHelperLoose(event.changedTouches || [event]), _step; !(_step = _iterator()).done;) {
|
|
23907
|
-
|
|
23931
|
+
const p = _step.value;
|
|
23908
23932
|
for (var _iterator3 = brush_createForOfIteratorHelperLoose(points), _step3; !(_step3 = _iterator3()).done;) {
|
|
23909
|
-
|
|
23933
|
+
const d = _step3.value;
|
|
23910
23934
|
if (d.identifier === p.identifier) d.cur = src_pointer(p, that);
|
|
23911
23935
|
}
|
|
23912
23936
|
}
|
|
23913
23937
|
if (shifting && !lockX && !lockY && points.length === 1) {
|
|
23914
|
-
|
|
23938
|
+
const point = points[0];
|
|
23915
23939
|
if (abs(point.cur[0] - point[0]) > abs(point.cur[1] - point[1])) lockY = !0;else lockX = !0;
|
|
23916
23940
|
}
|
|
23917
23941
|
for (var _iterator2 = brush_createForOfIteratorHelperLoose(points), _step2; !(_step2 = _iterator2()).done;) {
|
|
23918
|
-
|
|
23919
|
-
if (
|
|
23942
|
+
const point = _step2.value;
|
|
23943
|
+
if (point.cur) point[0] = point.cur[0], point[1] = point.cur[1];
|
|
23920
23944
|
}
|
|
23921
23945
|
moving = !0;
|
|
23922
23946
|
src_noevent(event);
|
|
23923
23947
|
move(event);
|
|
23924
23948
|
}
|
|
23925
23949
|
function move(event) {
|
|
23926
|
-
|
|
23950
|
+
const point = points[0],
|
|
23927
23951
|
point0 = point.point0;
|
|
23928
23952
|
var t;
|
|
23929
23953
|
dx = point[0] - point0[0];
|
|
@@ -24114,7 +24138,6 @@ function brush_brush(dim) {
|
|
|
24114
24138
|
|
|
24115
24139
|
;// CONCATENATED MODULE: ./src/module/browser.ts
|
|
24116
24140
|
|
|
24117
|
-
var browser_this = undefined;
|
|
24118
24141
|
/**
|
|
24119
24142
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
24120
24143
|
* billboard.js project is licensed under the MIT license
|
|
@@ -24125,32 +24148,47 @@ var browser_this = undefined;
|
|
|
24125
24148
|
*/
|
|
24126
24149
|
/* eslint-disable no-new-func, no-undef */
|
|
24127
24150
|
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24131
|
-
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24151
|
+
|
|
24152
|
+
/**
|
|
24153
|
+
* Get global object
|
|
24154
|
+
* @returns {object} window object
|
|
24155
|
+
* @private
|
|
24156
|
+
*/
|
|
24157
|
+
function getGlobal() {
|
|
24158
|
+
return typeof globalThis === "object" && globalThis !== null && globalThis.Object === Object && globalThis || typeof global === "object" && global !== null && global.Object === Object && global || typeof self === "object" && self !== null && self.Object === Object && self || Function("return this")();
|
|
24159
|
+
}
|
|
24160
|
+
|
|
24161
|
+
/**
|
|
24162
|
+
* Get fallback object
|
|
24163
|
+
* @param {object} w global object
|
|
24164
|
+
* @returns {Array} fallback object array
|
|
24165
|
+
* @private
|
|
24166
|
+
*/
|
|
24167
|
+
function getFallback(w) {
|
|
24168
|
+
var _this = this;
|
|
24169
|
+
const hasRAF = typeof (w == null ? void 0 : w.requestAnimationFrame) === "function",
|
|
24170
|
+
hasRIC = typeof (w == null ? void 0 : w.requestIdleCallback) === "function";
|
|
24171
|
+
return [hasRAF ? w.requestAnimationFrame : function (cb) {
|
|
24172
|
+
_newArrowCheck(this, _this);
|
|
24137
24173
|
return setTimeout(cb, 1);
|
|
24138
|
-
}.bind(
|
|
24139
|
-
|
|
24140
|
-
_newArrowCheck(this, browser_this);
|
|
24174
|
+
}.bind(this), hasRAF ? w.cancelAnimationFrame : function (id) {
|
|
24175
|
+
_newArrowCheck(this, _this);
|
|
24141
24176
|
return clearTimeout(id);
|
|
24142
|
-
}.bind(
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
doc = win == null ? void 0 : win.document
|
|
24146
|
-
|
|
24147
|
-
|
|
24177
|
+
}.bind(this), hasRIC ? w.requestIdleCallback : requestAnimationFrame, hasRIC ? w.cancelIdleCallback : cancelAnimationFrame];
|
|
24178
|
+
}
|
|
24179
|
+
const win = getGlobal(),
|
|
24180
|
+
doc = win == null ? void 0 : win.document,
|
|
24181
|
+
_getFallback = getFallback(win),
|
|
24182
|
+
requestAnimationFrame = _getFallback[0],
|
|
24183
|
+
cancelAnimationFrame = _getFallback[1],
|
|
24184
|
+
requestIdleCallback = _getFallback[2],
|
|
24185
|
+
cancelIdleCallback = _getFallback[3];
|
|
24148
24186
|
;// CONCATENATED MODULE: ./src/module/util.ts
|
|
24149
24187
|
|
|
24150
24188
|
|
|
24151
24189
|
var util_this = undefined;
|
|
24152
|
-
function util_ownKeys(
|
|
24153
|
-
function util_objectSpread(
|
|
24190
|
+
function util_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
24191
|
+
function util_objectSpread(e) { for (var r = 1, t; r < arguments.length; r++) { t = null != arguments[r] ? arguments[r] : {}; r % 2 ? util_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : util_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24154
24192
|
/**
|
|
24155
24193
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
24156
24194
|
* billboard.js project is licensed under the MIT license
|
|
@@ -24160,7 +24198,7 @@ function util_objectSpread(target) { for (var i = 1, source; i < arguments.lengt
|
|
|
24160
24198
|
|
|
24161
24199
|
|
|
24162
24200
|
|
|
24163
|
-
|
|
24201
|
+
const isValue = function (v) {
|
|
24164
24202
|
_newArrowCheck(this, util_this);
|
|
24165
24203
|
return v || v === 0;
|
|
24166
24204
|
}.bind(undefined),
|
|
@@ -24253,8 +24291,8 @@ function getOption(options, key, defaultValue) {
|
|
|
24253
24291
|
* @private
|
|
24254
24292
|
*/
|
|
24255
24293
|
function hasValue(dict, value) {
|
|
24256
|
-
var _this2 = this
|
|
24257
|
-
|
|
24294
|
+
var _this2 = this;
|
|
24295
|
+
let found = !1;
|
|
24258
24296
|
Object.keys(dict).forEach(function (key) {
|
|
24259
24297
|
_newArrowCheck(this, _this2);
|
|
24260
24298
|
return dict[key] === value && (found = !0);
|
|
@@ -24271,7 +24309,7 @@ function hasValue(dict, value) {
|
|
|
24271
24309
|
* @private
|
|
24272
24310
|
*/
|
|
24273
24311
|
function callFn(fn, thisArg) {
|
|
24274
|
-
|
|
24312
|
+
const isFn = isFunction(fn);
|
|
24275
24313
|
for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
24276
24314
|
args[_key - 2] = arguments[_key];
|
|
24277
24315
|
}
|
|
@@ -24286,14 +24324,15 @@ function callFn(fn, thisArg) {
|
|
|
24286
24324
|
* @private
|
|
24287
24325
|
*/
|
|
24288
24326
|
function endall(transition, cb) {
|
|
24289
|
-
var _this3 = this
|
|
24290
|
-
|
|
24291
|
-
|
|
24292
|
-
|
|
24293
|
-
|
|
24294
|
-
|
|
24295
|
-
|
|
24296
|
-
|
|
24327
|
+
var _this3 = this;
|
|
24328
|
+
let n = 0;
|
|
24329
|
+
const end = function () {
|
|
24330
|
+
for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
24331
|
+
args[_key2] = arguments[_key2];
|
|
24332
|
+
}
|
|
24333
|
+
--n || cb.apply.apply(cb, [this].concat(args));
|
|
24334
|
+
};
|
|
24335
|
+
|
|
24297
24336
|
// if is transition selection
|
|
24298
24337
|
if ("duration" in transition) {
|
|
24299
24338
|
transition.each(function () {
|
|
@@ -24312,8 +24351,8 @@ function endall(transition, cb) {
|
|
|
24312
24351
|
* @returns {string}
|
|
24313
24352
|
* @private
|
|
24314
24353
|
*/
|
|
24315
|
-
function
|
|
24316
|
-
return isString(str) ? str.replace(
|
|
24354
|
+
function sanitize(str) {
|
|
24355
|
+
return isString(str) ? str.replace(/<(script|img)?/ig, "<").replace(/(script)?>/ig, ">") : str;
|
|
24317
24356
|
}
|
|
24318
24357
|
|
|
24319
24358
|
/**
|
|
@@ -24338,12 +24377,12 @@ function setTextValue(node, text, dy, toMiddle) {
|
|
|
24338
24377
|
if (text.indexOf("\n") === -1) {
|
|
24339
24378
|
node.text(text);
|
|
24340
24379
|
} else {
|
|
24341
|
-
|
|
24380
|
+
const diff = [node.text(), text].map(function (v) {
|
|
24342
24381
|
_newArrowCheck(this, _this4);
|
|
24343
24382
|
return v.replace(/[\s\n]/g, "");
|
|
24344
24383
|
}.bind(this));
|
|
24345
24384
|
if (diff[0] !== diff[1]) {
|
|
24346
|
-
|
|
24385
|
+
const multiline = text.split("\n"),
|
|
24347
24386
|
len = toMiddle ? multiline.length - 1 : 1;
|
|
24348
24387
|
// reset possible text
|
|
24349
24388
|
node.html("");
|
|
@@ -24369,7 +24408,7 @@ function getRectSegList(path) {
|
|
|
24369
24408
|
* | |
|
|
24370
24409
|
* seg0 ---------- seg3
|
|
24371
24410
|
* */
|
|
24372
|
-
|
|
24411
|
+
const _path$getBBox = path.getBBox(),
|
|
24373
24412
|
x = _path$getBBox.x,
|
|
24374
24413
|
y = _path$getBBox.y,
|
|
24375
24414
|
width = _path$getBBox.width,
|
|
@@ -24403,7 +24442,7 @@ function getRectSegList(path) {
|
|
|
24403
24442
|
* @private
|
|
24404
24443
|
*/
|
|
24405
24444
|
function getPathBox(path) {
|
|
24406
|
-
|
|
24445
|
+
const _path$getBoundingClie = path.getBoundingClientRect(),
|
|
24407
24446
|
width = _path$getBoundingClie.width,
|
|
24408
24447
|
height = _path$getBoundingClie.height,
|
|
24409
24448
|
items = getRectSegList(path),
|
|
@@ -24426,9 +24465,12 @@ function getPathBox(path) {
|
|
|
24426
24465
|
*/
|
|
24427
24466
|
function getPointer(event, element) {
|
|
24428
24467
|
var _ref,
|
|
24429
|
-
touches = event && ((_ref = event.touches || event.sourceEvent && event.sourceEvent.touches) == null ? void 0 : _ref[0]),
|
|
24430
|
-
pointer = src_pointer(touches || event, element),
|
|
24431
24468
|
_this5 = this;
|
|
24469
|
+
const touches = event && ((_ref = event.touches || event.sourceEvent && event.sourceEvent.touches) == null ? void 0 : _ref[0]);
|
|
24470
|
+
let pointer = [0, 0];
|
|
24471
|
+
try {
|
|
24472
|
+
pointer = src_pointer(touches || event, element);
|
|
24473
|
+
} catch (e) {}
|
|
24432
24474
|
return pointer.map(function (v) {
|
|
24433
24475
|
_newArrowCheck(this, _this5);
|
|
24434
24476
|
return isNaN(v) ? 0 : v;
|
|
@@ -24442,10 +24484,10 @@ function getPointer(event, element) {
|
|
|
24442
24484
|
* @private
|
|
24443
24485
|
*/
|
|
24444
24486
|
function getBrushSelection(ctx) {
|
|
24445
|
-
|
|
24487
|
+
const event = ctx.event,
|
|
24446
24488
|
$el = ctx.$el,
|
|
24447
24489
|
main = $el.subchart.main || $el.main;
|
|
24448
|
-
|
|
24490
|
+
let selection;
|
|
24449
24491
|
|
|
24450
24492
|
// check from event
|
|
24451
24493
|
if (event && event.type === "brush") {
|
|
@@ -24465,7 +24507,7 @@ function getBrushSelection(ctx) {
|
|
|
24465
24507
|
* @private
|
|
24466
24508
|
*/
|
|
24467
24509
|
function getBoundingRect(node) {
|
|
24468
|
-
|
|
24510
|
+
const needEvaluate = !("rect" in node) || "rect" in node && node.hasAttribute("width") && node.rect.width !== +node.getAttribute("width");
|
|
24469
24511
|
return needEvaluate ? node.rect = node.getBoundingClientRect() : node.rect;
|
|
24470
24512
|
}
|
|
24471
24513
|
|
|
@@ -24487,7 +24529,7 @@ function getRandom(asStr, min, max) {
|
|
|
24487
24529
|
if (max === void 0) {
|
|
24488
24530
|
max = 1e4;
|
|
24489
24531
|
}
|
|
24490
|
-
|
|
24532
|
+
const crpt = win.crypto || win.msCrypto,
|
|
24491
24533
|
rand = crpt ? min + crpt.getRandomValues(new Uint32Array(1))[0] % (max - min + 1) : Math.floor(Math.random() * (max - min) + min);
|
|
24492
24534
|
return asStr ? rand + "" : rand;
|
|
24493
24535
|
}
|
|
@@ -24506,8 +24548,8 @@ function findIndex(arr, v, start, end, isRotated) {
|
|
|
24506
24548
|
if (start > end) {
|
|
24507
24549
|
return -1;
|
|
24508
24550
|
}
|
|
24509
|
-
|
|
24510
|
-
|
|
24551
|
+
const mid = Math.floor((start + end) / 2);
|
|
24552
|
+
let _arr$mid = arr[mid],
|
|
24511
24553
|
x = _arr$mid.x,
|
|
24512
24554
|
_arr$mid$w = _arr$mid.w,
|
|
24513
24555
|
w = _arr$mid$w === void 0 ? 0 : _arr$mid$w;
|
|
@@ -24528,7 +24570,7 @@ function findIndex(arr, v, start, end, isRotated) {
|
|
|
24528
24570
|
* @private
|
|
24529
24571
|
*/
|
|
24530
24572
|
function brushEmpty(ctx) {
|
|
24531
|
-
|
|
24573
|
+
const selection = getBrushSelection(ctx);
|
|
24532
24574
|
if (selection) {
|
|
24533
24575
|
// brush selected area
|
|
24534
24576
|
// two-dimensional: [[x0, y0], [x1, y1]]
|
|
@@ -24545,17 +24587,19 @@ function brushEmpty(ctx) {
|
|
|
24545
24587
|
* @private
|
|
24546
24588
|
*/
|
|
24547
24589
|
function deepClone() {
|
|
24548
|
-
|
|
24549
|
-
|
|
24550
|
-
|
|
24551
|
-
|
|
24552
|
-
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
return r;
|
|
24590
|
+
var _this6 = this;
|
|
24591
|
+
const _clone = function clone(v) {
|
|
24592
|
+
_newArrowCheck(this, _this6);
|
|
24593
|
+
if (isObject(v) && v.constructor) {
|
|
24594
|
+
const r = new v.constructor();
|
|
24595
|
+
for (const k in v) {
|
|
24596
|
+
r[k] = _clone(v[k]);
|
|
24556
24597
|
}
|
|
24557
|
-
return
|
|
24558
|
-
}
|
|
24598
|
+
return r;
|
|
24599
|
+
}
|
|
24600
|
+
return v;
|
|
24601
|
+
}.bind(this);
|
|
24602
|
+
for (var _len3 = arguments.length, objectN = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
24559
24603
|
objectN[_key3] = arguments[_key3];
|
|
24560
24604
|
}
|
|
24561
24605
|
return objectN.map(function (v) {
|
|
@@ -24587,7 +24631,7 @@ function util_extend(target, source) {
|
|
|
24587
24631
|
}
|
|
24588
24632
|
|
|
24589
24633
|
// exclude name with only numbers
|
|
24590
|
-
for (
|
|
24634
|
+
for (const p in source) {
|
|
24591
24635
|
if (/^\d+$/.test(p) || p in target) {
|
|
24592
24636
|
continue;
|
|
24593
24637
|
}
|
|
@@ -24602,7 +24646,7 @@ function util_extend(target, source) {
|
|
|
24602
24646
|
* @returns {string} capitalized string
|
|
24603
24647
|
* @private
|
|
24604
24648
|
*/
|
|
24605
|
-
|
|
24649
|
+
const capitalize = function (str) {
|
|
24606
24650
|
_newArrowCheck(this, util_this);
|
|
24607
24651
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
24608
24652
|
}.bind(undefined);
|
|
@@ -24631,7 +24675,7 @@ function camelize(str, separator) {
|
|
|
24631
24675
|
* @returns {Array}
|
|
24632
24676
|
* @private
|
|
24633
24677
|
*/
|
|
24634
|
-
|
|
24678
|
+
const toArray = function (v) {
|
|
24635
24679
|
_newArrowCheck(this, util_this);
|
|
24636
24680
|
return [].slice.call(v);
|
|
24637
24681
|
}.bind(undefined);
|
|
@@ -24645,8 +24689,8 @@ var toArray = function (v) {
|
|
|
24645
24689
|
* @private
|
|
24646
24690
|
*/
|
|
24647
24691
|
function addCssRules(style, selector, prop) {
|
|
24648
|
-
var _this9 = this
|
|
24649
|
-
|
|
24692
|
+
var _this9 = this;
|
|
24693
|
+
const rootSelctor = style.rootSelctor,
|
|
24650
24694
|
sheet = style.sheet,
|
|
24651
24695
|
getSelector = function (s) {
|
|
24652
24696
|
_newArrowCheck(this, _this9);
|
|
@@ -24663,8 +24707,8 @@ function addCssRules(style, selector, prop) {
|
|
|
24663
24707
|
* @private
|
|
24664
24708
|
*/
|
|
24665
24709
|
function getCssRules(styleSheets) {
|
|
24666
|
-
var _this10 = this
|
|
24667
|
-
|
|
24710
|
+
var _this10 = this;
|
|
24711
|
+
let rules = [];
|
|
24668
24712
|
styleSheets.forEach(function (sheet) {
|
|
24669
24713
|
_newArrowCheck(this, _this10);
|
|
24670
24714
|
try {
|
|
@@ -24673,7 +24717,7 @@ function getCssRules(styleSheets) {
|
|
|
24673
24717
|
}
|
|
24674
24718
|
} catch (e) {
|
|
24675
24719
|
var _window$console;
|
|
24676
|
-
(_window$console = win.console) == null
|
|
24720
|
+
(_window$console = win.console) == null || _window$console.warn("Error while reading rules from " + sheet.href + ": " + e.toString());
|
|
24677
24721
|
}
|
|
24678
24722
|
}.bind(this));
|
|
24679
24723
|
return rules;
|
|
@@ -24686,7 +24730,7 @@ function getCssRules(styleSheets) {
|
|
|
24686
24730
|
* @private
|
|
24687
24731
|
*/
|
|
24688
24732
|
function getTranslation(node) {
|
|
24689
|
-
|
|
24733
|
+
const transform = node ? node.transform : null,
|
|
24690
24734
|
baseVal = transform && transform.baseVal;
|
|
24691
24735
|
return baseVal && baseVal.numberOfItems ? baseVal.getItem(0).matrix : {
|
|
24692
24736
|
a: 0,
|
|
@@ -24705,8 +24749,8 @@ function getTranslation(node) {
|
|
|
24705
24749
|
* @private
|
|
24706
24750
|
*/
|
|
24707
24751
|
function getUnique(data) {
|
|
24708
|
-
var _this11 = this
|
|
24709
|
-
|
|
24752
|
+
var _this11 = this;
|
|
24753
|
+
const isDate = data[0] instanceof Date,
|
|
24710
24754
|
d = (isDate ? data.map(Number) : data).filter(function (v, i, self) {
|
|
24711
24755
|
_newArrowCheck(this, _this11);
|
|
24712
24756
|
return self.indexOf(v) === i;
|
|
@@ -24745,11 +24789,11 @@ function mergeObj(target) {
|
|
|
24745
24789
|
if (!objectN.length || objectN.length === 1 && !objectN[0]) {
|
|
24746
24790
|
return target;
|
|
24747
24791
|
}
|
|
24748
|
-
|
|
24792
|
+
const source = objectN.shift();
|
|
24749
24793
|
if (isObject(target) && isObject(source)) {
|
|
24750
24794
|
Object.keys(source).forEach(function (key) {
|
|
24751
24795
|
_newArrowCheck(this, _this13);
|
|
24752
|
-
|
|
24796
|
+
const value = source[key];
|
|
24753
24797
|
if (isObject(value)) {
|
|
24754
24798
|
target[key] || (target[key] = {});
|
|
24755
24799
|
target[key] = mergeObj(target[key], value);
|
|
@@ -24773,7 +24817,7 @@ function sortValue(data, isAsc) {
|
|
|
24773
24817
|
if (isAsc === void 0) {
|
|
24774
24818
|
isAsc = !0;
|
|
24775
24819
|
}
|
|
24776
|
-
|
|
24820
|
+
let fn;
|
|
24777
24821
|
if (data[0] instanceof Date) {
|
|
24778
24822
|
fn = isAsc ? function (a, b) {
|
|
24779
24823
|
_newArrowCheck(this, _this14);
|
|
@@ -24806,11 +24850,11 @@ function sortValue(data, isAsc) {
|
|
|
24806
24850
|
* @private
|
|
24807
24851
|
*/
|
|
24808
24852
|
function getMinMax(type, data) {
|
|
24809
|
-
var _this15 = this
|
|
24810
|
-
|
|
24811
|
-
|
|
24812
|
-
|
|
24813
|
-
|
|
24853
|
+
var _this15 = this;
|
|
24854
|
+
let res = data.filter(function (v) {
|
|
24855
|
+
_newArrowCheck(this, _this15);
|
|
24856
|
+
return notEmpty(v);
|
|
24857
|
+
}.bind(this));
|
|
24814
24858
|
if (res.length) {
|
|
24815
24859
|
if (isNumber(res[0])) {
|
|
24816
24860
|
res = Math[type].apply(Math, res);
|
|
@@ -24831,14 +24875,14 @@ function getMinMax(type, data) {
|
|
|
24831
24875
|
* @returns {Array}
|
|
24832
24876
|
* @private
|
|
24833
24877
|
*/
|
|
24834
|
-
|
|
24878
|
+
const getRange = function (start, end, step) {
|
|
24835
24879
|
if (step === void 0) {
|
|
24836
24880
|
step = 1;
|
|
24837
24881
|
}
|
|
24838
24882
|
_newArrowCheck(this, util_this);
|
|
24839
|
-
|
|
24883
|
+
const res = [],
|
|
24840
24884
|
n = Math.max(0, Math.ceil((end - start) / step)) | 0;
|
|
24841
|
-
for (
|
|
24885
|
+
for (let i = start; i < n; i++) {
|
|
24842
24886
|
res.push(start + i * step);
|
|
24843
24887
|
}
|
|
24844
24888
|
return res;
|
|
@@ -24847,7 +24891,7 @@ var getRange = function (start, end, step) {
|
|
|
24847
24891
|
mouse: function () {
|
|
24848
24892
|
var _this16 = this;
|
|
24849
24893
|
_newArrowCheck(this, util_this);
|
|
24850
|
-
|
|
24894
|
+
const getParams = function () {
|
|
24851
24895
|
_newArrowCheck(this, _this16);
|
|
24852
24896
|
return {
|
|
24853
24897
|
bubbles: !1,
|
|
@@ -24875,7 +24919,7 @@ var getRange = function (start, end, step) {
|
|
|
24875
24919
|
params = getParams();
|
|
24876
24920
|
}
|
|
24877
24921
|
_newArrowCheck(this, _this16);
|
|
24878
|
-
|
|
24922
|
+
const mouseEvent = doc.createEvent("MouseEvent");
|
|
24879
24923
|
|
|
24880
24924
|
// https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/initMouseEvent
|
|
24881
24925
|
mouseEvent.initMouseEvent(eventType, params.bubbles, params.cancelable, win, 0,
|
|
@@ -24887,7 +24931,7 @@ var getRange = function (start, end, step) {
|
|
|
24887
24931
|
}.bind(undefined)(),
|
|
24888
24932
|
touch: function touch(el, eventType, params) {
|
|
24889
24933
|
_newArrowCheck(this, util_this);
|
|
24890
|
-
|
|
24934
|
+
const touchObj = new Touch(mergeObj({
|
|
24891
24935
|
identifier: Date.now(),
|
|
24892
24936
|
target: el,
|
|
24893
24937
|
radiusX: 2.5,
|
|
@@ -24913,8 +24957,8 @@ var getRange = function (start, end, step) {
|
|
|
24913
24957
|
* @private
|
|
24914
24958
|
*/
|
|
24915
24959
|
function tplProcess(tpl, data) {
|
|
24916
|
-
|
|
24917
|
-
for (
|
|
24960
|
+
let res = tpl;
|
|
24961
|
+
for (const x in data) {
|
|
24918
24962
|
res = res.replace(new RegExp("{=" + x + "}", "g"), data[x]);
|
|
24919
24963
|
}
|
|
24920
24964
|
return res;
|
|
@@ -24928,13 +24972,14 @@ function tplProcess(tpl, data) {
|
|
|
24928
24972
|
* @private
|
|
24929
24973
|
*/
|
|
24930
24974
|
function parseDate(date) {
|
|
24931
|
-
|
|
24975
|
+
let parsedDate;
|
|
24932
24976
|
if (date instanceof Date) {
|
|
24933
24977
|
parsedDate = date;
|
|
24934
24978
|
} else if (isString(date)) {
|
|
24935
|
-
var _format$dataTime
|
|
24936
|
-
|
|
24979
|
+
var _format$dataTime;
|
|
24980
|
+
const config = this.config,
|
|
24937
24981
|
format = this.format;
|
|
24982
|
+
|
|
24938
24983
|
// if fails to parse, try by new Date()
|
|
24939
24984
|
// https://github.com/naver/billboard.js/issues/1714
|
|
24940
24985
|
parsedDate = (_format$dataTime = format.dataTime(config.data_xFormat)(date)) != null ? _format$dataTime : new Date(date);
|
|
@@ -24964,11 +25009,11 @@ function isTabVisible() {
|
|
|
24964
25009
|
* @private
|
|
24965
25010
|
*/
|
|
24966
25011
|
function convertInputType(mouse, touch) {
|
|
24967
|
-
var _this17 = this
|
|
24968
|
-
|
|
25012
|
+
var _this17 = this;
|
|
25013
|
+
const DocumentTouch = win.DocumentTouch,
|
|
24969
25014
|
matchMedia = win.matchMedia,
|
|
24970
|
-
navigator = win.navigator
|
|
24971
|
-
|
|
25015
|
+
navigator = win.navigator;
|
|
25016
|
+
let hasTouch = !1;
|
|
24972
25017
|
if (touch) {
|
|
24973
25018
|
// Some Edge desktop return true: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/20417074/
|
|
24974
25019
|
if (navigator && "maxTouchPoints" in navigator) {
|
|
@@ -24984,7 +25029,7 @@ function convertInputType(mouse, touch) {
|
|
|
24984
25029
|
hasTouch = !0;
|
|
24985
25030
|
} else {
|
|
24986
25031
|
// Only as a last resort, fall back to user agent sniffing
|
|
24987
|
-
|
|
25032
|
+
const UA = navigator.userAgent;
|
|
24988
25033
|
hasTouch = /\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(UA) || /\b(Android|Windows Phone|iPad|iPod)\b/i.test(UA);
|
|
24989
25034
|
}
|
|
24990
25035
|
}
|
|
@@ -24993,7 +25038,7 @@ function convertInputType(mouse, touch) {
|
|
|
24993
25038
|
// Check if agent has mouse using any-hover, touch devices (e.g iPad) with external mouse will return true as long as mouse is connected
|
|
24994
25039
|
// https://css-tricks.com/interaction-media-features-and-their-potential-for-incorrect-assumptions/#aa-testing-the-capabilities-of-all-inputs
|
|
24995
25040
|
// Demo: https://patrickhlauke.github.io/touch/pointer-hover-any-pointer-any-hover/
|
|
24996
|
-
|
|
25041
|
+
const hasMouse = mouse && ["any-hover:hover", "any-pointer:fine"].some(function (v) {
|
|
24997
25042
|
_newArrowCheck(this, _this17);
|
|
24998
25043
|
return matchMedia == null ? void 0 : matchMedia("(" + v + ")").matches;
|
|
24999
25044
|
}.bind(this));
|
|
@@ -25032,22 +25077,20 @@ function runUntil(fn, conditionFn) {
|
|
|
25032
25077
|
* @private
|
|
25033
25078
|
*/
|
|
25034
25079
|
function loadConfig(config) {
|
|
25035
|
-
var _this = this
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
25039
|
-
|
|
25040
|
-
|
|
25041
|
-
|
|
25042
|
-
|
|
25043
|
-
|
|
25044
|
-
|
|
25045
|
-
|
|
25046
|
-
|
|
25047
|
-
|
|
25048
|
-
|
|
25049
|
-
return undefined;
|
|
25050
|
-
}.bind(this);
|
|
25080
|
+
var _this = this;
|
|
25081
|
+
const thisConfig = this.config;
|
|
25082
|
+
let target, keys, read;
|
|
25083
|
+
const _find = function find() {
|
|
25084
|
+
_newArrowCheck(this, _this);
|
|
25085
|
+
const key = keys.shift();
|
|
25086
|
+
if (key && target && isObjectType(target) && key in target) {
|
|
25087
|
+
target = target[key];
|
|
25088
|
+
return _find();
|
|
25089
|
+
} else if (!key) {
|
|
25090
|
+
return target;
|
|
25091
|
+
}
|
|
25092
|
+
return undefined;
|
|
25093
|
+
}.bind(this);
|
|
25051
25094
|
Object.keys(thisConfig).forEach(function (key) {
|
|
25052
25095
|
_newArrowCheck(this, _this);
|
|
25053
25096
|
target = config;
|
|
@@ -25082,7 +25125,7 @@ function loadConfig(config) {
|
|
|
25082
25125
|
* @example
|
|
25083
25126
|
* bb.plugin.stanford.version; // ex) 1.9.0
|
|
25084
25127
|
*/
|
|
25085
|
-
|
|
25128
|
+
let Plugin = /*#__PURE__*/function () {
|
|
25086
25129
|
/**
|
|
25087
25130
|
* Constructor
|
|
25088
25131
|
* @param {Any} options config option object
|
|
@@ -25136,7 +25179,7 @@ var Plugin = /*#__PURE__*/function () {
|
|
|
25136
25179
|
};
|
|
25137
25180
|
return Plugin;
|
|
25138
25181
|
}();
|
|
25139
|
-
Plugin.version = "3.
|
|
25182
|
+
Plugin.version = "3.10.0-next.1";
|
|
25140
25183
|
|
|
25141
25184
|
;// CONCATENATED MODULE: ./src/Plugin/stanford/Options.ts
|
|
25142
25185
|
/**
|
|
@@ -25151,7 +25194,7 @@ Plugin.version = "3.9.2";
|
|
|
25151
25194
|
* @returns {StanfordOptions}
|
|
25152
25195
|
* @private
|
|
25153
25196
|
*/
|
|
25154
|
-
|
|
25197
|
+
let Options = function () {
|
|
25155
25198
|
return {
|
|
25156
25199
|
/**
|
|
25157
25200
|
* Set the color of the color scale. This function receives a value between 0 and 1, and should return a color.
|
|
@@ -25318,16 +25361,15 @@ function pointInRegion(point, region) {
|
|
|
25318
25361
|
// thanks to: http://bl.ocks.org/bycoffe/5575904
|
|
25319
25362
|
// ray-casting algorithm based on
|
|
25320
25363
|
// http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
|
|
25321
|
-
|
|
25364
|
+
const x = point.x,
|
|
25322
25365
|
y = point.value;
|
|
25323
|
-
|
|
25324
|
-
for (
|
|
25325
|
-
|
|
25366
|
+
let inside = !1;
|
|
25367
|
+
for (let i = 0, j = region.length - 1; i < region.length; j = i++) {
|
|
25368
|
+
const xi = region[i].x,
|
|
25326
25369
|
yi = region[i].y,
|
|
25327
25370
|
xj = region[j].x,
|
|
25328
|
-
yj = region[j].y
|
|
25329
|
-
|
|
25330
|
-
if (intersect) {
|
|
25371
|
+
yj = region[j].y;
|
|
25372
|
+
if (yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi) {
|
|
25331
25373
|
inside = !inside;
|
|
25332
25374
|
}
|
|
25333
25375
|
}
|
|
@@ -25359,10 +25401,10 @@ function compareEpochs(a, b) {
|
|
|
25359
25401
|
*/
|
|
25360
25402
|
function getRegionArea(points) {
|
|
25361
25403
|
// thanks to: https://stackoverflow.com/questions/16282330/find-centerpoint-of-polygon-in-javascript
|
|
25362
|
-
|
|
25404
|
+
let area = 0,
|
|
25363
25405
|
point1,
|
|
25364
25406
|
point2;
|
|
25365
|
-
for (
|
|
25407
|
+
for (let i = 0, l = points.length, j = l - 1; i < l; j = i, i++) {
|
|
25366
25408
|
point1 = points[i];
|
|
25367
25409
|
point2 = points[j];
|
|
25368
25410
|
area += point1.x * point2.y;
|
|
@@ -25379,12 +25421,12 @@ function getRegionArea(points) {
|
|
|
25379
25421
|
* @private
|
|
25380
25422
|
*/
|
|
25381
25423
|
function getCentroid(points) {
|
|
25382
|
-
|
|
25383
|
-
|
|
25424
|
+
const area = getRegionArea(points);
|
|
25425
|
+
let x = 0,
|
|
25384
25426
|
y = 0,
|
|
25385
25427
|
f;
|
|
25386
|
-
for (
|
|
25387
|
-
|
|
25428
|
+
for (let i = 0, l = points.length, j = l - 1; i < l; j = i, i++) {
|
|
25429
|
+
const point1 = points[i],
|
|
25388
25430
|
point2 = points[j];
|
|
25389
25431
|
f = point1.x * point2.y - point2.x * point1.y;
|
|
25390
25432
|
x += (point1.x + point2.x) * f;
|
|
@@ -25413,66 +25455,71 @@ function getCentroid(points) {
|
|
|
25413
25455
|
* @param {Stanford} owner Stanford instance
|
|
25414
25456
|
* @private
|
|
25415
25457
|
*/
|
|
25416
|
-
|
|
25458
|
+
let Elements = /*#__PURE__*/function () {
|
|
25417
25459
|
function Elements(owner) {
|
|
25418
25460
|
this.owner = void 0;
|
|
25419
25461
|
this.owner = owner;
|
|
25420
25462
|
|
|
25421
25463
|
// MEMO: Avoid blocking eventRect
|
|
25422
|
-
|
|
25464
|
+
const elements = owner.$$.$el.main.select(".bb-chart").append("g").attr("class", stanford_classes.stanfordElements);
|
|
25423
25465
|
elements.append("g").attr("class", stanford_classes.stanfordLines);
|
|
25424
25466
|
elements.append("g").attr("class", stanford_classes.stanfordRegions);
|
|
25425
25467
|
}
|
|
25426
25468
|
var _proto = Elements.prototype;
|
|
25427
25469
|
_proto.updateStanfordLines = function updateStanfordLines(duration) {
|
|
25428
|
-
var _this = this
|
|
25429
|
-
|
|
25470
|
+
var _this = this;
|
|
25471
|
+
const $$ = this.owner.$$,
|
|
25430
25472
|
config = $$.config,
|
|
25431
25473
|
main = $$.$el.main,
|
|
25432
25474
|
isRotated = config.axis_rotated,
|
|
25433
25475
|
xvCustom = this.xvCustom.bind($$),
|
|
25434
25476
|
yvCustom = this.yvCustom.bind($$),
|
|
25435
25477
|
stanfordLine = main.select("." + stanford_classes.stanfordLines).style("shape-rendering", "geometricprecision").selectAll("." + stanford_classes.stanfordLine).data(this.owner.config.lines);
|
|
25478
|
+
|
|
25436
25479
|
// Stanford-Lines
|
|
25437
25480
|
|
|
25438
25481
|
// exit
|
|
25439
25482
|
stanfordLine.exit().transition().duration(duration).style("opacity", "0").remove();
|
|
25440
25483
|
|
|
25441
25484
|
// enter
|
|
25442
|
-
|
|
25485
|
+
const stanfordLineEnter = stanfordLine.enter().append("g");
|
|
25443
25486
|
stanfordLineEnter.append("line").style("opacity", "0");
|
|
25444
25487
|
stanfordLineEnter.merge(stanfordLine).attr("class", function (d) {
|
|
25445
25488
|
_newArrowCheck(this, _this);
|
|
25446
25489
|
return stanford_classes.stanfordLine + (d.class ? " " + d.class : "");
|
|
25447
25490
|
}.bind(this)).select("line").transition().duration(duration).attr("x1", function (d) {
|
|
25448
25491
|
_newArrowCheck(this, _this);
|
|
25449
|
-
|
|
25492
|
+
const v = isRotated ? yvCustom(d, "y1") : xvCustom(d, "x1");
|
|
25493
|
+
return v;
|
|
25450
25494
|
}.bind(this)).attr("x2", function (d) {
|
|
25451
25495
|
_newArrowCheck(this, _this);
|
|
25452
25496
|
return isRotated ? yvCustom(d, "y2") : xvCustom(d, "x2");
|
|
25453
25497
|
}.bind(this)).attr("y1", function (d) {
|
|
25454
25498
|
_newArrowCheck(this, _this);
|
|
25455
|
-
|
|
25499
|
+
const v = isRotated ? xvCustom(d, "x1") : yvCustom(d, "y1");
|
|
25500
|
+
return v;
|
|
25456
25501
|
}.bind(this)).attr("y2", function (d) {
|
|
25457
25502
|
_newArrowCheck(this, _this);
|
|
25458
25503
|
return isRotated ? xvCustom(d, "x2") : yvCustom(d, "y2");
|
|
25459
25504
|
}.bind(this)).transition().style("opacity", null);
|
|
25460
25505
|
};
|
|
25461
25506
|
_proto.updateStanfordRegions = function updateStanfordRegions(duration) {
|
|
25462
|
-
var _this2 = this
|
|
25463
|
-
|
|
25507
|
+
var _this2 = this;
|
|
25508
|
+
const $$ = this.owner.$$,
|
|
25464
25509
|
config = $$.config,
|
|
25465
25510
|
main = $$.$el.main,
|
|
25466
25511
|
isRotated = config.axis_rotated,
|
|
25467
25512
|
xvCustom = this.xvCustom.bind($$),
|
|
25468
25513
|
yvCustom = this.yvCustom.bind($$),
|
|
25469
|
-
countPointsInRegion = this.owner.countEpochsInRegion.bind($$)
|
|
25470
|
-
|
|
25514
|
+
countPointsInRegion = this.owner.countEpochsInRegion.bind($$);
|
|
25515
|
+
// Stanford-Regions
|
|
25516
|
+
let stanfordRegion = main.select("." + stanford_classes.stanfordRegions).selectAll("." + stanford_classes.stanfordRegion).data(this.owner.config.regions);
|
|
25517
|
+
|
|
25471
25518
|
// exit
|
|
25472
25519
|
stanfordRegion.exit().transition().duration(duration).style("opacity", "0").remove();
|
|
25473
25520
|
|
|
25474
25521
|
// enter
|
|
25475
|
-
|
|
25522
|
+
const stanfordRegionEnter = stanfordRegion.enter().append("g");
|
|
25476
25523
|
stanfordRegionEnter.append("polygon").style("opacity", "0");
|
|
25477
25524
|
stanfordRegionEnter.append("text").attr("transform", isRotated ? "rotate(-90)" : "").style("opacity", "0");
|
|
25478
25525
|
stanfordRegion = stanfordRegionEnter.merge(stanfordRegion);
|
|
@@ -25501,7 +25548,7 @@ var Elements = /*#__PURE__*/function () {
|
|
|
25501
25548
|
}.bind(this)).text(function (d) {
|
|
25502
25549
|
_newArrowCheck(this, _this2);
|
|
25503
25550
|
if (d.text) {
|
|
25504
|
-
|
|
25551
|
+
const _countPointsInRegion = countPointsInRegion(d.points),
|
|
25505
25552
|
value = _countPointsInRegion.value,
|
|
25506
25553
|
percentage = _countPointsInRegion.percentage;
|
|
25507
25554
|
return d.text(value, percentage);
|
|
@@ -25517,10 +25564,10 @@ var Elements = /*#__PURE__*/function () {
|
|
|
25517
25564
|
this.updateStanfordRegions(duration);
|
|
25518
25565
|
};
|
|
25519
25566
|
_proto.xvCustom = function xvCustom(d, xyValue) {
|
|
25520
|
-
|
|
25567
|
+
const $$ = this,
|
|
25521
25568
|
axis = $$.axis,
|
|
25522
25569
|
config = $$.config;
|
|
25523
|
-
|
|
25570
|
+
let value = xyValue ? d[xyValue] : $$.getBaseValue(d);
|
|
25524
25571
|
if (axis.isTimeSeries()) {
|
|
25525
25572
|
value = parseDate.call($$, value);
|
|
25526
25573
|
} else if (axis.isCategorized() && isString(value)) {
|
|
@@ -25529,7 +25576,7 @@ var Elements = /*#__PURE__*/function () {
|
|
|
25529
25576
|
return Math.ceil($$.scale.x(value));
|
|
25530
25577
|
};
|
|
25531
25578
|
_proto.yvCustom = function yvCustom(d, xyValue) {
|
|
25532
|
-
|
|
25579
|
+
const $$ = this,
|
|
25533
25580
|
yScale = d.axis && d.axis === "y2" ? $$.scale.y2 : $$.scale.y,
|
|
25534
25581
|
value = xyValue ? d[xyValue] : $$.getBaseValue(d);
|
|
25535
25582
|
return Math.ceil(yScale(value));
|
|
@@ -25691,7 +25738,7 @@ function axisLeft(scale) {
|
|
|
25691
25738
|
* @param {Stanford} owner Stanford instance
|
|
25692
25739
|
* @private
|
|
25693
25740
|
*/
|
|
25694
|
-
|
|
25741
|
+
let ColorScale = /*#__PURE__*/function () {
|
|
25695
25742
|
function ColorScale(owner) {
|
|
25696
25743
|
this.owner = void 0;
|
|
25697
25744
|
this.colorScale = void 0;
|
|
@@ -25699,8 +25746,8 @@ var ColorScale = /*#__PURE__*/function () {
|
|
|
25699
25746
|
}
|
|
25700
25747
|
var _proto = ColorScale.prototype;
|
|
25701
25748
|
_proto.drawColorScale = function drawColorScale() {
|
|
25702
|
-
var _this = this
|
|
25703
|
-
|
|
25749
|
+
var _this = this;
|
|
25750
|
+
const _this$owner = this.owner,
|
|
25704
25751
|
$$ = _this$owner.$$,
|
|
25705
25752
|
config = _this$owner.config,
|
|
25706
25753
|
target = $$.data.targets[0],
|
|
@@ -25721,7 +25768,7 @@ var ColorScale = /*#__PURE__*/function () {
|
|
|
25721
25768
|
}.bind(this));
|
|
25722
25769
|
|
|
25723
25770
|
// Legend Axis
|
|
25724
|
-
|
|
25771
|
+
const axisScale = symlog().domain([target.minEpochs, target.maxEpochs]).range([points[0] + config.padding_top + points[points.length - 1] + 5 - 1, points[0] + config.padding_top]),
|
|
25725
25772
|
legendAxis = axisRight(axisScale),
|
|
25726
25773
|
scaleFormat = config.scale_format;
|
|
25727
25774
|
if (scaleFormat === "pow10") {
|
|
@@ -25733,7 +25780,7 @@ var ColorScale = /*#__PURE__*/function () {
|
|
|
25733
25780
|
}
|
|
25734
25781
|
|
|
25735
25782
|
// Draw Axis
|
|
25736
|
-
|
|
25783
|
+
const axis = this.colorScale.append("g").attr("class", "legend axis").attr("transform", "translate(" + barWidth + ",0)").call(legendAxis);
|
|
25737
25784
|
if (scaleFormat === "pow10") {
|
|
25738
25785
|
axis.selectAll(".tick text").text(null).filter(function (d) {
|
|
25739
25786
|
_newArrowCheck(this, _this);
|
|
@@ -25861,7 +25908,7 @@ var ColorScale = /*#__PURE__*/function () {
|
|
|
25861
25908
|
* ]
|
|
25862
25909
|
* })
|
|
25863
25910
|
*/
|
|
25864
|
-
|
|
25911
|
+
let Stanford = /*#__PURE__*/function (_Plugin) {
|
|
25865
25912
|
_inheritsLoose(Stanford, _Plugin);
|
|
25866
25913
|
function Stanford(options) {
|
|
25867
25914
|
var _this = _Plugin.call(this, options) || this;
|
|
@@ -25873,8 +25920,9 @@ var Stanford = /*#__PURE__*/function (_Plugin) {
|
|
|
25873
25920
|
}
|
|
25874
25921
|
var _proto = Stanford.prototype;
|
|
25875
25922
|
_proto.$beforeInit = function $beforeInit() {
|
|
25876
|
-
var _this2 = this
|
|
25877
|
-
|
|
25923
|
+
var _this2 = this;
|
|
25924
|
+
const $$ = this.$$;
|
|
25925
|
+
|
|
25878
25926
|
// override on config values & methods
|
|
25879
25927
|
$$.config.data_xSort = !1;
|
|
25880
25928
|
$$.isMultipleX = function () {
|
|
@@ -25892,14 +25940,14 @@ var Stanford = /*#__PURE__*/function (_Plugin) {
|
|
|
25892
25940
|
_newArrowCheck(this, _this2);
|
|
25893
25941
|
return 1;
|
|
25894
25942
|
}.bind(this);
|
|
25895
|
-
|
|
25943
|
+
const getCurrentPaddingRight = $$.getCurrentPaddingRight.bind($$);
|
|
25896
25944
|
$$.getCurrentPaddingRight = function () {
|
|
25897
25945
|
_newArrowCheck(this, _this2);
|
|
25898
25946
|
return getCurrentPaddingRight() + (this.colorScale ? this.colorScale.getColorScalePadding() : 0);
|
|
25899
25947
|
}.bind(this);
|
|
25900
25948
|
};
|
|
25901
25949
|
_proto.$init = function $init() {
|
|
25902
|
-
|
|
25950
|
+
const $$ = this.$$;
|
|
25903
25951
|
loadConfig.call(this, this.options);
|
|
25904
25952
|
$$.color = this.getStanfordPointColor.bind($$);
|
|
25905
25953
|
this.colorScale = new ColorScale(this);
|
|
@@ -25912,15 +25960,15 @@ var Stanford = /*#__PURE__*/function (_Plugin) {
|
|
|
25912
25960
|
};
|
|
25913
25961
|
_proto.$redraw = function $redraw(duration) {
|
|
25914
25962
|
var _this$colorScale, _this$elements;
|
|
25915
|
-
(_this$colorScale = this.colorScale) == null
|
|
25916
|
-
(_this$elements = this.elements) == null
|
|
25963
|
+
(_this$colorScale = this.colorScale) == null || _this$colorScale.drawColorScale();
|
|
25964
|
+
(_this$elements = this.elements) == null || _this$elements.updateStanfordElements(duration);
|
|
25917
25965
|
};
|
|
25918
25966
|
_proto.getOptions = function getOptions() {
|
|
25919
25967
|
return new Options();
|
|
25920
25968
|
};
|
|
25921
25969
|
_proto.convertData = function convertData() {
|
|
25922
|
-
var _this3 = this
|
|
25923
|
-
|
|
25970
|
+
var _this3 = this;
|
|
25971
|
+
const data = this.$$.data.targets,
|
|
25924
25972
|
epochs = this.options.epochs;
|
|
25925
25973
|
data.forEach(function (d) {
|
|
25926
25974
|
var _this4 = this;
|
|
@@ -25935,35 +25983,16 @@ var Stanford = /*#__PURE__*/function (_Plugin) {
|
|
|
25935
25983
|
d.colorscale = undefined;
|
|
25936
25984
|
}.bind(this));
|
|
25937
25985
|
};
|
|
25938
|
-
_proto.xvCustom = function xvCustom(d, xyValue) {
|
|
25939
|
-
var $$ = this,
|
|
25940
|
-
axis = $$.axis,
|
|
25941
|
-
config = $$.config;
|
|
25942
|
-
var value = xyValue ? d[xyValue] : $$.getBaseValue(d);
|
|
25943
|
-
if (axis.isTimeSeries()) {
|
|
25944
|
-
value = parseDate.call($$, value);
|
|
25945
|
-
} else if (axis.isCategorized() && isString(value)) {
|
|
25946
|
-
value = config.axis_x_categories.indexOf(d.value);
|
|
25947
|
-
}
|
|
25948
|
-
return Math.ceil($$.scale.x(value));
|
|
25949
|
-
};
|
|
25950
|
-
_proto.yvCustom = function yvCustom(d, xyValue) {
|
|
25951
|
-
var $$ = this,
|
|
25952
|
-
scale = $$.scale,
|
|
25953
|
-
yScale = d.axis && d.axis === "y2" ? scale.y2 : scale.y,
|
|
25954
|
-
value = xyValue ? d[xyValue] : $$.getBaseValue(d);
|
|
25955
|
-
return Math.ceil(yScale(value));
|
|
25956
|
-
};
|
|
25957
25986
|
_proto.initStanfordData = function initStanfordData() {
|
|
25958
|
-
var _this5 = this
|
|
25959
|
-
|
|
25987
|
+
var _this5 = this;
|
|
25988
|
+
const config = this.config,
|
|
25960
25989
|
target = this.$$.data.targets[0];
|
|
25961
25990
|
// TODO STANFORD see if (data.js -> orderTargets)+ can be used instead
|
|
25962
25991
|
// Make larger values appear on top
|
|
25963
25992
|
target.values.sort(compareEpochs);
|
|
25964
25993
|
|
|
25965
25994
|
// Get array of epochs
|
|
25966
|
-
|
|
25995
|
+
const epochs = target.values.map(function (a) {
|
|
25967
25996
|
_newArrowCheck(this, _this5);
|
|
25968
25997
|
return a.epochs;
|
|
25969
25998
|
}.bind(this));
|
|
@@ -25973,19 +26002,19 @@ var Stanford = /*#__PURE__*/function (_Plugin) {
|
|
|
25973
26002
|
target.colorscale = sequentialLog(target.colors).domain([target.minEpochs, target.maxEpochs]);
|
|
25974
26003
|
};
|
|
25975
26004
|
_proto.getStanfordPointColor = function getStanfordPointColor(d) {
|
|
25976
|
-
|
|
26005
|
+
const target = this.data.targets[0];
|
|
25977
26006
|
return target.colorscale(d.epochs);
|
|
25978
26007
|
};
|
|
25979
26008
|
_proto.setStanfordTooltip = function setStanfordTooltip() {
|
|
25980
|
-
|
|
26009
|
+
const config = this.$$.config;
|
|
25981
26010
|
if (isEmpty(config.tooltip_contents)) {
|
|
25982
26011
|
config.tooltip_contents = function (d, defaultTitleFormat, defaultValueFormat, color) {
|
|
25983
|
-
var _this6 = this
|
|
25984
|
-
|
|
25985
|
-
|
|
26012
|
+
var _this6 = this;
|
|
26013
|
+
const data_x = config.data_x;
|
|
26014
|
+
let html = "<table class=\"" + $TOOLTIP.tooltip + "\"><tbody>";
|
|
25986
26015
|
d.forEach(function (v) {
|
|
25987
26016
|
_newArrowCheck(this, _this6);
|
|
25988
|
-
|
|
26017
|
+
const _v$id = v.id,
|
|
25989
26018
|
id = _v$id === void 0 ? "" : _v$id,
|
|
25990
26019
|
_v$value = v.value,
|
|
25991
26020
|
value = _v$value === void 0 ? 0 : _v$value,
|
|
@@ -26000,8 +26029,8 @@ var Stanford = /*#__PURE__*/function (_Plugin) {
|
|
|
26000
26029
|
}
|
|
26001
26030
|
};
|
|
26002
26031
|
_proto.countEpochsInRegion = function countEpochsInRegion(region) {
|
|
26003
|
-
var _this7 = this
|
|
26004
|
-
|
|
26032
|
+
var _this7 = this;
|
|
26033
|
+
const $$ = this,
|
|
26005
26034
|
target = $$.data.targets[0],
|
|
26006
26035
|
total = target.values.reduce(function (accumulator, currentValue) {
|
|
26007
26036
|
_newArrowCheck(this, _this7);
|