UNPKG

84.5 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 ($$7) { 'use strict';
6
7 function _typeof(obj) {
8 "@babel/helpers - typeof";
9
10 return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
11 return typeof obj;
12 } : function (obj) {
13 return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
14 }, _typeof(obj);
15 }
16 function _classCallCheck(instance, Constructor) {
17 if (!(instance instanceof Constructor)) {
18 throw new TypeError("Cannot call a class as a function");
19 }
20 }
21 function _defineProperties(target, props) {
22 for (var i = 0; i < props.length; i++) {
23 var descriptor = props[i];
24 descriptor.enumerable = descriptor.enumerable || false;
25 descriptor.configurable = true;
26 if ("value" in descriptor) descriptor.writable = true;
27 Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
28 }
29 }
30 function _createClass(Constructor, protoProps, staticProps) {
31 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
32 if (staticProps) _defineProperties(Constructor, staticProps);
33 Object.defineProperty(Constructor, "prototype", {
34 writable: false
35 });
36 return Constructor;
37 }
38 function _inherits(subClass, superClass) {
39 if (typeof superClass !== "function" && superClass !== null) {
40 throw new TypeError("Super expression must either be null or a function");
41 }
42 subClass.prototype = Object.create(superClass && superClass.prototype, {
43 constructor: {
44 value: subClass,
45 writable: true,
46 configurable: true
47 }
48 });
49 Object.defineProperty(subClass, "prototype", {
50 writable: false
51 });
52 if (superClass) _setPrototypeOf(subClass, superClass);
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 function _setPrototypeOf(o, p) {
61 _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
62 o.__proto__ = p;
63 return o;
64 };
65 return _setPrototypeOf(o, p);
66 }
67 function _isNativeReflectConstruct() {
68 if (typeof Reflect === "undefined" || !Reflect.construct) return false;
69 if (Reflect.construct.sham) return false;
70 if (typeof Proxy === "function") return true;
71 try {
72 Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
73 return true;
74 } catch (e) {
75 return false;
76 }
77 }
78 function _assertThisInitialized(self) {
79 if (self === void 0) {
80 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
81 }
82 return self;
83 }
84 function _possibleConstructorReturn(self, call) {
85 if (call && (typeof call === "object" || typeof call === "function")) {
86 return call;
87 } else if (call !== void 0) {
88 throw new TypeError("Derived constructors may only return object or undefined");
89 }
90 return _assertThisInitialized(self);
91 }
92 function _createSuper(Derived) {
93 var hasNativeReflectConstruct = _isNativeReflectConstruct();
94 return function _createSuperInternal() {
95 var Super = _getPrototypeOf(Derived),
96 result;
97 if (hasNativeReflectConstruct) {
98 var NewTarget = _getPrototypeOf(this).constructor;
99 result = Reflect.construct(Super, arguments, NewTarget);
100 } else {
101 result = Super.apply(this, arguments);
102 }
103 return _possibleConstructorReturn(this, result);
104 };
105 }
106 function _superPropBase(object, property) {
107 while (!Object.prototype.hasOwnProperty.call(object, property)) {
108 object = _getPrototypeOf(object);
109 if (object === null) break;
110 }
111 return object;
112 }
113 function _get() {
114 if (typeof Reflect !== "undefined" && Reflect.get) {
115 _get = Reflect.get.bind();
116 } else {
117 _get = function _get(target, property, receiver) {
118 var base = _superPropBase(target, property);
119 if (!base) return;
120 var desc = Object.getOwnPropertyDescriptor(base, property);
121 if (desc.get) {
122 return desc.get.call(arguments.length < 3 ? target : receiver);
123 }
124 return desc.value;
125 };
126 }
127 return _get.apply(this, arguments);
128 }
129 function _toPrimitive(input, hint) {
130 if (typeof input !== "object" || input === null) return input;
131 var prim = input[Symbol.toPrimitive];
132 if (prim !== undefined) {
133 var res = prim.call(input, hint || "default");
134 if (typeof res !== "object") return res;
135 throw new TypeError("@@toPrimitive must return a primitive value.");
136 }
137 return (hint === "string" ? String : Number)(input);
138 }
139 function _toPropertyKey(arg) {
140 var key = _toPrimitive(arg, "string");
141 return typeof key === "symbol" ? key : String(key);
142 }
143
144 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
145
146 var check = function (it) {
147 return it && it.Math == Math && it;
148 };
149
150 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
151 var global$b =
152 // eslint-disable-next-line es/no-global-this -- safe
153 check(typeof globalThis == 'object' && globalThis) ||
154 check(typeof window == 'object' && window) ||
155 // eslint-disable-next-line no-restricted-globals -- safe
156 check(typeof self == 'object' && self) ||
157 check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
158 // eslint-disable-next-line no-new-func -- fallback
159 (function () { return this; })() || Function('return this')();
160
161 var sharedExports = {};
162 var shared$3 = {
163 get exports(){ return sharedExports; },
164 set exports(v){ sharedExports = v; },
165 };
166
167 var global$a = global$b;
168
169 // eslint-disable-next-line es/no-object-defineproperty -- safe
170 var defineProperty$4 = Object.defineProperty;
171
172 var defineGlobalProperty$3 = function (key, value) {
173 try {
174 defineProperty$4(global$a, key, { value: value, configurable: true, writable: true });
175 } catch (error) {
176 global$a[key] = value;
177 } return value;
178 };
179
180 var global$9 = global$b;
181 var defineGlobalProperty$2 = defineGlobalProperty$3;
182
183 var SHARED = '__core-js_shared__';
184 var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
185
186 var sharedStore = store$3;
187
188 var store$2 = sharedStore;
189
190 (shared$3.exports = function (key, value) {
191 return store$2[key] || (store$2[key] = value !== undefined ? value : {});
192 })('versions', []).push({
193 version: '3.29.0',
194 mode: 'global',
195 copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
196 license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
197 source: 'https://github.com/zloirock/core-js'
198 });
199
200 var fails$e = function (exec) {
201 try {
202 return !!exec();
203 } catch (error) {
204 return true;
205 }
206 };
207
208 var fails$d = fails$e;
209
210 var functionBindNative = !fails$d(function () {
211 // eslint-disable-next-line es/no-function-prototype-bind -- safe
212 var test = (function () { /* empty */ }).bind();
213 // eslint-disable-next-line no-prototype-builtins -- safe
214 return typeof test != 'function' || test.hasOwnProperty('prototype');
215 });
216
217 var NATIVE_BIND$2 = functionBindNative;
218
219 var FunctionPrototype$2 = Function.prototype;
220 var call$5 = FunctionPrototype$2.call;
221 var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$5, call$5);
222
223 var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
224 return function () {
225 return call$5.apply(fn, arguments);
226 };
227 };
228
229 // we can't use just `it == null` since of `document.all` special case
230 // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
231 var isNullOrUndefined$2 = function (it) {
232 return it === null || it === undefined;
233 };
234
235 var isNullOrUndefined$1 = isNullOrUndefined$2;
236
237 var $TypeError$7 = TypeError;
238
239 // `RequireObjectCoercible` abstract operation
240 // https://tc39.es/ecma262/#sec-requireobjectcoercible
241 var requireObjectCoercible$2 = function (it) {
242 if (isNullOrUndefined$1(it)) throw $TypeError$7("Can't call method on " + it);
243 return it;
244 };
245
246 var requireObjectCoercible$1 = requireObjectCoercible$2;
247
248 var $Object$3 = Object;
249
250 // `ToObject` abstract operation
251 // https://tc39.es/ecma262/#sec-toobject
252 var toObject$5 = function (argument) {
253 return $Object$3(requireObjectCoercible$1(argument));
254 };
255
256 var uncurryThis$h = functionUncurryThis;
257 var toObject$4 = toObject$5;
258
259 var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);
260
261 // `HasOwnProperty` abstract operation
262 // https://tc39.es/ecma262/#sec-hasownproperty
263 // eslint-disable-next-line es/no-object-hasown -- safe
264 var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
265 return hasOwnProperty(toObject$4(it), key);
266 };
267
268 var uncurryThis$g = functionUncurryThis;
269
270 var id = 0;
271 var postfix = Math.random();
272 var toString$4 = uncurryThis$g(1.0.toString);
273
274 var uid$2 = function (key) {
275 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
276 };
277
278 var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
279
280 var global$8 = global$b;
281 var userAgent$2 = engineUserAgent;
282
283 var process = global$8.process;
284 var Deno = global$8.Deno;
285 var versions = process && process.versions || Deno && Deno.version;
286 var v8 = versions && versions.v8;
287 var match, version;
288
289 if (v8) {
290 match = v8.split('.');
291 // in old Chrome, versions of V8 isn't V8 = Chrome / 10
292 // but their correct versions are not interesting for us
293 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
294 }
295
296 // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
297 // so check `userAgent` even if `.v8` exists, but 0
298 if (!version && userAgent$2) {
299 match = userAgent$2.match(/Edge\/(\d+)/);
300 if (!match || match[1] >= 74) {
301 match = userAgent$2.match(/Chrome\/(\d+)/);
302 if (match) version = +match[1];
303 }
304 }
305
306 var engineV8Version = version;
307
308 /* eslint-disable es/no-symbol -- required for testing */
309
310 var V8_VERSION$2 = engineV8Version;
311 var fails$c = fails$e;
312
313 // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
314 var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
315 var symbol = Symbol();
316 // Chrome 38 Symbol has incorrect toString conversion
317 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
318 return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
319 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
320 !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
321 });
322
323 /* eslint-disable es/no-symbol -- required for testing */
324
325 var NATIVE_SYMBOL$1 = symbolConstructorDetection;
326
327 var useSymbolAsUid = NATIVE_SYMBOL$1
328 && !Symbol.sham
329 && typeof Symbol.iterator == 'symbol';
330
331 var global$7 = global$b;
332 var shared$2 = sharedExports;
333 var hasOwn$6 = hasOwnProperty_1;
334 var uid$1 = uid$2;
335 var NATIVE_SYMBOL = symbolConstructorDetection;
336 var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
337
338 var Symbol$1 = global$7.Symbol;
339 var WellKnownSymbolsStore = shared$2('wks');
340 var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
341
342 var wellKnownSymbol$8 = function (name) {
343 if (!hasOwn$6(WellKnownSymbolsStore, name)) {
344 WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
345 ? Symbol$1[name]
346 : createWellKnownSymbol('Symbol.' + name);
347 } return WellKnownSymbolsStore[name];
348 };
349
350 var wellKnownSymbol$7 = wellKnownSymbol$8;
351
352 var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');
353 var test$1 = {};
354
355 test$1[TO_STRING_TAG$1] = 'z';
356
357 var toStringTagSupport = String(test$1) === '[object z]';
358
359 var documentAll$2 = typeof document == 'object' && document.all;
360
361 // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
362 // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
363 var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
364
365 var documentAll_1 = {
366 all: documentAll$2,
367 IS_HTMLDDA: IS_HTMLDDA
368 };
369
370 var $documentAll$1 = documentAll_1;
371
372 var documentAll$1 = $documentAll$1.all;
373
374 // `IsCallable` abstract operation
375 // https://tc39.es/ecma262/#sec-iscallable
376 var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {
377 return typeof argument == 'function' || argument === documentAll$1;
378 } : function (argument) {
379 return typeof argument == 'function';
380 };
381
382 var objectDefineProperty = {};
383
384 var fails$b = fails$e;
385
386 // Detect IE8's incomplete defineProperty implementation
387 var descriptors = !fails$b(function () {
388 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
389 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
390 });
391
392 var isCallable$b = isCallable$c;
393 var $documentAll = documentAll_1;
394
395 var documentAll = $documentAll.all;
396
397 var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
398 return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
399 } : function (it) {
400 return typeof it == 'object' ? it !== null : isCallable$b(it);
401 };
402
403 var global$6 = global$b;
404 var isObject$7 = isObject$8;
405
406 var document$1 = global$6.document;
407 // typeof document.createElement is 'object' in old IE
408 var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
409
410 var documentCreateElement$2 = function (it) {
411 return EXISTS$1 ? document$1.createElement(it) : {};
412 };
413
414 var DESCRIPTORS$9 = descriptors;
415 var fails$a = fails$e;
416 var createElement = documentCreateElement$2;
417
418 // Thanks to IE8 for its funny defineProperty
419 var ie8DomDefine = !DESCRIPTORS$9 && !fails$a(function () {
420 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
421 return Object.defineProperty(createElement('div'), 'a', {
422 get: function () { return 7; }
423 }).a != 7;
424 });
425
426 var DESCRIPTORS$8 = descriptors;
427 var fails$9 = fails$e;
428
429 // V8 ~ Chrome 36-
430 // https://bugs.chromium.org/p/v8/issues/detail?id=3334
431 var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$9(function () {
432 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
433 return Object.defineProperty(function () { /* empty */ }, 'prototype', {
434 value: 42,
435 writable: false
436 }).prototype != 42;
437 });
438
439 var isObject$6 = isObject$8;
440
441 var $String$3 = String;
442 var $TypeError$6 = TypeError;
443
444 // `Assert: Type(argument) is Object`
445 var anObject$4 = function (argument) {
446 if (isObject$6(argument)) return argument;
447 throw $TypeError$6($String$3(argument) + ' is not an object');
448 };
449
450 var NATIVE_BIND$1 = functionBindNative;
451
452 var call$4 = Function.prototype.call;
453
454 var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
455 return call$4.apply(call$4, arguments);
456 };
457
458 var global$5 = global$b;
459 var isCallable$a = isCallable$c;
460
461 var aFunction = function (argument) {
462 return isCallable$a(argument) ? argument : undefined;
463 };
464
465 var getBuiltIn$4 = function (namespace, method) {
466 return arguments.length < 2 ? aFunction(global$5[namespace]) : global$5[namespace] && global$5[namespace][method];
467 };
468
469 var uncurryThis$f = functionUncurryThis;
470
471 var objectIsPrototypeOf = uncurryThis$f({}.isPrototypeOf);
472
473 var getBuiltIn$3 = getBuiltIn$4;
474 var isCallable$9 = isCallable$c;
475 var isPrototypeOf = objectIsPrototypeOf;
476 var USE_SYMBOL_AS_UID = useSymbolAsUid;
477
478 var $Object$2 = Object;
479
480 var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
481 return typeof it == 'symbol';
482 } : function (it) {
483 var $Symbol = getBuiltIn$3('Symbol');
484 return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
485 };
486
487 var $String$2 = String;
488
489 var tryToString$2 = function (argument) {
490 try {
491 return $String$2(argument);
492 } catch (error) {
493 return 'Object';
494 }
495 };
496
497 var isCallable$8 = isCallable$c;
498 var tryToString$1 = tryToString$2;
499
500 var $TypeError$5 = TypeError;
501
502 // `Assert: IsCallable(argument) is true`
503 var aCallable$3 = function (argument) {
504 if (isCallable$8(argument)) return argument;
505 throw $TypeError$5(tryToString$1(argument) + ' is not a function');
506 };
507
508 var aCallable$2 = aCallable$3;
509 var isNullOrUndefined = isNullOrUndefined$2;
510
511 // `GetMethod` abstract operation
512 // https://tc39.es/ecma262/#sec-getmethod
513 var getMethod$1 = function (V, P) {
514 var func = V[P];
515 return isNullOrUndefined(func) ? undefined : aCallable$2(func);
516 };
517
518 var call$3 = functionCall;
519 var isCallable$7 = isCallable$c;
520 var isObject$5 = isObject$8;
521
522 var $TypeError$4 = TypeError;
523
524 // `OrdinaryToPrimitive` abstract operation
525 // https://tc39.es/ecma262/#sec-ordinarytoprimitive
526 var ordinaryToPrimitive$1 = function (input, pref) {
527 var fn, val;
528 if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$5(val = call$3(fn, input))) return val;
529 if (isCallable$7(fn = input.valueOf) && !isObject$5(val = call$3(fn, input))) return val;
530 if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$5(val = call$3(fn, input))) return val;
531 throw $TypeError$4("Can't convert object to primitive value");
532 };
533
534 var call$2 = functionCall;
535 var isObject$4 = isObject$8;
536 var isSymbol$1 = isSymbol$2;
537 var getMethod = getMethod$1;
538 var ordinaryToPrimitive = ordinaryToPrimitive$1;
539 var wellKnownSymbol$6 = wellKnownSymbol$8;
540
541 var $TypeError$3 = TypeError;
542 var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
543
544 // `ToPrimitive` abstract operation
545 // https://tc39.es/ecma262/#sec-toprimitive
546 var toPrimitive$1 = function (input, pref) {
547 if (!isObject$4(input) || isSymbol$1(input)) return input;
548 var exoticToPrim = getMethod(input, TO_PRIMITIVE);
549 var result;
550 if (exoticToPrim) {
551 if (pref === undefined) pref = 'default';
552 result = call$2(exoticToPrim, input, pref);
553 if (!isObject$4(result) || isSymbol$1(result)) return result;
554 throw $TypeError$3("Can't convert object to primitive value");
555 }
556 if (pref === undefined) pref = 'number';
557 return ordinaryToPrimitive(input, pref);
558 };
559
560 var toPrimitive = toPrimitive$1;
561 var isSymbol = isSymbol$2;
562
563 // `ToPropertyKey` abstract operation
564 // https://tc39.es/ecma262/#sec-topropertykey
565 var toPropertyKey$3 = function (argument) {
566 var key = toPrimitive(argument, 'string');
567 return isSymbol(key) ? key : key + '';
568 };
569
570 var DESCRIPTORS$7 = descriptors;
571 var IE8_DOM_DEFINE$1 = ie8DomDefine;
572 var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
573 var anObject$3 = anObject$4;
574 var toPropertyKey$2 = toPropertyKey$3;
575
576 var $TypeError$2 = TypeError;
577 // eslint-disable-next-line es/no-object-defineproperty -- safe
578 var $defineProperty = Object.defineProperty;
579 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
580 var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
581 var ENUMERABLE = 'enumerable';
582 var CONFIGURABLE$1 = 'configurable';
583 var WRITABLE = 'writable';
584
585 // `Object.defineProperty` method
586 // https://tc39.es/ecma262/#sec-object.defineproperty
587 objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
588 anObject$3(O);
589 P = toPropertyKey$2(P);
590 anObject$3(Attributes);
591 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
592 var current = $getOwnPropertyDescriptor$1(O, P);
593 if (current && current[WRITABLE]) {
594 O[P] = Attributes.value;
595 Attributes = {
596 configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
597 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
598 writable: false
599 };
600 }
601 } return $defineProperty(O, P, Attributes);
602 } : $defineProperty : function defineProperty(O, P, Attributes) {
603 anObject$3(O);
604 P = toPropertyKey$2(P);
605 anObject$3(Attributes);
606 if (IE8_DOM_DEFINE$1) try {
607 return $defineProperty(O, P, Attributes);
608 } catch (error) { /* empty */ }
609 if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');
610 if ('value' in Attributes) O[P] = Attributes.value;
611 return O;
612 };
613
614 var makeBuiltInExports = {};
615 var makeBuiltIn$3 = {
616 get exports(){ return makeBuiltInExports; },
617 set exports(v){ makeBuiltInExports = v; },
618 };
619
620 var DESCRIPTORS$6 = descriptors;
621 var hasOwn$5 = hasOwnProperty_1;
622
623 var FunctionPrototype$1 = Function.prototype;
624 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
625 var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
626
627 var EXISTS = hasOwn$5(FunctionPrototype$1, 'name');
628 // additional protection from minified / mangled / dropped function names
629 var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
630 var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, 'name').configurable));
631
632 var functionName = {
633 EXISTS: EXISTS,
634 PROPER: PROPER,
635 CONFIGURABLE: CONFIGURABLE
636 };
637
638 var uncurryThis$e = functionUncurryThis;
639 var isCallable$6 = isCallable$c;
640 var store$1 = sharedStore;
641
642 var functionToString$1 = uncurryThis$e(Function.toString);
643
644 // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
645 if (!isCallable$6(store$1.inspectSource)) {
646 store$1.inspectSource = function (it) {
647 return functionToString$1(it);
648 };
649 }
650
651 var inspectSource$2 = store$1.inspectSource;
652
653 var global$4 = global$b;
654 var isCallable$5 = isCallable$c;
655
656 var WeakMap$1 = global$4.WeakMap;
657
658 var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));
659
660 var createPropertyDescriptor$3 = function (bitmap, value) {
661 return {
662 enumerable: !(bitmap & 1),
663 configurable: !(bitmap & 2),
664 writable: !(bitmap & 4),
665 value: value
666 };
667 };
668
669 var DESCRIPTORS$5 = descriptors;
670 var definePropertyModule$4 = objectDefineProperty;
671 var createPropertyDescriptor$2 = createPropertyDescriptor$3;
672
673 var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
674 return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
675 } : function (object, key, value) {
676 object[key] = value;
677 return object;
678 };
679
680 var shared$1 = sharedExports;
681 var uid = uid$2;
682
683 var keys = shared$1('keys');
684
685 var sharedKey$2 = function (key) {
686 return keys[key] || (keys[key] = uid(key));
687 };
688
689 var hiddenKeys$4 = {};
690
691 var NATIVE_WEAK_MAP = weakMapBasicDetection;
692 var global$3 = global$b;
693 var isObject$3 = isObject$8;
694 var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
695 var hasOwn$4 = hasOwnProperty_1;
696 var shared = sharedStore;
697 var sharedKey$1 = sharedKey$2;
698 var hiddenKeys$3 = hiddenKeys$4;
699
700 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
701 var TypeError$1 = global$3.TypeError;
702 var WeakMap = global$3.WeakMap;
703 var set, get, has;
704
705 var enforce = function (it) {
706 return has(it) ? get(it) : set(it, {});
707 };
708
709 var getterFor = function (TYPE) {
710 return function (it) {
711 var state;
712 if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
713 throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
714 } return state;
715 };
716 };
717
718 if (NATIVE_WEAK_MAP || shared.state) {
719 var store = shared.state || (shared.state = new WeakMap());
720 /* eslint-disable no-self-assign -- prototype methods protection */
721 store.get = store.get;
722 store.has = store.has;
723 store.set = store.set;
724 /* eslint-enable no-self-assign -- prototype methods protection */
725 set = function (it, metadata) {
726 if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
727 metadata.facade = it;
728 store.set(it, metadata);
729 return metadata;
730 };
731 get = function (it) {
732 return store.get(it) || {};
733 };
734 has = function (it) {
735 return store.has(it);
736 };
737 } else {
738 var STATE = sharedKey$1('state');
739 hiddenKeys$3[STATE] = true;
740 set = function (it, metadata) {
741 if (hasOwn$4(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
742 metadata.facade = it;
743 createNonEnumerableProperty$2(it, STATE, metadata);
744 return metadata;
745 };
746 get = function (it) {
747 return hasOwn$4(it, STATE) ? it[STATE] : {};
748 };
749 has = function (it) {
750 return hasOwn$4(it, STATE);
751 };
752 }
753
754 var internalState = {
755 set: set,
756 get: get,
757 has: has,
758 enforce: enforce,
759 getterFor: getterFor
760 };
761
762 var uncurryThis$d = functionUncurryThis;
763 var fails$8 = fails$e;
764 var isCallable$4 = isCallable$c;
765 var hasOwn$3 = hasOwnProperty_1;
766 var DESCRIPTORS$4 = descriptors;
767 var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
768 var inspectSource$1 = inspectSource$2;
769 var InternalStateModule = internalState;
770
771 var enforceInternalState = InternalStateModule.enforce;
772 var getInternalState = InternalStateModule.get;
773 var $String$1 = String;
774 // eslint-disable-next-line es/no-object-defineproperty -- safe
775 var defineProperty$3 = Object.defineProperty;
776 var stringSlice$1 = uncurryThis$d(''.slice);
777 var replace = uncurryThis$d(''.replace);
778 var join = uncurryThis$d([].join);
779
780 var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$8(function () {
781 return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
782 });
783
784 var TEMPLATE = String(String).split('String');
785
786 var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
787 if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {
788 name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
789 }
790 if (options && options.getter) name = 'get ' + name;
791 if (options && options.setter) name = 'set ' + name;
792 if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
793 if (DESCRIPTORS$4) defineProperty$3(value, 'name', { value: name, configurable: true });
794 else value.name = name;
795 }
796 if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
797 defineProperty$3(value, 'length', { value: options.arity });
798 }
799 try {
800 if (options && hasOwn$3(options, 'constructor') && options.constructor) {
801 if (DESCRIPTORS$4) defineProperty$3(value, 'prototype', { writable: false });
802 // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
803 } else if (value.prototype) value.prototype = undefined;
804 } catch (error) { /* empty */ }
805 var state = enforceInternalState(value);
806 if (!hasOwn$3(state, 'source')) {
807 state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
808 } return value;
809 };
810
811 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
812 // eslint-disable-next-line no-extend-native -- required
813 Function.prototype.toString = makeBuiltIn$2(function toString() {
814 return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
815 }, 'toString');
816
817 var isCallable$3 = isCallable$c;
818 var definePropertyModule$3 = objectDefineProperty;
819 var makeBuiltIn$1 = makeBuiltInExports;
820 var defineGlobalProperty$1 = defineGlobalProperty$3;
821
822 var defineBuiltIn$2 = function (O, key, value, options) {
823 if (!options) options = {};
824 var simple = options.enumerable;
825 var name = options.name !== undefined ? options.name : key;
826 if (isCallable$3(value)) makeBuiltIn$1(value, name, options);
827 if (options.global) {
828 if (simple) O[key] = value;
829 else defineGlobalProperty$1(key, value);
830 } else {
831 try {
832 if (!options.unsafe) delete O[key];
833 else if (O[key]) simple = true;
834 } catch (error) { /* empty */ }
835 if (simple) O[key] = value;
836 else definePropertyModule$3.f(O, key, {
837 value: value,
838 enumerable: false,
839 configurable: !options.nonConfigurable,
840 writable: !options.nonWritable
841 });
842 } return O;
843 };
844
845 var uncurryThis$c = functionUncurryThis;
846
847 var toString$3 = uncurryThis$c({}.toString);
848 var stringSlice = uncurryThis$c(''.slice);
849
850 var classofRaw$2 = function (it) {
851 return stringSlice(toString$3(it), 8, -1);
852 };
853
854 var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
855 var isCallable$2 = isCallable$c;
856 var classofRaw$1 = classofRaw$2;
857 var wellKnownSymbol$5 = wellKnownSymbol$8;
858
859 var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
860 var $Object$1 = Object;
861
862 // ES3 wrong here
863 var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
864
865 // fallback for IE11 Script Access Denied error
866 var tryGet = function (it, key) {
867 try {
868 return it[key];
869 } catch (error) { /* empty */ }
870 };
871
872 // getting tag from ES6+ `Object.prototype.toString`
873 var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {
874 var O, tag, result;
875 return it === undefined ? 'Undefined' : it === null ? 'Null'
876 // @@toStringTag case
877 : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG)) == 'string' ? tag
878 // builtinTag case
879 : CORRECT_ARGUMENTS ? classofRaw$1(O)
880 // ES3 arguments fallback
881 : (result = classofRaw$1(O)) == 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
882 };
883
884 var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
885 var classof$4 = classof$5;
886
887 // `Object.prototype.toString` method implementation
888 // https://tc39.es/ecma262/#sec-object.prototype.tostring
889 var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
890 return '[object ' + classof$4(this) + ']';
891 };
892
893 var TO_STRING_TAG_SUPPORT = toStringTagSupport;
894 var defineBuiltIn$1 = defineBuiltIn$2;
895 var toString$2 = objectToString;
896
897 // `Object.prototype.toString` method
898 // https://tc39.es/ecma262/#sec-object.prototype.tostring
899 if (!TO_STRING_TAG_SUPPORT) {
900 defineBuiltIn$1(Object.prototype, 'toString', toString$2, { unsafe: true });
901 }
902
903 // iterable DOM collections
904 // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
905 var domIterables = {
906 CSSRuleList: 0,
907 CSSStyleDeclaration: 0,
908 CSSValueList: 0,
909 ClientRectList: 0,
910 DOMRectList: 0,
911 DOMStringList: 0,
912 DOMTokenList: 1,
913 DataTransferItemList: 0,
914 FileList: 0,
915 HTMLAllCollection: 0,
916 HTMLCollection: 0,
917 HTMLFormElement: 0,
918 HTMLSelectElement: 0,
919 MediaList: 0,
920 MimeTypeArray: 0,
921 NamedNodeMap: 0,
922 NodeList: 1,
923 PaintRequestList: 0,
924 Plugin: 0,
925 PluginArray: 0,
926 SVGLengthList: 0,
927 SVGNumberList: 0,
928 SVGPathSegList: 0,
929 SVGPointList: 0,
930 SVGStringList: 0,
931 SVGTransformList: 0,
932 SourceBufferList: 0,
933 StyleSheetList: 0,
934 TextTrackCueList: 0,
935 TextTrackList: 0,
936 TouchList: 0
937 };
938
939 // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
940 var documentCreateElement$1 = documentCreateElement$2;
941
942 var classList = documentCreateElement$1('span').classList;
943 var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
944
945 var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
946
947 var classofRaw = classofRaw$2;
948 var uncurryThis$b = functionUncurryThis;
949
950 var functionUncurryThisClause = function (fn) {
951 // Nashorn bug:
952 // https://github.com/zloirock/core-js/issues/1128
953 // https://github.com/zloirock/core-js/issues/1130
954 if (classofRaw(fn) === 'Function') return uncurryThis$b(fn);
955 };
956
957 var uncurryThis$a = functionUncurryThisClause;
958 var aCallable$1 = aCallable$3;
959 var NATIVE_BIND = functionBindNative;
960
961 var bind$1 = uncurryThis$a(uncurryThis$a.bind);
962
963 // optional / simple context binding
964 var functionBindContext = function (fn, that) {
965 aCallable$1(fn);
966 return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
967 return fn.apply(that, arguments);
968 };
969 };
970
971 var uncurryThis$9 = functionUncurryThis;
972 var fails$7 = fails$e;
973 var classof$3 = classofRaw$2;
974
975 var $Object = Object;
976 var split = uncurryThis$9(''.split);
977
978 // fallback for non-array-like ES3 and non-enumerable old V8 strings
979 var indexedObject = fails$7(function () {
980 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
981 // eslint-disable-next-line no-prototype-builtins -- safe
982 return !$Object('z').propertyIsEnumerable(0);
983 }) ? function (it) {
984 return classof$3(it) == 'String' ? split(it, '') : $Object(it);
985 } : $Object;
986
987 var ceil = Math.ceil;
988 var floor$1 = Math.floor;
989
990 // `Math.trunc` method
991 // https://tc39.es/ecma262/#sec-math.trunc
992 // eslint-disable-next-line es/no-math-trunc -- safe
993 var mathTrunc = Math.trunc || function trunc(x) {
994 var n = +x;
995 return (n > 0 ? floor$1 : ceil)(n);
996 };
997
998 var trunc = mathTrunc;
999
1000 // `ToIntegerOrInfinity` abstract operation
1001 // https://tc39.es/ecma262/#sec-tointegerorinfinity
1002 var toIntegerOrInfinity$2 = function (argument) {
1003 var number = +argument;
1004 // eslint-disable-next-line no-self-compare -- NaN check
1005 return number !== number || number === 0 ? 0 : trunc(number);
1006 };
1007
1008 var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
1009
1010 var min$1 = Math.min;
1011
1012 // `ToLength` abstract operation
1013 // https://tc39.es/ecma262/#sec-tolength
1014 var toLength$1 = function (argument) {
1015 return argument > 0 ? min$1(toIntegerOrInfinity$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
1016 };
1017
1018 var toLength = toLength$1;
1019
1020 // `LengthOfArrayLike` abstract operation
1021 // https://tc39.es/ecma262/#sec-lengthofarraylike
1022 var lengthOfArrayLike$6 = function (obj) {
1023 return toLength(obj.length);
1024 };
1025
1026 var classof$2 = classofRaw$2;
1027
1028 // `IsArray` abstract operation
1029 // https://tc39.es/ecma262/#sec-isarray
1030 // eslint-disable-next-line es/no-array-isarray -- safe
1031 var isArray$3 = Array.isArray || function isArray(argument) {
1032 return classof$2(argument) == 'Array';
1033 };
1034
1035 var uncurryThis$8 = functionUncurryThis;
1036 var fails$6 = fails$e;
1037 var isCallable$1 = isCallable$c;
1038 var classof$1 = classof$5;
1039 var getBuiltIn$2 = getBuiltIn$4;
1040 var inspectSource = inspectSource$2;
1041
1042 var noop = function () { /* empty */ };
1043 var empty = [];
1044 var construct = getBuiltIn$2('Reflect', 'construct');
1045 var constructorRegExp = /^\s*(?:class|function)\b/;
1046 var exec = uncurryThis$8(constructorRegExp.exec);
1047 var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1048
1049 var isConstructorModern = function isConstructor(argument) {
1050 if (!isCallable$1(argument)) return false;
1051 try {
1052 construct(noop, empty, argument);
1053 return true;
1054 } catch (error) {
1055 return false;
1056 }
1057 };
1058
1059 var isConstructorLegacy = function isConstructor(argument) {
1060 if (!isCallable$1(argument)) return false;
1061 switch (classof$1(argument)) {
1062 case 'AsyncFunction':
1063 case 'GeneratorFunction':
1064 case 'AsyncGeneratorFunction': return false;
1065 }
1066 try {
1067 // we can't check .prototype since constructors produced by .bind haven't it
1068 // `Function#toString` throws on some built-it function in some legacy engines
1069 // (for example, `DOMQuad` and similar in FF41-)
1070 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1071 } catch (error) {
1072 return true;
1073 }
1074 };
1075
1076 isConstructorLegacy.sham = true;
1077
1078 // `IsConstructor` abstract operation
1079 // https://tc39.es/ecma262/#sec-isconstructor
1080 var isConstructor$2 = !construct || fails$6(function () {
1081 var called;
1082 return isConstructorModern(isConstructorModern.call)
1083 || !isConstructorModern(Object)
1084 || !isConstructorModern(function () { called = true; })
1085 || called;
1086 }) ? isConstructorLegacy : isConstructorModern;
1087
1088 var isArray$2 = isArray$3;
1089 var isConstructor$1 = isConstructor$2;
1090 var isObject$2 = isObject$8;
1091 var wellKnownSymbol$4 = wellKnownSymbol$8;
1092
1093 var SPECIES$2 = wellKnownSymbol$4('species');
1094 var $Array$2 = Array;
1095
1096 // a part of `ArraySpeciesCreate` abstract operation
1097 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1098 var arraySpeciesConstructor$1 = function (originalArray) {
1099 var C;
1100 if (isArray$2(originalArray)) {
1101 C = originalArray.constructor;
1102 // cross-realm fallback
1103 if (isConstructor$1(C) && (C === $Array$2 || isArray$2(C.prototype))) C = undefined;
1104 else if (isObject$2(C)) {
1105 C = C[SPECIES$2];
1106 if (C === null) C = undefined;
1107 }
1108 } return C === undefined ? $Array$2 : C;
1109 };
1110
1111 var arraySpeciesConstructor = arraySpeciesConstructor$1;
1112
1113 // `ArraySpeciesCreate` abstract operation
1114 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1115 var arraySpeciesCreate$2 = function (originalArray, length) {
1116 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1117 };
1118
1119 var bind = functionBindContext;
1120 var uncurryThis$7 = functionUncurryThis;
1121 var IndexedObject$3 = indexedObject;
1122 var toObject$3 = toObject$5;
1123 var lengthOfArrayLike$5 = lengthOfArrayLike$6;
1124 var arraySpeciesCreate$1 = arraySpeciesCreate$2;
1125
1126 var push$2 = uncurryThis$7([].push);
1127
1128 // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1129 var createMethod$1 = function (TYPE) {
1130 var IS_MAP = TYPE == 1;
1131 var IS_FILTER = TYPE == 2;
1132 var IS_SOME = TYPE == 3;
1133 var IS_EVERY = TYPE == 4;
1134 var IS_FIND_INDEX = TYPE == 6;
1135 var IS_FILTER_REJECT = TYPE == 7;
1136 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1137 return function ($this, callbackfn, that, specificCreate) {
1138 var O = toObject$3($this);
1139 var self = IndexedObject$3(O);
1140 var boundFunction = bind(callbackfn, that);
1141 var length = lengthOfArrayLike$5(self);
1142 var index = 0;
1143 var create = specificCreate || arraySpeciesCreate$1;
1144 var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
1145 var value, result;
1146 for (;length > index; index++) if (NO_HOLES || index in self) {
1147 value = self[index];
1148 result = boundFunction(value, index, O);
1149 if (TYPE) {
1150 if (IS_MAP) target[index] = result; // map
1151 else if (result) switch (TYPE) {
1152 case 3: return true; // some
1153 case 5: return value; // find
1154 case 6: return index; // findIndex
1155 case 2: push$2(target, value); // filter
1156 } else switch (TYPE) {
1157 case 4: return false; // every
1158 case 7: push$2(target, value); // filterReject
1159 }
1160 }
1161 }
1162 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1163 };
1164 };
1165
1166 var arrayIteration = {
1167 // `Array.prototype.forEach` method
1168 // https://tc39.es/ecma262/#sec-array.prototype.foreach
1169 forEach: createMethod$1(0),
1170 // `Array.prototype.map` method
1171 // https://tc39.es/ecma262/#sec-array.prototype.map
1172 map: createMethod$1(1),
1173 // `Array.prototype.filter` method
1174 // https://tc39.es/ecma262/#sec-array.prototype.filter
1175 filter: createMethod$1(2),
1176 // `Array.prototype.some` method
1177 // https://tc39.es/ecma262/#sec-array.prototype.some
1178 some: createMethod$1(3),
1179 // `Array.prototype.every` method
1180 // https://tc39.es/ecma262/#sec-array.prototype.every
1181 every: createMethod$1(4),
1182 // `Array.prototype.find` method
1183 // https://tc39.es/ecma262/#sec-array.prototype.find
1184 find: createMethod$1(5),
1185 // `Array.prototype.findIndex` method
1186 // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1187 findIndex: createMethod$1(6),
1188 // `Array.prototype.filterReject` method
1189 // https://github.com/tc39/proposal-array-filtering
1190 filterReject: createMethod$1(7)
1191 };
1192
1193 var fails$5 = fails$e;
1194
1195 var arrayMethodIsStrict$3 = function (METHOD_NAME, argument) {
1196 var method = [][METHOD_NAME];
1197 return !!method && fails$5(function () {
1198 // eslint-disable-next-line no-useless-call -- required for testing
1199 method.call(null, argument || function () { return 1; }, 1);
1200 });
1201 };
1202
1203 var $forEach = arrayIteration.forEach;
1204 var arrayMethodIsStrict$2 = arrayMethodIsStrict$3;
1205
1206 var STRICT_METHOD$1 = arrayMethodIsStrict$2('forEach');
1207
1208 // `Array.prototype.forEach` method implementation
1209 // https://tc39.es/ecma262/#sec-array.prototype.foreach
1210 var arrayForEach = !STRICT_METHOD$1 ? function forEach(callbackfn /* , thisArg */) {
1211 return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1212 // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1213 } : [].forEach;
1214
1215 var global$2 = global$b;
1216 var DOMIterables = domIterables;
1217 var DOMTokenListPrototype = domTokenListPrototype;
1218 var forEach = arrayForEach;
1219 var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
1220
1221 var handlePrototype = function (CollectionPrototype) {
1222 // some Chrome versions have non-configurable methods on DOMTokenList
1223 if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
1224 createNonEnumerableProperty$1(CollectionPrototype, 'forEach', forEach);
1225 } catch (error) {
1226 CollectionPrototype.forEach = forEach;
1227 }
1228 };
1229
1230 for (var COLLECTION_NAME in DOMIterables) {
1231 if (DOMIterables[COLLECTION_NAME]) {
1232 handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype);
1233 }
1234 }
1235
1236 handlePrototype(DOMTokenListPrototype);
1237
1238 var objectGetOwnPropertyDescriptor = {};
1239
1240 var objectPropertyIsEnumerable = {};
1241
1242 var $propertyIsEnumerable = {}.propertyIsEnumerable;
1243 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1244 var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
1245
1246 // Nashorn ~ JDK8 bug
1247 var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
1248
1249 // `Object.prototype.propertyIsEnumerable` method implementation
1250 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
1251 objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1252 var descriptor = getOwnPropertyDescriptor$1(this, V);
1253 return !!descriptor && descriptor.enumerable;
1254 } : $propertyIsEnumerable;
1255
1256 // toObject with fallback for non-array-like ES3 strings
1257 var IndexedObject$2 = indexedObject;
1258 var requireObjectCoercible = requireObjectCoercible$2;
1259
1260 var toIndexedObject$6 = function (it) {
1261 return IndexedObject$2(requireObjectCoercible(it));
1262 };
1263
1264 var DESCRIPTORS$3 = descriptors;
1265 var call$1 = functionCall;
1266 var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
1267 var createPropertyDescriptor$1 = createPropertyDescriptor$3;
1268 var toIndexedObject$5 = toIndexedObject$6;
1269 var toPropertyKey$1 = toPropertyKey$3;
1270 var hasOwn$2 = hasOwnProperty_1;
1271 var IE8_DOM_DEFINE = ie8DomDefine;
1272
1273 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1274 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1275
1276 // `Object.getOwnPropertyDescriptor` method
1277 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1278 objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
1279 O = toIndexedObject$5(O);
1280 P = toPropertyKey$1(P);
1281 if (IE8_DOM_DEFINE) try {
1282 return $getOwnPropertyDescriptor(O, P);
1283 } catch (error) { /* empty */ }
1284 if (hasOwn$2(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
1285 };
1286
1287 var objectGetOwnPropertyNames = {};
1288
1289 var toIntegerOrInfinity = toIntegerOrInfinity$2;
1290
1291 var max$2 = Math.max;
1292 var min = Math.min;
1293
1294 // Helper for a popular repeating case of the spec:
1295 // Let integer be ? ToInteger(index).
1296 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
1297 var toAbsoluteIndex$3 = function (index, length) {
1298 var integer = toIntegerOrInfinity(index);
1299 return integer < 0 ? max$2(integer + length, 0) : min(integer, length);
1300 };
1301
1302 var toIndexedObject$4 = toIndexedObject$6;
1303 var toAbsoluteIndex$2 = toAbsoluteIndex$3;
1304 var lengthOfArrayLike$4 = lengthOfArrayLike$6;
1305
1306 // `Array.prototype.{ indexOf, includes }` methods implementation
1307 var createMethod = function (IS_INCLUDES) {
1308 return function ($this, el, fromIndex) {
1309 var O = toIndexedObject$4($this);
1310 var length = lengthOfArrayLike$4(O);
1311 var index = toAbsoluteIndex$2(fromIndex, length);
1312 var value;
1313 // Array#includes uses SameValueZero equality algorithm
1314 // eslint-disable-next-line no-self-compare -- NaN check
1315 if (IS_INCLUDES && el != el) while (length > index) {
1316 value = O[index++];
1317 // eslint-disable-next-line no-self-compare -- NaN check
1318 if (value != value) return true;
1319 // Array#indexOf ignores holes, Array#includes - not
1320 } else for (;length > index; index++) {
1321 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
1322 } return !IS_INCLUDES && -1;
1323 };
1324 };
1325
1326 var arrayIncludes = {
1327 // `Array.prototype.includes` method
1328 // https://tc39.es/ecma262/#sec-array.prototype.includes
1329 includes: createMethod(true),
1330 // `Array.prototype.indexOf` method
1331 // https://tc39.es/ecma262/#sec-array.prototype.indexof
1332 indexOf: createMethod(false)
1333 };
1334
1335 var uncurryThis$6 = functionUncurryThis;
1336 var hasOwn$1 = hasOwnProperty_1;
1337 var toIndexedObject$3 = toIndexedObject$6;
1338 var indexOf = arrayIncludes.indexOf;
1339 var hiddenKeys$2 = hiddenKeys$4;
1340
1341 var push$1 = uncurryThis$6([].push);
1342
1343 var objectKeysInternal = function (object, names) {
1344 var O = toIndexedObject$3(object);
1345 var i = 0;
1346 var result = [];
1347 var key;
1348 for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
1349 // Don't enum bug & hidden keys
1350 while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
1351 ~indexOf(result, key) || push$1(result, key);
1352 }
1353 return result;
1354 };
1355
1356 // IE8- don't enum bug keys
1357 var enumBugKeys$3 = [
1358 'constructor',
1359 'hasOwnProperty',
1360 'isPrototypeOf',
1361 'propertyIsEnumerable',
1362 'toLocaleString',
1363 'toString',
1364 'valueOf'
1365 ];
1366
1367 var internalObjectKeys$1 = objectKeysInternal;
1368 var enumBugKeys$2 = enumBugKeys$3;
1369
1370 var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1371
1372 // `Object.getOwnPropertyNames` method
1373 // https://tc39.es/ecma262/#sec-object.getownpropertynames
1374 // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1375 objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1376 return internalObjectKeys$1(O, hiddenKeys$1);
1377 };
1378
1379 var objectGetOwnPropertySymbols = {};
1380
1381 // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1382 objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1383
1384 var getBuiltIn$1 = getBuiltIn$4;
1385 var uncurryThis$5 = functionUncurryThis;
1386 var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1387 var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1388 var anObject$2 = anObject$4;
1389
1390 var concat$1 = uncurryThis$5([].concat);
1391
1392 // all object keys, includes non-enumerable and symbols
1393 var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
1394 var keys = getOwnPropertyNamesModule.f(anObject$2(it));
1395 var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1396 return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1397 };
1398
1399 var hasOwn = hasOwnProperty_1;
1400 var ownKeys = ownKeys$1;
1401 var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1402 var definePropertyModule$2 = objectDefineProperty;
1403
1404 var copyConstructorProperties$1 = function (target, source, exceptions) {
1405 var keys = ownKeys(source);
1406 var defineProperty = definePropertyModule$2.f;
1407 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1408 for (var i = 0; i < keys.length; i++) {
1409 var key = keys[i];
1410 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
1411 defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1412 }
1413 }
1414 };
1415
1416 var fails$4 = fails$e;
1417 var isCallable = isCallable$c;
1418
1419 var replacement = /#|\.prototype\./;
1420
1421 var isForced$1 = function (feature, detection) {
1422 var value = data[normalize(feature)];
1423 return value == POLYFILL ? true
1424 : value == NATIVE ? false
1425 : isCallable(detection) ? fails$4(detection)
1426 : !!detection;
1427 };
1428
1429 var normalize = isForced$1.normalize = function (string) {
1430 return String(string).replace(replacement, '.').toLowerCase();
1431 };
1432
1433 var data = isForced$1.data = {};
1434 var NATIVE = isForced$1.NATIVE = 'N';
1435 var POLYFILL = isForced$1.POLYFILL = 'P';
1436
1437 var isForced_1 = isForced$1;
1438
1439 var global$1 = global$b;
1440 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1441 var createNonEnumerableProperty = createNonEnumerableProperty$3;
1442 var defineBuiltIn = defineBuiltIn$2;
1443 var defineGlobalProperty = defineGlobalProperty$3;
1444 var copyConstructorProperties = copyConstructorProperties$1;
1445 var isForced = isForced_1;
1446
1447 /*
1448 options.target - name of the target object
1449 options.global - target is the global object
1450 options.stat - export as static methods of target
1451 options.proto - export as prototype methods of target
1452 options.real - real prototype method for the `pure` version
1453 options.forced - export even if the native feature is available
1454 options.bind - bind methods to the target, required for the `pure` version
1455 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1456 options.unsafe - use the simple assignment of property instead of delete + defineProperty
1457 options.sham - add a flag to not completely full polyfills
1458 options.enumerable - export as enumerable property
1459 options.dontCallGetSet - prevent calling a getter on target
1460 options.name - the .name of the function if it does not match the key
1461 */
1462 var _export = function (options, source) {
1463 var TARGET = options.target;
1464 var GLOBAL = options.global;
1465 var STATIC = options.stat;
1466 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1467 if (GLOBAL) {
1468 target = global$1;
1469 } else if (STATIC) {
1470 target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
1471 } else {
1472 target = (global$1[TARGET] || {}).prototype;
1473 }
1474 if (target) for (key in source) {
1475 sourceProperty = source[key];
1476 if (options.dontCallGetSet) {
1477 descriptor = getOwnPropertyDescriptor(target, key);
1478 targetProperty = descriptor && descriptor.value;
1479 } else targetProperty = target[key];
1480 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1481 // contained in target
1482 if (!FORCED && targetProperty !== undefined) {
1483 if (typeof sourceProperty == typeof targetProperty) continue;
1484 copyConstructorProperties(sourceProperty, targetProperty);
1485 }
1486 // add a flag to not completely full polyfills
1487 if (options.sham || (targetProperty && targetProperty.sham)) {
1488 createNonEnumerableProperty(sourceProperty, 'sham', true);
1489 }
1490 defineBuiltIn(target, key, sourceProperty, options);
1491 }
1492 };
1493
1494 var internalObjectKeys = objectKeysInternal;
1495 var enumBugKeys$1 = enumBugKeys$3;
1496
1497 // `Object.keys` method
1498 // https://tc39.es/ecma262/#sec-object.keys
1499 // eslint-disable-next-line es/no-object-keys -- safe
1500 var objectKeys$2 = Object.keys || function keys(O) {
1501 return internalObjectKeys(O, enumBugKeys$1);
1502 };
1503
1504 var DESCRIPTORS$2 = descriptors;
1505 var uncurryThis$4 = functionUncurryThis;
1506 var call = functionCall;
1507 var fails$3 = fails$e;
1508 var objectKeys$1 = objectKeys$2;
1509 var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1510 var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1511 var toObject$2 = toObject$5;
1512 var IndexedObject$1 = indexedObject;
1513
1514 // eslint-disable-next-line es/no-object-assign -- safe
1515 var $assign = Object.assign;
1516 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1517 var defineProperty$2 = Object.defineProperty;
1518 var concat = uncurryThis$4([].concat);
1519
1520 // `Object.assign` method
1521 // https://tc39.es/ecma262/#sec-object.assign
1522 var objectAssign = !$assign || fails$3(function () {
1523 // should have correct order of operations (Edge bug)
1524 if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
1525 enumerable: true,
1526 get: function () {
1527 defineProperty$2(this, 'b', {
1528 value: 3,
1529 enumerable: false
1530 });
1531 }
1532 }), { b: 2 })).b !== 1) return true;
1533 // should work with symbols and should have deterministic property order (V8 bug)
1534 var A = {};
1535 var B = {};
1536 // eslint-disable-next-line es/no-symbol -- safe
1537 var symbol = Symbol();
1538 var alphabet = 'abcdefghijklmnopqrst';
1539 A[symbol] = 7;
1540 alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1541 return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1542 }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1543 var T = toObject$2(target);
1544 var argumentsLength = arguments.length;
1545 var index = 1;
1546 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1547 var propertyIsEnumerable = propertyIsEnumerableModule.f;
1548 while (argumentsLength > index) {
1549 var S = IndexedObject$1(arguments[index++]);
1550 var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1551 var length = keys.length;
1552 var j = 0;
1553 var key;
1554 while (length > j) {
1555 key = keys[j++];
1556 if (!DESCRIPTORS$2 || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1557 }
1558 } return T;
1559 } : $assign;
1560
1561 var $$6 = _export;
1562 var assign = objectAssign;
1563
1564 // `Object.assign` method
1565 // https://tc39.es/ecma262/#sec-object.assign
1566 // eslint-disable-next-line es/no-object-assign -- required for testing
1567 $$6({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1568 assign: assign
1569 });
1570
1571 var toPropertyKey = toPropertyKey$3;
1572 var definePropertyModule$1 = objectDefineProperty;
1573 var createPropertyDescriptor = createPropertyDescriptor$3;
1574
1575 var createProperty$3 = function (object, key, value) {
1576 var propertyKey = toPropertyKey(key);
1577 if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value));
1578 else object[propertyKey] = value;
1579 };
1580
1581 var fails$2 = fails$e;
1582 var wellKnownSymbol$3 = wellKnownSymbol$8;
1583 var V8_VERSION$1 = engineV8Version;
1584
1585 var SPECIES$1 = wellKnownSymbol$3('species');
1586
1587 var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
1588 // We can't use this feature detection in V8 since it causes
1589 // deoptimization and serious performance degradation
1590 // https://github.com/zloirock/core-js/issues/677
1591 return V8_VERSION$1 >= 51 || !fails$2(function () {
1592 var array = [];
1593 var constructor = array.constructor = {};
1594 constructor[SPECIES$1] = function () {
1595 return { foo: 1 };
1596 };
1597 return array[METHOD_NAME](Boolean).foo !== 1;
1598 });
1599 };
1600
1601 var uncurryThis$3 = functionUncurryThis;
1602
1603 var arraySlice$1 = uncurryThis$3([].slice);
1604
1605 var $$5 = _export;
1606 var isArray$1 = isArray$3;
1607 var isConstructor = isConstructor$2;
1608 var isObject$1 = isObject$8;
1609 var toAbsoluteIndex$1 = toAbsoluteIndex$3;
1610 var lengthOfArrayLike$3 = lengthOfArrayLike$6;
1611 var toIndexedObject$2 = toIndexedObject$6;
1612 var createProperty$2 = createProperty$3;
1613 var wellKnownSymbol$2 = wellKnownSymbol$8;
1614 var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;
1615 var nativeSlice = arraySlice$1;
1616
1617 var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$2('slice');
1618
1619 var SPECIES = wellKnownSymbol$2('species');
1620 var $Array$1 = Array;
1621 var max$1 = Math.max;
1622
1623 // `Array.prototype.slice` method
1624 // https://tc39.es/ecma262/#sec-array.prototype.slice
1625 // fallback for not array-like ES3 strings and DOM objects
1626 $$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
1627 slice: function slice(start, end) {
1628 var O = toIndexedObject$2(this);
1629 var length = lengthOfArrayLike$3(O);
1630 var k = toAbsoluteIndex$1(start, length);
1631 var fin = toAbsoluteIndex$1(end === undefined ? length : end, length);
1632 // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
1633 var Constructor, result, n;
1634 if (isArray$1(O)) {
1635 Constructor = O.constructor;
1636 // cross-realm fallback
1637 if (isConstructor(Constructor) && (Constructor === $Array$1 || isArray$1(Constructor.prototype))) {
1638 Constructor = undefined;
1639 } else if (isObject$1(Constructor)) {
1640 Constructor = Constructor[SPECIES];
1641 if (Constructor === null) Constructor = undefined;
1642 }
1643 if (Constructor === $Array$1 || Constructor === undefined) {
1644 return nativeSlice(O, k, fin);
1645 }
1646 }
1647 result = new (Constructor === undefined ? $Array$1 : Constructor)(max$1(fin - k, 0));
1648 for (n = 0; k < fin; k++, n++) if (k in O) createProperty$2(result, n, O[k]);
1649 result.length = n;
1650 return result;
1651 }
1652 });
1653
1654 var tryToString = tryToString$2;
1655
1656 var $TypeError$1 = TypeError;
1657
1658 var deletePropertyOrThrow$1 = function (O, P) {
1659 if (!delete O[P]) throw $TypeError$1('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
1660 };
1661
1662 var classof = classof$5;
1663
1664 var $String = String;
1665
1666 var toString$1 = function (argument) {
1667 if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1668 return $String(argument);
1669 };
1670
1671 var toAbsoluteIndex = toAbsoluteIndex$3;
1672 var lengthOfArrayLike$2 = lengthOfArrayLike$6;
1673 var createProperty$1 = createProperty$3;
1674
1675 var $Array = Array;
1676 var max = Math.max;
1677
1678 var arraySliceSimple = function (O, start, end) {
1679 var length = lengthOfArrayLike$2(O);
1680 var k = toAbsoluteIndex(start, length);
1681 var fin = toAbsoluteIndex(end === undefined ? length : end, length);
1682 var result = $Array(max(fin - k, 0));
1683 for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
1684 result.length = n;
1685 return result;
1686 };
1687
1688 var arraySlice = arraySliceSimple;
1689
1690 var floor = Math.floor;
1691
1692 var mergeSort = function (array, comparefn) {
1693 var length = array.length;
1694 var middle = floor(length / 2);
1695 return length < 8 ? insertionSort(array, comparefn) : merge(
1696 array,
1697 mergeSort(arraySlice(array, 0, middle), comparefn),
1698 mergeSort(arraySlice(array, middle), comparefn),
1699 comparefn
1700 );
1701 };
1702
1703 var insertionSort = function (array, comparefn) {
1704 var length = array.length;
1705 var i = 1;
1706 var element, j;
1707
1708 while (i < length) {
1709 j = i;
1710 element = array[i];
1711 while (j && comparefn(array[j - 1], element) > 0) {
1712 array[j] = array[--j];
1713 }
1714 if (j !== i++) array[j] = element;
1715 } return array;
1716 };
1717
1718 var merge = function (array, left, right, comparefn) {
1719 var llength = left.length;
1720 var rlength = right.length;
1721 var lindex = 0;
1722 var rindex = 0;
1723
1724 while (lindex < llength || rindex < rlength) {
1725 array[lindex + rindex] = (lindex < llength && rindex < rlength)
1726 ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
1727 : lindex < llength ? left[lindex++] : right[rindex++];
1728 } return array;
1729 };
1730
1731 var arraySort = mergeSort;
1732
1733 var userAgent$1 = engineUserAgent;
1734
1735 var firefox = userAgent$1.match(/firefox\/(\d+)/i);
1736
1737 var engineFfVersion = !!firefox && +firefox[1];
1738
1739 var UA = engineUserAgent;
1740
1741 var engineIsIeOrEdge = /MSIE|Trident/.test(UA);
1742
1743 var userAgent = engineUserAgent;
1744
1745 var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
1746
1747 var engineWebkitVersion = !!webkit && +webkit[1];
1748
1749 var $$4 = _export;
1750 var uncurryThis$2 = functionUncurryThis;
1751 var aCallable = aCallable$3;
1752 var toObject$1 = toObject$5;
1753 var lengthOfArrayLike$1 = lengthOfArrayLike$6;
1754 var deletePropertyOrThrow = deletePropertyOrThrow$1;
1755 var toString = toString$1;
1756 var fails$1 = fails$e;
1757 var internalSort = arraySort;
1758 var arrayMethodIsStrict$1 = arrayMethodIsStrict$3;
1759 var FF = engineFfVersion;
1760 var IE_OR_EDGE = engineIsIeOrEdge;
1761 var V8 = engineV8Version;
1762 var WEBKIT = engineWebkitVersion;
1763
1764 var test = [];
1765 var nativeSort = uncurryThis$2(test.sort);
1766 var push = uncurryThis$2(test.push);
1767
1768 // IE8-
1769 var FAILS_ON_UNDEFINED = fails$1(function () {
1770 test.sort(undefined);
1771 });
1772 // V8 bug
1773 var FAILS_ON_NULL = fails$1(function () {
1774 test.sort(null);
1775 });
1776 // Old WebKit
1777 var STRICT_METHOD = arrayMethodIsStrict$1('sort');
1778
1779 var STABLE_SORT = !fails$1(function () {
1780 // feature detection can be too slow, so check engines versions
1781 if (V8) return V8 < 70;
1782 if (FF && FF > 3) return;
1783 if (IE_OR_EDGE) return true;
1784 if (WEBKIT) return WEBKIT < 603;
1785
1786 var result = '';
1787 var code, chr, value, index;
1788
1789 // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
1790 for (code = 65; code < 76; code++) {
1791 chr = String.fromCharCode(code);
1792
1793 switch (code) {
1794 case 66: case 69: case 70: case 72: value = 3; break;
1795 case 68: case 71: value = 4; break;
1796 default: value = 2;
1797 }
1798
1799 for (index = 0; index < 47; index++) {
1800 test.push({ k: chr + index, v: value });
1801 }
1802 }
1803
1804 test.sort(function (a, b) { return b.v - a.v; });
1805
1806 for (index = 0; index < test.length; index++) {
1807 chr = test[index].k.charAt(0);
1808 if (result.charAt(result.length - 1) !== chr) result += chr;
1809 }
1810
1811 return result !== 'DGBEFHACIJK';
1812 });
1813
1814 var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
1815
1816 var getSortCompare = function (comparefn) {
1817 return function (x, y) {
1818 if (y === undefined) return -1;
1819 if (x === undefined) return 1;
1820 if (comparefn !== undefined) return +comparefn(x, y) || 0;
1821 return toString(x) > toString(y) ? 1 : -1;
1822 };
1823 };
1824
1825 // `Array.prototype.sort` method
1826 // https://tc39.es/ecma262/#sec-array.prototype.sort
1827 $$4({ target: 'Array', proto: true, forced: FORCED$2 }, {
1828 sort: function sort(comparefn) {
1829 if (comparefn !== undefined) aCallable(comparefn);
1830
1831 var array = toObject$1(this);
1832
1833 if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
1834
1835 var items = [];
1836 var arrayLength = lengthOfArrayLike$1(array);
1837 var itemsLength, index;
1838
1839 for (index = 0; index < arrayLength; index++) {
1840 if (index in array) push(items, array[index]);
1841 }
1842
1843 internalSort(items, getSortCompare(comparefn));
1844
1845 itemsLength = lengthOfArrayLike$1(items);
1846 index = 0;
1847
1848 while (index < itemsLength) array[index] = items[index++];
1849 while (index < arrayLength) deletePropertyOrThrow(array, index++);
1850
1851 return array;
1852 }
1853 });
1854
1855 var $$3 = _export;
1856 var uncurryThis$1 = functionUncurryThis;
1857 var IndexedObject = indexedObject;
1858 var toIndexedObject$1 = toIndexedObject$6;
1859 var arrayMethodIsStrict = arrayMethodIsStrict$3;
1860
1861 var nativeJoin = uncurryThis$1([].join);
1862
1863 var ES3_STRINGS = IndexedObject != Object;
1864 var FORCED$1 = ES3_STRINGS || !arrayMethodIsStrict('join', ',');
1865
1866 // `Array.prototype.join` method
1867 // https://tc39.es/ecma262/#sec-array.prototype.join
1868 $$3({ target: 'Array', proto: true, forced: FORCED$1 }, {
1869 join: function join(separator) {
1870 return nativeJoin(toIndexedObject$1(this), separator === undefined ? ',' : separator);
1871 }
1872 });
1873
1874 var makeBuiltIn = makeBuiltInExports;
1875 var defineProperty$1 = objectDefineProperty;
1876
1877 var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1878 if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1879 if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1880 return defineProperty$1.f(target, name, descriptor);
1881 };
1882
1883 var DESCRIPTORS$1 = descriptors;
1884 var FUNCTION_NAME_EXISTS = functionName.EXISTS;
1885 var uncurryThis = functionUncurryThis;
1886 var defineBuiltInAccessor = defineBuiltInAccessor$1;
1887
1888 var FunctionPrototype = Function.prototype;
1889 var functionToString = uncurryThis(FunctionPrototype.toString);
1890 var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
1891 var regExpExec = uncurryThis(nameRE.exec);
1892 var NAME = 'name';
1893
1894 // Function instances `.name` property
1895 // https://tc39.es/ecma262/#sec-function-instances-name
1896 if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
1897 defineBuiltInAccessor(FunctionPrototype, NAME, {
1898 configurable: true,
1899 get: function () {
1900 try {
1901 return regExpExec(nameRE, functionToString(this))[1];
1902 } catch (error) {
1903 return '';
1904 }
1905 }
1906 });
1907 }
1908
1909 var $TypeError = TypeError;
1910 var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1911
1912 var doesNotExceedSafeInteger$1 = function (it) {
1913 if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
1914 return it;
1915 };
1916
1917 var $$2 = _export;
1918 var fails = fails$e;
1919 var isArray = isArray$3;
1920 var isObject = isObject$8;
1921 var toObject = toObject$5;
1922 var lengthOfArrayLike = lengthOfArrayLike$6;
1923 var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
1924 var createProperty = createProperty$3;
1925 var arraySpeciesCreate = arraySpeciesCreate$2;
1926 var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
1927 var wellKnownSymbol$1 = wellKnownSymbol$8;
1928 var V8_VERSION = engineV8Version;
1929
1930 var IS_CONCAT_SPREADABLE = wellKnownSymbol$1('isConcatSpreadable');
1931
1932 // We can't use this feature detection in V8 since it causes
1933 // deoptimization and serious performance degradation
1934 // https://github.com/zloirock/core-js/issues/679
1935 var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
1936 var array = [];
1937 array[IS_CONCAT_SPREADABLE] = false;
1938 return array.concat()[0] !== array;
1939 });
1940
1941 var isConcatSpreadable = function (O) {
1942 if (!isObject(O)) return false;
1943 var spreadable = O[IS_CONCAT_SPREADABLE];
1944 return spreadable !== undefined ? !!spreadable : isArray(O);
1945 };
1946
1947 var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$1('concat');
1948
1949 // `Array.prototype.concat` method
1950 // https://tc39.es/ecma262/#sec-array.prototype.concat
1951 // with adding support of @@isConcatSpreadable and @@species
1952 $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
1953 // eslint-disable-next-line no-unused-vars -- required for `.length`
1954 concat: function concat(arg) {
1955 var O = toObject(this);
1956 var A = arraySpeciesCreate(O, 0);
1957 var n = 0;
1958 var i, k, length, len, E;
1959 for (i = -1, length = arguments.length; i < length; i++) {
1960 E = i === -1 ? O : arguments[i];
1961 if (isConcatSpreadable(E)) {
1962 len = lengthOfArrayLike(E);
1963 doesNotExceedSafeInteger(n + len);
1964 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
1965 } else {
1966 doesNotExceedSafeInteger(n + 1);
1967 createProperty(A, n++, E);
1968 }
1969 }
1970 A.length = n;
1971 return A;
1972 }
1973 });
1974
1975 var objectDefineProperties = {};
1976
1977 var DESCRIPTORS = descriptors;
1978 var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1979 var definePropertyModule = objectDefineProperty;
1980 var anObject$1 = anObject$4;
1981 var toIndexedObject = toIndexedObject$6;
1982 var objectKeys = objectKeys$2;
1983
1984 // `Object.defineProperties` method
1985 // https://tc39.es/ecma262/#sec-object.defineproperties
1986 // eslint-disable-next-line es/no-object-defineproperties -- safe
1987 objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1988 anObject$1(O);
1989 var props = toIndexedObject(Properties);
1990 var keys = objectKeys(Properties);
1991 var length = keys.length;
1992 var index = 0;
1993 var key;
1994 while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1995 return O;
1996 };
1997
1998 var getBuiltIn = getBuiltIn$4;
1999
2000 var html$1 = getBuiltIn('document', 'documentElement');
2001
2002 /* global ActiveXObject -- old IE, WSH */
2003
2004 var anObject = anObject$4;
2005 var definePropertiesModule = objectDefineProperties;
2006 var enumBugKeys = enumBugKeys$3;
2007 var hiddenKeys = hiddenKeys$4;
2008 var html = html$1;
2009 var documentCreateElement = documentCreateElement$2;
2010 var sharedKey = sharedKey$2;
2011
2012 var GT = '>';
2013 var LT = '<';
2014 var PROTOTYPE = 'prototype';
2015 var SCRIPT = 'script';
2016 var IE_PROTO = sharedKey('IE_PROTO');
2017
2018 var EmptyConstructor = function () { /* empty */ };
2019
2020 var scriptTag = function (content) {
2021 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
2022 };
2023
2024 // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
2025 var NullProtoObjectViaActiveX = function (activeXDocument) {
2026 activeXDocument.write(scriptTag(''));
2027 activeXDocument.close();
2028 var temp = activeXDocument.parentWindow.Object;
2029 activeXDocument = null; // avoid memory leak
2030 return temp;
2031 };
2032
2033 // Create object with fake `null` prototype: use iframe Object with cleared prototype
2034 var NullProtoObjectViaIFrame = function () {
2035 // Thrash, waste and sodomy: IE GC bug
2036 var iframe = documentCreateElement('iframe');
2037 var JS = 'java' + SCRIPT + ':';
2038 var iframeDocument;
2039 iframe.style.display = 'none';
2040 html.appendChild(iframe);
2041 // https://github.com/zloirock/core-js/issues/475
2042 iframe.src = String(JS);
2043 iframeDocument = iframe.contentWindow.document;
2044 iframeDocument.open();
2045 iframeDocument.write(scriptTag('document.F=Object'));
2046 iframeDocument.close();
2047 return iframeDocument.F;
2048 };
2049
2050 // Check for document.domain and active x support
2051 // No need to use active x approach when document.domain is not set
2052 // see https://github.com/es-shims/es5-shim/issues/150
2053 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
2054 // avoid IE GC bug
2055 var activeXDocument;
2056 var NullProtoObject = function () {
2057 try {
2058 activeXDocument = new ActiveXObject('htmlfile');
2059 } catch (error) { /* ignore */ }
2060 NullProtoObject = typeof document != 'undefined'
2061 ? document.domain && activeXDocument
2062 ? NullProtoObjectViaActiveX(activeXDocument) // old IE
2063 : NullProtoObjectViaIFrame()
2064 : NullProtoObjectViaActiveX(activeXDocument); // WSH
2065 var length = enumBugKeys.length;
2066 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
2067 return NullProtoObject();
2068 };
2069
2070 hiddenKeys[IE_PROTO] = true;
2071
2072 // `Object.create` method
2073 // https://tc39.es/ecma262/#sec-object.create
2074 // eslint-disable-next-line es/no-object-create -- safe
2075 var objectCreate = Object.create || function create(O, Properties) {
2076 var result;
2077 if (O !== null) {
2078 EmptyConstructor[PROTOTYPE] = anObject(O);
2079 result = new EmptyConstructor();
2080 EmptyConstructor[PROTOTYPE] = null;
2081 // add "__proto__" for Object.getPrototypeOf polyfill
2082 result[IE_PROTO] = O;
2083 } else result = NullProtoObject();
2084 return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
2085 };
2086
2087 var wellKnownSymbol = wellKnownSymbol$8;
2088 var create = objectCreate;
2089 var defineProperty = objectDefineProperty.f;
2090
2091 var UNSCOPABLES = wellKnownSymbol('unscopables');
2092 var ArrayPrototype = Array.prototype;
2093
2094 // Array.prototype[@@unscopables]
2095 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2096 if (ArrayPrototype[UNSCOPABLES] == undefined) {
2097 defineProperty(ArrayPrototype, UNSCOPABLES, {
2098 configurable: true,
2099 value: create(null)
2100 });
2101 }
2102
2103 // add a key to Array.prototype[@@unscopables]
2104 var addToUnscopables$1 = function (key) {
2105 ArrayPrototype[UNSCOPABLES][key] = true;
2106 };
2107
2108 var $$1 = _export;
2109 var $find = arrayIteration.find;
2110 var addToUnscopables = addToUnscopables$1;
2111
2112 var FIND = 'find';
2113 var SKIPS_HOLES = true;
2114
2115 // Shouldn't skip holes
2116 if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
2117
2118 // `Array.prototype.find` method
2119 // https://tc39.es/ecma262/#sec-array.prototype.find
2120 $$1({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
2121 find: function find(callbackfn /* , that = undefined */) {
2122 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2123 }
2124 });
2125
2126 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2127 addToUnscopables(FIND);
2128
2129 var $ = _export;
2130 var $filter = arrayIteration.filter;
2131 var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;
2132
2133 var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
2134
2135 // `Array.prototype.filter` method
2136 // https://tc39.es/ecma262/#sec-array.prototype.filter
2137 // with adding support of @@species
2138 $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
2139 filter: function filter(callbackfn /* , thisArg */) {
2140 return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2141 }
2142 });
2143
2144 /**
2145 * @author: Yura Knoxville
2146 * @version: v1.1.0
2147 */
2148
2149 var Utils = $$7.fn.bootstrapTable.utils;
2150 var initBodyCaller;
2151 var groupBy = function groupBy(array, f) {
2152 var tmpGroups = {};
2153 array.forEach(function (o) {
2154 var groups = f(o);
2155 tmpGroups[groups] = tmpGroups[groups] || [];
2156 tmpGroups[groups].push(o);
2157 });
2158 return tmpGroups;
2159 };
2160 Object.assign($$7.fn.bootstrapTable.defaults.icons, {
2161 collapseGroup: {
2162 bootstrap3: 'glyphicon-chevron-up',
2163 bootstrap5: 'bi-chevron-up',
2164 materialize: 'arrow_drop_down'
2165 }[$$7.fn.bootstrapTable.theme] || 'fa-angle-up',
2166 expandGroup: {
2167 bootstrap3: 'glyphicon-chevron-down',
2168 bootstrap5: 'bi-chevron-down',
2169 materialize: 'arrow_drop_up'
2170 }[$$7.fn.bootstrapTable.theme] || 'fa-angle-down'
2171 });
2172 Object.assign($$7.fn.bootstrapTable.defaults, {
2173 groupBy: false,
2174 groupByField: '',
2175 groupByFormatter: undefined,
2176 groupByToggle: false,
2177 groupByShowToggleIcon: false,
2178 groupByCollapsedGroups: []
2179 });
2180 var BootstrapTable = $$7.fn.bootstrapTable.Constructor;
2181 var _initSort = BootstrapTable.prototype.initSort;
2182 var _initBody = BootstrapTable.prototype.initBody;
2183 var _updateSelected = BootstrapTable.prototype.updateSelected;
2184 BootstrapTable.prototype.initSort = function () {
2185 var _this = this;
2186 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2187 args[_key] = arguments[_key];
2188 }
2189 _initSort.apply(this, Array.prototype.slice.apply(args));
2190 var that = this;
2191 this.tableGroups = [];
2192 if (this.options.groupBy && this.options.groupByField !== '') {
2193 if (this.options.sortName !== this.options.groupByField) {
2194 if (this.options.customSort) {
2195 Utils.calculateObjectValue(this.options, this.options.customSort, [this.options.sortName, this.options.sortOrder, this.data]);
2196 } else {
2197 this.options.data.sort(function (a, b) {
2198 var groupByFields = _this.getGroupByFields();
2199 var fieldValuesA = [];
2200 var fieldValuesB = [];
2201 $$7.each(groupByFields, function (i, field) {
2202 fieldValuesA.push(a[field]);
2203 fieldValuesB.push(b[field]);
2204 });
2205 a = fieldValuesA.join();
2206 b = fieldValuesB.join();
2207 return a.localeCompare(b, undefined, {
2208 numeric: true
2209 });
2210 });
2211 }
2212 }
2213 var groups = groupBy(that.data, function (item) {
2214 var groupByFields = _this.getGroupByFields();
2215 var groupValues = [];
2216 $$7.each(groupByFields, function (i, field) {
2217 var value_ = Utils.getItemField(item, field, that.options.escape, item.escape);
2218 groupValues.push(value_);
2219 });
2220 return groupValues.join(', ');
2221 });
2222 var index = 0;
2223 $$7.each(groups, function (key, value) {
2224 _this.tableGroups.push({
2225 id: index,
2226 name: key,
2227 data: value
2228 });
2229 value.forEach(function (item) {
2230 if (!item._data) {
2231 item._data = {};
2232 }
2233 if (_this.isCollapsed(key, value)) {
2234 item._class += ' hidden';
2235 }
2236 item._data['parent-index'] = index;
2237 });
2238 index++;
2239 });
2240 }
2241 };
2242 BootstrapTable.prototype.initBody = function () {
2243 var _this2 = this;
2244 initBodyCaller = true;
2245 for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
2246 args[_key2] = arguments[_key2];
2247 }
2248 _initBody.apply(this, Array.prototype.slice.apply(args));
2249 if (this.options.groupBy && this.options.groupByField !== '') {
2250 var that = this;
2251 var checkBox = false;
2252 var visibleColumns = 0;
2253 this.columns.forEach(function (column) {
2254 if (column.checkbox) {
2255 checkBox = true;
2256 } else if (column.visible) {
2257 visibleColumns += 1;
2258 }
2259 });
2260 if (this.options.detailView && !this.options.cardView) {
2261 visibleColumns += 1;
2262 }
2263 this.tableGroups.forEach(function (item) {
2264 var html = [];
2265 html.push(Utils.sprintf('<tr class="info group-by %s" data-group-index="%s">', _this2.options.groupByToggle ? 'expanded' : '', item.id));
2266 if (that.options.detailView && !that.options.cardView) {
2267 html.push('<td class="detail"></td>');
2268 }
2269 if (checkBox) {
2270 html.push('<td class="bs-checkbox">', '<input name="btSelectGroup" type="checkbox" />', '</td>');
2271 }
2272 var formattedValue = item.name;
2273 if (that.options.groupByFormatter !== undefined) {
2274 formattedValue = Utils.calculateObjectValue(that.options, that.options.groupByFormatter, [item.name, item.id, item.data]);
2275 }
2276 html.push('<td', Utils.sprintf(' colspan="%s"', visibleColumns), '>', formattedValue);
2277 var icon = _this2.options.icons.collapseGroup;
2278 if (_this2.isCollapsed(item.name, item.data)) {
2279 icon = _this2.options.icons.expandGroup;
2280 }
2281 if (_this2.options.groupByToggle && _this2.options.groupByShowToggleIcon) {
2282 html.push("<span class=\"float-right ".concat(_this2.options.iconsPrefix, " ").concat(icon, "\"></span>"));
2283 }
2284 html.push('</td></tr>');
2285 that.$body.find("tr[data-parent-index=".concat(item.id, "]:first")).before($$7(html.join('')));
2286 });
2287 this.$selectGroup = [];
2288 this.$body.find('[name="btSelectGroup"]').each(function () {
2289 var self = $$7(this);
2290 that.$selectGroup.push({
2291 group: self,
2292 item: that.$selectItem.filter(function () {
2293 return $$7(this).closest('tr').data('parent-index') === self.closest('tr').data('group-index');
2294 })
2295 });
2296 });
2297 if (this.options.groupByToggle) {
2298 this.$container.off('click', '.group-by').on('click', '.group-by', function () {
2299 var $this = $$7(this);
2300 var groupIndex = $this.closest('tr').data('group-index');
2301 var $groupRows = that.$body.find("tr[data-parent-index=".concat(groupIndex, "]"));
2302 $this.toggleClass('expanded collapsed');
2303 $this.find('span').toggleClass("".concat(that.options.icons.collapseGroup, " ").concat(that.options.icons.expandGroup));
2304 $groupRows.toggleClass('hidden');
2305 $groupRows.each(function (i, element) {
2306 return that.collapseRow($$7(element).data('index'));
2307 });
2308 });
2309 }
2310 this.$container.off('click', '[name="btSelectGroup"]').on('click', '[name="btSelectGroup"]', function (event) {
2311 event.stopImmediatePropagation();
2312 var self = $$7(this);
2313 var checked = self.prop('checked');
2314 that[checked ? 'checkGroup' : 'uncheckGroup']($$7(this).closest('tr').data('group-index'));
2315 });
2316 }
2317 initBodyCaller = false;
2318 this.updateSelected();
2319 };
2320 BootstrapTable.prototype.updateSelected = function () {
2321 if (!initBodyCaller) {
2322 for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
2323 args[_key3] = arguments[_key3];
2324 }
2325 _updateSelected.apply(this, Array.prototype.slice.apply(args));
2326 if (this.options.groupBy && this.options.groupByField !== '') {
2327 this.$selectGroup.forEach(function (item) {
2328 var checkGroup = item.item.filter(':enabled').length === item.item.filter(':enabled').filter(':checked').length;
2329 item.group.prop('checked', checkGroup);
2330 });
2331 }
2332 }
2333 };
2334 BootstrapTable.prototype.checkGroup = function (index) {
2335 this.checkGroup_(index, true);
2336 };
2337 BootstrapTable.prototype.uncheckGroup = function (index) {
2338 this.checkGroup_(index, false);
2339 };
2340 BootstrapTable.prototype.isCollapsed = function (groupKey, items) {
2341 if (this.options.groupByCollapsedGroups) {
2342 var collapsedGroups = Utils.calculateObjectValue(this, this.options.groupByCollapsedGroups, [groupKey, items], true);
2343 if ($$7.inArray(groupKey, collapsedGroups) > -1) {
2344 return true;
2345 }
2346 }
2347 return false;
2348 };
2349 BootstrapTable.prototype.checkGroup_ = function (index, checked) {
2350 var rowsBefore = this.getSelections();
2351 var filter = function filter() {
2352 return $$7(this).closest('tr').data('parent-index') === index;
2353 };
2354 this.$selectItem.filter(filter).prop('checked', checked);
2355 this.updateRows();
2356 this.updateSelected();
2357 var rowsAfter = this.getSelections();
2358 if (checked) {
2359 this.trigger('check-all', rowsAfter, rowsBefore);
2360 return;
2361 }
2362 this.trigger('uncheck-all', rowsAfter, rowsBefore);
2363 };
2364 BootstrapTable.prototype.getGroupByFields = function () {
2365 var groupByFields = this.options.groupByField;
2366 if (!$$7.isArray(this.options.groupByField)) {
2367 groupByFields = [this.options.groupByField];
2368 }
2369 return groupByFields;
2370 };
2371 $$7.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
2372 _inherits(_class, _$$BootstrapTable);
2373 var _super = _createSuper(_class);
2374 function _class() {
2375 _classCallCheck(this, _class);
2376 return _super.apply(this, arguments);
2377 }
2378 _createClass(_class, [{
2379 key: "scrollTo",
2380 value: function scrollTo(params) {
2381 if (this.options.groupBy) {
2382 var options = {
2383 unit: 'px',
2384 value: 0
2385 };
2386 if (_typeof(params) === 'object') {
2387 options = Object.assign(options, params);
2388 }
2389 if (options.unit === 'rows') {
2390 var scrollTo = 0;
2391 this.$body.find("> tr:not(.group-by):lt(".concat(options.value, ")")).each(function (i, el) {
2392 scrollTo += $$7(el).outerHeight(true);
2393 });
2394 var $targetColumn = this.$body.find("> tr:not(.group-by):eq(".concat(options.value, ")"));
2395 $targetColumn.prevAll('.group-by').each(function (i, el) {
2396 scrollTo += $$7(el).outerHeight(true);
2397 });
2398 this.$tableBody.scrollTop(scrollTo);
2399 return;
2400 }
2401 }
2402 _get(_getPrototypeOf(_class.prototype), "scrollTo", this).call(this, params);
2403 }
2404 }]);
2405 return _class;
2406 }($$7.BootstrapTable);
2407
2408}));