UNPKG

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