diff --git a/42994.3029857a.async.js b/42994.0532f7cc.async.js
similarity index 99%
rename from 42994.3029857a.async.js
rename to 42994.0532f7cc.async.js
index bfc4b0d5de..3b9d33ee73 100644
--- a/42994.3029857a.async.js
+++ b/42994.0532f7cc.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[42994,52992,74995,72532,83420,7077,14996,69425,96004,23003,6572,79876,40115],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[42994,74995,52992,72532,83420,7077,14996,69425,96004,23003,6572,79876,40115],{
/***/ 14726:
/*!*******************************************************************************************************************!*\
diff --git a/52713.334a00a4.async.js b/52713.334a00a4.async.js
new file mode 100644
index 0000000000..9c6a5545b7
--- /dev/null
+++ b/52713.334a00a4.async.js
@@ -0,0 +1,944 @@
+"use strict";
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[52713],{
+
+/***/ 20103:
+/*!**********************************!*\
+ !*** ./src/service/magazine.tsx ***!
+ \**********************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ $: function() { return /* binding */ getMyMagazinList; },
+/* harmony export */ BL: function() { return /* binding */ getMagazinCheck; },
+/* harmony export */ E: function() { return /* binding */ canclePost; },
+/* harmony export */ OD: function() { return /* binding */ editArticle; },
+/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
+/* harmony export */ QM: function() { return /* binding */ postMagazin; },
+/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
+/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
+/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
+/* harmony export */ fp: function() { return /* binding */ modifyOtherMagazine; },
+/* harmony export */ id: function() { return /* binding */ getMagazinColumn; },
+/* harmony export */ j: function() { return /* binding */ getMagazinRecArc; },
+/* harmony export */ lR: function() { return /* binding */ getMagazinDetail; },
+/* harmony export */ lp: function() { return /* binding */ getReviewProgress; },
+/* harmony export */ o7: function() { return /* binding */ getMagazinNew; },
+/* harmony export */ rZ: function() { return /* binding */ getStatistic; },
+/* harmony export */ t_: function() { return /* binding */ getReviewList; },
+/* harmony export */ vn: function() { return /* binding */ getMagazinHot; },
+/* harmony export */ zo: function() { return /* binding */ getMagazinRec; }
+/* harmony export */ });
+/* unused harmony exports getMagazinList, reviewCount */
+/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
+/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
+/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
+/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__);
+/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 82710);
+
+
+
+
+
+//首页-热门期刊
+function getMagazinHot() {
+ return _getMagazinHot.apply(this, arguments);
+}
+//首页-最新期刊
+function _getMagazinHot() {
+ _getMagazinHot = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) {
+ while (1) switch (_context.prev = _context.next) {
+ case 0:
+ return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/hot.json", {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context.stop();
+ }
+ }, _callee);
+ }));
+ return _getMagazinHot.apply(this, arguments);
+}
+function getMagazinNew() {
+ return _getMagazinNew.apply(this, arguments);
+}
+
+//首页-推荐期刊
+function _getMagazinNew() {
+ _getMagazinNew = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) {
+ while (1) switch (_context2.prev = _context2.next) {
+ case 0:
+ return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/featured.json", {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context2.stop();
+ }
+ }, _callee2);
+ }));
+ return _getMagazinNew.apply(this, arguments);
+}
+function getMagazinRec(_x) {
+ return _getMagazinRec.apply(this, arguments);
+}
+
+//首页-统计数据
+function _getMagazinRec() {
+ _getMagazinRec = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) {
+ while (1) switch (_context3.prev = _context3.next) {
+ case 0:
+ return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/recommended.json", {
+ method: 'get',
+ params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context3.stop();
+ }
+ }, _callee3);
+ }));
+ return _getMagazinRec.apply(this, arguments);
+}
+function getStatistic() {
+ return _getStatistic.apply(this, arguments);
+}
+
+//首页-获取分类
+function _getStatistic() {
+ _getStatistic = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4() {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) {
+ while (1) switch (_context4.prev = _context4.next) {
+ case 0:
+ return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/statics.json", {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context4.stop();
+ }
+ }, _callee4);
+ }));
+ return _getStatistic.apply(this, arguments);
+}
+function getMagazinCat() {
+ return _getMagazinCat.apply(this, arguments);
+}
+function _getMagazinCat() {
+ _getMagazinCat = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5() {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) {
+ while (1) switch (_context5.prev = _context5.next) {
+ case 0:
+ return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/types.json", {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context5.stop();
+ }
+ }, _callee5);
+ }));
+ return _getMagazinCat.apply(this, arguments);
+}
+function getMagazinRecArc(_x2) {
+ return _getMagazinRecArc.apply(this, arguments);
+}
+
+//首页-获取文章列表
+function _getMagazinRecArc() {
+ _getMagazinRecArc = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) {
+ while (1) switch (_context6.prev = _context6.next) {
+ case 0:
+ return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/recommended.json", {
+ method: 'post',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context6.stop();
+ }
+ }, _callee6);
+ }));
+ return _getMagazinRecArc.apply(this, arguments);
+}
+function getMagazinList(_x3) {
+ return _getMagazinList.apply(this, arguments);
+}
+
+// 我的期刊
+function _getMagazinList() {
+ _getMagazinList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(params) {
+ return _regeneratorRuntime().wrap(function _callee7$(_context7) {
+ while (1) switch (_context7.prev = _context7.next) {
+ case 0:
+ return _context7.abrupt("return", Fetch("/api/articles.json", {
+ method: 'get',
+ params: _objectSpread({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context7.stop();
+ }
+ }, _callee7);
+ }));
+ return _getMagazinList.apply(this, arguments);
+}
+function getMyMagazinList() {
+ return _getMyMagazinList.apply(this, arguments);
+}
+
+// 获取期刊详情
+function _getMyMagazinList() {
+ _getMyMagazinList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8() {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) {
+ while (1) switch (_context8.prev = _context8.next) {
+ case 0:
+ return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/mine.json", {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context8.stop();
+ }
+ }, _callee8);
+ }));
+ return _getMyMagazinList.apply(this, arguments);
+}
+function getMagazinDetail(_x4) {
+ return _getMagazinDetail.apply(this, arguments);
+}
+
+// 获取期刊栏目
+function _getMagazinDetail() {
+ _getMagazinDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) {
+ while (1) switch (_context9.prev = _context9.next) {
+ case 0:
+ return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
+ method: 'get',
+ params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context9.stop();
+ }
+ }, _callee9);
+ }));
+ return _getMagazinDetail.apply(this, arguments);
+}
+function getMagazinColumn(_x5) {
+ return _getMagazinColumn.apply(this, arguments);
+}
+
+// 投稿
+function _getMagazinColumn() {
+ _getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _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/categories.json", {
+ method: 'get',
+ params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context10.stop();
+ }
+ }, _callee10);
+ }));
+ return _getMagazinColumn.apply(this, arguments);
+}
+function postMagazin(_x6) {
+ return _postMagazin.apply(this, arguments);
+}
+
+// 审核
+function _postMagazin() {
+ _postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
+ while (1) switch (_context11.prev = _context11.next) {
+ case 0:
+ return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
+ method: 'post',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context11.stop();
+ }
+ }, _callee11);
+ }));
+ return _postMagazin.apply(this, arguments);
+}
+function getMagazinCheck(_x7) {
+ return _getMagazinCheck.apply(this, arguments);
+}
+
+// 审核列表
+function _getMagazinCheck() {
+ _getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
+ while (1) switch (_context12.prev = _context12.next) {
+ case 0:
+ return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
+ method: 'post',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context12.stop();
+ }
+ }, _callee12);
+ }));
+ return _getMagazinCheck.apply(this, arguments);
+}
+function getReviewList(_x8) {
+ return _getReviewList.apply(this, arguments);
+}
+
+// 审核进度
+function _getReviewList() {
+ _getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
+ while (1) switch (_context13.prev = _context13.next) {
+ case 0:
+ return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
+ method: 'get',
+ params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context13.stop();
+ }
+ }, _callee13);
+ }));
+ return _getReviewList.apply(this, arguments);
+}
+function getReviewProgress(_x9) {
+ return _getReviewProgress.apply(this, arguments);
+}
+
+//取消投稿
+function _getReviewProgress() {
+ _getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
+ while (1) switch (_context14.prev = _context14.next) {
+ case 0:
+ return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
+ method: 'get',
+ params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context14.stop();
+ }
+ }, _callee14);
+ }));
+ return _getReviewProgress.apply(this, arguments);
+}
+function canclePost(_x10) {
+ return _canclePost.apply(this, arguments);
+}
+
+// 编辑稿件
+function _canclePost() {
+ _canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
+ while (1) switch (_context15.prev = _context15.next) {
+ case 0:
+ return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
+ method: 'post',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context15.stop();
+ }
+ }, _callee15);
+ }));
+ return _canclePost.apply(this, arguments);
+}
+function editArticle(_x11) {
+ return _editArticle.apply(this, arguments);
+}
+
+// 其他期刊 -获取
+function _editArticle() {
+ _editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
+ while (1) switch (_context16.prev = _context16.next) {
+ case 0:
+ return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
+ method: 'post',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context16.stop();
+ }
+ }, _callee16);
+ }));
+ return _editArticle.apply(this, arguments);
+}
+function getOtherMagazine() {
+ return _getOtherMagazine.apply(this, arguments);
+}
+
+// 其他期刊 -创建
+function _getOtherMagazine() {
+ _getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17() {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
+ while (1) switch (_context17.prev = _context17.next) {
+ case 0:
+ return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
+ method: 'get'
+ }));
+ case 1:
+ case "end":
+ return _context17.stop();
+ }
+ }, _callee17);
+ }));
+ return _getOtherMagazine.apply(this, arguments);
+}
+function createOtherMagazine(_x12) {
+ return _createOtherMagazine.apply(this, arguments);
+}
+
+// 其他期刊 -修改
+function _createOtherMagazine() {
+ _createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
+ while (1) switch (_context18.prev = _context18.next) {
+ case 0:
+ return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
+ method: 'post',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context18.stop();
+ }
+ }, _callee18);
+ }));
+ return _createOtherMagazine.apply(this, arguments);
+}
+function modifyOtherMagazine(_x13) {
+ return _modifyOtherMagazine.apply(this, arguments);
+}
+
+// 其他期刊 -删除
+function _modifyOtherMagazine() {
+ _modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
+ while (1) switch (_context19.prev = _context19.next) {
+ case 0:
+ return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
+ method: 'put',
+ body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
+ }));
+ case 1:
+ case "end":
+ return _context19.stop();
+ }
+ }, _callee19);
+ }));
+ return _modifyOtherMagazine.apply(this, arguments);
+}
+function delOtherMagazine(_x14) {
+ return _delOtherMagazine.apply(this, arguments);
+}
+
+// 文章阅读量+1
+function _delOtherMagazine() {
+ _delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
+ return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
+ while (1) switch (_context20.prev = _context20.next) {
+ case 0:
+ return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
+ method: 'delete'
+ }));
+ case 1:
+ case "end":
+ return _context20.stop();
+ }
+ }, _callee20);
+ }));
+ return _delOtherMagazine.apply(this, arguments);
+}
+function reviewCount(_x15) {
+ return _reviewCount.apply(this, arguments);
+}
+function _reviewCount() {
+ _reviewCount = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(params) {
+ return _regeneratorRuntime().wrap(function _callee21$(_context21) {
+ while (1) switch (_context21.prev = _context21.next) {
+ case 0:
+ return _context21.abrupt("return", Fetch("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
+ method: 'put'
+ }));
+ case 1:
+ case "end":
+ return _context21.stop();
+ }
+ }, _callee21);
+ }));
+ return _reviewCount.apply(this, arguments);
+}
+
+/***/ }),
+
+/***/ 10777:
+/*!************************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/timeline/index.js + 5 modules ***!
+ \************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ timeline; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
+var _classnames_2_5_1_classnames = __webpack_require__(92310);
+var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
+var context = __webpack_require__(36355);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/TimelineItem.js
+"use client";
+
+var __rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+
+
+
+const TimelineItem = _a => {
+ var {
+ prefixCls: customizePrefixCls,
+ className,
+ color = 'blue',
+ dot,
+ pending = false,
+ position /** Dead, but do not pass in
{
+ var {
+ prefixCls,
+ className,
+ pending = false,
+ children,
+ items,
+ rootClassName,
+ reverse = false,
+ direction,
+ hashId,
+ pendingDot,
+ mode = ''
+ } = _a,
+ restProps = TimelineItemList_rest(_a, ["prefixCls", "className", "pending", "children", "items", "rootClassName", "reverse", "direction", "hashId", "pendingDot", "mode"]);
+ const getPositionCls = (position, idx) => {
+ if (mode === 'alternate') {
+ if (position === 'right') return `${prefixCls}-item-right`;
+ if (position === 'left') return `${prefixCls}-item-left`;
+ return idx % 2 === 0 ? `${prefixCls}-item-left` : `${prefixCls}-item-right`;
+ }
+ if (mode === 'left') return `${prefixCls}-item-left`;
+ if (mode === 'right') return `${prefixCls}-item-right`;
+ if (position === 'right') return `${prefixCls}-item-right`;
+ return '';
+ };
+ const mergedItems = (0,toConsumableArray/* default */.Z)(items || []);
+ const pendingNode = typeof pending === 'boolean' ? null : pending;
+ if (pending) {
+ mergedItems.push({
+ pending: !!pending,
+ dot: pendingDot || /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null),
+ children: pendingNode
+ });
+ }
+ if (reverse) {
+ mergedItems.reverse();
+ }
+ const itemsCount = mergedItems.length;
+ const lastCls = `${prefixCls}-item-last`;
+ const itemsList = mergedItems.filter(item => !!item).map((item, idx) => {
+ var _a;
+ const pendingClass = idx === itemsCount - 2 ? lastCls : '';
+ const readyClass = idx === itemsCount - 1 ? lastCls : '';
+ const {
+ className: itemClassName
+ } = item,
+ itemProps = TimelineItemList_rest(item, ["className"]);
+ return /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItem, Object.assign({}, itemProps, {
+ className: _classnames_2_5_1_classnames_default()([itemClassName, !reverse && !!pending ? pendingClass : readyClass, getPositionCls((_a = item === null || item === void 0 ? void 0 : item.position) !== null && _a !== void 0 ? _a : '', idx)]),
+ /* eslint-disable-next-line react/no-array-index-key */
+ key: (item === null || item === void 0 ? void 0 : item.key) || idx
+ }));
+ });
+ const hasLabelItem = mergedItems.some(item => !!(item === null || item === void 0 ? void 0 : item.label));
+ const classString = _classnames_2_5_1_classnames_default()(prefixCls, {
+ [`${prefixCls}-pending`]: !!pending,
+ [`${prefixCls}-reverse`]: !!reverse,
+ [`${prefixCls}-${mode}`]: !!mode && !hasLabelItem,
+ [`${prefixCls}-label`]: hasLabelItem,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ return /*#__PURE__*/_react_17_0_2_react.createElement("ul", Object.assign({}, restProps, {
+ className: classString
+ }), itemsList);
+};
+/* harmony default export */ var timeline_TimelineItemList = (TimelineItemList);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/Children/toArray.js
+var toArray = __webpack_require__(38298);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/useItems.js
+"use client";
+
+
+function useItems(items, children) {
+ if (items && Array.isArray(items)) return items;
+ return (0,toArray/* default */.Z)(children).map(ele => {
+ var _a, _b;
+ return Object.assign({
+ children: (_b = (_a = ele === null || ele === void 0 ? void 0 : ele.props) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : ''
+ }, ele.props);
+ });
+}
+/* harmony default export */ var timeline_useItems = (useItems);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
+var genComponentStyleHook = __webpack_require__(83116);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
+var statistic = __webpack_require__(37613);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/style/index.js
+
+
+const genTimelineStyle = token => {
+ const {
+ componentCls
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ margin: 0,
+ padding: 0,
+ listStyle: 'none',
+ [`${componentCls}-item`]: {
+ position: 'relative',
+ margin: 0,
+ paddingBottom: token.itemPaddingBottom,
+ fontSize: token.fontSize,
+ listStyle: 'none',
+ '&-tail': {
+ position: 'absolute',
+ insetBlockStart: token.itemHeadSize,
+ insetInlineStart: (token.itemHeadSize - token.tailWidth) / 2,
+ height: `calc(100% - ${token.itemHeadSize}px)`,
+ borderInlineStart: `${token.tailWidth}px ${token.lineType} ${token.tailColor}`
+ },
+ '&-pending': {
+ [`${componentCls}-item-head`]: {
+ fontSize: token.fontSizeSM,
+ backgroundColor: 'transparent'
+ },
+ [`${componentCls}-item-tail`]: {
+ display: 'none'
+ }
+ },
+ '&-head': {
+ position: 'absolute',
+ width: token.itemHeadSize,
+ height: token.itemHeadSize,
+ backgroundColor: token.dotBg,
+ border: `${token.dotBorderWidth}px ${token.lineType} transparent`,
+ borderRadius: '50%',
+ '&-blue': {
+ color: token.colorPrimary,
+ borderColor: token.colorPrimary
+ },
+ '&-red': {
+ color: token.colorError,
+ borderColor: token.colorError
+ },
+ '&-green': {
+ color: token.colorSuccess,
+ borderColor: token.colorSuccess
+ },
+ '&-gray': {
+ color: token.colorTextDisabled,
+ borderColor: token.colorTextDisabled
+ }
+ },
+ '&-head-custom': {
+ position: 'absolute',
+ insetBlockStart: token.itemHeadSize / 2,
+ insetInlineStart: token.itemHeadSize / 2,
+ width: 'auto',
+ height: 'auto',
+ marginBlockStart: 0,
+ paddingBlock: token.customHeadPaddingVertical,
+ lineHeight: 1,
+ textAlign: 'center',
+ border: 0,
+ borderRadius: 0,
+ transform: `translate(-50%, -50%)`
+ },
+ '&-content': {
+ position: 'relative',
+ insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.lineWidth,
+ marginInlineStart: token.margin + token.itemHeadSize,
+ marginInlineEnd: 0,
+ marginBlockStart: 0,
+ marginBlockEnd: 0,
+ wordBreak: 'break-word'
+ },
+ '&-last': {
+ [`> ${componentCls}-item-tail`]: {
+ display: 'none'
+ },
+ [`> ${componentCls}-item-content`]: {
+ minHeight: token.controlHeightLG * 1.2
+ }
+ }
+ },
+ [`&${componentCls}-alternate,
+ &${componentCls}-right,
+ &${componentCls}-label`]: {
+ [`${componentCls}-item`]: {
+ '&-tail, &-head, &-head-custom': {
+ insetInlineStart: '50%'
+ },
+ '&-head': {
+ marginInlineStart: `-${token.marginXXS}px`,
+ '&-custom': {
+ marginInlineStart: token.tailWidth / 2
+ }
+ },
+ '&-left': {
+ [`${componentCls}-item-content`]: {
+ insetInlineStart: `calc(50% - ${token.marginXXS}px)`,
+ width: `calc(50% - ${token.marginSM}px)`,
+ textAlign: 'start'
+ }
+ },
+ '&-right': {
+ [`${componentCls}-item-content`]: {
+ width: `calc(50% - ${token.marginSM}px)`,
+ margin: 0,
+ textAlign: 'end'
+ }
+ }
+ }
+ },
+ [`&${componentCls}-right`]: {
+ [`${componentCls}-item-right`]: {
+ [`${componentCls}-item-tail,
+ ${componentCls}-item-head,
+ ${componentCls}-item-head-custom`]: {
+ insetInlineStart: `calc(100% - ${(token.itemHeadSize + token.tailWidth) / 2}px)`
+ },
+ [`${componentCls}-item-content`]: {
+ width: `calc(100% - ${token.itemHeadSize + token.marginXS}px)`
+ }
+ }
+ },
+ [`&${componentCls}-pending
+ ${componentCls}-item-last
+ ${componentCls}-item-tail`]: {
+ display: 'block',
+ height: `calc(100% - ${token.margin}px)`,
+ borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}`
+ },
+ [`&${componentCls}-reverse
+ ${componentCls}-item-last
+ ${componentCls}-item-tail`]: {
+ display: 'none'
+ },
+ [`&${componentCls}-reverse ${componentCls}-item-pending`]: {
+ [`${componentCls}-item-tail`]: {
+ insetBlockStart: token.margin,
+ display: 'block',
+ height: `calc(100% - ${token.margin}px)`,
+ borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}`
+ },
+ [`${componentCls}-item-content`]: {
+ minHeight: token.controlHeightLG * 1.2
+ }
+ },
+ [`&${componentCls}-label`]: {
+ [`${componentCls}-item-label`]: {
+ position: 'absolute',
+ insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.tailWidth,
+ width: `calc(50% - ${token.marginSM}px)`,
+ textAlign: 'end'
+ },
+ [`${componentCls}-item-right`]: {
+ [`${componentCls}-item-label`]: {
+ insetInlineStart: `calc(50% + ${token.marginSM}px)`,
+ width: `calc(50% - ${token.marginSM}px)`,
+ textAlign: 'start'
+ }
+ }
+ },
+ // ====================== RTL =======================
+ '&-rtl': {
+ direction: 'rtl',
+ [`${componentCls}-item-head-custom`]: {
+ transform: `translate(50%, -50%)`
+ }
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var timeline_style = ((0,genComponentStyleHook/* default */.Z)('Timeline', token => {
+ const timeLineToken = (0,statistic/* merge */.TS)(token, {
+ itemHeadSize: 10,
+ customHeadPaddingVertical: token.paddingXXS,
+ paddingInlineEnd: 2
+ });
+ return [genTimelineStyle(timeLineToken)];
+}, token => ({
+ tailColor: token.colorSplit,
+ tailWidth: token.lineWidthBold,
+ dotBorderWidth: token.wireframe ? token.lineWidthBold : token.lineWidth * 3,
+ dotBg: token.colorBgContainer,
+ itemPaddingBottom: token.padding * 1.25
+})));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/Timeline.js
+"use client";
+
+var Timeline_rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+
+
+
+
+
+
+
+// CSSINJS
+
+const Timeline = props => {
+ const {
+ getPrefixCls,
+ direction,
+ timeline
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ children,
+ items,
+ className,
+ style
+ } = props,
+ restProps = Timeline_rest(props, ["prefixCls", "children", "items", "className", "style"]);
+ const prefixCls = getPrefixCls('timeline', customizePrefixCls);
+ // =================== Warning =====================
+ if (false) {}
+ // Style
+ const [wrapSSR, hashId] = timeline_style(prefixCls);
+ const mergedItems = timeline_useItems(items, children);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItemList, Object.assign({}, restProps, {
+ className: _classnames_2_5_1_classnames_default()(timeline === null || timeline === void 0 ? void 0 : timeline.className, className),
+ style: Object.assign(Object.assign({}, timeline === null || timeline === void 0 ? void 0 : timeline.style), style),
+ prefixCls: prefixCls,
+ direction: direction,
+ items: mergedItems,
+ hashId: hashId
+ })));
+};
+Timeline.Item = timeline_TimelineItem;
+if (false) {}
+/* harmony default export */ var timeline_Timeline = (Timeline);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/index.js
+"use client";
+
+
+/* harmony default export */ var timeline = (timeline_Timeline);
+
+/***/ }),
+
+/***/ 69871:
+/*!********************************************!*\
+ !*** ./src/pages/Magazinejor/img/time.png ***!
+ \********************************************/
+/***/ (function(module) {
+
+module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAoCAYAAACSN4jeAAAAAXNSR0IArs4c6QAADFdJREFUWEfNWGtsHNd1/s69szu7y33yJZKiTJmkIku0acuUCxsNEAlO66ati6KFlLgy0DQJnBRwWigo7D6SmE5itEVRI3XQwk7jxAZkOE3cIoBdN3WNWIEfSgrRVfQWJcu0ZL5ELsnlPmd25p72zOxSlEg6KJAfWWAxs3fu7v32PL7znUNovJiZHn0UdBhQxakxqvXEyclHqfn8F32121yOTVW5/6MjZug0+JFHwETEzXOCg0dHWb04NaZTPW16uuJErPpCxPFi2leuStTVLxxczdSNNraxddQ3pOuOjtZ72wb9PYAZHSUjmIJD94yyVZwai5YjfvyNvxl5Ph3Xd4Oh5NnKX7jOZLLOjYcm+BDulbWV63Vrwe81vkMEKALPLPGJ/V87uScZK9V677rL/d4+GLEciQu3/cmFaNyrJlxdzR57/I7TBIqtPiTAJAsECIjgcA7vjfm/v4nwKltWX2Wd5bnsa4JiQEBpBUQ0ELFgPvPN8aFT48XpeE+8evKRnfUAWMONsZpl0lXP63j2C8MHP9QV+x3DbMVtqwUMKwDUOMCXQ/zwMLn3m+vm6r3sDfY115qAG9ZiwKv7phSLwszknTcOfvvUQxGf8j09baU92OqKOwNg/1Y6HndqfsZ3nS5W3MeGthrwDf/+pZE/3JSN5jwfqAsAA8h9AMgHvMbBwbUBJLhv7FnZ2/iu/EFFjOWKu/RXz7z9pAJdIsYERfUl9utznXEq3pO5y1kB9uLUWGwh7qWoajqh0AeDQQYG//XPb7+/I2tn6gLCA4LrKjDyWSwmawKieW2uybXuhW6Ul4CKWECl6ha+9tzYU6zUBfLxLlvWZVuZ+a6OzvKKxZoxltSleKnit/nkbCZggJl2fPeh2x5oT8cztXoIyq2HQMR68hYwYsUmwAB4A2BzLbAkcyOuGAmbUK/XF7966OjjIDUO8IRS1jRpU8g4VvXoUyNeEGPNrHQKRyIzRqXFaoZUPzEPPf/QbX+WScRyVRdwBFwDxPUWuh6MgJIY9AyHgS8BrwDbAlpsyRxvYfSZsS8T4SwsfTke9ec7Mt2Vjp1b6ytZ2eQxIdbpyrm4W863sktbFXjoqc/f9pdducTmigtU64DrrbVI071XwYZgxLI+yz0Fn5VixCJANsFwHff9xw4de5i0Ohf1rakEUOj/6IjTBLXCYyG/hLThq3yWarTFsBn64v5tD45sa9tdrAE1sZokgYBbJ65kLcxUDhOhCU6sBoZWhBYbyCUYk3Olnz754tm/jmgej3HLTNR3S00XXsP8zQ8jDxyN1FrcVK3KPcbQju52+1cf//RtD1YcpcsOUGskQBBnjXgKKeMqmNB9FAJscJwQnKUZSRtobSHz7R+O/+3EZOFwROsLlErNDe/eXvn+fvJXc/g15UYqwKWpsRaQ1wlgG9gMf/o3+g/c8aFNNwswcam7KsCbBOsjBCYAVyzXpBBmqEZ8pWOMufnls4deGX+CtTqpiCaynsrf2zNSa5aidS3W5LRyxWllz/QxmZ1gDD+875ZPtOeSbaVaGGeuz2CJHYh1xFXEk3PLfns2qaUSe74AJPiSsoqgFaMlCsB3it95+dSTXs17mzSdY/AkRToL558YdFcX8GtibHWcKaeQ8uB2C20Y0E47Srd89reGPtaaTmYqLoeUsFJEGW8ev7x89NxkeaC3Pb5390A2tCpDfKM1IWYxyNSrL/343A9mlyo/IdJnlDbvshedu6FnpPzaI/B/LrC9j0LPXTkdq3rVVkX+Zt94g6xohyK17b49gx/p627tkFiTWBJsmoA3T7w3f/TMdH5gS3v6IyP93a6hAJi8IpZkoVN6+fWz/1msuMcAnNVE79jKmk7bXqHJ9NfLqjWSRtx5KH8hIkW9bCrtxOg1ZPrJ0DYmM3j3yNY7hge7en1AGSPxQyBmM7tULmdTLYm6Ye0G5MuwNLC4VM6/8tb4a27dPyOEqoy5aKI8qZVeXE2oPxeY0Mb+70O9f+RIdM6LJZVTa/MIm5npRmIpVTzQ05kavHvkxpsy6VigQkSxif0kUx0vpAzPM/6J8emLJ87PjBHjAhMuEJl3NduTcR1dqFrxyv1tg/Xrg37d4G8uCjhxqWi0JeUklVJtfh2bDfEAQSzHA3t39e0eGtjUKx5jDt0alKlA/jAKy5Xlw/998Y1SuXqSicYVq4scockokJeauJrl11PHG6rTJjiJN085ad+rbWJg681bc3vvubPvftLRXLHGcD1G3ZC5slCqZtItMVIBlwaclbTZPfNO/qX/eOu9Z2HRRILUlZinllM9I+56Ab8hj61+sNpqojzgYtOn7tn2yTu3Zx/MlzmSrwBFh+F4jLdPT00fPzeV39KTS991e/8NmoTlGW0thJ6M4ktztVe//sLpg01ps1qprmetNXSx2pUSZ//z+gVLksCBk/vigR1fuak3ft+VEqu5IrBYYVS8sC7+8PXzJ6fmCssJOxq799eHbxd1G7UYuTihK03oSRMml/yffumZox+nur0kSnUfdnobxdeGwJqZKVKo6rm5Lx+45as3bbYPzJWA2aLBQgUouSHTRzThlbfO/+TS5OJsSyKWvvfXbt5brYdU0WIT2sVqaUJ3mvDeQv3N0e+cuM9KppeSS6Xa9fXxA10pLtz92TGrYHtx41jZB367/w/uvjX72HyJlYCaLwOFWuhCASWMfvjoxI/PT8xPZDMtHR/bs/03CzWCgBNNn44RNiWBnoy4lXDkfPnvn3np4uN2TBdak8PORrG2Jvj3fY/1xVfH7AqQcbXX8/TB3T+q1pGeKTJmS+JCE9RMkcmirzIxQqFYnvyvIxOHf+XW3jtzudSAWLToShFnxC2Swh1YbUuWkI1R5S++derD1ZJ32diZ4kaUcQ0wsdbNj56OqFm/pQSn84/vHfjCrv70A1MFxvQyI19hLNdCWpDeNBElpG0gFZOuJ7TSQpkxV2FIxjp+KHcEfEcLsCWrcGMb4cRE5Vv/8vKZxzidy3cntlcPj5L3gQTb7JhKUZV1XGfL6Cd3PR2P6aHJAkPia9lhSK2UgJf2KxYoUgQABajjEZZqBoVqaDGR5MJpUQ3k4iqIs/42kdbemSeeP7Y/oq1p3ZEsNlu2DWNM3Hj86LmEv1Tq9MnrH/2jWw85vtUpblysMuYWa85yteZKI6+JfK3h2xHla02+JrDrG1WrQ1Vc33I8aMdjxWCK2FGdTcfjnUmFrTlCyubZf3juZ7+rdfRSa6S2uF69XKPH8rMnUlVT6WYy2x+6f9c3K55unysxZhaq5R+9fuo8gBpANQIcEDtgcpngEtgwkybiKEBRgG2AbDDiDI72D23r6+tO5jZnFLK2mf+n7x77RJToHa3S8/s6d1Y21GNNac31KxmQ3mIMdvzpx4e/XjVW21LVYKHolF597eQRgAoMLikiR/oNgESdBY22pAQxa5C0HoiAIbU0RYT09lsGdnV1plo7k4R01Mw//cLxT0WYzycS8Rld8cvrSmuJrdXNCDz0EdTOz/ze8GMuIq0lxwRB7Ne9kvG9xZhFxlJgVoqZRS6GsCSCw9mFgu/75PpMFRfKZ0pTJJKRbdkYIRU1+ed+8LPPk1LjH9iMiKSW9u1KlVMPHxj+Sndr7PdnCn5koaZb8mVjVesGVoOzJMPiUYKlOJjIBPOKVfOMsJyLepUegQMiXqgYFJ1QdaRsha4U/I64KnZniGeL3qv/+MKxz61p31Y3vBXHa3324V0niw7ilxYN3i8w8uWraZ+IICBUO0KBQCSR1pD2bO1MSICJkpUsXnaAsvAaA/Ibm5IKfTnC1pxCV1qZz/3z+I6FfGHmmoa3SRHNEcHBA8Pf2JS2PzxbYj1dNFiqisYKO2lJe9uiQABKux/K8cYwqzFyamZTc+BS84FaPaQOcboQblsiLFG9WW0WS/WTf/fcqf1rRgQfNFQB0EmMtASy9B4ErodZKITIRmZYG6kDaUoIrAFYkqXSwTX2OmBeAtFMc6gCbS4DuLLuUKU5hjIKPYq5B0ybDJBRhDgz5AAxjSj9IAMDUKQ2BBbgJiJFUGxYIcApgUMeMZVJYRGEWTI0ZbSeWjOGun5w5/ncagxaAT8DgziBIhym/9UXbWypNRZkCYJVXyXjg5RLhsuAKhiiBaVpgT21fM3gTr6yetTp1nWLBTfBlhXzfbYMm4a1NnLa/2+dFDOxNqzYJUU1y/fLNiUra0ad8rO/tMPhMLt+ucbp/wuUjSKhPeqttQAAAABJRU5ErkJggg==";
+
+/***/ })
+
+}]);
\ No newline at end of file
diff --git a/58585.086b92e0.async.js b/58585.086b92e0.async.js
new file mode 100644
index 0000000000..beb3ad48c7
--- /dev/null
+++ b/58585.086b92e0.async.js
@@ -0,0 +1,1255 @@
+"use strict";
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[58585,90606,94974,40115],{
+
+/***/ 76466:
+/*!********************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/DeleteOutlined.js + 1 modules ***!
+ \********************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_DeleteOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(16378);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/DeleteOutlined.js
+// This icon file is generated automatically.
+var DeleteOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
+/* harmony default export */ var asn_DeleteOutlined = (DeleteOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(31533);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/DeleteOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var DeleteOutlined_DeleteOutlined = function DeleteOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_DeleteOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(DeleteOutlined_DeleteOutlined);
+if (false) {}
+/* harmony default export */ var icons_DeleteOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 21646:
+/*!**************************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js + 1 modules ***!
+ \**************************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_EyeInvisibleOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(16378);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
+// This icon file is generated automatically.
+var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
+/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(31533);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_EyeInvisibleOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined);
+if (false) {}
+/* harmony default export */ var icons_EyeInvisibleOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 20970:
+/*!*****************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
+ \*****************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_EyeOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(16378);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/EyeOutlined.js
+// This icon file is generated automatically.
+var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
+/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(31533);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_EyeOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined);
+if (false) {}
+/* harmony default export */ var icons_EyeOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 92832:
+/*!*********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules ***!
+ \*********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ input; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
+var _classnames_2_5_1_classnames = __webpack_require__(92310);
+var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
+var form_context = __webpack_require__(32441);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js
+var style = __webpack_require__(9937);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js
+"use client";
+
+
+
+
+
+
+
+
+const Group = props => {
+ const {
+ getPrefixCls,
+ direction
+ } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ className
+ } = props;
+ const prefixCls = getPrefixCls('input-group', customizePrefixCls);
+ const inputPrefixCls = getPrefixCls('input');
+ const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls);
+ const cls = _classnames_2_5_1_classnames_default()(prefixCls, {
+ [`${prefixCls}-lg`]: props.size === 'large',
+ [`${prefixCls}-sm`]: props.size === 'small',
+ [`${prefixCls}-compact`]: props.compact,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, hashId, className);
+ const formItemContext = (0,_react_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM);
+ const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
+ isFormItemInput: false
+ }), [formItemContext]);
+ if (false) {}
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: cls,
+ style: props.style,
+ onMouseEnter: props.onMouseEnter,
+ onMouseLeave: props.onMouseLeave,
+ onFocus: props.onFocus,
+ onBlur: props.onBlur
+ }, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, {
+ value: groupFormItemContext
+ }, props.children)));
+};
+/* harmony default export */ var input_Group = (Group);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules
+var Input = __webpack_require__(9432);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeInvisibleOutlined.js + 1 modules
+var EyeInvisibleOutlined = __webpack_require__(21646);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
+var EyeOutlined = __webpack_require__(20970);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/omit.js
+var omit = __webpack_require__(64002);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/ref.js
+var es_ref = __webpack_require__(20475);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js
+var useRemovePasswordTimeout = __webpack_require__(59412);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Password.js
+"use client";
+
+var __rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+
+
+
+
+
+
+
+
+
+
+const defaultIconRender = visible => visible ? /*#__PURE__*/_react_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(EyeInvisibleOutlined/* default */.Z, null);
+const ActionMap = {
+ click: 'onClick',
+ hover: 'onMouseOver'
+};
+const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ visibilityToggle = true
+ } = props;
+ const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
+ const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
+ const inputRef = (0,_react_17_0_2_react.useRef)(null);
+ _react_17_0_2_react.useEffect(() => {
+ if (visibilityControlled) {
+ setVisible(visibilityToggle.visible);
+ }
+ }, [visibilityControlled, visibilityToggle]);
+ // Remove Password value
+ const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
+ const onVisibleChange = () => {
+ const {
+ disabled
+ } = props;
+ if (disabled) {
+ return;
+ }
+ if (visible) {
+ removePasswordTimeout();
+ }
+ setVisible(prevState => {
+ var _a;
+ const newState = !prevState;
+ if (typeof visibilityToggle === 'object') {
+ (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
+ }
+ return newState;
+ });
+ };
+ const getIcon = prefixCls => {
+ const {
+ action = 'click',
+ iconRender = defaultIconRender
+ } = props;
+ const iconTrigger = ActionMap[action] || '';
+ const icon = iconRender(visible);
+ const iconProps = {
+ [iconTrigger]: onVisibleChange,
+ className: `${prefixCls}-icon`,
+ key: 'passwordIcon',
+ onMouseDown: e => {
+ // Prevent focused state lost
+ // https://github.com/ant-design/ant-design/issues/15173
+ e.preventDefault();
+ },
+ onMouseUp: e => {
+ // Prevent caret position change
+ // https://github.com/ant-design/ant-design/issues/23524
+ e.preventDefault();
+ }
+ };
+ return /*#__PURE__*/_react_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps);
+ };
+ const {
+ className,
+ prefixCls: customizePrefixCls,
+ inputPrefixCls: customizeInputPrefixCls,
+ size
+ } = props,
+ restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
+ const {
+ getPrefixCls
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
+ const prefixCls = getPrefixCls('input-password', customizePrefixCls);
+ const suffixIcon = visibilityToggle && getIcon(prefixCls);
+ const inputClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, {
+ [`${prefixCls}-${size}`]: !!size
+ });
+ const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
+ type: visible ? 'text' : 'password',
+ className: inputClassName,
+ prefixCls: inputPrefixCls,
+ suffix: suffixIcon
+ });
+ if (size) {
+ omittedProps.size = size;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({
+ ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
+ }, omittedProps));
+});
+if (false) {}
+/* harmony default export */ var input_Password = (Password);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
+var SearchOutlined = __webpack_require__(56981);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
+var reactNode = __webpack_require__(92343);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
+var es_button = __webpack_require__(3113);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
+var useSize = __webpack_require__(19716);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
+var Compact = __webpack_require__(33234);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Search.js
+"use client";
+
+var Search_rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+
+
+
+
+
+
+
+
+
+
+const Search = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ prefixCls: customizePrefixCls,
+ inputPrefixCls: customizeInputPrefixCls,
+ className,
+ size: customizeSize,
+ suffix,
+ enterButton = false,
+ addonAfter,
+ loading,
+ disabled,
+ onSearch: customOnSearch,
+ onChange: customOnChange,
+ onCompositionStart,
+ onCompositionEnd
+ } = props,
+ restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
+ const {
+ getPrefixCls,
+ direction
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const composedRef = _react_17_0_2_react.useRef(false);
+ const prefixCls = getPrefixCls('input-search', customizePrefixCls);
+ const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
+ const {
+ compactSize
+ } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
+ const size = (0,useSize/* default */.Z)(ctx => {
+ var _a;
+ return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
+ });
+ const inputRef = _react_17_0_2_react.useRef(null);
+ const onChange = e => {
+ if (e && e.target && e.type === 'click' && customOnSearch) {
+ customOnSearch(e.target.value, e, {
+ source: 'clear'
+ });
+ }
+ if (customOnChange) {
+ customOnChange(e);
+ }
+ };
+ const onMouseDown = e => {
+ var _a;
+ if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
+ e.preventDefault();
+ }
+ };
+ const onSearch = e => {
+ var _a, _b;
+ if (customOnSearch) {
+ customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e, {
+ source: 'input'
+ });
+ }
+ };
+ const onPressEnter = e => {
+ if (composedRef.current || loading) {
+ return;
+ }
+ onSearch(e);
+ };
+ const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/_react_17_0_2_react.createElement(SearchOutlined/* default */.Z, null) : null;
+ const btnClassName = `${prefixCls}-button`;
+ let button;
+ const enterButtonAsElement = enterButton || {};
+ const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
+ if (isAntdButton || enterButtonAsElement.type === 'button') {
+ button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({
+ onMouseDown,
+ onClick: e => {
+ var _a, _b;
+ (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
+ onSearch(e);
+ },
+ key: 'enterButton'
+ }, isAntdButton ? {
+ className: btnClassName,
+ size
+ } : {}));
+ } else {
+ button = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
+ className: btnClassName,
+ type: enterButton ? 'primary' : undefined,
+ size: size,
+ disabled: disabled,
+ key: "enterButton",
+ onMouseDown: onMouseDown,
+ onClick: onSearch,
+ loading: loading,
+ icon: searchIcon
+ }, enterButton);
+ }
+ if (addonAfter) {
+ button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
+ key: 'addonAfter'
+ })];
+ }
+ const cls = _classnames_2_5_1_classnames_default()(prefixCls, {
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-${size}`]: !!size,
+ [`${prefixCls}-with-button`]: !!enterButton
+ }, className);
+ const handleOnCompositionStart = e => {
+ composedRef.current = true;
+ onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
+ };
+ const handleOnCompositionEnd = e => {
+ composedRef.current = false;
+ onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
+ };
+ return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({
+ ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
+ onPressEnter: onPressEnter
+ }, restProps, {
+ size: size,
+ onCompositionStart: handleOnCompositionStart,
+ onCompositionEnd: handleOnCompositionEnd,
+ prefixCls: inputPrefixCls,
+ addonAfter: button,
+ suffix: suffix,
+ onChange: onChange,
+ className: cls,
+ disabled: disabled
+ }));
+});
+if (false) {}
+/* harmony default export */ var input_Search = (Search);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/TextArea.js
+var TextArea = __webpack_require__(1643);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js
+"use client";
+
+
+
+
+
+
+const input_Input = Input/* default */.Z;
+if (false) {}
+input_Input.Group = input_Group;
+input_Input.Search = input_Search;
+input_Input.TextArea = TextArea/* default */.Z;
+input_Input.Password = input_Password;
+/* harmony default export */ var input = (input_Input);
+
+/***/ }),
+
+/***/ 57809:
+/*!**********************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/select/index.js ***!
+ \**********************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310);
+/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var rc_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 77861);
+/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 64002);
+/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
+/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
+/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_util/motion */ 62892);
+/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_util/statusUtils */ 19080);
+/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355);
+/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 1684);
+/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 93891);
+/* harmony import */ var _config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider/hooks/useSize */ 19716);
+/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../form/context */ 32441);
+/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../space/Compact */ 33234);
+/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 14154);
+/* harmony import */ var _useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useBuiltinPlacements */ 58582);
+/* harmony import */ var _useShowArrow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useShowArrow */ 84443);
+/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/iconUtil */ 66339);
+"use client";
+
+var __rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+// TODO: 4.0 - codemod should help to change `filterOption` to support node props.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
+const InternalSelect = (_a, ref) => {
+ var _b;
+ var {
+ prefixCls: customizePrefixCls,
+ bordered = true,
+ className,
+ rootClassName,
+ getPopupContainer,
+ popupClassName,
+ dropdownClassName,
+ listHeight = 256,
+ placement,
+ listItemHeight = 24,
+ size: customizeSize,
+ disabled: customDisabled,
+ notFoundContent,
+ status: customStatus,
+ builtinPlacements,
+ dropdownMatchSelectWidth,
+ popupMatchSelectWidth,
+ direction: propDirection,
+ style,
+ allowClear
+ } = _a,
+ props = __rest(_a, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear"]);
+ const {
+ getPopupContainer: getContextPopupContainer,
+ getPrefixCls,
+ renderEmpty,
+ direction: contextDirection,
+ virtual,
+ popupMatchSelectWidth: contextPopupMatchSelectWidth,
+ popupOverflow,
+ select
+ } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_);
+ const prefixCls = getPrefixCls('select', customizePrefixCls);
+ const rootPrefixCls = getPrefixCls();
+ const direction = propDirection !== null && propDirection !== void 0 ? propDirection : contextDirection;
+ const {
+ compactSize,
+ compactItemClassnames
+ } = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_4__/* .useCompactItemContext */ .ri)(prefixCls, direction);
+ const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls);
+ const mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
+ const {
+ mode: m
+ } = props;
+ if (m === 'combobox') {
+ return undefined;
+ }
+ if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) {
+ return 'combobox';
+ }
+ return m;
+ }, [props.mode]);
+ const isMultiple = mode === 'multiple' || mode === 'tags';
+ const showSuffixIcon = (0,_useShowArrow__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props.suffixIcon, props.showArrow);
+ const mergedPopupMatchSelectWidth = (_b = popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth) !== null && _b !== void 0 ? _b : contextPopupMatchSelectWidth;
+ // ===================== Form Status =====================
+ const {
+ status: contextStatus,
+ hasFeedback,
+ isFormItemInput,
+ feedbackIcon
+ } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_form_context__WEBPACK_IMPORTED_MODULE_7__/* .FormItemInputContext */ .aM);
+ const mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getMergedStatus */ .F)(contextStatus, customStatus);
+ // ===================== Empty =====================
+ let mergedNotFound;
+ if (notFoundContent !== undefined) {
+ mergedNotFound = notFoundContent;
+ } else if (mode === 'combobox') {
+ mergedNotFound = null;
+ } else {
+ mergedNotFound = (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
+ componentName: "Select"
+ });
+ }
+ // ===================== Icons =====================
+ const {
+ suffixIcon,
+ itemIcon,
+ removeIcon,
+ clearIcon
+ } = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(Object.assign(Object.assign({}, props), {
+ multiple: isMultiple,
+ hasFeedback,
+ feedbackIcon,
+ showSuffixIcon,
+ prefixCls,
+ showArrow: props.showArrow,
+ componentName: 'Select'
+ }));
+ const mergedAllowClear = allowClear === true ? {
+ clearIcon
+ } : allowClear;
+ const selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']);
+ const rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, {
+ [`${prefixCls}-dropdown-${direction}`]: direction === 'rtl'
+ }, rootClassName, hashId);
+ const mergedSize = (0,_config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(ctx => {
+ var _a;
+ return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
+ });
+ // ===================== Disabled =====================
+ const disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z);
+ const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;
+ const mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()({
+ [`${prefixCls}-lg`]: mergedSize === 'large',
+ [`${prefixCls}-sm`]: mergedSize === 'small',
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-borderless`]: !bordered,
+ [`${prefixCls}-in-form-item`]: isFormItemInput
+ }, (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, select === null || select === void 0 ? void 0 : select.className, className, rootClassName, hashId);
+ // ===================== Placement =====================
+ const memoPlacement = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
+ if (placement !== undefined) {
+ return placement;
+ }
+ return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';
+ }, [placement, direction]);
+ const mergedBuiltinPlacements = (0,_useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(builtinPlacements, popupOverflow);
+ // ====================== Warning ======================
+ if (false) {}
+ // ====================== Render =======================
+ return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, Object.assign({
+ ref: ref,
+ virtual: virtual,
+ showSearch: select === null || select === void 0 ? void 0 : select.showSearch
+ }, selectProps, {
+ style: Object.assign(Object.assign({}, select === null || select === void 0 ? void 0 : select.style), style),
+ dropdownMatchSelectWidth: mergedPopupMatchSelectWidth,
+ builtinPlacements: mergedBuiltinPlacements,
+ transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_15__/* .getTransitionName */ .m)(rootPrefixCls, 'slide-up', props.transitionName),
+ listHeight: listHeight,
+ listItemHeight: listItemHeight,
+ mode: mode,
+ prefixCls: prefixCls,
+ placement: memoPlacement,
+ direction: direction,
+ suffixIcon: suffixIcon,
+ menuItemSelectedIcon: itemIcon,
+ removeIcon: removeIcon,
+ allowClear: mergedAllowClear,
+ notFoundContent: mergedNotFound,
+ className: mergedClassName,
+ getPopupContainer: getPopupContainer || getContextPopupContainer,
+ dropdownClassName: rcSelectRtlDropdownClassName,
+ disabled: mergedDisabled
+ })));
+};
+if (false) {}
+const Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect);
+// We don't care debug panel
+/* istanbul ignore next */
+const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(Select);
+Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
+Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
+Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
+Select._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
+if (false) {}
+/* harmony default export */ __webpack_exports__["default"] = (Select);
+
+/***/ }),
+
+/***/ 8378:
+/*!*******************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/style/motion/collapse.js ***!
+ \*******************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__) {
+
+const genCollapseMotion = token => ({
+ [token.componentCls]: {
+ // For common/openAnimation
+ [`${token.antCls}-motion-collapse-legacy`]: {
+ overflow: 'hidden',
+ '&-active': {
+ transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
+ opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
+ }
+ },
+ [`${token.antCls}-motion-collapse`]: {
+ overflow: 'hidden',
+ transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
+ opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
+ }
+ }
+});
+/* harmony default export */ __webpack_exports__.Z = (genCollapseMotion);
+
+/***/ }),
+
+/***/ 78673:
+/*!**********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules ***!
+ \**********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ es_switch; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules
+var LoadingOutlined = __webpack_require__(78714);
+// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
+var _classnames_2_5_1_classnames = __webpack_require__(92310);
+var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(16378);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js
+var defineProperty = __webpack_require__(78772);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
+var slicedToArray = __webpack_require__(10859);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js
+var objectWithoutProperties = __webpack_require__(61206);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js
+var useMergedState = __webpack_require__(35788);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/KeyCode.js
+var KeyCode = __webpack_require__(85108);
+;// CONCATENATED MODULE: ./node_modules/_rc-switch@4.1.0@rc-switch/es/index.js
+
+
+
+
+var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"];
+
+
+
+
+var Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
+ var _classNames;
+ var _ref$prefixCls = _ref.prefixCls,
+ prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,
+ className = _ref.className,
+ checked = _ref.checked,
+ defaultChecked = _ref.defaultChecked,
+ disabled = _ref.disabled,
+ loadingIcon = _ref.loadingIcon,
+ checkedChildren = _ref.checkedChildren,
+ unCheckedChildren = _ref.unCheckedChildren,
+ onClick = _ref.onClick,
+ onChange = _ref.onChange,
+ onKeyDown = _ref.onKeyDown,
+ restProps = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded);
+ var _useMergedState = (0,useMergedState/* default */.Z)(false, {
+ value: checked,
+ defaultValue: defaultChecked
+ }),
+ _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
+ innerChecked = _useMergedState2[0],
+ setInnerChecked = _useMergedState2[1];
+ function triggerChange(newChecked, event) {
+ var mergedChecked = innerChecked;
+ if (!disabled) {
+ mergedChecked = newChecked;
+ setInnerChecked(mergedChecked);
+ onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);
+ }
+ return mergedChecked;
+ }
+ function onInternalKeyDown(e) {
+ if (e.which === KeyCode/* default */.Z.LEFT) {
+ triggerChange(false, e);
+ } else if (e.which === KeyCode/* default */.Z.RIGHT) {
+ triggerChange(true, e);
+ }
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
+ }
+ function onInternalClick(e) {
+ var ret = triggerChange(!innerChecked, e);
+ // [Legacy] trigger onClick with value
+ onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);
+ }
+ var switchClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
+ return /*#__PURE__*/_react_17_0_2_react.createElement("button", (0,esm_extends/* default */.Z)({}, restProps, {
+ type: "button",
+ role: "switch",
+ "aria-checked": innerChecked,
+ disabled: disabled,
+ className: switchClassName,
+ ref: ref,
+ onKeyDown: onInternalKeyDown,
+ onClick: onInternalClick
+ }), loadingIcon, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner")
+ }, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner-checked")
+ }, checkedChildren), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner-unchecked")
+ }, unCheckedChildren)));
+});
+Switch.displayName = 'Switch';
+/* harmony default export */ var es = (Switch);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
+var wave = __webpack_require__(14088);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js
+var DisabledContext = __webpack_require__(1684);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
+var useSize = __webpack_require__(19716);
+// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
+var dist_module = __webpack_require__(64993);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
+var genComponentStyleHook = __webpack_require__(83116);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
+var statistic = __webpack_require__(37613);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/style/index.js
+
+
+
+const genSwitchSmallStyle = token => {
+ const {
+ componentCls,
+ trackHeightSM,
+ trackPadding,
+ trackMinWidthSM,
+ innerMinMarginSM,
+ innerMaxMarginSM,
+ handleSizeSM
+ } = token;
+ const switchInnerCls = `${componentCls}-inner`;
+ return {
+ [componentCls]: {
+ [`&${componentCls}-small`]: {
+ minWidth: trackMinWidthSM,
+ height: trackHeightSM,
+ lineHeight: `${trackHeightSM}px`,
+ [`${componentCls}-inner`]: {
+ paddingInlineStart: innerMaxMarginSM,
+ paddingInlineEnd: innerMinMarginSM,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`,
+ marginInlineEnd: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginTop: -trackHeightSM,
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ }
+ },
+ [`${componentCls}-handle`]: {
+ width: handleSizeSM,
+ height: handleSizeSM
+ },
+ [`${componentCls}-loading-icon`]: {
+ top: (handleSizeSM - token.switchLoadingIconSize) / 2,
+ fontSize: token.switchLoadingIconSize
+ },
+ [`&${componentCls}-checked`]: {
+ [`${componentCls}-inner`]: {
+ paddingInlineStart: innerMinMarginSM,
+ paddingInlineEnd: innerMaxMarginSM,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`,
+ marginInlineEnd: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`
+ }
+ },
+ [`${componentCls}-handle`]: {
+ insetInlineStart: `calc(100% - ${handleSizeSM + trackPadding}px)`
+ }
+ },
+ [`&:not(${componentCls}-disabled):active`]: {
+ [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: token.marginXXS / 2,
+ marginInlineEnd: -token.marginXXS / 2
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: -token.marginXXS / 2,
+ marginInlineEnd: token.marginXXS / 2
+ }
+ }
+ }
+ }
+ }
+ };
+};
+const genSwitchLoadingStyle = token => {
+ const {
+ componentCls,
+ handleSize
+ } = token;
+ return {
+ [componentCls]: {
+ [`${componentCls}-loading-icon${token.iconCls}`]: {
+ position: 'relative',
+ top: (handleSize - token.fontSize) / 2,
+ color: token.switchLoadingIconColor,
+ verticalAlign: 'top'
+ },
+ [`&${componentCls}-checked ${componentCls}-loading-icon`]: {
+ color: token.switchColor
+ }
+ }
+ };
+};
+const genSwitchHandleStyle = token => {
+ const {
+ componentCls,
+ motion,
+ trackPadding,
+ handleBg,
+ handleShadow,
+ handleSize
+ } = token;
+ const switchHandleCls = `${componentCls}-handle`;
+ return {
+ [componentCls]: {
+ [switchHandleCls]: {
+ position: 'absolute',
+ top: trackPadding,
+ insetInlineStart: trackPadding,
+ width: handleSize,
+ height: handleSize,
+ transition: `all ${token.switchDuration} ease-in-out`,
+ '&::before': {
+ position: 'absolute',
+ top: 0,
+ insetInlineEnd: 0,
+ bottom: 0,
+ insetInlineStart: 0,
+ backgroundColor: handleBg,
+ borderRadius: handleSize / 2,
+ boxShadow: handleShadow,
+ transition: `all ${token.switchDuration} ease-in-out`,
+ content: '""'
+ }
+ },
+ [`&${componentCls}-checked ${switchHandleCls}`]: {
+ insetInlineStart: `calc(100% - ${handleSize + trackPadding}px)`
+ },
+ [`&:not(${componentCls}-disabled):active`]: motion ? {
+ [`${switchHandleCls}::before`]: {
+ insetInlineEnd: token.switchHandleActiveInset,
+ insetInlineStart: 0
+ },
+ [`&${componentCls}-checked ${switchHandleCls}::before`]: {
+ insetInlineEnd: 0,
+ insetInlineStart: token.switchHandleActiveInset
+ }
+ } : /* istanbul ignore next */
+ {}
+ }
+ };
+};
+const genSwitchInnerStyle = token => {
+ const {
+ componentCls,
+ trackHeight,
+ trackPadding,
+ innerMinMargin,
+ innerMaxMargin,
+ handleSize
+ } = token;
+ const switchInnerCls = `${componentCls}-inner`;
+ return {
+ [componentCls]: {
+ [switchInnerCls]: {
+ display: 'block',
+ overflow: 'hidden',
+ borderRadius: 100,
+ height: '100%',
+ paddingInlineStart: innerMaxMargin,
+ paddingInlineEnd: innerMinMargin,
+ transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`,
+ [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {
+ display: 'block',
+ color: token.colorTextLightSolid,
+ fontSize: token.fontSizeSM,
+ transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,
+ pointerEvents: 'none'
+ },
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`,
+ marginInlineEnd: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginTop: -trackHeight,
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ paddingInlineStart: innerMinMargin,
+ paddingInlineEnd: innerMaxMargin,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`,
+ marginInlineEnd: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`
+ }
+ },
+ [`&:not(${componentCls}-disabled):active`]: {
+ [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: trackPadding * 2,
+ marginInlineEnd: -trackPadding * 2
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: -trackPadding * 2,
+ marginInlineEnd: trackPadding * 2
+ }
+ }
+ }
+ }
+ };
+};
+const genSwitchStyle = token => {
+ const {
+ componentCls,
+ trackHeight,
+ trackMinWidth
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ position: 'relative',
+ display: 'inline-block',
+ boxSizing: 'border-box',
+ minWidth: trackMinWidth,
+ height: trackHeight,
+ lineHeight: `${trackHeight}px`,
+ verticalAlign: 'middle',
+ background: token.colorTextQuaternary,
+ border: '0',
+ borderRadius: 100,
+ cursor: 'pointer',
+ transition: `all ${token.motionDurationMid}`,
+ userSelect: 'none',
+ [`&:hover:not(${componentCls}-disabled)`]: {
+ background: token.colorTextTertiary
+ }
+ }), (0,style/* genFocusStyle */.Qy)(token)), {
+ [`&${componentCls}-checked`]: {
+ background: token.switchColor,
+ [`&:hover:not(${componentCls}-disabled)`]: {
+ background: token.colorPrimaryHover
+ }
+ },
+ [`&${componentCls}-loading, &${componentCls}-disabled`]: {
+ cursor: 'not-allowed',
+ opacity: token.switchDisabledOpacity,
+ '*': {
+ boxShadow: 'none',
+ cursor: 'not-allowed'
+ }
+ },
+ // rtl style
+ [`&${componentCls}-rtl`]: {
+ direction: 'rtl'
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => {
+ const switchToken = (0,statistic/* merge */.TS)(token, {
+ switchDuration: token.motionDurationMid,
+ switchColor: token.colorPrimary,
+ switchDisabledOpacity: token.opacityLoading,
+ switchLoadingIconSize: token.fontSizeIcon * 0.75,
+ switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,
+ switchHandleActiveInset: '-30%'
+ });
+ return [genSwitchStyle(switchToken),
+ // inner style
+ genSwitchInnerStyle(switchToken),
+ // handle style
+ genSwitchHandleStyle(switchToken),
+ // loading style
+ genSwitchLoadingStyle(switchToken),
+ // small style
+ genSwitchSmallStyle(switchToken)];
+}, token => {
+ const {
+ fontSize,
+ lineHeight,
+ controlHeight,
+ colorWhite
+ } = token;
+ const height = fontSize * lineHeight;
+ const heightSM = controlHeight / 2;
+ const padding = 2; // Fixed value
+ const handleSize = height - padding * 2;
+ const handleSizeSM = heightSM - padding * 2;
+ return {
+ trackHeight: height,
+ trackHeightSM: heightSM,
+ trackMinWidth: handleSize * 2 + padding * 4,
+ trackMinWidthSM: handleSizeSM * 2 + padding * 2,
+ trackPadding: padding,
+ handleBg: colorWhite,
+ handleSize,
+ handleSizeSM,
+ handleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`,
+ innerMinMargin: handleSize / 2,
+ innerMaxMargin: handleSize + padding + padding * 2,
+ innerMinMarginSM: handleSizeSM / 2,
+ innerMaxMarginSM: handleSizeSM + padding + padding * 2
+ };
+}));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.js
+"use client";
+
+var __rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+
+
+
+
+
+
+
+
+
+
+const switch_Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ prefixCls: customizePrefixCls,
+ size: customizeSize,
+ disabled: customDisabled,
+ loading,
+ className,
+ rootClassName,
+ style
+ } = props,
+ restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]);
+ false ? 0 : void 0;
+ const {
+ getPrefixCls,
+ direction,
+ switch: SWITCH
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ // ===================== Disabled =====================
+ const disabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
+ const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;
+ const prefixCls = getPrefixCls('switch', customizePrefixCls);
+ const loadingIcon = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
+ className: `${prefixCls}-handle`
+ }, loading && /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, {
+ className: `${prefixCls}-loading-icon`
+ }));
+ // Style
+ const [wrapSSR, hashId] = switch_style(prefixCls);
+ const mergedSize = (0,useSize/* default */.Z)(customizeSize);
+ const classes = _classnames_2_5_1_classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, {
+ [`${prefixCls}-small`]: mergedSize === 'small',
+ [`${prefixCls}-loading`]: loading,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
+ component: "Switch"
+ }, /*#__PURE__*/_react_17_0_2_react.createElement(es, Object.assign({}, restProps, {
+ prefixCls: prefixCls,
+ className: classes,
+ style: mergedStyle,
+ disabled: mergedDisabled,
+ ref: ref,
+ loadingIcon: loadingIcon
+ }))));
+});
+switch_Switch.__ANT_SWITCH = true;
+if (false) {}
+/* harmony default export */ var es_switch = (switch_Switch);
+
+/***/ })
+
+}]);
\ No newline at end of file
diff --git a/59734.2321c02b.async.js b/59734.6fd72625.async.js
similarity index 99%
rename from 59734.2321c02b.async.js
rename to 59734.6fd72625.async.js
index 3c50756202..0ec20daddd 100644
--- a/59734.2321c02b.async.js
+++ b/59734.6fd72625.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[59734,62373],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[59734],{
/***/ 86909:
/*!************************************************************************************************************!*\
diff --git a/62373.c8fcc088.async.js b/62373.c8fcc088.async.js
deleted file mode 100644
index 8e092dc9ff..0000000000
--- a/62373.c8fcc088.async.js
+++ /dev/null
@@ -1,1003 +0,0 @@
-"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[62373],{
-
-/***/ 34023:
-/*!*******************************************************************************************************!*\
- !*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***!
- \*******************************************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ icons_InboxOutlined; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__(16378);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/InboxOutlined.js
-// This icon file is generated automatically.
-var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" };
-/* harmony default export */ var asn_InboxOutlined = (InboxOutlined);
-
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules
-var AntdIcon = __webpack_require__(31533);
-;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/InboxOutlined.js
-
-// GENERATE BY ./scripts/generate.ts
-// DON NOT EDIT IT MANUALLY
-
-
-
-
-var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) {
- return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
- ref: ref,
- icon: asn_InboxOutlined
- }));
-};
-
-/** */
-var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(InboxOutlined_InboxOutlined);
-if (false) {}
-/* harmony default export */ var icons_InboxOutlined = (RefIcon);
-
-/***/ }),
-
-/***/ 78673:
-/*!**********************************************************************!*\
- !*** ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules ***!
- \**********************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ es_switch; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules
-var LoadingOutlined = __webpack_require__(78714);
-// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
-var _classnames_2_5_1_classnames = __webpack_require__(92310);
-var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
-var esm_extends = __webpack_require__(16378);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/defineProperty.js
-var defineProperty = __webpack_require__(78772);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
-var slicedToArray = __webpack_require__(10859);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/objectWithoutProperties.js
-var objectWithoutProperties = __webpack_require__(61206);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/hooks/useMergedState.js
-var useMergedState = __webpack_require__(35788);
-// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/KeyCode.js
-var KeyCode = __webpack_require__(85108);
-;// CONCATENATED MODULE: ./node_modules/_rc-switch@4.1.0@rc-switch/es/index.js
-
-
-
-
-var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"];
-
-
-
-
-var Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
- var _classNames;
- var _ref$prefixCls = _ref.prefixCls,
- prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,
- className = _ref.className,
- checked = _ref.checked,
- defaultChecked = _ref.defaultChecked,
- disabled = _ref.disabled,
- loadingIcon = _ref.loadingIcon,
- checkedChildren = _ref.checkedChildren,
- unCheckedChildren = _ref.unCheckedChildren,
- onClick = _ref.onClick,
- onChange = _ref.onChange,
- onKeyDown = _ref.onKeyDown,
- restProps = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded);
- var _useMergedState = (0,useMergedState/* default */.Z)(false, {
- value: checked,
- defaultValue: defaultChecked
- }),
- _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
- innerChecked = _useMergedState2[0],
- setInnerChecked = _useMergedState2[1];
- function triggerChange(newChecked, event) {
- var mergedChecked = innerChecked;
- if (!disabled) {
- mergedChecked = newChecked;
- setInnerChecked(mergedChecked);
- onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);
- }
- return mergedChecked;
- }
- function onInternalKeyDown(e) {
- if (e.which === KeyCode/* default */.Z.LEFT) {
- triggerChange(false, e);
- } else if (e.which === KeyCode/* default */.Z.RIGHT) {
- triggerChange(true, e);
- }
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
- }
- function onInternalClick(e) {
- var ret = triggerChange(!innerChecked, e);
- // [Legacy] trigger onClick with value
- onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);
- }
- var switchClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
- return /*#__PURE__*/_react_17_0_2_react.createElement("button", (0,esm_extends/* default */.Z)({}, restProps, {
- type: "button",
- role: "switch",
- "aria-checked": innerChecked,
- disabled: disabled,
- className: switchClassName,
- ref: ref,
- onKeyDown: onInternalKeyDown,
- onClick: onInternalClick
- }), loadingIcon, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
- className: "".concat(prefixCls, "-inner")
- }, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
- className: "".concat(prefixCls, "-inner-checked")
- }, checkedChildren), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
- className: "".concat(prefixCls, "-inner-unchecked")
- }, unCheckedChildren)));
-});
-Switch.displayName = 'Switch';
-/* harmony default export */ var es = (Switch);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
-var wave = __webpack_require__(14088);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
-var context = __webpack_require__(36355);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js
-var DisabledContext = __webpack_require__(1684);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
-var useSize = __webpack_require__(19716);
-// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
-var dist_module = __webpack_require__(64993);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
-var style = __webpack_require__(17313);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
-var genComponentStyleHook = __webpack_require__(83116);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
-var statistic = __webpack_require__(37613);
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/style/index.js
-
-
-
-const genSwitchSmallStyle = token => {
- const {
- componentCls,
- trackHeightSM,
- trackPadding,
- trackMinWidthSM,
- innerMinMarginSM,
- innerMaxMarginSM,
- handleSizeSM
- } = token;
- const switchInnerCls = `${componentCls}-inner`;
- return {
- [componentCls]: {
- [`&${componentCls}-small`]: {
- minWidth: trackMinWidthSM,
- height: trackHeightSM,
- lineHeight: `${trackHeightSM}px`,
- [`${componentCls}-inner`]: {
- paddingInlineStart: innerMaxMarginSM,
- paddingInlineEnd: innerMinMarginSM,
- [`${switchInnerCls}-checked`]: {
- marginInlineStart: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`,
- marginInlineEnd: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`
- },
- [`${switchInnerCls}-unchecked`]: {
- marginTop: -trackHeightSM,
- marginInlineStart: 0,
- marginInlineEnd: 0
- }
- },
- [`${componentCls}-handle`]: {
- width: handleSizeSM,
- height: handleSizeSM
- },
- [`${componentCls}-loading-icon`]: {
- top: (handleSizeSM - token.switchLoadingIconSize) / 2,
- fontSize: token.switchLoadingIconSize
- },
- [`&${componentCls}-checked`]: {
- [`${componentCls}-inner`]: {
- paddingInlineStart: innerMinMarginSM,
- paddingInlineEnd: innerMaxMarginSM,
- [`${switchInnerCls}-checked`]: {
- marginInlineStart: 0,
- marginInlineEnd: 0
- },
- [`${switchInnerCls}-unchecked`]: {
- marginInlineStart: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`,
- marginInlineEnd: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`
- }
- },
- [`${componentCls}-handle`]: {
- insetInlineStart: `calc(100% - ${handleSizeSM + trackPadding}px)`
- }
- },
- [`&:not(${componentCls}-disabled):active`]: {
- [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
- [`${switchInnerCls}-unchecked`]: {
- marginInlineStart: token.marginXXS / 2,
- marginInlineEnd: -token.marginXXS / 2
- }
- },
- [`&${componentCls}-checked ${switchInnerCls}`]: {
- [`${switchInnerCls}-checked`]: {
- marginInlineStart: -token.marginXXS / 2,
- marginInlineEnd: token.marginXXS / 2
- }
- }
- }
- }
- }
- };
-};
-const genSwitchLoadingStyle = token => {
- const {
- componentCls,
- handleSize
- } = token;
- return {
- [componentCls]: {
- [`${componentCls}-loading-icon${token.iconCls}`]: {
- position: 'relative',
- top: (handleSize - token.fontSize) / 2,
- color: token.switchLoadingIconColor,
- verticalAlign: 'top'
- },
- [`&${componentCls}-checked ${componentCls}-loading-icon`]: {
- color: token.switchColor
- }
- }
- };
-};
-const genSwitchHandleStyle = token => {
- const {
- componentCls,
- motion,
- trackPadding,
- handleBg,
- handleShadow,
- handleSize
- } = token;
- const switchHandleCls = `${componentCls}-handle`;
- return {
- [componentCls]: {
- [switchHandleCls]: {
- position: 'absolute',
- top: trackPadding,
- insetInlineStart: trackPadding,
- width: handleSize,
- height: handleSize,
- transition: `all ${token.switchDuration} ease-in-out`,
- '&::before': {
- position: 'absolute',
- top: 0,
- insetInlineEnd: 0,
- bottom: 0,
- insetInlineStart: 0,
- backgroundColor: handleBg,
- borderRadius: handleSize / 2,
- boxShadow: handleShadow,
- transition: `all ${token.switchDuration} ease-in-out`,
- content: '""'
- }
- },
- [`&${componentCls}-checked ${switchHandleCls}`]: {
- insetInlineStart: `calc(100% - ${handleSize + trackPadding}px)`
- },
- [`&:not(${componentCls}-disabled):active`]: motion ? {
- [`${switchHandleCls}::before`]: {
- insetInlineEnd: token.switchHandleActiveInset,
- insetInlineStart: 0
- },
- [`&${componentCls}-checked ${switchHandleCls}::before`]: {
- insetInlineEnd: 0,
- insetInlineStart: token.switchHandleActiveInset
- }
- } : /* istanbul ignore next */
- {}
- }
- };
-};
-const genSwitchInnerStyle = token => {
- const {
- componentCls,
- trackHeight,
- trackPadding,
- innerMinMargin,
- innerMaxMargin,
- handleSize
- } = token;
- const switchInnerCls = `${componentCls}-inner`;
- return {
- [componentCls]: {
- [switchInnerCls]: {
- display: 'block',
- overflow: 'hidden',
- borderRadius: 100,
- height: '100%',
- paddingInlineStart: innerMaxMargin,
- paddingInlineEnd: innerMinMargin,
- transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`,
- [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {
- display: 'block',
- color: token.colorTextLightSolid,
- fontSize: token.fontSizeSM,
- transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,
- pointerEvents: 'none'
- },
- [`${switchInnerCls}-checked`]: {
- marginInlineStart: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`,
- marginInlineEnd: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`
- },
- [`${switchInnerCls}-unchecked`]: {
- marginTop: -trackHeight,
- marginInlineStart: 0,
- marginInlineEnd: 0
- }
- },
- [`&${componentCls}-checked ${switchInnerCls}`]: {
- paddingInlineStart: innerMinMargin,
- paddingInlineEnd: innerMaxMargin,
- [`${switchInnerCls}-checked`]: {
- marginInlineStart: 0,
- marginInlineEnd: 0
- },
- [`${switchInnerCls}-unchecked`]: {
- marginInlineStart: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`,
- marginInlineEnd: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`
- }
- },
- [`&:not(${componentCls}-disabled):active`]: {
- [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
- [`${switchInnerCls}-unchecked`]: {
- marginInlineStart: trackPadding * 2,
- marginInlineEnd: -trackPadding * 2
- }
- },
- [`&${componentCls}-checked ${switchInnerCls}`]: {
- [`${switchInnerCls}-checked`]: {
- marginInlineStart: -trackPadding * 2,
- marginInlineEnd: trackPadding * 2
- }
- }
- }
- }
- };
-};
-const genSwitchStyle = token => {
- const {
- componentCls,
- trackHeight,
- trackMinWidth
- } = token;
- return {
- [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
- position: 'relative',
- display: 'inline-block',
- boxSizing: 'border-box',
- minWidth: trackMinWidth,
- height: trackHeight,
- lineHeight: `${trackHeight}px`,
- verticalAlign: 'middle',
- background: token.colorTextQuaternary,
- border: '0',
- borderRadius: 100,
- cursor: 'pointer',
- transition: `all ${token.motionDurationMid}`,
- userSelect: 'none',
- [`&:hover:not(${componentCls}-disabled)`]: {
- background: token.colorTextTertiary
- }
- }), (0,style/* genFocusStyle */.Qy)(token)), {
- [`&${componentCls}-checked`]: {
- background: token.switchColor,
- [`&:hover:not(${componentCls}-disabled)`]: {
- background: token.colorPrimaryHover
- }
- },
- [`&${componentCls}-loading, &${componentCls}-disabled`]: {
- cursor: 'not-allowed',
- opacity: token.switchDisabledOpacity,
- '*': {
- boxShadow: 'none',
- cursor: 'not-allowed'
- }
- },
- // rtl style
- [`&${componentCls}-rtl`]: {
- direction: 'rtl'
- }
- })
- };
-};
-// ============================== Export ==============================
-/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => {
- const switchToken = (0,statistic/* merge */.TS)(token, {
- switchDuration: token.motionDurationMid,
- switchColor: token.colorPrimary,
- switchDisabledOpacity: token.opacityLoading,
- switchLoadingIconSize: token.fontSizeIcon * 0.75,
- switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,
- switchHandleActiveInset: '-30%'
- });
- return [genSwitchStyle(switchToken),
- // inner style
- genSwitchInnerStyle(switchToken),
- // handle style
- genSwitchHandleStyle(switchToken),
- // loading style
- genSwitchLoadingStyle(switchToken),
- // small style
- genSwitchSmallStyle(switchToken)];
-}, token => {
- const {
- fontSize,
- lineHeight,
- controlHeight,
- colorWhite
- } = token;
- const height = fontSize * lineHeight;
- const heightSM = controlHeight / 2;
- const padding = 2; // Fixed value
- const handleSize = height - padding * 2;
- const handleSizeSM = heightSM - padding * 2;
- return {
- trackHeight: height,
- trackHeightSM: heightSM,
- trackMinWidth: handleSize * 2 + padding * 4,
- trackMinWidthSM: handleSizeSM * 2 + padding * 2,
- trackPadding: padding,
- handleBg: colorWhite,
- handleSize,
- handleSizeSM,
- handleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`,
- innerMinMargin: handleSize / 2,
- innerMaxMargin: handleSize + padding + padding * 2,
- innerMinMarginSM: handleSizeSM / 2,
- innerMaxMarginSM: handleSizeSM + padding + padding * 2
- };
-}));
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.js
-"use client";
-
-var __rest = undefined && undefined.__rest || function (s, e) {
- var t = {};
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
- }
- return t;
-};
-
-
-
-
-
-
-
-
-
-
-const switch_Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
- const {
- prefixCls: customizePrefixCls,
- size: customizeSize,
- disabled: customDisabled,
- loading,
- className,
- rootClassName,
- style
- } = props,
- restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]);
- false ? 0 : void 0;
- const {
- getPrefixCls,
- direction,
- switch: SWITCH
- } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
- // ===================== Disabled =====================
- const disabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
- const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;
- const prefixCls = getPrefixCls('switch', customizePrefixCls);
- const loadingIcon = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
- className: `${prefixCls}-handle`
- }, loading && /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, {
- className: `${prefixCls}-loading-icon`
- }));
- // Style
- const [wrapSSR, hashId] = switch_style(prefixCls);
- const mergedSize = (0,useSize/* default */.Z)(customizeSize);
- const classes = _classnames_2_5_1_classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, {
- [`${prefixCls}-small`]: mergedSize === 'small',
- [`${prefixCls}-loading`]: loading,
- [`${prefixCls}-rtl`]: direction === 'rtl'
- }, className, rootClassName, hashId);
- const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style);
- return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
- component: "Switch"
- }, /*#__PURE__*/_react_17_0_2_react.createElement(es, Object.assign({}, restProps, {
- prefixCls: prefixCls,
- className: classes,
- style: mergedStyle,
- disabled: mergedDisabled,
- ref: ref,
- loadingIcon: loadingIcon
- }))));
-});
-switch_Switch.__ANT_SWITCH = true;
-if (false) {}
-/* harmony default export */ var es_switch = (switch_Switch);
-
-/***/ }),
-
-/***/ 10777:
-/*!************************************************************************!*\
- !*** ./node_modules/_antd@5.9.0@antd/es/timeline/index.js + 5 modules ***!
- \************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ timeline; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
-var _classnames_2_5_1_classnames = __webpack_require__(92310);
-var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
-var context = __webpack_require__(36355);
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/TimelineItem.js
-"use client";
-
-var __rest = undefined && undefined.__rest || function (s, e) {
- var t = {};
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
- }
- return t;
-};
-
-
-
-const TimelineItem = _a => {
- var {
- prefixCls: customizePrefixCls,
- className,
- color = 'blue',
- dot,
- pending = false,
- position /** Dead, but do not pass in {
- var {
- prefixCls,
- className,
- pending = false,
- children,
- items,
- rootClassName,
- reverse = false,
- direction,
- hashId,
- pendingDot,
- mode = ''
- } = _a,
- restProps = TimelineItemList_rest(_a, ["prefixCls", "className", "pending", "children", "items", "rootClassName", "reverse", "direction", "hashId", "pendingDot", "mode"]);
- const getPositionCls = (position, idx) => {
- if (mode === 'alternate') {
- if (position === 'right') return `${prefixCls}-item-right`;
- if (position === 'left') return `${prefixCls}-item-left`;
- return idx % 2 === 0 ? `${prefixCls}-item-left` : `${prefixCls}-item-right`;
- }
- if (mode === 'left') return `${prefixCls}-item-left`;
- if (mode === 'right') return `${prefixCls}-item-right`;
- if (position === 'right') return `${prefixCls}-item-right`;
- return '';
- };
- const mergedItems = (0,toConsumableArray/* default */.Z)(items || []);
- const pendingNode = typeof pending === 'boolean' ? null : pending;
- if (pending) {
- mergedItems.push({
- pending: !!pending,
- dot: pendingDot || /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, null),
- children: pendingNode
- });
- }
- if (reverse) {
- mergedItems.reverse();
- }
- const itemsCount = mergedItems.length;
- const lastCls = `${prefixCls}-item-last`;
- const itemsList = mergedItems.filter(item => !!item).map((item, idx) => {
- var _a;
- const pendingClass = idx === itemsCount - 2 ? lastCls : '';
- const readyClass = idx === itemsCount - 1 ? lastCls : '';
- const {
- className: itemClassName
- } = item,
- itemProps = TimelineItemList_rest(item, ["className"]);
- return /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItem, Object.assign({}, itemProps, {
- className: _classnames_2_5_1_classnames_default()([itemClassName, !reverse && !!pending ? pendingClass : readyClass, getPositionCls((_a = item === null || item === void 0 ? void 0 : item.position) !== null && _a !== void 0 ? _a : '', idx)]),
- /* eslint-disable-next-line react/no-array-index-key */
- key: (item === null || item === void 0 ? void 0 : item.key) || idx
- }));
- });
- const hasLabelItem = mergedItems.some(item => !!(item === null || item === void 0 ? void 0 : item.label));
- const classString = _classnames_2_5_1_classnames_default()(prefixCls, {
- [`${prefixCls}-pending`]: !!pending,
- [`${prefixCls}-reverse`]: !!reverse,
- [`${prefixCls}-${mode}`]: !!mode && !hasLabelItem,
- [`${prefixCls}-label`]: hasLabelItem,
- [`${prefixCls}-rtl`]: direction === 'rtl'
- }, className, rootClassName, hashId);
- return /*#__PURE__*/_react_17_0_2_react.createElement("ul", Object.assign({}, restProps, {
- className: classString
- }), itemsList);
-};
-/* harmony default export */ var timeline_TimelineItemList = (TimelineItemList);
-// EXTERNAL MODULE: ./node_modules/_rc-util@5.44.3@rc-util/es/Children/toArray.js
-var toArray = __webpack_require__(38298);
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/useItems.js
-"use client";
-
-
-function useItems(items, children) {
- if (items && Array.isArray(items)) return items;
- return (0,toArray/* default */.Z)(children).map(ele => {
- var _a, _b;
- return Object.assign({
- children: (_b = (_a = ele === null || ele === void 0 ? void 0 : ele.props) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : ''
- }, ele.props);
- });
-}
-/* harmony default export */ var timeline_useItems = (useItems);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
-var style = __webpack_require__(17313);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
-var genComponentStyleHook = __webpack_require__(83116);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
-var statistic = __webpack_require__(37613);
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/style/index.js
-
-
-const genTimelineStyle = token => {
- const {
- componentCls
- } = token;
- return {
- [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
- margin: 0,
- padding: 0,
- listStyle: 'none',
- [`${componentCls}-item`]: {
- position: 'relative',
- margin: 0,
- paddingBottom: token.itemPaddingBottom,
- fontSize: token.fontSize,
- listStyle: 'none',
- '&-tail': {
- position: 'absolute',
- insetBlockStart: token.itemHeadSize,
- insetInlineStart: (token.itemHeadSize - token.tailWidth) / 2,
- height: `calc(100% - ${token.itemHeadSize}px)`,
- borderInlineStart: `${token.tailWidth}px ${token.lineType} ${token.tailColor}`
- },
- '&-pending': {
- [`${componentCls}-item-head`]: {
- fontSize: token.fontSizeSM,
- backgroundColor: 'transparent'
- },
- [`${componentCls}-item-tail`]: {
- display: 'none'
- }
- },
- '&-head': {
- position: 'absolute',
- width: token.itemHeadSize,
- height: token.itemHeadSize,
- backgroundColor: token.dotBg,
- border: `${token.dotBorderWidth}px ${token.lineType} transparent`,
- borderRadius: '50%',
- '&-blue': {
- color: token.colorPrimary,
- borderColor: token.colorPrimary
- },
- '&-red': {
- color: token.colorError,
- borderColor: token.colorError
- },
- '&-green': {
- color: token.colorSuccess,
- borderColor: token.colorSuccess
- },
- '&-gray': {
- color: token.colorTextDisabled,
- borderColor: token.colorTextDisabled
- }
- },
- '&-head-custom': {
- position: 'absolute',
- insetBlockStart: token.itemHeadSize / 2,
- insetInlineStart: token.itemHeadSize / 2,
- width: 'auto',
- height: 'auto',
- marginBlockStart: 0,
- paddingBlock: token.customHeadPaddingVertical,
- lineHeight: 1,
- textAlign: 'center',
- border: 0,
- borderRadius: 0,
- transform: `translate(-50%, -50%)`
- },
- '&-content': {
- position: 'relative',
- insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.lineWidth,
- marginInlineStart: token.margin + token.itemHeadSize,
- marginInlineEnd: 0,
- marginBlockStart: 0,
- marginBlockEnd: 0,
- wordBreak: 'break-word'
- },
- '&-last': {
- [`> ${componentCls}-item-tail`]: {
- display: 'none'
- },
- [`> ${componentCls}-item-content`]: {
- minHeight: token.controlHeightLG * 1.2
- }
- }
- },
- [`&${componentCls}-alternate,
- &${componentCls}-right,
- &${componentCls}-label`]: {
- [`${componentCls}-item`]: {
- '&-tail, &-head, &-head-custom': {
- insetInlineStart: '50%'
- },
- '&-head': {
- marginInlineStart: `-${token.marginXXS}px`,
- '&-custom': {
- marginInlineStart: token.tailWidth / 2
- }
- },
- '&-left': {
- [`${componentCls}-item-content`]: {
- insetInlineStart: `calc(50% - ${token.marginXXS}px)`,
- width: `calc(50% - ${token.marginSM}px)`,
- textAlign: 'start'
- }
- },
- '&-right': {
- [`${componentCls}-item-content`]: {
- width: `calc(50% - ${token.marginSM}px)`,
- margin: 0,
- textAlign: 'end'
- }
- }
- }
- },
- [`&${componentCls}-right`]: {
- [`${componentCls}-item-right`]: {
- [`${componentCls}-item-tail,
- ${componentCls}-item-head,
- ${componentCls}-item-head-custom`]: {
- insetInlineStart: `calc(100% - ${(token.itemHeadSize + token.tailWidth) / 2}px)`
- },
- [`${componentCls}-item-content`]: {
- width: `calc(100% - ${token.itemHeadSize + token.marginXS}px)`
- }
- }
- },
- [`&${componentCls}-pending
- ${componentCls}-item-last
- ${componentCls}-item-tail`]: {
- display: 'block',
- height: `calc(100% - ${token.margin}px)`,
- borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}`
- },
- [`&${componentCls}-reverse
- ${componentCls}-item-last
- ${componentCls}-item-tail`]: {
- display: 'none'
- },
- [`&${componentCls}-reverse ${componentCls}-item-pending`]: {
- [`${componentCls}-item-tail`]: {
- insetBlockStart: token.margin,
- display: 'block',
- height: `calc(100% - ${token.margin}px)`,
- borderInlineStart: `${token.tailWidth}px dotted ${token.tailColor}`
- },
- [`${componentCls}-item-content`]: {
- minHeight: token.controlHeightLG * 1.2
- }
- },
- [`&${componentCls}-label`]: {
- [`${componentCls}-item-label`]: {
- position: 'absolute',
- insetBlockStart: -(token.fontSize * token.lineHeight - token.fontSize) + token.tailWidth,
- width: `calc(50% - ${token.marginSM}px)`,
- textAlign: 'end'
- },
- [`${componentCls}-item-right`]: {
- [`${componentCls}-item-label`]: {
- insetInlineStart: `calc(50% + ${token.marginSM}px)`,
- width: `calc(50% - ${token.marginSM}px)`,
- textAlign: 'start'
- }
- }
- },
- // ====================== RTL =======================
- '&-rtl': {
- direction: 'rtl',
- [`${componentCls}-item-head-custom`]: {
- transform: `translate(50%, -50%)`
- }
- }
- })
- };
-};
-// ============================== Export ==============================
-/* harmony default export */ var timeline_style = ((0,genComponentStyleHook/* default */.Z)('Timeline', token => {
- const timeLineToken = (0,statistic/* merge */.TS)(token, {
- itemHeadSize: 10,
- customHeadPaddingVertical: token.paddingXXS,
- paddingInlineEnd: 2
- });
- return [genTimelineStyle(timeLineToken)];
-}, token => ({
- tailColor: token.colorSplit,
- tailWidth: token.lineWidthBold,
- dotBorderWidth: token.wireframe ? token.lineWidthBold : token.lineWidth * 3,
- dotBg: token.colorBgContainer,
- itemPaddingBottom: token.padding * 1.25
-})));
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/Timeline.js
-"use client";
-
-var Timeline_rest = undefined && undefined.__rest || function (s, e) {
- var t = {};
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
- }
- return t;
-};
-
-
-
-
-
-
-
-// CSSINJS
-
-const Timeline = props => {
- const {
- getPrefixCls,
- direction,
- timeline
- } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
- const {
- prefixCls: customizePrefixCls,
- children,
- items,
- className,
- style
- } = props,
- restProps = Timeline_rest(props, ["prefixCls", "children", "items", "className", "style"]);
- const prefixCls = getPrefixCls('timeline', customizePrefixCls);
- // =================== Warning =====================
- if (false) {}
- // Style
- const [wrapSSR, hashId] = timeline_style(prefixCls);
- const mergedItems = timeline_useItems(items, children);
- return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(timeline_TimelineItemList, Object.assign({}, restProps, {
- className: _classnames_2_5_1_classnames_default()(timeline === null || timeline === void 0 ? void 0 : timeline.className, className),
- style: Object.assign(Object.assign({}, timeline === null || timeline === void 0 ? void 0 : timeline.style), style),
- prefixCls: prefixCls,
- direction: direction,
- items: mergedItems,
- hashId: hashId
- })));
-};
-Timeline.Item = timeline_TimelineItem;
-if (false) {}
-/* harmony default export */ var timeline_Timeline = (Timeline);
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/timeline/index.js
-"use client";
-
-
-/* harmony default export */ var timeline = (timeline_Timeline);
-
-/***/ }),
-
-/***/ 60028:
-/*!**********************************************************!*\
- !*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***!
- \**********************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony import */ var _Dragger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dragger */ 71409);
-/* harmony import */ var _Upload__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upload */ 41945);
-"use client";
-
-
-
-const Upload = _Upload__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z;
-Upload.Dragger = _Dragger__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z;
-Upload.LIST_IGNORE = _Upload__WEBPACK_IMPORTED_MODULE_0__/* .LIST_IGNORE */ .E;
-/* harmony default export */ __webpack_exports__.Z = (Upload);
-
-/***/ })
-
-}]);
\ No newline at end of file
diff --git a/index.html b/index.html
index 013c89745c..40c25f81e7 100644
--- a/index.html
+++ b/index.html
@@ -27,7 +27,7 @@
display: block !important;
}
-
+