@luminati-io/uikit 6.3.41 → 6.3.42

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.
@@ -46287,38 +46287,40 @@ UploadItemState.propTypes = {
46287
46287
  "use strict";
46288
46288
  __webpack_require__.r(__webpack_exports__);
46289
46289
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
46290
- /* harmony export */ Checkbox: () => (/* reexport safe */ _checkbox__WEBPACK_IMPORTED_MODULE_5__.Checkbox),
46290
+ /* harmony export */ Checkbox: () => (/* reexport safe */ _checkbox__WEBPACK_IMPORTED_MODULE_7__.Checkbox),
46291
46291
  /* harmony export */ CheckboxList: () => (/* reexport safe */ _checkbox_list__WEBPACK_IMPORTED_MODULE_0__.CheckboxList),
46292
- /* harmony export */ CompareTo: () => (/* reexport safe */ _compare_to__WEBPACK_IMPORTED_MODULE_6__.CompareTo),
46293
- /* harmony export */ DatePicker: () => (/* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_7__.DatePicker),
46292
+ /* harmony export */ CompareTo: () => (/* reexport safe */ _compare_to__WEBPACK_IMPORTED_MODULE_8__.CompareTo),
46293
+ /* harmony export */ DatePicker: () => (/* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_9__.DatePicker),
46294
46294
  /* harmony export */ Dropdown: () => (/* reexport safe */ _dropdown__WEBPACK_IMPORTED_MODULE_1__.Dropdown),
46295
46295
  /* harmony export */ FILE_STATUS: () => (/* reexport safe */ _file_uploader__WEBPACK_IMPORTED_MODULE_2__.FILE_STATUS),
46296
46296
  /* harmony export */ FileUploader: () => (/* reexport safe */ _file_uploader__WEBPACK_IMPORTED_MODULE_2__.FileUploader),
46297
- /* harmony export */ Number: () => (/* reexport safe */ _number__WEBPACK_IMPORTED_MODULE_8__.Number),
46297
+ /* harmony export */ Number: () => (/* reexport safe */ _number__WEBPACK_IMPORTED_MODULE_10__.Number),
46298
46298
  /* harmony export */ Phone: () => (/* reexport safe */ _phone__WEBPACK_IMPORTED_MODULE_3__.Phone),
46299
- /* harmony export */ Radio: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_9__.Radio),
46300
- /* harmony export */ RadioCard: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_9__.RadioCard),
46301
- /* harmony export */ RadioGroup: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_9__.RadioGroup),
46302
- /* harmony export */ RadioTab: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_9__.RadioTab),
46303
- /* harmony export */ StyledDayPicker: () => (/* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_7__.StyledDayPicker),
46304
- /* harmony export */ Textarea: () => (/* reexport safe */ _textarea__WEBPACK_IMPORTED_MODULE_10__.Textarea),
46305
- /* harmony export */ Textbox: () => (/* reexport safe */ _textbox__WEBPACK_IMPORTED_MODULE_11__.Textbox),
46306
- /* harmony export */ TextboxList: () => (/* reexport safe */ _textbox_list__WEBPACK_IMPORTED_MODULE_4__.TextboxList),
46307
- /* harmony export */ Toggle: () => (/* reexport safe */ _toggle__WEBPACK_IMPORTED_MODULE_12__.Toggle)
46299
+ /* harmony export */ Radio: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_4__.Radio),
46300
+ /* harmony export */ RadioCard: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_4__.RadioCard),
46301
+ /* harmony export */ RadioGroup: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_4__.RadioGroup),
46302
+ /* harmony export */ RadioTab: () => (/* reexport safe */ _radio__WEBPACK_IMPORTED_MODULE_4__.RadioTab),
46303
+ /* harmony export */ Slider: () => (/* reexport safe */ _slider__WEBPACK_IMPORTED_MODULE_5__.Slider),
46304
+ /* harmony export */ StyledDayPicker: () => (/* reexport safe */ _date_picker__WEBPACK_IMPORTED_MODULE_9__.StyledDayPicker),
46305
+ /* harmony export */ Textarea: () => (/* reexport safe */ _textarea__WEBPACK_IMPORTED_MODULE_11__.Textarea),
46306
+ /* harmony export */ Textbox: () => (/* reexport safe */ _textbox__WEBPACK_IMPORTED_MODULE_12__.Textbox),
46307
+ /* harmony export */ TextboxList: () => (/* reexport safe */ _textbox_list__WEBPACK_IMPORTED_MODULE_6__.TextboxList),
46308
+ /* harmony export */ Toggle: () => (/* reexport safe */ _toggle__WEBPACK_IMPORTED_MODULE_13__.Toggle)
46308
46309
  /* harmony export */ });
46309
46310
  /* harmony import */ var _checkbox_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./checkbox_list */ "./src/input/checkbox_list/index.js");
46310
46311
  /* harmony import */ var _dropdown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dropdown */ "./src/input/dropdown/index.js");
46311
46312
  /* harmony import */ var _file_uploader__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./file_uploader */ "./src/input/file_uploader/index.js");
46312
46313
  /* harmony import */ var _phone__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./phone */ "./src/input/phone/index.js");
46313
- /* harmony import */ var _textbox_list__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./textbox_list */ "./src/input/textbox_list/index.js");
46314
- /* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./checkbox */ "./src/input/checkbox.js");
46315
- /* harmony import */ var _compare_to__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./compare_to */ "./src/input/compare_to.js");
46316
- /* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./date_picker */ "./src/input/date_picker.js");
46317
- /* harmony import */ var _number__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./number */ "./src/input/number.js");
46318
- /* harmony import */ var _radio__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./radio */ "./src/input/radio/index.js");
46319
- /* harmony import */ var _textarea__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./textarea */ "./src/input/textarea.js");
46320
- /* harmony import */ var _textbox__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./textbox */ "./src/input/textbox.js");
46321
- /* harmony import */ var _toggle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./toggle */ "./src/input/toggle.js");
46314
+ /* harmony import */ var _radio__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./radio */ "./src/input/radio/index.js");
46315
+ /* harmony import */ var _slider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./slider */ "./src/input/slider/index.js");
46316
+ /* harmony import */ var _textbox_list__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./textbox_list */ "./src/input/textbox_list/index.js");
46317
+ /* harmony import */ var _checkbox__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./checkbox */ "./src/input/checkbox.js");
46318
+ /* harmony import */ var _compare_to__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./compare_to */ "./src/input/compare_to.js");
46319
+ /* harmony import */ var _date_picker__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./date_picker */ "./src/input/date_picker.js");
46320
+ /* harmony import */ var _number__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./number */ "./src/input/number.js");
46321
+ /* harmony import */ var _textarea__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./textarea */ "./src/input/textarea.js");
46322
+ /* harmony import */ var _textbox__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./textbox */ "./src/input/textbox.js");
46323
+ /* harmony import */ var _toggle__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./toggle */ "./src/input/toggle.js");
46322
46324
  // LICENSE_CODE ZON
46323
46325
 
46324
46326
 
@@ -46337,6 +46339,7 @@ __webpack_require__.r(__webpack_exports__);
46337
46339
 
46338
46340
 
46339
46341
 
46342
+
46340
46343
  /***/ }),
46341
46344
 
46342
46345
  /***/ "./src/input/number.js":
@@ -48472,6 +48475,285 @@ var useHeightCalculationCallback = function useHeightCalculationCallback(size) {
48472
48475
 
48473
48476
  /***/ }),
48474
48477
 
48478
+ /***/ "./src/input/slider/handle_tooltip.js":
48479
+ /*!********************************************!*\
48480
+ !*** ./src/input/slider/handle_tooltip.js ***!
48481
+ \********************************************/
48482
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
48483
+
48484
+ "use strict";
48485
+ __webpack_require__.r(__webpack_exports__);
48486
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
48487
+ /* harmony export */ HandleTooltip: () => (/* binding */ HandleTooltip)
48488
+ /* harmony export */ });
48489
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
48490
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
48491
+ /* harmony import */ var rc_util_lib_raf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/lib/raf */ "./node_modules/rc-util/lib/raf.js");
48492
+ /* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../tooltip */ "./src/tooltip/index.js");
48493
+ // LICENSE_CODE ZON
48494
+
48495
+
48496
+ /*jslint react:true*/
48497
+ var _excluded = ["value", "children", "visible", "tipFormatter"];
48498
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
48499
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
48500
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
48501
+
48502
+
48503
+
48504
+ var HandleTooltip = function HandleTooltip(_ref) {
48505
+ var value = _ref.value,
48506
+ children = _ref.children,
48507
+ visible = _ref.visible,
48508
+ _ref$tipFormatter = _ref.tipFormatter,
48509
+ tipFormatter = _ref$tipFormatter === void 0 ? function (val) {
48510
+ return "".concat(val);
48511
+ } : _ref$tipFormatter,
48512
+ rest = _objectWithoutProperties(_ref, _excluded);
48513
+ var tooltipRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
48514
+ var rafRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);
48515
+ function cancelKeepAlign() {
48516
+ rc_util_lib_raf__WEBPACK_IMPORTED_MODULE_1__["default"].cancel(rafRef.current);
48517
+ }
48518
+ function keepAlign() {
48519
+ rafRef.current = (0,rc_util_lib_raf__WEBPACK_IMPORTED_MODULE_1__["default"])(function () {
48520
+ var _tooltipRef$current;
48521
+ (_tooltipRef$current = tooltipRef.current) === null || _tooltipRef$current === void 0 || _tooltipRef$current.forceAlign();
48522
+ });
48523
+ }
48524
+ (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
48525
+ if (visible) keepAlign();else cancelKeepAlign();
48526
+ return cancelKeepAlign;
48527
+ }, [value, visible]);
48528
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_tooltip__WEBPACK_IMPORTED_MODULE_2__.Tooltip, _extends({}, rest, {
48529
+ tooltip: tipFormatter(value),
48530
+ ref: tooltipRef,
48531
+ visible: visible
48532
+ }), children);
48533
+ };
48534
+
48535
+ /***/ }),
48536
+
48537
+ /***/ "./src/input/slider/index.js":
48538
+ /*!***********************************!*\
48539
+ !*** ./src/input/slider/index.js ***!
48540
+ \***********************************/
48541
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
48542
+
48543
+ "use strict";
48544
+ __webpack_require__.r(__webpack_exports__);
48545
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
48546
+ /* harmony export */ Slider: () => (/* reexport safe */ _slider__WEBPACK_IMPORTED_MODULE_0__.Slider)
48547
+ /* harmony export */ });
48548
+ /* harmony import */ var _slider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./slider */ "./src/input/slider/slider.js");
48549
+ // LICENSE_CODE ZON
48550
+
48551
+
48552
+ /*jslint react:true*/
48553
+
48554
+
48555
+ /***/ }),
48556
+
48557
+ /***/ "./src/input/slider/slider.js":
48558
+ /*!************************************!*\
48559
+ !*** ./src/input/slider/slider.js ***!
48560
+ \************************************/
48561
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
48562
+
48563
+ "use strict";
48564
+ __webpack_require__.r(__webpack_exports__);
48565
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
48566
+ /* harmony export */ Slider: () => (/* binding */ Slider)
48567
+ /* harmony export */ });
48568
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
48569
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
48570
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! prop-types */ "prop-types");
48571
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__);
48572
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! styled-components */ "styled-components");
48573
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
48574
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants */ "./src/constants.js");
48575
+ /* harmony import */ var _shared__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../shared */ "./src/input/shared.js");
48576
+ /* harmony import */ var _handle_tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./handle_tooltip */ "./src/input/slider/handle_tooltip.js");
48577
+ /* harmony import */ var _styled__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styled */ "./src/input/slider/styled.js");
48578
+ // LICENSE_CODE ZON
48579
+
48580
+
48581
+ /*jslint react:true*/
48582
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
48583
+ var _excluded = ["size", "onChange", "inputProps", "min", "max", "step", "tabIndex", "classNamePrefix", "marks", "tipFormatter", "tipProps", "range", "allowCross"];
48584
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
48585
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
48586
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
48587
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
48588
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
48589
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
48590
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
48591
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
48592
+
48593
+
48594
+
48595
+
48596
+
48597
+
48598
+
48599
+ var Slider = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(function (props, ref) {
48600
+ var size = props.size,
48601
+ onChange = props.onChange,
48602
+ inputProps = props.inputProps,
48603
+ _props$min = props.min,
48604
+ min = _props$min === void 0 ? 0 : _props$min,
48605
+ _props$max = props.max,
48606
+ max = _props$max === void 0 ? 100 : _props$max,
48607
+ step = props.step,
48608
+ tabIndex = props.tabIndex,
48609
+ _props$classNamePrefi = props.classNamePrefix,
48610
+ classNamePrefix = _props$classNamePrefi === void 0 ? 'uikit_slider' : _props$classNamePrefi,
48611
+ marks = props.marks,
48612
+ tipFormatter = props.tipFormatter,
48613
+ tipProps = props.tipProps,
48614
+ range = props.range,
48615
+ allowCross = props.allowCross,
48616
+ rest = _objectWithoutProperties(props, _excluded);
48617
+ var heightCalculationCallback = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {
48618
+ var height = {
48619
+ xs: 28,
48620
+ sm: 36,
48621
+ md: 40,
48622
+ lg: 48
48623
+ };
48624
+ return (0,styled_components__WEBPACK_IMPORTED_MODULE_2__.css)(["overflow:visible;min-height:", "px;"], height[size] || height.sm);
48625
+ }, [size]);
48626
+ var handleRender = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (node, handleProps) {
48627
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_handle_tooltip__WEBPACK_IMPORTED_MODULE_5__.HandleTooltip, _extends({
48628
+ value: handleProps.value,
48629
+ visible: handleProps.dragging,
48630
+ tipFormatter: tipFormatter
48631
+ }, tipProps), node);
48632
+ }, [tipFormatter, tipProps]);
48633
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_shared__WEBPACK_IMPORTED_MODULE_4__.FieldWrapper, _extends({}, rest, {
48634
+ ref: ref,
48635
+ classNamePrefix: classNamePrefix,
48636
+ heightCalculationCallback: heightCalculationCallback,
48637
+ autoresize: false,
48638
+ verticalAlign: "center",
48639
+ Field: _styled__WEBPACK_IMPORTED_MODULE_6__.StyledSlider,
48640
+ onChange: onChange,
48641
+ inputProps: _objectSpread(_objectSpread({}, inputProps), {}, {
48642
+ min: min,
48643
+ max: max,
48644
+ step: step,
48645
+ tabIndex: tabIndex,
48646
+ marks: marks,
48647
+ prefixCls: classNamePrefix,
48648
+ handleRender: handleRender,
48649
+ range: range,
48650
+ allowCross: allowCross
48651
+ })
48652
+ }));
48653
+ });
48654
+ Slider.displayName = 'Slider';
48655
+ Slider.propTypes = _objectSpread(_objectSpread({}, _constants__WEBPACK_IMPORTED_MODULE_3__.PT_INPUT_SHARED), {}, {
48656
+ value: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
48657
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['xs', 'sm', 'md', 'lg']),
48658
+ min: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
48659
+ max: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
48660
+ /**
48661
+ * Value to be added or subtracted on each step the slider makes.
48662
+ * Must be greater than zero, and max - min should be evenly divisible
48663
+ * by the step value.
48664
+ * When marks is not an empty object, step can be set to null,
48665
+ * to make marks as steps.
48666
+ */
48667
+ step: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
48668
+ tabIndex: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().number),
48669
+ /**
48670
+ * Marks on the slider. The key determines the position,
48671
+ * and the value determines what will show.
48672
+ * If you want to set the style of a specific mark point, the value
48673
+ * should be an object which contains style and label properties.
48674
+ */
48675
+ marks: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
48676
+ tipFormatter: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
48677
+ tipProps: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().object),
48678
+ range: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
48679
+ allowCross: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool)
48680
+ });
48681
+
48682
+ /***/ }),
48683
+
48684
+ /***/ "./src/input/slider/styled.js":
48685
+ /*!************************************!*\
48686
+ !*** ./src/input/slider/styled.js ***!
48687
+ \************************************/
48688
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
48689
+
48690
+ "use strict";
48691
+ __webpack_require__.r(__webpack_exports__);
48692
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
48693
+ /* harmony export */ StyledSlider: () => (/* binding */ StyledSlider)
48694
+ /* harmony export */ });
48695
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! styled-components */ "styled-components");
48696
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_0__);
48697
+ /* harmony import */ var rc_slider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-slider */ "./node_modules/rc-slider/es/index.js");
48698
+ // LICENSE_CODE ZON
48699
+
48700
+
48701
+ /*jslint react:true*/
48702
+
48703
+
48704
+ var prefixCls = function prefixCls(p) {
48705
+ return p.prefixCls;
48706
+ };
48707
+ var theme = function theme(cb) {
48708
+ return function (p) {
48709
+ return cb(p.theme);
48710
+ };
48711
+ };
48712
+ var StyledSlider = styled_components__WEBPACK_IMPORTED_MODULE_0___default()(rc_slider__WEBPACK_IMPORTED_MODULE_1__["default"]).withConfig({
48713
+ displayName: "StyledSlider",
48714
+ componentId: "sc-ifo2sp-0"
48715
+ })(["&.", "{position:relative;width:100%;height:16px;padding:5px 0;border-radius:6px;touch-action:none;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);& *{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);}&.", "-with-marks{height:38px;}.", "-rail{position:absolute;width:100%;height:6px;background-color:", ";border-radius:8px;}.", "-track,.", "-tracks{position:absolute;height:6px;background-color:", ";border-radius:8px;}.", "-track-draggable{z-index:1;box-sizing:content-box;background-clip:content-box;border-top:5px solid rgba(0,0,0,0);border-bottom:5px solid rgba(0,0,0,0);transform:translateY(-5px);}.", "-handle{position:absolute;z-index:1;width:16px;height:16px;margin-top:-5px;background-color:", ";border:2px solid ", ";border-radius:50%;cursor:pointer;cursor:-webkit-grab;cursor:grab;user-select:none;touch-action:pan-x;&:focus{outline:none;box-shadow:none;}&:focus-visible{border-color:", ";box-shadow:", ";}&:hover{border-color:", ";}&:active{border-color:", ";box-shadow:", ";cursor:-webkit-grabbing;cursor:grabbing;}}.", "-handle-dragging.", "-handle-dragging.", "-handle-dragging{border-color:", ";box-shadow:", ";}.", "-handle-dragging.", "-handle-dragging.", "-handle-dragging-delete{opacity:0;}.", "-handle-click-focused:focus{border-color:#96dbfa;box-shadow:unset;}.", "-mark{position:absolute;top:18px;left:0;width:100%;font-size:", ";font-weight:", ";}.", "-mark-text{position:absolute;display:inline-block;color:", ";text-align:center;vertical-align:middle;cursor:pointer;}.", "-step{position:absolute;width:100%;height:4px;background:transparent;}.", "-dot{position:absolute;bottom:-2px;width:1px;height:6px;vertical-align:middle;background-color:", ";cursor:pointer;}&.", "-disabled{.", "-track{background-color:", ";}.", "-handle{background-color:", ";border-color:", ";box-shadow:none;cursor:not-allowed;}.", "-dot{cursor:not-allowed !important;}.", "-mark-text{color:", ";cursor:not-allowed !important;}}}"], prefixCls, prefixCls, prefixCls, theme(function (t) {
48716
+ return t.color.slider_bg;
48717
+ }), prefixCls, prefixCls, theme(function (t) {
48718
+ return t.color.slider_bg_fill;
48719
+ }), prefixCls, prefixCls, theme(function (t) {
48720
+ return t.color.slider_bg_fill;
48721
+ }), theme(function (t) {
48722
+ return t.color.slider_bg_fill;
48723
+ }), theme(function (t) {
48724
+ return t.color.icon_secondary;
48725
+ }), theme(function (t) {
48726
+ return t.shadow.primary;
48727
+ }), theme(function (t) {
48728
+ return t.color.icon_secondary;
48729
+ }), theme(function (t) {
48730
+ return t.color.icon_secondary;
48731
+ }), theme(function (t) {
48732
+ return t.shadow.primary;
48733
+ }), prefixCls, prefixCls, prefixCls, theme(function (t) {
48734
+ return t.color.icon_secondary;
48735
+ }), theme(function (t) {
48736
+ return t.shadow.primary;
48737
+ }), prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, theme(function (t) {
48738
+ return t.font_size.xs;
48739
+ }), theme(function (t) {
48740
+ return t.font_weight.regular;
48741
+ }), prefixCls, theme(function (t) {
48742
+ return t.color.text_secondary;
48743
+ }), prefixCls, prefixCls, theme(function (t) {
48744
+ return t.color.bg;
48745
+ }), prefixCls, prefixCls, theme(function (t) {
48746
+ return t.color.slider_bg_fill_disabled;
48747
+ }), prefixCls, theme(function (t) {
48748
+ return t.color.slider_bg_fill_disabled;
48749
+ }), theme(function (t) {
48750
+ return t.color.slider_bg_fill_disabled;
48751
+ }), prefixCls, prefixCls, theme(function (t) {
48752
+ return t.color.text_disabled;
48753
+ }));
48754
+
48755
+ /***/ }),
48756
+
48475
48757
  /***/ "./src/input/textarea.js":
48476
48758
  /*!*******************************!*\
48477
48759
  !*** ./src/input/textarea.js ***!
@@ -57534,11 +57816,11 @@ var prefixCls = function prefixCls(p) {
57534
57816
  var StyledTag = styled_components__WEBPACK_IMPORTED_MODULE_0___default().div.withConfig({
57535
57817
  displayName: "StyledTag",
57536
57818
  componentId: "sc-qjresw-0"
57537
- })(["display:inline-flex;margin:0;padding:4px 4px 4px 8px;justify-content:center;align-items:center;gap:4px;border-radius:4px;border:1px solid ", ";background-color:", ";.", "-icon{color:", ";min-width:14px;width:14px;min-height:14px;height:14px;}.", "-text{color:", ";}.", "-badge{background-color:", ";padding:2px 4px;min-width:16px;.uikit_badge-content{color:", ";}}.", "-close-icon{border-radius:28px;}.", "-close-icon,.", "-menu-button{background-color:inherit;min-width:16px;width:16px;min-height:16px;height:16px;}&.", "-clickable{cursor:pointer;}&.", "-disabled{&.", "-clickable{cursor:not-allowed;}border:1px solid ", ";background-color:", ";.", "-icon{color:", ";}.", "-text,.", "-badge .uikit_badge-content{color:", ";}}&:not(.", "-disabled){&.", "-active{border:1px solid ", ";background-color:", ";.", "-icon{color:", ";}.", "-text{color:", ";}.", "-badge{background-color:", ";.uikit_badge-content{color:", ";}}.", "-close-icon:hover{color:", ";}}.", "-close-icon:hover{background-color:", ";color:", ";}.", "-menu-button:hover{background-color:inherit;color:", ";}&:hover{border:1px solid ", ";&.", "-active{border:1px solid ", ";background-color:", ";}}}"], theme(function (t) {
57819
+ })(["display:inline-flex;margin:0;justify-content:center;align-items:center;gap:4px;border-radius:4px;border:1px solid ", ";background-color:", ";box-sizing:border-box;&.", "-sm{padding:4px 8px;height:24px;}&.", "-md{padding:8px;height:32px;}.", "-icon{color:", ";min-width:14px;width:14px;min-height:14px;height:14px;}.", "-text{color:", ";}.", "-badge{background-color:", ";padding:2px 4px;min-width:16px;.uikit_badge-content{color:", ";}}.", "-close-icon{border-radius:28px;}.", "-close-icon,.", "-menu-button{background-color:inherit;min-width:16px;width:16px;min-height:16px;height:16px;}&.", "-clickable{cursor:pointer;}&.", "-disabled{&.", "-clickable{cursor:not-allowed;}border:1px solid ", ";background-color:", ";.", "-icon{color:", ";}.", "-text,.", "-badge .uikit_badge-content{color:", ";}}&:not(.", "-disabled){&.", "-active{border:1px solid ", ";background-color:", ";.", "-icon{color:", ";}.", "-text{color:", ";}.", "-badge{background-color:", ";.uikit_badge-content{color:", ";}}.", "-close-icon:hover{color:", ";}}.", "-close-icon:hover{background-color:", ";color:", ";}.", "-menu-button:hover{background-color:inherit;color:", ";}&:hover{border:1px solid ", ";&.", "-active{border:1px solid ", ";background-color:", ";}}}"], theme(function (t) {
57538
57820
  return t.color.border;
57539
57821
  }), theme(function (t) {
57540
57822
  return t.color.bg;
57541
- }), prefixCls, theme(function (t) {
57823
+ }), prefixCls, prefixCls, prefixCls, theme(function (t) {
57542
57824
  return t.color.icon;
57543
57825
  }), prefixCls, theme(function (t) {
57544
57826
  return t.color.text;
@@ -57610,8 +57892,12 @@ __webpack_require__.r(__webpack_exports__);
57610
57892
 
57611
57893
 
57612
57894
  /*jslint react:true*/
57613
- var _excluded = ["className", "classNamePrefix", "icon", "text", "onClick", "active", "disabled", "badge", "closeIcon", "onClose", "menuItems"];
57895
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
57896
+ var _excluded = ["className", "classNamePrefix", "icon", "text", "onClick", "active", "disabled", "badge", "closeIcon", "onClose", "menuItems", "size"];
57614
57897
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
57898
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
57899
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
57900
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
57615
57901
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
57616
57902
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
57617
57903
 
@@ -57636,6 +57922,8 @@ var Tag = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(f
57636
57922
  closeIcon = props.closeIcon,
57637
57923
  onClose = props.onClose,
57638
57924
  menuItems = props.menuItems,
57925
+ _props$size = props.size,
57926
+ size = _props$size === void 0 ? 'sm' : _props$size,
57639
57927
  rest = _objectWithoutProperties(props, _excluded);
57640
57928
  var onCloseClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (evt) {
57641
57929
  evt.stopPropagation();
@@ -57644,11 +57932,11 @@ var Tag = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forwardRef(f
57644
57932
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_styled__WEBPACK_IMPORTED_MODULE_6__.StyledTag, _extends({
57645
57933
  ref: ref
57646
57934
  }, rest, {
57647
- className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.cn)(classNamePrefix, {
57935
+ className: (0,_util__WEBPACK_IMPORTED_MODULE_4__.cn)(classNamePrefix, _defineProperty({
57648
57936
  '-active': active,
57649
57937
  '-disabled': disabled,
57650
57938
  '-clickable': !!onClick
57651
- }, className, classNamePrefix),
57939
+ }, "-".concat(size), true), className, classNamePrefix),
57652
57940
  disabled: disabled,
57653
57941
  onClick: onClick,
57654
57942
  $prefixCls: classNamePrefix
@@ -57692,7 +57980,8 @@ Tag.propTypes = {
57692
57980
  icon: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([_constants__WEBPACK_IMPORTED_MODULE_3__.PT_ICON_NAMES, (prop_types__WEBPACK_IMPORTED_MODULE_1___default().elementType)]),
57693
57981
  closeIcon: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().bool),
57694
57982
  onClose: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().func),
57695
- menuItems: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array)
57983
+ menuItems: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().array),
57984
+ size: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOf(['sm', 'md'])
57696
57985
  };
57697
57986
 
57698
57987
  /***/ }),
@@ -58176,7 +58465,7 @@ var componentLight = {
58176
58465
  toggle_off_bg_active: color.gray_8,
58177
58466
  toggle_off_border_active: color.gray_5,
58178
58467
  toggle_off_bg_hover: color.gray_7,
58179
- slider_bg: color.gray_5,
58468
+ slider_bg: color.gray_8,
58180
58469
  slider_bg_fill: color.blue_11,
58181
58470
  slider_bg_disabled: color.gray_6,
58182
58471
  slider_bg_fill_disabled: color.gray_8,
@@ -83009,6 +83298,1853 @@ function unobserve(element, callback) {
83009
83298
 
83010
83299
  /***/ }),
83011
83300
 
83301
+ /***/ "./node_modules/rc-slider/es/Handles/Handle.js":
83302
+ /*!*****************************************************!*\
83303
+ !*** ./node_modules/rc-slider/es/Handles/Handle.js ***!
83304
+ \*****************************************************/
83305
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83306
+
83307
+ "use strict";
83308
+ __webpack_require__.r(__webpack_exports__);
83309
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83310
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
83311
+ /* harmony export */ });
83312
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
83313
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
83314
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
83315
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
83316
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
83317
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);
83318
+ /* harmony import */ var rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-util/es/KeyCode */ "./node_modules/rc-util/es/KeyCode.js");
83319
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "react");
83320
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);
83321
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
83322
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../util */ "./node_modules/rc-slider/es/util.js");
83323
+
83324
+
83325
+
83326
+
83327
+ var _excluded = ["prefixCls", "value", "valueIndex", "onStartMove", "onDelete", "style", "render", "dragging", "draggingDelete", "onOffsetChange", "onChangeComplete", "onFocus", "onMouseEnter"];
83328
+
83329
+
83330
+
83331
+
83332
+
83333
+ var Handle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.forwardRef(function (props, ref) {
83334
+ var prefixCls = props.prefixCls,
83335
+ value = props.value,
83336
+ valueIndex = props.valueIndex,
83337
+ onStartMove = props.onStartMove,
83338
+ onDelete = props.onDelete,
83339
+ style = props.style,
83340
+ render = props.render,
83341
+ dragging = props.dragging,
83342
+ draggingDelete = props.draggingDelete,
83343
+ onOffsetChange = props.onOffsetChange,
83344
+ onChangeComplete = props.onChangeComplete,
83345
+ onFocus = props.onFocus,
83346
+ onMouseEnter = props.onMouseEnter,
83347
+ restProps = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__["default"])(props, _excluded);
83348
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_6__.useContext(_context__WEBPACK_IMPORTED_MODULE_7__["default"]),
83349
+ min = _React$useContext.min,
83350
+ max = _React$useContext.max,
83351
+ direction = _React$useContext.direction,
83352
+ disabled = _React$useContext.disabled,
83353
+ keyboard = _React$useContext.keyboard,
83354
+ range = _React$useContext.range,
83355
+ tabIndex = _React$useContext.tabIndex,
83356
+ ariaLabelForHandle = _React$useContext.ariaLabelForHandle,
83357
+ ariaLabelledByForHandle = _React$useContext.ariaLabelledByForHandle,
83358
+ ariaRequired = _React$useContext.ariaRequired,
83359
+ ariaValueTextFormatterForHandle = _React$useContext.ariaValueTextFormatterForHandle,
83360
+ styles = _React$useContext.styles,
83361
+ classNames = _React$useContext.classNames;
83362
+ var handlePrefixCls = "".concat(prefixCls, "-handle");
83363
+
83364
+ // ============================ Events ============================
83365
+ var onInternalStartMove = function onInternalStartMove(e) {
83366
+ if (!disabled) {
83367
+ onStartMove(e, valueIndex);
83368
+ }
83369
+ };
83370
+ var onInternalFocus = function onInternalFocus(e) {
83371
+ onFocus === null || onFocus === void 0 || onFocus(e, valueIndex);
83372
+ };
83373
+ var onInternalMouseEnter = function onInternalMouseEnter(e) {
83374
+ onMouseEnter(e, valueIndex);
83375
+ };
83376
+
83377
+ // =========================== Keyboard ===========================
83378
+ var onKeyDown = function onKeyDown(e) {
83379
+ if (!disabled && keyboard) {
83380
+ var offset = null;
83381
+
83382
+ // Change the value
83383
+ switch (e.which || e.keyCode) {
83384
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].LEFT:
83385
+ offset = direction === 'ltr' || direction === 'btt' ? -1 : 1;
83386
+ break;
83387
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].RIGHT:
83388
+ offset = direction === 'ltr' || direction === 'btt' ? 1 : -1;
83389
+ break;
83390
+
83391
+ // Up is plus
83392
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].UP:
83393
+ offset = direction !== 'ttb' ? 1 : -1;
83394
+ break;
83395
+
83396
+ // Down is minus
83397
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].DOWN:
83398
+ offset = direction !== 'ttb' ? -1 : 1;
83399
+ break;
83400
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].HOME:
83401
+ offset = 'min';
83402
+ break;
83403
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].END:
83404
+ offset = 'max';
83405
+ break;
83406
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].PAGE_UP:
83407
+ offset = 2;
83408
+ break;
83409
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].PAGE_DOWN:
83410
+ offset = -2;
83411
+ break;
83412
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].BACKSPACE:
83413
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].DELETE:
83414
+ onDelete(valueIndex);
83415
+ break;
83416
+ }
83417
+ if (offset !== null) {
83418
+ e.preventDefault();
83419
+ onOffsetChange(offset, valueIndex);
83420
+ }
83421
+ }
83422
+ };
83423
+ var handleKeyUp = function handleKeyUp(e) {
83424
+ switch (e.which || e.keyCode) {
83425
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].LEFT:
83426
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].RIGHT:
83427
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].UP:
83428
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].DOWN:
83429
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].HOME:
83430
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].END:
83431
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].PAGE_UP:
83432
+ case rc_util_es_KeyCode__WEBPACK_IMPORTED_MODULE_5__["default"].PAGE_DOWN:
83433
+ onChangeComplete === null || onChangeComplete === void 0 || onChangeComplete();
83434
+ break;
83435
+ }
83436
+ };
83437
+
83438
+ // ============================ Offset ============================
83439
+ var positionStyle = (0,_util__WEBPACK_IMPORTED_MODULE_8__.getDirectionStyle)(direction, value, min, max);
83440
+
83441
+ // ============================ Render ============================
83442
+ var divProps = {};
83443
+ if (valueIndex !== null) {
83444
+ var _getIndex;
83445
+ divProps = {
83446
+ tabIndex: disabled ? null : (0,_util__WEBPACK_IMPORTED_MODULE_8__.getIndex)(tabIndex, valueIndex),
83447
+ role: 'slider',
83448
+ 'aria-valuemin': min,
83449
+ 'aria-valuemax': max,
83450
+ 'aria-valuenow': value,
83451
+ 'aria-disabled': disabled,
83452
+ 'aria-label': (0,_util__WEBPACK_IMPORTED_MODULE_8__.getIndex)(ariaLabelForHandle, valueIndex),
83453
+ 'aria-labelledby': (0,_util__WEBPACK_IMPORTED_MODULE_8__.getIndex)(ariaLabelledByForHandle, valueIndex),
83454
+ 'aria-required': (0,_util__WEBPACK_IMPORTED_MODULE_8__.getIndex)(ariaRequired, valueIndex),
83455
+ 'aria-valuetext': (_getIndex = (0,_util__WEBPACK_IMPORTED_MODULE_8__.getIndex)(ariaValueTextFormatterForHandle, valueIndex)) === null || _getIndex === void 0 ? void 0 : _getIndex(value),
83456
+ 'aria-orientation': direction === 'ltr' || direction === 'rtl' ? 'horizontal' : 'vertical',
83457
+ onMouseDown: onInternalStartMove,
83458
+ onTouchStart: onInternalStartMove,
83459
+ onFocus: onInternalFocus,
83460
+ onMouseEnter: onInternalMouseEnter,
83461
+ onKeyDown: onKeyDown,
83462
+ onKeyUp: handleKeyUp
83463
+ };
83464
+ }
83465
+ var handleNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement("div", (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
83466
+ ref: ref,
83467
+ className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(handlePrefixCls, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__["default"])({}, "".concat(handlePrefixCls, "-").concat(valueIndex + 1), valueIndex !== null && range), "".concat(handlePrefixCls, "-dragging"), dragging), "".concat(handlePrefixCls, "-dragging-delete"), draggingDelete), classNames.handle),
83468
+ style: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, positionStyle), style), styles.handle)
83469
+ }, divProps, restProps));
83470
+
83471
+ // Customize
83472
+ if (render) {
83473
+ handleNode = render(handleNode, {
83474
+ index: valueIndex,
83475
+ prefixCls: prefixCls,
83476
+ value: value,
83477
+ dragging: dragging,
83478
+ draggingDelete: draggingDelete
83479
+ });
83480
+ }
83481
+ return handleNode;
83482
+ });
83483
+ if (true) {
83484
+ Handle.displayName = 'Handle';
83485
+ }
83486
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Handle);
83487
+
83488
+ /***/ }),
83489
+
83490
+ /***/ "./node_modules/rc-slider/es/Handles/index.js":
83491
+ /*!****************************************************!*\
83492
+ !*** ./node_modules/rc-slider/es/Handles/index.js ***!
83493
+ \****************************************************/
83494
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83495
+
83496
+ "use strict";
83497
+ __webpack_require__.r(__webpack_exports__);
83498
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83499
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
83500
+ /* harmony export */ });
83501
+ /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
83502
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
83503
+ /* 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");
83504
+ /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");
83505
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ "react");
83506
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);
83507
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react-dom */ "react-dom");
83508
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_5__);
83509
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util */ "./node_modules/rc-slider/es/util.js");
83510
+ /* harmony import */ var _Handle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Handle */ "./node_modules/rc-slider/es/Handles/Handle.js");
83511
+
83512
+
83513
+
83514
+
83515
+ var _excluded = ["prefixCls", "style", "onStartMove", "onOffsetChange", "values", "handleRender", "activeHandleRender", "draggingIndex", "draggingDelete", "onFocus"];
83516
+
83517
+
83518
+
83519
+
83520
+ var Handles = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.forwardRef(function (props, ref) {
83521
+ var prefixCls = props.prefixCls,
83522
+ style = props.style,
83523
+ onStartMove = props.onStartMove,
83524
+ onOffsetChange = props.onOffsetChange,
83525
+ values = props.values,
83526
+ handleRender = props.handleRender,
83527
+ activeHandleRender = props.activeHandleRender,
83528
+ draggingIndex = props.draggingIndex,
83529
+ draggingDelete = props.draggingDelete,
83530
+ onFocus = props.onFocus,
83531
+ restProps = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__["default"])(props, _excluded);
83532
+ var handlesRef = react__WEBPACK_IMPORTED_MODULE_4__.useRef({});
83533
+
83534
+ // =========================== Active ===========================
83535
+ var _React$useState = react__WEBPACK_IMPORTED_MODULE_4__.useState(false),
83536
+ _React$useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_React$useState, 2),
83537
+ activeVisible = _React$useState2[0],
83538
+ setActiveVisible = _React$useState2[1];
83539
+ var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_4__.useState(-1),
83540
+ _React$useState4 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__["default"])(_React$useState3, 2),
83541
+ activeIndex = _React$useState4[0],
83542
+ setActiveIndex = _React$useState4[1];
83543
+ var onActive = function onActive(index) {
83544
+ setActiveIndex(index);
83545
+ setActiveVisible(true);
83546
+ };
83547
+ var onHandleFocus = function onHandleFocus(e, index) {
83548
+ onActive(index);
83549
+ onFocus === null || onFocus === void 0 || onFocus(e);
83550
+ };
83551
+ var onHandleMouseEnter = function onHandleMouseEnter(e, index) {
83552
+ onActive(index);
83553
+ };
83554
+
83555
+ // =========================== Render ===========================
83556
+ react__WEBPACK_IMPORTED_MODULE_4__.useImperativeHandle(ref, function () {
83557
+ return {
83558
+ focus: function focus(index) {
83559
+ var _handlesRef$current$i;
83560
+ (_handlesRef$current$i = handlesRef.current[index]) === null || _handlesRef$current$i === void 0 || _handlesRef$current$i.focus();
83561
+ },
83562
+ hideHelp: function hideHelp() {
83563
+ (0,react_dom__WEBPACK_IMPORTED_MODULE_5__.flushSync)(function () {
83564
+ setActiveVisible(false);
83565
+ });
83566
+ }
83567
+ };
83568
+ });
83569
+
83570
+ // =========================== Render ===========================
83571
+ // Handle Props
83572
+ var handleProps = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({
83573
+ prefixCls: prefixCls,
83574
+ onStartMove: onStartMove,
83575
+ onOffsetChange: onOffsetChange,
83576
+ render: handleRender,
83577
+ onFocus: onHandleFocus,
83578
+ onMouseEnter: onHandleMouseEnter
83579
+ }, restProps);
83580
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(react__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, values.map(function (value, index) {
83581
+ var dragging = draggingIndex === index;
83582
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_Handle__WEBPACK_IMPORTED_MODULE_7__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
83583
+ ref: function ref(node) {
83584
+ if (!node) {
83585
+ delete handlesRef.current[index];
83586
+ } else {
83587
+ handlesRef.current[index] = node;
83588
+ }
83589
+ },
83590
+ dragging: dragging,
83591
+ draggingDelete: dragging && draggingDelete,
83592
+ style: (0,_util__WEBPACK_IMPORTED_MODULE_6__.getIndex)(style, index),
83593
+ key: index,
83594
+ value: value,
83595
+ valueIndex: index
83596
+ }, handleProps));
83597
+ }), activeHandleRender && activeVisible && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4__.createElement(_Handle__WEBPACK_IMPORTED_MODULE_7__["default"], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
83598
+ key: "a11y"
83599
+ }, handleProps, {
83600
+ value: values[activeIndex],
83601
+ valueIndex: null,
83602
+ dragging: draggingIndex !== -1,
83603
+ draggingDelete: draggingDelete,
83604
+ render: activeHandleRender,
83605
+ style: {
83606
+ pointerEvents: 'none'
83607
+ },
83608
+ tabIndex: null,
83609
+ "aria-hidden": true
83610
+ })));
83611
+ });
83612
+ if (true) {
83613
+ Handles.displayName = 'Handles';
83614
+ }
83615
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Handles);
83616
+
83617
+ /***/ }),
83618
+
83619
+ /***/ "./node_modules/rc-slider/es/Marks/Mark.js":
83620
+ /*!*************************************************!*\
83621
+ !*** ./node_modules/rc-slider/es/Marks/Mark.js ***!
83622
+ \*************************************************/
83623
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83624
+
83625
+ "use strict";
83626
+ __webpack_require__.r(__webpack_exports__);
83627
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83628
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
83629
+ /* harmony export */ });
83630
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
83631
+ /* 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");
83632
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
83633
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
83634
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
83635
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
83636
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
83637
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./node_modules/rc-slider/es/util.js");
83638
+
83639
+
83640
+
83641
+
83642
+
83643
+
83644
+ var Mark = function Mark(props) {
83645
+ var prefixCls = props.prefixCls,
83646
+ style = props.style,
83647
+ children = props.children,
83648
+ value = props.value,
83649
+ _onClick = props.onClick;
83650
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_context__WEBPACK_IMPORTED_MODULE_4__["default"]),
83651
+ min = _React$useContext.min,
83652
+ max = _React$useContext.max,
83653
+ direction = _React$useContext.direction,
83654
+ includedStart = _React$useContext.includedStart,
83655
+ includedEnd = _React$useContext.includedEnd,
83656
+ included = _React$useContext.included;
83657
+ var textCls = "".concat(prefixCls, "-text");
83658
+
83659
+ // ============================ Offset ============================
83660
+ var positionStyle = (0,_util__WEBPACK_IMPORTED_MODULE_5__.getDirectionStyle)(direction, value, min, max);
83661
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement("span", {
83662
+ className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(textCls, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, "".concat(textCls, "-active"), included && includedStart <= value && value <= includedEnd)),
83663
+ style: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, positionStyle), style),
83664
+ onMouseDown: function onMouseDown(e) {
83665
+ e.stopPropagation();
83666
+ },
83667
+ onClick: function onClick() {
83668
+ _onClick(value);
83669
+ }
83670
+ }, children);
83671
+ };
83672
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Mark);
83673
+
83674
+ /***/ }),
83675
+
83676
+ /***/ "./node_modules/rc-slider/es/Marks/index.js":
83677
+ /*!**************************************************!*\
83678
+ !*** ./node_modules/rc-slider/es/Marks/index.js ***!
83679
+ \**************************************************/
83680
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83681
+
83682
+ "use strict";
83683
+ __webpack_require__.r(__webpack_exports__);
83684
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83685
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
83686
+ /* harmony export */ });
83687
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
83688
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
83689
+ /* harmony import */ var _Mark__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Mark */ "./node_modules/rc-slider/es/Marks/Mark.js");
83690
+
83691
+
83692
+ var Marks = function Marks(props) {
83693
+ var prefixCls = props.prefixCls,
83694
+ marks = props.marks,
83695
+ onClick = props.onClick;
83696
+ var markPrefixCls = "".concat(prefixCls, "-mark");
83697
+
83698
+ // Not render mark if empty
83699
+ if (!marks.length) {
83700
+ return null;
83701
+ }
83702
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
83703
+ className: markPrefixCls
83704
+ }, marks.map(function (_ref) {
83705
+ var value = _ref.value,
83706
+ style = _ref.style,
83707
+ label = _ref.label;
83708
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_Mark__WEBPACK_IMPORTED_MODULE_1__["default"], {
83709
+ key: value,
83710
+ prefixCls: markPrefixCls,
83711
+ style: style,
83712
+ value: value,
83713
+ onClick: onClick
83714
+ }, label);
83715
+ }));
83716
+ };
83717
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Marks);
83718
+
83719
+ /***/ }),
83720
+
83721
+ /***/ "./node_modules/rc-slider/es/Slider.js":
83722
+ /*!*********************************************!*\
83723
+ !*** ./node_modules/rc-slider/es/Slider.js ***!
83724
+ \*********************************************/
83725
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
83726
+
83727
+ "use strict";
83728
+ __webpack_require__.r(__webpack_exports__);
83729
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
83730
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
83731
+ /* harmony export */ });
83732
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
83733
+ /* 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");
83734
+ /* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js");
83735
+ /* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "./node_modules/@babel/runtime/helpers/esm/typeof.js");
83736
+ /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
83737
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
83738
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);
83739
+ /* harmony import */ var rc_util_es_hooks_useEvent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/hooks/useEvent */ "./node_modules/rc-util/es/hooks/useEvent.js");
83740
+ /* harmony import */ var rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rc-util/es/hooks/useMergedState */ "./node_modules/rc-util/es/hooks/useMergedState.js");
83741
+ /* harmony import */ var rc_util_es_isEqual__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rc-util/es/isEqual */ "./node_modules/rc-util/es/isEqual.js");
83742
+ /* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rc-util/es/warning */ "./node_modules/rc-util/es/warning.js");
83743
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ "react");
83744
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);
83745
+ /* harmony import */ var _Handles__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Handles */ "./node_modules/rc-slider/es/Handles/index.js");
83746
+ /* harmony import */ var _Marks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Marks */ "./node_modules/rc-slider/es/Marks/index.js");
83747
+ /* harmony import */ var _Steps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Steps */ "./node_modules/rc-slider/es/Steps/index.js");
83748
+ /* harmony import */ var _Tracks__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Tracks */ "./node_modules/rc-slider/es/Tracks/index.js");
83749
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./context */ "./node_modules/rc-slider/es/context.js");
83750
+ /* harmony import */ var _hooks_useDrag__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./hooks/useDrag */ "./node_modules/rc-slider/es/hooks/useDrag.js");
83751
+ /* harmony import */ var _hooks_useOffset__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./hooks/useOffset */ "./node_modules/rc-slider/es/hooks/useOffset.js");
83752
+ /* harmony import */ var _hooks_useRange__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./hooks/useRange */ "./node_modules/rc-slider/es/hooks/useRange.js");
83753
+
83754
+
83755
+
83756
+
83757
+
83758
+
83759
+
83760
+
83761
+
83762
+
83763
+
83764
+
83765
+
83766
+
83767
+
83768
+
83769
+
83770
+
83771
+
83772
+
83773
+ /**
83774
+ * New:
83775
+ * - click mark to update range value
83776
+ * - handleRender
83777
+ * - Fix handle with count not correct
83778
+ * - Fix pushable not work in some case
83779
+ * - No more FindDOMNode
83780
+ * - Move all position related style into inline style
83781
+ * - Key: up is plus, down is minus
83782
+ * - fix Key with step = null not align with marks
83783
+ * - Change range should not trigger onChange
83784
+ * - keyboard support pushable
83785
+ */
83786
+
83787
+ var Slider = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.forwardRef(function (props, ref) {
83788
+ var _props$prefixCls = props.prefixCls,
83789
+ prefixCls = _props$prefixCls === void 0 ? 'rc-slider' : _props$prefixCls,
83790
+ className = props.className,
83791
+ style = props.style,
83792
+ classNames = props.classNames,
83793
+ styles = props.styles,
83794
+ id = props.id,
83795
+ _props$disabled = props.disabled,
83796
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
83797
+ _props$keyboard = props.keyboard,
83798
+ keyboard = _props$keyboard === void 0 ? true : _props$keyboard,
83799
+ autoFocus = props.autoFocus,
83800
+ onFocus = props.onFocus,
83801
+ onBlur = props.onBlur,
83802
+ _props$min = props.min,
83803
+ min = _props$min === void 0 ? 0 : _props$min,
83804
+ _props$max = props.max,
83805
+ max = _props$max === void 0 ? 100 : _props$max,
83806
+ _props$step = props.step,
83807
+ step = _props$step === void 0 ? 1 : _props$step,
83808
+ value = props.value,
83809
+ defaultValue = props.defaultValue,
83810
+ range = props.range,
83811
+ count = props.count,
83812
+ onChange = props.onChange,
83813
+ onBeforeChange = props.onBeforeChange,
83814
+ onAfterChange = props.onAfterChange,
83815
+ onChangeComplete = props.onChangeComplete,
83816
+ _props$allowCross = props.allowCross,
83817
+ allowCross = _props$allowCross === void 0 ? true : _props$allowCross,
83818
+ _props$pushable = props.pushable,
83819
+ pushable = _props$pushable === void 0 ? false : _props$pushable,
83820
+ reverse = props.reverse,
83821
+ vertical = props.vertical,
83822
+ _props$included = props.included,
83823
+ included = _props$included === void 0 ? true : _props$included,
83824
+ startPoint = props.startPoint,
83825
+ trackStyle = props.trackStyle,
83826
+ handleStyle = props.handleStyle,
83827
+ railStyle = props.railStyle,
83828
+ dotStyle = props.dotStyle,
83829
+ activeDotStyle = props.activeDotStyle,
83830
+ marks = props.marks,
83831
+ dots = props.dots,
83832
+ handleRender = props.handleRender,
83833
+ activeHandleRender = props.activeHandleRender,
83834
+ track = props.track,
83835
+ _props$tabIndex = props.tabIndex,
83836
+ tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,
83837
+ ariaLabelForHandle = props.ariaLabelForHandle,
83838
+ ariaLabelledByForHandle = props.ariaLabelledByForHandle,
83839
+ ariaRequired = props.ariaRequired,
83840
+ ariaValueTextFormatterForHandle = props.ariaValueTextFormatterForHandle;
83841
+ var handlesRef = react__WEBPACK_IMPORTED_MODULE_10__.useRef(null);
83842
+ var containerRef = react__WEBPACK_IMPORTED_MODULE_10__.useRef(null);
83843
+ var direction = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83844
+ if (vertical) {
83845
+ return reverse ? 'ttb' : 'btt';
83846
+ }
83847
+ return reverse ? 'rtl' : 'ltr';
83848
+ }, [reverse, vertical]);
83849
+
83850
+ // ============================ Range =============================
83851
+ var _useRange = (0,_hooks_useRange__WEBPACK_IMPORTED_MODULE_18__["default"])(range),
83852
+ _useRange2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(_useRange, 5),
83853
+ rangeEnabled = _useRange2[0],
83854
+ rangeEditable = _useRange2[1],
83855
+ rangeDraggableTrack = _useRange2[2],
83856
+ minCount = _useRange2[3],
83857
+ maxCount = _useRange2[4];
83858
+ var mergedMin = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83859
+ return isFinite(min) ? min : 0;
83860
+ }, [min]);
83861
+ var mergedMax = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83862
+ return isFinite(max) ? max : 100;
83863
+ }, [max]);
83864
+
83865
+ // ============================= Step =============================
83866
+ var mergedStep = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83867
+ return step !== null && step <= 0 ? 1 : step;
83868
+ }, [step]);
83869
+
83870
+ // ============================= Push =============================
83871
+ var mergedPush = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83872
+ if (typeof pushable === 'boolean') {
83873
+ return pushable ? mergedStep : false;
83874
+ }
83875
+ return pushable >= 0 ? pushable : false;
83876
+ }, [pushable, mergedStep]);
83877
+
83878
+ // ============================ Marks =============================
83879
+ var markList = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83880
+ return Object.keys(marks || {}).map(function (key) {
83881
+ var mark = marks[key];
83882
+ var markObj = {
83883
+ value: Number(key)
83884
+ };
83885
+ if (mark && (0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__["default"])(mark) === 'object' && ! /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.isValidElement(mark) && ('label' in mark || 'style' in mark)) {
83886
+ markObj.style = mark.style;
83887
+ markObj.label = mark.label;
83888
+ } else {
83889
+ markObj.label = mark;
83890
+ }
83891
+ return markObj;
83892
+ }).filter(function (_ref) {
83893
+ var label = _ref.label;
83894
+ return label || typeof label === 'number';
83895
+ }).sort(function (a, b) {
83896
+ return a.value - b.value;
83897
+ });
83898
+ }, [marks]);
83899
+
83900
+ // ============================ Format ============================
83901
+ var _useOffset = (0,_hooks_useOffset__WEBPACK_IMPORTED_MODULE_17__["default"])(mergedMin, mergedMax, mergedStep, markList, allowCross, mergedPush),
83902
+ _useOffset2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(_useOffset, 2),
83903
+ formatValue = _useOffset2[0],
83904
+ offsetValues = _useOffset2[1];
83905
+
83906
+ // ============================ Values ============================
83907
+ var _useMergedState = (0,rc_util_es_hooks_useMergedState__WEBPACK_IMPORTED_MODULE_7__["default"])(defaultValue, {
83908
+ value: value
83909
+ }),
83910
+ _useMergedState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(_useMergedState, 2),
83911
+ mergedValue = _useMergedState2[0],
83912
+ setValue = _useMergedState2[1];
83913
+ var rawValues = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
83914
+ var valueList = mergedValue === null || mergedValue === undefined ? [] : Array.isArray(mergedValue) ? mergedValue : [mergedValue];
83915
+ var _valueList = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(valueList, 1),
83916
+ _valueList$ = _valueList[0],
83917
+ val0 = _valueList$ === void 0 ? mergedMin : _valueList$;
83918
+ var returnValues = mergedValue === null ? [] : [val0];
83919
+
83920
+ // Format as range
83921
+ if (rangeEnabled) {
83922
+ returnValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(valueList);
83923
+
83924
+ // When count provided or value is `undefined`, we fill values
83925
+ if (count || mergedValue === undefined) {
83926
+ var pointCount = count >= 0 ? count + 1 : 2;
83927
+ returnValues = returnValues.slice(0, pointCount);
83928
+
83929
+ // Fill with count
83930
+ while (returnValues.length < pointCount) {
83931
+ var _returnValues;
83932
+ returnValues.push((_returnValues = returnValues[returnValues.length - 1]) !== null && _returnValues !== void 0 ? _returnValues : mergedMin);
83933
+ }
83934
+ }
83935
+ returnValues.sort(function (a, b) {
83936
+ return a - b;
83937
+ });
83938
+ }
83939
+
83940
+ // Align in range
83941
+ returnValues.forEach(function (val, index) {
83942
+ returnValues[index] = formatValue(val);
83943
+ });
83944
+ return returnValues;
83945
+ }, [mergedValue, rangeEnabled, mergedMin, count, formatValue]);
83946
+
83947
+ // =========================== onChange ===========================
83948
+ var getTriggerValue = function getTriggerValue(triggerValues) {
83949
+ return rangeEnabled ? triggerValues : triggerValues[0];
83950
+ };
83951
+ var triggerChange = (0,rc_util_es_hooks_useEvent__WEBPACK_IMPORTED_MODULE_6__["default"])(function (nextValues) {
83952
+ // Order first
83953
+ var cloneNextValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(nextValues).sort(function (a, b) {
83954
+ return a - b;
83955
+ });
83956
+
83957
+ // Trigger event if needed
83958
+ if (onChange && !(0,rc_util_es_isEqual__WEBPACK_IMPORTED_MODULE_8__["default"])(cloneNextValues, rawValues, true)) {
83959
+ onChange(getTriggerValue(cloneNextValues));
83960
+ }
83961
+
83962
+ // We set this later since it will re-render component immediately
83963
+ setValue(cloneNextValues);
83964
+ });
83965
+ var finishChange = (0,rc_util_es_hooks_useEvent__WEBPACK_IMPORTED_MODULE_6__["default"])(function (draggingDelete) {
83966
+ // Trigger from `useDrag` will tell if it's a delete action
83967
+ if (draggingDelete) {
83968
+ handlesRef.current.hideHelp();
83969
+ }
83970
+ var finishValue = getTriggerValue(rawValues);
83971
+ onAfterChange === null || onAfterChange === void 0 || onAfterChange(finishValue);
83972
+ (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_9__["default"])(!onAfterChange, '[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead.');
83973
+ onChangeComplete === null || onChangeComplete === void 0 || onChangeComplete(finishValue);
83974
+ });
83975
+ var onDelete = function onDelete(index) {
83976
+ if (disabled || !rangeEditable || rawValues.length <= minCount) {
83977
+ return;
83978
+ }
83979
+ var cloneNextValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(rawValues);
83980
+ cloneNextValues.splice(index, 1);
83981
+ onBeforeChange === null || onBeforeChange === void 0 || onBeforeChange(getTriggerValue(cloneNextValues));
83982
+ triggerChange(cloneNextValues);
83983
+ var nextFocusIndex = Math.max(0, index - 1);
83984
+ handlesRef.current.hideHelp();
83985
+ handlesRef.current.focus(nextFocusIndex);
83986
+ };
83987
+ var _useDrag = (0,_hooks_useDrag__WEBPACK_IMPORTED_MODULE_16__["default"])(containerRef, direction, rawValues, mergedMin, mergedMax, formatValue, triggerChange, finishChange, offsetValues, rangeEditable, minCount),
83988
+ _useDrag2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(_useDrag, 5),
83989
+ draggingIndex = _useDrag2[0],
83990
+ draggingValue = _useDrag2[1],
83991
+ draggingDelete = _useDrag2[2],
83992
+ cacheValues = _useDrag2[3],
83993
+ onStartDrag = _useDrag2[4];
83994
+
83995
+ /**
83996
+ * When `rangeEditable` will insert a new value in the values array.
83997
+ * Else it will replace the value in the values array.
83998
+ */
83999
+ var changeToCloseValue = function changeToCloseValue(newValue, e) {
84000
+ if (!disabled) {
84001
+ // Create new values
84002
+ var cloneNextValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(rawValues);
84003
+ var valueIndex = 0;
84004
+ var valueBeforeIndex = 0; // Record the index which value < newValue
84005
+ var valueDist = mergedMax - mergedMin;
84006
+ rawValues.forEach(function (val, index) {
84007
+ var dist = Math.abs(newValue - val);
84008
+ if (dist <= valueDist) {
84009
+ valueDist = dist;
84010
+ valueIndex = index;
84011
+ }
84012
+ if (val < newValue) {
84013
+ valueBeforeIndex = index;
84014
+ }
84015
+ });
84016
+ var focusIndex = valueIndex;
84017
+ if (rangeEditable && valueDist !== 0 && (!maxCount || rawValues.length < maxCount)) {
84018
+ cloneNextValues.splice(valueBeforeIndex + 1, 0, newValue);
84019
+ focusIndex = valueBeforeIndex + 1;
84020
+ } else {
84021
+ cloneNextValues[valueIndex] = newValue;
84022
+ }
84023
+
84024
+ // Fill value to match default 2 (only when `rawValues` is empty)
84025
+ if (rangeEnabled && !rawValues.length && count === undefined) {
84026
+ cloneNextValues.push(newValue);
84027
+ }
84028
+ var nextValue = getTriggerValue(cloneNextValues);
84029
+ onBeforeChange === null || onBeforeChange === void 0 || onBeforeChange(nextValue);
84030
+ triggerChange(cloneNextValues);
84031
+ if (e) {
84032
+ var _document$activeEleme, _document$activeEleme2;
84033
+ (_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 || (_document$activeEleme2 = _document$activeEleme.blur) === null || _document$activeEleme2 === void 0 || _document$activeEleme2.call(_document$activeEleme);
84034
+ handlesRef.current.focus(focusIndex);
84035
+ onStartDrag(e, focusIndex, cloneNextValues);
84036
+ } else {
84037
+ // https://github.com/ant-design/ant-design/issues/49997
84038
+ onAfterChange === null || onAfterChange === void 0 || onAfterChange(nextValue);
84039
+ (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_9__["default"])(!onAfterChange, '[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead.');
84040
+ onChangeComplete === null || onChangeComplete === void 0 || onChangeComplete(nextValue);
84041
+ }
84042
+ }
84043
+ };
84044
+
84045
+ // ============================ Click =============================
84046
+ var onSliderMouseDown = function onSliderMouseDown(e) {
84047
+ e.preventDefault();
84048
+ var _containerRef$current = containerRef.current.getBoundingClientRect(),
84049
+ width = _containerRef$current.width,
84050
+ height = _containerRef$current.height,
84051
+ left = _containerRef$current.left,
84052
+ top = _containerRef$current.top,
84053
+ bottom = _containerRef$current.bottom,
84054
+ right = _containerRef$current.right;
84055
+ var clientX = e.clientX,
84056
+ clientY = e.clientY;
84057
+ var percent;
84058
+ switch (direction) {
84059
+ case 'btt':
84060
+ percent = (bottom - clientY) / height;
84061
+ break;
84062
+ case 'ttb':
84063
+ percent = (clientY - top) / height;
84064
+ break;
84065
+ case 'rtl':
84066
+ percent = (right - clientX) / width;
84067
+ break;
84068
+ default:
84069
+ percent = (clientX - left) / width;
84070
+ }
84071
+ var nextValue = mergedMin + percent * (mergedMax - mergedMin);
84072
+ changeToCloseValue(formatValue(nextValue), e);
84073
+ };
84074
+
84075
+ // =========================== Keyboard ===========================
84076
+ var _React$useState = react__WEBPACK_IMPORTED_MODULE_10__.useState(null),
84077
+ _React$useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(_React$useState, 2),
84078
+ keyboardValue = _React$useState2[0],
84079
+ setKeyboardValue = _React$useState2[1];
84080
+ var onHandleOffsetChange = function onHandleOffsetChange(offset, valueIndex) {
84081
+ if (!disabled) {
84082
+ var next = offsetValues(rawValues, offset, valueIndex);
84083
+ onBeforeChange === null || onBeforeChange === void 0 || onBeforeChange(getTriggerValue(rawValues));
84084
+ triggerChange(next.values);
84085
+ setKeyboardValue(next.value);
84086
+ }
84087
+ };
84088
+ react__WEBPACK_IMPORTED_MODULE_10__.useEffect(function () {
84089
+ if (keyboardValue !== null) {
84090
+ var valueIndex = rawValues.indexOf(keyboardValue);
84091
+ if (valueIndex >= 0) {
84092
+ handlesRef.current.focus(valueIndex);
84093
+ }
84094
+ }
84095
+ setKeyboardValue(null);
84096
+ }, [keyboardValue]);
84097
+
84098
+ // ============================= Drag =============================
84099
+ var mergedDraggableTrack = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
84100
+ if (rangeDraggableTrack && mergedStep === null) {
84101
+ if (true) {
84102
+ (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_9__["default"])(false, '`draggableTrack` is not supported when `step` is `null`.');
84103
+ }
84104
+ return false;
84105
+ }
84106
+ return rangeDraggableTrack;
84107
+ }, [rangeDraggableTrack, mergedStep]);
84108
+ var onStartMove = (0,rc_util_es_hooks_useEvent__WEBPACK_IMPORTED_MODULE_6__["default"])(function (e, valueIndex) {
84109
+ onStartDrag(e, valueIndex);
84110
+ onBeforeChange === null || onBeforeChange === void 0 || onBeforeChange(getTriggerValue(rawValues));
84111
+ });
84112
+
84113
+ // Auto focus for updated handle
84114
+ var dragging = draggingIndex !== -1;
84115
+ react__WEBPACK_IMPORTED_MODULE_10__.useEffect(function () {
84116
+ if (!dragging) {
84117
+ var valueIndex = rawValues.lastIndexOf(draggingValue);
84118
+ handlesRef.current.focus(valueIndex);
84119
+ }
84120
+ }, [dragging]);
84121
+
84122
+ // =========================== Included ===========================
84123
+ var sortedCacheValues = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
84124
+ return (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__["default"])(cacheValues).sort(function (a, b) {
84125
+ return a - b;
84126
+ });
84127
+ }, [cacheValues]);
84128
+
84129
+ // Provide a range values with included [min, max]
84130
+ // Used for Track, Mark & Dot
84131
+ var _React$useMemo = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
84132
+ if (!rangeEnabled) {
84133
+ return [mergedMin, sortedCacheValues[0]];
84134
+ }
84135
+ return [sortedCacheValues[0], sortedCacheValues[sortedCacheValues.length - 1]];
84136
+ }, [sortedCacheValues, rangeEnabled, mergedMin]),
84137
+ _React$useMemo2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_4__["default"])(_React$useMemo, 2),
84138
+ includedStart = _React$useMemo2[0],
84139
+ includedEnd = _React$useMemo2[1];
84140
+
84141
+ // ============================= Refs =============================
84142
+ react__WEBPACK_IMPORTED_MODULE_10__.useImperativeHandle(ref, function () {
84143
+ return {
84144
+ focus: function focus() {
84145
+ handlesRef.current.focus(0);
84146
+ },
84147
+ blur: function blur() {
84148
+ var _containerRef$current2;
84149
+ var _document = document,
84150
+ activeElement = _document.activeElement;
84151
+ if ((_containerRef$current2 = containerRef.current) !== null && _containerRef$current2 !== void 0 && _containerRef$current2.contains(activeElement)) {
84152
+ activeElement === null || activeElement === void 0 || activeElement.blur();
84153
+ }
84154
+ }
84155
+ };
84156
+ });
84157
+
84158
+ // ========================== Auto Focus ==========================
84159
+ react__WEBPACK_IMPORTED_MODULE_10__.useEffect(function () {
84160
+ if (autoFocus) {
84161
+ handlesRef.current.focus(0);
84162
+ }
84163
+ }, []);
84164
+
84165
+ // =========================== Context ============================
84166
+ var context = react__WEBPACK_IMPORTED_MODULE_10__.useMemo(function () {
84167
+ return {
84168
+ min: mergedMin,
84169
+ max: mergedMax,
84170
+ direction: direction,
84171
+ disabled: disabled,
84172
+ keyboard: keyboard,
84173
+ step: mergedStep,
84174
+ included: included,
84175
+ includedStart: includedStart,
84176
+ includedEnd: includedEnd,
84177
+ range: rangeEnabled,
84178
+ tabIndex: tabIndex,
84179
+ ariaLabelForHandle: ariaLabelForHandle,
84180
+ ariaLabelledByForHandle: ariaLabelledByForHandle,
84181
+ ariaRequired: ariaRequired,
84182
+ ariaValueTextFormatterForHandle: ariaValueTextFormatterForHandle,
84183
+ styles: styles || {},
84184
+ classNames: classNames || {}
84185
+ };
84186
+ }, [mergedMin, mergedMax, direction, disabled, keyboard, mergedStep, included, includedStart, includedEnd, rangeEnabled, tabIndex, ariaLabelForHandle, ariaLabelledByForHandle, ariaRequired, ariaValueTextFormatterForHandle, styles, classNames]);
84187
+
84188
+ // ============================ Render ============================
84189
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement(_context__WEBPACK_IMPORTED_MODULE_15__["default"].Provider, {
84190
+ value: context
84191
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement("div", {
84192
+ ref: containerRef,
84193
+ className: classnames__WEBPACK_IMPORTED_MODULE_5___default()(prefixCls, className, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, "".concat(prefixCls, "-disabled"), disabled), "".concat(prefixCls, "-vertical"), vertical), "".concat(prefixCls, "-horizontal"), !vertical), "".concat(prefixCls, "-with-marks"), markList.length)),
84194
+ style: style,
84195
+ onMouseDown: onSliderMouseDown,
84196
+ id: id
84197
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement("div", {
84198
+ className: classnames__WEBPACK_IMPORTED_MODULE_5___default()("".concat(prefixCls, "-rail"), classNames === null || classNames === void 0 ? void 0 : classNames.rail),
84199
+ style: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, railStyle), styles === null || styles === void 0 ? void 0 : styles.rail)
84200
+ }), track !== false && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement(_Tracks__WEBPACK_IMPORTED_MODULE_14__["default"], {
84201
+ prefixCls: prefixCls,
84202
+ style: trackStyle,
84203
+ values: rawValues,
84204
+ startPoint: startPoint,
84205
+ onStartMove: mergedDraggableTrack ? onStartMove : undefined
84206
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement(_Steps__WEBPACK_IMPORTED_MODULE_13__["default"], {
84207
+ prefixCls: prefixCls,
84208
+ marks: markList,
84209
+ dots: dots,
84210
+ style: dotStyle,
84211
+ activeStyle: activeDotStyle
84212
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement(_Handles__WEBPACK_IMPORTED_MODULE_11__["default"], {
84213
+ ref: handlesRef,
84214
+ prefixCls: prefixCls,
84215
+ style: handleStyle,
84216
+ values: cacheValues,
84217
+ draggingIndex: draggingIndex,
84218
+ draggingDelete: draggingDelete,
84219
+ onStartMove: onStartMove,
84220
+ onOffsetChange: onHandleOffsetChange,
84221
+ onFocus: onFocus,
84222
+ onBlur: onBlur,
84223
+ handleRender: handleRender,
84224
+ activeHandleRender: activeHandleRender,
84225
+ onChangeComplete: finishChange,
84226
+ onDelete: rangeEditable ? onDelete : undefined
84227
+ }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10__.createElement(_Marks__WEBPACK_IMPORTED_MODULE_12__["default"], {
84228
+ prefixCls: prefixCls,
84229
+ marks: markList,
84230
+ onClick: changeToCloseValue
84231
+ })));
84232
+ });
84233
+ if (true) {
84234
+ Slider.displayName = 'Slider';
84235
+ }
84236
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Slider);
84237
+
84238
+ /***/ }),
84239
+
84240
+ /***/ "./node_modules/rc-slider/es/Steps/Dot.js":
84241
+ /*!************************************************!*\
84242
+ !*** ./node_modules/rc-slider/es/Steps/Dot.js ***!
84243
+ \************************************************/
84244
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84245
+
84246
+ "use strict";
84247
+ __webpack_require__.r(__webpack_exports__);
84248
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84249
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
84250
+ /* harmony export */ });
84251
+ /* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js");
84252
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
84253
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
84254
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
84255
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
84256
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
84257
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
84258
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./node_modules/rc-slider/es/util.js");
84259
+
84260
+
84261
+
84262
+
84263
+
84264
+
84265
+ var Dot = function Dot(props) {
84266
+ var prefixCls = props.prefixCls,
84267
+ value = props.value,
84268
+ style = props.style,
84269
+ activeStyle = props.activeStyle;
84270
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_context__WEBPACK_IMPORTED_MODULE_4__["default"]),
84271
+ min = _React$useContext.min,
84272
+ max = _React$useContext.max,
84273
+ direction = _React$useContext.direction,
84274
+ included = _React$useContext.included,
84275
+ includedStart = _React$useContext.includedStart,
84276
+ includedEnd = _React$useContext.includedEnd;
84277
+ var dotClassName = "".concat(prefixCls, "-dot");
84278
+ var active = included && includedStart <= value && value <= includedEnd;
84279
+
84280
+ // ============================ Offset ============================
84281
+ var mergedStyle = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, (0,_util__WEBPACK_IMPORTED_MODULE_5__.getDirectionStyle)(direction, value, min, max)), typeof style === 'function' ? style(value) : style);
84282
+ if (active) {
84283
+ mergedStyle = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__["default"])({}, mergedStyle), typeof activeStyle === 'function' ? activeStyle(value) : activeStyle);
84284
+ }
84285
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement("span", {
84286
+ className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(dotClassName, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__["default"])({}, "".concat(dotClassName, "-active"), active)),
84287
+ style: mergedStyle
84288
+ });
84289
+ };
84290
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Dot);
84291
+
84292
+ /***/ }),
84293
+
84294
+ /***/ "./node_modules/rc-slider/es/Steps/index.js":
84295
+ /*!**************************************************!*\
84296
+ !*** ./node_modules/rc-slider/es/Steps/index.js ***!
84297
+ \**************************************************/
84298
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84299
+
84300
+ "use strict";
84301
+ __webpack_require__.r(__webpack_exports__);
84302
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84303
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
84304
+ /* harmony export */ });
84305
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
84306
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
84307
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
84308
+ /* harmony import */ var _Dot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Dot */ "./node_modules/rc-slider/es/Steps/Dot.js");
84309
+
84310
+
84311
+
84312
+ var Steps = function Steps(props) {
84313
+ var prefixCls = props.prefixCls,
84314
+ marks = props.marks,
84315
+ dots = props.dots,
84316
+ style = props.style,
84317
+ activeStyle = props.activeStyle;
84318
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_context__WEBPACK_IMPORTED_MODULE_1__["default"]),
84319
+ min = _React$useContext.min,
84320
+ max = _React$useContext.max,
84321
+ step = _React$useContext.step;
84322
+ var stepDots = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(function () {
84323
+ var dotSet = new Set();
84324
+
84325
+ // Add marks
84326
+ marks.forEach(function (mark) {
84327
+ dotSet.add(mark.value);
84328
+ });
84329
+
84330
+ // Fill dots
84331
+ if (dots && step !== null) {
84332
+ var current = min;
84333
+ while (current <= max) {
84334
+ dotSet.add(current);
84335
+ current += step;
84336
+ }
84337
+ }
84338
+ return Array.from(dotSet);
84339
+ }, [min, max, step, dots, marks]);
84340
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", {
84341
+ className: "".concat(prefixCls, "-step")
84342
+ }, stepDots.map(function (dotValue) {
84343
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_Dot__WEBPACK_IMPORTED_MODULE_2__["default"], {
84344
+ prefixCls: prefixCls,
84345
+ key: dotValue,
84346
+ value: dotValue,
84347
+ style: style,
84348
+ activeStyle: activeStyle
84349
+ });
84350
+ }));
84351
+ };
84352
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Steps);
84353
+
84354
+ /***/ }),
84355
+
84356
+ /***/ "./node_modules/rc-slider/es/Tracks/Track.js":
84357
+ /*!***************************************************!*\
84358
+ !*** ./node_modules/rc-slider/es/Tracks/Track.js ***!
84359
+ \***************************************************/
84360
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84361
+
84362
+ "use strict";
84363
+ __webpack_require__.r(__webpack_exports__);
84364
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84365
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
84366
+ /* harmony export */ });
84367
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
84368
+ /* 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");
84369
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
84370
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
84371
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react");
84372
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
84373
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
84374
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util */ "./node_modules/rc-slider/es/util.js");
84375
+
84376
+
84377
+
84378
+
84379
+
84380
+
84381
+ var Track = function Track(props) {
84382
+ var prefixCls = props.prefixCls,
84383
+ style = props.style,
84384
+ start = props.start,
84385
+ end = props.end,
84386
+ index = props.index,
84387
+ onStartMove = props.onStartMove,
84388
+ replaceCls = props.replaceCls;
84389
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_3__.useContext(_context__WEBPACK_IMPORTED_MODULE_4__["default"]),
84390
+ direction = _React$useContext.direction,
84391
+ min = _React$useContext.min,
84392
+ max = _React$useContext.max,
84393
+ disabled = _React$useContext.disabled,
84394
+ range = _React$useContext.range,
84395
+ classNames = _React$useContext.classNames;
84396
+ var trackPrefixCls = "".concat(prefixCls, "-track");
84397
+ var offsetStart = (0,_util__WEBPACK_IMPORTED_MODULE_5__.getOffset)(start, min, max);
84398
+ var offsetEnd = (0,_util__WEBPACK_IMPORTED_MODULE_5__.getOffset)(end, min, max);
84399
+
84400
+ // ============================ Events ============================
84401
+ var onInternalStartMove = function onInternalStartMove(e) {
84402
+ if (!disabled && onStartMove) {
84403
+ onStartMove(e, -1);
84404
+ }
84405
+ };
84406
+
84407
+ // ============================ Render ============================
84408
+ var positionStyle = {};
84409
+ switch (direction) {
84410
+ case 'rtl':
84411
+ positionStyle.right = "".concat(offsetStart * 100, "%");
84412
+ positionStyle.width = "".concat(offsetEnd * 100 - offsetStart * 100, "%");
84413
+ break;
84414
+ case 'btt':
84415
+ positionStyle.bottom = "".concat(offsetStart * 100, "%");
84416
+ positionStyle.height = "".concat(offsetEnd * 100 - offsetStart * 100, "%");
84417
+ break;
84418
+ case 'ttb':
84419
+ positionStyle.top = "".concat(offsetStart * 100, "%");
84420
+ positionStyle.height = "".concat(offsetEnd * 100 - offsetStart * 100, "%");
84421
+ break;
84422
+ default:
84423
+ positionStyle.left = "".concat(offsetStart * 100, "%");
84424
+ positionStyle.width = "".concat(offsetEnd * 100 - offsetStart * 100, "%");
84425
+ }
84426
+ var className = replaceCls || classnames__WEBPACK_IMPORTED_MODULE_2___default()(trackPrefixCls, (0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])((0,_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__["default"])({}, "".concat(trackPrefixCls, "-").concat(index + 1), index !== null && range), "".concat(prefixCls, "-track-draggable"), onStartMove), classNames.track);
84427
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement("div", {
84428
+ className: className,
84429
+ style: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, positionStyle), style),
84430
+ onMouseDown: onInternalStartMove,
84431
+ onTouchStart: onInternalStartMove
84432
+ });
84433
+ };
84434
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Track);
84435
+
84436
+ /***/ }),
84437
+
84438
+ /***/ "./node_modules/rc-slider/es/Tracks/index.js":
84439
+ /*!***************************************************!*\
84440
+ !*** ./node_modules/rc-slider/es/Tracks/index.js ***!
84441
+ \***************************************************/
84442
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84443
+
84444
+ "use strict";
84445
+ __webpack_require__.r(__webpack_exports__);
84446
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84447
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
84448
+ /* harmony export */ });
84449
+ /* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ "./node_modules/@babel/runtime/helpers/esm/objectSpread2.js");
84450
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ "./node_modules/classnames/index.js");
84451
+ /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
84452
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
84453
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
84454
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
84455
+ /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util */ "./node_modules/rc-slider/es/util.js");
84456
+ /* harmony import */ var _Track__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Track */ "./node_modules/rc-slider/es/Tracks/Track.js");
84457
+
84458
+
84459
+
84460
+
84461
+
84462
+
84463
+ var Tracks = function Tracks(props) {
84464
+ var prefixCls = props.prefixCls,
84465
+ style = props.style,
84466
+ values = props.values,
84467
+ startPoint = props.startPoint,
84468
+ onStartMove = props.onStartMove;
84469
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_context__WEBPACK_IMPORTED_MODULE_3__["default"]),
84470
+ included = _React$useContext.included,
84471
+ range = _React$useContext.range,
84472
+ min = _React$useContext.min,
84473
+ styles = _React$useContext.styles,
84474
+ classNames = _React$useContext.classNames;
84475
+
84476
+ // =========================== List ===========================
84477
+ var trackList = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () {
84478
+ if (!range) {
84479
+ // null value do not have track
84480
+ if (values.length === 0) {
84481
+ return [];
84482
+ }
84483
+ var startValue = startPoint !== null && startPoint !== void 0 ? startPoint : min;
84484
+ var endValue = values[0];
84485
+ return [{
84486
+ start: Math.min(startValue, endValue),
84487
+ end: Math.max(startValue, endValue)
84488
+ }];
84489
+ }
84490
+
84491
+ // Multiple
84492
+ var list = [];
84493
+ for (var i = 0; i < values.length - 1; i += 1) {
84494
+ list.push({
84495
+ start: values[i],
84496
+ end: values[i + 1]
84497
+ });
84498
+ }
84499
+ return list;
84500
+ }, [values, range, startPoint, min]);
84501
+ if (!included) {
84502
+ return null;
84503
+ }
84504
+
84505
+ // ========================== Render ==========================
84506
+ var tracksNode = trackList !== null && trackList !== void 0 && trackList.length && (classNames.tracks || styles.tracks) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_Track__WEBPACK_IMPORTED_MODULE_5__["default"], {
84507
+ index: null,
84508
+ prefixCls: prefixCls,
84509
+ start: trackList[0].start,
84510
+ end: trackList[trackList.length - 1].end,
84511
+ replaceCls: classnames__WEBPACK_IMPORTED_MODULE_1___default()(classNames.tracks, "".concat(prefixCls, "-tracks")),
84512
+ style: styles.tracks
84513
+ }) : null;
84514
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, tracksNode, trackList.map(function (_ref, index) {
84515
+ var start = _ref.start,
84516
+ end = _ref.end;
84517
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_Track__WEBPACK_IMPORTED_MODULE_5__["default"], {
84518
+ index: index,
84519
+ prefixCls: prefixCls,
84520
+ style: (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__["default"])({}, (0,_util__WEBPACK_IMPORTED_MODULE_4__.getIndex)(style, index)), styles.track),
84521
+ start: start,
84522
+ end: end,
84523
+ key: index,
84524
+ onStartMove: onStartMove
84525
+ });
84526
+ }));
84527
+ };
84528
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tracks);
84529
+
84530
+ /***/ }),
84531
+
84532
+ /***/ "./node_modules/rc-slider/es/context.js":
84533
+ /*!**********************************************!*\
84534
+ !*** ./node_modules/rc-slider/es/context.js ***!
84535
+ \**********************************************/
84536
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84537
+
84538
+ "use strict";
84539
+ __webpack_require__.r(__webpack_exports__);
84540
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84541
+ /* harmony export */ UnstableContext: () => (/* binding */ UnstableContext),
84542
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
84543
+ /* harmony export */ });
84544
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
84545
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
84546
+
84547
+ var SliderContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({
84548
+ min: 0,
84549
+ max: 0,
84550
+ direction: 'ltr',
84551
+ step: 1,
84552
+ includedStart: 0,
84553
+ includedEnd: 0,
84554
+ tabIndex: 0,
84555
+ keyboard: true,
84556
+ styles: {},
84557
+ classNames: {}
84558
+ });
84559
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SliderContext);
84560
+ /** @private NOT PROMISE AVAILABLE. DO NOT USE IN PRODUCTION. */
84561
+ var UnstableContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({});
84562
+
84563
+ /***/ }),
84564
+
84565
+ /***/ "./node_modules/rc-slider/es/hooks/useDrag.js":
84566
+ /*!****************************************************!*\
84567
+ !*** ./node_modules/rc-slider/es/hooks/useDrag.js ***!
84568
+ \****************************************************/
84569
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84570
+
84571
+ "use strict";
84572
+ __webpack_require__.r(__webpack_exports__);
84573
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84574
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
84575
+ /* harmony export */ });
84576
+ /* 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");
84577
+ /* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/slicedToArray */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
84578
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ "react");
84579
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);
84580
+ /* harmony import */ var rc_util_es_hooks_useEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rc-util/es/hooks/useEvent */ "./node_modules/rc-util/es/hooks/useEvent.js");
84581
+ /* harmony import */ var rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rc-util/es/hooks/useLayoutEffect */ "./node_modules/rc-util/es/hooks/useLayoutEffect.js");
84582
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../context */ "./node_modules/rc-slider/es/context.js");
84583
+
84584
+
84585
+
84586
+
84587
+
84588
+
84589
+ /** Drag to delete offset. It's a user experience number for dragging out */
84590
+ var REMOVE_DIST = 130;
84591
+ function getPosition(e) {
84592
+ var obj = 'targetTouches' in e ? e.targetTouches[0] : e;
84593
+ return {
84594
+ pageX: obj.pageX,
84595
+ pageY: obj.pageY
84596
+ };
84597
+ }
84598
+ function useDrag(containerRef, direction, rawValues, min, max, formatValue, triggerChange, finishChange, offsetValues, editable, minCount) {
84599
+ var _React$useState = react__WEBPACK_IMPORTED_MODULE_2__.useState(null),
84600
+ _React$useState2 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_React$useState, 2),
84601
+ draggingValue = _React$useState2[0],
84602
+ setDraggingValue = _React$useState2[1];
84603
+ var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_2__.useState(-1),
84604
+ _React$useState4 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_React$useState3, 2),
84605
+ draggingIndex = _React$useState4[0],
84606
+ setDraggingIndex = _React$useState4[1];
84607
+ var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_2__.useState(false),
84608
+ _React$useState6 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_React$useState5, 2),
84609
+ draggingDelete = _React$useState6[0],
84610
+ setDraggingDelete = _React$useState6[1];
84611
+ var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_2__.useState(rawValues),
84612
+ _React$useState8 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_React$useState7, 2),
84613
+ cacheValues = _React$useState8[0],
84614
+ setCacheValues = _React$useState8[1];
84615
+ var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_2__.useState(rawValues),
84616
+ _React$useState10 = (0,_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_1__["default"])(_React$useState9, 2),
84617
+ originValues = _React$useState10[0],
84618
+ setOriginValues = _React$useState10[1];
84619
+ var mouseMoveEventRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
84620
+ var mouseUpEventRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
84621
+ var touchEventTargetRef = react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);
84622
+ var _React$useContext = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_context__WEBPACK_IMPORTED_MODULE_5__.UnstableContext),
84623
+ onDragStart = _React$useContext.onDragStart,
84624
+ onDragChange = _React$useContext.onDragChange;
84625
+ (0,rc_util_es_hooks_useLayoutEffect__WEBPACK_IMPORTED_MODULE_4__["default"])(function () {
84626
+ if (draggingIndex === -1) {
84627
+ setCacheValues(rawValues);
84628
+ }
84629
+ }, [rawValues, draggingIndex]);
84630
+
84631
+ // Clean up event
84632
+ react__WEBPACK_IMPORTED_MODULE_2__.useEffect(function () {
84633
+ return function () {
84634
+ document.removeEventListener('mousemove', mouseMoveEventRef.current);
84635
+ document.removeEventListener('mouseup', mouseUpEventRef.current);
84636
+ if (touchEventTargetRef.current) {
84637
+ touchEventTargetRef.current.removeEventListener('touchmove', mouseMoveEventRef.current);
84638
+ touchEventTargetRef.current.removeEventListener('touchend', mouseUpEventRef.current);
84639
+ }
84640
+ };
84641
+ }, []);
84642
+ var flushValues = function flushValues(nextValues, nextValue, deleteMark) {
84643
+ // Perf: Only update state when value changed
84644
+ if (nextValue !== undefined) {
84645
+ setDraggingValue(nextValue);
84646
+ }
84647
+ setCacheValues(nextValues);
84648
+ var changeValues = nextValues;
84649
+ if (deleteMark) {
84650
+ changeValues = nextValues.filter(function (_, i) {
84651
+ return i !== draggingIndex;
84652
+ });
84653
+ }
84654
+ triggerChange(changeValues);
84655
+ if (onDragChange) {
84656
+ onDragChange({
84657
+ rawValues: nextValues,
84658
+ deleteIndex: deleteMark ? draggingIndex : -1,
84659
+ draggingIndex: draggingIndex,
84660
+ draggingValue: nextValue
84661
+ });
84662
+ }
84663
+ };
84664
+ var updateCacheValue = (0,rc_util_es_hooks_useEvent__WEBPACK_IMPORTED_MODULE_3__["default"])(function (valueIndex, offsetPercent, deleteMark) {
84665
+ if (valueIndex === -1) {
84666
+ // >>>> Dragging on the track
84667
+ var startValue = originValues[0];
84668
+ var endValue = originValues[originValues.length - 1];
84669
+ var maxStartOffset = min - startValue;
84670
+ var maxEndOffset = max - endValue;
84671
+
84672
+ // Get valid offset
84673
+ var offset = offsetPercent * (max - min);
84674
+ offset = Math.max(offset, maxStartOffset);
84675
+ offset = Math.min(offset, maxEndOffset);
84676
+
84677
+ // Use first value to revert back of valid offset (like steps marks)
84678
+ var formatStartValue = formatValue(startValue + offset);
84679
+ offset = formatStartValue - startValue;
84680
+ var cloneCacheValues = originValues.map(function (val) {
84681
+ return val + offset;
84682
+ });
84683
+ flushValues(cloneCacheValues);
84684
+ } else {
84685
+ // >>>> Dragging on the handle
84686
+ var offsetDist = (max - min) * offsetPercent;
84687
+
84688
+ // Always start with the valueIndex origin value
84689
+ var cloneValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(cacheValues);
84690
+ cloneValues[valueIndex] = originValues[valueIndex];
84691
+ var next = offsetValues(cloneValues, offsetDist, valueIndex, 'dist');
84692
+ flushValues(next.values, next.value, deleteMark);
84693
+ }
84694
+ });
84695
+ var onStartMove = function onStartMove(e, valueIndex, startValues) {
84696
+ e.stopPropagation();
84697
+
84698
+ // 如果是点击 track 触发的,需要传入变化后的初始值,而不能直接用 rawValues
84699
+ var initialValues = startValues || rawValues;
84700
+ var originValue = initialValues[valueIndex];
84701
+ setDraggingIndex(valueIndex);
84702
+ setDraggingValue(originValue);
84703
+ setOriginValues(initialValues);
84704
+ setCacheValues(initialValues);
84705
+ setDraggingDelete(false);
84706
+ var _getPosition = getPosition(e),
84707
+ startX = _getPosition.pageX,
84708
+ startY = _getPosition.pageY;
84709
+
84710
+ // We declare it here since closure can't get outer latest value
84711
+ var deleteMark = false;
84712
+
84713
+ // Internal trigger event
84714
+ if (onDragStart) {
84715
+ onDragStart({
84716
+ rawValues: initialValues,
84717
+ draggingIndex: valueIndex,
84718
+ draggingValue: originValue
84719
+ });
84720
+ }
84721
+
84722
+ // Moving
84723
+ var onMouseMove = function onMouseMove(event) {
84724
+ event.preventDefault();
84725
+ var _getPosition2 = getPosition(event),
84726
+ moveX = _getPosition2.pageX,
84727
+ moveY = _getPosition2.pageY;
84728
+ var offsetX = moveX - startX;
84729
+ var offsetY = moveY - startY;
84730
+ var _containerRef$current = containerRef.current.getBoundingClientRect(),
84731
+ width = _containerRef$current.width,
84732
+ height = _containerRef$current.height;
84733
+ var offSetPercent;
84734
+ var removeDist;
84735
+ switch (direction) {
84736
+ case 'btt':
84737
+ offSetPercent = -offsetY / height;
84738
+ removeDist = offsetX;
84739
+ break;
84740
+ case 'ttb':
84741
+ offSetPercent = offsetY / height;
84742
+ removeDist = offsetX;
84743
+ break;
84744
+ case 'rtl':
84745
+ offSetPercent = -offsetX / width;
84746
+ removeDist = offsetY;
84747
+ break;
84748
+ default:
84749
+ offSetPercent = offsetX / width;
84750
+ removeDist = offsetY;
84751
+ }
84752
+
84753
+ // Check if need mark remove
84754
+ deleteMark = editable ? Math.abs(removeDist) > REMOVE_DIST && minCount < cacheValues.length : false;
84755
+ setDraggingDelete(deleteMark);
84756
+ updateCacheValue(valueIndex, offSetPercent, deleteMark);
84757
+ };
84758
+
84759
+ // End
84760
+ var onMouseUp = function onMouseUp(event) {
84761
+ event.preventDefault();
84762
+ document.removeEventListener('mouseup', onMouseUp);
84763
+ document.removeEventListener('mousemove', onMouseMove);
84764
+ if (touchEventTargetRef.current) {
84765
+ touchEventTargetRef.current.removeEventListener('touchmove', mouseMoveEventRef.current);
84766
+ touchEventTargetRef.current.removeEventListener('touchend', mouseUpEventRef.current);
84767
+ }
84768
+ mouseMoveEventRef.current = null;
84769
+ mouseUpEventRef.current = null;
84770
+ touchEventTargetRef.current = null;
84771
+ finishChange(deleteMark);
84772
+ setDraggingIndex(-1);
84773
+ setDraggingDelete(false);
84774
+ };
84775
+ document.addEventListener('mouseup', onMouseUp);
84776
+ document.addEventListener('mousemove', onMouseMove);
84777
+ e.currentTarget.addEventListener('touchend', onMouseUp);
84778
+ e.currentTarget.addEventListener('touchmove', onMouseMove);
84779
+ mouseMoveEventRef.current = onMouseMove;
84780
+ mouseUpEventRef.current = onMouseUp;
84781
+ touchEventTargetRef.current = e.currentTarget;
84782
+ };
84783
+
84784
+ // Only return cache value when it mapping with rawValues
84785
+ var returnValues = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(function () {
84786
+ var sourceValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(rawValues).sort(function (a, b) {
84787
+ return a - b;
84788
+ });
84789
+ var targetValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(cacheValues).sort(function (a, b) {
84790
+ return a - b;
84791
+ });
84792
+ var counts = {};
84793
+ targetValues.forEach(function (val) {
84794
+ counts[val] = (counts[val] || 0) + 1;
84795
+ });
84796
+ sourceValues.forEach(function (val) {
84797
+ counts[val] = (counts[val] || 0) - 1;
84798
+ });
84799
+ var maxDiffCount = editable ? 1 : 0;
84800
+ var diffCount = Object.values(counts).reduce(function (prev, next) {
84801
+ return prev + Math.abs(next);
84802
+ }, 0);
84803
+ return diffCount <= maxDiffCount ? cacheValues : rawValues;
84804
+ }, [rawValues, cacheValues, editable]);
84805
+ return [draggingIndex, draggingValue, draggingDelete, returnValues, onStartMove];
84806
+ }
84807
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDrag);
84808
+
84809
+ /***/ }),
84810
+
84811
+ /***/ "./node_modules/rc-slider/es/hooks/useOffset.js":
84812
+ /*!******************************************************!*\
84813
+ !*** ./node_modules/rc-slider/es/hooks/useOffset.js ***!
84814
+ \******************************************************/
84815
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84816
+
84817
+ "use strict";
84818
+ __webpack_require__.r(__webpack_exports__);
84819
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
84820
+ /* harmony export */ "default": () => (/* binding */ useOffset)
84821
+ /* harmony export */ });
84822
+ /* 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");
84823
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
84824
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
84825
+
84826
+
84827
+
84828
+ /** Format the value in the range of [min, max] */
84829
+
84830
+ /** Format value align with step */
84831
+
84832
+ /** Format value align with step & marks */
84833
+
84834
+ function useOffset(min, max, step, markList, allowCross, pushable) {
84835
+ var formatRangeValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(function (val) {
84836
+ return Math.max(min, Math.min(max, val));
84837
+ }, [min, max]);
84838
+ var formatStepValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(function (val) {
84839
+ if (step !== null) {
84840
+ var stepValue = min + Math.round((formatRangeValue(val) - min) / step) * step;
84841
+
84842
+ // Cut number in case to be like 0.30000000000000004
84843
+ var getDecimal = function getDecimal(num) {
84844
+ return (String(num).split('.')[1] || '').length;
84845
+ };
84846
+ var maxDecimal = Math.max(getDecimal(step), getDecimal(max), getDecimal(min));
84847
+ var fixedValue = Number(stepValue.toFixed(maxDecimal));
84848
+ return min <= fixedValue && fixedValue <= max ? fixedValue : null;
84849
+ }
84850
+ return null;
84851
+ }, [step, min, max, formatRangeValue]);
84852
+ var formatValue = react__WEBPACK_IMPORTED_MODULE_1__.useCallback(function (val) {
84853
+ var formatNextValue = formatRangeValue(val);
84854
+
84855
+ // List align values
84856
+ var alignValues = markList.map(function (mark) {
84857
+ return mark.value;
84858
+ });
84859
+ if (step !== null) {
84860
+ alignValues.push(formatStepValue(val));
84861
+ }
84862
+
84863
+ // min & max
84864
+ alignValues.push(min, max);
84865
+
84866
+ // Align with marks
84867
+ var closeValue = alignValues[0];
84868
+ var closeDist = max - min;
84869
+ alignValues.forEach(function (alignValue) {
84870
+ var dist = Math.abs(formatNextValue - alignValue);
84871
+ if (dist <= closeDist) {
84872
+ closeValue = alignValue;
84873
+ closeDist = dist;
84874
+ }
84875
+ });
84876
+ return closeValue;
84877
+ }, [min, max, markList, step, formatRangeValue, formatStepValue]);
84878
+
84879
+ // ========================== Offset ==========================
84880
+ // Single Value
84881
+ var offsetValue = function offsetValue(values, offset, valueIndex) {
84882
+ var mode = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'unit';
84883
+ if (typeof offset === 'number') {
84884
+ var nextValue;
84885
+ var originValue = values[valueIndex];
84886
+
84887
+ // Only used for `dist` mode
84888
+ var targetDistValue = originValue + offset;
84889
+
84890
+ // Compare next step value & mark value which is best match
84891
+ var potentialValues = [];
84892
+ markList.forEach(function (mark) {
84893
+ potentialValues.push(mark.value);
84894
+ });
84895
+
84896
+ // Min & Max
84897
+ potentialValues.push(min, max);
84898
+
84899
+ // In case origin value is align with mark but not with step
84900
+ potentialValues.push(formatStepValue(originValue));
84901
+
84902
+ // Put offset step value also
84903
+ var sign = offset > 0 ? 1 : -1;
84904
+ if (mode === 'unit') {
84905
+ potentialValues.push(formatStepValue(originValue + sign * step));
84906
+ } else {
84907
+ potentialValues.push(formatStepValue(targetDistValue));
84908
+ }
84909
+
84910
+ // Find close one
84911
+ potentialValues = potentialValues.filter(function (val) {
84912
+ return val !== null;
84913
+ })
84914
+ // Remove reverse value
84915
+ .filter(function (val) {
84916
+ return offset < 0 ? val <= originValue : val >= originValue;
84917
+ });
84918
+ if (mode === 'unit') {
84919
+ // `unit` mode can not contain itself
84920
+ potentialValues = potentialValues.filter(function (val) {
84921
+ return val !== originValue;
84922
+ });
84923
+ }
84924
+ var compareValue = mode === 'unit' ? originValue : targetDistValue;
84925
+ nextValue = potentialValues[0];
84926
+ var valueDist = Math.abs(nextValue - compareValue);
84927
+ potentialValues.forEach(function (potentialValue) {
84928
+ var dist = Math.abs(potentialValue - compareValue);
84929
+ if (dist < valueDist) {
84930
+ nextValue = potentialValue;
84931
+ valueDist = dist;
84932
+ }
84933
+ });
84934
+
84935
+ // Out of range will back to range
84936
+ if (nextValue === undefined) {
84937
+ return offset < 0 ? min : max;
84938
+ }
84939
+
84940
+ // `dist` mode
84941
+ if (mode === 'dist') {
84942
+ return nextValue;
84943
+ }
84944
+
84945
+ // `unit` mode may need another round
84946
+ if (Math.abs(offset) > 1) {
84947
+ var cloneValues = (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__["default"])(values);
84948
+ cloneValues[valueIndex] = nextValue;
84949
+ return offsetValue(cloneValues, offset - sign, valueIndex, mode);
84950
+ }
84951
+ return nextValue;
84952
+ } else if (offset === 'min') {
84953
+ return min;
84954
+ } else if (offset === 'max') {
84955
+ return max;
84956
+ }
84957
+ };
84958
+
84959
+ /** Same as `offsetValue` but return `changed` mark to tell value changed */
84960
+ var offsetChangedValue = function offsetChangedValue(values, offset, valueIndex) {
84961
+ var mode = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'unit';
84962
+ var originValue = values[valueIndex];
84963
+ var nextValue = offsetValue(values, offset, valueIndex, mode);
84964
+ return {
84965
+ value: nextValue,
84966
+ changed: nextValue !== originValue
84967
+ };
84968
+ };
84969
+ var needPush = function needPush(dist) {
84970
+ return pushable === null && dist === 0 || typeof pushable === 'number' && dist < pushable;
84971
+ };
84972
+
84973
+ // Values
84974
+ var offsetValues = function offsetValues(values, offset, valueIndex) {
84975
+ var mode = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'unit';
84976
+ var nextValues = values.map(formatValue);
84977
+ var originValue = nextValues[valueIndex];
84978
+ var nextValue = offsetValue(nextValues, offset, valueIndex, mode);
84979
+ nextValues[valueIndex] = nextValue;
84980
+ if (allowCross === false) {
84981
+ // >>>>> Allow Cross
84982
+ var pushNum = pushable || 0;
84983
+
84984
+ // ============ AllowCross ===============
84985
+ if (valueIndex > 0 && nextValues[valueIndex - 1] !== originValue) {
84986
+ nextValues[valueIndex] = Math.max(nextValues[valueIndex], nextValues[valueIndex - 1] + pushNum);
84987
+ }
84988
+ if (valueIndex < nextValues.length - 1 && nextValues[valueIndex + 1] !== originValue) {
84989
+ nextValues[valueIndex] = Math.min(nextValues[valueIndex], nextValues[valueIndex + 1] - pushNum);
84990
+ }
84991
+ } else if (typeof pushable === 'number' || pushable === null) {
84992
+ // >>>>> Pushable
84993
+ // =============== Push ==================
84994
+
84995
+ // >>>>>> Basic push
84996
+ // End values
84997
+ for (var i = valueIndex + 1; i < nextValues.length; i += 1) {
84998
+ var changed = true;
84999
+ while (needPush(nextValues[i] - nextValues[i - 1]) && changed) {
85000
+ var _offsetChangedValue = offsetChangedValue(nextValues, 1, i);
85001
+ nextValues[i] = _offsetChangedValue.value;
85002
+ changed = _offsetChangedValue.changed;
85003
+ }
85004
+ }
85005
+
85006
+ // Start values
85007
+ for (var _i = valueIndex; _i > 0; _i -= 1) {
85008
+ var _changed = true;
85009
+ while (needPush(nextValues[_i] - nextValues[_i - 1]) && _changed) {
85010
+ var _offsetChangedValue2 = offsetChangedValue(nextValues, -1, _i - 1);
85011
+ nextValues[_i - 1] = _offsetChangedValue2.value;
85012
+ _changed = _offsetChangedValue2.changed;
85013
+ }
85014
+ }
85015
+
85016
+ // >>>>> Revert back to safe push range
85017
+ // End to Start
85018
+ for (var _i2 = nextValues.length - 1; _i2 > 0; _i2 -= 1) {
85019
+ var _changed2 = true;
85020
+ while (needPush(nextValues[_i2] - nextValues[_i2 - 1]) && _changed2) {
85021
+ var _offsetChangedValue3 = offsetChangedValue(nextValues, -1, _i2 - 1);
85022
+ nextValues[_i2 - 1] = _offsetChangedValue3.value;
85023
+ _changed2 = _offsetChangedValue3.changed;
85024
+ }
85025
+ }
85026
+
85027
+ // Start to End
85028
+ for (var _i3 = 0; _i3 < nextValues.length - 1; _i3 += 1) {
85029
+ var _changed3 = true;
85030
+ while (needPush(nextValues[_i3 + 1] - nextValues[_i3]) && _changed3) {
85031
+ var _offsetChangedValue4 = offsetChangedValue(nextValues, 1, _i3 + 1);
85032
+ nextValues[_i3 + 1] = _offsetChangedValue4.value;
85033
+ _changed3 = _offsetChangedValue4.changed;
85034
+ }
85035
+ }
85036
+ }
85037
+ return {
85038
+ value: nextValues[valueIndex],
85039
+ values: nextValues
85040
+ };
85041
+ };
85042
+ return [formatValue, offsetValues];
85043
+ }
85044
+
85045
+ /***/ }),
85046
+
85047
+ /***/ "./node_modules/rc-slider/es/hooks/useRange.js":
85048
+ /*!*****************************************************!*\
85049
+ !*** ./node_modules/rc-slider/es/hooks/useRange.js ***!
85050
+ \*****************************************************/
85051
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85052
+
85053
+ "use strict";
85054
+ __webpack_require__.r(__webpack_exports__);
85055
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85056
+ /* harmony export */ "default": () => (/* binding */ useRange)
85057
+ /* harmony export */ });
85058
+ /* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/warning */ "./node_modules/rc-util/es/warning.js");
85059
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
85060
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
85061
+
85062
+
85063
+ function useRange(range) {
85064
+ return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {
85065
+ if (range === true || !range) {
85066
+ return [!!range, false, false, 0];
85067
+ }
85068
+ var editable = range.editable,
85069
+ draggableTrack = range.draggableTrack,
85070
+ minCount = range.minCount,
85071
+ maxCount = range.maxCount;
85072
+ if (true) {
85073
+ (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__.warning)(!editable || !draggableTrack, '`editable` can not work with `draggableTrack`.');
85074
+ }
85075
+ return [true, editable, !editable && draggableTrack, minCount || 0, maxCount];
85076
+ }, [range]);
85077
+ }
85078
+
85079
+ /***/ }),
85080
+
85081
+ /***/ "./node_modules/rc-slider/es/index.js":
85082
+ /*!********************************************!*\
85083
+ !*** ./node_modules/rc-slider/es/index.js ***!
85084
+ \********************************************/
85085
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85086
+
85087
+ "use strict";
85088
+ __webpack_require__.r(__webpack_exports__);
85089
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85090
+ /* harmony export */ UnstableContext: () => (/* reexport safe */ _context__WEBPACK_IMPORTED_MODULE_1__.UnstableContext),
85091
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
85092
+ /* harmony export */ });
85093
+ /* harmony import */ var _Slider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Slider */ "./node_modules/rc-slider/es/Slider.js");
85094
+ /* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./context */ "./node_modules/rc-slider/es/context.js");
85095
+
85096
+
85097
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_Slider__WEBPACK_IMPORTED_MODULE_0__["default"]);
85098
+
85099
+ /***/ }),
85100
+
85101
+ /***/ "./node_modules/rc-slider/es/util.js":
85102
+ /*!*******************************************!*\
85103
+ !*** ./node_modules/rc-slider/es/util.js ***!
85104
+ \*******************************************/
85105
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
85106
+
85107
+ "use strict";
85108
+ __webpack_require__.r(__webpack_exports__);
85109
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
85110
+ /* harmony export */ getDirectionStyle: () => (/* binding */ getDirectionStyle),
85111
+ /* harmony export */ getIndex: () => (/* binding */ getIndex),
85112
+ /* harmony export */ getOffset: () => (/* binding */ getOffset)
85113
+ /* harmony export */ });
85114
+ function getOffset(value, min, max) {
85115
+ return (value - min) / (max - min);
85116
+ }
85117
+ function getDirectionStyle(direction, value, min, max) {
85118
+ var offset = getOffset(value, min, max);
85119
+ var positionStyle = {};
85120
+ switch (direction) {
85121
+ case 'rtl':
85122
+ positionStyle.right = "".concat(offset * 100, "%");
85123
+ positionStyle.transform = 'translateX(50%)';
85124
+ break;
85125
+ case 'btt':
85126
+ positionStyle.bottom = "".concat(offset * 100, "%");
85127
+ positionStyle.transform = 'translateY(50%)';
85128
+ break;
85129
+ case 'ttb':
85130
+ positionStyle.top = "".concat(offset * 100, "%");
85131
+ positionStyle.transform = 'translateY(-50%)';
85132
+ break;
85133
+ default:
85134
+ positionStyle.left = "".concat(offset * 100, "%");
85135
+ positionStyle.transform = 'translateX(-50%)';
85136
+ break;
85137
+ }
85138
+ return positionStyle;
85139
+ }
85140
+
85141
+ /** Return index value if is list or return value directly */
85142
+ function getIndex(value, index) {
85143
+ return Array.isArray(value) ? value[index] : value;
85144
+ }
85145
+
85146
+ /***/ }),
85147
+
83012
85148
  /***/ "./node_modules/rc-tabs/es/TabContext.js":
83013
85149
  /*!***********************************************!*\
83014
85150
  !*** ./node_modules/rc-tabs/es/TabContext.js ***!
@@ -87755,6 +89891,76 @@ function pickAttrs(props) {
87755
89891
 
87756
89892
  /***/ }),
87757
89893
 
89894
+ /***/ "./node_modules/rc-util/lib/raf.js":
89895
+ /*!*****************************************!*\
89896
+ !*** ./node_modules/rc-util/lib/raf.js ***!
89897
+ \*****************************************/
89898
+ /***/ ((__unused_webpack_module, exports) => {
89899
+
89900
+ "use strict";
89901
+
89902
+
89903
+ Object.defineProperty(exports, "__esModule", ({
89904
+ value: true
89905
+ }));
89906
+ exports["default"] = void 0;
89907
+ var raf = function raf(callback) {
89908
+ return +setTimeout(callback, 16);
89909
+ };
89910
+ var caf = function caf(num) {
89911
+ return clearTimeout(num);
89912
+ };
89913
+ if (typeof window !== 'undefined' && 'requestAnimationFrame' in window) {
89914
+ raf = function raf(callback) {
89915
+ return window.requestAnimationFrame(callback);
89916
+ };
89917
+ caf = function caf(handle) {
89918
+ return window.cancelAnimationFrame(handle);
89919
+ };
89920
+ }
89921
+ var rafUUID = 0;
89922
+ var rafIds = new Map();
89923
+ function cleanup(id) {
89924
+ rafIds.delete(id);
89925
+ }
89926
+ var wrapperRaf = function wrapperRaf(callback) {
89927
+ var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
89928
+ rafUUID += 1;
89929
+ var id = rafUUID;
89930
+ function callRef(leftTimes) {
89931
+ if (leftTimes === 0) {
89932
+ // Clean up
89933
+ cleanup(id);
89934
+
89935
+ // Trigger
89936
+ callback();
89937
+ } else {
89938
+ // Next raf
89939
+ var realId = raf(function () {
89940
+ callRef(leftTimes - 1);
89941
+ });
89942
+
89943
+ // Bind real raf id
89944
+ rafIds.set(id, realId);
89945
+ }
89946
+ }
89947
+ callRef(times);
89948
+ return id;
89949
+ };
89950
+ wrapperRaf.cancel = function (id) {
89951
+ var realId = rafIds.get(id);
89952
+ cleanup(id);
89953
+ return caf(realId);
89954
+ };
89955
+ if (true) {
89956
+ wrapperRaf.ids = function () {
89957
+ return rafIds;
89958
+ };
89959
+ }
89960
+ var _default = exports["default"] = wrapperRaf;
89961
+
89962
+ /***/ }),
89963
+
87758
89964
  /***/ "./node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js":
87759
89965
  /*!********************************************************************************!*\
87760
89966
  !*** ./node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js ***!