bootstrap-table-rails 1.18.2 → 1.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +1 -1
  4. data/bootstrap-table-rails.gemspec +2 -2
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/assets/javascripts/.DS_Store +0 -0
  7. data/vendor/assets/javascripts/bootstrap-table/.DS_Store +0 -0
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +188 -168
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +464 -442
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +1499 -1477
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +4 -2
  12. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +7535 -7422
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1787 -1758
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +1225 -1213
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +2610 -2567
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +1255 -1252
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +1269 -1272
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +876 -857
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +1912 -1915
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +2244 -2251
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +3163 -3163
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +2442 -2457
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +1622 -1627
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +1619 -1631
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +1 -1
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +1473 -1477
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +1305 -1318
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +1809 -1814
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +1132 -1137
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +305 -315
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +1660 -1679
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +1486 -1495
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +1067 -1055
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +927 -907
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +1263 -1236
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +2049 -2056
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +1250 -1206
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +128 -109
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +128 -109
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +128 -109
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +128 -109
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +128 -109
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +128 -109
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +128 -109
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +128 -109
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +128 -109
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +128 -109
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +128 -109
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +128 -109
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +128 -109
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +146 -126
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +128 -109
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +128 -109
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +128 -109
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +128 -109
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +147 -128
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +128 -109
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +128 -109
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +128 -109
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +128 -109
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +128 -109
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +128 -109
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +128 -109
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +128 -109
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +128 -109
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +128 -109
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +128 -109
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +128 -109
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +128 -109
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +128 -109
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +128 -109
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +128 -109
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +128 -109
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +128 -109
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +128 -109
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +151 -132
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +128 -109
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +128 -109
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +128 -109
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +128 -109
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +128 -109
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +128 -109
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +128 -109
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +128 -109
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +128 -109
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +128 -109
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +128 -109
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +128 -109
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +128 -109
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +128 -109
  92. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +3 -1
  93. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +1133 -1123
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +3 -1
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +1125 -1115
  96. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +7 -1
  97. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +1141 -1131
  98. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +7 -1
  99. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +1134 -1124
  100. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +3 -1
  101. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +1102 -1092
  102. metadata +7 -7
@@ -20,12 +20,13 @@
20
20
 
21
21
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22
22
  var global_1 =
23
- // eslint-disable-next-line no-undef
23
+ // eslint-disable-next-line es/no-global-this -- safe
24
24
  check(typeof globalThis == 'object' && globalThis) ||
25
25
  check(typeof window == 'object' && window) ||
26
+ // eslint-disable-next-line no-restricted-globals -- safe
26
27
  check(typeof self == 'object' && self) ||
27
28
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
28
- // eslint-disable-next-line no-new-func
29
+ // eslint-disable-next-line no-new-func -- fallback
29
30
  (function () { return this; })() || Function('return this')();
30
31
 
31
32
  var fails = function (exec) {
@@ -36,26 +37,28 @@
36
37
  }
37
38
  };
38
39
 
39
- // Thank's IE8 for his funny defineProperty
40
+ // Detect IE8's incomplete defineProperty implementation
40
41
  var descriptors = !fails(function () {
42
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
41
43
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
42
44
  });
43
45
 
44
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
45
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
46
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
47
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
48
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
46
49
 
47
50
  // Nashorn ~ JDK8 bug
48
- var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
51
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
49
52
 
50
53
  // `Object.prototype.propertyIsEnumerable` method implementation
51
- // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
52
- var f = NASHORN_BUG ? function propertyIsEnumerable(V) {
53
- var descriptor = getOwnPropertyDescriptor(this, V);
54
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
55
+ var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
56
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
54
57
  return !!descriptor && descriptor.enumerable;
55
- } : nativePropertyIsEnumerable;
58
+ } : $propertyIsEnumerable;
56
59
 
57
60
  var objectPropertyIsEnumerable = {
58
- f: f
61
+ f: f$4
59
62
  };
60
63
 
61
64
  var createPropertyDescriptor = function (bitmap, value) {
@@ -78,14 +81,14 @@
78
81
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
79
82
  var indexedObject = fails(function () {
80
83
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
81
- // eslint-disable-next-line no-prototype-builtins
84
+ // eslint-disable-next-line no-prototype-builtins -- safe
82
85
  return !Object('z').propertyIsEnumerable(0);
83
86
  }) ? function (it) {
84
87
  return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
85
88
  } : Object;
86
89
 
87
90
  // `RequireObjectCoercible` abstract operation
88
- // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
91
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
89
92
  var requireObjectCoercible = function (it) {
90
93
  if (it == undefined) throw TypeError("Can't call method on " + it);
91
94
  return it;
@@ -104,7 +107,7 @@
104
107
  };
105
108
 
106
109
  // `ToPrimitive` abstract operation
107
- // https://tc39.github.io/ecma262/#sec-toprimitive
110
+ // https://tc39.es/ecma262/#sec-toprimitive
108
111
  // instead of the ES6 spec version, we didn't implement @@toPrimitive case
109
112
  // and the second argument - flag - preferred type is a string
110
113
  var toPrimitive = function (input, PREFERRED_STRING) {
@@ -118,7 +121,7 @@
118
121
 
119
122
  var hasOwnProperty = {}.hasOwnProperty;
120
123
 
121
- var has = function (it, key) {
124
+ var has$1 = function (it, key) {
122
125
  return hasOwnProperty.call(it, key);
123
126
  };
124
127
 
@@ -132,26 +135,28 @@
132
135
 
133
136
  // Thank's IE8 for his funny defineProperty
134
137
  var ie8DomDefine = !descriptors && !fails(function () {
138
+ // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
135
139
  return Object.defineProperty(documentCreateElement('div'), 'a', {
136
140
  get: function () { return 7; }
137
141
  }).a != 7;
138
142
  });
139
143
 
140
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
144
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
145
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
141
146
 
142
147
  // `Object.getOwnPropertyDescriptor` method
143
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
144
- var f$1 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
148
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
149
+ var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
145
150
  O = toIndexedObject(O);
146
151
  P = toPrimitive(P, true);
147
152
  if (ie8DomDefine) try {
148
- return nativeGetOwnPropertyDescriptor(O, P);
153
+ return $getOwnPropertyDescriptor(O, P);
149
154
  } catch (error) { /* empty */ }
150
- if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
155
+ if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
151
156
  };
152
157
 
153
158
  var objectGetOwnPropertyDescriptor = {
154
- f: f$1
159
+ f: f$3
155
160
  };
156
161
 
157
162
  var anObject = function (it) {
@@ -160,16 +165,17 @@
160
165
  } return it;
161
166
  };
162
167
 
163
- var nativeDefineProperty = Object.defineProperty;
168
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
169
+ var $defineProperty = Object.defineProperty;
164
170
 
165
171
  // `Object.defineProperty` method
166
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
167
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
172
+ // https://tc39.es/ecma262/#sec-object.defineproperty
173
+ var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
168
174
  anObject(O);
169
175
  P = toPrimitive(P, true);
170
176
  anObject(Attributes);
171
177
  if (ie8DomDefine) try {
172
- return nativeDefineProperty(O, P, Attributes);
178
+ return $defineProperty(O, P, Attributes);
173
179
  } catch (error) { /* empty */ }
174
180
  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
175
181
  if ('value' in Attributes) O[P] = Attributes.value;
@@ -196,9 +202,9 @@
196
202
  };
197
203
 
198
204
  var SHARED = '__core-js_shared__';
199
- var store = global_1[SHARED] || setGlobal(SHARED, {});
205
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
200
206
 
201
- var sharedStore = store;
207
+ var sharedStore = store$1;
202
208
 
203
209
  var functionToString = Function.toString;
204
210
 
@@ -211,17 +217,17 @@
211
217
 
212
218
  var inspectSource = sharedStore.inspectSource;
213
219
 
214
- var WeakMap = global_1.WeakMap;
220
+ var WeakMap$1 = global_1.WeakMap;
215
221
 
216
- var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
222
+ var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
217
223
 
218
224
  var shared = createCommonjsModule(function (module) {
219
225
  (module.exports = function (key, value) {
220
226
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
221
227
  })('versions', []).push({
222
- version: '3.8.1',
223
- mode: 'global',
224
- copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
228
+ version: '3.10.1',
229
+ mode: 'global',
230
+ copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
225
231
  });
226
232
  });
227
233
 
@@ -238,13 +244,13 @@
238
244
  return keys[key] || (keys[key] = uid(key));
239
245
  };
240
246
 
241
- var hiddenKeys = {};
247
+ var hiddenKeys$1 = {};
242
248
 
243
- var WeakMap$1 = global_1.WeakMap;
244
- var set, get, has$1;
249
+ var WeakMap = global_1.WeakMap;
250
+ var set, get, has;
245
251
 
246
252
  var enforce = function (it) {
247
- return has$1(it) ? get(it) : set(it, {});
253
+ return has(it) ? get(it) : set(it, {});
248
254
  };
249
255
 
250
256
  var getterFor = function (TYPE) {
@@ -257,41 +263,41 @@
257
263
  };
258
264
 
259
265
  if (nativeWeakMap) {
260
- var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$1());
261
- var wmget = store$1.get;
262
- var wmhas = store$1.has;
263
- var wmset = store$1.set;
266
+ var store = sharedStore.state || (sharedStore.state = new WeakMap());
267
+ var wmget = store.get;
268
+ var wmhas = store.has;
269
+ var wmset = store.set;
264
270
  set = function (it, metadata) {
265
271
  metadata.facade = it;
266
- wmset.call(store$1, it, metadata);
272
+ wmset.call(store, it, metadata);
267
273
  return metadata;
268
274
  };
269
275
  get = function (it) {
270
- return wmget.call(store$1, it) || {};
276
+ return wmget.call(store, it) || {};
271
277
  };
272
- has$1 = function (it) {
273
- return wmhas.call(store$1, it);
278
+ has = function (it) {
279
+ return wmhas.call(store, it);
274
280
  };
275
281
  } else {
276
282
  var STATE = sharedKey('state');
277
- hiddenKeys[STATE] = true;
283
+ hiddenKeys$1[STATE] = true;
278
284
  set = function (it, metadata) {
279
285
  metadata.facade = it;
280
286
  createNonEnumerableProperty(it, STATE, metadata);
281
287
  return metadata;
282
288
  };
283
289
  get = function (it) {
284
- return has(it, STATE) ? it[STATE] : {};
290
+ return has$1(it, STATE) ? it[STATE] : {};
285
291
  };
286
- has$1 = function (it) {
287
- return has(it, STATE);
292
+ has = function (it) {
293
+ return has$1(it, STATE);
288
294
  };
289
295
  }
290
296
 
291
297
  var internalState = {
292
298
  set: set,
293
299
  get: get,
294
- has: has$1,
300
+ has: has,
295
301
  enforce: enforce,
296
302
  getterFor: getterFor
297
303
  };
@@ -307,7 +313,7 @@
307
313
  var noTargetGet = options ? !!options.noTargetGet : false;
308
314
  var state;
309
315
  if (typeof value == 'function') {
310
- if (typeof key == 'string' && !has(value, 'name')) {
316
+ if (typeof key == 'string' && !has$1(value, 'name')) {
311
317
  createNonEnumerableProperty(value, 'name', key);
312
318
  }
313
319
  state = enforceInternalState(value);
@@ -334,12 +340,12 @@
334
340
 
335
341
  var path = global_1;
336
342
 
337
- var aFunction = function (variable) {
343
+ var aFunction$1 = function (variable) {
338
344
  return typeof variable == 'function' ? variable : undefined;
339
345
  };
340
346
 
341
347
  var getBuiltIn = function (namespace, method) {
342
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
348
+ return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
343
349
  : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
344
350
  };
345
351
 
@@ -347,42 +353,42 @@
347
353
  var floor = Math.floor;
348
354
 
349
355
  // `ToInteger` abstract operation
350
- // https://tc39.github.io/ecma262/#sec-tointeger
356
+ // https://tc39.es/ecma262/#sec-tointeger
351
357
  var toInteger = function (argument) {
352
358
  return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
353
359
  };
354
360
 
355
- var min = Math.min;
361
+ var min$1 = Math.min;
356
362
 
357
363
  // `ToLength` abstract operation
358
- // https://tc39.github.io/ecma262/#sec-tolength
364
+ // https://tc39.es/ecma262/#sec-tolength
359
365
  var toLength = function (argument) {
360
- return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
366
+ return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
361
367
  };
362
368
 
363
- var max = Math.max;
364
- var min$1 = Math.min;
369
+ var max$1 = Math.max;
370
+ var min = Math.min;
365
371
 
366
372
  // Helper for a popular repeating case of the spec:
367
373
  // Let integer be ? ToInteger(index).
368
374
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
369
375
  var toAbsoluteIndex = function (index, length) {
370
376
  var integer = toInteger(index);
371
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
377
+ return integer < 0 ? max$1(integer + length, 0) : min(integer, length);
372
378
  };
373
379
 
374
380
  // `Array.prototype.{ indexOf, includes }` methods implementation
375
- var createMethod = function (IS_INCLUDES) {
381
+ var createMethod$2 = function (IS_INCLUDES) {
376
382
  return function ($this, el, fromIndex) {
377
383
  var O = toIndexedObject($this);
378
384
  var length = toLength(O.length);
379
385
  var index = toAbsoluteIndex(fromIndex, length);
380
386
  var value;
381
387
  // Array#includes uses SameValueZero equality algorithm
382
- // eslint-disable-next-line no-self-compare
388
+ // eslint-disable-next-line no-self-compare -- NaN check
383
389
  if (IS_INCLUDES && el != el) while (length > index) {
384
390
  value = O[index++];
385
- // eslint-disable-next-line no-self-compare
391
+ // eslint-disable-next-line no-self-compare -- NaN check
386
392
  if (value != value) return true;
387
393
  // Array#indexOf ignores holes, Array#includes - not
388
394
  } else for (;length > index; index++) {
@@ -393,11 +399,11 @@
393
399
 
394
400
  var arrayIncludes = {
395
401
  // `Array.prototype.includes` method
396
- // https://tc39.github.io/ecma262/#sec-array.prototype.includes
397
- includes: createMethod(true),
402
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
403
+ includes: createMethod$2(true),
398
404
  // `Array.prototype.indexOf` method
399
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
400
- indexOf: createMethod(false)
405
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
406
+ indexOf: createMethod$2(false)
401
407
  };
402
408
 
403
409
  var indexOf = arrayIncludes.indexOf;
@@ -408,9 +414,9 @@
408
414
  var i = 0;
409
415
  var result = [];
410
416
  var key;
411
- for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
417
+ for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
412
418
  // Don't enum bug & hidden keys
413
- while (names.length > i) if (has(O, key = names[i++])) {
419
+ while (names.length > i) if (has$1(O, key = names[i++])) {
414
420
  ~indexOf(result, key) || result.push(key);
415
421
  }
416
422
  return result;
@@ -427,22 +433,24 @@
427
433
  'valueOf'
428
434
  ];
429
435
 
430
- var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
436
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
431
437
 
432
438
  // `Object.getOwnPropertyNames` method
433
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
434
- var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
435
- return objectKeysInternal(O, hiddenKeys$1);
439
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
440
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
441
+ var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
442
+ return objectKeysInternal(O, hiddenKeys);
436
443
  };
437
444
 
438
445
  var objectGetOwnPropertyNames = {
439
- f: f$3
446
+ f: f$1
440
447
  };
441
448
 
442
- var f$4 = Object.getOwnPropertySymbols;
449
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
450
+ var f = Object.getOwnPropertySymbols;
443
451
 
444
452
  var objectGetOwnPropertySymbols = {
445
- f: f$4
453
+ f: f
446
454
  };
447
455
 
448
456
  // all object keys, includes non-enumerable and symbols
@@ -458,7 +466,7 @@
458
466
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
459
467
  for (var i = 0; i < keys.length; i++) {
460
468
  var key = keys[i];
461
- if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
469
+ if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
462
470
  }
463
471
  };
464
472
 
@@ -482,7 +490,7 @@
482
490
 
483
491
  var isForced_1 = isForced;
484
492
 
485
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
493
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
486
494
 
487
495
 
488
496
 
@@ -518,7 +526,7 @@
518
526
  if (target) for (key in source) {
519
527
  sourceProperty = source[key];
520
528
  if (options.noTargetGet) {
521
- descriptor = getOwnPropertyDescriptor$1(target, key);
529
+ descriptor = getOwnPropertyDescriptor(target, key);
522
530
  targetProperty = descriptor && descriptor.value;
523
531
  } else targetProperty = target[key];
524
532
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -536,153 +544,20 @@
536
544
  }
537
545
  };
538
546
 
539
- var aFunction$1 = function (it) {
540
- if (typeof it != 'function') {
541
- throw TypeError(String(it) + ' is not a function');
542
- } return it;
543
- };
544
-
545
- // optional / simple context binding
546
- var functionBindContext = function (fn, that, length) {
547
- aFunction$1(fn);
548
- if (that === undefined) return fn;
549
- switch (length) {
550
- case 0: return function () {
551
- return fn.call(that);
552
- };
553
- case 1: return function (a) {
554
- return fn.call(that, a);
555
- };
556
- case 2: return function (a, b) {
557
- return fn.call(that, a, b);
558
- };
559
- case 3: return function (a, b, c) {
560
- return fn.call(that, a, b, c);
561
- };
562
- }
563
- return function (/* ...args */) {
564
- return fn.apply(that, arguments);
565
- };
566
- };
567
-
568
- // `ToObject` abstract operation
569
- // https://tc39.github.io/ecma262/#sec-toobject
570
- var toObject = function (argument) {
571
- return Object(requireObjectCoercible(argument));
572
- };
573
-
574
547
  // `IsArray` abstract operation
575
- // https://tc39.github.io/ecma262/#sec-isarray
548
+ // https://tc39.es/ecma262/#sec-isarray
549
+ // eslint-disable-next-line es/no-array-isarray -- safe
576
550
  var isArray = Array.isArray || function isArray(arg) {
577
551
  return classofRaw(arg) == 'Array';
578
552
  };
579
553
 
580
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
581
- // Chrome 38 Symbol has incorrect toString conversion
582
- // eslint-disable-next-line no-undef
583
- return !String(Symbol());
584
- });
585
-
586
- var useSymbolAsUid = nativeSymbol
587
- // eslint-disable-next-line no-undef
588
- && !Symbol.sham
589
- // eslint-disable-next-line no-undef
590
- && typeof Symbol.iterator == 'symbol';
591
-
592
- var WellKnownSymbolsStore = shared('wks');
593
- var Symbol$1 = global_1.Symbol;
594
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
595
-
596
- var wellKnownSymbol = function (name) {
597
- if (!has(WellKnownSymbolsStore, name)) {
598
- if (nativeSymbol && has(Symbol$1, name)) WellKnownSymbolsStore[name] = Symbol$1[name];
599
- else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
600
- } return WellKnownSymbolsStore[name];
601
- };
602
-
603
- var SPECIES = wellKnownSymbol('species');
604
-
605
- // `ArraySpeciesCreate` abstract operation
606
- // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
607
- var arraySpeciesCreate = function (originalArray, length) {
608
- var C;
609
- if (isArray(originalArray)) {
610
- C = originalArray.constructor;
611
- // cross-realm fallback
612
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
613
- else if (isObject(C)) {
614
- C = C[SPECIES];
615
- if (C === null) C = undefined;
616
- }
617
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
618
- };
619
-
620
- var push = [].push;
621
-
622
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
623
- var createMethod$1 = function (TYPE) {
624
- var IS_MAP = TYPE == 1;
625
- var IS_FILTER = TYPE == 2;
626
- var IS_SOME = TYPE == 3;
627
- var IS_EVERY = TYPE == 4;
628
- var IS_FIND_INDEX = TYPE == 6;
629
- var IS_FILTER_OUT = TYPE == 7;
630
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
631
- return function ($this, callbackfn, that, specificCreate) {
632
- var O = toObject($this);
633
- var self = indexedObject(O);
634
- var boundFunction = functionBindContext(callbackfn, that, 3);
635
- var length = toLength(self.length);
636
- var index = 0;
637
- var create = specificCreate || arraySpeciesCreate;
638
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
639
- var value, result;
640
- for (;length > index; index++) if (NO_HOLES || index in self) {
641
- value = self[index];
642
- result = boundFunction(value, index, O);
643
- if (TYPE) {
644
- if (IS_MAP) target[index] = result; // map
645
- else if (result) switch (TYPE) {
646
- case 3: return true; // some
647
- case 5: return value; // find
648
- case 6: return index; // findIndex
649
- case 2: push.call(target, value); // filter
650
- } else switch (TYPE) {
651
- case 4: return false; // every
652
- case 7: push.call(target, value); // filterOut
653
- }
654
- }
655
- }
656
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
657
- };
554
+ var createProperty = function (object, key, value) {
555
+ var propertyKey = toPrimitive(key);
556
+ if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
557
+ else object[propertyKey] = value;
658
558
  };
659
559
 
660
- var arrayIteration = {
661
- // `Array.prototype.forEach` method
662
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
663
- forEach: createMethod$1(0),
664
- // `Array.prototype.map` method
665
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
666
- map: createMethod$1(1),
667
- // `Array.prototype.filter` method
668
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
669
- filter: createMethod$1(2),
670
- // `Array.prototype.some` method
671
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
672
- some: createMethod$1(3),
673
- // `Array.prototype.every` method
674
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
675
- every: createMethod$1(4),
676
- // `Array.prototype.find` method
677
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
678
- find: createMethod$1(5),
679
- // `Array.prototype.findIndex` method
680
- // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
681
- findIndex: createMethod$1(6),
682
- // `Array.prototype.filterOut` method
683
- // https://github.com/tc39/proposal-array-filtering
684
- filterOut: createMethod$1(7)
685
- };
560
+ var engineIsNode = classofRaw(global_1.process) == 'process';
686
561
 
687
562
  var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
688
563
 
@@ -704,7 +579,37 @@
704
579
 
705
580
  var engineV8Version = version && +version;
706
581
 
707
- var SPECIES$1 = wellKnownSymbol('species');
582
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
583
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
584
+ // eslint-disable-next-line es/no-symbol -- required for testing
585
+ return !Symbol.sham &&
586
+ // Chrome 38 Symbol has incorrect toString conversion
587
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
588
+ (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
589
+ });
590
+
591
+ /* eslint-disable es/no-symbol -- required for testing */
592
+
593
+
594
+ var useSymbolAsUid = nativeSymbol
595
+ && !Symbol.sham
596
+ && typeof Symbol.iterator == 'symbol';
597
+
598
+ var WellKnownSymbolsStore = shared('wks');
599
+ var Symbol$1 = global_1.Symbol;
600
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
601
+
602
+ var wellKnownSymbol = function (name) {
603
+ if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
604
+ if (nativeSymbol && has$1(Symbol$1, name)) {
605
+ WellKnownSymbolsStore[name] = Symbol$1[name];
606
+ } else {
607
+ WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
608
+ }
609
+ } return WellKnownSymbolsStore[name];
610
+ };
611
+
612
+ var SPECIES$2 = wellKnownSymbol('species');
708
613
 
709
614
  var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
710
615
  // We can't use this feature detection in V8 since it causes
@@ -713,100 +618,23 @@
713
618
  return engineV8Version >= 51 || !fails(function () {
714
619
  var array = [];
715
620
  var constructor = array.constructor = {};
716
- constructor[SPECIES$1] = function () {
621
+ constructor[SPECIES$2] = function () {
717
622
  return { foo: 1 };
718
623
  };
719
624
  return array[METHOD_NAME](Boolean).foo !== 1;
720
625
  });
721
626
  };
722
627
 
723
- var defineProperty = Object.defineProperty;
724
- var cache = {};
725
-
726
- var thrower = function (it) { throw it; };
727
-
728
- var arrayMethodUsesToLength = function (METHOD_NAME, options) {
729
- if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
730
- if (!options) options = {};
731
- var method = [][METHOD_NAME];
732
- var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
733
- var argument0 = has(options, 0) ? options[0] : thrower;
734
- var argument1 = has(options, 1) ? options[1] : undefined;
735
-
736
- return cache[METHOD_NAME] = !!method && !fails(function () {
737
- if (ACCESSORS && !descriptors) return true;
738
- var O = { length: -1 };
739
-
740
- if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
741
- else O[1] = 1;
742
-
743
- method.call(O, argument0, argument1);
744
- });
745
- };
746
-
747
- var $filter = arrayIteration.filter;
748
-
749
-
750
-
751
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
752
- // Edge 14- issue
753
- var USES_TO_LENGTH = arrayMethodUsesToLength('filter');
754
-
755
- // `Array.prototype.filter` method
756
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
757
- // with adding support of @@species
758
- _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
759
- filter: function filter(callbackfn /* , thisArg */) {
760
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
761
- }
762
- });
763
-
764
- var arrayMethodIsStrict = function (METHOD_NAME, argument) {
765
- var method = [][METHOD_NAME];
766
- return !!method && fails(function () {
767
- // eslint-disable-next-line no-useless-call,no-throw-literal
768
- method.call(null, argument || function () { throw 1; }, 1);
769
- });
770
- };
771
-
772
- var $indexOf = arrayIncludes.indexOf;
773
-
774
-
775
-
776
- var nativeIndexOf = [].indexOf;
777
-
778
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
779
- var STRICT_METHOD = arrayMethodIsStrict('indexOf');
780
- var USES_TO_LENGTH$1 = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
781
-
782
- // `Array.prototype.indexOf` method
783
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
784
- _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH$1 }, {
785
- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
786
- return NEGATIVE_ZERO
787
- // convert -0 to +0
788
- ? nativeIndexOf.apply(this, arguments) || 0
789
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
790
- }
791
- });
792
-
793
- var createProperty = function (object, key, value) {
794
- var propertyKey = toPrimitive(key);
795
- if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
796
- else object[propertyKey] = value;
797
- };
798
-
799
628
  var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport('slice');
800
- var USES_TO_LENGTH$2 = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
801
629
 
802
- var SPECIES$2 = wellKnownSymbol('species');
630
+ var SPECIES$1 = wellKnownSymbol('species');
803
631
  var nativeSlice = [].slice;
804
- var max$1 = Math.max;
632
+ var max = Math.max;
805
633
 
806
634
  // `Array.prototype.slice` method
807
- // https://tc39.github.io/ecma262/#sec-array.prototype.slice
635
+ // https://tc39.es/ecma262/#sec-array.prototype.slice
808
636
  // fallback for not array-like ES3 strings and DOM objects
809
- _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 || !USES_TO_LENGTH$2 }, {
637
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
810
638
  slice: function slice(start, end) {
811
639
  var O = toIndexedObject(this);
812
640
  var length = toLength(O.length);
@@ -820,14 +648,14 @@
820
648
  if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
821
649
  Constructor = undefined;
822
650
  } else if (isObject(Constructor)) {
823
- Constructor = Constructor[SPECIES$2];
651
+ Constructor = Constructor[SPECIES$1];
824
652
  if (Constructor === null) Constructor = undefined;
825
653
  }
826
654
  if (Constructor === Array || Constructor === undefined) {
827
655
  return nativeSlice.call(O, k, fin);
828
656
  }
829
657
  }
830
- result = new (Constructor === undefined ? Array : Constructor)(max$1(fin - k, 0));
658
+ result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
831
659
  for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
832
660
  result.length = n;
833
661
  return result;
@@ -835,15 +663,15 @@
835
663
  });
836
664
 
837
665
  // a string of all valid unicode whitespaces
838
- // eslint-disable-next-line max-len
839
- var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
666
+ var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
667
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
840
668
 
841
669
  var whitespace = '[' + whitespaces + ']';
842
670
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
843
671
  var rtrim = RegExp(whitespace + whitespace + '*$');
844
672
 
845
673
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
846
- var createMethod$2 = function (TYPE) {
674
+ var createMethod$1 = function (TYPE) {
847
675
  return function ($this) {
848
676
  var string = String(requireObjectCoercible($this));
849
677
  if (TYPE & 1) string = string.replace(ltrim, '');
@@ -854,14 +682,14 @@
854
682
 
855
683
  var stringTrim = {
856
684
  // `String.prototype.{ trimLeft, trimStart }` methods
857
- // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
858
- start: createMethod$2(1),
685
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
686
+ start: createMethod$1(1),
859
687
  // `String.prototype.{ trimRight, trimEnd }` methods
860
- // https://tc39.github.io/ecma262/#sec-string.prototype.trimend
861
- end: createMethod$2(2),
688
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
689
+ end: createMethod$1(2),
862
690
  // `String.prototype.trim` method
863
- // https://tc39.github.io/ecma262/#sec-string.prototype.trim
864
- trim: createMethod$2(3)
691
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
692
+ trim: createMethod$1(3)
865
693
  };
866
694
 
867
695
  var trim = stringTrim.trim;
@@ -872,18 +700,180 @@
872
700
  var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
873
701
 
874
702
  // `parseInt` method
875
- // https://tc39.github.io/ecma262/#sec-parseint-string-radix
703
+ // https://tc39.es/ecma262/#sec-parseint-string-radix
876
704
  var numberParseInt = FORCED ? function parseInt(string, radix) {
877
705
  var S = trim(String(string));
878
706
  return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
879
707
  } : $parseInt;
880
708
 
881
709
  // `parseInt` method
882
- // https://tc39.github.io/ecma262/#sec-parseint-string-radix
710
+ // https://tc39.es/ecma262/#sec-parseint-string-radix
883
711
  _export({ global: true, forced: parseInt != numberParseInt }, {
884
712
  parseInt: numberParseInt
885
713
  });
886
714
 
715
+ var arrayMethodIsStrict = function (METHOD_NAME, argument) {
716
+ var method = [][METHOD_NAME];
717
+ return !!method && fails(function () {
718
+ // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
719
+ method.call(null, argument || function () { throw 1; }, 1);
720
+ });
721
+ };
722
+
723
+ /* eslint-disable es/no-array-prototype-indexof -- required for testing */
724
+
725
+ var $indexOf = arrayIncludes.indexOf;
726
+
727
+
728
+ var nativeIndexOf = [].indexOf;
729
+
730
+ var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
731
+ var STRICT_METHOD = arrayMethodIsStrict('indexOf');
732
+
733
+ // `Array.prototype.indexOf` method
734
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
735
+ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
736
+ indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
737
+ return NEGATIVE_ZERO
738
+ // convert -0 to +0
739
+ ? nativeIndexOf.apply(this, arguments) || 0
740
+ : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
741
+ }
742
+ });
743
+
744
+ var aFunction = function (it) {
745
+ if (typeof it != 'function') {
746
+ throw TypeError(String(it) + ' is not a function');
747
+ } return it;
748
+ };
749
+
750
+ // optional / simple context binding
751
+ var functionBindContext = function (fn, that, length) {
752
+ aFunction(fn);
753
+ if (that === undefined) return fn;
754
+ switch (length) {
755
+ case 0: return function () {
756
+ return fn.call(that);
757
+ };
758
+ case 1: return function (a) {
759
+ return fn.call(that, a);
760
+ };
761
+ case 2: return function (a, b) {
762
+ return fn.call(that, a, b);
763
+ };
764
+ case 3: return function (a, b, c) {
765
+ return fn.call(that, a, b, c);
766
+ };
767
+ }
768
+ return function (/* ...args */) {
769
+ return fn.apply(that, arguments);
770
+ };
771
+ };
772
+
773
+ // `ToObject` abstract operation
774
+ // https://tc39.es/ecma262/#sec-toobject
775
+ var toObject = function (argument) {
776
+ return Object(requireObjectCoercible(argument));
777
+ };
778
+
779
+ var SPECIES = wellKnownSymbol('species');
780
+
781
+ // `ArraySpeciesCreate` abstract operation
782
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
783
+ var arraySpeciesCreate = function (originalArray, length) {
784
+ var C;
785
+ if (isArray(originalArray)) {
786
+ C = originalArray.constructor;
787
+ // cross-realm fallback
788
+ if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
789
+ else if (isObject(C)) {
790
+ C = C[SPECIES];
791
+ if (C === null) C = undefined;
792
+ }
793
+ } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
794
+ };
795
+
796
+ var push = [].push;
797
+
798
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
799
+ var createMethod = function (TYPE) {
800
+ var IS_MAP = TYPE == 1;
801
+ var IS_FILTER = TYPE == 2;
802
+ var IS_SOME = TYPE == 3;
803
+ var IS_EVERY = TYPE == 4;
804
+ var IS_FIND_INDEX = TYPE == 6;
805
+ var IS_FILTER_OUT = TYPE == 7;
806
+ var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
807
+ return function ($this, callbackfn, that, specificCreate) {
808
+ var O = toObject($this);
809
+ var self = indexedObject(O);
810
+ var boundFunction = functionBindContext(callbackfn, that, 3);
811
+ var length = toLength(self.length);
812
+ var index = 0;
813
+ var create = specificCreate || arraySpeciesCreate;
814
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
815
+ var value, result;
816
+ for (;length > index; index++) if (NO_HOLES || index in self) {
817
+ value = self[index];
818
+ result = boundFunction(value, index, O);
819
+ if (TYPE) {
820
+ if (IS_MAP) target[index] = result; // map
821
+ else if (result) switch (TYPE) {
822
+ case 3: return true; // some
823
+ case 5: return value; // find
824
+ case 6: return index; // findIndex
825
+ case 2: push.call(target, value); // filter
826
+ } else switch (TYPE) {
827
+ case 4: return false; // every
828
+ case 7: push.call(target, value); // filterOut
829
+ }
830
+ }
831
+ }
832
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
833
+ };
834
+ };
835
+
836
+ var arrayIteration = {
837
+ // `Array.prototype.forEach` method
838
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
839
+ forEach: createMethod(0),
840
+ // `Array.prototype.map` method
841
+ // https://tc39.es/ecma262/#sec-array.prototype.map
842
+ map: createMethod(1),
843
+ // `Array.prototype.filter` method
844
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
845
+ filter: createMethod(2),
846
+ // `Array.prototype.some` method
847
+ // https://tc39.es/ecma262/#sec-array.prototype.some
848
+ some: createMethod(3),
849
+ // `Array.prototype.every` method
850
+ // https://tc39.es/ecma262/#sec-array.prototype.every
851
+ every: createMethod(4),
852
+ // `Array.prototype.find` method
853
+ // https://tc39.es/ecma262/#sec-array.prototype.find
854
+ find: createMethod(5),
855
+ // `Array.prototype.findIndex` method
856
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
857
+ findIndex: createMethod(6),
858
+ // `Array.prototype.filterOut` method
859
+ // https://github.com/tc39/proposal-array-filtering
860
+ filterOut: createMethod(7)
861
+ };
862
+
863
+ var $filter = arrayIteration.filter;
864
+
865
+
866
+ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
867
+
868
+ // `Array.prototype.filter` method
869
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
870
+ // with adding support of @@species
871
+ _export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
872
+ filter: function filter(callbackfn /* , thisArg */) {
873
+ return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
874
+ }
875
+ });
876
+
887
877
  /**
888
878
  * @author doug-the-guy
889
879
  * @version v1.0.0
@@ -995,7 +985,7 @@
995
985
  BootstrapTable.prototype.onPageListChange = function (event) {
996
986
  /* rebuild cache window on page size change */
997
987
  var target = $__default['default'](event.currentTarget);
998
- var newPageSize = parseInt(target.text());
988
+ var newPageSize = parseInt(target.text(), 10);
999
989
  this.options.pipelineSize = this.calculatePipelineSize(this.options.pipelineSize, newPageSize);
1000
990
  this.resetCache = true;
1001
991