@danielgindi/selectbox 1.0.61 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.cjs.js +850 -459
- package/dist/lib.cjs.js.map +1 -1
- package/dist/lib.cjs.min.js +2 -2
- package/dist/lib.cjs.min.js.map +1 -1
- package/dist/lib.es6.js +101 -72
- package/dist/lib.es6.js.map +1 -1
- package/dist/lib.es6.min.js +2 -2
- package/dist/lib.es6.min.js.map +1 -1
- package/dist/lib.umd.js +850 -459
- package/dist/lib.umd.js.map +1 -1
- package/dist/lib.umd.min.js +2 -2
- package/dist/lib.umd.min.js.map +1 -1
- package/lib/DropList.js +63 -63
- package/lib/SelectBox.js +37 -8
- package/package.json +11 -11
- package/vue/DropList.vue +2 -2
- package/vue/SelectBox.vue +24 -0
package/dist/lib.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @danielgindi/selectbox 1.0.
|
|
2
|
+
* @danielgindi/selectbox 1.0.64
|
|
3
3
|
* git://github.com/danielgindi/selectbox.git
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -394,6 +394,353 @@ function _objectSpread2(target) {
|
|
|
394
394
|
return target;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
+
function _regeneratorRuntime() {
|
|
398
|
+
"use strict";
|
|
399
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
400
|
+
|
|
401
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
402
|
+
_regeneratorRuntime = function () {
|
|
403
|
+
return exports;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
var exports = {},
|
|
407
|
+
Op = Object.prototype,
|
|
408
|
+
hasOwn = Op.hasOwnProperty,
|
|
409
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
410
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
411
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
412
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
413
|
+
|
|
414
|
+
function define(obj, key, value) {
|
|
415
|
+
return Object.defineProperty(obj, key, {
|
|
416
|
+
value: value,
|
|
417
|
+
enumerable: !0,
|
|
418
|
+
configurable: !0,
|
|
419
|
+
writable: !0
|
|
420
|
+
}), obj[key];
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
try {
|
|
424
|
+
define({}, "");
|
|
425
|
+
} catch (err) {
|
|
426
|
+
define = function (obj, key, value) {
|
|
427
|
+
return obj[key] = value;
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
432
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
433
|
+
generator = Object.create(protoGenerator.prototype),
|
|
434
|
+
context = new Context(tryLocsList || []);
|
|
435
|
+
return generator._invoke = function (innerFn, self, context) {
|
|
436
|
+
var state = "suspendedStart";
|
|
437
|
+
return function (method, arg) {
|
|
438
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
439
|
+
|
|
440
|
+
if ("completed" === state) {
|
|
441
|
+
if ("throw" === method) throw arg;
|
|
442
|
+
return doneResult();
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
for (context.method = method, context.arg = arg;;) {
|
|
446
|
+
var delegate = context.delegate;
|
|
447
|
+
|
|
448
|
+
if (delegate) {
|
|
449
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
450
|
+
|
|
451
|
+
if (delegateResult) {
|
|
452
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
453
|
+
return delegateResult;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
458
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
459
|
+
context.dispatchException(context.arg);
|
|
460
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
461
|
+
state = "executing";
|
|
462
|
+
var record = tryCatch(innerFn, self, context);
|
|
463
|
+
|
|
464
|
+
if ("normal" === record.type) {
|
|
465
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
466
|
+
return {
|
|
467
|
+
value: record.arg,
|
|
468
|
+
done: context.done
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
}(innerFn, self, context), generator;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
function tryCatch(fn, obj, arg) {
|
|
479
|
+
try {
|
|
480
|
+
return {
|
|
481
|
+
type: "normal",
|
|
482
|
+
arg: fn.call(obj, arg)
|
|
483
|
+
};
|
|
484
|
+
} catch (err) {
|
|
485
|
+
return {
|
|
486
|
+
type: "throw",
|
|
487
|
+
arg: err
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
exports.wrap = wrap;
|
|
493
|
+
var ContinueSentinel = {};
|
|
494
|
+
|
|
495
|
+
function Generator() {}
|
|
496
|
+
|
|
497
|
+
function GeneratorFunction() {}
|
|
498
|
+
|
|
499
|
+
function GeneratorFunctionPrototype() {}
|
|
500
|
+
|
|
501
|
+
var IteratorPrototype = {};
|
|
502
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
503
|
+
return this;
|
|
504
|
+
});
|
|
505
|
+
var getProto = Object.getPrototypeOf,
|
|
506
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
507
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
508
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
509
|
+
|
|
510
|
+
function defineIteratorMethods(prototype) {
|
|
511
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
512
|
+
define(prototype, method, function (arg) {
|
|
513
|
+
return this._invoke(method, arg);
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
519
|
+
function invoke(method, arg, resolve, reject) {
|
|
520
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
521
|
+
|
|
522
|
+
if ("throw" !== record.type) {
|
|
523
|
+
var result = record.arg,
|
|
524
|
+
value = result.value;
|
|
525
|
+
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
526
|
+
invoke("next", value, resolve, reject);
|
|
527
|
+
}, function (err) {
|
|
528
|
+
invoke("throw", err, resolve, reject);
|
|
529
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
530
|
+
result.value = unwrapped, resolve(result);
|
|
531
|
+
}, function (error) {
|
|
532
|
+
return invoke("throw", error, resolve, reject);
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
reject(record.arg);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
var previousPromise;
|
|
540
|
+
|
|
541
|
+
this._invoke = function (method, arg) {
|
|
542
|
+
function callInvokeWithMethodAndArg() {
|
|
543
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
544
|
+
invoke(method, arg, resolve, reject);
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
553
|
+
var method = delegate.iterator[context.method];
|
|
554
|
+
|
|
555
|
+
if (undefined === method) {
|
|
556
|
+
if (context.delegate = null, "throw" === context.method) {
|
|
557
|
+
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
558
|
+
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
return ContinueSentinel;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
565
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
566
|
+
var info = record.arg;
|
|
567
|
+
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
function pushTryEntry(locs) {
|
|
571
|
+
var entry = {
|
|
572
|
+
tryLoc: locs[0]
|
|
573
|
+
};
|
|
574
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
function resetTryEntry(entry) {
|
|
578
|
+
var record = entry.completion || {};
|
|
579
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
function Context(tryLocsList) {
|
|
583
|
+
this.tryEntries = [{
|
|
584
|
+
tryLoc: "root"
|
|
585
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
function values(iterable) {
|
|
589
|
+
if (iterable) {
|
|
590
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
591
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
592
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
593
|
+
|
|
594
|
+
if (!isNaN(iterable.length)) {
|
|
595
|
+
var i = -1,
|
|
596
|
+
next = function next() {
|
|
597
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
598
|
+
|
|
599
|
+
return next.value = undefined, next.done = !0, next;
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
return next.next = next;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
return {
|
|
607
|
+
next: doneResult
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
function doneResult() {
|
|
612
|
+
return {
|
|
613
|
+
value: undefined,
|
|
614
|
+
done: !0
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
619
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
620
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
621
|
+
}, exports.mark = function (genFun) {
|
|
622
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
623
|
+
}, exports.awrap = function (arg) {
|
|
624
|
+
return {
|
|
625
|
+
__await: arg
|
|
626
|
+
};
|
|
627
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
628
|
+
return this;
|
|
629
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
630
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
631
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
632
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
633
|
+
return result.done ? result.value : iter.next();
|
|
634
|
+
});
|
|
635
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
636
|
+
return this;
|
|
637
|
+
}), define(Gp, "toString", function () {
|
|
638
|
+
return "[object Generator]";
|
|
639
|
+
}), exports.keys = function (object) {
|
|
640
|
+
var keys = [];
|
|
641
|
+
|
|
642
|
+
for (var key in object) keys.push(key);
|
|
643
|
+
|
|
644
|
+
return keys.reverse(), function next() {
|
|
645
|
+
for (; keys.length;) {
|
|
646
|
+
var key = keys.pop();
|
|
647
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
return next.done = !0, next;
|
|
651
|
+
};
|
|
652
|
+
}, exports.values = values, Context.prototype = {
|
|
653
|
+
constructor: Context,
|
|
654
|
+
reset: function (skipTempReset) {
|
|
655
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
656
|
+
},
|
|
657
|
+
stop: function () {
|
|
658
|
+
this.done = !0;
|
|
659
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
660
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
661
|
+
return this.rval;
|
|
662
|
+
},
|
|
663
|
+
dispatchException: function (exception) {
|
|
664
|
+
if (this.done) throw exception;
|
|
665
|
+
var context = this;
|
|
666
|
+
|
|
667
|
+
function handle(loc, caught) {
|
|
668
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
672
|
+
var entry = this.tryEntries[i],
|
|
673
|
+
record = entry.completion;
|
|
674
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
675
|
+
|
|
676
|
+
if (entry.tryLoc <= this.prev) {
|
|
677
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
678
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
679
|
+
|
|
680
|
+
if (hasCatch && hasFinally) {
|
|
681
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
682
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
683
|
+
} else if (hasCatch) {
|
|
684
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
685
|
+
} else {
|
|
686
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
687
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
abrupt: function (type, arg) {
|
|
693
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
694
|
+
var entry = this.tryEntries[i];
|
|
695
|
+
|
|
696
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
697
|
+
var finallyEntry = entry;
|
|
698
|
+
break;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
703
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
704
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
705
|
+
},
|
|
706
|
+
complete: function (record, afterLoc) {
|
|
707
|
+
if ("throw" === record.type) throw record.arg;
|
|
708
|
+
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
709
|
+
},
|
|
710
|
+
finish: function (finallyLoc) {
|
|
711
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
712
|
+
var entry = this.tryEntries[i];
|
|
713
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
catch: function (tryLoc) {
|
|
717
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
718
|
+
var entry = this.tryEntries[i];
|
|
719
|
+
|
|
720
|
+
if (entry.tryLoc === tryLoc) {
|
|
721
|
+
var record = entry.completion;
|
|
722
|
+
|
|
723
|
+
if ("throw" === record.type) {
|
|
724
|
+
var thrown = record.arg;
|
|
725
|
+
resetTryEntry(entry);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
return thrown;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
throw new Error("illegal catch attempt");
|
|
733
|
+
},
|
|
734
|
+
delegateYield: function (iterable, resultName, nextLoc) {
|
|
735
|
+
return this.delegate = {
|
|
736
|
+
iterator: values(iterable),
|
|
737
|
+
resultName: resultName,
|
|
738
|
+
nextLoc: nextLoc
|
|
739
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
740
|
+
}
|
|
741
|
+
}, exports;
|
|
742
|
+
}
|
|
743
|
+
|
|
397
744
|
function _typeof(obj) {
|
|
398
745
|
"@babel/helpers - typeof";
|
|
399
746
|
|
|
@@ -731,7 +1078,7 @@ function _defineProperty(obj, key, value) {
|
|
|
731
1078
|
}
|
|
732
1079
|
|
|
733
1080
|
function _extends() {
|
|
734
|
-
_extends = Object.assign
|
|
1081
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
735
1082
|
for (var i = 1; i < arguments.length; i++) {
|
|
736
1083
|
var source = arguments[i];
|
|
737
1084
|
|
|
@@ -744,7 +1091,6 @@ function _extends() {
|
|
|
744
1091
|
|
|
745
1092
|
return target;
|
|
746
1093
|
};
|
|
747
|
-
|
|
748
1094
|
return _extends.apply(this, arguments);
|
|
749
1095
|
}
|
|
750
1096
|
|
|
@@ -793,18 +1139,17 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
793
1139
|
}
|
|
794
1140
|
|
|
795
1141
|
function _getPrototypeOf(o) {
|
|
796
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
1142
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
797
1143
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
798
1144
|
};
|
|
799
1145
|
return _getPrototypeOf(o);
|
|
800
1146
|
}
|
|
801
1147
|
|
|
802
1148
|
function _setPrototypeOf(o, p) {
|
|
803
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
1149
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
804
1150
|
o.__proto__ = p;
|
|
805
1151
|
return o;
|
|
806
1152
|
};
|
|
807
|
-
|
|
808
1153
|
return _setPrototypeOf(o, p);
|
|
809
1154
|
}
|
|
810
1155
|
|
|
@@ -823,7 +1168,7 @@ function _isNativeReflectConstruct() {
|
|
|
823
1168
|
|
|
824
1169
|
function _construct(Parent, args, Class) {
|
|
825
1170
|
if (_isNativeReflectConstruct()) {
|
|
826
|
-
_construct = Reflect.construct;
|
|
1171
|
+
_construct = Reflect.construct.bind();
|
|
827
1172
|
} else {
|
|
828
1173
|
_construct = function _construct(Parent, args, Class) {
|
|
829
1174
|
var a = [null];
|
|
@@ -1034,7 +1379,7 @@ function _superPropBase(object, property) {
|
|
|
1034
1379
|
|
|
1035
1380
|
function _get() {
|
|
1036
1381
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
1037
|
-
_get = Reflect.get;
|
|
1382
|
+
_get = Reflect.get.bind();
|
|
1038
1383
|
} else {
|
|
1039
1384
|
_get = function _get(target, property, receiver) {
|
|
1040
1385
|
var base = _superPropBase(target, property);
|
|
@@ -2007,7 +2352,7 @@ var check = function (it) {
|
|
|
2007
2352
|
};
|
|
2008
2353
|
|
|
2009
2354
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2010
|
-
var global$
|
|
2355
|
+
var global$l =
|
|
2011
2356
|
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
2012
2357
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
2013
2358
|
check(typeof window == 'object' && window) ||
|
|
@@ -2019,7 +2364,7 @@ var global$N =
|
|
|
2019
2364
|
|
|
2020
2365
|
var objectGetOwnPropertyDescriptor = {};
|
|
2021
2366
|
|
|
2022
|
-
var fails$
|
|
2367
|
+
var fails$y = function (exec) {
|
|
2023
2368
|
try {
|
|
2024
2369
|
return !!exec();
|
|
2025
2370
|
} catch (error) {
|
|
@@ -2027,17 +2372,17 @@ var fails$x = function (exec) {
|
|
|
2027
2372
|
}
|
|
2028
2373
|
};
|
|
2029
2374
|
|
|
2030
|
-
var fails$
|
|
2375
|
+
var fails$x = fails$y;
|
|
2031
2376
|
|
|
2032
2377
|
// Detect IE8's incomplete defineProperty implementation
|
|
2033
|
-
var descriptors = !fails$
|
|
2378
|
+
var descriptors = !fails$x(function () {
|
|
2034
2379
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
2035
2380
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
2036
2381
|
});
|
|
2037
2382
|
|
|
2038
|
-
var fails$
|
|
2383
|
+
var fails$w = fails$y;
|
|
2039
2384
|
|
|
2040
|
-
var functionBindNative = !fails$
|
|
2385
|
+
var functionBindNative = !fails$w(function () {
|
|
2041
2386
|
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
2042
2387
|
var test = (function () { /* empty */ }).bind();
|
|
2043
2388
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -2102,31 +2447,28 @@ var classofRaw$1 = function (it) {
|
|
|
2102
2447
|
return stringSlice$8(toString$g(it), 8, -1);
|
|
2103
2448
|
};
|
|
2104
2449
|
|
|
2105
|
-
var global$M = global$N;
|
|
2106
2450
|
var uncurryThis$x = functionUncurryThis;
|
|
2107
|
-
var fails$
|
|
2451
|
+
var fails$v = fails$y;
|
|
2108
2452
|
var classof$b = classofRaw$1;
|
|
2109
2453
|
|
|
2110
|
-
var Object$
|
|
2454
|
+
var $Object$4 = Object;
|
|
2111
2455
|
var split = uncurryThis$x(''.split);
|
|
2112
2456
|
|
|
2113
2457
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2114
|
-
var indexedObject = fails$
|
|
2458
|
+
var indexedObject = fails$v(function () {
|
|
2115
2459
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
2116
2460
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2117
|
-
return
|
|
2461
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
2118
2462
|
}) ? function (it) {
|
|
2119
|
-
return classof$b(it) == 'String' ? split(it, '') : Object$
|
|
2120
|
-
} : Object$
|
|
2463
|
+
return classof$b(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
2464
|
+
} : $Object$4;
|
|
2121
2465
|
|
|
2122
|
-
var
|
|
2123
|
-
|
|
2124
|
-
var TypeError$i = global$L.TypeError;
|
|
2466
|
+
var $TypeError$f = TypeError;
|
|
2125
2467
|
|
|
2126
2468
|
// `RequireObjectCoercible` abstract operation
|
|
2127
2469
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
2128
2470
|
var requireObjectCoercible$8 = function (it) {
|
|
2129
|
-
if (it == undefined) throw TypeError$
|
|
2471
|
+
if (it == undefined) throw $TypeError$f("Can't call method on " + it);
|
|
2130
2472
|
return it;
|
|
2131
2473
|
};
|
|
2132
2474
|
|
|
@@ -2140,25 +2482,25 @@ var toIndexedObject$a = function (it) {
|
|
|
2140
2482
|
|
|
2141
2483
|
// `IsCallable` abstract operation
|
|
2142
2484
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
2143
|
-
var isCallable$
|
|
2485
|
+
var isCallable$m = function (argument) {
|
|
2144
2486
|
return typeof argument == 'function';
|
|
2145
2487
|
};
|
|
2146
2488
|
|
|
2147
|
-
var isCallable$
|
|
2489
|
+
var isCallable$l = isCallable$m;
|
|
2148
2490
|
|
|
2149
2491
|
var isObject$e = function (it) {
|
|
2150
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
2492
|
+
return typeof it == 'object' ? it !== null : isCallable$l(it);
|
|
2151
2493
|
};
|
|
2152
2494
|
|
|
2153
|
-
var global$
|
|
2154
|
-
var isCallable$
|
|
2495
|
+
var global$k = global$l;
|
|
2496
|
+
var isCallable$k = isCallable$m;
|
|
2155
2497
|
|
|
2156
2498
|
var aFunction = function (argument) {
|
|
2157
|
-
return isCallable$
|
|
2499
|
+
return isCallable$k(argument) ? argument : undefined;
|
|
2158
2500
|
};
|
|
2159
2501
|
|
|
2160
2502
|
var getBuiltIn$9 = function (namespace, method) {
|
|
2161
|
-
return arguments.length < 2 ? aFunction(global$
|
|
2503
|
+
return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
|
|
2162
2504
|
};
|
|
2163
2505
|
|
|
2164
2506
|
var uncurryThis$w = functionUncurryThis;
|
|
@@ -2169,11 +2511,11 @@ var getBuiltIn$8 = getBuiltIn$9;
|
|
|
2169
2511
|
|
|
2170
2512
|
var engineUserAgent = getBuiltIn$8('navigator', 'userAgent') || '';
|
|
2171
2513
|
|
|
2172
|
-
var global$
|
|
2514
|
+
var global$j = global$l;
|
|
2173
2515
|
var userAgent$2 = engineUserAgent;
|
|
2174
2516
|
|
|
2175
|
-
var process = global$
|
|
2176
|
-
var Deno = global$
|
|
2517
|
+
var process = global$j.process;
|
|
2518
|
+
var Deno = global$j.Deno;
|
|
2177
2519
|
var versions = process && process.versions || Deno && Deno.version;
|
|
2178
2520
|
var v8 = versions && versions.v8;
|
|
2179
2521
|
var match, version;
|
|
@@ -2200,10 +2542,10 @@ var engineV8Version = version;
|
|
|
2200
2542
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
2201
2543
|
|
|
2202
2544
|
var V8_VERSION$2 = engineV8Version;
|
|
2203
|
-
var fails$
|
|
2545
|
+
var fails$u = fails$y;
|
|
2204
2546
|
|
|
2205
2547
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
2206
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$
|
|
2548
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$u(function () {
|
|
2207
2549
|
var symbol = Symbol();
|
|
2208
2550
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
2209
2551
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -2220,43 +2562,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$6
|
|
|
2220
2562
|
&& !Symbol.sham
|
|
2221
2563
|
&& typeof Symbol.iterator == 'symbol';
|
|
2222
2564
|
|
|
2223
|
-
var global$I = global$N;
|
|
2224
2565
|
var getBuiltIn$7 = getBuiltIn$9;
|
|
2225
|
-
var isCallable$
|
|
2566
|
+
var isCallable$j = isCallable$m;
|
|
2226
2567
|
var isPrototypeOf$6 = objectIsPrototypeOf;
|
|
2227
2568
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
2228
2569
|
|
|
2229
|
-
var Object$
|
|
2570
|
+
var $Object$3 = Object;
|
|
2230
2571
|
|
|
2231
2572
|
var isSymbol$4 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
2232
2573
|
return typeof it == 'symbol';
|
|
2233
2574
|
} : function (it) {
|
|
2234
2575
|
var $Symbol = getBuiltIn$7('Symbol');
|
|
2235
|
-
return isCallable$
|
|
2576
|
+
return isCallable$j($Symbol) && isPrototypeOf$6($Symbol.prototype, $Object$3(it));
|
|
2236
2577
|
};
|
|
2237
2578
|
|
|
2238
|
-
var
|
|
2239
|
-
|
|
2240
|
-
var String$4 = global$H.String;
|
|
2579
|
+
var $String$3 = String;
|
|
2241
2580
|
|
|
2242
|
-
var tryToString$
|
|
2581
|
+
var tryToString$6 = function (argument) {
|
|
2243
2582
|
try {
|
|
2244
|
-
return String$
|
|
2583
|
+
return $String$3(argument);
|
|
2245
2584
|
} catch (error) {
|
|
2246
2585
|
return 'Object';
|
|
2247
2586
|
}
|
|
2248
2587
|
};
|
|
2249
2588
|
|
|
2250
|
-
var
|
|
2251
|
-
var
|
|
2252
|
-
var tryToString$4 = tryToString$5;
|
|
2589
|
+
var isCallable$i = isCallable$m;
|
|
2590
|
+
var tryToString$5 = tryToString$6;
|
|
2253
2591
|
|
|
2254
|
-
var TypeError$
|
|
2592
|
+
var $TypeError$e = TypeError;
|
|
2255
2593
|
|
|
2256
2594
|
// `Assert: IsCallable(argument) is true`
|
|
2257
2595
|
var aCallable$5 = function (argument) {
|
|
2258
|
-
if (isCallable$
|
|
2259
|
-
throw TypeError$
|
|
2596
|
+
if (isCallable$i(argument)) return argument;
|
|
2597
|
+
throw $TypeError$e(tryToString$5(argument) + ' is not a function');
|
|
2260
2598
|
};
|
|
2261
2599
|
|
|
2262
2600
|
var aCallable$4 = aCallable$5;
|
|
@@ -2268,45 +2606,44 @@ var getMethod$5 = function (V, P) {
|
|
|
2268
2606
|
return func == null ? undefined : aCallable$4(func);
|
|
2269
2607
|
};
|
|
2270
2608
|
|
|
2271
|
-
var global$F = global$N;
|
|
2272
2609
|
var call$h = functionCall;
|
|
2273
|
-
var isCallable$
|
|
2610
|
+
var isCallable$h = isCallable$m;
|
|
2274
2611
|
var isObject$d = isObject$e;
|
|
2275
2612
|
|
|
2276
|
-
var TypeError$
|
|
2613
|
+
var $TypeError$d = TypeError;
|
|
2277
2614
|
|
|
2278
2615
|
// `OrdinaryToPrimitive` abstract operation
|
|
2279
2616
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
2280
2617
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
2281
2618
|
var fn, val;
|
|
2282
|
-
if (pref === 'string' && isCallable$
|
|
2283
|
-
if (isCallable$
|
|
2284
|
-
if (pref !== 'string' && isCallable$
|
|
2285
|
-
throw TypeError$
|
|
2619
|
+
if (pref === 'string' && isCallable$h(fn = input.toString) && !isObject$d(val = call$h(fn, input))) return val;
|
|
2620
|
+
if (isCallable$h(fn = input.valueOf) && !isObject$d(val = call$h(fn, input))) return val;
|
|
2621
|
+
if (pref !== 'string' && isCallable$h(fn = input.toString) && !isObject$d(val = call$h(fn, input))) return val;
|
|
2622
|
+
throw $TypeError$d("Can't convert object to primitive value");
|
|
2286
2623
|
};
|
|
2287
2624
|
|
|
2288
2625
|
var shared$7 = {exports: {}};
|
|
2289
2626
|
|
|
2290
2627
|
var isPure = false;
|
|
2291
2628
|
|
|
2292
|
-
var global$
|
|
2629
|
+
var global$i = global$l;
|
|
2293
2630
|
|
|
2294
2631
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
2295
|
-
var defineProperty$
|
|
2632
|
+
var defineProperty$a = Object.defineProperty;
|
|
2296
2633
|
|
|
2297
|
-
var
|
|
2634
|
+
var defineGlobalProperty$3 = function (key, value) {
|
|
2298
2635
|
try {
|
|
2299
|
-
defineProperty$
|
|
2636
|
+
defineProperty$a(global$i, key, { value: value, configurable: true, writable: true });
|
|
2300
2637
|
} catch (error) {
|
|
2301
|
-
global$
|
|
2638
|
+
global$i[key] = value;
|
|
2302
2639
|
} return value;
|
|
2303
2640
|
};
|
|
2304
2641
|
|
|
2305
|
-
var global$
|
|
2306
|
-
var
|
|
2642
|
+
var global$h = global$l;
|
|
2643
|
+
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
2307
2644
|
|
|
2308
2645
|
var SHARED = '__core-js_shared__';
|
|
2309
|
-
var store$3 = global$
|
|
2646
|
+
var store$3 = global$h[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
2310
2647
|
|
|
2311
2648
|
var sharedStore = store$3;
|
|
2312
2649
|
|
|
@@ -2316,22 +2653,21 @@ var store$2 = sharedStore;
|
|
|
2316
2653
|
(shared$7.exports = function (key, value) {
|
|
2317
2654
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
2318
2655
|
})('versions', []).push({
|
|
2319
|
-
version: '3.22.
|
|
2656
|
+
version: '3.22.8',
|
|
2320
2657
|
mode: IS_PURE$5 ? 'pure' : 'global',
|
|
2321
2658
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
2322
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
2659
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE',
|
|
2323
2660
|
source: 'https://github.com/zloirock/core-js'
|
|
2324
2661
|
});
|
|
2325
2662
|
|
|
2326
|
-
var global$C = global$N;
|
|
2327
2663
|
var requireObjectCoercible$6 = requireObjectCoercible$8;
|
|
2328
2664
|
|
|
2329
|
-
var Object$
|
|
2665
|
+
var $Object$2 = Object;
|
|
2330
2666
|
|
|
2331
2667
|
// `ToObject` abstract operation
|
|
2332
2668
|
// https://tc39.es/ecma262/#sec-toobject
|
|
2333
2669
|
var toObject$b = function (argument) {
|
|
2334
|
-
return Object$
|
|
2670
|
+
return $Object$2(requireObjectCoercible$6(argument));
|
|
2335
2671
|
};
|
|
2336
2672
|
|
|
2337
2673
|
var uncurryThis$v = functionUncurryThis;
|
|
@@ -2356,7 +2692,7 @@ var uid$4 = function (key) {
|
|
|
2356
2692
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$f(++id$1 + postfix, 36);
|
|
2357
2693
|
};
|
|
2358
2694
|
|
|
2359
|
-
var global$
|
|
2695
|
+
var global$g = global$l;
|
|
2360
2696
|
var shared$6 = shared$7.exports;
|
|
2361
2697
|
var hasOwn$g = hasOwnProperty_1;
|
|
2362
2698
|
var uid$3 = uid$4;
|
|
@@ -2364,7 +2700,7 @@ var NATIVE_SYMBOL$5 = nativeSymbol;
|
|
|
2364
2700
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
2365
2701
|
|
|
2366
2702
|
var WellKnownSymbolsStore$1 = shared$6('wks');
|
|
2367
|
-
var Symbol$2 = global$
|
|
2703
|
+
var Symbol$2 = global$g.Symbol;
|
|
2368
2704
|
var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
2369
2705
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$3;
|
|
2370
2706
|
|
|
@@ -2381,7 +2717,6 @@ var wellKnownSymbol$p = function (name) {
|
|
|
2381
2717
|
} return WellKnownSymbolsStore$1[name];
|
|
2382
2718
|
};
|
|
2383
2719
|
|
|
2384
|
-
var global$A = global$N;
|
|
2385
2720
|
var call$g = functionCall;
|
|
2386
2721
|
var isObject$c = isObject$e;
|
|
2387
2722
|
var isSymbol$3 = isSymbol$4;
|
|
@@ -2389,7 +2724,7 @@ var getMethod$4 = getMethod$5;
|
|
|
2389
2724
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
2390
2725
|
var wellKnownSymbol$o = wellKnownSymbol$p;
|
|
2391
2726
|
|
|
2392
|
-
var TypeError$
|
|
2727
|
+
var $TypeError$c = TypeError;
|
|
2393
2728
|
var TO_PRIMITIVE = wellKnownSymbol$o('toPrimitive');
|
|
2394
2729
|
|
|
2395
2730
|
// `ToPrimitive` abstract operation
|
|
@@ -2402,7 +2737,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
2402
2737
|
if (pref === undefined) pref = 'default';
|
|
2403
2738
|
result = call$g(exoticToPrim, input, pref);
|
|
2404
2739
|
if (!isObject$c(result) || isSymbol$3(result)) return result;
|
|
2405
|
-
throw TypeError$
|
|
2740
|
+
throw $TypeError$c("Can't convert object to primitive value");
|
|
2406
2741
|
}
|
|
2407
2742
|
if (pref === undefined) pref = 'number';
|
|
2408
2743
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -2418,10 +2753,10 @@ var toPropertyKey$4 = function (argument) {
|
|
|
2418
2753
|
return isSymbol$2(key) ? key : key + '';
|
|
2419
2754
|
};
|
|
2420
2755
|
|
|
2421
|
-
var global$
|
|
2756
|
+
var global$f = global$l;
|
|
2422
2757
|
var isObject$b = isObject$e;
|
|
2423
2758
|
|
|
2424
|
-
var document$1 = global$
|
|
2759
|
+
var document$1 = global$f.document;
|
|
2425
2760
|
// typeof document.createElement is 'object' in old IE
|
|
2426
2761
|
var EXISTS$1 = isObject$b(document$1) && isObject$b(document$1.createElement);
|
|
2427
2762
|
|
|
@@ -2429,19 +2764,19 @@ var documentCreateElement$2 = function (it) {
|
|
|
2429
2764
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
2430
2765
|
};
|
|
2431
2766
|
|
|
2432
|
-
var DESCRIPTORS$
|
|
2433
|
-
var fails$
|
|
2767
|
+
var DESCRIPTORS$f = descriptors;
|
|
2768
|
+
var fails$t = fails$y;
|
|
2434
2769
|
var createElement = documentCreateElement$2;
|
|
2435
2770
|
|
|
2436
2771
|
// Thanks to IE8 for its funny defineProperty
|
|
2437
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
2772
|
+
var ie8DomDefine = !DESCRIPTORS$f && !fails$t(function () {
|
|
2438
2773
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
2439
2774
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
2440
2775
|
get: function () { return 7; }
|
|
2441
2776
|
}).a != 7;
|
|
2442
2777
|
});
|
|
2443
2778
|
|
|
2444
|
-
var DESCRIPTORS$
|
|
2779
|
+
var DESCRIPTORS$e = descriptors;
|
|
2445
2780
|
var call$f = functionCall;
|
|
2446
2781
|
var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable;
|
|
2447
2782
|
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
@@ -2455,7 +2790,7 @@ var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
|
2455
2790
|
|
|
2456
2791
|
// `Object.getOwnPropertyDescriptor` method
|
|
2457
2792
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
2458
|
-
var f$6 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
2793
|
+
var f$6 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$e ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
|
|
2459
2794
|
O = toIndexedObject$9(O);
|
|
2460
2795
|
P = toPropertyKey$3(P);
|
|
2461
2796
|
if (IE8_DOM_DEFINE$1) try {
|
|
@@ -2466,12 +2801,12 @@ var f$6 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDesc
|
|
|
2466
2801
|
|
|
2467
2802
|
var objectDefineProperty = {};
|
|
2468
2803
|
|
|
2469
|
-
var DESCRIPTORS$
|
|
2470
|
-
var fails$
|
|
2804
|
+
var DESCRIPTORS$d = descriptors;
|
|
2805
|
+
var fails$s = fails$y;
|
|
2471
2806
|
|
|
2472
2807
|
// V8 ~ Chrome 36-
|
|
2473
2808
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
2474
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
2809
|
+
var v8PrototypeDefineBug = DESCRIPTORS$d && fails$s(function () {
|
|
2475
2810
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
2476
2811
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
2477
2812
|
value: 42,
|
|
@@ -2479,26 +2814,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$r(function () {
|
|
|
2479
2814
|
}).prototype != 42;
|
|
2480
2815
|
});
|
|
2481
2816
|
|
|
2482
|
-
var global$y = global$N;
|
|
2483
2817
|
var isObject$a = isObject$e;
|
|
2484
2818
|
|
|
2485
|
-
var String$
|
|
2486
|
-
var TypeError$
|
|
2819
|
+
var $String$2 = String;
|
|
2820
|
+
var $TypeError$b = TypeError;
|
|
2487
2821
|
|
|
2488
2822
|
// `Assert: Type(argument) is Object`
|
|
2489
2823
|
var anObject$g = function (argument) {
|
|
2490
2824
|
if (isObject$a(argument)) return argument;
|
|
2491
|
-
throw TypeError$
|
|
2825
|
+
throw $TypeError$b($String$2(argument) + ' is not an object');
|
|
2492
2826
|
};
|
|
2493
2827
|
|
|
2494
|
-
var
|
|
2495
|
-
var DESCRIPTORS$b = descriptors;
|
|
2828
|
+
var DESCRIPTORS$c = descriptors;
|
|
2496
2829
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
2497
2830
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
2498
2831
|
var anObject$f = anObject$g;
|
|
2499
2832
|
var toPropertyKey$2 = toPropertyKey$4;
|
|
2500
2833
|
|
|
2501
|
-
var TypeError$
|
|
2834
|
+
var $TypeError$a = TypeError;
|
|
2502
2835
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
2503
2836
|
var $defineProperty$1 = Object.defineProperty;
|
|
2504
2837
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -2509,7 +2842,7 @@ var WRITABLE = 'writable';
|
|
|
2509
2842
|
|
|
2510
2843
|
// `Object.defineProperty` method
|
|
2511
2844
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
2512
|
-
var f$5 = objectDefineProperty.f = DESCRIPTORS$
|
|
2845
|
+
var f$5 = objectDefineProperty.f = DESCRIPTORS$c ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
2513
2846
|
anObject$f(O);
|
|
2514
2847
|
P = toPropertyKey$2(P);
|
|
2515
2848
|
anObject$f(Attributes);
|
|
@@ -2531,32 +2864,50 @@ var f$5 = objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? f
|
|
|
2531
2864
|
if (IE8_DOM_DEFINE) try {
|
|
2532
2865
|
return $defineProperty$1(O, P, Attributes);
|
|
2533
2866
|
} catch (error) { /* empty */ }
|
|
2534
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$
|
|
2867
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
|
|
2535
2868
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
2536
2869
|
return O;
|
|
2537
2870
|
};
|
|
2538
2871
|
|
|
2539
|
-
var DESCRIPTORS$
|
|
2540
|
-
var definePropertyModule$
|
|
2872
|
+
var DESCRIPTORS$b = descriptors;
|
|
2873
|
+
var definePropertyModule$5 = objectDefineProperty;
|
|
2541
2874
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
2542
2875
|
|
|
2543
|
-
var createNonEnumerableProperty$7 = DESCRIPTORS$
|
|
2544
|
-
return definePropertyModule$
|
|
2876
|
+
var createNonEnumerableProperty$7 = DESCRIPTORS$b ? function (object, key, value) {
|
|
2877
|
+
return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
|
|
2545
2878
|
} : function (object, key, value) {
|
|
2546
2879
|
object[key] = value;
|
|
2547
2880
|
return object;
|
|
2548
2881
|
};
|
|
2549
2882
|
|
|
2550
|
-
var
|
|
2883
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
2884
|
+
|
|
2885
|
+
var DESCRIPTORS$a = descriptors;
|
|
2886
|
+
var hasOwn$e = hasOwnProperty_1;
|
|
2887
|
+
|
|
2888
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
2889
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
2890
|
+
var getDescriptor = DESCRIPTORS$a && Object.getOwnPropertyDescriptor;
|
|
2891
|
+
|
|
2892
|
+
var EXISTS = hasOwn$e(FunctionPrototype$1, 'name');
|
|
2893
|
+
// additional protection from minified / mangled / dropped function names
|
|
2894
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
2895
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$a || (DESCRIPTORS$a && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
2896
|
+
|
|
2897
|
+
var functionName = {
|
|
2898
|
+
EXISTS: EXISTS,
|
|
2899
|
+
PROPER: PROPER,
|
|
2900
|
+
CONFIGURABLE: CONFIGURABLE
|
|
2901
|
+
};
|
|
2551
2902
|
|
|
2552
2903
|
var uncurryThis$t = functionUncurryThis;
|
|
2553
|
-
var isCallable$
|
|
2904
|
+
var isCallable$g = isCallable$m;
|
|
2554
2905
|
var store$1 = sharedStore;
|
|
2555
2906
|
|
|
2556
2907
|
var functionToString = uncurryThis$t(Function.toString);
|
|
2557
2908
|
|
|
2558
2909
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
2559
|
-
if (!isCallable$
|
|
2910
|
+
if (!isCallable$g(store$1.inspectSource)) {
|
|
2560
2911
|
store$1.inspectSource = function (it) {
|
|
2561
2912
|
return functionToString(it);
|
|
2562
2913
|
};
|
|
@@ -2564,13 +2915,13 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
|
2564
2915
|
|
|
2565
2916
|
var inspectSource$3 = store$1.inspectSource;
|
|
2566
2917
|
|
|
2567
|
-
var global$
|
|
2568
|
-
var isCallable$
|
|
2918
|
+
var global$e = global$l;
|
|
2919
|
+
var isCallable$f = isCallable$m;
|
|
2569
2920
|
var inspectSource$2 = inspectSource$3;
|
|
2570
2921
|
|
|
2571
|
-
var WeakMap$2 = global$
|
|
2922
|
+
var WeakMap$2 = global$e.WeakMap;
|
|
2572
2923
|
|
|
2573
|
-
var nativeWeakMap = isCallable$
|
|
2924
|
+
var nativeWeakMap = isCallable$f(WeakMap$2) && /native code/.test(inspectSource$2(WeakMap$2));
|
|
2574
2925
|
|
|
2575
2926
|
var shared$5 = shared$7.exports;
|
|
2576
2927
|
var uid$2 = uid$4;
|
|
@@ -2584,18 +2935,18 @@ var sharedKey$4 = function (key) {
|
|
|
2584
2935
|
var hiddenKeys$6 = {};
|
|
2585
2936
|
|
|
2586
2937
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
2587
|
-
var global$
|
|
2938
|
+
var global$d = global$l;
|
|
2588
2939
|
var uncurryThis$s = functionUncurryThis;
|
|
2589
2940
|
var isObject$9 = isObject$e;
|
|
2590
2941
|
var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
|
|
2591
|
-
var hasOwn$
|
|
2942
|
+
var hasOwn$d = hasOwnProperty_1;
|
|
2592
2943
|
var shared$4 = sharedStore;
|
|
2593
2944
|
var sharedKey$3 = sharedKey$4;
|
|
2594
2945
|
var hiddenKeys$5 = hiddenKeys$6;
|
|
2595
2946
|
|
|
2596
2947
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
2597
|
-
var TypeError$
|
|
2598
|
-
var WeakMap$1 = global$
|
|
2948
|
+
var TypeError$2 = global$d.TypeError;
|
|
2949
|
+
var WeakMap$1 = global$d.WeakMap;
|
|
2599
2950
|
var set, get, has;
|
|
2600
2951
|
|
|
2601
2952
|
var enforce = function (it) {
|
|
@@ -2606,7 +2957,7 @@ var getterFor = function (TYPE) {
|
|
|
2606
2957
|
return function (it) {
|
|
2607
2958
|
var state;
|
|
2608
2959
|
if (!isObject$9(it) || (state = get(it)).type !== TYPE) {
|
|
2609
|
-
throw TypeError$
|
|
2960
|
+
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
2610
2961
|
} return state;
|
|
2611
2962
|
};
|
|
2612
2963
|
};
|
|
@@ -2617,7 +2968,7 @@ if (NATIVE_WEAK_MAP || shared$4.state) {
|
|
|
2617
2968
|
var wmhas = uncurryThis$s(store.has);
|
|
2618
2969
|
var wmset = uncurryThis$s(store.set);
|
|
2619
2970
|
set = function (it, metadata) {
|
|
2620
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
2971
|
+
if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
2621
2972
|
metadata.facade = it;
|
|
2622
2973
|
wmset(store, it, metadata);
|
|
2623
2974
|
return metadata;
|
|
@@ -2632,16 +2983,16 @@ if (NATIVE_WEAK_MAP || shared$4.state) {
|
|
|
2632
2983
|
var STATE = sharedKey$3('state');
|
|
2633
2984
|
hiddenKeys$5[STATE] = true;
|
|
2634
2985
|
set = function (it, metadata) {
|
|
2635
|
-
if (hasOwn$
|
|
2986
|
+
if (hasOwn$d(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
2636
2987
|
metadata.facade = it;
|
|
2637
2988
|
createNonEnumerableProperty$6(it, STATE, metadata);
|
|
2638
2989
|
return metadata;
|
|
2639
2990
|
};
|
|
2640
2991
|
get = function (it) {
|
|
2641
|
-
return hasOwn$
|
|
2992
|
+
return hasOwn$d(it, STATE) ? it[STATE] : {};
|
|
2642
2993
|
};
|
|
2643
2994
|
has = function (it) {
|
|
2644
|
-
return hasOwn$
|
|
2995
|
+
return hasOwn$d(it, STATE);
|
|
2645
2996
|
};
|
|
2646
2997
|
}
|
|
2647
2998
|
|
|
@@ -2653,82 +3004,97 @@ var internalState = {
|
|
|
2653
3004
|
getterFor: getterFor
|
|
2654
3005
|
};
|
|
2655
3006
|
|
|
2656
|
-
var
|
|
2657
|
-
var
|
|
2658
|
-
|
|
2659
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
2660
|
-
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
2661
|
-
var getDescriptor = DESCRIPTORS$9 && Object.getOwnPropertyDescriptor;
|
|
2662
|
-
|
|
2663
|
-
var EXISTS = hasOwn$d(FunctionPrototype$1, 'name');
|
|
2664
|
-
// additional protection from minified / mangled / dropped function names
|
|
2665
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
2666
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$9 || (DESCRIPTORS$9 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
2667
|
-
|
|
2668
|
-
var functionName = {
|
|
2669
|
-
EXISTS: EXISTS,
|
|
2670
|
-
PROPER: PROPER,
|
|
2671
|
-
CONFIGURABLE: CONFIGURABLE
|
|
2672
|
-
};
|
|
2673
|
-
|
|
2674
|
-
var global$u = global$N;
|
|
2675
|
-
var isCallable$d = isCallable$l;
|
|
3007
|
+
var fails$r = fails$y;
|
|
3008
|
+
var isCallable$e = isCallable$m;
|
|
2676
3009
|
var hasOwn$c = hasOwnProperty_1;
|
|
2677
|
-
var
|
|
2678
|
-
var
|
|
3010
|
+
var DESCRIPTORS$9 = descriptors;
|
|
3011
|
+
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
2679
3012
|
var inspectSource$1 = inspectSource$3;
|
|
2680
3013
|
var InternalStateModule$4 = internalState;
|
|
2681
|
-
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
2682
3014
|
|
|
2683
|
-
var getInternalState$4 = InternalStateModule$4.get;
|
|
2684
3015
|
var enforceInternalState$1 = InternalStateModule$4.enforce;
|
|
3016
|
+
var getInternalState$4 = InternalStateModule$4.get;
|
|
3017
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
3018
|
+
var defineProperty$9 = Object.defineProperty;
|
|
3019
|
+
|
|
3020
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$9 && !fails$r(function () {
|
|
3021
|
+
return defineProperty$9(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
3022
|
+
});
|
|
3023
|
+
|
|
2685
3024
|
var TEMPLATE = String(String).split('String');
|
|
2686
3025
|
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
2691
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
2692
|
-
var state;
|
|
2693
|
-
if (isCallable$d(value)) {
|
|
2694
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
2695
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
2696
|
-
}
|
|
2697
|
-
if (!hasOwn$c(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
2698
|
-
createNonEnumerableProperty$5(value, 'name', name);
|
|
2699
|
-
}
|
|
2700
|
-
state = enforceInternalState$1(value);
|
|
2701
|
-
if (!state.source) {
|
|
2702
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
2703
|
-
}
|
|
3026
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
3027
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
3028
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
2704
3029
|
}
|
|
2705
|
-
if (
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
}
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
simple = true;
|
|
3030
|
+
if (options && options.getter) name = 'get ' + name;
|
|
3031
|
+
if (options && options.setter) name = 'set ' + name;
|
|
3032
|
+
if (!hasOwn$c(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
3033
|
+
defineProperty$9(value, 'name', { value: name, configurable: true });
|
|
3034
|
+
}
|
|
3035
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$c(options, 'arity') && value.length !== options.arity) {
|
|
3036
|
+
defineProperty$9(value, 'length', { value: options.arity });
|
|
2713
3037
|
}
|
|
2714
|
-
|
|
2715
|
-
|
|
3038
|
+
try {
|
|
3039
|
+
if (options && hasOwn$c(options, 'constructor') && options.constructor) {
|
|
3040
|
+
if (DESCRIPTORS$9) defineProperty$9(value, 'prototype', { writable: false });
|
|
3041
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
3042
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
3043
|
+
} catch (error) { /* empty */ }
|
|
3044
|
+
var state = enforceInternalState$1(value);
|
|
3045
|
+
if (!hasOwn$c(state, 'source')) {
|
|
3046
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
3047
|
+
} return value;
|
|
3048
|
+
};
|
|
3049
|
+
|
|
2716
3050
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
3051
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
3052
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
3053
|
+
return isCallable$e(this) && getInternalState$4(this).source || inspectSource$1(this);
|
|
3054
|
+
}, 'toString');
|
|
3055
|
+
|
|
3056
|
+
var isCallable$d = isCallable$m;
|
|
3057
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
|
|
3058
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
3059
|
+
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
3060
|
+
|
|
3061
|
+
var defineBuiltIn$b = function (O, key, value, options) {
|
|
3062
|
+
if (!options) options = {};
|
|
3063
|
+
var simple = options.enumerable;
|
|
3064
|
+
var name = options.name !== undefined ? options.name : key;
|
|
3065
|
+
if (isCallable$d(value)) makeBuiltIn(value, name, options);
|
|
3066
|
+
if (options.global) {
|
|
3067
|
+
if (simple) O[key] = value;
|
|
3068
|
+
else defineGlobalProperty$1(key, value);
|
|
3069
|
+
} else {
|
|
3070
|
+
if (!options.unsafe) delete O[key];
|
|
3071
|
+
else if (O[key]) simple = true;
|
|
3072
|
+
if (simple) O[key] = value;
|
|
3073
|
+
else createNonEnumerableProperty$5(O, key, value);
|
|
3074
|
+
} return O;
|
|
3075
|
+
};
|
|
2720
3076
|
|
|
2721
3077
|
var objectGetOwnPropertyNames = {};
|
|
2722
3078
|
|
|
2723
3079
|
var ceil = Math.ceil;
|
|
2724
3080
|
var floor$2 = Math.floor;
|
|
2725
3081
|
|
|
3082
|
+
// `Math.trunc` method
|
|
3083
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
3084
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
3085
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
3086
|
+
var n = +x;
|
|
3087
|
+
return (n > 0 ? floor$2 : ceil)(n);
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
var trunc = mathTrunc;
|
|
3091
|
+
|
|
2726
3092
|
// `ToIntegerOrInfinity` abstract operation
|
|
2727
3093
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
2728
3094
|
var toIntegerOrInfinity$5 = function (argument) {
|
|
2729
3095
|
var number = +argument;
|
|
2730
|
-
// eslint-disable-next-line no-self-compare --
|
|
2731
|
-
return number !== number || number === 0 ? 0 : (number
|
|
3096
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
3097
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
2732
3098
|
};
|
|
2733
3099
|
|
|
2734
3100
|
var toIntegerOrInfinity$4 = toIntegerOrInfinity$5;
|
|
@@ -2862,11 +3228,11 @@ var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
2862
3228
|
var hasOwn$a = hasOwnProperty_1;
|
|
2863
3229
|
var ownKeys = ownKeys$1;
|
|
2864
3230
|
var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
|
|
2865
|
-
var definePropertyModule$
|
|
3231
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
2866
3232
|
|
|
2867
3233
|
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
2868
3234
|
var keys = ownKeys(source);
|
|
2869
|
-
var defineProperty = definePropertyModule$
|
|
3235
|
+
var defineProperty = definePropertyModule$4.f;
|
|
2870
3236
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$1.f;
|
|
2871
3237
|
for (var i = 0; i < keys.length; i++) {
|
|
2872
3238
|
var key = keys[i];
|
|
@@ -2876,8 +3242,8 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
|
2876
3242
|
}
|
|
2877
3243
|
};
|
|
2878
3244
|
|
|
2879
|
-
var fails$q = fails$
|
|
2880
|
-
var isCallable$c = isCallable$
|
|
3245
|
+
var fails$q = fails$y;
|
|
3246
|
+
var isCallable$c = isCallable$m;
|
|
2881
3247
|
|
|
2882
3248
|
var replacement = /#|\.prototype\./;
|
|
2883
3249
|
|
|
@@ -2899,28 +3265,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
2899
3265
|
|
|
2900
3266
|
var isForced_1 = isForced$3;
|
|
2901
3267
|
|
|
2902
|
-
var global$
|
|
3268
|
+
var global$c = global$l;
|
|
2903
3269
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
2904
3270
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
|
|
2905
|
-
var
|
|
2906
|
-
var
|
|
3271
|
+
var defineBuiltIn$a = defineBuiltIn$b;
|
|
3272
|
+
var defineGlobalProperty = defineGlobalProperty$3;
|
|
2907
3273
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
2908
3274
|
var isForced$2 = isForced_1;
|
|
2909
3275
|
|
|
2910
3276
|
/*
|
|
2911
|
-
options.target
|
|
2912
|
-
options.global
|
|
2913
|
-
options.stat
|
|
2914
|
-
options.proto
|
|
2915
|
-
options.real
|
|
2916
|
-
options.forced
|
|
2917
|
-
options.bind
|
|
2918
|
-
options.wrap
|
|
2919
|
-
options.unsafe
|
|
2920
|
-
options.sham
|
|
2921
|
-
options.enumerable
|
|
2922
|
-
options.
|
|
2923
|
-
options.name
|
|
3277
|
+
options.target - name of the target object
|
|
3278
|
+
options.global - target is the global object
|
|
3279
|
+
options.stat - export as static methods of target
|
|
3280
|
+
options.proto - export as prototype methods of target
|
|
3281
|
+
options.real - real prototype method for the `pure` version
|
|
3282
|
+
options.forced - export even if the native feature is available
|
|
3283
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
3284
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
3285
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
3286
|
+
options.sham - add a flag to not completely full polyfills
|
|
3287
|
+
options.enumerable - export as enumerable property
|
|
3288
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
3289
|
+
options.name - the .name of the function if it does not match the key
|
|
2924
3290
|
*/
|
|
2925
3291
|
var _export = function (options, source) {
|
|
2926
3292
|
var TARGET = options.target;
|
|
@@ -2928,15 +3294,15 @@ var _export = function (options, source) {
|
|
|
2928
3294
|
var STATIC = options.stat;
|
|
2929
3295
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
2930
3296
|
if (GLOBAL) {
|
|
2931
|
-
target = global$
|
|
3297
|
+
target = global$c;
|
|
2932
3298
|
} else if (STATIC) {
|
|
2933
|
-
target = global$
|
|
3299
|
+
target = global$c[TARGET] || defineGlobalProperty(TARGET, {});
|
|
2934
3300
|
} else {
|
|
2935
|
-
target = (global$
|
|
3301
|
+
target = (global$c[TARGET] || {}).prototype;
|
|
2936
3302
|
}
|
|
2937
3303
|
if (target) for (key in source) {
|
|
2938
3304
|
sourceProperty = source[key];
|
|
2939
|
-
if (options.
|
|
3305
|
+
if (options.dontCallGetSet) {
|
|
2940
3306
|
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
2941
3307
|
targetProperty = descriptor && descriptor.value;
|
|
2942
3308
|
} else targetProperty = target[key];
|
|
@@ -2950,8 +3316,7 @@ var _export = function (options, source) {
|
|
|
2950
3316
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
2951
3317
|
createNonEnumerableProperty$4(sourceProperty, 'sham', true);
|
|
2952
3318
|
}
|
|
2953
|
-
|
|
2954
|
-
redefine$a(target, key, sourceProperty, options);
|
|
3319
|
+
defineBuiltIn$a(target, key, sourceProperty, options);
|
|
2955
3320
|
}
|
|
2956
3321
|
};
|
|
2957
3322
|
|
|
@@ -2964,14 +3329,13 @@ test$1[TO_STRING_TAG$3] = 'z';
|
|
|
2964
3329
|
|
|
2965
3330
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2966
3331
|
|
|
2967
|
-
var global$s = global$N;
|
|
2968
3332
|
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
2969
|
-
var isCallable$b = isCallable$
|
|
3333
|
+
var isCallable$b = isCallable$m;
|
|
2970
3334
|
var classofRaw = classofRaw$1;
|
|
2971
3335
|
var wellKnownSymbol$m = wellKnownSymbol$p;
|
|
2972
3336
|
|
|
2973
3337
|
var TO_STRING_TAG$2 = wellKnownSymbol$m('toStringTag');
|
|
2974
|
-
var Object$
|
|
3338
|
+
var $Object$1 = Object;
|
|
2975
3339
|
|
|
2976
3340
|
// ES3 wrong here
|
|
2977
3341
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2988,21 +3352,20 @@ var classof$a = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
|
2988
3352
|
var O, tag, result;
|
|
2989
3353
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2990
3354
|
// @@toStringTag case
|
|
2991
|
-
: typeof (tag = tryGet(O = Object$
|
|
3355
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
2992
3356
|
// builtinTag case
|
|
2993
3357
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2994
3358
|
// ES3 arguments fallback
|
|
2995
3359
|
: (result = classofRaw(O)) == 'Object' && isCallable$b(O.callee) ? 'Arguments' : result;
|
|
2996
3360
|
};
|
|
2997
3361
|
|
|
2998
|
-
var global$r = global$N;
|
|
2999
3362
|
var classof$9 = classof$a;
|
|
3000
3363
|
|
|
3001
|
-
var String$
|
|
3364
|
+
var $String$1 = String;
|
|
3002
3365
|
|
|
3003
3366
|
var toString$e = function (argument) {
|
|
3004
3367
|
if (classof$9(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
3005
|
-
return String$
|
|
3368
|
+
return $String$1(argument);
|
|
3006
3369
|
};
|
|
3007
3370
|
|
|
3008
3371
|
var objectDefineProperties = {};
|
|
@@ -3019,7 +3382,7 @@ var objectKeys$4 = Object.keys || function keys(O) {
|
|
|
3019
3382
|
|
|
3020
3383
|
var DESCRIPTORS$8 = descriptors;
|
|
3021
3384
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
3022
|
-
var definePropertyModule$
|
|
3385
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
3023
3386
|
var anObject$d = anObject$g;
|
|
3024
3387
|
var toIndexedObject$6 = toIndexedObject$a;
|
|
3025
3388
|
var objectKeys$3 = objectKeys$4;
|
|
@@ -3034,7 +3397,7 @@ var f$2 = objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ?
|
|
|
3034
3397
|
var length = keys.length;
|
|
3035
3398
|
var index = 0;
|
|
3036
3399
|
var key;
|
|
3037
|
-
while (length > index) definePropertyModule$
|
|
3400
|
+
while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
|
|
3038
3401
|
return O;
|
|
3039
3402
|
};
|
|
3040
3403
|
|
|
@@ -3131,28 +3494,27 @@ var objectGetOwnPropertyNamesExternal = {};
|
|
|
3131
3494
|
|
|
3132
3495
|
'use strict';
|
|
3133
3496
|
var toPropertyKey$1 = toPropertyKey$4;
|
|
3134
|
-
var definePropertyModule$
|
|
3497
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
3135
3498
|
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
3136
3499
|
|
|
3137
3500
|
var createProperty$5 = function (object, key, value) {
|
|
3138
3501
|
var propertyKey = toPropertyKey$1(key);
|
|
3139
|
-
if (propertyKey in object) definePropertyModule$
|
|
3502
|
+
if (propertyKey in object) definePropertyModule$2.f(object, propertyKey, createPropertyDescriptor$2(0, value));
|
|
3140
3503
|
else object[propertyKey] = value;
|
|
3141
3504
|
};
|
|
3142
3505
|
|
|
3143
|
-
var global$q = global$N;
|
|
3144
3506
|
var toAbsoluteIndex$2 = toAbsoluteIndex$4;
|
|
3145
3507
|
var lengthOfArrayLike$8 = lengthOfArrayLike$a;
|
|
3146
3508
|
var createProperty$4 = createProperty$5;
|
|
3147
3509
|
|
|
3148
|
-
var Array$
|
|
3510
|
+
var $Array$3 = Array;
|
|
3149
3511
|
var max$3 = Math.max;
|
|
3150
3512
|
|
|
3151
3513
|
var arraySliceSimple = function (O, start, end) {
|
|
3152
3514
|
var length = lengthOfArrayLike$8(O);
|
|
3153
3515
|
var k = toAbsoluteIndex$2(start, length);
|
|
3154
3516
|
var fin = toAbsoluteIndex$2(end === undefined ? length : end, length);
|
|
3155
|
-
var result = Array$
|
|
3517
|
+
var result = $Array$3(max$3(fin - k, 0));
|
|
3156
3518
|
for (var n = 0; k < fin; k++, n++) createProperty$4(result, n, O[k]);
|
|
3157
3519
|
result.length = n;
|
|
3158
3520
|
return result;
|
|
@@ -3189,18 +3551,18 @@ var wellKnownSymbol$l = wellKnownSymbol$p;
|
|
|
3189
3551
|
|
|
3190
3552
|
var f = wellKnownSymbolWrapped.f = wellKnownSymbol$l;
|
|
3191
3553
|
|
|
3192
|
-
var global$
|
|
3554
|
+
var global$b = global$l;
|
|
3193
3555
|
|
|
3194
|
-
var path$1 = global$
|
|
3556
|
+
var path$1 = global$b;
|
|
3195
3557
|
|
|
3196
3558
|
var path = path$1;
|
|
3197
3559
|
var hasOwn$9 = hasOwnProperty_1;
|
|
3198
3560
|
var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
3199
|
-
var defineProperty$
|
|
3561
|
+
var defineProperty$8 = objectDefineProperty.f;
|
|
3200
3562
|
|
|
3201
3563
|
var defineWellKnownSymbol$1 = function (NAME) {
|
|
3202
3564
|
var Symbol = path.Symbol || (path.Symbol = {});
|
|
3203
|
-
if (!hasOwn$9(Symbol, NAME)) defineProperty$
|
|
3565
|
+
if (!hasOwn$9(Symbol, NAME)) defineProperty$8(Symbol, NAME, {
|
|
3204
3566
|
value: wrappedWellKnownSymbolModule$1.f(NAME)
|
|
3205
3567
|
});
|
|
3206
3568
|
};
|
|
@@ -3208,7 +3570,7 @@ var defineWellKnownSymbol$1 = function (NAME) {
|
|
|
3208
3570
|
var call$e = functionCall;
|
|
3209
3571
|
var getBuiltIn$4 = getBuiltIn$9;
|
|
3210
3572
|
var wellKnownSymbol$k = wellKnownSymbol$p;
|
|
3211
|
-
var
|
|
3573
|
+
var defineBuiltIn$9 = defineBuiltIn$b;
|
|
3212
3574
|
|
|
3213
3575
|
var symbolDefineToPrimitive = function () {
|
|
3214
3576
|
var Symbol = getBuiltIn$4('Symbol');
|
|
@@ -3220,13 +3582,13 @@ var symbolDefineToPrimitive = function () {
|
|
|
3220
3582
|
// `Symbol.prototype[@@toPrimitive]` method
|
|
3221
3583
|
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
|
|
3222
3584
|
// eslint-disable-next-line no-unused-vars -- required for .length
|
|
3223
|
-
|
|
3585
|
+
defineBuiltIn$9(SymbolPrototype, TO_PRIMITIVE, function (hint) {
|
|
3224
3586
|
return call$e(valueOf, this);
|
|
3225
|
-
});
|
|
3587
|
+
}, { arity: 1 });
|
|
3226
3588
|
}
|
|
3227
3589
|
};
|
|
3228
3590
|
|
|
3229
|
-
var defineProperty$
|
|
3591
|
+
var defineProperty$7 = objectDefineProperty.f;
|
|
3230
3592
|
var hasOwn$8 = hasOwnProperty_1;
|
|
3231
3593
|
var wellKnownSymbol$j = wellKnownSymbol$p;
|
|
3232
3594
|
|
|
@@ -3235,7 +3597,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol$j('toStringTag');
|
|
|
3235
3597
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
3236
3598
|
if (target && !STATIC) target = target.prototype;
|
|
3237
3599
|
if (target && !hasOwn$8(target, TO_STRING_TAG$1)) {
|
|
3238
|
-
defineProperty$
|
|
3600
|
+
defineProperty$7(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
3239
3601
|
}
|
|
3240
3602
|
};
|
|
3241
3603
|
|
|
@@ -3263,8 +3625,8 @@ var isArray$4 = Array.isArray || function isArray(argument) {
|
|
|
3263
3625
|
};
|
|
3264
3626
|
|
|
3265
3627
|
var uncurryThis$o = functionUncurryThis;
|
|
3266
|
-
var fails$p = fails$
|
|
3267
|
-
var isCallable$a = isCallable$
|
|
3628
|
+
var fails$p = fails$y;
|
|
3629
|
+
var isCallable$a = isCallable$m;
|
|
3268
3630
|
var classof$6 = classof$a;
|
|
3269
3631
|
var getBuiltIn$3 = getBuiltIn$9;
|
|
3270
3632
|
var inspectSource = inspectSource$3;
|
|
@@ -3315,14 +3677,13 @@ var isConstructor$4 = !construct || fails$p(function () {
|
|
|
3315
3677
|
|| called;
|
|
3316
3678
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
3317
3679
|
|
|
3318
|
-
var global$o = global$N;
|
|
3319
3680
|
var isArray$3 = isArray$4;
|
|
3320
3681
|
var isConstructor$3 = isConstructor$4;
|
|
3321
3682
|
var isObject$8 = isObject$e;
|
|
3322
3683
|
var wellKnownSymbol$i = wellKnownSymbol$p;
|
|
3323
3684
|
|
|
3324
3685
|
var SPECIES$5 = wellKnownSymbol$i('species');
|
|
3325
|
-
var Array$
|
|
3686
|
+
var $Array$2 = Array;
|
|
3326
3687
|
|
|
3327
3688
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
3328
3689
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
@@ -3331,12 +3692,12 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
3331
3692
|
if (isArray$3(originalArray)) {
|
|
3332
3693
|
C = originalArray.constructor;
|
|
3333
3694
|
// cross-realm fallback
|
|
3334
|
-
if (isConstructor$3(C) && (C === Array$
|
|
3695
|
+
if (isConstructor$3(C) && (C === $Array$2 || isArray$3(C.prototype))) C = undefined;
|
|
3335
3696
|
else if (isObject$8(C)) {
|
|
3336
3697
|
C = C[SPECIES$5];
|
|
3337
3698
|
if (C === null) C = undefined;
|
|
3338
3699
|
}
|
|
3339
|
-
} return C === undefined ? Array$
|
|
3700
|
+
} return C === undefined ? $Array$2 : C;
|
|
3340
3701
|
};
|
|
3341
3702
|
|
|
3342
3703
|
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
@@ -3423,13 +3784,13 @@ var arrayIteration = {
|
|
|
3423
3784
|
|
|
3424
3785
|
'use strict';
|
|
3425
3786
|
var $$r = _export;
|
|
3426
|
-
var global$
|
|
3787
|
+
var global$a = global$l;
|
|
3427
3788
|
var call$d = functionCall;
|
|
3428
3789
|
var uncurryThis$m = functionUncurryThis;
|
|
3429
3790
|
var IS_PURE$4 = isPure;
|
|
3430
3791
|
var DESCRIPTORS$7 = descriptors;
|
|
3431
3792
|
var NATIVE_SYMBOL$4 = nativeSymbol;
|
|
3432
|
-
var fails$o = fails$
|
|
3793
|
+
var fails$o = fails$y;
|
|
3433
3794
|
var hasOwn$7 = hasOwnProperty_1;
|
|
3434
3795
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
3435
3796
|
var anObject$b = anObject$g;
|
|
@@ -3443,10 +3804,10 @@ var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
|
3443
3804
|
var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
|
|
3444
3805
|
var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
|
|
3445
3806
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
3446
|
-
var definePropertyModule$
|
|
3807
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
3447
3808
|
var definePropertiesModule = objectDefineProperties;
|
|
3448
3809
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
3449
|
-
var
|
|
3810
|
+
var defineBuiltIn$8 = defineBuiltIn$b;
|
|
3450
3811
|
var shared$3 = shared$7.exports;
|
|
3451
3812
|
var sharedKey$1 = sharedKey$4;
|
|
3452
3813
|
var hiddenKeys$1 = hiddenKeys$6;
|
|
@@ -3467,12 +3828,12 @@ var setInternalState$3 = InternalStateModule$3.set;
|
|
|
3467
3828
|
var getInternalState$3 = InternalStateModule$3.getterFor(SYMBOL);
|
|
3468
3829
|
|
|
3469
3830
|
var ObjectPrototype$1 = Object[PROTOTYPE];
|
|
3470
|
-
var $Symbol = global$
|
|
3831
|
+
var $Symbol = global$a.Symbol;
|
|
3471
3832
|
var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE];
|
|
3472
|
-
var TypeError$
|
|
3473
|
-
var QObject = global$
|
|
3833
|
+
var TypeError$1 = global$a.TypeError;
|
|
3834
|
+
var QObject = global$a.QObject;
|
|
3474
3835
|
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
3475
|
-
var nativeDefineProperty = definePropertyModule$
|
|
3836
|
+
var nativeDefineProperty = definePropertyModule$1.f;
|
|
3476
3837
|
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
|
|
3477
3838
|
var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f;
|
|
3478
3839
|
var push$4 = uncurryThis$m([].push);
|
|
@@ -3583,7 +3944,7 @@ var $getOwnPropertySymbols = function (O) {
|
|
|
3583
3944
|
// https://tc39.es/ecma262/#sec-symbol-constructor
|
|
3584
3945
|
if (!NATIVE_SYMBOL$4) {
|
|
3585
3946
|
$Symbol = function Symbol() {
|
|
3586
|
-
if (isPrototypeOf$5(SymbolPrototype$1, this)) throw TypeError$
|
|
3947
|
+
if (isPrototypeOf$5(SymbolPrototype$1, this)) throw TypeError$1('Symbol is not a constructor');
|
|
3587
3948
|
var description = !arguments.length || arguments[0] === undefined ? undefined : $toString$1(arguments[0]);
|
|
3588
3949
|
var tag = uid$1(description);
|
|
3589
3950
|
var setter = function (value) {
|
|
@@ -3597,16 +3958,16 @@ if (!NATIVE_SYMBOL$4) {
|
|
|
3597
3958
|
|
|
3598
3959
|
SymbolPrototype$1 = $Symbol[PROTOTYPE];
|
|
3599
3960
|
|
|
3600
|
-
|
|
3961
|
+
defineBuiltIn$8(SymbolPrototype$1, 'toString', function toString() {
|
|
3601
3962
|
return getInternalState$3(this).tag;
|
|
3602
3963
|
});
|
|
3603
3964
|
|
|
3604
|
-
|
|
3965
|
+
defineBuiltIn$8($Symbol, 'withoutSetter', function (description) {
|
|
3605
3966
|
return wrap(uid$1(description), description);
|
|
3606
3967
|
});
|
|
3607
3968
|
|
|
3608
3969
|
propertyIsEnumerableModule$1.f = $propertyIsEnumerable$1;
|
|
3609
|
-
definePropertyModule$
|
|
3970
|
+
definePropertyModule$1.f = $defineProperty;
|
|
3610
3971
|
definePropertiesModule.f = $defineProperties;
|
|
3611
3972
|
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
|
|
3612
3973
|
getOwnPropertyNamesModule$1.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
|
|
@@ -3625,12 +3986,12 @@ if (!NATIVE_SYMBOL$4) {
|
|
|
3625
3986
|
}
|
|
3626
3987
|
});
|
|
3627
3988
|
if (!IS_PURE$4) {
|
|
3628
|
-
|
|
3989
|
+
defineBuiltIn$8(ObjectPrototype$1, 'propertyIsEnumerable', $propertyIsEnumerable$1, { unsafe: true });
|
|
3629
3990
|
}
|
|
3630
3991
|
}
|
|
3631
3992
|
}
|
|
3632
3993
|
|
|
3633
|
-
$$r({ global: true, wrap: true, forced: !NATIVE_SYMBOL$4, sham: !NATIVE_SYMBOL$4 }, {
|
|
3994
|
+
$$r({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL$4, sham: !NATIVE_SYMBOL$4 }, {
|
|
3634
3995
|
Symbol: $Symbol
|
|
3635
3996
|
});
|
|
3636
3997
|
|
|
@@ -3709,7 +4070,7 @@ var es_symbol_keyFor = {};
|
|
|
3709
4070
|
var $$p = _export;
|
|
3710
4071
|
var hasOwn$5 = hasOwnProperty_1;
|
|
3711
4072
|
var isSymbol$1 = isSymbol$4;
|
|
3712
|
-
var tryToString$
|
|
4073
|
+
var tryToString$4 = tryToString$6;
|
|
3713
4074
|
var shared$1 = shared$7.exports;
|
|
3714
4075
|
var NATIVE_SYMBOL_REGISTRY = nativeSymbolRegistry;
|
|
3715
4076
|
|
|
@@ -3719,7 +4080,7 @@ var SymbolToStringRegistry = shared$1('symbol-to-string-registry');
|
|
|
3719
4080
|
// https://tc39.es/ecma262/#sec-symbol.keyfor
|
|
3720
4081
|
$$p({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
|
|
3721
4082
|
keyFor: function keyFor(sym) {
|
|
3722
|
-
if (!isSymbol$1(sym)) throw TypeError(tryToString$
|
|
4083
|
+
if (!isSymbol$1(sym)) throw TypeError(tryToString$4(sym) + ' is not a symbol');
|
|
3723
4084
|
if (hasOwn$5(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
|
|
3724
4085
|
}
|
|
3725
4086
|
});
|
|
@@ -3746,9 +4107,9 @@ var getBuiltIn$1 = getBuiltIn$9;
|
|
|
3746
4107
|
var apply$2 = functionApply;
|
|
3747
4108
|
var call$b = functionCall;
|
|
3748
4109
|
var uncurryThis$k = functionUncurryThis;
|
|
3749
|
-
var fails$n = fails$
|
|
4110
|
+
var fails$n = fails$y;
|
|
3750
4111
|
var isArray$2 = isArray$4;
|
|
3751
|
-
var isCallable$9 = isCallable$
|
|
4112
|
+
var isCallable$9 = isCallable$m;
|
|
3752
4113
|
var isObject$7 = isObject$e;
|
|
3753
4114
|
var isSymbol = isSymbol$4;
|
|
3754
4115
|
var arraySlice$2 = arraySlice$3;
|
|
@@ -3804,7 +4165,7 @@ var fixIllFormed = function (match, offset, string) {
|
|
|
3804
4165
|
if ($stringify) {
|
|
3805
4166
|
// `JSON.stringify` method
|
|
3806
4167
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
3807
|
-
$$o({ target: 'JSON', stat: true, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
4168
|
+
$$o({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
3808
4169
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3809
4170
|
stringify: function stringify(it, replacer, space) {
|
|
3810
4171
|
var args = arraySlice$2(arguments);
|
|
@@ -3818,7 +4179,7 @@ var es_object_getOwnPropertySymbols = {};
|
|
|
3818
4179
|
|
|
3819
4180
|
var $$n = _export;
|
|
3820
4181
|
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
3821
|
-
var fails$m = fails$
|
|
4182
|
+
var fails$m = fails$y;
|
|
3822
4183
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
3823
4184
|
var toObject$8 = toObject$b;
|
|
3824
4185
|
|
|
@@ -3842,16 +4203,16 @@ var es_symbol_description = {};
|
|
|
3842
4203
|
'use strict';
|
|
3843
4204
|
var $$m = _export;
|
|
3844
4205
|
var DESCRIPTORS$6 = descriptors;
|
|
3845
|
-
var global$
|
|
4206
|
+
var global$9 = global$l;
|
|
3846
4207
|
var uncurryThis$j = functionUncurryThis;
|
|
3847
4208
|
var hasOwn$4 = hasOwnProperty_1;
|
|
3848
|
-
var isCallable$8 = isCallable$
|
|
4209
|
+
var isCallable$8 = isCallable$m;
|
|
3849
4210
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
3850
4211
|
var toString$c = toString$e;
|
|
3851
|
-
var defineProperty$
|
|
4212
|
+
var defineProperty$6 = objectDefineProperty.f;
|
|
3852
4213
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
3853
4214
|
|
|
3854
|
-
var NativeSymbol = global$
|
|
4215
|
+
var NativeSymbol = global$9.Symbol;
|
|
3855
4216
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
3856
4217
|
|
|
3857
4218
|
if (DESCRIPTORS$6 && isCallable$8(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
@@ -3881,7 +4242,7 @@ if (DESCRIPTORS$6 && isCallable$8(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3881
4242
|
var replace$5 = uncurryThis$j(''.replace);
|
|
3882
4243
|
var stringSlice$7 = uncurryThis$j(''.slice);
|
|
3883
4244
|
|
|
3884
|
-
defineProperty$
|
|
4245
|
+
defineProperty$6(SymbolPrototype, 'description', {
|
|
3885
4246
|
configurable: true,
|
|
3886
4247
|
get: function description() {
|
|
3887
4248
|
var symbol = symbolValueOf(this);
|
|
@@ -3892,7 +4253,7 @@ if (DESCRIPTORS$6 && isCallable$8(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3892
4253
|
}
|
|
3893
4254
|
});
|
|
3894
4255
|
|
|
3895
|
-
$$m({ global: true, forced: true }, {
|
|
4256
|
+
$$m({ global: true, constructor: true, forced: true }, {
|
|
3896
4257
|
Symbol: SymbolWrapper
|
|
3897
4258
|
});
|
|
3898
4259
|
}
|
|
@@ -3910,13 +4271,13 @@ var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString()
|
|
|
3910
4271
|
};
|
|
3911
4272
|
|
|
3912
4273
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3913
|
-
var
|
|
4274
|
+
var defineBuiltIn$7 = defineBuiltIn$b;
|
|
3914
4275
|
var toString$b = objectToString;
|
|
3915
4276
|
|
|
3916
4277
|
// `Object.prototype.toString` method
|
|
3917
4278
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
3918
4279
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
3919
|
-
|
|
4280
|
+
defineBuiltIn$7(Object.prototype, 'toString', toString$b, { unsafe: true });
|
|
3920
4281
|
}
|
|
3921
4282
|
|
|
3922
4283
|
var es_object_entries = {};
|
|
@@ -3971,7 +4332,15 @@ $$l({ target: 'Object', stat: true }, {
|
|
|
3971
4332
|
|
|
3972
4333
|
var es_array_concat = {};
|
|
3973
4334
|
|
|
3974
|
-
var
|
|
4335
|
+
var $TypeError$9 = TypeError;
|
|
4336
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
4337
|
+
|
|
4338
|
+
var doesNotExceedSafeInteger$2 = function (it) {
|
|
4339
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError$9('Maximum allowed index exceeded');
|
|
4340
|
+
return it;
|
|
4341
|
+
};
|
|
4342
|
+
|
|
4343
|
+
var fails$l = fails$y;
|
|
3975
4344
|
var wellKnownSymbol$g = wellKnownSymbol$p;
|
|
3976
4345
|
var V8_VERSION$1 = engineV8Version;
|
|
3977
4346
|
|
|
@@ -3993,12 +4362,12 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {
|
|
|
3993
4362
|
|
|
3994
4363
|
'use strict';
|
|
3995
4364
|
var $$k = _export;
|
|
3996
|
-
var
|
|
3997
|
-
var fails$k = fails$x;
|
|
4365
|
+
var fails$k = fails$y;
|
|
3998
4366
|
var isArray$1 = isArray$4;
|
|
3999
4367
|
var isObject$6 = isObject$e;
|
|
4000
4368
|
var toObject$7 = toObject$b;
|
|
4001
4369
|
var lengthOfArrayLike$6 = lengthOfArrayLike$a;
|
|
4370
|
+
var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
|
|
4002
4371
|
var createProperty$3 = createProperty$5;
|
|
4003
4372
|
var arraySpeciesCreate$1 = arraySpeciesCreate$3;
|
|
4004
4373
|
var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;
|
|
@@ -4006,9 +4375,6 @@ var wellKnownSymbol$f = wellKnownSymbol$p;
|
|
|
4006
4375
|
var V8_VERSION = engineV8Version;
|
|
4007
4376
|
|
|
4008
4377
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol$f('isConcatSpreadable');
|
|
4009
|
-
var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF;
|
|
4010
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
4011
|
-
var TypeError$a = global$l.TypeError;
|
|
4012
4378
|
|
|
4013
4379
|
// We can't use this feature detection in V8 since it causes
|
|
4014
4380
|
// deoptimization and serious performance degradation
|
|
@@ -4032,7 +4398,7 @@ var FORCED$2 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
|
4032
4398
|
// `Array.prototype.concat` method
|
|
4033
4399
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
4034
4400
|
// with adding support of @@isConcatSpreadable and @@species
|
|
4035
|
-
$$k({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
4401
|
+
$$k({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
|
|
4036
4402
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
4037
4403
|
concat: function concat(arg) {
|
|
4038
4404
|
var O = toObject$7(this);
|
|
@@ -4043,10 +4409,10 @@ $$k({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
|
4043
4409
|
E = i === -1 ? O : arguments[i];
|
|
4044
4410
|
if (isConcatSpreadable(E)) {
|
|
4045
4411
|
len = lengthOfArrayLike$6(E);
|
|
4046
|
-
|
|
4412
|
+
doesNotExceedSafeInteger$1(n + len);
|
|
4047
4413
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty$3(A, n, E[k]);
|
|
4048
4414
|
} else {
|
|
4049
|
-
|
|
4415
|
+
doesNotExceedSafeInteger$1(n + 1);
|
|
4050
4416
|
createProperty$3(A, n++, E);
|
|
4051
4417
|
}
|
|
4052
4418
|
}
|
|
@@ -4093,11 +4459,11 @@ var regexpFlags$1 = function () {
|
|
|
4093
4459
|
return result;
|
|
4094
4460
|
};
|
|
4095
4461
|
|
|
4096
|
-
var fails$j = fails$
|
|
4097
|
-
var global$
|
|
4462
|
+
var fails$j = fails$y;
|
|
4463
|
+
var global$8 = global$l;
|
|
4098
4464
|
|
|
4099
4465
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
4100
|
-
var $RegExp$2 = global$
|
|
4466
|
+
var $RegExp$2 = global$8.RegExp;
|
|
4101
4467
|
|
|
4102
4468
|
var UNSUPPORTED_Y$3 = fails$j(function () {
|
|
4103
4469
|
var re = $RegExp$2('a', 'y');
|
|
@@ -4124,22 +4490,22 @@ var regexpStickyHelpers = {
|
|
|
4124
4490
|
UNSUPPORTED_Y: UNSUPPORTED_Y$3
|
|
4125
4491
|
};
|
|
4126
4492
|
|
|
4127
|
-
var fails$i = fails$
|
|
4128
|
-
var global$
|
|
4493
|
+
var fails$i = fails$y;
|
|
4494
|
+
var global$7 = global$l;
|
|
4129
4495
|
|
|
4130
4496
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
4131
|
-
var $RegExp$1 = global$
|
|
4497
|
+
var $RegExp$1 = global$7.RegExp;
|
|
4132
4498
|
|
|
4133
4499
|
var regexpUnsupportedDotAll = fails$i(function () {
|
|
4134
4500
|
var re = $RegExp$1('.', 's');
|
|
4135
4501
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
4136
4502
|
});
|
|
4137
4503
|
|
|
4138
|
-
var fails$h = fails$
|
|
4139
|
-
var global$
|
|
4504
|
+
var fails$h = fails$y;
|
|
4505
|
+
var global$6 = global$l;
|
|
4140
4506
|
|
|
4141
4507
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
4142
|
-
var $RegExp = global$
|
|
4508
|
+
var $RegExp = global$6.RegExp;
|
|
4143
4509
|
|
|
4144
4510
|
var regexpUnsupportedNcg = fails$h(function () {
|
|
4145
4511
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -4281,9 +4647,9 @@ var es_string_split = {};
|
|
|
4281
4647
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
4282
4648
|
|
|
4283
4649
|
var uncurryThis$g = functionUncurryThis;
|
|
4284
|
-
var
|
|
4650
|
+
var defineBuiltIn$6 = defineBuiltIn$b;
|
|
4285
4651
|
var regexpExec$2 = regexpExec$3;
|
|
4286
|
-
var fails$g = fails$
|
|
4652
|
+
var fails$g = fails$y;
|
|
4287
4653
|
var wellKnownSymbol$e = wellKnownSymbol$p;
|
|
4288
4654
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
|
|
4289
4655
|
|
|
@@ -4345,8 +4711,8 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
4345
4711
|
return { done: false };
|
|
4346
4712
|
});
|
|
4347
4713
|
|
|
4348
|
-
|
|
4349
|
-
|
|
4714
|
+
defineBuiltIn$6(String.prototype, KEY, methods[0]);
|
|
4715
|
+
defineBuiltIn$6(RegExpPrototype$3, SYMBOL, methods[1]);
|
|
4350
4716
|
}
|
|
4351
4717
|
|
|
4352
4718
|
if (SHAM) createNonEnumerableProperty$3(RegExpPrototype$3[SYMBOL], 'sham', true);
|
|
@@ -4365,16 +4731,15 @@ var isRegexp = function (it) {
|
|
|
4365
4731
|
return isObject$5(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$4(it) == 'RegExp');
|
|
4366
4732
|
};
|
|
4367
4733
|
|
|
4368
|
-
var global$h = global$N;
|
|
4369
4734
|
var isConstructor$2 = isConstructor$4;
|
|
4370
|
-
var tryToString$
|
|
4735
|
+
var tryToString$3 = tryToString$6;
|
|
4371
4736
|
|
|
4372
|
-
var TypeError$
|
|
4737
|
+
var $TypeError$8 = TypeError;
|
|
4373
4738
|
|
|
4374
4739
|
// `Assert: IsConstructor(argument) is true`
|
|
4375
4740
|
var aConstructor$1 = function (argument) {
|
|
4376
4741
|
if (isConstructor$2(argument)) return argument;
|
|
4377
|
-
throw TypeError$
|
|
4742
|
+
throw $TypeError$8(tryToString$3(argument) + ' is not a constructor');
|
|
4378
4743
|
};
|
|
4379
4744
|
|
|
4380
4745
|
var anObject$9 = anObject$g;
|
|
@@ -4437,14 +4802,13 @@ var advanceStringIndex$2 = function (S, index, unicode) {
|
|
|
4437
4802
|
return index + (unicode ? charAt$4(S, index).length : 1);
|
|
4438
4803
|
};
|
|
4439
4804
|
|
|
4440
|
-
var global$g = global$N;
|
|
4441
4805
|
var call$9 = functionCall;
|
|
4442
4806
|
var anObject$8 = anObject$g;
|
|
4443
|
-
var isCallable$7 = isCallable$
|
|
4807
|
+
var isCallable$7 = isCallable$m;
|
|
4444
4808
|
var classof$3 = classofRaw$1;
|
|
4445
4809
|
var regexpExec$1 = regexpExec$3;
|
|
4446
4810
|
|
|
4447
|
-
var TypeError$
|
|
4811
|
+
var $TypeError$7 = TypeError;
|
|
4448
4812
|
|
|
4449
4813
|
// `RegExpExec` abstract operation
|
|
4450
4814
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
@@ -4456,7 +4820,7 @@ var regexpExecAbstract = function (R, S) {
|
|
|
4456
4820
|
return result;
|
|
4457
4821
|
}
|
|
4458
4822
|
if (classof$3(R) === 'RegExp') return call$9(regexpExec$1, R, S);
|
|
4459
|
-
throw TypeError$
|
|
4823
|
+
throw $TypeError$7('RegExp#exec called on incompatible receiver');
|
|
4460
4824
|
};
|
|
4461
4825
|
|
|
4462
4826
|
'use strict';
|
|
@@ -4476,7 +4840,7 @@ var arraySlice$1 = arraySliceSimple;
|
|
|
4476
4840
|
var callRegExpExec = regexpExecAbstract;
|
|
4477
4841
|
var regexpExec = regexpExec$3;
|
|
4478
4842
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
4479
|
-
var fails$f = fails$
|
|
4843
|
+
var fails$f = fails$y;
|
|
4480
4844
|
|
|
4481
4845
|
var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y;
|
|
4482
4846
|
var MAX_UINT32 = 0xFFFFFFFF;
|
|
@@ -4619,7 +4983,7 @@ fixRegExpWellKnownSymbolLogic$1('split', function (SPLIT, nativeSplit, maybeCall
|
|
|
4619
4983
|
var es_array_join = {};
|
|
4620
4984
|
|
|
4621
4985
|
'use strict';
|
|
4622
|
-
var fails$e = fails$
|
|
4986
|
+
var fails$e = fails$y;
|
|
4623
4987
|
|
|
4624
4988
|
var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
|
|
4625
4989
|
var method = [][METHOD_NAME];
|
|
@@ -4713,23 +5077,21 @@ var getIteratorMethod$3 = function (it) {
|
|
|
4713
5077
|
|| Iterators$3[classof$2(it)];
|
|
4714
5078
|
};
|
|
4715
5079
|
|
|
4716
|
-
var global$f = global$N;
|
|
4717
5080
|
var call$6 = functionCall;
|
|
4718
5081
|
var aCallable$2 = aCallable$5;
|
|
4719
5082
|
var anObject$4 = anObject$g;
|
|
4720
|
-
var tryToString$
|
|
5083
|
+
var tryToString$2 = tryToString$6;
|
|
4721
5084
|
var getIteratorMethod$2 = getIteratorMethod$3;
|
|
4722
5085
|
|
|
4723
|
-
var TypeError$
|
|
5086
|
+
var $TypeError$6 = TypeError;
|
|
4724
5087
|
|
|
4725
5088
|
var getIterator$2 = function (argument, usingIterator) {
|
|
4726
5089
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
|
|
4727
5090
|
if (aCallable$2(iteratorMethod)) return anObject$4(call$6(iteratorMethod, argument));
|
|
4728
|
-
throw TypeError$
|
|
5091
|
+
throw $TypeError$6(tryToString$2(argument) + ' is not iterable');
|
|
4729
5092
|
};
|
|
4730
5093
|
|
|
4731
5094
|
'use strict';
|
|
4732
|
-
var global$e = global$N;
|
|
4733
5095
|
var bind$2 = functionBindContext;
|
|
4734
5096
|
var call$5 = functionCall;
|
|
4735
5097
|
var toObject$6 = toObject$b;
|
|
@@ -4741,7 +5103,7 @@ var createProperty$2 = createProperty$5;
|
|
|
4741
5103
|
var getIterator$1 = getIterator$2;
|
|
4742
5104
|
var getIteratorMethod$1 = getIteratorMethod$3;
|
|
4743
5105
|
|
|
4744
|
-
var Array$
|
|
5106
|
+
var $Array$1 = Array;
|
|
4745
5107
|
|
|
4746
5108
|
// `Array.from` method implementation
|
|
4747
5109
|
// https://tc39.es/ecma262/#sec-array.from
|
|
@@ -4756,7 +5118,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
|
|
|
4756
5118
|
var index = 0;
|
|
4757
5119
|
var length, result, step, iterator, next, value;
|
|
4758
5120
|
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
4759
|
-
if (iteratorMethod && !(this
|
|
5121
|
+
if (iteratorMethod && !(this === $Array$1 && isArrayIteratorMethod$1(iteratorMethod))) {
|
|
4760
5122
|
iterator = getIterator$1(O, iteratorMethod);
|
|
4761
5123
|
next = iterator.next;
|
|
4762
5124
|
result = IS_CONSTRUCTOR ? new this() : [];
|
|
@@ -4766,7 +5128,7 @@ var arrayFrom = function from(arrayLike /* , mapfn = undefined, thisArg = undefi
|
|
|
4766
5128
|
}
|
|
4767
5129
|
} else {
|
|
4768
5130
|
length = lengthOfArrayLike$5(O);
|
|
4769
|
-
result = IS_CONSTRUCTOR ? new this(length) : Array$
|
|
5131
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array$1(length);
|
|
4770
5132
|
for (;length > index; index++) {
|
|
4771
5133
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
4772
5134
|
createProperty$2(result, index, value);
|
|
@@ -4832,7 +5194,7 @@ $$g({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
4832
5194
|
|
|
4833
5195
|
var es_string_iterator = {};
|
|
4834
5196
|
|
|
4835
|
-
var fails$d = fails$
|
|
5197
|
+
var fails$d = fails$y;
|
|
4836
5198
|
|
|
4837
5199
|
var correctPrototypeGetter = !fails$d(function () {
|
|
4838
5200
|
function F() { /* empty */ }
|
|
@@ -4841,34 +5203,34 @@ var correctPrototypeGetter = !fails$d(function () {
|
|
|
4841
5203
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
4842
5204
|
});
|
|
4843
5205
|
|
|
4844
|
-
var global$d = global$N;
|
|
4845
5206
|
var hasOwn$3 = hasOwnProperty_1;
|
|
4846
|
-
var isCallable$6 = isCallable$
|
|
5207
|
+
var isCallable$6 = isCallable$m;
|
|
4847
5208
|
var toObject$5 = toObject$b;
|
|
4848
5209
|
var sharedKey = sharedKey$4;
|
|
4849
5210
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
4850
5211
|
|
|
4851
5212
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
4852
|
-
var Object
|
|
4853
|
-
var ObjectPrototype = Object
|
|
5213
|
+
var $Object = Object;
|
|
5214
|
+
var ObjectPrototype = $Object.prototype;
|
|
4854
5215
|
|
|
4855
5216
|
// `Object.getPrototypeOf` method
|
|
4856
5217
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
4857
|
-
|
|
5218
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
5219
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
4858
5220
|
var object = toObject$5(O);
|
|
4859
5221
|
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
4860
5222
|
var constructor = object.constructor;
|
|
4861
5223
|
if (isCallable$6(constructor) && object instanceof constructor) {
|
|
4862
5224
|
return constructor.prototype;
|
|
4863
|
-
} return object instanceof Object
|
|
5225
|
+
} return object instanceof $Object ? ObjectPrototype : null;
|
|
4864
5226
|
};
|
|
4865
5227
|
|
|
4866
5228
|
'use strict';
|
|
4867
|
-
var fails$c = fails$
|
|
4868
|
-
var isCallable$5 = isCallable$
|
|
5229
|
+
var fails$c = fails$y;
|
|
5230
|
+
var isCallable$5 = isCallable$m;
|
|
4869
5231
|
var create$3 = objectCreate;
|
|
4870
5232
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
4871
|
-
var
|
|
5233
|
+
var defineBuiltIn$5 = defineBuiltIn$b;
|
|
4872
5234
|
var wellKnownSymbol$8 = wellKnownSymbol$p;
|
|
4873
5235
|
var IS_PURE$3 = isPure;
|
|
4874
5236
|
|
|
@@ -4902,7 +5264,7 @@ else if (IS_PURE$3) IteratorPrototype$2 = create$3(IteratorPrototype$2);
|
|
|
4902
5264
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
4903
5265
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
4904
5266
|
if (!isCallable$5(IteratorPrototype$2[ITERATOR$3])) {
|
|
4905
|
-
|
|
5267
|
+
defineBuiltIn$5(IteratorPrototype$2, ITERATOR$3, function () {
|
|
4906
5268
|
return this;
|
|
4907
5269
|
});
|
|
4908
5270
|
}
|
|
@@ -4929,15 +5291,14 @@ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENU
|
|
|
4929
5291
|
return IteratorConstructor;
|
|
4930
5292
|
};
|
|
4931
5293
|
|
|
4932
|
-
var
|
|
4933
|
-
var isCallable$4 = isCallable$l;
|
|
5294
|
+
var isCallable$4 = isCallable$m;
|
|
4934
5295
|
|
|
4935
|
-
var String
|
|
4936
|
-
var TypeError$
|
|
5296
|
+
var $String = String;
|
|
5297
|
+
var $TypeError$5 = TypeError;
|
|
4937
5298
|
|
|
4938
5299
|
var aPossiblePrototype$1 = function (argument) {
|
|
4939
5300
|
if (typeof argument == 'object' || isCallable$4(argument)) return argument;
|
|
4940
|
-
throw TypeError$
|
|
5301
|
+
throw $TypeError$5("Can't set " + $String(argument) + ' as a prototype');
|
|
4941
5302
|
};
|
|
4942
5303
|
|
|
4943
5304
|
/* eslint-disable no-proto -- safe */
|
|
@@ -4974,13 +5335,13 @@ var $$f = _export;
|
|
|
4974
5335
|
var call$4 = functionCall;
|
|
4975
5336
|
var IS_PURE$2 = isPure;
|
|
4976
5337
|
var FunctionName = functionName;
|
|
4977
|
-
var isCallable$3 = isCallable$
|
|
5338
|
+
var isCallable$3 = isCallable$m;
|
|
4978
5339
|
var createIteratorConstructor = createIteratorConstructor$1;
|
|
4979
5340
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
4980
5341
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
4981
5342
|
var setToStringTag$1 = setToStringTag$4;
|
|
4982
5343
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
|
|
4983
|
-
var
|
|
5344
|
+
var defineBuiltIn$4 = defineBuiltIn$b;
|
|
4984
5345
|
var wellKnownSymbol$7 = wellKnownSymbol$p;
|
|
4985
5346
|
var Iterators$1 = iterators;
|
|
4986
5347
|
var IteratorsCore = iteratorsCore;
|
|
@@ -5027,7 +5388,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
5027
5388
|
if (setPrototypeOf$1) {
|
|
5028
5389
|
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
|
5029
5390
|
} else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$2])) {
|
|
5030
|
-
|
|
5391
|
+
defineBuiltIn$4(CurrentIteratorPrototype, ITERATOR$2, returnThis);
|
|
5031
5392
|
}
|
|
5032
5393
|
}
|
|
5033
5394
|
// Set @@toStringTag to native iterators
|
|
@@ -5055,14 +5416,14 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
5055
5416
|
};
|
|
5056
5417
|
if (FORCED) for (KEY in methods) {
|
|
5057
5418
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
5058
|
-
|
|
5419
|
+
defineBuiltIn$4(IterablePrototype, KEY, methods[KEY]);
|
|
5059
5420
|
}
|
|
5060
5421
|
} else $$f({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
5061
5422
|
}
|
|
5062
5423
|
|
|
5063
5424
|
// define iterator
|
|
5064
5425
|
if ((!IS_PURE$2 || FORCED) && IterablePrototype[ITERATOR$2] !== defaultIterator) {
|
|
5065
|
-
|
|
5426
|
+
defineBuiltIn$4(IterablePrototype, ITERATOR$2, defaultIterator, { name: DEFAULT });
|
|
5066
5427
|
}
|
|
5067
5428
|
Iterators$1[NAME] = defaultIterator;
|
|
5068
5429
|
|
|
@@ -5102,14 +5463,13 @@ defineIterator$2(String, 'String', function (iterated) {
|
|
|
5102
5463
|
|
|
5103
5464
|
var es_string_startsWith = {};
|
|
5104
5465
|
|
|
5105
|
-
var global$b = global$N;
|
|
5106
5466
|
var isRegExp$1 = isRegexp;
|
|
5107
5467
|
|
|
5108
|
-
var TypeError$
|
|
5468
|
+
var $TypeError$4 = TypeError;
|
|
5109
5469
|
|
|
5110
5470
|
var notARegexp = function (it) {
|
|
5111
5471
|
if (isRegExp$1(it)) {
|
|
5112
|
-
throw TypeError$
|
|
5472
|
+
throw $TypeError$4("The method doesn't accept regular expressions");
|
|
5113
5473
|
} return it;
|
|
5114
5474
|
};
|
|
5115
5475
|
|
|
@@ -5168,24 +5528,31 @@ $$e({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_RE
|
|
|
5168
5528
|
|
|
5169
5529
|
var es_array_splice = {};
|
|
5170
5530
|
|
|
5531
|
+
'use strict';
|
|
5532
|
+
var tryToString$1 = tryToString$6;
|
|
5533
|
+
|
|
5534
|
+
var $TypeError$3 = TypeError;
|
|
5535
|
+
|
|
5536
|
+
var deletePropertyOrThrow$2 = function (O, P) {
|
|
5537
|
+
if (!delete O[P]) throw $TypeError$3('Cannot delete property ' + tryToString$1(P) + ' of ' + tryToString$1(O));
|
|
5538
|
+
};
|
|
5539
|
+
|
|
5171
5540
|
'use strict';
|
|
5172
5541
|
var $$d = _export;
|
|
5173
|
-
var
|
|
5542
|
+
var toObject$4 = toObject$b;
|
|
5174
5543
|
var toAbsoluteIndex$1 = toAbsoluteIndex$4;
|
|
5175
5544
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
|
|
5176
5545
|
var lengthOfArrayLike$4 = lengthOfArrayLike$a;
|
|
5177
|
-
var
|
|
5546
|
+
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
|
|
5178
5547
|
var arraySpeciesCreate = arraySpeciesCreate$3;
|
|
5179
5548
|
var createProperty$1 = createProperty$5;
|
|
5549
|
+
var deletePropertyOrThrow$1 = deletePropertyOrThrow$2;
|
|
5180
5550
|
var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;
|
|
5181
5551
|
|
|
5182
5552
|
var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('splice');
|
|
5183
5553
|
|
|
5184
|
-
var TypeError$4 = global$a.TypeError;
|
|
5185
5554
|
var max$2 = Math.max;
|
|
5186
5555
|
var min$1 = Math.min;
|
|
5187
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
5188
|
-
var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
|
|
5189
5556
|
|
|
5190
5557
|
// `Array.prototype.splice` method
|
|
5191
5558
|
// https://tc39.es/ecma262/#sec-array.prototype.splice
|
|
@@ -5206,9 +5573,7 @@ $$d({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
|
|
5206
5573
|
insertCount = argumentsLength - 2;
|
|
5207
5574
|
actualDeleteCount = min$1(max$2(toIntegerOrInfinity$1(deleteCount), 0), len - actualStart);
|
|
5208
5575
|
}
|
|
5209
|
-
|
|
5210
|
-
throw TypeError$4(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
|
|
5211
|
-
}
|
|
5576
|
+
doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
|
|
5212
5577
|
A = arraySpeciesCreate(O, actualDeleteCount);
|
|
5213
5578
|
for (k = 0; k < actualDeleteCount; k++) {
|
|
5214
5579
|
from = actualStart + k;
|
|
@@ -5220,15 +5585,15 @@ $$d({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {
|
|
|
5220
5585
|
from = k + actualDeleteCount;
|
|
5221
5586
|
to = k + insertCount;
|
|
5222
5587
|
if (from in O) O[to] = O[from];
|
|
5223
|
-
else
|
|
5588
|
+
else deletePropertyOrThrow$1(O, to);
|
|
5224
5589
|
}
|
|
5225
|
-
for (k = len; k > len - actualDeleteCount + insertCount; k--)
|
|
5590
|
+
for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow$1(O, k - 1);
|
|
5226
5591
|
} else if (insertCount > actualDeleteCount) {
|
|
5227
5592
|
for (k = len - actualDeleteCount; k > actualStart; k--) {
|
|
5228
5593
|
from = k + actualDeleteCount - 1;
|
|
5229
5594
|
to = k + insertCount - 1;
|
|
5230
5595
|
if (from in O) O[to] = O[from];
|
|
5231
|
-
else
|
|
5596
|
+
else deletePropertyOrThrow$1(O, to);
|
|
5232
5597
|
}
|
|
5233
5598
|
}
|
|
5234
5599
|
for (k = 0; k < insertCount; k++) {
|
|
@@ -5295,16 +5660,16 @@ var stringTrim = {
|
|
|
5295
5660
|
trim: createMethod$1(3)
|
|
5296
5661
|
};
|
|
5297
5662
|
|
|
5298
|
-
var global$
|
|
5299
|
-
var fails$b = fails$
|
|
5663
|
+
var global$5 = global$l;
|
|
5664
|
+
var fails$b = fails$y;
|
|
5300
5665
|
var uncurryThis$9 = functionUncurryThis;
|
|
5301
5666
|
var toString$4 = toString$e;
|
|
5302
5667
|
var trim = stringTrim.trim;
|
|
5303
5668
|
var whitespaces$1 = whitespaces$3;
|
|
5304
5669
|
|
|
5305
5670
|
var charAt$2 = uncurryThis$9(''.charAt);
|
|
5306
|
-
var n$ParseFloat = global$
|
|
5307
|
-
var Symbol$1 = global$
|
|
5671
|
+
var n$ParseFloat = global$5.parseFloat;
|
|
5672
|
+
var Symbol$1 = global$5.Symbol;
|
|
5308
5673
|
var ITERATOR$1 = Symbol$1 && Symbol$1.iterator;
|
|
5309
5674
|
var FORCED$1 = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
|
|
5310
5675
|
// MS Edge 18- broken with boxed symbols
|
|
@@ -5345,7 +5710,7 @@ var createHtml = function (string, tag, attribute, value) {
|
|
|
5345
5710
|
return p1 + '>' + S + '</' + tag + '>';
|
|
5346
5711
|
};
|
|
5347
5712
|
|
|
5348
|
-
var fails$a = fails$
|
|
5713
|
+
var fails$a = fails$y;
|
|
5349
5714
|
|
|
5350
5715
|
// check the existence of a method, lowercase
|
|
5351
5716
|
// of a tag and escaping quotes in arguments
|
|
@@ -5397,13 +5762,12 @@ $$9({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$2 },
|
|
|
5397
5762
|
|
|
5398
5763
|
var es_array_reduce = {};
|
|
5399
5764
|
|
|
5400
|
-
var global$8 = global$N;
|
|
5401
5765
|
var aCallable$1 = aCallable$5;
|
|
5402
5766
|
var toObject$3 = toObject$b;
|
|
5403
5767
|
var IndexedObject$1 = indexedObject;
|
|
5404
5768
|
var lengthOfArrayLike$3 = lengthOfArrayLike$a;
|
|
5405
5769
|
|
|
5406
|
-
var TypeError$
|
|
5770
|
+
var $TypeError$2 = TypeError;
|
|
5407
5771
|
|
|
5408
5772
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
5409
5773
|
var createMethod = function (IS_RIGHT) {
|
|
@@ -5422,7 +5786,7 @@ var createMethod = function (IS_RIGHT) {
|
|
|
5422
5786
|
}
|
|
5423
5787
|
index += i;
|
|
5424
5788
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
5425
|
-
throw TypeError$
|
|
5789
|
+
throw $TypeError$2('Reduce of empty array with no initial value');
|
|
5426
5790
|
}
|
|
5427
5791
|
}
|
|
5428
5792
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -5442,9 +5806,9 @@ var arrayReduce = {
|
|
|
5442
5806
|
};
|
|
5443
5807
|
|
|
5444
5808
|
var classof$1 = classofRaw$1;
|
|
5445
|
-
var global$
|
|
5809
|
+
var global$4 = global$l;
|
|
5446
5810
|
|
|
5447
|
-
var engineIsNode = classof$1(global$
|
|
5811
|
+
var engineIsNode = classof$1(global$4.process) == 'process';
|
|
5448
5812
|
|
|
5449
5813
|
'use strict';
|
|
5450
5814
|
var $$8 = _export;
|
|
@@ -5471,7 +5835,7 @@ var es_array_find = {};
|
|
|
5471
5835
|
|
|
5472
5836
|
var wellKnownSymbol$5 = wellKnownSymbol$p;
|
|
5473
5837
|
var create$1 = objectCreate;
|
|
5474
|
-
var
|
|
5838
|
+
var defineProperty$5 = objectDefineProperty.f;
|
|
5475
5839
|
|
|
5476
5840
|
var UNSCOPABLES = wellKnownSymbol$5('unscopables');
|
|
5477
5841
|
var ArrayPrototype = Array.prototype;
|
|
@@ -5479,7 +5843,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
5479
5843
|
// Array.prototype[@@unscopables]
|
|
5480
5844
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
5481
5845
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
5482
|
-
|
|
5846
|
+
defineProperty$5(ArrayPrototype, UNSCOPABLES, {
|
|
5483
5847
|
configurable: true,
|
|
5484
5848
|
value: create$1(null)
|
|
5485
5849
|
});
|
|
@@ -5514,7 +5878,7 @@ addToUnscopables$2(FIND);
|
|
|
5514
5878
|
|
|
5515
5879
|
var es_regexp_constructor = {};
|
|
5516
5880
|
|
|
5517
|
-
var isCallable$2 = isCallable$
|
|
5881
|
+
var isCallable$2 = isCallable$m;
|
|
5518
5882
|
var isObject$4 = isObject$e;
|
|
5519
5883
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
5520
5884
|
|
|
@@ -5577,7 +5941,7 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
5577
5941
|
};
|
|
5578
5942
|
|
|
5579
5943
|
var DESCRIPTORS$3 = descriptors;
|
|
5580
|
-
var global$
|
|
5944
|
+
var global$3 = global$l;
|
|
5581
5945
|
var uncurryThis$6 = functionUncurryThis;
|
|
5582
5946
|
var isForced$1 = isForced_1;
|
|
5583
5947
|
var inheritIfRequired$1 = inheritIfRequired$2;
|
|
@@ -5589,8 +5953,8 @@ var toString$2 = toString$e;
|
|
|
5589
5953
|
var getRegExpFlags$1 = regexpGetFlags;
|
|
5590
5954
|
var stickyHelpers = regexpStickyHelpers;
|
|
5591
5955
|
var proxyAccessor = proxyAccessor$1;
|
|
5592
|
-
var
|
|
5593
|
-
var fails$9 = fails$
|
|
5956
|
+
var defineBuiltIn$3 = defineBuiltIn$b;
|
|
5957
|
+
var fails$9 = fails$y;
|
|
5594
5958
|
var hasOwn$1 = hasOwnProperty_1;
|
|
5595
5959
|
var enforceInternalState = internalState.enforce;
|
|
5596
5960
|
var setSpecies$1 = setSpecies$2;
|
|
@@ -5599,9 +5963,9 @@ var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
|
5599
5963
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
5600
5964
|
|
|
5601
5965
|
var MATCH = wellKnownSymbol$3('match');
|
|
5602
|
-
var NativeRegExp = global$
|
|
5966
|
+
var NativeRegExp = global$3.RegExp;
|
|
5603
5967
|
var RegExpPrototype$1 = NativeRegExp.prototype;
|
|
5604
|
-
var SyntaxError = global$
|
|
5968
|
+
var SyntaxError = global$3.SyntaxError;
|
|
5605
5969
|
var exec = uncurryThis$6(RegExpPrototype$1.exec);
|
|
5606
5970
|
var charAt$1 = uncurryThis$6(''.charAt);
|
|
5607
5971
|
var replace$1 = uncurryThis$6(''.replace);
|
|
@@ -5761,7 +6125,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
5761
6125
|
|
|
5762
6126
|
RegExpPrototype$1.constructor = RegExpWrapper;
|
|
5763
6127
|
RegExpWrapper.prototype = RegExpPrototype$1;
|
|
5764
|
-
|
|
6128
|
+
defineBuiltIn$3(global$3, 'RegExp', RegExpWrapper, { constructor: true });
|
|
5765
6129
|
}
|
|
5766
6130
|
|
|
5767
6131
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
@@ -5771,10 +6135,10 @@ var es_regexp_toString = {};
|
|
|
5771
6135
|
|
|
5772
6136
|
'use strict';
|
|
5773
6137
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
5774
|
-
var
|
|
6138
|
+
var defineBuiltIn$2 = defineBuiltIn$b;
|
|
5775
6139
|
var anObject$2 = anObject$g;
|
|
5776
6140
|
var $toString = toString$e;
|
|
5777
|
-
var fails$8 = fails$
|
|
6141
|
+
var fails$8 = fails$y;
|
|
5778
6142
|
var getRegExpFlags = regexpGetFlags;
|
|
5779
6143
|
|
|
5780
6144
|
var TO_STRING = 'toString';
|
|
@@ -5788,7 +6152,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && n$ToString.name != TO_STRING;
|
|
|
5788
6152
|
// `RegExp.prototype.toString` method
|
|
5789
6153
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
5790
6154
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
5791
|
-
|
|
6155
|
+
defineBuiltIn$2(RegExp.prototype, TO_STRING, function toString() {
|
|
5792
6156
|
var R = anObject$2(this);
|
|
5793
6157
|
var pattern = $toString(R.source);
|
|
5794
6158
|
var flags = $toString(getRegExpFlags(R));
|
|
@@ -5848,9 +6212,9 @@ var apply = functionApply;
|
|
|
5848
6212
|
var call$2 = functionCall;
|
|
5849
6213
|
var uncurryThis$4 = functionUncurryThis;
|
|
5850
6214
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
5851
|
-
var fails$7 = fails$
|
|
6215
|
+
var fails$7 = fails$y;
|
|
5852
6216
|
var anObject$1 = anObject$g;
|
|
5853
|
-
var isCallable$1 = isCallable$
|
|
6217
|
+
var isCallable$1 = isCallable$m;
|
|
5854
6218
|
var toIntegerOrInfinity = toIntegerOrInfinity$5;
|
|
5855
6219
|
var toLength = toLength$4;
|
|
5856
6220
|
var toString$1 = toString$e;
|
|
@@ -7907,17 +8271,17 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7907
8271
|
function _updateGroupStateForItem(item) {
|
|
7908
8272
|
var p = this._p;
|
|
7909
8273
|
|
|
7910
|
-
if (p.multi
|
|
7911
|
-
|
|
7912
|
-
var items, groupIndex, itemIndex;
|
|
8274
|
+
if (!p.multi)
|
|
8275
|
+
return this;
|
|
7913
8276
|
|
|
7914
|
-
|
|
7915
|
-
|
|
8277
|
+
if (item._group) {var _item$ItemSymbol5;
|
|
8278
|
+
// Now loop through children below the group
|
|
7916
8279
|
|
|
7917
|
-
|
|
7918
|
-
groupIndex = items.indexOf(item);
|
|
8280
|
+
var affectedItems = 0;
|
|
7919
8281
|
|
|
7920
|
-
|
|
8282
|
+
if (p.autoCheckGroupChildren) {
|
|
8283
|
+
var items = p.items;
|
|
8284
|
+
var groupIndex = items.indexOf(item);
|
|
7921
8285
|
|
|
7922
8286
|
for (var i = groupIndex + 1, len = items.length; i < len; i++) {var _next$ItemSymbol;
|
|
7923
8287
|
var next = items[i];
|
|
@@ -7950,29 +8314,29 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7950
8314
|
isCheckingGroup: true });
|
|
7951
8315
|
|
|
7952
8316
|
}
|
|
8317
|
+
}
|
|
7953
8318
|
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
}
|
|
8319
|
+
// Fire event
|
|
8320
|
+
this._trigger('groupcheck', {
|
|
8321
|
+
value: item.value,
|
|
8322
|
+
item: (_item$ItemSymbol5 = item[ItemSymbol$1]) !== null && _item$ItemSymbol5 !== void 0 ? _item$ItemSymbol5 : item,
|
|
8323
|
+
affectedItems: affectedItems });
|
|
8324
|
+
|
|
8325
|
+
} else if (p.groupCount > 0 && p.autoCheckGroupChildren) {
|
|
8326
|
+
var _items = p.items;
|
|
8327
|
+
var itemIndex = _items.indexOf(item);
|
|
8328
|
+
var _groupIndex = -1;
|
|
8329
|
+
|
|
8330
|
+
// Find the group index
|
|
8331
|
+
for (var _i8 = itemIndex - 1; _i8 >= 0; _i8--) {
|
|
8332
|
+
if (_items[_i8]._group) {
|
|
8333
|
+
_groupIndex = _i8;
|
|
8334
|
+
break;
|
|
7971
8335
|
}
|
|
8336
|
+
}
|
|
7972
8337
|
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
}
|
|
8338
|
+
if (_groupIndex > -1) {
|
|
8339
|
+
this._updateGroupCheckedState(_groupIndex, true);
|
|
7976
8340
|
}
|
|
7977
8341
|
}
|
|
7978
8342
|
|
|
@@ -7982,50 +8346,50 @@ var DropList = /*#__PURE__*/function () {
|
|
|
7982
8346
|
function _updateGroupCheckedState(groupIndex, fireEvents) {
|
|
7983
8347
|
var p = this._p;
|
|
7984
8348
|
|
|
7985
|
-
if (p.multi && p.autoCheckGroupChildren && groupIndex > -1)
|
|
8349
|
+
if (!(p.multi && p.autoCheckGroupChildren && groupIndex > -1))
|
|
8350
|
+
return this;
|
|
7986
8351
|
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
if (!groupItem || !groupItem._group) return this;
|
|
8352
|
+
var items = p.items;
|
|
8353
|
+
var groupItem = items[groupIndex];
|
|
7990
8354
|
|
|
7991
|
-
|
|
8355
|
+
if (!groupItem || !groupItem._group) return this;
|
|
7992
8356
|
|
|
7993
|
-
|
|
7994
|
-
item = items[i];
|
|
8357
|
+
var item,hasChecked = false,hasUnchecked = false;
|
|
7995
8358
|
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
break;
|
|
8359
|
+
for (var i = groupIndex + 1, len = items.length; i < len; i++) {
|
|
8360
|
+
item = items[i];
|
|
7999
8361
|
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8362
|
+
// Hit the next group, break out
|
|
8363
|
+
if (item._group || !item._child && items[i - 1]._child)
|
|
8364
|
+
break;
|
|
8365
|
+
|
|
8366
|
+
if (item._checked) {
|
|
8367
|
+
hasChecked = true;
|
|
8368
|
+
} else if (!item._checked) {
|
|
8369
|
+
hasUnchecked = true;
|
|
8005
8370
|
}
|
|
8371
|
+
}
|
|
8006
8372
|
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
groupItem._checked = shouldCheckGroup;
|
|
8373
|
+
var shouldCheckGroup = hasChecked && !hasUnchecked;
|
|
8374
|
+
if (!!groupItem._checked !== shouldCheckGroup) {
|
|
8375
|
+
// Update state
|
|
8376
|
+
groupItem._checked = shouldCheckGroup;
|
|
8012
8377
|
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8378
|
+
// Update DOM
|
|
8379
|
+
var nextEl = p.virtualListHelper.getItemElementAt(groupIndex);
|
|
8380
|
+
if (nextEl) {
|
|
8381
|
+
DomCompat.toggleClass(nextEl, "".concat(p.baseClassName, "__item_checked"), groupItem._checked);
|
|
8382
|
+
}
|
|
8018
8383
|
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8384
|
+
if (fireEvents) {var _groupItem$ItemSymbol;
|
|
8385
|
+
// Fire event
|
|
8386
|
+
this._trigger('check', {
|
|
8387
|
+
value: groupItem.value,
|
|
8388
|
+
item: (_groupItem$ItemSymbol = groupItem[ItemSymbol$1]) !== null && _groupItem$ItemSymbol !== void 0 ? _groupItem$ItemSymbol : groupItem,
|
|
8389
|
+
checked: groupItem._checked,
|
|
8390
|
+
isGroup: groupItem._group,
|
|
8391
|
+
isCheckingGroup: false });
|
|
8027
8392
|
|
|
8028
|
-
}
|
|
8029
8393
|
}
|
|
8030
8394
|
}
|
|
8031
8395
|
|
|
@@ -8241,7 +8605,7 @@ var es_set_constructor = {};
|
|
|
8241
8605
|
var internalMetadata = {exports: {}};
|
|
8242
8606
|
|
|
8243
8607
|
// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
|
|
8244
|
-
var fails$6 = fails$
|
|
8608
|
+
var fails$6 = fails$y;
|
|
8245
8609
|
|
|
8246
8610
|
var arrayBufferNonExtensible = fails$6(function () {
|
|
8247
8611
|
if (typeof ArrayBuffer == 'function') {
|
|
@@ -8251,7 +8615,7 @@ var arrayBufferNonExtensible = fails$6(function () {
|
|
|
8251
8615
|
}
|
|
8252
8616
|
});
|
|
8253
8617
|
|
|
8254
|
-
var fails$5 = fails$
|
|
8618
|
+
var fails$5 = fails$y;
|
|
8255
8619
|
var isObject$3 = isObject$e;
|
|
8256
8620
|
var classof = classofRaw$1;
|
|
8257
8621
|
var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
|
|
@@ -8268,7 +8632,7 @@ var objectIsExtensible = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ?
|
|
|
8268
8632
|
return $isExtensible ? $isExtensible(it) : true;
|
|
8269
8633
|
} : $isExtensible;
|
|
8270
8634
|
|
|
8271
|
-
var fails$4 = fails$
|
|
8635
|
+
var fails$4 = fails$y;
|
|
8272
8636
|
|
|
8273
8637
|
var freezing = !fails$4(function () {
|
|
8274
8638
|
// eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing
|
|
@@ -8365,11 +8729,10 @@ var meta = internalMetadata.exports = {
|
|
|
8365
8729
|
|
|
8366
8730
|
hiddenKeys[METADATA] = true;
|
|
8367
8731
|
|
|
8368
|
-
var global$5 = global$N;
|
|
8369
8732
|
var bind$1 = functionBindContext;
|
|
8370
8733
|
var call$1 = functionCall;
|
|
8371
8734
|
var anObject = anObject$g;
|
|
8372
|
-
var tryToString = tryToString$
|
|
8735
|
+
var tryToString = tryToString$6;
|
|
8373
8736
|
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
8374
8737
|
var lengthOfArrayLike$2 = lengthOfArrayLike$a;
|
|
8375
8738
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
@@ -8377,7 +8740,7 @@ var getIterator = getIterator$2;
|
|
|
8377
8740
|
var getIteratorMethod = getIteratorMethod$3;
|
|
8378
8741
|
var iteratorClose = iteratorClose$2;
|
|
8379
8742
|
|
|
8380
|
-
var TypeError$
|
|
8743
|
+
var $TypeError$1 = TypeError;
|
|
8381
8744
|
|
|
8382
8745
|
var Result = function (stopped, result) {
|
|
8383
8746
|
this.stopped = stopped;
|
|
@@ -8410,7 +8773,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
8410
8773
|
iterator = iterable;
|
|
8411
8774
|
} else {
|
|
8412
8775
|
iterFn = getIteratorMethod(iterable);
|
|
8413
|
-
if (!iterFn) throw TypeError$
|
|
8776
|
+
if (!iterFn) throw $TypeError$1(tryToString(iterable) + ' is not iterable');
|
|
8414
8777
|
// optimisation for array iterators
|
|
8415
8778
|
if (isArrayIteratorMethod(iterFn)) {
|
|
8416
8779
|
for (index = 0, length = lengthOfArrayLike$2(iterable); length > index; index++) {
|
|
@@ -8432,28 +8795,27 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
8432
8795
|
} return new Result(false);
|
|
8433
8796
|
};
|
|
8434
8797
|
|
|
8435
|
-
var global$4 = global$N;
|
|
8436
8798
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
8437
8799
|
|
|
8438
|
-
var TypeError
|
|
8800
|
+
var $TypeError = TypeError;
|
|
8439
8801
|
|
|
8440
8802
|
var anInstance$2 = function (it, Prototype) {
|
|
8441
8803
|
if (isPrototypeOf(Prototype, it)) return it;
|
|
8442
|
-
throw TypeError
|
|
8804
|
+
throw $TypeError('Incorrect invocation');
|
|
8443
8805
|
};
|
|
8444
8806
|
|
|
8445
8807
|
'use strict';
|
|
8446
8808
|
var $$5 = _export;
|
|
8447
|
-
var global$
|
|
8809
|
+
var global$2 = global$l;
|
|
8448
8810
|
var uncurryThis$2 = functionUncurryThis;
|
|
8449
8811
|
var isForced = isForced_1;
|
|
8450
|
-
var
|
|
8812
|
+
var defineBuiltIn$1 = defineBuiltIn$b;
|
|
8451
8813
|
var InternalMetadataModule = internalMetadata.exports;
|
|
8452
8814
|
var iterate$1 = iterate$2;
|
|
8453
8815
|
var anInstance$1 = anInstance$2;
|
|
8454
|
-
var isCallable = isCallable$
|
|
8816
|
+
var isCallable = isCallable$m;
|
|
8455
8817
|
var isObject$1 = isObject$e;
|
|
8456
|
-
var fails$3 = fails$
|
|
8818
|
+
var fails$3 = fails$y;
|
|
8457
8819
|
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
|
|
8458
8820
|
var setToStringTag = setToStringTag$4;
|
|
8459
8821
|
var inheritIfRequired = inheritIfRequired$2;
|
|
@@ -8462,14 +8824,14 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
8462
8824
|
var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
|
|
8463
8825
|
var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
|
|
8464
8826
|
var ADDER = IS_MAP ? 'set' : 'add';
|
|
8465
|
-
var NativeConstructor = global$
|
|
8827
|
+
var NativeConstructor = global$2[CONSTRUCTOR_NAME];
|
|
8466
8828
|
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
|
|
8467
8829
|
var Constructor = NativeConstructor;
|
|
8468
8830
|
var exported = {};
|
|
8469
8831
|
|
|
8470
8832
|
var fixMethod = function (KEY) {
|
|
8471
8833
|
var uncurriedNativeMethod = uncurryThis$2(NativePrototype[KEY]);
|
|
8472
|
-
|
|
8834
|
+
defineBuiltIn$1(NativePrototype, KEY,
|
|
8473
8835
|
KEY == 'add' ? function add(value) {
|
|
8474
8836
|
uncurriedNativeMethod(this, value === 0 ? 0 : value);
|
|
8475
8837
|
return this;
|
|
@@ -8539,7 +8901,7 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
8539
8901
|
}
|
|
8540
8902
|
|
|
8541
8903
|
exported[CONSTRUCTOR_NAME] = Constructor;
|
|
8542
|
-
$$5({ global: true, forced: Constructor != NativeConstructor }, exported);
|
|
8904
|
+
$$5({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);
|
|
8543
8905
|
|
|
8544
8906
|
setToStringTag(Constructor, CONSTRUCTOR_NAME);
|
|
8545
8907
|
|
|
@@ -8548,17 +8910,17 @@ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
8548
8910
|
return Constructor;
|
|
8549
8911
|
};
|
|
8550
8912
|
|
|
8551
|
-
var
|
|
8913
|
+
var defineBuiltIn = defineBuiltIn$b;
|
|
8552
8914
|
|
|
8553
|
-
var
|
|
8554
|
-
for (var key in src)
|
|
8915
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
8916
|
+
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
8555
8917
|
return target;
|
|
8556
8918
|
};
|
|
8557
8919
|
|
|
8558
8920
|
'use strict';
|
|
8559
8921
|
var defineProperty$1 = objectDefineProperty.f;
|
|
8560
8922
|
var create = objectCreate;
|
|
8561
|
-
var
|
|
8923
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
8562
8924
|
var bind = functionBindContext;
|
|
8563
8925
|
var anInstance = anInstance$2;
|
|
8564
8926
|
var iterate = iterate$2;
|
|
@@ -8628,7 +8990,7 @@ var collectionStrong$1 = {
|
|
|
8628
8990
|
}
|
|
8629
8991
|
};
|
|
8630
8992
|
|
|
8631
|
-
|
|
8993
|
+
defineBuiltIns(Prototype, {
|
|
8632
8994
|
// `{ Map, Set }.prototype.clear()` methods
|
|
8633
8995
|
// https://tc39.es/ecma262/#sec-map.prototype.clear
|
|
8634
8996
|
// https://tc39.es/ecma262/#sec-set.prototype.clear
|
|
@@ -8688,7 +9050,7 @@ var collectionStrong$1 = {
|
|
|
8688
9050
|
}
|
|
8689
9051
|
});
|
|
8690
9052
|
|
|
8691
|
-
|
|
9053
|
+
defineBuiltIns(Prototype, IS_MAP ? {
|
|
8692
9054
|
// `Map.prototype.get(key)` method
|
|
8693
9055
|
// https://tc39.es/ecma262/#sec-map.prototype.get
|
|
8694
9056
|
get: function get(key) {
|
|
@@ -8816,7 +9178,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
8816
9178
|
|
|
8817
9179
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
8818
9180
|
|
|
8819
|
-
var global$
|
|
9181
|
+
var global$1 = global$l;
|
|
8820
9182
|
var DOMIterables = domIterables;
|
|
8821
9183
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
8822
9184
|
var ArrayIteratorMethods = es_array_iterator;
|
|
@@ -8850,7 +9212,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
8850
9212
|
};
|
|
8851
9213
|
|
|
8852
9214
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
8853
|
-
handlePrototype(global$
|
|
9215
|
+
handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
8854
9216
|
}
|
|
8855
9217
|
|
|
8856
9218
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -8859,7 +9221,6 @@ var es_array_slice = {};
|
|
|
8859
9221
|
|
|
8860
9222
|
'use strict';
|
|
8861
9223
|
var $$4 = _export;
|
|
8862
|
-
var global$1 = global$N;
|
|
8863
9224
|
var isArray = isArray$4;
|
|
8864
9225
|
var isConstructor = isConstructor$4;
|
|
8865
9226
|
var isObject = isObject$e;
|
|
@@ -8874,7 +9235,7 @@ var un$Slice = arraySlice$3;
|
|
|
8874
9235
|
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
|
|
8875
9236
|
|
|
8876
9237
|
var SPECIES = wellKnownSymbol('species');
|
|
8877
|
-
var Array
|
|
9238
|
+
var $Array = Array;
|
|
8878
9239
|
var max = Math.max;
|
|
8879
9240
|
|
|
8880
9241
|
// `Array.prototype.slice` method
|
|
@@ -8891,17 +9252,17 @@ $$4({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
|
8891
9252
|
if (isArray(O)) {
|
|
8892
9253
|
Constructor = O.constructor;
|
|
8893
9254
|
// cross-realm fallback
|
|
8894
|
-
if (isConstructor(Constructor) && (Constructor === Array
|
|
9255
|
+
if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {
|
|
8895
9256
|
Constructor = undefined;
|
|
8896
9257
|
} else if (isObject(Constructor)) {
|
|
8897
9258
|
Constructor = Constructor[SPECIES];
|
|
8898
9259
|
if (Constructor === null) Constructor = undefined;
|
|
8899
9260
|
}
|
|
8900
|
-
if (Constructor === Array
|
|
9261
|
+
if (Constructor === $Array || Constructor === undefined) {
|
|
8901
9262
|
return un$Slice(O, k, fin);
|
|
8902
9263
|
}
|
|
8903
9264
|
}
|
|
8904
|
-
result = new (Constructor === undefined ? Array
|
|
9265
|
+
result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));
|
|
8905
9266
|
for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
|
|
8906
9267
|
result.length = n;
|
|
8907
9268
|
return result;
|
|
@@ -8914,7 +9275,7 @@ var es_object_assign = {};
|
|
|
8914
9275
|
var DESCRIPTORS = descriptors;
|
|
8915
9276
|
var uncurryThis$1 = functionUncurryThis;
|
|
8916
9277
|
var call = functionCall;
|
|
8917
|
-
var fails$2 = fails$
|
|
9278
|
+
var fails$2 = fails$y;
|
|
8918
9279
|
var objectKeys = objectKeys$4;
|
|
8919
9280
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
8920
9281
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -8974,14 +9335,14 @@ var assign = objectAssign;
|
|
|
8974
9335
|
// `Object.assign` method
|
|
8975
9336
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
8976
9337
|
// eslint-disable-next-line es-x/no-object-assign -- required for testing
|
|
8977
|
-
$$3({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
9338
|
+
$$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
8978
9339
|
assign: assign
|
|
8979
9340
|
});
|
|
8980
9341
|
|
|
8981
9342
|
var es_string_trim = {};
|
|
8982
9343
|
|
|
8983
9344
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
8984
|
-
var fails$1 = fails$
|
|
9345
|
+
var fails$1 = fails$y;
|
|
8985
9346
|
var whitespaces = whitespaces$3;
|
|
8986
9347
|
|
|
8987
9348
|
var non = '\u200B\u0085\u180E';
|
|
@@ -9102,8 +9463,9 @@ var uncurryThis = functionUncurryThis;
|
|
|
9102
9463
|
var aCallable = aCallable$5;
|
|
9103
9464
|
var toObject = toObject$b;
|
|
9104
9465
|
var lengthOfArrayLike = lengthOfArrayLike$a;
|
|
9466
|
+
var deletePropertyOrThrow = deletePropertyOrThrow$2;
|
|
9105
9467
|
var toString = toString$e;
|
|
9106
|
-
var fails = fails$
|
|
9468
|
+
var fails = fails$y;
|
|
9107
9469
|
var internalSort = arraySort;
|
|
9108
9470
|
var arrayMethodIsStrict = arrayMethodIsStrict$4;
|
|
9109
9471
|
var FF = engineFfVersion;
|
|
@@ -9196,7 +9558,7 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
|
|
|
9196
9558
|
index = 0;
|
|
9197
9559
|
|
|
9198
9560
|
while (index < itemsLength) array[index] = items[index++];
|
|
9199
|
-
while (index < arrayLength)
|
|
9561
|
+
while (index < arrayLength) deletePropertyOrThrow(array, index++);
|
|
9200
9562
|
|
|
9201
9563
|
return array;
|
|
9202
9564
|
}
|
|
@@ -9298,6 +9660,7 @@ var inputBackbufferCssProps = [
|
|
|
9298
9660
|
* @property {boolean} [sortSelectedItems=true] Should the selected items be sorted?
|
|
9299
9661
|
* @property {boolean} [sortListItems=false] Sort list items
|
|
9300
9662
|
* @property {boolean} [sortListCheckedFirst=true] When sorting - put checked items first (applicable to `multi` mode only)
|
|
9663
|
+
* @property {boolean} [treatGroupSelectionAsItems=false] Treat group items as normal items
|
|
9301
9664
|
* @property {*[]} [stickyValues]
|
|
9302
9665
|
* @property {function(a: DropList.ItemBase, b: DropList.ItemBase):number} [sortItemComparator]
|
|
9303
9666
|
* @property {boolean} [splitListCheckedGroups=true] Split groups to "checked" and "unchecked", works with `sortCheckedFirst` only
|
|
@@ -9343,6 +9706,7 @@ var defaultOptions = {
|
|
|
9343
9706
|
stickyValues: null,
|
|
9344
9707
|
sortItemComparator: null,
|
|
9345
9708
|
splitListCheckedGroups: true,
|
|
9709
|
+
treatGroupSelectionAsItems: false,
|
|
9346
9710
|
blurOnSingleSelection: 'touch',
|
|
9347
9711
|
multi: false,
|
|
9348
9712
|
showSelection: true,
|
|
@@ -9432,6 +9796,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
9432
9796
|
stickyValues: Array.isArray(o.stickyValues) ? new Set(o.stickyValues) : null,
|
|
9433
9797
|
sortItemComparator: o.sortItemComparator,
|
|
9434
9798
|
splitListCheckedGroups: !!o.splitListCheckedGroups,
|
|
9799
|
+
treatGroupSelectionAsItems: o.treatGroupSelectionAsItems,
|
|
9435
9800
|
blurOnSingleSelection: o.blurOnSingleSelection,
|
|
9436
9801
|
multi: o.multi,
|
|
9437
9802
|
showSelection: o.showSelection,
|
|
@@ -9977,6 +10342,29 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
9977
10342
|
return this._p.sortItemComparator;
|
|
9978
10343
|
}
|
|
9979
10344
|
|
|
10345
|
+
/**
|
|
10346
|
+
* @param {boolean} treatGroupSelectionAsItems
|
|
10347
|
+
* @returns {SelectBox}
|
|
10348
|
+
*/ }, { key: "setTreatGroupSelectionAsItems", value:
|
|
10349
|
+
function setTreatGroupSelectionAsItems(treatGroupSelectionAsItems) {
|
|
10350
|
+
var p = this._p;
|
|
10351
|
+
treatGroupSelectionAsItems = !!treatGroupSelectionAsItems;
|
|
10352
|
+
if (p.treatGroupSelectionAsItems === treatGroupSelectionAsItems)
|
|
10353
|
+
return this;
|
|
10354
|
+
|
|
10355
|
+
p.treatGroupSelectionAsItems = treatGroupSelectionAsItems;
|
|
10356
|
+
p.itemsChanged = true;
|
|
10357
|
+
this._scheduleSync();
|
|
10358
|
+
return this;
|
|
10359
|
+
}
|
|
10360
|
+
|
|
10361
|
+
/**
|
|
10362
|
+
* @returns {boolean}
|
|
10363
|
+
*/ }, { key: "isTreatGroupSelectionAsItemsEnabled", value:
|
|
10364
|
+
function isTreatGroupSelectionAsItemsEnabled() {
|
|
10365
|
+
return !this._p.treatGroupSelectionAsItems;
|
|
10366
|
+
}
|
|
10367
|
+
|
|
9980
10368
|
/**
|
|
9981
10369
|
* @param {boolean} splitListCheckedGroups
|
|
9982
10370
|
* @returns {SelectBox}
|
|
@@ -10928,7 +11316,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10928
11316
|
var value = event.value;
|
|
10929
11317
|
|
|
10930
11318
|
var checked = event.checked;
|
|
10931
|
-
if (event.isGroup) return; // Ignore groups
|
|
11319
|
+
if (event.isGroup && !p.treatGroupSelectionAsItems) return; // Ignore groups
|
|
10932
11320
|
|
|
10933
11321
|
var selEvt = { value: value, item: item, cancel: false };
|
|
10934
11322
|
_this5._trigger((checked ? 'addsel' : 'removesel') + ':before', selEvt);
|
|
@@ -10964,7 +11352,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10964
11352
|
_this5._scheduleSync('full');
|
|
10965
11353
|
} else {
|
|
10966
11354
|
if (p.maxMultiItems != null &&
|
|
10967
|
-
p.selectedItems.filter(function (x) {return !x._group;}).length > p.maxMultiItems) {
|
|
11355
|
+
(p.treatGroupSelectionAsItems ? p.selectedItems : p.selectedItems.filter(function (x) {return !x._group;})).length > p.maxMultiItems) {
|
|
10968
11356
|
_this5._scheduleSync('addOrUpdateMultiItemRestElement');
|
|
10969
11357
|
} else {
|
|
10970
11358
|
_this5._scheduleSync('addMultiItemElement', item);
|
|
@@ -10975,7 +11363,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
10975
11363
|
}
|
|
10976
11364
|
} else {
|
|
10977
11365
|
if (p.maxMultiItems != null &&
|
|
10978
|
-
p.selectedItems.filter(function (x) {return !x._group;}).length === p.maxMultiItems) {
|
|
11366
|
+
(p.treatGroupSelectionAsItems ? p.selectedItems : p.selectedItems.filter(function (x) {return !x._group;})).length === p.maxMultiItems) {
|
|
10979
11367
|
_this5._scheduleSync('removeMultiItemRestElement');
|
|
10980
11368
|
} else {
|
|
10981
11369
|
_this5._scheduleSync('removeMultiItemElement', item);
|
|
@@ -11427,6 +11815,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11427
11815
|
var p = this._p;
|
|
11428
11816
|
|
|
11429
11817
|
var term = p.filterTerm;
|
|
11818
|
+
var treatGroupSelectionAsItems = p.treatGroupSelectionAsItems;
|
|
11430
11819
|
|
|
11431
11820
|
if (term || p.filterOnEmptyTerm && p.filterFn) {
|
|
11432
11821
|
var fn = p.filterFn;
|
|
@@ -11445,7 +11834,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11445
11834
|
multiItemLabelProp = p.multiItemLabelProp;
|
|
11446
11835
|
|
|
11447
11836
|
filteredItems = p.items.filter(function (x) {
|
|
11448
|
-
if (x._group) return true;
|
|
11837
|
+
if (!treatGroupSelectionAsItems && x._group) return true;
|
|
11449
11838
|
return matcher.test(x[labelProp] || x[multiItemLabelProp]);
|
|
11450
11839
|
});
|
|
11451
11840
|
} else {
|
|
@@ -11455,7 +11844,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11455
11844
|
|
|
11456
11845
|
p.filteredItems = filteredItems;
|
|
11457
11846
|
|
|
11458
|
-
if (filteredItems) {
|
|
11847
|
+
if (filteredItems && !treatGroupSelectionAsItems) {
|
|
11459
11848
|
// Clean up groups without children
|
|
11460
11849
|
|
|
11461
11850
|
var lastGroup = -1;
|
|
@@ -11713,7 +12102,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11713
12102
|
var p = this._p;
|
|
11714
12103
|
|
|
11715
12104
|
var items = p.selectedItems.slice(0);
|
|
11716
|
-
var count = items.filter(function (x) {return !x._group;}).length - p.maxMultiItems;
|
|
12105
|
+
var count = (p.treatGroupSelectionAsItems ? items : items.filter(function (x) {return !x._group;})).length - p.maxMultiItems;
|
|
11717
12106
|
var label = p.multiItemsRestLabelProvider ?
|
|
11718
12107
|
p.multiItemsRestLabelProvider(count, items) : "+ ".concat(
|
|
11719
12108
|
count);
|
|
@@ -11818,6 +12207,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11818
12207
|
if (p.multi) {
|
|
11819
12208
|
if (fullItemsRender) {
|
|
11820
12209
|
var items = p.selectedItems;
|
|
12210
|
+
var treatGroupSelectionAsItems = p.treatGroupSelectionAsItems;
|
|
11821
12211
|
|
|
11822
12212
|
// Sort these
|
|
11823
12213
|
if (p.sortSelectedItems) {
|
|
@@ -11850,7 +12240,7 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11850
12240
|
|
|
11851
12241
|
// Add item elements
|
|
11852
12242
|
for (var i = 0; i < items.length; i++) {
|
|
11853
|
-
if (items[i]._group) continue;
|
|
12243
|
+
if (!treatGroupSelectionAsItems && items[i]._group) continue;
|
|
11854
12244
|
|
|
11855
12245
|
if (max != null && actualItemCount === max) {
|
|
11856
12246
|
addRestItem = true;
|
|
@@ -11963,7 +12353,8 @@ var SelectBox = /*#__PURE__*/function () {
|
|
|
11963
12353
|
|
|
11964
12354
|
if (item !== undefined) {
|
|
11965
12355
|
if (value === RestMultiItemsSymbol) {
|
|
11966
|
-
var items = p.selectedItems.filter(function (x) {return !x._group;}).
|
|
12356
|
+
var items = (p.treatGroupSelectionAsItems ? p.selectedItems : p.selectedItems.filter(function (x) {return !x._group;})).
|
|
12357
|
+
slice(p.maxMultiItems);
|
|
11967
12358
|
var itemsToRemove = [];var _iterator4 = _createForOfIteratorHelper(
|
|
11968
12359
|
|
|
11969
12360
|
items),_step4;try {for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {var _item3 = _step4.value;
|