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 = _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 |
|
22 | var global_1 =
|
23 |
|
24 | check(typeof globalThis == 'object' && globalThis) ||
|
25 | check(typeof window == 'object' && window) ||
|
26 |
|
27 | check(typeof self == 'object' && self) ||
|
28 | check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
29 |
|
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 |
|
41 | var descriptors = !fails(function () {
|
42 |
|
43 | return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
44 | });
|
45 |
|
46 | var functionBindNative = !fails(function () {
|
47 |
|
48 | var test = (function () { }).bind();
|
49 |
|
50 | return typeof test != 'function' || test.hasOwnProperty('prototype');
|
51 | });
|
52 |
|
53 | var call$1 = Function.prototype.call;
|
54 |
|
55 | var functionCall = functionBindNative ? call$1.bind(call$1) : function () {
|
56 | return call$1.apply(call$1, arguments);
|
57 | };
|
58 |
|
59 | var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
60 |
|
61 | var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
62 |
|
63 |
|
64 | var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
65 |
|
66 |
|
67 |
|
68 | var f$4 = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
69 | var descriptor = getOwnPropertyDescriptor$1(this, V);
|
70 | return !!descriptor && descriptor.enumerable;
|
71 | } : $propertyIsEnumerable;
|
72 |
|
73 | var objectPropertyIsEnumerable = {
|
74 | f: f$4
|
75 | };
|
76 |
|
77 | var createPropertyDescriptor = function (bitmap, value) {
|
78 | return {
|
79 | enumerable: !(bitmap & 1),
|
80 | configurable: !(bitmap & 2),
|
81 | writable: !(bitmap & 4),
|
82 | value: value
|
83 | };
|
84 | };
|
85 |
|
86 | var FunctionPrototype$1 = Function.prototype;
|
87 | var bind = FunctionPrototype$1.bind;
|
88 | var call = FunctionPrototype$1.call;
|
89 | var uncurryThis = functionBindNative && bind.bind(call, call);
|
90 |
|
91 | var functionUncurryThis = functionBindNative ? function (fn) {
|
92 | return fn && uncurryThis(fn);
|
93 | } : function (fn) {
|
94 | return fn && function () {
|
95 | return call.apply(fn, arguments);
|
96 | };
|
97 | };
|
98 |
|
99 | var toString$1 = functionUncurryThis({}.toString);
|
100 | var stringSlice = functionUncurryThis(''.slice);
|
101 |
|
102 | var classofRaw = function (it) {
|
103 | return stringSlice(toString$1(it), 8, -1);
|
104 | };
|
105 |
|
106 | var Object$4 = global_1.Object;
|
107 | var split = functionUncurryThis(''.split);
|
108 |
|
109 |
|
110 | var indexedObject = fails(function () {
|
111 |
|
112 |
|
113 | return !Object$4('z').propertyIsEnumerable(0);
|
114 | }) ? function (it) {
|
115 | return classofRaw(it) == 'String' ? split(it, '') : Object$4(it);
|
116 | } : Object$4;
|
117 |
|
118 | var TypeError$7 = global_1.TypeError;
|
119 |
|
120 |
|
121 |
|
122 | var requireObjectCoercible = function (it) {
|
123 | if (it == undefined) throw TypeError$7("Can't call method on " + it);
|
124 | return it;
|
125 | };
|
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 | var toIndexedObject = function (it) {
|
132 | return indexedObject(requireObjectCoercible(it));
|
133 | };
|
134 |
|
135 |
|
136 |
|
137 | var isCallable = function (argument) {
|
138 | return typeof argument == 'function';
|
139 | };
|
140 |
|
141 | var isObject = function (it) {
|
142 | return typeof it == 'object' ? it !== null : isCallable(it);
|
143 | };
|
144 |
|
145 | var aFunction = function (argument) {
|
146 | return isCallable(argument) ? argument : undefined;
|
147 | };
|
148 |
|
149 | var getBuiltIn = function (namespace, method) {
|
150 | return arguments.length < 2 ? aFunction(global_1[namespace]) : global_1[namespace] && global_1[namespace][method];
|
151 | };
|
152 |
|
153 | var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
154 |
|
155 | var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
156 |
|
157 | var process = global_1.process;
|
158 | var Deno = global_1.Deno;
|
159 | var versions = process && process.versions || Deno && Deno.version;
|
160 | var v8 = versions && versions.v8;
|
161 | var match, version;
|
162 |
|
163 | if (v8) {
|
164 | match = v8.split('.');
|
165 |
|
166 |
|
167 | version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
168 | }
|
169 |
|
170 |
|
171 |
|
172 | if (!version && engineUserAgent) {
|
173 | match = engineUserAgent.match(/Edge\/(\d+)/);
|
174 | if (!match || match[1] >= 74) {
|
175 | match = engineUserAgent.match(/Chrome\/(\d+)/);
|
176 | if (match) version = +match[1];
|
177 | }
|
178 | }
|
179 |
|
180 | var engineV8Version = version;
|
181 |
|
182 |
|
183 |
|
184 |
|
185 |
|
186 |
|
187 | var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
188 | var symbol = Symbol();
|
189 |
|
190 |
|
191 | return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
192 |
|
193 | !Symbol.sham && engineV8Version && engineV8Version < 41;
|
194 | });
|
195 |
|
196 |
|
197 |
|
198 |
|
199 | var useSymbolAsUid = nativeSymbol
|
200 | && !Symbol.sham
|
201 | && typeof Symbol.iterator == 'symbol';
|
202 |
|
203 | var Object$3 = global_1.Object;
|
204 |
|
205 | var isSymbol = useSymbolAsUid ? function (it) {
|
206 | return typeof it == 'symbol';
|
207 | } : function (it) {
|
208 | var $Symbol = getBuiltIn('Symbol');
|
209 | return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$3(it));
|
210 | };
|
211 |
|
212 | var String$2 = global_1.String;
|
213 |
|
214 | var tryToString = function (argument) {
|
215 | try {
|
216 | return String$2(argument);
|
217 | } catch (error) {
|
218 | return 'Object';
|
219 | }
|
220 | };
|
221 |
|
222 | var TypeError$6 = global_1.TypeError;
|
223 |
|
224 |
|
225 | var aCallable = function (argument) {
|
226 | if (isCallable(argument)) return argument;
|
227 | throw TypeError$6(tryToString(argument) + ' is not a function');
|
228 | };
|
229 |
|
230 |
|
231 |
|
232 | var getMethod = function (V, P) {
|
233 | var func = V[P];
|
234 | return func == null ? undefined : aCallable(func);
|
235 | };
|
236 |
|
237 | var TypeError$5 = global_1.TypeError;
|
238 |
|
239 |
|
240 |
|
241 | var ordinaryToPrimitive = function (input, pref) {
|
242 | var fn, val;
|
243 | if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
244 | if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
245 | if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
246 | throw TypeError$5("Can't convert object to primitive value");
|
247 | };
|
248 |
|
249 |
|
250 | var defineProperty = Object.defineProperty;
|
251 |
|
252 | var setGlobal = function (key, value) {
|
253 | try {
|
254 | defineProperty(global_1, key, { value: value, configurable: true, writable: true });
|
255 | } catch (error) {
|
256 | global_1[key] = value;
|
257 | } return value;
|
258 | };
|
259 |
|
260 | var SHARED = '__core-js_shared__';
|
261 | var store$1 = global_1[SHARED] || setGlobal(SHARED, {});
|
262 |
|
263 | var sharedStore = store$1;
|
264 |
|
265 | var shared = createCommonjsModule(function (module) {
|
266 | (module.exports = function (key, value) {
|
267 | return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
268 | })('versions', []).push({
|
269 | version: '3.22.4',
|
270 | mode: 'global',
|
271 | copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
272 | license: 'https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE',
|
273 | source: 'https://github.com/zloirock/core-js'
|
274 | });
|
275 | });
|
276 |
|
277 | var Object$2 = global_1.Object;
|
278 |
|
279 |
|
280 |
|
281 | var toObject = function (argument) {
|
282 | return Object$2(requireObjectCoercible(argument));
|
283 | };
|
284 |
|
285 | var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
286 |
|
287 |
|
288 |
|
289 |
|
290 | var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
291 | return hasOwnProperty(toObject(it), key);
|
292 | };
|
293 |
|
294 | var id = 0;
|
295 | var postfix = Math.random();
|
296 | var toString = functionUncurryThis(1.0.toString);
|
297 |
|
298 | var uid = function (key) {
|
299 | return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
300 | };
|
301 |
|
302 | var WellKnownSymbolsStore = shared('wks');
|
303 | var Symbol$1 = global_1.Symbol;
|
304 | var symbolFor = Symbol$1 && Symbol$1['for'];
|
305 | var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
306 |
|
307 | var wellKnownSymbol = function (name) {
|
308 | if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
309 | var description = 'Symbol.' + name;
|
310 | if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
311 | WellKnownSymbolsStore[name] = Symbol$1[name];
|
312 | } else if (useSymbolAsUid && symbolFor) {
|
313 | WellKnownSymbolsStore[name] = symbolFor(description);
|
314 | } else {
|
315 | WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
316 | }
|
317 | } return WellKnownSymbolsStore[name];
|
318 | };
|
319 |
|
320 | var TypeError$4 = global_1.TypeError;
|
321 | var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
322 |
|
323 |
|
324 |
|
325 | var toPrimitive = function (input, pref) {
|
326 | if (!isObject(input) || isSymbol(input)) return input;
|
327 | var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
328 | var result;
|
329 | if (exoticToPrim) {
|
330 | if (pref === undefined) pref = 'default';
|
331 | result = functionCall(exoticToPrim, input, pref);
|
332 | if (!isObject(result) || isSymbol(result)) return result;
|
333 | throw TypeError$4("Can't convert object to primitive value");
|
334 | }
|
335 | if (pref === undefined) pref = 'number';
|
336 | return ordinaryToPrimitive(input, pref);
|
337 | };
|
338 |
|
339 |
|
340 |
|
341 | var toPropertyKey = function (argument) {
|
342 | var key = toPrimitive(argument, 'string');
|
343 | return isSymbol(key) ? key : key + '';
|
344 | };
|
345 |
|
346 | var document = global_1.document;
|
347 |
|
348 | var EXISTS$1 = isObject(document) && isObject(document.createElement);
|
349 |
|
350 | var documentCreateElement = function (it) {
|
351 | return EXISTS$1 ? document.createElement(it) : {};
|
352 | };
|
353 |
|
354 |
|
355 | var ie8DomDefine = !descriptors && !fails(function () {
|
356 |
|
357 | return Object.defineProperty(documentCreateElement('div'), 'a', {
|
358 | get: function () { return 7; }
|
359 | }).a != 7;
|
360 | });
|
361 |
|
362 |
|
363 | var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
364 |
|
365 |
|
366 |
|
367 | var f$3 = descriptors ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
368 | O = toIndexedObject(O);
|
369 | P = toPropertyKey(P);
|
370 | if (ie8DomDefine) try {
|
371 | return $getOwnPropertyDescriptor$1(O, P);
|
372 | } catch (error) { }
|
373 | if (hasOwnProperty_1(O, P)) return createPropertyDescriptor(!functionCall(objectPropertyIsEnumerable.f, O, P), O[P]);
|
374 | };
|
375 |
|
376 | var objectGetOwnPropertyDescriptor = {
|
377 | f: f$3
|
378 | };
|
379 |
|
380 |
|
381 |
|
382 | var v8PrototypeDefineBug = descriptors && fails(function () {
|
383 |
|
384 | return Object.defineProperty(function () { }, 'prototype', {
|
385 | value: 42,
|
386 | writable: false
|
387 | }).prototype != 42;
|
388 | });
|
389 |
|
390 | var String$1 = global_1.String;
|
391 | var TypeError$3 = global_1.TypeError;
|
392 |
|
393 |
|
394 | var anObject = function (argument) {
|
395 | if (isObject(argument)) return argument;
|
396 | throw TypeError$3(String$1(argument) + ' is not an object');
|
397 | };
|
398 |
|
399 | var TypeError$2 = global_1.TypeError;
|
400 |
|
401 | var $defineProperty = Object.defineProperty;
|
402 |
|
403 | var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
404 | var ENUMERABLE = 'enumerable';
|
405 | var CONFIGURABLE$1 = 'configurable';
|
406 | var WRITABLE = 'writable';
|
407 |
|
408 |
|
409 |
|
410 | var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Attributes) {
|
411 | anObject(O);
|
412 | P = toPropertyKey(P);
|
413 | anObject(Attributes);
|
414 | if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
415 | var current = $getOwnPropertyDescriptor(O, P);
|
416 | if (current && current[WRITABLE]) {
|
417 | O[P] = Attributes.value;
|
418 | Attributes = {
|
419 | configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
420 | enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
421 | writable: false
|
422 | };
|
423 | }
|
424 | } return $defineProperty(O, P, Attributes);
|
425 | } : $defineProperty : function defineProperty(O, P, Attributes) {
|
426 | anObject(O);
|
427 | P = toPropertyKey(P);
|
428 | anObject(Attributes);
|
429 | if (ie8DomDefine) try {
|
430 | return $defineProperty(O, P, Attributes);
|
431 | } catch (error) { }
|
432 | if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
|
433 | if ('value' in Attributes) O[P] = Attributes.value;
|
434 | return O;
|
435 | };
|
436 |
|
437 | var objectDefineProperty = {
|
438 | f: f$2
|
439 | };
|
440 |
|
441 | var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
442 | return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));
|
443 | } : function (object, key, value) {
|
444 | object[key] = value;
|
445 | return object;
|
446 | };
|
447 |
|
448 | var FunctionPrototype = Function.prototype;
|
449 |
|
450 | var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
451 |
|
452 | var EXISTS = hasOwnProperty_1(FunctionPrototype, 'name');
|
453 |
|
454 | var PROPER = EXISTS && (function something() { }).name === 'something';
|
455 | var CONFIGURABLE = EXISTS && (!descriptors || (descriptors && getDescriptor(FunctionPrototype, 'name').configurable));
|
456 |
|
457 | var functionName = {
|
458 | EXISTS: EXISTS,
|
459 | PROPER: PROPER,
|
460 | CONFIGURABLE: CONFIGURABLE
|
461 | };
|
462 |
|
463 | var functionToString = functionUncurryThis(Function.toString);
|
464 |
|
465 |
|
466 | if (!isCallable(sharedStore.inspectSource)) {
|
467 | sharedStore.inspectSource = function (it) {
|
468 | return functionToString(it);
|
469 | };
|
470 | }
|
471 |
|
472 | var inspectSource = sharedStore.inspectSource;
|
473 |
|
474 | var WeakMap$1 = global_1.WeakMap;
|
475 |
|
476 | var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
477 |
|
478 | var keys = shared('keys');
|
479 |
|
480 | var sharedKey = function (key) {
|
481 | return keys[key] || (keys[key] = uid(key));
|
482 | };
|
483 |
|
484 | var hiddenKeys$1 = {};
|
485 |
|
486 | var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
487 | var TypeError$1 = global_1.TypeError;
|
488 | var WeakMap = global_1.WeakMap;
|
489 | var set, get, has;
|
490 |
|
491 | var enforce = function (it) {
|
492 | return has(it) ? get(it) : set(it, {});
|
493 | };
|
494 |
|
495 | var getterFor = function (TYPE) {
|
496 | return function (it) {
|
497 | var state;
|
498 | if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
499 | throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
500 | } return state;
|
501 | };
|
502 | };
|
503 |
|
504 | if (nativeWeakMap || sharedStore.state) {
|
505 | var store = sharedStore.state || (sharedStore.state = new WeakMap());
|
506 | var wmget = functionUncurryThis(store.get);
|
507 | var wmhas = functionUncurryThis(store.has);
|
508 | var wmset = functionUncurryThis(store.set);
|
509 | set = function (it, metadata) {
|
510 | if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
511 | metadata.facade = it;
|
512 | wmset(store, it, metadata);
|
513 | return metadata;
|
514 | };
|
515 | get = function (it) {
|
516 | return wmget(store, it) || {};
|
517 | };
|
518 | has = function (it) {
|
519 | return wmhas(store, it);
|
520 | };
|
521 | } else {
|
522 | var STATE = sharedKey('state');
|
523 | hiddenKeys$1[STATE] = true;
|
524 | set = function (it, metadata) {
|
525 | if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
526 | metadata.facade = it;
|
527 | createNonEnumerableProperty(it, STATE, metadata);
|
528 | return metadata;
|
529 | };
|
530 | get = function (it) {
|
531 | return hasOwnProperty_1(it, STATE) ? it[STATE] : {};
|
532 | };
|
533 | has = function (it) {
|
534 | return hasOwnProperty_1(it, STATE);
|
535 | };
|
536 | }
|
537 |
|
538 | var internalState = {
|
539 | set: set,
|
540 | get: get,
|
541 | has: has,
|
542 | enforce: enforce,
|
543 | getterFor: getterFor
|
544 | };
|
545 |
|
546 | var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
547 | var defineProperty = objectDefineProperty.f;
|
548 | var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
549 |
|
550 |
|
551 |
|
552 | var enforceInternalState = internalState.enforce;
|
553 | var getInternalState = internalState.get;
|
554 |
|
555 | var CONFIGURABLE_LENGTH = !fails(function () {
|
556 | return defineProperty(function () { }, 'length', { value: 8 }).length !== 8;
|
557 | });
|
558 |
|
559 | var TEMPLATE = String(String).split('String');
|
560 |
|
561 | var makeBuiltIn = module.exports = function (value, name, options) {
|
562 | if (String(name).slice(0, 7) === 'Symbol(') {
|
563 | name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
564 | }
|
565 | if (options && options.getter) name = 'get ' + name;
|
566 | if (options && options.setter) name = 'set ' + name;
|
567 | if (!hasOwnProperty_1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
568 | defineProperty(value, 'name', { value: name, configurable: true });
|
569 | }
|
570 | if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, 'arity') && value.length !== options.arity) {
|
571 | defineProperty(value, 'length', { value: options.arity });
|
572 | }
|
573 | var state = enforceInternalState(value);
|
574 | if (!hasOwnProperty_1(state, 'source')) {
|
575 | state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
576 | } return value;
|
577 | };
|
578 |
|
579 |
|
580 |
|
581 | Function.prototype.toString = makeBuiltIn(function toString() {
|
582 | return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
583 | }, 'toString');
|
584 | });
|
585 |
|
586 | var defineBuiltIn = function (O, key, value, options) {
|
587 | var unsafe = options ? !!options.unsafe : false;
|
588 | var simple = options ? !!options.enumerable : false;
|
589 | var noTargetGet = options ? !!options.noTargetGet : false;
|
590 | var name = options && options.name !== undefined ? options.name : key;
|
591 | if (isCallable(value)) makeBuiltIn_1(value, name, options);
|
592 | if (O === global_1) {
|
593 | if (simple) O[key] = value;
|
594 | else setGlobal(key, value);
|
595 | return O;
|
596 | } else if (!unsafe) {
|
597 | delete O[key];
|
598 | } else if (!noTargetGet && O[key]) {
|
599 | simple = true;
|
600 | }
|
601 | if (simple) O[key] = value;
|
602 | else createNonEnumerableProperty(O, key, value);
|
603 | return O;
|
604 | };
|
605 |
|
606 | var ceil = Math.ceil;
|
607 | var floor = Math.floor;
|
608 |
|
609 |
|
610 |
|
611 | var toIntegerOrInfinity = function (argument) {
|
612 | var number = +argument;
|
613 |
|
614 | return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
615 | };
|
616 |
|
617 | var max = Math.max;
|
618 | var min$1 = Math.min;
|
619 |
|
620 |
|
621 |
|
622 |
|
623 | var toAbsoluteIndex = function (index, length) {
|
624 | var integer = toIntegerOrInfinity(index);
|
625 | return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
626 | };
|
627 |
|
628 | var min = Math.min;
|
629 |
|
630 |
|
631 |
|
632 | var toLength = function (argument) {
|
633 | return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0;
|
634 | };
|
635 |
|
636 |
|
637 |
|
638 | var lengthOfArrayLike = function (obj) {
|
639 | return toLength(obj.length);
|
640 | };
|
641 |
|
642 |
|
643 | var createMethod = function (IS_INCLUDES) {
|
644 | return function ($this, el, fromIndex) {
|
645 | var O = toIndexedObject($this);
|
646 | var length = lengthOfArrayLike(O);
|
647 | var index = toAbsoluteIndex(fromIndex, length);
|
648 | var value;
|
649 |
|
650 |
|
651 | if (IS_INCLUDES && el != el) while (length > index) {
|
652 | value = O[index++];
|
653 |
|
654 | if (value != value) return true;
|
655 |
|
656 | } else for (;length > index; index++) {
|
657 | if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
658 | } return !IS_INCLUDES && -1;
|
659 | };
|
660 | };
|
661 |
|
662 | var arrayIncludes = {
|
663 |
|
664 |
|
665 | includes: createMethod(true),
|
666 |
|
667 |
|
668 | indexOf: createMethod(false)
|
669 | };
|
670 |
|
671 | var indexOf = arrayIncludes.indexOf;
|
672 |
|
673 |
|
674 | var push = functionUncurryThis([].push);
|
675 |
|
676 | var objectKeysInternal = function (object, names) {
|
677 | var O = toIndexedObject(object);
|
678 | var i = 0;
|
679 | var result = [];
|
680 | var key;
|
681 | for (key in O) !hasOwnProperty_1(hiddenKeys$1, key) && hasOwnProperty_1(O, key) && push(result, key);
|
682 |
|
683 | while (names.length > i) if (hasOwnProperty_1(O, key = names[i++])) {
|
684 | ~indexOf(result, key) || push(result, key);
|
685 | }
|
686 | return result;
|
687 | };
|
688 |
|
689 |
|
690 | var enumBugKeys = [
|
691 | 'constructor',
|
692 | 'hasOwnProperty',
|
693 | 'isPrototypeOf',
|
694 | 'propertyIsEnumerable',
|
695 | 'toLocaleString',
|
696 | 'toString',
|
697 | 'valueOf'
|
698 | ];
|
699 |
|
700 | var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
701 |
|
702 |
|
703 |
|
704 |
|
705 | var f$1 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
706 | return objectKeysInternal(O, hiddenKeys);
|
707 | };
|
708 |
|
709 | var objectGetOwnPropertyNames = {
|
710 | f: f$1
|
711 | };
|
712 |
|
713 |
|
714 | var f = Object.getOwnPropertySymbols;
|
715 |
|
716 | var objectGetOwnPropertySymbols = {
|
717 | f: f
|
718 | };
|
719 |
|
720 | var concat = functionUncurryThis([].concat);
|
721 |
|
722 |
|
723 | var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
724 | var keys = objectGetOwnPropertyNames.f(anObject(it));
|
725 | var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;
|
726 | return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
727 | };
|
728 |
|
729 | var copyConstructorProperties = function (target, source, exceptions) {
|
730 | var keys = ownKeys(source);
|
731 | var defineProperty = objectDefineProperty.f;
|
732 | var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
733 | for (var i = 0; i < keys.length; i++) {
|
734 | var key = keys[i];
|
735 | if (!hasOwnProperty_1(target, key) && !(exceptions && hasOwnProperty_1(exceptions, key))) {
|
736 | defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
737 | }
|
738 | }
|
739 | };
|
740 |
|
741 | var replacement = /#|\.prototype\./;
|
742 |
|
743 | var isForced = function (feature, detection) {
|
744 | var value = data[normalize(feature)];
|
745 | return value == POLYFILL ? true
|
746 | : value == NATIVE ? false
|
747 | : isCallable(detection) ? fails(detection)
|
748 | : !!detection;
|
749 | };
|
750 |
|
751 | var normalize = isForced.normalize = function (string) {
|
752 | return String(string).replace(replacement, '.').toLowerCase();
|
753 | };
|
754 |
|
755 | var data = isForced.data = {};
|
756 | var NATIVE = isForced.NATIVE = 'N';
|
757 | var POLYFILL = isForced.POLYFILL = 'P';
|
758 |
|
759 | var isForced_1 = isForced;
|
760 |
|
761 | var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
762 |
|
763 |
|
764 |
|
765 |
|
766 |
|
767 |
|
768 | |
769 |
|
770 |
|
771 |
|
772 |
|
773 |
|
774 |
|
775 |
|
776 |
|
777 |
|
778 |
|
779 |
|
780 |
|
781 |
|
782 |
|
783 | var _export = function (options, source) {
|
784 | var TARGET = options.target;
|
785 | var GLOBAL = options.global;
|
786 | var STATIC = options.stat;
|
787 | var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
788 | if (GLOBAL) {
|
789 | target = global_1;
|
790 | } else if (STATIC) {
|
791 | target = global_1[TARGET] || setGlobal(TARGET, {});
|
792 | } else {
|
793 | target = (global_1[TARGET] || {}).prototype;
|
794 | }
|
795 | if (target) for (key in source) {
|
796 | sourceProperty = source[key];
|
797 | if (options.noTargetGet) {
|
798 | descriptor = getOwnPropertyDescriptor(target, key);
|
799 | targetProperty = descriptor && descriptor.value;
|
800 | } else targetProperty = target[key];
|
801 | FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
802 |
|
803 | if (!FORCED && targetProperty !== undefined) {
|
804 | if (typeof sourceProperty == typeof targetProperty) continue;
|
805 | copyConstructorProperties(sourceProperty, targetProperty);
|
806 | }
|
807 |
|
808 | if (options.sham || (targetProperty && targetProperty.sham)) {
|
809 | createNonEnumerableProperty(sourceProperty, 'sham', true);
|
810 | }
|
811 | defineBuiltIn(target, key, sourceProperty, options);
|
812 | }
|
813 | };
|
814 |
|
815 |
|
816 |
|
817 |
|
818 | var isArray = Array.isArray || function isArray(argument) {
|
819 | return classofRaw(argument) == 'Array';
|
820 | };
|
821 |
|
822 | var createProperty = function (object, key, value) {
|
823 | var propertyKey = toPropertyKey(key);
|
824 | if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
|
825 | else object[propertyKey] = value;
|
826 | };
|
827 |
|
828 | var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
829 | var test = {};
|
830 |
|
831 | test[TO_STRING_TAG$1] = 'z';
|
832 |
|
833 | var toStringTagSupport = String(test) === '[object z]';
|
834 |
|
835 | var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
836 | var Object$1 = global_1.Object;
|
837 |
|
838 |
|
839 | var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
840 |
|
841 |
|
842 | var tryGet = function (it, key) {
|
843 | try {
|
844 | return it[key];
|
845 | } catch (error) { }
|
846 | };
|
847 |
|
848 |
|
849 | var classof = toStringTagSupport ? classofRaw : function (it) {
|
850 | var O, tag, result;
|
851 | return it === undefined ? 'Undefined' : it === null ? 'Null'
|
852 |
|
853 | : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
854 |
|
855 | : CORRECT_ARGUMENTS ? classofRaw(O)
|
856 |
|
857 | : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
858 | };
|
859 |
|
860 | var noop = function () { };
|
861 | var empty = [];
|
862 | var construct = getBuiltIn('Reflect', 'construct');
|
863 | var constructorRegExp = /^\s*(?:class|function)\b/;
|
864 | var exec = functionUncurryThis(constructorRegExp.exec);
|
865 | var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
866 |
|
867 | var isConstructorModern = function isConstructor(argument) {
|
868 | if (!isCallable(argument)) return false;
|
869 | try {
|
870 | construct(noop, empty, argument);
|
871 | return true;
|
872 | } catch (error) {
|
873 | return false;
|
874 | }
|
875 | };
|
876 |
|
877 | var isConstructorLegacy = function isConstructor(argument) {
|
878 | if (!isCallable(argument)) return false;
|
879 | switch (classof(argument)) {
|
880 | case 'AsyncFunction':
|
881 | case 'GeneratorFunction':
|
882 | case 'AsyncGeneratorFunction': return false;
|
883 | }
|
884 | try {
|
885 |
|
886 |
|
887 |
|
888 | return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
889 | } catch (error) {
|
890 | return true;
|
891 | }
|
892 | };
|
893 |
|
894 | isConstructorLegacy.sham = true;
|
895 |
|
896 |
|
897 |
|
898 | var isConstructor = !construct || fails(function () {
|
899 | var called;
|
900 | return isConstructorModern(isConstructorModern.call)
|
901 | || !isConstructorModern(Object)
|
902 | || !isConstructorModern(function () { called = true; })
|
903 | || called;
|
904 | }) ? isConstructorLegacy : isConstructorModern;
|
905 |
|
906 | var SPECIES$1 = wellKnownSymbol('species');
|
907 | var Array$1 = global_1.Array;
|
908 |
|
909 |
|
910 |
|
911 | var arraySpeciesConstructor = function (originalArray) {
|
912 | var C;
|
913 | if (isArray(originalArray)) {
|
914 | C = originalArray.constructor;
|
915 |
|
916 | if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
917 | else if (isObject(C)) {
|
918 | C = C[SPECIES$1];
|
919 | if (C === null) C = undefined;
|
920 | }
|
921 | } return C === undefined ? Array$1 : C;
|
922 | };
|
923 |
|
924 |
|
925 |
|
926 | var arraySpeciesCreate = function (originalArray, length) {
|
927 | return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
928 | };
|
929 |
|
930 | var SPECIES = wellKnownSymbol('species');
|
931 |
|
932 | var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
933 |
|
934 |
|
935 |
|
936 | return engineV8Version >= 51 || !fails(function () {
|
937 | var array = [];
|
938 | var constructor = array.constructor = {};
|
939 | constructor[SPECIES] = function () {
|
940 | return { foo: 1 };
|
941 | };
|
942 | return array[METHOD_NAME](Boolean).foo !== 1;
|
943 | });
|
944 | };
|
945 |
|
946 | var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
947 | var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
948 | var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
949 | var TypeError = global_1.TypeError;
|
950 |
|
951 |
|
952 |
|
953 |
|
954 | var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
|
955 | var array = [];
|
956 | array[IS_CONCAT_SPREADABLE] = false;
|
957 | return array.concat()[0] !== array;
|
958 | });
|
959 |
|
960 | var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
961 |
|
962 | var isConcatSpreadable = function (O) {
|
963 | if (!isObject(O)) return false;
|
964 | var spreadable = O[IS_CONCAT_SPREADABLE];
|
965 | return spreadable !== undefined ? !!spreadable : isArray(O);
|
966 | };
|
967 |
|
968 | var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
969 |
|
970 |
|
971 |
|
972 |
|
973 | _export({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
974 |
|
975 | concat: function concat(arg) {
|
976 | var O = toObject(this);
|
977 | var A = arraySpeciesCreate(O, 0);
|
978 | var n = 0;
|
979 | var i, k, length, len, E;
|
980 | for (i = -1, length = arguments.length; i < length; i++) {
|
981 | E = i === -1 ? O : arguments[i];
|
982 | if (isConcatSpreadable(E)) {
|
983 | len = lengthOfArrayLike(E);
|
984 | if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
985 | for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
986 | } else {
|
987 | if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
988 | createProperty(A, n++, E);
|
989 | }
|
990 | }
|
991 | A.length = n;
|
992 | return A;
|
993 | }
|
994 | });
|
995 |
|
996 | |
997 |
|
998 |
|
999 |
|
1000 |
|
1001 | $__default["default"].fn.bootstrapTable.locales['uk-UA'] = $__default["default"].fn.bootstrapTable.locales['uk'] = {
|
1002 | formatCopyRows: function formatCopyRows() {
|
1003 | return 'Copy Rows';
|
1004 | },
|
1005 | formatPrint: function formatPrint() {
|
1006 | return 'Print';
|
1007 | },
|
1008 | formatLoadingMessage: function formatLoadingMessage() {
|
1009 | return 'Завантаження, будь ласка, зачекайте';
|
1010 | },
|
1011 | formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {
|
1012 | return "".concat(pageNumber, " \u0437\u0430\u043F\u0438\u0441\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443");
|
1013 | },
|
1014 | formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {
|
1015 | if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {
|
1016 | return "\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E \u0437 ".concat(pageFrom, " \u043F\u043E ").concat(pageTo, ". \u0412\u0441\u044C\u043E\u0433\u043E: ").concat(totalRows, " (filtered from ").concat(totalNotFiltered, " total rows)");
|
1017 | }
|
1018 |
|
1019 | return "\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E \u0437 ".concat(pageFrom, " \u043F\u043E ").concat(pageTo, ". \u0412\u0441\u044C\u043E\u0433\u043E: ").concat(totalRows);
|
1020 | },
|
1021 | formatSRPaginationPreText: function formatSRPaginationPreText() {
|
1022 | return 'previous page';
|
1023 | },
|
1024 | formatSRPaginationPageText: function formatSRPaginationPageText(page) {
|
1025 | return "to page ".concat(page);
|
1026 | },
|
1027 | formatSRPaginationNextText: function formatSRPaginationNextText() {
|
1028 | return 'next page';
|
1029 | },
|
1030 | formatDetailPagination: function formatDetailPagination(totalRows) {
|
1031 | return "Showing ".concat(totalRows, " rows");
|
1032 | },
|
1033 | formatClearSearch: function formatClearSearch() {
|
1034 | return 'Очистити фільтри';
|
1035 | },
|
1036 | formatSearch: function formatSearch() {
|
1037 | return 'Пошук';
|
1038 | },
|
1039 | formatNoMatches: function formatNoMatches() {
|
1040 | return 'Не знайдено жодного запису';
|
1041 | },
|
1042 | formatPaginationSwitch: function formatPaginationSwitch() {
|
1043 | return 'Hide/Show pagination';
|
1044 | },
|
1045 | formatPaginationSwitchDown: function formatPaginationSwitchDown() {
|
1046 | return 'Show pagination';
|
1047 | },
|
1048 | formatPaginationSwitchUp: function formatPaginationSwitchUp() {
|
1049 | return 'Hide pagination';
|
1050 | },
|
1051 | formatRefresh: function formatRefresh() {
|
1052 | return 'Оновити';
|
1053 | },
|
1054 | formatToggle: function formatToggle() {
|
1055 | return 'Змінити';
|
1056 | },
|
1057 | formatToggleOn: function formatToggleOn() {
|
1058 | return 'Show card view';
|
1059 | },
|
1060 | formatToggleOff: function formatToggleOff() {
|
1061 | return 'Hide card view';
|
1062 | },
|
1063 | formatColumns: function formatColumns() {
|
1064 | return 'Стовпці';
|
1065 | },
|
1066 | formatColumnsToggleAll: function formatColumnsToggleAll() {
|
1067 | return 'Toggle all';
|
1068 | },
|
1069 | formatFullscreen: function formatFullscreen() {
|
1070 | return 'Fullscreen';
|
1071 | },
|
1072 | formatAllRows: function formatAllRows() {
|
1073 | return 'All';
|
1074 | },
|
1075 | formatAutoRefresh: function formatAutoRefresh() {
|
1076 | return 'Auto Refresh';
|
1077 | },
|
1078 | formatExport: function formatExport() {
|
1079 | return 'Export data';
|
1080 | },
|
1081 | formatJumpTo: function formatJumpTo() {
|
1082 | return 'GO';
|
1083 | },
|
1084 | formatAdvancedSearch: function formatAdvancedSearch() {
|
1085 | return 'Advanced search';
|
1086 | },
|
1087 | formatAdvancedCloseButton: function formatAdvancedCloseButton() {
|
1088 | return 'Close';
|
1089 | },
|
1090 | formatFilterControlSwitch: function formatFilterControlSwitch() {
|
1091 | return 'Hide/Show controls';
|
1092 | },
|
1093 | formatFilterControlSwitchHide: function formatFilterControlSwitchHide() {
|
1094 | return 'Hide controls';
|
1095 | },
|
1096 | formatFilterControlSwitchShow: function formatFilterControlSwitchShow() {
|
1097 | return 'Show controls';
|
1098 | }
|
1099 | };
|
1100 | $__default["default"].extend($__default["default"].fn.bootstrapTable.defaults, $__default["default"].fn.bootstrapTable.locales['uk-UA']);
|
1101 |
|
1102 | }));
|