diff --git a/24612.7795abd4.async.js b/24612.3346274a.async.js similarity index 99% rename from 24612.7795abd4.async.js rename to 24612.3346274a.async.js index 9c79fd204a..3ec92d02c0 100644 --- a/24612.7795abd4.async.js +++ b/24612.3346274a.async.js @@ -769,8 +769,8 @@ var context = __webpack_require__(36355); var useLocale = __webpack_require__(9763); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js var dist_module = __webpack_require__(64993); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/empty.js "use client"; diff --git a/24665.1dbac6be.async.js b/24665.244617b8.async.js similarity index 99% rename from 24665.1dbac6be.async.js rename to 24665.244617b8.async.js index af1d075b6b..1858472852 100644 --- a/24665.1dbac6be.async.js +++ b/24665.244617b8.async.js @@ -161,8 +161,8 @@ var context = __webpack_require__(36355); var useLocale = __webpack_require__(9763); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js var dist_module = __webpack_require__(64993); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/empty.js "use client"; diff --git a/32029.c45f2375.async.js b/32029.fc69a676.async.js similarity index 99% rename from 32029.c45f2375.async.js rename to 32029.fc69a676.async.js index 39de8ee0ad..2eb7c01fa5 100644 --- a/32029.c45f2375.async.js +++ b/32029.fc69a676.async.js @@ -230,8 +230,8 @@ var context = __webpack_require__(36355); var useLocale = __webpack_require__(9763); // EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js var dist_module = __webpack_require__(64993); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/empty.js "use client"; diff --git a/32507.cf5cca8e.async.js b/32507.cb3034fa.async.js similarity index 99% rename from 32507.cf5cca8e.async.js rename to 32507.cb3034fa.async.js index 616617e2fe..ecc0e1983e 100644 --- a/32507.cf5cca8e.async.js +++ b/32507.cb3034fa.async.js @@ -275,7 +275,7 @@ function _for_option_query() { 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 _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: - return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/".concat(39131, "/departments/for_option.json"), { + return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/".concat(1, "/departments/for_option.json"), { method: 'get', params: params })); diff --git a/4318.f983708e.async.js b/4318.7eab727b.async.js similarity index 99% rename from 4318.f983708e.async.js rename to 4318.7eab727b.async.js index 817a720bb8..64e2af97be 100644 --- a/4318.f983708e.async.js +++ b/4318.7eab727b.async.js @@ -2173,8 +2173,8 @@ var Tour = function Tour(props) { var _util_placements = __webpack_require__(79676); // 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/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/CloseOutlined.js + 1 modules var CloseOutlined = __webpack_require__(53043); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js diff --git a/51945.761eef2b.async.js b/51945.f154334b.async.js similarity index 99% rename from 51945.761eef2b.async.js rename to 51945.f154334b.async.js index 89020dd72f..46ce2cff76 100644 --- a/51945.761eef2b.async.js +++ b/51945.f154334b.async.js @@ -3951,8 +3951,8 @@ var en_US = __webpack_require__(31724); var es_pagination = __webpack_require__(86859); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules var spin = __webpack_require__(71418); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/table/ExpandIcon.js "use client"; diff --git a/71448.642cc6ee.async.js b/71448.9c057da4.async.js similarity index 99% rename from 71448.642cc6ee.async.js rename to 71448.9c057da4.async.js index bfd6dcaa57..19443a0c97 100644 --- a/71448.642cc6ee.async.js +++ b/71448.9c057da4.async.js @@ -966,7 +966,7 @@ var languageConfigurationRegistry = __webpack_require__(73468); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/indentation/indentUtils.js var indentUtils = __webpack_require__(44765); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js -var quickInput = __webpack_require__(96148); +var quickInput = __webpack_require__(83079); ;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/indentation/indentation.js /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/78030.5dd111a9.async.js b/78030.59c12e5e.async.js similarity index 99% rename from 78030.5dd111a9.async.js rename to 78030.59c12e5e.async.js index e7f16883c6..227b15544a 100644 --- a/78030.5dd111a9.async.js +++ b/78030.59c12e5e.async.js @@ -138,7 +138,7 @@ if (false) {} /***/ }), -/***/ 34362: +/***/ 76933: /*!********************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/FilterOutlined.js + 1 modules ***! \********************************************************************************************************/ diff --git a/91857.b5b0cd84.async.js b/91857.7701d050.async.js similarity index 99% rename from 91857.b5b0cd84.async.js rename to 91857.7701d050.async.js index 676585210e..a34e87fd3c 100644 --- a/91857.b5b0cd84.async.js +++ b/91857.7701d050.async.js @@ -21,7 +21,7 @@ /* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 36355); /* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../menu */ 20834); /* harmony import */ var _menu_OverrideContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../menu/OverrideContext */ 40875); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../theme/internal */ 88088); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../theme/internal */ 70305); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./style */ 47211); "use client"; diff --git a/96148.8fb24fa6.async.js b/96148.8fb24fa6.async.js new file mode 100644 index 0000000000..89c86e3b4a --- /dev/null +++ b/96148.8fb24fa6.async.js @@ -0,0 +1,9364 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[96148],{ + +/***/ 96148: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/layouts/ModalForm/index.js + 163 modules ***! + \********************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Y: function() { return /* binding */ ModalForm; } +}); + +// NAMESPACE OBJECT: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/useStyle/token.js +var token_namespaceObject = {}; +__webpack_require__.r(token_namespaceObject); +__webpack_require__.d(token_namespaceObject, { + defaultToken: function() { return defaultToken; }, + emptyTheme: function() { return emptyTheme; }, + hashCode: function() { return hashCode; }, + token: function() { return token; }, + useToken: function() { return token_useToken; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(14870); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(63734); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(11625); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(43941); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(62579); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/version/index.js + 1 modules +var version = __webpack_require__(8680); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/omitUndefined/index.js +var omitUndefined = function omitUndefined(obj) { + var newObj = {}; + Object.keys(obj || {}).forEach(function (key) { + if (obj[key] !== undefined) { + newObj[key] = obj[key]; + } + }); + if (Object.keys(newObj).length < 1) { + return undefined; + } + return newObj; +}; +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(49888); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/compareVersions/index.js + + +var semver = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i; + +/** + * @param {string} s + */ +var isWildcard = function isWildcard(s) { + return s === '*' || s === 'x' || s === 'X'; +}; +/** + * @param {string} v + */ +var tryParse = function tryParse(v) { + var n = parseInt(v, 10); + return isNaN(n) ? v : n; +}; +/** + * @param {string|number} a + * @param {string|number} b + */ +var forceType = function forceType(a, b) { + return (0,esm_typeof/* default */.Z)(a) !== (0,esm_typeof/* default */.Z)(b) ? [String(a), String(b)] : [a, b]; +}; + +/** + * @param {string} a + * @param {string} b + * @returns number + */ +var compareStrings = function compareStrings(a, b) { + if (isWildcard(a) || isWildcard(b)) return 0; + var _forceType = forceType(tryParse(a), tryParse(b)), + _forceType2 = (0,slicedToArray/* default */.Z)(_forceType, 2), + ap = _forceType2[0], + bp = _forceType2[1]; + if (ap > bp) return 1; + if (ap < bp) return -1; + return 0; +}; +/** + * @param {string|RegExpMatchArray} a + * @param {string|RegExpMatchArray} b + * @returns number + */ +var compareSegments = function compareSegments(a, b) { + for (var i = 0; i < Math.max(a.length, b.length); i++) { + var r = compareStrings(a[i] || '0', b[i] || '0'); + if (r !== 0) return r; + } + return 0; +}; +/** + * @param {string} version + * @returns RegExpMatchArray + */ +var validateAndParse = function validateAndParse(version) { + var _match$shift; + var match = version.match(semver); + match === null || match === void 0 || (_match$shift = match.shift) === null || _match$shift === void 0 || _match$shift.call(match); + return match; +}; + +/** + * Compare [semver](https://semver.org/) version strings to find greater, equal or lesser. + * This library supports the full semver specification, including comparing versions with different number of digits like `1.0.0`, `1.0`, `1`, and pre-release versions like `1.0.0-alpha`. + * @param v1 - First version to compare + * @param v2 - Second version to compare + * @returns Numeric value compatible with the [Array.sort(fn) interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters). + */ +var compareVersions = function compareVersions(v1, v2) { + // validate input and split into segments + var n1 = validateAndParse(v1); + var n2 = validateAndParse(v2); + + // pop off the patch + var p1 = n1.pop(); + var p2 = n2.pop(); + + // validate numbers + var r = compareSegments(n1, n2); + if (r !== 0) return r; + if (p1 || p2) { + return p1 ? -1 : 1; + } + return 0; +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/compareVersions/openVisibleCompatible.js +/* provided dependency */ var process = __webpack_require__(/*! ./node_modules/_process@0.11.10@process/browser.js */ 97671); + + + +var getVersion = function getVersion() { + var _process; + if (typeof process === 'undefined') return version/* default */.Z; + return ((_process = process) === null || process === void 0 || (process = ({"NODE_ENV":"production","PUBLIC_PATH":"/react/build/"})) === null || process === void 0 ? void 0 : process.ANTD_VERSION) || version/* default */.Z; +}; +var openVisibleCompatible = function openVisibleCompatible(open, onOpenChange) { + var props = compareVersions(getVersion(), '4.23.0') > -1 ? { + open: open, + onOpenChange: onOpenChange + } : { + visible: open, + onVisibleChange: onOpenChange + }; + return omitUndefined(props); +}; + +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/index.js + 5 modules +var config_provider = __webpack_require__(92736); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules +var modal = __webpack_require__(43418); +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheClear.js +/** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ +function listCacheClear() { + this.__data__ = []; + this.size = 0; +} + +/* harmony default export */ var _listCacheClear = (listCacheClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/eq.js +/** + * Performs a + * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * comparison between two values to determine if they are equivalent. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if the values are equivalent, else `false`. + * @example + * + * var object = { 'a': 1 }; + * var other = { 'a': 1 }; + * + * _.eq(object, object); + * // => true + * + * _.eq(object, other); + * // => false + * + * _.eq('a', 'a'); + * // => true + * + * _.eq('a', Object('a')); + * // => false + * + * _.eq(NaN, NaN); + * // => true + */ +function eq(value, other) { + return value === other || (value !== value && other !== other); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_eq = (eq); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assocIndexOf.js + + +/** + * Gets the index at which the `key` is found in `array` of key-value pairs. + * + * @private + * @param {Array} array The array to inspect. + * @param {*} key The key to search for. + * @returns {number} Returns the index of the matched value, else `-1`. + */ +function assocIndexOf(array, key) { + var length = array.length; + while (length--) { + if (_lodash_es_4_17_21_lodash_es_eq(array[length][0], key)) { + return length; + } + } + return -1; +} + +/* harmony default export */ var _assocIndexOf = (assocIndexOf); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheDelete.js + + +/** Used for built-in method references. */ +var arrayProto = Array.prototype; + +/** Built-in value references. */ +var splice = arrayProto.splice; + +/** + * Removes `key` and its value from the list cache. + * + * @private + * @name delete + * @memberOf ListCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function listCacheDelete(key) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + if (index < 0) { + return false; + } + var lastIndex = data.length - 1; + if (index == lastIndex) { + data.pop(); + } else { + splice.call(data, index, 1); + } + --this.size; + return true; +} + +/* harmony default export */ var _listCacheDelete = (listCacheDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheGet.js + + +/** + * Gets the list cache value for `key`. + * + * @private + * @name get + * @memberOf ListCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function listCacheGet(key) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + return index < 0 ? undefined : data[index][1]; +} + +/* harmony default export */ var _listCacheGet = (listCacheGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheHas.js + + +/** + * Checks if a list cache value for `key` exists. + * + * @private + * @name has + * @memberOf ListCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function listCacheHas(key) { + return _assocIndexOf(this.__data__, key) > -1; +} + +/* harmony default export */ var _listCacheHas = (listCacheHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_listCacheSet.js + + +/** + * Sets the list cache `key` to `value`. + * + * @private + * @name set + * @memberOf ListCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the list cache instance. + */ +function listCacheSet(key, value) { + var data = this.__data__, + index = _assocIndexOf(data, key); + + if (index < 0) { + ++this.size; + data.push([key, value]); + } else { + data[index][1] = value; + } + return this; +} + +/* harmony default export */ var _listCacheSet = (listCacheSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_ListCache.js + + + + + + +/** + * Creates an list cache object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function ListCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `ListCache`. +ListCache.prototype.clear = _listCacheClear; +ListCache.prototype['delete'] = _listCacheDelete; +ListCache.prototype.get = _listCacheGet; +ListCache.prototype.has = _listCacheHas; +ListCache.prototype.set = _listCacheSet; + +/* harmony default export */ var _ListCache = (ListCache); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackClear.js + + +/** + * Removes all key-value entries from the stack. + * + * @private + * @name clear + * @memberOf Stack + */ +function stackClear() { + this.__data__ = new _ListCache; + this.size = 0; +} + +/* harmony default export */ var _stackClear = (stackClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackDelete.js +/** + * Removes `key` and its value from the stack. + * + * @private + * @name delete + * @memberOf Stack + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function stackDelete(key) { + var data = this.__data__, + result = data['delete'](key); + + this.size = data.size; + return result; +} + +/* harmony default export */ var _stackDelete = (stackDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackGet.js +/** + * Gets the stack value for `key`. + * + * @private + * @name get + * @memberOf Stack + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function stackGet(key) { + return this.__data__.get(key); +} + +/* harmony default export */ var _stackGet = (stackGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackHas.js +/** + * Checks if a stack value for `key` exists. + * + * @private + * @name has + * @memberOf Stack + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function stackHas(key) { + return this.__data__.has(key); +} + +/* harmony default export */ var _stackHas = (stackHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_freeGlobal.js +/** Detect free variable `global` from Node.js. */ +var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + +/* harmony default export */ var _freeGlobal = (freeGlobal); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_root.js + + +/** Detect free variable `self`. */ +var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + +/** Used as a reference to the global object. */ +var root = _freeGlobal || freeSelf || Function('return this')(); + +/* harmony default export */ var _root = (root); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Symbol.js + + +/** Built-in value references. */ +var _Symbol_Symbol = _root.Symbol; + +/* harmony default export */ var _Symbol = (_Symbol_Symbol); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getRawTag.js + + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _getRawTag_hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** Built-in value references. */ +var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; + +/** + * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the raw `toStringTag`. + */ +function getRawTag(value) { + var isOwn = _getRawTag_hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; +} + +/* harmony default export */ var _getRawTag = (getRawTag); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_objectToString.js +/** Used for built-in method references. */ +var _objectToString_objectProto = Object.prototype; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var _objectToString_nativeObjectToString = _objectToString_objectProto.toString; + +/** + * Converts `value` to a string using `Object.prototype.toString`. + * + * @private + * @param {*} value The value to convert. + * @returns {string} Returns the converted string. + */ +function objectToString(value) { + return _objectToString_nativeObjectToString.call(value); +} + +/* harmony default export */ var _objectToString = (objectToString); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseGetTag.js + + + + +/** `Object#toString` result references. */ +var nullTag = '[object Null]', + undefinedTag = '[object Undefined]'; + +/** Built-in value references. */ +var _baseGetTag_symToStringTag = _Symbol ? _Symbol.toStringTag : undefined; + +/** + * The base implementation of `getTag` without fallbacks for buggy environments. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the `toStringTag`. + */ +function baseGetTag(value) { + if (value == null) { + return value === undefined ? undefinedTag : nullTag; + } + return (_baseGetTag_symToStringTag && _baseGetTag_symToStringTag in Object(value)) + ? _getRawTag(value) + : _objectToString(value); +} + +/* harmony default export */ var _baseGetTag = (baseGetTag); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isObject.js +/** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ +function isObject(value) { + var type = typeof value; + return value != null && (type == 'object' || type == 'function'); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isObject = (isObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isFunction.js + + + +/** `Object#toString` result references. */ +var asyncTag = '[object AsyncFunction]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + proxyTag = '[object Proxy]'; + +/** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a function, else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ +function isFunction(value) { + if (!_lodash_es_4_17_21_lodash_es_isObject(value)) { + return false; + } + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 9 which returns 'object' for typed arrays and other constructors. + var tag = _baseGetTag(value); + return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isFunction = (isFunction); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_coreJsData.js + + +/** Used to detect overreaching core-js shims. */ +var coreJsData = _root['__core-js_shared__']; + +/* harmony default export */ var _coreJsData = (coreJsData); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isMasked.js + + +/** Used to detect methods masquerading as native. */ +var maskSrcKey = (function() { + var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || ''); + return uid ? ('Symbol(src)_1.' + uid) : ''; +}()); + +/** + * Checks if `func` has its source masked. + * + * @private + * @param {Function} func The function to check. + * @returns {boolean} Returns `true` if `func` is masked, else `false`. + */ +function isMasked(func) { + return !!maskSrcKey && (maskSrcKey in func); +} + +/* harmony default export */ var _isMasked = (isMasked); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_toSource.js +/** Used for built-in method references. */ +var funcProto = Function.prototype; + +/** Used to resolve the decompiled source of functions. */ +var funcToString = funcProto.toString; + +/** + * Converts `func` to its source code. + * + * @private + * @param {Function} func The function to convert. + * @returns {string} Returns the source code. + */ +function toSource(func) { + if (func != null) { + try { + return funcToString.call(func); + } catch (e) {} + try { + return (func + ''); + } catch (e) {} + } + return ''; +} + +/* harmony default export */ var _toSource = (toSource); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsNative.js + + + + + +/** + * Used to match `RegExp` + * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). + */ +var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + +/** Used to detect host constructors (Safari). */ +var reIsHostCtor = /^\[object .+?Constructor\]$/; + +/** Used for built-in method references. */ +var _baseIsNative_funcProto = Function.prototype, + _baseIsNative_objectProto = Object.prototype; + +/** Used to resolve the decompiled source of functions. */ +var _baseIsNative_funcToString = _baseIsNative_funcProto.toString; + +/** Used to check objects for own properties. */ +var _baseIsNative_hasOwnProperty = _baseIsNative_objectProto.hasOwnProperty; + +/** Used to detect if a method is native. */ +var reIsNative = RegExp('^' + + _baseIsNative_funcToString.call(_baseIsNative_hasOwnProperty).replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' +); + +/** + * The base implementation of `_.isNative` without bad shim checks. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a native function, + * else `false`. + */ +function baseIsNative(value) { + if (!_lodash_es_4_17_21_lodash_es_isObject(value) || _isMasked(value)) { + return false; + } + var pattern = _lodash_es_4_17_21_lodash_es_isFunction(value) ? reIsNative : reIsHostCtor; + return pattern.test(_toSource(value)); +} + +/* harmony default export */ var _baseIsNative = (baseIsNative); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getValue.js +/** + * Gets the value at `key` of `object`. + * + * @private + * @param {Object} [object] The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ +function getValue(object, key) { + return object == null ? undefined : object[key]; +} + +/* harmony default export */ var _getValue = (getValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getNative.js + + + +/** + * Gets the native function at `key` of `object`. + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the method to get. + * @returns {*} Returns the function if it's native, else `undefined`. + */ +function getNative(object, key) { + var value = _getValue(object, key); + return _baseIsNative(value) ? value : undefined; +} + +/* harmony default export */ var _getNative = (getNative); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Map.js + + + +/* Built-in method references that are verified to be native. */ +var _Map_Map = _getNative(_root, 'Map'); + +/* harmony default export */ var _Map = (_Map_Map); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nativeCreate.js + + +/* Built-in method references that are verified to be native. */ +var nativeCreate = _getNative(Object, 'create'); + +/* harmony default export */ var _nativeCreate = (nativeCreate); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashClear.js + + +/** + * Removes all key-value entries from the hash. + * + * @private + * @name clear + * @memberOf Hash + */ +function hashClear() { + this.__data__ = _nativeCreate ? _nativeCreate(null) : {}; + this.size = 0; +} + +/* harmony default export */ var _hashClear = (hashClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashDelete.js +/** + * Removes `key` and its value from the hash. + * + * @private + * @name delete + * @memberOf Hash + * @param {Object} hash The hash to modify. + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function hashDelete(key) { + var result = this.has(key) && delete this.__data__[key]; + this.size -= result ? 1 : 0; + return result; +} + +/* harmony default export */ var _hashDelete = (hashDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashGet.js + + +/** Used to stand-in for `undefined` hash values. */ +var HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** Used for built-in method references. */ +var _hashGet_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _hashGet_hasOwnProperty = _hashGet_objectProto.hasOwnProperty; + +/** + * Gets the hash value for `key`. + * + * @private + * @name get + * @memberOf Hash + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function hashGet(key) { + var data = this.__data__; + if (_nativeCreate) { + var result = data[key]; + return result === HASH_UNDEFINED ? undefined : result; + } + return _hashGet_hasOwnProperty.call(data, key) ? data[key] : undefined; +} + +/* harmony default export */ var _hashGet = (hashGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashHas.js + + +/** Used for built-in method references. */ +var _hashHas_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _hashHas_hasOwnProperty = _hashHas_objectProto.hasOwnProperty; + +/** + * Checks if a hash value for `key` exists. + * + * @private + * @name has + * @memberOf Hash + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function hashHas(key) { + var data = this.__data__; + return _nativeCreate ? (data[key] !== undefined) : _hashHas_hasOwnProperty.call(data, key); +} + +/* harmony default export */ var _hashHas = (hashHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_hashSet.js + + +/** Used to stand-in for `undefined` hash values. */ +var _hashSet_HASH_UNDEFINED = '__lodash_hash_undefined__'; + +/** + * Sets the hash `key` to `value`. + * + * @private + * @name set + * @memberOf Hash + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the hash instance. + */ +function hashSet(key, value) { + var data = this.__data__; + this.size += this.has(key) ? 0 : 1; + data[key] = (_nativeCreate && value === undefined) ? _hashSet_HASH_UNDEFINED : value; + return this; +} + +/* harmony default export */ var _hashSet = (hashSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Hash.js + + + + + + +/** + * Creates a hash object. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Hash(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `Hash`. +Hash.prototype.clear = _hashClear; +Hash.prototype['delete'] = _hashDelete; +Hash.prototype.get = _hashGet; +Hash.prototype.has = _hashHas; +Hash.prototype.set = _hashSet; + +/* harmony default export */ var _Hash = (Hash); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheClear.js + + + + +/** + * Removes all key-value entries from the map. + * + * @private + * @name clear + * @memberOf MapCache + */ +function mapCacheClear() { + this.size = 0; + this.__data__ = { + 'hash': new _Hash, + 'map': new (_Map || _ListCache), + 'string': new _Hash + }; +} + +/* harmony default export */ var _mapCacheClear = (mapCacheClear); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isKeyable.js +/** + * Checks if `value` is suitable for use as unique object key. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is suitable, else `false`. + */ +function isKeyable(value) { + var type = typeof value; + return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') + ? (value !== '__proto__') + : (value === null); +} + +/* harmony default export */ var _isKeyable = (isKeyable); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getMapData.js + + +/** + * Gets the data for `map`. + * + * @private + * @param {Object} map The map to query. + * @param {string} key The reference key. + * @returns {*} Returns the map data. + */ +function getMapData(map, key) { + var data = map.__data__; + return _isKeyable(key) + ? data[typeof key == 'string' ? 'string' : 'hash'] + : data.map; +} + +/* harmony default export */ var _getMapData = (getMapData); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheDelete.js + + +/** + * Removes `key` and its value from the map. + * + * @private + * @name delete + * @memberOf MapCache + * @param {string} key The key of the value to remove. + * @returns {boolean} Returns `true` if the entry was removed, else `false`. + */ +function mapCacheDelete(key) { + var result = _getMapData(this, key)['delete'](key); + this.size -= result ? 1 : 0; + return result; +} + +/* harmony default export */ var _mapCacheDelete = (mapCacheDelete); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheGet.js + + +/** + * Gets the map value for `key`. + * + * @private + * @name get + * @memberOf MapCache + * @param {string} key The key of the value to get. + * @returns {*} Returns the entry value. + */ +function mapCacheGet(key) { + return _getMapData(this, key).get(key); +} + +/* harmony default export */ var _mapCacheGet = (mapCacheGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheHas.js + + +/** + * Checks if a map value for `key` exists. + * + * @private + * @name has + * @memberOf MapCache + * @param {string} key The key of the entry to check. + * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. + */ +function mapCacheHas(key) { + return _getMapData(this, key).has(key); +} + +/* harmony default export */ var _mapCacheHas = (mapCacheHas); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_mapCacheSet.js + + +/** + * Sets the map `key` to `value`. + * + * @private + * @name set + * @memberOf MapCache + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the map cache instance. + */ +function mapCacheSet(key, value) { + var data = _getMapData(this, key), + size = data.size; + + data.set(key, value); + this.size += data.size == size ? 0 : 1; + return this; +} + +/* harmony default export */ var _mapCacheSet = (mapCacheSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_MapCache.js + + + + + + +/** + * Creates a map cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function MapCache(entries) { + var index = -1, + length = entries == null ? 0 : entries.length; + + this.clear(); + while (++index < length) { + var entry = entries[index]; + this.set(entry[0], entry[1]); + } +} + +// Add methods to `MapCache`. +MapCache.prototype.clear = _mapCacheClear; +MapCache.prototype['delete'] = _mapCacheDelete; +MapCache.prototype.get = _mapCacheGet; +MapCache.prototype.has = _mapCacheHas; +MapCache.prototype.set = _mapCacheSet; + +/* harmony default export */ var _MapCache = (MapCache); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_stackSet.js + + + + +/** Used as the size to enable large array optimizations. */ +var LARGE_ARRAY_SIZE = 200; + +/** + * Sets the stack `key` to `value`. + * + * @private + * @name set + * @memberOf Stack + * @param {string} key The key of the value to set. + * @param {*} value The value to set. + * @returns {Object} Returns the stack cache instance. + */ +function stackSet(key, value) { + var data = this.__data__; + if (data instanceof _ListCache) { + var pairs = data.__data__; + if (!_Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { + pairs.push([key, value]); + this.size = ++data.size; + return this; + } + data = this.__data__ = new _MapCache(pairs); + } + data.set(key, value); + this.size = data.size; + return this; +} + +/* harmony default export */ var _stackSet = (stackSet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Stack.js + + + + + + + +/** + * Creates a stack cache object to store key-value pairs. + * + * @private + * @constructor + * @param {Array} [entries] The key-value pairs to cache. + */ +function Stack(entries) { + var data = this.__data__ = new _ListCache(entries); + this.size = data.size; +} + +// Add methods to `Stack`. +Stack.prototype.clear = _stackClear; +Stack.prototype['delete'] = _stackDelete; +Stack.prototype.get = _stackGet; +Stack.prototype.has = _stackHas; +Stack.prototype.set = _stackSet; + +/* harmony default export */ var _Stack = (Stack); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_defineProperty.js + + +var defineProperty = (function() { + try { + var func = _getNative(Object, 'defineProperty'); + func({}, '', {}); + return func; + } catch (e) {} +}()); + +/* harmony default export */ var _defineProperty = (defineProperty); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseAssignValue.js + + +/** + * The base implementation of `assignValue` and `assignMergeValue` without + * value checks. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function baseAssignValue(object, key, value) { + if (key == '__proto__' && _defineProperty) { + _defineProperty(object, key, { + 'configurable': true, + 'enumerable': true, + 'value': value, + 'writable': true + }); + } else { + object[key] = value; + } +} + +/* harmony default export */ var _baseAssignValue = (baseAssignValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assignMergeValue.js + + + +/** + * This function is like `assignValue` except that it doesn't assign + * `undefined` values. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function assignMergeValue(object, key, value) { + if ((value !== undefined && !_lodash_es_4_17_21_lodash_es_eq(object[key], value)) || + (value === undefined && !(key in object))) { + _baseAssignValue(object, key, value); + } +} + +/* harmony default export */ var _assignMergeValue = (assignMergeValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_createBaseFor.js +/** + * Creates a base function for methods like `_.forIn` and `_.forOwn`. + * + * @private + * @param {boolean} [fromRight] Specify iterating from right to left. + * @returns {Function} Returns the new base function. + */ +function createBaseFor(fromRight) { + return function(object, iteratee, keysFunc) { + var index = -1, + iterable = Object(object), + props = keysFunc(object), + length = props.length; + + while (length--) { + var key = props[fromRight ? length : ++index]; + if (iteratee(iterable[key], key, iterable) === false) { + break; + } + } + return object; + }; +} + +/* harmony default export */ var _createBaseFor = (createBaseFor); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseFor.js + + +/** + * The base implementation of `baseForOwn` which iterates over `object` + * properties returned by `keysFunc` and invokes `iteratee` for each property. + * Iteratee functions may exit iteration early by explicitly returning `false`. + * + * @private + * @param {Object} object The object to iterate over. + * @param {Function} iteratee The function invoked per iteration. + * @param {Function} keysFunc The function to get the keys of `object`. + * @returns {Object} Returns `object`. + */ +var baseFor = _createBaseFor(); + +/* harmony default export */ var _baseFor = (baseFor); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneBuffer.js + + +/** Detect free variable `exports`. */ +var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var moduleExports = freeModule && freeModule.exports === freeExports; + +/** Built-in value references. */ +var Buffer = moduleExports ? _root.Buffer : undefined, + allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined; + +/** + * Creates a clone of `buffer`. + * + * @private + * @param {Buffer} buffer The buffer to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Buffer} Returns the cloned buffer. + */ +function cloneBuffer(buffer, isDeep) { + if (isDeep) { + return buffer.slice(); + } + var length = buffer.length, + result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + + buffer.copy(result); + return result; +} + +/* harmony default export */ var _cloneBuffer = (cloneBuffer); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_Uint8Array.js + + +/** Built-in value references. */ +var _Uint8Array_Uint8Array = _root.Uint8Array; + +/* harmony default export */ var _Uint8Array = (_Uint8Array_Uint8Array); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneArrayBuffer.js + + +/** + * Creates a clone of `arrayBuffer`. + * + * @private + * @param {ArrayBuffer} arrayBuffer The array buffer to clone. + * @returns {ArrayBuffer} Returns the cloned array buffer. + */ +function cloneArrayBuffer(arrayBuffer) { + var result = new arrayBuffer.constructor(arrayBuffer.byteLength); + new _Uint8Array(result).set(new _Uint8Array(arrayBuffer)); + return result; +} + +/* harmony default export */ var _cloneArrayBuffer = (cloneArrayBuffer); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_cloneTypedArray.js + + +/** + * Creates a clone of `typedArray`. + * + * @private + * @param {Object} typedArray The typed array to clone. + * @param {boolean} [isDeep] Specify a deep clone. + * @returns {Object} Returns the cloned typed array. + */ +function cloneTypedArray(typedArray, isDeep) { + var buffer = isDeep ? _cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; + return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); +} + +/* harmony default export */ var _cloneTypedArray = (cloneTypedArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_copyArray.js +/** + * Copies the values of `source` to `array`. + * + * @private + * @param {Array} source The array to copy values from. + * @param {Array} [array=[]] The array to copy values to. + * @returns {Array} Returns `array`. + */ +function copyArray(source, array) { + var index = -1, + length = source.length; + + array || (array = Array(length)); + while (++index < length) { + array[index] = source[index]; + } + return array; +} + +/* harmony default export */ var _copyArray = (copyArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseCreate.js + + +/** Built-in value references. */ +var objectCreate = Object.create; + +/** + * The base implementation of `_.create` without support for assigning + * properties to the created object. + * + * @private + * @param {Object} proto The object to inherit from. + * @returns {Object} Returns the new object. + */ +var baseCreate = (function() { + function object() {} + return function(proto) { + if (!_lodash_es_4_17_21_lodash_es_isObject(proto)) { + return {}; + } + if (objectCreate) { + return objectCreate(proto); + } + object.prototype = proto; + var result = new object; + object.prototype = undefined; + return result; + }; +}()); + +/* harmony default export */ var _baseCreate = (baseCreate); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_overArg.js +/** + * Creates a unary function that invokes `func` with its argument transformed. + * + * @private + * @param {Function} func The function to wrap. + * @param {Function} transform The argument transform. + * @returns {Function} Returns the new function. + */ +function overArg(func, transform) { + return function(arg) { + return func(transform(arg)); + }; +} + +/* harmony default export */ var _overArg = (overArg); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_getPrototype.js + + +/** Built-in value references. */ +var getPrototype = _overArg(Object.getPrototypeOf, Object); + +/* harmony default export */ var _getPrototype = (getPrototype); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isPrototype.js +/** Used for built-in method references. */ +var _isPrototype_objectProto = Object.prototype; + +/** + * Checks if `value` is likely a prototype object. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. + */ +function isPrototype(value) { + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || _isPrototype_objectProto; + + return value === proto; +} + +/* harmony default export */ var _isPrototype = (isPrototype); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_initCloneObject.js + + + + +/** + * Initializes an object clone. + * + * @private + * @param {Object} object The object to clone. + * @returns {Object} Returns the initialized clone. + */ +function initCloneObject(object) { + return (typeof object.constructor == 'function' && !_isPrototype(object)) + ? _baseCreate(_getPrototype(object)) + : {}; +} + +/* harmony default export */ var _initCloneObject = (initCloneObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isObjectLike.js +/** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ +function isObjectLike(value) { + return value != null && typeof value == 'object'; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isObjectLike = (isObjectLike); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsArguments.js + + + +/** `Object#toString` result references. */ +var argsTag = '[object Arguments]'; + +/** + * The base implementation of `_.isArguments`. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + */ +function baseIsArguments(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && _baseGetTag(value) == argsTag; +} + +/* harmony default export */ var _baseIsArguments = (baseIsArguments); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArguments.js + + + +/** Used for built-in method references. */ +var isArguments_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var isArguments_hasOwnProperty = isArguments_objectProto.hasOwnProperty; + +/** Built-in value references. */ +var propertyIsEnumerable = isArguments_objectProto.propertyIsEnumerable; + +/** + * Checks if `value` is likely an `arguments` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an `arguments` object, + * else `false`. + * @example + * + * _.isArguments(function() { return arguments; }()); + * // => true + * + * _.isArguments([1, 2, 3]); + * // => false + */ +var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && isArguments_hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee'); +}; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArguments = (isArguments); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArray.js +/** + * Checks if `value` is classified as an `Array` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array, else `false`. + * @example + * + * _.isArray([1, 2, 3]); + * // => true + * + * _.isArray(document.body.children); + * // => false + * + * _.isArray('abc'); + * // => false + * + * _.isArray(_.noop); + * // => false + */ +var isArray = Array.isArray; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArray = (isArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isLength.js +/** Used as references for various `Number` constants. */ +var MAX_SAFE_INTEGER = 9007199254740991; + +/** + * Checks if `value` is a valid array-like length. + * + * **Note:** This method is loosely based on + * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. + * @example + * + * _.isLength(3); + * // => true + * + * _.isLength(Number.MIN_VALUE); + * // => false + * + * _.isLength(Infinity); + * // => false + * + * _.isLength('3'); + * // => false + */ +function isLength(value) { + return typeof value == 'number' && + value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isLength = (isLength); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArrayLike.js + + + +/** + * Checks if `value` is array-like. A value is considered array-like if it's + * not a function and has a `value.length` that's an integer greater than or + * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is array-like, else `false`. + * @example + * + * _.isArrayLike([1, 2, 3]); + * // => true + * + * _.isArrayLike(document.body.children); + * // => true + * + * _.isArrayLike('abc'); + * // => true + * + * _.isArrayLike(_.noop); + * // => false + */ +function isArrayLike(value) { + return value != null && _lodash_es_4_17_21_lodash_es_isLength(value.length) && !_lodash_es_4_17_21_lodash_es_isFunction(value); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArrayLike = (isArrayLike); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isArrayLikeObject.js + + + +/** + * This method is like `_.isArrayLike` except that it also checks if `value` + * is an object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an array-like object, + * else `false`. + * @example + * + * _.isArrayLikeObject([1, 2, 3]); + * // => true + * + * _.isArrayLikeObject(document.body.children); + * // => true + * + * _.isArrayLikeObject('abc'); + * // => false + * + * _.isArrayLikeObject(_.noop); + * // => false + */ +function isArrayLikeObject(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && _lodash_es_4_17_21_lodash_es_isArrayLike(value); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isArrayLikeObject = (isArrayLikeObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/stubFalse.js +/** + * This method returns `false`. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {boolean} Returns `false`. + * @example + * + * _.times(2, _.stubFalse); + * // => [false, false] + */ +function stubFalse() { + return false; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_stubFalse = (stubFalse); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isBuffer.js + + + +/** Detect free variable `exports`. */ +var isBuffer_freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var isBuffer_freeModule = isBuffer_freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var isBuffer_moduleExports = isBuffer_freeModule && isBuffer_freeModule.exports === isBuffer_freeExports; + +/** Built-in value references. */ +var isBuffer_Buffer = isBuffer_moduleExports ? _root.Buffer : undefined; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeIsBuffer = isBuffer_Buffer ? isBuffer_Buffer.isBuffer : undefined; + +/** + * Checks if `value` is a buffer. + * + * @static + * @memberOf _ + * @since 4.3.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. + * @example + * + * _.isBuffer(new Buffer(2)); + * // => true + * + * _.isBuffer(new Uint8Array(2)); + * // => false + */ +var isBuffer = nativeIsBuffer || _lodash_es_4_17_21_lodash_es_stubFalse; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isBuffer = (isBuffer); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isPlainObject.js + + + + +/** `Object#toString` result references. */ +var objectTag = '[object Object]'; + +/** Used for built-in method references. */ +var isPlainObject_funcProto = Function.prototype, + isPlainObject_objectProto = Object.prototype; + +/** Used to resolve the decompiled source of functions. */ +var isPlainObject_funcToString = isPlainObject_funcProto.toString; + +/** Used to check objects for own properties. */ +var isPlainObject_hasOwnProperty = isPlainObject_objectProto.hasOwnProperty; + +/** Used to infer the `Object` constructor. */ +var objectCtorString = isPlainObject_funcToString.call(Object); + +/** + * Checks if `value` is a plain object, that is, an object created by the + * `Object` constructor or one with a `[[Prototype]]` of `null`. + * + * @static + * @memberOf _ + * @since 0.8.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. + * @example + * + * function Foo() { + * this.a = 1; + * } + * + * _.isPlainObject(new Foo); + * // => false + * + * _.isPlainObject([1, 2, 3]); + * // => false + * + * _.isPlainObject({ 'x': 0, 'y': 0 }); + * // => true + * + * _.isPlainObject(Object.create(null)); + * // => true + */ +function isPlainObject(value) { + if (!_lodash_es_4_17_21_lodash_es_isObjectLike(value) || _baseGetTag(value) != objectTag) { + return false; + } + var proto = _getPrototype(value); + if (proto === null) { + return true; + } + var Ctor = isPlainObject_hasOwnProperty.call(proto, 'constructor') && proto.constructor; + return typeof Ctor == 'function' && Ctor instanceof Ctor && + isPlainObject_funcToString.call(Ctor) == objectCtorString; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isPlainObject = (isPlainObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseIsTypedArray.js + + + + +/** `Object#toString` result references. */ +var _baseIsTypedArray_argsTag = '[object Arguments]', + arrayTag = '[object Array]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + errorTag = '[object Error]', + _baseIsTypedArray_funcTag = '[object Function]', + mapTag = '[object Map]', + numberTag = '[object Number]', + _baseIsTypedArray_objectTag = '[object Object]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + weakMapTag = '[object WeakMap]'; + +var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + +/** Used to identify `toStringTag` values of typed arrays. */ +var typedArrayTags = {}; +typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = +typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = +typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = +typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = +typedArrayTags[uint32Tag] = true; +typedArrayTags[_baseIsTypedArray_argsTag] = typedArrayTags[arrayTag] = +typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = +typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = +typedArrayTags[errorTag] = typedArrayTags[_baseIsTypedArray_funcTag] = +typedArrayTags[mapTag] = typedArrayTags[numberTag] = +typedArrayTags[_baseIsTypedArray_objectTag] = typedArrayTags[regexpTag] = +typedArrayTags[setTag] = typedArrayTags[stringTag] = +typedArrayTags[weakMapTag] = false; + +/** + * The base implementation of `_.isTypedArray` without Node.js optimizations. + * + * @private + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. + */ +function baseIsTypedArray(value) { + return _lodash_es_4_17_21_lodash_es_isObjectLike(value) && + _lodash_es_4_17_21_lodash_es_isLength(value.length) && !!typedArrayTags[_baseGetTag(value)]; +} + +/* harmony default export */ var _baseIsTypedArray = (baseIsTypedArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseUnary.js +/** + * The base implementation of `_.unary` without support for storing metadata. + * + * @private + * @param {Function} func The function to cap arguments for. + * @returns {Function} Returns the new capped function. + */ +function baseUnary(func) { + return function(value) { + return func(value); + }; +} + +/* harmony default export */ var _baseUnary = (baseUnary); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nodeUtil.js + + +/** Detect free variable `exports`. */ +var _nodeUtil_freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; + +/** Detect free variable `module`. */ +var _nodeUtil_freeModule = _nodeUtil_freeExports && typeof module == 'object' && module && !module.nodeType && module; + +/** Detect the popular CommonJS extension `module.exports`. */ +var _nodeUtil_moduleExports = _nodeUtil_freeModule && _nodeUtil_freeModule.exports === _nodeUtil_freeExports; + +/** Detect free variable `process` from Node.js. */ +var freeProcess = _nodeUtil_moduleExports && _freeGlobal.process; + +/** Used to access faster Node.js helpers. */ +var nodeUtil = (function() { + try { + // Use `util.types` for Node.js 10+. + var types = _nodeUtil_freeModule && _nodeUtil_freeModule.require && _nodeUtil_freeModule.require('util').types; + + if (types) { + return types; + } + + // Legacy `process.binding('util')` for Node.js < 10. + return freeProcess && freeProcess.binding && freeProcess.binding('util'); + } catch (e) {} +}()); + +/* harmony default export */ var _nodeUtil = (nodeUtil); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/isTypedArray.js + + + + +/* Node.js helper references. */ +var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray; + +/** + * Checks if `value` is classified as a typed array. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. + * @example + * + * _.isTypedArray(new Uint8Array); + * // => true + * + * _.isTypedArray([]); + * // => false + */ +var isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsTypedArray; + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_isTypedArray = (isTypedArray); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_safeGet.js +/** + * Gets the value at `key`, unless `key` is "__proto__" or "constructor". + * + * @private + * @param {Object} object The object to query. + * @param {string} key The key of the property to get. + * @returns {*} Returns the property value. + */ +function safeGet(object, key) { + if (key === 'constructor' && typeof object[key] === 'function') { + return; + } + + if (key == '__proto__') { + return; + } + + return object[key]; +} + +/* harmony default export */ var _safeGet = (safeGet); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_assignValue.js + + + +/** Used for built-in method references. */ +var _assignValue_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _assignValue_hasOwnProperty = _assignValue_objectProto.hasOwnProperty; + +/** + * Assigns `value` to `key` of `object` if the existing value is not equivalent + * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) + * for equality comparisons. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function assignValue(object, key, value) { + var objValue = object[key]; + if (!(_assignValue_hasOwnProperty.call(object, key) && _lodash_es_4_17_21_lodash_es_eq(objValue, value)) || + (value === undefined && !(key in object))) { + _baseAssignValue(object, key, value); + } +} + +/* harmony default export */ var _assignValue = (assignValue); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_copyObject.js + + + +/** + * Copies properties of `source` to `object`. + * + * @private + * @param {Object} source The object to copy properties from. + * @param {Array} props The property identifiers to copy. + * @param {Object} [object={}] The object to copy properties to. + * @param {Function} [customizer] The function to customize copied values. + * @returns {Object} Returns `object`. + */ +function copyObject(source, props, object, customizer) { + var isNew = !object; + object || (object = {}); + + var index = -1, + length = props.length; + + while (++index < length) { + var key = props[index]; + + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined; + + if (newValue === undefined) { + newValue = source[key]; + } + if (isNew) { + _baseAssignValue(object, key, newValue); + } else { + _assignValue(object, key, newValue); + } + } + return object; +} + +/* harmony default export */ var _copyObject = (copyObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseTimes.js +/** + * The base implementation of `_.times` without support for iteratee shorthands + * or max array length checks. + * + * @private + * @param {number} n The number of times to invoke `iteratee`. + * @param {Function} iteratee The function invoked per iteration. + * @returns {Array} Returns the array of results. + */ +function baseTimes(n, iteratee) { + var index = -1, + result = Array(n); + + while (++index < n) { + result[index] = iteratee(index); + } + return result; +} + +/* harmony default export */ var _baseTimes = (baseTimes); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isIndex.js +/** Used as references for various `Number` constants. */ +var _isIndex_MAX_SAFE_INTEGER = 9007199254740991; + +/** Used to detect unsigned integer values. */ +var reIsUint = /^(?:0|[1-9]\d*)$/; + +/** + * Checks if `value` is a valid array-like index. + * + * @private + * @param {*} value The value to check. + * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. + * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. + */ +function isIndex(value, length) { + var type = typeof value; + length = length == null ? _isIndex_MAX_SAFE_INTEGER : length; + + return !!length && + (type == 'number' || + (type != 'symbol' && reIsUint.test(value))) && + (value > -1 && value % 1 == 0 && value < length); +} + +/* harmony default export */ var _isIndex = (isIndex); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_arrayLikeKeys.js + + + + + + + +/** Used for built-in method references. */ +var _arrayLikeKeys_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _arrayLikeKeys_hasOwnProperty = _arrayLikeKeys_objectProto.hasOwnProperty; + +/** + * Creates an array of the enumerable property names of the array-like `value`. + * + * @private + * @param {*} value The value to query. + * @param {boolean} inherited Specify returning inherited property names. + * @returns {Array} Returns the array of property names. + */ +function arrayLikeKeys(value, inherited) { + var isArr = _lodash_es_4_17_21_lodash_es_isArray(value), + isArg = !isArr && _lodash_es_4_17_21_lodash_es_isArguments(value), + isBuff = !isArr && !isArg && _lodash_es_4_17_21_lodash_es_isBuffer(value), + isType = !isArr && !isArg && !isBuff && _lodash_es_4_17_21_lodash_es_isTypedArray(value), + skipIndexes = isArr || isArg || isBuff || isType, + result = skipIndexes ? _baseTimes(value.length, String) : [], + length = result.length; + + for (var key in value) { + if ((inherited || _arrayLikeKeys_hasOwnProperty.call(value, key)) && + !(skipIndexes && ( + // Safari 9 has enumerable `arguments.length` in strict mode. + key == 'length' || + // Node.js 0.10 has enumerable non-index properties on buffers. + (isBuff && (key == 'offset' || key == 'parent')) || + // PhantomJS 2 has enumerable non-index properties on typed arrays. + (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || + // Skip index properties. + _isIndex(key, length) + ))) { + result.push(key); + } + } + return result; +} + +/* harmony default export */ var _arrayLikeKeys = (arrayLikeKeys); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_nativeKeysIn.js +/** + * This function is like + * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) + * except that it includes inherited enumerable properties. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function nativeKeysIn(object) { + var result = []; + if (object != null) { + for (var key in Object(object)) { + result.push(key); + } + } + return result; +} + +/* harmony default export */ var _nativeKeysIn = (nativeKeysIn); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseKeysIn.js + + + + +/** Used for built-in method references. */ +var _baseKeysIn_objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var _baseKeysIn_hasOwnProperty = _baseKeysIn_objectProto.hasOwnProperty; + +/** + * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function baseKeysIn(object) { + if (!_lodash_es_4_17_21_lodash_es_isObject(object)) { + return _nativeKeysIn(object); + } + var isProto = _isPrototype(object), + result = []; + + for (var key in object) { + if (!(key == 'constructor' && (isProto || !_baseKeysIn_hasOwnProperty.call(object, key)))) { + result.push(key); + } + } + return result; +} + +/* harmony default export */ var _baseKeysIn = (baseKeysIn); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/keysIn.js + + + + +/** + * Creates an array of the own and inherited enumerable property names of `object`. + * + * **Note:** Non-object values are coerced to objects. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Object + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + * @example + * + * function Foo() { + * this.a = 1; + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.keysIn(new Foo); + * // => ['a', 'b', 'c'] (iteration order is not guaranteed) + */ +function keysIn(object) { + return _lodash_es_4_17_21_lodash_es_isArrayLike(object) ? _arrayLikeKeys(object, true) : _baseKeysIn(object); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_keysIn = (keysIn); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/toPlainObject.js + + + +/** + * Converts `value` to a plain object flattening inherited enumerable string + * keyed properties of `value` to own properties of the plain object. + * + * @static + * @memberOf _ + * @since 3.0.0 + * @category Lang + * @param {*} value The value to convert. + * @returns {Object} Returns the converted plain object. + * @example + * + * function Foo() { + * this.b = 2; + * } + * + * Foo.prototype.c = 3; + * + * _.assign({ 'a': 1 }, new Foo); + * // => { 'a': 1, 'b': 2 } + * + * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); + * // => { 'a': 1, 'b': 2, 'c': 3 } + */ +function toPlainObject(value) { + return _copyObject(value, _lodash_es_4_17_21_lodash_es_keysIn(value)); +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_toPlainObject = (toPlainObject); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseMergeDeep.js + + + + + + + + + + + + + + + + +/** + * A specialized version of `baseMerge` for arrays and objects which performs + * deep merges and tracks traversed objects enabling objects with circular + * references to be merged. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {string} key The key of the value to merge. + * @param {number} srcIndex The index of `source`. + * @param {Function} mergeFunc The function to merge values. + * @param {Function} [customizer] The function to customize assigned values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ +function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { + var objValue = _safeGet(object, key), + srcValue = _safeGet(source, key), + stacked = stack.get(srcValue); + + if (stacked) { + _assignMergeValue(object, key, stacked); + return; + } + var newValue = customizer + ? customizer(objValue, srcValue, (key + ''), object, source, stack) + : undefined; + + var isCommon = newValue === undefined; + + if (isCommon) { + var isArr = _lodash_es_4_17_21_lodash_es_isArray(srcValue), + isBuff = !isArr && _lodash_es_4_17_21_lodash_es_isBuffer(srcValue), + isTyped = !isArr && !isBuff && _lodash_es_4_17_21_lodash_es_isTypedArray(srcValue); + + newValue = srcValue; + if (isArr || isBuff || isTyped) { + if (_lodash_es_4_17_21_lodash_es_isArray(objValue)) { + newValue = objValue; + } + else if (_lodash_es_4_17_21_lodash_es_isArrayLikeObject(objValue)) { + newValue = _copyArray(objValue); + } + else if (isBuff) { + isCommon = false; + newValue = _cloneBuffer(srcValue, true); + } + else if (isTyped) { + isCommon = false; + newValue = _cloneTypedArray(srcValue, true); + } + else { + newValue = []; + } + } + else if (_lodash_es_4_17_21_lodash_es_isPlainObject(srcValue) || _lodash_es_4_17_21_lodash_es_isArguments(srcValue)) { + newValue = objValue; + if (_lodash_es_4_17_21_lodash_es_isArguments(objValue)) { + newValue = _lodash_es_4_17_21_lodash_es_toPlainObject(objValue); + } + else if (!_lodash_es_4_17_21_lodash_es_isObject(objValue) || _lodash_es_4_17_21_lodash_es_isFunction(objValue)) { + newValue = _initCloneObject(srcValue); + } + } + else { + isCommon = false; + } + } + if (isCommon) { + // Recursively merge objects and arrays (susceptible to call stack limits). + stack.set(srcValue, newValue); + mergeFunc(newValue, srcValue, srcIndex, customizer, stack); + stack['delete'](srcValue); + } + _assignMergeValue(object, key, newValue); +} + +/* harmony default export */ var _baseMergeDeep = (baseMergeDeep); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseMerge.js + + + + + + + + +/** + * The base implementation of `_.merge` without support for multiple sources. + * + * @private + * @param {Object} object The destination object. + * @param {Object} source The source object. + * @param {number} srcIndex The index of `source`. + * @param {Function} [customizer] The function to customize merged values. + * @param {Object} [stack] Tracks traversed source values and their merged + * counterparts. + */ +function baseMerge(object, source, srcIndex, customizer, stack) { + if (object === source) { + return; + } + _baseFor(source, function(srcValue, key) { + stack || (stack = new _Stack); + if (_lodash_es_4_17_21_lodash_es_isObject(srcValue)) { + _baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); + } + else { + var newValue = customizer + ? customizer(_safeGet(object, key), srcValue, (key + ''), object, source, stack) + : undefined; + + if (newValue === undefined) { + newValue = srcValue; + } + _assignMergeValue(object, key, newValue); + } + }, _lodash_es_4_17_21_lodash_es_keysIn); +} + +/* harmony default export */ var _baseMerge = (baseMerge); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/identity.js +/** + * This method returns the first argument it receives. + * + * @static + * @since 0.1.0 + * @memberOf _ + * @category Util + * @param {*} value Any value. + * @returns {*} Returns `value`. + * @example + * + * var object = { 'a': 1 }; + * + * console.log(_.identity(object) === object); + * // => true + */ +function identity(value) { + return value; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_identity = (identity); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_apply.js +/** + * A faster alternative to `Function#apply`, this function invokes `func` + * with the `this` binding of `thisArg` and the arguments of `args`. + * + * @private + * @param {Function} func The function to invoke. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} args The arguments to invoke `func` with. + * @returns {*} Returns the result of `func`. + */ +function apply(func, thisArg, args) { + switch (args.length) { + case 0: return func.call(thisArg); + case 1: return func.call(thisArg, args[0]); + case 2: return func.call(thisArg, args[0], args[1]); + case 3: return func.call(thisArg, args[0], args[1], args[2]); + } + return func.apply(thisArg, args); +} + +/* harmony default export */ var _apply = (apply); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_overRest.js + + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max; + +/** + * A specialized version of `baseRest` which transforms the rest array. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @param {number} [start=func.length-1] The start position of the rest parameter. + * @param {Function} transform The rest array transform. + * @returns {Function} Returns the new function. + */ +function overRest(func, start, transform) { + start = nativeMax(start === undefined ? (func.length - 1) : start, 0); + return function() { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array(length); + + while (++index < length) { + array[index] = args[start + index]; + } + index = -1; + var otherArgs = Array(start + 1); + while (++index < start) { + otherArgs[index] = args[index]; + } + otherArgs[start] = transform(array); + return _apply(func, this, otherArgs); + }; +} + +/* harmony default export */ var _overRest = (overRest); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/constant.js +/** + * Creates a function that returns `value`. + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Util + * @param {*} value The value to return from the new function. + * @returns {Function} Returns the new constant function. + * @example + * + * var objects = _.times(2, _.constant({ 'a': 1 })); + * + * console.log(objects); + * // => [{ 'a': 1 }, { 'a': 1 }] + * + * console.log(objects[0] === objects[1]); + * // => true + */ +function constant(value) { + return function() { + return value; + }; +} + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_constant = (constant); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseSetToString.js + + + + +/** + * The base implementation of `setToString` without support for hot loop shorting. + * + * @private + * @param {Function} func The function to modify. + * @param {Function} string The `toString` result. + * @returns {Function} Returns `func`. + */ +var baseSetToString = !_defineProperty ? _lodash_es_4_17_21_lodash_es_identity : function(func, string) { + return _defineProperty(func, 'toString', { + 'configurable': true, + 'enumerable': false, + 'value': _lodash_es_4_17_21_lodash_es_constant(string), + 'writable': true + }); +}; + +/* harmony default export */ var _baseSetToString = (baseSetToString); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_shortOut.js +/** Used to detect hot functions by number of calls within a span of milliseconds. */ +var HOT_COUNT = 800, + HOT_SPAN = 16; + +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeNow = Date.now; + +/** + * Creates a function that'll short out and invoke `identity` instead + * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` + * milliseconds. + * + * @private + * @param {Function} func The function to restrict. + * @returns {Function} Returns the new shortable function. + */ +function shortOut(func) { + var count = 0, + lastCalled = 0; + + return function() { + var stamp = nativeNow(), + remaining = HOT_SPAN - (stamp - lastCalled); + + lastCalled = stamp; + if (remaining > 0) { + if (++count >= HOT_COUNT) { + return arguments[0]; + } + } else { + count = 0; + } + return func.apply(undefined, arguments); + }; +} + +/* harmony default export */ var _shortOut = (shortOut); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_setToString.js + + + +/** + * Sets the `toString` method of `func` to return `string`. + * + * @private + * @param {Function} func The function to modify. + * @param {Function} string The `toString` result. + * @returns {Function} Returns `func`. + */ +var setToString = _shortOut(_baseSetToString); + +/* harmony default export */ var _setToString = (setToString); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_baseRest.js + + + + +/** + * The base implementation of `_.rest` which doesn't validate or coerce arguments. + * + * @private + * @param {Function} func The function to apply a rest parameter to. + * @param {number} [start=func.length-1] The start position of the rest parameter. + * @returns {Function} Returns the new function. + */ +function baseRest(func, start) { + return _setToString(_overRest(func, start, _lodash_es_4_17_21_lodash_es_identity), func + ''); +} + +/* harmony default export */ var _baseRest = (baseRest); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_isIterateeCall.js + + + + + +/** + * Checks if the given arguments are from an iteratee call. + * + * @private + * @param {*} value The potential iteratee value argument. + * @param {*} index The potential iteratee index or key argument. + * @param {*} object The potential iteratee object argument. + * @returns {boolean} Returns `true` if the arguments are from an iteratee call, + * else `false`. + */ +function isIterateeCall(value, index, object) { + if (!_lodash_es_4_17_21_lodash_es_isObject(object)) { + return false; + } + var type = typeof index; + if (type == 'number' + ? (_lodash_es_4_17_21_lodash_es_isArrayLike(object) && _isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { + return _lodash_es_4_17_21_lodash_es_eq(object[index], value); + } + return false; +} + +/* harmony default export */ var _isIterateeCall = (isIterateeCall); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/_createAssigner.js + + + +/** + * Creates a function like `_.assign`. + * + * @private + * @param {Function} assigner The function to assign values. + * @returns {Function} Returns the new assigner function. + */ +function createAssigner(assigner) { + return _baseRest(function(object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined, + guard = length > 2 ? sources[2] : undefined; + + customizer = (assigner.length > 3 && typeof customizer == 'function') + ? (length--, customizer) + : undefined; + + if (guard && _isIterateeCall(sources[0], sources[1], guard)) { + customizer = length < 3 ? undefined : customizer; + length = 1; + } + object = Object(object); + while (++index < length) { + var source = sources[index]; + if (source) { + assigner(object, source, index, customizer); + } + } + return object; + }); +} + +/* harmony default export */ var _createAssigner = (createAssigner); + +;// CONCATENATED MODULE: ./node_modules/_lodash-es@4.17.21@lodash-es/merge.js + + + +/** + * This method is like `_.assign` except that it recursively merges own and + * inherited enumerable string keyed properties of source objects into the + * destination object. Source properties that resolve to `undefined` are + * skipped if a destination value exists. Array and plain object properties + * are merged recursively. Other objects and value types are overridden by + * assignment. Source objects are applied from left to right. Subsequent + * sources overwrite property assignments of previous sources. + * + * **Note:** This method mutates `object`. + * + * @static + * @memberOf _ + * @since 0.5.0 + * @category Object + * @param {Object} object The destination object. + * @param {...Object} [sources] The source objects. + * @returns {Object} Returns `object`. + * @example + * + * var object = { + * 'a': [{ 'b': 2 }, { 'd': 4 }] + * }; + * + * var other = { + * 'a': [{ 'c': 3 }, { 'e': 5 }] + * }; + * + * _.merge(object, other); + * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } + */ +var merge = _createAssigner(function(object, source, srcIndex) { + _baseMerge(object, source, srcIndex); +}); + +/* harmony default export */ var _lodash_es_4_17_21_lodash_es_merge = (merge); + +// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(71366); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/warning.js +var warning = __webpack_require__(85870); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +// EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js +var _react_dom_17_0_2_react_dom = __webpack_require__(4676); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/defineProperty.js +var esm_defineProperty = __webpack_require__(25124); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(34706); +// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.21.0@@ant-design/cssinjs/es/index.js + 39 modules +var es = __webpack_require__(18353); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/zh_CN.js + 4 modules +var zh_CN = __webpack_require__(81863); +// EXTERNAL MODULE: ./node_modules/_use-sync-external-store@1.2.2@use-sync-external-store/shim/index.js +var shim = __webpack_require__(4799); +;// CONCATENATED MODULE: ./node_modules/_swr@2.2.5@swr/dist/_internal/index.mjs + + +// Shared state between server components and client components +const noop = ()=>{}; +// Using noop() as the undefined value as undefined can be replaced +// by something else. Prettier ignore and extra parentheses are necessary here +// to ensure that tsc doesn't remove the __NOINLINE__ comment. +// prettier-ignore +const UNDEFINED = /*#__NOINLINE__*/ noop(); +const OBJECT = Object; +const isUndefined = (v)=>v === UNDEFINED; +const _internal_isFunction = (v)=>typeof v == 'function'; +const mergeObjects = (a, b)=>({ + ...a, + ...b + }); +const isPromiseLike = (x)=>_internal_isFunction(x.then); + +// use WeakMap to store the object->key mapping +// so the objects can be garbage collected. +// WeakMap uses a hashtable under the hood, so the lookup +// complexity is almost O(1). +const table = new WeakMap(); +// counter of the key +let counter = 0; +// A stable hash implementation that supports: +// - Fast and ensures unique hash properties +// - Handles unserializable values +// - Handles object key ordering +// - Generates short results +// +// This is not a serialization function, and the result is not guaranteed to be +// parsable. +const stableHash = (arg)=>{ + const type = typeof arg; + const constructor = arg && arg.constructor; + const isDate = constructor == Date; + let result; + let index; + if (OBJECT(arg) === arg && !isDate && constructor != RegExp) { + // Object/function, not null/date/regexp. Use WeakMap to store the id first. + // If it's already hashed, directly return the result. + result = table.get(arg); + if (result) return result; + // Store the hash first for circular reference detection before entering the + // recursive `stableHash` calls. + // For other objects like set and map, we use this id directly as the hash. + result = ++counter + '~'; + table.set(arg, result); + if (constructor == Array) { + // Array. + result = '@'; + for(index = 0; index < arg.length; index++){ + result += stableHash(arg[index]) + ','; + } + table.set(arg, result); + } + if (constructor == OBJECT) { + // Object, sort keys. + result = '#'; + const keys = OBJECT.keys(arg).sort(); + while(!isUndefined(index = keys.pop())){ + if (!isUndefined(arg[index])) { + result += index + ':' + stableHash(arg[index]) + ','; + } + } + table.set(arg, result); + } + } else { + result = isDate ? arg.toJSON() : type == 'symbol' ? arg.toString() : type == 'string' ? JSON.stringify(arg) : '' + arg; + } + return result; +}; + +// Global state used to deduplicate requests and store listeners +const SWRGlobalState = new WeakMap(); + +const EMPTY_CACHE = {}; +const INITIAL_CACHE = {}; +const STR_UNDEFINED = 'undefined'; +// NOTE: Use the function to guarantee it's re-evaluated between jsdom and node runtime for tests. +const isWindowDefined = typeof window != STR_UNDEFINED; +const isDocumentDefined = typeof document != STR_UNDEFINED; +const hasRequestAnimationFrame = ()=>isWindowDefined && typeof window['requestAnimationFrame'] != STR_UNDEFINED; +const createCacheHelper = (cache, key)=>{ + const state = SWRGlobalState.get(cache); + return [ + // Getter + ()=>!isUndefined(key) && cache.get(key) || EMPTY_CACHE, + // Setter + (info)=>{ + if (!isUndefined(key)) { + const prev = cache.get(key); + // Before writing to the store, we keep the value in the initial cache + // if it's not there yet. + if (!(key in INITIAL_CACHE)) { + INITIAL_CACHE[key] = prev; + } + state[5](key, mergeObjects(prev, info), prev || EMPTY_CACHE); + } + }, + // Subscriber + state[6], + // Get server cache snapshot + ()=>{ + if (!isUndefined(key)) { + // If the cache was updated on the client, we return the stored initial value. + if (key in INITIAL_CACHE) return INITIAL_CACHE[key]; + } + // If we haven't done any client-side updates, we return the current value. + return !isUndefined(key) && cache.get(key) || EMPTY_CACHE; + } + ]; +} // export { UNDEFINED, OBJECT, isUndefined, isFunction, mergeObjects, isPromiseLike } +; + +/** + * Due to the bug https://bugs.chromium.org/p/chromium/issues/detail?id=678075, + * it's not reliable to detect if the browser is currently online or offline + * based on `navigator.onLine`. + * As a workaround, we always assume it's online on the first load, and change + * the status upon `online` or `offline` events. + */ let online = true; +const isOnline = ()=>online; +// For node and React Native, `add/removeEventListener` doesn't exist on window. +const [onWindowEvent, offWindowEvent] = isWindowDefined && window.addEventListener ? [ + window.addEventListener.bind(window), + window.removeEventListener.bind(window) +] : [ + noop, + noop +]; +const isVisible = ()=>{ + const visibilityState = isDocumentDefined && document.visibilityState; + return isUndefined(visibilityState) || visibilityState !== 'hidden'; +}; +const initFocus = (callback)=>{ + // focus revalidate + if (isDocumentDefined) { + document.addEventListener('visibilitychange', callback); + } + onWindowEvent('focus', callback); + return ()=>{ + if (isDocumentDefined) { + document.removeEventListener('visibilitychange', callback); + } + offWindowEvent('focus', callback); + }; +}; +const initReconnect = (callback)=>{ + // revalidate on reconnected + const onOnline = ()=>{ + online = true; + callback(); + }; + // nothing to revalidate, just update the status + const onOffline = ()=>{ + online = false; + }; + onWindowEvent('online', onOnline); + onWindowEvent('offline', onOffline); + return ()=>{ + offWindowEvent('online', onOnline); + offWindowEvent('offline', onOffline); + }; +}; +const preset = { + isOnline, + isVisible +}; +const defaultConfigOptions = { + initFocus, + initReconnect +}; + +const IS_REACT_LEGACY = !_react_17_0_2_react.useId; +const IS_SERVER = !isWindowDefined || 'Deno' in window; +// Polyfill requestAnimationFrame +const rAF = (f)=>hasRequestAnimationFrame() ? window['requestAnimationFrame'](f) : setTimeout(f, 1); +// React currently throws a warning when using useLayoutEffect on the server. +// To get around it, we can conditionally useEffect on the server (no-op) and +// useLayoutEffect in the browser. +const useIsomorphicLayoutEffect = IS_SERVER ? _react_17_0_2_react.useEffect : _react_17_0_2_react.useLayoutEffect; +// This assignment is to extend the Navigator type to use effectiveType. +const navigatorConnection = typeof navigator !== 'undefined' && navigator.connection; +// Adjust the config based on slow connection status (<= 70Kbps). +const slowConnection = !IS_SERVER && navigatorConnection && ([ + 'slow-2g', + '2g' +].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData); + +const _internal_serialize = (key)=>{ + if (_internal_isFunction(key)) { + try { + key = key(); + } catch (err) { + // dependencies not ready + key = ''; + } + } + // Use the original key as the argument of fetcher. This can be a string or an + // array of values. + const args = key; + // If key is not falsy, or not an empty array, hash it. + key = typeof key == 'string' ? key : (Array.isArray(key) ? key.length : key) ? stableHash(key) : ''; + return [ + key, + args + ]; +}; + +// Global timestamp. +let __timestamp = 0; +const getTimestamp = ()=>++__timestamp; + +const FOCUS_EVENT = 0; +const RECONNECT_EVENT = 1; +const MUTATE_EVENT = 2; +const ERROR_REVALIDATE_EVENT = 3; + +var events = { + __proto__: null, + ERROR_REVALIDATE_EVENT: ERROR_REVALIDATE_EVENT, + FOCUS_EVENT: FOCUS_EVENT, + MUTATE_EVENT: MUTATE_EVENT, + RECONNECT_EVENT: RECONNECT_EVENT +}; + +async function internalMutate(...args) { + const [cache, _key, _data, _opts] = args; + // When passing as a boolean, it's explicitly used to disable/enable + // revalidation. + const options = mergeObjects({ + populateCache: true, + throwOnError: true + }, typeof _opts === 'boolean' ? { + revalidate: _opts + } : _opts || {}); + let populateCache = options.populateCache; + const rollbackOnErrorOption = options.rollbackOnError; + let optimisticData = options.optimisticData; + const rollbackOnError = (error)=>{ + return typeof rollbackOnErrorOption === 'function' ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false; + }; + const throwOnError = options.throwOnError; + // If the second argument is a key filter, return the mutation results for all + // filtered keys. + if (_internal_isFunction(_key)) { + const keyFilter = _key; + const matchedKeys = []; + const it = cache.keys(); + for (const key of it){ + if (// Skip the special useSWRInfinite and useSWRSubscription keys. + !/^\$(inf|sub)\$/.test(key) && keyFilter(cache.get(key)._k)) { + matchedKeys.push(key); + } + } + return Promise.all(matchedKeys.map(mutateByKey)); + } + return mutateByKey(_key); + async function mutateByKey(_k) { + // Serialize key + const [key] = _internal_serialize(_k); + if (!key) return; + const [get, set] = createCacheHelper(cache, key); + const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache); + const startRevalidate = ()=>{ + const revalidators = EVENT_REVALIDATORS[key]; + const revalidate = _internal_isFunction(options.revalidate) ? options.revalidate(get().data, _k) : options.revalidate !== false; + if (revalidate) { + // Invalidate the key by deleting the concurrent request markers so new + // requests will not be deduped. + delete FETCH[key]; + delete PRELOAD[key]; + if (revalidators && revalidators[0]) { + return revalidators[0](MUTATE_EVENT).then(()=>get().data); + } + } + return get().data; + }; + // If there is no new data provided, revalidate the key with current state. + if (args.length < 3) { + // Revalidate and broadcast state. + return startRevalidate(); + } + let data = _data; + let error; + // Update global timestamps. + const beforeMutationTs = getTimestamp(); + MUTATION[key] = [ + beforeMutationTs, + 0 + ]; + const hasOptimisticData = !isUndefined(optimisticData); + const state = get(); + // `displayedData` is the current value on screen. It could be the optimistic value + // that is going to be overridden by a `committedData`, or get reverted back. + // `committedData` is the validated value that comes from a fetch or mutation. + const displayedData = state.data; + const currentData = state._c; + const committedData = isUndefined(currentData) ? displayedData : currentData; + // Do optimistic data update. + if (hasOptimisticData) { + optimisticData = _internal_isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData; + // When we set optimistic data, backup the current committedData data in `_c`. + set({ + data: optimisticData, + _c: committedData + }); + } + if (_internal_isFunction(data)) { + // `data` is a function, call it passing current cache value. + try { + data = data(committedData); + } catch (err) { + // If it throws an error synchronously, we shouldn't update the cache. + error = err; + } + } + // `data` is a promise/thenable, resolve the final data first. + if (data && isPromiseLike(data)) { + // This means that the mutation is async, we need to check timestamps to + // avoid race conditions. + data = await data.catch((err)=>{ + error = err; + }); + // Check if other mutations have occurred since we've started this mutation. + // If there's a race we don't update cache or broadcast the change, + // just return the data. + if (beforeMutationTs !== MUTATION[key][0]) { + if (error) throw error; + return data; + } else if (error && hasOptimisticData && rollbackOnError(error)) { + // Rollback. Always populate the cache in this case but without + // transforming the data. + populateCache = true; + // Reset data to be the latest committed data, and clear the `_c` value. + set({ + data: committedData, + _c: UNDEFINED + }); + } + } + // If we should write back the cache after request. + if (populateCache) { + if (!error) { + // Transform the result into data. + if (_internal_isFunction(populateCache)) { + const populateCachedData = populateCache(data, committedData); + set({ + data: populateCachedData, + error: UNDEFINED, + _c: UNDEFINED + }); + } else { + // Only update cached data and reset the error if there's no error. Data can be `undefined` here. + set({ + data, + error: UNDEFINED, + _c: UNDEFINED + }); + } + } + } + // Reset the timestamp to mark the mutation has ended. + MUTATION[key][1] = getTimestamp(); + // Update existing SWR Hooks' internal states: + Promise.resolve(startRevalidate()).then(()=>{ + // The mutation and revalidation are ended, we can clear it since the data is + // not an optimistic value anymore. + set({ + _c: UNDEFINED + }); + }); + // Throw error or return data + if (error) { + if (throwOnError) throw error; + return; + } + return data; + } +} + +const revalidateAllKeys = (revalidators, type)=>{ + for(const key in revalidators){ + if (revalidators[key][0]) revalidators[key][0](type); + } +}; +const initCache = (provider, options)=>{ + // The global state for a specific provider will be used to deduplicate + // requests and store listeners. As well as a mutate function that is bound to + // the cache. + // The provider's global state might be already initialized. Let's try to get the + // global state associated with the provider first. + if (!SWRGlobalState.has(provider)) { + const opts = mergeObjects(defaultConfigOptions, options); + // If there's no global state bound to the provider, create a new one with the + // new mutate function. + const EVENT_REVALIDATORS = {}; + const mutate = internalMutate.bind(UNDEFINED, provider); + let unmount = noop; + const subscriptions = {}; + const subscribe = (key, callback)=>{ + const subs = subscriptions[key] || []; + subscriptions[key] = subs; + subs.push(callback); + return ()=>subs.splice(subs.indexOf(callback), 1); + }; + const setter = (key, value, prev)=>{ + provider.set(key, value); + const subs = subscriptions[key]; + if (subs) { + for (const fn of subs){ + fn(value, prev); + } + } + }; + const initProvider = ()=>{ + if (!SWRGlobalState.has(provider)) { + // Update the state if it's new, or if the provider has been extended. + SWRGlobalState.set(provider, [ + EVENT_REVALIDATORS, + {}, + {}, + {}, + mutate, + setter, + subscribe + ]); + if (!IS_SERVER) { + // When listening to the native events for auto revalidations, + // we intentionally put a delay (setTimeout) here to make sure they are + // fired after immediate JavaScript executions, which can be + // React's state updates. + // This avoids some unnecessary revalidations such as + // https://github.com/vercel/swr/issues/1680. + const releaseFocus = opts.initFocus(setTimeout.bind(UNDEFINED, revalidateAllKeys.bind(UNDEFINED, EVENT_REVALIDATORS, FOCUS_EVENT))); + const releaseReconnect = opts.initReconnect(setTimeout.bind(UNDEFINED, revalidateAllKeys.bind(UNDEFINED, EVENT_REVALIDATORS, RECONNECT_EVENT))); + unmount = ()=>{ + releaseFocus && releaseFocus(); + releaseReconnect && releaseReconnect(); + // When un-mounting, we need to remove the cache provider from the state + // storage too because it's a side-effect. Otherwise, when re-mounting we + // will not re-register those event listeners. + SWRGlobalState.delete(provider); + }; + } + } + }; + initProvider(); + // This is a new provider, we need to initialize it and setup DOM events + // listeners for `focus` and `reconnect` actions. + // We might want to inject an extra layer on top of `provider` in the future, + // such as key serialization, auto GC, etc. + // For now, it's just a `Map` interface without any modifications. + return [ + provider, + mutate, + initProvider, + unmount + ]; + } + return [ + provider, + SWRGlobalState.get(provider)[4] + ]; +}; + +// error retry +const onErrorRetry = (_, __, config, revalidate, opts)=>{ + const maxRetryCount = config.errorRetryCount; + const currentRetryCount = opts.retryCount; + // Exponential backoff + const timeout = ~~((Math.random() + 0.5) * (1 << (currentRetryCount < 8 ? currentRetryCount : 8))) * config.errorRetryInterval; + if (!isUndefined(maxRetryCount) && currentRetryCount > maxRetryCount) { + return; + } + setTimeout(revalidate, timeout, opts); +}; +const compare = (currentData, newData)=>stableHash(currentData) == stableHash(newData); +// Default cache provider +const [cache, mutate] = initCache(new Map()); +// Default config +const defaultConfig = mergeObjects({ + // events + onLoadingSlow: noop, + onSuccess: noop, + onError: noop, + onErrorRetry, + onDiscarded: noop, + // switches + revalidateOnFocus: true, + revalidateOnReconnect: true, + revalidateIfStale: true, + shouldRetryOnError: true, + // timeouts + errorRetryInterval: slowConnection ? 10000 : 5000, + focusThrottleInterval: 5 * 1000, + dedupingInterval: 2 * 1000, + loadingTimeout: slowConnection ? 5000 : 3000, + // providers + compare, + isPaused: ()=>false, + cache, + mutate, + fallback: {} +}, // use web preset by default +preset); + +const mergeConfigs = (a, b)=>{ + // Need to create a new object to avoid mutating the original here. + const v = mergeObjects(a, b); + // If two configs are provided, merge their `use` and `fallback` options. + if (b) { + const { use: u1, fallback: f1 } = a; + const { use: u2, fallback: f2 } = b; + if (u1 && u2) { + v.use = u1.concat(u2); + } + if (f1 && f2) { + v.fallback = mergeObjects(f1, f2); + } + } + return v; +}; + +const SWRConfigContext = (0,_react_17_0_2_react.createContext)({}); +const SWRConfig = (props)=>{ + const { value } = props; + const parentConfig = (0,_react_17_0_2_react.useContext)(SWRConfigContext); + const isFunctionalConfig = _internal_isFunction(value); + const config = (0,_react_17_0_2_react.useMemo)(()=>isFunctionalConfig ? value(parentConfig) : value, [ + isFunctionalConfig, + parentConfig, + value + ]); + // Extend parent context values and middleware. + const extendedConfig = (0,_react_17_0_2_react.useMemo)(()=>isFunctionalConfig ? config : mergeConfigs(parentConfig, config), [ + isFunctionalConfig, + parentConfig, + config + ]); + // Should not use the inherited provider. + const provider = config && config.provider; + // initialize the cache only on first access. + const cacheContextRef = (0,_react_17_0_2_react.useRef)(UNDEFINED); + if (provider && !cacheContextRef.current) { + cacheContextRef.current = initCache(provider(extendedConfig.cache || cache), config); + } + const cacheContext = cacheContextRef.current; + // Override the cache if a new provider is given. + if (cacheContext) { + extendedConfig.cache = cacheContext[0]; + extendedConfig.mutate = cacheContext[1]; + } + // Unsubscribe events. + useIsomorphicLayoutEffect(()=>{ + if (cacheContext) { + cacheContext[2] && cacheContext[2](); + return cacheContext[3]; + } + }, []); + return (0,_react_17_0_2_react.createElement)(SWRConfigContext.Provider, mergeObjects(props, { + value: extendedConfig + })); +}; + +const INFINITE_PREFIX = '$inf$'; + +// @ts-expect-error +const enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__; +const use = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : []; +const setupDevTools = ()=>{ + if (enableDevtools) { + // @ts-expect-error + window.__SWR_DEVTOOLS_REACT__ = _react_17_0_2_react; + } +}; + +const normalize = (args)=>{ + return _internal_isFunction(args[1]) ? [ + args[0], + args[1], + args[2] || {} + ] : [ + args[0], + null, + (args[1] === null ? args[2] : args[1]) || {} + ]; +}; + +const useSWRConfig = ()=>{ + return mergeObjects(defaultConfig, (0,_react_17_0_2_react.useContext)(SWRConfigContext)); +}; + +const preload = (key_, fetcher)=>{ + const [key, fnArg] = _internal_serialize(key_); + const [, , , PRELOAD] = SWRGlobalState.get(cache); + // Prevent preload to be called multiple times before used. + if (PRELOAD[key]) return PRELOAD[key]; + const req = fetcher(fnArg); + PRELOAD[key] = req; + return req; +}; +const middleware = (useSWRNext)=>(key_, fetcher_, config)=>{ + // fetcher might be a sync function, so this should not be an async function + const fetcher = fetcher_ && ((...args)=>{ + const [key] = _internal_serialize(key_); + const [, , , PRELOAD] = SWRGlobalState.get(cache); + if (key.startsWith(INFINITE_PREFIX)) { + // we want the infinite fetcher to be called. + // handling of the PRELOAD cache happens there. + return fetcher_(...args); + } + const req = PRELOAD[key]; + if (isUndefined(req)) return fetcher_(...args); + delete PRELOAD[key]; + return req; + }); + return useSWRNext(key_, fetcher, config); + }; + +const BUILT_IN_MIDDLEWARE = use.concat(middleware); + +// It's tricky to pass generic types as parameters, so we just directly override +// the types here. +const withArgs = (hook)=>{ + return function useSWRArgs(...args) { + // Get the default and inherited configuration. + const fallbackConfig = useSWRConfig(); + // Normalize arguments. + const [key, fn, _config] = normalize(args); + // Merge configurations. + const config = mergeConfigs(fallbackConfig, _config); + // Apply middleware + let next = hook; + const { use } = config; + const middleware = (use || []).concat(BUILT_IN_MIDDLEWARE); + for(let i = middleware.length; i--;){ + next = middleware[i](next); + } + return next(key, fn || config.fetcher || null, config); + }; +}; + +// Add a callback function to a list of keyed callback functions and return +// the unsubscribe function. +const subscribeCallback = (key, callbacks, callback)=>{ + const keyedRevalidators = callbacks[key] || (callbacks[key] = []); + keyedRevalidators.push(callback); + return ()=>{ + const index = keyedRevalidators.indexOf(callback); + if (index >= 0) { + // O(1): faster than splice + keyedRevalidators[index] = keyedRevalidators[keyedRevalidators.length - 1]; + keyedRevalidators.pop(); + } + }; +}; + +// Create a custom hook with a middleware +const withMiddleware = (useSWR, middleware)=>{ + return (...args)=>{ + const [key, fn, config] = normalize(args); + const uses = (config.use || []).concat(middleware); + return useSWR(key, fn, { + ...config, + use: uses + }); + }; +}; + +setupDevTools(); + + + +;// CONCATENATED MODULE: ./node_modules/_swr@2.2.5@swr/dist/core/index.mjs + + + + + + +const unstable_serialize = (key)=>serialize(key)[0]; + +/// +const core_use = _react_17_0_2_react.use || ((promise)=>{ + if (promise.status === 'pending') { + throw promise; + } else if (promise.status === 'fulfilled') { + return promise.value; + } else if (promise.status === 'rejected') { + throw promise.reason; + } else { + promise.status = 'pending'; + promise.then((v)=>{ + promise.status = 'fulfilled'; + promise.value = v; + }, (e)=>{ + promise.status = 'rejected'; + promise.reason = e; + }); + throw promise; + } +}); +const WITH_DEDUPE = { + dedupe: true +}; +const useSWRHandler = (_key, fetcher, config)=>{ + const { cache, compare, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config; + const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache); + // `key` is the identifier of the SWR internal state, + // `fnArg` is the argument/arguments parsed from the key, which will be passed + // to the fetcher. + // All of them are derived from `_key`. + const [key, fnArg] = _internal_serialize(_key); + // If it's the initial render of this hook. + const initialMountedRef = (0,_react_17_0_2_react.useRef)(false); + // If the hook is unmounted already. This will be used to prevent some effects + // to be called after unmounting. + const unmountedRef = (0,_react_17_0_2_react.useRef)(false); + // Refs to keep the key and config. + const keyRef = (0,_react_17_0_2_react.useRef)(key); + const fetcherRef = (0,_react_17_0_2_react.useRef)(fetcher); + const configRef = (0,_react_17_0_2_react.useRef)(config); + const getConfig = ()=>configRef.current; + const isActive = ()=>getConfig().isVisible() && getConfig().isOnline(); + const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache, key); + const stateDependencies = (0,_react_17_0_2_react.useRef)({}).current; + const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData; + const isEqual = (prev, current)=>{ + for(const _ in stateDependencies){ + const t = _; + if (t === 'data') { + if (!compare(prev[t], current[t])) { + if (!isUndefined(prev[t])) { + return false; + } + if (!compare(returnedData, current[t])) { + return false; + } + } + } else { + if (current[t] !== prev[t]) { + return false; + } + } + } + return true; + }; + const getSnapshot = (0,_react_17_0_2_react.useMemo)(()=>{ + const shouldStartRequest = (()=>{ + if (!key) return false; + if (!fetcher) return false; + // If `revalidateOnMount` is set, we take the value directly. + if (!isUndefined(revalidateOnMount)) return revalidateOnMount; + // If it's paused, we skip revalidation. + if (getConfig().isPaused()) return false; + if (suspense) return false; + if (!isUndefined(revalidateIfStale)) return revalidateIfStale; + return true; + })(); + // Get the cache and merge it with expected states. + const getSelectedCache = (state)=>{ + // We only select the needed fields from the state. + const snapshot = mergeObjects(state); + delete snapshot._k; + if (!shouldStartRequest) { + return snapshot; + } + return { + isValidating: true, + isLoading: true, + ...snapshot + }; + }; + const cachedData = getCache(); + const initialData = getInitialCache(); + const clientSnapshot = getSelectedCache(cachedData); + const serverSnapshot = cachedData === initialData ? clientSnapshot : getSelectedCache(initialData); + // To make sure that we are returning the same object reference to avoid + // unnecessary re-renders, we keep the previous snapshot and use deep + // comparison to check if we need to return a new one. + let memorizedSnapshot = clientSnapshot; + return [ + ()=>{ + const newSnapshot = getSelectedCache(getCache()); + const compareResult = isEqual(newSnapshot, memorizedSnapshot); + if (compareResult) { + // Mentally, we should always return the `memorizedSnapshot` here + // as there's no change between the new and old snapshots. + // However, since the `isEqual` function only compares selected fields, + // the values of the unselected fields might be changed. That's + // simply because we didn't track them. + // To support the case in https://github.com/vercel/swr/pull/2576, + // we need to update these fields in the `memorizedSnapshot` too + // with direct mutations to ensure the snapshot is always up-to-date + // even for the unselected fields, but only trigger re-renders when + // the selected fields are changed. + memorizedSnapshot.data = newSnapshot.data; + memorizedSnapshot.isLoading = newSnapshot.isLoading; + memorizedSnapshot.isValidating = newSnapshot.isValidating; + memorizedSnapshot.error = newSnapshot.error; + return memorizedSnapshot; + } else { + memorizedSnapshot = newSnapshot; + return newSnapshot; + } + }, + ()=>serverSnapshot + ]; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [ + cache, + key + ]); + // Get the current state that SWR should return. + const cached = (0,shim.useSyncExternalStore)((0,_react_17_0_2_react.useCallback)((callback)=>subscribeCache(key, (current, prev)=>{ + if (!isEqual(prev, current)) callback(); + }), // eslint-disable-next-line react-hooks/exhaustive-deps + [ + cache, + key + ]), getSnapshot[0], getSnapshot[1]); + const isInitialMount = !initialMountedRef.current; + const hasRevalidator = EVENT_REVALIDATORS[key] && EVENT_REVALIDATORS[key].length > 0; + const cachedData = cached.data; + const data = isUndefined(cachedData) ? fallback : cachedData; + const error = cached.error; + // Use a ref to store previously returned data. Use the initial data as its initial value. + const laggyDataRef = (0,_react_17_0_2_react.useRef)(data); + const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data; + // - Suspense mode and there's stale data for the initial render. + // - Not suspense mode and there is no fallback data and `revalidateIfStale` is enabled. + // - `revalidateIfStale` is enabled but `data` is not defined. + const shouldDoInitialRevalidation = (()=>{ + // if a key already has revalidators and also has error, we should not trigger revalidation + if (hasRevalidator && !isUndefined(error)) return false; + // If `revalidateOnMount` is set, we take the value directly. + if (isInitialMount && !isUndefined(revalidateOnMount)) return revalidateOnMount; + // If it's paused, we skip revalidation. + if (getConfig().isPaused()) return false; + // Under suspense mode, it will always fetch on render if there is no + // stale data so no need to revalidate immediately mount it again. + // If data exists, only revalidate if `revalidateIfStale` is true. + if (suspense) return isUndefined(data) ? false : revalidateIfStale; + // If there is no stale data, we need to revalidate when mount; + // If `revalidateIfStale` is set to true, we will always revalidate. + return isUndefined(data) || revalidateIfStale; + })(); + // Resolve the default validating state: + // If it's able to validate, and it should revalidate when mount, this will be true. + const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation); + const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating; + const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading; + // The revalidation function is a carefully crafted wrapper of the original + // `fetcher`, to correctly handle the many edge cases. + const revalidate = (0,_react_17_0_2_react.useCallback)(async (revalidateOpts)=>{ + const currentFetcher = fetcherRef.current; + if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) { + return false; + } + let newData; + let startAt; + let loading = true; + const opts = revalidateOpts || {}; + // If there is no ongoing concurrent request, or `dedupe` is not set, a + // new request should be initiated. + const shouldStartNewRequest = !FETCH[key] || !opts.dedupe; + /* + For React 17 + Do unmount check for calls: + If key has changed during the revalidation, or the component has been + unmounted, old dispatch and old event callbacks should not take any + effect + + For React 18 + only check if key has changed + https://github.com/reactwg/react-18/discussions/82 + */ const callbackSafeguard = ()=>{ + if (IS_REACT_LEGACY) { + return !unmountedRef.current && key === keyRef.current && initialMountedRef.current; + } + return key === keyRef.current; + }; + // The final state object when the request finishes. + const finalState = { + isValidating: false, + isLoading: false + }; + const finishRequestAndUpdateState = ()=>{ + setCache(finalState); + }; + const cleanupState = ()=>{ + // Check if it's still the same request before deleting it. + const requestInfo = FETCH[key]; + if (requestInfo && requestInfo[1] === startAt) { + delete FETCH[key]; + } + }; + // Start fetching. Change the `isValidating` state, update the cache. + const initialState = { + isValidating: true + }; + // It is in the `isLoading` state, if and only if there is no cached data. + // This bypasses fallback data and laggy data. + if (isUndefined(getCache().data)) { + initialState.isLoading = true; + } + try { + if (shouldStartNewRequest) { + setCache(initialState); + // If no cache is being rendered currently (it shows a blank page), + // we trigger the loading slow event. + if (config.loadingTimeout && isUndefined(getCache().data)) { + setTimeout(()=>{ + if (loading && callbackSafeguard()) { + getConfig().onLoadingSlow(key, config); + } + }, config.loadingTimeout); + } + // Start the request and save the timestamp. + // Key must be truthy if entering here. + FETCH[key] = [ + currentFetcher(fnArg), + getTimestamp() + ]; + } + [newData, startAt] = FETCH[key]; + newData = await newData; + if (shouldStartNewRequest) { + // If the request isn't interrupted, clean it up after the + // deduplication interval. + setTimeout(cleanupState, config.dedupingInterval); + } + // If there're other ongoing request(s), started after the current one, + // we need to ignore the current one to avoid possible race conditions: + // req1------------------>res1 (current one) + // req2---------------->res2 + // the request that fired later will always be kept. + // The timestamp maybe be `undefined` or a number + if (!FETCH[key] || FETCH[key][1] !== startAt) { + if (shouldStartNewRequest) { + if (callbackSafeguard()) { + getConfig().onDiscarded(key); + } + } + return false; + } + // Clear error. + finalState.error = UNDEFINED; + // If there're other mutations(s), that overlapped with the current revalidation: + // case 1: + // req------------------>res + // mutate------>end + // case 2: + // req------------>res + // mutate------>end + // case 3: + // req------------------>res + // mutate-------...----------> + // we have to ignore the revalidation result (res) because it's no longer fresh. + // meanwhile, a new revalidation should be triggered when the mutation ends. + const mutationInfo = MUTATION[key]; + if (!isUndefined(mutationInfo) && // case 1 + (startAt <= mutationInfo[0] || // case 2 + startAt <= mutationInfo[1] || // case 3 + mutationInfo[1] === 0)) { + finishRequestAndUpdateState(); + if (shouldStartNewRequest) { + if (callbackSafeguard()) { + getConfig().onDiscarded(key); + } + } + return false; + } + // Deep compare with the latest state to avoid extra re-renders. + // For local state, compare and assign. + const cacheData = getCache().data; + // Since the compare fn could be custom fn + // cacheData might be different from newData even when compare fn returns True + finalState.data = compare(cacheData, newData) ? cacheData : newData; + // Trigger the successful callback if it's the original request. + if (shouldStartNewRequest) { + if (callbackSafeguard()) { + getConfig().onSuccess(newData, key, config); + } + } + } catch (err) { + cleanupState(); + const currentConfig = getConfig(); + const { shouldRetryOnError } = currentConfig; + // Not paused, we continue handling the error. Otherwise, discard it. + if (!currentConfig.isPaused()) { + // Get a new error, don't use deep comparison for errors. + finalState.error = err; + // Error event and retry logic. Only for the actual request, not + // deduped ones. + if (shouldStartNewRequest && callbackSafeguard()) { + currentConfig.onError(err, key, currentConfig); + if (shouldRetryOnError === true || _internal_isFunction(shouldRetryOnError) && shouldRetryOnError(err)) { + if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) { + // If it's inactive, stop. It will auto-revalidate when + // refocusing or reconnecting. + // When retrying, deduplication is always enabled. + currentConfig.onErrorRetry(err, key, currentConfig, (_opts)=>{ + const revalidators = EVENT_REVALIDATORS[key]; + if (revalidators && revalidators[0]) { + revalidators[0](events.ERROR_REVALIDATE_EVENT, _opts); + } + }, { + retryCount: (opts.retryCount || 0) + 1, + dedupe: true + }); + } + } + } + } + } + // Mark loading as stopped. + loading = false; + // Update the current hook's state. + finishRequestAndUpdateState(); + return true; + }, // `setState` is immutable, and `eventsCallback`, `fnArg`, and + // `keyValidating` are depending on `key`, so we can exclude them from + // the deps array. + // + // FIXME: + // `fn` and `config` might be changed during the lifecycle, + // but they might be changed every render like this. + // `useSWR('key', () => fetch('/api/'), { suspense: true })` + // So we omit the values from the deps array + // even though it might cause unexpected behaviors. + // eslint-disable-next-line react-hooks/exhaustive-deps + [ + key, + cache + ]); + // Similar to the global mutate but bound to the current cache and key. + // `cache` isn't allowed to change during the lifecycle. + const boundMutate = (0,_react_17_0_2_react.useCallback)(// Use callback to make sure `keyRef.current` returns latest result every time + (...args)=>{ + return internalMutate(cache, keyRef.current, ...args); + }, // eslint-disable-next-line react-hooks/exhaustive-deps + []); + // The logic for updating refs. + useIsomorphicLayoutEffect(()=>{ + fetcherRef.current = fetcher; + configRef.current = config; + // Handle laggy data updates. If there's cached data of the current key, + // it'll be the correct reference. + if (!isUndefined(cachedData)) { + laggyDataRef.current = cachedData; + } + }); + // After mounted or key changed. + useIsomorphicLayoutEffect(()=>{ + if (!key) return; + const softRevalidate = revalidate.bind(UNDEFINED, WITH_DEDUPE); + // Expose revalidators to global event listeners. So we can trigger + // revalidation from the outside. + let nextFocusRevalidatedAt = 0; + const onRevalidate = (type, opts = {})=>{ + if (type == events.FOCUS_EVENT) { + const now = Date.now(); + if (getConfig().revalidateOnFocus && now > nextFocusRevalidatedAt && isActive()) { + nextFocusRevalidatedAt = now + getConfig().focusThrottleInterval; + softRevalidate(); + } + } else if (type == events.RECONNECT_EVENT) { + if (getConfig().revalidateOnReconnect && isActive()) { + softRevalidate(); + } + } else if (type == events.MUTATE_EVENT) { + return revalidate(); + } else if (type == events.ERROR_REVALIDATE_EVENT) { + return revalidate(opts); + } + return; + }; + const unsubEvents = subscribeCallback(key, EVENT_REVALIDATORS, onRevalidate); + // Mark the component as mounted and update corresponding refs. + unmountedRef.current = false; + keyRef.current = key; + initialMountedRef.current = true; + // Keep the original key in the cache. + setCache({ + _k: fnArg + }); + // Trigger a revalidation + if (shouldDoInitialRevalidation) { + if (isUndefined(data) || IS_SERVER) { + // Revalidate immediately. + softRevalidate(); + } else { + // Delay the revalidate if we have data to return so we won't block + // rendering. + rAF(softRevalidate); + } + } + return ()=>{ + // Mark it as unmounted. + unmountedRef.current = true; + unsubEvents(); + }; + }, [ + key + ]); + // Polling + useIsomorphicLayoutEffect(()=>{ + let timer; + function next() { + // Use the passed interval + // ...or invoke the function with the updated data to get the interval + const interval = _internal_isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval; + // We only start the next interval if `refreshInterval` is not 0, and: + // - `force` is true, which is the start of polling + // - or `timer` is not 0, which means the effect wasn't canceled + if (interval && timer !== -1) { + timer = setTimeout(execute, interval); + } + } + function execute() { + // Check if it's OK to execute: + // Only revalidate when the page is visible, online, and not errored. + if (!getCache().error && (refreshWhenHidden || getConfig().isVisible()) && (refreshWhenOffline || getConfig().isOnline())) { + revalidate(WITH_DEDUPE).then(next); + } else { + // Schedule the next interval to check again. + next(); + } + } + next(); + return ()=>{ + if (timer) { + clearTimeout(timer); + timer = -1; + } + }; + }, [ + refreshInterval, + refreshWhenHidden, + refreshWhenOffline, + key + ]); + // Display debug info in React DevTools. + (0,_react_17_0_2_react.useDebugValue)(returnedData); + // In Suspense mode, we can't return the empty `data` state. + // If there is an `error`, the `error` needs to be thrown to the error boundary. + // If there is no `error`, the `revalidation` promise needs to be thrown to + // the suspense boundary. + if (suspense && isUndefined(data) && key) { + // SWR should throw when trying to use Suspense on the server with React 18, + // without providing any initial data. See: + // https://github.com/vercel/swr/issues/1832 + if (!IS_REACT_LEGACY && IS_SERVER) { + throw new Error('Fallback data is required when using suspense in SSR.'); + } + // Always update fetcher and config refs even with the Suspense mode. + fetcherRef.current = fetcher; + configRef.current = config; + unmountedRef.current = false; + const req = PRELOAD[key]; + if (!isUndefined(req)) { + const promise = boundMutate(req); + core_use(promise); + } + if (isUndefined(error)) { + const promise = revalidate(WITH_DEDUPE); + if (!isUndefined(returnedData)) { + promise.status = 'fulfilled'; + promise.value = true; + } + core_use(promise); + } else { + throw error; + } + } + return { + mutate: boundMutate, + get data () { + stateDependencies.data = true; + return returnedData; + }, + get error () { + stateDependencies.error = true; + return error; + }, + get isValidating () { + stateDependencies.isValidating = true; + return isValidating; + }, + get isLoading () { + stateDependencies.isLoading = true; + return isLoading; + } + }; +}; +const core_SWRConfig = OBJECT.defineProperty(SWRConfig, 'defaultValue', { + value: defaultConfig +}); +/** + * A hook to fetch data. + * + * @link https://swr.vercel.app + * @example + * ```jsx + * import useSWR from 'swr' + * function Profile() { + * const { data, error, isLoading } = useSWR('/api/user', fetcher) + * if (error) return
failed to load
+ * if (isLoading) return
loading...
+ * return
hello {data.name}!
+ * } + * ``` + */ const useSWR = withArgs(useSWRHandler); + + + +// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/index.js +var _rc_util_5_43_0_rc_util_es = __webpack_require__(83794); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/ar_EG.js +/* harmony default export */ var ar_EG = ({ + moneySymbol: '$', + form: { + lightFilter: { + more: 'المزيد', + clear: 'نظف', + confirm: 'تأكيد', + itemUnit: 'عناصر' + } + }, + tableForm: { + search: 'ابحث', + reset: 'إعادة تعيين', + submit: 'ارسال', + collapsed: 'مُقلص', + expand: 'مُوسع', + inputPlaceholder: 'الرجاء الإدخال', + selectPlaceholder: 'الرجاء الإختيار' + }, + alert: { + clear: 'نظف', + selected: 'محدد', + item: 'عنصر' + }, + pagination: { + total: { + range: ' ', + total: 'من', + item: 'عناصر' + } + }, + tableToolBar: { + leftPin: 'ثبت على اليسار', + rightPin: 'ثبت على اليمين', + noPin: 'الغاء التثبيت', + leftFixedTitle: 'لصق على اليسار', + rightFixedTitle: 'لصق على اليمين', + noFixedTitle: 'إلغاء الإلصاق', + reset: 'إعادة تعيين', + columnDisplay: 'الأعمدة المعروضة', + columnSetting: 'الإعدادات', + fullScreen: 'وضع كامل الشاشة', + exitFullScreen: 'الخروج من وضع كامل الشاشة', + reload: 'تحديث', + density: 'الكثافة', + densityDefault: 'افتراضي', + densityLarger: 'أكبر', + densityMiddle: 'وسط', + densitySmall: 'مدمج' + }, + stepsForm: { + next: 'التالي', + prev: 'السابق', + submit: 'أنهى' + }, + loginForm: { + submitText: 'تسجيل الدخول' + }, + editableTable: { + action: { + save: 'أنقذ', + cancel: 'إلغاء الأمر', + delete: 'حذف', + add: 'إضافة صف من البيانات' + } + }, + switch: { + open: 'مفتوح', + close: 'غلق' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/ca_ES.js +/* harmony default export */ var ca_ES = ({ + moneySymbol: '€', + form: { + lightFilter: { + more: 'Més', + clear: 'Netejar', + confirm: 'Confirmar', + itemUnit: 'Elements' + } + }, + tableForm: { + search: 'Cercar', + reset: 'Netejar', + submit: 'Enviar', + collapsed: 'Expandir', + expand: 'Col·lapsar', + inputPlaceholder: 'Introduïu valor', + selectPlaceholder: 'Seleccioneu valor' + }, + alert: { + clear: 'Netejar', + selected: 'Seleccionat', + item: 'Article' + }, + pagination: { + total: { + range: ' ', + total: 'de', + item: 'articles' + } + }, + tableToolBar: { + leftPin: "Pin a l'esquerra", + rightPin: 'Pin a la dreta', + noPin: 'Sense Pin', + leftFixedTitle: "Fixat a l'esquerra", + rightFixedTitle: 'Fixat a la dreta', + noFixedTitle: 'Sense fixar', + reset: 'Reiniciar', + columnDisplay: 'Mostrar Columna', + columnSetting: 'Configuració', + fullScreen: 'Pantalla Completa', + exitFullScreen: 'Sortir Pantalla Completa', + reload: 'Refrescar', + density: 'Densitat', + densityDefault: 'Per Defecte', + densityLarger: 'Llarg', + densityMiddle: 'Mitjà', + densitySmall: 'Compacte' + }, + stepsForm: { + next: 'Següent', + prev: 'Anterior', + submit: 'Finalizar' + }, + loginForm: { + submitText: 'Entrar' + }, + editableTable: { + action: { + save: 'Guardar', + cancel: 'Cancel·lar', + delete: 'Eliminar', + add: 'afegir una fila de dades' + } + }, + switch: { + open: 'obert', + close: 'tancat' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/cs_CZ.js +/* harmony default export */ var cs_CZ = ({ + moneySymbol: 'Kč', + deleteThisLine: 'Smazat tento řádek', + copyThisLine: 'Kopírovat tento řádek', + form: { + lightFilter: { + more: 'Víc', + clear: 'Vymazat', + confirm: 'Potvrdit', + itemUnit: 'Položky' + } + }, + tableForm: { + search: 'Dotaz', + reset: 'Resetovat', + submit: 'Odeslat', + collapsed: 'Zvětšit', + expand: 'Zmenšit', + inputPlaceholder: 'Zadejte prosím', + selectPlaceholder: 'Vyberte prosím' + }, + alert: { + clear: 'Vymazat', + selected: 'Vybraný', + item: 'Položka' + }, + pagination: { + total: { + range: ' ', + total: 'z', + item: 'položek' + } + }, + tableToolBar: { + leftPin: 'Připnout doleva', + rightPin: 'Připnout doprava', + noPin: 'Odepnuto', + leftFixedTitle: 'Fixováno nalevo', + rightFixedTitle: 'Fixováno napravo', + noFixedTitle: 'Neopraveno', + reset: 'Resetovat', + columnDisplay: 'Zobrazení sloupců', + columnSetting: 'Nastavení', + fullScreen: 'Celá obrazovka', + exitFullScreen: 'Ukončete celou obrazovku', + reload: 'Obnovit', + density: 'Hustota', + densityDefault: 'Výchozí', + densityLarger: 'Větší', + densityMiddle: 'Střední', + densitySmall: 'Kompaktní' + }, + stepsForm: { + next: 'Další', + prev: 'Předchozí', + submit: 'Dokončit' + }, + loginForm: { + submitText: 'Přihlásit se' + }, + editableTable: { + onlyOneLineEditor: 'Upravit lze pouze jeden řádek', + action: { + save: 'Uložit', + cancel: 'Zrušit', + delete: 'Vymazat', + add: 'přidat řádek dat' + } + }, + switch: { + open: 'otevřít', + close: 'zavřít' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/de_DE.js +/* harmony default export */ var de_DE = ({ + moneySymbol: '€', + form: { + lightFilter: { + more: 'Mehr', + clear: 'Zurücksetzen', + confirm: 'Bestätigen', + itemUnit: 'Einträge' + } + }, + tableForm: { + search: 'Suchen', + reset: 'Zurücksetzen', + submit: 'Absenden', + collapsed: 'Zeige mehr', + expand: 'Zeige weniger', + inputPlaceholder: 'Bitte eingeben', + selectPlaceholder: 'Bitte auswählen' + }, + alert: { + clear: 'Zurücksetzen', + selected: 'Ausgewählt', + item: 'Eintrag' + }, + pagination: { + total: { + range: ' ', + total: 'von', + item: 'Einträgen' + } + }, + tableToolBar: { + leftPin: 'Links anheften', + rightPin: 'Rechts anheften', + noPin: 'Nicht angeheftet', + leftFixedTitle: 'Links fixiert', + rightFixedTitle: 'Rechts fixiert', + noFixedTitle: 'Nicht fixiert', + reset: 'Zurücksetzen', + columnDisplay: 'Angezeigte Reihen', + columnSetting: 'Einstellungen', + fullScreen: 'Vollbild', + exitFullScreen: 'Vollbild verlassen', + reload: 'Aktualisieren', + density: 'Abstand', + densityDefault: 'Standard', + densityLarger: 'Größer', + densityMiddle: 'Mittel', + densitySmall: 'Kompakt' + }, + stepsForm: { + next: 'Weiter', + prev: 'Zurück', + submit: 'Abschließen' + }, + loginForm: { + submitText: 'Anmelden' + }, + editableTable: { + action: { + save: 'Retten', + cancel: 'Abbrechen', + delete: 'Löschen', + add: 'Hinzufügen einer Datenzeile' + } + }, + switch: { + open: 'offen', + close: 'schließen' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/en_GB.js +/* harmony default export */ var en_GB = ({ + moneySymbol: '£', + form: { + lightFilter: { + more: 'More', + clear: 'Clear', + confirm: 'Confirm', + itemUnit: 'Items' + } + }, + tableForm: { + search: 'Query', + reset: 'Reset', + submit: 'Submit', + collapsed: 'Expand', + expand: 'Collapse', + inputPlaceholder: 'Please enter', + selectPlaceholder: 'Please select' + }, + alert: { + clear: 'Clear', + selected: 'Selected', + item: 'Item' + }, + pagination: { + total: { + range: ' ', + total: 'of', + item: 'items' + } + }, + tableToolBar: { + leftPin: 'Pin to left', + rightPin: 'Pin to right', + noPin: 'Unpinned', + leftFixedTitle: 'Fixed to the left', + rightFixedTitle: 'Fixed to the right', + noFixedTitle: 'Not Fixed', + reset: 'Reset', + columnDisplay: 'Column Display', + columnSetting: 'Table Settings', + fullScreen: 'Full Screen', + exitFullScreen: 'Exit Full Screen', + reload: 'Refresh', + density: 'Density', + densityDefault: 'Default', + densityLarger: 'Larger', + densityMiddle: 'Middle', + densitySmall: 'Compact' + }, + stepsForm: { + next: 'Next', + prev: 'Previous', + submit: 'Finish' + }, + loginForm: { + submitText: 'Login' + }, + editableTable: { + onlyOneLineEditor: 'Only one line can be edited', + onlyAddOneLine: 'Only one line can be added', + action: { + save: 'Save', + cancel: 'Cancel', + delete: 'Delete', + add: 'add a row of data' + } + }, + switch: { + open: 'open', + close: 'close' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/en_US.js +/* harmony default export */ var en_US = ({ + moneySymbol: '$', + deleteThisLine: 'Delete this line', + copyThisLine: 'Copy this line', + form: { + lightFilter: { + more: 'More', + clear: 'Clear', + confirm: 'Confirm', + itemUnit: 'Items' + } + }, + tableForm: { + search: 'Query', + reset: 'Reset', + submit: 'Submit', + collapsed: 'Expand', + expand: 'Collapse', + inputPlaceholder: 'Please enter', + selectPlaceholder: 'Please select' + }, + alert: { + clear: 'Clear', + selected: 'Selected', + item: 'Item' + }, + pagination: { + total: { + range: ' ', + total: 'of', + item: 'items' + } + }, + tableToolBar: { + leftPin: 'Pin to left', + rightPin: 'Pin to right', + noPin: 'Unpinned', + leftFixedTitle: 'Fixed to the left', + rightFixedTitle: 'Fixed to the right', + noFixedTitle: 'Not Fixed', + reset: 'Reset', + columnDisplay: 'Column Display', + columnSetting: 'Table Settings', + fullScreen: 'Full Screen', + exitFullScreen: 'Exit Full Screen', + reload: 'Refresh', + density: 'Density', + densityDefault: 'Default', + densityLarger: 'Larger', + densityMiddle: 'Middle', + densitySmall: 'Compact' + }, + stepsForm: { + next: 'Next', + prev: 'Previous', + submit: 'Finish' + }, + loginForm: { + submitText: 'Login' + }, + editableTable: { + onlyOneLineEditor: 'Only one line can be edited', + onlyAddOneLine: 'Only one line can be added', + action: { + save: 'Save', + cancel: 'Cancel', + delete: 'Delete', + add: 'add a row of data' + } + }, + switch: { + open: 'open', + close: 'close' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/es_ES.js +/* harmony default export */ var es_ES = ({ + moneySymbol: '€', + form: { + lightFilter: { + more: 'Más', + clear: 'Limpiar', + confirm: 'Confirmar', + itemUnit: 'artículos' + } + }, + tableForm: { + search: 'Buscar', + reset: 'Limpiar', + submit: 'Submit', + collapsed: 'Expandir', + expand: 'Colapsar', + inputPlaceholder: 'Ingrese valor', + selectPlaceholder: 'Seleccione valor' + }, + alert: { + clear: 'Limpiar', + selected: 'Seleccionado', + item: 'Articulo' + }, + pagination: { + total: { + range: ' ', + total: 'de', + item: 'artículos' + } + }, + tableToolBar: { + leftPin: 'Pin a la izquierda', + rightPin: 'Pin a la derecha', + noPin: 'Sin Pin', + leftFixedTitle: 'Fijado a la izquierda', + rightFixedTitle: 'Fijado a la derecha', + noFixedTitle: 'Sin Fijar', + reset: 'Reiniciar', + columnDisplay: 'Mostrar Columna', + columnSetting: 'Configuración', + fullScreen: 'Pantalla Completa', + exitFullScreen: 'Salir Pantalla Completa', + reload: 'Refrescar', + density: 'Densidad', + densityDefault: 'Por Defecto', + densityLarger: 'Largo', + densityMiddle: 'Medio', + densitySmall: 'Compacto' + }, + stepsForm: { + next: 'Siguiente', + prev: 'Anterior', + submit: 'Finalizar' + }, + loginForm: { + submitText: 'Entrar' + }, + editableTable: { + action: { + save: 'Guardar', + cancel: 'Descartar', + delete: 'Borrar', + add: 'añadir una fila de datos' + } + }, + switch: { + open: 'abrir', + close: 'cerrar' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/fa_IR.js +/* harmony default export */ var fa_IR = ({ + moneySymbol: 'تومان', + form: { + lightFilter: { + more: 'بیشتر', + clear: 'پاک کردن', + confirm: 'تایید', + itemUnit: 'مورد' + } + }, + tableForm: { + search: 'جستجو', + reset: 'بازنشانی', + submit: 'تایید', + collapsed: 'نمایش بیشتر', + expand: 'نمایش کمتر', + inputPlaceholder: 'پیدا کنید', + selectPlaceholder: 'انتخاب کنید' + }, + alert: { + clear: 'پاک سازی', + selected: 'انتخاب', + item: 'مورد' + }, + pagination: { + total: { + range: ' ', + total: 'از', + item: 'مورد' + } + }, + tableToolBar: { + leftPin: 'سنجاق به چپ', + rightPin: 'سنجاق به راست', + noPin: 'سنجاق نشده', + leftFixedTitle: 'ثابت شده در چپ', + rightFixedTitle: 'ثابت شده در راست', + noFixedTitle: 'شناور', + reset: 'بازنشانی', + columnDisplay: 'نمایش همه', + columnSetting: 'تنظیمات', + fullScreen: 'تمام صفحه', + exitFullScreen: 'خروج از حالت تمام صفحه', + reload: 'تازه سازی', + density: 'تراکم', + densityDefault: 'پیش فرض', + densityLarger: 'بزرگ', + densityMiddle: 'متوسط', + densitySmall: 'کوچک' + }, + stepsForm: { + next: 'بعدی', + prev: 'قبلی', + submit: 'اتمام' + }, + loginForm: { + submitText: 'ورود' + }, + editableTable: { + action: { + save: 'ذخیره', + cancel: 'لغو', + delete: 'حذف', + add: 'یک ردیف داده اضافه کنید' + } + }, + switch: { + open: 'باز', + close: 'نزدیک' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/fr_FR.js +/* harmony default export */ var fr_FR = ({ + moneySymbol: '€', + form: { + lightFilter: { + more: 'Plus', + clear: 'Effacer', + confirm: 'Confirmer', + itemUnit: 'Items' + } + }, + tableForm: { + search: 'Rechercher', + reset: 'Réinitialiser', + submit: 'Envoyer', + collapsed: 'Agrandir', + expand: 'Réduire', + inputPlaceholder: 'Entrer une valeur', + selectPlaceholder: 'Sélectionner une valeur' + }, + alert: { + clear: 'Réinitialiser', + selected: 'Sélectionné', + item: 'Item' + }, + pagination: { + total: { + range: ' ', + total: 'sur', + item: 'éléments' + } + }, + tableToolBar: { + leftPin: 'Épingler à gauche', + rightPin: 'Épingler à gauche', + noPin: 'Sans épingle', + leftFixedTitle: 'Fixer à gauche', + rightFixedTitle: 'Fixer à droite', + noFixedTitle: 'Non fixé', + reset: 'Réinitialiser', + columnDisplay: 'Affichage colonne', + columnSetting: 'Réglages', + fullScreen: 'Plein écran', + exitFullScreen: 'Quitter Plein écran', + reload: 'Rafraichir', + density: 'Densité', + densityDefault: 'Par défaut', + densityLarger: 'Larger', + densityMiddle: 'Moyenne', + densitySmall: 'Compacte' + }, + stepsForm: { + next: 'Suivante', + prev: 'Précédente', + submit: 'Finaliser' + }, + loginForm: { + submitText: 'Se connecter' + }, + editableTable: { + action: { + save: 'Sauvegarder', + cancel: 'Annuler', + delete: 'Supprimer', + add: 'ajouter une ligne de données' + } + }, + switch: { + open: 'ouvert', + close: 'près' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/he_IL.js +/* harmony default export */ var he_IL = ({ + moneySymbol: '₪', + deleteThisLine: 'מחק שורה זו', + copyThisLine: 'העתק שורה זו', + form: { + lightFilter: { + more: 'יותר', + clear: 'נקה', + confirm: 'אישור', + itemUnit: 'פריטים' + } + }, + tableForm: { + search: 'חיפוש', + reset: 'איפוס', + submit: 'שלח', + collapsed: 'הרחב', + expand: 'כווץ', + inputPlaceholder: 'אנא הכנס', + selectPlaceholder: 'אנא בחר' + }, + alert: { + clear: 'נקה', + selected: 'נבחר', + item: 'פריט' + }, + pagination: { + total: { + range: ' ', + total: 'מתוך', + item: 'פריטים' + } + }, + tableToolBar: { + leftPin: 'הצמד לשמאל', + rightPin: 'הצמד לימין', + noPin: 'לא מצורף', + leftFixedTitle: 'מוצמד לשמאל', + rightFixedTitle: 'מוצמד לימין', + noFixedTitle: 'לא מוצמד', + reset: 'איפוס', + columnDisplay: 'תצוגת עמודות', + columnSetting: 'הגדרות', + fullScreen: 'מסך מלא', + exitFullScreen: 'צא ממסך מלא', + reload: 'רענן', + density: 'רזולוציה', + densityDefault: 'ברירת מחדל', + densityLarger: 'גדול', + densityMiddle: 'בינוני', + densitySmall: 'קטן' + }, + stepsForm: { + next: 'הבא', + prev: 'קודם', + submit: 'סיום' + }, + loginForm: { + submitText: 'כניסה' + }, + editableTable: { + onlyOneLineEditor: 'ניתן לערוך רק שורה אחת', + action: { + save: 'שמור', + cancel: 'ביטול', + delete: 'מחיקה', + add: 'הוסף שורת נתונים' + } + }, + switch: { + open: 'פתח', + close: 'סגור' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/hr_HR.js +/* harmony default export */ var hr_HR = ({ + moneySymbol: 'kn', + form: { + lightFilter: { + more: 'Više', + clear: 'Očisti', + confirm: 'Potvrdi', + itemUnit: 'Stavke' + } + }, + tableForm: { + search: 'Pretraži', + reset: 'Poništi', + submit: 'Potvrdi', + collapsed: 'Raširi', + expand: 'Skupi', + inputPlaceholder: 'Unesite', + selectPlaceholder: 'Odaberite' + }, + alert: { + clear: 'Očisti', + selected: 'Odaberi', + item: 'stavke' + }, + pagination: { + total: { + range: ' ', + total: 'od', + item: 'stavke' + } + }, + tableToolBar: { + leftPin: 'Prikači lijevo', + rightPin: 'Prikači desno', + noPin: 'Bez prikačenja', + leftFixedTitle: 'Fiksiraj lijevo', + rightFixedTitle: 'Fiksiraj desno', + noFixedTitle: 'Bez fiksiranja', + reset: 'Resetiraj', + columnDisplay: 'Prikaz stupaca', + columnSetting: 'Postavke', + fullScreen: 'Puni zaslon', + exitFullScreen: 'Izađi iz punog zaslona', + reload: 'Ponovno učitaj', + density: 'Veličina', + densityDefault: 'Zadano', + densityLarger: 'Veliko', + densityMiddle: 'Srednje', + densitySmall: 'Malo' + }, + stepsForm: { + next: 'Sljedeći', + prev: 'Prethodni', + submit: 'Kraj' + }, + loginForm: { + submitText: 'Prijava' + }, + editableTable: { + action: { + save: 'Spremi', + cancel: 'Odustani', + delete: 'Obriši', + add: 'dodajte red podataka' + } + }, + switch: { + open: 'otvori', + close: 'zatvori' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/id_ID.js +/* harmony default export */ var id_ID = ({ + moneySymbol: 'RP', + form: { + lightFilter: { + more: 'Lebih', + clear: 'Hapus', + confirm: 'Konfirmasi', + itemUnit: 'Unit' + } + }, + tableForm: { + search: 'Cari', + reset: 'Atur ulang', + submit: 'Kirim', + collapsed: 'Lebih sedikit', + expand: 'Lebih banyak', + inputPlaceholder: 'Masukkan pencarian', + selectPlaceholder: 'Pilih' + }, + alert: { + clear: 'Hapus', + selected: 'Dipilih', + item: 'Butir' + }, + pagination: { + total: { + range: ' ', + total: 'Dari', + item: 'Butir' + } + }, + tableToolBar: { + leftPin: 'Pin kiri', + rightPin: 'Pin kanan', + noPin: 'Tidak ada pin', + leftFixedTitle: 'Rata kiri', + rightFixedTitle: 'Rata kanan', + noFixedTitle: 'Tidak tetap', + reset: 'Atur ulang', + columnDisplay: 'Tampilan kolom', + columnSetting: 'Pengaturan', + fullScreen: 'Layar penuh', + exitFullScreen: 'Keluar layar penuh', + reload: 'Atur ulang', + density: 'Kerapatan', + densityDefault: 'Standar', + densityLarger: 'Lebih besar', + densityMiddle: 'Sedang', + densitySmall: 'Rapat' + }, + stepsForm: { + next: 'Selanjutnya', + prev: 'Sebelumnya', + submit: 'Selesai' + }, + loginForm: { + submitText: 'Login' + }, + editableTable: { + action: { + save: 'simpan', + cancel: 'batal', + delete: 'hapus', + add: 'Tambahkan baris data' + } + }, + switch: { + open: 'buka', + close: 'tutup' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/it_IT.js +/* harmony default export */ var it_IT = ({ + moneySymbol: '€', + form: { + lightFilter: { + more: 'più', + clear: 'pulisci', + confirm: 'conferma', + itemUnit: 'elementi' + } + }, + tableForm: { + search: 'Filtra', + reset: 'Pulisci', + submit: 'Invia', + collapsed: 'Espandi', + expand: 'Contrai', + inputPlaceholder: 'Digita', + selectPlaceholder: 'Seleziona' + }, + alert: { + clear: 'Rimuovi', + selected: 'Selezionati', + item: 'elementi' + }, + pagination: { + total: { + range: ' ', + total: 'di', + item: 'elementi' + } + }, + tableToolBar: { + leftPin: 'Fissa a sinistra', + rightPin: 'Fissa a destra', + noPin: 'Ripristina posizione', + leftFixedTitle: 'Fissato a sinistra', + rightFixedTitle: 'Fissato a destra', + noFixedTitle: 'Non fissato', + reset: 'Ripristina', + columnDisplay: 'Disposizione colonne', + columnSetting: 'Impostazioni', + fullScreen: 'Modalità schermo intero', + exitFullScreen: 'Esci da modalità schermo intero', + reload: 'Ricarica', + density: 'Grandezza tabella', + densityDefault: 'predefinito', + densityLarger: 'Grande', + densityMiddle: 'Media', + densitySmall: 'Compatta' + }, + stepsForm: { + next: 'successivo', + prev: 'precedente', + submit: 'finisci' + }, + loginForm: { + submitText: 'Accedi' + }, + editableTable: { + action: { + save: 'salva', + cancel: 'annulla', + delete: 'Delete', + add: 'add a row of data' + } + }, + switch: { + open: 'open', + close: 'chiudi' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/ja_JP.js +/* harmony default export */ var ja_JP = ({ + moneySymbol: '¥', + form: { + lightFilter: { + more: '更に', + clear: 'クリア', + confirm: '確認', + itemUnit: 'アイテム' + } + }, + tableForm: { + search: '検索', + reset: 'リセット', + submit: '送信', + collapsed: '拡大', + expand: '折畳', + inputPlaceholder: '入力してください', + selectPlaceholder: '選択してください' + }, + alert: { + clear: 'クリア', + selected: '選択した', + item: 'アイテム' + }, + pagination: { + total: { + range: 'レコード', + total: '/合計', + item: ' ' + } + }, + tableToolBar: { + leftPin: '左に固定', + rightPin: '右に固定', + noPin: 'キャンセル', + leftFixedTitle: '左に固定された項目', + rightFixedTitle: '右に固定された項目', + noFixedTitle: '固定されてない項目', + reset: 'リセット', + columnDisplay: '表示列', + columnSetting: '列表示設定', + fullScreen: 'フルスクリーン', + exitFullScreen: '終了', + reload: '更新', + density: '行高', + densityDefault: 'デフォルト', + densityLarger: '大', + densityMiddle: '中', + densitySmall: '小' + }, + stepsForm: { + next: '次へ', + prev: '前へ', + submit: '送信' + }, + loginForm: { + submitText: 'ログイン' + }, + editableTable: { + action: { + save: '保存', + cancel: 'キャンセル', + delete: '削除', + add: '追加' + } + }, + switch: { + open: '開く', + close: '閉じる' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/ko_KR.js +/* harmony default export */ var ko_KR = ({ + moneySymbol: '₩', + form: { + lightFilter: { + more: '더보기', + clear: '초기화', + confirm: '확인', + itemUnit: '건수' + } + }, + tableForm: { + search: '조회', + reset: '초기화', + submit: '제출', + collapsed: '확장', + expand: '닫기', + inputPlaceholder: '입력해 주세요', + selectPlaceholder: '선택해 주세요' + }, + alert: { + clear: '취소', + selected: '선택', + item: '건' + }, + pagination: { + total: { + range: ' ', + total: '/ 총', + item: '건' + } + }, + tableToolBar: { + leftPin: '왼쪽으로 핀', + rightPin: '오른쪽으로 핀', + noPin: '핀 제거', + leftFixedTitle: '왼쪽으로 고정', + rightFixedTitle: '오른쪽으로 고정', + noFixedTitle: '비고정', + reset: '초기화', + columnDisplay: '컬럼 표시', + columnSetting: '설정', + fullScreen: '전체 화면', + exitFullScreen: '전체 화면 취소', + reload: '새로 고침', + density: '여백', + densityDefault: '기본', + densityLarger: '많은 여백', + densityMiddle: '중간 여백', + densitySmall: '좁은 여백' + }, + stepsForm: { + next: '다음', + prev: '이전', + submit: '종료' + }, + loginForm: { + submitText: '로그인' + }, + editableTable: { + action: { + save: '저장', + cancel: '취소', + delete: '삭제', + add: '데이터 행 추가' + } + }, + switch: { + open: '열', + close: '가까 운' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/mn_MN.js +/* harmony default export */ var mn_MN = ({ + moneySymbol: '₮', + form: { + lightFilter: { + more: 'Илүү', + clear: 'Цэвэрлэх', + confirm: 'Баталгаажуулах', + itemUnit: 'Нэгжүүд' + } + }, + tableForm: { + search: 'Хайх', + reset: 'Шинэчлэх', + submit: 'Илгээх', + collapsed: 'Өргөтгөх', + expand: 'Хураах', + inputPlaceholder: 'Утга оруулна уу', + selectPlaceholder: 'Утга сонгоно уу' + }, + alert: { + clear: 'Цэвэрлэх', + selected: 'Сонгогдсон', + item: 'Нэгж' + }, + pagination: { + total: { + range: ' ', + total: 'Нийт', + item: 'мөр' + } + }, + tableToolBar: { + leftPin: 'Зүүн тийш бэхлэх', + rightPin: 'Баруун тийш бэхлэх', + noPin: 'Бэхлэхгүй', + leftFixedTitle: 'Зүүн зэрэгцүүлэх', + rightFixedTitle: 'Баруун зэрэгцүүлэх', + noFixedTitle: 'Зэрэгцүүлэхгүй', + reset: 'Шинэчлэх', + columnDisplay: 'Баганаар харуулах', + columnSetting: 'Тохиргоо', + fullScreen: 'Бүтэн дэлгэцээр', + exitFullScreen: 'Бүтэн дэлгэц цуцлах', + reload: 'Шинэчлэх', + density: 'Хэмжээ', + densityDefault: 'Хэвийн', + densityLarger: 'Том', + densityMiddle: 'Дунд', + densitySmall: 'Жижиг' + }, + stepsForm: { + next: 'Дараах', + prev: 'Өмнөх', + submit: 'Дуусгах' + }, + loginForm: { + submitText: 'Нэвтрэх' + }, + editableTable: { + action: { + save: 'Хадгалах', + cancel: 'Цуцлах', + delete: 'Устгах', + add: 'Мөр нэмэх' + } + }, + switch: { + open: 'Нээх', + close: 'Хаах' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/ms_MY.js +/* harmony default export */ var ms_MY = ({ + moneySymbol: 'RM', + form: { + lightFilter: { + more: 'Lebih banyak', + clear: 'Jelas', + confirm: 'Mengesahkan', + itemUnit: 'Item' + } + }, + tableForm: { + search: 'Cari', + reset: 'Menetapkan semula', + submit: 'Hantar', + collapsed: 'Kembang', + expand: 'Kuncup', + inputPlaceholder: 'Sila masuk', + selectPlaceholder: 'Sila pilih' + }, + alert: { + clear: 'Padam', + selected: 'Dipilih', + item: 'Item' + }, + pagination: { + total: { + range: ' ', + total: 'daripada', + item: 'item' + } + }, + tableToolBar: { + leftPin: 'Pin ke kiri', + rightPin: 'Pin ke kanan', + noPin: 'Tidak pin', + leftFixedTitle: 'Tetap ke kiri', + rightFixedTitle: 'Tetap ke kanan', + noFixedTitle: 'Tidak Tetap', + reset: 'Menetapkan semula', + columnDisplay: 'Lajur', + columnSetting: 'Settings', + fullScreen: 'Full Screen', + exitFullScreen: 'Keluar Full Screen', + reload: 'Muat Semula', + density: 'Densiti', + densityDefault: 'Biasa', + densityLarger: 'Besar', + densityMiddle: 'Tengah', + densitySmall: 'Kecil' + }, + stepsForm: { + next: 'Seterusnya', + prev: 'Sebelumnya', + submit: 'Selesai' + }, + loginForm: { + submitText: 'Log Masuk' + }, + editableTable: { + action: { + save: 'Simpan', + cancel: 'Membatalkan', + delete: 'Menghapuskan', + add: 'tambah baris data' + } + }, + switch: { + open: 'Terbuka', + close: 'Tutup' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/pl_PL.js +/* harmony default export */ var pl_PL = ({ + moneySymbol: 'zł', + form: { + lightFilter: { + more: 'Więcej', + clear: 'Wyczyść', + confirm: 'Potwierdź', + itemUnit: 'Ilość' + } + }, + tableForm: { + search: 'Szukaj', + reset: 'Reset', + submit: 'Zatwierdź', + collapsed: 'Pokaż wiecej', + expand: 'Pokaż mniej', + inputPlaceholder: 'Proszę podać', + selectPlaceholder: 'Proszę wybrać' + }, + alert: { + clear: 'Wyczyść', + selected: 'Wybrane', + item: 'Wpis' + }, + pagination: { + total: { + range: ' ', + total: 'z', + item: 'Wpisów' + } + }, + tableToolBar: { + leftPin: 'Przypnij do lewej', + rightPin: 'Przypnij do prawej', + noPin: 'Odepnij', + leftFixedTitle: 'Przypięte do lewej', + rightFixedTitle: 'Przypięte do prawej', + noFixedTitle: 'Nieprzypięte', + reset: 'Reset', + columnDisplay: 'Wyświetlane wiersze', + columnSetting: 'Ustawienia', + fullScreen: 'Pełen ekran', + exitFullScreen: 'Zamknij pełen ekran', + reload: 'Odśwież', + density: 'Odstęp', + densityDefault: 'Standard', + densityLarger: 'Wiekszy', + densityMiddle: 'Sredni', + densitySmall: 'Kompaktowy' + }, + stepsForm: { + next: 'Weiter', + prev: 'Zurück', + submit: 'Abschließen' + }, + loginForm: { + submitText: 'Zaloguj się' + }, + editableTable: { + action: { + save: 'Zapisać', + cancel: 'Anuluj', + delete: 'Usunąć', + add: 'dodawanie wiersza danych' + } + }, + switch: { + open: 'otwierać', + close: 'zamykać' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/pt_BR.js +/* harmony default export */ var pt_BR = ({ + moneySymbol: 'R$', + form: { + lightFilter: { + more: 'Mais', + clear: 'Limpar', + confirm: 'Confirmar', + itemUnit: 'Itens' + } + }, + tableForm: { + search: 'Filtrar', + reset: 'Limpar', + submit: 'Confirmar', + collapsed: 'Expandir', + expand: 'Colapsar', + inputPlaceholder: 'Por favor insira', + selectPlaceholder: 'Por favor selecione' + }, + alert: { + clear: 'Limpar', + selected: 'Selecionado(s)', + item: 'Item(s)' + }, + pagination: { + total: { + range: ' ', + total: 'de', + item: 'itens' + } + }, + tableToolBar: { + leftPin: 'Fixar à esquerda', + rightPin: 'Fixar à direita', + noPin: 'Desfixado', + leftFixedTitle: 'Fixado à esquerda', + rightFixedTitle: 'Fixado à direita', + noFixedTitle: 'Não fixado', + reset: 'Limpar', + columnDisplay: 'Mostrar Coluna', + columnSetting: 'Configurações', + fullScreen: 'Tela Cheia', + exitFullScreen: 'Sair da Tela Cheia', + reload: 'Atualizar', + density: 'Densidade', + densityDefault: 'Padrão', + densityLarger: 'Largo', + densityMiddle: 'Médio', + densitySmall: 'Compacto' + }, + stepsForm: { + next: 'Próximo', + prev: 'Anterior', + submit: 'Enviar' + }, + loginForm: { + submitText: 'Entrar' + }, + editableTable: { + action: { + save: 'Salvar', + cancel: 'Cancelar', + delete: 'Apagar', + add: 'adicionar uma linha de dados' + } + }, + switch: { + open: 'abrir', + close: 'fechar' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/ru_RU.js +/* harmony default export */ var ru_RU = ({ + moneySymbol: '₽', + form: { + lightFilter: { + more: 'Еще', + clear: 'Очистить', + confirm: 'ОК', + itemUnit: 'Позиции' + } + }, + tableForm: { + search: 'Найти', + reset: 'Сброс', + submit: 'Отправить', + collapsed: 'Развернуть', + expand: 'Свернуть', + inputPlaceholder: 'Введите значение', + selectPlaceholder: 'Выберите значение' + }, + alert: { + clear: 'Очистить', + selected: 'Выбрано', + item: 'элементов' + }, + pagination: { + total: { + range: ' ', + total: 'из', + item: 'элементов' + } + }, + tableToolBar: { + leftPin: 'Закрепить слева', + rightPin: 'Закрепить справа', + noPin: 'Открепить', + leftFixedTitle: 'Закреплено слева', + rightFixedTitle: 'Закреплено справа', + noFixedTitle: 'Не закреплено', + reset: 'Сброс', + columnDisplay: 'Отображение столбца', + columnSetting: 'Настройки', + fullScreen: 'Полный экран', + exitFullScreen: 'Выйти из полноэкранного режима', + reload: 'Обновить', + density: 'Размер', + densityDefault: 'По умолчанию', + densityLarger: 'Большой', + densityMiddle: 'Средний', + densitySmall: 'Сжатый' + }, + stepsForm: { + next: 'Следующий', + prev: 'Предыдущий', + submit: 'Завершить' + }, + loginForm: { + submitText: 'Вход' + }, + editableTable: { + action: { + save: 'Сохранить', + cancel: 'Отменить', + delete: 'Удалить', + add: 'добавить ряд данных' + } + }, + switch: { + open: 'Открытый чемпионат мира по теннису', + close: 'По адресу:' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/sk_SK.js +/* harmony default export */ var sk_SK = ({ + moneySymbol: '€', + deleteThisLine: 'Odstrániť tento riadok', + copyThisLine: 'Skopírujte tento riadok', + form: { + lightFilter: { + more: 'Viac', + clear: 'Vyčistiť', + confirm: 'Potvrďte', + itemUnit: 'Položky' + } + }, + tableForm: { + search: 'Vyhladať', + reset: 'Resetovať', + submit: 'Odoslať', + collapsed: 'Rozbaliť', + expand: 'Zbaliť', + inputPlaceholder: 'Prosím, zadajte', + selectPlaceholder: 'Prosím, vyberte' + }, + alert: { + clear: 'Vyčistiť', + selected: 'Vybraný', + item: 'Položka' + }, + pagination: { + total: { + range: ' ', + total: 'z', + item: 'položiek' + } + }, + tableToolBar: { + leftPin: 'Pripnúť vľavo', + rightPin: 'Pripnúť vpravo', + noPin: 'Odopnuté', + leftFixedTitle: 'Fixované na ľavo', + rightFixedTitle: 'Fixované na pravo', + noFixedTitle: 'Nefixované', + reset: 'Resetovať', + columnDisplay: 'Zobrazenie stĺpcov', + columnSetting: 'Nastavenia', + fullScreen: 'Celá obrazovka', + exitFullScreen: 'Ukončiť celú obrazovku', + reload: 'Obnoviť', + density: 'Hustota', + densityDefault: 'Predvolené', + densityLarger: 'Väčšie', + densityMiddle: 'Stredné', + densitySmall: 'Kompaktné' + }, + stepsForm: { + next: 'Ďalšie', + prev: 'Predchádzajúce', + submit: 'Potvrdiť' + }, + loginForm: { + submitText: 'Prihlásiť sa' + }, + editableTable: { + onlyOneLineEditor: 'Upravovať možno iba jeden riadok', + action: { + save: 'Uložiť', + cancel: 'Zrušiť', + delete: 'Odstrániť', + add: 'pridať riadok údajov' + } + }, + switch: { + open: 'otvoriť', + close: 'zavrieť' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/sr_RS.js +/* harmony default export */ var sr_RS = ({ + moneySymbol: 'RSD', + form: { + lightFilter: { + more: 'Više', + clear: 'Očisti', + confirm: 'Potvrdi', + itemUnit: 'Stavke' + } + }, + tableForm: { + search: 'Pronađi', + reset: 'Resetuj', + submit: 'Pošalji', + collapsed: 'Proširi', + expand: 'Skupi', + inputPlaceholder: 'Molimo unesite', + selectPlaceholder: 'Molimo odaberite' + }, + alert: { + clear: 'Očisti', + selected: 'Odabrano', + item: 'Stavka' + }, + pagination: { + total: { + range: ' ', + total: 'od', + item: 'stavki' + } + }, + tableToolBar: { + leftPin: 'Zakači levo', + rightPin: 'Zakači desno', + noPin: 'Nije zakačeno', + leftFixedTitle: 'Fiksirano levo', + rightFixedTitle: 'Fiksirano desno', + noFixedTitle: 'Nije fiksirano', + reset: 'Resetuj', + columnDisplay: 'Prikaz kolona', + columnSetting: 'Podešavanja', + fullScreen: 'Pun ekran', + exitFullScreen: 'Zatvori pun ekran', + reload: 'Osveži', + density: 'Veličina', + densityDefault: 'Podrazumevana', + densityLarger: 'Veća', + densityMiddle: 'Srednja', + densitySmall: 'Kompaktna' + }, + stepsForm: { + next: 'Dalje', + prev: 'Nazad', + submit: 'Gotovo' + }, + loginForm: { + submitText: 'Prijavi se' + }, + editableTable: { + action: { + save: 'Sačuvaj', + cancel: 'Poništi', + delete: 'Obriši', + add: 'dodajte red podataka' + } + }, + switch: { + open: 'Отворите', + close: 'Затворите' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/th_TH.js +/* harmony default export */ var th_TH = ({ + moneySymbol: '฿', + deleteThisLine: 'ลบบรรทัดนี้', + copyThisLine: 'คัดลอกบรรทัดนี้', + form: { + lightFilter: { + more: 'มากกว่า', + clear: 'ชัดเจน', + confirm: 'ยืนยัน', + itemUnit: 'รายการ' + } + }, + tableForm: { + search: 'สอบถาม', + reset: 'รีเซ็ต', + submit: 'ส่ง', + collapsed: 'ขยาย', + expand: 'ทรุด', + inputPlaceholder: 'กรุณาป้อน', + selectPlaceholder: 'โปรดเลือก' + }, + alert: { + clear: 'ชัดเจน', + selected: 'เลือกแล้ว', + item: 'รายการ' + }, + pagination: { + total: { + range: ' ', + total: 'ของ', + item: 'รายการ' + } + }, + tableToolBar: { + leftPin: 'ปักหมุดไปทางซ้าย', + rightPin: 'ปักหมุดไปทางขวา', + noPin: 'เลิกตรึงแล้ว', + leftFixedTitle: 'แก้ไขด้านซ้าย', + rightFixedTitle: 'แก้ไขด้านขวา', + noFixedTitle: 'ไม่คงที่', + reset: 'รีเซ็ต', + columnDisplay: 'การแสดงคอลัมน์', + columnSetting: 'การตั้งค่า', + fullScreen: 'เต็มจอ', + exitFullScreen: 'ออกจากโหมดเต็มหน้าจอ', + reload: 'รีเฟรช', + density: 'ความหนาแน่น', + densityDefault: 'ค่าเริ่มต้น', + densityLarger: 'ขนาดใหญ่ขึ้น', + densityMiddle: 'กลาง', + densitySmall: 'กะทัดรัด' + }, + stepsForm: { + next: 'ถัดไป', + prev: 'ก่อนหน้า', + submit: 'เสร็จ' + }, + loginForm: { + submitText: 'เข้าสู่ระบบ' + }, + editableTable: { + onlyOneLineEditor: 'แก้ไขได้เพียงบรรทัดเดียวเท่านั้น', + action: { + save: 'บันทึก', + cancel: 'ยกเลิก', + delete: 'ลบ', + add: 'เพิ่มแถวของข้อมูล' + } + }, + switch: { + open: 'เปิด', + close: 'ปิด' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/tr_TR.js +/* harmony default export */ var tr_TR = ({ + moneySymbol: '₺', + form: { + lightFilter: { + more: 'Daha Fazla', + clear: 'Temizle', + confirm: 'Onayla', + itemUnit: 'Öğeler' + } + }, + tableForm: { + search: 'Filtrele', + reset: 'Sıfırla', + submit: 'Gönder', + collapsed: 'Daha fazla', + expand: 'Daha az', + inputPlaceholder: 'Filtrelemek için bir değer girin', + selectPlaceholder: 'Filtrelemek için bir değer seçin' + }, + alert: { + clear: 'Temizle', + selected: 'Seçili', + item: 'Öğe' + }, + pagination: { + total: { + range: ' ', + total: 'Toplam', + item: 'Öğe' + } + }, + tableToolBar: { + leftPin: 'Sola sabitle', + rightPin: 'Sağa sabitle', + noPin: 'Sabitlemeyi kaldır', + leftFixedTitle: 'Sola sabitlendi', + rightFixedTitle: 'Sağa sabitlendi', + noFixedTitle: 'Sabitlenmedi', + reset: 'Sıfırla', + columnDisplay: 'Kolon Görünümü', + columnSetting: 'Ayarlar', + fullScreen: 'Tam Ekran', + exitFullScreen: 'Tam Ekrandan Çık', + reload: 'Yenile', + density: 'Kalınlık', + densityDefault: 'Varsayılan', + densityLarger: 'Büyük', + densityMiddle: 'Orta', + densitySmall: 'Küçük' + }, + stepsForm: { + next: 'Sıradaki', + prev: 'Önceki', + submit: 'Gönder' + }, + loginForm: { + submitText: 'Giriş Yap' + }, + editableTable: { + action: { + save: 'Kaydet', + cancel: 'Vazgeç', + delete: 'Sil', + add: 'foegje in rige gegevens ta' + } + }, + switch: { + open: 'açık', + close: 'kapatmak' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/uk_UA.js +/* harmony default export */ var uk_UA = ({ + moneySymbol: '₴', + deleteThisLine: 'Видатили рядок', + copyThisLine: 'Скопіювати рядок', + form: { + lightFilter: { + more: 'Ще', + clear: 'Очистити', + confirm: 'Ок', + itemUnit: 'Позиції' + } + }, + tableForm: { + search: 'Пошук', + reset: 'Очистити', + submit: 'Відправити', + collapsed: 'Розгорнути', + expand: 'Згорнути', + inputPlaceholder: 'Введіть значення', + selectPlaceholder: 'Оберіть значення' + }, + alert: { + clear: 'Очистити', + selected: 'Обрано', + item: 'елементів' + }, + pagination: { + total: { + range: ' ', + total: 'з', + item: 'елементів' + } + }, + tableToolBar: { + leftPin: 'Закріпити зліва', + rightPin: 'Закріпити справа', + noPin: 'Відкріпити', + leftFixedTitle: 'Закріплено зліва', + rightFixedTitle: 'Закріплено справа', + noFixedTitle: 'Не закріплено', + reset: 'Скинути', + columnDisplay: 'Відображення стовпців', + columnSetting: 'Налаштування', + fullScreen: 'Повноекранний режим', + exitFullScreen: 'Вийти з повноекранного режиму', + reload: 'Оновити', + density: 'Розмір', + densityDefault: 'За замовчуванням', + densityLarger: 'Великий', + densityMiddle: 'Середній', + densitySmall: 'Стислий' + }, + stepsForm: { + next: 'Наступний', + prev: 'Попередній', + submit: 'Завершити' + }, + loginForm: { + submitText: 'Вхіх' + }, + editableTable: { + onlyOneLineEditor: 'Тільки один рядок може бути редагований одночасно', + action: { + save: 'Зберегти', + cancel: 'Відмінити', + delete: 'Видалити', + add: 'додати рядок' + } + }, + switch: { + open: 'Відкрито', + close: 'Закрито' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/uz_UZ.js +/* harmony default export */ var uz_UZ = ({ + moneySymbol: 'UZS', + form: { + lightFilter: { + more: 'Yana', + clear: 'Tozalash', + confirm: 'OK', + itemUnit: 'Pozitsiyalar' + } + }, + tableForm: { + search: 'Qidirish', + reset: 'Qayta tiklash', + submit: 'Yuborish', + collapsed: 'Yig‘ish', + expand: 'Kengaytirish', + inputPlaceholder: 'Qiymatni kiriting', + selectPlaceholder: 'Qiymatni tanlang' + }, + alert: { + clear: 'Tozalash', + selected: 'Tanlangan', + item: 'elementlar' + }, + pagination: { + total: { + range: ' ', + total: 'dan', + item: 'elementlar' + } + }, + tableToolBar: { + leftPin: 'Chapga mahkamlash', + rightPin: 'O‘ngga mahkamlash', + noPin: 'Mahkamlashni olib tashlash', + leftFixedTitle: 'Chapga mahkamlangan', + rightFixedTitle: 'O‘ngga mahkamlangan', + noFixedTitle: 'Mahkamlashsiz', + reset: 'Qayta tiklash', + columnDisplay: 'Ustunni ko‘rsatish', + columnSetting: 'Sozlamalar', + fullScreen: 'To‘liq ekran', + exitFullScreen: 'To‘liq ekrandan chiqish', + reload: 'Yangilash', + density: 'O‘lcham', + densityDefault: 'Standart', + densityLarger: 'Katta', + densityMiddle: 'O‘rtacha', + densitySmall: 'Kichik' + }, + stepsForm: { + next: 'Keyingi', + prev: 'Oldingi', + submit: 'Tugatish' + }, + loginForm: { + submitText: 'Kirish' + }, + editableTable: { + action: { + save: 'Saqlash', + cancel: 'Bekor qilish', + delete: 'O‘chirish', + add: 'maʼlumotlar qatorini qo‘shish' + } + }, + switch: { + open: 'Ochish', + close: 'Yopish' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/vi_VN.js +/* harmony default export */ var vi_VN = ({ + moneySymbol: '₫', + form: { + lightFilter: { + more: 'Nhiều hơn', + clear: 'Trong', + confirm: 'Xác nhận', + itemUnit: 'Mục' + } + }, + tableForm: { + search: 'Tìm kiếm', + reset: 'Làm lại', + submit: 'Gửi đi', + collapsed: 'Mở rộng', + expand: 'Thu gọn', + inputPlaceholder: 'nhập dữ liệu', + selectPlaceholder: 'Vui lòng chọn' + }, + alert: { + clear: 'Xóa', + selected: 'đã chọn', + item: 'mục' + }, + pagination: { + total: { + range: ' ', + total: 'trên', + item: 'mặt hàng' + } + }, + tableToolBar: { + leftPin: 'Ghim trái', + rightPin: 'Ghim phải', + noPin: 'Bỏ ghim', + leftFixedTitle: 'Cố định trái', + rightFixedTitle: 'Cố định phải', + noFixedTitle: 'Chưa cố định', + reset: 'Làm lại', + columnDisplay: 'Cột hiển thị', + columnSetting: 'Cấu hình', + fullScreen: 'Chế độ toàn màn hình', + exitFullScreen: 'Thoát chế độ toàn màn hình', + reload: 'Làm mới', + density: 'Mật độ hiển thị', + densityDefault: 'Mặc định', + densityLarger: 'Mặc định', + densityMiddle: 'Trung bình', + densitySmall: 'Chật' + }, + stepsForm: { + next: 'Sau', + prev: 'Trước', + submit: 'Kết thúc' + }, + loginForm: { + submitText: 'Đăng nhập' + }, + editableTable: { + action: { + save: 'Cứu', + cancel: 'Hủy', + delete: 'Xóa', + add: 'thêm một hàng dữ liệu' + } + }, + switch: { + open: 'mở', + close: 'đóng' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/zh_CN.js +/* harmony default export */ var locale_zh_CN = ({ + moneySymbol: '¥', + deleteThisLine: '删除此项', + copyThisLine: '复制此项', + form: { + lightFilter: { + more: '更多筛选', + clear: '清除', + confirm: '确认', + itemUnit: '项' + } + }, + tableForm: { + search: '查询', + reset: '重置', + submit: '提交', + collapsed: '展开', + expand: '收起', + inputPlaceholder: '请输入', + selectPlaceholder: '请选择' + }, + alert: { + clear: '取消选择', + selected: '已选择', + item: '项' + }, + pagination: { + total: { + range: '第', + total: '条/总共', + item: '条' + } + }, + tableToolBar: { + leftPin: '固定在列首', + rightPin: '固定在列尾', + noPin: '不固定', + leftFixedTitle: '固定在左侧', + rightFixedTitle: '固定在右侧', + noFixedTitle: '不固定', + reset: '重置', + columnDisplay: '列展示', + columnSetting: '列设置', + fullScreen: '全屏', + exitFullScreen: '退出全屏', + reload: '刷新', + density: '密度', + densityDefault: '正常', + densityLarger: '宽松', + densityMiddle: '中等', + densitySmall: '紧凑' + }, + stepsForm: { + next: '下一步', + prev: '上一步', + submit: '提交' + }, + loginForm: { + submitText: '登录' + }, + editableTable: { + onlyOneLineEditor: '只能同时编辑一行', + action: { + save: '保存', + cancel: '取消', + delete: '删除', + add: '添加一行数据' + } + }, + switch: { + open: '打开', + close: '关闭' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/locale/zh_TW.js +/* harmony default export */ var zh_TW = ({ + moneySymbol: 'NT$', + deleteThisLine: '刪除此项', + copyThisLine: '複製此项', + form: { + lightFilter: { + more: '更多篩選', + clear: '清除', + confirm: '確認', + itemUnit: '項' + } + }, + tableForm: { + search: '查詢', + reset: '重置', + submit: '提交', + collapsed: '展開', + expand: '收起', + inputPlaceholder: '請輸入', + selectPlaceholder: '請選擇' + }, + alert: { + clear: '取消選擇', + selected: '已選擇', + item: '項' + }, + pagination: { + total: { + range: '第', + total: '條/總共', + item: '條' + } + }, + tableToolBar: { + leftPin: '固定到左邊', + rightPin: '固定到右邊', + noPin: '不固定', + leftFixedTitle: '固定在左側', + rightFixedTitle: '固定在右側', + noFixedTitle: '不固定', + reset: '重置', + columnDisplay: '列展示', + columnSetting: '列設置', + fullScreen: '全屏', + exitFullScreen: '退出全屏', + reload: '刷新', + density: '密度', + densityDefault: '正常', + densityLarger: '寬鬆', + densityMiddle: '中等', + densitySmall: '緊湊' + }, + stepsForm: { + next: '下一步', + prev: '上一步', + submit: '完成' + }, + loginForm: { + submitText: '登入' + }, + editableTable: { + onlyOneLineEditor: '只能同時編輯一行', + action: { + save: '保存', + cancel: '取消', + delete: '刪除', + add: '新增一行資料' + } + }, + switch: { + open: '打開', + close: '關閉' + } +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/intl.js + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/** + * 创建一个国际化的操作函数 + * + * @param locale + * @param localeMap + */ +var createIntl = function createIntl(locale, localeMap) { + return { + getMessage: function getMessage(id, defaultMessage) { + var msg = (0,_rc_util_5_43_0_rc_util_es.get)(localeMap, id.replace(/\[(\d+)\]/g, '.$1').split('.')) || ''; + if (msg) return msg; + var localKey = locale.replace('_', '-'); + if (localKey === 'zh-CN') { + return defaultMessage; + } + // eslint-disable-next-line @typescript-eslint/no-use-before-define + var intl = intlMap['zh-CN']; + return intl ? intl.getMessage(id, defaultMessage) : defaultMessage; + }, + locale: locale + }; +}; +var mnMNIntl = createIntl('mn_MN', mn_MN); +var arEGIntl = createIntl('ar_EG', ar_EG); +var zhCNIntl = createIntl('zh_CN', locale_zh_CN); +var enUSIntl = createIntl('en_US', en_US); +var enGBIntl = createIntl('en_GB', en_GB); +var viVNIntl = createIntl('vi_VN', vi_VN); +var itITIntl = createIntl('it_IT', it_IT); +var jaJPIntl = createIntl('ja_JP', ja_JP); +var esESIntl = createIntl('es_ES', es_ES); +var caESIntl = createIntl('ca_ES', ca_ES); +var ruRUIntl = createIntl('ru_RU', ru_RU); +var srRSIntl = createIntl('sr_RS', sr_RS); +var msMYIntl = createIntl('ms_MY', ms_MY); +var zhTWIntl = createIntl('zh_TW', zh_TW); +var frFRIntl = createIntl('fr_FR', fr_FR); +var ptBRIntl = createIntl('pt_BR', pt_BR); +var koKRIntl = createIntl('ko_KR', ko_KR); +var idIDIntl = createIntl('id_ID', id_ID); +var deDEIntl = createIntl('de_DE', de_DE); +var faIRIntl = createIntl('fa_IR', fa_IR); +var trTRIntl = createIntl('tr_TR', tr_TR); +var plPLIntl = createIntl('pl_PL', pl_PL); +var hrHRIntl = createIntl('hr_', hr_HR); +var thTHIntl = createIntl('th_TH', th_TH); +var csCZIntl = createIntl('cs_cz', cs_CZ); +var skSKIntl = createIntl('sk_SK', sk_SK); +var heILIntl = createIntl('he_IL', he_IL); +var ukUAIntl = createIntl('uk_UA', uk_UA); +var uzUZIntl = createIntl('uz_UZ', uz_UZ); +var intlMap = { + 'mn-MN': mnMNIntl, + 'ar-EG': arEGIntl, + 'zh-CN': zhCNIntl, + 'en-US': enUSIntl, + 'en-GB': enGBIntl, + 'vi-VN': viVNIntl, + 'it-IT': itITIntl, + 'ja-JP': jaJPIntl, + 'es-ES': esESIntl, + 'ca-ES': caESIntl, + 'ru-RU': ruRUIntl, + 'sr-RS': srRSIntl, + 'ms-MY': msMYIntl, + 'zh-TW': zhTWIntl, + 'fr-FR': frFRIntl, + 'pt-BR': ptBRIntl, + 'ko-KR': koKRIntl, + 'id-ID': idIDIntl, + 'de-DE': deDEIntl, + 'fa-IR': faIRIntl, + 'tr-TR': trTRIntl, + 'pl-PL': plPLIntl, + 'hr-HR': hrHRIntl, + 'th-TH': thTHIntl, + 'cs-CZ': csCZIntl, + 'sk-SK': skSKIntl, + 'he-IL': heILIntl, + 'uk-UA': ukUAIntl, + 'uz-UZ': uzUZIntl +}; +var intlMapKeys = Object.keys(intlMap); + +/** + * 根据 antd 的 key 来找到的 locale 插件的 key + * + * @param localeKey + */ +var findIntlKeyByAntdLocaleKey = function findIntlKeyByAntdLocaleKey(localeKey) { + var localeName = (localeKey || 'zh-CN').toLocaleLowerCase(); + return intlMapKeys.find(function (intlKey) { + var LowerCaseKey = intlKey.toLocaleLowerCase(); + return LowerCaseKey.includes(localeName); + }); +}; + +// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.12@dayjs/dayjs.min.js +var dayjs_min = __webpack_require__(17810); +var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min); +// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js +var dist_module = __webpack_require__(64993); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/index.js + 5 modules +var themes_default = __webpack_require__(97224); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js +var seed = __webpack_require__(34117); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/alias.js + 1 modules +var alias = __webpack_require__(44023); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/getDesignToken.js + + + + +const getDesignToken = config => { + const theme = (config === null || config === void 0 ? void 0 : config.algorithm) ? (0,es.createTheme)(config.algorithm) : (0,es.createTheme)(themes_default/* default */.Z); + const mergedToken = Object.assign(Object.assign({}, seed/* default */.Z), config === null || config === void 0 ? void 0 : config.token); + return (0,es.getComputedToken)(mergedToken, { + override: config === null || config === void 0 ? void 0 : config.token + }, theme, alias/* default */.Z); +}; +/* harmony default export */ var theme_getDesignToken = (getDesignToken); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/context.js +var context = __webpack_require__(81616); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genControlHeight.js +var genControlHeight = __webpack_require__(34362); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/compact/genCompactSizeMapToken.js +function genSizeMapToken(token) { + const { + sizeUnit, + sizeStep + } = token; + const compactSizeStep = sizeStep - 2; + return { + sizeXXL: sizeUnit * (compactSizeStep + 10), + sizeXL: sizeUnit * (compactSizeStep + 6), + sizeLG: sizeUnit * (compactSizeStep + 2), + sizeMD: sizeUnit * (compactSizeStep + 2), + sizeMS: sizeUnit * (compactSizeStep + 1), + size: sizeUnit * compactSizeStep, + sizeSM: sizeUnit * compactSizeStep, + sizeXS: sizeUnit * (compactSizeStep - 1), + sizeXXS: sizeUnit * (compactSizeStep - 1) + }; +} +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js + 1 modules +var genFontMapToken = __webpack_require__(82838); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/compact/index.js + + + + +const derivative = (token, mapToken) => { + const mergedMapToken = mapToken !== null && mapToken !== void 0 ? mapToken : (0,themes_default/* default */.Z)(token); + const fontSize = mergedMapToken.fontSizeSM; // Smaller size font-size as base + const controlHeight = mergedMapToken.controlHeight - 4; + return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, mergedMapToken), genSizeMapToken(mapToken !== null && mapToken !== void 0 ? mapToken : token)), (0,genFontMapToken/* default */.Z)(fontSize)), { + // controlHeight + controlHeight + }), (0,genControlHeight/* default */.Z)(Object.assign(Object.assign({}, mergedMapToken), { + controlHeight + }))); +}; +/* harmony default export */ var compact = (derivative); +// EXTERNAL MODULE: ./node_modules/_@ant-design_colors@7.1.0@@ant-design/colors/es/index.js + 2 modules +var colors_es = __webpack_require__(88453); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genColorMapToken.js +var genColorMapToken = __webpack_require__(15397); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/dark/colorAlgorithm.js + +const getAlphaColor = (baseColor, alpha) => new dist_module/* TinyColor */.C(baseColor).setAlpha(alpha).toRgbString(); +const getSolidColor = (baseColor, brightness) => { + const instance = new dist_module/* TinyColor */.C(baseColor); + return instance.lighten(brightness).toHexString(); +}; +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/dark/colors.js + + +const generateColorPalettes = baseColor => { + const colors = (0,colors_es.generate)(baseColor, { + theme: 'dark' + }); + return { + 1: colors[0], + 2: colors[1], + 3: colors[2], + 4: colors[3], + 5: colors[6], + 6: colors[5], + 7: colors[4], + 8: colors[6], + 9: colors[5], + 10: colors[4] + // 8: colors[9], + // 9: colors[8], + // 10: colors[7], + }; +}; + +const generateNeutralColorPalettes = (bgBaseColor, textBaseColor) => { + const colorBgBase = bgBaseColor || '#000'; + const colorTextBase = textBaseColor || '#fff'; + return { + colorBgBase, + colorTextBase, + colorText: getAlphaColor(colorTextBase, 0.85), + colorTextSecondary: getAlphaColor(colorTextBase, 0.65), + colorTextTertiary: getAlphaColor(colorTextBase, 0.45), + colorTextQuaternary: getAlphaColor(colorTextBase, 0.25), + colorFill: getAlphaColor(colorTextBase, 0.18), + colorFillSecondary: getAlphaColor(colorTextBase, 0.12), + colorFillTertiary: getAlphaColor(colorTextBase, 0.08), + colorFillQuaternary: getAlphaColor(colorTextBase, 0.04), + colorBgElevated: getSolidColor(colorBgBase, 12), + colorBgContainer: getSolidColor(colorBgBase, 8), + colorBgLayout: getSolidColor(colorBgBase, 0), + colorBgSpotlight: getSolidColor(colorBgBase, 26), + colorBorder: getSolidColor(colorBgBase, 26), + colorBorderSecondary: getSolidColor(colorBgBase, 19) + }; +}; +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/dark/index.js + + + + + +const dark_derivative = (token, mapToken) => { + const colorPalettes = Object.keys(seed/* defaultPresetColors */.M).map(colorKey => { + const colors = (0,colors_es.generate)(token[colorKey], { + theme: 'dark' + }); + return new Array(10).fill(1).reduce((prev, _, i) => { + prev[`${colorKey}-${i + 1}`] = colors[i]; + prev[`${colorKey}${i + 1}`] = colors[i]; + return prev; + }, {}); + }).reduce((prev, cur) => { + prev = Object.assign(Object.assign({}, prev), cur); + return prev; + }, {}); + const mergedMapToken = mapToken !== null && mapToken !== void 0 ? mapToken : (0,themes_default/* default */.Z)(token); + return Object.assign(Object.assign(Object.assign({}, mergedMapToken), colorPalettes), (0,genColorMapToken/* default */.Z)(token, { + generateColorPalettes: generateColorPalettes, + generateNeutralColorPalettes: generateNeutralColorPalettes + })); +}; +/* harmony default export */ var dark = (dark_derivative); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/index.js +"use client"; + +/* eslint-disable import/prefer-default-export */ + + + + + +// ZombieJ: We export as object to user but array in internal. +// This is used to minimize the bundle size for antd package but safe to refactor as object also. +// Please do not export internal `useToken` directly to avoid something export unexpected. +/** Get current context Design Token. Will be different if you are using nest theme config. */ +function theme_useToken() { + const [theme, token, hashId] = (0,useToken/* default */.Z)(); + return { + theme, + token, + hashId + }; +} +/* harmony default export */ var theme = ({ + /** @private Test Usage. Do not use in production. */ + defaultConfig: context/* defaultConfig */.u_, + /** Default seedToken */ + defaultSeed: context/* defaultConfig */.u_.token, + useToken: theme_useToken, + defaultAlgorithm: themes_default/* default */.Z, + darkAlgorithm: dark, + compactAlgorithm: compact, + getDesignToken: theme_getDesignToken +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/useStyle/token.js + +var _theme$defaultAlgorit; + + +var defaultToken = { + blue: '#1677ff', + purple: '#722ED1', + cyan: '#13C2C2', + green: '#52C41A', + magenta: '#EB2F96', + pink: '#eb2f96', + red: '#F5222D', + orange: '#FA8C16', + yellow: '#FADB14', + volcano: '#FA541C', + geekblue: '#2F54EB', + gold: '#FAAD14', + lime: '#A0D911', + colorPrimary: '#1677ff', + colorSuccess: '#52c41a', + colorWarning: '#faad14', + colorError: '#ff7875', + colorInfo: '#1677ff', + colorTextBase: '#000', + colorBgBase: '#fff', + fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'", + fontSize: 14, + lineWidth: 1, + lineType: 'solid', + motionUnit: 0.1, + motionBase: 0, + motionEaseOutCirc: 'cubic-bezier(0.08, 0.82, 0.17, 1)', + motionEaseInOutCirc: 'cubic-bezier(0.78, 0.14, 0.15, 0.86)', + motionEaseOut: 'cubic-bezier(0.215, 0.61, 0.355, 1)', + motionEaseInOut: 'cubic-bezier(0.645, 0.045, 0.355, 1)', + motionEaseOutBack: 'cubic-bezier(0.12, 0.4, 0.29, 1.46)', + motionEaseInQuint: 'cubic-bezier(0.645, 0.045, 0.355, 1)', + motionEaseOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)', + borderRadius: 4, + sizeUnit: 4, + sizeStep: 4, + sizePopupArrow: 16, + controlHeight: 32, + zIndexBase: 0, + zIndexPopupBase: 1000, + opacityImage: 1, + wireframe: false, + 'blue-1': '#e6f4ff', + 'blue-2': '#bae0ff', + 'blue-3': '#91caff', + 'blue-4': '#69b1ff', + 'blue-5': '#4096ff', + 'blue-6': '#1677ff', + 'blue-7': '#0958d9', + 'blue-8': '#003eb3', + 'blue-9': '#002c8c', + 'blue-10': '#001d66', + 'purple-1': '#f9f0ff', + 'purple-2': '#efdbff', + 'purple-3': '#d3adf7', + 'purple-4': '#b37feb', + 'purple-5': '#9254de', + 'purple-6': '#722ed1', + 'purple-7': '#531dab', + 'purple-8': '#391085', + 'purple-9': '#22075e', + 'purple-10': '#120338', + 'cyan-1': '#e6fffb', + 'cyan-2': '#b5f5ec', + 'cyan-3': '#87e8de', + 'cyan-4': '#5cdbd3', + 'cyan-5': '#36cfc9', + 'cyan-6': '#13c2c2', + 'cyan-7': '#08979c', + 'cyan-8': '#006d75', + 'cyan-9': '#00474f', + 'cyan-10': '#002329', + 'green-1': '#f6ffed', + 'green-2': '#d9f7be', + 'green-3': '#b7eb8f', + 'green-4': '#95de64', + 'green-5': '#73d13d', + 'green-6': '#52c41a', + 'green-7': '#389e0d', + 'green-8': '#237804', + 'green-9': '#135200', + 'green-10': '#092b00', + 'magenta-1': '#fff0f6', + 'magenta-2': '#ffd6e7', + 'magenta-3': '#ffadd2', + 'magenta-4': '#ff85c0', + 'magenta-5': '#f759ab', + 'magenta-6': '#eb2f96', + 'magenta-7': '#c41d7f', + 'magenta-8': '#9e1068', + 'magenta-9': '#780650', + 'magenta-10': '#520339', + 'pink-1': '#fff0f6', + 'pink-2': '#ffd6e7', + 'pink-3': '#ffadd2', + 'pink-4': '#ff85c0', + 'pink-5': '#f759ab', + 'pink-6': '#eb2f96', + 'pink-7': '#c41d7f', + 'pink-8': '#9e1068', + 'pink-9': '#780650', + 'pink-10': '#520339', + 'red-1': '#fff1f0', + 'red-2': '#ffccc7', + 'red-3': '#ffa39e', + 'red-4': '#ff7875', + 'red-5': '#ff4d4f', + 'red-6': '#f5222d', + 'red-7': '#cf1322', + 'red-8': '#a8071a', + 'red-9': '#820014', + 'red-10': '#5c0011', + 'orange-1': '#fff7e6', + 'orange-2': '#ffe7ba', + 'orange-3': '#ffd591', + 'orange-4': '#ffc069', + 'orange-5': '#ffa940', + 'orange-6': '#fa8c16', + 'orange-7': '#d46b08', + 'orange-8': '#ad4e00', + 'orange-9': '#873800', + 'orange-10': '#612500', + 'yellow-1': '#feffe6', + 'yellow-2': '#ffffb8', + 'yellow-3': '#fffb8f', + 'yellow-4': '#fff566', + 'yellow-5': '#ffec3d', + 'yellow-6': '#fadb14', + 'yellow-7': '#d4b106', + 'yellow-8': '#ad8b00', + 'yellow-9': '#876800', + 'yellow-10': '#614700', + 'volcano-1': '#fff2e8', + 'volcano-2': '#ffd8bf', + 'volcano-3': '#ffbb96', + 'volcano-4': '#ff9c6e', + 'volcano-5': '#ff7a45', + 'volcano-6': '#fa541c', + 'volcano-7': '#d4380d', + 'volcano-8': '#ad2102', + 'volcano-9': '#871400', + 'volcano-10': '#610b00', + 'geekblue-1': '#f0f5ff', + 'geekblue-2': '#d6e4ff', + 'geekblue-3': '#adc6ff', + 'geekblue-4': '#85a5ff', + 'geekblue-5': '#597ef7', + 'geekblue-6': '#2f54eb', + 'geekblue-7': '#1d39c4', + 'geekblue-8': '#10239e', + 'geekblue-9': '#061178', + 'geekblue-10': '#030852', + 'gold-1': '#fffbe6', + 'gold-2': '#fff1b8', + 'gold-3': '#ffe58f', + 'gold-4': '#ffd666', + 'gold-5': '#ffc53d', + 'gold-6': '#faad14', + 'gold-7': '#d48806', + 'gold-8': '#ad6800', + 'gold-9': '#874d00', + 'gold-10': '#613400', + 'lime-1': '#fcffe6', + 'lime-2': '#f4ffb8', + 'lime-3': '#eaff8f', + 'lime-4': '#d3f261', + 'lime-5': '#bae637', + 'lime-6': '#a0d911', + 'lime-7': '#7cb305', + 'lime-8': '#5b8c00', + 'lime-9': '#3f6600', + 'lime-10': '#254000', + colorText: 'rgba(0, 0, 0, 0.88)', + colorTextSecondary: 'rgba(0, 0, 0, 0.65)', + colorTextTertiary: 'rgba(0, 0, 0, 0.45)', + colorTextQuaternary: 'rgba(0, 0, 0, 0.25)', + colorFill: 'rgba(0, 0, 0, 0.15)', + colorFillSecondary: 'rgba(0, 0, 0, 0.06)', + colorFillTertiary: 'rgba(0, 0, 0, 0.04)', + colorFillQuaternary: 'rgba(0, 0, 0, 0.02)', + colorBgLayout: 'hsl(220,23%,97%)', + colorBgContainer: '#ffffff', + colorBgElevated: '#ffffff', + colorBgSpotlight: 'rgba(0, 0, 0, 0.85)', + colorBorder: '#d9d9d9', + colorBorderSecondary: '#f0f0f0', + colorPrimaryBg: '#e6f4ff', + colorPrimaryBgHover: '#bae0ff', + colorPrimaryBorder: '#91caff', + colorPrimaryBorderHover: '#69b1ff', + colorPrimaryHover: '#4096ff', + colorPrimaryActive: '#0958d9', + colorPrimaryTextHover: '#4096ff', + colorPrimaryText: '#1677ff', + colorPrimaryTextActive: '#0958d9', + colorSuccessBg: '#f6ffed', + colorSuccessBgHover: '#d9f7be', + colorSuccessBorder: '#b7eb8f', + colorSuccessBorderHover: '#95de64', + colorSuccessHover: '#95de64', + colorSuccessActive: '#389e0d', + colorSuccessTextHover: '#73d13d', + colorSuccessText: '#52c41a', + colorSuccessTextActive: '#389e0d', + colorErrorBg: '#fff2f0', + colorErrorBgHover: '#fff1f0', + colorErrorBorder: '#ffccc7', + colorErrorBorderHover: '#ffa39e', + colorErrorHover: '#ffa39e', + colorErrorActive: '#d9363e', + colorErrorTextHover: '#ff7875', + colorErrorText: '#ff4d4f', + colorErrorTextActive: '#d9363e', + colorWarningBg: '#fffbe6', + colorWarningBgHover: '#fff1b8', + colorWarningBorder: '#ffe58f', + colorWarningBorderHover: '#ffd666', + colorWarningHover: '#ffd666', + colorWarningActive: '#d48806', + colorWarningTextHover: '#ffc53d', + colorWarningText: '#faad14', + colorWarningTextActive: '#d48806', + colorInfoBg: '#e6f4ff', + colorInfoBgHover: '#bae0ff', + colorInfoBorder: '#91caff', + colorInfoBorderHover: '#69b1ff', + colorInfoHover: '#69b1ff', + colorInfoActive: '#0958d9', + colorInfoTextHover: '#4096ff', + colorInfoText: '#1677ff', + colorInfoTextActive: '#0958d9', + colorBgMask: 'rgba(0, 0, 0, 0.45)', + colorWhite: '#fff', + sizeXXL: 48, + sizeXL: 32, + sizeLG: 24, + sizeMD: 20, + sizeMS: 16, + size: 16, + sizeSM: 12, + sizeXS: 8, + sizeXXS: 4, + controlHeightSM: 24, + controlHeightXS: 16, + controlHeightLG: 40, + motionDurationFast: '0.1s', + motionDurationMid: '0.2s', + motionDurationSlow: '0.3s', + fontSizes: [12, 14, 16, 20, 24, 30, 38, 46, 56, 68], + lineHeights: [1.6666666666666667, 1.5714285714285714, 1.5, 1.4, 1.3333333333333333, 1.2666666666666666, 1.2105263157894737, 1.173913043478261, 1.1428571428571428, 1.1176470588235294], + lineWidthBold: 2, + borderRadiusXS: 1, + borderRadiusSM: 4, + borderRadiusLG: 8, + borderRadiusOuter: 4, + colorLink: '#1677ff', + colorLinkHover: '#69b1ff', + colorLinkActive: '#0958d9', + colorFillContent: 'rgba(0, 0, 0, 0.06)', + colorFillContentHover: 'rgba(0, 0, 0, 0.15)', + colorFillAlter: 'rgba(0, 0, 0, 0.02)', + colorBgContainerDisabled: 'rgba(0, 0, 0, 0.04)', + colorBorderBg: '#ffffff', + colorSplit: 'rgba(5, 5, 5, 0.06)', + colorTextPlaceholder: 'rgba(0, 0, 0, 0.25)', + colorTextDisabled: 'rgba(0, 0, 0, 0.25)', + colorTextHeading: 'rgba(0, 0, 0, 0.88)', + colorTextLabel: 'rgba(0, 0, 0, 0.65)', + colorTextDescription: 'rgba(0, 0, 0, 0.45)', + colorTextLightSolid: '#fff', + colorHighlight: '#ff7875', + colorBgTextHover: 'rgba(0, 0, 0, 0.06)', + colorBgTextActive: 'rgba(0, 0, 0, 0.15)', + colorIcon: 'rgba(0, 0, 0, 0.45)', + colorIconHover: 'rgba(0, 0, 0, 0.88)', + colorErrorOutline: 'rgba(255, 38, 5, 0.06)', + colorWarningOutline: 'rgba(255, 215, 5, 0.1)', + fontSizeSM: 12, + fontSizeLG: 16, + fontSizeXL: 20, + fontSizeHeading1: 38, + fontSizeHeading2: 30, + fontSizeHeading3: 24, + fontSizeHeading4: 20, + fontSizeHeading5: 16, + fontSizeIcon: 12, + lineHeight: 1.5714285714285714, + lineHeightLG: 1.5, + lineHeightSM: 1.6666666666666667, + lineHeightHeading1: 1.2105263157894737, + lineHeightHeading2: 1.2666666666666666, + lineHeightHeading3: 1.3333333333333333, + lineHeightHeading4: 1.4, + lineHeightHeading5: 1.5, + controlOutlineWidth: 2, + controlInteractiveSize: 16, + controlItemBgHover: 'rgba(0, 0, 0, 0.04)', + controlItemBgActive: '#e6f4ff', + controlItemBgActiveHover: '#bae0ff', + controlItemBgActiveDisabled: 'rgba(0, 0, 0, 0.15)', + controlTmpOutline: 'rgba(0, 0, 0, 0.02)', + controlOutline: 'rgba(5, 145, 255, 0.1)', + fontWeightStrong: 600, + opacityLoading: 0.65, + linkDecoration: 'none', + linkHoverDecoration: 'none', + linkFocusDecoration: 'none', + controlPaddingHorizontal: 12, + controlPaddingHorizontalSM: 8, + paddingXXS: 4, + paddingXS: 8, + paddingSM: 12, + padding: 16, + paddingMD: 20, + paddingLG: 24, + paddingXL: 32, + paddingContentHorizontalLG: 24, + paddingContentVerticalLG: 16, + paddingContentHorizontal: 16, + paddingContentVertical: 12, + paddingContentHorizontalSM: 16, + paddingContentVerticalSM: 8, + marginXXS: 4, + marginXS: 8, + marginSM: 12, + margin: 16, + marginMD: 20, + marginLG: 24, + marginXL: 32, + marginXXL: 48, + boxShadow: '0 1px 2px 0 rgba(0, 0, 0, 0.03),0 1px 6px -1px rgba(0, 0, 0, 0.02),0 2px 4px 0 rgba(0, 0, 0, 0.02)', + boxShadowSecondary: '0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)', + screenXS: 480, + screenXSMin: 480, + screenXSMax: 479, + screenSM: 576, + screenSMMin: 576, + screenSMMax: 575, + screenMD: 768, + screenMDMin: 768, + screenMDMax: 767, + screenLG: 992, + screenLGMin: 992, + screenLGMax: 991, + screenXL: 1200, + screenXLMin: 1200, + screenXLMax: 1199, + screenXXL: 1600, + screenXXLMin: 1600, + screenXXLMax: 1599, + boxShadowPopoverArrow: '3px 3px 7px rgba(0, 0, 0, 0.1)', + boxShadowCard: '0 1px 2px -2px rgba(0, 0, 0, 0.16),0 3px 6px 0 rgba(0, 0, 0, 0.12),0 5px 12px 4px rgba(0, 0, 0, 0.09)', + boxShadowDrawerRight: '-6px 0 16px 0 rgba(0, 0, 0, 0.08),-3px 0 6px -4px rgba(0, 0, 0, 0.12),-9px 0 28px 8px rgba(0, 0, 0, 0.05)', + boxShadowDrawerLeft: '6px 0 16px 0 rgba(0, 0, 0, 0.08),3px 0 6px -4px rgba(0, 0, 0, 0.12),9px 0 28px 8px rgba(0, 0, 0, 0.05)', + boxShadowDrawerUp: '0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05)', + boxShadowDrawerDown: '0 -6px 16px 0 rgba(0, 0, 0, 0.08),0 -3px 6px -4px rgba(0, 0, 0, 0.12),0 -9px 28px 8px rgba(0, 0, 0, 0.05)', + boxShadowTabsOverflowLeft: 'inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)', + boxShadowTabsOverflowRight: 'inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)', + boxShadowTabsOverflowTop: 'inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)', + boxShadowTabsOverflowBottom: 'inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)', + _tokenKey: '19w80ff', + _hashId: 'css-dev-only-do-not-override-i2zu9q' +}; +var hashCode = function hashCode(str) { + var seed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; + var h1 = 0xdeadbeef ^ seed, + h2 = 0x41c6ce57 ^ seed; + for (var i = 0, ch; i < str.length; i++) { + ch = str.charCodeAt(i); + h1 = Math.imul(h1 ^ ch, 2654435761); + h2 = Math.imul(h2 ^ ch, 1597334677); + } + h1 = Math.imul(h1 ^ h1 >>> 16, 2246822507) ^ Math.imul(h2 ^ h2 >>> 13, 3266489909); + h2 = Math.imul(h2 ^ h2 >>> 16, 2246822507) ^ Math.imul(h1 ^ h1 >>> 13, 3266489909); + return 4294967296 * (2097151 & h2) + (h1 >>> 0); +}; + +// @ts-ignore +var emptyTheme = (0,es.createTheme)(function (token) { + return token; +}); +var token = { + theme: emptyTheme, + token: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, defaultToken), theme === null || theme === void 0 || (_theme$defaultAlgorit = theme.defaultAlgorithm) === null || _theme$defaultAlgorit === void 0 ? void 0 : _theme$defaultAlgorit.call(theme, theme === null || theme === void 0 ? void 0 : theme.defaultSeed)), + hashId: "pro-".concat(hashCode(JSON.stringify(defaultToken))) +}; +var token_useToken = function useToken() { + return token; +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/useStyle/index.js + + + + + + + + +/** + * 把一个颜色设置一下透明度 + * @example (#fff, 0.5) => rgba(255, 255, 255, 0.5) + * @param baseColor {string} + * @param alpha {0-1} + * @returns rgba {string} + */ +var setAlpha = function setAlpha(baseColor, alpha) { + return new dist_module/* TinyColor */.C(baseColor).setAlpha(alpha).toRgbString(); +}; + +/** + * 把一个颜色修改一些明度 + * @example (#000, 50) => #808080 + * @param baseColor {string} + * @param brightness {0-100} + * @returns hexColor {string} + */ +var lighten = function lighten(baseColor, brightness) { + var instance = new TinyColor(baseColor); + return instance.lighten(brightness).toHexString(); +}; +var genTheme = function genTheme() { + if (typeof theme === 'undefined' || !theme) return token_namespaceObject; + return theme; +}; +var proTheme = genTheme(); +var useStyle_useToken = proTheme.useToken; +var resetComponent = function resetComponent(token) { + return { + boxSizing: 'border-box', + margin: 0, + padding: 0, + color: token.colorText, + fontSize: token.fontSize, + lineHeight: token.lineHeight, + listStyle: 'none' + }; +}; +var operationUnit = function operationUnit(token) { + return { + // FIXME: This use link but is a operation unit. Seems should be a colorPrimary. + // And Typography use this to generate link style which should not do this. + color: token.colorLink, + outline: 'none', + cursor: 'pointer', + transition: "color ".concat(token.motionDurationSlow), + '&:focus, &:hover': { + color: token.colorLinkHover + }, + '&:active': { + color: token.colorLinkActive + } + }; +}; + +/** + * 封装了一下 antd 的 useStyle,支持了一下antd@4 + * @param componentName {string} 组件的名字 + * @param styleFn {GenerateStyle} 生成样式的函数 + * @returns UseStyleResult + */ +function useStyle_useStyle(componentName, styleFn) { + var _token$proComponentsC; + var _useContext = (0,_react_17_0_2_react.useContext)(ProProvider), + _useContext$token = _useContext.token, + token = _useContext$token === void 0 ? {} : _useContext$token; + var _useContext2 = (0,_react_17_0_2_react.useContext)(ProProvider), + hashed = _useContext2.hashed; + var _useToken = useStyle_useToken(), + antdToken = _useToken.token, + hashId = _useToken.hashId; + var _useContext3 = (0,_react_17_0_2_react.useContext)(ProProvider), + provideTheme = _useContext3.theme; + var _useContext4 = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext4.getPrefixCls; + + // 如果不在 ProProvider 里面,就用 antd 的 + if (!token.layout) { + token = (0,objectSpread2/* default */.Z)({}, antdToken); + } + token.proComponentsCls = (_token$proComponentsC = token.proComponentsCls) !== null && _token$proComponentsC !== void 0 ? _token$proComponentsC : ".".concat(getPrefixCls('pro')); + token.antCls = ".".concat(getPrefixCls()); + return { + wrapSSR: (0,es.useStyleRegister)({ + theme: provideTheme, + token: token, + path: [componentName] + }, function () { + return styleFn(token); + }), + hashId: hashed ? hashId : '' + }; +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/typing/layoutToken.js + + +var getLayoutDesignToken = function getLayoutDesignToken(designTokens, antdToken) { + var _finalDesignTokens$si, _finalDesignTokens$he, _finalDesignTokens$he2, _finalDesignTokens$pa, _finalDesignTokens$pa2; + var finalDesignTokens = (0,objectSpread2/* default */.Z)({}, designTokens); + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + bgLayout: "linear-gradient(".concat(antdToken.colorBgContainer, ", ").concat(antdToken.colorBgLayout, " 28%)"), + colorTextAppListIcon: antdToken.colorTextSecondary, + appListIconHoverBgColor: finalDesignTokens === null || finalDesignTokens === void 0 || (_finalDesignTokens$si = finalDesignTokens.sider) === null || _finalDesignTokens$si === void 0 ? void 0 : _finalDesignTokens$si.colorBgMenuItemSelected, + colorBgAppListIconHover: setAlpha(antdToken.colorTextBase, 0.04), + colorTextAppListIconHover: antdToken.colorTextBase + }, finalDesignTokens), {}, { + header: (0,objectSpread2/* default */.Z)({ + colorBgHeader: setAlpha(antdToken.colorBgElevated, 0.6), + colorBgScrollHeader: setAlpha(antdToken.colorBgElevated, 0.8), + colorHeaderTitle: antdToken.colorText, + colorBgMenuItemHover: setAlpha(antdToken.colorTextBase, 0.03), + colorBgMenuItemSelected: 'transparent', + colorBgMenuElevated: (finalDesignTokens === null || finalDesignTokens === void 0 || (_finalDesignTokens$he = finalDesignTokens.header) === null || _finalDesignTokens$he === void 0 ? void 0 : _finalDesignTokens$he.colorBgHeader) !== 'rgba(255, 255, 255, 0.6)' ? (_finalDesignTokens$he2 = finalDesignTokens.header) === null || _finalDesignTokens$he2 === void 0 ? void 0 : _finalDesignTokens$he2.colorBgHeader : antdToken.colorBgElevated, + colorTextMenuSelected: setAlpha(antdToken.colorTextBase, 0.95), + colorBgRightActionsItemHover: setAlpha(antdToken.colorTextBase, 0.03), + colorTextRightActionsItem: antdToken.colorTextTertiary, + heightLayoutHeader: 56, + colorTextMenu: antdToken.colorTextSecondary, + colorTextMenuSecondary: antdToken.colorTextTertiary, + colorTextMenuTitle: antdToken.colorText, + colorTextMenuActive: antdToken.colorText + }, finalDesignTokens.header), + sider: (0,objectSpread2/* default */.Z)({ + paddingInlineLayoutMenu: 8, + paddingBlockLayoutMenu: 0, + colorBgCollapsedButton: antdToken.colorBgElevated, + colorTextCollapsedButtonHover: antdToken.colorTextSecondary, + colorTextCollapsedButton: setAlpha(antdToken.colorTextBase, 0.25), + colorMenuBackground: 'transparent', + colorMenuItemDivider: setAlpha(antdToken.colorTextBase, 0.06), + colorBgMenuItemHover: setAlpha(antdToken.colorTextBase, 0.03), + colorBgMenuItemSelected: setAlpha(antdToken.colorTextBase, 0.04), + colorTextMenuItemHover: antdToken.colorText, + colorTextMenuSelected: setAlpha(antdToken.colorTextBase, 0.95), + colorTextMenuActive: antdToken.colorText, + colorTextMenu: antdToken.colorTextSecondary, + colorTextMenuSecondary: antdToken.colorTextTertiary, + colorTextMenuTitle: antdToken.colorText, + colorTextSubMenuSelected: setAlpha(antdToken.colorTextBase, 0.95) + }, finalDesignTokens.sider), + pageContainer: (0,objectSpread2/* default */.Z)({ + colorBgPageContainer: 'transparent', + paddingInlinePageContainerContent: ((_finalDesignTokens$pa = finalDesignTokens.pageContainer) === null || _finalDesignTokens$pa === void 0 ? void 0 : _finalDesignTokens$pa.marginInlinePageContainerContent) || 40, + paddingBlockPageContainerContent: ((_finalDesignTokens$pa2 = finalDesignTokens.pageContainer) === null || _finalDesignTokens$pa2 === void 0 ? void 0 : _finalDesignTokens$pa2.marginBlockPageContainerContent) || 32, + colorBgPageContainerFixed: antdToken.colorBgElevated + }, finalDesignTokens.pageContainer) + }); +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/utils/merge.js + + +var merge_merge = function merge() { + var obj = {}; + for (var _len = arguments.length, rest = new Array(_len), _key = 0; _key < _len; _key++) { + rest[_key] = arguments[_key]; + } + var il = rest.length; + var key; + var i = 0; + for (; i < il; i += 1) { + for (key in rest[i]) { + if (rest[i].hasOwnProperty(key)) { + if ((0,esm_typeof/* default */.Z)(obj[key]) === 'object' && (0,esm_typeof/* default */.Z)(rest[i][key]) === 'object' && obj[key] !== undefined && obj[key] !== null && !Array.isArray(obj[key]) && !Array.isArray(rest[i][key])) { + obj[key] = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, obj[key]), rest[i][key]); + } else { + obj[key] = rest[i][key]; + } + } + } + } + return obj; +}; +// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.12@dayjs/locale/zh-cn.js +var zh_cn = __webpack_require__(42160); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-provider@2.14.9@@ant-design/pro-provider/es/index.js +/* provided dependency */ var es_process = __webpack_require__(/*! ./node_modules/_process@0.11.10@process/browser.js */ 97671); + + + + +var _excluded = ["locale", "getPrefixCls"], + _excluded2 = ["locale", "theme"]; + + + + + + + + + + + + + + + + + +var es_omitUndefined = function omitUndefined(obj) { + var newObj = {}; + Object.keys(obj || {}).forEach(function (key) { + if (obj[key] !== undefined) { + newObj[key] = obj[key]; + } + }); + if (Object.keys(newObj).length < 1) { + return undefined; + } + return newObj; +}; + +/** + * 用于判断当前是否需要开启哈希(Hash)模式。 + * 首先也会判断当前是否处于测试环境中(通过 process.env.NODE_ENV === 'TEST' 判断), + * 如果是,则返回 false。否则,直接返回 true 表示需要打开。 + * @returns + */ +var isNeedOpenHash = function isNeedOpenHash() { + var _process$env$NODE_ENV, _process$env$NODE_ENV2; + if (typeof es_process !== 'undefined' && (((_process$env$NODE_ENV = "production") === null || _process$env$NODE_ENV === void 0 ? void 0 : _process$env$NODE_ENV.toUpperCase()) === 'TEST' || ((_process$env$NODE_ENV2 = "production") === null || _process$env$NODE_ENV2 === void 0 ? void 0 : _process$env$NODE_ENV2.toUpperCase()) === 'DEV')) { + return false; + } + return true; +}; + +/** + * 用于配置 ValueEnum 的通用配置 + */ + +/** + * 支持 Map 和 Object + * + * @name ValueEnum 的类型 + */ + +/** + * 支持 Map 和 Object + */ + +/** + * BaseProFieldFC 的类型设置 + */ + +/** Render 第二个参数,里面包含了一些常用的参数 */ + +/** + * 自带的token 配置 + */ + +/* Creating a context object with the default values. */ +var ProConfigContext = /*#__PURE__*/_react_17_0_2_react.createContext({ + intl: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, zhCNIntl), {}, { + locale: 'default' + }), + valueTypeMap: {}, + theme: emptyTheme, + hashed: true, + dark: false, + token: defaultToken +}); +var ConfigConsumer = ProConfigContext.Consumer; + +/** + * 组件解除挂载后清空一下 cache + * @date 2022-11-28 + * @returns null + */ + +var CacheClean = function CacheClean() { + var _useSWRConfig = useSWRConfig(), + cache = _useSWRConfig.cache; + (0,_react_17_0_2_react.useEffect)(function () { + return function () { + // is a map + // @ts-ignore + cache.clear(); + }; + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + return null; +}; + +/** + * 用于配置 Pro 的组件,分装之后会简单一些 + * @param props + * @returns + */ +var ConfigProviderContainer = function ConfigProviderContainer(props) { + var _proTheme$useToken; + var children = props.children, + dark = props.dark, + valueTypeMap = props.valueTypeMap, + _props$autoClearCache = props.autoClearCache, + autoClearCache = _props$autoClearCache === void 0 ? false : _props$autoClearCache, + propsToken = props.token, + prefixCls = props.prefixCls, + intl = props.intl; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + locale = _useContext.locale, + getPrefixCls = _useContext.getPrefixCls, + restConfig = (0,objectWithoutProperties/* default */.Z)(_useContext, _excluded); + var tokenContext = (_proTheme$useToken = proTheme.useToken) === null || _proTheme$useToken === void 0 ? void 0 : _proTheme$useToken.call(proTheme); + var proProvide = (0,_react_17_0_2_react.useContext)(ProConfigContext); + + /** + * pro 的 类 + * @type {string} + * @example .ant-pro + */ + + var proComponentsCls = prefixCls ? ".".concat(prefixCls) : ".".concat(getPrefixCls(), "-pro"); + var antCls = '.' + getPrefixCls(); + var salt = "".concat(proComponentsCls); + /** + * 合并一下token,不然导致嵌套 token 失效 + */ + var proLayoutTokenMerge = (0,_react_17_0_2_react.useMemo)(function () { + return getLayoutDesignToken(propsToken || {}, tokenContext.token || defaultToken); + }, [propsToken, tokenContext.token]); + var proProvideValue = (0,_react_17_0_2_react.useMemo)(function () { + var _proProvide$intl; + var localeName = locale === null || locale === void 0 ? void 0 : locale.locale; + var key = findIntlKeyByAntdLocaleKey(localeName); + // antd 的 key 存在的时候以 antd 的为主 + var resolvedIntl = intl !== null && intl !== void 0 ? intl : localeName && ((_proProvide$intl = proProvide.intl) === null || _proProvide$intl === void 0 ? void 0 : _proProvide$intl.locale) === 'default' ? intlMap[key] : proProvide.intl || intlMap[key]; + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, proProvide), {}, { + dark: dark !== null && dark !== void 0 ? dark : proProvide.dark, + token: merge_merge(proProvide.token, tokenContext.token, { + proComponentsCls: proComponentsCls, + antCls: antCls, + themeId: tokenContext.theme.id, + layout: proLayoutTokenMerge + }), + intl: resolvedIntl || zhCNIntl + }); + }, [locale === null || locale === void 0 ? void 0 : locale.locale, proProvide, dark, tokenContext.token, tokenContext.theme.id, proComponentsCls, antCls, proLayoutTokenMerge, intl]); + var finalToken = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, proProvideValue.token || {}), {}, { + proComponentsCls: proComponentsCls + }); + var _useCacheToken = (0,es.useCacheToken)(tokenContext.theme, [tokenContext.token, finalToken !== null && finalToken !== void 0 ? finalToken : {}], { + salt: salt, + override: finalToken + }), + _useCacheToken2 = (0,slicedToArray/* default */.Z)(_useCacheToken, 2), + token = _useCacheToken2[0], + nativeHashId = _useCacheToken2[1]; + var hashed = (0,_react_17_0_2_react.useMemo)(function () { + if (props.hashed === false) { + return false; + } + if (proProvide.hashed === false) return false; + return true; + }, [proProvide.hashed, props.hashed]); + var hashId = (0,_react_17_0_2_react.useMemo)(function () { + if (props.hashed === false) { + return ''; + } + if (proProvide.hashed === false) return ''; + //Fix issue with hashId code + if (isNeedOpenHash() === false) { + return ''; + } else if (tokenContext.hashId) { + return tokenContext.hashId; + } else { + // 生产环境或其他环境 + return nativeHashId; + } + }, [nativeHashId, proProvide.hashed, props.hashed]); + (0,_react_17_0_2_react.useEffect)(function () { + dayjs_min_default().locale((locale === null || locale === void 0 ? void 0 : locale.locale) || 'zh-cn'); + }, [locale === null || locale === void 0 ? void 0 : locale.locale]); + var themeConfig = (0,_react_17_0_2_react.useMemo)(function () { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restConfig.theme), {}, { + hashId: hashId, + hashed: hashed && isNeedOpenHash() + }); + }, [restConfig.theme, hashId, hashed, isNeedOpenHash()]); + var proConfigContextValue = (0,_react_17_0_2_react.useMemo)(function () { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, proProvideValue), {}, { + valueTypeMap: valueTypeMap || (proProvideValue === null || proProvideValue === void 0 ? void 0 : proProvideValue.valueTypeMap), + token: token, + theme: tokenContext.theme, + hashed: hashed, + hashId: hashId + }); + }, [proProvideValue, valueTypeMap, token, tokenContext.theme, hashed, hashId]); + var configProviderDom = (0,_react_17_0_2_react.useMemo)(function () { + return /*#__PURE__*/(0,jsx_runtime.jsx)(config_provider/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restConfig), {}, { + theme: themeConfig, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ProConfigContext.Provider, { + value: proConfigContextValue, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [autoClearCache && /*#__PURE__*/(0,jsx_runtime.jsx)(CacheClean, {}), children] + }) + }) + })); + + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [restConfig, themeConfig, proConfigContextValue, autoClearCache, children]); + if (!autoClearCache) return configProviderDom; + return /*#__PURE__*/(0,jsx_runtime.jsx)(core_SWRConfig, { + value: { + provider: function provider() { + return new Map(); + } + }, + children: configProviderDom + }); +}; + +/** + * 用于配置 Pro 的一些全局性的东西 + * @param props + * @returns + */ +var ProConfigProvider = function ProConfigProvider(props) { + var needDeps = props.needDeps, + dark = props.dark, + token = props.token; + var proProvide = (0,_react_17_0_2_react.useContext)(ProConfigContext); + var _useContext2 = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + locale = _useContext2.locale, + theme = _useContext2.theme, + rest = (0,objectWithoutProperties/* default */.Z)(_useContext2, _excluded2); + + // 是不是不需要渲染 provide + var isNullProvide = needDeps && proProvide.hashId !== undefined && Object.keys(props).sort().join('-') === 'children-needDeps'; + if (isNullProvide) return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: props.children + }); + var mergeAlgorithm = function mergeAlgorithm() { + var isDark = dark !== null && dark !== void 0 ? dark : proProvide.dark; + if (isDark && !Array.isArray(theme === null || theme === void 0 ? void 0 : theme.algorithm)) { + return [proTheme.darkAlgorithm, theme === null || theme === void 0 ? void 0 : theme.algorithm].filter(Boolean); + } + if (isDark && Array.isArray(theme === null || theme === void 0 ? void 0 : theme.algorithm)) { + return [proTheme.darkAlgorithm].concat((0,toConsumableArray/* default */.Z)((theme === null || theme === void 0 ? void 0 : theme.algorithm) || [])).filter(Boolean); + } + return theme === null || theme === void 0 ? void 0 : theme.algorithm; + }; + // 自动注入 antd 的配置 + var configProvider = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, rest), {}, { + locale: locale || zh_CN/* default */.Z, + theme: es_omitUndefined((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, theme), {}, { + algorithm: mergeAlgorithm() + })) + }); + return /*#__PURE__*/(0,jsx_runtime.jsx)(config_provider/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, configProvider), {}, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ConfigProviderContainer, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + token: token + })) + })); +}; + +/** + * It returns the intl object from the context if it exists, otherwise it returns the intl object for + * 获取国际化的方法 + * @param locale + * @param localeMap + * the current locale + * @returns The return value of the function is the intl object. + */ +function es_useIntl() { + var _useContext3 = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + locale = _useContext3.locale; + var _useContext4 = (0,_react_17_0_2_react.useContext)(ProConfigContext), + intl = _useContext4.intl; + if (intl && intl.locale !== 'default') { + return intl || zhCNIntl; + } + if (locale !== null && locale !== void 0 && locale.locale) { + return intlMap[findIntlKeyByAntdLocaleKey(locale.locale)] || zhCNIntl; + } + return zhCNIntl; +} +ProConfigContext.displayName = 'ProProvider'; +var ProProvider = ProConfigContext; +/* harmony default export */ var pro_provider_es = ((/* unused pure expression or super */ null && (ProConfigContext))); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/runFunction/index.js +/** 如果是个方法执行一下它 */ +function runFunction(valueEnum) { + if (typeof valueEnum === 'function') { + for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + rest[_key - 1] = arguments[_key]; + } + return valueEnum.apply(void 0, rest); + } + return valueEnum; +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/hooks/useRefFunction/index.js + + +var useRefFunction = function useRefFunction(reFunction) { + var ref = (0,_react_17_0_2_react.useRef)(null); + ref.current = reFunction; + return (0,_react_17_0_2_react.useCallback)(function () { + var _ref$current; + for (var _len = arguments.length, rest = new Array(_len), _key = 0; _key < _len; _key++) { + rest[_key] = arguments[_key]; + } + return (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.call.apply(_ref$current, [ref].concat((0,toConsumableArray/* default */.Z)(rest))); + }, []); +}; + +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/hooks/usePrevious/index.js + +var usePrevious = function usePrevious(state) { + var ref = (0,_react_17_0_2_react.useRef)(); + (0,_react_17_0_2_react.useEffect)(function () { + ref.current = state; + }); + return ref.current; +}; +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/unsupportedIterableToArray.js +var unsupportedIterableToArray = __webpack_require__(98258); +;// CONCATENATED MODULE: ./node_modules/_@babel_runtime@7.25.0@@babel/runtime/helpers/esm/createForOfIteratorHelper.js + +function _createForOfIteratorHelper(r, e) { + var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; + if (!t) { + if (Array.isArray(r) || (t = (0,unsupportedIterableToArray/* default */.Z)(r)) || e && r && "number" == typeof r.length) { + t && (r = t); + var _n = 0, + F = function F() {}; + return { + s: F, + n: function n() { + return _n >= r.length ? { + done: !0 + } : { + done: !1, + value: r[_n++] + }; + }, + e: function e(r) { + throw r; + }, + 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 o, + a = !0, + u = !1; + return { + s: function s() { + t = t.call(r); + }, + n: function n() { + var r = t.next(); + return a = r.done, r; + }, + e: function e(r) { + u = !0, o = r; + }, + f: function f() { + try { + a || null == t["return"] || t["return"](); + } finally { + if (u) throw o; + } + } + }; +} + +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/isDeepEqualReact/index.js + + +/* eslint-disable no-restricted-syntax */ +/* eslint-disable no-continue */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable no-self-compare */ +/* eslint-disable eqeqeq */ +/* eslint-disable no-plusplus */ +// do not edit .js files directly - edit src/index.jst + +function isDeepEqualReact(a, b, ignoreKeys, debug) { + if (a === b) return true; + if (a && b && (0,esm_typeof/* default */.Z)(a) === 'object' && (0,esm_typeof/* default */.Z)(b) === 'object') { + if (a.constructor !== b.constructor) return false; + var length; + var i; + var keys; + if (Array.isArray(a)) { + length = a.length; + if (length != b.length) return false; + for (i = length; i-- !== 0;) if (!isDeepEqualReact(a[i], b[i], ignoreKeys, debug)) return false; + return true; + } + if (a instanceof Map && b instanceof Map) { + if (a.size !== b.size) return false; + var _iterator = _createForOfIteratorHelper(a.entries()), + _step; + try { + for (_iterator.s(); !(_step = _iterator.n()).done;) { + i = _step.value; + if (!b.has(i[0])) return false; + } + } catch (err) { + _iterator.e(err); + } finally { + _iterator.f(); + } + var _iterator2 = _createForOfIteratorHelper(a.entries()), + _step2; + try { + for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) { + i = _step2.value; + if (!isDeepEqualReact(i[1], b.get(i[0]), ignoreKeys, debug)) return false; + } + } catch (err) { + _iterator2.e(err); + } finally { + _iterator2.f(); + } + return true; + } + if (a instanceof Set && b instanceof Set) { + if (a.size !== b.size) return false; + var _iterator3 = _createForOfIteratorHelper(a.entries()), + _step3; + try { + for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) { + i = _step3.value; + if (!b.has(i[0])) return false; + } + } catch (err) { + _iterator3.e(err); + } finally { + _iterator3.f(); + } + return true; + } + if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) { + // @ts-ignore + length = a.length; + // @ts-ignore + if (length != b.length) return false; + // @ts-ignore + for (i = length; i-- !== 0;) if (a[i] !== b[i]) return false; + return true; + } + if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags; + if (a.valueOf !== Object.prototype.valueOf && a.valueOf) return a.valueOf() === b.valueOf(); + if (a.toString !== Object.prototype.toString && a.toString) return a.toString() === b.toString(); + + // eslint-disable-next-line prefer-const + keys = Object.keys(a); + length = keys.length; + if (length !== Object.keys(b).length) return false; + for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false; + for (i = length; i-- !== 0;) { + var key = keys[i]; + if (ignoreKeys !== null && ignoreKeys !== void 0 && ignoreKeys.includes(key)) continue; + if (key === '_owner' && a.$$typeof) { + // React-specific: avoid traversing React elements' _owner. + // _owner contains circular references + // and is not needed when comparing the actual elements (and not their owners) + continue; + } + if (!isDeepEqualReact(a[key], b[key], ignoreKeys, debug)) { + if (debug) { + console.log(key); + } + return false; + } + } + return true; + } + + // true if both NaN, false otherwise + return a !== a && b !== b; +} +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/components/ProFormContext/index.js + +var ProFormContext_ProFormContext = /*#__PURE__*/_react_17_0_2_react.createContext({}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/nanoid/index.js +/* eslint-disable prefer-const */ + +var index = 0; +var genNanoid = function genNanoid() { + var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 21; + if (typeof window === 'undefined') return (index += 1).toFixed(0); + if (!window.crypto) return (index += 1).toFixed(0); + var e = '', + r = crypto.getRandomValues(new Uint8Array(t)); + // eslint-disable-next-line no-param-reassign + for (; t--;) { + var n = 63 & r[t]; + e += n < 36 ? n.toString(36) : n < 62 ? (n - 26).toString(36).toUpperCase() : n < 63 ? '_' : '-'; + } + return e; +}; + +/** + * 生成uuid,如果不支持 randomUUID,就用 genNanoid + * + * @returns string + */ +var nanoid = function nanoid() { + if (typeof window === 'undefined') return genNanoid(); + // @ts-ignore + if (window.crypto && window.crypto.randomUUID && typeof crypto.randomUUID == 'function') { + // @ts-ignore + return crypto.randomUUID(); + } + return genNanoid(); +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/hooks/useFetchData/index.js + + + + + +var testId = 0; +function useFetchData(props) { + var abortRef = (0,_react_17_0_2_react.useRef)(null); + /** Key 是用来缓存请求的,如果不在是有问题 */ + var _useState = (0,_react_17_0_2_react.useState)(function () { + if (props.proFieldKey) { + return props.proFieldKey.toString(); + } + testId += 1; + return testId.toString(); + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 1), + cacheKey = _useState2[0]; + var proFieldKeyRef = (0,_react_17_0_2_react.useRef)(cacheKey); + var fetchData = /*#__PURE__*/function () { + var _ref = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee() { + var _abortRef$current, _props$request; + var abort, loadData; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + (_abortRef$current = abortRef.current) === null || _abortRef$current === void 0 || _abortRef$current.abort(); + abort = new AbortController(); + abortRef.current = abort; + _context.next = 5; + return Promise.race([(_props$request = props.request) === null || _props$request === void 0 ? void 0 : _props$request.call(props, props.params, props), new Promise(function (_, reject) { + var _abortRef$current2; + (_abortRef$current2 = abortRef.current) === null || _abortRef$current2 === void 0 || (_abortRef$current2 = _abortRef$current2.signal) === null || _abortRef$current2 === void 0 || _abortRef$current2.addEventListener('abort', function () { + reject(new Error('aborted')); + }); + })]); + case 5: + loadData = _context.sent; + return _context.abrupt("return", loadData); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function fetchData() { + return _ref.apply(this, arguments); + }; + }(); + (0,_react_17_0_2_react.useEffect)(function () { + return function () { + testId += 1; + }; + }, []); + var _useSWR = useSWR([proFieldKeyRef.current, props.params], fetchData, { + revalidateOnFocus: false, + shouldRetryOnError: false, + revalidateOnReconnect: false + }), + data = _useSWR.data, + error = _useSWR.error; + return [data || error]; +} +// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/utils/get.js +var get = __webpack_require__(90996); +// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/utils/set.js +var set = __webpack_require__(74136); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/isNil/index.js +var isNil = function isNil(value) { + return value === null || value === undefined; +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/merge/index.js + + +/* eslint-disable prefer-rest-params */ + +/** + * 用于合并 n 个对象 + * @param {any[]} ...rest + * @returns T + */ +var es_merge_merge = function merge() { + var obj = {}; + for (var _len = arguments.length, rest = new Array(_len), _key = 0; _key < _len; _key++) { + rest[_key] = arguments[_key]; + } + var il = rest.length; + var key; + var i = 0; + for (; i < il; i += 1) { + // eslint-disable-next-line no-restricted-syntax + for (key in rest[i]) { + if (rest[i].hasOwnProperty(key)) { + if ((0,esm_typeof/* default */.Z)(obj[key]) === 'object' && (0,esm_typeof/* default */.Z)(rest[i][key]) === 'object' && obj[key] !== undefined && obj[key] !== null && !Array.isArray(obj[key]) && !Array.isArray(rest[i][key])) { + obj[key] = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, obj[key]), rest[i][key]); + } else { + obj[key] = rest[i][key]; + } + } + } + } + return obj; +}; + +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/transformKeySubmitValue/index.js + + + + + + + + + +/** + * 暂时还不支持 Set和 Map 结构 判断是不是一个能遍历的对象 + * + * @param itemValue + * @returns Boolean + */ +function isPlainObj(itemValue) { + if ((0,esm_typeof/* default */.Z)(itemValue) !== 'object') return false; + + /** Null 也要处理,不然omit空会失效 */ + if (itemValue === null) return true; + if ( /*#__PURE__*/_react_17_0_2_react.isValidElement(itemValue)) return false; + if (itemValue.constructor === RegExp) return false; + if (itemValue instanceof Map) return false; + if (itemValue instanceof Set) return false; + if (itemValue instanceof HTMLElement) return false; + if (itemValue instanceof Blob) return false; + if (itemValue instanceof File) return false; + if (Array.isArray(itemValue)) return false; + return true; +} +var transformKeySubmitValue = function transformKeySubmitValue(values, dataFormatMapRaw) { + var omit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; + // ignore nil transform + var dataFormatMap = Object.keys(dataFormatMapRaw).reduce(function (ret, key) { + var value = dataFormatMapRaw[key]; + if (!isNil(value)) { + // eslint-disable-next-line no-param-reassign + ret[key] = value; // can't be undefined + } + return ret; + }, {}); + if (Object.keys(dataFormatMap).length < 1) { + return values; + } + if (typeof window === 'undefined') return values; + // 如果 value 是 string | null | Array | Blob类型 其中之一,直接返回 + // 形如 {key: [File, File]} 的表单字段当进行第二次递归时会导致其直接越过 typeof value !== 'object' 这一判断 https://github.com/ant-design/pro-components/issues/2071 + if ((0,esm_typeof/* default */.Z)(values) !== 'object' || isNil(values) || values instanceof Blob) { + return values; + } + var finalValues = Array.isArray(values) ? [] : {}; + var gen = function gen(tempValues, parentsKey) { + var isArrayValues = Array.isArray(tempValues); + var result = isArrayValues ? [] : {}; + if (tempValues == null || tempValues === undefined) { + return result; + } + Object.keys(tempValues).forEach(function (entityKey) { + var transformForArray = function transformForArray(transformList, subItemValue) { + if (!Array.isArray(transformList)) return entityKey; + transformList.forEach(function (transform, idx) { + // 如果不存在直接返回 + if (!transform) return; + var subTransformItem = subItemValue === null || subItemValue === void 0 ? void 0 : subItemValue[idx]; + + // 如果是个方法,把key设置为方法的返回值 + if (typeof transform === 'function') { + subItemValue[idx] = transform(subItemValue, entityKey, tempValues); + } + if ((0,esm_typeof/* default */.Z)(transform) === 'object' && !Array.isArray(transform)) { + Object.keys(transform).forEach(function (transformArrayItem) { + var subTransformItemValue = subTransformItem === null || subTransformItem === void 0 ? void 0 : subTransformItem[transformArrayItem]; + if (typeof transform[transformArrayItem] === 'function' && subTransformItemValue) { + var res = transform[transformArrayItem](subTransformItem[transformArrayItem], entityKey, tempValues); + subTransformItem[transformArrayItem] = (0,esm_typeof/* default */.Z)(res) === 'object' ? res[transformArrayItem] : res; + } else if ((0,esm_typeof/* default */.Z)(transform[transformArrayItem]) === 'object' && Array.isArray(transform[transformArrayItem]) && subTransformItemValue) { + transformForArray(transform[transformArrayItem], subTransformItemValue); + } + }); + } + if ((0,esm_typeof/* default */.Z)(transform) === 'object' && Array.isArray(transform) && subTransformItem) { + transformForArray(transform, subTransformItem); + } + }); + return entityKey; + }; + var key = parentsKey ? [parentsKey, entityKey].flat(1) : [entityKey].flat(1); + var itemValue = tempValues[entityKey]; + var transformFunction = (0,get/* default */.Z)(dataFormatMap, key); + var transform = function transform() { + var tempKey, + transformedResult, + isTransformedResultPrimitive = false; + + /** + * 先判断是否是方法,是的话执行后拿到值,如果是基本类型,则认为是直接 transform 为新的值, + * 如果返回是 Object 则认为是 transform 为新的 {newKey: newValue} + */ + if (typeof transformFunction === 'function') { + transformedResult = transformFunction === null || transformFunction === void 0 ? void 0 : transformFunction(itemValue, entityKey, tempValues); + var typeOfResult = (0,esm_typeof/* default */.Z)(transformedResult); + if (typeOfResult !== 'object' && typeOfResult !== 'undefined') { + tempKey = entityKey; + isTransformedResultPrimitive = true; + } else { + tempKey = transformedResult; + } + } else { + tempKey = transformForArray(transformFunction, itemValue); + } + + // { [key:string]:any } 数组也能通过编译 + if (Array.isArray(tempKey)) { + result = (0,set/* default */.Z)(result, tempKey, itemValue); + return; + } + if ((0,esm_typeof/* default */.Z)(tempKey) === 'object' && !Array.isArray(finalValues)) { + finalValues = _lodash_es_4_17_21_lodash_es_merge(finalValues, tempKey); + } else if ((0,esm_typeof/* default */.Z)(tempKey) === 'object' && Array.isArray(finalValues)) { + result = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, result), tempKey); + } else if (tempKey !== null || tempKey !== undefined) { + result = (0,set/* default */.Z)(result, [tempKey], isTransformedResultPrimitive ? transformedResult : itemValue); + } + }; + + /** 如果存在转化器提前渲染一下 */ + if (transformFunction && typeof transformFunction === 'function') { + transform(); + } + if (typeof window === 'undefined') return; + if (isPlainObj(itemValue)) { + var genValues = gen(itemValue, key); + if (Object.keys(genValues).length < 1) { + return; + } + result = (0,set/* default */.Z)(result, [entityKey], genValues); + return; + } + transform(); + }); + // namePath、transform在omit为false时需正常返回 https://github.com/ant-design/pro-components/issues/2901#issue-908097115 + return omit ? result : tempValues; + }; + finalValues = Array.isArray(values) && Array.isArray(finalValues) ? (0,toConsumableArray/* default */.Z)(gen(values)) : es_merge_merge({}, gen(values), finalValues); + return finalValues; +}; +// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.12@dayjs/plugin/quarterOfYear.js +var quarterOfYear = __webpack_require__(39381); +var quarterOfYear_default = /*#__PURE__*/__webpack_require__.n(quarterOfYear); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.15.17@@ant-design/pro-utils/es/conversionMomentValue/index.js + + + + + +dayjs_min_default().extend((quarterOfYear_default())); +var dateFormatterMap = { + time: 'HH:mm:ss', + timeRange: 'HH:mm:ss', + date: 'YYYY-MM-DD', + dateWeek: 'YYYY-wo', + dateMonth: 'YYYY-MM', + dateQuarter: 'YYYY-[Q]Q', + dateYear: 'YYYY', + dateRange: 'YYYY-MM-DD', + dateTime: 'YYYY-MM-DD HH:mm:ss', + dateTimeRange: 'YYYY-MM-DD HH:mm:ss' +}; +/** + * 判断是不是一个 object + * @param {any} o + * @returns boolean + */ +function conversionMomentValue_isObject(o) { + return Object.prototype.toString.call(o) === '[object Object]'; +} +/** + * 判断是否是一个的简单的 object + * @param {{constructor:any}} o + * @returns boolean + */ +function conversionMomentValue_isPlainObject(o) { + if (conversionMomentValue_isObject(o) === false) return false; + + // If has modified constructor + var ctor = o.constructor; + if (ctor === undefined) return true; + + // If has modified prototype + var prot = ctor.prototype; + if (conversionMomentValue_isObject(prot) === false) return false; + + // If constructor does not have an Object-specific method + if (prot.hasOwnProperty('isPrototypeOf') === false) { + return false; + } + + // Most likely a plain Object + return true; +} + +/** + * 一个比较hack的moment判断工具 + * @param {any} value + * @returns boolean + */ +var isMoment = function isMoment(value) { + return !!(value !== null && value !== void 0 && value._isAMomentObject); +}; + +/** + * 根据不同的格式转化 dayjs + * @param {dayjs.Dayjs} value + * @param {string|((value:dayjs.Dayjs} dateFormatter + * @param {string} valueType + */ +var convertMoment = function convertMoment(value, dateFormatter, valueType) { + if (!dateFormatter) { + return value; + } + if (dayjs_min_default().isDayjs(value) || isMoment(value)) { + if (dateFormatter === 'number') { + return value.valueOf(); + } + if (dateFormatter === 'string') { + return value.format(dateFormatterMap[valueType] || 'YYYY-MM-DD HH:mm:ss'); + } + if (typeof dateFormatter === 'string' && dateFormatter !== 'string') { + return value.format(dateFormatter); + } + if (typeof dateFormatter === 'function') { + return dateFormatter(value, valueType); + } + } + return value; +}; + +/** + * 这里主要是来转化一下数据 将 dayjs 转化为 string 将 all 默认删除 + * @param {T} value + * @param {DateFormatter} dateFormatter + * @param {Record} |{valueType + * @param {boolean} omitNil? + * @param {NamePath} parentKey? + */ +var conversionMomentValue = function conversionMomentValue(value, dateFormatter, valueTypeMap, omitNil, parentKey) { + var tmpValue = {}; + if (typeof window === 'undefined') return value; + // 如果 value 是 string | null | Blob类型 其中之一,直接返回 + // 形如 {key: [File, File]} 的表单字段当进行第二次递归时会导致其直接越过 typeof value !== 'object' 这一判断 https://github.com/ant-design/pro-components/issues/2071 + if ((0,esm_typeof/* default */.Z)(value) !== 'object' || isNil(value) || value instanceof Blob || Array.isArray(value)) { + return value; + } + Object.keys(value).forEach(function (valueKey) { + var namePath = parentKey ? [parentKey, valueKey].flat(1) : [valueKey]; + var valueFormatMap = (0,get/* default */.Z)(valueTypeMap, namePath) || 'text'; + var valueType = 'text'; + var dateFormat; + if (typeof valueFormatMap === 'string') { + valueType = valueFormatMap; + } else if (valueFormatMap) { + valueType = valueFormatMap.valueType; + dateFormat = valueFormatMap.dateFormat; + } + var itemValue = value[valueKey]; + if (isNil(itemValue) && omitNil) { + return; + } + // 处理嵌套的情况 + if (conversionMomentValue_isPlainObject(itemValue) && + // 不是数组 + !Array.isArray(itemValue) && + // 不是 dayjs + !dayjs_min_default().isDayjs(itemValue) && + // 不是 moment + !isMoment(itemValue)) { + tmpValue[valueKey] = conversionMomentValue(itemValue, dateFormatter, valueTypeMap, omitNil, namePath); + return; + } + // 处理 FormList 的 value + if (Array.isArray(itemValue)) { + tmpValue[valueKey] = itemValue.map(function (arrayValue, index) { + if (dayjs_min_default().isDayjs(arrayValue) || isMoment(arrayValue)) { + return convertMoment(arrayValue, dateFormat || dateFormatter, valueType); + } + return conversionMomentValue(arrayValue, dateFormatter, valueTypeMap, omitNil, [valueKey, "".concat(index)].flat(1)); + }); + return; + } + tmpValue[valueKey] = convertMoment(itemValue, dateFormat || dateFormatter, valueType); + }); + return tmpValue; +}; +;// CONCATENATED MODULE: ./node_modules/_@umijs_use-params@1.0.9@@umijs/use-params/es/index.js +var __assign = (undefined && undefined.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +/* eslint-disable no-restricted-syntax */ + +/** + * + * @param {object} params + * @returns {URL} + */ +function setQueryToCurrentUrl(params) { + var _a; + var URL = (typeof window !== 'undefined' ? window : {}).URL; + var url = new URL((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href); + Object.keys(params).forEach(function (key) { + var value = params[key]; + if (value !== null && value !== undefined) { + if (Array.isArray(value)) { + url.searchParams.delete(key); + value.forEach(function (valueItem) { + url.searchParams.append(key, valueItem); + }); + } + else if (value instanceof Date) { + if (!Number.isNaN(value.getTime())) { + url.searchParams.set(key, value.toISOString()); + } + } + else if (typeof value === 'object') { + url.searchParams.set(key, JSON.stringify(value)); + } + else { + url.searchParams.set(key, value); + } + } + else { + url.searchParams.delete(key); + } + }); + return url; +} +function useUrlSearchParams(initial, config) { + var _a; + if (initial === void 0) { initial = {}; } + if (config === void 0) { config = { disabled: false }; } + /** + * The main idea of this hook is to make things response to change of `window.location.search`, + * so no need for introducing new state (in the mean time). + * Whenever `window.location.search` is changed but not cause re-render, call `forceUpdate()`. + * Whenever the component - user of this hook - re-render, this hook should return + * the query object that corresponse to the current `window.location.search` + */ + var _b = (0,_react_17_0_2_react.useState)(), forceUpdate = _b[1]; + var locationSearch = typeof window !== 'undefined' && ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.search); + /** + * @type {URLSearchParams} + */ + var urlSearchParams = (0,_react_17_0_2_react.useMemo)(function () { + if (config.disabled) + return {}; + return new URLSearchParams(locationSearch || {}); + }, [config.disabled, locationSearch]); + var params = (0,_react_17_0_2_react.useMemo)(function () { + if (config.disabled) + return {}; + if (typeof window === 'undefined' || !window.URL) + return {}; + var result = []; + // @ts-ignore + urlSearchParams.forEach(function (value, key) { + result.push({ + key: key, + value: value, + }); + }); + // group by key + result = result.reduce(function (acc, val) { + (acc[val.key] = acc[val.key] || []).push(val); + return acc; + }, {}); + result = Object.keys(result).map(function (key) { + var valueGroup = result[key]; + if (valueGroup.length === 1) { + return [key, valueGroup[0].value]; + } + return [key, valueGroup.map(function (_a) { + var value = _a.value; + return value; + })]; + }); + var newParams = __assign({}, initial); + result.forEach(function (_a) { + var key = _a[0], value = _a[1]; + newParams[key] = parseValue(key, value, {}, initial); + }); + return newParams; + }, [config.disabled, initial, urlSearchParams]); + function redirectToNewSearchParams(newParams) { + if (typeof window === 'undefined' || !window.URL) + return; + var url = setQueryToCurrentUrl(newParams); + if (window.location.search !== url.search) { + window.history.replaceState({}, '', url.toString()); + } + if (urlSearchParams.toString() !== url.searchParams.toString()) { + forceUpdate({}); + } + } + (0,_react_17_0_2_react.useEffect)(function () { + if (config.disabled) + return; + if (typeof window === 'undefined' || !window.URL) + return; + redirectToNewSearchParams(__assign(__assign({}, initial), params)); + }, [config.disabled, params]); + var setParams = function (newParams) { + redirectToNewSearchParams(newParams); + }; + (0,_react_17_0_2_react.useEffect)(function () { + if (config.disabled) + return function () { }; + if (typeof window === 'undefined' || !window.URL) + return function () { }; + var onPopState = function () { + forceUpdate({}); + }; + window.addEventListener('popstate', onPopState); + return function () { + window.removeEventListener('popstate', onPopState); + }; + }, [config.disabled]); + return [params, setParams]; +} +var booleanValues = { + true: true, + false: false, +}; +function parseValue(key, _value, types, defaultParams) { + if (!types) + return _value; + var type = types[key]; + var value = _value === undefined ? defaultParams[key] : _value; + if (type === Number) { + return Number(value); + } + if (type === Boolean || _value === 'true' || _value === 'false') { + return booleanValues[value]; + } + if (Array.isArray(type)) { + // eslint-disable-next-line eqeqeq + return type.find(function (item) { return item == value; }) || defaultParams[key]; + } + return value; +} + +// 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/spin/index.js + 1 modules +var spin = __webpack_require__(71418); +// 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); +;// CONCATENATED MODULE: ./node_modules/_omit.js@2.0.2@omit.js/es/index.js +function omit(obj, fields) { + // eslint-disable-next-line prefer-object-spread + var shallowCopy = Object.assign({}, obj); + + for (var i = 0; i < fields.length; i += 1) { + var key = fields[i]; + delete shallowCopy[key]; + } + + return shallowCopy; +} + +/* harmony default export */ var _omit_js_2_0_2_omit_js_es = (omit); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/FieldContext.js + +var FieldContext_FieldContext = /*#__PURE__*/_react_17_0_2_react.createContext({}); + +/* harmony default export */ var es_FieldContext = (FieldContext_FieldContext); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js +var es_button = __webpack_require__(3113); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/components/Submitter/index.js + + + + + + +/** @name 用于配置操作栏 */ + + +/** + * FormFooter 的组件,可以自动进行一些配置 + * + * @param props + */ + +var Submitter = function Submitter(props) { + var intl = es_useIntl(); + var form = es_form/* default */.Z.useFormInstance(); + if (props.render === false) { + return null; + } + var onSubmit = props.onSubmit, + render = props.render, + onReset = props.onReset, + _props$searchConfig = props.searchConfig, + searchConfig = _props$searchConfig === void 0 ? {} : _props$searchConfig, + submitButtonProps = props.submitButtonProps, + resetButtonProps = props.resetButtonProps; + var _proTheme$useToken = proTheme.useToken(), + token = _proTheme$useToken.token; + var submit = function submit() { + form.submit(); + onSubmit === null || onSubmit === void 0 || onSubmit(); + }; + var reset = function reset() { + form.resetFields(); + onReset === null || onReset === void 0 || onReset(); + }; + var _searchConfig$submitT = searchConfig.submitText, + submitText = _searchConfig$submitT === void 0 ? intl.getMessage('tableForm.submit', '提交') : _searchConfig$submitT, + _searchConfig$resetTe = searchConfig.resetText, + resetText = _searchConfig$resetTe === void 0 ? intl.getMessage('tableForm.reset', '重置') : _searchConfig$resetTe; + /** 默认的操作的逻辑 */ + var dom = []; + if (resetButtonProps !== false) { + dom.push( /*#__PURE__*/(0,_react_17_0_2_react.createElement)(es_button/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _omit_js_2_0_2_omit_js_es(resetButtonProps, ['preventDefault'])), {}, { + key: "rest", + onClick: function onClick(e) { + var _resetButtonProps$onC; + if (!(resetButtonProps !== null && resetButtonProps !== void 0 && resetButtonProps.preventDefault)) reset(); + resetButtonProps === null || resetButtonProps === void 0 || (_resetButtonProps$onC = resetButtonProps.onClick) === null || _resetButtonProps$onC === void 0 || _resetButtonProps$onC.call(resetButtonProps, e); + } + }), resetText)); + } + if (submitButtonProps !== false) { + dom.push( /*#__PURE__*/(0,_react_17_0_2_react.createElement)(es_button/* default */.ZP, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + type: "primary" + }, _omit_js_2_0_2_omit_js_es(submitButtonProps || {}, ['preventDefault'])), {}, { + key: "submit", + onClick: function onClick(e) { + var _submitButtonProps$on; + if (!(submitButtonProps !== null && submitButtonProps !== void 0 && submitButtonProps.preventDefault)) submit(); + submitButtonProps === null || submitButtonProps === void 0 || (_submitButtonProps$on = submitButtonProps.onClick) === null || _submitButtonProps$on === void 0 || _submitButtonProps$on.call(submitButtonProps, e); + } + }), submitText)); + } + var renderDom = render ? render((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + form: form, + submit: submit, + reset: reset + }), dom) : dom; + if (!renderDom) { + return null; + } + if (Array.isArray(renderDom)) { + if ((renderDom === null || renderDom === void 0 ? void 0 : renderDom.length) < 1) { + return null; + } + if ((renderDom === null || renderDom === void 0 ? void 0 : renderDom.length) === 1) { + return renderDom[0]; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + display: 'flex', + gap: token.marginXS, + alignItems: 'center' + }, + children: renderDom + }); + } + return renderDom; +}; +/* harmony default export */ var components_Submitter = (Submitter); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/components/List/index.js + + + +var List_excluded = (/* unused pure expression or super */ null && (["transform", "actionRender", "creatorButtonProps", "label", "alwaysShowItemLabel", "tooltip", "creatorRecord", "itemRender", "rules", "itemContainerRender", "fieldExtraRender", "copyIconProps", "children", "deleteIconProps", "actionRef", "style", "prefixCls", "actionGuard", "min", "max", "colProps", "wrapperCol", "rowProps", "onAfterAdd", "onAfterRemove", "isValidateList", "emptyListMessage", "className", "containerClassName", "containerStyle", "readonly"])); + + + + + + + + + + + + + +var FormListContext = /*#__PURE__*/_react_17_0_2_react.createContext({}); +function ProFormList(props) { + var actionRefs = useRef(); + var context = useContext(ConfigProvider.ConfigContext); + var listContext = useContext(FormListContext); + var baseClassName = context.getPrefixCls('pro-form-list'); + // Internationalization + var intl = useIntl(); + /** 从 context 中拿到的值 */ + var _React$useContext = React.useContext(FieldContext), + setFieldValueType = _React$useContext.setFieldValueType; + var transform = props.transform, + actionRender = props.actionRender, + creatorButtonProps = props.creatorButtonProps, + label = props.label, + alwaysShowItemLabel = props.alwaysShowItemLabel, + tooltip = props.tooltip, + creatorRecord = props.creatorRecord, + itemRender = props.itemRender, + rules = props.rules, + itemContainerRender = props.itemContainerRender, + fieldExtraRender = props.fieldExtraRender, + _props$copyIconProps = props.copyIconProps, + copyIconProps = _props$copyIconProps === void 0 ? { + Icon: CopyOutlined, + tooltipText: intl.getMessage('copyThisLine', '复制此项') + } : _props$copyIconProps, + _children = props.children, + _props$deleteIconProp = props.deleteIconProps, + deleteIconProps = _props$deleteIconProp === void 0 ? { + Icon: DeleteOutlined, + tooltipText: intl.getMessage('deleteThisLine', '删除此项') + } : _props$deleteIconProp, + actionRef = props.actionRef, + style = props.style, + prefixCls = props.prefixCls, + actionGuard = props.actionGuard, + min = props.min, + max = props.max, + colProps = props.colProps, + wrapperCol = props.wrapperCol, + rowProps = props.rowProps, + _onAfterAdd = props.onAfterAdd, + _onAfterRemove = props.onAfterRemove, + _props$isValidateList = props.isValidateList, + isValidateList = _props$isValidateList === void 0 ? false : _props$isValidateList, + _props$emptyListMessa = props.emptyListMessage, + emptyListMessage = _props$emptyListMessa === void 0 ? '列表不能为空' : _props$emptyListMessa, + className = props.className, + containerClassName = props.containerClassName, + containerStyle = props.containerStyle, + readonly = props.readonly, + rest = _objectWithoutProperties(props, List_excluded); + var _useGridHelpers = useGridHelpers({ + colProps: colProps, + rowProps: rowProps + }), + ColWrapper = _useGridHelpers.ColWrapper, + RowWrapper = _useGridHelpers.RowWrapper; + var proFormContext = useContext(ProFormContext); + + // 处理 list 的嵌套 + var name = useMemo(function () { + if (listContext.name === undefined) { + return [rest.name].flat(1); + } + return [listContext.name, rest.name].flat(1); + }, [listContext.name, rest.name]); + + // eslint-disable-next-line react-hooks/exhaustive-deps + useImperativeHandle(actionRef, function () { + return _objectSpread(_objectSpread({}, actionRefs.current), {}, { + get: function get(index) { + return proFormContext.formRef.current.getFieldValue([].concat(_toConsumableArray(name), [index])); + }, + getList: function getList() { + return proFormContext.formRef.current.getFieldValue(_toConsumableArray(name)); + } + }); + }, [name, proFormContext.formRef]); + useEffect(function () { + noteOnce(!!proFormContext.formRef, "ProFormList \u5FC5\u987B\u8981\u653E\u5230 ProForm \u4E2D,\u5426\u5219\u4F1A\u9020\u6210\u884C\u4E3A\u5F02\u5E38\u3002"); + noteOnce(!!proFormContext.formRef, "Proformlist must be placed in ProForm, otherwise it will cause abnormal behavior."); + }, [proFormContext.formRef]); + useEffect(function () { + // 如果 setFieldValueType 和 props.name 不存在不存入 + if (!setFieldValueType || !props.name) { + return; + } + + // Field.type === 'ProField' 时 props 里面是有 valueType 的,所以要设置一下 + // 写一个 ts 比较麻烦,用 any 顶一下 + setFieldValueType([props.name].flat(1).filter(function (itemName) { + return itemName !== undefined; + }), { + valueType: 'formList', + transform: transform + }); + }, [props.name, setFieldValueType, transform]); + var _useStyle = useStyle(baseClassName), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + if (!proFormContext.formRef) return null; + return wrapSSR( /*#__PURE__*/_jsx(ColWrapper, { + children: /*#__PURE__*/_jsx("div", { + className: classNames(baseClassName, hashId), + style: style, + children: /*#__PURE__*/_jsx(Form.Item, _objectSpread(_objectSpread({ + label: label, + prefixCls: prefixCls, + tooltip: tooltip, + style: style, + required: rules === null || rules === void 0 ? void 0 : rules.some(function (rule) { + return rule.required; + }), + wrapperCol: wrapperCol, + className: className + }, rest), {}, { + name: isValidateList ? name : undefined, + rules: isValidateList ? [{ + validator: function validator(rule, value) { + if (!value || value.length === 0) { + return Promise.reject(new Error(emptyListMessage)); + } + return Promise.resolve(); + }, + required: true + }] : undefined, + children: /*#__PURE__*/_jsx(Form.List, _objectSpread(_objectSpread({ + rules: rules + }, rest), {}, { + name: name, + children: function children(fields, action, meta) { + // 将 action 暴露给外部 + actionRefs.current = action; + return /*#__PURE__*/_jsxs(RowWrapper, { + children: [/*#__PURE__*/_jsx(ProFormListContainer, { + name: name, + readonly: !!readonly, + originName: rest.name, + copyIconProps: copyIconProps, + deleteIconProps: deleteIconProps, + formInstance: proFormContext.formRef.current, + prefixCls: baseClassName, + meta: meta, + fields: fields, + itemContainerRender: itemContainerRender, + itemRender: itemRender, + fieldExtraRender: fieldExtraRender, + creatorButtonProps: creatorButtonProps, + creatorRecord: creatorRecord, + actionRender: actionRender, + action: action, + actionGuard: actionGuard, + alwaysShowItemLabel: alwaysShowItemLabel, + min: min, + max: max, + count: fields.length, + onAfterAdd: function onAfterAdd(defaultValue, insertIndex, count) { + if (isValidateList) { + proFormContext.formRef.current.validateFields([name]); + } + _onAfterAdd === null || _onAfterAdd === void 0 || _onAfterAdd(defaultValue, insertIndex, count); + }, + onAfterRemove: function onAfterRemove(index, count) { + if (isValidateList) { + if (count === 0) { + proFormContext.formRef.current.validateFields([name]); + } + } + _onAfterRemove === null || _onAfterRemove === void 0 || _onAfterRemove(index, count); + }, + containerClassName: containerClassName, + containerStyle: containerStyle, + children: _children + }), /*#__PURE__*/_jsx(Form.ErrorList, { + errors: meta.errors + })] + }); + } + })) + })) + }) + })); +} + +// 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); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/helpers/grid.js + + + +var grid_excluded = ["children", "Wrapper"], + grid_excluded2 = ["children", "Wrapper"]; + + + +var GridContext = /*#__PURE__*/(0,_react_17_0_2_react.createContext)({ + grid: false, + colProps: undefined, + rowProps: undefined +}); +var gridHelpers = function gridHelpers(_ref) { + var grid = _ref.grid, + rowProps = _ref.rowProps, + colProps = _ref.colProps; + return { + grid: !!grid, + RowWrapper: function RowWrapper() { + var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + children = _ref2.children, + Wrapper = _ref2.Wrapper, + props = (0,objectWithoutProperties/* default */.Z)(_ref2, grid_excluded); + if (!grid) { + return Wrapper ? /*#__PURE__*/(0,jsx_runtime.jsx)(Wrapper, { + children: children + }) : children; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + gutter: 8 + }, rowProps), props), {}, { + children: children + })); + }, + ColWrapper: function ColWrapper() { + var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + children = _ref3.children, + Wrapper = _ref3.Wrapper, + rest = (0,objectWithoutProperties/* default */.Z)(_ref3, grid_excluded2); + var props = (0,_react_17_0_2_react.useMemo)(function () { + var originProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, colProps), rest); + + /** + * `xs` takes precedence over `span` + * avoid `span` doesn't work + */ + if (typeof originProps.span === 'undefined' && typeof originProps.xs === 'undefined') { + originProps.xs = 24; + } + return originProps; + }, [rest]); + if (!grid) { + return Wrapper ? /*#__PURE__*/(0,jsx_runtime.jsx)(Wrapper, { + children: children + }) : children; + } + return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + children: children + })); + } + }; +}; +var grid_useGridHelpers = function useGridHelpers(props) { + var config = (0,_react_17_0_2_react.useMemo)(function () { + { + if ((0,esm_typeof/* default */.Z)(props) === 'object') { + return props; + } + return { + grid: props + }; + } + }, [props]); + var _useContext = (0,_react_17_0_2_react.useContext)(GridContext), + grid = _useContext.grid, + colProps = _useContext.colProps; + return (0,_react_17_0_2_react.useMemo)(function () { + return gridHelpers({ + grid: !!(grid || config.grid), + rowProps: config === null || config === void 0 ? void 0 : config.rowProps, + colProps: (config === null || config === void 0 ? void 0 : config.colProps) || colProps, + Wrapper: config === null || config === void 0 ? void 0 : config.Wrapper + }); + }, + // eslint-disable-next-line react-hooks/exhaustive-deps + [config === null || config === void 0 ? void 0 : config.Wrapper, config.grid, grid, + // eslint-disable-next-line react-hooks/exhaustive-deps + JSON.stringify([colProps, config === null || config === void 0 ? void 0 : config.colProps, config === null || config === void 0 ? void 0 : config.rowProps])]); +}; +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/BaseForm/EditOrReadOnlyContext.js + +var EditOrReadOnlyContext = /*#__PURE__*/_react_17_0_2_react.createContext({ + mode: 'edit' +}); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/BaseForm/BaseForm.js + + + + + + +var BaseForm_excluded = ["children", "contentRender", "submitter", "fieldProps", "formItemProps", "groupProps", "transformKey", "formRef", "onInit", "form", "loading", "formComponentType", "extraUrlParams", "syncToUrl", "onUrlSearchChange", "onReset", "omitNil", "isKeyPressSubmit", "autoFocusFirstInput", "grid", "rowProps", "colProps"], + BaseForm_excluded2 = ["extraUrlParams", "syncToUrl", "isKeyPressSubmit", "syncToUrlAsImportant", "syncToInitialValues", "children", "contentRender", "submitter", "fieldProps", "proFieldProps", "formItemProps", "groupProps", "dateFormatter", "formRef", "onInit", "form", "formComponentType", "onReset", "grid", "rowProps", "colProps", "omitNil", "request", "params", "initialValues", "formKey", "readonly", "onLoadingChange", "loading"]; +/* eslint-disable react-hooks/exhaustive-deps */ + + + + + + + + + + + + + + + + + +var genParams = function genParams(syncUrl, params, type) { + if (syncUrl === true) { + return params; + } + return runFunction(syncUrl, params, type); +}; +/** + * It takes a name path and converts it to an array. + * @param {NamePath} name - The name of the form. + * @returns string[] + * + * a-> [a] + * [a] -> [a] + */ +var covertFormName = function covertFormName(name) { + if (!name) return name; + if (Array.isArray(name)) return name; + return [name]; +}; +function BaseFormComponents(props) { + var _ConfigProvider$useCo; + var children = props.children, + contentRender = props.contentRender, + submitter = props.submitter, + fieldProps = props.fieldProps, + formItemProps = props.formItemProps, + groupProps = props.groupProps, + transformKey = props.transformKey, + propsFormRef = props.formRef, + onInit = props.onInit, + form = props.form, + loading = props.loading, + formComponentType = props.formComponentType, + _props$extraUrlParams = props.extraUrlParams, + extraUrlParams = _props$extraUrlParams === void 0 ? {} : _props$extraUrlParams, + syncToUrl = props.syncToUrl, + onUrlSearchChange = props.onUrlSearchChange, + _onReset = props.onReset, + _props$omitNil = props.omitNil, + omitNil = _props$omitNil === void 0 ? true : _props$omitNil, + isKeyPressSubmit = props.isKeyPressSubmit, + _props$autoFocusFirst = props.autoFocusFirstInput, + autoFocusFirstInput = _props$autoFocusFirst === void 0 ? true : _props$autoFocusFirst, + grid = props.grid, + rowProps = props.rowProps, + colProps = props.colProps, + rest = (0,objectWithoutProperties/* default */.Z)(props, BaseForm_excluded); + + /** + * 获取 form 实例 + */ + var formInstance = es_form/* default */.Z.useFormInstance(); + var _ref = (config_provider/* default */.ZP === null || config_provider/* default */.ZP === void 0 || (_ConfigProvider$useCo = config_provider/* default */.ZP.useConfig) === null || _ConfigProvider$useCo === void 0 ? void 0 : _ConfigProvider$useCo.call(config_provider/* default */.ZP)) || { + componentSize: 'middle' + }, + componentSize = _ref.componentSize; + + /** 同步 url 上的参数 */ + var formRef = (0,_react_17_0_2_react.useRef)(form || formInstance); + + /** + * 获取布局 + */ + var _useGridHelpers = grid_useGridHelpers({ + grid: grid, + rowProps: rowProps + }), + RowWrapper = _useGridHelpers.RowWrapper; + var getFormInstance = useRefFunction(function () { + return formInstance; + }); + var formatValues = (0,_react_17_0_2_react.useMemo)(function () { + return { + /** + * 获取被 ProForm 格式化后的所有数据 + * @param allData boolean + * @returns T + * + * @example getFieldsFormatValue(true) ->返回所有数据,即使没有被 form 托管的 + */ + getFieldsFormatValue: function getFieldsFormatValue(allData) { + var _getFormInstance; + return transformKey((_getFormInstance = getFormInstance()) === null || _getFormInstance === void 0 ? void 0 : _getFormInstance.getFieldsValue(allData), omitNil); + }, + /** + * 获取被 ProForm 格式化后的单个数据 + * @param nameList (string|number)[] + * @returns T + * + * @example {a:{b:value}} -> getFieldFormatValue(['a', 'b']) -> value + */ + /** 获取格式化之后的单个数据 */ + getFieldFormatValue: function getFieldFormatValue() { + var _getFormInstance2; + var paramsNameList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + var nameList = covertFormName(paramsNameList); + if (!nameList) throw new Error('nameList is require'); + var value = (_getFormInstance2 = getFormInstance()) === null || _getFormInstance2 === void 0 ? void 0 : _getFormInstance2.getFieldValue(nameList); + var obj = nameList ? (0,set/* default */.Z)({}, nameList, value) : value; + return (0,get/* default */.Z)(transformKey(obj, omitNil, nameList), nameList); + }, + /** + * 获取被 ProForm 格式化后的单个数据, 包含他的 name + * @param nameList (string|number)[] + * @returns T + * + * @example {a:{b:value}} -> getFieldFormatValueObject(['a', 'b']) -> {a:{b:value}} + */ + /** 获取格式化之后的单个数据 */ + getFieldFormatValueObject: function getFieldFormatValueObject(paramsNameList) { + var _getFormInstance3; + var nameList = covertFormName(paramsNameList); + var value = (_getFormInstance3 = getFormInstance()) === null || _getFormInstance3 === void 0 ? void 0 : _getFormInstance3.getFieldValue(nameList); + var obj = nameList ? (0,set/* default */.Z)({}, nameList, value) : value; + return transformKey(obj, omitNil, nameList); + }, + /** + /** + *验字段后返回格式化之后的所有数据 + * @param nameList (string|number)[] + * @returns T + * + * @example validateFieldsReturnFormatValue -> {a:{b:value}} + */ + validateFieldsReturnFormatValue: function () { + var _validateFieldsReturnFormatValue = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(nameList) { + var _getFormInstance4; + var values, transformedKey; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (!(!Array.isArray(nameList) && nameList)) { + _context.next = 2; + break; + } + throw new Error('nameList must be array'); + case 2: + _context.next = 4; + return (_getFormInstance4 = getFormInstance()) === null || _getFormInstance4 === void 0 ? void 0 : _getFormInstance4.validateFields(nameList); + case 4: + values = _context.sent; + transformedKey = transformKey(values, omitNil); + return _context.abrupt("return", transformedKey ? transformedKey : {}); + case 7: + case "end": + return _context.stop(); + } + }, _callee); + })); + function validateFieldsReturnFormatValue(_x) { + return _validateFieldsReturnFormatValue.apply(this, arguments); + } + return validateFieldsReturnFormatValue; + }() + }; + }, [omitNil, transformKey]); + var items = (0,_react_17_0_2_react.useMemo)(function () { + return _react_17_0_2_react.Children.toArray(children).map(function (item, index) { + if (index === 0 && /*#__PURE__*/_react_17_0_2_react.isValidElement(item) && autoFocusFirstInput) { + return /*#__PURE__*/_react_17_0_2_react.cloneElement(item, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, item.props), {}, { + autoFocus: autoFocusFirstInput + })); + } + return item; + }); + }, [autoFocusFirstInput, children]); + + /** 计算 props 的对象 */ + var submitterProps = (0,_react_17_0_2_react.useMemo)(function () { + return typeof submitter === 'boolean' || !submitter ? {} : submitter; + }, [submitter]); + + /** 渲染提交按钮与重置按钮 */ + var submitterNode = (0,_react_17_0_2_react.useMemo)(function () { + if (submitter === false) return undefined; + return /*#__PURE__*/(0,jsx_runtime.jsx)(components_Submitter, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, submitterProps), {}, { + onReset: function onReset() { + var _formRef$current, _submitterProps$onRes; + var finalValues = transformKey((_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.getFieldsValue(), omitNil); + submitterProps === null || submitterProps === void 0 || (_submitterProps$onRes = submitterProps.onReset) === null || _submitterProps$onRes === void 0 || _submitterProps$onRes.call(submitterProps, finalValues); + _onReset === null || _onReset === void 0 || _onReset(finalValues); + // 如果 syncToUrl,清空一下数据 + if (syncToUrl) { + var _formRef$current2; + // 把没有的值设置为未定义可以删掉 url 的参数 + var params = Object.keys(transformKey((_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldsValue(), false)).reduce(function (pre, next) { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pre), {}, (0,esm_defineProperty/* default */.Z)({}, next, finalValues[next] || undefined)); + }, extraUrlParams); + + /** 在同步到 url 上时对参数进行转化 */ + onUrlSearchChange(genParams(syncToUrl, params || {}, 'set')); + } + }, + submitButtonProps: (0,objectSpread2/* default */.Z)({ + loading: loading + }, submitterProps.submitButtonProps) + }), "submitter"); + }, [submitter, submitterProps, loading, transformKey, omitNil, _onReset, syncToUrl, extraUrlParams, onUrlSearchChange]); + var content = (0,_react_17_0_2_react.useMemo)(function () { + var wrapItems = grid ? /*#__PURE__*/(0,jsx_runtime.jsx)(RowWrapper, { + children: items + }) : items; + if (contentRender) { + return contentRender(wrapItems, submitterNode, formRef.current); + } + return wrapItems; + }, [grid, RowWrapper, items, contentRender, submitterNode]); + var preInitialValues = usePrevious(props.initialValues); + + // 提示一个 initialValues ,问的人实在是太多了 + (0,_react_17_0_2_react.useEffect)(function () { + if (syncToUrl || !props.initialValues || !preInitialValues || rest.request) return; + var isEqual = isDeepEqualReact(props.initialValues, preInitialValues); + (0,warning/* noteOnce */.ET)(isEqual, "initialValues \u53EA\u5728 form \u521D\u59CB\u5316\u65F6\u751F\u6548\uFF0C\u5982\u679C\u4F60\u9700\u8981\u5F02\u6B65\u52A0\u8F7D\u63A8\u8350\u4F7F\u7528 request\uFF0C\u6216\u8005 initialValues ?
: null "); + (0,warning/* noteOnce */.ET)(isEqual, "The initialValues only take effect when the form is initialized, if you need to load asynchronously recommended request, or the initialValues ? : null "); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [props.initialValues]); + + // 初始化给一个默认的 form + (0,_react_17_0_2_react.useImperativeHandle)(propsFormRef, function () { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formRef.current), formatValues); + }, [formatValues, formRef.current]); + (0,_react_17_0_2_react.useEffect)(function () { + var _formRef$current3, _formRef$current3$get; + var finalValues = transformKey((_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 || (_formRef$current3$get = _formRef$current3.getFieldsValue) === null || _formRef$current3$get === void 0 ? void 0 : _formRef$current3$get.call(_formRef$current3, true), omitNil); + onInit === null || onInit === void 0 || onInit(finalValues, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formRef.current), formatValues)); + }, []); + return /*#__PURE__*/(0,jsx_runtime.jsx)(ProFormContext_ProFormContext.Provider, { + value: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, formatValues), {}, { + formRef: formRef + }), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(config_provider/* default */.ZP, { + componentSize: rest.size || componentSize, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(GridContext.Provider, { + value: { + grid: grid, + colProps: colProps + }, + children: [rest.component !== false && /*#__PURE__*/(0,jsx_runtime.jsx)("input", { + type: "text", + style: { + display: 'none' + } + }), content] + }) + }) + }); +} + +/** 自动的formKey 防止重复 */ +var requestFormCacheId = 0; +function BaseForm(props) { + var _props$extraUrlParams2 = props.extraUrlParams, + extraUrlParams = _props$extraUrlParams2 === void 0 ? {} : _props$extraUrlParams2, + syncToUrl = props.syncToUrl, + isKeyPressSubmit = props.isKeyPressSubmit, + _props$syncToUrlAsImp = props.syncToUrlAsImportant, + syncToUrlAsImportant = _props$syncToUrlAsImp === void 0 ? false : _props$syncToUrlAsImp, + _props$syncToInitialV = props.syncToInitialValues, + syncToInitialValues = _props$syncToInitialV === void 0 ? true : _props$syncToInitialV, + children = props.children, + contentRender = props.contentRender, + submitter = props.submitter, + fieldProps = props.fieldProps, + proFieldProps = props.proFieldProps, + formItemProps = props.formItemProps, + groupProps = props.groupProps, + _props$dateFormatter = props.dateFormatter, + dateFormatter = _props$dateFormatter === void 0 ? 'string' : _props$dateFormatter, + propsFormRef = props.formRef, + onInit = props.onInit, + form = props.form, + formComponentType = props.formComponentType, + onReset = props.onReset, + grid = props.grid, + rowProps = props.rowProps, + colProps = props.colProps, + _props$omitNil2 = props.omitNil, + omitNil = _props$omitNil2 === void 0 ? true : _props$omitNil2, + request = props.request, + params = props.params, + initialValues = props.initialValues, + _props$formKey = props.formKey, + formKey = _props$formKey === void 0 ? requestFormCacheId : _props$formKey, + readonly = props.readonly, + onLoadingChange = props.onLoadingChange, + propsLoading = props.loading, + propRest = (0,objectWithoutProperties/* default */.Z)(props, BaseForm_excluded2); + var formRef = (0,_react_17_0_2_react.useRef)({}); + var _useMountMergeState = (0,useMergedState/* default */.Z)(false, { + onChange: onLoadingChange, + value: propsLoading + }), + _useMountMergeState2 = (0,slicedToArray/* default */.Z)(_useMountMergeState, 2), + loading = _useMountMergeState2[0], + setLoading = _useMountMergeState2[1]; + var _useUrlSearchParams = useUrlSearchParams({}, { + disabled: !syncToUrl + }), + _useUrlSearchParams2 = (0,slicedToArray/* default */.Z)(_useUrlSearchParams, 2), + urlSearch = _useUrlSearchParams2[0], + setUrlSearch = _useUrlSearchParams2[1]; + var curFormKey = (0,_react_17_0_2_react.useRef)(nanoid()); + (0,_react_17_0_2_react.useEffect)(function () { + requestFormCacheId += 0; + }, []); + var _useFetchData = useFetchData({ + request: request, + params: params, + proFieldKey: formKey + }), + _useFetchData2 = (0,slicedToArray/* default */.Z)(_useFetchData, 1), + initialData = _useFetchData2[0]; + var _useContext = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext), + getPrefixCls = _useContext.getPrefixCls; + var prefixCls = getPrefixCls('pro-form'); + // css + var _useStyle = useStyle_useStyle('ProForm', function (token) { + return (0,esm_defineProperty/* default */.Z)({}, ".".concat(prefixCls), (0,esm_defineProperty/* default */.Z)({}, "> div:not(".concat(token.proComponentsCls, "-form-light-filter)"), { + '.pro-field': { + maxWidth: '100%', + '@media screen and (max-width: 575px)': { + // 减少了 form 的 padding + maxWidth: 'calc(93vw - 48px)' + }, + // 适用于短数字,短文本或者选项 + '&-xs': { + width: 104 + }, + '&-s': { + width: 216 + }, + // 适用于较短字段录入、如姓名、电话、ID 等。 + '&-sm': { + width: 216 + }, + '&-m': { + width: 328 + }, + // 标准宽度,适用于大部分字段长度 + '&-md': { + width: 328 + }, + '&-l': { + width: 440 + }, + // 适用于较长字段录入,如长网址、标签组、文件路径等。 + '&-lg': { + width: 440 + }, + // 适用于长文本录入,如长链接、描述、备注等,通常搭配自适应多行输入框或定高文本域使用。 + '&-xl': { + width: 552 + } + } + })); + }), + wrapSSR = _useStyle.wrapSSR, + hashId = _useStyle.hashId; + + // 如果为 false,不需要触发设置进去 + var _useState = (0,_react_17_0_2_react.useState)(function () { + if (!syncToUrl) { + return {}; + } + return genParams(syncToUrl, urlSearch, 'get'); + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + urlParamsMergeInitialValues = _useState2[0], + setUrlParamsMergeInitialValues = _useState2[1]; + + /** 保存 transformKeyRef,用于对表单key transform */ + var transformKeyRef = (0,_react_17_0_2_react.useRef)({}); + var fieldsValueType = (0,_react_17_0_2_react.useRef)({}); + + /** 使用 callback 的类型 */ + var transformKey = useRefFunction(function (values, paramsOmitNil, parentKey) { + return transformKeySubmitValue(conversionMomentValue(values, dateFormatter, fieldsValueType.current, paramsOmitNil, parentKey), transformKeyRef.current, paramsOmitNil); + }); + (0,_react_17_0_2_react.useEffect)(function () { + if (syncToInitialValues) return; + setUrlParamsMergeInitialValues({}); + }, [syncToInitialValues]); + (0,_react_17_0_2_react.useEffect)(function () { + if (!syncToUrl) return; + setUrlSearch(genParams(syncToUrl, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, urlSearch), extraUrlParams), 'set')); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [extraUrlParams, syncToUrl]); + var getPopupContainer = (0,_react_17_0_2_react.useMemo)(function () { + if (typeof window === 'undefined') return undefined; + // 如果在 drawerForm 和 modalForm 里就渲染dom到父节点里 + // modalForm 可能高度太小不适合 + if (formComponentType && ['DrawerForm'].includes(formComponentType)) { + return function (e) { + return e.parentNode || document.body; + }; + } + return undefined; + }, [formComponentType]); + var onFinish = useRefFunction( /*#__PURE__*/(0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2() { + var _formRef$current4, _formRef$current4$get, finalValues, response, _formRef$current5, _formRef$current5$get, syncToUrlParams; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + if (propRest.onFinish) { + _context2.next = 2; + break; + } + return _context2.abrupt("return"); + case 2: + if (!loading) { + _context2.next = 4; + break; + } + return _context2.abrupt("return"); + case 4: + _context2.prev = 4; + finalValues = formRef === null || formRef === void 0 || (_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 || (_formRef$current4$get = _formRef$current4.getFieldsFormatValue) === null || _formRef$current4$get === void 0 ? void 0 : _formRef$current4$get.call(_formRef$current4); + response = propRest.onFinish(finalValues); + if (response instanceof Promise) { + setLoading(true); + } + _context2.next = 10; + return response; + case 10: + if (syncToUrl) { + // 把没有的值设置为未定义可以删掉 url 的参数 + syncToUrlParams = Object.keys(formRef === null || formRef === void 0 || (_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 || (_formRef$current5$get = _formRef$current5.getFieldsFormatValue) === null || _formRef$current5$get === void 0 ? void 0 : _formRef$current5$get.call(_formRef$current5, undefined, false)).reduce(function (pre, next) { + var _finalValues$next; + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, pre), {}, (0,esm_defineProperty/* default */.Z)({}, next, (_finalValues$next = finalValues[next]) !== null && _finalValues$next !== void 0 ? _finalValues$next : undefined)); + }, extraUrlParams); // fix #3547: 当原先在url中存在的字段被删除时,应该将 params 中的该字段设置为 undefined,以便触发url同步删除 + Object.keys(urlSearch).forEach(function (key) { + if (syncToUrlParams[key] !== false && syncToUrlParams[key] !== 0 && !syncToUrlParams[key]) { + syncToUrlParams[key] = undefined; + } + }); + /** 在同步到 url 上时对参数进行转化 */ + setUrlSearch(genParams(syncToUrl, syncToUrlParams, 'set')); + } + setLoading(false); + _context2.next = 18; + break; + case 14: + _context2.prev = 14; + _context2.t0 = _context2["catch"](4); + console.log(_context2.t0); + setLoading(false); + case 18: + case "end": + return _context2.stop(); + } + }, _callee2, null, [[4, 14]]); + }))); + + // 初始化给一个默认的 form + (0,_react_17_0_2_react.useImperativeHandle)(propsFormRef, function () { + return formRef.current; + }, [!initialData]); + if (!initialData && props.request) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + paddingTop: 50, + paddingBottom: 50, + textAlign: 'center' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {}) + }); + } + return wrapSSR( /*#__PURE__*/(0,jsx_runtime.jsx)(EditOrReadOnlyContext.Provider, { + value: { + mode: props.readonly ? 'read' : 'edit' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ProConfigProvider, { + needDeps: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_FieldContext.Provider, { + value: { + formRef: formRef, + fieldProps: fieldProps, + proFieldProps: proFieldProps, + formItemProps: formItemProps, + groupProps: groupProps, + formComponentType: formComponentType, + getPopupContainer: getPopupContainer, + formKey: curFormKey.current, + setFieldValueType: function setFieldValueType(name, _ref4) { + var _ref4$valueType = _ref4.valueType, + valueType = _ref4$valueType === void 0 ? 'text' : _ref4$valueType, + dateFormat = _ref4.dateFormat, + transform = _ref4.transform; + if (!Array.isArray(name)) return; + transformKeyRef.current = (0,set/* default */.Z)(transformKeyRef.current, name, transform); + fieldsValueType.current = (0,set/* default */.Z)(fieldsValueType.current, name, { + valueType: valueType, + dateFormat: dateFormat + }); + } + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(FormListContext.Provider, { + value: {}, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + onKeyPress: function onKeyPress(event) { + if (!isKeyPressSubmit) return; + if (event.key === 'Enter') { + var _formRef$current6; + (_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 || _formRef$current6.submit(); + } + }, + autoComplete: "off", + form: form + }, _omit_js_2_0_2_omit_js_es(propRest, ['labelWidth', 'autoFocusFirstInput'])), {}, { + // 组合 urlSearch 和 initialValues + initialValues: syncToUrlAsImportant ? (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, initialValues), initialData), urlParamsMergeInitialValues) : (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, urlParamsMergeInitialValues), initialValues), initialData), + onValuesChange: function onValuesChange(changedValues, values) { + var _propRest$onValuesCha; + propRest === null || propRest === void 0 || (_propRest$onValuesCha = propRest.onValuesChange) === null || _propRest$onValuesCha === void 0 || _propRest$onValuesCha.call(propRest, transformKey(changedValues, !!omitNil), transformKey(values, !!omitNil)); + }, + className: _classnames_2_5_1_classnames_default()(props.className, prefixCls, hashId), + onFinish: onFinish, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(BaseFormComponents, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + transformKey: transformKey, + autoComplete: "off", + loading: loading, + onUrlSearchChange: setUrlSearch + }, props), {}, { + formRef: formRef, + initialValues: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, initialValues), initialData) + })) + })) + }) + }) + }) + })); +} + +;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/layouts/ModalForm/index.js + + + + + +var ModalForm_excluded = ["children", "trigger", "onVisibleChange", "onOpenChange", "modalProps", "onFinish", "submitTimeout", "title", "width", "visible", "open"]; + + + + + + + + + + + +function ModalForm(_ref) { + var _context$locale3, _context$locale4; + var children = _ref.children, + trigger = _ref.trigger, + onVisibleChange = _ref.onVisibleChange, + onOpenChange = _ref.onOpenChange, + modalProps = _ref.modalProps, + onFinish = _ref.onFinish, + submitTimeout = _ref.submitTimeout, + title = _ref.title, + width = _ref.width, + propVisible = _ref.visible, + propsOpen = _ref.open, + rest = (0,objectWithoutProperties/* default */.Z)(_ref, ModalForm_excluded); + (0,warning/* noteOnce */.ET)( + // eslint-disable-next-line @typescript-eslint/dot-notation + !rest['footer'] || !(modalProps !== null && modalProps !== void 0 && modalProps.footer), 'ModalForm 是一个 ProForm 的特殊布局,如果想自定义按钮,请使用 submit.render 自定义。'); + var context = (0,_react_17_0_2_react.useContext)(config_provider/* default.ConfigContext */.ZP.ConfigContext); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + forceUpdate = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(false), + _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2), + loading = _useState4[0], + setLoading = _useState4[1]; + var _useMergedState = (0,useMergedState/* default */.Z)(!!propVisible, { + value: propsOpen || propVisible, + onChange: onOpenChange || onVisibleChange + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + open = _useMergedState2[0], + setOpen = _useMergedState2[1]; + var footerRef = (0,_react_17_0_2_react.useRef)(null); + var footerDomRef = (0,_react_17_0_2_react.useCallback)(function (element) { + if (footerRef.current === null && element) { + forceUpdate([]); + } + footerRef.current = element; + }, []); + var formRef = (0,_react_17_0_2_react.useRef)(); + var resetFields = (0,_react_17_0_2_react.useCallback)(function () { + var _ref2, _rest$form, _rest$formRef; + var form = (_ref2 = (_rest$form = rest.form) !== null && _rest$form !== void 0 ? _rest$form : (_rest$formRef = rest.formRef) === null || _rest$formRef === void 0 ? void 0 : _rest$formRef.current) !== null && _ref2 !== void 0 ? _ref2 : formRef.current; + // 重置表单 + if (form && modalProps !== null && modalProps !== void 0 && modalProps.destroyOnClose) { + form.resetFields(); + } + }, [modalProps === null || modalProps === void 0 ? void 0 : modalProps.destroyOnClose, rest.form, rest.formRef]); + (0,_react_17_0_2_react.useImperativeHandle)(rest.formRef, function () { + return formRef.current; + }, [formRef.current]); + (0,_react_17_0_2_react.useEffect)(function () { + if (propsOpen || propVisible) { + onOpenChange === null || onOpenChange === void 0 || onOpenChange(true); + onVisibleChange === null || onVisibleChange === void 0 || onVisibleChange(true); + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [propVisible, propsOpen]); + var triggerDom = (0,_react_17_0_2_react.useMemo)(function () { + if (!trigger) { + return null; + } + return /*#__PURE__*/_react_17_0_2_react.cloneElement(trigger, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: 'trigger' + }, trigger.props), {}, { + onClick: function () { + var _onClick = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(e) { + var _trigger$props, _trigger$props$onClic; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + setOpen(!open); + (_trigger$props = trigger.props) === null || _trigger$props === void 0 || (_trigger$props$onClic = _trigger$props.onClick) === null || _trigger$props$onClic === void 0 || _trigger$props$onClic.call(_trigger$props, e); + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onClick(_x) { + return _onClick.apply(this, arguments); + } + return onClick; + }() + })); + }, [setOpen, trigger, open]); + var submitterConfig = (0,_react_17_0_2_react.useMemo)(function () { + var _ref3, _modalProps$okText, _context$locale, _ref4, _modalProps$cancelTex, _context$locale2; + if (rest.submitter === false) { + return false; + } + return _lodash_es_4_17_21_lodash_es_merge({ + searchConfig: { + submitText: (_ref3 = (_modalProps$okText = modalProps === null || modalProps === void 0 ? void 0 : modalProps.okText) !== null && _modalProps$okText !== void 0 ? _modalProps$okText : (_context$locale = context.locale) === null || _context$locale === void 0 || (_context$locale = _context$locale.Modal) === null || _context$locale === void 0 ? void 0 : _context$locale.okText) !== null && _ref3 !== void 0 ? _ref3 : '确认', + resetText: (_ref4 = (_modalProps$cancelTex = modalProps === null || modalProps === void 0 ? void 0 : modalProps.cancelText) !== null && _modalProps$cancelTex !== void 0 ? _modalProps$cancelTex : (_context$locale2 = context.locale) === null || _context$locale2 === void 0 || (_context$locale2 = _context$locale2.Modal) === null || _context$locale2 === void 0 ? void 0 : _context$locale2.cancelText) !== null && _ref4 !== void 0 ? _ref4 : '取消' + }, + resetButtonProps: { + preventDefault: true, + // 提交表单loading时,不可关闭弹框 + disabled: submitTimeout ? loading : undefined, + onClick: function onClick(e) { + var _modalProps$onCancel; + setOpen(false); + // fix: #6006 点击取消按钮时,那么必然会触发弹窗关闭,我们无需在 此处重置表单,只需在弹窗关闭时重置即可 + modalProps === null || modalProps === void 0 || (_modalProps$onCancel = modalProps.onCancel) === null || _modalProps$onCancel === void 0 || _modalProps$onCancel.call(modalProps, e); + } + } + }, rest.submitter); + }, [(_context$locale3 = context.locale) === null || _context$locale3 === void 0 || (_context$locale3 = _context$locale3.Modal) === null || _context$locale3 === void 0 ? void 0 : _context$locale3.cancelText, (_context$locale4 = context.locale) === null || _context$locale4 === void 0 || (_context$locale4 = _context$locale4.Modal) === null || _context$locale4 === void 0 ? void 0 : _context$locale4.okText, modalProps, rest.submitter, setOpen, loading, submitTimeout]); + var contentRender = (0,_react_17_0_2_react.useCallback)(function (formDom, submitter) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [formDom, footerRef.current && submitter ? /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: /*#__PURE__*/(0,_react_dom_17_0_2_react_dom.createPortal)(submitter, footerRef.current) + }, "submitter") : submitter] + }); + }, []); + var onFinishHandle = (0,_react_17_0_2_react.useCallback)( /*#__PURE__*/function () { + var _ref5 = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2(values) { + var response, timer, result; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + response = onFinish === null || onFinish === void 0 ? void 0 : onFinish(values); + if (submitTimeout && response instanceof Promise) { + setLoading(true); + timer = setTimeout(function () { + return setLoading(false); + }, submitTimeout); + response.finally(function () { + clearTimeout(timer); + setLoading(false); + }); + } + _context2.next = 4; + return response; + case 4: + result = _context2.sent; + // 返回真值,关闭弹框 + if (result) { + setOpen(false); + } + return _context2.abrupt("return", result); + case 7: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function (_x2) { + return _ref5.apply(this, arguments); + }; + }(), [onFinish, setOpen, submitTimeout]); + var modalOpenProps = openVisibleCompatible(open); + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + title: title, + width: width || 800 + }, modalProps), modalOpenProps), {}, { + onCancel: function onCancel(e) { + var _modalProps$onCancel2; + // 提交表单loading时,阻止弹框关闭 + if (submitTimeout && loading) return; + setOpen(false); + modalProps === null || modalProps === void 0 || (_modalProps$onCancel2 = modalProps.onCancel) === null || _modalProps$onCancel2 === void 0 || _modalProps$onCancel2.call(modalProps, e); + }, + afterClose: function afterClose() { + var _modalProps$afterClos; + resetFields(); + if (open) { + setOpen(false); + } + modalProps === null || modalProps === void 0 || (_modalProps$afterClos = modalProps.afterClose) === null || _modalProps$afterClos === void 0 || _modalProps$afterClos.call(modalProps); + }, + footer: rest.submitter !== false ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + ref: footerDomRef, + style: { + display: 'flex', + justifyContent: 'flex-end' + } + }) : null, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(BaseForm, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + formComponentType: "ModalForm", + layout: "vertical" + }, rest), {}, { + onInit: function onInit(_, form) { + var _rest$onInit; + if (rest.formRef) { + rest.formRef.current = form; + } + rest === null || rest === void 0 || (_rest$onInit = rest.onInit) === null || _rest$onInit === void 0 || _rest$onInit.call(rest, _, form); + formRef.current = form; + }, + formRef: formRef, + submitter: submitterConfig, + onFinish: ( /*#__PURE__*/function () { + var _ref6 = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee3(values) { + var result; + return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return onFinishHandle(values); + case 2: + result = _context3.sent; + return _context3.abrupt("return", result); + case 4: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function (_x3) { + return _ref6.apply(this, arguments); + }; + }()), + contentRender: contentRender, + children: children + })) + })), triggerDom] + }); +} + + +/***/ }), + +/***/ 39381: +/*!*******************************************************************!*\ + !*** ./node_modules/_dayjs@1.11.12@dayjs/plugin/quarterOfYear.js ***! + \*******************************************************************/ +/***/ (function(module) { + +!function(t,n){ true?module.exports=n():0}(this,(function(){"use strict";var t="month",n="quarter";return function(e,i){var r=i.prototype;r.quarter=function(t){return this.$utils().u(t)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(t-1))};var s=r.add;r.add=function(e,i){return e=Number(e),this.$utils().p(i)===n?this.add(3*e,t):s.bind(this)(e,i)};var u=r.startOf;r.startOf=function(e,i){var r=this.$utils(),s=!!r.u(i)||i;if(r.p(e)===n){var o=this.quarter()-1;return s?this.month(3*o).startOf(t).startOf("day"):this.month(3*o+2).endOf(t).endOf("day")}return u.bind(this)(e,i)}}})); + +/***/ }) + +}]); \ No newline at end of file diff --git a/98409.54f4e356.async.js b/98409.6d7cb414.async.js similarity index 94% rename from 98409.54f4e356.async.js rename to 98409.6d7cb414.async.js index da22168e1d..e2d56b8711 100644 --- a/98409.54f4e356.async.js +++ b/98409.6d7cb414.async.js @@ -35,12 +35,15 @@ /* harmony export */ eX: function() { return /* binding */ device_tags_device_type; }, /* harmony export */ ed: function() { return /* binding */ reservations_table_query; }, /* harmony export */ f6: function() { return /* binding */ reservations_table_reviewed; }, +/* harmony export */ hO: function() { return /* binding */ device_fault_add; }, /* harmony export */ iD: function() { return /* binding */ device_fault_query; }, /* harmony export */ lX: function() { return /* binding */ reservations_table_update; }, /* harmony export */ oW: function() { return /* binding */ reservations_table_add; }, -/* harmony export */ uz: function() { return /* binding */ device_type_table_query; } +/* harmony export */ sp: function() { return /* binding */ device_info_table_add; }, +/* harmony export */ uz: function() { return /* binding */ device_type_table_query; }, +/* harmony export */ zZ: function() { return /* binding */ device_fault_update; } /* harmony export */ }); -/* unused harmony exports device_fault_infos_content, device_fault_statistics, device_info_table_update, device_info_table_add, reservations_table_querys, application_scrapped, scrapped_data_info, support_shixuns_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_add, device_fault_update, device_fault_infos */ +/* unused harmony exports device_fault_infos_content, device_fault_statistics, device_info_table_update, reservations_table_querys, application_scrapped, scrapped_data_info, support_shixuns_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos */ /* 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); @@ -511,13 +514,13 @@ function device_info_table_add(_x22) { //预约列表(预约管理, 预约审核) function _device_info_table_add() { - _device_info_table_add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(data) { - return _regeneratorRuntime().wrap(function _callee22$(_context22) { + _device_info_table_add = _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 _callee22(data) { + 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 _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: - return _context22.abrupt("return", Fetch("/api/zz_classrooms/devices.json", { + return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", { method: 'post', - body: _objectSpread({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) })); case 1: case "end": @@ -945,13 +948,13 @@ function device_fault_add(_x42) { } //更新故障记录 function _device_fault_add() { - _device_fault_add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee42(data) { - return _regeneratorRuntime().wrap(function _callee42$(_context42) { + _device_fault_add = _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 _callee42(data) { + 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 _callee42$(_context42) { while (1) switch (_context42.prev = _context42.next) { case 0: - return _context42.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos.json", { + return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", { method: 'post', - body: _objectSpread({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) })); case 1: case "end": @@ -966,13 +969,13 @@ function device_fault_update(_x43) { } //获取单条故障记录 function _device_fault_update() { - _device_fault_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee43(data) { - return _regeneratorRuntime().wrap(function _callee43$(_context43) { + _device_fault_update = _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 _callee43(data) { + 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 _callee43$(_context43) { while (1) switch (_context43.prev = _context43.next) { case 0: - return _context43.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { + return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { method: 'put', - body: _objectSpread({}, data) + body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data) })); case 1: case "end": diff --git a/index.html b/index.html index 8b34ad3984..456e47d6a8 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/monaco-editor.268b4232.async.js b/monaco-editor.062b640f.async.js similarity index 99% rename from monaco-editor.268b4232.async.js rename to monaco-editor.062b640f.async.js index ea09ea10da..bcd38de0ee 100644 --- a/monaco-editor.268b4232.async.js +++ b/monaco-editor.062b640f.async.js @@ -81449,7 +81449,7 @@ var nls = __webpack_require__(13268); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/notification/common/notification.js var notification = __webpack_require__(79504); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js -var quickInput = __webpack_require__(96148); +var quickInput = __webpack_require__(83079); ;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/codelens/codelensController.js /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. @@ -130578,7 +130578,7 @@ var functional = __webpack_require__(17845); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickAccess.js var quickAccess = __webpack_require__(82825); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js -var common_quickInput = __webpack_require__(96148); +var common_quickInput = __webpack_require__(83079); ;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/browser/quickAccess.js /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. @@ -134019,7 +134019,7 @@ var editorExtensions = __webpack_require__(4514); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/common/editorContextKeys.js var editorContextKeys = __webpack_require__(68987); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js -var quickInput = __webpack_require__(96148); +var quickInput = __webpack_require__(83079); ;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess.js /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. @@ -134280,7 +134280,7 @@ var editorExtensions = __webpack_require__(4514); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/common/editorContextKeys.js var editorContextKeys = __webpack_require__(68987); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js -var quickInput = __webpack_require__(96148); +var quickInput = __webpack_require__(83079); ;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess.js /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. @@ -134940,7 +134940,7 @@ var editorExtensions = __webpack_require__(4514); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/common/editorContextKeys.js var editorContextKeys = __webpack_require__(68987); // EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js -var quickInput = __webpack_require__(96148); +var quickInput = __webpack_require__(83079); ;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess.js /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. @@ -142252,7 +142252,7 @@ _registry_common_platform_js__WEBPACK_IMPORTED_MODULE_1__/* .Registry */ .B.add( /***/ }), -/***/ 96148: +/***/ 83079: /*!**********************************************************************************************************!*\ !*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js ***! \**********************************************************************************************************/ diff --git a/p__Classrooms__Lists__Exercise__Detail__index.71ede70b.async.js b/p__Classrooms__Lists__Exercise__Detail__index.e79badb8.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Detail__index.71ede70b.async.js rename to p__Classrooms__Lists__Exercise__Detail__index.e79badb8.async.js index 0b04776f76..bb46df6b8c 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.71ede70b.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.e79badb8.async.js @@ -14816,7 +14816,7 @@ var _react_infinite_scroller_1_2_4_react_infinite_scroller_default = /*#__PURE__ // EXTERNAL MODULE: ./src/assets/images/paper/jinshi.svg var jinshi = __webpack_require__(55684); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/FilterOutlined.js + 1 modules -var FilterOutlined = __webpack_require__(34362); +var FilterOutlined = __webpack_require__(76933); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/CaretUpOutlined.js + 1 modules var CaretUpOutlined = __webpack_require__(38353); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/Redo/index.tsx diff --git a/p__Equipment__BookingManage__index.86029ff1.async.js b/p__Equipment__BookingManage__index.86029ff1.async.js new file mode 100644 index 0000000000..a5fff65f2f --- /dev/null +++ b/p__Equipment__BookingManage__index.86029ff1.async.js @@ -0,0 +1,2696 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[61311],{ + +/***/ 2081: +/*!******************************************************************!*\ + !*** ./src/pages/Equipment/BookingManage/index.tsx + 18 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 */ Equipment_BookingManage; } +}); + +// 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__(19148); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules +var tabs = __webpack_require__(99313); +// EXTERNAL MODULE: ./src/service/onlinedevice.ts +var onlinedevice = __webpack_require__(98409); +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectDestructuringEmpty.js +var objectDestructuringEmpty = __webpack_require__(70236); +var objectDestructuringEmpty_default = /*#__PURE__*/__webpack_require__.n(objectDestructuringEmpty); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var InfoListmodules = ({"title":"title___wb6fR","search_list":"search_list___KkJuP","add_label":"add_label___UdHAZ","change_button":"change_button___UgCVf","button_no":"button_no____TY83","button_active":"button_active___n8Swi"}); +// 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/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(37205); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +;// CONCATENATED MODULE: ./src/assets/img/new_data.png +var new_data_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAOZJREFUWEdjZBgAsOb1fpP/f/6dxmY14wC4h2HUQYRCfTSERkOIUAgQkh9NQ6MhRCgECMlTnob+NzAZHb+jhLXuYeN6eNZk1m9CjkCWp9hBuoejBBn/M77DZuk/5j8qV6xX3h11EDEhpLY/UoSDhakWW2ixfvhUedZ38zeQHN2iTOdouDLTX5Y72Bz0n/G/0GXbZe9HHTQaQujpAznbj6YhQgUjVUJI71D0LazZ9D9D8GX7pZdBcsSW1NRy0H+sPmdiMr1is/jMqIP0DkWPhhDeumw0hAjV9qMhNBpClDbQRtMQgTQEAAwnmDsFGBvrAAAAAElFTkSuQmCC"; +// 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: ./src/utils/fetch.ts +var fetch = __webpack_require__(84112); +;// CONCATENATED MODULE: ./src/service/onlineReservation.ts + + + + + +// 所有可预约的实训 +function can_reservation_shixuns() { + return _can_reservation_shixuns.apply(this, arguments); +} + +// 实验支撑实验室与旗下设备 +function _can_reservation_shixuns() { + _can_reservation_shixuns = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", (0,fetch/* default */.ZP)('/api/zz_classrooms/reservations/can_reservation_shixuns.json', { + method: 'get' + })); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _can_reservation_shixuns.apply(this, arguments); +} +function get_shixun_zz_classrooms(_x) { + return _get_shixun_zz_classrooms.apply(this, arguments); +} + +// 图表统计 +function _get_shixun_zz_classrooms() { + _get_shixun_zz_classrooms = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(params) { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + return _context2.abrupt("return", Fetch('/api/zz_classrooms/reservations/get_shixun_zz_classrooms.json', { + method: 'get', + params: _objectSpread({}, params) + })); + case 1: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return _get_shixun_zz_classrooms.apply(this, arguments); +} +function get_statistical_chart(_x2) { + return _get_statistical_chart.apply(this, arguments); +} + +// 实验支撑实验室与旗下设备 +function _get_statistical_chart() { + _get_statistical_chart = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) { + return _regeneratorRuntime().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + return _context3.abrupt("return", Fetch('/api/zz_classrooms/device_details/statistical_chart.json', { + method: 'get', + params: _objectSpread({}, params) + })); + case 1: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return _get_statistical_chart.apply(this, arguments); +} +function get_shixun_kd_classrooms(_x3) { + return _get_shixun_kd_classrooms.apply(this, arguments); +} + +// 今日预约统计 +function _get_shixun_kd_classrooms() { + _get_shixun_kd_classrooms = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(params) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + return _context4.abrupt("return", (0,fetch/* default */.ZP)('/api/kd_classrooms/reservations/get_shixun_kd_classrooms.json', { + method: 'get', + params: objectSpread2_default()({}, params) + })); + case 1: + case "end": + return _context4.stop(); + } + }, _callee4); + })); + return _get_shixun_kd_classrooms.apply(this, arguments); +} +function reservation_today_data(_x4) { + return _reservation_today_data.apply(this, arguments); +} +function _reservation_today_data() { + _reservation_today_data = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(params) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + return _context5.abrupt("return", (0,fetch/* default */.ZP)('/api/kd_classrooms/reservations/reservation_data.json', { + method: 'get', + params: objectSpread2_default()({}, params) + })); + case 1: + case "end": + return _context5.stop(); + } + }, _callee5); + })); + return _reservation_today_data.apply(this, arguments); +} +// EXTERNAL MODULE: ./src/styles/table_botton.less +var table_botton = __webpack_require__(88833); +// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules +var env = __webpack_require__(98571); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(26790); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(78405); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules +var input = __webpack_require__(24650); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules +var dropdown = __webpack_require__(38854); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules +var menu = __webpack_require__(20834); +// 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/message/index.js + 4 modules +var 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/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/_antd@5.9.0@antd/es/date-picker/index.js + 66 modules +var date_picker = __webpack_require__(30518); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js +var es_select = __webpack_require__(57809); +// 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/table/index.js + 85 modules +var table = __webpack_require__(51945); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules +var pagination = __webpack_require__(86859); +// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.12@dayjs/dayjs.min.js +var dayjs_min = __webpack_require__(17810); +var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min); +// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-form@2.29.0@@ant-design/pro-form/es/layouts/ModalForm/index.js + 163 modules +var ModalForm = __webpack_require__(96148); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules +var es_checkbox = __webpack_require__(24905); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/Dialog/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Dialogmodules = ({"check_style":"check_style___QZpDP","check_text_style":"check_text_style___EFvxS","check_text_style_active":"check_text_style_active___Nn8rp","check_text_style_disable":"check_text_style_disable___Gh22P"}); +// EXTERNAL MODULE: ./src/service/user.ts +var user = __webpack_require__(76154); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js +var jsx_runtime = __webpack_require__(37712); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/Dialog/index.tsx + + + + + + + + + + + + + + + + + +var TextArea = input/* default */.Z.TextArea; +var ReservationDialog = function ReservationDialog(props) { + var _props$dataInfo6; + // 关联设备弹窗 + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var defaultFormData = { + date: dayjs_min_default()() + }; + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + devicesList = _useState2[0], + setDevicesList = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + departmentList = _useState4[0], + setDepartmentList = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + shixuns = _useState6[0], + setShixuns = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)([]), + _useState8 = slicedToArray_default()(_useState7, 2), + users = _useState8[0], + setUsers = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)([]), + _useState10 = slicedToArray_default()(_useState9, 2), + options = _useState10[0], + setOptions = _useState10[1]; + var onOpenChange = function onOpenChange(flag) { + if (flag) { + var _props$dataInfo; + setOptions([]); + //实验项目 + can_reservation_shixuns().then(function (res) { + if (res !== null && res !== void 0 && res.reservation_shixun) { + setShixuns(res === null || res === void 0 ? void 0 : res.reservation_shixun); + } + }); + //预约详情(新增/修改) + if (props !== null && props !== void 0 && (_props$dataInfo = props.dataInfo) !== null && _props$dataInfo !== void 0 && _props$dataInfo.reservations_id) { + var _props$dataInfo2; + (0,onlinedevice/* reservations_table_info */.J4)(props === null || props === void 0 || (_props$dataInfo2 = props.dataInfo) === null || _props$dataInfo2 === void 0 ? void 0 : _props$dataInfo2.reservations_id).then(function (res) { + form.setFieldValue('classroom_id', res === null || res === void 0 ? void 0 : res.classroom_id); + form.setFieldValue('reservation_user_id', res === null || res === void 0 ? void 0 : res.reservation_user_id); + form.setFieldValue('shixun_id', res === null || res === void 0 ? void 0 : res.shixun_id); + // get_shixun_kd_classrooms({ shixun_id: form.getFieldValue('shixun_id') }).then((res1) => { + // setDepartmentList(res1?.kd_classrooms); + // res1?.kd_classrooms.map((v: any, k: number) => { + // if (v?.id === res?.classroom_id) { + // setDevicesList(v?.devices); + // } + // }); + // }); + form.setFieldValue('device_id', res === null || res === void 0 ? void 0 : res.device_id); + form.setFieldValue('description', res === null || res === void 0 ? void 0 : res.description); + form.setFieldValue('phone', res === null || res === void 0 ? void 0 : res.phone); + changeTime(); + }); + } else { + //改变时间 + changeTime(); + } + //预约人 + (0,user/* user_table_query */.bn)({}).then(function (res) { + setUsers(res === null || res === void 0 ? void 0 : res.users); + }); + } + }; + var changeShixuns = function changeShixuns() { + get_shixun_kd_classrooms({ + shixun_id: form.getFieldValue('shixun_id') + }).then(function (res) { + setDepartmentList(res === null || res === void 0 ? void 0 : res.kd_classrooms); + form.setFieldValue('classroom_id', ''); + form.setFieldValue('device_id', ''); + }); + }; + var changeDepartmentList = function changeDepartmentList(e) { + // form.setFieldValue('device_id', '') + departmentList.map(function (v, k) { + if ((v === null || v === void 0 ? void 0 : v.id) === e) { + setDevicesList(v === null || v === void 0 ? void 0 : v.devices); + } + }); + }; + var changeTime = function changeTime() { + var _props$dataInfo3, _params_info$shixun_i; + var params_info = { + device_id: '', + date: '', + reservation_user_id: '', + shixun_id: '' + }; + if (props !== null && props !== void 0 && (_props$dataInfo3 = props.dataInfo) !== null && _props$dataInfo3 !== void 0 && _props$dataInfo3.reservations_id) { + var _form$getFieldValue; + //编辑 + // params_info.device_id = form.getFieldValue('device_id'); + params_info.date = dayjs_min_default()((_form$getFieldValue = form.getFieldValue('date')) === null || _form$getFieldValue === void 0 ? void 0 : _form$getFieldValue.$d).format('YYYY-MM-DD'); + params_info.reservation_user_id = form.getFieldValue('reservation_user_id') || ''; + params_info.shixun_id = form.getFieldValue('shixun_id') || ''; + } else { + var _form$getFieldValue2; + params_info.shixun_id = form.getFieldValue('shixun_id') || ''; + params_info.date = dayjs_min_default()((_form$getFieldValue2 = form.getFieldValue('date')) === null || _form$getFieldValue2 === void 0 ? void 0 : _form$getFieldValue2.$d).format('YYYY-MM-DD'); + } + // let params_info = { + // date: moment(form.getFieldValue('date')?.$d).format('YYYY-MM-DD'), + // shixun_id: form.getFieldValue('shixun_id') || '' + // }; + + // 实验项目未选择就返回 + if ((params_info === null || params_info === void 0 || (_params_info$shixun_i = params_info.shixun_id) === null || _params_info$shixun_i === void 0 ? void 0 : _params_info$shixun_i.length) < 1) { + return; + } + (0,onlinedevice/* reservations_table_devices_info */.bV)(params_info).then(function (res) { + var _form$getFieldValue3; + if ((res === null || res === void 0 ? void 0 : res.status) == -1) { + message/* default */.ZP.info(res === null || res === void 0 ? void 0 : res.message); + return; + } + + // if (res?.status == 0) { + // form.setFieldValue('device_id', res?.device?.id) + // defaultFormData.date = moment(res?.device?.date) + // form.setFieldValue('date', moment(res?.device?.date)) + var obj = []; + var time_active = []; + for (var i in res === null || res === void 0 || (_res$device = res.device) === null || _res$device === void 0 ? void 0 : _res$device.reservation_times) { + var _res$device, _res$device2, _res$device3, _res$device4, _res$device5, _res$device6, _res$device7, _res$device8, _res$device9; + obj.push({ + label: res === null || res === void 0 || (_res$device2 = res.device) === null || _res$device2 === void 0 ? void 0 : _res$device2.reservation_times[i].name, + value: res === null || res === void 0 || (_res$device3 = res.device) === null || _res$device3 === void 0 ? void 0 : _res$device3.reservation_times[i].id, + id: res === null || res === void 0 || (_res$device4 = res.device) === null || _res$device4 === void 0 ? void 0 : _res$device4.reservation_times[i].id, + is_check: !(res !== null && res !== void 0 && (_res$device5 = res.device) !== null && _res$device5 !== void 0 && _res$device5.reservation_times[i].can_reservation) && (res === null || res === void 0 || (_res$device6 = res.device) === null || _res$device6 === void 0 ? void 0 : _res$device6.reservation_times[i].is_person), + is_disable: !(res !== null && res !== void 0 && (_res$device7 = res.device) !== null && _res$device7 !== void 0 && _res$device7.reservation_times[i].is_person) && !(res !== null && res !== void 0 && (_res$device8 = res.device) !== null && _res$device8 !== void 0 && _res$device8.reservation_times[i].can_reservation) + }); + if (res !== null && res !== void 0 && (_res$device9 = res.device) !== null && _res$device9 !== void 0 && _res$device9.reservation_times[i].is_person) { + var _res$device10; + time_active.push(res === null || res === void 0 || (_res$device10 = res.device) === null || _res$device10 === void 0 ? void 0 : _res$device10.reservation_times[i].id); + } + } + form.setFieldValue('time_ids', time_active); + // 判断是否为今天 + var todayDate = new Date().setHours(0, 0, 0, 0); + var paramsDate = new Date("".concat(dayjs_min_default()((_form$getFieldValue3 = form.getFieldValue('date')) === null || _form$getFieldValue3 === void 0 ? void 0 : _form$getFieldValue3.$d).format('YYYY-MM-DD'))).setHours(0, 0, 0, 0); + var isToday = todayDate === paramsDate; + if (isToday) { + // 当前小时、分钟 + var myDate = new Date(), + hours = myDate.getHours(), + minutes = myDate.getMinutes(); + // 将小于当前的时间段过滤 + obj.forEach(function (item) { + // let h = item.label.slice(0, 1) == '0' ? item.label.slice(1, 2) : item.label.slice(0, 2); + // let m = ''; + // if (item.label.slice(3, 5) == '00') { + // m = '0'; + // } else if (item.label.slice(3, 4) == '0' && item.label.slice(4, 5) != '0') { + // m = item.label.slice(4, 5); + // } else { + // m = item.label.slice(3, 5); + // } + // if (hours > Number(h) || (hours == Number(h) && minutes > Number(m))) { + // item.is_disable = true; + // } + var h = item.label.slice(0, 1) == '0' ? item.label.slice(1, 2) : item.label.slice(0, 2); + if (hours > Number(h) || hours == Number(h) && minutes >= 30) { + item.is_disable = true; + } + }); + } + setOptions(obj); + // }else { + // message.error(res?.message); + // } + }); + }; + var onChange = function onChange(checkedValues) { + if ((checkedValues === null || checkedValues === void 0 ? void 0 : checkedValues.length) > 2) { + message/* default */.ZP.error('最多只能选择2个时间段预约'); + form.setFieldValue('time_ids', [checkedValues[0], checkedValues[1]]); + } else if ((checkedValues === null || checkedValues === void 0 ? void 0 : checkedValues.length) === 2) { + var a = 0; + var b = 0; + for (var i in options) { + if (options[i].value === checkedValues[0]) { + // a = options[i].id; + a = Number(i); + } + if (options[i].value === checkedValues[1]) { + // b = options[i].id; + b = Number(i); + } + } + if (a - b !== 1 && a - b !== -1) { + message/* default */.ZP.error('只能选择2个连续的时间段预约'); + form.setFieldValue('time_ids', [checkedValues[0]]); + } + } + var obj = JSON.parse(JSON.stringify(options)); + for (var _i in obj) { + if (form.getFieldValue('time_ids').length === 1) { + if (obj[_i].value === form.getFieldValue('time_ids')[0]) { + obj[_i].is_check = true; + } else { + obj[_i].is_check = false; + } + } else if (form.getFieldValue('time_ids').length === 2) { + if (obj[_i].value === form.getFieldValue('time_ids')[0] || obj[_i].value === form.getFieldValue('time_ids')[1]) { + obj[_i].is_check = true; + } else { + obj[_i].is_check = false; + } + } else { + obj[_i].is_check = false; + } + } + setOptions(obj); + }; + var disabledDate = function disabledDate(time) { + return time > dayjs_min_default()().add(7 - new Date().getDay() + 7, 'd') || time < new Date(new Date().getTime() - 24 * 60 * 60 * 1000); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(ModalForm/* ModalForm */.Y, { + width: 800, + layout: "horizontal", + initialValues: defaultFormData, + onOpenChange: onOpenChange, + labelCol: { + flex: '90px' + } // 根据效果可以自己具体去控制大小 + , + title: props.modalName === '调整预约' ? props.modalName : props.modalName + '预约', + trigger: props.modalName === '增加' ? /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + type: "primary", + children: [" ", props.modalName + '预约'] + }) : props.modalName === '调整预约' ? /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + children: props.modalName + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "yuyue_update", + children: [props.modalName, "\u9884\u7EA6"] + }) + // + , + form: form, + autoFocusFirstInput: true, + modalProps: { + destroyOnClose: true, + centered: true, + onCancel: function onCancel() { + return console.log('run'); + } + }, + submitTimeout: 2000, + onFinish: ( /*#__PURE__*/function () { + var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(values) { + var _props$dataInfo4; + var _props$dataInfo5; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (props !== null && props !== void 0 && (_props$dataInfo4 = props.dataInfo) !== null && _props$dataInfo4 !== void 0 && _props$dataInfo4.reservations_id) { + //编辑 + (0,onlinedevice/* reservations_table_update */.lX)(objectSpread2_default()({ + id: props === null || props === void 0 || (_props$dataInfo5 = props.dataInfo) === null || _props$dataInfo5 === void 0 ? void 0 : _props$dataInfo5.reservations_id + }, values)).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('编辑成功'); + props === null || props === void 0 || props.queryData(); + props === null || props === void 0 || props.queryTodayData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + } else { + //新增 + (0,onlinedevice/* reservations_table_add */.oW)(values).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('新增成功'); + props === null || props === void 0 || props.queryData(); + props === null || props === void 0 || props.queryTodayData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + } + return _context.abrupt("return", true); + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function (_x) { + return _ref.apply(this, arguments); + }; + }()), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "shixun_id", + label: "\u5B9E\u9A8C\u9879\u76EE", + style: { + height: '40px' + }, + rules: [{ + required: true, + message: '请选择实验项目' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: changeTime, + options: shixuns, + showSearch: true, + filterOption: function filterOption(input, option) { + var _option$name; + return ((_option$name = option === null || option === void 0 ? void 0 : option.name) !== null && _option$name !== void 0 ? _option$name : '').toLowerCase().includes(input.toLowerCase()); + }, + fieldNames: { + label: 'name', + value: 'id' + }, + size: "large" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "date", + label: "\u9884\u7EA6\u65E5\u671F", + style: { + marginTop: '-10px' + }, + rules: [{ + required: true, + message: '预约日期不能为空' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], { + disabledDate: disabledDate, + format: "YYYY-MM-DD", + onChange: changeTime, + allowClear: false, + size: "large" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "time_ids", + label: "\u9884\u7EA6\u65F6\u95F4", + style: { + marginTop: '-10px' + }, + rules: [{ + required: true, + message: '预约时间不能为空' + }], + children: options.length > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z.Group, { + style: { + width: '100%' + }, + onChange: onChange, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + children: options.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 6, + className: Dialogmodules.check_style, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + value: v.value, + disabled: v.is_disable, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: v.is_check ? Dialogmodules.check_text_style_active : v.is_disable ? Dialogmodules.check_text_style_disable : Dialogmodules.check_text_style, + children: v.label + }) + }) + }, k); + }) + }) + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + fontSize: '14px' + }, + children: "\u6682\u65E0\u53EF\u9009\u65F6\u95F4\u6BB5" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "description", + label: "\u9884\u7EA6\u8BF4\u660E", + style: { + marginTop: '-10px' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(TextArea, { + rows: 4 + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "reservation_user_id", + label: "\u9884\u7EA6\u4EBA", + style: { + marginTop: '-10px' + }, + rules: [{ + required: true, + message: '预约人不能为空' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + disabled: props !== null && props !== void 0 && (_props$dataInfo6 = props.dataInfo) !== null && _props$dataInfo6 !== void 0 && _props$dataInfo6.reservations_id ? true : false, + options: users, + showSearch: true, + filterOption: function filterOption(input, option) { + var _option$real_name; + return ((_option$real_name = option === null || option === void 0 ? void 0 : option.real_name) !== null && _option$real_name !== void 0 ? _option$real_name : '').toLowerCase().includes(input.toLowerCase()); + }, + fieldNames: { + label: 'real_name', + value: 'id' + }, + size: "large" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "phone", + label: "\u9884\u7EA6\u4EBA\u7535\u8BDD", + style: { + marginTop: '-10px' + }, + rules: [{ + required: true, + message: '请输入正确的手机号', + pattern: new RegExp(/^1(3|4|5|6|7|8|9)\d{9}$/, 'g') + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + suffix: " ", + size: "large" + }) + })] + }); +}; +/* harmony default export */ var Dialog = (ReservationDialog); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/ListDisplay/Dialog/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ListDisplay_Dialogmodules = ({"content":"content___ISvze"}); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/ListDisplay/Dialog/index.tsx + + + + + + +var InstructionsDialog = function InstructionsDialog(props) { + var _props$dataInfo; + // 关联设备弹窗 + + return /*#__PURE__*/(0,jsx_runtime.jsx)(ModalForm/* ModalForm */.Y, { + width: 400, + modalProps: { + centered: true + }, + layout: "horizontal", + labelCol: { + flex: '90px' + } // 根据效果可以自己具体去控制大小 + , + title: props.modalName, + trigger: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "yuyue_info", + children: props.modalName + }), + submitter: { + resetButtonProps: { + style: { + display: 'none' + } + } + }, + autoFocusFirstInput: true, + onFinish: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", true); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplay_Dialogmodules.content, + children: (props === null || props === void 0 || (_props$dataInfo = props.dataInfo) === null || _props$dataInfo === void 0 ? void 0 : _props$dataInfo.description) || '--' + }) + }); +}; +/* harmony default export */ var ListDisplay_Dialog = (InstructionsDialog); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/ListDisplay/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ListDisplaymodules = ({"box":"box___mhOOi","left":"left___GFJiQ","left_content":"left_content___JfHph","content":"content___BRw4d","content_title":"content_title___Wc81G","content_data":"content_data___Wouuh","search_list":"search_list____ksrZ","pagin":"pagin___YNZJv"}); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/ListDisplay/index.tsx + + + + + + + + + + + + + + + + + + + + + +var ListDisplay_TextArea = input/* default */.Z.TextArea; +var Details = function Details(_ref) { + objectDestructuringEmpty_default()(_ref); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + tableData = _useState2[0], + setTableData = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(1), + _useState4 = slicedToArray_default()(_useState3, 2), + page = _useState4[0], + setPage = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(10), + _useState6 = slicedToArray_default()(_useState5, 2), + limit = _useState6[0], + setLimit = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(0), + _useState8 = slicedToArray_default()(_useState7, 2), + total = _useState8[0], + setTotal = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)([]), + _useState10 = slicedToArray_default()(_useState9, 2), + devicesList = _useState10[0], + setDevicesList = _useState10[1]; + var _useState11 = (0,_react_17_0_2_react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + lableDialog = _useState12[0], + setLableDialog = _useState12[1]; + var _useState13 = (0,_react_17_0_2_react.useState)({}), + _useState14 = slicedToArray_default()(_useState13, 2), + box = _useState14[0], + setBox = _useState14[1]; + var _useState15 = (0,_react_17_0_2_react.useState)([]), + _useState16 = slicedToArray_default()(_useState15, 2), + shixuns = _useState16[0], + setShixuns = _useState16[1]; + var params = (0,_umi_production_exports.useParams)(); + var _useState17 = (0,_react_17_0_2_react.useState)({ + running_count: 0, + waiting_count: 0, + completed_count: 0, + device_count: 0, + running_device_count: 0, + use_device_count: 0, + abnormal_device_count: 0, + leave_device_count: 0, + can_reservation_device_count: 0 + }), + _useState18 = slicedToArray_default()(_useState17, 2), + todayData = _useState18[0], + setTodayData = _useState18[1]; + var items = [{ + key: '1', + label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + target: "_blank", + rel: "noopener noreferrer", + href: "https://www.antgroup.com", + children: "1st menu item" + }) + }, { + key: '2', + label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + target: "_blank", + rel: "noopener noreferrer", + href: "https://www.aliyun.com", + children: "2nd menu item (disabled)" + }) + }, { + key: '3', + label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + target: "_blank", + rel: "noopener noreferrer", + href: "https://www.luohanacademy.com", + children: "3rd menu item (disabled)" + }) + }, { + key: '4', + label: 'a danger item' + }]; + (0,_react_17_0_2_react.useEffect)(function () { + queryData(); + queryTodayData(); + sessionStorage.setItem('reservation_time', dayjs_min_default()(new Date()).format('YYYY-MM-DD')); + //实验项目 + can_reservation_shixuns().then(function (res) { + if (res !== null && res !== void 0 && res.reservation_shixun) { + setShixuns([{ + id: '', + name: '全部' + }].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.reservation_shixun))); + } + }); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + queryData(); + queryDevice(); + }, [page]); + var columns = [{ + title: '序号', + key: 'index', + render: function render(text, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (page - 1) * limit + index + 1 + }); + } + }, { + title: '姓名', + key: 'user_name', + dataIndex: 'user_name' + }, { + title: '角色', + key: 'is_student', + dataIndex: 'is_student', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text ? '学生' : '教师' + }); + } + }, { + title: '学院', + key: 'department', + dataIndex: 'department' + }, { + title: '实验项目', + key: 'shixun_name', + dataIndex: 'shixun_name' + }, { + title: '预约的设备组', + key: 'shixun_name', + dataIndex: 'shixun_name', + render: function render(text, record) { + var _record$device_group2; + return /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, { + trigger: ['click'], + dropdownRender: function dropdownRender() { + var _record$device_group; + return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, { + style: { + width: 'auto' + }, + children: record === null || record === void 0 || (_record$device_group = record.device_group) === null || _record$device_group === void 0 || (_record$device_group = _record$device_group.devices) === null || _record$device_group === void 0 ? void 0 : _record$device_group.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, { + onClick: function onClick() { + return _umi_production_exports.history.push({ + pathname: "/onlineDevice/deviceInfo/deviceDetails/".concat(item.id, "/true") + }); + }, + className: "font14", + children: item.name + }); + }) + }); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + onClick: function onClick(e) { + console.log(1111); + e.preventDefault(); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(space/* default */.Z, { + children: record === null || record === void 0 || (_record$device_group2 = record.device_group) === null || _record$device_group2 === void 0 ? void 0 : _record$device_group2.name + }) + }) + }); + } + }, { + title: '排队状态', + key: 'status', + dataIndex: 'status', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text === 'reviewing' ? '待审核' : text === 'waiting' ? '等待' : text === 'running' ? '运行' : text === 'completed' ? '完成' : text === 'rejected' ? '驳回' : text === 'approved' ? '已批准' : '' + }); + } + }, { + title: '预约时间', + key: 'reservation_times', + dataIndex: 'reservation_times', + render: function render(text) { + return text === null || text === void 0 ? void 0 : text.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (v === null || v === void 0 ? void 0 : v.name) + ' ' + }, k); + }); + } + }, { + title: '前方人数', + key: 'waiting_number', + dataIndex: 'waiting_number' + }, { + title: '预估等待(分)', + key: 'waiting_time', + dataIndex: 'waiting_time' + }, { + title: '操作', + key: 'cz', + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [(text === null || text === void 0 ? void 0 : text.status) === 'waiting' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "yuyue_clear", + onClick: function onClick() { + cancelReservation(record); + }, + children: "\u53D6\u6D88\u9884\u7EA6" + }), (text === null || text === void 0 ? void 0 : text.status) === 'waiting' && /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, { + modalName: "\u8C03\u6574", + dataInfo: { + time: sessionStorage.getItem('reservation_time'), + id: params === null || params === void 0 ? void 0 : params.id, + reservations_id: text === null || text === void 0 ? void 0 : text.id + }, + queryData: queryData, + queryTodayData: queryTodayData + }), (text === null || text === void 0 ? void 0 : text.status) === 'reviewing' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "update", + onClick: function onClick() { + reviewed(record, true, ''); + }, + children: "\u6279\u51C6" + }), (text === null || text === void 0 ? void 0 : text.status) === 'reviewing' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "xiajia", + onClick: function onClick() { + setBox(text), setLableDialog(true); + }, + children: "\u9A73\u56DE" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(ListDisplay_Dialog, { + modalName: "\u9884\u7EA6\u8BF4\u660E", + dataInfo: record + })] + }); + } + }]; + var onChange = function onChange(pageNumber) { + setPage(pageNumber); + }; + var queryDevice = function queryDevice() { + (0,onlinedevice/* device_info_table_query */.QD)({}).then(function (res) { + if (res !== null && res !== void 0 && res.devices) { + setDevicesList([{ + id: '', + name: '全部' + }].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.devices))); + } + }); + }; + var reviewed = function reviewed(box, flag, rejected_reason) { + (0,onlinedevice/* reservations_table_reviewed */.f6)({ + id: box === null || box === void 0 ? void 0 : box.id, + status: flag, + rejected_reason: rejected_reason + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + if (flag) { + message/* default */.ZP.success('批准成功'); + } else { + message/* default */.ZP.success('驳回成功'); + } + queryData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + }; + var queryData = function queryData() { + var _form$getFieldValue; + (0,onlinedevice/* reservations_table_query */.ed)({ + page: page, + limit: limit, + date: form.getFieldValue('date') ? dayjs_min_default()((_form$getFieldValue = form.getFieldValue('date')) === null || _form$getFieldValue === void 0 ? void 0 : _form$getFieldValue.$d).format('YYYY-MM-DD') : '', + device_id: form.getFieldValue('device_id') || '', + role: form.getFieldValue('role') || '', + shixun_id: form.getFieldValue('shixun_id') || '', + keyword: form.getFieldValue('keyword') || '', + status: form.getFieldValue('status') || '', + type: 1 + }).then(function (res) { + setTableData(res === null || res === void 0 ? void 0 : res.reservations); + setTotal(res === null || res === void 0 ? void 0 : res.reservations_count); + }); + }; + var cancelReservation = function cancelReservation(data) { + modal/* default */.Z.confirm({ + title: '取消预约', + centered: true, + icon: null, + content: '取消该用户预约任务,建议先联系该用户,取消后用户可收到预约变动信息', + okText: '确认', + cancelText: '取消', + onOk: function onOk() { + (0,onlinedevice/* reservations_table_canceled */.$Y)(data === null || data === void 0 ? void 0 : data.id).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('取消预约成功'); + queryData(); + queryTodayData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + } + }); + }; + var queryTodayData = function queryTodayData() { + reservation_today_data({}).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6, _res$data7, _res$data8, _res$data9; + setTodayData({ + running_count: res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.running_count, + waiting_count: res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.waiting_count, + completed_count: res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.completed_count, + device_count: res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.device_count, + running_device_count: res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.running_device_count, + use_device_count: res === null || res === void 0 || (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.running_device_count, + abnormal_device_count: res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.abnormal_device_count, + leave_device_count: res === null || res === void 0 || (_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.leave_device_count, + can_reservation_device_count: res === null || res === void 0 || (_res$data9 = res.data) === null || _res$data9 === void 0 ? void 0 : _res$data9.can_reservation_device_count + }); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + }; + var defaultFormData = { + device_id: '', + // date: '', + date: dayjs_min_default()(), + role: '', + status: '', + shixun_id: '', + keyword: '' + }; + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var disabledDate = function disabledDate(time) { + return time > dayjs_min_default()().add(7 - new Date().getDay() + 7, 'd'); + }; + var onShowSizeChange = function onShowSizeChange(current, pageSize) { + setLimit(pageSize); + queryData(); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + gutter: 24, + className: ListDisplaymodules.box, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 4, + className: ListDisplaymodules.left, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.left_content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: new_data_namespaceObject + }), "\u4ECA\u65E5\u6570\u636E"] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + width: '80%', + display: 'flex', + justifyContent: 'space-between', + marginLeft: '1.5%' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_title, + children: "\u5DF2\u7ECF\u5B8C\u6210\u9884\u7EA6\u4EBA\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_data, + children: todayData === null || todayData === void 0 ? void 0 : todayData.completed_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_title, + children: "\u6B63\u5728\u4F7F\u7528\u4EBA\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_data, + children: todayData === null || todayData === void 0 ? void 0 : todayData.running_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_title, + children: "\u6392\u961F\u4EBA\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_data, + children: todayData === null || todayData === void 0 ? void 0 : todayData.waiting_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_title, + children: "\u53EF\u9884\u7EA6\u8BBE\u5907\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_data, + children: todayData === null || todayData === void 0 ? void 0 : todayData.can_reservation_device_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_title, + children: "\u5728\u4F7F\u7528\u8BBE\u5907\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_data, + children: todayData === null || todayData === void 0 ? void 0 : todayData.running_device_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ListDisplaymodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_title, + children: "\u95F2\u7F6E\u8BBE\u5907\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.content_data, + children: todayData === null || todayData === void 0 ? void 0 : todayData.leave_device_count + })] + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + initialValues: defaultFormData, + form: form, + layout: "inline", + autoComplete: "off", + className: ListDisplaymodules.search_list, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u9884\u7EA6\u65F6\u95F4", + name: "date", + className: "mb20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], { + disabledDate: disabledDate, + onChange: queryData, + allowClear: true, + format: "YYYY-MM-DD" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u6392\u961F\u72B6\u6001", + name: "status", + className: "mb20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + allowClear: true, + style: { + width: '120px' + }, + options: [{ + value: '', + label: '全部' + }, { + value: 'waiting', + label: '等待' + }, { + value: 'running', + label: '运行' + }, { + value: 'completed', + label: '完成' + }] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u89D2\u8272", + name: "role", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + allowClear: true, + style: { + width: '120px' + }, + options: [{ + value: '', + label: '全部' + }, { + value: 1, + label: '学生' + }, { + value: 0, + label: '教师' + }] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u5B9E\u9A8C\u9879\u76EE", + name: "shixun_id", + className: "mb20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + allowClear: true, + style: { + width: '120px' + }, + options: shixuns, + fieldNames: { + label: 'name', + value: 'id' + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "keyword", + style: { + marginLeft: 'auto' + }, + className: "mb20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u7528\u6237\u540D/\u5B66\u53F7", + onPressEnter: function onPressEnter() { + return queryData(); + }, + suffix: /*#__PURE__*/(0,jsx_runtime.jsx)(SearchOutlined/* default */.Z, { + style: { + color: 'rgba(0,0,0,.45)' + }, + onClick: function onClick() { + return queryData(); + } + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + className: "mb20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + onClick: function onClick() { + var _info$date; + var info = form.getFieldsValue(); + (0,util/* downLoadLink */.Nd)('', "".concat(env/* default */.Z.PROXY_SERVER, "/api/kd_classrooms/reservations.xlsx?keyword=").concat((info === null || info === void 0 ? void 0 : info.keyword) || '', "&date=").concat(info !== null && info !== void 0 && info.date ? dayjs_min_default()(info === null || info === void 0 || (_info$date = info.date) === null || _info$date === void 0 ? void 0 : _info$date.$d).format('YYYY-MM-DD') : '', "&device_id=").concat((info === null || info === void 0 ? void 0 : info.device_id) || '', "&role=").concat((info === null || info === void 0 ? void 0 : info.role) || '', "&shixun_id=").concat((info === null || info === void 0 ? void 0 : info.shixun_id) || '', "&status=").concat((info === null || info === void 0 ? void 0 : info.status) || '', "&type=1")); + }, + children: "\u5BFC\u51FA" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, { + modalName: "\u589E\u52A0", + queryData: queryData, + queryTodayData: queryTodayData + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + columns: columns, + pagination: false, + dataSource: tableData, + rowKey: function rowKey(record) { + return record.id; + } + }), total > limit && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ListDisplaymodules.pagin, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showQuickJumper: true, + current: page, + pageSize: limit, + total: total, + onChange: onChange, + onShowSizeChange: onShowSizeChange + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "\u9A73\u56DE", + width: 400, + open: lableDialog, + onOk: function onOk() { + setLableDialog(false); + reviewed(box, false, form.getFieldValue('rejected_reason')); + // box.submit(); + }, + onCancel: function onCancel() { + setLableDialog(false); + }, + maskClosable: false, + centered: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + layout: "inline", + autoComplete: "off", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "rejected_reason", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ListDisplay_TextArea, { + placeholder: "\u8BF7\u8F93\u5165\u9A73\u56DE\u7406\u7531\uFF0C\u9884\u7EA6\u4EBA\u5C06\u6536\u5230\u9884\u7EA6\u5931\u8D25\u7684\u6D88\u606F\u901A\u77E5", + rows: 8, + cols: 38 + }) + }) + }) + })] + }); +}; +/* harmony default export */ var ListDisplay = (Details); +// 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/Equipment/BookingManage/InfoList/ImageDisplay/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/ImageDisplay/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var ImageDisplaymodules = ({"all":"all___G2_db","search_list":"search_list___lQ_T_","top":"top___uz8mr","top_text":"top_text___Zc4Wo","top_date_week":"top_date_week___vXTkL","top_text_date":"top_text_date___NONvF","top_text_week":"top_text_week___H4ygK","content":"content___KNs23","top_text_title":"top_text_title___m_Ru4","top_text_time":"top_text_time___FxQYr","tck":"tck___UnGSW","legend":"legend___PpkbN","legend_one_color":"legend_one_color___qjoot","legend_two_color":"legend_two_color___qJ8Z2","legend_three_color":"legend_three_color___MnH_P","legend_four_color":"legend_four_color___iAWFc","legend_text":"legend_text___VbO3i","row_style":"row_style___GaoaD","col_title":"col_title___XathN","col_content":"col_content___KgBvl","box_blue":"box_blue___XG_HY","box_green":"box_green___sm8QH","box_gray":"box_gray___X8dpG","box_white":"box_white___YUIq3","content_info":"content_info___unYaB","week_data":"week_data___lRj72","week_data_list":"week_data_list___VAZL9","week_data_list_label":"week_data_list_label___Cqmae","week_data_list_value":"week_data_list_value___jRDcz","week_nodata":"week_nodata___L1zzu"}); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/ImageDisplay/index.tsx + + + + + + + + + + + + + + +var ImageDisplay_TextArea = input/* default */.Z.TextArea; +var DeviceLabelPage = function DeviceLabelPage(_ref) { + objectDestructuringEmpty_default()(_ref); + var params = (0,_umi_production_exports.useParams)(); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + weekData = _useState2[0], + setWeekData = _useState2[1]; + var defaultFormData = { + yysj: 'a', + device_id: '', + classroom_id: '' + }; + var _useState3 = (0,_react_17_0_2_react.useState)([{ + date: '', + week: '' + }]), + _useState4 = slicedToArray_default()(_useState3, 2), + week = _useState4[0], + setWeek = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)({}), + _useState6 = slicedToArray_default()(_useState5, 2), + reservationInfo = _useState6[0], + setReservationInfo = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(dayjs_min_default()().weekday(1).format('YYYY/MM/DD')), + _useState8 = slicedToArray_default()(_useState7, 2), + startTime = _useState8[0], + setStartTime = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)(dayjs_min_default()().weekday(7).format('YYYY/MM/DD')), + _useState10 = slicedToArray_default()(_useState9, 2), + endTime = _useState10[0], + setEndTime = _useState10[1]; + var _useState11 = (0,_react_17_0_2_react.useState)(false), + _useState12 = slicedToArray_default()(_useState11, 2), + isModalOpen = _useState12[0], + setIsModalOpen = _useState12[1]; + var _useState13 = (0,_react_17_0_2_react.useState)(false), + _useState14 = slicedToArray_default()(_useState13, 2), + lableDialog = _useState14[0], + setLableDialog = _useState14[1]; + var _useState15 = (0,_react_17_0_2_react.useState)({}), + _useState16 = slicedToArray_default()(_useState15, 2), + reviewedData = _useState16[0], + setReviewedData = _useState16[1]; + var _useState17 = (0,_react_17_0_2_react.useState)([]), + _useState18 = slicedToArray_default()(_useState17, 2), + devices = _useState18[0], + setDevices = _useState18[1]; + var _useState19 = (0,_react_17_0_2_react.useState)([]), + _useState20 = slicedToArray_default()(_useState19, 2), + kdClassroom = _useState20[0], + setKdClassroom = _useState20[1]; + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + (0,_react_17_0_2_react.useEffect)(function () { + setWeek([{ + date: dayjs_min_default()().weekday(1).format('MM-DD'), + week: '周一' + }, { + date: dayjs_min_default()().weekday(2).format('MM-DD'), + week: '周二' + }, { + date: dayjs_min_default()().weekday(3).format('MM-DD'), + week: '周三' + }, { + date: dayjs_min_default()().weekday(4).format('MM-DD'), + week: '周四' + }, { + date: dayjs_min_default()().weekday(5).format('MM-DD'), + week: '周五' + }, { + date: dayjs_min_default()().weekday(6).format('MM-DD'), + week: '周六' + }, { + date: dayjs_min_default()().weekday(7).format('MM-DD'), + week: '周七' + }]); + // 获取实验室 + (0,onlinedevice/* device_tags_device_type */.eX)({ + type: 'KdClassroom' + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + res === null || res === void 0 || res.data.map(function (item) { + item.label = item.name; + item.value = item.id; + }); + setKdClassroom([{ + value: '', + label: '全部' + }].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.data))); + } + }); + }, []); + var changeRadio = function changeRadio(e) { + if (e === 'a') { + setStartTime(dayjs_min_default()().weekday(1).format('YYYY/MM/DD')); + setEndTime(dayjs_min_default()().weekday(7).format('YYYY/MM/DD')); + setWeek([{ + date: dayjs_min_default()().weekday(1).format('MM-DD'), + week: '周一' + }, { + date: dayjs_min_default()().weekday(2).format('MM-DD'), + week: '周二' + }, { + date: dayjs_min_default()().weekday(3).format('MM-DD'), + week: '周三' + }, { + date: dayjs_min_default()().weekday(4).format('MM-DD'), + week: '周四' + }, { + date: dayjs_min_default()().weekday(5).format('MM-DD'), + week: '周五' + }, { + date: dayjs_min_default()().weekday(6).format('MM-DD'), + week: '周六' + }, { + date: dayjs_min_default()().weekday(7).format('MM-DD'), + week: '周七' + }]); + } else if (e === 'b') { + setStartTime(dayjs_min_default()().subtract(new Date().getDay() + 6, 'd').format('YYYY/MM/DD')); + setEndTime(dayjs_min_default()().subtract(new Date().getDay() + 0, 'd').format('YYYY/MM/DD')); + setWeek([{ + date: dayjs_min_default()().subtract(new Date().getDay() + 6, 'd').format('MM-DD'), + week: '周一' + }, { + date: dayjs_min_default()().subtract(new Date().getDay() + 5, 'd').format('MM-DD'), + week: '周二' + }, { + date: dayjs_min_default()().subtract(new Date().getDay() + 4, 'd').format('MM-DD'), + week: '周三' + }, { + date: dayjs_min_default()().subtract(new Date().getDay() + 3, 'd').format('MM-DD'), + week: '周四' + }, { + date: dayjs_min_default()().subtract(new Date().getDay() + 2, 'd').format('MM-DD'), + week: '周五' + }, { + date: dayjs_min_default()().subtract(new Date().getDay() + 1, 'd').format('MM-DD'), + week: '周六' + }, { + date: dayjs_min_default()().subtract(new Date().getDay() + 0, 'd').format('MM-DD'), + week: '周七' + }]); + } else if (e === 'c') { + setStartTime(dayjs_min_default()().add(7 - new Date().getDay() + 1, 'd').format('YYYY/MM/DD')); + setEndTime(dayjs_min_default()().add(7 - new Date().getDay() + 7, 'd').format('YYYY/MM/DD')); + setWeek([{ + date: dayjs_min_default()().add(7 - new Date().getDay() + 1, 'd').format('MM-DD'), + week: '周一' + }, { + date: dayjs_min_default()().add(7 - new Date().getDay() + 2, 'd').format('MM-DD'), + week: '周二' + }, { + date: dayjs_min_default()().add(7 - new Date().getDay() + 3, 'd').format('MM-DD'), + week: '周三' + }, { + date: dayjs_min_default()().add(7 - new Date().getDay() + 4, 'd').format('MM-DD'), + week: '周四' + }, { + date: dayjs_min_default()().add(7 - new Date().getDay() + 5, 'd').format('MM-DD'), + week: '周五' + }, { + date: dayjs_min_default()().add(7 - new Date().getDay() + 6, 'd').format('MM-DD'), + week: '周六' + }, { + date: dayjs_min_default()().add(7 - new Date().getDay() + 7, 'd').format('MM-DD'), + week: '周七' + }]); + } + }; + (0,_react_17_0_2_react.useEffect)(function () { + if (!form.getFieldValue('device_id')) { + (0,onlinedevice/* device_info_table_query */.QD)({}).then(function (res) { + if (res !== null && res !== void 0 && res.devices) { + var _res$devices$; + setDevices(res === null || res === void 0 ? void 0 : res.devices); + form.setFieldValue('device_id', res === null || res === void 0 || (_res$devices$ = res.devices[0]) === null || _res$devices$ === void 0 ? void 0 : _res$devices$.id); + queryData(); + } + }); + } else { + queryData(); + } + }, [startTime]); + var handleCancel = function handleCancel() { + setIsModalOpen(false); + }; + var queryData = function queryData() { + (0,onlinedevice/* reservations_table_week_query */.Ku)({ + id: form.getFieldValue('device_id'), + start_time: startTime, + end_time: endTime + }).then(function (res) { + var obj = []; + for (var i = 0; i < 8; i++) { + obj.push([res === null || res === void 0 ? void 0 : res.device_reservations[0].reservations[i], res === null || res === void 0 ? void 0 : res.device_reservations[1].reservations[i], res === null || res === void 0 ? void 0 : res.device_reservations[2].reservations[i], res === null || res === void 0 ? void 0 : res.device_reservations[3].reservations[i], res === null || res === void 0 ? void 0 : res.device_reservations[4].reservations[i], res === null || res === void 0 ? void 0 : res.device_reservations[5].reservations[i], res === null || res === void 0 ? void 0 : res.device_reservations[6].reservations[i]]); + } + setWeekData(obj); + }); + }; + var cancelReservation = function cancelReservation(data) { + modal/* default */.Z.confirm({ + title: '取消预约', + icon: null, + centered: true, + content: '取消该用户预约任务,建议先联系该用户,取消后用户可收到预约变动信息', + okText: '确认', + cancelText: '取消', + onOk: function onOk() { + var _data$reservation_use; + (0,onlinedevice/* reservations_table_canceled */.$Y)(data === null || data === void 0 || (_data$reservation_use = data.reservation_user) === null || _data$reservation_use === void 0 ? void 0 : _data$reservation_use.id).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('取消预约成功'); + queryData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + } + }); + }; + var reviewed = function reviewed(box, flag, rejected_reason) { + var _box$reservation_user; + (0,onlinedevice/* reservations_table_reviewed */.f6)({ + id: box === null || box === void 0 || (_box$reservation_user = box.reservation_user) === null || _box$reservation_user === void 0 ? void 0 : _box$reservation_user.id, + status: flag, + rejected_reason: rejected_reason + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + if (flag) { + message/* default */.ZP.success('批准成功'); + } else { + message/* default */.ZP.success('驳回成功'); + } + queryData(); + setIsModalOpen(false); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + }; + var changeClassroom = function changeClassroom() { + (0,onlinedevice/* device_info_table_query */.QD)({ + classroom_id: form.getFieldValue('classroom_id') + }).then(function (res) { + var _res$devices$2; + setDevices(res === null || res === void 0 ? void 0 : res.devices); + form.setFieldValue('device_id', res === null || res === void 0 || (_res$devices$2 = res.devices[0]) === null || _res$devices$2 === void 0 ? void 0 : _res$devices$2.id); + queryData(); + }); + }; + var openModel = function openModel(box) { + if (box !== null && box !== void 0 && box.reservation_user) { + var _box$reservation_user2, _box$reservation_user3, _box$reservation_user5; + if ((box === null || box === void 0 || (_box$reservation_user2 = box.reservation_user) === null || _box$reservation_user2 === void 0 ? void 0 : _box$reservation_user2.status) === 'reviewing') { + setFooterButton([/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + setReviewedData(box), setLableDialog(true); + }, + children: "\u9A73\u56DE" + }, "back"), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + onClick: function onClick() { + reviewed(box, true, ''); + }, + children: "\u6279\u51C6" + }, "submit")]); + } else if ((box === null || box === void 0 || (_box$reservation_user3 = box.reservation_user) === null || _box$reservation_user3 === void 0 ? void 0 : _box$reservation_user3.status) === 'waiting') { + var _box$reservation_user4; + setFooterButton([/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + return cancelReservation(box); + }, + children: "\u53D6\u6D88\u9884\u7EA6" + }, "back"), /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, { + modalName: "\u8C03\u6574\u9884\u7EA6", + dataInfo: { + time: sessionStorage.getItem('reservation_time'), + id: params === null || params === void 0 ? void 0 : params.id, + reservations_id: box === null || box === void 0 || (_box$reservation_user4 = box.reservation_user) === null || _box$reservation_user4 === void 0 ? void 0 : _box$reservation_user4.id + }, + queryData: queryData + }, 1)]); + } else { + setFooterButton([]); + } + setIsModalOpen(true); + (0,onlinedevice/* reservations_table_info */.J4)(box === null || box === void 0 || (_box$reservation_user5 = box.reservation_user) === null || _box$reservation_user5 === void 0 ? void 0 : _box$reservation_user5.id).then(function (res) { + setReservationInfo(res); + }); + } + }; + var _useState21 = (0,_react_17_0_2_react.useState)([/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {}, "back"), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary" + }, "submit")]), + _useState22 = slicedToArray_default()(_useState21, 2), + footerButton = _useState22[0], + setFooterButton = _useState22[1]; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.all, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + initialValues: defaultFormData, + form: form, + layout: "inline", + autoComplete: "off", + className: ImageDisplaymodules.search_list, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "yysj", + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, { + buttonStyle: "solid", + onChange: function onChange(v) { + changeRadio(v.target.value); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "a", + children: "\u672C\u5468" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "b", + children: "\u4E0A\u5468" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Button */.ZP.Button, { + value: "c", + children: "\u4E0B\u5468" + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, { + style: { + height: '40px', + lineHeight: '40px' + }, + children: [startTime, " \u81F3 ", endTime] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "classroom_id", + label: "\u5B9E\u9A8C\u5BA4", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + style: { + width: '120px' + }, + onChange: changeClassroom, + options: kdClassroom + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + style: { + marginLeft: 'auto' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.legend, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.legend_one_color + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ImageDisplaymodules.legend_text, + children: "\u53EF\u9884\u7EA6" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.legend, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.legend_two_color + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ImageDisplaymodules.legend_text, + children: "\u5DF2\u8FC7\u671F" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.legend, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.legend_three_color + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ImageDisplaymodules.legend_text, + children: "\u5DF2\u9884\u7EA6" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.legend, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.legend_four_color + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: ImageDisplaymodules.legend_text, + children: "\u5F85\u5BA1\u6838" + })] + })] + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 3, + className: ImageDisplaymodules.top_text, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + initialValues: defaultFormData, + form: form, + style: { + overflow: 'hidden', + height: '58px', + width: '80%', + margin: 'auto' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "device_id", + style: { + marginTop: '7px' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + options: devices, + fieldNames: { + label: 'name', + value: 'id' + } + }) + }) + }) + }), week.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 3, + className: ImageDisplaymodules.top_date_week, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_date, + children: v.date + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_week, + children: v.week + })] + }, k); + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.content, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 3, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u4E00\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "08:30\u201409:00" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u4E8C\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "09:30\u201410:00" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u4E09\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "10:30\u201411:00" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u56DB\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "11:30\u201412:00" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u4E94\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "14:00\u201414:30" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u516D\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "15:00\u201415:30" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u4E03\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "18:00\u201418:30" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.top_text, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_title, + children: "\u7B2C\u516B\u8282" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.top_text_time, + children: "19:00\u201419:30" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 21, + children: weekData.map(function (item_1, k_1) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: item_1.map(function (v, k) { + var _v$reservation_user, _v$reservation_user2, _v$reservation_user3, _v$reservation_user4, _v$reservation_user5, _v$reservation_user6, _v$reservation_user7, _v$reservation_user8, _v$reservation_user9, _v$reservation_user10, _v$reservation_user11, _v$reservation_user12, _v$reservation_user13, _v$reservation_user14, _v$reservation_user15, _v$reservation_user16, _v$reservation_user17, _v$reservation_user18, _v$reservation_user19, _v$reservation_user20; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: (v === null || v === void 0 || (_v$reservation_user = v.reservation_user) === null || _v$reservation_user === void 0 ? void 0 : _v$reservation_user.status) === 'reviewing' ? 'content_info box_blue' : (v === null || v === void 0 || (_v$reservation_user2 = v.reservation_user) === null || _v$reservation_user2 === void 0 ? void 0 : _v$reservation_user2.status) === 'waiting' ? 'content_info box_green' : (v === null || v === void 0 || (_v$reservation_user3 = v.reservation_user) === null || _v$reservation_user3 === void 0 ? void 0 : _v$reservation_user3.status) === 'running' ? 'content_info box_gray' : (v === null || v === void 0 || (_v$reservation_user4 = v.reservation_user) === null || _v$reservation_user4 === void 0 ? void 0 : _v$reservation_user4.status) === 'completed' ? 'content_info box_gray' : (v === null || v === void 0 || (_v$reservation_user5 = v.reservation_user) === null || _v$reservation_user5 === void 0 ? void 0 : _v$reservation_user5.status) === 'rejected' ? 'content_info box_gray' : (v === null || v === void 0 || (_v$reservation_user6 = v.reservation_user) === null || _v$reservation_user6 === void 0 ? void 0 : _v$reservation_user6.status) === 'approved' ? 'content_info box_gray' : 'content_info', + onClick: function onClick() { + openModel(v); + }, + children: [((v === null || v === void 0 || (_v$reservation_user7 = v.reservation_user) === null || _v$reservation_user7 === void 0 ? void 0 : _v$reservation_user7.status) === 'reviewing' || (v === null || v === void 0 || (_v$reservation_user8 = v.reservation_user) === null || _v$reservation_user8 === void 0 ? void 0 : _v$reservation_user8.status) === 'waiting' || (v === null || v === void 0 || (_v$reservation_user9 = v.reservation_user) === null || _v$reservation_user9 === void 0 ? void 0 : _v$reservation_user9.status) === 'running' || (v === null || v === void 0 || (_v$reservation_user10 = v.reservation_user) === null || _v$reservation_user10 === void 0 ? void 0 : _v$reservation_user10.status) === 'completed' || (v === null || v === void 0 || (_v$reservation_user11 = v.reservation_user) === null || _v$reservation_user11 === void 0 ? void 0 : _v$reservation_user11.status) === 'rejected' || (v === null || v === void 0 || (_v$reservation_user12 = v.reservation_user) === null || _v$reservation_user12 === void 0 ? void 0 : _v$reservation_user12.status) === 'approved') && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.week_data, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.week_data_list, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.week_data_list_label, + children: "\u5B66\u751F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.week_data_list_value, + children: v === null || v === void 0 || (_v$reservation_user13 = v.reservation_user) === null || _v$reservation_user13 === void 0 ? void 0 : _v$reservation_user13.name + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: ImageDisplaymodules.week_data_list, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.week_data_list_label, + children: "\u5B66\u53F7" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.week_data_list_value, + children: (v === null || v === void 0 || (_v$reservation_user14 = v.reservation_user) === null || _v$reservation_user14 === void 0 ? void 0 : _v$reservation_user14.number) || '--' + })] + })] + }), (v === null || v === void 0 || (_v$reservation_user15 = v.reservation_user) === null || _v$reservation_user15 === void 0 ? void 0 : _v$reservation_user15.status) !== 'reviewing' && (v === null || v === void 0 || (_v$reservation_user16 = v.reservation_user) === null || _v$reservation_user16 === void 0 ? void 0 : _v$reservation_user16.status) !== 'waiting' && (v === null || v === void 0 || (_v$reservation_user17 = v.reservation_user) === null || _v$reservation_user17 === void 0 ? void 0 : _v$reservation_user17.status) !== 'running' && (v === null || v === void 0 || (_v$reservation_user18 = v.reservation_user) === null || _v$reservation_user18 === void 0 ? void 0 : _v$reservation_user18.status) !== 'completed' && (v === null || v === void 0 || (_v$reservation_user19 = v.reservation_user) === null || _v$reservation_user19 === void 0 ? void 0 : _v$reservation_user19.status) !== 'rejected' && (v === null || v === void 0 || (_v$reservation_user20 = v.reservation_user) === null || _v$reservation_user20 === void 0 ? void 0 : _v$reservation_user20.status) !== 'approved' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: ImageDisplaymodules.week_nodata, + children: "\u53EF\u9884\u7EA6" + })] + }, k); + }) + }, k_1); + }) + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "", + open: isModalOpen, + onCancel: handleCancel, + width: 400, + centered: true, + footer: footerButton, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + gutter: 24, + className: ImageDisplaymodules.row_style, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 7, + className: ImageDisplaymodules.col_title, + style: { + marginLeft: '-10px' + }, + children: "\u59D3\u540D\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 17, + className: ImageDisplaymodules.col_content, + children: reservationInfo === null || reservationInfo === void 0 ? void 0 : reservationInfo.user_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 7, + className: ImageDisplaymodules.col_title, + style: { + marginLeft: '-10px' + }, + children: "\u5B66\u9662\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 17, + className: ImageDisplaymodules.col_content, + children: reservationInfo === null || reservationInfo === void 0 ? void 0 : reservationInfo.department + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 7, + className: ImageDisplaymodules.col_title, + style: { + marginLeft: '-10px' + }, + children: "\u89D2\u8272\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 17, + className: ImageDisplaymodules.col_content, + children: reservationInfo !== null && reservationInfo !== void 0 && reservationInfo.is_student ? '学生' : '教师' + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 7, + className: ImageDisplaymodules.col_title, + style: { + marginLeft: '-10px' + }, + children: "\u5B9E\u9A8C\u8BFE\u7A0B\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 17, + className: ImageDisplaymodules.col_content, + children: "--" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 7, + className: ImageDisplaymodules.col_title, + style: { + marginLeft: '-10px' + }, + children: "\u5B9E\u9A8C\u9879\u76EE\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 17, + className: ImageDisplaymodules.col_content, + children: reservationInfo === null || reservationInfo === void 0 ? void 0 : reservationInfo.shixun_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 7, + className: ImageDisplaymodules.col_title, + style: { + marginLeft: '-10px' + }, + children: "\u9884\u7EA6\u8BF4\u660E\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + span: 17, + className: ImageDisplaymodules.col_content, + children: reservationInfo === null || reservationInfo === void 0 ? void 0 : reservationInfo.description + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "\u9A73\u56DE", + width: 400, + open: lableDialog, + onOk: function onOk() { + setLableDialog(false); + reviewed(reviewedData, false, form.getFieldValue('rejected_reason')); + }, + onCancel: function onCancel() { + setLableDialog(false); + }, + maskClosable: false, + centered: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + layout: "inline", + autoComplete: "off", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "rejected_reason", + rules: [{ + required: true + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ImageDisplay_TextArea, { + placeholder: "\u8BF7\u8F93\u5165\u9A73\u56DE\u7406\u7531\uFF0C\u9884\u7EA6\u4EBA\u5C06\u6536\u5230\u9884\u7EA6\u5931\u8D25\u7684\u6D88\u606F\u901A\u77E5", + rows: 8, + cols: 38 + }) + }) + }) + })] + }); +}; +/* harmony default export */ var ImageDisplay = (DeviceLabelPage); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/InfoList/index.tsx + + + + + + + + + + + + +var InfoList_Details = function Details(_ref) { + objectDestructuringEmpty_default()(_ref); + var _useState = (0,_react_17_0_2_react.useState)('a'), + _useState2 = slicedToArray_default()(_useState, 2), + type = _useState2[0], + setType = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(''), + _useState4 = slicedToArray_default()(_useState3, 2), + key = _useState4[0], + seKey = _useState4[1]; + var queryData = function queryData() { + seKey(new Date().toString()); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + layout: "inline", + autoComplete: "off", + className: InfoListmodules.search_list + }), type === 'a' ? /*#__PURE__*/(0,jsx_runtime.jsx)(ListDisplay, {}, key) : /*#__PURE__*/(0,jsx_runtime.jsx)(ImageDisplay, {}, key)] + }); +}; +/* harmony default export */ var InfoList = (InfoList_Details); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/Scrap/Dialog/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Scrap_Dialogmodules = ({"list":"list___p1JAv"}); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/Scrap/Dialog/index.tsx + + + + + + + + + + + + + +var Dialog_TextArea = input/* default */.Z.TextArea; + +// 表单内容 + +var ExamineDialog = function ExamineDialog(props) { + // 关联设备弹窗 + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useState = (0,_react_17_0_2_react.useState)({}), + _useState2 = slicedToArray_default()(_useState, 2), + submitter = _useState2[0], + setSubmitter = _useState2[1]; + var defaultFormData = {}; + var _useState3 = (0,_react_17_0_2_react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + lableDialog = _useState4[0], + setLableDialog = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + refuse = _useState6[0], + setrefuse = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)({}), + _useState8 = slicedToArray_default()(_useState7, 2), + box = _useState8[0], + setBox = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)({ + reservation_times: [] + }), + _useState10 = slicedToArray_default()(_useState9, 2), + dialog = _useState10[0], + setDialog = _useState10[1]; + var onOpenChange = function onOpenChange(flag) { + if (flag) { + var _props$dataInfo; + (0,onlinedevice/* reservations_table_info */.J4)(props === null || props === void 0 || (_props$dataInfo = props.dataInfo) === null || _props$dataInfo === void 0 ? void 0 : _props$dataInfo.id).then(function (res) { + setDialog(res); + }); + if (props.modalName === '查看') { + setSubmitter(false); + } else { + setSubmitter({ + render: function render(e) { + return [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + onClick: function onClick() { + setrefuse(false); + setBox(e); + setLableDialog(true); + }, + children: "\u9A73\u56DE" + }, "bh"), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + onClick: function onClick() { + setrefuse(false); + e.submit(); + return true; + }, + children: "\u6279\u51C6" + }, "pz")]; + } + }); + } + } + }; + var initData = function initData() { + // 获取未审核的条数 + (0,onlinedevice/* reservations_table_query */.ed)({ + page: 1, + limit: 10, + status: 'reviewing', + type: 2 + }).then(function (res) { + localStorage.setItem('daishenghe', res === null || res === void 0 ? void 0 : res.reservations_count); + }); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ModalForm/* ModalForm */.Y, { + width: 640, + layout: "horizontal", + modalProps: { + centered: true + }, + initialValues: defaultFormData, + onOpenChange: onOpenChange, + labelCol: { + flex: '90px' + } // 根据效果可以自己具体去控制大小 + , + title: props.momdalTitle, + trigger: props.modalName === '待审核' ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "update", + children: "\u5BA1\u6838" + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "info", + children: "\u67E5\u770B" + }), + submitter: submitter, + autoFocusFirstInput: true, + onFinish: ( /*#__PURE__*/function () { + var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(values) { + var _props$dataInfo2, _props$dataInfo3; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (refuse) { + //驳回 + (0,onlinedevice/* reservations_table_reviewed */.f6)({ + id: props === null || props === void 0 || (_props$dataInfo2 = props.dataInfo) === null || _props$dataInfo2 === void 0 ? void 0 : _props$dataInfo2.id, + status: false, + rejected_reason: form.getFieldValue('rejected_reason') + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('驳回成功'); + props.queryData(); + initData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + } else { + //批准 + (0,onlinedevice/* reservations_table_reviewed */.f6)({ + id: props === null || props === void 0 || (_props$dataInfo3 = props.dataInfo) === null || _props$dataInfo3 === void 0 ? void 0 : _props$dataInfo3.id, + status: true + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('批准成功'); + props.queryData(); + initData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + } + return _context.abrupt("return", true); + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function (_x) { + return _ref.apply(this, arguments); + }; + }()), + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + gutter: 24, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 8, + className: Scrap_Dialogmodules.list, + children: ["\u9884\u7EA6\u4EBA\uFF1A", dialog.user_name] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 8, + className: Scrap_Dialogmodules.list, + children: ["\u9884\u7EA6\u4EBA\u7535\u8BDD\uFF1A", dialog.phone] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 8, + className: Scrap_Dialogmodules.list, + children: ["\u5B66\u9662\uFF1A", dialog.department] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 8, + className: Scrap_Dialogmodules.list, + children: ["\u89D2\u8272\uFF1A", dialog.is_student ? '学生' : '教师'] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 8, + className: Scrap_Dialogmodules.list, + children: ["\u8BBE\u5907\uFF1A", dialog.device_group_name] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 24, + className: Scrap_Dialogmodules.list, + children: ["\u9884\u7EA6\u65E5\u671F\uFF1A", dialog.date] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 24, + className: Scrap_Dialogmodules.list, + children: ["\u9884\u7EA6\u65F6\u95F4\uFF1A", dialog.reservation_times.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: v.name + }, k); + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 24, + className: Scrap_Dialogmodules.list, + children: ["\u5B9E\u9A8C\u9879\u76EE\uFF1A", dialog.shixun_name] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 24, + className: Scrap_Dialogmodules.list, + children: ["\u9884\u7EA6\u8BF4\u660E\uFF1A", dialog.description] + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "\u9A73\u56DE", + width: 400, + open: lableDialog, + onOk: function onOk() { + setrefuse(true); + setLableDialog(false); + box.submit(); + }, + onCancel: function onCancel() { + setrefuse(false); + setLableDialog(false); + }, + maskClosable: false, + centered: true, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + layout: "inline", + autoComplete: "off", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "rejected_reason", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog_TextArea, { + placeholder: "\u8BF7\u8F93\u5165\u9A73\u56DE\u7406\u7531\uFF0C\u9884\u7EA6\u4EBA\u5C06\u6536\u5230\u9884\u7EA6\u5931\u8D25\u7684\u6D88\u606F\u901A\u77E5", + rows: 8, + cols: 38 + }) + }) + }) + })] + }); +}; +/* harmony default export */ var Scrap_Dialog = (ExamineDialog); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/Scrap/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Scrapmodules = ({"box":"box___qsHca","left":"left___nQ2PZ","left_content":"left_content___iIA9a","content":"content___G6hTP","content_title":"content_title___FLEkf","content_data":"content_data___DRt1Z","search_list":"search_list___VX0GH"}); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/Scrap/index.tsx + + + + + + + + + + + + + + + +var Scrap_Details = function Details(_ref) { + objectDestructuringEmpty_default()(_ref); + var _useState = (0,_react_17_0_2_react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + tableData = _useState2[0], + setTableData = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)(1), + _useState4 = slicedToArray_default()(_useState3, 2), + page = _useState4[0], + setPage = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(10), + _useState6 = slicedToArray_default()(_useState5, 2), + limit = _useState6[0], + setLimit = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)(0), + _useState8 = slicedToArray_default()(_useState7, 2), + total = _useState8[0], + setTotal = _useState8[1]; + var _useState9 = (0,_react_17_0_2_react.useState)([]), + _useState10 = slicedToArray_default()(_useState9, 2), + devicesList = _useState10[0], + setDevicesList = _useState10[1]; + var _useState11 = (0,_react_17_0_2_react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + shixuns = _useState12[0], + setShixuns = _useState12[1]; + (0,_react_17_0_2_react.useEffect)(function () { + queryData(); + sessionStorage.setItem('reservation_time', dayjs_min_default()(new Date()).format('YYYY-MM-DD')); + //实验项目 + can_reservation_shixuns().then(function (res) { + if (res !== null && res !== void 0 && res.reservation_shixun) { + setShixuns([{ + id: '', + name: '全部' + }].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.reservation_shixun))); + } + }); + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + queryData(); + queryDevice(); + }, [page]); + var columns = [{ + title: '序号', + key: 'index', + render: function render(text, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (page - 1) * limit + index + 1 + }); + } + }, { + title: '姓名', + key: 'user_name', + dataIndex: 'user_name' + }, { + title: '角色', + key: 'is_student', + dataIndex: 'is_student', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text ? '学生' : '教师' + }); + } + }, { + title: '学院', + key: 'department', + dataIndex: 'department' + }, { + title: '实验项目', + key: 'shixun_name', + dataIndex: 'shixun_name' + }, { + title: '预约类型', + key: 'yuyuetype', + dataIndex: 'yuyuetype', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u666E\u901A\u9884\u7EA6" + }); + } + }, { + title: '预约时间', + key: 'reservation_times', + dataIndex: 'reservation_times', + render: function render(text) { + return text === null || text === void 0 ? void 0 : text.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (v === null || v === void 0 ? void 0 : v.name) + ' ' + }, k); + }); + } + }, { + title: '审核状态', + key: 'status', + dataIndex: 'status', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text === 'reviewing' ? '待审核' : text === 'waiting' ? '已批准' : text === 'running' ? '已批准' : text === 'completed' ? '已完成' : text === 'rejected' ? '已驳回' : text === 'approved' ? '已批准' : '' + }); + } + }, { + title: '预约说明', + key: 'description', + dataIndex: 'description' + }, { + title: '操作', + key: 'cz', + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [text.status === 'reviewing' && /*#__PURE__*/(0,jsx_runtime.jsx)(Scrap_Dialog, { + modalName: "\u5F85\u5BA1\u6838", + momdalTitle: "\u7533\u8BF7\u9884\u7EA6", + queryData: queryData, + dataInfo: text + }), text.status !== 'reviewing' && /*#__PURE__*/(0,jsx_runtime.jsx)(Scrap_Dialog, { + modalName: "\u67E5\u770B", + momdalTitle: text.status === 'waiting' ? '已批准' : text.status === 'running' ? '已批准' : text.status === 'completed' ? '已完成' : text.status === 'rejected' ? '已驳回' : text.status === 'approved' ? '已批准' : '', + queryData: queryData, + dataInfo: text + })] + }); + } + }]; + var onChange = function onChange(pageNumber) { + setPage(pageNumber); + }; + var queryDevice = function queryDevice() { + (0,onlinedevice/* device_info_table_query */.QD)({}).then(function (res) { + if (res !== null && res !== void 0 && res.devices) { + setDevicesList([{ + id: '', + name: '全部' + }].concat(toConsumableArray_default()(res === null || res === void 0 ? void 0 : res.devices))); + } + }); + }; + var reviewed = function reviewed(box, flag, rejected_reason) { + (0,onlinedevice/* reservations_table_reviewed */.f6)({ + id: box === null || box === void 0 ? void 0 : box.id, + status: flag, + rejected_reason: rejected_reason + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + if (flag) { + message/* default */.ZP.success('批准成功'); + } else { + message/* default */.ZP.success('驳回成功'); + } + queryData(); + } else { + message/* default */.ZP.error(res === null || res === void 0 ? void 0 : res.message); + } + }); + }; + var onShowSizeChange = function onShowSizeChange(current, pageSize) { + setLimit(pageSize); + queryData(); + }; + var queryData = function queryData() { + var _form$getFieldValue; + (0,onlinedevice/* reservations_table_query */.ed)({ + page: page, + limit: limit, + date: form.getFieldValue('date') ? dayjs_min_default()((_form$getFieldValue = form.getFieldValue('date')) === null || _form$getFieldValue === void 0 ? void 0 : _form$getFieldValue.$d).format('YYYY-MM-DD') : '', + device_id: form.getFieldValue('device_id') || '', + role: form.getFieldValue('role') || '', + shixun_id: form.getFieldValue('shixun_id') || '', + keyword: form.getFieldValue('keyword') || '', + status: form.getFieldValue('status') || '', + type: 2 + }).then(function (res) { + setTableData(res === null || res === void 0 ? void 0 : res.reservations); + setTotal(res === null || res === void 0 ? void 0 : res.reservations_count); + if (form.getFieldValue('status') === 'reviewing') { + localStorage.setItem('daishenghe', res === null || res === void 0 ? void 0 : res.reservations_count); + } + }); + }; + var defaultFormData = { + device_id: '', + date: '', + // date: moment(), + role: '', + status: '', + shixun_id: '', + keyword: '', + yylx: '' + }; + var _Form$useForm = es_form/* default */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var disabledDate = function disabledDate(time) { + return time > dayjs_min_default()().add(7 - new Date().getDay() + 7, 'd'); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + initialValues: defaultFormData, + form: form, + layout: "inline", + autoComplete: "off", + className: Scrapmodules.search_list, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u9884\u7EA6\u65F6\u95F4", + name: "date", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], { + disabledDate: disabledDate, + onChange: queryData, + allowClear: true, + format: "YYYY-MM-DD" + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u89D2\u8272", + name: "role", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + allowClear: true, + style: { + width: '120px' + }, + options: [{ + value: '', + label: '全部' + }, { + value: 1, + label: '学生' + }, { + value: 0, + label: '教师' + }] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u9884\u7EA6\u7C7B\u578B", + name: "yylx", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + allowClear: true, + style: { + width: '120px' + }, + options: [{ + value: '', + label: '全部' + }, { + value: 1, + label: '普通预约' + }, { + value: 2, + label: '候补预约' + }] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u5BA1\u6838\u72B6\u6001", + name: "status", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { + onChange: queryData, + allowClear: true, + style: { + width: '120px' + }, + options: [{ + value: '', + label: '全部' + }, { + value: 'reviewing', + label: '未审核' + }, { + value: 'approved', + label: '已批准' + }, { + value: 'rejected', + label: '已驳回' + }, { + value: 'completed', + label: '已完成' + }] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + name: "keyword", + style: { + marginLeft: 'auto' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u8BF7\u8F93\u5165\u7528\u6237\u540D", + onPressEnter: function onPressEnter() { + return queryData(); + }, + suffix: /*#__PURE__*/(0,jsx_runtime.jsx)(SearchOutlined/* default */.Z, { + style: { + color: 'rgba(0,0,0,.45)' + }, + onClick: function onClick() { + return queryData(); + } + }) + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + columns: columns, + pagination: false, + dataSource: tableData, + rowKey: function rowKey(record) { + return record.id; + } + }), total > limit && /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showQuickJumper: true, + current: page, + pageSize: limit, + total: total, + onChange: onChange, + className: Scrapmodules.page_style, + onShowSizeChange: onShowSizeChange + })] + }); +}; +/* harmony default export */ var Scrap = (Scrap_Details); +;// CONCATENATED MODULE: ./src/pages/Equipment/BookingManage/index.tsx + + + + + + + + + +var BookingManage = function BookingManage(_ref) { + var loading = _ref.loading; + var _useState = (0,_react_17_0_2_react.useState)('info-list'), + _useState2 = slicedToArray_default()(_useState, 2), + activeKey = _useState2[0], + setActiveKey = _useState2[1]; + var _useState3 = (0,_react_17_0_2_react.useState)('0'), + _useState4 = slicedToArray_default()(_useState3, 2), + daishenghe = _useState4[0], + setDaishenghe = _useState4[1]; + var params = (0,_umi_production_exports.useParams)(); + var items = [{ + label: '预约管理', + key: 'info-list', + children: /*#__PURE__*/(0,jsx_runtime.jsx)(InfoList, {}) + }, { + label: '预约审核(' + daishenghe + '个待审核)', + key: 'scrap', + children: /*#__PURE__*/(0,jsx_runtime.jsx)(Scrap, {}) + }]; + (0,_react_17_0_2_react.useEffect)(function () { + initData(); + if (params.flag == 'true') { + setActiveKey('scrap'); + } else { + setActiveKey('info-list'); + } + }, []); + (0,_react_17_0_2_react.useEffect)(function () { + setDaishenghe(localStorage.getItem('daishenghe') || '0'); + }, [localStorage.getItem('daishenghe')]); + var initData = function initData() { + // 获取未审核的条数 + (0,onlinedevice/* reservations_table_query */.ed)({ + page: 1, + limit: 10, + status: 'reviewing', + type: 2 + }).then(function (res) { + localStorage.setItem('daishenghe', res === null || res === void 0 ? void 0 : res.reservations_count); + }); + }; + var onChange = function onChange(key) { + setActiveKey(key); + }; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, { + onChange: onChange, + activeKey: activeKey, + items: items + }); +}; +/* harmony default export */ var Equipment_BookingManage = ((0,_umi_production_exports.connect)(function (_ref2) { + var loading = _ref2.loading, + engineeringNavigtion = _ref2.engineeringNavigtion; + return objectSpread2_default()({ + loading: loading + }, engineeringNavigtion); +})(BookingManage)); + +/***/ }), + +/***/ 88833: +/*!**************************************!*\ + !*** ./src/styles/table_botton.less ***! + \**************************************/ +/***/ (function() { + +// extracted by mini-css-extract-plugin + + +/***/ }) + +}]); \ No newline at end of file diff --git a/p__Equipment__BookingManage__index.91a29ff6.chunk.css b/p__Equipment__BookingManage__index.91a29ff6.chunk.css new file mode 100644 index 0000000000..67d5a58d35 --- /dev/null +++ b/p__Equipment__BookingManage__index.91a29ff6.chunk.css @@ -0,0 +1,699 @@ +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/index.less?modules ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.title___wb6fR { + margin-top: 20px; +} +.title___wb6fR span { + font-size: 16px; + font-weight: 600; + color: #2C3850; + margin-right: 10px; +} +.search_list___KkJuP { + display: flex; +} +.search_list___KkJuP .add_label___UdHAZ { + margin-left: auto; +} +.change_button___UgCVf { + width: 136px; + height: 32px; + background: #F6F7F9; + border-radius: 16px; + margin-top: 3px; + box-shadow: 2px 2px 5px #D7D8D9 inset; +} +.change_button___UgCVf .button_no____TY83 { + width: 68px; + height: 32px; + cursor: pointer; + text-align: center; + border-radius: 16px; +} +.change_button___UgCVf .button_active___n8Swi { + width: 68px; + height: 32px; + background: #ffffff; + border: 1px #D5F5D1 solid; + border-radius: 16px; + text-align: center; +} +.change_button___UgCVf img { + width: 16px; + height: 16px; + margin-top: 4px; +} + +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/styles/table_botton.less ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.tag_btn, +.info, +.update, +.xiajia, +.yuyue_info, +.yuyue_clear, +.yuyue_update, +.baofei_info, +.yichang_info { + display: inline-block; + width: 44px; + margin-right: 10px; + padding: 1px 0px; + font-weight: 400; + font-size: 12px; + text-align: center; + border-radius: 2px; + cursor: pointer; +} +.info { + color: #0370d5; + background: rgba(3, 112, 213, 0.1); + border: 1px solid #0370d5; +} +.update { + color: #019158; + background: rgba(1, 145, 88, 0.1); + border: 1px solid #019158; +} +.xiajia { + color: #fe5050; + background: rgba(254, 80, 80, 0.1); + border: 1px solid #fe5050; +} +.yuyue_info { + width: 72px; + color: #0370d5; + background: rgba(3, 112, 213, 0.1); + border: 1px solid #0370d5; +} +.yuyue_clear { + width: 72px; + color: #fa6400; + background: rgba(250, 100, 0, 0.1); + border: 1px solid #fa6400; +} +.yuyue_update { + width: 72px; + color: #019158; + background: rgba(1, 145, 88, 0.1); + border: 1px solid #019158; +} +.baofei_info { + width: 72px; + color: #fe5050; + background: rgba(254, 80, 80, 0.1); + border: 1px solid #fe5050; +} +.yichang_info { + width: 96px; + color: #0370d5; + background: rgba(3, 112, 213, 0.1); + border: 1px solid #0370d5; +} + +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/Dialog/index.less?modules ***! + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.check_style___QZpDP { + margin: 10px 0; +} +.check_text_style___EFvxS { + width: 110px; + text-align: center; + border-radius: 10px; +} +.check_text_style_active___Nn8rp { + width: 110px; + text-align: center; + background: #DDF1F1; + color: #019158; + border-radius: 10px; +} +.check_text_style_disable___Gh22P { + width: 110px; + text-align: center; + background: #F3F6F8; + color: #ADB2B8; + border-radius: 10px; +} + +/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/ListDisplay/Dialog/index.less?modules ***! + \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.content___ISvze { + height: 200px; + overflow: hidden; + overflow-y: auto; +} + +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/ListDisplay/index.less?modules ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.box___mhOOi { + width: 100%; + height: 88px; + border: 1px solid #dae7ec; + border-radius: 8px; + margin: 0 auto; +} +.box___mhOOi .left___GFJiQ img { + width: 36px; + height: 36px; + margin-top: -10px; + margin-right: 10%; +} +.box___mhOOi .left___GFJiQ .left_content___JfHph { + height: 60px; + margin-top: 12px; + color: #2c3850; + font-weight: 600; + font-size: 20px; + line-height: 60px; + text-align: center; + border-right: 1px #dae7ec solid; +} +.box___mhOOi .content___BRw4d { + height: 60px; + margin-top: 12px; +} +.box___mhOOi .content___BRw4d .content_title___Wc81G { + width: 112px; + height: 30px; + color: #636d83; + font-weight: 400; + font-size: 14px; + line-height: 35px; +} +.box___mhOOi .content___BRw4d .content_data___Wouuh { + width: 24px; + height: 30px; + color: #2c3850; + font-weight: 600; + font-size: 20px; + line-height: 25px; +} +.search_list____ksrZ { + margin-top: 20px; +} +.pagin___YNZJv { + float: right; + padding: 20px 0; +} + +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/Equipment/BookingManage/InfoList/ImageDisplay/index.less ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.all { + width: 100%; + height: 550px; +} +.all .search_list { + margin-bottom: 30px; +} +.all .top { + height: 60px; +} +.all .top .top_text:first-child { + border: 1px #DDF1F1 solid; +} +.all .top .top_text:not(:first-child) { + border-top: 1px #DDF1F1 solid; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; +} +.all .top .top_text { + line-height: 60px; + text-align: center; + background: #F7FBFC; +} +.all .top_date_week { + display: flex; + height: 61px; + line-height: 61px; + text-align: center; + border-top: 1px #DDF1F1 solid; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; + background: #F7FBFC; +} +.all .top_date_week .top_text_date { + width: 50%; + text-align: center; + text-indent: 10px; + color: #ADB2B8; +} +.all .top_date_week .top_text_week { + width: 50%; + text-align: center; + text-indent: -10px; +} +.all .content .top_text { + height: 61px; + text-align: center; + border-left: 1px #DDF1F1 solid; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; + border-top: 1px #DDF1F1 solid; + background: #F7FBFC; +} +.all .content .top_text .top_text_title { + height: 30px; + line-height: 35px; +} +.all .content .top_text .top_text_time { + height: 30px; + line-height: 25px; +} +.tck { + width: 300px; + height: 500px; + border: 1px saddlebrown solid; + position: absolute; +} +.legend { + display: flex; + margin-left: 10px; +} +.legend .legend_one_color { + width: 18px; + margin: 2px 10px; + height: 10px; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend .legend_two_color { + width: 18px; + height: 10px; + margin: 2px 10px; + background: #ADB6B8; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend .legend_three_color { + width: 18px; + height: 10px; + margin: 2px 10px; + background: #2EC25B; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend .legend_four_color { + width: 18px; + height: 10px; + margin: 2px 10px; + background: #0370D5; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend .legend_text { + width: 42px; + height: 14px; + font-size: 14px; + font-weight: 400; + color: #2C3850; + line-height: 14px; +} +.row_style { + margin-top: 20px; +} +.row_style .col_title { + text-align: right; + margin-bottom: 10px; + margin-right: -12px; +} +.row_style .col_content { + margin-bottom: 10px; + text-align: left; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-left: -12px; +} +.box_blue { + background: #0370D5; +} +.box_green { + background: #2EC25B; +} +.box_gray { + background: #ADB6B8; +} +.box_white { + background: #FFFFFF; +} +.content_info { + float: left; + height: 61px; + width: 14.28571429%; + text-align: center; + line-height: 60px; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; + cursor: pointer; + position: relative; +} +.content_info::after { + clear: both; +} +.week_data { + height: 61px; + text-align: center; + color: #fff; +} +.week_data .week_data_list:first-child { + height: 30px; + line-height: 35px; + display: flex; + font-size: 12px; +} +.week_data .week_data_list:last-child { + height: 30px; + line-height: 25px; + display: flex; + font-size: 12px; +} +.week_data .week_data_list_label { + width: 30%; + text-align: right; +} +.week_data .week_data_list_value { + width: 70%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + text-align: left; + margin-left: 10px; +} +.week_nodata { + color: #019158; + height: 61px; + text-align: center; + line-height: 61px; +} + +/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/ImageDisplay/index.less?modules ***! + \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.all___G2_db { + width: 100%; + height: 550px; +} +.all___G2_db .search_list___lQ_T_ { + margin-bottom: 30px; +} +.all___G2_db .top___uz8mr { + height: 60px; +} +.all___G2_db .top___uz8mr .top_text___Zc4Wo:first-child { + border: 1px #DDF1F1 solid; +} +.all___G2_db .top___uz8mr .top_text___Zc4Wo:not(:first-child) { + border-top: 1px #DDF1F1 solid; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; +} +.all___G2_db .top___uz8mr .top_text___Zc4Wo { + line-height: 60px; + text-align: center; + background: #F7FBFC; +} +.all___G2_db .top_date_week___vXTkL { + display: flex; + height: 61px; + line-height: 61px; + text-align: center; + border-top: 1px #DDF1F1 solid; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; + background: #F7FBFC; +} +.all___G2_db .top_date_week___vXTkL .top_text_date___NONvF { + width: 50%; + text-align: center; + text-indent: 10px; + color: #ADB2B8; +} +.all___G2_db .top_date_week___vXTkL .top_text_week___H4ygK { + width: 50%; + text-align: center; + text-indent: -10px; +} +.all___G2_db .content___KNs23 .top_text___Zc4Wo { + height: 61px; + text-align: center; + border-left: 1px #DDF1F1 solid; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; + border-top: 1px #DDF1F1 solid; + background: #F7FBFC; +} +.all___G2_db .content___KNs23 .top_text___Zc4Wo .top_text_title___m_Ru4 { + height: 30px; + line-height: 35px; +} +.all___G2_db .content___KNs23 .top_text___Zc4Wo .top_text_time___FxQYr { + height: 30px; + line-height: 25px; +} +.tck___UnGSW { + width: 300px; + height: 500px; + border: 1px saddlebrown solid; + position: absolute; +} +.legend___PpkbN { + display: flex; + margin-left: 10px; +} +.legend___PpkbN .legend_one_color___qjoot { + width: 18px; + margin: 2px 10px; + height: 10px; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend___PpkbN .legend_two_color___qJ8Z2 { + width: 18px; + height: 10px; + margin: 2px 10px; + background: #ADB6B8; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend___PpkbN .legend_three_color___MnH_P { + width: 18px; + height: 10px; + margin: 2px 10px; + background: #2EC25B; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend___PpkbN .legend_four_color___iAWFc { + width: 18px; + height: 10px; + margin: 2px 10px; + background: #0370D5; + border-radius: 2px; + border: 1px solid #DDF1F1; +} +.legend___PpkbN .legend_text___VbO3i { + width: 42px; + height: 14px; + font-size: 14px; + font-weight: 400; + color: #2C3850; + line-height: 14px; +} +.row_style___GaoaD { + margin-top: 20px; +} +.row_style___GaoaD .col_title___XathN { + text-align: right; + margin-bottom: 10px; + margin-right: -12px; +} +.row_style___GaoaD .col_content___KgBvl { + margin-bottom: 10px; + text-align: left; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-left: -12px; +} +.box_blue___XG_HY { + background: #0370D5; +} +.box_green___sm8QH { + background: #2EC25B; +} +.box_gray___X8dpG { + background: #ADB6B8; +} +.box_white___YUIq3 { + background: #FFFFFF; +} +.content_info___unYaB { + float: left; + height: 61px; + width: 14.28571429%; + text-align: center; + line-height: 60px; + border-right: 1px #DDF1F1 solid; + border-bottom: 1px #DDF1F1 solid; + cursor: pointer; + position: relative; +} +.content_info___unYaB::after { + clear: both; +} +.week_data___lRj72 { + height: 61px; + text-align: center; + color: #fff; +} +.week_data___lRj72 .week_data_list___VAZL9:first-child { + height: 30px; + line-height: 35px; + display: flex; + font-size: 12px; +} +.week_data___lRj72 .week_data_list___VAZL9:last-child { + height: 30px; + line-height: 25px; + display: flex; + font-size: 12px; +} +.week_data___lRj72 .week_data_list_label___Cqmae { + width: 30%; + text-align: right; +} +.week_data___lRj72 .week_data_list_value___jRDcz { + width: 70%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + text-align: left; + margin-left: 10px; +} +.week_nodata___L1zzu { + color: #019158; + height: 61px; + text-align: center; + line-height: 61px; +} + +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/Equipment/BookingManage/InfoList/index.less ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.title { + margin-top: 20px; +} +.title span { + font-size: 16px; + font-weight: 600; + color: #2C3850; + margin-right: 10px; +} +.search_list { + display: flex; +} +.search_list .add_label { + margin-left: auto; +} +.change_button { + width: 136px; + height: 32px; + background: #F6F7F9; + border-radius: 16px; + margin-top: 3px; + box-shadow: 2px 2px 5px #D7D8D9 inset; +} +.change_button .button_no { + width: 68px; + height: 32px; + cursor: pointer; + text-align: center; + border-radius: 16px; +} +.change_button .button_active { + width: 68px; + height: 32px; + background: #ffffff; + border: 1px #D5F5D1 solid; + border-radius: 16px; + text-align: center; +} +.change_button img { + width: 16px; + height: 16px; + margin-top: 4px; +} + +/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/Scrap/Dialog/index.less?modules ***! + \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.list___p1JAv { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + height: 35px; +} +.list___p1JAv span { + padding: 2px 10px; + background: #DDF1F1; + color: #019158; + border-radius: 10px; + margin-right: 10px; +} + +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/Scrap/index.less?modules ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.box___qsHca { + width: 100%; + height: 88px; + border-radius: 8px; + border: 1px solid #DAE7EC; +} +.box___qsHca .left___nQ2PZ img { + width: 36px; + height: 36px; + margin-right: 10%; + margin-top: -10px; +} +.box___qsHca .left___nQ2PZ .left_content___iIA9a { + line-height: 60px; + height: 60px; + font-size: 20px; + font-weight: 600; + margin-top: 12px; + border-right: 1px #DAE7EC solid; + text-align: center; + color: #2C3850; +} +.box___qsHca .content___G6hTP { + height: 60px; + margin-top: 12px; +} +.box___qsHca .content___G6hTP .content_title___FLEkf { + height: 30px; + line-height: 35px; + width: 112px; + font-size: 14px; + font-weight: 400; + color: #636D83; +} +.box___qsHca .content___G6hTP .content_data___DRt1Z { + height: 30px; + line-height: 25px; + width: 24px; + font-size: 20px; + font-weight: 600; + color: #2C3850; +} +.search_list___VX0GH { + margin-bottom: 30px; +} + diff --git a/p__Equipment__Devicelabel__index.0edb4797.async.js b/p__Equipment__Devicelabel__index.4b2aa46e.async.js similarity index 97% rename from p__Equipment__Devicelabel__index.0edb4797.async.js rename to p__Equipment__Devicelabel__index.4b2aa46e.async.js index 316014ffd1..b9f4c3e6d8 100644 --- a/p__Equipment__Devicelabel__index.0edb4797.async.js +++ b/p__Equipment__Devicelabel__index.4b2aa46e.async.js @@ -70,7 +70,8 @@ var jsx_runtime = __webpack_require__(37712); var DeviceLabelDialog = function DeviceLabelDialog(_ref) { var visible = _ref.visible, setVisible = _ref.setVisible, - dataInfo = _ref.dataInfo; + dataInfo = _ref.dataInfo, + queryData = _ref.queryData; // 关联设备弹窗 var _Form$useForm = es_form/* default */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), @@ -206,10 +207,11 @@ var DeviceLabelDialog = function DeviceLabelDialog(_ref) { }; // 将当前选中的的标签添加到----关联设备型号下拉框数据中 - var setDataToDeviceModels = function setDataToDeviceModels(arr, haha) { + var setDataToDeviceModels = function setDataToDeviceModels(arr, flag) { if ((dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.device_type_id) == form.getFieldValue('device_type_id')) { - dataInfo.models.forEach(function (item) { - if (haha) { + var _dataInfo$models; + dataInfo === null || dataInfo === void 0 || (_dataInfo$models = dataInfo.models) === null || _dataInfo$models === void 0 || _dataInfo$models.forEach(function (item) { + if (flag) { arr.push({ label: item, value: item, @@ -253,6 +255,7 @@ var DeviceLabelDialog = function DeviceLabelDialog(_ref) { if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.success('编辑成功'); setVisible(false); + queryData(true); } }); } else { @@ -261,6 +264,7 @@ var DeviceLabelDialog = function DeviceLabelDialog(_ref) { if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.success('新增成功'); setVisible(false); + queryData(true); } }); } @@ -500,12 +504,16 @@ var DeviceLabelPage = function DeviceLabelPage(_ref) { }, { title: '操作', key: 'cz', + width: 140, render: function render(_, record) { return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, { - modalName: "\u7F16\u8F91", - dataInfo: record, - queryData: queryData + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "info", + onClick: function onClick() { + setVisible(true); + setDataInfo(record); + }, + children: "\u7F16\u8F91" }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: "xiajia", onClick: function onClick() { @@ -590,6 +598,7 @@ var DeviceLabelPage = function DeviceLabelPage(_ref) { }, onClick: function onClick() { setVisible(true); + setDataInfo({}); }, children: "\u65B0\u5EFA\u578B\u53F7" })] @@ -612,7 +621,8 @@ var DeviceLabelPage = function DeviceLabelPage(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, { visible: visible, setVisible: setVisible, - dataInfo: dataInfo + dataInfo: dataInfo, + queryData: queryData })] }); }; diff --git a/p__Equipment__Faultlibrary__index.64b3a1cd.async.js b/p__Equipment__Faultlibrary__index.b38988f4.async.js similarity index 88% rename from p__Equipment__Faultlibrary__index.64b3a1cd.async.js rename to p__Equipment__Faultlibrary__index.b38988f4.async.js index 3943bee42a..100b07510c 100644 --- a/p__Equipment__Faultlibrary__index.64b3a1cd.async.js +++ b/p__Equipment__Faultlibrary__index.b38988f4.async.js @@ -86,7 +86,8 @@ var TextArea = input/* default */.Z.TextArea; var ReservationDialog = function ReservationDialog(_ref) { var visible = _ref.visible, setVisible = _ref.setVisible, - dataInfo = _ref.dataInfo; + dataInfo = _ref.dataInfo, + queryData = _ref.queryData; // 关联设备弹窗 var _Form$useForm = es_form/* default */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), @@ -109,29 +110,23 @@ var ReservationDialog = function ReservationDialog(_ref) { (0,onlinedevice/* device_tags_table_query */.dh)({}).then(function (res) { var _res$device_tags; // if(res?.status == 0) { - setDeviceLabels([{ - value: '', - label: '全部' - }].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$device_tags = res.device_tags) === null || _res$device_tags === void 0 ? void 0 : _res$device_tags.map(function (v) { + setDeviceLabels(toConsumableArray_default()(res === null || res === void 0 || (_res$device_tags = res.device_tags) === null || _res$device_tags === void 0 ? void 0 : _res$device_tags.map(function (v) { v.value = v === null || v === void 0 ? void 0 : v.id; v.label = v === null || v === void 0 ? void 0 : v.name; return v; - })))); + }))); // } }); //设备类型 (0,onlinedevice/* device_type_table_query */.uz)({}).then(function (res) { - if (res.status == 0) { - var _res$device_types; - setDeviceTypes([{ - value: '', - label: '全部' - }].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$device_types = res.device_types) === null || _res$device_types === void 0 ? void 0 : _res$device_types.map(function (v) { - v.value = v === null || v === void 0 ? void 0 : v.id; - v.label = v === null || v === void 0 ? void 0 : v.name; - return v; - })))); - } + var _res$device_types; + // if (res.status == 0) { + setDeviceTypes(toConsumableArray_default()(res === null || res === void 0 || (_res$device_types = res.device_types) === null || _res$device_types === void 0 ? void 0 : _res$device_types.map(function (v) { + v.value = v === null || v === void 0 ? void 0 : v.id; + v.label = v === null || v === void 0 ? void 0 : v.name; + return v; + }))); + // } }); //设备 queryDevice(); @@ -142,18 +137,17 @@ var ReservationDialog = function ReservationDialog(_ref) { } }, [visible]); var queryDevice = function queryDevice() { - // device_info_table_query({ - // tag_id: form.getFieldValue('tag_id') || '', - // type_id: form.getFieldValue('type_id') || '', - // }).then((res) => { - // setDevices( - // res?.devices?.map((v: any) => { - // v.value = v?.id; - // v.label = v?.name; - // return v; - // }), - // ); - // }); + (0,onlinedevice/* device_info_table_query */.QD)({ + tag_id: form.getFieldValue('tag_id') || '', + type_id: form.getFieldValue('type_id') || '' + }).then(function (res) { + var _res$devices; + setDevices(res === null || res === void 0 || (_res$devices = res.devices) === null || _res$devices === void 0 ? void 0 : _res$devices.map(function (v) { + v.value = v === null || v === void 0 ? void 0 : v.id; + v.label = v === null || v === void 0 ? void 0 : v.name; + return v; + })); + }); }; return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { maskClosable: false, @@ -171,28 +165,33 @@ var ReservationDialog = function ReservationDialog(_ref) { return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: - console.log(form.getFieldsValue()); + _context.next = 2; + return form.validateFields(); + case 2: //编辑 - // if (props.dataInfo?.id) { - // device_fault_update({ - // id: props.dataInfo?.id, - // device_fault_info: form.getFieldsValue(), - // }).then((res) => { - // if (res?.status == 0) { - // message.success('编辑成功'); - // props?.queryData(true); - // } - // }); - // } else { - // device_fault_add({ device_fault_info: form.getFieldsValue() }).then((res) => { - // if (res?.status == 0) { - // message.success('新建成功'); - // props?.queryData(true); - // } - // }); - // } - // return true; - case 1: + if (dataInfo !== null && dataInfo !== void 0 && dataInfo.id) { + (0,onlinedevice/* device_fault_update */.zZ)({ + id: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.id, + device_fault_info: form.getFieldsValue() + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + message/* default */.ZP.success('编辑成功'); + queryData(true); + setVisible(false); + } + }); + } else { + (0,onlinedevice/* device_fault_add */.hO)({ + device_fault_info: form.getFieldsValue() + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + message/* default */.ZP.success('新建成功'); + queryData(true); + setVisible(false); + } + }); + } + case 3: case "end": return _context.stop(); } @@ -338,10 +337,9 @@ var InfoList = function InfoList(_ref) { deviceId = _useState24[0], setDeviceId = _useState24[1]; (0,_react_17_0_2_react.useEffect)(function () { - // queryData(false); - // device_info_table_query({}).then((res) => { - // console.log(res) - // }); + (0,onlinedevice/* device_info_table_query */.QD)({}).then(function (res) { + console.log(res); + }); }, []); (0,_react_17_0_2_react.useEffect)(function () { queryData(false); @@ -477,9 +475,8 @@ var InfoList = function InfoList(_ref) { style: { marginRight: '20px' }, - onChange: function onChange(e) { - console.log(e); - // setTime(e) + onChange: function onChange(date, dateString) { + setTime(dateString); } }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { @@ -493,7 +490,7 @@ var InfoList = function InfoList(_ref) { size: "large", options: devices, onChange: function onChange(e) { - console.log(e); + setDeviceId(e); } }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, { @@ -578,7 +575,8 @@ var InfoList = function InfoList(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, { visible: visible, setVisible: setVisible, - dataInfo: dataInfo + dataInfo: dataInfo, + queryData: queryData })] }); }; diff --git a/p__Equipment__Index__index.8d49dabc.async.js b/p__Equipment__Index__index.060ec524.async.js similarity index 98% rename from p__Equipment__Index__index.8d49dabc.async.js rename to p__Equipment__Index__index.060ec524.async.js index 89f05d51bc..bb816a0aab 100644 --- a/p__Equipment__Index__index.8d49dabc.async.js +++ b/p__Equipment__Index__index.060ec524.async.js @@ -69,7 +69,7 @@ var Engineering = function Engineering(_ref) { } var items = [getItem('设备信息管理', '/equipment/information', /*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-shebeixinxiguanli" - })), getItem('预约管理', '/equipment/scrap', /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + })), getItem('预约管理', '/equipment/bookingManage', /*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-shebeibaofei-2" })), getItem('设备在线监控', '/equipment/working', /*#__PURE__*/(0,jsx_runtime.jsx)("i", { className: "iconfont icon-shebeiyunhangjiankong" diff --git a/p__Equipment__Information__index.398ffa2b.async.js b/p__Equipment__Information__index.0822614e.async.js similarity index 96% rename from p__Equipment__Information__index.398ffa2b.async.js rename to p__Equipment__Information__index.0822614e.async.js index 522d6a9842..525ef3d08d 100644 --- a/p__Equipment__Information__index.398ffa2b.async.js +++ b/p__Equipment__Information__index.0822614e.async.js @@ -71,6 +71,8 @@ var _umi_production_exports = __webpack_require__(19148); ;// CONCATENATED MODULE: ./src/pages/Equipment/Information/GLDevicesDialog/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var GLDevicesDialogmodules = ({"my_modal":"my_modal___yHCJH"}); +// EXTERNAL MODULE: ./src/service/laboratory.ts +var laboratory = __webpack_require__(32507); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js var jsx_runtime = __webpack_require__(37712); ;// CONCATENATED MODULE: ./src/pages/Equipment/Information/GLDevicesDialog/index.tsx @@ -85,6 +87,7 @@ var jsx_runtime = __webpack_require__(37712); + var GLDevicesDialog = function GLDevicesDialog(_ref) { var visible = _ref.visible, setVisible = _ref.setVisible; @@ -92,51 +95,48 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) { var _Form$useForm = es_form/* default */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; - var _useState = (0,_react_17_0_2_react.useState)({}), + var _useState = (0,_react_17_0_2_react.useState)([]), _useState2 = slicedToArray_default()(_useState, 2), - formValue = _useState2[0], - setFormValue = _useState2[1]; + deviceType = _useState2[0], + setDeviceType = _useState2[1]; var _useState3 = (0,_react_17_0_2_react.useState)([]), _useState4 = slicedToArray_default()(_useState3, 2), - deviceType = _useState4[0], - setDeviceType = _useState4[1]; - var _useState5 = (0,_react_17_0_2_react.useState)([]), + kdClassroom = _useState4[0], + setKdClassroom = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(''), _useState6 = slicedToArray_default()(_useState5, 2), - kdClassroom = _useState6[0], - setKdClassroom = _useState6[1]; - var _useState7 = (0,_react_17_0_2_react.useState)(2), - _useState8 = slicedToArray_default()(_useState7, 2), - deviceid = _useState8[0], - setdeviceide = _useState8[1]; - var onOpenChange = function onOpenChange(flag) { - if (flag) { - //实验室 - (0,onlinedevice/* device_tags_device_type */.eX)({ - type: 'KdClassroom' + deviceid = _useState6[0], + setdeviceide = _useState6[1]; + (0,_react_17_0_2_react.useEffect)(function () { + if (visible) { + //实验室房间 + (0,laboratory/* classroom_rooms_query */.jd)({ + page: 1, + limit: 10000, + classroom_id: '' }).then(function (res) { if ((res === null || res === void 0 ? void 0 : res.status) == 0) { - setKdClassroom(res === null || res === void 0 ? void 0 : res.data); + var _res$data; + setKdClassroom(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list); } }); //设备类型 querySelect(); + } else { + form.resetFields(); } - }; - var querySelect = function querySelect(value, options) { - // if (value === 2) { - // form.setFieldValue('device_type_id', ''); - // } - + }, [visible]); + var querySelect = function querySelect() { if (!form.getFieldValue('category')) { form.setFieldValue('category', 1); } + form.setFieldValue('device_type_id', ''); + setdeviceide(''); (0,onlinedevice/* device_tags_device_type */.eX)({ type: 'DeviceType', category: form.getFieldValue('category') }).then(function (res) { - if ((res === null || res === void 0 ? void 0 : res.status) == 0) { - setDeviceType(res === null || res === void 0 ? void 0 : res.data); - } + setDeviceType(res); }); }; return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { @@ -157,17 +157,17 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) { return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: - console.log(form.getFieldsValue()); - // device_info_table_add(values).then((res) => { - // if (res?.status === 0) { - // message.success('关联成功'); - // history.push({ pathname: `/onlineDevice/deviceInfo/deviceEdit/${res?.data?.id}` }); - // } else { - // message.error(res?.message); - // } - // }); - // return true; - case 1: + _context.next = 2; + return form.validateFields(); + case 2: + (0,onlinedevice/* device_info_table_add */.sp)(form.getFieldsValue()).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + message/* default */.ZP.success('关联成功'); + setVisible(false); + // history.push({ pathname: `/onlineDevice/deviceInfo/deviceEdit/${res?.data?.id}` }); + } + }); + case 3: case "end": return _context.stop(); } @@ -218,10 +218,8 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) { label: 'name', value: 'id' }, - defaultValue: 2, onChange: function onChange() { setdeviceide(form.getFieldValue('device_type_id')); - console.log(form.getFieldValue('device_type_id')); } }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { @@ -257,12 +255,12 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) { rules: [{ required: true }], - label: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4", + label: "\u5B9E\u9A8C\u5BA4\u623F\u95F4", name: "classroom_id", children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { options: kdClassroom, fieldNames: { - label: 'name', + label: 'title', value: 'id' }, allowClear: true, @@ -306,8 +304,6 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) { children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { size: "large" }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u8BBE\u5907SSH\u8FDE\u63A5\u4FE1\u606F" }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { label: "IP\u5730\u5740", name: "ip", @@ -709,9 +705,9 @@ var InfoList = function InfoList(_ref) { ellipsis: true, render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: text.join('、'), + title: text === null || text === void 0 ? void 0 : text.join('、'), children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text.join('、') + children: text === null || text === void 0 ? void 0 : text.join('、') }) }); } diff --git a/p__Equipment__Information__index.14d58ae4.chunk.css b/p__Equipment__Information__index.e472287a.chunk.css similarity index 99% rename from p__Equipment__Information__index.14d58ae4.chunk.css rename to p__Equipment__Information__index.e472287a.chunk.css index 29441fcf48..7cfbfd6f2a 100644 --- a/p__Equipment__Information__index.14d58ae4.chunk.css +++ b/p__Equipment__Information__index.e472287a.chunk.css @@ -77,7 +77,7 @@ } .my_modal___yHCJH [class~='ant-form-item'] [class~='ant-form-item-label'] label { color: #666 !important; - width: 100px !important; + width: 120px !important; display: block !important; line-height: 38px !important; padding-right: 5px !important; diff --git a/p__Equipment__Scrap__index.1ad95170.async.js b/p__Equipment__Scrap__index.1ad95170.async.js deleted file mode 100644 index e424bacd76..0000000000 --- a/p__Equipment__Scrap__index.1ad95170.async.js +++ /dev/null @@ -1,924 +0,0 @@ -"use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[7661],{ - -/***/ 31715: -/*!*********************************************************!*\ - !*** ./src/pages/Equipment/Scrap/index.tsx + 2 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 */ Scrap; } -}); - -// 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: ./src/.umi-production/exports.ts -var _umi_production_exports = __webpack_require__(19148); -;// CONCATENATED MODULE: ./src/pages/Equipment/Scrap/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Scrapmodules = ({"header_div":"header_div___unSwv","header_title":"header_title___WCf0b","search":"search___XDmOG","searchIcon":"searchIcon___j6ZDZ","search_params":"search_params___veOCx","clear_Data":"clear_Data___u0bVa","content_list":"content_list___dnPyj","content":"content___cchLV","content_img":"content_img___L5dds","content_name":"content_name___aAY7s","content_title":"content_title___MYA4V","content_params":"content_params___brz1n","redRow":"redRow___Na1q0","infoItem":"infoItem___VG8ki","infoItem_value":"infoItem_value___m1ajt","file_list":"file_list___zm7CA","file_list_title":"file_list_title___U7TTt","file_list_size":"file_list_size___D6Wcu"}); -// 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/form/index.js + 19 modules -var es_form = __webpack_require__(78241); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js -var es_select = __webpack_require__(57809); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules -var input = __webpack_require__(24650); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules -var table = __webpack_require__(51945); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules -var pagination = __webpack_require__(86859); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules -var modal = __webpack_require__(43418); -// EXTERNAL MODULE: ./src/service/laboratory.ts -var laboratory = __webpack_require__(32507); -// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.12@dayjs/dayjs.min.js -var dayjs_min = __webpack_require__(17810); -var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min); -// EXTERNAL MODULE: ./src/components/NoData/index.tsx -var NoData = __webpack_require__(12594); -// 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: ./src/utils/fetch.ts -var fetch = __webpack_require__(84112); -;// CONCATENATED MODULE: ./src/service/equipment.ts - - - - - -//设备关联列表 -function devices_query(_x) { - return _devices_query.apply(this, arguments); -} - -//关联设备 -function _devices_query() { - _devices_query = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(params) { - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", (0,fetch/* default */.ZP)("/api/yn_classrooms/devices.json", { - method: 'get', - params: objectSpread2_default()({}, params) - })); - case 1: - case "end": - return _context.stop(); - } - }, _callee); - })); - return _devices_query.apply(this, arguments); -} -function devices_create(_x2) { - return _devices_create.apply(this, arguments); -} - -//编辑设备 -function _devices_create() { - _devices_create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(data) { - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - return _context2.abrupt("return", Fetch("/api/yn_classrooms/devices.json", { - method: 'post', - body: _objectSpread({}, data) - })); - case 1: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return _devices_create.apply(this, arguments); -} -function devices_update(_x3) { - return _devices_update.apply(this, arguments); -} - -//上下架 -function _devices_update() { - _devices_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(data) { - return _regeneratorRuntime().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - return _context3.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { - method: 'put', - body: _objectSpread({}, data) - })); - case 1: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return _devices_update.apply(this, arguments); -} -function change_use_status(_x4) { - return _change_use_status.apply(this, arguments); -} - -//设备详情 -function _change_use_status() { - _change_use_status = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(data) { - return _regeneratorRuntime().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - return _context4.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(data === null || data === void 0 ? void 0 : data.id, "/change_use_status.json"), { - method: 'post', - body: _objectSpread({}, data) - })); - case 1: - case "end": - return _context4.stop(); - } - }, _callee4); - })); - return _change_use_status.apply(this, arguments); -} -function devices_info(_x5) { - return _devices_info.apply(this, arguments); -} - -//设备报废 -function _devices_info() { - _devices_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) { - return _regeneratorRuntime().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - return _context5.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), { - method: 'get', - params: _objectSpread({}, params) - })); - case 1: - case "end": - return _context5.stop(); - } - }, _callee5); - })); - return _devices_info.apply(this, arguments); -} -function devices_scrapped(_x6) { - return _devices_scrapped.apply(this, arguments); -} - -//创建维修记录 -function _devices_scrapped() { - _devices_scrapped = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(data) { - return _regeneratorRuntime().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - return _context6.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(data === null || data === void 0 ? void 0 : data.id, "/scrapped.json"), { - method: 'post', - body: _objectSpread({}, data) - })); - case 1: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return _devices_scrapped.apply(this, arguments); -} -function repair_records_create(_x7) { - return _repair_records_create.apply(this, arguments); -} - -//编辑维修记录 -function _repair_records_create() { - _repair_records_create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(data) { - return _regeneratorRuntime().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { - case 0: - return _context7.abrupt("return", Fetch("/api/yn_classrooms/repair_records.json", { - method: 'post', - body: _objectSpread({}, data) - })); - case 1: - case "end": - return _context7.stop(); - } - }, _callee7); - })); - return _repair_records_create.apply(this, arguments); -} -function repair_records_update(_x8) { - return _repair_records_update.apply(this, arguments); -} - -//维修记录列表 -function _repair_records_update() { - _repair_records_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(data) { - return _regeneratorRuntime().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { - case 0: - return _context8.abrupt("return", Fetch("/api/yn_classrooms/repair_records/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), { - method: 'put', - body: _objectSpread({}, data) - })); - case 1: - case "end": - return _context8.stop(); - } - }, _callee8); - })); - return _repair_records_update.apply(this, arguments); -} -function repair_records_query(_x9) { - return _repair_records_query.apply(this, arguments); -} -//维修记录详情 -function _repair_records_query() { - _repair_records_query = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) { - return _regeneratorRuntime().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { - case 0: - return _context9.abrupt("return", Fetch("/api/yn_classrooms/repair_records.json", { - method: 'get', - params: _objectSpread({}, params) - })); - case 1: - case "end": - return _context9.stop(); - } - }, _callee9); - })); - return _repair_records_query.apply(this, arguments); -} -function repair_records_info(_x10) { - return _repair_records_info.apply(this, arguments); -} - -//设备统计 -function _repair_records_info() { - _repair_records_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(params) { - return _regeneratorRuntime().wrap(function _callee10$(_context10) { - while (1) switch (_context10.prev = _context10.next) { - case 0: - return _context10.abrupt("return", Fetch("/api/yn_classrooms/repair_records/".concat(params, ".json"), { - method: 'get', - params: _objectSpread({}, params) - })); - case 1: - case "end": - return _context10.stop(); - } - }, _callee10); - })); - return _repair_records_info.apply(this, arguments); -} -function statistics_query(_x11) { - return _statistics_query.apply(this, arguments); -} -//设备异常消息 -function _statistics_query() { - _statistics_query = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(params) { - return _regeneratorRuntime().wrap(function _callee11$(_context11) { - while (1) switch (_context11.prev = _context11.next) { - case 0: - return _context11.abrupt("return", Fetch("/api/yn_classrooms/devices/statistics.json", { - method: 'get', - params: _objectSpread({}, params) - })); - case 1: - case "end": - return _context11.stop(); - } - }, _callee11); - })); - return _statistics_query.apply(this, arguments); -} -function device_messages(_x12) { - return _device_messages.apply(this, arguments); -} - -//设备性能 -function _device_messages() { - _device_messages = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) { - return _regeneratorRuntime().wrap(function _callee12$(_context12) { - while (1) switch (_context12.prev = _context12.next) { - case 0: - return _context12.abrupt("return", Fetch("/api/yn_classrooms/device_messages.json", { - method: 'get', - params: _objectSpread({}, params) - })); - case 1: - case "end": - return _context12.stop(); - } - }, _callee12); - })); - return _device_messages.apply(this, arguments); -} -function monitor_info(_x13) { - return _monitor_info.apply(this, arguments); -} -function _monitor_info() { - _monitor_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(params) { - return _regeneratorRuntime().wrap(function _callee13$(_context13) { - while (1) switch (_context13.prev = _context13.next) { - case 0: - return _context13.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(params, "/monitor.json"), { - method: 'get', - params: _objectSpread({}, params) - })); - case 1: - case "end": - return _context13.stop(); - } - }, _callee13); - })); - return _monitor_info.apply(this, arguments); -} -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js -var jsx_runtime = __webpack_require__(37712); -;// CONCATENATED MODULE: ./src/pages/Equipment/Scrap/index.tsx - - - - - - - - - - - - - - -var Navigation = function Navigation(_ref) { - var loading = _ref.loading; - var _useState = (0,_react_17_0_2_react.useState)(), - _useState2 = slicedToArray_default()(_useState, 2), - keyword = _useState2[0], - setkeyword = _useState2[1]; - //状态 - var _useState3 = (0,_react_17_0_2_react.useState)(''), - _useState4 = slicedToArray_default()(_useState3, 2), - status = _useState4[0], - setStatus = _useState4[1]; - var _useState5 = (0,_react_17_0_2_react.useState)(''), - _useState6 = slicedToArray_default()(_useState5, 2), - overdue = _useState6[0], - setOverdue = _useState6[1]; - //实验室 - var _useState7 = (0,_react_17_0_2_react.useState)([]), - _useState8 = slicedToArray_default()(_useState7, 2), - laboratorys = _useState8[0], - setLaboratorys = _useState8[1]; - var _useState9 = (0,_react_17_0_2_react.useState)(''), - _useState10 = slicedToArray_default()(_useState9, 2), - laboratorySq = _useState10[0], - setLaboratorySq = _useState10[1]; - //分页 - var _useState11 = (0,_react_17_0_2_react.useState)(0), - _useState12 = slicedToArray_default()(_useState11, 2), - total = _useState12[0], - setTotal = _useState12[1]; - var _useState13 = (0,_react_17_0_2_react.useState)(1), - _useState14 = slicedToArray_default()(_useState13, 2), - page = _useState14[0], - setPage = _useState14[1]; - var _useState15 = (0,_react_17_0_2_react.useState)(10), - _useState16 = slicedToArray_default()(_useState15, 2), - limit = _useState16[0], - setLimit = _useState16[1]; - var _useState17 = (0,_react_17_0_2_react.useState)([]), - _useState18 = slicedToArray_default()(_useState17, 2), - tableData = _useState18[0], - setTableData = _useState18[1]; - var _useState19 = (0,_react_17_0_2_react.useState)(false), - _useState20 = slicedToArray_default()(_useState19, 2), - viewVisible = _useState20[0], - setViewVisible = _useState20[1]; - var _useState21 = (0,_react_17_0_2_react.useState)({}), - _useState22 = slicedToArray_default()(_useState21, 2), - viewData = _useState22[0], - setViewData = _useState22[1]; - var columns = [{ - title: '设备名称', - dataIndex: 'name', - ellipsis: true, - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '--' - }) - }); - } - }, { - title: '设备类型', - dataIndex: 'category', - ellipsis: true, - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: text == 'virtual' ? '虚拟机' : '物理机', - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text == 'virtual' ? '虚拟机' : '物理机' - }) - }); - } - }, { - title: '所属实验室', - dataIndex: 'classroom_title', - ellipsis: true, - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '--' - }) - }); - } - }, { - title: '所属房间', - dataIndex: 'classroom_room_title', - ellipsis: true, - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '--' - }) - }); - } - }, { - title: '金额', - dataIndex: 'amount', - ellipsis: true, - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '--' - }) - }); - } - }, { - title: '报废申请人员', - dataIndex: 'scrapped_user_name', - ellipsis: true, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [text, /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - padding: "0 10px" - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: '10px' - }, - children: ["\u8D1F\u8D23\u4EBA", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginLeft: '10px' - }, - children: (record === null || record === void 0 ? void 0 : record.scrapped_user_name) || '--' - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: '10px' - }, - children: ["\u624B\u673A\u53F7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginLeft: '10px' - }, - children: (record === null || record === void 0 ? void 0 : record.scrapped_user_phone) || '--' - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - marginTop: '10px', - marginBottom: '10px' - }, - children: ["\u90AE\u7BB1\u53F7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - marginLeft: '10px' - }, - children: (record === null || record === void 0 ? void 0 : record.scrapped_user_mail) || '--' - })] - })] - }), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-xinxi ml5", - style: { - cursor: "pointer" - } - }) - })] - }); - } - }, { - title: '报废日期', - dataIndex: 'scrapped_date', - ellipsis: true, - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "bottomLeft", - title: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm:ss') : '--', - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm:ss') : '--' - }) - }); - } - }, { - title: '操作', - ellipsis: true, - width: 60, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: "#165DFF", - cursor: "pointer" - }, - onClick: function onClick() { - setViewData(record); - setViewVisible(true); - }, - children: "\u8BE6\u60C5" - }) - }); - } - }]; - (0,_react_17_0_2_react.useEffect)(function () { - //实验室 - (0,laboratory/* classroom_query */.GJ)({ - page: 1, - limit: 10000 - }).then(function (res) { - var _res$data; - setLaboratorys([{ - id: '', - title: '全部' - }].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list))); - }); - }, []); - (0,_react_17_0_2_react.useEffect)(function () { - //列表查询 - getData(false); - }, [page, limit]); - (0,_react_17_0_2_react.useEffect)(function () { - //列表查询 - getData(true); - }, [laboratorySq, status, overdue, keyword]); - var getData = function getData(flag) { - if (flag) { - setPage(1); - } - devices_query({ - page: page, - limit: limit, - status: status, - keyword: keyword, - classroom_id: laboratorySq, - category: overdue, - scrapped: 1 - }).then(function (res) { - var _res$data2, _res$data3; - setTableData(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list); - setTotal(res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.count); - }); - }; - var onShowSizeChange = function onShowSizeChange(page, size) { - setPage(page); - setLimit(size); - }; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.header_div, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.header_title, - children: "\u8BBE\u5907\u62A5\u5E9F\u7BA1\u7406" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.search_params, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - colon: false, - label: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { - style: { - width: 120 - }, - defaultValue: laboratorySq, - value: laboratorySq, - onChange: function onChange(e) { - setLaboratorySq(e); - }, - children: laboratorys === null || laboratorys === void 0 ? void 0 : laboratorys.map(function (item, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, { - value: item === null || item === void 0 ? void 0 : item.id, - children: item === null || item === void 0 ? void 0 : item.title - }, index); - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - colon: false, - label: "\u8BBE\u5907\u7C7B\u578B", - style: { - margin: '0 20px' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], { - style: { - width: 120 - }, - defaultValue: overdue, - value: overdue, - onChange: function onChange(e) { - setOverdue(e); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, { - value: "", - children: "\u5168\u90E8" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, { - value: "1", - children: "\u7269\u7406\u673A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, { - value: "2", - children: "\u865A\u62DF\u673A" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, { - placeholder: "\u8BF7\u8F93\u5165\u8BBE\u5907\u540D\u79F0\u641C\u7D22", - size: "large", - className: Scrapmodules.search, - value: keyword, - onChange: function onChange(e) { - setkeyword(e.target.value); - }, - onSearch: function onSearch(value) { - setkeyword(value); - }, - suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-sousuo9 font14 ".concat(Scrapmodules.searchIcon), - onClick: function onClick() { - setkeyword(keyword); - getData(true); - } - }) - })] - })] - }), (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - pagination: false, - dataSource: tableData, - columns: columns - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { - customText: "\u6682\u65E0\u6570\u636E" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'center', - justifyContent: 'space-between', - padding: '10px 7px 20px 7px' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - color: '#656F87' - }, - children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "c-light-primary", - children: total - }), "\u6761\u6570\u636E"] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - showSizeChanger: true, - showQuickJumper: true, - onChange: onShowSizeChange, - defaultCurrent: 1, - pageSizeOptions: ['10', '20', '50', '100'], - current: page || 1, - pageSize: limit || 10, - defaultPageSize: 10, - total: total - })] - }) : '' - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - maskClosable: false, - title: "\u67E5\u770B\u8BE6\u60C5", - centered: true, - open: viewVisible, - onOk: function onOk() { - return setViewVisible(false); - }, - onCancel: function onCancel() { - return setViewVisible(false); - }, - cancelButtonProps: { - style: { - display: 'none' - } - }, - width: 600, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - maxHeight: '500px', - overflowY: 'auto' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - width: '100px' - }, - children: "\u8BBE\u5907\u540D\u79F0\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.name) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.name) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u8BBE\u5907\u7C7B\u578B\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.category) == 'virtual' ? '虚拟机' : '物理机', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.category) == 'virtual' ? '虚拟机' : '物理机' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "IP\u5730\u5740\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.ip) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.ip) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "MAC\u5730\u5740\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.mac_address) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.mac_address) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_title) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_title) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u6240\u5C5E\u623F\u95F4\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_room_title) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_room_title) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u91D1\u989D\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.amount) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.amount) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u62A5\u5E9F\u7533\u8BF7\u4EBA\u5458\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_name) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_name) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u8054\u7CFB\u624B\u673A\u53F7\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_phone) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_phone) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u8054\u7CFB\u90AE\u7BB1\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_mail) || '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_mail) || '--' - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Scrapmodules.infoItem, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - width: '100px' - }, - children: "\u7EF4\u4FEE\u65E5\u671F\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: viewData !== null && viewData !== void 0 && viewData.scrapped_date ? dayjs_min_default()(viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_date).format('YYYY-MM-DD HH:mm') : '--', - placement: "topLeft", - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Scrapmodules.infoItem_value, - children: viewData !== null && viewData !== void 0 && viewData.scrapped_date ? dayjs_min_default()(viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_date).format('YYYY-MM-DD HH:mm') : '--' - }) - })] - })] - }) - })] - }); -}; -/* harmony default export */ var Scrap = ((0,_umi_production_exports.connect)(function (_ref2) { - var loading = _ref2.loading, - engineeringNavigtion = _ref2.engineeringNavigtion; - return objectSpread2_default()({ - loading: loading - }, engineeringNavigtion); -})(Navigation)); - -/***/ }) - -}]); \ No newline at end of file diff --git a/p__Equipment__Scrap__index.eb7a9b8f.chunk.css b/p__Equipment__Scrap__index.eb7a9b8f.chunk.css deleted file mode 100644 index 35e2b79a79..0000000000 --- a/p__Equipment__Scrap__index.eb7a9b8f.chunk.css +++ /dev/null @@ -1,186 +0,0 @@ -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/Scrap/index.less?modules ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.header_div___unSwv { - height: 60px; - display: flex; - justify-content: space-between; -} -.header_div___unSwv .header_title___WCf0b { - height: 38px; - font-size: 16px; - font-family: PingFangSC, PingFang SC; - font-weight: 500; - color: #000000; - line-height: 38px; -} -.header_div___unSwv .search___XDmOG { - margin-left: auto; - display: flex; - align-items: center; - overflow: hidden; - border-radius: 19px; - height: 38px; - width: 268px; - padding-left: 8px; - background-color: #f6f7f9; - border: none; -} -.header_div___unSwv .search___XDmOG span[class~='ant-input-search-icon'] { - display: none; -} -.header_div___unSwv .search___XDmOG [class~='ant-input-affix-wrapper'] { - background-color: #f6f7f9; - border: none; -} -.header_div___unSwv .search___XDmOG [class~='ant-input-affix-wrapper'] { - outline: none !important; - border: none !important; - box-shadow: none !important; -} -.header_div___unSwv .search___XDmOG span[class~='ant-input-group-addon'] { - display: none; -} -.header_div___unSwv .search___XDmOG .searchIcon___j6ZDZ { - margin-right: 14px; - cursor: pointer; -} -.header_div___unSwv .search___XDmOG input { - background-color: #f6f7f9; -} -.search_params___veOCx { - display: flex; -} -.search_params___veOCx [class~='ant-form-item'] [class~='ant-form-item-label'] { - text-align: right !important; -} -.search_params___veOCx [class~='ant-form-item'] [class~='ant-form-item-label'] label { - color: #666 !important; - display: block !important; - height: 36px !important; - line-height: 36px !important; -} -.search_params___veOCx [class~='ant-select-selector'] { - height: 36px !important; -} -.search_params___veOCx [class~='ant-picker'] { - height: 36px !important; -} -.search_params___veOCx [class~='ant-select-selection-item'] { - line-height: 34px !important; -} -.clear_Data___u0bVa { - width: 102px; - height: 32px; - background: #3061D0; - 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, PingFang SC; - font-weight: 400; - color: #FFFFFF; - line-height: 32px; - margin-left: auto; - text-align: center; - cursor: pointer; - margin-top: 3px; -} -.content_list___dnPyj { - display: flex; - flex-wrap: wrap; -} -.content_list___dnPyj .content___cchLV { - width: 222px; - height: 247px; - background: #FFFFFF; - margin: 0 10px 20px 10px; - box-shadow: 0px 2px 4px 0px #D6DAE1; - border-radius: 8px; - cursor: pointer; -} -.content_list___dnPyj .content___cchLV .content_img___L5dds { - width: 222px; - height: 140px; - box-shadow: 0px 2px 4px 0px #D6DAE1; - border-radius: 8px 8px 0px 0px; -} -.content_list___dnPyj .content___cchLV .content_name___aAY7s { - height: 26px; - font-size: 16px; - font-family: PingFangSC, PingFang SC; - font-weight: 600; - color: #20232B; - line-height: 26px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - margin-top: 10px; - padding: 0 15px; -} -.content_list___dnPyj .content___cchLV .content_title___MYA4V { - height: 22px; - font-size: 14px; - font-family: PingFangSC, PingFang SC; - font-weight: 400; - color: #666666; - line-height: 22px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - margin-top: 6px; - padding: 0 15px; -} -.content_list___dnPyj .content___cchLV .content_params___brz1n { - margin-top: 18px; - padding: 0 15px; - display: flex; -} -.content_list___dnPyj .content___cchLV .content_params___brz1n span { - color: #999999; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - font-size: 12px; -} -.redRow___Na1q0 { - color: #E30000; -} -.infoItem___VG8ki { - color: #666; - line-height: 38px; - padding-right: 5px; - text-align: right; - display: flex; -} -.infoItem___VG8ki .infoItem_value___m1ajt { - text-align: left; - width: 440px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.file_list___zm7CA { - display: flex; - color: #3061D0; - font-size: 12px; - margin-bottom: 10px; -} -.file_list___zm7CA .file_list_title___U7TTt { - height: 24px; - line-height: 24px; - padding: 0 10px; - background: rgba(22, 93, 255, 0.06); - border-radius: 12px; -} -.file_list___zm7CA .file_list_size___D6Wcu { - height: 24px; - font-family: PingFangSC, PingFang SC; - font-weight: 400; - font-size: 12px; - color: #B2B2B2; - line-height: 24px; - text-align: left; - margin-left: 10px; - font-style: normal; -} - diff --git a/p__Shixuns__Edit__index.fbd7f6b0.async.js b/p__Shixuns__Edit__index.4c89bcaf.async.js similarity index 98% rename from p__Shixuns__Edit__index.fbd7f6b0.async.js rename to p__Shixuns__Edit__index.4c89bcaf.async.js index 4cd81fb9b2..9468fbb80d 100644 --- a/p__Shixuns__Edit__index.fbd7f6b0.async.js +++ b/p__Shixuns__Edit__index.4c89bcaf.async.js @@ -13826,6 +13826,8 @@ var _403Qrcode = __webpack_require__(25510); var authority = __webpack_require__(16080); // EXTERNAL MODULE: ./src/components/ui-customization/reset.less?modules var resetmodules = __webpack_require__(69253); +// EXTERNAL MODULE: ./src/components/NoData/index.tsx +var NoData = __webpack_require__(12594); ;// CONCATENATED MODULE: ./src/pages/Shixuns/Edit/body/Environment/index.tsx @@ -13852,6 +13854,7 @@ var resetmodules = __webpack_require__(69253); + var Option = es_select["default"].Option; @@ -13887,6 +13890,22 @@ var Environment = function Environment(_ref) { setData = _useState10[1]; var trackData = (0,_react_17_0_2_react.useRef)({}); //有些组件(比如:MonacoEditor)的onChange不能获取最新的state,这个可以缓存但是的data var saveData = (0,_react_17_0_2_react.useRef)({}); + var _useState11 = (0,_react_17_0_2_react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + envlist = _useState12[0], + setenvlist = _useState12[1]; + var _useState13 = (0,_react_17_0_2_react.useState)(null), + _useState14 = slicedToArray_default()(_useState13, 2), + envinfo = _useState14[0], + setenvinfo = _useState14[1]; + var _useState15 = (0,_react_17_0_2_react.useState)(0), + _useState16 = slicedToArray_default()(_useState15, 2), + currentid = _useState16[0], + setcurrentid = _useState16[1]; + var _useState17 = (0,_react_17_0_2_react.useState)(false), + _useState18 = slicedToArray_default()(_useState17, 2), + isshow = _useState18[0], + setisshow = _useState18[1]; var _data$shixun_environm = data.shixun_environment, shixun_environment = _data$shixun_environm === void 0 ? {} : _data$shixun_environm, _data$mirror_reposito = data.mirror_repository, @@ -13897,72 +13916,76 @@ var Environment = function Environment(_ref) { new_service_configs = _data$new_service_con === void 0 ? [] : _data$new_service_con, _data$network_mode_li = data.network_mode_list, network_mode_list = _data$network_mode_li === void 0 ? [] : _data$network_mode_li; - var _useState11 = (0,_react_17_0_2_react.useState)(''), - _useState12 = slicedToArray_default()(_useState11, 2), - error = _useState12[0], - setError = _useState12[1]; - var _useState13 = (0,_react_17_0_2_react.useState)('请输入端口'), - _useState14 = slicedToArray_default()(_useState13, 2), - portText = _useState14[0], - setPortText = _useState14[1]; - var _useState15 = (0,_react_17_0_2_react.useState)(false), - _useState16 = slicedToArray_default()(_useState15, 2), - expand = _useState16[0], - setExpand = _useState16[1]; - var _useState17 = (0,_react_17_0_2_react.useState)(false), - _useState18 = slicedToArray_default()(_useState17, 2), - elseExpand = _useState18[0], - setElseExpand = _useState18[1]; - var _useState19 = (0,_react_17_0_2_react.useState)(true), + var _useState19 = (0,_react_17_0_2_react.useState)(''), _useState20 = slicedToArray_default()(_useState19, 2), - loading = _useState20[0], - setLoading = _useState20[1]; - var _useState21 = (0,_react_17_0_2_react.useState)(true), + error = _useState20[0], + setError = _useState20[1]; + var _useState21 = (0,_react_17_0_2_react.useState)('请输入端口'), _useState22 = slicedToArray_default()(_useState21, 2), - cloudListLoading = _useState22[0], - setCloudListLoading = _useState22[1]; + portText = _useState22[0], + setPortText = _useState22[1]; var _useState23 = (0,_react_17_0_2_react.useState)(false), _useState24 = slicedToArray_default()(_useState23, 2), - btnLoading = _useState24[0], - setBtnLoading = _useState24[1]; - - //右边抽屉 + expand = _useState24[0], + setExpand = _useState24[1]; var _useState25 = (0,_react_17_0_2_react.useState)(false), _useState26 = slicedToArray_default()(_useState25, 2), - settingDrawer = _useState26[0], - setSettingDrawer = _useState26[1]; - - //添加和切换环境 - var _useState27 = (0,_react_17_0_2_react.useState)(false), + elseExpand = _useState26[0], + setElseExpand = _useState26[1]; + var _useState27 = (0,_react_17_0_2_react.useState)(true), _useState28 = slicedToArray_default()(_useState27, 2), - mirrorModal = _useState28[0], - setMirrorModal = _useState28[1]; - - // SuperiorTabs切换 - var _useState29 = (0,_react_17_0_2_react.useState)(0), + loading = _useState28[0], + setLoading = _useState28[1]; + var _useState29 = (0,_react_17_0_2_react.useState)(true), _useState30 = slicedToArray_default()(_useState29, 2), - superTabs = _useState30[0], - setSuperTabs = _useState30[1]; + cloudListLoading = _useState30[0], + setCloudListLoading = _useState30[1]; var _useState31 = (0,_react_17_0_2_react.useState)(false), _useState32 = slicedToArray_default()(_useState31, 2), - isEmpty = _useState32[0], - setIsEmpty = _useState32[1]; - var _useState33 = (0,_react_17_0_2_react.useState)({}), + btnLoading = _useState32[0], + setBtnLoading = _useState32[1]; + var _useState33 = (0,_react_17_0_2_react.useState)(false), _useState34 = slicedToArray_default()(_useState33, 2), - publicMirrorInfo = _useState34[0], - setPublicMirrorInfo = _useState34[1]; //公共镜像数据 - var _useState35 = (0,_react_17_0_2_react.useState)({}), + showdevice = _useState34[0], + setshowdevice = _useState34[1]; + + //右边抽屉 + var _useState35 = (0,_react_17_0_2_react.useState)(false), _useState36 = slicedToArray_default()(_useState35, 2), - customizeMirrorInfo = _useState36[0], - setCustomizeMirrorInfo = _useState36[1]; //自定义镜像数据 - var _useState37 = (0,_react_17_0_2_react.useState)({}), + settingDrawer = _useState36[0], + setSettingDrawer = _useState36[1]; + + //添加和切换环境 + var _useState37 = (0,_react_17_0_2_react.useState)(false), _useState38 = slicedToArray_default()(_useState37, 2), - shareMirrorInfo = _useState38[0], - setShareMirrorInfo = _useState38[1]; //共享镜像数据 - var _useState39 = (0,_react_17_0_2_react.useState)(''), + mirrorModal = _useState38[0], + setMirrorModal = _useState38[1]; + + // SuperiorTabs切换 + var _useState39 = (0,_react_17_0_2_react.useState)(0), _useState40 = slicedToArray_default()(_useState39, 2), - network_mode = _useState40[0], - setnetwork_mode = _useState40[1]; + superTabs = _useState40[0], + setSuperTabs = _useState40[1]; + var _useState41 = (0,_react_17_0_2_react.useState)(false), + _useState42 = slicedToArray_default()(_useState41, 2), + isEmpty = _useState42[0], + setIsEmpty = _useState42[1]; + var _useState43 = (0,_react_17_0_2_react.useState)({}), + _useState44 = slicedToArray_default()(_useState43, 2), + publicMirrorInfo = _useState44[0], + setPublicMirrorInfo = _useState44[1]; //公共镜像数据 + var _useState45 = (0,_react_17_0_2_react.useState)({}), + _useState46 = slicedToArray_default()(_useState45, 2), + customizeMirrorInfo = _useState46[0], + setCustomizeMirrorInfo = _useState46[1]; //自定义镜像数据 + var _useState47 = (0,_react_17_0_2_react.useState)({}), + _useState48 = slicedToArray_default()(_useState47, 2), + shareMirrorInfo = _useState48[0], + setShareMirrorInfo = _useState48[1]; //共享镜像数据 + var _useState49 = (0,_react_17_0_2_react.useState)(''), + _useState50 = slicedToArray_default()(_useState49, 2), + network_mode = _useState50[0], + setnetwork_mode = _useState50[1]; var cloudItems = [{ id: 1, name: '通用云' @@ -14018,6 +14041,7 @@ var Environment = function Environment(_ref) { }; }, []); (0,_react_17_0_2_react.useEffect)(function () { + getmydeviceenv(); getTabs(); getData(); getCloudList(); @@ -14076,6 +14100,29 @@ var Environment = function Environment(_ref) { (0,_react_17_0_2_react.useEffect)(function () { checkIsEmpty(); }, [superTabs]); + var getmydeviceenv = /*#__PURE__*/function () { + var _ref3 = 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 (0,fetch/* default */.ZP)("/api/kd_classrooms/device_environments.json", { + method: 'get' + }); + case 2: + res = _context2.sent; + setenvlist(res === null || res === void 0 ? void 0 : res.list); + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function getmydeviceenv() { + return _ref3.apply(this, arguments); + }; + }(); var toExit = function toExit() { var _practiceSetting$side; var toNext = function toNext() { @@ -14102,17 +14149,17 @@ var Environment = function Environment(_ref) { } }; var getTabs = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { var res, _res$data3, cloneTabs; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: - _context2.next = 2; + _context3.next = 2; return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/get_shixun_env_tabs.json"), { method: 'get' }); case 2: - res = _context2.sent; + res = _context3.sent; if (res.status === 0) { cloneTabs = ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.shixun_environments_tabs) || []; if (cloneTabs.length && tabsActive === null) { @@ -14122,48 +14169,48 @@ var Environment = function Environment(_ref) { } case 4: case "end": - return _context2.stop(); + return _context3.stop(); } - }, _callee2); + }, _callee3); })); return function getTabs() { - return _ref3.apply(this, arguments); + return _ref4.apply(this, arguments); }; }(); var getCloudList = /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { var res, _res$data4; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: setCloudListLoading(true); - _context3.next = 3; + _context4.next = 3; return (0,fetch/* default */.ZP)("/api/shixuns/get_private_clouds.json", { method: 'get' }); case 3: - res = _context3.sent; + res = _context4.sent; if (res.status === 0) { setCloudList(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.list); } setCloudListLoading(false); case 6: case "end": - return _context3.stop(); + return _context4.stop(); } - }, _callee3); + }, _callee4); })); return function getCloudList() { - return _ref4.apply(this, arguments); + return _ref5.apply(this, arguments); }; }(); var getTemplate = /*#__PURE__*/function () { - var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(private_cloud_id, operating_system) { + var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(private_cloud_id, operating_system) { var res, _res$data5; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - _context4.next = 2; + _context5.next = 2; return (0,fetch/* default */.ZP)("/api/shixuns/get_instance_startup_template.json", { method: 'get', params: { @@ -14172,42 +14219,43 @@ var Environment = function Environment(_ref) { } }); case 2: - res = _context4.sent; + res = _context5.sent; if (res.status === 0) { setTemplate(res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.list); } case 4: case "end": - return _context4.stop(); + return _context5.stop(); } - }, _callee4); + }, _callee5); })); return function getTemplate(_x, _x2) { - return _ref5.apply(this, arguments); + return _ref6.apply(this, arguments); }; }(); var getData = /*#__PURE__*/function () { - var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() { var shixun_environment_id, res, _res$data6, _res$data7, - _res$data9, - _res$data11, - _res$data13, - _res$data14, _res$data8, _res$data10, _res$data12, + _res$data14, + _res$data15, + _res$data9, + _res$data11, + _res$data13, private_cloud_id, operating_system, - _args5 = arguments; - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { + _args6 = arguments; + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: - shixun_environment_id = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : null; + shixun_environment_id = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : null; setLoading(true); - _context5.next = 4; + _context6.next = 4; return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/get_multi_environments.json"), { method: 'get', params: { @@ -14215,26 +14263,27 @@ var Environment = function Environment(_ref) { } }); case 4: - res = _context5.sent; + res = _context6.sent; if (res.status === 0) { saveData.current = (0,lodash.cloneDeep)(res.data || {}); setData(res.data || {}); setSuperTabs(Number((_res$data6 = res.data) === null || _res$data6 === void 0 || (_res$data6 = _res$data6.shixun_environment) === null || _res$data6 === void 0 ? void 0 : _res$data6.mirror_tab_type) || 0); - if (Number((_res$data7 = res.data) === null || _res$data7 === void 0 || (_res$data7 = _res$data7.shixun_environment) === null || _res$data7 === void 0 ? void 0 : _res$data7.mirror_tab_type) === 0) { - setPublicMirrorInfo((_res$data8 = res.data) === null || _res$data8 === void 0 ? void 0 : _res$data8.mirror_repository); + setcurrentid((_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.shixun_environment.id); + if (Number((_res$data8 = res.data) === null || _res$data8 === void 0 || (_res$data8 = _res$data8.shixun_environment) === null || _res$data8 === void 0 ? void 0 : _res$data8.mirror_tab_type) === 0) { + setPublicMirrorInfo((_res$data9 = res.data) === null || _res$data9 === void 0 ? void 0 : _res$data9.mirror_repository); setCustomizeMirrorInfo({}); setShareMirrorInfo({}); - } else if (Number((_res$data9 = res.data) === null || _res$data9 === void 0 || (_res$data9 = _res$data9.shixun_environment) === null || _res$data9 === void 0 ? void 0 : _res$data9.mirror_tab_type) === 1) { - setCustomizeMirrorInfo((_res$data10 = res.data) === null || _res$data10 === void 0 ? void 0 : _res$data10.mirror_repository); + } else if (Number((_res$data10 = res.data) === null || _res$data10 === void 0 || (_res$data10 = _res$data10.shixun_environment) === null || _res$data10 === void 0 ? void 0 : _res$data10.mirror_tab_type) === 1) { + setCustomizeMirrorInfo((_res$data11 = res.data) === null || _res$data11 === void 0 ? void 0 : _res$data11.mirror_repository); setPublicMirrorInfo({}); setShareMirrorInfo({}); - } else if (Number((_res$data11 = res.data) === null || _res$data11 === void 0 || (_res$data11 = _res$data11.shixun_environment) === null || _res$data11 === void 0 ? void 0 : _res$data11.mirror_tab_type) === 2) { - setShareMirrorInfo((_res$data12 = res.data) === null || _res$data12 === void 0 ? void 0 : _res$data12.mirror_repository); + } else if (Number((_res$data12 = res.data) === null || _res$data12 === void 0 || (_res$data12 = _res$data12.shixun_environment) === null || _res$data12 === void 0 ? void 0 : _res$data12.mirror_tab_type) === 2) { + setShareMirrorInfo((_res$data13 = res.data) === null || _res$data13 === void 0 ? void 0 : _res$data13.mirror_repository); setPublicMirrorInfo({}); setShareMirrorInfo({}); } - private_cloud_id = res === null || res === void 0 || (_res$data13 = res.data) === null || _res$data13 === void 0 || (_res$data13 = _res$data13.shixun_environment) === null || _res$data13 === void 0 ? void 0 : _res$data13.private_cloud_id; - operating_system = res === null || res === void 0 || (_res$data14 = res.data) === null || _res$data14 === void 0 || (_res$data14 = _res$data14.shixun_environment) === null || _res$data14 === void 0 ? void 0 : _res$data14.operating_system; + private_cloud_id = res === null || res === void 0 || (_res$data14 = res.data) === null || _res$data14 === void 0 || (_res$data14 = _res$data14.shixun_environment) === null || _res$data14 === void 0 ? void 0 : _res$data14.private_cloud_id; + operating_system = res === null || res === void 0 || (_res$data15 = res.data) === null || _res$data15 === void 0 || (_res$data15 = _res$data15.shixun_environment) === null || _res$data15 === void 0 ? void 0 : _res$data15.operating_system; if (private_cloud_id && operating_system) { getTemplate(private_cloud_id, operating_system); } @@ -14242,21 +14291,21 @@ var Environment = function Environment(_ref) { setLoading(false); case 7: case "end": - return _context5.stop(); + return _context6.stop(); } - }, _callee5); + }, _callee6); })); return function getData() { - return _ref6.apply(this, arguments); + return _ref7.apply(this, arguments); }; }(); var getCheckData = /*#__PURE__*/function () { - var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { + var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { var res, _res$shixun_environme; - return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { + return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { case 0: - _context7.next = 2; + _context8.next = 2; return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/check_code_editor.json"), { method: 'get', params: { @@ -14264,13 +14313,13 @@ var Environment = function Environment(_ref) { } }); case 2: - res = _context7.sent; + res = _context8.sent; if (!(res.status === 0)) { - _context7.next = 7; + _context8.next = 7; break; } if (!res.is_exist_code_editor) { - _context7.next = 7; + _context8.next = 7; break; } modal/* default */.Z.confirm({ @@ -14292,18 +14341,18 @@ var Environment = function Environment(_ref) { })] }), onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() { - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { case 0: setTabsActive(res.shixun_environment.id); getData(res.shixun_environment.id); getTabs(); case 3: case "end": - return _context6.stop(); + return _context7.stop(); } - }, _callee6); + }, _callee7); })); function onOk() { return _onOk.apply(this, arguments); @@ -14311,17 +14360,17 @@ var Environment = function Environment(_ref) { return onOk; }() }); - return _context7.abrupt("return", Promise.reject()); + return _context8.abrupt("return", Promise.reject()); case 7: - return _context7.abrupt("return", Promise.resolve()); + return _context8.abrupt("return", Promise.resolve()); case 8: case "end": - return _context7.stop(); + return _context8.stop(); } - }, _callee7); + }, _callee8); })); return function getCheckData() { - return _ref7.apply(this, arguments); + return _ref8.apply(this, arguments); }; }(); var initData = { @@ -14582,16 +14631,16 @@ var Environment = function Environment(_ref) { return result; }; var handleDragEnd = /*#__PURE__*/function () { - var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8(result, lists) { + var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(result, lists) { var items; - return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { + return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { case 0: if (result.destination) { - _context8.next = 2; + _context9.next = 2; break; } - return _context8.abrupt("return"); + return _context9.abrupt("return"); case 2: items = reorder(lists, result.source.index, result.destination.index); setTabs(items); @@ -14603,12 +14652,12 @@ var Environment = function Environment(_ref) { }); case 5: case "end": - return _context8.stop(); + return _context9.stop(); } - }, _callee8); + }, _callee9); })); return function handleDragEnd(_x3, _x4) { - return _ref8.apply(this, arguments); + return _ref9.apply(this, arguments); }; }(); var handleRename = function handleRename(itemId, name) { @@ -14646,17 +14695,17 @@ var Environment = function Environment(_ref) { })] }), onOk: function () { - var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() { var newTabs, res; - return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { + return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { case 0: if (value) { - _context9.next = 3; + _context10.next = 3; break; } message/* default */.ZP.warning('名称不能为空'); - return _context9.abrupt("return", Promise.reject()); + return _context10.abrupt("return", Promise.reject()); case 3: newTabs = tabs.map(function (e) { if (e.id === itemId) { @@ -14667,13 +14716,13 @@ var Environment = function Environment(_ref) { return e; }); if (!(tabsActive === 0)) { - _context9.next = 7; + _context10.next = 7; break; } setTabs(newTabs); - return _context9.abrupt("return"); + return _context10.abrupt("return"); case 7: - _context9.next = 9; + _context10.next = 9; return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/update_environment_name.json"), { method: 'put', body: { @@ -14682,15 +14731,15 @@ var Environment = function Environment(_ref) { } }); case 9: - res = _context9.sent; + res = _context10.sent; if (res.status === 0) { setTabs(newTabs); } case 11: case "end": - return _context9.stop(); + return _context10.stop(); } - }, _callee9); + }, _callee10); })); function onOk() { return _onOk2.apply(this, arguments); @@ -14714,22 +14763,22 @@ var Environment = function Environment(_ref) { type: 'primary' }, onOk: function () { - var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() { + var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() { var res, newTabs, _newTabs$, currentId; - return regeneratorRuntime_default()().wrap(function _callee10$(_context10) { - while (1) switch (_context10.prev = _context10.next) { + return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { case 0: if (!(tabsActive === 0)) { - _context10.next = 4; + _context11.next = 4; break; } - _context10.t0 = { + _context11.t0 = { status: 0 }; - _context10.next = 7; + _context11.next = 7; break; case 4: - _context10.next = 6; + _context11.next = 6; return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/delete_environment.json"), { method: 'delete', body: { @@ -14737,9 +14786,9 @@ var Environment = function Environment(_ref) { } }); case 6: - _context10.t0 = _context10.sent; + _context11.t0 = _context11.sent; case 7: - res = _context10.t0; + res = _context11.t0; if (res.status === 0) { newTabs = tabs.filter(function (e) { return e.id !== itemId; @@ -14755,9 +14804,9 @@ var Environment = function Environment(_ref) { } case 9: case "end": - return _context10.stop(); + return _context11.stop(); } - }, _callee10); + }, _callee11); })); function onOk() { return _onOk3.apply(this, arguments); @@ -14836,145 +14885,145 @@ var Environment = function Environment(_ref) { setMirrorModal(false); }; var handleConfirm = /*#__PURE__*/function () { - var _ref9 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() { + var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() { var _tabs$find; var _shixun_environment$p, _shixun_environment$p2, _mirror_repository$sh, _iterator, _step, item, regex, name, res; - return regeneratorRuntime_default()().wrap(function _callee11$(_context11) { - while (1) switch (_context11.prev = _context11.next) { + return regeneratorRuntime_default()().wrap(function _callee12$(_context12) { + while (1) switch (_context12.prev = _context12.next) { case 0: if (!verifyModal()) { - _context11.next = 2; + _context12.next = 2; break; } - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 2: if (!((shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.resource_type) === 1)) { - _context11.next = 46; + _context12.next = 46; break; } if (mirror_repository !== null && mirror_repository !== void 0 && mirror_repository.id) { - _context11.next = 6; + _context12.next = 6; break; } setError('mirror'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 6: if (!(!(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.is_support_code_editor) && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.is_support_vnc) && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.is_support_webssh) && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.is_support_thiry_party))) { - _context11.next = 9; + _context12.next = 9; break; } setError('interface'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 9: if (!(shixun_environment.is_support_thiry_party && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.proxy_port))) { - _context11.next = 13; + _context12.next = 13; break; } setError('port'); setPortText('请输入端口'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 13: if (!(shixun_environment.is_support_thiry_party && shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.proxy_port && parseInt(shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.proxy_port) > 65535 || (shixun_environment === null || shixun_environment === void 0 || (_shixun_environment$p = shixun_environment.proxy_port) === null || _shixun_environment$p === void 0 ? void 0 : _shixun_environment$p.length) > 1 && (shixun_environment === null || shixun_environment === void 0 || (_shixun_environment$p2 = shixun_environment.proxy_port) === null || _shixun_environment$p2 === void 0 ? void 0 : _shixun_environment$p2[0]) === "0")) { - _context11.next = 17; + _context12.next = 17; break; } setError('port'); setPortText('请输入正确的端口'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 17: if (mirror_repository !== null && mirror_repository !== void 0 && (_mirror_repository$sh = mirror_repository.shixun_service_configs) !== null && _mirror_repository$sh !== void 0 && _mirror_repository$sh.length) { - _context11.next = 20; + _context12.next = 20; break; } setError('shixun_service_configs'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 20: _iterator = createForOfIteratorHelper_default()(mirror_repository === null || mirror_repository === void 0 ? void 0 : mirror_repository.shixun_service_configs); - _context11.prev = 21; + _context12.prev = 21; _iterator.s(); case 23: if ((_step = _iterator.n()).done) { - _context11.next = 33; + _context12.next = 33; break; } item = _step.value; if (!(item !== null && item !== void 0 && item.open_start_command && !(item !== null && item !== void 0 && item.start_command))) { - _context11.next = 28; + _context12.next = 28; break; } setError('start_command'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 28: if (!(item !== null && item !== void 0 && item.open_envs && !(item !== null && item !== void 0 && item.envs))) { - _context11.next = 31; + _context12.next = 31; break; } setError('envs'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 31: - _context11.next = 23; + _context12.next = 23; break; case 33: - _context11.next = 38; + _context12.next = 38; break; case 35: - _context11.prev = 35; - _context11.t0 = _context11["catch"](21); - _iterator.e(_context11.t0); + _context12.prev = 35; + _context12.t0 = _context12["catch"](21); + _iterator.e(_context12.t0); case 38: - _context11.prev = 38; + _context12.prev = 38; _iterator.f(); - return _context11.finish(38); + return _context12.finish(38); case 41: if (!(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.webssh_host)) { - _context11.next = 46; + _context12.next = 46; break; } regex = /^[a-z0-9\-]*$/; if (regex.test(shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.webssh_host)) { - _context11.next = 46; + _context12.next = 46; break; } message/* default */.ZP.warning('主机名只能输入数字、小写字母、连字符'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 46: if (!((shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.resource_type) === 2)) { - _context11.next = 59; + _context12.next = 59; break; } if (shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.operating_system) { - _context11.next = 50; + _context12.next = 50; break; } setError('system'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 50: if (shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.instance_startup_template_id) { - _context11.next = 53; + _context12.next = 53; break; } setError('template'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 53: if (!(!(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.private_is_support_vnc) && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.private_is_support_webssh))) { - _context11.next = 56; + _context12.next = 56; break; } setError('interface'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 56: if (!((shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.operating_system) === 1 && shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.private_is_support_vnc && isAliCloud && !(shixun_environment !== null && shixun_environment !== void 0 && shixun_environment.instance_startup_type))) { - _context11.next = 59; + _context12.next = 59; break; } setError('instance_startup_type'); - return _context11.abrupt("return"); + return _context12.abrupt("return"); case 59: setBtnLoading(true); name = (_tabs$find = tabs.find(function (e) { return e.id === tabsActive; })) === null || _tabs$find === void 0 ? void 0 : _tabs$find.name; - _context11.next = 63; + _context12.next = 63; return (0,fetch/* default */.ZP)("/api/shixuns/".concat(id, "/update_for_multi.json"), { method: 'put', body: { @@ -14992,7 +15041,7 @@ var Environment = function Environment(_ref) { } }); case 63: - res = _context11.sent; + res = _context12.sent; if (res.status === 0) { getData(res.shixun_environment_id); setTabsActive(res.shixun_environment_id); @@ -15002,12 +15051,12 @@ var Environment = function Environment(_ref) { setBtnLoading(false); case 66: case "end": - return _context11.stop(); + return _context12.stop(); } - }, _callee11, null, [[21, 35, 38, 41]]); + }, _callee12, null, [[21, 35, 38, 41]]); })); return function handleConfirm() { - return _ref9.apply(this, arguments); + return _ref10.apply(this, arguments); }; }(); var handleAdd = function handleAdd() { @@ -15031,23 +15080,23 @@ var Environment = function Environment(_ref) { setData(cloneData); }; var handleValueChange = /*#__PURE__*/function () { - var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12(key, type, value) { + var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13(key, type, value) { var cloneData, _cloudList$, _param$network_mode_l, param, newItems, oldItems, _difference$, difference, _difference$2, _difference$3, initParam, _difference; - return regeneratorRuntime_default()().wrap(function _callee12$(_context12) { - while (1) switch (_context12.prev = _context12.next) { + return regeneratorRuntime_default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { case 0: if (!verifyModal()) { - _context12.next = 2; + _context13.next = 2; break; } - return _context12.abrupt("return"); + return _context13.abrupt("return"); case 2: cloneData = (0,lodash.cloneDeep)(trackData.current); if (!(type === 'is_support_code_editor' && value)) { - _context12.next = 6; + _context13.next = 6; break; } - _context12.next = 6; + _context13.next = 6; return getCheckData(); case 6: if (type === 'resource_type') { @@ -15130,12 +15179,12 @@ var Environment = function Environment(_ref) { setData(cloneData); case 15: case "end": - return _context12.stop(); + return _context13.stop(); } - }, _callee12); + }, _callee13); })); return function handleValueChange(_x5, _x6, _x7) { - return _ref10.apply(this, arguments); + return _ref11.apply(this, arguments); }; }(); var dealConfigs = function dealConfigs(i, type, value) { @@ -16201,6 +16250,50 @@ var Environment = function Environment(_ref) { })] })] })] + }), (shixun_environment === null || shixun_environment === void 0 ? void 0 : shixun_environment.resource_type) === 3 && ((envinfo === null || envinfo === void 0 ? void 0 : envinfo.id) == currentid || !envinfo || isshow) && /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, { + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(Label/* default */.Z, { + required: true, + name: "\u8BBE\u5907\u73AF\u5883", + errorKey: "mirror", + errorValue: error, + errorName: "\u8BF7\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF", + align: "start", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + return setshowdevice(true); + }, + className: Environmentmodules.setting1, + children: "\u9009\u62E9\u8BBE\u5907\u73AF\u5883" + }), envinfo && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Environmentmodules.listItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Environmentmodules.left, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(Environmentmodules.name, " mr15"), + children: envinfo === null || envinfo === void 0 ? void 0 : envinfo.device_environmet_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Environmentmodules.count, + children: envinfo === null || envinfo === void 0 ? void 0 : envinfo.device_group_names + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Environmentmodules.right, + style: { + width: 65 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + cursor: 'pointer', + color: '#165DFF' + }, + onClick: function onClick() { + var _user$userInfo; + window.open("/users/".concat((_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login, "/devicegroup/edit/").concat(envinfo.device_environmet_id), '_blank'); + }, + children: "\u67E5\u770B" + }) + })] + })] + }) }), !tabs.length && /*#__PURE__*/(0,jsx_runtime.jsx)(empty/* default */.Z, { image: noEnvData, imageStyle: { @@ -16252,14 +16345,99 @@ var Environment = function Environment(_ref) { onOk: function onOk(value) { return handleSettingOK(value); } + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "\u9009\u62E9\u8BBE\u5907\u73AF\u5883", + visible: showdevice, + width: 850, + centered: true, + className: Environmentmodules.show_selectDevice, + onCancel: function onCancel() { + return setshowdevice(false); + }, + footer: null, + children: (envlist === null || envlist === void 0 ? void 0 : envlist.length) === 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + customText: "\u60A8\u8FD8\u6682\u672A\u8BBE\u7F6E\u8BBE\u5907\u73AF\u5883\uFF0C\u53EF\u70B9\u51FB\u7ACB\u5373\u521B\u5EFA\u8BBE\u5907\u73AF\u5883", + styles: { + margin: '20px auto' + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + onClick: function onClick() { + var _user$userInfo2; + _umi_production_exports.history.push("/users/".concat((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/devicegroup")); + }, + className: Environmentmodules.setting1, + style: { + margin: '50px auto' + }, + children: "\u521B\u5EFA\u8BBE\u5907\u73AF\u5883" + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: envlist === null || envlist === void 0 ? void 0 : envlist.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Environmentmodules.listItem, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Environmentmodules.left, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "".concat(Environmentmodules.name, " mr15"), + children: v.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Environmentmodules.count, + children: v.device_group_names + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Environmentmodules.right, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + cursor: 'pointer', + color: '#165DFF' + }, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14() { + var newv; + return regeneratorRuntime_default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { + case 0: + // const res = await Fetch(`/api/shixuns/${id}/update_for_multi.json`,{ + // method: 'put', + // body: { + // shixun_environment:{ + // id: tabsActive, + // name: v.name, + // resource_type: 3, + // device_environment_id: v.id, + // }, + // shixun_environment_id: tabsActive, + // } + // }) + newv = { + device_environmet_name: v.name, + device_environmet_id: v.id, + device_group_names: v.device_group_names, + current_shixun_devironment: v.current_shixun_devironment + }; + setenvinfo(newv); + setshowdevice(false); + setisshow(true); + case 4: + case "end": + return _context14.stop(); + } + }, _callee14); + })), + children: "\u9009\u62E9" + }) + })] + }, k); + }) + }) })] }); }; -/* harmony default export */ var body_Environment = ((0,_umi_production_exports.connect)(function (_ref11) { - var practiceSetting = _ref11.practiceSetting, - globalSetting = _ref11.globalSetting, - shixunsDetail = _ref11.shixunsDetail, - user = _ref11.user; +/* harmony default export */ var body_Environment = ((0,_umi_production_exports.connect)(function (_ref13) { + var practiceSetting = _ref13.practiceSetting, + globalSetting = _ref13.globalSetting, + shixunsDetail = _ref13.shixunsDetail, + user = _ref13.user; return { practiceSetting: practiceSetting, globalSetting: globalSetting, diff --git a/umi.139a14fe.js b/umi.5ac9d560.js similarity index 99% rename from umi.139a14fe.js rename to umi.5ac9d560.js index 354809e2f9..74eb397a08 100644 --- a/umi.139a14fe.js +++ b/umi.5ac9d560.js @@ -59797,7 +59797,7 @@ function cloneElement(element, props) { /* harmony export */ }); /* unused harmony export matchScreen */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301); -/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../theme/internal */ 88088); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../theme/internal */ 70305); const responsiveArray = ['xxl', 'xl', 'lg', 'md', 'sm', 'xs']; @@ -60140,8 +60140,8 @@ const showWaveEffect = (target, info) => { })), holder); }; /* harmony default export */ var wave_WaveEffect = (showWaveEffect); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/useWave.js @@ -60290,8 +60290,8 @@ var DisabledContext = __webpack_require__(1684); var useSize = __webpack_require__(19716); // 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/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/button/button-group.js "use client"; @@ -61461,8 +61461,8 @@ if (false) {} /* harmony default export */ var es_locale = (LocaleProvider); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/locale/en_US.js + 1 modules var en_US = __webpack_require__(31724); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/context.js + 10 modules -var context = __webpack_require__(45246); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/context.js +var context = __webpack_require__(81616); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js var seed = __webpack_require__(34117); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js @@ -61599,8 +61599,8 @@ function useTheme(theme, parentTheme) { } // EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.2@rc-motion/es/index.js + 13 modules var _rc_motion_2_9_2_rc_motion_es = __webpack_require__(16934); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/MotionWrapper.js "use client"; @@ -67519,39 +67519,68 @@ const roundedArrow = (width, innerRadius, outerRadius, bgColor, boxShadow) => { /***/ }), -/***/ 45246: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/theme/context.js + 10 modules ***! - \************************************************************************/ +/***/ 81616: +/*!***********************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/context.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Mj: function() { return /* binding */ DesignTokenContext; }, +/* harmony export */ uH: function() { return /* binding */ defaultTheme; }, +/* harmony export */ u_: function() { return /* binding */ defaultConfig; } +/* harmony export */ }); +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 18353); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _themes_default__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./themes/default */ 97224); +/* harmony import */ var _themes_seed__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./themes/seed */ 34117); + + + + +const defaultTheme = (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.createTheme)(_themes_default__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z); +// ================================ Context ================================= +// To ensure snapshot stable. We disable hashed in test env. +const defaultConfig = { + token: _themes_seed__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, + hashed: true +}; +const DesignTokenContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createContext(defaultConfig); + +/***/ }), + +/***/ 33166: +/*!**************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/interface/presetColors.js ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ i: function() { return /* binding */ PresetColors; } +/* harmony export */ }); +const PresetColors = ['blue', 'purple', 'cyan', 'green', 'magenta', 'pink', 'red', 'orange', 'yellow', 'volcano', 'geekblue', 'lime', 'gold']; + +/***/ }), + +/***/ 97224: +/*!************************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/index.js + 5 modules ***! + \************************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { - Mj: function() { return /* binding */ DesignTokenContext; }, - u_: function() { return /* binding */ defaultConfig; }, - uH: function() { return /* binding */ defaultTheme; } + Z: function() { return /* binding */ derivative; } }); -// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.21.0@@ant-design/cssinjs/es/index.js + 39 modules -var es = __webpack_require__(18353); -// 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_colors@7.1.0@@ant-design/colors/es/index.js + 2 modules -var colors_es = __webpack_require__(88453); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genControlHeight.js -const genControlHeight = token => { - const { - controlHeight - } = token; - return { - controlHeightSM: controlHeight * 0.75, - controlHeightXS: controlHeight * 0.5, - controlHeightLG: controlHeight * 1.25 - }; -}; -/* harmony default export */ var shared_genControlHeight = (genControlHeight); +var es = __webpack_require__(88453); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genControlHeight.js +var genControlHeight = __webpack_require__(34362); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genSizeMapToken.js function genSizeMapToken(token) { const { @@ -67572,91 +67601,8 @@ function genSizeMapToken(token) { } // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js var seed = __webpack_require__(34117); -// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js -var dist_module = __webpack_require__(64993); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genColorMapToken.js - -function genColorMapToken(seed, _ref) { - let { - generateColorPalettes, - generateNeutralColorPalettes - } = _ref; - const { - colorSuccess: colorSuccessBase, - colorWarning: colorWarningBase, - colorError: colorErrorBase, - colorInfo: colorInfoBase, - colorPrimary: colorPrimaryBase, - colorBgBase, - colorTextBase - } = seed; - const primaryColors = generateColorPalettes(colorPrimaryBase); - const successColors = generateColorPalettes(colorSuccessBase); - const warningColors = generateColorPalettes(colorWarningBase); - const errorColors = generateColorPalettes(colorErrorBase); - const infoColors = generateColorPalettes(colorInfoBase); - const neutralColors = generateNeutralColorPalettes(colorBgBase, colorTextBase); - // Color Link - const colorLink = seed.colorLink || seed.colorInfo; - const linkColors = generateColorPalettes(colorLink); - return Object.assign(Object.assign({}, neutralColors), { - colorPrimaryBg: primaryColors[1], - colorPrimaryBgHover: primaryColors[2], - colorPrimaryBorder: primaryColors[3], - colorPrimaryBorderHover: primaryColors[4], - colorPrimaryHover: primaryColors[5], - colorPrimary: primaryColors[6], - colorPrimaryActive: primaryColors[7], - colorPrimaryTextHover: primaryColors[8], - colorPrimaryText: primaryColors[9], - colorPrimaryTextActive: primaryColors[10], - colorSuccessBg: successColors[1], - colorSuccessBgHover: successColors[2], - colorSuccessBorder: successColors[3], - colorSuccessBorderHover: successColors[4], - colorSuccessHover: successColors[4], - colorSuccess: successColors[6], - colorSuccessActive: successColors[7], - colorSuccessTextHover: successColors[8], - colorSuccessText: successColors[9], - colorSuccessTextActive: successColors[10], - colorErrorBg: errorColors[1], - colorErrorBgHover: errorColors[2], - colorErrorBorder: errorColors[3], - colorErrorBorderHover: errorColors[4], - colorErrorHover: errorColors[5], - colorError: errorColors[6], - colorErrorActive: errorColors[7], - colorErrorTextHover: errorColors[8], - colorErrorText: errorColors[9], - colorErrorTextActive: errorColors[10], - colorWarningBg: warningColors[1], - colorWarningBgHover: warningColors[2], - colorWarningBorder: warningColors[3], - colorWarningBorderHover: warningColors[4], - colorWarningHover: warningColors[4], - colorWarning: warningColors[6], - colorWarningActive: warningColors[7], - colorWarningTextHover: warningColors[8], - colorWarningText: warningColors[9], - colorWarningTextActive: warningColors[10], - colorInfoBg: infoColors[1], - colorInfoBgHover: infoColors[2], - colorInfoBorder: infoColors[3], - colorInfoBorderHover: infoColors[4], - colorInfoHover: infoColors[4], - colorInfo: infoColors[6], - colorInfoActive: infoColors[7], - colorInfoTextHover: infoColors[8], - colorInfoText: infoColors[9], - colorInfoTextActive: infoColors[10], - colorLinkHover: linkColors[4], - colorLink: linkColors[6], - colorLinkActive: linkColors[7], - colorBgMask: new dist_module/* TinyColor */.C('#000').setAlpha(0.45).toRgbString(), - colorWhite: '#fff' - }); -} +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genColorMapToken.js +var genColorMapToken = __webpack_require__(15397); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genRadius.js const genRadius = radiusBase => { let radiusLG = radiusBase; @@ -67722,6 +67668,8 @@ function genCommonMapToken(token) { lineWidthBold: lineWidth + 1 }, shared_genRadius(borderRadius)); } +// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js +var dist_module = __webpack_require__(64993); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/colorAlgorithm.js const getAlphaColor = (baseColor, alpha) => new dist_module/* TinyColor */.C(baseColor).setAlpha(alpha).toRgbString(); @@ -67733,7 +67681,7 @@ const getSolidColor = (baseColor, brightness) => { const generateColorPalettes = baseColor => { - const colors = (0,colors_es.generate)(baseColor); + const colors = (0,es.generate)(baseColor); return { 1: colors[0], 2: colors[1], @@ -67773,52 +67721,8 @@ const generateNeutralColorPalettes = (bgBaseColor, textBaseColor) => { colorBorderSecondary: getSolidColor(colorBgBase, 6) }; }; -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontSizes.js -// https://zhuanlan.zhihu.com/p/32746810 -function getFontSizes(base) { - const fontSizes = new Array(10).fill(null).map((_, index) => { - const i = index - 1; - const baseSize = base * Math.pow(2.71828, i / 5); - const intSize = index > 1 ? Math.floor(baseSize) : Math.ceil(baseSize); - // Convert to even - return Math.floor(intSize / 2) * 2; - }); - fontSizes[1] = base; - return fontSizes.map(size => { - const height = size + 8; - return { - size, - lineHeight: height / size - }; - }); -} -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js - -const genFontMapToken = fontSize => { - const fontSizePairs = getFontSizes(fontSize); - const fontSizes = fontSizePairs.map(pair => pair.size); - const lineHeights = fontSizePairs.map(pair => pair.lineHeight); - return { - fontSizeSM: fontSizes[0], - fontSize: fontSizes[1], - fontSizeLG: fontSizes[2], - fontSizeXL: fontSizes[3], - fontSizeHeading1: fontSizes[6], - fontSizeHeading2: fontSizes[5], - fontSizeHeading3: fontSizes[4], - fontSizeHeading4: fontSizes[3], - fontSizeHeading5: fontSizes[2], - lineHeight: lineHeights[1], - lineHeightLG: lineHeights[2], - lineHeightSM: lineHeights[0], - lineHeightHeading1: lineHeights[6], - lineHeightHeading2: lineHeights[5], - lineHeightHeading3: lineHeights[4], - lineHeightHeading4: lineHeights[3], - lineHeightHeading5: lineHeights[2] - }; -}; -/* harmony default export */ var shared_genFontMapToken = (genFontMapToken); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js + 1 modules +var genFontMapToken = __webpack_require__(82838); ;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/default/index.js @@ -67830,7 +67734,7 @@ const genFontMapToken = fontSize => { function derivative(token) { const colorPalettes = Object.keys(seed/* defaultPresetColors */.M).map(colorKey => { - const colors = (0,colors_es.generate)(token[colorKey]); + const colors = (0,es.generate)(token[colorKey]); return new Array(10).fill(1).reduce((prev, _, i) => { prev[`${colorKey}-${i + 1}`] = colors[i]; prev[`${colorKey}${i + 1}`] = colors[i]; @@ -67840,38 +67744,11 @@ function derivative(token) { prev = Object.assign(Object.assign({}, prev), cur); return prev; }, {}); - return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, token), colorPalettes), genColorMapToken(token, { + return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, token), colorPalettes), (0,genColorMapToken/* default */.Z)(token, { generateColorPalettes: generateColorPalettes, generateNeutralColorPalettes: generateNeutralColorPalettes - })), shared_genFontMapToken(token.fontSize)), genSizeMapToken(token)), shared_genControlHeight(token)), genCommonMapToken(token)); + })), (0,genFontMapToken/* default */.Z)(token.fontSize)), genSizeMapToken(token)), (0,genControlHeight/* default */.Z)(token)), genCommonMapToken(token)); } -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/context.js - - - - -const defaultTheme = (0,es.createTheme)(derivative); -// ================================ Context ================================= -// To ensure snapshot stable. We disable hashed in test env. -const defaultConfig = { - token: seed/* default */.Z, - hashed: true -}; -const DesignTokenContext = /*#__PURE__*/_react_17_0_2_react.createContext(defaultConfig); - -/***/ }), - -/***/ 33166: -/*!**************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/theme/interface/presetColors.js ***! - \**************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ i: function() { return /* binding */ PresetColors; } -/* harmony export */ }); -const PresetColors = ['blue', 'purple', 'cyan', 'green', 'magenta', 'pink', 'red', 'orange', 'yellow', 'volcano', 'geekblue', 'lime', 'gold']; /***/ }), @@ -67952,262 +67829,203 @@ const seedToken = Object.assign(Object.assign({}, defaultPresetColors), { /***/ }), -/***/ 88088: -/*!************************************************************************!*\ - !*** ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules ***! - \************************************************************************/ +/***/ 15397: +/*!**********************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genColorMapToken.js ***! + \**********************************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { "use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ genColorMapToken; } +/* harmony export */ }); +/* harmony import */ var _ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ctrl/tinycolor */ 64993); -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ useToken; } -}); - -// UNUSED EXPORTS: getComputedToken - -// EXTERNAL MODULE: ./node_modules/_@ant-design_cssinjs@1.21.0@@ant-design/cssinjs/es/index.js + 39 modules -var es = __webpack_require__(18353); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/version/version.js -/* harmony default export */ var version = ('5.9.0'); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/version/index.js -"use client"; +function genColorMapToken(seed, _ref) { + let { + generateColorPalettes, + generateNeutralColorPalettes + } = _ref; + const { + colorSuccess: colorSuccessBase, + colorWarning: colorWarningBase, + colorError: colorErrorBase, + colorInfo: colorInfoBase, + colorPrimary: colorPrimaryBase, + colorBgBase, + colorTextBase + } = seed; + const primaryColors = generateColorPalettes(colorPrimaryBase); + const successColors = generateColorPalettes(colorSuccessBase); + const warningColors = generateColorPalettes(colorWarningBase); + const errorColors = generateColorPalettes(colorErrorBase); + const infoColors = generateColorPalettes(colorInfoBase); + const neutralColors = generateNeutralColorPalettes(colorBgBase, colorTextBase); + // Color Link + const colorLink = seed.colorLink || seed.colorInfo; + const linkColors = generateColorPalettes(colorLink); + return Object.assign(Object.assign({}, neutralColors), { + colorPrimaryBg: primaryColors[1], + colorPrimaryBgHover: primaryColors[2], + colorPrimaryBorder: primaryColors[3], + colorPrimaryBorderHover: primaryColors[4], + colorPrimaryHover: primaryColors[5], + colorPrimary: primaryColors[6], + colorPrimaryActive: primaryColors[7], + colorPrimaryTextHover: primaryColors[8], + colorPrimaryText: primaryColors[9], + colorPrimaryTextActive: primaryColors[10], + colorSuccessBg: successColors[1], + colorSuccessBgHover: successColors[2], + colorSuccessBorder: successColors[3], + colorSuccessBorderHover: successColors[4], + colorSuccessHover: successColors[4], + colorSuccess: successColors[6], + colorSuccessActive: successColors[7], + colorSuccessTextHover: successColors[8], + colorSuccessText: successColors[9], + colorSuccessTextActive: successColors[10], + colorErrorBg: errorColors[1], + colorErrorBgHover: errorColors[2], + colorErrorBorder: errorColors[3], + colorErrorBorderHover: errorColors[4], + colorErrorHover: errorColors[5], + colorError: errorColors[6], + colorErrorActive: errorColors[7], + colorErrorTextHover: errorColors[8], + colorErrorText: errorColors[9], + colorErrorTextActive: errorColors[10], + colorWarningBg: warningColors[1], + colorWarningBgHover: warningColors[2], + colorWarningBorder: warningColors[3], + colorWarningBorderHover: warningColors[4], + colorWarningHover: warningColors[4], + colorWarning: warningColors[6], + colorWarningActive: warningColors[7], + colorWarningTextHover: warningColors[8], + colorWarningText: warningColors[9], + colorWarningTextActive: warningColors[10], + colorInfoBg: infoColors[1], + colorInfoBgHover: infoColors[2], + colorInfoBorder: infoColors[3], + colorInfoBorderHover: infoColors[4], + colorInfoHover: infoColors[4], + colorInfo: infoColors[6], + colorInfoActive: infoColors[7], + colorInfoTextHover: infoColors[8], + colorInfoText: infoColors[9], + colorInfoTextActive: infoColors[10], + colorLinkHover: linkColors[4], + colorLink: linkColors[6], + colorLinkActive: linkColors[7], + colorBgMask: new _ctrl_tinycolor__WEBPACK_IMPORTED_MODULE_0__/* .TinyColor */ .C('#000').setAlpha(0.45).toRgbString(), + colorWhite: '#fff' + }); +} -/* eslint import/no-unresolved: 0 */ -// @ts-ignore +/***/ }), -/* harmony default export */ var es_version = (version); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/context.js + 10 modules -var context = __webpack_require__(45246); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js -var seed = __webpack_require__(34117); -// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js -var dist_module = __webpack_require__(64993); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/getAlphaColor.js +/***/ 34362: +/*!**********************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genControlHeight.js ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { -function isStableColor(color) { - return color >= 0 && color <= 255; -} -function getAlphaColor(frontColor, backgroundColor) { - const { - r: fR, - g: fG, - b: fB, - a: originAlpha - } = new dist_module/* TinyColor */.C(frontColor).toRgb(); - if (originAlpha < 1) { - return frontColor; - } +"use strict"; +const genControlHeight = token => { const { - r: bR, - g: bG, - b: bB - } = new dist_module/* TinyColor */.C(backgroundColor).toRgb(); - for (let fA = 0.01; fA <= 1; fA += 0.01) { - const r = Math.round((fR - bR * (1 - fA)) / fA); - const g = Math.round((fG - bG * (1 - fA)) / fA); - const b = Math.round((fB - bB * (1 - fA)) / fA); - if (isStableColor(r) && isStableColor(g) && isStableColor(b)) { - return new dist_module/* TinyColor */.C({ - r, - g, - b, - a: Math.round(fA * 100) / 100 - }).toRgbString(); - } - } - // fallback - /* istanbul ignore next */ - return new dist_module/* TinyColor */.C({ - r: fR, - g: fG, - b: fB, - a: 1 - }).toRgbString(); -} -/* harmony default export */ var util_getAlphaColor = (getAlphaColor); -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/alias.js -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; + controlHeight + } = token; + return { + controlHeightSM: controlHeight * 0.75, + controlHeightXS: controlHeight * 0.5, + controlHeightLG: controlHeight * 1.25 + }; }; +/* harmony default export */ __webpack_exports__.Z = (genControlHeight); + +/***/ }), + +/***/ 82838: +/*!*********************************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js + 1 modules ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { +"use strict"; +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ shared_genFontMapToken; } +}); -/** - * Seed (designer) > Derivative (designer) > Alias (developer). - * - * Merge seed & derivative & override token and generate alias token for developer. - */ -function formatToken(derivativeToken) { - const { - override - } = derivativeToken, - restToken = __rest(derivativeToken, ["override"]); - const overrideTokens = Object.assign({}, override); - Object.keys(seed/* default */.Z).forEach(token => { - delete overrideTokens[token]; +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontSizes.js +// https://zhuanlan.zhihu.com/p/32746810 +function getFontSizes(base) { + const fontSizes = new Array(10).fill(null).map((_, index) => { + const i = index - 1; + const baseSize = base * Math.pow(2.71828, i / 5); + const intSize = index > 1 ? Math.floor(baseSize) : Math.ceil(baseSize); + // Convert to even + return Math.floor(intSize / 2) * 2; + }); + fontSizes[1] = base; + return fontSizes.map(size => { + const height = size + 8; + return { + size, + lineHeight: height / size + }; }); - const mergedToken = Object.assign(Object.assign({}, restToken), overrideTokens); - const screenXS = 480; - const screenSM = 576; - const screenMD = 768; - const screenLG = 992; - const screenXL = 1200; - const screenXXL = 1600; - // Motion - if (mergedToken.motion === false) { - const fastDuration = '0s'; - mergedToken.motionDurationFast = fastDuration; - mergedToken.motionDurationMid = fastDuration; - mergedToken.motionDurationSlow = fastDuration; - } - // Generate alias token - const aliasToken = Object.assign(Object.assign(Object.assign({}, mergedToken), { - // ============== Background ============== // - colorFillContent: mergedToken.colorFillSecondary, - colorFillContentHover: mergedToken.colorFill, - colorFillAlter: mergedToken.colorFillQuaternary, - colorBgContainerDisabled: mergedToken.colorFillTertiary, - // ============== Split ============== // - colorBorderBg: mergedToken.colorBgContainer, - colorSplit: util_getAlphaColor(mergedToken.colorBorderSecondary, mergedToken.colorBgContainer), - // ============== Text ============== // - colorTextPlaceholder: mergedToken.colorTextQuaternary, - colorTextDisabled: mergedToken.colorTextQuaternary, - colorTextHeading: mergedToken.colorText, - colorTextLabel: mergedToken.colorTextSecondary, - colorTextDescription: mergedToken.colorTextTertiary, - colorTextLightSolid: mergedToken.colorWhite, - colorHighlight: mergedToken.colorError, - colorBgTextHover: mergedToken.colorFillSecondary, - colorBgTextActive: mergedToken.colorFill, - colorIcon: mergedToken.colorTextTertiary, - colorIconHover: mergedToken.colorText, - colorErrorOutline: util_getAlphaColor(mergedToken.colorErrorBg, mergedToken.colorBgContainer), - colorWarningOutline: util_getAlphaColor(mergedToken.colorWarningBg, mergedToken.colorBgContainer), - // Font - fontSizeIcon: mergedToken.fontSizeSM, - // Line - lineWidthFocus: mergedToken.lineWidth * 4, - // Control - lineWidth: mergedToken.lineWidth, - controlOutlineWidth: mergedToken.lineWidth * 2, - // Checkbox size and expand icon size - controlInteractiveSize: mergedToken.controlHeight / 2, - controlItemBgHover: mergedToken.colorFillTertiary, - controlItemBgActive: mergedToken.colorPrimaryBg, - controlItemBgActiveHover: mergedToken.colorPrimaryBgHover, - controlItemBgActiveDisabled: mergedToken.colorFill, - controlTmpOutline: mergedToken.colorFillQuaternary, - controlOutline: util_getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer), - lineType: mergedToken.lineType, - borderRadius: mergedToken.borderRadius, - borderRadiusXS: mergedToken.borderRadiusXS, - borderRadiusSM: mergedToken.borderRadiusSM, - borderRadiusLG: mergedToken.borderRadiusLG, - fontWeightStrong: 600, - opacityLoading: 0.65, - linkDecoration: 'none', - linkHoverDecoration: 'none', - linkFocusDecoration: 'none', - controlPaddingHorizontal: 12, - controlPaddingHorizontalSM: 8, - paddingXXS: mergedToken.sizeXXS, - paddingXS: mergedToken.sizeXS, - paddingSM: mergedToken.sizeSM, - padding: mergedToken.size, - paddingMD: mergedToken.sizeMD, - paddingLG: mergedToken.sizeLG, - paddingXL: mergedToken.sizeXL, - paddingContentHorizontalLG: mergedToken.sizeLG, - paddingContentVerticalLG: mergedToken.sizeMS, - paddingContentHorizontal: mergedToken.sizeMS, - paddingContentVertical: mergedToken.sizeSM, - paddingContentHorizontalSM: mergedToken.size, - paddingContentVerticalSM: mergedToken.sizeXS, - marginXXS: mergedToken.sizeXXS, - marginXS: mergedToken.sizeXS, - marginSM: mergedToken.sizeSM, - margin: mergedToken.size, - marginMD: mergedToken.sizeMD, - marginLG: mergedToken.sizeLG, - marginXL: mergedToken.sizeXL, - marginXXL: mergedToken.sizeXXL, - boxShadow: ` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `, - boxShadowSecondary: ` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `, - boxShadowTertiary: ` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `, - screenXS, - screenXSMin: screenXS, - screenXSMax: screenSM - 1, - screenSM, - screenSMMin: screenSM, - screenSMMax: screenMD - 1, - screenMD, - screenMDMin: screenMD, - screenMDMax: screenLG - 1, - screenLG, - screenLGMin: screenLG, - screenLGMax: screenXL - 1, - screenXL, - screenXLMin: screenXL, - screenXLMax: screenXXL - 1, - screenXXL, - screenXXLMin: screenXXL, - boxShadowPopoverArrow: '2px 2px 5px rgba(0, 0, 0, 0.05)', - boxShadowCard: ` - 0 1px 2px -2px ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.16)').toRgbString()}, - 0 3px 6px 0 ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.12)').toRgbString()}, - 0 5px 12px 4px ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.09)').toRgbString()} - `, - boxShadowDrawerRight: ` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `, - boxShadowDrawerLeft: ` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `, - boxShadowDrawerUp: ` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `, - boxShadowDrawerDown: ` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `, - boxShadowTabsOverflowLeft: 'inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)', - boxShadowTabsOverflowRight: 'inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)', - boxShadowTabsOverflowTop: 'inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)', - boxShadowTabsOverflowBottom: 'inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)' - }), overrideTokens); - return aliasToken; } -;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js -var useToken_rest = undefined && undefined.__rest || function (s, e) { +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/shared/genFontMapToken.js + +const genFontMapToken = fontSize => { + const fontSizePairs = getFontSizes(fontSize); + const fontSizes = fontSizePairs.map(pair => pair.size); + const lineHeights = fontSizePairs.map(pair => pair.lineHeight); + return { + fontSizeSM: fontSizes[0], + fontSize: fontSizes[1], + fontSizeLG: fontSizes[2], + fontSizeXL: fontSizes[3], + fontSizeHeading1: fontSizes[6], + fontSizeHeading2: fontSizes[5], + fontSizeHeading3: fontSizes[4], + fontSizeHeading4: fontSizes[3], + fontSizeHeading5: fontSizes[2], + lineHeight: lineHeights[1], + lineHeightLG: lineHeights[2], + lineHeightSM: lineHeights[0], + lineHeightHeading1: lineHeights[6], + lineHeightHeading2: lineHeights[5], + lineHeightHeading3: lineHeights[4], + lineHeightHeading4: lineHeights[3], + lineHeightHeading5: lineHeights[2] + }; +}; +/* harmony default export */ var shared_genFontMapToken = (genFontMapToken); + +/***/ }), + +/***/ 70305: +/*!************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Z: function() { return /* binding */ useToken; } +/* harmony export */ }); +/* unused harmony export getComputedToken */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 18353); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 59301); +/* harmony import */ var _version__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../version */ 8680); +/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./context */ 81616); +/* harmony import */ var _themes_seed__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./themes/seed */ 34117); +/* harmony import */ var _util_alias__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/alias */ 44023); +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++) { @@ -68226,20 +68044,20 @@ const getComputedToken = (originToken, overrideToken, theme) => { const { override } = overrideToken, - components = useToken_rest(overrideToken, ["override"]); + components = __rest(overrideToken, ["override"]); // Merge with override let mergedDerivativeToken = Object.assign(Object.assign({}, derivativeToken), { override }); // Format if needed - mergedDerivativeToken = formatToken(mergedDerivativeToken); + mergedDerivativeToken = (0,_util_alias__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(mergedDerivativeToken); if (components) { Object.entries(components).forEach(_ref => { let [key, value] = _ref; const { theme: componentTheme } = value, - componentTokens = useToken_rest(value, ["theme"]); + componentTokens = __rest(value, ["theme"]); let mergedComponentToken = componentTokens; if (componentTheme) { mergedComponentToken = getComputedToken(Object.assign(Object.assign({}, mergedDerivativeToken), componentTokens), { @@ -68258,10 +68076,10 @@ function useToken() { hashed, theme, components - } = _react_17_0_2_react.useContext(context/* DesignTokenContext */.Mj); - const salt = `${es_version}-${hashed || ''}`; - const mergedTheme = theme || context/* defaultTheme */.uH; - const [token, hashId] = (0,es.useCacheToken)(mergedTheme, [seed/* default */.Z, rootDesignToken], { + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_context__WEBPACK_IMPORTED_MODULE_3__/* .DesignTokenContext */ .Mj); + const salt = `${_version__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z}-${hashed || ''}`; + const mergedTheme = theme || _context__WEBPACK_IMPORTED_MODULE_3__/* .defaultTheme */ .uH; + const [token, hashId] = (0,_ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.useCacheToken)(mergedTheme, [_themes_seed__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, rootDesignToken], { salt, override: Object.assign({ override: rootDesignToken @@ -68269,13 +68087,253 @@ function useToken() { getComputedToken, // formatToken will not be consumed after 1.15.0 with getComputedToken. // But token will break if @ant-design/cssinjs is under 1.15.0 without it - formatToken: formatToken + formatToken: _util_alias__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z }); return [mergedTheme, token, hashed ? hashId : '']; } /***/ }), +/***/ 44023: +/*!**************************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/alias.js + 1 modules ***! + \**************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ formatToken; } +}); + +// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js +var dist_module = __webpack_require__(64993); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/themes/seed.js +var seed = __webpack_require__(34117); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/getAlphaColor.js + +function isStableColor(color) { + return color >= 0 && color <= 255; +} +function getAlphaColor(frontColor, backgroundColor) { + const { + r: fR, + g: fG, + b: fB, + a: originAlpha + } = new dist_module/* TinyColor */.C(frontColor).toRgb(); + if (originAlpha < 1) { + return frontColor; + } + const { + r: bR, + g: bG, + b: bB + } = new dist_module/* TinyColor */.C(backgroundColor).toRgb(); + for (let fA = 0.01; fA <= 1; fA += 0.01) { + const r = Math.round((fR - bR * (1 - fA)) / fA); + const g = Math.round((fG - bG * (1 - fA)) / fA); + const b = Math.round((fB - bB * (1 - fA)) / fA); + if (isStableColor(r) && isStableColor(g) && isStableColor(b)) { + return new dist_module/* TinyColor */.C({ + r, + g, + b, + a: Math.round(fA * 100) / 100 + }).toRgbString(); + } + } + // fallback + /* istanbul ignore next */ + return new dist_module/* TinyColor */.C({ + r: fR, + g: fG, + b: fB, + a: 1 + }).toRgbString(); +} +/* harmony default export */ var util_getAlphaColor = (getAlphaColor); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/alias.js +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; +}; + + + +/** + * Seed (designer) > Derivative (designer) > Alias (developer). + * + * Merge seed & derivative & override token and generate alias token for developer. + */ +function formatToken(derivativeToken) { + const { + override + } = derivativeToken, + restToken = __rest(derivativeToken, ["override"]); + const overrideTokens = Object.assign({}, override); + Object.keys(seed/* default */.Z).forEach(token => { + delete overrideTokens[token]; + }); + const mergedToken = Object.assign(Object.assign({}, restToken), overrideTokens); + const screenXS = 480; + const screenSM = 576; + const screenMD = 768; + const screenLG = 992; + const screenXL = 1200; + const screenXXL = 1600; + // Motion + if (mergedToken.motion === false) { + const fastDuration = '0s'; + mergedToken.motionDurationFast = fastDuration; + mergedToken.motionDurationMid = fastDuration; + mergedToken.motionDurationSlow = fastDuration; + } + // Generate alias token + const aliasToken = Object.assign(Object.assign(Object.assign({}, mergedToken), { + // ============== Background ============== // + colorFillContent: mergedToken.colorFillSecondary, + colorFillContentHover: mergedToken.colorFill, + colorFillAlter: mergedToken.colorFillQuaternary, + colorBgContainerDisabled: mergedToken.colorFillTertiary, + // ============== Split ============== // + colorBorderBg: mergedToken.colorBgContainer, + colorSplit: util_getAlphaColor(mergedToken.colorBorderSecondary, mergedToken.colorBgContainer), + // ============== Text ============== // + colorTextPlaceholder: mergedToken.colorTextQuaternary, + colorTextDisabled: mergedToken.colorTextQuaternary, + colorTextHeading: mergedToken.colorText, + colorTextLabel: mergedToken.colorTextSecondary, + colorTextDescription: mergedToken.colorTextTertiary, + colorTextLightSolid: mergedToken.colorWhite, + colorHighlight: mergedToken.colorError, + colorBgTextHover: mergedToken.colorFillSecondary, + colorBgTextActive: mergedToken.colorFill, + colorIcon: mergedToken.colorTextTertiary, + colorIconHover: mergedToken.colorText, + colorErrorOutline: util_getAlphaColor(mergedToken.colorErrorBg, mergedToken.colorBgContainer), + colorWarningOutline: util_getAlphaColor(mergedToken.colorWarningBg, mergedToken.colorBgContainer), + // Font + fontSizeIcon: mergedToken.fontSizeSM, + // Line + lineWidthFocus: mergedToken.lineWidth * 4, + // Control + lineWidth: mergedToken.lineWidth, + controlOutlineWidth: mergedToken.lineWidth * 2, + // Checkbox size and expand icon size + controlInteractiveSize: mergedToken.controlHeight / 2, + controlItemBgHover: mergedToken.colorFillTertiary, + controlItemBgActive: mergedToken.colorPrimaryBg, + controlItemBgActiveHover: mergedToken.colorPrimaryBgHover, + controlItemBgActiveDisabled: mergedToken.colorFill, + controlTmpOutline: mergedToken.colorFillQuaternary, + controlOutline: util_getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer), + lineType: mergedToken.lineType, + borderRadius: mergedToken.borderRadius, + borderRadiusXS: mergedToken.borderRadiusXS, + borderRadiusSM: mergedToken.borderRadiusSM, + borderRadiusLG: mergedToken.borderRadiusLG, + fontWeightStrong: 600, + opacityLoading: 0.65, + linkDecoration: 'none', + linkHoverDecoration: 'none', + linkFocusDecoration: 'none', + controlPaddingHorizontal: 12, + controlPaddingHorizontalSM: 8, + paddingXXS: mergedToken.sizeXXS, + paddingXS: mergedToken.sizeXS, + paddingSM: mergedToken.sizeSM, + padding: mergedToken.size, + paddingMD: mergedToken.sizeMD, + paddingLG: mergedToken.sizeLG, + paddingXL: mergedToken.sizeXL, + paddingContentHorizontalLG: mergedToken.sizeLG, + paddingContentVerticalLG: mergedToken.sizeMS, + paddingContentHorizontal: mergedToken.sizeMS, + paddingContentVertical: mergedToken.sizeSM, + paddingContentHorizontalSM: mergedToken.size, + paddingContentVerticalSM: mergedToken.sizeXS, + marginXXS: mergedToken.sizeXXS, + marginXS: mergedToken.sizeXS, + marginSM: mergedToken.sizeSM, + margin: mergedToken.size, + marginMD: mergedToken.sizeMD, + marginLG: mergedToken.sizeLG, + marginXL: mergedToken.sizeXL, + marginXXL: mergedToken.sizeXXL, + boxShadow: ` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `, + boxShadowSecondary: ` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `, + boxShadowTertiary: ` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `, + screenXS, + screenXSMin: screenXS, + screenXSMax: screenSM - 1, + screenSM, + screenSMMin: screenSM, + screenSMMax: screenMD - 1, + screenMD, + screenMDMin: screenMD, + screenMDMax: screenLG - 1, + screenLG, + screenLGMin: screenLG, + screenLGMax: screenXL - 1, + screenXL, + screenXLMin: screenXL, + screenXLMax: screenXXL - 1, + screenXXL, + screenXXLMin: screenXXL, + boxShadowPopoverArrow: '2px 2px 5px rgba(0, 0, 0, 0.05)', + boxShadowCard: ` + 0 1px 2px -2px ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.16)').toRgbString()}, + 0 3px 6px 0 ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.12)').toRgbString()}, + 0 5px 12px 4px ${new dist_module/* TinyColor */.C('rgba(0, 0, 0, 0.09)').toRgbString()} + `, + boxShadowDrawerRight: ` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `, + boxShadowDrawerLeft: ` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `, + boxShadowDrawerUp: ` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `, + boxShadowDrawerDown: ` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `, + boxShadowTabsOverflowLeft: 'inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)', + boxShadowTabsOverflowRight: 'inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)', + boxShadowTabsOverflowTop: 'inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)', + boxShadowTabsOverflowBottom: 'inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)' + }), overrideTokens); + return aliasToken; +} + +/***/ }), + /***/ 83116: /*!******************************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js ***! @@ -68292,7 +68350,7 @@ function useToken() { /* harmony import */ var rc_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rc-util */ 83794); /* harmony import */ var _config_provider_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../config-provider/context */ 36355); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style */ 17313); -/* harmony import */ var _useToken__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useToken */ 88088); +/* harmony import */ var _useToken__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../useToken */ 70305); /* harmony import */ var _statistic__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./statistic */ 37613); /* harmony import */ var _useResetIconStyle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useResetIconStyle */ 73040); /* eslint-disable no-redeclare */ @@ -68517,7 +68575,7 @@ function statisticToken(token) { "use strict"; /* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 18353); /* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../style */ 17313); -/* harmony import */ var _useToken__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useToken */ 88088); +/* harmony import */ var _useToken__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../useToken */ 70305); @@ -68589,8 +68647,8 @@ var reactNode = __webpack_require__(92343); var context = __webpack_require__(36355); // 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/theme/useToken.js + 4 modules -var useToken = __webpack_require__(88088); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js +var useToken = __webpack_require__(70305); // 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/style/motion/zoom.js @@ -69011,6 +69069,31 @@ Tooltip._InternalPanelDoNotUseOrYouWillBeFired = tooltip_PurePanel; /***/ }), +/***/ 8680: +/*!***********************************************************************!*\ + !*** ./node_modules/_antd@5.9.0@antd/es/version/index.js + 1 modules ***! + \***********************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ es_version; } +}); + +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/version/version.js +/* harmony default export */ var version = ('5.9.0'); +;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/version/index.js +"use client"; + +/* eslint import/no-unresolved: 0 */ +// @ts-ignore + +/* harmony default export */ var es_version = (version); + +/***/ }), + /***/ 11575: /*!***************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/watermark/context.js ***! @@ -204766,7 +204849,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","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__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","7661":"p__Equipment__Scrap__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","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__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","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","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","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","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","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__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","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","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","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","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","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","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__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","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__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","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__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","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","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","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) + "." + {"76":"73ce46b5","292":"0fec1ac1","310":"b1dcc995","556":"64a4d001","598":"59a33c96","703":"cffec0f2","1190":"a9bb469c","1482":"a621aed6","1642":"4ed5af73","1660":"d23fab48","1702":"625f01f8","1889":"1d5d4be5","1911":"bd4a5d1e","1942":"ae5468fd","1996":"bc9ea088","2001":"e4ec48d9","2021":"422add5b","2249":"90399667","2360":"2f3cadfa","2494":"5e069ec9","2659":"3578f539","2819":"05907f36","2837":"b3a05bc1","2948":"e51d4375","3133":"6a9f7113","3317":"7bb33ec9","3391":"e583c966","3416":"8f71c399","3451":"b64ffed8","3509":"e79ac114","3585":"7005cc41","3885":"e66b03f8","3951":"2a5f99e8","4318":"f983708e","4685":"21279a05","4736":"820eb2c4","4766":"7b0c465a","4884":"392ae6f2","4973":"826395ea","5112":"bde9f011","5352":"24b55855","5427":"e93f11f5","5434":"361b868d","5572":"e7739700","6127":"00836321","6177":"902a419f","6378":"27c8142f","6540":"72fd24dc","6613":"8967e5a2","6685":"ec8499da","6758":"2edee73b","6788":"ee3ec6fa","7043":"910c4bbe","7125":"778066c4","7171":"bbb7dd0d","7202":"4cb4a4d8","7436":"0452397d","7661":"1ad95170","7852":"005435a7","7884":"0d71c20f","8331":"42cfdccf","8484":"9e6820bf","8787":"9b03ebc7","8976":"4db0abf7","8999":"46346034","9134":"682835bf","9357":"8d24905e","9416":"262f08d1","9526":"57604028","9610":"1a26b3ce","9928":"5856e32a","9951":"d5334df9","10195":"6e72595b","10354":"5c063e6f","10485":"bf545607","10737":"7fb785b6","10799":"6125e3fd","10828":"556c5a8e","10921":"b83ec424","10970":"bbed18c1","11070":"631b24b8","11130":"b753b2a0","11253":"c0dfddfa","11512":"cf9cf542","11520":"f172c88e","11525":"c679a85d","11545":"f2c09c69","11581":"4e99dd7d","12076":"94337b95","12102":"18be3515","12154":"982bfdb5","12297":"97d005be","12303":"e57aedcc","12386":"289c62c7","12409":"d5ce6ef6","12412":"0a75b07e","12476":"72922875","12550":"ecab659d","12632":"3a4a7d19","12865":"7c990931","12884":"5d84069d","12911":"f94aa754","13006":"f8f55313","13355":"44f06623","13439":"5e4b0bad","13488":"71f762e6","13581":"7afed93d","13715":"22f2113d","14058":"193a255c","14088":"c639825c","14105":"ebe01de8","14203":"bbc87f64","14227":"3f104546","14514":"dce4e4fd","14599":"2b668b85","14610":"e465441d","14662":"111ba09f","14666":"c872afc7","14889":"bd32026e","15148":"6ec6aaee","15186":"10334f71","15290":"7b3f25d8","15319":"43265c7b","15402":"b18d0574","15631":"d790a1bf","15845":"c8fe49ef","15864":"ad52a2d6","15989":"9dcd1570","16328":"4defd338","16365":"61c2dcf1","16434":"e8a0771c","16703":"0c405184","16729":"7a409ff8","16845":"d174227f","16932":"abb5c0a9","17482":"8a008a32","17527":"39a62670","17622":"06f88014","17685":"82c1b061","17806":"9469b062","18224":"222fd724","18241":"ed5612f5","18302":"668c57d6","18307":"f8747cb7","18350":"0ed0f7c3","18515":"1219e619","18682":"2fc6ec3e","18898":"25ad586a","18963":"33e3df18","19116":"23ca21ba","19124":"a64c6edf","19208":"85e01132","19215":"5c3cf0f3","19360":"bd5bc336","19519":"8ab63684","19652":"794d2805","19715":"b20bb422","19842":"481df3b8","19891":"208a51a2","20026":"40678152","20125":"5f374eed","20459":"917fabee","20511":"5ec6c0ae","20576":"c90e7824","20680":"071f3594","20700":"dfb449b0","20834":"49c334ce","21257":"c08273eb","21265":"e612d043","21423":"74bbccc4","21560":"9e6450c3","21578":"c3f72851","21939":"0eab7c13","22134":"a1d5462d","22254":"7ca54251","22307":"6437e752","22527":"84d408eb","22561":"853dcb80","22707":"75ad1067","22814":"a6f01218","22929":"d551e247","23276":"fcba2fd0","23332":"ea0c41b2","23363":"891e9327","23418":"249cb66d","24169":"126fd83a","24504":"95b91af7","24612":"7795abd4","24628":"b863dad4","24665":"1dbac6be","24797":"eb563316","25001":"9c57fa52","25022":"23b4c116","25156":"ab8ff5f7","25209":"6a7e566d","25470":"9e8859c7","25612":"3d71f9f7","25705":"f8ca44ce","25807":"66b6ed36","25972":"c6a1739c","26013":"04e4d63e","26084":"15f8d5cf","26126":"400f4fd5","26366":"97de7e2f","26685":"d1ebba72","26741":"4845ea97","26868":"befe31da","26883":"ca3f08b9","27178":"d42b3de1","27182":"6f2c12f3","27333":"5b0d2779","27395":"b7c28b18","27416":"8d49dabc","27495":"08c2df1d","27706":"c0d5e1ef","27739":"54d27078","28072":"7a7e6501","28089":"aaa88c03","28161":"00a22aad","28237":"617e6029","28435":"bc4a4c20","28561":"ec76d55e","28639":"c64b5f00","28723":"e27ec039","28782":"efc2ea94","28920":"842a9870","28982":"508f0fd2","29111":"4ee539a2","29183":"bb80bf02","29559":"cdc05f60","29601":"bf22bea1","29647":"01ed7306","29865":"7cc4335d","29895":"1fa85db5","29968":"5c930f27","30067":"10bfd14a","30264":"7c6a8821","30342":"85111537","30518":"63214eed","30736":"4b13885d","30741":"0afd7032","31006":"38ffa097","31078":"0f4f4c9d","31154":"abb4690e","31211":"170f9665","31427":"6649d2d5","31674":"4135585f","31892":"d80f70bc","31962":"50ac8314","32029":"c45f2375","32054":"2c7f5120","32497":"57b2388d","32507":"cf5cca8e","32531":"2a64a988","32826":"c151ad2b","33086":"8bf094e5","33356":"a9d9ec7c","33747":"8142d1b2","33784":"1ca3a1fd","33805":"a93fd24f","34093":"06bae91f","34601":"2909d6d2","34741":"dc26f41a","34790":"6eb90335","34800":"e4b8943a","34850":"daf624f2","34994":"7bbeca76","35060":"7530a2b3","35238":"76bb0486","35304":"1a4c4a7f","35354":"c0640e01","35380":"e1086c9a","35388":"5a22eae0","35416":"b4018e87","35729":"0e4c2273","35977":"e9b7233e","36029":"f51cc4cd","36270":"5da33e2d","36381":"1a315787","36634":"03daa006","36784":"0cb58fbe","37013":"301092bd","37062":"4569024c","37264":"23420a7c","37475":"86fdb940","37637":"8b6ab740","37775":"440395dc","37948":"a4fff0d7","38007":"c879e5aa","38119":"a9a5ce7a","38143":"5b12621c","38447":"29bf7d59","38603":"446baf12","38634":"7be905ca","38797":"813e2a46","39252":"01ffe0b6","39332":"97065f5a","39391":"fb9ce760","39404":"268b4232","39547":"09fcdcd3","39695":"3ccb54a3","39820":"65b62d9f","39950":"57e939c0","40139":"ad047d4e","40559":"80ed1482","40665":"f9ebd6cd","41048":"f323cb54","41657":"b487e1b4","41717":"a8a2c84c","41728":"c2930ffa","41920":"151c0d10","41953":"de62beb4","42159":"398ffa2b","42240":"cdb5b051","42441":"2b68ce27","42783":"d98d102c","43157":"29b1f278","43212":"9242df02","43316":"5dbdf28e","43363":"21b84303","43428":"f2d7e375","43442":"584874d3","43681":"9ee45a2e","43862":"c3b8ade1","43996":"f78d2366","44216":"16b0f888","44259":"7b7df7d7","44354":"4d10aca1","44360":"2fe17938","44449":"9a10a168","44565":"2dc7cc6c","45096":"3959d730","45159":"e66bfeba","45179":"6e57a9b9","45316":"7a811ad5","45359":"ae091aef","45413":"e271f3fc","45504":"9783c421","45650":"81e021db","45775":"9ba54813","45825":"a5d05020","45992":"f8dfce65","46022":"1c4c441c","46305":"acc79117","46573":"db7fbeee","46675":"786cdcf1","46796":"2cfc7e46","46949":"7dd2855d","46963":"d04a09ce","47353":"860a8287","47545":"d888e610","47686":"f38a5fc1","47778":"b904c0f1","47877":"55b18280","48077":"10bc9fc2","48289":"f2e260db","48431":"369d01ac","48474":"47557df1","48689":"16a65043","48776":"3ca5830e","49127":"29e640b6","49205":"396378bc","49260":"d82ab47f","49366":"56fe5910","49716":"4567fc09","49890":"b110bb20","50546":"5bca0e43","50566":"0a14c930","50812":"efaad19a","50869":"5e24c902","50928":"e80595ae","51144":"88d767c5","51276":"4a42c0ab","51461":"1cb5759d","51582":"38b3c332","51646":"a1e61a3a","51855":"0b57a22b","51945":"761eef2b","52330":"f6a31807","52338":"2819f457","52404":"0859f6c9","52485":"a4fd4c57","52687":"d8a0ac1b","52720":"3cb1e974","52806":"b36521b7","52829":"91c2dff8","52875":"5260c6ca","53114":"685610c8","53247":"62f21e86","53520":"74283cef","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"d54fa97c","54056":"b22fbcd1","54146":"7fb1382b","54164":"71ede70b","54492":"4f3ae7d6","54572":"5284121e","54770":"a7a71913","54862":"6c1f50d6","55186":"7b030647","55351":"b1b9a06c","55573":"8237acd9","55624":"effa87b7","55693":"4b714ff1","56047":"b4b0d1c6","56156":"829c1c59","56277":"fbd7f6b0","57045":"9534cfc7","57137":"7e50d7de","57365":"7e7804c5","57538":"f1492261","57560":"7a700230","57614":"b7153cad","57642":"87e4bd3c","57973":"b12145ed","57989":"58ec340a","58253":"20604031","58271":"04f27f83","58678":"7dc10a44","59133":"af3cc399","59142":"0f64b62b","59649":"ed6f83bf","59735":"7c376dfa","59788":"b9bfd16d","60479":"cd96c492","60503":"02c9eb79","60533":"b5a608f6","60547":"0f7f9098","61043":"8f7a3aa9","61075":"77de1798","61345":"3bd11e11","61713":"08f035c8","61727":"17e9a3e2","61870":"881f517e","61880":"f4d5d467","61996":"556132f8","62162":"6b11b285","62300":"71f16cba","62548":"a62543cd","62945":"927b34c0","62982":"43333eed","63157":"6d1c577d","63166":"ae476999","63198":"f92793e1","63409":"393d5c7c","64017":"0ed628b0","64144":"cb46668b","64217":"b9a01009","64385":"c52f5dc6","64422":"1ea2e9df","64496":"6f832bac","64520":"05f72b4a","64712":"d2009aba","64853":"c5cf5382","65022":"3a659dd5","65111":"5428f0ef","65148":"c0afb399","65191":"ac788a72","65549":"c4abc286","65816":"0f3bc117","65876":"a2754c64","66034":"e3527b19","66063":"bcbe251e","66116":"e459b2d4","66531":"61e7ed13","66583":"655b3c7b","66651":"2d473ec7","66999":"b5775470","67156":"918b4bca","67242":"5b7dee6e","67440":"a78e2260","67878":"f1bfc188","68014":"d841055b","68352":"6245ee26","68665":"10299eb5","68778":"b8f890e1","68827":"f9729eff","68842":"19057860","68882":"7d182044","68992":"31f0857e","69681":"d1c16099","69822":"3e51580e","69828":"64b3a1cd","69922":"6557fb39","69944":"5e190d68","70130":"081f734a","70199":"ef7cd0a0","70671":"749b4875","70928":"34851311","70981":"157d0b6b","71409":"7007f883","71448":"642cc6ee","71450":"5a48c811","71525":"2da71703","71771":"27312a8e","71783":"055dd1cc","72011":"7efe6dda","72409":"9efee230","72439":"24021ed7","72529":"d32a796a","72539":"960e4f90","72570":"1a25f09b","72772":"7e278b32","72911":"403ffc52","72969":"53256e8c","73183":"83362486","73220":"286761ee","73755":"68201bce","73793":"7a987ea9","73813":"9f6b8f2b","74014":"5339ac81","74264":"16a8fc15","74297":"aaeee27c","74347":"a722ba6c","74795":"b7e2cad6","75043":"8665c0a3","75321":"9b9a5dc1","75357":"05d5527a","75624":"b3c1aa3c","75786":"49a827f8","75816":"e45c9dd6","76134":"c3c6c4e2","76411":"fcdc22c1","76550":"bfdc0b7a","76626":"e81e842c","76904":"34f96bc1","77084":"5fe882f0","77248":"1f61fdde","77351":"487141dd","77460":"998e6340","77857":"c9aaa8f3","78030":"5dd111a9","78085":"f920c1b8","78241":"13c405e3","78302":"2f657c59","78737":"fa31da0e","78782":"fc5376ff","79489":"662c8689","79503":"adfdd5e0","79590":"5cb7f3ad","79693":"41644bf1","79817":"28c0d337","79921":"5bdde2b6","80182":"1f0b80e3","80198":"0a315a18","80347":"64feee3a","80508":"63e19aea","80629":"ca49ee59","80807":"022e56d3","81148":"9d194884","81326":"32e6a0e9","81409":"e3305c3b","81776":"ec2c4ed8","81799":"dea01115","82082":"bc411612","82093":"2586ec22","82339":"504da1ba","82425":"e3c9150a","82443":"9770a302","82709":"1bda5e08","83105":"be6453fc","83141":"60b6e81d","83212":"be86a7e9","83552":"f7bdb53d","83935":"0a7973f1","84029":"14b9dc8d","84314":"a01f201e","84546":"da0a0c2b","84567":"f8df7319","85048":"b1f357ad","85111":"bd2ef813","85297":"58ddad63","85494":"da5840b1","85764":"5c1c73b5","85831":"2684e2b6","85888":"79fb68a9","85891":"cd350ffc","86045":"0a358cbb","86052":"e8708daf","86129":"801a9880","86132":"39765850","86411":"cbb4aeee","86452":"7a614ac2","86541":"52f76773","86634":"f0188afc","86774":"2db1d78d","86820":"d0ed7f4a","86859":"254be151","86913":"05e8707a","87058":"4b188ef1","87143":"9d49fb25","87260":"c1401ed2","87584":"217ce8f5","87922":"0b99020f","87964":"83911fb5","88093":"d712465d","88155":"44d127a0","88299":"c738e85b","88501":"be1d8e97","88517":"b7bdff08","88699":"bd237d9d","88866":"901ca303","89053":"a7cbd94b","89059":"c554289d","89076":"320b857a","89113":"0edb4797","89119":"368596a5","89554":"3bd5f2ea","89677":"af6e51cb","89785":"fe8c6808","90109":"c2c741e9","90142":"1cd8e675","90265":"77f3cc43","90316":"c34a4fc4","90337":"1724d351","91045":"da379c7f","91090":"cab92915","91274":"c142e23b","91420":"7b4358c2","91462":"2cbc46cd","91470":"9f8c7550","91807":"e0f54b0d","91831":"194f64b8","91857":"b5b0cd84","92045":"dc1c4ccf","92501":"741d16a7","92538":"a4db897b","92594":"0f02017f","92603":"7b2a688c","92823":"ce83a51b","92932":"d1f89dba","92983":"dfda6033","93260":"6dd15e20","93282":"9a1e9e4f","93496":"58079638","93665":"25f6e66e","93668":"1df70969","93692":"06440733","93835":"c3b845e2","93884":"20035e41","93948":"7446d0a8","94001":"f78c8439","94078":"c080514d","94498":"b049cc55","94608":"032c564a","94662":"683ce3df","94715":"34789a26","94849":"240da65e","94897":"5b1c7aea","95125":"94bc0779","95176":"a0ef4cb0","95335":"b5a95d9b","95507":"92581a1c","95679":"33378d80","95861":"67ebb2c0","96163":"d328b274","96444":"5a38a27d","96495":"c6b76d80","96851":"f84a3b78","96882":"61d68732","96923":"a0dd67b4","97008":"116dfc33","97041":"c3c95a1d","97046":"9673f5f0","97120":"0eb88e7b","97591":"4868bb6b","97746":"b57e95e7","97838":"c5234dc1","97986":"68938c1d","98062":"4e021e5d","98228":"732669d8","98337":"430ae3e7","98398":"8d9edd5a","98409":"54f4e356","98662":"269e4efe","98688":"b8811f02","98885":"18271fb2","98936":"73f86d03","99104":"d4f63539","99252":"95331977","99313":"2a225c74","99674":"b35cfd4b","99758":"5cfc1855"}[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","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__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","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","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__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","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","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","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","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","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__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","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","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","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","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","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","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__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","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__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","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__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","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","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","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) + "." + {"76":"73ce46b5","292":"0fec1ac1","310":"b1dcc995","556":"64a4d001","598":"59a33c96","703":"cffec0f2","1190":"a9bb469c","1482":"a621aed6","1642":"4ed5af73","1660":"d23fab48","1702":"625f01f8","1889":"1d5d4be5","1911":"bd4a5d1e","1942":"ae5468fd","1996":"bc9ea088","2001":"e4ec48d9","2021":"422add5b","2249":"90399667","2360":"2f3cadfa","2494":"5e069ec9","2659":"3578f539","2819":"05907f36","2837":"b3a05bc1","2948":"e51d4375","3133":"6a9f7113","3317":"7bb33ec9","3391":"e583c966","3416":"8f71c399","3451":"b64ffed8","3509":"e79ac114","3585":"7005cc41","3885":"e66b03f8","3951":"2a5f99e8","4318":"7eab727b","4685":"21279a05","4736":"820eb2c4","4766":"7b0c465a","4884":"392ae6f2","4973":"826395ea","5112":"bde9f011","5352":"24b55855","5427":"e93f11f5","5434":"361b868d","5572":"e7739700","6127":"00836321","6177":"902a419f","6378":"27c8142f","6540":"72fd24dc","6613":"8967e5a2","6685":"ec8499da","6758":"2edee73b","6788":"ee3ec6fa","7043":"910c4bbe","7125":"778066c4","7171":"bbb7dd0d","7202":"4cb4a4d8","7436":"0452397d","7852":"005435a7","7884":"0d71c20f","8331":"42cfdccf","8484":"9e6820bf","8787":"9b03ebc7","8976":"4db0abf7","8999":"46346034","9134":"682835bf","9357":"8d24905e","9416":"262f08d1","9526":"57604028","9610":"1a26b3ce","9928":"5856e32a","9951":"d5334df9","10195":"6e72595b","10354":"5c063e6f","10485":"bf545607","10737":"7fb785b6","10799":"6125e3fd","10828":"556c5a8e","10921":"b83ec424","10970":"bbed18c1","11070":"631b24b8","11130":"b753b2a0","11253":"c0dfddfa","11512":"cf9cf542","11520":"f172c88e","11525":"c679a85d","11545":"f2c09c69","11581":"4e99dd7d","12076":"94337b95","12102":"18be3515","12154":"982bfdb5","12297":"97d005be","12303":"e57aedcc","12386":"289c62c7","12409":"d5ce6ef6","12412":"0a75b07e","12476":"72922875","12550":"ecab659d","12632":"3a4a7d19","12865":"7c990931","12884":"5d84069d","12911":"f94aa754","13006":"f8f55313","13355":"44f06623","13439":"5e4b0bad","13488":"71f762e6","13581":"7afed93d","13715":"22f2113d","14058":"193a255c","14088":"c639825c","14105":"ebe01de8","14203":"bbc87f64","14227":"3f104546","14514":"dce4e4fd","14599":"2b668b85","14610":"e465441d","14662":"111ba09f","14666":"c872afc7","14889":"bd32026e","15148":"6ec6aaee","15186":"10334f71","15290":"7b3f25d8","15319":"43265c7b","15402":"b18d0574","15631":"d790a1bf","15845":"c8fe49ef","15864":"ad52a2d6","15989":"9dcd1570","16328":"4defd338","16365":"61c2dcf1","16434":"e8a0771c","16703":"0c405184","16729":"7a409ff8","16845":"d174227f","16932":"abb5c0a9","17482":"8a008a32","17527":"39a62670","17622":"06f88014","17685":"82c1b061","17806":"9469b062","18224":"222fd724","18241":"ed5612f5","18302":"668c57d6","18307":"f8747cb7","18350":"0ed0f7c3","18515":"1219e619","18682":"2fc6ec3e","18898":"25ad586a","18963":"33e3df18","19116":"23ca21ba","19124":"a64c6edf","19208":"85e01132","19215":"5c3cf0f3","19360":"bd5bc336","19519":"8ab63684","19652":"794d2805","19715":"b20bb422","19842":"481df3b8","19891":"208a51a2","20026":"40678152","20125":"5f374eed","20459":"917fabee","20511":"5ec6c0ae","20576":"c90e7824","20680":"071f3594","20700":"dfb449b0","20834":"49c334ce","21257":"c08273eb","21265":"e612d043","21423":"74bbccc4","21560":"9e6450c3","21578":"c3f72851","21939":"0eab7c13","22134":"a1d5462d","22254":"7ca54251","22307":"6437e752","22527":"84d408eb","22561":"853dcb80","22707":"75ad1067","22814":"a6f01218","22929":"d551e247","23276":"fcba2fd0","23332":"ea0c41b2","23363":"891e9327","23418":"249cb66d","24169":"126fd83a","24504":"95b91af7","24612":"3346274a","24628":"b863dad4","24665":"244617b8","24797":"eb563316","25001":"9c57fa52","25022":"23b4c116","25156":"ab8ff5f7","25209":"6a7e566d","25470":"9e8859c7","25612":"3d71f9f7","25705":"f8ca44ce","25807":"66b6ed36","25972":"c6a1739c","26013":"04e4d63e","26084":"15f8d5cf","26126":"400f4fd5","26366":"97de7e2f","26685":"d1ebba72","26741":"4845ea97","26868":"befe31da","26883":"ca3f08b9","27178":"d42b3de1","27182":"6f2c12f3","27333":"5b0d2779","27395":"b7c28b18","27416":"060ec524","27495":"08c2df1d","27706":"c0d5e1ef","27739":"54d27078","28072":"7a7e6501","28089":"aaa88c03","28161":"00a22aad","28237":"617e6029","28435":"bc4a4c20","28561":"ec76d55e","28639":"c64b5f00","28723":"e27ec039","28782":"efc2ea94","28920":"842a9870","28982":"508f0fd2","29111":"4ee539a2","29183":"bb80bf02","29559":"cdc05f60","29601":"bf22bea1","29647":"01ed7306","29865":"7cc4335d","29895":"1fa85db5","29968":"5c930f27","30067":"10bfd14a","30264":"7c6a8821","30342":"85111537","30518":"63214eed","30736":"4b13885d","30741":"0afd7032","31006":"38ffa097","31078":"0f4f4c9d","31154":"abb4690e","31211":"170f9665","31427":"6649d2d5","31674":"4135585f","31892":"d80f70bc","31962":"50ac8314","32029":"fc69a676","32054":"2c7f5120","32497":"57b2388d","32507":"cb3034fa","32531":"2a64a988","32826":"c151ad2b","33086":"8bf094e5","33356":"a9d9ec7c","33747":"8142d1b2","33784":"1ca3a1fd","33805":"a93fd24f","34093":"06bae91f","34601":"2909d6d2","34741":"dc26f41a","34790":"6eb90335","34800":"e4b8943a","34850":"daf624f2","34994":"7bbeca76","35060":"7530a2b3","35238":"76bb0486","35304":"1a4c4a7f","35354":"c0640e01","35380":"e1086c9a","35388":"5a22eae0","35416":"b4018e87","35729":"0e4c2273","35977":"e9b7233e","36029":"f51cc4cd","36270":"5da33e2d","36381":"1a315787","36634":"03daa006","36784":"0cb58fbe","37013":"301092bd","37062":"4569024c","37264":"23420a7c","37475":"86fdb940","37637":"8b6ab740","37775":"440395dc","37948":"a4fff0d7","38007":"c879e5aa","38119":"a9a5ce7a","38143":"5b12621c","38447":"29bf7d59","38603":"446baf12","38634":"7be905ca","38797":"813e2a46","39252":"01ffe0b6","39332":"97065f5a","39391":"fb9ce760","39404":"062b640f","39547":"09fcdcd3","39695":"3ccb54a3","39820":"65b62d9f","39950":"57e939c0","40139":"ad047d4e","40559":"80ed1482","40665":"f9ebd6cd","41048":"f323cb54","41657":"b487e1b4","41717":"a8a2c84c","41728":"c2930ffa","41920":"151c0d10","41953":"de62beb4","42159":"0822614e","42240":"cdb5b051","42441":"2b68ce27","42783":"d98d102c","43157":"29b1f278","43212":"9242df02","43316":"5dbdf28e","43363":"21b84303","43428":"f2d7e375","43442":"584874d3","43681":"9ee45a2e","43862":"c3b8ade1","43996":"f78d2366","44216":"16b0f888","44259":"7b7df7d7","44354":"4d10aca1","44360":"2fe17938","44449":"9a10a168","44565":"2dc7cc6c","45096":"3959d730","45159":"e66bfeba","45179":"6e57a9b9","45316":"7a811ad5","45359":"ae091aef","45413":"e271f3fc","45504":"9783c421","45650":"81e021db","45775":"9ba54813","45825":"a5d05020","45992":"f8dfce65","46022":"1c4c441c","46305":"acc79117","46573":"db7fbeee","46675":"786cdcf1","46796":"2cfc7e46","46949":"7dd2855d","46963":"d04a09ce","47353":"860a8287","47545":"d888e610","47686":"f38a5fc1","47778":"b904c0f1","47877":"55b18280","48077":"10bc9fc2","48289":"f2e260db","48431":"369d01ac","48474":"47557df1","48689":"16a65043","48776":"3ca5830e","49127":"29e640b6","49205":"396378bc","49260":"d82ab47f","49366":"56fe5910","49716":"4567fc09","49890":"b110bb20","50546":"5bca0e43","50566":"0a14c930","50812":"efaad19a","50869":"5e24c902","50928":"e80595ae","51144":"88d767c5","51276":"4a42c0ab","51461":"1cb5759d","51582":"38b3c332","51646":"a1e61a3a","51855":"0b57a22b","51945":"f154334b","52330":"f6a31807","52338":"2819f457","52404":"0859f6c9","52485":"a4fd4c57","52687":"d8a0ac1b","52720":"3cb1e974","52806":"b36521b7","52829":"91c2dff8","52875":"5260c6ca","53114":"685610c8","53247":"62f21e86","53520":"74283cef","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"d54fa97c","54056":"b22fbcd1","54146":"7fb1382b","54164":"e79badb8","54492":"4f3ae7d6","54572":"5284121e","54770":"a7a71913","54862":"6c1f50d6","55186":"7b030647","55351":"b1b9a06c","55573":"8237acd9","55624":"effa87b7","55693":"4b714ff1","56047":"b4b0d1c6","56156":"829c1c59","56277":"4c89bcaf","57045":"9534cfc7","57137":"7e50d7de","57365":"7e7804c5","57538":"f1492261","57560":"7a700230","57614":"b7153cad","57642":"87e4bd3c","57973":"b12145ed","57989":"58ec340a","58253":"20604031","58271":"04f27f83","58678":"7dc10a44","59133":"af3cc399","59142":"0f64b62b","59649":"ed6f83bf","59735":"7c376dfa","59788":"b9bfd16d","60479":"cd96c492","60503":"02c9eb79","60533":"b5a608f6","60547":"0f7f9098","61043":"8f7a3aa9","61075":"77de1798","61311":"86029ff1","61345":"3bd11e11","61713":"08f035c8","61727":"17e9a3e2","61870":"881f517e","61880":"f4d5d467","61996":"556132f8","62162":"6b11b285","62300":"71f16cba","62548":"a62543cd","62945":"927b34c0","62982":"43333eed","63157":"6d1c577d","63166":"ae476999","63198":"f92793e1","63409":"393d5c7c","64017":"0ed628b0","64144":"cb46668b","64217":"b9a01009","64385":"c52f5dc6","64422":"1ea2e9df","64496":"6f832bac","64520":"05f72b4a","64712":"d2009aba","64853":"c5cf5382","65022":"3a659dd5","65111":"5428f0ef","65148":"c0afb399","65191":"ac788a72","65549":"c4abc286","65816":"0f3bc117","65876":"a2754c64","66034":"e3527b19","66063":"bcbe251e","66116":"e459b2d4","66531":"61e7ed13","66583":"655b3c7b","66651":"2d473ec7","66999":"b5775470","67156":"918b4bca","67242":"5b7dee6e","67440":"a78e2260","67878":"f1bfc188","68014":"d841055b","68352":"6245ee26","68665":"10299eb5","68778":"b8f890e1","68827":"f9729eff","68842":"19057860","68882":"7d182044","68992":"31f0857e","69681":"d1c16099","69822":"3e51580e","69828":"b38988f4","69922":"6557fb39","69944":"5e190d68","70130":"081f734a","70199":"ef7cd0a0","70671":"749b4875","70928":"34851311","70981":"157d0b6b","71409":"7007f883","71448":"9c057da4","71450":"5a48c811","71525":"2da71703","71771":"27312a8e","71783":"055dd1cc","72011":"7efe6dda","72409":"9efee230","72439":"24021ed7","72529":"d32a796a","72539":"960e4f90","72570":"1a25f09b","72772":"7e278b32","72911":"403ffc52","72969":"53256e8c","73183":"83362486","73220":"286761ee","73755":"68201bce","73793":"7a987ea9","73813":"9f6b8f2b","74014":"5339ac81","74264":"16a8fc15","74297":"aaeee27c","74347":"a722ba6c","74795":"b7e2cad6","75043":"8665c0a3","75321":"9b9a5dc1","75357":"05d5527a","75624":"b3c1aa3c","75786":"49a827f8","75816":"e45c9dd6","76134":"c3c6c4e2","76411":"fcdc22c1","76550":"bfdc0b7a","76626":"e81e842c","76904":"34f96bc1","77084":"5fe882f0","77248":"1f61fdde","77351":"487141dd","77460":"998e6340","77857":"c9aaa8f3","78030":"59c12e5e","78085":"f920c1b8","78241":"13c405e3","78302":"2f657c59","78737":"fa31da0e","78782":"fc5376ff","79489":"662c8689","79503":"adfdd5e0","79590":"5cb7f3ad","79693":"41644bf1","79817":"28c0d337","79921":"5bdde2b6","80182":"1f0b80e3","80198":"0a315a18","80347":"64feee3a","80508":"63e19aea","80629":"ca49ee59","80807":"022e56d3","81148":"9d194884","81326":"32e6a0e9","81409":"e3305c3b","81776":"ec2c4ed8","81799":"dea01115","82082":"bc411612","82093":"2586ec22","82339":"504da1ba","82425":"e3c9150a","82443":"9770a302","82709":"1bda5e08","83105":"be6453fc","83141":"60b6e81d","83212":"be86a7e9","83552":"f7bdb53d","83935":"0a7973f1","84029":"14b9dc8d","84314":"a01f201e","84546":"da0a0c2b","84567":"f8df7319","85048":"b1f357ad","85111":"bd2ef813","85297":"58ddad63","85494":"da5840b1","85764":"5c1c73b5","85831":"2684e2b6","85888":"79fb68a9","85891":"cd350ffc","86045":"0a358cbb","86052":"e8708daf","86129":"801a9880","86132":"39765850","86411":"cbb4aeee","86452":"7a614ac2","86541":"52f76773","86634":"f0188afc","86774":"2db1d78d","86820":"d0ed7f4a","86859":"254be151","86913":"05e8707a","87058":"4b188ef1","87143":"9d49fb25","87260":"c1401ed2","87584":"217ce8f5","87922":"0b99020f","87964":"83911fb5","88093":"d712465d","88155":"44d127a0","88299":"c738e85b","88501":"be1d8e97","88517":"b7bdff08","88699":"bd237d9d","88866":"901ca303","89053":"a7cbd94b","89059":"c554289d","89076":"320b857a","89113":"4b2aa46e","89119":"368596a5","89554":"3bd5f2ea","89677":"af6e51cb","89785":"fe8c6808","90109":"c2c741e9","90142":"1cd8e675","90265":"77f3cc43","90316":"c34a4fc4","90337":"1724d351","91045":"da379c7f","91090":"cab92915","91274":"c142e23b","91420":"7b4358c2","91462":"2cbc46cd","91470":"9f8c7550","91807":"e0f54b0d","91831":"194f64b8","91857":"7701d050","92045":"dc1c4ccf","92501":"741d16a7","92538":"a4db897b","92594":"0f02017f","92603":"7b2a688c","92823":"ce83a51b","92932":"d1f89dba","92983":"dfda6033","93260":"6dd15e20","93282":"9a1e9e4f","93496":"58079638","93665":"25f6e66e","93668":"1df70969","93692":"06440733","93835":"c3b845e2","93884":"20035e41","93948":"7446d0a8","94001":"f78c8439","94078":"c080514d","94498":"b049cc55","94608":"032c564a","94662":"683ce3df","94715":"34789a26","94849":"240da65e","94897":"5b1c7aea","95125":"94bc0779","95176":"a0ef4cb0","95335":"b5a95d9b","95507":"92581a1c","95679":"33378d80","95861":"67ebb2c0","96148":"8fb24fa6","96163":"d328b274","96444":"5a38a27d","96495":"c6b76d80","96851":"f84a3b78","96882":"61d68732","96923":"a0dd67b4","97008":"116dfc33","97041":"c3c95a1d","97046":"9673f5f0","97120":"0eb88e7b","97591":"4868bb6b","97746":"b57e95e7","97838":"c5234dc1","97986":"68938c1d","98062":"4e021e5d","98228":"732669d8","98337":"430ae3e7","98398":"8d9edd5a","98409":"6d7cb414","98662":"269e4efe","98688":"b8811f02","98885":"18271fb2","98936":"73f86d03","99104":"d4f63539","99252":"95331977","99313":"2a225c74","99674":"b35cfd4b","99758":"5cfc1855"}[chunkId] + ".async.js"; /******/ }; /******/ }(); /******/ @@ -204775,7 +204858,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","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__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","7661":"p__Equipment__Scrap__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","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__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","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","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","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","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","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__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","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","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","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","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","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","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__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","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62548":"p__Engineering__Norm__Detail__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","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__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","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","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","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":"8d40b7e0","310":"30952fee","556":"72bf86b8","1482":"6911d5ec","1702":"69ced320","2001":"adc34903","2659":"790e3755","2819":"c78c7cf9","2948":"fb57be18","3317":"a1ba97ae","3391":"74d5f1cd","3451":"143a65d7","3509":"be1bd335","3585":"c5ccc519","3951":"453bd864","4736":"2b08b4e9","4766":"20d6998b","4884":"237406e7","4973":"1adddb6c","5427":"73073ec6","5572":"1ebd5b21","6127":"639d9eef","6613":"55fc476f","6685":"ece0659f","6758":"2d4fb0a4","6788":"9c71a467","7043":"a4bf865c","7202":"7e49303a","7661":"eb7a9b8f","7852":"a1d95cdd","7884":"c05af3a8","8787":"6bac673f","8999":"daf93d8b","9134":"bef9953a","9416":"10374b7a","10195":"559d8eba","10485":"1a742cd7","10737":"92f1a43d","10799":"27ecbe3f","10921":"ff67965c","11070":"398facb9","11130":"91dd2dce","11253":"bc80d083","11512":"9902500d","11520":"fc26b468","11545":"33ea289f","11581":"e8b0d7c9","12076":"35e109ff","12102":"2274f01f","12303":"6290955b","12412":"d091fe66","12476":"e62f25d9","12865":"9c21aa35","12884":"51f04c4f","13006":"2e06327b","13355":"2bc6320a","13581":"51c84351","14058":"8145b34a","14105":"bd39ec19","14227":"8f72f4b8","14514":"52041dc6","14599":"e9d2e3a2","14610":"7a995157","14662":"f5d59a76","14666":"58a632fd","14889":"0e3d7a1f","15148":"4e7f971b","15186":"0f99fefd","15319":"41bd7818","15402":"a282e263","16328":"e86a9249","16434":"f3686b21","16729":"1a785864","16845":"14965c0f","17482":"f25154da","17527":"f282874f","17622":"b880f6a2","17806":"7ce38956","18224":"8be2d75a","18241":"a7bcdb7f","18302":"6276ab10","18307":"960d6812","18682":"054abe69","19116":"0742f94b","19215":"78818e65","19360":"1d386e06","19519":"752e1759","19715":"c443b238","19891":"06101d59","20026":"221d8beb","20576":"49c13d81","20680":"398facb9","20700":"128e709d","21265":"a8e9e8cb","21423":"12d8d260","21578":"17534440","21939":"4bc7fa3b","22254":"2d30dd87","22307":"203bd51a","22561":"19dda653","22707":"68b6d6e0","23332":"a6043ffe","24504":"4ef268f6","25022":"9ea78439","25470":"943bae56","25612":"e928835c","25705":"46cedf97","25807":"9fb1d5be","25972":"066968ca","26366":"d084939d","26685":"b4dcf394","26741":"955405d3","26883":"e0c93404","27178":"b093efcf","27182":"e1ac3ad0","27395":"efad5a2f","27416":"382146e6","28072":"21f05ad9","28237":"514aec29","28435":"9257d668","28723":"1f3f92ce","28782":"ad6548df","28982":"c6b636d3","29647":"d748239a","30067":"66d40443","30264":"565cc298","30342":"ba2ef51f","31006":"b97a76ea","31078":"d2b006d6","31211":"be95c0c7","31427":"13f371aa","31674":"1a6154a4","31962":"ad61340b","33356":"001a226c","33747":"2635ff92","33784":"96db3aa6","34093":"d42d8de3","34601":"8c128059","34741":"9c6a6a49","34800":"0cd8ed5e","34994":"f4770799","35238":"05c0709f","35380":"d8ae472a","35729":"7f9dc644","35977":"3708e528","36029":"dd52c53d","36270":"cee5936f","36784":"c5ac3736","37062":"e20da037","37948":"6332859e","38143":"2af4ab83","38447":"58518db9","38634":"8497ea56","38797":"6109ce4c","39332":"db70ef22","39391":"cbb5a8f1","39404":"74f4de0f","39695":"ce989c0b","39820":"b330b056","40139":"f5de00b9","40559":"8c066234","40665":"b91d8e64","41048":"e3d0f80a","41657":"60e9affc","41717":"b2b4b91b","41953":"11450990","42159":"14d58ae4","42240":"867599c9","43212":"a57ec9ba","43442":"e7870097","44259":"015d98e9","44449":"b1f1e52f","45096":"ff8db688","45179":"81e6eabe","45359":"f854dd2c","45650":"88c58e3c","45775":"582bdddf","45825":"88b28c46","45992":"3f7c0489","46796":"b66b9f01","46963":"ad61340b","47545":"260b0484","47778":"ebd689be","48077":"fd327514","48289":"ac0a2156","48431":"1dfdd7c3","48689":"3b41076c","49205":"3ab1babb","49366":"e60ba939","49716":"18aa63a5","49890":"96f6b74a","50869":"969df176","51276":"6ec204b0","51461":"d2a330fc","51582":"480feef1","51855":"4d94c370","52338":"4b7c57f9","52404":"e43655f1","52806":"a86773e8","52829":"ae842423","52875":"42336ed4","53247":"8f4909c9","53910":"4ece7fdc","54056":"97aa1612","54164":"420829bb","54492":"627d3645","54572":"fab8665f","54770":"41bd7818","54862":"1051e2e0","55573":"9da162c2","55624":"c325e0e9","56156":"4f59ae3e","56277":"bfdad4f4","57045":"d0627647","57560":"42b3a107","57614":"1da1fb88","57989":"d66af308","59133":"adb010e4","59142":"b4a19298","59649":"c90b7200","59788":"5eb553e2","60479":"bbeb90bb","60533":"4ce93101","60547":"e20d430b","61043":"f7701023","61075":"38ba8583","61713":"95717003","61727":"aef4aaaf","61880":"e683c598","62548":"74711a58","63157":"0429f367","64144":"1e7f1a82","64217":"9c398c8d","64496":"e1fc4d96","64520":"e52de6c9","65111":"6f15b7e5","65148":"533a12b1","65191":"47f230e6","65549":"c856e46e","65816":"dc294f32","66063":"13b85965","66583":"e251c1f5","66651":"fa8ec5b8","67242":"1ae6a259","67878":"e64aa624","68014":"ae9202cc","68665":"b1086767","68827":"8f1737f4","68882":"8548fdd4","69681":"20ca092e","69828":"055415b2","69922":"fe0ae604","69944":"7bd8ce66","71450":"731b820d","71525":"9d0416ed","71771":"24981083","71783":"24e35c3f","72409":"d683ff43","72529":"e8cacf98","72539":"b496d4e2","72570":"a44c48a6","73183":"23d82bfe","73220":"729ca38b","74264":"d8c2a4fc","74297":"23023638","74795":"ccb43894","75043":"5a3b7d97","75357":"25d5b76f","75786":"83167dbc","75816":"9866542a","76134":"66d248f8","76904":"363a9f35","77248":"dab06d59","77460":"6ed02405","77857":"4c28c6d1","78085":"948eff2a","79489":"271eaa3f","79590":"58067e71","79921":"d86295ed","80508":"d0da960e","81148":"d84fcfd2","82339":"656ce068","82425":"d3b6a7cd","82443":"8e88e0d0","83105":"ee88486c","83141":"e673c2f7","83212":"18f1a1cd","83935":"54db3aeb","84546":"c69b63fe","85048":"778289f1","85111":"ece296dc","85297":"cb603d06","85888":"95b44bd3","85891":"da9c8b4f","86052":"5e9a18eb","86452":"46a0f961","86541":"fad7606c","86634":"db4eecb3","86820":"b7a97c41","86913":"dff1d8c6","87058":"83db652f","87260":"e55af9ed","87922":"04dbb05d","88093":"4aa99f3f","88155":"efeb068b","88501":"d1ef84ba","88517":"37b9d0d0","88866":"2ff9a492","89053":"519180c0","89076":"2f49c641","89113":"f1f4ca81","89677":"0543c98a","89785":"e43655f1","90109":"6eb787f1","90265":"283a24bd","90337":"dba15222","91045":"4a03c261","91470":"e1ac3ad0","91831":"45dfa20e","92045":"b50a1192","92501":"507a87bf","92823":"0349d875","92932":"720e4044","92983":"b40fb798","93260":"f3a7767a","93282":"e1e42549","93496":"fedc2f7b","93665":"323f499e","93668":"970df6f0","94078":"2b04f3b2","94498":"b393f3c9","94662":"03111097","94715":"10edf84c","94849":"869f7bcf","95125":"b3f0c01c","95176":"cce8ed34","95335":"80e6324e","96163":"29ff4d70","96444":"6a963cc3","96882":"9b731449","97008":"8369ed55","97046":"6367da00","97838":"06a5d7c7","98062":"b0c25f68","98398":"7ac0ec2c","98662":"2dc6ba87","98688":"ac4f2875","98885":"100a1598","98936":"a53ad132","99674":"6ec1247a","99758":"d6fad08e"}[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","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2001":"p__Materials__ItemAssets__AddReceive__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","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","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11130":"p__Laboratory__MyReservation__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","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","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","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","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","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__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","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","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","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","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","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","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__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","62548":"p__Engineering__Norm__Detail__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","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__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","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","80508":"p__Forums__Detail__id","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","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":"8d40b7e0","310":"30952fee","556":"72bf86b8","1482":"6911d5ec","1702":"69ced320","2001":"adc34903","2659":"790e3755","2819":"c78c7cf9","2948":"fb57be18","3317":"a1ba97ae","3391":"74d5f1cd","3451":"143a65d7","3509":"be1bd335","3585":"c5ccc519","3951":"453bd864","4736":"2b08b4e9","4766":"20d6998b","4884":"237406e7","4973":"1adddb6c","5427":"73073ec6","5572":"1ebd5b21","6127":"639d9eef","6613":"55fc476f","6685":"ece0659f","6758":"2d4fb0a4","6788":"9c71a467","7043":"a4bf865c","7202":"7e49303a","7852":"a1d95cdd","7884":"c05af3a8","8787":"6bac673f","8999":"daf93d8b","9134":"bef9953a","9416":"10374b7a","10195":"559d8eba","10485":"1a742cd7","10737":"92f1a43d","10799":"27ecbe3f","10921":"ff67965c","11070":"398facb9","11130":"91dd2dce","11253":"bc80d083","11512":"9902500d","11520":"fc26b468","11545":"33ea289f","11581":"e8b0d7c9","12076":"35e109ff","12102":"2274f01f","12303":"6290955b","12412":"d091fe66","12476":"e62f25d9","12865":"9c21aa35","12884":"51f04c4f","13006":"2e06327b","13355":"2bc6320a","13581":"51c84351","14058":"8145b34a","14105":"bd39ec19","14227":"8f72f4b8","14514":"52041dc6","14599":"e9d2e3a2","14610":"7a995157","14662":"f5d59a76","14666":"58a632fd","14889":"0e3d7a1f","15148":"4e7f971b","15186":"0f99fefd","15319":"41bd7818","15402":"a282e263","16328":"e86a9249","16434":"f3686b21","16729":"1a785864","16845":"14965c0f","17482":"f25154da","17527":"f282874f","17622":"b880f6a2","17806":"7ce38956","18224":"8be2d75a","18241":"a7bcdb7f","18302":"6276ab10","18307":"960d6812","18682":"054abe69","19116":"0742f94b","19215":"78818e65","19360":"1d386e06","19519":"752e1759","19715":"c443b238","19891":"06101d59","20026":"221d8beb","20576":"49c13d81","20680":"398facb9","20700":"128e709d","21265":"a8e9e8cb","21423":"12d8d260","21578":"17534440","21939":"4bc7fa3b","22254":"2d30dd87","22307":"203bd51a","22561":"19dda653","22707":"68b6d6e0","23332":"a6043ffe","24504":"4ef268f6","25022":"9ea78439","25470":"943bae56","25612":"e928835c","25705":"46cedf97","25807":"9fb1d5be","25972":"066968ca","26366":"d084939d","26685":"b4dcf394","26741":"955405d3","26883":"e0c93404","27178":"b093efcf","27182":"e1ac3ad0","27395":"efad5a2f","27416":"382146e6","28072":"21f05ad9","28237":"514aec29","28435":"9257d668","28723":"1f3f92ce","28782":"ad6548df","28982":"c6b636d3","29647":"d748239a","30067":"66d40443","30264":"565cc298","30342":"ba2ef51f","31006":"b97a76ea","31078":"d2b006d6","31211":"be95c0c7","31427":"13f371aa","31674":"1a6154a4","31962":"ad61340b","33356":"001a226c","33747":"2635ff92","33784":"96db3aa6","34093":"d42d8de3","34601":"8c128059","34741":"9c6a6a49","34800":"0cd8ed5e","34994":"f4770799","35238":"05c0709f","35380":"d8ae472a","35729":"7f9dc644","35977":"3708e528","36029":"dd52c53d","36270":"cee5936f","36784":"c5ac3736","37062":"e20da037","37948":"6332859e","38143":"2af4ab83","38447":"58518db9","38634":"8497ea56","38797":"6109ce4c","39332":"db70ef22","39391":"cbb5a8f1","39404":"74f4de0f","39695":"ce989c0b","39820":"b330b056","40139":"f5de00b9","40559":"8c066234","40665":"b91d8e64","41048":"e3d0f80a","41657":"60e9affc","41717":"b2b4b91b","41953":"11450990","42159":"e472287a","42240":"867599c9","43212":"a57ec9ba","43442":"e7870097","44259":"015d98e9","44449":"b1f1e52f","45096":"ff8db688","45179":"81e6eabe","45359":"f854dd2c","45650":"88c58e3c","45775":"582bdddf","45825":"88b28c46","45992":"3f7c0489","46796":"b66b9f01","46963":"ad61340b","47545":"260b0484","47778":"ebd689be","48077":"fd327514","48289":"ac0a2156","48431":"1dfdd7c3","48689":"3b41076c","49205":"3ab1babb","49366":"e60ba939","49716":"18aa63a5","49890":"96f6b74a","50869":"969df176","51276":"6ec204b0","51461":"d2a330fc","51582":"480feef1","51855":"4d94c370","52338":"4b7c57f9","52404":"e43655f1","52806":"a86773e8","52829":"ae842423","52875":"42336ed4","53247":"8f4909c9","53910":"4ece7fdc","54056":"97aa1612","54164":"420829bb","54492":"627d3645","54572":"fab8665f","54770":"41bd7818","54862":"1051e2e0","55573":"9da162c2","55624":"c325e0e9","56156":"4f59ae3e","56277":"bfdad4f4","57045":"d0627647","57560":"42b3a107","57614":"1da1fb88","57989":"d66af308","59133":"adb010e4","59142":"b4a19298","59649":"c90b7200","59788":"5eb553e2","60479":"bbeb90bb","60533":"4ce93101","60547":"e20d430b","61043":"f7701023","61075":"38ba8583","61311":"91a29ff6","61713":"95717003","61727":"aef4aaaf","61880":"e683c598","62548":"74711a58","63157":"0429f367","64144":"1e7f1a82","64217":"9c398c8d","64496":"e1fc4d96","64520":"e52de6c9","65111":"6f15b7e5","65148":"533a12b1","65191":"47f230e6","65549":"c856e46e","65816":"dc294f32","66063":"13b85965","66583":"e251c1f5","66651":"fa8ec5b8","67242":"1ae6a259","67878":"e64aa624","68014":"ae9202cc","68665":"b1086767","68827":"8f1737f4","68882":"8548fdd4","69681":"20ca092e","69828":"055415b2","69922":"fe0ae604","69944":"7bd8ce66","71450":"731b820d","71525":"9d0416ed","71771":"24981083","71783":"24e35c3f","72409":"d683ff43","72529":"e8cacf98","72539":"b496d4e2","72570":"a44c48a6","73183":"23d82bfe","73220":"729ca38b","74264":"d8c2a4fc","74297":"23023638","74795":"ccb43894","75043":"5a3b7d97","75357":"25d5b76f","75786":"83167dbc","75816":"9866542a","76134":"66d248f8","76904":"363a9f35","77248":"dab06d59","77460":"6ed02405","77857":"4c28c6d1","78085":"948eff2a","79489":"271eaa3f","79590":"58067e71","79921":"d86295ed","80508":"d0da960e","81148":"d84fcfd2","82339":"656ce068","82425":"d3b6a7cd","82443":"8e88e0d0","83105":"ee88486c","83141":"e673c2f7","83212":"18f1a1cd","83935":"54db3aeb","84546":"c69b63fe","85048":"778289f1","85111":"ece296dc","85297":"cb603d06","85888":"95b44bd3","85891":"da9c8b4f","86052":"5e9a18eb","86452":"46a0f961","86541":"fad7606c","86634":"db4eecb3","86820":"b7a97c41","86913":"dff1d8c6","87058":"83db652f","87260":"e55af9ed","87922":"04dbb05d","88093":"4aa99f3f","88155":"efeb068b","88501":"d1ef84ba","88517":"37b9d0d0","88866":"2ff9a492","89053":"519180c0","89076":"2f49c641","89113":"f1f4ca81","89677":"0543c98a","89785":"e43655f1","90109":"6eb787f1","90265":"283a24bd","90337":"dba15222","91045":"4a03c261","91470":"e1ac3ad0","91831":"45dfa20e","92045":"b50a1192","92501":"507a87bf","92823":"0349d875","92932":"720e4044","92983":"b40fb798","93260":"f3a7767a","93282":"e1e42549","93496":"fedc2f7b","93665":"323f499e","93668":"970df6f0","94078":"2b04f3b2","94498":"b393f3c9","94662":"03111097","94715":"10edf84c","94849":"869f7bcf","95125":"b3f0c01c","95176":"cce8ed34","95335":"80e6324e","96163":"29ff4d70","96444":"6a963cc3","96882":"9b731449","97008":"8369ed55","97046":"6367da00","97838":"06a5d7c7","98062":"b0c25f68","98398":"7ac0ec2c","98662":"2dc6ba87","98688":"ac4f2875","98885":"100a1598","98936":"a53ad132","99674":"6ec1247a","99758":"d6fad08e"}[chunkId] + ".chunk.css"; /******/ }; /******/ }(); /******/ @@ -204944,7 +205027,7 @@ function debounce (delay, callback, options) { /******/ }; /******/ /******/ __webpack_require__.f.miniCss = function(chunkId, promises) { -/******/ var cssChunks = {"292":1,"310":1,"556":1,"1482":1,"1702":1,"2001":1,"2659":1,"2819":1,"2948":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4736":1,"4766":1,"4884":1,"4973":1,"5427":1,"5572":1,"6127":1,"6613":1,"6685":1,"6758":1,"6788":1,"7043":1,"7202":1,"7661":1,"7852":1,"7884":1,"8787":1,"8999":1,"9134":1,"9416":1,"10195":1,"10485":1,"10737":1,"10799":1,"10921":1,"11070":1,"11130":1,"11253":1,"11512":1,"11520":1,"11545":1,"11581":1,"12076":1,"12102":1,"12303":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13581":1,"14058":1,"14105":1,"14227":1,"14514":1,"14599":1,"14610":1,"14662":1,"14666":1,"14889":1,"15148":1,"15186":1,"15319":1,"15402":1,"16328":1,"16434":1,"16729":1,"16845":1,"17482":1,"17527":1,"17622":1,"17806":1,"18224":1,"18241":1,"18302":1,"18307":1,"18682":1,"19116":1,"19215":1,"19360":1,"19519":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22307":1,"22561":1,"22707":1,"23332":1,"24504":1,"25022":1,"25470":1,"25612":1,"25705":1,"25807":1,"25972":1,"26366":1,"26685":1,"26741":1,"26883":1,"27178":1,"27182":1,"27395":1,"27416":1,"28072":1,"28237":1,"28435":1,"28723":1,"28782":1,"28982":1,"29647":1,"30067":1,"30264":1,"30342":1,"31006":1,"31078":1,"31211":1,"31427":1,"31674":1,"31962":1,"33356":1,"33747":1,"33784":1,"34093":1,"34601":1,"34741":1,"34800":1,"34994":1,"35238":1,"35380":1,"35729":1,"35977":1,"36029":1,"36270":1,"36784":1,"37062":1,"37948":1,"38143":1,"38447":1,"38634":1,"38797":1,"39332":1,"39391":1,"39404":1,"39695":1,"39820":1,"40139":1,"40559":1,"40665":1,"41048":1,"41657":1,"41717":1,"41953":1,"42159":1,"42240":1,"43212":1,"43442":1,"44259":1,"44449":1,"45096":1,"45179":1,"45359":1,"45650":1,"45775":1,"45825":1,"45992":1,"46796":1,"46963":1,"47545":1,"47778":1,"48077":1,"48289":1,"48431":1,"48689":1,"49205":1,"49366":1,"49716":1,"49890":1,"50869":1,"51276":1,"51461":1,"51582":1,"51855":1,"52338":1,"52404":1,"52806":1,"52829":1,"52875":1,"53247":1,"53910":1,"54056":1,"54164":1,"54492":1,"54572":1,"54770":1,"54862":1,"55573":1,"55624":1,"56156":1,"56277":1,"57045":1,"57560":1,"57614":1,"57989":1,"59133":1,"59142":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"61043":1,"61075":1,"61713":1,"61727":1,"61880":1,"62548":1,"63157":1,"64144":1,"64217":1,"64496":1,"64520":1,"65111":1,"65148":1,"65191":1,"65549":1,"65816":1,"66063":1,"66583":1,"66651":1,"67242":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"69681":1,"69828":1,"69922":1,"69944":1,"71450":1,"71525":1,"71771":1,"71783":1,"72409":1,"72529":1,"72539":1,"72570":1,"73183":1,"73220":1,"74264":1,"74297":1,"74795":1,"75043":1,"75357":1,"75786":1,"75816":1,"76134":1,"76904":1,"77248":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"81148":1,"82339":1,"82425":1,"82443":1,"83105":1,"83141":1,"83212":1,"83935":1,"84546":1,"85048":1,"85111":1,"85297":1,"85888":1,"85891":1,"86052":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88093":1,"88155":1,"88501":1,"88517":1,"88866":1,"89053":1,"89076":1,"89113":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91831":1,"92045":1,"92501":1,"92823":1,"92932":1,"92983":1,"93260":1,"93282":1,"93496":1,"93665":1,"93668":1,"94078":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"96163":1,"96444":1,"96882":1,"97008":1,"97046":1,"97838":1,"98062":1,"98398":1,"98662":1,"98688":1,"98885":1,"98936":1,"99674":1,"99758":1}; +/******/ var cssChunks = {"292":1,"310":1,"556":1,"1482":1,"1702":1,"2001":1,"2659":1,"2819":1,"2948":1,"3317":1,"3391":1,"3451":1,"3509":1,"3585":1,"3951":1,"4736":1,"4766":1,"4884":1,"4973":1,"5427":1,"5572":1,"6127":1,"6613":1,"6685":1,"6758":1,"6788":1,"7043":1,"7202":1,"7852":1,"7884":1,"8787":1,"8999":1,"9134":1,"9416":1,"10195":1,"10485":1,"10737":1,"10799":1,"10921":1,"11070":1,"11130":1,"11253":1,"11512":1,"11520":1,"11545":1,"11581":1,"12076":1,"12102":1,"12303":1,"12412":1,"12476":1,"12865":1,"12884":1,"13006":1,"13355":1,"13581":1,"14058":1,"14105":1,"14227":1,"14514":1,"14599":1,"14610":1,"14662":1,"14666":1,"14889":1,"15148":1,"15186":1,"15319":1,"15402":1,"16328":1,"16434":1,"16729":1,"16845":1,"17482":1,"17527":1,"17622":1,"17806":1,"18224":1,"18241":1,"18302":1,"18307":1,"18682":1,"19116":1,"19215":1,"19360":1,"19519":1,"19715":1,"19891":1,"20026":1,"20576":1,"20680":1,"20700":1,"21265":1,"21423":1,"21578":1,"21939":1,"22254":1,"22307":1,"22561":1,"22707":1,"23332":1,"24504":1,"25022":1,"25470":1,"25612":1,"25705":1,"25807":1,"25972":1,"26366":1,"26685":1,"26741":1,"26883":1,"27178":1,"27182":1,"27395":1,"27416":1,"28072":1,"28237":1,"28435":1,"28723":1,"28782":1,"28982":1,"29647":1,"30067":1,"30264":1,"30342":1,"31006":1,"31078":1,"31211":1,"31427":1,"31674":1,"31962":1,"33356":1,"33747":1,"33784":1,"34093":1,"34601":1,"34741":1,"34800":1,"34994":1,"35238":1,"35380":1,"35729":1,"35977":1,"36029":1,"36270":1,"36784":1,"37062":1,"37948":1,"38143":1,"38447":1,"38634":1,"38797":1,"39332":1,"39391":1,"39404":1,"39695":1,"39820":1,"40139":1,"40559":1,"40665":1,"41048":1,"41657":1,"41717":1,"41953":1,"42159":1,"42240":1,"43212":1,"43442":1,"44259":1,"44449":1,"45096":1,"45179":1,"45359":1,"45650":1,"45775":1,"45825":1,"45992":1,"46796":1,"46963":1,"47545":1,"47778":1,"48077":1,"48289":1,"48431":1,"48689":1,"49205":1,"49366":1,"49716":1,"49890":1,"50869":1,"51276":1,"51461":1,"51582":1,"51855":1,"52338":1,"52404":1,"52806":1,"52829":1,"52875":1,"53247":1,"53910":1,"54056":1,"54164":1,"54492":1,"54572":1,"54770":1,"54862":1,"55573":1,"55624":1,"56156":1,"56277":1,"57045":1,"57560":1,"57614":1,"57989":1,"59133":1,"59142":1,"59649":1,"59788":1,"60479":1,"60533":1,"60547":1,"61043":1,"61075":1,"61311":1,"61713":1,"61727":1,"61880":1,"62548":1,"63157":1,"64144":1,"64217":1,"64496":1,"64520":1,"65111":1,"65148":1,"65191":1,"65549":1,"65816":1,"66063":1,"66583":1,"66651":1,"67242":1,"67878":1,"68014":1,"68665":1,"68827":1,"68882":1,"69681":1,"69828":1,"69922":1,"69944":1,"71450":1,"71525":1,"71771":1,"71783":1,"72409":1,"72529":1,"72539":1,"72570":1,"73183":1,"73220":1,"74264":1,"74297":1,"74795":1,"75043":1,"75357":1,"75786":1,"75816":1,"76134":1,"76904":1,"77248":1,"77460":1,"77857":1,"78085":1,"79489":1,"79590":1,"79921":1,"80508":1,"81148":1,"82339":1,"82425":1,"82443":1,"83105":1,"83141":1,"83212":1,"83935":1,"84546":1,"85048":1,"85111":1,"85297":1,"85888":1,"85891":1,"86052":1,"86452":1,"86541":1,"86634":1,"86820":1,"86913":1,"87058":1,"87260":1,"87922":1,"88093":1,"88155":1,"88501":1,"88517":1,"88866":1,"89053":1,"89076":1,"89113":1,"89677":1,"89785":1,"90109":1,"90265":1,"90337":1,"91045":1,"91470":1,"91831":1,"92045":1,"92501":1,"92823":1,"92932":1,"92983":1,"93260":1,"93282":1,"93496":1,"93665":1,"93668":1,"94078":1,"94498":1,"94662":1,"94715":1,"94849":1,"95125":1,"95176":1,"95335":1,"96163":1,"96444":1,"96882":1,"97008":1,"97046":1,"97838":1,"98062":1,"98398":1,"98662":1,"98688":1,"98885":1,"98936":1,"99674":1,"99758":1}; /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { /******/ promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() { @@ -209140,7 +209223,7 @@ function _getRoutes() { "id": "422" }, "423": { - "path": "/equipment/scrap", + "path": "/equipment/bookingManage", "parentId": "420", "id": "423" }, @@ -210429,7 +210512,7 @@ function _getRoutes() { return Promise.all(/*! import() | layouts__SimpleLayouts */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(9951), __webpack_require__.e(32497), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(43996), __webpack_require__.e(23276), __webpack_require__.e(94897), __webpack_require__.e(37062)]).then(__webpack_require__.bind(__webpack_require__, /*! @/layouts/SimpleLayouts.tsx */ 56192)); }), '312': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(99313), __webpack_require__.e(2021), __webpack_require__.e(37637), __webpack_require__.e(71771), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 30064)); + return Promise.all(/*! import() | p__User__Detail__Order__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(99313), __webpack_require__.e(2021), __webpack_require__.e(1911), __webpack_require__.e(71771), __webpack_require__.e(21939)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/index.tsx */ 30064)); }), '313': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__User__Detail__Order__pages__invoice__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(24612), __webpack_require__.e(71771), __webpack_require__.e(556)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/User/Detail/Order/pages/invoice/index.tsx */ 41558)); @@ -210477,7 +210560,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(43428), __webpack_require__.e(98337), __webpack_require__.e(71771), __webpack_require__.e(23276), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 29271)); }), '328': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(1911), __webpack_require__.e(71771), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 18083)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(37637), __webpack_require__.e(71771), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 18083)); }), '329': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(66999), __webpack_require__.e(94001), __webpack_require__.e(76), __webpack_require__.e(2360), __webpack_require__.e(2021), __webpack_require__.e(50546), __webpack_require__.e(56156), __webpack_require__.e(71771), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 8062)); @@ -210543,7 +210626,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__virtualSpaces__Lists__Experiment__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(43428), __webpack_require__.e(98337), __webpack_require__.e(71771), __webpack_require__.e(23276), __webpack_require__.e(71783)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Experiment/index.tsx */ 29271)); }), '350': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(1911), __webpack_require__.e(71771), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 18083)); + return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(86859), __webpack_require__.e(66999), __webpack_require__.e(2021), __webpack_require__.e(37637), __webpack_require__.e(71771), __webpack_require__.e(65816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/index.tsx */ 18083)); }), '351': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__virtualSpaces__Lists__Announcement__AddAndEdit__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(66999), __webpack_require__.e(94001), __webpack_require__.e(76), __webpack_require__.e(2360), __webpack_require__.e(2021), __webpack_require__.e(50546), __webpack_require__.e(56156), __webpack_require__.e(71771), __webpack_require__.e(89677)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/virtualSpaces/Lists/Announcement/AddAndEdit/index.tsx */ 8062)); @@ -210756,13 +210839,13 @@ function _getRoutes() { return Promise.all(/*! import() | p__Equipment__Index__index */[__webpack_require__.e(50812), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(27416)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Index/index.tsx */ 27246)); }), '421': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Equipment__Information__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(78782), __webpack_require__.e(53520), __webpack_require__.e(21257), __webpack_require__.e(51945), __webpack_require__.e(98409), __webpack_require__.e(42159)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Information/index.tsx */ 24533)); + return Promise.all(/*! import() | p__Equipment__Information__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(78782), __webpack_require__.e(53520), __webpack_require__.e(21257), __webpack_require__.e(51945), __webpack_require__.e(32507), __webpack_require__.e(98409), __webpack_require__.e(42159)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Information/index.tsx */ 24533)); }), '422': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Equipment__Maintenance__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(78782), __webpack_require__.e(53520), __webpack_require__.e(21257), __webpack_require__.e(51945), __webpack_require__.e(93948), __webpack_require__.e(71409), __webpack_require__.e(98409), __webpack_require__.e(88093)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Maintenance/index.tsx */ 63693)); }), '423': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Equipment__Scrap__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(78782), __webpack_require__.e(53520), __webpack_require__.e(21257), __webpack_require__.e(51945), __webpack_require__.e(32507), __webpack_require__.e(7661)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Scrap/index.tsx */ 31715)); + return Promise.all(/*! import() | p__Equipment__BookingManage__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(78782), __webpack_require__.e(53520), __webpack_require__.e(21257), __webpack_require__.e(51945), __webpack_require__.e(99313), __webpack_require__.e(30518), __webpack_require__.e(96148), __webpack_require__.e(98409), __webpack_require__.e(61311)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/BookingManage/index.tsx */ 2081)); }), '424': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Equipment__Faultlibrary__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(19124), __webpack_require__.e(80347), __webpack_require__.e(24665), __webpack_require__.e(18515), __webpack_require__.e(46675), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(86859), __webpack_require__.e(78782), __webpack_require__.e(53520), __webpack_require__.e(21257), __webpack_require__.e(51945), __webpack_require__.e(30518), __webpack_require__.e(98409), __webpack_require__.e(69828)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Equipment/Faultlibrary/index.tsx */ 74700));