(self["webpackChunk"] = self["webpackChunk"] || []).push([[13771],{ /***/ 80045: /*!*******************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! \*******************************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.8@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(38850); // 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.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js // This icon file is generated automatically. var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; /* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules var AntdIcon = __webpack_require__(91851); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js // GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { ref: ref, icon: asn_ExclamationCircleOutlined })); }; if (false) {} /* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); /***/ }), /***/ 60936: /*!*******************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! \*******************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ icons_InboxOutlined; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.8@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(38850); // 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.3.1@@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.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules var AntdIcon = __webpack_require__(91851); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@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 })); }; if (false) {} /* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(InboxOutlined_InboxOutlined)); /***/ }), /***/ 22321: /*!**********************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/PoweroffOutlined.js + 1 modules ***! \**********************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ icons_PoweroffOutlined; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.8@@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(38850); // 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.3.1@@ant-design/icons-svg/es/asn/PoweroffOutlined.js // This icon file is generated automatically. var PoweroffOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z" } }] }, "name": "poweroff", "theme": "outlined" }; /* harmony default export */ var asn_PoweroffOutlined = (PoweroffOutlined); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules var AntdIcon = __webpack_require__(91851); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/PoweroffOutlined.js // GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY var PoweroffOutlined_PoweroffOutlined = function PoweroffOutlined(props, ref) { return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { ref: ref, icon: asn_PoweroffOutlined })); }; if (false) {} /* harmony default export */ var icons_PoweroffOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(PoweroffOutlined_PoweroffOutlined)); /***/ }), /***/ 73104: /*!***********************************************************************!*\ !*** ./node_modules/_antd@5.12.8@antd/es/layout/index.js + 4 modules ***! \***********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ es_layout; } }); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.8@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules var toConsumableArray = __webpack_require__(69202); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); // 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/_rc-util@5.38.1@rc-util/es/omit.js var omit = __webpack_require__(99468); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/config-provider/context.js var context = __webpack_require__(70330); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/context.js var layout_context = __webpack_require__(59790); // EXTERNAL MODULE: ./node_modules/_rc-util@5.38.1@rc-util/es/Children/toArray.js var toArray = __webpack_require__(45659); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/Sider.js + 3 modules var Sider = __webpack_require__(94040); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/hooks/useHasSider.js function useHasSider(siders, children, hasSider) { if (typeof hasSider === 'boolean') { return hasSider; } if (siders.length) { return true; } const childNodes = (0,toArray/* default */.Z)(children); return childNodes.some(node => node.type === Sider/* default */.Z); } // EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.18.2@@ant-design/cssinjs/es/index.js + 35 modules var es = __webpack_require__(3775); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/theme/util/genComponentStyleHook.js + 5 modules var genComponentStyleHook = __webpack_require__(16613); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/style/light.js const genLayoutLightStyle = token => { const { componentCls, bodyBg, lightSiderBg, lightTriggerBg, lightTriggerColor } = token; return { [`${componentCls}-sider-light`]: { background: lightSiderBg, [`${componentCls}-sider-trigger`]: { color: lightTriggerColor, background: lightTriggerBg }, [`${componentCls}-sider-zero-width-trigger`]: { color: lightTriggerColor, background: lightTriggerBg, border: `1px solid ${bodyBg}`, // Safe to modify to any other color borderInlineStart: 0 } } }; }; /* harmony default export */ var light = (genLayoutLightStyle); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/style/index.js const genLayoutStyle = token => { const { antCls, // .ant componentCls, // .ant-layout colorText, triggerColor, footerBg, triggerBg, headerHeight, headerPadding, headerColor, footerPadding, triggerHeight, zeroTriggerHeight, zeroTriggerWidth, motionDurationMid, motionDurationSlow, fontSize, borderRadius, bodyBg, headerBg, siderBg } = token; return { [componentCls]: Object.assign(Object.assign({ display: 'flex', flex: 'auto', flexDirection: 'column', /* fix firefox can't set height smaller than content on flex item */ minHeight: 0, background: bodyBg, '&, *': { boxSizing: 'border-box' }, [`&${componentCls}-has-sider`]: { flexDirection: 'row', [`> ${componentCls}, > ${componentCls}-content`]: { // https://segmentfault.com/a/1190000019498300 width: 0 } }, [`${componentCls}-header, &${componentCls}-footer`]: { flex: '0 0 auto' }, [`${componentCls}-sider`]: { position: 'relative', // fix firefox can't set width smaller than content on flex item minWidth: 0, background: siderBg, transition: `all ${motionDurationMid}, background 0s`, '&-children': { height: '100%', // Hack for fixing margin collapse bug // https://github.com/ant-design/ant-design/issues/7967 // solution from https://stackoverflow.com/a/33132624/3040605 marginTop: -0.1, paddingTop: 0.1, [`${antCls}-menu${antCls}-menu-inline-collapsed`]: { width: 'auto' } }, '&-has-trigger': { paddingBottom: triggerHeight }, '&-right': { order: 1 }, '&-trigger': { position: 'fixed', bottom: 0, zIndex: 1, height: triggerHeight, color: triggerColor, lineHeight: (0,es.unit)(triggerHeight), textAlign: 'center', background: triggerBg, cursor: 'pointer', transition: `all ${motionDurationMid}` }, '&-zero-width': { '> *': { overflow: 'hidden' }, '&-trigger': { position: 'absolute', top: headerHeight, insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(), zIndex: 1, width: zeroTriggerWidth, height: zeroTriggerHeight, color: triggerColor, fontSize: token.fontSizeXL, display: 'flex', alignItems: 'center', justifyContent: 'center', background: siderBg, borderStartStartRadius: 0, borderStartEndRadius: borderRadius, borderEndEndRadius: borderRadius, borderEndStartRadius: 0, cursor: 'pointer', transition: `background ${motionDurationSlow} ease`, '&::after': { position: 'absolute', inset: 0, background: 'transparent', transition: `all ${motionDurationSlow}`, content: '""' }, '&:hover::after': { background: `rgba(255, 255, 255, 0.2)` }, '&-right': { insetInlineStart: token.calc(zeroTriggerWidth).mul(-1).equal(), borderStartStartRadius: borderRadius, borderStartEndRadius: 0, borderEndEndRadius: 0, borderEndStartRadius: borderRadius } } } } }, light(token)), { // RTL '&-rtl': { direction: 'rtl' } }), // ==================== Header ==================== [`${componentCls}-header`]: { height: headerHeight, padding: headerPadding, color: headerColor, lineHeight: (0,es.unit)(headerHeight), background: headerBg, // Other components/menu/style/index.less line:686 // Integration with header element so menu items have the same height [`${antCls}-menu`]: { lineHeight: 'inherit' } }, // ==================== Footer ==================== [`${componentCls}-footer`]: { padding: footerPadding, color: colorText, fontSize, background: footerBg }, // =================== Content ==================== [`${componentCls}-content`]: { flex: 'auto', // fix firefox can't set height smaller than content on flex item minHeight: 0 } }; }; const prepareComponentToken = token => { const { colorBgLayout, controlHeight, controlHeightLG, colorText, controlHeightSM, marginXXS, colorTextLightSolid, colorBgContainer } = token; const paddingInline = controlHeightLG * 1.25; return { // Deprecated colorBgHeader: '#001529', colorBgBody: colorBgLayout, colorBgTrigger: '#002140', bodyBg: colorBgLayout, headerBg: '#001529', headerHeight: controlHeight * 2, headerPadding: `0 ${paddingInline}px`, headerColor: colorText, footerPadding: `${controlHeightSM}px ${paddingInline}px`, footerBg: colorBgLayout, siderBg: '#001529', triggerHeight: controlHeightLG + marginXXS * 2, triggerBg: '#002140', triggerColor: colorTextLightSolid, zeroTriggerWidth: controlHeightLG, zeroTriggerHeight: controlHeightLG, lightSiderBg: colorBgContainer, lightTriggerBg: colorBgContainer, lightTriggerColor: colorText }; }; // ============================== Export ============================== /* harmony default export */ var layout_style = ((0,genComponentStyleHook/* genStyleHooks */.I$)('Layout', token => [genLayoutStyle(token)], prepareComponentToken, { deprecatedTokens: [['colorBgBody', 'bodyBg'], ['colorBgHeader', 'headerBg'], ['colorBgTrigger', 'triggerBg']] })); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/layout.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; }; function generator(_ref) { let { suffixCls, tagName, displayName } = _ref; return BasicComponent => { const Adapter = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => ( /*#__PURE__*/_react_17_0_2_react.createElement(BasicComponent, Object.assign({ ref: ref, suffixCls: suffixCls, tagName: tagName }, props)))); if (false) {} return Adapter; }; } const Basic = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { const { prefixCls: customizePrefixCls, suffixCls, className, tagName: TagName } = props, others = __rest(props, ["prefixCls", "suffixCls", "className", "tagName"]); const { getPrefixCls } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = getPrefixCls('layout', customizePrefixCls); const [wrapSSR, hashId, cssVarCls] = layout_style(prefixCls); const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls; return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(TagName, Object.assign({ className: _classnames_2_5_1_classnames_default()(customizePrefixCls || prefixWithSuffixCls, className, hashId, cssVarCls), ref: ref }, others))); }); const BasicLayout = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { const { direction } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const [siders, setSiders] = _react_17_0_2_react.useState([]); const { prefixCls: customizePrefixCls, className, rootClassName, children, hasSider, tagName: Tag, style } = props, others = __rest(props, ["prefixCls", "className", "rootClassName", "children", "hasSider", "tagName", "style"]); const passedProps = (0,omit/* default */.Z)(others, ['suffixCls']); const { getPrefixCls, layout } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = getPrefixCls('layout', customizePrefixCls); const mergedHasSider = useHasSider(siders, children, hasSider); const [wrapCSSVar, hashId, cssVarCls] = layout_style(prefixCls); const classString = _classnames_2_5_1_classnames_default()(prefixCls, { [`${prefixCls}-has-sider`]: mergedHasSider, [`${prefixCls}-rtl`]: direction === 'rtl' }, layout === null || layout === void 0 ? void 0 : layout.className, className, rootClassName, hashId, cssVarCls); const contextValue = _react_17_0_2_react.useMemo(() => ({ siderHook: { addSider: id => { setSiders(prev => [].concat((0,toConsumableArray/* default */.Z)(prev), [id])); }, removeSider: id => { setSiders(prev => prev.filter(currentId => currentId !== id)); } } }), []); return wrapCSSVar( /*#__PURE__*/_react_17_0_2_react.createElement(layout_context/* LayoutContext */.V.Provider, { value: contextValue }, /*#__PURE__*/_react_17_0_2_react.createElement(Tag, Object.assign({ ref: ref, className: classString, style: Object.assign(Object.assign({}, layout === null || layout === void 0 ? void 0 : layout.style), style) }, passedProps), children))); }); const Layout = generator({ tagName: 'div', displayName: 'Layout' })(BasicLayout); const Header = generator({ suffixCls: 'header', tagName: 'header', displayName: 'Header' })(Basic); const Footer = generator({ suffixCls: 'footer', tagName: 'footer', displayName: 'Footer' })(Basic); const Content = generator({ suffixCls: 'content', tagName: 'main', displayName: 'Content' })(Basic); /* harmony default export */ var layout = (Layout); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/layout/index.js "use client"; const layout_Layout = layout; layout_Layout.Header = Header; layout_Layout.Footer = Footer; layout_Layout.Content = Content; layout_Layout.Sider = Sider/* default */.Z; layout_Layout._InternalSiderContext = Sider/* SiderContext */.D; /* harmony default export */ var es_layout = (layout_Layout); /***/ }), /***/ 35002: /*!**************************************************************************!*\ !*** ./node_modules/_antd@5.12.8@antd/es/statistic/index.js + 5 modules ***! \**************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Z: function() { return /* binding */ es_statistic; } }); // 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.12.8@antd/es/_util/hooks/useForceUpdate.js var useForceUpdate = __webpack_require__(444); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/_util/reactNode.js var reactNode = __webpack_require__(17941); // 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/_antd@5.12.8@antd/es/config-provider/context.js var context = __webpack_require__(70330); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/skeleton/index.js + 12 modules var skeleton = __webpack_require__(83469); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/statistic/Number.js "use client"; const StatisticNumber = props => { const { value, formatter, precision, decimalSeparator, groupSeparator = '', prefixCls } = props; let valueNode; if (typeof formatter === 'function') { // Customize formatter valueNode = formatter(value); } else { // Internal formatter const val = String(value); const cells = val.match(/^(-?)(\d*)(\.(\d+))?$/); // Process if illegal number if (!cells || val === '-') { valueNode = val; } else { const negative = cells[1]; let int = cells[2] || '0'; let decimal = cells[4] || ''; int = int.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator); if (typeof precision === 'number') { decimal = decimal.padEnd(precision, '0').slice(0, precision > 0 ? precision : 0); } if (decimal) { decimal = `${decimalSeparator}${decimal}`; } valueNode = [/*#__PURE__*/_react_17_0_2_react.createElement("span", { key: "int", className: `${prefixCls}-content-value-int` }, negative, int), decimal && ( /*#__PURE__*/_react_17_0_2_react.createElement("span", { key: "decimal", className: `${prefixCls}-content-value-decimal` }, decimal))]; } } return /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-content-value` }, valueNode); }; /* harmony default export */ var statistic_Number = (StatisticNumber); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/style/index.js var style = __webpack_require__(78605); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/theme/util/genComponentStyleHook.js + 5 modules var genComponentStyleHook = __webpack_require__(16613); // EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/theme/util/statistic.js var statistic = __webpack_require__(35577); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/statistic/style/index.js const genStatisticStyle = token => { const { componentCls, marginXXS, padding, colorTextDescription, titleFontSize, colorTextHeading, contentFontSize, fontFamily } = token; return { [`${componentCls}`]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { [`${componentCls}-title`]: { marginBottom: marginXXS, color: colorTextDescription, fontSize: titleFontSize }, [`${componentCls}-skeleton`]: { paddingTop: padding }, [`${componentCls}-content`]: { color: colorTextHeading, fontSize: contentFontSize, fontFamily, [`${componentCls}-content-value`]: { display: 'inline-block', direction: 'ltr' }, [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: { display: 'inline-block' }, [`${componentCls}-content-prefix`]: { marginInlineEnd: marginXXS }, [`${componentCls}-content-suffix`]: { marginInlineStart: marginXXS } } }) }; }; // ============================== Export ============================== const prepareComponentToken = token => { const { fontSizeHeading3, fontSize } = token; return { titleFontSize: fontSize, contentFontSize: fontSizeHeading3 }; }; /* harmony default export */ var statistic_style = ((0,genComponentStyleHook/* genStyleHooks */.I$)('Statistic', token => { const statisticToken = (0,statistic/* merge */.TS)(token, {}); return [genStatisticStyle(statisticToken)]; }, prepareComponentToken)); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/statistic/Statistic.js "use client"; const Statistic = props => { const { prefixCls: customizePrefixCls, className, rootClassName, style, valueStyle, value = 0, title, valueRender, prefix, suffix, loading = false, onMouseEnter, onMouseLeave, decimalSeparator = '.', groupSeparator = ',' } = props; const { getPrefixCls, direction, statistic } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); const prefixCls = getPrefixCls('statistic', customizePrefixCls); const [wrapCSSVar, hashId, cssVarCls] = statistic_style(prefixCls); const valueNode = /*#__PURE__*/_react_17_0_2_react.createElement(statistic_Number, Object.assign({ decimalSeparator: decimalSeparator, groupSeparator: groupSeparator, prefixCls: prefixCls }, props, { value: value })); const cls = _classnames_2_5_1_classnames_default()(prefixCls, { [`${prefixCls}-rtl`]: direction === 'rtl' }, statistic === null || statistic === void 0 ? void 0 : statistic.className, className, rootClassName, hashId, cssVarCls); return wrapCSSVar( /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: cls, style: Object.assign(Object.assign({}, statistic === null || statistic === void 0 ? void 0 : statistic.style), style), onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave }, title && /*#__PURE__*/_react_17_0_2_react.createElement("div", { className: `${prefixCls}-title` }, title), /*#__PURE__*/_react_17_0_2_react.createElement(skeleton/* default */.Z, { paragraph: false, loading: loading, className: `${prefixCls}-skeleton` }, /*#__PURE__*/_react_17_0_2_react.createElement("div", { style: valueStyle, className: `${prefixCls}-content` }, prefix && /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-content-prefix` }, prefix), valueRender ? valueRender(valueNode) : valueNode, suffix && /*#__PURE__*/_react_17_0_2_react.createElement("span", { className: `${prefixCls}-content-suffix` }, suffix))))); }; if (false) {} /* harmony default export */ var statistic_Statistic = (Statistic); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/statistic/utils.js // Countdown const timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], // years ['M', 1000 * 60 * 60 * 24 * 30], // months ['D', 1000 * 60 * 60 * 24], // days ['H', 1000 * 60 * 60], // hours ['m', 1000 * 60], // minutes ['s', 1000], // seconds ['S', 1] // million seconds ]; function formatTimeStr(duration, format) { let leftDuration = duration; const escapeRegex = /\[[^\]]*]/g; const keepList = (format.match(escapeRegex) || []).map(str => str.slice(1, -1)); const templateText = format.replace(escapeRegex, '[]'); const replacedText = timeUnits.reduce((current, _ref) => { let [name, unit] = _ref; if (current.includes(name)) { const value = Math.floor(leftDuration / unit); leftDuration -= value * unit; return current.replace(new RegExp(`${name}+`, 'g'), match => { const len = match.length; return value.toString().padStart(len, '0'); }); } return current; }, templateText); let index = 0; return replacedText.replace(escapeRegex, () => { const match = keepList[index]; index += 1; return match; }); } function formatCountdown(value, config) { const { format = '' } = config; const target = new Date(value).getTime(); const current = Date.now(); const diff = Math.max(target - current, 0); return formatTimeStr(diff, format); } ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/statistic/Countdown.js "use client"; const REFRESH_INTERVAL = 1000 / 30; function getTime(value) { return new Date(value).getTime(); } const Countdown = props => { const { value, format = 'HH:mm:ss', onChange, onFinish } = props; const forceUpdate = (0,useForceUpdate/* default */.Z)(); const countdown = _react_17_0_2_react.useRef(null); const stopTimer = () => { onFinish === null || onFinish === void 0 ? void 0 : onFinish(); if (countdown.current) { clearInterval(countdown.current); countdown.current = null; } }; const syncTimer = () => { const timestamp = getTime(value); if (timestamp >= Date.now()) { countdown.current = setInterval(() => { forceUpdate(); onChange === null || onChange === void 0 ? void 0 : onChange(timestamp - Date.now()); if (timestamp < Date.now()) { stopTimer(); } }, REFRESH_INTERVAL); } }; _react_17_0_2_react.useEffect(() => { syncTimer(); return () => { if (countdown.current) { clearInterval(countdown.current); countdown.current = null; } }; }, [value]); const formatter = (formatValue, config) => formatCountdown(formatValue, Object.assign(Object.assign({}, config), { format })); const valueRender = node => (0,reactNode/* cloneElement */.Tm)(node, { title: undefined }); return /*#__PURE__*/_react_17_0_2_react.createElement(statistic_Statistic, Object.assign({}, props, { valueRender: valueRender, formatter: formatter })); }; /* harmony default export */ var statistic_Countdown = (/*#__PURE__*/_react_17_0_2_react.memo(Countdown)); ;// CONCATENATED MODULE: ./node_modules/_antd@5.12.8@antd/es/statistic/index.js "use client"; statistic_Statistic.Countdown = statistic_Countdown; /* harmony default export */ var es_statistic = (statistic_Statistic); /***/ }), /***/ 25769: /*!**************************************************************************!*\ !*** ./node_modules/_copy-to-clipboard@3.3.3@copy-to-clipboard/index.js ***! \**************************************************************************/ /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; var deselectCurrent = __webpack_require__(/*! toggle-selection */ 98040); var clipboardToIE11Formatting = { "text/plain": "Text", "text/html": "Url", "default": "Text" } var defaultMessage = "Copy to clipboard: #{key}, Enter"; function format(message) { var copyKey = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; return message.replace(/#{\s*key\s*}/g, copyKey); } function copy(text, options) { var debug, message, reselectPrevious, range, selection, mark, success = false; if (!options) { options = {}; } debug = options.debug || false; try { reselectPrevious = deselectCurrent(); range = document.createRange(); selection = document.getSelection(); mark = document.createElement("span"); mark.textContent = text; // avoid screen readers from reading out loud the text mark.ariaHidden = "true" // reset user styles for span element mark.style.all = "unset"; // prevents scrolling to the end of the page mark.style.position = "fixed"; mark.style.top = 0; mark.style.clip = "rect(0, 0, 0, 0)"; // used to preserve spaces and line breaks mark.style.whiteSpace = "pre"; // do not inherit user-select (it may be `none`) mark.style.webkitUserSelect = "text"; mark.style.MozUserSelect = "text"; mark.style.msUserSelect = "text"; mark.style.userSelect = "text"; mark.addEventListener("copy", function(e) { e.stopPropagation(); if (options.format) { e.preventDefault(); if (typeof e.clipboardData === "undefined") { // IE 11 debug && console.warn("unable to use e.clipboardData"); debug && console.warn("trying IE specific stuff"); window.clipboardData.clearData(); var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"] window.clipboardData.setData(format, text); } else { // all other browsers e.clipboardData.clearData(); e.clipboardData.setData(options.format, text); } } if (options.onCopy) { e.preventDefault(); options.onCopy(e.clipboardData); } }); document.body.appendChild(mark); range.selectNodeContents(mark); selection.addRange(range); var successful = document.execCommand("copy"); if (!successful) { throw new Error("copy command was unsuccessful"); } success = true; } catch (err) { debug && console.error("unable to copy using execCommand: ", err); debug && console.warn("trying IE specific stuff"); try { window.clipboardData.setData(options.format || "text", text); options.onCopy && options.onCopy(window.clipboardData); success = true; } catch (err) { debug && console.error("unable to copy using clipboardData: ", err); debug && console.error("falling back to prompt"); message = format("message" in options ? options.message : defaultMessage); window.prompt(message, text); } } finally { if (selection) { if (typeof selection.removeRange == "function") { selection.removeRange(range); } else { selection.removeAllRanges(); } } if (mark) { document.body.removeChild(mark); } reselectPrevious(); } return success; } module.exports = copy; /***/ }), /***/ 83145: /*!**********************************************************************************************!*\ !*** ./node_modules/_react-copy-to-clipboard@5.0.2@react-copy-to-clipboard/lib/Component.js ***! \**********************************************************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.CopyToClipboard = void 0; var _react = _interopRequireDefault(__webpack_require__(/*! react */ 59301)); var _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ 25769)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } var CopyToClipboard = /*#__PURE__*/ function (_React$PureComponent) { _inherits(CopyToClipboard, _React$PureComponent); function CopyToClipboard() { var _getPrototypeOf2; var _this; _classCallCheck(this, CopyToClipboard); for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CopyToClipboard)).call.apply(_getPrototypeOf2, [this].concat(args))); _defineProperty(_assertThisInitialized(_this), "onClick", function (event) { var _this$props = _this.props, text = _this$props.text, onCopy = _this$props.onCopy, children = _this$props.children, options = _this$props.options; var elem = _react["default"].Children.only(children); var result = (0, _copyToClipboard["default"])(text, options); if (onCopy) { onCopy(text, result); } // Bypass onClick if it was present if (elem && elem.props && typeof elem.props.onClick === 'function') { elem.props.onClick(event); } }); return _this; } _createClass(CopyToClipboard, [{ key: "render", value: function render() { var _this$props2 = this.props, _text = _this$props2.text, _onCopy = _this$props2.onCopy, _options = _this$props2.options, children = _this$props2.children, props = _objectWithoutProperties(_this$props2, ["text", "onCopy", "options", "children"]); var elem = _react["default"].Children.only(children); return _react["default"].cloneElement(elem, _objectSpread({}, props, { onClick: this.onClick })); } }]); return CopyToClipboard; }(_react["default"].PureComponent); exports.CopyToClipboard = CopyToClipboard; _defineProperty(CopyToClipboard, "defaultProps", { onCopy: undefined, options: undefined }); /***/ }), /***/ 56102: /*!******************************************************************************************!*\ !*** ./node_modules/_react-copy-to-clipboard@5.0.2@react-copy-to-clipboard/lib/index.js ***! \******************************************************************************************/ /***/ (function(module, __unused_webpack_exports, __webpack_require__) { "use strict"; var _require = __webpack_require__(/*! ./Component */ 83145), CopyToClipboard = _require.CopyToClipboard; CopyToClipboard.CopyToClipboard = CopyToClipboard; module.exports = CopyToClipboard; /***/ }), /***/ 98040: /*!************************************************************************!*\ !*** ./node_modules/_toggle-selection@1.0.6@toggle-selection/index.js ***! \************************************************************************/ /***/ (function(module) { module.exports = function () { var selection = document.getSelection(); if (!selection.rangeCount) { return function () {}; } var active = document.activeElement; var ranges = []; for (var i = 0; i < selection.rangeCount; i++) { ranges.push(selection.getRangeAt(i)); } switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML case 'INPUT': case 'TEXTAREA': active.blur(); break; default: active = null; break; } selection.removeAllRanges(); return function () { selection.type === 'Caret' && selection.removeAllRanges(); if (!selection.rangeCount) { ranges.forEach(function(range) { selection.addRange(range); }); } active && active.focus(); }; }; /***/ }) }]);