UNPKG

70.7 kBJavaScriptView Raw
1(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3 typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4 (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5})(this, (function ($$3) { 'use strict';
6
7 function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9 var $__default = /*#__PURE__*/_interopDefaultLegacy($$3);
10
11 function _classCallCheck(instance, Constructor) {
12 if (!(instance instanceof Constructor)) {
13 throw new TypeError("Cannot call a class as a function");
14 }
15 }
16
17 function _defineProperties(target, props) {
18 for (var i = 0; i < props.length; i++) {
19 var descriptor = props[i];
20 descriptor.enumerable = descriptor.enumerable || false;
21 descriptor.configurable = true;
22 if ("value" in descriptor) descriptor.writable = true;
23 Object.defineProperty(target, descriptor.key, descriptor);
24 }
25 }
26
27 function _createClass(Constructor, protoProps, staticProps) {
28 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29 if (staticProps) _defineProperties(Constructor, staticProps);
30 Object.defineProperty(Constructor, "prototype", {
31 writable: false
32 });
33 return Constructor;
34 }
35
36 function _inherits(subClass, superClass) {
37 if (typeof superClass !== "function" && superClass !== null) {
38 throw new TypeError("Super expression must either be null or a function");
39 }
40
41 subClass.prototype = Object.create(superClass && superClass.prototype, {
42 constructor: {
43 value: subClass,
44 writable: true,
45 configurable: true
46 }
47 });
48 Object.defineProperty(subClass, "prototype", {
49 writable: false
50 });
51 if (superClass) _setPrototypeOf(subClass, superClass);
52 }
53
54 function _getPrototypeOf(o) {
55 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
56 return o.__proto__ || Object.getPrototypeOf(o);
57 };
58 return _getPrototypeOf(o);
59 }
60
61 function _setPrototypeOf(o, p) {
62 _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
63 o.__proto__ = p;
64 return o;
65 };
66 return _setPrototypeOf(o, p);
67 }
68
69 function _isNativeReflectConstruct() {
70 if (typeof Reflect === "undefined" || !Reflect.construct) return false;
71 if (Reflect.construct.sham) return false;
72 if (typeof Proxy === "function") return true;
73
74 try {
75 Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
76 return true;
77 } catch (e) {
78 return false;
79 }
80 }
81
82 function _assertThisInitialized(self) {
83 if (self === void 0) {
84 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
85 }
86
87 return self;
88 }
89
90 function _possibleConstructorReturn(self, call) {
91 if (call && (typeof call === "object" || typeof call === "function")) {
92 return call;
93 } else if (call !== void 0) {
94 throw new TypeError("Derived constructors may only return object or undefined");
95 }
96
97 return _assertThisInitialized(self);
98 }
99
100 function _createSuper(Derived) {
101 var hasNativeReflectConstruct = _isNativeReflectConstruct();
102
103 return function _createSuperInternal() {
104 var Super = _getPrototypeOf(Derived),
105 result;
106
107 if (hasNativeReflectConstruct) {
108 var NewTarget = _getPrototypeOf(this).constructor;
109
110 result = Reflect.construct(Super, arguments, NewTarget);
111 } else {
112 result = Super.apply(this, arguments);
113 }
114
115 return _possibleConstructorReturn(this, result);
116 };
117 }
118
119 function _superPropBase(object, property) {
120 while (!Object.prototype.hasOwnProperty.call(object, property)) {
121 object = _getPrototypeOf(object);
122 if (object === null) break;
123 }
124
125 return object;
126 }
127
128 function _get() {
129 if (typeof Reflect !== "undefined" && Reflect.get) {
130 _get = Reflect.get.bind();
131 } else {
132 _get = function _get(target, property, receiver) {
133 var base = _superPropBase(target, property);
134
135 if (!base) return;
136 var desc = Object.getOwnPropertyDescriptor(base, property);
137
138 if (desc.get) {
139 return desc.get.call(arguments.length < 3 ? target : receiver);
140 }
141
142 return desc.value;
143 };
144 }
145
146 return _get.apply(this, arguments);
147 }
148
149 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
150
151 var check = function (it) {
152 return it && it.Math == Math && it;
153 };
154
155 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
156 var global$d =
157 // eslint-disable-next-line es-x/no-global-this -- safe
158 check(typeof globalThis == 'object' && globalThis) ||
159 check(typeof window == 'object' && window) ||
160 // eslint-disable-next-line no-restricted-globals -- safe
161 check(typeof self == 'object' && self) ||
162 check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
163 // eslint-disable-next-line no-new-func -- fallback
164 (function () { return this; })() || Function('return this')();
165
166 var objectGetOwnPropertyDescriptor = {};
167
168 var fails$f = function (exec) {
169 try {
170 return !!exec();
171 } catch (error) {
172 return true;
173 }
174 };
175
176 var fails$e = fails$f;
177
178 // Detect IE8's incomplete defineProperty implementation
179 var descriptors = !fails$e(function () {
180 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
181 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
182 });
183
184 var fails$d = fails$f;
185
186 var functionBindNative = !fails$d(function () {
187 // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
188 var test = (function () { /* empty */ }).bind();
189 // eslint-disable-next-line no-prototype-builtins -- safe
190 return typeof test != 'function' || test.hasOwnProperty('prototype');
191 });
192
193 var NATIVE_BIND$2 = functionBindNative;
194
195 var call$7 = Function.prototype.call;
196
197 var functionCall = NATIVE_BIND$2 ? call$7.bind(call$7) : function () {
198 return call$7.apply(call$7, arguments);
199 };
200
201 var objectPropertyIsEnumerable = {};
202
203 var $propertyIsEnumerable = {}.propertyIsEnumerable;
204 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
205 var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
206
207 // Nashorn ~ JDK8 bug
208 var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
209
210 // `Object.prototype.propertyIsEnumerable` method implementation
211 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
212 objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
213 var descriptor = getOwnPropertyDescriptor$1(this, V);
214 return !!descriptor && descriptor.enumerable;
215 } : $propertyIsEnumerable;
216
217 var createPropertyDescriptor$3 = function (bitmap, value) {
218 return {
219 enumerable: !(bitmap & 1),
220 configurable: !(bitmap & 2),
221 writable: !(bitmap & 4),
222 value: value
223 };
224 };
225
226 var NATIVE_BIND$1 = functionBindNative;
227
228 var FunctionPrototype$1 = Function.prototype;
229 var bind$2 = FunctionPrototype$1.bind;
230 var call$6 = FunctionPrototype$1.call;
231 var uncurryThis$e = NATIVE_BIND$1 && bind$2.bind(call$6, call$6);
232
233 var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
234 return fn && uncurryThis$e(fn);
235 } : function (fn) {
236 return fn && function () {
237 return call$6.apply(fn, arguments);
238 };
239 };
240
241 var uncurryThis$d = functionUncurryThis;
242
243 var toString$5 = uncurryThis$d({}.toString);
244 var stringSlice$1 = uncurryThis$d(''.slice);
245
246 var classofRaw$1 = function (it) {
247 return stringSlice$1(toString$5(it), 8, -1);
248 };
249
250 var uncurryThis$c = functionUncurryThis;
251 var fails$c = fails$f;
252 var classof$6 = classofRaw$1;
253
254 var $Object$3 = Object;
255 var split = uncurryThis$c(''.split);
256
257 // fallback for non-array-like ES3 and non-enumerable old V8 strings
258 var indexedObject = fails$c(function () {
259 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
260 // eslint-disable-next-line no-prototype-builtins -- safe
261 return !$Object$3('z').propertyIsEnumerable(0);
262 }) ? function (it) {
263 return classof$6(it) == 'String' ? split(it, '') : $Object$3(it);
264 } : $Object$3;
265
266 var $TypeError$7 = TypeError;
267
268 // `RequireObjectCoercible` abstract operation
269 // https://tc39.es/ecma262/#sec-requireobjectcoercible
270 var requireObjectCoercible$3 = function (it) {
271 if (it == undefined) throw $TypeError$7("Can't call method on " + it);
272 return it;
273 };
274
275 // toObject with fallback for non-array-like ES3 strings
276 var IndexedObject$1 = indexedObject;
277 var requireObjectCoercible$2 = requireObjectCoercible$3;
278
279 var toIndexedObject$4 = function (it) {
280 return IndexedObject$1(requireObjectCoercible$2(it));
281 };
282
283 // `IsCallable` abstract operation
284 // https://tc39.es/ecma262/#sec-iscallable
285 var isCallable$d = function (argument) {
286 return typeof argument == 'function';
287 };
288
289 var isCallable$c = isCallable$d;
290
291 var isObject$7 = function (it) {
292 return typeof it == 'object' ? it !== null : isCallable$c(it);
293 };
294
295 var global$c = global$d;
296 var isCallable$b = isCallable$d;
297
298 var aFunction = function (argument) {
299 return isCallable$b(argument) ? argument : undefined;
300 };
301
302 var getBuiltIn$5 = function (namespace, method) {
303 return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
304 };
305
306 var uncurryThis$b = functionUncurryThis;
307
308 var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
309
310 var getBuiltIn$4 = getBuiltIn$5;
311
312 var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
313
314 var global$b = global$d;
315 var userAgent = engineUserAgent;
316
317 var process = global$b.process;
318 var Deno = global$b.Deno;
319 var versions = process && process.versions || Deno && Deno.version;
320 var v8 = versions && versions.v8;
321 var match, version;
322
323 if (v8) {
324 match = v8.split('.');
325 // in old Chrome, versions of V8 isn't V8 = Chrome / 10
326 // but their correct versions are not interesting for us
327 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
328 }
329
330 // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
331 // so check `userAgent` even if `.v8` exists, but 0
332 if (!version && userAgent) {
333 match = userAgent.match(/Edge\/(\d+)/);
334 if (!match || match[1] >= 74) {
335 match = userAgent.match(/Chrome\/(\d+)/);
336 if (match) version = +match[1];
337 }
338 }
339
340 var engineV8Version = version;
341
342 /* eslint-disable es-x/no-symbol -- required for testing */
343
344 var V8_VERSION$2 = engineV8Version;
345 var fails$b = fails$f;
346
347 // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
348 var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$b(function () {
349 var symbol = Symbol();
350 // Chrome 38 Symbol has incorrect toString conversion
351 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
352 return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
353 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
354 !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
355 });
356
357 /* eslint-disable es-x/no-symbol -- required for testing */
358
359 var NATIVE_SYMBOL$1 = nativeSymbol;
360
361 var useSymbolAsUid = NATIVE_SYMBOL$1
362 && !Symbol.sham
363 && typeof Symbol.iterator == 'symbol';
364
365 var getBuiltIn$3 = getBuiltIn$5;
366 var isCallable$a = isCallable$d;
367 var isPrototypeOf = objectIsPrototypeOf;
368 var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
369
370 var $Object$2 = Object;
371
372 var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
373 return typeof it == 'symbol';
374 } : function (it) {
375 var $Symbol = getBuiltIn$3('Symbol');
376 return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
377 };
378
379 var $String$2 = String;
380
381 var tryToString$1 = function (argument) {
382 try {
383 return $String$2(argument);
384 } catch (error) {
385 return 'Object';
386 }
387 };
388
389 var isCallable$9 = isCallable$d;
390 var tryToString = tryToString$1;
391
392 var $TypeError$6 = TypeError;
393
394 // `Assert: IsCallable(argument) is true`
395 var aCallable$2 = function (argument) {
396 if (isCallable$9(argument)) return argument;
397 throw $TypeError$6(tryToString(argument) + ' is not a function');
398 };
399
400 var aCallable$1 = aCallable$2;
401
402 // `GetMethod` abstract operation
403 // https://tc39.es/ecma262/#sec-getmethod
404 var getMethod$2 = function (V, P) {
405 var func = V[P];
406 return func == null ? undefined : aCallable$1(func);
407 };
408
409 var call$5 = functionCall;
410 var isCallable$8 = isCallable$d;
411 var isObject$6 = isObject$7;
412
413 var $TypeError$5 = TypeError;
414
415 // `OrdinaryToPrimitive` abstract operation
416 // https://tc39.es/ecma262/#sec-ordinarytoprimitive
417 var ordinaryToPrimitive$1 = function (input, pref) {
418 var fn, val;
419 if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$5(fn, input))) return val;
420 if (isCallable$8(fn = input.valueOf) && !isObject$6(val = call$5(fn, input))) return val;
421 if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$5(fn, input))) return val;
422 throw $TypeError$5("Can't convert object to primitive value");
423 };
424
425 var shared$4 = {exports: {}};
426
427 var global$a = global$d;
428
429 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
430 var defineProperty$2 = Object.defineProperty;
431
432 var defineGlobalProperty$3 = function (key, value) {
433 try {
434 defineProperty$2(global$a, key, { value: value, configurable: true, writable: true });
435 } catch (error) {
436 global$a[key] = value;
437 } return value;
438 };
439
440 var global$9 = global$d;
441 var defineGlobalProperty$2 = defineGlobalProperty$3;
442
443 var SHARED = '__core-js_shared__';
444 var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
445
446 var sharedStore = store$3;
447
448 var store$2 = sharedStore;
449
450 (shared$4.exports = function (key, value) {
451 return store$2[key] || (store$2[key] = value !== undefined ? value : {});
452 })('versions', []).push({
453 version: '3.22.8',
454 mode: 'global',
455 copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
456 license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE',
457 source: 'https://github.com/zloirock/core-js'
458 });
459
460 var requireObjectCoercible$1 = requireObjectCoercible$3;
461
462 var $Object$1 = Object;
463
464 // `ToObject` abstract operation
465 // https://tc39.es/ecma262/#sec-toobject
466 var toObject$3 = function (argument) {
467 return $Object$1(requireObjectCoercible$1(argument));
468 };
469
470 var uncurryThis$a = functionUncurryThis;
471 var toObject$2 = toObject$3;
472
473 var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
474
475 // `HasOwnProperty` abstract operation
476 // https://tc39.es/ecma262/#sec-hasownproperty
477 // eslint-disable-next-line es-x/no-object-hasown -- safe
478 var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
479 return hasOwnProperty(toObject$2(it), key);
480 };
481
482 var uncurryThis$9 = functionUncurryThis;
483
484 var id = 0;
485 var postfix = Math.random();
486 var toString$4 = uncurryThis$9(1.0.toString);
487
488 var uid$2 = function (key) {
489 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
490 };
491
492 var global$8 = global$d;
493 var shared$3 = shared$4.exports;
494 var hasOwn$6 = hasOwnProperty_1;
495 var uid$1 = uid$2;
496 var NATIVE_SYMBOL = nativeSymbol;
497 var USE_SYMBOL_AS_UID = useSymbolAsUid;
498
499 var WellKnownSymbolsStore = shared$3('wks');
500 var Symbol$1 = global$8.Symbol;
501 var symbolFor = Symbol$1 && Symbol$1['for'];
502 var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
503
504 var wellKnownSymbol$8 = function (name) {
505 if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
506 var description = 'Symbol.' + name;
507 if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
508 WellKnownSymbolsStore[name] = Symbol$1[name];
509 } else if (USE_SYMBOL_AS_UID && symbolFor) {
510 WellKnownSymbolsStore[name] = symbolFor(description);
511 } else {
512 WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
513 }
514 } return WellKnownSymbolsStore[name];
515 };
516
517 var call$4 = functionCall;
518 var isObject$5 = isObject$7;
519 var isSymbol$1 = isSymbol$2;
520 var getMethod$1 = getMethod$2;
521 var ordinaryToPrimitive = ordinaryToPrimitive$1;
522 var wellKnownSymbol$7 = wellKnownSymbol$8;
523
524 var $TypeError$4 = TypeError;
525 var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
526
527 // `ToPrimitive` abstract operation
528 // https://tc39.es/ecma262/#sec-toprimitive
529 var toPrimitive$1 = function (input, pref) {
530 if (!isObject$5(input) || isSymbol$1(input)) return input;
531 var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
532 var result;
533 if (exoticToPrim) {
534 if (pref === undefined) pref = 'default';
535 result = call$4(exoticToPrim, input, pref);
536 if (!isObject$5(result) || isSymbol$1(result)) return result;
537 throw $TypeError$4("Can't convert object to primitive value");
538 }
539 if (pref === undefined) pref = 'number';
540 return ordinaryToPrimitive(input, pref);
541 };
542
543 var toPrimitive = toPrimitive$1;
544 var isSymbol = isSymbol$2;
545
546 // `ToPropertyKey` abstract operation
547 // https://tc39.es/ecma262/#sec-topropertykey
548 var toPropertyKey$3 = function (argument) {
549 var key = toPrimitive(argument, 'string');
550 return isSymbol(key) ? key : key + '';
551 };
552
553 var global$7 = global$d;
554 var isObject$4 = isObject$7;
555
556 var document$1 = global$7.document;
557 // typeof document.createElement is 'object' in old IE
558 var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
559
560 var documentCreateElement$1 = function (it) {
561 return EXISTS$1 ? document$1.createElement(it) : {};
562 };
563
564 var DESCRIPTORS$7 = descriptors;
565 var fails$a = fails$f;
566 var createElement = documentCreateElement$1;
567
568 // Thanks to IE8 for its funny defineProperty
569 var ie8DomDefine = !DESCRIPTORS$7 && !fails$a(function () {
570 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
571 return Object.defineProperty(createElement('div'), 'a', {
572 get: function () { return 7; }
573 }).a != 7;
574 });
575
576 var DESCRIPTORS$6 = descriptors;
577 var call$3 = functionCall;
578 var propertyIsEnumerableModule = objectPropertyIsEnumerable;
579 var createPropertyDescriptor$2 = createPropertyDescriptor$3;
580 var toIndexedObject$3 = toIndexedObject$4;
581 var toPropertyKey$2 = toPropertyKey$3;
582 var hasOwn$5 = hasOwnProperty_1;
583 var IE8_DOM_DEFINE$1 = ie8DomDefine;
584
585 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
586 var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
587
588 // `Object.getOwnPropertyDescriptor` method
589 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
590 objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
591 O = toIndexedObject$3(O);
592 P = toPropertyKey$2(P);
593 if (IE8_DOM_DEFINE$1) try {
594 return $getOwnPropertyDescriptor$1(O, P);
595 } catch (error) { /* empty */ }
596 if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$3(propertyIsEnumerableModule.f, O, P), O[P]);
597 };
598
599 var objectDefineProperty = {};
600
601 var DESCRIPTORS$5 = descriptors;
602 var fails$9 = fails$f;
603
604 // V8 ~ Chrome 36-
605 // https://bugs.chromium.org/p/v8/issues/detail?id=3334
606 var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$9(function () {
607 // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
608 return Object.defineProperty(function () { /* empty */ }, 'prototype', {
609 value: 42,
610 writable: false
611 }).prototype != 42;
612 });
613
614 var isObject$3 = isObject$7;
615
616 var $String$1 = String;
617 var $TypeError$3 = TypeError;
618
619 // `Assert: Type(argument) is Object`
620 var anObject$7 = function (argument) {
621 if (isObject$3(argument)) return argument;
622 throw $TypeError$3($String$1(argument) + ' is not an object');
623 };
624
625 var DESCRIPTORS$4 = descriptors;
626 var IE8_DOM_DEFINE = ie8DomDefine;
627 var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
628 var anObject$6 = anObject$7;
629 var toPropertyKey$1 = toPropertyKey$3;
630
631 var $TypeError$2 = TypeError;
632 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
633 var $defineProperty = Object.defineProperty;
634 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
635 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
636 var ENUMERABLE = 'enumerable';
637 var CONFIGURABLE$1 = 'configurable';
638 var WRITABLE = 'writable';
639
640 // `Object.defineProperty` method
641 // https://tc39.es/ecma262/#sec-object.defineproperty
642 objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
643 anObject$6(O);
644 P = toPropertyKey$1(P);
645 anObject$6(Attributes);
646 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
647 var current = $getOwnPropertyDescriptor(O, P);
648 if (current && current[WRITABLE]) {
649 O[P] = Attributes.value;
650 Attributes = {
651 configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
652 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
653 writable: false
654 };
655 }
656 } return $defineProperty(O, P, Attributes);
657 } : $defineProperty : function defineProperty(O, P, Attributes) {
658 anObject$6(O);
659 P = toPropertyKey$1(P);
660 anObject$6(Attributes);
661 if (IE8_DOM_DEFINE) try {
662 return $defineProperty(O, P, Attributes);
663 } catch (error) { /* empty */ }
664 if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');
665 if ('value' in Attributes) O[P] = Attributes.value;
666 return O;
667 };
668
669 var DESCRIPTORS$3 = descriptors;
670 var definePropertyModule$3 = objectDefineProperty;
671 var createPropertyDescriptor$1 = createPropertyDescriptor$3;
672
673 var createNonEnumerableProperty$4 = DESCRIPTORS$3 ? function (object, key, value) {
674 return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
675 } : function (object, key, value) {
676 object[key] = value;
677 return object;
678 };
679
680 var makeBuiltIn$2 = {exports: {}};
681
682 var DESCRIPTORS$2 = descriptors;
683 var hasOwn$4 = hasOwnProperty_1;
684
685 var FunctionPrototype = Function.prototype;
686 // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
687 var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
688
689 var EXISTS = hasOwn$4(FunctionPrototype, 'name');
690 // additional protection from minified / mangled / dropped function names
691 var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
692 var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
693
694 var functionName = {
695 EXISTS: EXISTS,
696 PROPER: PROPER,
697 CONFIGURABLE: CONFIGURABLE
698 };
699
700 var uncurryThis$8 = functionUncurryThis;
701 var isCallable$7 = isCallable$d;
702 var store$1 = sharedStore;
703
704 var functionToString = uncurryThis$8(Function.toString);
705
706 // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
707 if (!isCallable$7(store$1.inspectSource)) {
708 store$1.inspectSource = function (it) {
709 return functionToString(it);
710 };
711 }
712
713 var inspectSource$3 = store$1.inspectSource;
714
715 var global$6 = global$d;
716 var isCallable$6 = isCallable$d;
717 var inspectSource$2 = inspectSource$3;
718
719 var WeakMap$1 = global$6.WeakMap;
720
721 var nativeWeakMap = isCallable$6(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
722
723 var shared$2 = shared$4.exports;
724 var uid = uid$2;
725
726 var keys = shared$2('keys');
727
728 var sharedKey$2 = function (key) {
729 return keys[key] || (keys[key] = uid(key));
730 };
731
732 var hiddenKeys$4 = {};
733
734 var NATIVE_WEAK_MAP = nativeWeakMap;
735 var global$5 = global$d;
736 var uncurryThis$7 = functionUncurryThis;
737 var isObject$2 = isObject$7;
738 var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
739 var hasOwn$3 = hasOwnProperty_1;
740 var shared$1 = sharedStore;
741 var sharedKey$1 = sharedKey$2;
742 var hiddenKeys$3 = hiddenKeys$4;
743
744 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
745 var TypeError$1 = global$5.TypeError;
746 var WeakMap = global$5.WeakMap;
747 var set, get, has;
748
749 var enforce = function (it) {
750 return has(it) ? get(it) : set(it, {});
751 };
752
753 var getterFor = function (TYPE) {
754 return function (it) {
755 var state;
756 if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
757 throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
758 } return state;
759 };
760 };
761
762 if (NATIVE_WEAK_MAP || shared$1.state) {
763 var store = shared$1.state || (shared$1.state = new WeakMap());
764 var wmget = uncurryThis$7(store.get);
765 var wmhas = uncurryThis$7(store.has);
766 var wmset = uncurryThis$7(store.set);
767 set = function (it, metadata) {
768 if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
769 metadata.facade = it;
770 wmset(store, it, metadata);
771 return metadata;
772 };
773 get = function (it) {
774 return wmget(store, it) || {};
775 };
776 has = function (it) {
777 return wmhas(store, it);
778 };
779 } else {
780 var STATE = sharedKey$1('state');
781 hiddenKeys$3[STATE] = true;
782 set = function (it, metadata) {
783 if (hasOwn$3(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
784 metadata.facade = it;
785 createNonEnumerableProperty$3(it, STATE, metadata);
786 return metadata;
787 };
788 get = function (it) {
789 return hasOwn$3(it, STATE) ? it[STATE] : {};
790 };
791 has = function (it) {
792 return hasOwn$3(it, STATE);
793 };
794 }
795
796 var internalState = {
797 set: set,
798 get: get,
799 has: has,
800 enforce: enforce,
801 getterFor: getterFor
802 };
803
804 var fails$8 = fails$f;
805 var isCallable$5 = isCallable$d;
806 var hasOwn$2 = hasOwnProperty_1;
807 var DESCRIPTORS$1 = descriptors;
808 var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
809 var inspectSource$1 = inspectSource$3;
810 var InternalStateModule = internalState;
811
812 var enforceInternalState = InternalStateModule.enforce;
813 var getInternalState$1 = InternalStateModule.get;
814 // eslint-disable-next-line es-x/no-object-defineproperty -- safe
815 var defineProperty$1 = Object.defineProperty;
816
817 var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$8(function () {
818 return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
819 });
820
821 var TEMPLATE = String(String).split('String');
822
823 var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
824 if (String(name).slice(0, 7) === 'Symbol(') {
825 name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
826 }
827 if (options && options.getter) name = 'get ' + name;
828 if (options && options.setter) name = 'set ' + name;
829 if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
830 defineProperty$1(value, 'name', { value: name, configurable: true });
831 }
832 if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
833 defineProperty$1(value, 'length', { value: options.arity });
834 }
835 try {
836 if (options && hasOwn$2(options, 'constructor') && options.constructor) {
837 if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
838 // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
839 } else if (value.prototype) value.prototype = undefined;
840 } catch (error) { /* empty */ }
841 var state = enforceInternalState(value);
842 if (!hasOwn$2(state, 'source')) {
843 state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
844 } return value;
845 };
846
847 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
848 // eslint-disable-next-line no-extend-native -- required
849 Function.prototype.toString = makeBuiltIn$1(function toString() {
850 return isCallable$5(this) && getInternalState$1(this).source || inspectSource$1(this);
851 }, 'toString');
852
853 var isCallable$4 = isCallable$d;
854 var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
855 var makeBuiltIn = makeBuiltIn$2.exports;
856 var defineGlobalProperty$1 = defineGlobalProperty$3;
857
858 var defineBuiltIn$3 = function (O, key, value, options) {
859 if (!options) options = {};
860 var simple = options.enumerable;
861 var name = options.name !== undefined ? options.name : key;
862 if (isCallable$4(value)) makeBuiltIn(value, name, options);
863 if (options.global) {
864 if (simple) O[key] = value;
865 else defineGlobalProperty$1(key, value);
866 } else {
867 if (!options.unsafe) delete O[key];
868 else if (O[key]) simple = true;
869 if (simple) O[key] = value;
870 else createNonEnumerableProperty$2(O, key, value);
871 } return O;
872 };
873
874 var objectGetOwnPropertyNames = {};
875
876 var ceil = Math.ceil;
877 var floor = Math.floor;
878
879 // `Math.trunc` method
880 // https://tc39.es/ecma262/#sec-math.trunc
881 // eslint-disable-next-line es-x/no-math-trunc -- safe
882 var mathTrunc = Math.trunc || function trunc(x) {
883 var n = +x;
884 return (n > 0 ? floor : ceil)(n);
885 };
886
887 var trunc = mathTrunc;
888
889 // `ToIntegerOrInfinity` abstract operation
890 // https://tc39.es/ecma262/#sec-tointegerorinfinity
891 var toIntegerOrInfinity$2 = function (argument) {
892 var number = +argument;
893 // eslint-disable-next-line no-self-compare -- NaN check
894 return number !== number || number === 0 ? 0 : trunc(number);
895 };
896
897 var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
898
899 var max = Math.max;
900 var min$1 = Math.min;
901
902 // Helper for a popular repeating case of the spec:
903 // Let integer be ? ToInteger(index).
904 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
905 var toAbsoluteIndex$1 = function (index, length) {
906 var integer = toIntegerOrInfinity$1(index);
907 return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
908 };
909
910 var toIntegerOrInfinity = toIntegerOrInfinity$2;
911
912 var min = Math.min;
913
914 // `ToLength` abstract operation
915 // https://tc39.es/ecma262/#sec-tolength
916 var toLength$1 = function (argument) {
917 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
918 };
919
920 var toLength = toLength$1;
921
922 // `LengthOfArrayLike` abstract operation
923 // https://tc39.es/ecma262/#sec-lengthofarraylike
924 var lengthOfArrayLike$3 = function (obj) {
925 return toLength(obj.length);
926 };
927
928 var toIndexedObject$2 = toIndexedObject$4;
929 var toAbsoluteIndex = toAbsoluteIndex$1;
930 var lengthOfArrayLike$2 = lengthOfArrayLike$3;
931
932 // `Array.prototype.{ indexOf, includes }` methods implementation
933 var createMethod$1 = function (IS_INCLUDES) {
934 return function ($this, el, fromIndex) {
935 var O = toIndexedObject$2($this);
936 var length = lengthOfArrayLike$2(O);
937 var index = toAbsoluteIndex(fromIndex, length);
938 var value;
939 // Array#includes uses SameValueZero equality algorithm
940 // eslint-disable-next-line no-self-compare -- NaN check
941 if (IS_INCLUDES && el != el) while (length > index) {
942 value = O[index++];
943 // eslint-disable-next-line no-self-compare -- NaN check
944 if (value != value) return true;
945 // Array#indexOf ignores holes, Array#includes - not
946 } else for (;length > index; index++) {
947 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
948 } return !IS_INCLUDES && -1;
949 };
950 };
951
952 var arrayIncludes = {
953 // `Array.prototype.includes` method
954 // https://tc39.es/ecma262/#sec-array.prototype.includes
955 includes: createMethod$1(true),
956 // `Array.prototype.indexOf` method
957 // https://tc39.es/ecma262/#sec-array.prototype.indexof
958 indexOf: createMethod$1(false)
959 };
960
961 var uncurryThis$6 = functionUncurryThis;
962 var hasOwn$1 = hasOwnProperty_1;
963 var toIndexedObject$1 = toIndexedObject$4;
964 var indexOf$1 = arrayIncludes.indexOf;
965 var hiddenKeys$2 = hiddenKeys$4;
966
967 var push$1 = uncurryThis$6([].push);
968
969 var objectKeysInternal = function (object, names) {
970 var O = toIndexedObject$1(object);
971 var i = 0;
972 var result = [];
973 var key;
974 for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
975 // Don't enum bug & hidden keys
976 while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
977 ~indexOf$1(result, key) || push$1(result, key);
978 }
979 return result;
980 };
981
982 // IE8- don't enum bug keys
983 var enumBugKeys$3 = [
984 'constructor',
985 'hasOwnProperty',
986 'isPrototypeOf',
987 'propertyIsEnumerable',
988 'toLocaleString',
989 'toString',
990 'valueOf'
991 ];
992
993 var internalObjectKeys$1 = objectKeysInternal;
994 var enumBugKeys$2 = enumBugKeys$3;
995
996 var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
997
998 // `Object.getOwnPropertyNames` method
999 // https://tc39.es/ecma262/#sec-object.getownpropertynames
1000 // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
1001 objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1002 return internalObjectKeys$1(O, hiddenKeys$1);
1003 };
1004
1005 var objectGetOwnPropertySymbols = {};
1006
1007 // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
1008 objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1009
1010 var getBuiltIn$2 = getBuiltIn$5;
1011 var uncurryThis$5 = functionUncurryThis;
1012 var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1013 var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1014 var anObject$5 = anObject$7;
1015
1016 var concat = uncurryThis$5([].concat);
1017
1018 // all object keys, includes non-enumerable and symbols
1019 var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
1020 var keys = getOwnPropertyNamesModule.f(anObject$5(it));
1021 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1022 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1023 };
1024
1025 var hasOwn = hasOwnProperty_1;
1026 var ownKeys = ownKeys$1;
1027 var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1028 var definePropertyModule$2 = objectDefineProperty;
1029
1030 var copyConstructorProperties$1 = function (target, source, exceptions) {
1031 var keys = ownKeys(source);
1032 var defineProperty = definePropertyModule$2.f;
1033 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1034 for (var i = 0; i < keys.length; i++) {
1035 var key = keys[i];
1036 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
1037 defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1038 }
1039 }
1040 };
1041
1042 var fails$7 = fails$f;
1043 var isCallable$3 = isCallable$d;
1044
1045 var replacement = /#|\.prototype\./;
1046
1047 var isForced$1 = function (feature, detection) {
1048 var value = data[normalize(feature)];
1049 return value == POLYFILL ? true
1050 : value == NATIVE ? false
1051 : isCallable$3(detection) ? fails$7(detection)
1052 : !!detection;
1053 };
1054
1055 var normalize = isForced$1.normalize = function (string) {
1056 return String(string).replace(replacement, '.').toLowerCase();
1057 };
1058
1059 var data = isForced$1.data = {};
1060 var NATIVE = isForced$1.NATIVE = 'N';
1061 var POLYFILL = isForced$1.POLYFILL = 'P';
1062
1063 var isForced_1 = isForced$1;
1064
1065 var global$4 = global$d;
1066 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1067 var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1068 var defineBuiltIn$2 = defineBuiltIn$3;
1069 var defineGlobalProperty = defineGlobalProperty$3;
1070 var copyConstructorProperties = copyConstructorProperties$1;
1071 var isForced = isForced_1;
1072
1073 /*
1074 options.target - name of the target object
1075 options.global - target is the global object
1076 options.stat - export as static methods of target
1077 options.proto - export as prototype methods of target
1078 options.real - real prototype method for the `pure` version
1079 options.forced - export even if the native feature is available
1080 options.bind - bind methods to the target, required for the `pure` version
1081 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1082 options.unsafe - use the simple assignment of property instead of delete + defineProperty
1083 options.sham - add a flag to not completely full polyfills
1084 options.enumerable - export as enumerable property
1085 options.dontCallGetSet - prevent calling a getter on target
1086 options.name - the .name of the function if it does not match the key
1087 */
1088 var _export = function (options, source) {
1089 var TARGET = options.target;
1090 var GLOBAL = options.global;
1091 var STATIC = options.stat;
1092 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1093 if (GLOBAL) {
1094 target = global$4;
1095 } else if (STATIC) {
1096 target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
1097 } else {
1098 target = (global$4[TARGET] || {}).prototype;
1099 }
1100 if (target) for (key in source) {
1101 sourceProperty = source[key];
1102 if (options.dontCallGetSet) {
1103 descriptor = getOwnPropertyDescriptor(target, key);
1104 targetProperty = descriptor && descriptor.value;
1105 } else targetProperty = target[key];
1106 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1107 // contained in target
1108 if (!FORCED && targetProperty !== undefined) {
1109 if (typeof sourceProperty == typeof targetProperty) continue;
1110 copyConstructorProperties(sourceProperty, targetProperty);
1111 }
1112 // add a flag to not completely full polyfills
1113 if (options.sham || (targetProperty && targetProperty.sham)) {
1114 createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1115 }
1116 defineBuiltIn$2(target, key, sourceProperty, options);
1117 }
1118 };
1119
1120 var classof$5 = classofRaw$1;
1121
1122 // `IsArray` abstract operation
1123 // https://tc39.es/ecma262/#sec-isarray
1124 // eslint-disable-next-line es-x/no-array-isarray -- safe
1125 var isArray$2 = Array.isArray || function isArray(argument) {
1126 return classof$5(argument) == 'Array';
1127 };
1128
1129 var $TypeError$1 = TypeError;
1130 var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1131
1132 var doesNotExceedSafeInteger$1 = function (it) {
1133 if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');
1134 return it;
1135 };
1136
1137 var toPropertyKey = toPropertyKey$3;
1138 var definePropertyModule$1 = objectDefineProperty;
1139 var createPropertyDescriptor = createPropertyDescriptor$3;
1140
1141 var createProperty$1 = function (object, key, value) {
1142 var propertyKey = toPropertyKey(key);
1143 if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value));
1144 else object[propertyKey] = value;
1145 };
1146
1147 var wellKnownSymbol$6 = wellKnownSymbol$8;
1148
1149 var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
1150 var test = {};
1151
1152 test[TO_STRING_TAG$1] = 'z';
1153
1154 var toStringTagSupport = String(test) === '[object z]';
1155
1156 var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
1157 var isCallable$2 = isCallable$d;
1158 var classofRaw = classofRaw$1;
1159 var wellKnownSymbol$5 = wellKnownSymbol$8;
1160
1161 var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
1162 var $Object = Object;
1163
1164 // ES3 wrong here
1165 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1166
1167 // fallback for IE11 Script Access Denied error
1168 var tryGet = function (it, key) {
1169 try {
1170 return it[key];
1171 } catch (error) { /* empty */ }
1172 };
1173
1174 // getting tag from ES6+ `Object.prototype.toString`
1175 var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
1176 var O, tag, result;
1177 return it === undefined ? 'Undefined' : it === null ? 'Null'
1178 // @@toStringTag case
1179 : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1180 // builtinTag case
1181 : CORRECT_ARGUMENTS ? classofRaw(O)
1182 // ES3 arguments fallback
1183 : (result = classofRaw(O)) == 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
1184 };
1185
1186 var uncurryThis$4 = functionUncurryThis;
1187 var fails$6 = fails$f;
1188 var isCallable$1 = isCallable$d;
1189 var classof$3 = classof$4;
1190 var getBuiltIn$1 = getBuiltIn$5;
1191 var inspectSource = inspectSource$3;
1192
1193 var noop = function () { /* empty */ };
1194 var empty = [];
1195 var construct = getBuiltIn$1('Reflect', 'construct');
1196 var constructorRegExp = /^\s*(?:class|function)\b/;
1197 var exec$1 = uncurryThis$4(constructorRegExp.exec);
1198 var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1199
1200 var isConstructorModern = function isConstructor(argument) {
1201 if (!isCallable$1(argument)) return false;
1202 try {
1203 construct(noop, empty, argument);
1204 return true;
1205 } catch (error) {
1206 return false;
1207 }
1208 };
1209
1210 var isConstructorLegacy = function isConstructor(argument) {
1211 if (!isCallable$1(argument)) return false;
1212 switch (classof$3(argument)) {
1213 case 'AsyncFunction':
1214 case 'GeneratorFunction':
1215 case 'AsyncGeneratorFunction': return false;
1216 }
1217 try {
1218 // we can't check .prototype since constructors produced by .bind haven't it
1219 // `Function#toString` throws on some built-it function in some legacy engines
1220 // (for example, `DOMQuad` and similar in FF41-)
1221 return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
1222 } catch (error) {
1223 return true;
1224 }
1225 };
1226
1227 isConstructorLegacy.sham = true;
1228
1229 // `IsConstructor` abstract operation
1230 // https://tc39.es/ecma262/#sec-isconstructor
1231 var isConstructor$1 = !construct || fails$6(function () {
1232 var called;
1233 return isConstructorModern(isConstructorModern.call)
1234 || !isConstructorModern(Object)
1235 || !isConstructorModern(function () { called = true; })
1236 || called;
1237 }) ? isConstructorLegacy : isConstructorModern;
1238
1239 var isArray$1 = isArray$2;
1240 var isConstructor = isConstructor$1;
1241 var isObject$1 = isObject$7;
1242 var wellKnownSymbol$4 = wellKnownSymbol$8;
1243
1244 var SPECIES$2 = wellKnownSymbol$4('species');
1245 var $Array = Array;
1246
1247 // a part of `ArraySpeciesCreate` abstract operation
1248 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1249 var arraySpeciesConstructor$1 = function (originalArray) {
1250 var C;
1251 if (isArray$1(originalArray)) {
1252 C = originalArray.constructor;
1253 // cross-realm fallback
1254 if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
1255 else if (isObject$1(C)) {
1256 C = C[SPECIES$2];
1257 if (C === null) C = undefined;
1258 }
1259 } return C === undefined ? $Array : C;
1260 };
1261
1262 var arraySpeciesConstructor = arraySpeciesConstructor$1;
1263
1264 // `ArraySpeciesCreate` abstract operation
1265 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1266 var arraySpeciesCreate$2 = function (originalArray, length) {
1267 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1268 };
1269
1270 var fails$5 = fails$f;
1271 var wellKnownSymbol$3 = wellKnownSymbol$8;
1272 var V8_VERSION$1 = engineV8Version;
1273
1274 var SPECIES$1 = wellKnownSymbol$3('species');
1275
1276 var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
1277 // We can't use this feature detection in V8 since it causes
1278 // deoptimization and serious performance degradation
1279 // https://github.com/zloirock/core-js/issues/677
1280 return V8_VERSION$1 >= 51 || !fails$5(function () {
1281 var array = [];
1282 var constructor = array.constructor = {};
1283 constructor[SPECIES$1] = function () {
1284 return { foo: 1 };
1285 };
1286 return array[METHOD_NAME](Boolean).foo !== 1;
1287 });
1288 };
1289
1290 var $$2 = _export;
1291 var fails$4 = fails$f;
1292 var isArray = isArray$2;
1293 var isObject = isObject$7;
1294 var toObject$1 = toObject$3;
1295 var lengthOfArrayLike$1 = lengthOfArrayLike$3;
1296 var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
1297 var createProperty = createProperty$1;
1298 var arraySpeciesCreate$1 = arraySpeciesCreate$2;
1299 var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
1300 var wellKnownSymbol$2 = wellKnownSymbol$8;
1301 var V8_VERSION = engineV8Version;
1302
1303 var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable');
1304
1305 // We can't use this feature detection in V8 since it causes
1306 // deoptimization and serious performance degradation
1307 // https://github.com/zloirock/core-js/issues/679
1308 var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$4(function () {
1309 var array = [];
1310 array[IS_CONCAT_SPREADABLE] = false;
1311 return array.concat()[0] !== array;
1312 });
1313
1314 var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
1315
1316 var isConcatSpreadable = function (O) {
1317 if (!isObject(O)) return false;
1318 var spreadable = O[IS_CONCAT_SPREADABLE];
1319 return spreadable !== undefined ? !!spreadable : isArray(O);
1320 };
1321
1322 var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
1323
1324 // `Array.prototype.concat` method
1325 // https://tc39.es/ecma262/#sec-array.prototype.concat
1326 // with adding support of @@isConcatSpreadable and @@species
1327 $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1328 // eslint-disable-next-line no-unused-vars -- required for `.length`
1329 concat: function concat(arg) {
1330 var O = toObject$1(this);
1331 var A = arraySpeciesCreate$1(O, 0);
1332 var n = 0;
1333 var i, k, length, len, E;
1334 for (i = -1, length = arguments.length; i < length; i++) {
1335 E = i === -1 ? O : arguments[i];
1336 if (isConcatSpreadable(E)) {
1337 len = lengthOfArrayLike$1(E);
1338 doesNotExceedSafeInteger(n + len);
1339 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1340 } else {
1341 doesNotExceedSafeInteger(n + 1);
1342 createProperty(A, n++, E);
1343 }
1344 }
1345 A.length = n;
1346 return A;
1347 }
1348 });
1349
1350 var uncurryThis$3 = functionUncurryThis;
1351 var aCallable = aCallable$2;
1352 var NATIVE_BIND = functionBindNative;
1353
1354 var bind$1 = uncurryThis$3(uncurryThis$3.bind);
1355
1356 // optional / simple context binding
1357 var functionBindContext = function (fn, that) {
1358 aCallable(fn);
1359 return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1360 return fn.apply(that, arguments);
1361 };
1362 };
1363
1364 var bind = functionBindContext;
1365 var uncurryThis$2 = functionUncurryThis;
1366 var IndexedObject = indexedObject;
1367 var toObject = toObject$3;
1368 var lengthOfArrayLike = lengthOfArrayLike$3;
1369 var arraySpeciesCreate = arraySpeciesCreate$2;
1370
1371 var push = uncurryThis$2([].push);
1372
1373 // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1374 var createMethod = function (TYPE) {
1375 var IS_MAP = TYPE == 1;
1376 var IS_FILTER = TYPE == 2;
1377 var IS_SOME = TYPE == 3;
1378 var IS_EVERY = TYPE == 4;
1379 var IS_FIND_INDEX = TYPE == 6;
1380 var IS_FILTER_REJECT = TYPE == 7;
1381 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1382 return function ($this, callbackfn, that, specificCreate) {
1383 var O = toObject($this);
1384 var self = IndexedObject(O);
1385 var boundFunction = bind(callbackfn, that);
1386 var length = lengthOfArrayLike(self);
1387 var index = 0;
1388 var create = specificCreate || arraySpeciesCreate;
1389 var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
1390 var value, result;
1391 for (;length > index; index++) if (NO_HOLES || index in self) {
1392 value = self[index];
1393 result = boundFunction(value, index, O);
1394 if (TYPE) {
1395 if (IS_MAP) target[index] = result; // map
1396 else if (result) switch (TYPE) {
1397 case 3: return true; // some
1398 case 5: return value; // find
1399 case 6: return index; // findIndex
1400 case 2: push(target, value); // filter
1401 } else switch (TYPE) {
1402 case 4: return false; // every
1403 case 7: push(target, value); // filterReject
1404 }
1405 }
1406 }
1407 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1408 };
1409 };
1410
1411 var arrayIteration = {
1412 // `Array.prototype.forEach` method
1413 // https://tc39.es/ecma262/#sec-array.prototype.foreach
1414 forEach: createMethod(0),
1415 // `Array.prototype.map` method
1416 // https://tc39.es/ecma262/#sec-array.prototype.map
1417 map: createMethod(1),
1418 // `Array.prototype.filter` method
1419 // https://tc39.es/ecma262/#sec-array.prototype.filter
1420 filter: createMethod(2),
1421 // `Array.prototype.some` method
1422 // https://tc39.es/ecma262/#sec-array.prototype.some
1423 some: createMethod(3),
1424 // `Array.prototype.every` method
1425 // https://tc39.es/ecma262/#sec-array.prototype.every
1426 every: createMethod(4),
1427 // `Array.prototype.find` method
1428 // https://tc39.es/ecma262/#sec-array.prototype.find
1429 find: createMethod(5),
1430 // `Array.prototype.findIndex` method
1431 // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1432 findIndex: createMethod(6),
1433 // `Array.prototype.filterReject` method
1434 // https://github.com/tc39/proposal-array-filtering
1435 filterReject: createMethod(7)
1436 };
1437
1438 var objectDefineProperties = {};
1439
1440 var internalObjectKeys = objectKeysInternal;
1441 var enumBugKeys$1 = enumBugKeys$3;
1442
1443 // `Object.keys` method
1444 // https://tc39.es/ecma262/#sec-object.keys
1445 // eslint-disable-next-line es-x/no-object-keys -- safe
1446 var objectKeys$1 = Object.keys || function keys(O) {
1447 return internalObjectKeys(O, enumBugKeys$1);
1448 };
1449
1450 var DESCRIPTORS = descriptors;
1451 var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1452 var definePropertyModule = objectDefineProperty;
1453 var anObject$4 = anObject$7;
1454 var toIndexedObject = toIndexedObject$4;
1455 var objectKeys = objectKeys$1;
1456
1457 // `Object.defineProperties` method
1458 // https://tc39.es/ecma262/#sec-object.defineproperties
1459 // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1460 objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1461 anObject$4(O);
1462 var props = toIndexedObject(Properties);
1463 var keys = objectKeys(Properties);
1464 var length = keys.length;
1465 var index = 0;
1466 var key;
1467 while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1468 return O;
1469 };
1470
1471 var getBuiltIn = getBuiltIn$5;
1472
1473 var html$1 = getBuiltIn('document', 'documentElement');
1474
1475 /* global ActiveXObject -- old IE, WSH */
1476
1477 var anObject$3 = anObject$7;
1478 var definePropertiesModule = objectDefineProperties;
1479 var enumBugKeys = enumBugKeys$3;
1480 var hiddenKeys = hiddenKeys$4;
1481 var html = html$1;
1482 var documentCreateElement = documentCreateElement$1;
1483 var sharedKey = sharedKey$2;
1484
1485 var GT = '>';
1486 var LT = '<';
1487 var PROTOTYPE = 'prototype';
1488 var SCRIPT = 'script';
1489 var IE_PROTO = sharedKey('IE_PROTO');
1490
1491 var EmptyConstructor = function () { /* empty */ };
1492
1493 var scriptTag = function (content) {
1494 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1495 };
1496
1497 // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1498 var NullProtoObjectViaActiveX = function (activeXDocument) {
1499 activeXDocument.write(scriptTag(''));
1500 activeXDocument.close();
1501 var temp = activeXDocument.parentWindow.Object;
1502 activeXDocument = null; // avoid memory leak
1503 return temp;
1504 };
1505
1506 // Create object with fake `null` prototype: use iframe Object with cleared prototype
1507 var NullProtoObjectViaIFrame = function () {
1508 // Thrash, waste and sodomy: IE GC bug
1509 var iframe = documentCreateElement('iframe');
1510 var JS = 'java' + SCRIPT + ':';
1511 var iframeDocument;
1512 iframe.style.display = 'none';
1513 html.appendChild(iframe);
1514 // https://github.com/zloirock/core-js/issues/475
1515 iframe.src = String(JS);
1516 iframeDocument = iframe.contentWindow.document;
1517 iframeDocument.open();
1518 iframeDocument.write(scriptTag('document.F=Object'));
1519 iframeDocument.close();
1520 return iframeDocument.F;
1521 };
1522
1523 // Check for document.domain and active x support
1524 // No need to use active x approach when document.domain is not set
1525 // see https://github.com/es-shims/es5-shim/issues/150
1526 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1527 // avoid IE GC bug
1528 var activeXDocument;
1529 var NullProtoObject = function () {
1530 try {
1531 activeXDocument = new ActiveXObject('htmlfile');
1532 } catch (error) { /* ignore */ }
1533 NullProtoObject = typeof document != 'undefined'
1534 ? document.domain && activeXDocument
1535 ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1536 : NullProtoObjectViaIFrame()
1537 : NullProtoObjectViaActiveX(activeXDocument); // WSH
1538 var length = enumBugKeys.length;
1539 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1540 return NullProtoObject();
1541 };
1542
1543 hiddenKeys[IE_PROTO] = true;
1544
1545 // `Object.create` method
1546 // https://tc39.es/ecma262/#sec-object.create
1547 // eslint-disable-next-line es-x/no-object-create -- safe
1548 var objectCreate = Object.create || function create(O, Properties) {
1549 var result;
1550 if (O !== null) {
1551 EmptyConstructor[PROTOTYPE] = anObject$3(O);
1552 result = new EmptyConstructor();
1553 EmptyConstructor[PROTOTYPE] = null;
1554 // add "__proto__" for Object.getPrototypeOf polyfill
1555 result[IE_PROTO] = O;
1556 } else result = NullProtoObject();
1557 return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1558 };
1559
1560 var wellKnownSymbol$1 = wellKnownSymbol$8;
1561 var create$1 = objectCreate;
1562 var defineProperty = objectDefineProperty.f;
1563
1564 var UNSCOPABLES = wellKnownSymbol$1('unscopables');
1565 var ArrayPrototype = Array.prototype;
1566
1567 // Array.prototype[@@unscopables]
1568 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1569 if (ArrayPrototype[UNSCOPABLES] == undefined) {
1570 defineProperty(ArrayPrototype, UNSCOPABLES, {
1571 configurable: true,
1572 value: create$1(null)
1573 });
1574 }
1575
1576 // add a key to Array.prototype[@@unscopables]
1577 var addToUnscopables$1 = function (key) {
1578 ArrayPrototype[UNSCOPABLES][key] = true;
1579 };
1580
1581 var $$1 = _export;
1582 var $find = arrayIteration.find;
1583 var addToUnscopables = addToUnscopables$1;
1584
1585 var FIND = 'find';
1586 var SKIPS_HOLES = true;
1587
1588 // Shouldn't skip holes
1589 if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
1590
1591 // `Array.prototype.find` method
1592 // https://tc39.es/ecma262/#sec-array.prototype.find
1593 $$1({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
1594 find: function find(callbackfn /* , that = undefined */) {
1595 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1596 }
1597 });
1598
1599 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1600 addToUnscopables(FIND);
1601
1602 var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
1603 var classof$2 = classof$4;
1604
1605 // `Object.prototype.toString` method implementation
1606 // https://tc39.es/ecma262/#sec-object.prototype.tostring
1607 var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1608 return '[object ' + classof$2(this) + ']';
1609 };
1610
1611 var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1612 var defineBuiltIn$1 = defineBuiltIn$3;
1613 var toString$3 = objectToString;
1614
1615 // `Object.prototype.toString` method
1616 // https://tc39.es/ecma262/#sec-object.prototype.tostring
1617 if (!TO_STRING_TAG_SUPPORT) {
1618 defineBuiltIn$1(Object.prototype, 'toString', toString$3, { unsafe: true });
1619 }
1620
1621 var classof$1 = classof$4;
1622
1623 var $String = String;
1624
1625 var toString$2 = function (argument) {
1626 if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1627 return $String(argument);
1628 };
1629
1630 var anObject$2 = anObject$7;
1631
1632 // `RegExp.prototype.flags` getter implementation
1633 // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1634 var regexpFlags$1 = function () {
1635 var that = anObject$2(this);
1636 var result = '';
1637 if (that.hasIndices) result += 'd';
1638 if (that.global) result += 'g';
1639 if (that.ignoreCase) result += 'i';
1640 if (that.multiline) result += 'm';
1641 if (that.dotAll) result += 's';
1642 if (that.unicode) result += 'u';
1643 if (that.sticky) result += 'y';
1644 return result;
1645 };
1646
1647 var fails$3 = fails$f;
1648 var global$3 = global$d;
1649
1650 // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1651 var $RegExp$2 = global$3.RegExp;
1652
1653 var UNSUPPORTED_Y$1 = fails$3(function () {
1654 var re = $RegExp$2('a', 'y');
1655 re.lastIndex = 2;
1656 return re.exec('abcd') != null;
1657 });
1658
1659 // UC Browser bug
1660 // https://github.com/zloirock/core-js/issues/1008
1661 var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$3(function () {
1662 return !$RegExp$2('a', 'y').sticky;
1663 });
1664
1665 var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
1666 // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
1667 var re = $RegExp$2('^r', 'gy');
1668 re.lastIndex = 2;
1669 return re.exec('str') != null;
1670 });
1671
1672 var regexpStickyHelpers = {
1673 BROKEN_CARET: BROKEN_CARET,
1674 MISSED_STICKY: MISSED_STICKY,
1675 UNSUPPORTED_Y: UNSUPPORTED_Y$1
1676 };
1677
1678 var fails$2 = fails$f;
1679 var global$2 = global$d;
1680
1681 // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1682 var $RegExp$1 = global$2.RegExp;
1683
1684 var regexpUnsupportedDotAll = fails$2(function () {
1685 var re = $RegExp$1('.', 's');
1686 return !(re.dotAll && re.exec('\n') && re.flags === 's');
1687 });
1688
1689 var fails$1 = fails$f;
1690 var global$1 = global$d;
1691
1692 // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1693 var $RegExp = global$1.RegExp;
1694
1695 var regexpUnsupportedNcg = fails$1(function () {
1696 var re = $RegExp('(?<a>b)', 'g');
1697 return re.exec('b').groups.a !== 'b' ||
1698 'b'.replace(re, '$<a>c') !== 'bc';
1699 });
1700
1701 /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1702 /* eslint-disable regexp/no-useless-quantifier -- testing */
1703 var call$2 = functionCall;
1704 var uncurryThis$1 = functionUncurryThis;
1705 var toString$1 = toString$2;
1706 var regexpFlags = regexpFlags$1;
1707 var stickyHelpers = regexpStickyHelpers;
1708 var shared = shared$4.exports;
1709 var create = objectCreate;
1710 var getInternalState = internalState.get;
1711 var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
1712 var UNSUPPORTED_NCG = regexpUnsupportedNcg;
1713
1714 var nativeReplace = shared('native-string-replace', String.prototype.replace);
1715 var nativeExec = RegExp.prototype.exec;
1716 var patchedExec = nativeExec;
1717 var charAt = uncurryThis$1(''.charAt);
1718 var indexOf = uncurryThis$1(''.indexOf);
1719 var replace = uncurryThis$1(''.replace);
1720 var stringSlice = uncurryThis$1(''.slice);
1721
1722 var UPDATES_LAST_INDEX_WRONG = (function () {
1723 var re1 = /a/;
1724 var re2 = /b*/g;
1725 call$2(nativeExec, re1, 'a');
1726 call$2(nativeExec, re2, 'a');
1727 return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1728 })();
1729
1730 var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
1731
1732 // nonparticipating capturing group, copied from es5-shim's String#split patch.
1733 var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
1734
1735 var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
1736
1737 if (PATCH) {
1738 patchedExec = function exec(string) {
1739 var re = this;
1740 var state = getInternalState(re);
1741 var str = toString$1(string);
1742 var raw = state.raw;
1743 var result, reCopy, lastIndex, match, i, object, group;
1744
1745 if (raw) {
1746 raw.lastIndex = re.lastIndex;
1747 result = call$2(patchedExec, raw, str);
1748 re.lastIndex = raw.lastIndex;
1749 return result;
1750 }
1751
1752 var groups = state.groups;
1753 var sticky = UNSUPPORTED_Y && re.sticky;
1754 var flags = call$2(regexpFlags, re);
1755 var source = re.source;
1756 var charsAdded = 0;
1757 var strCopy = str;
1758
1759 if (sticky) {
1760 flags = replace(flags, 'y', '');
1761 if (indexOf(flags, 'g') === -1) {
1762 flags += 'g';
1763 }
1764
1765 strCopy = stringSlice(str, re.lastIndex);
1766 // Support anchored sticky behavior.
1767 if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
1768 source = '(?: ' + source + ')';
1769 strCopy = ' ' + strCopy;
1770 charsAdded++;
1771 }
1772 // ^(? + rx + ) is needed, in combination with some str slicing, to
1773 // simulate the 'y' flag.
1774 reCopy = new RegExp('^(?:' + source + ')', flags);
1775 }
1776
1777 if (NPCG_INCLUDED) {
1778 reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
1779 }
1780 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1781
1782 match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
1783
1784 if (sticky) {
1785 if (match) {
1786 match.input = stringSlice(match.input, charsAdded);
1787 match[0] = stringSlice(match[0], charsAdded);
1788 match.index = re.lastIndex;
1789 re.lastIndex += match[0].length;
1790 } else re.lastIndex = 0;
1791 } else if (UPDATES_LAST_INDEX_WRONG && match) {
1792 re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
1793 }
1794 if (NPCG_INCLUDED && match && match.length > 1) {
1795 // Fix browsers whose `exec` methods don't consistently return `undefined`
1796 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1797 call$2(nativeReplace, match[0], reCopy, function () {
1798 for (i = 1; i < arguments.length - 2; i++) {
1799 if (arguments[i] === undefined) match[i] = undefined;
1800 }
1801 });
1802 }
1803
1804 if (match && groups) {
1805 match.groups = object = create(null);
1806 for (i = 0; i < groups.length; i++) {
1807 group = groups[i];
1808 object[group[0]] = match[group[1]];
1809 }
1810 }
1811
1812 return match;
1813 };
1814 }
1815
1816 var regexpExec$2 = patchedExec;
1817
1818 var $ = _export;
1819 var exec = regexpExec$2;
1820
1821 // `RegExp.prototype.exec` method
1822 // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1823 $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
1824 exec: exec
1825 });
1826
1827 // TODO: Remove from `core-js@4` since it's moved to entry points
1828
1829 var uncurryThis = functionUncurryThis;
1830 var defineBuiltIn = defineBuiltIn$3;
1831 var regexpExec$1 = regexpExec$2;
1832 var fails = fails$f;
1833 var wellKnownSymbol = wellKnownSymbol$8;
1834 var createNonEnumerableProperty = createNonEnumerableProperty$4;
1835
1836 var SPECIES = wellKnownSymbol('species');
1837 var RegExpPrototype = RegExp.prototype;
1838
1839 var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1840 var SYMBOL = wellKnownSymbol(KEY);
1841
1842 var DELEGATES_TO_SYMBOL = !fails(function () {
1843 // String methods call symbol-named RegEp methods
1844 var O = {};
1845 O[SYMBOL] = function () { return 7; };
1846 return ''[KEY](O) != 7;
1847 });
1848
1849 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
1850 // Symbol-named RegExp methods call .exec
1851 var execCalled = false;
1852 var re = /a/;
1853
1854 if (KEY === 'split') {
1855 // We can't use real regex here since it causes deoptimization
1856 // and serious performance degradation in V8
1857 // https://github.com/zloirock/core-js/issues/306
1858 re = {};
1859 // RegExp[@@split] doesn't call the regex's exec method, but first creates
1860 // a new one. We need to return the patched regex when creating the new one.
1861 re.constructor = {};
1862 re.constructor[SPECIES] = function () { return re; };
1863 re.flags = '';
1864 re[SYMBOL] = /./[SYMBOL];
1865 }
1866
1867 re.exec = function () { execCalled = true; return null; };
1868
1869 re[SYMBOL]('');
1870 return !execCalled;
1871 });
1872
1873 if (
1874 !DELEGATES_TO_SYMBOL ||
1875 !DELEGATES_TO_EXEC ||
1876 FORCED
1877 ) {
1878 var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
1879 var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
1880 var uncurriedNativeMethod = uncurryThis(nativeMethod);
1881 var $exec = regexp.exec;
1882 if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
1883 if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1884 // The native String method already delegates to @@method (this
1885 // polyfilled function), leasing to infinite recursion.
1886 // We avoid it by directly calling the native @@method method.
1887 return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
1888 }
1889 return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
1890 }
1891 return { done: false };
1892 });
1893
1894 defineBuiltIn(String.prototype, KEY, methods[0]);
1895 defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
1896 }
1897
1898 if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
1899 };
1900
1901 // `SameValue` abstract operation
1902 // https://tc39.es/ecma262/#sec-samevalue
1903 // eslint-disable-next-line es-x/no-object-is -- safe
1904 var sameValue$1 = Object.is || function is(x, y) {
1905 // eslint-disable-next-line no-self-compare -- NaN check
1906 return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
1907 };
1908
1909 var call$1 = functionCall;
1910 var anObject$1 = anObject$7;
1911 var isCallable = isCallable$d;
1912 var classof = classofRaw$1;
1913 var regexpExec = regexpExec$2;
1914
1915 var $TypeError = TypeError;
1916
1917 // `RegExpExec` abstract operation
1918 // https://tc39.es/ecma262/#sec-regexpexec
1919 var regexpExecAbstract = function (R, S) {
1920 var exec = R.exec;
1921 if (isCallable(exec)) {
1922 var result = call$1(exec, R, S);
1923 if (result !== null) anObject$1(result);
1924 return result;
1925 }
1926 if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
1927 throw $TypeError('RegExp#exec called on incompatible receiver');
1928 };
1929
1930 var call = functionCall;
1931 var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
1932 var anObject = anObject$7;
1933 var requireObjectCoercible = requireObjectCoercible$3;
1934 var sameValue = sameValue$1;
1935 var toString = toString$2;
1936 var getMethod = getMethod$2;
1937 var regExpExec = regexpExecAbstract;
1938
1939 // @@search logic
1940 fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
1941 return [
1942 // `String.prototype.search` method
1943 // https://tc39.es/ecma262/#sec-string.prototype.search
1944 function search(regexp) {
1945 var O = requireObjectCoercible(this);
1946 var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);
1947 return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
1948 },
1949 // `RegExp.prototype[@@search]` method
1950 // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
1951 function (string) {
1952 var rx = anObject(this);
1953 var S = toString(string);
1954 var res = maybeCallNative(nativeSearch, rx, S);
1955
1956 if (res.done) return res.value;
1957
1958 var previousLastIndex = rx.lastIndex;
1959 if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
1960 var result = regExpExec(rx, S);
1961 if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
1962 return result === null ? -1 : result.index;
1963 }
1964 ];
1965 });
1966
1967 /**
1968 * @author: Dennis Hernández
1969 * @update zhixin wen <wenzhixin2010@gmail.com>
1970 */
1971
1972 var Utils = $__default["default"].fn.bootstrapTable.utils;
1973 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1974 keyEvents: false
1975 });
1976
1977 $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1978 _inherits(_class, _$$BootstrapTable);
1979
1980 var _super = _createSuper(_class);
1981
1982 function _class() {
1983 _classCallCheck(this, _class);
1984
1985 return _super.apply(this, arguments);
1986 }
1987
1988 _createClass(_class, [{
1989 key: "init",
1990 value: function init() {
1991 var _get2;
1992
1993 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1994 args[_key] = arguments[_key];
1995 }
1996
1997 (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));
1998
1999 if (this.options.keyEvents) {
2000 this.initKeyEvents();
2001 }
2002 }
2003 }, {
2004 key: "initKeyEvents",
2005 value: function initKeyEvents() {
2006 var _this = this;
2007
2008 $__default["default"](document).off('keydown').on('keydown', function (e) {
2009 var $search = Utils.getSearchInput(_this);
2010
2011 var $refresh = _this.$toolbar.find('button[name="refresh"]');
2012
2013 var $toggle = _this.$toolbar.find('button[name="toggle"]');
2014
2015 var $paginationSwitch = _this.$toolbar.find('button[name="paginationSwitch"]');
2016
2017 if (document.activeElement === $search.get(0) || !$__default["default"].contains(document.activeElement, _this.$toolbar.get(0))) {
2018 return true;
2019 }
2020
2021 switch (e.keyCode) {
2022 case 83:
2023 // s
2024 if (!_this.options.search) {
2025 return;
2026 }
2027
2028 $search.focus();
2029 return false;
2030
2031 case 82:
2032 // r
2033 if (!_this.options.showRefresh) {
2034 return;
2035 }
2036
2037 $refresh.click();
2038 return false;
2039
2040 case 84:
2041 // t
2042 if (!_this.options.showToggle) {
2043 return;
2044 }
2045
2046 $toggle.click();
2047 return false;
2048
2049 case 80:
2050 // p
2051 if (!_this.options.showPaginationSwitch) {
2052 return;
2053 }
2054
2055 $paginationSwitch.click();
2056 return false;
2057
2058 case 37:
2059 // left
2060 if (!_this.options.pagination) {
2061 return;
2062 }
2063
2064 _this.prevPage();
2065
2066 return false;
2067
2068 case 39:
2069 // right
2070 if (!_this.options.pagination) {
2071 return;
2072 }
2073
2074 _this.nextPage();
2075
2076 return;
2077 }
2078 });
2079 }
2080 }]);
2081
2082 return _class;
2083 }($__default["default"].BootstrapTable);
2084
2085}));