UNPKG

60.7 kBJavaScriptView Raw
1(function (global, factory) {
2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
3 typeof define === 'function' && define.amd ? define(['jquery'], factory) :
4 (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
5})(this, (function ($$3) { 'use strict';
6
7 function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9 var $__default = /*#__PURE__*/_interopDefaultLegacy($$3);
10
11 function _classCallCheck(instance, Constructor) {
12 if (!(instance instanceof Constructor)) {
13 throw new TypeError("Cannot call a class as a function");
14 }
15 }
16 function _defineProperties(target, props) {
17 for (var i = 0; i < props.length; i++) {
18 var descriptor = props[i];
19 descriptor.enumerable = descriptor.enumerable || false;
20 descriptor.configurable = true;
21 if ("value" in descriptor) descriptor.writable = true;
22 Object.defineProperty(target, descriptor.key, descriptor);
23 }
24 }
25 function _createClass(Constructor, protoProps, staticProps) {
26 if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27 if (staticProps) _defineProperties(Constructor, staticProps);
28 Object.defineProperty(Constructor, "prototype", {
29 writable: false
30 });
31 return Constructor;
32 }
33 function _inherits(subClass, superClass) {
34 if (typeof superClass !== "function" && superClass !== null) {
35 throw new TypeError("Super expression must either be null or a function");
36 }
37 subClass.prototype = Object.create(superClass && superClass.prototype, {
38 constructor: {
39 value: subClass,
40 writable: true,
41 configurable: true
42 }
43 });
44 Object.defineProperty(subClass, "prototype", {
45 writable: false
46 });
47 if (superClass) _setPrototypeOf(subClass, superClass);
48 }
49 function _getPrototypeOf(o) {
50 _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
51 return o.__proto__ || Object.getPrototypeOf(o);
52 };
53 return _getPrototypeOf(o);
54 }
55 function _setPrototypeOf(o, p) {
56 _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
57 o.__proto__ = p;
58 return o;
59 };
60 return _setPrototypeOf(o, p);
61 }
62 function _isNativeReflectConstruct() {
63 if (typeof Reflect === "undefined" || !Reflect.construct) return false;
64 if (Reflect.construct.sham) return false;
65 if (typeof Proxy === "function") return true;
66 try {
67 Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
68 return true;
69 } catch (e) {
70 return false;
71 }
72 }
73 function _assertThisInitialized(self) {
74 if (self === void 0) {
75 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
76 }
77 return self;
78 }
79 function _possibleConstructorReturn(self, call) {
80 if (call && (typeof call === "object" || typeof call === "function")) {
81 return call;
82 } else if (call !== void 0) {
83 throw new TypeError("Derived constructors may only return object or undefined");
84 }
85 return _assertThisInitialized(self);
86 }
87 function _createSuper(Derived) {
88 var hasNativeReflectConstruct = _isNativeReflectConstruct();
89 return function _createSuperInternal() {
90 var Super = _getPrototypeOf(Derived),
91 result;
92 if (hasNativeReflectConstruct) {
93 var NewTarget = _getPrototypeOf(this).constructor;
94 result = Reflect.construct(Super, arguments, NewTarget);
95 } else {
96 result = Super.apply(this, arguments);
97 }
98 return _possibleConstructorReturn(this, result);
99 };
100 }
101 function _superPropBase(object, property) {
102 while (!Object.prototype.hasOwnProperty.call(object, property)) {
103 object = _getPrototypeOf(object);
104 if (object === null) break;
105 }
106 return object;
107 }
108 function _get() {
109 if (typeof Reflect !== "undefined" && Reflect.get) {
110 _get = Reflect.get.bind();
111 } else {
112 _get = function _get(target, property, receiver) {
113 var base = _superPropBase(target, property);
114 if (!base) return;
115 var desc = Object.getOwnPropertyDescriptor(base, property);
116 if (desc.get) {
117 return desc.get.call(arguments.length < 3 ? target : receiver);
118 }
119 return desc.value;
120 };
121 }
122 return _get.apply(this, arguments);
123 }
124
125 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
126
127 var check = function (it) {
128 return it && it.Math == Math && it;
129 };
130
131 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
132 var global$a =
133 // eslint-disable-next-line es/no-global-this -- safe
134 check(typeof globalThis == 'object' && globalThis) ||
135 check(typeof window == 'object' && window) ||
136 // eslint-disable-next-line no-restricted-globals -- safe
137 check(typeof self == 'object' && self) ||
138 check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
139 // eslint-disable-next-line no-new-func -- fallback
140 (function () { return this; })() || Function('return this')();
141
142 var objectGetOwnPropertyDescriptor = {};
143
144 var fails$a = function (exec) {
145 try {
146 return !!exec();
147 } catch (error) {
148 return true;
149 }
150 };
151
152 var fails$9 = fails$a;
153
154 // Detect IE8's incomplete defineProperty implementation
155 var descriptors = !fails$9(function () {
156 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
157 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
158 });
159
160 var fails$8 = fails$a;
161
162 var functionBindNative = !fails$8(function () {
163 // eslint-disable-next-line es/no-function-prototype-bind -- safe
164 var test = (function () { /* empty */ }).bind();
165 // eslint-disable-next-line no-prototype-builtins -- safe
166 return typeof test != 'function' || test.hasOwnProperty('prototype');
167 });
168
169 var NATIVE_BIND$2 = functionBindNative;
170
171 var call$4 = Function.prototype.call;
172
173 var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
174 return call$4.apply(call$4, arguments);
175 };
176
177 var objectPropertyIsEnumerable = {};
178
179 var $propertyIsEnumerable = {}.propertyIsEnumerable;
180 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
181 var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
182
183 // Nashorn ~ JDK8 bug
184 var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
185
186 // `Object.prototype.propertyIsEnumerable` method implementation
187 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
188 objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
189 var descriptor = getOwnPropertyDescriptor$1(this, V);
190 return !!descriptor && descriptor.enumerable;
191 } : $propertyIsEnumerable;
192
193 var createPropertyDescriptor$2 = function (bitmap, value) {
194 return {
195 enumerable: !(bitmap & 1),
196 configurable: !(bitmap & 2),
197 writable: !(bitmap & 4),
198 value: value
199 };
200 };
201
202 var NATIVE_BIND$1 = functionBindNative;
203
204 var FunctionPrototype$1 = Function.prototype;
205 var call$3 = FunctionPrototype$1.call;
206 var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$3, call$3);
207
208 var functionUncurryThisRaw = function (fn) {
209 return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
210 return call$3.apply(fn, arguments);
211 };
212 };
213
214 var uncurryThisRaw$1 = functionUncurryThisRaw;
215
216 var toString$4 = uncurryThisRaw$1({}.toString);
217 var stringSlice = uncurryThisRaw$1(''.slice);
218
219 var classofRaw$2 = function (it) {
220 return stringSlice(toString$4(it), 8, -1);
221 };
222
223 var classofRaw$1 = classofRaw$2;
224 var uncurryThisRaw = functionUncurryThisRaw;
225
226 var functionUncurryThis = function (fn) {
227 // Nashorn bug:
228 // https://github.com/zloirock/core-js/issues/1128
229 // https://github.com/zloirock/core-js/issues/1130
230 if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
231 };
232
233 var uncurryThis$a = functionUncurryThis;
234 var fails$7 = fails$a;
235 var classof$6 = classofRaw$2;
236
237 var $Object$3 = Object;
238 var split = uncurryThis$a(''.split);
239
240 // fallback for non-array-like ES3 and non-enumerable old V8 strings
241 var indexedObject = fails$7(function () {
242 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
243 // eslint-disable-next-line no-prototype-builtins -- safe
244 return !$Object$3('z').propertyIsEnumerable(0);
245 }) ? function (it) {
246 return classof$6(it) == 'String' ? split(it, '') : $Object$3(it);
247 } : $Object$3;
248
249 // we can't use just `it == null` since of `document.all` special case
250 // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
251 var isNullOrUndefined$2 = function (it) {
252 return it === null || it === undefined;
253 };
254
255 var isNullOrUndefined$1 = isNullOrUndefined$2;
256
257 var $TypeError$6 = TypeError;
258
259 // `RequireObjectCoercible` abstract operation
260 // https://tc39.es/ecma262/#sec-requireobjectcoercible
261 var requireObjectCoercible$3 = function (it) {
262 if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
263 return it;
264 };
265
266 // toObject with fallback for non-array-like ES3 strings
267 var IndexedObject$1 = indexedObject;
268 var requireObjectCoercible$2 = requireObjectCoercible$3;
269
270 var toIndexedObject$4 = function (it) {
271 return IndexedObject$1(requireObjectCoercible$2(it));
272 };
273
274 var documentAll$2 = typeof document == 'object' && document.all;
275
276 // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
277 var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
278
279 var documentAll_1 = {
280 all: documentAll$2,
281 IS_HTMLDDA: IS_HTMLDDA
282 };
283
284 var $documentAll$1 = documentAll_1;
285
286 var documentAll$1 = $documentAll$1.all;
287
288 // `IsCallable` abstract operation
289 // https://tc39.es/ecma262/#sec-iscallable
290 var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {
291 return typeof argument == 'function' || argument === documentAll$1;
292 } : function (argument) {
293 return typeof argument == 'function';
294 };
295
296 var isCallable$b = isCallable$c;
297 var $documentAll = documentAll_1;
298
299 var documentAll = $documentAll.all;
300
301 var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
302 return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
303 } : function (it) {
304 return typeof it == 'object' ? it !== null : isCallable$b(it);
305 };
306
307 var global$9 = global$a;
308 var isCallable$a = isCallable$c;
309
310 var aFunction = function (argument) {
311 return isCallable$a(argument) ? argument : undefined;
312 };
313
314 var getBuiltIn$5 = function (namespace, method) {
315 return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
316 };
317
318 var uncurryThis$9 = functionUncurryThis;
319
320 var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
321
322 var getBuiltIn$4 = getBuiltIn$5;
323
324 var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
325
326 var global$8 = global$a;
327 var userAgent = engineUserAgent;
328
329 var process = global$8.process;
330 var Deno = global$8.Deno;
331 var versions = process && process.versions || Deno && Deno.version;
332 var v8 = versions && versions.v8;
333 var match, version;
334
335 if (v8) {
336 match = v8.split('.');
337 // in old Chrome, versions of V8 isn't V8 = Chrome / 10
338 // but their correct versions are not interesting for us
339 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
340 }
341
342 // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
343 // so check `userAgent` even if `.v8` exists, but 0
344 if (!version && userAgent) {
345 match = userAgent.match(/Edge\/(\d+)/);
346 if (!match || match[1] >= 74) {
347 match = userAgent.match(/Chrome\/(\d+)/);
348 if (match) version = +match[1];
349 }
350 }
351
352 var engineV8Version = version;
353
354 /* eslint-disable es/no-symbol -- required for testing */
355
356 var V8_VERSION = engineV8Version;
357 var fails$6 = fails$a;
358
359 // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
360 var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$6(function () {
361 var symbol = Symbol();
362 // Chrome 38 Symbol has incorrect toString conversion
363 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
364 return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
365 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
366 !Symbol.sham && V8_VERSION && V8_VERSION < 41;
367 });
368
369 /* eslint-disable es/no-symbol -- required for testing */
370
371 var NATIVE_SYMBOL$1 = symbolConstructorDetection;
372
373 var useSymbolAsUid = NATIVE_SYMBOL$1
374 && !Symbol.sham
375 && typeof Symbol.iterator == 'symbol';
376
377 var getBuiltIn$3 = getBuiltIn$5;
378 var isCallable$9 = isCallable$c;
379 var isPrototypeOf = objectIsPrototypeOf;
380 var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
381
382 var $Object$2 = Object;
383
384 var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
385 return typeof it == 'symbol';
386 } : function (it) {
387 var $Symbol = getBuiltIn$3('Symbol');
388 return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
389 };
390
391 var $String$2 = String;
392
393 var tryToString$1 = function (argument) {
394 try {
395 return $String$2(argument);
396 } catch (error) {
397 return 'Object';
398 }
399 };
400
401 var isCallable$8 = isCallable$c;
402 var tryToString = tryToString$1;
403
404 var $TypeError$5 = TypeError;
405
406 // `Assert: IsCallable(argument) is true`
407 var aCallable$2 = function (argument) {
408 if (isCallable$8(argument)) return argument;
409 throw $TypeError$5(tryToString(argument) + ' is not a function');
410 };
411
412 var aCallable$1 = aCallable$2;
413 var isNullOrUndefined = isNullOrUndefined$2;
414
415 // `GetMethod` abstract operation
416 // https://tc39.es/ecma262/#sec-getmethod
417 var getMethod$1 = function (V, P) {
418 var func = V[P];
419 return isNullOrUndefined(func) ? undefined : aCallable$1(func);
420 };
421
422 var call$2 = functionCall;
423 var isCallable$7 = isCallable$c;
424 var isObject$6 = isObject$7;
425
426 var $TypeError$4 = TypeError;
427
428 // `OrdinaryToPrimitive` abstract operation
429 // https://tc39.es/ecma262/#sec-ordinarytoprimitive
430 var ordinaryToPrimitive$1 = function (input, pref) {
431 var fn, val;
432 if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
433 if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val;
434 if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
435 throw $TypeError$4("Can't convert object to primitive value");
436 };
437
438 var shared$3 = {exports: {}};
439
440 var global$7 = global$a;
441
442 // eslint-disable-next-line es/no-object-defineproperty -- safe
443 var defineProperty$2 = Object.defineProperty;
444
445 var defineGlobalProperty$3 = function (key, value) {
446 try {
447 defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
448 } catch (error) {
449 global$7[key] = value;
450 } return value;
451 };
452
453 var global$6 = global$a;
454 var defineGlobalProperty$2 = defineGlobalProperty$3;
455
456 var SHARED = '__core-js_shared__';
457 var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
458
459 var sharedStore = store$3;
460
461 var store$2 = sharedStore;
462
463 (shared$3.exports = function (key, value) {
464 return store$2[key] || (store$2[key] = value !== undefined ? value : {});
465 })('versions', []).push({
466 version: '3.25.5',
467 mode: 'global',
468 copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
469 license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
470 source: 'https://github.com/zloirock/core-js'
471 });
472
473 var requireObjectCoercible$1 = requireObjectCoercible$3;
474
475 var $Object$1 = Object;
476
477 // `ToObject` abstract operation
478 // https://tc39.es/ecma262/#sec-toobject
479 var toObject$2 = function (argument) {
480 return $Object$1(requireObjectCoercible$1(argument));
481 };
482
483 var uncurryThis$8 = functionUncurryThis;
484 var toObject$1 = toObject$2;
485
486 var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
487
488 // `HasOwnProperty` abstract operation
489 // https://tc39.es/ecma262/#sec-hasownproperty
490 // eslint-disable-next-line es/no-object-hasown -- safe
491 var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
492 return hasOwnProperty(toObject$1(it), key);
493 };
494
495 var uncurryThis$7 = functionUncurryThis;
496
497 var id = 0;
498 var postfix = Math.random();
499 var toString$3 = uncurryThis$7(1.0.toString);
500
501 var uid$2 = function (key) {
502 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
503 };
504
505 var global$5 = global$a;
506 var shared$2 = shared$3.exports;
507 var hasOwn$6 = hasOwnProperty_1;
508 var uid$1 = uid$2;
509 var NATIVE_SYMBOL = symbolConstructorDetection;
510 var USE_SYMBOL_AS_UID = useSymbolAsUid;
511
512 var WellKnownSymbolsStore = shared$2('wks');
513 var Symbol$1 = global$5.Symbol;
514 var symbolFor = Symbol$1 && Symbol$1['for'];
515 var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
516
517 var wellKnownSymbol$7 = function (name) {
518 if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
519 var description = 'Symbol.' + name;
520 if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
521 WellKnownSymbolsStore[name] = Symbol$1[name];
522 } else if (USE_SYMBOL_AS_UID && symbolFor) {
523 WellKnownSymbolsStore[name] = symbolFor(description);
524 } else {
525 WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
526 }
527 } return WellKnownSymbolsStore[name];
528 };
529
530 var call$1 = functionCall;
531 var isObject$5 = isObject$7;
532 var isSymbol$1 = isSymbol$2;
533 var getMethod = getMethod$1;
534 var ordinaryToPrimitive = ordinaryToPrimitive$1;
535 var wellKnownSymbol$6 = wellKnownSymbol$7;
536
537 var $TypeError$3 = TypeError;
538 var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');
539
540 // `ToPrimitive` abstract operation
541 // https://tc39.es/ecma262/#sec-toprimitive
542 var toPrimitive$1 = function (input, pref) {
543 if (!isObject$5(input) || isSymbol$1(input)) return input;
544 var exoticToPrim = getMethod(input, TO_PRIMITIVE);
545 var result;
546 if (exoticToPrim) {
547 if (pref === undefined) pref = 'default';
548 result = call$1(exoticToPrim, input, pref);
549 if (!isObject$5(result) || isSymbol$1(result)) return result;
550 throw $TypeError$3("Can't convert object to primitive value");
551 }
552 if (pref === undefined) pref = 'number';
553 return ordinaryToPrimitive(input, pref);
554 };
555
556 var toPrimitive = toPrimitive$1;
557 var isSymbol = isSymbol$2;
558
559 // `ToPropertyKey` abstract operation
560 // https://tc39.es/ecma262/#sec-topropertykey
561 var toPropertyKey$2 = function (argument) {
562 var key = toPrimitive(argument, 'string');
563 return isSymbol(key) ? key : key + '';
564 };
565
566 var global$4 = global$a;
567 var isObject$4 = isObject$7;
568
569 var document$1 = global$4.document;
570 // typeof document.createElement is 'object' in old IE
571 var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
572
573 var documentCreateElement$1 = function (it) {
574 return EXISTS$1 ? document$1.createElement(it) : {};
575 };
576
577 var DESCRIPTORS$7 = descriptors;
578 var fails$5 = fails$a;
579 var createElement = documentCreateElement$1;
580
581 // Thanks to IE8 for its funny defineProperty
582 var ie8DomDefine = !DESCRIPTORS$7 && !fails$5(function () {
583 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
584 return Object.defineProperty(createElement('div'), 'a', {
585 get: function () { return 7; }
586 }).a != 7;
587 });
588
589 var DESCRIPTORS$6 = descriptors;
590 var call = functionCall;
591 var propertyIsEnumerableModule = objectPropertyIsEnumerable;
592 var createPropertyDescriptor$1 = createPropertyDescriptor$2;
593 var toIndexedObject$3 = toIndexedObject$4;
594 var toPropertyKey$1 = toPropertyKey$2;
595 var hasOwn$5 = hasOwnProperty_1;
596 var IE8_DOM_DEFINE$1 = ie8DomDefine;
597
598 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
599 var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
600
601 // `Object.getOwnPropertyDescriptor` method
602 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
603 objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
604 O = toIndexedObject$3(O);
605 P = toPropertyKey$1(P);
606 if (IE8_DOM_DEFINE$1) try {
607 return $getOwnPropertyDescriptor$1(O, P);
608 } catch (error) { /* empty */ }
609 if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
610 };
611
612 var objectDefineProperty = {};
613
614 var DESCRIPTORS$5 = descriptors;
615 var fails$4 = fails$a;
616
617 // V8 ~ Chrome 36-
618 // https://bugs.chromium.org/p/v8/issues/detail?id=3334
619 var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$4(function () {
620 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
621 return Object.defineProperty(function () { /* empty */ }, 'prototype', {
622 value: 42,
623 writable: false
624 }).prototype != 42;
625 });
626
627 var isObject$3 = isObject$7;
628
629 var $String$1 = String;
630 var $TypeError$2 = TypeError;
631
632 // `Assert: Type(argument) is Object`
633 var anObject$4 = function (argument) {
634 if (isObject$3(argument)) return argument;
635 throw $TypeError$2($String$1(argument) + ' is not an object');
636 };
637
638 var DESCRIPTORS$4 = descriptors;
639 var IE8_DOM_DEFINE = ie8DomDefine;
640 var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
641 var anObject$3 = anObject$4;
642 var toPropertyKey = toPropertyKey$2;
643
644 var $TypeError$1 = TypeError;
645 // eslint-disable-next-line es/no-object-defineproperty -- safe
646 var $defineProperty = Object.defineProperty;
647 // eslint-disable-next-line es/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$3(O);
657 P = toPropertyKey(P);
658 anObject$3(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$3(O);
672 P = toPropertyKey(P);
673 anObject$3(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$1('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$3 = objectDefineProperty;
684 var createPropertyDescriptor = createPropertyDescriptor$2;
685
686 var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
687 return definePropertyModule$3.f(object, key, createPropertyDescriptor(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/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$6 = functionUncurryThis;
714 var isCallable$6 = isCallable$c;
715 var store$1 = sharedStore;
716
717 var functionToString = uncurryThis$6(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$6(store$1.inspectSource)) {
721 store$1.inspectSource = function (it) {
722 return functionToString(it);
723 };
724 }
725
726 var inspectSource$2 = store$1.inspectSource;
727
728 var global$3 = global$a;
729 var isCallable$5 = isCallable$c;
730
731 var WeakMap$1 = global$3.WeakMap;
732
733 var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));
734
735 var shared$1 = shared$3.exports;
736 var uid = uid$2;
737
738 var keys = shared$1('keys');
739
740 var sharedKey$2 = function (key) {
741 return keys[key] || (keys[key] = uid(key));
742 };
743
744 var hiddenKeys$4 = {};
745
746 var NATIVE_WEAK_MAP = weakMapBasicDetection;
747 var global$2 = global$a;
748 var isObject$2 = isObject$7;
749 var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
750 var hasOwn$3 = hasOwnProperty_1;
751 var shared = sharedStore;
752 var sharedKey$1 = sharedKey$2;
753 var hiddenKeys$3 = hiddenKeys$4;
754
755 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
756 var TypeError$1 = global$2.TypeError;
757 var WeakMap = global$2.WeakMap;
758 var set, get, has;
759
760 var enforce = function (it) {
761 return has(it) ? get(it) : set(it, {});
762 };
763
764 var getterFor = function (TYPE) {
765 return function (it) {
766 var state;
767 if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
768 throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
769 } return state;
770 };
771 };
772
773 if (NATIVE_WEAK_MAP || shared.state) {
774 var store = shared.state || (shared.state = new WeakMap());
775 /* eslint-disable no-self-assign -- prototype methods protection */
776 store.get = store.get;
777 store.has = store.has;
778 store.set = store.set;
779 /* eslint-enable no-self-assign -- prototype methods protection */
780 set = function (it, metadata) {
781 if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
782 metadata.facade = it;
783 store.set(it, metadata);
784 return metadata;
785 };
786 get = function (it) {
787 return store.get(it) || {};
788 };
789 has = function (it) {
790 return store.has(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 TypeError$1(OBJECT_ALREADY_INITIALIZED);
797 metadata.facade = it;
798 createNonEnumerableProperty$1(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$3 = fails$a;
818 var isCallable$4 = isCallable$c;
819 var hasOwn$2 = hasOwnProperty_1;
820 var DESCRIPTORS$1 = descriptors;
821 var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
822 var inspectSource$1 = inspectSource$2;
823 var InternalStateModule = internalState;
824
825 var enforceInternalState = InternalStateModule.enforce;
826 var getInternalState = InternalStateModule.get;
827 // eslint-disable-next-line es/no-object-defineproperty -- safe
828 var defineProperty$1 = Object.defineProperty;
829
830 var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () {
831 return defineProperty$1(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 if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
844 else value.name = name;
845 }
846 if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
847 defineProperty$1(value, 'length', { value: options.arity });
848 }
849 try {
850 if (options && hasOwn$2(options, 'constructor') && options.constructor) {
851 if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
852 // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
853 } else if (value.prototype) value.prototype = undefined;
854 } catch (error) { /* empty */ }
855 var state = enforceInternalState(value);
856 if (!hasOwn$2(state, 'source')) {
857 state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
858 } return value;
859 };
860
861 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
862 // eslint-disable-next-line no-extend-native -- required
863 Function.prototype.toString = makeBuiltIn$1(function toString() {
864 return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
865 }, 'toString');
866
867 var isCallable$3 = isCallable$c;
868 var definePropertyModule$2 = objectDefineProperty;
869 var makeBuiltIn = makeBuiltIn$2.exports;
870 var defineGlobalProperty$1 = defineGlobalProperty$3;
871
872 var defineBuiltIn$2 = function (O, key, value, options) {
873 if (!options) options = {};
874 var simple = options.enumerable;
875 var name = options.name !== undefined ? options.name : key;
876 if (isCallable$3(value)) makeBuiltIn(value, name, options);
877 if (options.global) {
878 if (simple) O[key] = value;
879 else defineGlobalProperty$1(key, value);
880 } else {
881 try {
882 if (!options.unsafe) delete O[key];
883 else if (O[key]) simple = true;
884 } catch (error) { /* empty */ }
885 if (simple) O[key] = value;
886 else definePropertyModule$2.f(O, key, {
887 value: value,
888 enumerable: false,
889 configurable: !options.nonConfigurable,
890 writable: !options.nonWritable
891 });
892 } return O;
893 };
894
895 var objectGetOwnPropertyNames = {};
896
897 var ceil = Math.ceil;
898 var floor = Math.floor;
899
900 // `Math.trunc` method
901 // https://tc39.es/ecma262/#sec-math.trunc
902 // eslint-disable-next-line es/no-math-trunc -- safe
903 var mathTrunc = Math.trunc || function trunc(x) {
904 var n = +x;
905 return (n > 0 ? floor : ceil)(n);
906 };
907
908 var trunc = mathTrunc;
909
910 // `ToIntegerOrInfinity` abstract operation
911 // https://tc39.es/ecma262/#sec-tointegerorinfinity
912 var toIntegerOrInfinity$2 = function (argument) {
913 var number = +argument;
914 // eslint-disable-next-line no-self-compare -- NaN check
915 return number !== number || number === 0 ? 0 : trunc(number);
916 };
917
918 var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
919
920 var max = Math.max;
921 var min$1 = Math.min;
922
923 // Helper for a popular repeating case of the spec:
924 // Let integer be ? ToInteger(index).
925 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
926 var toAbsoluteIndex$1 = function (index, length) {
927 var integer = toIntegerOrInfinity$1(index);
928 return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
929 };
930
931 var toIntegerOrInfinity = toIntegerOrInfinity$2;
932
933 var min = Math.min;
934
935 // `ToLength` abstract operation
936 // https://tc39.es/ecma262/#sec-tolength
937 var toLength$1 = function (argument) {
938 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
939 };
940
941 var toLength = toLength$1;
942
943 // `LengthOfArrayLike` abstract operation
944 // https://tc39.es/ecma262/#sec-lengthofarraylike
945 var lengthOfArrayLike$2 = function (obj) {
946 return toLength(obj.length);
947 };
948
949 var toIndexedObject$2 = toIndexedObject$4;
950 var toAbsoluteIndex = toAbsoluteIndex$1;
951 var lengthOfArrayLike$1 = lengthOfArrayLike$2;
952
953 // `Array.prototype.{ indexOf, includes }` methods implementation
954 var createMethod$1 = function (IS_INCLUDES) {
955 return function ($this, el, fromIndex) {
956 var O = toIndexedObject$2($this);
957 var length = lengthOfArrayLike$1(O);
958 var index = toAbsoluteIndex(fromIndex, length);
959 var value;
960 // Array#includes uses SameValueZero equality algorithm
961 // eslint-disable-next-line no-self-compare -- NaN check
962 if (IS_INCLUDES && el != el) while (length > index) {
963 value = O[index++];
964 // eslint-disable-next-line no-self-compare -- NaN check
965 if (value != value) return true;
966 // Array#indexOf ignores holes, Array#includes - not
967 } else for (;length > index; index++) {
968 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
969 } return !IS_INCLUDES && -1;
970 };
971 };
972
973 var arrayIncludes = {
974 // `Array.prototype.includes` method
975 // https://tc39.es/ecma262/#sec-array.prototype.includes
976 includes: createMethod$1(true),
977 // `Array.prototype.indexOf` method
978 // https://tc39.es/ecma262/#sec-array.prototype.indexof
979 indexOf: createMethod$1(false)
980 };
981
982 var uncurryThis$5 = functionUncurryThis;
983 var hasOwn$1 = hasOwnProperty_1;
984 var toIndexedObject$1 = toIndexedObject$4;
985 var indexOf = arrayIncludes.indexOf;
986 var hiddenKeys$2 = hiddenKeys$4;
987
988 var push$1 = uncurryThis$5([].push);
989
990 var objectKeysInternal = function (object, names) {
991 var O = toIndexedObject$1(object);
992 var i = 0;
993 var result = [];
994 var key;
995 for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);
996 // Don't enum bug & hidden keys
997 while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
998 ~indexOf(result, key) || push$1(result, key);
999 }
1000 return result;
1001 };
1002
1003 // IE8- don't enum bug keys
1004 var enumBugKeys$3 = [
1005 'constructor',
1006 'hasOwnProperty',
1007 'isPrototypeOf',
1008 'propertyIsEnumerable',
1009 'toLocaleString',
1010 'toString',
1011 'valueOf'
1012 ];
1013
1014 var internalObjectKeys$1 = objectKeysInternal;
1015 var enumBugKeys$2 = enumBugKeys$3;
1016
1017 var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1018
1019 // `Object.getOwnPropertyNames` method
1020 // https://tc39.es/ecma262/#sec-object.getownpropertynames
1021 // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1022 objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1023 return internalObjectKeys$1(O, hiddenKeys$1);
1024 };
1025
1026 var objectGetOwnPropertySymbols = {};
1027
1028 // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1029 objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1030
1031 var getBuiltIn$2 = getBuiltIn$5;
1032 var uncurryThis$4 = functionUncurryThis;
1033 var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1034 var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1035 var anObject$2 = anObject$4;
1036
1037 var concat = uncurryThis$4([].concat);
1038
1039 // all object keys, includes non-enumerable and symbols
1040 var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
1041 var keys = getOwnPropertyNamesModule.f(anObject$2(it));
1042 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1043 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1044 };
1045
1046 var hasOwn = hasOwnProperty_1;
1047 var ownKeys = ownKeys$1;
1048 var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1049 var definePropertyModule$1 = objectDefineProperty;
1050
1051 var copyConstructorProperties$1 = function (target, source, exceptions) {
1052 var keys = ownKeys(source);
1053 var defineProperty = definePropertyModule$1.f;
1054 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1055 for (var i = 0; i < keys.length; i++) {
1056 var key = keys[i];
1057 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
1058 defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1059 }
1060 }
1061 };
1062
1063 var fails$2 = fails$a;
1064 var isCallable$2 = isCallable$c;
1065
1066 var replacement = /#|\.prototype\./;
1067
1068 var isForced$1 = function (feature, detection) {
1069 var value = data[normalize(feature)];
1070 return value == POLYFILL ? true
1071 : value == NATIVE ? false
1072 : isCallable$2(detection) ? fails$2(detection)
1073 : !!detection;
1074 };
1075
1076 var normalize = isForced$1.normalize = function (string) {
1077 return String(string).replace(replacement, '.').toLowerCase();
1078 };
1079
1080 var data = isForced$1.data = {};
1081 var NATIVE = isForced$1.NATIVE = 'N';
1082 var POLYFILL = isForced$1.POLYFILL = 'P';
1083
1084 var isForced_1 = isForced$1;
1085
1086 var global$1 = global$a;
1087 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1088 var createNonEnumerableProperty = createNonEnumerableProperty$2;
1089 var defineBuiltIn$1 = defineBuiltIn$2;
1090 var defineGlobalProperty = defineGlobalProperty$3;
1091 var copyConstructorProperties = copyConstructorProperties$1;
1092 var isForced = isForced_1;
1093
1094 /*
1095 options.target - name of the target object
1096 options.global - target is the global object
1097 options.stat - export as static methods of target
1098 options.proto - export as prototype methods of target
1099 options.real - real prototype method for the `pure` version
1100 options.forced - export even if the native feature is available
1101 options.bind - bind methods to the target, required for the `pure` version
1102 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1103 options.unsafe - use the simple assignment of property instead of delete + defineProperty
1104 options.sham - add a flag to not completely full polyfills
1105 options.enumerable - export as enumerable property
1106 options.dontCallGetSet - prevent calling a getter on target
1107 options.name - the .name of the function if it does not match the key
1108 */
1109 var _export = function (options, source) {
1110 var TARGET = options.target;
1111 var GLOBAL = options.global;
1112 var STATIC = options.stat;
1113 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1114 if (GLOBAL) {
1115 target = global$1;
1116 } else if (STATIC) {
1117 target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
1118 } else {
1119 target = (global$1[TARGET] || {}).prototype;
1120 }
1121 if (target) for (key in source) {
1122 sourceProperty = source[key];
1123 if (options.dontCallGetSet) {
1124 descriptor = getOwnPropertyDescriptor(target, key);
1125 targetProperty = descriptor && descriptor.value;
1126 } else targetProperty = target[key];
1127 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1128 // contained in target
1129 if (!FORCED && targetProperty !== undefined) {
1130 if (typeof sourceProperty == typeof targetProperty) continue;
1131 copyConstructorProperties(sourceProperty, targetProperty);
1132 }
1133 // add a flag to not completely full polyfills
1134 if (options.sham || (targetProperty && targetProperty.sham)) {
1135 createNonEnumerableProperty(sourceProperty, 'sham', true);
1136 }
1137 defineBuiltIn$1(target, key, sourceProperty, options);
1138 }
1139 };
1140
1141 var uncurryThis$3 = functionUncurryThis;
1142 var aCallable = aCallable$2;
1143 var NATIVE_BIND = functionBindNative;
1144
1145 var bind$1 = uncurryThis$3(uncurryThis$3.bind);
1146
1147 // optional / simple context binding
1148 var functionBindContext = function (fn, that) {
1149 aCallable(fn);
1150 return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1151 return fn.apply(that, arguments);
1152 };
1153 };
1154
1155 var classof$5 = classofRaw$2;
1156
1157 // `IsArray` abstract operation
1158 // https://tc39.es/ecma262/#sec-isarray
1159 // eslint-disable-next-line es/no-array-isarray -- safe
1160 var isArray$1 = Array.isArray || function isArray(argument) {
1161 return classof$5(argument) == 'Array';
1162 };
1163
1164 var wellKnownSymbol$5 = wellKnownSymbol$7;
1165
1166 var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
1167 var test = {};
1168
1169 test[TO_STRING_TAG$1] = 'z';
1170
1171 var toStringTagSupport = String(test) === '[object z]';
1172
1173 var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
1174 var isCallable$1 = isCallable$c;
1175 var classofRaw = classofRaw$2;
1176 var wellKnownSymbol$4 = wellKnownSymbol$7;
1177
1178 var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
1179 var $Object = Object;
1180
1181 // ES3 wrong here
1182 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1183
1184 // fallback for IE11 Script Access Denied error
1185 var tryGet = function (it, key) {
1186 try {
1187 return it[key];
1188 } catch (error) { /* empty */ }
1189 };
1190
1191 // getting tag from ES6+ `Object.prototype.toString`
1192 var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
1193 var O, tag, result;
1194 return it === undefined ? 'Undefined' : it === null ? 'Null'
1195 // @@toStringTag case
1196 : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1197 // builtinTag case
1198 : CORRECT_ARGUMENTS ? classofRaw(O)
1199 // ES3 arguments fallback
1200 : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
1201 };
1202
1203 var uncurryThis$2 = functionUncurryThis;
1204 var fails$1 = fails$a;
1205 var isCallable = isCallable$c;
1206 var classof$3 = classof$4;
1207 var getBuiltIn$1 = getBuiltIn$5;
1208 var inspectSource = inspectSource$2;
1209
1210 var noop = function () { /* empty */ };
1211 var empty = [];
1212 var construct = getBuiltIn$1('Reflect', 'construct');
1213 var constructorRegExp = /^\s*(?:class|function)\b/;
1214 var exec = uncurryThis$2(constructorRegExp.exec);
1215 var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
1216
1217 var isConstructorModern = function isConstructor(argument) {
1218 if (!isCallable(argument)) return false;
1219 try {
1220 construct(noop, empty, argument);
1221 return true;
1222 } catch (error) {
1223 return false;
1224 }
1225 };
1226
1227 var isConstructorLegacy = function isConstructor(argument) {
1228 if (!isCallable(argument)) return false;
1229 switch (classof$3(argument)) {
1230 case 'AsyncFunction':
1231 case 'GeneratorFunction':
1232 case 'AsyncGeneratorFunction': return false;
1233 }
1234 try {
1235 // we can't check .prototype since constructors produced by .bind haven't it
1236 // `Function#toString` throws on some built-it function in some legacy engines
1237 // (for example, `DOMQuad` and similar in FF41-)
1238 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
1239 } catch (error) {
1240 return true;
1241 }
1242 };
1243
1244 isConstructorLegacy.sham = true;
1245
1246 // `IsConstructor` abstract operation
1247 // https://tc39.es/ecma262/#sec-isconstructor
1248 var isConstructor$1 = !construct || fails$1(function () {
1249 var called;
1250 return isConstructorModern(isConstructorModern.call)
1251 || !isConstructorModern(Object)
1252 || !isConstructorModern(function () { called = true; })
1253 || called;
1254 }) ? isConstructorLegacy : isConstructorModern;
1255
1256 var isArray = isArray$1;
1257 var isConstructor = isConstructor$1;
1258 var isObject$1 = isObject$7;
1259 var wellKnownSymbol$3 = wellKnownSymbol$7;
1260
1261 var SPECIES = wellKnownSymbol$3('species');
1262 var $Array = Array;
1263
1264 // a part of `ArraySpeciesCreate` abstract operation
1265 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1266 var arraySpeciesConstructor$1 = function (originalArray) {
1267 var C;
1268 if (isArray(originalArray)) {
1269 C = originalArray.constructor;
1270 // cross-realm fallback
1271 if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
1272 else if (isObject$1(C)) {
1273 C = C[SPECIES];
1274 if (C === null) C = undefined;
1275 }
1276 } return C === undefined ? $Array : C;
1277 };
1278
1279 var arraySpeciesConstructor = arraySpeciesConstructor$1;
1280
1281 // `ArraySpeciesCreate` abstract operation
1282 // https://tc39.es/ecma262/#sec-arrayspeciescreate
1283 var arraySpeciesCreate$1 = function (originalArray, length) {
1284 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
1285 };
1286
1287 var bind = functionBindContext;
1288 var uncurryThis$1 = functionUncurryThis;
1289 var IndexedObject = indexedObject;
1290 var toObject = toObject$2;
1291 var lengthOfArrayLike = lengthOfArrayLike$2;
1292 var arraySpeciesCreate = arraySpeciesCreate$1;
1293
1294 var push = uncurryThis$1([].push);
1295
1296 // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
1297 var createMethod = function (TYPE) {
1298 var IS_MAP = TYPE == 1;
1299 var IS_FILTER = TYPE == 2;
1300 var IS_SOME = TYPE == 3;
1301 var IS_EVERY = TYPE == 4;
1302 var IS_FIND_INDEX = TYPE == 6;
1303 var IS_FILTER_REJECT = TYPE == 7;
1304 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
1305 return function ($this, callbackfn, that, specificCreate) {
1306 var O = toObject($this);
1307 var self = IndexedObject(O);
1308 var boundFunction = bind(callbackfn, that);
1309 var length = lengthOfArrayLike(self);
1310 var index = 0;
1311 var create = specificCreate || arraySpeciesCreate;
1312 var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
1313 var value, result;
1314 for (;length > index; index++) if (NO_HOLES || index in self) {
1315 value = self[index];
1316 result = boundFunction(value, index, O);
1317 if (TYPE) {
1318 if (IS_MAP) target[index] = result; // map
1319 else if (result) switch (TYPE) {
1320 case 3: return true; // some
1321 case 5: return value; // find
1322 case 6: return index; // findIndex
1323 case 2: push(target, value); // filter
1324 } else switch (TYPE) {
1325 case 4: return false; // every
1326 case 7: push(target, value); // filterReject
1327 }
1328 }
1329 }
1330 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
1331 };
1332 };
1333
1334 var arrayIteration = {
1335 // `Array.prototype.forEach` method
1336 // https://tc39.es/ecma262/#sec-array.prototype.foreach
1337 forEach: createMethod(0),
1338 // `Array.prototype.map` method
1339 // https://tc39.es/ecma262/#sec-array.prototype.map
1340 map: createMethod(1),
1341 // `Array.prototype.filter` method
1342 // https://tc39.es/ecma262/#sec-array.prototype.filter
1343 filter: createMethod(2),
1344 // `Array.prototype.some` method
1345 // https://tc39.es/ecma262/#sec-array.prototype.some
1346 some: createMethod(3),
1347 // `Array.prototype.every` method
1348 // https://tc39.es/ecma262/#sec-array.prototype.every
1349 every: createMethod(4),
1350 // `Array.prototype.find` method
1351 // https://tc39.es/ecma262/#sec-array.prototype.find
1352 find: createMethod(5),
1353 // `Array.prototype.findIndex` method
1354 // https://tc39.es/ecma262/#sec-array.prototype.findIndex
1355 findIndex: createMethod(6),
1356 // `Array.prototype.filterReject` method
1357 // https://github.com/tc39/proposal-array-filtering
1358 filterReject: createMethod(7)
1359 };
1360
1361 var objectDefineProperties = {};
1362
1363 var internalObjectKeys = objectKeysInternal;
1364 var enumBugKeys$1 = enumBugKeys$3;
1365
1366 // `Object.keys` method
1367 // https://tc39.es/ecma262/#sec-object.keys
1368 // eslint-disable-next-line es/no-object-keys -- safe
1369 var objectKeys$1 = Object.keys || function keys(O) {
1370 return internalObjectKeys(O, enumBugKeys$1);
1371 };
1372
1373 var DESCRIPTORS = descriptors;
1374 var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1375 var definePropertyModule = objectDefineProperty;
1376 var anObject$1 = anObject$4;
1377 var toIndexedObject = toIndexedObject$4;
1378 var objectKeys = objectKeys$1;
1379
1380 // `Object.defineProperties` method
1381 // https://tc39.es/ecma262/#sec-object.defineproperties
1382 // eslint-disable-next-line es/no-object-defineproperties -- safe
1383 objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1384 anObject$1(O);
1385 var props = toIndexedObject(Properties);
1386 var keys = objectKeys(Properties);
1387 var length = keys.length;
1388 var index = 0;
1389 var key;
1390 while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1391 return O;
1392 };
1393
1394 var getBuiltIn = getBuiltIn$5;
1395
1396 var html$1 = getBuiltIn('document', 'documentElement');
1397
1398 /* global ActiveXObject -- old IE, WSH */
1399
1400 var anObject = anObject$4;
1401 var definePropertiesModule = objectDefineProperties;
1402 var enumBugKeys = enumBugKeys$3;
1403 var hiddenKeys = hiddenKeys$4;
1404 var html = html$1;
1405 var documentCreateElement = documentCreateElement$1;
1406 var sharedKey = sharedKey$2;
1407
1408 var GT = '>';
1409 var LT = '<';
1410 var PROTOTYPE = 'prototype';
1411 var SCRIPT = 'script';
1412 var IE_PROTO = sharedKey('IE_PROTO');
1413
1414 var EmptyConstructor = function () { /* empty */ };
1415
1416 var scriptTag = function (content) {
1417 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1418 };
1419
1420 // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1421 var NullProtoObjectViaActiveX = function (activeXDocument) {
1422 activeXDocument.write(scriptTag(''));
1423 activeXDocument.close();
1424 var temp = activeXDocument.parentWindow.Object;
1425 activeXDocument = null; // avoid memory leak
1426 return temp;
1427 };
1428
1429 // Create object with fake `null` prototype: use iframe Object with cleared prototype
1430 var NullProtoObjectViaIFrame = function () {
1431 // Thrash, waste and sodomy: IE GC bug
1432 var iframe = documentCreateElement('iframe');
1433 var JS = 'java' + SCRIPT + ':';
1434 var iframeDocument;
1435 iframe.style.display = 'none';
1436 html.appendChild(iframe);
1437 // https://github.com/zloirock/core-js/issues/475
1438 iframe.src = String(JS);
1439 iframeDocument = iframe.contentWindow.document;
1440 iframeDocument.open();
1441 iframeDocument.write(scriptTag('document.F=Object'));
1442 iframeDocument.close();
1443 return iframeDocument.F;
1444 };
1445
1446 // Check for document.domain and active x support
1447 // No need to use active x approach when document.domain is not set
1448 // see https://github.com/es-shims/es5-shim/issues/150
1449 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1450 // avoid IE GC bug
1451 var activeXDocument;
1452 var NullProtoObject = function () {
1453 try {
1454 activeXDocument = new ActiveXObject('htmlfile');
1455 } catch (error) { /* ignore */ }
1456 NullProtoObject = typeof document != 'undefined'
1457 ? document.domain && activeXDocument
1458 ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1459 : NullProtoObjectViaIFrame()
1460 : NullProtoObjectViaActiveX(activeXDocument); // WSH
1461 var length = enumBugKeys.length;
1462 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1463 return NullProtoObject();
1464 };
1465
1466 hiddenKeys[IE_PROTO] = true;
1467
1468 // `Object.create` method
1469 // https://tc39.es/ecma262/#sec-object.create
1470 // eslint-disable-next-line es/no-object-create -- safe
1471 var objectCreate = Object.create || function create(O, Properties) {
1472 var result;
1473 if (O !== null) {
1474 EmptyConstructor[PROTOTYPE] = anObject(O);
1475 result = new EmptyConstructor();
1476 EmptyConstructor[PROTOTYPE] = null;
1477 // add "__proto__" for Object.getPrototypeOf polyfill
1478 result[IE_PROTO] = O;
1479 } else result = NullProtoObject();
1480 return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1481 };
1482
1483 var wellKnownSymbol$2 = wellKnownSymbol$7;
1484 var create = objectCreate;
1485 var defineProperty = objectDefineProperty.f;
1486
1487 var UNSCOPABLES = wellKnownSymbol$2('unscopables');
1488 var ArrayPrototype = Array.prototype;
1489
1490 // Array.prototype[@@unscopables]
1491 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1492 if (ArrayPrototype[UNSCOPABLES] == undefined) {
1493 defineProperty(ArrayPrototype, UNSCOPABLES, {
1494 configurable: true,
1495 value: create(null)
1496 });
1497 }
1498
1499 // add a key to Array.prototype[@@unscopables]
1500 var addToUnscopables$2 = function (key) {
1501 ArrayPrototype[UNSCOPABLES][key] = true;
1502 };
1503
1504 var $$2 = _export;
1505 var $find = arrayIteration.find;
1506 var addToUnscopables$1 = addToUnscopables$2;
1507
1508 var FIND = 'find';
1509 var SKIPS_HOLES = true;
1510
1511 // Shouldn't skip holes
1512 if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
1513
1514 // `Array.prototype.find` method
1515 // https://tc39.es/ecma262/#sec-array.prototype.find
1516 $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
1517 find: function find(callbackfn /* , that = undefined */) {
1518 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
1519 }
1520 });
1521
1522 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1523 addToUnscopables$1(FIND);
1524
1525 var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
1526 var classof$2 = classof$4;
1527
1528 // `Object.prototype.toString` method implementation
1529 // https://tc39.es/ecma262/#sec-object.prototype.tostring
1530 var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
1531 return '[object ' + classof$2(this) + ']';
1532 };
1533
1534 var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1535 var defineBuiltIn = defineBuiltIn$2;
1536 var toString$2 = objectToString;
1537
1538 // `Object.prototype.toString` method
1539 // https://tc39.es/ecma262/#sec-object.prototype.tostring
1540 if (!TO_STRING_TAG_SUPPORT) {
1541 defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true });
1542 }
1543
1544 var $$1 = _export;
1545 var $includes = arrayIncludes.includes;
1546 var fails = fails$a;
1547 var addToUnscopables = addToUnscopables$2;
1548
1549 // FF99+ bug
1550 var BROKEN_ON_SPARSE = fails(function () {
1551 return !Array(1).includes();
1552 });
1553
1554 // `Array.prototype.includes` method
1555 // https://tc39.es/ecma262/#sec-array.prototype.includes
1556 $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1557 includes: function includes(el /* , fromIndex = 0 */) {
1558 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1559 }
1560 });
1561
1562 // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1563 addToUnscopables('includes');
1564
1565 var isObject = isObject$7;
1566 var classof$1 = classofRaw$2;
1567 var wellKnownSymbol$1 = wellKnownSymbol$7;
1568
1569 var MATCH$1 = wellKnownSymbol$1('match');
1570
1571 // `IsRegExp` abstract operation
1572 // https://tc39.es/ecma262/#sec-isregexp
1573 var isRegexp = function (it) {
1574 var isRegExp;
1575 return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
1576 };
1577
1578 var isRegExp = isRegexp;
1579
1580 var $TypeError = TypeError;
1581
1582 var notARegexp = function (it) {
1583 if (isRegExp(it)) {
1584 throw $TypeError("The method doesn't accept regular expressions");
1585 } return it;
1586 };
1587
1588 var classof = classof$4;
1589
1590 var $String = String;
1591
1592 var toString$1 = function (argument) {
1593 if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1594 return $String(argument);
1595 };
1596
1597 var wellKnownSymbol = wellKnownSymbol$7;
1598
1599 var MATCH = wellKnownSymbol('match');
1600
1601 var correctIsRegexpLogic = function (METHOD_NAME) {
1602 var regexp = /./;
1603 try {
1604 '/./'[METHOD_NAME](regexp);
1605 } catch (error1) {
1606 try {
1607 regexp[MATCH] = false;
1608 return '/./'[METHOD_NAME](regexp);
1609 } catch (error2) { /* empty */ }
1610 } return false;
1611 };
1612
1613 var $ = _export;
1614 var uncurryThis = functionUncurryThis;
1615 var notARegExp = notARegexp;
1616 var requireObjectCoercible = requireObjectCoercible$3;
1617 var toString = toString$1;
1618 var correctIsRegExpLogic = correctIsRegexpLogic;
1619
1620 var stringIndexOf = uncurryThis(''.indexOf);
1621
1622 // `String.prototype.includes` method
1623 // https://tc39.es/ecma262/#sec-string.prototype.includes
1624 $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1625 includes: function includes(searchString /* , position = 0 */) {
1626 return !!~stringIndexOf(
1627 toString(requireObjectCoercible(this)),
1628 toString(notARegExp(searchString)),
1629 arguments.length > 1 ? arguments[1] : undefined
1630 );
1631 }
1632 });
1633
1634 /**
1635 * @author zhixin wen <wenzhixin2010@gmail.com>
1636 * https://github.com/wenzhixin/bootstrap-table/
1637 * theme: https://github.com/jgthms/bulma/
1638 */
1639
1640 $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, {
1641 classes: 'table is-bordered is-hoverable',
1642 buttonsPrefix: '',
1643 buttonsClass: 'button'
1644 });
1645 $__default["default"].fn.bootstrapTable.theme = 'bulma';
1646 $__default["default"].BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {
1647 _inherits(_class, _$$BootstrapTable);
1648 var _super = _createSuper(_class);
1649 function _class() {
1650 _classCallCheck(this, _class);
1651 return _super.apply(this, arguments);
1652 }
1653 _createClass(_class, [{
1654 key: "initConstants",
1655 value: function initConstants() {
1656 _get(_getPrototypeOf(_class.prototype), "initConstants", this).call(this);
1657 this.constants.classes.buttonsGroup = 'buttons has-addons';
1658 this.constants.classes.buttonsDropdown = 'button dropdown is-right';
1659 this.constants.classes.input = 'input';
1660 this.constants.classes.paginationDropdown = 'ui dropdown';
1661 this.constants.classes.dropup = 'is-up';
1662 this.constants.classes.dropdownActive = 'is-active';
1663 this.constants.classes.paginationActive = 'is-current';
1664 this.constants.classes.buttonActive = 'is-active';
1665 this.constants.html.toolbarDropdown = ['<div class="dropdown-menu"><div class="dropdown-content">', '</div></div>'];
1666 this.constants.html.toolbarDropdownItem = '<label class="dropdown-item dropdown-item-marker">%s</label>';
1667 this.constants.html.toolbarDropdownSeparator = '<li class="dropdown-divider"></li>';
1668 this.constants.html.pageDropdown = ['<div class="dropdown-menu"><div class="dropdown-content">', '</div></div>'];
1669 this.constants.html.pageDropdownItem = '<a class="dropdown-item %s" href="#">%s</a>';
1670 this.constants.html.dropdownCaret = '<span class="icon is-small"><i class="fas fa-angle-down" aria-hidden="true"></i></span>';
1671 this.constants.html.pagination = ['<ul class="pagination%s">', '</ul>'];
1672 this.constants.html.paginationItem = '<li><a class="page-item pagination-link%s" aria-label="%s" href="#">%s</a></li>';
1673 this.constants.html.searchInput = '<p class="control"><input class="%s input-%s" type="search" placeholder="%s"></p>';
1674 this.constants.html.inputGroup = '<div class="field has-addons has-addons-right">%s%s</div>';
1675 this.constants.html.searchButton = '<p class="control"><button class="%s" type="button" name="search" title="%s">%s %s</button></p>';
1676 this.constants.html.searchClearButton = '<p class="control"><button class="%s" type="button" name="clearSearch" title="%s">%s %s</button></p>';
1677 }
1678 }, {
1679 key: "initToolbar",
1680 value: function initToolbar() {
1681 _get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);
1682 this.handleToolbar();
1683 }
1684 }, {
1685 key: "handleToolbar",
1686 value: function handleToolbar() {
1687 if (this.$toolbar.find('.dropdown').length) {
1688 this._initDropdown();
1689 }
1690 }
1691 }, {
1692 key: "initPagination",
1693 value: function initPagination() {
1694 _get(_getPrototypeOf(_class.prototype), "initPagination", this).call(this);
1695 if (this.options.pagination && this.paginationParts.includes('pageSize')) {
1696 this._initDropdown();
1697 }
1698 }
1699 }, {
1700 key: "_initDropdown",
1701 value: function _initDropdown() {
1702 var $dropdowns = this.$container.find('.dropdown:not(.is-hoverable)');
1703 $dropdowns.off('click').on('click', function (e) {
1704 var $this = $__default["default"](e.currentTarget);
1705 e.stopPropagation();
1706 $dropdowns.not($this).removeClass('is-active');
1707 $this.toggleClass('is-active');
1708 });
1709 $__default["default"](document).off('click.bs.dropdown.bulma').on('click.bs.dropdown.bulma', function () {
1710 $dropdowns.removeClass('is-active');
1711 });
1712 }
1713 }]);
1714 return _class;
1715 }($__default["default"].BootstrapTable);
1716
1717}));