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/treegrid/bootstrap-table-treegrid.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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
|
function _classCallCheck(instance, Constructor) {
|
|
12
12
|
if (!(instance instanceof Constructor)) {
|
|
@@ -223,16 +223,12 @@
|
|
|
223
223
|
|
|
224
224
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
225
225
|
|
|
226
|
-
function createCommonjsModule(fn, module) {
|
|
227
|
-
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
226
|
var check = function (it) {
|
|
231
227
|
return it && it.Math == Math && it;
|
|
232
228
|
};
|
|
233
229
|
|
|
234
230
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
235
|
-
var
|
|
231
|
+
var global$q =
|
|
236
232
|
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
237
233
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
238
234
|
check(typeof window == 'object' && window) ||
|
|
@@ -242,7 +238,9 @@
|
|
|
242
238
|
// eslint-disable-next-line no-new-func -- fallback
|
|
243
239
|
(function () { return this; })() || Function('return this')();
|
|
244
240
|
|
|
245
|
-
var
|
|
241
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
242
|
+
|
|
243
|
+
var fails$d = function (exec) {
|
|
246
244
|
try {
|
|
247
245
|
return !!exec();
|
|
248
246
|
} catch (error) {
|
|
@@ -250,25 +248,33 @@
|
|
|
250
248
|
}
|
|
251
249
|
};
|
|
252
250
|
|
|
251
|
+
var fails$c = fails$d;
|
|
252
|
+
|
|
253
253
|
// Detect IE8's incomplete defineProperty implementation
|
|
254
|
-
var descriptors = !fails(function () {
|
|
254
|
+
var descriptors = !fails$c(function () {
|
|
255
255
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
256
256
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
257
257
|
});
|
|
258
258
|
|
|
259
|
-
var
|
|
259
|
+
var fails$b = fails$d;
|
|
260
|
+
|
|
261
|
+
var functionBindNative = !fails$b(function () {
|
|
260
262
|
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
261
263
|
var test = (function () { /* empty */ }).bind();
|
|
262
264
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
263
265
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
264
266
|
});
|
|
265
267
|
|
|
266
|
-
var
|
|
268
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
269
|
+
|
|
270
|
+
var call$4 = Function.prototype.call;
|
|
267
271
|
|
|
268
|
-
var functionCall =
|
|
269
|
-
return call$
|
|
272
|
+
var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
|
|
273
|
+
return call$4.apply(call$4, arguments);
|
|
270
274
|
};
|
|
271
275
|
|
|
276
|
+
var objectPropertyIsEnumerable = {};
|
|
277
|
+
|
|
272
278
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
273
279
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
274
280
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
@@ -278,16 +284,12 @@
|
|
|
278
284
|
|
|
279
285
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
280
286
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
281
|
-
|
|
287
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
282
288
|
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
283
289
|
return !!descriptor && descriptor.enumerable;
|
|
284
290
|
} : $propertyIsEnumerable;
|
|
285
291
|
|
|
286
|
-
var
|
|
287
|
-
f: f$4
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
var createPropertyDescriptor = function (bitmap, value) {
|
|
292
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
291
293
|
return {
|
|
292
294
|
enumerable: !(bitmap & 1),
|
|
293
295
|
configurable: !(bitmap & 2),
|
|
@@ -296,79 +298,102 @@
|
|
|
296
298
|
};
|
|
297
299
|
};
|
|
298
300
|
|
|
301
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
302
|
+
|
|
299
303
|
var FunctionPrototype$1 = Function.prototype;
|
|
300
|
-
var bind$
|
|
301
|
-
var call = FunctionPrototype$1.call;
|
|
302
|
-
var uncurryThis =
|
|
304
|
+
var bind$2 = FunctionPrototype$1.bind;
|
|
305
|
+
var call$3 = FunctionPrototype$1.call;
|
|
306
|
+
var uncurryThis$f = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
|
|
303
307
|
|
|
304
|
-
var functionUncurryThis =
|
|
305
|
-
return fn && uncurryThis(fn);
|
|
308
|
+
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
309
|
+
return fn && uncurryThis$f(fn);
|
|
306
310
|
} : function (fn) {
|
|
307
311
|
return fn && function () {
|
|
308
|
-
return call.apply(fn, arguments);
|
|
312
|
+
return call$3.apply(fn, arguments);
|
|
309
313
|
};
|
|
310
314
|
};
|
|
311
315
|
|
|
312
|
-
var
|
|
313
|
-
|
|
316
|
+
var uncurryThis$e = functionUncurryThis;
|
|
317
|
+
|
|
318
|
+
var toString$5 = uncurryThis$e({}.toString);
|
|
319
|
+
var stringSlice = uncurryThis$e(''.slice);
|
|
314
320
|
|
|
315
|
-
var classofRaw = function (it) {
|
|
316
|
-
return stringSlice(toString$
|
|
321
|
+
var classofRaw$1 = function (it) {
|
|
322
|
+
return stringSlice(toString$5(it), 8, -1);
|
|
317
323
|
};
|
|
318
324
|
|
|
319
|
-
var
|
|
320
|
-
var
|
|
325
|
+
var global$p = global$q;
|
|
326
|
+
var uncurryThis$d = functionUncurryThis;
|
|
327
|
+
var fails$a = fails$d;
|
|
328
|
+
var classof$5 = classofRaw$1;
|
|
329
|
+
|
|
330
|
+
var Object$4 = global$p.Object;
|
|
331
|
+
var split = uncurryThis$d(''.split);
|
|
321
332
|
|
|
322
333
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
323
|
-
var indexedObject = fails(function () {
|
|
334
|
+
var indexedObject = fails$a(function () {
|
|
324
335
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
325
336
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
326
337
|
return !Object$4('z').propertyIsEnumerable(0);
|
|
327
338
|
}) ? function (it) {
|
|
328
|
-
return
|
|
339
|
+
return classof$5(it) == 'String' ? split(it, '') : Object$4(it);
|
|
329
340
|
} : Object$4;
|
|
330
341
|
|
|
331
|
-
var
|
|
342
|
+
var global$o = global$q;
|
|
343
|
+
|
|
344
|
+
var TypeError$8 = global$o.TypeError;
|
|
332
345
|
|
|
333
346
|
// `RequireObjectCoercible` abstract operation
|
|
334
347
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
335
|
-
var requireObjectCoercible = function (it) {
|
|
348
|
+
var requireObjectCoercible$3 = function (it) {
|
|
336
349
|
if (it == undefined) throw TypeError$8("Can't call method on " + it);
|
|
337
350
|
return it;
|
|
338
351
|
};
|
|
339
352
|
|
|
340
353
|
// toObject with fallback for non-array-like ES3 strings
|
|
354
|
+
var IndexedObject$2 = indexedObject;
|
|
355
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
341
356
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
var toIndexedObject = function (it) {
|
|
345
|
-
return indexedObject(requireObjectCoercible(it));
|
|
357
|
+
var toIndexedObject$4 = function (it) {
|
|
358
|
+
return IndexedObject$2(requireObjectCoercible$2(it));
|
|
346
359
|
};
|
|
347
360
|
|
|
348
361
|
// `IsCallable` abstract operation
|
|
349
362
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
350
|
-
var isCallable = function (argument) {
|
|
363
|
+
var isCallable$c = function (argument) {
|
|
351
364
|
return typeof argument == 'function';
|
|
352
365
|
};
|
|
353
366
|
|
|
354
|
-
var
|
|
355
|
-
|
|
367
|
+
var isCallable$b = isCallable$c;
|
|
368
|
+
|
|
369
|
+
var isObject$7 = function (it) {
|
|
370
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
356
371
|
};
|
|
357
372
|
|
|
373
|
+
var global$n = global$q;
|
|
374
|
+
var isCallable$a = isCallable$c;
|
|
375
|
+
|
|
358
376
|
var aFunction = function (argument) {
|
|
359
|
-
return isCallable(argument) ? argument : undefined;
|
|
377
|
+
return isCallable$a(argument) ? argument : undefined;
|
|
360
378
|
};
|
|
361
379
|
|
|
362
|
-
var getBuiltIn = function (namespace, method) {
|
|
363
|
-
return arguments.length < 2 ? aFunction(
|
|
380
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
381
|
+
return arguments.length < 2 ? aFunction(global$n[namespace]) : global$n[namespace] && global$n[namespace][method];
|
|
364
382
|
};
|
|
365
383
|
|
|
366
|
-
var
|
|
384
|
+
var uncurryThis$c = functionUncurryThis;
|
|
385
|
+
|
|
386
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
367
387
|
|
|
368
|
-
var
|
|
388
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
369
389
|
|
|
370
|
-
var
|
|
371
|
-
|
|
390
|
+
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
391
|
+
|
|
392
|
+
var global$m = global$q;
|
|
393
|
+
var userAgent = engineUserAgent;
|
|
394
|
+
|
|
395
|
+
var process = global$m.process;
|
|
396
|
+
var Deno = global$m.Deno;
|
|
372
397
|
var versions = process && process.versions || Deno && Deno.version;
|
|
373
398
|
var v8 = versions && versions.v8;
|
|
374
399
|
var match, version;
|
|
@@ -382,10 +407,10 @@
|
|
|
382
407
|
|
|
383
408
|
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
384
409
|
// so check `userAgent` even if `.v8` exists, but 0
|
|
385
|
-
if (!version &&
|
|
386
|
-
match =
|
|
410
|
+
if (!version && userAgent) {
|
|
411
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
387
412
|
if (!match || match[1] >= 74) {
|
|
388
|
-
match =
|
|
413
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
389
414
|
if (match) version = +match[1];
|
|
390
415
|
}
|
|
391
416
|
}
|
|
@@ -394,37 +419,47 @@
|
|
|
394
419
|
|
|
395
420
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
396
421
|
|
|
397
|
-
|
|
422
|
+
var V8_VERSION$2 = engineV8Version;
|
|
423
|
+
var fails$9 = fails$d;
|
|
398
424
|
|
|
399
425
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
400
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
426
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$9(function () {
|
|
401
427
|
var symbol = Symbol();
|
|
402
428
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
403
429
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
404
430
|
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
405
431
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
406
|
-
!Symbol.sham &&
|
|
432
|
+
!Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
|
|
407
433
|
});
|
|
408
434
|
|
|
409
435
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
410
436
|
|
|
437
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
411
438
|
|
|
412
|
-
var useSymbolAsUid =
|
|
439
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
413
440
|
&& !Symbol.sham
|
|
414
441
|
&& typeof Symbol.iterator == 'symbol';
|
|
415
442
|
|
|
416
|
-
var
|
|
443
|
+
var global$l = global$q;
|
|
444
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
445
|
+
var isCallable$9 = isCallable$c;
|
|
446
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
447
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
417
448
|
|
|
418
|
-
var
|
|
449
|
+
var Object$3 = global$l.Object;
|
|
450
|
+
|
|
451
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
419
452
|
return typeof it == 'symbol';
|
|
420
453
|
} : function (it) {
|
|
421
|
-
var $Symbol = getBuiltIn('Symbol');
|
|
422
|
-
return isCallable($Symbol) &&
|
|
454
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
|
455
|
+
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
423
456
|
};
|
|
424
457
|
|
|
425
|
-
var
|
|
458
|
+
var global$k = global$q;
|
|
459
|
+
|
|
460
|
+
var String$3 = global$k.String;
|
|
426
461
|
|
|
427
|
-
var tryToString = function (argument) {
|
|
462
|
+
var tryToString$1 = function (argument) {
|
|
428
463
|
try {
|
|
429
464
|
return String$3(argument);
|
|
430
465
|
} catch (error) {
|
|
@@ -432,97 +467,130 @@
|
|
|
432
467
|
}
|
|
433
468
|
};
|
|
434
469
|
|
|
435
|
-
var
|
|
470
|
+
var global$j = global$q;
|
|
471
|
+
var isCallable$8 = isCallable$c;
|
|
472
|
+
var tryToString = tryToString$1;
|
|
473
|
+
|
|
474
|
+
var TypeError$7 = global$j.TypeError;
|
|
436
475
|
|
|
437
476
|
// `Assert: IsCallable(argument) is true`
|
|
438
|
-
var aCallable = function (argument) {
|
|
439
|
-
if (isCallable(argument)) return argument;
|
|
477
|
+
var aCallable$2 = function (argument) {
|
|
478
|
+
if (isCallable$8(argument)) return argument;
|
|
440
479
|
throw TypeError$7(tryToString(argument) + ' is not a function');
|
|
441
480
|
};
|
|
442
481
|
|
|
482
|
+
var aCallable$1 = aCallable$2;
|
|
483
|
+
|
|
443
484
|
// `GetMethod` abstract operation
|
|
444
485
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
445
|
-
var getMethod = function (V, P) {
|
|
486
|
+
var getMethod$1 = function (V, P) {
|
|
446
487
|
var func = V[P];
|
|
447
|
-
return func == null ? undefined : aCallable(func);
|
|
488
|
+
return func == null ? undefined : aCallable$1(func);
|
|
448
489
|
};
|
|
449
490
|
|
|
450
|
-
var
|
|
491
|
+
var global$i = global$q;
|
|
492
|
+
var call$2 = functionCall;
|
|
493
|
+
var isCallable$7 = isCallable$c;
|
|
494
|
+
var isObject$6 = isObject$7;
|
|
495
|
+
|
|
496
|
+
var TypeError$6 = global$i.TypeError;
|
|
451
497
|
|
|
452
498
|
// `OrdinaryToPrimitive` abstract operation
|
|
453
499
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
454
|
-
var ordinaryToPrimitive = function (input, pref) {
|
|
500
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
455
501
|
var fn, val;
|
|
456
|
-
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
457
|
-
if (isCallable(fn = input.valueOf) && !isObject(val =
|
|
458
|
-
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val =
|
|
502
|
+
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
|
503
|
+
if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val;
|
|
504
|
+
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
|
459
505
|
throw TypeError$6("Can't convert object to primitive value");
|
|
460
506
|
};
|
|
461
507
|
|
|
508
|
+
var shared$3 = {exports: {}};
|
|
509
|
+
|
|
510
|
+
var global$h = global$q;
|
|
511
|
+
|
|
462
512
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
463
|
-
var defineProperty = Object.defineProperty;
|
|
513
|
+
var defineProperty$1 = Object.defineProperty;
|
|
464
514
|
|
|
465
|
-
var setGlobal = function (key, value) {
|
|
515
|
+
var setGlobal$3 = function (key, value) {
|
|
466
516
|
try {
|
|
467
|
-
defineProperty(
|
|
517
|
+
defineProperty$1(global$h, key, { value: value, configurable: true, writable: true });
|
|
468
518
|
} catch (error) {
|
|
469
|
-
|
|
519
|
+
global$h[key] = value;
|
|
470
520
|
} return value;
|
|
471
521
|
};
|
|
472
522
|
|
|
523
|
+
var global$g = global$q;
|
|
524
|
+
var setGlobal$2 = setGlobal$3;
|
|
525
|
+
|
|
473
526
|
var SHARED = '__core-js_shared__';
|
|
474
|
-
var store$
|
|
527
|
+
var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
|
|
475
528
|
|
|
476
|
-
var sharedStore = store$
|
|
529
|
+
var sharedStore = store$3;
|
|
477
530
|
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
|
|
531
|
+
var store$2 = sharedStore;
|
|
532
|
+
|
|
533
|
+
(shared$3.exports = function (key, value) {
|
|
534
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
481
535
|
})('versions', []).push({
|
|
482
|
-
version: '3.22.
|
|
536
|
+
version: '3.22.5',
|
|
483
537
|
mode: 'global',
|
|
484
538
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
485
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
539
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
486
540
|
source: 'https://github.com/zloirock/core-js'
|
|
487
541
|
});
|
|
488
|
-
});
|
|
489
542
|
|
|
490
|
-
var
|
|
543
|
+
var global$f = global$q;
|
|
544
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
545
|
+
|
|
546
|
+
var Object$2 = global$f.Object;
|
|
491
547
|
|
|
492
548
|
// `ToObject` abstract operation
|
|
493
549
|
// https://tc39.es/ecma262/#sec-toobject
|
|
494
|
-
var toObject = function (argument) {
|
|
495
|
-
return Object$2(requireObjectCoercible(argument));
|
|
550
|
+
var toObject$3 = function (argument) {
|
|
551
|
+
return Object$2(requireObjectCoercible$1(argument));
|
|
496
552
|
};
|
|
497
553
|
|
|
498
|
-
var
|
|
554
|
+
var uncurryThis$b = functionUncurryThis;
|
|
555
|
+
var toObject$2 = toObject$3;
|
|
556
|
+
|
|
557
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
499
558
|
|
|
500
559
|
// `HasOwnProperty` abstract operation
|
|
501
560
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
502
561
|
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
503
562
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
504
|
-
return hasOwnProperty(toObject(it), key);
|
|
563
|
+
return hasOwnProperty(toObject$2(it), key);
|
|
505
564
|
};
|
|
506
565
|
|
|
566
|
+
var uncurryThis$a = functionUncurryThis;
|
|
567
|
+
|
|
507
568
|
var id = 0;
|
|
508
569
|
var postfix = Math.random();
|
|
509
|
-
var toString =
|
|
570
|
+
var toString$4 = uncurryThis$a(1.0.toString);
|
|
510
571
|
|
|
511
|
-
var uid = function (key) {
|
|
512
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
572
|
+
var uid$2 = function (key) {
|
|
573
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
513
574
|
};
|
|
514
575
|
|
|
515
|
-
var
|
|
516
|
-
var
|
|
576
|
+
var global$e = global$q;
|
|
577
|
+
var shared$2 = shared$3.exports;
|
|
578
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
579
|
+
var uid$1 = uid$2;
|
|
580
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
581
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
582
|
+
|
|
583
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
584
|
+
var Symbol$2 = global$e.Symbol;
|
|
517
585
|
var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
518
|
-
var createWellKnownSymbol =
|
|
586
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
519
587
|
|
|
520
|
-
var wellKnownSymbol = function (name) {
|
|
521
|
-
if (!
|
|
588
|
+
var wellKnownSymbol$6 = function (name) {
|
|
589
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
522
590
|
var description = 'Symbol.' + name;
|
|
523
|
-
if (
|
|
591
|
+
if (NATIVE_SYMBOL && hasOwn$6(Symbol$2, name)) {
|
|
524
592
|
WellKnownSymbolsStore[name] = Symbol$2[name];
|
|
525
|
-
} else if (
|
|
593
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
526
594
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
527
595
|
} else {
|
|
528
596
|
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
@@ -530,69 +598,97 @@
|
|
|
530
598
|
} return WellKnownSymbolsStore[name];
|
|
531
599
|
};
|
|
532
600
|
|
|
533
|
-
var
|
|
534
|
-
var
|
|
601
|
+
var global$d = global$q;
|
|
602
|
+
var call$1 = functionCall;
|
|
603
|
+
var isObject$5 = isObject$7;
|
|
604
|
+
var isSymbol$1 = isSymbol$2;
|
|
605
|
+
var getMethod = getMethod$1;
|
|
606
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
607
|
+
var wellKnownSymbol$5 = wellKnownSymbol$6;
|
|
608
|
+
|
|
609
|
+
var TypeError$5 = global$d.TypeError;
|
|
610
|
+
var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
|
|
535
611
|
|
|
536
612
|
// `ToPrimitive` abstract operation
|
|
537
613
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
538
|
-
var toPrimitive = function (input, pref) {
|
|
539
|
-
if (!isObject(input) || isSymbol(input)) return input;
|
|
614
|
+
var toPrimitive$1 = function (input, pref) {
|
|
615
|
+
if (!isObject$5(input) || isSymbol$1(input)) return input;
|
|
540
616
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
541
617
|
var result;
|
|
542
618
|
if (exoticToPrim) {
|
|
543
619
|
if (pref === undefined) pref = 'default';
|
|
544
|
-
result =
|
|
545
|
-
if (!isObject(result) || isSymbol(result)) return result;
|
|
620
|
+
result = call$1(exoticToPrim, input, pref);
|
|
621
|
+
if (!isObject$5(result) || isSymbol$1(result)) return result;
|
|
546
622
|
throw TypeError$5("Can't convert object to primitive value");
|
|
547
623
|
}
|
|
548
624
|
if (pref === undefined) pref = 'number';
|
|
549
625
|
return ordinaryToPrimitive(input, pref);
|
|
550
626
|
};
|
|
551
627
|
|
|
628
|
+
var toPrimitive = toPrimitive$1;
|
|
629
|
+
var isSymbol = isSymbol$2;
|
|
630
|
+
|
|
552
631
|
// `ToPropertyKey` abstract operation
|
|
553
632
|
// https://tc39.es/ecma262/#sec-topropertykey
|
|
554
|
-
var toPropertyKey = function (argument) {
|
|
633
|
+
var toPropertyKey$3 = function (argument) {
|
|
555
634
|
var key = toPrimitive(argument, 'string');
|
|
556
635
|
return isSymbol(key) ? key : key + '';
|
|
557
636
|
};
|
|
558
637
|
|
|
559
|
-
var
|
|
638
|
+
var global$c = global$q;
|
|
639
|
+
var isObject$4 = isObject$7;
|
|
640
|
+
|
|
641
|
+
var document = global$c.document;
|
|
560
642
|
// typeof document.createElement is 'object' in old IE
|
|
561
|
-
var EXISTS$1 = isObject(document) && isObject(document.createElement);
|
|
643
|
+
var EXISTS$1 = isObject$4(document) && isObject$4(document.createElement);
|
|
562
644
|
|
|
563
645
|
var documentCreateElement = function (it) {
|
|
564
646
|
return EXISTS$1 ? document.createElement(it) : {};
|
|
565
647
|
};
|
|
566
648
|
|
|
649
|
+
var DESCRIPTORS$6 = descriptors;
|
|
650
|
+
var fails$8 = fails$d;
|
|
651
|
+
var createElement = documentCreateElement;
|
|
652
|
+
|
|
567
653
|
// Thanks to IE8 for its funny defineProperty
|
|
568
|
-
var ie8DomDefine = !
|
|
654
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$8(function () {
|
|
569
655
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
570
|
-
return Object.defineProperty(
|
|
656
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
571
657
|
get: function () { return 7; }
|
|
572
658
|
}).a != 7;
|
|
573
659
|
});
|
|
574
660
|
|
|
661
|
+
var DESCRIPTORS$5 = descriptors;
|
|
662
|
+
var call = functionCall;
|
|
663
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
664
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
665
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
|
666
|
+
var toPropertyKey$2 = toPropertyKey$3;
|
|
667
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
668
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
669
|
+
|
|
575
670
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
576
671
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
577
672
|
|
|
578
673
|
// `Object.getOwnPropertyDescriptor` method
|
|
579
674
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
580
|
-
|
|
581
|
-
O = toIndexedObject(O);
|
|
582
|
-
P = toPropertyKey(P);
|
|
583
|
-
if (
|
|
675
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
676
|
+
O = toIndexedObject$3(O);
|
|
677
|
+
P = toPropertyKey$2(P);
|
|
678
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
584
679
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
585
680
|
} catch (error) { /* empty */ }
|
|
586
|
-
if (
|
|
681
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
587
682
|
};
|
|
588
683
|
|
|
589
|
-
var
|
|
590
|
-
|
|
591
|
-
|
|
684
|
+
var objectDefineProperty = {};
|
|
685
|
+
|
|
686
|
+
var DESCRIPTORS$4 = descriptors;
|
|
687
|
+
var fails$7 = fails$d;
|
|
592
688
|
|
|
593
689
|
// V8 ~ Chrome 36-
|
|
594
690
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
595
|
-
var v8PrototypeDefineBug =
|
|
691
|
+
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$7(function () {
|
|
596
692
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
597
693
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
598
694
|
value: 42,
|
|
@@ -600,16 +696,26 @@
|
|
|
600
696
|
}).prototype != 42;
|
|
601
697
|
});
|
|
602
698
|
|
|
603
|
-
var
|
|
604
|
-
var
|
|
699
|
+
var global$b = global$q;
|
|
700
|
+
var isObject$3 = isObject$7;
|
|
701
|
+
|
|
702
|
+
var String$2 = global$b.String;
|
|
703
|
+
var TypeError$4 = global$b.TypeError;
|
|
605
704
|
|
|
606
705
|
// `Assert: Type(argument) is Object`
|
|
607
|
-
var anObject = function (argument) {
|
|
608
|
-
if (isObject(argument)) return argument;
|
|
706
|
+
var anObject$2 = function (argument) {
|
|
707
|
+
if (isObject$3(argument)) return argument;
|
|
609
708
|
throw TypeError$4(String$2(argument) + ' is not an object');
|
|
610
709
|
};
|
|
611
710
|
|
|
612
|
-
var
|
|
711
|
+
var global$a = global$q;
|
|
712
|
+
var DESCRIPTORS$3 = descriptors;
|
|
713
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
714
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
715
|
+
var anObject$1 = anObject$2;
|
|
716
|
+
var toPropertyKey$1 = toPropertyKey$3;
|
|
717
|
+
|
|
718
|
+
var TypeError$3 = global$a.TypeError;
|
|
613
719
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
614
720
|
var $defineProperty = Object.defineProperty;
|
|
615
721
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -620,10 +726,10 @@
|
|
|
620
726
|
|
|
621
727
|
// `Object.defineProperty` method
|
|
622
728
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
623
|
-
|
|
624
|
-
anObject(O);
|
|
625
|
-
P = toPropertyKey(P);
|
|
626
|
-
anObject(Attributes);
|
|
729
|
+
objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
730
|
+
anObject$1(O);
|
|
731
|
+
P = toPropertyKey$1(P);
|
|
732
|
+
anObject$1(Attributes);
|
|
627
733
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
628
734
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
629
735
|
if (current && current[WRITABLE]) {
|
|
@@ -636,10 +742,10 @@
|
|
|
636
742
|
}
|
|
637
743
|
} return $defineProperty(O, P, Attributes);
|
|
638
744
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
639
|
-
anObject(O);
|
|
640
|
-
P = toPropertyKey(P);
|
|
641
|
-
anObject(Attributes);
|
|
642
|
-
if (
|
|
745
|
+
anObject$1(O);
|
|
746
|
+
P = toPropertyKey$1(P);
|
|
747
|
+
anObject$1(Attributes);
|
|
748
|
+
if (IE8_DOM_DEFINE) try {
|
|
643
749
|
return $defineProperty(O, P, Attributes);
|
|
644
750
|
} catch (error) { /* empty */ }
|
|
645
751
|
if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
|
|
@@ -647,25 +753,30 @@
|
|
|
647
753
|
return O;
|
|
648
754
|
};
|
|
649
755
|
|
|
650
|
-
var
|
|
651
|
-
|
|
652
|
-
|
|
756
|
+
var DESCRIPTORS$2 = descriptors;
|
|
757
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
758
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
653
759
|
|
|
654
|
-
var createNonEnumerableProperty =
|
|
655
|
-
return
|
|
760
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
|
|
761
|
+
return definePropertyModule$2.f(object, key, createPropertyDescriptor$1(1, value));
|
|
656
762
|
} : function (object, key, value) {
|
|
657
763
|
object[key] = value;
|
|
658
764
|
return object;
|
|
659
765
|
};
|
|
660
766
|
|
|
767
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
768
|
+
|
|
769
|
+
var DESCRIPTORS$1 = descriptors;
|
|
770
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
771
|
+
|
|
661
772
|
var FunctionPrototype = Function.prototype;
|
|
662
773
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
663
|
-
var getDescriptor =
|
|
774
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
664
775
|
|
|
665
|
-
var EXISTS =
|
|
776
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
666
777
|
// additional protection from minified / mangled / dropped function names
|
|
667
778
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
668
|
-
var CONFIGURABLE = EXISTS && (!
|
|
779
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
669
780
|
|
|
670
781
|
var functionName = {
|
|
671
782
|
EXISTS: EXISTS,
|
|
@@ -673,32 +784,53 @@
|
|
|
673
784
|
CONFIGURABLE: CONFIGURABLE
|
|
674
785
|
};
|
|
675
786
|
|
|
676
|
-
var
|
|
787
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
788
|
+
var isCallable$6 = isCallable$c;
|
|
789
|
+
var store$1 = sharedStore;
|
|
790
|
+
|
|
791
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
677
792
|
|
|
678
793
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
679
|
-
if (!isCallable(
|
|
680
|
-
|
|
794
|
+
if (!isCallable$6(store$1.inspectSource)) {
|
|
795
|
+
store$1.inspectSource = function (it) {
|
|
681
796
|
return functionToString(it);
|
|
682
797
|
};
|
|
683
798
|
}
|
|
684
799
|
|
|
685
|
-
var inspectSource =
|
|
800
|
+
var inspectSource$3 = store$1.inspectSource;
|
|
801
|
+
|
|
802
|
+
var global$9 = global$q;
|
|
803
|
+
var isCallable$5 = isCallable$c;
|
|
804
|
+
var inspectSource$2 = inspectSource$3;
|
|
686
805
|
|
|
687
|
-
var WeakMap$1 =
|
|
806
|
+
var WeakMap$1 = global$9.WeakMap;
|
|
688
807
|
|
|
689
|
-
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
|
808
|
+
var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
690
809
|
|
|
691
|
-
var
|
|
810
|
+
var shared$1 = shared$3.exports;
|
|
811
|
+
var uid = uid$2;
|
|
692
812
|
|
|
693
|
-
var
|
|
813
|
+
var keys = shared$1('keys');
|
|
814
|
+
|
|
815
|
+
var sharedKey$1 = function (key) {
|
|
694
816
|
return keys[key] || (keys[key] = uid(key));
|
|
695
817
|
};
|
|
696
818
|
|
|
697
|
-
var hiddenKeys$
|
|
819
|
+
var hiddenKeys$3 = {};
|
|
820
|
+
|
|
821
|
+
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
822
|
+
var global$8 = global$q;
|
|
823
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
824
|
+
var isObject$2 = isObject$7;
|
|
825
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
826
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
827
|
+
var shared = sharedStore;
|
|
828
|
+
var sharedKey = sharedKey$1;
|
|
829
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
|
698
830
|
|
|
699
831
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
700
|
-
var TypeError$2 =
|
|
701
|
-
var WeakMap =
|
|
832
|
+
var TypeError$2 = global$8.TypeError;
|
|
833
|
+
var WeakMap = global$8.WeakMap;
|
|
702
834
|
var set, get, has;
|
|
703
835
|
|
|
704
836
|
var enforce = function (it) {
|
|
@@ -708,17 +840,17 @@
|
|
|
708
840
|
var getterFor = function (TYPE) {
|
|
709
841
|
return function (it) {
|
|
710
842
|
var state;
|
|
711
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
843
|
+
if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
|
|
712
844
|
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
713
845
|
} return state;
|
|
714
846
|
};
|
|
715
847
|
};
|
|
716
848
|
|
|
717
|
-
if (
|
|
718
|
-
var store =
|
|
719
|
-
var wmget =
|
|
720
|
-
var wmhas =
|
|
721
|
-
var wmset =
|
|
849
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
850
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
851
|
+
var wmget = uncurryThis$8(store.get);
|
|
852
|
+
var wmhas = uncurryThis$8(store.has);
|
|
853
|
+
var wmset = uncurryThis$8(store.set);
|
|
722
854
|
set = function (it, metadata) {
|
|
723
855
|
if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
724
856
|
metadata.facade = it;
|
|
@@ -733,18 +865,18 @@
|
|
|
733
865
|
};
|
|
734
866
|
} else {
|
|
735
867
|
var STATE = sharedKey('state');
|
|
736
|
-
hiddenKeys$
|
|
868
|
+
hiddenKeys$2[STATE] = true;
|
|
737
869
|
set = function (it, metadata) {
|
|
738
|
-
if (
|
|
870
|
+
if (hasOwn$3(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
739
871
|
metadata.facade = it;
|
|
740
|
-
createNonEnumerableProperty(it, STATE, metadata);
|
|
872
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
741
873
|
return metadata;
|
|
742
874
|
};
|
|
743
875
|
get = function (it) {
|
|
744
|
-
return
|
|
876
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
745
877
|
};
|
|
746
878
|
has = function (it) {
|
|
747
|
-
return
|
|
879
|
+
return hasOwn$3(it, STATE);
|
|
748
880
|
};
|
|
749
881
|
}
|
|
750
882
|
|
|
@@ -756,55 +888,69 @@
|
|
|
756
888
|
getterFor: getterFor
|
|
757
889
|
};
|
|
758
890
|
|
|
759
|
-
var
|
|
760
|
-
var
|
|
891
|
+
var fails$6 = fails$d;
|
|
892
|
+
var isCallable$4 = isCallable$c;
|
|
893
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
894
|
+
var DESCRIPTORS = descriptors;
|
|
761
895
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
896
|
+
var inspectSource$1 = inspectSource$3;
|
|
897
|
+
var InternalStateModule = internalState;
|
|
762
898
|
|
|
899
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
900
|
+
var getInternalState = InternalStateModule.get;
|
|
901
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
902
|
+
var defineProperty = Object.defineProperty;
|
|
763
903
|
|
|
764
|
-
|
|
765
|
-
var enforceInternalState = internalState.enforce;
|
|
766
|
-
var getInternalState = internalState.get;
|
|
767
|
-
|
|
768
|
-
var CONFIGURABLE_LENGTH = !fails(function () {
|
|
904
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$6(function () {
|
|
769
905
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
770
906
|
});
|
|
771
907
|
|
|
772
908
|
var TEMPLATE = String(String).split('String');
|
|
773
909
|
|
|
774
|
-
var makeBuiltIn =
|
|
910
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
775
911
|
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
776
912
|
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
777
913
|
}
|
|
778
914
|
if (options && options.getter) name = 'get ' + name;
|
|
779
915
|
if (options && options.setter) name = 'set ' + name;
|
|
780
|
-
if (!
|
|
916
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
781
917
|
defineProperty(value, 'name', { value: name, configurable: true });
|
|
782
918
|
}
|
|
783
|
-
if (CONFIGURABLE_LENGTH && options &&
|
|
919
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
784
920
|
defineProperty(value, 'length', { value: options.arity });
|
|
785
921
|
}
|
|
922
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
923
|
+
if (DESCRIPTORS) try {
|
|
924
|
+
defineProperty(value, 'prototype', { writable: false });
|
|
925
|
+
} catch (error) { /* empty */ }
|
|
926
|
+
} else value.prototype = undefined;
|
|
786
927
|
var state = enforceInternalState(value);
|
|
787
|
-
if (!
|
|
928
|
+
if (!hasOwn$2(state, 'source')) {
|
|
788
929
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
789
930
|
} return value;
|
|
790
931
|
};
|
|
791
932
|
|
|
792
933
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
793
934
|
// eslint-disable-next-line no-extend-native -- required
|
|
794
|
-
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
795
|
-
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
935
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
936
|
+
return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
|
|
796
937
|
}, 'toString');
|
|
797
|
-
});
|
|
798
938
|
|
|
799
|
-
var
|
|
939
|
+
var global$7 = global$q;
|
|
940
|
+
var isCallable$3 = isCallable$c;
|
|
941
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
942
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
943
|
+
var setGlobal$1 = setGlobal$3;
|
|
944
|
+
|
|
945
|
+
var defineBuiltIn$2 = function (O, key, value, options) {
|
|
800
946
|
var unsafe = options ? !!options.unsafe : false;
|
|
801
947
|
var simple = options ? !!options.enumerable : false;
|
|
802
948
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
803
949
|
var name = options && options.name !== undefined ? options.name : key;
|
|
804
|
-
if (isCallable(value))
|
|
805
|
-
if (O ===
|
|
950
|
+
if (isCallable$3(value)) makeBuiltIn(value, name, options);
|
|
951
|
+
if (O === global$7) {
|
|
806
952
|
if (simple) O[key] = value;
|
|
807
|
-
else setGlobal(key, value);
|
|
953
|
+
else setGlobal$1(key, value);
|
|
808
954
|
return O;
|
|
809
955
|
} else if (!unsafe) {
|
|
810
956
|
delete O[key];
|
|
@@ -812,51 +958,63 @@
|
|
|
812
958
|
simple = true;
|
|
813
959
|
}
|
|
814
960
|
if (simple) O[key] = value;
|
|
815
|
-
else createNonEnumerableProperty(O, key, value);
|
|
961
|
+
else createNonEnumerableProperty$1(O, key, value);
|
|
816
962
|
return O;
|
|
817
963
|
};
|
|
818
964
|
|
|
965
|
+
var objectGetOwnPropertyNames = {};
|
|
966
|
+
|
|
819
967
|
var ceil = Math.ceil;
|
|
820
968
|
var floor = Math.floor;
|
|
821
969
|
|
|
822
970
|
// `ToIntegerOrInfinity` abstract operation
|
|
823
971
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
824
|
-
var toIntegerOrInfinity = function (argument) {
|
|
972
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
825
973
|
var number = +argument;
|
|
826
974
|
// eslint-disable-next-line no-self-compare -- safe
|
|
827
975
|
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
828
976
|
};
|
|
829
977
|
|
|
978
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
979
|
+
|
|
830
980
|
var max = Math.max;
|
|
831
981
|
var min$1 = Math.min;
|
|
832
982
|
|
|
833
983
|
// Helper for a popular repeating case of the spec:
|
|
834
984
|
// Let integer be ? ToInteger(index).
|
|
835
985
|
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
836
|
-
var toAbsoluteIndex = function (index, length) {
|
|
837
|
-
var integer = toIntegerOrInfinity(index);
|
|
986
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
987
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
838
988
|
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
839
989
|
};
|
|
840
990
|
|
|
991
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
992
|
+
|
|
841
993
|
var min = Math.min;
|
|
842
994
|
|
|
843
995
|
// `ToLength` abstract operation
|
|
844
996
|
// https://tc39.es/ecma262/#sec-tolength
|
|
845
|
-
var toLength = function (argument) {
|
|
997
|
+
var toLength$1 = function (argument) {
|
|
846
998
|
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
847
999
|
};
|
|
848
1000
|
|
|
1001
|
+
var toLength = toLength$1;
|
|
1002
|
+
|
|
849
1003
|
// `LengthOfArrayLike` abstract operation
|
|
850
1004
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
851
|
-
var lengthOfArrayLike = function (obj) {
|
|
1005
|
+
var lengthOfArrayLike$3 = function (obj) {
|
|
852
1006
|
return toLength(obj.length);
|
|
853
1007
|
};
|
|
854
1008
|
|
|
1009
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
|
1010
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1011
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
1012
|
+
|
|
855
1013
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
856
1014
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
857
1015
|
return function ($this, el, fromIndex) {
|
|
858
|
-
var O = toIndexedObject($this);
|
|
859
|
-
var length = lengthOfArrayLike(O);
|
|
1016
|
+
var O = toIndexedObject$2($this);
|
|
1017
|
+
var length = lengthOfArrayLike$2(O);
|
|
860
1018
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
861
1019
|
var value;
|
|
862
1020
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -881,26 +1039,29 @@
|
|
|
881
1039
|
indexOf: createMethod$2(false)
|
|
882
1040
|
};
|
|
883
1041
|
|
|
1042
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1043
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1044
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
|
884
1045
|
var indexOf = arrayIncludes.indexOf;
|
|
1046
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
|
885
1047
|
|
|
886
|
-
|
|
887
|
-
var push$1 = functionUncurryThis([].push);
|
|
1048
|
+
var push$1 = uncurryThis$7([].push);
|
|
888
1049
|
|
|
889
1050
|
var objectKeysInternal = function (object, names) {
|
|
890
|
-
var O = toIndexedObject(object);
|
|
1051
|
+
var O = toIndexedObject$1(object);
|
|
891
1052
|
var i = 0;
|
|
892
1053
|
var result = [];
|
|
893
1054
|
var key;
|
|
894
|
-
for (key in O) !
|
|
1055
|
+
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push$1(result, key);
|
|
895
1056
|
// Don't enum bug & hidden keys
|
|
896
|
-
while (names.length > i) if (
|
|
1057
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
897
1058
|
~indexOf(result, key) || push$1(result, key);
|
|
898
1059
|
}
|
|
899
1060
|
return result;
|
|
900
1061
|
};
|
|
901
1062
|
|
|
902
1063
|
// IE8- don't enum bug keys
|
|
903
|
-
var enumBugKeys = [
|
|
1064
|
+
var enumBugKeys$1 = [
|
|
904
1065
|
'constructor',
|
|
905
1066
|
'hasOwnProperty',
|
|
906
1067
|
'isPrototypeOf',
|
|
@@ -910,73 +1071,85 @@
|
|
|
910
1071
|
'valueOf'
|
|
911
1072
|
];
|
|
912
1073
|
|
|
1074
|
+
var internalObjectKeys = objectKeysInternal;
|
|
1075
|
+
var enumBugKeys = enumBugKeys$1;
|
|
1076
|
+
|
|
913
1077
|
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
914
1078
|
|
|
915
1079
|
// `Object.getOwnPropertyNames` method
|
|
916
1080
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
917
1081
|
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
918
|
-
|
|
919
|
-
return
|
|
1082
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1083
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
920
1084
|
};
|
|
921
1085
|
|
|
922
|
-
var
|
|
923
|
-
f: f$1
|
|
924
|
-
};
|
|
1086
|
+
var objectGetOwnPropertySymbols = {};
|
|
925
1087
|
|
|
926
1088
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
927
|
-
|
|
1089
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
928
1090
|
|
|
929
|
-
var
|
|
930
|
-
|
|
931
|
-
|
|
1091
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
1092
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1093
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1094
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1095
|
+
var anObject = anObject$2;
|
|
932
1096
|
|
|
933
|
-
var concat =
|
|
1097
|
+
var concat = uncurryThis$6([].concat);
|
|
934
1098
|
|
|
935
1099
|
// all object keys, includes non-enumerable and symbols
|
|
936
|
-
var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
937
|
-
var keys =
|
|
938
|
-
var getOwnPropertySymbols =
|
|
1100
|
+
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1101
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
1102
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
939
1103
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
940
1104
|
};
|
|
941
1105
|
|
|
942
|
-
var
|
|
1106
|
+
var hasOwn = hasOwnProperty_1;
|
|
1107
|
+
var ownKeys = ownKeys$1;
|
|
1108
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1109
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1110
|
+
|
|
1111
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
943
1112
|
var keys = ownKeys(source);
|
|
944
|
-
var defineProperty =
|
|
945
|
-
var getOwnPropertyDescriptor =
|
|
1113
|
+
var defineProperty = definePropertyModule$1.f;
|
|
1114
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
946
1115
|
for (var i = 0; i < keys.length; i++) {
|
|
947
1116
|
var key = keys[i];
|
|
948
|
-
if (!
|
|
1117
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
949
1118
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
950
1119
|
}
|
|
951
1120
|
}
|
|
952
1121
|
};
|
|
953
1122
|
|
|
1123
|
+
var fails$5 = fails$d;
|
|
1124
|
+
var isCallable$2 = isCallable$c;
|
|
1125
|
+
|
|
954
1126
|
var replacement = /#|\.prototype\./;
|
|
955
1127
|
|
|
956
|
-
var isForced = function (feature, detection) {
|
|
1128
|
+
var isForced$1 = function (feature, detection) {
|
|
957
1129
|
var value = data[normalize(feature)];
|
|
958
1130
|
return value == POLYFILL ? true
|
|
959
1131
|
: value == NATIVE ? false
|
|
960
|
-
: isCallable(detection) ? fails(detection)
|
|
1132
|
+
: isCallable$2(detection) ? fails$5(detection)
|
|
961
1133
|
: !!detection;
|
|
962
1134
|
};
|
|
963
1135
|
|
|
964
|
-
var normalize = isForced.normalize = function (string) {
|
|
1136
|
+
var normalize = isForced$1.normalize = function (string) {
|
|
965
1137
|
return String(string).replace(replacement, '.').toLowerCase();
|
|
966
1138
|
};
|
|
967
1139
|
|
|
968
|
-
var data = isForced.data = {};
|
|
969
|
-
var NATIVE = isForced.NATIVE = 'N';
|
|
970
|
-
var POLYFILL = isForced.POLYFILL = 'P';
|
|
1140
|
+
var data = isForced$1.data = {};
|
|
1141
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
|
1142
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
971
1143
|
|
|
972
|
-
var isForced_1 = isForced;
|
|
1144
|
+
var isForced_1 = isForced$1;
|
|
973
1145
|
|
|
1146
|
+
var global$6 = global$q;
|
|
974
1147
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
1148
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
1149
|
+
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
1150
|
+
var setGlobal = setGlobal$3;
|
|
1151
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1152
|
+
var isForced = isForced_1;
|
|
980
1153
|
|
|
981
1154
|
/*
|
|
982
1155
|
options.target - name of the target object
|
|
@@ -999,11 +1172,11 @@
|
|
|
999
1172
|
var STATIC = options.stat;
|
|
1000
1173
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1001
1174
|
if (GLOBAL) {
|
|
1002
|
-
target =
|
|
1175
|
+
target = global$6;
|
|
1003
1176
|
} else if (STATIC) {
|
|
1004
|
-
target =
|
|
1177
|
+
target = global$6[TARGET] || setGlobal(TARGET, {});
|
|
1005
1178
|
} else {
|
|
1006
|
-
target = (
|
|
1179
|
+
target = (global$6[TARGET] || {}).prototype;
|
|
1007
1180
|
}
|
|
1008
1181
|
if (target) for (key in source) {
|
|
1009
1182
|
sourceProperty = source[key];
|
|
@@ -1011,7 +1184,7 @@
|
|
|
1011
1184
|
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1012
1185
|
targetProperty = descriptor && descriptor.value;
|
|
1013
1186
|
} else targetProperty = target[key];
|
|
1014
|
-
FORCED =
|
|
1187
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1015
1188
|
// contained in target
|
|
1016
1189
|
if (!FORCED && targetProperty !== undefined) {
|
|
1017
1190
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
@@ -1021,32 +1194,46 @@
|
|
|
1021
1194
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1022
1195
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1023
1196
|
}
|
|
1024
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
1197
|
+
defineBuiltIn$1(target, key, sourceProperty, options);
|
|
1025
1198
|
}
|
|
1026
1199
|
};
|
|
1027
1200
|
|
|
1201
|
+
var classof$4 = classofRaw$1;
|
|
1202
|
+
|
|
1028
1203
|
// `IsArray` abstract operation
|
|
1029
1204
|
// https://tc39.es/ecma262/#sec-isarray
|
|
1030
1205
|
// eslint-disable-next-line es-x/no-array-isarray -- safe
|
|
1031
|
-
var isArray = Array.isArray || function isArray(argument) {
|
|
1032
|
-
return
|
|
1206
|
+
var isArray$2 = Array.isArray || function isArray(argument) {
|
|
1207
|
+
return classof$4(argument) == 'Array';
|
|
1033
1208
|
};
|
|
1034
1209
|
|
|
1035
|
-
var
|
|
1210
|
+
var toPropertyKey = toPropertyKey$3;
|
|
1211
|
+
var definePropertyModule = objectDefineProperty;
|
|
1212
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1213
|
+
|
|
1214
|
+
var createProperty$1 = function (object, key, value) {
|
|
1036
1215
|
var propertyKey = toPropertyKey(key);
|
|
1037
|
-
if (propertyKey in object)
|
|
1216
|
+
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1038
1217
|
else object[propertyKey] = value;
|
|
1039
1218
|
};
|
|
1040
1219
|
|
|
1041
|
-
var
|
|
1220
|
+
var wellKnownSymbol$4 = wellKnownSymbol$6;
|
|
1221
|
+
|
|
1222
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
1042
1223
|
var test = {};
|
|
1043
1224
|
|
|
1044
1225
|
test[TO_STRING_TAG$1] = 'z';
|
|
1045
1226
|
|
|
1046
1227
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1047
1228
|
|
|
1048
|
-
var
|
|
1049
|
-
var
|
|
1229
|
+
var global$5 = global$q;
|
|
1230
|
+
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
1231
|
+
var isCallable$1 = isCallable$c;
|
|
1232
|
+
var classofRaw = classofRaw$1;
|
|
1233
|
+
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
|
1234
|
+
|
|
1235
|
+
var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
|
|
1236
|
+
var Object$1 = global$5.Object;
|
|
1050
1237
|
|
|
1051
1238
|
// ES3 wrong here
|
|
1052
1239
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -1059,7 +1246,7 @@
|
|
|
1059
1246
|
};
|
|
1060
1247
|
|
|
1061
1248
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1062
|
-
var classof =
|
|
1249
|
+
var classof$3 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
1063
1250
|
var O, tag, result;
|
|
1064
1251
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1065
1252
|
// @@toStringTag case
|
|
@@ -1067,14 +1254,21 @@
|
|
|
1067
1254
|
// builtinTag case
|
|
1068
1255
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1069
1256
|
// ES3 arguments fallback
|
|
1070
|
-
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1257
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
1071
1258
|
};
|
|
1072
1259
|
|
|
1260
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1261
|
+
var fails$4 = fails$d;
|
|
1262
|
+
var isCallable = isCallable$c;
|
|
1263
|
+
var classof$2 = classof$3;
|
|
1264
|
+
var getBuiltIn = getBuiltIn$4;
|
|
1265
|
+
var inspectSource = inspectSource$3;
|
|
1266
|
+
|
|
1073
1267
|
var noop = function () { /* empty */ };
|
|
1074
1268
|
var empty = [];
|
|
1075
1269
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
1076
1270
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1077
|
-
var exec$1 =
|
|
1271
|
+
var exec$1 = uncurryThis$5(constructorRegExp.exec);
|
|
1078
1272
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1079
1273
|
|
|
1080
1274
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -1089,7 +1283,7 @@
|
|
|
1089
1283
|
|
|
1090
1284
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
1091
1285
|
if (!isCallable(argument)) return false;
|
|
1092
|
-
switch (classof(argument)) {
|
|
1286
|
+
switch (classof$2(argument)) {
|
|
1093
1287
|
case 'AsyncFunction':
|
|
1094
1288
|
case 'GeneratorFunction':
|
|
1095
1289
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -1108,7 +1302,7 @@
|
|
|
1108
1302
|
|
|
1109
1303
|
// `IsConstructor` abstract operation
|
|
1110
1304
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1111
|
-
var isConstructor = !construct || fails(function () {
|
|
1305
|
+
var isConstructor$1 = !construct || fails$4(function () {
|
|
1112
1306
|
var called;
|
|
1113
1307
|
return isConstructorModern(isConstructorModern.call)
|
|
1114
1308
|
|| !isConstructorModern(Object)
|
|
@@ -1116,37 +1310,49 @@
|
|
|
1116
1310
|
|| called;
|
|
1117
1311
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
1118
1312
|
|
|
1119
|
-
var
|
|
1120
|
-
var
|
|
1313
|
+
var global$4 = global$q;
|
|
1314
|
+
var isArray$1 = isArray$2;
|
|
1315
|
+
var isConstructor = isConstructor$1;
|
|
1316
|
+
var isObject$1 = isObject$7;
|
|
1317
|
+
var wellKnownSymbol$2 = wellKnownSymbol$6;
|
|
1318
|
+
|
|
1319
|
+
var SPECIES$1 = wellKnownSymbol$2('species');
|
|
1320
|
+
var Array$1 = global$4.Array;
|
|
1121
1321
|
|
|
1122
1322
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
1123
1323
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1124
|
-
var arraySpeciesConstructor = function (originalArray) {
|
|
1324
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
1125
1325
|
var C;
|
|
1126
|
-
if (isArray(originalArray)) {
|
|
1326
|
+
if (isArray$1(originalArray)) {
|
|
1127
1327
|
C = originalArray.constructor;
|
|
1128
1328
|
// cross-realm fallback
|
|
1129
|
-
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
|
1130
|
-
else if (isObject(C)) {
|
|
1329
|
+
if (isConstructor(C) && (C === Array$1 || isArray$1(C.prototype))) C = undefined;
|
|
1330
|
+
else if (isObject$1(C)) {
|
|
1131
1331
|
C = C[SPECIES$1];
|
|
1132
1332
|
if (C === null) C = undefined;
|
|
1133
1333
|
}
|
|
1134
1334
|
} return C === undefined ? Array$1 : C;
|
|
1135
1335
|
};
|
|
1136
1336
|
|
|
1337
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
1338
|
+
|
|
1137
1339
|
// `ArraySpeciesCreate` abstract operation
|
|
1138
1340
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1139
|
-
var arraySpeciesCreate = function (originalArray, length) {
|
|
1341
|
+
var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
1140
1342
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1141
1343
|
};
|
|
1142
1344
|
|
|
1143
|
-
var
|
|
1345
|
+
var fails$3 = fails$d;
|
|
1346
|
+
var wellKnownSymbol$1 = wellKnownSymbol$6;
|
|
1347
|
+
var V8_VERSION$1 = engineV8Version;
|
|
1348
|
+
|
|
1349
|
+
var SPECIES = wellKnownSymbol$1('species');
|
|
1144
1350
|
|
|
1145
|
-
var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
|
1351
|
+
var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) {
|
|
1146
1352
|
// We can't use this feature detection in V8 since it causes
|
|
1147
1353
|
// deoptimization and serious performance degradation
|
|
1148
1354
|
// https://github.com/zloirock/core-js/issues/677
|
|
1149
|
-
return
|
|
1355
|
+
return V8_VERSION$1 >= 51 || !fails$3(function () {
|
|
1150
1356
|
var array = [];
|
|
1151
1357
|
var constructor = array.constructor = {};
|
|
1152
1358
|
constructor[SPECIES] = function () {
|
|
@@ -1156,21 +1362,34 @@
|
|
|
1156
1362
|
});
|
|
1157
1363
|
};
|
|
1158
1364
|
|
|
1365
|
+
var $$3 = _export;
|
|
1366
|
+
var global$3 = global$q;
|
|
1367
|
+
var fails$2 = fails$d;
|
|
1368
|
+
var isArray = isArray$2;
|
|
1369
|
+
var isObject = isObject$7;
|
|
1370
|
+
var toObject$1 = toObject$3;
|
|
1371
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
1372
|
+
var createProperty = createProperty$1;
|
|
1373
|
+
var arraySpeciesCreate$1 = arraySpeciesCreate$2;
|
|
1374
|
+
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;
|
|
1375
|
+
var wellKnownSymbol = wellKnownSymbol$6;
|
|
1376
|
+
var V8_VERSION = engineV8Version;
|
|
1377
|
+
|
|
1159
1378
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
1160
1379
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
1161
1380
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
1162
|
-
var TypeError$1 =
|
|
1381
|
+
var TypeError$1 = global$3.TypeError;
|
|
1163
1382
|
|
|
1164
1383
|
// We can't use this feature detection in V8 since it causes
|
|
1165
1384
|
// deoptimization and serious performance degradation
|
|
1166
1385
|
// https://github.com/zloirock/core-js/issues/679
|
|
1167
|
-
var IS_CONCAT_SPREADABLE_SUPPORT =
|
|
1386
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$2(function () {
|
|
1168
1387
|
var array = [];
|
|
1169
1388
|
array[IS_CONCAT_SPREADABLE] = false;
|
|
1170
1389
|
return array.concat()[0] !== array;
|
|
1171
1390
|
});
|
|
1172
1391
|
|
|
1173
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
1392
|
+
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('concat');
|
|
1174
1393
|
|
|
1175
1394
|
var isConcatSpreadable = function (O) {
|
|
1176
1395
|
if (!isObject(O)) return false;
|
|
@@ -1183,17 +1402,17 @@
|
|
|
1183
1402
|
// `Array.prototype.concat` method
|
|
1184
1403
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
1185
1404
|
// with adding support of @@isConcatSpreadable and @@species
|
|
1186
|
-
|
|
1405
|
+
$$3({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {
|
|
1187
1406
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1188
1407
|
concat: function concat(arg) {
|
|
1189
|
-
var O = toObject(this);
|
|
1190
|
-
var A = arraySpeciesCreate(O, 0);
|
|
1408
|
+
var O = toObject$1(this);
|
|
1409
|
+
var A = arraySpeciesCreate$1(O, 0);
|
|
1191
1410
|
var n = 0;
|
|
1192
1411
|
var i, k, length, len, E;
|
|
1193
1412
|
for (i = -1, length = arguments.length; i < length; i++) {
|
|
1194
1413
|
E = i === -1 ? O : arguments[i];
|
|
1195
1414
|
if (isConcatSpreadable(E)) {
|
|
1196
|
-
len = lengthOfArrayLike(E);
|
|
1415
|
+
len = lengthOfArrayLike$1(E);
|
|
1197
1416
|
if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
1198
1417
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
1199
1418
|
} else {
|
|
@@ -1206,17 +1425,28 @@
|
|
|
1206
1425
|
}
|
|
1207
1426
|
});
|
|
1208
1427
|
|
|
1209
|
-
var
|
|
1428
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1429
|
+
var aCallable = aCallable$2;
|
|
1430
|
+
var NATIVE_BIND = functionBindNative;
|
|
1431
|
+
|
|
1432
|
+
var bind$1 = uncurryThis$4(uncurryThis$4.bind);
|
|
1210
1433
|
|
|
1211
1434
|
// optional / simple context binding
|
|
1212
1435
|
var functionBindContext = function (fn, that) {
|
|
1213
1436
|
aCallable(fn);
|
|
1214
|
-
return that === undefined ? fn :
|
|
1437
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1215
1438
|
return fn.apply(that, arguments);
|
|
1216
1439
|
};
|
|
1217
1440
|
};
|
|
1218
1441
|
|
|
1219
|
-
var
|
|
1442
|
+
var bind = functionBindContext;
|
|
1443
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1444
|
+
var IndexedObject$1 = indexedObject;
|
|
1445
|
+
var toObject = toObject$3;
|
|
1446
|
+
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
1447
|
+
var arraySpeciesCreate = arraySpeciesCreate$2;
|
|
1448
|
+
|
|
1449
|
+
var push = uncurryThis$3([].push);
|
|
1220
1450
|
|
|
1221
1451
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
1222
1452
|
var createMethod$1 = function (TYPE) {
|
|
@@ -1229,8 +1459,8 @@
|
|
|
1229
1459
|
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
1230
1460
|
return function ($this, callbackfn, that, specificCreate) {
|
|
1231
1461
|
var O = toObject($this);
|
|
1232
|
-
var self =
|
|
1233
|
-
var boundFunction =
|
|
1462
|
+
var self = IndexedObject$1(O);
|
|
1463
|
+
var boundFunction = bind(callbackfn, that);
|
|
1234
1464
|
var length = lengthOfArrayLike(self);
|
|
1235
1465
|
var index = 0;
|
|
1236
1466
|
var create = specificCreate || arraySpeciesCreate;
|
|
@@ -1283,73 +1513,97 @@
|
|
|
1283
1513
|
filterReject: createMethod$1(7)
|
|
1284
1514
|
};
|
|
1285
1515
|
|
|
1516
|
+
var $$2 = _export;
|
|
1286
1517
|
var $filter = arrayIteration.filter;
|
|
1287
|
-
|
|
1518
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;
|
|
1288
1519
|
|
|
1289
1520
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
1290
1521
|
|
|
1291
1522
|
// `Array.prototype.filter` method
|
|
1292
1523
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1293
1524
|
// with adding support of @@species
|
|
1294
|
-
|
|
1525
|
+
$$2({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
1295
1526
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
1296
1527
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1297
1528
|
}
|
|
1298
1529
|
});
|
|
1299
1530
|
|
|
1531
|
+
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
1532
|
+
var classof$1 = classof$3;
|
|
1533
|
+
|
|
1300
1534
|
// `Object.prototype.toString` method implementation
|
|
1301
1535
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1302
|
-
var objectToString =
|
|
1303
|
-
return '[object ' + classof(this) + ']';
|
|
1536
|
+
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
1537
|
+
return '[object ' + classof$1(this) + ']';
|
|
1304
1538
|
};
|
|
1305
1539
|
|
|
1540
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1541
|
+
var defineBuiltIn = defineBuiltIn$2;
|
|
1542
|
+
var toString$3 = objectToString;
|
|
1543
|
+
|
|
1306
1544
|
// `Object.prototype.toString` method
|
|
1307
1545
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1308
|
-
if (!
|
|
1309
|
-
defineBuiltIn(Object.prototype, 'toString',
|
|
1546
|
+
if (!TO_STRING_TAG_SUPPORT) {
|
|
1547
|
+
defineBuiltIn(Object.prototype, 'toString', toString$3, { unsafe: true });
|
|
1310
1548
|
}
|
|
1311
1549
|
|
|
1312
|
-
var
|
|
1550
|
+
var fails$1 = fails$d;
|
|
1551
|
+
|
|
1552
|
+
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
1313
1553
|
var method = [][METHOD_NAME];
|
|
1314
|
-
return !!method && fails(function () {
|
|
1554
|
+
return !!method && fails$1(function () {
|
|
1315
1555
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
1316
1556
|
method.call(null, argument || function () { return 1; }, 1);
|
|
1317
1557
|
});
|
|
1318
1558
|
};
|
|
1319
1559
|
|
|
1320
|
-
var
|
|
1560
|
+
var $$1 = _export;
|
|
1561
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1562
|
+
var IndexedObject = indexedObject;
|
|
1563
|
+
var toIndexedObject = toIndexedObject$4;
|
|
1564
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1321
1565
|
|
|
1322
|
-
var
|
|
1566
|
+
var un$Join = uncurryThis$2([].join);
|
|
1567
|
+
|
|
1568
|
+
var ES3_STRINGS = IndexedObject != Object;
|
|
1323
1569
|
var STRICT_METHOD = arrayMethodIsStrict('join', ',');
|
|
1324
1570
|
|
|
1325
1571
|
// `Array.prototype.join` method
|
|
1326
1572
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
|
1327
|
-
|
|
1573
|
+
$$1({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
|
|
1328
1574
|
join: function join(separator) {
|
|
1329
1575
|
return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);
|
|
1330
1576
|
}
|
|
1331
1577
|
});
|
|
1332
1578
|
|
|
1333
|
-
var
|
|
1579
|
+
var global$2 = global$q;
|
|
1580
|
+
var classof = classof$3;
|
|
1581
|
+
|
|
1582
|
+
var String$1 = global$2.String;
|
|
1334
1583
|
|
|
1335
|
-
var
|
|
1584
|
+
var toString$2 = function (argument) {
|
|
1336
1585
|
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1337
1586
|
return String$1(argument);
|
|
1338
1587
|
};
|
|
1339
1588
|
|
|
1340
1589
|
// a string of all valid unicode whitespaces
|
|
1341
|
-
var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1590
|
+
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1342
1591
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1343
1592
|
|
|
1344
|
-
var
|
|
1345
|
-
var
|
|
1593
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1594
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1595
|
+
var toString$1 = toString$2;
|
|
1596
|
+
var whitespaces$1 = whitespaces$2;
|
|
1597
|
+
|
|
1598
|
+
var replace = uncurryThis$1(''.replace);
|
|
1599
|
+
var whitespace = '[' + whitespaces$1 + ']';
|
|
1346
1600
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
1347
1601
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
1348
1602
|
|
|
1349
1603
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
1350
1604
|
var createMethod = function (TYPE) {
|
|
1351
1605
|
return function ($this) {
|
|
1352
|
-
var string =
|
|
1606
|
+
var string = toString$1(requireObjectCoercible($this));
|
|
1353
1607
|
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
1354
1608
|
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
1355
1609
|
return string;
|
|
@@ -1368,29 +1622,36 @@
|
|
|
1368
1622
|
trim: createMethod(3)
|
|
1369
1623
|
};
|
|
1370
1624
|
|
|
1625
|
+
var global$1 = global$q;
|
|
1626
|
+
var fails = fails$d;
|
|
1627
|
+
var uncurryThis = functionUncurryThis;
|
|
1628
|
+
var toString = toString$2;
|
|
1371
1629
|
var trim = stringTrim.trim;
|
|
1630
|
+
var whitespaces = whitespaces$2;
|
|
1372
1631
|
|
|
1373
|
-
|
|
1374
|
-
var $
|
|
1375
|
-
var Symbol$1 = global_1.Symbol;
|
|
1632
|
+
var $parseInt$1 = global$1.parseInt;
|
|
1633
|
+
var Symbol$1 = global$1.Symbol;
|
|
1376
1634
|
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
1377
1635
|
var hex = /^[+-]?0x/i;
|
|
1378
|
-
var exec =
|
|
1379
|
-
var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
|
|
1636
|
+
var exec = uncurryThis(hex.exec);
|
|
1637
|
+
var FORCED = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
1380
1638
|
// MS Edge 18- broken with boxed symbols
|
|
1381
|
-
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
|
|
1639
|
+
|| (ITERATOR && !fails(function () { $parseInt$1(Object(ITERATOR)); }));
|
|
1382
1640
|
|
|
1383
1641
|
// `parseInt` method
|
|
1384
1642
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1385
1643
|
var numberParseInt = FORCED ? function parseInt(string, radix) {
|
|
1386
|
-
var S = trim(
|
|
1387
|
-
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1388
|
-
} : $parseInt;
|
|
1644
|
+
var S = trim(toString(string));
|
|
1645
|
+
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1646
|
+
} : $parseInt$1;
|
|
1647
|
+
|
|
1648
|
+
var $ = _export;
|
|
1649
|
+
var $parseInt = numberParseInt;
|
|
1389
1650
|
|
|
1390
1651
|
// `parseInt` method
|
|
1391
1652
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1392
|
-
|
|
1393
|
-
parseInt:
|
|
1653
|
+
$({ global: true, forced: parseInt != $parseInt }, {
|
|
1654
|
+
parseInt: $parseInt
|
|
1394
1655
|
});
|
|
1395
1656
|
|
|
1396
1657
|
/**
|