UNPKG

27.1 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 ($) { 'use strict';
6
7 function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
9 var $__default = /*#__PURE__*/_interopDefaultLegacy($);
10
11 var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
13 function createCommonjsModule(fn, module) {
14 return module = { exports: {} }, fn(module, module.exports), module.exports;
15 }
16
17 var check = function (it) {
18 return it && it.Math == Math && it;
19 };
20
21 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22 var global_1 =
23 // eslint-disable-next-line es/no-global-this -- safe
24 check(typeof globalThis == 'object' && globalThis) ||
25 check(typeof window == 'object' && window) ||
26 // eslint-disable-next-line no-restricted-globals -- safe
27 check(typeof self == 'object' && self) ||
28 check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
29 // eslint-disable-next-line no-new-func -- fallback
30 (function () { return this; })() || Function('return this')();
31
32 var fails = function (exec) {
33 try {
34 return !!exec();
35 } catch (error) {
36 return true;
37 }
38 };
39
40 // Detect IE8's incomplete defineProperty implementation
41 var descriptors = !fails(function () {
42 // eslint-disable-next-line es/no-object-defineproperty -- required for testing
43 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
44 });
45
46 var $propertyIsEnumerable = {}.propertyIsEnumerable;
47 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
48 var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
49
50 // Nashorn ~ JDK8 bug
51 var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
52
53 // `Object.prototype.propertyIsEnumerable` method implementation
54 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
55 var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
56 var descriptor = getOwnPropertyDescriptor$1(this, V);
57 return !!descriptor && descriptor.enumerable;
58 } : $propertyIsEnumerable;
59
60 var objectPropertyIsEnumerable = {
61 f: f$4
62 };
63
64 var createPropertyDescriptor = function (bitmap, value) {
65 return {
66 enumerable: !(bitmap & 1),
67 configurable: !(bitmap & 2),
68 writable: !(bitmap & 4),
69 value: value
70 };
71 };
72
73 var toString = {}.toString;
74
75 var classofRaw = function (it) {
76 return toString.call(it).slice(8, -1);
77 };
78
79 var split = ''.split;
80
81 // fallback for non-array-like ES3 and non-enumerable old V8 strings
82 var indexedObject = fails(function () {
83 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
84 // eslint-disable-next-line no-prototype-builtins -- safe
85 return !Object('z').propertyIsEnumerable(0);
86 }) ? function (it) {
87 return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);
88 } : Object;
89
90 // `RequireObjectCoercible` abstract operation
91 // https://tc39.es/ecma262/#sec-requireobjectcoercible
92 var requireObjectCoercible = function (it) {
93 if (it == undefined) throw TypeError("Can't call method on " + it);
94 return it;
95 };
96
97 // toObject with fallback for non-array-like ES3 strings
98
99
100
101 var toIndexedObject = function (it) {
102 return indexedObject(requireObjectCoercible(it));
103 };
104
105 var isObject = function (it) {
106 return typeof it === 'object' ? it !== null : typeof it === 'function';
107 };
108
109 // `ToPrimitive` abstract operation
110 // https://tc39.es/ecma262/#sec-toprimitive
111 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
112 // and the second argument - flag - preferred type is a string
113 var toPrimitive = function (input, PREFERRED_STRING) {
114 if (!isObject(input)) return input;
115 var fn, val;
116 if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
117 if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
118 if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
119 throw TypeError("Can't convert object to primitive value");
120 };
121
122 var hasOwnProperty = {}.hasOwnProperty;
123
124 var has$1 = function (it, key) {
125 return hasOwnProperty.call(it, key);
126 };
127
128 var document = global_1.document;
129 // typeof document.createElement is 'object' in old IE
130 var EXISTS = isObject(document) && isObject(document.createElement);
131
132 var documentCreateElement = function (it) {
133 return EXISTS ? document.createElement(it) : {};
134 };
135
136 // Thank's IE8 for his funny defineProperty
137 var ie8DomDefine = !descriptors && !fails(function () {
138 // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
139 return Object.defineProperty(documentCreateElement('div'), 'a', {
140 get: function () { return 7; }
141 }).a != 7;
142 });
143
144 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
145 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
146
147 // `Object.getOwnPropertyDescriptor` method
148 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
149 var f$3 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
150 O = toIndexedObject(O);
151 P = toPrimitive(P, true);
152 if (ie8DomDefine) try {
153 return $getOwnPropertyDescriptor(O, P);
154 } catch (error) { /* empty */ }
155 if (has$1(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);
156 };
157
158 var objectGetOwnPropertyDescriptor = {
159 f: f$3
160 };
161
162 var anObject = function (it) {
163 if (!isObject(it)) {
164 throw TypeError(String(it) + ' is not an object');
165 } return it;
166 };
167
168 // eslint-disable-next-line es/no-object-defineproperty -- safe
169 var $defineProperty = Object.defineProperty;
170
171 // `Object.defineProperty` method
172 // https://tc39.es/ecma262/#sec-object.defineproperty
173 var f$2 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
174 anObject(O);
175 P = toPrimitive(P, true);
176 anObject(Attributes);
177 if (ie8DomDefine) try {
178 return $defineProperty(O, P, Attributes);
179 } catch (error) { /* empty */ }
180 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
181 if ('value' in Attributes) O[P] = Attributes.value;
182 return O;
183 };
184
185 var objectDefineProperty = {
186 f: f$2
187 };
188
189 var createNonEnumerableProperty = descriptors ? function (object, key, value) {
190 return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
191 } : function (object, key, value) {
192 object[key] = value;
193 return object;
194 };
195
196 var setGlobal = function (key, value) {
197 try {
198 createNonEnumerableProperty(global_1, key, value);
199 } catch (error) {
200 global_1[key] = value;
201 } return value;
202 };
203
204 var SHARED = '__core-js_shared__';
205 var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
206
207 var sharedStore = store$1;
208
209 var functionToString = Function.toString;
210
211 // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
212 if (typeof sharedStore.inspectSource != 'function') {
213 sharedStore.inspectSource = function (it) {
214 return functionToString.call(it);
215 };
216 }
217
218 var inspectSource = sharedStore.inspectSource;
219
220 var WeakMap$1 = global_1.WeakMap;
221
222 var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource(WeakMap$1));
223
224 var shared = createCommonjsModule(function (module) {
225 (module.exports = function (key, value) {
226 return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
227 })('versions', []).push({
228 version: '3.10.1',
229 mode: 'global',
230 copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
231 });
232 });
233
234 var id = 0;
235 var postfix = Math.random();
236
237 var uid = function (key) {
238 return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
239 };
240
241 var keys = shared('keys');
242
243 var sharedKey = function (key) {
244 return keys[key] || (keys[key] = uid(key));
245 };
246
247 var hiddenKeys$1 = {};
248
249 var WeakMap = global_1.WeakMap;
250 var set, get, has;
251
252 var enforce = function (it) {
253 return has(it) ? get(it) : set(it, {});
254 };
255
256 var getterFor = function (TYPE) {
257 return function (it) {
258 var state;
259 if (!isObject(it) || (state = get(it)).type !== TYPE) {
260 throw TypeError('Incompatible receiver, ' + TYPE + ' required');
261 } return state;
262 };
263 };
264
265 if (nativeWeakMap) {
266 var store = sharedStore.state || (sharedStore.state = new WeakMap());
267 var wmget = store.get;
268 var wmhas = store.has;
269 var wmset = store.set;
270 set = function (it, metadata) {
271 metadata.facade = it;
272 wmset.call(store, it, metadata);
273 return metadata;
274 };
275 get = function (it) {
276 return wmget.call(store, it) || {};
277 };
278 has = function (it) {
279 return wmhas.call(store, it);
280 };
281 } else {
282 var STATE = sharedKey('state');
283 hiddenKeys$1[STATE] = true;
284 set = function (it, metadata) {
285 metadata.facade = it;
286 createNonEnumerableProperty(it, STATE, metadata);
287 return metadata;
288 };
289 get = function (it) {
290 return has$1(it, STATE) ? it[STATE] : {};
291 };
292 has = function (it) {
293 return has$1(it, STATE);
294 };
295 }
296
297 var internalState = {
298 set: set,
299 get: get,
300 has: has,
301 enforce: enforce,
302 getterFor: getterFor
303 };
304
305 var redefine = createCommonjsModule(function (module) {
306 var getInternalState = internalState.get;
307 var enforceInternalState = internalState.enforce;
308 var TEMPLATE = String(String).split('String');
309
310 (module.exports = function (O, key, value, options) {
311 var unsafe = options ? !!options.unsafe : false;
312 var simple = options ? !!options.enumerable : false;
313 var noTargetGet = options ? !!options.noTargetGet : false;
314 var state;
315 if (typeof value == 'function') {
316 if (typeof key == 'string' && !has$1(value, 'name')) {
317 createNonEnumerableProperty(value, 'name', key);
318 }
319 state = enforceInternalState(value);
320 if (!state.source) {
321 state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
322 }
323 }
324 if (O === global_1) {
325 if (simple) O[key] = value;
326 else setGlobal(key, value);
327 return;
328 } else if (!unsafe) {
329 delete O[key];
330 } else if (!noTargetGet && O[key]) {
331 simple = true;
332 }
333 if (simple) O[key] = value;
334 else createNonEnumerableProperty(O, key, value);
335 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
336 })(Function.prototype, 'toString', function toString() {
337 return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
338 });
339 });
340
341 var path = global_1;
342
343 var aFunction = function (variable) {
344 return typeof variable == 'function' ? variable : undefined;
345 };
346
347 var getBuiltIn = function (namespace, method) {
348 return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])
349 : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];
350 };
351
352 var ceil = Math.ceil;
353 var floor = Math.floor;
354
355 // `ToInteger` abstract operation
356 // https://tc39.es/ecma262/#sec-tointeger
357 var toInteger = function (argument) {
358 return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
359 };
360
361 var min$1 = Math.min;
362
363 // `ToLength` abstract operation
364 // https://tc39.es/ecma262/#sec-tolength
365 var toLength = function (argument) {
366 return argument > 0 ? min$1(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
367 };
368
369 var max = Math.max;
370 var min = Math.min;
371
372 // Helper for a popular repeating case of the spec:
373 // Let integer be ? ToInteger(index).
374 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
375 var toAbsoluteIndex = function (index, length) {
376 var integer = toInteger(index);
377 return integer < 0 ? max(integer + length, 0) : min(integer, length);
378 };
379
380 // `Array.prototype.{ indexOf, includes }` methods implementation
381 var createMethod = function (IS_INCLUDES) {
382 return function ($this, el, fromIndex) {
383 var O = toIndexedObject($this);
384 var length = toLength(O.length);
385 var index = toAbsoluteIndex(fromIndex, length);
386 var value;
387 // Array#includes uses SameValueZero equality algorithm
388 // eslint-disable-next-line no-self-compare -- NaN check
389 if (IS_INCLUDES && el != el) while (length > index) {
390 value = O[index++];
391 // eslint-disable-next-line no-self-compare -- NaN check
392 if (value != value) return true;
393 // Array#indexOf ignores holes, Array#includes - not
394 } else for (;length > index; index++) {
395 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
396 } return !IS_INCLUDES && -1;
397 };
398 };
399
400 var arrayIncludes = {
401 // `Array.prototype.includes` method
402 // https://tc39.es/ecma262/#sec-array.prototype.includes
403 includes: createMethod(true),
404 // `Array.prototype.indexOf` method
405 // https://tc39.es/ecma262/#sec-array.prototype.indexof
406 indexOf: createMethod(false)
407 };
408
409 var indexOf = arrayIncludes.indexOf;
410
411
412 var objectKeysInternal = function (object, names) {
413 var O = toIndexedObject(object);
414 var i = 0;
415 var result = [];
416 var key;
417 for (key in O) !has$1(hiddenKeys$1, key) && has$1(O, key) && result.push(key);
418 // Don't enum bug & hidden keys
419 while (names.length > i) if (has$1(O, key = names[i++])) {
420 ~indexOf(result, key) || result.push(key);
421 }
422 return result;
423 };
424
425 // IE8- don't enum bug keys
426 var enumBugKeys = [
427 'constructor',
428 'hasOwnProperty',
429 'isPrototypeOf',
430 'propertyIsEnumerable',
431 'toLocaleString',
432 'toString',
433 'valueOf'
434 ];
435
436 var hiddenKeys = enumBugKeys.concat('length', 'prototype');
437
438 // `Object.getOwnPropertyNames` method
439 // https://tc39.es/ecma262/#sec-object.getownpropertynames
440 // eslint-disable-next-line es/no-object-getownpropertynames -- safe
441 var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
442 return objectKeysInternal(O, hiddenKeys);
443 };
444
445 var objectGetOwnPropertyNames = {
446 f: f$1
447 };
448
449 // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
450 var f = Object.getOwnPropertySymbols;
451
452 var objectGetOwnPropertySymbols = {
453 f: f
454 };
455
456 // all object keys, includes non-enumerable and symbols
457 var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
458 var keys = objectGetOwnPropertyNames.f(anObject(it));
459 var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
460 return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
461 };
462
463 var copyConstructorProperties = function (target, source) {
464 var keys = ownKeys(source);
465 var defineProperty = objectDefineProperty.f;
466 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
467 for (var i = 0; i < keys.length; i++) {
468 var key = keys[i];
469 if (!has$1(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
470 }
471 };
472
473 var replacement = /#|\.prototype\./;
474
475 var isForced = function (feature, detection) {
476 var value = data[normalize(feature)];
477 return value == POLYFILL ? true
478 : value == NATIVE ? false
479 : typeof detection == 'function' ? fails(detection)
480 : !!detection;
481 };
482
483 var normalize = isForced.normalize = function (string) {
484 return String(string).replace(replacement, '.').toLowerCase();
485 };
486
487 var data = isForced.data = {};
488 var NATIVE = isForced.NATIVE = 'N';
489 var POLYFILL = isForced.POLYFILL = 'P';
490
491 var isForced_1 = isForced;
492
493 var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
494
495
496
497
498
499
500 /*
501 options.target - name of the target object
502 options.global - target is the global object
503 options.stat - export as static methods of target
504 options.proto - export as prototype methods of target
505 options.real - real prototype method for the `pure` version
506 options.forced - export even if the native feature is available
507 options.bind - bind methods to the target, required for the `pure` version
508 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
509 options.unsafe - use the simple assignment of property instead of delete + defineProperty
510 options.sham - add a flag to not completely full polyfills
511 options.enumerable - export as enumerable property
512 options.noTargetGet - prevent calling a getter on target
513 */
514 var _export = function (options, source) {
515 var TARGET = options.target;
516 var GLOBAL = options.global;
517 var STATIC = options.stat;
518 var FORCED, target, key, targetProperty, sourceProperty, descriptor;
519 if (GLOBAL) {
520 target = global_1;
521 } else if (STATIC) {
522 target = global_1[TARGET] || setGlobal(TARGET, {});
523 } else {
524 target = (global_1[TARGET] || {}).prototype;
525 }
526 if (target) for (key in source) {
527 sourceProperty = source[key];
528 if (options.noTargetGet) {
529 descriptor = getOwnPropertyDescriptor(target, key);
530 targetProperty = descriptor && descriptor.value;
531 } else targetProperty = target[key];
532 FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
533 // contained in target
534 if (!FORCED && targetProperty !== undefined) {
535 if (typeof sourceProperty === typeof targetProperty) continue;
536 copyConstructorProperties(sourceProperty, targetProperty);
537 }
538 // add a flag to not completely full polyfills
539 if (options.sham || (targetProperty && targetProperty.sham)) {
540 createNonEnumerableProperty(sourceProperty, 'sham', true);
541 }
542 // extend global
543 redefine(target, key, sourceProperty, options);
544 }
545 };
546
547 // `IsArray` abstract operation
548 // https://tc39.es/ecma262/#sec-isarray
549 // eslint-disable-next-line es/no-array-isarray -- safe
550 var isArray = Array.isArray || function isArray(arg) {
551 return classofRaw(arg) == 'Array';
552 };
553
554 // `ToObject` abstract operation
555 // https://tc39.es/ecma262/#sec-toobject
556 var toObject = function (argument) {
557 return Object(requireObjectCoercible(argument));
558 };
559
560 var createProperty = function (object, key, value) {
561 var propertyKey = toPrimitive(key);
562 if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
563 else object[propertyKey] = value;
564 };
565
566 var engineIsNode = classofRaw(global_1.process) == 'process';
567
568 var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
569
570 var process = global_1.process;
571 var versions = process && process.versions;
572 var v8 = versions && versions.v8;
573 var match, version;
574
575 if (v8) {
576 match = v8.split('.');
577 version = match[0] + match[1];
578 } else if (engineUserAgent) {
579 match = engineUserAgent.match(/Edge\/(\d+)/);
580 if (!match || match[1] >= 74) {
581 match = engineUserAgent.match(/Chrome\/(\d+)/);
582 if (match) version = match[1];
583 }
584 }
585
586 var engineV8Version = version && +version;
587
588 // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
589 var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
590 // eslint-disable-next-line es/no-symbol -- required for testing
591 return !Symbol.sham &&
592 // Chrome 38 Symbol has incorrect toString conversion
593 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
594 (engineIsNode ? engineV8Version === 38 : engineV8Version > 37 && engineV8Version < 41);
595 });
596
597 /* eslint-disable es/no-symbol -- required for testing */
598
599
600 var useSymbolAsUid = nativeSymbol
601 && !Symbol.sham
602 && typeof Symbol.iterator == 'symbol';
603
604 var WellKnownSymbolsStore = shared('wks');
605 var Symbol$1 = global_1.Symbol;
606 var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
607
608 var wellKnownSymbol = function (name) {
609 if (!has$1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
610 if (nativeSymbol && has$1(Symbol$1, name)) {
611 WellKnownSymbolsStore[name] = Symbol$1[name];
612 } else {
613 WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
614 }
615 } return WellKnownSymbolsStore[name];
616 };
617
618 var SPECIES$1 = wellKnownSymbol('species');
619
620 // `ArraySpeciesCreate` abstract operation
621 // https://tc39.es/ecma262/#sec-arrayspeciescreate
622 var arraySpeciesCreate = function (originalArray, length) {
623 var C;
624 if (isArray(originalArray)) {
625 C = originalArray.constructor;
626 // cross-realm fallback
627 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
628 else if (isObject(C)) {
629 C = C[SPECIES$1];
630 if (C === null) C = undefined;
631 }
632 } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
633 };
634
635 var SPECIES = wellKnownSymbol('species');
636
637 var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
638 // We can't use this feature detection in V8 since it causes
639 // deoptimization and serious performance degradation
640 // https://github.com/zloirock/core-js/issues/677
641 return engineV8Version >= 51 || !fails(function () {
642 var array = [];
643 var constructor = array.constructor = {};
644 constructor[SPECIES] = function () {
645 return { foo: 1 };
646 };
647 return array[METHOD_NAME](Boolean).foo !== 1;
648 });
649 };
650
651 var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
652 var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
653 var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
654
655 // We can't use this feature detection in V8 since it causes
656 // deoptimization and serious performance degradation
657 // https://github.com/zloirock/core-js/issues/679
658 var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
659 var array = [];
660 array[IS_CONCAT_SPREADABLE] = false;
661 return array.concat()[0] !== array;
662 });
663
664 var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
665
666 var isConcatSpreadable = function (O) {
667 if (!isObject(O)) return false;
668 var spreadable = O[IS_CONCAT_SPREADABLE];
669 return spreadable !== undefined ? !!spreadable : isArray(O);
670 };
671
672 var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
673
674 // `Array.prototype.concat` method
675 // https://tc39.es/ecma262/#sec-array.prototype.concat
676 // with adding support of @@isConcatSpreadable and @@species
677 _export({ target: 'Array', proto: true, forced: FORCED }, {
678 // eslint-disable-next-line no-unused-vars -- required for `.length`
679 concat: function concat(arg) {
680 var O = toObject(this);
681 var A = arraySpeciesCreate(O, 0);
682 var n = 0;
683 var i, k, length, len, E;
684 for (i = -1, length = arguments.length; i < length; i++) {
685 E = i === -1 ? O : arguments[i];
686 if (isConcatSpreadable(E)) {
687 len = toLength(E.length);
688 if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
689 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
690 } else {
691 if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
692 createProperty(A, n++, E);
693 }
694 }
695 A.length = n;
696 return A;
697 }
698 });
699
700 /**
701 * Bootstrap Table English translation
702 * Author: Zhixin Wen<wenzhixin2010@gmail.com>
703 */
704
705 $__default['default'].fn.bootstrapTable.locales['en-US'] = $__default['default'].fn.bootstrapTable.locales['en'] = {
706 formatCopyRows: function formatCopyRows() {
707 return 'Copy Rows';
708 },
709 formatPrint: function formatPrint() {
710 return 'Print';
711 },
712 formatLoadingMessage: function formatLoadingMessage() {
713 return 'Loading, please wait';
714 },
715 formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
716 return "".concat(pageNumber, " rows per page");
717 },
718 formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {
719 if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
720 return "Showing ".concat(pageFrom, " to ").concat(pageTo, " of ").concat(totalRows, " rows (filtered from ").concat(totalNotFiltered, " total rows)");
721 }
722
723 return "Showing ".concat(pageFrom, " to ").concat(pageTo, " of ").concat(totalRows, " rows");
724 },
725 formatSRPaginationPreText: function formatSRPaginationPreText() {
726 return 'previous page';
727 },
728 formatSRPaginationPageText: function formatSRPaginationPageText(page) {
729 return "to page ".concat(page);
730 },
731 formatSRPaginationNextText: function formatSRPaginationNextText() {
732 return 'next page';
733 },
734 formatDetailPagination: function formatDetailPagination(totalRows) {
735 return "Showing ".concat(totalRows, " rows");
736 },
737 formatClearSearch: function formatClearSearch() {
738 return 'Clear Search';
739 },
740 formatSearch: function formatSearch() {
741 return 'Search';
742 },
743 formatNoMatches: function formatNoMatches() {
744 return 'No matching records found';
745 },
746 formatPaginationSwitch: function formatPaginationSwitch() {
747 return 'Hide/Show pagination';
748 },
749 formatPaginationSwitchDown: function formatPaginationSwitchDown() {
750 return 'Show pagination';
751 },
752 formatPaginationSwitchUp: function formatPaginationSwitchUp() {
753 return 'Hide pagination';
754 },
755 formatRefresh: function formatRefresh() {
756 return 'Refresh';
757 },
758 formatToggle: function formatToggle() {
759 return 'Toggle';
760 },
761 formatToggleOn: function formatToggleOn() {
762 return 'Show card view';
763 },
764 formatToggleOff: function formatToggleOff() {
765 return 'Hide card view';
766 },
767 formatColumns: function formatColumns() {
768 return 'Columns';
769 },
770 formatColumnsToggleAll: function formatColumnsToggleAll() {
771 return 'Toggle all';
772 },
773 formatFullscreen: function formatFullscreen() {
774 return 'Fullscreen';
775 },
776 formatAllRows: function formatAllRows() {
777 return 'All';
778 },
779 formatAutoRefresh: function formatAutoRefresh() {
780 return 'Auto Refresh';
781 },
782 formatExport: function formatExport() {
783 return 'Export data';
784 },
785 formatJumpTo: function formatJumpTo() {
786 return 'GO';
787 },
788 formatAdvancedSearch: function formatAdvancedSearch() {
789 return 'Advanced search';
790 },
791 formatAdvancedCloseButton: function formatAdvancedCloseButton() {
792 return 'Close';
793 },
794 formatFilterControlSwitch: function formatFilterControlSwitch() {
795 return 'Hide/Show controls';
796 },
797 formatFilterControlSwitchHide: function formatFilterControlSwitchHide() {
798 return 'Hide controls';
799 },
800 formatFilterControlSwitchShow: function formatFilterControlSwitchShow() {
801 return 'Show controls';
802 }
803 };
804 $__default['default'].extend($__default['default'].fn.bootstrapTable.defaults, $__default['default'].fn.bootstrapTable.locales['en-US']);
805
806})));