UNPKG

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