@danielgindi/selectbox 1.0.38 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.cjs.js +1146 -875
- package/dist/lib.cjs.js.map +1 -1
- package/dist/lib.cjs.min.js +2 -2
- package/dist/lib.cjs.min.js.map +1 -1
- package/dist/lib.es6.js +79 -51
- package/dist/lib.es6.js.map +1 -1
- package/dist/lib.es6.min.js +2 -2
- package/dist/lib.es6.min.js.map +1 -1
- package/dist/lib.umd.js +1146 -875
- package/dist/lib.umd.js.map +1 -1
- package/dist/lib.umd.min.js +2 -2
- package/dist/lib.umd.min.js.map +1 -1
- package/lib/DropList.js +64 -42
- package/lib/SelectBox.js +14 -8
- package/package.json +14 -11
- package/vue/SelectBox.vue +1 -1
- package/vue/utils/slots.js +3 -3
package/dist/lib.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @danielgindi/selectbox 1.0.
|
|
2
|
+
* @danielgindi/selectbox 1.0.45
|
|
3
3
|
* git://github.com/danielgindi/selectbox.git
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -20,48 +20,73 @@ var DomEventsSink__default = /*#__PURE__*/_interopDefaultLegacy(DomEventsSink);
|
|
|
20
20
|
var VirtualListHelper__default = /*#__PURE__*/_interopDefaultLegacy(VirtualListHelper);
|
|
21
21
|
var mitt__default = /*#__PURE__*/_interopDefaultLegacy(mitt);
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
function _asyncIterator(iterable) {
|
|
24
|
+
var method,
|
|
25
|
+
async,
|
|
26
|
+
sync,
|
|
27
|
+
retry = 2;
|
|
28
|
+
|
|
29
|
+
for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) {
|
|
30
|
+
if (async && null != (method = iterable[async])) return method.call(iterable);
|
|
31
|
+
if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable));
|
|
32
|
+
async = "@@asyncIterator", sync = "@@iterator";
|
|
28
33
|
}
|
|
29
34
|
|
|
30
|
-
|
|
31
|
-
|
|
35
|
+
throw new TypeError("Object is not async iterable");
|
|
36
|
+
}
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
function AsyncFromSyncIterator(s) {
|
|
39
|
+
function AsyncFromSyncIteratorContinuation(r) {
|
|
40
|
+
if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object."));
|
|
41
|
+
var done = r.done;
|
|
42
|
+
return Promise.resolve(r.value).then(function (value) {
|
|
43
|
+
return {
|
|
44
|
+
value: value,
|
|
45
|
+
done: done
|
|
46
|
+
};
|
|
47
|
+
});
|
|
37
48
|
}
|
|
38
49
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
50
|
+
return AsyncFromSyncIterator = function (s) {
|
|
51
|
+
this.s = s, this.n = s.next;
|
|
52
|
+
}, AsyncFromSyncIterator.prototype = {
|
|
53
|
+
s: null,
|
|
54
|
+
n: null,
|
|
55
|
+
next: function () {
|
|
56
|
+
return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
|
|
57
|
+
},
|
|
58
|
+
return: function (value) {
|
|
59
|
+
var ret = this.s.return;
|
|
60
|
+
return void 0 === ret ? Promise.resolve({
|
|
61
|
+
value: value,
|
|
62
|
+
done: !0
|
|
63
|
+
}) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));
|
|
64
|
+
},
|
|
65
|
+
throw: function (value) {
|
|
66
|
+
var thr = this.s.return;
|
|
67
|
+
return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));
|
|
46
68
|
}
|
|
69
|
+
}, new AsyncFromSyncIterator(s);
|
|
70
|
+
}
|
|
47
71
|
|
|
48
|
-
|
|
49
|
-
}
|
|
72
|
+
var REACT_ELEMENT_TYPE;
|
|
50
73
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} else if (
|
|
58
|
-
|
|
59
|
-
}
|
|
74
|
+
function _jsx(type, props, key, children) {
|
|
75
|
+
REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103);
|
|
76
|
+
var defaultProps = type && type.defaultProps,
|
|
77
|
+
childrenLength = arguments.length - 3;
|
|
78
|
+
if (props || 0 === childrenLength || (props = {
|
|
79
|
+
children: void 0
|
|
80
|
+
}), 1 === childrenLength) props.children = children;else if (childrenLength > 1) {
|
|
81
|
+
for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 3];
|
|
60
82
|
|
|
83
|
+
props.children = childArray;
|
|
84
|
+
}
|
|
85
|
+
if (props && defaultProps) for (var propName in defaultProps) void 0 === props[propName] && (props[propName] = defaultProps[propName]);else props || (props = defaultProps || {});
|
|
61
86
|
return {
|
|
62
87
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
63
88
|
type: type,
|
|
64
|
-
key:
|
|
89
|
+
key: void 0 === key ? null : "" + key,
|
|
65
90
|
ref: null,
|
|
66
91
|
props: props,
|
|
67
92
|
_owner: null
|
|
@@ -73,14 +98,9 @@ function ownKeys$2(object, enumerableOnly) {
|
|
|
73
98
|
|
|
74
99
|
if (Object.getOwnPropertySymbols) {
|
|
75
100
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
keys.push.apply(keys, symbols);
|
|
101
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
102
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
103
|
+
})), keys.push.apply(keys, symbols);
|
|
84
104
|
}
|
|
85
105
|
|
|
86
106
|
return keys;
|
|
@@ -88,19 +108,12 @@ function ownKeys$2(object, enumerableOnly) {
|
|
|
88
108
|
|
|
89
109
|
function _objectSpread2(target) {
|
|
90
110
|
for (var i = 1; i < arguments.length; i++) {
|
|
91
|
-
var source = arguments[i]
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
98
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
99
|
-
} else {
|
|
100
|
-
ownKeys$2(Object(source)).forEach(function (key) {
|
|
101
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
102
|
-
});
|
|
103
|
-
}
|
|
111
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
112
|
+
i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) {
|
|
113
|
+
_defineProperty(target, key, source[key]);
|
|
114
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) {
|
|
115
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
116
|
+
});
|
|
104
117
|
}
|
|
105
118
|
|
|
106
119
|
return target;
|
|
@@ -109,94 +122,59 @@ function _objectSpread2(target) {
|
|
|
109
122
|
function _typeof(obj) {
|
|
110
123
|
"@babel/helpers - typeof";
|
|
111
124
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
_typeof = function (obj) {
|
|
118
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return _typeof(obj);
|
|
125
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
126
|
+
return typeof obj;
|
|
127
|
+
} : function (obj) {
|
|
128
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
129
|
+
}, _typeof(obj);
|
|
123
130
|
}
|
|
124
131
|
|
|
125
132
|
function _wrapRegExp() {
|
|
126
133
|
_wrapRegExp = function (re, groups) {
|
|
127
|
-
return new BabelRegExp(re,
|
|
134
|
+
return new BabelRegExp(re, void 0, groups);
|
|
128
135
|
};
|
|
129
136
|
|
|
130
|
-
var _super = RegExp.prototype
|
|
131
|
-
|
|
132
|
-
var _groups = new WeakMap();
|
|
137
|
+
var _super = RegExp.prototype,
|
|
138
|
+
_groups = new WeakMap();
|
|
133
139
|
|
|
134
140
|
function BabelRegExp(re, flags, groups) {
|
|
135
141
|
var _this = new RegExp(re, flags);
|
|
136
142
|
|
|
137
|
-
_groups.set(_this, groups || _groups.get(re));
|
|
138
|
-
|
|
139
|
-
return _setPrototypeOf(_this, BabelRegExp.prototype);
|
|
143
|
+
return _groups.set(_this, groups || _groups.get(re)), _setPrototypeOf(_this, BabelRegExp.prototype);
|
|
140
144
|
}
|
|
141
145
|
|
|
142
|
-
|
|
146
|
+
function buildGroups(result, re) {
|
|
147
|
+
var g = _groups.get(re);
|
|
143
148
|
|
|
144
|
-
|
|
145
|
-
|
|
149
|
+
return Object.keys(g).reduce(function (groups, name) {
|
|
150
|
+
return groups[name] = result[g[name]], groups;
|
|
151
|
+
}, Object.create(null));
|
|
152
|
+
}
|
|
146
153
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
};
|
|
154
|
+
return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
|
|
155
|
+
var result = _super.exec.call(this, str);
|
|
150
156
|
|
|
151
|
-
|
|
152
|
-
|
|
157
|
+
return result && (result.groups = buildGroups(result, this)), result;
|
|
158
|
+
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
|
159
|
+
if ("string" == typeof substitution) {
|
|
153
160
|
var groups = _groups.get(this);
|
|
154
161
|
|
|
155
162
|
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
|
156
163
|
return "$" + groups[name];
|
|
157
164
|
}));
|
|
158
|
-
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
if ("function" == typeof substitution) {
|
|
159
168
|
var _this = this;
|
|
160
169
|
|
|
161
170
|
return _super[Symbol.replace].call(this, str, function () {
|
|
162
171
|
var args = arguments;
|
|
163
|
-
|
|
164
|
-
if (typeof args[args.length - 1] !== "object") {
|
|
165
|
-
args = [].slice.call(args);
|
|
166
|
-
args.push(buildGroups(args, _this));
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
return substitution.apply(this, args);
|
|
172
|
+
return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args);
|
|
170
173
|
});
|
|
171
|
-
} else {
|
|
172
|
-
return _super[Symbol.replace].call(this, str, substitution);
|
|
173
174
|
}
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
function buildGroups(result, re) {
|
|
177
|
-
var g = _groups.get(re);
|
|
178
175
|
|
|
179
|
-
return
|
|
180
|
-
|
|
181
|
-
return groups;
|
|
182
|
-
}, Object.create(null));
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
return _wrapRegExp.apply(this, arguments);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
function _asyncIterator(iterable) {
|
|
189
|
-
var method;
|
|
190
|
-
|
|
191
|
-
if (typeof Symbol !== "undefined") {
|
|
192
|
-
if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
|
|
193
|
-
if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
if (method == null) method = iterable["@@asyncIterator"];
|
|
197
|
-
if (method == null) method = iterable["@@iterator"];
|
|
198
|
-
if (method == null) throw new TypeError("Object is not async iterable");
|
|
199
|
-
return method.call(iterable);
|
|
176
|
+
return _super[Symbol.replace].call(this, str, substitution);
|
|
177
|
+
}, _wrapRegExp.apply(this, arguments);
|
|
200
178
|
}
|
|
201
179
|
|
|
202
180
|
function _AwaitValue(value) {
|
|
@@ -418,6 +396,9 @@ function _defineProperties(target, props) {
|
|
|
418
396
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
419
397
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
420
398
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
399
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
400
|
+
writable: false
|
|
401
|
+
});
|
|
421
402
|
return Constructor;
|
|
422
403
|
}
|
|
423
404
|
|
|
@@ -523,6 +504,9 @@ function _inherits(subClass, superClass) {
|
|
|
523
504
|
configurable: true
|
|
524
505
|
}
|
|
525
506
|
});
|
|
507
|
+
Object.defineProperty(subClass, "prototype", {
|
|
508
|
+
writable: false
|
|
509
|
+
});
|
|
526
510
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
527
511
|
}
|
|
528
512
|
|
|
@@ -773,7 +757,7 @@ function _superPropBase(object, property) {
|
|
|
773
757
|
return object;
|
|
774
758
|
}
|
|
775
759
|
|
|
776
|
-
function _get(
|
|
760
|
+
function _get() {
|
|
777
761
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
778
762
|
_get = Reflect.get;
|
|
779
763
|
} else {
|
|
@@ -784,14 +768,14 @@ function _get(target, property, receiver) {
|
|
|
784
768
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
785
769
|
|
|
786
770
|
if (desc.get) {
|
|
787
|
-
return desc.get.call(receiver);
|
|
771
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
788
772
|
}
|
|
789
773
|
|
|
790
774
|
return desc.value;
|
|
791
775
|
};
|
|
792
776
|
}
|
|
793
777
|
|
|
794
|
-
return _get(
|
|
778
|
+
return _get.apply(this, arguments);
|
|
795
779
|
}
|
|
796
780
|
|
|
797
781
|
function set$1(target, property, value, receiver) {
|
|
@@ -1740,7 +1724,7 @@ var check = function (it) {
|
|
|
1740
1724
|
};
|
|
1741
1725
|
|
|
1742
1726
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
1743
|
-
var global$
|
|
1727
|
+
var global$M =
|
|
1744
1728
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
1745
1729
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
1746
1730
|
check(typeof window == 'object' && window) ||
|
|
@@ -1752,7 +1736,7 @@ var global$I =
|
|
|
1752
1736
|
|
|
1753
1737
|
var objectGetOwnPropertyDescriptor = {};
|
|
1754
1738
|
|
|
1755
|
-
var fails$
|
|
1739
|
+
var fails$u = function (exec) {
|
|
1756
1740
|
try {
|
|
1757
1741
|
return !!exec();
|
|
1758
1742
|
} catch (error) {
|
|
@@ -1760,17 +1744,27 @@ var fails$p = function (exec) {
|
|
|
1760
1744
|
}
|
|
1761
1745
|
};
|
|
1762
1746
|
|
|
1763
|
-
var fails$
|
|
1747
|
+
var fails$t = fails$u;
|
|
1764
1748
|
|
|
1765
1749
|
// Detect IE8's incomplete defineProperty implementation
|
|
1766
|
-
var descriptors = !fails$
|
|
1750
|
+
var descriptors = !fails$t(function () {
|
|
1767
1751
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1768
1752
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
1769
1753
|
});
|
|
1770
1754
|
|
|
1755
|
+
var fails$s = fails$u;
|
|
1756
|
+
|
|
1757
|
+
var functionBindNative = !fails$s(function () {
|
|
1758
|
+
var test = (function () { /* empty */ }).bind();
|
|
1759
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1760
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
1761
|
+
});
|
|
1762
|
+
|
|
1763
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
1764
|
+
|
|
1771
1765
|
var call$f = Function.prototype.call;
|
|
1772
1766
|
|
|
1773
|
-
var functionCall =
|
|
1767
|
+
var functionCall = NATIVE_BIND$3 ? call$f.bind(call$f) : function () {
|
|
1774
1768
|
return call$f.apply(call$f, arguments);
|
|
1775
1769
|
};
|
|
1776
1770
|
|
|
@@ -1786,7 +1780,7 @@ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable$2.call({
|
|
|
1786
1780
|
|
|
1787
1781
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
1788
1782
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
1789
|
-
var f$
|
|
1783
|
+
var f$7 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
1790
1784
|
var descriptor = getOwnPropertyDescriptor$2(this, V);
|
|
1791
1785
|
return !!descriptor && descriptor.enumerable;
|
|
1792
1786
|
} : $propertyIsEnumerable$2;
|
|
@@ -1800,62 +1794,64 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
|
1800
1794
|
};
|
|
1801
1795
|
};
|
|
1802
1796
|
|
|
1797
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
1798
|
+
|
|
1803
1799
|
var FunctionPrototype$2 = Function.prototype;
|
|
1804
|
-
var bind$
|
|
1800
|
+
var bind$5 = FunctionPrototype$2.bind;
|
|
1805
1801
|
var call$e = FunctionPrototype$2.call;
|
|
1806
|
-
var
|
|
1802
|
+
var uncurryThis$y = NATIVE_BIND$2 && bind$5.bind(call$e, call$e);
|
|
1807
1803
|
|
|
1808
|
-
var functionUncurryThis =
|
|
1809
|
-
return fn &&
|
|
1804
|
+
var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
|
|
1805
|
+
return fn && uncurryThis$y(fn);
|
|
1810
1806
|
} : function (fn) {
|
|
1811
1807
|
return fn && function () {
|
|
1812
1808
|
return call$e.apply(fn, arguments);
|
|
1813
1809
|
};
|
|
1814
1810
|
};
|
|
1815
1811
|
|
|
1816
|
-
var uncurryThis$
|
|
1812
|
+
var uncurryThis$x = functionUncurryThis;
|
|
1817
1813
|
|
|
1818
|
-
var toString$
|
|
1819
|
-
var stringSlice$7 = uncurryThis$
|
|
1814
|
+
var toString$e = uncurryThis$x({}.toString);
|
|
1815
|
+
var stringSlice$7 = uncurryThis$x(''.slice);
|
|
1820
1816
|
|
|
1821
1817
|
var classofRaw$1 = function (it) {
|
|
1822
|
-
return stringSlice$7(toString$
|
|
1818
|
+
return stringSlice$7(toString$e(it), 8, -1);
|
|
1823
1819
|
};
|
|
1824
1820
|
|
|
1825
|
-
var global$
|
|
1826
|
-
var uncurryThis$
|
|
1827
|
-
var fails$
|
|
1828
|
-
var classof$
|
|
1821
|
+
var global$L = global$M;
|
|
1822
|
+
var uncurryThis$w = functionUncurryThis;
|
|
1823
|
+
var fails$r = fails$u;
|
|
1824
|
+
var classof$b = classofRaw$1;
|
|
1829
1825
|
|
|
1830
|
-
var Object$5 = global$
|
|
1831
|
-
var split = uncurryThis$
|
|
1826
|
+
var Object$5 = global$L.Object;
|
|
1827
|
+
var split = uncurryThis$w(''.split);
|
|
1832
1828
|
|
|
1833
1829
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
1834
|
-
var indexedObject = fails$
|
|
1830
|
+
var indexedObject = fails$r(function () {
|
|
1835
1831
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
1836
1832
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1837
1833
|
return !Object$5('z').propertyIsEnumerable(0);
|
|
1838
1834
|
}) ? function (it) {
|
|
1839
|
-
return classof$
|
|
1835
|
+
return classof$b(it) == 'String' ? split(it, '') : Object$5(it);
|
|
1840
1836
|
} : Object$5;
|
|
1841
1837
|
|
|
1842
|
-
var global$
|
|
1838
|
+
var global$K = global$M;
|
|
1843
1839
|
|
|
1844
|
-
var TypeError$
|
|
1840
|
+
var TypeError$h = global$K.TypeError;
|
|
1845
1841
|
|
|
1846
1842
|
// `RequireObjectCoercible` abstract operation
|
|
1847
1843
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
1848
1844
|
var requireObjectCoercible$7 = function (it) {
|
|
1849
|
-
if (it == undefined) throw TypeError$
|
|
1845
|
+
if (it == undefined) throw TypeError$h("Can't call method on " + it);
|
|
1850
1846
|
return it;
|
|
1851
1847
|
};
|
|
1852
1848
|
|
|
1853
1849
|
// toObject with fallback for non-array-like ES3 strings
|
|
1854
|
-
var IndexedObject$
|
|
1850
|
+
var IndexedObject$4 = indexedObject;
|
|
1855
1851
|
var requireObjectCoercible$6 = requireObjectCoercible$7;
|
|
1856
1852
|
|
|
1857
1853
|
var toIndexedObject$a = function (it) {
|
|
1858
|
-
return IndexedObject$
|
|
1854
|
+
return IndexedObject$4(requireObjectCoercible$6(it));
|
|
1859
1855
|
};
|
|
1860
1856
|
|
|
1861
1857
|
// `IsCallable` abstract operation
|
|
@@ -1866,11 +1862,11 @@ var isCallable$l = function (argument) {
|
|
|
1866
1862
|
|
|
1867
1863
|
var isCallable$k = isCallable$l;
|
|
1868
1864
|
|
|
1869
|
-
var isObject$
|
|
1865
|
+
var isObject$e = function (it) {
|
|
1870
1866
|
return typeof it == 'object' ? it !== null : isCallable$k(it);
|
|
1871
1867
|
};
|
|
1872
1868
|
|
|
1873
|
-
var global$
|
|
1869
|
+
var global$J = global$M;
|
|
1874
1870
|
var isCallable$j = isCallable$l;
|
|
1875
1871
|
|
|
1876
1872
|
var aFunction = function (argument) {
|
|
@@ -1878,22 +1874,22 @@ var aFunction = function (argument) {
|
|
|
1878
1874
|
};
|
|
1879
1875
|
|
|
1880
1876
|
var getBuiltIn$7 = function (namespace, method) {
|
|
1881
|
-
return arguments.length < 2 ? aFunction(global$
|
|
1877
|
+
return arguments.length < 2 ? aFunction(global$J[namespace]) : global$J[namespace] && global$J[namespace][method];
|
|
1882
1878
|
};
|
|
1883
1879
|
|
|
1884
|
-
var uncurryThis$
|
|
1880
|
+
var uncurryThis$v = functionUncurryThis;
|
|
1885
1881
|
|
|
1886
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
1882
|
+
var objectIsPrototypeOf = uncurryThis$v({}.isPrototypeOf);
|
|
1887
1883
|
|
|
1888
1884
|
var getBuiltIn$6 = getBuiltIn$7;
|
|
1889
1885
|
|
|
1890
1886
|
var engineUserAgent = getBuiltIn$6('navigator', 'userAgent') || '';
|
|
1891
1887
|
|
|
1892
|
-
var global$
|
|
1888
|
+
var global$I = global$M;
|
|
1893
1889
|
var userAgent$2 = engineUserAgent;
|
|
1894
1890
|
|
|
1895
|
-
var process = global$
|
|
1896
|
-
var Deno = global$
|
|
1891
|
+
var process = global$I.process;
|
|
1892
|
+
var Deno = global$I.Deno;
|
|
1897
1893
|
var versions = process && process.versions || Deno && Deno.version;
|
|
1898
1894
|
var v8 = versions && versions.v8;
|
|
1899
1895
|
var match, version;
|
|
@@ -1920,10 +1916,10 @@ var engineV8Version = version;
|
|
|
1920
1916
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
1921
1917
|
|
|
1922
1918
|
var V8_VERSION$2 = engineV8Version;
|
|
1923
|
-
var fails$
|
|
1919
|
+
var fails$q = fails$u;
|
|
1924
1920
|
|
|
1925
1921
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1926
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$
|
|
1922
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$q(function () {
|
|
1927
1923
|
var symbol = Symbol();
|
|
1928
1924
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1929
1925
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -1940,13 +1936,13 @@ var useSymbolAsUid = NATIVE_SYMBOL$3
|
|
|
1940
1936
|
&& !Symbol.sham
|
|
1941
1937
|
&& typeof Symbol.iterator == 'symbol';
|
|
1942
1938
|
|
|
1943
|
-
var global$
|
|
1939
|
+
var global$H = global$M;
|
|
1944
1940
|
var getBuiltIn$5 = getBuiltIn$7;
|
|
1945
1941
|
var isCallable$i = isCallable$l;
|
|
1946
1942
|
var isPrototypeOf$6 = objectIsPrototypeOf;
|
|
1947
1943
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
1948
1944
|
|
|
1949
|
-
var Object$4 = global$
|
|
1945
|
+
var Object$4 = global$H.Object;
|
|
1950
1946
|
|
|
1951
1947
|
var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
1952
1948
|
return typeof it == 'symbol';
|
|
@@ -1955,9 +1951,9 @@ var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
1955
1951
|
return isCallable$i($Symbol) && isPrototypeOf$6($Symbol.prototype, Object$4(it));
|
|
1956
1952
|
};
|
|
1957
1953
|
|
|
1958
|
-
var global$
|
|
1954
|
+
var global$G = global$M;
|
|
1959
1955
|
|
|
1960
|
-
var String$4 = global$
|
|
1956
|
+
var String$4 = global$G.String;
|
|
1961
1957
|
|
|
1962
1958
|
var tryToString$3 = function (argument) {
|
|
1963
1959
|
try {
|
|
@@ -1967,115 +1963,117 @@ var tryToString$3 = function (argument) {
|
|
|
1967
1963
|
}
|
|
1968
1964
|
};
|
|
1969
1965
|
|
|
1970
|
-
var global$
|
|
1966
|
+
var global$F = global$M;
|
|
1971
1967
|
var isCallable$h = isCallable$l;
|
|
1972
1968
|
var tryToString$2 = tryToString$3;
|
|
1973
1969
|
|
|
1974
|
-
var TypeError$
|
|
1970
|
+
var TypeError$g = global$F.TypeError;
|
|
1975
1971
|
|
|
1976
1972
|
// `Assert: IsCallable(argument) is true`
|
|
1977
|
-
var aCallable$
|
|
1973
|
+
var aCallable$5 = function (argument) {
|
|
1978
1974
|
if (isCallable$h(argument)) return argument;
|
|
1979
|
-
throw TypeError$
|
|
1975
|
+
throw TypeError$g(tryToString$2(argument) + ' is not a function');
|
|
1980
1976
|
};
|
|
1981
1977
|
|
|
1982
|
-
var aCallable$
|
|
1978
|
+
var aCallable$4 = aCallable$5;
|
|
1983
1979
|
|
|
1984
1980
|
// `GetMethod` abstract operation
|
|
1985
1981
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
1986
1982
|
var getMethod$4 = function (V, P) {
|
|
1987
1983
|
var func = V[P];
|
|
1988
|
-
return func == null ? undefined : aCallable$
|
|
1984
|
+
return func == null ? undefined : aCallable$4(func);
|
|
1989
1985
|
};
|
|
1990
1986
|
|
|
1991
|
-
var global$
|
|
1987
|
+
var global$E = global$M;
|
|
1992
1988
|
var call$d = functionCall;
|
|
1993
1989
|
var isCallable$g = isCallable$l;
|
|
1994
|
-
var isObject$
|
|
1990
|
+
var isObject$d = isObject$e;
|
|
1995
1991
|
|
|
1996
|
-
var TypeError$
|
|
1992
|
+
var TypeError$f = global$E.TypeError;
|
|
1997
1993
|
|
|
1998
1994
|
// `OrdinaryToPrimitive` abstract operation
|
|
1999
1995
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
2000
1996
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
2001
1997
|
var fn, val;
|
|
2002
|
-
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$
|
|
2003
|
-
if (isCallable$g(fn = input.valueOf) && !isObject$
|
|
2004
|
-
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$
|
|
2005
|
-
throw TypeError$
|
|
1998
|
+
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$d(val = call$d(fn, input))) return val;
|
|
1999
|
+
if (isCallable$g(fn = input.valueOf) && !isObject$d(val = call$d(fn, input))) return val;
|
|
2000
|
+
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$d(val = call$d(fn, input))) return val;
|
|
2001
|
+
throw TypeError$f("Can't convert object to primitive value");
|
|
2006
2002
|
};
|
|
2007
2003
|
|
|
2008
2004
|
var shared$6 = {exports: {}};
|
|
2009
2005
|
|
|
2010
2006
|
var isPure = false;
|
|
2011
2007
|
|
|
2012
|
-
var global$
|
|
2008
|
+
var global$D = global$M;
|
|
2013
2009
|
|
|
2014
2010
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2015
|
-
var defineProperty$
|
|
2011
|
+
var defineProperty$8 = Object.defineProperty;
|
|
2016
2012
|
|
|
2017
2013
|
var setGlobal$3 = function (key, value) {
|
|
2018
2014
|
try {
|
|
2019
|
-
defineProperty$
|
|
2015
|
+
defineProperty$8(global$D, key, { value: value, configurable: true, writable: true });
|
|
2020
2016
|
} catch (error) {
|
|
2021
|
-
global$
|
|
2017
|
+
global$D[key] = value;
|
|
2022
2018
|
} return value;
|
|
2023
2019
|
};
|
|
2024
2020
|
|
|
2025
|
-
var global$
|
|
2021
|
+
var global$C = global$M;
|
|
2026
2022
|
var setGlobal$2 = setGlobal$3;
|
|
2027
2023
|
|
|
2028
2024
|
var SHARED = '__core-js_shared__';
|
|
2029
|
-
var store$3 = global$
|
|
2025
|
+
var store$3 = global$C[SHARED] || setGlobal$2(SHARED, {});
|
|
2030
2026
|
|
|
2031
2027
|
var sharedStore = store$3;
|
|
2032
2028
|
|
|
2033
|
-
var IS_PURE$
|
|
2029
|
+
var IS_PURE$5 = isPure;
|
|
2034
2030
|
var store$2 = sharedStore;
|
|
2035
2031
|
|
|
2036
2032
|
(shared$6.exports = function (key, value) {
|
|
2037
2033
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
2038
2034
|
})('versions', []).push({
|
|
2039
|
-
version: '3.
|
|
2040
|
-
mode: IS_PURE$
|
|
2041
|
-
copyright: '©
|
|
2035
|
+
version: '3.20.3',
|
|
2036
|
+
mode: IS_PURE$5 ? 'pure' : 'global',
|
|
2037
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
2038
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE',
|
|
2039
|
+
source: 'https://github.com/zloirock/core-js'
|
|
2042
2040
|
});
|
|
2043
2041
|
|
|
2044
2042
|
var shared$5 = shared$6.exports;
|
|
2045
2043
|
|
|
2046
|
-
var global$
|
|
2044
|
+
var global$B = global$M;
|
|
2047
2045
|
var requireObjectCoercible$5 = requireObjectCoercible$7;
|
|
2048
2046
|
|
|
2049
|
-
var Object$3 = global$
|
|
2047
|
+
var Object$3 = global$B.Object;
|
|
2050
2048
|
|
|
2051
2049
|
// `ToObject` abstract operation
|
|
2052
2050
|
// https://tc39.es/ecma262/#sec-toobject
|
|
2053
|
-
var toObject$
|
|
2051
|
+
var toObject$b = function (argument) {
|
|
2054
2052
|
return Object$3(requireObjectCoercible$5(argument));
|
|
2055
2053
|
};
|
|
2056
2054
|
|
|
2057
|
-
var uncurryThis$
|
|
2058
|
-
var toObject$
|
|
2055
|
+
var uncurryThis$u = functionUncurryThis;
|
|
2056
|
+
var toObject$a = toObject$b;
|
|
2059
2057
|
|
|
2060
|
-
var hasOwnProperty$1 = uncurryThis$
|
|
2058
|
+
var hasOwnProperty$1 = uncurryThis$u({}.hasOwnProperty);
|
|
2061
2059
|
|
|
2062
2060
|
// `HasOwnProperty` abstract operation
|
|
2063
2061
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
2064
2062
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
2065
|
-
return hasOwnProperty$1(toObject$
|
|
2063
|
+
return hasOwnProperty$1(toObject$a(it), key);
|
|
2066
2064
|
};
|
|
2067
2065
|
|
|
2068
|
-
var uncurryThis$
|
|
2066
|
+
var uncurryThis$t = functionUncurryThis;
|
|
2069
2067
|
|
|
2070
2068
|
var id$1 = 0;
|
|
2071
2069
|
var postfix = Math.random();
|
|
2072
|
-
var toString$
|
|
2070
|
+
var toString$d = uncurryThis$t(1.0.toString);
|
|
2073
2071
|
|
|
2074
2072
|
var uid$4 = function (key) {
|
|
2075
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
2073
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$d(++id$1 + postfix, 36);
|
|
2076
2074
|
};
|
|
2077
2075
|
|
|
2078
|
-
var global$
|
|
2076
|
+
var global$A = global$M;
|
|
2079
2077
|
var shared$4 = shared$6.exports;
|
|
2080
2078
|
var hasOwn$d = hasOwnProperty_1;
|
|
2081
2079
|
var uid$3 = uid$4;
|
|
@@ -2083,15 +2081,15 @@ var NATIVE_SYMBOL$2 = nativeSymbol;
|
|
|
2083
2081
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
2084
2082
|
|
|
2085
2083
|
var WellKnownSymbolsStore$1 = shared$4('wks');
|
|
2086
|
-
var Symbol$
|
|
2087
|
-
var symbolFor = Symbol$
|
|
2088
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$
|
|
2084
|
+
var Symbol$2 = global$A.Symbol;
|
|
2085
|
+
var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
2086
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$3;
|
|
2089
2087
|
|
|
2090
2088
|
var wellKnownSymbol$n = function (name) {
|
|
2091
2089
|
if (!hasOwn$d(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$2 || typeof WellKnownSymbolsStore$1[name] == 'string')) {
|
|
2092
2090
|
var description = 'Symbol.' + name;
|
|
2093
|
-
if (NATIVE_SYMBOL$2 && hasOwn$d(Symbol$
|
|
2094
|
-
WellKnownSymbolsStore$1[name] = Symbol$
|
|
2091
|
+
if (NATIVE_SYMBOL$2 && hasOwn$d(Symbol$2, name)) {
|
|
2092
|
+
WellKnownSymbolsStore$1[name] = Symbol$2[name];
|
|
2095
2093
|
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
2096
2094
|
WellKnownSymbolsStore$1[name] = symbolFor(description);
|
|
2097
2095
|
} else {
|
|
@@ -2100,28 +2098,28 @@ var wellKnownSymbol$n = function (name) {
|
|
|
2100
2098
|
} return WellKnownSymbolsStore$1[name];
|
|
2101
2099
|
};
|
|
2102
2100
|
|
|
2103
|
-
var global$
|
|
2101
|
+
var global$z = global$M;
|
|
2104
2102
|
var call$c = functionCall;
|
|
2105
|
-
var isObject$
|
|
2103
|
+
var isObject$c = isObject$e;
|
|
2106
2104
|
var isSymbol$2 = isSymbol$3;
|
|
2107
2105
|
var getMethod$3 = getMethod$4;
|
|
2108
2106
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
2109
2107
|
var wellKnownSymbol$m = wellKnownSymbol$n;
|
|
2110
2108
|
|
|
2111
|
-
var TypeError$
|
|
2109
|
+
var TypeError$e = global$z.TypeError;
|
|
2112
2110
|
var TO_PRIMITIVE$1 = wellKnownSymbol$m('toPrimitive');
|
|
2113
2111
|
|
|
2114
2112
|
// `ToPrimitive` abstract operation
|
|
2115
2113
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
2116
2114
|
var toPrimitive$1 = function (input, pref) {
|
|
2117
|
-
if (!isObject$
|
|
2115
|
+
if (!isObject$c(input) || isSymbol$2(input)) return input;
|
|
2118
2116
|
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE$1);
|
|
2119
2117
|
var result;
|
|
2120
2118
|
if (exoticToPrim) {
|
|
2121
2119
|
if (pref === undefined) pref = 'default';
|
|
2122
2120
|
result = call$c(exoticToPrim, input, pref);
|
|
2123
|
-
if (!isObject$
|
|
2124
|
-
throw TypeError$
|
|
2121
|
+
if (!isObject$c(result) || isSymbol$2(result)) return result;
|
|
2122
|
+
throw TypeError$e("Can't convert object to primitive value");
|
|
2125
2123
|
}
|
|
2126
2124
|
if (pref === undefined) pref = 'number';
|
|
2127
2125
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -2137,30 +2135,30 @@ var toPropertyKey$4 = function (argument) {
|
|
|
2137
2135
|
return isSymbol$1(key) ? key : key + '';
|
|
2138
2136
|
};
|
|
2139
2137
|
|
|
2140
|
-
var global$
|
|
2141
|
-
var isObject$
|
|
2138
|
+
var global$y = global$M;
|
|
2139
|
+
var isObject$b = isObject$e;
|
|
2142
2140
|
|
|
2143
|
-
var document$1 = global$
|
|
2141
|
+
var document$1 = global$y.document;
|
|
2144
2142
|
// typeof document.createElement is 'object' in old IE
|
|
2145
|
-
var EXISTS$1 = isObject$
|
|
2143
|
+
var EXISTS$1 = isObject$b(document$1) && isObject$b(document$1.createElement);
|
|
2146
2144
|
|
|
2147
2145
|
var documentCreateElement$2 = function (it) {
|
|
2148
2146
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
2149
2147
|
};
|
|
2150
2148
|
|
|
2151
|
-
var DESCRIPTORS$
|
|
2152
|
-
var fails$
|
|
2149
|
+
var DESCRIPTORS$e = descriptors;
|
|
2150
|
+
var fails$p = fails$u;
|
|
2153
2151
|
var createElement = documentCreateElement$2;
|
|
2154
2152
|
|
|
2155
|
-
//
|
|
2156
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
2157
|
-
// eslint-disable-next-line es/no-object-defineproperty --
|
|
2153
|
+
// Thanks to IE8 for its funny defineProperty
|
|
2154
|
+
var ie8DomDefine = !DESCRIPTORS$e && !fails$p(function () {
|
|
2155
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2158
2156
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
2159
2157
|
get: function () { return 7; }
|
|
2160
2158
|
}).a != 7;
|
|
2161
2159
|
});
|
|
2162
2160
|
|
|
2163
|
-
var DESCRIPTORS$
|
|
2161
|
+
var DESCRIPTORS$d = descriptors;
|
|
2164
2162
|
var call$b = functionCall;
|
|
2165
2163
|
var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
|
|
2166
2164
|
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
@@ -2170,62 +2168,96 @@ var hasOwn$c = hasOwnProperty_1;
|
|
|
2170
2168
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
2171
2169
|
|
|
2172
2170
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2173
|
-
var $getOwnPropertyDescriptor$
|
|
2171
|
+
var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
2174
2172
|
|
|
2175
2173
|
// `Object.getOwnPropertyDescriptor` method
|
|
2176
2174
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
2177
|
-
var f$
|
|
2175
|
+
var f$6 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
|
|
2178
2176
|
O = toIndexedObject$9(O);
|
|
2179
2177
|
P = toPropertyKey$3(P);
|
|
2180
2178
|
if (IE8_DOM_DEFINE$1) try {
|
|
2181
|
-
return $getOwnPropertyDescriptor$
|
|
2179
|
+
return $getOwnPropertyDescriptor$2(O, P);
|
|
2182
2180
|
} catch (error) { /* empty */ }
|
|
2183
2181
|
if (hasOwn$c(O, P)) return createPropertyDescriptor$4(!call$b(propertyIsEnumerableModule$2.f, O, P), O[P]);
|
|
2184
2182
|
};
|
|
2185
2183
|
|
|
2186
2184
|
var objectDefineProperty = {};
|
|
2187
2185
|
|
|
2188
|
-
var
|
|
2189
|
-
var
|
|
2186
|
+
var DESCRIPTORS$c = descriptors;
|
|
2187
|
+
var fails$o = fails$u;
|
|
2188
|
+
|
|
2189
|
+
// V8 ~ Chrome 36-
|
|
2190
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2191
|
+
var v8PrototypeDefineBug = DESCRIPTORS$c && fails$o(function () {
|
|
2192
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2193
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2194
|
+
value: 42,
|
|
2195
|
+
writable: false
|
|
2196
|
+
}).prototype != 42;
|
|
2197
|
+
});
|
|
2190
2198
|
|
|
2191
|
-
var
|
|
2192
|
-
var
|
|
2199
|
+
var global$x = global$M;
|
|
2200
|
+
var isObject$a = isObject$e;
|
|
2201
|
+
|
|
2202
|
+
var String$3 = global$x.String;
|
|
2203
|
+
var TypeError$d = global$x.TypeError;
|
|
2193
2204
|
|
|
2194
2205
|
// `Assert: Type(argument) is Object`
|
|
2195
2206
|
var anObject$e = function (argument) {
|
|
2196
|
-
if (isObject$
|
|
2197
|
-
throw TypeError$
|
|
2207
|
+
if (isObject$a(argument)) return argument;
|
|
2208
|
+
throw TypeError$d(String$3(argument) + ' is not an object');
|
|
2198
2209
|
};
|
|
2199
2210
|
|
|
2200
|
-
var global$
|
|
2201
|
-
var DESCRIPTORS$
|
|
2211
|
+
var global$w = global$M;
|
|
2212
|
+
var DESCRIPTORS$b = descriptors;
|
|
2202
2213
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
2214
|
+
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
2203
2215
|
var anObject$d = anObject$e;
|
|
2204
2216
|
var toPropertyKey$2 = toPropertyKey$4;
|
|
2205
2217
|
|
|
2206
|
-
var TypeError$
|
|
2218
|
+
var TypeError$c = global$w.TypeError;
|
|
2207
2219
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2208
2220
|
var $defineProperty$1 = Object.defineProperty;
|
|
2221
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2222
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2223
|
+
var ENUMERABLE = 'enumerable';
|
|
2224
|
+
var CONFIGURABLE$1 = 'configurable';
|
|
2225
|
+
var WRITABLE = 'writable';
|
|
2209
2226
|
|
|
2210
2227
|
// `Object.defineProperty` method
|
|
2211
2228
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2212
|
-
var f$
|
|
2229
|
+
var f$5 = objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
2230
|
+
anObject$d(O);
|
|
2231
|
+
P = toPropertyKey$2(P);
|
|
2232
|
+
anObject$d(Attributes);
|
|
2233
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
2234
|
+
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
2235
|
+
if (current && current[WRITABLE]) {
|
|
2236
|
+
O[P] = Attributes.value;
|
|
2237
|
+
Attributes = {
|
|
2238
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
2239
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
2240
|
+
writable: false
|
|
2241
|
+
};
|
|
2242
|
+
}
|
|
2243
|
+
} return $defineProperty$1(O, P, Attributes);
|
|
2244
|
+
} : $defineProperty$1 : function defineProperty(O, P, Attributes) {
|
|
2213
2245
|
anObject$d(O);
|
|
2214
2246
|
P = toPropertyKey$2(P);
|
|
2215
2247
|
anObject$d(Attributes);
|
|
2216
2248
|
if (IE8_DOM_DEFINE) try {
|
|
2217
2249
|
return $defineProperty$1(O, P, Attributes);
|
|
2218
2250
|
} catch (error) { /* empty */ }
|
|
2219
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$
|
|
2251
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$c('Accessors not supported');
|
|
2220
2252
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
2221
2253
|
return O;
|
|
2222
2254
|
};
|
|
2223
2255
|
|
|
2224
|
-
var DESCRIPTORS$
|
|
2256
|
+
var DESCRIPTORS$a = descriptors;
|
|
2225
2257
|
var definePropertyModule$6 = objectDefineProperty;
|
|
2226
2258
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
2227
2259
|
|
|
2228
|
-
var createNonEnumerableProperty$7 = DESCRIPTORS$
|
|
2260
|
+
var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
|
|
2229
2261
|
return definePropertyModule$6.f(object, key, createPropertyDescriptor$3(1, value));
|
|
2230
2262
|
} : function (object, key, value) {
|
|
2231
2263
|
object[key] = value;
|
|
@@ -2234,11 +2266,11 @@ var createNonEnumerableProperty$7 = DESCRIPTORS$9 ? function (object, key, value
|
|
|
2234
2266
|
|
|
2235
2267
|
var redefine$b = {exports: {}};
|
|
2236
2268
|
|
|
2237
|
-
var uncurryThis$
|
|
2269
|
+
var uncurryThis$s = functionUncurryThis;
|
|
2238
2270
|
var isCallable$f = isCallable$l;
|
|
2239
2271
|
var store$1 = sharedStore;
|
|
2240
2272
|
|
|
2241
|
-
var functionToString = uncurryThis$
|
|
2273
|
+
var functionToString = uncurryThis$s(Function.toString);
|
|
2242
2274
|
|
|
2243
2275
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
2244
2276
|
if (!isCallable$f(store$1.inspectSource)) {
|
|
@@ -2249,11 +2281,11 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
|
2249
2281
|
|
|
2250
2282
|
var inspectSource$3 = store$1.inspectSource;
|
|
2251
2283
|
|
|
2252
|
-
var global$
|
|
2284
|
+
var global$v = global$M;
|
|
2253
2285
|
var isCallable$e = isCallable$l;
|
|
2254
2286
|
var inspectSource$2 = inspectSource$3;
|
|
2255
2287
|
|
|
2256
|
-
var WeakMap$2 = global$
|
|
2288
|
+
var WeakMap$2 = global$v.WeakMap;
|
|
2257
2289
|
|
|
2258
2290
|
var nativeWeakMap = isCallable$e(WeakMap$2) && /native code/.test(inspectSource$2(WeakMap$2));
|
|
2259
2291
|
|
|
@@ -2269,9 +2301,9 @@ var sharedKey$4 = function (key) {
|
|
|
2269
2301
|
var hiddenKeys$6 = {};
|
|
2270
2302
|
|
|
2271
2303
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
2272
|
-
var global$
|
|
2273
|
-
var uncurryThis$
|
|
2274
|
-
var isObject$
|
|
2304
|
+
var global$u = global$M;
|
|
2305
|
+
var uncurryThis$r = functionUncurryThis;
|
|
2306
|
+
var isObject$9 = isObject$e;
|
|
2275
2307
|
var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
|
|
2276
2308
|
var hasOwn$b = hasOwnProperty_1;
|
|
2277
2309
|
var shared$2 = sharedStore;
|
|
@@ -2279,8 +2311,8 @@ var sharedKey$3 = sharedKey$4;
|
|
|
2279
2311
|
var hiddenKeys$5 = hiddenKeys$6;
|
|
2280
2312
|
|
|
2281
2313
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
2282
|
-
var TypeError$
|
|
2283
|
-
var WeakMap$1 = global$
|
|
2314
|
+
var TypeError$b = global$u.TypeError;
|
|
2315
|
+
var WeakMap$1 = global$u.WeakMap;
|
|
2284
2316
|
var set, get, has;
|
|
2285
2317
|
|
|
2286
2318
|
var enforce = function (it) {
|
|
@@ -2290,19 +2322,19 @@ var enforce = function (it) {
|
|
|
2290
2322
|
var getterFor = function (TYPE) {
|
|
2291
2323
|
return function (it) {
|
|
2292
2324
|
var state;
|
|
2293
|
-
if (!isObject$
|
|
2294
|
-
throw TypeError$
|
|
2325
|
+
if (!isObject$9(it) || (state = get(it)).type !== TYPE) {
|
|
2326
|
+
throw TypeError$b('Incompatible receiver, ' + TYPE + ' required');
|
|
2295
2327
|
} return state;
|
|
2296
2328
|
};
|
|
2297
2329
|
};
|
|
2298
2330
|
|
|
2299
2331
|
if (NATIVE_WEAK_MAP || shared$2.state) {
|
|
2300
2332
|
var store = shared$2.state || (shared$2.state = new WeakMap$1());
|
|
2301
|
-
var wmget = uncurryThis$
|
|
2302
|
-
var wmhas = uncurryThis$
|
|
2303
|
-
var wmset = uncurryThis$
|
|
2333
|
+
var wmget = uncurryThis$r(store.get);
|
|
2334
|
+
var wmhas = uncurryThis$r(store.has);
|
|
2335
|
+
var wmset = uncurryThis$r(store.set);
|
|
2304
2336
|
set = function (it, metadata) {
|
|
2305
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
2337
|
+
if (wmhas(store, it)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
|
|
2306
2338
|
metadata.facade = it;
|
|
2307
2339
|
wmset(store, it, metadata);
|
|
2308
2340
|
return metadata;
|
|
@@ -2317,7 +2349,7 @@ if (NATIVE_WEAK_MAP || shared$2.state) {
|
|
|
2317
2349
|
var STATE = sharedKey$3('state');
|
|
2318
2350
|
hiddenKeys$5[STATE] = true;
|
|
2319
2351
|
set = function (it, metadata) {
|
|
2320
|
-
if (hasOwn$b(it, STATE)) throw new TypeError$
|
|
2352
|
+
if (hasOwn$b(it, STATE)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
|
|
2321
2353
|
metadata.facade = it;
|
|
2322
2354
|
createNonEnumerableProperty$6(it, STATE, metadata);
|
|
2323
2355
|
return metadata;
|
|
@@ -2338,17 +2370,17 @@ var internalState = {
|
|
|
2338
2370
|
getterFor: getterFor
|
|
2339
2371
|
};
|
|
2340
2372
|
|
|
2341
|
-
var DESCRIPTORS$
|
|
2373
|
+
var DESCRIPTORS$9 = descriptors;
|
|
2342
2374
|
var hasOwn$a = hasOwnProperty_1;
|
|
2343
2375
|
|
|
2344
2376
|
var FunctionPrototype$1 = Function.prototype;
|
|
2345
2377
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2346
|
-
var getDescriptor = DESCRIPTORS$
|
|
2378
|
+
var getDescriptor = DESCRIPTORS$9 && Object.getOwnPropertyDescriptor;
|
|
2347
2379
|
|
|
2348
2380
|
var EXISTS = hasOwn$a(FunctionPrototype$1, 'name');
|
|
2349
2381
|
// additional protection from minified / mangled / dropped function names
|
|
2350
2382
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
2351
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
2383
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$9 || (DESCRIPTORS$9 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
2352
2384
|
|
|
2353
2385
|
var functionName = {
|
|
2354
2386
|
EXISTS: EXISTS,
|
|
@@ -2356,7 +2388,7 @@ var functionName = {
|
|
|
2356
2388
|
CONFIGURABLE: CONFIGURABLE
|
|
2357
2389
|
};
|
|
2358
2390
|
|
|
2359
|
-
var global$
|
|
2391
|
+
var global$t = global$M;
|
|
2360
2392
|
var isCallable$d = isCallable$l;
|
|
2361
2393
|
var hasOwn$9 = hasOwnProperty_1;
|
|
2362
2394
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
|
|
@@ -2387,7 +2419,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
2387
2419
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
2388
2420
|
}
|
|
2389
2421
|
}
|
|
2390
|
-
if (O === global$
|
|
2422
|
+
if (O === global$t) {
|
|
2391
2423
|
if (simple) O[key] = value;
|
|
2392
2424
|
else setGlobal$1(key, value);
|
|
2393
2425
|
return;
|
|
@@ -2420,15 +2452,15 @@ var toIntegerOrInfinity$5 = function (argument) {
|
|
|
2420
2452
|
|
|
2421
2453
|
var toIntegerOrInfinity$4 = toIntegerOrInfinity$5;
|
|
2422
2454
|
|
|
2423
|
-
var max$
|
|
2455
|
+
var max$4 = Math.max;
|
|
2424
2456
|
var min$4 = Math.min;
|
|
2425
2457
|
|
|
2426
2458
|
// Helper for a popular repeating case of the spec:
|
|
2427
2459
|
// Let integer be ? ToInteger(index).
|
|
2428
2460
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
2429
|
-
var toAbsoluteIndex$
|
|
2461
|
+
var toAbsoluteIndex$4 = function (index, length) {
|
|
2430
2462
|
var integer = toIntegerOrInfinity$4(index);
|
|
2431
|
-
return integer < 0 ? max$
|
|
2463
|
+
return integer < 0 ? max$4(integer + length, 0) : min$4(integer, length);
|
|
2432
2464
|
};
|
|
2433
2465
|
|
|
2434
2466
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$5;
|
|
@@ -2445,20 +2477,20 @@ var toLength$2 = toLength$3;
|
|
|
2445
2477
|
|
|
2446
2478
|
// `LengthOfArrayLike` abstract operation
|
|
2447
2479
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
2448
|
-
var lengthOfArrayLike$
|
|
2480
|
+
var lengthOfArrayLike$a = function (obj) {
|
|
2449
2481
|
return toLength$2(obj.length);
|
|
2450
2482
|
};
|
|
2451
2483
|
|
|
2452
2484
|
var toIndexedObject$8 = toIndexedObject$a;
|
|
2453
|
-
var toAbsoluteIndex$
|
|
2454
|
-
var lengthOfArrayLike$
|
|
2485
|
+
var toAbsoluteIndex$3 = toAbsoluteIndex$4;
|
|
2486
|
+
var lengthOfArrayLike$9 = lengthOfArrayLike$a;
|
|
2455
2487
|
|
|
2456
2488
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
2457
|
-
var createMethod$
|
|
2489
|
+
var createMethod$5 = function (IS_INCLUDES) {
|
|
2458
2490
|
return function ($this, el, fromIndex) {
|
|
2459
2491
|
var O = toIndexedObject$8($this);
|
|
2460
|
-
var length = lengthOfArrayLike$
|
|
2461
|
-
var index = toAbsoluteIndex$
|
|
2492
|
+
var length = lengthOfArrayLike$9(O);
|
|
2493
|
+
var index = toAbsoluteIndex$3(fromIndex, length);
|
|
2462
2494
|
var value;
|
|
2463
2495
|
// Array#includes uses SameValueZero equality algorithm
|
|
2464
2496
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -2476,19 +2508,19 @@ var createMethod$4 = function (IS_INCLUDES) {
|
|
|
2476
2508
|
var arrayIncludes = {
|
|
2477
2509
|
// `Array.prototype.includes` method
|
|
2478
2510
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2479
|
-
includes: createMethod$
|
|
2511
|
+
includes: createMethod$5(true),
|
|
2480
2512
|
// `Array.prototype.indexOf` method
|
|
2481
2513
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
2482
|
-
indexOf: createMethod$
|
|
2514
|
+
indexOf: createMethod$5(false)
|
|
2483
2515
|
};
|
|
2484
2516
|
|
|
2485
|
-
var uncurryThis$
|
|
2517
|
+
var uncurryThis$q = functionUncurryThis;
|
|
2486
2518
|
var hasOwn$8 = hasOwnProperty_1;
|
|
2487
2519
|
var toIndexedObject$7 = toIndexedObject$a;
|
|
2488
2520
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
2489
2521
|
var hiddenKeys$4 = hiddenKeys$6;
|
|
2490
2522
|
|
|
2491
|
-
var push$5 = uncurryThis$
|
|
2523
|
+
var push$5 = uncurryThis$q([].push);
|
|
2492
2524
|
|
|
2493
2525
|
var objectKeysInternal = function (object, names) {
|
|
2494
2526
|
var O = toIndexedObject$7(object);
|
|
@@ -2522,22 +2554,22 @@ var hiddenKeys$3 = enumBugKeys$2.concat('length', 'prototype');
|
|
|
2522
2554
|
// `Object.getOwnPropertyNames` method
|
|
2523
2555
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
2524
2556
|
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
2525
|
-
var f$
|
|
2557
|
+
var f$4 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
2526
2558
|
return internalObjectKeys$1(O, hiddenKeys$3);
|
|
2527
2559
|
};
|
|
2528
2560
|
|
|
2529
2561
|
var objectGetOwnPropertySymbols = {};
|
|
2530
2562
|
|
|
2531
2563
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
2532
|
-
var f$
|
|
2564
|
+
var f$3 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
2533
2565
|
|
|
2534
2566
|
var getBuiltIn$4 = getBuiltIn$7;
|
|
2535
|
-
var uncurryThis$
|
|
2567
|
+
var uncurryThis$p = functionUncurryThis;
|
|
2536
2568
|
var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames;
|
|
2537
2569
|
var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
|
|
2538
2570
|
var anObject$c = anObject$e;
|
|
2539
2571
|
|
|
2540
|
-
var concat$2 = uncurryThis$
|
|
2572
|
+
var concat$2 = uncurryThis$p([].concat);
|
|
2541
2573
|
|
|
2542
2574
|
// all object keys, includes non-enumerable and symbols
|
|
2543
2575
|
var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -2551,17 +2583,19 @@ var ownKeys = ownKeys$1;
|
|
|
2551
2583
|
var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
|
|
2552
2584
|
var definePropertyModule$5 = objectDefineProperty;
|
|
2553
2585
|
|
|
2554
|
-
var copyConstructorProperties$2 = function (target, source) {
|
|
2586
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
2555
2587
|
var keys = ownKeys(source);
|
|
2556
2588
|
var defineProperty = definePropertyModule$5.f;
|
|
2557
2589
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
|
|
2558
2590
|
for (var i = 0; i < keys.length; i++) {
|
|
2559
2591
|
var key = keys[i];
|
|
2560
|
-
if (!hasOwn$7(target, key)
|
|
2592
|
+
if (!hasOwn$7(target, key) && !(exceptions && hasOwn$7(exceptions, key))) {
|
|
2593
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
2594
|
+
}
|
|
2561
2595
|
}
|
|
2562
2596
|
};
|
|
2563
2597
|
|
|
2564
|
-
var fails$
|
|
2598
|
+
var fails$n = fails$u;
|
|
2565
2599
|
var isCallable$c = isCallable$l;
|
|
2566
2600
|
|
|
2567
2601
|
var replacement = /#|\.prototype\./;
|
|
@@ -2570,7 +2604,7 @@ var isForced$3 = function (feature, detection) {
|
|
|
2570
2604
|
var value = data[normalize(feature)];
|
|
2571
2605
|
return value == POLYFILL ? true
|
|
2572
2606
|
: value == NATIVE ? false
|
|
2573
|
-
: isCallable$c(detection) ? fails$
|
|
2607
|
+
: isCallable$c(detection) ? fails$n(detection)
|
|
2574
2608
|
: !!detection;
|
|
2575
2609
|
};
|
|
2576
2610
|
|
|
@@ -2584,7 +2618,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
2584
2618
|
|
|
2585
2619
|
var isForced_1 = isForced$3;
|
|
2586
2620
|
|
|
2587
|
-
var global$
|
|
2621
|
+
var global$s = global$M;
|
|
2588
2622
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
2589
2623
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
|
|
2590
2624
|
var redefine$9 = redefine$b.exports;
|
|
@@ -2613,11 +2647,11 @@ var _export = function (options, source) {
|
|
|
2613
2647
|
var STATIC = options.stat;
|
|
2614
2648
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
2615
2649
|
if (GLOBAL) {
|
|
2616
|
-
target = global$
|
|
2650
|
+
target = global$s;
|
|
2617
2651
|
} else if (STATIC) {
|
|
2618
|
-
target = global$
|
|
2652
|
+
target = global$s[TARGET] || setGlobal(TARGET, {});
|
|
2619
2653
|
} else {
|
|
2620
|
-
target = (global$
|
|
2654
|
+
target = (global$s[TARGET] || {}).prototype;
|
|
2621
2655
|
}
|
|
2622
2656
|
if (target) for (key in source) {
|
|
2623
2657
|
sourceProperty = source[key];
|
|
@@ -2640,23 +2674,24 @@ var _export = function (options, source) {
|
|
|
2640
2674
|
}
|
|
2641
2675
|
};
|
|
2642
2676
|
|
|
2677
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
2678
|
+
|
|
2643
2679
|
var FunctionPrototype = Function.prototype;
|
|
2644
2680
|
var apply$2 = FunctionPrototype.apply;
|
|
2645
|
-
var bind$5 = FunctionPrototype.bind;
|
|
2646
2681
|
var call$a = FunctionPrototype.call;
|
|
2647
2682
|
|
|
2648
2683
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
2649
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (
|
|
2684
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$2) : function () {
|
|
2650
2685
|
return call$a.apply(apply$2, arguments);
|
|
2651
2686
|
});
|
|
2652
2687
|
|
|
2653
|
-
var classof$
|
|
2688
|
+
var classof$a = classofRaw$1;
|
|
2654
2689
|
|
|
2655
2690
|
// `IsArray` abstract operation
|
|
2656
2691
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2657
2692
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2658
2693
|
var isArray$4 = Array.isArray || function isArray(argument) {
|
|
2659
|
-
return classof$
|
|
2694
|
+
return classof$a(argument) == 'Array';
|
|
2660
2695
|
};
|
|
2661
2696
|
|
|
2662
2697
|
var wellKnownSymbol$l = wellKnownSymbol$n;
|
|
@@ -2668,14 +2703,14 @@ test$1[TO_STRING_TAG$3] = 'z';
|
|
|
2668
2703
|
|
|
2669
2704
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2670
2705
|
|
|
2671
|
-
var global$
|
|
2706
|
+
var global$r = global$M;
|
|
2672
2707
|
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
2673
2708
|
var isCallable$b = isCallable$l;
|
|
2674
2709
|
var classofRaw = classofRaw$1;
|
|
2675
2710
|
var wellKnownSymbol$k = wellKnownSymbol$n;
|
|
2676
2711
|
|
|
2677
2712
|
var TO_STRING_TAG$2 = wellKnownSymbol$k('toStringTag');
|
|
2678
|
-
var Object$2 = global$
|
|
2713
|
+
var Object$2 = global$r.Object;
|
|
2679
2714
|
|
|
2680
2715
|
// ES3 wrong here
|
|
2681
2716
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2688,7 +2723,7 @@ var tryGet = function (it, key) {
|
|
|
2688
2723
|
};
|
|
2689
2724
|
|
|
2690
2725
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
2691
|
-
var classof$
|
|
2726
|
+
var classof$9 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
2692
2727
|
var O, tag, result;
|
|
2693
2728
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2694
2729
|
// @@toStringTag case
|
|
@@ -2699,16 +2734,18 @@ var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
|
2699
2734
|
: (result = classofRaw(O)) == 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
2700
2735
|
};
|
|
2701
2736
|
|
|
2702
|
-
var global$
|
|
2703
|
-
var classof$
|
|
2737
|
+
var global$q = global$M;
|
|
2738
|
+
var classof$8 = classof$9;
|
|
2704
2739
|
|
|
2705
|
-
var String$2 = global$
|
|
2740
|
+
var String$2 = global$q.String;
|
|
2706
2741
|
|
|
2707
|
-
var toString$
|
|
2708
|
-
if (classof$
|
|
2742
|
+
var toString$c = function (argument) {
|
|
2743
|
+
if (classof$8(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2709
2744
|
return String$2(argument);
|
|
2710
2745
|
};
|
|
2711
2746
|
|
|
2747
|
+
var objectDefineProperties = {};
|
|
2748
|
+
|
|
2712
2749
|
var internalObjectKeys = objectKeysInternal;
|
|
2713
2750
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
2714
2751
|
|
|
@@ -2719,7 +2756,8 @@ var objectKeys$4 = Object.keys || function keys(O) {
|
|
|
2719
2756
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
2720
2757
|
};
|
|
2721
2758
|
|
|
2722
|
-
var DESCRIPTORS$
|
|
2759
|
+
var DESCRIPTORS$8 = descriptors;
|
|
2760
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
2723
2761
|
var definePropertyModule$4 = objectDefineProperty;
|
|
2724
2762
|
var anObject$b = anObject$e;
|
|
2725
2763
|
var toIndexedObject$6 = toIndexedObject$a;
|
|
@@ -2728,7 +2766,7 @@ var objectKeys$3 = objectKeys$4;
|
|
|
2728
2766
|
// `Object.defineProperties` method
|
|
2729
2767
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
2730
2768
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
2731
|
-
var objectDefineProperties = DESCRIPTORS$
|
|
2769
|
+
var f$2 = objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
2732
2770
|
anObject$b(O);
|
|
2733
2771
|
var props = toIndexedObject$6(Properties);
|
|
2734
2772
|
var keys = objectKeys$3(Properties);
|
|
@@ -2746,7 +2784,7 @@ var html$1 = getBuiltIn$3('document', 'documentElement');
|
|
|
2746
2784
|
/* global ActiveXObject -- old IE, WSH */
|
|
2747
2785
|
|
|
2748
2786
|
var anObject$a = anObject$e;
|
|
2749
|
-
var
|
|
2787
|
+
var definePropertiesModule$1 = objectDefineProperties;
|
|
2750
2788
|
var enumBugKeys = enumBugKeys$3;
|
|
2751
2789
|
var hiddenKeys$2 = hiddenKeys$6;
|
|
2752
2790
|
var html = html$1;
|
|
@@ -2824,21 +2862,46 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2824
2862
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
2825
2863
|
result[IE_PROTO$1] = O;
|
|
2826
2864
|
} else result = NullProtoObject();
|
|
2827
|
-
return Properties === undefined ? result :
|
|
2865
|
+
return Properties === undefined ? result : definePropertiesModule$1.f(result, Properties);
|
|
2828
2866
|
};
|
|
2829
2867
|
|
|
2830
2868
|
var objectGetOwnPropertyNamesExternal = {};
|
|
2831
2869
|
|
|
2832
|
-
|
|
2870
|
+
'use strict';
|
|
2871
|
+
var toPropertyKey$1 = toPropertyKey$4;
|
|
2872
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
2873
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
2874
|
+
|
|
2875
|
+
var createProperty$5 = function (object, key, value) {
|
|
2876
|
+
var propertyKey = toPropertyKey$1(key);
|
|
2877
|
+
if (propertyKey in object) definePropertyModule$3.f(object, propertyKey, createPropertyDescriptor$2(0, value));
|
|
2878
|
+
else object[propertyKey] = value;
|
|
2879
|
+
};
|
|
2880
|
+
|
|
2881
|
+
var global$p = global$M;
|
|
2882
|
+
var toAbsoluteIndex$2 = toAbsoluteIndex$4;
|
|
2883
|
+
var lengthOfArrayLike$8 = lengthOfArrayLike$a;
|
|
2884
|
+
var createProperty$4 = createProperty$5;
|
|
2833
2885
|
|
|
2834
|
-
var
|
|
2886
|
+
var Array$4 = global$p.Array;
|
|
2887
|
+
var max$3 = Math.max;
|
|
2888
|
+
|
|
2889
|
+
var arraySliceSimple = function (O, start, end) {
|
|
2890
|
+
var length = lengthOfArrayLike$8(O);
|
|
2891
|
+
var k = toAbsoluteIndex$2(start, length);
|
|
2892
|
+
var fin = toAbsoluteIndex$2(end === undefined ? length : end, length);
|
|
2893
|
+
var result = Array$4(max$3(fin - k, 0));
|
|
2894
|
+
for (var n = 0; k < fin; k++, n++) createProperty$4(result, n, O[k]);
|
|
2895
|
+
result.length = n;
|
|
2896
|
+
return result;
|
|
2897
|
+
};
|
|
2835
2898
|
|
|
2836
2899
|
/* eslint-disable es/no-object-getownpropertynames -- safe */
|
|
2837
2900
|
|
|
2838
|
-
var classof$
|
|
2901
|
+
var classof$7 = classofRaw$1;
|
|
2839
2902
|
var toIndexedObject$5 = toIndexedObject$a;
|
|
2840
2903
|
var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
|
|
2841
|
-
var arraySlice$
|
|
2904
|
+
var arraySlice$3 = arraySliceSimple;
|
|
2842
2905
|
|
|
2843
2906
|
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
|
2844
2907
|
? Object.getOwnPropertyNames(window) : [];
|
|
@@ -2847,68 +2910,74 @@ var getWindowNames = function (it) {
|
|
|
2847
2910
|
try {
|
|
2848
2911
|
return $getOwnPropertyNames$1(it);
|
|
2849
2912
|
} catch (error) {
|
|
2850
|
-
return arraySlice$
|
|
2913
|
+
return arraySlice$3(windowNames);
|
|
2851
2914
|
}
|
|
2852
2915
|
};
|
|
2853
2916
|
|
|
2854
2917
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
2855
2918
|
var f$1 = objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
|
|
2856
|
-
return windowNames && classof$
|
|
2919
|
+
return windowNames && classof$7(it) == 'Window'
|
|
2857
2920
|
? getWindowNames(it)
|
|
2858
2921
|
: $getOwnPropertyNames$1(toIndexedObject$5(it));
|
|
2859
2922
|
};
|
|
2860
2923
|
|
|
2924
|
+
var uncurryThis$o = functionUncurryThis;
|
|
2925
|
+
|
|
2926
|
+
var arraySlice$2 = uncurryThis$o([].slice);
|
|
2927
|
+
|
|
2861
2928
|
var wellKnownSymbolWrapped = {};
|
|
2862
2929
|
|
|
2863
2930
|
var wellKnownSymbol$j = wellKnownSymbol$n;
|
|
2864
2931
|
|
|
2865
2932
|
var f = wellKnownSymbolWrapped.f = wellKnownSymbol$j;
|
|
2866
2933
|
|
|
2867
|
-
var global$
|
|
2934
|
+
var global$o = global$M;
|
|
2868
2935
|
|
|
2869
|
-
var path$1 = global$
|
|
2936
|
+
var path$1 = global$o;
|
|
2870
2937
|
|
|
2871
2938
|
var path = path$1;
|
|
2872
2939
|
var hasOwn$6 = hasOwnProperty_1;
|
|
2873
2940
|
var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
2874
|
-
var defineProperty$
|
|
2941
|
+
var defineProperty$7 = objectDefineProperty.f;
|
|
2875
2942
|
|
|
2876
2943
|
var defineWellKnownSymbol$1 = function (NAME) {
|
|
2877
2944
|
var Symbol = path.Symbol || (path.Symbol = {});
|
|
2878
|
-
if (!hasOwn$6(Symbol, NAME)) defineProperty$
|
|
2945
|
+
if (!hasOwn$6(Symbol, NAME)) defineProperty$7(Symbol, NAME, {
|
|
2879
2946
|
value: wrappedWellKnownSymbolModule$1.f(NAME)
|
|
2880
2947
|
});
|
|
2881
2948
|
};
|
|
2882
2949
|
|
|
2883
|
-
var defineProperty$
|
|
2950
|
+
var defineProperty$6 = objectDefineProperty.f;
|
|
2884
2951
|
var hasOwn$5 = hasOwnProperty_1;
|
|
2885
2952
|
var wellKnownSymbol$i = wellKnownSymbol$n;
|
|
2886
2953
|
|
|
2887
2954
|
var TO_STRING_TAG$1 = wellKnownSymbol$i('toStringTag');
|
|
2888
2955
|
|
|
2889
|
-
var setToStringTag$4 = function (
|
|
2890
|
-
if (
|
|
2891
|
-
|
|
2956
|
+
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
2957
|
+
if (target && !STATIC) target = target.prototype;
|
|
2958
|
+
if (target && !hasOwn$5(target, TO_STRING_TAG$1)) {
|
|
2959
|
+
defineProperty$6(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
2892
2960
|
}
|
|
2893
2961
|
};
|
|
2894
2962
|
|
|
2895
|
-
var uncurryThis$
|
|
2896
|
-
var aCallable$
|
|
2963
|
+
var uncurryThis$n = functionUncurryThis;
|
|
2964
|
+
var aCallable$3 = aCallable$5;
|
|
2965
|
+
var NATIVE_BIND = functionBindNative;
|
|
2897
2966
|
|
|
2898
|
-
var bind$4 = uncurryThis$
|
|
2967
|
+
var bind$4 = uncurryThis$n(uncurryThis$n.bind);
|
|
2899
2968
|
|
|
2900
2969
|
// optional / simple context binding
|
|
2901
2970
|
var functionBindContext = function (fn, that) {
|
|
2902
|
-
aCallable$
|
|
2903
|
-
return that === undefined ? fn :
|
|
2971
|
+
aCallable$3(fn);
|
|
2972
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
|
|
2904
2973
|
return fn.apply(that, arguments);
|
|
2905
2974
|
};
|
|
2906
2975
|
};
|
|
2907
2976
|
|
|
2908
|
-
var uncurryThis$
|
|
2909
|
-
var fails$
|
|
2977
|
+
var uncurryThis$m = functionUncurryThis;
|
|
2978
|
+
var fails$m = fails$u;
|
|
2910
2979
|
var isCallable$a = isCallable$l;
|
|
2911
|
-
var classof$
|
|
2980
|
+
var classof$6 = classof$9;
|
|
2912
2981
|
var getBuiltIn$2 = getBuiltIn$7;
|
|
2913
2982
|
var inspectSource = inspectSource$3;
|
|
2914
2983
|
|
|
@@ -2916,10 +2985,10 @@ var noop = function () { /* empty */ };
|
|
|
2916
2985
|
var empty = [];
|
|
2917
2986
|
var construct = getBuiltIn$2('Reflect', 'construct');
|
|
2918
2987
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2919
|
-
var exec$2 = uncurryThis$
|
|
2988
|
+
var exec$2 = uncurryThis$m(constructorRegExp.exec);
|
|
2920
2989
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
2921
2990
|
|
|
2922
|
-
var isConstructorModern = function (argument) {
|
|
2991
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
2923
2992
|
if (!isCallable$a(argument)) return false;
|
|
2924
2993
|
try {
|
|
2925
2994
|
construct(noop, empty, argument);
|
|
@@ -2929,19 +2998,28 @@ var isConstructorModern = function (argument) {
|
|
|
2929
2998
|
}
|
|
2930
2999
|
};
|
|
2931
3000
|
|
|
2932
|
-
var isConstructorLegacy = function (argument) {
|
|
3001
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
2933
3002
|
if (!isCallable$a(argument)) return false;
|
|
2934
|
-
switch (classof$
|
|
3003
|
+
switch (classof$6(argument)) {
|
|
2935
3004
|
case 'AsyncFunction':
|
|
2936
3005
|
case 'GeneratorFunction':
|
|
2937
3006
|
case 'AsyncGeneratorFunction': return false;
|
|
3007
|
+
}
|
|
3008
|
+
try {
|
|
2938
3009
|
// we can't check .prototype since constructors produced by .bind haven't it
|
|
2939
|
-
|
|
3010
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
3011
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
3012
|
+
return INCORRECT_TO_STRING || !!exec$2(constructorRegExp, inspectSource(argument));
|
|
3013
|
+
} catch (error) {
|
|
3014
|
+
return true;
|
|
3015
|
+
}
|
|
2940
3016
|
};
|
|
2941
3017
|
|
|
3018
|
+
isConstructorLegacy.sham = true;
|
|
3019
|
+
|
|
2942
3020
|
// `IsConstructor` abstract operation
|
|
2943
3021
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2944
|
-
var isConstructor$3 = !construct || fails$
|
|
3022
|
+
var isConstructor$3 = !construct || fails$m(function () {
|
|
2945
3023
|
var called;
|
|
2946
3024
|
return isConstructorModern(isConstructorModern.call)
|
|
2947
3025
|
|| !isConstructorModern(Object)
|
|
@@ -2949,14 +3027,14 @@ var isConstructor$3 = !construct || fails$j(function () {
|
|
|
2949
3027
|
|| called;
|
|
2950
3028
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
2951
3029
|
|
|
2952
|
-
var global$
|
|
3030
|
+
var global$n = global$M;
|
|
2953
3031
|
var isArray$3 = isArray$4;
|
|
2954
3032
|
var isConstructor$2 = isConstructor$3;
|
|
2955
|
-
var isObject$
|
|
3033
|
+
var isObject$8 = isObject$e;
|
|
2956
3034
|
var wellKnownSymbol$h = wellKnownSymbol$n;
|
|
2957
3035
|
|
|
2958
3036
|
var SPECIES$4 = wellKnownSymbol$h('species');
|
|
2959
|
-
var Array$3 = global$
|
|
3037
|
+
var Array$3 = global$n.Array;
|
|
2960
3038
|
|
|
2961
3039
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
2962
3040
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
@@ -2966,7 +3044,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
2966
3044
|
C = originalArray.constructor;
|
|
2967
3045
|
// cross-realm fallback
|
|
2968
3046
|
if (isConstructor$2(C) && (C === Array$3 || isArray$3(C.prototype))) C = undefined;
|
|
2969
|
-
else if (isObject$
|
|
3047
|
+
else if (isObject$8(C)) {
|
|
2970
3048
|
C = C[SPECIES$4];
|
|
2971
3049
|
if (C === null) C = undefined;
|
|
2972
3050
|
}
|
|
@@ -2982,16 +3060,16 @@ var arraySpeciesCreate$3 = function (originalArray, length) {
|
|
|
2982
3060
|
};
|
|
2983
3061
|
|
|
2984
3062
|
var bind$3 = functionBindContext;
|
|
2985
|
-
var uncurryThis$
|
|
2986
|
-
var IndexedObject$
|
|
2987
|
-
var toObject$
|
|
2988
|
-
var lengthOfArrayLike$
|
|
3063
|
+
var uncurryThis$l = functionUncurryThis;
|
|
3064
|
+
var IndexedObject$3 = indexedObject;
|
|
3065
|
+
var toObject$9 = toObject$b;
|
|
3066
|
+
var lengthOfArrayLike$7 = lengthOfArrayLike$a;
|
|
2989
3067
|
var arraySpeciesCreate$2 = arraySpeciesCreate$3;
|
|
2990
3068
|
|
|
2991
|
-
var push$4 = uncurryThis$
|
|
3069
|
+
var push$4 = uncurryThis$l([].push);
|
|
2992
3070
|
|
|
2993
3071
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2994
|
-
var createMethod$
|
|
3072
|
+
var createMethod$4 = function (TYPE) {
|
|
2995
3073
|
var IS_MAP = TYPE == 1;
|
|
2996
3074
|
var IS_FILTER = TYPE == 2;
|
|
2997
3075
|
var IS_SOME = TYPE == 3;
|
|
@@ -3000,10 +3078,10 @@ var createMethod$3 = function (TYPE) {
|
|
|
3000
3078
|
var IS_FILTER_REJECT = TYPE == 7;
|
|
3001
3079
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
3002
3080
|
return function ($this, callbackfn, that, specificCreate) {
|
|
3003
|
-
var O = toObject$
|
|
3004
|
-
var self = IndexedObject$
|
|
3081
|
+
var O = toObject$9($this);
|
|
3082
|
+
var self = IndexedObject$3(O);
|
|
3005
3083
|
var boundFunction = bind$3(callbackfn, that);
|
|
3006
|
-
var length = lengthOfArrayLike$
|
|
3084
|
+
var length = lengthOfArrayLike$7(self);
|
|
3007
3085
|
var index = 0;
|
|
3008
3086
|
var create = specificCreate || arraySpeciesCreate$2;
|
|
3009
3087
|
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
@@ -3031,62 +3109,63 @@ var createMethod$3 = function (TYPE) {
|
|
|
3031
3109
|
var arrayIteration = {
|
|
3032
3110
|
// `Array.prototype.forEach` method
|
|
3033
3111
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
3034
|
-
forEach: createMethod$
|
|
3112
|
+
forEach: createMethod$4(0),
|
|
3035
3113
|
// `Array.prototype.map` method
|
|
3036
3114
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
3037
|
-
map: createMethod$
|
|
3115
|
+
map: createMethod$4(1),
|
|
3038
3116
|
// `Array.prototype.filter` method
|
|
3039
3117
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
3040
|
-
filter: createMethod$
|
|
3118
|
+
filter: createMethod$4(2),
|
|
3041
3119
|
// `Array.prototype.some` method
|
|
3042
3120
|
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
3043
|
-
some: createMethod$
|
|
3121
|
+
some: createMethod$4(3),
|
|
3044
3122
|
// `Array.prototype.every` method
|
|
3045
3123
|
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
3046
|
-
every: createMethod$
|
|
3124
|
+
every: createMethod$4(4),
|
|
3047
3125
|
// `Array.prototype.find` method
|
|
3048
3126
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
3049
|
-
find: createMethod$
|
|
3127
|
+
find: createMethod$4(5),
|
|
3050
3128
|
// `Array.prototype.findIndex` method
|
|
3051
3129
|
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
3052
|
-
findIndex: createMethod$
|
|
3130
|
+
findIndex: createMethod$4(6),
|
|
3053
3131
|
// `Array.prototype.filterReject` method
|
|
3054
3132
|
// https://github.com/tc39/proposal-array-filtering
|
|
3055
|
-
filterReject: createMethod$
|
|
3133
|
+
filterReject: createMethod$4(7)
|
|
3056
3134
|
};
|
|
3057
3135
|
|
|
3058
3136
|
'use strict';
|
|
3059
|
-
var $$
|
|
3060
|
-
var global$
|
|
3137
|
+
var $$n = _export;
|
|
3138
|
+
var global$m = global$M;
|
|
3061
3139
|
var getBuiltIn$1 = getBuiltIn$7;
|
|
3062
3140
|
var apply$1 = functionApply;
|
|
3063
3141
|
var call$9 = functionCall;
|
|
3064
|
-
var uncurryThis$
|
|
3065
|
-
var IS_PURE$
|
|
3066
|
-
var DESCRIPTORS$
|
|
3142
|
+
var uncurryThis$k = functionUncurryThis;
|
|
3143
|
+
var IS_PURE$4 = isPure;
|
|
3144
|
+
var DESCRIPTORS$7 = descriptors;
|
|
3067
3145
|
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
3068
|
-
var fails$
|
|
3146
|
+
var fails$l = fails$u;
|
|
3069
3147
|
var hasOwn$4 = hasOwnProperty_1;
|
|
3070
3148
|
var isArray$2 = isArray$4;
|
|
3071
3149
|
var isCallable$9 = isCallable$l;
|
|
3072
|
-
var isObject$
|
|
3150
|
+
var isObject$7 = isObject$e;
|
|
3073
3151
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
3074
3152
|
var isSymbol = isSymbol$3;
|
|
3075
3153
|
var anObject$9 = anObject$e;
|
|
3076
|
-
var toObject$
|
|
3154
|
+
var toObject$8 = toObject$b;
|
|
3077
3155
|
var toIndexedObject$4 = toIndexedObject$a;
|
|
3078
|
-
var toPropertyKey
|
|
3079
|
-
var $toString$1 = toString$
|
|
3080
|
-
var createPropertyDescriptor$
|
|
3156
|
+
var toPropertyKey = toPropertyKey$4;
|
|
3157
|
+
var $toString$1 = toString$c;
|
|
3158
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
3081
3159
|
var nativeObjectCreate = objectCreate;
|
|
3082
3160
|
var objectKeys$2 = objectKeys$4;
|
|
3083
3161
|
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
3084
3162
|
var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
|
|
3085
3163
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
3086
3164
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
3087
|
-
var definePropertyModule$
|
|
3165
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
3166
|
+
var definePropertiesModule = objectDefineProperties;
|
|
3088
3167
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
3089
|
-
var arraySlice$1 = arraySlice$
|
|
3168
|
+
var arraySlice$1 = arraySlice$2;
|
|
3090
3169
|
var redefine$8 = redefine$b.exports;
|
|
3091
3170
|
var shared$1 = shared$6.exports;
|
|
3092
3171
|
var sharedKey$1 = sharedKey$4;
|
|
@@ -3108,16 +3187,16 @@ var setInternalState$3 = InternalStateModule$3.set;
|
|
|
3108
3187
|
var getInternalState$3 = InternalStateModule$3.getterFor(SYMBOL);
|
|
3109
3188
|
|
|
3110
3189
|
var ObjectPrototype$1 = Object[PROTOTYPE];
|
|
3111
|
-
var $Symbol = global$
|
|
3190
|
+
var $Symbol = global$m.Symbol;
|
|
3112
3191
|
var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE];
|
|
3113
|
-
var TypeError$
|
|
3114
|
-
var QObject = global$
|
|
3192
|
+
var TypeError$a = global$m.TypeError;
|
|
3193
|
+
var QObject = global$m.QObject;
|
|
3115
3194
|
var $stringify = getBuiltIn$1('JSON', 'stringify');
|
|
3116
3195
|
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
3117
|
-
var nativeDefineProperty = definePropertyModule$
|
|
3196
|
+
var nativeDefineProperty = definePropertyModule$2.f;
|
|
3118
3197
|
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
|
|
3119
3198
|
var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f;
|
|
3120
|
-
var push$3 = uncurryThis$
|
|
3199
|
+
var push$3 = uncurryThis$k([].push);
|
|
3121
3200
|
|
|
3122
3201
|
var AllSymbols = shared$1('symbols');
|
|
3123
3202
|
var ObjectPrototypeSymbols = shared$1('op-symbols');
|
|
@@ -3129,7 +3208,7 @@ var WellKnownSymbolsStore = shared$1('wks');
|
|
|
3129
3208
|
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
3130
3209
|
|
|
3131
3210
|
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
3132
|
-
var setSymbolDescriptor = DESCRIPTORS$
|
|
3211
|
+
var setSymbolDescriptor = DESCRIPTORS$7 && fails$l(function () {
|
|
3133
3212
|
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
|
|
3134
3213
|
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
|
|
3135
3214
|
})).a != 7;
|
|
@@ -3149,22 +3228,22 @@ var wrap = function (tag, description) {
|
|
|
3149
3228
|
tag: tag,
|
|
3150
3229
|
description: description
|
|
3151
3230
|
});
|
|
3152
|
-
if (!DESCRIPTORS$
|
|
3231
|
+
if (!DESCRIPTORS$7) symbol.description = description;
|
|
3153
3232
|
return symbol;
|
|
3154
3233
|
};
|
|
3155
3234
|
|
|
3156
3235
|
var $defineProperty = function defineProperty(O, P, Attributes) {
|
|
3157
3236
|
if (O === ObjectPrototype$1) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
|
|
3158
3237
|
anObject$9(O);
|
|
3159
|
-
var key = toPropertyKey
|
|
3238
|
+
var key = toPropertyKey(P);
|
|
3160
3239
|
anObject$9(Attributes);
|
|
3161
3240
|
if (hasOwn$4(AllSymbols, key)) {
|
|
3162
3241
|
if (!Attributes.enumerable) {
|
|
3163
|
-
if (!hasOwn$4(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$
|
|
3242
|
+
if (!hasOwn$4(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$1(1, {}));
|
|
3164
3243
|
O[HIDDEN][key] = true;
|
|
3165
3244
|
} else {
|
|
3166
3245
|
if (hasOwn$4(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
|
|
3167
|
-
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor$
|
|
3246
|
+
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor$1(0, false) });
|
|
3168
3247
|
} return setSymbolDescriptor(O, key, Attributes);
|
|
3169
3248
|
} return nativeDefineProperty(O, key, Attributes);
|
|
3170
3249
|
};
|
|
@@ -3174,7 +3253,7 @@ var $defineProperties = function defineProperties(O, Properties) {
|
|
|
3174
3253
|
var properties = toIndexedObject$4(Properties);
|
|
3175
3254
|
var keys = objectKeys$2(properties).concat($getOwnPropertySymbols(properties));
|
|
3176
3255
|
$forEach(keys, function (key) {
|
|
3177
|
-
if (!DESCRIPTORS$
|
|
3256
|
+
if (!DESCRIPTORS$7 || call$9($propertyIsEnumerable$1, properties, key)) $defineProperty(O, key, properties[key]);
|
|
3178
3257
|
});
|
|
3179
3258
|
return O;
|
|
3180
3259
|
};
|
|
@@ -3184,7 +3263,7 @@ var $create = function create(O, Properties) {
|
|
|
3184
3263
|
};
|
|
3185
3264
|
|
|
3186
3265
|
var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) {
|
|
3187
|
-
var P = toPropertyKey
|
|
3266
|
+
var P = toPropertyKey(V);
|
|
3188
3267
|
var enumerable = call$9(nativePropertyIsEnumerable, this, P);
|
|
3189
3268
|
if (this === ObjectPrototype$1 && hasOwn$4(AllSymbols, P) && !hasOwn$4(ObjectPrototypeSymbols, P)) return false;
|
|
3190
3269
|
return enumerable || !hasOwn$4(this, P) || !hasOwn$4(AllSymbols, P) || hasOwn$4(this, HIDDEN) && this[HIDDEN][P]
|
|
@@ -3193,7 +3272,7 @@ var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) {
|
|
|
3193
3272
|
|
|
3194
3273
|
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
|
|
3195
3274
|
var it = toIndexedObject$4(O);
|
|
3196
|
-
var key = toPropertyKey
|
|
3275
|
+
var key = toPropertyKey(P);
|
|
3197
3276
|
if (it === ObjectPrototype$1 && hasOwn$4(AllSymbols, key) && !hasOwn$4(ObjectPrototypeSymbols, key)) return;
|
|
3198
3277
|
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
|
|
3199
3278
|
if (descriptor && hasOwn$4(AllSymbols, key) && !(hasOwn$4(it, HIDDEN) && it[HIDDEN][key])) {
|
|
@@ -3227,15 +3306,15 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
|
|
|
3227
3306
|
// https://tc39.es/ecma262/#sec-symbol-constructor
|
|
3228
3307
|
if (!NATIVE_SYMBOL$1) {
|
|
3229
3308
|
$Symbol = function Symbol() {
|
|
3230
|
-
if (isPrototypeOf$5(SymbolPrototype$1, this)) throw TypeError$
|
|
3309
|
+
if (isPrototypeOf$5(SymbolPrototype$1, this)) throw TypeError$a('Symbol is not a constructor');
|
|
3231
3310
|
var description = !arguments.length || arguments[0] === undefined ? undefined : $toString$1(arguments[0]);
|
|
3232
3311
|
var tag = uid$1(description);
|
|
3233
3312
|
var setter = function (value) {
|
|
3234
3313
|
if (this === ObjectPrototype$1) call$9(setter, ObjectPrototypeSymbols, value);
|
|
3235
3314
|
if (hasOwn$4(this, HIDDEN) && hasOwn$4(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
|
|
3236
|
-
setSymbolDescriptor(this, tag, createPropertyDescriptor$
|
|
3315
|
+
setSymbolDescriptor(this, tag, createPropertyDescriptor$1(1, value));
|
|
3237
3316
|
};
|
|
3238
|
-
if (DESCRIPTORS$
|
|
3317
|
+
if (DESCRIPTORS$7 && USE_SETTER) setSymbolDescriptor(ObjectPrototype$1, tag, { configurable: true, set: setter });
|
|
3239
3318
|
return wrap(tag, description);
|
|
3240
3319
|
};
|
|
3241
3320
|
|
|
@@ -3250,7 +3329,8 @@ if (!NATIVE_SYMBOL$1) {
|
|
|
3250
3329
|
});
|
|
3251
3330
|
|
|
3252
3331
|
propertyIsEnumerableModule$1.f = $propertyIsEnumerable$1;
|
|
3253
|
-
definePropertyModule$
|
|
3332
|
+
definePropertyModule$2.f = $defineProperty;
|
|
3333
|
+
definePropertiesModule.f = $defineProperties;
|
|
3254
3334
|
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
|
|
3255
3335
|
getOwnPropertyNamesModule$1.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
|
|
3256
3336
|
getOwnPropertySymbolsModule$1.f = $getOwnPropertySymbols;
|
|
@@ -3259,7 +3339,7 @@ if (!NATIVE_SYMBOL$1) {
|
|
|
3259
3339
|
return wrap(wellKnownSymbol$g(name), name);
|
|
3260
3340
|
};
|
|
3261
3341
|
|
|
3262
|
-
if (DESCRIPTORS$
|
|
3342
|
+
if (DESCRIPTORS$7) {
|
|
3263
3343
|
// https://github.com/tc39/proposal-Symbol-description
|
|
3264
3344
|
nativeDefineProperty(SymbolPrototype$1, 'description', {
|
|
3265
3345
|
configurable: true,
|
|
@@ -3267,13 +3347,13 @@ if (!NATIVE_SYMBOL$1) {
|
|
|
3267
3347
|
return getInternalState$3(this).description;
|
|
3268
3348
|
}
|
|
3269
3349
|
});
|
|
3270
|
-
if (!IS_PURE$
|
|
3350
|
+
if (!IS_PURE$4) {
|
|
3271
3351
|
redefine$8(ObjectPrototype$1, 'propertyIsEnumerable', $propertyIsEnumerable$1, { unsafe: true });
|
|
3272
3352
|
}
|
|
3273
3353
|
}
|
|
3274
3354
|
}
|
|
3275
3355
|
|
|
3276
|
-
$$
|
|
3356
|
+
$$n({ global: true, wrap: true, forced: !NATIVE_SYMBOL$1, sham: !NATIVE_SYMBOL$1 }, {
|
|
3277
3357
|
Symbol: $Symbol
|
|
3278
3358
|
});
|
|
3279
3359
|
|
|
@@ -3281,7 +3361,7 @@ $forEach(objectKeys$2(WellKnownSymbolsStore), function (name) {
|
|
|
3281
3361
|
defineWellKnownSymbol(name);
|
|
3282
3362
|
});
|
|
3283
3363
|
|
|
3284
|
-
$$
|
|
3364
|
+
$$n({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL$1 }, {
|
|
3285
3365
|
// `Symbol.for` method
|
|
3286
3366
|
// https://tc39.es/ecma262/#sec-symbol.for
|
|
3287
3367
|
'for': function (key) {
|
|
@@ -3295,14 +3375,14 @@ $$k({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL$1 }, {
|
|
|
3295
3375
|
// `Symbol.keyFor` method
|
|
3296
3376
|
// https://tc39.es/ecma262/#sec-symbol.keyfor
|
|
3297
3377
|
keyFor: function keyFor(sym) {
|
|
3298
|
-
if (!isSymbol(sym)) throw TypeError$
|
|
3378
|
+
if (!isSymbol(sym)) throw TypeError$a(sym + ' is not a symbol');
|
|
3299
3379
|
if (hasOwn$4(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
|
|
3300
3380
|
},
|
|
3301
3381
|
useSetter: function () { USE_SETTER = true; },
|
|
3302
3382
|
useSimple: function () { USE_SETTER = false; }
|
|
3303
3383
|
});
|
|
3304
3384
|
|
|
3305
|
-
$$
|
|
3385
|
+
$$n({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1, sham: !DESCRIPTORS$7 }, {
|
|
3306
3386
|
// `Object.create` method
|
|
3307
3387
|
// https://tc39.es/ecma262/#sec-object.create
|
|
3308
3388
|
create: $create,
|
|
@@ -3317,7 +3397,7 @@ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1, sham: !DESCRIPTORS
|
|
|
3317
3397
|
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
|
3318
3398
|
});
|
|
3319
3399
|
|
|
3320
|
-
$$
|
|
3400
|
+
$$n({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1 }, {
|
|
3321
3401
|
// `Object.getOwnPropertyNames` method
|
|
3322
3402
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
3323
3403
|
getOwnPropertyNames: $getOwnPropertyNames,
|
|
@@ -3328,16 +3408,16 @@ $$k({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1 }, {
|
|
|
3328
3408
|
|
|
3329
3409
|
// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
|
|
3330
3410
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
|
|
3331
|
-
$$
|
|
3411
|
+
$$n({ target: 'Object', stat: true, forced: fails$l(function () { getOwnPropertySymbolsModule$1.f(1); }) }, {
|
|
3332
3412
|
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
3333
|
-
return getOwnPropertySymbolsModule$1.f(toObject$
|
|
3413
|
+
return getOwnPropertySymbolsModule$1.f(toObject$8(it));
|
|
3334
3414
|
}
|
|
3335
3415
|
});
|
|
3336
3416
|
|
|
3337
3417
|
// `JSON.stringify` method behavior with symbols
|
|
3338
3418
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
3339
3419
|
if ($stringify) {
|
|
3340
|
-
var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL$1 || fails$
|
|
3420
|
+
var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL$1 || fails$l(function () {
|
|
3341
3421
|
var symbol = $Symbol();
|
|
3342
3422
|
// MS Edge converts symbol values to JSON as {}
|
|
3343
3423
|
return $stringify([symbol]) != '[null]'
|
|
@@ -3347,12 +3427,12 @@ if ($stringify) {
|
|
|
3347
3427
|
|| $stringify(Object(symbol)) != '{}';
|
|
3348
3428
|
});
|
|
3349
3429
|
|
|
3350
|
-
$$
|
|
3430
|
+
$$n({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
|
|
3351
3431
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3352
3432
|
stringify: function stringify(it, replacer, space) {
|
|
3353
3433
|
var args = arraySlice$1(arguments);
|
|
3354
3434
|
var $replacer = replacer;
|
|
3355
|
-
if (!isObject$
|
|
3435
|
+
if (!isObject$7(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
|
|
3356
3436
|
if (!isArray$2(replacer)) replacer = function (key, value) {
|
|
3357
3437
|
if (isCallable$9($replacer)) value = call$9($replacer, this, key, value);
|
|
3358
3438
|
if (!isSymbol(value)) return value;
|
|
@@ -3384,28 +3464,28 @@ var es_symbol_description = {};
|
|
|
3384
3464
|
// `Symbol.prototype.description` getter
|
|
3385
3465
|
// https://tc39.es/ecma262/#sec-symbol.prototype.description
|
|
3386
3466
|
'use strict';
|
|
3387
|
-
var $$
|
|
3388
|
-
var DESCRIPTORS$
|
|
3389
|
-
var global$
|
|
3390
|
-
var uncurryThis$
|
|
3467
|
+
var $$m = _export;
|
|
3468
|
+
var DESCRIPTORS$6 = descriptors;
|
|
3469
|
+
var global$l = global$M;
|
|
3470
|
+
var uncurryThis$j = functionUncurryThis;
|
|
3391
3471
|
var hasOwn$3 = hasOwnProperty_1;
|
|
3392
3472
|
var isCallable$8 = isCallable$l;
|
|
3393
3473
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
3394
|
-
var toString$
|
|
3395
|
-
var defineProperty$
|
|
3474
|
+
var toString$b = toString$c;
|
|
3475
|
+
var defineProperty$5 = objectDefineProperty.f;
|
|
3396
3476
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
3397
3477
|
|
|
3398
|
-
var NativeSymbol = global$
|
|
3478
|
+
var NativeSymbol = global$l.Symbol;
|
|
3399
3479
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
3400
3480
|
|
|
3401
|
-
if (DESCRIPTORS$
|
|
3481
|
+
if (DESCRIPTORS$6 && isCallable$8(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
3402
3482
|
// Safari 12 bug
|
|
3403
3483
|
NativeSymbol().description !== undefined
|
|
3404
3484
|
)) {
|
|
3405
3485
|
var EmptyStringDescriptionStore = {};
|
|
3406
3486
|
// wrap Symbol constructor for correct work with undefined description
|
|
3407
3487
|
var SymbolWrapper = function Symbol() {
|
|
3408
|
-
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$
|
|
3488
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$b(arguments[0]);
|
|
3409
3489
|
var result = isPrototypeOf$4(SymbolPrototype, this)
|
|
3410
3490
|
? new NativeSymbol(description)
|
|
3411
3491
|
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
@@ -3419,13 +3499,13 @@ if (DESCRIPTORS$5 && isCallable$8(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3419
3499
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
3420
3500
|
|
|
3421
3501
|
var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
|
|
3422
|
-
var symbolToString = uncurryThis$
|
|
3423
|
-
var symbolValueOf = uncurryThis$
|
|
3502
|
+
var symbolToString = uncurryThis$j(SymbolPrototype.toString);
|
|
3503
|
+
var symbolValueOf = uncurryThis$j(SymbolPrototype.valueOf);
|
|
3424
3504
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
3425
|
-
var replace$5 = uncurryThis$
|
|
3426
|
-
var stringSlice$6 = uncurryThis$
|
|
3505
|
+
var replace$5 = uncurryThis$j(''.replace);
|
|
3506
|
+
var stringSlice$6 = uncurryThis$j(''.slice);
|
|
3427
3507
|
|
|
3428
|
-
defineProperty$
|
|
3508
|
+
defineProperty$5(SymbolPrototype, 'description', {
|
|
3429
3509
|
configurable: true,
|
|
3430
3510
|
get: function description() {
|
|
3431
3511
|
var symbol = symbolValueOf(this);
|
|
@@ -3436,7 +3516,7 @@ if (DESCRIPTORS$5 && isCallable$8(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3436
3516
|
}
|
|
3437
3517
|
});
|
|
3438
3518
|
|
|
3439
|
-
$$
|
|
3519
|
+
$$m({ global: true, forced: true }, {
|
|
3440
3520
|
Symbol: SymbolWrapper
|
|
3441
3521
|
});
|
|
3442
3522
|
}
|
|
@@ -3445,37 +3525,37 @@ var es_object_toString = {};
|
|
|
3445
3525
|
|
|
3446
3526
|
'use strict';
|
|
3447
3527
|
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
3448
|
-
var classof$
|
|
3528
|
+
var classof$5 = classof$9;
|
|
3449
3529
|
|
|
3450
3530
|
// `Object.prototype.toString` method implementation
|
|
3451
3531
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
3452
3532
|
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
3453
|
-
return '[object ' + classof$
|
|
3533
|
+
return '[object ' + classof$5(this) + ']';
|
|
3454
3534
|
};
|
|
3455
3535
|
|
|
3456
3536
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3457
3537
|
var redefine$7 = redefine$b.exports;
|
|
3458
|
-
var toString$
|
|
3538
|
+
var toString$a = objectToString;
|
|
3459
3539
|
|
|
3460
3540
|
// `Object.prototype.toString` method
|
|
3461
3541
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
3462
3542
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
3463
|
-
redefine$7(Object.prototype, 'toString', toString$
|
|
3543
|
+
redefine$7(Object.prototype, 'toString', toString$a, { unsafe: true });
|
|
3464
3544
|
}
|
|
3465
3545
|
|
|
3466
3546
|
var es_object_entries = {};
|
|
3467
3547
|
|
|
3468
|
-
var DESCRIPTORS$
|
|
3469
|
-
var uncurryThis$
|
|
3548
|
+
var DESCRIPTORS$5 = descriptors;
|
|
3549
|
+
var uncurryThis$i = functionUncurryThis;
|
|
3470
3550
|
var objectKeys$1 = objectKeys$4;
|
|
3471
3551
|
var toIndexedObject$3 = toIndexedObject$a;
|
|
3472
3552
|
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
3473
3553
|
|
|
3474
|
-
var propertyIsEnumerable = uncurryThis$
|
|
3475
|
-
var push$2 = uncurryThis$
|
|
3554
|
+
var propertyIsEnumerable = uncurryThis$i($propertyIsEnumerable);
|
|
3555
|
+
var push$2 = uncurryThis$i([].push);
|
|
3476
3556
|
|
|
3477
3557
|
// `Object.{ entries, values }` methods implementation
|
|
3478
|
-
var createMethod$
|
|
3558
|
+
var createMethod$3 = function (TO_ENTRIES) {
|
|
3479
3559
|
return function (it) {
|
|
3480
3560
|
var O = toIndexedObject$3(it);
|
|
3481
3561
|
var keys = objectKeys$1(O);
|
|
@@ -3485,7 +3565,7 @@ var createMethod$2 = function (TO_ENTRIES) {
|
|
|
3485
3565
|
var key;
|
|
3486
3566
|
while (length > i) {
|
|
3487
3567
|
key = keys[i++];
|
|
3488
|
-
if (!DESCRIPTORS$
|
|
3568
|
+
if (!DESCRIPTORS$5 || propertyIsEnumerable(O, key)) {
|
|
3489
3569
|
push$2(result, TO_ENTRIES ? [key, O[key]] : O[key]);
|
|
3490
3570
|
}
|
|
3491
3571
|
}
|
|
@@ -3496,18 +3576,18 @@ var createMethod$2 = function (TO_ENTRIES) {
|
|
|
3496
3576
|
var objectToArray = {
|
|
3497
3577
|
// `Object.entries` method
|
|
3498
3578
|
// https://tc39.es/ecma262/#sec-object.entries
|
|
3499
|
-
entries: createMethod$
|
|
3579
|
+
entries: createMethod$3(true),
|
|
3500
3580
|
// `Object.values` method
|
|
3501
3581
|
// https://tc39.es/ecma262/#sec-object.values
|
|
3502
|
-
values: createMethod$
|
|
3582
|
+
values: createMethod$3(false)
|
|
3503
3583
|
};
|
|
3504
3584
|
|
|
3505
|
-
var $$
|
|
3585
|
+
var $$l = _export;
|
|
3506
3586
|
var $entries = objectToArray.entries;
|
|
3507
3587
|
|
|
3508
3588
|
// `Object.entries` method
|
|
3509
3589
|
// https://tc39.es/ecma262/#sec-object.entries
|
|
3510
|
-
$$
|
|
3590
|
+
$$l({ target: 'Object', stat: true }, {
|
|
3511
3591
|
entries: function entries(O) {
|
|
3512
3592
|
return $entries(O);
|
|
3513
3593
|
}
|
|
@@ -3515,18 +3595,7 @@ $$i({ target: 'Object', stat: true }, {
|
|
|
3515
3595
|
|
|
3516
3596
|
var es_array_concat = {};
|
|
3517
3597
|
|
|
3518
|
-
|
|
3519
|
-
var toPropertyKey = toPropertyKey$4;
|
|
3520
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
3521
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
3522
|
-
|
|
3523
|
-
var createProperty$4 = function (object, key, value) {
|
|
3524
|
-
var propertyKey = toPropertyKey(key);
|
|
3525
|
-
if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor$1(0, value));
|
|
3526
|
-
else object[propertyKey] = value;
|
|
3527
|
-
};
|
|
3528
|
-
|
|
3529
|
-
var fails$h = fails$p;
|
|
3598
|
+
var fails$k = fails$u;
|
|
3530
3599
|
var wellKnownSymbol$f = wellKnownSymbol$n;
|
|
3531
3600
|
var V8_VERSION$1 = engineV8Version;
|
|
3532
3601
|
|
|
@@ -3536,7 +3605,7 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
|
|
|
3536
3605
|
// We can't use this feature detection in V8 since it causes
|
|
3537
3606
|
// deoptimization and serious performance degradation
|
|
3538
3607
|
// https://github.com/zloirock/core-js/issues/677
|
|
3539
|
-
return V8_VERSION$1 >= 51 || !fails$
|
|
3608
|
+
return V8_VERSION$1 >= 51 || !fails$k(function () {
|
|
3540
3609
|
var array = [];
|
|
3541
3610
|
var constructor = array.constructor = {};
|
|
3542
3611
|
constructor[SPECIES$3] = function () {
|
|
@@ -3547,14 +3616,14 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
|
|
|
3547
3616
|
};
|
|
3548
3617
|
|
|
3549
3618
|
'use strict';
|
|
3550
|
-
var $$
|
|
3551
|
-
var global$
|
|
3552
|
-
var fails$
|
|
3619
|
+
var $$k = _export;
|
|
3620
|
+
var global$k = global$M;
|
|
3621
|
+
var fails$j = fails$u;
|
|
3553
3622
|
var isArray$1 = isArray$4;
|
|
3554
|
-
var isObject$
|
|
3555
|
-
var toObject$
|
|
3556
|
-
var lengthOfArrayLike$
|
|
3557
|
-
var createProperty$3 = createProperty$
|
|
3623
|
+
var isObject$6 = isObject$e;
|
|
3624
|
+
var toObject$7 = toObject$b;
|
|
3625
|
+
var lengthOfArrayLike$6 = lengthOfArrayLike$a;
|
|
3626
|
+
var createProperty$3 = createProperty$5;
|
|
3558
3627
|
var arraySpeciesCreate$1 = arraySpeciesCreate$3;
|
|
3559
3628
|
var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
|
|
3560
3629
|
var wellKnownSymbol$e = wellKnownSymbol$n;
|
|
@@ -3563,12 +3632,12 @@ var V8_VERSION = engineV8Version;
|
|
|
3563
3632
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol$e('isConcatSpreadable');
|
|
3564
3633
|
var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
|
|
3565
3634
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
3566
|
-
var TypeError$
|
|
3635
|
+
var TypeError$9 = global$k.TypeError;
|
|
3567
3636
|
|
|
3568
3637
|
// We can't use this feature detection in V8 since it causes
|
|
3569
3638
|
// deoptimization and serious performance degradation
|
|
3570
3639
|
// https://github.com/zloirock/core-js/issues/679
|
|
3571
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$
|
|
3640
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$j(function () {
|
|
3572
3641
|
var array = [];
|
|
3573
3642
|
array[IS_CONCAT_SPREADABLE] = false;
|
|
3574
3643
|
return array.concat()[0] !== array;
|
|
@@ -3577,31 +3646,31 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$g(function () {
|
|
|
3577
3646
|
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$4('concat');
|
|
3578
3647
|
|
|
3579
3648
|
var isConcatSpreadable = function (O) {
|
|
3580
|
-
if (!isObject$
|
|
3649
|
+
if (!isObject$6(O)) return false;
|
|
3581
3650
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
3582
3651
|
return spreadable !== undefined ? !!spreadable : isArray$1(O);
|
|
3583
3652
|
};
|
|
3584
3653
|
|
|
3585
|
-
var FORCED$
|
|
3654
|
+
var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
3586
3655
|
|
|
3587
3656
|
// `Array.prototype.concat` method
|
|
3588
3657
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
3589
3658
|
// with adding support of @@isConcatSpreadable and @@species
|
|
3590
|
-
$$
|
|
3659
|
+
$$k({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
3591
3660
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3592
3661
|
concat: function concat(arg) {
|
|
3593
|
-
var O = toObject$
|
|
3662
|
+
var O = toObject$7(this);
|
|
3594
3663
|
var A = arraySpeciesCreate$1(O, 0);
|
|
3595
3664
|
var n = 0;
|
|
3596
3665
|
var i, k, length, len, E;
|
|
3597
3666
|
for (i = -1, length = arguments.length; i < length; i++) {
|
|
3598
3667
|
E = i === -1 ? O : arguments[i];
|
|
3599
3668
|
if (isConcatSpreadable(E)) {
|
|
3600
|
-
len = lengthOfArrayLike$
|
|
3601
|
-
if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$
|
|
3669
|
+
len = lengthOfArrayLike$6(E);
|
|
3670
|
+
if (n + len > MAX_SAFE_INTEGER$1) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
3602
3671
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty$3(A, n, E[k]);
|
|
3603
3672
|
} else {
|
|
3604
|
-
if (n >= MAX_SAFE_INTEGER$1) throw TypeError$
|
|
3673
|
+
if (n >= MAX_SAFE_INTEGER$1) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
3605
3674
|
createProperty$3(A, n++, E);
|
|
3606
3675
|
}
|
|
3607
3676
|
}
|
|
@@ -3613,31 +3682,31 @@ $$h({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
|
3613
3682
|
var es_array_join = {};
|
|
3614
3683
|
|
|
3615
3684
|
'use strict';
|
|
3616
|
-
var fails$
|
|
3685
|
+
var fails$i = fails$u;
|
|
3617
3686
|
|
|
3618
|
-
var arrayMethodIsStrict$
|
|
3687
|
+
var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
|
|
3619
3688
|
var method = [][METHOD_NAME];
|
|
3620
|
-
return !!method && fails$
|
|
3689
|
+
return !!method && fails$i(function () {
|
|
3621
3690
|
// eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
|
|
3622
3691
|
method.call(null, argument || function () { throw 1; }, 1);
|
|
3623
3692
|
});
|
|
3624
3693
|
};
|
|
3625
3694
|
|
|
3626
3695
|
'use strict';
|
|
3627
|
-
var $$
|
|
3628
|
-
var uncurryThis$
|
|
3629
|
-
var IndexedObject$
|
|
3696
|
+
var $$j = _export;
|
|
3697
|
+
var uncurryThis$h = functionUncurryThis;
|
|
3698
|
+
var IndexedObject$2 = indexedObject;
|
|
3630
3699
|
var toIndexedObject$2 = toIndexedObject$a;
|
|
3631
|
-
var arrayMethodIsStrict$
|
|
3700
|
+
var arrayMethodIsStrict$3 = arrayMethodIsStrict$4;
|
|
3632
3701
|
|
|
3633
|
-
var un$Join = uncurryThis$
|
|
3702
|
+
var un$Join = uncurryThis$h([].join);
|
|
3634
3703
|
|
|
3635
|
-
var ES3_STRINGS = IndexedObject$
|
|
3636
|
-
var STRICT_METHOD$
|
|
3704
|
+
var ES3_STRINGS = IndexedObject$2 != Object;
|
|
3705
|
+
var STRICT_METHOD$3 = arrayMethodIsStrict$3('join', ',');
|
|
3637
3706
|
|
|
3638
3707
|
// `Array.prototype.join` method
|
|
3639
3708
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
|
3640
|
-
$$
|
|
3709
|
+
$$j({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$3 }, {
|
|
3641
3710
|
join: function join(separator) {
|
|
3642
3711
|
return un$Join(toIndexedObject$2(this), separator === undefined ? ',' : separator);
|
|
3643
3712
|
}
|
|
@@ -3686,61 +3755,61 @@ var iterators = {};
|
|
|
3686
3755
|
var wellKnownSymbol$d = wellKnownSymbol$n;
|
|
3687
3756
|
var Iterators$4 = iterators;
|
|
3688
3757
|
|
|
3689
|
-
var ITERATOR$
|
|
3758
|
+
var ITERATOR$6 = wellKnownSymbol$d('iterator');
|
|
3690
3759
|
var ArrayPrototype$1 = Array.prototype;
|
|
3691
3760
|
|
|
3692
3761
|
// check on default Array iterator
|
|
3693
3762
|
var isArrayIteratorMethod$2 = function (it) {
|
|
3694
|
-
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$
|
|
3763
|
+
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$6] === it);
|
|
3695
3764
|
};
|
|
3696
3765
|
|
|
3697
|
-
var classof$
|
|
3766
|
+
var classof$4 = classof$9;
|
|
3698
3767
|
var getMethod$1 = getMethod$4;
|
|
3699
3768
|
var Iterators$3 = iterators;
|
|
3700
3769
|
var wellKnownSymbol$c = wellKnownSymbol$n;
|
|
3701
3770
|
|
|
3702
|
-
var ITERATOR$
|
|
3771
|
+
var ITERATOR$5 = wellKnownSymbol$c('iterator');
|
|
3703
3772
|
|
|
3704
3773
|
var getIteratorMethod$3 = function (it) {
|
|
3705
|
-
if (it != undefined) return getMethod$1(it, ITERATOR$
|
|
3774
|
+
if (it != undefined) return getMethod$1(it, ITERATOR$5)
|
|
3706
3775
|
|| getMethod$1(it, '@@iterator')
|
|
3707
|
-
|| Iterators$3[classof$
|
|
3776
|
+
|| Iterators$3[classof$4(it)];
|
|
3708
3777
|
};
|
|
3709
3778
|
|
|
3710
|
-
var global$
|
|
3779
|
+
var global$j = global$M;
|
|
3711
3780
|
var call$7 = functionCall;
|
|
3712
|
-
var aCallable$
|
|
3781
|
+
var aCallable$2 = aCallable$5;
|
|
3713
3782
|
var anObject$6 = anObject$e;
|
|
3714
3783
|
var tryToString$1 = tryToString$3;
|
|
3715
3784
|
var getIteratorMethod$2 = getIteratorMethod$3;
|
|
3716
3785
|
|
|
3717
|
-
var TypeError$
|
|
3786
|
+
var TypeError$8 = global$j.TypeError;
|
|
3718
3787
|
|
|
3719
3788
|
var getIterator$2 = function (argument, usingIterator) {
|
|
3720
3789
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
|
|
3721
|
-
if (aCallable$
|
|
3722
|
-
throw TypeError$
|
|
3790
|
+
if (aCallable$2(iteratorMethod)) return anObject$6(call$7(iteratorMethod, argument));
|
|
3791
|
+
throw TypeError$8(tryToString$1(argument) + ' is not iterable');
|
|
3723
3792
|
};
|
|
3724
3793
|
|
|
3725
3794
|
'use strict';
|
|
3726
|
-
var global$
|
|
3795
|
+
var global$i = global$M;
|
|
3727
3796
|
var bind$2 = functionBindContext;
|
|
3728
3797
|
var call$6 = functionCall;
|
|
3729
|
-
var toObject$
|
|
3798
|
+
var toObject$6 = toObject$b;
|
|
3730
3799
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
3731
3800
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
3732
3801
|
var isConstructor$1 = isConstructor$3;
|
|
3733
|
-
var lengthOfArrayLike$
|
|
3734
|
-
var createProperty$2 = createProperty$
|
|
3802
|
+
var lengthOfArrayLike$5 = lengthOfArrayLike$a;
|
|
3803
|
+
var createProperty$2 = createProperty$5;
|
|
3735
3804
|
var getIterator$1 = getIterator$2;
|
|
3736
3805
|
var getIteratorMethod$1 = getIteratorMethod$3;
|
|
3737
3806
|
|
|
3738
|
-
var Array$2 = global$
|
|
3807
|
+
var Array$2 = global$i.Array;
|
|
3739
3808
|
|
|
3740
3809
|
// `Array.from` method implementation
|
|
3741
3810
|
// https://tc39.es/ecma262/#sec-array.from
|
|
3742
3811
|
var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
|
|
3743
|
-
var O = toObject$
|
|
3812
|
+
var O = toObject$6(arrayLike);
|
|
3744
3813
|
var IS_CONSTRUCTOR = isConstructor$1(this);
|
|
3745
3814
|
var argumentsLength = arguments.length;
|
|
3746
3815
|
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
|
|
@@ -3759,7 +3828,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
|
|
|
3759
3828
|
createProperty$2(result, index, value);
|
|
3760
3829
|
}
|
|
3761
3830
|
} else {
|
|
3762
|
-
length = lengthOfArrayLike$
|
|
3831
|
+
length = lengthOfArrayLike$5(O);
|
|
3763
3832
|
result = IS_CONSTRUCTOR ? new this(length) : Array$2(length);
|
|
3764
3833
|
for (;length > index; index++) {
|
|
3765
3834
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
@@ -3772,7 +3841,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
|
|
|
3772
3841
|
|
|
3773
3842
|
var wellKnownSymbol$b = wellKnownSymbol$n;
|
|
3774
3843
|
|
|
3775
|
-
var ITERATOR$
|
|
3844
|
+
var ITERATOR$4 = wellKnownSymbol$b('iterator');
|
|
3776
3845
|
var SAFE_CLOSING = false;
|
|
3777
3846
|
|
|
3778
3847
|
try {
|
|
@@ -3785,7 +3854,7 @@ try {
|
|
|
3785
3854
|
SAFE_CLOSING = true;
|
|
3786
3855
|
}
|
|
3787
3856
|
};
|
|
3788
|
-
iteratorWithReturn[ITERATOR$
|
|
3857
|
+
iteratorWithReturn[ITERATOR$4] = function () {
|
|
3789
3858
|
return this;
|
|
3790
3859
|
};
|
|
3791
3860
|
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
@@ -3797,7 +3866,7 @@ var checkCorrectnessOfIteration$2 = function (exec, SKIP_CLOSING) {
|
|
|
3797
3866
|
var ITERATION_SUPPORT = false;
|
|
3798
3867
|
try {
|
|
3799
3868
|
var object = {};
|
|
3800
|
-
object[ITERATOR$
|
|
3869
|
+
object[ITERATOR$4] = function () {
|
|
3801
3870
|
return {
|
|
3802
3871
|
next: function () {
|
|
3803
3872
|
return { done: ITERATION_SUPPORT = true };
|
|
@@ -3809,7 +3878,7 @@ var checkCorrectnessOfIteration$2 = function (exec, SKIP_CLOSING) {
|
|
|
3809
3878
|
return ITERATION_SUPPORT;
|
|
3810
3879
|
};
|
|
3811
3880
|
|
|
3812
|
-
var $$
|
|
3881
|
+
var $$i = _export;
|
|
3813
3882
|
var from = arrayFrom;
|
|
3814
3883
|
var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
|
|
3815
3884
|
|
|
@@ -3820,24 +3889,24 @@ var INCORRECT_ITERATION = !checkCorrectnessOfIteration$1(function (iterable) {
|
|
|
3820
3889
|
|
|
3821
3890
|
// `Array.from` method
|
|
3822
3891
|
// https://tc39.es/ecma262/#sec-array.from
|
|
3823
|
-
$$
|
|
3892
|
+
$$i({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
|
3824
3893
|
from: from
|
|
3825
3894
|
});
|
|
3826
3895
|
|
|
3827
3896
|
var es_string_iterator = {};
|
|
3828
3897
|
|
|
3829
|
-
var uncurryThis$
|
|
3898
|
+
var uncurryThis$g = functionUncurryThis;
|
|
3830
3899
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
|
|
3831
|
-
var toString$
|
|
3900
|
+
var toString$9 = toString$c;
|
|
3832
3901
|
var requireObjectCoercible$4 = requireObjectCoercible$7;
|
|
3833
3902
|
|
|
3834
|
-
var charAt$
|
|
3835
|
-
var charCodeAt = uncurryThis$
|
|
3836
|
-
var stringSlice$5 = uncurryThis$
|
|
3903
|
+
var charAt$6 = uncurryThis$g(''.charAt);
|
|
3904
|
+
var charCodeAt = uncurryThis$g(''.charCodeAt);
|
|
3905
|
+
var stringSlice$5 = uncurryThis$g(''.slice);
|
|
3837
3906
|
|
|
3838
|
-
var createMethod$
|
|
3907
|
+
var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
3839
3908
|
return function ($this, pos) {
|
|
3840
|
-
var S = toString$
|
|
3909
|
+
var S = toString$9(requireObjectCoercible$4($this));
|
|
3841
3910
|
var position = toIntegerOrInfinity$2(pos);
|
|
3842
3911
|
var size = S.length;
|
|
3843
3912
|
var first, second;
|
|
@@ -3846,7 +3915,7 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
|
3846
3915
|
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
3847
3916
|
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
3848
3917
|
? CONVERT_TO_STRING
|
|
3849
|
-
? charAt$
|
|
3918
|
+
? charAt$6(S, position)
|
|
3850
3919
|
: first
|
|
3851
3920
|
: CONVERT_TO_STRING
|
|
3852
3921
|
? stringSlice$5(S, position, position + 2)
|
|
@@ -3857,36 +3926,36 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
|
3857
3926
|
var stringMultibyte = {
|
|
3858
3927
|
// `String.prototype.codePointAt` method
|
|
3859
3928
|
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
3860
|
-
codeAt: createMethod$
|
|
3929
|
+
codeAt: createMethod$2(false),
|
|
3861
3930
|
// `String.prototype.at` method
|
|
3862
3931
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
3863
|
-
charAt: createMethod$
|
|
3932
|
+
charAt: createMethod$2(true)
|
|
3864
3933
|
};
|
|
3865
3934
|
|
|
3866
|
-
var fails$
|
|
3935
|
+
var fails$h = fails$u;
|
|
3867
3936
|
|
|
3868
|
-
var correctPrototypeGetter = !fails$
|
|
3937
|
+
var correctPrototypeGetter = !fails$h(function () {
|
|
3869
3938
|
function F() { /* empty */ }
|
|
3870
3939
|
F.prototype.constructor = null;
|
|
3871
3940
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
3872
3941
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
3873
3942
|
});
|
|
3874
3943
|
|
|
3875
|
-
var global$
|
|
3944
|
+
var global$h = global$M;
|
|
3876
3945
|
var hasOwn$2 = hasOwnProperty_1;
|
|
3877
3946
|
var isCallable$7 = isCallable$l;
|
|
3878
|
-
var toObject$
|
|
3947
|
+
var toObject$5 = toObject$b;
|
|
3879
3948
|
var sharedKey = sharedKey$4;
|
|
3880
3949
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
3881
3950
|
|
|
3882
3951
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3883
|
-
var Object$1 = global$
|
|
3952
|
+
var Object$1 = global$h.Object;
|
|
3884
3953
|
var ObjectPrototype = Object$1.prototype;
|
|
3885
3954
|
|
|
3886
3955
|
// `Object.getPrototypeOf` method
|
|
3887
3956
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
3888
3957
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
|
|
3889
|
-
var object = toObject$
|
|
3958
|
+
var object = toObject$5(O);
|
|
3890
3959
|
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
3891
3960
|
var constructor = object.constructor;
|
|
3892
3961
|
if (isCallable$7(constructor) && object instanceof constructor) {
|
|
@@ -3895,15 +3964,15 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf :
|
|
|
3895
3964
|
};
|
|
3896
3965
|
|
|
3897
3966
|
'use strict';
|
|
3898
|
-
var fails$
|
|
3967
|
+
var fails$g = fails$u;
|
|
3899
3968
|
var isCallable$6 = isCallable$l;
|
|
3900
3969
|
var create$4 = objectCreate;
|
|
3901
3970
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
3902
3971
|
var redefine$6 = redefine$b.exports;
|
|
3903
3972
|
var wellKnownSymbol$a = wellKnownSymbol$n;
|
|
3904
|
-
var IS_PURE$
|
|
3973
|
+
var IS_PURE$3 = isPure;
|
|
3905
3974
|
|
|
3906
|
-
var ITERATOR$
|
|
3975
|
+
var ITERATOR$3 = wellKnownSymbol$a('iterator');
|
|
3907
3976
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
3908
3977
|
|
|
3909
3978
|
// `%IteratorPrototype%` object
|
|
@@ -3921,19 +3990,19 @@ if ([].keys) {
|
|
|
3921
3990
|
}
|
|
3922
3991
|
}
|
|
3923
3992
|
|
|
3924
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$
|
|
3993
|
+
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$g(function () {
|
|
3925
3994
|
var test = {};
|
|
3926
3995
|
// FF44- legacy iterators case
|
|
3927
|
-
return IteratorPrototype$2[ITERATOR$
|
|
3996
|
+
return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
|
|
3928
3997
|
});
|
|
3929
3998
|
|
|
3930
3999
|
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
3931
|
-
else if (IS_PURE$
|
|
4000
|
+
else if (IS_PURE$3) IteratorPrototype$2 = create$4(IteratorPrototype$2);
|
|
3932
4001
|
|
|
3933
4002
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
3934
4003
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
3935
|
-
if (!isCallable$6(IteratorPrototype$2[ITERATOR$
|
|
3936
|
-
redefine$6(IteratorPrototype$2, ITERATOR$
|
|
4004
|
+
if (!isCallable$6(IteratorPrototype$2[ITERATOR$3])) {
|
|
4005
|
+
redefine$6(IteratorPrototype$2, ITERATOR$3, function () {
|
|
3937
4006
|
return this;
|
|
3938
4007
|
});
|
|
3939
4008
|
}
|
|
@@ -3952,28 +4021,28 @@ var Iterators$2 = iterators;
|
|
|
3952
4021
|
|
|
3953
4022
|
var returnThis$1 = function () { return this; };
|
|
3954
4023
|
|
|
3955
|
-
var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next) {
|
|
4024
|
+
var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
3956
4025
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
3957
|
-
IteratorConstructor.prototype = create$3(IteratorPrototype$1, { next: createPropertyDescriptor(
|
|
4026
|
+
IteratorConstructor.prototype = create$3(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
3958
4027
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
3959
4028
|
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
3960
4029
|
return IteratorConstructor;
|
|
3961
4030
|
};
|
|
3962
4031
|
|
|
3963
|
-
var global$
|
|
4032
|
+
var global$g = global$M;
|
|
3964
4033
|
var isCallable$5 = isCallable$l;
|
|
3965
4034
|
|
|
3966
|
-
var String$1 = global$
|
|
3967
|
-
var TypeError$
|
|
4035
|
+
var String$1 = global$g.String;
|
|
4036
|
+
var TypeError$7 = global$g.TypeError;
|
|
3968
4037
|
|
|
3969
4038
|
var aPossiblePrototype$1 = function (argument) {
|
|
3970
4039
|
if (typeof argument == 'object' || isCallable$5(argument)) return argument;
|
|
3971
|
-
throw TypeError$
|
|
4040
|
+
throw TypeError$7("Can't set " + String$1(argument) + ' as a prototype');
|
|
3972
4041
|
};
|
|
3973
4042
|
|
|
3974
4043
|
/* eslint-disable no-proto -- safe */
|
|
3975
4044
|
|
|
3976
|
-
var uncurryThis$
|
|
4045
|
+
var uncurryThis$f = functionUncurryThis;
|
|
3977
4046
|
var anObject$5 = anObject$e;
|
|
3978
4047
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
3979
4048
|
|
|
@@ -3987,7 +4056,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
3987
4056
|
var setter;
|
|
3988
4057
|
try {
|
|
3989
4058
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3990
|
-
setter = uncurryThis$
|
|
4059
|
+
setter = uncurryThis$f(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
3991
4060
|
setter(test, []);
|
|
3992
4061
|
CORRECT_SETTER = test instanceof Array;
|
|
3993
4062
|
} catch (error) { /* empty */ }
|
|
@@ -4001,9 +4070,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
4001
4070
|
}() : undefined);
|
|
4002
4071
|
|
|
4003
4072
|
'use strict';
|
|
4004
|
-
var $$
|
|
4073
|
+
var $$h = _export;
|
|
4005
4074
|
var call$5 = functionCall;
|
|
4006
|
-
var IS_PURE$
|
|
4075
|
+
var IS_PURE$2 = isPure;
|
|
4007
4076
|
var FunctionName = functionName;
|
|
4008
4077
|
var isCallable$4 = isCallable$l;
|
|
4009
4078
|
var createIteratorConstructor = createIteratorConstructor$1;
|
|
@@ -4020,7 +4089,7 @@ var PROPER_FUNCTION_NAME$2 = FunctionName.PROPER;
|
|
|
4020
4089
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
4021
4090
|
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
4022
4091
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
4023
|
-
var ITERATOR$
|
|
4092
|
+
var ITERATOR$2 = wellKnownSymbol$9('iterator');
|
|
4024
4093
|
var KEYS = 'keys';
|
|
4025
4094
|
var VALUES = 'values';
|
|
4026
4095
|
var ENTRIES = 'entries';
|
|
@@ -4043,7 +4112,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
4043
4112
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
4044
4113
|
var INCORRECT_VALUES_NAME = false;
|
|
4045
4114
|
var IterablePrototype = Iterable.prototype;
|
|
4046
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
4115
|
+
var nativeIterator = IterablePrototype[ITERATOR$2]
|
|
4047
4116
|
|| IterablePrototype['@@iterator']
|
|
4048
4117
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
4049
4118
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -4054,22 +4123,22 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
4054
4123
|
if (anyNativeIterator) {
|
|
4055
4124
|
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
4056
4125
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
4057
|
-
if (!IS_PURE$
|
|
4126
|
+
if (!IS_PURE$2 && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
4058
4127
|
if (setPrototypeOf$1) {
|
|
4059
4128
|
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
|
4060
|
-
} else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$
|
|
4061
|
-
redefine$5(CurrentIteratorPrototype, ITERATOR$
|
|
4129
|
+
} else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$2])) {
|
|
4130
|
+
redefine$5(CurrentIteratorPrototype, ITERATOR$2, returnThis);
|
|
4062
4131
|
}
|
|
4063
4132
|
}
|
|
4064
4133
|
// Set @@toStringTag to native iterators
|
|
4065
4134
|
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
|
|
4066
|
-
if (IS_PURE$
|
|
4135
|
+
if (IS_PURE$2) Iterators$1[TO_STRING_TAG] = returnThis;
|
|
4067
4136
|
}
|
|
4068
4137
|
}
|
|
4069
4138
|
|
|
4070
4139
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
4071
4140
|
if (PROPER_FUNCTION_NAME$2 && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
4072
|
-
if (!IS_PURE$
|
|
4141
|
+
if (!IS_PURE$2 && CONFIGURABLE_FUNCTION_NAME) {
|
|
4073
4142
|
createNonEnumerableProperty$3(IterablePrototype, 'name', VALUES);
|
|
4074
4143
|
} else {
|
|
4075
4144
|
INCORRECT_VALUES_NAME = true;
|
|
@@ -4088,12 +4157,12 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
4088
4157
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
4089
4158
|
redefine$5(IterablePrototype, KEY, methods[KEY]);
|
|
4090
4159
|
}
|
|
4091
|
-
} else $$
|
|
4160
|
+
} else $$h({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
4092
4161
|
}
|
|
4093
4162
|
|
|
4094
4163
|
// define iterator
|
|
4095
|
-
if ((!IS_PURE$
|
|
4096
|
-
redefine$5(IterablePrototype, ITERATOR$
|
|
4164
|
+
if ((!IS_PURE$2 || FORCED) && IterablePrototype[ITERATOR$2] !== defaultIterator) {
|
|
4165
|
+
redefine$5(IterablePrototype, ITERATOR$2, defaultIterator, { name: DEFAULT });
|
|
4097
4166
|
}
|
|
4098
4167
|
Iterators$1[NAME] = defaultIterator;
|
|
4099
4168
|
|
|
@@ -4101,8 +4170,8 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
4101
4170
|
};
|
|
4102
4171
|
|
|
4103
4172
|
'use strict';
|
|
4104
|
-
var charAt$
|
|
4105
|
-
var toString$
|
|
4173
|
+
var charAt$5 = stringMultibyte.charAt;
|
|
4174
|
+
var toString$8 = toString$c;
|
|
4106
4175
|
var InternalStateModule$2 = internalState;
|
|
4107
4176
|
var defineIterator$2 = defineIterator$3;
|
|
4108
4177
|
|
|
@@ -4115,7 +4184,7 @@ var getInternalState$2 = InternalStateModule$2.getterFor(STRING_ITERATOR);
|
|
|
4115
4184
|
defineIterator$2(String, 'String', function (iterated) {
|
|
4116
4185
|
setInternalState$2(this, {
|
|
4117
4186
|
type: STRING_ITERATOR,
|
|
4118
|
-
string: toString$
|
|
4187
|
+
string: toString$8(iterated),
|
|
4119
4188
|
index: 0
|
|
4120
4189
|
});
|
|
4121
4190
|
// `%StringIteratorPrototype%.next` method
|
|
@@ -4126,15 +4195,15 @@ defineIterator$2(String, 'String', function (iterated) {
|
|
|
4126
4195
|
var index = state.index;
|
|
4127
4196
|
var point;
|
|
4128
4197
|
if (index >= string.length) return { value: undefined, done: true };
|
|
4129
|
-
point = charAt$
|
|
4198
|
+
point = charAt$5(string, index);
|
|
4130
4199
|
state.index += point.length;
|
|
4131
4200
|
return { value: point, done: false };
|
|
4132
4201
|
});
|
|
4133
4202
|
|
|
4134
4203
|
var es_string_startsWith = {};
|
|
4135
4204
|
|
|
4136
|
-
var isObject$
|
|
4137
|
-
var classof$
|
|
4205
|
+
var isObject$5 = isObject$e;
|
|
4206
|
+
var classof$3 = classofRaw$1;
|
|
4138
4207
|
var wellKnownSymbol$8 = wellKnownSymbol$n;
|
|
4139
4208
|
|
|
4140
4209
|
var MATCH$2 = wellKnownSymbol$8('match');
|
|
@@ -4143,17 +4212,17 @@ var MATCH$2 = wellKnownSymbol$8('match');
|
|
|
4143
4212
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
4144
4213
|
var isRegexp = function (it) {
|
|
4145
4214
|
var isRegExp;
|
|
4146
|
-
return isObject$
|
|
4215
|
+
return isObject$5(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$3(it) == 'RegExp');
|
|
4147
4216
|
};
|
|
4148
4217
|
|
|
4149
|
-
var global$
|
|
4218
|
+
var global$f = global$M;
|
|
4150
4219
|
var isRegExp$1 = isRegexp;
|
|
4151
4220
|
|
|
4152
|
-
var TypeError$
|
|
4221
|
+
var TypeError$6 = global$f.TypeError;
|
|
4153
4222
|
|
|
4154
4223
|
var notARegexp = function (it) {
|
|
4155
4224
|
if (isRegExp$1(it)) {
|
|
4156
|
-
throw TypeError$
|
|
4225
|
+
throw TypeError$6("The method doesn't accept regular expressions");
|
|
4157
4226
|
} return it;
|
|
4158
4227
|
};
|
|
4159
4228
|
|
|
@@ -4174,36 +4243,36 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
4174
4243
|
};
|
|
4175
4244
|
|
|
4176
4245
|
'use strict';
|
|
4177
|
-
var $$
|
|
4178
|
-
var uncurryThis$
|
|
4246
|
+
var $$g = _export;
|
|
4247
|
+
var uncurryThis$e = functionUncurryThis;
|
|
4179
4248
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
4180
4249
|
var toLength$1 = toLength$3;
|
|
4181
|
-
var toString$
|
|
4250
|
+
var toString$7 = toString$c;
|
|
4182
4251
|
var notARegExp = notARegexp;
|
|
4183
4252
|
var requireObjectCoercible$3 = requireObjectCoercible$7;
|
|
4184
4253
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
4185
|
-
var IS_PURE = isPure;
|
|
4254
|
+
var IS_PURE$1 = isPure;
|
|
4186
4255
|
|
|
4187
4256
|
// eslint-disable-next-line es/no-string-prototype-startswith -- safe
|
|
4188
|
-
var un$StartsWith = uncurryThis$
|
|
4189
|
-
var stringSlice$4 = uncurryThis$
|
|
4257
|
+
var un$StartsWith = uncurryThis$e(''.startsWith);
|
|
4258
|
+
var stringSlice$4 = uncurryThis$e(''.slice);
|
|
4190
4259
|
var min$2 = Math.min;
|
|
4191
4260
|
|
|
4192
4261
|
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
|
|
4193
4262
|
// https://github.com/zloirock/core-js/pull/702
|
|
4194
|
-
var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
4263
|
+
var MDN_POLYFILL_BUG = !IS_PURE$1 && !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
4195
4264
|
var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
|
|
4196
4265
|
return descriptor && !descriptor.writable;
|
|
4197
4266
|
}();
|
|
4198
4267
|
|
|
4199
4268
|
// `String.prototype.startsWith` method
|
|
4200
4269
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
|
4201
|
-
$$
|
|
4270
|
+
$$g({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
4202
4271
|
startsWith: function startsWith(searchString /* , position = 0 */) {
|
|
4203
|
-
var that = toString$
|
|
4272
|
+
var that = toString$7(requireObjectCoercible$3(this));
|
|
4204
4273
|
notARegExp(searchString);
|
|
4205
4274
|
var index = toLength$1(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length));
|
|
4206
|
-
var search = toString$
|
|
4275
|
+
var search = toString$7(searchString);
|
|
4207
4276
|
return un$StartsWith
|
|
4208
4277
|
? un$StartsWith(that, search, index)
|
|
4209
4278
|
: stringSlice$4(that, index, index + search.length) === search;
|
|
@@ -4213,19 +4282,19 @@ $$d({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
|
|
|
4213
4282
|
var es_array_splice = {};
|
|
4214
4283
|
|
|
4215
4284
|
'use strict';
|
|
4216
|
-
var $$
|
|
4217
|
-
var global$
|
|
4218
|
-
var toAbsoluteIndex$1 = toAbsoluteIndex$
|
|
4285
|
+
var $$f = _export;
|
|
4286
|
+
var global$e = global$M;
|
|
4287
|
+
var toAbsoluteIndex$1 = toAbsoluteIndex$4;
|
|
4219
4288
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
|
|
4220
|
-
var lengthOfArrayLike$
|
|
4221
|
-
var toObject$
|
|
4289
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$a;
|
|
4290
|
+
var toObject$4 = toObject$b;
|
|
4222
4291
|
var arraySpeciesCreate = arraySpeciesCreate$3;
|
|
4223
|
-
var createProperty$1 = createProperty$
|
|
4292
|
+
var createProperty$1 = createProperty$5;
|
|
4224
4293
|
var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;
|
|
4225
4294
|
|
|
4226
4295
|
var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('splice');
|
|
4227
4296
|
|
|
4228
|
-
var TypeError$
|
|
4297
|
+
var TypeError$5 = global$e.TypeError;
|
|
4229
4298
|
var max$2 = Math.max;
|
|
4230
4299
|
var min$1 = Math.min;
|
|
4231
4300
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
@@ -4234,10 +4303,10 @@ var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
|
|
|
4234
4303
|
// `Array.prototype.splice` method
|
|
4235
4304
|
// https://tc39.es/ecma262/#sec-array.prototype.splice
|
|
4236
4305
|
// with adding support of @@species
|
|
4237
|
-
$$
|
|
4306
|
+
$$f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
|
|
4238
4307
|
splice: function splice(start, deleteCount /* , ...items */) {
|
|
4239
|
-
var O = toObject$
|
|
4240
|
-
var len = lengthOfArrayLike$
|
|
4308
|
+
var O = toObject$4(this);
|
|
4309
|
+
var len = lengthOfArrayLike$4(O);
|
|
4241
4310
|
var actualStart = toAbsoluteIndex$1(start, len);
|
|
4242
4311
|
var argumentsLength = arguments.length;
|
|
4243
4312
|
var insertCount, actualDeleteCount, A, k, from, to;
|
|
@@ -4251,7 +4320,7 @@ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
|
|
|
4251
4320
|
actualDeleteCount = min$1(max$2(toIntegerOrInfinity$1(deleteCount), 0), len - actualStart);
|
|
4252
4321
|
}
|
|
4253
4322
|
if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
|
|
4254
|
-
throw TypeError$
|
|
4323
|
+
throw TypeError$5(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
|
|
4255
4324
|
}
|
|
4256
4325
|
A = arraySpeciesCreate(O, actualDeleteCount);
|
|
4257
4326
|
for (k = 0; k < actualDeleteCount; k++) {
|
|
@@ -4283,108 +4352,241 @@ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {
|
|
|
4283
4352
|
}
|
|
4284
4353
|
});
|
|
4285
4354
|
|
|
4286
|
-
var
|
|
4355
|
+
var es_array_map = {};
|
|
4287
4356
|
|
|
4288
4357
|
'use strict';
|
|
4289
|
-
var $$
|
|
4290
|
-
var
|
|
4291
|
-
var isArray = isArray$4;
|
|
4292
|
-
var isConstructor = isConstructor$3;
|
|
4293
|
-
var isObject$3 = isObject$d;
|
|
4294
|
-
var toAbsoluteIndex = toAbsoluteIndex$3;
|
|
4295
|
-
var lengthOfArrayLike$2 = lengthOfArrayLike$8;
|
|
4296
|
-
var toIndexedObject$1 = toIndexedObject$a;
|
|
4297
|
-
var createProperty = createProperty$4;
|
|
4298
|
-
var wellKnownSymbol$6 = wellKnownSymbol$n;
|
|
4358
|
+
var $$e = _export;
|
|
4359
|
+
var $map = arrayIteration.map;
|
|
4299
4360
|
var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;
|
|
4300
|
-
var un$Slice = arraySlice$3;
|
|
4301
4361
|
|
|
4302
|
-
var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('
|
|
4362
|
+
var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map');
|
|
4303
4363
|
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
// fallback for not array-like ES3 strings and DOM objects
|
|
4311
|
-
$$b({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
|
4312
|
-
slice: function slice(start, end) {
|
|
4313
|
-
var O = toIndexedObject$1(this);
|
|
4314
|
-
var length = lengthOfArrayLike$2(O);
|
|
4315
|
-
var k = toAbsoluteIndex(start, length);
|
|
4316
|
-
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
4317
|
-
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
|
|
4318
|
-
var Constructor, result, n;
|
|
4319
|
-
if (isArray(O)) {
|
|
4320
|
-
Constructor = O.constructor;
|
|
4321
|
-
// cross-realm fallback
|
|
4322
|
-
if (isConstructor(Constructor) && (Constructor === Array$1 || isArray(Constructor.prototype))) {
|
|
4323
|
-
Constructor = undefined;
|
|
4324
|
-
} else if (isObject$3(Constructor)) {
|
|
4325
|
-
Constructor = Constructor[SPECIES$2];
|
|
4326
|
-
if (Constructor === null) Constructor = undefined;
|
|
4327
|
-
}
|
|
4328
|
-
if (Constructor === Array$1 || Constructor === undefined) {
|
|
4329
|
-
return un$Slice(O, k, fin);
|
|
4330
|
-
}
|
|
4331
|
-
}
|
|
4332
|
-
result = new (Constructor === undefined ? Array$1 : Constructor)(max$1(fin - k, 0));
|
|
4333
|
-
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
|
|
4334
|
-
result.length = n;
|
|
4335
|
-
return result;
|
|
4364
|
+
// `Array.prototype.map` method
|
|
4365
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
4366
|
+
// with adding support of @@species
|
|
4367
|
+
$$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
|
4368
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
4369
|
+
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
4336
4370
|
}
|
|
4337
4371
|
});
|
|
4338
4372
|
|
|
4373
|
+
var es_parseFloat = {};
|
|
4374
|
+
|
|
4375
|
+
// a string of all valid unicode whitespaces
|
|
4376
|
+
var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
4377
|
+
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
4378
|
+
|
|
4379
|
+
var uncurryThis$d = functionUncurryThis;
|
|
4380
|
+
var requireObjectCoercible$2 = requireObjectCoercible$7;
|
|
4381
|
+
var toString$6 = toString$c;
|
|
4382
|
+
var whitespaces$2 = whitespaces$3;
|
|
4383
|
+
|
|
4384
|
+
var replace$4 = uncurryThis$d(''.replace);
|
|
4385
|
+
var whitespace = '[' + whitespaces$2 + ']';
|
|
4386
|
+
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
4387
|
+
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
4388
|
+
|
|
4389
|
+
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
4390
|
+
var createMethod$1 = function (TYPE) {
|
|
4391
|
+
return function ($this) {
|
|
4392
|
+
var string = toString$6(requireObjectCoercible$2($this));
|
|
4393
|
+
if (TYPE & 1) string = replace$4(string, ltrim, '');
|
|
4394
|
+
if (TYPE & 2) string = replace$4(string, rtrim, '');
|
|
4395
|
+
return string;
|
|
4396
|
+
};
|
|
4397
|
+
};
|
|
4398
|
+
|
|
4399
|
+
var stringTrim = {
|
|
4400
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
4401
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
4402
|
+
start: createMethod$1(1),
|
|
4403
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
4404
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
4405
|
+
end: createMethod$1(2),
|
|
4406
|
+
// `String.prototype.trim` method
|
|
4407
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
4408
|
+
trim: createMethod$1(3)
|
|
4409
|
+
};
|
|
4410
|
+
|
|
4411
|
+
var global$d = global$M;
|
|
4412
|
+
var fails$f = fails$u;
|
|
4413
|
+
var uncurryThis$c = functionUncurryThis;
|
|
4414
|
+
var toString$5 = toString$c;
|
|
4415
|
+
var trim = stringTrim.trim;
|
|
4416
|
+
var whitespaces$1 = whitespaces$3;
|
|
4417
|
+
|
|
4418
|
+
var charAt$4 = uncurryThis$c(''.charAt);
|
|
4419
|
+
var n$ParseFloat = global$d.parseFloat;
|
|
4420
|
+
var Symbol$1 = global$d.Symbol;
|
|
4421
|
+
var ITERATOR$1 = Symbol$1 && Symbol$1.iterator;
|
|
4422
|
+
var FORCED$1 = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
|
|
4423
|
+
// MS Edge 18- broken with boxed symbols
|
|
4424
|
+
|| (ITERATOR$1 && !fails$f(function () { n$ParseFloat(Object(ITERATOR$1)); }));
|
|
4425
|
+
|
|
4426
|
+
// `parseFloat` method
|
|
4427
|
+
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
4428
|
+
var numberParseFloat = FORCED$1 ? function parseFloat(string) {
|
|
4429
|
+
var trimmedString = trim(toString$5(string));
|
|
4430
|
+
var result = n$ParseFloat(trimmedString);
|
|
4431
|
+
return result === 0 && charAt$4(trimmedString, 0) == '-' ? -0 : result;
|
|
4432
|
+
} : n$ParseFloat;
|
|
4433
|
+
|
|
4434
|
+
var $$d = _export;
|
|
4435
|
+
var $parseFloat = numberParseFloat;
|
|
4436
|
+
|
|
4437
|
+
// `parseFloat` method
|
|
4438
|
+
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
4439
|
+
$$d({ global: true, forced: parseFloat != $parseFloat }, {
|
|
4440
|
+
parseFloat: $parseFloat
|
|
4441
|
+
});
|
|
4442
|
+
|
|
4339
4443
|
var es_string_anchor = {};
|
|
4340
4444
|
|
|
4341
4445
|
var uncurryThis$b = functionUncurryThis;
|
|
4342
|
-
var requireObjectCoercible$
|
|
4343
|
-
var toString$
|
|
4446
|
+
var requireObjectCoercible$1 = requireObjectCoercible$7;
|
|
4447
|
+
var toString$4 = toString$c;
|
|
4344
4448
|
|
|
4345
4449
|
var quot = /"/g;
|
|
4346
|
-
var replace$
|
|
4450
|
+
var replace$3 = uncurryThis$b(''.replace);
|
|
4347
4451
|
|
|
4348
4452
|
// `CreateHTML` abstract operation
|
|
4349
4453
|
// https://tc39.es/ecma262/#sec-createhtml
|
|
4350
4454
|
var createHtml = function (string, tag, attribute, value) {
|
|
4351
|
-
var S = toString$
|
|
4455
|
+
var S = toString$4(requireObjectCoercible$1(string));
|
|
4352
4456
|
var p1 = '<' + tag;
|
|
4353
|
-
if (attribute !== '') p1 += ' ' + attribute + '="' + replace$
|
|
4457
|
+
if (attribute !== '') p1 += ' ' + attribute + '="' + replace$3(toString$4(value), quot, '"') + '"';
|
|
4354
4458
|
return p1 + '>' + S + '</' + tag + '>';
|
|
4355
4459
|
};
|
|
4356
4460
|
|
|
4357
|
-
var fails$
|
|
4461
|
+
var fails$e = fails$u;
|
|
4358
4462
|
|
|
4359
4463
|
// check the existence of a method, lowercase
|
|
4360
4464
|
// of a tag and escaping quotes in arguments
|
|
4361
4465
|
var stringHtmlForced = function (METHOD_NAME) {
|
|
4362
|
-
return fails$
|
|
4466
|
+
return fails$e(function () {
|
|
4363
4467
|
var test = ''[METHOD_NAME]('"');
|
|
4364
4468
|
return test !== test.toLowerCase() || test.split('"').length > 3;
|
|
4365
4469
|
});
|
|
4366
4470
|
};
|
|
4367
4471
|
|
|
4368
4472
|
'use strict';
|
|
4369
|
-
var $$
|
|
4473
|
+
var $$c = _export;
|
|
4370
4474
|
var createHTML = createHtml;
|
|
4371
4475
|
var forcedStringHTMLMethod = stringHtmlForced;
|
|
4372
4476
|
|
|
4373
4477
|
// `String.prototype.anchor` method
|
|
4374
4478
|
// https://tc39.es/ecma262/#sec-string.prototype.anchor
|
|
4375
|
-
$$
|
|
4479
|
+
$$c({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {
|
|
4376
4480
|
anchor: function anchor(name) {
|
|
4377
4481
|
return createHTML(this, 'a', 'name', name);
|
|
4378
4482
|
}
|
|
4379
4483
|
});
|
|
4380
4484
|
|
|
4485
|
+
var es_array_indexOf = {};
|
|
4486
|
+
|
|
4487
|
+
'use strict';
|
|
4488
|
+
/* eslint-disable es/no-array-prototype-indexof -- required for testing */
|
|
4489
|
+
var $$b = _export;
|
|
4490
|
+
var uncurryThis$a = functionUncurryThis;
|
|
4491
|
+
var $IndexOf = arrayIncludes.indexOf;
|
|
4492
|
+
var arrayMethodIsStrict$2 = arrayMethodIsStrict$4;
|
|
4493
|
+
|
|
4494
|
+
var un$IndexOf = uncurryThis$a([].indexOf);
|
|
4495
|
+
|
|
4496
|
+
var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
|
|
4497
|
+
var STRICT_METHOD$2 = arrayMethodIsStrict$2('indexOf');
|
|
4498
|
+
|
|
4499
|
+
// `Array.prototype.indexOf` method
|
|
4500
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
4501
|
+
$$b({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$2 }, {
|
|
4502
|
+
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
4503
|
+
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
|
|
4504
|
+
return NEGATIVE_ZERO
|
|
4505
|
+
// convert -0 to +0
|
|
4506
|
+
? un$IndexOf(this, searchElement, fromIndex) || 0
|
|
4507
|
+
: $IndexOf(this, searchElement, fromIndex);
|
|
4508
|
+
}
|
|
4509
|
+
});
|
|
4510
|
+
|
|
4511
|
+
var es_array_reduce = {};
|
|
4512
|
+
|
|
4513
|
+
var global$c = global$M;
|
|
4514
|
+
var aCallable$1 = aCallable$5;
|
|
4515
|
+
var toObject$3 = toObject$b;
|
|
4516
|
+
var IndexedObject$1 = indexedObject;
|
|
4517
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$a;
|
|
4518
|
+
|
|
4519
|
+
var TypeError$4 = global$c.TypeError;
|
|
4520
|
+
|
|
4521
|
+
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
4522
|
+
var createMethod = function (IS_RIGHT) {
|
|
4523
|
+
return function (that, callbackfn, argumentsLength, memo) {
|
|
4524
|
+
aCallable$1(callbackfn);
|
|
4525
|
+
var O = toObject$3(that);
|
|
4526
|
+
var self = IndexedObject$1(O);
|
|
4527
|
+
var length = lengthOfArrayLike$3(O);
|
|
4528
|
+
var index = IS_RIGHT ? length - 1 : 0;
|
|
4529
|
+
var i = IS_RIGHT ? -1 : 1;
|
|
4530
|
+
if (argumentsLength < 2) while (true) {
|
|
4531
|
+
if (index in self) {
|
|
4532
|
+
memo = self[index];
|
|
4533
|
+
index += i;
|
|
4534
|
+
break;
|
|
4535
|
+
}
|
|
4536
|
+
index += i;
|
|
4537
|
+
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
4538
|
+
throw TypeError$4('Reduce of empty array with no initial value');
|
|
4539
|
+
}
|
|
4540
|
+
}
|
|
4541
|
+
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
4542
|
+
memo = callbackfn(memo, self[index], index, O);
|
|
4543
|
+
}
|
|
4544
|
+
return memo;
|
|
4545
|
+
};
|
|
4546
|
+
};
|
|
4547
|
+
|
|
4548
|
+
var arrayReduce = {
|
|
4549
|
+
// `Array.prototype.reduce` method
|
|
4550
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
4551
|
+
left: createMethod(false),
|
|
4552
|
+
// `Array.prototype.reduceRight` method
|
|
4553
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
4554
|
+
right: createMethod(true)
|
|
4555
|
+
};
|
|
4556
|
+
|
|
4557
|
+
var classof$2 = classofRaw$1;
|
|
4558
|
+
var global$b = global$M;
|
|
4559
|
+
|
|
4560
|
+
var engineIsNode = classof$2(global$b.process) == 'process';
|
|
4561
|
+
|
|
4562
|
+
'use strict';
|
|
4563
|
+
var $$a = _export;
|
|
4564
|
+
var $reduce = arrayReduce.left;
|
|
4565
|
+
var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
|
|
4566
|
+
var CHROME_VERSION = engineV8Version;
|
|
4567
|
+
var IS_NODE = engineIsNode;
|
|
4568
|
+
|
|
4569
|
+
var STRICT_METHOD$1 = arrayMethodIsStrict$1('reduce');
|
|
4570
|
+
// Chrome 80-82 has a critical bug
|
|
4571
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
4572
|
+
var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
4573
|
+
|
|
4574
|
+
// `Array.prototype.reduce` method
|
|
4575
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
4576
|
+
$$a({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 || CHROME_BUG }, {
|
|
4577
|
+
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
4578
|
+
var length = arguments.length;
|
|
4579
|
+
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
4580
|
+
}
|
|
4581
|
+
});
|
|
4582
|
+
|
|
4381
4583
|
var es_array_find = {};
|
|
4382
4584
|
|
|
4383
|
-
var wellKnownSymbol$
|
|
4585
|
+
var wellKnownSymbol$6 = wellKnownSymbol$n;
|
|
4384
4586
|
var create$2 = objectCreate;
|
|
4385
4587
|
var definePropertyModule$1 = objectDefineProperty;
|
|
4386
4588
|
|
|
4387
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
4589
|
+
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
|
|
4388
4590
|
var ArrayPrototype = Array.prototype;
|
|
4389
4591
|
|
|
4390
4592
|
// Array.prototype[@@unscopables]
|
|
@@ -4426,7 +4628,7 @@ addToUnscopables$2(FIND);
|
|
|
4426
4628
|
var es_regexp_constructor = {};
|
|
4427
4629
|
|
|
4428
4630
|
var isCallable$3 = isCallable$l;
|
|
4429
|
-
var isObject$
|
|
4631
|
+
var isObject$4 = isObject$e;
|
|
4430
4632
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
4431
4633
|
|
|
4432
4634
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -4438,7 +4640,7 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
4438
4640
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
4439
4641
|
isCallable$3(NewTarget = dummy.constructor) &&
|
|
4440
4642
|
NewTarget !== Wrapper &&
|
|
4441
|
-
isObject$
|
|
4643
|
+
isObject$4(NewTargetPrototype = NewTarget.prototype) &&
|
|
4442
4644
|
NewTargetPrototype !== Wrapper.prototype
|
|
4443
4645
|
) setPrototypeOf($this, NewTargetPrototype);
|
|
4444
4646
|
return $this;
|
|
@@ -4461,102 +4663,112 @@ var regexpFlags$1 = function () {
|
|
|
4461
4663
|
return result;
|
|
4462
4664
|
};
|
|
4463
4665
|
|
|
4464
|
-
var
|
|
4465
|
-
|
|
4466
|
-
var fails$b = fails$p;
|
|
4467
|
-
var global$9 = global$I;
|
|
4666
|
+
var fails$d = fails$u;
|
|
4667
|
+
var global$a = global$M;
|
|
4468
4668
|
|
|
4469
4669
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
4470
|
-
var $RegExp$2 = global$
|
|
4670
|
+
var $RegExp$2 = global$a.RegExp;
|
|
4471
4671
|
|
|
4472
|
-
var UNSUPPORTED_Y$2 =
|
|
4672
|
+
var UNSUPPORTED_Y$2 = fails$d(function () {
|
|
4473
4673
|
var re = $RegExp$2('a', 'y');
|
|
4474
4674
|
re.lastIndex = 2;
|
|
4475
4675
|
return re.exec('abcd') != null;
|
|
4476
4676
|
});
|
|
4477
4677
|
|
|
4478
|
-
|
|
4678
|
+
// UC Browser bug
|
|
4679
|
+
// https://github.com/zloirock/core-js/issues/1008
|
|
4680
|
+
var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$d(function () {
|
|
4681
|
+
return !$RegExp$2('a', 'y').sticky;
|
|
4682
|
+
});
|
|
4683
|
+
|
|
4684
|
+
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$d(function () {
|
|
4479
4685
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
4480
4686
|
var re = $RegExp$2('^r', 'gy');
|
|
4481
4687
|
re.lastIndex = 2;
|
|
4482
4688
|
return re.exec('str') != null;
|
|
4483
4689
|
});
|
|
4484
4690
|
|
|
4691
|
+
var regexpStickyHelpers = {
|
|
4692
|
+
BROKEN_CARET: BROKEN_CARET,
|
|
4693
|
+
MISSED_STICKY: MISSED_STICKY$1,
|
|
4694
|
+
UNSUPPORTED_Y: UNSUPPORTED_Y$2
|
|
4695
|
+
};
|
|
4696
|
+
|
|
4485
4697
|
'use strict';
|
|
4486
4698
|
var getBuiltIn = getBuiltIn$7;
|
|
4487
4699
|
var definePropertyModule = objectDefineProperty;
|
|
4488
|
-
var wellKnownSymbol$
|
|
4489
|
-
var DESCRIPTORS$
|
|
4700
|
+
var wellKnownSymbol$5 = wellKnownSymbol$n;
|
|
4701
|
+
var DESCRIPTORS$4 = descriptors;
|
|
4490
4702
|
|
|
4491
|
-
var SPECIES$
|
|
4703
|
+
var SPECIES$2 = wellKnownSymbol$5('species');
|
|
4492
4704
|
|
|
4493
4705
|
var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
4494
4706
|
var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
|
|
4495
4707
|
var defineProperty = definePropertyModule.f;
|
|
4496
4708
|
|
|
4497
|
-
if (DESCRIPTORS$
|
|
4498
|
-
defineProperty(Constructor, SPECIES$
|
|
4709
|
+
if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$2]) {
|
|
4710
|
+
defineProperty(Constructor, SPECIES$2, {
|
|
4499
4711
|
configurable: true,
|
|
4500
4712
|
get: function () { return this; }
|
|
4501
4713
|
});
|
|
4502
4714
|
}
|
|
4503
4715
|
};
|
|
4504
4716
|
|
|
4505
|
-
var fails$
|
|
4506
|
-
var global$
|
|
4717
|
+
var fails$c = fails$u;
|
|
4718
|
+
var global$9 = global$M;
|
|
4507
4719
|
|
|
4508
4720
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
4509
|
-
var $RegExp$1 = global$
|
|
4721
|
+
var $RegExp$1 = global$9.RegExp;
|
|
4510
4722
|
|
|
4511
|
-
var regexpUnsupportedDotAll = fails$
|
|
4723
|
+
var regexpUnsupportedDotAll = fails$c(function () {
|
|
4512
4724
|
var re = $RegExp$1('.', 's');
|
|
4513
4725
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
4514
4726
|
});
|
|
4515
4727
|
|
|
4516
|
-
var fails$
|
|
4517
|
-
var global$
|
|
4728
|
+
var fails$b = fails$u;
|
|
4729
|
+
var global$8 = global$M;
|
|
4518
4730
|
|
|
4519
4731
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
4520
|
-
var $RegExp = global$
|
|
4732
|
+
var $RegExp = global$8.RegExp;
|
|
4521
4733
|
|
|
4522
|
-
var regexpUnsupportedNcg = fails$
|
|
4734
|
+
var regexpUnsupportedNcg = fails$b(function () {
|
|
4523
4735
|
var re = $RegExp('(?<a>b)', 'g');
|
|
4524
4736
|
return re.exec('b').groups.a !== 'b' ||
|
|
4525
4737
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
4526
4738
|
});
|
|
4527
4739
|
|
|
4528
|
-
var DESCRIPTORS$
|
|
4529
|
-
var global$
|
|
4530
|
-
var uncurryThis$
|
|
4740
|
+
var DESCRIPTORS$3 = descriptors;
|
|
4741
|
+
var global$7 = global$M;
|
|
4742
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
4531
4743
|
var isForced$1 = isForced_1;
|
|
4532
4744
|
var inheritIfRequired$1 = inheritIfRequired$2;
|
|
4533
4745
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
|
|
4534
|
-
var defineProperty$
|
|
4746
|
+
var defineProperty$4 = objectDefineProperty.f;
|
|
4535
4747
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
4536
4748
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
4537
4749
|
var isRegExp = isRegexp;
|
|
4538
|
-
var toString$
|
|
4750
|
+
var toString$3 = toString$c;
|
|
4539
4751
|
var regExpFlags$1 = regexpFlags$1;
|
|
4540
4752
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
4541
4753
|
var redefine$4 = redefine$b.exports;
|
|
4542
|
-
var fails$
|
|
4754
|
+
var fails$a = fails$u;
|
|
4543
4755
|
var hasOwn$1 = hasOwnProperty_1;
|
|
4544
4756
|
var enforceInternalState = internalState.enforce;
|
|
4545
4757
|
var setSpecies$1 = setSpecies$2;
|
|
4546
|
-
var wellKnownSymbol$
|
|
4758
|
+
var wellKnownSymbol$4 = wellKnownSymbol$n;
|
|
4547
4759
|
var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
4548
4760
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
4549
4761
|
|
|
4550
|
-
var MATCH = wellKnownSymbol$
|
|
4551
|
-
var NativeRegExp = global$
|
|
4762
|
+
var MATCH = wellKnownSymbol$4('match');
|
|
4763
|
+
var NativeRegExp = global$7.RegExp;
|
|
4552
4764
|
var RegExpPrototype$2 = NativeRegExp.prototype;
|
|
4553
|
-
var SyntaxError = global$
|
|
4554
|
-
var getFlags$1 = uncurryThis$
|
|
4555
|
-
var exec$1 = uncurryThis$
|
|
4556
|
-
var charAt$3 = uncurryThis$
|
|
4557
|
-
var replace$
|
|
4558
|
-
var stringIndexOf$1 = uncurryThis$
|
|
4559
|
-
var stringSlice$3 = uncurryThis$
|
|
4765
|
+
var SyntaxError = global$7.SyntaxError;
|
|
4766
|
+
var getFlags$1 = uncurryThis$9(regExpFlags$1);
|
|
4767
|
+
var exec$1 = uncurryThis$9(RegExpPrototype$2.exec);
|
|
4768
|
+
var charAt$3 = uncurryThis$9(''.charAt);
|
|
4769
|
+
var replace$2 = uncurryThis$9(''.replace);
|
|
4770
|
+
var stringIndexOf$1 = uncurryThis$9(''.indexOf);
|
|
4771
|
+
var stringSlice$3 = uncurryThis$9(''.slice);
|
|
4560
4772
|
// TODO: Use only propper RegExpIdentifierName
|
|
4561
4773
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
4562
4774
|
var re1 = /a/g;
|
|
@@ -4565,10 +4777,11 @@ var re2 = /a/g;
|
|
|
4565
4777
|
// "new" should create a new object, old webkit bug
|
|
4566
4778
|
var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
4567
4779
|
|
|
4780
|
+
var MISSED_STICKY = stickyHelpers$1.MISSED_STICKY;
|
|
4568
4781
|
var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y;
|
|
4569
4782
|
|
|
4570
|
-
var BASE_FORCED = DESCRIPTORS$
|
|
4571
|
-
(!CORRECT_NEW ||
|
|
4783
|
+
var BASE_FORCED = DESCRIPTORS$3 &&
|
|
4784
|
+
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1 || fails$a(function () {
|
|
4572
4785
|
re2[MATCH] = false;
|
|
4573
4786
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
4574
4787
|
return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
|
|
@@ -4662,20 +4875,20 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
4662
4875
|
if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags$1(rawPattern);
|
|
4663
4876
|
}
|
|
4664
4877
|
|
|
4665
|
-
pattern = pattern === undefined ? '' : toString$
|
|
4666
|
-
flags = flags === undefined ? '' : toString$
|
|
4878
|
+
pattern = pattern === undefined ? '' : toString$3(pattern);
|
|
4879
|
+
flags = flags === undefined ? '' : toString$3(flags);
|
|
4667
4880
|
rawPattern = pattern;
|
|
4668
4881
|
|
|
4669
4882
|
if (UNSUPPORTED_DOT_ALL$1 && 'dotAll' in re1) {
|
|
4670
4883
|
dotAll = !!flags && stringIndexOf$1(flags, 's') > -1;
|
|
4671
|
-
if (dotAll) flags = replace$
|
|
4884
|
+
if (dotAll) flags = replace$2(flags, /s/g, '');
|
|
4672
4885
|
}
|
|
4673
4886
|
|
|
4674
4887
|
rawFlags = flags;
|
|
4675
4888
|
|
|
4676
|
-
if (
|
|
4889
|
+
if (MISSED_STICKY && 'sticky' in re1) {
|
|
4677
4890
|
sticky = !!flags && stringIndexOf$1(flags, 'y') > -1;
|
|
4678
|
-
if (sticky) flags = replace$
|
|
4891
|
+
if (sticky && UNSUPPORTED_Y$1) flags = replace$2(flags, /y/g, '');
|
|
4679
4892
|
}
|
|
4680
4893
|
|
|
4681
4894
|
if (UNSUPPORTED_NCG$1) {
|
|
@@ -4705,7 +4918,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
4705
4918
|
};
|
|
4706
4919
|
|
|
4707
4920
|
var proxy = function (key) {
|
|
4708
|
-
key in RegExpWrapper || defineProperty$
|
|
4921
|
+
key in RegExpWrapper || defineProperty$4(RegExpWrapper, key, {
|
|
4709
4922
|
configurable: true,
|
|
4710
4923
|
get: function () { return NativeRegExp[key]; },
|
|
4711
4924
|
set: function (it) { NativeRegExp[key] = it; }
|
|
@@ -4718,7 +4931,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
4718
4931
|
|
|
4719
4932
|
RegExpPrototype$2.constructor = RegExpWrapper;
|
|
4720
4933
|
RegExpWrapper.prototype = RegExpPrototype$2;
|
|
4721
|
-
redefine$4(global$
|
|
4934
|
+
redefine$4(global$7, 'RegExp', RegExpWrapper);
|
|
4722
4935
|
}
|
|
4723
4936
|
|
|
4724
4937
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
@@ -4730,8 +4943,8 @@ var es_regexp_exec = {};
|
|
|
4730
4943
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
4731
4944
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
4732
4945
|
var call$4 = functionCall;
|
|
4733
|
-
var uncurryThis$
|
|
4734
|
-
var toString$
|
|
4946
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
4947
|
+
var toString$2 = toString$c;
|
|
4735
4948
|
var regexpFlags = regexpFlags$1;
|
|
4736
4949
|
var stickyHelpers = regexpStickyHelpers;
|
|
4737
4950
|
var shared = shared$6.exports;
|
|
@@ -4743,10 +4956,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
4743
4956
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
4744
4957
|
var nativeExec = RegExp.prototype.exec;
|
|
4745
4958
|
var patchedExec = nativeExec;
|
|
4746
|
-
var charAt$2 = uncurryThis$
|
|
4747
|
-
var indexOf = uncurryThis$
|
|
4748
|
-
var replace$
|
|
4749
|
-
var stringSlice$2 = uncurryThis$
|
|
4959
|
+
var charAt$2 = uncurryThis$8(''.charAt);
|
|
4960
|
+
var indexOf = uncurryThis$8(''.indexOf);
|
|
4961
|
+
var replace$1 = uncurryThis$8(''.replace);
|
|
4962
|
+
var stringSlice$2 = uncurryThis$8(''.slice);
|
|
4750
4963
|
|
|
4751
4964
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
4752
4965
|
var re1 = /a/;
|
|
@@ -4756,7 +4969,7 @@ var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
|
4756
4969
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
4757
4970
|
})();
|
|
4758
4971
|
|
|
4759
|
-
var UNSUPPORTED_Y = stickyHelpers.
|
|
4972
|
+
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
4760
4973
|
|
|
4761
4974
|
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
4762
4975
|
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
@@ -4764,11 +4977,10 @@ var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
|
4764
4977
|
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
4765
4978
|
|
|
4766
4979
|
if (PATCH) {
|
|
4767
|
-
// eslint-disable-next-line max-statements -- TODO
|
|
4768
4980
|
patchedExec = function exec(string) {
|
|
4769
4981
|
var re = this;
|
|
4770
4982
|
var state = getInternalState$1(re);
|
|
4771
|
-
var str = toString$
|
|
4983
|
+
var str = toString$2(string);
|
|
4772
4984
|
var raw = state.raw;
|
|
4773
4985
|
var result, reCopy, lastIndex, match, i, object, group;
|
|
4774
4986
|
|
|
@@ -4787,7 +4999,7 @@ if (PATCH) {
|
|
|
4787
4999
|
var strCopy = str;
|
|
4788
5000
|
|
|
4789
5001
|
if (sticky) {
|
|
4790
|
-
flags = replace$
|
|
5002
|
+
flags = replace$1(flags, 'y', '');
|
|
4791
5003
|
if (indexOf(flags, 'g') === -1) {
|
|
4792
5004
|
flags += 'g';
|
|
4793
5005
|
}
|
|
@@ -4858,21 +5070,21 @@ $$8({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
4858
5070
|
var es_regexp_toString = {};
|
|
4859
5071
|
|
|
4860
5072
|
'use strict';
|
|
4861
|
-
var uncurryThis$
|
|
5073
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
4862
5074
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
4863
5075
|
var redefine$3 = redefine$b.exports;
|
|
4864
5076
|
var anObject$3 = anObject$e;
|
|
4865
5077
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
4866
|
-
var $toString = toString$
|
|
4867
|
-
var fails$
|
|
5078
|
+
var $toString = toString$c;
|
|
5079
|
+
var fails$9 = fails$u;
|
|
4868
5080
|
var regExpFlags = regexpFlags$1;
|
|
4869
5081
|
|
|
4870
5082
|
var TO_STRING = 'toString';
|
|
4871
5083
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
4872
5084
|
var n$ToString = RegExpPrototype$1[TO_STRING];
|
|
4873
|
-
var getFlags = uncurryThis$
|
|
5085
|
+
var getFlags = uncurryThis$7(regExpFlags);
|
|
4874
5086
|
|
|
4875
|
-
var NOT_GENERIC = fails$
|
|
5087
|
+
var NOT_GENERIC = fails$9(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
4876
5088
|
// FF44- RegExp#toString has a wrong name
|
|
4877
5089
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && n$ToString.name != TO_STRING;
|
|
4878
5090
|
|
|
@@ -4893,27 +5105,27 @@ var es_string_replace = {};
|
|
|
4893
5105
|
'use strict';
|
|
4894
5106
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
4895
5107
|
|
|
4896
|
-
var uncurryThis$
|
|
5108
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
4897
5109
|
var redefine$2 = redefine$b.exports;
|
|
4898
5110
|
var regexpExec$1 = regexpExec$2;
|
|
4899
|
-
var fails$
|
|
4900
|
-
var wellKnownSymbol$
|
|
5111
|
+
var fails$8 = fails$u;
|
|
5112
|
+
var wellKnownSymbol$3 = wellKnownSymbol$n;
|
|
4901
5113
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
|
|
4902
5114
|
|
|
4903
|
-
var SPECIES = wellKnownSymbol$
|
|
5115
|
+
var SPECIES$1 = wellKnownSymbol$3('species');
|
|
4904
5116
|
var RegExpPrototype = RegExp.prototype;
|
|
4905
5117
|
|
|
4906
5118
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
4907
|
-
var SYMBOL = wellKnownSymbol$
|
|
5119
|
+
var SYMBOL = wellKnownSymbol$3(KEY);
|
|
4908
5120
|
|
|
4909
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
5121
|
+
var DELEGATES_TO_SYMBOL = !fails$8(function () {
|
|
4910
5122
|
// String methods call symbol-named RegEp methods
|
|
4911
5123
|
var O = {};
|
|
4912
5124
|
O[SYMBOL] = function () { return 7; };
|
|
4913
5125
|
return ''[KEY](O) != 7;
|
|
4914
5126
|
});
|
|
4915
5127
|
|
|
4916
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
5128
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$8(function () {
|
|
4917
5129
|
// Symbol-named RegExp methods call .exec
|
|
4918
5130
|
var execCalled = false;
|
|
4919
5131
|
var re = /a/;
|
|
@@ -4926,7 +5138,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
4926
5138
|
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
4927
5139
|
// a new one. We need to return the patched regex when creating the new one.
|
|
4928
5140
|
re.constructor = {};
|
|
4929
|
-
re.constructor[SPECIES] = function () { return re; };
|
|
5141
|
+
re.constructor[SPECIES$1] = function () { return re; };
|
|
4930
5142
|
re.flags = '';
|
|
4931
5143
|
re[SYMBOL] = /./[SYMBOL];
|
|
4932
5144
|
}
|
|
@@ -4942,9 +5154,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
4942
5154
|
!DELEGATES_TO_EXEC ||
|
|
4943
5155
|
FORCED
|
|
4944
5156
|
) {
|
|
4945
|
-
var uncurriedNativeRegExpMethod = uncurryThis$
|
|
5157
|
+
var uncurriedNativeRegExpMethod = uncurryThis$6(/./[SYMBOL]);
|
|
4946
5158
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
4947
|
-
var uncurriedNativeMethod = uncurryThis$
|
|
5159
|
+
var uncurriedNativeMethod = uncurryThis$6(nativeMethod);
|
|
4948
5160
|
var $exec = regexp.exec;
|
|
4949
5161
|
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
4950
5162
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
@@ -4974,13 +5186,13 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
4974
5186
|
return index + (unicode ? charAt$1(S, index).length : 1);
|
|
4975
5187
|
};
|
|
4976
5188
|
|
|
4977
|
-
var uncurryThis$
|
|
4978
|
-
var toObject$2 = toObject$
|
|
5189
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
5190
|
+
var toObject$2 = toObject$b;
|
|
4979
5191
|
|
|
4980
5192
|
var floor$1 = Math.floor;
|
|
4981
|
-
var charAt = uncurryThis$
|
|
4982
|
-
var replace
|
|
4983
|
-
var stringSlice$1 = uncurryThis$
|
|
5193
|
+
var charAt = uncurryThis$5(''.charAt);
|
|
5194
|
+
var replace = uncurryThis$5(''.replace);
|
|
5195
|
+
var stringSlice$1 = uncurryThis$5(''.slice);
|
|
4984
5196
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
4985
5197
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
4986
5198
|
|
|
@@ -4994,7 +5206,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
4994
5206
|
namedCaptures = toObject$2(namedCaptures);
|
|
4995
5207
|
symbols = SUBSTITUTION_SYMBOLS;
|
|
4996
5208
|
}
|
|
4997
|
-
return replace
|
|
5209
|
+
return replace(replacement, symbols, function (match, ch) {
|
|
4998
5210
|
var capture;
|
|
4999
5211
|
switch (charAt(ch, 0)) {
|
|
5000
5212
|
case '$': return '$';
|
|
@@ -5019,14 +5231,14 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
5019
5231
|
});
|
|
5020
5232
|
};
|
|
5021
5233
|
|
|
5022
|
-
var global$
|
|
5234
|
+
var global$6 = global$M;
|
|
5023
5235
|
var call$3 = functionCall;
|
|
5024
5236
|
var anObject$2 = anObject$e;
|
|
5025
5237
|
var isCallable$2 = isCallable$l;
|
|
5026
|
-
var classof = classofRaw$1;
|
|
5238
|
+
var classof$1 = classofRaw$1;
|
|
5027
5239
|
var regexpExec = regexpExec$2;
|
|
5028
5240
|
|
|
5029
|
-
var TypeError$3 = global$
|
|
5241
|
+
var TypeError$3 = global$6.TypeError;
|
|
5030
5242
|
|
|
5031
5243
|
// `RegExpExec` abstract operation
|
|
5032
5244
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
@@ -5037,35 +5249,35 @@ var regexpExecAbstract = function (R, S) {
|
|
|
5037
5249
|
if (result !== null) anObject$2(result);
|
|
5038
5250
|
return result;
|
|
5039
5251
|
}
|
|
5040
|
-
if (classof(R) === 'RegExp') return call$3(regexpExec, R, S);
|
|
5252
|
+
if (classof$1(R) === 'RegExp') return call$3(regexpExec, R, S);
|
|
5041
5253
|
throw TypeError$3('RegExp#exec called on incompatible receiver');
|
|
5042
5254
|
};
|
|
5043
5255
|
|
|
5044
5256
|
'use strict';
|
|
5045
5257
|
var apply = functionApply;
|
|
5046
5258
|
var call$2 = functionCall;
|
|
5047
|
-
var uncurryThis$
|
|
5259
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
5048
5260
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
5049
|
-
var fails$
|
|
5261
|
+
var fails$7 = fails$u;
|
|
5050
5262
|
var anObject$1 = anObject$e;
|
|
5051
5263
|
var isCallable$1 = isCallable$l;
|
|
5052
5264
|
var toIntegerOrInfinity = toIntegerOrInfinity$5;
|
|
5053
5265
|
var toLength = toLength$3;
|
|
5054
|
-
var toString$
|
|
5055
|
-
var requireObjectCoercible
|
|
5266
|
+
var toString$1 = toString$c;
|
|
5267
|
+
var requireObjectCoercible = requireObjectCoercible$7;
|
|
5056
5268
|
var advanceStringIndex = advanceStringIndex$1;
|
|
5057
5269
|
var getMethod = getMethod$4;
|
|
5058
5270
|
var getSubstitution = getSubstitution$1;
|
|
5059
5271
|
var regExpExec = regexpExecAbstract;
|
|
5060
|
-
var wellKnownSymbol$
|
|
5272
|
+
var wellKnownSymbol$2 = wellKnownSymbol$n;
|
|
5061
5273
|
|
|
5062
|
-
var REPLACE = wellKnownSymbol$
|
|
5063
|
-
var max = Math.max;
|
|
5274
|
+
var REPLACE = wellKnownSymbol$2('replace');
|
|
5275
|
+
var max$1 = Math.max;
|
|
5064
5276
|
var min = Math.min;
|
|
5065
|
-
var concat$1 = uncurryThis$
|
|
5066
|
-
var push$1 = uncurryThis$
|
|
5067
|
-
var stringIndexOf = uncurryThis$
|
|
5068
|
-
var stringSlice = uncurryThis$
|
|
5277
|
+
var concat$1 = uncurryThis$4([].concat);
|
|
5278
|
+
var push$1 = uncurryThis$4([].push);
|
|
5279
|
+
var stringIndexOf = uncurryThis$4(''.indexOf);
|
|
5280
|
+
var stringSlice = uncurryThis$4(''.slice);
|
|
5069
5281
|
|
|
5070
5282
|
var maybeToString = function (it) {
|
|
5071
5283
|
return it === undefined ? it : String(it);
|
|
@@ -5086,7 +5298,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
5086
5298
|
return false;
|
|
5087
5299
|
})();
|
|
5088
5300
|
|
|
5089
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
5301
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$7(function () {
|
|
5090
5302
|
var re = /./;
|
|
5091
5303
|
re.exec = function () {
|
|
5092
5304
|
var result = [];
|
|
@@ -5105,17 +5317,17 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5105
5317
|
// `String.prototype.replace` method
|
|
5106
5318
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
5107
5319
|
function replace(searchValue, replaceValue) {
|
|
5108
|
-
var O = requireObjectCoercible
|
|
5320
|
+
var O = requireObjectCoercible(this);
|
|
5109
5321
|
var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
|
|
5110
5322
|
return replacer
|
|
5111
5323
|
? call$2(replacer, searchValue, O, replaceValue)
|
|
5112
|
-
: call$2(nativeReplace, toString$
|
|
5324
|
+
: call$2(nativeReplace, toString$1(O), searchValue, replaceValue);
|
|
5113
5325
|
},
|
|
5114
5326
|
// `RegExp.prototype[@@replace]` method
|
|
5115
5327
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
5116
5328
|
function (string, replaceValue) {
|
|
5117
5329
|
var rx = anObject$1(this);
|
|
5118
|
-
var S = toString$
|
|
5330
|
+
var S = toString$1(string);
|
|
5119
5331
|
|
|
5120
5332
|
if (
|
|
5121
5333
|
typeof replaceValue == 'string' &&
|
|
@@ -5127,7 +5339,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5127
5339
|
}
|
|
5128
5340
|
|
|
5129
5341
|
var functionalReplace = isCallable$1(replaceValue);
|
|
5130
|
-
if (!functionalReplace) replaceValue = toString$
|
|
5342
|
+
if (!functionalReplace) replaceValue = toString$1(replaceValue);
|
|
5131
5343
|
|
|
5132
5344
|
var global = rx.global;
|
|
5133
5345
|
if (global) {
|
|
@@ -5142,7 +5354,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5142
5354
|
push$1(results, result);
|
|
5143
5355
|
if (!global) break;
|
|
5144
5356
|
|
|
5145
|
-
var matchStr = toString$
|
|
5357
|
+
var matchStr = toString$1(result[0]);
|
|
5146
5358
|
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
5147
5359
|
}
|
|
5148
5360
|
|
|
@@ -5151,8 +5363,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5151
5363
|
for (var i = 0; i < results.length; i++) {
|
|
5152
5364
|
result = results[i];
|
|
5153
5365
|
|
|
5154
|
-
var matched = toString$
|
|
5155
|
-
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
5366
|
+
var matched = toString$1(result[0]);
|
|
5367
|
+
var position = max$1(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
5156
5368
|
var captures = [];
|
|
5157
5369
|
// NOTE: This is equivalent to
|
|
5158
5370
|
// captures = result.slice(1).map(maybeToString)
|
|
@@ -5164,7 +5376,7 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
5164
5376
|
if (functionalReplace) {
|
|
5165
5377
|
var replacerArgs = concat$1([matched], captures, position, S);
|
|
5166
5378
|
if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
|
|
5167
|
-
var replacement = toString$
|
|
5379
|
+
var replacement = toString$1(apply(replaceValue, undefined, replacerArgs));
|
|
5168
5380
|
} else {
|
|
5169
5381
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
5170
5382
|
}
|
|
@@ -5282,7 +5494,7 @@ Emits the following events:
|
|
|
5282
5494
|
'hide:before': the drop list will hide.
|
|
5283
5495
|
'hide': the drop list was hidden.
|
|
5284
5496
|
'hide:after': emitted after the hide css transition has ended, or immediately after 'hide'.
|
|
5285
|
-
'check' {value, item, isCheckingGroup}: item was selected (in multi mode).
|
|
5497
|
+
'check' {value, item, checked: boolean, isGroup: boolean, isCheckingGroup: boolean}: item was selected (in multi mode).
|
|
5286
5498
|
'groupcheck' {value, item, affectedItems}: item was selected (in multi mode).
|
|
5287
5499
|
*/
|
|
5288
5500
|
|
|
@@ -5379,10 +5591,15 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5379
5591
|
onItemRender: function onItemRender(itemEl, index) {
|
|
5380
5592
|
var item;
|
|
5381
5593
|
|
|
5382
|
-
if ( /**@type any*/index === GhostSymbol) {var
|
|
5383
|
-
item = (
|
|
5384
|
-
|
|
5385
|
-
|
|
5594
|
+
if ( /**@type any*/index === GhostSymbol) {var _ItemSymbol;
|
|
5595
|
+
item = _defineProperty({
|
|
5596
|
+
label: p.lastMeasureLongestLabelText,
|
|
5597
|
+
value: 'Measure' },
|
|
5598
|
+
|
|
5599
|
+
ItemSymbol$1, (_ItemSymbol = {}, _defineProperty(_ItemSymbol,
|
|
5600
|
+
p.labelProp, p.lastMeasureLongestLabelText), _defineProperty(_ItemSymbol,
|
|
5601
|
+
p.valueProp, 'Measure'), _ItemSymbol));
|
|
5602
|
+
|
|
5386
5603
|
|
|
5387
5604
|
itemEl.setAttribute('aria-hidden', 'true');
|
|
5388
5605
|
} else {
|
|
@@ -5436,7 +5653,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5436
5653
|
var fn = p.unrenderItem;
|
|
5437
5654
|
p.virtualListHelper.setOnItemUnrender(function (el) {
|
|
5438
5655
|
try {
|
|
5439
|
-
fn(el[ItemSymbol$1], el);
|
|
5656
|
+
fn(el[ItemSymbol$1][ItemSymbol$1], el);
|
|
5440
5657
|
} catch (err) {console.error(err);} // eslint-disable-line no-console
|
|
5441
5658
|
delete el[ItemSymbol$1];
|
|
5442
5659
|
|
|
@@ -5555,7 +5772,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5555
5772
|
el.className = classes.join(' ');
|
|
5556
5773
|
} }, { key: "blurFocusedItem", value:
|
|
5557
5774
|
|
|
5558
|
-
function blurFocusedItem() {
|
|
5775
|
+
function blurFocusedItem() {var _item$ItemSymbol;
|
|
5559
5776
|
var p = this._p;
|
|
5560
5777
|
|
|
5561
5778
|
clearTimeout(p.blurTimer);
|
|
@@ -5576,7 +5793,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5576
5793
|
if (!item)
|
|
5577
5794
|
return;
|
|
5578
5795
|
|
|
5579
|
-
this._trigger('itemblur', { value: item
|
|
5796
|
+
this._trigger('itemblur', { value: item.value, item: (_item$ItemSymbol = item[ItemSymbol$1]) !== null && _item$ItemSymbol !== void 0 ? _item$ItemSymbol : item });
|
|
5580
5797
|
} }, { key: "nextPage", value:
|
|
5581
5798
|
|
|
5582
5799
|
function nextPage(event) {
|
|
@@ -5590,7 +5807,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5590
5807
|
function toggleFocusedItem() {
|
|
5591
5808
|
var p = this._p;
|
|
5592
5809
|
|
|
5593
|
-
if (this.hasFocusedItem() && p.multi) {
|
|
5810
|
+
if (this.hasFocusedItem() && p.multi) {var _item$ItemSymbol2;
|
|
5594
5811
|
var item = p.items[p.focusItemIndex];
|
|
5595
5812
|
if (item._nocheck || item._nointeraction) return this;
|
|
5596
5813
|
|
|
@@ -5598,7 +5815,13 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5598
5815
|
if (p.focusItemEl) {
|
|
5599
5816
|
DomCompat.toggleClass(p.focusItemEl, "".concat(p.baseClassName, "__item_checked"), item._checked);
|
|
5600
5817
|
}
|
|
5601
|
-
this._trigger('check', {
|
|
5818
|
+
this._trigger('check', {
|
|
5819
|
+
value: item.value,
|
|
5820
|
+
item: (_item$ItemSymbol2 = item[ItemSymbol$1]) !== null && _item$ItemSymbol2 !== void 0 ? _item$ItemSymbol2 : item,
|
|
5821
|
+
checked: item._checked,
|
|
5822
|
+
isGroup: item._group,
|
|
5823
|
+
isCheckingGroup: false });
|
|
5824
|
+
|
|
5602
5825
|
|
|
5603
5826
|
this._updateGroupStateForItem(item);
|
|
5604
5827
|
}
|
|
@@ -5606,7 +5829,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5606
5829
|
return this;
|
|
5607
5830
|
} }, { key: "triggerItemSelection", value:
|
|
5608
5831
|
|
|
5609
|
-
function triggerItemSelection(event) {
|
|
5832
|
+
function triggerItemSelection(event) {var _item$ItemSymbol3;
|
|
5610
5833
|
var p = this._p;
|
|
5611
5834
|
|
|
5612
5835
|
p.focusItemEl = p.focusItemEl || Dom.closestUntil(event.target, 'li', p.el);
|
|
@@ -5623,7 +5846,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5623
5846
|
this._setSingleSelectedItemEl(p.focusItemEl);
|
|
5624
5847
|
}
|
|
5625
5848
|
|
|
5626
|
-
this._trigger('select', { value: item ? item
|
|
5849
|
+
this._trigger('select', { value: item ? item.value : undefined, item: (_item$ItemSymbol3 = item[ItemSymbol$1]) !== null && _item$ItemSymbol3 !== void 0 ? _item$ItemSymbol3 : item });
|
|
5627
5850
|
|
|
5628
5851
|
return true;
|
|
5629
5852
|
}
|
|
@@ -5661,9 +5884,9 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5661
5884
|
var oitem = itemsToAdd[i];
|
|
5662
5885
|
//noinspection PointlessBooleanExpressionJS
|
|
5663
5886
|
var item = (_item2 = {}, _defineProperty(_item2,
|
|
5664
|
-
ItemSymbol$1, oitem), _defineProperty(_item2,
|
|
5665
|
-
|
|
5666
|
-
|
|
5887
|
+
ItemSymbol$1, oitem), _defineProperty(_item2, "label",
|
|
5888
|
+
oitem[labelProp]), _defineProperty(_item2, "value",
|
|
5889
|
+
oitem[valueProp]), _defineProperty(_item2, "_nocheck",
|
|
5667
5890
|
!!oitem._nocheck), _defineProperty(_item2, "_nointeraction",
|
|
5668
5891
|
!!oitem._nointeraction), _item2);
|
|
5669
5892
|
|
|
@@ -5714,10 +5937,10 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5714
5937
|
item[ItemSymbol$1] = newItem;
|
|
5715
5938
|
|
|
5716
5939
|
if (hasOwnProperty.call(newItem, p.labelProp))
|
|
5717
|
-
item
|
|
5940
|
+
item.label = newItem[p.labelProp];
|
|
5718
5941
|
|
|
5719
5942
|
if (hasOwnProperty.call(newItem, p.valueProp))
|
|
5720
|
-
item
|
|
5943
|
+
item.value = newItem[p.valueProp];
|
|
5721
5944
|
|
|
5722
5945
|
if (hasOwnProperty.call(newItem, '_nocheck'))
|
|
5723
5946
|
item._nocheck = !!newItem._nocheck;
|
|
@@ -5785,12 +6008,12 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5785
6008
|
} }, { key: "itemDataByValue", value:
|
|
5786
6009
|
|
|
5787
6010
|
function itemDataByValue(value) {
|
|
5788
|
-
var p = this._p
|
|
6011
|
+
var p = this._p;
|
|
5789
6012
|
|
|
5790
6013
|
for (var i = 0, count = p.items.length; i < count; i++) {
|
|
5791
6014
|
var item = p.items[i];
|
|
5792
|
-
if (item
|
|
5793
|
-
return item;
|
|
6015
|
+
if (item.value === value) {
|
|
6016
|
+
return item[ItemSymbol$1];
|
|
5794
6017
|
}
|
|
5795
6018
|
}
|
|
5796
6019
|
|
|
@@ -5798,11 +6021,11 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5798
6021
|
} }, { key: "itemIndexByValue", value:
|
|
5799
6022
|
|
|
5800
6023
|
function itemIndexByValue(value) {
|
|
5801
|
-
var p = this._p
|
|
6024
|
+
var p = this._p;
|
|
5802
6025
|
|
|
5803
6026
|
for (var i = 0, count = p.items.length; i < count; i++) {
|
|
5804
6027
|
var item = p.items[i];
|
|
5805
|
-
if (item
|
|
6028
|
+
if (item.value === value) {
|
|
5806
6029
|
return i;
|
|
5807
6030
|
}
|
|
5808
6031
|
}
|
|
@@ -5811,11 +6034,11 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5811
6034
|
} }, { key: "itemIndexByValueOrLabel", value:
|
|
5812
6035
|
|
|
5813
6036
|
function itemIndexByValueOrLabel(value, label) {
|
|
5814
|
-
var p = this._p
|
|
6037
|
+
var p = this._p;
|
|
5815
6038
|
|
|
5816
6039
|
for (var i = 0, count = p.items.length; i < count; i++) {
|
|
5817
6040
|
var item = p.items[i];
|
|
5818
|
-
if (item
|
|
6041
|
+
if (item.value === value || item.label === label) {
|
|
5819
6042
|
return i;
|
|
5820
6043
|
}
|
|
5821
6044
|
}
|
|
@@ -5824,7 +6047,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5824
6047
|
} }, { key: "items", value:
|
|
5825
6048
|
|
|
5826
6049
|
function items() {
|
|
5827
|
-
return this._p.items.
|
|
6050
|
+
return this._p.items.map(function (x) {return x[ItemSymbol$1];});
|
|
5828
6051
|
} }, { key: "itemsReference", value:
|
|
5829
6052
|
|
|
5830
6053
|
function itemsReference() {
|
|
@@ -5835,8 +6058,8 @@ var DropList = /*#__PURE__*/function () {
|
|
|
5835
6058
|
return this._p.items.length;
|
|
5836
6059
|
} }, { key: "itemAtIndex", value:
|
|
5837
6060
|
|
|
5838
|
-
function itemAtIndex(index) {
|
|
5839
|
-
return this._p.items[index];
|
|
6061
|
+
function itemAtIndex(index) {var _this$_p$items$index;
|
|
6062
|
+
return (_this$_p$items$index = this._p.items[index]) === null || _this$_p$items$index === void 0 ? void 0 : _this$_p$items$index[ItemSymbol$1];
|
|
5840
6063
|
}
|
|
5841
6064
|
|
|
5842
6065
|
/**
|
|
@@ -6116,13 +6339,13 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6116
6339
|
* @returns {DropList} self
|
|
6117
6340
|
*/ }, { key: "setCheckedValues", value:
|
|
6118
6341
|
function setCheckedValues(values) {
|
|
6119
|
-
var p = this._p
|
|
6342
|
+
var p = this._p;
|
|
6120
6343
|
|
|
6121
6344
|
var groupIndexes = [];
|
|
6122
6345
|
|
|
6123
6346
|
for (var i = 0, count = p.items.length; i < count; i++) {
|
|
6124
6347
|
var item = p.items[i];
|
|
6125
|
-
var checked = !item._nocheck && values.indexOf(item
|
|
6348
|
+
var checked = !item._nocheck && values.indexOf(item.value) !== -1;
|
|
6126
6349
|
|
|
6127
6350
|
if (item._group) {
|
|
6128
6351
|
groupIndexes.push(i);
|
|
@@ -6154,7 +6377,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6154
6377
|
* @returns {Array<*>} self
|
|
6155
6378
|
*/ }, { key: "getCheckedValues", value:
|
|
6156
6379
|
function getCheckedValues(excludeGroups) {
|
|
6157
|
-
var p = this._p
|
|
6380
|
+
var p = this._p;
|
|
6158
6381
|
|
|
6159
6382
|
excludeGroups = excludeGroups && p.groupCount > 0;
|
|
6160
6383
|
|
|
@@ -6164,7 +6387,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6164
6387
|
var item = p.items[i];
|
|
6165
6388
|
if (!item._checked) continue;
|
|
6166
6389
|
if (excludeGroups && item._group) continue;
|
|
6167
|
-
values.push(item
|
|
6390
|
+
values.push(item.value);
|
|
6168
6391
|
}
|
|
6169
6392
|
|
|
6170
6393
|
return values;
|
|
@@ -6187,7 +6410,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6187
6410
|
var item = p.items[i];
|
|
6188
6411
|
if (!item._checked) continue;
|
|
6189
6412
|
if (excludeGroups && item._group) continue;
|
|
6190
|
-
items.push(item);
|
|
6413
|
+
items.push(item[ItemSymbol$1]);
|
|
6191
6414
|
}
|
|
6192
6415
|
|
|
6193
6416
|
return items;
|
|
@@ -6366,7 +6589,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6366
6589
|
itemElement.classList.add("".concat(p.baseClassName, "__item_focus"));
|
|
6367
6590
|
p.focusItemEl = itemElement;
|
|
6368
6591
|
|
|
6369
|
-
this._trigger('itemfocus', { value: itemElement
|
|
6592
|
+
this._trigger('itemfocus', { value: itemElement.value, item: itemElement[ItemSymbol$1], event: null });
|
|
6370
6593
|
}
|
|
6371
6594
|
}
|
|
6372
6595
|
|
|
@@ -6523,15 +6746,15 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6523
6746
|
} }, { key: "_getItemIndex", value:
|
|
6524
6747
|
|
|
6525
6748
|
function _getItemIndex(item) {
|
|
6526
|
-
var p = this._p
|
|
6749
|
+
var p = this._p;
|
|
6527
6750
|
|
|
6528
6751
|
var itemIndex = -1;
|
|
6529
6752
|
|
|
6530
6753
|
if (item) {
|
|
6531
6754
|
itemIndex = p.items.indexOf(item);
|
|
6532
6755
|
if (itemIndex === -1) {
|
|
6533
|
-
var value = item && item
|
|
6534
|
-
var label = item && item
|
|
6756
|
+
var value = item && item.value !== undefined ? item.value : item;
|
|
6757
|
+
var label = item && item.label ? item.label : value;
|
|
6535
6758
|
itemIndex = this.itemIndexByValueOrLabel(value, label);
|
|
6536
6759
|
}
|
|
6537
6760
|
}
|
|
@@ -6767,7 +6990,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6767
6990
|
} }, { key: "_keydownFreeType", value:
|
|
6768
6991
|
|
|
6769
6992
|
function _keydownFreeType(evt) {
|
|
6770
|
-
var p = this._p
|
|
6993
|
+
var p = this._p;
|
|
6771
6994
|
|
|
6772
6995
|
// noinspection JSDeprecatedSymbols
|
|
6773
6996
|
var character = evt.key || String.fromCharCode(evt.keyCode);
|
|
@@ -6786,7 +7009,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6786
7009
|
// These are all the possible matches
|
|
6787
7010
|
for (var i = 0, count = p.items.length; i < count; i++) {
|
|
6788
7011
|
item = p.items[i];
|
|
6789
|
-
if (regex.test(item
|
|
7012
|
+
if (regex.test(item.label)) {
|
|
6790
7013
|
matchIndices.push(i);
|
|
6791
7014
|
}
|
|
6792
7015
|
}
|
|
@@ -6799,7 +7022,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6799
7022
|
|
|
6800
7023
|
for (var _i6 = 0, _count2 = p.items.length; _i6 < _count2; _i6++) {
|
|
6801
7024
|
item = p.items[_i6];
|
|
6802
|
-
if (regex.test(item
|
|
7025
|
+
if (regex.test(item.label)) {
|
|
6803
7026
|
matchIndices.push(_i6);
|
|
6804
7027
|
}
|
|
6805
7028
|
}
|
|
@@ -6842,7 +7065,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6842
7065
|
}
|
|
6843
7066
|
} }, { key: "_focus", value:
|
|
6844
7067
|
|
|
6845
|
-
function _focus(event, itemEl, itemIndex) {
|
|
7068
|
+
function _focus(event, itemEl, itemIndex) {var _item$ItemSymbol4;
|
|
6846
7069
|
var p = this._p;
|
|
6847
7070
|
|
|
6848
7071
|
if (!itemIndex && itemEl) {
|
|
@@ -6873,7 +7096,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
6873
7096
|
p.focusItemIndex = itemIndex;
|
|
6874
7097
|
|
|
6875
7098
|
var item = p.items[itemIndex];
|
|
6876
|
-
this._trigger('itemfocus', { value: item
|
|
7099
|
+
this._trigger('itemfocus', { value: item.value, item: (_item$ItemSymbol4 = item[ItemSymbol$1]) !== null && _item$ItemSymbol4 !== void 0 ? _item$ItemSymbol4 : item, event: event });
|
|
6877
7100
|
} }, { key: "_delayBlur", value:
|
|
6878
7101
|
|
|
6879
7102
|
function _delayBlur() {var _this10 = this;
|
|
@@ -7026,13 +7249,13 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7026
7249
|
} }, { key: "_updateGroupStateForItem", value:
|
|
7027
7250
|
|
|
7028
7251
|
function _updateGroupStateForItem(item) {
|
|
7029
|
-
var p = this._p
|
|
7252
|
+
var p = this._p;
|
|
7030
7253
|
|
|
7031
7254
|
if (p.multi && p.autoCheckGroupChildren) {
|
|
7032
7255
|
|
|
7033
7256
|
var items, groupIndex, itemIndex;
|
|
7034
7257
|
|
|
7035
|
-
if (item._group) {
|
|
7258
|
+
if (item._group) {var _item$ItemSymbol5;
|
|
7036
7259
|
// Now loop through children below the group
|
|
7037
7260
|
|
|
7038
7261
|
items = p.items;
|
|
@@ -7040,7 +7263,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7040
7263
|
|
|
7041
7264
|
var affectedItems = 0;
|
|
7042
7265
|
|
|
7043
|
-
for (var i = groupIndex + 1, len = items.length; i < len; i++) {
|
|
7266
|
+
for (var i = groupIndex + 1, len = items.length; i < len; i++) {var _next$ItemSymbol;
|
|
7044
7267
|
var next = items[i];
|
|
7045
7268
|
|
|
7046
7269
|
// Hit the next group, break out
|
|
@@ -7063,11 +7286,17 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7063
7286
|
}
|
|
7064
7287
|
|
|
7065
7288
|
// Fire event
|
|
7066
|
-
this._trigger('check', {
|
|
7289
|
+
this._trigger('check', {
|
|
7290
|
+
value: next.value,
|
|
7291
|
+
item: (_next$ItemSymbol = next[ItemSymbol$1]) !== null && _next$ItemSymbol !== void 0 ? _next$ItemSymbol : next,
|
|
7292
|
+
checked: next._checked,
|
|
7293
|
+
isGroup: next._group,
|
|
7294
|
+
isCheckingGroup: true });
|
|
7295
|
+
|
|
7067
7296
|
}
|
|
7068
7297
|
|
|
7069
7298
|
// Fire event
|
|
7070
|
-
this._trigger('groupcheck', { value: item
|
|
7299
|
+
this._trigger('groupcheck', { value: item.value, item: (_item$ItemSymbol5 = item[ItemSymbol$1]) !== null && _item$ItemSymbol5 !== void 0 ? _item$ItemSymbol5 : item, affectedItems: affectedItems });
|
|
7071
7300
|
} else if (p.groupCount > 0) {
|
|
7072
7301
|
items = p.items;
|
|
7073
7302
|
itemIndex = items.indexOf(item);
|
|
@@ -7127,9 +7356,15 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7127
7356
|
DomCompat.toggleClass(nextEl, "".concat(p.baseClassName, "__item_checked"), groupItem._checked);
|
|
7128
7357
|
}
|
|
7129
7358
|
|
|
7130
|
-
if (fireEvents) {
|
|
7359
|
+
if (fireEvents) {var _groupItem$ItemSymbol;
|
|
7131
7360
|
// Fire event
|
|
7132
|
-
this._trigger('check', {
|
|
7361
|
+
this._trigger('check', {
|
|
7362
|
+
value: groupItem.value,
|
|
7363
|
+
item: (_groupItem$ItemSymbol = groupItem[ItemSymbol$1]) !== null && _groupItem$ItemSymbol !== void 0 ? _groupItem$ItemSymbol : groupItem,
|
|
7364
|
+
checked: groupItem._checked,
|
|
7365
|
+
isGroup: groupItem._group,
|
|
7366
|
+
isCheckingGroup: false });
|
|
7367
|
+
|
|
7133
7368
|
}
|
|
7134
7369
|
}
|
|
7135
7370
|
}
|
|
@@ -7145,7 +7380,6 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7145
7380
|
var p = this._p;
|
|
7146
7381
|
|
|
7147
7382
|
if (p.lastMeasureItemCount !== p.items.length) {
|
|
7148
|
-
var labelProp = p.labelProp,valueProp = p.valueProp;
|
|
7149
7383
|
var longestLabel = p.lastMeasureLongestLabel || 1,
|
|
7150
7384
|
longestLabelText = p.lastMeasureLongestLabelText || '';
|
|
7151
7385
|
|
|
@@ -7154,9 +7388,9 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7154
7388
|
i++) {
|
|
7155
7389
|
|
|
7156
7390
|
var item = items[i];
|
|
7157
|
-
var text = item
|
|
7391
|
+
var text = item.label;
|
|
7158
7392
|
if (text == null)
|
|
7159
|
-
text = item
|
|
7393
|
+
text = item.value;
|
|
7160
7394
|
if (text == null)
|
|
7161
7395
|
text = '';
|
|
7162
7396
|
|
|
@@ -7205,7 +7439,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7205
7439
|
} }, { key: "_renderItemContent", value:
|
|
7206
7440
|
|
|
7207
7441
|
function _renderItemContent(item, itemEl) {
|
|
7208
|
-
var p = this._p
|
|
7442
|
+
var p = this._p;
|
|
7209
7443
|
|
|
7210
7444
|
// NOTE: a "measure" item will not have full data of original item.
|
|
7211
7445
|
// so for a custom renderer - we try to send original item, and fallback to our private list item.
|
|
@@ -7213,7 +7447,7 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7213
7447
|
if (!p.renderItem || p.renderItem(item[ItemSymbol$1] || item, itemEl) === false) {
|
|
7214
7448
|
itemEl.appendChild(Dom.createElement('span', {
|
|
7215
7449
|
class: "".concat(p.baseClassName, "__item_label"),
|
|
7216
|
-
textContent: item
|
|
7450
|
+
textContent: item.label }));
|
|
7217
7451
|
|
|
7218
7452
|
|
|
7219
7453
|
if (p.multi) {
|
|
@@ -7274,11 +7508,14 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7274
7508
|
} }]);return DropList;}();
|
|
7275
7509
|
|
|
7276
7510
|
'use strict';
|
|
7277
|
-
var toIndexedObject = toIndexedObject$a;
|
|
7511
|
+
var toIndexedObject$1 = toIndexedObject$a;
|
|
7278
7512
|
var addToUnscopables$1 = addToUnscopables$3;
|
|
7279
7513
|
var Iterators = iterators;
|
|
7280
7514
|
var InternalStateModule$1 = internalState;
|
|
7515
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
7281
7516
|
var defineIterator$1 = defineIterator$3;
|
|
7517
|
+
var IS_PURE = isPure;
|
|
7518
|
+
var DESCRIPTORS$2 = descriptors;
|
|
7282
7519
|
|
|
7283
7520
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
7284
7521
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
@@ -7297,7 +7534,7 @@ var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
|
7297
7534
|
var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
|
|
7298
7535
|
setInternalState$1(this, {
|
|
7299
7536
|
type: ARRAY_ITERATOR,
|
|
7300
|
-
target: toIndexedObject(iterated), // target
|
|
7537
|
+
target: toIndexedObject$1(iterated), // target
|
|
7301
7538
|
index: 0, // next index
|
|
7302
7539
|
kind: kind // kind
|
|
7303
7540
|
});
|
|
@@ -7320,18 +7557,51 @@ var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kin
|
|
|
7320
7557
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
7321
7558
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
7322
7559
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
7323
|
-
Iterators.Arguments = Iterators.Array;
|
|
7560
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
7324
7561
|
|
|
7325
7562
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
7326
7563
|
addToUnscopables$1('keys');
|
|
7327
7564
|
addToUnscopables$1('values');
|
|
7328
7565
|
addToUnscopables$1('entries');
|
|
7329
7566
|
|
|
7567
|
+
// V8 ~ Chrome 45- bug
|
|
7568
|
+
if (!IS_PURE && DESCRIPTORS$2 && values.name !== 'values') try {
|
|
7569
|
+
defineProperty$3(values, 'name', { value: 'values' });
|
|
7570
|
+
} catch (error) { /* empty */ }
|
|
7571
|
+
|
|
7330
7572
|
var es_set = {};
|
|
7331
7573
|
|
|
7332
7574
|
var internalMetadata$1 = {exports: {}};
|
|
7333
7575
|
|
|
7334
|
-
|
|
7576
|
+
// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
|
|
7577
|
+
var fails$6 = fails$u;
|
|
7578
|
+
|
|
7579
|
+
var arrayBufferNonExtensible = fails$6(function () {
|
|
7580
|
+
if (typeof ArrayBuffer == 'function') {
|
|
7581
|
+
var buffer = new ArrayBuffer(8);
|
|
7582
|
+
// eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
|
|
7583
|
+
if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });
|
|
7584
|
+
}
|
|
7585
|
+
});
|
|
7586
|
+
|
|
7587
|
+
var fails$5 = fails$u;
|
|
7588
|
+
var isObject$3 = isObject$e;
|
|
7589
|
+
var classof = classofRaw$1;
|
|
7590
|
+
var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
|
|
7591
|
+
|
|
7592
|
+
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
7593
|
+
var $isExtensible = Object.isExtensible;
|
|
7594
|
+
var FAILS_ON_PRIMITIVES = fails$5(function () { $isExtensible(1); });
|
|
7595
|
+
|
|
7596
|
+
// `Object.isExtensible` method
|
|
7597
|
+
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
7598
|
+
var objectIsExtensible = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
7599
|
+
if (!isObject$3(it)) return false;
|
|
7600
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;
|
|
7601
|
+
return $isExtensible ? $isExtensible(it) : true;
|
|
7602
|
+
} : $isExtensible;
|
|
7603
|
+
|
|
7604
|
+
var fails$4 = fails$u;
|
|
7335
7605
|
|
|
7336
7606
|
var freezing = !fails$4(function () {
|
|
7337
7607
|
// eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
|
|
@@ -7339,13 +7609,14 @@ var freezing = !fails$4(function () {
|
|
|
7339
7609
|
});
|
|
7340
7610
|
|
|
7341
7611
|
var $$7 = _export;
|
|
7342
|
-
var uncurryThis$
|
|
7612
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
7343
7613
|
var hiddenKeys = hiddenKeys$6;
|
|
7344
|
-
var isObject$
|
|
7614
|
+
var isObject$2 = isObject$e;
|
|
7345
7615
|
var hasOwn = hasOwnProperty_1;
|
|
7346
7616
|
var defineProperty$2 = objectDefineProperty.f;
|
|
7347
7617
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
7348
7618
|
var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
|
|
7619
|
+
var isExtensible = objectIsExtensible;
|
|
7349
7620
|
var uid = uid$4;
|
|
7350
7621
|
var FREEZING = freezing;
|
|
7351
7622
|
|
|
@@ -7353,11 +7624,6 @@ var REQUIRED = false;
|
|
|
7353
7624
|
var METADATA = uid('meta');
|
|
7354
7625
|
var id = 0;
|
|
7355
7626
|
|
|
7356
|
-
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
7357
|
-
var isExtensible = Object.isExtensible || function () {
|
|
7358
|
-
return true;
|
|
7359
|
-
};
|
|
7360
|
-
|
|
7361
7627
|
var setMetadata = function (it) {
|
|
7362
7628
|
defineProperty$2(it, METADATA, { value: {
|
|
7363
7629
|
objectID: 'O' + id++, // object ID
|
|
@@ -7367,7 +7633,7 @@ var setMetadata = function (it) {
|
|
|
7367
7633
|
|
|
7368
7634
|
var fastKey$1 = function (it, create) {
|
|
7369
7635
|
// return a primitive with prefix
|
|
7370
|
-
if (!isObject$
|
|
7636
|
+
if (!isObject$2(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
7371
7637
|
if (!hasOwn(it, METADATA)) {
|
|
7372
7638
|
// can't set metadata to uncaught frozen object
|
|
7373
7639
|
if (!isExtensible(it)) return 'F';
|
|
@@ -7401,7 +7667,7 @@ var enable = function () {
|
|
|
7401
7667
|
meta.enable = function () { /* empty */ };
|
|
7402
7668
|
REQUIRED = true;
|
|
7403
7669
|
var getOwnPropertyNames = getOwnPropertyNamesModule.f;
|
|
7404
|
-
var splice = uncurryThis$
|
|
7670
|
+
var splice = uncurryThis$3([].splice);
|
|
7405
7671
|
var test = {};
|
|
7406
7672
|
test[METADATA] = 1;
|
|
7407
7673
|
|
|
@@ -7434,19 +7700,19 @@ hiddenKeys[METADATA] = true;
|
|
|
7434
7700
|
|
|
7435
7701
|
var internalMetadata = internalMetadata$1.exports;
|
|
7436
7702
|
|
|
7437
|
-
var global$
|
|
7703
|
+
var global$5 = global$M;
|
|
7438
7704
|
var bind$1 = functionBindContext;
|
|
7439
7705
|
var call$1 = functionCall;
|
|
7440
7706
|
var anObject = anObject$e;
|
|
7441
7707
|
var tryToString = tryToString$3;
|
|
7442
7708
|
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
7443
|
-
var lengthOfArrayLike$
|
|
7709
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$a;
|
|
7444
7710
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
7445
7711
|
var getIterator = getIterator$2;
|
|
7446
7712
|
var getIteratorMethod = getIteratorMethod$3;
|
|
7447
7713
|
var iteratorClose = iteratorClose$2;
|
|
7448
7714
|
|
|
7449
|
-
var TypeError$2 = global$
|
|
7715
|
+
var TypeError$2 = global$5.TypeError;
|
|
7450
7716
|
|
|
7451
7717
|
var Result = function (stopped, result) {
|
|
7452
7718
|
this.stopped = stopped;
|
|
@@ -7482,7 +7748,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
7482
7748
|
if (!iterFn) throw TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
7483
7749
|
// optimisation for array iterators
|
|
7484
7750
|
if (isArrayIteratorMethod(iterFn)) {
|
|
7485
|
-
for (index = 0, length = lengthOfArrayLike$
|
|
7751
|
+
for (index = 0, length = lengthOfArrayLike$2(iterable); length > index; index++) {
|
|
7486
7752
|
result = callFn(iterable[index]);
|
|
7487
7753
|
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
7488
7754
|
} return new Result(false);
|
|
@@ -7501,10 +7767,10 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
7501
7767
|
} return new Result(false);
|
|
7502
7768
|
};
|
|
7503
7769
|
|
|
7504
|
-
var global$
|
|
7770
|
+
var global$4 = global$M;
|
|
7505
7771
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
7506
7772
|
|
|
7507
|
-
var TypeError$1 = global$
|
|
7773
|
+
var TypeError$1 = global$4.TypeError;
|
|
7508
7774
|
|
|
7509
7775
|
var anInstance$2 = function (it, Prototype) {
|
|
7510
7776
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
@@ -7513,16 +7779,16 @@ var anInstance$2 = function (it, Prototype) {
|
|
|
7513
7779
|
|
|
7514
7780
|
'use strict';
|
|
7515
7781
|
var $$6 = _export;
|
|
7516
|
-
var global$
|
|
7517
|
-
var uncurryThis$
|
|
7782
|
+
var global$3 = global$M;
|
|
7783
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
7518
7784
|
var isForced = isForced_1;
|
|
7519
7785
|
var redefine$1 = redefine$b.exports;
|
|
7520
7786
|
var InternalMetadataModule = internalMetadata$1.exports;
|
|
7521
7787
|
var iterate$1 = iterate$2;
|
|
7522
7788
|
var anInstance$1 = anInstance$2;
|
|
7523
7789
|
var isCallable = isCallable$l;
|
|
7524
|
-
var isObject = isObject$
|
|
7525
|
-
var fails$3 = fails$
|
|
7790
|
+
var isObject$1 = isObject$e;
|
|
7791
|
+
var fails$3 = fails$u;
|
|
7526
7792
|
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
|
|
7527
7793
|
var setToStringTag = setToStringTag$4;
|
|
7528
7794
|
var inheritIfRequired = inheritIfRequired$2;
|
|
@@ -7531,23 +7797,23 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
7531
7797
|
var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
|
|
7532
7798
|
var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
|
|
7533
7799
|
var ADDER = IS_MAP ? 'set' : 'add';
|
|
7534
|
-
var NativeConstructor = global$
|
|
7800
|
+
var NativeConstructor = global$3[CONSTRUCTOR_NAME];
|
|
7535
7801
|
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
|
|
7536
7802
|
var Constructor = NativeConstructor;
|
|
7537
7803
|
var exported = {};
|
|
7538
7804
|
|
|
7539
7805
|
var fixMethod = function (KEY) {
|
|
7540
|
-
var uncurriedNativeMethod = uncurryThis$
|
|
7806
|
+
var uncurriedNativeMethod = uncurryThis$2(NativePrototype[KEY]);
|
|
7541
7807
|
redefine$1(NativePrototype, KEY,
|
|
7542
7808
|
KEY == 'add' ? function add(value) {
|
|
7543
7809
|
uncurriedNativeMethod(this, value === 0 ? 0 : value);
|
|
7544
7810
|
return this;
|
|
7545
7811
|
} : KEY == 'delete' ? function (key) {
|
|
7546
|
-
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7812
|
+
return IS_WEAK && !isObject$1(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7547
7813
|
} : KEY == 'get' ? function get(key) {
|
|
7548
|
-
return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7814
|
+
return IS_WEAK && !isObject$1(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7549
7815
|
} : KEY == 'has' ? function has(key) {
|
|
7550
|
-
return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7816
|
+
return IS_WEAK && !isObject$1(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
7551
7817
|
} : function set(key, value) {
|
|
7552
7818
|
uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
|
|
7553
7819
|
return this;
|
|
@@ -7885,15 +8151,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
7885
8151
|
|
|
7886
8152
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
7887
8153
|
|
|
7888
|
-
var global$
|
|
8154
|
+
var global$2 = global$M;
|
|
7889
8155
|
var DOMIterables = domIterables;
|
|
7890
8156
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
7891
8157
|
var ArrayIteratorMethods = es_array_iterator;
|
|
7892
8158
|
var createNonEnumerableProperty = createNonEnumerableProperty$7;
|
|
7893
|
-
var wellKnownSymbol = wellKnownSymbol$n;
|
|
8159
|
+
var wellKnownSymbol$1 = wellKnownSymbol$n;
|
|
7894
8160
|
|
|
7895
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
7896
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
8161
|
+
var ITERATOR = wellKnownSymbol$1('iterator');
|
|
8162
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
7897
8163
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
7898
8164
|
|
|
7899
8165
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -7919,29 +8185,82 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
7919
8185
|
};
|
|
7920
8186
|
|
|
7921
8187
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
7922
|
-
handlePrototype(global$
|
|
8188
|
+
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
7923
8189
|
}
|
|
7924
8190
|
|
|
7925
8191
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
7926
8192
|
|
|
8193
|
+
var es_array_slice = {};
|
|
8194
|
+
|
|
8195
|
+
'use strict';
|
|
8196
|
+
var $$5 = _export;
|
|
8197
|
+
var global$1 = global$M;
|
|
8198
|
+
var isArray = isArray$4;
|
|
8199
|
+
var isConstructor = isConstructor$3;
|
|
8200
|
+
var isObject = isObject$e;
|
|
8201
|
+
var toAbsoluteIndex = toAbsoluteIndex$4;
|
|
8202
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$a;
|
|
8203
|
+
var toIndexedObject = toIndexedObject$a;
|
|
8204
|
+
var createProperty = createProperty$5;
|
|
8205
|
+
var wellKnownSymbol = wellKnownSymbol$n;
|
|
8206
|
+
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;
|
|
8207
|
+
var un$Slice = arraySlice$2;
|
|
8208
|
+
|
|
8209
|
+
var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice');
|
|
8210
|
+
|
|
8211
|
+
var SPECIES = wellKnownSymbol('species');
|
|
8212
|
+
var Array$1 = global$1.Array;
|
|
8213
|
+
var max = Math.max;
|
|
8214
|
+
|
|
8215
|
+
// `Array.prototype.slice` method
|
|
8216
|
+
// https://tc39.es/ecma262/#sec-array.prototype.slice
|
|
8217
|
+
// fallback for not array-like ES3 strings and DOM objects
|
|
8218
|
+
$$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
8219
|
+
slice: function slice(start, end) {
|
|
8220
|
+
var O = toIndexedObject(this);
|
|
8221
|
+
var length = lengthOfArrayLike$1(O);
|
|
8222
|
+
var k = toAbsoluteIndex(start, length);
|
|
8223
|
+
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
8224
|
+
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
|
|
8225
|
+
var Constructor, result, n;
|
|
8226
|
+
if (isArray(O)) {
|
|
8227
|
+
Constructor = O.constructor;
|
|
8228
|
+
// cross-realm fallback
|
|
8229
|
+
if (isConstructor(Constructor) && (Constructor === Array$1 || isArray(Constructor.prototype))) {
|
|
8230
|
+
Constructor = undefined;
|
|
8231
|
+
} else if (isObject(Constructor)) {
|
|
8232
|
+
Constructor = Constructor[SPECIES];
|
|
8233
|
+
if (Constructor === null) Constructor = undefined;
|
|
8234
|
+
}
|
|
8235
|
+
if (Constructor === Array$1 || Constructor === undefined) {
|
|
8236
|
+
return un$Slice(O, k, fin);
|
|
8237
|
+
}
|
|
8238
|
+
}
|
|
8239
|
+
result = new (Constructor === undefined ? Array$1 : Constructor)(max(fin - k, 0));
|
|
8240
|
+
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
|
|
8241
|
+
result.length = n;
|
|
8242
|
+
return result;
|
|
8243
|
+
}
|
|
8244
|
+
});
|
|
8245
|
+
|
|
7927
8246
|
var es_object_assign = {};
|
|
7928
8247
|
|
|
7929
8248
|
'use strict';
|
|
7930
8249
|
var DESCRIPTORS = descriptors;
|
|
7931
|
-
var uncurryThis$
|
|
8250
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
7932
8251
|
var call = functionCall;
|
|
7933
|
-
var fails$2 = fails$
|
|
8252
|
+
var fails$2 = fails$u;
|
|
7934
8253
|
var objectKeys = objectKeys$4;
|
|
7935
8254
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
7936
8255
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
7937
|
-
var toObject$1 = toObject$
|
|
8256
|
+
var toObject$1 = toObject$b;
|
|
7938
8257
|
var IndexedObject = indexedObject;
|
|
7939
8258
|
|
|
7940
8259
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
7941
8260
|
var $assign = Object.assign;
|
|
7942
8261
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
7943
8262
|
var defineProperty = Object.defineProperty;
|
|
7944
|
-
var concat = uncurryThis$
|
|
8263
|
+
var concat = uncurryThis$1([].concat);
|
|
7945
8264
|
|
|
7946
8265
|
// `Object.assign` method
|
|
7947
8266
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -7984,57 +8303,21 @@ var objectAssign = !$assign || fails$2(function () {
|
|
|
7984
8303
|
} return T;
|
|
7985
8304
|
} : $assign;
|
|
7986
8305
|
|
|
7987
|
-
var $$
|
|
8306
|
+
var $$4 = _export;
|
|
7988
8307
|
var assign = objectAssign;
|
|
7989
8308
|
|
|
7990
8309
|
// `Object.assign` method
|
|
7991
8310
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
7992
8311
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
7993
|
-
$$
|
|
8312
|
+
$$4({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
7994
8313
|
assign: assign
|
|
7995
8314
|
});
|
|
7996
8315
|
|
|
7997
8316
|
var es_string_trim = {};
|
|
7998
8317
|
|
|
7999
|
-
// a string of all valid unicode whitespaces
|
|
8000
|
-
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
8001
|
-
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
8002
|
-
|
|
8003
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
8004
|
-
var requireObjectCoercible = requireObjectCoercible$7;
|
|
8005
|
-
var toString$1 = toString$b;
|
|
8006
|
-
var whitespaces$1 = whitespaces$2;
|
|
8007
|
-
|
|
8008
|
-
var replace = uncurryThis$1(''.replace);
|
|
8009
|
-
var whitespace = '[' + whitespaces$1 + ']';
|
|
8010
|
-
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
8011
|
-
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
8012
|
-
|
|
8013
|
-
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
8014
|
-
var createMethod = function (TYPE) {
|
|
8015
|
-
return function ($this) {
|
|
8016
|
-
var string = toString$1(requireObjectCoercible($this));
|
|
8017
|
-
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
8018
|
-
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
8019
|
-
return string;
|
|
8020
|
-
};
|
|
8021
|
-
};
|
|
8022
|
-
|
|
8023
|
-
var stringTrim = {
|
|
8024
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
8025
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
8026
|
-
start: createMethod(1),
|
|
8027
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
8028
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
8029
|
-
end: createMethod(2),
|
|
8030
|
-
// `String.prototype.trim` method
|
|
8031
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
8032
|
-
trim: createMethod(3)
|
|
8033
|
-
};
|
|
8034
|
-
|
|
8035
8318
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
8036
|
-
var fails$1 = fails$
|
|
8037
|
-
var whitespaces = whitespaces$
|
|
8319
|
+
var fails$1 = fails$u;
|
|
8320
|
+
var whitespaces = whitespaces$3;
|
|
8038
8321
|
|
|
8039
8322
|
var non = '\u200B\u0085\u180E';
|
|
8040
8323
|
|
|
@@ -8049,13 +8332,13 @@ var stringTrimForced = function (METHOD_NAME) {
|
|
|
8049
8332
|
};
|
|
8050
8333
|
|
|
8051
8334
|
'use strict';
|
|
8052
|
-
var $$
|
|
8335
|
+
var $$3 = _export;
|
|
8053
8336
|
var $trim = stringTrim.trim;
|
|
8054
8337
|
var forcedStringTrimMethod = stringTrimForced;
|
|
8055
8338
|
|
|
8056
8339
|
// `String.prototype.trim` method
|
|
8057
8340
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
8058
|
-
$$
|
|
8341
|
+
$$3({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
8059
8342
|
trim: function trim() {
|
|
8060
8343
|
return $trim(this);
|
|
8061
8344
|
}
|
|
@@ -8064,39 +8347,21 @@ $$4({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
|
8064
8347
|
var es_array_filter = {};
|
|
8065
8348
|
|
|
8066
8349
|
'use strict';
|
|
8067
|
-
var $$
|
|
8350
|
+
var $$2 = _export;
|
|
8068
8351
|
var $filter = arrayIteration.filter;
|
|
8069
|
-
var arrayMethodHasSpeciesSupport
|
|
8352
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
|
|
8070
8353
|
|
|
8071
|
-
var HAS_SPECIES_SUPPORT
|
|
8354
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
8072
8355
|
|
|
8073
8356
|
// `Array.prototype.filter` method
|
|
8074
8357
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
8075
8358
|
// with adding support of @@species
|
|
8076
|
-
$$
|
|
8359
|
+
$$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
8077
8360
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
8078
8361
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
8079
8362
|
}
|
|
8080
8363
|
});
|
|
8081
8364
|
|
|
8082
|
-
var es_array_map = {};
|
|
8083
|
-
|
|
8084
|
-
'use strict';
|
|
8085
|
-
var $$2 = _export;
|
|
8086
|
-
var $map = arrayIteration.map;
|
|
8087
|
-
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;
|
|
8088
|
-
|
|
8089
|
-
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
|
8090
|
-
|
|
8091
|
-
// `Array.prototype.map` method
|
|
8092
|
-
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
8093
|
-
// with adding support of @@species
|
|
8094
|
-
$$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
8095
|
-
map: function map(callbackfn /* , thisArg */) {
|
|
8096
|
-
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
8097
|
-
}
|
|
8098
|
-
});
|
|
8099
|
-
|
|
8100
8365
|
var es_array_findIndex = {};
|
|
8101
8366
|
|
|
8102
8367
|
'use strict';
|
|
@@ -8123,7 +8388,7 @@ addToUnscopables(FIND_INDEX);
|
|
|
8123
8388
|
|
|
8124
8389
|
var es_array_sort = {};
|
|
8125
8390
|
|
|
8126
|
-
var arraySlice =
|
|
8391
|
+
var arraySlice = arraySliceSimple;
|
|
8127
8392
|
|
|
8128
8393
|
var floor = Math.floor;
|
|
8129
8394
|
|
|
@@ -8187,13 +8452,13 @@ var engineWebkitVersion = !!webkit && +webkit[1];
|
|
|
8187
8452
|
'use strict';
|
|
8188
8453
|
var $ = _export;
|
|
8189
8454
|
var uncurryThis = functionUncurryThis;
|
|
8190
|
-
var aCallable = aCallable$
|
|
8191
|
-
var toObject = toObject$
|
|
8192
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
8193
|
-
var toString = toString$
|
|
8194
|
-
var fails = fails$
|
|
8455
|
+
var aCallable = aCallable$5;
|
|
8456
|
+
var toObject = toObject$b;
|
|
8457
|
+
var lengthOfArrayLike = lengthOfArrayLike$a;
|
|
8458
|
+
var toString = toString$c;
|
|
8459
|
+
var fails = fails$u;
|
|
8195
8460
|
var internalSort = arraySort;
|
|
8196
|
-
var arrayMethodIsStrict = arrayMethodIsStrict$
|
|
8461
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$4;
|
|
8197
8462
|
var FF = engineFfVersion;
|
|
8198
8463
|
var IE_OR_EDGE = engineIsIeOrEdge;
|
|
8199
8464
|
var V8 = engineV8Version;
|
|
@@ -8384,7 +8649,7 @@ var inputBackbufferCssProps = [
|
|
|
8384
8649
|
* @property {boolean} [hasOpenIndicator=true] has open/close indicator?
|
|
8385
8650
|
* @property {string} [placeholder=''] Placeholder text
|
|
8386
8651
|
* @property {boolean} [sortSelectedItems=true] Should the selected items be sorted?
|
|
8387
|
-
* @property {boolean} [sortListItems=
|
|
8652
|
+
* @property {boolean} [sortListItems=false] Sort list items
|
|
8388
8653
|
* @property {boolean} [sortListCheckedFirst=true] When sorting - put checked items first (applicable to `multi` mode only)
|
|
8389
8654
|
* @property {*[]} [stickyValues]
|
|
8390
8655
|
* @property {function(a: DropList.ItemBase, b: DropList.ItemBase):number} [sortItemComparator]
|
|
@@ -8426,7 +8691,7 @@ var defaultOptions = {
|
|
|
8426
8691
|
hasOpenIndicator: true,
|
|
8427
8692
|
placeholder: '',
|
|
8428
8693
|
sortSelectedItems: true,
|
|
8429
|
-
sortListItems:
|
|
8694
|
+
sortListItems: false,
|
|
8430
8695
|
sortListCheckedFirst: true,
|
|
8431
8696
|
stickyValues: null,
|
|
8432
8697
|
sortItemComparator: null,
|
|
@@ -8554,6 +8819,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
8554
8819
|
|
|
8555
8820
|
items: [],
|
|
8556
8821
|
filteredItems: null,
|
|
8822
|
+
currentItemsView: [], // contains the final version of items sent to DropList
|
|
8557
8823
|
itemsChanged: true,
|
|
8558
8824
|
|
|
8559
8825
|
sink: new DomEventsSink__default["default"](),
|
|
@@ -10030,8 +10296,8 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10030
10296
|
var item = /**@type DropList.Item*/event.item;
|
|
10031
10297
|
var value = event.value;
|
|
10032
10298
|
|
|
10033
|
-
var checked =
|
|
10034
|
-
if (
|
|
10299
|
+
var checked = event.checked;
|
|
10300
|
+
if (event.isGroup) return; // Ignore groups
|
|
10035
10301
|
|
|
10036
10302
|
var selEvt = { value: value, item: item, cancel: false };
|
|
10037
10303
|
_this5._trigger((checked ? 'addsel' : 'removesel') + ':before', selEvt);
|
|
@@ -10392,9 +10658,11 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10392
10658
|
if (this.isMultiEnabled()) return;
|
|
10393
10659
|
|
|
10394
10660
|
var selectedItems = this.getSelectedItems();
|
|
10395
|
-
var items = (_p$filteredItems = p.filteredItems) !== null && _p$filteredItems !== void 0 ? _p$filteredItems : p.items
|
|
10661
|
+
var items = (_p$filteredItems = p.filteredItems) !== null && _p$filteredItems !== void 0 ? _p$filteredItems : p.items;
|
|
10662
|
+
if (p.currentItemsView && p.currentItemsView.length === items.length)
|
|
10663
|
+
items = p.currentItemsView;
|
|
10396
10664
|
if (items.length + (p.clearable ? 1 : 0) > 1) {
|
|
10397
|
-
var nextIndex = selectedItems.length > 0 ? items.indexOf(selectedItems[0]) - 1 :
|
|
10665
|
+
var nextIndex = selectedItems.length > 0 ? items.indexOf(selectedItems[0]) - 1 : items.length - 1;
|
|
10398
10666
|
if (nextIndex === -1 && !p.clearable)
|
|
10399
10667
|
nextIndex = items.length - 1;
|
|
10400
10668
|
this.setSelectedItems(nextIndex === -1 ? [] : [items[nextIndex]]);
|
|
@@ -10407,10 +10675,12 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10407
10675
|
if (this.isMultiEnabled()) return;
|
|
10408
10676
|
|
|
10409
10677
|
var selectedItems = this.getSelectedItems();
|
|
10410
|
-
var items = (_p$filteredItems2 = p.filteredItems) !== null && _p$filteredItems2 !== void 0 ? _p$filteredItems2 : p.items
|
|
10678
|
+
var items = (_p$filteredItems2 = p.filteredItems) !== null && _p$filteredItems2 !== void 0 ? _p$filteredItems2 : p.items;
|
|
10679
|
+
if (p.currentItemsView && p.currentItemsView.length === items.length)
|
|
10680
|
+
items = p.currentItemsView;
|
|
10411
10681
|
if (items.length + (p.clearable ? 1 : 0) > 1) {
|
|
10412
10682
|
var nextIndex = selectedItems.length > 0 ? items.indexOf(selectedItems[0]) + 1 : 0;
|
|
10413
|
-
if (nextIndex ===
|
|
10683
|
+
if (nextIndex === items.length)
|
|
10414
10684
|
nextIndex = p.clearable ? -1 : 0;
|
|
10415
10685
|
this.setSelectedItems(nextIndex === -1 ? [] : [items[nextIndex]]);
|
|
10416
10686
|
}
|
|
@@ -10454,6 +10724,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10454
10724
|
}
|
|
10455
10725
|
|
|
10456
10726
|
dropList.addItems(items);
|
|
10727
|
+
p.currentItemsView = items;
|
|
10457
10728
|
p.itemsChanged = false;
|
|
10458
10729
|
p.selectionChanged = true;
|
|
10459
10730
|
p.resortBySelectionNeeded = false;
|