acud 0.0.72 → 0.0.73

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/acud.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v0.0.72 */
1
+ /*! acud v0.0.73 */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory(require("react"), require("react-dom"));
@@ -6669,12 +6669,20 @@ __webpack_require__.r(__webpack_exports__);
6669
6669
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.less */ "./components/cascader/style/index.less");
6670
6670
  /* harmony import */ var _empty_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../empty/style */ "./components/empty/style/index.tsx");
6671
6671
  /* harmony import */ var _input_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../input/style */ "./components/input/style/index.tsx");
6672
+ /* harmony import */ var _tag_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../tag/style */ "./components/tag/style/index.tsx");
6673
+ /* harmony import */ var _tooltip_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../tooltip/style */ "./components/tooltip/style/index.tsx");
6674
+ /* harmony import */ var _clear_style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../clear/style */ "./components/clear/style/index.tsx");
6675
+ /* harmony import */ var _checkbox_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../checkbox/style */ "./components/checkbox/style/index.tsx");
6672
6676
 
6673
6677
  // style dependencies
6674
6678
 
6675
6679
 
6676
6680
 
6677
6681
 
6682
+
6683
+
6684
+
6685
+
6678
6686
  /***/ }),
6679
6687
 
6680
6688
  /***/ "./components/cascader/utils.ts":
@@ -9572,6 +9580,7 @@ function PickerPanel(props) {
9572
9580
  var now = generateConfig.getNow();
9573
9581
  if (!date) return now; // When value is null and set showTime
9574
9582
 
9583
+ // When value is null and set showTime
9575
9584
  if (!mergedValue && showTime) {
9576
9585
  if (Object(_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_2__["default"])(showTime) === 'object') {
9577
9586
  return Object(_utils_timeUtil__WEBPACK_IMPORTED_MODULE_23__["setDateTime"])(generateConfig, date, showTime.defaultValue || now);
@@ -10209,6 +10218,7 @@ function InnerRangePicker(props) {
10209
10218
  } // Fill disabled unit
10210
10219
 
10211
10220
 
10221
+ // Fill disabled unit
10212
10222
  for (var i = 0; i < 2; i += 1) {
10213
10223
  if (mergedDisabled[i] && !Object(_utils_miscUtil__WEBPACK_IMPORTED_MODULE_15__["getValue"])(postValues, i) && !Object(_utils_miscUtil__WEBPACK_IMPORTED_MODULE_15__["getValue"])(allowEmpty, i)) {
10214
10224
  postValues = Object(_utils_miscUtil__WEBPACK_IMPORTED_MODULE_15__["updateValues"])(postValues, generateConfig.getNow(), i);
@@ -25061,6 +25071,9 @@ __webpack_require__.r(__webpack_exports__);
25061
25071
  __webpack_require__.r(__webpack_exports__);
25062
25072
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style/index.less */ "./components/style/index.less");
25063
25073
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.less */ "./components/modal/style/index.less");
25074
+ /* harmony import */ var _button_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../button/style */ "./components/button/style/index.tsx");
25075
+
25076
+ // style dependencies
25064
25077
 
25065
25078
 
25066
25079
 
@@ -31609,11 +31622,13 @@ __webpack_require__.r(__webpack_exports__);
31609
31622
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style/index.less */ "./components/style/index.less");
31610
31623
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.less */ "./components/select/style/index.less");
31611
31624
  /* harmony import */ var _empty_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../empty/style */ "./components/empty/style/index.tsx");
31625
+ /* harmony import */ var _checkbox_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../checkbox/style */ "./components/checkbox/style/index.tsx");
31612
31626
 
31613
31627
  // style dependencies
31614
31628
 
31615
31629
 
31616
31630
 
31631
+
31617
31632
  /***/ }),
31618
31633
 
31619
31634
  /***/ "./components/select/utils/iconUtil.tsx":
@@ -46600,6 +46615,7 @@ function RawList(props, ref) {
46600
46615
  } // Always use virtual scroll bar in avoid shaking
46601
46616
 
46602
46617
 
46618
+ // Always use virtual scroll bar in avoid shaking
46603
46619
  if (!inVirtual) {
46604
46620
  return {
46605
46621
  scrollHeight: ((_a = fillerInnerRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0,
@@ -46621,12 +46637,14 @@ function RawList(props, ref) {
46621
46637
  var cacheHeight = heights.get(key);
46622
46638
  var currentItemBottom = itemTop + (cacheHeight === undefined ? itemHeight : cacheHeight); // Check item top in the range
46623
46639
 
46640
+ // Check item top in the range
46624
46641
  if (currentItemBottom >= scrollTop && startIndex === undefined) {
46625
46642
  startIndex = i;
46626
46643
  startOffset = itemTop;
46627
46644
  } // Check item bottom in the range. We will render additional one item for motion usage
46628
46645
 
46629
46646
 
46647
+ // Check item bottom in the range. We will render additional one item for motion usage
46630
46648
  if (currentItemBottom > scrollTop + height && endIndex === undefined) {
46631
46649
  endIndex = i;
46632
46650
  }
@@ -46637,6 +46655,9 @@ function RawList(props, ref) {
46637
46655
  /* istanbul ignore next */
46638
46656
 
46639
46657
 
46658
+ // Fallback to normal if not match. This code should never reach
46659
+
46660
+ /* istanbul ignore next */
46640
46661
  if (startIndex === undefined) {
46641
46662
  startIndex = 0;
46642
46663
  startOffset = 0;
@@ -46647,6 +46668,7 @@ function RawList(props, ref) {
46647
46668
  } // Give cache to improve scroll experience
46648
46669
 
46649
46670
 
46671
+ // Give cache to improve scroll experience
46650
46672
  endIndex = Math.min(endIndex + 1, mergedData.length);
46651
46673
  return {
46652
46674
  scrollHeight: itemTop,
@@ -48020,7 +48042,7 @@ function _defineProperty(obj, key, value) {
48020
48042
  __webpack_require__.r(__webpack_exports__);
48021
48043
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _extends; });
48022
48044
  function _extends() {
48023
- _extends = Object.assign ? Object.assign.bind() : function (target) {
48045
+ _extends = Object.assign || function (target) {
48024
48046
  for (var i = 1; i < arguments.length; i++) {
48025
48047
  var source = arguments[i];
48026
48048
 
@@ -48033,6 +48055,7 @@ function _extends() {
48033
48055
 
48034
48056
  return target;
48035
48057
  };
48058
+
48036
48059
  return _extends.apply(this, arguments);
48037
48060
  }
48038
48061
 
@@ -48052,7 +48075,7 @@ __webpack_require__.r(__webpack_exports__);
48052
48075
 
48053
48076
  function _get() {
48054
48077
  if (typeof Reflect !== "undefined" && Reflect.get) {
48055
- _get = Reflect.get.bind();
48078
+ _get = Reflect.get;
48056
48079
  } else {
48057
48080
  _get = function _get(target, property, receiver) {
48058
48081
  var base = Object(_superPropBase_js__WEBPACK_IMPORTED_MODULE_0__["default"])(target, property);
@@ -48083,7 +48106,7 @@ function _get() {
48083
48106
  __webpack_require__.r(__webpack_exports__);
48084
48107
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _getPrototypeOf; });
48085
48108
  function _getPrototypeOf(o) {
48086
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
48109
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
48087
48110
  return o.__proto__ || Object.getPrototypeOf(o);
48088
48111
  };
48089
48112
  return _getPrototypeOf(o);
@@ -48365,372 +48388,6 @@ function _possibleConstructorReturn(self, call) {
48365
48388
 
48366
48389
  /***/ }),
48367
48390
 
48368
- /***/ "./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js":
48369
- /*!***********************************************************************!*\
48370
- !*** ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js ***!
48371
- \***********************************************************************/
48372
- /*! exports provided: default */
48373
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
48374
-
48375
- "use strict";
48376
- __webpack_require__.r(__webpack_exports__);
48377
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _regeneratorRuntime; });
48378
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
48379
-
48380
- function _regeneratorRuntime() {
48381
- "use strict";
48382
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
48383
-
48384
- _regeneratorRuntime = function _regeneratorRuntime() {
48385
- return exports;
48386
- };
48387
-
48388
- var exports = {},
48389
- Op = Object.prototype,
48390
- hasOwn = Op.hasOwnProperty,
48391
- $Symbol = "function" == typeof Symbol ? Symbol : {},
48392
- iteratorSymbol = $Symbol.iterator || "@@iterator",
48393
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
48394
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
48395
-
48396
- function define(obj, key, value) {
48397
- return Object.defineProperty(obj, key, {
48398
- value: value,
48399
- enumerable: !0,
48400
- configurable: !0,
48401
- writable: !0
48402
- }), obj[key];
48403
- }
48404
-
48405
- try {
48406
- define({}, "");
48407
- } catch (err) {
48408
- define = function define(obj, key, value) {
48409
- return obj[key] = value;
48410
- };
48411
- }
48412
-
48413
- function wrap(innerFn, outerFn, self, tryLocsList) {
48414
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
48415
- generator = Object.create(protoGenerator.prototype),
48416
- context = new Context(tryLocsList || []);
48417
- return generator._invoke = function (innerFn, self, context) {
48418
- var state = "suspendedStart";
48419
- return function (method, arg) {
48420
- if ("executing" === state) throw new Error("Generator is already running");
48421
-
48422
- if ("completed" === state) {
48423
- if ("throw" === method) throw arg;
48424
- return doneResult();
48425
- }
48426
-
48427
- for (context.method = method, context.arg = arg;;) {
48428
- var delegate = context.delegate;
48429
-
48430
- if (delegate) {
48431
- var delegateResult = maybeInvokeDelegate(delegate, context);
48432
-
48433
- if (delegateResult) {
48434
- if (delegateResult === ContinueSentinel) continue;
48435
- return delegateResult;
48436
- }
48437
- }
48438
-
48439
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
48440
- if ("suspendedStart" === state) throw state = "completed", context.arg;
48441
- context.dispatchException(context.arg);
48442
- } else "return" === context.method && context.abrupt("return", context.arg);
48443
- state = "executing";
48444
- var record = tryCatch(innerFn, self, context);
48445
-
48446
- if ("normal" === record.type) {
48447
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
48448
- return {
48449
- value: record.arg,
48450
- done: context.done
48451
- };
48452
- }
48453
-
48454
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
48455
- }
48456
- };
48457
- }(innerFn, self, context), generator;
48458
- }
48459
-
48460
- function tryCatch(fn, obj, arg) {
48461
- try {
48462
- return {
48463
- type: "normal",
48464
- arg: fn.call(obj, arg)
48465
- };
48466
- } catch (err) {
48467
- return {
48468
- type: "throw",
48469
- arg: err
48470
- };
48471
- }
48472
- }
48473
-
48474
- exports.wrap = wrap;
48475
- var ContinueSentinel = {};
48476
-
48477
- function Generator() {}
48478
-
48479
- function GeneratorFunction() {}
48480
-
48481
- function GeneratorFunctionPrototype() {}
48482
-
48483
- var IteratorPrototype = {};
48484
- define(IteratorPrototype, iteratorSymbol, function () {
48485
- return this;
48486
- });
48487
- var getProto = Object.getPrototypeOf,
48488
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
48489
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
48490
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
48491
-
48492
- function defineIteratorMethods(prototype) {
48493
- ["next", "throw", "return"].forEach(function (method) {
48494
- define(prototype, method, function (arg) {
48495
- return this._invoke(method, arg);
48496
- });
48497
- });
48498
- }
48499
-
48500
- function AsyncIterator(generator, PromiseImpl) {
48501
- function invoke(method, arg, resolve, reject) {
48502
- var record = tryCatch(generator[method], generator, arg);
48503
-
48504
- if ("throw" !== record.type) {
48505
- var result = record.arg,
48506
- value = result.value;
48507
- return value && "object" == Object(_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
48508
- invoke("next", value, resolve, reject);
48509
- }, function (err) {
48510
- invoke("throw", err, resolve, reject);
48511
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
48512
- result.value = unwrapped, resolve(result);
48513
- }, function (error) {
48514
- return invoke("throw", error, resolve, reject);
48515
- });
48516
- }
48517
-
48518
- reject(record.arg);
48519
- }
48520
-
48521
- var previousPromise;
48522
-
48523
- this._invoke = function (method, arg) {
48524
- function callInvokeWithMethodAndArg() {
48525
- return new PromiseImpl(function (resolve, reject) {
48526
- invoke(method, arg, resolve, reject);
48527
- });
48528
- }
48529
-
48530
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
48531
- };
48532
- }
48533
-
48534
- function maybeInvokeDelegate(delegate, context) {
48535
- var method = delegate.iterator[context.method];
48536
-
48537
- if (undefined === method) {
48538
- if (context.delegate = null, "throw" === context.method) {
48539
- if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
48540
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
48541
- }
48542
-
48543
- return ContinueSentinel;
48544
- }
48545
-
48546
- var record = tryCatch(method, delegate.iterator, context.arg);
48547
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
48548
- var info = record.arg;
48549
- 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);
48550
- }
48551
-
48552
- function pushTryEntry(locs) {
48553
- var entry = {
48554
- tryLoc: locs[0]
48555
- };
48556
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
48557
- }
48558
-
48559
- function resetTryEntry(entry) {
48560
- var record = entry.completion || {};
48561
- record.type = "normal", delete record.arg, entry.completion = record;
48562
- }
48563
-
48564
- function Context(tryLocsList) {
48565
- this.tryEntries = [{
48566
- tryLoc: "root"
48567
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
48568
- }
48569
-
48570
- function values(iterable) {
48571
- if (iterable) {
48572
- var iteratorMethod = iterable[iteratorSymbol];
48573
- if (iteratorMethod) return iteratorMethod.call(iterable);
48574
- if ("function" == typeof iterable.next) return iterable;
48575
-
48576
- if (!isNaN(iterable.length)) {
48577
- var i = -1,
48578
- next = function next() {
48579
- for (; ++i < iterable.length;) {
48580
- if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
48581
- }
48582
-
48583
- return next.value = undefined, next.done = !0, next;
48584
- };
48585
-
48586
- return next.next = next;
48587
- }
48588
- }
48589
-
48590
- return {
48591
- next: doneResult
48592
- };
48593
- }
48594
-
48595
- function doneResult() {
48596
- return {
48597
- value: undefined,
48598
- done: !0
48599
- };
48600
- }
48601
-
48602
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
48603
- var ctor = "function" == typeof genFun && genFun.constructor;
48604
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
48605
- }, exports.mark = function (genFun) {
48606
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
48607
- }, exports.awrap = function (arg) {
48608
- return {
48609
- __await: arg
48610
- };
48611
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
48612
- return this;
48613
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
48614
- void 0 === PromiseImpl && (PromiseImpl = Promise);
48615
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
48616
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
48617
- return result.done ? result.value : iter.next();
48618
- });
48619
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
48620
- return this;
48621
- }), define(Gp, "toString", function () {
48622
- return "[object Generator]";
48623
- }), exports.keys = function (object) {
48624
- var keys = [];
48625
-
48626
- for (var key in object) {
48627
- keys.push(key);
48628
- }
48629
-
48630
- return keys.reverse(), function next() {
48631
- for (; keys.length;) {
48632
- var key = keys.pop();
48633
- if (key in object) return next.value = key, next.done = !1, next;
48634
- }
48635
-
48636
- return next.done = !0, next;
48637
- };
48638
- }, exports.values = values, Context.prototype = {
48639
- constructor: Context,
48640
- reset: function reset(skipTempReset) {
48641
- 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) {
48642
- "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
48643
- }
48644
- },
48645
- stop: function stop() {
48646
- this.done = !0;
48647
- var rootRecord = this.tryEntries[0].completion;
48648
- if ("throw" === rootRecord.type) throw rootRecord.arg;
48649
- return this.rval;
48650
- },
48651
- dispatchException: function dispatchException(exception) {
48652
- if (this.done) throw exception;
48653
- var context = this;
48654
-
48655
- function handle(loc, caught) {
48656
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
48657
- }
48658
-
48659
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
48660
- var entry = this.tryEntries[i],
48661
- record = entry.completion;
48662
- if ("root" === entry.tryLoc) return handle("end");
48663
-
48664
- if (entry.tryLoc <= this.prev) {
48665
- var hasCatch = hasOwn.call(entry, "catchLoc"),
48666
- hasFinally = hasOwn.call(entry, "finallyLoc");
48667
-
48668
- if (hasCatch && hasFinally) {
48669
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
48670
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
48671
- } else if (hasCatch) {
48672
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
48673
- } else {
48674
- if (!hasFinally) throw new Error("try statement without catch or finally");
48675
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
48676
- }
48677
- }
48678
- }
48679
- },
48680
- abrupt: function abrupt(type, arg) {
48681
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
48682
- var entry = this.tryEntries[i];
48683
-
48684
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
48685
- var finallyEntry = entry;
48686
- break;
48687
- }
48688
- }
48689
-
48690
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
48691
- var record = finallyEntry ? finallyEntry.completion : {};
48692
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
48693
- },
48694
- complete: function complete(record, afterLoc) {
48695
- if ("throw" === record.type) throw record.arg;
48696
- 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;
48697
- },
48698
- finish: function finish(finallyLoc) {
48699
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
48700
- var entry = this.tryEntries[i];
48701
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
48702
- }
48703
- },
48704
- "catch": function _catch(tryLoc) {
48705
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
48706
- var entry = this.tryEntries[i];
48707
-
48708
- if (entry.tryLoc === tryLoc) {
48709
- var record = entry.completion;
48710
-
48711
- if ("throw" === record.type) {
48712
- var thrown = record.arg;
48713
- resetTryEntry(entry);
48714
- }
48715
-
48716
- return thrown;
48717
- }
48718
- }
48719
-
48720
- throw new Error("illegal catch attempt");
48721
- },
48722
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
48723
- return this.delegate = {
48724
- iterator: values(iterable),
48725
- resultName: resultName,
48726
- nextLoc: nextLoc
48727
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
48728
- }
48729
- }, exports;
48730
- }
48731
-
48732
- /***/ }),
48733
-
48734
48391
  /***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
48735
48392
  /*!*******************************************************************!*\
48736
48393
  !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
@@ -48742,10 +48399,11 @@ function _regeneratorRuntime() {
48742
48399
  __webpack_require__.r(__webpack_exports__);
48743
48400
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _setPrototypeOf; });
48744
48401
  function _setPrototypeOf(o, p) {
48745
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
48402
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
48746
48403
  o.__proto__ = p;
48747
48404
  return o;
48748
48405
  };
48406
+
48749
48407
  return _setPrototypeOf(o, p);
48750
48408
  }
48751
48409
 
@@ -48891,391 +48549,6 @@ function _unsupportedIterableToArray(o, minLen) {
48891
48549
 
48892
48550
  /***/ }),
48893
48551
 
48894
- /***/ "./node_modules/@babel/runtime/helpers/regeneratorRuntime.js":
48895
- /*!*******************************************************************!*\
48896
- !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
48897
- \*******************************************************************/
48898
- /*! no static exports found */
48899
- /***/ (function(module, exports, __webpack_require__) {
48900
-
48901
- var _typeof = __webpack_require__(/*! ./typeof.js */ "./node_modules/@babel/runtime/helpers/typeof.js")["default"];
48902
-
48903
- function _regeneratorRuntime() {
48904
- "use strict";
48905
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
48906
-
48907
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
48908
- return exports;
48909
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
48910
- var exports = {},
48911
- Op = Object.prototype,
48912
- hasOwn = Op.hasOwnProperty,
48913
- $Symbol = "function" == typeof Symbol ? Symbol : {},
48914
- iteratorSymbol = $Symbol.iterator || "@@iterator",
48915
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
48916
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
48917
-
48918
- function define(obj, key, value) {
48919
- return Object.defineProperty(obj, key, {
48920
- value: value,
48921
- enumerable: !0,
48922
- configurable: !0,
48923
- writable: !0
48924
- }), obj[key];
48925
- }
48926
-
48927
- try {
48928
- define({}, "");
48929
- } catch (err) {
48930
- define = function define(obj, key, value) {
48931
- return obj[key] = value;
48932
- };
48933
- }
48934
-
48935
- function wrap(innerFn, outerFn, self, tryLocsList) {
48936
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
48937
- generator = Object.create(protoGenerator.prototype),
48938
- context = new Context(tryLocsList || []);
48939
- return generator._invoke = function (innerFn, self, context) {
48940
- var state = "suspendedStart";
48941
- return function (method, arg) {
48942
- if ("executing" === state) throw new Error("Generator is already running");
48943
-
48944
- if ("completed" === state) {
48945
- if ("throw" === method) throw arg;
48946
- return doneResult();
48947
- }
48948
-
48949
- for (context.method = method, context.arg = arg;;) {
48950
- var delegate = context.delegate;
48951
-
48952
- if (delegate) {
48953
- var delegateResult = maybeInvokeDelegate(delegate, context);
48954
-
48955
- if (delegateResult) {
48956
- if (delegateResult === ContinueSentinel) continue;
48957
- return delegateResult;
48958
- }
48959
- }
48960
-
48961
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
48962
- if ("suspendedStart" === state) throw state = "completed", context.arg;
48963
- context.dispatchException(context.arg);
48964
- } else "return" === context.method && context.abrupt("return", context.arg);
48965
- state = "executing";
48966
- var record = tryCatch(innerFn, self, context);
48967
-
48968
- if ("normal" === record.type) {
48969
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
48970
- return {
48971
- value: record.arg,
48972
- done: context.done
48973
- };
48974
- }
48975
-
48976
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
48977
- }
48978
- };
48979
- }(innerFn, self, context), generator;
48980
- }
48981
-
48982
- function tryCatch(fn, obj, arg) {
48983
- try {
48984
- return {
48985
- type: "normal",
48986
- arg: fn.call(obj, arg)
48987
- };
48988
- } catch (err) {
48989
- return {
48990
- type: "throw",
48991
- arg: err
48992
- };
48993
- }
48994
- }
48995
-
48996
- exports.wrap = wrap;
48997
- var ContinueSentinel = {};
48998
-
48999
- function Generator() {}
49000
-
49001
- function GeneratorFunction() {}
49002
-
49003
- function GeneratorFunctionPrototype() {}
49004
-
49005
- var IteratorPrototype = {};
49006
- define(IteratorPrototype, iteratorSymbol, function () {
49007
- return this;
49008
- });
49009
- var getProto = Object.getPrototypeOf,
49010
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
49011
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
49012
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
49013
-
49014
- function defineIteratorMethods(prototype) {
49015
- ["next", "throw", "return"].forEach(function (method) {
49016
- define(prototype, method, function (arg) {
49017
- return this._invoke(method, arg);
49018
- });
49019
- });
49020
- }
49021
-
49022
- function AsyncIterator(generator, PromiseImpl) {
49023
- function invoke(method, arg, resolve, reject) {
49024
- var record = tryCatch(generator[method], generator, arg);
49025
-
49026
- if ("throw" !== record.type) {
49027
- var result = record.arg,
49028
- value = result.value;
49029
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
49030
- invoke("next", value, resolve, reject);
49031
- }, function (err) {
49032
- invoke("throw", err, resolve, reject);
49033
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
49034
- result.value = unwrapped, resolve(result);
49035
- }, function (error) {
49036
- return invoke("throw", error, resolve, reject);
49037
- });
49038
- }
49039
-
49040
- reject(record.arg);
49041
- }
49042
-
49043
- var previousPromise;
49044
-
49045
- this._invoke = function (method, arg) {
49046
- function callInvokeWithMethodAndArg() {
49047
- return new PromiseImpl(function (resolve, reject) {
49048
- invoke(method, arg, resolve, reject);
49049
- });
49050
- }
49051
-
49052
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
49053
- };
49054
- }
49055
-
49056
- function maybeInvokeDelegate(delegate, context) {
49057
- var method = delegate.iterator[context.method];
49058
-
49059
- if (undefined === method) {
49060
- if (context.delegate = null, "throw" === context.method) {
49061
- if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
49062
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
49063
- }
49064
-
49065
- return ContinueSentinel;
49066
- }
49067
-
49068
- var record = tryCatch(method, delegate.iterator, context.arg);
49069
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
49070
- var info = record.arg;
49071
- 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);
49072
- }
49073
-
49074
- function pushTryEntry(locs) {
49075
- var entry = {
49076
- tryLoc: locs[0]
49077
- };
49078
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
49079
- }
49080
-
49081
- function resetTryEntry(entry) {
49082
- var record = entry.completion || {};
49083
- record.type = "normal", delete record.arg, entry.completion = record;
49084
- }
49085
-
49086
- function Context(tryLocsList) {
49087
- this.tryEntries = [{
49088
- tryLoc: "root"
49089
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
49090
- }
49091
-
49092
- function values(iterable) {
49093
- if (iterable) {
49094
- var iteratorMethod = iterable[iteratorSymbol];
49095
- if (iteratorMethod) return iteratorMethod.call(iterable);
49096
- if ("function" == typeof iterable.next) return iterable;
49097
-
49098
- if (!isNaN(iterable.length)) {
49099
- var i = -1,
49100
- next = function next() {
49101
- for (; ++i < iterable.length;) {
49102
- if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
49103
- }
49104
-
49105
- return next.value = undefined, next.done = !0, next;
49106
- };
49107
-
49108
- return next.next = next;
49109
- }
49110
- }
49111
-
49112
- return {
49113
- next: doneResult
49114
- };
49115
- }
49116
-
49117
- function doneResult() {
49118
- return {
49119
- value: undefined,
49120
- done: !0
49121
- };
49122
- }
49123
-
49124
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
49125
- var ctor = "function" == typeof genFun && genFun.constructor;
49126
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
49127
- }, exports.mark = function (genFun) {
49128
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
49129
- }, exports.awrap = function (arg) {
49130
- return {
49131
- __await: arg
49132
- };
49133
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
49134
- return this;
49135
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
49136
- void 0 === PromiseImpl && (PromiseImpl = Promise);
49137
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
49138
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
49139
- return result.done ? result.value : iter.next();
49140
- });
49141
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
49142
- return this;
49143
- }), define(Gp, "toString", function () {
49144
- return "[object Generator]";
49145
- }), exports.keys = function (object) {
49146
- var keys = [];
49147
-
49148
- for (var key in object) {
49149
- keys.push(key);
49150
- }
49151
-
49152
- return keys.reverse(), function next() {
49153
- for (; keys.length;) {
49154
- var key = keys.pop();
49155
- if (key in object) return next.value = key, next.done = !1, next;
49156
- }
49157
-
49158
- return next.done = !0, next;
49159
- };
49160
- }, exports.values = values, Context.prototype = {
49161
- constructor: Context,
49162
- reset: function reset(skipTempReset) {
49163
- 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) {
49164
- "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
49165
- }
49166
- },
49167
- stop: function stop() {
49168
- this.done = !0;
49169
- var rootRecord = this.tryEntries[0].completion;
49170
- if ("throw" === rootRecord.type) throw rootRecord.arg;
49171
- return this.rval;
49172
- },
49173
- dispatchException: function dispatchException(exception) {
49174
- if (this.done) throw exception;
49175
- var context = this;
49176
-
49177
- function handle(loc, caught) {
49178
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
49179
- }
49180
-
49181
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
49182
- var entry = this.tryEntries[i],
49183
- record = entry.completion;
49184
- if ("root" === entry.tryLoc) return handle("end");
49185
-
49186
- if (entry.tryLoc <= this.prev) {
49187
- var hasCatch = hasOwn.call(entry, "catchLoc"),
49188
- hasFinally = hasOwn.call(entry, "finallyLoc");
49189
-
49190
- if (hasCatch && hasFinally) {
49191
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
49192
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
49193
- } else if (hasCatch) {
49194
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
49195
- } else {
49196
- if (!hasFinally) throw new Error("try statement without catch or finally");
49197
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
49198
- }
49199
- }
49200
- }
49201
- },
49202
- abrupt: function abrupt(type, arg) {
49203
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
49204
- var entry = this.tryEntries[i];
49205
-
49206
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
49207
- var finallyEntry = entry;
49208
- break;
49209
- }
49210
- }
49211
-
49212
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
49213
- var record = finallyEntry ? finallyEntry.completion : {};
49214
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
49215
- },
49216
- complete: function complete(record, afterLoc) {
49217
- if ("throw" === record.type) throw record.arg;
49218
- 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;
49219
- },
49220
- finish: function finish(finallyLoc) {
49221
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
49222
- var entry = this.tryEntries[i];
49223
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
49224
- }
49225
- },
49226
- "catch": function _catch(tryLoc) {
49227
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
49228
- var entry = this.tryEntries[i];
49229
-
49230
- if (entry.tryLoc === tryLoc) {
49231
- var record = entry.completion;
49232
-
49233
- if ("throw" === record.type) {
49234
- var thrown = record.arg;
49235
- resetTryEntry(entry);
49236
- }
49237
-
49238
- return thrown;
49239
- }
49240
- }
49241
-
49242
- throw new Error("illegal catch attempt");
49243
- },
49244
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
49245
- return this.delegate = {
49246
- iterator: values(iterable),
49247
- resultName: resultName,
49248
- nextLoc: nextLoc
49249
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
49250
- }
49251
- }, exports;
49252
- }
49253
-
49254
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
49255
-
49256
- /***/ }),
49257
-
49258
- /***/ "./node_modules/@babel/runtime/helpers/typeof.js":
49259
- /*!*******************************************************!*\
49260
- !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
49261
- \*******************************************************/
49262
- /*! no static exports found */
49263
- /***/ (function(module, exports) {
49264
-
49265
- function _typeof(obj) {
49266
- "@babel/helpers - typeof";
49267
-
49268
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
49269
- return typeof obj;
49270
- } : function (obj) {
49271
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
49272
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
49273
- }
49274
-
49275
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
49276
-
49277
- /***/ }),
49278
-
49279
48552
  /***/ "./node_modules/@babel/runtime/regenerator/index.js":
49280
48553
  /*!**********************************************************!*\
49281
48554
  !*** ./node_modules/@babel/runtime/regenerator/index.js ***!
@@ -49283,21 +48556,7 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
49283
48556
  /*! no static exports found */
49284
48557
  /***/ (function(module, exports, __webpack_require__) {
49285
48558
 
49286
- // TODO(Babel 8): Remove this file.
49287
-
49288
- var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "./node_modules/@babel/runtime/helpers/regeneratorRuntime.js")();
49289
- module.exports = runtime;
49290
-
49291
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
49292
- try {
49293
- regeneratorRuntime = runtime;
49294
- } catch (accidentalStrictMode) {
49295
- if (typeof globalThis === "object") {
49296
- globalThis.regeneratorRuntime = runtime;
49297
- } else {
49298
- Function("r", "regeneratorRuntime = r")(runtime);
49299
- }
49300
- }
48559
+ module.exports = __webpack_require__(/*! regenerator-runtime */ "./node_modules/regenerator-runtime/runtime.js");
49301
48560
 
49302
48561
 
49303
48562
  /***/ }),
@@ -86461,16 +85720,7 @@ var Schema = /*#__PURE__*/function () {
86461
85720
  if (rule.asyncValidator) {
86462
85721
  res = rule.asyncValidator(rule, data.value, cb, data.source, options);
86463
85722
  } else if (rule.validator) {
86464
- try {
86465
- res = rule.validator(rule, data.value, cb, data.source, options);
86466
- } catch (error) {
86467
- console.error == null ? void 0 : console.error(error); // rethrow to report error
86468
-
86469
- setTimeout(function () {
86470
- throw error;
86471
- }, 0);
86472
- cb(error.message);
86473
- }
85723
+ res = rule.validator(rule, data.value, cb, data.source, options);
86474
85724
 
86475
85725
  if (res === true) {
86476
85726
  cb();
@@ -86983,8 +86233,8 @@ function getClientPosition(elem) {
86983
86233
  // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确
86984
86234
  // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin
86985
86235
 
86986
- x = Math.floor(box.left);
86987
- y = Math.floor(box.top); // In IE, most of the time, 2 extra pixels are added to the top and left
86236
+ x = box.left;
86237
+ y = box.top; // In IE, most of the time, 2 extra pixels are added to the top and left
86988
86238
  // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and
86989
86239
  // IE6 standards mode, this border can be overridden by setting the
86990
86240
  // document element's border to zero -- thus, we cannot rely on the
@@ -87391,7 +86641,7 @@ function getWH(elem, name, ex) {
87391
86641
  }
87392
86642
 
87393
86643
  var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];
87394
- var borderBoxValue = name === 'width' ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);
86644
+ var borderBoxValue = name === 'width' ? elem.getBoundingClientRect().width : elem.getBoundingClientRect().height;
87395
86645
  var isBorderBox = isBorderBoxFn(elem);
87396
86646
  var cssBoxValue = 0;
87397
86647
 
@@ -112143,7 +111393,7 @@ module.exports = toString;
112143
111393
  /***/ (function(module, exports) {
112144
111394
 
112145
111395
  //! moment.js
112146
- //! version : 2.29.3
111396
+ //! version : 2.29.1
112147
111397
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
112148
111398
  //! license : MIT
112149
111399
  //! momentjs.com
@@ -112220,9 +111470,8 @@ module.exports = toString;
112220
111470
 
112221
111471
  function map(arr, fn) {
112222
111472
  var res = [],
112223
- i,
112224
- arrLen = arr.length;
112225
- for (i = 0; i < arrLen; ++i) {
111473
+ i;
111474
+ for (i = 0; i < arr.length; ++i) {
112226
111475
  res.push(fn(arr[i], i));
112227
111476
  }
112228
111477
  return res;
@@ -112351,10 +111600,7 @@ module.exports = toString;
112351
111600
  updateInProgress = false;
112352
111601
 
112353
111602
  function copyConfig(to, from) {
112354
- var i,
112355
- prop,
112356
- val,
112357
- momentPropertiesLen = momentProperties.length;
111603
+ var i, prop, val;
112358
111604
 
112359
111605
  if (!isUndefined(from._isAMomentObject)) {
112360
111606
  to._isAMomentObject = from._isAMomentObject;
@@ -112387,8 +111633,8 @@ module.exports = toString;
112387
111633
  to._locale = from._locale;
112388
111634
  }
112389
111635
 
112390
- if (momentPropertiesLen > 0) {
112391
- for (i = 0; i < momentPropertiesLen; i++) {
111636
+ if (momentProperties.length > 0) {
111637
+ for (i = 0; i < momentProperties.length; i++) {
112392
111638
  prop = momentProperties[i];
112393
111639
  val = from[prop];
112394
111640
  if (!isUndefined(val)) {
@@ -112443,9 +111689,8 @@ module.exports = toString;
112443
111689
  var args = [],
112444
111690
  arg,
112445
111691
  i,
112446
- key,
112447
- argLen = arguments.length;
112448
- for (i = 0; i < argLen; i++) {
111692
+ key;
111693
+ for (i = 0; i < arguments.length; i++) {
112449
111694
  arg = '';
112450
111695
  if (typeof arguments[i] === 'object') {
112451
111696
  arg += '\n[' + i + '] ';
@@ -112595,8 +111840,7 @@ module.exports = toString;
112595
111840
  );
112596
111841
  }
112597
111842
 
112598
- var formattingTokens =
112599
- /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
111843
+ var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
112600
111844
  localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
112601
111845
  formatFunctions = {},
112602
111846
  formatTokenFunctions = {};
@@ -112900,9 +112144,8 @@ module.exports = toString;
112900
112144
  if (typeof units === 'object') {
112901
112145
  units = normalizeObjectUnits(units);
112902
112146
  var prioritized = getPrioritizedUnits(units),
112903
- i,
112904
- prioritizedLen = prioritized.length;
112905
- for (i = 0; i < prioritizedLen; i++) {
112147
+ i;
112148
+ for (i = 0; i < prioritized.length; i++) {
112906
112149
  this[prioritized[i].unit](units[prioritized[i].unit]);
112907
112150
  }
112908
112151
  } else {
@@ -112932,8 +112175,7 @@ module.exports = toString;
112932
112175
  matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123
112933
112176
  // any word (or two) characters or numbers including two/three word month in arabic.
112934
112177
  // includes scottish gaelic two word and hyphenated months
112935
- matchWord =
112936
- /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
112178
+ matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
112937
112179
  regexes;
112938
112180
 
112939
112181
  regexes = {};
@@ -112959,12 +112201,15 @@ module.exports = toString;
112959
112201
  return regexEscape(
112960
112202
  s
112961
112203
  .replace('\\', '')
112962
- .replace(
112963
- /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
112964
- function (matched, p1, p2, p3, p4) {
112965
- return p1 || p2 || p3 || p4;
112966
- }
112967
- )
112204
+ .replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (
112205
+ matched,
112206
+ p1,
112207
+ p2,
112208
+ p3,
112209
+ p4
112210
+ ) {
112211
+ return p1 || p2 || p3 || p4;
112212
+ })
112968
112213
  );
112969
112214
  }
112970
112215
 
@@ -112976,8 +112221,7 @@ module.exports = toString;
112976
112221
 
112977
112222
  function addParseToken(token, callback) {
112978
112223
  var i,
112979
- func = callback,
112980
- tokenLen;
112224
+ func = callback;
112981
112225
  if (typeof token === 'string') {
112982
112226
  token = [token];
112983
112227
  }
@@ -112986,8 +112230,7 @@ module.exports = toString;
112986
112230
  array[callback] = toInt(input);
112987
112231
  };
112988
112232
  }
112989
- tokenLen = token.length;
112990
- for (i = 0; i < tokenLen; i++) {
112233
+ for (i = 0; i < token.length; i++) {
112991
112234
  tokens[token[i]] = func;
112992
112235
  }
112993
112236
  }
@@ -113098,12 +112341,12 @@ module.exports = toString;
113098
112341
 
113099
112342
  // LOCALES
113100
112343
 
113101
- var defaultLocaleMonths =
113102
- 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
113103
- '_'
113104
- ),
113105
- defaultLocaleMonthsShort =
113106
- 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
112344
+ var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
112345
+ '_'
112346
+ ),
112347
+ defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split(
112348
+ '_'
112349
+ ),
113107
112350
  MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
113108
112351
  defaultMonthsShortRegex = matchWord,
113109
112352
  defaultMonthsRegex = matchWord;
@@ -113545,12 +112788,14 @@ module.exports = toString;
113545
112788
  addRegexToken('W', match1to2);
113546
112789
  addRegexToken('WW', match1to2, match2);
113547
112790
 
113548
- addWeekParseToken(
113549
- ['w', 'ww', 'W', 'WW'],
113550
- function (input, week, config, token) {
113551
- week[token.substr(0, 1)] = toInt(input);
113552
- }
113553
- );
112791
+ addWeekParseToken(['w', 'ww', 'W', 'WW'], function (
112792
+ input,
112793
+ week,
112794
+ config,
112795
+ token
112796
+ ) {
112797
+ week[token.substr(0, 1)] = toInt(input);
112798
+ });
113554
112799
 
113555
112800
  // HELPERS
113556
112801
 
@@ -113675,8 +112920,9 @@ module.exports = toString;
113675
112920
  return ws.slice(n, 7).concat(ws.slice(0, n));
113676
112921
  }
113677
112922
 
113678
- var defaultLocaleWeekdays =
113679
- 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
112923
+ var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
112924
+ '_'
112925
+ ),
113680
112926
  defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
113681
112927
  defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
113682
112928
  defaultWeekdaysRegex = matchWord,
@@ -114224,11 +113470,6 @@ module.exports = toString;
114224
113470
  return globalLocale;
114225
113471
  }
114226
113472
 
114227
- function isLocaleNameSane(name) {
114228
- // Prevent names that look like filesystem paths, i.e contain '/' or '\'
114229
- return name.match('^[^/\\\\]*$') != null;
114230
- }
114231
-
114232
113473
  function loadLocale(name) {
114233
113474
  var oldLocale = null,
114234
113475
  aliasedRequire;
@@ -114237,8 +113478,7 @@ module.exports = toString;
114237
113478
  locales[name] === undefined &&
114238
113479
  typeof module !== 'undefined' &&
114239
113480
  module &&
114240
- module.exports &&
114241
- isLocaleNameSane(name)
113481
+ module.exports
114242
113482
  ) {
114243
113483
  try {
114244
113484
  oldLocale = globalLocale._abbr;
@@ -114455,10 +113695,8 @@ module.exports = toString;
114455
113695
 
114456
113696
  // iso 8601 regex
114457
113697
  // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
114458
- var extendedIsoRegex =
114459
- /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
114460
- basicIsoRegex =
114461
- /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
113698
+ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
113699
+ basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
114462
113700
  tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
114463
113701
  isoDates = [
114464
113702
  ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/],
@@ -114489,8 +113727,7 @@ module.exports = toString;
114489
113727
  ],
114490
113728
  aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
114491
113729
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
114492
- rfc2822 =
114493
- /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
113730
+ rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
114494
113731
  obsOffsets = {
114495
113732
  UT: 0,
114496
113733
  GMT: 0,
@@ -114513,13 +113750,12 @@ module.exports = toString;
114513
113750
  allowTime,
114514
113751
  dateFormat,
114515
113752
  timeFormat,
114516
- tzFormat,
114517
- isoDatesLen = isoDates.length,
114518
- isoTimesLen = isoTimes.length;
113753
+ tzFormat;
114519
113754
 
114520
113755
  if (match) {
114521
113756
  getParsingFlags(config).iso = true;
114522
- for (i = 0, l = isoDatesLen; i < l; i++) {
113757
+
113758
+ for (i = 0, l = isoDates.length; i < l; i++) {
114523
113759
  if (isoDates[i][1].exec(match[1])) {
114524
113760
  dateFormat = isoDates[i][0];
114525
113761
  allowTime = isoDates[i][2] !== false;
@@ -114531,7 +113767,7 @@ module.exports = toString;
114531
113767
  return;
114532
113768
  }
114533
113769
  if (match[3]) {
114534
- for (i = 0, l = isoTimesLen; i < l; i++) {
113770
+ for (i = 0, l = isoTimes.length; i < l; i++) {
114535
113771
  if (isoTimes[i][1].exec(match[3])) {
114536
113772
  // match[2] should be 'T' or space
114537
113773
  timeFormat = (match[2] || ' ') + isoTimes[i][0];
@@ -114911,13 +114147,12 @@ module.exports = toString;
114911
114147
  skipped,
114912
114148
  stringLength = string.length,
114913
114149
  totalParsedInputLength = 0,
114914
- era,
114915
- tokenLen;
114150
+ era;
114916
114151
 
114917
114152
  tokens =
114918
114153
  expandFormat(config._f, config._locale).match(formattingTokens) || [];
114919
- tokenLen = tokens.length;
114920
- for (i = 0; i < tokenLen; i++) {
114154
+
114155
+ for (i = 0; i < tokens.length; i++) {
114921
114156
  token = tokens[i];
114922
114157
  parsedInput = (string.match(getParseRegexForToken(token, config)) ||
114923
114158
  [])[0];
@@ -115012,16 +114247,15 @@ module.exports = toString;
115012
114247
  i,
115013
114248
  currentScore,
115014
114249
  validFormatFound,
115015
- bestFormatIsValid = false,
115016
- configfLen = config._f.length;
114250
+ bestFormatIsValid = false;
115017
114251
 
115018
- if (configfLen === 0) {
114252
+ if (config._f.length === 0) {
115019
114253
  getParsingFlags(config).invalidFormat = true;
115020
114254
  config._d = new Date(NaN);
115021
114255
  return;
115022
114256
  }
115023
114257
 
115024
- for (i = 0; i < configfLen; i++) {
114258
+ for (i = 0; i < config._f.length; i++) {
115025
114259
  currentScore = 0;
115026
114260
  validFormatFound = false;
115027
114261
  tempConfig = copyConfig({}, config);
@@ -115262,8 +114496,7 @@ module.exports = toString;
115262
114496
  function isDurationValid(m) {
115263
114497
  var key,
115264
114498
  unitHasDecimal = false,
115265
- i,
115266
- orderLen = ordering.length;
114499
+ i;
115267
114500
  for (key in m) {
115268
114501
  if (
115269
114502
  hasOwnProp(m, key) &&
@@ -115276,7 +114509,7 @@ module.exports = toString;
115276
114509
  }
115277
114510
  }
115278
114511
 
115279
- for (i = 0; i < orderLen; ++i) {
114512
+ for (i = 0; i < ordering.length; ++i) {
115280
114513
  if (m[ordering[i]]) {
115281
114514
  if (unitHasDecimal) {
115282
114515
  return false; // only allow non-integers for smallest unit
@@ -115601,8 +114834,7 @@ module.exports = toString;
115601
114834
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
115602
114835
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
115603
114836
  // and further modified to allow for strings containing both week and day
115604
- isoRegex =
115605
- /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
114837
+ isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
115606
114838
 
115607
114839
  function createDuration(input, key) {
115608
114840
  var duration = input,
@@ -115823,10 +115055,9 @@ module.exports = toString;
115823
115055
  'ms',
115824
115056
  ],
115825
115057
  i,
115826
- property,
115827
- propertyLen = properties.length;
115058
+ property;
115828
115059
 
115829
- for (i = 0; i < propertyLen; i += 1) {
115060
+ for (i = 0; i < properties.length; i += 1) {
115830
115061
  property = properties[i];
115831
115062
  propertyTest = propertyTest || hasOwnProp(input, property);
115832
115063
  }
@@ -116449,17 +115680,19 @@ module.exports = toString;
116449
115680
  addRegexToken('NNNN', matchEraName);
116450
115681
  addRegexToken('NNNNN', matchEraNarrow);
116451
115682
 
116452
- addParseToken(
116453
- ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],
116454
- function (input, array, config, token) {
116455
- var era = config._locale.erasParse(input, token, config._strict);
116456
- if (era) {
116457
- getParsingFlags(config).era = era;
116458
- } else {
116459
- getParsingFlags(config).invalidEra = input;
116460
- }
115683
+ addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (
115684
+ input,
115685
+ array,
115686
+ config,
115687
+ token
115688
+ ) {
115689
+ var era = config._locale.erasParse(input, token, config._strict);
115690
+ if (era) {
115691
+ getParsingFlags(config).era = era;
115692
+ } else {
115693
+ getParsingFlags(config).invalidEra = input;
116461
115694
  }
116462
- );
115695
+ });
116463
115696
 
116464
115697
  addRegexToken('y', matchUnsigned);
116465
115698
  addRegexToken('yy', matchUnsigned);
@@ -116751,12 +115984,14 @@ module.exports = toString;
116751
115984
  addRegexToken('GGGGG', match1to6, match6);
116752
115985
  addRegexToken('ggggg', match1to6, match6);
116753
115986
 
116754
- addWeekParseToken(
116755
- ['gggg', 'ggggg', 'GGGG', 'GGGGG'],
116756
- function (input, week, config, token) {
116757
- week[token.substr(0, 2)] = toInt(input);
116758
- }
116759
- );
115987
+ addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (
115988
+ input,
115989
+ week,
115990
+ config,
115991
+ token
115992
+ ) {
115993
+ week[token.substr(0, 2)] = toInt(input);
115994
+ });
116760
115995
 
116761
115996
  addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
116762
115997
  week[token] = hooks.parseTwoDigitYear(input);
@@ -117779,7 +117014,7 @@ module.exports = toString;
117779
117014
 
117780
117015
  //! moment.js
117781
117016
 
117782
- hooks.version = '2.29.3';
117017
+ hooks.version = '2.29.1';
117783
117018
 
117784
117019
  setHookCallback(createLocal);
117785
117020
 
@@ -118241,8 +117476,6 @@ __webpack_require__.r(__webpack_exports__);
118241
117476
  }
118242
117477
 
118243
117478
  function trigger(force) {
118244
- cancelTrigger();
118245
-
118246
117479
  if (!calledRef.current || force === true) {
118247
117480
  if (callback() === false) {
118248
117481
  // Not delay since callback cancelled self
@@ -118250,10 +117483,12 @@ __webpack_require__.r(__webpack_exports__);
118250
117483
  }
118251
117484
 
118252
117485
  calledRef.current = true;
117486
+ cancelTrigger();
118253
117487
  timeoutRef.current = window.setTimeout(function () {
118254
117488
  calledRef.current = false;
118255
117489
  }, buffer);
118256
117490
  } else {
117491
+ cancelTrigger();
118257
117492
  timeoutRef.current = window.setTimeout(function () {
118258
117493
  calledRef.current = false;
118259
117494
  trigger();
@@ -118633,7 +117868,7 @@ var CollapsePanel = /*#__PURE__*/function (_React$Component) {
118633
117868
 
118634
117869
  _this = _super.call.apply(_super, [this].concat(args));
118635
117870
 
118636
- _this.onItemClick = function () {
117871
+ _this.handleItemClick = function () {
118637
117872
  var _this$props = _this.props,
118638
117873
  onItemClick = _this$props.onItemClick,
118639
117874
  panelKey = _this$props.panelKey;
@@ -118645,39 +117880,8 @@ var CollapsePanel = /*#__PURE__*/function (_React$Component) {
118645
117880
 
118646
117881
  _this.handleKeyPress = function (e) {
118647
117882
  if (e.key === 'Enter' || e.keyCode === 13 || e.which === 13) {
118648
- _this.onItemClick();
118649
- }
118650
- };
118651
-
118652
- _this.renderIcon = function () {
118653
- var _this$props2 = _this.props,
118654
- showArrow = _this$props2.showArrow,
118655
- expandIcon = _this$props2.expandIcon,
118656
- prefixCls = _this$props2.prefixCls,
118657
- collapsible = _this$props2.collapsible;
118658
-
118659
- if (!showArrow) {
118660
- return null;
117883
+ _this.handleItemClick();
118661
117884
  }
118662
-
118663
- var iconNode = typeof expandIcon === 'function' ? expandIcon(_this.props) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("i", {
118664
- className: "arrow"
118665
- });
118666
- return iconNode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", {
118667
- className: "".concat(prefixCls, "-expand-icon"),
118668
- onClick: collapsible === 'header' ? _this.onItemClick : null
118669
- }, iconNode);
118670
- };
118671
-
118672
- _this.renderTitle = function () {
118673
- var _this$props3 = _this.props,
118674
- header = _this$props3.header,
118675
- prefixCls = _this$props3.prefixCls,
118676
- collapsible = _this$props3.collapsible;
118677
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("span", {
118678
- className: "".concat(prefixCls, "-header-text"),
118679
- onClick: collapsible === 'header' ? _this.onItemClick : null
118680
- }, header);
118681
117885
  };
118682
117886
 
118683
117887
  return _this;
@@ -118691,38 +117895,36 @@ var CollapsePanel = /*#__PURE__*/function (_React$Component) {
118691
117895
  }, {
118692
117896
  key: "render",
118693
117897
  value: function render() {
118694
- var _classNames, _classNames2;
117898
+ var _classNames,
117899
+ _classNames2,
117900
+ _this2 = this;
118695
117901
 
118696
- var _this$props4 = this.props,
118697
- className = _this$props4.className,
118698
- id = _this$props4.id,
118699
- style = _this$props4.style,
118700
- prefixCls = _this$props4.prefixCls,
118701
- headerClass = _this$props4.headerClass,
118702
- children = _this$props4.children,
118703
- isActive = _this$props4.isActive,
118704
- destroyInactivePanel = _this$props4.destroyInactivePanel,
118705
- accordion = _this$props4.accordion,
118706
- forceRender = _this$props4.forceRender,
118707
- openMotion = _this$props4.openMotion,
118708
- extra = _this$props4.extra,
118709
- collapsible = _this$props4.collapsible;
117902
+ var _this$props2 = this.props,
117903
+ className = _this$props2.className,
117904
+ id = _this$props2.id,
117905
+ style = _this$props2.style,
117906
+ prefixCls = _this$props2.prefixCls,
117907
+ header = _this$props2.header,
117908
+ headerClass = _this$props2.headerClass,
117909
+ children = _this$props2.children,
117910
+ isActive = _this$props2.isActive,
117911
+ showArrow = _this$props2.showArrow,
117912
+ destroyInactivePanel = _this$props2.destroyInactivePanel,
117913
+ accordion = _this$props2.accordion,
117914
+ forceRender = _this$props2.forceRender,
117915
+ openMotion = _this$props2.openMotion,
117916
+ expandIcon = _this$props2.expandIcon,
117917
+ extra = _this$props2.extra,
117918
+ collapsible = _this$props2.collapsible;
118710
117919
  var disabled = collapsible === 'disabled';
118711
- var collapsibleHeader = collapsible === 'header';
118712
- var itemCls = classnames__WEBPACK_IMPORTED_MODULE_7___default()((_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-item"), true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-item-active"), isActive), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-item-disabled"), disabled), _classNames), className);
118713
- var headerCls = classnames__WEBPACK_IMPORTED_MODULE_7___default()("".concat(prefixCls, "-header"), (_classNames2 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames2, headerClass, headerClass), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames2, "".concat(prefixCls, "-header-collapsible-only"), collapsibleHeader), _classNames2));
118714
- /** header 节点属性 */
118715
-
118716
- var headerProps = {
118717
- className: headerCls,
118718
- 'aria-expanded': isActive,
118719
- onKeyPress: this.handleKeyPress
118720
- };
117920
+ var headerCls = classnames__WEBPACK_IMPORTED_MODULE_7___default()("".concat(prefixCls, "-header"), (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, headerClass, headerClass), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-header-collapsible-only"), collapsible === 'header'), _classNames));
117921
+ var itemCls = classnames__WEBPACK_IMPORTED_MODULE_7___default()((_classNames2 = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames2, "".concat(prefixCls, "-item"), true), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames2, "".concat(prefixCls, "-item-active"), isActive), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames2, "".concat(prefixCls, "-item-disabled"), disabled), _classNames2), className);
117922
+ var icon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("i", {
117923
+ className: "arrow"
117924
+ });
118721
117925
 
118722
- if (!collapsibleHeader) {
118723
- headerProps.onClick = this.onItemClick;
118724
- headerProps.role = accordion ? 'tab' : 'button';
118725
- headerProps.tabIndex = disabled ? -1 : 0;
117926
+ if (showArrow && typeof expandIcon === 'function') {
117927
+ icon = expandIcon(this.props);
118726
117928
  }
118727
117929
 
118728
117930
  var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean';
@@ -118730,7 +117932,19 @@ var CollapsePanel = /*#__PURE__*/function (_React$Component) {
118730
117932
  className: itemCls,
118731
117933
  style: style,
118732
117934
  id: id
118733
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", headerProps, this.renderIcon(), this.renderTitle(), ifExtraExist && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", {
117935
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", {
117936
+ className: headerCls,
117937
+ onClick: function onClick() {
117938
+ return collapsible !== 'header' && _this2.handleItemClick();
117939
+ },
117940
+ role: accordion ? 'tab' : 'button',
117941
+ tabIndex: disabled ? -1 : 0,
117942
+ "aria-expanded": isActive,
117943
+ onKeyPress: this.handleKeyPress
117944
+ }, showArrow && icon, collapsible === 'header' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("span", {
117945
+ onClick: this.handleItemClick,
117946
+ className: "".concat(prefixCls, "-header-text")
117947
+ }, header) : header, ifExtraExist && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"]("div", {
118734
117948
  className: "".concat(prefixCls, "-extra")
118735
117949
  }, extra)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["createElement"](rc_motion__WEBPACK_IMPORTED_MODULE_8__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
118736
117950
  visible: isActive,
@@ -121134,9 +120348,7 @@ var Context = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createContext"]({
121134
120348
  registerField: warningFunc,
121135
120349
  useSubscribe: warningFunc,
121136
120350
  setInitialValues: warningFunc,
121137
- destroyForm: warningFunc,
121138
120351
  setCallbacks: warningFunc,
121139
- registerWatch: warningFunc,
121140
120352
  getFields: warningFunc,
121141
120353
  setValidateMessages: warningFunc,
121142
120354
  setPreserve: warningFunc,
@@ -121208,8 +120420,7 @@ var Form = function Form(_ref, ref) {
121208
120420
  setInitialValues = _formInstance$getInte.setInitialValues,
121209
120421
  setCallbacks = _formInstance$getInte.setCallbacks,
121210
120422
  setValidateMessages = _formInstance$getInte.setValidateMessages,
121211
- setPreserve = _formInstance$getInte.setPreserve,
121212
- destroyForm = _formInstance$getInte.destroyForm; // Pass ref with form instance
120423
+ setPreserve = _formInstance$getInte.setPreserve; // Pass ref with form instance
121213
120424
 
121214
120425
 
121215
120426
  react__WEBPACK_IMPORTED_MODULE_4__["useImperativeHandle"](ref, function () {
@@ -121253,21 +120464,15 @@ var Form = function Form(_ref, ref) {
121253
120464
 
121254
120465
  if (!mountRef.current) {
121255
120466
  mountRef.current = true;
121256
- }
120467
+ } // Prepare children by `children` type
121257
120468
 
121258
- react__WEBPACK_IMPORTED_MODULE_4__["useEffect"](function () {
121259
- return destroyForm;
121260
- }, // eslint-disable-next-line react-hooks/exhaustive-deps
121261
- []); // Prepare children by `children` type
121262
120469
 
121263
- var childrenNode;
120470
+ var childrenNode = children;
121264
120471
  var childrenRenderProps = typeof children === 'function';
121265
120472
 
121266
120473
  if (childrenRenderProps) {
121267
120474
  var values = formInstance.getFieldsValue(true);
121268
120475
  childrenNode = children(values, formInstance);
121269
- } else {
121270
- childrenNode = children;
121271
120476
  } // Not use subscribe when using render props
121272
120477
 
121273
120478
 
@@ -121598,7 +120803,7 @@ var ListContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createContext
121598
120803
  /*!************************************************!*\
121599
120804
  !*** ./node_modules/rc-field-form/es/index.js ***!
121600
120805
  \************************************************/
121601
- /*! exports provided: Field, List, useForm, FormProvider, FieldContext, ListContext, useWatch, default */
120806
+ /*! exports provided: Field, List, useForm, FormProvider, FieldContext, ListContext, default */
121602
120807
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
121603
120808
 
121604
120809
  "use strict";
@@ -121624,10 +120829,6 @@ __webpack_require__.r(__webpack_exports__);
121624
120829
  /* harmony import */ var _ListContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ListContext */ "./node_modules/rc-field-form/es/ListContext.js");
121625
120830
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ListContext", function() { return _ListContext__WEBPACK_IMPORTED_MODULE_7__["default"]; });
121626
120831
 
121627
- /* harmony import */ var _useWatch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useWatch */ "./node_modules/rc-field-form/es/useWatch.js");
121628
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "useWatch", function() { return _useWatch__WEBPACK_IMPORTED_MODULE_8__["default"]; });
121629
-
121630
-
121631
120832
 
121632
120833
 
121633
120834
 
@@ -121642,7 +120843,6 @@ RefForm.FormProvider = _FormContext__WEBPACK_IMPORTED_MODULE_5__["FormProvider"]
121642
120843
  RefForm.Field = _Field__WEBPACK_IMPORTED_MODULE_1__["default"];
121643
120844
  RefForm.List = _List__WEBPACK_IMPORTED_MODULE_2__["default"];
121644
120845
  RefForm.useForm = _useForm__WEBPACK_IMPORTED_MODULE_3__["default"];
121645
- RefForm.useWatch = _useWatch__WEBPACK_IMPORTED_MODULE_8__["default"];
121646
120846
 
121647
120847
  /* harmony default export */ __webpack_exports__["default"] = (RefForm);
121648
120848
 
@@ -121677,15 +120877,15 @@ __webpack_require__.r(__webpack_exports__);
121677
120877
  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
121678
120878
  /* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "./node_modules/@babel/runtime/helpers/esm/createClass.js");
121679
120879
  /* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
121680
- /* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/warning */ "./node_modules/rc-util/es/warning.js");
121681
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react");
121682
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);
120880
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "react");
120881
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
120882
+ /* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rc-util/es/warning */ "./node_modules/rc-util/es/warning.js");
121683
120883
  /* harmony import */ var _FieldContext__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./FieldContext */ "./node_modules/rc-field-form/es/FieldContext.js");
121684
120884
  /* harmony import */ var _utils_asyncUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/asyncUtil */ "./node_modules/rc-field-form/es/utils/asyncUtil.js");
121685
- /* harmony import */ var _utils_cloneDeep__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/cloneDeep */ "./node_modules/rc-field-form/es/utils/cloneDeep.js");
120885
+ /* harmony import */ var _utils_NameMap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/NameMap */ "./node_modules/rc-field-form/es/utils/NameMap.js");
121686
120886
  /* harmony import */ var _utils_messages__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/messages */ "./node_modules/rc-field-form/es/utils/messages.js");
121687
- /* harmony import */ var _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/NameMap */ "./node_modules/rc-field-form/es/utils/NameMap.js");
121688
- /* harmony import */ var _utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/valueUtil */ "./node_modules/rc-field-form/es/utils/valueUtil.js");
120887
+ /* harmony import */ var _utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./utils/valueUtil */ "./node_modules/rc-field-form/es/utils/valueUtil.js");
120888
+ /* harmony import */ var _utils_cloneDeep__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/cloneDeep */ "./node_modules/rc-field-form/es/utils/cloneDeep.js");
121689
120889
 
121690
120890
 
121691
120891
 
@@ -121733,7 +120933,6 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121733
120933
  setFieldsValue: _this.setFieldsValue,
121734
120934
  validateFields: _this.validateFields,
121735
120935
  submit: _this.submit,
121736
- _init: true,
121737
120936
  getInternalHooks: _this.getInternalHooks
121738
120937
  };
121739
120938
  };
@@ -121747,17 +120946,15 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121747
120946
  registerField: _this.registerField,
121748
120947
  useSubscribe: _this.useSubscribe,
121749
120948
  setInitialValues: _this.setInitialValues,
121750
- destroyForm: _this.destroyForm,
121751
120949
  setCallbacks: _this.setCallbacks,
121752
120950
  setValidateMessages: _this.setValidateMessages,
121753
120951
  getFields: _this.getFields,
121754
120952
  setPreserve: _this.setPreserve,
121755
- getInitialValue: _this.getInitialValue,
121756
- registerWatch: _this.registerWatch
120953
+ getInitialValue: _this.getInitialValue
121757
120954
  };
121758
120955
  }
121759
120956
 
121760
- Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_6__["default"])(false, '`getInternalHooks` is internal usage. Should not call directly.');
120957
+ Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_7__["default"])(false, '`getInternalHooks` is internal usage. Should not call directly.');
121761
120958
  return null;
121762
120959
  };
121763
120960
 
@@ -121765,44 +120962,16 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121765
120962
  _this.subscribable = subscribable;
121766
120963
  };
121767
120964
 
121768
- this.prevWithoutPreserves = null;
121769
-
121770
120965
  this.setInitialValues = function (initialValues, init) {
121771
120966
  _this.initialValues = initialValues || {};
121772
120967
 
121773
120968
  if (init) {
121774
- var _this$prevWithoutPres;
121775
-
121776
- var nextStore = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValues"])({}, initialValues, _this.store); // We will take consider prev form unmount fields.
121777
- // When the field is not `preserve`, we need fill this with initialValues instead of store.
121778
- // eslint-disable-next-line array-callback-return
121779
-
121780
- (_this$prevWithoutPres = _this.prevWithoutPreserves) === null || _this$prevWithoutPres === void 0 ? void 0 : _this$prevWithoutPres.map(function (_ref) {
121781
- var namePath = _ref.key;
121782
- nextStore = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(nextStore, namePath, Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getValue"])(initialValues, namePath));
121783
- });
121784
- _this.prevWithoutPreserves = null;
121785
-
121786
- _this.updateStore(nextStore);
120969
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValues"])({}, _this.store, initialValues);
121787
120970
  }
121788
120971
  };
121789
120972
 
121790
- this.destroyForm = function () {
121791
- var prevWithoutPreserves = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__["default"]();
121792
-
121793
- _this.getFieldEntities(true).forEach(function (entity) {
121794
- if (!_this.isMergedPreserve(entity.isPreserve())) {
121795
- prevWithoutPreserves.set(entity.getNamePath(), true);
121796
- }
121797
- });
121798
-
121799
- _this.prevWithoutPreserves = prevWithoutPreserves;
121800
- };
121801
-
121802
120973
  this.getInitialValue = function (namePath) {
121803
- var initValue = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getValue"])(_this.initialValues, namePath); // Not cloneDeep when without `namePath`
121804
-
121805
- return namePath.length ? Object(_utils_cloneDeep__WEBPACK_IMPORTED_MODULE_10__["default"])(initValue) : initValue;
120974
+ return Object(_utils_cloneDeep__WEBPACK_IMPORTED_MODULE_13__["default"])(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getValue"])(_this.initialValues, namePath));
121806
120975
  };
121807
120976
 
121808
120977
  this.setCallbacks = function (callbacks) {
@@ -121817,31 +120986,6 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121817
120986
  _this.preserve = preserve;
121818
120987
  };
121819
120988
 
121820
- this.watchList = [];
121821
-
121822
- this.registerWatch = function (callback) {
121823
- _this.watchList.push(callback);
121824
-
121825
- return function () {
121826
- _this.watchList = _this.watchList.filter(function (fn) {
121827
- return fn !== callback;
121828
- });
121829
- };
121830
- };
121831
-
121832
- this.notifyWatch = function () {
121833
- var namePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
121834
-
121835
- // No need to cost perf when nothing need to watch
121836
- if (_this.watchList.length) {
121837
- var values = _this.getFieldsValue();
121838
-
121839
- _this.watchList.forEach(function (callback) {
121840
- callback(values, namePath);
121841
- });
121842
- }
121843
- };
121844
-
121845
120989
  this.timeoutId = null;
121846
120990
 
121847
120991
  this.warningUnhooked = function () {
@@ -121850,16 +120994,12 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121850
120994
  _this.timeoutId = null;
121851
120995
 
121852
120996
  if (!_this.formHooked) {
121853
- Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_6__["default"])(false, 'Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?');
120997
+ Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_7__["default"])(false, 'Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?');
121854
120998
  }
121855
120999
  });
121856
121000
  }
121857
121001
  };
121858
121002
 
121859
- this.updateStore = function (nextStore) {
121860
- _this.store = nextStore;
121861
- };
121862
-
121863
121003
  this.getFieldEntities = function () {
121864
121004
  var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
121865
121005
 
@@ -121874,7 +121014,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121874
121014
 
121875
121015
  this.getFieldsMap = function () {
121876
121016
  var pure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
121877
- var cache = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__["default"]();
121017
+ var cache = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_10__["default"]();
121878
121018
 
121879
121019
  _this.getFieldEntities(pure).forEach(function (field) {
121880
121020
  var namePath = field.getNamePath();
@@ -121892,9 +121032,9 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121892
121032
  var cache = _this.getFieldsMap(true);
121893
121033
 
121894
121034
  return nameList.map(function (name) {
121895
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name);
121035
+ var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name);
121896
121036
  return cache.get(namePath) || {
121897
- INVALIDATE_NAME_PATH: Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name)
121037
+ INVALIDATE_NAME_PATH: Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name)
121898
121038
  };
121899
121039
  });
121900
121040
  };
@@ -121929,14 +121069,14 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121929
121069
  }
121930
121070
  }
121931
121071
  });
121932
- return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["cloneByNamePathList"])(_this.store, filteredNameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"]));
121072
+ return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["cloneByNamePathList"])(_this.store, filteredNameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"]));
121933
121073
  };
121934
121074
 
121935
121075
  this.getFieldValue = function (name) {
121936
121076
  _this.warningUnhooked();
121937
121077
 
121938
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name);
121939
- return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getValue"])(_this.store, namePath);
121078
+ var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name);
121079
+ return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getValue"])(_this.store, namePath);
121940
121080
  };
121941
121081
 
121942
121082
  this.getFieldsError = function (nameList) {
@@ -121954,7 +121094,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121954
121094
  }
121955
121095
 
121956
121096
  return {
121957
- name: Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(nameList[index]),
121097
+ name: Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(nameList[index]),
121958
121098
  errors: [],
121959
121099
  warnings: []
121960
121100
  };
@@ -121964,7 +121104,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121964
121104
  this.getFieldError = function (name) {
121965
121105
  _this.warningUnhooked();
121966
121106
 
121967
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name);
121107
+ var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name);
121968
121108
 
121969
121109
  var fieldError = _this.getFieldsError([namePath])[0];
121970
121110
 
@@ -121974,7 +121114,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121974
121114
  this.getFieldWarning = function (name) {
121975
121115
  _this.warningUnhooked();
121976
121116
 
121977
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name);
121117
+ var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name);
121978
121118
 
121979
121119
  var fieldError = _this.getFieldsError([namePath])[0];
121980
121120
 
@@ -121997,14 +121137,14 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
121997
121137
  namePathList = null;
121998
121138
  } else if (args.length === 1) {
121999
121139
  if (Array.isArray(arg0)) {
122000
- namePathList = arg0.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"]);
121140
+ namePathList = arg0.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"]);
122001
121141
  isAllFieldsTouched = false;
122002
121142
  } else {
122003
121143
  namePathList = null;
122004
121144
  isAllFieldsTouched = arg0;
122005
121145
  }
122006
121146
  } else {
122007
- namePathList = arg0.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"]);
121147
+ namePathList = arg0.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"]);
122008
121148
  isAllFieldsTouched = arg1;
122009
121149
  }
122010
121150
 
@@ -122020,7 +121160,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122020
121160
  } // Generate a nest tree for validate
122021
121161
 
122022
121162
 
122023
- var map = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__["default"]();
121163
+ var map = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_10__["default"]();
122024
121164
  namePathList.forEach(function (shortNamePath) {
122025
121165
  map.set(shortNamePath, []);
122026
121166
  });
@@ -122042,8 +121182,8 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122042
121182
  return entities.some(isFieldTouched);
122043
121183
  };
122044
121184
 
122045
- var namePathListEntities = map.map(function (_ref2) {
122046
- var value = _ref2.value;
121185
+ var namePathListEntities = map.map(function (_ref) {
121186
+ var value = _ref.value;
122047
121187
  return value;
122048
121188
  });
122049
121189
  return isAllFieldsTouched ? namePathListEntities.every(isNamePathListTouched) : namePathListEntities.some(isNamePathListTouched);
@@ -122066,10 +121206,10 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122066
121206
  });
122067
121207
  }
122068
121208
 
122069
- var namePathList = nameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"]);
121209
+ var namePathList = nameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"]);
122070
121210
  return fieldEntities.some(function (testField) {
122071
121211
  var fieldNamePath = testField.getNamePath();
122072
- return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["containsNamePath"])(namePathList, fieldNamePath) && testField.isFieldValidating();
121212
+ return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["containsNamePath"])(namePathList, fieldNamePath) && testField.isFieldValidating();
122073
121213
  });
122074
121214
  };
122075
121215
 
@@ -122082,7 +121222,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122082
121222
  this.resetWithFieldInitialValue = function () {
122083
121223
  var info = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
122084
121224
  // Create cache
122085
- var cache = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__["default"]();
121225
+ var cache = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_10__["default"]();
122086
121226
 
122087
121227
  var fieldEntities = _this.getFieldEntities(true);
122088
121228
 
@@ -122111,19 +121251,19 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122111
121251
 
122112
121252
  if (formInitialValue !== undefined) {
122113
121253
  // Warning if conflict with form initialValues and do not modify value
122114
- Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_6__["default"])(false, "Form already set 'initialValues' with path '".concat(namePath.join('.'), "'. Field can not overwrite it."));
121254
+ Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_7__["default"])(false, "Form already set 'initialValues' with path '".concat(namePath.join('.'), "'. Field can not overwrite it."));
122115
121255
  } else {
122116
121256
  var records = cache.get(namePath);
122117
121257
 
122118
121258
  if (records && records.size > 1) {
122119
121259
  // Warning if multiple field set `initialValue`and do not modify value
122120
- Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_6__["default"])(false, "Multiple Field with path '".concat(namePath.join('.'), "' set 'initialValue'. Can not decide which one to pick."));
121260
+ Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_7__["default"])(false, "Multiple Field with path '".concat(namePath.join('.'), "' set 'initialValue'. Can not decide which one to pick."));
122121
121261
  } else if (records) {
122122
121262
  var originValue = _this.getFieldValue(namePath); // Set `initialValue`
122123
121263
 
122124
121264
 
122125
121265
  if (!info.skipExist || originValue === undefined) {
122126
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(_this.store, namePath, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__["default"])(records)[0].value));
121266
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValue"])(_this.store, namePath, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__["default"])(records)[0].value);
122127
121267
  }
122128
121268
  }
122129
121269
  }
@@ -122161,7 +121301,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122161
121301
  var prevStore = _this.store;
122162
121302
 
122163
121303
  if (!nameList) {
122164
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValues"])({}, _this.initialValues));
121304
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValues"])({}, _this.initialValues);
122165
121305
 
122166
121306
  _this.resetWithFieldInitialValue();
122167
121307
 
@@ -122169,17 +121309,15 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122169
121309
  type: 'reset'
122170
121310
  });
122171
121311
 
122172
- _this.notifyWatch();
122173
-
122174
121312
  return;
122175
121313
  } // Reset by `nameList`
122176
121314
 
122177
121315
 
122178
- var namePathList = nameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"]);
121316
+ var namePathList = nameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"]);
122179
121317
  namePathList.forEach(function (namePath) {
122180
121318
  var initialValue = _this.getInitialValue(namePath);
122181
121319
 
122182
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(_this.store, namePath, initialValue));
121320
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValue"])(_this.store, namePath, initialValue);
122183
121321
  });
122184
121322
 
122185
121323
  _this.resetWithFieldInitialValue({
@@ -122189,25 +121327,21 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122189
121327
  _this.notifyObservers(prevStore, namePathList, {
122190
121328
  type: 'reset'
122191
121329
  });
122192
-
122193
- _this.notifyWatch(namePathList);
122194
121330
  };
122195
121331
 
122196
121332
  this.setFields = function (fields) {
122197
121333
  _this.warningUnhooked();
122198
121334
 
122199
121335
  var prevStore = _this.store;
122200
- var namePathList = [];
122201
121336
  fields.forEach(function (fieldData) {
122202
121337
  var name = fieldData.name,
122203
121338
  errors = fieldData.errors,
122204
121339
  data = Object(_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__["default"])(fieldData, _excluded);
122205
121340
 
122206
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name);
122207
- namePathList.push(namePath); // Value
121341
+ var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name); // Value
122208
121342
 
122209
121343
  if ('value' in data) {
122210
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(_this.store, namePath, data.value));
121344
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValue"])(_this.store, namePath, data.value);
122211
121345
  }
122212
121346
 
122213
121347
  _this.notifyObservers(prevStore, [namePath], {
@@ -122215,8 +121349,6 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122215
121349
  data: fieldData
122216
121350
  });
122217
121351
  });
122218
-
122219
- _this.notifyWatch(namePathList);
122220
121352
  };
122221
121353
 
122222
121354
  this.getFields = function () {
@@ -122244,25 +121376,16 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122244
121376
 
122245
121377
  if (initialValue !== undefined) {
122246
121378
  var namePath = entity.getNamePath();
122247
- var prevValue = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getValue"])(_this.store, namePath);
121379
+ var prevValue = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getValue"])(_this.store, namePath);
122248
121380
 
122249
121381
  if (prevValue === undefined) {
122250
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(_this.store, namePath, initialValue));
121382
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValue"])(_this.store, namePath, initialValue);
122251
121383
  }
122252
121384
  }
122253
121385
  };
122254
121386
 
122255
- this.isMergedPreserve = function (fieldPreserve) {
122256
- var mergedPreserve = fieldPreserve !== undefined ? fieldPreserve : _this.preserve;
122257
- return mergedPreserve !== null && mergedPreserve !== void 0 ? mergedPreserve : true;
122258
- };
122259
-
122260
121387
  this.registerField = function (entity) {
122261
- _this.fieldEntities.push(entity);
122262
-
122263
- var namePath = entity.getNamePath();
122264
-
122265
- _this.notifyWatch([namePath]); // Set initial values
121388
+ _this.fieldEntities.push(entity); // Set initial values
122266
121389
 
122267
121390
 
122268
121391
  if (entity.props.initialValue !== undefined) {
@@ -122286,18 +121409,19 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122286
121409
  return item !== entity;
122287
121410
  }); // Clean up store value if not preserve
122288
121411
 
122289
- if (!_this.isMergedPreserve(preserve) && (!isListField || subNamePath.length > 1)) {
121412
+ var mergedPreserve = preserve !== undefined ? preserve : _this.preserve;
121413
+
121414
+ if (mergedPreserve === false && (!isListField || subNamePath.length > 1)) {
121415
+ var namePath = entity.getNamePath();
122290
121416
  var defaultValue = isListField ? undefined : _this.getInitialValue(namePath);
122291
121417
 
122292
121418
  if (namePath.length && _this.getFieldValue(namePath) !== defaultValue && _this.fieldEntities.every(function (field) {
122293
121419
  return (// Only reset when no namePath exist
122294
- !Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["matchNamePath"])(field.getNamePath(), namePath)
121420
+ !Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["matchNamePath"])(field.getNamePath(), namePath)
122295
121421
  );
122296
121422
  })) {
122297
121423
  var _prevStore = _this.store;
122298
-
122299
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(_prevStore, namePath, defaultValue, true)); // Notify that field is unmount
122300
-
121424
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValue"])(_prevStore, namePath, defaultValue, true); // Notify that field is unmount
122301
121425
 
122302
121426
  _this.notifyObservers(_prevStore, [namePath], {
122303
121427
  type: 'remove'
@@ -122307,8 +121431,6 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122307
121431
  _this.triggerDependenciesUpdate(_prevStore, namePath);
122308
121432
  }
122309
121433
  }
122310
-
122311
- _this.notifyWatch([namePath]);
122312
121434
  };
122313
121435
  };
122314
121436
 
@@ -122347,8 +121469,8 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122347
121469
  store: _this.getFieldsValue(true)
122348
121470
  });
122349
121471
 
122350
- _this.getFieldEntities().forEach(function (_ref3) {
122351
- var onStoreChange = _ref3.onStoreChange;
121472
+ _this.getFieldEntities().forEach(function (_ref2) {
121473
+ var onStoreChange = _ref2.onStoreChange;
122352
121474
  onStoreChange(prevStore, namePathList, mergedInfo);
122353
121475
  });
122354
121476
  } else {
@@ -122372,17 +121494,14 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122372
121494
  };
122373
121495
 
122374
121496
  this.updateValue = function (name, value) {
122375
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(name);
121497
+ var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(name);
122376
121498
  var prevStore = _this.store;
122377
-
122378
- _this.updateStore(Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValue"])(_this.store, namePath, value));
121499
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValue"])(_this.store, namePath, value);
122379
121500
 
122380
121501
  _this.notifyObservers(prevStore, [namePath], {
122381
121502
  type: 'valueUpdate',
122382
121503
  source: 'internal'
122383
- });
122384
-
122385
- _this.notifyWatch([namePath]); // Dependencies update
121504
+ }); // Dependencies update
122386
121505
 
122387
121506
 
122388
121507
  var childrenFields = _this.triggerDependenciesUpdate(prevStore, namePath); // trigger callback function
@@ -122391,7 +121510,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122391
121510
  var onValuesChange = _this.callbacks.onValuesChange;
122392
121511
 
122393
121512
  if (onValuesChange) {
122394
- var changedValues = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["cloneByNamePathList"])(_this.store, [namePath]);
121513
+ var changedValues = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["cloneByNamePathList"])(_this.store, [namePath]);
122395
121514
  onValuesChange(changedValues, _this.getFieldsValue());
122396
121515
  }
122397
121516
 
@@ -122404,23 +121523,19 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122404
121523
  var prevStore = _this.store;
122405
121524
 
122406
121525
  if (store) {
122407
- var nextStore = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["setValues"])(_this.store, store);
122408
-
122409
- _this.updateStore(nextStore);
121526
+ _this.store = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["setValues"])(_this.store, store);
122410
121527
  }
122411
121528
 
122412
121529
  _this.notifyObservers(prevStore, null, {
122413
121530
  type: 'valueUpdate',
122414
121531
  source: 'external'
122415
121532
  });
122416
-
122417
- _this.notifyWatch();
122418
121533
  };
122419
121534
 
122420
121535
  this.getDependencyChildrenFields = function (rootNamePath) {
122421
121536
  var children = new Set();
122422
121537
  var childrenFields = [];
122423
- var dependencies2fields = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__["default"]();
121538
+ var dependencies2fields = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_10__["default"]();
122424
121539
  /**
122425
121540
  * Generate maps
122426
121541
  * Can use cache to save perf if user report performance issue with this
@@ -122429,7 +121544,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122429
121544
  _this.getFieldEntities().forEach(function (field) {
122430
121545
  var dependencies = field.props.dependencies;
122431
121546
  (dependencies || []).forEach(function (dependency) {
122432
- var dependencyNamePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"])(dependency);
121547
+ var dependencyNamePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"])(dependency);
122433
121548
  dependencies2fields.update(dependencyNamePath, function () {
122434
121549
  var fields = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Set();
122435
121550
  fields.add(field);
@@ -122468,10 +121583,10 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122468
121583
 
122469
121584
 
122470
121585
  if (filedErrors) {
122471
- var cache = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_12__["default"]();
122472
- filedErrors.forEach(function (_ref4) {
122473
- var name = _ref4.name,
122474
- errors = _ref4.errors;
121586
+ var cache = new _utils_NameMap__WEBPACK_IMPORTED_MODULE_10__["default"]();
121587
+ filedErrors.forEach(function (_ref3) {
121588
+ var name = _ref3.name,
121589
+ errors = _ref3.errors;
122475
121590
  cache.set(name, errors);
122476
121591
  });
122477
121592
  fields.forEach(function (field) {
@@ -122480,9 +121595,9 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122480
121595
  });
122481
121596
  }
122482
121597
 
122483
- var changedFields = fields.filter(function (_ref5) {
122484
- var fieldName = _ref5.name;
122485
- return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["containsNamePath"])(namePathList, fieldName);
121598
+ var changedFields = fields.filter(function (_ref4) {
121599
+ var fieldName = _ref4.name;
121600
+ return Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["containsNamePath"])(namePathList, fieldName);
122486
121601
  });
122487
121602
  onFieldsChange(changedFields, fields);
122488
121603
  }
@@ -122492,7 +121607,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122492
121607
  _this.warningUnhooked();
122493
121608
 
122494
121609
  var provideNameList = !!nameList;
122495
- var namePathList = provideNameList ? nameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["getNamePath"]) : []; // Collect result in promise list
121610
+ var namePathList = provideNameList ? nameList.map(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["getNamePath"]) : []; // Collect result in promise list
122496
121611
 
122497
121612
  var promiseList = [];
122498
121613
 
@@ -122526,7 +121641,7 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122526
121641
 
122527
121642
  var fieldNamePath = field.getNamePath(); // Add field validate rule in to promise list
122528
121643
 
122529
- if (!provideNameList || Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_13__["containsNamePath"])(namePathList, fieldNamePath)) {
121644
+ if (!provideNameList || Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_12__["containsNamePath"])(namePathList, fieldNamePath)) {
122530
121645
  var promise = field.validateRules(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({
122531
121646
  validateMessages: Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, _utils_messages__WEBPACK_IMPORTED_MODULE_11__["defaultValidateMessages"]), _this.validateMessages)
122532
121647
  }, options)); // Wrap promise with field
@@ -122540,9 +121655,9 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122540
121655
  }).catch(function (ruleErrors) {
122541
121656
  var mergedErrors = [];
122542
121657
  var mergedWarnings = [];
122543
- ruleErrors.forEach(function (_ref6) {
122544
- var warningOnly = _ref6.rule.warningOnly,
122545
- errors = _ref6.errors;
121658
+ ruleErrors.forEach(function (_ref5) {
121659
+ var warningOnly = _ref5.rule.warningOnly,
121660
+ errors = _ref5.errors;
122546
121661
 
122547
121662
  if (warningOnly) {
122548
121663
  mergedWarnings.push.apply(mergedWarnings, Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_3__["default"])(errors));
@@ -122574,8 +121689,8 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122574
121689
  summaryPromise.catch(function (results) {
122575
121690
  return results;
122576
121691
  }).then(function (results) {
122577
- var resultNamePathList = results.map(function (_ref7) {
122578
- var name = _ref7.name;
121692
+ var resultNamePathList = results.map(function (_ref6) {
121693
+ var name = _ref6.name;
122579
121694
  return name;
122580
121695
  });
122581
121696
 
@@ -122635,9 +121750,9 @@ var FormStore = /*#__PURE__*/Object(_babel_runtime_helpers_esm_createClass__WEBP
122635
121750
  });
122636
121751
 
122637
121752
  function useForm(form) {
122638
- var formRef = react__WEBPACK_IMPORTED_MODULE_7__["useRef"]();
121753
+ var formRef = react__WEBPACK_IMPORTED_MODULE_6__["useRef"]();
122639
121754
 
122640
- var _React$useState = react__WEBPACK_IMPORTED_MODULE_7__["useState"]({}),
121755
+ var _React$useState = react__WEBPACK_IMPORTED_MODULE_6__["useState"]({}),
122641
121756
  _React$useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_React$useState, 2),
122642
121757
  forceUpdate = _React$useState2[1];
122643
121758
 
@@ -122662,96 +121777,6 @@ function useForm(form) {
122662
121777
 
122663
121778
  /***/ }),
122664
121779
 
122665
- /***/ "./node_modules/rc-field-form/es/useWatch.js":
122666
- /*!***************************************************!*\
122667
- !*** ./node_modules/rc-field-form/es/useWatch.js ***!
122668
- \***************************************************/
122669
- /*! exports provided: default */
122670
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
122671
-
122672
- "use strict";
122673
- __webpack_require__.r(__webpack_exports__);
122674
- /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
122675
- /* harmony import */ var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! . */ "./node_modules/rc-field-form/es/index.js");
122676
- /* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rc-util/es/warning */ "./node_modules/rc-util/es/warning.js");
122677
- /* harmony import */ var _FieldContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FieldContext */ "./node_modules/rc-field-form/es/FieldContext.js");
122678
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
122679
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
122680
- /* harmony import */ var _utils_valueUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/valueUtil */ "./node_modules/rc-field-form/es/utils/valueUtil.js");
122681
-
122682
-
122683
-
122684
-
122685
-
122686
-
122687
-
122688
- function stringify(value) {
122689
- try {
122690
- return JSON.stringify(value);
122691
- } catch (err) {
122692
- return Math.random();
122693
- }
122694
- }
122695
-
122696
- function useWatch() {
122697
- var dependencies = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
122698
- var form = arguments.length > 1 ? arguments[1] : undefined;
122699
-
122700
- var _useState = Object(react__WEBPACK_IMPORTED_MODULE_4__["useState"])(),
122701
- _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__["default"])(_useState, 2),
122702
- value = _useState2[0],
122703
- setValue = _useState2[1];
122704
-
122705
- var valueStr = Object(react__WEBPACK_IMPORTED_MODULE_4__["useMemo"])(function () {
122706
- return stringify(value);
122707
- }, [value]);
122708
- var valueStrRef = Object(react__WEBPACK_IMPORTED_MODULE_4__["useRef"])(valueStr);
122709
- valueStrRef.current = valueStr;
122710
- var fieldContext = Object(react__WEBPACK_IMPORTED_MODULE_4__["useContext"])(___WEBPACK_IMPORTED_MODULE_1__["FieldContext"]);
122711
- var formInstance = form || fieldContext;
122712
- var isValidForm = formInstance && formInstance._init; // Warning if not exist form instance
122713
-
122714
- if (true) {
122715
- Object(rc_util_es_warning__WEBPACK_IMPORTED_MODULE_2__["default"])(isValidForm, 'useWatch requires a form instance since it can not auto detect from context.');
122716
- }
122717
-
122718
- var namePath = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_5__["getNamePath"])(dependencies);
122719
- var namePathRef = Object(react__WEBPACK_IMPORTED_MODULE_4__["useRef"])(namePath);
122720
- namePathRef.current = namePath;
122721
- Object(react__WEBPACK_IMPORTED_MODULE_4__["useEffect"])(function () {
122722
- // Skip if not exist form instance
122723
- if (!isValidForm) {
122724
- return;
122725
- }
122726
-
122727
- var getFieldsValue = formInstance.getFieldsValue,
122728
- getInternalHooks = formInstance.getInternalHooks;
122729
-
122730
- var _getInternalHooks = getInternalHooks(_FieldContext__WEBPACK_IMPORTED_MODULE_3__["HOOK_MARK"]),
122731
- registerWatch = _getInternalHooks.registerWatch;
122732
-
122733
- var cancelRegister = registerWatch(function (store) {
122734
- var newValue = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_5__["getValue"])(store, namePathRef.current);
122735
- var nextValueStr = stringify(newValue); // Compare stringify in case it's nest object
122736
-
122737
- if (valueStrRef.current !== nextValueStr) {
122738
- setValue(newValue);
122739
- }
122740
- }); // TODO: We can improve this perf in future
122741
-
122742
- var initialValue = Object(_utils_valueUtil__WEBPACK_IMPORTED_MODULE_5__["getValue"])(getFieldsValue(), namePathRef.current);
122743
- setValue(initialValue);
122744
- return cancelRegister;
122745
- }, // We do not need re-register since namePath content is the same
122746
- // eslint-disable-next-line react-hooks/exhaustive-deps
122747
- []);
122748
- return value;
122749
- }
122750
-
122751
- /* harmony default export */ __webpack_exports__["default"] = (useWatch);
122752
-
122753
- /***/ }),
122754
-
122755
121780
  /***/ "./node_modules/rc-field-form/es/utils/NameMap.js":
122756
121781
  /*!********************************************************!*\
122757
121782
  !*** ./node_modules/rc-field-form/es/utils/NameMap.js ***!
@@ -123048,7 +122073,8 @@ __webpack_require__.r(__webpack_exports__);
123048
122073
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "validateRules", function() { return validateRules; });
123049
122074
  /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
123050
122075
  /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
123051
- /* harmony import */ var _babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/regeneratorRuntime */ "./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");
122076
+ /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
122077
+ /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2__);
123052
122078
  /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
123053
122079
  /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
123054
122080
  /* harmony import */ var async_validator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! async-validator */ "./node_modules/async-validator/dist-web/index.js");
@@ -123081,8 +122107,6 @@ function replaceMessage(template, kv) {
123081
122107
  });
123082
122108
  }
123083
122109
 
123084
- var CODE_LOGIC_ERROR = 'CODE_LOGIC_ERROR';
123085
-
123086
122110
  function validateRule(_x, _x2, _x3, _x4, _x5) {
123087
122111
  return _validateRule.apply(this, arguments);
123088
122112
  }
@@ -123093,9 +122117,9 @@ function validateRule(_x, _x2, _x3, _x4, _x5) {
123093
122117
 
123094
122118
 
123095
122119
  function _validateRule() {
123096
- _validateRule = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().mark(function _callee2(name, value, rule, options, messageVariables) {
123097
- var cloneRule, originValidator, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;
123098
- return Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().wrap(function _callee2$(_context2) {
122120
+ _validateRule = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee2(name, value, rule, options, messageVariables) {
122121
+ var cloneRule, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;
122122
+ return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee2$(_context2) {
123099
122123
  while (1) {
123100
122124
  switch (_context2.prev = _context2.next) {
123101
122125
  case 0:
@@ -123103,21 +122127,7 @@ function _validateRule() {
123103
122127
  // https://github.com/react-component/field-form/issues/316
123104
122128
  // https://github.com/react-component/field-form/issues/313
123105
122129
 
123106
- delete cloneRule.ruleIndex;
123107
-
123108
- if (cloneRule.validator) {
123109
- originValidator = cloneRule.validator;
123110
-
123111
- cloneRule.validator = function () {
123112
- try {
123113
- return originValidator.apply(void 0, arguments);
123114
- } catch (error) {
123115
- console.error(error);
123116
- return Promise.reject(CODE_LOGIC_ERROR);
123117
- }
123118
- };
123119
- } // We should special handle array validate
123120
-
122130
+ delete cloneRule.ruleIndex; // We should special handle array validate
123121
122131
 
123122
122132
  subRuleField = null;
123123
122133
 
@@ -123130,49 +122140,52 @@ function _validateRule() {
123130
122140
  messages = Object(_valueUtil__WEBPACK_IMPORTED_MODULE_9__["setValues"])({}, _messages__WEBPACK_IMPORTED_MODULE_8__["defaultValidateMessages"], options.validateMessages);
123131
122141
  validator.messages(messages);
123132
122142
  result = [];
123133
- _context2.prev = 9;
123134
- _context2.next = 12;
122143
+ _context2.prev = 8;
122144
+ _context2.next = 11;
123135
122145
  return Promise.resolve(validator.validate(Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, name, value), Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, options)));
123136
122146
 
123137
- case 12:
123138
- _context2.next = 17;
122147
+ case 11:
122148
+ _context2.next = 16;
123139
122149
  break;
123140
122150
 
123141
- case 14:
123142
- _context2.prev = 14;
123143
- _context2.t0 = _context2["catch"](9);
122151
+ case 13:
122152
+ _context2.prev = 13;
122153
+ _context2.t0 = _context2["catch"](8);
123144
122154
 
123145
122155
  if (_context2.t0.errors) {
123146
122156
  result = _context2.t0.errors.map(function (_ref4, index) {
123147
122157
  var message = _ref4.message;
123148
- var mergedMessage = message === CODE_LOGIC_ERROR ? messages.default : message;
123149
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["isValidElement"](mergedMessage) ?
123150
- /*#__PURE__*/
123151
- // Wrap ReactNode with `key`
123152
- react__WEBPACK_IMPORTED_MODULE_6__["cloneElement"](mergedMessage, {
123153
- key: "error_".concat(index)
123154
- }) : mergedMessage;
122158
+ return (// Wrap ReactNode with `key`
122159
+
122160
+ /*#__PURE__*/
122161
+ react__WEBPACK_IMPORTED_MODULE_6__["isValidElement"](message) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__["cloneElement"](message, {
122162
+ key: "error_".concat(index)
122163
+ }) : message
122164
+ );
123155
122165
  });
122166
+ } else {
122167
+ console.error(_context2.t0);
122168
+ result = [messages.default];
123156
122169
  }
123157
122170
 
123158
- case 17:
122171
+ case 16:
123159
122172
  if (!(!result.length && subRuleField)) {
123160
- _context2.next = 22;
122173
+ _context2.next = 21;
123161
122174
  break;
123162
122175
  }
123163
122176
 
123164
- _context2.next = 20;
122177
+ _context2.next = 19;
123165
122178
  return Promise.all(value.map(function (subValue, i) {
123166
122179
  return validateRule("".concat(name, ".").concat(i), subValue, subRuleField, options, messageVariables);
123167
122180
  }));
123168
122181
 
123169
- case 20:
122182
+ case 19:
123170
122183
  subResults = _context2.sent;
123171
122184
  return _context2.abrupt("return", subResults.reduce(function (prev, errors) {
123172
122185
  return [].concat(Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(prev), Object(_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(errors));
123173
122186
  }, []));
123174
122187
 
123175
- case 22:
122188
+ case 21:
123176
122189
  // Replace message with variables
123177
122190
  kv = Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_3__["default"])({}, rule), {}, {
123178
122191
  name: name,
@@ -123187,12 +122200,12 @@ function _validateRule() {
123187
122200
  });
123188
122201
  return _context2.abrupt("return", fillVariableResult);
123189
122202
 
123190
- case 25:
122203
+ case 24:
123191
122204
  case "end":
123192
122205
  return _context2.stop();
123193
122206
  }
123194
122207
  }
123195
- }, _callee2, null, [[9, 14]]);
122208
+ }, _callee2, null, [[8, 13]]);
123196
122209
  }));
123197
122210
  return _validateRule.apply(this, arguments);
123198
122211
  }
@@ -123271,9 +122284,9 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
123271
122284
  if (validateFirst === true) {
123272
122285
  // >>>>> Validate by serialization
123273
122286
  summaryPromise = new Promise( /*#__PURE__*/function () {
123274
- var _ref3 = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().mark(function _callee(resolve, reject) {
122287
+ var _ref3 = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee(resolve, reject) {
123275
122288
  var i, rule, errors;
123276
- return Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().wrap(function _callee$(_context) {
122289
+ return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee$(_context) {
123277
122290
  while (1) {
123278
122291
  switch (_context.prev = _context.next) {
123279
122292
  case 0:
@@ -123352,8 +122365,8 @@ function finishOnAllFailed(_x8) {
123352
122365
  }
123353
122366
 
123354
122367
  function _finishOnAllFailed() {
123355
- _finishOnAllFailed = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().mark(function _callee3(rulePromises) {
123356
- return Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().wrap(function _callee3$(_context3) {
122368
+ _finishOnAllFailed = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee3(rulePromises) {
122369
+ return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee3$(_context3) {
123357
122370
  while (1) {
123358
122371
  switch (_context3.prev = _context3.next) {
123359
122372
  case 0:
@@ -123380,9 +122393,9 @@ function finishOnFirstFailed(_x9) {
123380
122393
  }
123381
122394
 
123382
122395
  function _finishOnFirstFailed() {
123383
- _finishOnFirstFailed = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().mark(function _callee4(rulePromises) {
122396
+ _finishOnFirstFailed = Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.mark(function _callee4(rulePromises) {
123384
122397
  var count;
123385
- return Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_2__["default"])().wrap(function _callee4$(_context4) {
122398
+ return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_2___default.a.wrap(function _callee4$(_context4) {
123386
122399
  while (1) {
123387
122400
  switch (_context4.prev = _context4.next) {
123388
122401
  case 0:
@@ -125314,7 +124327,7 @@ __webpack_require__.r(__webpack_exports__);
125314
124327
 
125315
124328
 
125316
124329
 
125317
- var _excluded = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"];
124330
+ var _excluded = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"];
125318
124331
 
125319
124332
 
125320
124333
  // Use shared variable to save bundle size
@@ -125327,7 +124340,6 @@ function InternalItem(props, ref) {
125327
124340
  item = props.item,
125328
124341
  renderItem = props.renderItem,
125329
124342
  responsive = props.responsive,
125330
- responsiveDisabled = props.responsiveDisabled,
125331
124343
  registerSize = props.registerSize,
125332
124344
  itemKey = props.itemKey,
125333
124345
  className = props.className,
@@ -125383,8 +124395,7 @@ function InternalItem(props, ref) {
125383
124395
  onResize: function onResize(_ref) {
125384
124396
  var offsetWidth = _ref.offsetWidth;
125385
124397
  internalRegisterSize(offsetWidth);
125386
- },
125387
- disabled: responsiveDisabled
124398
+ }
125388
124399
  }, itemNode);
125389
124400
  }
125390
124401
 
@@ -125521,18 +124532,17 @@ function Overflow(props, ref) {
125521
124532
 
125522
124533
  var mergedRestWidth = Math.max(prevRestWidth, restWidth); // ================================= Data =================================
125523
124534
 
125524
- var isResponsive = maxCount === RESPONSIVE;
125525
- var shouldResponsive = data.length && isResponsive;
124535
+ var isResponsive = data.length && maxCount === RESPONSIVE;
125526
124536
  var invalidate = maxCount === INVALIDATE;
125527
124537
  /**
125528
124538
  * When is `responsive`, we will always render rest node to get the real width of it for calculation
125529
124539
  */
125530
124540
 
125531
- var showRest = shouldResponsive || typeof maxCount === 'number' && data.length > maxCount;
124541
+ var showRest = isResponsive || typeof maxCount === 'number' && data.length > maxCount;
125532
124542
  var mergedData = Object(react__WEBPACK_IMPORTED_MODULE_4__["useMemo"])(function () {
125533
124543
  var items = data;
125534
124544
 
125535
- if (shouldResponsive) {
124545
+ if (isResponsive) {
125536
124546
  if (containerWidth === null && fullySSR) {
125537
124547
  items = data;
125538
124548
  } else {
@@ -125543,14 +124553,14 @@ function Overflow(props, ref) {
125543
124553
  }
125544
124554
 
125545
124555
  return items;
125546
- }, [data, itemWidth, containerWidth, maxCount, shouldResponsive]);
124556
+ }, [data, itemWidth, containerWidth, maxCount, isResponsive]);
125547
124557
  var omittedItems = Object(react__WEBPACK_IMPORTED_MODULE_4__["useMemo"])(function () {
125548
- if (shouldResponsive) {
124558
+ if (isResponsive) {
125549
124559
  return data.slice(mergedDisplayCount + 1);
125550
124560
  }
125551
124561
 
125552
124562
  return data.slice(mergedData.length);
125553
- }, [data, mergedData, shouldResponsive, mergedDisplayCount]); // ================================= Item =================================
124563
+ }, [data, mergedData, isResponsive, mergedDisplayCount]); // ================================= Item =================================
125554
124564
 
125555
124565
  var getKey = Object(react__WEBPACK_IMPORTED_MODULE_4__["useCallback"])(function (item, index) {
125556
124566
  var _ref;
@@ -125620,12 +124630,7 @@ function Overflow(props, ref) {
125620
124630
  }
125621
124631
 
125622
124632
  for (var i = 0; i < len; i += 1) {
125623
- var currentItemWidth = getItemWidth(i); // Fully will always render
125624
-
125625
- if (fullySSR) {
125626
- currentItemWidth = currentItemWidth || 0;
125627
- } // Break since data not ready
125628
-
124633
+ var currentItemWidth = getItemWidth(i); // Break since data not ready
125629
124634
 
125630
124635
  if (currentItemWidth === undefined) {
125631
124636
  updateDisplayCount(i - 1, true);
@@ -125659,7 +124664,7 @@ function Overflow(props, ref) {
125659
124664
  var displayRest = restReady && !!omittedItems.length;
125660
124665
  var suffixStyle = {};
125661
124666
 
125662
- if (suffixFixedStart !== null && shouldResponsive) {
124667
+ if (suffixFixedStart !== null && isResponsive) {
125663
124668
  suffixStyle = {
125664
124669
  position: 'absolute',
125665
124670
  left: suffixFixedStart,
@@ -125669,7 +124674,7 @@ function Overflow(props, ref) {
125669
124674
 
125670
124675
  var itemSharedProps = {
125671
124676
  prefixCls: itemPrefixCls,
125672
- responsive: shouldResponsive,
124677
+ responsive: isResponsive,
125673
124678
  component: itemComponent,
125674
124679
  invalidate: invalidate
125675
124680
  }; // >>>>> Choice render fun by `renderRawItem`
@@ -125721,8 +124726,6 @@ function Overflow(props, ref) {
125721
124726
  style: style,
125722
124727
  ref: ref
125723
124728
  }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](_Item__WEBPACK_IMPORTED_MODULE_8__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, itemSharedProps, {
125724
- responsive: isResponsive,
125725
- responsiveDisabled: !shouldResponsive,
125726
124729
  order: mergedDisplayCount,
125727
124730
  className: "".concat(itemPrefixCls, "-suffix"),
125728
124731
  registerSize: registerSuffixSize,
@@ -125732,8 +124735,7 @@ function Overflow(props, ref) {
125732
124735
 
125733
124736
  if (isResponsive) {
125734
124737
  overflowNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__["createElement"](rc_resize_observer__WEBPACK_IMPORTED_MODULE_6__["default"], {
125735
- onResize: onOverflowResize,
125736
- disabled: !shouldResponsive
124738
+ onResize: onOverflowResize
125737
124739
  }, overflowNode);
125738
124740
  }
125739
124741
 
@@ -130779,7 +129781,9 @@ var Tree = /*#__PURE__*/function (_React$Component) {
130779
129781
  dropIndicatorRender = _this$props8.dropIndicatorRender,
130780
129782
  onContextMenu = _this$props8.onContextMenu,
130781
129783
  onScroll = _this$props8.onScroll,
130782
- direction = _this$props8.direction;
129784
+ direction = _this$props8.direction,
129785
+ rootClassName = _this$props8.rootClassName,
129786
+ rootStyle = _this$props8.rootStyle;
130783
129787
  var domProps = Object(rc_util_es_pickAttrs__WEBPACK_IMPORTED_MODULE_13__["default"])(this.props, {
130784
129788
  aria: true,
130785
129789
  data: true
@@ -130841,7 +129845,8 @@ var Tree = /*#__PURE__*/function (_React$Component) {
130841
129845
  }
130842
129846
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__["createElement"]("div", {
130843
129847
  role: "tree",
130844
- className: classnames__WEBPACK_IMPORTED_MODULE_14___default()(prefixCls, className, (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-show-line"), showLine), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-focused"), focused), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-active-focused"), activeKey !== null), _classNames))
129848
+ className: classnames__WEBPACK_IMPORTED_MODULE_14___default()(prefixCls, className, rootClassName, (_classNames = {}, Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-show-line"), showLine), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-focused"), focused), Object(_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])(_classNames, "".concat(prefixCls, "-active-focused"), activeKey !== null), _classNames)),
129849
+ style: rootStyle
130845
129850
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__["createElement"](_NodeList__WEBPACK_IMPORTED_MODULE_18__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
130846
129851
  ref: this.listRef,
130847
129852
  prefixCls: prefixCls,
@@ -132769,8 +131774,7 @@ var MobilePopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["forwardR
132769
131774
  popupStyle = _props$mobile.popupStyle,
132770
131775
  _props$mobile$popupMo = _props$mobile.popupMotion,
132771
131776
  popupMotion = _props$mobile$popupMo === void 0 ? {} : _props$mobile$popupMo,
132772
- popupRender = _props$mobile.popupRender,
132773
- onClick = props.onClick;
131777
+ popupRender = _props$mobile.popupRender;
132774
131778
  var elementRef = react__WEBPACK_IMPORTED_MODULE_2__["useRef"](); // ========================= Refs =========================
132775
131779
 
132776
131780
  react__WEBPACK_IMPORTED_MODULE_2__["useImperativeHandle"](ref, function () {
@@ -132810,7 +131814,6 @@ var MobilePopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["forwardR
132810
131814
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"]("div", {
132811
131815
  ref: motionRef,
132812
131816
  className: mergedClassName,
132813
- onClick: onClick,
132814
131817
  style: Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, motionStyle), mergedStyle)
132815
131818
  }, childNode);
132816
131819
  });
@@ -132835,14 +131838,12 @@ __webpack_require__.r(__webpack_exports__);
132835
131838
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
132836
131839
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
132837
131840
  /* harmony import */ var rc_align__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rc-align */ "./node_modules/rc-align/es/index.js");
132838
- /* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ "./node_modules/rc-util/es/hooks/useLayoutEffect.js");
132839
- /* harmony import */ var rc_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-motion */ "./node_modules/rc-motion/es/index.js");
132840
- /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
132841
- /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);
132842
- /* harmony import */ var _useVisibleStatus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./useVisibleStatus */ "./node_modules/rc-trigger/es/Popup/useVisibleStatus.js");
132843
- /* harmony import */ var _utils_legacyUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/legacyUtil */ "./node_modules/rc-trigger/es/utils/legacyUtil.js");
132844
- /* harmony import */ var _useStretchStyle__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./useStretchStyle */ "./node_modules/rc-trigger/es/Popup/useStretchStyle.js");
132845
-
131841
+ /* harmony import */ var rc_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-motion */ "./node_modules/rc-motion/es/index.js");
131842
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
131843
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);
131844
+ /* harmony import */ var _useVisibleStatus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./useVisibleStatus */ "./node_modules/rc-trigger/es/Popup/useVisibleStatus.js");
131845
+ /* harmony import */ var _utils_legacyUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/legacyUtil */ "./node_modules/rc-trigger/es/utils/legacyUtil.js");
131846
+ /* harmony import */ var _useStretchStyle__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./useStretchStyle */ "./node_modules/rc-trigger/es/Popup/useStretchStyle.js");
132846
131847
 
132847
131848
 
132848
131849
 
@@ -132872,8 +131873,7 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
132872
131873
  onMouseEnter = props.onMouseEnter,
132873
131874
  onMouseLeave = props.onMouseLeave,
132874
131875
  onMouseDown = props.onMouseDown,
132875
- onTouchStart = props.onTouchStart,
132876
- onClick = props.onClick;
131876
+ onTouchStart = props.onTouchStart;
132877
131877
  var alignRef = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])();
132878
131878
  var elementRef = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])();
132879
131879
 
@@ -132883,7 +131883,7 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
132883
131883
  setAlignedClassName = _useState2[1]; // ======================= Measure ========================
132884
131884
 
132885
131885
 
132886
- var _useStretchStyle = Object(_useStretchStyle__WEBPACK_IMPORTED_MODULE_10__["default"])(stretch),
131886
+ var _useStretchStyle = Object(_useStretchStyle__WEBPACK_IMPORTED_MODULE_9__["default"])(stretch),
132887
131887
  _useStretchStyle2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useStretchStyle, 2),
132888
131888
  stretchStyle = _useStretchStyle2[0],
132889
131889
  measureStretchStyle = _useStretchStyle2[1];
@@ -132895,32 +131895,13 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
132895
131895
  } // ======================== Status ========================
132896
131896
 
132897
131897
 
132898
- var _useVisibleStatus = Object(_useVisibleStatus__WEBPACK_IMPORTED_MODULE_8__["default"])(visible, doMeasure),
131898
+ var _useVisibleStatus = Object(_useVisibleStatus__WEBPACK_IMPORTED_MODULE_7__["default"])(visible, doMeasure),
132899
131899
  _useVisibleStatus2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useVisibleStatus, 2),
132900
131900
  status = _useVisibleStatus2[0],
132901
131901
  goNextStatus = _useVisibleStatus2[1]; // ======================== Aligns ========================
132902
131902
 
132903
- /**
132904
- * `alignedClassName` may modify `source` size,
132905
- * which means one time align may not move to the correct position at once.
132906
- *
132907
- * We will reset `alignTimes` for each status switch to `alignPre`
132908
- * and let `rc-align` to align for multiple times to ensure get final stable place.
132909
- * Currently we mark `alignTimes < 2` repeat align, it will increase if user report for align issue.
132910
- */
132911
-
132912
-
132913
- var _useState3 = Object(react__WEBPACK_IMPORTED_MODULE_3__["useState"])(0),
132914
- _useState4 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState3, 2),
132915
- alignTimes = _useState4[0],
132916
- setAlignTimes = _useState4[1];
132917
131903
 
132918
- var prepareResolveRef = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])();
132919
- Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__["default"])(function () {
132920
- if (status === 'alignPre') {
132921
- setAlignTimes(0);
132922
- }
132923
- }, [status]); // `target` on `rc-align` can accept as a function to get the bind element or a point.
131904
+ var prepareResolveRef = Object(react__WEBPACK_IMPORTED_MODULE_3__["useRef"])(); // `target` on `rc-align` can accept as a function to get the bind element or a point.
132924
131905
  // ref: https://www.npmjs.com/package/rc-align
132925
131906
 
132926
131907
  function getAlignTarget() {
@@ -132942,24 +131923,14 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
132942
131923
 
132943
131924
  if (alignedClassName !== nextAlignedClassName) {
132944
131925
  setAlignedClassName(nextAlignedClassName);
132945
- } // We will retry multi times to make sure that the element has been align in the right position.
132946
-
132947
-
132948
- setAlignTimes(function (val) {
132949
- return val + 1;
132950
- });
132951
-
132952
- if (status === 'align') {
132953
- onAlign === null || onAlign === void 0 ? void 0 : onAlign(popupDomNode, matchAlign);
132954
131926
  }
132955
- } // Delay to go to next status
132956
-
132957
131927
 
132958
- Object(rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_5__["default"])(function () {
132959
131928
  if (status === 'align') {
132960
131929
  // Repeat until not more align needed
132961
- if (alignTimes < 2) {
132962
- forceAlign();
131930
+ if (alignedClassName !== nextAlignedClassName) {
131931
+ Promise.resolve().then(function () {
131932
+ forceAlign();
131933
+ });
132963
131934
  } else {
132964
131935
  goNextStatus(function () {
132965
131936
  var _prepareResolveRef$cu;
@@ -132967,10 +131938,13 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
132967
131938
  (_prepareResolveRef$cu = prepareResolveRef.current) === null || _prepareResolveRef$cu === void 0 ? void 0 : _prepareResolveRef$cu.call(prepareResolveRef);
132968
131939
  });
132969
131940
  }
131941
+
131942
+ onAlign === null || onAlign === void 0 ? void 0 : onAlign(popupDomNode, matchAlign);
132970
131943
  }
132971
- }, [alignTimes]); // ======================== Motion ========================
131944
+ } // ======================== Motion ========================
131945
+
132972
131946
 
132973
- var motion = Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, Object(_utils_legacyUtil__WEBPACK_IMPORTED_MODULE_9__["getMotion"])(props));
131947
+ var motion = Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, Object(_utils_legacyUtil__WEBPACK_IMPORTED_MODULE_8__["getMotion"])(props));
132974
131948
 
132975
131949
  ['onAppearEnd', 'onEnterEnd', 'onLeaveEnd'].forEach(function (eventName) {
132976
131950
  var originHandler = motion[eventName];
@@ -133006,9 +131980,7 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
133006
131980
  var mergedStyle = Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, stretchStyle), {}, {
133007
131981
  zIndex: zIndex,
133008
131982
  opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,
133009
- // Cannot interact with disappearing elements
133010
- // https://github.com/ant-design/ant-design/issues/35051#issuecomment-1101340714
133011
- pointerEvents: !visible && status !== 'stable' ? 'none' : undefined
131983
+ pointerEvents: status === 'stable' ? undefined : 'none'
133012
131984
  }, style); // Align status
133013
131985
 
133014
131986
 
@@ -133026,7 +131998,7 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
133026
131998
  }, children);
133027
131999
  }
133028
132000
 
133029
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](rc_motion__WEBPACK_IMPORTED_MODULE_6__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
132001
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](rc_motion__WEBPACK_IMPORTED_MODULE_5__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
133030
132002
  visible: visible,
133031
132003
  ref: elementRef,
133032
132004
  leavedClassName: "".concat(prefixCls, "-hidden")
@@ -133038,7 +132010,7 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
133038
132010
  }), function (_ref, motionRef) {
133039
132011
  var motionClassName = _ref.className,
133040
132012
  motionStyle = _ref.style;
133041
- var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_7___default()(prefixCls, className, alignedClassName, motionClassName);
132013
+ var mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_6___default()(prefixCls, className, alignedClassName, motionClassName);
133042
132014
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["createElement"](rc_align__WEBPACK_IMPORTED_MODULE_4__["default"], {
133043
132015
  target: getAlignTarget(),
133044
132016
  key: "popup",
@@ -133054,7 +132026,6 @@ var PopupInner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__["forwardRef"](f
133054
132026
  onMouseLeave: onMouseLeave,
133055
132027
  onMouseDownCapture: onMouseDown,
133056
132028
  onTouchStartCapture: onTouchStart,
133057
- onClick: onClick,
133058
132029
  style: Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, motionStyle), mergedStyle)
133059
132030
  }, childNode));
133060
132031
  });
@@ -133203,7 +132174,8 @@ __webpack_require__.r(__webpack_exports__);
133203
132174
 
133204
132175
  "use strict";
133205
132176
  __webpack_require__.r(__webpack_exports__);
133206
- /* harmony import */ var _babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/regeneratorRuntime */ "./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js");
132177
+ /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
132178
+ /* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
133207
132179
  /* harmony import */ var _babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");
133208
132180
  /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
133209
132181
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
@@ -133216,7 +132188,7 @@ __webpack_require__.r(__webpack_exports__);
133216
132188
 
133217
132189
 
133218
132190
 
133219
- var StatusQueue = ['measure', 'alignPre', 'align', null, 'motion'];
132191
+ var StatusQueue = ['measure', 'align', null, 'motion'];
133220
132192
  /* harmony default export */ __webpack_exports__["default"] = (function (visible, doMeasure) {
133221
132193
  var _useState = Object(rc_util_es_hooks_useState__WEBPACK_IMPORTED_MODULE_5__["default"])(null),
133222
132194
  _useState2 = Object(_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState, 2),
@@ -133269,9 +132241,9 @@ var StatusQueue = ['measure', 'alignPre', 'align', null, 'motion'];
133269
132241
  }
133270
132242
 
133271
132243
  if (status) {
133272
- rafRef.current = Object(rc_util_es_raf__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_0__["default"])().mark(function _callee() {
132244
+ rafRef.current = Object(rc_util_es_raf__WEBPACK_IMPORTED_MODULE_4__["default"])( /*#__PURE__*/Object(_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__["default"])( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
133273
132245
  var index, nextStatus;
133274
- return Object(_babel_runtime_helpers_esm_regeneratorRuntime__WEBPACK_IMPORTED_MODULE_0__["default"])().wrap(function _callee$(_context) {
132246
+ return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
133275
132247
  while (1) {
133276
132248
  switch (_context.prev = _context.next) {
133277
132249
  case 0:
@@ -133395,7 +132367,6 @@ function generateTrigger(PortalComponent) {
133395
132367
 
133396
132368
  var _super = Object(_babel_runtime_helpers_esm_createSuper__WEBPACK_IMPORTED_MODULE_6__["default"])(Trigger);
133397
132369
 
133398
- // ensure `getContainer` will be called only once
133399
132370
  function Trigger(props) {
133400
132371
  var _this;
133401
132372
 
@@ -133404,7 +132375,6 @@ function generateTrigger(PortalComponent) {
133404
132375
  _this = _super.call(this, props);
133405
132376
  _this.popupRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["createRef"]();
133406
132377
  _this.triggerRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__["createRef"]();
133407
- _this.portalContainer = void 0;
133408
132378
  _this.attachId = void 0;
133409
132379
  _this.clickOutsideHandler = void 0;
133410
132380
  _this.touchOutsideHandler = void 0;
@@ -133630,8 +132600,7 @@ function generateTrigger(PortalComponent) {
133630
132600
  stretch = _this$props2.stretch,
133631
132601
  alignPoint = _this$props2.alignPoint,
133632
132602
  mobile = _this$props2.mobile,
133633
- forceRender = _this$props2.forceRender,
133634
- onPopupClick = _this$props2.onPopupClick;
132603
+ forceRender = _this$props2.forceRender;
133635
132604
  var _this$state = _this.state,
133636
132605
  popupVisible = _this$state.popupVisible,
133637
132606
  point = _this$state.point;
@@ -133673,8 +132642,7 @@ function generateTrigger(PortalComponent) {
133673
132642
  ref: _this.popupRef,
133674
132643
  motion: popupMotion,
133675
132644
  mobile: mobile,
133676
- forceRender: forceRender,
133677
- onClick: onPopupClick
132645
+ forceRender: forceRender
133678
132646
  }), typeof popup === 'function' ? popup() : popup);
133679
132647
  };
133680
132648
 
@@ -133708,26 +132676,18 @@ function generateTrigger(PortalComponent) {
133708
132676
  };
133709
132677
 
133710
132678
  _this.getContainer = function () {
133711
- if (!_this.portalContainer) {
133712
- // In React.StrictMode component will call render multiple time in first mount.
133713
- // When you want to refactor with FC, useRef will also init multiple time and
133714
- // point to different useRef instance which will create multiple element
133715
- // (This multiple render will not trigger effect so you can not clean up this
133716
- // in effect). But this is safe with class component since it always point to same class instance.
133717
- var getDocument = _this.props.getDocument;
133718
- var popupContainer = getDocument(_this.getRootDomNode()).createElement('div'); // Make sure default popup container will never cause scrollbar appearing
133719
- // https://github.com/react-component/trigger/issues/41
133720
-
133721
- popupContainer.style.position = 'absolute';
133722
- popupContainer.style.top = '0';
133723
- popupContainer.style.left = '0';
133724
- popupContainer.style.width = '100%';
133725
- _this.portalContainer = popupContainer;
133726
- }
133727
-
133728
- _this.attachParent(_this.portalContainer);
133729
-
133730
- return _this.portalContainer;
132679
+ var getDocument = _this.props.getDocument;
132680
+ var popupContainer = getDocument(_this.getRootDomNode()).createElement('div'); // Make sure default popup container will never cause scrollbar appearing
132681
+ // https://github.com/react-component/trigger/issues/41
132682
+
132683
+ popupContainer.style.position = 'absolute';
132684
+ popupContainer.style.top = '0';
132685
+ popupContainer.style.left = '0';
132686
+ popupContainer.style.width = '100%';
132687
+
132688
+ _this.attachParent(popupContainer);
132689
+
132690
+ return popupContainer;
133731
132691
  };
133732
132692
 
133733
132693
  _this.setPoint = function (point) {
@@ -134262,7 +133222,7 @@ __webpack_require__.r(__webpack_exports__);
134262
133222
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return toArray; });
134263
133223
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
134264
133224
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
134265
- /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/rc-util/node_modules/react-is/index.js");
133225
+ /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
134266
133226
  /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_is__WEBPACK_IMPORTED_MODULE_1__);
134267
133227
 
134268
133228
 
@@ -136278,7 +135238,7 @@ __webpack_require__.r(__webpack_exports__);
136278
135238
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "useComposeRef", function() { return useComposeRef; });
136279
135239
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "supportRef", function() { return supportRef; });
136280
135240
  /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
136281
- /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/rc-util/node_modules/react-is/index.js");
135241
+ /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
136282
135242
  /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_is__WEBPACK_IMPORTED_MODULE_1__);
136283
135243
  /* harmony import */ var _hooks_useMemo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hooks/useMemo */ "./node_modules/rc-util/es/hooks/useMemo.js");
136284
135244
 
@@ -136575,216 +135535,6 @@ function noteOnce(valid, message) {
136575
135535
  /* harmony default export */ __webpack_exports__["default"] = (warningOnce);
136576
135536
  /* eslint-enable */
136577
135537
 
136578
- /***/ }),
136579
-
136580
- /***/ "./node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js":
136581
- /*!********************************************************************************!*\
136582
- !*** ./node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js ***!
136583
- \********************************************************************************/
136584
- /*! no static exports found */
136585
- /***/ (function(module, exports, __webpack_require__) {
136586
-
136587
- "use strict";
136588
- /** @license React v16.13.1
136589
- * react-is.development.js
136590
- *
136591
- * Copyright (c) Facebook, Inc. and its affiliates.
136592
- *
136593
- * This source code is licensed under the MIT license found in the
136594
- * LICENSE file in the root directory of this source tree.
136595
- */
136596
-
136597
-
136598
-
136599
-
136600
-
136601
- if (true) {
136602
- (function() {
136603
- 'use strict';
136604
-
136605
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
136606
- // nor polyfill, then a plain number is used for performance.
136607
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
136608
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
136609
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
136610
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
136611
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
136612
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
136613
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
136614
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
136615
- // (unstable) APIs that have been removed. Can we remove the symbols?
136616
-
136617
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
136618
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
136619
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
136620
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
136621
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
136622
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
136623
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
136624
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
136625
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
136626
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
136627
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
136628
-
136629
- function isValidElementType(type) {
136630
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
136631
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
136632
- }
136633
-
136634
- function typeOf(object) {
136635
- if (typeof object === 'object' && object !== null) {
136636
- var $$typeof = object.$$typeof;
136637
-
136638
- switch ($$typeof) {
136639
- case REACT_ELEMENT_TYPE:
136640
- var type = object.type;
136641
-
136642
- switch (type) {
136643
- case REACT_ASYNC_MODE_TYPE:
136644
- case REACT_CONCURRENT_MODE_TYPE:
136645
- case REACT_FRAGMENT_TYPE:
136646
- case REACT_PROFILER_TYPE:
136647
- case REACT_STRICT_MODE_TYPE:
136648
- case REACT_SUSPENSE_TYPE:
136649
- return type;
136650
-
136651
- default:
136652
- var $$typeofType = type && type.$$typeof;
136653
-
136654
- switch ($$typeofType) {
136655
- case REACT_CONTEXT_TYPE:
136656
- case REACT_FORWARD_REF_TYPE:
136657
- case REACT_LAZY_TYPE:
136658
- case REACT_MEMO_TYPE:
136659
- case REACT_PROVIDER_TYPE:
136660
- return $$typeofType;
136661
-
136662
- default:
136663
- return $$typeof;
136664
- }
136665
-
136666
- }
136667
-
136668
- case REACT_PORTAL_TYPE:
136669
- return $$typeof;
136670
- }
136671
- }
136672
-
136673
- return undefined;
136674
- } // AsyncMode is deprecated along with isAsyncMode
136675
-
136676
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
136677
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
136678
- var ContextConsumer = REACT_CONTEXT_TYPE;
136679
- var ContextProvider = REACT_PROVIDER_TYPE;
136680
- var Element = REACT_ELEMENT_TYPE;
136681
- var ForwardRef = REACT_FORWARD_REF_TYPE;
136682
- var Fragment = REACT_FRAGMENT_TYPE;
136683
- var Lazy = REACT_LAZY_TYPE;
136684
- var Memo = REACT_MEMO_TYPE;
136685
- var Portal = REACT_PORTAL_TYPE;
136686
- var Profiler = REACT_PROFILER_TYPE;
136687
- var StrictMode = REACT_STRICT_MODE_TYPE;
136688
- var Suspense = REACT_SUSPENSE_TYPE;
136689
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
136690
-
136691
- function isAsyncMode(object) {
136692
- {
136693
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
136694
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
136695
-
136696
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
136697
- }
136698
- }
136699
-
136700
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
136701
- }
136702
- function isConcurrentMode(object) {
136703
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
136704
- }
136705
- function isContextConsumer(object) {
136706
- return typeOf(object) === REACT_CONTEXT_TYPE;
136707
- }
136708
- function isContextProvider(object) {
136709
- return typeOf(object) === REACT_PROVIDER_TYPE;
136710
- }
136711
- function isElement(object) {
136712
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
136713
- }
136714
- function isForwardRef(object) {
136715
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
136716
- }
136717
- function isFragment(object) {
136718
- return typeOf(object) === REACT_FRAGMENT_TYPE;
136719
- }
136720
- function isLazy(object) {
136721
- return typeOf(object) === REACT_LAZY_TYPE;
136722
- }
136723
- function isMemo(object) {
136724
- return typeOf(object) === REACT_MEMO_TYPE;
136725
- }
136726
- function isPortal(object) {
136727
- return typeOf(object) === REACT_PORTAL_TYPE;
136728
- }
136729
- function isProfiler(object) {
136730
- return typeOf(object) === REACT_PROFILER_TYPE;
136731
- }
136732
- function isStrictMode(object) {
136733
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
136734
- }
136735
- function isSuspense(object) {
136736
- return typeOf(object) === REACT_SUSPENSE_TYPE;
136737
- }
136738
-
136739
- exports.AsyncMode = AsyncMode;
136740
- exports.ConcurrentMode = ConcurrentMode;
136741
- exports.ContextConsumer = ContextConsumer;
136742
- exports.ContextProvider = ContextProvider;
136743
- exports.Element = Element;
136744
- exports.ForwardRef = ForwardRef;
136745
- exports.Fragment = Fragment;
136746
- exports.Lazy = Lazy;
136747
- exports.Memo = Memo;
136748
- exports.Portal = Portal;
136749
- exports.Profiler = Profiler;
136750
- exports.StrictMode = StrictMode;
136751
- exports.Suspense = Suspense;
136752
- exports.isAsyncMode = isAsyncMode;
136753
- exports.isConcurrentMode = isConcurrentMode;
136754
- exports.isContextConsumer = isContextConsumer;
136755
- exports.isContextProvider = isContextProvider;
136756
- exports.isElement = isElement;
136757
- exports.isForwardRef = isForwardRef;
136758
- exports.isFragment = isFragment;
136759
- exports.isLazy = isLazy;
136760
- exports.isMemo = isMemo;
136761
- exports.isPortal = isPortal;
136762
- exports.isProfiler = isProfiler;
136763
- exports.isStrictMode = isStrictMode;
136764
- exports.isSuspense = isSuspense;
136765
- exports.isValidElementType = isValidElementType;
136766
- exports.typeOf = typeOf;
136767
- })();
136768
- }
136769
-
136770
-
136771
- /***/ }),
136772
-
136773
- /***/ "./node_modules/rc-util/node_modules/react-is/index.js":
136774
- /*!*************************************************************!*\
136775
- !*** ./node_modules/rc-util/node_modules/react-is/index.js ***!
136776
- \*************************************************************/
136777
- /*! no static exports found */
136778
- /***/ (function(module, exports, __webpack_require__) {
136779
-
136780
- "use strict";
136781
-
136782
-
136783
- if (false) {} else {
136784
- module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js");
136785
- }
136786
-
136787
-
136788
135538
  /***/ }),
136789
135539
 
136790
135540
  /***/ "./node_modules/rc-virtual-list/es/Filler.js":
@@ -137199,11 +135949,9 @@ function RawList(props, ref) {
137199
135949
  componentRef.current.addEventListener('DOMMouseScroll', onFireFoxScroll);
137200
135950
  componentRef.current.addEventListener('MozMousePixelScroll', onMozMousePixelScroll);
137201
135951
  return function () {
137202
- if (componentRef.current) {
137203
- componentRef.current.removeEventListener('wheel', onRawWheel);
137204
- componentRef.current.removeEventListener('DOMMouseScroll', onFireFoxScroll);
137205
- componentRef.current.removeEventListener('MozMousePixelScroll', onMozMousePixelScroll);
137206
- }
135952
+ componentRef.current.removeEventListener('wheel', onRawWheel);
135953
+ componentRef.current.removeEventListener('DOMMouseScroll', onFireFoxScroll);
135954
+ componentRef.current.removeEventListener('MozMousePixelScroll', onMozMousePixelScroll);
137207
135955
  };
137208
135956
  }, [useVirtual]); // ================================= Ref ==================================
137209
135957
 
@@ -137387,19 +136135,16 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
137387
136135
  };
137388
136136
 
137389
136137
  _this.removeEvents = function () {
137390
- var _this$scrollbarRef$cu;
137391
-
137392
136138
  window.removeEventListener('mousemove', _this.onMouseMove);
137393
136139
  window.removeEventListener('mouseup', _this.onMouseUp);
137394
- (_this$scrollbarRef$cu = _this.scrollbarRef.current) === null || _this$scrollbarRef$cu === void 0 ? void 0 : _this$scrollbarRef$cu.removeEventListener('touchstart', _this.onScrollbarTouchStart);
137395
136140
 
137396
- if (_this.thumbRef.current) {
137397
- _this.thumbRef.current.removeEventListener('touchstart', _this.onMouseDown);
136141
+ _this.scrollbarRef.current.removeEventListener('touchstart', _this.onScrollbarTouchStart);
137398
136142
 
137399
- _this.thumbRef.current.removeEventListener('touchmove', _this.onMouseMove);
136143
+ _this.thumbRef.current.removeEventListener('touchstart', _this.onMouseDown);
137400
136144
 
137401
- _this.thumbRef.current.removeEventListener('touchend', _this.onMouseUp);
137402
- }
136145
+ _this.thumbRef.current.removeEventListener('touchmove', _this.onMouseMove);
136146
+
136147
+ _this.thumbRef.current.removeEventListener('touchend', _this.onMouseUp);
137403
136148
 
137404
136149
  rc_util_es_raf__WEBPACK_IMPORTED_MODULE_2__["default"].cancel(_this.moveRaf);
137405
136150
  };
@@ -137897,9 +136642,7 @@ function useMobileTouchMove(inVirtual, listRef, callback) {
137897
136642
  }
137898
136643
 
137899
136644
  return function () {
137900
- var _listRef$current;
137901
-
137902
- (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.removeEventListener('touchstart', onTouchStart);
136645
+ listRef.current.removeEventListener('touchstart', onTouchStart);
137903
136646
  cleanUpEvents();
137904
136647
  clearInterval(intervalRef.current);
137905
136648
  };
@@ -138256,6 +136999,981 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
138256
136999
  var isFF = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
138257
137000
  /* harmony default export */ __webpack_exports__["default"] = (isFF);
138258
137001
 
137002
+ /***/ }),
137003
+
137004
+ /***/ "./node_modules/react-is/cjs/react-is.development.js":
137005
+ /*!***********************************************************!*\
137006
+ !*** ./node_modules/react-is/cjs/react-is.development.js ***!
137007
+ \***********************************************************/
137008
+ /*! no static exports found */
137009
+ /***/ (function(module, exports, __webpack_require__) {
137010
+
137011
+ "use strict";
137012
+ /** @license React v16.13.1
137013
+ * react-is.development.js
137014
+ *
137015
+ * Copyright (c) Facebook, Inc. and its affiliates.
137016
+ *
137017
+ * This source code is licensed under the MIT license found in the
137018
+ * LICENSE file in the root directory of this source tree.
137019
+ */
137020
+
137021
+
137022
+
137023
+
137024
+
137025
+ if (true) {
137026
+ (function() {
137027
+ 'use strict';
137028
+
137029
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
137030
+ // nor polyfill, then a plain number is used for performance.
137031
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
137032
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
137033
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
137034
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
137035
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
137036
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
137037
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
137038
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
137039
+ // (unstable) APIs that have been removed. Can we remove the symbols?
137040
+
137041
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
137042
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
137043
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
137044
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
137045
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
137046
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
137047
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
137048
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
137049
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
137050
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
137051
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
137052
+
137053
+ function isValidElementType(type) {
137054
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
137055
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
137056
+ }
137057
+
137058
+ function typeOf(object) {
137059
+ if (typeof object === 'object' && object !== null) {
137060
+ var $$typeof = object.$$typeof;
137061
+
137062
+ switch ($$typeof) {
137063
+ case REACT_ELEMENT_TYPE:
137064
+ var type = object.type;
137065
+
137066
+ switch (type) {
137067
+ case REACT_ASYNC_MODE_TYPE:
137068
+ case REACT_CONCURRENT_MODE_TYPE:
137069
+ case REACT_FRAGMENT_TYPE:
137070
+ case REACT_PROFILER_TYPE:
137071
+ case REACT_STRICT_MODE_TYPE:
137072
+ case REACT_SUSPENSE_TYPE:
137073
+ return type;
137074
+
137075
+ default:
137076
+ var $$typeofType = type && type.$$typeof;
137077
+
137078
+ switch ($$typeofType) {
137079
+ case REACT_CONTEXT_TYPE:
137080
+ case REACT_FORWARD_REF_TYPE:
137081
+ case REACT_LAZY_TYPE:
137082
+ case REACT_MEMO_TYPE:
137083
+ case REACT_PROVIDER_TYPE:
137084
+ return $$typeofType;
137085
+
137086
+ default:
137087
+ return $$typeof;
137088
+ }
137089
+
137090
+ }
137091
+
137092
+ case REACT_PORTAL_TYPE:
137093
+ return $$typeof;
137094
+ }
137095
+ }
137096
+
137097
+ return undefined;
137098
+ } // AsyncMode is deprecated along with isAsyncMode
137099
+
137100
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
137101
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
137102
+ var ContextConsumer = REACT_CONTEXT_TYPE;
137103
+ var ContextProvider = REACT_PROVIDER_TYPE;
137104
+ var Element = REACT_ELEMENT_TYPE;
137105
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
137106
+ var Fragment = REACT_FRAGMENT_TYPE;
137107
+ var Lazy = REACT_LAZY_TYPE;
137108
+ var Memo = REACT_MEMO_TYPE;
137109
+ var Portal = REACT_PORTAL_TYPE;
137110
+ var Profiler = REACT_PROFILER_TYPE;
137111
+ var StrictMode = REACT_STRICT_MODE_TYPE;
137112
+ var Suspense = REACT_SUSPENSE_TYPE;
137113
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
137114
+
137115
+ function isAsyncMode(object) {
137116
+ {
137117
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
137118
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
137119
+
137120
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
137121
+ }
137122
+ }
137123
+
137124
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
137125
+ }
137126
+ function isConcurrentMode(object) {
137127
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
137128
+ }
137129
+ function isContextConsumer(object) {
137130
+ return typeOf(object) === REACT_CONTEXT_TYPE;
137131
+ }
137132
+ function isContextProvider(object) {
137133
+ return typeOf(object) === REACT_PROVIDER_TYPE;
137134
+ }
137135
+ function isElement(object) {
137136
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
137137
+ }
137138
+ function isForwardRef(object) {
137139
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
137140
+ }
137141
+ function isFragment(object) {
137142
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
137143
+ }
137144
+ function isLazy(object) {
137145
+ return typeOf(object) === REACT_LAZY_TYPE;
137146
+ }
137147
+ function isMemo(object) {
137148
+ return typeOf(object) === REACT_MEMO_TYPE;
137149
+ }
137150
+ function isPortal(object) {
137151
+ return typeOf(object) === REACT_PORTAL_TYPE;
137152
+ }
137153
+ function isProfiler(object) {
137154
+ return typeOf(object) === REACT_PROFILER_TYPE;
137155
+ }
137156
+ function isStrictMode(object) {
137157
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
137158
+ }
137159
+ function isSuspense(object) {
137160
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
137161
+ }
137162
+
137163
+ exports.AsyncMode = AsyncMode;
137164
+ exports.ConcurrentMode = ConcurrentMode;
137165
+ exports.ContextConsumer = ContextConsumer;
137166
+ exports.ContextProvider = ContextProvider;
137167
+ exports.Element = Element;
137168
+ exports.ForwardRef = ForwardRef;
137169
+ exports.Fragment = Fragment;
137170
+ exports.Lazy = Lazy;
137171
+ exports.Memo = Memo;
137172
+ exports.Portal = Portal;
137173
+ exports.Profiler = Profiler;
137174
+ exports.StrictMode = StrictMode;
137175
+ exports.Suspense = Suspense;
137176
+ exports.isAsyncMode = isAsyncMode;
137177
+ exports.isConcurrentMode = isConcurrentMode;
137178
+ exports.isContextConsumer = isContextConsumer;
137179
+ exports.isContextProvider = isContextProvider;
137180
+ exports.isElement = isElement;
137181
+ exports.isForwardRef = isForwardRef;
137182
+ exports.isFragment = isFragment;
137183
+ exports.isLazy = isLazy;
137184
+ exports.isMemo = isMemo;
137185
+ exports.isPortal = isPortal;
137186
+ exports.isProfiler = isProfiler;
137187
+ exports.isStrictMode = isStrictMode;
137188
+ exports.isSuspense = isSuspense;
137189
+ exports.isValidElementType = isValidElementType;
137190
+ exports.typeOf = typeOf;
137191
+ })();
137192
+ }
137193
+
137194
+
137195
+ /***/ }),
137196
+
137197
+ /***/ "./node_modules/react-is/index.js":
137198
+ /*!****************************************!*\
137199
+ !*** ./node_modules/react-is/index.js ***!
137200
+ \****************************************/
137201
+ /*! no static exports found */
137202
+ /***/ (function(module, exports, __webpack_require__) {
137203
+
137204
+ "use strict";
137205
+
137206
+
137207
+ if (false) {} else {
137208
+ module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js");
137209
+ }
137210
+
137211
+
137212
+ /***/ }),
137213
+
137214
+ /***/ "./node_modules/regenerator-runtime/runtime.js":
137215
+ /*!*****************************************************!*\
137216
+ !*** ./node_modules/regenerator-runtime/runtime.js ***!
137217
+ \*****************************************************/
137218
+ /*! no static exports found */
137219
+ /***/ (function(module, exports, __webpack_require__) {
137220
+
137221
+ /**
137222
+ * Copyright (c) 2014-present, Facebook, Inc.
137223
+ *
137224
+ * This source code is licensed under the MIT license found in the
137225
+ * LICENSE file in the root directory of this source tree.
137226
+ */
137227
+
137228
+ var runtime = (function (exports) {
137229
+ "use strict";
137230
+
137231
+ var Op = Object.prototype;
137232
+ var hasOwn = Op.hasOwnProperty;
137233
+ var undefined; // More compressible than void 0.
137234
+ var $Symbol = typeof Symbol === "function" ? Symbol : {};
137235
+ var iteratorSymbol = $Symbol.iterator || "@@iterator";
137236
+ var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
137237
+ var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
137238
+
137239
+ function define(obj, key, value) {
137240
+ Object.defineProperty(obj, key, {
137241
+ value: value,
137242
+ enumerable: true,
137243
+ configurable: true,
137244
+ writable: true
137245
+ });
137246
+ return obj[key];
137247
+ }
137248
+ try {
137249
+ // IE 8 has a broken Object.defineProperty that only works on DOM objects.
137250
+ define({}, "");
137251
+ } catch (err) {
137252
+ define = function(obj, key, value) {
137253
+ return obj[key] = value;
137254
+ };
137255
+ }
137256
+
137257
+ function wrap(innerFn, outerFn, self, tryLocsList) {
137258
+ // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
137259
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
137260
+ var generator = Object.create(protoGenerator.prototype);
137261
+ var context = new Context(tryLocsList || []);
137262
+
137263
+ // The ._invoke method unifies the implementations of the .next,
137264
+ // .throw, and .return methods.
137265
+ generator._invoke = makeInvokeMethod(innerFn, self, context);
137266
+
137267
+ return generator;
137268
+ }
137269
+ exports.wrap = wrap;
137270
+
137271
+ // Try/catch helper to minimize deoptimizations. Returns a completion
137272
+ // record like context.tryEntries[i].completion. This interface could
137273
+ // have been (and was previously) designed to take a closure to be
137274
+ // invoked without arguments, but in all the cases we care about we
137275
+ // already have an existing method we want to call, so there's no need
137276
+ // to create a new function object. We can even get away with assuming
137277
+ // the method takes exactly one argument, since that happens to be true
137278
+ // in every case, so we don't have to touch the arguments object. The
137279
+ // only additional allocation required is the completion record, which
137280
+ // has a stable shape and so hopefully should be cheap to allocate.
137281
+ function tryCatch(fn, obj, arg) {
137282
+ try {
137283
+ return { type: "normal", arg: fn.call(obj, arg) };
137284
+ } catch (err) {
137285
+ return { type: "throw", arg: err };
137286
+ }
137287
+ }
137288
+
137289
+ var GenStateSuspendedStart = "suspendedStart";
137290
+ var GenStateSuspendedYield = "suspendedYield";
137291
+ var GenStateExecuting = "executing";
137292
+ var GenStateCompleted = "completed";
137293
+
137294
+ // Returning this object from the innerFn has the same effect as
137295
+ // breaking out of the dispatch switch statement.
137296
+ var ContinueSentinel = {};
137297
+
137298
+ // Dummy constructor functions that we use as the .constructor and
137299
+ // .constructor.prototype properties for functions that return Generator
137300
+ // objects. For full spec compliance, you may wish to configure your
137301
+ // minifier not to mangle the names of these two functions.
137302
+ function Generator() {}
137303
+ function GeneratorFunction() {}
137304
+ function GeneratorFunctionPrototype() {}
137305
+
137306
+ // This is a polyfill for %IteratorPrototype% for environments that
137307
+ // don't natively support it.
137308
+ var IteratorPrototype = {};
137309
+ define(IteratorPrototype, iteratorSymbol, function () {
137310
+ return this;
137311
+ });
137312
+
137313
+ var getProto = Object.getPrototypeOf;
137314
+ var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
137315
+ if (NativeIteratorPrototype &&
137316
+ NativeIteratorPrototype !== Op &&
137317
+ hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
137318
+ // This environment has a native %IteratorPrototype%; use it instead
137319
+ // of the polyfill.
137320
+ IteratorPrototype = NativeIteratorPrototype;
137321
+ }
137322
+
137323
+ var Gp = GeneratorFunctionPrototype.prototype =
137324
+ Generator.prototype = Object.create(IteratorPrototype);
137325
+ GeneratorFunction.prototype = GeneratorFunctionPrototype;
137326
+ define(Gp, "constructor", GeneratorFunctionPrototype);
137327
+ define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
137328
+ GeneratorFunction.displayName = define(
137329
+ GeneratorFunctionPrototype,
137330
+ toStringTagSymbol,
137331
+ "GeneratorFunction"
137332
+ );
137333
+
137334
+ // Helper for defining the .next, .throw, and .return methods of the
137335
+ // Iterator interface in terms of a single ._invoke method.
137336
+ function defineIteratorMethods(prototype) {
137337
+ ["next", "throw", "return"].forEach(function(method) {
137338
+ define(prototype, method, function(arg) {
137339
+ return this._invoke(method, arg);
137340
+ });
137341
+ });
137342
+ }
137343
+
137344
+ exports.isGeneratorFunction = function(genFun) {
137345
+ var ctor = typeof genFun === "function" && genFun.constructor;
137346
+ return ctor
137347
+ ? ctor === GeneratorFunction ||
137348
+ // For the native GeneratorFunction constructor, the best we can
137349
+ // do is to check its .name property.
137350
+ (ctor.displayName || ctor.name) === "GeneratorFunction"
137351
+ : false;
137352
+ };
137353
+
137354
+ exports.mark = function(genFun) {
137355
+ if (Object.setPrototypeOf) {
137356
+ Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
137357
+ } else {
137358
+ genFun.__proto__ = GeneratorFunctionPrototype;
137359
+ define(genFun, toStringTagSymbol, "GeneratorFunction");
137360
+ }
137361
+ genFun.prototype = Object.create(Gp);
137362
+ return genFun;
137363
+ };
137364
+
137365
+ // Within the body of any async function, `await x` is transformed to
137366
+ // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
137367
+ // `hasOwn.call(value, "__await")` to determine if the yielded value is
137368
+ // meant to be awaited.
137369
+ exports.awrap = function(arg) {
137370
+ return { __await: arg };
137371
+ };
137372
+
137373
+ function AsyncIterator(generator, PromiseImpl) {
137374
+ function invoke(method, arg, resolve, reject) {
137375
+ var record = tryCatch(generator[method], generator, arg);
137376
+ if (record.type === "throw") {
137377
+ reject(record.arg);
137378
+ } else {
137379
+ var result = record.arg;
137380
+ var value = result.value;
137381
+ if (value &&
137382
+ typeof value === "object" &&
137383
+ hasOwn.call(value, "__await")) {
137384
+ return PromiseImpl.resolve(value.__await).then(function(value) {
137385
+ invoke("next", value, resolve, reject);
137386
+ }, function(err) {
137387
+ invoke("throw", err, resolve, reject);
137388
+ });
137389
+ }
137390
+
137391
+ return PromiseImpl.resolve(value).then(function(unwrapped) {
137392
+ // When a yielded Promise is resolved, its final value becomes
137393
+ // the .value of the Promise<{value,done}> result for the
137394
+ // current iteration.
137395
+ result.value = unwrapped;
137396
+ resolve(result);
137397
+ }, function(error) {
137398
+ // If a rejected Promise was yielded, throw the rejection back
137399
+ // into the async generator function so it can be handled there.
137400
+ return invoke("throw", error, resolve, reject);
137401
+ });
137402
+ }
137403
+ }
137404
+
137405
+ var previousPromise;
137406
+
137407
+ function enqueue(method, arg) {
137408
+ function callInvokeWithMethodAndArg() {
137409
+ return new PromiseImpl(function(resolve, reject) {
137410
+ invoke(method, arg, resolve, reject);
137411
+ });
137412
+ }
137413
+
137414
+ return previousPromise =
137415
+ // If enqueue has been called before, then we want to wait until
137416
+ // all previous Promises have been resolved before calling invoke,
137417
+ // so that results are always delivered in the correct order. If
137418
+ // enqueue has not been called before, then it is important to
137419
+ // call invoke immediately, without waiting on a callback to fire,
137420
+ // so that the async generator function has the opportunity to do
137421
+ // any necessary setup in a predictable way. This predictability
137422
+ // is why the Promise constructor synchronously invokes its
137423
+ // executor callback, and why async functions synchronously
137424
+ // execute code before the first await. Since we implement simple
137425
+ // async functions in terms of async generators, it is especially
137426
+ // important to get this right, even though it requires care.
137427
+ previousPromise ? previousPromise.then(
137428
+ callInvokeWithMethodAndArg,
137429
+ // Avoid propagating failures to Promises returned by later
137430
+ // invocations of the iterator.
137431
+ callInvokeWithMethodAndArg
137432
+ ) : callInvokeWithMethodAndArg();
137433
+ }
137434
+
137435
+ // Define the unified helper method that is used to implement .next,
137436
+ // .throw, and .return (see defineIteratorMethods).
137437
+ this._invoke = enqueue;
137438
+ }
137439
+
137440
+ defineIteratorMethods(AsyncIterator.prototype);
137441
+ define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
137442
+ return this;
137443
+ });
137444
+ exports.AsyncIterator = AsyncIterator;
137445
+
137446
+ // Note that simple async functions are implemented on top of
137447
+ // AsyncIterator objects; they just return a Promise for the value of
137448
+ // the final result produced by the iterator.
137449
+ exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
137450
+ if (PromiseImpl === void 0) PromiseImpl = Promise;
137451
+
137452
+ var iter = new AsyncIterator(
137453
+ wrap(innerFn, outerFn, self, tryLocsList),
137454
+ PromiseImpl
137455
+ );
137456
+
137457
+ return exports.isGeneratorFunction(outerFn)
137458
+ ? iter // If outerFn is a generator, return the full iterator.
137459
+ : iter.next().then(function(result) {
137460
+ return result.done ? result.value : iter.next();
137461
+ });
137462
+ };
137463
+
137464
+ function makeInvokeMethod(innerFn, self, context) {
137465
+ var state = GenStateSuspendedStart;
137466
+
137467
+ return function invoke(method, arg) {
137468
+ if (state === GenStateExecuting) {
137469
+ throw new Error("Generator is already running");
137470
+ }
137471
+
137472
+ if (state === GenStateCompleted) {
137473
+ if (method === "throw") {
137474
+ throw arg;
137475
+ }
137476
+
137477
+ // Be forgiving, per 25.3.3.3.3 of the spec:
137478
+ // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
137479
+ return doneResult();
137480
+ }
137481
+
137482
+ context.method = method;
137483
+ context.arg = arg;
137484
+
137485
+ while (true) {
137486
+ var delegate = context.delegate;
137487
+ if (delegate) {
137488
+ var delegateResult = maybeInvokeDelegate(delegate, context);
137489
+ if (delegateResult) {
137490
+ if (delegateResult === ContinueSentinel) continue;
137491
+ return delegateResult;
137492
+ }
137493
+ }
137494
+
137495
+ if (context.method === "next") {
137496
+ // Setting context._sent for legacy support of Babel's
137497
+ // function.sent implementation.
137498
+ context.sent = context._sent = context.arg;
137499
+
137500
+ } else if (context.method === "throw") {
137501
+ if (state === GenStateSuspendedStart) {
137502
+ state = GenStateCompleted;
137503
+ throw context.arg;
137504
+ }
137505
+
137506
+ context.dispatchException(context.arg);
137507
+
137508
+ } else if (context.method === "return") {
137509
+ context.abrupt("return", context.arg);
137510
+ }
137511
+
137512
+ state = GenStateExecuting;
137513
+
137514
+ var record = tryCatch(innerFn, self, context);
137515
+ if (record.type === "normal") {
137516
+ // If an exception is thrown from innerFn, we leave state ===
137517
+ // GenStateExecuting and loop back for another invocation.
137518
+ state = context.done
137519
+ ? GenStateCompleted
137520
+ : GenStateSuspendedYield;
137521
+
137522
+ if (record.arg === ContinueSentinel) {
137523
+ continue;
137524
+ }
137525
+
137526
+ return {
137527
+ value: record.arg,
137528
+ done: context.done
137529
+ };
137530
+
137531
+ } else if (record.type === "throw") {
137532
+ state = GenStateCompleted;
137533
+ // Dispatch the exception by looping back around to the
137534
+ // context.dispatchException(context.arg) call above.
137535
+ context.method = "throw";
137536
+ context.arg = record.arg;
137537
+ }
137538
+ }
137539
+ };
137540
+ }
137541
+
137542
+ // Call delegate.iterator[context.method](context.arg) and handle the
137543
+ // result, either by returning a { value, done } result from the
137544
+ // delegate iterator, or by modifying context.method and context.arg,
137545
+ // setting context.delegate to null, and returning the ContinueSentinel.
137546
+ function maybeInvokeDelegate(delegate, context) {
137547
+ var method = delegate.iterator[context.method];
137548
+ if (method === undefined) {
137549
+ // A .throw or .return when the delegate iterator has no .throw
137550
+ // method always terminates the yield* loop.
137551
+ context.delegate = null;
137552
+
137553
+ if (context.method === "throw") {
137554
+ // Note: ["return"] must be used for ES3 parsing compatibility.
137555
+ if (delegate.iterator["return"]) {
137556
+ // If the delegate iterator has a return method, give it a
137557
+ // chance to clean up.
137558
+ context.method = "return";
137559
+ context.arg = undefined;
137560
+ maybeInvokeDelegate(delegate, context);
137561
+
137562
+ if (context.method === "throw") {
137563
+ // If maybeInvokeDelegate(context) changed context.method from
137564
+ // "return" to "throw", let that override the TypeError below.
137565
+ return ContinueSentinel;
137566
+ }
137567
+ }
137568
+
137569
+ context.method = "throw";
137570
+ context.arg = new TypeError(
137571
+ "The iterator does not provide a 'throw' method");
137572
+ }
137573
+
137574
+ return ContinueSentinel;
137575
+ }
137576
+
137577
+ var record = tryCatch(method, delegate.iterator, context.arg);
137578
+
137579
+ if (record.type === "throw") {
137580
+ context.method = "throw";
137581
+ context.arg = record.arg;
137582
+ context.delegate = null;
137583
+ return ContinueSentinel;
137584
+ }
137585
+
137586
+ var info = record.arg;
137587
+
137588
+ if (! info) {
137589
+ context.method = "throw";
137590
+ context.arg = new TypeError("iterator result is not an object");
137591
+ context.delegate = null;
137592
+ return ContinueSentinel;
137593
+ }
137594
+
137595
+ if (info.done) {
137596
+ // Assign the result of the finished delegate to the temporary
137597
+ // variable specified by delegate.resultName (see delegateYield).
137598
+ context[delegate.resultName] = info.value;
137599
+
137600
+ // Resume execution at the desired location (see delegateYield).
137601
+ context.next = delegate.nextLoc;
137602
+
137603
+ // If context.method was "throw" but the delegate handled the
137604
+ // exception, let the outer generator proceed normally. If
137605
+ // context.method was "next", forget context.arg since it has been
137606
+ // "consumed" by the delegate iterator. If context.method was
137607
+ // "return", allow the original .return call to continue in the
137608
+ // outer generator.
137609
+ if (context.method !== "return") {
137610
+ context.method = "next";
137611
+ context.arg = undefined;
137612
+ }
137613
+
137614
+ } else {
137615
+ // Re-yield the result returned by the delegate method.
137616
+ return info;
137617
+ }
137618
+
137619
+ // The delegate iterator is finished, so forget it and continue with
137620
+ // the outer generator.
137621
+ context.delegate = null;
137622
+ return ContinueSentinel;
137623
+ }
137624
+
137625
+ // Define Generator.prototype.{next,throw,return} in terms of the
137626
+ // unified ._invoke helper method.
137627
+ defineIteratorMethods(Gp);
137628
+
137629
+ define(Gp, toStringTagSymbol, "Generator");
137630
+
137631
+ // A Generator should always return itself as the iterator object when the
137632
+ // @@iterator function is called on it. Some browsers' implementations of the
137633
+ // iterator prototype chain incorrectly implement this, causing the Generator
137634
+ // object to not be returned from this call. This ensures that doesn't happen.
137635
+ // See https://github.com/facebook/regenerator/issues/274 for more details.
137636
+ define(Gp, iteratorSymbol, function() {
137637
+ return this;
137638
+ });
137639
+
137640
+ define(Gp, "toString", function() {
137641
+ return "[object Generator]";
137642
+ });
137643
+
137644
+ function pushTryEntry(locs) {
137645
+ var entry = { tryLoc: locs[0] };
137646
+
137647
+ if (1 in locs) {
137648
+ entry.catchLoc = locs[1];
137649
+ }
137650
+
137651
+ if (2 in locs) {
137652
+ entry.finallyLoc = locs[2];
137653
+ entry.afterLoc = locs[3];
137654
+ }
137655
+
137656
+ this.tryEntries.push(entry);
137657
+ }
137658
+
137659
+ function resetTryEntry(entry) {
137660
+ var record = entry.completion || {};
137661
+ record.type = "normal";
137662
+ delete record.arg;
137663
+ entry.completion = record;
137664
+ }
137665
+
137666
+ function Context(tryLocsList) {
137667
+ // The root entry object (effectively a try statement without a catch
137668
+ // or a finally block) gives us a place to store values thrown from
137669
+ // locations where there is no enclosing try statement.
137670
+ this.tryEntries = [{ tryLoc: "root" }];
137671
+ tryLocsList.forEach(pushTryEntry, this);
137672
+ this.reset(true);
137673
+ }
137674
+
137675
+ exports.keys = function(object) {
137676
+ var keys = [];
137677
+ for (var key in object) {
137678
+ keys.push(key);
137679
+ }
137680
+ keys.reverse();
137681
+
137682
+ // Rather than returning an object with a next method, we keep
137683
+ // things simple and return the next function itself.
137684
+ return function next() {
137685
+ while (keys.length) {
137686
+ var key = keys.pop();
137687
+ if (key in object) {
137688
+ next.value = key;
137689
+ next.done = false;
137690
+ return next;
137691
+ }
137692
+ }
137693
+
137694
+ // To avoid creating an additional object, we just hang the .value
137695
+ // and .done properties off the next function object itself. This
137696
+ // also ensures that the minifier will not anonymize the function.
137697
+ next.done = true;
137698
+ return next;
137699
+ };
137700
+ };
137701
+
137702
+ function values(iterable) {
137703
+ if (iterable) {
137704
+ var iteratorMethod = iterable[iteratorSymbol];
137705
+ if (iteratorMethod) {
137706
+ return iteratorMethod.call(iterable);
137707
+ }
137708
+
137709
+ if (typeof iterable.next === "function") {
137710
+ return iterable;
137711
+ }
137712
+
137713
+ if (!isNaN(iterable.length)) {
137714
+ var i = -1, next = function next() {
137715
+ while (++i < iterable.length) {
137716
+ if (hasOwn.call(iterable, i)) {
137717
+ next.value = iterable[i];
137718
+ next.done = false;
137719
+ return next;
137720
+ }
137721
+ }
137722
+
137723
+ next.value = undefined;
137724
+ next.done = true;
137725
+
137726
+ return next;
137727
+ };
137728
+
137729
+ return next.next = next;
137730
+ }
137731
+ }
137732
+
137733
+ // Return an iterator with no values.
137734
+ return { next: doneResult };
137735
+ }
137736
+ exports.values = values;
137737
+
137738
+ function doneResult() {
137739
+ return { value: undefined, done: true };
137740
+ }
137741
+
137742
+ Context.prototype = {
137743
+ constructor: Context,
137744
+
137745
+ reset: function(skipTempReset) {
137746
+ this.prev = 0;
137747
+ this.next = 0;
137748
+ // Resetting context._sent for legacy support of Babel's
137749
+ // function.sent implementation.
137750
+ this.sent = this._sent = undefined;
137751
+ this.done = false;
137752
+ this.delegate = null;
137753
+
137754
+ this.method = "next";
137755
+ this.arg = undefined;
137756
+
137757
+ this.tryEntries.forEach(resetTryEntry);
137758
+
137759
+ if (!skipTempReset) {
137760
+ for (var name in this) {
137761
+ // Not sure about the optimal order of these conditions:
137762
+ if (name.charAt(0) === "t" &&
137763
+ hasOwn.call(this, name) &&
137764
+ !isNaN(+name.slice(1))) {
137765
+ this[name] = undefined;
137766
+ }
137767
+ }
137768
+ }
137769
+ },
137770
+
137771
+ stop: function() {
137772
+ this.done = true;
137773
+
137774
+ var rootEntry = this.tryEntries[0];
137775
+ var rootRecord = rootEntry.completion;
137776
+ if (rootRecord.type === "throw") {
137777
+ throw rootRecord.arg;
137778
+ }
137779
+
137780
+ return this.rval;
137781
+ },
137782
+
137783
+ dispatchException: function(exception) {
137784
+ if (this.done) {
137785
+ throw exception;
137786
+ }
137787
+
137788
+ var context = this;
137789
+ function handle(loc, caught) {
137790
+ record.type = "throw";
137791
+ record.arg = exception;
137792
+ context.next = loc;
137793
+
137794
+ if (caught) {
137795
+ // If the dispatched exception was caught by a catch block,
137796
+ // then let that catch block handle the exception normally.
137797
+ context.method = "next";
137798
+ context.arg = undefined;
137799
+ }
137800
+
137801
+ return !! caught;
137802
+ }
137803
+
137804
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
137805
+ var entry = this.tryEntries[i];
137806
+ var record = entry.completion;
137807
+
137808
+ if (entry.tryLoc === "root") {
137809
+ // Exception thrown outside of any try block that could handle
137810
+ // it, so set the completion value of the entire function to
137811
+ // throw the exception.
137812
+ return handle("end");
137813
+ }
137814
+
137815
+ if (entry.tryLoc <= this.prev) {
137816
+ var hasCatch = hasOwn.call(entry, "catchLoc");
137817
+ var hasFinally = hasOwn.call(entry, "finallyLoc");
137818
+
137819
+ if (hasCatch && hasFinally) {
137820
+ if (this.prev < entry.catchLoc) {
137821
+ return handle(entry.catchLoc, true);
137822
+ } else if (this.prev < entry.finallyLoc) {
137823
+ return handle(entry.finallyLoc);
137824
+ }
137825
+
137826
+ } else if (hasCatch) {
137827
+ if (this.prev < entry.catchLoc) {
137828
+ return handle(entry.catchLoc, true);
137829
+ }
137830
+
137831
+ } else if (hasFinally) {
137832
+ if (this.prev < entry.finallyLoc) {
137833
+ return handle(entry.finallyLoc);
137834
+ }
137835
+
137836
+ } else {
137837
+ throw new Error("try statement without catch or finally");
137838
+ }
137839
+ }
137840
+ }
137841
+ },
137842
+
137843
+ abrupt: function(type, arg) {
137844
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
137845
+ var entry = this.tryEntries[i];
137846
+ if (entry.tryLoc <= this.prev &&
137847
+ hasOwn.call(entry, "finallyLoc") &&
137848
+ this.prev < entry.finallyLoc) {
137849
+ var finallyEntry = entry;
137850
+ break;
137851
+ }
137852
+ }
137853
+
137854
+ if (finallyEntry &&
137855
+ (type === "break" ||
137856
+ type === "continue") &&
137857
+ finallyEntry.tryLoc <= arg &&
137858
+ arg <= finallyEntry.finallyLoc) {
137859
+ // Ignore the finally entry if control is not jumping to a
137860
+ // location outside the try/catch block.
137861
+ finallyEntry = null;
137862
+ }
137863
+
137864
+ var record = finallyEntry ? finallyEntry.completion : {};
137865
+ record.type = type;
137866
+ record.arg = arg;
137867
+
137868
+ if (finallyEntry) {
137869
+ this.method = "next";
137870
+ this.next = finallyEntry.finallyLoc;
137871
+ return ContinueSentinel;
137872
+ }
137873
+
137874
+ return this.complete(record);
137875
+ },
137876
+
137877
+ complete: function(record, afterLoc) {
137878
+ if (record.type === "throw") {
137879
+ throw record.arg;
137880
+ }
137881
+
137882
+ if (record.type === "break" ||
137883
+ record.type === "continue") {
137884
+ this.next = record.arg;
137885
+ } else if (record.type === "return") {
137886
+ this.rval = this.arg = record.arg;
137887
+ this.method = "return";
137888
+ this.next = "end";
137889
+ } else if (record.type === "normal" && afterLoc) {
137890
+ this.next = afterLoc;
137891
+ }
137892
+
137893
+ return ContinueSentinel;
137894
+ },
137895
+
137896
+ finish: function(finallyLoc) {
137897
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
137898
+ var entry = this.tryEntries[i];
137899
+ if (entry.finallyLoc === finallyLoc) {
137900
+ this.complete(entry.completion, entry.afterLoc);
137901
+ resetTryEntry(entry);
137902
+ return ContinueSentinel;
137903
+ }
137904
+ }
137905
+ },
137906
+
137907
+ "catch": function(tryLoc) {
137908
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
137909
+ var entry = this.tryEntries[i];
137910
+ if (entry.tryLoc === tryLoc) {
137911
+ var record = entry.completion;
137912
+ if (record.type === "throw") {
137913
+ var thrown = record.arg;
137914
+ resetTryEntry(entry);
137915
+ }
137916
+ return thrown;
137917
+ }
137918
+ }
137919
+
137920
+ // The context.catch method must only be called with a location
137921
+ // argument that corresponds to a known catch block.
137922
+ throw new Error("illegal catch attempt");
137923
+ },
137924
+
137925
+ delegateYield: function(iterable, resultName, nextLoc) {
137926
+ this.delegate = {
137927
+ iterator: values(iterable),
137928
+ resultName: resultName,
137929
+ nextLoc: nextLoc
137930
+ };
137931
+
137932
+ if (this.method === "next") {
137933
+ // Deliberately forget the last sent value so that we don't
137934
+ // accidentally pass it on to the delegate.
137935
+ this.arg = undefined;
137936
+ }
137937
+
137938
+ return ContinueSentinel;
137939
+ }
137940
+ };
137941
+
137942
+ // Regardless of whether this script is executing as a CommonJS module
137943
+ // or not, return the runtime object so that we can declare the variable
137944
+ // regeneratorRuntime in the outer scope, which allows this module to be
137945
+ // injected easily by `bin/regenerator --include-runtime script.js`.
137946
+ return exports;
137947
+
137948
+ }(
137949
+ // If this script is executing as a CommonJS module, use module.exports
137950
+ // as the regeneratorRuntime namespace. Otherwise create a new empty
137951
+ // object. Either way, the resulting object will be used to initialize
137952
+ // the regeneratorRuntime variable at the top of this file.
137953
+ true ? module.exports : undefined
137954
+ ));
137955
+
137956
+ try {
137957
+ regeneratorRuntime = runtime;
137958
+ } catch (accidentalStrictMode) {
137959
+ // This module should not be running in strict mode, so the above
137960
+ // assignment should always work unless something is misconfigured. Just
137961
+ // in case runtime.js accidentally runs in strict mode, in modern engines
137962
+ // we can explicitly access globalThis. In older engines we can escape
137963
+ // strict mode using a global Function call. This could conceivably fail
137964
+ // if a Content Security Policy forbids using Function, but in that case
137965
+ // the proper solution is to fix the accidental strict mode problem. If
137966
+ // you've misconfigured your bundler to force strict mode and applied a
137967
+ // CSP to forbid Function, and you're not willing to fix either of those
137968
+ // problems, please detail your unique predicament in a GitHub issue.
137969
+ if (typeof globalThis === "object") {
137970
+ globalThis.regeneratorRuntime = runtime;
137971
+ } else {
137972
+ Function("r", "regeneratorRuntime = r")(runtime);
137973
+ }
137974
+ }
137975
+
137976
+
138259
137977
  /***/ }),
138260
137978
 
138261
137979
  /***/ "./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js":