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 ($$1) { 'use strict';
|
6 |
|
7 | function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
8 |
|
9 | var $__default = _interopDefaultLegacy($$1);
|
10 |
|
11 | var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
12 |
|
13 | var check = function (it) {
|
14 | return it && it.Math == Math && it;
|
15 | };
|
16 |
|
17 |
|
18 | var global$a =
|
19 |
|
20 | check(typeof globalThis == 'object' && globalThis) ||
|
21 | check(typeof window == 'object' && window) ||
|
22 |
|
23 | check(typeof self == 'object' && self) ||
|
24 | check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
25 |
|
26 | (function () { return this; })() || Function('return this')();
|
27 |
|
28 | var objectGetOwnPropertyDescriptor = {};
|
29 |
|
30 | var fails$b = function (exec) {
|
31 | try {
|
32 | return !!exec();
|
33 | } catch (error) {
|
34 | return true;
|
35 | }
|
36 | };
|
37 |
|
38 | var fails$a = fails$b;
|
39 |
|
40 |
|
41 | var descriptors = !fails$a(function () {
|
42 |
|
43 | return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
44 | });
|
45 |
|
46 | var fails$9 = fails$b;
|
47 |
|
48 | var functionBindNative = !fails$9(function () {
|
49 |
|
50 | var test = (function () { }).bind();
|
51 |
|
52 | return typeof test != 'function' || test.hasOwnProperty('prototype');
|
53 | });
|
54 |
|
55 | var NATIVE_BIND$1 = functionBindNative;
|
56 |
|
57 | var call$4 = Function.prototype.call;
|
58 |
|
59 | var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
|
60 | return call$4.apply(call$4, arguments);
|
61 | };
|
62 |
|
63 | var objectPropertyIsEnumerable = {};
|
64 |
|
65 | var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
66 |
|
67 | var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
68 |
|
69 |
|
70 | var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
71 |
|
72 |
|
73 |
|
74 | objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
75 | var descriptor = getOwnPropertyDescriptor$1(this, V);
|
76 | return !!descriptor && descriptor.enumerable;
|
77 | } : $propertyIsEnumerable;
|
78 |
|
79 | var createPropertyDescriptor$3 = function (bitmap, value) {
|
80 | return {
|
81 | enumerable: !(bitmap & 1),
|
82 | configurable: !(bitmap & 2),
|
83 | writable: !(bitmap & 4),
|
84 | value: value
|
85 | };
|
86 | };
|
87 |
|
88 | var NATIVE_BIND = functionBindNative;
|
89 |
|
90 | var FunctionPrototype$1 = Function.prototype;
|
91 | var call$3 = FunctionPrototype$1.call;
|
92 | var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$3, call$3);
|
93 |
|
94 | var functionUncurryThisRaw = function (fn) {
|
95 | return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
|
96 | return call$3.apply(fn, arguments);
|
97 | };
|
98 | };
|
99 |
|
100 | var uncurryThisRaw$1 = functionUncurryThisRaw;
|
101 |
|
102 | var toString$1 = uncurryThisRaw$1({}.toString);
|
103 | var stringSlice = uncurryThisRaw$1(''.slice);
|
104 |
|
105 | var classofRaw$2 = function (it) {
|
106 | return stringSlice(toString$1(it), 8, -1);
|
107 | };
|
108 |
|
109 | var classofRaw$1 = classofRaw$2;
|
110 | var uncurryThisRaw = functionUncurryThisRaw;
|
111 |
|
112 | var functionUncurryThis = function (fn) {
|
113 |
|
114 |
|
115 |
|
116 | if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
|
117 | };
|
118 |
|
119 | var uncurryThis$7 = functionUncurryThis;
|
120 | var fails$8 = fails$b;
|
121 | var classof$3 = classofRaw$2;
|
122 |
|
123 | var $Object$3 = Object;
|
124 | var split = uncurryThis$7(''.split);
|
125 |
|
126 |
|
127 | var indexedObject = fails$8(function () {
|
128 |
|
129 |
|
130 | return !$Object$3('z').propertyIsEnumerable(0);
|
131 | }) ? function (it) {
|
132 | return classof$3(it) == 'String' ? split(it, '') : $Object$3(it);
|
133 | } : $Object$3;
|
134 |
|
135 |
|
136 |
|
137 | var isNullOrUndefined$2 = function (it) {
|
138 | return it === null || it === undefined;
|
139 | };
|
140 |
|
141 | var isNullOrUndefined$1 = isNullOrUndefined$2;
|
142 |
|
143 | var $TypeError$6 = TypeError;
|
144 |
|
145 |
|
146 |
|
147 | var requireObjectCoercible$2 = function (it) {
|
148 | if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
|
149 | return it;
|
150 | };
|
151 |
|
152 |
|
153 | var IndexedObject = indexedObject;
|
154 | var requireObjectCoercible$1 = requireObjectCoercible$2;
|
155 |
|
156 | var toIndexedObject$3 = function (it) {
|
157 | return IndexedObject(requireObjectCoercible$1(it));
|
158 | };
|
159 |
|
160 | var documentAll$2 = typeof document == 'object' && document.all;
|
161 |
|
162 |
|
163 | var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
164 |
|
165 | var documentAll_1 = {
|
166 | all: documentAll$2,
|
167 | IS_HTMLDDA: IS_HTMLDDA
|
168 | };
|
169 |
|
170 | var $documentAll$1 = documentAll_1;
|
171 |
|
172 | var documentAll$1 = $documentAll$1.all;
|
173 |
|
174 |
|
175 |
|
176 | var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
177 | return typeof argument == 'function' || argument === documentAll$1;
|
178 | } : function (argument) {
|
179 | return typeof argument == 'function';
|
180 | };
|
181 |
|
182 | var isCallable$b = isCallable$c;
|
183 | var $documentAll = documentAll_1;
|
184 |
|
185 | var documentAll = $documentAll.all;
|
186 |
|
187 | var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {
|
188 | return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
|
189 | } : function (it) {
|
190 | return typeof it == 'object' ? it !== null : isCallable$b(it);
|
191 | };
|
192 |
|
193 | var global$9 = global$a;
|
194 | var isCallable$a = isCallable$c;
|
195 |
|
196 | var aFunction = function (argument) {
|
197 | return isCallable$a(argument) ? argument : undefined;
|
198 | };
|
199 |
|
200 | var getBuiltIn$4 = function (namespace, method) {
|
201 | return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
|
202 | };
|
203 |
|
204 | var uncurryThis$6 = functionUncurryThis;
|
205 |
|
206 | var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
|
207 |
|
208 | var getBuiltIn$3 = getBuiltIn$4;
|
209 |
|
210 | var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
211 |
|
212 | var global$8 = global$a;
|
213 | var userAgent = engineUserAgent;
|
214 |
|
215 | var process = global$8.process;
|
216 | var Deno = global$8.Deno;
|
217 | var versions = process && process.versions || Deno && Deno.version;
|
218 | var v8 = versions && versions.v8;
|
219 | var match, version;
|
220 |
|
221 | if (v8) {
|
222 | match = v8.split('.');
|
223 |
|
224 |
|
225 | version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
226 | }
|
227 |
|
228 |
|
229 |
|
230 | if (!version && userAgent) {
|
231 | match = userAgent.match(/Edge\/(\d+)/);
|
232 | if (!match || match[1] >= 74) {
|
233 | match = userAgent.match(/Chrome\/(\d+)/);
|
234 | if (match) version = +match[1];
|
235 | }
|
236 | }
|
237 |
|
238 | var engineV8Version = version;
|
239 |
|
240 |
|
241 |
|
242 | var V8_VERSION$2 = engineV8Version;
|
243 | var fails$7 = fails$b;
|
244 |
|
245 |
|
246 | var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
|
247 | var symbol = Symbol();
|
248 |
|
249 |
|
250 | return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
251 |
|
252 | !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;
|
253 | });
|
254 |
|
255 |
|
256 |
|
257 | var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
258 |
|
259 | var useSymbolAsUid = NATIVE_SYMBOL$1
|
260 | && !Symbol.sham
|
261 | && typeof Symbol.iterator == 'symbol';
|
262 |
|
263 | var getBuiltIn$2 = getBuiltIn$4;
|
264 | var isCallable$9 = isCallable$c;
|
265 | var isPrototypeOf = objectIsPrototypeOf;
|
266 | var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
267 |
|
268 | var $Object$2 = Object;
|
269 |
|
270 | var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
271 | return typeof it == 'symbol';
|
272 | } : function (it) {
|
273 | var $Symbol = getBuiltIn$2('Symbol');
|
274 | return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
275 | };
|
276 |
|
277 | var $String$1 = String;
|
278 |
|
279 | var tryToString$1 = function (argument) {
|
280 | try {
|
281 | return $String$1(argument);
|
282 | } catch (error) {
|
283 | return 'Object';
|
284 | }
|
285 | };
|
286 |
|
287 | var isCallable$8 = isCallable$c;
|
288 | var tryToString = tryToString$1;
|
289 |
|
290 | var $TypeError$5 = TypeError;
|
291 |
|
292 |
|
293 | var aCallable$1 = function (argument) {
|
294 | if (isCallable$8(argument)) return argument;
|
295 | throw $TypeError$5(tryToString(argument) + ' is not a function');
|
296 | };
|
297 |
|
298 | var aCallable = aCallable$1;
|
299 | var isNullOrUndefined = isNullOrUndefined$2;
|
300 |
|
301 |
|
302 |
|
303 | var getMethod$1 = function (V, P) {
|
304 | var func = V[P];
|
305 | return isNullOrUndefined(func) ? undefined : aCallable(func);
|
306 | };
|
307 |
|
308 | var call$2 = functionCall;
|
309 | var isCallable$7 = isCallable$c;
|
310 | var isObject$6 = isObject$7;
|
311 |
|
312 | var $TypeError$4 = TypeError;
|
313 |
|
314 |
|
315 |
|
316 | var ordinaryToPrimitive$1 = function (input, pref) {
|
317 | var fn, val;
|
318 | if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
319 | if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$2(fn, input))) return val;
|
320 | if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$2(fn, input))) return val;
|
321 | throw $TypeError$4("Can't convert object to primitive value");
|
322 | };
|
323 |
|
324 | var shared$3 = {exports: {}};
|
325 |
|
326 | var global$7 = global$a;
|
327 |
|
328 |
|
329 | var defineProperty$1 = Object.defineProperty;
|
330 |
|
331 | var defineGlobalProperty$3 = function (key, value) {
|
332 | try {
|
333 | defineProperty$1(global$7, key, { value: value, configurable: true, writable: true });
|
334 | } catch (error) {
|
335 | global$7[key] = value;
|
336 | } return value;
|
337 | };
|
338 |
|
339 | var global$6 = global$a;
|
340 | var defineGlobalProperty$2 = defineGlobalProperty$3;
|
341 |
|
342 | var SHARED = '__core-js_shared__';
|
343 | var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
344 |
|
345 | var sharedStore = store$3;
|
346 |
|
347 | var store$2 = sharedStore;
|
348 |
|
349 | (shared$3.exports = function (key, value) {
|
350 | return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
351 | })('versions', []).push({
|
352 | version: '3.25.5',
|
353 | mode: 'global',
|
354 | copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
355 | license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
356 | source: 'https://github.com/zloirock/core-js'
|
357 | });
|
358 |
|
359 | var requireObjectCoercible = requireObjectCoercible$2;
|
360 |
|
361 | var $Object$1 = Object;
|
362 |
|
363 |
|
364 |
|
365 | var toObject$2 = function (argument) {
|
366 | return $Object$1(requireObjectCoercible(argument));
|
367 | };
|
368 |
|
369 | var uncurryThis$5 = functionUncurryThis;
|
370 | var toObject$1 = toObject$2;
|
371 |
|
372 | var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
373 |
|
374 |
|
375 |
|
376 |
|
377 | var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
378 | return hasOwnProperty(toObject$1(it), key);
|
379 | };
|
380 |
|
381 | var uncurryThis$4 = functionUncurryThis;
|
382 |
|
383 | var id = 0;
|
384 | var postfix = Math.random();
|
385 | var toString = uncurryThis$4(1.0.toString);
|
386 |
|
387 | var uid$2 = function (key) {
|
388 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
389 | };
|
390 |
|
391 | var global$5 = global$a;
|
392 | var shared$2 = shared$3.exports;
|
393 | var hasOwn$6 = hasOwnProperty_1;
|
394 | var uid$1 = uid$2;
|
395 | var NATIVE_SYMBOL = symbolConstructorDetection;
|
396 | var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
397 |
|
398 | var WellKnownSymbolsStore = shared$2('wks');
|
399 | var Symbol$1 = global$5.Symbol;
|
400 | var symbolFor = Symbol$1 && Symbol$1['for'];
|
401 | var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
402 |
|
403 | var wellKnownSymbol$6 = function (name) {
|
404 | if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
405 | var description = 'Symbol.' + name;
|
406 | if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
|
407 | WellKnownSymbolsStore[name] = Symbol$1[name];
|
408 | } else if (USE_SYMBOL_AS_UID && symbolFor) {
|
409 | WellKnownSymbolsStore[name] = symbolFor(description);
|
410 | } else {
|
411 | WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
412 | }
|
413 | } return WellKnownSymbolsStore[name];
|
414 | };
|
415 |
|
416 | var call$1 = functionCall;
|
417 | var isObject$5 = isObject$7;
|
418 | var isSymbol$1 = isSymbol$2;
|
419 | var getMethod = getMethod$1;
|
420 | var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
421 | var wellKnownSymbol$5 = wellKnownSymbol$6;
|
422 |
|
423 | var $TypeError$3 = TypeError;
|
424 | var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
|
425 |
|
426 |
|
427 |
|
428 | var toPrimitive$1 = function (input, pref) {
|
429 | if (!isObject$5(input) || isSymbol$1(input)) return input;
|
430 | var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
431 | var result;
|
432 | if (exoticToPrim) {
|
433 | if (pref === undefined) pref = 'default';
|
434 | result = call$1(exoticToPrim, input, pref);
|
435 | if (!isObject$5(result) || isSymbol$1(result)) return result;
|
436 | throw $TypeError$3("Can't convert object to primitive value");
|
437 | }
|
438 | if (pref === undefined) pref = 'number';
|
439 | return ordinaryToPrimitive(input, pref);
|
440 | };
|
441 |
|
442 | var toPrimitive = toPrimitive$1;
|
443 | var isSymbol = isSymbol$2;
|
444 |
|
445 |
|
446 |
|
447 | var toPropertyKey$3 = function (argument) {
|
448 | var key = toPrimitive(argument, 'string');
|
449 | return isSymbol(key) ? key : key + '';
|
450 | };
|
451 |
|
452 | var global$4 = global$a;
|
453 | var isObject$4 = isObject$7;
|
454 |
|
455 | var document$1 = global$4.document;
|
456 |
|
457 | var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
458 |
|
459 | var documentCreateElement = function (it) {
|
460 | return EXISTS$1 ? document$1.createElement(it) : {};
|
461 | };
|
462 |
|
463 | var DESCRIPTORS$6 = descriptors;
|
464 | var fails$6 = fails$b;
|
465 | var createElement = documentCreateElement;
|
466 |
|
467 |
|
468 | var ie8DomDefine = !DESCRIPTORS$6 && !fails$6(function () {
|
469 |
|
470 | return Object.defineProperty(createElement('div'), 'a', {
|
471 | get: function () { return 7; }
|
472 | }).a != 7;
|
473 | });
|
474 |
|
475 | var DESCRIPTORS$5 = descriptors;
|
476 | var call = functionCall;
|
477 | var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
478 | var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
479 | var toIndexedObject$2 = toIndexedObject$3;
|
480 | var toPropertyKey$2 = toPropertyKey$3;
|
481 | var hasOwn$5 = hasOwnProperty_1;
|
482 | var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
483 |
|
484 |
|
485 | var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
486 |
|
487 |
|
488 |
|
489 | objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
490 | O = toIndexedObject$2(O);
|
491 | P = toPropertyKey$2(P);
|
492 | if (IE8_DOM_DEFINE$1) try {
|
493 | return $getOwnPropertyDescriptor$1(O, P);
|
494 | } catch (error) { }
|
495 | if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
496 | };
|
497 |
|
498 | var objectDefineProperty = {};
|
499 |
|
500 | var DESCRIPTORS$4 = descriptors;
|
501 | var fails$5 = fails$b;
|
502 |
|
503 |
|
504 |
|
505 | var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$5(function () {
|
506 |
|
507 | return Object.defineProperty(function () { }, 'prototype', {
|
508 | value: 42,
|
509 | writable: false
|
510 | }).prototype != 42;
|
511 | });
|
512 |
|
513 | var isObject$3 = isObject$7;
|
514 |
|
515 | var $String = String;
|
516 | var $TypeError$2 = TypeError;
|
517 |
|
518 |
|
519 | var anObject$2 = function (argument) {
|
520 | if (isObject$3(argument)) return argument;
|
521 | throw $TypeError$2($String(argument) + ' is not an object');
|
522 | };
|
523 |
|
524 | var DESCRIPTORS$3 = descriptors;
|
525 | var IE8_DOM_DEFINE = ie8DomDefine;
|
526 | var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
527 | var anObject$1 = anObject$2;
|
528 | var toPropertyKey$1 = toPropertyKey$3;
|
529 |
|
530 | var $TypeError$1 = TypeError;
|
531 |
|
532 | var $defineProperty = Object.defineProperty;
|
533 |
|
534 | var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
535 | var ENUMERABLE = 'enumerable';
|
536 | var CONFIGURABLE$1 = 'configurable';
|
537 | var WRITABLE = 'writable';
|
538 |
|
539 |
|
540 |
|
541 | objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
542 | anObject$1(O);
|
543 | P = toPropertyKey$1(P);
|
544 | anObject$1(Attributes);
|
545 | if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
546 | var current = $getOwnPropertyDescriptor(O, P);
|
547 | if (current && current[WRITABLE]) {
|
548 | O[P] = Attributes.value;
|
549 | Attributes = {
|
550 | configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
551 | enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
552 | writable: false
|
553 | };
|
554 | }
|
555 | } return $defineProperty(O, P, Attributes);
|
556 | } : $defineProperty : function defineProperty(O, P, Attributes) {
|
557 | anObject$1(O);
|
558 | P = toPropertyKey$1(P);
|
559 | anObject$1(Attributes);
|
560 | if (IE8_DOM_DEFINE) try {
|
561 | return $defineProperty(O, P, Attributes);
|
562 | } catch (error) { }
|
563 | if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
|
564 | if ('value' in Attributes) O[P] = Attributes.value;
|
565 | return O;
|
566 | };
|
567 |
|
568 | var DESCRIPTORS$2 = descriptors;
|
569 | var definePropertyModule$3 = objectDefineProperty;
|
570 | var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
571 |
|
572 | var createNonEnumerableProperty$2 = DESCRIPTORS$2 ? function (object, key, value) {
|
573 | return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
574 | } : function (object, key, value) {
|
575 | object[key] = value;
|
576 | return object;
|
577 | };
|
578 |
|
579 | var makeBuiltIn$2 = {exports: {}};
|
580 |
|
581 | var DESCRIPTORS$1 = descriptors;
|
582 | var hasOwn$4 = hasOwnProperty_1;
|
583 |
|
584 | var FunctionPrototype = Function.prototype;
|
585 |
|
586 | var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
587 |
|
588 | var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
589 |
|
590 | var PROPER = EXISTS && (function something() { }).name === 'something';
|
591 | var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
592 |
|
593 | var functionName = {
|
594 | EXISTS: EXISTS,
|
595 | PROPER: PROPER,
|
596 | CONFIGURABLE: CONFIGURABLE
|
597 | };
|
598 |
|
599 | var uncurryThis$3 = functionUncurryThis;
|
600 | var isCallable$6 = isCallable$c;
|
601 | var store$1 = sharedStore;
|
602 |
|
603 | var functionToString = uncurryThis$3(Function.toString);
|
604 |
|
605 |
|
606 | if (!isCallable$6(store$1.inspectSource)) {
|
607 | store$1.inspectSource = function (it) {
|
608 | return functionToString(it);
|
609 | };
|
610 | }
|
611 |
|
612 | var inspectSource$2 = store$1.inspectSource;
|
613 |
|
614 | var global$3 = global$a;
|
615 | var isCallable$5 = isCallable$c;
|
616 |
|
617 | var WeakMap$1 = global$3.WeakMap;
|
618 |
|
619 | var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
620 |
|
621 | var shared$1 = shared$3.exports;
|
622 | var uid = uid$2;
|
623 |
|
624 | var keys = shared$1('keys');
|
625 |
|
626 | var sharedKey$1 = function (key) {
|
627 | return keys[key] || (keys[key] = uid(key));
|
628 | };
|
629 |
|
630 | var hiddenKeys$3 = {};
|
631 |
|
632 | var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
633 | var global$2 = global$a;
|
634 | var isObject$2 = isObject$7;
|
635 | var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
636 | var hasOwn$3 = hasOwnProperty_1;
|
637 | var shared = sharedStore;
|
638 | var sharedKey = sharedKey$1;
|
639 | var hiddenKeys$2 = hiddenKeys$3;
|
640 |
|
641 | var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
642 | var TypeError$1 = global$2.TypeError;
|
643 | var WeakMap = global$2.WeakMap;
|
644 | var set, get, has;
|
645 |
|
646 | var enforce = function (it) {
|
647 | return has(it) ? get(it) : set(it, {});
|
648 | };
|
649 |
|
650 | var getterFor = function (TYPE) {
|
651 | return function (it) {
|
652 | var state;
|
653 | if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
|
654 | throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
655 | } return state;
|
656 | };
|
657 | };
|
658 |
|
659 | if (NATIVE_WEAK_MAP || shared.state) {
|
660 | var store = shared.state || (shared.state = new WeakMap());
|
661 |
|
662 | store.get = store.get;
|
663 | store.has = store.has;
|
664 | store.set = store.set;
|
665 |
|
666 | set = function (it, metadata) {
|
667 | if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
668 | metadata.facade = it;
|
669 | store.set(it, metadata);
|
670 | return metadata;
|
671 | };
|
672 | get = function (it) {
|
673 | return store.get(it) || {};
|
674 | };
|
675 | has = function (it) {
|
676 | return store.has(it);
|
677 | };
|
678 | } else {
|
679 | var STATE = sharedKey('state');
|
680 | hiddenKeys$2[STATE] = true;
|
681 | set = function (it, metadata) {
|
682 | if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
683 | metadata.facade = it;
|
684 | createNonEnumerableProperty$1(it, STATE, metadata);
|
685 | return metadata;
|
686 | };
|
687 | get = function (it) {
|
688 | return hasOwn$3(it, STATE) ? it[STATE] : {};
|
689 | };
|
690 | has = function (it) {
|
691 | return hasOwn$3(it, STATE);
|
692 | };
|
693 | }
|
694 |
|
695 | var internalState = {
|
696 | set: set,
|
697 | get: get,
|
698 | has: has,
|
699 | enforce: enforce,
|
700 | getterFor: getterFor
|
701 | };
|
702 |
|
703 | var fails$4 = fails$b;
|
704 | var isCallable$4 = isCallable$c;
|
705 | var hasOwn$2 = hasOwnProperty_1;
|
706 | var DESCRIPTORS = descriptors;
|
707 | var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
708 | var inspectSource$1 = inspectSource$2;
|
709 | var InternalStateModule = internalState;
|
710 |
|
711 | var enforceInternalState = InternalStateModule.enforce;
|
712 | var getInternalState = InternalStateModule.get;
|
713 | // eslint-disable-next-line es/no-object-defineproperty -- safe
|
714 | var defineProperty = Object.defineProperty;
|
715 |
|
716 | var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$4(function () {
|
717 | return defineProperty(function () { }, 'length', { value: 8 }).length !== 8;
|
718 | });
|
719 |
|
720 | var TEMPLATE = String(String).split('String');
|
721 |
|
722 | var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
723 | if (String(name).slice(0, 7) === 'Symbol(') {
|
724 | name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
725 | }
|
726 | if (options && options.getter) name = 'get ' + name;
|
727 | if (options && options.setter) name = 'set ' + name;
|
728 | if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
729 | if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
|
730 | else value.name = name;
|
731 | }
|
732 | if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
733 | defineProperty(value, 'length', { value: options.arity });
|
734 | }
|
735 | try {
|
736 | if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
737 | if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
|
738 |
|
739 | } else if (value.prototype) value.prototype = undefined;
|
740 | } catch (error) { }
|
741 | var state = enforceInternalState(value);
|
742 | if (!hasOwn$2(state, 'source')) {
|
743 | state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
744 | } return value;
|
745 | };
|
746 |
|
747 |
|
748 |
|
749 | Function.prototype.toString = makeBuiltIn$1(function toString() {
|
750 | return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
|
751 | }, 'toString');
|
752 |
|
753 | var isCallable$3 = isCallable$c;
|
754 | var definePropertyModule$2 = objectDefineProperty;
|
755 | var makeBuiltIn = makeBuiltIn$2.exports;
|
756 | var defineGlobalProperty$1 = defineGlobalProperty$3;
|
757 |
|
758 | var defineBuiltIn$1 = function (O, key, value, options) {
|
759 | if (!options) options = {};
|
760 | var simple = options.enumerable;
|
761 | var name = options.name !== undefined ? options.name : key;
|
762 | if (isCallable$3(value)) makeBuiltIn(value, name, options);
|
763 | if (options.global) {
|
764 | if (simple) O[key] = value;
|
765 | else defineGlobalProperty$1(key, value);
|
766 | } else {
|
767 | try {
|
768 | if (!options.unsafe) delete O[key];
|
769 | else if (O[key]) simple = true;
|
770 | } catch (error) { }
|
771 | if (simple) O[key] = value;
|
772 | else definePropertyModule$2.f(O, key, {
|
773 | value: value,
|
774 | enumerable: false,
|
775 | configurable: !options.nonConfigurable,
|
776 | writable: !options.nonWritable
|
777 | });
|
778 | } return O;
|
779 | };
|
780 |
|
781 | var objectGetOwnPropertyNames = {};
|
782 |
|
783 | var ceil = Math.ceil;
|
784 | var floor = Math.floor;
|
785 |
|
786 |
|
787 |
|
788 |
|
789 | var mathTrunc = Math.trunc || function trunc(x) {
|
790 | var n = +x;
|
791 | return (n > 0 ? floor : ceil)(n);
|
792 | };
|
793 |
|
794 | var trunc = mathTrunc;
|
795 |
|
796 |
|
797 |
|
798 | var toIntegerOrInfinity$2 = function (argument) {
|
799 | var number = +argument;
|
800 |
|
801 | return number !== number || number === 0 ? 0 : trunc(number);
|
802 | };
|
803 |
|
804 | var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
805 |
|
806 | var max = Math.max;
|
807 | var min$1 = Math.min;
|
808 |
|
809 |
|
810 |
|
811 |
|
812 | var toAbsoluteIndex$1 = function (index, length) {
|
813 | var integer = toIntegerOrInfinity$1(index);
|
814 | return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
815 | };
|
816 |
|
817 | var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
818 |
|
819 | var min = Math.min;
|
820 |
|
821 |
|
822 |
|
823 | var toLength$1 = function (argument) {
|
824 | return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0;
|
825 | };
|
826 |
|
827 | var toLength = toLength$1;
|
828 |
|
829 |
|
830 |
|
831 | var lengthOfArrayLike$2 = function (obj) {
|
832 | return toLength(obj.length);
|
833 | };
|
834 |
|
835 | var toIndexedObject$1 = toIndexedObject$3;
|
836 | var toAbsoluteIndex = toAbsoluteIndex$1;
|
837 | var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
838 |
|
839 |
|
840 | var createMethod = function (IS_INCLUDES) {
|
841 | return function ($this, el, fromIndex) {
|
842 | var O = toIndexedObject$1($this);
|
843 | var length = lengthOfArrayLike$1(O);
|
844 | var index = toAbsoluteIndex(fromIndex, length);
|
845 | var value;
|
846 |
|
847 |
|
848 | if (IS_INCLUDES && el != el) while (length > index) {
|
849 | value = O[index++];
|
850 |
|
851 | if (value != value) return true;
|
852 |
|
853 | } else for (;length > index; index++) {
|
854 | if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
855 | } return !IS_INCLUDES && -1;
|
856 | };
|
857 | };
|
858 |
|
859 | var arrayIncludes = {
|
860 |
|
861 |
|
862 | includes: createMethod(true),
|
863 |
|
864 |
|
865 | indexOf: createMethod(false)
|
866 | };
|
867 |
|
868 | var uncurryThis$2 = functionUncurryThis;
|
869 | var hasOwn$1 = hasOwnProperty_1;
|
870 | var toIndexedObject = toIndexedObject$3;
|
871 | var indexOf = arrayIncludes.indexOf;
|
872 | var hiddenKeys$1 = hiddenKeys$3;
|
873 |
|
874 | var push = uncurryThis$2([].push);
|
875 |
|
876 | var objectKeysInternal = function (object, names) {
|
877 | var O = toIndexedObject(object);
|
878 | var i = 0;
|
879 | var result = [];
|
880 | var key;
|
881 | for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
882 |
|
883 | while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
884 | ~indexOf(result, key) || push(result, key);
|
885 | }
|
886 | return result;
|
887 | };
|
888 |
|
889 |
|
890 | var enumBugKeys$1 = [
|
891 | 'constructor',
|
892 | 'hasOwnProperty',
|
893 | 'isPrototypeOf',
|
894 | 'propertyIsEnumerable',
|
895 | 'toLocaleString',
|
896 | 'toString',
|
897 | 'valueOf'
|
898 | ];
|
899 |
|
900 | var internalObjectKeys = objectKeysInternal;
|
901 | var enumBugKeys = enumBugKeys$1;
|
902 |
|
903 | var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
904 |
|
905 |
|
906 |
|
907 |
|
908 | objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
909 | return internalObjectKeys(O, hiddenKeys);
|
910 | };
|
911 |
|
912 | var objectGetOwnPropertySymbols = {};
|
913 |
|
914 |
|
915 | objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
916 |
|
917 | var getBuiltIn$1 = getBuiltIn$4;
|
918 | var uncurryThis$1 = functionUncurryThis;
|
919 | var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
920 | var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
921 | var anObject = anObject$2;
|
922 |
|
923 | var concat = uncurryThis$1([].concat);
|
924 |
|
925 |
|
926 | var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
927 | var keys = getOwnPropertyNamesModule.f(anObject(it));
|
928 | var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
929 | return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
930 | };
|
931 |
|
932 | var hasOwn = hasOwnProperty_1;
|
933 | var ownKeys = ownKeys$1;
|
934 | var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
935 | var definePropertyModule$1 = objectDefineProperty;
|
936 |
|
937 | var copyConstructorProperties$1 = function (target, source, exceptions) {
|
938 | var keys = ownKeys(source);
|
939 | var defineProperty = definePropertyModule$1.f;
|
940 | var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
941 | for (var i = 0; i < keys.length; i++) {
|
942 | var key = keys[i];
|
943 | if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
944 | defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
945 | }
|
946 | }
|
947 | };
|
948 |
|
949 | var fails$3 = fails$b;
|
950 | var isCallable$2 = isCallable$c;
|
951 |
|
952 | var replacement = /#|\.prototype\./;
|
953 |
|
954 | var isForced$1 = function (feature, detection) {
|
955 | var value = data[normalize(feature)];
|
956 | return value == POLYFILL ? true
|
957 | : value == NATIVE ? false
|
958 | : isCallable$2(detection) ? fails$3(detection)
|
959 | : !!detection;
|
960 | };
|
961 |
|
962 | var normalize = isForced$1.normalize = function (string) {
|
963 | return String(string).replace(replacement, '.').toLowerCase();
|
964 | };
|
965 |
|
966 | var data = isForced$1.data = {};
|
967 | var NATIVE = isForced$1.NATIVE = 'N';
|
968 | var POLYFILL = isForced$1.POLYFILL = 'P';
|
969 |
|
970 | var isForced_1 = isForced$1;
|
971 |
|
972 | var global$1 = global$a;
|
973 | var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
974 | var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
975 | var defineBuiltIn = defineBuiltIn$1;
|
976 | var defineGlobalProperty = defineGlobalProperty$3;
|
977 | var copyConstructorProperties = copyConstructorProperties$1;
|
978 | var isForced = isForced_1;
|
979 |
|
980 | |
981 |
|
982 |
|
983 |
|
984 |
|
985 |
|
986 |
|
987 |
|
988 |
|
989 |
|
990 |
|
991 |
|
992 |
|
993 |
|
994 |
|
995 | var _export = function (options, source) {
|
996 | var TARGET = options.target;
|
997 | var GLOBAL = options.global;
|
998 | var STATIC = options.stat;
|
999 | var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
1000 | if (GLOBAL) {
|
1001 | target = global$1;
|
1002 | } else if (STATIC) {
|
1003 | target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
|
1004 | } else {
|
1005 | target = (global$1[TARGET] || {}).prototype;
|
1006 | }
|
1007 | if (target) for (key in source) {
|
1008 | sourceProperty = source[key];
|
1009 | if (options.dontCallGetSet) {
|
1010 | descriptor = getOwnPropertyDescriptor(target, key);
|
1011 | targetProperty = descriptor && descriptor.value;
|
1012 | } else targetProperty = target[key];
|
1013 | FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
1014 |
|
1015 | if (!FORCED && targetProperty !== undefined) {
|
1016 | if (typeof sourceProperty == typeof targetProperty) continue;
|
1017 | copyConstructorProperties(sourceProperty, targetProperty);
|
1018 | }
|
1019 |
|
1020 | if (options.sham || (targetProperty && targetProperty.sham)) {
|
1021 | createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1022 | }
|
1023 | defineBuiltIn(target, key, sourceProperty, options);
|
1024 | }
|
1025 | };
|
1026 |
|
1027 | var classof$2 = classofRaw$2;
|
1028 |
|
1029 |
|
1030 |
|
1031 |
|
1032 | var isArray$2 = Array.isArray || function isArray(argument) {
|
1033 | return classof$2(argument) == 'Array';
|
1034 | };
|
1035 |
|
1036 | var $TypeError = TypeError;
|
1037 | var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
1038 |
|
1039 | var doesNotExceedSafeInteger$1 = function (it) {
|
1040 | if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
|
1041 | return it;
|
1042 | };
|
1043 |
|
1044 | var toPropertyKey = toPropertyKey$3;
|
1045 | var definePropertyModule = objectDefineProperty;
|
1046 | var createPropertyDescriptor = createPropertyDescriptor$3;
|
1047 |
|
1048 | var createProperty$1 = function (object, key, value) {
|
1049 | var propertyKey = toPropertyKey(key);
|
1050 | if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
|
1051 | else object[propertyKey] = value;
|
1052 | };
|
1053 |
|
1054 | var wellKnownSymbol$4 = wellKnownSymbol$6;
|
1055 |
|
1056 | var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
1057 | var test = {};
|
1058 |
|
1059 | test[TO_STRING_TAG$1] = 'z';
|
1060 |
|
1061 | var toStringTagSupport = String(test) === '[object z]';
|
1062 |
|
1063 | var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
1064 | var isCallable$1 = isCallable$c;
|
1065 | var classofRaw = classofRaw$2;
|
1066 | var wellKnownSymbol$3 = wellKnownSymbol$6;
|
1067 |
|
1068 | var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
|
1069 | var $Object = Object;
|
1070 |
|
1071 |
|
1072 | var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
1073 |
|
1074 |
|
1075 | var tryGet = function (it, key) {
|
1076 | try {
|
1077 | return it[key];
|
1078 | } catch (error) { }
|
1079 | };
|
1080 |
|
1081 |
|
1082 | var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
1083 | var O, tag, result;
|
1084 | return it === undefined ? 'Undefined' : it === null ? 'Null'
|
1085 |
|
1086 | : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
1087 |
|
1088 | : CORRECT_ARGUMENTS ? classofRaw(O)
|
1089 |
|
1090 | : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
1091 | };
|
1092 |
|
1093 | var uncurryThis = functionUncurryThis;
|
1094 | var fails$2 = fails$b;
|
1095 | var isCallable = isCallable$c;
|
1096 | var classof = classof$1;
|
1097 | var getBuiltIn = getBuiltIn$4;
|
1098 | var inspectSource = inspectSource$2;
|
1099 |
|
1100 | var noop = function () { };
|
1101 | var empty = [];
|
1102 | var construct = getBuiltIn('Reflect', 'construct');
|
1103 | var constructorRegExp = /^\s*(?:class|function)\b/;
|
1104 | var exec = uncurryThis(constructorRegExp.exec);
|
1105 | var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
1106 |
|
1107 | var isConstructorModern = function isConstructor(argument) {
|
1108 | if (!isCallable(argument)) return false;
|
1109 | try {
|
1110 | construct(noop, empty, argument);
|
1111 | return true;
|
1112 | } catch (error) {
|
1113 | return false;
|
1114 | }
|
1115 | };
|
1116 |
|
1117 | var isConstructorLegacy = function isConstructor(argument) {
|
1118 | if (!isCallable(argument)) return false;
|
1119 | switch (classof(argument)) {
|
1120 | case 'AsyncFunction':
|
1121 | case 'GeneratorFunction':
|
1122 | case 'AsyncGeneratorFunction': return false;
|
1123 | }
|
1124 | try {
|
1125 |
|
1126 |
|
1127 |
|
1128 | return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
1129 | } catch (error) {
|
1130 | return true;
|
1131 | }
|
1132 | };
|
1133 |
|
1134 | isConstructorLegacy.sham = true;
|
1135 |
|
1136 |
|
1137 |
|
1138 | var isConstructor$1 = !construct || fails$2(function () {
|
1139 | var called;
|
1140 | return isConstructorModern(isConstructorModern.call)
|
1141 | || !isConstructorModern(Object)
|
1142 | || !isConstructorModern(function () { called = true; })
|
1143 | || called;
|
1144 | }) ? isConstructorLegacy : isConstructorModern;
|
1145 |
|
1146 | var isArray$1 = isArray$2;
|
1147 | var isConstructor = isConstructor$1;
|
1148 | var isObject$1 = isObject$7;
|
1149 | var wellKnownSymbol$2 = wellKnownSymbol$6;
|
1150 |
|
1151 | var SPECIES$1 = wellKnownSymbol$2('species');
|
1152 | var $Array = Array;
|
1153 |
|
1154 |
|
1155 |
|
1156 | var arraySpeciesConstructor$1 = function (originalArray) {
|
1157 | var C;
|
1158 | if (isArray$1(originalArray)) {
|
1159 | C = originalArray.constructor;
|
1160 |
|
1161 | if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;
|
1162 | else if (isObject$1(C)) {
|
1163 | C = C[SPECIES$1];
|
1164 | if (C === null) C = undefined;
|
1165 | }
|
1166 | } return C === undefined ? $Array : C;
|
1167 | };
|
1168 |
|
1169 | var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
1170 |
|
1171 |
|
1172 |
|
1173 | var arraySpeciesCreate$1 = function (originalArray, length) {
|
1174 | return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
1175 | };
|
1176 |
|
1177 | var fails$1 = fails$b;
|
1178 | var wellKnownSymbol$1 = wellKnownSymbol$6;
|
1179 | var V8_VERSION$1 = engineV8Version;
|
1180 |
|
1181 | var SPECIES = wellKnownSymbol$1('species');
|
1182 |
|
1183 | var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {
|
1184 |
|
1185 |
|
1186 |
|
1187 | return V8_VERSION$1 >= 51 || !fails$1(function () {
|
1188 | var array = [];
|
1189 | var constructor = array.constructor = {};
|
1190 | constructor[SPECIES] = function () {
|
1191 | return { foo: 1 };
|
1192 | };
|
1193 | return array[METHOD_NAME](Boolean).foo !== 1;
|
1194 | });
|
1195 | };
|
1196 |
|
1197 | var $ = _export;
|
1198 | var fails = fails$b;
|
1199 | var isArray = isArray$2;
|
1200 | var isObject = isObject$7;
|
1201 | var toObject = toObject$2;
|
1202 | var lengthOfArrayLike = lengthOfArrayLike$2;
|
1203 | var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
1204 | var createProperty = createProperty$1;
|
1205 | var arraySpeciesCreate = arraySpeciesCreate$1;
|
1206 | var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;
|
1207 | var wellKnownSymbol = wellKnownSymbol$6;
|
1208 | var V8_VERSION = engineV8Version;
|
1209 |
|
1210 | var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
1211 |
|
1212 |
|
1213 |
|
1214 |
|
1215 | var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
1216 | var array = [];
|
1217 | array[IS_CONCAT_SPREADABLE] = false;
|
1218 | return array.concat()[0] !== array;
|
1219 | });
|
1220 |
|
1221 | var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
1222 |
|
1223 | var isConcatSpreadable = function (O) {
|
1224 | if (!isObject(O)) return false;
|
1225 | var spreadable = O[IS_CONCAT_SPREADABLE];
|
1226 | return spreadable !== undefined ? !!spreadable : isArray(O);
|
1227 | };
|
1228 |
|
1229 | var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
1230 |
|
1231 |
|
1232 |
|
1233 |
|
1234 | $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
1235 |
|
1236 | concat: function concat(arg) {
|
1237 | var O = toObject(this);
|
1238 | var A = arraySpeciesCreate(O, 0);
|
1239 | var n = 0;
|
1240 | var i, k, length, len, E;
|
1241 | for (i = -1, length = arguments.length; i < length; i++) {
|
1242 | E = i === -1 ? O : arguments[i];
|
1243 | if (isConcatSpreadable(E)) {
|
1244 | len = lengthOfArrayLike(E);
|
1245 | doesNotExceedSafeInteger(n + len);
|
1246 | for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
1247 | } else {
|
1248 | doesNotExceedSafeInteger(n + 1);
|
1249 | createProperty(A, n++, E);
|
1250 | }
|
1251 | }
|
1252 | A.length = n;
|
1253 | return A;
|
1254 | }
|
1255 | });
|
1256 |
|
1257 | |
1258 |
|
1259 |
|
1260 |
|
1261 |
|
1262 | $__default["default"].fn.bootstrapTable.locales['fr-CH'] = {
|
1263 | formatCopyRows: function formatCopyRows() {
|
1264 | return 'Copy Rows';
|
1265 | },
|
1266 | formatPrint: function formatPrint() {
|
1267 | return 'Print';
|
1268 | },
|
1269 | formatLoadingMessage: function formatLoadingMessage() {
|
1270 | return 'Chargement en cours';
|
1271 | },
|
1272 | formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
|
1273 | return "".concat(pageNumber, " lignes par page");
|
1274 | },
|
1275 | formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {
|
1276 | if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
|
1277 | return "Affiche de ".concat(pageFrom, " \xE0 ").concat(pageTo, " sur ").concat(totalRows, " lignes (filtr\xE9s \xE0 partir de ").concat(totalNotFiltered, " lignes)");
|
1278 | }
|
1279 | return "Affiche de ".concat(pageFrom, " \xE0 ").concat(pageTo, " sur ").concat(totalRows, " lignes");
|
1280 | },
|
1281 | formatSRPaginationPreText: function formatSRPaginationPreText() {
|
1282 | return 'page précédente';
|
1283 | },
|
1284 | formatSRPaginationPageText: function formatSRPaginationPageText(page) {
|
1285 | return "vers la page ".concat(page);
|
1286 | },
|
1287 | formatSRPaginationNextText: function formatSRPaginationNextText() {
|
1288 | return 'page suivante';
|
1289 | },
|
1290 | formatDetailPagination: function formatDetailPagination(totalRows) {
|
1291 | return "Affiche ".concat(totalRows, " lignes");
|
1292 | },
|
1293 | formatClearSearch: function formatClearSearch() {
|
1294 | return 'Effacer la recherche';
|
1295 | },
|
1296 | formatSearch: function formatSearch() {
|
1297 | return 'Recherche';
|
1298 | },
|
1299 | formatNoMatches: function formatNoMatches() {
|
1300 | return 'Pas de lignes trouvés';
|
1301 | },
|
1302 | formatPaginationSwitch: function formatPaginationSwitch() {
|
1303 | return 'Cacher/Afficher pagination';
|
1304 | },
|
1305 | formatPaginationSwitchDown: function formatPaginationSwitchDown() {
|
1306 | return 'Afficher pagination';
|
1307 | },
|
1308 | formatPaginationSwitchUp: function formatPaginationSwitchUp() {
|
1309 | return 'Cacher pagination';
|
1310 | },
|
1311 | formatRefresh: function formatRefresh() {
|
1312 | return 'Rafraichir';
|
1313 | },
|
1314 | formatToggleOn: function formatToggleOn() {
|
1315 | return 'Afficher vue carte';
|
1316 | },
|
1317 | formatToggleOff: function formatToggleOff() {
|
1318 | return 'Cacher vue carte';
|
1319 | },
|
1320 | formatColumns: function formatColumns() {
|
1321 | return 'Colonnes';
|
1322 | },
|
1323 | formatColumnsToggleAll: function formatColumnsToggleAll() {
|
1324 | return 'Tout basculer';
|
1325 | },
|
1326 | formatFullscreen: function formatFullscreen() {
|
1327 | return 'Plein écran';
|
1328 | },
|
1329 | formatAllRows: function formatAllRows() {
|
1330 | return 'Tout';
|
1331 | },
|
1332 | formatAutoRefresh: function formatAutoRefresh() {
|
1333 | return 'Rafraîchissement automatique';
|
1334 | },
|
1335 | formatExport: function formatExport() {
|
1336 | return 'Exporter les données';
|
1337 | },
|
1338 | formatJumpTo: function formatJumpTo() {
|
1339 | return 'Aller à';
|
1340 | },
|
1341 | formatAdvancedSearch: function formatAdvancedSearch() {
|
1342 | return 'Recherche avancée';
|
1343 | },
|
1344 | formatAdvancedCloseButton: function formatAdvancedCloseButton() {
|
1345 | return 'Fermer';
|
1346 | },
|
1347 | formatFilterControlSwitch: function formatFilterControlSwitch() {
|
1348 | return 'Cacher/Afficher controls';
|
1349 | },
|
1350 | formatFilterControlSwitchHide: function formatFilterControlSwitchHide() {
|
1351 | return 'Cacher controls';
|
1352 | },
|
1353 | formatFilterControlSwitchShow: function formatFilterControlSwitchShow() {
|
1354 | return 'Afficher controls';
|
1355 | }
|
1356 | };
|
1357 | $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales['fr-CH']);
|
1358 |
|
1359 | }));
|