bootstrap-table-rails 1.17.0 → 1.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/.DS_Store +0 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +30 -132
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/.DS_Store +0 -0
  7. data/vendor/assets/.DS_Store +0 -0
  8. data/vendor/assets/javascripts/.DS_Store +0 -0
  9. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +596 -228
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +183 -990
  12. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +184 -991
  13. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +26 -7
  14. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +1420 -1423
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +152 -40
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +173 -48
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +495 -908
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +199 -57
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +177 -487
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +66 -24
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +435 -977
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +534 -971
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +372 -161
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +196 -95
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +136 -48
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.css +3 -2
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +330 -559
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +45 -11
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +137 -36
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +232 -148
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +239 -561
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +136 -37
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +101 -58
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +529 -1045
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +155 -58
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +107 -33
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +283 -87
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +132 -43
  39. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +537 -1061
  40. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +278 -990
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +36 -20
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +36 -20
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +36 -20
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +36 -20
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +36 -20
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +36 -20
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +79 -24
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +36 -20
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +36 -20
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +36 -20
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +53 -37
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +36 -20
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +50 -34
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +36 -20
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +36 -20
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +36 -20
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +36 -20
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +36 -20
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +36 -20
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +36 -20
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +36 -20
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +36 -20
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +47 -31
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +36 -20
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +36 -20
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +36 -20
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +36 -20
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +36 -20
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +36 -20
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +36 -20
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +36 -20
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +36 -20
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +36 -20
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +36 -20
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +36 -20
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +36 -20
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +57 -40
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +36 -20
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +36 -20
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +36 -20
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +57 -41
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +53 -37
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +36 -20
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +36 -20
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +36 -20
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +36 -20
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +36 -20
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +36 -20
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +36 -20
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +36 -20
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +36 -20
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +36 -20
  93. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +36 -20
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +27 -6
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +114 -35
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +25 -6
  97. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +110 -31
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +30 -6
  99. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +119 -34
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +30 -6
  101. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +115 -30
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +25 -6
  103. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +107 -28
  104. metadata +6 -2
  105. data/vendor/assets/javascripts/bootstrap-table/extensions/accent-neutralise/bootstrap-table-accent-neutralise.js +0 -2668
@@ -1,10 +1,12 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
- (global = global || self, factory(global.jQuery));
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
5
  }(this, (function ($) { 'use strict';
6
6
 
7
- $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var $__default = /*#__PURE__*/_interopDefaultLegacy($);
8
10
 
9
11
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
12
 
@@ -24,7 +26,7 @@
24
26
  check(typeof self == 'object' && self) ||
25
27
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
26
28
  // eslint-disable-next-line no-new-func
27
- Function('return this')();
29
+ (function () { return this; })() || Function('return this')();
28
30
 
29
31
  var fails = function (exec) {
30
32
  try {
@@ -36,7 +38,7 @@
36
38
 
37
39
  // Thank's IE8 for his funny defineProperty
38
40
  var descriptors = !fails(function () {
39
- return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
41
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
40
42
  });
41
43
 
42
44
  var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
@@ -217,9 +219,9 @@
217
219
  (module.exports = function (key, value) {
218
220
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
219
221
  })('versions', []).push({
220
- version: '3.6.0',
222
+ version: '3.8.1',
221
223
  mode: 'global',
222
- copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
224
+ copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
223
225
  });
224
226
  });
225
227
 
@@ -255,11 +257,12 @@
255
257
  };
256
258
 
257
259
  if (nativeWeakMap) {
258
- var store$1 = new WeakMap$1();
260
+ var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
259
261
  var wmget = store$1.get;
260
262
  var wmhas = store$1.has;
261
263
  var wmset = store$1.set;
262
264
  set = function (it, metadata) {
265
+ metadata.facade = it;
263
266
  wmset.call(store$1, it, metadata);
264
267
  return metadata;
265
268
  };
@@ -273,6 +276,7 @@
273
276
  var STATE = sharedKey('state');
274
277
  hiddenKeys[STATE] = true;
275
278
  set = function (it, metadata) {
279
+ metadata.facade = it;
276
280
  createNonEnumerableProperty(it, STATE, metadata);
277
281
  return metadata;
278
282
  };
@@ -301,9 +305,15 @@
301
305
  var unsafe = options ? !!options.unsafe : false;
302
306
  var simple = options ? !!options.enumerable : false;
303
307
  var noTargetGet = options ? !!options.noTargetGet : false;
308
+ var state;
304
309
  if (typeof value == 'function') {
305
- if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
306
- enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
310
+ if (typeof key == 'string' && !has(value, 'name')) {
311
+ createNonEnumerableProperty(value, 'name', key);
312
+ }
313
+ state = enforceInternalState(value);
314
+ if (!state.source) {
315
+ state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
316
+ }
307
317
  }
308
318
  if (O === global_1) {
309
319
  if (simple) O[key] = value;
@@ -526,18 +536,6 @@
526
536
  }
527
537
  };
528
538
 
529
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
530
- // Chrome 38 Symbol has incorrect toString conversion
531
- // eslint-disable-next-line no-undef
532
- return !String(Symbol());
533
- });
534
-
535
- var useSymbolAsUid = nativeSymbol
536
- // eslint-disable-next-line no-undef
537
- && !Symbol.sham
538
- // eslint-disable-next-line no-undef
539
- && typeof Symbol() == 'symbol';
540
-
541
539
  // `IsArray` abstract operation
542
540
  // https://tc39.github.io/ecma262/#sec-isarray
543
541
  var isArray = Array.isArray || function isArray(arg) {
@@ -550,126 +548,27 @@
550
548
  return Object(requireObjectCoercible(argument));
551
549
  };
552
550
 
553
- // `Object.keys` method
554
- // https://tc39.github.io/ecma262/#sec-object.keys
555
- var objectKeys = Object.keys || function keys(O) {
556
- return objectKeysInternal(O, enumBugKeys);
557
- };
558
-
559
- // `Object.defineProperties` method
560
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
561
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
562
- anObject(O);
563
- var keys = objectKeys(Properties);
564
- var length = keys.length;
565
- var index = 0;
566
- var key;
567
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
568
- return O;
569
- };
570
-
571
- var html = getBuiltIn('document', 'documentElement');
572
-
573
- var GT = '>';
574
- var LT = '<';
575
- var PROTOTYPE = 'prototype';
576
- var SCRIPT = 'script';
577
- var IE_PROTO = sharedKey('IE_PROTO');
578
-
579
- var EmptyConstructor = function () { /* empty */ };
580
-
581
- var scriptTag = function (content) {
582
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
583
- };
584
-
585
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
586
- var NullProtoObjectViaActiveX = function (activeXDocument) {
587
- activeXDocument.write(scriptTag(''));
588
- activeXDocument.close();
589
- var temp = activeXDocument.parentWindow.Object;
590
- activeXDocument = null; // avoid memory leak
591
- return temp;
592
- };
593
-
594
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
595
- var NullProtoObjectViaIFrame = function () {
596
- // Thrash, waste and sodomy: IE GC bug
597
- var iframe = documentCreateElement('iframe');
598
- var JS = 'java' + SCRIPT + ':';
599
- var iframeDocument;
600
- iframe.style.display = 'none';
601
- html.appendChild(iframe);
602
- // https://github.com/zloirock/core-js/issues/475
603
- iframe.src = String(JS);
604
- iframeDocument = iframe.contentWindow.document;
605
- iframeDocument.open();
606
- iframeDocument.write(scriptTag('document.F=Object'));
607
- iframeDocument.close();
608
- return iframeDocument.F;
609
- };
610
-
611
- // Check for document.domain and active x support
612
- // No need to use active x approach when document.domain is not set
613
- // see https://github.com/es-shims/es5-shim/issues/150
614
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
615
- // avoid IE GC bug
616
- var activeXDocument;
617
- var NullProtoObject = function () {
618
- try {
619
- /* global ActiveXObject */
620
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
621
- } catch (error) { /* ignore */ }
622
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
623
- var length = enumBugKeys.length;
624
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
625
- return NullProtoObject();
626
- };
627
-
628
- hiddenKeys[IE_PROTO] = true;
629
-
630
- // `Object.create` method
631
- // https://tc39.github.io/ecma262/#sec-object.create
632
- var objectCreate = Object.create || function create(O, Properties) {
633
- var result;
634
- if (O !== null) {
635
- EmptyConstructor[PROTOTYPE] = anObject(O);
636
- result = new EmptyConstructor();
637
- EmptyConstructor[PROTOTYPE] = null;
638
- // add "__proto__" for Object.getPrototypeOf polyfill
639
- result[IE_PROTO] = O;
640
- } else result = NullProtoObject();
641
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
642
- };
643
-
644
- var nativeGetOwnPropertyNames = objectGetOwnPropertyNames.f;
645
-
646
- var toString$1 = {}.toString;
647
-
648
- var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
649
- ? Object.getOwnPropertyNames(window) : [];
650
-
651
- var getWindowNames = function (it) {
652
- try {
653
- return nativeGetOwnPropertyNames(it);
654
- } catch (error) {
655
- return windowNames.slice();
656
- }
551
+ var createProperty = function (object, key, value) {
552
+ var propertyKey = toPrimitive(key);
553
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
554
+ else object[propertyKey] = value;
657
555
  };
658
556
 
659
- // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
660
- var f$5 = function getOwnPropertyNames(it) {
661
- return windowNames && toString$1.call(it) == '[object Window]'
662
- ? getWindowNames(it)
663
- : nativeGetOwnPropertyNames(toIndexedObject(it));
664
- };
557
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
558
+ // Chrome 38 Symbol has incorrect toString conversion
559
+ // eslint-disable-next-line no-undef
560
+ return !String(Symbol());
561
+ });
665
562
 
666
- var objectGetOwnPropertyNamesExternal = {
667
- f: f$5
668
- };
563
+ var useSymbolAsUid = nativeSymbol
564
+ // eslint-disable-next-line no-undef
565
+ && !Symbol.sham
566
+ // eslint-disable-next-line no-undef
567
+ && typeof Symbol.iterator == 'symbol';
669
568
 
670
569
  var WellKnownSymbolsStore = shared('wks');
671
570
  var Symbol$1 = global_1.Symbol;
672
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : uid;
571
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
673
572
 
674
573
  var wellKnownSymbol = function (name) {
675
574
  if (!has(WellKnownSymbolsStore, name)) {
@@ -678,62 +577,6 @@
678
577
  } return WellKnownSymbolsStore[name];
679
578
  };
680
579
 
681
- var f$6 = wellKnownSymbol;
682
-
683
- var wrappedWellKnownSymbol = {
684
- f: f$6
685
- };
686
-
687
- var defineProperty = objectDefineProperty.f;
688
-
689
- var defineWellKnownSymbol = function (NAME) {
690
- var Symbol = path.Symbol || (path.Symbol = {});
691
- if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
692
- value: wrappedWellKnownSymbol.f(NAME)
693
- });
694
- };
695
-
696
- var defineProperty$1 = objectDefineProperty.f;
697
-
698
-
699
-
700
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
701
-
702
- var setToStringTag = function (it, TAG, STATIC) {
703
- if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
704
- defineProperty$1(it, TO_STRING_TAG, { configurable: true, value: TAG });
705
- }
706
- };
707
-
708
- var aFunction$1 = function (it) {
709
- if (typeof it != 'function') {
710
- throw TypeError(String(it) + ' is not a function');
711
- } return it;
712
- };
713
-
714
- // optional / simple context binding
715
- var bindContext = function (fn, that, length) {
716
- aFunction$1(fn);
717
- if (that === undefined) return fn;
718
- switch (length) {
719
- case 0: return function () {
720
- return fn.call(that);
721
- };
722
- case 1: return function (a) {
723
- return fn.call(that, a);
724
- };
725
- case 2: return function (a, b) {
726
- return fn.call(that, a, b);
727
- };
728
- case 3: return function (a, b, c) {
729
- return fn.call(that, a, b, c);
730
- };
731
- }
732
- return function (/* ...args */) {
733
- return fn.apply(that, arguments);
734
- };
735
- };
736
-
737
580
  var SPECIES = wellKnownSymbol('species');
738
581
 
739
582
  // `ArraySpeciesCreate` abstract operation
@@ -751,394 +594,7 @@
751
594
  } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
752
595
  };
753
596
 
754
- var push = [].push;
755
-
756
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
757
- var createMethod$1 = function (TYPE) {
758
- var IS_MAP = TYPE == 1;
759
- var IS_FILTER = TYPE == 2;
760
- var IS_SOME = TYPE == 3;
761
- var IS_EVERY = TYPE == 4;
762
- var IS_FIND_INDEX = TYPE == 6;
763
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
764
- return function ($this, callbackfn, that, specificCreate) {
765
- var O = toObject($this);
766
- var self = indexedObject(O);
767
- var boundFunction = bindContext(callbackfn, that, 3);
768
- var length = toLength(self.length);
769
- var index = 0;
770
- var create = specificCreate || arraySpeciesCreate;
771
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
772
- var value, result;
773
- for (;length > index; index++) if (NO_HOLES || index in self) {
774
- value = self[index];
775
- result = boundFunction(value, index, O);
776
- if (TYPE) {
777
- if (IS_MAP) target[index] = result; // map
778
- else if (result) switch (TYPE) {
779
- case 3: return true; // some
780
- case 5: return value; // find
781
- case 6: return index; // findIndex
782
- case 2: push.call(target, value); // filter
783
- } else if (IS_EVERY) return false; // every
784
- }
785
- }
786
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
787
- };
788
- };
789
-
790
- var arrayIteration = {
791
- // `Array.prototype.forEach` method
792
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
793
- forEach: createMethod$1(0),
794
- // `Array.prototype.map` method
795
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
796
- map: createMethod$1(1),
797
- // `Array.prototype.filter` method
798
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
799
- filter: createMethod$1(2),
800
- // `Array.prototype.some` method
801
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
802
- some: createMethod$1(3),
803
- // `Array.prototype.every` method
804
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
805
- every: createMethod$1(4),
806
- // `Array.prototype.find` method
807
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
808
- find: createMethod$1(5),
809
- // `Array.prototype.findIndex` method
810
- // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
811
- findIndex: createMethod$1(6)
812
- };
813
-
814
- var $forEach = arrayIteration.forEach;
815
-
816
- var HIDDEN = sharedKey('hidden');
817
- var SYMBOL = 'Symbol';
818
- var PROTOTYPE$1 = 'prototype';
819
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
820
- var setInternalState = internalState.set;
821
- var getInternalState = internalState.getterFor(SYMBOL);
822
- var ObjectPrototype = Object[PROTOTYPE$1];
823
- var $Symbol = global_1.Symbol;
824
- var $stringify = getBuiltIn('JSON', 'stringify');
825
- var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
826
- var nativeDefineProperty$1 = objectDefineProperty.f;
827
- var nativeGetOwnPropertyNames$1 = objectGetOwnPropertyNamesExternal.f;
828
- var nativePropertyIsEnumerable$1 = objectPropertyIsEnumerable.f;
829
- var AllSymbols = shared('symbols');
830
- var ObjectPrototypeSymbols = shared('op-symbols');
831
- var StringToSymbolRegistry = shared('string-to-symbol-registry');
832
- var SymbolToStringRegistry = shared('symbol-to-string-registry');
833
- var WellKnownSymbolsStore$1 = shared('wks');
834
- var QObject = global_1.QObject;
835
- // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
836
- var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild;
837
-
838
- // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
839
- var setSymbolDescriptor = descriptors && fails(function () {
840
- return objectCreate(nativeDefineProperty$1({}, 'a', {
841
- get: function () { return nativeDefineProperty$1(this, 'a', { value: 7 }).a; }
842
- })).a != 7;
843
- }) ? function (O, P, Attributes) {
844
- var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$1(ObjectPrototype, P);
845
- if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
846
- nativeDefineProperty$1(O, P, Attributes);
847
- if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
848
- nativeDefineProperty$1(ObjectPrototype, P, ObjectPrototypeDescriptor);
849
- }
850
- } : nativeDefineProperty$1;
851
-
852
- var wrap = function (tag, description) {
853
- var symbol = AllSymbols[tag] = objectCreate($Symbol[PROTOTYPE$1]);
854
- setInternalState(symbol, {
855
- type: SYMBOL,
856
- tag: tag,
857
- description: description
858
- });
859
- if (!descriptors) symbol.description = description;
860
- return symbol;
861
- };
862
-
863
- var isSymbol = nativeSymbol && typeof $Symbol.iterator == 'symbol' ? function (it) {
864
- return typeof it == 'symbol';
865
- } : function (it) {
866
- return Object(it) instanceof $Symbol;
867
- };
868
-
869
- var $defineProperty = function defineProperty(O, P, Attributes) {
870
- if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
871
- anObject(O);
872
- var key = toPrimitive(P, true);
873
- anObject(Attributes);
874
- if (has(AllSymbols, key)) {
875
- if (!Attributes.enumerable) {
876
- if (!has(O, HIDDEN)) nativeDefineProperty$1(O, HIDDEN, createPropertyDescriptor(1, {}));
877
- O[HIDDEN][key] = true;
878
- } else {
879
- if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
880
- Attributes = objectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
881
- } return setSymbolDescriptor(O, key, Attributes);
882
- } return nativeDefineProperty$1(O, key, Attributes);
883
- };
884
-
885
- var $defineProperties = function defineProperties(O, Properties) {
886
- anObject(O);
887
- var properties = toIndexedObject(Properties);
888
- var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
889
- $forEach(keys, function (key) {
890
- if (!descriptors || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
891
- });
892
- return O;
893
- };
894
-
895
- var $create = function create(O, Properties) {
896
- return Properties === undefined ? objectCreate(O) : $defineProperties(objectCreate(O), Properties);
897
- };
898
-
899
- var $propertyIsEnumerable = function propertyIsEnumerable(V) {
900
- var P = toPrimitive(V, true);
901
- var enumerable = nativePropertyIsEnumerable$1.call(this, P);
902
- if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
903
- return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
904
- };
905
-
906
- var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
907
- var it = toIndexedObject(O);
908
- var key = toPrimitive(P, true);
909
- if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
910
- var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
911
- if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
912
- descriptor.enumerable = true;
913
- }
914
- return descriptor;
915
- };
916
-
917
- var $getOwnPropertyNames = function getOwnPropertyNames(O) {
918
- var names = nativeGetOwnPropertyNames$1(toIndexedObject(O));
919
- var result = [];
920
- $forEach(names, function (key) {
921
- if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
922
- });
923
- return result;
924
- };
925
-
926
- var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
927
- var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
928
- var names = nativeGetOwnPropertyNames$1(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
929
- var result = [];
930
- $forEach(names, function (key) {
931
- if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
932
- result.push(AllSymbols[key]);
933
- }
934
- });
935
- return result;
936
- };
937
-
938
- // `Symbol` constructor
939
- // https://tc39.github.io/ecma262/#sec-symbol-constructor
940
- if (!nativeSymbol) {
941
- $Symbol = function Symbol() {
942
- if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
943
- var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
944
- var tag = uid(description);
945
- var setter = function (value) {
946
- if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
947
- if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
948
- setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
949
- };
950
- if (descriptors && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
951
- return wrap(tag, description);
952
- };
953
-
954
- redefine($Symbol[PROTOTYPE$1], 'toString', function toString() {
955
- return getInternalState(this).tag;
956
- });
957
-
958
- objectPropertyIsEnumerable.f = $propertyIsEnumerable;
959
- objectDefineProperty.f = $defineProperty;
960
- objectGetOwnPropertyDescriptor.f = $getOwnPropertyDescriptor;
961
- objectGetOwnPropertyNames.f = objectGetOwnPropertyNamesExternal.f = $getOwnPropertyNames;
962
- objectGetOwnPropertySymbols.f = $getOwnPropertySymbols;
963
-
964
- if (descriptors) {
965
- // https://github.com/tc39/proposal-Symbol-description
966
- nativeDefineProperty$1($Symbol[PROTOTYPE$1], 'description', {
967
- configurable: true,
968
- get: function description() {
969
- return getInternalState(this).description;
970
- }
971
- });
972
- {
973
- redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
974
- }
975
- }
976
- }
977
-
978
- if (!useSymbolAsUid) {
979
- wrappedWellKnownSymbol.f = function (name) {
980
- return wrap(wellKnownSymbol(name), name);
981
- };
982
- }
983
-
984
- _export({ global: true, wrap: true, forced: !nativeSymbol, sham: !nativeSymbol }, {
985
- Symbol: $Symbol
986
- });
987
-
988
- $forEach(objectKeys(WellKnownSymbolsStore$1), function (name) {
989
- defineWellKnownSymbol(name);
990
- });
991
-
992
- _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, {
993
- // `Symbol.for` method
994
- // https://tc39.github.io/ecma262/#sec-symbol.for
995
- 'for': function (key) {
996
- var string = String(key);
997
- if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
998
- var symbol = $Symbol(string);
999
- StringToSymbolRegistry[string] = symbol;
1000
- SymbolToStringRegistry[symbol] = string;
1001
- return symbol;
1002
- },
1003
- // `Symbol.keyFor` method
1004
- // https://tc39.github.io/ecma262/#sec-symbol.keyfor
1005
- keyFor: function keyFor(sym) {
1006
- if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
1007
- if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
1008
- },
1009
- useSetter: function () { USE_SETTER = true; },
1010
- useSimple: function () { USE_SETTER = false; }
1011
- });
1012
-
1013
- _export({ target: 'Object', stat: true, forced: !nativeSymbol, sham: !descriptors }, {
1014
- // `Object.create` method
1015
- // https://tc39.github.io/ecma262/#sec-object.create
1016
- create: $create,
1017
- // `Object.defineProperty` method
1018
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
1019
- defineProperty: $defineProperty,
1020
- // `Object.defineProperties` method
1021
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
1022
- defineProperties: $defineProperties,
1023
- // `Object.getOwnPropertyDescriptor` method
1024
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
1025
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor
1026
- });
1027
-
1028
- _export({ target: 'Object', stat: true, forced: !nativeSymbol }, {
1029
- // `Object.getOwnPropertyNames` method
1030
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
1031
- getOwnPropertyNames: $getOwnPropertyNames,
1032
- // `Object.getOwnPropertySymbols` method
1033
- // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
1034
- getOwnPropertySymbols: $getOwnPropertySymbols
1035
- });
1036
-
1037
- // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
1038
- // https://bugs.chromium.org/p/v8/issues/detail?id=3443
1039
- _export({ target: 'Object', stat: true, forced: fails(function () { objectGetOwnPropertySymbols.f(1); }) }, {
1040
- getOwnPropertySymbols: function getOwnPropertySymbols(it) {
1041
- return objectGetOwnPropertySymbols.f(toObject(it));
1042
- }
1043
- });
1044
-
1045
- // `JSON.stringify` method behavior with symbols
1046
- // https://tc39.github.io/ecma262/#sec-json.stringify
1047
- if ($stringify) {
1048
- var FORCED_JSON_STRINGIFY = !nativeSymbol || fails(function () {
1049
- var symbol = $Symbol();
1050
- // MS Edge converts symbol values to JSON as {}
1051
- return $stringify([symbol]) != '[null]'
1052
- // WebKit converts symbol values to JSON as null
1053
- || $stringify({ a: symbol }) != '{}'
1054
- // V8 throws on boxed symbols
1055
- || $stringify(Object(symbol)) != '{}';
1056
- });
1057
-
1058
- _export({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
1059
- // eslint-disable-next-line no-unused-vars
1060
- stringify: function stringify(it, replacer, space) {
1061
- var args = [it];
1062
- var index = 1;
1063
- var $replacer;
1064
- while (arguments.length > index) args.push(arguments[index++]);
1065
- $replacer = replacer;
1066
- if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
1067
- if (!isArray(replacer)) replacer = function (key, value) {
1068
- if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
1069
- if (!isSymbol(value)) return value;
1070
- };
1071
- args[1] = replacer;
1072
- return $stringify.apply(null, args);
1073
- }
1074
- });
1075
- }
1076
-
1077
- // `Symbol.prototype[@@toPrimitive]` method
1078
- // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
1079
- if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE]) {
1080
- createNonEnumerableProperty($Symbol[PROTOTYPE$1], TO_PRIMITIVE, $Symbol[PROTOTYPE$1].valueOf);
1081
- }
1082
- // `Symbol.prototype[@@toStringTag]` property
1083
- // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
1084
- setToStringTag($Symbol, SYMBOL);
1085
-
1086
- hiddenKeys[HIDDEN] = true;
1087
-
1088
- var defineProperty$2 = objectDefineProperty.f;
1089
-
1090
-
1091
- var NativeSymbol = global_1.Symbol;
1092
-
1093
- if (descriptors && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
1094
- // Safari 12 bug
1095
- NativeSymbol().description !== undefined
1096
- )) {
1097
- var EmptyStringDescriptionStore = {};
1098
- // wrap Symbol constructor for correct work with undefined description
1099
- var SymbolWrapper = function Symbol() {
1100
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
1101
- var result = this instanceof SymbolWrapper
1102
- ? new NativeSymbol(description)
1103
- // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1104
- : description === undefined ? NativeSymbol() : NativeSymbol(description);
1105
- if (description === '') EmptyStringDescriptionStore[result] = true;
1106
- return result;
1107
- };
1108
- copyConstructorProperties(SymbolWrapper, NativeSymbol);
1109
- var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
1110
- symbolPrototype.constructor = SymbolWrapper;
1111
-
1112
- var symbolToString = symbolPrototype.toString;
1113
- var native = String(NativeSymbol('test')) == 'Symbol(test)';
1114
- var regexp = /^Symbol\((.*)\)[^)]+$/;
1115
- defineProperty$2(symbolPrototype, 'description', {
1116
- configurable: true,
1117
- get: function description() {
1118
- var symbol = isObject(this) ? this.valueOf() : this;
1119
- var string = symbolToString.call(symbol);
1120
- if (has(EmptyStringDescriptionStore, symbol)) return '';
1121
- var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
1122
- return desc === '' ? undefined : desc;
1123
- }
1124
- });
1125
-
1126
- _export({ global: true, forced: true }, {
1127
- Symbol: SymbolWrapper
1128
- });
1129
- }
1130
-
1131
- // `Symbol.iterator` well-known symbol
1132
- // https://tc39.github.io/ecma262/#sec-symbol.iterator
1133
- defineWellKnownSymbol('iterator');
1134
-
1135
- var createProperty = function (object, key, value) {
1136
- var propertyKey = toPrimitive(key);
1137
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
1138
- else object[propertyKey] = value;
1139
- };
1140
-
1141
- var userAgent = getBuiltIn('navigator', 'userAgent') || '';
597
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
1142
598
 
1143
599
  var process = global_1.process;
1144
600
  var versions = process && process.versions;
@@ -1148,15 +604,15 @@
1148
604
  if (v8) {
1149
605
  match = v8.split('.');
1150
606
  version = match[0] + match[1];
1151
- } else if (userAgent) {
1152
- match = userAgent.match(/Edge\/(\d+)/);
607
+ } else if (engineUserAgent) {
608
+ match = engineUserAgent.match(/Edge\/(\d+)/);
1153
609
  if (!match || match[1] >= 74) {
1154
- match = userAgent.match(/Chrome\/(\d+)/);
610
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
1155
611
  if (match) version = match[1];
1156
612
  }
1157
613
  }
1158
614
 
1159
- var v8Version = version && +version;
615
+ var engineV8Version = version && +version;
1160
616
 
1161
617
  var SPECIES$1 = wellKnownSymbol('species');
1162
618
 
@@ -1164,7 +620,7 @@
1164
620
  // We can't use this feature detection in V8 since it causes
1165
621
  // deoptimization and serious performance degradation
1166
622
  // https://github.com/zloirock/core-js/issues/677
1167
- return v8Version >= 51 || !fails(function () {
623
+ return engineV8Version >= 51 || !fails(function () {
1168
624
  var array = [];
1169
625
  var constructor = array.constructor = {};
1170
626
  constructor[SPECIES$1] = function () {
@@ -1181,7 +637,7 @@
1181
637
  // We can't use this feature detection in V8 since it causes
1182
638
  // deoptimization and serious performance degradation
1183
639
  // https://github.com/zloirock/core-js/issues/679
1184
- var IS_CONCAT_SPREADABLE_SUPPORT = v8Version >= 51 || !fails(function () {
640
+ var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
1185
641
  var array = [];
1186
642
  array[IS_CONCAT_SPREADABLE] = false;
1187
643
  return array.concat()[0] !== array;
@@ -1222,15 +678,133 @@
1222
678
  }
1223
679
  });
1224
680
 
681
+ var aFunction$1 = function (it) {
682
+ if (typeof it != 'function') {
683
+ throw TypeError(String(it) + ' is not a function');
684
+ } return it;
685
+ };
686
+
687
+ // optional / simple context binding
688
+ var functionBindContext = function (fn, that, length) {
689
+ aFunction$1(fn);
690
+ if (that === undefined) return fn;
691
+ switch (length) {
692
+ case 0: return function () {
693
+ return fn.call(that);
694
+ };
695
+ case 1: return function (a) {
696
+ return fn.call(that, a);
697
+ };
698
+ case 2: return function (a, b) {
699
+ return fn.call(that, a, b);
700
+ };
701
+ case 3: return function (a, b, c) {
702
+ return fn.call(that, a, b, c);
703
+ };
704
+ }
705
+ return function (/* ...args */) {
706
+ return fn.apply(that, arguments);
707
+ };
708
+ };
709
+
710
+ var push = [].push;
711
+
712
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
713
+ var createMethod$1 = function (TYPE) {
714
+ var IS_MAP = TYPE == 1;
715
+ var IS_FILTER = TYPE == 2;
716
+ var IS_SOME = TYPE == 3;
717
+ var IS_EVERY = TYPE == 4;
718
+ var IS_FIND_INDEX = TYPE == 6;
719
+ var IS_FILTER_OUT = TYPE == 7;
720
+ var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
721
+ return function ($this, callbackfn, that, specificCreate) {
722
+ var O = toObject($this);
723
+ var self = indexedObject(O);
724
+ var boundFunction = functionBindContext(callbackfn, that, 3);
725
+ var length = toLength(self.length);
726
+ var index = 0;
727
+ var create = specificCreate || arraySpeciesCreate;
728
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
729
+ var value, result;
730
+ for (;length > index; index++) if (NO_HOLES || index in self) {
731
+ value = self[index];
732
+ result = boundFunction(value, index, O);
733
+ if (TYPE) {
734
+ if (IS_MAP) target[index] = result; // map
735
+ else if (result) switch (TYPE) {
736
+ case 3: return true; // some
737
+ case 5: return value; // find
738
+ case 6: return index; // findIndex
739
+ case 2: push.call(target, value); // filter
740
+ } else switch (TYPE) {
741
+ case 4: return false; // every
742
+ case 7: push.call(target, value); // filterOut
743
+ }
744
+ }
745
+ }
746
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
747
+ };
748
+ };
749
+
750
+ var arrayIteration = {
751
+ // `Array.prototype.forEach` method
752
+ // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
753
+ forEach: createMethod$1(0),
754
+ // `Array.prototype.map` method
755
+ // https://tc39.github.io/ecma262/#sec-array.prototype.map
756
+ map: createMethod$1(1),
757
+ // `Array.prototype.filter` method
758
+ // https://tc39.github.io/ecma262/#sec-array.prototype.filter
759
+ filter: createMethod$1(2),
760
+ // `Array.prototype.some` method
761
+ // https://tc39.github.io/ecma262/#sec-array.prototype.some
762
+ some: createMethod$1(3),
763
+ // `Array.prototype.every` method
764
+ // https://tc39.github.io/ecma262/#sec-array.prototype.every
765
+ every: createMethod$1(4),
766
+ // `Array.prototype.find` method
767
+ // https://tc39.github.io/ecma262/#sec-array.prototype.find
768
+ find: createMethod$1(5),
769
+ // `Array.prototype.findIndex` method
770
+ // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
771
+ findIndex: createMethod$1(6),
772
+ // `Array.prototype.filterOut` method
773
+ // https://github.com/tc39/proposal-array-filtering
774
+ filterOut: createMethod$1(7)
775
+ };
776
+
777
+ var defineProperty = Object.defineProperty;
778
+ var cache = {};
779
+
780
+ var thrower = function (it) { throw it; };
781
+
782
+ var arrayMethodUsesToLength = function (METHOD_NAME, options) {
783
+ if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
784
+ if (!options) options = {};
785
+ var method = [][METHOD_NAME];
786
+ var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
787
+ var argument0 = has(options, 0) ? options[0] : thrower;
788
+ var argument1 = has(options, 1) ? options[1] : undefined;
789
+
790
+ return cache[METHOD_NAME] = !!method && !fails(function () {
791
+ if (ACCESSORS && !descriptors) return true;
792
+ var O = { length: -1 };
793
+
794
+ if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
795
+ else O[1] = 1;
796
+
797
+ method.call(O, argument0, argument1);
798
+ });
799
+ };
800
+
1225
801
  var $filter = arrayIteration.filter;
1226
802
 
1227
803
 
1228
804
 
1229
805
  var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
1230
806
  // Edge 14- issue
1231
- var USES_TO_LENGTH = HAS_SPECIES_SUPPORT && !fails(function () {
1232
- [].filter.call({ length: -1, 0: 1 }, function (it) { throw it; });
1233
- });
807
+ var USES_TO_LENGTH = arrayMethodUsesToLength('filter');
1234
808
 
1235
809
  // `Array.prototype.filter` method
1236
810
  // https://tc39.github.io/ecma262/#sec-array.prototype.filter
@@ -1241,6 +815,97 @@
1241
815
  }
1242
816
  });
1243
817
 
818
+ // `Object.keys` method
819
+ // https://tc39.github.io/ecma262/#sec-object.keys
820
+ var objectKeys = Object.keys || function keys(O) {
821
+ return objectKeysInternal(O, enumBugKeys);
822
+ };
823
+
824
+ // `Object.defineProperties` method
825
+ // https://tc39.github.io/ecma262/#sec-object.defineproperties
826
+ var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
827
+ anObject(O);
828
+ var keys = objectKeys(Properties);
829
+ var length = keys.length;
830
+ var index = 0;
831
+ var key;
832
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
833
+ return O;
834
+ };
835
+
836
+ var html = getBuiltIn('document', 'documentElement');
837
+
838
+ var GT = '>';
839
+ var LT = '<';
840
+ var PROTOTYPE = 'prototype';
841
+ var SCRIPT = 'script';
842
+ var IE_PROTO = sharedKey('IE_PROTO');
843
+
844
+ var EmptyConstructor = function () { /* empty */ };
845
+
846
+ var scriptTag = function (content) {
847
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
848
+ };
849
+
850
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
851
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
852
+ activeXDocument.write(scriptTag(''));
853
+ activeXDocument.close();
854
+ var temp = activeXDocument.parentWindow.Object;
855
+ activeXDocument = null; // avoid memory leak
856
+ return temp;
857
+ };
858
+
859
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
860
+ var NullProtoObjectViaIFrame = function () {
861
+ // Thrash, waste and sodomy: IE GC bug
862
+ var iframe = documentCreateElement('iframe');
863
+ var JS = 'java' + SCRIPT + ':';
864
+ var iframeDocument;
865
+ iframe.style.display = 'none';
866
+ html.appendChild(iframe);
867
+ // https://github.com/zloirock/core-js/issues/475
868
+ iframe.src = String(JS);
869
+ iframeDocument = iframe.contentWindow.document;
870
+ iframeDocument.open();
871
+ iframeDocument.write(scriptTag('document.F=Object'));
872
+ iframeDocument.close();
873
+ return iframeDocument.F;
874
+ };
875
+
876
+ // Check for document.domain and active x support
877
+ // No need to use active x approach when document.domain is not set
878
+ // see https://github.com/es-shims/es5-shim/issues/150
879
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
880
+ // avoid IE GC bug
881
+ var activeXDocument;
882
+ var NullProtoObject = function () {
883
+ try {
884
+ /* global ActiveXObject */
885
+ activeXDocument = document.domain && new ActiveXObject('htmlfile');
886
+ } catch (error) { /* ignore */ }
887
+ NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
888
+ var length = enumBugKeys.length;
889
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
890
+ return NullProtoObject();
891
+ };
892
+
893
+ hiddenKeys[IE_PROTO] = true;
894
+
895
+ // `Object.create` method
896
+ // https://tc39.github.io/ecma262/#sec-object.create
897
+ var objectCreate = Object.create || function create(O, Properties) {
898
+ var result;
899
+ if (O !== null) {
900
+ EmptyConstructor[PROTOTYPE] = anObject(O);
901
+ result = new EmptyConstructor();
902
+ EmptyConstructor[PROTOTYPE] = null;
903
+ // add "__proto__" for Object.getPrototypeOf polyfill
904
+ result[IE_PROTO] = O;
905
+ } else result = NullProtoObject();
906
+ return Properties === undefined ? result : objectDefineProperties(result, Properties);
907
+ };
908
+
1244
909
  var UNSCOPABLES = wellKnownSymbol('unscopables');
1245
910
  var ArrayPrototype = Array.prototype;
1246
911
 
@@ -1261,15 +926,18 @@
1261
926
  var $find = arrayIteration.find;
1262
927
 
1263
928
 
929
+
1264
930
  var FIND = 'find';
1265
931
  var SKIPS_HOLES = true;
1266
932
 
933
+ var USES_TO_LENGTH$1 = arrayMethodUsesToLength(FIND);
934
+
1267
935
  // Shouldn't skip holes
1268
936
  if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
1269
937
 
1270
938
  // `Array.prototype.find` method
1271
939
  // https://tc39.github.io/ecma262/#sec-array.prototype.find
1272
- _export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
940
+ _export({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH$1 }, {
1273
941
  find: function find(callbackfn /* , that = undefined */) {
1274
942
  return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1275
943
  }
@@ -1281,9 +949,12 @@
1281
949
  var $includes = arrayIncludes.includes;
1282
950
 
1283
951
 
952
+
953
+ var USES_TO_LENGTH$2 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
954
+
1284
955
  // `Array.prototype.includes` method
1285
956
  // https://tc39.github.io/ecma262/#sec-array.prototype.includes
1286
- _export({ target: 'Array', proto: true }, {
957
+ _export({ target: 'Array', proto: true, forced: !USES_TO_LENGTH$2 }, {
1287
958
  includes: function includes(el /* , fromIndex = 0 */) {
1288
959
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1289
960
  }
@@ -1292,9 +963,9 @@
1292
963
  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
1293
964
  addToUnscopables('includes');
1294
965
 
1295
- var sloppyArrayMethod = function (METHOD_NAME, argument) {
966
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
1296
967
  var method = [][METHOD_NAME];
1297
- return !method || !fails(function () {
968
+ return !!method && fails(function () {
1298
969
  // eslint-disable-next-line no-useless-call,no-throw-literal
1299
970
  method.call(null, argument || function () { throw 1; }, 1);
1300
971
  });
@@ -1303,14 +974,16 @@
1303
974
  var $indexOf = arrayIncludes.indexOf;
1304
975
 
1305
976
 
977
+
1306
978
  var nativeIndexOf = [].indexOf;
1307
979
 
1308
980
  var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
1309
- var SLOPPY_METHOD = sloppyArrayMethod('indexOf');
981
+ var STRICT_METHOD = arrayMethodIsStrict('indexOf');
982
+ var USES_TO_LENGTH$3 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
1310
983
 
1311
984
  // `Array.prototype.indexOf` method
1312
985
  // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
1313
- _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, {
986
+ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH$3 }, {
1314
987
  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
1315
988
  return NEGATIVE_ZERO
1316
989
  // convert -0 to +0
@@ -1319,224 +992,69 @@
1319
992
  }
1320
993
  });
1321
994
 
1322
- var correctPrototypeGetter = !fails(function () {
1323
- function F() { /* empty */ }
1324
- F.prototype.constructor = null;
1325
- return Object.getPrototypeOf(new F()) !== F.prototype;
1326
- });
1327
-
1328
- var IE_PROTO$1 = sharedKey('IE_PROTO');
1329
- var ObjectPrototype$1 = Object.prototype;
1330
-
1331
- // `Object.getPrototypeOf` method
1332
- // https://tc39.github.io/ecma262/#sec-object.getprototypeof
1333
- var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) {
1334
- O = toObject(O);
1335
- if (has(O, IE_PROTO$1)) return O[IE_PROTO$1];
1336
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1337
- return O.constructor.prototype;
1338
- } return O instanceof Object ? ObjectPrototype$1 : null;
1339
- };
1340
-
1341
- var ITERATOR = wellKnownSymbol('iterator');
1342
- var BUGGY_SAFARI_ITERATORS = false;
1343
-
1344
- var returnThis = function () { return this; };
1345
-
1346
- // `%IteratorPrototype%` object
1347
- // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
1348
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
1349
-
1350
- if ([].keys) {
1351
- arrayIterator = [].keys();
1352
- // Safari 8 has buggy iterators w/o `next`
1353
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1354
- else {
1355
- PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));
1356
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
1357
- }
1358
- }
1359
-
1360
- if (IteratorPrototype == undefined) IteratorPrototype = {};
1361
-
1362
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
1363
- if ( !has(IteratorPrototype, ITERATOR)) {
1364
- createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
1365
- }
1366
-
1367
- var iteratorsCore = {
1368
- IteratorPrototype: IteratorPrototype,
1369
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1370
- };
1371
-
1372
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1373
-
1374
- var createIteratorConstructor = function (IteratorConstructor, NAME, next) {
1375
- var TO_STRING_TAG = NAME + ' Iterator';
1376
- IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) });
1377
- setToStringTag(IteratorConstructor, TO_STRING_TAG, false);
1378
- return IteratorConstructor;
1379
- };
1380
-
1381
- var aPossiblePrototype = function (it) {
1382
- if (!isObject(it) && it !== null) {
1383
- throw TypeError("Can't set " + String(it) + ' as a prototype');
1384
- } return it;
1385
- };
1386
-
1387
- // `Object.setPrototypeOf` method
1388
- // https://tc39.github.io/ecma262/#sec-object.setprototypeof
1389
- // Works with __proto__ only. Old v8 can't work with null proto objects.
1390
- /* eslint-disable no-proto */
1391
- var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1392
- var CORRECT_SETTER = false;
1393
- var test = {};
1394
- var setter;
1395
- try {
1396
- setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
1397
- setter.call(test, []);
1398
- CORRECT_SETTER = test instanceof Array;
1399
- } catch (error) { /* empty */ }
1400
- return function setPrototypeOf(O, proto) {
1401
- anObject(O);
1402
- aPossiblePrototype(proto);
1403
- if (CORRECT_SETTER) setter.call(O, proto);
1404
- else O.__proto__ = proto;
1405
- return O;
1406
- };
1407
- }() : undefined);
1408
-
1409
- var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
1410
- var BUGGY_SAFARI_ITERATORS$1 = iteratorsCore.BUGGY_SAFARI_ITERATORS;
1411
- var ITERATOR$1 = wellKnownSymbol('iterator');
1412
- var KEYS = 'keys';
1413
- var VALUES = 'values';
1414
- var ENTRIES = 'entries';
1415
-
1416
- var returnThis$1 = function () { return this; };
1417
-
1418
- var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1419
- createIteratorConstructor(IteratorConstructor, NAME, next);
1420
-
1421
- var getIterationMethod = function (KIND) {
1422
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1423
- if (!BUGGY_SAFARI_ITERATORS$1 && KIND in IterablePrototype) return IterablePrototype[KIND];
1424
- switch (KIND) {
1425
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1426
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1427
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1428
- } return function () { return new IteratorConstructor(this); };
1429
- };
1430
-
1431
- var TO_STRING_TAG = NAME + ' Iterator';
1432
- var INCORRECT_VALUES_NAME = false;
1433
- var IterablePrototype = Iterable.prototype;
1434
- var nativeIterator = IterablePrototype[ITERATOR$1]
1435
- || IterablePrototype['@@iterator']
1436
- || DEFAULT && IterablePrototype[DEFAULT];
1437
- var defaultIterator = !BUGGY_SAFARI_ITERATORS$1 && nativeIterator || getIterationMethod(DEFAULT);
1438
- var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1439
- var CurrentIteratorPrototype, methods, KEY;
1440
-
1441
- // fix native
1442
- if (anyNativeIterator) {
1443
- CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));
1444
- if (IteratorPrototype$2 !== Object.prototype && CurrentIteratorPrototype.next) {
1445
- if ( objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype$2) {
1446
- if (objectSetPrototypeOf) {
1447
- objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
1448
- } else if (typeof CurrentIteratorPrototype[ITERATOR$1] != 'function') {
1449
- createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR$1, returnThis$1);
1450
- }
1451
- }
1452
- // Set @@toStringTag to native iterators
1453
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
1454
- }
1455
- }
1456
-
1457
- // fix Array#{values, @@iterator}.name in V8 / FF
1458
- if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1459
- INCORRECT_VALUES_NAME = true;
1460
- defaultIterator = function values() { return nativeIterator.call(this); };
1461
- }
1462
-
1463
- // define iterator
1464
- if ( IterablePrototype[ITERATOR$1] !== defaultIterator) {
1465
- createNonEnumerableProperty(IterablePrototype, ITERATOR$1, defaultIterator);
1466
- }
1467
-
1468
- // export additional methods
1469
- if (DEFAULT) {
1470
- methods = {
1471
- values: getIterationMethod(VALUES),
1472
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1473
- entries: getIterationMethod(ENTRIES)
1474
- };
1475
- if (FORCED) for (KEY in methods) {
1476
- if (BUGGY_SAFARI_ITERATORS$1 || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1477
- redefine(IterablePrototype, KEY, methods[KEY]);
1478
- }
1479
- } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS$1 || INCORRECT_VALUES_NAME }, methods);
1480
- }
1481
-
1482
- return methods;
1483
- };
1484
-
1485
- var ARRAY_ITERATOR = 'Array Iterator';
1486
- var setInternalState$1 = internalState.set;
1487
- var getInternalState$1 = internalState.getterFor(ARRAY_ITERATOR);
1488
-
1489
- // `Array.prototype.entries` method
1490
- // https://tc39.github.io/ecma262/#sec-array.prototype.entries
1491
- // `Array.prototype.keys` method
1492
- // https://tc39.github.io/ecma262/#sec-array.prototype.keys
1493
- // `Array.prototype.values` method
1494
- // https://tc39.github.io/ecma262/#sec-array.prototype.values
1495
- // `Array.prototype[@@iterator]` method
1496
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator
1497
- // `CreateArrayIterator` internal method
1498
- // https://tc39.github.io/ecma262/#sec-createarrayiterator
1499
- var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1500
- setInternalState$1(this, {
1501
- type: ARRAY_ITERATOR,
1502
- target: toIndexedObject(iterated), // target
1503
- index: 0, // next index
1504
- kind: kind // kind
1505
- });
1506
- // `%ArrayIteratorPrototype%.next` method
1507
- // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next
1508
- }, function () {
1509
- var state = getInternalState$1(this);
1510
- var target = state.target;
1511
- var kind = state.kind;
1512
- var index = state.index++;
1513
- if (!target || index >= target.length) {
1514
- state.target = undefined;
1515
- return { value: undefined, done: true };
1516
- }
1517
- if (kind == 'keys') return { value: index, done: false };
1518
- if (kind == 'values') return { value: target[index], done: false };
1519
- return { value: [index, target[index]], done: false };
1520
- }, 'values');
1521
-
1522
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
1523
- addToUnscopables('keys');
1524
- addToUnscopables('values');
1525
- addToUnscopables('entries');
1526
-
1527
995
  var nativeJoin = [].join;
1528
996
 
1529
997
  var ES3_STRINGS = indexedObject != Object;
1530
- var SLOPPY_METHOD$1 = sloppyArrayMethod('join', ',');
998
+ var STRICT_METHOD$1 = arrayMethodIsStrict('join', ',');
1531
999
 
1532
1000
  // `Array.prototype.join` method
1533
1001
  // https://tc39.github.io/ecma262/#sec-array.prototype.join
1534
- _export({ target: 'Array', proto: true, forced: ES3_STRINGS || SLOPPY_METHOD$1 }, {
1002
+ _export({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
1535
1003
  join: function join(separator) {
1536
1004
  return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
1537
1005
  }
1538
1006
  });
1539
1007
 
1008
+ var nativeAssign = Object.assign;
1009
+ var defineProperty$1 = Object.defineProperty;
1010
+
1011
+ // `Object.assign` method
1012
+ // https://tc39.github.io/ecma262/#sec-object.assign
1013
+ var objectAssign = !nativeAssign || fails(function () {
1014
+ // should have correct order of operations (Edge bug)
1015
+ if (descriptors && nativeAssign({ b: 1 }, nativeAssign(defineProperty$1({}, 'a', {
1016
+ enumerable: true,
1017
+ get: function () {
1018
+ defineProperty$1(this, 'b', {
1019
+ value: 3,
1020
+ enumerable: false
1021
+ });
1022
+ }
1023
+ }), { b: 2 })).b !== 1) return true;
1024
+ // should work with symbols and should have deterministic property order (V8 bug)
1025
+ var A = {};
1026
+ var B = {};
1027
+ // eslint-disable-next-line no-undef
1028
+ var symbol = Symbol();
1029
+ var alphabet = 'abcdefghijklmnopqrst';
1030
+ A[symbol] = 7;
1031
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1032
+ return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;
1033
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
1034
+ var T = toObject(target);
1035
+ var argumentsLength = arguments.length;
1036
+ var index = 1;
1037
+ var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
1038
+ var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1039
+ while (argumentsLength > index) {
1040
+ var S = indexedObject(arguments[index++]);
1041
+ var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
1042
+ var length = keys.length;
1043
+ var j = 0;
1044
+ var key;
1045
+ while (length > j) {
1046
+ key = keys[j++];
1047
+ if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];
1048
+ }
1049
+ } return T;
1050
+ } : nativeAssign;
1051
+
1052
+ // `Object.assign` method
1053
+ // https://tc39.github.io/ecma262/#sec-object.assign
1054
+ _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {
1055
+ assign: objectAssign
1056
+ });
1057
+
1540
1058
  var propertyIsEnumerable = objectPropertyIsEnumerable.f;
1541
1059
 
1542
1060
  // `Object.{ entries, values }` methods implementation
@@ -1577,48 +1095,6 @@
1577
1095
  }
1578
1096
  });
1579
1097
 
1580
- var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
1581
- var test = {};
1582
-
1583
- test[TO_STRING_TAG$1] = 'z';
1584
-
1585
- var toStringTagSupport = String(test) === '[object z]';
1586
-
1587
- var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
1588
- // ES3 wrong here
1589
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1590
-
1591
- // fallback for IE11 Script Access Denied error
1592
- var tryGet = function (it, key) {
1593
- try {
1594
- return it[key];
1595
- } catch (error) { /* empty */ }
1596
- };
1597
-
1598
- // getting tag from ES6+ `Object.prototype.toString`
1599
- var classof = toStringTagSupport ? classofRaw : function (it) {
1600
- var O, tag, result;
1601
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1602
- // @@toStringTag case
1603
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG$2)) == 'string' ? tag
1604
- // builtinTag case
1605
- : CORRECT_ARGUMENTS ? classofRaw(O)
1606
- // ES3 arguments fallback
1607
- : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
1608
- };
1609
-
1610
- // `Object.prototype.toString` method implementation
1611
- // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
1612
- var objectToString = toStringTagSupport ? {}.toString : function toString() {
1613
- return '[object ' + classof(this) + ']';
1614
- };
1615
-
1616
- // `Object.prototype.toString` method
1617
- // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
1618
- if (!toStringTagSupport) {
1619
- redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1620
- }
1621
-
1622
1098
  // `RegExp.prototype.flags` getter implementation
1623
1099
  // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
1624
1100
  var regexpFlags = function () {
@@ -1767,11 +1243,11 @@
1767
1243
  var regexp = /./;
1768
1244
  try {
1769
1245
  '/./'[METHOD_NAME](regexp);
1770
- } catch (e) {
1246
+ } catch (error1) {
1771
1247
  try {
1772
1248
  regexp[MATCH$1] = false;
1773
1249
  return '/./'[METHOD_NAME](regexp);
1774
- } catch (f) { /* empty */ }
1250
+ } catch (error2) { /* empty */ }
1775
1251
  } return false;
1776
1252
  };
1777
1253
 
@@ -1784,59 +1260,13 @@
1784
1260
  }
1785
1261
  });
1786
1262
 
1787
- // `String.prototype.{ codePointAt, at }` methods implementation
1788
- var createMethod$3 = function (CONVERT_TO_STRING) {
1789
- return function ($this, pos) {
1790
- var S = String(requireObjectCoercible($this));
1791
- var position = toInteger(pos);
1792
- var size = S.length;
1793
- var first, second;
1794
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
1795
- first = S.charCodeAt(position);
1796
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
1797
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
1798
- ? CONVERT_TO_STRING ? S.charAt(position) : first
1799
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
1800
- };
1801
- };
1263
+ // TODO: Remove from `core-js@4` since it's moved to entry points
1802
1264
 
1803
- var stringMultibyte = {
1804
- // `String.prototype.codePointAt` method
1805
- // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
1806
- codeAt: createMethod$3(false),
1807
- // `String.prototype.at` method
1808
- // https://github.com/mathiasbynens/String.prototype.at
1809
- charAt: createMethod$3(true)
1810
- };
1811
1265
 
1812
- var charAt = stringMultibyte.charAt;
1813
1266
 
1814
1267
 
1815
1268
 
1816
- var STRING_ITERATOR = 'String Iterator';
1817
- var setInternalState$2 = internalState.set;
1818
- var getInternalState$2 = internalState.getterFor(STRING_ITERATOR);
1819
1269
 
1820
- // `String.prototype[@@iterator]` method
1821
- // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator
1822
- defineIterator(String, 'String', function (iterated) {
1823
- setInternalState$2(this, {
1824
- type: STRING_ITERATOR,
1825
- string: String(iterated),
1826
- index: 0
1827
- });
1828
- // `%StringIteratorPrototype%.next` method
1829
- // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next
1830
- }, function next() {
1831
- var state = getInternalState$2(this);
1832
- var string = state.string;
1833
- var index = state.index;
1834
- var point;
1835
- if (index >= string.length) return { value: undefined, done: true };
1836
- point = charAt(string, index);
1837
- state.index += point.length;
1838
- return { value: point, done: false };
1839
- });
1840
1270
 
1841
1271
  var SPECIES$2 = wellKnownSymbol('species');
1842
1272
 
@@ -1859,6 +1289,15 @@
1859
1289
  return 'a'.replace(/./, '$0') === '$0';
1860
1290
  })();
1861
1291
 
1292
+ var REPLACE = wellKnownSymbol('replace');
1293
+ // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1294
+ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1295
+ if (/./[REPLACE]) {
1296
+ return /./[REPLACE]('a', '$0') === '';
1297
+ }
1298
+ return false;
1299
+ })();
1300
+
1862
1301
  // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1863
1302
  // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1864
1303
  var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
@@ -1906,7 +1345,11 @@
1906
1345
  if (
1907
1346
  !DELEGATES_TO_SYMBOL ||
1908
1347
  !DELEGATES_TO_EXEC ||
1909
- (KEY === 'replace' && !(REPLACE_SUPPORTS_NAMED_GROUPS && REPLACE_KEEPS_$0)) ||
1348
+ (KEY === 'replace' && !(
1349
+ REPLACE_SUPPORTS_NAMED_GROUPS &&
1350
+ REPLACE_KEEPS_$0 &&
1351
+ !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1352
+ )) ||
1910
1353
  (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1911
1354
  ) {
1912
1355
  var nativeRegExpMethod = /./[SYMBOL];
@@ -1921,7 +1364,10 @@
1921
1364
  return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1922
1365
  }
1923
1366
  return { done: false };
1924
- }, { REPLACE_KEEPS_$0: REPLACE_KEEPS_$0 });
1367
+ }, {
1368
+ REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
1369
+ REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1370
+ });
1925
1371
  var stringMethod = methods[0];
1926
1372
  var regexMethod = methods[1];
1927
1373
 
@@ -2002,7 +1448,7 @@
2002
1448
  var rtrim = RegExp(whitespace + whitespace + '*$');
2003
1449
 
2004
1450
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
2005
- var createMethod$4 = function (TYPE) {
1451
+ var createMethod$3 = function (TYPE) {
2006
1452
  return function ($this) {
2007
1453
  var string = String(requireObjectCoercible($this));
2008
1454
  if (TYPE & 1) string = string.replace(ltrim, '');
@@ -2014,20 +1460,20 @@
2014
1460
  var stringTrim = {
2015
1461
  // `String.prototype.{ trimLeft, trimStart }` methods
2016
1462
  // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
2017
- start: createMethod$4(1),
1463
+ start: createMethod$3(1),
2018
1464
  // `String.prototype.{ trimRight, trimEnd }` methods
2019
1465
  // https://tc39.github.io/ecma262/#sec-string.prototype.trimend
2020
- end: createMethod$4(2),
1466
+ end: createMethod$3(2),
2021
1467
  // `String.prototype.trim` method
2022
1468
  // https://tc39.github.io/ecma262/#sec-string.prototype.trim
2023
- trim: createMethod$4(3)
1469
+ trim: createMethod$3(3)
2024
1470
  };
2025
1471
 
2026
1472
  var non = '\u200B\u0085\u180E';
2027
1473
 
2028
1474
  // check that a method works with the correct list
2029
1475
  // of whitespaces and has a correct name
2030
- var forcedStringTrimMethod = function (METHOD_NAME) {
1476
+ var stringTrimForced = function (METHOD_NAME) {
2031
1477
  return fails(function () {
2032
1478
  return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
2033
1479
  });
@@ -2038,76 +1484,12 @@
2038
1484
 
2039
1485
  // `String.prototype.trim` method
2040
1486
  // https://tc39.github.io/ecma262/#sec-string.prototype.trim
2041
- _export({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
1487
+ _export({ target: 'String', proto: true, forced: stringTrimForced('trim') }, {
2042
1488
  trim: function trim() {
2043
1489
  return $trim(this);
2044
1490
  }
2045
1491
  });
2046
1492
 
2047
- // iterable DOM collections
2048
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
2049
- var domIterables = {
2050
- CSSRuleList: 0,
2051
- CSSStyleDeclaration: 0,
2052
- CSSValueList: 0,
2053
- ClientRectList: 0,
2054
- DOMRectList: 0,
2055
- DOMStringList: 0,
2056
- DOMTokenList: 1,
2057
- DataTransferItemList: 0,
2058
- FileList: 0,
2059
- HTMLAllCollection: 0,
2060
- HTMLCollection: 0,
2061
- HTMLFormElement: 0,
2062
- HTMLSelectElement: 0,
2063
- MediaList: 0,
2064
- MimeTypeArray: 0,
2065
- NamedNodeMap: 0,
2066
- NodeList: 1,
2067
- PaintRequestList: 0,
2068
- Plugin: 0,
2069
- PluginArray: 0,
2070
- SVGLengthList: 0,
2071
- SVGNumberList: 0,
2072
- SVGPathSegList: 0,
2073
- SVGPointList: 0,
2074
- SVGStringList: 0,
2075
- SVGTransformList: 0,
2076
- SourceBufferList: 0,
2077
- StyleSheetList: 0,
2078
- TextTrackCueList: 0,
2079
- TextTrackList: 0,
2080
- TouchList: 0
2081
- };
2082
-
2083
- var ITERATOR$2 = wellKnownSymbol('iterator');
2084
- var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag');
2085
- var ArrayValues = es_array_iterator.values;
2086
-
2087
- for (var COLLECTION_NAME in domIterables) {
2088
- var Collection = global_1[COLLECTION_NAME];
2089
- var CollectionPrototype = Collection && Collection.prototype;
2090
- if (CollectionPrototype) {
2091
- // some Chrome versions have non-configurable methods on DOMTokenList
2092
- if (CollectionPrototype[ITERATOR$2] !== ArrayValues) try {
2093
- createNonEnumerableProperty(CollectionPrototype, ITERATOR$2, ArrayValues);
2094
- } catch (error) {
2095
- CollectionPrototype[ITERATOR$2] = ArrayValues;
2096
- }
2097
- if (!CollectionPrototype[TO_STRING_TAG$3]) {
2098
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$3, COLLECTION_NAME);
2099
- }
2100
- if (domIterables[COLLECTION_NAME]) for (var METHOD_NAME in es_array_iterator) {
2101
- // some Chrome versions have non-configurable methods on DOMTokenList
2102
- if (CollectionPrototype[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try {
2103
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, es_array_iterator[METHOD_NAME]);
2104
- } catch (error) {
2105
- CollectionPrototype[METHOD_NAME] = es_array_iterator[METHOD_NAME];
2106
- }
2107
- }
2108
- }
2109
- }
2110
-
2111
1493
  function _classCallCheck(instance, Constructor) {
2112
1494
  if (!(instance instanceof Constructor)) {
2113
1495
  throw new TypeError("Cannot call a class as a function");
@@ -2161,6 +1543,19 @@
2161
1543
  return _setPrototypeOf(o, p);
2162
1544
  }
2163
1545
 
1546
+ function _isNativeReflectConstruct() {
1547
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
1548
+ if (Reflect.construct.sham) return false;
1549
+ if (typeof Proxy === "function") return true;
1550
+
1551
+ try {
1552
+ Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
1553
+ return true;
1554
+ } catch (e) {
1555
+ return false;
1556
+ }
1557
+ }
1558
+
2164
1559
  function _assertThisInitialized(self) {
2165
1560
  if (self === void 0) {
2166
1561
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -2177,6 +1572,25 @@
2177
1572
  return _assertThisInitialized(self);
2178
1573
  }
2179
1574
 
1575
+ function _createSuper(Derived) {
1576
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
1577
+
1578
+ return function _createSuperInternal() {
1579
+ var Super = _getPrototypeOf(Derived),
1580
+ result;
1581
+
1582
+ if (hasNativeReflectConstruct) {
1583
+ var NewTarget = _getPrototypeOf(this).constructor;
1584
+
1585
+ result = Reflect.construct(Super, arguments, NewTarget);
1586
+ } else {
1587
+ result = Super.apply(this, arguments);
1588
+ }
1589
+
1590
+ return _possibleConstructorReturn(this, result);
1591
+ };
1592
+ }
1593
+
2180
1594
  function _superPropBase(object, property) {
2181
1595
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
2182
1596
  object = _getPrototypeOf(object);
@@ -2208,19 +1622,15 @@
2208
1622
  }
2209
1623
 
2210
1624
  function _slicedToArray(arr, i) {
2211
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
1625
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
2212
1626
  }
2213
1627
 
2214
1628
  function _toConsumableArray(arr) {
2215
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
1629
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
2216
1630
  }
2217
1631
 
2218
1632
  function _arrayWithoutHoles(arr) {
2219
- if (Array.isArray(arr)) {
2220
- for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
2221
-
2222
- return arr2;
2223
- }
1633
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
2224
1634
  }
2225
1635
 
2226
1636
  function _arrayWithHoles(arr) {
@@ -2228,14 +1638,11 @@
2228
1638
  }
2229
1639
 
2230
1640
  function _iterableToArray(iter) {
2231
- if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
1641
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
2232
1642
  }
2233
1643
 
2234
1644
  function _iterableToArrayLimit(arr, i) {
2235
- if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
2236
- return;
2237
- }
2238
-
1645
+ if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
2239
1646
  var _arr = [];
2240
1647
  var _n = true;
2241
1648
  var _d = false;
@@ -2261,12 +1668,86 @@
2261
1668
  return _arr;
2262
1669
  }
2263
1670
 
1671
+ function _unsupportedIterableToArray(o, minLen) {
1672
+ if (!o) return;
1673
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1674
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1675
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1676
+ if (n === "Map" || n === "Set") return Array.from(o);
1677
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1678
+ }
1679
+
1680
+ function _arrayLikeToArray(arr, len) {
1681
+ if (len == null || len > arr.length) len = arr.length;
1682
+
1683
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1684
+
1685
+ return arr2;
1686
+ }
1687
+
2264
1688
  function _nonIterableSpread() {
2265
- throw new TypeError("Invalid attempt to spread non-iterable instance");
1689
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2266
1690
  }
2267
1691
 
2268
1692
  function _nonIterableRest() {
2269
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
1693
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1694
+ }
1695
+
1696
+ function _createForOfIteratorHelper(o, allowArrayLike) {
1697
+ var it;
1698
+
1699
+ if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
1700
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
1701
+ if (it) o = it;
1702
+ var i = 0;
1703
+
1704
+ var F = function () {};
1705
+
1706
+ return {
1707
+ s: F,
1708
+ n: function () {
1709
+ if (i >= o.length) return {
1710
+ done: true
1711
+ };
1712
+ return {
1713
+ done: false,
1714
+ value: o[i++]
1715
+ };
1716
+ },
1717
+ e: function (e) {
1718
+ throw e;
1719
+ },
1720
+ f: F
1721
+ };
1722
+ }
1723
+
1724
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1725
+ }
1726
+
1727
+ var normalCompletion = true,
1728
+ didErr = false,
1729
+ err;
1730
+ return {
1731
+ s: function () {
1732
+ it = o[Symbol.iterator]();
1733
+ },
1734
+ n: function () {
1735
+ var step = it.next();
1736
+ normalCompletion = step.done;
1737
+ return step;
1738
+ },
1739
+ e: function (e) {
1740
+ didErr = true;
1741
+ err = e;
1742
+ },
1743
+ f: function () {
1744
+ try {
1745
+ if (!normalCompletion && it.return != null) it.return();
1746
+ } finally {
1747
+ if (didErr) throw err;
1748
+ }
1749
+ }
1750
+ };
2270
1751
  }
2271
1752
 
2272
1753
  /**
@@ -2277,7 +1758,7 @@
2277
1758
  * @update zhixin wen <wenzhixin2010@gmail.com>
2278
1759
  */
2279
1760
 
2280
- var Utils = $.fn.bootstrapTable.utils;
1761
+ var Utils = $__default['default'].fn.bootstrapTable.utils;
2281
1762
  var theme = {
2282
1763
  bootstrap3: {
2283
1764
  icons: {
@@ -2335,23 +1816,24 @@
2335
1816
  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 "
2336
1817
  }
2337
1818
  }
2338
- }[$.fn.bootstrapTable.theme];
2339
- $.extend($.fn.bootstrapTable.defaults, {
1819
+ }[$__default['default'].fn.bootstrapTable.theme];
1820
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
2340
1821
  advancedSearch: false,
2341
1822
  idForm: 'advancedSearch',
2342
1823
  actionForm: '',
2343
1824
  idTable: undefined,
1825
+ // eslint-disable-next-line no-unused-vars
2344
1826
  onColumnAdvancedSearch: function onColumnAdvancedSearch(field, text) {
2345
1827
  return false;
2346
1828
  }
2347
1829
  });
2348
- $.extend($.fn.bootstrapTable.defaults.icons, {
1830
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults.icons, {
2349
1831
  advancedSearchIcon: theme.icons.advancedSearchIcon
2350
1832
  });
2351
- $.extend($.fn.bootstrapTable.Constructor.EVENTS, {
1833
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.Constructor.EVENTS, {
2352
1834
  'column-advanced-search.bs.table': 'onColumnAdvancedSearch'
2353
1835
  });
2354
- $.extend($.fn.bootstrapTable.locales, {
1836
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.locales, {
2355
1837
  formatAdvancedSearch: function formatAdvancedSearch() {
2356
1838
  return 'Advanced search';
2357
1839
  },
@@ -2359,67 +1841,70 @@
2359
1841
  return 'Close';
2360
1842
  }
2361
1843
  });
2362
- $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales);
1844
+ $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales);
2363
1845
 
2364
- $.BootstrapTable =
2365
- /*#__PURE__*/
2366
- function (_$$BootstrapTable) {
1846
+ $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
2367
1847
  _inherits(_class, _$$BootstrapTable);
2368
1848
 
1849
+ var _super = _createSuper(_class);
1850
+
2369
1851
  function _class() {
2370
1852
  _classCallCheck(this, _class);
2371
1853
 
2372
- return _possibleConstructorReturn(this, _getPrototypeOf(_class).apply(this, arguments));
1854
+ return _super.apply(this, arguments);
2373
1855
  }
2374
1856
 
2375
1857
  _createClass(_class, [{
2376
1858
  key: "initToolbar",
2377
1859
  value: function initToolbar() {
2378
- var _this = this;
2379
-
2380
1860
  var o = this.options;
2381
1861
  this.showToolbar = this.showToolbar || o.search && o.advancedSearch && o.idTable;
2382
1862
 
2383
- _get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);
2384
-
2385
- if (!o.search || !o.advancedSearch || !o.idTable) {
2386
- return;
1863
+ if (o.search && o.advancedSearch && o.idTable) {
1864
+ this.buttons = Object.assign(this.buttons, {
1865
+ advancedSearch: {
1866
+ text: this.options.formatAdvancedSearch(),
1867
+ icon: this.options.icons.advancedSearchIcon,
1868
+ event: this.showAvdSearch,
1869
+ attributes: {
1870
+ 'aria-label': this.options.formatAdvancedSearch(),
1871
+ title: this.options.formatAdvancedSearch()
1872
+ }
1873
+ }
1874
+ });
2387
1875
  }
2388
1876
 
2389
- this.$toolbar.find('>.columns').append("\n <button class=\"".concat(this.constants.buttonsClass, " \"\n type=\"button\"\n name=\"advancedSearch\"\n aria-label=\"advanced search\"\n title=\"").concat(o.formatAdvancedSearch(), "\">\n ").concat(this.options.showButtonIcons ? Utils.sprintf(this.constants.html.icon, o.iconsPrefix, o.icons.advancedSearchIcon) : '', "\n ").concat(this.options.showButtonText ? this.options.formatAdvancedSearch() : '', "\n </button>\n "));
2390
- this.$toolbar.find('button[name="advancedSearch"]').off('click').on('click', function () {
2391
- return _this.showAvdSearch();
2392
- });
1877
+ _get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);
2393
1878
  }
2394
1879
  }, {
2395
1880
  key: "showAvdSearch",
2396
1881
  value: function showAvdSearch() {
2397
- var _this2 = this;
1882
+ var _this = this;
2398
1883
 
2399
1884
  var o = this.options;
2400
- var modalSelector = '#avdSearchModal_' + o.idTable;
1885
+ var modalSelector = "#avdSearchModal_".concat(o.idTable);
2401
1886
 
2402
- if ($(modalSelector).length <= 0) {
2403
- $('body').append(Utils.sprintf(theme.html.modal, o.idTable, o.formatAdvancedSearch(), o.idTable, o.idTable, o.buttonsClass, o.formatAdvancedCloseButton()));
1887
+ if ($__default['default'](modalSelector).length <= 0) {
1888
+ $__default['default']('body').append(Utils.sprintf(theme.html.modal, o.idTable, o.formatAdvancedSearch(), o.idTable, o.idTable, o.buttonsClass, o.formatAdvancedCloseButton()));
2404
1889
  var timeoutId = 0;
2405
- $("#avdSearchModalContent_".concat(o.idTable)).append(this.createFormAvd().join(''));
2406
- $("#".concat(o.idForm)).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {
1890
+ $__default['default']("#avdSearchModalContent_".concat(o.idTable)).append(this.createFormAvd().join(''));
1891
+ $__default['default']("#".concat(o.idForm)).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {
2407
1892
  if (o.sidePagination === 'server') {
2408
- _this2.onColumnAdvancedSearch(e);
1893
+ _this.onColumnAdvancedSearch(e);
2409
1894
  } else {
2410
1895
  clearTimeout(timeoutId);
2411
1896
  timeoutId = setTimeout(function () {
2412
- _this2.onColumnAdvancedSearch(e);
1897
+ _this.onColumnAdvancedSearch(e);
2413
1898
  }, o.searchTimeOut);
2414
1899
  }
2415
1900
  });
2416
- $("#btnCloseAvd_".concat(o.idTable)).click(function () {
2417
- return _this2.hideModal();
1901
+ $__default['default']("#btnCloseAvd_".concat(o.idTable)).click(function () {
1902
+ return _this.hideModal();
2418
1903
  });
2419
1904
 
2420
- if ($.fn.bootstrapTable.theme === 'bulma') {
2421
- $(modalSelector).find('.delete').off('click').on('click', function () {
2422
- return _this2.hideModal();
1905
+ if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1906
+ $__default['default'](modalSelector).find('.delete').off('click').on('click', function () {
1907
+ return _this.hideModal();
2423
1908
  });
2424
1909
  }
2425
1910
 
@@ -2431,52 +1916,52 @@
2431
1916
  }, {
2432
1917
  key: "showModal",
2433
1918
  value: function showModal() {
2434
- var modalSelector = '#avdSearchModal_' + this.options.idTable;
1919
+ var modalSelector = "#avdSearchModal_".concat(this.options.idTable);
2435
1920
 
2436
- if ($.inArray($.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
2437
- $(modalSelector).modal();
2438
- } else if ($.fn.bootstrapTable.theme === 'bootstrap5') {
1921
+ if ($__default['default'].inArray($__default['default'].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1922
+ $__default['default'](modalSelector).modal();
1923
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'bootstrap5') {
2439
1924
  if (!this.toolbarModal) {
2440
1925
  // eslint-disable-next-line no-undef
2441
- this.toolbarModal = new bootstrap.Modal(document.getElementById('avdSearchModal_' + this.options.idTable), {});
1926
+ this.toolbarModal = new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)), {});
2442
1927
  }
2443
1928
 
2444
1929
  this.toolbarModal.show();
2445
- } else if ($.fn.bootstrapTable.theme === 'bulma') {
2446
- $(modalSelector).toggleClass('is-active');
2447
- } else if ($.fn.bootstrapTable.theme === 'foundation') {
1930
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1931
+ $__default['default'](modalSelector).toggleClass('is-active');
1932
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'foundation') {
2448
1933
  if (!this.toolbarModal) {
2449
1934
  // eslint-disable-next-line no-undef
2450
- this.toolbarModal = new Foundation.Reveal($(modalSelector));
1935
+ this.toolbarModal = new Foundation.Reveal($__default['default'](modalSelector));
2451
1936
  }
2452
1937
 
2453
1938
  this.toolbarModal.open();
2454
- } else if ($.fn.bootstrapTable.theme === 'materialize') {
2455
- $(modalSelector).modal();
2456
- $(modalSelector).modal('open');
2457
- } else if ($.fn.bootstrapTable.theme === 'semantic') {
2458
- $(modalSelector).modal('show');
1939
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'materialize') {
1940
+ $__default['default'](modalSelector).modal();
1941
+ $__default['default'](modalSelector).modal('open');
1942
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'semantic') {
1943
+ $__default['default'](modalSelector).modal('show');
2459
1944
  }
2460
1945
  }
2461
1946
  }, {
2462
1947
  key: "hideModal",
2463
1948
  value: function hideModal() {
2464
- var $closeModalButton = $("#avdSearchModal_".concat(this.options.idTable));
2465
- var modalSelector = '#avdSearchModal_' + this.options.idTable;
1949
+ var $closeModalButton = $__default['default']("#avdSearchModal_".concat(this.options.idTable));
1950
+ var modalSelector = "#avdSearchModal_".concat(this.options.idTable);
2466
1951
 
2467
- if ($.inArray($.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
1952
+ if ($__default['default'].inArray($__default['default'].fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {
2468
1953
  $closeModalButton.modal('hide');
2469
- } else if ($.fn.bootstrapTable.theme === 'bootstrap5') {
1954
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'bootstrap5') {
2470
1955
  this.toolbarModal.hide();
2471
- } else if ($.fn.bootstrapTable.theme === 'bulma') {
2472
- $('html').toggleClass('is-clipped');
2473
- $(modalSelector).toggleClass('is-active');
2474
- } else if ($.fn.bootstrapTable.theme === 'foundation') {
1956
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'bulma') {
1957
+ $__default['default']('html').toggleClass('is-clipped');
1958
+ $__default['default'](modalSelector).toggleClass('is-active');
1959
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'foundation') {
2475
1960
  this.toolbarModal.close();
2476
- } else if ($.fn.bootstrapTable.theme === 'materialize') {
2477
- $(modalSelector).modal('open');
2478
- } else if ($.fn.bootstrapTable.theme === 'semantic') {
2479
- $(modalSelector).modal('close');
1961
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'materialize') {
1962
+ $__default['default'](modalSelector).modal('open');
1963
+ } else if ($__default['default'].fn.bootstrapTable.theme === 'semantic') {
1964
+ $__default['default'](modalSelector).modal('close');
2480
1965
  }
2481
1966
 
2482
1967
  if (this.options.sidePagination === 'server') {
@@ -2490,12 +1975,12 @@
2490
1975
  value: function createFormAvd() {
2491
1976
  var o = this.options;
2492
1977
  var html = ["<form class=\"form-horizontal\" id=\"".concat(o.idForm, "\" action=\"").concat(o.actionForm, "\">")];
2493
- var _iteratorNormalCompletion = true;
2494
- var _didIteratorError = false;
2495
- var _iteratorError = undefined;
1978
+
1979
+ var _iterator = _createForOfIteratorHelper(this.columns),
1980
+ _step;
2496
1981
 
2497
1982
  try {
2498
- for (var _iterator = this.columns[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
1983
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
2499
1984
  var column = _step.value;
2500
1985
 
2501
1986
  if (!column.checkbox && column.visible && column.searchable) {
@@ -2503,18 +1988,9 @@
2503
1988
  }
2504
1989
  }
2505
1990
  } catch (err) {
2506
- _didIteratorError = true;
2507
- _iteratorError = err;
1991
+ _iterator.e(err);
2508
1992
  } finally {
2509
- try {
2510
- if (!_iteratorNormalCompletion && _iterator.return != null) {
2511
- _iterator.return();
2512
- }
2513
- } finally {
2514
- if (_didIteratorError) {
2515
- throw _iteratorError;
2516
- }
2517
- }
1993
+ _iterator.f();
2518
1994
  }
2519
1995
 
2520
1996
  html.push('</form>');
@@ -2523,7 +1999,7 @@
2523
1999
  }, {
2524
2000
  key: "initSearch",
2525
2001
  value: function initSearch() {
2526
- var _this3 = this;
2002
+ var _this2 = this;
2527
2003
 
2528
2004
  _get(_getPrototypeOf(_class.prototype), "initSearch", this).call(this);
2529
2005
 
@@ -2531,7 +2007,7 @@
2531
2007
  return;
2532
2008
  }
2533
2009
 
2534
- var fp = $.isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
2010
+ var fp = $__default['default'].isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;
2535
2011
  this.data = fp ? this.data.filter(function (item, i) {
2536
2012
  for (var _i = 0, _Object$entries = Object.entries(fp); _i < _Object$entries.length; _i++) {
2537
2013
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
@@ -2541,9 +2017,9 @@
2541
2017
  var fval = v.toLowerCase();
2542
2018
  var value = item[key];
2543
2019
 
2544
- var index = _this3.header.fields.indexOf(key);
2020
+ var index = _this2.header.fields.indexOf(key);
2545
2021
 
2546
- value = Utils.calculateObjectValue(_this3.header, _this3.header.formatters[index], [value, item, i], value);
2022
+ value = Utils.calculateObjectValue(_this2.header, _this2.header.formatters[index], [value, item, i], value);
2547
2023
 
2548
2024
  if (!(index !== -1 && (typeof value === 'string' || typeof value === 'number') && "".concat(value).toLowerCase().includes(fval))) {
2549
2025
  return false;
@@ -2557,10 +2033,10 @@
2557
2033
  }, {
2558
2034
  key: "onColumnAdvancedSearch",
2559
2035
  value: function onColumnAdvancedSearch(e) {
2560
- var text = $.trim($(e.currentTarget).val());
2561
- var $field = $(e.currentTarget)[0].id;
2036
+ var text = $__default['default'].trim($__default['default'](e.currentTarget).val());
2037
+ var $field = $__default['default'](e.currentTarget)[0].id;
2562
2038
 
2563
- if ($.isEmptyObject(this.filterColumnsPartial)) {
2039
+ if ($__default['default'].isEmptyObject(this.filterColumnsPartial)) {
2564
2040
  this.filterColumnsPartial = {};
2565
2041
  }
2566
2042
 
@@ -2580,6 +2056,6 @@
2580
2056
  }]);
2581
2057
 
2582
2058
  return _class;
2583
- }($.BootstrapTable);
2059
+ }($__default['default'].BootstrapTable);
2584
2060
 
2585
2061
  })));