bootstrap-table-rails 1.19.1 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bootstrap-table-rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/.DS_Store +0 -0
  4. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  5. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +906 -337
  6. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +816 -382
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +817 -383
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +2 -1
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +2787 -2003
  10. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1003 -429
  11. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +536 -240
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1381 -923
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +546 -250
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +547 -249
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +471 -186
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +883 -525
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +852 -449
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2649 -1097
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1276 -710
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +566 -272
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +861 -414
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +652 -351
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +572 -249
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +782 -370
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +532 -237
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +538 -246
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +744 -294
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +572 -258
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +510 -200
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +471 -186
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +539 -244
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +864 -531
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +526 -235
  36. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +457 -180
  37. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +457 -180
  38. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +465 -188
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +457 -180
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +477 -200
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +457 -180
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +457 -180
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +457 -180
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +457 -180
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +457 -180
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +457 -180
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +457 -180
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +457 -180
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +457 -180
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +457 -180
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +457 -180
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +457 -180
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +457 -180
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +457 -180
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +457 -180
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +457 -180
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +457 -180
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +457 -180
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +460 -182
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +457 -180
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +457 -180
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +457 -180
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +457 -180
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +457 -180
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +457 -180
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +457 -180
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +482 -204
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +457 -180
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +457 -180
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +496 -180
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +496 -180
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +457 -180
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +457 -180
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +457 -180
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +457 -180
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +457 -180
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +457 -180
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +457 -180
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +457 -180
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +457 -180
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +457 -180
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +457 -180
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +457 -180
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +457 -180
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +457 -180
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +457 -180
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +457 -180
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +457 -180
  91. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +1 -0
  92. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +547 -255
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +1 -0
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +543 -235
  95. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +1 -0
  96. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +547 -239
  97. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +1 -0
  98. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +545 -252
  99. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +1 -0
  100. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +541 -233
  101. metadata +5 -3
@@ -2,28 +2,12 @@
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 ($) { 'use strict';
5
+ })(this, (function ($) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
9
  var $__default = /*#__PURE__*/_interopDefaultLegacy($);
10
10
 
11
- function _typeof(obj) {
12
- "@babel/helpers - typeof";
13
-
14
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
15
- _typeof = function (obj) {
16
- return typeof obj;
17
- };
18
- } else {
19
- _typeof = function (obj) {
20
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
21
- };
22
- }
23
-
24
- return _typeof(obj);
25
- }
26
-
27
11
  function _classCallCheck(instance, Constructor) {
28
12
  if (!(instance instanceof Constructor)) {
29
13
  throw new TypeError("Cannot call a class as a function");
@@ -43,6 +27,9 @@
43
27
  function _createClass(Constructor, protoProps, staticProps) {
44
28
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
45
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
+ Object.defineProperty(Constructor, "prototype", {
31
+ writable: false
32
+ });
46
33
  return Constructor;
47
34
  }
48
35
 
@@ -58,6 +45,9 @@
58
45
  configurable: true
59
46
  }
60
47
  });
48
+ Object.defineProperty(subClass, "prototype", {
49
+ writable: false
50
+ });
61
51
  if (superClass) _setPrototypeOf(subClass, superClass);
62
52
  }
63
53
 
@@ -101,6 +91,8 @@
101
91
  function _possibleConstructorReturn(self, call) {
102
92
  if (call && (typeof call === "object" || typeof call === "function")) {
103
93
  return call;
94
+ } else if (call !== void 0) {
95
+ throw new TypeError("Derived constructors may only return object or undefined");
104
96
  }
105
97
 
106
98
  return _assertThisInitialized(self);
@@ -134,7 +126,7 @@
134
126
  return object;
135
127
  }
136
128
 
137
- function _get(target, property, receiver) {
129
+ function _get() {
138
130
  if (typeof Reflect !== "undefined" && Reflect.get) {
139
131
  _get = Reflect.get;
140
132
  } else {
@@ -145,14 +137,14 @@
145
137
  var desc = Object.getOwnPropertyDescriptor(base, property);
146
138
 
147
139
  if (desc.get) {
148
- return desc.get.call(receiver);
140
+ return desc.get.call(arguments.length < 3 ? target : receiver);
149
141
  }
150
142
 
151
143
  return desc.value;
152
144
  };
153
145
  }
154
146
 
155
- return _get(target, property, receiver || target);
147
+ return _get.apply(this, arguments);
156
148
  }
157
149
 
158
150
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -190,6 +182,18 @@
190
182
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
191
183
  });
192
184
 
185
+ var functionBindNative = !fails(function () {
186
+ var test = (function () { /* empty */ }).bind();
187
+ // eslint-disable-next-line no-prototype-builtins -- safe
188
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
189
+ });
190
+
191
+ var call$1 = Function.prototype.call;
192
+
193
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
194
+ return call$1.apply(call$1, arguments);
195
+ };
196
+
193
197
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
194
198
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
195
199
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
@@ -199,13 +203,13 @@
199
203
 
200
204
  // `Object.prototype.propertyIsEnumerable` method implementation
201
205
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
202
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
206
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
203
207
  var descriptor = getOwnPropertyDescriptor$1(this, V);
204
208
  return !!descriptor && descriptor.enumerable;
205
209
  } : $propertyIsEnumerable;
206
210
 
207
211
  var objectPropertyIsEnumerable = {
208
- f: f$4
212
+ f: f$5
209
213
  };
210
214
 
211
215
  var createPropertyDescriptor = function (bitmap, value) {
@@ -217,27 +221,44 @@
217
221
  };
218
222
  };
219
223
 
220
- var toString = {}.toString;
224
+ var FunctionPrototype$1 = Function.prototype;
225
+ var bind$1 = FunctionPrototype$1.bind;
226
+ var call = FunctionPrototype$1.call;
227
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
228
+
229
+ var functionUncurryThis = functionBindNative ? function (fn) {
230
+ return fn && uncurryThis(fn);
231
+ } : function (fn) {
232
+ return fn && function () {
233
+ return call.apply(fn, arguments);
234
+ };
235
+ };
236
+
237
+ var toString$1 = functionUncurryThis({}.toString);
238
+ var stringSlice = functionUncurryThis(''.slice);
221
239
 
222
240
  var classofRaw = function (it) {
223
- return toString.call(it).slice(8, -1);
241
+ return stringSlice(toString$1(it), 8, -1);
224
242
  };
225
243
 
226
- var split = ''.split;
244
+ var Object$4 = global_1.Object;
245
+ var split = functionUncurryThis(''.split);
227
246
 
228
247
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
229
248
  var indexedObject = fails(function () {
230
249
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
231
250
  // eslint-disable-next-line no-prototype-builtins -- safe
232
- return !Object('z').propertyIsEnumerable(0);
251
+ return !Object$4('z').propertyIsEnumerable(0);
233
252
  }) ? function (it) {
234
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
235
- } : Object;
253
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
254
+ } : Object$4;
255
+
256
+ var TypeError$8 = global_1.TypeError;
236
257
 
237
258
  // `RequireObjectCoercible` abstract operation
238
259
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
239
260
  var requireObjectCoercible = function (it) {
240
- if (it == undefined) throw TypeError("Can't call method on " + it);
261
+ if (it == undefined) throw TypeError$8("Can't call method on " + it);
241
262
  return it;
242
263
  };
243
264
 
@@ -249,88 +270,309 @@
249
270
  return indexedObject(requireObjectCoercible(it));
250
271
  };
251
272
 
273
+ // `IsCallable` abstract operation
274
+ // https://tc39.es/ecma262/#sec-iscallable
275
+ var isCallable = function (argument) {
276
+ return typeof argument == 'function';
277
+ };
278
+
252
279
  var isObject = function (it) {
253
- return typeof it === 'object' ? it !== null : typeof it === 'function';
280
+ return typeof it == 'object' ? it !== null : isCallable(it);
254
281
  };
255
282
 
256
- // `ToPrimitive` abstract operation
257
- // https://tc39.es/ecma262/#sec-toprimitive
258
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
259
- // and the second argument - flag - preferred type is a string
260
- var toPrimitive = function (input, PREFERRED_STRING) {
261
- if (!isObject(input)) return input;
283
+ var aFunction = function (argument) {
284
+ return isCallable(argument) ? argument : undefined;
285
+ };
286
+
287
+ var getBuiltIn = function (namespace, method) {
288
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
289
+ };
290
+
291
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
292
+
293
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
294
+
295
+ var process = global_1.process;
296
+ var Deno = global_1.Deno;
297
+ var versions = process && process.versions || Deno && Deno.version;
298
+ var v8 = versions && versions.v8;
299
+ var match, version;
300
+
301
+ if (v8) {
302
+ match = v8.split('.');
303
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
304
+ // but their correct versions are not interesting for us
305
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
306
+ }
307
+
308
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
309
+ // so check `userAgent` even if `.v8` exists, but 0
310
+ if (!version && engineUserAgent) {
311
+ match = engineUserAgent.match(/Edge\/(\d+)/);
312
+ if (!match || match[1] >= 74) {
313
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
314
+ if (match) version = +match[1];
315
+ }
316
+ }
317
+
318
+ var engineV8Version = version;
319
+
320
+ /* eslint-disable es/no-symbol -- required for testing */
321
+
322
+
323
+
324
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
325
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
326
+ var symbol = Symbol();
327
+ // Chrome 38 Symbol has incorrect toString conversion
328
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
329
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
330
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
331
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
332
+ });
333
+
334
+ /* eslint-disable es/no-symbol -- required for testing */
335
+
336
+
337
+ var useSymbolAsUid = nativeSymbol
338
+ && !Symbol.sham
339
+ && typeof Symbol.iterator == 'symbol';
340
+
341
+ var Object$3 = global_1.Object;
342
+
343
+ var isSymbol = useSymbolAsUid ? function (it) {
344
+ return typeof it == 'symbol';
345
+ } : function (it) {
346
+ var $Symbol = getBuiltIn('Symbol');
347
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
348
+ };
349
+
350
+ var String$3 = global_1.String;
351
+
352
+ var tryToString = function (argument) {
353
+ try {
354
+ return String$3(argument);
355
+ } catch (error) {
356
+ return 'Object';
357
+ }
358
+ };
359
+
360
+ var TypeError$7 = global_1.TypeError;
361
+
362
+ // `Assert: IsCallable(argument) is true`
363
+ var aCallable = function (argument) {
364
+ if (isCallable(argument)) return argument;
365
+ throw TypeError$7(tryToString(argument) + ' is not a function');
366
+ };
367
+
368
+ // `GetMethod` abstract operation
369
+ // https://tc39.es/ecma262/#sec-getmethod
370
+ var getMethod = function (V, P) {
371
+ var func = V[P];
372
+ return func == null ? undefined : aCallable(func);
373
+ };
374
+
375
+ var TypeError$6 = global_1.TypeError;
376
+
377
+ // `OrdinaryToPrimitive` abstract operation
378
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
379
+ var ordinaryToPrimitive = function (input, pref) {
262
380
  var fn, val;
263
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
264
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
265
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
266
- throw TypeError("Can't convert object to primitive value");
381
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
382
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
383
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
384
+ throw TypeError$6("Can't convert object to primitive value");
385
+ };
386
+
387
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
388
+ var defineProperty = Object.defineProperty;
389
+
390
+ var setGlobal = function (key, value) {
391
+ try {
392
+ defineProperty(global_1, key, { value: value, configurable: true, writable: true });
393
+ } catch (error) {
394
+ global_1[key] = value;
395
+ } return value;
396
+ };
397
+
398
+ var SHARED = '__core-js_shared__';
399
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
400
+
401
+ var sharedStore = store$1;
402
+
403
+ var shared = createCommonjsModule(function (module) {
404
+ (module.exports = function (key, value) {
405
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
406
+ })('versions', []).push({
407
+ version: '3.21.1',
408
+ mode: 'global',
409
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
410
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
411
+ source: 'https://github.com/zloirock/core-js'
412
+ });
413
+ });
414
+
415
+ var Object$2 = global_1.Object;
416
+
417
+ // `ToObject` abstract operation
418
+ // https://tc39.es/ecma262/#sec-toobject
419
+ var toObject = function (argument) {
420
+ return Object$2(requireObjectCoercible(argument));
421
+ };
422
+
423
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
424
+
425
+ // `HasOwnProperty` abstract operation
426
+ // https://tc39.es/ecma262/#sec-hasownproperty
427
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
428
+ return hasOwnProperty(toObject(it), key);
429
+ };
430
+
431
+ var id = 0;
432
+ var postfix = Math.random();
433
+ var toString = functionUncurryThis(1.0.toString);
434
+
435
+ var uid = function (key) {
436
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
437
+ };
438
+
439
+ var WellKnownSymbolsStore = shared('wks');
440
+ var Symbol$2 = global_1.Symbol;
441
+ var symbolFor = Symbol$2 && Symbol$2['for'];
442
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid;
443
+
444
+ var wellKnownSymbol = function (name) {
445
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
446
+ var description = 'Symbol.' + name;
447
+ if (nativeSymbol && hasOwnProperty_1(Symbol$2, name)) {
448
+ WellKnownSymbolsStore[name] = Symbol$2[name];
449
+ } else if (useSymbolAsUid && symbolFor) {
450
+ WellKnownSymbolsStore[name] = symbolFor(description);
451
+ } else {
452
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
453
+ }
454
+ } return WellKnownSymbolsStore[name];
267
455
  };
268
456
 
269
- var hasOwnProperty = {}.hasOwnProperty;
457
+ var TypeError$5 = global_1.TypeError;
458
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
459
+
460
+ // `ToPrimitive` abstract operation
461
+ // https://tc39.es/ecma262/#sec-toprimitive
462
+ var toPrimitive = function (input, pref) {
463
+ if (!isObject(input) || isSymbol(input)) return input;
464
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
465
+ var result;
466
+ if (exoticToPrim) {
467
+ if (pref === undefined) pref = 'default';
468
+ result = functionCall(exoticToPrim, input, pref);
469
+ if (!isObject(result) || isSymbol(result)) return result;
470
+ throw TypeError$5("Can't convert object to primitive value");
471
+ }
472
+ if (pref === undefined) pref = 'number';
473
+ return ordinaryToPrimitive(input, pref);
474
+ };
270
475
 
271
- var has$1 = function (it, key) {
272
- return hasOwnProperty.call(it, key);
476
+ // `ToPropertyKey` abstract operation
477
+ // https://tc39.es/ecma262/#sec-topropertykey
478
+ var toPropertyKey = function (argument) {
479
+ var key = toPrimitive(argument, 'string');
480
+ return isSymbol(key) ? key : key + '';
273
481
  };
274
482
 
275
483
  var document$1 = global_1.document;
276
484
  // typeof document.createElement is 'object' in old IE
277
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
485
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
278
486
 
279
487
  var documentCreateElement = function (it) {
280
- return EXISTS ? document$1.createElement(it) : {};
488
+ return EXISTS$1 ? document$1.createElement(it) : {};
281
489
  };
282
490
 
283
- // Thank's IE8 for his funny defineProperty
491
+ // Thanks to IE8 for its funny defineProperty
284
492
  var ie8DomDefine = !descriptors && !fails(function () {
285
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
493
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
286
494
  return Object.defineProperty(documentCreateElement('div'), 'a', {
287
495
  get: function () { return 7; }
288
496
  }).a != 7;
289
497
  });
290
498
 
291
499
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
292
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
500
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
293
501
 
294
502
  // `Object.getOwnPropertyDescriptor` method
295
503
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
296
- var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
504
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
297
505
  O = toIndexedObject(O);
298
- P = toPrimitive(P, true);
506
+ P = toPropertyKey(P);
299
507
  if (ie8DomDefine) try {
300
- return $getOwnPropertyDescriptor(O, P);
508
+ return $getOwnPropertyDescriptor$1(O, P);
301
509
  } catch (error) { /* empty */ }
302
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
510
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
303
511
  };
304
512
 
305
513
  var objectGetOwnPropertyDescriptor = {
306
- f: f$3
514
+ f: f$4
307
515
  };
308
516
 
309
- var anObject = function (it) {
310
- if (!isObject(it)) {
311
- throw TypeError(String(it) + ' is not an object');
312
- } return it;
517
+ // V8 ~ Chrome 36-
518
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
519
+ var v8PrototypeDefineBug = descriptors && fails(function () {
520
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
521
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
522
+ value: 42,
523
+ writable: false
524
+ }).prototype != 42;
525
+ });
526
+
527
+ var String$2 = global_1.String;
528
+ var TypeError$4 = global_1.TypeError;
529
+
530
+ // `Assert: Type(argument) is Object`
531
+ var anObject = function (argument) {
532
+ if (isObject(argument)) return argument;
533
+ throw TypeError$4(String$2(argument) + ' is not an object');
313
534
  };
314
535
 
536
+ var TypeError$3 = global_1.TypeError;
315
537
  // eslint-disable-next-line es/no-object-defineproperty -- safe
316
538
  var $defineProperty = Object.defineProperty;
539
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
540
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
541
+ var ENUMERABLE = 'enumerable';
542
+ var CONFIGURABLE$1 = 'configurable';
543
+ var WRITABLE = 'writable';
317
544
 
318
545
  // `Object.defineProperty` method
319
546
  // https://tc39.es/ecma262/#sec-object.defineproperty
320
- var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
547
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
548
+ anObject(O);
549
+ P = toPropertyKey(P);
550
+ anObject(Attributes);
551
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
552
+ var current = $getOwnPropertyDescriptor(O, P);
553
+ if (current && current[WRITABLE]) {
554
+ O[P] = Attributes.value;
555
+ Attributes = {
556
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
557
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
558
+ writable: false
559
+ };
560
+ }
561
+ } return $defineProperty(O, P, Attributes);
562
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
321
563
  anObject(O);
322
- P = toPrimitive(P, true);
564
+ P = toPropertyKey(P);
323
565
  anObject(Attributes);
324
566
  if (ie8DomDefine) try {
325
567
  return $defineProperty(O, P, Attributes);
326
568
  } catch (error) { /* empty */ }
327
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
569
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
328
570
  if ('value' in Attributes) O[P] = Attributes.value;
329
571
  return O;
330
572
  };
331
573
 
332
574
  var objectDefineProperty = {
333
- f: f$2
575
+ f: f$3
334
576
  };
335
577
 
336
578
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -340,25 +582,12 @@
340
582
  return object;
341
583
  };
342
584
 
343
- var setGlobal = function (key, value) {
344
- try {
345
- createNonEnumerableProperty(global_1, key, value);
346
- } catch (error) {
347
- global_1[key] = value;
348
- } return value;
349
- };
585
+ var functionToString = functionUncurryThis(Function.toString);
350
586
 
351
- var SHARED = '__core-js_shared__';
352
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
353
-
354
- var sharedStore = store$1;
355
-
356
- var functionToString = Function.toString;
357
-
358
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
359
- if (typeof sharedStore.inspectSource != 'function') {
587
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
588
+ if (!isCallable(sharedStore.inspectSource)) {
360
589
  sharedStore.inspectSource = function (it) {
361
- return functionToString.call(it);
590
+ return functionToString(it);
362
591
  };
363
592
  }
364
593
 
@@ -366,24 +595,7 @@
366
595
 
367
596
  var WeakMap$1 = global_1.WeakMap;
368
597
 
369
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
370
-
371
- var shared = createCommonjsModule(function (module) {
372
- (module.exports = function (key, value) {
373
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
374
- })('versions', []).push({
375
- version: '3.10.1',
376
- mode: 'global',
377
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
378
- });
379
- });
380
-
381
- var id = 0;
382
- var postfix = Math.random();
383
-
384
- var uid = function (key) {
385
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
386
- };
598
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
387
599
 
388
600
  var keys = shared('keys');
389
601
 
@@ -393,6 +605,8 @@
393
605
 
394
606
  var hiddenKeys$1 = {};
395
607
 
608
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
609
+ var TypeError$2 = global_1.TypeError;
396
610
  var WeakMap = global_1.WeakMap;
397
611
  var set, get, has;
398
612
 
@@ -404,40 +618,42 @@
404
618
  return function (it) {
405
619
  var state;
406
620
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
407
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
621
+ throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
408
622
  } return state;
409
623
  };
410
624
  };
411
625
 
412
- if (nativeWeakMap) {
626
+ if (nativeWeakMap || sharedStore.state) {
413
627
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
414
- var wmget = store.get;
415
- var wmhas = store.has;
416
- var wmset = store.set;
628
+ var wmget = functionUncurryThis(store.get);
629
+ var wmhas = functionUncurryThis(store.has);
630
+ var wmset = functionUncurryThis(store.set);
417
631
  set = function (it, metadata) {
632
+ if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
418
633
  metadata.facade = it;
419
- wmset.call(store, it, metadata);
634
+ wmset(store, it, metadata);
420
635
  return metadata;
421
636
  };
422
637
  get = function (it) {
423
- return wmget.call(store, it) || {};
638
+ return wmget(store, it) || {};
424
639
  };
425
640
  has = function (it) {
426
- return wmhas.call(store, it);
641
+ return wmhas(store, it);
427
642
  };
428
643
  } else {
429
644
  var STATE = sharedKey('state');
430
645
  hiddenKeys$1[STATE] = true;
431
646
  set = function (it, metadata) {
647
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
432
648
  metadata.facade = it;
433
649
  createNonEnumerableProperty(it, STATE, metadata);
434
650
  return metadata;
435
651
  };
436
652
  get = function (it) {
437
- return has$1(it, STATE) ? it[STATE] : {};
653
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
438
654
  };
439
655
  has = function (it) {
440
- return has$1(it, STATE);
656
+ return hasOwnProperty_1(it, STATE);
441
657
  };
442
658
  }
443
659
 
@@ -449,7 +665,24 @@
449
665
  getterFor: getterFor
450
666
  };
451
667
 
668
+ var FunctionPrototype = Function.prototype;
669
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
670
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
671
+
672
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
673
+ // additional protection from minified / mangled / dropped function names
674
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
675
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
676
+
677
+ var functionName = {
678
+ EXISTS: EXISTS,
679
+ PROPER: PROPER,
680
+ CONFIGURABLE: CONFIGURABLE
681
+ };
682
+
452
683
  var redefine = createCommonjsModule(function (module) {
684
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
685
+
453
686
  var getInternalState = internalState.get;
454
687
  var enforceInternalState = internalState.enforce;
455
688
  var TEMPLATE = String(String).split('String');
@@ -458,14 +691,18 @@
458
691
  var unsafe = options ? !!options.unsafe : false;
459
692
  var simple = options ? !!options.enumerable : false;
460
693
  var noTargetGet = options ? !!options.noTargetGet : false;
694
+ var name = options && options.name !== undefined ? options.name : key;
461
695
  var state;
462
- if (typeof value == 'function') {
463
- if (typeof key == 'string' && !has$1(value, 'name')) {
464
- createNonEnumerableProperty(value, 'name', key);
696
+ if (isCallable(value)) {
697
+ if (String(name).slice(0, 7) === 'Symbol(') {
698
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
699
+ }
700
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
701
+ createNonEnumerableProperty(value, 'name', name);
465
702
  }
466
703
  state = enforceInternalState(value);
467
704
  if (!state.source) {
468
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
705
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
469
706
  }
470
707
  }
471
708
  if (O === global_1) {
@@ -481,54 +718,51 @@
481
718
  else createNonEnumerableProperty(O, key, value);
482
719
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
483
720
  })(Function.prototype, 'toString', function toString() {
484
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
721
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
485
722
  });
486
723
  });
487
724
 
488
- var path = global_1;
489
-
490
- var aFunction$1 = function (variable) {
491
- return typeof variable == 'function' ? variable : undefined;
492
- };
493
-
494
- var getBuiltIn = function (namespace, method) {
495
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
496
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
497
- };
498
-
499
725
  var ceil = Math.ceil;
500
726
  var floor = Math.floor;
501
727
 
502
- // `ToInteger` abstract operation
503
- // https://tc39.es/ecma262/#sec-tointeger
504
- var toInteger = function (argument) {
505
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
728
+ // `ToIntegerOrInfinity` abstract operation
729
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
730
+ var toIntegerOrInfinity = function (argument) {
731
+ var number = +argument;
732
+ // eslint-disable-next-line no-self-compare -- safe
733
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
506
734
  };
507
735
 
736
+ var max = Math.max;
508
737
  var min$1 = Math.min;
509
738
 
739
+ // Helper for a popular repeating case of the spec:
740
+ // Let integer be ? ToInteger(index).
741
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
742
+ var toAbsoluteIndex = function (index, length) {
743
+ var integer = toIntegerOrInfinity(index);
744
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
745
+ };
746
+
747
+ var min = Math.min;
748
+
510
749
  // `ToLength` abstract operation
511
750
  // https://tc39.es/ecma262/#sec-tolength
512
751
  var toLength = function (argument) {
513
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
752
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
514
753
  };
515
754
 
516
- var max = Math.max;
517
- var min = Math.min;
518
-
519
- // Helper for a popular repeating case of the spec:
520
- // Let integer be ? ToInteger(index).
521
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
522
- var toAbsoluteIndex = function (index, length) {
523
- var integer = toInteger(index);
524
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
755
+ // `LengthOfArrayLike` abstract operation
756
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
757
+ var lengthOfArrayLike = function (obj) {
758
+ return toLength(obj.length);
525
759
  };
526
760
 
527
761
  // `Array.prototype.{ indexOf, includes }` methods implementation
528
762
  var createMethod$2 = function (IS_INCLUDES) {
529
763
  return function ($this, el, fromIndex) {
530
764
  var O = toIndexedObject($this);
531
- var length = toLength(O.length);
765
+ var length = lengthOfArrayLike(O);
532
766
  var index = toAbsoluteIndex(fromIndex, length);
533
767
  var value;
534
768
  // Array#includes uses SameValueZero equality algorithm
@@ -556,15 +790,17 @@
556
790
  var indexOf = arrayIncludes.indexOf;
557
791
 
558
792
 
793
+ var push$1 = functionUncurryThis([].push);
794
+
559
795
  var objectKeysInternal = function (object, names) {
560
796
  var O = toIndexedObject(object);
561
797
  var i = 0;
562
798
  var result = [];
563
799
  var key;
564
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
800
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$1(result, key);
565
801
  // Don't enum bug & hidden keys
566
- while (names.length > i) if (has$1(O, key = names[i++])) {
567
- ~indexOf(result, key) || result.push(key);
802
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
803
+ ~indexOf(result, key) || push$1(result, key);
568
804
  }
569
805
  return result;
570
806
  };
@@ -585,35 +821,39 @@
585
821
  // `Object.getOwnPropertyNames` method
586
822
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
587
823
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
588
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
824
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
589
825
  return objectKeysInternal(O, hiddenKeys);
590
826
  };
591
827
 
592
828
  var objectGetOwnPropertyNames = {
593
- f: f$1
829
+ f: f$2
594
830
  };
595
831
 
596
832
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
597
- var f = Object.getOwnPropertySymbols;
833
+ var f$1 = Object.getOwnPropertySymbols;
598
834
 
599
835
  var objectGetOwnPropertySymbols = {
600
- f: f
836
+ f: f$1
601
837
  };
602
838
 
839
+ var concat = functionUncurryThis([].concat);
840
+
603
841
  // all object keys, includes non-enumerable and symbols
604
842
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
605
843
  var keys = objectGetOwnPropertyNames.f(anObject(it));
606
844
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
607
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
845
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
608
846
  };
609
847
 
610
- var copyConstructorProperties = function (target, source) {
848
+ var copyConstructorProperties = function (target, source, exceptions) {
611
849
  var keys = ownKeys(source);
612
850
  var defineProperty = objectDefineProperty.f;
613
851
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
614
852
  for (var i = 0; i < keys.length; i++) {
615
853
  var key = keys[i];
616
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
854
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
855
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
856
+ }
617
857
  }
618
858
  };
619
859
 
@@ -623,7 +863,7 @@
623
863
  var value = data[normalize(feature)];
624
864
  return value == POLYFILL ? true
625
865
  : value == NATIVE ? false
626
- : typeof detection == 'function' ? fails(detection)
866
+ : isCallable(detection) ? fails(detection)
627
867
  : !!detection;
628
868
  };
629
869
 
@@ -657,6 +897,7 @@
657
897
  options.sham - add a flag to not completely full polyfills
658
898
  options.enumerable - export as enumerable property
659
899
  options.noTargetGet - prevent calling a getter on target
900
+ options.name - the .name of the function if it does not match the key
660
901
  */
661
902
  var _export = function (options, source) {
662
903
  var TARGET = options.target;
@@ -679,7 +920,7 @@
679
920
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
680
921
  // contained in target
681
922
  if (!FORCED && targetProperty !== undefined) {
682
- if (typeof sourceProperty === typeof targetProperty) continue;
923
+ if (typeof sourceProperty == typeof targetProperty) continue;
683
924
  copyConstructorProperties(sourceProperty, targetProperty);
684
925
  }
685
926
  // add a flag to not completely full polyfills
@@ -691,136 +932,144 @@
691
932
  }
692
933
  };
693
934
 
694
- var aFunction = function (it) {
695
- if (typeof it != 'function') {
696
- throw TypeError(String(it) + ' is not a function');
697
- } return it;
698
- };
935
+ var bind = functionUncurryThis(functionUncurryThis.bind);
699
936
 
700
937
  // optional / simple context binding
701
- var functionBindContext = function (fn, that, length) {
702
- aFunction(fn);
703
- if (that === undefined) return fn;
704
- switch (length) {
705
- case 0: return function () {
706
- return fn.call(that);
707
- };
708
- case 1: return function (a) {
709
- return fn.call(that, a);
710
- };
711
- case 2: return function (a, b) {
712
- return fn.call(that, a, b);
713
- };
714
- case 3: return function (a, b, c) {
715
- return fn.call(that, a, b, c);
716
- };
717
- }
718
- return function (/* ...args */) {
938
+ var functionBindContext = function (fn, that) {
939
+ aCallable(fn);
940
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
719
941
  return fn.apply(that, arguments);
720
942
  };
721
943
  };
722
944
 
723
- // `ToObject` abstract operation
724
- // https://tc39.es/ecma262/#sec-toobject
725
- var toObject = function (argument) {
726
- return Object(requireObjectCoercible(argument));
727
- };
728
-
729
945
  // `IsArray` abstract operation
730
946
  // https://tc39.es/ecma262/#sec-isarray
731
947
  // eslint-disable-next-line es/no-array-isarray -- safe
732
- var isArray = Array.isArray || function isArray(arg) {
733
- return classofRaw(arg) == 'Array';
948
+ var isArray = Array.isArray || function isArray(argument) {
949
+ return classofRaw(argument) == 'Array';
734
950
  };
735
951
 
736
- var engineIsNode = classofRaw(global_1.process) == 'process';
952
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
953
+ var test$1 = {};
737
954
 
738
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
955
+ test$1[TO_STRING_TAG$1] = 'z';
739
956
 
740
- var process = global_1.process;
741
- var versions = process && process.versions;
742
- var v8 = versions && versions.v8;
743
- var match, version;
744
-
745
- if (v8) {
746
- match = v8.split('.');
747
- version = match[0] + match[1];
748
- } else if (engineUserAgent) {
749
- match = engineUserAgent.match(/Edge\/(\d+)/);
750
- if (!match || match[1] >= 74) {
751
- match = engineUserAgent.match(/Chrome\/(\d+)/);
752
- if (match) version = match[1];
753
- }
754
- }
957
+ var toStringTagSupport = String(test$1) === '[object z]';
755
958
 
756
- var engineV8Version = version && +version;
959
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
960
+ var Object$1 = global_1.Object;
757
961
 
758
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
759
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
760
- // eslint-disable-next-line es/no-symbol -- required for testing
761
- return !Symbol.sham &&
762
- // Chrome 38 Symbol has incorrect toString conversion
763
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
764
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
765
- });
962
+ // ES3 wrong here
963
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
766
964
 
767
- /* eslint-disable es/no-symbol -- required for testing */
965
+ // fallback for IE11 Script Access Denied error
966
+ var tryGet = function (it, key) {
967
+ try {
968
+ return it[key];
969
+ } catch (error) { /* empty */ }
970
+ };
768
971
 
972
+ // getting tag from ES6+ `Object.prototype.toString`
973
+ var classof = toStringTagSupport ? classofRaw : function (it) {
974
+ var O, tag, result;
975
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
976
+ // @@toStringTag case
977
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
978
+ // builtinTag case
979
+ : CORRECT_ARGUMENTS ? classofRaw(O)
980
+ // ES3 arguments fallback
981
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
982
+ };
769
983
 
770
- var useSymbolAsUid = nativeSymbol
771
- && !Symbol.sham
772
- && typeof Symbol.iterator == 'symbol';
984
+ var noop = function () { /* empty */ };
985
+ var empty = [];
986
+ var construct = getBuiltIn('Reflect', 'construct');
987
+ var constructorRegExp = /^\s*(?:class|function)\b/;
988
+ var exec$1 = functionUncurryThis(constructorRegExp.exec);
989
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
773
990
 
774
- var WellKnownSymbolsStore = shared('wks');
775
- var Symbol$1 = global_1.Symbol;
776
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
991
+ var isConstructorModern = function isConstructor(argument) {
992
+ if (!isCallable(argument)) return false;
993
+ try {
994
+ construct(noop, empty, argument);
995
+ return true;
996
+ } catch (error) {
997
+ return false;
998
+ }
999
+ };
777
1000
 
778
- var wellKnownSymbol = function (name) {
779
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
780
- if (nativeSymbol && has$1(Symbol$1, name)) {
781
- WellKnownSymbolsStore[name] = Symbol$1[name];
782
- } else {
783
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
784
- }
785
- } return WellKnownSymbolsStore[name];
1001
+ var isConstructorLegacy = function isConstructor(argument) {
1002
+ if (!isCallable(argument)) return false;
1003
+ switch (classof(argument)) {
1004
+ case 'AsyncFunction':
1005
+ case 'GeneratorFunction':
1006
+ case 'AsyncGeneratorFunction': return false;
1007
+ }
1008
+ try {
1009
+ // we can't check .prototype since constructors produced by .bind haven't it
1010
+ // `Function#toString` throws on some built-it function in some legacy engines
1011
+ // (for example, `DOMQuad` and similar in FF41-)
1012
+ return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
1013
+ } catch (error) {
1014
+ return true;
1015
+ }
786
1016
  };
787
1017
 
1018
+ isConstructorLegacy.sham = true;
1019
+
1020
+ // `IsConstructor` abstract operation
1021
+ // https://tc39.es/ecma262/#sec-isconstructor
1022
+ var isConstructor = !construct || fails(function () {
1023
+ var called;
1024
+ return isConstructorModern(isConstructorModern.call)
1025
+ || !isConstructorModern(Object)
1026
+ || !isConstructorModern(function () { called = true; })
1027
+ || called;
1028
+ }) ? isConstructorLegacy : isConstructorModern;
1029
+
788
1030
  var SPECIES$1 = wellKnownSymbol('species');
1031
+ var Array$1 = global_1.Array;
789
1032
 
790
- // `ArraySpeciesCreate` abstract operation
1033
+ // a part of `ArraySpeciesCreate` abstract operation
791
1034
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
792
- var arraySpeciesCreate = function (originalArray, length) {
1035
+ var arraySpeciesConstructor = function (originalArray) {
793
1036
  var C;
794
1037
  if (isArray(originalArray)) {
795
1038
  C = originalArray.constructor;
796
1039
  // cross-realm fallback
797
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1040
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
798
1041
  else if (isObject(C)) {
799
1042
  C = C[SPECIES$1];
800
1043
  if (C === null) C = undefined;
801
1044
  }
802
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1045
+ } return C === undefined ? Array$1 : C;
803
1046
  };
804
1047
 
805
- var push = [].push;
1048
+ // `ArraySpeciesCreate` abstract operation
1049
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1050
+ var arraySpeciesCreate = function (originalArray, length) {
1051
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1052
+ };
1053
+
1054
+ var push = functionUncurryThis([].push);
806
1055
 
807
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1056
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
808
1057
  var createMethod$1 = function (TYPE) {
809
1058
  var IS_MAP = TYPE == 1;
810
1059
  var IS_FILTER = TYPE == 2;
811
1060
  var IS_SOME = TYPE == 3;
812
1061
  var IS_EVERY = TYPE == 4;
813
1062
  var IS_FIND_INDEX = TYPE == 6;
814
- var IS_FILTER_OUT = TYPE == 7;
1063
+ var IS_FILTER_REJECT = TYPE == 7;
815
1064
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
816
1065
  return function ($this, callbackfn, that, specificCreate) {
817
1066
  var O = toObject($this);
818
1067
  var self = indexedObject(O);
819
- var boundFunction = functionBindContext(callbackfn, that, 3);
820
- var length = toLength(self.length);
1068
+ var boundFunction = functionBindContext(callbackfn, that);
1069
+ var length = lengthOfArrayLike(self);
821
1070
  var index = 0;
822
1071
  var create = specificCreate || arraySpeciesCreate;
823
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1072
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
824
1073
  var value, result;
825
1074
  for (;length > index; index++) if (NO_HOLES || index in self) {
826
1075
  value = self[index];
@@ -831,10 +1080,10 @@
831
1080
  case 3: return true; // some
832
1081
  case 5: return value; // find
833
1082
  case 6: return index; // findIndex
834
- case 2: push.call(target, value); // filter
1083
+ case 2: push(target, value); // filter
835
1084
  } else switch (TYPE) {
836
1085
  case 4: return false; // every
837
- case 7: push.call(target, value); // filterOut
1086
+ case 7: push(target, value); // filterReject
838
1087
  }
839
1088
  }
840
1089
  }
@@ -864,9 +1113,9 @@
864
1113
  // `Array.prototype.findIndex` method
865
1114
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
866
1115
  findIndex: createMethod$1(6),
867
- // `Array.prototype.filterOut` method
1116
+ // `Array.prototype.filterReject` method
868
1117
  // https://github.com/tc39/proposal-array-filtering
869
- filterOut: createMethod$1(7)
1118
+ filterReject: createMethod$1(7)
870
1119
  };
871
1120
 
872
1121
  // `Object.keys` method
@@ -879,18 +1128,32 @@
879
1128
  // `Object.defineProperties` method
880
1129
  // https://tc39.es/ecma262/#sec-object.defineproperties
881
1130
  // eslint-disable-next-line es/no-object-defineproperties -- safe
882
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1131
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
883
1132
  anObject(O);
1133
+ var props = toIndexedObject(Properties);
884
1134
  var keys = objectKeys(Properties);
885
1135
  var length = keys.length;
886
1136
  var index = 0;
887
1137
  var key;
888
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1138
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
889
1139
  return O;
890
1140
  };
891
1141
 
1142
+ var objectDefineProperties = {
1143
+ f: f
1144
+ };
1145
+
892
1146
  var html = getBuiltIn('document', 'documentElement');
893
1147
 
1148
+ /* global ActiveXObject -- old IE, WSH */
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
894
1157
  var GT = '>';
895
1158
  var LT = '<';
896
1159
  var PROTOTYPE = 'prototype';
@@ -937,10 +1200,13 @@
937
1200
  var activeXDocument;
938
1201
  var NullProtoObject = function () {
939
1202
  try {
940
- /* global ActiveXObject -- old IE */
941
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1203
+ activeXDocument = new ActiveXObject('htmlfile');
942
1204
  } catch (error) { /* ignore */ }
943
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1205
+ NullProtoObject = typeof document != 'undefined'
1206
+ ? document.domain && activeXDocument
1207
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1208
+ : NullProtoObjectViaIFrame()
1209
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
944
1210
  var length = enumBugKeys.length;
945
1211
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
946
1212
  return NullProtoObject();
@@ -959,7 +1225,7 @@
959
1225
  // add "__proto__" for Object.getPrototypeOf polyfill
960
1226
  result[IE_PROTO] = O;
961
1227
  } else result = NullProtoObject();
962
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1228
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
963
1229
  };
964
1230
 
965
1231
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -999,8 +1265,20 @@
999
1265
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1000
1266
  addToUnscopables(FIND);
1001
1267
 
1268
+ // `Object.prototype.toString` method implementation
1269
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1270
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1271
+ return '[object ' + classof(this) + ']';
1272
+ };
1273
+
1274
+ // `Object.prototype.toString` method
1275
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1276
+ if (!toStringTagSupport) {
1277
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1278
+ }
1279
+
1002
1280
  var createProperty = function (object, key, value) {
1003
- var propertyKey = toPrimitive(key);
1281
+ var propertyKey = toPropertyKey(key);
1004
1282
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1005
1283
  else object[propertyKey] = value;
1006
1284
  };
@@ -1024,6 +1302,7 @@
1024
1302
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1025
1303
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1026
1304
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1305
+ var TypeError$1 = global_1.TypeError;
1027
1306
 
1028
1307
  // We can't use this feature detection in V8 since it causes
1029
1308
  // deoptimization and serious performance degradation
@@ -1057,11 +1336,11 @@
1057
1336
  for (i = -1, length = arguments.length; i < length; i++) {
1058
1337
  E = i === -1 ? O : arguments[i];
1059
1338
  if (isConcatSpreadable(E)) {
1060
- len = toLength(E.length);
1061
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1339
+ len = lengthOfArrayLike(E);
1340
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1062
1341
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1063
1342
  } else {
1064
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1343
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$1(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1065
1344
  createProperty(A, n++, E);
1066
1345
  }
1067
1346
  }
@@ -1070,7 +1349,7 @@
1070
1349
  }
1071
1350
  });
1072
1351
 
1073
- var nativeReverse = [].reverse;
1352
+ var un$Reverse = functionUncurryThis([].reverse);
1074
1353
  var test = [1, 2];
1075
1354
 
1076
1355
  // `Array.prototype.reverse` method
@@ -1081,14 +1360,22 @@
1081
1360
  reverse: function reverse() {
1082
1361
  // eslint-disable-next-line no-self-assign -- dirty hack
1083
1362
  if (isArray(this)) this.length = this.length;
1084
- return nativeReverse.call(this);
1363
+ return un$Reverse(this);
1085
1364
  }
1086
1365
  });
1087
1366
 
1367
+ var String$1 = global_1.String;
1368
+
1369
+ var toString_1 = function (argument) {
1370
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1371
+ return String$1(argument);
1372
+ };
1373
+
1088
1374
  // a string of all valid unicode whitespaces
1089
1375
  var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
1090
1376
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1091
1377
 
1378
+ var replace = functionUncurryThis(''.replace);
1092
1379
  var whitespace = '[' + whitespaces + ']';
1093
1380
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
1094
1381
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -1096,9 +1383,9 @@
1096
1383
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
1097
1384
  var createMethod = function (TYPE) {
1098
1385
  return function ($this) {
1099
- var string = String(requireObjectCoercible($this));
1100
- if (TYPE & 1) string = string.replace(ltrim, '');
1101
- if (TYPE & 2) string = string.replace(rtrim, '');
1386
+ var string = toString_1(requireObjectCoercible($this));
1387
+ if (TYPE & 1) string = replace(string, ltrim, '');
1388
+ if (TYPE & 2) string = replace(string, rtrim, '');
1102
1389
  return string;
1103
1390
  };
1104
1391
  };
@@ -1119,14 +1406,19 @@
1119
1406
 
1120
1407
 
1121
1408
  var $parseInt = global_1.parseInt;
1122
- var hex = /^[+-]?0[Xx]/;
1123
- var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
1409
+ var Symbol$1 = global_1.Symbol;
1410
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
1411
+ var hex = /^[+-]?0x/i;
1412
+ var exec = functionUncurryThis(hex.exec);
1413
+ var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
1414
+ // MS Edge 18- broken with boxed symbols
1415
+ || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
1124
1416
 
1125
1417
  // `parseInt` method
1126
1418
  // https://tc39.es/ecma262/#sec-parseint-string-radix
1127
1419
  var numberParseInt = FORCED ? function parseInt(string, radix) {
1128
- var S = trim(String(string));
1129
- return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
1420
+ var S = trim(toString_1(string));
1421
+ return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
1130
1422
  } : $parseInt;
1131
1423
 
1132
1424
  // `parseInt` method
@@ -1138,29 +1430,31 @@
1138
1430
  var arrayMethodIsStrict = function (METHOD_NAME, argument) {
1139
1431
  var method = [][METHOD_NAME];
1140
1432
  return !!method && fails(function () {
1141
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
1142
- method.call(null, argument || function () { throw 1; }, 1);
1433
+ // eslint-disable-next-line no-useless-call -- required for testing
1434
+ method.call(null, argument || function () { return 1; }, 1);
1143
1435
  });
1144
1436
  };
1145
1437
 
1146
1438
  /* eslint-disable es/no-array-prototype-indexof -- required for testing */
1147
1439
 
1148
- var $indexOf = arrayIncludes.indexOf;
1440
+
1441
+ var $IndexOf = arrayIncludes.indexOf;
1149
1442
 
1150
1443
 
1151
- var nativeIndexOf = [].indexOf;
1444
+ var un$IndexOf = functionUncurryThis([].indexOf);
1152
1445
 
1153
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
1446
+ var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
1154
1447
  var STRICT_METHOD = arrayMethodIsStrict('indexOf');
1155
1448
 
1156
1449
  // `Array.prototype.indexOf` method
1157
1450
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
1158
1451
  _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
1159
1452
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
1453
+ var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
1160
1454
  return NEGATIVE_ZERO
1161
1455
  // convert -0 to +0
1162
- ? nativeIndexOf.apply(this, arguments) || 0
1163
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
1456
+ ? un$IndexOf(this, searchElement, fromIndex) || 0
1457
+ : $IndexOf(this, searchElement, fromIndex);
1164
1458
  }
1165
1459
  });
1166
1460
 
@@ -1168,7 +1462,7 @@
1168
1462
  * @author zhixin wen <wenzhixin2010@gmail.com>
1169
1463
  */
1170
1464
 
1171
- var Utils = $__default['default'].fn.bootstrapTable.utils; // Reasonable defaults
1465
+ var Utils = $__default["default"].fn.bootstrapTable.utils; // Reasonable defaults
1172
1466
 
1173
1467
  var PIXEL_STEP = 10;
1174
1468
  var LINE_HEIGHT = 40;
@@ -1246,13 +1540,13 @@
1246
1540
  };
1247
1541
  }
1248
1542
 
1249
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1543
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1250
1544
  fixedColumns: false,
1251
1545
  fixedNumber: 0,
1252
1546
  fixedRightNumber: 0
1253
1547
  });
1254
1548
 
1255
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1549
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1256
1550
  _inherits(_class, _$$BootstrapTable);
1257
1551
 
1258
1552
  var _super = _createSuper(_class);
@@ -1356,13 +1650,13 @@
1356
1650
  }
1357
1651
 
1358
1652
  this.$tableBody.find('tr').each(function (i, el) {
1359
- var $el = $__default['default'](el);
1653
+ var $el = $__default["default"](el);
1360
1654
  var index = $el.data('index');
1361
1655
  var classes = $el.attr('class');
1362
1656
  var inputSelector = "[name=\"".concat(_this.options.selectItemName, "\"]");
1363
1657
  var $input = $el.find(inputSelector);
1364
1658
 
1365
- if (_typeof(index) === undefined) {
1659
+ if (typeof index === 'undefined') {
1366
1660
  return;
1367
1661
  }
1368
1662
 
@@ -1498,7 +1792,7 @@
1498
1792
  var _this4 = this;
1499
1793
 
1500
1794
  var toggleHover = function toggleHover(e, toggle) {
1501
- var tr = "tr[data-index=\"".concat($__default['default'](e.currentTarget).data('index'), "\"]");
1795
+ var tr = "tr[data-index=\"".concat($__default["default"](e.currentTarget).data('index'), "\"]");
1502
1796
 
1503
1797
  var $trs = _this4.$tableBody.find(tr);
1504
1798
 
@@ -1510,7 +1804,7 @@
1510
1804
  $trs = $trs.add(_this4.$fixedBodyRight.find(tr));
1511
1805
  }
1512
1806
 
1513
- $trs.css('background-color', toggle ? $__default['default'](e.currentTarget).css('background-color') : '');
1807
+ $trs.css('background-color', toggle ? $__default["default"](e.currentTarget).css('background-color') : '');
1514
1808
  };
1515
1809
 
1516
1810
  this.$tableBody.find('tr').hover(function (e) {
@@ -1570,8 +1864,8 @@
1570
1864
  }
1571
1865
 
1572
1866
  if (this.options.filterControl) {
1573
- $__default['default'](this.$fixedColumns).off('keyup change').on('keyup change', function (e) {
1574
- var $target = $__default['default'](e.target);
1867
+ $__default["default"](this.$fixedColumns).off('keyup change').on('keyup change', function (e) {
1868
+ var $target = $__default["default"](e.target);
1575
1869
  var value = $target.val();
1576
1870
  var field = $target.parents('th').data('field');
1577
1871
 
@@ -1622,6 +1916,6 @@
1622
1916
  }]);
1623
1917
 
1624
1918
  return _class;
1625
- }($__default['default'].BootstrapTable);
1919
+ }($__default["default"].BootstrapTable);
1626
1920
 
1627
- })));
1921
+ }));