diff --git a/59734.6fd72625.async.js b/59734.6fd72625.async.js deleted file mode 100644 index 0ec20daddd..0000000000 --- a/59734.6fd72625.async.js +++ /dev/null @@ -1,1292 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[59734],{ - -/***/ 86909: -/*!************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/CaretRightOutlined.js + 1 modules ***! - \************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_CaretRightOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(16378); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/CaretRightOutlined.js -// This icon file is generated automatically. -var CaretRightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" } }] }, "name": "caret-right", "theme": "outlined" }; -/* harmony default export */ var asn_CaretRightOutlined = (CaretRightOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(31533); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/CaretRightOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var CaretRightOutlined_CaretRightOutlined = function CaretRightOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_CaretRightOutlined - })); -}; - -/** */ -var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(CaretRightOutlined_CaretRightOutlined); -if (false) {} -/* harmony default export */ var icons_CaretRightOutlined = (RefIcon); - -/***/ }), - -/***/ 34023: -/*!*******************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! - \*******************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_InboxOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(16378); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/InboxOutlined.js -// This icon file is generated automatically. -var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" }; -/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(31533); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_InboxOutlined - })); -}; - -/** */ -var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(InboxOutlined_InboxOutlined); -if (false) {} -/* harmony default export */ var icons_InboxOutlined = (RefIcon); - -/***/ }), - -/***/ 28103: -/*!***********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules ***! - \***********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ divider; } -}); - -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js -var context = __webpack_require__(36355); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js -var style = __webpack_require__(17313); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(83116); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js -var statistic = __webpack_require__(37613); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/style/index.js - - -// ============================== Shared ============================== -const genSharedDividerStyle = token => { - const { - componentCls, - sizePaddingEdgeHorizontal, - colorSplit, - lineWidth, - textPaddingInline, - orientationMargin, - verticalMarginInline - } = token; - return { - [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { - borderBlockStart: `${lineWidth}px solid ${colorSplit}`, - // vertical - '&-vertical': { - position: 'relative', - top: '-0.06em', - display: 'inline-block', - height: '0.9em', - marginInline: verticalMarginInline, - marginBlock: 0, - verticalAlign: 'middle', - borderTop: 0, - borderInlineStart: `${lineWidth}px solid ${colorSplit}` - }, - '&-horizontal': { - display: 'flex', - clear: 'both', - width: '100%', - minWidth: '100%', - margin: `${token.dividerHorizontalGutterMargin}px 0` - }, - [`&-horizontal${componentCls}-with-text`]: { - display: 'flex', - alignItems: 'center', - margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, - color: token.colorTextHeading, - fontWeight: 500, - fontSize: token.fontSizeLG, - whiteSpace: 'nowrap', - textAlign: 'center', - borderBlockStart: `0 ${colorSplit}`, - '&::before, &::after': { - position: 'relative', - width: '50%', - borderBlockStart: `${lineWidth}px solid transparent`, - // Chrome not accept `inherit` in `border-top` - borderBlockStartColor: 'inherit', - borderBlockEnd: 0, - transform: 'translateY(50%)', - content: "''" - } - }, - [`&-horizontal${componentCls}-with-text-left`]: { - '&::before': { - width: `${orientationMargin * 100}%` - }, - '&::after': { - width: `${100 - orientationMargin * 100}%` - } - }, - [`&-horizontal${componentCls}-with-text-right`]: { - '&::before': { - width: `${100 - orientationMargin * 100}%` - }, - '&::after': { - width: `${orientationMargin * 100}%` - } - }, - [`${componentCls}-inner-text`]: { - display: 'inline-block', - paddingBlock: 0, - paddingInline: textPaddingInline - }, - '&-dashed': { - background: 'none', - borderColor: colorSplit, - borderStyle: 'dashed', - borderWidth: `${lineWidth}px 0 0` - }, - [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { - '&::before, &::after': { - borderStyle: 'dashed none none' - } - }, - [`&-vertical${componentCls}-dashed`]: { - borderInlineStartWidth: lineWidth, - borderInlineEnd: 0, - borderBlockStart: 0, - borderBlockEnd: 0 - }, - [`&-plain${componentCls}-with-text`]: { - color: token.colorText, - fontWeight: 'normal', - fontSize: token.fontSize - }, - [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { - '&::before': { - width: 0 - }, - '&::after': { - width: '100%' - }, - [`${componentCls}-inner-text`]: { - paddingInlineStart: sizePaddingEdgeHorizontal - } - }, - [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { - '&::before': { - width: '100%' - }, - '&::after': { - width: 0 - }, - [`${componentCls}-inner-text`]: { - paddingInlineEnd: sizePaddingEdgeHorizontal - } - } - }) - }; -}; -// ============================== Export ============================== -/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { - const dividerToken = (0,statistic/* merge */.TS)(token, { - dividerHorizontalWithTextGutterMargin: token.margin, - dividerHorizontalGutterMargin: token.marginLG, - sizePaddingEdgeHorizontal: 0 - }); - return [genSharedDividerStyle(dividerToken)]; -}, token => ({ - textPaddingInline: '1em', - orientationMargin: 0.05, - verticalMarginInline: token.marginXS -}))); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.js -"use client"; - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - -const Divider = props => { - const { - getPrefixCls, - direction, - divider - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - type = 'horizontal', - orientation = 'center', - orientationMargin, - className, - rootClassName, - children, - dashed, - plain, - style - } = props, - restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); - const prefixCls = getPrefixCls('divider', customizePrefixCls); - const [wrapSSR, hashId] = divider_style(prefixCls); - const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; - const hasChildren = !!children; - const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; - const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; - const classString = _classnames_2_5_1_classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { - [`${prefixCls}-with-text`]: hasChildren, - [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, - [`${prefixCls}-dashed`]: !!dashed, - [`${prefixCls}-plain`]: !!plain, - [`${prefixCls}-rtl`]: direction === 'rtl', - [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, - [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight - }, className, rootClassName); - const memoizedOrientationMargin = _react_17_0_2_react.useMemo(() => { - if (typeof orientationMargin === 'number') { - return orientationMargin; - } - if (/^\d+$/.test(orientationMargin)) { - return Number(orientationMargin); - } - return orientationMargin; - }, [orientationMargin]); - const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { - marginLeft: memoizedOrientationMargin - }), hasCustomMarginRight && { - marginRight: memoizedOrientationMargin - }); - // Warning children not work in vertical mode - if (false) {} - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({ - className: classString, - style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) - }, restProps, { - role: "separator" - }), children && type !== 'vertical' && /*#__PURE__*/_react_17_0_2_react.createElement("span", { - className: `${prefixCls}-inner-text`, - style: innerStyle - }, children))); -}; -if (false) {} -/* harmony default export */ var divider = (Divider); - -/***/ }), - -/***/ 78673: -/*!**********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules ***! - \**********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ es_switch; } -}); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules -var LoadingOutlined = __webpack_require__(78714); -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(16378); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js -var defineProperty = __webpack_require__(78772); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules -var slicedToArray = __webpack_require__(10859); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js -var objectWithoutProperties = __webpack_require__(61206); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js -var useMergedState = __webpack_require__(35788); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/KeyCode.js -var KeyCode = __webpack_require__(85108); -;// CONCATENATED MODULE: ./node_modules/_rc-switch@4.1.0@rc-switch/es/index.js - - - - -var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"]; - - - - -var Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) { - var _classNames; - var _ref$prefixCls = _ref.prefixCls, - prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls, - className = _ref.className, - checked = _ref.checked, - defaultChecked = _ref.defaultChecked, - disabled = _ref.disabled, - loadingIcon = _ref.loadingIcon, - checkedChildren = _ref.checkedChildren, - unCheckedChildren = _ref.unCheckedChildren, - onClick = _ref.onClick, - onChange = _ref.onChange, - onKeyDown = _ref.onKeyDown, - restProps = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded); - var _useMergedState = (0,useMergedState/* default */.Z)(false, { - value: checked, - defaultValue: defaultChecked - }), - _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), - innerChecked = _useMergedState2[0], - setInnerChecked = _useMergedState2[1]; - function triggerChange(newChecked, event) { - var mergedChecked = innerChecked; - if (!disabled) { - mergedChecked = newChecked; - setInnerChecked(mergedChecked); - onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event); - } - return mergedChecked; - } - function onInternalKeyDown(e) { - if (e.which === KeyCode/* default */.Z.LEFT) { - triggerChange(false, e); - } else if (e.which === KeyCode/* default */.Z.RIGHT) { - triggerChange(true, e); - } - onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e); - } - function onInternalClick(e) { - var ret = triggerChange(!innerChecked, e); - // [Legacy] trigger onClick with value - onClick === null || onClick === void 0 ? void 0 : onClick(ret, e); - } - var switchClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); - return /*#__PURE__*/_react_17_0_2_react.createElement("button", (0,esm_extends/* default */.Z)({}, restProps, { - type: "button", - role: "switch", - "aria-checked": innerChecked, - disabled: disabled, - className: switchClassName, - ref: ref, - onKeyDown: onInternalKeyDown, - onClick: onInternalClick - }), loadingIcon, /*#__PURE__*/_react_17_0_2_react.createElement("span", { - className: "".concat(prefixCls, "-inner") - }, /*#__PURE__*/_react_17_0_2_react.createElement("span", { - className: "".concat(prefixCls, "-inner-checked") - }, checkedChildren), /*#__PURE__*/_react_17_0_2_react.createElement("span", { - className: "".concat(prefixCls, "-inner-unchecked") - }, unCheckedChildren))); -}); -Switch.displayName = 'Switch'; -/* harmony default export */ var es = (Switch); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules -var wave = __webpack_require__(14088); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js -var context = __webpack_require__(36355); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js -var DisabledContext = __webpack_require__(1684); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js -var useSize = __webpack_require__(19716); -// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js -var dist_module = __webpack_require__(64993); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js -var style = __webpack_require__(17313); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js -var genComponentStyleHook = __webpack_require__(83116); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js -var statistic = __webpack_require__(37613); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/style/index.js - - - -const genSwitchSmallStyle = token => { - const { - componentCls, - trackHeightSM, - trackPadding, - trackMinWidthSM, - innerMinMarginSM, - innerMaxMarginSM, - handleSizeSM - } = token; - const switchInnerCls = `${componentCls}-inner`; - return { - [componentCls]: { - [`&${componentCls}-small`]: { - minWidth: trackMinWidthSM, - height: trackHeightSM, - lineHeight: `${trackHeightSM}px`, - [`${componentCls}-inner`]: { - paddingInlineStart: innerMaxMarginSM, - paddingInlineEnd: innerMinMarginSM, - [`${switchInnerCls}-checked`]: { - marginInlineStart: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`, - marginInlineEnd: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)` - }, - [`${switchInnerCls}-unchecked`]: { - marginTop: -trackHeightSM, - marginInlineStart: 0, - marginInlineEnd: 0 - } - }, - [`${componentCls}-handle`]: { - width: handleSizeSM, - height: handleSizeSM - }, - [`${componentCls}-loading-icon`]: { - top: (handleSizeSM - token.switchLoadingIconSize) / 2, - fontSize: token.switchLoadingIconSize - }, - [`&${componentCls}-checked`]: { - [`${componentCls}-inner`]: { - paddingInlineStart: innerMinMarginSM, - paddingInlineEnd: innerMaxMarginSM, - [`${switchInnerCls}-checked`]: { - marginInlineStart: 0, - marginInlineEnd: 0 - }, - [`${switchInnerCls}-unchecked`]: { - marginInlineStart: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`, - marginInlineEnd: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)` - } - }, - [`${componentCls}-handle`]: { - insetInlineStart: `calc(100% - ${handleSizeSM + trackPadding}px)` - } - }, - [`&:not(${componentCls}-disabled):active`]: { - [`&:not(${componentCls}-checked) ${switchInnerCls}`]: { - [`${switchInnerCls}-unchecked`]: { - marginInlineStart: token.marginXXS / 2, - marginInlineEnd: -token.marginXXS / 2 - } - }, - [`&${componentCls}-checked ${switchInnerCls}`]: { - [`${switchInnerCls}-checked`]: { - marginInlineStart: -token.marginXXS / 2, - marginInlineEnd: token.marginXXS / 2 - } - } - } - } - } - }; -}; -const genSwitchLoadingStyle = token => { - const { - componentCls, - handleSize - } = token; - return { - [componentCls]: { - [`${componentCls}-loading-icon${token.iconCls}`]: { - position: 'relative', - top: (handleSize - token.fontSize) / 2, - color: token.switchLoadingIconColor, - verticalAlign: 'top' - }, - [`&${componentCls}-checked ${componentCls}-loading-icon`]: { - color: token.switchColor - } - } - }; -}; -const genSwitchHandleStyle = token => { - const { - componentCls, - motion, - trackPadding, - handleBg, - handleShadow, - handleSize - } = token; - const switchHandleCls = `${componentCls}-handle`; - return { - [componentCls]: { - [switchHandleCls]: { - position: 'absolute', - top: trackPadding, - insetInlineStart: trackPadding, - width: handleSize, - height: handleSize, - transition: `all ${token.switchDuration} ease-in-out`, - '&::before': { - position: 'absolute', - top: 0, - insetInlineEnd: 0, - bottom: 0, - insetInlineStart: 0, - backgroundColor: handleBg, - borderRadius: handleSize / 2, - boxShadow: handleShadow, - transition: `all ${token.switchDuration} ease-in-out`, - content: '""' - } - }, - [`&${componentCls}-checked ${switchHandleCls}`]: { - insetInlineStart: `calc(100% - ${handleSize + trackPadding}px)` - }, - [`&:not(${componentCls}-disabled):active`]: motion ? { - [`${switchHandleCls}::before`]: { - insetInlineEnd: token.switchHandleActiveInset, - insetInlineStart: 0 - }, - [`&${componentCls}-checked ${switchHandleCls}::before`]: { - insetInlineEnd: 0, - insetInlineStart: token.switchHandleActiveInset - } - } : /* istanbul ignore next */ - {} - } - }; -}; -const genSwitchInnerStyle = token => { - const { - componentCls, - trackHeight, - trackPadding, - innerMinMargin, - innerMaxMargin, - handleSize - } = token; - const switchInnerCls = `${componentCls}-inner`; - return { - [componentCls]: { - [switchInnerCls]: { - display: 'block', - overflow: 'hidden', - borderRadius: 100, - height: '100%', - paddingInlineStart: innerMaxMargin, - paddingInlineEnd: innerMinMargin, - transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`, - [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: { - display: 'block', - color: token.colorTextLightSolid, - fontSize: token.fontSizeSM, - transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`, - pointerEvents: 'none' - }, - [`${switchInnerCls}-checked`]: { - marginInlineStart: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`, - marginInlineEnd: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)` - }, - [`${switchInnerCls}-unchecked`]: { - marginTop: -trackHeight, - marginInlineStart: 0, - marginInlineEnd: 0 - } - }, - [`&${componentCls}-checked ${switchInnerCls}`]: { - paddingInlineStart: innerMinMargin, - paddingInlineEnd: innerMaxMargin, - [`${switchInnerCls}-checked`]: { - marginInlineStart: 0, - marginInlineEnd: 0 - }, - [`${switchInnerCls}-unchecked`]: { - marginInlineStart: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`, - marginInlineEnd: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)` - } - }, - [`&:not(${componentCls}-disabled):active`]: { - [`&:not(${componentCls}-checked) ${switchInnerCls}`]: { - [`${switchInnerCls}-unchecked`]: { - marginInlineStart: trackPadding * 2, - marginInlineEnd: -trackPadding * 2 - } - }, - [`&${componentCls}-checked ${switchInnerCls}`]: { - [`${switchInnerCls}-checked`]: { - marginInlineStart: -trackPadding * 2, - marginInlineEnd: trackPadding * 2 - } - } - } - } - }; -}; -const genSwitchStyle = token => { - const { - componentCls, - trackHeight, - trackMinWidth - } = token; - return { - [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { - position: 'relative', - display: 'inline-block', - boxSizing: 'border-box', - minWidth: trackMinWidth, - height: trackHeight, - lineHeight: `${trackHeight}px`, - verticalAlign: 'middle', - background: token.colorTextQuaternary, - border: '0', - borderRadius: 100, - cursor: 'pointer', - transition: `all ${token.motionDurationMid}`, - userSelect: 'none', - [`&:hover:not(${componentCls}-disabled)`]: { - background: token.colorTextTertiary - } - }), (0,style/* genFocusStyle */.Qy)(token)), { - [`&${componentCls}-checked`]: { - background: token.switchColor, - [`&:hover:not(${componentCls}-disabled)`]: { - background: token.colorPrimaryHover - } - }, - [`&${componentCls}-loading, &${componentCls}-disabled`]: { - cursor: 'not-allowed', - opacity: token.switchDisabledOpacity, - '*': { - boxShadow: 'none', - cursor: 'not-allowed' - } - }, - // rtl style - [`&${componentCls}-rtl`]: { - direction: 'rtl' - } - }) - }; -}; -// ============================== Export ============================== -/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => { - const switchToken = (0,statistic/* merge */.TS)(token, { - switchDuration: token.motionDurationMid, - switchColor: token.colorPrimary, - switchDisabledOpacity: token.opacityLoading, - switchLoadingIconSize: token.fontSizeIcon * 0.75, - switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`, - switchHandleActiveInset: '-30%' - }); - return [genSwitchStyle(switchToken), - // inner style - genSwitchInnerStyle(switchToken), - // handle style - genSwitchHandleStyle(switchToken), - // loading style - genSwitchLoadingStyle(switchToken), - // small style - genSwitchSmallStyle(switchToken)]; -}, token => { - const { - fontSize, - lineHeight, - controlHeight, - colorWhite - } = token; - const height = fontSize * lineHeight; - const heightSM = controlHeight / 2; - const padding = 2; // Fixed value - const handleSize = height - padding * 2; - const handleSizeSM = heightSM - padding * 2; - return { - trackHeight: height, - trackHeightSM: heightSM, - trackMinWidth: handleSize * 2 + padding * 4, - trackMinWidthSM: handleSizeSM * 2 + padding * 2, - trackPadding: padding, - handleBg: colorWhite, - handleSize, - handleSizeSM, - handleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`, - innerMinMargin: handleSize / 2, - innerMaxMargin: handleSize + padding + padding * 2, - innerMinMarginSM: handleSizeSM / 2, - innerMaxMarginSM: handleSizeSM + padding + padding * 2 - }; -})); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.js -"use client"; - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - - - - - - - - -const switch_Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { - const { - prefixCls: customizePrefixCls, - size: customizeSize, - disabled: customDisabled, - loading, - className, - rootClassName, - style - } = props, - restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]); - false ? 0 : void 0; - const { - getPrefixCls, - direction, - switch: SWITCH - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - // ===================== Disabled ===================== - const disabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z); - const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading; - const prefixCls = getPrefixCls('switch', customizePrefixCls); - const loadingIcon = /*#__PURE__*/_react_17_0_2_react.createElement("div", { - className: `${prefixCls}-handle` - }, loading && /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, { - className: `${prefixCls}-loading-icon` - })); - // Style - const [wrapSSR, hashId] = switch_style(prefixCls); - const mergedSize = (0,useSize/* default */.Z)(customizeSize); - const classes = _classnames_2_5_1_classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, { - [`${prefixCls}-small`]: mergedSize === 'small', - [`${prefixCls}-loading`]: loading, - [`${prefixCls}-rtl`]: direction === 'rtl' - }, className, rootClassName, hashId); - const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, { - component: "Switch" - }, /*#__PURE__*/_react_17_0_2_react.createElement(es, Object.assign({}, restProps, { - prefixCls: prefixCls, - className: classes, - style: mergedStyle, - disabled: mergedDisabled, - ref: ref, - loadingIcon: loadingIcon - })))); -}); -switch_Switch.__ANT_SWITCH = true; -if (false) {} -/* harmony default export */ var es_switch = (switch_Switch); - -/***/ }), - -/***/ 10777: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/timeline/index.js + 5 modules ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ timeline; } -}); - -// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js -var _classnames_2_5_1_classnames = __webpack_require__(92310); -var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js -var context = __webpack_require__(36355); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/TimelineItem.js -"use client"; - -var __rest = undefined && undefined.__rest || function (s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { - if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; - } - return t; -}; - - - -const TimelineItem = _a => { - var { - prefixCls: customizePrefixCls, - className, - color = 'blue', - dot, - pending = false, - position /** Dead, but do not pass in