bootstrap-table-rails 1.18.3 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +1 -1
  4. data/bootstrap-table-rails.gemspec +2 -2
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/assets/javascripts/.DS_Store +0 -0
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +939 -357
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +947 -392
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +953 -396
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +3 -1
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +3034 -2119
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1017 -430
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +564 -249
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1488 -961
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +579 -260
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +574 -258
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +486 -189
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +909 -538
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +921 -501
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2712 -1132
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1326 -747
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +586 -275
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +892 -425
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +670 -357
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +590 -252
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +820 -386
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +549 -240
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +557 -251
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +773 -304
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +586 -258
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +547 -205
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +487 -189
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +559 -247
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +901 -551
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +600 -245
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +472 -183
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +472 -183
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +480 -191
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +472 -183
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +492 -203
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +472 -183
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +472 -183
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +472 -183
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +472 -183
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +472 -183
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +472 -183
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +472 -183
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +472 -183
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +490 -200
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +472 -183
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +472 -183
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +472 -183
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +472 -183
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +472 -183
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +472 -183
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +472 -183
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +472 -183
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +472 -183
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +475 -185
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +472 -183
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +472 -183
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +472 -183
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +472 -183
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +472 -183
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +472 -183
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +472 -183
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +497 -207
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +472 -183
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +472 -183
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +511 -183
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +511 -183
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +472 -183
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +472 -183
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +472 -183
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +472 -183
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +472 -183
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +472 -183
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +472 -183
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +472 -183
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +472 -183
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +472 -183
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +472 -183
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +472 -183
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +472 -183
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +472 -183
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +472 -183
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +472 -183
  93. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +472 -183
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +2 -0
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +564 -258
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +2 -0
  97. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +560 -238
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +2 -0
  99. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +564 -242
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +2 -0
  101. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +562 -255
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +2 -0
  103. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +558 -236
  104. metadata +8 -6
@@ -2,7 +2,7 @@
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
 
@@ -27,6 +27,9 @@
27
27
  function _createClass(Constructor, protoProps, staticProps) {
28
28
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
+ Object.defineProperty(Constructor, "prototype", {
31
+ writable: false
32
+ });
30
33
  return Constructor;
31
34
  }
32
35
 
@@ -42,6 +45,9 @@
42
45
  configurable: true
43
46
  }
44
47
  });
48
+ Object.defineProperty(subClass, "prototype", {
49
+ writable: false
50
+ });
45
51
  if (superClass) _setPrototypeOf(subClass, superClass);
46
52
  }
47
53
 
@@ -85,6 +91,8 @@
85
91
  function _possibleConstructorReturn(self, call) {
86
92
  if (call && (typeof call === "object" || typeof call === "function")) {
87
93
  return call;
94
+ } else if (call !== void 0) {
95
+ throw new TypeError("Derived constructors may only return object or undefined");
88
96
  }
89
97
 
90
98
  return _assertThisInitialized(self);
@@ -118,7 +126,7 @@
118
126
  return object;
119
127
  }
120
128
 
121
- function _get(target, property, receiver) {
129
+ function _get() {
122
130
  if (typeof Reflect !== "undefined" && Reflect.get) {
123
131
  _get = Reflect.get;
124
132
  } else {
@@ -129,14 +137,14 @@
129
137
  var desc = Object.getOwnPropertyDescriptor(base, property);
130
138
 
131
139
  if (desc.get) {
132
- return desc.get.call(receiver);
140
+ return desc.get.call(arguments.length < 3 ? target : receiver);
133
141
  }
134
142
 
135
143
  return desc.value;
136
144
  };
137
145
  }
138
146
 
139
- return _get(target, property, receiver || target);
147
+ return _get.apply(this, arguments);
140
148
  }
141
149
 
142
150
  function _slicedToArray(arr, i) {
@@ -156,18 +164,21 @@
156
164
  }
157
165
 
158
166
  function _iterableToArray(iter) {
159
- if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
167
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
160
168
  }
161
169
 
162
170
  function _iterableToArrayLimit(arr, i) {
163
- if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
171
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
172
+
173
+ if (_i == null) return;
164
174
  var _arr = [];
165
175
  var _n = true;
166
176
  var _d = false;
167
- var _e = undefined;
177
+
178
+ var _s, _e;
168
179
 
169
180
  try {
170
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
181
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
171
182
  _arr.push(_s.value);
172
183
 
173
184
  if (i && _arr.length === i) break;
@@ -212,9 +223,9 @@
212
223
  }
213
224
 
214
225
  function _createForOfIteratorHelper(o, allowArrayLike) {
215
- var it;
226
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
216
227
 
217
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
228
+ if (!it) {
218
229
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
219
230
  if (it) o = it;
220
231
  var i = 0;
@@ -247,7 +258,7 @@
247
258
  err;
248
259
  return {
249
260
  s: function () {
250
- it = o[Symbol.iterator]();
261
+ it = it.call(o);
251
262
  },
252
263
  n: function () {
253
264
  var step = it.next();
@@ -280,9 +291,10 @@
280
291
 
281
292
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
282
293
  var global_1 =
283
- /* global globalThis -- safe */
294
+ // eslint-disable-next-line es/no-global-this -- safe
284
295
  check(typeof globalThis == 'object' && globalThis) ||
285
296
  check(typeof window == 'object' && window) ||
297
+ // eslint-disable-next-line no-restricted-globals -- safe
286
298
  check(typeof self == 'object' && self) ||
287
299
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
288
300
  // eslint-disable-next-line no-new-func -- fallback
@@ -298,24 +310,38 @@
298
310
 
299
311
  // Detect IE8's incomplete defineProperty implementation
300
312
  var descriptors = !fails(function () {
313
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
301
314
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
302
315
  });
303
316
 
304
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
317
+ var functionBindNative = !fails(function () {
318
+ var test = (function () { /* empty */ }).bind();
319
+ // eslint-disable-next-line no-prototype-builtins -- safe
320
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
321
+ });
322
+
323
+ var call$1 = Function.prototype.call;
324
+
325
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
326
+ return call$1.apply(call$1, arguments);
327
+ };
328
+
329
+ var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
330
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
305
331
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
306
332
 
307
333
  // Nashorn ~ JDK8 bug
308
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
334
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
309
335
 
310
336
  // `Object.prototype.propertyIsEnumerable` method implementation
311
337
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
312
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
338
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
313
339
  var descriptor = getOwnPropertyDescriptor$1(this, V);
314
340
  return !!descriptor && descriptor.enumerable;
315
- } : nativePropertyIsEnumerable;
341
+ } : $propertyIsEnumerable$1;
316
342
 
317
343
  var objectPropertyIsEnumerable = {
318
- f: f$4
344
+ f: f$5
319
345
  };
320
346
 
321
347
  var createPropertyDescriptor = function (bitmap, value) {
@@ -327,27 +353,44 @@
327
353
  };
328
354
  };
329
355
 
330
- var toString = {}.toString;
356
+ var FunctionPrototype$1 = Function.prototype;
357
+ var bind$1 = FunctionPrototype$1.bind;
358
+ var call = FunctionPrototype$1.call;
359
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
360
+
361
+ var functionUncurryThis = functionBindNative ? function (fn) {
362
+ return fn && uncurryThis(fn);
363
+ } : function (fn) {
364
+ return fn && function () {
365
+ return call.apply(fn, arguments);
366
+ };
367
+ };
368
+
369
+ var toString$1 = functionUncurryThis({}.toString);
370
+ var stringSlice$1 = functionUncurryThis(''.slice);
331
371
 
332
372
  var classofRaw = function (it) {
333
- return toString.call(it).slice(8, -1);
373
+ return stringSlice$1(toString$1(it), 8, -1);
334
374
  };
335
375
 
336
- var split = ''.split;
376
+ var Object$4 = global_1.Object;
377
+ var split = functionUncurryThis(''.split);
337
378
 
338
379
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
339
380
  var indexedObject = fails(function () {
340
381
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
341
382
  // eslint-disable-next-line no-prototype-builtins -- safe
342
- return !Object('z').propertyIsEnumerable(0);
383
+ return !Object$4('z').propertyIsEnumerable(0);
343
384
  }) ? function (it) {
344
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
345
- } : Object;
385
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
386
+ } : Object$4;
387
+
388
+ var TypeError$a = global_1.TypeError;
346
389
 
347
390
  // `RequireObjectCoercible` abstract operation
348
391
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
349
392
  var requireObjectCoercible = function (it) {
350
- if (it == undefined) throw TypeError("Can't call method on " + it);
393
+ if (it == undefined) throw TypeError$a("Can't call method on " + it);
351
394
  return it;
352
395
  };
353
396
 
@@ -359,85 +402,309 @@
359
402
  return indexedObject(requireObjectCoercible(it));
360
403
  };
361
404
 
405
+ // `IsCallable` abstract operation
406
+ // https://tc39.es/ecma262/#sec-iscallable
407
+ var isCallable = function (argument) {
408
+ return typeof argument == 'function';
409
+ };
410
+
362
411
  var isObject = function (it) {
363
- return typeof it === 'object' ? it !== null : typeof it === 'function';
412
+ return typeof it == 'object' ? it !== null : isCallable(it);
364
413
  };
365
414
 
366
- // `ToPrimitive` abstract operation
367
- // https://tc39.es/ecma262/#sec-toprimitive
368
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
369
- // and the second argument - flag - preferred type is a string
370
- var toPrimitive = function (input, PREFERRED_STRING) {
371
- if (!isObject(input)) return input;
415
+ var aFunction = function (argument) {
416
+ return isCallable(argument) ? argument : undefined;
417
+ };
418
+
419
+ var getBuiltIn = function (namespace, method) {
420
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
421
+ };
422
+
423
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
424
+
425
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
426
+
427
+ var process = global_1.process;
428
+ var Deno = global_1.Deno;
429
+ var versions = process && process.versions || Deno && Deno.version;
430
+ var v8 = versions && versions.v8;
431
+ var match, version;
432
+
433
+ if (v8) {
434
+ match = v8.split('.');
435
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
436
+ // but their correct versions are not interesting for us
437
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
438
+ }
439
+
440
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
441
+ // so check `userAgent` even if `.v8` exists, but 0
442
+ if (!version && engineUserAgent) {
443
+ match = engineUserAgent.match(/Edge\/(\d+)/);
444
+ if (!match || match[1] >= 74) {
445
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
446
+ if (match) version = +match[1];
447
+ }
448
+ }
449
+
450
+ var engineV8Version = version;
451
+
452
+ /* eslint-disable es/no-symbol -- required for testing */
453
+
454
+
455
+
456
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
457
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
458
+ var symbol = Symbol();
459
+ // Chrome 38 Symbol has incorrect toString conversion
460
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
461
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
462
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
463
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
464
+ });
465
+
466
+ /* eslint-disable es/no-symbol -- required for testing */
467
+
468
+
469
+ var useSymbolAsUid = nativeSymbol
470
+ && !Symbol.sham
471
+ && typeof Symbol.iterator == 'symbol';
472
+
473
+ var Object$3 = global_1.Object;
474
+
475
+ var isSymbol = useSymbolAsUid ? function (it) {
476
+ return typeof it == 'symbol';
477
+ } : function (it) {
478
+ var $Symbol = getBuiltIn('Symbol');
479
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
480
+ };
481
+
482
+ var String$3 = global_1.String;
483
+
484
+ var tryToString = function (argument) {
485
+ try {
486
+ return String$3(argument);
487
+ } catch (error) {
488
+ return 'Object';
489
+ }
490
+ };
491
+
492
+ var TypeError$9 = global_1.TypeError;
493
+
494
+ // `Assert: IsCallable(argument) is true`
495
+ var aCallable = function (argument) {
496
+ if (isCallable(argument)) return argument;
497
+ throw TypeError$9(tryToString(argument) + ' is not a function');
498
+ };
499
+
500
+ // `GetMethod` abstract operation
501
+ // https://tc39.es/ecma262/#sec-getmethod
502
+ var getMethod = function (V, P) {
503
+ var func = V[P];
504
+ return func == null ? undefined : aCallable(func);
505
+ };
506
+
507
+ var TypeError$8 = global_1.TypeError;
508
+
509
+ // `OrdinaryToPrimitive` abstract operation
510
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
511
+ var ordinaryToPrimitive = function (input, pref) {
372
512
  var fn, val;
373
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
374
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
375
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
376
- throw TypeError("Can't convert object to primitive value");
513
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
514
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
515
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
516
+ throw TypeError$8("Can't convert object to primitive value");
517
+ };
518
+
519
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
520
+ var defineProperty$1 = Object.defineProperty;
521
+
522
+ var setGlobal = function (key, value) {
523
+ try {
524
+ defineProperty$1(global_1, key, { value: value, configurable: true, writable: true });
525
+ } catch (error) {
526
+ global_1[key] = value;
527
+ } return value;
528
+ };
529
+
530
+ var SHARED = '__core-js_shared__';
531
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
532
+
533
+ var sharedStore = store$1;
534
+
535
+ var shared = createCommonjsModule(function (module) {
536
+ (module.exports = function (key, value) {
537
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
538
+ })('versions', []).push({
539
+ version: '3.21.1',
540
+ mode: 'global',
541
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
542
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
543
+ source: 'https://github.com/zloirock/core-js'
544
+ });
545
+ });
546
+
547
+ var Object$2 = global_1.Object;
548
+
549
+ // `ToObject` abstract operation
550
+ // https://tc39.es/ecma262/#sec-toobject
551
+ var toObject = function (argument) {
552
+ return Object$2(requireObjectCoercible(argument));
553
+ };
554
+
555
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
556
+
557
+ // `HasOwnProperty` abstract operation
558
+ // https://tc39.es/ecma262/#sec-hasownproperty
559
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
560
+ return hasOwnProperty(toObject(it), key);
561
+ };
562
+
563
+ var id = 0;
564
+ var postfix = Math.random();
565
+ var toString = functionUncurryThis(1.0.toString);
566
+
567
+ var uid = function (key) {
568
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
569
+ };
570
+
571
+ var WellKnownSymbolsStore = shared('wks');
572
+ var Symbol$1 = global_1.Symbol;
573
+ var symbolFor = Symbol$1 && Symbol$1['for'];
574
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
575
+
576
+ var wellKnownSymbol = function (name) {
577
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
578
+ var description = 'Symbol.' + name;
579
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
580
+ WellKnownSymbolsStore[name] = Symbol$1[name];
581
+ } else if (useSymbolAsUid && symbolFor) {
582
+ WellKnownSymbolsStore[name] = symbolFor(description);
583
+ } else {
584
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
585
+ }
586
+ } return WellKnownSymbolsStore[name];
377
587
  };
378
588
 
379
- var hasOwnProperty = {}.hasOwnProperty;
589
+ var TypeError$7 = global_1.TypeError;
590
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
591
+
592
+ // `ToPrimitive` abstract operation
593
+ // https://tc39.es/ecma262/#sec-toprimitive
594
+ var toPrimitive = function (input, pref) {
595
+ if (!isObject(input) || isSymbol(input)) return input;
596
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
597
+ var result;
598
+ if (exoticToPrim) {
599
+ if (pref === undefined) pref = 'default';
600
+ result = functionCall(exoticToPrim, input, pref);
601
+ if (!isObject(result) || isSymbol(result)) return result;
602
+ throw TypeError$7("Can't convert object to primitive value");
603
+ }
604
+ if (pref === undefined) pref = 'number';
605
+ return ordinaryToPrimitive(input, pref);
606
+ };
380
607
 
381
- var has$1 = function (it, key) {
382
- return hasOwnProperty.call(it, key);
608
+ // `ToPropertyKey` abstract operation
609
+ // https://tc39.es/ecma262/#sec-topropertykey
610
+ var toPropertyKey = function (argument) {
611
+ var key = toPrimitive(argument, 'string');
612
+ return isSymbol(key) ? key : key + '';
383
613
  };
384
614
 
385
615
  var document$1 = global_1.document;
386
616
  // typeof document.createElement is 'object' in old IE
387
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
617
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
388
618
 
389
619
  var documentCreateElement = function (it) {
390
- return EXISTS ? document$1.createElement(it) : {};
620
+ return EXISTS$1 ? document$1.createElement(it) : {};
391
621
  };
392
622
 
393
- // Thank's IE8 for his funny defineProperty
623
+ // Thanks to IE8 for its funny defineProperty
394
624
  var ie8DomDefine = !descriptors && !fails(function () {
625
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
395
626
  return Object.defineProperty(documentCreateElement('div'), 'a', {
396
627
  get: function () { return 7; }
397
628
  }).a != 7;
398
629
  });
399
630
 
400
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
631
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
632
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
401
633
 
402
634
  // `Object.getOwnPropertyDescriptor` method
403
635
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
404
- var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
636
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
405
637
  O = toIndexedObject(O);
406
- P = toPrimitive(P, true);
638
+ P = toPropertyKey(P);
407
639
  if (ie8DomDefine) try {
408
- return nativeGetOwnPropertyDescriptor(O, P);
640
+ return $getOwnPropertyDescriptor$1(O, P);
409
641
  } catch (error) { /* empty */ }
410
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
642
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
411
643
  };
412
644
 
413
645
  var objectGetOwnPropertyDescriptor = {
414
- f: f$3
646
+ f: f$4
415
647
  };
416
648
 
417
- var anObject = function (it) {
418
- if (!isObject(it)) {
419
- throw TypeError(String(it) + ' is not an object');
420
- } return it;
649
+ // V8 ~ Chrome 36-
650
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
651
+ var v8PrototypeDefineBug = descriptors && fails(function () {
652
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
653
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
654
+ value: 42,
655
+ writable: false
656
+ }).prototype != 42;
657
+ });
658
+
659
+ var String$2 = global_1.String;
660
+ var TypeError$6 = global_1.TypeError;
661
+
662
+ // `Assert: Type(argument) is Object`
663
+ var anObject = function (argument) {
664
+ if (isObject(argument)) return argument;
665
+ throw TypeError$6(String$2(argument) + ' is not an object');
421
666
  };
422
667
 
423
- var nativeDefineProperty = Object.defineProperty;
668
+ var TypeError$5 = global_1.TypeError;
669
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
670
+ var $defineProperty = Object.defineProperty;
671
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
672
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
673
+ var ENUMERABLE = 'enumerable';
674
+ var CONFIGURABLE$1 = 'configurable';
675
+ var WRITABLE = 'writable';
424
676
 
425
677
  // `Object.defineProperty` method
426
678
  // https://tc39.es/ecma262/#sec-object.defineproperty
427
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
679
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
680
+ anObject(O);
681
+ P = toPropertyKey(P);
682
+ anObject(Attributes);
683
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
684
+ var current = $getOwnPropertyDescriptor(O, P);
685
+ if (current && current[WRITABLE]) {
686
+ O[P] = Attributes.value;
687
+ Attributes = {
688
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
689
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
690
+ writable: false
691
+ };
692
+ }
693
+ } return $defineProperty(O, P, Attributes);
694
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
428
695
  anObject(O);
429
- P = toPrimitive(P, true);
696
+ P = toPropertyKey(P);
430
697
  anObject(Attributes);
431
698
  if (ie8DomDefine) try {
432
- return nativeDefineProperty(O, P, Attributes);
699
+ return $defineProperty(O, P, Attributes);
433
700
  } catch (error) { /* empty */ }
434
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
701
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$5('Accessors not supported');
435
702
  if ('value' in Attributes) O[P] = Attributes.value;
436
703
  return O;
437
704
  };
438
705
 
439
706
  var objectDefineProperty = {
440
- f: f$2
707
+ f: f$3
441
708
  };
442
709
 
443
710
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -447,25 +714,12 @@
447
714
  return object;
448
715
  };
449
716
 
450
- var setGlobal = function (key, value) {
451
- try {
452
- createNonEnumerableProperty(global_1, key, value);
453
- } catch (error) {
454
- global_1[key] = value;
455
- } return value;
456
- };
457
-
458
- var SHARED = '__core-js_shared__';
459
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
460
-
461
- var sharedStore = store$1;
717
+ var functionToString = functionUncurryThis(Function.toString);
462
718
 
463
- var functionToString = Function.toString;
464
-
465
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
466
- if (typeof sharedStore.inspectSource != 'function') {
719
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
720
+ if (!isCallable(sharedStore.inspectSource)) {
467
721
  sharedStore.inspectSource = function (it) {
468
- return functionToString.call(it);
722
+ return functionToString(it);
469
723
  };
470
724
  }
471
725
 
@@ -473,24 +727,7 @@
473
727
 
474
728
  var WeakMap$1 = global_1.WeakMap;
475
729
 
476
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
477
-
478
- var shared = createCommonjsModule(function (module) {
479
- (module.exports = function (key, value) {
480
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
481
- })('versions', []).push({
482
- version: '3.9.1',
483
- mode: 'global',
484
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
485
- });
486
- });
487
-
488
- var id = 0;
489
- var postfix = Math.random();
490
-
491
- var uid = function (key) {
492
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
493
- };
730
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
494
731
 
495
732
  var keys = shared('keys');
496
733
 
@@ -500,6 +737,8 @@
500
737
 
501
738
  var hiddenKeys$1 = {};
502
739
 
740
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
741
+ var TypeError$4 = global_1.TypeError;
503
742
  var WeakMap = global_1.WeakMap;
504
743
  var set, get, has;
505
744
 
@@ -511,40 +750,42 @@
511
750
  return function (it) {
512
751
  var state;
513
752
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
514
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
753
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
515
754
  } return state;
516
755
  };
517
756
  };
518
757
 
519
- if (nativeWeakMap) {
758
+ if (nativeWeakMap || sharedStore.state) {
520
759
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
521
- var wmget = store.get;
522
- var wmhas = store.has;
523
- var wmset = store.set;
760
+ var wmget = functionUncurryThis(store.get);
761
+ var wmhas = functionUncurryThis(store.has);
762
+ var wmset = functionUncurryThis(store.set);
524
763
  set = function (it, metadata) {
764
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
525
765
  metadata.facade = it;
526
- wmset.call(store, it, metadata);
766
+ wmset(store, it, metadata);
527
767
  return metadata;
528
768
  };
529
769
  get = function (it) {
530
- return wmget.call(store, it) || {};
770
+ return wmget(store, it) || {};
531
771
  };
532
772
  has = function (it) {
533
- return wmhas.call(store, it);
773
+ return wmhas(store, it);
534
774
  };
535
775
  } else {
536
776
  var STATE = sharedKey('state');
537
777
  hiddenKeys$1[STATE] = true;
538
778
  set = function (it, metadata) {
779
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
539
780
  metadata.facade = it;
540
781
  createNonEnumerableProperty(it, STATE, metadata);
541
782
  return metadata;
542
783
  };
543
784
  get = function (it) {
544
- return has$1(it, STATE) ? it[STATE] : {};
785
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
545
786
  };
546
787
  has = function (it) {
547
- return has$1(it, STATE);
788
+ return hasOwnProperty_1(it, STATE);
548
789
  };
549
790
  }
550
791
 
@@ -556,7 +797,24 @@
556
797
  getterFor: getterFor
557
798
  };
558
799
 
800
+ var FunctionPrototype = Function.prototype;
801
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
802
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
803
+
804
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
805
+ // additional protection from minified / mangled / dropped function names
806
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
807
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
808
+
809
+ var functionName = {
810
+ EXISTS: EXISTS,
811
+ PROPER: PROPER,
812
+ CONFIGURABLE: CONFIGURABLE
813
+ };
814
+
559
815
  var redefine = createCommonjsModule(function (module) {
816
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
817
+
560
818
  var getInternalState = internalState.get;
561
819
  var enforceInternalState = internalState.enforce;
562
820
  var TEMPLATE = String(String).split('String');
@@ -565,14 +823,18 @@
565
823
  var unsafe = options ? !!options.unsafe : false;
566
824
  var simple = options ? !!options.enumerable : false;
567
825
  var noTargetGet = options ? !!options.noTargetGet : false;
826
+ var name = options && options.name !== undefined ? options.name : key;
568
827
  var state;
569
- if (typeof value == 'function') {
570
- if (typeof key == 'string' && !has$1(value, 'name')) {
571
- createNonEnumerableProperty(value, 'name', key);
828
+ if (isCallable(value)) {
829
+ if (String(name).slice(0, 7) === 'Symbol(') {
830
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
831
+ }
832
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
833
+ createNonEnumerableProperty(value, 'name', name);
572
834
  }
573
835
  state = enforceInternalState(value);
574
836
  if (!state.source) {
575
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
837
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
576
838
  }
577
839
  }
578
840
  if (O === global_1) {
@@ -588,54 +850,51 @@
588
850
  else createNonEnumerableProperty(O, key, value);
589
851
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
590
852
  })(Function.prototype, 'toString', function toString() {
591
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
853
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
592
854
  });
593
855
  });
594
856
 
595
- var path = global_1;
596
-
597
- var aFunction$1 = function (variable) {
598
- return typeof variable == 'function' ? variable : undefined;
599
- };
600
-
601
- var getBuiltIn = function (namespace, method) {
602
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
603
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
604
- };
605
-
606
857
  var ceil = Math.ceil;
607
858
  var floor = Math.floor;
608
859
 
609
- // `ToInteger` abstract operation
610
- // https://tc39.es/ecma262/#sec-tointeger
611
- var toInteger = function (argument) {
612
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
860
+ // `ToIntegerOrInfinity` abstract operation
861
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
862
+ var toIntegerOrInfinity = function (argument) {
863
+ var number = +argument;
864
+ // eslint-disable-next-line no-self-compare -- safe
865
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
613
866
  };
614
867
 
868
+ var max = Math.max;
615
869
  var min$1 = Math.min;
616
870
 
871
+ // Helper for a popular repeating case of the spec:
872
+ // Let integer be ? ToInteger(index).
873
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
874
+ var toAbsoluteIndex = function (index, length) {
875
+ var integer = toIntegerOrInfinity(index);
876
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
877
+ };
878
+
879
+ var min = Math.min;
880
+
617
881
  // `ToLength` abstract operation
618
882
  // https://tc39.es/ecma262/#sec-tolength
619
883
  var toLength = function (argument) {
620
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
884
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
621
885
  };
622
886
 
623
- var max = Math.max;
624
- var min = Math.min;
625
-
626
- // Helper for a popular repeating case of the spec:
627
- // Let integer be ? ToInteger(index).
628
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
629
- var toAbsoluteIndex = function (index, length) {
630
- var integer = toInteger(index);
631
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
887
+ // `LengthOfArrayLike` abstract operation
888
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
889
+ var lengthOfArrayLike = function (obj) {
890
+ return toLength(obj.length);
632
891
  };
633
892
 
634
893
  // `Array.prototype.{ indexOf, includes }` methods implementation
635
894
  var createMethod$3 = function (IS_INCLUDES) {
636
895
  return function ($this, el, fromIndex) {
637
896
  var O = toIndexedObject($this);
638
- var length = toLength(O.length);
897
+ var length = lengthOfArrayLike(O);
639
898
  var index = toAbsoluteIndex(fromIndex, length);
640
899
  var value;
641
900
  // Array#includes uses SameValueZero equality algorithm
@@ -660,18 +919,20 @@
660
919
  indexOf: createMethod$3(false)
661
920
  };
662
921
 
663
- var indexOf = arrayIncludes.indexOf;
922
+ var indexOf$1 = arrayIncludes.indexOf;
923
+
664
924
 
925
+ var push$2 = functionUncurryThis([].push);
665
926
 
666
927
  var objectKeysInternal = function (object, names) {
667
928
  var O = toIndexedObject(object);
668
929
  var i = 0;
669
930
  var result = [];
670
931
  var key;
671
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
932
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$2(result, key);
672
933
  // Don't enum bug & hidden keys
673
- while (names.length > i) if (has$1(O, key = names[i++])) {
674
- ~indexOf(result, key) || result.push(key);
934
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
935
+ ~indexOf$1(result, key) || push$2(result, key);
675
936
  }
676
937
  return result;
677
938
  };
@@ -691,34 +952,40 @@
691
952
 
692
953
  // `Object.getOwnPropertyNames` method
693
954
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
694
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
955
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
956
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
695
957
  return objectKeysInternal(O, hiddenKeys);
696
958
  };
697
959
 
698
960
  var objectGetOwnPropertyNames = {
699
- f: f$1
961
+ f: f$2
700
962
  };
701
963
 
702
- var f = Object.getOwnPropertySymbols;
964
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
965
+ var f$1 = Object.getOwnPropertySymbols;
703
966
 
704
967
  var objectGetOwnPropertySymbols = {
705
- f: f
968
+ f: f$1
706
969
  };
707
970
 
971
+ var concat$1 = functionUncurryThis([].concat);
972
+
708
973
  // all object keys, includes non-enumerable and symbols
709
974
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
710
975
  var keys = objectGetOwnPropertyNames.f(anObject(it));
711
976
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
712
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
977
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
713
978
  };
714
979
 
715
- var copyConstructorProperties = function (target, source) {
980
+ var copyConstructorProperties = function (target, source, exceptions) {
716
981
  var keys = ownKeys(source);
717
982
  var defineProperty = objectDefineProperty.f;
718
983
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
719
984
  for (var i = 0; i < keys.length; i++) {
720
985
  var key = keys[i];
721
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
986
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
987
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
988
+ }
722
989
  }
723
990
  };
724
991
 
@@ -728,7 +995,7 @@
728
995
  var value = data[normalize(feature)];
729
996
  return value == POLYFILL ? true
730
997
  : value == NATIVE ? false
731
- : typeof detection == 'function' ? fails(detection)
998
+ : isCallable(detection) ? fails(detection)
732
999
  : !!detection;
733
1000
  };
734
1001
 
@@ -762,6 +1029,7 @@
762
1029
  options.sham - add a flag to not completely full polyfills
763
1030
  options.enumerable - export as enumerable property
764
1031
  options.noTargetGet - prevent calling a getter on target
1032
+ options.name - the .name of the function if it does not match the key
765
1033
  */
766
1034
  var _export = function (options, source) {
767
1035
  var TARGET = options.target;
@@ -784,7 +1052,7 @@
784
1052
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
785
1053
  // contained in target
786
1054
  if (!FORCED && targetProperty !== undefined) {
787
- if (typeof sourceProperty === typeof targetProperty) continue;
1055
+ if (typeof sourceProperty == typeof targetProperty) continue;
788
1056
  copyConstructorProperties(sourceProperty, targetProperty);
789
1057
  }
790
1058
  // add a flag to not completely full polyfills
@@ -796,6 +1064,45 @@
796
1064
  }
797
1065
  };
798
1066
 
1067
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
1068
+ var test = {};
1069
+
1070
+ test[TO_STRING_TAG$1] = 'z';
1071
+
1072
+ var toStringTagSupport = String(test) === '[object z]';
1073
+
1074
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1075
+ var Object$1 = global_1.Object;
1076
+
1077
+ // ES3 wrong here
1078
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1079
+
1080
+ // fallback for IE11 Script Access Denied error
1081
+ var tryGet = function (it, key) {
1082
+ try {
1083
+ return it[key];
1084
+ } catch (error) { /* empty */ }
1085
+ };
1086
+
1087
+ // getting tag from ES6+ `Object.prototype.toString`
1088
+ var classof = toStringTagSupport ? classofRaw : function (it) {
1089
+ var O, tag, result;
1090
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1091
+ // @@toStringTag case
1092
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1093
+ // builtinTag case
1094
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1095
+ // ES3 arguments fallback
1096
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1097
+ };
1098
+
1099
+ var String$1 = global_1.String;
1100
+
1101
+ var toString_1 = function (argument) {
1102
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1103
+ return String$1(argument);
1104
+ };
1105
+
799
1106
  // `RegExp.prototype.flags` getter implementation
800
1107
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
801
1108
  var regexpFlags = function () {
@@ -810,79 +1117,233 @@
810
1117
  return result;
811
1118
  };
812
1119
 
813
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
814
- // so we use an intermediate function.
815
- function RE(s, f) {
816
- return RegExp(s, f);
817
- }
1120
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1121
+ var $RegExp$2 = global_1.RegExp;
818
1122
 
819
1123
  var UNSUPPORTED_Y$1 = fails(function () {
820
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
821
- var re = RE('a', 'y');
1124
+ var re = $RegExp$2('a', 'y');
822
1125
  re.lastIndex = 2;
823
1126
  return re.exec('abcd') != null;
824
1127
  });
825
1128
 
826
- var BROKEN_CARET = fails(function () {
1129
+ // UC Browser bug
1130
+ // https://github.com/zloirock/core-js/issues/1008
1131
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails(function () {
1132
+ return !$RegExp$2('a', 'y').sticky;
1133
+ });
1134
+
1135
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails(function () {
827
1136
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
828
- var re = RE('^r', 'gy');
1137
+ var re = $RegExp$2('^r', 'gy');
829
1138
  re.lastIndex = 2;
830
1139
  return re.exec('str') != null;
831
1140
  });
832
1141
 
833
1142
  var regexpStickyHelpers = {
834
- UNSUPPORTED_Y: UNSUPPORTED_Y$1,
835
- BROKEN_CARET: BROKEN_CARET
1143
+ BROKEN_CARET: BROKEN_CARET,
1144
+ MISSED_STICKY: MISSED_STICKY,
1145
+ UNSUPPORTED_Y: UNSUPPORTED_Y$1
836
1146
  };
837
1147
 
838
- var nativeExec = RegExp.prototype.exec;
839
- // This always refers to the native implementation, because the
840
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
841
- // which loads this file before patching the method.
842
- var nativeReplace = String.prototype.replace;
1148
+ // `Object.keys` method
1149
+ // https://tc39.es/ecma262/#sec-object.keys
1150
+ // eslint-disable-next-line es/no-object-keys -- safe
1151
+ var objectKeys = Object.keys || function keys(O) {
1152
+ return objectKeysInternal(O, enumBugKeys);
1153
+ };
843
1154
 
844
- var patchedExec = nativeExec;
1155
+ // `Object.defineProperties` method
1156
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1157
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1158
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
1159
+ anObject(O);
1160
+ var props = toIndexedObject(Properties);
1161
+ var keys = objectKeys(Properties);
1162
+ var length = keys.length;
1163
+ var index = 0;
1164
+ var key;
1165
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
1166
+ return O;
1167
+ };
845
1168
 
846
- var UPDATES_LAST_INDEX_WRONG = (function () {
847
- var re1 = /a/;
848
- var re2 = /b*/g;
849
- nativeExec.call(re1, 'a');
850
- nativeExec.call(re2, 'a');
851
- return re1.lastIndex !== 0 || re2.lastIndex !== 0;
852
- })();
1169
+ var objectDefineProperties = {
1170
+ f: f
1171
+ };
853
1172
 
854
- var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1173
+ var html = getBuiltIn('document', 'documentElement');
855
1174
 
856
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
857
- // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
858
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1175
+ /* global ActiveXObject -- old IE, WSH */
859
1176
 
860
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
861
1177
 
862
- if (PATCH) {
863
- patchedExec = function exec(str) {
864
- var re = this;
865
- var lastIndex, reCopy, match, i;
866
- var sticky = UNSUPPORTED_Y && re.sticky;
867
- var flags = regexpFlags.call(re);
868
- var source = re.source;
869
- var charsAdded = 0;
870
- var strCopy = str;
871
1178
 
872
- if (sticky) {
873
- flags = flags.replace('y', '');
874
- if (flags.indexOf('g') === -1) {
875
- flags += 'g';
876
- }
877
1179
 
878
- strCopy = String(str).slice(re.lastIndex);
879
- // Support anchored sticky behavior.
880
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
881
- source = '(?: ' + source + ')';
882
- strCopy = ' ' + strCopy;
883
- charsAdded++;
884
- }
885
- // ^(? + rx + ) is needed, in combination with some str slicing, to
1180
+
1181
+
1182
+
1183
+
1184
+ var GT = '>';
1185
+ var LT = '<';
1186
+ var PROTOTYPE = 'prototype';
1187
+ var SCRIPT = 'script';
1188
+ var IE_PROTO = sharedKey('IE_PROTO');
1189
+
1190
+ var EmptyConstructor = function () { /* empty */ };
1191
+
1192
+ var scriptTag = function (content) {
1193
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1194
+ };
1195
+
1196
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1197
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1198
+ activeXDocument.write(scriptTag(''));
1199
+ activeXDocument.close();
1200
+ var temp = activeXDocument.parentWindow.Object;
1201
+ activeXDocument = null; // avoid memory leak
1202
+ return temp;
1203
+ };
1204
+
1205
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1206
+ var NullProtoObjectViaIFrame = function () {
1207
+ // Thrash, waste and sodomy: IE GC bug
1208
+ var iframe = documentCreateElement('iframe');
1209
+ var JS = 'java' + SCRIPT + ':';
1210
+ var iframeDocument;
1211
+ iframe.style.display = 'none';
1212
+ html.appendChild(iframe);
1213
+ // https://github.com/zloirock/core-js/issues/475
1214
+ iframe.src = String(JS);
1215
+ iframeDocument = iframe.contentWindow.document;
1216
+ iframeDocument.open();
1217
+ iframeDocument.write(scriptTag('document.F=Object'));
1218
+ iframeDocument.close();
1219
+ return iframeDocument.F;
1220
+ };
1221
+
1222
+ // Check for document.domain and active x support
1223
+ // No need to use active x approach when document.domain is not set
1224
+ // see https://github.com/es-shims/es5-shim/issues/150
1225
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1226
+ // avoid IE GC bug
1227
+ var activeXDocument;
1228
+ var NullProtoObject = function () {
1229
+ try {
1230
+ activeXDocument = new ActiveXObject('htmlfile');
1231
+ } catch (error) { /* ignore */ }
1232
+ NullProtoObject = typeof document != 'undefined'
1233
+ ? document.domain && activeXDocument
1234
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1235
+ : NullProtoObjectViaIFrame()
1236
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1237
+ var length = enumBugKeys.length;
1238
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1239
+ return NullProtoObject();
1240
+ };
1241
+
1242
+ hiddenKeys$1[IE_PROTO] = true;
1243
+
1244
+ // `Object.create` method
1245
+ // https://tc39.es/ecma262/#sec-object.create
1246
+ var objectCreate = Object.create || function create(O, Properties) {
1247
+ var result;
1248
+ if (O !== null) {
1249
+ EmptyConstructor[PROTOTYPE] = anObject(O);
1250
+ result = new EmptyConstructor();
1251
+ EmptyConstructor[PROTOTYPE] = null;
1252
+ // add "__proto__" for Object.getPrototypeOf polyfill
1253
+ result[IE_PROTO] = O;
1254
+ } else result = NullProtoObject();
1255
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1256
+ };
1257
+
1258
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1259
+ var $RegExp$1 = global_1.RegExp;
1260
+
1261
+ var regexpUnsupportedDotAll = fails(function () {
1262
+ var re = $RegExp$1('.', 's');
1263
+ return !(re.dotAll && re.exec('\n') && re.flags === 's');
1264
+ });
1265
+
1266
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1267
+ var $RegExp = global_1.RegExp;
1268
+
1269
+ var regexpUnsupportedNcg = fails(function () {
1270
+ var re = $RegExp('(?<a>b)', 'g');
1271
+ return re.exec('b').groups.a !== 'b' ||
1272
+ 'b'.replace(re, '$<a>c') !== 'bc';
1273
+ });
1274
+
1275
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1276
+ /* eslint-disable regexp/no-useless-quantifier -- testing */
1277
+
1278
+
1279
+
1280
+
1281
+
1282
+
1283
+
1284
+ var getInternalState = internalState.get;
1285
+
1286
+
1287
+
1288
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
1289
+ var nativeExec = RegExp.prototype.exec;
1290
+ var patchedExec = nativeExec;
1291
+ var charAt = functionUncurryThis(''.charAt);
1292
+ var indexOf = functionUncurryThis(''.indexOf);
1293
+ var replace$1 = functionUncurryThis(''.replace);
1294
+ var stringSlice = functionUncurryThis(''.slice);
1295
+
1296
+ var UPDATES_LAST_INDEX_WRONG = (function () {
1297
+ var re1 = /a/;
1298
+ var re2 = /b*/g;
1299
+ functionCall(nativeExec, re1, 'a');
1300
+ functionCall(nativeExec, re2, 'a');
1301
+ return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1302
+ })();
1303
+
1304
+ var UNSUPPORTED_Y = regexpStickyHelpers.BROKEN_CARET;
1305
+
1306
+ // nonparticipating capturing group, copied from es5-shim's String#split patch.
1307
+ var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1308
+
1309
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || regexpUnsupportedDotAll || regexpUnsupportedNcg;
1310
+
1311
+ if (PATCH) {
1312
+ patchedExec = function exec(string) {
1313
+ var re = this;
1314
+ var state = getInternalState(re);
1315
+ var str = toString_1(string);
1316
+ var raw = state.raw;
1317
+ var result, reCopy, lastIndex, match, i, object, group;
1318
+
1319
+ if (raw) {
1320
+ raw.lastIndex = re.lastIndex;
1321
+ result = functionCall(patchedExec, raw, str);
1322
+ re.lastIndex = raw.lastIndex;
1323
+ return result;
1324
+ }
1325
+
1326
+ var groups = state.groups;
1327
+ var sticky = UNSUPPORTED_Y && re.sticky;
1328
+ var flags = functionCall(regexpFlags, re);
1329
+ var source = re.source;
1330
+ var charsAdded = 0;
1331
+ var strCopy = str;
1332
+
1333
+ if (sticky) {
1334
+ flags = replace$1(flags, 'y', '');
1335
+ if (indexOf(flags, 'g') === -1) {
1336
+ flags += 'g';
1337
+ }
1338
+
1339
+ strCopy = stringSlice(str, re.lastIndex);
1340
+ // Support anchored sticky behavior.
1341
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
1342
+ source = '(?: ' + source + ')';
1343
+ strCopy = ' ' + strCopy;
1344
+ charsAdded++;
1345
+ }
1346
+ // ^(? + rx + ) is needed, in combination with some str slicing, to
886
1347
  // simulate the 'y' flag.
887
1348
  reCopy = new RegExp('^(?:' + source + ')', flags);
888
1349
  }
@@ -892,12 +1353,12 @@
892
1353
  }
893
1354
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
894
1355
 
895
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1356
+ match = functionCall(nativeExec, sticky ? reCopy : re, strCopy);
896
1357
 
897
1358
  if (sticky) {
898
1359
  if (match) {
899
- match.input = match.input.slice(charsAdded);
900
- match[0] = match[0].slice(charsAdded);
1360
+ match.input = stringSlice(match.input, charsAdded);
1361
+ match[0] = stringSlice(match[0], charsAdded);
901
1362
  match.index = re.lastIndex;
902
1363
  re.lastIndex += match[0].length;
903
1364
  } else re.lastIndex = 0;
@@ -907,13 +1368,21 @@
907
1368
  if (NPCG_INCLUDED && match && match.length > 1) {
908
1369
  // Fix browsers whose `exec` methods don't consistently return `undefined`
909
1370
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
910
- nativeReplace.call(match[0], reCopy, function () {
1371
+ functionCall(nativeReplace, match[0], reCopy, function () {
911
1372
  for (i = 1; i < arguments.length - 2; i++) {
912
1373
  if (arguments[i] === undefined) match[i] = undefined;
913
1374
  }
914
1375
  });
915
1376
  }
916
1377
 
1378
+ if (match && groups) {
1379
+ match.groups = object = objectCreate(null);
1380
+ for (i = 0; i < groups.length; i++) {
1381
+ group = groups[i];
1382
+ object[group[0]] = match[group[1]];
1383
+ }
1384
+ }
1385
+
917
1386
  return match;
918
1387
  };
919
1388
  }
@@ -926,55 +1395,6 @@
926
1395
  exec: regexpExec
927
1396
  });
928
1397
 
929
- var engineIsNode = classofRaw(global_1.process) == 'process';
930
-
931
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
932
-
933
- var process = global_1.process;
934
- var versions = process && process.versions;
935
- var v8 = versions && versions.v8;
936
- var match, version;
937
-
938
- if (v8) {
939
- match = v8.split('.');
940
- version = match[0] + match[1];
941
- } else if (engineUserAgent) {
942
- match = engineUserAgent.match(/Edge\/(\d+)/);
943
- if (!match || match[1] >= 74) {
944
- match = engineUserAgent.match(/Chrome\/(\d+)/);
945
- if (match) version = match[1];
946
- }
947
- }
948
-
949
- var engineV8Version = version && +version;
950
-
951
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
952
- /* global Symbol -- required for testing */
953
- return !Symbol.sham &&
954
- // Chrome 38 Symbol has incorrect toString conversion
955
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
956
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
957
- });
958
-
959
- var useSymbolAsUid = nativeSymbol
960
- /* global Symbol -- safe */
961
- && !Symbol.sham
962
- && typeof Symbol.iterator == 'symbol';
963
-
964
- var WellKnownSymbolsStore = shared('wks');
965
- var Symbol$1 = global_1.Symbol;
966
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
967
-
968
- var wellKnownSymbol = function (name) {
969
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
970
- if (nativeSymbol && has$1(Symbol$1, name)) {
971
- WellKnownSymbolsStore[name] = Symbol$1[name];
972
- } else {
973
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
974
- }
975
- } return WellKnownSymbolsStore[name];
976
- };
977
-
978
1398
  // TODO: Remove from `core-js@4` since it's moved to entry points
979
1399
 
980
1400
 
@@ -983,48 +1403,11 @@
983
1403
 
984
1404
 
985
1405
 
986
- var SPECIES$2 = wellKnownSymbol('species');
987
-
988
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
989
- // #replace needs built-in support for named groups.
990
- // #match works fine because it just return the exec results, even if it has
991
- // a "grops" property.
992
- var re = /./;
993
- re.exec = function () {
994
- var result = [];
995
- result.groups = { a: '7' };
996
- return result;
997
- };
998
- return ''.replace(re, '$<a>') !== '7';
999
- });
1000
-
1001
- // IE <= 11 replaces $0 with the whole match, as if it was $&
1002
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1003
- var REPLACE_KEEPS_$0 = (function () {
1004
- return 'a'.replace(/./, '$0') === '$0';
1005
- })();
1006
-
1007
- var REPLACE = wellKnownSymbol('replace');
1008
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1009
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1010
- if (/./[REPLACE]) {
1011
- return /./[REPLACE]('a', '$0') === '';
1012
- }
1013
- return false;
1014
- })();
1015
1406
 
1016
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1017
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1018
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
1019
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
1020
- var re = /(?:)/;
1021
- var originalExec = re.exec;
1022
- re.exec = function () { return originalExec.apply(this, arguments); };
1023
- var result = 'ab'.split(re);
1024
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
1025
- });
1407
+ var SPECIES$2 = wellKnownSymbol('species');
1408
+ var RegExpPrototype = RegExp.prototype;
1026
1409
 
1027
- var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) {
1410
+ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1028
1411
  var SYMBOL = wellKnownSymbol(KEY);
1029
1412
 
1030
1413
  var DELEGATES_TO_SYMBOL = !fails(function () {
@@ -1061,90 +1444,72 @@
1061
1444
  if (
1062
1445
  !DELEGATES_TO_SYMBOL ||
1063
1446
  !DELEGATES_TO_EXEC ||
1064
- (KEY === 'replace' && !(
1065
- REPLACE_SUPPORTS_NAMED_GROUPS &&
1066
- REPLACE_KEEPS_$0 &&
1067
- !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1068
- )) ||
1069
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1447
+ FORCED
1070
1448
  ) {
1071
- var nativeRegExpMethod = /./[SYMBOL];
1449
+ var uncurriedNativeRegExpMethod = functionUncurryThis(/./[SYMBOL]);
1072
1450
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1073
- if (regexp.exec === regexpExec) {
1451
+ var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
1452
+ var $exec = regexp.exec;
1453
+ if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
1074
1454
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1075
1455
  // The native String method already delegates to @@method (this
1076
1456
  // polyfilled function), leasing to infinite recursion.
1077
1457
  // We avoid it by directly calling the native @@method method.
1078
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1458
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
1079
1459
  }
1080
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1460
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
1081
1461
  }
1082
1462
  return { done: false };
1083
- }, {
1084
- REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
1085
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1086
1463
  });
1087
- var stringMethod = methods[0];
1088
- var regexMethod = methods[1];
1089
-
1090
- redefine(String.prototype, KEY, stringMethod);
1091
- redefine(RegExp.prototype, SYMBOL, length == 2
1092
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1093
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1094
- ? function (string, arg) { return regexMethod.call(string, this, arg); }
1095
- // 21.2.5.6 RegExp.prototype[@@match](string)
1096
- // 21.2.5.9 RegExp.prototype[@@search](string)
1097
- : function (string) { return regexMethod.call(string, this); }
1098
- );
1464
+
1465
+ redefine(String.prototype, KEY, methods[0]);
1466
+ redefine(RegExpPrototype, SYMBOL, methods[1]);
1099
1467
  }
1100
1468
 
1101
- if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
1469
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1102
1470
  };
1103
1471
 
1104
1472
  // `SameValue` abstract operation
1105
1473
  // https://tc39.es/ecma262/#sec-samevalue
1474
+ // eslint-disable-next-line es/no-object-is -- safe
1106
1475
  var sameValue = Object.is || function is(x, y) {
1107
1476
  // eslint-disable-next-line no-self-compare -- NaN check
1108
1477
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1109
1478
  };
1110
1479
 
1480
+ var TypeError$3 = global_1.TypeError;
1481
+
1111
1482
  // `RegExpExec` abstract operation
1112
1483
  // https://tc39.es/ecma262/#sec-regexpexec
1113
1484
  var regexpExecAbstract = function (R, S) {
1114
1485
  var exec = R.exec;
1115
- if (typeof exec === 'function') {
1116
- var result = exec.call(R, S);
1117
- if (typeof result !== 'object') {
1118
- throw TypeError('RegExp exec method returned something other than an Object or null');
1119
- }
1486
+ if (isCallable(exec)) {
1487
+ var result = functionCall(exec, R, S);
1488
+ if (result !== null) anObject(result);
1120
1489
  return result;
1121
1490
  }
1122
-
1123
- if (classofRaw(R) !== 'RegExp') {
1124
- throw TypeError('RegExp#exec called on incompatible receiver');
1125
- }
1126
-
1127
- return regexpExec.call(R, S);
1491
+ if (classofRaw(R) === 'RegExp') return functionCall(regexpExec, R, S);
1492
+ throw TypeError$3('RegExp#exec called on incompatible receiver');
1128
1493
  };
1129
1494
 
1130
1495
  // @@search logic
1131
- fixRegexpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {
1496
+ fixRegexpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
1132
1497
  return [
1133
1498
  // `String.prototype.search` method
1134
1499
  // https://tc39.es/ecma262/#sec-string.prototype.search
1135
1500
  function search(regexp) {
1136
1501
  var O = requireObjectCoercible(this);
1137
- var searcher = regexp == undefined ? undefined : regexp[SEARCH];
1138
- return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
1502
+ var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);
1503
+ return searcher ? functionCall(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString_1(O));
1139
1504
  },
1140
1505
  // `RegExp.prototype[@@search]` method
1141
1506
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
1142
- function (regexp) {
1143
- var res = maybeCallNative(nativeSearch, regexp, this);
1144
- if (res.done) return res.value;
1507
+ function (string) {
1508
+ var rx = anObject(this);
1509
+ var S = toString_1(string);
1510
+ var res = maybeCallNative(nativeSearch, rx, S);
1145
1511
 
1146
- var rx = anObject(regexp);
1147
- var S = String(this);
1512
+ if (res.done) return res.value;
1148
1513
 
1149
1514
  var previousLastIndex = rx.lastIndex;
1150
1515
  if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
@@ -1155,26 +1520,17 @@
1155
1520
  ];
1156
1521
  });
1157
1522
 
1158
- // `Object.keys` method
1159
- // https://tc39.es/ecma262/#sec-object.keys
1160
- var objectKeys = Object.keys || function keys(O) {
1161
- return objectKeysInternal(O, enumBugKeys);
1162
- };
1163
-
1164
- // `ToObject` abstract operation
1165
- // https://tc39.es/ecma262/#sec-toobject
1166
- var toObject = function (argument) {
1167
- return Object(requireObjectCoercible(argument));
1168
- };
1169
-
1170
- var nativeAssign = Object.assign;
1523
+ // eslint-disable-next-line es/no-object-assign -- safe
1524
+ var $assign = Object.assign;
1525
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1171
1526
  var defineProperty = Object.defineProperty;
1527
+ var concat = functionUncurryThis([].concat);
1172
1528
 
1173
1529
  // `Object.assign` method
1174
1530
  // https://tc39.es/ecma262/#sec-object.assign
1175
- var objectAssign = !nativeAssign || fails(function () {
1531
+ var objectAssign = !$assign || fails(function () {
1176
1532
  // should have correct order of operations (Edge bug)
1177
- if (descriptors && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {
1533
+ if (descriptors && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1178
1534
  enumerable: true,
1179
1535
  get: function () {
1180
1536
  defineProperty(this, 'b', {
@@ -1186,12 +1542,12 @@
1186
1542
  // should work with symbols and should have deterministic property order (V8 bug)
1187
1543
  var A = {};
1188
1544
  var B = {};
1189
- /* global Symbol -- required for testing */
1545
+ // eslint-disable-next-line es/no-symbol -- safe
1190
1546
  var symbol = Symbol();
1191
1547
  var alphabet = 'abcdefghijklmnopqrst';
1192
1548
  A[symbol] = 7;
1193
1549
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1194
- return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;
1550
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1195
1551
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1196
1552
  var T = toObject(target);
1197
1553
  var argumentsLength = arguments.length;
@@ -1200,19 +1556,20 @@
1200
1556
  var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1201
1557
  while (argumentsLength > index) {
1202
1558
  var S = indexedObject(arguments[index++]);
1203
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
1559
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1204
1560
  var length = keys.length;
1205
1561
  var j = 0;
1206
1562
  var key;
1207
1563
  while (length > j) {
1208
1564
  key = keys[j++];
1209
- if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
1565
+ if (!descriptors || functionCall(propertyIsEnumerable, S, key)) T[key] = S[key];
1210
1566
  }
1211
1567
  } return T;
1212
- } : nativeAssign;
1568
+ } : $assign;
1213
1569
 
1214
1570
  // `Object.assign` method
1215
1571
  // https://tc39.es/ecma262/#sec-object.assign
1572
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1216
1573
  _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
1217
1574
  assign: objectAssign
1218
1575
  });
@@ -1220,12 +1577,12 @@
1220
1577
  var arrayMethodIsStrict = function (METHOD_NAME, argument) {
1221
1578
  var method = [][METHOD_NAME];
1222
1579
  return !!method && fails(function () {
1223
- // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
1224
- method.call(null, argument || function () { throw 1; }, 1);
1580
+ // eslint-disable-next-line no-useless-call -- required for testing
1581
+ method.call(null, argument || function () { return 1; }, 1);
1225
1582
  });
1226
1583
  };
1227
1584
 
1228
- var nativeJoin = [].join;
1585
+ var un$Join = functionUncurryThis([].join);
1229
1586
 
1230
1587
  var ES3_STRINGS = indexedObject != Object;
1231
1588
  var STRICT_METHOD$1 = arrayMethodIsStrict('join', ',');
@@ -1234,81 +1591,116 @@
1234
1591
  // https://tc39.es/ecma262/#sec-array.prototype.join
1235
1592
  _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
1236
1593
  join: function join(separator) {
1237
- return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
1594
+ return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);
1238
1595
  }
1239
1596
  });
1240
1597
 
1241
- var aFunction = function (it) {
1242
- if (typeof it != 'function') {
1243
- throw TypeError(String(it) + ' is not a function');
1244
- } return it;
1245
- };
1598
+ var bind = functionUncurryThis(functionUncurryThis.bind);
1246
1599
 
1247
1600
  // optional / simple context binding
1248
- var functionBindContext = function (fn, that, length) {
1249
- aFunction(fn);
1250
- if (that === undefined) return fn;
1251
- switch (length) {
1252
- case 0: return function () {
1253
- return fn.call(that);
1254
- };
1255
- case 1: return function (a) {
1256
- return fn.call(that, a);
1257
- };
1258
- case 2: return function (a, b) {
1259
- return fn.call(that, a, b);
1260
- };
1261
- case 3: return function (a, b, c) {
1262
- return fn.call(that, a, b, c);
1263
- };
1264
- }
1265
- return function (/* ...args */) {
1601
+ var functionBindContext = function (fn, that) {
1602
+ aCallable(fn);
1603
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
1266
1604
  return fn.apply(that, arguments);
1267
1605
  };
1268
1606
  };
1269
1607
 
1270
1608
  // `IsArray` abstract operation
1271
1609
  // https://tc39.es/ecma262/#sec-isarray
1272
- var isArray = Array.isArray || function isArray(arg) {
1273
- return classofRaw(arg) == 'Array';
1610
+ // eslint-disable-next-line es/no-array-isarray -- safe
1611
+ var isArray = Array.isArray || function isArray(argument) {
1612
+ return classofRaw(argument) == 'Array';
1274
1613
  };
1275
1614
 
1615
+ var noop = function () { /* empty */ };
1616
+ var empty = [];
1617
+ var construct = getBuiltIn('Reflect', 'construct');
1618
+ var constructorRegExp = /^\s*(?:class|function)\b/;
1619
+ var exec = functionUncurryThis(constructorRegExp.exec);
1620
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1621
+
1622
+ var isConstructorModern = function isConstructor(argument) {
1623
+ if (!isCallable(argument)) return false;
1624
+ try {
1625
+ construct(noop, empty, argument);
1626
+ return true;
1627
+ } catch (error) {
1628
+ return false;
1629
+ }
1630
+ };
1631
+
1632
+ var isConstructorLegacy = function isConstructor(argument) {
1633
+ if (!isCallable(argument)) return false;
1634
+ switch (classof(argument)) {
1635
+ case 'AsyncFunction':
1636
+ case 'GeneratorFunction':
1637
+ case 'AsyncGeneratorFunction': return false;
1638
+ }
1639
+ try {
1640
+ // we can't check .prototype since constructors produced by .bind haven't it
1641
+ // `Function#toString` throws on some built-it function in some legacy engines
1642
+ // (for example, `DOMQuad` and similar in FF41-)
1643
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1644
+ } catch (error) {
1645
+ return true;
1646
+ }
1647
+ };
1648
+
1649
+ isConstructorLegacy.sham = true;
1650
+
1651
+ // `IsConstructor` abstract operation
1652
+ // https://tc39.es/ecma262/#sec-isconstructor
1653
+ var isConstructor = !construct || fails(function () {
1654
+ var called;
1655
+ return isConstructorModern(isConstructorModern.call)
1656
+ || !isConstructorModern(Object)
1657
+ || !isConstructorModern(function () { called = true; })
1658
+ || called;
1659
+ }) ? isConstructorLegacy : isConstructorModern;
1660
+
1276
1661
  var SPECIES$1 = wellKnownSymbol('species');
1662
+ var Array$1 = global_1.Array;
1277
1663
 
1278
- // `ArraySpeciesCreate` abstract operation
1664
+ // a part of `ArraySpeciesCreate` abstract operation
1279
1665
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
1280
- var arraySpeciesCreate = function (originalArray, length) {
1666
+ var arraySpeciesConstructor = function (originalArray) {
1281
1667
  var C;
1282
1668
  if (isArray(originalArray)) {
1283
1669
  C = originalArray.constructor;
1284
1670
  // cross-realm fallback
1285
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1671
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
1286
1672
  else if (isObject(C)) {
1287
1673
  C = C[SPECIES$1];
1288
1674
  if (C === null) C = undefined;
1289
1675
  }
1290
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1676
+ } return C === undefined ? Array$1 : C;
1677
+ };
1678
+
1679
+ // `ArraySpeciesCreate` abstract operation
1680
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1681
+ var arraySpeciesCreate = function (originalArray, length) {
1682
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1291
1683
  };
1292
1684
 
1293
- var push = [].push;
1685
+ var push$1 = functionUncurryThis([].push);
1294
1686
 
1295
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1687
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1296
1688
  var createMethod$2 = function (TYPE) {
1297
1689
  var IS_MAP = TYPE == 1;
1298
1690
  var IS_FILTER = TYPE == 2;
1299
1691
  var IS_SOME = TYPE == 3;
1300
1692
  var IS_EVERY = TYPE == 4;
1301
1693
  var IS_FIND_INDEX = TYPE == 6;
1302
- var IS_FILTER_OUT = TYPE == 7;
1694
+ var IS_FILTER_REJECT = TYPE == 7;
1303
1695
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1304
1696
  return function ($this, callbackfn, that, specificCreate) {
1305
1697
  var O = toObject($this);
1306
1698
  var self = indexedObject(O);
1307
- var boundFunction = functionBindContext(callbackfn, that, 3);
1308
- var length = toLength(self.length);
1699
+ var boundFunction = functionBindContext(callbackfn, that);
1700
+ var length = lengthOfArrayLike(self);
1309
1701
  var index = 0;
1310
1702
  var create = specificCreate || arraySpeciesCreate;
1311
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1703
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
1312
1704
  var value, result;
1313
1705
  for (;length > index; index++) if (NO_HOLES || index in self) {
1314
1706
  value = self[index];
@@ -1319,10 +1711,10 @@
1319
1711
  case 3: return true; // some
1320
1712
  case 5: return value; // find
1321
1713
  case 6: return index; // findIndex
1322
- case 2: push.call(target, value); // filter
1714
+ case 2: push$1(target, value); // filter
1323
1715
  } else switch (TYPE) {
1324
1716
  case 4: return false; // every
1325
- case 7: push.call(target, value); // filterOut
1717
+ case 7: push$1(target, value); // filterReject
1326
1718
  }
1327
1719
  }
1328
1720
  }
@@ -1352,94 +1744,9 @@
1352
1744
  // `Array.prototype.findIndex` method
1353
1745
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1354
1746
  findIndex: createMethod$2(6),
1355
- // `Array.prototype.filterOut` method
1747
+ // `Array.prototype.filterReject` method
1356
1748
  // https://github.com/tc39/proposal-array-filtering
1357
- filterOut: createMethod$2(7)
1358
- };
1359
-
1360
- // `Object.defineProperties` method
1361
- // https://tc39.es/ecma262/#sec-object.defineproperties
1362
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1363
- anObject(O);
1364
- var keys = objectKeys(Properties);
1365
- var length = keys.length;
1366
- var index = 0;
1367
- var key;
1368
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1369
- return O;
1370
- };
1371
-
1372
- var html = getBuiltIn('document', 'documentElement');
1373
-
1374
- var GT = '>';
1375
- var LT = '<';
1376
- var PROTOTYPE = 'prototype';
1377
- var SCRIPT = 'script';
1378
- var IE_PROTO = sharedKey('IE_PROTO');
1379
-
1380
- var EmptyConstructor = function () { /* empty */ };
1381
-
1382
- var scriptTag = function (content) {
1383
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1384
- };
1385
-
1386
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1387
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1388
- activeXDocument.write(scriptTag(''));
1389
- activeXDocument.close();
1390
- var temp = activeXDocument.parentWindow.Object;
1391
- activeXDocument = null; // avoid memory leak
1392
- return temp;
1393
- };
1394
-
1395
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1396
- var NullProtoObjectViaIFrame = function () {
1397
- // Thrash, waste and sodomy: IE GC bug
1398
- var iframe = documentCreateElement('iframe');
1399
- var JS = 'java' + SCRIPT + ':';
1400
- var iframeDocument;
1401
- iframe.style.display = 'none';
1402
- html.appendChild(iframe);
1403
- // https://github.com/zloirock/core-js/issues/475
1404
- iframe.src = String(JS);
1405
- iframeDocument = iframe.contentWindow.document;
1406
- iframeDocument.open();
1407
- iframeDocument.write(scriptTag('document.F=Object'));
1408
- iframeDocument.close();
1409
- return iframeDocument.F;
1410
- };
1411
-
1412
- // Check for document.domain and active x support
1413
- // No need to use active x approach when document.domain is not set
1414
- // see https://github.com/es-shims/es5-shim/issues/150
1415
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1416
- // avoid IE GC bug
1417
- var activeXDocument;
1418
- var NullProtoObject = function () {
1419
- try {
1420
- /* global ActiveXObject -- old IE */
1421
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1422
- } catch (error) { /* ignore */ }
1423
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1424
- var length = enumBugKeys.length;
1425
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1426
- return NullProtoObject();
1427
- };
1428
-
1429
- hiddenKeys$1[IE_PROTO] = true;
1430
-
1431
- // `Object.create` method
1432
- // https://tc39.es/ecma262/#sec-object.create
1433
- var objectCreate = Object.create || function create(O, Properties) {
1434
- var result;
1435
- if (O !== null) {
1436
- EmptyConstructor[PROTOTYPE] = anObject(O);
1437
- result = new EmptyConstructor();
1438
- EmptyConstructor[PROTOTYPE] = null;
1439
- // add "__proto__" for Object.getPrototypeOf polyfill
1440
- result[IE_PROTO] = O;
1441
- } else result = NullProtoObject();
1442
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1749
+ filterReject: createMethod$2(7)
1443
1750
  };
1444
1751
 
1445
1752
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -1479,8 +1786,20 @@
1479
1786
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1480
1787
  addToUnscopables(FIND);
1481
1788
 
1789
+ // `Object.prototype.toString` method implementation
1790
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1791
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1792
+ return '[object ' + classof(this) + ']';
1793
+ };
1794
+
1795
+ // `Object.prototype.toString` method
1796
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1797
+ if (!toStringTagSupport) {
1798
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1799
+ }
1800
+
1482
1801
  var createProperty = function (object, key, value) {
1483
- var propertyKey = toPrimitive(key);
1802
+ var propertyKey = toPropertyKey(key);
1484
1803
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1485
1804
  else object[propertyKey] = value;
1486
1805
  };
@@ -1504,6 +1823,7 @@
1504
1823
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
1505
1824
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
1506
1825
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1826
+ var TypeError$2 = global_1.TypeError;
1507
1827
 
1508
1828
  // We can't use this feature detection in V8 since it causes
1509
1829
  // deoptimization and serious performance degradation
@@ -1537,11 +1857,11 @@
1537
1857
  for (i = -1, length = arguments.length; i < length; i++) {
1538
1858
  E = i === -1 ? O : arguments[i];
1539
1859
  if (isConcatSpreadable(E)) {
1540
- len = toLength(E.length);
1541
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1860
+ len = lengthOfArrayLike(E);
1861
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1542
1862
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1543
1863
  } else {
1544
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1864
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1545
1865
  createProperty(A, n++, E);
1546
1866
  }
1547
1867
  }
@@ -1564,7 +1884,10 @@
1564
1884
  }
1565
1885
  });
1566
1886
 
1567
- var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1887
+ var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
1888
+
1889
+ var propertyIsEnumerable = functionUncurryThis($propertyIsEnumerable);
1890
+ var push = functionUncurryThis([].push);
1568
1891
 
1569
1892
  // `Object.{ entries, values }` methods implementation
1570
1893
  var createMethod$1 = function (TO_ENTRIES) {
@@ -1577,8 +1900,8 @@
1577
1900
  var key;
1578
1901
  while (length > i) {
1579
1902
  key = keys[i++];
1580
- if (!descriptors || propertyIsEnumerable.call(O, key)) {
1581
- result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
1903
+ if (!descriptors || propertyIsEnumerable(O, key)) {
1904
+ push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
1582
1905
  }
1583
1906
  }
1584
1907
  return result;
@@ -1604,22 +1927,26 @@
1604
1927
  }
1605
1928
  });
1606
1929
 
1607
- var $indexOf = arrayIncludes.indexOf;
1930
+ /* eslint-disable es/no-array-prototype-indexof -- required for testing */
1931
+
1932
+
1933
+ var $IndexOf = arrayIncludes.indexOf;
1608
1934
 
1609
1935
 
1610
- var nativeIndexOf = [].indexOf;
1936
+ var un$IndexOf = functionUncurryThis([].indexOf);
1611
1937
 
1612
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
1938
+ var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
1613
1939
  var STRICT_METHOD = arrayMethodIsStrict('indexOf');
1614
1940
 
1615
1941
  // `Array.prototype.indexOf` method
1616
1942
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
1617
1943
  _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
1618
1944
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
1945
+ var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
1619
1946
  return NEGATIVE_ZERO
1620
1947
  // convert -0 to +0
1621
- ? nativeIndexOf.apply(this, arguments) || 0
1622
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
1948
+ ? un$IndexOf(this, searchElement, fromIndex) || 0
1949
+ : $IndexOf(this, searchElement, fromIndex);
1623
1950
  }
1624
1951
  });
1625
1952
 
@@ -1646,9 +1973,11 @@
1646
1973
  return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
1647
1974
  };
1648
1975
 
1976
+ var TypeError$1 = global_1.TypeError;
1977
+
1649
1978
  var notARegexp = function (it) {
1650
1979
  if (isRegexp(it)) {
1651
- throw TypeError("The method doesn't accept regular expressions");
1980
+ throw TypeError$1("The method doesn't accept regular expressions");
1652
1981
  } return it;
1653
1982
  };
1654
1983
 
@@ -1666,12 +1995,17 @@
1666
1995
  } return false;
1667
1996
  };
1668
1997
 
1998
+ var stringIndexOf = functionUncurryThis(''.indexOf);
1999
+
1669
2000
  // `String.prototype.includes` method
1670
2001
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1671
2002
  _export({ target: 'String', proto: true, forced: !correctIsRegexpLogic('includes') }, {
1672
2003
  includes: function includes(searchString /* , position = 0 */) {
1673
- return !!~String(requireObjectCoercible(this))
1674
- .indexOf(notARegexp(searchString), arguments.length > 1 ? arguments[1] : undefined);
2004
+ return !!~stringIndexOf(
2005
+ toString_1(requireObjectCoercible(this)),
2006
+ toString_1(notARegexp(searchString)),
2007
+ arguments.length > 1 ? arguments[1] : undefined
2008
+ );
1675
2009
  }
1676
2010
  });
1677
2011
 
@@ -1679,6 +2013,7 @@
1679
2013
  var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
1680
2014
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1681
2015
 
2016
+ var replace = functionUncurryThis(''.replace);
1682
2017
  var whitespace = '[' + whitespaces + ']';
1683
2018
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
1684
2019
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -1686,9 +2021,9 @@
1686
2021
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
1687
2022
  var createMethod = function (TYPE) {
1688
2023
  return function ($this) {
1689
- var string = String(requireObjectCoercible($this));
1690
- if (TYPE & 1) string = string.replace(ltrim, '');
1691
- if (TYPE & 2) string = string.replace(rtrim, '');
2024
+ var string = toString_1(requireObjectCoercible($this));
2025
+ if (TYPE & 1) string = replace(string, ltrim, '');
2026
+ if (TYPE & 2) string = replace(string, rtrim, '');
1692
2027
  return string;
1693
2028
  };
1694
2029
  };
@@ -1705,13 +2040,19 @@
1705
2040
  trim: createMethod(3)
1706
2041
  };
1707
2042
 
2043
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
2044
+
2045
+
2046
+
1708
2047
  var non = '\u200B\u0085\u180E';
1709
2048
 
1710
2049
  // check that a method works with the correct list
1711
2050
  // of whitespaces and has a correct name
1712
2051
  var stringTrimForced = function (METHOD_NAME) {
1713
2052
  return fails(function () {
1714
- return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
2053
+ return !!whitespaces[METHOD_NAME]()
2054
+ || non[METHOD_NAME]() !== non
2055
+ || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
1715
2056
  });
1716
2057
  };
1717
2058
 
@@ -1734,36 +2075,42 @@
1734
2075
  * @update zhixin wen <wenzhixin2010@gmail.com>
1735
2076
  */
1736
2077
 
1737
- var Utils = $__default['default'].fn.bootstrapTable.utils;
2078
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1738
2079
  var theme = {
1739
2080
  bootstrap3: {
1740
2081
  icons: {
1741
2082
  advancedSearchIcon: 'glyphicon-chevron-down'
1742
2083
  },
2084
+ classes: {},
1743
2085
  html: {
1744
- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">%s</h4>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0px; padding-left: 0px;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
2086
+ modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n <h4 class=\"modal-title\">%s</h4>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0px; padding-left: 0px;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
1745
2087
  }
1746
2088
  },
1747
2089
  bootstrap4: {
1748
2090
  icons: {
1749
2091
  advancedSearchIcon: 'fa-chevron-down'
1750
2092
  },
2093
+ classes: {},
1751
2094
  html: {
1752
2095
  modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">%s</h4>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
1753
2096
  }
1754
2097
  },
1755
2098
  bootstrap5: {
1756
2099
  icons: {
1757
- advancedSearchIcon: 'fa-chevron-down'
2100
+ advancedSearchIcon: 'bi-chevron-down'
2101
+ },
2102
+ classes: {
2103
+ formGroup: 'mb-3'
1758
2104
  },
1759
2105
  html: {
1760
- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">%s</h4>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
2106
+ modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">%s</h5>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "
1761
2107
  }
1762
2108
  },
1763
2109
  bulma: {
1764
2110
  icons: {
1765
2111
  advancedSearchIcon: 'fa-chevron-down'
1766
2112
  },
2113
+ classes: {},
1767
2114
  html: {
1768
2115
  modal: "\n <div class=\"modal\" id=\"avdSearchModal_%s\">\n <div class=\"modal-background\"></div>\n <div class=\"modal-card\">\n <header class=\"modal-card-head\">\n <p class=\"modal-card-title\">%s</p>\n <button class=\"delete\" aria-label=\"close\"></button>\n </header>\n <section class=\"modal-card-body\" id=\"avdSearchModalContent_%s\"></section>\n <footer class=\"modal-card-foot\">\n <button class=\"button\" id=\"btnCloseAvd_%s\" data-close=\"btn btn-%s\">%s</button>\n </footer>\n </div>\n </div>\n "
1769
2116
  }
@@ -1772,6 +2119,7 @@
1772
2119
  icons: {
1773
2120
  advancedSearchIcon: 'fa-chevron-down'
1774
2121
  },
2122
+ classes: {},
1775
2123
  html: {
1776
2124
  modal: "\n <div class=\"reveal\" id=\"avdSearchModal_%s\" data-reveal>\n <h1>%s</h1>\n <div id=\"avdSearchModalContent_%s\">\n\n </div>\n <button class=\"close-button\" data-close aria-label=\"Close modal\" type=\"button\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n\n <button id=\"btnCloseAvd_%s\" class=\"%s\" type=\"button\">%s</button>\n </div>\n "
1777
2125
  }
@@ -1780,6 +2128,7 @@
1780
2128
  icons: {
1781
2129
  advancedSearchIcon: 'expand_more'
1782
2130
  },
2131
+ classes: {},
1783
2132
  html: {
1784
2133
  modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal\">\n <div class=\"modal-content\">\n <h4>%s</h4>\n <div id=\"avdSearchModalContent_%s\">\n\n </div>\n </div>\n <div class=\"modal-footer\">\n <a href=\"javascript:void(0)\"\" id=\"btnCloseAvd_%s\" class=\"modal-close waves-effect waves-green btn-flat %s\">%s</a>\n </div>\n </div>\n "
1785
2134
  }
@@ -1788,12 +2137,13 @@
1788
2137
  icons: {
1789
2138
  advancedSearchIcon: 'fa-chevron-down'
1790
2139
  },
2140
+ classes: {},
1791
2141
  html: {
1792
2142
  modal: "\n <div class=\"ui modal\" id=\"avdSearchModal_%s\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n %s\n </div>\n <div class=\"image content ui form\" id=\"avdSearchModalContent_%s\"></div>\n <div class=\"actions\">\n <div id=\"btnCloseAvd_%s\" class=\"ui black deny button %s\">%s</div>\n </div>\n </div>\n "
1793
2143
  }
1794
2144
  }
1795
- }[$__default['default'].fn.bootstrapTable.theme];
1796
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
2145
+ }[$__default["default"].fn.bootstrapTable.theme];
2146
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1797
2147
  advancedSearch: false,
1798
2148
  idForm: 'advancedSearch',
1799
2149
  actionForm: '',
@@ -1803,13 +2153,13 @@
1803
2153
  return false;
1804
2154
  }
1805
2155
  });
1806
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
2156
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults.icons, {
1807
2157
  advancedSearchIcon: theme.icons.advancedSearchIcon
1808
2158
  });
1809
- $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
2159
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.Constructor.EVENTS, {
1810
2160
  'column-advanced-search.bs.table': 'onColumnAdvancedSearch'
1811
2161
  });
1812
- $__default['default'].extend($__default['default'].fn.bootstrapTable.locales, {
2162
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.locales, {
1813
2163
  formatAdvancedSearch: function formatAdvancedSearch() {
1814
2164
  return 'Advanced search';
1815
2165
  },
@@ -1817,9 +2167,9 @@
1817
2167
  return 'Close';
1818
2168
  }
1819
2169
  });
1820
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales);
2170
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales);
1821
2171
 
1822
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
2172
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1823
2173
  _inherits(_class, _$$BootstrapTable);
1824
2174
 
1825
2175
  var _super = _createSuper(_class);
@@ -1860,11 +2210,11 @@
1860
2210
  var o = this.options;
1861
2211
  var modalSelector = "#avdSearchModal_".concat(o.idTable);
1862
2212
 
1863
- if ($__default['default'](modalSelector).length <= 0) {
1864
- $__default['default']('body').append(Utils.sprintf(theme.html.modal, o.idTable, o.formatAdvancedSearch(), o.idTable, o.idTable, o.buttonsClass, o.formatAdvancedCloseButton()));
2213
+ if ($__default["default"](modalSelector).length <= 0) {
2214
+ $__default["default"]('body').append(Utils.sprintf(theme.html.modal, o.idTable, o.formatAdvancedSearch(), o.idTable, o.idTable, o.buttonsClass, o.formatAdvancedCloseButton()));
1865
2215
  var timeoutId = 0;
1866
- $__default['default']("#avdSearchModalContent_".concat(o.idTable)).append(this.createFormAvd().join(''));
1867
- $__default['default']("#".concat(o.idForm)).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {
2216
+ $__default["default"]("#avdSearchModalContent_".concat(o.idTable)).append(this.createFormAvd().join(''));
2217
+ $__default["default"]("#".concat(o.idForm)).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {
1868
2218
  if (o.sidePagination === 'server') {
1869
2219
  _this.onColumnAdvancedSearch(e);
1870
2220
  } else {
@@ -1874,12 +2224,12 @@
1874
2224
  }, o.searchTimeOut);
1875
2225
  }
1876
2226
  });
1877
- $__default['default']("#btnCloseAvd_".concat(o.idTable)).click(function () {
2227
+ $__default["default"]("#btnCloseAvd_".concat(o.idTable)).click(function () {
1878
2228
  return _this.hideModal();
1879
2229
  });
1880
2230
 
1881
- if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1882
- $__default['default'](modalSelector).find('.delete').off('click').on('click', function () {
2231
+ if ($__default["default"].fn.bootstrapTable.theme === 'bulma') {
2232
+ $__default["default"](modalSelector).find('.delete').off('click').on('click', function () {
1883
2233
  return _this.hideModal();
1884
2234
  });
1885
2235
  }
@@ -1894,50 +2244,50 @@
1894
2244
  value: function showModal() {
1895
2245
  var modalSelector = "#avdSearchModal_".concat(this.options.idTable);
1896
2246
 
1897
- if ($__default['default'].inArray($__default['default'].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1898
- $__default['default'](modalSelector).modal();
1899
- } else if ($__default['default'].fn.bootstrapTable.theme === 'bootstrap5') {
2247
+ if ($__default["default"].inArray($__default["default"].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
2248
+ $__default["default"](modalSelector).modal();
2249
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'bootstrap5') {
1900
2250
  if (!this.toolbarModal) {
1901
2251
  // eslint-disable-next-line no-undef
1902
2252
  this.toolbarModal = new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)), {});
1903
2253
  }
1904
2254
 
1905
2255
  this.toolbarModal.show();
1906
- } else if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1907
- $__default['default'](modalSelector).toggleClass('is-active');
1908
- } else if ($__default['default'].fn.bootstrapTable.theme === 'foundation') {
2256
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'bulma') {
2257
+ $__default["default"](modalSelector).toggleClass('is-active');
2258
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'foundation') {
1909
2259
  if (!this.toolbarModal) {
1910
2260
  // eslint-disable-next-line no-undef
1911
- this.toolbarModal = new Foundation.Reveal($__default['default'](modalSelector));
2261
+ this.toolbarModal = new Foundation.Reveal($__default["default"](modalSelector));
1912
2262
  }
1913
2263
 
1914
2264
  this.toolbarModal.open();
1915
- } else if ($__default['default'].fn.bootstrapTable.theme === 'materialize') {
1916
- $__default['default'](modalSelector).modal();
1917
- $__default['default'](modalSelector).modal('open');
1918
- } else if ($__default['default'].fn.bootstrapTable.theme === 'semantic') {
1919
- $__default['default'](modalSelector).modal('show');
2265
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'materialize') {
2266
+ $__default["default"](modalSelector).modal();
2267
+ $__default["default"](modalSelector).modal('open');
2268
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'semantic') {
2269
+ $__default["default"](modalSelector).modal('show');
1920
2270
  }
1921
2271
  }
1922
2272
  }, {
1923
2273
  key: "hideModal",
1924
2274
  value: function hideModal() {
1925
- var $closeModalButton = $__default['default']("#avdSearchModal_".concat(this.options.idTable));
2275
+ var $closeModalButton = $__default["default"]("#avdSearchModal_".concat(this.options.idTable));
1926
2276
  var modalSelector = "#avdSearchModal_".concat(this.options.idTable);
1927
2277
 
1928
- if ($__default['default'].inArray($__default['default'].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
2278
+ if ($__default["default"].inArray($__default["default"].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1929
2279
  $closeModalButton.modal('hide');
1930
- } else if ($__default['default'].fn.bootstrapTable.theme === 'bootstrap5') {
2280
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'bootstrap5') {
1931
2281
  this.toolbarModal.hide();
1932
- } else if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1933
- $__default['default']('html').toggleClass('is-clipped');
1934
- $__default['default'](modalSelector).toggleClass('is-active');
1935
- } else if ($__default['default'].fn.bootstrapTable.theme === 'foundation') {
2282
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'bulma') {
2283
+ $__default["default"]('html').toggleClass('is-clipped');
2284
+ $__default["default"](modalSelector).toggleClass('is-active');
2285
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'foundation') {
1936
2286
  this.toolbarModal.close();
1937
- } else if ($__default['default'].fn.bootstrapTable.theme === 'materialize') {
1938
- $__default['default'](modalSelector).modal('open');
1939
- } else if ($__default['default'].fn.bootstrapTable.theme === 'semantic') {
1940
- $__default['default'](modalSelector).modal('close');
2287
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'materialize') {
2288
+ $__default["default"](modalSelector).modal('open');
2289
+ } else if ($__default["default"].fn.bootstrapTable.theme === 'semantic') {
2290
+ $__default["default"](modalSelector).modal('close');
1941
2291
  }
1942
2292
 
1943
2293
  if (this.options.sidePagination === 'server') {
@@ -1960,7 +2310,7 @@
1960
2310
  var column = _step.value;
1961
2311
 
1962
2312
  if (!column.checkbox && column.visible && column.searchable) {
1963
- html.push("\n <div class=\"form-group row\">\n <label class=\"col-sm-4 control-label\">".concat(column.title, "</label>\n <div class=\"col-sm-6\">\n <input type=\"text\" class=\"form-control ").concat(this.constants.classes.input, "\" name=\"").concat(column.field, "\" placeholder=\"").concat(column.title, "\" id=\"").concat(column.field, "\">\n </div>\n </div>\n "));
2313
+ html.push("\n <div class=\"form-group row ".concat(theme.classes.formGroup || '', "\">\n <label class=\"col-sm-4 control-label\">").concat(column.title, "</label>\n <div class=\"col-sm-6\">\n <input type=\"text\" class=\"form-control ").concat(this.constants.classes.input, "\" name=\"").concat(column.field, "\" placeholder=\"").concat(column.title, "\" id=\"").concat(column.field, "\">\n </div>\n </div>\n "));
1964
2314
  }
1965
2315
  }
1966
2316
  } catch (err) {
@@ -1983,7 +2333,7 @@
1983
2333
  return;
1984
2334
  }
1985
2335
 
1986
- var fp = $__default['default'].isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
2336
+ var fp = $__default["default"].isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
1987
2337
  this.data = fp ? this.data.filter(function (item, i) {
1988
2338
  for (var _i = 0, _Object$entries = Object.entries(fp); _i < _Object$entries.length; _i++) {
1989
2339
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
@@ -2009,10 +2359,10 @@
2009
2359
  }, {
2010
2360
  key: "onColumnAdvancedSearch",
2011
2361
  value: function onColumnAdvancedSearch(e) {
2012
- var text = $__default['default'].trim($__default['default'](e.currentTarget).val());
2013
- var $field = $__default['default'](e.currentTarget)[0].id;
2362
+ var text = $__default["default"](e.currentTarget).val().trim();
2363
+ var $field = $__default["default"](e.currentTarget)[0].id;
2014
2364
 
2015
- if ($__default['default'].isEmptyObject(this.filterColumnsPartial)) {
2365
+ if ($__default["default"].isEmptyObject(this.filterColumnsPartial)) {
2016
2366
  this.filterColumnsPartial = {};
2017
2367
  }
2018
2368
 
@@ -2024,7 +2374,7 @@
2024
2374
 
2025
2375
  if (this.options.sidePagination !== 'server') {
2026
2376
  this.options.pageNumber = 1;
2027
- this.onSearch(e);
2377
+ this.initSearch();
2028
2378
  this.updatePagination();
2029
2379
  this.trigger('column-advanced-search', $field, text);
2030
2380
  }
@@ -2032,6 +2382,6 @@
2032
2382
  }]);
2033
2383
 
2034
2384
  return _class;
2035
- }($__default['default'].BootstrapTable);
2385
+ }($__default["default"].BootstrapTable);
2036
2386
 
2037
- })));
2387
+ }));