bootstrap-table-rails 1.20.1 → 1.20.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -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 ($$1) { '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($$1);
|
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$o =
|
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$b = 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$a = fails$b;
|
39
|
+
|
40
40
|
// Detect IE8's incomplete defineProperty implementation
|
41
|
-
var descriptors = !fails(function () {
|
41
|
+
var descriptors = !fails$a(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$9 = fails$b;
|
47
|
+
|
48
|
+
var functionBindNative = !fails$9(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$1 = functionBindNative;
|
56
|
+
|
57
|
+
var call$4 = Function.prototype.call;
|
54
58
|
|
55
|
-
var functionCall =
|
56
|
-
return call$
|
59
|
+
var functionCall = NATIVE_BIND$1 ? 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 = functionBindNative;
|
89
|
+
|
86
90
|
var FunctionPrototype$1 = Function.prototype;
|
87
91
|
var bind = FunctionPrototype$1.bind;
|
88
|
-
var call = FunctionPrototype$1.call;
|
89
|
-
var uncurryThis =
|
92
|
+
var call$3 = FunctionPrototype$1.call;
|
93
|
+
var uncurryThis$a = NATIVE_BIND && bind.bind(call$3, call$3);
|
90
94
|
|
91
|
-
var functionUncurryThis =
|
92
|
-
return fn && uncurryThis(fn);
|
95
|
+
var functionUncurryThis = NATIVE_BIND ? function (fn) {
|
96
|
+
return fn && uncurryThis$a(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
|
-
|
103
|
+
var uncurryThis$9 = functionUncurryThis;
|
104
|
+
|
105
|
+
var toString$1 = uncurryThis$9({}.toString);
|
106
|
+
var stringSlice = uncurryThis$9(''.slice);
|
101
107
|
|
102
|
-
var classofRaw = function (it) {
|
108
|
+
var classofRaw$1 = function (it) {
|
103
109
|
return stringSlice(toString$1(it), 8, -1);
|
104
110
|
};
|
105
111
|
|
106
|
-
var
|
107
|
-
var
|
112
|
+
var global$n = global$o;
|
113
|
+
var uncurryThis$8 = functionUncurryThis;
|
114
|
+
var fails$8 = fails$b;
|
115
|
+
var classof$3 = classofRaw$1;
|
116
|
+
|
117
|
+
var Object$4 = global$n.Object;
|
118
|
+
var split = uncurryThis$8(''.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$8(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$3(it) == 'String' ? split(it, '') : Object$4(it);
|
116
127
|
} : Object$4;
|
117
128
|
|
118
|
-
var
|
129
|
+
var global$m = global$o;
|
130
|
+
|
131
|
+
var TypeError$7 = global$m.TypeError;
|
119
132
|
|
120
133
|
// `RequireObjectCoercible` abstract operation
|
121
134
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
122
|
-
var requireObjectCoercible = function (it) {
|
135
|
+
var requireObjectCoercible$2 = 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 = indexedObject;
|
142
|
+
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
128
143
|
|
129
|
-
|
130
|
-
|
131
|
-
var toIndexedObject = function (it) {
|
132
|
-
return indexedObject(requireObjectCoercible(it));
|
144
|
+
var toIndexedObject$3 = function (it) {
|
145
|
+
return IndexedObject(requireObjectCoercible$1(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$l = global$o;
|
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$l[namespace]) : global$l[namespace] && global$l[namespace][method];
|
151
169
|
};
|
152
170
|
|
153
|
-
var
|
171
|
+
var uncurryThis$7 = functionUncurryThis;
|
172
|
+
|
173
|
+
var objectIsPrototypeOf = uncurryThis$7({}.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$k = global$o;
|
180
|
+
var userAgent = engineUserAgent;
|
181
|
+
|
182
|
+
var process = global$k.process;
|
183
|
+
var Deno = global$k.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$2 = engineV8Version;
|
210
|
+
var fails$7 = fails$b;
|
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$7(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$2 && V8_VERSION$2 < 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$j = global$o;
|
231
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
232
|
+
var isCallable$9 = isCallable$c;
|
233
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
234
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
204
235
|
|
205
|
-
var
|
236
|
+
var Object$3 = global$j.Object;
|
237
|
+
|
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$i = global$o;
|
246
|
+
|
247
|
+
var String$2 = global$i.String;
|
213
248
|
|
214
|
-
var tryToString = function (argument) {
|
249
|
+
var tryToString$1 = function (argument) {
|
215
250
|
try {
|
216
251
|
return String$2(argument);
|
217
252
|
} catch (error) {
|
@@ -219,97 +254,130 @@
|
|
219
254
|
}
|
220
255
|
};
|
221
256
|
|
222
|
-
var
|
257
|
+
var global$h = global$o;
|
258
|
+
var isCallable$8 = isCallable$c;
|
259
|
+
var tryToString = tryToString$1;
|
260
|
+
|
261
|
+
var TypeError$6 = global$h.TypeError;
|
223
262
|
|
224
263
|
// `Assert: IsCallable(argument) is true`
|
225
|
-
var aCallable = function (argument) {
|
226
|
-
if (isCallable(argument)) return argument;
|
264
|
+
var aCallable$1 = 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 = aCallable$1;
|
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
275
|
return func == null ? undefined : aCallable(func);
|
235
276
|
};
|
236
277
|
|
237
|
-
var
|
278
|
+
var global$g = global$o;
|
279
|
+
var call$2 = functionCall;
|
280
|
+
var isCallable$7 = isCallable$c;
|
281
|
+
var isObject$6 = isObject$7;
|
282
|
+
|
283
|
+
var TypeError$5 = global$g.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$f = global$o;
|
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$f, key, { value: value, configurable: true, writable: true });
|
255
305
|
} catch (error) {
|
256
|
-
|
306
|
+
global$f[key] = value;
|
257
307
|
} return value;
|
258
308
|
};
|
259
309
|
|
310
|
+
var global$e = global$o;
|
311
|
+
var setGlobal$2 = setGlobal$3;
|
312
|
+
|
260
313
|
var SHARED = '__core-js_shared__';
|
261
|
-
var store$
|
314
|
+
var store$3 = global$e[SHARED] || setGlobal$2(SHARED, {});
|
262
315
|
|
263
|
-
var sharedStore = store$
|
316
|
+
var sharedStore = store$3;
|
264
317
|
|
265
|
-
var
|
266
|
-
|
267
|
-
|
318
|
+
var store$2 = sharedStore;
|
319
|
+
|
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$d = global$o;
|
331
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
332
|
+
|
333
|
+
var Object$2 = global$d.Object;
|
278
334
|
|
279
335
|
// `ToObject` abstract operation
|
280
336
|
// https://tc39.es/ecma262/#sec-toobject
|
281
|
-
var toObject = function (argument) {
|
337
|
+
var toObject$2 = function (argument) {
|
282
338
|
return Object$2(requireObjectCoercible(argument));
|
283
339
|
};
|
284
340
|
|
285
|
-
var
|
341
|
+
var uncurryThis$6 = functionUncurryThis;
|
342
|
+
var toObject$1 = toObject$2;
|
343
|
+
|
344
|
+
var hasOwnProperty = uncurryThis$6({}.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$5 = functionUncurryThis;
|
354
|
+
|
294
355
|
var id = 0;
|
295
356
|
var postfix = Math.random();
|
296
|
-
var toString =
|
357
|
+
var toString = uncurryThis$5(1.0.toString);
|
297
358
|
|
298
|
-
var uid = function (key) {
|
359
|
+
var uid$2 = function (key) {
|
299
360
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
300
361
|
};
|
301
362
|
|
302
|
-
var
|
303
|
-
var
|
363
|
+
var global$c = global$o;
|
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$1 = global$c.Symbol;
|
304
372
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
305
|
-
var createWellKnownSymbol =
|
373
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.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$1, name)) {
|
311
379
|
WellKnownSymbolsStore[name] = Symbol$1[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$b = global$o;
|
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$b.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$a = global$o;
|
426
|
+
var isObject$4 = isObject$7;
|
427
|
+
|
428
|
+
var document = global$a.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$6 = fails$b;
|
438
|
+
var createElement = documentCreateElement;
|
439
|
+
|
354
440
|
// Thanks to IE8 for its funny defineProperty
|
355
|
-
var ie8DomDefine = !
|
441
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$6(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$2 = toIndexedObject$3;
|
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$2(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$5 = fails$b;
|
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$5(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$9 = global$o;
|
487
|
+
var isObject$3 = isObject$7;
|
488
|
+
|
489
|
+
var String$1 = global$9.String;
|
490
|
+
var TypeError$3 = global$9.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$1(argument) + ' is not an object');
|
397
496
|
};
|
398
497
|
|
399
|
-
var
|
498
|
+
var global$8 = global$o;
|
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$8.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$4 = functionUncurryThis;
|
575
|
+
var isCallable$6 = isCallable$c;
|
576
|
+
var store$1 = sharedStore;
|
577
|
+
|
578
|
+
var functionToString = uncurryThis$4(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;
|
588
|
+
|
589
|
+
var global$7 = global$o;
|
590
|
+
var isCallable$5 = isCallable$c;
|
591
|
+
var inspectSource$2 = inspectSource$3;
|
592
|
+
|
593
|
+
var WeakMap$1 = global$7.WeakMap;
|
473
594
|
|
474
|
-
var WeakMap$1
|
595
|
+
var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
475
596
|
|
476
|
-
var
|
597
|
+
var shared$1 = shared$3.exports;
|
598
|
+
var uid = uid$2;
|
477
599
|
|
478
|
-
var keys = shared('keys');
|
600
|
+
var keys = shared$1('keys');
|
479
601
|
|
480
|
-
var sharedKey = function (key) {
|
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$6 = global$o;
|
610
|
+
var uncurryThis$3 = 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$6.TypeError;
|
620
|
+
var WeakMap = global$6.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$3(store.get);
|
639
|
+
var wmhas = uncurryThis$3(store.has);
|
640
|
+
var wmset = uncurryThis$3(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$4 = fails$b;
|
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$4(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$5 = global$o;
|
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$1 = 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$5) {
|
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,51 +745,63 @@
|
|
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 = 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$1 = function (index, length) {
|
774
|
+
var integer = toIntegerOrInfinity$1(index);
|
625
775
|
return integer < 0 ? max(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$2 = function (obj) {
|
639
793
|
return toLength(obj.length);
|
640
794
|
};
|
641
795
|
|
796
|
+
var toIndexedObject$1 = toIndexedObject$3;
|
797
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
798
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
799
|
+
|
642
800
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
643
801
|
var createMethod = function (IS_INCLUDES) {
|
644
802
|
return function ($this, el, fromIndex) {
|
645
|
-
var O = toIndexedObject($this);
|
646
|
-
var length = lengthOfArrayLike(O);
|
803
|
+
var O = toIndexedObject$1($this);
|
804
|
+
var length = lengthOfArrayLike$1(O);
|
647
805
|
var index = toAbsoluteIndex(fromIndex, length);
|
648
806
|
var value;
|
649
807
|
// Array#includes uses SameValueZero equality algorithm
|
@@ -668,26 +826,29 @@
|
|
668
826
|
indexOf: createMethod(false)
|
669
827
|
};
|
670
828
|
|
829
|
+
var uncurryThis$2 = functionUncurryThis;
|
830
|
+
var hasOwn$1 = hasOwnProperty_1;
|
831
|
+
var toIndexedObject = toIndexedObject$3;
|
671
832
|
var indexOf = arrayIncludes.indexOf;
|
833
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
672
834
|
|
673
|
-
|
674
|
-
var push = functionUncurryThis([].push);
|
835
|
+
var push = uncurryThis$2([].push);
|
675
836
|
|
676
837
|
var objectKeysInternal = function (object, names) {
|
677
838
|
var O = toIndexedObject(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(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(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$1 = functionUncurryThis;
|
880
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
881
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
882
|
+
var anObject = anObject$2;
|
719
883
|
|
720
|
-
var concat =
|
884
|
+
var concat = uncurryThis$1([].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$3 = fails$b;
|
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$3(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$4 = global$o;
|
761
934
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
935
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
936
|
+
var defineBuiltIn = defineBuiltIn$1;
|
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$4;
|
790
963
|
} else if (STATIC) {
|
791
|
-
target =
|
964
|
+
target = global$4[TARGET] || setGlobal(TARGET, {});
|
792
965
|
} else {
|
793
|
-
target = (
|
966
|
+
target = (global$4[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;
|
@@ -812,28 +985,42 @@
|
|
812
985
|
}
|
813
986
|
};
|
814
987
|
|
988
|
+
var classof$2 = 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$2(argument) == 'Array';
|
820
995
|
};
|
821
996
|
|
822
|
-
var
|
997
|
+
var toPropertyKey = toPropertyKey$3;
|
998
|
+
var definePropertyModule = objectDefineProperty;
|
999
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
1000
|
+
|
1001
|
+
var createProperty$1 = function (object, key, value) {
|
823
1002
|
var propertyKey = toPropertyKey(key);
|
824
|
-
if (propertyKey in object)
|
1003
|
+
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
825
1004
|
else object[propertyKey] = value;
|
826
1005
|
};
|
827
1006
|
|
828
|
-
var
|
1007
|
+
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
1008
|
+
|
1009
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
829
1010
|
var test = {};
|
830
1011
|
|
831
1012
|
test[TO_STRING_TAG$1] = 'z';
|
832
1013
|
|
833
1014
|
var toStringTagSupport = String(test) === '[object z]';
|
834
1015
|
|
835
|
-
var
|
836
|
-
var
|
1016
|
+
var global$3 = global$o;
|
1017
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
1018
|
+
var isCallable$1 = isCallable$c;
|
1019
|
+
var classofRaw = classofRaw$1;
|
1020
|
+
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
1021
|
+
|
1022
|
+
var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
|
1023
|
+
var Object$1 = global$3.Object;
|
837
1024
|
|
838
1025
|
// ES3 wrong here
|
839
1026
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
@@ -846,7 +1033,7 @@
|
|
846
1033
|
};
|
847
1034
|
|
848
1035
|
// getting tag from ES6+ `Object.prototype.toString`
|
849
|
-
var classof =
|
1036
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
850
1037
|
var O, tag, result;
|
851
1038
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
852
1039
|
// @@toStringTag case
|
@@ -854,14 +1041,21 @@
|
|
854
1041
|
// builtinTag case
|
855
1042
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
856
1043
|
// ES3 arguments fallback
|
857
|
-
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
1044
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
858
1045
|
};
|
859
1046
|
|
1047
|
+
var uncurryThis = functionUncurryThis;
|
1048
|
+
var fails$2 = fails$b;
|
1049
|
+
var isCallable = isCallable$c;
|
1050
|
+
var classof = classof$1;
|
1051
|
+
var getBuiltIn = getBuiltIn$4;
|
1052
|
+
var inspectSource = inspectSource$3;
|
1053
|
+
|
860
1054
|
var noop = function () { /* empty */ };
|
861
1055
|
var empty = [];
|
862
1056
|
var construct = getBuiltIn('Reflect', 'construct');
|
863
1057
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
864
|
-
var exec =
|
1058
|
+
var exec = uncurryThis(constructorRegExp.exec);
|
865
1059
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
866
1060
|
|
867
1061
|
var isConstructorModern = function isConstructor(argument) {
|
@@ -895,7 +1089,7 @@
|
|
895
1089
|
|
896
1090
|
// `IsConstructor` abstract operation
|
897
1091
|
// https://tc39.es/ecma262/#sec-isconstructor
|
898
|
-
var isConstructor = !construct || fails(function () {
|
1092
|
+
var isConstructor$1 = !construct || fails$2(function () {
|
899
1093
|
var called;
|
900
1094
|
return isConstructorModern(isConstructorModern.call)
|
901
1095
|
|| !isConstructorModern(Object)
|
@@ -903,37 +1097,49 @@
|
|
903
1097
|
|| called;
|
904
1098
|
}) ? isConstructorLegacy : isConstructorModern;
|
905
1099
|
|
906
|
-
var
|
907
|
-
var
|
1100
|
+
var global$2 = global$o;
|
1101
|
+
var isArray$1 = isArray$2;
|
1102
|
+
var isConstructor = isConstructor$1;
|
1103
|
+
var isObject$1 = isObject$7;
|
1104
|
+
var wellKnownSymbol$2 = wellKnownSymbol$6;
|
1105
|
+
|
1106
|
+
var SPECIES$1 = wellKnownSymbol$2('species');
|
1107
|
+
var Array$1 = global$2.Array;
|
908
1108
|
|
909
1109
|
// a part of `ArraySpeciesCreate` abstract operation
|
910
1110
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
911
|
-
var arraySpeciesConstructor = function (originalArray) {
|
1111
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
912
1112
|
var C;
|
913
|
-
if (isArray(originalArray)) {
|
1113
|
+
if (isArray$1(originalArray)) {
|
914
1114
|
C = originalArray.constructor;
|
915
1115
|
// cross-realm fallback
|
916
|
-
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
917
|
-
else if (isObject(C)) {
|
1116
|
+
if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
|
1117
|
+
else if (isObject$1(C)) {
|
918
1118
|
C = C[SPECIES$1];
|
919
1119
|
if (C === null) C = undefined;
|
920
1120
|
}
|
921
1121
|
} return C === undefined ? Array$1 : C;
|
922
1122
|
};
|
923
1123
|
|
1124
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
1125
|
+
|
924
1126
|
// `ArraySpeciesCreate` abstract operation
|
925
1127
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
926
|
-
var arraySpeciesCreate = function (originalArray, length) {
|
1128
|
+
var arraySpeciesCreate$1 = function (originalArray, length) {
|
927
1129
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
928
1130
|
};
|
929
1131
|
|
930
|
-
var
|
1132
|
+
var fails$1 = fails$b;
|
1133
|
+
var wellKnownSymbol$1 = wellKnownSymbol$6;
|
1134
|
+
var V8_VERSION$1 = engineV8Version;
|
931
1135
|
|
932
|
-
var
|
1136
|
+
var SPECIES = wellKnownSymbol$1('species');
|
1137
|
+
|
1138
|
+
var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
|
933
1139
|
// We can't use this feature detection in V8 since it causes
|
934
1140
|
// deoptimization and serious performance degradation
|
935
1141
|
// https://github.com/zloirock/core-js/issues/677
|
936
|
-
return
|
1142
|
+
return V8_VERSION$1 >= 51 || !fails$1(function () {
|
937
1143
|
var array = [];
|
938
1144
|
var constructor = array.constructor = {};
|
939
1145
|
constructor[SPECIES] = function () {
|
@@ -943,15 +1149,28 @@
|
|
943
1149
|
});
|
944
1150
|
};
|
945
1151
|
|
1152
|
+
var $ = _export;
|
1153
|
+
var global$1 = global$o;
|
1154
|
+
var fails = fails$b;
|
1155
|
+
var isArray = isArray$2;
|
1156
|
+
var isObject = isObject$7;
|
1157
|
+
var toObject = toObject$2;
|
1158
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
1159
|
+
var createProperty = createProperty$1;
|
1160
|
+
var arraySpeciesCreate = arraySpeciesCreate$1;
|
1161
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
1162
|
+
var wellKnownSymbol = wellKnownSymbol$6;
|
1163
|
+
var V8_VERSION = engineV8Version;
|
1164
|
+
|
946
1165
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
947
1166
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
948
1167
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
949
|
-
var TypeError =
|
1168
|
+
var TypeError = global$1.TypeError;
|
950
1169
|
|
951
1170
|
// We can't use this feature detection in V8 since it causes
|
952
1171
|
// deoptimization and serious performance degradation
|
953
1172
|
// https://github.com/zloirock/core-js/issues/679
|
954
|
-
var IS_CONCAT_SPREADABLE_SUPPORT =
|
1173
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
955
1174
|
var array = [];
|
956
1175
|
array[IS_CONCAT_SPREADABLE] = false;
|
957
1176
|
return array.concat()[0] !== array;
|
@@ -970,7 +1189,7 @@
|
|
970
1189
|
// `Array.prototype.concat` method
|
971
1190
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
972
1191
|
// with adding support of @@isConcatSpreadable and @@species
|
973
|
-
|
1192
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
974
1193
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
975
1194
|
concat: function concat(arg) {
|
976
1195
|
var O = toObject(this);
|