{"version":3,"file":"static/chunks/688-151bdcf354b6a314.js","mappings":"AAEA","sources":["webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/PlusOutlined.js","webpack://_N_E/./node_modules/antd/es/tabs/hooks/useAnimateConfig.js","webpack://_N_E/./node_modules/antd/es/tabs/hooks/useLegacyItems.js","webpack://_N_E/./node_modules/antd/es/tabs/TabPane.js","webpack://_N_E/./node_modules/antd/es/tabs/style/motion.js","webpack://_N_E/./node_modules/antd/es/tabs/style/index.js","webpack://_N_E/./node_modules/antd/es/tabs/index.js","webpack://_N_E/"],"sourcesContent":["// This icon file is generated automatically.\nvar EllipsisOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z\" } }] }, \"name\": \"ellipsis\", \"theme\": \"outlined\" };\nexport default EllipsisOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EllipsisOutlinedSvg from \"@ant-design/icons-svg/es/asn/EllipsisOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar EllipsisOutlined = function EllipsisOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: EllipsisOutlinedSvg\n }));\n};\nEllipsisOutlined.displayName = 'EllipsisOutlined';\nexport default /*#__PURE__*/React.forwardRef(EllipsisOutlined);","// This icon file is generated automatically.\nvar PlusOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z\" } }] }, \"name\": \"plus\", \"theme\": \"outlined\" };\nexport default PlusOutlined;\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport PlusOutlinedSvg from \"@ant-design/icons-svg/es/asn/PlusOutlined\";\nimport AntdIcon from '../components/AntdIcon';\nvar PlusOutlined = function PlusOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _objectSpread(_objectSpread({}, props), {}, {\n ref: ref,\n icon: PlusOutlinedSvg\n }));\n};\nPlusOutlined.displayName = 'PlusOutlined';\nexport default /*#__PURE__*/React.forwardRef(PlusOutlined);","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getTransitionName } from '../../_util/motion';\nvar motion = {\n motionAppear: false,\n motionEnter: true,\n motionLeave: true\n};\nexport default function useAnimateConfig(prefixCls) {\n var animated = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n inkBar: true,\n tabPane: false\n };\n var mergedAnimated;\n if (animated === false) {\n mergedAnimated = {\n inkBar: false,\n tabPane: false\n };\n } else if (animated === true) {\n mergedAnimated = {\n inkBar: true,\n tabPane: true\n };\n } else {\n mergedAnimated = _extends({\n inkBar: true\n }, _typeof(animated) === 'object' ? animated : {});\n }\n if (mergedAnimated.tabPane) {\n mergedAnimated.tabPaneMotion = _extends(_extends({}, motion), {\n motionName: getTransitionName(prefixCls, 'switch')\n });\n }\n return mergedAnimated;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport warning from '../../_util/warning';\nfunction filter(items) {\n return items.filter(function (item) {\n return item;\n });\n}\nexport default function useLegacyItems(items, children) {\n if (items) {\n return items;\n }\n process.env.NODE_ENV !== \"production\" ? warning(!children, 'Tabs', 'Tabs.TabPane is deprecated. Please use `items` directly.') : void 0;\n var childrenItems = toArray(children).map(function (node) {\n if ( /*#__PURE__*/React.isValidElement(node)) {\n var key = node.key,\n props = node.props;\n var _a = props || {},\n tab = _a.tab,\n restProps = __rest(_a, [\"tab\"]);\n var item = _extends(_extends({\n key: String(key)\n }, restProps), {\n label: tab\n });\n return item;\n }\n return null;\n });\n return filter(childrenItems);\n}","var TabPane = function TabPane() {\n return null;\n};\nif (process.env.NODE_ENV !== 'production') {\n TabPane.displayName = 'DeprecatedTabPane';\n}\nexport default TabPane;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar genMotionStyle = function genMotionStyle(token) {\n var componentCls = token.componentCls,\n motionDurationSlow = token.motionDurationSlow;\n return _defineProperty({}, componentCls, _defineProperty({}, componentCls + \"-switch\", {\n '&-appear, &-enter': {\n transition: 'none',\n '&-start': {\n opacity: 0\n },\n '&-active': {\n opacity: 1,\n transition: \"opacity \" + motionDurationSlow\n }\n },\n '&-leave': {\n position: 'absolute',\n transition: 'none',\n inset: 0,\n '&-start': {\n opacity: 1\n },\n '&-active': {\n opacity: 0,\n transition: \"opacity \" + motionDurationSlow\n }\n }\n }));\n};\nexport default genMotionStyle;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { genComponentStyleHook, mergeToken } from '../../theme';\nimport { genFocusStyle, resetComponent, textEllipsis } from '../../style';\nimport genMotionStyle from './motion';\nvar genCardStyle = function genCardStyle(token) {\n var _ref, _ref4, _ref6, _ref10, _ref12, _ref14;\n var componentCls = token.componentCls,\n tabsCardHorizontalPadding = token.tabsCardHorizontalPadding,\n tabsCardHeadBackground = token.tabsCardHeadBackground,\n tabsCardGutter = token.tabsCardGutter,\n colorSplit = token.colorSplit;\n return _defineProperty({}, componentCls + \"-card\", (_ref14 = {}, _defineProperty(_ref14, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref = {}, _defineProperty(_ref, componentCls + \"-tab\", {\n margin: 0,\n padding: tabsCardHorizontalPadding,\n background: tabsCardHeadBackground,\n border: token.lineWidth + \"px \" + token.lineType + \" \" + colorSplit,\n transition: \"all \" + token.motionDurationSlow + \" \" + token.motionEaseInOut\n }), _defineProperty(_ref, componentCls + \"-tab-active\", {\n color: token.colorPrimary,\n background: token.colorBgContainer\n }), _defineProperty(_ref, componentCls + \"-ink-bar\", {\n visibility: 'hidden'\n }), _ref)), _defineProperty(_ref14, \"&\" + componentCls + \"-top, &\" + componentCls + \"-bottom\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab + \" + componentCls + \"-tab\", {\n marginLeft: {\n _skip_check_: true,\n value: tabsCardGutter + \"px\"\n }\n }))), _defineProperty(_ref14, \"&\" + componentCls + \"-top\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref4 = {}, _defineProperty(_ref4, componentCls + \"-tab\", {\n borderRadius: token.borderRadiusLG + \"px \" + token.borderRadiusLG + \"px 0 0\"\n }), _defineProperty(_ref4, componentCls + \"-tab-active\", {\n borderBottomColor: token.colorBgContainer\n }), _ref4))), _defineProperty(_ref14, \"&\" + componentCls + \"-bottom\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref6 = {}, _defineProperty(_ref6, componentCls + \"-tab\", {\n borderRadius: \"0 0 \" + token.borderRadiusLG + \"px \" + token.borderRadiusLG + \"px\"\n }), _defineProperty(_ref6, componentCls + \"-tab-active\", {\n borderTopColor: token.colorBgContainer\n }), _ref6))), _defineProperty(_ref14, \"&\" + componentCls + \"-left, &\" + componentCls + \"-right\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab + \" + componentCls + \"-tab\", {\n marginTop: tabsCardGutter + \"px\"\n }))), _defineProperty(_ref14, \"&\" + componentCls + \"-left\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref10 = {}, _defineProperty(_ref10, componentCls + \"-tab\", {\n borderRadius: {\n _skip_check_: true,\n value: token.borderRadiusLG + \"px 0 0 \" + token.borderRadiusLG + \"px\"\n }\n }), _defineProperty(_ref10, componentCls + \"-tab-active\", {\n borderRightColor: {\n _skip_check_: true,\n value: token.colorBgContainer\n }\n }), _ref10))), _defineProperty(_ref14, \"&\" + componentCls + \"-right\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref12 = {}, _defineProperty(_ref12, componentCls + \"-tab\", {\n borderRadius: {\n _skip_check_: true,\n value: \"0 \" + token.borderRadiusLG + \"px \" + token.borderRadiusLG + \"px 0\"\n }\n }), _defineProperty(_ref12, componentCls + \"-tab-active\", {\n borderLeftColor: {\n _skip_check_: true,\n value: token.colorBgContainer\n }\n }), _ref12))), _ref14));\n};\nvar genDropdownStyle = function genDropdownStyle(token) {\n var componentCls = token.componentCls,\n tabsHoverColor = token.tabsHoverColor,\n dropdownEdgeChildVerticalPadding = token.dropdownEdgeChildVerticalPadding;\n return _defineProperty({}, componentCls + \"-dropdown\", _extends(_extends({}, resetComponent(token)), _defineProperty({\n position: 'absolute',\n top: -9999,\n left: {\n _skip_check_: true,\n value: -9999\n },\n zIndex: token.zIndexPopup,\n display: 'block',\n '&-hidden': {\n display: 'none'\n }\n }, componentCls + \"-dropdown-menu\", {\n maxHeight: token.tabsDropdownHeight,\n margin: 0,\n padding: dropdownEdgeChildVerticalPadding + \"px 0\",\n overflowX: 'hidden',\n overflowY: 'auto',\n textAlign: {\n _skip_check_: true,\n value: 'left'\n },\n listStyleType: 'none',\n backgroundColor: token.colorBgContainer,\n backgroundClip: 'padding-box',\n borderRadius: token.borderRadiusLG,\n outline: 'none',\n boxShadow: token.boxShadow,\n '&-item': _extends(_extends({}, textEllipsis), {\n display: 'flex',\n alignItems: 'center',\n minWidth: token.tabsDropdownWidth,\n margin: 0,\n padding: token.paddingXXS + \"px \" + token.paddingSM + \"px\",\n color: token.colorText,\n fontWeight: 'normal',\n fontSize: token.fontSize,\n lineHeight: token.lineHeight,\n cursor: 'pointer',\n transition: \"all \" + token.motionDurationSlow,\n '> span': {\n flex: 1,\n whiteSpace: 'nowrap'\n },\n '&-remove': {\n flex: 'none',\n marginLeft: {\n _skip_check_: true,\n value: token.marginSM\n },\n color: token.colorTextDescription,\n fontSize: token.fontSizeSM,\n background: 'transparent',\n border: 0,\n cursor: 'pointer',\n '&:hover': {\n color: tabsHoverColor\n }\n },\n '&:hover': {\n background: token.controlItemBgHover\n },\n '&-disabled': {\n '&, &:hover': {\n color: token.colorTextDisabled,\n background: 'transparent',\n cursor: 'not-allowed'\n }\n }\n })\n })));\n};\nvar genPositionStyle = function genPositionStyle(token) {\n var _ref17, _ref18, _ref23, _ref24, _ref25, _ref29, _ref32, _ref33;\n var componentCls = token.componentCls,\n margin = token.margin,\n colorSplit = token.colorSplit;\n return _ref33 = {}, _defineProperty(_ref33, componentCls + \"-top, \" + componentCls + \"-bottom\", _defineProperty({\n flexDirection: 'column'\n }, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref18 = {\n margin: \"0 0 \" + margin + \"px 0\",\n '&::before': {\n position: 'absolute',\n right: {\n _skip_check_: true,\n value: 0\n },\n left: {\n _skip_check_: true,\n value: 0\n },\n borderBottom: token.lineWidth + \"px \" + token.lineType + \" \" + colorSplit,\n content: \"''\"\n }\n }, _defineProperty(_ref18, componentCls + \"-ink-bar\", {\n height: token.lineWidthBold,\n '&-animated': {\n transition: \"width \" + token.motionDurationSlow + \", left \" + token.motionDurationSlow + \",\\n right \" + token.motionDurationSlow\n }\n }), _defineProperty(_ref18, componentCls + \"-nav-wrap\", (_ref17 = {\n '&::before, &::after': {\n top: 0,\n bottom: 0,\n width: token.controlHeight\n },\n '&::before': {\n left: {\n _skip_check_: true,\n value: 0\n },\n boxShadow: token.boxShadowTabsOverflowLeft\n },\n '&::after': {\n right: {\n _skip_check_: true,\n value: 0\n },\n boxShadow: token.boxShadowTabsOverflowRight\n }\n }, _defineProperty(_ref17, \"&\" + componentCls + \"-nav-wrap-ping-left::before\", {\n opacity: 1\n }), _defineProperty(_ref17, \"&\" + componentCls + \"-nav-wrap-ping-right::after\", {\n opacity: 1\n }), _ref17)), _ref18))), _defineProperty(_ref33, componentCls + \"-top\", _defineProperty({}, \"> \" + componentCls + \"-nav,\\n > div > \" + componentCls + \"-nav\", _defineProperty({\n '&::before': {\n bottom: 0\n }\n }, componentCls + \"-ink-bar\", {\n bottom: 0\n }))), _defineProperty(_ref33, componentCls + \"-bottom\", (_ref23 = {}, _defineProperty(_ref23, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({\n order: 1,\n marginTop: margin + \"px\",\n marginBottom: 0,\n '&::before': {\n top: 0\n }\n }, componentCls + \"-ink-bar\", {\n top: 0\n })), _defineProperty(_ref23, \"> \" + componentCls + \"-content-holder, > div > \" + componentCls + \"-content-holder\", {\n order: 0\n }), _ref23)), _defineProperty(_ref33, componentCls + \"-left, \" + componentCls + \"-right\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref25 = {\n flexDirection: 'column',\n minWidth: token.controlHeight * 1.25\n }, _defineProperty(_ref25, componentCls + \"-tab\", {\n padding: token.paddingXS + \"px \" + token.paddingLG + \"px\",\n textAlign: 'center'\n }), _defineProperty(_ref25, componentCls + \"-tab + \" + componentCls + \"-tab\", {\n margin: token.margin + \"px 0 0 0\"\n }), _defineProperty(_ref25, componentCls + \"-nav-wrap\", (_ref24 = {\n flexDirection: 'column',\n '&::before, &::after': {\n right: {\n _skip_check_: true,\n value: 0\n },\n left: {\n _skip_check_: true,\n value: 0\n },\n height: token.controlHeight\n },\n '&::before': {\n top: 0,\n boxShadow: token.boxShadowTabsOverflowTop\n },\n '&::after': {\n bottom: 0,\n boxShadow: token.boxShadowTabsOverflowBottom\n }\n }, _defineProperty(_ref24, \"&\" + componentCls + \"-nav-wrap-ping-top::before\", {\n opacity: 1\n }), _defineProperty(_ref24, \"&\" + componentCls + \"-nav-wrap-ping-bottom::after\", {\n opacity: 1\n }), _ref24)), _defineProperty(_ref25, componentCls + \"-ink-bar\", {\n width: token.lineWidthBold,\n '&-animated': {\n transition: \"height \" + token.motionDurationSlow + \", top \" + token.motionDurationSlow\n }\n }), _defineProperty(_ref25, componentCls + \"-nav-list, \" + componentCls + \"-nav-operations\", {\n flex: '1 0 auto',\n flexDirection: 'column'\n }), _ref25))), _defineProperty(_ref33, componentCls + \"-left\", (_ref29 = {}, _defineProperty(_ref29, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-ink-bar\", {\n right: {\n _skip_check_: true,\n value: 0\n }\n })), _defineProperty(_ref29, \"> \" + componentCls + \"-content-holder, > div > \" + componentCls + \"-content-holder\", _defineProperty({\n marginLeft: {\n _skip_check_: true,\n value: \"-\" + token.lineWidth + \"px\"\n },\n borderLeft: {\n _skip_check_: true,\n value: token.lineWidth + \"px \" + token.lineType + \" \" + token.colorBorder\n }\n }, \"> \" + componentCls + \"-content > \" + componentCls + \"-tabpane\", {\n paddingLeft: {\n _skip_check_: true,\n value: token.paddingLG\n }\n })), _ref29)), _defineProperty(_ref33, componentCls + \"-right\", (_ref32 = {}, _defineProperty(_ref32, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({\n order: 1\n }, componentCls + \"-ink-bar\", {\n left: {\n _skip_check_: true,\n value: 0\n }\n })), _defineProperty(_ref32, \"> \" + componentCls + \"-content-holder, > div > \" + componentCls + \"-content-holder\", _defineProperty({\n order: 0,\n marginRight: {\n _skip_check_: true,\n value: -token.lineWidth\n },\n borderRight: {\n _skip_check_: true,\n value: token.lineWidth + \"px \" + token.lineType + \" \" + token.colorBorder\n }\n }, \"> \" + componentCls + \"-content > \" + componentCls + \"-tabpane\", {\n paddingRight: {\n _skip_check_: true,\n value: token.paddingLG\n }\n })), _ref32)), _ref33;\n};\nvar genSizeStyle = function genSizeStyle(token) {\n var _ref41, _ref44, _ref45;\n var componentCls = token.componentCls,\n padding = token.padding;\n return _ref45 = {}, _defineProperty(_ref45, componentCls, {\n '&-small': _defineProperty({}, \"> \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab\", {\n padding: token.paddingXS + \"px 0\",\n fontSize: token.fontSize\n })),\n '&-large': _defineProperty({}, \"> \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab\", {\n padding: padding + \"px 0\",\n fontSize: token.fontSizeLG\n }))\n }), _defineProperty(_ref45, componentCls + \"-card\", (_ref44 = {}, _defineProperty(_ref44, \"&\" + componentCls + \"-small\", (_ref41 = {}, _defineProperty(_ref41, \"> \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab\", {\n padding: token.paddingXXS * 1.5 + \"px \" + padding + \"px\"\n })), _defineProperty(_ref41, \"&\" + componentCls + \"-bottom\", _defineProperty({}, \"> \" + componentCls + \"-nav \" + componentCls + \"-tab\", {\n borderRadius: \"0 0 \" + token.borderRadius + \"px \" + token.borderRadius + \"px\"\n })), _defineProperty(_ref41, \"&\" + componentCls + \"-top\", _defineProperty({}, \"> \" + componentCls + \"-nav \" + componentCls + \"-tab\", {\n borderRadius: token.borderRadius + \"px \" + token.borderRadius + \"px 0 0\"\n })), _defineProperty(_ref41, \"&\" + componentCls + \"-right\", _defineProperty({}, \"> \" + componentCls + \"-nav \" + componentCls + \"-tab\", {\n borderRadius: {\n _skip_check_: true,\n value: \"0 \" + token.borderRadius + \"px \" + token.borderRadius + \"px 0\"\n }\n })), _defineProperty(_ref41, \"&\" + componentCls + \"-left\", _defineProperty({}, \"> \" + componentCls + \"-nav \" + componentCls + \"-tab\", {\n borderRadius: {\n _skip_check_: true,\n value: token.borderRadius + \"px 0 0 \" + token.borderRadius + \"px\"\n }\n })), _ref41)), _defineProperty(_ref44, \"&\" + componentCls + \"-large\", _defineProperty({}, \"> \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab\", {\n padding: token.paddingXS + \"px \" + padding + \"px \" + token.paddingXXS * 1.5 + \"px\"\n }))), _ref44)), _ref45;\n};\nvar genTabStyle = function genTabStyle(token) {\n var _tabCls, _ref46;\n var componentCls = token.componentCls,\n tabsActiveColor = token.tabsActiveColor,\n tabsHoverColor = token.tabsHoverColor,\n iconCls = token.iconCls,\n tabsHorizontalGutter = token.tabsHorizontalGutter;\n var tabCls = componentCls + \"-tab\";\n return _ref46 = {}, _defineProperty(_ref46, tabCls, (_tabCls = {\n position: 'relative',\n display: 'inline-flex',\n alignItems: 'center',\n padding: token.paddingSM + \"px 0\",\n fontSize: token.fontSize + \"px\",\n background: 'transparent',\n border: 0,\n outline: 'none',\n cursor: 'pointer',\n '&-btn, &-remove': _extends({\n '&:focus:not(:focus-visible), &:active': {\n color: tabsActiveColor\n }\n }, genFocusStyle(token)),\n '&-btn': {\n outline: 'none',\n transition: 'all 0.3s'\n },\n '&-remove': {\n flex: 'none',\n marginRight: {\n _skip_check_: true,\n value: -token.marginXXS\n },\n marginLeft: {\n _skip_check_: true,\n value: token.marginXS\n },\n color: token.colorTextDescription,\n fontSize: token.fontSizeSM,\n background: 'transparent',\n border: 'none',\n outline: 'none',\n cursor: 'pointer',\n transition: \"all \" + token.motionDurationSlow,\n '&:hover': {\n color: token.colorTextHeading\n }\n },\n '&:hover': {\n color: tabsHoverColor\n }\n }, _defineProperty(_tabCls, \"&\" + tabCls + \"-active \" + tabCls + \"-btn\", {\n color: token.colorPrimary,\n textShadow: token.tabsActiveTextShadow\n }), _defineProperty(_tabCls, \"&\" + tabCls + \"-disabled\", {\n color: token.colorTextDisabled,\n cursor: 'not-allowed'\n }), _defineProperty(_tabCls, \"&\" + tabCls + \"-disabled \" + tabCls + \"-btn, &\" + tabCls + \"-disabled \" + componentCls + \"-remove\", {\n '&:focus, &:active': {\n color: token.colorTextDisabled\n }\n }), _defineProperty(_tabCls, \"& \" + tabCls + \"-remove \" + iconCls, {\n margin: 0\n }), _defineProperty(_tabCls, iconCls, {\n marginRight: {\n _skip_check_: true,\n value: token.marginSM\n }\n }), _tabCls)), _defineProperty(_ref46, tabCls + \" + \" + tabCls, {\n margin: {\n _skip_check_: true,\n value: \"0 0 0 \" + tabsHorizontalGutter + \"px\"\n }\n }), _ref46;\n};\nvar genRtlStyle = function genRtlStyle(token) {\n var _ref48, _ref50, _ref51, _rtlCls, _ref55;\n var componentCls = token.componentCls,\n tabsHorizontalGutter = token.tabsHorizontalGutter,\n iconCls = token.iconCls,\n tabsCardGutter = token.tabsCardGutter;\n var rtlCls = componentCls + \"-rtl\";\n return _ref55 = {}, _defineProperty(_ref55, rtlCls, (_rtlCls = {\n direction: 'rtl'\n }, _defineProperty(_rtlCls, componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab\", (_ref48 = {\n margin: {\n _skip_check_: true,\n value: \"0 0 0 \" + tabsHorizontalGutter + \"px\"\n }\n }, _defineProperty(_ref48, componentCls + \"-tab:last-of-type\", {\n marginLeft: {\n _skip_check_: true,\n value: 0\n }\n }), _defineProperty(_ref48, iconCls, {\n marginRight: {\n _skip_check_: true,\n value: 0\n },\n marginLeft: {\n _skip_check_: true,\n value: token.marginSM + \"px\"\n }\n }), _defineProperty(_ref48, componentCls + \"-tab-remove\", _defineProperty({\n marginRight: {\n _skip_check_: true,\n value: token.marginXS + \"px\"\n },\n marginLeft: {\n _skip_check_: true,\n value: \"-\" + token.marginXXS + \"px\"\n }\n }, iconCls, {\n margin: 0\n })), _ref48))), _defineProperty(_rtlCls, \"&\" + componentCls + \"-left\", (_ref50 = {}, _defineProperty(_ref50, \"> \" + componentCls + \"-nav\", {\n order: 1\n }), _defineProperty(_ref50, \"> \" + componentCls + \"-content-holder\", {\n order: 0\n }), _ref50)), _defineProperty(_rtlCls, \"&\" + componentCls + \"-right\", (_ref51 = {}, _defineProperty(_ref51, \"> \" + componentCls + \"-nav\", {\n order: 0\n }), _defineProperty(_ref51, \"> \" + componentCls + \"-content-holder\", {\n order: 1\n }), _ref51)), _defineProperty(_rtlCls, \"&\" + componentCls + \"-card\" + componentCls + \"-top, &\" + componentCls + \"-card\" + componentCls + \"-bottom\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-tab + \" + componentCls + \"-tab\", {\n marginRight: {\n _skip_check_: true,\n value: tabsCardGutter + \"px\"\n },\n marginLeft: {\n _skip_check_: true,\n value: 0\n }\n }))), _rtlCls)), _defineProperty(_ref55, componentCls + \"-dropdown-rtl\", {\n direction: 'rtl'\n }), _defineProperty(_ref55, componentCls + \"-menu-item\", _defineProperty({}, componentCls + \"-dropdown-rtl\", {\n textAlign: {\n _skip_check_: true,\n value: 'right'\n }\n })), _ref55;\n};\nvar genTabsStyle = function genTabsStyle(token) {\n var _ref56, _extends3, _extends4, _ref60;\n var componentCls = token.componentCls,\n tabsCardHorizontalPadding = token.tabsCardHorizontalPadding,\n tabsCardHeight = token.tabsCardHeight,\n tabsCardGutter = token.tabsCardGutter,\n tabsHoverColor = token.tabsHoverColor,\n tabsActiveColor = token.tabsActiveColor,\n colorSplit = token.colorSplit;\n return _ref60 = {}, _defineProperty(_ref60, componentCls, _extends(_extends(_extends(_extends({}, resetComponent(token)), (_extends3 = {\n display: 'flex'\n }, _defineProperty(_extends3, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", (_ref56 = {\n position: 'relative',\n display: 'flex',\n flex: 'none',\n alignItems: 'center'\n }, _defineProperty(_ref56, componentCls + \"-nav-wrap\", {\n position: 'relative',\n display: 'flex',\n flex: 'auto',\n alignSelf: 'stretch',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n transform: 'translate(0)',\n // >>>>> Ping shadow\n '&::before, &::after': {\n position: 'absolute',\n zIndex: 1,\n opacity: 0,\n transition: \"opacity \" + token.motionDurationSlow,\n content: \"''\",\n pointerEvents: 'none'\n }\n }), _defineProperty(_ref56, componentCls + \"-nav-list\", {\n position: 'relative',\n display: 'flex',\n transition: \"opacity \" + token.motionDurationSlow\n }), _defineProperty(_ref56, componentCls + \"-nav-operations\", {\n display: 'flex',\n alignSelf: 'stretch'\n }), _defineProperty(_ref56, componentCls + \"-nav-operations-hidden\", {\n position: 'absolute',\n visibility: 'hidden',\n pointerEvents: 'none'\n }), _defineProperty(_ref56, componentCls + \"-nav-more\", {\n position: 'relative',\n padding: tabsCardHorizontalPadding,\n background: 'transparent',\n border: 0,\n '&::after': {\n position: 'absolute',\n right: {\n _skip_check_: true,\n value: 0\n },\n bottom: 0,\n left: {\n _skip_check_: true,\n value: 0\n },\n height: token.controlHeightLG / 8,\n transform: 'translateY(100%)',\n content: \"''\"\n }\n }), _defineProperty(_ref56, componentCls + \"-nav-add\", _extends({\n minWidth: tabsCardHeight + \"px\",\n marginLeft: {\n _skip_check_: true,\n value: tabsCardGutter + \"px\"\n },\n padding: \"0 \" + token.paddingXS + \"px\",\n background: 'transparent',\n border: token.lineWidth + \"px \" + token.lineType + \" \" + colorSplit,\n borderRadius: token.borderRadiusLG + \"px \" + token.borderRadiusLG + \"px 0 0\",\n outline: 'none',\n cursor: 'pointer',\n transition: \"all \" + token.motionDurationSlow + \" \" + token.motionEaseInOut,\n '&:hover': {\n color: tabsHoverColor\n },\n '&:active, &:focus:not(:focus-visible)': {\n color: tabsActiveColor\n }\n }, genFocusStyle(token))), _ref56)), _defineProperty(_extends3, componentCls + \"-extra-content\", {\n flex: 'none'\n }), _defineProperty(_extends3, componentCls + \"-ink-bar\", {\n position: 'absolute',\n background: token.colorPrimary,\n pointerEvents: 'none'\n }), _extends3)), genTabStyle(token)), (_extends4 = {}, _defineProperty(_extends4, componentCls + \"-content\", {\n position: 'relative',\n width: '100%'\n }), _defineProperty(_extends4, componentCls + \"-content-holder\", {\n flex: 'auto',\n minWidth: 0,\n minHeight: 0\n }), _defineProperty(_extends4, componentCls + \"-tabpane\", {\n outline: 'none',\n '&-hidden': {\n display: 'none'\n }\n }), _extends4))), _defineProperty(_ref60, componentCls + \"-centered\", _defineProperty({}, \"> \" + componentCls + \"-nav, > div > \" + componentCls + \"-nav\", _defineProperty({}, componentCls + \"-nav-wrap\", _defineProperty({}, \"&:not([class*='\" + componentCls + \"-nav-wrap-ping'])\", {\n justifyContent: 'center'\n })))), _ref60;\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Tabs', function (token) {\n var tabsCardHeight = token.controlHeightLG;\n var tabsToken = mergeToken(token, {\n tabsHoverColor: token.colorPrimaryHover,\n tabsActiveColor: token.colorPrimaryActive,\n tabsCardHorizontalPadding: (tabsCardHeight - Math.round(token.fontSize * token.lineHeight)) / 2 - token.lineWidth + \"px \" + token.padding + \"px\",\n tabsCardHeight: tabsCardHeight,\n tabsCardGutter: token.marginXXS / 2,\n tabsHorizontalGutter: 32,\n tabsCardHeadBackground: token.colorFillAlter,\n dropdownEdgeChildVerticalPadding: token.paddingXXS,\n tabsActiveTextShadow: '0 0 0.25px currentcolor',\n tabsDropdownHeight: 200,\n tabsDropdownWidth: 120\n });\n return [genSizeStyle(tabsToken), genRtlStyle(tabsToken), genPositionStyle(tabsToken), genDropdownStyle(tabsToken), genCardStyle(tabsToken), genTabsStyle(tabsToken), genMotionStyle(tabsToken)];\n}, function (token) {\n return {\n zIndexPopup: token.zIndexPopupBase + 50\n };\n});","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport EllipsisOutlined from \"@ant-design/icons/es/icons/EllipsisOutlined\";\nimport PlusOutlined from \"@ant-design/icons/es/icons/PlusOutlined\";\nimport classNames from 'classnames';\nimport RcTabs from 'rc-tabs';\nimport * as React from 'react';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\nimport warning from '../_util/warning';\nimport useAnimateConfig from './hooks/useAnimateConfig';\nimport useLegacyItems from './hooks/useLegacyItems';\nimport TabPane from './TabPane';\nimport useStyle from './style';\nfunction Tabs(_a) {\n var type = _a.type,\n className = _a.className,\n propSize = _a.size,\n _onEdit = _a.onEdit,\n hideAdd = _a.hideAdd,\n centered = _a.centered,\n addIcon = _a.addIcon,\n popupClassName = _a.popupClassName,\n children = _a.children,\n items = _a.items,\n animated = _a.animated,\n props = __rest(_a, [\"type\", \"className\", \"size\", \"onEdit\", \"hideAdd\", \"centered\", \"addIcon\", \"popupClassName\", \"children\", \"items\", \"animated\"]);\n var customizePrefixCls = props.prefixCls,\n _props$moreIcon = props.moreIcon,\n moreIcon = _props$moreIcon === void 0 ? /*#__PURE__*/React.createElement(EllipsisOutlined, null) : _props$moreIcon;\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction,\n getPopupContainer = _React$useContext.getPopupContainer;\n var prefixCls = getPrefixCls('tabs', customizePrefixCls);\n var _useStyle = useStyle(prefixCls),\n _useStyle2 = _slicedToArray(_useStyle, 2),\n wrapSSR = _useStyle2[0],\n hashId = _useStyle2[1];\n var editable;\n if (type === 'editable-card') {\n editable = {\n onEdit: function onEdit(editType, _ref) {\n var key = _ref.key,\n event = _ref.event;\n _onEdit === null || _onEdit === void 0 ? void 0 : _onEdit(editType === 'add' ? event : key, editType);\n },\n removeIcon: /*#__PURE__*/React.createElement(CloseOutlined, null),\n addIcon: addIcon || /*#__PURE__*/React.createElement(PlusOutlined, null),\n showAdd: hideAdd !== true\n };\n }\n var rootPrefixCls = getPrefixCls();\n process.env.NODE_ENV !== \"production\" ? warning(!('onPrevClick' in props) && !('onNextClick' in props), 'Tabs', '`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead.') : void 0;\n var mergedItems = useLegacyItems(items, children);\n var mergedAnimated = useAnimateConfig(prefixCls, animated);\n return wrapSSR( /*#__PURE__*/React.createElement(SizeContext.Consumer, null, function (contextSize) {\n var _classNames;\n var size = propSize !== undefined ? propSize : contextSize;\n return /*#__PURE__*/React.createElement(RcTabs, _extends({\n direction: direction,\n getPopupContainer: getPopupContainer,\n moreTransitionName: rootPrefixCls + \"-slide-up\"\n }, props, {\n items: mergedItems,\n className: classNames((_classNames = {}, _defineProperty(_classNames, prefixCls + \"-\" + size, size), _defineProperty(_classNames, prefixCls + \"-card\", ['card', 'editable-card'].includes(type)), _defineProperty(_classNames, prefixCls + \"-editable-card\", type === 'editable-card'), _defineProperty(_classNames, prefixCls + \"-centered\", centered), _classNames), className, hashId),\n popupClassName: classNames(popupClassName, hashId),\n editable: editable,\n moreIcon: moreIcon,\n prefixCls: prefixCls,\n animated: mergedAnimated\n }));\n }));\n}\nTabs.TabPane = TabPane;\nexport default Tabs;"],"names":[],"sourceRoot":""}