diff --git a/12632.c4c483c4.async.js b/12632.2184e18b.async.js similarity index 99% rename from 12632.c4c483c4.async.js rename to 12632.2184e18b.async.js index 376139582d..e10359d3ea 100644 --- a/12632.c4c483c4.async.js +++ b/12632.2184e18b.async.js @@ -507,7 +507,7 @@ if (false) {} "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/15377.6221135a.async.js b/15377.57ce0d89.async.js similarity index 99% rename from 15377.6221135a.async.js rename to 15377.57ce0d89.async.js index d8e9756c55..0b81a8c3d2 100644 --- a/15377.6221135a.async.js +++ b/15377.57ce0d89.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[15377,52720,45504,74877,22970,72261,18950,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[15377,52720,74877,22970,72261,18950,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ @@ -2007,7 +2007,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/15909.6d0736f5.async.js b/15909.bf1b6437.async.js similarity index 99% rename from 15909.6d0736f5.async.js rename to 15909.bf1b6437.async.js index 5d39075bd7..b96606f164 100644 --- a/15909.6d0736f5.async.js +++ b/15909.bf1b6437.async.js @@ -98,7 +98,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/18950.735b3ccb.async.js b/18950.2b7261df.async.js similarity index 99% rename from 18950.735b3ccb.async.js rename to 18950.2b7261df.async.js index fdeb1418d3..0131ca916e 100644 --- a/18950.735b3ccb.async.js +++ b/18950.2b7261df.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[18950,52720,45504,72261,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[18950,52720,72261,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ @@ -1489,7 +1489,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/20067.1ac3041d.async.js b/20067.993f7d0c.async.js similarity index 99% rename from 20067.1ac3041d.async.js rename to 20067.993f7d0c.async.js index 41ebcde71e..b8973a9822 100644 --- a/20067.1ac3041d.async.js +++ b/20067.993f7d0c.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[20067,52720,45504,94144,61104,37495,77034,81326,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[20067,52720,94144,61104,37495,77034,81326,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/20459.ef96d231.async.js b/20459.ef96d231.async.js deleted file mode 100644 index 43f6877a48..0000000000 --- a/20459.ef96d231.async.js +++ /dev/null @@ -1,804 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[20459],{ - -/***/ 77578: -/*!**********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/_util/getRenderPropValue.js ***! - \**********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ getRenderPropValue; } -/* harmony export */ }); -const getRenderPropValue = propValue => { - if (!propValue) { - return null; - } - if (typeof propValue === 'function') { - return propValue(); - } - return propValue; -}; - -/***/ }), - -/***/ 39722: -/*!***************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/popover/PurePanel.js ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ t5: function() { return /* binding */ RawPurePanel; } -/* harmony export */ }); -/* unused harmony export getOverlay */ -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 36355); -/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 17356); -"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 getOverlay = (prefixCls, title, content) => { - if (!title && !content) return undefined; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: `${prefixCls}-title` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: `${prefixCls}-inner-content` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); -}; -const RawPurePanel = props => { - const { - hashId, - prefixCls, - className, - style, - placement = 'top', - title, - content, - children - } = props; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), - style: style - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: `${prefixCls}-arrow` - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { - className: hashId, - prefixCls: prefixCls - }), children || getOverlay(prefixCls, title, content))); -}; -const PurePanel = props => { - const { - prefixCls: customizePrefixCls - } = props, - restProps = __rest(props, ["prefixCls"]); - const { - getPrefixCls - } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); - const prefixCls = getPrefixCls('popover', customizePrefixCls); - const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); - return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { - prefixCls: prefixCls, - hashId: hashId - }))); -}; -/* harmony default export */ __webpack_exports__.ZP = (PurePanel); - -/***/ }), - -/***/ 60324: -/*!***********************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/popover/index.js ***! - \***********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); -/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 62892); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); -/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 6848); -/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 39722); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 17356); -"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; -}; - - - - - - - -// CSSINJS - -const Overlay = _ref => { - let { - title, - content, - prefixCls - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { - className: `${prefixCls}-title` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { - className: `${prefixCls}-inner-content` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); -}; -const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { - const { - prefixCls: customizePrefixCls, - title, - content, - overlayClassName, - placement = 'top', - trigger = 'hover', - mouseEnterDelay = 0.1, - mouseLeaveDelay = 0.1, - overlayStyle = {} - } = props, - otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); - const { - getPrefixCls - } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); - const prefixCls = getPrefixCls('popover', customizePrefixCls); - const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); - const rootPrefixCls = getPrefixCls(); - const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); - return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ - placement: placement, - trigger: trigger, - mouseEnterDelay: mouseEnterDelay, - mouseLeaveDelay: mouseLeaveDelay, - overlayStyle: overlayStyle - }, otherProps, { - prefixCls: prefixCls, - overlayClassName: overlayCls, - ref: ref, - overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { - prefixCls: prefixCls, - title: title, - content: content - }) : null, - transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .m)(rootPrefixCls, 'zoom-big', otherProps.transitionName), - "data-popover-inject": true - }))); -}); -if (false) {} -Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; -/* harmony default export */ __webpack_exports__.Z = (Popover); - -/***/ }), - -/***/ 17356: -/*!*****************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/popover/style/index.js ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313); -/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 29878); -/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 19447); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 33166); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 83116); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 37613); -"use client"; - - - - - -const genBaseStyle = token => { - const { - componentCls, - popoverColor, - minWidth, - fontWeightStrong, - popoverPadding, - boxShadowSecondary, - colorTextHeading, - borderRadiusLG: borderRadius, - zIndexPopup, - marginXS, - colorBgElevated, - popoverBg - } = token; - return [{ - [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { - position: 'absolute', - top: 0, - // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 - left: { - _skip_check_: true, - value: 0 - }, - zIndex: zIndexPopup, - fontWeight: 'normal', - whiteSpace: 'normal', - textAlign: 'start', - cursor: 'auto', - userSelect: 'text', - transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, - '--antd-arrow-background-color': colorBgElevated, - '&-rtl': { - direction: 'rtl' - }, - '&-hidden': { - display: 'none' - }, - [`${componentCls}-content`]: { - position: 'relative' - }, - [`${componentCls}-inner`]: { - backgroundColor: popoverBg, - backgroundClip: 'padding-box', - borderRadius, - boxShadow: boxShadowSecondary, - padding: popoverPadding - }, - [`${componentCls}-title`]: { - minWidth, - marginBottom: marginXS, - color: colorTextHeading, - fontWeight: fontWeightStrong - }, - [`${componentCls}-inner-content`]: { - color: popoverColor - } - }) - }, - // Arrow Style - (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { - colorBg: 'var(--antd-arrow-background-color)' - }), - // Pure Render - { - [`${componentCls}-pure`]: { - position: 'relative', - maxWidth: 'none', - margin: token.sizePopupArrow, - display: 'inline-block', - [`${componentCls}-content`]: { - display: 'inline-block' - } - } - }]; -}; -const genColorStyle = token => { - const { - componentCls - } = token; - return { - [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors */ .i.map(colorKey => { - const lightColor = token[`${colorKey}6`]; - return { - [`&${componentCls}-${colorKey}`]: { - '--antd-arrow-background-color': lightColor, - [`${componentCls}-inner`]: { - backgroundColor: lightColor - }, - [`${componentCls}-arrow`]: { - background: 'transparent' - } - } - }; - }) - }; -}; -const genWireframeStyle = token => { - const { - componentCls, - lineWidth, - lineType, - colorSplit, - paddingSM, - controlHeight, - fontSize, - lineHeight, - padding - } = token; - const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); - const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; - const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; - const popoverPaddingHorizontal = padding; - return { - [componentCls]: { - [`${componentCls}-inner`]: { - padding: 0 - }, - [`${componentCls}-title`]: { - margin: 0, - padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, - borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` - }, - [`${componentCls}-inner-content`]: { - padding: `${paddingSM}px ${popoverPaddingHorizontal}px` - } - } - }; -}; -/* harmony default export */ __webpack_exports__.Z = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { - const { - colorBgElevated, - colorText, - wireframe - } = token; - const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { - popoverPadding: 12, - popoverBg: colorBgElevated, - popoverColor: colorText - }); - return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; -}, token => ({ - width: 177, - minWidth: 177, - zIndexPopup: token.zIndexPopupBase + 30 -}), { - resetStyle: false, - deprecatedTokens: [['width', 'minWidth']] -})); - -/***/ }), - -/***/ 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
  • { - var { - prefixCls, - className, - pending = false, - children, - items, - rootClassName, - reverse = false, - direction, - hashId, - pendingDot, - mode = '' - } = _a, - restProps = TimelineItemList_rest(_a, ["prefixCls", "className", "pending", "children", "items", "rootClassName", "reverse", "direction", "hashId", "pendingDot", "mode"]); - const getPositionCls = (position, idx) => { - if (mode === 'alternate') { - if (position === 'right') return `${prefixCls}-item-right`; - if (position === 'left') return `${prefixCls}-item-left`; - return idx % 2 === 0 ? `${prefixCls}-item-left` : `${prefixCls}-item-right`; - } - if (mode === 'left') return `${prefixCls}-item-left`; - if (mode === 'right') return `${prefixCls}-item-right`; - if (position === 'right') return `${prefixCls}-item-right`; - return ''; - }; - const mergedItems = (0,toConsumableArray/* default */.Z)(items || []); - const pendingNode = typeof pending === 'boolean' ? null : pending; - if (pending) { - mergedItems.push({ - pending: !!pending, - dot: pendingDot || /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null), - children: pendingNode - }); - } - if (reverse) { - mergedItems.reverse(); - } - const itemsCount = mergedItems.length; - const lastCls = `${prefixCls}-item-last`; - const itemsList = mergedItems.filter(item => !!item).map((item, idx) => { - var _a; - const pendingClass = idx === itemsCount - 2 ? lastCls : ''; - const readyClass = idx === itemsCount - 1 ? lastCls : ''; - const { - className: itemClassName - } = item, - itemProps = TimelineItemList_rest(item, ["className"]); - return /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItem, Object.assign({}, itemProps, { - className: _classnames_2_5_1_classnames_default()([itemClassName, !reverse && !!pending ? pendingClass : readyClass, getPositionCls((_a = item === null || item === void 0 ? void 0 : item.position) !== null && _a !== void 0 ? _a : '', idx)]), - /* eslint-disable-next-line react/no-array-index-key */ - key: (item === null || item === void 0 ? void 0 : item.key) || idx - })); - }); - const hasLabelItem = mergedItems.some(item => !!(item === null || item === void 0 ? void 0 : item.label)); - const classString = _classnames_2_5_1_classnames_default()(prefixCls, { - [`${prefixCls}-pending`]: !!pending, - [`${prefixCls}-reverse`]: !!reverse, - [`${prefixCls}-${mode}`]: !!mode && !hasLabelItem, - [`${prefixCls}-label`]: hasLabelItem, - [`${prefixCls}-rtl`]: direction === 'rtl' - }, className, rootClassName, hashId); - return /*#__PURE__*/_react_17_0_2_react.createElement("ul", Object.assign({}, restProps, { - className: classString - }), itemsList); -}; -/* harmony default export */ var timeline_TimelineItemList = (TimelineItemList); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/Children/toArray.js -var toArray = __webpack_require__(38298); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/useItems.js -"use client"; - - -function useItems(items, children) { - if (items && Array.isArray(items)) return items; - return (0,toArray/* default */.Z)(children).map(ele => { - var _a, _b; - return Object.assign({ - children: (_b = (_a = ele === null || ele === void 0 ? void 0 : ele.props) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : '' - }, ele.props); - }); -} -/* harmony default export */ var timeline_useItems = (useItems); -// 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/timeline/style/index.js - - -const genTimelineStyle = token => { - const { - componentCls - } = token; - return { - [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { - margin: 0, - padding: 0, - listStyle: 'none', - [`${componentCls}-item`]: { - position: 'relative', - margin: 0, - paddingBottom: token.itemPaddingBottom, - fontSize: token.fontSize, - listStyle: 'none', - '&-tail': { - position: 'absolute', - insetBlockStart: token.itemHeadSize, - insetInlineStart: (token.itemHeadSize - token.tailWidth) / 2, - height: `calc(100% - ${token.itemHeadSize}px)`, - borderInlineStart: `${token.tailWidth}px ${token.lineType} ${token.tailColor}` - }, - '&-pending': { - [`${componentCls}-item-head`]: { - fontSize: token.fontSizeSM, - backgroundColor: 'transparent' - }, - [`${componentCls}-item-tail`]: { - display: 'none' - } - }, - '&-head': { - position: 'absolute', - width: token.itemHeadSize, - height: token.itemHeadSize, - backgroundColor: token.dotBg, - border: `${token.dotBorderWidth}px ${token.lineType} transparent`, - borderRadius: '50%', - '&-blue': { - color: token.colorPrimary, - borderColor: token.colorPrimary - }, - '&-red': { - color: token.colorError, - borderColor: token.colorError - }, - '&-green': { - color: token.colorSuccess, - borderColor: token.colorSuccess - }, - '&-gray': { - color: token.colorTextDisabled, - borderColor: token.colorTextDisabled - } - }, - '&-head-custom': { - position: 'absolute', - insetBlockStart: token.itemHeadSize / 2, - insetInlineStart: token.itemHeadSize / 2, - width: 'auto', - height: 'auto', - marginBlockStart: 0, - paddingBlock: token.customHeadPaddingVertical, - lineHeight: 1, - textAlign: 'center', - border: 0, - borderRadius: 0, - transform: `translate(-50%, -50%)` - }, - '&-content': { - position: 'relative', - insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.lineWidth, - marginInlineStart: token.margin + token.itemHeadSize, - marginInlineEnd: 0, - marginBlockStart: 0, - marginBlockEnd: 0, - wordBreak: 'break-word' - }, - '&-last': { - [`> ${componentCls}-item-tail`]: { - display: 'none' - }, - [`> ${componentCls}-item-content`]: { - minHeight: token.controlHeightLG * 1.2 - } - } - }, - [`&${componentCls}-alternate, - &${componentCls}-right, - &${componentCls}-label`]: { - [`${componentCls}-item`]: { - '&-tail, &-head, &-head-custom': { - insetInlineStart: '50%' - }, - '&-head': { - marginInlineStart: `-${token.marginXXS}px`, - '&-custom': { - marginInlineStart: token.tailWidth / 2 - } - }, - '&-left': { - [`${componentCls}-item-content`]: { - insetInlineStart: `calc(50% - ${token.marginXXS}px)`, - width: `calc(50% - ${token.marginSM}px)`, - textAlign: 'start' - } - }, - '&-right': { - [`${componentCls}-item-content`]: { - width: `calc(50% - ${token.marginSM}px)`, - margin: 0, - textAlign: 'end' - } - } - } - }, - [`&${componentCls}-right`]: { - [`${componentCls}-item-right`]: { - [`${componentCls}-item-tail, - ${componentCls}-item-head, - ${componentCls}-item-head-custom`]: { - insetInlineStart: `calc(100% - ${(token.itemHeadSize + token.tailWidth) / 2}px)` - }, - [`${componentCls}-item-content`]: { - width: `calc(100% - ${token.itemHeadSize + token.marginXS}px)` - } - } - }, - [`&${componentCls}-pending - ${componentCls}-item-last - ${componentCls}-item-tail`]: { - display: 'block', - height: `calc(100% - ${token.margin}px)`, - borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}` - }, - [`&${componentCls}-reverse - ${componentCls}-item-last - ${componentCls}-item-tail`]: { - display: 'none' - }, - [`&${componentCls}-reverse ${componentCls}-item-pending`]: { - [`${componentCls}-item-tail`]: { - insetBlockStart: token.margin, - display: 'block', - height: `calc(100% - ${token.margin}px)`, - borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}` - }, - [`${componentCls}-item-content`]: { - minHeight: token.controlHeightLG * 1.2 - } - }, - [`&${componentCls}-label`]: { - [`${componentCls}-item-label`]: { - position: 'absolute', - insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.tailWidth, - width: `calc(50% - ${token.marginSM}px)`, - textAlign: 'end' - }, - [`${componentCls}-item-right`]: { - [`${componentCls}-item-label`]: { - insetInlineStart: `calc(50% + ${token.marginSM}px)`, - width: `calc(50% - ${token.marginSM}px)`, - textAlign: 'start' - } - } - }, - // ====================== RTL ======================= - '&-rtl': { - direction: 'rtl', - [`${componentCls}-item-head-custom`]: { - transform: `translate(50%, -50%)` - } - } - }) - }; -}; -// ============================== Export ============================== -/* harmony default export */ var timeline_style = ((0,genComponentStyleHook/* default */.Z)('Timeline', token => { - const timeLineToken = (0,statistic/* merge */.TS)(token, { - itemHeadSize: 10, - customHeadPaddingVertical: token.paddingXXS, - paddingInlineEnd: 2 - }); - return [genTimelineStyle(timeLineToken)]; -}, token => ({ - tailColor: token.colorSplit, - tailWidth: token.lineWidthBold, - dotBorderWidth: token.wireframe ? token.lineWidthBold : token.lineWidth * 3, - dotBg: token.colorBgContainer, - itemPaddingBottom: token.padding * 1.25 -}))); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/Timeline.js -"use client"; - -var Timeline_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; -}; - - - - - - - -// CSSINJS - -const Timeline = props => { - const { - getPrefixCls, - direction, - timeline - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - children, - items, - className, - style - } = props, - restProps = Timeline_rest(props, ["prefixCls", "children", "items", "className", "style"]); - const prefixCls = getPrefixCls('timeline', customizePrefixCls); - // =================== Warning ===================== - if (false) {} - // Style - const [wrapSSR, hashId] = timeline_style(prefixCls); - const mergedItems = timeline_useItems(items, children); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItemList, Object.assign({}, restProps, { - className: _classnames_2_5_1_classnames_default()(timeline === null || timeline === void 0 ? void 0 : timeline.className, className), - style: Object.assign(Object.assign({}, timeline === null || timeline === void 0 ? void 0 : timeline.style), style), - prefixCls: prefixCls, - direction: direction, - items: mergedItems, - hashId: hashId - }))); -}; -Timeline.Item = timeline_TimelineItem; -if (false) {} -/* harmony default export */ var timeline_Timeline = (Timeline); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/index.js -"use client"; - - -/* harmony default export */ var timeline = (timeline_Timeline); - -/***/ }) - -}]); \ No newline at end of file diff --git a/20898.39f956fd.async.js b/20898.751a440e.async.js similarity index 99% rename from 20898.39f956fd.async.js rename to 20898.751a440e.async.js index 53d3586416..0b520b999a 100644 --- a/20898.39f956fd.async.js +++ b/20898.751a440e.async.js @@ -933,7 +933,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/21751.05cbd86c.async.js b/21751.9fe95f38.async.js similarity index 99% rename from 21751.05cbd86c.async.js rename to 21751.9fe95f38.async.js index 91018358e4..c64d6c042f 100644 --- a/21751.05cbd86c.async.js +++ b/21751.9fe95f38.async.js @@ -1853,7 +1853,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/22970.99c207b0.async.js b/22970.193a1757.async.js similarity index 99% rename from 22970.99c207b0.async.js rename to 22970.193a1757.async.js index b7ec6e52b3..c8b751afa9 100644 --- a/22970.99c207b0.async.js +++ b/22970.193a1757.async.js @@ -1718,7 +1718,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/31222.02a51cb2.async.js b/23401.9347d355.async.js similarity index 90% rename from 31222.02a51cb2.async.js rename to 23401.9347d355.async.js index 4fdafc9a8a..8b9a7b6bed 100644 --- a/31222.02a51cb2.async.js +++ b/23401.9347d355.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[31222],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[23401],{ /***/ 14726: /*!*******************************************************************************************************************!*\ @@ -46,6 +46,51 @@ if (false) {} /***/ }), +/***/ 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.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// 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 + })); +}; + +/**![inbox](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4NS4yIDQ0Ni4zbC0uMi0uOC0xMTIuMi0yODUuMWMtNS0xNi4xLTE5LjktMjcuMi0zNi44LTI3LjJIMjgxLjJjLTE3IDAtMzIuMSAxMS4zLTM2LjkgMjcuNkwxMzkuNCA0NDNsLS4zLjctLjIuOGMtMS4zIDQuOS0xLjcgOS45LTEgMTQuOC0uMSAxLjYtLjIgMy4yLS4yIDQuOFY4MzBhNjAuOSA2MC45IDAgMDA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDNsLS4zIDE1LjdjLS44IDQ0LjktMzEuOCA3NS4xLTc3LjEgNzUuMS0yMi4xIDAtNDEuMS03LjEtNTQuOC0yMC42UzQzNiA0NDEuMiA0MzUuNiA0MTlsLS4zLTE1LjdIMjI5LjVMMzA5IDIxMGgzOTkuMmw4MS43IDE5My4zSDU4OS40em0tMzc1IDc2LjhoMTU3LjNjMjQuMyA1Ny4xIDc2IDkwLjggMTQwLjQgOTAuOCAzMy43IDAgNjUtOS40IDkwLjMtMjcuMiAyMi4yLTE1LjYgMzkuNS0zNy40IDUwLjctNjMuNmgxNTYuNVY4MTRIMjE0LjRWNDgwLjF6IiAvPjwvc3ZnPg==) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(InboxOutlined_InboxOutlined); +if (false) {} +/* harmony default export */ var icons_InboxOutlined = (RefIcon); + +/***/ }), + /***/ 72245: /*!*************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules ***! @@ -997,6 +1042,25 @@ if (false) {} Tag.CheckableTag = tag_CheckableTag; /* harmony default export */ var tag = (Tag); +/***/ }), + +/***/ 60028: +/*!**********************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); +"use client"; + + + +const Upload = _Upload__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z; +Upload.Dragger = _Dragger__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; +Upload.LIST_IGNORE = _Upload__WEBPACK_IMPORTED_MODULE_0__/* .LIST_IGNORE */ .E; +/* harmony default export */ __webpack_exports__.Z = (Upload); + /***/ }) }]); \ No newline at end of file diff --git a/24064.9b712c83.async.js b/24064.6e2c3952.async.js similarity index 99% rename from 24064.9b712c83.async.js rename to 24064.6e2c3952.async.js index bbd37a9c5b..83044a3780 100644 --- a/24064.9b712c83.async.js +++ b/24064.6e2c3952.async.js @@ -828,7 +828,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/24290.b193afa2.async.js b/24290.662c4df4.async.js similarity index 99% rename from 24290.b193afa2.async.js rename to 24290.662c4df4.async.js index 1eee0b2207..21f6f090c8 100644 --- a/24290.b193afa2.async.js +++ b/24290.662c4df4.async.js @@ -1200,7 +1200,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/26013.8ea281a5.async.js b/26013.cefe58b1.async.js similarity index 99% rename from 26013.8ea281a5.async.js rename to 26013.cefe58b1.async.js index 1c0049b60e..1a9a8e95c1 100644 --- a/26013.8ea281a5.async.js +++ b/26013.cefe58b1.async.js @@ -8,7 +8,7 @@ "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/26926.4552fb62.async.js b/26926.5c0bb069.async.js similarity index 99% rename from 26926.4552fb62.async.js rename to 26926.5c0bb069.async.js index 00c536d9c7..7ecc21d4e5 100644 --- a/26926.4552fb62.async.js +++ b/26926.5c0bb069.async.js @@ -1853,7 +1853,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/27061.45411a26.async.js b/27061.81bb0f27.async.js similarity index 99% rename from 27061.45411a26.async.js rename to 27061.81bb0f27.async.js index 1ae9f1df40..03ec74af69 100644 --- a/27061.45411a26.async.js +++ b/27061.81bb0f27.async.js @@ -1071,7 +1071,7 @@ const initMoveMotion = (token, motionName) => { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/27739.c1106408.async.js b/27739.078f5ff8.async.js similarity index 99% rename from 27739.c1106408.async.js rename to 27739.078f5ff8.async.js index b605d815bf..84f3cf775e 100644 --- a/27739.c1106408.async.js +++ b/27739.078f5ff8.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27739,52720,45504,81326],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[27739,52720,81326],{ /***/ 56762: /*!************************************************************************!*\ diff --git a/39547.fe8dc736.async.js b/2805.ad2e9a51.async.js similarity index 97% rename from 39547.fe8dc736.async.js rename to 2805.ad2e9a51.async.js index f8d68119d2..1a82087d54 100644 --- a/39547.fe8dc736.async.js +++ b/2805.ad2e9a51.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[39547],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2805],{ /***/ 27666: /*!****************************************************************************!*\ @@ -877,25 +877,6 @@ if (false) {} /* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); -/***/ }), - -/***/ 60028: -/*!**********************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); -"use client"; - - - -const Upload = _Upload__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z; -Upload.Dragger = _Dragger__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -Upload.LIST_IGNORE = _Upload__WEBPACK_IMPORTED_MODULE_0__/* .LIST_IGNORE */ .E; -/* harmony default export */ __webpack_exports__.Z = (Upload); - /***/ }) }]); \ No newline at end of file diff --git a/28331.c08f21fd.async.js b/28331.c39505c8.async.js similarity index 99% rename from 28331.c08f21fd.async.js rename to 28331.c39505c8.async.js index faaea8ffac..14da366905 100644 --- a/28331.c08f21fd.async.js +++ b/28331.c39505c8.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[28331,52720,45504,46456,94144,61104,37495,77034,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[28331,52720,46456,94144,61104,37495,77034,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/28479.4c80bb20.async.js b/28479.246c3267.async.js similarity index 99% rename from 28479.4c80bb20.async.js rename to 28479.246c3267.async.js index 78e6e8021a..2339d0ea8b 100644 --- a/28479.4c80bb20.async.js +++ b/28479.246c3267.async.js @@ -1245,7 +1245,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/29111.d7918e98.async.js b/29111.d789fa56.async.js similarity index 99% rename from 29111.d7918e98.async.js rename to 29111.d789fa56.async.js index 78b079783e..0f738fe2a7 100644 --- a/29111.d7918e98.async.js +++ b/29111.d789fa56.async.js @@ -27988,7 +27988,7 @@ exports.requestWithCallback = function requestWithCallback(url, args, callback) "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/3145.4ef7463a.async.js b/3145.0a544eb2.async.js similarity index 99% rename from 3145.4ef7463a.async.js rename to 3145.0a544eb2.async.js index 39a4b0692c..fc281575df 100644 --- a/3145.4ef7463a.async.js +++ b/3145.0a544eb2.async.js @@ -1245,7 +1245,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/32166.82f373b4.async.js b/32166.b77b6211.async.js similarity index 99% rename from 32166.82f373b4.async.js rename to 32166.b77b6211.async.js index 656d0bc979..27a1d9664b 100644 --- a/32166.82f373b4.async.js +++ b/32166.b77b6211.async.js @@ -1245,7 +1245,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/32826.2a064b90.async.js b/32826.33cc2371.async.js similarity index 99% rename from 32826.2a064b90.async.js rename to 32826.33cc2371.async.js index 668fa3d19d..942508c66d 100644 --- a/32826.2a064b90.async.js +++ b/32826.33cc2371.async.js @@ -627,7 +627,7 @@ if (false) {} "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/35012.49d7ec94.async.js b/35012.891a38c2.async.js similarity index 99% rename from 35012.49d7ec94.async.js rename to 35012.891a38c2.async.js index 4bca87de5c..0a684e4a20 100644 --- a/35012.49d7ec94.async.js +++ b/35012.891a38c2.async.js @@ -1099,7 +1099,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/37704.c09343be.async.js b/37704.f6787057.async.js similarity index 99% rename from 37704.c09343be.async.js rename to 37704.f6787057.async.js index b6d2811b12..5135f0afc9 100644 --- a/37704.c09343be.async.js +++ b/37704.f6787057.async.js @@ -441,7 +441,7 @@ if (false) {} "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/4176.7ecf3370.async.js b/4176.a5fa6b45.async.js similarity index 99% rename from 4176.7ecf3370.async.js rename to 4176.a5fa6b45.async.js index 12c0fef099..9f6ad16c54 100644 --- a/4176.7ecf3370.async.js +++ b/4176.a5fa6b45.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[4176,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[4176,52720],{ /***/ 56679: /*!***********************************************************************************************************!*\ diff --git a/43370.2339646f.async.js b/43370.430a7abf.async.js similarity index 98% rename from 43370.2339646f.async.js rename to 43370.430a7abf.async.js index 61ab46fc45..54eb9b67d5 100644 --- a/43370.2339646f.async.js +++ b/43370.430a7abf.async.js @@ -8791,165 +8791,6 @@ var ProblemsetPage = function ProblemsetPage(_ref) { /***/ }), -/***/ 38854: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ es_dropdown; } -}); - -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js -var dropdown = __webpack_require__(91857); -// 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/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(24764); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js -var es_button = __webpack_require__(3113); -// 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/space/index.js + 3 modules -var space = __webpack_require__(81327); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js -var Compact = __webpack_require__(33234); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(47211); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => { - const { - getPopupContainer: getContextPopupContainer, - getPrefixCls, - direction - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - type = 'default', - danger, - disabled, - loading, - onClick, - htmlType, - children, - className, - menu, - arrow, - autoFocus, - overlay, - trigger, - align, - open, - onOpenChange, - placement, - getPopupContainer, - href, - icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null), - title, - buttonsRender = buttons => buttons, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - } = props, - restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); - const prefixCls = getPrefixCls('dropdown', customizePrefixCls); - const buttonPrefixCls = `${prefixCls}-button`; - const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); - const dropdownProps = { - menu, - arrow, - autoFocus, - align, - disabled, - trigger: disabled ? [] : trigger, - onOpenChange, - getPopupContainer: getPopupContainer || getContextPopupContainer, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - }; - const { - compactSize, - compactItemClassnames - } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); - const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); - if ('overlay' in props) { - dropdownProps.overlay = overlay; - } - if ('open' in props) { - dropdownProps.open = open; - } - if ('placement' in props) { - dropdownProps.placement = placement; - } else { - dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; - } - const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - disabled: disabled, - loading: loading, - onClick: onClick, - htmlType: htmlType, - href: href, - title: title - }, children); - const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - icon: icon - }); - const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({ - className: classes, - size: compactSize, - block: true - }, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); -}; -DropdownButton.__ANT_BUTTON = true; -/* harmony default export */ var dropdown_button = (DropdownButton); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js -"use client"; - - - -const Dropdown = dropdown/* default */.Z; -Dropdown.Button = dropdown_button; -/* harmony default export */ var es_dropdown = (Dropdown); - -/***/ }), - /***/ 73631: /*!********************************************************!*\ !*** ./src/assets/images/problemset/folder-closed.png ***! diff --git a/44585.ab35a8b1.async.js b/44585.f74f3ace.async.js similarity index 98% rename from 44585.ab35a8b1.async.js rename to 44585.f74f3ace.async.js index 3ee9692233..03ea3ec8ab 100644 --- a/44585.ab35a8b1.async.js +++ b/44585.f74f3ace.async.js @@ -2177,20 +2177,21 @@ var RegularInput = function RegularInput(_ref2) { /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 8591); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 12563); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78673); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 95237); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 43604); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 6848); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 92832); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 88897); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 8591); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 12563); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 78673); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 95237); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43604); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 6848); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 92832); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 88897); /* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./index.less?modules */ 11037); /* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MdEditorInForm */ 6204); /* harmony import */ var _components_markdown_editor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/markdown-editor */ 92042); -/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ant-design/icons */ 385); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ 37712); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ant-design/icons */ 385); +/* harmony import */ var _MultiUpload__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../MultiUpload */ 86618); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 37712); @@ -2206,6 +2207,7 @@ var _excluded = ["value", "onChange"], + var AnswerTextFormItem = function AnswerTextFormItem(_ref) { var value = _ref.value, onChange = _ref.onChange, @@ -2213,7 +2215,7 @@ var AnswerTextFormItem = function AnswerTextFormItem(_ref) { var handleChange = function handleChange(v) { onChange([v]); }; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, props), {}, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_components_markdown_editor__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, props), {}, { defaultValue: value === null || value === void 0 ? void 0 : value[0], onChange: handleChange })); @@ -2228,7 +2230,7 @@ var test = function test(str) { // return false // } if (str === '|') { - antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP.warning("关键词不能只输入一个“|”字符!"); + antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .ZP.warning("关键词不能只输入一个“|”字符!"); return false; } return true; @@ -2237,7 +2239,7 @@ var KeywordTag = function KeywordTag(_ref2) { var _ref2$value = _ref2.value, value = _ref2$value === void 0 ? [] : _ref2$value, onClose = _ref2.onClose; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, { closable: true, onClose: onClose, className: _index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.keywordTag, @@ -2258,13 +2260,13 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { _useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2), keywordsInput = _useState4[0], setKeywordsInput = _useState4[1]; - var useKeywordsValue = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.useWatch('use_keywords', form); - var questionScore = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.useWatch('question_score', form); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("div", { + var useKeywordsValue = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.useWatch('use_keywords', form); + var questionScore = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.useWatch('question_score', form); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.wrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.questionTitleEditorWrap, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u9898\u5E72", name: "name", labelCol: { @@ -2273,46 +2275,62 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { rules: [{ required: true }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__/* .MdEditorInForm */ .h, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__/* .MdEditorInForm */ .h, { scrollId: "name", watch: true, height: 140, placeholder: questionTitlePlaceholder }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u4E0A\u4F20\u6587\u4EF6", + labelCol: { + span: 24 + }, + name: "attachment_ids", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_MultiUpload__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, { + number: 1, + tipStyle: { + fontSize: '12px', + marginLeft: '10px' + } + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u53C2\u8003\u7B54\u6848", name: "answer_texts", labelCol: { span: 24 }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(AnswerTextFormItem, { + style: { + marginTop: 20 + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(AnswerTextFormItem, { watch: true, height: 140, placeholder: '请编辑参考答案(非必填)' }) - }), showKeywords && !isMustKeyWords && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, { + }), showKeywords && !isMustKeyWords && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { hidden: true, name: "use_keywords", valuePropName: "checked", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { defaultChecked: true }) - }), showKeywords && isMustKeyWords && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + }), showKeywords && isMustKeyWords && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { align: "middle", className: "mb30", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: "use_keywords", valuePropName: "checked", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, {}) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {}) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { className: "ml10", children: "\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { placement: "right", title: "\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { style: { color: '#3061D0', marginLeft: 6, @@ -2321,7 +2339,7 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { }) }) })] - }), (useKeywordsValue || !isMustKeyWords) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.List, { + }), (useKeywordsValue || !isMustKeyWords) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.List, { name: "keywords", rules: [{ validator: function validator(rule, values) { @@ -2343,21 +2361,21 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { children: function children(fields, _ref4) { var add = _ref4.add, remove = _ref4.remove; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.Fragment, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.title, " mb10"), - children: !isMustKeyWords ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("span", { + children: !isMustKeyWords ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", { style: { color: "#9096A3" }, children: "\u5224\u5206\u5173\u952E\u8BCD" }) : "关键词" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { align: "middle", className: "font14 mb30", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { flex: 1, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, { value: keywordsInput, onChange: function onChange(e) { setKeywordsInput(e.target.value); @@ -2380,7 +2398,7 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { for (_iterator.s(); !(_step = _iterator.n()).done;) { var word = _step.value; if (existKeywords.includes(word)) { - antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP.error('为避免判分错误,请勿设置相同的关键词'); + antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .ZP.error('为避免判分错误,请勿设置相同的关键词'); return; } } @@ -2400,7 +2418,7 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.inputBorder, placeholder: "\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00" }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { flex: '148px', style: { textAlign: 'right', @@ -2412,31 +2430,31 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { var key = _ref5.key, name = _ref5.name, restField = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3___default()(_ref5, _excluded2); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { className: "mb20", style: { marginRight: 148 }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { flex: 1, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { align: "middle", justify: "space-between", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, restField), {}, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, restField), {}, { name: [name, "keyword"], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(KeywordTag, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(KeywordTag, { onClose: function onClose() { return remove(name); } }) - })), isMustKeyWords && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, restField), {}, { + })), isMustKeyWords && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, restField), {}, { name: [name, "score"], label: "\u5206\u503C", rules: [{ required: true }], className: _index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.blankInputNumberWrapper, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z.blankInput, min: 0.1, max: 100, @@ -2453,17 +2471,17 @@ var SubjectiveQuestionEditor = function SubjectiveQuestionEditor(_ref3) { })] }); } - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("div", { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { onClick: function onClick() { return setEditAnalysis(true); }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: "analysis", label: "\u9898\u76EE\u89E3\u6790", labelCol: { span: 24 }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__/* .RegularInput */ .x, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__/* .RegularInput */ .x, { placeholder: "\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09", isEdit: editAnalysis }) diff --git a/45178.fc338c06.async.js b/45178.7935208d.async.js similarity index 99% rename from 45178.fc338c06.async.js rename to 45178.7935208d.async.js index 291687657b..a166d4a367 100644 --- a/45178.fc338c06.async.js +++ b/45178.7935208d.async.js @@ -1046,7 +1046,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/46456.ae71a757.async.js b/46456.364edc7a.async.js similarity index 99% rename from 46456.ae71a757.async.js rename to 46456.364edc7a.async.js index e9338336a0..11dc3a4de2 100644 --- a/46456.ae71a757.async.js +++ b/46456.364edc7a.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[46456,52720,28331,45504,94144,61104,37495,77034,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[46456,28331,52720,94144,61104,37495,77034,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/47037.cea3069a.async.js b/47037.d07b71be.async.js similarity index 99% rename from 47037.cea3069a.async.js rename to 47037.d07b71be.async.js index a233e42215..8e303f00d4 100644 --- a/47037.cea3069a.async.js +++ b/47037.d07b71be.async.js @@ -1433,7 +1433,7 @@ const operationUnit = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/48507.8b49ec1b.async.js b/48507.c4258fdd.async.js similarity index 99% rename from 48507.8b49ec1b.async.js rename to 48507.c4258fdd.async.js index ddea97f521..efdac83775 100644 --- a/48507.8b49ec1b.async.js +++ b/48507.c4258fdd.async.js @@ -1046,7 +1046,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/48630.fd848e47.async.js b/48630.3a743752.async.js similarity index 99% rename from 48630.fd848e47.async.js rename to 48630.3a743752.async.js index 89cab1a551..149894b6fd 100644 --- a/48630.fd848e47.async.js +++ b/48630.3a743752.async.js @@ -1245,7 +1245,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/49090.c18f468e.async.js b/49090.5518dd2d.async.js similarity index 99% rename from 49090.c18f468e.async.js rename to 49090.5518dd2d.async.js index 7517ca8d52..2be278c855 100644 --- a/49090.c18f468e.async.js +++ b/49090.5518dd2d.async.js @@ -1245,7 +1245,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/4938.316f801a.async.js b/4938.21621951.async.js similarity index 99% rename from 4938.316f801a.async.js rename to 4938.21621951.async.js index b9a3d58243..f4e6068ced 100644 --- a/4938.316f801a.async.js +++ b/4938.21621951.async.js @@ -1564,7 +1564,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/50870.00ed8190.async.js b/50870.4d3cf249.async.js similarity index 99% rename from 50870.00ed8190.async.js rename to 50870.4d3cf249.async.js index 71140bd4b0..ca3c49ea58 100644 --- a/50870.00ed8190.async.js +++ b/50870.4d3cf249.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[50870,52720,45504,20067,94144,61104,37495,77034,81326,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[50870,52720,20067,94144,61104,37495,77034,81326,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/52011.1c407734.async.js b/52011.c7f77da6.async.js similarity index 99% rename from 52011.1c407734.async.js rename to 52011.c7f77da6.async.js index 36a326da17..e7c690b161 100644 --- a/52011.1c407734.async.js +++ b/52011.c7f77da6.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[52011,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[52011,52720],{ /***/ 56679: /*!***********************************************************************************************************!*\ diff --git a/52720.b9537ade.async.js b/52720.10b1085e.async.js similarity index 99% rename from 52720.b9537ade.async.js rename to 52720.10b1085e.async.js index 6603f34091..676ff14d6d 100644 --- a/52720.b9537ade.async.js +++ b/52720.10b1085e.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[52720],{ /***/ 66104: /*!**************************************************************************!*\ diff --git a/55449.30716d99.async.js b/55449.1e187d4f.async.js similarity index 99% rename from 55449.30716d99.async.js rename to 55449.1e187d4f.async.js index 8993e8a1e8..176ad4be30 100644 --- a/55449.30716d99.async.js +++ b/55449.1e187d4f.async.js @@ -1709,7 +1709,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/56022.8ac18d78.async.js b/56022.7a855d7c.async.js similarity index 99% rename from 56022.8ac18d78.async.js rename to 56022.7a855d7c.async.js index 3d19707a4f..61e5e02e65 100644 --- a/56022.8ac18d78.async.js +++ b/56022.7a855d7c.async.js @@ -2447,7 +2447,7 @@ es_tree_Tree.TreeNode = es/* TreeNode */.O; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/53123.edb180be.async.js b/58676.d0a79662.async.js similarity index 96% rename from 53123.edb180be.async.js rename to 58676.d0a79662.async.js index 8966b06afd..3776f7f3c1 100644 --- a/53123.edb180be.async.js +++ b/58676.d0a79662.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[53123,77679,31222,52720,97986,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[58676,77679,23401,97986,52720],{ /***/ 56679: /*!***********************************************************************************************************!*\ @@ -184,6 +184,52 @@ if (false) {} /***/ }), +/***/ 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__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_InboxOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// 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 + })); +}; + +/**![inbox](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4NS4yIDQ0Ni4zbC0uMi0uOC0xMTIuMi0yODUuMWMtNS0xNi4xLTE5LjktMjcuMi0zNi44LTI3LjJIMjgxLjJjLTE3IDAtMzIuMSAxMS4zLTM2LjkgMjcuNkwxMzkuNCA0NDNsLS4zLjctLjIuOGMtMS4zIDQuOS0xLjcgOS45LTEgMTQuOC0uMSAxLjYtLjIgMy4yLS4yIDQuOFY4MzBhNjAuOSA2MC45IDAgMDA2MC44IDYwLjhoNjI3LjJjMzMuNSAwIDYwLjgtMjcuMyA2MC45LTYwLjhWNDY0LjFjMC0xLjMgMC0yLjYtLjEtMy43LjQtNC45IDAtOS42LTEuMy0xNC4xem0tMjk1LjgtNDNsLS4zIDE1LjdjLS44IDQ0LjktMzEuOCA3NS4xLTc3LjEgNzUuMS0yMi4xIDAtNDEuMS03LjEtNTQuOC0yMC42UzQzNiA0NDEuMiA0MzUuNiA0MTlsLS4zLTE1LjdIMjI5LjVMMzA5IDIxMGgzOTkuMmw4MS43IDE5My4zSDU4OS40em0tMzc1IDc2LjhoMTU3LjNjMjQuMyA1Ny4xIDc2IDkwLjggMTQwLjQgOTAuOCAzMy43IDAgNjUtOS40IDkwLjMtMjcuMiAyMi4yLTE1LjYgMzkuNS0zNy40IDUwLjctNjMuNmgxNTYuNVY4MTRIMjE0LjRWNDgwLjF6IiAvPjwvc3ZnPg==) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(InboxOutlined_InboxOutlined); +if (false) {} +/* harmony default export */ var icons_InboxOutlined = (RefIcon); + +/***/ }), + /***/ 72245: /*!*************************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/MinusCircleOutlined.js + 1 modules ***! @@ -2347,7 +2393,7 @@ Tag.CheckableTag = tag_CheckableTag; "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/58678.c209d4a6.async.js b/58678.d4021643.async.js similarity index 99% rename from 58678.c209d4a6.async.js rename to 58678.d4021643.async.js index 2d8a56c3c2..1b41bbed2d 100644 --- a/58678.c209d4a6.async.js +++ b/58678.d4021643.async.js @@ -8,7 +8,7 @@ "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/58881.e7100dde.async.js b/58881.c4533c96.async.js similarity index 99% rename from 58881.e7100dde.async.js rename to 58881.c4533c96.async.js index 12d244fc72..42bbf1625c 100644 --- a/58881.e7100dde.async.js +++ b/58881.c4533c96.async.js @@ -689,7 +689,7 @@ if (false) {} "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/59204.62b2ea28.async.js b/59204.10c04b94.async.js similarity index 99% rename from 59204.62b2ea28.async.js rename to 59204.10c04b94.async.js index 96c1bf3060..5457cb60a7 100644 --- a/59204.62b2ea28.async.js +++ b/59204.10c04b94.async.js @@ -26781,7 +26781,7 @@ const initMoveMotion = (token, motionName) => { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/59734.15d618ff.async.js b/59734.10911a0d.async.js similarity index 99% rename from 59734.15d618ff.async.js rename to 59734.10911a0d.async.js index c53dc0497b..98c89e4f27 100644 --- a/59734.15d618ff.async.js +++ b/59734.10911a0d.async.js @@ -1277,7 +1277,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/62122.2f53d3e9.async.js b/62122.27e11ef2.async.js similarity index 99% rename from 62122.2f53d3e9.async.js rename to 62122.27e11ef2.async.js index 04e2570069..f4bb8470c8 100644 --- a/62122.2f53d3e9.async.js +++ b/62122.27e11ef2.async.js @@ -1853,7 +1853,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/62205.e1e7293b.async.js b/62205.44acb62e.async.js similarity index 99% rename from 62205.e1e7293b.async.js rename to 62205.44acb62e.async.js index d864f379f6..eca92ce464 100644 --- a/62205.e1e7293b.async.js +++ b/62205.44acb62e.async.js @@ -808,7 +808,7 @@ const genWireframeStyle = token => { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/63398.9dd0215b.async.js b/63398.07c87dad.async.js similarity index 99% rename from 63398.9dd0215b.async.js rename to 63398.07c87dad.async.js index a2d83d5820..68e97e55e8 100644 --- a/63398.9dd0215b.async.js +++ b/63398.07c87dad.async.js @@ -1551,7 +1551,7 @@ es_tree_Tree.TreeNode = es/* TreeNode */.O; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/65582.0c49b20d.async.js b/65582.dd736dbe.async.js similarity index 99% rename from 65582.0c49b20d.async.js rename to 65582.dd736dbe.async.js index 979651d23b..9566f512b9 100644 --- a/65582.0c49b20d.async.js +++ b/65582.dd736dbe.async.js @@ -779,7 +779,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/67091.3fb99724.async.js b/67091.4cb76968.async.js similarity index 99% rename from 67091.3fb99724.async.js rename to 67091.4cb76968.async.js index c93aee9acb..91b3659649 100644 --- a/67091.3fb99724.async.js +++ b/67091.4cb76968.async.js @@ -1181,7 +1181,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/68394.9c2215ee.async.js b/68394.fdf95618.async.js similarity index 99% rename from 68394.9c2215ee.async.js rename to 68394.fdf95618.async.js index dda0a13a04..e7e5e71464 100644 --- a/68394.9c2215ee.async.js +++ b/68394.fdf95618.async.js @@ -551,7 +551,7 @@ if (false) {} "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/45504.03adc8a8.async.js b/68998.2274774a.async.js similarity index 81% rename from 45504.03adc8a8.async.js rename to 68998.2274774a.async.js index fc54dc4a13..cd61f845a1 100644 --- a/45504.03adc8a8.async.js +++ b/68998.2274774a.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[45504,52720],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[68998,52720],{ /***/ 66104: /*!**************************************************************************!*\ @@ -736,6 +736,165 @@ const Divider = props => { if (false) {} /* harmony default export */ var divider = (Divider); +/***/ }), + +/***/ 38854: +/*!************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js +var dropdown = __webpack_require__(91857); +// 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/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(24764); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// 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/space/index.js + 3 modules +var space = __webpack_require__(81327); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js +var Compact = __webpack_require__(33234); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(47211); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js +"use client"; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + /***/ }) }]); \ No newline at end of file diff --git a/69552.5faec27a.async.js b/69552.4f3ccadd.async.js similarity index 99% rename from 69552.5faec27a.async.js rename to 69552.4f3ccadd.async.js index 78088224bb..63d41f7103 100644 --- a/69552.5faec27a.async.js +++ b/69552.4f3ccadd.async.js @@ -186,7 +186,7 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/71409.0fe7bf6d.async.js b/71409.a888fb52.async.js similarity index 98% rename from 71409.0fe7bf6d.async.js rename to 71409.a888fb52.async.js index f416d50046..6353ede10e 100644 --- a/71409.0fe7bf6d.async.js +++ b/71409.a888fb52.async.js @@ -91,6 +91,51 @@ if (false) {} /***/ }), +/***/ 94041: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PaperClipOutlined.js + 1 modules ***! + \***********************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_PaperClipOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// 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/PaperClipOutlined.js +// This icon file is generated automatically. +var PaperClipOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" } }] }, "name": "paper-clip", "theme": "outlined" }; +/* harmony default export */ var asn_PaperClipOutlined = (PaperClipOutlined); + +// 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/PaperClipOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PaperClipOutlined_PaperClipOutlined = function PaperClipOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PaperClipOutlined + })); +}; + +/**![paper-clip](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc3OS4zIDE5Ni42Yy05NC4yLTk0LjItMjQ3LjYtOTQuMi0zNDEuNyAwbC0yNjEgMjYwLjhjLTEuNyAxLjctMi42IDQtMi42IDYuNHMuOSA0LjcgMi42IDYuNGwzNi45IDM2LjlhOSA5IDAgMDAxMi43IDBsMjYxLTI2MC44YzMyLjQtMzIuNCA3NS41LTUwLjIgMTIxLjMtNTAuMnM4OC45IDE3LjggMTIxLjIgNTAuMmMzMi40IDMyLjQgNTAuMiA3NS41IDUwLjIgMTIxLjIgMCA0NS44LTE3LjggODguOC01MC4yIDEyMS4ybC0yNjYgMjY1LjktNDMuMSA0My4xYy00MC4zIDQwLjMtMTA1LjggNDAuMy0xNDYuMSAwLTE5LjUtMTkuNS0zMC4yLTQ1LjQtMzAuMi03M3MxMC43LTUzLjUgMzAuMi03M2wyNjMuOS0yNjMuOGM2LjctNi42IDE1LjUtMTAuMyAyNC45LTEwLjNoLjFjOS40IDAgMTguMSAzLjcgMjQuNyAxMC4zIDYuNyA2LjcgMTAuMyAxNS41IDEwLjMgMjQuOSAwIDkuMy0zLjcgMTguMS0xMC4zIDI0LjdMMzcyLjQgNjUzYy0xLjcgMS43LTIuNiA0LTIuNiA2LjRzLjkgNC43IDIuNiA2LjRsMzYuOSAzNi45YTkgOSAwIDAwMTIuNyAwbDIxNS42LTIxNS42YzE5LjktMTkuOSAzMC44LTQ2LjMgMzAuOC03NC40cy0xMS01NC42LTMwLjgtNzQuNGMtNDEuMS00MS4xLTEwNy45LTQxLTE0OSAwTDQ2MyAzNjQgMjI0LjggNjAyLjFBMTcyLjIyIDE3Mi4yMiAwIDAwMTc0IDcyNC44YzAgNDYuMyAxOC4xIDg5LjggNTAuOCAxMjIuNSAzMy45IDMzLjggNzguMyA1MC43IDEyMi43IDUwLjcgNDQuNCAwIDg4LjgtMTYuOSAxMjIuNi01MC43bDMwOS4yLTMwOUM4MjQuOCA0OTIuNyA4NTAgNDMyIDg1MCAzNjcuNWMuMS02NC42LTI1LjEtMTI1LjMtNzAuNy0xNzAuOXoiIC8+PC9zdmc+) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(PaperClipOutlined_PaperClipOutlined); +if (false) {} +/* harmony default export */ var icons_PaperClipOutlined = (RefIcon); + +/***/ }), + /***/ 71409: /*!************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/upload/Dragger.js ***! @@ -98,7 +143,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; var __rest = undefined && undefined.__rest || function (s, e) { @@ -131,9 +176,9 @@ if (false) {} /***/ }), -/***/ 81844: +/***/ 41945: /*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/upload/Upload.js + 22 modules ***! + !*** ./node_modules/_antd@5.9.0@antd/es/upload/Upload.js + 20 modules ***! \************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -842,30 +887,8 @@ if (false) {} /* harmony default export */ var icons_FileTwoTone = (RefIcon); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules var LoadingOutlined = __webpack_require__(78714); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/PaperClipOutlined.js -// This icon file is generated automatically. -var PaperClipOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" } }] }, "name": "paper-clip", "theme": "outlined" }; -/* harmony default export */ var asn_PaperClipOutlined = (PaperClipOutlined); - -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PaperClipOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var PaperClipOutlined_PaperClipOutlined = function PaperClipOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_PaperClipOutlined - })); -}; - -/**![paper-clip](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc3OS4zIDE5Ni42Yy05NC4yLTk0LjItMjQ3LjYtOTQuMi0zNDEuNyAwbC0yNjEgMjYwLjhjLTEuNyAxLjctMi42IDQtMi42IDYuNHMuOSA0LjcgMi42IDYuNGwzNi45IDM2LjlhOSA5IDAgMDAxMi43IDBsMjYxLTI2MC44YzMyLjQtMzIuNCA3NS41LTUwLjIgMTIxLjMtNTAuMnM4OC45IDE3LjggMTIxLjIgNTAuMmMzMi40IDMyLjQgNTAuMiA3NS41IDUwLjIgMTIxLjIgMCA0NS44LTE3LjggODguOC01MC4yIDEyMS4ybC0yNjYgMjY1LjktNDMuMSA0My4xYy00MC4zIDQwLjMtMTA1LjggNDAuMy0xNDYuMSAwLTE5LjUtMTkuNS0zMC4yLTQ1LjQtMzAuMi03M3MxMC43LTUzLjUgMzAuMi03M2wyNjMuOS0yNjMuOGM2LjctNi42IDE1LjUtMTAuMyAyNC45LTEwLjNoLjFjOS40IDAgMTguMSAzLjcgMjQuNyAxMC4zIDYuNyA2LjcgMTAuMyAxNS41IDEwLjMgMjQuOSAwIDkuMy0zLjcgMTguMS0xMC4zIDI0LjdMMzcyLjQgNjUzYy0xLjcgMS43LTIuNiA0LTIuNiA2LjRzLjkgNC43IDIuNiA2LjRsMzYuOSAzNi45YTkgOSAwIDAwMTIuNyAwbDIxNS42LTIxNS42YzE5LjktMTkuOSAzMC44LTQ2LjMgMzAuOC03NC40cy0xMS01NC42LTMwLjgtNzQuNGMtNDEuMS00MS4xLTEwNy45LTQxLTE0OSAwTDQ2MyAzNjQgMjI0LjggNjAyLjFBMTcyLjIyIDE3Mi4yMiAwIDAwMTc0IDcyNC44YzAgNDYuMyAxOC4xIDg5LjggNTAuOCAxMjIuNSAzMy45IDMzLjggNzguMyA1MC43IDEyMi43IDUwLjcgNDQuNCAwIDg4LjgtMTYuOSAxMjIuNi01MC43bDMwOS4yLTMwOUM4MjQuOCA0OTIuNyA4NTAgNDMyIDg1MCAzNjcuNWMuMS02NC42LTI1LjEtMTI1LjMtNzAuNy0xNzAuOXoiIC8+PC9zdmc+) */ -var PaperClipOutlined_RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(PaperClipOutlined_PaperClipOutlined); -if (false) {} -/* harmony default export */ var icons_PaperClipOutlined = (PaperClipOutlined_RefIcon); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PaperClipOutlined.js + 1 modules +var PaperClipOutlined = __webpack_require__(94041); ;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/PictureTwoTone.js // This icon file is generated automatically. var PictureTwoTone = { "icon": function render(primaryColor, secondaryColor) { return { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z", "fill": primaryColor } }, { "tag": "path", "attrs": { "d": "M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M276 368a28 28 0 1056 0 28 28 0 10-56 0z", "fill": secondaryColor } }, { "tag": "path", "attrs": { "d": "M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z", "fill": primaryColor } }] }; }, "name": "picture", "theme": "twotone" }; @@ -1297,7 +1320,7 @@ const InternalUploadList = (props, ref) => { } const isLoading = file.status === 'uploading'; const fileIcon = isImgUrl && isImgUrl(file) ? /*#__PURE__*/_react_17_0_2_react.createElement(icons_PictureTwoTone, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_FileTwoTone, null); - let icon = isLoading ? /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_PaperClipOutlined, null); + let icon = isLoading ? /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(PaperClipOutlined/* default */.Z, null); if (listType === 'picture') { icon = isLoading ? /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null) : fileIcon; } else if (listType === 'picture-card' || listType === 'picture-circle') { diff --git a/71505.c9112763.async.js b/71505.08799542.async.js similarity index 99% rename from 71505.c9112763.async.js rename to 71505.08799542.async.js index 98b351603a..696c5bcaef 100644 --- a/71505.c9112763.async.js +++ b/71505.08799542.async.js @@ -1808,7 +1808,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/71572.aead19d0.async.js b/71572.a3a06e1c.async.js similarity index 99% rename from 71572.aead19d0.async.js rename to 71572.a3a06e1c.async.js index b07fe0bc99..d259024241 100644 --- a/71572.aead19d0.async.js +++ b/71572.a3a06e1c.async.js @@ -855,7 +855,7 @@ CompoundedSpace.Compact = Compact/* default */.ZP; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/71613.76497474.async.js b/71613.a247a52c.async.js similarity index 99% rename from 71613.76497474.async.js rename to 71613.a247a52c.async.js index 818bd63c45..fd7a9d2313 100644 --- a/71613.76497474.async.js +++ b/71613.a247a52c.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[71613,52720,45504,90789,94144,61104,37495,77034,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[71613,52720,90789,94144,61104,37495,77034,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/71622.213e9b69.async.js b/71622.aa51a434.async.js similarity index 99% rename from 71622.213e9b69.async.js rename to 71622.aa51a434.async.js index 1951b1c7c7..3579a33d34 100644 --- a/71622.213e9b69.async.js +++ b/71622.aa51a434.async.js @@ -1808,7 +1808,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/71773.146bf884.async.js b/71773.92dfed6c.async.js similarity index 99% rename from 71773.146bf884.async.js rename to 71773.92dfed6c.async.js index 8b6def4d63..a26de7e176 100644 --- a/71773.146bf884.async.js +++ b/71773.92dfed6c.async.js @@ -1297,7 +1297,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/72261.c04198ac.async.js b/72261.a1333f8d.async.js similarity index 99% rename from 72261.c04198ac.async.js rename to 72261.a1333f8d.async.js index 8977214e06..b1b3314d1b 100644 --- a/72261.c04198ac.async.js +++ b/72261.a1333f8d.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[72261,52720,45504,18950,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[72261,52720,18950,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ @@ -1489,7 +1489,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/74877.418783f6.async.js b/74877.9378325a.async.js similarity index 99% rename from 74877.418783f6.async.js rename to 74877.9378325a.async.js index 69e3fd4800..e13843289d 100644 --- a/74877.418783f6.async.js +++ b/74877.9378325a.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[74877,52720,45504,15377,22970,72261,18950,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[74877,52720,15377,22970,72261,18950,49090,32166,3145,28479,48630,24290,94144,61104,37495,77034,81326,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ @@ -2007,7 +2007,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/75765.528e2503.async.js b/75765.d6d53a54.async.js similarity index 99% rename from 75765.528e2503.async.js rename to 75765.d6d53a54.async.js index 86cb4dbd91..54891c2b4a 100644 --- a/75765.528e2503.async.js +++ b/75765.d6d53a54.async.js @@ -1853,7 +1853,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/77679.0c8ae744.async.js b/77679.6aa622e0.async.js similarity index 99% rename from 77679.0c8ae744.async.js rename to 77679.6aa622e0.async.js index 09af92ee7a..b129edbb38 100644 --- a/77679.0c8ae744.async.js +++ b/77679.6aa622e0.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[77679,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[77679,52720],{ /***/ 26330: /*!********************************************************************************************************************!*\ diff --git a/81326.c1fdc99f.async.js b/81326.19339c60.async.js similarity index 99% rename from 81326.c1fdc99f.async.js rename to 81326.19339c60.async.js index 57470653c7..e4b2973931 100644 --- a/81326.c1fdc99f.async.js +++ b/81326.19339c60.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[81326,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[81326,52720],{ /***/ 56762: /*!************************************************************************!*\ diff --git a/82861.35ec1604.async.js b/82861.21da1ab4.async.js similarity index 95% rename from 82861.35ec1604.async.js rename to 82861.21da1ab4.async.js index 02466d05eb..ac959d03f4 100644 --- a/82861.35ec1604.async.js +++ b/82861.21da1ab4.async.js @@ -1629,6 +1629,72 @@ var handleCheckModal = /*#__PURE__*/function () { }; }(); +/***/ }), + +/***/ 69266: +/*!********************************************!*\ + !*** ./src/assets/images/paper/jinshi.svg ***! + \********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony export ReactComponent */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgJinshi = function SvgJinshi(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 14, + height: 14, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 18"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("circle", { + fill: "#FCB041", + cx: 7, + cy: 7, + r: 7 + }), /* @__PURE__ */React.createElement("path", { + d: "M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z", + fill: "#FFF", + fillRule: "nonzero" + }))); +}; + +/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"); + /***/ }) }]); \ No newline at end of file diff --git a/8610.dd860414.async.js b/8610.44838be4.async.js similarity index 99% rename from 8610.dd860414.async.js rename to 8610.44838be4.async.js index 9d10fcf532..ccf6a0b1b9 100644 --- a/8610.dd860414.async.js +++ b/8610.44838be4.async.js @@ -734,7 +734,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/87424.54b2ec41.async.js b/87424.6ff99b29.async.js similarity index 99% rename from 87424.54b2ec41.async.js rename to 87424.6ff99b29.async.js index dc1e4dd95a..b0a3a988c3 100644 --- a/87424.54b2ec41.async.js +++ b/87424.6ff99b29.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[87424,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[87424,52720],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/90303.faa39a1e.async.js b/90303.bded333d.async.js similarity index 99% rename from 90303.faa39a1e.async.js rename to 90303.bded333d.async.js index a03d0b1dcd..653b71bde9 100644 --- a/90303.faa39a1e.async.js +++ b/90303.bded333d.async.js @@ -1853,7 +1853,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/90789.f5088662.async.js b/90789.7f9b9f3c.async.js similarity index 99% rename from 90789.f5088662.async.js rename to 90789.7f9b9f3c.async.js index 07c75cfc5a..db22eef883 100644 --- a/90789.f5088662.async.js +++ b/90789.7f9b9f3c.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[90789,52720,45504,71613,94144,61104,37495,77034,40115],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[90789,52720,71613,94144,61104,37495,77034,40115],{ /***/ 21646: /*!**************************************************************************************************************!*\ diff --git a/95314.e462ca10.async.js b/95314.77df91ef.async.js similarity index 99% rename from 95314.e462ca10.async.js rename to 95314.77df91ef.async.js index 47cab4e9ff..976706d4b3 100644 --- a/95314.e462ca10.async.js +++ b/95314.77df91ef.async.js @@ -789,7 +789,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/96923.fbe252c7.async.js b/96923.422d6d13.async.js similarity index 99% rename from 96923.fbe252c7.async.js rename to 96923.422d6d13.async.js index 1aaf2b76b1..77b85b101f 100644 --- a/96923.fbe252c7.async.js +++ b/96923.422d6d13.async.js @@ -702,7 +702,7 @@ const genWireframeStyle = token => { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/index.html b/index.html index 7eea67b6a2..85894e425d 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/layouts__virtualDetail__index.f85bc234.async.js b/layouts__virtualDetail__index.273b70d1.async.js similarity index 99% rename from layouts__virtualDetail__index.f85bc234.async.js rename to layouts__virtualDetail__index.273b70d1.async.js index 395b2771fa..6c7caf7491 100644 --- a/layouts__virtualDetail__index.f85bc234.async.js +++ b/layouts__virtualDetail__index.273b70d1.async.js @@ -1430,7 +1430,7 @@ Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__Attachment__index.d6dc6688.async.js b/p__Classrooms__Lists__Attachment__index.c733d0be.async.js similarity index 99% rename from p__Classrooms__Lists__Attachment__index.d6dc6688.async.js rename to p__Classrooms__Lists__Attachment__index.c733d0be.async.js index 733def8e0e..efbb42f7f9 100644 --- a/p__Classrooms__Lists__Attachment__index.d6dc6688.async.js +++ b/p__Classrooms__Lists__Attachment__index.c733d0be.async.js @@ -4314,7 +4314,7 @@ Tag.CheckableTag = tag_CheckableTag; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__CommonHomework__Comment__index.4276b798.async.js b/p__Classrooms__Lists__CommonHomework__Comment__index.eec14307.async.js similarity index 99% rename from p__Classrooms__Lists__CommonHomework__Comment__index.4276b798.async.js rename to p__Classrooms__Lists__CommonHomework__Comment__index.eec14307.async.js index 1c3f1404cd..315e8830eb 100644 --- a/p__Classrooms__Lists__CommonHomework__Comment__index.4276b798.async.js +++ b/p__Classrooms__Lists__CommonHomework__Comment__index.eec14307.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[12303,52720,45504,4176],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12303,52720,4176],{ /***/ 56679: /*!***********************************************************************************************************!*\ diff --git a/p__Classrooms__Lists__CourseGroup__List__index.62d16289.async.js b/p__Classrooms__Lists__CourseGroup__List__index.f2b21614.async.js similarity index 99% rename from p__Classrooms__Lists__CourseGroup__List__index.62d16289.async.js rename to p__Classrooms__Lists__CourseGroup__List__index.f2b21614.async.js index 81115a8912..04d4e99c38 100644 --- a/p__Classrooms__Lists__CourseGroup__List__index.62d16289.async.js +++ b/p__Classrooms__Lists__CourseGroup__List__index.f2b21614.async.js @@ -2717,7 +2717,7 @@ Tag.CheckableTag = tag_CheckableTag; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__CourseGroup__NotList__index.3f06d6da.async.js b/p__Classrooms__Lists__CourseGroup__NotList__index.58a92f2e.async.js similarity index 99% rename from p__Classrooms__Lists__CourseGroup__NotList__index.3f06d6da.async.js rename to p__Classrooms__Lists__CourseGroup__NotList__index.58a92f2e.async.js index 4402491e78..1e83dcd992 100644 --- a/p__Classrooms__Lists__CourseGroup__NotList__index.3f06d6da.async.js +++ b/p__Classrooms__Lists__CourseGroup__NotList__index.58a92f2e.async.js @@ -1352,7 +1352,7 @@ var TabMenu = function TabMenu(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__Exercise__Add__index.162f7623.async.js b/p__Classrooms__Lists__Exercise__Add__index.25cf4b31.async.js similarity index 93% rename from p__Classrooms__Lists__Exercise__Add__index.162f7623.async.js rename to p__Classrooms__Lists__Exercise__Add__index.25cf4b31.async.js index aa8f101f40..46794a6310 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.162f7623.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.25cf4b31.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[292,39547,34893,41165],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[292,2805,34893,86618,41165],{ /***/ 37318: /*!*********************************!*\ @@ -123,6 +123,476 @@ var DigitalLabel = function DigitalLabel(_ref) { /***/ }), +/***/ 86618: +/*!**********************************************************!*\ + !*** ./src/components/MultiUpload/index.tsx + 3 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + z: function() { return /* binding */ coverToFileList; }, + Z: function() { return /* binding */ MultiUpload; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// 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/upload/index.js +var upload = __webpack_require__(60028); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var es_message = __webpack_require__(8591); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var modal = __webpack_require__(43418); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(69423); +// EXTERNAL MODULE: ./src/pages/MoopCases/FormPanel/service.ts +var service = __webpack_require__(64602); +// EXTERNAL MODULE: ./src/assets/images/uploadImg.svg +var images_uploadImg = __webpack_require__(43929); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/components/SingleUpload/index.tsx + + + + + + + + + + + +var uploadNameSizeSeperator = '  '; +function bytesToSize(bytes) { + var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; + if (bytes == 0) return '0 Byte'; + var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10); + return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; +} +/* harmony default export */ var SingleUpload = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? [] : _ref$value, + action = _ref.action, + _onChange = _ref.onChange, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 150 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '文件上传' : _ref$title, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? null : _ref$accept, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? undefined : _ref$tip; + var uploadProps = { + multiple: false, + fileList: value, + accept: accept, + withCredentials: true, + beforeUpload: function beforeUpload(file) { + var fileSize = file.size / 1024 / 1024; + if (!(fileSize < maxSize)) { + message.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20")); + return Promise.reject(); + } + return true; + }, + action: "".concat(ENV.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + var fileList = _toConsumableArray(info.fileList); + fileList = fileList.map(function (file) { + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return _objectSpread({}, file); + }); + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + message.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + _onChange([]); + return; + } + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) { + var fileSize, id, rs; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + fileSize = file.size / 1024 / 1024; + if (!(file.status === 'uploading')) { + _context.next = 3; + break; + } + return _context.abrupt("return", true); + case 3: + if (fileSize < maxSize) { + _context.next = 7; + break; + } + return _context.abrupt("return", true); + case 7: + id = file.response ? file.response.id : file.uid; + if (!id) { + _context.next = 15; + break; + } + _context.next = 11; + return removeAttachment(file.response ? file.response.id : file.id); + case 11: + rs = _context.sent; + return _context.abrupt("return", rs); + case 15: + return _context.abrupt("return", true); + case 16: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/_jsx("div", { + className: "single-upload ".concat(className ? className : ''), + children: /*#__PURE__*/_jsxs(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, { + children: [/*#__PURE__*/_jsxs(Button + // type="primary" + , { + title: value.length > 0 ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + disabled: value.length > 0 + // ghost + , + className: "upload_button", + children: [/*#__PURE__*/_jsx("img", { + className: "aBtn_img", + src: uploadImg + }), title] + }), /*#__PURE__*/_jsx("span", { + onClick: onCancel, + className: "upload_text", + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "M)") + })] + })) + }); +}); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules +var InboxOutlined = __webpack_require__(34023); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/assets/images/disupload.png +var disupload_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAT1JREFUSEvtljFOxDAQRT1GSKk4CFwgNGOLhmIrhIAGiQ5atuUAtGwLHRINIERFQYPsacgF4CBUkRAzyKsUq8DGToKonNbz/xtPfkYBNeBxzp0FmbX2vK8c+gqI6JSZL4JOaz1FxFkfj15A7/2xiFwuAgDgxBhzlQpNBhLRoYhci4huARkAjhDxJgWaBCSiXWa+VUqtLDH90lofIOJDDBoFEtFERB5FZLXLDAA+AWAHEZ8667oOvfdbIhIMiljnzXkNABNjzMuy+ugN20IiWmfmtyalG4j4ntjMvCwDf0wrjzQWoP8PjXNOmq72rbX3sQ6HvEPn3J5S6m7+WWTgX2yaPNLOoOaU/jaeUaGpqmqtruvtYFwUxXNZlh+xZTEKGDPvc8Pwr/k6xDBBs6mUmrZXW4JufMniLh3vluDwDTtJLJ7BMSj1AAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.tsx + + + + + + + + + + + + + + + + + +var Dragger = upload/* default */.Z.Dragger; +function coverToFileList(data) { + var rs = []; + if (data && data.length > 0) { + rs = data.map(function (item) { + return { + uid: item.id, + id: item.id, + name: item.title + uploadNameSizeSeperator + item.filesize, + url: item.url, + filesize: item.filesize, + status: 'done', + response: { + id: item.id + } + }; + }); + } + return rs; +} +/* harmony default export */ var MultiUpload = (function (_ref) { + var value = _ref.value, + _onChange = _ref.onChange, + action = _ref.action, + data = _ref.data, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 5 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '上传附件' : _ref$title, + _ref$showRemoveModal = _ref.showRemoveModal, + showRemoveModal = _ref$showRemoveModal === void 0 ? false : _ref$showRemoveModal, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? '' : _ref$accept, + additionalText = _ref.additionalText, + isDragger = _ref.isDragger, + _ref$number = _ref.number, + number = _ref$number === void 0 ? 1000 : _ref$number, + _ref$aloneClear = _ref.aloneClear, + aloneClear = _ref$aloneClear === void 0 ? false : _ref$aloneClear, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? '' : _ref$tip, + _ref$tipStyle = _ref.tipStyle, + tipStyle = _ref$tipStyle === void 0 ? {} : _ref$tipStyle; + var _useState = (0,_react_17_0_2_react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + disabled = _useState2[0], + setDisabled = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(value || []), + _useState4 = slicedToArray_default()(_useState3, 2), + fileList = _useState4[0], + setFileList = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(1), + _useState6 = slicedToArray_default()(_useState5, 2), + nums = _useState6[0], + setnums = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (value) { + if (nums === 1) { + setFileList(toConsumableArray_default()(value)); + } + setnums(2); + if (number === (value === null || value === void 0 ? void 0 : value.length)) { + setDisabled(true); + } + } + }, [value]); + var clearLastFile = function clearLastFile() { + setTimeout(function () { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + }, 500); + }; + var uploadProps = { + multiple: true, + disabled: false, + accept: accept, + withCredentials: true, + fileList: fileList, + // fileList: fileList?.length ? fileList : value, + beforeUpload: function beforeUpload(file, fileArr) { + var fileSize = file.size / 1024 / 1024 / 1024; + if (fileList.concat(fileArr).length > number) { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + es_message/* default */.ZP.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(number, "\u4E2A\u6587\u4EF6")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + if (!(fileSize < maxSize)) { + es_message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "GB).")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + return true; + }, + data: data, + action: action || "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + if (info.file.status === "removed") { + fileList = info.fileList; + } else { + fileList = (0,lodash.uniqBy)([].concat(toConsumableArray_default()(info.fileList), toConsumableArray_default()(fileList)), 'uid'); + } + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + es_message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + return; + } + if (fileList.length >= number) setDisabled(true);else setDisabled(false); + setFileList(toConsumableArray_default()(fileList)); + fileList = fileList.map(function (file) { + var _file$response; + if (file !== null && file !== void 0 && (_file$response = file.response) !== null && _file$response !== void 0 && _file$response.id) { + var _file$response2; + file.url = "/api/attachments/".concat(file === null || file === void 0 || (_file$response2 = file.response) === null || _file$response2 === void 0 ? void 0 : _file$response2.id); + } + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return objectSpread2_default()({}, file); + }); + console.log('info:', info, fileList); + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(file) { + var remove; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + remove = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var id, rs; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + id = file.response ? file.response.id : file.id; + if (!id) { + _context.next = 8; + break; + } + _context.next = 4; + return (0,service/* removeAttachment */.JZ)(file.response ? file.response.id : file.uid); + case 4: + rs = _context.sent; + return _context.abrupt("return", Promise.resolve(rs)); + case 8: + return _context.abrupt("return", true); + case 9: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function remove() { + return _ref2.apply(this, arguments); + }; + }(); + if (!showRemoveModal) { + _context3.next = 5; + break; + } + return _context3.abrupt("return", new Promise(function (resolve, reject) { + modal/* default */.Z.confirm({ + centered: true, + width: 530, + okText: '确定', + cancelText: '取消', + title: '提示', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "tc font16", + children: "\u662F\u5426\u786E\u8BA4\u5220\u9664?" + }), + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return remove(); + case 2: + res = _context2.sent; + es_message/* default */.ZP.success('删除成功'); + resolve(true); + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function onCancel() { + return resolve(false); + } + }); + })); + case 5: + _context3.next = 7; + return remove(); + case 7: + return _context3.abrupt("return", _context3.sent); + case 8: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "multi-upload ".concat(className ? className : ''), + children: [isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-drag-icon", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(InboxOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "ant-upload-text", + children: ["\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A", maxSize, "MB)", ' '] + }), additionalText] + })), !isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + disabled: disabled, + className: disabled ? 'disable_upload_button' : 'upload_button', + title: disabled ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: "aBtn_img", + src: !disabled ? images_uploadImg/* default */.Z : disupload_namespaceObject + }), title] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: onCancel, + className: "upload_text", + style: objectSpread2_default()({}, tipStyle), + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "GB)") + })] + }))] + }); +}); + +/***/ }), + /***/ 41165: /*!***************************************************************!*\ !*** ./src/components/ReuseShixunModal/index.tsx + 1 modules ***! @@ -4942,13 +5412,17 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { /* harmony default export */ var ShixunEditor = (ShixunEditor_DragQuestions); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/Saveitem.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___Vhtb1","flex_space_between":"flex_space_between___k2ZrJ","flex_box_vertical_center":"flex_box_vertical_center___tn6Db","flex_box_center_end":"flex_box_center_end___k3eNX","flex_box_column":"flex_box_column___rsWbi","flex-col":"flex-col___MfhxN","flex-row":"flex-row___stOVW","justify-start":"justify-start___DaYLB","justify-center":"justify-center___ZxLhv","justify-end":"justify-end___wdBQg","justify-evenly":"justify-evenly___zzTLC","justify-around":"justify-around___vioji","justify-between":"justify-between___OoRZf","align-start":"align-start___XgM_n","align-center":"align-center___aHseL","align-end":"align-end___udJzu","warp":"warp___UlRJc","normalWrap":"normalWrap___Qm4zY","indexTag":"indexTag___rjJ1u","redio":"redio___VW3yr","redioitem":"redioitem___jAPlJ","redioitemyes":"redioitemyes___VoiQ1","title":"title___Dt2dl","titleyes":"titleyes___Fjh3a","yestag":"yestag___CXrPv","checkbox":"checkbox___CgMU_","checkboxitem":"checkboxitem___PpJ9n","checkboxitemyes":"checkboxitemyes___pCfvZ","bottom":"bottom___BqrmJ","bottomitem":"bottomitem___Qk2rG","left":"left___l29lW","right":"right___nB1XE","completion":"completion___y1m7L","content":"content___AmQy4","items":"items___lIt8e","simple":"simple___zxJLH","shixunWrapper":"shixunWrapper___kAYdL","shixun":"shixun___UE6xS","score":"score___Px5Fq","qtitle":"qtitle___wG7Nn","program":"program___gzKdL","combination":"combination___R0ysn","qtype":"qtype___U0Suy"}); +/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___Vhtb1","flex_space_between":"flex_space_between___k2ZrJ","flex_box_vertical_center":"flex_box_vertical_center___tn6Db","flex_box_center_end":"flex_box_center_end___k3eNX","flex_box_column":"flex_box_column___rsWbi","flex-col":"flex-col___MfhxN","flex-row":"flex-row___stOVW","justify-start":"justify-start___DaYLB","justify-center":"justify-center___ZxLhv","justify-end":"justify-end___wdBQg","justify-evenly":"justify-evenly___zzTLC","justify-around":"justify-around___vioji","justify-between":"justify-between___OoRZf","align-start":"align-start___XgM_n","align-center":"align-center___aHseL","align-end":"align-end___udJzu","warp":"warp___UlRJc","normalWrap":"normalWrap___Qm4zY","indexTag":"indexTag___rjJ1u","redio":"redio___VW3yr","redioitem":"redioitem___jAPlJ","redioitemyes":"redioitemyes___VoiQ1","title":"title___Dt2dl","titleyes":"titleyes___Fjh3a","yestag":"yestag___CXrPv","checkbox":"checkbox___CgMU_","checkboxitem":"checkboxitem___PpJ9n","checkboxitemyes":"checkboxitemyes___pCfvZ","bottom":"bottom___BqrmJ","bottomitem":"bottomitem___Qk2rG","left":"left___l29lW","right":"right___nB1XE","completion":"completion___y1m7L","content":"content___AmQy4","items":"items___lIt8e","simple":"simple___zxJLH","shixunWrapper":"shixunWrapper___kAYdL","shixun":"shixun___UE6xS","score":"score___Px5Fq","qtitle":"qtitle___wG7Nn","program":"program___gzKdL","combination":"combination___R0ysn","qtype":"qtype___U0Suy","fileCss":"fileCss___Lje_V","file_icon":"file_icon___itb3n","filet_title":"filet_title___Uo5Cg","file_size":"file_size___V5XAW"}); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js var row = __webpack_require__(95237); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js var col = __webpack_require__(43604); // EXTERNAL MODULE: ./node_modules/_js-base64@2.6.4@js-base64/base64.js var base64 = __webpack_require__(24334); +// EXTERNAL MODULE: ./src/components/PreviewAll/index.tsx + 3 modules +var PreviewAll = __webpack_require__(97672); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PaperClipOutlined.js + 1 modules +var PaperClipOutlined = __webpack_require__(94041); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/SaveItem.tsx @@ -4957,11 +5431,60 @@ var base64 = __webpack_require__(24334); + + + + + + //数组对应值 var tagDotData = ['A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.', 'J.', 'K.', 'L.', 'M.', 'N.', 'O.', 'P.', 'Q.', 'R.', 'S.', 'T.', 'U.', 'V.', 'W.', 'X.', 'Y.', 'Z.']; var SaveItem_DragQuestions = function DragQuestions(_ref) { - var _qitem$question_choic, _qitem$question_choic2, _qitem$standard_answe, _qitem$standard_answe2, _qitem$shixun, _qitem$sub_exercise_q, _qitem$program_attr, _qitem$tag_discipline, _qitem$tag_discipline2, _qitem$tag_discipline3, _qitem$tag_discipline4; + var _qitem$question_choic, _qitem$question_choic2, _qitem$standard_answe, _qitem$attachments, _qitem$attachments4, _qitem$attachments5, _qitem$standard_answe2, _qitem$shixun, _qitem$sub_exercise_q, _qitem$program_attr, _qitem$tag_discipline, _qitem$tag_discipline2, _qitem$tag_discipline3, _qitem$tag_discipline4; var qitem = _ref.qitem; + var monacoValueRef = (0,_react_17_0_2_react.useRef)(); + var _useState = (0,_react_17_0_2_react.useState)({ + content: "", + type: "" + }), + _useState2 = slicedToArray_default()(_useState, 2), + previewData = _useState2[0], + setPreviewData = _useState2[1]; + var preview = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!((item === null || item === void 0 ? void 0 : item.file_type) === "txt")) { + _context.next = 5; + break; + } + _context.next = 3; + return (0,fetch/* default */.ZP)(item === null || item === void 0 ? void 0 : item.url, { + method: "get", + headers: { + "Content-Type": "application/xml" + } + }); + case 3: + res = _context.sent; + monacoValueRef.current = res; + case 5: + setPreviewData({ + type: item === null || item === void 0 ? void 0 : item.file_type, + content: item === null || item === void 0 ? void 0 : item.url + }); + case 6: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function preview(_x) { + return _ref2.apply(this, arguments); + }; + }(); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.warp, children: [((qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 0 || (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 2) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { @@ -5033,7 +5556,26 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { }) }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 4 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.simple, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: [(qitem === null || qitem === void 0 || (_qitem$attachments = qitem.attachments) === null || _qitem$attachments === void 0 ? void 0 : _qitem$attachments.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Saveitemmodules.fileCss, + onClick: function onClick() { + var _qitem$attachments2; + if (qitem !== null && qitem !== void 0 && (_qitem$attachments2 = qitem.attachments) !== null && _qitem$attachments2 !== void 0 && (_qitem$attachments2 = _qitem$attachments2[0]) !== null && _qitem$attachments2 !== void 0 && _qitem$attachments2.url) { + var _qitem$attachments3; + preview(qitem === null || qitem === void 0 || (_qitem$attachments3 = qitem.attachments) === null || _qitem$attachments3 === void 0 ? void 0 : _qitem$attachments3[0]); + } + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.file_icon, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(PaperClipOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.filet_title, + children: qitem === null || qitem === void 0 || (_qitem$attachments4 = qitem.attachments) === null || _qitem$attachments4 === void 0 || (_qitem$attachments4 = _qitem$attachments4[0]) === null || _qitem$attachments4 === void 0 ? void 0 : _qitem$attachments4.title + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.file_size, + children: qitem === null || qitem === void 0 || (_qitem$attachments5 = qitem.attachments) === null || _qitem$attachments5 === void 0 || (_qitem$attachments5 = _qitem$attachments5[0]) === null || _qitem$attachments5 === void 0 ? void 0 : _qitem$attachments5.filesize + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Saveitemmodules.title, children: "\u53C2\u8003\u7B54\u6848" }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { @@ -5144,6 +5686,30 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { }) })] })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, { + close: true, + data: previewData === null || previewData === void 0 ? void 0 : previewData.content, + type: previewData === null || previewData === void 0 ? void 0 : previewData.type, + hasMask: true, + monacoEditor: { + value: monacoValueRef.current, + language: "txt", + onChange: function onChange() {}, + options: { + readOnly: true, + fontSize: 14, + minimap: { + enabled: false + } + } + }, + onImgDimensions: null, + onClose: function onClose() { + setPreviewData({ + content: "", + type: "" + }); + } })] }); }; @@ -5152,6 +5718,8 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { var UploadQuestions = __webpack_require__(41351); // EXTERNAL MODULE: ./src/components/QuestionEditor/SubjectiveQuestionEditor.tsx var SubjectiveQuestionEditor = __webpack_require__(25218); +// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 3 modules +var MultiUpload = __webpack_require__(86618); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/Questions/SubjectiveQuestionEditor.tsx @@ -5164,6 +5732,7 @@ var SubjectiveQuestionEditor = __webpack_require__(25218); + var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { var _exerciseitem$exercis; var qitem = _ref.qitem, @@ -5181,7 +5750,8 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { name: qitem.question_title, answer_texts: qitem.standard_answer, - repeat_answer: !qitem.repeat_answer + repeat_answer: !qitem.repeat_answer, + attachment_ids: (0,MultiUpload/* coverToFileList */.z)(qitem === null || qitem === void 0 ? void 0 : qitem.attachments) })); }, [qitem]); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -5189,6 +5759,11 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { form: form, colon: false, onFinish: function onFinish(values) { + var _values$attachment_id; + values.attachment_ids = values === null || values === void 0 || (_values$attachment_id = values.attachment_ids) === null || _values$attachment_id === void 0 ? void 0 : _values$attachment_id.map(function (item) { + var _item$response; + return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id; + }); seveeditor(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, qitem), values), {}, { standard_answers: values === null || values === void 0 ? void 0 : values.answer_texts, question_title: values === null || values === void 0 ? void 0 : values.name @@ -9399,6 +9974,64 @@ var UploadQuestions = function UploadQuestions(_ref) { /***/ }), +/***/ 64602: +/*!**************************************************!*\ + !*** ./src/pages/MoopCases/FormPanel/service.ts ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ $J: function() { return /* binding */ getMoopCase; }, +/* harmony export */ JZ: function() { return /* binding */ removeAttachment; }, +/* harmony export */ bN: function() { return /* binding */ updateMoopCase; }, +/* harmony export */ jP: function() { return /* binding */ addMoopCase; }, +/* harmony export */ rO: function() { return /* binding */ getLibraryTags; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 82710); + + + +function getMoopCase(id) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)("libraries/".concat(id, ".json")); +} +function getLibraryTags() { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)('library_tags.json'); +} +function removeAttachment(_x) { + return _removeAttachment.apply(this, arguments); +} +function _removeAttachment() { + _removeAttachment = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(id) { + var response; + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .del */ .IV)("attachments/".concat(id, ".json")); + case 2: + response = _context.sent; + return _context.abrupt("return", response.status === 0); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _removeAttachment.apply(this, arguments); +} +function addMoopCase(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .post */ .v_)("libraries.json", params); +} +function updateMoopCase(id, params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .put */ .gz)("libraries/".concat(id, ".json"), params); +} + +/***/ }), + /***/ 20211: /*!****************************************************!*\ !*** ./src/pages/Paperlibrary/Add/TitleEditor.tsx ***! @@ -9679,6 +10312,64 @@ var SvgShengxu = function SvgShengxu(props) { /***/ }), +/***/ 43929: +/*!*****************************************!*\ + !*** ./src/assets/images/uploadImg.svg ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony export ReactComponent */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgUploadImg = function SvgUploadImg(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 14, + height: 14, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u5F62\u72B6"), /* @__PURE__ */React.createElement("path", { + d: "M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z", + fill: "#3061D0", + fillRule: "nonzero" + })); +}; + +/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4="); + +/***/ }), + /***/ 43167: /*!*******************************************************!*\ !*** ./src/pages/Paperlibrary/Add/index.less?modules ***! @@ -10566,25 +11257,6 @@ if (false) {} /* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); -/***/ }), - -/***/ 60028: -/*!**********************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); -"use client"; - - - -const Upload = _Upload__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z; -Upload.Dragger = _Dragger__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -Upload.LIST_IGNORE = _Upload__WEBPACK_IMPORTED_MODULE_0__/* .LIST_IGNORE */ .E; -/* harmony default export */ __webpack_exports__.Z = (Upload); - /***/ }) }]); \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Add__index.68e07629.chunk.css b/p__Classrooms__Lists__Exercise__Add__index.2fc9d36f.chunk.css similarity index 96% rename from p__Classrooms__Lists__Exercise__Add__index.68e07629.chunk.css rename to p__Classrooms__Lists__Exercise__Add__index.2fc9d36f.chunk.css index 76525e9431..1204ca162b 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.68e07629.chunk.css +++ b/p__Classrooms__Lists__Exercise__Add__index.2fc9d36f.chunk.css @@ -2429,6 +2429,7 @@ button:active { .warp___UlRJc .simple___zxJLH { display: flex; align-items: flex-start; + flex-wrap: wrap; margin-top: 22px; } .warp___UlRJc .simple___zxJLH .title___Dt2dl { @@ -2501,6 +2502,25 @@ button:active { font-weight: 400; font-size: 16px; } +.warp___UlRJc .fileCss___Lje_V { + cursor: pointer; + width: 100%; + margin-bottom: 20px; + display: flex; + align-items: center; + font-size: 14px; +} +.warp___UlRJc .fileCss___Lje_V .file_icon___itb3n { + color: #999; + margin-right: 5px; +} +.warp___UlRJc .fileCss___Lje_V .filet_title___Uo5Cg { + color: #3061D0; +} +.warp___UlRJc .fileCss___Lje_V .file_size___V5XAW { + color: #999; + margin-left: 20px; +} /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.less?modules ***! @@ -2577,6 +2597,82 @@ button:active { color: #3061D0; } +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.disable_upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; +} +.disable_upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Add/EditPotin/components/AddQuestionsModal/index.less?modules ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Detail__index.a24b39bb.chunk.css b/p__Classrooms__Lists__Exercise__Detail__index.42c33303.chunk.css similarity index 98% rename from p__Classrooms__Lists__Exercise__Detail__index.a24b39bb.chunk.css rename to p__Classrooms__Lists__Exercise__Detail__index.42c33303.chunk.css index d51dc2ccab..49b7ed7369 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.a24b39bb.chunk.css +++ b/p__Classrooms__Lists__Exercise__Detail__index.42c33303.chunk.css @@ -2527,6 +2527,25 @@ button:active { cursor: pointer; margin-left: auto; } +.fileCss___jTDia { + cursor: pointer; + width: 100%; + margin: 10px 0; + display: flex; + align-items: center; + font-size: 14px; +} +.fileCss___jTDia .file_icon___qOK1n { + color: #999; + margin-right: 5px; +} +.fileCss___jTDia .filet_title___TPHwL { + color: #3061D0; +} +.fileCss___jTDia .file_size___krGSw { + color: #999; + margin-left: 20px; +} /*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Knowledge/index.less?modules ***! @@ -6021,6 +6040,82 @@ div[class~='ant-collapse-borderless'] { display: none; } +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.disable_upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; +} +.disable_upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MyProblem/TestCasePanel/index.less ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Detail__index.7ff9a863.async.js b/p__Classrooms__Lists__Exercise__Detail__index.fef25e5d.async.js similarity index 85% rename from p__Classrooms__Lists__Exercise__Detail__index.7ff9a863.async.js rename to p__Classrooms__Lists__Exercise__Detail__index.fef25e5d.async.js index d6e95d128b..2603a9de75 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.7ff9a863.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.fef25e5d.async.js @@ -1,5 +1,112 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[54164,34893,81001],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[54164,34893,81001,86618],{ + +/***/ 94229: +/*!***********************************************!*\ + !*** ./src/components/Editor/NullMDEditor.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ NullMDEditor; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/classCallCheck.js */ 82100); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createClass.js */ 29186); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/assertThisInitialized.js */ 13720); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/inherits.js */ 80619); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createSuper.js */ 47074); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js */ 85573); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _markdown_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markdown-editor */ 92042); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + + + + + + + + + +var NULL_CH = '▁'; +var NullMDEditor = /*#__PURE__*/function (_Component) { + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component); + var _super = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor); + function NullMDEditor() { + var _this; + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) { + var currentLine = cursor.line; + var placeholderCountBefore = 0; + for (var _line = 0; _line < currentLine; _line++) { + placeholderCountBefore += cm.getLine(_line).split(NULL_CH).length - 1; + } + var currentLineStringBeforeCursor = cm.getLine(currentLine).substring(0, cursor.ch); + placeholderCountBefore += currentLineStringBeforeCursor.split(NULL_CH).length - 1; + return placeholderCountBefore; + }); + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) { + var rangeText = cm.getRange(change.from, change.to); + var totalPlaceholderCount = 0; + change.text.forEach(function (item) { + totalPlaceholderCount += item.split(NULL_CH).length - 1; + }); + if (rangeText && rangeText.indexOf(NULL_CH) != -1) { + var placeholderCountInRange = rangeText.split(NULL_CH).length - 1; + var placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from); + console.log("\u5220\u9664".concat(placeholderCountInRange, "\u4E2A\uFF0C \u4E4B\u524D\u6709").concat(placeholderCountBefore, "\u4E2A\uFF0C\u65B0\u589E").concat(totalPlaceholderCount, "\u4E2A")); + if (_this.props.deleteEmptyDisabled) { + // 删除空格不检测 + change.cancel(); + } else { + // const ret = window.confirm( + // `确认要删除第${ + // placeholderCountInRange == 1 + // ? placeholderCountBefore + 1 + // : `${placeholderCountBefore + 1}-${placeholderCountBefore + + // placeholderCountInRange}` + // }个空吗?`, + // ); + // if (ret) { + _this.props.onPlaceholderChange && _this.props.onPlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount); + // } else { + // change.cancel(); + // } + } + } else if (totalPlaceholderCount) { + var _placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from); + console.log("\u65B0\u589E".concat(totalPlaceholderCount, "\u4E2A\uFF0C\u4E4B\u524D\u6709").concat(_placeholderCountBefore, "\u4E2A")); + _this.props.onPlaceholderChange && _this.props.onPlaceholderChange(_placeholderCountBefore, 0, totalPlaceholderCount); + } + }); + return _this; + } + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{ + key: "render", + value: function render() { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, { + onCMBeforeChange: this.onCMBeforeChange + })); + } + }]); + return NullMDEditor; +}(react__WEBPACK_IMPORTED_MODULE_7__.Component); + + +/***/ }), /***/ 37318: /*!*********************************!*\ @@ -87,6 +194,268 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.API_SE /***/ }), +/***/ 72428: +/*!**********************************************!*\ + !*** ./src/components/AsyncButton/index.tsx ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ AsyncButton; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 3113); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + + + + +var _excluded = ["children"]; + + + +var AsyncButton = function AsyncButton(_ref) { + var children = _ref.children, + props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded); + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), + btnLoading = _useState2[0], + setBtnLoading = _useState2[1]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, { + loading: btnLoading, + onClick: ( /*#__PURE__*/function () { + var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(e) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + setBtnLoading(true); + _context.next = 4; + return props.onClick(e); + case 4: + setBtnLoading(false); + _context.next = 11; + break; + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error(_context.t0); + setBtnLoading(false); + case 11: + case "end": + return _context.stop(); + } + }, _callee, null, [[0, 7]]); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }()), + children: children + })); +}; + +/***/ }), + +/***/ 2516: +/*!*********************************************************************!*\ + !*** ./src/components/Editor/NullChildEditor/index.jsx + 1 modules ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ Editor_NullChildEditor; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/classCallCheck.js +var classCallCheck = __webpack_require__(82100); +var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createClass.js +var createClass = __webpack_require__(29186); +var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/inherits.js +var inherits = __webpack_require__(80619); +var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createSuper.js +var createSuper = __webpack_require__(47074); +var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper); +// 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/input/index.js + 3 modules +var input = __webpack_require__(92832); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tag/index.js + 5 modules +var es_tag = __webpack_require__(12563); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var message = __webpack_require__(8591); +;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var NullChildEditormodules = ({"flex":"flex___eLcnP","flex1":"flex1___yUTT7","color666":"color666___TiUhG","error":"error___gTTtv","deleteIcon":"deleteIcon___mnZW1","addIcon":"addIcon___JC5NS"}); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PlusOutlined.js + 1 modules +var PlusOutlined = __webpack_require__(66119); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.jsx + + + + + + + + + + + +var TextArea = input/* default */.Z.TextArea; +var NullChildEditor = /*#__PURE__*/function (_Component) { + inherits_default()(NullChildEditor, _Component); + var _super = createSuper_default()(NullChildEditor); + function NullChildEditor(props) { + var _this; + classCallCheck_default()(this, NullChildEditor); + _this = _super.call(this, props); + _this.state = { + inputVisible: false, + EditInputIndex: -1 + }; + return _this; + } + // componentDidMount() { + // // console.log(`${this.props.index}----`,this.props,e); + // if (this.props.answers[0].length <= 0) { + // this.setState({ + // EditInputIndex: 0, + // }); + // } + // } + createClass_default()(NullChildEditor, [{ + key: "render", + value: function render() { + var _this2 = this; + var _this$props = this.props, + index = _this$props.index, + onAnswerChange = _this$props.onAnswerChange, + addChildAnswer = _this$props.addChildAnswer, + exerciseIsPublish = _this$props.exerciseIsPublish, + answers = _this$props.answers, + activeOptionErrorIndex = _this$props.activeOptionErrorIndex, + _this$props$flex = _this$props.flex, + flex = _this$props$flex === void 0 ? '0 0 1000px' : _this$props$flex; + console.log('----', answers); + var _this$state = this.state, + inputVisible = _this$state.inputVisible, + EditInputIndex = _this$state.EditInputIndex; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: NullChildEditormodules.flex, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(NullChildEditormodules.color666, " mb5 mt6"), + style: { + flex: '0 0 90px' + }, + children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + border: '1px solid #f6f6f6', + flex: 1, + padding: 10 + }, + children: [answers === null || answers === void 0 ? void 0 : answers.map(function (tag, itemIndex) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: EditInputIndex !== itemIndex ? (tag === null || tag === void 0 ? void 0 : tag.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { + className: "edit-tag", + closable: true, + onClose: function onClose(e) { + e.preventDefault(); + if ((answers === null || answers === void 0 ? void 0 : answers.length) === 1 && itemIndex === 0) { + _this2.props.deleteChildAnswermain(index, itemIndex); + } else { + _this2.props.deleteChildAnswer(index, itemIndex); + } + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onDoubleClick: function onDoubleClick(e) { + _this2.setState({ + EditInputIndex: itemIndex + }); + e.preventDefault(); + }, + children: tag + }) + }, tag) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + defaultValue: tag, + style: { + width: 78, + marginRight: 8, + height: 24, + verticalAlign: 'top' + }, + onBlur: function onBlur(e) { + if (e.target.value.replaceAll(' ', '').length <= 0) { + message/* default */.ZP.info('内容不能为纯空格'); + return; + } + onAnswerChange(index, itemIndex, e.target.value); + _this2.setState({ + EditInputIndex: -1, + inputVisible: false + }); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + defaultValue: tag, + style: { + width: 78, + marginRight: 8, + height: 24, + verticalAlign: 'top' + }, + onBlur: function onBlur(e) { + if (e.target.value.replaceAll(' ', '').length <= 0) { + message/* default */.ZP.info('内容不能为纯空格'); + return; + } + onAnswerChange(index, itemIndex, e.target.value); + _this2.setState({ + EditInputIndex: -1, + inputVisible: false + }); + } + }) + }); + }), !inputVisible && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_tag/* default */.Z, { + className: "site-tag-plus", + onClick: function onClick() { + addChildAnswer(index); + + // console.log(this.props.index); + _this2.setState({ + inputVisible: true + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), " \u65B0\u589E\u7B54\u6848"] + })] + })] + }); + } + }]); + return NullChildEditor; +}(_react_17_0_2_react.Component); +/* harmony default export */ var Editor_NullChildEditor = (NullChildEditor); + +/***/ }), + /***/ 39515: /*!**********************************************************!*\ !*** ./src/components/FixedButton/index.tsx + 1 modules ***! @@ -429,28 +798,53 @@ var Knowledge = function Knowledge(_ref) { /***/ }), -/***/ 18890: -/*!*************************************************************!*\ - !*** ./src/components/markdown-editor/code-block/index.tsx ***! - \*************************************************************/ +/***/ 86618: +/*!**********************************************************!*\ + !*** ./src/components/MultiUpload/index.tsx + 3 modules ***! + \**********************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ h: function() { return /* binding */ MyCodeMirror; } -/* harmony export */ }); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 57809); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 3113); -/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror */ 89780); -/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 79906); -/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 44383); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + z: function() { return /* binding */ coverToFileList; }, + Z: function() { return /* binding */ MultiUpload; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// 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/upload/index.js +var upload = __webpack_require__(60028); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var es_message = __webpack_require__(8591); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var modal = __webpack_require__(43418); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(69423); +// EXTERNAL MODULE: ./src/pages/MoopCases/FormPanel/service.ts +var service = __webpack_require__(64602); +// EXTERNAL MODULE: ./src/assets/images/uploadImg.svg +var images_uploadImg = __webpack_require__(43929); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/components/SingleUpload/index.tsx @@ -460,25 +854,499 @@ var Knowledge = function Knowledge(_ref) { -var Option = antd__WEBPACK_IMPORTED_MODULE_7__["default"].Option; -//https://github.com/codemirror/CodeMirror/issues/4838 -var formItemLayout = { - labelCol: { - span: 4 - }, - wrapperCol: { - span: 20 + +var uploadNameSizeSeperator = '  '; +function bytesToSize(bytes) { + var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; + if (bytes == 0) return '0 Byte'; + var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10); + return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; +} +/* harmony default export */ var SingleUpload = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? [] : _ref$value, + action = _ref.action, + _onChange = _ref.onChange, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 150 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '文件上传' : _ref$title, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? null : _ref$accept, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? undefined : _ref$tip; + var uploadProps = { + multiple: false, + fileList: value, + accept: accept, + withCredentials: true, + beforeUpload: function beforeUpload(file) { + var fileSize = file.size / 1024 / 1024; + if (!(fileSize < maxSize)) { + message.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20")); + return Promise.reject(); + } + return true; + }, + action: "".concat(ENV.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + var fileList = _toConsumableArray(info.fileList); + fileList = fileList.map(function (file) { + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return _objectSpread({}, file); + }); + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + message.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + _onChange([]); + return; + } + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) { + var fileSize, id, rs; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + fileSize = file.size / 1024 / 1024; + if (!(file.status === 'uploading')) { + _context.next = 3; + break; + } + return _context.abrupt("return", true); + case 3: + if (fileSize < maxSize) { + _context.next = 7; + break; + } + return _context.abrupt("return", true); + case 7: + id = file.response ? file.response.id : file.uid; + if (!id) { + _context.next = 15; + break; + } + _context.next = 11; + return removeAttachment(file.response ? file.response.id : file.id); + case 11: + rs = _context.sent; + return _context.abrupt("return", rs); + case 15: + return _context.abrupt("return", true); + case 16: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); } -}; -var LanguageDesc = { - asp: ['ASP', 'vbscript'], - actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], - bash: ['Bash/Bat', 'shell'], - css: ['CSS', 'css'], - c: ['C', 'clike'], - cpp: ['C++', 'clike'], - csharp: ['C#', 'clike'], + return /*#__PURE__*/_jsx("div", { + className: "single-upload ".concat(className ? className : ''), + children: /*#__PURE__*/_jsxs(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, { + children: [/*#__PURE__*/_jsxs(Button + // type="primary" + , { + title: value.length > 0 ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + disabled: value.length > 0 + // ghost + , + className: "upload_button", + children: [/*#__PURE__*/_jsx("img", { + className: "aBtn_img", + src: uploadImg + }), title] + }), /*#__PURE__*/_jsx("span", { + onClick: onCancel, + className: "upload_text", + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "M)") + })] + })) + }); +}); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules +var InboxOutlined = __webpack_require__(34023); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/assets/images/disupload.png +var disupload_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAT1JREFUSEvtljFOxDAQRT1GSKk4CFwgNGOLhmIrhIAGiQ5atuUAtGwLHRINIERFQYPsacgF4CBUkRAzyKsUq8DGToKonNbz/xtPfkYBNeBxzp0FmbX2vK8c+gqI6JSZL4JOaz1FxFkfj15A7/2xiFwuAgDgxBhzlQpNBhLRoYhci4huARkAjhDxJgWaBCSiXWa+VUqtLDH90lofIOJDDBoFEtFERB5FZLXLDAA+AWAHEZ8667oOvfdbIhIMiljnzXkNABNjzMuy+ugN20IiWmfmtyalG4j4ntjMvCwDf0wrjzQWoP8PjXNOmq72rbX3sQ6HvEPn3J5S6m7+WWTgX2yaPNLOoOaU/jaeUaGpqmqtruvtYFwUxXNZlh+xZTEKGDPvc8Pwr/k6xDBBs6mUmrZXW4JufMniLh3vluDwDTtJLJ7BMSj1AAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.tsx + + + + + + + + + + + + + + + + + +var Dragger = upload/* default */.Z.Dragger; +function coverToFileList(data) { + var rs = []; + if (data && data.length > 0) { + rs = data.map(function (item) { + return { + uid: item.id, + id: item.id, + name: item.title + uploadNameSizeSeperator + item.filesize, + url: item.url, + filesize: item.filesize, + status: 'done', + response: { + id: item.id + } + }; + }); + } + return rs; +} +/* harmony default export */ var MultiUpload = (function (_ref) { + var value = _ref.value, + _onChange = _ref.onChange, + action = _ref.action, + data = _ref.data, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 5 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '上传附件' : _ref$title, + _ref$showRemoveModal = _ref.showRemoveModal, + showRemoveModal = _ref$showRemoveModal === void 0 ? false : _ref$showRemoveModal, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? '' : _ref$accept, + additionalText = _ref.additionalText, + isDragger = _ref.isDragger, + _ref$number = _ref.number, + number = _ref$number === void 0 ? 1000 : _ref$number, + _ref$aloneClear = _ref.aloneClear, + aloneClear = _ref$aloneClear === void 0 ? false : _ref$aloneClear, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? '' : _ref$tip, + _ref$tipStyle = _ref.tipStyle, + tipStyle = _ref$tipStyle === void 0 ? {} : _ref$tipStyle; + var _useState = (0,_react_17_0_2_react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + disabled = _useState2[0], + setDisabled = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(value || []), + _useState4 = slicedToArray_default()(_useState3, 2), + fileList = _useState4[0], + setFileList = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(1), + _useState6 = slicedToArray_default()(_useState5, 2), + nums = _useState6[0], + setnums = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (value) { + if (nums === 1) { + setFileList(toConsumableArray_default()(value)); + } + setnums(2); + if (number === (value === null || value === void 0 ? void 0 : value.length)) { + setDisabled(true); + } + } + }, [value]); + var clearLastFile = function clearLastFile() { + setTimeout(function () { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + }, 500); + }; + var uploadProps = { + multiple: true, + disabled: false, + accept: accept, + withCredentials: true, + fileList: fileList, + // fileList: fileList?.length ? fileList : value, + beforeUpload: function beforeUpload(file, fileArr) { + var fileSize = file.size / 1024 / 1024 / 1024; + if (fileList.concat(fileArr).length > number) { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + es_message/* default */.ZP.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(number, "\u4E2A\u6587\u4EF6")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + if (!(fileSize < maxSize)) { + es_message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "GB).")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + return true; + }, + data: data, + action: action || "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + if (info.file.status === "removed") { + fileList = info.fileList; + } else { + fileList = (0,lodash.uniqBy)([].concat(toConsumableArray_default()(info.fileList), toConsumableArray_default()(fileList)), 'uid'); + } + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + es_message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + return; + } + if (fileList.length >= number) setDisabled(true);else setDisabled(false); + setFileList(toConsumableArray_default()(fileList)); + fileList = fileList.map(function (file) { + var _file$response; + if (file !== null && file !== void 0 && (_file$response = file.response) !== null && _file$response !== void 0 && _file$response.id) { + var _file$response2; + file.url = "/api/attachments/".concat(file === null || file === void 0 || (_file$response2 = file.response) === null || _file$response2 === void 0 ? void 0 : _file$response2.id); + } + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return objectSpread2_default()({}, file); + }); + console.log('info:', info, fileList); + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(file) { + var remove; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + remove = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var id, rs; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + id = file.response ? file.response.id : file.id; + if (!id) { + _context.next = 8; + break; + } + _context.next = 4; + return (0,service/* removeAttachment */.JZ)(file.response ? file.response.id : file.uid); + case 4: + rs = _context.sent; + return _context.abrupt("return", Promise.resolve(rs)); + case 8: + return _context.abrupt("return", true); + case 9: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function remove() { + return _ref2.apply(this, arguments); + }; + }(); + if (!showRemoveModal) { + _context3.next = 5; + break; + } + return _context3.abrupt("return", new Promise(function (resolve, reject) { + modal/* default */.Z.confirm({ + centered: true, + width: 530, + okText: '确定', + cancelText: '取消', + title: '提示', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "tc font16", + children: "\u662F\u5426\u786E\u8BA4\u5220\u9664?" + }), + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return remove(); + case 2: + res = _context2.sent; + es_message/* default */.ZP.success('删除成功'); + resolve(true); + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function onCancel() { + return resolve(false); + } + }); + })); + case 5: + _context3.next = 7; + return remove(); + case 7: + return _context3.abrupt("return", _context3.sent); + case 8: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "multi-upload ".concat(className ? className : ''), + children: [isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-drag-icon", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(InboxOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "ant-upload-text", + children: ["\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A", maxSize, "MB)", ' '] + }), additionalText] + })), !isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + disabled: disabled, + className: disabled ? 'disable_upload_button' : 'upload_button', + title: disabled ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: "aBtn_img", + src: !disabled ? images_uploadImg/* default */.Z : disupload_namespaceObject + }), title] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: onCancel, + className: "upload_text", + style: objectSpread2_default()({}, tipStyle), + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "GB)") + })] + }))] + }); +}); + +/***/ }), + +/***/ 38082: +/*!*************************************************!*\ + !*** ./src/components/QuestionEditor/index.tsx ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Wk: function() { return /* reexport safe */ _SubjectiveQuestionEditor__WEBPACK_IMPORTED_MODULE_3__.W; }, +/* harmony export */ ZZ: function() { return /* reexport safe */ _JudgmentQuestionEditor__WEBPACK_IMPORTED_MODULE_1__.Z; }, +/* harmony export */ rL: function() { return /* reexport safe */ _CombinationQuestionEditor__WEBPACK_IMPORTED_MODULE_4__.r; }, +/* harmony export */ tc: function() { return /* reexport safe */ _BProgramEditor__WEBPACK_IMPORTED_MODULE_5__.t; }, +/* harmony export */ u8: function() { return /* reexport safe */ _CompletionQuestionEditor__WEBPACK_IMPORTED_MODULE_2__.u; }, +/* harmony export */ uh: function() { return /* reexport safe */ _ChoiceQuestionEditor__WEBPACK_IMPORTED_MODULE_0__.u; } +/* harmony export */ }); +/* harmony import */ var _ChoiceQuestionEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChoiceQuestionEditor */ 90691); +/* harmony import */ var _JudgmentQuestionEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./JudgmentQuestionEditor */ 3984); +/* harmony import */ var _CompletionQuestionEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CompletionQuestionEditor */ 25711); +/* harmony import */ var _SubjectiveQuestionEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SubjectiveQuestionEditor */ 25218); +/* harmony import */ var _CombinationQuestionEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CombinationQuestionEditor */ 95); +/* harmony import */ var _BProgramEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BProgramEditor */ 1223); + + + + + + + +/***/ }), + +/***/ 18890: +/*!*************************************************************!*\ + !*** ./src/components/markdown-editor/code-block/index.tsx ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ h: function() { return /* binding */ MyCodeMirror; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 57809); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 3113); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror */ 89780); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 79906); +/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 44383); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + + + + + + + + +var Option = antd__WEBPACK_IMPORTED_MODULE_7__["default"].Option; + +//https://github.com/codemirror/CodeMirror/issues/4838 +var formItemLayout = { + labelCol: { + span: 4 + }, + wrapperCol: { + span: 20 + } +}; +var LanguageDesc = { + asp: ['ASP', 'vbscript'], + actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], + bash: ['Bash/Bat', 'shell'], + css: ['CSS', 'css'], + c: ['C', 'clike'], + cpp: ['C++', 'clike'], + csharp: ['C#', 'clike'], coffeescript: ['CoffeeScript', 'coffeescript'], d: ['D', 'd'], dart: ['Dart', 'dart'], @@ -8583,7 +9451,7 @@ var NullMDEditor = __webpack_require__(94229); var NullChildEditor = __webpack_require__(2516); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/editor.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var editormodules = ({"flex_box_center":"flex_box_center___epJYP","flex_space_between":"flex_space_between___SU6BD","flex_box_vertical_center":"flex_box_vertical_center___Qes2t","flex_box_center_end":"flex_box_center_end___hGppz","flex_box_column":"flex_box_column___uzhhO","flex-col":"flex-col____8hDT","flex-row":"flex-row___eQP7E","justify-start":"justify-start___ghiQF","justify-center":"justify-center___KyA7v","justify-end":"justify-end___pDxyl","justify-evenly":"justify-evenly___iHlC0","justify-around":"justify-around___Q8Uhw","justify-between":"justify-between___ENMZO","align-start":"align-start___HO3yk","align-center":"align-center___CAuji","align-end":"align-end___BoLL2","wrap":"wrap___rEjJ0","modal":"modal___gRDV9","titleWrap":"titleWrap___MK_OO","required":"required___Hja3H","title":"title___vMFKz","colorGray":"colorGray___hNhIL","choiceWrap":"choiceWrap___Xx5du","answer":"answer___cbuNE","activeAnswer":"activeAnswer___LwFG7","deleteIcon":"deleteIcon____HG4s","addIcon":"addIcon___r_Vhy","editorWrap":"editorWrap___OYwur","htmlWrap":"htmlWrap___qXHYn","radio":"radio___urtyZ","color333":"color333___Lah7k","color999":"color999___TmkZt","questionType":"questionType___r_bKw","questionChoices":"questionChoices___LA7VM","action":"action___fTTDM","difficult":"difficult___Mg7lT","fold":"fold___oVjRI","head":"head___fpwmn"}); +/* harmony default export */ var editormodules = ({"flex_box_center":"flex_box_center___epJYP","flex_space_between":"flex_space_between___SU6BD","flex_box_vertical_center":"flex_box_vertical_center___Qes2t","flex_box_center_end":"flex_box_center_end___hGppz","flex_box_column":"flex_box_column___uzhhO","flex-col":"flex-col____8hDT","flex-row":"flex-row___eQP7E","justify-start":"justify-start___ghiQF","justify-center":"justify-center___KyA7v","justify-end":"justify-end___pDxyl","justify-evenly":"justify-evenly___iHlC0","justify-around":"justify-around___Q8Uhw","justify-between":"justify-between___ENMZO","align-start":"align-start___HO3yk","align-center":"align-center___CAuji","align-end":"align-end___BoLL2","wrap":"wrap___rEjJ0","modal":"modal___gRDV9","titleWrap":"titleWrap___MK_OO","required":"required___Hja3H","title":"title___vMFKz","colorGray":"colorGray___hNhIL","choiceWrap":"choiceWrap___Xx5du","answer":"answer___cbuNE","activeAnswer":"activeAnswer___LwFG7","deleteIcon":"deleteIcon____HG4s","addIcon":"addIcon___r_Vhy","editorWrap":"editorWrap___OYwur","htmlWrap":"htmlWrap___qXHYn","radio":"radio___urtyZ","color333":"color333___Lah7k","color999":"color999___TmkZt","questionType":"questionType___r_bKw","questionChoices":"questionChoices___LA7VM","action":"action___fTTDM","difficult":"difficult___Mg7lT","fold":"fold___oVjRI","head":"head___fpwmn","fileCss":"fileCss___jTDia","file_icon":"file_icon___qOK1n","filet_title":"filet_title___TPHwL","file_size":"file_size___krGSw"}); // EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 2 modules var RenderHtml = __webpack_require__(85681); // EXTERNAL MODULE: ./src/components/Knowledge/index.tsx + 1 modules @@ -12381,6 +13249,10 @@ var EditorKeyword = function EditorKeyword(_ref) { }); }; /* harmony default export */ var components_EditorKeyword = (EditorKeyword); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PaperClipOutlined.js + 1 modules +var PaperClipOutlined = __webpack_require__(94041); +// EXTERNAL MODULE: ./src/components/PreviewAll/index.tsx + 3 modules +var PreviewAll = __webpack_require__(97672); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Edit/components/SubjectiveEditor/index.tsx @@ -12401,6 +13273,9 @@ var SubjectiveEditor_excluded = ["problemset", "exercise", "globalSetting", "loa + + + var SubjectiveEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { var problemset = _ref.problemset, @@ -12965,6 +13840,50 @@ var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { }; }(); var showList = function showList() { + var _editData$attachments, _editData$attachments4, _editData$attachments5; + var monacoValueRef = (0,_react_17_0_2_react.useRef)(); + var _useState21 = (0,_react_17_0_2_react.useState)({ + content: "", + type: "" + }), + _useState22 = slicedToArray_default()(_useState21, 2), + previewData = _useState22[0], + setPreviewData = _useState22[1]; + var preview = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(item) { + var res; + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + if (!((item === null || item === void 0 ? void 0 : item.file_type) === "txt")) { + _context7.next = 5; + break; + } + _context7.next = 3; + return (0,fetch/* default */.ZP)(item === null || item === void 0 ? void 0 : item.url, { + method: "get", + headers: { + "Content-Type": "application/xml" + } + }); + case 3: + res = _context7.sent; + monacoValueRef.current = res; + case 5: + setPreviewData({ + type: item === null || item === void 0 ? void 0 : item.file_type, + content: item === null || item === void 0 ? void 0 : item.url + }); + case 6: + case "end": + return _context7.stop(); + } + }, _callee7); + })); + return function preview(_x2) { + return _ref4.apply(this, arguments); + }; + }(); return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: editormodules.questionType, @@ -12998,6 +13917,25 @@ var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { value: editData.question_title }) + }), (editData === null || editData === void 0 || (_editData$attachments = editData.attachments) === null || _editData$attachments === void 0 ? void 0 : _editData$attachments.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.fileCss, + onClick: function onClick() { + var _editData$attachments2; + if (editData !== null && editData !== void 0 && (_editData$attachments2 = editData.attachments) !== null && _editData$attachments2 !== void 0 && (_editData$attachments2 = _editData$attachments2[0]) !== null && _editData$attachments2 !== void 0 && _editData$attachments2.url) { + var _editData$attachments3; + preview(editData === null || editData === void 0 || (_editData$attachments3 = editData.attachments) === null || _editData$attachments3 === void 0 ? void 0 : _editData$attachments3[0]); + } + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.file_icon, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(PaperClipOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.filet_title, + children: editData === null || editData === void 0 || (_editData$attachments4 = editData.attachments) === null || _editData$attachments4 === void 0 || (_editData$attachments4 = _editData$attachments4[0]) === null || _editData$attachments4 === void 0 ? void 0 : _editData$attachments4.title + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.file_size, + children: editData === null || editData === void 0 || (_editData$attachments5 = editData.attachments) === null || _editData$attachments5 === void 0 || (_editData$attachments5 = _editData$attachments5[0]) === null || _editData$attachments5 === void 0 ? void 0 : _editData$attachments5.filesize + })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: editormodules.questionChoices, children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { @@ -13023,6 +13961,30 @@ var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { }) }, index); }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, { + close: true, + data: previewData === null || previewData === void 0 ? void 0 : previewData.content, + type: previewData === null || previewData === void 0 ? void 0 : previewData.type, + hasMask: true, + monacoEditor: { + value: monacoValueRef.current, + language: "txt", + onChange: function onChange() {}, + options: { + readOnly: true, + fontSize: 14, + minimap: { + enabled: false + } + } + }, + onImgDimensions: null, + onClose: function onClose() { + setPreviewData({ + content: "", + type: "" + }); + } })] }); }; @@ -13031,11 +13993,11 @@ var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { children: [!isEdit && showList(), isEdit && showEdit()] }); }; -/* harmony default export */ var components_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref4) { - var problemset = _ref4.problemset, - loading = _ref4.loading, - exercise = _ref4.exercise, - globalSetting = _ref4.globalSetting; +/* harmony default export */ var components_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref5) { + var problemset = _ref5.problemset, + loading = _ref5.loading, + exercise = _ref5.exercise, + globalSetting = _ref5.globalSetting; return { problemset: problemset, globalSetting: globalSetting, @@ -23518,42 +24480,3261 @@ var ExerciseDetail = function ExerciseDetail(_ref) { /***/ }), -/***/ 99023: -/*!*************************************************************************!*\ - !*** ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + 1 modules ***! - \*************************************************************************/ +/***/ 64602: +/*!**************************************************!*\ + !*** ./src/pages/MoopCases/FormPanel/service.ts ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ $J: function() { return /* binding */ getMoopCase; }, +/* harmony export */ JZ: function() { return /* binding */ removeAttachment; }, +/* harmony export */ bN: function() { return /* binding */ updateMoopCase; }, +/* harmony export */ jP: function() { return /* binding */ addMoopCase; }, +/* harmony export */ rO: function() { return /* binding */ getLibraryTags; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 82710); + + + +function getMoopCase(id) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)("libraries/".concat(id, ".json")); +} +function getLibraryTags() { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)('library_tags.json'); +} +function removeAttachment(_x) { + return _removeAttachment.apply(this, arguments); +} +function _removeAttachment() { + _removeAttachment = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(id) { + var response; + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .del */ .IV)("attachments/".concat(id, ".json")); + case 2: + response = _context.sent; + return _context.abrupt("return", response.status === 0); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _removeAttachment.apply(this, arguments); +} +function addMoopCase(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .post */ .v_)("libraries.json", params); +} +function updateMoopCase(id, params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .put */ .gz)("libraries/".concat(id, ".json"), params); +} + +/***/ }), + +/***/ 23980: +/*!************************************************************************************************!*\ + !*** ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules ***! + \************************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { - "default": function() { return /* binding */ PreviewEdit; } + Z: function() { return /* binding */ StepPreview; } }); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js var regeneratorRuntime = __webpack_require__(7557); var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js var asyncToGenerator = __webpack_require__(41498); var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(82242); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js var slicedToArray = __webpack_require__(79800); var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts -var _umi_production_exports = __webpack_require__(88271); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.less?modules +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var PreviewEditmodules = ({"flex_box_center":"flex_box_center___kQBcj","flex_space_between":"flex_space_between___Znlbo","flex_box_vertical_center":"flex_box_vertical_center___CPD50","flex_box_center_end":"flex_box_center_end___jzPvK","flex_box_column":"flex_box_column___cvIBS","flex-col":"flex-col___AJA2a","flex-row":"flex-row___zlJka","justify-start":"justify-start___oXJpO","justify-center":"justify-center___sZ0BD","justify-end":"justify-end___lGnpX","justify-evenly":"justify-evenly___tBrft","justify-around":"justify-around___hg6fu","justify-between":"justify-between___YzcAk","align-start":"align-start____6JZr","align-center":"align-center___vHOmC","align-end":"align-end___CAmDD","wrap":"wrap___lab8O","crumbs":"crumbs___qvTza"}); -// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules -var StepPreview = __webpack_require__(23980); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules +/* harmony default export */ var StepPreviewmodules = ({"flex_box_center":"flex_box_center___bZaL5","flex_space_between":"flex_space_between___oaJSq","flex_box_vertical_center":"flex_box_vertical_center____hsuP","flex_box_center_end":"flex_box_center_end___ZYbPQ","flex_box_column":"flex_box_column___nE_62","flex-col":"flex-col___Iffbp","flex-row":"flex-row___pSGKo","justify-start":"justify-start___QMpka","justify-center":"justify-center___swf8g","justify-end":"justify-end___t7UfK","justify-evenly":"justify-evenly___Cd3ZA","justify-around":"justify-around____jWTG","justify-between":"justify-between___NS9Ro","align-start":"align-start___N1YKF","align-center":"align-center___oeIZ8","align-end":"align-end____7PNh","wrap":"wrap___ulhwR","left":"left___kyWln","title":"title___jsO1D","total":"total___GEhiU","list":"list___u9dBZ","name":"name___Wxggs","b":"b___Y15YO","r":"r___mKQoe","l":"l___uelFD","tag":"tag___Mpkbg","right":"right___mQ3dU","examName":"examName___Na1r8","t":"t___IgCWK","num":"num___CXI8j","topWarp":"topWarp___Kicpu","head":"head___jx3W8","so":"so___qYW7F","btn":"btn___EMJDz","content":"content___sHGsV","titleWrap":"titleWrap___I__GR","single":"single___K5iv9","analysis":"analysis___NoAuR","text":"text___xESW2","modalColumn":"modalColumn___I_tK_","modalRow":"modalRow___lyw_U","sup":"sup___HSz3Z","popover":"popover___kE8aI"}); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(78241); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(6848); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var es_modal = __webpack_require__(43418); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules +var input_number = __webpack_require__(88897); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var message = __webpack_require__(8591); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules +var input = __webpack_require__(92832); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules +var divider = __webpack_require__(28103); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules +var pagination = __webpack_require__(19871); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js +var row = __webpack_require__(95237); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/popover/index.js +var popover = __webpack_require__(60324); +;// CONCATENATED MODULE: ./src/assets/images/paper/zhong.svg +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgZhong = function SvgZhong(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 34, + height: 34, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 6"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("rect", { + fill: "#E4E6FD", + width: 34, + height: 34, + rx: 10 + }), /* @__PURE__ */React.createElement("g", { + fillRule: "nonzero" + }, /* @__PURE__ */React.createElement("path", { + d: "M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z", + fill: "#6678EB" + }), /* @__PURE__ */React.createElement("path", { + d: "M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z", + fill: "#6678EB" + }), /* @__PURE__ */React.createElement("path", { + d: "m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0 .064.011.126.031.184a.551.551 0 0 0 .258.33l3.293 1.9a.557.557 0 0 0 .559-.966Z", + fill: "#FFF" + })))); +}; + +/* harmony default export */ var zhong = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg=="); +// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 2 modules +var RenderHtml = __webpack_require__(85681); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts +var _umi_production_exports = __webpack_require__(88271); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(95972); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(82710); +;// CONCATENATED MODULE: ./src/assets/images/paper/xixi.svg +function xixi_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = xixi_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function xixi_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return xixi_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return xixi_arrayLikeToArray(o, minLen); } +function xixi_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var xixi_defProp = Object.defineProperty; +var xixi_getOwnPropSymbols = Object.getOwnPropertySymbols; +var xixi_hasOwnProp = Object.prototype.hasOwnProperty; +var xixi_propIsEnum = Object.prototype.propertyIsEnumerable; +var xixi_defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? xixi_defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var xixi_spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (xixi_hasOwnProp.call(b, prop)) xixi_defNormalProp(a, prop, b[prop]); + if (xixi_getOwnPropSymbols) { + var _iterator = xixi_createForOfIteratorHelper(xixi_getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (xixi_propIsEnum.call(b, prop)) xixi_defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgXixi = function SvgXixi(props) { + return /* @__PURE__ */React.createElement("svg", xixi_spreadValues({ + width: 34, + height: 34, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 12"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("rect", { + width: 34, + height: 34, + rx: 10, + fill: "#EAF3F4" + }), /* @__PURE__ */React.createElement("path", { + d: "M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z", + fill: "#21C0A6", + fillRule: "nonzero" + }))); +}; + +/* harmony default export */ var xixi = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="); +;// CONCATENATED MODULE: ./src/assets/images/paper/bi.svg +function bi_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = bi_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function bi_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return bi_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return bi_arrayLikeToArray(o, minLen); } +function bi_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var bi_defProp = Object.defineProperty; +var bi_getOwnPropSymbols = Object.getOwnPropertySymbols; +var bi_hasOwnProp = Object.prototype.hasOwnProperty; +var bi_propIsEnum = Object.prototype.propertyIsEnumerable; +var bi_defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? bi_defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var bi_spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (bi_hasOwnProp.call(b, prop)) bi_defNormalProp(a, prop, b[prop]); + if (bi_getOwnPropSymbols) { + var _iterator = bi_createForOfIteratorHelper(bi_getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (bi_propIsEnum.call(b, prop)) bi_defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgBi = function SvgBi(props) { + return /* @__PURE__ */React.createElement("svg", bi_spreadValues({ + width: 34, + height: 34, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u9898\u76EE"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("rect", { + fill: "#E7F3FF", + width: 34, + height: 34, + rx: 10 + }), /* @__PURE__ */React.createElement("g", { + fill: "#4C6FFF", + fillRule: "nonzero" + }, /* @__PURE__ */React.createElement("path", { + d: "m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033-.744h-.001Zm-8.1 8.044a.534.534 0 0 1-.386.162.56.56 0 0 1-.388-.162l-3-2.81c-.226-.194-.226-.517-.033-.743.194-.227.517-.227.743-.033l3 2.811c.259.226.291.55.065.776ZM17 22.92h6.844v1.055H17z" + })))); +}; + +/* harmony default export */ var bi = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg=="); +// EXTERNAL MODULE: ./src/assets/images/paper/jinshi.svg +var jinshi = __webpack_require__(69266); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(39647); +var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules +var es_checkbox = __webpack_require__(24905); +// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules +var markdown_editor = __webpack_require__(92042); +// EXTERNAL MODULE: ./src/components/Editor/NullMDEditor.js +var NullMDEditor = __webpack_require__(94229); +// EXTERNAL MODULE: ./src/components/Editor/NullChildEditor/index.jsx + 1 modules +var NullChildEditor = __webpack_require__(2516); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/editor.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var editormodules = ({"wrap":"wrap___OIoOI","modal":"modal___Z3hfU","titleWrap":"titleWrap___aK3oG","required":"required___NHoO7","title":"title___uxb1R","colorGray":"colorGray___O8YPg","choiceWrap":"choiceWrap___t51sb","answer":"answer___vsBnh","activeAnswer":"activeAnswer___AJN4p","deleteIcon":"deleteIcon___WvOJZ","addIcon":"addIcon___UyeIs","editorWrap":"editorWrap___uqcFU","htmlWrap":"htmlWrap___GcBNL","radio":"radio___e8qQ5","color333":"color333___PLzVK","color999":"color999___v3EY0","fold":"fold___OfvPe","head":"head___EejYX"}); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/CompletionEditor/index.tsx + + + +var _excluded = ["globalSetting", "loading", "dispatch", "isEdit", "editData"]; + + + + + + + + + + +var tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var CompletionEditor = function CompletionEditor(_ref, ref) { + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + isEdit = _ref.isEdit, + editData = _ref.editData, + props = objectWithoutProperties_default()(_ref, _excluded); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + title = _useState2[0], + setTitle = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + analysis = _useState4[0], + setAnalysis = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + answerList = _useState6[0], + setAnswerList = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + activeOptionErrorIndex = _useState8[0], + setActiveOptionErrorIndex = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(), + _useState10 = slicedToArray_default()(_useState9, 2), + checked = _useState10[0], + setChecked = _useState10[1]; + var _useState11 = (0,_react_17_0_2_react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + firstSetAnswerFlag = _useState12[0], + setFirstSetAnswerFlag = _useState12[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setChecked(editData === null || editData === void 0 ? void 0 : editData.is_ordered); + setFirstSetAnswerFlag(true); + }, [editData]); + (0,_react_17_0_2_react.useEffect)(function () { + if (!firstSetAnswerFlag) { + return; + } + var answer = editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item) { + return item.answer_text; + }); + setAnswerList(answer); + setFirstSetAnswerFlag(false); + }, [firstSetAnswerFlag]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + var answerArray = []; + var isEmpty = false; + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + answerList.forEach(function (answers, index) { + answerArray.push({ + position: index + 1, + answer_text: [] + }); + answers.forEach(function (item, itemIndex) { + answerArray[index].answer_text.push(item); + if (!item || !(0,util/* validateLength */.eR)(item, 10000)) { + setActiveOptionErrorIndex("".concat(index, "-").concat(itemIndex)); + message/* default */.ZP.info(!item ? "\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A" : "答案不能超过10000字符"); + isEmpty = true; + } + }); + }); + if (isEmpty) { + return false; + } + if ((answerArray === null || answerArray === void 0 ? void 0 : answerArray.length) > 20) { + message/* default */.ZP.warning('填空题标准答案不能为空/不能超过20个!'); + return false; + } + return { + name: title, + analysis: analysis, + standard_answers: answerArray, + is_ordered: checked + }; + }; + + //清空数值 + var Clear = function Clear() { + setTitle(''); + setAnalysis(''); + setAnswerList([]); + setChecked(false); + }; + var handlePlaceholderChange = function handlePlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount) { + var newStandardAnswers = answerList.slice(); + if (placeholderCountInRange) { + newStandardAnswers.splice(placeholderCountBefore, placeholderCountInRange); + } + if (totalPlaceholderCount) { + for (var i = 0; i < totalPlaceholderCount; i++) { + newStandardAnswers.splice(placeholderCountBefore + i, 0, [""]); + } + } + setAnswerList(newStandardAnswers); + }; + var handleAnswerChange = function handleAnswerChange(index, itemIndex, val) { + setActiveOptionErrorIndex(''); + var newStandardAnswers = answerList.slice(); + newStandardAnswers[index][itemIndex] = val; + setAnswerList(newStandardAnswers); + }; + var handleAddChildAnswer = function handleAddChildAnswer(index) { + var newStandardAnswers = answerList.slice(); + newStandardAnswers[index] = [].concat(toConsumableArray_default()(newStandardAnswers[index]), ['']); + setAnswerList(newStandardAnswers); + }; + var handleDeleteChildAnswer = function handleDeleteChildAnswer(index, childIndex) { + var newStandardAnswers = answerList.slice(); + if (!newStandardAnswers[index][childIndex]) { + newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { + return key !== childIndex; + }); + setAnswerList(newStandardAnswers); + return; + } + es_modal/* default */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '提示', + content: '确认要删除这个参考答案吗?', + className: editormodules.modal, + onOk: function onOk() { + newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { + return key !== childIndex; + }); + setAnswerList(newStandardAnswers); + } + }); + }; + var handleDeleteChildAnswermain = function handleDeleteChildAnswermain(index) { + es_modal/* default */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '提示', + content: '确认要删除这个参考答案吗?', + className: editormodules.modal, + onOk: function onOk() { + var newStandardAnswers = answerList.slice(); + newStandardAnswers = answerList.filter(function (_, key) { + return index !== key; + }); + setAnswerList(newStandardAnswers); + } + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(NullMDEditor/* default */.Z, { + id: "completion-question-tittle", + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE", + height: 155, + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + }, + showNullButton: true, + onPlaceholderChange: handlePlaceholderChange + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: answerList.map(function (answers, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(NullChildEditor/* default */.Z, { + answers: answers, + index: index, + flex: 1, + is_md: true, + activeOptionErrorIndex: activeOptionErrorIndex, + onAnswerChange: handleAnswerChange, + addChildAnswer: handleAddChildAnswer, + deleteChildAnswer: handleDeleteChildAnswer, + deleteChildAnswermain: handleDeleteChildAnswermain + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: (answerList === null || answerList === void 0 ? void 0 : answerList.length) > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + checked: checked, + onChange: function onChange(e) { + return setChecked(e.target.checked); + }, + className: "".concat(editormodules.color333, " font14"), + children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(editormodules.color999, " font12"), + children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_CompletionEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(CompletionEditor))); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules +var es_radio = __webpack_require__(5112); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/JudgmentEditor/index.tsx + + +var JudgmentEditor_excluded = ["globalSetting", "loading", "editData", "dispatch", "onRef", "isEdit"]; + + + + + + + +var JudgmentEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var JudgmentEditor = function JudgmentEditor(_ref, ref) { + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + editData = _ref.editData, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, JudgmentEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)(), + _useState2 = slicedToArray_default()(_useState, 2), + activeAnswer = _useState2[0], + setActiveAnswer = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + title = _useState4[0], + setTitle = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + analysis = _useState6[0], + setAnalysis = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + var answer = editData === null || editData === void 0 ? void 0 : editData.choices.find(function (item) { + return item.is_answer; + }); + setActiveAnswer(answer.choice_text === '正确' ? '0' : '1'); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + if (!activeAnswer) { + message/* default */.ZP.info("请先点击选择本选择题的正确选项"); + return false; + } + var choices = [{ + choice_text: "正确", + is_answer: activeAnswer === "0" ? 1 : 0 + }, { + choice_text: "错误", + is_answer: activeAnswer === "1" ? 1 : 0 + }]; + return { + name: title, + choices: choices, + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setTitle(''); + setAnalysis(''); + setActiveAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + buttonStyle: "solid", + value: activeAnswer, + onChange: function onChange(e) { + return setActiveAnswer(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "0", + className: "".concat(editormodules.radio, " mr40"), + children: "\u6B63\u786E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "1", + className: editormodules.radio, + children: "\u9519\u8BEF" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_JudgmentEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(JudgmentEditor))); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/MultipleEditor/index.tsx + + + +var MultipleEditor_excluded = ["editData", "globalSetting", "loading", "dispatch", "onRef", "isEdit"]; + + + + + + + + +var MultipleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var MultipleEditor = function MultipleEditor(_ref, ref) { + var editData = _ref.editData, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, MultipleEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(''), + _useState10 = slicedToArray_default()(_useState9, 2), + analysis = _useState10[0], + setAnalysis = _useState10[1]; + (0,_react_17_0_2_react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.choices.map(function (item) { + return item.choice_text; + })); + var answerIndexs = []; + editData === null || editData === void 0 || editData.choices.map(function (item, index) { + if (item.is_answer) { + answerIndexs.push(index); + } + }); + setActiveAnswer(answerIndexs); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + var findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (findNotAnswerIndex > -1) { + message/* default */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(MultipleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return false; + } + if (!activeAnswer.length) { + message/* default */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); + return false; + } + if (activeAnswer.length < 2) { + message/* default */.ZP.info("多选题最小正确选项为2个"); + return false; + } + var choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer.includes(index) ? 1 : 0 + }; + }); + return { + name: title, + choices: choices, + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setQuestionChoiceList(['', '', '', '']); + setTitle(''); + setAnalysis(''); + setActiveAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), questionChoiceList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(activeAnswer.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + if (activeAnswer.includes(index)) { + setActiveAnswer(activeAnswer.filter(function (item) { + return item !== index; + })); + } else { + setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); + } + }, + children: MultipleEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + questionChoiceList[index] = value; + setQuestionChoiceList(questionChoiceList); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return setActiveEditor(index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + setQuestionChoiceList(questionChoiceList.filter(function (_, key) { + return key !== index; + })); + if (activeAnswer.includes(index)) { + setActiveAnswer(activeAnswer.filter(function (item) { + return item !== index; + })); + } else { + setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); + } + } + }) + }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_MultipleEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(MultipleEditor))); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/SingleEditor/index.tsx + + + +var SingleEditor_excluded = ["editData", "globalSetting", "loading", "dispatch", "onRef", "isEdit"]; + + + + + + + + +var SingleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var SingleEditor = function SingleEditor(_ref, ref) { + var editData = _ref.editData, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, SingleEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(''), + _useState10 = slicedToArray_default()(_useState9, 2), + analysis = _useState10[0], + setAnalysis = _useState10[1]; + (0,_react_17_0_2_react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.choices.map(function (item) { + return item.choice_text; + })); + setActiveAnswer(editData === null || editData === void 0 ? void 0 : editData.choices.findIndex(function (item) { + return item.is_answer; + })); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + var findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (findNotAnswerIndex > -1) { + message/* default */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(SingleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return false; + } + console.log("activeAnswer: ", activeAnswer); + if (!(typeof activeAnswer === "number")) { + message/* default */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); + return false; + } + var choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer === index ? 1 : 0 + }; + }); + return { + name: title, + choices: choices, + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setQuestionChoiceList(['', '', '', '']); + setTitle(''); + setAnalysis(''); + setActiveAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), questionChoiceList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(activeAnswer === index ? editormodules.activeAnswer : ''), + onClick: function onClick() { + return setActiveAnswer(index); + }, + children: SingleEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + isFocus: true, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + questionChoiceList[index] = value; + setQuestionChoiceList(questionChoiceList); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return setActiveEditor(index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + setQuestionChoiceList(questionChoiceList.filter(function (_, key) { + return key !== index; + })); + if (index === activeAnswer) { + setActiveAnswer(null); + } + } + }) + }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_SingleEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(SingleEditor))); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/SubjectiveEditor/index.tsx + + +var SubjectiveEditor_excluded = ["editData", "globalSetting", "loading", "dispatch", "onRef", "isEdit"]; + + + + + + + +var SubjectiveEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { + var editData = _ref.editData, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, SubjectiveEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + title = _useState2[0], + setTitle = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + analysis = _useState4[0], + setAnalysis = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + answer = _useState6[0], + setAnswer = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + var _editData$answer_text; + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setAnswer(editData === null || editData === void 0 || (_editData$answer_text = editData.answer_texts) === null || _editData$answer_text === void 0 ? void 0 : _editData$answer_text[0]); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + if (!answer) { + message/* default */.ZP.info("请您输入参考答案"); + return false; + } + return { + name: title, + answer_texts: [answer], + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setTitle(''); + setAnalysis(''); + setAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u53C2\u8003\u7B54\u6848\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-reference-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848", + defaultValue: answer, + onChange: function onChange(value) { + return setAnswer(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(SubjectiveEditor))); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/CombinationEditor/index.tsx + + + +var CombinationEditor_excluded = ["globalSetting", "loading", "dispatch", "editData", "onRef", "isEdit"]; + + + + + + + + + +var CombinationEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var CombinationEditor = function CombinationEditor(_ref, ref) { + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + editData = _ref.editData, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, CombinationEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + name = _useState2[0], + setName = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + questionList = _useState4[0], + setQuestionList = _useState4[1]; + console.log(questionList); + (0,_react_17_0_2_react.useEffect)(function () { + var _editData$sub_item_ba; + if (!editData || !isEdit) { + return; + } + setName(editData === null || editData === void 0 ? void 0 : editData.name); + var list = editData === null || editData === void 0 || (_editData$sub_item_ba = editData.sub_item_banks) === null || _editData$sub_item_ba === void 0 ? void 0 : _editData$sub_item_ba.map(function (k) { + var _k$choices, _ref2, _k$choices2; + return objectSpread2_default()(objectSpread2_default()({}, k), {}, { + id: k.id, + open: false, + qusList: k === null || k === void 0 || (_k$choices = k.choices) === null || _k$choices === void 0 ? void 0 : _k$choices.map(function (e) { + return e.choice_text; + }), + activeQusEditor: null, + qusAnswer: (_ref2 = [k === null || k === void 0 || (_k$choices2 = k.choices) === null || _k$choices2 === void 0 ? void 0 : _k$choices2.findIndex(function (e) { + return e.is_answer; + })]) === null || _ref2 === void 0 ? void 0 : _ref2.filter(function (k) { + return k !== -1; + }) + }); + }); + setQuestionList(list); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!name) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + if (questionList.length === 0) { + message/* default */.ZP.info("请您添加小题"); + return false; + } + for (var i = 0; i < questionList.length; i++) { + var _param$qusList; + var param = questionList[i]; + if (!(param !== null && param !== void 0 && param.name)) { + message/* default */.ZP.info("\u8BF7\u60A8\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898\u9898\u5E72")); + return false; + } + var findNotAnswerIndex = param === null || param === void 0 || (_param$qusList = param.qusList) === null || _param$qusList === void 0 ? void 0 : _param$qusList.findIndex(function (item) { + return !item; + }); + if (findNotAnswerIndex > -1) { + message/* default */.ZP.info("\u8BF7\u5148\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898").concat(CombinationEditor_tagList[findNotAnswerIndex], "\u9009\u9879\u7684\u5185\u5BB9")); + return false; + } + if (!(param !== null && param !== void 0 && param.qusAnswer.length)) { + message/* default */.ZP.info("\u8BF7\u8BBE\u7F6E\u7B2C".concat(i + 1, "\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E")); + return false; + } + } + var sub_item_banks = questionList.map(function (e) { + return { + id: e.id > 1 ? e.id : null, + name: e.name, + item_type: e.item_type, + analysis: e.analysis, + choices: e.qusList.map(function (h, i) { + return { + choice_text: h, + is_answer: e.qusAnswer[0] === i ? 1 : 0 + }; + }) + }; + }); + return { + name: name, + sub_item_banks: sub_item_banks + }; + }; + + //清空数值 + var Clear = function Clear() { + setName(''); + setQuestionList([]); + }; + var handleAdd = function handleAdd() { + var param = { + id: Math.random(), + item_type: 'SINGLE', + open: false, + name: '', + qusList: ['', '', '', ''], + activeQusEditor: null, + qusAnswer: [], + analysis: '' + }; + setQuestionList(questionList.concat(param)); + }; + var handleQuestionList = function handleQuestionList(type, i, value) { + var cloneQuestionList = (0,lodash.cloneDeep)(questionList); + if (type === 'open') { + cloneQuestionList[i].open = !cloneQuestionList[i].open; + } + if (type === 'delete') { + cloneQuestionList.splice(i, 1); + } + if (type === 'value') { + cloneQuestionList[i].name = value; + } + if (type === 'answer') { + cloneQuestionList[i].qusAnswer = [value]; + } + if (type === 'edit') { + cloneQuestionList[i].activeQusEditor = value; + } + if (type === 'details') { + cloneQuestionList[i].qusList[cloneQuestionList[i].activeQusEditor] = value; + } + if (type === 'addQus') { + cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.concat(''); + } + if (type === 'deleteQus') { + var _cloneQuestionList$i$; + cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.filter(function (_, c) { + return c !== value; + }); + cloneQuestionList[i].qusAnswer = (_cloneQuestionList$i$ = cloneQuestionList[i].qusAnswer) === null || _cloneQuestionList$i$ === void 0 ? void 0 : _cloneQuestionList$i$.filter(function (k) { + return k !== value; + }); + } + if (type === 'analysis') { + cloneQuestionList[i].analysis = value; + } + setQuestionList(cloneQuestionList); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "combination-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: name, + onChange: function onChange(value) { + return setName(value); + } + }), questionList === null || questionList === void 0 ? void 0 : questionList.map(function (e, j) { + var _e$qusList; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.fold, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + return handleQuestionList('open', j); + }, + className: editormodules.head, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-sanjiaoxing", + style: { + transform: e.open ? 'initial' : 'rotate(270deg) translate(2px, 4px)' + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u7B2C", j + 1, "\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + style: { + visibility: 'hidden' + }, + onClick: function onClick(e) { + e.stopPropagation(); + handleQuestionList('delete', j); + }, + className: "iconfont icon-shanchu8" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb10", + style: { + display: e.open ? 'block' : 'none' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: e === null || e === void 0 ? void 0 : e.name, + onChange: function onChange(value) { + return handleQuestionList('value', j, value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), e === null || e === void 0 || (_e$qusList = e.qusList) === null || _e$qusList === void 0 ? void 0 : _e$qusList.map(function (item, index) { + var _e$qusAnswer, _e$qusList2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(e !== null && e !== void 0 && (_e$qusAnswer = e.qusAnswer) !== null && _e$qusAnswer !== void 0 && _e$qusAnswer.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + return handleQuestionList('answer', j, index); + }, + children: CombinationEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: (e === null || e === void 0 ? void 0 : e.activeQusEditor) === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + isFocus: true, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + return handleQuestionList('details', j, value); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return handleQuestionList('edit', j, index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + return handleQuestionList('deleteQus', j, index); + } + }) + }), index < 7 && index === (e === null || e === void 0 || (_e$qusList2 = e.qusList) === null || _e$qusList2 === void 0 ? void 0 : _e$qusList2.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return handleQuestionList('addQus', j); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "mb10 mt10", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: e.analysis, + onChange: function onChange(value) { + return handleQuestionList('analysis', j, value); + } + })] + })] + }, e.id); + })] + }); +}; +/* harmony default export */ var components_CombinationEditor = ((0,_umi_production_exports.connect)(function (_ref3) { + var loading = _ref3.loading, + globalSetting = _ref3.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(CombinationEditor))); +// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx +var AsyncButton = __webpack_require__(72428); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/ExchangeModal.tsx + + + + + +var ExchangeModal = function ExchangeModal(_ref) { + var visible = _ref.visible, + onCancel = _ref.onCancel, + onRandomExchange = _ref.onRandomExchange, + selectFromProblemSet = _ref.selectFromProblemSet, + questionParams = _ref.questionParams; + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { + title: "\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F", + open: visible, + onCancel: onCancel, + centered: true, + maskClosable: true, + footer: null, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "center", + className: "pb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + onClick: onRandomExchange, + children: "\u968F\u673A\u66F4\u6362" + }), (questionParams === null || questionParams === void 0 ? void 0 : questionParams.type) !== 'PRACTICAL' && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + style: { + marginLeft: 24 + }, + onClick: selectFromProblemSet, + children: "\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9" + })] + }) + }); +}; +/* harmony default export */ var components_ExchangeModal = (ExchangeModal); +// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 30 modules +var ui_customization = __webpack_require__(81001); +// EXTERNAL MODULE: ./src/components/QuestionEditor/index.tsx +var QuestionEditor = __webpack_require__(38082); +// EXTERNAL MODULE: ./node_modules/_js-base64@2.6.4@js-base64/base64.js +var base64 = __webpack_require__(24334); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + + + + + + + + + + + + + + + + + + + + + + + + + + + + +var Page = function Page(_ref) { + var _data$questionList2, _data$exam, _data$exam2, _data$exam3, _data$exam4, _data$questionList3, _data$exam5, _data$exam6, _data$exam7, _data$questionList4, _data$exam8; + var data = _ref.data, + submit = _ref.submit, + goBack = _ref.goBack, + loading = _ref.loading, + onTypeScore = _ref.onTypeScore, + _ref$editPreview = _ref.editPreview, + editPreview = _ref$editPreview === void 0 ? false : _ref$editPreview, + onSkipExamination = _ref.onSkipExamination, + selectValue = _ref.selectValue, + onExchange = _ref.onExchange; + var childrenRef = (0,_react_17_0_2_react.useRef)(); + var _useState = (0,_react_17_0_2_react.useState)(null), + _useState2 = slicedToArray_default()(_useState, 2), + editId = _useState2[0], + setEditId = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + tooltipVisible = _useState4[0], + setTooltipVisible = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + exchangeModalVisible = _useState6[0], + setExchangeModalVisible = _useState6[1]; + var exchangeQuestionParams = (0,_react_17_0_2_react.useRef)(); + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var params = (0,_umi_production_exports.useParams)(); + var _useState7 = (0,_react_17_0_2_react.useState)(false), + _useState8 = slicedToArray_default()(_useState7, 2), + iscover = _useState8[0], + setcover = _useState8[1]; + (0,_react_17_0_2_react.useEffect)(function () { + setTooltipVisible(true); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + if (!editPreview) { + (0,util/* setDocumentTitle */.Dk)('试卷预览'); + } + }, [editPreview]); + + //容易占位置用 + var difficulty = ['容易', '简单', '适中', '困难']; + var End = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; + var renderQs = function renderQs(item) { + var _item$choices; + var answer = []; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: StepPreviewmodules.single, + children: item === null || item === void 0 || (_item$choices = item.choices) === null || _item$choices === void 0 ? void 0 : _item$choices.map(function (e, i) { + if (e.is_answer) { + answer.push(End[i]); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [End[i], "\u3001"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: e.choice_text + }) + })] + }, i); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", answer.join(''), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "ml30", + children: ["\u96BE\u5EA6\uFF1A", difficulty[item.difficulty]] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + })] + }); + }; + var renderCompletion = function renderCompletion(item) { + var _item$standard_answer; + var answer = item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.map(function (k, index) { + var _k$answer_text; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u7B54\u6848\uFF08\u586B\u7A7A".concat(k.position, "\uFF09\uFF1A").concat(k === null || k === void 0 || (_k$answer_text = k.answer_text) === null || _k$answer_text === void 0 ? void 0 : _k$answer_text.join("、")) + }, index); + }); + return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u6B63\u786E\u7B54\u6848\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: answer + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }) + }); + }; + var renderBProgram = function renderBProgram(item) { + var _item$standard_answer2; + var answer = item === null || item === void 0 || (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (k, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u7B54\u6848\uFF08\u586B\u7A7A".concat(k.position || (k === null || k === void 0 ? void 0 : k.exercise_choice_id), "\uFF09\uFF1A").concat(k === null || k === void 0 ? void 0 : k.answer_text) + }, index); + }); + return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u6B63\u786E\u7B54\u6848\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: answer + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }) + }); + }; + var renderSubjective = function renderSubjective(item) { + var _item$answer_texts; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", item === null || item === void 0 || (_item$answer_texts = item.answer_texts) === null || _item$answer_texts === void 0 ? void 0 : _item$answer_texts[0]] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }); + }; + var renderProgram = function renderProgram(item) { + var _item$program_attr, _item$program_attr2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u9884\u671F\u8F93\u51FA:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item === null || item === void 0 || (_item$program_attr = item.program_attr) === null || _item$program_attr === void 0 ? void 0 : _item$program_attr.description + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 20 + }, + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", (item === null || item === void 0 || (_item$program_attr2 = item.program_attr) === null || _item$program_attr2 === void 0 ? void 0 : _item$program_attr2.answer_text) || '--'] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }); + }; + var renderCombination = function renderCombination(items, jndex) { + var _items$sub_item_banks; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: items === null || items === void 0 || (_items$sub_item_banks = items.sub_item_banks) === null || _items$sub_item_banks === void 0 ? void 0 : _items$sub_item_banks.map(function (item, index) { + var _item$choices2; + var answer = []; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginLeft: 25, + fontSize: '16px', + color: '#333' + }, + children: [jndex + 1 + '.' + (index + 1), "\uFF08\u5355\u9009\u9898\uFF09", item.name] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: StepPreviewmodules.single, + children: item === null || item === void 0 || (_item$choices2 = item.choices) === null || _item$choices2 === void 0 ? void 0 : _item$choices2.map(function (e, i) { + if (e.is_answer) { + answer.push(End[i]); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [End[i], "\u3001"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: e.choice_text + }) + })] + }, i); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", answer.join(''), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "ml30", + children: ["\u96BE\u5EA6\uFF1A", difficulty[item.difficulty]] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((items === null || items === void 0 ? void 0 : items.discipline_name) || "--", "/").concat(items === null || items === void 0 ? void 0 : items.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), items === null || items === void 0 ? void 0 : items.tag_discipline_name] + })] + })] + })] + }); + }) + }); + // return
    + // + // + //
    + }; + var renderPractical = function renderPractical(items) { + var _items$shixun, _items$shixun2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mt5", + children: [items === null || items === void 0 || (_items$shixun = items.shixun) === null || _items$shixun === void 0 || (_items$shixun = _items$shixun.challenges) === null || _items$shixun === void 0 ? void 0 : _items$shixun.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "c-grey-666 font14 mb10 ml25", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "mr5", + children: ["\u7B2C", index + 1, "\u5173"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.challenge_name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (0,util/* cutName */.Pq)(item === null || item === void 0 ? void 0 : item.challenge_name, 44) + }) + }, index)] + }); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { + style: { + "float": 'right' + }, + target: "_blank", + to: "/shixuns/".concat(items === null || items === void 0 || (_items$shixun2 = items.shixun) === null || _items$shixun2 === void 0 ? void 0 : _items$shixun2.identifier, "/challenges"), + children: "\u5B9E\u8BAD\u8BE6\u60C5" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + clear: 'both' + } + })] + }); + }; + var handleSetScore = function handleSetScore(item) { + var score = item.questions_score / item.questions_count; + es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '分数设置', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.modalColumn, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.modalRow, + style: { + justifyContent: 'flex-start' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("sup", { + className: StepPreviewmodules.sup, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [item === null || item === void 0 ? void 0 : item.name, "\uFF1A"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 0, + precision: 1, + defaultValue: score, + onChange: function onChange(value) { + score = value; + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml5", + children: "\u5206/\u9898" + })] + }) + }), + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _ref2; + var param; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (score) { + _context.next = 3; + break; + } + message/* default */.ZP.warning('分数不能为空或为0'); + return _context.abrupt("return", Promise.reject()); + case 3: + param = { + type: item === null || item === void 0 ? void 0 : item.type, + score: score, + scoreTotal: Number((_ref2 = score * item.questions_count) === null || _ref2 === void 0 ? void 0 : _ref2.toFixed(1)) + }; + onTypeScore(param); + case 5: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleSave = function handleSave() { + var name = ''; + es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '保存试卷', + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.modalColumn, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + color: '#676A6C', + display: 'flex', + alignItems: 'center' + }, + className: "font14 mt20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + style: { + marginRight: 5 + }, + src: jinshi/* default */.Z + }), "\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.modalRow, + style: { + marginTop: 20 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("sup", { + className: StepPreviewmodules.sup, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + flexShrink: 0 + }, + children: "\u8BD5\u5377\u540D\u79F0\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0", + min: 0, + maxLength: 60, + defaultValue: name, + onChange: function onChange(e) { + name = e.target.value; + } + })] + })] + }), + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _data$questionList; + var item_bank_ids, item_bank_scores, combination_item_banks, shixun_ids, params; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (name) { + _context2.next = 3; + break; + } + message/* default */.ZP.warning('试卷名称不能为空'); + return _context2.abrupt("return", Promise.reject()); + case 3: + item_bank_ids = []; + item_bank_scores = []; + combination_item_banks = []; + shixun_ids = []; + data === null || data === void 0 || (_data$questionList = data.questionList) === null || _data$questionList === void 0 || _data$questionList.forEach(function (item) { + var _item$questions; + (_item$questions = item.questions) === null || _item$questions === void 0 || _item$questions.forEach(function (e) { + var s = item.questions_score / item.questions_count; + s = s && s.toFixed(1); + if (item.type === 'COMBINATION') { + combination_item_banks.push({ + id: e.id, + sub_item_bank_ids: e.sub_item_banks.map(function (item) { + return item.id; + }) + }); + } + if (item.type === 'PRACTICAL') { + shixun_ids.push(e.id); + } else { + item_bank_ids.push(e.id); + item_bank_scores.push(s); + } + }); + }); + console.log('-----', combination_item_banks); + params = { + item_bank_ids: item_bank_ids, + item_bank_scores: item_bank_scores, + name: name, + combination_item_banks: combination_item_banks, + shixun_ids: shixun_ids + }; + _context2.next = 12; + return submit(params); + case 12: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk2.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleOnlyOne = function handleOnlyOne(id, type, index, item) { + var _item$questions2; + var currentUrl = "".concat(location.pathname).concat(location.search); + var ids = (_item$questions2 = item.questions) === null || _item$questions2 === void 0 ? void 0 : _item$questions2.map(function (k) { + return k.id; + }); + if (currentUrl.includes('exercise')) { + exchangeQuestionParams.current = { + id: id, + ids: ids, + type: type, + index: index + }; + setExchangeModalVisible(true); + } else { + var modal = es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '温馨提示', + content: "\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F", + cancelButtonProps: { + disabled: false + }, + maskClosable: true, + keyboard: false, + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + modal.update({ + cancelButtonProps: { + disabled: true + } + }); + _context3.next = 3; + return onExchange({ + single_question_id: id, + seleted_item_bank_ids: ids + }, { + type: type, + index: index + }); + case 3: + modal.update({ + cancelButtonProps: { + disabled: false + } + }); + message/* default */.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898"); + case 5: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onOk() { + return _onOk3.apply(this, arguments); + } + return onOk; + }() + }); + } + }; + var handleOnlyType = function handleOnlyType(item) { + var _item$questions3; + var ids = (_item$questions3 = item.questions) === null || _item$questions3 === void 0 ? void 0 : _item$questions3.map(function (k) { + return k.id; + }); + var typeName = item.name; + var modal = es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '温馨提示', + content: "\u786E\u8BA4\u66F4\u6362".concat(typeName, "\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F"), + cancelButtonProps: { + disabled: false + }, + maskClosable: false, + keyboard: false, + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + modal.update({ + cancelButtonProps: { + disabled: true + } + }); + _context4.next = 3; + return onExchange({ + seleted_item_bank_ids: ids + }, { + type: item.type + }); + case 3: + modal.update({ + cancelButtonProps: { + disabled: false + } + }); + message/* default */.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210".concat(typeName, "\u8BD5\u9898")); + case 5: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + function onOk() { + return _onOk4.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleAllType = function handleAllType() { + var modal = es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '温馨提示', + content: "\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F", + cancelButtonProps: { + disabled: false + }, + maskClosable: false, + keyboard: false, + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + modal.update({ + cancelButtonProps: { + disabled: true + } + }); + _context5.next = 3; + return onExchange(); + case 3: + modal.update({ + cancelButtonProps: { + disabled: false + } + }); + message/* default */.ZP.success('已重新随机生成整张试题'); + case 5: + case "end": + return _context5.stop(); + } + }, _callee5); + })); + function onOk() { + return _onOk5.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleSelectChange = function handleSelectChange(key) { + console.log(key, 'key'); + onSkipExamination(key - 1); + }; + var renderSubject = function renderSubject(v, type) { + if (type === 'SINGLE') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_SingleEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'MULTIPLE') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_MultipleEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'JUDGMENT') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_JudgmentEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'COMPLETION') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_CompletionEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'SUBJECTIVE') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_SubjectiveEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'COMBINATION') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_CombinationEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'BPROGRAM') { + var _v$program_attr; + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: form, + style: { + marginTop: 20 + }, + onFinishFailed: function onFinishFailed(errInfo) { + var _errInfo$errorFields; + if (errInfo.errorFields[0].name.includes("standard_answers")) { + message/* default */.ZP.error("填空项答案不能为空"); + } else { + message/* default */.ZP.error(errInfo.errorFields[0].errors[0]); + } + // message.error(errInfo.errorFields[0].errors[0]) + form.scrollToField(errInfo === null || errInfo === void 0 || (_errInfo$errorFields = errInfo.errorFields) === null || _errInfo$errorFields === void 0 || (_errInfo$errorFields = _errInfo$errorFields[0]) === null || _errInfo$errorFields === void 0 ? void 0 : _errInfo$errorFields.name, { + behavior: 'smooth', + block: 'center' + }); + }, + onFinish: ( /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(values) { + var _values$hack_codes; + var body, res; + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + body = objectSpread2_default()(objectSpread2_default()({ + question_score: v.score + }, values), {}, { + question_type: 8, + hack: objectSpread2_default()(objectSpread2_default()({}, values.hack), {}, { + difficult: v.program_attr.difficult + }), + hack_codes: objectSpread2_default()(objectSpread2_default()({}, values.hack_codes), {}, { + code: base64.Base64.encode((_values$hack_codes = values.hack_codes) === null || _values$hack_codes === void 0 ? void 0 : _values$hack_codes.code) + }) + }); + if (iscover) { + // datas.is_cover = 1 + body.is_cover = 1; + } + _context6.next = 4; + return (0,fetch/* default */.ZP)("/api/exercise_questions/".concat(v.id, ".json"), { + method: 'put', + body: body + }); + case 4: + res = _context6.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('编辑成功'); + handleSelectChange(selectValue + 1); + } + setEditId(null); + case 7: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function (_x) { + return _ref3.apply(this, arguments); + }; + }()), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(QuestionEditor/* BProgramEditor */.tc, { + form: form, + questionTitlePlaceholder: "\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879", + scoreByBlank: false, + hackidentifier: v === null || v === void 0 || (_v$program_attr = v.program_attr) === null || _v$program_attr === void 0 ? void 0 : _v$program_attr.identifier, + answerKey: "standard_answers" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }) + }); + } + if (type === 'PROGRAM') { + var _v$program_attr2; + _umi_production_exports.history.push("/problems/".concat(v === null || v === void 0 || (_v$program_attr2 = v.program_attr) === null || _v$program_attr2 === void 0 ? void 0 : _v$program_attr2.identifier, "/edit?type=exercises&express_id=").concat(params.categoryId, "&question_id=").concat(v === null || v === void 0 ? void 0 : v.id, "&score=").concat(v === null || v === void 0 ? void 0 : v.score, "&callback_url=").concat(location.pathname, "&select=").concat(selectValue, "&exercise=true")); + } + }; + var handleEditSave = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(type, param, isok) { + var _childrenRef$current; + var editorData, body, _editorData$choices, question_choices, standard_answers, _editorData$standard_, _standard_answers, _editorData$sub_item_, res; + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + _context7.next = 2; + return (_childrenRef$current = childrenRef.current) === null || _childrenRef$current === void 0 ? void 0 : _childrenRef$current.onSave(); + case 2: + editorData = _context7.sent; + if (editorData) { + _context7.next = 5; + break; + } + return _context7.abrupt("return"); + case 5: + body = { + question_score: param.score, + analysis: editorData.analysis + }; + if (isok) { + // datas.is_cover = 1 + body.is_cover = 1; + } + if (type === 'SINGLE' || type === 'MULTIPLE' || type === 'JUDGMENT') { + question_choices = []; + standard_answers = []; + body.question_type = type === 'JUDGMENT' ? 2 : 1; + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + editorData === null || editorData === void 0 || (_editorData$choices = editorData.choices) === null || _editorData$choices === void 0 || _editorData$choices.forEach(function (e, i) { + question_choices.push(e.choice_text); + if (e !== null && e !== void 0 && e.is_answer) { + standard_answers.push(i + 1); + } + }); + body.question_choices = question_choices; + body.standard_answers = standard_answers; + } + if (type === 'COMPLETION') { + body.is_ordered = editorData.is_ordered; + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + body.question_type = 3; + _standard_answers = []; + editorData === null || editorData === void 0 || (_editorData$standard_ = editorData.standard_answers) === null || _editorData$standard_ === void 0 || _editorData$standard_.forEach(function (e, i) { + _standard_answers.push({ + choice_id: e.position, + answer_text: e.answer_text + }); + }); + body.standard_answers = _standard_answers; + } + if (type === 'SUBJECTIVE') { + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + body.question_type = 3; + body.standard_answers = editorData === null || editorData === void 0 ? void 0 : editorData.answer_texts; + } + if (type === 'COMBINATION') { + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + body.question_type = 7; + body.sub_questions = editorData === null || editorData === void 0 || (_editorData$sub_item_ = editorData.sub_item_banks) === null || _editorData$sub_item_ === void 0 ? void 0 : _editorData$sub_item_.map(function (e, i) { + return { + id: e.id, + question_title: e.name, + question_type: 1, + question_choices: e.choices.map(function (k) { + return k.choice_text; + }), + standard_answers: [e.choices.findIndex(function (k) { + return k.is_answer; + }) + 1], + analysis: e.analysis + }; + }); + delete body.analysis; + } + _context7.next = 13; + return (0,fetch/* default */.ZP)("/api/exercise_questions/".concat(param.id, ".json"), { + method: 'put', + body: body + }); + case 13: + res = _context7.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('编辑成功'); + handleSelectChange(selectValue + 1); + } + setEditId(null); + case 16: + case "end": + return _context7.stop(); + } + }, _callee7); + })); + return function handleEditSave(_x2, _x3, _x4) { + return _ref4.apply(this, arguments); + }; + }(); + var updatePaper = /*#__PURE__*/function () { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { + var res; + return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { + case 0: + (0,_umi_production_exports.getDvaApp)()._store.dispatch({ + type: "globalSetting/setGlobalLoading", + payload: { + show: true, + text: '正在更新试卷,请稍后...' + } + }); + _context8.next = 3; + return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/sync_random_question.json"), { + method: 'post' + }); + case 3: + res = _context8.sent; + if (!(res.status === 0)) { + _context8.next = 8; + break; + } + _context8.next = 7; + return onSkipExamination(selectValue); + case 7: + message/* default */.ZP.success('更新成功'); + case 8: + (0,_umi_production_exports.getDvaApp)()._store.dispatch({ + type: "globalSetting/setGlobalLoading", + payload: { + show: false + } + }); + case 9: + case "end": + return _context8.stop(); + } + }, _callee8); + })); + return function updatePaper() { + return _ref5.apply(this, arguments); + }; + }(); + var score_total = data === null || data === void 0 || (_data$questionList2 = data.questionList) === null || _data$questionList2 === void 0 ? void 0 : _data$questionList2.reduce(function (a, b) { + return a + Number(b.questions_score); + }, 0); + var disabled = editPreview && (data === null || data === void 0 || (_data$exam = data.exam) === null || _data$exam === void 0 ? void 0 : _data$exam.exercise_status) !== 1; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: StepPreviewmodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + id: "id_left_preview", + className: StepPreviewmodules.left, + onMouseEnter: function onMouseEnter(e) { + var dom = document.getElementById('id_left_preview'); + dom.style.overflowY = 'auto'; + }, + onMouseLeave: function onMouseLeave(e) { + var dom = document.getElementById('id_left_preview'); + dom.style.overflowY = 'hidden'; + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.title, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "body-overflow-initial", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u7B54\u9898\u5361" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.total, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: xixi + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u9898\u6570(\u9053)" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: data === null || data === void 0 ? void 0 : data.all_questions_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mr30 ml30", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: bi + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u603B\u5206(\u5206)" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: score_total && score_total.toFixed(1) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: zhong + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u65F6\u957F(\u5206)" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: (data === null || data === void 0 || (_data$exam2 = data.exam) === null || _data$exam2 === void 0 ? void 0 : _data$exam2.time) === -1 || (data === null || data === void 0 || (_data$exam3 = data.exam) === null || _data$exam3 === void 0 ? void 0 : _data$exam3.time) === null ? '不限' : data === null || data === void 0 || (_data$exam4 = data.exam) === null || _data$exam4 === void 0 ? void 0 : _data$exam4.time + })] + })] + }), data === null || data === void 0 || (_data$questionList3 = data.questionList) === null || _data$questionList3 === void 0 ? void 0 : _data$questionList3.map(function (e, index) { + var _e$questions; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.list, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.name, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: e.name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.b, + children: e.questions_count + }), "\u9898 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.l, + children: "|" + }), "\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.r, + children: e.questions_score + }), "\u5206"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.answerSheet, + children: e === null || e === void 0 || (_e$questions = e.questions) === null || _e$questions === void 0 ? void 0 : _e$questions.map(function (k, i) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + var anchorName = "Anchor_".concat(k.id); + var anchorElement = document.getElementById(anchorName); + if (anchorElement) { + setTimeout(function () { + return anchorElement.scrollIntoView({ + block: "center", + behavior: "smooth" + }); + }); + } + }, + className: StepPreviewmodules.tag, + children: i + 1 + }, k.id); + }) + })] + })] + }, index); + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.right, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.examName, + id: "examName", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: data === null || data === void 0 || (_data$exam5 = data.exam) === null || _data$exam5 === void 0 ? void 0 : _data$exam5.name, + getPopupContainer: function getPopupContainer(trigger) { + return trigger.parentNode; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.t, + children: data === null || data === void 0 || (_data$exam6 = data.exam) === null || _data$exam6 === void 0 ? void 0 : _data$exam6.name + }) + }) + }), editPreview && (data === null || data === void 0 || (_data$exam7 = data.exam) === null || _data$exam7 === void 0 ? void 0 : _data$exam7.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + openLoading: true, + shape: "default", + onClick: updatePaper, + type: "primary", + children: "\u66F4\u65B0\u8BD5\u5377" + }), !editPreview && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: handleAllType, + type: "primary", + children: "\u968F\u673A\u66F4\u6362" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.topWarp, + children: data === null || data === void 0 || (_data$questionList4 = data.questionList) === null || _data$questionList4 === void 0 ? void 0 : _data$questionList4.map(function (e, index) { + var _e$questions2, _e$questions3; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.head, + style: index === 0 ? { + border: 0, + marginTop: -16 + } : {}, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.name, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: e.name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.so, + children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: StepPreviewmodules.b, + children: [e.questions_count, " "] + }), "\u9898 ", e.type === 'COMBINATION' && "\uFF08\u5305\u542B".concat(e === null || e === void 0 || (_e$questions2 = e.questions) === null || _e$questions2 === void 0 ? void 0 : _e$questions2.map(function (item) { + var _item$sub_item_banks; + return item === null || item === void 0 || (_item$sub_item_banks = item.sub_item_banks) === null || _item$sub_item_banks === void 0 ? void 0 : _item$sub_item_banks.length; + }).reduce(function (x, y) { + return x + y; + }), "\u5C0F\u9898\uFF09"), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.l, + children: "|" + }), "\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.r, + children: e.questions_score + }), "\u5206"] + }), !editPreview && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.btn, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + handleSetScore(e); + }, + type: "primary", + ghost: true, + className: "mr20", + children: "\u8BBE\u7F6E\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + return handleOnlyType(e); + }, + type: "primary", + ghost: true, + children: "\u968F\u673A\u66F4\u6362" + })] + })] + }), e === null || e === void 0 || (_e$questions3 = e.questions) === null || _e$questions3 === void 0 ? void 0 : _e$questions3.map(function (k, i) { + var _k$program_attr, _k$program_attr4; + if (editId === k.id) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + id: "Anchor_".concat(k.id), + className: StepPreviewmodules.content, + style: { + padding: 0, + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + "float": 'right', + marginTop: -6 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + return setEditId(null); + }, + className: "mr20", + type: "primary", + ghost: true, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + if ((k === null || k === void 0 ? void 0 : k.is_my) === 1) { + es_modal/* default */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() { + return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { + case 0: + if (e.type === 'BPROGRAM') { + setcover(true); + form.submit(); + } else { + handleEditSave(e === null || e === void 0 ? void 0 : e.type, k, true); + } + case 1: + case "end": + return _context9.stop(); + } + }, _callee9); + })); + function onOk() { + return _onOk6.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() { + return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { + case 0: + if (e.type === 'BPROGRAM') { + setcover(false); + form.submit(); + } else { + handleEditSave(e === null || e === void 0 ? void 0 : e.type, k, false); + } + case 1: + case "end": + return _context10.stop(); + } + }, _callee10); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + } else { + if (e.type === 'BPROGRAM') { + setcover(false); + form.submit(); + } else { + handleEditSave(e === null || e === void 0 ? void 0 : e.type, k, false); + } + } + }, + type: "primary", + children: "\u4FDD\u5B58" + })] + }), renderSubject(k, e.type)] + }, k.id); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + id: "Anchor_".concat(k.id), + className: StepPreviewmodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.titleWrap, + children: [(k === null || k === void 0 ? void 0 : k.item_type) === 'bprogram' ? /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + paddingRight: 10 + }, + value: i + 1 + '、' + ((_k$program_attr = k.program_attr) === null || _k$program_attr === void 0 ? void 0 : _k$program_attr.description) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + paddingRight: 10 + }, + className: StepPreviewmodules.titleHtml, + value: i + 1 + '、' + "".concat((k === null || k === void 0 ? void 0 : k.item_type) === "combination" ? '(题干)' : '') + k.name + }), editPreview && e.type !== "PRACTICAL" && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + disabled: disabled, + onClick: function onClick() { + var _k$program_attr2, _k$hack_sets; + if (editId) { + message/* default */.ZP.warning('先保存或取消当前正在编辑的试题'); + return; + } + form.setFieldsValue({ + standard_answers: k.standard_answer, + hack: objectSpread2_default()(objectSpread2_default()({}, k), k.program_attr), + hack_codes: objectSpread2_default()(objectSpread2_default()({}, k.program_attr), {}, { + code: base64.Base64.decode(((_k$program_attr2 = k.program_attr) === null || _k$program_attr2 === void 0 ? void 0 : _k$program_attr2.code) || '') + }), + hack_sets: objectSpread2_default()({}, k === null || k === void 0 || (_k$hack_sets = k.hack_sets) === null || _k$hack_sets === void 0 ? void 0 : _k$hack_sets[0]) + }); + if (k.item_type == 'program') { + var _k$program_attr3; + _umi_production_exports.history.push("/problems/newedit/".concat(k === null || k === void 0 || (_k$program_attr3 = k.program_attr) === null || _k$program_attr3 === void 0 ? void 0 : _k$program_attr3.identifier, "?type=exercises&express_id=").concat(params.categoryId, "&question_id=").concat(k === null || k === void 0 ? void 0 : k.id, "&score=").concat(k === null || k === void 0 ? void 0 : k.score, "&exercise=true&callback_url=/classrooms/").concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail?random=true")); + } else { + setEditId(k.id); + } + }, + type: "primary", + className: "mr20", + style: { + marginLeft: 'auto' + }, + ghost: true, + children: "\u7F16\u8F91" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + disabled: disabled, + onClick: function onClick() { + return handleOnlyOne(k.id, e.type, i, e); + }, + type: "primary", + ghost: true, + children: "\u6362\u4E00\u9898" + })] + }), (k === null || k === void 0 ? void 0 : k.item_type) === 'bprogram' && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + paddingRight: 10, + paddingLeft: 25 + }, + showProgramFill: true, + disabledFill: true, + className: StepPreviewmodules.titleHtml, + value: base64.Base64.decode(((_k$program_attr4 = k.program_attr) === null || _k$program_attr4 === void 0 ? void 0 : _k$program_attr4.code) || '') + }), (e.type === 'SINGLE' || e.type === "JUDGMENT" || e.type === "MULTIPLE") && renderQs(k), e.type === "COMPLETION" && renderCompletion(k), e.type === "SUBJECTIVE" && renderSubjective(k), e.type === "PROGRAM" && renderProgram(k), e.type === "BPROGRAM" && renderBProgram(k), e.type === "COMBINATION" && renderCombination(k, i), e.type === "PRACTICAL" && renderPractical(k), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {})] + }, k.id); + })] + }, index); + }) + })] + }), editPreview ? /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* FixedBottom */.vr, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showTotal: util/* showTotal */.rU, + total: data === null || data === void 0 || (_data$exam8 = data.exam) === null || _data$exam8 === void 0 ? void 0 : _data$exam8.total_num, + pageSize: 1, + current: selectValue + 1, + showSizeChanger: false, + onChange: handleSelectChange, + showQuickJumper: false, + hideOnSinglePage: false + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* FixedBottom */.vr, { + LeftContent: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + onClick: goBack, + shape: "default", + style: { + height: 38, + background: '#fff', + boxShadow: 'none' + }, + children: "\u8FD4\u56DE" + }), + RightContent: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(popover/* default */.Z, { + color: "#55575D", + overlayClassName: StepPreviewmodules.popover, + open: tooltipVisible, + getPopupContainer: function getPopupContainer(trigger) { + return trigger === null || trigger === void 0 ? void 0 : trigger.parentNode; + }, + content: "\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + onMouseEnter: function onMouseEnter() { + return setTooltipVisible(true); + }, + onMouseLeave: function onMouseLeave() { + return setTooltipVisible(false); + }, + onClick: function onClick() { + return handleSave(); + }, + shape: "default", + style: { + height: 38, + background: '#fff', + boxShadow: 'none' + }, + children: "\u4FDD\u5B58" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + shape: "default", + type: "primary", + onClick: function onClick() { + return submit(); + }, + style: { + height: 38, + marginLeft: 20 + }, + children: "\u63D0\u4EA4" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(components_ExchangeModal, { + visible: exchangeModalVisible, + questionParams: exchangeQuestionParams.current, + onRandomExchange: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() { + var changeParams; + return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { + case 0: + changeParams = exchangeQuestionParams.current; + _context11.next = 3; + return onExchange({ + single_question_id: changeParams.id, + seleted_item_bank_ids: changeParams.ids + }, { + type: changeParams.type, + index: changeParams.index + }); + case 3: + setExchangeModalVisible(false); + case 4: + case "end": + return _context11.stop(); + } + }, _callee11); + })), + selectFromProblemSet: function selectFromProblemSet() { + var changeParams = exchangeQuestionParams.current; + var currentUrl = "".concat(location.pathname).concat(location.search); + if (currentUrl.includes('exercise')) { + //只支持教学课堂换一题 + _umi_production_exports.history.push("/paperlibrary/exchangequestion?type=exercise&qid=".concat(changeParams.id, "&qtype=").concat(changeParams.type, "&exerciseid=").concat(params.categoryId, "&from=").concat(currentUrl)); + } + }, + onCancel: function onCancel() { + setExchangeModalVisible(false); + } + })] + }); +}; +/* harmony default export */ var StepPreview = (Page); + +/***/ }), + +/***/ 99023: +/*!*************************************************************************!*\ + !*** ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + 1 modules ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "default": function() { return /* binding */ PreviewEdit; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts +var _umi_production_exports = __webpack_require__(88271); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var PreviewEditmodules = ({"flex_box_center":"flex_box_center___kQBcj","flex_space_between":"flex_space_between___Znlbo","flex_box_vertical_center":"flex_box_vertical_center___CPD50","flex_box_center_end":"flex_box_center_end___jzPvK","flex_box_column":"flex_box_column___cvIBS","flex-col":"flex-col___AJA2a","flex-row":"flex-row___zlJka","justify-start":"justify-start___oXJpO","justify-center":"justify-center___sZ0BD","justify-end":"justify-end___lGnpX","justify-evenly":"justify-evenly___tBrft","justify-around":"justify-around___hg6fu","justify-between":"justify-between___YzcAk","align-start":"align-start____6JZr","align-center":"align-center___vHOmC","align-end":"align-end___CAmDD","wrap":"wrap___lab8O","crumbs":"crumbs___qvTza"}); +// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules +var StepPreview = __webpack_require__(23980); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules var skeleton = __webpack_require__(69127); // EXTERNAL MODULE: ./src/utils/fetch.ts var fetch = __webpack_require__(82710); @@ -23812,6 +27993,64 @@ var PaperlibraryPage = function PaperlibraryPage(_ref) { /***/ }), +/***/ 43929: +/*!*****************************************!*\ + !*** ./src/assets/images/uploadImg.svg ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony export ReactComponent */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgUploadImg = function SvgUploadImg(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 14, + height: 14, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u5F62\u72B6"), /* @__PURE__ */React.createElement("path", { + d: "M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z", + fill: "#3061D0", + fillRule: "nonzero" + })); +}; + +/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4="); + +/***/ }), + /***/ 96908: /*!**************************************************************************!*\ !*** ./src/components/ui-customization/Cards/ShixunList/img/Jupyter.png ***! diff --git a/p__Classrooms__Lists__Exercise__Export__index.5185069b.async.js b/p__Classrooms__Lists__Exercise__Export__index.faff019d.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Export__index.5185069b.async.js rename to p__Classrooms__Lists__Exercise__Export__index.faff019d.async.js index 80db0cc2a2..32b5bc4adf 100644 --- a/p__Classrooms__Lists__Exercise__Export__index.5185069b.async.js +++ b/p__Classrooms__Lists__Exercise__Export__index.faff019d.async.js @@ -2634,7 +2634,7 @@ var QuestionType = /*#__PURE__*/function (QuestionType) { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__Exercise__Review__index.a4f351d8.async.js b/p__Classrooms__Lists__Exercise__Review__index.8a35d2c6.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Review__index.a4f351d8.async.js rename to p__Classrooms__Lists__Exercise__Review__index.8a35d2c6.async.js index 4016f099df..f41aae2baa 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.a4f351d8.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.8a35d2c6.async.js @@ -7182,7 +7182,7 @@ var QuestionType = /*#__PURE__*/function (QuestionType) { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__Exercise__index.91b9fb6f.async.js b/p__Classrooms__Lists__Exercise__index.7dc4cf93.async.js similarity index 98% rename from p__Classrooms__Lists__Exercise__index.91b9fb6f.async.js rename to p__Classrooms__Lists__Exercise__index.7dc4cf93.async.js index 1a652932ee..1035f4b686 100644 --- a/p__Classrooms__Lists__Exercise__index.91b9fb6f.async.js +++ b/p__Classrooms__Lists__Exercise__index.7dc4cf93.async.js @@ -3660,72 +3660,6 @@ var TabMenu = function TabMenu(_ref) { /***/ }), -/***/ 69266: -/*!********************************************!*\ - !*** ./src/assets/images/paper/jinshi.svg ***! - \********************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* unused harmony export ReactComponent */ -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } -function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } -var __defProp = Object.defineProperty; -var __getOwnPropSymbols = Object.getOwnPropertySymbols; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __propIsEnum = Object.prototype.propertyIsEnumerable; -var __defNormalProp = function __defNormalProp(obj, key, value) { - return key in obj ? __defProp(obj, key, { - enumerable: true, - configurable: true, - writable: true, - value: value - }) : obj[key] = value; -}; -var __spreadValues = function __spreadValues(a, b) { - for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); - if (__getOwnPropSymbols) { - var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), - _step; - try { - for (_iterator.s(); !(_step = _iterator.n()).done;) { - var prop = _step.value; - if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); - } - } catch (err) { - _iterator.e(err); - } finally { - _iterator.f(); - } - } - return a; -}; - -var SvgJinshi = function SvgJinshi(props) { - return /* @__PURE__ */React.createElement("svg", __spreadValues({ - width: 14, - height: 14, - xmlns: "http://www.w3.org/2000/svg" - }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 18"), /* @__PURE__ */React.createElement("g", { - fill: "none", - fillRule: "evenodd" - }, /* @__PURE__ */React.createElement("circle", { - fill: "#FCB041", - cx: 7, - cy: 7, - r: 7 - }), /* @__PURE__ */React.createElement("path", { - d: "M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z", - fill: "#FFF", - fillRule: "nonzero" - }))); -}; - -/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"); - -/***/ }), - /***/ 77578: /*!**********************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/_util/getRenderPropValue.js ***! diff --git a/p__Classrooms__Lists__GroupHomework__index.21cea5d8.async.js b/p__Classrooms__Lists__GroupHomework__index.47c5a5cf.async.js similarity index 99% rename from p__Classrooms__Lists__GroupHomework__index.21cea5d8.async.js rename to p__Classrooms__Lists__GroupHomework__index.47c5a5cf.async.js index e2705ae0cd..3bc161f770 100644 --- a/p__Classrooms__Lists__GroupHomework__index.21cea5d8.async.js +++ b/p__Classrooms__Lists__GroupHomework__index.47c5a5cf.async.js @@ -5572,7 +5572,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Classrooms__Lists__Polls__Detail__index.7e3193a1.async.js b/p__Classrooms__Lists__Polls__Detail__index.b097f4ff.async.js similarity index 99% rename from p__Classrooms__Lists__Polls__Detail__index.7e3193a1.async.js rename to p__Classrooms__Lists__Polls__Detail__index.b097f4ff.async.js index 589c672158..ed0b0f2dfb 100644 --- a/p__Classrooms__Lists__Polls__Detail__index.7e3193a1.async.js +++ b/p__Classrooms__Lists__Polls__Detail__index.b097f4ff.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[17622,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[17622,52720],{ /***/ 76466: /*!********************************************************************************************************!*\ diff --git a/p__Classrooms__Lists__ProgramHomework__Comment__index.cd77bfe5.async.js b/p__Classrooms__Lists__ProgramHomework__Comment__index.1df11648.async.js similarity index 99% rename from p__Classrooms__Lists__ProgramHomework__Comment__index.cd77bfe5.async.js rename to p__Classrooms__Lists__ProgramHomework__Comment__index.1df11648.async.js index afb17eb268..94309347b6 100644 --- a/p__Classrooms__Lists__ProgramHomework__Comment__index.cd77bfe5.async.js +++ b/p__Classrooms__Lists__ProgramHomework__Comment__index.1df11648.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[12884,52720,88699,45504,4176],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12884,88699,52720,4176],{ /***/ 56679: /*!***********************************************************************************************************!*\ diff --git a/p__Classrooms__Lists__Video__Upload__index.2b447835.async.js b/p__Classrooms__Lists__Video__Upload__index.ae20c3a7.async.js similarity index 99% rename from p__Classrooms__Lists__Video__Upload__index.2b447835.async.js rename to p__Classrooms__Lists__Video__Upload__index.ae20c3a7.async.js index 9947696e92..25a3378f67 100644 --- a/p__Classrooms__Lists__Video__Upload__index.2b447835.async.js +++ b/p__Classrooms__Lists__Video__Upload__index.ae20c3a7.async.js @@ -2069,7 +2069,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Competitions__Edit__index.ddd4ebe7.async.js b/p__Competitions__Edit__index.95e276c5.async.js similarity index 99% rename from p__Competitions__Edit__index.ddd4ebe7.async.js rename to p__Competitions__Edit__index.95e276c5.async.js index 3d9e5e9bf4..d663c3d8d8 100644 --- a/p__Competitions__Edit__index.ddd4ebe7.async.js +++ b/p__Competitions__Edit__index.95e276c5.async.js @@ -21232,7 +21232,7 @@ const genWireframeStyle = token => { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__CourseList__index.ae50ecb9.async.js b/p__Engineering__Lists__CourseList__index.48b94f0f.async.js similarity index 99% rename from p__Engineering__Lists__CourseList__index.ae50ecb9.async.js rename to p__Engineering__Lists__CourseList__index.48b94f0f.async.js index cda0c6f100..7d1c4cf0a9 100644 --- a/p__Engineering__Lists__CourseList__index.ae50ecb9.async.js +++ b/p__Engineering__Lists__CourseList__index.48b94f0f.async.js @@ -1282,7 +1282,7 @@ var SelectWrap = function SelectWrap(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__CurseSetting__index.aa7142b7.async.js b/p__Engineering__Lists__CurseSetting__index.0946d590.async.js similarity index 99% rename from p__Engineering__Lists__CurseSetting__index.aa7142b7.async.js rename to p__Engineering__Lists__CurseSetting__index.0946d590.async.js index 8e25b90992..aaa3d3fe6f 100644 --- a/p__Engineering__Lists__CurseSetting__index.aa7142b7.async.js +++ b/p__Engineering__Lists__CurseSetting__index.0946d590.async.js @@ -5836,7 +5836,7 @@ var Page = function Page(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__GraduationIndex__index.29fe1ec7.async.js b/p__Engineering__Lists__GraduationIndex__index.da7cd3d0.async.js similarity index 99% rename from p__Engineering__Lists__GraduationIndex__index.29fe1ec7.async.js rename to p__Engineering__Lists__GraduationIndex__index.da7cd3d0.async.js index ee9a15fb1a..b1841f7709 100644 --- a/p__Engineering__Lists__GraduationIndex__index.29fe1ec7.async.js +++ b/p__Engineering__Lists__GraduationIndex__index.da7cd3d0.async.js @@ -1987,7 +1987,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__StudentList__index.c31f2289.async.js b/p__Engineering__Lists__StudentList__index.39634f45.async.js similarity index 99% rename from p__Engineering__Lists__StudentList__index.c31f2289.async.js rename to p__Engineering__Lists__StudentList__index.39634f45.async.js index 3697df52d8..5758caf81a 100644 --- a/p__Engineering__Lists__StudentList__index.c31f2289.async.js +++ b/p__Engineering__Lists__StudentList__index.39634f45.async.js @@ -1138,7 +1138,7 @@ var UploadExcel = function UploadExcel(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__TeacherList__index.2b682db7.async.js b/p__Engineering__Lists__TeacherList__index.9bec3a58.async.js similarity index 99% rename from p__Engineering__Lists__TeacherList__index.2b682db7.async.js rename to p__Engineering__Lists__TeacherList__index.9bec3a58.async.js index 28827f61c0..59d4cd37e9 100644 --- a/p__Engineering__Lists__TeacherList__index.2b682db7.async.js +++ b/p__Engineering__Lists__TeacherList__index.9bec3a58.async.js @@ -1603,7 +1603,7 @@ var UploadExcel = function UploadExcel(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__TrainingObjectives__index.a6e50486.async.js b/p__Engineering__Lists__TrainingObjectives__index.cb04d371.async.js similarity index 99% rename from p__Engineering__Lists__TrainingObjectives__index.a6e50486.async.js rename to p__Engineering__Lists__TrainingObjectives__index.cb04d371.async.js index 5f4740e051..2102323b34 100644 --- a/p__Engineering__Lists__TrainingObjectives__index.a6e50486.async.js +++ b/p__Engineering__Lists__TrainingObjectives__index.cb04d371.async.js @@ -1686,7 +1686,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__TrainingProgram__Add__index.feb56992.async.js b/p__Engineering__Lists__TrainingProgram__Add__index.dfea87f4.async.js similarity index 99% rename from p__Engineering__Lists__TrainingProgram__Add__index.feb56992.async.js rename to p__Engineering__Lists__TrainingProgram__Add__index.dfea87f4.async.js index b371d592c4..4f139aa2ed 100644 --- a/p__Engineering__Lists__TrainingProgram__Add__index.feb56992.async.js +++ b/p__Engineering__Lists__TrainingProgram__Add__index.dfea87f4.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[84546,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[84546,52720],{ /***/ 17553: /*!*******************************************************************************!*\ @@ -1225,7 +1225,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Engineering__Lists__TrainingProgram__Edit__index.97d911d0.async.js b/p__Engineering__Lists__TrainingProgram__Edit__index.0970a31a.async.js similarity index 99% rename from p__Engineering__Lists__TrainingProgram__Edit__index.97d911d0.async.js rename to p__Engineering__Lists__TrainingProgram__Edit__index.0970a31a.async.js index 37237471cf..460aba2ea2 100644 --- a/p__Engineering__Lists__TrainingProgram__Edit__index.97d911d0.async.js +++ b/p__Engineering__Lists__TrainingProgram__Edit__index.0970a31a.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[75357,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75357,52720],{ /***/ 22653: /*!********************************************************************************!*\ @@ -1269,7 +1269,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Equipment__Maintenance__index.a393aed2.async.js b/p__Equipment__Maintenance__index.715c59df.async.js similarity index 99% rename from p__Equipment__Maintenance__index.a393aed2.async.js rename to p__Equipment__Maintenance__index.715c59df.async.js index 3fa08e4847..b1787381db 100644 --- a/p__Equipment__Maintenance__index.a393aed2.async.js +++ b/p__Equipment__Maintenance__index.715c59df.async.js @@ -607,7 +607,7 @@ var DeviceTypePage = function DeviceTypePage(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Graduations__Lists__Archives__index.21892671.async.js b/p__Graduations__Lists__Archives__index.779d49c2.async.js similarity index 99% rename from p__Graduations__Lists__Archives__index.21892671.async.js rename to p__Graduations__Lists__Archives__index.779d49c2.async.js index 6408569dd7..47f2d6fb95 100644 --- a/p__Graduations__Lists__Archives__index.21892671.async.js +++ b/p__Graduations__Lists__Archives__index.779d49c2.async.js @@ -1870,7 +1870,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Graduations__Lists__Tasks__index.57825891.async.js b/p__Graduations__Lists__Tasks__index.09b4febb.async.js similarity index 99% rename from p__Graduations__Lists__Tasks__index.57825891.async.js rename to p__Graduations__Lists__Tasks__index.09b4febb.async.js index b52956c73b..7289b3b5aa 100644 --- a/p__Graduations__Lists__Tasks__index.57825891.async.js +++ b/p__Graduations__Lists__Tasks__index.09b4febb.async.js @@ -2224,7 +2224,7 @@ if (false) {} /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Laboratory__LaboratoryCenter__index.de594cee.async.js b/p__Laboratory__LaboratoryCenter__index.397343ea.async.js similarity index 99% rename from p__Laboratory__LaboratoryCenter__index.de594cee.async.js rename to p__Laboratory__LaboratoryCenter__index.397343ea.async.js index 1606479ff1..19999292de 100644 --- a/p__Laboratory__LaboratoryCenter__index.de594cee.async.js +++ b/p__Laboratory__LaboratoryCenter__index.397343ea.async.js @@ -1136,7 +1136,7 @@ Tag.CheckableTag = tag_CheckableTag; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Laboratory__MyLaboratory__Info__rooms__createRoom__index.b6f068ed.async.js b/p__Laboratory__MyLaboratory__Info__rooms__createRoom__index.227a75e2.async.js similarity index 99% rename from p__Laboratory__MyLaboratory__Info__rooms__createRoom__index.b6f068ed.async.js rename to p__Laboratory__MyLaboratory__Info__rooms__createRoom__index.227a75e2.async.js index 9f630f20b1..cc8c68357e 100644 --- a/p__Laboratory__MyLaboratory__Info__rooms__createRoom__index.b6f068ed.async.js +++ b/p__Laboratory__MyLaboratory__Info__rooms__createRoom__index.227a75e2.async.js @@ -1308,7 +1308,7 @@ var customList = [{ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Laboratory__MyLaboratory__index.dd7daf97.async.js b/p__Laboratory__MyLaboratory__index.05a6f955.async.js similarity index 99% rename from p__Laboratory__MyLaboratory__index.dd7daf97.async.js rename to p__Laboratory__MyLaboratory__index.05a6f955.async.js index f034eb229c..958ab7dc87 100644 --- a/p__Laboratory__MyLaboratory__index.dd7daf97.async.js +++ b/p__Laboratory__MyLaboratory__index.05a6f955.async.js @@ -1232,7 +1232,7 @@ Tag.CheckableTag = tag_CheckableTag; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Laboratory__MyReservation__index.5e052c14.async.js b/p__Laboratory__MyReservation__index.b86ce89e.async.js similarity index 99% rename from p__Laboratory__MyReservation__index.5e052c14.async.js rename to p__Laboratory__MyReservation__index.b86ce89e.async.js index e4bae1efe0..6778a79168 100644 --- a/p__Laboratory__MyReservation__index.5e052c14.async.js +++ b/p__Laboratory__MyReservation__index.b86ce89e.async.js @@ -1352,7 +1352,7 @@ var Navigation = function Navigation(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Laboratory__OpenReservation__OpenReservationDetail__index.c318367d.async.js b/p__Laboratory__OpenReservation__OpenReservationDetail__index.6ea56344.async.js similarity index 99% rename from p__Laboratory__OpenReservation__OpenReservationDetail__index.c318367d.async.js rename to p__Laboratory__OpenReservation__OpenReservationDetail__index.6ea56344.async.js index 78f35ee3c0..c0f98a29de 100644 --- a/p__Laboratory__OpenReservation__OpenReservationDetail__index.c318367d.async.js +++ b/p__Laboratory__OpenReservation__OpenReservationDetail__index.6ea56344.async.js @@ -598,7 +598,7 @@ var OpenReservationDetail = function OpenReservationDetail(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Laboratory__OpenReservation__OpenReservationStatistics__index.d545f6e9.async.js b/p__Laboratory__OpenReservation__OpenReservationStatistics__index.9ecbe9a0.async.js similarity index 99% rename from p__Laboratory__OpenReservation__OpenReservationStatistics__index.d545f6e9.async.js rename to p__Laboratory__OpenReservation__OpenReservationStatistics__index.9ecbe9a0.async.js index a6588fd5b4..448f8dc314 100644 --- a/p__Laboratory__OpenReservation__OpenReservationStatistics__index.d545f6e9.async.js +++ b/p__Laboratory__OpenReservation__OpenReservationStatistics__index.9ecbe9a0.async.js @@ -673,7 +673,7 @@ var OpenReservationStatistics = function OpenReservationStatistics(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Materials__Entry__index.17bb3062.async.js b/p__Materials__Entry__index.a0bd129b.async.js similarity index 99% rename from p__Materials__Entry__index.17bb3062.async.js rename to p__Materials__Entry__index.a0bd129b.async.js index ea0db910ad..13f8708ff7 100644 --- a/p__Materials__Entry__index.17bb3062.async.js +++ b/p__Materials__Entry__index.a0bd129b.async.js @@ -778,7 +778,7 @@ var Navigation = function Navigation(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Materials__ItemAssets__AddProcure__index.2f84a370.async.js b/p__Materials__ItemAssets__AddProcure__index.4d1bf3e8.async.js similarity index 99% rename from p__Materials__ItemAssets__AddProcure__index.2f84a370.async.js rename to p__Materials__ItemAssets__AddProcure__index.4d1bf3e8.async.js index 9d155bc71b..561fb4056f 100644 --- a/p__Materials__ItemAssets__AddProcure__index.2f84a370.async.js +++ b/p__Materials__ItemAssets__AddProcure__index.4d1bf3e8.async.js @@ -935,7 +935,7 @@ var Navigation = function Navigation(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Materials__ItemAssets__AddReceiveScene__index.861e7b9b.async.js b/p__Materials__ItemAssets__AddReceiveScene__index.988aa107.async.js similarity index 99% rename from p__Materials__ItemAssets__AddReceiveScene__index.861e7b9b.async.js rename to p__Materials__ItemAssets__AddReceiveScene__index.988aa107.async.js index ab053900f7..b9a6d76527 100644 --- a/p__Materials__ItemAssets__AddReceiveScene__index.861e7b9b.async.js +++ b/p__Materials__ItemAssets__AddReceiveScene__index.988aa107.async.js @@ -894,7 +894,7 @@ var Navigation = function Navigation(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Materials__ItemAssets__AddReceive__index.c0aee2b8.async.js b/p__Materials__ItemAssets__AddReceive__index.b604743a.async.js similarity index 99% rename from p__Materials__ItemAssets__AddReceive__index.c0aee2b8.async.js rename to p__Materials__ItemAssets__AddReceive__index.b604743a.async.js index ed86a3465f..47924fa9b0 100644 --- a/p__Materials__ItemAssets__AddReceive__index.c0aee2b8.async.js +++ b/p__Materials__ItemAssets__AddReceive__index.b604743a.async.js @@ -1252,7 +1252,7 @@ var Navigation = function Navigation(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Materials__Receive__index.5ec57613.async.js b/p__Materials__Receive__index.5e9a827c.async.js similarity index 99% rename from p__Materials__Receive__index.5ec57613.async.js rename to p__Materials__Receive__index.5e9a827c.async.js index 4608bbb221..88ae9ed779 100644 --- a/p__Materials__Receive__index.5ec57613.async.js +++ b/p__Materials__Receive__index.5e9a827c.async.js @@ -1647,7 +1647,7 @@ var Navigation = function Navigation(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Paperlibrary__Add__index.a409a4ea.async.js b/p__Paperlibrary__Add__index.1cd90b90.async.js similarity index 91% rename from p__Paperlibrary__Add__index.a409a4ea.async.js rename to p__Paperlibrary__Add__index.1cd90b90.async.js index 48455b6520..a0d1d8cd43 100644 --- a/p__Paperlibrary__Add__index.a409a4ea.async.js +++ b/p__Paperlibrary__Add__index.1cd90b90.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[93260,34893],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[93260,34893,86618],{ /***/ 37318: /*!*********************************!*\ @@ -197,6 +197,476 @@ var DigitalLabel = function DigitalLabel(_ref) { /***/ }), +/***/ 86618: +/*!**********************************************************!*\ + !*** ./src/components/MultiUpload/index.tsx + 3 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + z: function() { return /* binding */ coverToFileList; }, + Z: function() { return /* binding */ MultiUpload; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// 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/upload/index.js +var upload = __webpack_require__(60028); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var es_message = __webpack_require__(8591); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var modal = __webpack_require__(43418); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(69423); +// EXTERNAL MODULE: ./src/pages/MoopCases/FormPanel/service.ts +var service = __webpack_require__(64602); +// EXTERNAL MODULE: ./src/assets/images/uploadImg.svg +var images_uploadImg = __webpack_require__(43929); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/components/SingleUpload/index.tsx + + + + + + + + + + + +var uploadNameSizeSeperator = '  '; +function bytesToSize(bytes) { + var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; + if (bytes == 0) return '0 Byte'; + var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10); + return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; +} +/* harmony default export */ var SingleUpload = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? [] : _ref$value, + action = _ref.action, + _onChange = _ref.onChange, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 150 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '文件上传' : _ref$title, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? null : _ref$accept, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? undefined : _ref$tip; + var uploadProps = { + multiple: false, + fileList: value, + accept: accept, + withCredentials: true, + beforeUpload: function beforeUpload(file) { + var fileSize = file.size / 1024 / 1024; + if (!(fileSize < maxSize)) { + message.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20")); + return Promise.reject(); + } + return true; + }, + action: "".concat(ENV.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + var fileList = _toConsumableArray(info.fileList); + fileList = fileList.map(function (file) { + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return _objectSpread({}, file); + }); + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + message.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + _onChange([]); + return; + } + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) { + var fileSize, id, rs; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + fileSize = file.size / 1024 / 1024; + if (!(file.status === 'uploading')) { + _context.next = 3; + break; + } + return _context.abrupt("return", true); + case 3: + if (fileSize < maxSize) { + _context.next = 7; + break; + } + return _context.abrupt("return", true); + case 7: + id = file.response ? file.response.id : file.uid; + if (!id) { + _context.next = 15; + break; + } + _context.next = 11; + return removeAttachment(file.response ? file.response.id : file.id); + case 11: + rs = _context.sent; + return _context.abrupt("return", rs); + case 15: + return _context.abrupt("return", true); + case 16: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/_jsx("div", { + className: "single-upload ".concat(className ? className : ''), + children: /*#__PURE__*/_jsxs(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, { + children: [/*#__PURE__*/_jsxs(Button + // type="primary" + , { + title: value.length > 0 ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + disabled: value.length > 0 + // ghost + , + className: "upload_button", + children: [/*#__PURE__*/_jsx("img", { + className: "aBtn_img", + src: uploadImg + }), title] + }), /*#__PURE__*/_jsx("span", { + onClick: onCancel, + className: "upload_text", + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "M)") + })] + })) + }); +}); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules +var InboxOutlined = __webpack_require__(34023); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/assets/images/disupload.png +var disupload_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAT1JREFUSEvtljFOxDAQRT1GSKk4CFwgNGOLhmIrhIAGiQ5atuUAtGwLHRINIERFQYPsacgF4CBUkRAzyKsUq8DGToKonNbz/xtPfkYBNeBxzp0FmbX2vK8c+gqI6JSZL4JOaz1FxFkfj15A7/2xiFwuAgDgxBhzlQpNBhLRoYhci4huARkAjhDxJgWaBCSiXWa+VUqtLDH90lofIOJDDBoFEtFERB5FZLXLDAA+AWAHEZ8667oOvfdbIhIMiljnzXkNABNjzMuy+ugN20IiWmfmtyalG4j4ntjMvCwDf0wrjzQWoP8PjXNOmq72rbX3sQ6HvEPn3J5S6m7+WWTgX2yaPNLOoOaU/jaeUaGpqmqtruvtYFwUxXNZlh+xZTEKGDPvc8Pwr/k6xDBBs6mUmrZXW4JufMniLh3vluDwDTtJLJ7BMSj1AAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.tsx + + + + + + + + + + + + + + + + + +var Dragger = upload/* default */.Z.Dragger; +function coverToFileList(data) { + var rs = []; + if (data && data.length > 0) { + rs = data.map(function (item) { + return { + uid: item.id, + id: item.id, + name: item.title + uploadNameSizeSeperator + item.filesize, + url: item.url, + filesize: item.filesize, + status: 'done', + response: { + id: item.id + } + }; + }); + } + return rs; +} +/* harmony default export */ var MultiUpload = (function (_ref) { + var value = _ref.value, + _onChange = _ref.onChange, + action = _ref.action, + data = _ref.data, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 5 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '上传附件' : _ref$title, + _ref$showRemoveModal = _ref.showRemoveModal, + showRemoveModal = _ref$showRemoveModal === void 0 ? false : _ref$showRemoveModal, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? '' : _ref$accept, + additionalText = _ref.additionalText, + isDragger = _ref.isDragger, + _ref$number = _ref.number, + number = _ref$number === void 0 ? 1000 : _ref$number, + _ref$aloneClear = _ref.aloneClear, + aloneClear = _ref$aloneClear === void 0 ? false : _ref$aloneClear, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? '' : _ref$tip, + _ref$tipStyle = _ref.tipStyle, + tipStyle = _ref$tipStyle === void 0 ? {} : _ref$tipStyle; + var _useState = (0,_react_17_0_2_react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + disabled = _useState2[0], + setDisabled = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(value || []), + _useState4 = slicedToArray_default()(_useState3, 2), + fileList = _useState4[0], + setFileList = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(1), + _useState6 = slicedToArray_default()(_useState5, 2), + nums = _useState6[0], + setnums = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (value) { + if (nums === 1) { + setFileList(toConsumableArray_default()(value)); + } + setnums(2); + if (number === (value === null || value === void 0 ? void 0 : value.length)) { + setDisabled(true); + } + } + }, [value]); + var clearLastFile = function clearLastFile() { + setTimeout(function () { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + }, 500); + }; + var uploadProps = { + multiple: true, + disabled: false, + accept: accept, + withCredentials: true, + fileList: fileList, + // fileList: fileList?.length ? fileList : value, + beforeUpload: function beforeUpload(file, fileArr) { + var fileSize = file.size / 1024 / 1024 / 1024; + if (fileList.concat(fileArr).length > number) { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + es_message/* default */.ZP.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(number, "\u4E2A\u6587\u4EF6")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + if (!(fileSize < maxSize)) { + es_message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "GB).")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + return true; + }, + data: data, + action: action || "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + if (info.file.status === "removed") { + fileList = info.fileList; + } else { + fileList = (0,lodash.uniqBy)([].concat(toConsumableArray_default()(info.fileList), toConsumableArray_default()(fileList)), 'uid'); + } + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + es_message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + return; + } + if (fileList.length >= number) setDisabled(true);else setDisabled(false); + setFileList(toConsumableArray_default()(fileList)); + fileList = fileList.map(function (file) { + var _file$response; + if (file !== null && file !== void 0 && (_file$response = file.response) !== null && _file$response !== void 0 && _file$response.id) { + var _file$response2; + file.url = "/api/attachments/".concat(file === null || file === void 0 || (_file$response2 = file.response) === null || _file$response2 === void 0 ? void 0 : _file$response2.id); + } + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return objectSpread2_default()({}, file); + }); + console.log('info:', info, fileList); + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(file) { + var remove; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + remove = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var id, rs; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + id = file.response ? file.response.id : file.id; + if (!id) { + _context.next = 8; + break; + } + _context.next = 4; + return (0,service/* removeAttachment */.JZ)(file.response ? file.response.id : file.uid); + case 4: + rs = _context.sent; + return _context.abrupt("return", Promise.resolve(rs)); + case 8: + return _context.abrupt("return", true); + case 9: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function remove() { + return _ref2.apply(this, arguments); + }; + }(); + if (!showRemoveModal) { + _context3.next = 5; + break; + } + return _context3.abrupt("return", new Promise(function (resolve, reject) { + modal/* default */.Z.confirm({ + centered: true, + width: 530, + okText: '确定', + cancelText: '取消', + title: '提示', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "tc font16", + children: "\u662F\u5426\u786E\u8BA4\u5220\u9664?" + }), + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return remove(); + case 2: + res = _context2.sent; + es_message/* default */.ZP.success('删除成功'); + resolve(true); + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function onCancel() { + return resolve(false); + } + }); + })); + case 5: + _context3.next = 7; + return remove(); + case 7: + return _context3.abrupt("return", _context3.sent); + case 8: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "multi-upload ".concat(className ? className : ''), + children: [isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-drag-icon", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(InboxOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "ant-upload-text", + children: ["\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A", maxSize, "MB)", ' '] + }), additionalText] + })), !isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + disabled: disabled, + className: disabled ? 'disable_upload_button' : 'upload_button', + title: disabled ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: "aBtn_img", + src: !disabled ? images_uploadImg/* default */.Z : disupload_namespaceObject + }), title] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: onCancel, + className: "upload_text", + style: objectSpread2_default()({}, tipStyle), + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "GB)") + })] + }))] + }); +}); + +/***/ }), + /***/ 18890: /*!*************************************************************!*\ !*** ./src/components/markdown-editor/code-block/index.tsx ***! @@ -2185,6 +2655,64 @@ var UploadQuestions = function UploadQuestions(_ref) { /***/ }), +/***/ 64602: +/*!**************************************************!*\ + !*** ./src/pages/MoopCases/FormPanel/service.ts ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ $J: function() { return /* binding */ getMoopCase; }, +/* harmony export */ JZ: function() { return /* binding */ removeAttachment; }, +/* harmony export */ bN: function() { return /* binding */ updateMoopCase; }, +/* harmony export */ jP: function() { return /* binding */ addMoopCase; }, +/* harmony export */ rO: function() { return /* binding */ getLibraryTags; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 82710); + + + +function getMoopCase(id) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)("libraries/".concat(id, ".json")); +} +function getLibraryTags() { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)('library_tags.json'); +} +function removeAttachment(_x) { + return _removeAttachment.apply(this, arguments); +} +function _removeAttachment() { + _removeAttachment = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(id) { + var response; + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .del */ .IV)("attachments/".concat(id, ".json")); + case 2: + response = _context.sent; + return _context.abrupt("return", response.status === 0); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _removeAttachment.apply(this, arguments); +} +function addMoopCase(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .post */ .v_)("libraries.json", params); +} +function updateMoopCase(id, params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .put */ .gz)("libraries/".concat(id, ".json"), params); +} + +/***/ }), + /***/ 20211: /*!****************************************************!*\ !*** ./src/pages/Paperlibrary/Add/TitleEditor.tsx ***! @@ -4172,11 +4700,15 @@ var ShixunEditor_DragQuestions = function DragQuestions(_ref) { /* harmony default export */ var ShixunEditor = (ShixunEditor_DragQuestions); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/components/Saveitem.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___ljmk3","flex_space_between":"flex_space_between___Fy45C","flex_box_vertical_center":"flex_box_vertical_center___SoC1C","flex_box_center_end":"flex_box_center_end___MumBX","flex_box_column":"flex_box_column___cutpt","flex-col":"flex-col___csBUB","flex-row":"flex-row___Bu0P7","justify-start":"justify-start___K2_pF","justify-center":"justify-center___Zk01b","justify-end":"justify-end___lH1KP","justify-evenly":"justify-evenly___cwxvS","justify-around":"justify-around___YcW5h","justify-between":"justify-between___PUq5O","align-start":"align-start___RL43Z","align-center":"align-center___BM5Q3","align-end":"align-end___X2GFF","warp":"warp___w1JUC","indexTag":"indexTag___LPncW","normalWrap":"normalWrap___pEIzs","redio":"redio___I6tXM","redioitem":"redioitem___cS4Gp","redioitemyes":"redioitemyes___JBDmk","title":"title___XAohQ","titleyes":"titleyes____bNQk","yestag":"yestag___zQnb1","checkbox":"checkbox___MHadU","checkboxitem":"checkboxitem___KX7mB","checkboxitemyes":"checkboxitemyes___MpOWf","bottom":"bottom___FkHfO","bottomitem":"bottomitem___AS0Qp","left":"left___U23z1","right":"right___yJVEk","completion":"completion___Bu5G6","content":"content___LySPW","items":"items___ETMq9","simple":"simple___XX5t0","shixunWrapper":"shixunWrapper___w6oIG","shixun":"shixun___ePWKn","score":"score___nGh9k","qtitle":"qtitle___DAMW1","program":"program___Mm1qL","combination":"combination___Sw7S6","qtype":"qtype___Xdl60"}); +/* harmony default export */ var Saveitemmodules = ({"flex_box_center":"flex_box_center___ljmk3","flex_space_between":"flex_space_between___Fy45C","flex_box_vertical_center":"flex_box_vertical_center___SoC1C","flex_box_center_end":"flex_box_center_end___MumBX","flex_box_column":"flex_box_column___cutpt","flex-col":"flex-col___csBUB","flex-row":"flex-row___Bu0P7","justify-start":"justify-start___K2_pF","justify-center":"justify-center___Zk01b","justify-end":"justify-end___lH1KP","justify-evenly":"justify-evenly___cwxvS","justify-around":"justify-around___YcW5h","justify-between":"justify-between___PUq5O","align-start":"align-start___RL43Z","align-center":"align-center___BM5Q3","align-end":"align-end___X2GFF","warp":"warp___w1JUC","indexTag":"indexTag___LPncW","normalWrap":"normalWrap___pEIzs","redio":"redio___I6tXM","redioitem":"redioitem___cS4Gp","redioitemyes":"redioitemyes___JBDmk","title":"title___XAohQ","titleyes":"titleyes____bNQk","yestag":"yestag___zQnb1","checkbox":"checkbox___MHadU","checkboxitem":"checkboxitem___KX7mB","checkboxitemyes":"checkboxitemyes___MpOWf","bottom":"bottom___FkHfO","bottomitem":"bottomitem___AS0Qp","left":"left___U23z1","right":"right___yJVEk","completion":"completion___Bu5G6","content":"content___LySPW","items":"items___ETMq9","simple":"simple___XX5t0","shixunWrapper":"shixunWrapper___w6oIG","shixun":"shixun___ePWKn","score":"score___nGh9k","qtitle":"qtitle___DAMW1","program":"program___Mm1qL","combination":"combination___Sw7S6","qtype":"qtype___Xdl60","fileCss":"fileCss___x2Eto","file_icon":"file_icon___mZopB","filet_title":"filet_title___N6IbY","file_size":"file_size___l1wkt"}); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js var row = __webpack_require__(95237); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js var col = __webpack_require__(43604); +// EXTERNAL MODULE: ./src/components/PreviewAll/index.tsx + 3 modules +var PreviewAll = __webpack_require__(97672); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PaperClipOutlined.js + 1 modules +var PaperClipOutlined = __webpack_require__(94041); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/components/SaveItem.tsx @@ -4185,11 +4717,60 @@ var col = __webpack_require__(43604); + + + + + + //数组对应值 var tagDotData = ['A.', 'B.', 'C.', 'D.', 'E.', 'F.', 'G.', 'H.', 'I.', 'J.', 'K.', 'L.', 'M.', 'N.', 'O.', 'P.', 'Q.', 'R.', 'S.', 'T.', 'U.', 'V.', 'W.', 'X.', 'Y.', 'Z.']; var SaveItem_DragQuestions = function DragQuestions(_ref) { - var _qitem$question_choic, _qitem$question_choic2, _qitem$standard_answe, _qitem$standard_answe2, _qitem$shixun, _qitem$sub_exercise_q, _qitem$program_attr, _qitem$tag_discipline, _qitem$tag_discipline2, _qitem$tag_discipline3, _qitem$tag_discipline4; + var _qitem$question_choic, _qitem$question_choic2, _qitem$standard_answe, _qitem$attachments, _qitem$attachments4, _qitem$attachments5, _qitem$standard_answe2, _qitem$shixun, _qitem$sub_exercise_q, _qitem$program_attr, _qitem$tag_discipline, _qitem$tag_discipline2, _qitem$tag_discipline3, _qitem$tag_discipline4; var qitem = _ref.qitem; + var monacoValueRef = (0,_react_17_0_2_react.useRef)(); + var _useState = (0,_react_17_0_2_react.useState)({ + content: "", + type: "" + }), + _useState2 = slicedToArray_default()(_useState, 2), + previewData = _useState2[0], + setPreviewData = _useState2[1]; + var preview = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!((item === null || item === void 0 ? void 0 : item.file_type) === "txt")) { + _context.next = 5; + break; + } + _context.next = 3; + return (0,fetch/* default */.ZP)(item === null || item === void 0 ? void 0 : item.url, { + method: "get", + headers: { + "Content-Type": "application/xml" + } + }); + case 3: + res = _context.sent; + monacoValueRef.current = res; + case 5: + setPreviewData({ + type: item === null || item === void 0 ? void 0 : item.file_type, + content: item === null || item === void 0 ? void 0 : item.url + }); + case 6: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function preview(_x) { + return _ref2.apply(this, arguments); + }; + }(); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.warp, children: [((qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 0 || (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 2) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { @@ -4261,7 +4842,26 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { }) }), (qitem === null || qitem === void 0 ? void 0 : qitem.question_type) === 4 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: Saveitemmodules.simple, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: [(qitem === null || qitem === void 0 || (_qitem$attachments = qitem.attachments) === null || _qitem$attachments === void 0 ? void 0 : _qitem$attachments.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Saveitemmodules.fileCss, + onClick: function onClick() { + var _qitem$attachments2; + if (qitem !== null && qitem !== void 0 && (_qitem$attachments2 = qitem.attachments) !== null && _qitem$attachments2 !== void 0 && (_qitem$attachments2 = _qitem$attachments2[0]) !== null && _qitem$attachments2 !== void 0 && _qitem$attachments2.url) { + var _qitem$attachments3; + preview(qitem === null || qitem === void 0 || (_qitem$attachments3 = qitem.attachments) === null || _qitem$attachments3 === void 0 ? void 0 : _qitem$attachments3[0]); + } + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.file_icon, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(PaperClipOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.filet_title, + children: qitem === null || qitem === void 0 || (_qitem$attachments4 = qitem.attachments) === null || _qitem$attachments4 === void 0 || (_qitem$attachments4 = _qitem$attachments4[0]) === null || _qitem$attachments4 === void 0 ? void 0 : _qitem$attachments4.title + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Saveitemmodules.file_size, + children: qitem === null || qitem === void 0 || (_qitem$attachments5 = qitem.attachments) === null || _qitem$attachments5 === void 0 || (_qitem$attachments5 = _qitem$attachments5[0]) === null || _qitem$attachments5 === void 0 ? void 0 : _qitem$attachments5.filesize + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: Saveitemmodules.title, children: "\u53C2\u8003\u7B54\u6848" }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { @@ -4372,6 +4972,30 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { }) })] })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(PreviewAll/* default */.Z, { + close: true, + data: previewData === null || previewData === void 0 ? void 0 : previewData.content, + type: previewData === null || previewData === void 0 ? void 0 : previewData.type, + hasMask: true, + monacoEditor: { + value: monacoValueRef.current, + language: "txt", + onChange: function onChange() {}, + options: { + readOnly: true, + fontSize: 14, + minimap: { + enabled: false + } + } + }, + onImgDimensions: null, + onClose: function onClose() { + setPreviewData({ + content: "", + type: "" + }); + } })] }); }; @@ -4380,6 +5004,8 @@ var SaveItem_DragQuestions = function DragQuestions(_ref) { var UploadQuestions = __webpack_require__(41351); // EXTERNAL MODULE: ./src/components/QuestionEditor/SubjectiveQuestionEditor.tsx var SubjectiveQuestionEditor = __webpack_require__(25218); +// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 3 modules +var MultiUpload = __webpack_require__(86618); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/EditPotin/components/Questions/SubjectiveQuestionEditor.tsx @@ -4392,6 +5018,7 @@ var SubjectiveQuestionEditor = __webpack_require__(25218); + var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { var qitem = _ref.qitem, setisedit = _ref.setisedit, @@ -4408,7 +5035,8 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { name: qitem.question_title, answer_texts: qitem.standard_answer, - repeat_answer: !qitem.repeat_answer + repeat_answer: !qitem.repeat_answer, + attachment_ids: (0,MultiUpload/* coverToFileList */.z)(qitem === null || qitem === void 0 ? void 0 : qitem.attachments) })); }, [qitem]); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -4416,6 +5044,11 @@ var SubjectiveQuestionEditor_DragQuestions = function DragQuestions(_ref) { form: form, colon: false, onFinish: function onFinish(values) { + var _values$attachment_id; + values.attachment_ids = values === null || values === void 0 || (_values$attachment_id = values.attachment_ids) === null || _values$attachment_id === void 0 ? void 0 : _values$attachment_id.map(function (item) { + var _item$response; + return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id; + }); seveeditor(objectSpread2_default()(objectSpread2_default()({}, qitem), values)); }, onFinishFailed: ( /*#__PURE__*/function () { @@ -7976,6 +8609,64 @@ var SvgShengxu = function SvgShengxu(props) { /***/ }), +/***/ 43929: +/*!*****************************************!*\ + !*** ./src/assets/images/uploadImg.svg ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony export ReactComponent */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgUploadImg = function SvgUploadImg(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 14, + height: 14, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u5F62\u72B6"), /* @__PURE__ */React.createElement("path", { + d: "M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z", + fill: "#3061D0", + fillRule: "nonzero" + })); +}; + +/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4="); + +/***/ }), + /***/ 43167: /*!*******************************************************!*\ !*** ./src/pages/Paperlibrary/Add/index.less?modules ***! diff --git a/p__Paperlibrary__Add__index.69546d4c.chunk.css b/p__Paperlibrary__Add__index.8ab0d1ea.chunk.css similarity index 96% rename from p__Paperlibrary__Add__index.69546d4c.chunk.css rename to p__Paperlibrary__Add__index.8ab0d1ea.chunk.css index fd36efed06..767409f3a8 100644 --- a/p__Paperlibrary__Add__index.69546d4c.chunk.css +++ b/p__Paperlibrary__Add__index.8ab0d1ea.chunk.css @@ -2624,6 +2624,25 @@ button:active { font-weight: 400; font-size: 16px; } +.warp___w1JUC .fileCss___x2Eto { + cursor: pointer; + width: 100%; + margin-bottom: 20px; + display: flex; + align-items: center; + font-size: 14px; +} +.warp___w1JUC .fileCss___x2Eto .file_icon___mZopB { + color: #999; + margin-right: 5px; +} +.warp___w1JUC .fileCss___x2Eto .filet_title___N6IbY { + color: #3061D0; +} +.warp___w1JUC .fileCss___x2Eto .file_size___l1wkt { + color: #999; + margin-left: 20px; +} /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Edit/components/UploadQuestions/index.less?modules ***! @@ -2700,6 +2719,82 @@ button:active { color: #3061D0; } +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.disable_upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; +} +.disable_upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Paperlibrary/EditPotin/components/AddQuestionsModal/index.less?modules ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Paperlibrary__Random__Detail__index.eb2757b1.async.js b/p__Paperlibrary__Random__Detail__index.da9defd1.async.js similarity index 99% rename from p__Paperlibrary__Random__Detail__index.eb2757b1.async.js rename to p__Paperlibrary__Random__Detail__index.da9defd1.async.js index ba3aaea03e..270ce968d1 100644 --- a/p__Paperlibrary__Random__Detail__index.eb2757b1.async.js +++ b/p__Paperlibrary__Random__Detail__index.da9defd1.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[33784,52720,45504],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[33784,52720],{ /***/ 48508: /*!********************************************************************!*\ diff --git a/p__Paperlibrary__Random__Edit__index.31e28a4d.chunk.css b/p__Paperlibrary__Random__Edit__index.15bade6c.chunk.css similarity index 97% rename from p__Paperlibrary__Random__Edit__index.31e28a4d.chunk.css rename to p__Paperlibrary__Random__Edit__index.15bade6c.chunk.css index ce1357bd99..f89c317d0c 100644 --- a/p__Paperlibrary__Random__Edit__index.31e28a4d.chunk.css +++ b/p__Paperlibrary__Random__Edit__index.15bade6c.chunk.css @@ -4685,6 +4685,82 @@ div[class~='ant-collapse-borderless'] { display: none; } +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.disable_upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; +} +.disable_upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MyProblem/TestCasePanel/index.less ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Paperlibrary__Random__Edit__index.880e58c5.async.js b/p__Paperlibrary__Random__Edit__index.48f9b2a3.async.js similarity index 67% rename from p__Paperlibrary__Random__Edit__index.880e58c5.async.js rename to p__Paperlibrary__Random__Edit__index.48f9b2a3.async.js index f08d3232cc..e79084f0cc 100644 --- a/p__Paperlibrary__Random__Edit__index.880e58c5.async.js +++ b/p__Paperlibrary__Random__Edit__index.48f9b2a3.async.js @@ -1,5 +1,112 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[75816,34893,81001],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[75816,52720,34893,81001,86618],{ + +/***/ 94229: +/*!***********************************************!*\ + !*** ./src/components/Editor/NullMDEditor.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ NullMDEditor; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/classCallCheck.js */ 82100); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createClass.js */ 29186); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/assertThisInitialized.js */ 13720); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/inherits.js */ 80619); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createSuper.js */ 47074); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js */ 85573); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _markdown_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markdown-editor */ 92042); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + + + + + + + + + +var NULL_CH = '▁'; +var NullMDEditor = /*#__PURE__*/function (_Component) { + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component); + var _super = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor); + function NullMDEditor() { + var _this; + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) { + var currentLine = cursor.line; + var placeholderCountBefore = 0; + for (var _line = 0; _line < currentLine; _line++) { + placeholderCountBefore += cm.getLine(_line).split(NULL_CH).length - 1; + } + var currentLineStringBeforeCursor = cm.getLine(currentLine).substring(0, cursor.ch); + placeholderCountBefore += currentLineStringBeforeCursor.split(NULL_CH).length - 1; + return placeholderCountBefore; + }); + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) { + var rangeText = cm.getRange(change.from, change.to); + var totalPlaceholderCount = 0; + change.text.forEach(function (item) { + totalPlaceholderCount += item.split(NULL_CH).length - 1; + }); + if (rangeText && rangeText.indexOf(NULL_CH) != -1) { + var placeholderCountInRange = rangeText.split(NULL_CH).length - 1; + var placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from); + console.log("\u5220\u9664".concat(placeholderCountInRange, "\u4E2A\uFF0C \u4E4B\u524D\u6709").concat(placeholderCountBefore, "\u4E2A\uFF0C\u65B0\u589E").concat(totalPlaceholderCount, "\u4E2A")); + if (_this.props.deleteEmptyDisabled) { + // 删除空格不检测 + change.cancel(); + } else { + // const ret = window.confirm( + // `确认要删除第${ + // placeholderCountInRange == 1 + // ? placeholderCountBefore + 1 + // : `${placeholderCountBefore + 1}-${placeholderCountBefore + + // placeholderCountInRange}` + // }个空吗?`, + // ); + // if (ret) { + _this.props.onPlaceholderChange && _this.props.onPlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount); + // } else { + // change.cancel(); + // } + } + } else if (totalPlaceholderCount) { + var _placeholderCountBefore = _this.getChCountBeforeCursor(cm, change.from); + console.log("\u65B0\u589E".concat(totalPlaceholderCount, "\u4E2A\uFF0C\u4E4B\u524D\u6709").concat(_placeholderCountBefore, "\u4E2A")); + _this.props.onPlaceholderChange && _this.props.onPlaceholderChange(_placeholderCountBefore, 0, totalPlaceholderCount); + } + }); + return _this; + } + _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{ + key: "render", + value: function render() { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, { + onCMBeforeChange: this.onCMBeforeChange + })); + } + }]); + return NullMDEditor; +}(react__WEBPACK_IMPORTED_MODULE_7__.Component); + + +/***/ }), /***/ 37318: /*!*********************************!*\ @@ -87,308 +194,460 @@ var apiPref = _utils_env__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.API_SE /***/ }), -/***/ 18890: -/*!*************************************************************!*\ - !*** ./src/components/markdown-editor/code-block/index.tsx ***! - \*************************************************************/ +/***/ 72428: +/*!**********************************************!*\ + !*** ./src/components/AsyncButton/index.tsx ***! + \**********************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ h: function() { return /* binding */ MyCodeMirror; } +/* harmony export */ Z: function() { return /* binding */ AsyncButton; } /* harmony export */ }); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 57809); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 3113); -/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror */ 89780); -/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 79906); -/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 44383); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js */ 39647); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 3113); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712); +var _excluded = ["children"]; - -var Option = antd__WEBPACK_IMPORTED_MODULE_7__["default"].Option; - -//https://github.com/codemirror/CodeMirror/issues/4838 -var formItemLayout = { - labelCol: { - span: 4 - }, - wrapperCol: { - span: 20 - } -}; -var LanguageDesc = { - asp: ['ASP', 'vbscript'], - actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], - bash: ['Bash/Bat', 'shell'], - css: ['CSS', 'css'], - c: ['C', 'clike'], - cpp: ['C++', 'clike'], - csharp: ['C#', 'clike'], - coffeescript: ['CoffeeScript', 'coffeescript'], - d: ['D', 'd'], - dart: ['Dart', 'dart'], - delphi: ['Delphi/Pascal', 'pascal'], - erlang: ['Erlang', 'erlang'], - go: ['Golang', 'go'], - groovy: ['Groovy', 'groovy'], - html: ['HTML', 'text/html'], - java: ['Java', 'clike'], - json: ['JSON', 'text/json'], - javascript: ['Javascript', 'javascript'], - lua: ['Lua', 'lua'], - less: ['LESS', 'css'], - markdown: ['Markdown', 'gfm'], - 'objective-c': ['Objective-C', 'clike'], - php: ['PHP', 'php'], - perl: ['Perl', 'perl'], - python: ['Python', 'python'], - r: ['R', 'r'], - rst: ['reStructedText', 'rst'], - ruby: ['Ruby', 'ruby'], - sql: ['SQL', 'sql'], - sass: ['SASS/SCSS', 'sass'], - shell: ['Shell', 'shell'], - scala: ['Scala', 'clike'], - swift: ['Swift', 'clike'], - vb: ['VB/VBScript', 'vb'], - xml: ['XML', 'text/xml'], - yaml: ['YAML', 'yaml'] -}; -/* harmony default export */ __webpack_exports__.Z = (function (_ref) { - var callback = _ref.callback, - onCancel = _ref.onCancel; - var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('python'), - _useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2), - mode = _useState2[0], - setMode = _useState2[1]; - function onSetMode(value) { - setMode(LanguageDesc[value][1]); - } - function onSubmit(values) { - callback(values); - } - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, formItemLayout), {}, { - className: "code-block-panel", - initialValues: { - language: 'python', - content: '' - }, - onFinish: onSubmit, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.Item, { - label: "\u4EE3\u7801\u8BED\u8A00", - name: "language", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__["default"], { - getPopupContainer: function getPopupContainer(trigger) { - return trigger.parentNode; - }, - onChange: onSetMode, - children: Object.keys(LanguageDesc).map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(Option, { - value: item, - children: LanguageDesc[item][0] - }, item); - }) - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.Item, { - label: "\u4EE3\u7801\u5185\u5BB9", - name: "content", - rules: [{ - required: true, - message: '请输入代码内容' - }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(MyCodeMirror, { - mode: mode - }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { - className: "flex-container flex-end", - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, { - type: "primary", - htmlType: "submit", - style: { - marginRight: 10 - }, - children: "\u786E\u5B9A" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, { - type: "ghost", - onClick: onCancel, - children: "\u53D6\u6D88" - })] - })] - })); -}); -function MyCodeMirror(_ref2) { - var value = _ref2.value, - onChange = _ref2.onChange, - mode = _ref2.mode, - _ref2$options = _ref2.options, - options = _ref2$options === void 0 ? {} : _ref2$options; - var el = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(); - var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(), - _useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2), - cm = _useState4[0], - setCm = _useState4[1]; - (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { - if (cm) { - var onChangeHandler = function onChangeHandler(cm) { - var content = cm.getValue(); - onChange && onChange(content); - }; - cm.on('change', onChangeHandler); - return function () { - cm.off('change', onChangeHandler); +var AsyncButton = function AsyncButton(_ref) { + var children = _ref.children, + props = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded); + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false), + _useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), + btnLoading = _useState2[0], + setBtnLoading = _useState2[1]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, { + loading: btnLoading, + onClick: ( /*#__PURE__*/function () { + var _ref2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(e) { + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.prev = 0; + setBtnLoading(true); + _context.next = 4; + return props.onClick(e); + case 4: + setBtnLoading(false); + _context.next = 11; + break; + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](0); + console.error(_context.t0); + setBtnLoading(false); + case 11: + case "end": + return _context.stop(); + } + }, _callee, null, [[0, 7]]); + })); + return function (_x) { + return _ref2.apply(this, arguments); }; - } - }, [cm, onChange]); - (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { - if (cm) { - cm.setOption('mode', mode); - } - }, [cm, mode]); - (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { - if (cm) { - if (value !== cm.getValue() || value === '') { - setTimeout(function () { - cm.setValue(value || ''); - }, 300); - } - } - }, [cm, value]); - (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { - if (el.current && !cm) { - var instance = codemirror__WEBPACK_IMPORTED_MODULE_3___default().fromTextArea(el.current, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ - mode: mode, - lineNumbers: true, - lineWrapping: true, - autoCloseBrackets: true, - tabSize: 4, - autofocus: true, - autoCloseTags: true, - matchBrackets: true, - styleActiveLine: true - }, options)); - setCm(instance); - } - }, [el.current, cm]); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { - className: "my-codemirror-container", - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("textarea", { - ref: el - }) - }); -} + }()), + children: children + })); +}; /***/ }), -/***/ 92042: -/*!***************************************************************!*\ - !*** ./src/components/markdown-editor/index.tsx + 10 modules ***! - \***************************************************************/ +/***/ 2516: +/*!*********************************************************************!*\ + !*** ./src/components/Editor/NullChildEditor/index.jsx + 1 modules ***! + \*********************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { // EXPORTS __webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ markdown_editor; } + Z: function() { return /* binding */ Editor_NullChildEditor; } }); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createForOfIteratorHelper.js -var createForOfIteratorHelper = __webpack_require__(91232); -var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js -var regeneratorRuntime = __webpack_require__(7557); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/classCallCheck.js +var classCallCheck = __webpack_require__(82100); +var classCallCheck_default = /*#__PURE__*/__webpack_require__.n(classCallCheck); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createClass.js +var createClass = __webpack_require__(29186); +var createClass_default = /*#__PURE__*/__webpack_require__.n(createClass); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/inherits.js +var inherits = __webpack_require__(80619); +var inherits_default = /*#__PURE__*/__webpack_require__.n(inherits); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createSuper.js +var createSuper = __webpack_require__(47074); +var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper); +// 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/input/index.js + 3 modules +var input = __webpack_require__(92832); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tag/index.js + 5 modules +var es_tag = __webpack_require__(12563); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var message = __webpack_require__(8591); +;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var NullChildEditormodules = ({"flex":"flex___eLcnP","flex1":"flex1___yUTT7","color666":"color666___TiUhG","error":"error___gTTtv","deleteIcon":"deleteIcon___mnZW1","addIcon":"addIcon___JC5NS"}); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PlusOutlined.js + 1 modules +var PlusOutlined = __webpack_require__(66119); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/components/Editor/NullChildEditor/index.jsx + + + + + + + + + + + +var TextArea = input/* default */.Z.TextArea; +var NullChildEditor = /*#__PURE__*/function (_Component) { + inherits_default()(NullChildEditor, _Component); + var _super = createSuper_default()(NullChildEditor); + function NullChildEditor(props) { + var _this; + classCallCheck_default()(this, NullChildEditor); + _this = _super.call(this, props); + _this.state = { + inputVisible: false, + EditInputIndex: -1 + }; + return _this; + } + // componentDidMount() { + // // console.log(`${this.props.index}----`,this.props,e); + // if (this.props.answers[0].length <= 0) { + // this.setState({ + // EditInputIndex: 0, + // }); + // } + // } + createClass_default()(NullChildEditor, [{ + key: "render", + value: function render() { + var _this2 = this; + var _this$props = this.props, + index = _this$props.index, + onAnswerChange = _this$props.onAnswerChange, + addChildAnswer = _this$props.addChildAnswer, + exerciseIsPublish = _this$props.exerciseIsPublish, + answers = _this$props.answers, + activeOptionErrorIndex = _this$props.activeOptionErrorIndex, + _this$props$flex = _this$props.flex, + flex = _this$props$flex === void 0 ? '0 0 1000px' : _this$props$flex; + console.log('----', answers); + var _this$state = this.state, + inputVisible = _this$state.inputVisible, + EditInputIndex = _this$state.EditInputIndex; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: NullChildEditormodules.flex, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "".concat(NullChildEditormodules.color666, " mb5 mt6"), + style: { + flex: '0 0 90px' + }, + children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, "):"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + border: '1px solid #f6f6f6', + flex: 1, + padding: 10 + }, + children: [answers === null || answers === void 0 ? void 0 : answers.map(function (tag, itemIndex) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: EditInputIndex !== itemIndex ? (tag === null || tag === void 0 ? void 0 : tag.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_tag/* default */.Z, { + className: "edit-tag", + closable: true, + onClose: function onClose(e) { + e.preventDefault(); + if ((answers === null || answers === void 0 ? void 0 : answers.length) === 1 && itemIndex === 0) { + _this2.props.deleteChildAnswermain(index, itemIndex); + } else { + _this2.props.deleteChildAnswer(index, itemIndex); + } + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onDoubleClick: function onDoubleClick(e) { + _this2.setState({ + EditInputIndex: itemIndex + }); + e.preventDefault(); + }, + children: tag + }) + }, tag) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + defaultValue: tag, + style: { + width: 78, + marginRight: 8, + height: 24, + verticalAlign: 'top' + }, + onBlur: function onBlur(e) { + if (e.target.value.replaceAll(' ', '').length <= 0) { + message/* default */.ZP.info('内容不能为纯空格'); + return; + } + onAnswerChange(index, itemIndex, e.target.value); + _this2.setState({ + EditInputIndex: -1, + inputVisible: false + }); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + defaultValue: tag, + style: { + width: 78, + marginRight: 8, + height: 24, + verticalAlign: 'top' + }, + onBlur: function onBlur(e) { + if (e.target.value.replaceAll(' ', '').length <= 0) { + message/* default */.ZP.info('内容不能为纯空格'); + return; + } + onAnswerChange(index, itemIndex, e.target.value); + _this2.setState({ + EditInputIndex: -1, + inputVisible: false + }); + } + }) + }); + }), !inputVisible && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_tag/* default */.Z, { + className: "site-tag-plus", + onClick: function onClick() { + addChildAnswer(index); + + // console.log(this.props.index); + _this2.setState({ + inputVisible: true + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), " \u65B0\u589E\u7B54\u6848"] + })] + })] + }); + } + }]); + return NullChildEditor; +}(_react_17_0_2_react.Component); +/* harmony default export */ var Editor_NullChildEditor = (NullChildEditor); + +/***/ }), + +/***/ 86618: +/*!**********************************************************!*\ + !*** ./src/components/MultiUpload/index.tsx + 3 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + z: function() { return /* binding */ coverToFileList; }, + Z: function() { return /* binding */ MultiUpload; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js var asyncToGenerator = __webpack_require__(41498); var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); // EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js var slicedToArray = __webpack_require__(79800); var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js -var defineProperty = __webpack_require__(85573); -var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/lib/codemirror.js -var codemirror = __webpack_require__(89780); -var codemirror_default = /*#__PURE__*/__webpack_require__.n(codemirror); -// EXTERNAL MODULE: ./node_modules/_resize-observer-polyfill@1.5.1@resize-observer-polyfill/dist/ResizeObserver.es.js -var ResizeObserver_es = __webpack_require__(76374); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/lib/codemirror.css -var lib_codemirror = __webpack_require__(79906); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/addon/edit/closetag.js -var closetag = __webpack_require__(6313); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/addon/edit/closebrackets.js -var closebrackets = __webpack_require__(25717); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/addon/display/placeholder.js -var placeholder = __webpack_require__(99498); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/mode/markdown/markdown.js -var markdown = __webpack_require__(25419); -// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/mode/stex/stex.js -var stex = __webpack_require__(67549); -;// CONCATENATED MODULE: ./src/components/markdown-editor/index.less -// extracted by mini-css-extract-plugin - -// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 2 modules -var RenderHtml = __webpack_require__(85681); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/index.js +var upload = __webpack_require__(60028); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var es_message = __webpack_require__(8591); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var modal = __webpack_require__(43418); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(69423); +// EXTERNAL MODULE: ./src/pages/MoopCases/FormPanel/service.ts +var service = __webpack_require__(64602); +// EXTERNAL MODULE: ./src/assets/images/uploadImg.svg +var images_uploadImg = __webpack_require__(43929); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./src/components/RenderHtml/stex.tsx +;// CONCATENATED MODULE: ./src/components/SingleUpload/index.tsx -// const latexjs = require('latex-l.js/dist/latex.js'); -// import "latex-l.js/dist/css/base.css" -/* harmony default export */ var RenderHtml_stex = (function (_ref) { + + + + + + + + +var uploadNameSizeSeperator = '  '; +function bytesToSize(bytes) { + var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; + if (bytes == 0) return '0 Byte'; + var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10); + return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; +} +/* harmony default export */ var SingleUpload = (function (_ref) { var _ref$value = _ref.value, - value = _ref$value === void 0 ? '' : _ref$value, + value = _ref$value === void 0 ? [] : _ref$value, + action = _ref.action, + _onChange = _ref.onChange, className = _ref.className, - showTextOnly = _ref.showTextOnly, - showLines = _ref.showLines, - _ref$style = _ref.style, - style = _ref$style === void 0 ? {} : _ref$style; - var html = (0,_react_17_0_2_react.useMemo)(function () { - // try { - // const latex = value || 'This is some text'; - // let generator = new latexjs.default.HtmlGenerator({ hyphenate: true }) - // let doc = latexjs.default.parse(latex, { generator: generator }).htmlDocument() - // return doc.body.innerHTML - // }catch(e){ - // console.log("e:",e) - // return "错误的latex语法,请检查" - // } - return ""; - }, [value]); - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - dangerouslySetInnerHTML: { - __html: html + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 150 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '文件上传' : _ref$title, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? null : _ref$accept, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? undefined : _ref$tip; + var uploadProps = { + multiple: false, + fileList: value, + accept: accept, + withCredentials: true, + beforeUpload: function beforeUpload(file) { + var fileSize = file.size / 1024 / 1024; + if (!(fileSize < maxSize)) { + message.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20")); + return Promise.reject(); } - }) + return true; + }, + action: "".concat(ENV.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + var fileList = _toConsumableArray(info.fileList); + fileList = fileList.map(function (file) { + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return _objectSpread({}, file); + }); + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + message.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + _onChange([]); + return; + } + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) { + var fileSize, id, rs; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + fileSize = file.size / 1024 / 1024; + if (!(file.status === 'uploading')) { + _context.next = 3; + break; + } + return _context.abrupt("return", true); + case 3: + if (fileSize < maxSize) { + _context.next = 7; + break; + } + return _context.abrupt("return", true); + case 7: + id = file.response ? file.response.id : file.uid; + if (!id) { + _context.next = 15; + break; + } + _context.next = 11; + return removeAttachment(file.response ? file.response.id : file.id); + case 11: + rs = _context.sent; + return _context.abrupt("return", rs); + case 15: + return _context.abrupt("return", true); + case 16: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/_jsx("div", { + className: "single-upload ".concat(className ? className : ''), + children: /*#__PURE__*/_jsxs(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, { + children: [/*#__PURE__*/_jsxs(Button + // type="primary" + , { + title: value.length > 0 ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + disabled: value.length > 0 + // ghost + , + className: "upload_button", + children: [/*#__PURE__*/_jsx("img", { + className: "aBtn_img", + src: uploadImg + }), title] + }), /*#__PURE__*/_jsx("span", { + onClick: onCancel, + className: "upload_text", + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "M)") + })] + })) }); }); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(82242); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.less +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules +var InboxOutlined = __webpack_require__(34023); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.less // extracted by mini-css-extract-plugin -;// CONCATENATED MODULE: ./src/components/markdown-editor/css/iconfont.css -// extracted by mini-css-extract-plugin +;// CONCATENATED MODULE: ./src/assets/images/disupload.png +var disupload_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAT1JREFUSEvtljFOxDAQRT1GSKk4CFwgNGOLhmIrhIAGiQ5atuUAtGwLHRINIERFQYPsacgF4CBUkRAzyKsUq8DGToKonNbz/xtPfkYBNeBxzp0FmbX2vK8c+gqI6JSZL4JOaz1FxFkfj15A7/2xiFwuAgDgxBhzlQpNBhLRoYhci4huARkAjhDxJgWaBCSiXWa+VUqtLDH90lofIOJDDBoFEtFERB5FZLXLDAA+AWAHEZ8667oOvfdbIhIMiljnzXkNABNjzMuy+ugN20IiWmfmtyalG4j4ntjMvCwDf0wrjzQWoP8PjXNOmq72rbX3sQ6HvEPn3J5S6m7+WWTgX2yaPNLOoOaU/jaeUaGpqmqtruvtYFwUxXNZlh+xZTEKGDPvc8Pwr/k6xDBBs6mUmrZXW4JufMniLh3vluDwDTtJLJ7BMSj1AAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.tsx -;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.tsx @@ -396,177 +655,340 @@ var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -var DEFAULTICONS = [{ - title: '粗体', - icon: 'icon-bold', - actionName: 'bold' -}, { - title: '斜体', - icon: 'icon-italic', - actionName: 'italic' -}, '|', { - title: '无序列表', - icon: 'icon-unorder-list', - actionName: 'list-ul' -}, { - title: '有序列表', - icon: 'icon-order-list', - actionName: 'list-ol' -}, '|', { - title: '行内代码', - icon: 'icon-code', - actionName: 'code' -}, { - title: '代码块(多语言风格)', - icon: 'icon-file-code', - actionName: 'code-block' -}, { - title: '链接', - icon: 'icon-link', - actionName: 'link' -}, '|', { - title: '行内公式', - icon: 'icon-sum', - actionName: 'inline-latex' -}, { - title: '多行公式', - icon: 'icon-formula', - actionName: 'latex' -}, '|', { - title: '添加图片', - icon: 'icon-picture', - actionName: 'upload-image' -}, { - title: '表格', - icon: 'icon-table', - actionName: 'add-table' -}, '|', { - title: '换行', - icon: 'icon-minus', - actionName: 'line-break' -}, { - title: '清空', - icon: 'icon-eraser', - actionName: 'eraser' -}]; -function AButton(_ref) { - var onActionCallback = _ref.onActionCallback, - title = _ref.title, - icon = _ref.icon, - actionName = _ref.actionName, - _ref$className = _ref.className, - className = _ref$className === void 0 ? '' : _ref$className, - children = _ref.children; - function onAction() { - onActionCallback(actionName); - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { - title: title, - className: className, - onClick: onAction, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "md-iconfont ".concat(icon) - }), children] - }); + + + + + + + + + +var Dragger = upload/* default */.Z.Dragger; +function coverToFileList(data) { + var rs = []; + if (data && data.length > 0) { + rs = data.map(function (item) { + return { + uid: item.id, + id: item.id, + name: item.title + uploadNameSizeSeperator + item.filesize, + url: item.url, + filesize: item.filesize, + status: 'done', + response: { + id: item.id + } + }; + }); + } + return rs; } -/* harmony default export */ var toolbar = (function (_ref2) { - var watch = _ref2.watch, - showNullButton = _ref2.showNullButton, - showNullProgramButton = _ref2.showNullProgramButton, - onActionCallback = _ref2.onActionCallback, - fullScreen = _ref2.fullScreen, - insertTemp = _ref2.insertTemp, - hidetoolBar = _ref2.hidetoolBar; - var icons = [].concat(DEFAULTICONS, [{ - title: "".concat(watch ? '关闭实时预览' : '开启实时预览'), - icon: "".concat(watch ? 'icon-eye-slash' : 'icon-eye'), - actionName: 'trigger-watch' - }]); - return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { - className: "markdown-toolbar-container", - children: [!hidetoolBar && icons.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: item.actionName ? /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, objectSpread2_default()(objectSpread2_default()({}, item), {}, { - onActionCallback: onActionCallback - })) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "v-line" - }) - }, index); - }), showNullButton ? /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { - icon: "icon-edit insert-blank", - className: "btn-null", - title: "\u589E\u52A0\u586B\u7A7A", - actionName: "add-null-ch", - onActionCallback: onActionCallback, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "fill-tip", - children: "\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879" - }) - }) - }) : null, showNullProgramButton ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { - icon: "icon-edit insert-blank", - className: "btn-null", - title: "\u589E\u52A0\u586B\u7A7A", - actionName: "add-signal", - onActionCallback: onActionCallback, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "fill-tip", - children: "\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879" - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { - icon: "icon-uniE900 insert-blank", - className: "btn-null", - title: "\u589E\u52A0\u586B\u7A7A", - actionName: "add-multiple", - onActionCallback: onActionCallback, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "fill-tip", - children: "\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879" - }) - }) +/* harmony default export */ var MultiUpload = (function (_ref) { + var value = _ref.value, + _onChange = _ref.onChange, + action = _ref.action, + data = _ref.data, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 5 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '上传附件' : _ref$title, + _ref$showRemoveModal = _ref.showRemoveModal, + showRemoveModal = _ref$showRemoveModal === void 0 ? false : _ref$showRemoveModal, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? '' : _ref$accept, + additionalText = _ref.additionalText, + isDragger = _ref.isDragger, + _ref$number = _ref.number, + number = _ref$number === void 0 ? 1000 : _ref$number, + _ref$aloneClear = _ref.aloneClear, + aloneClear = _ref$aloneClear === void 0 ? false : _ref$aloneClear, + _ref$tip = _ref.tip, + tip = _ref$tip === void 0 ? '' : _ref$tip, + _ref$tipStyle = _ref.tipStyle, + tipStyle = _ref$tipStyle === void 0 ? {} : _ref$tipStyle; + var _useState = (0,_react_17_0_2_react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + disabled = _useState2[0], + setDisabled = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(value || []), + _useState4 = slicedToArray_default()(_useState3, 2), + fileList = _useState4[0], + setFileList = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(1), + _useState6 = slicedToArray_default()(_useState5, 2), + nums = _useState6[0], + setnums = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (value) { + if (nums === 1) { + setFileList(toConsumableArray_default()(value)); + } + setnums(2); + if (number === (value === null || value === void 0 ? void 0 : value.length)) { + setDisabled(true); + } + } + }, [value]); + var clearLastFile = function clearLastFile() { + setTimeout(function () { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + }, 500); + }; + var uploadProps = { + multiple: true, + disabled: false, + accept: accept, + withCredentials: true, + fileList: fileList, + // fileList: fileList?.length ? fileList : value, + beforeUpload: function beforeUpload(file, fileArr) { + var fileSize = file.size / 1024 / 1024 / 1024; + if (fileList.concat(fileArr).length > number) { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + es_message/* default */.ZP.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(number, "\u4E2A\u6587\u4EF6")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + if (!(fileSize < maxSize)) { + es_message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "GB).")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + return true; + }, + data: data, + action: action || "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file; + if (info.file.status === "removed") { + fileList = info.fileList; + } else { + fileList = (0,lodash.uniqBy)([].concat(toConsumableArray_default()(info.fileList), toConsumableArray_default()(fileList)), 'uid'); + } + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) { + var _info$file2; + es_message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message); + return; + } + if (fileList.length >= number) setDisabled(true);else setDisabled(false); + setFileList(toConsumableArray_default()(fileList)); + fileList = fileList.map(function (file) { + var _file$response; + if (file !== null && file !== void 0 && (_file$response = file.response) !== null && _file$response !== void 0 && _file$response.id) { + var _file$response2; + file.url = "/api/attachments/".concat(file === null || file === void 0 || (_file$response2 = file.response) === null || _file$response2 === void 0 ? void 0 : _file$response2.id); + } + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return objectSpread2_default()({}, file); + }); + console.log('info:', info, fileList); + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(file) { + var remove; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + remove = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var id, rs; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + id = file.response ? file.response.id : file.id; + if (!id) { + _context.next = 8; + break; + } + _context.next = 4; + return (0,service/* removeAttachment */.JZ)(file.response ? file.response.id : file.uid); + case 4: + rs = _context.sent; + return _context.abrupt("return", Promise.resolve(rs)); + case 8: + return _context.abrupt("return", true); + case 9: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function remove() { + return _ref2.apply(this, arguments); + }; + }(); + if (!showRemoveModal) { + _context3.next = 5; + break; + } + return _context3.abrupt("return", new Promise(function (resolve, reject) { + modal/* default */.Z.confirm({ + centered: true, + width: 530, + okText: '确定', + cancelText: '取消', + title: '提示', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "tc font16", + children: "\u662F\u5426\u786E\u8BA4\u5220\u9664?" + }), + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return remove(); + case 2: + res = _context2.sent; + es_message/* default */.ZP.success('删除成功'); + resolve(true); + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function onCancel() { + return resolve(false); + } + }); + })); + case 5: + _context3.next = 7; + return remove(); + case 7: + return _context3.abrupt("return", _context3.sent); + case 8: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "multi-upload ".concat(className ? className : ''), + children: [isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-drag-icon", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(InboxOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "ant-upload-text", + children: ["\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A", maxSize, "MB)", ' '] + }), additionalText] + })), !isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + disabled: disabled, + className: disabled ? 'disable_upload_button' : 'upload_button', + title: disabled ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: "aBtn_img", + src: !disabled ? images_uploadImg/* default */.Z : disupload_namespaceObject + }), title] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: onCancel, + className: "upload_text", + style: objectSpread2_default()({}, tipStyle), + children: tip ? tip : "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927".concat(maxSize, "GB)") })] - }) : null, insertTemp && /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { - icon: "icon-edit", - className: "btn-null", - title: "\u63D2\u5165\u6A21\u677F", - actionName: "inster-template-".concat(insertTemp), - onActionCallback: onActionCallback, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "fill-tip", - children: "\u63D2\u5165\u6A21\u677F" - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { - className: "btn-full-screen", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { - icon: "".concat(fullScreen ? 'icon-shrink' : 'icon-enlarge'), - title: fullScreen ? '关闭全屏' : '开启全屏', - actionName: "trigger-full-screen", - onActionCallback: onActionCallback - }) - })] + }))] }); }); -// EXTERNAL MODULE: ./src/components/modal.tsx -var modal = __webpack_require__(32552); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules -var es_form = __webpack_require__(78241); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules -var input = __webpack_require__(92832); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js -var es_button = __webpack_require__(3113); -;// CONCATENATED MODULE: ./src/components/markdown-editor/link/index.tsx + +/***/ }), + +/***/ 38082: +/*!*************************************************!*\ + !*** ./src/components/QuestionEditor/index.tsx ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Wk: function() { return /* reexport safe */ _SubjectiveQuestionEditor__WEBPACK_IMPORTED_MODULE_3__.W; }, +/* harmony export */ ZZ: function() { return /* reexport safe */ _JudgmentQuestionEditor__WEBPACK_IMPORTED_MODULE_1__.Z; }, +/* harmony export */ rL: function() { return /* reexport safe */ _CombinationQuestionEditor__WEBPACK_IMPORTED_MODULE_4__.r; }, +/* harmony export */ tc: function() { return /* reexport safe */ _BProgramEditor__WEBPACK_IMPORTED_MODULE_5__.t; }, +/* harmony export */ u8: function() { return /* reexport safe */ _CompletionQuestionEditor__WEBPACK_IMPORTED_MODULE_2__.u; }, +/* harmony export */ uh: function() { return /* reexport safe */ _ChoiceQuestionEditor__WEBPACK_IMPORTED_MODULE_0__.u; } +/* harmony export */ }); +/* harmony import */ var _ChoiceQuestionEditor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ChoiceQuestionEditor */ 90691); +/* harmony import */ var _JudgmentQuestionEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./JudgmentQuestionEditor */ 3984); +/* harmony import */ var _CompletionQuestionEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CompletionQuestionEditor */ 25711); +/* harmony import */ var _SubjectiveQuestionEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SubjectiveQuestionEditor */ 25218); +/* harmony import */ var _CombinationQuestionEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CombinationQuestionEditor */ 95); +/* harmony import */ var _BProgramEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BProgramEditor */ 1223); + + + + + + + +/***/ }), + +/***/ 18890: +/*!*************************************************************!*\ + !*** ./src/components/markdown-editor/code-block/index.tsx ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ h: function() { return /* binding */ MyCodeMirror; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 57809); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 3113); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror */ 89780); +/* harmony import */ var codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var codemirror_lib_codemirror_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/lib/codemirror.css */ 79906); +/* harmony import */ var codemirror_theme_blackboard_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/theme/blackboard.css */ 44383); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 37712); + + + + +var Option = antd__WEBPACK_IMPORTED_MODULE_7__["default"].Option; + +//https://github.com/codemirror/CodeMirror/issues/4838 var formItemLayout = { labelCol: { span: 4 @@ -575,45 +997,99 @@ var formItemLayout = { span: 20 } }; -/* harmony default export */ var markdown_editor_link = (function (_ref) { +var LanguageDesc = { + asp: ['ASP', 'vbscript'], + actionscript: ['ActionScript(3.0)/Flash/Flex', 'clike'], + bash: ['Bash/Bat', 'shell'], + css: ['CSS', 'css'], + c: ['C', 'clike'], + cpp: ['C++', 'clike'], + csharp: ['C#', 'clike'], + coffeescript: ['CoffeeScript', 'coffeescript'], + d: ['D', 'd'], + dart: ['Dart', 'dart'], + delphi: ['Delphi/Pascal', 'pascal'], + erlang: ['Erlang', 'erlang'], + go: ['Golang', 'go'], + groovy: ['Groovy', 'groovy'], + html: ['HTML', 'text/html'], + java: ['Java', 'clike'], + json: ['JSON', 'text/json'], + javascript: ['Javascript', 'javascript'], + lua: ['Lua', 'lua'], + less: ['LESS', 'css'], + markdown: ['Markdown', 'gfm'], + 'objective-c': ['Objective-C', 'clike'], + php: ['PHP', 'php'], + perl: ['Perl', 'perl'], + python: ['Python', 'python'], + r: ['R', 'r'], + rst: ['reStructedText', 'rst'], + ruby: ['Ruby', 'ruby'], + sql: ['SQL', 'sql'], + sass: ['SASS/SCSS', 'sass'], + shell: ['Shell', 'shell'], + scala: ['Scala', 'clike'], + swift: ['Swift', 'clike'], + vb: ['VB/VBScript', 'vb'], + xml: ['XML', 'text/xml'], + yaml: ['YAML', 'yaml'] +}; +/* harmony default export */ __webpack_exports__.Z = (function (_ref) { var callback = _ref.callback, onCancel = _ref.onCancel; + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)('python'), + _useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState, 2), + mode = _useState2[0], + setMode = _useState2[1]; + function onSetMode(value) { + setMode(LanguageDesc[value][1]); + } function onSubmit(values) { callback(values); } - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, formItemLayout), {}, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, formItemLayout), {}, { + className: "code-block-panel", initialValues: { - link: 'http://', - title: '' + language: 'python', + content: '' }, - className: "link-panel", onFinish: onSubmit, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u94FE\u63A5\u5730\u5740", - name: "link", - rules: [{ - required: true, - message: '请输入链接地址' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {}) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u94FE\u63A5\u6807\u9898", - name: "title", + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.Item, { + label: "\u4EE3\u7801\u8BED\u8A00", + name: "language", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__["default"], { + getPopupContainer: function getPopupContainer(trigger) { + return trigger.parentNode; + }, + onChange: onSetMode, + children: Object.keys(LanguageDesc).map(function (item) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(Option, { + value: item, + children: LanguageDesc[item][0] + }, item); + }) + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.Item, { + label: "\u4EE3\u7801\u5185\u5BB9", + name: "content", rules: [{ required: true, - message: '请输入链接标题' + message: '请输入代码内容' }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {}) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(MyCodeMirror, { + mode: mode + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { className: "flex-container flex-end", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, { type: "primary", htmlType: "submit", style: { marginRight: 10 }, children: "\u786E\u5B9A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .ZP, { type: "ghost", onClick: onCancel, children: "\u53D6\u6D88" @@ -621,106 +1097,383 @@ var formItemLayout = { })] })); }); -// EXTERNAL MODULE: ./src/components/markdown-editor/code-block/index.tsx -var code_block = __webpack_require__(18890); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules -var message = __webpack_require__(8591); -;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.less +function MyCodeMirror(_ref2) { + var value = _ref2.value, + onChange = _ref2.onChange, + mode = _ref2.mode, + _ref2$options = _ref2.options, + options = _ref2$options === void 0 ? {} : _ref2$options; + var el = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(); + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(), + _useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1___default()(_useState3, 2), + cm = _useState4[0], + setCm = _useState4[1]; + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (cm) { + var onChangeHandler = function onChangeHandler(cm) { + var content = cm.getValue(); + onChange && onChange(content); + }; + cm.on('change', onChangeHandler); + return function () { + cm.off('change', onChangeHandler); + }; + } + }, [cm, onChange]); + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (cm) { + cm.setOption('mode', mode); + } + }, [cm, mode]); + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (cm) { + if (value !== cm.getValue() || value === '') { + setTimeout(function () { + cm.setValue(value || ''); + }, 300); + } + } + }, [cm, value]); + (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () { + if (el.current && !cm) { + var instance = codemirror__WEBPACK_IMPORTED_MODULE_3___default().fromTextArea(el.current, _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ + mode: mode, + lineNumbers: true, + lineWrapping: true, + autoCloseBrackets: true, + tabSize: 4, + autofocus: true, + autoCloseTags: true, + matchBrackets: true, + styleActiveLine: true + }, options)); + setCm(instance); + } + }, [el.current, cm]); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { + className: "my-codemirror-container", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("textarea", { + ref: el + }) + }); +} + +/***/ }), + +/***/ 92042: +/*!***************************************************************!*\ + !*** ./src/components/markdown-editor/index.tsx + 10 modules ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ markdown_editor; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/createForOfIteratorHelper.js +var createForOfIteratorHelper = __webpack_require__(91232); +var createForOfIteratorHelper_default = /*#__PURE__*/__webpack_require__.n(createForOfIteratorHelper); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/defineProperty.js +var defineProperty = __webpack_require__(85573); +var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/lib/codemirror.js +var codemirror = __webpack_require__(89780); +var codemirror_default = /*#__PURE__*/__webpack_require__.n(codemirror); +// EXTERNAL MODULE: ./node_modules/_resize-observer-polyfill@1.5.1@resize-observer-polyfill/dist/ResizeObserver.es.js +var ResizeObserver_es = __webpack_require__(76374); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/lib/codemirror.css +var lib_codemirror = __webpack_require__(79906); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/addon/edit/closetag.js +var closetag = __webpack_require__(6313); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/addon/edit/closebrackets.js +var closebrackets = __webpack_require__(25717); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/addon/display/placeholder.js +var placeholder = __webpack_require__(99498); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/mode/markdown/markdown.js +var markdown = __webpack_require__(25419); +// EXTERNAL MODULE: ./node_modules/_codemirror@5.58.2@codemirror/mode/stex/stex.js +var stex = __webpack_require__(67549); +;// CONCATENATED MODULE: ./src/components/markdown-editor/index.less // extracted by mini-css-extract-plugin -// EXTERNAL MODULE: ./src/pages/tasks/util.js -var util = __webpack_require__(37318); -;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.tsx +// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 2 modules +var RenderHtml = __webpack_require__(85681); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/components/RenderHtml/stex.tsx +// const latexjs = require('latex-l.js/dist/latex.js'); +// import "latex-l.js/dist/css/base.css" +/* harmony default export */ var RenderHtml_stex = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? '' : _ref$value, + className = _ref.className, + showTextOnly = _ref.showTextOnly, + showLines = _ref.showLines, + _ref$style = _ref.style, + style = _ref$style === void 0 ? {} : _ref$style; + var html = (0,_react_17_0_2_react.useMemo)(function () { + // try { + // const latex = value || 'This is some text'; + // let generator = new latexjs.default.HtmlGenerator({ hyphenate: true }) + // let doc = latexjs.default.parse(latex, { generator: generator }).htmlDocument() + // return doc.body.innerHTML + // }catch(e){ + // console.log("e:",e) + // return "错误的latex语法,请检查" + // } + return ""; + }, [value]); + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + dangerouslySetInnerHTML: { + __html: html + } + }) + }); +}); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.less +// extracted by mini-css-extract-plugin +;// CONCATENATED MODULE: ./src/components/markdown-editor/css/iconfont.css +// extracted by mini-css-extract-plugin +;// CONCATENATED MODULE: ./src/components/markdown-editor/toolbar/index.tsx -var useForm = es_form/* default */.Z.useForm; -var style = { - width: 280, - marginRight: 10 -}; -var upload_image_formItemLayout = { - labelCol: { - span: 5 - }, - wrapperCol: { - span: 19 - } -}; -/* harmony default export */ var upload_image = (function (_ref) { - var callback = _ref.callback, - onCancel = _ref.onCancel; - var _useForm = useForm(), - _useForm2 = slicedToArray_default()(_useForm, 1), - form = _useForm2[0]; - var nameRef = (0,_react_17_0_2_react.useRef)(); - function onSubmit(values) { - callback(objectSpread2_default()(objectSpread2_default()({}, values), {}, { - name: nameRef.current - })); - } - function onAddUrl(data, file) { - if (data.status === -1) { - message/* default */.ZP.error(data.message); - return; - } - form.setFieldsValue({ - src: "/api/attachments/".concat(data.id), - type: file.type - }); - } - function onFileChange(e) { - var file = e.target.files[0]; - nameRef.current = file.name; - uploadImage(file, onAddUrl); - } - return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({ - form: form - }, upload_image_formItemLayout), {}, { - className: "upload-image-panel", - onFinish: onSubmit, - style: { - width: 470, - overflow: "hidden" - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u56FE\u7247\u5730\u5740", - required: true, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "flex-container", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - noStyle: true, - name: "src", - rules: [{ - required: true, - message: '请输入文件地址' - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: style + + + + +var DEFAULTICONS = [{ + title: '粗体', + icon: 'icon-bold', + actionName: 'bold' +}, { + title: '斜体', + icon: 'icon-italic', + actionName: 'italic' +}, '|', { + title: '无序列表', + icon: 'icon-unorder-list', + actionName: 'list-ul' +}, { + title: '有序列表', + icon: 'icon-order-list', + actionName: 'list-ol' +}, '|', { + title: '行内代码', + icon: 'icon-code', + actionName: 'code' +}, { + title: '代码块(多语言风格)', + icon: 'icon-file-code', + actionName: 'code-block' +}, { + title: '链接', + icon: 'icon-link', + actionName: 'link' +}, '|', { + title: '行内公式', + icon: 'icon-sum', + actionName: 'inline-latex' +}, { + title: '多行公式', + icon: 'icon-formula', + actionName: 'latex' +}, '|', { + title: '添加图片', + icon: 'icon-picture', + actionName: 'upload-image' +}, { + title: '表格', + icon: 'icon-table', + actionName: 'add-table' +}, '|', { + title: '换行', + icon: 'icon-minus', + actionName: 'line-break' +}, { + title: '清空', + icon: 'icon-eraser', + actionName: 'eraser' +}]; +function AButton(_ref) { + var onActionCallback = _ref.onActionCallback, + title = _ref.title, + icon = _ref.icon, + actionName = _ref.actionName, + _ref$className = _ref.className, + className = _ref$className === void 0 ? '' : _ref$className, + children = _ref.children; + function onAction() { + onActionCallback(actionName); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("a", { + title: title, + className: className, + onClick: onAction, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "md-iconfont ".concat(icon) + }), children] + }); +} +/* harmony default export */ var toolbar = (function (_ref2) { + var watch = _ref2.watch, + showNullButton = _ref2.showNullButton, + showNullProgramButton = _ref2.showNullProgramButton, + onActionCallback = _ref2.onActionCallback, + fullScreen = _ref2.fullScreen, + insertTemp = _ref2.insertTemp, + hidetoolBar = _ref2.hidetoolBar; + var icons = [].concat(DEFAULTICONS, [{ + title: "".concat(watch ? '关闭实时预览' : '开启实时预览'), + icon: "".concat(watch ? 'icon-eye-slash' : 'icon-eye'), + actionName: 'trigger-watch' + }]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + className: "markdown-toolbar-container", + children: [!hidetoolBar && icons.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: item.actionName ? /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, objectSpread2_default()(objectSpread2_default()({}, item), {}, { + onActionCallback: onActionCallback + })) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "v-line" + }) + }, index); + }), showNullButton ? /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "icon-edit insert-blank", + className: "btn-null", + title: "\u589E\u52A0\u586B\u7A7A", + actionName: "add-null-ch", + onActionCallback: onActionCallback, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "fill-tip", + children: "\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879" + }) + }) + }) : null, showNullProgramButton ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "icon-edit insert-blank", + className: "btn-null", + title: "\u589E\u52A0\u586B\u7A7A", + actionName: "add-signal", + onActionCallback: onActionCallback, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "fill-tip", + children: "\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879" }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadButton, { - onFileChange: onFileChange - })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "icon-uniE900 insert-blank", + className: "btn-null", + title: "\u589E\u52A0\u586B\u7A7A", + actionName: "add-multiple", + onActionCallback: onActionCallback, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "fill-tip", + children: "\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879" + }) + }) + })] + }) : null, insertTemp && /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "icon-edit", + className: "btn-null", + title: "\u63D2\u5165\u6A21\u677F", + actionName: "inster-template-".concat(insertTemp), + onActionCallback: onActionCallback, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "fill-tip", + children: "\u63D2\u5165\u6A21\u677F" + }) }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u56FE\u7247\u63CF\u8FF0", - name: "alt" - // rules={[{ required: true, message: '请输入图片描述' }]} - , - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - style: { - width: 264 - } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + className: "btn-full-screen", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(AButton, { + icon: "".concat(fullScreen ? 'icon-shrink' : 'icon-enlarge'), + title: fullScreen ? '关闭全屏' : '开启全屏', + actionName: "trigger-full-screen", + onActionCallback: onActionCallback }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, { - style: { - textAlign: "right" - }, + })] + }); +}); +// EXTERNAL MODULE: ./src/components/modal.tsx +var modal = __webpack_require__(32552); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(78241); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules +var input = __webpack_require__(92832); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +;// CONCATENATED MODULE: ./src/components/markdown-editor/link/index.tsx + + + + + +var formItemLayout = { + labelCol: { + span: 4 + }, + wrapperCol: { + span: 20 + } +}; +/* harmony default export */ var markdown_editor_link = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + function onSubmit(values) { + callback(values); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, formItemLayout), {}, { + initialValues: { + link: 'http://', + title: '' + }, + className: "link-panel", + onFinish: onSubmit, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u94FE\u63A5\u5730\u5740", + name: "link", + rules: [{ + required: true, + message: '请输入链接地址' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u94FE\u63A5\u6807\u9898", + name: "title", + rules: [{ + required: true, + message: '请输入链接标题' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container flex-end", children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { type: "primary", htmlType: "submit", @@ -729,23 +1482,138 @@ var upload_image_formItemLayout = { }, children: "\u786E\u5B9A" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { - type: "default", + type: "ghost", onClick: onCancel, children: "\u53D6\u6D88" })] })] })); }); -function UploadButton(_ref2) { - var onFileChange = _ref2.onFileChange; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("label", { - className: "upload-button", - style: { - cursor: "pointer" - }, - children: ["\u672C\u5730\u4E0A\u4F20", /*#__PURE__*/(0,jsx_runtime.jsx)("input", { - type: "file", - onChange: onFileChange +// EXTERNAL MODULE: ./src/components/markdown-editor/code-block/index.tsx +var code_block = __webpack_require__(18890); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var message = __webpack_require__(8591); +;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.less +// extracted by mini-css-extract-plugin + +// EXTERNAL MODULE: ./src/pages/tasks/util.js +var util = __webpack_require__(37318); +;// CONCATENATED MODULE: ./src/components/markdown-editor/upload-image/index.tsx + + + + + + + + +var useForm = es_form/* default */.Z.useForm; +var style = { + width: 280, + marginRight: 10 +}; +var upload_image_formItemLayout = { + labelCol: { + span: 5 + }, + wrapperCol: { + span: 19 + } +}; +/* harmony default export */ var upload_image = (function (_ref) { + var callback = _ref.callback, + onCancel = _ref.onCancel; + var _useForm = useForm(), + _useForm2 = slicedToArray_default()(_useForm, 1), + form = _useForm2[0]; + var nameRef = (0,_react_17_0_2_react.useRef)(); + function onSubmit(values) { + callback(objectSpread2_default()(objectSpread2_default()({}, values), {}, { + name: nameRef.current + })); + } + function onAddUrl(data, file) { + if (data.status === -1) { + message/* default */.ZP.error(data.message); + return; + } + form.setFieldsValue({ + src: "/api/attachments/".concat(data.id), + type: file.type + }); + } + function onFileChange(e) { + var file = e.target.files[0]; + nameRef.current = file.name; + uploadImage(file, onAddUrl); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, objectSpread2_default()(objectSpread2_default()({ + form: form + }, upload_image_formItemLayout), {}, { + className: "upload-image-panel", + onFinish: onSubmit, + style: { + width: 470, + overflow: "hidden" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u56FE\u7247\u5730\u5740", + required: true, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "flex-container", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + noStyle: true, + name: "src", + rules: [{ + required: true, + message: '请输入文件地址' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: style + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadButton, { + onFileChange: onFileChange + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u56FE\u7247\u63CF\u8FF0", + name: "alt" + // rules={[{ required: true, message: '请输入图片描述' }]} + , + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + style: { + width: 264 + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, { + style: { + textAlign: "right" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + htmlType: "submit", + style: { + marginRight: 10 + }, + children: "\u786E\u5B9A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "default", + onClick: onCancel, + children: "\u53D6\u6D88" + })] + })] + })); +}); +function UploadButton(_ref2) { + var onFileChange = _ref2.onFileChange; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("label", { + className: "upload-button", + style: { + cursor: "pointer" + }, + children: ["\u672C\u5730\u4E0A\u4F20", /*#__PURE__*/(0,jsx_runtime.jsx)("input", { + type: "file", + onChange: onFileChange })] }); } @@ -3269,6 +4137,3225 @@ function useInterval(callback, delay) { /***/ }), +/***/ 64602: +/*!**************************************************!*\ + !*** ./src/pages/MoopCases/FormPanel/service.ts ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ $J: function() { return /* binding */ getMoopCase; }, +/* harmony export */ JZ: function() { return /* binding */ removeAttachment; }, +/* harmony export */ bN: function() { return /* binding */ updateMoopCase; }, +/* harmony export */ jP: function() { return /* binding */ addMoopCase; }, +/* harmony export */ rO: function() { return /* binding */ getLibraryTags; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 82710); + + + +function getMoopCase(id) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)("libraries/".concat(id, ".json")); +} +function getLibraryTags() { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)('library_tags.json'); +} +function removeAttachment(_x) { + return _removeAttachment.apply(this, arguments); +} +function _removeAttachment() { + _removeAttachment = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(id) { + var response; + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .del */ .IV)("attachments/".concat(id, ".json")); + case 2: + response = _context.sent; + return _context.abrupt("return", response.status === 0); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _removeAttachment.apply(this, arguments); +} +function addMoopCase(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .post */ .v_)("libraries.json", params); +} +function updateMoopCase(id, params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .put */ .gz)("libraries/".concat(id, ".json"), params); +} + +/***/ }), + +/***/ 23980: +/*!************************************************************************************************!*\ + !*** ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ StepPreview; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var StepPreviewmodules = ({"flex_box_center":"flex_box_center___bZaL5","flex_space_between":"flex_space_between___oaJSq","flex_box_vertical_center":"flex_box_vertical_center____hsuP","flex_box_center_end":"flex_box_center_end___ZYbPQ","flex_box_column":"flex_box_column___nE_62","flex-col":"flex-col___Iffbp","flex-row":"flex-row___pSGKo","justify-start":"justify-start___QMpka","justify-center":"justify-center___swf8g","justify-end":"justify-end___t7UfK","justify-evenly":"justify-evenly___Cd3ZA","justify-around":"justify-around____jWTG","justify-between":"justify-between___NS9Ro","align-start":"align-start___N1YKF","align-center":"align-center___oeIZ8","align-end":"align-end____7PNh","wrap":"wrap___ulhwR","left":"left___kyWln","title":"title___jsO1D","total":"total___GEhiU","list":"list___u9dBZ","name":"name___Wxggs","b":"b___Y15YO","r":"r___mKQoe","l":"l___uelFD","tag":"tag___Mpkbg","right":"right___mQ3dU","examName":"examName___Na1r8","t":"t___IgCWK","num":"num___CXI8j","topWarp":"topWarp___Kicpu","head":"head___jx3W8","so":"so___qYW7F","btn":"btn___EMJDz","content":"content___sHGsV","titleWrap":"titleWrap___I__GR","single":"single___K5iv9","analysis":"analysis___NoAuR","text":"text___xESW2","modalColumn":"modalColumn___I_tK_","modalRow":"modalRow___lyw_U","sup":"sup___HSz3Z","popover":"popover___kE8aI"}); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(78241); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(6848); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var es_modal = __webpack_require__(43418); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules +var input_number = __webpack_require__(88897); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules +var message = __webpack_require__(8591); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules +var input = __webpack_require__(92832); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules +var divider = __webpack_require__(28103); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules +var pagination = __webpack_require__(19871); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js +var row = __webpack_require__(95237); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/popover/index.js +var popover = __webpack_require__(60324); +;// CONCATENATED MODULE: ./src/assets/images/paper/zhong.svg +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgZhong = function SvgZhong(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 34, + height: 34, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 6"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("rect", { + fill: "#E4E6FD", + width: 34, + height: 34, + rx: 10 + }), /* @__PURE__ */React.createElement("g", { + fillRule: "nonzero" + }, /* @__PURE__ */React.createElement("path", { + d: "M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z", + fill: "#6678EB" + }), /* @__PURE__ */React.createElement("path", { + d: "M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z", + fill: "#6678EB" + }), /* @__PURE__ */React.createElement("path", { + d: "m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0 .064.011.126.031.184a.551.551 0 0 0 .258.33l3.293 1.9a.557.557 0 0 0 .559-.966Z", + fill: "#FFF" + })))); +}; + +/* harmony default export */ var zhong = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg=="); +// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 2 modules +var RenderHtml = __webpack_require__(85681); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts +var _umi_production_exports = __webpack_require__(88271); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(95972); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(82710); +;// CONCATENATED MODULE: ./src/assets/images/paper/xixi.svg +function xixi_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = xixi_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function xixi_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return xixi_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return xixi_arrayLikeToArray(o, minLen); } +function xixi_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var xixi_defProp = Object.defineProperty; +var xixi_getOwnPropSymbols = Object.getOwnPropertySymbols; +var xixi_hasOwnProp = Object.prototype.hasOwnProperty; +var xixi_propIsEnum = Object.prototype.propertyIsEnumerable; +var xixi_defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? xixi_defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var xixi_spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (xixi_hasOwnProp.call(b, prop)) xixi_defNormalProp(a, prop, b[prop]); + if (xixi_getOwnPropSymbols) { + var _iterator = xixi_createForOfIteratorHelper(xixi_getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (xixi_propIsEnum.call(b, prop)) xixi_defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgXixi = function SvgXixi(props) { + return /* @__PURE__ */React.createElement("svg", xixi_spreadValues({ + width: 34, + height: 34, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 12"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("rect", { + width: 34, + height: 34, + rx: 10, + fill: "#EAF3F4" + }), /* @__PURE__ */React.createElement("path", { + d: "M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z", + fill: "#21C0A6", + fillRule: "nonzero" + }))); +}; + +/* harmony default export */ var xixi = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4="); +;// CONCATENATED MODULE: ./src/assets/images/paper/bi.svg +function bi_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = bi_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function bi_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return bi_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return bi_arrayLikeToArray(o, minLen); } +function bi_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var bi_defProp = Object.defineProperty; +var bi_getOwnPropSymbols = Object.getOwnPropertySymbols; +var bi_hasOwnProp = Object.prototype.hasOwnProperty; +var bi_propIsEnum = Object.prototype.propertyIsEnumerable; +var bi_defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? bi_defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var bi_spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (bi_hasOwnProp.call(b, prop)) bi_defNormalProp(a, prop, b[prop]); + if (bi_getOwnPropSymbols) { + var _iterator = bi_createForOfIteratorHelper(bi_getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (bi_propIsEnum.call(b, prop)) bi_defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgBi = function SvgBi(props) { + return /* @__PURE__ */React.createElement("svg", bi_spreadValues({ + width: 34, + height: 34, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u9898\u76EE"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("rect", { + fill: "#E7F3FF", + width: 34, + height: 34, + rx: 10 + }), /* @__PURE__ */React.createElement("g", { + fill: "#4C6FFF", + fillRule: "nonzero" + }, /* @__PURE__ */React.createElement("path", { + d: "m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033-.744h-.001Zm-8.1 8.044a.534.534 0 0 1-.386.162.56.56 0 0 1-.388-.162l-3-2.81c-.226-.194-.226-.517-.033-.743.194-.227.517-.227.743-.033l3 2.811c.259.226.291.55.065.776ZM17 22.92h6.844v1.055H17z" + })))); +}; + +/* harmony default export */ var bi = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg=="); +// EXTERNAL MODULE: ./src/assets/images/paper/jinshi.svg +var jinshi = __webpack_require__(69266); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(39647); +var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules +var es_checkbox = __webpack_require__(24905); +// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules +var markdown_editor = __webpack_require__(92042); +// EXTERNAL MODULE: ./src/components/Editor/NullMDEditor.js +var NullMDEditor = __webpack_require__(94229); +// EXTERNAL MODULE: ./src/components/Editor/NullChildEditor/index.jsx + 1 modules +var NullChildEditor = __webpack_require__(2516); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/editor.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var editormodules = ({"wrap":"wrap___OIoOI","modal":"modal___Z3hfU","titleWrap":"titleWrap___aK3oG","required":"required___NHoO7","title":"title___uxb1R","colorGray":"colorGray___O8YPg","choiceWrap":"choiceWrap___t51sb","answer":"answer___vsBnh","activeAnswer":"activeAnswer___AJN4p","deleteIcon":"deleteIcon___WvOJZ","addIcon":"addIcon___UyeIs","editorWrap":"editorWrap___uqcFU","htmlWrap":"htmlWrap___GcBNL","radio":"radio___e8qQ5","color333":"color333___PLzVK","color999":"color999___v3EY0","fold":"fold___OfvPe","head":"head___EejYX"}); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/CompletionEditor/index.tsx + + + +var _excluded = ["globalSetting", "loading", "dispatch", "isEdit", "editData"]; + + + + + + + + + + +var tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var CompletionEditor = function CompletionEditor(_ref, ref) { + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + isEdit = _ref.isEdit, + editData = _ref.editData, + props = objectWithoutProperties_default()(_ref, _excluded); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + title = _useState2[0], + setTitle = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + analysis = _useState4[0], + setAnalysis = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + answerList = _useState6[0], + setAnswerList = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + activeOptionErrorIndex = _useState8[0], + setActiveOptionErrorIndex = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(), + _useState10 = slicedToArray_default()(_useState9, 2), + checked = _useState10[0], + setChecked = _useState10[1]; + var _useState11 = (0,_react_17_0_2_react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + firstSetAnswerFlag = _useState12[0], + setFirstSetAnswerFlag = _useState12[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setChecked(editData === null || editData === void 0 ? void 0 : editData.is_ordered); + setFirstSetAnswerFlag(true); + }, [editData]); + (0,_react_17_0_2_react.useEffect)(function () { + if (!firstSetAnswerFlag) { + return; + } + var answer = editData === null || editData === void 0 ? void 0 : editData.standard_answer.map(function (item) { + return item.answer_text; + }); + setAnswerList(answer); + setFirstSetAnswerFlag(false); + }, [firstSetAnswerFlag]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + var answerArray = []; + var isEmpty = false; + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + answerList.forEach(function (answers, index) { + answerArray.push({ + position: index + 1, + answer_text: [] + }); + answers.forEach(function (item, itemIndex) { + answerArray[index].answer_text.push(item); + if (!item || !(0,util/* validateLength */.eR)(item, 10000)) { + setActiveOptionErrorIndex("".concat(index, "-").concat(itemIndex)); + message/* default */.ZP.info(!item ? "\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A" : "答案不能超过10000字符"); + isEmpty = true; + } + }); + }); + if (isEmpty) { + return false; + } + if ((answerArray === null || answerArray === void 0 ? void 0 : answerArray.length) > 20) { + message/* default */.ZP.warning('填空题标准答案不能为空/不能超过20个!'); + return false; + } + return { + name: title, + analysis: analysis, + standard_answers: answerArray, + is_ordered: checked + }; + }; + + //清空数值 + var Clear = function Clear() { + setTitle(''); + setAnalysis(''); + setAnswerList([]); + setChecked(false); + }; + var handlePlaceholderChange = function handlePlaceholderChange(placeholderCountBefore, placeholderCountInRange, totalPlaceholderCount) { + var newStandardAnswers = answerList.slice(); + if (placeholderCountInRange) { + newStandardAnswers.splice(placeholderCountBefore, placeholderCountInRange); + } + if (totalPlaceholderCount) { + for (var i = 0; i < totalPlaceholderCount; i++) { + newStandardAnswers.splice(placeholderCountBefore + i, 0, [""]); + } + } + setAnswerList(newStandardAnswers); + }; + var handleAnswerChange = function handleAnswerChange(index, itemIndex, val) { + setActiveOptionErrorIndex(''); + var newStandardAnswers = answerList.slice(); + newStandardAnswers[index][itemIndex] = val; + setAnswerList(newStandardAnswers); + }; + var handleAddChildAnswer = function handleAddChildAnswer(index) { + var newStandardAnswers = answerList.slice(); + newStandardAnswers[index] = [].concat(toConsumableArray_default()(newStandardAnswers[index]), ['']); + setAnswerList(newStandardAnswers); + }; + var handleDeleteChildAnswer = function handleDeleteChildAnswer(index, childIndex) { + var newStandardAnswers = answerList.slice(); + if (!newStandardAnswers[index][childIndex]) { + newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { + return key !== childIndex; + }); + setAnswerList(newStandardAnswers); + return; + } + es_modal/* default */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '提示', + content: '确认要删除这个参考答案吗?', + className: editormodules.modal, + onOk: function onOk() { + newStandardAnswers[index] = newStandardAnswers[index].filter(function (_, key) { + return key !== childIndex; + }); + setAnswerList(newStandardAnswers); + } + }); + }; + var handleDeleteChildAnswermain = function handleDeleteChildAnswermain(index) { + es_modal/* default */.Z.confirm({ + centered: true, + okText: '确定', + cancelText: '取消', + title: '提示', + content: '确认要删除这个参考答案吗?', + className: editormodules.modal, + onOk: function onOk() { + var newStandardAnswers = answerList.slice(); + newStandardAnswers = answerList.filter(function (_, key) { + return index !== key; + }); + setAnswerList(newStandardAnswers); + } + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(NullMDEditor/* default */.Z, { + id: "completion-question-tittle", + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE", + height: 155, + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + }, + showNullButton: true, + onPlaceholderChange: handlePlaceholderChange + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: answerList.map(function (answers, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(NullChildEditor/* default */.Z, { + answers: answers, + index: index, + flex: 1, + is_md: true, + activeOptionErrorIndex: activeOptionErrorIndex, + onAnswerChange: handleAnswerChange, + addChildAnswer: handleAddChildAnswer, + deleteChildAnswer: handleDeleteChildAnswer, + deleteChildAnswermain: handleDeleteChildAnswermain + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt20", + children: (answerList === null || answerList === void 0 ? void 0 : answerList.length) > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + checked: checked, + onChange: function onChange(e) { + return setChecked(e.target.checked); + }, + className: "".concat(editormodules.color333, " font14"), + children: "\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "".concat(editormodules.color999, " font12"), + children: "\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_CompletionEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(CompletionEditor))); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules +var es_radio = __webpack_require__(5112); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/JudgmentEditor/index.tsx + + +var JudgmentEditor_excluded = ["globalSetting", "loading", "editData", "dispatch", "onRef", "isEdit"]; + + + + + + + +var JudgmentEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var JudgmentEditor = function JudgmentEditor(_ref, ref) { + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + editData = _ref.editData, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, JudgmentEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)(), + _useState2 = slicedToArray_default()(_useState, 2), + activeAnswer = _useState2[0], + setActiveAnswer = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + title = _useState4[0], + setTitle = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + analysis = _useState6[0], + setAnalysis = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + var answer = editData === null || editData === void 0 ? void 0 : editData.choices.find(function (item) { + return item.is_answer; + }); + setActiveAnswer(answer.choice_text === '正确' ? '0' : '1'); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + if (!activeAnswer) { + message/* default */.ZP.info("请先点击选择本选择题的正确选项"); + return false; + } + var choices = [{ + choice_text: "正确", + is_answer: activeAnswer === "0" ? 1 : 0 + }, { + choice_text: "错误", + is_answer: activeAnswer === "1" ? 1 : 0 + }]; + return { + name: title, + choices: choices, + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setTitle(''); + setAnalysis(''); + setActiveAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + buttonStyle: "solid", + value: activeAnswer, + onChange: function onChange(e) { + return setActiveAnswer(e.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "0", + className: "".concat(editormodules.radio, " mr40"), + children: "\u6B63\u786E" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "1", + className: editormodules.radio, + children: "\u9519\u8BEF" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_JudgmentEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(JudgmentEditor))); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/MultipleEditor/index.tsx + + + +var MultipleEditor_excluded = ["editData", "globalSetting", "loading", "dispatch", "onRef", "isEdit"]; + + + + + + + + +var MultipleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var MultipleEditor = function MultipleEditor(_ref, ref) { + var editData = _ref.editData, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, MultipleEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(''), + _useState10 = slicedToArray_default()(_useState9, 2), + analysis = _useState10[0], + setAnalysis = _useState10[1]; + (0,_react_17_0_2_react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.choices.map(function (item) { + return item.choice_text; + })); + var answerIndexs = []; + editData === null || editData === void 0 || editData.choices.map(function (item, index) { + if (item.is_answer) { + answerIndexs.push(index); + } + }); + setActiveAnswer(answerIndexs); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + var findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (findNotAnswerIndex > -1) { + message/* default */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(MultipleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return false; + } + if (!activeAnswer.length) { + message/* default */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); + return false; + } + if (activeAnswer.length < 2) { + message/* default */.ZP.info("多选题最小正确选项为2个"); + return false; + } + var choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer.includes(index) ? 1 : 0 + }; + }); + return { + name: title, + choices: choices, + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setQuestionChoiceList(['', '', '', '']); + setTitle(''); + setAnalysis(''); + setActiveAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), questionChoiceList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(activeAnswer.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + if (activeAnswer.includes(index)) { + setActiveAnswer(activeAnswer.filter(function (item) { + return item !== index; + })); + } else { + setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); + } + }, + children: MultipleEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + questionChoiceList[index] = value; + setQuestionChoiceList(questionChoiceList); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return setActiveEditor(index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + setQuestionChoiceList(questionChoiceList.filter(function (_, key) { + return key !== index; + })); + if (activeAnswer.includes(index)) { + setActiveAnswer(activeAnswer.filter(function (item) { + return item !== index; + })); + } else { + setActiveAnswer([].concat(toConsumableArray_default()(activeAnswer), [index])); + } + } + }) + }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_MultipleEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(MultipleEditor))); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/SingleEditor/index.tsx + + + +var SingleEditor_excluded = ["editData", "globalSetting", "loading", "dispatch", "onRef", "isEdit"]; + + + + + + + + +var SingleEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var SingleEditor = function SingleEditor(_ref, ref) { + var editData = _ref.editData, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, SingleEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + questionChoiceList = _useState2[0], + setQuestionChoiceList = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(), + _useState4 = slicedToArray_default()(_useState3, 2), + activeEditor = _useState4[0], + setActiveEditor = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(), + _useState6 = slicedToArray_default()(_useState5, 2), + activeAnswer = _useState6[0], + setActiveAnswer = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(''), + _useState8 = slicedToArray_default()(_useState7, 2), + title = _useState8[0], + setTitle = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(''), + _useState10 = slicedToArray_default()(_useState9, 2), + analysis = _useState10[0], + setAnalysis = _useState10[1]; + (0,_react_17_0_2_react.useEffect)(function () { + setQuestionChoiceList(['', '', '', '']); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setQuestionChoiceList(editData === null || editData === void 0 ? void 0 : editData.choices.map(function (item) { + return item.choice_text; + })); + setActiveAnswer(editData === null || editData === void 0 ? void 0 : editData.choices.findIndex(function (item) { + return item.is_answer; + })); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + var findNotAnswerIndex = questionChoiceList.findIndex(function (item) { + return !item; + }); + if (findNotAnswerIndex > -1) { + message/* default */.ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(SingleEditor_tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9")); + return false; + } + console.log("activeAnswer: ", activeAnswer); + if (!(typeof activeAnswer === "number")) { + message/* default */.ZP.info("请设置本题的正确答案,点击选项A/B...即可完成设置"); + return false; + } + var choices = questionChoiceList.map(function (item, index) { + return { + choice_text: item, + is_answer: activeAnswer === index ? 1 : 0 + }; + }); + return { + name: title, + choices: choices, + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setQuestionChoiceList(['', '', '', '']); + setTitle(''); + setAnalysis(''); + setActiveAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), questionChoiceList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(activeAnswer === index ? editormodules.activeAnswer : ''), + onClick: function onClick() { + return setActiveAnswer(index); + }, + children: SingleEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: activeEditor === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + isFocus: true, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + questionChoiceList[index] = value; + setQuestionChoiceList(questionChoiceList); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return setActiveEditor(index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + setQuestionChoiceList(questionChoiceList.filter(function (_, key) { + return key !== index; + })); + if (index === activeAnswer) { + setActiveAnswer(null); + } + } + }) + }), index < 7 && index === questionChoiceList.length - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return setQuestionChoiceList([].concat(toConsumableArray_default()(questionChoiceList), [''])); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_SingleEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(SingleEditor))); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/SubjectiveEditor/index.tsx + + +var SubjectiveEditor_excluded = ["editData", "globalSetting", "loading", "dispatch", "onRef", "isEdit"]; + + + + + + + +var SubjectiveEditor_tagList = (/* unused pure expression or super */ null && (['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'])); +var SubjectiveEditor = function SubjectiveEditor(_ref, ref) { + var editData = _ref.editData, + globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, SubjectiveEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + title = _useState2[0], + setTitle = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + analysis = _useState4[0], + setAnalysis = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(''), + _useState6 = slicedToArray_default()(_useState5, 2), + answer = _useState6[0], + setAnswer = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + var _editData$answer_text; + if (!editData || !isEdit) { + return; + } + setTitle(editData === null || editData === void 0 ? void 0 : editData.name); + setAnalysis(editData === null || editData === void 0 ? void 0 : editData.analysis); + setAnswer(editData === null || editData === void 0 || (_editData$answer_text = editData.answer_texts) === null || _editData$answer_text === void 0 ? void 0 : _editData$answer_text[0]); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!title) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + if (!answer) { + message/* default */.ZP.info("请您输入参考答案"); + return false; + } + return { + name: title, + answer_texts: [answer], + analysis: analysis + }; + }; + + //清空数值 + var Clear = function Clear() { + setTitle(''); + setAnalysis(''); + setAnswer(''); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: title, + onChange: function onChange(value) { + return setTitle(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u53C2\u8003\u7B54\u6848\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-reference-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848", + defaultValue: answer, + onChange: function onChange(value) { + return setAnswer(value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: editormodules.titleWrap, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: analysis, + onChange: function onChange(value) { + return setAnalysis(value); + } + })] + }); +}; +/* harmony default export */ var components_SubjectiveEditor = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + globalSetting = _ref2.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(SubjectiveEditor))); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/CombinationEditor/index.tsx + + + +var CombinationEditor_excluded = ["globalSetting", "loading", "dispatch", "editData", "onRef", "isEdit"]; + + + + + + + + + +var CombinationEditor_tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; +var CombinationEditor = function CombinationEditor(_ref, ref) { + var globalSetting = _ref.globalSetting, + loading = _ref.loading, + dispatch = _ref.dispatch, + editData = _ref.editData, + _ref$onRef = _ref.onRef, + onRef = _ref$onRef === void 0 ? function () {} : _ref$onRef, + isEdit = _ref.isEdit, + props = objectWithoutProperties_default()(_ref, CombinationEditor_excluded); + var _useState = (0,_react_17_0_2_react.useState)(''), + _useState2 = slicedToArray_default()(_useState, 2), + name = _useState2[0], + setName = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + questionList = _useState4[0], + setQuestionList = _useState4[1]; + console.log(questionList); + (0,_react_17_0_2_react.useEffect)(function () { + var _editData$sub_item_ba; + if (!editData || !isEdit) { + return; + } + setName(editData === null || editData === void 0 ? void 0 : editData.name); + var list = editData === null || editData === void 0 || (_editData$sub_item_ba = editData.sub_item_banks) === null || _editData$sub_item_ba === void 0 ? void 0 : _editData$sub_item_ba.map(function (k) { + var _k$choices, _ref2, _k$choices2; + return objectSpread2_default()(objectSpread2_default()({}, k), {}, { + id: k.id, + open: false, + qusList: k === null || k === void 0 || (_k$choices = k.choices) === null || _k$choices === void 0 ? void 0 : _k$choices.map(function (e) { + return e.choice_text; + }), + activeQusEditor: null, + qusAnswer: (_ref2 = [k === null || k === void 0 || (_k$choices2 = k.choices) === null || _k$choices2 === void 0 ? void 0 : _k$choices2.findIndex(function (e) { + return e.is_answer; + })]) === null || _ref2 === void 0 ? void 0 : _ref2.filter(function (k) { + return k !== -1; + }) + }); + }); + setQuestionList(list); + }, [editData]); + (0,_react_17_0_2_react.useImperativeHandle)(ref, function () { + return { + onSave: onSave, + Clear: Clear + }; + }); + var onSave = function onSave() { + if (!name) { + message/* default */.ZP.info("请您输入题干"); + return false; + } + if (questionList.length === 0) { + message/* default */.ZP.info("请您添加小题"); + return false; + } + for (var i = 0; i < questionList.length; i++) { + var _param$qusList; + var param = questionList[i]; + if (!(param !== null && param !== void 0 && param.name)) { + message/* default */.ZP.info("\u8BF7\u60A8\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898\u9898\u5E72")); + return false; + } + var findNotAnswerIndex = param === null || param === void 0 || (_param$qusList = param.qusList) === null || _param$qusList === void 0 ? void 0 : _param$qusList.findIndex(function (item) { + return !item; + }); + if (findNotAnswerIndex > -1) { + message/* default */.ZP.info("\u8BF7\u5148\u8F93\u5165\u7B2C".concat(i + 1, "\u5C0F\u9898").concat(CombinationEditor_tagList[findNotAnswerIndex], "\u9009\u9879\u7684\u5185\u5BB9")); + return false; + } + if (!(param !== null && param !== void 0 && param.qusAnswer.length)) { + message/* default */.ZP.info("\u8BF7\u8BBE\u7F6E\u7B2C".concat(i + 1, "\u5C0F\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E")); + return false; + } + } + var sub_item_banks = questionList.map(function (e) { + return { + id: e.id > 1 ? e.id : null, + name: e.name, + item_type: e.item_type, + analysis: e.analysis, + choices: e.qusList.map(function (h, i) { + return { + choice_text: h, + is_answer: e.qusAnswer[0] === i ? 1 : 0 + }; + }) + }; + }); + return { + name: name, + sub_item_banks: sub_item_banks + }; + }; + + //清空数值 + var Clear = function Clear() { + setName(''); + setQuestionList([]); + }; + var handleAdd = function handleAdd() { + var param = { + id: Math.random(), + item_type: 'SINGLE', + open: false, + name: '', + qusList: ['', '', '', ''], + activeQusEditor: null, + qusAnswer: [], + analysis: '' + }; + setQuestionList(questionList.concat(param)); + }; + var handleQuestionList = function handleQuestionList(type, i, value) { + var cloneQuestionList = (0,lodash.cloneDeep)(questionList); + if (type === 'open') { + cloneQuestionList[i].open = !cloneQuestionList[i].open; + } + if (type === 'delete') { + cloneQuestionList.splice(i, 1); + } + if (type === 'value') { + cloneQuestionList[i].name = value; + } + if (type === 'answer') { + cloneQuestionList[i].qusAnswer = [value]; + } + if (type === 'edit') { + cloneQuestionList[i].activeQusEditor = value; + } + if (type === 'details') { + cloneQuestionList[i].qusList[cloneQuestionList[i].activeQusEditor] = value; + } + if (type === 'addQus') { + cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.concat(''); + } + if (type === 'deleteQus') { + var _cloneQuestionList$i$; + cloneQuestionList[i].qusList = cloneQuestionList[i].qusList.filter(function (_, c) { + return c !== value; + }); + cloneQuestionList[i].qusAnswer = (_cloneQuestionList$i$ = cloneQuestionList[i].qusAnswer) === null || _cloneQuestionList$i$ === void 0 ? void 0 : _cloneQuestionList$i$.filter(function (k) { + return k !== value; + }); + } + if (type === 'analysis') { + cloneQuestionList[i].analysis = value; + } + setQuestionList(cloneQuestionList); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: editormodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u5E72\uFF1A" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "combination-question-title", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: name, + onChange: function onChange(value) { + return setName(value); + } + }), questionList === null || questionList === void 0 ? void 0 : questionList.map(function (e, j) { + var _e$qusList; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.fold, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + onClick: function onClick() { + return handleQuestionList('open', j); + }, + className: editormodules.head, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-sanjiaoxing", + style: { + transform: e.open ? 'initial' : 'rotate(270deg) translate(2px, 4px)' + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u7B2C", j + 1, "\u5C0F\u9898\uFF08\u5355\u9009\u9898\uFF09"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("b", { + style: { + visibility: 'hidden' + }, + onClick: function onClick(e) { + e.stopPropagation(); + handleQuestionList('delete', j); + }, + className: "iconfont icon-shanchu8" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb10", + style: { + display: e.open ? 'block' : 'none' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u5E72", + defaultValue: e === null || e === void 0 ? void 0 : e.name, + onChange: function onChange(value) { + return handleQuestionList('value', j, value); + } + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: editormodules.titleWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.required, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: editormodules.title, + children: ["\u7B54\u6848\u9009\u9879\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.colorGray, + children: "\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848" + })] + })] + }), e === null || e === void 0 || (_e$qusList = e.qusList) === null || _e$qusList === void 0 ? void 0 : _e$qusList.map(function (item, index) { + var _e$qusAnswer, _e$qusList2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: editormodules.choiceWrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848", + placement: "left", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(editormodules.answer, " ").concat(e !== null && e !== void 0 && (_e$qusAnswer = e.qusAnswer) !== null && _e$qusAnswer !== void 0 && _e$qusAnswer.includes(index) ? editormodules.activeAnswer : ''), + onClick: function onClick() { + return handleQuestionList('answer', j, index); + }, + children: CombinationEditor_tagList[index] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.editorWrap, + children: (e === null || e === void 0 ? void 0 : e.activeQusEditor) === index ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-option-".concat(index), + watch: true, + height: 155, + isFocus: true, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9009\u9879", + defaultValue: item, + onChange: function onChange(value) { + return handleQuestionList('details', j, value); + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: editormodules.htmlWrap, + onClick: function onClick() { + return handleQuestionList('edit', j, index); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item + }) + }) + }), index > 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u5220\u9664", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.deleteIcon, " iconfont icon-htmal5icon19"), + onClick: function onClick() { + return handleQuestionList('deleteQus', j, index); + } + }) + }), index < 7 && index === (e === null || e === void 0 || (_e$qusList2 = e.qusList) === null || _e$qusList2 === void 0 ? void 0 : _e$qusList2.length) - 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u65B0\u589E\u53C2\u8003\u7B54\u6848", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(editormodules.addIcon, " iconfont icon-roundaddfill ml6"), + onClick: function onClick() { + return handleQuestionList('addQus', j); + } + }) + })] + }, index); + }), /*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "mb10 mt10", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: editormodules.title, + children: "\u9898\u76EE\u89E3\u6790\uFF1A" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, { + id: "single-question-answer", + watch: true, + height: 155, + placeholder: "\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790", + defaultValue: e.analysis, + onChange: function onChange(value) { + return handleQuestionList('analysis', j, value); + } + })] + })] + }, e.id); + })] + }); +}; +/* harmony default export */ var components_CombinationEditor = ((0,_umi_production_exports.connect)(function (_ref3) { + var loading = _ref3.loading, + globalSetting = _ref3.globalSetting; + return { + globalSetting: globalSetting, + loading: loading.effects + }; +}, null, null, { + forwardRef: true +})( /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(CombinationEditor))); +// EXTERNAL MODULE: ./src/components/AsyncButton/index.tsx +var AsyncButton = __webpack_require__(72428); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/components/ExchangeModal.tsx + + + + + +var ExchangeModal = function ExchangeModal(_ref) { + var visible = _ref.visible, + onCancel = _ref.onCancel, + onRandomExchange = _ref.onRandomExchange, + selectFromProblemSet = _ref.selectFromProblemSet, + questionParams = _ref.questionParams; + return /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { + title: "\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F", + open: visible, + onCancel: onCancel, + centered: true, + maskClosable: true, + footer: null, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "center", + className: "pb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, { + onClick: onRandomExchange, + children: "\u968F\u673A\u66F4\u6362" + }), (questionParams === null || questionParams === void 0 ? void 0 : questionParams.type) !== 'PRACTICAL' && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + style: { + marginLeft: 24 + }, + onClick: selectFromProblemSet, + children: "\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9" + })] + }) + }); +}; +/* harmony default export */ var components_ExchangeModal = (ExchangeModal); +// EXTERNAL MODULE: ./src/components/ui-customization/index.tsx + 30 modules +var ui_customization = __webpack_require__(81001); +// EXTERNAL MODULE: ./src/components/QuestionEditor/index.tsx +var QuestionEditor = __webpack_require__(38082); +// EXTERNAL MODULE: ./node_modules/_js-base64@2.6.4@js-base64/base64.js +var base64 = __webpack_require__(24334); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + + + + + + + + + + + + + + + + + + + + + + + + + + + + +var Page = function Page(_ref) { + var _data$questionList2, _data$exam, _data$exam2, _data$exam3, _data$exam4, _data$questionList3, _data$exam5, _data$exam6, _data$exam7, _data$questionList4, _data$exam8; + var data = _ref.data, + submit = _ref.submit, + goBack = _ref.goBack, + loading = _ref.loading, + onTypeScore = _ref.onTypeScore, + _ref$editPreview = _ref.editPreview, + editPreview = _ref$editPreview === void 0 ? false : _ref$editPreview, + onSkipExamination = _ref.onSkipExamination, + selectValue = _ref.selectValue, + onExchange = _ref.onExchange; + var childrenRef = (0,_react_17_0_2_react.useRef)(); + var _useState = (0,_react_17_0_2_react.useState)(null), + _useState2 = slicedToArray_default()(_useState, 2), + editId = _useState2[0], + setEditId = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + tooltipVisible = _useState4[0], + setTooltipVisible = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + exchangeModalVisible = _useState6[0], + setExchangeModalVisible = _useState6[1]; + var exchangeQuestionParams = (0,_react_17_0_2_react.useRef)(); + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var params = (0,_umi_production_exports.useParams)(); + var _useState7 = (0,_react_17_0_2_react.useState)(false), + _useState8 = slicedToArray_default()(_useState7, 2), + iscover = _useState8[0], + setcover = _useState8[1]; + (0,_react_17_0_2_react.useEffect)(function () { + setTooltipVisible(true); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + if (!editPreview) { + (0,util/* setDocumentTitle */.Dk)('试卷预览'); + } + }, [editPreview]); + + //容易占位置用 + var difficulty = ['容易', '简单', '适中', '困难']; + var End = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']; + var renderQs = function renderQs(item) { + var _item$choices; + var answer = []; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: StepPreviewmodules.single, + children: item === null || item === void 0 || (_item$choices = item.choices) === null || _item$choices === void 0 ? void 0 : _item$choices.map(function (e, i) { + if (e.is_answer) { + answer.push(End[i]); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [End[i], "\u3001"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: e.choice_text + }) + })] + }, i); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", answer.join(''), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "ml30", + children: ["\u96BE\u5EA6\uFF1A", difficulty[item.difficulty]] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + })] + }); + }; + var renderCompletion = function renderCompletion(item) { + var _item$standard_answer; + var answer = item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.map(function (k, index) { + var _k$answer_text; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u7B54\u6848\uFF08\u586B\u7A7A".concat(k.position, "\uFF09\uFF1A").concat(k === null || k === void 0 || (_k$answer_text = k.answer_text) === null || _k$answer_text === void 0 ? void 0 : _k$answer_text.join("、")) + }, index); + }); + return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u6B63\u786E\u7B54\u6848\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: answer + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }) + }); + }; + var renderBProgram = function renderBProgram(item) { + var _item$standard_answer2; + var answer = item === null || item === void 0 || (_item$standard_answer2 = item.standard_answer) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (k, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u7B54\u6848\uFF08\u586B\u7A7A".concat(k.position || (k === null || k === void 0 ? void 0 : k.exercise_choice_id), "\uFF09\uFF1A").concat(k === null || k === void 0 ? void 0 : k.answer_text) + }, index); + }); + return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u6B63\u786E\u7B54\u6848\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: answer + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }) + }); + }; + var renderSubjective = function renderSubjective(item) { + var _item$answer_texts; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", item === null || item === void 0 || (_item$answer_texts = item.answer_texts) === null || _item$answer_texts === void 0 ? void 0 : _item$answer_texts[0]] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }); + }; + var renderProgram = function renderProgram(item) { + var _item$program_attr, _item$program_attr2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u9884\u671F\u8F93\u51FA:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item === null || item === void 0 || (_item$program_attr = item.program_attr) === null || _item$program_attr === void 0 ? void 0 : _item$program_attr.description + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginTop: 20 + }, + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", (item === null || item === void 0 || (_item$program_attr2 = item.program_attr) === null || _item$program_attr2 === void 0 ? void 0 : _item$program_attr2.answer_text) || '--'] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((item === null || item === void 0 ? void 0 : item.discipline_name) || "--", "/").concat(item === null || item === void 0 ? void 0 : item.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.tag_discipline_name, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), item === null || item === void 0 ? void 0 : item.tag_discipline_name] + }) + })] + })] + }); + }; + var renderCombination = function renderCombination(items, jndex) { + var _items$sub_item_banks; + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: items === null || items === void 0 || (_items$sub_item_banks = items.sub_item_banks) === null || _items$sub_item_banks === void 0 ? void 0 : _items$sub_item_banks.map(function (item, index) { + var _item$choices2; + var answer = []; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + marginLeft: 25, + fontSize: '16px', + color: '#333' + }, + children: [jndex + 1 + '.' + (index + 1), "\uFF08\u5355\u9009\u9898\uFF09", item.name] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: StepPreviewmodules.single, + children: item === null || item === void 0 || (_item$choices2 = item.choices) === null || _item$choices2 === void 0 ? void 0 : _item$choices2.map(function (e, i) { + if (e.is_answer) { + answer.push(End[i]); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [End[i], "\u3001"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("li", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: e.choice_text + }) + })] + }, i); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.analysis, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u6B63\u786E\u7B54\u6848\uFF1A", answer.join(''), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "ml30", + children: ["\u96BE\u5EA6\uFF1A", difficulty[item.difficulty]] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.text, + children: "\u89E3\u6790:" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: item.analysis ? item.analysis : '暂无解析' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#007AFF', + marginRight: 10 + }, + children: '方向&课程:' + }), "".concat((items === null || items === void 0 ? void 0 : items.discipline_name) || "--", "/").concat(items === null || items === void 0 ? void 0 : items.sub_discipline_name)] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", { + style: { + maxWidth: '400px', + overflow: "hidden", + whiteSpace: 'nowrap', + textOverflow: 'ellipsis' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#5AB891', + marginRight: 10 + }, + children: '知识点:' + }), items === null || items === void 0 ? void 0 : items.tag_discipline_name] + })] + })] + })] + }); + }) + }); + // return
    + // + // + //
    + }; + var renderPractical = function renderPractical(items) { + var _items$shixun, _items$shixun2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mt5", + children: [items === null || items === void 0 || (_items$shixun = items.shixun) === null || _items$shixun === void 0 || (_items$shixun = _items$shixun.challenges) === null || _items$shixun === void 0 ? void 0 : _items$shixun.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "c-grey-666 font14 mb10 ml25", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: "mr5", + children: ["\u7B2C", index + 1, "\u5173"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.challenge_name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (0,util/* cutName */.Pq)(item === null || item === void 0 ? void 0 : item.challenge_name, 44) + }) + }, index)] + }); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, { + style: { + "float": 'right' + }, + target: "_blank", + to: "/shixuns/".concat(items === null || items === void 0 || (_items$shixun2 = items.shixun) === null || _items$shixun2 === void 0 ? void 0 : _items$shixun2.identifier, "/challenges"), + children: "\u5B9E\u8BAD\u8BE6\u60C5" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + clear: 'both' + } + })] + }); + }; + var handleSetScore = function handleSetScore(item) { + var score = item.questions_score / item.questions_count; + es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '分数设置', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.modalColumn, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.modalRow, + style: { + justifyContent: 'flex-start' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("sup", { + className: StepPreviewmodules.sup, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [item === null || item === void 0 ? void 0 : item.name, "\uFF1A"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 0, + precision: 1, + defaultValue: score, + onChange: function onChange(value) { + score = value; + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "ml5", + children: "\u5206/\u9898" + })] + }) + }), + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _ref2; + var param; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (score) { + _context.next = 3; + break; + } + message/* default */.ZP.warning('分数不能为空或为0'); + return _context.abrupt("return", Promise.reject()); + case 3: + param = { + type: item === null || item === void 0 ? void 0 : item.type, + score: score, + scoreTotal: Number((_ref2 = score * item.questions_count) === null || _ref2 === void 0 ? void 0 : _ref2.toFixed(1)) + }; + onTypeScore(param); + case 5: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleSave = function handleSave() { + var name = ''; + es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '保存试卷', + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.modalColumn, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + color: '#676A6C', + display: 'flex', + alignItems: 'center' + }, + className: "font14 mt20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + style: { + marginRight: 5 + }, + src: jinshi/* default */.Z + }), "\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.modalRow, + style: { + marginTop: 20 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("sup", { + className: StepPreviewmodules.sup, + children: "*" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + flexShrink: 0 + }, + children: "\u8BD5\u5377\u540D\u79F0\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0", + min: 0, + maxLength: 60, + defaultValue: name, + onChange: function onChange(e) { + name = e.target.value; + } + })] + })] + }), + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _data$questionList; + var item_bank_ids, item_bank_scores, combination_item_banks, shixun_ids, params; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (name) { + _context2.next = 3; + break; + } + message/* default */.ZP.warning('试卷名称不能为空'); + return _context2.abrupt("return", Promise.reject()); + case 3: + item_bank_ids = []; + item_bank_scores = []; + combination_item_banks = []; + shixun_ids = []; + data === null || data === void 0 || (_data$questionList = data.questionList) === null || _data$questionList === void 0 || _data$questionList.forEach(function (item) { + var _item$questions; + (_item$questions = item.questions) === null || _item$questions === void 0 || _item$questions.forEach(function (e) { + var s = item.questions_score / item.questions_count; + s = s && s.toFixed(1); + if (item.type === 'COMBINATION') { + combination_item_banks.push({ + id: e.id, + sub_item_bank_ids: e.sub_item_banks.map(function (item) { + return item.id; + }) + }); + } + if (item.type === 'PRACTICAL') { + shixun_ids.push(e.id); + } else { + item_bank_ids.push(e.id); + item_bank_scores.push(s); + } + }); + }); + console.log('-----', combination_item_banks); + params = { + item_bank_ids: item_bank_ids, + item_bank_scores: item_bank_scores, + name: name, + combination_item_banks: combination_item_banks, + shixun_ids: shixun_ids + }; + _context2.next = 12; + return submit(params); + case 12: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk2.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleOnlyOne = function handleOnlyOne(id, type, index, item) { + var _item$questions2; + var currentUrl = "".concat(location.pathname).concat(location.search); + var ids = (_item$questions2 = item.questions) === null || _item$questions2 === void 0 ? void 0 : _item$questions2.map(function (k) { + return k.id; + }); + if (currentUrl.includes('exercise')) { + exchangeQuestionParams.current = { + id: id, + ids: ids, + type: type, + index: index + }; + setExchangeModalVisible(true); + } else { + var modal = es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '温馨提示', + content: "\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F", + cancelButtonProps: { + disabled: false + }, + maskClosable: true, + keyboard: false, + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + modal.update({ + cancelButtonProps: { + disabled: true + } + }); + _context3.next = 3; + return onExchange({ + single_question_id: id, + seleted_item_bank_ids: ids + }, { + type: type, + index: index + }); + case 3: + modal.update({ + cancelButtonProps: { + disabled: false + } + }); + message/* default */.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898"); + case 5: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onOk() { + return _onOk3.apply(this, arguments); + } + return onOk; + }() + }); + } + }; + var handleOnlyType = function handleOnlyType(item) { + var _item$questions3; + var ids = (_item$questions3 = item.questions) === null || _item$questions3 === void 0 ? void 0 : _item$questions3.map(function (k) { + return k.id; + }); + var typeName = item.name; + var modal = es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '温馨提示', + content: "\u786E\u8BA4\u66F4\u6362".concat(typeName, "\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F"), + cancelButtonProps: { + disabled: false + }, + maskClosable: false, + keyboard: false, + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + modal.update({ + cancelButtonProps: { + disabled: true + } + }); + _context4.next = 3; + return onExchange({ + seleted_item_bank_ids: ids + }, { + type: item.type + }); + case 3: + modal.update({ + cancelButtonProps: { + disabled: false + } + }); + message/* default */.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210".concat(typeName, "\u8BD5\u9898")); + case 5: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + function onOk() { + return _onOk4.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleAllType = function handleAllType() { + var modal = es_modal/* default */.Z.confirm({ + icon: null, + centered: true, + title: '温馨提示', + content: "\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F", + cancelButtonProps: { + disabled: false + }, + maskClosable: false, + keyboard: false, + okText: '确认', + cancelText: '取消', + onOk: function () { + var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + modal.update({ + cancelButtonProps: { + disabled: true + } + }); + _context5.next = 3; + return onExchange(); + case 3: + modal.update({ + cancelButtonProps: { + disabled: false + } + }); + message/* default */.ZP.success('已重新随机生成整张试题'); + case 5: + case "end": + return _context5.stop(); + } + }, _callee5); + })); + function onOk() { + return _onOk5.apply(this, arguments); + } + return onOk; + }() + }); + }; + var handleSelectChange = function handleSelectChange(key) { + console.log(key, 'key'); + onSkipExamination(key - 1); + }; + var renderSubject = function renderSubject(v, type) { + if (type === 'SINGLE') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_SingleEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'MULTIPLE') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_MultipleEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'JUDGMENT') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_JudgmentEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'COMPLETION') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_CompletionEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'SUBJECTIVE') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_SubjectiveEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'COMBINATION') { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(components_CombinationEditor, { + ref: childrenRef, + editData: v, + isEdit: true + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }); + } + if (type === 'BPROGRAM') { + var _v$program_attr; + return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: form, + style: { + marginTop: 20 + }, + onFinishFailed: function onFinishFailed(errInfo) { + var _errInfo$errorFields; + if (errInfo.errorFields[0].name.includes("standard_answers")) { + message/* default */.ZP.error("填空项答案不能为空"); + } else { + message/* default */.ZP.error(errInfo.errorFields[0].errors[0]); + } + // message.error(errInfo.errorFields[0].errors[0]) + form.scrollToField(errInfo === null || errInfo === void 0 || (_errInfo$errorFields = errInfo.errorFields) === null || _errInfo$errorFields === void 0 || (_errInfo$errorFields = _errInfo$errorFields[0]) === null || _errInfo$errorFields === void 0 ? void 0 : _errInfo$errorFields.name, { + behavior: 'smooth', + block: 'center' + }); + }, + onFinish: ( /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(values) { + var _values$hack_codes; + var body, res; + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + body = objectSpread2_default()(objectSpread2_default()({ + question_score: v.score + }, values), {}, { + question_type: 8, + hack: objectSpread2_default()(objectSpread2_default()({}, values.hack), {}, { + difficult: v.program_attr.difficult + }), + hack_codes: objectSpread2_default()(objectSpread2_default()({}, values.hack_codes), {}, { + code: base64.Base64.encode((_values$hack_codes = values.hack_codes) === null || _values$hack_codes === void 0 ? void 0 : _values$hack_codes.code) + }) + }); + if (iscover) { + // datas.is_cover = 1 + body.is_cover = 1; + } + _context6.next = 4; + return (0,fetch/* default */.ZP)("/api/exercise_questions/".concat(v.id, ".json"), { + method: 'put', + body: body + }); + case 4: + res = _context6.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('编辑成功'); + handleSelectChange(selectValue + 1); + } + setEditId(null); + case 7: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function (_x) { + return _ref3.apply(this, arguments); + }; + }()), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(QuestionEditor/* BProgramEditor */.tc, { + form: form, + questionTitlePlaceholder: "\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879", + scoreByBlank: false, + hackidentifier: v === null || v === void 0 || (_v$program_attr = v.program_attr) === null || _v$program_attr === void 0 ? void 0 : _v$program_attr.identifier, + answerKey: "standard_answers" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})] + }) + }); + } + if (type === 'PROGRAM') { + var _v$program_attr2; + _umi_production_exports.history.push("/problems/".concat(v === null || v === void 0 || (_v$program_attr2 = v.program_attr) === null || _v$program_attr2 === void 0 ? void 0 : _v$program_attr2.identifier, "/edit?type=exercises&express_id=").concat(params.categoryId, "&question_id=").concat(v === null || v === void 0 ? void 0 : v.id, "&score=").concat(v === null || v === void 0 ? void 0 : v.score, "&callback_url=").concat(location.pathname, "&select=").concat(selectValue, "&exercise=true")); + } + }; + var handleEditSave = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7(type, param, isok) { + var _childrenRef$current; + var editorData, body, _editorData$choices, question_choices, standard_answers, _editorData$standard_, _standard_answers, _editorData$sub_item_, res; + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + _context7.next = 2; + return (_childrenRef$current = childrenRef.current) === null || _childrenRef$current === void 0 ? void 0 : _childrenRef$current.onSave(); + case 2: + editorData = _context7.sent; + if (editorData) { + _context7.next = 5; + break; + } + return _context7.abrupt("return"); + case 5: + body = { + question_score: param.score, + analysis: editorData.analysis + }; + if (isok) { + // datas.is_cover = 1 + body.is_cover = 1; + } + if (type === 'SINGLE' || type === 'MULTIPLE' || type === 'JUDGMENT') { + question_choices = []; + standard_answers = []; + body.question_type = type === 'JUDGMENT' ? 2 : 1; + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + editorData === null || editorData === void 0 || (_editorData$choices = editorData.choices) === null || _editorData$choices === void 0 || _editorData$choices.forEach(function (e, i) { + question_choices.push(e.choice_text); + if (e !== null && e !== void 0 && e.is_answer) { + standard_answers.push(i + 1); + } + }); + body.question_choices = question_choices; + body.standard_answers = standard_answers; + } + if (type === 'COMPLETION') { + body.is_ordered = editorData.is_ordered; + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + body.question_type = 3; + _standard_answers = []; + editorData === null || editorData === void 0 || (_editorData$standard_ = editorData.standard_answers) === null || _editorData$standard_ === void 0 || _editorData$standard_.forEach(function (e, i) { + _standard_answers.push({ + choice_id: e.position, + answer_text: e.answer_text + }); + }); + body.standard_answers = _standard_answers; + } + if (type === 'SUBJECTIVE') { + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + body.question_type = 3; + body.standard_answers = editorData === null || editorData === void 0 ? void 0 : editorData.answer_texts; + } + if (type === 'COMBINATION') { + body.question_title = editorData === null || editorData === void 0 ? void 0 : editorData.name; + body.question_type = 7; + body.sub_questions = editorData === null || editorData === void 0 || (_editorData$sub_item_ = editorData.sub_item_banks) === null || _editorData$sub_item_ === void 0 ? void 0 : _editorData$sub_item_.map(function (e, i) { + return { + id: e.id, + question_title: e.name, + question_type: 1, + question_choices: e.choices.map(function (k) { + return k.choice_text; + }), + standard_answers: [e.choices.findIndex(function (k) { + return k.is_answer; + }) + 1], + analysis: e.analysis + }; + }); + delete body.analysis; + } + _context7.next = 13; + return (0,fetch/* default */.ZP)("/api/exercise_questions/".concat(param.id, ".json"), { + method: 'put', + body: body + }); + case 13: + res = _context7.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('编辑成功'); + handleSelectChange(selectValue + 1); + } + setEditId(null); + case 16: + case "end": + return _context7.stop(); + } + }, _callee7); + })); + return function handleEditSave(_x2, _x3, _x4) { + return _ref4.apply(this, arguments); + }; + }(); + var updatePaper = /*#__PURE__*/function () { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { + var res; + return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { + case 0: + (0,_umi_production_exports.getDvaApp)()._store.dispatch({ + type: "globalSetting/setGlobalLoading", + payload: { + show: true, + text: '正在更新试卷,请稍后...' + } + }); + _context8.next = 3; + return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/sync_random_question.json"), { + method: 'post' + }); + case 3: + res = _context8.sent; + if (!(res.status === 0)) { + _context8.next = 8; + break; + } + _context8.next = 7; + return onSkipExamination(selectValue); + case 7: + message/* default */.ZP.success('更新成功'); + case 8: + (0,_umi_production_exports.getDvaApp)()._store.dispatch({ + type: "globalSetting/setGlobalLoading", + payload: { + show: false + } + }); + case 9: + case "end": + return _context8.stop(); + } + }, _callee8); + })); + return function updatePaper() { + return _ref5.apply(this, arguments); + }; + }(); + var score_total = data === null || data === void 0 || (_data$questionList2 = data.questionList) === null || _data$questionList2 === void 0 ? void 0 : _data$questionList2.reduce(function (a, b) { + return a + Number(b.questions_score); + }, 0); + var disabled = editPreview && (data === null || data === void 0 || (_data$exam = data.exam) === null || _data$exam === void 0 ? void 0 : _data$exam.exercise_status) !== 1; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", { + className: StepPreviewmodules.wrap, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + id: "id_left_preview", + className: StepPreviewmodules.left, + onMouseEnter: function onMouseEnter(e) { + var dom = document.getElementById('id_left_preview'); + dom.style.overflowY = 'auto'; + }, + onMouseLeave: function onMouseLeave(e) { + var dom = document.getElementById('id_left_preview'); + dom.style.overflowY = 'hidden'; + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.title, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "body-overflow-initial", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u7B54\u9898\u5361" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.total, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: xixi + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u9898\u6570(\u9053)" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: data === null || data === void 0 ? void 0 : data.all_questions_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mr30 ml30", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: bi + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u603B\u5206(\u5206)" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: score_total && score_total.toFixed(1) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: zhong + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u65F6\u957F(\u5206)" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + children: (data === null || data === void 0 || (_data$exam2 = data.exam) === null || _data$exam2 === void 0 ? void 0 : _data$exam2.time) === -1 || (data === null || data === void 0 || (_data$exam3 = data.exam) === null || _data$exam3 === void 0 ? void 0 : _data$exam3.time) === null ? '不限' : data === null || data === void 0 || (_data$exam4 = data.exam) === null || _data$exam4 === void 0 ? void 0 : _data$exam4.time + })] + })] + }), data === null || data === void 0 || (_data$questionList3 = data.questionList) === null || _data$questionList3 === void 0 ? void 0 : _data$questionList3.map(function (e, index) { + var _e$questions; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.list, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.name, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: e.name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.b, + children: e.questions_count + }), "\u9898 ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.l, + children: "|" + }), "\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.r, + children: e.questions_score + }), "\u5206"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.answerSheet, + children: e === null || e === void 0 || (_e$questions = e.questions) === null || _e$questions === void 0 ? void 0 : _e$questions.map(function (k, i) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + var anchorName = "Anchor_".concat(k.id); + var anchorElement = document.getElementById(anchorName); + if (anchorElement) { + setTimeout(function () { + return anchorElement.scrollIntoView({ + block: "center", + behavior: "smooth" + }); + }); + } + }, + className: StepPreviewmodules.tag, + children: i + 1 + }, k.id); + }) + })] + })] + }, index); + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.right, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.examName, + id: "examName", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: data === null || data === void 0 || (_data$exam5 = data.exam) === null || _data$exam5 === void 0 ? void 0 : _data$exam5.name, + getPopupContainer: function getPopupContainer(trigger) { + return trigger.parentNode; + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.t, + children: data === null || data === void 0 || (_data$exam6 = data.exam) === null || _data$exam6 === void 0 ? void 0 : _data$exam6.name + }) + }) + }), editPreview && (data === null || data === void 0 || (_data$exam7 = data.exam) === null || _data$exam7 === void 0 ? void 0 : _data$exam7.exercise_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + openLoading: true, + shape: "default", + onClick: updatePaper, + type: "primary", + children: "\u66F4\u65B0\u8BD5\u5377" + }), !editPreview && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: handleAllType, + type: "primary", + children: "\u968F\u673A\u66F4\u6362" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: StepPreviewmodules.topWarp, + children: data === null || data === void 0 || (_data$questionList4 = data.questionList) === null || _data$questionList4 === void 0 ? void 0 : _data$questionList4.map(function (e, index) { + var _e$questions2, _e$questions3; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.head, + style: index === 0 ? { + border: 0, + marginTop: -16 + } : {}, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.name, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: e.name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.so, + children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + className: StepPreviewmodules.b, + children: [e.questions_count, " "] + }), "\u9898 ", e.type === 'COMBINATION' && "\uFF08\u5305\u542B".concat(e === null || e === void 0 || (_e$questions2 = e.questions) === null || _e$questions2 === void 0 ? void 0 : _e$questions2.map(function (item) { + var _item$sub_item_banks; + return item === null || item === void 0 || (_item$sub_item_banks = item.sub_item_banks) === null || _item$sub_item_banks === void 0 ? void 0 : _item$sub_item_banks.length; + }).reduce(function (x, y) { + return x + y; + }), "\u5C0F\u9898\uFF09"), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.l, + children: "|" + }), "\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: StepPreviewmodules.r, + children: e.questions_score + }), "\u5206"] + }), !editPreview && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.btn, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + handleSetScore(e); + }, + type: "primary", + ghost: true, + className: "mr20", + children: "\u8BBE\u7F6E\u5F97\u5206" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + return handleOnlyType(e); + }, + type: "primary", + ghost: true, + children: "\u968F\u673A\u66F4\u6362" + })] + })] + }), e === null || e === void 0 || (_e$questions3 = e.questions) === null || _e$questions3 === void 0 ? void 0 : _e$questions3.map(function (k, i) { + var _k$program_attr, _k$program_attr4; + if (editId === k.id) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + id: "Anchor_".concat(k.id), + className: StepPreviewmodules.content, + style: { + padding: 0, + marginTop: 10 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + "float": 'right', + marginTop: -6 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + return setEditId(null); + }, + className: "mr20", + type: "primary", + ghost: true, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + if ((k === null || k === void 0 ? void 0 : k.is_my) === 1) { + es_modal/* default */.Z.confirm({ + title: '提示', + content: '此题目已存在于试题库,是否将修改后的题目覆盖试题库的原题?', + okText: '覆盖原题', + cancelText: '不覆盖', + keyboard: false, + onOk: function () { + var _onOk6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() { + return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { + case 0: + if (e.type === 'BPROGRAM') { + setcover(true); + form.submit(); + } else { + handleEditSave(e === null || e === void 0 ? void 0 : e.type, k, true); + } + case 1: + case "end": + return _context9.stop(); + } + }, _callee9); + })); + function onOk() { + return _onOk6.apply(this, arguments); + } + return onOk; + }(), + onCancel: function () { + var _onCancel = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() { + return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { + case 0: + if (e.type === 'BPROGRAM') { + setcover(false); + form.submit(); + } else { + handleEditSave(e === null || e === void 0 ? void 0 : e.type, k, false); + } + case 1: + case "end": + return _context10.stop(); + } + }, _callee10); + })); + function onCancel() { + return _onCancel.apply(this, arguments); + } + return onCancel; + }() + }); + } else { + if (e.type === 'BPROGRAM') { + setcover(false); + form.submit(); + } else { + handleEditSave(e === null || e === void 0 ? void 0 : e.type, k, false); + } + } + }, + type: "primary", + children: "\u4FDD\u5B58" + })] + }), renderSubject(k, e.type)] + }, k.id); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + id: "Anchor_".concat(k.id), + className: StepPreviewmodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: StepPreviewmodules.titleWrap, + children: [(k === null || k === void 0 ? void 0 : k.item_type) === 'bprogram' ? /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + paddingRight: 10 + }, + value: i + 1 + '、' + ((_k$program_attr = k.program_attr) === null || _k$program_attr === void 0 ? void 0 : _k$program_attr.description) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + paddingRight: 10 + }, + className: StepPreviewmodules.titleHtml, + value: i + 1 + '、' + "".concat((k === null || k === void 0 ? void 0 : k.item_type) === "combination" ? '(题干)' : '') + k.name + }), editPreview && e.type !== "PRACTICAL" && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + disabled: disabled, + onClick: function onClick() { + var _k$program_attr2, _k$hack_sets; + if (editId) { + message/* default */.ZP.warning('先保存或取消当前正在编辑的试题'); + return; + } + form.setFieldsValue({ + standard_answers: k.standard_answer, + hack: objectSpread2_default()(objectSpread2_default()({}, k), k.program_attr), + hack_codes: objectSpread2_default()(objectSpread2_default()({}, k.program_attr), {}, { + code: base64.Base64.decode(((_k$program_attr2 = k.program_attr) === null || _k$program_attr2 === void 0 ? void 0 : _k$program_attr2.code) || '') + }), + hack_sets: objectSpread2_default()({}, k === null || k === void 0 || (_k$hack_sets = k.hack_sets) === null || _k$hack_sets === void 0 ? void 0 : _k$hack_sets[0]) + }); + if (k.item_type == 'program') { + var _k$program_attr3; + _umi_production_exports.history.push("/problems/newedit/".concat(k === null || k === void 0 || (_k$program_attr3 = k.program_attr) === null || _k$program_attr3 === void 0 ? void 0 : _k$program_attr3.identifier, "?type=exercises&express_id=").concat(params.categoryId, "&question_id=").concat(k === null || k === void 0 ? void 0 : k.id, "&score=").concat(k === null || k === void 0 ? void 0 : k.score, "&exercise=true&callback_url=/classrooms/").concat(params.coursesId, "/exercise/").concat(params.categoryId, "/detail?random=true")); + } else { + setEditId(k.id); + } + }, + type: "primary", + className: "mr20", + style: { + marginLeft: 'auto' + }, + ghost: true, + children: "\u7F16\u8F91" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + disabled: disabled, + onClick: function onClick() { + return handleOnlyOne(k.id, e.type, i, e); + }, + type: "primary", + ghost: true, + children: "\u6362\u4E00\u9898" + })] + }), (k === null || k === void 0 ? void 0 : k.item_type) === 'bprogram' && /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + style: { + paddingRight: 10, + paddingLeft: 25 + }, + showProgramFill: true, + disabledFill: true, + className: StepPreviewmodules.titleHtml, + value: base64.Base64.decode(((_k$program_attr4 = k.program_attr) === null || _k$program_attr4 === void 0 ? void 0 : _k$program_attr4.code) || '') + }), (e.type === 'SINGLE' || e.type === "JUDGMENT" || e.type === "MULTIPLE") && renderQs(k), e.type === "COMPLETION" && renderCompletion(k), e.type === "SUBJECTIVE" && renderSubjective(k), e.type === "PROGRAM" && renderProgram(k), e.type === "BPROGRAM" && renderBProgram(k), e.type === "COMBINATION" && renderCombination(k, i), e.type === "PRACTICAL" && renderPractical(k), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {})] + }, k.id); + })] + }, index); + }) + })] + }), editPreview ? /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* FixedBottom */.vr, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showTotal: util/* showTotal */.rU, + total: data === null || data === void 0 || (_data$exam8 = data.exam) === null || _data$exam8 === void 0 ? void 0 : _data$exam8.total_num, + pageSize: 1, + current: selectValue + 1, + showSizeChanger: false, + onChange: handleSelectChange, + showQuickJumper: false, + hideOnSinglePage: false + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* FixedBottom */.vr, { + LeftContent: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + onClick: goBack, + shape: "default", + style: { + height: 38, + background: '#fff', + boxShadow: 'none' + }, + children: "\u8FD4\u56DE" + }), + RightContent: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(popover/* default */.Z, { + color: "#55575D", + overlayClassName: StepPreviewmodules.popover, + open: tooltipVisible, + getPopupContainer: function getPopupContainer(trigger) { + return trigger === null || trigger === void 0 ? void 0 : trigger.parentNode; + }, + content: "\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + onMouseEnter: function onMouseEnter() { + return setTooltipVisible(true); + }, + onMouseLeave: function onMouseLeave() { + return setTooltipVisible(false); + }, + onClick: function onClick() { + return handleSave(); + }, + shape: "default", + style: { + height: 38, + background: '#fff', + boxShadow: 'none' + }, + children: "\u4FDD\u5B58" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + shape: "default", + type: "primary", + onClick: function onClick() { + return submit(); + }, + style: { + height: 38, + marginLeft: 20 + }, + children: "\u63D0\u4EA4" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(components_ExchangeModal, { + visible: exchangeModalVisible, + questionParams: exchangeQuestionParams.current, + onRandomExchange: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() { + var changeParams; + return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { + case 0: + changeParams = exchangeQuestionParams.current; + _context11.next = 3; + return onExchange({ + single_question_id: changeParams.id, + seleted_item_bank_ids: changeParams.ids + }, { + type: changeParams.type, + index: changeParams.index + }); + case 3: + setExchangeModalVisible(false); + case 4: + case "end": + return _context11.stop(); + } + }, _callee11); + })), + selectFromProblemSet: function selectFromProblemSet() { + var changeParams = exchangeQuestionParams.current; + var currentUrl = "".concat(location.pathname).concat(location.search); + if (currentUrl.includes('exercise')) { + //只支持教学课堂换一题 + _umi_production_exports.history.push("/paperlibrary/exchangequestion?type=exercise&qid=".concat(changeParams.id, "&qtype=").concat(changeParams.type, "&exerciseid=").concat(params.categoryId, "&from=").concat(currentUrl)); + } + }, + onCancel: function onCancel() { + setExchangeModalVisible(false); + } + })] + }); +}; +/* harmony default export */ var StepPreview = (Page); + +/***/ }), + /***/ 21464: /*!*******************************************************************!*\ !*** ./src/pages/Paperlibrary/Random/Edit/index.tsx + 29 modules ***! @@ -9174,82 +13261,1743 @@ var RandomPaperEdit = function RandomPaperEdit() { }) }); }; -/* harmony default export */ var Edit = (RandomPaperEdit); +/* harmony default export */ var Edit = (RandomPaperEdit); + +/***/ }), + +/***/ 13158: +/*!*********************************************!*\ + !*** ./src/utils/hooks/useCustomRequest.ts ***! + \*********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ U: function() { return /* binding */ useCustomRequest; } +/* harmony export */ }); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 59301); + + + + + + +//常见的请求模式,包含loading和改变params。 + +function useCustomRequest(request, baseParams) { + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(baseParams), + _useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), + params = _useState2[0], + setParams = _useState2[1]; + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false), + _useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2), + loading = _useState4[0], + setLoading = _useState4[1]; + var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(), + _useState6 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2), + data = _useState6[0], + setData = _useState6[1]; + var getData = /*#__PURE__*/function () { + var _ref = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(newParams) { + var reset, + mergedParams, + res, + _args = arguments; + return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + reset = _args.length > 1 && _args[1] !== undefined ? _args[1] : false; + mergedParams = reset ? baseParams : _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), newParams); + setLoading(true); + setParams(mergedParams); + _context.next = 6; + return request(mergedParams); + case 6: + res = _context.sent; + setLoading(false); + setData(res); + return _context.abrupt("return", res); + case 10: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getData(_x) { + return _ref.apply(this, arguments); + }; + }(); + return [params, loading, getData, data]; +} + + +/***/ }), + +/***/ 69266: +/*!********************************************!*\ + !*** ./src/assets/images/paper/jinshi.svg ***! + \********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony export ReactComponent */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgJinshi = function SvgJinshi(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 14, + height: 14, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u7F16\u7EC4 18"), /* @__PURE__ */React.createElement("g", { + fill: "none", + fillRule: "evenodd" + }, /* @__PURE__ */React.createElement("circle", { + fill: "#FCB041", + cx: 7, + cy: 7, + r: 7 + }), /* @__PURE__ */React.createElement("path", { + d: "M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z", + fill: "#FFF", + fillRule: "nonzero" + }))); +}; + +/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"); + +/***/ }), + +/***/ 43929: +/*!*****************************************!*\ + !*** ./src/assets/images/uploadImg.svg ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony export ReactComponent */ +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); +function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } +var __defProp = Object.defineProperty; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = function __defNormalProp(obj, key, value) { + return key in obj ? __defProp(obj, key, { + enumerable: true, + configurable: true, + writable: true, + value: value + }) : obj[key] = value; +}; +var __spreadValues = function __spreadValues(a, b) { + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) { + var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + var prop = _step.value; + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + } + return a; +}; + +var SvgUploadImg = function SvgUploadImg(props) { + return /* @__PURE__ */React.createElement("svg", __spreadValues({ + width: 14, + height: 14, + xmlns: "http://www.w3.org/2000/svg" + }, props), /* @__PURE__ */React.createElement("title", null, "\u5F62\u72B6"), /* @__PURE__ */React.createElement("path", { + d: "M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z", + fill: "#3061D0", + fillRule: "nonzero" + })); +}; + +/* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4="); + +/***/ }), + +/***/ 77578: +/*!**********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/_util/getRenderPropValue.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 66104: +/*!**************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ breadcrumb; } +}); + +// 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.44.3@rc-util/es/Children/toArray.js +var toArray = __webpack_require__(38298); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(36994); +// 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/_util/reactNode.js +var reactNode = __webpack_require__(92343); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js +var context = __webpack_require__(36355); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(76995); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js +var dropdown = __webpack_require__(91857); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/BreadcrumbSeparator.js +"use client"; + + + +const BreadcrumbSeparator = _ref => { + let { + children + } = _ref; + const { + getPrefixCls + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/_react_17_0_2_react.createElement("li", { + className: `${prefixCls}-separator`, + "aria-hidden": "true" + }, children === '' ? children : children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/useItemRender.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 getBreadcrumbName(route, params) { + if (route.title === undefined || route.title === null) { + return null; + } + const paramsKeys = Object.keys(params).join('|'); + return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement); +} +function renderItem(prefixCls, item, children, href) { + if (children === null || children === undefined) { + return null; + } + const { + className, + onClick + } = item, + restItem = __rest(item, ["className", "onClick"]); + const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, { + data: true, + aria: true + })), { + onClick + }); + if (href !== undefined) { + return /*#__PURE__*/_react_17_0_2_react.createElement("a", Object.assign({}, passedProps, { + className: _classnames_2_5_1_classnames_default()(`${prefixCls}-link`, className), + href: href + }), children); + } + return /*#__PURE__*/_react_17_0_2_react.createElement("span", Object.assign({}, passedProps, { + className: _classnames_2_5_1_classnames_default()(`${prefixCls}-link`, className) + }), children); +} +function useItemRender(prefixCls, itemRender) { + const mergedItemRender = (item, params, routes, path, href) => { + if (itemRender) { + return itemRender(item, params, routes, path); + } + const name = getBreadcrumbName(item, params); + return renderItem(prefixCls, item, name, href); + }; + return mergedItemRender; +} +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/BreadcrumbItem.js +"use client"; + +var BreadcrumbItem_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 InternalBreadcrumbItem = props => { + const { + prefixCls, + separator = '/', + children, + menu, + overlay, + dropdownProps, + href + } = props; + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + const renderBreadcrumbNode = breadcrumbItem => { + if (menu || overlay) { + const mergeDropDownProps = Object.assign({}, dropdownProps); + if (menu) { + const _a = menu || {}, + { + items + } = _a, + menuProps = BreadcrumbItem_rest(_a, ["items"]); + mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), { + items: items === null || items === void 0 ? void 0 : items.map((_a, index) => { + var { + key, + title, + label, + path + } = _a, + itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]); + let mergedLabel = label !== null && label !== void 0 ? label : title; + if (path) { + mergedLabel = /*#__PURE__*/_react_17_0_2_react.createElement("a", { + href: `${href}${path}` + }, mergedLabel); + } + return Object.assign(Object.assign({}, itemProps), { + key: key !== null && key !== void 0 ? key : index, + label: mergedLabel + }); + }) + }); + } else if (overlay) { + mergeDropDownProps.overlay = overlay; + } + return /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({ + placement: "bottom" + }, mergeDropDownProps), /*#__PURE__*/_react_17_0_2_react.createElement("span", { + className: `${prefixCls}-overlay-link` + }, breadcrumbItem, /*#__PURE__*/_react_17_0_2_react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + // wrap to dropDown + const link = renderBreadcrumbNode(children); + if (link !== undefined && link !== null) { + return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("li", null, link), separator && /*#__PURE__*/_react_17_0_2_react.createElement(breadcrumb_BreadcrumbSeparator, null, separator)); + } + return null; +}; +const BreadcrumbItem = props => { + const { + prefixCls: customizePrefixCls, + children, + href + } = props, + restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]); + const { + getPrefixCls + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + return /*#__PURE__*/_react_17_0_2_react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, { + prefixCls: prefixCls + }), renderItem(prefixCls, restProps, children, href)); +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +// 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/breadcrumb/style/index.js + + +const genBreadcrumbStyle = token => { + const { + componentCls, + iconCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + color: token.itemColor, + fontSize: token.fontSize, + [iconCls]: { + fontSize: token.iconFontSize + }, + ol: { + display: 'flex', + flexWrap: 'wrap', + margin: 0, + padding: 0, + listStyle: 'none' + }, + a: Object.assign({ + color: token.linkColor, + transition: `color ${token.motionDurationMid}`, + padding: `0 ${token.paddingXXS}px`, + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + marginInline: -token.marginXXS, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover + } + }, (0,style/* genFocusStyle */.Qy)(token)), + [`li:last-child`]: { + color: token.lastItemColor + }, + [`${componentCls}-separator`]: { + marginInline: token.separatorMargin, + color: token.separatorColor + }, + [`${componentCls}-link`]: { + [` + > ${iconCls} + span, + > ${iconCls} + a + `]: { + marginInlineStart: token.marginXXS + } + }, + [`${componentCls}-overlay-link`]: { + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + padding: `0 ${token.paddingXXS}px`, + marginInline: -token.marginXXS, + [`> ${iconCls}`]: { + marginInlineStart: token.marginXXS, + fontSize: token.fontSizeIcon + }, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover, + a: { + color: token.linkHoverColor + } + }, + a: { + '&:hover': { + backgroundColor: 'transparent' + } + } + }, + // rtl style + [`&${token.componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => { + const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {}); + return [genBreadcrumbStyle(BreadcrumbToken)]; +}, token => ({ + itemColor: token.colorTextDescription, + lastItemColor: token.colorText, + iconFontSize: token.fontSize, + linkColor: token.colorTextDescription, + linkHoverColor: token.colorText, + separatorColor: token.colorTextDescription, + separatorMargin: token.marginXS +}))); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/useItems.js +var useItems_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 route2item(route) { + const { + breadcrumbName, + children + } = route, + rest = useItems_rest(route, ["breadcrumbName", "children"]); + const clone = Object.assign({ + title: breadcrumbName + }, rest); + if (children) { + clone.menu = { + items: children.map(_a => { + var { + breadcrumbName: itemBreadcrumbName + } = _a, + itemProps = useItems_rest(_a, ["breadcrumbName"]); + return Object.assign(Object.assign({}, itemProps), { + title: itemBreadcrumbName + }); + }) + }; + } + return clone; +} +function useItems(items, routes) { + return (0,_react_17_0_2_react.useMemo)(() => { + if (items) { + return items; + } + if (routes) { + return routes.map(route2item); + } + return null; + }, [items, routes]); +} +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/Breadcrumb.js +"use client"; + +var Breadcrumb_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 getPath = (params, path) => { + if (path === undefined) { + return path; + } + let mergedPath = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(key => { + mergedPath = mergedPath.replace(`:${key}`, params[key]); + }); + return mergedPath; +}; +const Breadcrumb = props => { + const { + prefixCls: customizePrefixCls, + separator = '/', + style, + className, + rootClassName, + routes: legacyRoutes, + items, + children, + itemRender, + params = {} + } = props, + restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]); + const { + getPrefixCls, + direction, + breadcrumb + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + let crumbs; + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + const [wrapSSR, hashId] = breadcrumb_style(prefixCls); + const mergedItems = useItems(items, legacyRoutes); + if (false) {} + const mergedItemRender = useItemRender(prefixCls, itemRender); + if (mergedItems && mergedItems.length > 0) { + // generated by route + const paths = []; + const itemRenderRoutes = items || legacyRoutes; + crumbs = mergedItems.map((item, index) => { + const { + path, + key, + type, + menu, + overlay, + onClick, + className: itemClassName, + separator: itemSeparator, + dropdownProps + } = item; + const mergedPath = getPath(params, path); + if (mergedPath !== undefined) { + paths.push(mergedPath); + } + const mergedKey = key !== null && key !== void 0 ? key : index; + if (type === 'separator') { + return /*#__PURE__*/_react_17_0_2_react.createElement(breadcrumb_BreadcrumbSeparator, { + key: mergedKey + }, itemSeparator); + } + const itemProps = {}; + const isLastItem = index === mergedItems.length - 1; + if (menu) { + itemProps.menu = menu; + } else if (overlay) { + itemProps.overlay = overlay; + } + let { + href + } = item; + if (paths.length && mergedPath !== undefined) { + href = `#/${paths.join('/')}`; + } + return /*#__PURE__*/_react_17_0_2_react.createElement(InternalBreadcrumbItem, Object.assign({ + key: mergedKey + }, itemProps, (0,pickAttrs/* default */.Z)(item, { + data: true, + aria: true + }), { + className: itemClassName, + dropdownProps: dropdownProps, + href: href, + separator: isLastItem ? '' : separator, + onClick: onClick, + prefixCls: prefixCls + }), mergedItemRender(item, params, itemRenderRoutes, paths, href)); + }); + } else if (children) { + const childrenLength = (0,toArray/* default */.Z)(children).length; + crumbs = (0,toArray/* default */.Z)(children).map((element, index) => { + if (!element) { + return element; + } + // =================== Warning ===================== + if (false) {} + false ? 0 : void 0; + const isLastItem = index === childrenLength - 1; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: isLastItem ? '' : separator, + key: index + }); + }); + } + const breadcrumbClassName = _classnames_2_5_1_classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("nav", Object.assign({ + className: breadcrumbClassName, + style: mergedStyle + }, restProps), /*#__PURE__*/_react_17_0_2_react.createElement("ol", null, crumbs))); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +if (false) {} +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js +"use client"; + + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 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); /***/ }), -/***/ 13158: -/*!*********************************************!*\ - !*** ./src/utils/hooks/useCustomRequest.ts ***! - \*********************************************/ +/***/ 39722: +/*!***************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/popover/PurePanel.js ***! + \***************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ U: function() { return /* binding */ useCustomRequest; } +/* harmony export */ t5: function() { return /* binding */ RawPurePanel; } /* harmony export */ }); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js */ 79800); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 59301); +/* unused harmony export getOverlay */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 36355); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 17356); +"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; +}; -//常见的请求模式,包含loading和改变params。 +const getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__.ZP = (PurePanel); -function useCustomRequest(request, baseParams) { - var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(baseParams), - _useState2 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), - params = _useState2[0], - setParams = _useState2[1]; - var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false), - _useState4 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState3, 2), - loading = _useState4[0], - setLoading = _useState4[1]; - var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(), - _useState6 = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState5, 2), - data = _useState6[0], - setData = _useState6[1]; - var getData = /*#__PURE__*/function () { - var _ref = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(newParams) { - var reset, - mergedParams, - res, - _args = arguments; - return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - reset = _args.length > 1 && _args[1] !== undefined ? _args[1] : false; - mergedParams = reset ? baseParams : _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), newParams); - setLoading(true); - setParams(mergedParams); - _context.next = 6; - return request(mergedParams); - case 6: - res = _context.sent; - setLoading(false); - setData(res); - return _context.abrupt("return", res); - case 10: - case "end": - return _context.stop(); +/***/ }), + +/***/ 60324: +/*!***********************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/popover/index.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 62892); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 6848); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 39722); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 17356); +"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; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .m)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__.Z = (Popover); + +/***/ }), + +/***/ 17356: +/*!*****************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/popover/style/index.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 29878); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 19447); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 33166); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 83116); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 37613); +"use client"; + + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } } - }, _callee); + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__.Z = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + resetStyle: false, + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 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
  • { + var { + prefixCls, + className, + pending = false, + children, + items, + rootClassName, + reverse = false, + direction, + hashId, + pendingDot, + mode = '' + } = _a, + restProps = TimelineItemList_rest(_a, ["prefixCls", "className", "pending", "children", "items", "rootClassName", "reverse", "direction", "hashId", "pendingDot", "mode"]); + const getPositionCls = (position, idx) => { + if (mode === 'alternate') { + if (position === 'right') return `${prefixCls}-item-right`; + if (position === 'left') return `${prefixCls}-item-left`; + return idx % 2 === 0 ? `${prefixCls}-item-left` : `${prefixCls}-item-right`; + } + if (mode === 'left') return `${prefixCls}-item-left`; + if (mode === 'right') return `${prefixCls}-item-right`; + if (position === 'right') return `${prefixCls}-item-right`; + return ''; + }; + const mergedItems = (0,toConsumableArray/* default */.Z)(items || []); + const pendingNode = typeof pending === 'boolean' ? null : pending; + if (pending) { + mergedItems.push({ + pending: !!pending, + dot: pendingDot || /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null), + children: pendingNode + }); + } + if (reverse) { + mergedItems.reverse(); + } + const itemsCount = mergedItems.length; + const lastCls = `${prefixCls}-item-last`; + const itemsList = mergedItems.filter(item => !!item).map((item, idx) => { + var _a; + const pendingClass = idx === itemsCount - 2 ? lastCls : ''; + const readyClass = idx === itemsCount - 1 ? lastCls : ''; + const { + className: itemClassName + } = item, + itemProps = TimelineItemList_rest(item, ["className"]); + return /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItem, Object.assign({}, itemProps, { + className: _classnames_2_5_1_classnames_default()([itemClassName, !reverse && !!pending ? pendingClass : readyClass, getPositionCls((_a = item === null || item === void 0 ? void 0 : item.position) !== null && _a !== void 0 ? _a : '', idx)]), + /* eslint-disable-next-line react/no-array-index-key */ + key: (item === null || item === void 0 ? void 0 : item.key) || idx })); - return function getData(_x) { - return _ref.apply(this, arguments); - }; - }(); - return [params, loading, getData, data]; + }); + const hasLabelItem = mergedItems.some(item => !!(item === null || item === void 0 ? void 0 : item.label)); + const classString = _classnames_2_5_1_classnames_default()(prefixCls, { + [`${prefixCls}-pending`]: !!pending, + [`${prefixCls}-reverse`]: !!reverse, + [`${prefixCls}-${mode}`]: !!mode && !hasLabelItem, + [`${prefixCls}-label`]: hasLabelItem, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return /*#__PURE__*/_react_17_0_2_react.createElement("ul", Object.assign({}, restProps, { + className: classString + }), itemsList); +}; +/* harmony default export */ var timeline_TimelineItemList = (TimelineItemList); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/Children/toArray.js +var toArray = __webpack_require__(38298); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/useItems.js +"use client"; + + +function useItems(items, children) { + if (items && Array.isArray(items)) return items; + return (0,toArray/* default */.Z)(children).map(ele => { + var _a, _b; + return Object.assign({ + children: (_b = (_a = ele === null || ele === void 0 ? void 0 : ele.props) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : '' + }, ele.props); + }); } +/* harmony default export */ var timeline_useItems = (useItems); +// 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/timeline/style/index.js + + +const genTimelineStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + margin: 0, + padding: 0, + listStyle: 'none', + [`${componentCls}-item`]: { + position: 'relative', + margin: 0, + paddingBottom: token.itemPaddingBottom, + fontSize: token.fontSize, + listStyle: 'none', + '&-tail': { + position: 'absolute', + insetBlockStart: token.itemHeadSize, + insetInlineStart: (token.itemHeadSize - token.tailWidth) / 2, + height: `calc(100% - ${token.itemHeadSize}px)`, + borderInlineStart: `${token.tailWidth}px ${token.lineType} ${token.tailColor}` + }, + '&-pending': { + [`${componentCls}-item-head`]: { + fontSize: token.fontSizeSM, + backgroundColor: 'transparent' + }, + [`${componentCls}-item-tail`]: { + display: 'none' + } + }, + '&-head': { + position: 'absolute', + width: token.itemHeadSize, + height: token.itemHeadSize, + backgroundColor: token.dotBg, + border: `${token.dotBorderWidth}px ${token.lineType} transparent`, + borderRadius: '50%', + '&-blue': { + color: token.colorPrimary, + borderColor: token.colorPrimary + }, + '&-red': { + color: token.colorError, + borderColor: token.colorError + }, + '&-green': { + color: token.colorSuccess, + borderColor: token.colorSuccess + }, + '&-gray': { + color: token.colorTextDisabled, + borderColor: token.colorTextDisabled + } + }, + '&-head-custom': { + position: 'absolute', + insetBlockStart: token.itemHeadSize / 2, + insetInlineStart: token.itemHeadSize / 2, + width: 'auto', + height: 'auto', + marginBlockStart: 0, + paddingBlock: token.customHeadPaddingVertical, + lineHeight: 1, + textAlign: 'center', + border: 0, + borderRadius: 0, + transform: `translate(-50%, -50%)` + }, + '&-content': { + position: 'relative', + insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.lineWidth, + marginInlineStart: token.margin + token.itemHeadSize, + marginInlineEnd: 0, + marginBlockStart: 0, + marginBlockEnd: 0, + wordBreak: 'break-word' + }, + '&-last': { + [`> ${componentCls}-item-tail`]: { + display: 'none' + }, + [`> ${componentCls}-item-content`]: { + minHeight: token.controlHeightLG * 1.2 + } + } + }, + [`&${componentCls}-alternate, + &${componentCls}-right, + &${componentCls}-label`]: { + [`${componentCls}-item`]: { + '&-tail, &-head, &-head-custom': { + insetInlineStart: '50%' + }, + '&-head': { + marginInlineStart: `-${token.marginXXS}px`, + '&-custom': { + marginInlineStart: token.tailWidth / 2 + } + }, + '&-left': { + [`${componentCls}-item-content`]: { + insetInlineStart: `calc(50% - ${token.marginXXS}px)`, + width: `calc(50% - ${token.marginSM}px)`, + textAlign: 'start' + } + }, + '&-right': { + [`${componentCls}-item-content`]: { + width: `calc(50% - ${token.marginSM}px)`, + margin: 0, + textAlign: 'end' + } + } + } + }, + [`&${componentCls}-right`]: { + [`${componentCls}-item-right`]: { + [`${componentCls}-item-tail, + ${componentCls}-item-head, + ${componentCls}-item-head-custom`]: { + insetInlineStart: `calc(100% - ${(token.itemHeadSize + token.tailWidth) / 2}px)` + }, + [`${componentCls}-item-content`]: { + width: `calc(100% - ${token.itemHeadSize + token.marginXS}px)` + } + } + }, + [`&${componentCls}-pending + ${componentCls}-item-last + ${componentCls}-item-tail`]: { + display: 'block', + height: `calc(100% - ${token.margin}px)`, + borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}` + }, + [`&${componentCls}-reverse + ${componentCls}-item-last + ${componentCls}-item-tail`]: { + display: 'none' + }, + [`&${componentCls}-reverse ${componentCls}-item-pending`]: { + [`${componentCls}-item-tail`]: { + insetBlockStart: token.margin, + display: 'block', + height: `calc(100% - ${token.margin}px)`, + borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}` + }, + [`${componentCls}-item-content`]: { + minHeight: token.controlHeightLG * 1.2 + } + }, + [`&${componentCls}-label`]: { + [`${componentCls}-item-label`]: { + position: 'absolute', + insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.tailWidth, + width: `calc(50% - ${token.marginSM}px)`, + textAlign: 'end' + }, + [`${componentCls}-item-right`]: { + [`${componentCls}-item-label`]: { + insetInlineStart: `calc(50% + ${token.marginSM}px)`, + width: `calc(50% - ${token.marginSM}px)`, + textAlign: 'start' + } + } + }, + // ====================== RTL ======================= + '&-rtl': { + direction: 'rtl', + [`${componentCls}-item-head-custom`]: { + transform: `translate(50%, -50%)` + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var timeline_style = ((0,genComponentStyleHook/* default */.Z)('Timeline', token => { + const timeLineToken = (0,statistic/* merge */.TS)(token, { + itemHeadSize: 10, + customHeadPaddingVertical: token.paddingXXS, + paddingInlineEnd: 2 + }); + return [genTimelineStyle(timeLineToken)]; +}, token => ({ + tailColor: token.colorSplit, + tailWidth: token.lineWidthBold, + dotBorderWidth: token.wireframe ? token.lineWidthBold : token.lineWidth * 3, + dotBg: token.colorBgContainer, + itemPaddingBottom: token.padding * 1.25 +}))); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/Timeline.js +"use client"; + +var Timeline_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; +}; + + + + + + + +// CSSINJS + +const Timeline = props => { + const { + getPrefixCls, + direction, + timeline + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + children, + items, + className, + style + } = props, + restProps = Timeline_rest(props, ["prefixCls", "children", "items", "className", "style"]); + const prefixCls = getPrefixCls('timeline', customizePrefixCls); + // =================== Warning ===================== + if (false) {} + // Style + const [wrapSSR, hashId] = timeline_style(prefixCls); + const mergedItems = timeline_useItems(items, children); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItemList, Object.assign({}, restProps, { + className: _classnames_2_5_1_classnames_default()(timeline === null || timeline === void 0 ? void 0 : timeline.className, className), + style: Object.assign(Object.assign({}, timeline === null || timeline === void 0 ? void 0 : timeline.style), style), + prefixCls: prefixCls, + direction: direction, + items: mergedItems, + hashId: hashId + }))); +}; +Timeline.Item = timeline_TimelineItem; +if (false) {} +/* harmony default export */ var timeline_Timeline = (Timeline); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/index.js +"use client"; + +/* harmony default export */ var timeline = (timeline_Timeline); /***/ }), diff --git a/p__Paperlibrary__Random__PreviewEdit__index.1c06a35d.async.js b/p__Paperlibrary__Random__PreviewEdit__index.1c06a35d.async.js deleted file mode 100644 index f66b014ac5..0000000000 --- a/p__Paperlibrary__Random__PreviewEdit__index.1c06a35d.async.js +++ /dev/null @@ -1,2270 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,96004,23003,6572],{ - -/***/ 21646: -/*!**************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js + 1 modules ***! - \**************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_EyeInvisibleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(5891); -// 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/EyeInvisibleOutlined.js -// This icon file is generated automatically. -var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; -/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); - -// 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/EyeInvisibleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_EyeInvisibleOutlined - })); -}; - -/**![eye-invisible](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yUTg4OS40NyAzNzUuMTEgODE2LjcgMzA1bC01MC44OCA1MC44OEM4MDcuMzEgMzk1LjUzIDg0My40NSA0NDcuNCA4NzQuNyA1MTIgNzkxLjUgNjg0LjIgNjczLjQgNzY2IDUxMiA3NjZxLTcyLjY3IDAtMTMzLjg3LTIyLjM4TDMyMyA3OTguNzVRNDA4IDgzOCA1MTIgODM4cTI4OC4zIDAgNDMwLjItMzAwLjNhNjAuMjkgNjAuMjkgMCAwMDAtNTEuNXptLTYzLjU3LTMyMC42NEw4MzYgMTIyLjg4YTggOCAwIDAwLTExLjMyIDBMNzE1LjMxIDIzMi4yUTYyNC44NiAxODYgNTEyIDE4NnEtMjg4LjMgMC00MzAuMiAzMDAuM2E2MC4zIDYwLjMgMCAwMDAgNTEuNXE1Ni42OSAxMTkuNCAxMzYuNSAxOTEuNDFMMTEyLjQ4IDgzNWE4IDggMCAwMDAgMTEuMzFMMTU1LjE3IDg4OWE4IDggMCAwMDExLjMxIDBsNzEyLjE1LTcxMi4xMmE4IDggMCAwMDAtMTEuMzJ6TTE0OS4zIDUxMkMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGM1NC41NCAwIDEwNC4xMyA5LjM2IDE0OS4xMiAyOC4zOWwtNzAuMyA3MC4zYTE3NiAxNzYgMCAwMC0yMzguMTMgMjM4LjEzbC04My40MiA4My40MkMyMjMuMSA2MzcuNDkgMTgzLjMgNTgyLjI4IDE0OS4zIDUxMnptMjQ2LjcgMGExMTIuMTEgMTEyLjExIDAgMDExNDYuMi0xMDYuNjlMNDAxLjMxIDU0Ni4yQTExMiAxMTIgMCAwMTM5NiA1MTJ6IiAvPjxwYXRoIGQ9Ik01MDggNjI0Yy0zLjQ2IDAtNi44Ny0uMTYtMTAuMjUtLjQ3bC01Mi44MiA1Mi44MmExNzYuMDkgMTc2LjA5IDAgMDAyMjcuNDItMjI3LjQybC01Mi44MiA1Mi44MmMuMzEgMy4zOC40NyA2Ljc5LjQ3IDEwLjI1YTExMS45NCAxMTEuOTQgMCAwMS0xMTIgMTEyeiIgLz48L3N2Zz4=) */ -var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined); -if (false) {} -/* harmony default export */ var icons_EyeInvisibleOutlined = (RefIcon); - -/***/ }), - -/***/ 20970: -/*!*****************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! - \*****************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_EyeOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(5891); -// 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/EyeOutlined.js -// This icon file is generated automatically. -var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; -/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); - -// 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/EyeOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_EyeOutlined - })); -}; - -/**![eye](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yQzg0Ny40IDI4Ni41IDcwNC4xIDE4NiA1MTIgMTg2Yy0xOTIuMiAwLTMzNS40IDEwMC41LTQzMC4yIDMwMC4zYTYwLjMgNjAuMyAwIDAwMCA1MS41QzE3Ni42IDczNy41IDMxOS45IDgzOCA1MTIgODM4YzE5Mi4yIDAgMzM1LjQtMTAwLjUgNDMwLjItMzAwLjMgNy43LTE2LjIgNy43LTM1IDAtNTEuNXpNNTEyIDc2NmMtMTYxLjMgMC0yNzkuNC04MS44LTM2Mi43LTI1NEMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGMxNjEuMyAwIDI3OS40IDgxLjggMzYyLjcgMjU0Qzc5MS41IDY4NC4yIDY3My40IDc2NiA1MTIgNzY2em0tNC00MzBjLTk3LjIgMC0xNzYgNzguOC0xNzYgMTc2czc4LjggMTc2IDE3NiAxNzYgMTc2LTc4LjggMTc2LTE3Ni03OC44LTE3Ni0xNzYtMTc2em0wIDI4OGMtNjEuOSAwLTExMi01MC4xLTExMi0xMTJzNTAuMS0xMTIgMTEyLTExMiAxMTIgNTAuMSAxMTIgMTEyLTUwLjEgMTEyLTExMiAxMTJ6IiAvPjwvc3ZnPg==) */ -var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined); -if (false) {} -/* harmony default export */ var icons_EyeOutlined = (RefIcon); - -/***/ }), - -/***/ 66119: -/*!******************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PlusOutlined.js + 1 modules ***! - \******************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_PlusOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(5891); -// 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/PlusOutlined.js -// This icon file is generated automatically. -var 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" }; -/* harmony default export */ var asn_PlusOutlined = (PlusOutlined); - -// 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/PlusOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var PlusOutlined_PlusOutlined = function PlusOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_PlusOutlined - })); -}; - -/**![plus](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4MiAxNTJoNjBxOCAwIDggOHY3MDRxMCA4LTggOGgtNjBxLTggMC04LThWMTYwcTAtOCA4LTh6IiAvPjxwYXRoIGQ9Ik0xOTIgNDc0aDY3MnE4IDAgOCA4djYwcTAgOC04IDhIMTYwcS04IDAtOC04di02MHEwLTggOC04eiIgLz48L3N2Zz4=) */ -var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(PlusOutlined_PlusOutlined); -if (false) {} -/* harmony default export */ var icons_PlusOutlined = (RefIcon); - -/***/ }), - -/***/ 99023: -/*!*************************************************************************!*\ - !*** ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + 1 modules ***! - \*************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -// ESM COMPAT FLAG -__webpack_require__.r(__webpack_exports__); - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "default": function() { return /* binding */ PreviewEdit; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js -var regeneratorRuntime = __webpack_require__(7557); -var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js -var asyncToGenerator = __webpack_require__(41498); -var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js -var objectSpread2 = __webpack_require__(82242); -var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js -var slicedToArray = __webpack_require__(79800); -var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -// EXTERNAL MODULE: ./src/.umi-production/exports.ts -var _umi_production_exports = __webpack_require__(88271); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var PreviewEditmodules = ({"flex_box_center":"flex_box_center___kQBcj","flex_space_between":"flex_space_between___Znlbo","flex_box_vertical_center":"flex_box_vertical_center___CPD50","flex_box_center_end":"flex_box_center_end___jzPvK","flex_box_column":"flex_box_column___cvIBS","flex-col":"flex-col___AJA2a","flex-row":"flex-row___zlJka","justify-start":"justify-start___oXJpO","justify-center":"justify-center___sZ0BD","justify-end":"justify-end___lGnpX","justify-evenly":"justify-evenly___tBrft","justify-around":"justify-around___hg6fu","justify-between":"justify-between___YzcAk","align-start":"align-start____6JZr","align-center":"align-center___vHOmC","align-end":"align-end___CAmDD","wrap":"wrap___lab8O","crumbs":"crumbs___qvTza"}); -// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules -var StepPreview = __webpack_require__(23980); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules -var skeleton = __webpack_require__(69127); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(82710); -// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js -var lodash = __webpack_require__(89392); -// EXTERNAL MODULE: ./src/utils/util.tsx -var util = __webpack_require__(95972); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js -var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx - - - - - - - - - - - - - - -var PaperlibraryPage = function PaperlibraryPage(_ref) { - var _useLocation, _userInfo$course; - var paperlibrary = _ref.paperlibrary, - user = _ref.user, - globalSetting = _ref.globalSetting, - dispatch = _ref.dispatch, - location = _ref.location; - var _useSearchParams = (0,_umi_production_exports.useSearchParams)(), - _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1), - searchParams = _useSearchParams2[0]; - var defaultSelectValue = searchParams.get("select") || 0; - var _useState = (0,_react_17_0_2_react.useState)(false), - _useState2 = slicedToArray_default()(_useState, 2), - Sloading = _useState2[0], - setSloading = _useState2[1]; - var _useState3 = (0,_react_17_0_2_react.useState)(true), - _useState4 = slicedToArray_default()(_useState3, 2), - loading = _useState4[0], - setLoading = _useState4[1]; - var _useState5 = (0,_react_17_0_2_react.useState)(Number(defaultSelectValue)), - _useState6 = slicedToArray_default()(_useState5, 2), - selectValue = _useState6[0], - setSelectValue = _useState6[1]; - var _useState7 = (0,_react_17_0_2_react.useState)({}), - _useState8 = slicedToArray_default()(_useState7, 2), - editData = _useState8[0], - setEditData = _useState8[1]; - var params = (0,_umi_production_exports.useParams)(); - var userInfo = user.userInfo; - (0,_react_17_0_2_react.useEffect)(function () { - dispatch({ - type: 'globalSetting/footerToggle', - payload: false - }); - return function () { - dispatch({ - type: 'globalSetting/footerToggle', - payload: true - }); - }; - }, []); - - //出现页面右侧悬浮按钮 - (0,_react_17_0_2_react.useEffect)(function () { - dispatch({ - type: 'globalSetting/onlyShowBackTopToggle', - payload: false - }); - dispatch({ - type: 'globalSetting/onlyShowBackTopIconToggle', - payload: false - }); - dispatch({ - type: 'exercise/getWorkSetting', - payload: objectSpread2_default()({}, params) - }); - return function () { - dispatch({ - type: 'globalSetting/onlyShowBackTopToggle', - payload: true - }); - dispatch({ - type: 'globalSetting/onlyShowBackTopIconToggle', - payload: true - }); - }; - }, []); - - // useEffect(() => { - // document.body.setAttribute('data-custom', 'initial'); - // return () => { document.body.removeAttribute('data-custom'); } - // }, []); - - (0,_react_17_0_2_react.useEffect)(function () { - getEditData(selectValue); - }, []); - var getEditData = /*#__PURE__*/function () { - var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var num, - res, - _args = arguments; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - num = _args.length > 0 && _args[0] !== undefined ? _args[0] : 0; - console.log(params); - // setLoading(true) - _context.next = 4; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/preview_random_exercise.json"), { - method: 'get', - params: { - num: num - } - }); - case 4: - res = _context.sent; - setLoading(false); - setEditData((0,util/* formatRandomPaperDatas */.PF)(res)); - case 7: - case "end": - return _context.stop(); - } - }, _callee); - })); - return function getEditData() { - return _ref2.apply(this, arguments); - }; - }(); - var handleBack = function handleBack() { - _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); - }; - - //保存 - var handleSubmit = function handleSubmit() { - alert('保存'); - }; - - //换一题 - var handleExchange = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(record, other) { - var res, _clonePreviewData$que, clonePreviewData; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - _context2.next = 2; - return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/toggle_random_question.json"), { - method: 'post', - body: { - question_id: record === null || record === void 0 ? void 0 : record.single_question_id - } - }); - case 2: - res = _context2.sent; - if (res !== null && res !== void 0 && res.question) { - clonePreviewData = (0,lodash.cloneDeep)(editData); - clonePreviewData.questionList = clonePreviewData === null || clonePreviewData === void 0 || (_clonePreviewData$que = clonePreviewData.questionList) === null || _clonePreviewData$que === void 0 ? void 0 : _clonePreviewData$que.map(function (e) { - if (e.type === other.type) { - var new_questions = (0,lodash.cloneDeep)(e === null || e === void 0 ? void 0 : e.questions); - new_questions.splice(other.index, 1, res === null || res === void 0 ? void 0 : res.question); - // console.log(e?.questions, new_questions, other.index, 'new_questions') - return objectSpread2_default()(objectSpread2_default()({}, e), {}, { - questions: new_questions - }); - } - return e; - }); - setEditData(clonePreviewData); - } - case 4: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function handleExchange(_x, _x2) { - return _ref3.apply(this, arguments); - }; - }(); - - //下上 - var handleSkipExamination = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(num) { - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - document.body.scrollIntoView(); - setSelectValue(num); - _context3.next = 4; - return getEditData(num); - case 4: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function handleSkipExamination(_x3) { - return _ref4.apply(this, arguments); - }; - }(); - console.log((0,_umi_production_exports.useLocation)(), 'location333'); - return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { - className: PreviewEditmodules.wrap, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, { - loading: loading, - active: true, - paragraph: { - rows: 5 - }, - children: [((_useLocation = (0,_umi_production_exports.useLocation)()) === null || _useLocation === void 0 || (_useLocation = _useLocation.pathname) === null || _useLocation === void 0 ? void 0 : _useLocation.includes('preview')) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: PreviewEditmodules.crumbs, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "current", - onClick: function onClick() { - return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); - }, - children: "".concat(userInfo === null || userInfo === void 0 || (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name, ">") - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "current", - onClick: function onClick() { - return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); - }, - children: '试卷列表>' - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: "#bebebe" - }, - children: '预览' - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(StepPreview/* default */.Z, { - loading: Sloading, - submit: handleSubmit, - goBack: handleBack, - data: editData, - selectValue: selectValue, - editPreview: true, - onExchange: handleExchange, - onSkipExamination: handleSkipExamination - })] - }) - }); -}; -/* harmony default export */ var PreviewEdit = ((0,_umi_production_exports.connect)(function (_ref5) { - var paperlibrary = _ref5.paperlibrary, - user = _ref5.user, - globalSetting = _ref5.globalSetting; - return { - paperlibrary: paperlibrary, - user: user, - globalSetting: globalSetting - }; -})(PaperlibraryPage)); - -/***/ }), - -/***/ 77578: -/*!**********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/_util/getRenderPropValue.js ***! - \**********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Z: function() { return /* binding */ getRenderPropValue; } -/* harmony export */ }); -const getRenderPropValue = propValue => { - if (!propValue) { - return null; - } - if (typeof propValue === 'function') { - return propValue(); - } - return propValue; -}; - -/***/ }), - -/***/ 24905: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ es_checkbox; } -}); - -// 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-checkbox@3.1.0@rc-checkbox/es/index.js -var es = __webpack_require__(5630); -// 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 config_provider_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/form/context.js -var context = __webpack_require__(32441); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/GroupContext.js - -const GroupContext = /*#__PURE__*/_react_17_0_2_react.createContext(null); -/* harmony default export */ var checkbox_GroupContext = (GroupContext); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js -var checkbox_style = __webpack_require__(98447); -// 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/_util/wave/interface.js -var wave_interface = __webpack_require__(4572); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Checkbox.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 InternalCheckbox = (props, ref) => { - var _a; - const { - prefixCls: customizePrefixCls, - className, - rootClassName, - children, - indeterminate = false, - style, - onMouseEnter, - onMouseLeave, - skipGroup = false, - disabled - } = props, - restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); - const { - getPrefixCls, - direction, - checkbox - } = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_); - const checkboxGroup = _react_17_0_2_react.useContext(checkbox_GroupContext); - const { - isFormItemInput - } = _react_17_0_2_react.useContext(context/* FormItemInputContext */.aM); - const contextDisabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z); - const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; - const prevValue = _react_17_0_2_react.useRef(restProps.value); - _react_17_0_2_react.useEffect(() => { - checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); - false ? 0 : void 0; - }, []); - _react_17_0_2_react.useEffect(() => { - if (skipGroup) { - return; - } - if (restProps.value !== prevValue.current) { - checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); - checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); - prevValue.current = restProps.value; - } - return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); - }, [restProps.value]); - const prefixCls = getPrefixCls('checkbox', customizePrefixCls); - const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); - const checkboxProps = Object.assign({}, restProps); - if (checkboxGroup && !skipGroup) { - checkboxProps.onChange = function () { - if (restProps.onChange) { - restProps.onChange.apply(restProps, arguments); - } - if (checkboxGroup.toggleOption) { - checkboxGroup.toggleOption({ - label: children, - value: restProps.value - }); - } - }; - checkboxProps.name = checkboxGroup.name; - checkboxProps.checked = checkboxGroup.value.includes(restProps.value); - } - const classString = _classnames_2_5_1_classnames_default()(`${prefixCls}-wrapper`, { - [`${prefixCls}-rtl`]: direction === 'rtl', - [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, - [`${prefixCls}-wrapper-disabled`]: mergedDisabled, - [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput - }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); - const checkboxClass = _classnames_2_5_1_classnames_default()({ - [`${prefixCls}-indeterminate`]: indeterminate - }, wave_interface/* TARGET_CLS */.A, hashId); - const ariaChecked = indeterminate ? 'mixed' : undefined; - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, { - component: "Checkbox", - disabled: mergedDisabled - }, /*#__PURE__*/_react_17_0_2_react.createElement("label", { - className: classString, - style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), - onMouseEnter: onMouseEnter, - onMouseLeave: onMouseLeave - }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({ - "aria-checked": ariaChecked - }, checkboxProps, { - prefixCls: prefixCls, - className: checkboxClass, - disabled: mergedDisabled, - ref: ref - })), children !== undefined && /*#__PURE__*/_react_17_0_2_react.createElement("span", null, children)))); -}; -const Checkbox = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalCheckbox); -if (false) {} -/* harmony default export */ var checkbox_Checkbox = (Checkbox); -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules -var toConsumableArray = __webpack_require__(26390); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js -var omit = __webpack_require__(64002); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Group.js -"use client"; - - -var Group_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 InternalGroup = (props, ref) => { - const { - defaultValue, - children, - options = [], - prefixCls: customizePrefixCls, - className, - rootClassName, - style, - onChange - } = props, - restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); - const { - getPrefixCls, - direction - } = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_); - const [value, setValue] = _react_17_0_2_react.useState(restProps.value || defaultValue || []); - const [registeredValues, setRegisteredValues] = _react_17_0_2_react.useState([]); - _react_17_0_2_react.useEffect(() => { - if ('value' in restProps) { - setValue(restProps.value || []); - } - }, [restProps.value]); - const memoOptions = _react_17_0_2_react.useMemo(() => options.map(option => { - if (typeof option === 'string' || typeof option === 'number') { - return { - label: option, - value: option - }; - } - return option; - }), [options]); - const cancelValue = val => { - setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); - }; - const registerValue = val => { - setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); - }; - const toggleOption = option => { - const optionIndex = value.indexOf(option.value); - const newValue = (0,toConsumableArray/* default */.Z)(value); - if (optionIndex === -1) { - newValue.push(option.value); - } else { - newValue.splice(optionIndex, 1); - } - if (!('value' in restProps)) { - setValue(newValue); - } - onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { - const indexA = memoOptions.findIndex(opt => opt.value === a); - const indexB = memoOptions.findIndex(opt => opt.value === b); - return indexA - indexB; - })); - }; - const prefixCls = getPrefixCls('checkbox', customizePrefixCls); - const groupPrefixCls = `${prefixCls}-group`; - const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); - const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); - const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_Checkbox, { - prefixCls: prefixCls, - key: option.value.toString(), - disabled: 'disabled' in option ? option.disabled : restProps.disabled, - value: option.value, - checked: value.includes(option.value), - onChange: option.onChange, - className: `${groupPrefixCls}-item`, - style: option.style, - title: option.title - }, option.label)) : children; - // eslint-disable-next-line react/jsx-no-constructed-context-values - const context = { - toggleOption, - value, - disabled: restProps.disabled, - name: restProps.name, - // https://github.com/ant-design/ant-design/issues/16376 - registerValue, - cancelValue - }; - const classString = _classnames_2_5_1_classnames_default()(groupPrefixCls, { - [`${groupPrefixCls}-rtl`]: direction === 'rtl' - }, className, rootClassName, hashId); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({ - className: classString, - style: style - }, domProps, { - ref: ref - }), /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_GroupContext.Provider, { - value: context - }, childrenNode))); -}; - -const CheckboxGroup = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalGroup); -/* harmony default export */ var Group = (/*#__PURE__*/_react_17_0_2_react.memo(CheckboxGroup)); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js -"use client"; - - - -const es_checkbox_Checkbox = checkbox_Checkbox; -es_checkbox_Checkbox.Group = Group; -es_checkbox_Checkbox.__ANT_CHECKBOX = true; -if (false) {} -/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); - -/***/ }), - -/***/ 98447: -/*!******************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js ***! - \******************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ C2: function() { return /* binding */ getStyle; } -/* harmony export */ }); -/* unused harmony export genCheckboxStyle */ -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../theme/internal */ 37613); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 83116); - - -// ============================== Styles ============================== -const genCheckboxStyle = token => { - const { - checkboxCls - } = token; - const wrapperCls = `${checkboxCls}-wrapper`; - return [ - // ===================== Basic ===================== - { - // Group - [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { - display: 'inline-flex', - flexWrap: 'wrap', - columnGap: token.marginXS, - // Group > Grid - [`> ${token.antCls}-row`]: { - flex: 1 - } - }), - // Wrapper - [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { - display: 'inline-flex', - alignItems: 'baseline', - cursor: 'pointer', - // Fix checkbox & radio in flex align #30260 - '&:after': { - display: 'inline-block', - width: 0, - overflow: 'hidden', - content: "'\\a0'" - }, - // Checkbox near checkbox - [`& + ${wrapperCls}`]: { - marginInlineStart: 0 - }, - [`&${wrapperCls}-in-form-item`]: { - 'input[type="checkbox"]': { - width: 14, - height: 14 // FIXME: magic - } - } - }), - - // Wrapper > Checkbox - [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { - position: 'relative', - whiteSpace: 'nowrap', - lineHeight: 1, - cursor: 'pointer', - borderRadius: token.borderRadiusSM, - // To make alignment right when `controlHeight` is changed - // Ref: https://github.com/ant-design/ant-design/issues/41564 - alignSelf: 'center', - // Wrapper > Checkbox > input - [`${checkboxCls}-input`]: { - position: 'absolute', - // Since baseline align will get additional space offset, - // we need to move input to top to make it align with text. - // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 - inset: 0, - zIndex: 1, - cursor: 'pointer', - opacity: 0, - margin: 0, - [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .genFocusOutline */ .oN)(token)) - }, - // Wrapper > Checkbox > inner - [`${checkboxCls}-inner`]: { - boxSizing: 'border-box', - position: 'relative', - top: 0, - insetInlineStart: 0, - display: 'block', - width: token.checkboxSize, - height: token.checkboxSize, - direction: 'ltr', - backgroundColor: token.colorBgContainer, - border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, - borderRadius: token.borderRadiusSM, - borderCollapse: 'separate', - transition: `all ${token.motionDurationSlow}`, - '&:after': { - boxSizing: 'border-box', - position: 'absolute', - top: '50%', - insetInlineStart: '21.5%', - display: 'table', - width: token.checkboxSize / 14 * 5, - height: token.checkboxSize / 14 * 8, - border: `${token.lineWidthBold}px solid ${token.colorWhite}`, - borderTop: 0, - borderInlineStart: 0, - transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', - opacity: 0, - content: '""', - transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` - } - }, - // Wrapper > Checkbox + Text - '& + span': { - paddingInlineStart: token.paddingXS, - paddingInlineEnd: token.paddingXS - } - }) - }, - // ===================== Hover ===================== - { - // Wrapper & Wrapper > Checkbox - [` - ${wrapperCls}:not(${wrapperCls}-disabled), - ${checkboxCls}:not(${checkboxCls}-disabled) - `]: { - [`&:hover ${checkboxCls}-inner`]: { - borderColor: token.colorPrimary - } - }, - [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { - [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { - backgroundColor: token.colorPrimaryHover, - borderColor: 'transparent' - }, - [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { - borderColor: token.colorPrimaryHover - } - } - }, - // ==================== Checked ==================== - { - // Wrapper > Checkbox - [`${checkboxCls}-checked`]: { - [`${checkboxCls}-inner`]: { - backgroundColor: token.colorPrimary, - borderColor: token.colorPrimary, - '&:after': { - opacity: 1, - transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', - transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` - } - } - }, - [` - ${wrapperCls}-checked:not(${wrapperCls}-disabled), - ${checkboxCls}-checked:not(${checkboxCls}-disabled) - `]: { - [`&:hover ${checkboxCls}-inner`]: { - backgroundColor: token.colorPrimaryHover, - borderColor: 'transparent' - } - } - }, - // ================= Indeterminate ================= - { - [checkboxCls]: { - '&-indeterminate': { - // Wrapper > Checkbox > inner - [`${checkboxCls}-inner`]: { - backgroundColor: token.colorBgContainer, - borderColor: token.colorBorder, - '&:after': { - top: '50%', - insetInlineStart: '50%', - width: token.fontSizeLG / 2, - height: token.fontSizeLG / 2, - backgroundColor: token.colorPrimary, - border: 0, - transform: 'translate(-50%, -50%) scale(1)', - opacity: 1, - content: '""' - } - } - } - } - }, - // ==================== Disable ==================== - { - // Wrapper - [`${wrapperCls}-disabled`]: { - cursor: 'not-allowed' - }, - // Wrapper > Checkbox - [`${checkboxCls}-disabled`]: { - // Wrapper > Checkbox > input - [`&, ${checkboxCls}-input`]: { - cursor: 'not-allowed', - // Disabled for native input to enable Tooltip event handler - // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 - pointerEvents: 'none' - }, - // Wrapper > Checkbox > inner - [`${checkboxCls}-inner`]: { - background: token.colorBgContainerDisabled, - borderColor: token.colorBorder, - '&:after': { - borderColor: token.colorTextDisabled - } - }, - '&:after': { - display: 'none' - }, - '& + span': { - color: token.colorTextDisabled - }, - [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { - background: token.colorTextDisabled - } - } - }]; -}; -// ============================== Export ============================== -function getStyle(prefixCls, token) { - const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__/* .merge */ .TS)(token, { - checkboxCls: `.${prefixCls}`, - checkboxSize: token.controlInteractiveSize - }); - return [genCheckboxStyle(checkboxToken)]; -} -/* harmony default export */ __webpack_exports__.ZP = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { - let { - prefixCls - } = _ref; - return [getStyle(prefixCls, token)]; -})); - -/***/ }), - -/***/ 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); - -/***/ }), - -/***/ 38854: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ es_dropdown; } -}); - -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js -var dropdown = __webpack_require__(91857); -// 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/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(24764); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js -var es_button = __webpack_require__(3113); -// 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/space/index.js + 3 modules -var space = __webpack_require__(81327); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js -var Compact = __webpack_require__(33234); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(47211); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => { - const { - getPopupContainer: getContextPopupContainer, - getPrefixCls, - direction - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - type = 'default', - danger, - disabled, - loading, - onClick, - htmlType, - children, - className, - menu, - arrow, - autoFocus, - overlay, - trigger, - align, - open, - onOpenChange, - placement, - getPopupContainer, - href, - icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null), - title, - buttonsRender = buttons => buttons, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - } = props, - restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); - const prefixCls = getPrefixCls('dropdown', customizePrefixCls); - const buttonPrefixCls = `${prefixCls}-button`; - const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); - const dropdownProps = { - menu, - arrow, - autoFocus, - align, - disabled, - trigger: disabled ? [] : trigger, - onOpenChange, - getPopupContainer: getPopupContainer || getContextPopupContainer, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - }; - const { - compactSize, - compactItemClassnames - } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); - const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); - if ('overlay' in props) { - dropdownProps.overlay = overlay; - } - if ('open' in props) { - dropdownProps.open = open; - } - if ('placement' in props) { - dropdownProps.placement = placement; - } else { - dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; - } - const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - disabled: disabled, - loading: loading, - onClick: onClick, - htmlType: htmlType, - href: href, - title: title - }, children); - const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - icon: icon - }); - const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({ - className: classes, - size: compactSize, - block: true - }, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); -}; -DropdownButton.__ANT_BUTTON = true; -/* harmony default export */ var dropdown_button = (DropdownButton); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js -"use client"; - - - -const Dropdown = dropdown/* default */.Z; -Dropdown.Button = dropdown_button; -/* harmony default export */ var es_dropdown = (Dropdown); - -/***/ }), - -/***/ 92832: -/*!*********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules ***! - \*********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ input; } -}); - -// 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/form/context.js -var form_context = __webpack_require__(32441); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js -var style = __webpack_require__(9937); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js -"use client"; - - - - - - - - -const Group = props => { - const { - getPrefixCls, - direction - } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - className - } = props; - const prefixCls = getPrefixCls('input-group', customizePrefixCls); - const inputPrefixCls = getPrefixCls('input'); - const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); - const cls = _classnames_2_5_1_classnames_default()(prefixCls, { - [`${prefixCls}-lg`]: props.size === 'large', - [`${prefixCls}-sm`]: props.size === 'small', - [`${prefixCls}-compact`]: props.compact, - [`${prefixCls}-rtl`]: direction === 'rtl' - }, hashId, className); - const formItemContext = (0,_react_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM); - const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { - isFormItemInput: false - }), [formItemContext]); - if (false) {} - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", { - className: cls, - style: props.style, - onMouseEnter: props.onMouseEnter, - onMouseLeave: props.onMouseLeave, - onFocus: props.onFocus, - onBlur: props.onBlur - }, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, { - value: groupFormItemContext - }, props.children))); -}; -/* harmony default export */ var input_Group = (Group); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules -var Input = __webpack_require__(9432); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js + 1 modules -var EyeInvisibleOutlined = __webpack_require__(21646); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules -var EyeOutlined = __webpack_require__(20970); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js -var omit = __webpack_require__(64002); -// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/ref.js -var es_ref = __webpack_require__(20475); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js -var useRemovePasswordTimeout = __webpack_require__(59412); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Password.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 defaultIconRender = visible => visible ? /*#__PURE__*/_react_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(EyeInvisibleOutlined/* default */.Z, null); -const ActionMap = { - click: 'onClick', - hover: 'onMouseOver' -}; -const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { - const { - visibilityToggle = true - } = props; - const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; - const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); - const inputRef = (0,_react_17_0_2_react.useRef)(null); - _react_17_0_2_react.useEffect(() => { - if (visibilityControlled) { - setVisible(visibilityToggle.visible); - } - }, [visibilityControlled, visibilityToggle]); - // Remove Password value - const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); - const onVisibleChange = () => { - const { - disabled - } = props; - if (disabled) { - return; - } - if (visible) { - removePasswordTimeout(); - } - setVisible(prevState => { - var _a; - const newState = !prevState; - if (typeof visibilityToggle === 'object') { - (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); - } - return newState; - }); - }; - const getIcon = prefixCls => { - const { - action = 'click', - iconRender = defaultIconRender - } = props; - const iconTrigger = ActionMap[action] || ''; - const icon = iconRender(visible); - const iconProps = { - [iconTrigger]: onVisibleChange, - className: `${prefixCls}-icon`, - key: 'passwordIcon', - onMouseDown: e => { - // Prevent focused state lost - // https://github.com/ant-design/ant-design/issues/15173 - e.preventDefault(); - }, - onMouseUp: e => { - // Prevent caret position change - // https://github.com/ant-design/ant-design/issues/23524 - e.preventDefault(); - } - }; - return /*#__PURE__*/_react_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps); - }; - const { - className, - prefixCls: customizePrefixCls, - inputPrefixCls: customizeInputPrefixCls, - size - } = props, - restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); - const { - getPrefixCls - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - const prefixCls = getPrefixCls('input-password', customizePrefixCls); - const suffixIcon = visibilityToggle && getIcon(prefixCls); - const inputClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, { - [`${prefixCls}-${size}`]: !!size - }); - const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { - type: visible ? 'text' : 'password', - className: inputClassName, - prefixCls: inputPrefixCls, - suffix: suffixIcon - }); - if (size) { - omittedProps.size = size; - } - return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({ - ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) - }, omittedProps)); -}); -if (false) {} -/* harmony default export */ var input_Password = (Password); -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules -var SearchOutlined = __webpack_require__(56981); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js -var reactNode = __webpack_require__(92343); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js -var es_button = __webpack_require__(3113); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js -var useSize = __webpack_require__(19716); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js -var Compact = __webpack_require__(33234); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Search.js -"use client"; - -var Search_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 Search = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { - const { - prefixCls: customizePrefixCls, - inputPrefixCls: customizeInputPrefixCls, - className, - size: customizeSize, - suffix, - enterButton = false, - addonAfter, - loading, - disabled, - onSearch: customOnSearch, - onChange: customOnChange, - onCompositionStart, - onCompositionEnd - } = props, - restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); - const { - getPrefixCls, - direction - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const composedRef = _react_17_0_2_react.useRef(false); - const prefixCls = getPrefixCls('input-search', customizePrefixCls); - const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); - const { - compactSize - } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); - const size = (0,useSize/* default */.Z)(ctx => { - var _a; - return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; - }); - const inputRef = _react_17_0_2_react.useRef(null); - const onChange = e => { - if (e && e.target && e.type === 'click' && customOnSearch) { - customOnSearch(e.target.value, e, { - source: 'clear' - }); - } - if (customOnChange) { - customOnChange(e); - } - }; - const onMouseDown = e => { - var _a; - if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { - e.preventDefault(); - } - }; - const onSearch = e => { - var _a, _b; - if (customOnSearch) { - customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e, { - source: 'input' - }); - } - }; - const onPressEnter = e => { - if (composedRef.current || loading) { - return; - } - onSearch(e); - }; - const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/_react_17_0_2_react.createElement(SearchOutlined/* default */.Z, null) : null; - const btnClassName = `${prefixCls}-button`; - let button; - const enterButtonAsElement = enterButton || {}; - const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; - if (isAntdButton || enterButtonAsElement.type === 'button') { - button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ - onMouseDown, - onClick: e => { - var _a, _b; - (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); - onSearch(e); - }, - key: 'enterButton' - }, isAntdButton ? { - className: btnClassName, - size - } : {})); - } else { - button = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - className: btnClassName, - type: enterButton ? 'primary' : undefined, - size: size, - disabled: disabled, - key: "enterButton", - onMouseDown: onMouseDown, - onClick: onSearch, - loading: loading, - icon: searchIcon - }, enterButton); - } - if (addonAfter) { - button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { - key: 'addonAfter' - })]; - } - const cls = _classnames_2_5_1_classnames_default()(prefixCls, { - [`${prefixCls}-rtl`]: direction === 'rtl', - [`${prefixCls}-${size}`]: !!size, - [`${prefixCls}-with-button`]: !!enterButton - }, className); - const handleOnCompositionStart = e => { - composedRef.current = true; - onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); - }; - const handleOnCompositionEnd = e => { - composedRef.current = false; - onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); - }; - return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({ - ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), - onPressEnter: onPressEnter - }, restProps, { - size: size, - onCompositionStart: handleOnCompositionStart, - onCompositionEnd: handleOnCompositionEnd, - prefixCls: inputPrefixCls, - addonAfter: button, - suffix: suffix, - onChange: onChange, - className: cls, - disabled: disabled - })); -}); -if (false) {} -/* harmony default export */ var input_Search = (Search); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/TextArea.js -var TextArea = __webpack_require__(1643); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js -"use client"; - - - - - - -const input_Input = Input/* default */.Z; -if (false) {} -input_Input.Group = input_Group; -input_Input.Search = input_Search; -input_Input.TextArea = TextArea/* default */.Z; -input_Input.Password = input_Password; -/* harmony default export */ var input = (input_Input); - -/***/ }), - -/***/ 39722: -/*!***************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/popover/PurePanel.js ***! - \***************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ t5: function() { return /* binding */ RawPurePanel; } -/* harmony export */ }); -/* unused harmony export getOverlay */ -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 36355); -/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 17356); -"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 getOverlay = (prefixCls, title, content) => { - if (!title && !content) return undefined; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: `${prefixCls}-title` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: `${prefixCls}-inner-content` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); -}; -const RawPurePanel = props => { - const { - hashId, - prefixCls, - className, - style, - placement = 'top', - title, - content, - children - } = props; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), - style: style - }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { - className: `${prefixCls}-arrow` - }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { - className: hashId, - prefixCls: prefixCls - }), children || getOverlay(prefixCls, title, content))); -}; -const PurePanel = props => { - const { - prefixCls: customizePrefixCls - } = props, - restProps = __rest(props, ["prefixCls"]); - const { - getPrefixCls - } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); - const prefixCls = getPrefixCls('popover', customizePrefixCls); - const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); - return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { - prefixCls: prefixCls, - hashId: hashId - }))); -}; -/* harmony default export */ __webpack_exports__.ZP = (PurePanel); - -/***/ }), - -/***/ 60324: -/*!***********************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/popover/index.js ***! - \***********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); -/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); -/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 62892); -/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); -/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 6848); -/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 39722); -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 17356); -"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; -}; - - - - - - - -// CSSINJS - -const Overlay = _ref => { - let { - title, - content, - prefixCls - } = _ref; - return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { - className: `${prefixCls}-title` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { - className: `${prefixCls}-inner-content` - }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); -}; -const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { - const { - prefixCls: customizePrefixCls, - title, - content, - overlayClassName, - placement = 'top', - trigger = 'hover', - mouseEnterDelay = 0.1, - mouseLeaveDelay = 0.1, - overlayStyle = {} - } = props, - otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); - const { - getPrefixCls - } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); - const prefixCls = getPrefixCls('popover', customizePrefixCls); - const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); - const rootPrefixCls = getPrefixCls(); - const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); - return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ - placement: placement, - trigger: trigger, - mouseEnterDelay: mouseEnterDelay, - mouseLeaveDelay: mouseLeaveDelay, - overlayStyle: overlayStyle - }, otherProps, { - prefixCls: prefixCls, - overlayClassName: overlayCls, - ref: ref, - overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { - prefixCls: prefixCls, - title: title, - content: content - }) : null, - transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .m)(rootPrefixCls, 'zoom-big', otherProps.transitionName), - "data-popover-inject": true - }))); -}); -if (false) {} -Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; -/* harmony default export */ __webpack_exports__.Z = (Popover); - -/***/ }), - -/***/ 17356: -/*!*****************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/popover/style/index.js ***! - \*****************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313); -/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 29878); -/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 19447); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 33166); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 83116); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 37613); -"use client"; - - - - - -const genBaseStyle = token => { - const { - componentCls, - popoverColor, - minWidth, - fontWeightStrong, - popoverPadding, - boxShadowSecondary, - colorTextHeading, - borderRadiusLG: borderRadius, - zIndexPopup, - marginXS, - colorBgElevated, - popoverBg - } = token; - return [{ - [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { - position: 'absolute', - top: 0, - // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 - left: { - _skip_check_: true, - value: 0 - }, - zIndex: zIndexPopup, - fontWeight: 'normal', - whiteSpace: 'normal', - textAlign: 'start', - cursor: 'auto', - userSelect: 'text', - transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, - '--antd-arrow-background-color': colorBgElevated, - '&-rtl': { - direction: 'rtl' - }, - '&-hidden': { - display: 'none' - }, - [`${componentCls}-content`]: { - position: 'relative' - }, - [`${componentCls}-inner`]: { - backgroundColor: popoverBg, - backgroundClip: 'padding-box', - borderRadius, - boxShadow: boxShadowSecondary, - padding: popoverPadding - }, - [`${componentCls}-title`]: { - minWidth, - marginBottom: marginXS, - color: colorTextHeading, - fontWeight: fontWeightStrong - }, - [`${componentCls}-inner-content`]: { - color: popoverColor - } - }) - }, - // Arrow Style - (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { - colorBg: 'var(--antd-arrow-background-color)' - }), - // Pure Render - { - [`${componentCls}-pure`]: { - position: 'relative', - maxWidth: 'none', - margin: token.sizePopupArrow, - display: 'inline-block', - [`${componentCls}-content`]: { - display: 'inline-block' - } - } - }]; -}; -const genColorStyle = token => { - const { - componentCls - } = token; - return { - [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors */ .i.map(colorKey => { - const lightColor = token[`${colorKey}6`]; - return { - [`&${componentCls}-${colorKey}`]: { - '--antd-arrow-background-color': lightColor, - [`${componentCls}-inner`]: { - backgroundColor: lightColor - }, - [`${componentCls}-arrow`]: { - background: 'transparent' - } - } - }; - }) - }; -}; -const genWireframeStyle = token => { - const { - componentCls, - lineWidth, - lineType, - colorSplit, - paddingSM, - controlHeight, - fontSize, - lineHeight, - padding - } = token; - const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); - const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; - const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; - const popoverPaddingHorizontal = padding; - return { - [componentCls]: { - [`${componentCls}-inner`]: { - padding: 0 - }, - [`${componentCls}-title`]: { - margin: 0, - padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, - borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` - }, - [`${componentCls}-inner-content`]: { - padding: `${paddingSM}px ${popoverPaddingHorizontal}px` - } - } - }; -}; -/* harmony default export */ __webpack_exports__.Z = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { - const { - colorBgElevated, - colorText, - wireframe - } = token; - const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { - popoverPadding: 12, - popoverBg: colorBgElevated, - popoverColor: colorText - }); - return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; -}, token => ({ - width: 177, - minWidth: 177, - zIndexPopup: token.zIndexPopupBase + 30 -}), { - resetStyle: false, - deprecatedTokens: [['width', 'minWidth']] -})); - -/***/ }), - -/***/ 81327: -/*!*********************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***! - \*********************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ space; } -}); - -// UNUSED EXPORTS: SpaceContext - -// 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.44.3@rc-util/es/Children/toArray.js -var toArray = __webpack_require__(38298); -// 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/space/Compact.js -var Compact = __webpack_require__(33234); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js - -const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({ - latestIndex: 0 -}); -const SpaceContextProvider = SpaceContext.Provider; -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js -"use client"; - - - -const Item = _ref => { - let { - className, - index, - children, - split, - style - } = _ref; - const { - latestIndex - } = _react_17_0_2_react.useContext(SpaceContext); - if (children === null || children === undefined) { - return null; - } - return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", { - className: className, - style: style - }, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", { - className: `${className}-split` - }, split)); -}; -/* harmony default export */ var space_Item = (Item); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules -var space_style = __webpack_require__(2856); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js -function isPresetSize(size) { - return ['small', 'middle', 'large'].includes(size); -} -function isValidGapNumber(size) { - if (!size) { - // The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it. - return false; - } - return typeof size === 'number' && !Number.isNaN(size); -} -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/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 Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { - var _a, _b; - const { - getPrefixCls, - space, - direction: directionConfig - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const { - size = (space === null || space === void 0 ? void 0 : space.size) || 'small', - align, - className, - rootClassName, - children, - direction = 'horizontal', - prefixCls: customizePrefixCls, - split, - style, - wrap = false, - classNames: customClassNames, - styles - } = props, - otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]); - const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size]; - const isPresetVerticalSize = isPresetSize(verticalSize); - const isPresetHorizontalSize = isPresetSize(horizontalSize); - const isValidVerticalSize = isValidGapNumber(verticalSize); - const isValidHorizontalSize = isValidGapNumber(horizontalSize); - const childNodes = (0,toArray/* default */.Z)(children, { - keepEmpty: true - }); - const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align; - const prefixCls = getPrefixCls('space', customizePrefixCls); - const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls); - const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, { - [`${prefixCls}-rtl`]: directionConfig === 'rtl', - [`${prefixCls}-align-${mergedAlign}`]: mergedAlign, - [`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize, - [`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize - }, className, rootClassName); - const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item); - // Calculate latest one - let latestIndex = 0; - const nodes = childNodes.map((child, i) => { - var _a, _b; - if (child !== null && child !== undefined) { - latestIndex = i; - } - const key = child && child.key || `${itemClassName}-${i}`; - return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, { - className: itemClassName, - key: key, - index: i, - split: split, - style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item - }, child); - }); - const spaceContext = _react_17_0_2_react.useMemo(() => ({ - latestIndex - }), [latestIndex]); - // =========================== Render =========================== - if (childNodes.length === 0) { - return null; - } - const gapStyle = {}; - if (wrap) { - gapStyle.flexWrap = 'wrap'; - } - if (!isPresetHorizontalSize && isValidHorizontalSize) { - gapStyle.columnGap = horizontalSize; - } - if (!isPresetVerticalSize && isValidVerticalSize) { - gapStyle.rowGap = verticalSize; - } - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({ - ref: ref, - className: cls, - style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style) - }, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, { - value: spaceContext - }, nodes))); -}); -if (false) {} -const CompoundedSpace = Space; -CompoundedSpace.Compact = Compact/* default */.ZP; -/* harmony default export */ var space = (CompoundedSpace); - -/***/ }) - -}]); \ No newline at end of file diff --git a/23980.37eee11b.async.js b/p__Paperlibrary__Random__PreviewEdit__index.de8f9a82.async.js similarity index 65% rename from 23980.37eee11b.async.js rename to p__Paperlibrary__Random__PreviewEdit__index.de8f9a82.async.js index 024be20e55..b1ac53c731 100644 --- a/23980.37eee11b.async.js +++ b/p__Paperlibrary__Random__PreviewEdit__index.de8f9a82.async.js @@ -1,5 +1,140 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[23980],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,96004,23003,6572],{ + +/***/ 21646: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js + 1 modules ***! + \**************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_EyeInvisibleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// 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/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// 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/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; + +/**![eye-invisible](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yUTg4OS40NyAzNzUuMTEgODE2LjcgMzA1bC01MC44OCA1MC44OEM4MDcuMzEgMzk1LjUzIDg0My40NSA0NDcuNCA4NzQuNyA1MTIgNzkxLjUgNjg0LjIgNjczLjQgNzY2IDUxMiA3NjZxLTcyLjY3IDAtMTMzLjg3LTIyLjM4TDMyMyA3OTguNzVRNDA4IDgzOCA1MTIgODM4cTI4OC4zIDAgNDMwLjItMzAwLjNhNjAuMjkgNjAuMjkgMCAwMDAtNTEuNXptLTYzLjU3LTMyMC42NEw4MzYgMTIyLjg4YTggOCAwIDAwLTExLjMyIDBMNzE1LjMxIDIzMi4yUTYyNC44NiAxODYgNTEyIDE4NnEtMjg4LjMgMC00MzAuMiAzMDAuM2E2MC4zIDYwLjMgMCAwMDAgNTEuNXE1Ni42OSAxMTkuNCAxMzYuNSAxOTEuNDFMMTEyLjQ4IDgzNWE4IDggMCAwMDAgMTEuMzFMMTU1LjE3IDg4OWE4IDggMCAwMDExLjMxIDBsNzEyLjE1LTcxMi4xMmE4IDggMCAwMDAtMTEuMzJ6TTE0OS4zIDUxMkMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGM1NC41NCAwIDEwNC4xMyA5LjM2IDE0OS4xMiAyOC4zOWwtNzAuMyA3MC4zYTE3NiAxNzYgMCAwMC0yMzguMTMgMjM4LjEzbC04My40MiA4My40MkMyMjMuMSA2MzcuNDkgMTgzLjMgNTgyLjI4IDE0OS4zIDUxMnptMjQ2LjcgMGExMTIuMTEgMTEyLjExIDAgMDExNDYuMi0xMDYuNjlMNDAxLjMxIDU0Ni4yQTExMiAxMTIgMCAwMTM5NiA1MTJ6IiAvPjxwYXRoIGQ9Ik01MDggNjI0Yy0zLjQ2IDAtNi44Ny0uMTYtMTAuMjUtLjQ3bC01Mi44MiA1Mi44MmExNzYuMDkgMTc2LjA5IDAgMDAyMjcuNDItMjI3LjQybC01Mi44MiA1Mi44MmMuMzEgMy4zOC40NyA2Ljc5LjQ3IDEwLjI1YTExMS45NCAxMTEuOTQgMCAwMS0xMTIgMTEyeiIgLz48L3N2Zz4=) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined); +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (RefIcon); + +/***/ }), + +/***/ 20970: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \*****************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// 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/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// 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/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; + +/**![eye](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yQzg0Ny40IDI4Ni41IDcwNC4xIDE4NiA1MTIgMTg2Yy0xOTIuMiAwLTMzNS40IDEwMC41LTQzMC4yIDMwMC4zYTYwLjMgNjAuMyAwIDAwMCA1MS41QzE3Ni42IDczNy41IDMxOS45IDgzOCA1MTIgODM4YzE5Mi4yIDAgMzM1LjQtMTAwLjUgNDMwLjItMzAwLjMgNy43LTE2LjIgNy43LTM1IDAtNTEuNXpNNTEyIDc2NmMtMTYxLjMgMC0yNzkuNC04MS44LTM2Mi43LTI1NEMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGMxNjEuMyAwIDI3OS40IDgxLjggMzYyLjcgMjU0Qzc5MS41IDY4NC4yIDY3My40IDc2NiA1MTIgNzY2em0tNC00MzBjLTk3LjIgMC0xNzYgNzguOC0xNzYgMTc2czc4LjggMTc2IDE3NiAxNzYgMTc2LTc4LjggMTc2LTE3Ni03OC44LTE3Ni0xNzYtMTc2em0wIDI4OGMtNjEuOSAwLTExMi01MC4xLTExMi0xMTJzNTAuMS0xMTIgMTEyLTExMiAxMTIgNTAuMSAxMTIgMTEyLTUwLjEgMTEyLTExMiAxMTJ6IiAvPjwvc3ZnPg==) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined); +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (RefIcon); + +/***/ }), + +/***/ 66119: +/*!******************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/PlusOutlined.js + 1 modules ***! + \******************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_PlusOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// 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/PlusOutlined.js +// This icon file is generated automatically. +var 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" }; +/* harmony default export */ var asn_PlusOutlined = (PlusOutlined); + +// 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/PlusOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusOutlined_PlusOutlined = function PlusOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusOutlined + })); +}; + +/**![plus](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4MiAxNTJoNjBxOCAwIDggOHY3MDRxMCA4LTggOGgtNjBxLTggMC04LThWMTYwcTAtOCA4LTh6IiAvPjxwYXRoIGQ9Ik0xOTIgNDc0aDY3MnE4IDAgOCA4djYwcTAgOC04IDhIMTYwcS04IDAtOC04di02MHEwLTggOC04eiIgLz48L3N2Zz4=) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(PlusOutlined_PlusOutlined); +if (false) {} +/* harmony default export */ var icons_PlusOutlined = (RefIcon); + +/***/ }), /***/ 94229: /*!***********************************************!*\ @@ -3560,6 +3695,300 @@ var Page = function Page(_ref) { /***/ }), +/***/ 99023: +/*!*************************************************************************!*\ + !*** ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + 1 modules ***! + \*************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +// ESM COMPAT FLAG +__webpack_require__.r(__webpack_exports__); + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "default": function() { return /* binding */ PreviewEdit; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(7557); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(41498); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(82242); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(79800); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts +var _umi_production_exports = __webpack_require__(88271); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var PreviewEditmodules = ({"flex_box_center":"flex_box_center___kQBcj","flex_space_between":"flex_space_between___Znlbo","flex_box_vertical_center":"flex_box_vertical_center___CPD50","flex_box_center_end":"flex_box_center_end___jzPvK","flex_box_column":"flex_box_column___cvIBS","flex-col":"flex-col___AJA2a","flex-row":"flex-row___zlJka","justify-start":"justify-start___oXJpO","justify-center":"justify-center___sZ0BD","justify-end":"justify-end___lGnpX","justify-evenly":"justify-evenly___tBrft","justify-around":"justify-around___hg6fu","justify-between":"justify-between___YzcAk","align-start":"align-start____6JZr","align-center":"align-center___vHOmC","align-end":"align-end___CAmDD","wrap":"wrap___lab8O","crumbs":"crumbs___qvTza"}); +// EXTERNAL MODULE: ./src/pages/Paperlibrary/Random/AddAndEdit/components/StepPreview/index.tsx + 12 modules +var StepPreview = __webpack_require__(23980); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(69127); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(82710); +// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js +var lodash = __webpack_require__(89392); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(95972); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/PreviewEdit/index.tsx + + + + + + + + + + + + + + +var PaperlibraryPage = function PaperlibraryPage(_ref) { + var _useLocation, _userInfo$course; + var paperlibrary = _ref.paperlibrary, + user = _ref.user, + globalSetting = _ref.globalSetting, + dispatch = _ref.dispatch, + location = _ref.location; + var _useSearchParams = (0,_umi_production_exports.useSearchParams)(), + _useSearchParams2 = slicedToArray_default()(_useSearchParams, 1), + searchParams = _useSearchParams2[0]; + var defaultSelectValue = searchParams.get("select") || 0; + var _useState = (0,_react_17_0_2_react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + Sloading = _useState2[0], + setSloading = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(true), + _useState4 = slicedToArray_default()(_useState3, 2), + loading = _useState4[0], + setLoading = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(Number(defaultSelectValue)), + _useState6 = slicedToArray_default()(_useState5, 2), + selectValue = _useState6[0], + setSelectValue = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)({}), + _useState8 = slicedToArray_default()(_useState7, 2), + editData = _useState8[0], + setEditData = _useState8[1]; + var params = (0,_umi_production_exports.useParams)(); + var userInfo = user.userInfo; + (0,_react_17_0_2_react.useEffect)(function () { + dispatch({ + type: 'globalSetting/footerToggle', + payload: false + }); + return function () { + dispatch({ + type: 'globalSetting/footerToggle', + payload: true + }); + }; + }, []); + + //出现页面右侧悬浮按钮 + (0,_react_17_0_2_react.useEffect)(function () { + dispatch({ + type: 'globalSetting/onlyShowBackTopToggle', + payload: false + }); + dispatch({ + type: 'globalSetting/onlyShowBackTopIconToggle', + payload: false + }); + dispatch({ + type: 'exercise/getWorkSetting', + payload: objectSpread2_default()({}, params) + }); + return function () { + dispatch({ + type: 'globalSetting/onlyShowBackTopToggle', + payload: true + }); + dispatch({ + type: 'globalSetting/onlyShowBackTopIconToggle', + payload: true + }); + }; + }, []); + + // useEffect(() => { + // document.body.setAttribute('data-custom', 'initial'); + // return () => { document.body.removeAttribute('data-custom'); } + // }, []); + + (0,_react_17_0_2_react.useEffect)(function () { + getEditData(selectValue); + }, []); + var getEditData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var num, + res, + _args = arguments; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + num = _args.length > 0 && _args[0] !== undefined ? _args[0] : 0; + console.log(params); + // setLoading(true) + _context.next = 4; + return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/preview_random_exercise.json"), { + method: 'get', + params: { + num: num + } + }); + case 4: + res = _context.sent; + setLoading(false); + setEditData((0,util/* formatRandomPaperDatas */.PF)(res)); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getEditData() { + return _ref2.apply(this, arguments); + }; + }(); + var handleBack = function handleBack() { + _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); + }; + + //保存 + var handleSubmit = function handleSubmit() { + alert('保存'); + }; + + //换一题 + var handleExchange = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(record, other) { + var res, _clonePreviewData$que, clonePreviewData; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/toggle_random_question.json"), { + method: 'post', + body: { + question_id: record === null || record === void 0 ? void 0 : record.single_question_id + } + }); + case 2: + res = _context2.sent; + if (res !== null && res !== void 0 && res.question) { + clonePreviewData = (0,lodash.cloneDeep)(editData); + clonePreviewData.questionList = clonePreviewData === null || clonePreviewData === void 0 || (_clonePreviewData$que = clonePreviewData.questionList) === null || _clonePreviewData$que === void 0 ? void 0 : _clonePreviewData$que.map(function (e) { + if (e.type === other.type) { + var new_questions = (0,lodash.cloneDeep)(e === null || e === void 0 ? void 0 : e.questions); + new_questions.splice(other.index, 1, res === null || res === void 0 ? void 0 : res.question); + // console.log(e?.questions, new_questions, other.index, 'new_questions') + return objectSpread2_default()(objectSpread2_default()({}, e), {}, { + questions: new_questions + }); + } + return e; + }); + setEditData(clonePreviewData); + } + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function handleExchange(_x, _x2) { + return _ref3.apply(this, arguments); + }; + }(); + + //下上 + var handleSkipExamination = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(num) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + document.body.scrollIntoView(); + setSelectValue(num); + _context3.next = 4; + return getEditData(num); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function handleSkipExamination(_x3) { + return _ref4.apply(this, arguments); + }; + }(); + console.log((0,_umi_production_exports.useLocation)(), 'location333'); + return /*#__PURE__*/(0,jsx_runtime.jsx)("section", { + className: PreviewEditmodules.wrap, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, { + loading: loading, + active: true, + paragraph: { + rows: 5 + }, + children: [((_useLocation = (0,_umi_production_exports.useLocation)()) === null || _useLocation === void 0 || (_useLocation = _useLocation.pathname) === null || _useLocation === void 0 ? void 0 : _useLocation.includes('preview')) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: PreviewEditmodules.crumbs, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "current", + onClick: function onClick() { + return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); + }, + children: "".concat(userInfo === null || userInfo === void 0 || (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name, ">") + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "current", + onClick: function onClick() { + return _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/exercise")); + }, + children: '试卷列表>' + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#bebebe" + }, + children: '预览' + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(StepPreview/* default */.Z, { + loading: Sloading, + submit: handleSubmit, + goBack: handleBack, + data: editData, + selectValue: selectValue, + editPreview: true, + onExchange: handleExchange, + onSkipExamination: handleSkipExamination + })] + }) + }); +}; +/* harmony default export */ var PreviewEdit = ((0,_umi_production_exports.connect)(function (_ref5) { + var paperlibrary = _ref5.paperlibrary, + user = _ref5.user, + globalSetting = _ref5.globalSetting; + return { + paperlibrary: paperlibrary, + user: user, + globalSetting: globalSetting + }; +})(PaperlibraryPage)); + +/***/ }), + /***/ 69266: /*!********************************************!*\ !*** ./src/assets/images/paper/jinshi.svg ***! @@ -3624,6 +4053,1843 @@ var SvgJinshi = function SvgJinshi(props) { /* harmony default export */ __webpack_exports__.Z = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"); +/***/ }), + +/***/ 77578: +/*!**********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/_util/getRenderPropValue.js ***! + \**********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 24905: +/*!************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ es_checkbox; } +}); + +// 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-checkbox@3.1.0@rc-checkbox/es/index.js +var es = __webpack_require__(5630); +// 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 config_provider_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/form/context.js +var context = __webpack_require__(32441); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/_react_17_0_2_react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(98447); +// 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/_util/wave/interface.js +var wave_interface = __webpack_require__(4572); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Checkbox.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 InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = _react_17_0_2_react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = _react_17_0_2_react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = _react_17_0_2_react.useRef(restProps.value); + _react_17_0_2_react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + _react_17_0_2_react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = _classnames_2_5_1_classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = _classnames_2_5_1_classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, wave_interface/* TARGET_CLS */.A, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, { + component: "Checkbox", + disabled: mergedDisabled + }, /*#__PURE__*/_react_17_0_2_react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/_react_17_0_2_react.createElement("span", null, children)))); +}; +const Checkbox = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(26390); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js +var omit = __webpack_require__(64002); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Group.js +"use client"; + + +var Group_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 InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = _react_17_0_2_react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = _react_17_0_2_react.useState([]); + _react_17_0_2_react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = _react_17_0_2_react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = _classnames_2_5_1_classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/_react_17_0_2_react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js +"use client"; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 98447: +/*!******************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js ***! + \******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ C2: function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../theme/internal */ 37613); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 83116); + + +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + borderRadius: token.borderRadiusSM, + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__.ZP = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 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); + +/***/ }), + +/***/ 38854: +/*!************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***! + \************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js +var dropdown = __webpack_require__(91857); +// 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/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(24764); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// 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/space/index.js + 3 modules +var space = __webpack_require__(81327); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js +var Compact = __webpack_require__(33234); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(47211); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js +"use client"; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 92832: +/*!*********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ input; } +}); + +// 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/form/context.js +var form_context = __webpack_require__(32441); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js +var style = __webpack_require__(9937); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js +"use client"; + + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = _classnames_2_5_1_classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,_react_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(9432); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js + 1 modules +var EyeInvisibleOutlined = __webpack_require__(21646); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(20970); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js +var omit = __webpack_require__(64002); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/ref.js +var es_ref = __webpack_require__(20475); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(59412); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Password.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 defaultIconRender = visible => visible ? /*#__PURE__*/_react_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(EyeInvisibleOutlined/* default */.Z, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,_react_17_0_2_react.useRef)(null); + _react_17_0_2_react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/_react_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(56981); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js +var reactNode = __webpack_require__(92343); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(19716); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js +var Compact = __webpack_require__(33234); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Search.js +"use client"; + +var Search_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 Search = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const composedRef = _react_17_0_2_react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = _react_17_0_2_react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e, { + source: 'clear' + }); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e, { + source: 'input' + }); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/_react_17_0_2_react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = _classnames_2_5_1_classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/TextArea.js +var TextArea = __webpack_require__(1643); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js +"use client"; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 39722: +/*!***************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/popover/PurePanel.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ t5: function() { return /* binding */ RawPurePanel; } +/* harmony export */ }); +/* unused harmony export getOverlay */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 55477); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 36355); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 17356); +"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 getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__.ZP = (PurePanel); + +/***/ }), + +/***/ 60324: +/*!***********************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/popover/index.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 77578); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 62892); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 6848); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 39722); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 17356); +"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; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .m)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__.Z = (Popover); + +/***/ }), + +/***/ 17356: +/*!*****************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/popover/style/index.js ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 29878); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 19447); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 33166); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 83116); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 37613); +"use client"; + + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__.Z = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + resetStyle: false, + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 81327: +/*!*********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***! + \*********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ space; } +}); + +// UNUSED EXPORTS: SpaceContext + +// 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.44.3@rc-util/es/Children/toArray.js +var toArray = __webpack_require__(38298); +// 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/space/Compact.js +var Compact = __webpack_require__(33234); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js + +const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({ + latestIndex: 0 +}); +const SpaceContextProvider = SpaceContext.Provider; +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js +"use client"; + + + +const Item = _ref => { + let { + className, + index, + children, + split, + style + } = _ref; + const { + latestIndex + } = _react_17_0_2_react.useContext(SpaceContext); + if (children === null || children === undefined) { + return null; + } + return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", { + className: className, + style: style + }, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", { + className: `${className}-split` + }, split)); +}; +/* harmony default export */ var space_Item = (Item); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules +var space_style = __webpack_require__(2856); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js +function isPresetSize(size) { + return ['small', 'middle', 'large'].includes(size); +} +function isValidGapNumber(size) { + if (!size) { + // The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it. + return false; + } + return typeof size === 'number' && !Number.isNaN(size); +} +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/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 Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => { + var _a, _b; + const { + getPrefixCls, + space, + direction: directionConfig + } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); + const { + size = (space === null || space === void 0 ? void 0 : space.size) || 'small', + align, + className, + rootClassName, + children, + direction = 'horizontal', + prefixCls: customizePrefixCls, + split, + style, + wrap = false, + classNames: customClassNames, + styles + } = props, + otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]); + const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size]; + const isPresetVerticalSize = isPresetSize(verticalSize); + const isPresetHorizontalSize = isPresetSize(horizontalSize); + const isValidVerticalSize = isValidGapNumber(verticalSize); + const isValidHorizontalSize = isValidGapNumber(horizontalSize); + const childNodes = (0,toArray/* default */.Z)(children, { + keepEmpty: true + }); + const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align; + const prefixCls = getPrefixCls('space', customizePrefixCls); + const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls); + const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, { + [`${prefixCls}-rtl`]: directionConfig === 'rtl', + [`${prefixCls}-align-${mergedAlign}`]: mergedAlign, + [`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize, + [`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize + }, className, rootClassName); + const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item); + // Calculate latest one + let latestIndex = 0; + const nodes = childNodes.map((child, i) => { + var _a, _b; + if (child !== null && child !== undefined) { + latestIndex = i; + } + const key = child && child.key || `${itemClassName}-${i}`; + return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, { + className: itemClassName, + key: key, + index: i, + split: split, + style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item + }, child); + }); + const spaceContext = _react_17_0_2_react.useMemo(() => ({ + latestIndex + }), [latestIndex]); + // =========================== Render =========================== + if (childNodes.length === 0) { + return null; + } + const gapStyle = {}; + if (wrap) { + gapStyle.flexWrap = 'wrap'; + } + if (!isPresetHorizontalSize && isValidHorizontalSize) { + gapStyle.columnGap = horizontalSize; + } + if (!isPresetVerticalSize && isValidVerticalSize) { + gapStyle.rowGap = verticalSize; + } + return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({ + ref: ref, + className: cls, + style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style) + }, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, { + value: spaceContext + }, nodes))); +}); +if (false) {} +const CompoundedSpace = Space; +CompoundedSpace.Compact = Compact/* default */.ZP; +/* harmony default export */ var space = (CompoundedSpace); + /***/ }) }]); \ No newline at end of file diff --git a/p__Paperlibrary__Random__PreviewEdit__index.985699ec.chunk.css b/p__Paperlibrary__Random__PreviewEdit__index.e18f8c6e.chunk.css similarity index 90% rename from p__Paperlibrary__Random__PreviewEdit__index.985699ec.chunk.css rename to p__Paperlibrary__Random__PreviewEdit__index.e18f8c6e.chunk.css index fe1a66c9d3..6d66beb2b1 100644 --- a/p__Paperlibrary__Random__PreviewEdit__index.985699ec.chunk.css +++ b/p__Paperlibrary__Random__PreviewEdit__index.e18f8c6e.chunk.css @@ -859,6 +859,82 @@ div[class~='ant-collapse-borderless'] { display: none; } +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.disable_upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; +} +.disable_upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MyProblem/TestCasePanel/index.less ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Problemset__NewItem__index.7c812f5d.async.js b/p__Problemset__NewItem__index.050093d9.async.js similarity index 98% rename from p__Problemset__NewItem__index.7c812f5d.async.js rename to p__Problemset__NewItem__index.050093d9.async.js index f33f38821e..9687306b16 100644 --- a/p__Problemset__NewItem__index.7c812f5d.async.js +++ b/p__Problemset__NewItem__index.050093d9.async.js @@ -650,6 +650,8 @@ var FolderTree = __webpack_require__(75370); var OjForm_util = __webpack_require__(53052); // EXTERNAL MODULE: ./node_modules/_js-base64@2.6.4@js-base64/base64.js var base64 = __webpack_require__(24334); +// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 3 modules +var MultiUpload = __webpack_require__(86618); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js var jsx_runtime = __webpack_require__(37712); ;// CONCATENATED MODULE: ./src/pages/Problemset/NewItem/index.tsx @@ -672,6 +674,7 @@ var jsx_runtime = __webpack_require__(37712); + var transformItemType = function transformItemType(itemType) { @@ -894,6 +897,8 @@ var NewItem = function NewItem(_ref2) { } } } else { + var _problemset$editData4; + console.log("1111"); var _initData = objectSpread2_default()(objectSpread2_default()({}, problemset === null || problemset === void 0 ? void 0 : problemset.editData), {}, { item_type: transformItemType(item_type), choices: transformIsAnswer(choices), @@ -905,7 +910,8 @@ var NewItem = function NewItem(_ref2) { return objectSpread2_default()(objectSpread2_default()({}, item), {}, { choices: transformIsAnswer(item.choices) }); - }) + }), + attachment_ids: (0,MultiUpload/* coverToFileList */.z)((_problemset$editData4 = problemset.editData) === null || _problemset$editData4 === void 0 ? void 0 : _problemset$editData4.attachments) }); setInitValues(_initData); setCurrentItemType(transformItemType(item_type)); @@ -1034,7 +1040,7 @@ var NewItem = function NewItem(_ref2) { }, [form.getFieldValue('course')]); var handleFinish = /*#__PURE__*/function () { var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var formValues, _ref5, _ref5$course, course, item_type, item_banks_group_id, _ref5$knowledge, knowledge, choices, _course, id, subId, _formValues$hack, _formValues$hack3, _obj, _formValues$hack2, datas, _res, _res2, _ref6, sub_item_banks, obj, _knowledge$, postData, res, formData, result, _result$fail, _result$fail2; + var formValues, _ref5, _ref5$course, course, item_type, item_banks_group_id, _ref5$knowledge, knowledge, choices, _course, id, subId, _formValues$hack, _formValues$hack3, _obj, _formValues$hack2, datas, _res, _res2, _ref6, sub_item_banks, _formValues$attachmen, obj, _knowledge$, postData, res, formData, result, _result$fail, _result$fail2; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: @@ -1048,7 +1054,7 @@ var NewItem = function NewItem(_ref2) { _ref5 = formValues || {}, _ref5$course = _ref5.course, course = _ref5$course === void 0 ? [] : _ref5$course, item_type = _ref5.item_type, item_banks_group_id = _ref5.item_banks_group_id, _ref5$knowledge = _ref5.knowledge, knowledge = _ref5$knowledge === void 0 ? [] : _ref5$knowledge, choices = _ref5.choices; _course = slicedToArray_default()(course, 2), id = _course[0], subId = _course[1]; if (!(IsSingle === 1)) { - _context.next = 41; + _context.next = 42; break; } if (!(item_type === "PROGRAM")) { @@ -1145,6 +1151,12 @@ var NewItem = function NewItem(_ref2) { }); }); } + if (item_type === 'SUBJECTIVE') { + formValues.attachment_ids = formValues === null || formValues === void 0 || (_formValues$attachmen = formValues.attachment_ids) === null || _formValues$attachmen === void 0 ? void 0 : _formValues$attachmen.map(function (item) { + var _item$response; + return item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.id; + }); + } // 知识点多选功能 obj = []; @@ -1166,29 +1178,29 @@ var NewItem = function NewItem(_ref2) { item_type: item_type }); if (!isEdit) { - _context.next = 35; + _context.next = 36; break; } - _context.next = 32; + _context.next = 33; return dispatch({ type: 'problemset/editProblemset', payload: objectSpread2_default()(objectSpread2_default()({}, postData), {}, { id: editId.current }) }); - case 32: + case 33: res = _context.sent; - _context.next = 38; + _context.next = 39; break; - case 35: - _context.next = 37; + case 36: + _context.next = 38; return dispatch({ type: 'problemset/addProblemset', payload: postData }); - case 37: - res = _context.sent; case 38: + res = _context.sent; + case 39: if (res.status === 0) { if (isEdit) { _umi_production_exports.history.replace("/problemset?group_id=".concat(item_banks_group_id)); @@ -1209,47 +1221,47 @@ var NewItem = function NewItem(_ref2) { }); } } - _context.next = 61; + _context.next = 62; break; - case 41: + case 42: if (!((fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 0)) { - _context.next = 44; + _context.next = 45; break; } message/* default */.ZP.info('请上传试题文件'); return _context.abrupt("return"); - case 44: + case 45: setisloading(true); formData = new FormData(); formData.append('file', fileList[0]); formData.append('sub_discipline_id', subId); - _context.next = 50; + _context.next = 51; return (0,fetch/* default */.ZP)("/api/item_banks/file_import.json", { method: 'post', body: formData }, true); - case 50: + case 51: result = _context.sent; setisloading(false); if (!((result === null || result === void 0 ? void 0 : result.status) === 0)) { - _context.next = 61; + _context.next = 62; break; } if (!((result === null || result === void 0 || (_result$fail = result.fail) === null || _result$fail === void 0 ? void 0 : _result$fail.length) > 0)) { - _context.next = 57; + _context.next = 58; break; } setFail(result === null || result === void 0 ? void 0 : result.fail); message/* default */.ZP.error('上传失败题数为' + (result === null || result === void 0 || (_result$fail2 = result.fail) === null || _result$fail2 === void 0 ? void 0 : _result$fail2.length) + ',可在底部试题列表查看错误原因。'); return _context.abrupt("return"); - case 57: + case 58: form.setFieldsValue({ course: [] }); setFileList([]); setFail([]); message/* default */.ZP.info('上传成功'); - case 61: + case 62: case "end": return _context.stop(); } @@ -2160,25 +2172,6 @@ if (false) {} /***/ }), -/***/ 60028: -/*!**********************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***! - \**********************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -/* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); -"use client"; - - - -const Upload = _Upload__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z; -Upload.Dragger = _Dragger__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; -Upload.LIST_IGNORE = _Upload__WEBPACK_IMPORTED_MODULE_0__/* .LIST_IGNORE */ .E; -/* harmony default export */ __webpack_exports__.Z = (Upload); - -/***/ }), - /***/ 73631: /*!********************************************************!*\ !*** ./src/assets/images/problemset/folder-closed.png ***! diff --git a/p__Problemset__NewItem__index.26f198c1.chunk.css b/p__Problemset__NewItem__index.bc54870d.chunk.css similarity index 89% rename from p__Problemset__NewItem__index.26f198c1.chunk.css rename to p__Problemset__NewItem__index.bc54870d.chunk.css index af06a9e2ec..df9036c1c5 100644 --- a/p__Problemset__NewItem__index.26f198c1.chunk.css +++ b/p__Problemset__NewItem__index.bc54870d.chunk.css @@ -460,6 +460,82 @@ div[class~='ant-collapse-borderless'] { display: none; } +/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.disable_upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; +} +.disable_upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MyProblem/TestCasePanel/index.less ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/p__Problemset__index.b574f888.async.js b/p__Problemset__index.e0eb7cd6.async.js similarity index 98% rename from p__Problemset__index.b574f888.async.js rename to p__Problemset__index.e0eb7cd6.async.js index 8c14f7d9ad..8348ae0c2b 100644 --- a/p__Problemset__index.b574f888.async.js +++ b/p__Problemset__index.e0eb7cd6.async.js @@ -8791,165 +8791,6 @@ var ProblemsetPage = function ProblemsetPage(_ref) { /***/ }), -/***/ 38854: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***! - \************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ es_dropdown; } -}); - -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js -var dropdown = __webpack_require__(91857); -// 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/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(24764); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js -var es_button = __webpack_require__(3113); -// 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/space/index.js + 3 modules -var space = __webpack_require__(81327); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js -var Compact = __webpack_require__(33234); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules -var style = __webpack_require__(47211); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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 DropdownButton = props => { - const { - getPopupContainer: getContextPopupContainer, - getPrefixCls, - direction - } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_); - const { - prefixCls: customizePrefixCls, - type = 'default', - danger, - disabled, - loading, - onClick, - htmlType, - children, - className, - menu, - arrow, - autoFocus, - overlay, - trigger, - align, - open, - onOpenChange, - placement, - getPopupContainer, - href, - icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null), - title, - buttonsRender = buttons => buttons, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - } = props, - restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); - const prefixCls = getPrefixCls('dropdown', customizePrefixCls); - const buttonPrefixCls = `${prefixCls}-button`; - const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); - const dropdownProps = { - menu, - arrow, - autoFocus, - align, - disabled, - trigger: disabled ? [] : trigger, - onOpenChange, - getPopupContainer: getPopupContainer || getContextPopupContainer, - mouseEnterDelay, - mouseLeaveDelay, - overlayClassName, - overlayStyle, - destroyPopupOnHide, - dropdownRender - }; - const { - compactSize, - compactItemClassnames - } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); - const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); - if ('overlay' in props) { - dropdownProps.overlay = overlay; - } - if ('open' in props) { - dropdownProps.open = open; - } - if ('placement' in props) { - dropdownProps.placement = placement; - } else { - dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; - } - const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - disabled: disabled, - loading: loading, - onClick: onClick, - htmlType: htmlType, - href: href, - title: title - }, children); - const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, { - type: type, - danger: danger, - icon: icon - }); - const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); - return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({ - className: classes, - size: compactSize, - block: true - }, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); -}; -DropdownButton.__ANT_BUTTON = true; -/* harmony default export */ var dropdown_button = (DropdownButton); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js -"use client"; - - - -const Dropdown = dropdown/* default */.Z; -Dropdown.Button = dropdown_button; -/* harmony default export */ var es_dropdown = (Dropdown); - -/***/ }), - /***/ 73631: /*!********************************************************!*\ !*** ./src/assets/images/problemset/folder-closed.png ***! diff --git a/p__Question__AddOrEdit__BatchAdd__index.c70c5c6e.async.js b/p__Question__AddOrEdit__BatchAdd__index.061315d2.async.js similarity index 99% rename from p__Question__AddOrEdit__BatchAdd__index.c70c5c6e.async.js rename to p__Question__AddOrEdit__BatchAdd__index.061315d2.async.js index 0b8bbbd8ce..c5f6cdffc9 100644 --- a/p__Question__AddOrEdit__BatchAdd__index.c70c5c6e.async.js +++ b/p__Question__AddOrEdit__BatchAdd__index.061315d2.async.js @@ -453,7 +453,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Shixuns__Detail__Repository__UploadFile__index.99d6ba4d.async.js b/p__Shixuns__Detail__Repository__UploadFile__index.ce7cad69.async.js similarity index 99% rename from p__Shixuns__Detail__Repository__UploadFile__index.99d6ba4d.async.js rename to p__Shixuns__Detail__Repository__UploadFile__index.ce7cad69.async.js index c9c9dc5af3..65e7a5e213 100644 --- a/p__Shixuns__Detail__Repository__UploadFile__index.99d6ba4d.async.js +++ b/p__Shixuns__Detail__Repository__UploadFile__index.ce7cad69.async.js @@ -1258,7 +1258,7 @@ const genCollapseMotion = token => ({ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__Shixuns__Edit__body__Warehouse__index.c6dd9262.async.js b/p__Shixuns__Edit__body__Warehouse__index.7f3d65c0.async.js similarity index 99% rename from p__Shixuns__Edit__body__Warehouse__index.c6dd9262.async.js rename to p__Shixuns__Edit__body__Warehouse__index.7f3d65c0.async.js index 20053e82a1..08b9066ace 100644 --- a/p__Shixuns__Edit__body__Warehouse__index.c6dd9262.async.js +++ b/p__Shixuns__Edit__body__Warehouse__index.7f3d65c0.async.js @@ -5019,7 +5019,7 @@ es_tree_Tree.TreeNode = es/* TreeNode */.O; /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__User__Detail__ClassManagement__Item__index.83cb27fc.async.js b/p__User__Detail__ClassManagement__Item__index.3800e819.async.js similarity index 99% rename from p__User__Detail__ClassManagement__Item__index.83cb27fc.async.js rename to p__User__Detail__ClassManagement__Item__index.3800e819.async.js index 0ab1d39ac8..ea4f8e33e1 100644 --- a/p__User__Detail__ClassManagement__Item__index.83cb27fc.async.js +++ b/p__User__Detail__ClassManagement__Item__index.3800e819.async.js @@ -1285,7 +1285,7 @@ var ClassroomListPage = function ClassroomListPage(_ref) { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__User__Detail__ExperImentImg__index.4aaa5cf1.async.js b/p__User__Detail__ExperImentImg__index.7b148f18.async.js similarity index 99% rename from p__User__Detail__ExperImentImg__index.4aaa5cf1.async.js rename to p__User__Detail__ExperImentImg__index.7b148f18.async.js index b96412d34b..c1d01b7814 100644 --- a/p__User__Detail__ExperImentImg__index.4aaa5cf1.async.js +++ b/p__User__Detail__ExperImentImg__index.7b148f18.async.js @@ -2118,7 +2118,7 @@ var ClassroomListPage = function ClassroomListPage(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__User__Detail__OtherResources__index.641eb538.async.js b/p__User__Detail__OtherResources__index.7088b669.async.js similarity index 99% rename from p__User__Detail__OtherResources__index.641eb538.async.js rename to p__User__Detail__OtherResources__index.7088b669.async.js index 69d6d97b65..75da1fe589 100644 --- a/p__User__Detail__OtherResources__index.641eb538.async.js +++ b/p__User__Detail__OtherResources__index.7088b669.async.js @@ -1142,7 +1142,7 @@ var ClassroomListPage = function ClassroomListPage(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__tasks__Jupyter__index.13ae111a.async.js b/p__tasks__Jupyter__index.62c826f2.async.js similarity index 99% rename from p__tasks__Jupyter__index.13ae111a.async.js rename to p__tasks__Jupyter__index.62c826f2.async.js index 1198c5bc46..174b2ce812 100644 --- a/p__tasks__Jupyter__index.13ae111a.async.js +++ b/p__tasks__Jupyter__index.62c826f2.async.js @@ -2630,7 +2630,7 @@ function IsFull() { "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__virtualSpaces__Lists__Resources__index.80c44e1c.async.js b/p__virtualSpaces__Lists__Resources__index.c287af62.async.js similarity index 99% rename from p__virtualSpaces__Lists__Resources__index.80c44e1c.async.js rename to p__virtualSpaces__Lists__Resources__index.c287af62.async.js index d8f2352031..fb2fc47516 100644 --- a/p__virtualSpaces__Lists__Resources__index.80c44e1c.async.js +++ b/p__virtualSpaces__Lists__Resources__index.c287af62.async.js @@ -1031,7 +1031,7 @@ var FileImage = function FileImage(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__virtualSpaces__Lists__Settings__index.26d9aa6c.async.js b/p__virtualSpaces__Lists__Settings__index.513d6363.async.js similarity index 99% rename from p__virtualSpaces__Lists__Settings__index.26d9aa6c.async.js rename to p__virtualSpaces__Lists__Settings__index.513d6363.async.js index 6c842fe77a..518069749b 100644 --- a/p__virtualSpaces__Lists__Settings__index.26d9aa6c.async.js +++ b/p__virtualSpaces__Lists__Settings__index.513d6363.async.js @@ -2036,7 +2036,7 @@ if (false) {} "use strict"; /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/p__virtualSpaces__Lists__Survey__index.9a9542b1.async.js b/p__virtualSpaces__Lists__Survey__index.71e8741e.async.js similarity index 99% rename from p__virtualSpaces__Lists__Survey__index.9a9542b1.async.js rename to p__virtualSpaces__Lists__Survey__index.71e8741e.async.js index 3500d17edb..c3bb1e121b 100644 --- a/p__virtualSpaces__Lists__Survey__index.9a9542b1.async.js +++ b/p__virtualSpaces__Lists__Survey__index.71e8741e.async.js @@ -749,7 +749,7 @@ var FileImage = function FileImage(_ref) { /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409); -/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 81844); +/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945); "use client"; diff --git a/umi.9351849d.js b/umi.8bc66e11.js similarity index 99% rename from umi.9351849d.js rename to umi.8bc66e11.js index 5e82219128..1e60cfd72a 100644 --- a/umi.9351849d.js +++ b/umi.8bc66e11.js @@ -55873,12 +55873,12 @@ __webpack_require__.d(__webpack_exports__, { ;// CONCATENATED MODULE: ./src/utils/env/dev.ts var DEV = { // PROXY_SERVER: 'https://test-data.educoder.net', - PROXY_SERVER: 'http://113.246.243.98:61135', + PROXY_SERVER: 'http://47.111.130.18:56789', // PROXY_SERVER: 'http://172.16.100.220/', // PROXY_SERVER: 'http://172.16.100.135/', API_SERVER: '', REPORT_SERVER: 'http://192.168.1.57:3001', - IMG_SERVER: 'http://113.246.243.98:61135', + IMG_SERVER: 'http://47.111.130.18:56789', FORGE: 'https://code.educoder.net/', SSH_SERVER: 'wss://webssh.educoder.net', SSH_Slice: 'https://testfu.educoder.net', @@ -205856,7 +205856,7 @@ function debounce (delay, callback, options) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.u = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1201":"p__Counselling__ExpertList__Info__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__index","2224":"p__Knowbase__HomePage__index","2416":"p__Counselling__ExpertList__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","2948":"p__Materials__ItemAssets__Info__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5427":"p__User__Detail__Devicegroup__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6613":"p__Laboratory__LaboratoryCenter__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7202":"p__Materials__Entry__index","7520":"p__Laboratory__OpenReservation__OpenReservationStatistics__index","7729":"p__Materials__ItemAssets__AddReceiveScene__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9134":"p__Materials__ItemAssetsList__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10902":"p__Counselling__MyConsultation__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11020":"p__Counselling__DutySetting__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__index","11174":"p__Shixuns__Detail__ExperimentDetail__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13012":"p__Counselling__ExpertList__OnlineChat__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14666":"p__Homepage__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16074":"p__MagazineVer__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","18682":"p__Wisdom__index","19116":"p__Materials__ItemAssets__AddProcure__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21433":"p__Equipment__Information__InfoList__ReservationInfo__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22561":"p__Materials__Receive__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","24904":"p__Equipment__MessageCenterManage__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25807":"p__Materials__MyProcure__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26429":"p__MagazineVer__Index__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","27416":"p__Equipment__Index__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28637":"p__Knowbase__Detail__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29304":"p__NewHomeEntranceClassify__index","29647":"p__Question__Index__index","29942":"p__Equipment__Information__InfoList__Edit__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31078":"p__Laboratory__LaboratoryType__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31316":"p__Equipment__Information__InfoList__Details__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","33897":"p__Information__EditPage__index","34044":"p__Counselling__ExpertManage__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35380":"p__Laboratory__Index__index","35729":"p__Help__Index","35977":"p__Laboratory__MyLaboratory__Info__rooms__createRoom__index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39094":"p__Magazine__AddOrEdit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","39820":"p__Laboratory__LaboratoryRoom__createRoom__index","39859":"p__Materials__ItemAssets__InfoCode__index","40139":"p__Materials__ItemAssets__index","40559":"layouts__virtualDetail__index","40665":"p__Materials__Index__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42159":"p__Equipment__Information__index","42240":"p__User__Detail__Videos__Upload__index","43212":"p__Laboratory__ReservationManage__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45975":"p__Counselling__ExpertList__Detail__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","47778":"p__IOT__DeviceManage__index","48077":"p__Classrooms__Lists__Students__index","48289":"p__Materials__MyReceive__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51220":"p__NewHomeEntrance2__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51810":"p__Laboratory__OpenReservation__OpenReservationDetail__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","57989":"p__Laboratory__MyLaboratory__Info__index","59133":"p__Shixuns__Detail__Challenges__index","59142":"p__Reservation__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61075":"p__IOT__ViewAppointment__index","61311":"p__Equipment__BookingManage__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","61902":"p__Information__HomePage__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","62909":"p__NewHomeEntrance1__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66243":"p__Broadcast__Detail__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","66884":"p__Counselling__Index__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69681":"p__User__Detail__Devicegroup__Add__index","69828":"p__Equipment__Faultlibrary__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71525":"p__User__Detail__Devicegroup__ReservationInfo__index","71783":"p__virtualSpaces__Lists__Experiment__index","72409":"p__Materials__Procure__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74297":"p__Laboratory__LaboratoryRoom__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76134":"p__Equipment__Maintenance__Details__index","76904":"p__MoopCases__FormPanel__index","77248":"p__Materials__ItemAssetsList__CreateItemAssets__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79487":"p__Laboratory__OpenReservation__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","80668":"p__MagazineVer__Mine__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83105":"p__Laboratory__RuleManage__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83426":"p__NewHomeEntrance__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88093":"p__Equipment__Maintenance__index","88155":"p__Shixuns__Overview__index","88501":"p__ReservationDetail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89053":"p__IOT__ElectronBPManage__index","89076":"p__Account__Binding__index","89113":"p__Equipment__Devicelabel__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92932":"p__User__Detail__Devicegroup__Edit__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96163":"p__Laboratory__Reservations__Info__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","97838":"p__Equipment__Working__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98662":"p__Materials__ItemAssetsType__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","98936":"p__Laboratory__MyLaboratory__index","99674":"p__Shixuns__New__ImagePreview__index","99758":"p__Laboratory__Reservations__index"}[chunkId] || chunkId) + "." + {"251":"d0922370","292":"162f7623","310":"75cebd98","556":"f333f66f","1201":"67e35d4a","1379":"9ccd6ce3","1414":"f3f10530","1482":"b0e7fc6c","1660":"b5fd3a58","1702":"01d79574","1712":"d0b3f96d","2001":"c0aee2b8","2224":"650f8650","2249":"90399667","2360":"2f3cadfa","2400":"97f8d8a4","2416":"e9c21a1e","2494":"5e069ec9","2659":"83535042","2819":"7fff4b42","2837":"b3a05bc1","2948":"e86acad5","3133":"6a9f7113","3145":"4ef7463a","3317":"34d53a07","3391":"cb9f3881","3416":"8f71c399","3451":"15c2bc3a","3509":"6d4e57cf","3583":"b3069d42","3585":"2479beac","3885":"e66b03f8","3936":"09fd69d2","3951":"5f316d72","4176":"7ecf3370","4685":"21279a05","4736":"984d6d84","4766":"67bb3fc3","4884":"670d7197","4938":"316f801a","4973":"a999a695","5112":"87c26be1","5427":"07464d89","5434":"361b868d","5572":"a23dfac8","6127":"5ca75848","6378":"27c8142f","6572":"bf6eac37","6613":"de594cee","6650":"8bbece87","6685":"78fa719d","6758":"d6dc6688","6788":"42607965","7043":"59d8dd44","7077":"9e4e6791","7137":"9a8deb6f","7202":"17bb3062","7433":"04ab7529","7520":"d545f6e9","7729":"861e7b9b","7852":"953f8fad","7884":"ce9b2499","8610":"dd860414","8787":"bdd32c49","8860":"7304b771","8999":"c554349f","9134":"112bb8c5","9163":"4f840782","9262":"0476ed39","9416":"57825891","9589":"db894dbd","9755":"17cffbe7","9928":"5856e32a","9951":"686d67fa","10195":"5656afe1","10354":"5c063e6f","10485":"c70c5c6e","10737":"c485bf9e","10799":"f97c8f3a","10804":"f3474cce","10902":"378b4b87","10921":"2bc541c1","10970":"c53d1ab1","11020":"fa71ed2d","11070":"8fff866e","11130":"5e052c14","11174":"ff0842d0","11221":"9b89ac03","11253":"7f3b0ce5","11504":"13750b9c","11512":"be65dd62","11520":"c31f2289","11545":"73c3ec4a","11581":"d1002392","12076":"977b8ca6","12102":"f997e438","12303":"4276b798","12386":"289c62c7","12412":"76d97840","12476":"d4bb3af9","12632":"c4c483c4","12865":"826b2df0","12884":"cd77bfe5","12911":"ffbabc43","13006":"7c47e72a","13012":"b21aee32","13355":"361cae19","13488":"8ba29ad0","13581":"cf182dda","14058":"5d710b39","14082":"0baa366c","14088":"c639825c","14105":"def252fd","14227":"5311ef7a","14230":"b433eef1","14514":"bcfd2d3d","14599":"b574f888","14610":"cf8e93c1","14662":"6c74df28","14666":"821ec6fb","14889":"73314d78","14996":"7913fb53","15148":"458edf4f","15178":"a815d22a","15186":"f69f1a93","15290":"7b3f25d8","15319":"e9dc1120","15377":"6221135a","15402":"6fc56792","15631":"d790a1bf","15845":"c8fe49ef","15909":"6d0736f5","15959":"e12b032f","16074":"6647053d","16328":"c6dd9262","16434":"43d92c5e","16703":"abe12811","16729":"0cefe967","16845":"b55e78f0","17482":"affe5eac","17527":"5e1e9080","17622":"7e3193a1","17691":"e4c68fa1","17806":"d7aa3545","18241":"f59b38c0","18302":"9c499001","18307":"d01be93d","18350":"0ed0f7c3","18388":"0c051f35","18682":"e5d7a4bf","18898":"25ad586a","18945":"17693978","18950":"735b3ccb","18963":"33e3df18","19116":"2f84a370","19208":"85e01132","19215":"8232238f","19360":"483cba22","19519":"83cb27fc","19715":"b6b74e0f","19842":"f708dc9a","19871":"04a5ab55","19891":"ae412433","19950":"328db857","20026":"ac997646","20056":"225930ef","20067":"1ac3041d","20459":"ef96d231","20576":"c90e7824","20680":"6e115eed","20700":"13ae111a","20714":"2656e65b","20834":"4332592f","20868":"d05bed2a","20898":"39f956fd","21265":"df32eaef","21423":"a2709b2f","21433":"fa30d6b9","21560":"d30acadc","21578":"4e8a21fc","21751":"05cbd86c","21939":"f2692767","22011":"92845fc8","22254":"c8e0c8a9","22307":"7bcca8b8","22561":"5ec57613","22707":"41fb1ba9","22970":"99c207b0","23003":"39d60a99","23332":"8467493b","23980":"37eee11b","24064":"9b712c83","24290":"b193afa2","24504":"9a9542b1","24628":"b863dad4","24665":"c86da1f0","24797":"eb563316","24904":"afd67846","25022":"35f42eaa","25374":"e8b1938d","25470":"cd9ef263","25609":"ab195afc","25705":"592946aa","25727":"93eac6d6","25807":"bbb8b451","25967":"ee30445e","25972":"23f55204","26013":"8ea281a5","26126":"400f4fd5","26366":"71c0bd42","26429":"d39f432a","26685":"94286421","26741":"3817fd18","26883":"ca3f08b9","26926":"4552fb62","27036":"c373c125","27039":"dd139791","27061":"45411a26","27178":"a9e82ffc","27182":"95b568c6","27333":"c42857cb","27395":"556b2382","27416":"0811a22d","27706":"c0d5e1ef","27739":"c1106408","28019":"23074e2c","28072":"3a82ce1a","28089":"aaa88c03","28161":"00a22aad","28237":"268f5816","28331":"c08f21fd","28435":"83805ecf","28479":"4c80bb20","28561":"ec76d55e","28637":"2d3eb65e","28639":"942e5f91","28723":"e27ec039","28782":"72aca542","28920":"842a9870","28982":"1e694c9a","29111":"d7918e98","29304":"b188c067","29559":"cdc05f60","29647":"c653276c","29895":"1fa85db5","29942":"0c702781","29968":"5c930f27","30067":"a8870582","30110":"8c5f69f6","30264":"cf0ab6d2","30342":"24450bd3","30435":"6ec19c08","30449":"4f47d528","30741":"0afd7032","31006":"b72dd39a","31078":"81cf449e","31154":"abb4690e","31211":"c238cf78","31222":"02a51cb2","31316":"0e745b32","31427":"9f0ddf8a","31674":"0a18c026","31752":"1b025858","31962":"9a992c57","32019":"96cd0448","32166":"82f373b4","32643":"21d40569","32826":"2a064b90","33030":"e2439d5b","33356":"9e1b862a","33747":"85e0c6e2","33784":"eb2757b1","33805":"a93fd24f","33897":"16c7cb08","34044":"4f45871d","34093":"45ea4893","34309":"9e5fd9c1","34426":"6937d4b7","34601":"0bf5d349","34741":"b325a29e","34790":"6eb90335","34800":"1cd4b99f","34850":"daf624f2","34893":"69e7d1e7","34994":"98d1cce9","35012":"49d7ec94","35060":"7530a2b3","35238":"d76881d9","35354":"c0640e01","35380":"a436810d","35416":"b4018e87","35729":"4bd3251a","35830":"92711719","35881":"072d1e29","35977":"b6f068ed","36029":"7493c23a","36270":"398d8736","36381":"06392e9c","36546":"632a53c0","36634":"03daa006","36784":"2b1d118d","37062":"4cd03d7f","37495":"164e0922","37704":"c09343be","37948":"50c68a91","38143":"daf1b7b1","38359":"1ecd1bb9","38447":"83657de2","38634":"62d16289","38797":"ddd4ebe7","39094":"b9967c93","39252":"01ffe0b6","39332":"670629a9","39391":"aa7142b7","39404":"dc323972","39484":"3528f142","39531":"1f9dc322","39547":"fe8dc736","39695":"d2476722","39820":"99aa0211","39859":"0f7cbf2d","39950":"57e939c0","40115":"a7f4a6e8","40139":"b243deae","40559":"f85bc234","40665":"e8bebca6","41048":"2d57a78c","41165":"e8fb71f9","41657":"33d5f353","41717":"e0fddac4","41953":"7c812f5d","42159":"9e935fe5","42240":"ef72e2e6","42441":"2b68ce27","42994":"73bb68ce","43182":"a49c10f2","43212":"ef71d3f8","43252":"72724474","43370":"2339646f","43428":"43fc8b6f","43442":"5363a0dc","43642":"0d113eba","43862":"8290d736","44189":"a109b151","44216":"e8dc9e23","44259":"578f1659","44354":"4d10aca1","44360":"2fe17938","44449":"db711ec8","44565":"17c77dae","44585":"ab35a8b1","45096":"4244a815","45178":"fc338c06","45179":"64a95942","45193":"2df346b9","45359":"9ffd6349","45413":"8856cd70","45504":"03adc8a8","45650":"b0bdd400","45653":"e84739b8","45775":"9c280926","45825":"91b9fb6f","45975":"d02742fb","45992":"7e485e89","46019":"a353e560","46456":"ae71a757","46573":"db7fbeee","46796":"8f8ed33e","46949":"ba036a4b","46963":"a3fba514","47037":"cea3069a","47271":"d8d69368","47545":"21892671","47686":"f38a5fc1","47778":"5d036744","48077":"84d492bb","48289":"9583ed83","48431":"5185069b","48507":"8b49ec1b","48630":"fd848e47","48689":"a4d85a21","48776":"3ca5830e","48815":"bc20e04f","49090":"c18f468e","49127":"58a9c267","49205":"4ddce3e1","49260":"d82ab47f","49366":"0fa8a2f8","49388":"ce4055c3","49680":"7d8ef29c","49716":"963b9147","49827":"210542f0","49831":"46b5ef07","49890":"d394d47b","49910":"0cf55958","50030":"f464d4b3","50032":"1dbac2f9","50250":"ca20b36f","50523":"589ce903","50681":"a17179ea","50869":"13f0d116","50870":"00ed8190","51144":"88d767c5","51220":"a2add0f8","51276":"42d74401","51461":"b2e323d0","51582":"298c36bf","51586":"e0db7138","51646":"a1e61a3a","51810":"c318367d","51855":"41a2cee9","52011":"1c407734","52338":"58c7c4ca","52398":"40a0f627","52404":"0ed354e9","52635":"645c0854","52720":"b9537ade","52806":"132e37e8","52829":"7def09b7","52875":"6a2b07c2","52992":"08a4ac32","53114":"685610c8","53123":"edb180be","53247":"3da6bf33","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"43b2241a","54056":"bef8b3eb","54164":"7ff9a863","54492":"63373fc4","54572":"383bee70","54597":"f312bc1c","54770":"f11b32a4","54862":"f07eb3bd","55351":"b1b9a06c","55449":"30716d99","55573":"2a2a037f","55624":"7df7deca","55693":"4b714ff1","55716":"08f4f66e","55795":"4d962e34","56022":"8ac18d78","56047":"b4b0d1c6","56156":"c61ad60b","56277":"f5175f01","57045":"f375967d","57298":"827ef72f","57365":"7e7804c5","57560":"12c218c8","57614":"204392cc","57968":"362f2c9f","57989":"9b1a3a9c","58253":"20604031","58271":"04f27f83","58561":"8a052c91","58678":"c209d4a6","58859":"4de7c234","58881":"e7100dde","59133":"94000cc4","59142":"76da5988","59204":"62b2ea28","59627":"b92f89cd","59649":"2d1ceaef","59734":"15d618ff","59788":"48f55345","59884":"2e3ce714","60479":"64292769","60533":"21596339","60547":"6a35cbbc","61043":"5d5b565f","61075":"a6b0ce3a","61104":"e70214f6","61311":"9eea19b2","61650":"71b16d62","61713":"26d9aa6c","61727":"3f06d6da","61735":"b2c561aa","61767":"9fbafb5f","61880":"3c94a3e1","61902":"f39b867c","62122":"2f53d3e9","62205":"e1e7293b","62300":"9d6bd9d6","62548":"53e249d3","62909":"64669e2a","62945":"927b34c0","63157":"0fffe8c4","63198":"f92793e1","63398":"9dd0215b","63968":"1346f3b8","64017":"154bb292","64144":"14cba1d6","64217":"2f96c9c4","64496":"0b386dc6","64520":"28f07dca","65022":"065244c5","65111":"d316ac74","65148":"98793a2a","65191":"891193f6","65549":"a9708b1e","65582":"0c49b20d","65816":"35be09a9","65876":"a2754c64","66034":"e6bde221","66063":"f284aa8c","66243":"207cf4a9","66531":"76fb4e8c","66583":"1b9bebd9","66651":"a6f8d7c0","66884":"eaba3b65","67091":"3fb99724","67156":"918b4bca","67242":"bfe1db58","67500":"367bc996","67799":"c4684a68","67816":"4e8022de","67878":"c1f7e6bf","68014":"a2fc2716","68200":"41d3c000","68394":"9c2215ee","68665":"a6e50486","68827":"2ade543e","68842":"19057860","68882":"4d468dc9","69033":"14c828d8","69127":"88076b4f","69362":"2d18e879","69393":"dfbd7bf4","69425":"b4e2f2d8","69552":"5faec27a","69681":"ca2638e2","69828":"77ae1648","69922":"6297fb77","69944":"01e0f56a","70176":"fa2d31b7","70232":"a824ea9f","70469":"60a9c1c7","70671":"749b4875","70928":"4a354164","70981":"157d0b6b","71409":"0fe7bf6d","71448":"67c6896b","71450":"3f724280","71505":"c9112763","71525":"2375117c","71572":"aead19d0","71613":"76497474","71622":"213e9b69","71773":"146bf884","71783":"0428c25e","72011":"7efe6dda","72261":"c04198ac","72409":"cebfb726","72529":"1bd01bf7","72539":"e3f818b1","72570":"e5224d60","72969":"53256e8c","73183":"29fe1ec7","73220":"2b447835","73355":"80288933","73755":"688888b2","73985":"c220e087","74014":"5339ac81","74264":"88287a10","74297":"fd91f48e","74347":"a722ba6c","74755":"51c5682a","74795":"164cb99c","74877":"418783f6","75043":"4ba278c8","75321":"9b9a5dc1","75357":"97d911d0","75765":"528e2503","75786":"9d265f1d","75816":"880e58c5","76134":"8fdb7725","76411":"a76d280e","76904":"b546b3ed","77034":"61ba189b","77084":"8f409a6d","77248":"43506d56","77460":"fe7eabf7","77646":"1186bd1e","77679":"0c8ae744","77792":"8e00a6d5","77857":"99a37599","78018":"f25ad408","78085":"a4f351d8","78241":"1452bb03","78282":"abbac348","78302":"2f657c59","78632":"9a179ede","78737":"fa31da0e","78782":"47e511c6","79487":"b49e6beb","79489":"ae50ecb9","79590":"92a8a46b","79817":"2cabe475","79876":"edad902f","79921":"5a62238d","80209":"251e02e4","80231":"ef4a28c2","80508":"76cb21a2","80629":"ca49ee59","80668":"dcb8bfc8","81001":"ee8dcd28","81148":"99d6ba4d","81304":"5eb98933","81326":"c1fdc99f","81799":"08d8f732","82135":"c5b8159b","82242":"51147389","82339":"8611ebbd","82425":"a5b71c09","82443":"3ff5148f","82498":"d9017715","82861":"35ec1604","83105":"b3eb9e83","83141":"a5128967","83211":"20ba2e93","83212":"548d4224","83426":"239c70f2","83935":"21cea5d8","84343":"a4aa9c11","84546":"feb56992","85048":"e3509503","85111":"59c35e07","85297":"ba8e7453","85494":"da5840b1","85764":"5c1c73b5","85888":"1897a853","85891":"80c44e1c","86045":"0a358cbb","86052":"ecf631f5","86129":"801a9880","86184":"32b6e178","86452":"7cf739ad","86541":"a71d4091","86618":"cbd469ff","86627":"ccd66a96","86634":"719d830d","86774":"2db1d78d","86820":"34c08acb","86913":"309d5464","87058":"9d611fd2","87167":"542f1373","87260":"ca7ca769","87424":"54b2ec41","87922":"80dfaad6","87964":"83911fb5","88093":"a393aed2","88155":"583bf7fa","88501":"41a6042e","88517":"18983be1","88699":"276147ac","88866":"f9439aed","88897":"51b5563f","89053":"ad7361cd","89076":"01bb45c1","89113":"5009648c","89554":"3bd5f2ea","89677":"07f47b88","89785":"728abf17","90109":"cbdaeda8","90265":"86d6f39b","90303":"faa39a1e","90316":"c34a4fc4","90337":"1c06a35d","90606":"e436caef","90789":"f5088662","91045":"5acfd487","91274":"c142e23b","91462":"2cbc46cd","91470":"fccc55ef","91831":"2815e102","91857":"9f7ccf17","91928":"bed724df","92045":"2b682db7","92060":"ef627612","92501":"eff09d45","92538":"a4db897b","92594":"0f02017f","92603":"0904ab47","92823":"4007b8af","92881":"c96047cb","92932":"028c73e3","92983":"273fd82e","93260":"a409a4ea","93282":"ba9f6c82","93496":"641eb538","93665":"6d41fc81","93668":"22352315","93948":"5a8462a3","94078":"cda24a45","94144":"d13c034c","94498":"a0454076","94662":"f122451a","94715":"761bccb1","94849":"4aaa5cf1","94974":"76922dd1","95125":"811b44ee","95176":"d4306a8f","95314":"e462ca10","95335":"4557bb82","95679":"33378d80","96004":"df865536","96163":"a8f0c981","96444":"9766d749","96882":"bdb27422","96923":"fbe252c7","97008":"29dfd16a","97046":"2cb38dcc","97120":"0eb88e7b","97591":"4868bb6b","97838":"3cffae56","97840":"0eab5129","97986":"6cf22324","98062":"7413f8a9","98093":"f584f37c","98398":"ff943e3c","98662":"f71ec470","98688":"d92a30d0","98799":"9d3c9368","98885":"2d0cb03e","98936":"dd7daf97","99104":"d4f63539","99198":"ecb754cf","99313":"3ed5b45d","99397":"b2caeb47","99674":"27fb8cd0","99708":"9e44a59c","99758":"39e3d510"}[chunkId] + ".async.js"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1201":"p__Counselling__ExpertList__Info__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__index","2224":"p__Knowbase__HomePage__index","2416":"p__Counselling__ExpertList__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","2948":"p__Materials__ItemAssets__Info__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5427":"p__User__Detail__Devicegroup__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6613":"p__Laboratory__LaboratoryCenter__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7202":"p__Materials__Entry__index","7520":"p__Laboratory__OpenReservation__OpenReservationStatistics__index","7729":"p__Materials__ItemAssets__AddReceiveScene__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9134":"p__Materials__ItemAssetsList__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10902":"p__Counselling__MyConsultation__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11020":"p__Counselling__DutySetting__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__index","11174":"p__Shixuns__Detail__ExperimentDetail__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13012":"p__Counselling__ExpertList__OnlineChat__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14666":"p__Homepage__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16074":"p__MagazineVer__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","18682":"p__Wisdom__index","19116":"p__Materials__ItemAssets__AddProcure__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21433":"p__Equipment__Information__InfoList__ReservationInfo__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22561":"p__Materials__Receive__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","24904":"p__Equipment__MessageCenterManage__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25807":"p__Materials__MyProcure__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26429":"p__MagazineVer__Index__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","27416":"p__Equipment__Index__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28637":"p__Knowbase__Detail__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29304":"p__NewHomeEntranceClassify__index","29647":"p__Question__Index__index","29942":"p__Equipment__Information__InfoList__Edit__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31078":"p__Laboratory__LaboratoryType__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31316":"p__Equipment__Information__InfoList__Details__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","33897":"p__Information__EditPage__index","34044":"p__Counselling__ExpertManage__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35380":"p__Laboratory__Index__index","35729":"p__Help__Index","35977":"p__Laboratory__MyLaboratory__Info__rooms__createRoom__index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39094":"p__Magazine__AddOrEdit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","39820":"p__Laboratory__LaboratoryRoom__createRoom__index","39859":"p__Materials__ItemAssets__InfoCode__index","40139":"p__Materials__ItemAssets__index","40559":"layouts__virtualDetail__index","40665":"p__Materials__Index__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42159":"p__Equipment__Information__index","42240":"p__User__Detail__Videos__Upload__index","43212":"p__Laboratory__ReservationManage__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45975":"p__Counselling__ExpertList__Detail__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","47778":"p__IOT__DeviceManage__index","48077":"p__Classrooms__Lists__Students__index","48289":"p__Materials__MyReceive__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51220":"p__NewHomeEntrance2__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51810":"p__Laboratory__OpenReservation__OpenReservationDetail__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","57989":"p__Laboratory__MyLaboratory__Info__index","59133":"p__Shixuns__Detail__Challenges__index","59142":"p__Reservation__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61075":"p__IOT__ViewAppointment__index","61311":"p__Equipment__BookingManage__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","61902":"p__Information__HomePage__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","62909":"p__NewHomeEntrance1__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66243":"p__Broadcast__Detail__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","66884":"p__Counselling__Index__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69681":"p__User__Detail__Devicegroup__Add__index","69828":"p__Equipment__Faultlibrary__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71525":"p__User__Detail__Devicegroup__ReservationInfo__index","71783":"p__virtualSpaces__Lists__Experiment__index","72409":"p__Materials__Procure__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74297":"p__Laboratory__LaboratoryRoom__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76134":"p__Equipment__Maintenance__Details__index","76904":"p__MoopCases__FormPanel__index","77248":"p__Materials__ItemAssetsList__CreateItemAssets__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79487":"p__Laboratory__OpenReservation__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","80668":"p__MagazineVer__Mine__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83105":"p__Laboratory__RuleManage__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83426":"p__NewHomeEntrance__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88093":"p__Equipment__Maintenance__index","88155":"p__Shixuns__Overview__index","88501":"p__ReservationDetail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89053":"p__IOT__ElectronBPManage__index","89076":"p__Account__Binding__index","89113":"p__Equipment__Devicelabel__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92932":"p__User__Detail__Devicegroup__Edit__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96163":"p__Laboratory__Reservations__Info__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","97838":"p__Equipment__Working__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98662":"p__Materials__ItemAssetsType__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","98936":"p__Laboratory__MyLaboratory__index","99674":"p__Shixuns__New__ImagePreview__index","99758":"p__Laboratory__Reservations__index"}[chunkId] || chunkId) + "." + {"251":"d0922370","292":"25cf4b31","310":"75cebd98","556":"f333f66f","1201":"67e35d4a","1379":"9ccd6ce3","1414":"f3f10530","1482":"b0e7fc6c","1660":"b5fd3a58","1702":"01d79574","1712":"d0b3f96d","2001":"b604743a","2224":"650f8650","2249":"90399667","2360":"2f3cadfa","2400":"97f8d8a4","2416":"e9c21a1e","2494":"5e069ec9","2659":"83535042","2805":"ad2e9a51","2819":"7fff4b42","2837":"b3a05bc1","2948":"e86acad5","3133":"6a9f7113","3145":"0a544eb2","3317":"34d53a07","3391":"cb9f3881","3416":"8f71c399","3451":"15c2bc3a","3509":"6d4e57cf","3583":"b3069d42","3585":"2479beac","3885":"e66b03f8","3936":"09fd69d2","3951":"5f316d72","4176":"a5fa6b45","4685":"21279a05","4736":"984d6d84","4766":"67bb3fc3","4884":"670d7197","4938":"21621951","4973":"a999a695","5112":"87c26be1","5427":"07464d89","5434":"361b868d","5572":"a23dfac8","6127":"5ca75848","6378":"27c8142f","6572":"bf6eac37","6613":"397343ea","6650":"8bbece87","6685":"78fa719d","6758":"c733d0be","6788":"42607965","7043":"59d8dd44","7077":"9e4e6791","7137":"9a8deb6f","7202":"a0bd129b","7433":"04ab7529","7520":"9ecbe9a0","7729":"988aa107","7852":"953f8fad","7884":"ce9b2499","8610":"44838be4","8787":"bdd32c49","8860":"7304b771","8999":"c554349f","9134":"112bb8c5","9163":"4f840782","9262":"0476ed39","9416":"09b4febb","9589":"db894dbd","9755":"17cffbe7","9928":"5856e32a","9951":"686d67fa","10195":"5656afe1","10354":"5c063e6f","10485":"061315d2","10737":"c485bf9e","10799":"f97c8f3a","10804":"f3474cce","10902":"378b4b87","10921":"2bc541c1","10970":"c53d1ab1","11020":"fa71ed2d","11070":"8fff866e","11130":"b86ce89e","11174":"ff0842d0","11221":"9b89ac03","11253":"7f3b0ce5","11504":"13750b9c","11512":"be65dd62","11520":"39634f45","11545":"73c3ec4a","11581":"d1002392","12076":"977b8ca6","12102":"f997e438","12303":"eec14307","12386":"289c62c7","12412":"76d97840","12476":"d4bb3af9","12632":"2184e18b","12865":"826b2df0","12884":"1df11648","12911":"ffbabc43","13006":"7c47e72a","13012":"b21aee32","13355":"361cae19","13488":"8ba29ad0","13581":"cf182dda","14058":"5d710b39","14082":"0baa366c","14088":"c639825c","14105":"def252fd","14227":"5311ef7a","14230":"b433eef1","14514":"bcfd2d3d","14599":"e0eb7cd6","14610":"cf8e93c1","14662":"6c74df28","14666":"821ec6fb","14889":"73314d78","14996":"7913fb53","15148":"458edf4f","15178":"a815d22a","15186":"f69f1a93","15290":"7b3f25d8","15319":"e9dc1120","15377":"57ce0d89","15402":"6fc56792","15631":"d790a1bf","15845":"c8fe49ef","15909":"bf1b6437","15959":"e12b032f","16074":"6647053d","16328":"7f3d65c0","16434":"43d92c5e","16703":"abe12811","16729":"0cefe967","16845":"b55e78f0","17482":"affe5eac","17527":"5e1e9080","17622":"b097f4ff","17691":"e4c68fa1","17806":"d7aa3545","18241":"f59b38c0","18302":"9c499001","18307":"d01be93d","18350":"0ed0f7c3","18388":"0c051f35","18682":"e5d7a4bf","18898":"25ad586a","18945":"17693978","18950":"2b7261df","18963":"33e3df18","19116":"4d1bf3e8","19208":"85e01132","19215":"8232238f","19360":"483cba22","19519":"3800e819","19715":"b6b74e0f","19842":"f708dc9a","19871":"04a5ab55","19891":"ae412433","19950":"328db857","20026":"ac997646","20056":"225930ef","20067":"993f7d0c","20576":"c90e7824","20680":"6e115eed","20700":"62c826f2","20714":"2656e65b","20834":"4332592f","20868":"d05bed2a","20898":"751a440e","21265":"df32eaef","21423":"a2709b2f","21433":"fa30d6b9","21560":"d30acadc","21578":"4e8a21fc","21751":"9fe95f38","21939":"f2692767","22011":"92845fc8","22254":"c8e0c8a9","22307":"7bcca8b8","22561":"5e9a827c","22707":"41fb1ba9","22970":"193a1757","23003":"39d60a99","23332":"8467493b","23401":"9347d355","24064":"6e2c3952","24290":"662c4df4","24504":"71e8741e","24628":"b863dad4","24665":"c86da1f0","24797":"eb563316","24904":"afd67846","25022":"35f42eaa","25374":"e8b1938d","25470":"cd9ef263","25609":"ab195afc","25705":"592946aa","25727":"93eac6d6","25807":"bbb8b451","25967":"ee30445e","25972":"23f55204","26013":"cefe58b1","26126":"400f4fd5","26366":"71c0bd42","26429":"d39f432a","26685":"94286421","26741":"3817fd18","26883":"ca3f08b9","26926":"5c0bb069","27036":"c373c125","27039":"dd139791","27061":"81bb0f27","27178":"a9e82ffc","27182":"95b568c6","27333":"c42857cb","27395":"556b2382","27416":"0811a22d","27706":"c0d5e1ef","27739":"078f5ff8","28019":"23074e2c","28072":"3a82ce1a","28089":"aaa88c03","28161":"00a22aad","28237":"268f5816","28331":"c39505c8","28435":"83805ecf","28479":"246c3267","28561":"ec76d55e","28637":"2d3eb65e","28639":"942e5f91","28723":"e27ec039","28782":"72aca542","28920":"842a9870","28982":"1e694c9a","29111":"d789fa56","29304":"b188c067","29559":"cdc05f60","29647":"c653276c","29895":"1fa85db5","29942":"0c702781","29968":"5c930f27","30067":"a8870582","30110":"8c5f69f6","30264":"cf0ab6d2","30342":"24450bd3","30435":"6ec19c08","30449":"4f47d528","30741":"0afd7032","31006":"b72dd39a","31078":"81cf449e","31154":"abb4690e","31211":"c238cf78","31316":"0e745b32","31427":"9f0ddf8a","31674":"0a18c026","31752":"1b025858","31962":"9a992c57","32019":"96cd0448","32166":"b77b6211","32643":"21d40569","32826":"33cc2371","33030":"e2439d5b","33356":"9e1b862a","33747":"85e0c6e2","33784":"da9defd1","33805":"a93fd24f","33897":"16c7cb08","34044":"4f45871d","34093":"45ea4893","34309":"9e5fd9c1","34426":"6937d4b7","34601":"0bf5d349","34741":"b325a29e","34790":"6eb90335","34800":"1cd4b99f","34850":"daf624f2","34893":"69e7d1e7","34994":"98d1cce9","35012":"891a38c2","35060":"7530a2b3","35238":"d76881d9","35354":"c0640e01","35380":"a436810d","35416":"b4018e87","35729":"4bd3251a","35830":"92711719","35881":"072d1e29","35977":"227a75e2","36029":"7493c23a","36270":"398d8736","36381":"06392e9c","36546":"632a53c0","36634":"03daa006","36784":"2b1d118d","37062":"4cd03d7f","37495":"164e0922","37704":"f6787057","37948":"50c68a91","38143":"daf1b7b1","38359":"1ecd1bb9","38447":"83657de2","38634":"f2b21614","38797":"95e276c5","39094":"b9967c93","39252":"01ffe0b6","39332":"670629a9","39391":"0946d590","39404":"dc323972","39484":"3528f142","39531":"1f9dc322","39695":"d2476722","39820":"99aa0211","39859":"0f7cbf2d","39950":"57e939c0","40115":"a7f4a6e8","40139":"b243deae","40559":"273b70d1","40665":"e8bebca6","41048":"2d57a78c","41165":"e8fb71f9","41657":"33d5f353","41717":"e0fddac4","41953":"050093d9","42159":"9e935fe5","42240":"ef72e2e6","42441":"2b68ce27","42994":"73bb68ce","43182":"a49c10f2","43212":"ef71d3f8","43252":"72724474","43370":"430a7abf","43428":"43fc8b6f","43442":"5363a0dc","43642":"0d113eba","43862":"8290d736","44189":"a109b151","44216":"e8dc9e23","44259":"578f1659","44354":"4d10aca1","44360":"2fe17938","44449":"db711ec8","44565":"17c77dae","44585":"f74f3ace","45096":"4244a815","45178":"7935208d","45179":"64a95942","45193":"2df346b9","45359":"9ffd6349","45413":"8856cd70","45650":"b0bdd400","45653":"e84739b8","45775":"9c280926","45825":"7dc4cf93","45975":"d02742fb","45992":"7e485e89","46019":"a353e560","46456":"364edc7a","46573":"db7fbeee","46796":"8f8ed33e","46949":"ba036a4b","46963":"a3fba514","47037":"d07b71be","47271":"d8d69368","47545":"779d49c2","47686":"f38a5fc1","47778":"5d036744","48077":"84d492bb","48289":"9583ed83","48431":"faff019d","48507":"c4258fdd","48630":"3a743752","48689":"a4d85a21","48776":"3ca5830e","48815":"bc20e04f","49090":"5518dd2d","49127":"58a9c267","49205":"4ddce3e1","49260":"d82ab47f","49366":"0fa8a2f8","49388":"ce4055c3","49680":"7d8ef29c","49716":"963b9147","49827":"210542f0","49831":"46b5ef07","49890":"d394d47b","49910":"0cf55958","50030":"f464d4b3","50032":"1dbac2f9","50250":"ca20b36f","50523":"589ce903","50681":"a17179ea","50869":"13f0d116","50870":"4d3cf249","51144":"88d767c5","51220":"a2add0f8","51276":"42d74401","51461":"b2e323d0","51582":"298c36bf","51586":"e0db7138","51646":"a1e61a3a","51810":"6ea56344","51855":"41a2cee9","52011":"c7f77da6","52338":"58c7c4ca","52398":"40a0f627","52404":"0ed354e9","52635":"645c0854","52720":"10b1085e","52806":"132e37e8","52829":"7def09b7","52875":"6a2b07c2","52992":"08a4ac32","53114":"685610c8","53247":"3da6bf33","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"43b2241a","54056":"bef8b3eb","54164":"fef25e5d","54492":"63373fc4","54572":"383bee70","54597":"f312bc1c","54770":"f11b32a4","54862":"f07eb3bd","55351":"b1b9a06c","55449":"1e187d4f","55573":"2a2a037f","55624":"7df7deca","55693":"4b714ff1","55716":"08f4f66e","55795":"4d962e34","56022":"7a855d7c","56047":"b4b0d1c6","56156":"c61ad60b","56277":"f5175f01","57045":"f375967d","57298":"827ef72f","57365":"7e7804c5","57560":"12c218c8","57614":"204392cc","57968":"362f2c9f","57989":"9b1a3a9c","58253":"20604031","58271":"04f27f83","58561":"8a052c91","58676":"d0a79662","58678":"d4021643","58859":"4de7c234","58881":"c4533c96","59133":"94000cc4","59142":"76da5988","59204":"10c04b94","59627":"b92f89cd","59649":"2d1ceaef","59734":"10911a0d","59788":"48f55345","59884":"2e3ce714","60479":"64292769","60533":"21596339","60547":"6a35cbbc","61043":"5d5b565f","61075":"a6b0ce3a","61104":"e70214f6","61311":"9eea19b2","61650":"71b16d62","61713":"513d6363","61727":"58a92f2e","61735":"b2c561aa","61767":"9fbafb5f","61880":"3c94a3e1","61902":"f39b867c","62122":"27e11ef2","62205":"44acb62e","62300":"9d6bd9d6","62548":"53e249d3","62909":"64669e2a","62945":"927b34c0","63157":"0fffe8c4","63198":"f92793e1","63398":"07c87dad","63968":"1346f3b8","64017":"154bb292","64144":"14cba1d6","64217":"2f96c9c4","64496":"0b386dc6","64520":"28f07dca","65022":"065244c5","65111":"d316ac74","65148":"98793a2a","65191":"891193f6","65549":"a9708b1e","65582":"dd736dbe","65816":"35be09a9","65876":"a2754c64","66034":"e6bde221","66063":"f284aa8c","66243":"207cf4a9","66531":"76fb4e8c","66583":"1b9bebd9","66651":"a6f8d7c0","66884":"eaba3b65","67091":"4cb76968","67156":"918b4bca","67242":"bfe1db58","67500":"367bc996","67799":"c4684a68","67816":"4e8022de","67878":"c1f7e6bf","68014":"a2fc2716","68200":"41d3c000","68394":"fdf95618","68665":"cb04d371","68827":"2ade543e","68842":"19057860","68882":"4d468dc9","68998":"2274774a","69033":"14c828d8","69127":"88076b4f","69362":"2d18e879","69393":"dfbd7bf4","69425":"b4e2f2d8","69552":"4f3ccadd","69681":"ca2638e2","69828":"77ae1648","69922":"6297fb77","69944":"01e0f56a","70176":"fa2d31b7","70232":"a824ea9f","70469":"60a9c1c7","70671":"749b4875","70928":"4a354164","70981":"157d0b6b","71409":"a888fb52","71448":"67c6896b","71450":"3f724280","71505":"08799542","71525":"2375117c","71572":"a3a06e1c","71613":"a247a52c","71622":"aa51a434","71773":"92dfed6c","71783":"0428c25e","72011":"7efe6dda","72261":"a1333f8d","72409":"cebfb726","72529":"1bd01bf7","72539":"e3f818b1","72570":"e5224d60","72969":"53256e8c","73183":"da7cd3d0","73220":"ae20c3a7","73355":"80288933","73755":"688888b2","73985":"c220e087","74014":"5339ac81","74264":"88287a10","74297":"fd91f48e","74347":"a722ba6c","74755":"51c5682a","74795":"164cb99c","74877":"9378325a","75043":"4ba278c8","75321":"9b9a5dc1","75357":"0970a31a","75765":"d6d53a54","75786":"9d265f1d","75816":"48f9b2a3","76134":"8fdb7725","76411":"a76d280e","76904":"b546b3ed","77034":"61ba189b","77084":"8f409a6d","77248":"43506d56","77460":"fe7eabf7","77646":"1186bd1e","77679":"6aa622e0","77792":"8e00a6d5","77857":"99a37599","78018":"f25ad408","78085":"8a35d2c6","78241":"1452bb03","78282":"abbac348","78302":"2f657c59","78632":"9a179ede","78737":"fa31da0e","78782":"47e511c6","79487":"b49e6beb","79489":"48b94f0f","79590":"92a8a46b","79817":"2cabe475","79876":"edad902f","79921":"5a62238d","80209":"251e02e4","80231":"ef4a28c2","80508":"76cb21a2","80629":"ca49ee59","80668":"dcb8bfc8","81001":"ee8dcd28","81148":"ce7cad69","81304":"5eb98933","81326":"19339c60","81799":"08d8f732","82135":"c5b8159b","82242":"51147389","82339":"8611ebbd","82425":"a5b71c09","82443":"3ff5148f","82498":"d9017715","82861":"21da1ab4","83105":"b3eb9e83","83141":"a5128967","83211":"20ba2e93","83212":"548d4224","83426":"239c70f2","83935":"47c5a5cf","84343":"a4aa9c11","84546":"dfea87f4","85048":"e3509503","85111":"59c35e07","85297":"ba8e7453","85494":"da5840b1","85764":"5c1c73b5","85888":"1897a853","85891":"c287af62","86045":"0a358cbb","86052":"ecf631f5","86129":"801a9880","86184":"32b6e178","86452":"7cf739ad","86541":"a71d4091","86618":"cbd469ff","86627":"ccd66a96","86634":"719d830d","86774":"2db1d78d","86820":"34c08acb","86913":"309d5464","87058":"9d611fd2","87167":"542f1373","87260":"ca7ca769","87424":"6ff99b29","87922":"80dfaad6","87964":"83911fb5","88093":"715c59df","88155":"583bf7fa","88501":"41a6042e","88517":"18983be1","88699":"276147ac","88866":"f9439aed","88897":"51b5563f","89053":"ad7361cd","89076":"01bb45c1","89113":"5009648c","89554":"3bd5f2ea","89677":"07f47b88","89785":"728abf17","90109":"cbdaeda8","90265":"86d6f39b","90303":"bded333d","90316":"c34a4fc4","90337":"de8f9a82","90606":"e436caef","90789":"7f9b9f3c","91045":"5acfd487","91274":"c142e23b","91462":"2cbc46cd","91470":"fccc55ef","91831":"2815e102","91857":"9f7ccf17","91928":"bed724df","92045":"9bec3a58","92060":"ef627612","92501":"eff09d45","92538":"a4db897b","92594":"0f02017f","92603":"0904ab47","92823":"4007b8af","92881":"c96047cb","92932":"028c73e3","92983":"273fd82e","93260":"1cd90b90","93282":"ba9f6c82","93496":"7088b669","93665":"6d41fc81","93668":"22352315","93948":"5a8462a3","94078":"cda24a45","94144":"d13c034c","94498":"a0454076","94662":"f122451a","94715":"761bccb1","94849":"7b148f18","94974":"76922dd1","95125":"811b44ee","95176":"d4306a8f","95314":"77df91ef","95335":"4557bb82","95679":"33378d80","96004":"df865536","96163":"a8f0c981","96444":"9766d749","96882":"bdb27422","96923":"422d6d13","97008":"29dfd16a","97046":"2cb38dcc","97120":"0eb88e7b","97591":"4868bb6b","97838":"3cffae56","97840":"0eab5129","97986":"6cf22324","98062":"7413f8a9","98093":"f584f37c","98398":"ff943e3c","98662":"f71ec470","98688":"d92a30d0","98799":"9d3c9368","98885":"2d0cb03e","98936":"05a6f955","99104":"d4f63539","99198":"ecb754cf","99313":"3ed5b45d","99397":"b2caeb47","99674":"27fb8cd0","99708":"9e44a59c","99758":"39e3d510"}[chunkId] + ".async.js"; /******/ }; /******/ }(); /******/ @@ -205865,7 +205865,7 @@ function debounce (delay, callback, options) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.miniCssF = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1201":"p__Counselling__ExpertList__Info__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__index","2224":"p__Knowbase__HomePage__index","2416":"p__Counselling__ExpertList__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","2948":"p__Materials__ItemAssets__Info__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5427":"p__User__Detail__Devicegroup__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6613":"p__Laboratory__LaboratoryCenter__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7202":"p__Materials__Entry__index","7520":"p__Laboratory__OpenReservation__OpenReservationStatistics__index","7729":"p__Materials__ItemAssets__AddReceiveScene__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9134":"p__Materials__ItemAssetsList__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10902":"p__Counselling__MyConsultation__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11020":"p__Counselling__DutySetting__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__index","11174":"p__Shixuns__Detail__ExperimentDetail__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14666":"p__Homepage__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16074":"p__MagazineVer__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","18682":"p__Wisdom__index","19116":"p__Materials__ItemAssets__AddProcure__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21433":"p__Equipment__Information__InfoList__ReservationInfo__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22561":"p__Materials__Receive__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","24904":"p__Equipment__MessageCenterManage__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25807":"p__Materials__MyProcure__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26429":"p__MagazineVer__Index__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","27416":"p__Equipment__Index__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28637":"p__Knowbase__Detail__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29304":"p__NewHomeEntranceClassify__index","29647":"p__Question__Index__index","29942":"p__Equipment__Information__InfoList__Edit__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31078":"p__Laboratory__LaboratoryType__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31316":"p__Equipment__Information__InfoList__Details__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","33897":"p__Information__EditPage__index","34044":"p__Counselling__ExpertManage__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35380":"p__Laboratory__Index__index","35729":"p__Help__Index","35977":"p__Laboratory__MyLaboratory__Info__rooms__createRoom__index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39094":"p__Magazine__AddOrEdit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","39820":"p__Laboratory__LaboratoryRoom__createRoom__index","39859":"p__Materials__ItemAssets__InfoCode__index","40139":"p__Materials__ItemAssets__index","40559":"layouts__virtualDetail__index","40665":"p__Materials__Index__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42159":"p__Equipment__Information__index","42240":"p__User__Detail__Videos__Upload__index","43212":"p__Laboratory__ReservationManage__index","43442":"p__Classrooms__Lists__Board__Add__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45975":"p__Counselling__ExpertList__Detail__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","47778":"p__IOT__DeviceManage__index","48077":"p__Classrooms__Lists__Students__index","48289":"p__Materials__MyReceive__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51220":"p__NewHomeEntrance2__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51810":"p__Laboratory__OpenReservation__OpenReservationDetail__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","57989":"p__Laboratory__MyLaboratory__Info__index","59133":"p__Shixuns__Detail__Challenges__index","59142":"p__Reservation__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61075":"p__IOT__ViewAppointment__index","61311":"p__Equipment__BookingManage__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","61902":"p__Information__HomePage__index","62548":"p__Engineering__Norm__Detail__index","62909":"p__NewHomeEntrance1__index","63157":"p__User__Detail__ExperImentImg__Add__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66243":"p__Broadcast__Detail__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","66884":"p__Counselling__Index__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69681":"p__User__Detail__Devicegroup__Add__index","69828":"p__Equipment__Faultlibrary__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71525":"p__User__Detail__Devicegroup__ReservationInfo__index","71783":"p__virtualSpaces__Lists__Experiment__index","72409":"p__Materials__Procure__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74297":"p__Laboratory__LaboratoryRoom__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76134":"p__Equipment__Maintenance__Details__index","76904":"p__MoopCases__FormPanel__index","77248":"p__Materials__ItemAssetsList__CreateItemAssets__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79487":"p__Laboratory__OpenReservation__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","80668":"p__MagazineVer__Mine__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83105":"p__Laboratory__RuleManage__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83426":"p__NewHomeEntrance__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88093":"p__Equipment__Maintenance__index","88155":"p__Shixuns__Overview__index","88501":"p__ReservationDetail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89053":"p__IOT__ElectronBPManage__index","89076":"p__Account__Binding__index","89113":"p__Equipment__Devicelabel__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92932":"p__User__Detail__Devicegroup__Edit__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96163":"p__Laboratory__Reservations__Info__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","97838":"p__Equipment__Working__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98662":"p__Materials__ItemAssetsType__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","98936":"p__Laboratory__MyLaboratory__index","99674":"p__Shixuns__New__ImagePreview__index","99758":"p__Laboratory__Reservations__index"}[chunkId] || chunkId) + "." + {"292":"68e07629","310":"48a66809","556":"197ea3fe","1201":"8a4c4c23","1482":"68f87dce","1702":"249982a3","2001":"6b5772d0","2224":"a43f7fdd","2416":"bdddab42","2659":"3ec1305c","2819":"5dea982d","2948":"18bcbdfa","3317":"33ad2161","3391":"6f2de0be","3451":"10d0f656","3509":"0b149eb3","3585":"908445dd","3951":"fa58876e","4736":"1d20c139","4766":"c060f747","4884":"c58c7f4a","4973":"4b51a7ff","5427":"811b67c1","5572":"423f0d1b","6127":"4db4fc21","6613":"451daf61","6685":"6446acb6","6758":"a8a7a89e","6788":"a4d95246","7043":"dff58f19","7202":"e1395e83","7433":"6b1e43be","7520":"a50bf6ae","7729":"73dda5b5","7852":"685c55f0","7884":"a7c196e8","8787":"5e29d918","8999":"8ea8749e","9134":"da7a36b0","9416":"ca986c30","10195":"d12407fe","10485":"7d912cf3","10737":"56d64f5f","10799":"74a51d79","10902":"f981197e","10921":"acd2f877","11020":"413e4004","11070":"ae8ca5d1","11130":"47059d4c","11174":"6b1e43be","11253":"d53a011f","11512":"6f840254","11520":"49b889a2","11545":"5b16d3f9","11581":"259b3bed","12076":"5eecefde","12102":"86c50589","12303":"767f2978","12412":"8c4a300a","12476":"c4ec847a","12865":"3a80128b","12884":"f270ec7f","13006":"514a53a6","13355":"37e763d4","13581":"4985be56","14058":"a9e2c684","14105":"4a56d935","14227":"73407df6","14514":"1a198c50","14599":"b4af9641","14610":"56e3ac93","14662":"2bc7ddd9","14666":"26fee81b","14889":"e3a10643","15148":"02d710db","15186":"db0446a1","15319":"4f0b7611","15402":"585fd341","16074":"2446f1af","16328":"6a61d696","16434":"10c56128","16729":"318e5ead","16845":"89cae7ae","17482":"039996ca","17527":"1b8046f1","17622":"7bdfcf04","17806":"fa5e1661","18241":"09fefa07","18302":"9cb168aa","18307":"f5ef90c5","18682":"008bd6e9","19116":"64479ed5","19215":"3e11e259","19360":"aaed4d00","19519":"7535241c","19715":"7dd0cad8","19891":"829e6942","20026":"ef24dde4","20576":"300e7ff0","20680":"ae8ca5d1","20700":"6577df42","21265":"61683d2d","21423":"4c735566","21433":"d0914788","21578":"6577cb76","21939":"d8ba6247","22254":"ee05ac2a","22307":"00334314","22561":"d88f5ea6","22707":"61c325a9","23332":"ade4ef8b","24504":"eca7864c","24904":"07368ce3","25022":"9a5c44f3","25470":"15154c33","25705":"44837054","25807":"5d3c370e","25972":"a1137a1e","26366":"46efeb95","26429":"d0e97c70","26685":"abec7f2d","26741":"066fe403","26883":"3da560dd","27178":"3d8eaa7e","27182":"ac24897f","27395":"ea4d261b","27416":"d8829cbd","28072":"37df87cf","28237":"02c5ff7a","28435":"40d524bb","28637":"c59eeb30","28723":"2737f813","28782":"57994190","28982":"8b23d6dc","29304":"45403049","29647":"31e86a8b","29942":"433b68cb","30067":"6898d866","30264":"83a67eeb","30342":"e90b107c","31006":"a8f04fa6","31078":"34a7e217","31211":"b35e1a29","31316":"49054529","31427":"a51f0084","31674":"bd6b084e","31962":"6c7ee372","33356":"0bedec1c","33747":"af296a74","33784":"6e02a8b1","33897":"859c7935","34044":"afeb6366","34093":"09c84a2a","34601":"2b7b3431","34741":"b69bb827","34800":"868c2abb","34893":"f291b0d3","34994":"eb73d79d","35238":"a2997adf","35380":"c5c9800c","35729":"cd492ffb","35977":"85eb8f42","36029":"679e625f","36270":"30f68bfe","36784":"8b606f0b","37062":"add0a09d","37948":"1d93fc01","38143":"3d85f316","38447":"f2ac1714","38634":"572cd151","38797":"d69c874c","39094":"35fcd028","39332":"b375ecd7","39391":"c5094b04","39404":"5d67dee1","39695":"71afe033","39820":"ebb059e2","39859":"e3c5df17","40139":"775175b5","40559":"a5b51744","40665":"0b5c7697","41048":"0b270791","41657":"5addd738","41717":"837153ef","41953":"26f198c1","42159":"da22935f","42240":"4dad9518","43212":"462b6583","43442":"89dbac6b","44259":"275fea24","44449":"a09375ee","45096":"3795e3aa","45179":"e5fe6e6a","45359":"ec55dfb6","45650":"fa55250c","45775":"857940b9","45825":"cd5c0d8b","45975":"ccefa430","45992":"7ce2b7ad","46796":"010bc3f8","46963":"6c7ee372","47545":"54fc9003","47778":"c42129df","48077":"a7ce7ac8","48289":"7eff4fa2","48431":"e7d77044","48689":"669d50fc","49205":"407acbe0","49366":"7cc99c26","49716":"6262a6c5","49890":"d0eacead","50681":"1ebd54c2","50869":"ac522765","51220":"a7fc3745","51276":"f4e245c8","51461":"027220ba","51582":"b6b191b3","51810":"56daaa5c","51855":"cc1cfd90","52338":"a4b22c65","52404":"33f1535b","52806":"46544a93","52829":"ba2d006c","52875":"38b80280","53247":"d304dcdf","53910":"16377f7d","54056":"c6bf2fd7","54164":"a24b39bb","54492":"572c41a6","54572":"837c0d85","54770":"4f0b7611","54862":"1c7f111e","55573":"553b2a5f","55624":"9ff5c01c","56277":"66ef38f1","57045":"91edf0eb","57560":"f6ecfb14","57614":"3d581ce8","57989":"fbce7a5b","59133":"ca779021","59142":"dfc07674","59649":"8ca431ae","59788":"04ae00c4","60479":"6b40d3ee","60533":"05cea558","60547":"5b46863c","61043":"f46f5f97","61075":"f5bedf98","61311":"5a400cb1","61713":"a69d474a","61727":"18fd9e6e","61880":"ae6aeff5","61902":"e1cfc06c","62548":"0dec05bd","62909":"769004c9","63157":"dcd98364","64144":"f567995d","64217":"c661341d","64496":"6588c747","64520":"df73762f","65111":"1323423c","65148":"9e5ca96a","65191":"60aa784e","65549":"b8dbfccb","65816":"667e4b52","66063":"e410c56b","66243":"c61b1641","66583":"23914f81","66651":"bce0ebb5","66884":"0ed26461","67242":"1fa04ce0","67878":"3ed8539a","68014":"e69adf41","68665":"dbc97a42","68827":"22dc37a4","68882":"40698547","69681":"f60d7b72","69828":"9c858de8","69922":"3edf1be1","69944":"7fc34648","71450":"db20183f","71525":"db793567","71783":"1f453ee1","72409":"7502c44e","72529":"091ddaa6","72539":"ae18acc7","72570":"c9878e43","73183":"29607e76","73220":"d26a7d65","74264":"47118975","74297":"2847dc63","74795":"bae0e60e","75043":"2f49a97e","75357":"7b8e8bf9","75786":"f94efeb7","75816":"31e28a4d","76134":"a8c5abcf","76904":"f52b4911","77248":"644414f9","77460":"2c7ec506","77857":"8ecbef29","78085":"5d84993f","79487":"68c2ee44","79489":"4ba821ab","79590":"2e28f0dd","79921":"c1675eb3","80508":"d844e2f3","80668":"8124d84f","81001":"3a72fc62","81148":"59127781","82339":"afa4b989","82425":"31a6cb95","82443":"6efd6312","83105":"66cc07c8","83141":"1ef375e8","83212":"36284db0","83426":"d0a0e228","83935":"ead21caf","84546":"074517b5","85048":"716e31a3","85111":"11765374","85297":"0ba070a6","85888":"c3bc658b","85891":"7e35408f","86052":"4f91897d","86452":"fbbd097e","86541":"3ad8c38b","86634":"b54fdfa6","86820":"f6a400e6","86913":"0faeca0f","87058":"cc135101","87260":"9d6d2bc8","87922":"51e1fc96","88093":"679292f1","88155":"61471ea0","88501":"a6cb6347","88517":"6006abba","88866":"bf0b5663","89053":"953e6193","89076":"81d54d97","89113":"f0b0233a","89677":"08bd41b4","89785":"33f1535b","90109":"e9f49c49","90265":"c22852ec","90337":"985699ec","91045":"4494ee76","91470":"ac24897f","91831":"4c2f0689","92045":"5c6776f3","92501":"786483e9","92823":"7537fdc8","92932":"572d90de","92983":"4454c848","93260":"69546d4c","93282":"884ad9a2","93496":"1dd81539","93665":"aca96b0f","93668":"fd5d8105","94078":"9596ad1e","94498":"71d6e111","94662":"99189257","94715":"4691fa89","94849":"77447530","95125":"1612c362","95176":"c5fd0e82","95335":"36e3645b","96163":"13338731","96444":"38dbf0e3","96882":"737b2c29","97008":"2b12d35a","97046":"5497b697","97838":"d68875d1","98062":"602f7c64","98398":"f87b6735","98662":"fe14c25d","98688":"bad76dc8","98885":"c9768003","98936":"58a2ba2d","99674":"a1625fbb","99758":"afb789c9"}[chunkId] + ".chunk.css"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1201":"p__Counselling__ExpertList__Info__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__index","2224":"p__Knowbase__HomePage__index","2416":"p__Counselling__ExpertList__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","2948":"p__Materials__ItemAssets__Info__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5427":"p__User__Detail__Devicegroup__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6613":"p__Laboratory__LaboratoryCenter__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7202":"p__Materials__Entry__index","7520":"p__Laboratory__OpenReservation__OpenReservationStatistics__index","7729":"p__Materials__ItemAssets__AddReceiveScene__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9134":"p__Materials__ItemAssetsList__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10902":"p__Counselling__MyConsultation__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11020":"p__Counselling__DutySetting__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__index","11174":"p__Shixuns__Detail__ExperimentDetail__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14666":"p__Homepage__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16074":"p__MagazineVer__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","18682":"p__Wisdom__index","19116":"p__Materials__ItemAssets__AddProcure__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21433":"p__Equipment__Information__InfoList__ReservationInfo__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22561":"p__Materials__Receive__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","24904":"p__Equipment__MessageCenterManage__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25807":"p__Materials__MyProcure__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26429":"p__MagazineVer__Index__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","27416":"p__Equipment__Index__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28637":"p__Knowbase__Detail__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29304":"p__NewHomeEntranceClassify__index","29647":"p__Question__Index__index","29942":"p__Equipment__Information__InfoList__Edit__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31078":"p__Laboratory__LaboratoryType__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31316":"p__Equipment__Information__InfoList__Details__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","33897":"p__Information__EditPage__index","34044":"p__Counselling__ExpertManage__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35380":"p__Laboratory__Index__index","35729":"p__Help__Index","35977":"p__Laboratory__MyLaboratory__Info__rooms__createRoom__index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39094":"p__Magazine__AddOrEdit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","39820":"p__Laboratory__LaboratoryRoom__createRoom__index","39859":"p__Materials__ItemAssets__InfoCode__index","40139":"p__Materials__ItemAssets__index","40559":"layouts__virtualDetail__index","40665":"p__Materials__Index__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42159":"p__Equipment__Information__index","42240":"p__User__Detail__Videos__Upload__index","43212":"p__Laboratory__ReservationManage__index","43442":"p__Classrooms__Lists__Board__Add__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45975":"p__Counselling__ExpertList__Detail__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","47778":"p__IOT__DeviceManage__index","48077":"p__Classrooms__Lists__Students__index","48289":"p__Materials__MyReceive__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51220":"p__NewHomeEntrance2__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51810":"p__Laboratory__OpenReservation__OpenReservationDetail__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","57989":"p__Laboratory__MyLaboratory__Info__index","59133":"p__Shixuns__Detail__Challenges__index","59142":"p__Reservation__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61075":"p__IOT__ViewAppointment__index","61311":"p__Equipment__BookingManage__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","61902":"p__Information__HomePage__index","62548":"p__Engineering__Norm__Detail__index","62909":"p__NewHomeEntrance1__index","63157":"p__User__Detail__ExperImentImg__Add__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66243":"p__Broadcast__Detail__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","66884":"p__Counselling__Index__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69681":"p__User__Detail__Devicegroup__Add__index","69828":"p__Equipment__Faultlibrary__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71525":"p__User__Detail__Devicegroup__ReservationInfo__index","71783":"p__virtualSpaces__Lists__Experiment__index","72409":"p__Materials__Procure__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74297":"p__Laboratory__LaboratoryRoom__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76134":"p__Equipment__Maintenance__Details__index","76904":"p__MoopCases__FormPanel__index","77248":"p__Materials__ItemAssetsList__CreateItemAssets__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","79487":"p__Laboratory__OpenReservation__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","80668":"p__MagazineVer__Mine__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83105":"p__Laboratory__RuleManage__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83426":"p__NewHomeEntrance__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88093":"p__Equipment__Maintenance__index","88155":"p__Shixuns__Overview__index","88501":"p__ReservationDetail__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89053":"p__IOT__ElectronBPManage__index","89076":"p__Account__Binding__index","89113":"p__Equipment__Devicelabel__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92932":"p__User__Detail__Devicegroup__Edit__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","96163":"p__Laboratory__Reservations__Info__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","97838":"p__Equipment__Working__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98662":"p__Materials__ItemAssetsType__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","98936":"p__Laboratory__MyLaboratory__index","99674":"p__Shixuns__New__ImagePreview__index","99758":"p__Laboratory__Reservations__index"}[chunkId] || chunkId) + "." + {"292":"2fc9d36f","310":"48a66809","556":"197ea3fe","1201":"8a4c4c23","1482":"68f87dce","1702":"249982a3","2001":"6b5772d0","2224":"a43f7fdd","2416":"bdddab42","2659":"3ec1305c","2819":"5dea982d","2948":"18bcbdfa","3317":"33ad2161","3391":"6f2de0be","3451":"10d0f656","3509":"0b149eb3","3585":"908445dd","3951":"fa58876e","4736":"1d20c139","4766":"c060f747","4884":"c58c7f4a","4973":"4b51a7ff","5427":"811b67c1","5572":"423f0d1b","6127":"4db4fc21","6613":"451daf61","6685":"6446acb6","6758":"a8a7a89e","6788":"a4d95246","7043":"dff58f19","7202":"e1395e83","7433":"6b1e43be","7520":"a50bf6ae","7729":"73dda5b5","7852":"685c55f0","7884":"a7c196e8","8787":"5e29d918","8999":"8ea8749e","9134":"da7a36b0","9416":"ca986c30","10195":"d12407fe","10485":"7d912cf3","10737":"56d64f5f","10799":"74a51d79","10902":"f981197e","10921":"acd2f877","11020":"413e4004","11070":"ae8ca5d1","11130":"47059d4c","11174":"6b1e43be","11253":"d53a011f","11512":"6f840254","11520":"49b889a2","11545":"5b16d3f9","11581":"259b3bed","12076":"5eecefde","12102":"86c50589","12303":"767f2978","12412":"8c4a300a","12476":"c4ec847a","12865":"3a80128b","12884":"f270ec7f","13006":"514a53a6","13355":"37e763d4","13581":"4985be56","14058":"a9e2c684","14105":"4a56d935","14227":"73407df6","14514":"1a198c50","14599":"b4af9641","14610":"56e3ac93","14662":"2bc7ddd9","14666":"26fee81b","14889":"e3a10643","15148":"02d710db","15186":"db0446a1","15319":"4f0b7611","15402":"585fd341","16074":"2446f1af","16328":"6a61d696","16434":"10c56128","16729":"318e5ead","16845":"89cae7ae","17482":"039996ca","17527":"1b8046f1","17622":"7bdfcf04","17806":"fa5e1661","18241":"09fefa07","18302":"9cb168aa","18307":"f5ef90c5","18682":"008bd6e9","19116":"64479ed5","19215":"3e11e259","19360":"aaed4d00","19519":"7535241c","19715":"7dd0cad8","19891":"829e6942","20026":"ef24dde4","20576":"300e7ff0","20680":"ae8ca5d1","20700":"6577df42","21265":"61683d2d","21423":"4c735566","21433":"d0914788","21578":"6577cb76","21939":"d8ba6247","22254":"ee05ac2a","22307":"00334314","22561":"d88f5ea6","22707":"61c325a9","23332":"ade4ef8b","24504":"eca7864c","24904":"07368ce3","25022":"9a5c44f3","25470":"15154c33","25705":"44837054","25807":"5d3c370e","25972":"a1137a1e","26366":"46efeb95","26429":"d0e97c70","26685":"abec7f2d","26741":"066fe403","26883":"3da560dd","27178":"3d8eaa7e","27182":"ac24897f","27395":"ea4d261b","27416":"d8829cbd","28072":"37df87cf","28237":"02c5ff7a","28435":"40d524bb","28637":"c59eeb30","28723":"2737f813","28782":"57994190","28982":"8b23d6dc","29304":"45403049","29647":"31e86a8b","29942":"433b68cb","30067":"6898d866","30264":"83a67eeb","30342":"e90b107c","31006":"a8f04fa6","31078":"34a7e217","31211":"b35e1a29","31316":"49054529","31427":"a51f0084","31674":"bd6b084e","31962":"6c7ee372","33356":"0bedec1c","33747":"af296a74","33784":"6e02a8b1","33897":"859c7935","34044":"afeb6366","34093":"09c84a2a","34601":"2b7b3431","34741":"b69bb827","34800":"868c2abb","34893":"f291b0d3","34994":"eb73d79d","35238":"a2997adf","35380":"c5c9800c","35729":"cd492ffb","35977":"85eb8f42","36029":"679e625f","36270":"30f68bfe","36784":"8b606f0b","37062":"add0a09d","37948":"1d93fc01","38143":"3d85f316","38447":"f2ac1714","38634":"572cd151","38797":"d69c874c","39094":"35fcd028","39332":"b375ecd7","39391":"c5094b04","39404":"5d67dee1","39695":"71afe033","39820":"ebb059e2","39859":"e3c5df17","40139":"775175b5","40559":"a5b51744","40665":"0b5c7697","41048":"0b270791","41657":"5addd738","41717":"837153ef","41953":"bc54870d","42159":"da22935f","42240":"4dad9518","43212":"462b6583","43442":"89dbac6b","44259":"275fea24","44449":"a09375ee","45096":"3795e3aa","45179":"e5fe6e6a","45359":"ec55dfb6","45650":"fa55250c","45775":"857940b9","45825":"cd5c0d8b","45975":"ccefa430","45992":"7ce2b7ad","46796":"010bc3f8","46963":"6c7ee372","47545":"54fc9003","47778":"c42129df","48077":"a7ce7ac8","48289":"7eff4fa2","48431":"e7d77044","48689":"669d50fc","49205":"407acbe0","49366":"7cc99c26","49716":"6262a6c5","49890":"d0eacead","50681":"1ebd54c2","50869":"ac522765","51220":"a7fc3745","51276":"f4e245c8","51461":"027220ba","51582":"b6b191b3","51810":"56daaa5c","51855":"cc1cfd90","52338":"a4b22c65","52404":"33f1535b","52806":"46544a93","52829":"ba2d006c","52875":"38b80280","53247":"d304dcdf","53910":"16377f7d","54056":"c6bf2fd7","54164":"42c33303","54492":"572c41a6","54572":"837c0d85","54770":"4f0b7611","54862":"1c7f111e","55573":"553b2a5f","55624":"9ff5c01c","56277":"66ef38f1","57045":"91edf0eb","57560":"f6ecfb14","57614":"3d581ce8","57989":"fbce7a5b","59133":"ca779021","59142":"dfc07674","59649":"8ca431ae","59788":"04ae00c4","60479":"6b40d3ee","60533":"05cea558","60547":"5b46863c","61043":"f46f5f97","61075":"f5bedf98","61311":"5a400cb1","61713":"a69d474a","61727":"18fd9e6e","61880":"ae6aeff5","61902":"e1cfc06c","62548":"0dec05bd","62909":"769004c9","63157":"dcd98364","64144":"f567995d","64217":"c661341d","64496":"6588c747","64520":"df73762f","65111":"1323423c","65148":"9e5ca96a","65191":"60aa784e","65549":"b8dbfccb","65816":"667e4b52","66063":"e410c56b","66243":"c61b1641","66583":"23914f81","66651":"bce0ebb5","66884":"0ed26461","67242":"1fa04ce0","67878":"3ed8539a","68014":"e69adf41","68665":"dbc97a42","68827":"22dc37a4","68882":"40698547","69681":"f60d7b72","69828":"9c858de8","69922":"3edf1be1","69944":"7fc34648","71450":"db20183f","71525":"db793567","71783":"1f453ee1","72409":"7502c44e","72529":"091ddaa6","72539":"ae18acc7","72570":"c9878e43","73183":"29607e76","73220":"d26a7d65","74264":"47118975","74297":"2847dc63","74795":"bae0e60e","75043":"2f49a97e","75357":"7b8e8bf9","75786":"f94efeb7","75816":"15bade6c","76134":"a8c5abcf","76904":"f52b4911","77248":"644414f9","77460":"2c7ec506","77857":"8ecbef29","78085":"5d84993f","79487":"68c2ee44","79489":"4ba821ab","79590":"2e28f0dd","79921":"c1675eb3","80508":"d844e2f3","80668":"8124d84f","81001":"3a72fc62","81148":"59127781","82339":"afa4b989","82425":"31a6cb95","82443":"6efd6312","83105":"66cc07c8","83141":"1ef375e8","83212":"36284db0","83426":"d0a0e228","83935":"ead21caf","84546":"074517b5","85048":"716e31a3","85111":"11765374","85297":"0ba070a6","85888":"c3bc658b","85891":"7e35408f","86052":"4f91897d","86452":"fbbd097e","86541":"3ad8c38b","86634":"b54fdfa6","86820":"f6a400e6","86913":"0faeca0f","87058":"cc135101","87260":"9d6d2bc8","87922":"51e1fc96","88093":"679292f1","88155":"61471ea0","88501":"a6cb6347","88517":"6006abba","88866":"bf0b5663","89053":"953e6193","89076":"81d54d97","89113":"f0b0233a","89677":"08bd41b4","89785":"33f1535b","90109":"e9f49c49","90265":"c22852ec","90337":"e18f8c6e","91045":"4494ee76","91470":"ac24897f","91831":"4c2f0689","92045":"5c6776f3","92501":"786483e9","92823":"7537fdc8","92932":"572d90de","92983":"4454c848","93260":"8ab0d1ea","93282":"884ad9a2","93496":"1dd81539","93665":"aca96b0f","93668":"fd5d8105","94078":"9596ad1e","94498":"71d6e111","94662":"99189257","94715":"4691fa89","94849":"77447530","95125":"1612c362","95176":"c5fd0e82","95335":"36e3645b","96163":"13338731","96444":"38dbf0e3","96882":"737b2c29","97008":"2b12d35a","97046":"5497b697","97838":"d68875d1","98062":"602f7c64","98398":"f87b6735","98662":"fe14c25d","98688":"bad76dc8","98885":"c9768003","98936":"58a2ba2d","99674":"a1625fbb","99758":"afb789c9"}[chunkId] + ".chunk.css"; /******/ }; /******/ }(); /******/ @@ -210766,19 +210766,19 @@ function _getRoutes() { return Promise.all(/*! import() | p__Paperlibrary__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(99313), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(41165), __webpack_require__.e(97120), __webpack_require__.e(14230), __webpack_require__.e(54862)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/index.tsx */ 20449)); }), '5': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(39547), __webpack_require__.e(44585), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 89820)); + return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(2805), __webpack_require__.e(44585), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 89820)); }), '6': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(39547), __webpack_require__.e(44585), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 89820)); + return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(2805), __webpack_require__.e(44585), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 89820)); }), '7': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(19208), __webpack_require__.e(65022), __webpack_require__.e(86129), __webpack_require__.e(88699), __webpack_require__.e(15959), __webpack_require__.e(41165), __webpack_require__.e(97120), __webpack_require__.e(14230), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 40758)); }), '8': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); }), '9': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(43370), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 30284)); + return Promise.all(/*! import() | p__Paperlibrary__Random__ExchangeFromProblemSet__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(43370), __webpack_require__.e(11545)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/ExchangeFromProblemSet/index.tsx */ 30284)); }), '10': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(42994), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(59627), __webpack_require__.e(3936), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 66375)); @@ -210874,10 +210874,10 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(88897), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 14365)); }), '41': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(251), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(34426), __webpack_require__.e(53123), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(28019), __webpack_require__.e(44585), __webpack_require__.e(23980), __webpack_require__.e(35881), __webpack_require__.e(82861), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 20789)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(251), __webpack_require__.e(76411), __webpack_require__.e(42441), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(34426), __webpack_require__.e(58676), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(28019), __webpack_require__.e(44585), __webpack_require__.e(35881), __webpack_require__.e(82861), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 20789)); }), '42': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); }), '43': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(56156), __webpack_require__.e(79817), __webpack_require__.e(34893), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(50250), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 61857)); @@ -210889,16 +210889,16 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Notice__index */[__webpack_require__.e(69127), __webpack_require__.e(17482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Notice/index.tsx */ 36859)); }), '46': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(52720), __webpack_require__.e(20459), __webpack_require__.e(44585), __webpack_require__.e(23980), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 21464)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(44585), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 21464)); }), '47': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(31222), __webpack_require__.e(34893), __webpack_require__.e(81001), __webpack_require__.e(44585), __webpack_require__.e(23980), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 99023)); + return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(23401), __webpack_require__.e(34893), __webpack_require__.e(81001), __webpack_require__.e(86618), __webpack_require__.e(44585), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 99023)); }), '48': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(251), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(44585), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 16146)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(251), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(44585), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 16146)); }), '49': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(251), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(44585), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 16146)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(251), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(44585), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 16146)); }), '50': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(88897), __webpack_require__.e(79817), __webpack_require__.e(52011), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 4801)); @@ -211009,10 +211009,10 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__Engineering__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(73755), __webpack_require__.e(46963)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Engineering/Detail/index.tsx */ 2145)); }), '86': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); }), '87': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); }), '88': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Ranking__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(15959), __webpack_require__.e(39484), __webpack_require__.e(6127)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Ranking/index.tsx */ 1588)); @@ -211027,7 +211027,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Comment__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(19208), __webpack_require__.e(65022), __webpack_require__.e(86129), __webpack_require__.e(12884)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Comment/index.tsx */ 23979)); }), '92': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(19871), __webpack_require__.e(99313), __webpack_require__.e(45504), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 837)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(19871), __webpack_require__.e(99313), __webpack_require__.e(52720), __webpack_require__.e(54770)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/index.tsx */ 837)); }), '93': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(61104), __webpack_require__.e(34893), __webpack_require__.e(92603)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Add/index.tsx */ 69726)); @@ -211036,7 +211036,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(94144), __webpack_require__.e(34893), __webpack_require__.e(44216)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Edit/index.tsx */ 43315)); }), '95': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(45504), __webpack_require__.e(40115), __webpack_require__.e(34893), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 40706)); + return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(52720), __webpack_require__.e(40115), __webpack_require__.e(34893), __webpack_require__.e(15319)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/answer/Detail/index.tsx */ 40706)); }), '96': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | layouts__ShixunDetail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(99313), __webpack_require__.e(78018), __webpack_require__.e(38359), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(59627), __webpack_require__.e(58881), __webpack_require__.e(93282)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/ShixunDetail/index.tsx */ 20276)); @@ -211255,13 +211255,13 @@ function _getRoutes() { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(42994), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(59627), __webpack_require__.e(3936), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 66375)); }), '168': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); }), '169': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(31222), __webpack_require__.e(34893), __webpack_require__.e(44585), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 60655)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(23401), __webpack_require__.e(34893), __webpack_require__.e(86618), __webpack_require__.e(44585), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 60655)); }), '170': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(31222), __webpack_require__.e(34893), __webpack_require__.e(44585), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 60655)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(23401), __webpack_require__.e(34893), __webpack_require__.e(86618), __webpack_require__.e(44585), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 60655)); }), '171': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(88897), __webpack_require__.e(78018), __webpack_require__.e(88699), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 74202)); @@ -211270,7 +211270,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Problemset__Preview__New__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(78782), __webpack_require__.e(88897), __webpack_require__.e(19842), __webpack_require__.e(64144)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/New/index.tsx */ 49776)); }), '173': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(52720), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); + return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(9755), __webpack_require__.e(68998), __webpack_require__.e(34893), __webpack_require__.e(59627), __webpack_require__.e(15959), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 3581)); }), '174': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(42994), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(49910), __webpack_require__.e(59627), __webpack_require__.e(3936), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 66375)); @@ -212293,10 +212293,10 @@ function _getRoutes() { return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 94791)); }), '514': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(52720), __webpack_require__.e(20459), __webpack_require__.e(44585), __webpack_require__.e(23980), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 21464)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(44585), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 21464)); }), '515': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(31222), __webpack_require__.e(52720), __webpack_require__.e(20459), __webpack_require__.e(44585), __webpack_require__.e(23980), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 21464)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(93948), __webpack_require__.e(88897), __webpack_require__.e(71409), __webpack_require__.e(9163), __webpack_require__.e(2360), __webpack_require__.e(25727), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(36381), __webpack_require__.e(56156), __webpack_require__.e(78018), __webpack_require__.e(23401), __webpack_require__.e(44585), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 21464)); }), '516': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(46573), __webpack_require__.e(69362), __webpack_require__.e(43642), __webpack_require__.e(50030), __webpack_require__.e(24665), __webpack_require__.e(22011), __webpack_require__.e(51586), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(19871), __webpack_require__.e(78782), __webpack_require__.e(52635), __webpack_require__.e(69033), __webpack_require__.e(36546), __webpack_require__.e(69127), __webpack_require__.e(88897), __webpack_require__.e(99313), __webpack_require__.e(41165), __webpack_require__.e(14230), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 48508));