bootstrap-table-rails 1.20.1 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/bootstrap-table-rails/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +1117 -898
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +31 -1773
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +31 -1773
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +1 -1
- data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +1337 -773
- data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +795 -462
- data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +570 -304
- data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +861 -479
- data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +584 -310
- data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +599 -318
- data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +720 -403
- data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +1107 -736
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +1322 -754
- data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +918 -515
- data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +592 -318
- data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +700 -373
- data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +642 -356
- data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +600 -320
- data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +739 -395
- data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +543 -290
- data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +548 -291
- data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +719 -385
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +592 -318
- data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +492 -261
- data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +543 -290
- data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +754 -418
- data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +551 -290
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +464 -245
- data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +543 -291
- data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +543 -291
- metadata +1 -1
data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js
CHANGED
|
@@ -2,24 +2,20 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
|
|
5
|
-
})(this, (function (
|
|
5
|
+
})(this, (function ($$4) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
9
|
-
var $__default = /*#__PURE__*/_interopDefaultLegacy(
|
|
9
|
+
var $__default = /*#__PURE__*/_interopDefaultLegacy($$4);
|
|
10
10
|
|
|
11
11
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
12
12
|
|
|
13
|
-
function createCommonjsModule(fn, module) {
|
|
14
|
-
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
13
|
var check = function (it) {
|
|
18
14
|
return it && it.Math == Math && it;
|
|
19
15
|
};
|
|
20
16
|
|
|
21
17
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22
|
-
var
|
|
18
|
+
var global$q =
|
|
23
19
|
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
24
20
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
25
21
|
check(typeof window == 'object' && window) ||
|
|
@@ -29,7 +25,9 @@
|
|
|
29
25
|
// eslint-disable-next-line no-new-func -- fallback
|
|
30
26
|
(function () { return this; })() || Function('return this')();
|
|
31
27
|
|
|
32
|
-
var
|
|
28
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
29
|
+
|
|
30
|
+
var fails$c = function (exec) {
|
|
33
31
|
try {
|
|
34
32
|
return !!exec();
|
|
35
33
|
} catch (error) {
|
|
@@ -37,25 +35,33 @@
|
|
|
37
35
|
}
|
|
38
36
|
};
|
|
39
37
|
|
|
38
|
+
var fails$b = fails$c;
|
|
39
|
+
|
|
40
40
|
// Detect IE8's incomplete defineProperty implementation
|
|
41
|
-
var descriptors = !fails(function () {
|
|
41
|
+
var descriptors = !fails$b(function () {
|
|
42
42
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
43
43
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var fails$a = fails$c;
|
|
47
|
+
|
|
48
|
+
var functionBindNative = !fails$a(function () {
|
|
47
49
|
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
48
50
|
var test = (function () { /* empty */ }).bind();
|
|
49
51
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
50
52
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
51
53
|
});
|
|
52
54
|
|
|
53
|
-
var
|
|
55
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
56
|
+
|
|
57
|
+
var call$4 = Function.prototype.call;
|
|
54
58
|
|
|
55
|
-
var functionCall =
|
|
56
|
-
return call$
|
|
59
|
+
var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
|
|
60
|
+
return call$4.apply(call$4, arguments);
|
|
57
61
|
};
|
|
58
62
|
|
|
63
|
+
var objectPropertyIsEnumerable = {};
|
|
64
|
+
|
|
59
65
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
60
66
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
61
67
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
@@ -65,16 +71,12 @@
|
|
|
65
71
|
|
|
66
72
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
67
73
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
68
|
-
|
|
74
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
69
75
|
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
70
76
|
return !!descriptor && descriptor.enumerable;
|
|
71
77
|
} : $propertyIsEnumerable;
|
|
72
78
|
|
|
73
|
-
var
|
|
74
|
-
f: f$4
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
var createPropertyDescriptor = function (bitmap, value) {
|
|
79
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
78
80
|
return {
|
|
79
81
|
enumerable: !(bitmap & 1),
|
|
80
82
|
configurable: !(bitmap & 2),
|
|
@@ -83,79 +85,102 @@
|
|
|
83
85
|
};
|
|
84
86
|
};
|
|
85
87
|
|
|
88
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
89
|
+
|
|
86
90
|
var FunctionPrototype$1 = Function.prototype;
|
|
87
|
-
var bind$
|
|
88
|
-
var call = FunctionPrototype$1.call;
|
|
89
|
-
var uncurryThis =
|
|
91
|
+
var bind$2 = FunctionPrototype$1.bind;
|
|
92
|
+
var call$3 = FunctionPrototype$1.call;
|
|
93
|
+
var uncurryThis$g = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
|
|
90
94
|
|
|
91
|
-
var functionUncurryThis =
|
|
92
|
-
return fn && uncurryThis(fn);
|
|
95
|
+
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
96
|
+
return fn && uncurryThis$g(fn);
|
|
93
97
|
} : function (fn) {
|
|
94
98
|
return fn && function () {
|
|
95
|
-
return call.apply(fn, arguments);
|
|
99
|
+
return call$3.apply(fn, arguments);
|
|
96
100
|
};
|
|
97
101
|
};
|
|
98
102
|
|
|
99
|
-
var
|
|
100
|
-
var stringSlice = functionUncurryThis(''.slice);
|
|
103
|
+
var uncurryThis$f = functionUncurryThis;
|
|
101
104
|
|
|
102
|
-
var
|
|
103
|
-
|
|
105
|
+
var toString$5 = uncurryThis$f({}.toString);
|
|
106
|
+
var stringSlice = uncurryThis$f(''.slice);
|
|
107
|
+
|
|
108
|
+
var classofRaw$1 = function (it) {
|
|
109
|
+
return stringSlice(toString$5(it), 8, -1);
|
|
104
110
|
};
|
|
105
111
|
|
|
106
|
-
var
|
|
107
|
-
var
|
|
112
|
+
var global$p = global$q;
|
|
113
|
+
var uncurryThis$e = functionUncurryThis;
|
|
114
|
+
var fails$9 = fails$c;
|
|
115
|
+
var classof$5 = classofRaw$1;
|
|
116
|
+
|
|
117
|
+
var Object$4 = global$p.Object;
|
|
118
|
+
var split = uncurryThis$e(''.split);
|
|
108
119
|
|
|
109
120
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
110
|
-
var indexedObject = fails(function () {
|
|
121
|
+
var indexedObject = fails$9(function () {
|
|
111
122
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
112
123
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
113
124
|
return !Object$4('z').propertyIsEnumerable(0);
|
|
114
125
|
}) ? function (it) {
|
|
115
|
-
return
|
|
126
|
+
return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
|
|
116
127
|
} : Object$4;
|
|
117
128
|
|
|
118
|
-
var
|
|
129
|
+
var global$o = global$q;
|
|
130
|
+
|
|
131
|
+
var TypeError$7 = global$o.TypeError;
|
|
119
132
|
|
|
120
133
|
// `RequireObjectCoercible` abstract operation
|
|
121
134
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
122
|
-
var requireObjectCoercible = function (it) {
|
|
135
|
+
var requireObjectCoercible$3 = function (it) {
|
|
123
136
|
if (it == undefined) throw TypeError$7("Can't call method on " + it);
|
|
124
137
|
return it;
|
|
125
138
|
};
|
|
126
139
|
|
|
127
140
|
// toObject with fallback for non-array-like ES3 strings
|
|
141
|
+
var IndexedObject$1 = indexedObject;
|
|
142
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
128
143
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
var toIndexedObject = function (it) {
|
|
132
|
-
return indexedObject(requireObjectCoercible(it));
|
|
144
|
+
var toIndexedObject$4 = function (it) {
|
|
145
|
+
return IndexedObject$1(requireObjectCoercible$2(it));
|
|
133
146
|
};
|
|
134
147
|
|
|
135
148
|
// `IsCallable` abstract operation
|
|
136
149
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
137
|
-
var isCallable = function (argument) {
|
|
150
|
+
var isCallable$c = function (argument) {
|
|
138
151
|
return typeof argument == 'function';
|
|
139
152
|
};
|
|
140
153
|
|
|
141
|
-
var
|
|
142
|
-
|
|
154
|
+
var isCallable$b = isCallable$c;
|
|
155
|
+
|
|
156
|
+
var isObject$7 = function (it) {
|
|
157
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
143
158
|
};
|
|
144
159
|
|
|
160
|
+
var global$n = global$q;
|
|
161
|
+
var isCallable$a = isCallable$c;
|
|
162
|
+
|
|
145
163
|
var aFunction = function (argument) {
|
|
146
|
-
return isCallable(argument) ? argument : undefined;
|
|
164
|
+
return isCallable$a(argument) ? argument : undefined;
|
|
147
165
|
};
|
|
148
166
|
|
|
149
|
-
var getBuiltIn = function (namespace, method) {
|
|
150
|
-
return arguments.length < 2 ? aFunction(
|
|
167
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
168
|
+
return arguments.length < 2 ? aFunction(global$n[namespace]) : global$n[namespace] && global$n[namespace][method];
|
|
151
169
|
};
|
|
152
170
|
|
|
153
|
-
var
|
|
171
|
+
var uncurryThis$d = functionUncurryThis;
|
|
172
|
+
|
|
173
|
+
var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
|
|
174
|
+
|
|
175
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
154
176
|
|
|
155
|
-
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
|
177
|
+
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
156
178
|
|
|
157
|
-
var
|
|
158
|
-
var
|
|
179
|
+
var global$m = global$q;
|
|
180
|
+
var userAgent = engineUserAgent;
|
|
181
|
+
|
|
182
|
+
var process = global$m.process;
|
|
183
|
+
var Deno = global$m.Deno;
|
|
159
184
|
var versions = process && process.versions || Deno && Deno.version;
|
|
160
185
|
var v8 = versions && versions.v8;
|
|
161
186
|
var match, version;
|
|
@@ -169,10 +194,10 @@
|
|
|
169
194
|
|
|
170
195
|
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
171
196
|
// so check `userAgent` even if `.v8` exists, but 0
|
|
172
|
-
if (!version &&
|
|
173
|
-
match =
|
|
197
|
+
if (!version && userAgent) {
|
|
198
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
174
199
|
if (!match || match[1] >= 74) {
|
|
175
|
-
match =
|
|
200
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
176
201
|
if (match) version = +match[1];
|
|
177
202
|
}
|
|
178
203
|
}
|
|
@@ -181,37 +206,47 @@
|
|
|
181
206
|
|
|
182
207
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
183
208
|
|
|
184
|
-
|
|
209
|
+
var V8_VERSION$1 = engineV8Version;
|
|
210
|
+
var fails$8 = fails$c;
|
|
185
211
|
|
|
186
212
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
187
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
213
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
|
|
188
214
|
var symbol = Symbol();
|
|
189
215
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
190
216
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
191
217
|
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
192
218
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
193
|
-
!Symbol.sham &&
|
|
219
|
+
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
|
|
194
220
|
});
|
|
195
221
|
|
|
196
222
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
197
223
|
|
|
224
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
198
225
|
|
|
199
|
-
var useSymbolAsUid =
|
|
226
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
200
227
|
&& !Symbol.sham
|
|
201
228
|
&& typeof Symbol.iterator == 'symbol';
|
|
202
229
|
|
|
203
|
-
var
|
|
230
|
+
var global$l = global$q;
|
|
231
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
232
|
+
var isCallable$9 = isCallable$c;
|
|
233
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
234
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
235
|
+
|
|
236
|
+
var Object$3 = global$l.Object;
|
|
204
237
|
|
|
205
|
-
var isSymbol =
|
|
238
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
206
239
|
return typeof it == 'symbol';
|
|
207
240
|
} : function (it) {
|
|
208
|
-
var $Symbol = getBuiltIn('Symbol');
|
|
209
|
-
return isCallable($Symbol) &&
|
|
241
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
|
242
|
+
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
210
243
|
};
|
|
211
244
|
|
|
212
|
-
var
|
|
245
|
+
var global$k = global$q;
|
|
213
246
|
|
|
214
|
-
var
|
|
247
|
+
var String$3 = global$k.String;
|
|
248
|
+
|
|
249
|
+
var tryToString$1 = function (argument) {
|
|
215
250
|
try {
|
|
216
251
|
return String$3(argument);
|
|
217
252
|
} catch (error) {
|
|
@@ -219,97 +254,130 @@
|
|
|
219
254
|
}
|
|
220
255
|
};
|
|
221
256
|
|
|
222
|
-
var
|
|
257
|
+
var global$j = global$q;
|
|
258
|
+
var isCallable$8 = isCallable$c;
|
|
259
|
+
var tryToString = tryToString$1;
|
|
260
|
+
|
|
261
|
+
var TypeError$6 = global$j.TypeError;
|
|
223
262
|
|
|
224
263
|
// `Assert: IsCallable(argument) is true`
|
|
225
|
-
var aCallable = function (argument) {
|
|
226
|
-
if (isCallable(argument)) return argument;
|
|
264
|
+
var aCallable$2 = function (argument) {
|
|
265
|
+
if (isCallable$8(argument)) return argument;
|
|
227
266
|
throw TypeError$6(tryToString(argument) + ' is not a function');
|
|
228
267
|
};
|
|
229
268
|
|
|
269
|
+
var aCallable$1 = aCallable$2;
|
|
270
|
+
|
|
230
271
|
// `GetMethod` abstract operation
|
|
231
272
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
232
|
-
var getMethod = function (V, P) {
|
|
273
|
+
var getMethod$1 = function (V, P) {
|
|
233
274
|
var func = V[P];
|
|
234
|
-
return func == null ? undefined : aCallable(func);
|
|
275
|
+
return func == null ? undefined : aCallable$1(func);
|
|
235
276
|
};
|
|
236
277
|
|
|
237
|
-
var
|
|
278
|
+
var global$i = global$q;
|
|
279
|
+
var call$2 = functionCall;
|
|
280
|
+
var isCallable$7 = isCallable$c;
|
|
281
|
+
var isObject$6 = isObject$7;
|
|
282
|
+
|
|
283
|
+
var TypeError$5 = global$i.TypeError;
|
|
238
284
|
|
|
239
285
|
// `OrdinaryToPrimitive` abstract operation
|
|
240
286
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
241
|
-
var ordinaryToPrimitive = function (input, pref) {
|
|
287
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
242
288
|
var fn, val;
|
|
243
|
-
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
244
|
-
if (isCallable(fn = input.valueOf) && !isObject(val =
|
|
245
|
-
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
289
|
+
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
|
290
|
+
if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val;
|
|
291
|
+
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
|
246
292
|
throw TypeError$5("Can't convert object to primitive value");
|
|
247
293
|
};
|
|
248
294
|
|
|
295
|
+
var shared$3 = {exports: {}};
|
|
296
|
+
|
|
297
|
+
var global$h = global$q;
|
|
298
|
+
|
|
249
299
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
250
|
-
var defineProperty = Object.defineProperty;
|
|
300
|
+
var defineProperty$1 = Object.defineProperty;
|
|
251
301
|
|
|
252
|
-
var setGlobal = function (key, value) {
|
|
302
|
+
var setGlobal$3 = function (key, value) {
|
|
253
303
|
try {
|
|
254
|
-
defineProperty(
|
|
304
|
+
defineProperty$1(global$h, key, { value: value, configurable: true, writable: true });
|
|
255
305
|
} catch (error) {
|
|
256
|
-
|
|
306
|
+
global$h[key] = value;
|
|
257
307
|
} return value;
|
|
258
308
|
};
|
|
259
309
|
|
|
310
|
+
var global$g = global$q;
|
|
311
|
+
var setGlobal$2 = setGlobal$3;
|
|
312
|
+
|
|
260
313
|
var SHARED = '__core-js_shared__';
|
|
261
|
-
var store$
|
|
314
|
+
var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
|
|
315
|
+
|
|
316
|
+
var sharedStore = store$3;
|
|
262
317
|
|
|
263
|
-
var
|
|
318
|
+
var store$2 = sharedStore;
|
|
264
319
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
320
|
+
(shared$3.exports = function (key, value) {
|
|
321
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
268
322
|
})('versions', []).push({
|
|
269
|
-
version: '3.22.
|
|
323
|
+
version: '3.22.5',
|
|
270
324
|
mode: 'global',
|
|
271
325
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
272
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
326
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
273
327
|
source: 'https://github.com/zloirock/core-js'
|
|
274
328
|
});
|
|
275
|
-
});
|
|
276
329
|
|
|
277
|
-
var
|
|
330
|
+
var global$f = global$q;
|
|
331
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
332
|
+
|
|
333
|
+
var Object$2 = global$f.Object;
|
|
278
334
|
|
|
279
335
|
// `ToObject` abstract operation
|
|
280
336
|
// https://tc39.es/ecma262/#sec-toobject
|
|
281
|
-
var toObject = function (argument) {
|
|
282
|
-
return Object$2(requireObjectCoercible(argument));
|
|
337
|
+
var toObject$2 = function (argument) {
|
|
338
|
+
return Object$2(requireObjectCoercible$1(argument));
|
|
283
339
|
};
|
|
284
340
|
|
|
285
|
-
var
|
|
341
|
+
var uncurryThis$c = functionUncurryThis;
|
|
342
|
+
var toObject$1 = toObject$2;
|
|
343
|
+
|
|
344
|
+
var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
|
|
286
345
|
|
|
287
346
|
// `HasOwnProperty` abstract operation
|
|
288
347
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
289
348
|
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
290
349
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
291
|
-
return hasOwnProperty(toObject(it), key);
|
|
350
|
+
return hasOwnProperty(toObject$1(it), key);
|
|
292
351
|
};
|
|
293
352
|
|
|
353
|
+
var uncurryThis$b = functionUncurryThis;
|
|
354
|
+
|
|
294
355
|
var id = 0;
|
|
295
356
|
var postfix = Math.random();
|
|
296
|
-
var toString =
|
|
357
|
+
var toString$4 = uncurryThis$b(1.0.toString);
|
|
297
358
|
|
|
298
|
-
var uid = function (key) {
|
|
299
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
359
|
+
var uid$2 = function (key) {
|
|
360
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
300
361
|
};
|
|
301
362
|
|
|
302
|
-
var
|
|
303
|
-
var
|
|
363
|
+
var global$e = global$q;
|
|
364
|
+
var shared$2 = shared$3.exports;
|
|
365
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
366
|
+
var uid$1 = uid$2;
|
|
367
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
368
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
369
|
+
|
|
370
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
371
|
+
var Symbol$2 = global$e.Symbol;
|
|
304
372
|
var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
305
|
-
var createWellKnownSymbol =
|
|
373
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
306
374
|
|
|
307
|
-
var wellKnownSymbol = function (name) {
|
|
308
|
-
if (!
|
|
375
|
+
var wellKnownSymbol$6 = function (name) {
|
|
376
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
309
377
|
var description = 'Symbol.' + name;
|
|
310
|
-
if (
|
|
378
|
+
if (NATIVE_SYMBOL && hasOwn$6(Symbol$2, name)) {
|
|
311
379
|
WellKnownSymbolsStore[name] = Symbol$2[name];
|
|
312
|
-
} else if (
|
|
380
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
313
381
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
314
382
|
} else {
|
|
315
383
|
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
@@ -317,69 +385,97 @@
|
|
|
317
385
|
} return WellKnownSymbolsStore[name];
|
|
318
386
|
};
|
|
319
387
|
|
|
320
|
-
var
|
|
321
|
-
var
|
|
388
|
+
var global$d = global$q;
|
|
389
|
+
var call$1 = functionCall;
|
|
390
|
+
var isObject$5 = isObject$7;
|
|
391
|
+
var isSymbol$1 = isSymbol$2;
|
|
392
|
+
var getMethod = getMethod$1;
|
|
393
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
394
|
+
var wellKnownSymbol$5 = wellKnownSymbol$6;
|
|
395
|
+
|
|
396
|
+
var TypeError$4 = global$d.TypeError;
|
|
397
|
+
var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
|
|
322
398
|
|
|
323
399
|
// `ToPrimitive` abstract operation
|
|
324
400
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
325
|
-
var toPrimitive = function (input, pref) {
|
|
326
|
-
if (!isObject(input) || isSymbol(input)) return input;
|
|
401
|
+
var toPrimitive$1 = function (input, pref) {
|
|
402
|
+
if (!isObject$5(input) || isSymbol$1(input)) return input;
|
|
327
403
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
328
404
|
var result;
|
|
329
405
|
if (exoticToPrim) {
|
|
330
406
|
if (pref === undefined) pref = 'default';
|
|
331
|
-
result =
|
|
332
|
-
if (!isObject(result) || isSymbol(result)) return result;
|
|
407
|
+
result = call$1(exoticToPrim, input, pref);
|
|
408
|
+
if (!isObject$5(result) || isSymbol$1(result)) return result;
|
|
333
409
|
throw TypeError$4("Can't convert object to primitive value");
|
|
334
410
|
}
|
|
335
411
|
if (pref === undefined) pref = 'number';
|
|
336
412
|
return ordinaryToPrimitive(input, pref);
|
|
337
413
|
};
|
|
338
414
|
|
|
415
|
+
var toPrimitive = toPrimitive$1;
|
|
416
|
+
var isSymbol = isSymbol$2;
|
|
417
|
+
|
|
339
418
|
// `ToPropertyKey` abstract operation
|
|
340
419
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
341
|
-
var toPropertyKey = function (argument) {
|
|
420
|
+
var toPropertyKey$3 = function (argument) {
|
|
342
421
|
var key = toPrimitive(argument, 'string');
|
|
343
422
|
return isSymbol(key) ? key : key + '';
|
|
344
423
|
};
|
|
345
424
|
|
|
346
|
-
var
|
|
425
|
+
var global$c = global$q;
|
|
426
|
+
var isObject$4 = isObject$7;
|
|
427
|
+
|
|
428
|
+
var document = global$c.document;
|
|
347
429
|
// typeof document.createElement is 'object' in old IE
|
|
348
|
-
var EXISTS$1 = isObject(document) && isObject(document.createElement);
|
|
430
|
+
var EXISTS$1 = isObject$4(document) && isObject$4(document.createElement);
|
|
349
431
|
|
|
350
432
|
var documentCreateElement = function (it) {
|
|
351
433
|
return EXISTS$1 ? document.createElement(it) : {};
|
|
352
434
|
};
|
|
353
435
|
|
|
436
|
+
var DESCRIPTORS$6 = descriptors;
|
|
437
|
+
var fails$7 = fails$c;
|
|
438
|
+
var createElement = documentCreateElement;
|
|
439
|
+
|
|
354
440
|
// Thanks to IE8 for its funny defineProperty
|
|
355
|
-
var ie8DomDefine = !
|
|
441
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$7(function () {
|
|
356
442
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
357
|
-
return Object.defineProperty(
|
|
443
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
358
444
|
get: function () { return 7; }
|
|
359
445
|
}).a != 7;
|
|
360
446
|
});
|
|
361
447
|
|
|
448
|
+
var DESCRIPTORS$5 = descriptors;
|
|
449
|
+
var call = functionCall;
|
|
450
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
451
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
452
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
|
453
|
+
var toPropertyKey$2 = toPropertyKey$3;
|
|
454
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
455
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
456
|
+
|
|
362
457
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
363
458
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
364
459
|
|
|
365
460
|
// `Object.getOwnPropertyDescriptor` method
|
|
366
461
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
367
|
-
|
|
368
|
-
O = toIndexedObject(O);
|
|
369
|
-
P = toPropertyKey(P);
|
|
370
|
-
if (
|
|
462
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
463
|
+
O = toIndexedObject$3(O);
|
|
464
|
+
P = toPropertyKey$2(P);
|
|
465
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
371
466
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
372
467
|
} catch (error) { /* empty */ }
|
|
373
|
-
if (
|
|
468
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
374
469
|
};
|
|
375
470
|
|
|
376
|
-
var
|
|
377
|
-
|
|
378
|
-
|
|
471
|
+
var objectDefineProperty = {};
|
|
472
|
+
|
|
473
|
+
var DESCRIPTORS$4 = descriptors;
|
|
474
|
+
var fails$6 = fails$c;
|
|
379
475
|
|
|
380
476
|
// V8 ~ Chrome 36-
|
|
381
477
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
382
|
-
var v8PrototypeDefineBug =
|
|
478
|
+
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$6(function () {
|
|
383
479
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
384
480
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
385
481
|
value: 42,
|
|
@@ -387,16 +483,26 @@
|
|
|
387
483
|
}).prototype != 42;
|
|
388
484
|
});
|
|
389
485
|
|
|
390
|
-
var
|
|
391
|
-
var
|
|
486
|
+
var global$b = global$q;
|
|
487
|
+
var isObject$3 = isObject$7;
|
|
488
|
+
|
|
489
|
+
var String$2 = global$b.String;
|
|
490
|
+
var TypeError$3 = global$b.TypeError;
|
|
392
491
|
|
|
393
492
|
// `Assert: Type(argument) is Object`
|
|
394
|
-
var anObject = function (argument) {
|
|
395
|
-
if (isObject(argument)) return argument;
|
|
493
|
+
var anObject$2 = function (argument) {
|
|
494
|
+
if (isObject$3(argument)) return argument;
|
|
396
495
|
throw TypeError$3(String$2(argument) + ' is not an object');
|
|
397
496
|
};
|
|
398
497
|
|
|
399
|
-
var
|
|
498
|
+
var global$a = global$q;
|
|
499
|
+
var DESCRIPTORS$3 = descriptors;
|
|
500
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
501
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
502
|
+
var anObject$1 = anObject$2;
|
|
503
|
+
var toPropertyKey$1 = toPropertyKey$3;
|
|
504
|
+
|
|
505
|
+
var TypeError$2 = global$a.TypeError;
|
|
400
506
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
401
507
|
var $defineProperty = Object.defineProperty;
|
|
402
508
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -407,10 +513,10 @@
|
|
|
407
513
|
|
|
408
514
|
// `Object.defineProperty` method
|
|
409
515
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
410
|
-
|
|
411
|
-
anObject(O);
|
|
412
|
-
P = toPropertyKey(P);
|
|
413
|
-
anObject(Attributes);
|
|
516
|
+
objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
517
|
+
anObject$1(O);
|
|
518
|
+
P = toPropertyKey$1(P);
|
|
519
|
+
anObject$1(Attributes);
|
|
414
520
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
415
521
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
416
522
|
if (current && current[WRITABLE]) {
|
|
@@ -423,10 +529,10 @@
|
|
|
423
529
|
}
|
|
424
530
|
} return $defineProperty(O, P, Attributes);
|
|
425
531
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
426
|
-
anObject(O);
|
|
427
|
-
P = toPropertyKey(P);
|
|
428
|
-
anObject(Attributes);
|
|
429
|
-
if (
|
|
532
|
+
anObject$1(O);
|
|
533
|
+
P = toPropertyKey$1(P);
|
|
534
|
+
anObject$1(Attributes);
|
|
535
|
+
if (IE8_DOM_DEFINE) try {
|
|
430
536
|
return $defineProperty(O, P, Attributes);
|
|
431
537
|
} catch (error) { /* empty */ }
|
|
432
538
|
if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
|
|
@@ -434,25 +540,30 @@
|
|
|
434
540
|
return O;
|
|
435
541
|
};
|
|
436
542
|
|
|
437
|
-
var
|
|
438
|
-
|
|
439
|
-
|
|
543
|
+
var DESCRIPTORS$2 = descriptors;
|
|
544
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
545
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
440
546
|
|
|
441
|
-
var createNonEnumerableProperty =
|
|
442
|
-
return
|
|
547
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
|
|
548
|
+
return definePropertyModule$2.f(object, key, createPropertyDescriptor$1(1, value));
|
|
443
549
|
} : function (object, key, value) {
|
|
444
550
|
object[key] = value;
|
|
445
551
|
return object;
|
|
446
552
|
};
|
|
447
553
|
|
|
554
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
555
|
+
|
|
556
|
+
var DESCRIPTORS$1 = descriptors;
|
|
557
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
558
|
+
|
|
448
559
|
var FunctionPrototype = Function.prototype;
|
|
449
560
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
450
|
-
var getDescriptor =
|
|
561
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
451
562
|
|
|
452
|
-
var EXISTS =
|
|
563
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
453
564
|
// additional protection from minified / mangled / dropped function names
|
|
454
565
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
455
|
-
var CONFIGURABLE = EXISTS && (!
|
|
566
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
456
567
|
|
|
457
568
|
var functionName = {
|
|
458
569
|
EXISTS: EXISTS,
|
|
@@ -460,32 +571,53 @@
|
|
|
460
571
|
CONFIGURABLE: CONFIGURABLE
|
|
461
572
|
};
|
|
462
573
|
|
|
463
|
-
var
|
|
574
|
+
var uncurryThis$a = functionUncurryThis;
|
|
575
|
+
var isCallable$6 = isCallable$c;
|
|
576
|
+
var store$1 = sharedStore;
|
|
577
|
+
|
|
578
|
+
var functionToString = uncurryThis$a(Function.toString);
|
|
464
579
|
|
|
465
580
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
466
|
-
if (!isCallable(
|
|
467
|
-
|
|
581
|
+
if (!isCallable$6(store$1.inspectSource)) {
|
|
582
|
+
store$1.inspectSource = function (it) {
|
|
468
583
|
return functionToString(it);
|
|
469
584
|
};
|
|
470
585
|
}
|
|
471
586
|
|
|
472
|
-
var inspectSource =
|
|
587
|
+
var inspectSource$3 = store$1.inspectSource;
|
|
473
588
|
|
|
474
|
-
var
|
|
589
|
+
var global$9 = global$q;
|
|
590
|
+
var isCallable$5 = isCallable$c;
|
|
591
|
+
var inspectSource$2 = inspectSource$3;
|
|
475
592
|
|
|
476
|
-
var
|
|
593
|
+
var WeakMap$1 = global$9.WeakMap;
|
|
477
594
|
|
|
478
|
-
var
|
|
595
|
+
var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
479
596
|
|
|
480
|
-
var
|
|
597
|
+
var shared$1 = shared$3.exports;
|
|
598
|
+
var uid = uid$2;
|
|
599
|
+
|
|
600
|
+
var keys = shared$1('keys');
|
|
601
|
+
|
|
602
|
+
var sharedKey$1 = function (key) {
|
|
481
603
|
return keys[key] || (keys[key] = uid(key));
|
|
482
604
|
};
|
|
483
605
|
|
|
484
|
-
var hiddenKeys$
|
|
606
|
+
var hiddenKeys$3 = {};
|
|
607
|
+
|
|
608
|
+
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
609
|
+
var global$8 = global$q;
|
|
610
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
611
|
+
var isObject$2 = isObject$7;
|
|
612
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
613
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
614
|
+
var shared = sharedStore;
|
|
615
|
+
var sharedKey = sharedKey$1;
|
|
616
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
|
485
617
|
|
|
486
618
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
487
|
-
var TypeError$1 =
|
|
488
|
-
var WeakMap =
|
|
619
|
+
var TypeError$1 = global$8.TypeError;
|
|
620
|
+
var WeakMap = global$8.WeakMap;
|
|
489
621
|
var set, get, has;
|
|
490
622
|
|
|
491
623
|
var enforce = function (it) {
|
|
@@ -495,17 +627,17 @@
|
|
|
495
627
|
var getterFor = function (TYPE) {
|
|
496
628
|
return function (it) {
|
|
497
629
|
var state;
|
|
498
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
630
|
+
if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
|
|
499
631
|
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
500
632
|
} return state;
|
|
501
633
|
};
|
|
502
634
|
};
|
|
503
635
|
|
|
504
|
-
if (
|
|
505
|
-
var store =
|
|
506
|
-
var wmget =
|
|
507
|
-
var wmhas =
|
|
508
|
-
var wmset =
|
|
636
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
637
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
638
|
+
var wmget = uncurryThis$9(store.get);
|
|
639
|
+
var wmhas = uncurryThis$9(store.has);
|
|
640
|
+
var wmset = uncurryThis$9(store.set);
|
|
509
641
|
set = function (it, metadata) {
|
|
510
642
|
if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
511
643
|
metadata.facade = it;
|
|
@@ -520,18 +652,18 @@
|
|
|
520
652
|
};
|
|
521
653
|
} else {
|
|
522
654
|
var STATE = sharedKey('state');
|
|
523
|
-
hiddenKeys$
|
|
655
|
+
hiddenKeys$2[STATE] = true;
|
|
524
656
|
set = function (it, metadata) {
|
|
525
|
-
if (
|
|
657
|
+
if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
526
658
|
metadata.facade = it;
|
|
527
|
-
createNonEnumerableProperty(it, STATE, metadata);
|
|
659
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
528
660
|
return metadata;
|
|
529
661
|
};
|
|
530
662
|
get = function (it) {
|
|
531
|
-
return
|
|
663
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
532
664
|
};
|
|
533
665
|
has = function (it) {
|
|
534
|
-
return
|
|
666
|
+
return hasOwn$3(it, STATE);
|
|
535
667
|
};
|
|
536
668
|
}
|
|
537
669
|
|
|
@@ -543,55 +675,69 @@
|
|
|
543
675
|
getterFor: getterFor
|
|
544
676
|
};
|
|
545
677
|
|
|
546
|
-
var
|
|
547
|
-
var
|
|
678
|
+
var fails$5 = fails$c;
|
|
679
|
+
var isCallable$4 = isCallable$c;
|
|
680
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
681
|
+
var DESCRIPTORS = descriptors;
|
|
548
682
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
683
|
+
var inspectSource$1 = inspectSource$3;
|
|
684
|
+
var InternalStateModule = internalState;
|
|
549
685
|
|
|
686
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
687
|
+
var getInternalState = InternalStateModule.get;
|
|
688
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
689
|
+
var defineProperty = Object.defineProperty;
|
|
550
690
|
|
|
551
|
-
|
|
552
|
-
var enforceInternalState = internalState.enforce;
|
|
553
|
-
var getInternalState = internalState.get;
|
|
554
|
-
|
|
555
|
-
var CONFIGURABLE_LENGTH = !fails(function () {
|
|
691
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$5(function () {
|
|
556
692
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
557
693
|
});
|
|
558
694
|
|
|
559
695
|
var TEMPLATE = String(String).split('String');
|
|
560
696
|
|
|
561
|
-
var makeBuiltIn =
|
|
697
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
562
698
|
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
563
699
|
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
564
700
|
}
|
|
565
701
|
if (options && options.getter) name = 'get ' + name;
|
|
566
702
|
if (options && options.setter) name = 'set ' + name;
|
|
567
|
-
if (!
|
|
703
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
568
704
|
defineProperty(value, 'name', { value: name, configurable: true });
|
|
569
705
|
}
|
|
570
|
-
if (CONFIGURABLE_LENGTH && options &&
|
|
706
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
571
707
|
defineProperty(value, 'length', { value: options.arity });
|
|
572
708
|
}
|
|
709
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
710
|
+
if (DESCRIPTORS) try {
|
|
711
|
+
defineProperty(value, 'prototype', { writable: false });
|
|
712
|
+
} catch (error) { /* empty */ }
|
|
713
|
+
} else value.prototype = undefined;
|
|
573
714
|
var state = enforceInternalState(value);
|
|
574
|
-
if (!
|
|
715
|
+
if (!hasOwn$2(state, 'source')) {
|
|
575
716
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
576
717
|
} return value;
|
|
577
718
|
};
|
|
578
719
|
|
|
579
720
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
580
721
|
// eslint-disable-next-line no-extend-native -- required
|
|
581
|
-
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
582
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
722
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
723
|
+
return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
|
|
583
724
|
}, 'toString');
|
|
584
|
-
});
|
|
585
725
|
|
|
586
|
-
var
|
|
726
|
+
var global$7 = global$q;
|
|
727
|
+
var isCallable$3 = isCallable$c;
|
|
728
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
729
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
730
|
+
var setGlobal$1 = setGlobal$3;
|
|
731
|
+
|
|
732
|
+
var defineBuiltIn$2 = function (O, key, value, options) {
|
|
587
733
|
var unsafe = options ? !!options.unsafe : false;
|
|
588
734
|
var simple = options ? !!options.enumerable : false;
|
|
589
735
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
590
736
|
var name = options && options.name !== undefined ? options.name : key;
|
|
591
|
-
if (isCallable(value))
|
|
592
|
-
if (O ===
|
|
737
|
+
if (isCallable$3(value)) makeBuiltIn(value, name, options);
|
|
738
|
+
if (O === global$7) {
|
|
593
739
|
if (simple) O[key] = value;
|
|
594
|
-
else setGlobal(key, value);
|
|
740
|
+
else setGlobal$1(key, value);
|
|
595
741
|
return O;
|
|
596
742
|
} else if (!unsafe) {
|
|
597
743
|
delete O[key];
|
|
@@ -599,52 +745,64 @@
|
|
|
599
745
|
simple = true;
|
|
600
746
|
}
|
|
601
747
|
if (simple) O[key] = value;
|
|
602
|
-
else createNonEnumerableProperty(O, key, value);
|
|
748
|
+
else createNonEnumerableProperty$1(O, key, value);
|
|
603
749
|
return O;
|
|
604
750
|
};
|
|
605
751
|
|
|
752
|
+
var objectGetOwnPropertyNames = {};
|
|
753
|
+
|
|
606
754
|
var ceil = Math.ceil;
|
|
607
755
|
var floor = Math.floor;
|
|
608
756
|
|
|
609
757
|
// `ToIntegerOrInfinity` abstract operation
|
|
610
758
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
611
|
-
var toIntegerOrInfinity = function (argument) {
|
|
759
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
612
760
|
var number = +argument;
|
|
613
761
|
// eslint-disable-next-line no-self-compare -- safe
|
|
614
762
|
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
615
763
|
};
|
|
616
764
|
|
|
765
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
766
|
+
|
|
617
767
|
var max$1 = Math.max;
|
|
618
768
|
var min$1 = Math.min;
|
|
619
769
|
|
|
620
770
|
// Helper for a popular repeating case of the spec:
|
|
621
771
|
// Let integer be ? ToInteger(index).
|
|
622
772
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
623
|
-
var toAbsoluteIndex = function (index, length) {
|
|
624
|
-
var integer = toIntegerOrInfinity(index);
|
|
773
|
+
var toAbsoluteIndex$2 = function (index, length) {
|
|
774
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
625
775
|
return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
|
|
626
776
|
};
|
|
627
777
|
|
|
778
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
779
|
+
|
|
628
780
|
var min = Math.min;
|
|
629
781
|
|
|
630
782
|
// `ToLength` abstract operation
|
|
631
783
|
// https://tc39.es/ecma262/#sec-tolength
|
|
632
|
-
var toLength = function (argument) {
|
|
784
|
+
var toLength$1 = function (argument) {
|
|
633
785
|
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
634
786
|
};
|
|
635
787
|
|
|
788
|
+
var toLength = toLength$1;
|
|
789
|
+
|
|
636
790
|
// `LengthOfArrayLike` abstract operation
|
|
637
791
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
638
|
-
var lengthOfArrayLike = function (obj) {
|
|
792
|
+
var lengthOfArrayLike$3 = function (obj) {
|
|
639
793
|
return toLength(obj.length);
|
|
640
794
|
};
|
|
641
795
|
|
|
796
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
|
797
|
+
var toAbsoluteIndex$1 = toAbsoluteIndex$2;
|
|
798
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
799
|
+
|
|
642
800
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
643
801
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
644
802
|
return function ($this, el, fromIndex) {
|
|
645
|
-
var O = toIndexedObject($this);
|
|
646
|
-
var length = lengthOfArrayLike(O);
|
|
647
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
803
|
+
var O = toIndexedObject$2($this);
|
|
804
|
+
var length = lengthOfArrayLike$2(O);
|
|
805
|
+
var index = toAbsoluteIndex$1(fromIndex, length);
|
|
648
806
|
var value;
|
|
649
807
|
// Array#includes uses SameValueZero equality algorithm
|
|
650
808
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
@@ -668,26 +826,29 @@
|
|
|
668
826
|
indexOf: createMethod$2(false)
|
|
669
827
|
};
|
|
670
828
|
|
|
829
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
830
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
831
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
|
671
832
|
var indexOf = arrayIncludes.indexOf;
|
|
833
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
|
672
834
|
|
|
673
|
-
|
|
674
|
-
var push$1 = functionUncurryThis([].push);
|
|
835
|
+
var push$1 = uncurryThis$8([].push);
|
|
675
836
|
|
|
676
837
|
var objectKeysInternal = function (object, names) {
|
|
677
|
-
var O = toIndexedObject(object);
|
|
838
|
+
var O = toIndexedObject$1(object);
|
|
678
839
|
var i = 0;
|
|
679
840
|
var result = [];
|
|
680
841
|
var key;
|
|
681
|
-
for (key in O) !
|
|
842
|
+
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push$1(result, key);
|
|
682
843
|
// Don't enum bug & hidden keys
|
|
683
|
-
while (names.length > i) if (
|
|
844
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
684
845
|
~indexOf(result, key) || push$1(result, key);
|
|
685
846
|
}
|
|
686
847
|
return result;
|
|
687
848
|
};
|
|
688
849
|
|
|
689
850
|
// IE8- don't enum bug keys
|
|
690
|
-
var enumBugKeys = [
|
|
851
|
+
var enumBugKeys$1 = [
|
|
691
852
|
'constructor',
|
|
692
853
|
'hasOwnProperty',
|
|
693
854
|
'isPrototypeOf',
|
|
@@ -697,73 +858,85 @@
|
|
|
697
858
|
'valueOf'
|
|
698
859
|
];
|
|
699
860
|
|
|
861
|
+
var internalObjectKeys = objectKeysInternal;
|
|
862
|
+
var enumBugKeys = enumBugKeys$1;
|
|
863
|
+
|
|
700
864
|
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
701
865
|
|
|
702
866
|
// `Object.getOwnPropertyNames` method
|
|
703
867
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
704
868
|
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
705
|
-
|
|
706
|
-
return
|
|
869
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
870
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
707
871
|
};
|
|
708
872
|
|
|
709
|
-
var
|
|
710
|
-
f: f$1
|
|
711
|
-
};
|
|
873
|
+
var objectGetOwnPropertySymbols = {};
|
|
712
874
|
|
|
713
875
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
714
|
-
|
|
876
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
715
877
|
|
|
716
|
-
var
|
|
717
|
-
|
|
718
|
-
|
|
878
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
879
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
880
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
881
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
882
|
+
var anObject = anObject$2;
|
|
719
883
|
|
|
720
|
-
var concat =
|
|
884
|
+
var concat = uncurryThis$7([].concat);
|
|
721
885
|
|
|
722
886
|
// all object keys, includes non-enumerable and symbols
|
|
723
|
-
var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
724
|
-
var keys =
|
|
725
|
-
var getOwnPropertySymbols =
|
|
887
|
+
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
888
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
889
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
726
890
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
727
891
|
};
|
|
728
892
|
|
|
729
|
-
var
|
|
893
|
+
var hasOwn = hasOwnProperty_1;
|
|
894
|
+
var ownKeys = ownKeys$1;
|
|
895
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
896
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
897
|
+
|
|
898
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
730
899
|
var keys = ownKeys(source);
|
|
731
|
-
var defineProperty =
|
|
732
|
-
var getOwnPropertyDescriptor =
|
|
900
|
+
var defineProperty = definePropertyModule$1.f;
|
|
901
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
733
902
|
for (var i = 0; i < keys.length; i++) {
|
|
734
903
|
var key = keys[i];
|
|
735
|
-
if (!
|
|
904
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
736
905
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
737
906
|
}
|
|
738
907
|
}
|
|
739
908
|
};
|
|
740
909
|
|
|
910
|
+
var fails$4 = fails$c;
|
|
911
|
+
var isCallable$2 = isCallable$c;
|
|
912
|
+
|
|
741
913
|
var replacement = /#|\.prototype\./;
|
|
742
914
|
|
|
743
|
-
var isForced = function (feature, detection) {
|
|
915
|
+
var isForced$1 = function (feature, detection) {
|
|
744
916
|
var value = data[normalize(feature)];
|
|
745
917
|
return value == POLYFILL ? true
|
|
746
918
|
: value == NATIVE ? false
|
|
747
|
-
: isCallable(detection) ? fails(detection)
|
|
919
|
+
: isCallable$2(detection) ? fails$4(detection)
|
|
748
920
|
: !!detection;
|
|
749
921
|
};
|
|
750
922
|
|
|
751
|
-
var normalize = isForced.normalize = function (string) {
|
|
923
|
+
var normalize = isForced$1.normalize = function (string) {
|
|
752
924
|
return String(string).replace(replacement, '.').toLowerCase();
|
|
753
925
|
};
|
|
754
926
|
|
|
755
|
-
var data = isForced.data = {};
|
|
756
|
-
var NATIVE = isForced.NATIVE = 'N';
|
|
757
|
-
var POLYFILL = isForced.POLYFILL = 'P';
|
|
927
|
+
var data = isForced$1.data = {};
|
|
928
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
|
929
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
758
930
|
|
|
759
|
-
var isForced_1 = isForced;
|
|
931
|
+
var isForced_1 = isForced$1;
|
|
760
932
|
|
|
933
|
+
var global$6 = global$q;
|
|
761
934
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
935
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
936
|
+
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
937
|
+
var setGlobal = setGlobal$3;
|
|
938
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
939
|
+
var isForced = isForced_1;
|
|
767
940
|
|
|
768
941
|
/*
|
|
769
942
|
options.target - name of the target object
|
|
@@ -786,11 +959,11 @@
|
|
|
786
959
|
var STATIC = options.stat;
|
|
787
960
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
788
961
|
if (GLOBAL) {
|
|
789
|
-
target =
|
|
962
|
+
target = global$6;
|
|
790
963
|
} else if (STATIC) {
|
|
791
|
-
target =
|
|
964
|
+
target = global$6[TARGET] || setGlobal(TARGET, {});
|
|
792
965
|
} else {
|
|
793
|
-
target = (
|
|
966
|
+
target = (global$6[TARGET] || {}).prototype;
|
|
794
967
|
}
|
|
795
968
|
if (target) for (key in source) {
|
|
796
969
|
sourceProperty = source[key];
|
|
@@ -798,7 +971,7 @@
|
|
|
798
971
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
799
972
|
targetProperty = descriptor && descriptor.value;
|
|
800
973
|
} else targetProperty = target[key];
|
|
801
|
-
FORCED =
|
|
974
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
802
975
|
// contained in target
|
|
803
976
|
if (!FORCED && targetProperty !== undefined) {
|
|
804
977
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
@@ -808,26 +981,36 @@
|
|
|
808
981
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
809
982
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
810
983
|
}
|
|
811
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
984
|
+
defineBuiltIn$1(target, key, sourceProperty, options);
|
|
812
985
|
}
|
|
813
986
|
};
|
|
814
987
|
|
|
988
|
+
var classof$4 = classofRaw$1;
|
|
989
|
+
|
|
815
990
|
// `IsArray` abstract operation
|
|
816
991
|
// https://tc39.es/ecma262/#sec-isarray
|
|
817
992
|
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
|
818
|
-
var isArray = Array.isArray || function isArray(argument) {
|
|
819
|
-
return
|
|
993
|
+
var isArray$2 = Array.isArray || function isArray(argument) {
|
|
994
|
+
return classof$4(argument) == 'Array';
|
|
820
995
|
};
|
|
821
996
|
|
|
822
|
-
var
|
|
997
|
+
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
|
998
|
+
|
|
999
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
823
1000
|
var test = {};
|
|
824
1001
|
|
|
825
1002
|
test[TO_STRING_TAG$1] = 'z';
|
|
826
1003
|
|
|
827
1004
|
var toStringTagSupport = String(test) === '[object z]';
|
|
828
1005
|
|
|
829
|
-
var
|
|
830
|
-
var
|
|
1006
|
+
var global$5 = global$q;
|
|
1007
|
+
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
1008
|
+
var isCallable$1 = isCallable$c;
|
|
1009
|
+
var classofRaw = classofRaw$1;
|
|
1010
|
+
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
|
1011
|
+
|
|
1012
|
+
var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
|
|
1013
|
+
var Object$1 = global$5.Object;
|
|
831
1014
|
|
|
832
1015
|
// ES3 wrong here
|
|
833
1016
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -840,7 +1023,7 @@
|
|
|
840
1023
|
};
|
|
841
1024
|
|
|
842
1025
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
843
|
-
var classof =
|
|
1026
|
+
var classof$3 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
844
1027
|
var O, tag, result;
|
|
845
1028
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
846
1029
|
// @@toStringTag case
|
|
@@ -848,14 +1031,21 @@
|
|
|
848
1031
|
// builtinTag case
|
|
849
1032
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
850
1033
|
// ES3 arguments fallback
|
|
851
|
-
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1034
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
852
1035
|
};
|
|
853
1036
|
|
|
1037
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1038
|
+
var fails$3 = fails$c;
|
|
1039
|
+
var isCallable = isCallable$c;
|
|
1040
|
+
var classof$2 = classof$3;
|
|
1041
|
+
var getBuiltIn = getBuiltIn$4;
|
|
1042
|
+
var inspectSource = inspectSource$3;
|
|
1043
|
+
|
|
854
1044
|
var noop = function () { /* empty */ };
|
|
855
1045
|
var empty = [];
|
|
856
1046
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
857
1047
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
858
|
-
var exec$1 =
|
|
1048
|
+
var exec$1 = uncurryThis$6(constructorRegExp.exec);
|
|
859
1049
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
860
1050
|
|
|
861
1051
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -870,7 +1060,7 @@
|
|
|
870
1060
|
|
|
871
1061
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
872
1062
|
if (!isCallable(argument)) return false;
|
|
873
|
-
switch (classof(argument)) {
|
|
1063
|
+
switch (classof$2(argument)) {
|
|
874
1064
|
case 'AsyncFunction':
|
|
875
1065
|
case 'GeneratorFunction':
|
|
876
1066
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -889,7 +1079,7 @@
|
|
|
889
1079
|
|
|
890
1080
|
// `IsConstructor` abstract operation
|
|
891
1081
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
892
|
-
var isConstructor = !construct || fails(function () {
|
|
1082
|
+
var isConstructor$2 = !construct || fails$3(function () {
|
|
893
1083
|
var called;
|
|
894
1084
|
return isConstructorModern(isConstructorModern.call)
|
|
895
1085
|
|| !isConstructorModern(Object)
|
|
@@ -897,19 +1087,27 @@
|
|
|
897
1087
|
|| called;
|
|
898
1088
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
899
1089
|
|
|
900
|
-
var
|
|
1090
|
+
var toPropertyKey = toPropertyKey$3;
|
|
1091
|
+
var definePropertyModule = objectDefineProperty;
|
|
1092
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1093
|
+
|
|
1094
|
+
var createProperty$1 = function (object, key, value) {
|
|
901
1095
|
var propertyKey = toPropertyKey(key);
|
|
902
|
-
if (propertyKey in object)
|
|
1096
|
+
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
903
1097
|
else object[propertyKey] = value;
|
|
904
1098
|
};
|
|
905
1099
|
|
|
906
|
-
var
|
|
1100
|
+
var fails$2 = fails$c;
|
|
1101
|
+
var wellKnownSymbol$2 = wellKnownSymbol$6;
|
|
1102
|
+
var V8_VERSION = engineV8Version;
|
|
907
1103
|
|
|
908
|
-
var
|
|
1104
|
+
var SPECIES$2 = wellKnownSymbol$2('species');
|
|
1105
|
+
|
|
1106
|
+
var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) {
|
|
909
1107
|
// We can't use this feature detection in V8 since it causes
|
|
910
1108
|
// deoptimization and serious performance degradation
|
|
911
1109
|
// https://github.com/zloirock/core-js/issues/677
|
|
912
|
-
return
|
|
1110
|
+
return V8_VERSION >= 51 || !fails$2(function () {
|
|
913
1111
|
var array = [];
|
|
914
1112
|
var constructor = array.constructor = {};
|
|
915
1113
|
constructor[SPECIES$2] = function () {
|
|
@@ -919,36 +1117,51 @@
|
|
|
919
1117
|
});
|
|
920
1118
|
};
|
|
921
1119
|
|
|
922
|
-
var
|
|
1120
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1121
|
+
|
|
1122
|
+
var arraySlice = uncurryThis$5([].slice);
|
|
1123
|
+
|
|
1124
|
+
var $$3 = _export;
|
|
1125
|
+
var global$4 = global$q;
|
|
1126
|
+
var isArray$1 = isArray$2;
|
|
1127
|
+
var isConstructor$1 = isConstructor$2;
|
|
1128
|
+
var isObject$1 = isObject$7;
|
|
1129
|
+
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
1130
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
1131
|
+
var toIndexedObject = toIndexedObject$4;
|
|
1132
|
+
var createProperty = createProperty$1;
|
|
1133
|
+
var wellKnownSymbol$1 = wellKnownSymbol$6;
|
|
1134
|
+
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
|
|
1135
|
+
var un$Slice = arraySlice;
|
|
923
1136
|
|
|
924
|
-
var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
|
|
1137
|
+
var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice');
|
|
925
1138
|
|
|
926
|
-
var SPECIES$1 = wellKnownSymbol('species');
|
|
927
|
-
var Array$2 =
|
|
1139
|
+
var SPECIES$1 = wellKnownSymbol$1('species');
|
|
1140
|
+
var Array$2 = global$4.Array;
|
|
928
1141
|
var max = Math.max;
|
|
929
1142
|
|
|
930
1143
|
// `Array.prototype.slice` method
|
|
931
1144
|
// https://tc39.es/ecma262/#sec-array.prototype.slice
|
|
932
1145
|
// fallback for not array-like ES3 strings and DOM objects
|
|
933
|
-
|
|
1146
|
+
$$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
934
1147
|
slice: function slice(start, end) {
|
|
935
1148
|
var O = toIndexedObject(this);
|
|
936
|
-
var length = lengthOfArrayLike(O);
|
|
1149
|
+
var length = lengthOfArrayLike$1(O);
|
|
937
1150
|
var k = toAbsoluteIndex(start, length);
|
|
938
1151
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
939
1152
|
// inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
|
|
940
1153
|
var Constructor, result, n;
|
|
941
|
-
if (isArray(O)) {
|
|
1154
|
+
if (isArray$1(O)) {
|
|
942
1155
|
Constructor = O.constructor;
|
|
943
1156
|
// cross-realm fallback
|
|
944
|
-
if (isConstructor(Constructor) && (Constructor === Array$2 || isArray(Constructor.prototype))) {
|
|
1157
|
+
if (isConstructor$1(Constructor) && (Constructor === Array$2 || isArray$1(Constructor.prototype))) {
|
|
945
1158
|
Constructor = undefined;
|
|
946
|
-
} else if (isObject(Constructor)) {
|
|
1159
|
+
} else if (isObject$1(Constructor)) {
|
|
947
1160
|
Constructor = Constructor[SPECIES$1];
|
|
948
1161
|
if (Constructor === null) Constructor = undefined;
|
|
949
1162
|
}
|
|
950
1163
|
if (Constructor === Array$2 || Constructor === undefined) {
|
|
951
|
-
return
|
|
1164
|
+
return un$Slice(O, k, fin);
|
|
952
1165
|
}
|
|
953
1166
|
}
|
|
954
1167
|
result = new (Constructor === undefined ? Array$2 : Constructor)(max(fin - k, 0));
|
|
@@ -958,26 +1171,34 @@
|
|
|
958
1171
|
}
|
|
959
1172
|
});
|
|
960
1173
|
|
|
961
|
-
var
|
|
1174
|
+
var global$3 = global$q;
|
|
1175
|
+
var classof$1 = classof$3;
|
|
962
1176
|
|
|
963
|
-
var
|
|
964
|
-
|
|
1177
|
+
var String$1 = global$3.String;
|
|
1178
|
+
|
|
1179
|
+
var toString$3 = function (argument) {
|
|
1180
|
+
if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
965
1181
|
return String$1(argument);
|
|
966
1182
|
};
|
|
967
1183
|
|
|
968
1184
|
// a string of all valid unicode whitespaces
|
|
969
|
-
var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1185
|
+
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
970
1186
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
971
1187
|
|
|
972
|
-
var
|
|
973
|
-
var
|
|
1188
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1189
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1190
|
+
var toString$2 = toString$3;
|
|
1191
|
+
var whitespaces$1 = whitespaces$2;
|
|
1192
|
+
|
|
1193
|
+
var replace = uncurryThis$4(''.replace);
|
|
1194
|
+
var whitespace = '[' + whitespaces$1 + ']';
|
|
974
1195
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
975
1196
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
976
1197
|
|
|
977
1198
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
978
1199
|
var createMethod$1 = function (TYPE) {
|
|
979
1200
|
return function ($this) {
|
|
980
|
-
var string =
|
|
1201
|
+
var string = toString$2(requireObjectCoercible($this));
|
|
981
1202
|
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
982
1203
|
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
983
1204
|
return string;
|
|
@@ -996,32 +1217,41 @@
|
|
|
996
1217
|
trim: createMethod$1(3)
|
|
997
1218
|
};
|
|
998
1219
|
|
|
1220
|
+
var global$2 = global$q;
|
|
1221
|
+
var fails$1 = fails$c;
|
|
1222
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1223
|
+
var toString$1 = toString$3;
|
|
999
1224
|
var trim = stringTrim.trim;
|
|
1225
|
+
var whitespaces = whitespaces$2;
|
|
1000
1226
|
|
|
1001
|
-
|
|
1002
|
-
var $
|
|
1003
|
-
var Symbol$1 = global_1.Symbol;
|
|
1227
|
+
var $parseInt$1 = global$2.parseInt;
|
|
1228
|
+
var Symbol$1 = global$2.Symbol;
|
|
1004
1229
|
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
1005
1230
|
var hex = /^[+-]?0x/i;
|
|
1006
|
-
var exec =
|
|
1007
|
-
var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
|
|
1231
|
+
var exec = uncurryThis$3(hex.exec);
|
|
1232
|
+
var FORCED = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
1008
1233
|
// MS Edge 18- broken with boxed symbols
|
|
1009
|
-
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
|
|
1234
|
+
|| (ITERATOR && !fails$1(function () { $parseInt$1(Object(ITERATOR)); }));
|
|
1010
1235
|
|
|
1011
1236
|
// `parseInt` method
|
|
1012
1237
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1013
1238
|
var numberParseInt = FORCED ? function parseInt(string, radix) {
|
|
1014
|
-
var S = trim(
|
|
1015
|
-
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1016
|
-
} : $parseInt;
|
|
1239
|
+
var S = trim(toString$1(string));
|
|
1240
|
+
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1241
|
+
} : $parseInt$1;
|
|
1242
|
+
|
|
1243
|
+
var $$2 = _export;
|
|
1244
|
+
var $parseInt = numberParseInt;
|
|
1017
1245
|
|
|
1018
1246
|
// `parseInt` method
|
|
1019
1247
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1020
|
-
|
|
1021
|
-
parseInt:
|
|
1248
|
+
$$2({ global: true, forced: parseInt != $parseInt }, {
|
|
1249
|
+
parseInt: $parseInt
|
|
1022
1250
|
});
|
|
1023
1251
|
|
|
1024
|
-
var
|
|
1252
|
+
var fails = fails$c;
|
|
1253
|
+
|
|
1254
|
+
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
1025
1255
|
var method = [][METHOD_NAME];
|
|
1026
1256
|
return !!method && fails(function () {
|
|
1027
1257
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
@@ -1030,19 +1260,19 @@
|
|
|
1030
1260
|
};
|
|
1031
1261
|
|
|
1032
1262
|
/* eslint-disable es-x/no-array-prototype-indexof -- required for testing */
|
|
1033
|
-
|
|
1034
|
-
|
|
1263
|
+
var $$1 = _export;
|
|
1264
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1035
1265
|
var $IndexOf = arrayIncludes.indexOf;
|
|
1266
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1036
1267
|
|
|
1037
|
-
|
|
1038
|
-
var un$IndexOf = functionUncurryThis([].indexOf);
|
|
1268
|
+
var un$IndexOf = uncurryThis$2([].indexOf);
|
|
1039
1269
|
|
|
1040
1270
|
var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
|
|
1041
1271
|
var STRICT_METHOD = arrayMethodIsStrict('indexOf');
|
|
1042
1272
|
|
|
1043
1273
|
// `Array.prototype.indexOf` method
|
|
1044
1274
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1045
|
-
|
|
1275
|
+
$$1({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
|
|
1046
1276
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
1047
1277
|
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
|
|
1048
1278
|
return NEGATIVE_ZERO
|
|
@@ -1052,22 +1282,32 @@
|
|
|
1052
1282
|
}
|
|
1053
1283
|
});
|
|
1054
1284
|
|
|
1055
|
-
var
|
|
1285
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1286
|
+
var aCallable = aCallable$2;
|
|
1287
|
+
var NATIVE_BIND = functionBindNative;
|
|
1288
|
+
|
|
1289
|
+
var bind$1 = uncurryThis$1(uncurryThis$1.bind);
|
|
1056
1290
|
|
|
1057
1291
|
// optional / simple context binding
|
|
1058
1292
|
var functionBindContext = function (fn, that) {
|
|
1059
1293
|
aCallable(fn);
|
|
1060
|
-
return that === undefined ? fn :
|
|
1294
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1061
1295
|
return fn.apply(that, arguments);
|
|
1062
1296
|
};
|
|
1063
1297
|
};
|
|
1064
1298
|
|
|
1299
|
+
var global$1 = global$q;
|
|
1300
|
+
var isArray = isArray$2;
|
|
1301
|
+
var isConstructor = isConstructor$2;
|
|
1302
|
+
var isObject = isObject$7;
|
|
1303
|
+
var wellKnownSymbol = wellKnownSymbol$6;
|
|
1304
|
+
|
|
1065
1305
|
var SPECIES = wellKnownSymbol('species');
|
|
1066
|
-
var Array$1 =
|
|
1306
|
+
var Array$1 = global$1.Array;
|
|
1067
1307
|
|
|
1068
1308
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
1069
1309
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1070
|
-
var arraySpeciesConstructor = function (originalArray) {
|
|
1310
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
1071
1311
|
var C;
|
|
1072
1312
|
if (isArray(originalArray)) {
|
|
1073
1313
|
C = originalArray.constructor;
|
|
@@ -1080,13 +1320,22 @@
|
|
|
1080
1320
|
} return C === undefined ? Array$1 : C;
|
|
1081
1321
|
};
|
|
1082
1322
|
|
|
1323
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
1324
|
+
|
|
1083
1325
|
// `ArraySpeciesCreate` abstract operation
|
|
1084
1326
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1085
|
-
var arraySpeciesCreate = function (originalArray, length) {
|
|
1327
|
+
var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
1086
1328
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1087
1329
|
};
|
|
1088
1330
|
|
|
1089
|
-
var
|
|
1331
|
+
var bind = functionBindContext;
|
|
1332
|
+
var uncurryThis = functionUncurryThis;
|
|
1333
|
+
var IndexedObject = indexedObject;
|
|
1334
|
+
var toObject = toObject$2;
|
|
1335
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
1336
|
+
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
1337
|
+
|
|
1338
|
+
var push = uncurryThis([].push);
|
|
1090
1339
|
|
|
1091
1340
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
1092
1341
|
var createMethod = function (TYPE) {
|
|
@@ -1099,8 +1348,8 @@
|
|
|
1099
1348
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
1100
1349
|
return function ($this, callbackfn, that, specificCreate) {
|
|
1101
1350
|
var O = toObject($this);
|
|
1102
|
-
var self =
|
|
1103
|
-
var boundFunction =
|
|
1351
|
+
var self = IndexedObject(O);
|
|
1352
|
+
var boundFunction = bind(callbackfn, that);
|
|
1104
1353
|
var length = lengthOfArrayLike(self);
|
|
1105
1354
|
var index = 0;
|
|
1106
1355
|
var create = specificCreate || arraySpeciesCreate;
|
|
@@ -1153,30 +1402,38 @@
|
|
|
1153
1402
|
filterReject: createMethod(7)
|
|
1154
1403
|
};
|
|
1155
1404
|
|
|
1405
|
+
var $ = _export;
|
|
1156
1406
|
var $filter = arrayIteration.filter;
|
|
1157
|
-
|
|
1407
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
|
|
1158
1408
|
|
|
1159
1409
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
1160
1410
|
|
|
1161
1411
|
// `Array.prototype.filter` method
|
|
1162
1412
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1163
1413
|
// with adding support of @@species
|
|
1164
|
-
|
|
1414
|
+
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
1165
1415
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
1166
1416
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1167
1417
|
}
|
|
1168
1418
|
});
|
|
1169
1419
|
|
|
1420
|
+
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
1421
|
+
var classof = classof$3;
|
|
1422
|
+
|
|
1170
1423
|
// `Object.prototype.toString` method implementation
|
|
1171
1424
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1172
|
-
var objectToString =
|
|
1425
|
+
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
1173
1426
|
return '[object ' + classof(this) + ']';
|
|
1174
1427
|
};
|
|
1175
1428
|
|
|
1429
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1430
|
+
var defineBuiltIn = defineBuiltIn$2;
|
|
1431
|
+
var toString = objectToString;
|
|
1432
|
+
|
|
1176
1433
|
// `Object.prototype.toString` method
|
|
1177
1434
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1178
|
-
if (!
|
|
1179
|
-
defineBuiltIn(Object.prototype, 'toString',
|
|
1435
|
+
if (!TO_STRING_TAG_SUPPORT) {
|
|
1436
|
+
defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
|
|
1180
1437
|
}
|
|
1181
1438
|
|
|
1182
1439
|
/**
|