bootstrap-table-rails 1.18.3 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +1 -1
  4. data/bootstrap-table-rails.gemspec +2 -2
  5. data/lib/bootstrap-table-rails/version.rb +1 -1
  6. data/vendor/assets/javascripts/.DS_Store +0 -0
  7. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-locale-all.js +939 -357
  8. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.esm.js +947 -392
  9. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table-vue.js +953 -396
  10. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.css +3 -1
  11. data/vendor/assets/javascripts/bootstrap-table/bootstrap-table.js +3034 -2119
  12. data/vendor/assets/javascripts/bootstrap-table/extensions/addrbar/bootstrap-table-addrbar.js +1017 -430
  13. data/vendor/assets/javascripts/bootstrap-table/extensions/auto-refresh/bootstrap-table-auto-refresh.js +564 -249
  14. data/vendor/assets/javascripts/bootstrap-table/extensions/cookie/bootstrap-table-cookie.js +1488 -961
  15. data/vendor/assets/javascripts/bootstrap-table/extensions/copy-rows/bootstrap-table-copy-rows.js +579 -260
  16. data/vendor/assets/javascripts/bootstrap-table/extensions/custom-view/bootstrap-table-custom-view.js +574 -258
  17. data/vendor/assets/javascripts/bootstrap-table/extensions/defer-url/bootstrap-table-defer-url.js +486 -189
  18. data/vendor/assets/javascripts/bootstrap-table/extensions/editable/bootstrap-table-editable.js +909 -538
  19. data/vendor/assets/javascripts/bootstrap-table/extensions/export/bootstrap-table-export.js +921 -501
  20. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.css +9 -1
  21. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/bootstrap-table-filter-control.js +2712 -1132
  22. data/vendor/assets/javascripts/bootstrap-table/extensions/filter-control/utils.js +1326 -747
  23. data/vendor/assets/javascripts/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js +586 -275
  24. data/vendor/assets/javascripts/bootstrap-table/extensions/group-by-v2/bootstrap-table-group-by.js +892 -425
  25. data/vendor/assets/javascripts/bootstrap-table/extensions/i18n-enhance/bootstrap-table-i18n-enhance.js +16 -8
  26. data/vendor/assets/javascripts/bootstrap-table/extensions/key-events/bootstrap-table-key-events.js +670 -357
  27. data/vendor/assets/javascripts/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js +590 -252
  28. data/vendor/assets/javascripts/bootstrap-table/extensions/multiple-sort/bootstrap-table-multiple-sort.js +820 -386
  29. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.css +5 -2
  30. data/vendor/assets/javascripts/bootstrap-table/extensions/page-jump-to/bootstrap-table-page-jump-to.js +549 -240
  31. data/vendor/assets/javascripts/bootstrap-table/extensions/pipeline/bootstrap-table-pipeline.js +557 -251
  32. data/vendor/assets/javascripts/bootstrap-table/extensions/print/bootstrap-table-print.js +773 -304
  33. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-columns/bootstrap-table-reorder-columns.js +586 -258
  34. data/vendor/assets/javascripts/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js +547 -205
  35. data/vendor/assets/javascripts/bootstrap-table/extensions/resizable/bootstrap-table-resizable.js +487 -189
  36. data/vendor/assets/javascripts/bootstrap-table/extensions/sticky-header/bootstrap-table-sticky-header.js +559 -247
  37. data/vendor/assets/javascripts/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.js +901 -551
  38. data/vendor/assets/javascripts/bootstrap-table/extensions/treegrid/bootstrap-table-treegrid.js +600 -245
  39. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-af-ZA.js +472 -183
  40. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ar-SA.js +472 -183
  41. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-bg-BG.js +480 -191
  42. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ca-ES.js +472 -183
  43. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-cs-CZ.js +492 -203
  44. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-da-DK.js +472 -183
  45. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-de-DE.js +472 -183
  46. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-el-GR.js +472 -183
  47. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-en-US.js +472 -183
  48. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-AR.js +472 -183
  49. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CL.js +472 -183
  50. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-CR.js +472 -183
  51. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-ES.js +472 -183
  52. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-MX.js +490 -200
  53. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-NI.js +472 -183
  54. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-es-SP.js +472 -183
  55. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-et-EE.js +472 -183
  56. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-eu-EU.js +472 -183
  57. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fa-IR.js +472 -183
  58. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fi-FI.js +472 -183
  59. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-BE.js +472 -183
  60. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-CH.js +472 -183
  61. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-FR.js +472 -183
  62. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-fr-LU.js +475 -185
  63. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-he-IL.js +472 -183
  64. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hi-IN.js +1083 -0
  65. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hr-HR.js +472 -183
  66. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-hu-HU.js +472 -183
  67. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-id-ID.js +472 -183
  68. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-it-IT.js +472 -183
  69. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ja-JP.js +472 -183
  70. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ka-GE.js +472 -183
  71. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ko-KR.js +497 -207
  72. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-lb-LU.js +1083 -0
  73. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ms-MY.js +472 -183
  74. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nb-NO.js +472 -183
  75. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-BE.js +511 -183
  76. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-nl-NL.js +511 -183
  77. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pl-PL.js +472 -183
  78. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-BR.js +472 -183
  79. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-pt-PT.js +472 -183
  80. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ro-RO.js +472 -183
  81. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ru-RU.js +472 -183
  82. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sk-SK.js +472 -183
  83. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Cyrl-RS.js +472 -183
  84. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sr-Latn-RS.js +472 -183
  85. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-sv-SE.js +472 -183
  86. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-th-TH.js +472 -183
  87. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-tr-TR.js +472 -183
  88. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uk-UA.js +472 -183
  89. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-ur-PK.js +472 -183
  90. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-uz-Latn-UZ.js +472 -183
  91. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-vi-VN.js +472 -183
  92. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-CN.js +472 -183
  93. data/vendor/assets/javascripts/bootstrap-table/locale/bootstrap-table-zh-TW.js +472 -183
  94. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.css +2 -0
  95. data/vendor/assets/javascripts/bootstrap-table/themes/bootstrap-table/bootstrap-table.js +564 -258
  96. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.css +2 -0
  97. data/vendor/assets/javascripts/bootstrap-table/themes/bulma/bootstrap-table-bulma.js +560 -238
  98. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.css +2 -0
  99. data/vendor/assets/javascripts/bootstrap-table/themes/foundation/bootstrap-table-foundation.js +564 -242
  100. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.css +2 -0
  101. data/vendor/assets/javascripts/bootstrap-table/themes/materialize/bootstrap-table-materialize.js +562 -255
  102. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.css +2 -0
  103. data/vendor/assets/javascripts/bootstrap-table/themes/semantic/bootstrap-table-semantic.js +558 -236
  104. metadata +8 -6
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3
3
  typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5
- }(this, (function ($) { 'use strict';
5
+ })(this, (function ($) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -27,6 +27,9 @@
27
27
  function _createClass(Constructor, protoProps, staticProps) {
28
28
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29
29
  if (staticProps) _defineProperties(Constructor, staticProps);
30
+ Object.defineProperty(Constructor, "prototype", {
31
+ writable: false
32
+ });
30
33
  return Constructor;
31
34
  }
32
35
 
@@ -42,6 +45,9 @@
42
45
  configurable: true
43
46
  }
44
47
  });
48
+ Object.defineProperty(subClass, "prototype", {
49
+ writable: false
50
+ });
45
51
  if (superClass) _setPrototypeOf(subClass, superClass);
46
52
  }
47
53
 
@@ -85,6 +91,8 @@
85
91
  function _possibleConstructorReturn(self, call) {
86
92
  if (call && (typeof call === "object" || typeof call === "function")) {
87
93
  return call;
94
+ } else if (call !== void 0) {
95
+ throw new TypeError("Derived constructors may only return object or undefined");
88
96
  }
89
97
 
90
98
  return _assertThisInitialized(self);
@@ -118,7 +126,7 @@
118
126
  return object;
119
127
  }
120
128
 
121
- function _get(target, property, receiver) {
129
+ function _get() {
122
130
  if (typeof Reflect !== "undefined" && Reflect.get) {
123
131
  _get = Reflect.get;
124
132
  } else {
@@ -129,14 +137,14 @@
129
137
  var desc = Object.getOwnPropertyDescriptor(base, property);
130
138
 
131
139
  if (desc.get) {
132
- return desc.get.call(receiver);
140
+ return desc.get.call(arguments.length < 3 ? target : receiver);
133
141
  }
134
142
 
135
143
  return desc.value;
136
144
  };
137
145
  }
138
146
 
139
- return _get(target, property, receiver || target);
147
+ return _get.apply(this, arguments);
140
148
  }
141
149
 
142
150
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -151,9 +159,10 @@
151
159
 
152
160
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
153
161
  var global_1 =
154
- /* global globalThis -- safe */
162
+ // eslint-disable-next-line es/no-global-this -- safe
155
163
  check(typeof globalThis == 'object' && globalThis) ||
156
164
  check(typeof window == 'object' && window) ||
165
+ // eslint-disable-next-line no-restricted-globals -- safe
157
166
  check(typeof self == 'object' && self) ||
158
167
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
159
168
  // eslint-disable-next-line no-new-func -- fallback
@@ -169,24 +178,38 @@
169
178
 
170
179
  // Detect IE8's incomplete defineProperty implementation
171
180
  var descriptors = !fails(function () {
181
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
172
182
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
173
183
  });
174
184
 
175
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
185
+ var functionBindNative = !fails(function () {
186
+ var test = (function () { /* empty */ }).bind();
187
+ // eslint-disable-next-line no-prototype-builtins -- safe
188
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
189
+ });
190
+
191
+ var call$1 = Function.prototype.call;
192
+
193
+ var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
194
+ return call$1.apply(call$1, arguments);
195
+ };
196
+
197
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
198
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
176
199
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
177
200
 
178
201
  // Nashorn ~ JDK8 bug
179
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
202
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
180
203
 
181
204
  // `Object.prototype.propertyIsEnumerable` method implementation
182
205
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
183
- var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
206
+ var f$5 = NASHORN_BUG ? function propertyIsEnumerable(V) {
184
207
  var descriptor = getOwnPropertyDescriptor$1(this, V);
185
208
  return !!descriptor && descriptor.enumerable;
186
- } : nativePropertyIsEnumerable;
209
+ } : $propertyIsEnumerable;
187
210
 
188
211
  var objectPropertyIsEnumerable = {
189
- f: f$4
212
+ f: f$5
190
213
  };
191
214
 
192
215
  var createPropertyDescriptor = function (bitmap, value) {
@@ -198,27 +221,44 @@
198
221
  };
199
222
  };
200
223
 
201
- var toString = {}.toString;
224
+ var FunctionPrototype$1 = Function.prototype;
225
+ var bind$1 = FunctionPrototype$1.bind;
226
+ var call = FunctionPrototype$1.call;
227
+ var uncurryThis = functionBindNative && bind$1.bind(call, call);
228
+
229
+ var functionUncurryThis = functionBindNative ? function (fn) {
230
+ return fn && uncurryThis(fn);
231
+ } : function (fn) {
232
+ return fn && function () {
233
+ return call.apply(fn, arguments);
234
+ };
235
+ };
236
+
237
+ var toString$1 = functionUncurryThis({}.toString);
238
+ var stringSlice$1 = functionUncurryThis(''.slice);
202
239
 
203
240
  var classofRaw = function (it) {
204
- return toString.call(it).slice(8, -1);
241
+ return stringSlice$1(toString$1(it), 8, -1);
205
242
  };
206
243
 
207
- var split = ''.split;
244
+ var Object$4 = global_1.Object;
245
+ var split = functionUncurryThis(''.split);
208
246
 
209
247
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
210
248
  var indexedObject = fails(function () {
211
249
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
212
250
  // eslint-disable-next-line no-prototype-builtins -- safe
213
- return !Object('z').propertyIsEnumerable(0);
251
+ return !Object$4('z').propertyIsEnumerable(0);
214
252
  }) ? function (it) {
215
- return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
216
- } : Object;
253
+ return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
254
+ } : Object$4;
255
+
256
+ var TypeError$9 = global_1.TypeError;
217
257
 
218
258
  // `RequireObjectCoercible` abstract operation
219
259
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
220
260
  var requireObjectCoercible = function (it) {
221
- if (it == undefined) throw TypeError("Can't call method on " + it);
261
+ if (it == undefined) throw TypeError$9("Can't call method on " + it);
222
262
  return it;
223
263
  };
224
264
 
@@ -230,85 +270,309 @@
230
270
  return indexedObject(requireObjectCoercible(it));
231
271
  };
232
272
 
273
+ // `IsCallable` abstract operation
274
+ // https://tc39.es/ecma262/#sec-iscallable
275
+ var isCallable = function (argument) {
276
+ return typeof argument == 'function';
277
+ };
278
+
233
279
  var isObject = function (it) {
234
- return typeof it === 'object' ? it !== null : typeof it === 'function';
280
+ return typeof it == 'object' ? it !== null : isCallable(it);
235
281
  };
236
282
 
237
- // `ToPrimitive` abstract operation
238
- // https://tc39.es/ecma262/#sec-toprimitive
239
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
240
- // and the second argument - flag - preferred type is a string
241
- var toPrimitive = function (input, PREFERRED_STRING) {
242
- if (!isObject(input)) return input;
283
+ var aFunction = function (argument) {
284
+ return isCallable(argument) ? argument : undefined;
285
+ };
286
+
287
+ var getBuiltIn = function (namespace, method) {
288
+ return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
289
+ };
290
+
291
+ var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
292
+
293
+ var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
294
+
295
+ var process = global_1.process;
296
+ var Deno = global_1.Deno;
297
+ var versions = process && process.versions || Deno && Deno.version;
298
+ var v8 = versions && versions.v8;
299
+ var match, version;
300
+
301
+ if (v8) {
302
+ match = v8.split('.');
303
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
304
+ // but their correct versions are not interesting for us
305
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
306
+ }
307
+
308
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
309
+ // so check `userAgent` even if `.v8` exists, but 0
310
+ if (!version && engineUserAgent) {
311
+ match = engineUserAgent.match(/Edge\/(\d+)/);
312
+ if (!match || match[1] >= 74) {
313
+ match = engineUserAgent.match(/Chrome\/(\d+)/);
314
+ if (match) version = +match[1];
315
+ }
316
+ }
317
+
318
+ var engineV8Version = version;
319
+
320
+ /* eslint-disable es/no-symbol -- required for testing */
321
+
322
+
323
+
324
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
325
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
326
+ var symbol = Symbol();
327
+ // Chrome 38 Symbol has incorrect toString conversion
328
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
329
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
330
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
331
+ !Symbol.sham && engineV8Version && engineV8Version < 41;
332
+ });
333
+
334
+ /* eslint-disable es/no-symbol -- required for testing */
335
+
336
+
337
+ var useSymbolAsUid = nativeSymbol
338
+ && !Symbol.sham
339
+ && typeof Symbol.iterator == 'symbol';
340
+
341
+ var Object$3 = global_1.Object;
342
+
343
+ var isSymbol = useSymbolAsUid ? function (it) {
344
+ return typeof it == 'symbol';
345
+ } : function (it) {
346
+ var $Symbol = getBuiltIn('Symbol');
347
+ return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
348
+ };
349
+
350
+ var String$3 = global_1.String;
351
+
352
+ var tryToString = function (argument) {
353
+ try {
354
+ return String$3(argument);
355
+ } catch (error) {
356
+ return 'Object';
357
+ }
358
+ };
359
+
360
+ var TypeError$8 = global_1.TypeError;
361
+
362
+ // `Assert: IsCallable(argument) is true`
363
+ var aCallable = function (argument) {
364
+ if (isCallable(argument)) return argument;
365
+ throw TypeError$8(tryToString(argument) + ' is not a function');
366
+ };
367
+
368
+ // `GetMethod` abstract operation
369
+ // https://tc39.es/ecma262/#sec-getmethod
370
+ var getMethod = function (V, P) {
371
+ var func = V[P];
372
+ return func == null ? undefined : aCallable(func);
373
+ };
374
+
375
+ var TypeError$7 = global_1.TypeError;
376
+
377
+ // `OrdinaryToPrimitive` abstract operation
378
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
379
+ var ordinaryToPrimitive = function (input, pref) {
243
380
  var fn, val;
244
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
245
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
246
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
247
- throw TypeError("Can't convert object to primitive value");
381
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
382
+ if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
383
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
384
+ throw TypeError$7("Can't convert object to primitive value");
248
385
  };
249
386
 
250
- var hasOwnProperty = {}.hasOwnProperty;
387
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
388
+ var defineProperty = Object.defineProperty;
251
389
 
252
- var has$1 = function (it, key) {
253
- return hasOwnProperty.call(it, key);
390
+ var setGlobal = function (key, value) {
391
+ try {
392
+ defineProperty(global_1, key, { value: value, configurable: true, writable: true });
393
+ } catch (error) {
394
+ global_1[key] = value;
395
+ } return value;
396
+ };
397
+
398
+ var SHARED = '__core-js_shared__';
399
+ var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
400
+
401
+ var sharedStore = store$1;
402
+
403
+ var shared = createCommonjsModule(function (module) {
404
+ (module.exports = function (key, value) {
405
+ return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
406
+ })('versions', []).push({
407
+ version: '3.21.1',
408
+ mode: 'global',
409
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
410
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
411
+ source: 'https://github.com/zloirock/core-js'
412
+ });
413
+ });
414
+
415
+ var Object$2 = global_1.Object;
416
+
417
+ // `ToObject` abstract operation
418
+ // https://tc39.es/ecma262/#sec-toobject
419
+ var toObject = function (argument) {
420
+ return Object$2(requireObjectCoercible(argument));
421
+ };
422
+
423
+ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
424
+
425
+ // `HasOwnProperty` abstract operation
426
+ // https://tc39.es/ecma262/#sec-hasownproperty
427
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
428
+ return hasOwnProperty(toObject(it), key);
429
+ };
430
+
431
+ var id = 0;
432
+ var postfix = Math.random();
433
+ var toString = functionUncurryThis(1.0.toString);
434
+
435
+ var uid = function (key) {
436
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
437
+ };
438
+
439
+ var WellKnownSymbolsStore = shared('wks');
440
+ var Symbol$1 = global_1.Symbol;
441
+ var symbolFor = Symbol$1 && Symbol$1['for'];
442
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
443
+
444
+ var wellKnownSymbol = function (name) {
445
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
446
+ var description = 'Symbol.' + name;
447
+ if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
448
+ WellKnownSymbolsStore[name] = Symbol$1[name];
449
+ } else if (useSymbolAsUid && symbolFor) {
450
+ WellKnownSymbolsStore[name] = symbolFor(description);
451
+ } else {
452
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
453
+ }
454
+ } return WellKnownSymbolsStore[name];
455
+ };
456
+
457
+ var TypeError$6 = global_1.TypeError;
458
+ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
459
+
460
+ // `ToPrimitive` abstract operation
461
+ // https://tc39.es/ecma262/#sec-toprimitive
462
+ var toPrimitive = function (input, pref) {
463
+ if (!isObject(input) || isSymbol(input)) return input;
464
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
465
+ var result;
466
+ if (exoticToPrim) {
467
+ if (pref === undefined) pref = 'default';
468
+ result = functionCall(exoticToPrim, input, pref);
469
+ if (!isObject(result) || isSymbol(result)) return result;
470
+ throw TypeError$6("Can't convert object to primitive value");
471
+ }
472
+ if (pref === undefined) pref = 'number';
473
+ return ordinaryToPrimitive(input, pref);
474
+ };
475
+
476
+ // `ToPropertyKey` abstract operation
477
+ // https://tc39.es/ecma262/#sec-topropertykey
478
+ var toPropertyKey = function (argument) {
479
+ var key = toPrimitive(argument, 'string');
480
+ return isSymbol(key) ? key : key + '';
254
481
  };
255
482
 
256
483
  var document$1 = global_1.document;
257
484
  // typeof document.createElement is 'object' in old IE
258
- var EXISTS = isObject(document$1) && isObject(document$1.createElement);
485
+ var EXISTS$1 = isObject(document$1) && isObject(document$1.createElement);
259
486
 
260
487
  var documentCreateElement = function (it) {
261
- return EXISTS ? document$1.createElement(it) : {};
488
+ return EXISTS$1 ? document$1.createElement(it) : {};
262
489
  };
263
490
 
264
- // Thank's IE8 for his funny defineProperty
491
+ // Thanks to IE8 for its funny defineProperty
265
492
  var ie8DomDefine = !descriptors && !fails(function () {
493
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
266
494
  return Object.defineProperty(documentCreateElement('div'), 'a', {
267
495
  get: function () { return 7; }
268
496
  }).a != 7;
269
497
  });
270
498
 
271
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
499
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
500
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
272
501
 
273
502
  // `Object.getOwnPropertyDescriptor` method
274
503
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
275
- var f$3 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
504
+ var f$4 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
276
505
  O = toIndexedObject(O);
277
- P = toPrimitive(P, true);
506
+ P = toPropertyKey(P);
278
507
  if (ie8DomDefine) try {
279
- return nativeGetOwnPropertyDescriptor(O, P);
508
+ return $getOwnPropertyDescriptor$1(O, P);
280
509
  } catch (error) { /* empty */ }
281
- if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
510
+ if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
282
511
  };
283
512
 
284
513
  var objectGetOwnPropertyDescriptor = {
285
- f: f$3
514
+ f: f$4
286
515
  };
287
516
 
288
- var anObject = function (it) {
289
- if (!isObject(it)) {
290
- throw TypeError(String(it) + ' is not an object');
291
- } return it;
517
+ // V8 ~ Chrome 36-
518
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
519
+ var v8PrototypeDefineBug = descriptors && fails(function () {
520
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
521
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
522
+ value: 42,
523
+ writable: false
524
+ }).prototype != 42;
525
+ });
526
+
527
+ var String$2 = global_1.String;
528
+ var TypeError$5 = global_1.TypeError;
529
+
530
+ // `Assert: Type(argument) is Object`
531
+ var anObject = function (argument) {
532
+ if (isObject(argument)) return argument;
533
+ throw TypeError$5(String$2(argument) + ' is not an object');
292
534
  };
293
535
 
294
- var nativeDefineProperty = Object.defineProperty;
536
+ var TypeError$4 = global_1.TypeError;
537
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
538
+ var $defineProperty = Object.defineProperty;
539
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
540
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
541
+ var ENUMERABLE = 'enumerable';
542
+ var CONFIGURABLE$1 = 'configurable';
543
+ var WRITABLE = 'writable';
295
544
 
296
545
  // `Object.defineProperty` method
297
546
  // https://tc39.es/ecma262/#sec-object.defineproperty
298
- var f$2 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
547
+ var f$3 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
548
+ anObject(O);
549
+ P = toPropertyKey(P);
550
+ anObject(Attributes);
551
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
552
+ var current = $getOwnPropertyDescriptor(O, P);
553
+ if (current && current[WRITABLE]) {
554
+ O[P] = Attributes.value;
555
+ Attributes = {
556
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
557
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
558
+ writable: false
559
+ };
560
+ }
561
+ } return $defineProperty(O, P, Attributes);
562
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
299
563
  anObject(O);
300
- P = toPrimitive(P, true);
564
+ P = toPropertyKey(P);
301
565
  anObject(Attributes);
302
566
  if (ie8DomDefine) try {
303
- return nativeDefineProperty(O, P, Attributes);
567
+ return $defineProperty(O, P, Attributes);
304
568
  } catch (error) { /* empty */ }
305
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
569
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$4('Accessors not supported');
306
570
  if ('value' in Attributes) O[P] = Attributes.value;
307
571
  return O;
308
572
  };
309
573
 
310
574
  var objectDefineProperty = {
311
- f: f$2
575
+ f: f$3
312
576
  };
313
577
 
314
578
  var createNonEnumerableProperty = descriptors ? function (object, key, value) {
@@ -318,25 +582,12 @@
318
582
  return object;
319
583
  };
320
584
 
321
- var setGlobal = function (key, value) {
322
- try {
323
- createNonEnumerableProperty(global_1, key, value);
324
- } catch (error) {
325
- global_1[key] = value;
326
- } return value;
327
- };
585
+ var functionToString = functionUncurryThis(Function.toString);
328
586
 
329
- var SHARED = '__core-js_shared__';
330
- var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
331
-
332
- var sharedStore = store$1;
333
-
334
- var functionToString = Function.toString;
335
-
336
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
337
- if (typeof sharedStore.inspectSource != 'function') {
587
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
588
+ if (!isCallable(sharedStore.inspectSource)) {
338
589
  sharedStore.inspectSource = function (it) {
339
- return functionToString.call(it);
590
+ return functionToString(it);
340
591
  };
341
592
  }
342
593
 
@@ -344,24 +595,7 @@
344
595
 
345
596
  var WeakMap$1 = global_1.WeakMap;
346
597
 
347
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
348
-
349
- var shared = createCommonjsModule(function (module) {
350
- (module.exports = function (key, value) {
351
- return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
352
- })('versions', []).push({
353
- version: '3.9.1',
354
- mode: 'global',
355
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
356
- });
357
- });
358
-
359
- var id = 0;
360
- var postfix = Math.random();
361
-
362
- var uid = function (key) {
363
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
364
- };
598
+ var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
365
599
 
366
600
  var keys = shared('keys');
367
601
 
@@ -371,6 +605,8 @@
371
605
 
372
606
  var hiddenKeys$1 = {};
373
607
 
608
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
609
+ var TypeError$3 = global_1.TypeError;
374
610
  var WeakMap = global_1.WeakMap;
375
611
  var set, get, has;
376
612
 
@@ -382,40 +618,42 @@
382
618
  return function (it) {
383
619
  var state;
384
620
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
385
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
621
+ throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
386
622
  } return state;
387
623
  };
388
624
  };
389
625
 
390
- if (nativeWeakMap) {
626
+ if (nativeWeakMap || sharedStore.state) {
391
627
  var store = sharedStore.state || (sharedStore.state = new WeakMap());
392
- var wmget = store.get;
393
- var wmhas = store.has;
394
- var wmset = store.set;
628
+ var wmget = functionUncurryThis(store.get);
629
+ var wmhas = functionUncurryThis(store.has);
630
+ var wmset = functionUncurryThis(store.set);
395
631
  set = function (it, metadata) {
632
+ if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
396
633
  metadata.facade = it;
397
- wmset.call(store, it, metadata);
634
+ wmset(store, it, metadata);
398
635
  return metadata;
399
636
  };
400
637
  get = function (it) {
401
- return wmget.call(store, it) || {};
638
+ return wmget(store, it) || {};
402
639
  };
403
640
  has = function (it) {
404
- return wmhas.call(store, it);
641
+ return wmhas(store, it);
405
642
  };
406
643
  } else {
407
644
  var STATE = sharedKey('state');
408
645
  hiddenKeys$1[STATE] = true;
409
646
  set = function (it, metadata) {
647
+ if (hasOwnProperty_1(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
410
648
  metadata.facade = it;
411
649
  createNonEnumerableProperty(it, STATE, metadata);
412
650
  return metadata;
413
651
  };
414
652
  get = function (it) {
415
- return has$1(it, STATE) ? it[STATE] : {};
653
+ return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
416
654
  };
417
655
  has = function (it) {
418
- return has$1(it, STATE);
656
+ return hasOwnProperty_1(it, STATE);
419
657
  };
420
658
  }
421
659
 
@@ -427,7 +665,24 @@
427
665
  getterFor: getterFor
428
666
  };
429
667
 
668
+ var FunctionPrototype = Function.prototype;
669
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
670
+ var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
671
+
672
+ var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
673
+ // additional protection from minified / mangled / dropped function names
674
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
675
+ var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
676
+
677
+ var functionName = {
678
+ EXISTS: EXISTS,
679
+ PROPER: PROPER,
680
+ CONFIGURABLE: CONFIGURABLE
681
+ };
682
+
430
683
  var redefine = createCommonjsModule(function (module) {
684
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
685
+
431
686
  var getInternalState = internalState.get;
432
687
  var enforceInternalState = internalState.enforce;
433
688
  var TEMPLATE = String(String).split('String');
@@ -436,14 +691,18 @@
436
691
  var unsafe = options ? !!options.unsafe : false;
437
692
  var simple = options ? !!options.enumerable : false;
438
693
  var noTargetGet = options ? !!options.noTargetGet : false;
694
+ var name = options && options.name !== undefined ? options.name : key;
439
695
  var state;
440
- if (typeof value == 'function') {
441
- if (typeof key == 'string' && !has$1(value, 'name')) {
442
- createNonEnumerableProperty(value, 'name', key);
696
+ if (isCallable(value)) {
697
+ if (String(name).slice(0, 7) === 'Symbol(') {
698
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
699
+ }
700
+ if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
701
+ createNonEnumerableProperty(value, 'name', name);
443
702
  }
444
703
  state = enforceInternalState(value);
445
704
  if (!state.source) {
446
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
705
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
447
706
  }
448
707
  }
449
708
  if (O === global_1) {
@@ -459,54 +718,51 @@
459
718
  else createNonEnumerableProperty(O, key, value);
460
719
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
461
720
  })(Function.prototype, 'toString', function toString() {
462
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
721
+ return isCallable(this) && getInternalState(this).source || inspectSource(this);
463
722
  });
464
723
  });
465
724
 
466
- var path = global_1;
467
-
468
- var aFunction$1 = function (variable) {
469
- return typeof variable == 'function' ? variable : undefined;
470
- };
471
-
472
- var getBuiltIn = function (namespace, method) {
473
- return arguments.length < 2 ? aFunction$1(path[namespace]) || aFunction$1(global_1[namespace])
474
- : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
475
- };
476
-
477
725
  var ceil = Math.ceil;
478
726
  var floor = Math.floor;
479
727
 
480
- // `ToInteger` abstract operation
481
- // https://tc39.es/ecma262/#sec-tointeger
482
- var toInteger = function (argument) {
483
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
728
+ // `ToIntegerOrInfinity` abstract operation
729
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
730
+ var toIntegerOrInfinity = function (argument) {
731
+ var number = +argument;
732
+ // eslint-disable-next-line no-self-compare -- safe
733
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
484
734
  };
485
735
 
736
+ var max = Math.max;
486
737
  var min$1 = Math.min;
487
738
 
739
+ // Helper for a popular repeating case of the spec:
740
+ // Let integer be ? ToInteger(index).
741
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
742
+ var toAbsoluteIndex = function (index, length) {
743
+ var integer = toIntegerOrInfinity(index);
744
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
745
+ };
746
+
747
+ var min = Math.min;
748
+
488
749
  // `ToLength` abstract operation
489
750
  // https://tc39.es/ecma262/#sec-tolength
490
751
  var toLength = function (argument) {
491
- return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
752
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
492
753
  };
493
754
 
494
- var max = Math.max;
495
- var min = Math.min;
496
-
497
- // Helper for a popular repeating case of the spec:
498
- // Let integer be ? ToInteger(index).
499
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
500
- var toAbsoluteIndex = function (index, length) {
501
- var integer = toInteger(index);
502
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
755
+ // `LengthOfArrayLike` abstract operation
756
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
757
+ var lengthOfArrayLike = function (obj) {
758
+ return toLength(obj.length);
503
759
  };
504
760
 
505
761
  // `Array.prototype.{ indexOf, includes }` methods implementation
506
762
  var createMethod$1 = function (IS_INCLUDES) {
507
763
  return function ($this, el, fromIndex) {
508
764
  var O = toIndexedObject($this);
509
- var length = toLength(O.length);
765
+ var length = lengthOfArrayLike(O);
510
766
  var index = toAbsoluteIndex(fromIndex, length);
511
767
  var value;
512
768
  // Array#includes uses SameValueZero equality algorithm
@@ -531,18 +787,20 @@
531
787
  indexOf: createMethod$1(false)
532
788
  };
533
789
 
534
- var indexOf = arrayIncludes.indexOf;
790
+ var indexOf$1 = arrayIncludes.indexOf;
791
+
535
792
 
793
+ var push$1 = functionUncurryThis([].push);
536
794
 
537
795
  var objectKeysInternal = function (object, names) {
538
796
  var O = toIndexedObject(object);
539
797
  var i = 0;
540
798
  var result = [];
541
799
  var key;
542
- for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
800
+ for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push$1(result, key);
543
801
  // Don't enum bug & hidden keys
544
- while (names.length > i) if (has$1(O, key = names[i++])) {
545
- ~indexOf(result, key) || result.push(key);
802
+ while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
803
+ ~indexOf$1(result, key) || push$1(result, key);
546
804
  }
547
805
  return result;
548
806
  };
@@ -562,34 +820,40 @@
562
820
 
563
821
  // `Object.getOwnPropertyNames` method
564
822
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
565
- var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
823
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
824
+ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
566
825
  return objectKeysInternal(O, hiddenKeys);
567
826
  };
568
827
 
569
828
  var objectGetOwnPropertyNames = {
570
- f: f$1
829
+ f: f$2
571
830
  };
572
831
 
573
- var f = Object.getOwnPropertySymbols;
832
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
833
+ var f$1 = Object.getOwnPropertySymbols;
574
834
 
575
835
  var objectGetOwnPropertySymbols = {
576
- f: f
836
+ f: f$1
577
837
  };
578
838
 
839
+ var concat = functionUncurryThis([].concat);
840
+
579
841
  // all object keys, includes non-enumerable and symbols
580
842
  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
581
843
  var keys = objectGetOwnPropertyNames.f(anObject(it));
582
844
  var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
583
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
845
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
584
846
  };
585
847
 
586
- var copyConstructorProperties = function (target, source) {
848
+ var copyConstructorProperties = function (target, source, exceptions) {
587
849
  var keys = ownKeys(source);
588
850
  var defineProperty = objectDefineProperty.f;
589
851
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
590
852
  for (var i = 0; i < keys.length; i++) {
591
853
  var key = keys[i];
592
- if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
854
+ if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
855
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
856
+ }
593
857
  }
594
858
  };
595
859
 
@@ -599,7 +863,7 @@
599
863
  var value = data[normalize(feature)];
600
864
  return value == POLYFILL ? true
601
865
  : value == NATIVE ? false
602
- : typeof detection == 'function' ? fails(detection)
866
+ : isCallable(detection) ? fails(detection)
603
867
  : !!detection;
604
868
  };
605
869
 
@@ -633,6 +897,7 @@
633
897
  options.sham - add a flag to not completely full polyfills
634
898
  options.enumerable - export as enumerable property
635
899
  options.noTargetGet - prevent calling a getter on target
900
+ options.name - the .name of the function if it does not match the key
636
901
  */
637
902
  var _export = function (options, source) {
638
903
  var TARGET = options.target;
@@ -655,7 +920,7 @@
655
920
  FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
656
921
  // contained in target
657
922
  if (!FORCED && targetProperty !== undefined) {
658
- if (typeof sourceProperty === typeof targetProperty) continue;
923
+ if (typeof sourceProperty == typeof targetProperty) continue;
659
924
  copyConstructorProperties(sourceProperty, targetProperty);
660
925
  }
661
926
  // add a flag to not completely full polyfills
@@ -669,86 +934,117 @@
669
934
 
670
935
  // `IsArray` abstract operation
671
936
  // https://tc39.es/ecma262/#sec-isarray
672
- var isArray = Array.isArray || function isArray(arg) {
673
- return classofRaw(arg) == 'Array';
674
- };
675
-
676
- // `ToObject` abstract operation
677
- // https://tc39.es/ecma262/#sec-toobject
678
- var toObject = function (argument) {
679
- return Object(requireObjectCoercible(argument));
937
+ // eslint-disable-next-line es/no-array-isarray -- safe
938
+ var isArray = Array.isArray || function isArray(argument) {
939
+ return classofRaw(argument) == 'Array';
680
940
  };
681
941
 
682
942
  var createProperty = function (object, key, value) {
683
- var propertyKey = toPrimitive(key);
943
+ var propertyKey = toPropertyKey(key);
684
944
  if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
685
945
  else object[propertyKey] = value;
686
946
  };
687
947
 
688
- var engineIsNode = classofRaw(global_1.process) == 'process';
948
+ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
949
+ var test = {};
689
950
 
690
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
951
+ test[TO_STRING_TAG$1] = 'z';
691
952
 
692
- var process = global_1.process;
693
- var versions = process && process.versions;
694
- var v8 = versions && versions.v8;
695
- var match, version;
953
+ var toStringTagSupport = String(test) === '[object z]';
696
954
 
697
- if (v8) {
698
- match = v8.split('.');
699
- version = match[0] + match[1];
700
- } else if (engineUserAgent) {
701
- match = engineUserAgent.match(/Edge\/(\d+)/);
702
- if (!match || match[1] >= 74) {
703
- match = engineUserAgent.match(/Chrome\/(\d+)/);
704
- if (match) version = match[1];
705
- }
706
- }
955
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
956
+ var Object$1 = global_1.Object;
707
957
 
708
- var engineV8Version = version && +version;
958
+ // ES3 wrong here
959
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
709
960
 
710
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
711
- /* global Symbol -- required for testing */
712
- return !Symbol.sham &&
713
- // Chrome 38 Symbol has incorrect toString conversion
714
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
715
- (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
716
- });
961
+ // fallback for IE11 Script Access Denied error
962
+ var tryGet = function (it, key) {
963
+ try {
964
+ return it[key];
965
+ } catch (error) { /* empty */ }
966
+ };
717
967
 
718
- var useSymbolAsUid = nativeSymbol
719
- /* global Symbol -- safe */
720
- && !Symbol.sham
721
- && typeof Symbol.iterator == 'symbol';
968
+ // getting tag from ES6+ `Object.prototype.toString`
969
+ var classof = toStringTagSupport ? classofRaw : function (it) {
970
+ var O, tag, result;
971
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
972
+ // @@toStringTag case
973
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
974
+ // builtinTag case
975
+ : CORRECT_ARGUMENTS ? classofRaw(O)
976
+ // ES3 arguments fallback
977
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
978
+ };
722
979
 
723
- var WellKnownSymbolsStore = shared('wks');
724
- var Symbol$1 = global_1.Symbol;
725
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
980
+ var noop = function () { /* empty */ };
981
+ var empty = [];
982
+ var construct = getBuiltIn('Reflect', 'construct');
983
+ var constructorRegExp = /^\s*(?:class|function)\b/;
984
+ var exec = functionUncurryThis(constructorRegExp.exec);
985
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
726
986
 
727
- var wellKnownSymbol = function (name) {
728
- if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
729
- if (nativeSymbol && has$1(Symbol$1, name)) {
730
- WellKnownSymbolsStore[name] = Symbol$1[name];
731
- } else {
732
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
733
- }
734
- } return WellKnownSymbolsStore[name];
987
+ var isConstructorModern = function isConstructor(argument) {
988
+ if (!isCallable(argument)) return false;
989
+ try {
990
+ construct(noop, empty, argument);
991
+ return true;
992
+ } catch (error) {
993
+ return false;
994
+ }
995
+ };
996
+
997
+ var isConstructorLegacy = function isConstructor(argument) {
998
+ if (!isCallable(argument)) return false;
999
+ switch (classof(argument)) {
1000
+ case 'AsyncFunction':
1001
+ case 'GeneratorFunction':
1002
+ case 'AsyncGeneratorFunction': return false;
1003
+ }
1004
+ try {
1005
+ // we can't check .prototype since constructors produced by .bind haven't it
1006
+ // `Function#toString` throws on some built-it function in some legacy engines
1007
+ // (for example, `DOMQuad` and similar in FF41-)
1008
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1009
+ } catch (error) {
1010
+ return true;
1011
+ }
735
1012
  };
736
1013
 
1014
+ isConstructorLegacy.sham = true;
1015
+
1016
+ // `IsConstructor` abstract operation
1017
+ // https://tc39.es/ecma262/#sec-isconstructor
1018
+ var isConstructor = !construct || fails(function () {
1019
+ var called;
1020
+ return isConstructorModern(isConstructorModern.call)
1021
+ || !isConstructorModern(Object)
1022
+ || !isConstructorModern(function () { called = true; })
1023
+ || called;
1024
+ }) ? isConstructorLegacy : isConstructorModern;
1025
+
737
1026
  var SPECIES$2 = wellKnownSymbol('species');
1027
+ var Array$1 = global_1.Array;
738
1028
 
739
- // `ArraySpeciesCreate` abstract operation
1029
+ // a part of `ArraySpeciesCreate` abstract operation
740
1030
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
741
- var arraySpeciesCreate = function (originalArray, length) {
1031
+ var arraySpeciesConstructor = function (originalArray) {
742
1032
  var C;
743
1033
  if (isArray(originalArray)) {
744
1034
  C = originalArray.constructor;
745
1035
  // cross-realm fallback
746
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
1036
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
747
1037
  else if (isObject(C)) {
748
1038
  C = C[SPECIES$2];
749
1039
  if (C === null) C = undefined;
750
1040
  }
751
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
1041
+ } return C === undefined ? Array$1 : C;
1042
+ };
1043
+
1044
+ // `ArraySpeciesCreate` abstract operation
1045
+ // https://tc39.es/ecma262/#sec-arrayspeciescreate
1046
+ var arraySpeciesCreate = function (originalArray, length) {
1047
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
752
1048
  };
753
1049
 
754
1050
  var SPECIES$1 = wellKnownSymbol('species');
@@ -770,6 +1066,7 @@
770
1066
  var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
771
1067
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
772
1068
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
1069
+ var TypeError$2 = global_1.TypeError;
773
1070
 
774
1071
  // We can't use this feature detection in V8 since it causes
775
1072
  // deoptimization and serious performance degradation
@@ -803,11 +1100,11 @@
803
1100
  for (i = -1, length = arguments.length; i < length; i++) {
804
1101
  E = i === -1 ? O : arguments[i];
805
1102
  if (isConcatSpreadable(E)) {
806
- len = toLength(E.length);
807
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1103
+ len = lengthOfArrayLike(E);
1104
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
808
1105
  for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
809
1106
  } else {
810
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
1107
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$2(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
811
1108
  createProperty(A, n++, E);
812
1109
  }
813
1110
  }
@@ -816,54 +1113,35 @@
816
1113
  }
817
1114
  });
818
1115
 
819
- var aFunction = function (it) {
820
- if (typeof it != 'function') {
821
- throw TypeError(String(it) + ' is not a function');
822
- } return it;
823
- };
1116
+ var bind = functionUncurryThis(functionUncurryThis.bind);
824
1117
 
825
1118
  // optional / simple context binding
826
- var functionBindContext = function (fn, that, length) {
827
- aFunction(fn);
828
- if (that === undefined) return fn;
829
- switch (length) {
830
- case 0: return function () {
831
- return fn.call(that);
832
- };
833
- case 1: return function (a) {
834
- return fn.call(that, a);
835
- };
836
- case 2: return function (a, b) {
837
- return fn.call(that, a, b);
838
- };
839
- case 3: return function (a, b, c) {
840
- return fn.call(that, a, b, c);
841
- };
842
- }
843
- return function (/* ...args */) {
1119
+ var functionBindContext = function (fn, that) {
1120
+ aCallable(fn);
1121
+ return that === undefined ? fn : functionBindNative ? bind(fn, that) : function (/* ...args */) {
844
1122
  return fn.apply(that, arguments);
845
1123
  };
846
1124
  };
847
1125
 
848
- var push = [].push;
1126
+ var push = functionUncurryThis([].push);
849
1127
 
850
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterOut }` methods implementation
1128
+ // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
851
1129
  var createMethod = function (TYPE) {
852
1130
  var IS_MAP = TYPE == 1;
853
1131
  var IS_FILTER = TYPE == 2;
854
1132
  var IS_SOME = TYPE == 3;
855
1133
  var IS_EVERY = TYPE == 4;
856
1134
  var IS_FIND_INDEX = TYPE == 6;
857
- var IS_FILTER_OUT = TYPE == 7;
1135
+ var IS_FILTER_REJECT = TYPE == 7;
858
1136
  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
859
1137
  return function ($this, callbackfn, that, specificCreate) {
860
1138
  var O = toObject($this);
861
1139
  var self = indexedObject(O);
862
- var boundFunction = functionBindContext(callbackfn, that, 3);
863
- var length = toLength(self.length);
1140
+ var boundFunction = functionBindContext(callbackfn, that);
1141
+ var length = lengthOfArrayLike(self);
864
1142
  var index = 0;
865
1143
  var create = specificCreate || arraySpeciesCreate;
866
- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
1144
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
867
1145
  var value, result;
868
1146
  for (;length > index; index++) if (NO_HOLES || index in self) {
869
1147
  value = self[index];
@@ -874,10 +1152,10 @@
874
1152
  case 3: return true; // some
875
1153
  case 5: return value; // find
876
1154
  case 6: return index; // findIndex
877
- case 2: push.call(target, value); // filter
1155
+ case 2: push(target, value); // filter
878
1156
  } else switch (TYPE) {
879
1157
  case 4: return false; // every
880
- case 7: push.call(target, value); // filterOut
1158
+ case 7: push(target, value); // filterReject
881
1159
  }
882
1160
  }
883
1161
  }
@@ -907,31 +1185,47 @@
907
1185
  // `Array.prototype.findIndex` method
908
1186
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
909
1187
  findIndex: createMethod(6),
910
- // `Array.prototype.filterOut` method
1188
+ // `Array.prototype.filterReject` method
911
1189
  // https://github.com/tc39/proposal-array-filtering
912
- filterOut: createMethod(7)
1190
+ filterReject: createMethod(7)
913
1191
  };
914
1192
 
915
1193
  // `Object.keys` method
916
1194
  // https://tc39.es/ecma262/#sec-object.keys
1195
+ // eslint-disable-next-line es/no-object-keys -- safe
917
1196
  var objectKeys = Object.keys || function keys(O) {
918
1197
  return objectKeysInternal(O, enumBugKeys);
919
1198
  };
920
1199
 
921
1200
  // `Object.defineProperties` method
922
1201
  // https://tc39.es/ecma262/#sec-object.defineproperties
923
- var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
1202
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1203
+ var f = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
924
1204
  anObject(O);
1205
+ var props = toIndexedObject(Properties);
925
1206
  var keys = objectKeys(Properties);
926
1207
  var length = keys.length;
927
1208
  var index = 0;
928
1209
  var key;
929
- while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);
1210
+ while (length > index) objectDefineProperty.f(O, key = keys[index++], props[key]);
930
1211
  return O;
931
1212
  };
932
1213
 
1214
+ var objectDefineProperties = {
1215
+ f: f
1216
+ };
1217
+
933
1218
  var html = getBuiltIn('document', 'documentElement');
934
1219
 
1220
+ /* global ActiveXObject -- old IE, WSH */
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
935
1229
  var GT = '>';
936
1230
  var LT = '<';
937
1231
  var PROTOTYPE = 'prototype';
@@ -978,10 +1272,13 @@
978
1272
  var activeXDocument;
979
1273
  var NullProtoObject = function () {
980
1274
  try {
981
- /* global ActiveXObject -- old IE */
982
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
1275
+ activeXDocument = new ActiveXObject('htmlfile');
983
1276
  } catch (error) { /* ignore */ }
984
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
1277
+ NullProtoObject = typeof document != 'undefined'
1278
+ ? document.domain && activeXDocument
1279
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1280
+ : NullProtoObjectViaIFrame()
1281
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
985
1282
  var length = enumBugKeys.length;
986
1283
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
987
1284
  return NullProtoObject();
@@ -1000,7 +1297,7 @@
1000
1297
  // add "__proto__" for Object.getPrototypeOf polyfill
1001
1298
  result[IE_PROTO] = O;
1002
1299
  } else result = NullProtoObject();
1003
- return Properties === undefined ? result : objectDefineProperties(result, Properties);
1300
+ return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
1004
1301
  };
1005
1302
 
1006
1303
  var UNSCOPABLES = wellKnownSymbol('unscopables');
@@ -1040,6 +1337,25 @@
1040
1337
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1041
1338
  addToUnscopables(FIND);
1042
1339
 
1340
+ // `Object.prototype.toString` method implementation
1341
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1342
+ var objectToString = toStringTagSupport ? {}.toString : function toString() {
1343
+ return '[object ' + classof(this) + ']';
1344
+ };
1345
+
1346
+ // `Object.prototype.toString` method
1347
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
1348
+ if (!toStringTagSupport) {
1349
+ redefine(Object.prototype, 'toString', objectToString, { unsafe: true });
1350
+ }
1351
+
1352
+ var String$1 = global_1.String;
1353
+
1354
+ var toString_1 = function (argument) {
1355
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1356
+ return String$1(argument);
1357
+ };
1358
+
1043
1359
  // `RegExp.prototype.flags` getter implementation
1044
1360
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1045
1361
  var regexpFlags = function () {
@@ -1054,74 +1370,118 @@
1054
1370
  return result;
1055
1371
  };
1056
1372
 
1057
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
1058
- // so we use an intermediate function.
1059
- function RE(s, f) {
1060
- return RegExp(s, f);
1061
- }
1373
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1374
+ var $RegExp$2 = global_1.RegExp;
1062
1375
 
1063
1376
  var UNSUPPORTED_Y$1 = fails(function () {
1064
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1065
- var re = RE('a', 'y');
1377
+ var re = $RegExp$2('a', 'y');
1066
1378
  re.lastIndex = 2;
1067
1379
  return re.exec('abcd') != null;
1068
1380
  });
1069
1381
 
1070
- var BROKEN_CARET = fails(function () {
1382
+ // UC Browser bug
1383
+ // https://github.com/zloirock/core-js/issues/1008
1384
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails(function () {
1385
+ return !$RegExp$2('a', 'y').sticky;
1386
+ });
1387
+
1388
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails(function () {
1071
1389
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1072
- var re = RE('^r', 'gy');
1390
+ var re = $RegExp$2('^r', 'gy');
1073
1391
  re.lastIndex = 2;
1074
1392
  return re.exec('str') != null;
1075
1393
  });
1076
1394
 
1077
1395
  var regexpStickyHelpers = {
1078
- UNSUPPORTED_Y: UNSUPPORTED_Y$1,
1079
- BROKEN_CARET: BROKEN_CARET
1396
+ BROKEN_CARET: BROKEN_CARET,
1397
+ MISSED_STICKY: MISSED_STICKY,
1398
+ UNSUPPORTED_Y: UNSUPPORTED_Y$1
1080
1399
  };
1081
1400
 
1082
- var nativeExec = RegExp.prototype.exec;
1083
- // This always refers to the native implementation, because the
1084
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
1085
- // which loads this file before patching the method.
1086
- var nativeReplace = String.prototype.replace;
1401
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1402
+ var $RegExp$1 = global_1.RegExp;
1403
+
1404
+ var regexpUnsupportedDotAll = fails(function () {
1405
+ var re = $RegExp$1('.', 's');
1406
+ return !(re.dotAll && re.exec('\n') && re.flags === 's');
1407
+ });
1408
+
1409
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1410
+ var $RegExp = global_1.RegExp;
1087
1411
 
1412
+ var regexpUnsupportedNcg = fails(function () {
1413
+ var re = $RegExp('(?<a>b)', 'g');
1414
+ return re.exec('b').groups.a !== 'b' ||
1415
+ 'b'.replace(re, '$<a>c') !== 'bc';
1416
+ });
1417
+
1418
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1419
+ /* eslint-disable regexp/no-useless-quantifier -- testing */
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+ var getInternalState = internalState.get;
1428
+
1429
+
1430
+
1431
+ var nativeReplace = shared('native-string-replace', String.prototype.replace);
1432
+ var nativeExec = RegExp.prototype.exec;
1088
1433
  var patchedExec = nativeExec;
1434
+ var charAt = functionUncurryThis(''.charAt);
1435
+ var indexOf = functionUncurryThis(''.indexOf);
1436
+ var replace = functionUncurryThis(''.replace);
1437
+ var stringSlice = functionUncurryThis(''.slice);
1089
1438
 
1090
1439
  var UPDATES_LAST_INDEX_WRONG = (function () {
1091
1440
  var re1 = /a/;
1092
1441
  var re2 = /b*/g;
1093
- nativeExec.call(re1, 'a');
1094
- nativeExec.call(re2, 'a');
1442
+ functionCall(nativeExec, re1, 'a');
1443
+ functionCall(nativeExec, re2, 'a');
1095
1444
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1096
1445
  })();
1097
1446
 
1098
- var UNSUPPORTED_Y = regexpStickyHelpers.UNSUPPORTED_Y || regexpStickyHelpers.BROKEN_CARET;
1447
+ var UNSUPPORTED_Y = regexpStickyHelpers.BROKEN_CARET;
1099
1448
 
1100
1449
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
1101
- // eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
1102
1450
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1103
1451
 
1104
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
1452
+ var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || regexpUnsupportedDotAll || regexpUnsupportedNcg;
1105
1453
 
1106
1454
  if (PATCH) {
1107
- patchedExec = function exec(str) {
1455
+ patchedExec = function exec(string) {
1108
1456
  var re = this;
1109
- var lastIndex, reCopy, match, i;
1457
+ var state = getInternalState(re);
1458
+ var str = toString_1(string);
1459
+ var raw = state.raw;
1460
+ var result, reCopy, lastIndex, match, i, object, group;
1461
+
1462
+ if (raw) {
1463
+ raw.lastIndex = re.lastIndex;
1464
+ result = functionCall(patchedExec, raw, str);
1465
+ re.lastIndex = raw.lastIndex;
1466
+ return result;
1467
+ }
1468
+
1469
+ var groups = state.groups;
1110
1470
  var sticky = UNSUPPORTED_Y && re.sticky;
1111
- var flags = regexpFlags.call(re);
1471
+ var flags = functionCall(regexpFlags, re);
1112
1472
  var source = re.source;
1113
1473
  var charsAdded = 0;
1114
1474
  var strCopy = str;
1115
1475
 
1116
1476
  if (sticky) {
1117
- flags = flags.replace('y', '');
1118
- if (flags.indexOf('g') === -1) {
1477
+ flags = replace(flags, 'y', '');
1478
+ if (indexOf(flags, 'g') === -1) {
1119
1479
  flags += 'g';
1120
1480
  }
1121
1481
 
1122
- strCopy = String(str).slice(re.lastIndex);
1482
+ strCopy = stringSlice(str, re.lastIndex);
1123
1483
  // Support anchored sticky behavior.
1124
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
1484
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
1125
1485
  source = '(?: ' + source + ')';
1126
1486
  strCopy = ' ' + strCopy;
1127
1487
  charsAdded++;
@@ -1136,12 +1496,12 @@
1136
1496
  }
1137
1497
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1138
1498
 
1139
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1499
+ match = functionCall(nativeExec, sticky ? reCopy : re, strCopy);
1140
1500
 
1141
1501
  if (sticky) {
1142
1502
  if (match) {
1143
- match.input = match.input.slice(charsAdded);
1144
- match[0] = match[0].slice(charsAdded);
1503
+ match.input = stringSlice(match.input, charsAdded);
1504
+ match[0] = stringSlice(match[0], charsAdded);
1145
1505
  match.index = re.lastIndex;
1146
1506
  re.lastIndex += match[0].length;
1147
1507
  } else re.lastIndex = 0;
@@ -1151,13 +1511,21 @@
1151
1511
  if (NPCG_INCLUDED && match && match.length > 1) {
1152
1512
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1153
1513
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1154
- nativeReplace.call(match[0], reCopy, function () {
1514
+ functionCall(nativeReplace, match[0], reCopy, function () {
1155
1515
  for (i = 1; i < arguments.length - 2; i++) {
1156
1516
  if (arguments[i] === undefined) match[i] = undefined;
1157
1517
  }
1158
1518
  });
1159
1519
  }
1160
1520
 
1521
+ if (match && groups) {
1522
+ match.groups = object = objectCreate(null);
1523
+ for (i = 0; i < groups.length; i++) {
1524
+ group = groups[i];
1525
+ object[group[0]] = match[group[1]];
1526
+ }
1527
+ }
1528
+
1161
1529
  return match;
1162
1530
  };
1163
1531
  }
@@ -1178,48 +1546,11 @@
1178
1546
 
1179
1547
 
1180
1548
 
1181
- var SPECIES = wellKnownSymbol('species');
1182
1549
 
1183
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1184
- // #replace needs built-in support for named groups.
1185
- // #match works fine because it just return the exec results, even if it has
1186
- // a "grops" property.
1187
- var re = /./;
1188
- re.exec = function () {
1189
- var result = [];
1190
- result.groups = { a: '7' };
1191
- return result;
1192
- };
1193
- return ''.replace(re, '$<a>') !== '7';
1194
- });
1195
-
1196
- // IE <= 11 replaces $0 with the whole match, as if it was $&
1197
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
1198
- var REPLACE_KEEPS_$0 = (function () {
1199
- return 'a'.replace(/./, '$0') === '$0';
1200
- })();
1201
-
1202
- var REPLACE = wellKnownSymbol('replace');
1203
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
1204
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
1205
- if (/./[REPLACE]) {
1206
- return /./[REPLACE]('a', '$0') === '';
1207
- }
1208
- return false;
1209
- })();
1210
-
1211
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1212
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1213
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
1214
- // eslint-disable-next-line regexp/no-empty-group -- required for testing
1215
- var re = /(?:)/;
1216
- var originalExec = re.exec;
1217
- re.exec = function () { return originalExec.apply(this, arguments); };
1218
- var result = 'ab'.split(re);
1219
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
1220
- });
1550
+ var SPECIES = wellKnownSymbol('species');
1551
+ var RegExpPrototype = RegExp.prototype;
1221
1552
 
1222
- var fixRegexpWellKnownSymbolLogic = function (KEY, length, exec, sham) {
1553
+ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1223
1554
  var SYMBOL = wellKnownSymbol(KEY);
1224
1555
 
1225
1556
  var DELEGATES_TO_SYMBOL = !fails(function () {
@@ -1256,90 +1587,72 @@
1256
1587
  if (
1257
1588
  !DELEGATES_TO_SYMBOL ||
1258
1589
  !DELEGATES_TO_EXEC ||
1259
- (KEY === 'replace' && !(
1260
- REPLACE_SUPPORTS_NAMED_GROUPS &&
1261
- REPLACE_KEEPS_$0 &&
1262
- !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1263
- )) ||
1264
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1590
+ FORCED
1265
1591
  ) {
1266
- var nativeRegExpMethod = /./[SYMBOL];
1592
+ var uncurriedNativeRegExpMethod = functionUncurryThis(/./[SYMBOL]);
1267
1593
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1268
- if (regexp.exec === regexpExec) {
1594
+ var uncurriedNativeMethod = functionUncurryThis(nativeMethod);
1595
+ var $exec = regexp.exec;
1596
+ if ($exec === regexpExec || $exec === RegExpPrototype.exec) {
1269
1597
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1270
1598
  // The native String method already delegates to @@method (this
1271
1599
  // polyfilled function), leasing to infinite recursion.
1272
1600
  // We avoid it by directly calling the native @@method method.
1273
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1601
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
1274
1602
  }
1275
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1603
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
1276
1604
  }
1277
1605
  return { done: false };
1278
- }, {
1279
- REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
1280
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
1281
1606
  });
1282
- var stringMethod = methods[0];
1283
- var regexMethod = methods[1];
1284
-
1285
- redefine(String.prototype, KEY, stringMethod);
1286
- redefine(RegExp.prototype, SYMBOL, length == 2
1287
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1288
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1289
- ? function (string, arg) { return regexMethod.call(string, this, arg); }
1290
- // 21.2.5.6 RegExp.prototype[@@match](string)
1291
- // 21.2.5.9 RegExp.prototype[@@search](string)
1292
- : function (string) { return regexMethod.call(string, this); }
1293
- );
1607
+
1608
+ redefine(String.prototype, KEY, methods[0]);
1609
+ redefine(RegExpPrototype, SYMBOL, methods[1]);
1294
1610
  }
1295
1611
 
1296
- if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
1612
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1297
1613
  };
1298
1614
 
1299
1615
  // `SameValue` abstract operation
1300
1616
  // https://tc39.es/ecma262/#sec-samevalue
1617
+ // eslint-disable-next-line es/no-object-is -- safe
1301
1618
  var sameValue = Object.is || function is(x, y) {
1302
1619
  // eslint-disable-next-line no-self-compare -- NaN check
1303
1620
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1304
1621
  };
1305
1622
 
1623
+ var TypeError$1 = global_1.TypeError;
1624
+
1306
1625
  // `RegExpExec` abstract operation
1307
1626
  // https://tc39.es/ecma262/#sec-regexpexec
1308
1627
  var regexpExecAbstract = function (R, S) {
1309
1628
  var exec = R.exec;
1310
- if (typeof exec === 'function') {
1311
- var result = exec.call(R, S);
1312
- if (typeof result !== 'object') {
1313
- throw TypeError('RegExp exec method returned something other than an Object or null');
1314
- }
1629
+ if (isCallable(exec)) {
1630
+ var result = functionCall(exec, R, S);
1631
+ if (result !== null) anObject(result);
1315
1632
  return result;
1316
1633
  }
1317
-
1318
- if (classofRaw(R) !== 'RegExp') {
1319
- throw TypeError('RegExp#exec called on incompatible receiver');
1320
- }
1321
-
1322
- return regexpExec.call(R, S);
1634
+ if (classofRaw(R) === 'RegExp') return functionCall(regexpExec, R, S);
1635
+ throw TypeError$1('RegExp#exec called on incompatible receiver');
1323
1636
  };
1324
1637
 
1325
1638
  // @@search logic
1326
- fixRegexpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {
1639
+ fixRegexpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
1327
1640
  return [
1328
1641
  // `String.prototype.search` method
1329
1642
  // https://tc39.es/ecma262/#sec-string.prototype.search
1330
1643
  function search(regexp) {
1331
1644
  var O = requireObjectCoercible(this);
1332
- var searcher = regexp == undefined ? undefined : regexp[SEARCH];
1333
- return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
1645
+ var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);
1646
+ return searcher ? functionCall(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString_1(O));
1334
1647
  },
1335
1648
  // `RegExp.prototype[@@search]` method
1336
1649
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
1337
- function (regexp) {
1338
- var res = maybeCallNative(nativeSearch, regexp, this);
1339
- if (res.done) return res.value;
1650
+ function (string) {
1651
+ var rx = anObject(this);
1652
+ var S = toString_1(string);
1653
+ var res = maybeCallNative(nativeSearch, rx, S);
1340
1654
 
1341
- var rx = anObject(regexp);
1342
- var S = String(this);
1655
+ if (res.done) return res.value;
1343
1656
 
1344
1657
  var previousLastIndex = rx.lastIndex;
1345
1658
  if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
@@ -1356,12 +1669,12 @@
1356
1669
  * @update zhixin wen <wenzhixin2010@gmail.com>
1357
1670
  */
1358
1671
 
1359
- var Utils = $__default['default'].fn.bootstrapTable.utils;
1360
- $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, {
1672
+ var Utils = $__default["default"].fn.bootstrapTable.utils;
1673
+ $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1361
1674
  keyEvents: false
1362
1675
  });
1363
1676
 
1364
- $__default['default'].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1677
+ $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1365
1678
  _inherits(_class, _$$BootstrapTable);
1366
1679
 
1367
1680
  var _super = _createSuper(_class);
@@ -1392,7 +1705,7 @@
1392
1705
  value: function initKeyEvents() {
1393
1706
  var _this = this;
1394
1707
 
1395
- $__default['default'](document).off('keydown').on('keydown', function (e) {
1708
+ $__default["default"](document).off('keydown').on('keydown', function (e) {
1396
1709
  var $search = Utils.getSearchInput(_this);
1397
1710
 
1398
1711
  var $refresh = _this.$toolbar.find('button[name="refresh"]');
@@ -1401,7 +1714,7 @@
1401
1714
 
1402
1715
  var $paginationSwitch = _this.$toolbar.find('button[name="paginationSwitch"]');
1403
1716
 
1404
- if (document.activeElement === $search.get(0) || !$__default['default'].contains(document.activeElement, _this.$toolbar.get(0))) {
1717
+ if (document.activeElement === $search.get(0) || !$__default["default"].contains(document.activeElement, _this.$toolbar.get(0))) {
1405
1718
  return true;
1406
1719
  }
1407
1720
 
@@ -1467,6 +1780,6 @@
1467
1780
  }]);
1468
1781
 
1469
1782
  return _class;
1470
- }($__default['default'].BootstrapTable);
1783
+ }($__default["default"].BootstrapTable);
1471
1784
 
1472
- })));
1785
+ }));