From 407b8e885da2818e488f8c5939e48bd40b8fc249 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Fri, 24 Nov 2023 16:18:38 +0800 Subject: [PATCH] Auto Submit --- p__Problemset__index.async.js | 558 ++++++++++++++----------- umi.js | 761 +++++++++++++++++----------------- 2 files changed, 697 insertions(+), 622 deletions(-) diff --git a/p__Problemset__index.async.js b/p__Problemset__index.async.js index aeccc9bcec..83983264e7 100644 --- a/p__Problemset__index.async.js +++ b/p__Problemset__index.async.js @@ -4788,7 +4788,9 @@ var MenuMore = function MenuMore(_ref2) { _ref2$onPublish = _ref2.onPublish, onPublish = _ref2$onPublish === void 0 ? function () {} : _ref2$onPublish, _ref2$onCancelPublish = _ref2.onCancelPublish, - onCancelPublish = _ref2$onCancelPublish === void 0 ? function () {} : _ref2$onCancelPublish; + onCancelPublish = _ref2$onCancelPublish === void 0 ? function () {} : _ref2$onCancelPublish, + _ref2$onCpTest = _ref2.onCpTest, + onCpTest = _ref2$onCpTest === void 0 ? function () {} : _ref2$onCpTest; var editUrl = data.item_type === "PROGRAM" ? "/problems/newedit/".concat((_data$program_attr6 = data.program_attr) === null || _data$program_attr6 === void 0 ? void 0 : _data$program_attr6.identifier) : data.item_type === "BPROGRAM" ? "/problemset/edit/".concat((_data$program_attr7 = data.program_attr) === null || _data$program_attr7 === void 0 ? void 0 : _data$program_attr7.identifier, "?type=1") : "/problemset/edit/".concat(data.id); var showPrivateFlag = activeTabsKey === "0" && !data["public"] && !data.apply && (data.item_type === "PROGRAM" && ((_data$program_attr8 = data.program_attr) === null || _data$program_attr8 === void 0 ? void 0 : _data$program_attr8.status) !== 0 || data.item_type !== "PROGRAM"); // console.log(data, "看是否共享文案的data"); @@ -4801,7 +4803,17 @@ var MenuMore = function MenuMore(_ref2) { children: "\u7F16\u8F91" }), key: '-1', - show: activeTabsKey === "0" && !data["public"] + show: activeTabsKey === "0" && !data["public"] || activeTabsKey == "3" && data.edit_role + }, { + label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + className: Topicmodules.actionLink, + onClick: function onClick() { + return onCpTest(data.id, activeTabsKey); + }, + children: activeTabsKey == "1" ? "复制到我创建的" : "复制试题" + }), + key: '13', + show: true }, { label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { className: Topicmodules.actionLink, @@ -8881,22 +8893,61 @@ var ProblemsetPage = function ProblemsetPage(_ref) { return _ref15.apply(this, arguments); }; }(); + /** + * @description v7珠海中的功能 - 团队共享 - 复制试题/复制到我创建的 + */ + var handleCpTest = /*#__PURE__*/function () { + var _ref16 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13(id, activeTabsKey) { + var data; + return regeneratorRuntime_default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { + case 0: + data = { + item_bank_id: id + }; + _context13.t0 = activeTabsKey; + _context13.next = _context13.t0 === "1" ? 4 : _context13.t0 === "3" ? 6 : _context13.t0 === "0" ? 8 : 10; + break; + case 4: + data["type"] = 1; + return _context13.abrupt("break", 10); + case 6: + data["type"] = 2; + return _context13.abrupt("break", 10); + case 8: + data["type"] = 3; + return _context13.abrupt("break", 10); + case 10: + _context13.next = 12; + return (0,service_problemset/* getCpTest */.Wn)(data); + case 12: + handleReloadData(); + case 13: + case "end": + return _context13.stop(); + } + }, _callee13); + })); + return function handleCpTest(_x13, _x14) { + return _ref16.apply(this, arguments); + }; + }(); //加入试题库 var handleAddProblemset = /*#__PURE__*/function () { - var _ref16 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14(id) { - return regeneratorRuntime_default()().wrap(function _callee14$(_context14) { - while (1) switch (_context14.prev = _context14.next) { + var _ref17 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15(id) { + return regeneratorRuntime_default()().wrap(function _callee15$(_context15) { + while (1) switch (_context15.prev = _context15.next) { case 0: if (id) { - _context14.next = 3; + _context15.next = 3; break; } if (selectIds !== null && selectIds !== void 0 && selectIds.length) { - _context14.next = 3; + _context15.next = 3; break; } - return _context14.abrupt("return", message/* default */.ZP.info('请先选择试题')); + return _context15.abrupt("return", message/* default */.ZP.info('请先选择试题')); case 3: joinGroupDataRef.current = [0]; modal/* default */.Z.confirm({ @@ -8929,19 +8980,19 @@ var ProblemsetPage = function ProblemsetPage(_ref) { })] }), onOk: function () { - var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13() { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14() { var _joinGroupDataRef$cur; var res; - return regeneratorRuntime_default()().wrap(function _callee13$(_context13) { - while (1) switch (_context13.prev = _context13.next) { + return regeneratorRuntime_default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { case 0: - _context13.next = 2; + _context14.next = 2; return (0,service_problemset/* addGroup */.Rp)({ id: id, group_id: (_joinGroupDataRef$cur = joinGroupDataRef.current) === null || _joinGroupDataRef$cur === void 0 ? void 0 : _joinGroupDataRef$cur[0] }); case 2: - res = _context13.sent; + res = _context14.sent; joinGroupDataRef.current = []; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { getGroups(params); @@ -8951,9 +9002,9 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 5: case "end": - return _context13.stop(); + return _context14.stop(); } - }, _callee13); + }, _callee14); })); function onOk() { return _onOk.apply(this, arguments); @@ -8963,28 +9014,28 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); case 5: case "end": - return _context14.stop(); + return _context15.stop(); } - }, _callee14); + }, _callee15); })); - return function handleAddProblemset(_x13) { - return _ref16.apply(this, arguments); + return function handleAddProblemset(_x15) { + return _ref17.apply(this, arguments); }; }(); var handleOnMoveTo = /*#__PURE__*/function () { - var _ref17 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee16(id) { - return regeneratorRuntime_default()().wrap(function _callee16$(_context16) { - while (1) switch (_context16.prev = _context16.next) { + var _ref18 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee17(id) { + return regeneratorRuntime_default()().wrap(function _callee17$(_context17) { + while (1) switch (_context17.prev = _context17.next) { case 0: if (id) { - _context16.next = 3; + _context17.next = 3; break; } if (selectIds !== null && selectIds !== void 0 && selectIds.length) { - _context16.next = 3; + _context17.next = 3; break; } - return _context16.abrupt("return", message/* default */.ZP.info('请先选择试题')); + return _context17.abrupt("return", message/* default */.ZP.info('请先选择试题')); case 3: joinGroupDataRef.current = [0]; modal/* default */.Z.confirm({ @@ -9026,19 +9077,19 @@ var ProblemsetPage = function ProblemsetPage(_ref) { })] }), onOk: function () { - var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15() { + var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee16() { var _joinGroupDataRef$cur2; var res; - return regeneratorRuntime_default()().wrap(function _callee15$(_context15) { - while (1) switch (_context15.prev = _context15.next) { + return regeneratorRuntime_default()().wrap(function _callee16$(_context16) { + while (1) switch (_context16.prev = _context16.next) { case 0: - _context15.next = 2; + _context16.next = 2; return (0,service_problemset/* batchGroup */.LS)({ ids: id ? [id] : selectIds, groups_ids: (_joinGroupDataRef$cur2 = joinGroupDataRef.current) === null || _joinGroupDataRef$cur2 === void 0 ? void 0 : _joinGroupDataRef$cur2[0] }); case 2: - res = _context15.sent; + res = _context16.sent; console.log("移动试题到指定文件夹的res", res); joinGroupDataRef.current = []; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { @@ -9048,9 +9099,9 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 6: case "end": - return _context15.stop(); + return _context16.stop(); } - }, _callee15); + }, _callee16); })); function onOk() { return _onOk2.apply(this, arguments); @@ -9060,29 +9111,29 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); case 5: case "end": - return _context16.stop(); + return _context17.stop(); } - }, _callee16); + }, _callee17); })); - return function handleOnMoveTo(_x14) { - return _ref17.apply(this, arguments); + return function handleOnMoveTo(_x16) { + return _ref18.apply(this, arguments); }; }(); // 取消共享触发的函数 var handleCancelShare = /*#__PURE__*/function () { - var _ref18 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee19(id) { + var _ref19 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee20(id) { var res, data; - return regeneratorRuntime_default()().wrap(function _callee19$(_context19) { - while (1) switch (_context19.prev = _context19.next) { + return regeneratorRuntime_default()().wrap(function _callee20$(_context20) { + while (1) switch (_context20.prev = _context20.next) { case 0: console.log("撤销共享触发"); - _context19.next = 3; + _context20.next = 3; return (0,service_problemset/* getTeachGroupDataById */.hg)({ clazz: 'ItemBank', id: id }); case 3: - res = _context19.sent; + res = _context20.sent; console.log(res, "撤销共享触发的res"); data = (res === null || res === void 0 ? void 0 : res.groups) || []; joinGroupDataRef.current = data.filter(function (item) { @@ -9122,9 +9173,9 @@ var ProblemsetPage = function ProblemsetPage(_ref) { })] }), onOk: function () { - var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee18() { - return regeneratorRuntime_default()().wrap(function _callee18$(_context18) { - while (1) switch (_context18.prev = _context18.next) { + var _onOk3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee19() { + return regeneratorRuntime_default()().wrap(function _callee19$(_context19) { + while (1) switch (_context19.prev = _context19.next) { case 0: joinGroupDataRef.current = data.filter(function (item) { return item.is_share; @@ -9132,11 +9183,11 @@ var ProblemsetPage = function ProblemsetPage(_ref) { return i.id; }); //拿到当前被勾选的团队id console.log(joinGroupDataRef.current, "joinGroupDataRef.current"); - return _context18.abrupt("return", new Promise( /*#__PURE__*/function () { - var _ref19 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee17(resolve, reject) { + return _context19.abrupt("return", new Promise( /*#__PURE__*/function () { + var _ref20 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee18(resolve, reject) { var res; - return regeneratorRuntime_default()().wrap(function _callee17$(_context17) { - while (1) switch (_context17.prev = _context17.next) { + return regeneratorRuntime_default()().wrap(function _callee18$(_context18) { + while (1) switch (_context18.prev = _context18.next) { case 0: // if (!joinGroupDataRef.current.length) { // message.warning('请选择需要撤销共享的教研团队'); @@ -9145,35 +9196,35 @@ var ProblemsetPage = function ProblemsetPage(_ref) { console.log(data, "看看这里的data"); // const group_ids = data?.map((x: any) => x.group_id)?.filter((id: number) => !joinGroupDataRef.current.includes(id)); - _context17.next = 3; + _context18.next = 3; return (0,service_problemset/* batchShare */.GW)({ ids: [id], clazz: 'ItemBank', group_ids: joinGroupDataRef.current }); case 3: - res = _context17.sent; + res = _context18.sent; joinGroupDataRef.current = []; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.info('操作成功'); handleReloadData(); } - return _context17.abrupt("return", resolve()); + return _context18.abrupt("return", resolve()); case 7: case "end": - return _context17.stop(); + return _context18.stop(); } - }, _callee17); + }, _callee18); })); - return function (_x16, _x17) { - return _ref19.apply(this, arguments); + return function (_x18, _x19) { + return _ref20.apply(this, arguments); }; }())); case 3: case "end": - return _context18.stop(); + return _context19.stop(); } - }, _callee18); + }, _callee19); })); function onOk() { return _onOk3.apply(this, arguments); @@ -9187,12 +9238,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); case 8: case "end": - return _context19.stop(); + return _context20.stop(); } - }, _callee19); + }, _callee20); })); - return function handleCancelShare(_x15) { - return _ref18.apply(this, arguments); + return function handleCancelShare(_x17) { + return _ref19.apply(this, arguments); }; }(); var handleBasketDelete = function handleBasketDelete(type) { @@ -9211,24 +9262,24 @@ var ProblemsetPage = function ProblemsetPage(_ref) { title: '确认要清空试题篮吗?', centered: true, onOk: function () { - var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee20() { + var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee21() { var res; - return regeneratorRuntime_default()().wrap(function _callee20$(_context20) { - while (1) switch (_context20.prev = _context20.next) { + return regeneratorRuntime_default()().wrap(function _callee21$(_context21) { + while (1) switch (_context21.prev = _context21.next) { case 0: - _context20.next = 2; + _context21.next = 2; return (0,service_problemset/* clearBasket */.RT)(); case 2: - res = _context20.sent; + res = _context21.sent; if (res.status === 0) { handleReloadData(); getBasketList(); } case 4: case "end": - return _context20.stop(); + return _context21.stop(); } - }, _callee20); + }, _callee21); })); function onOk() { return _onOk4.apply(this, arguments); @@ -9284,10 +9335,10 @@ var ProblemsetPage = function ProblemsetPage(_ref) { selectAll ? handleSelectAllRequest(ids) : handleUnselectAllRequest(ids); }; var handleSelectAllRequest = /*#__PURE__*/function () { - var _ref20 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee22(preIds) { + var _ref21 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee23(preIds) { var ids; - return regeneratorRuntime_default()().wrap(function _callee22$(_context22) { - while (1) switch (_context22.prev = _context22.next) { + return regeneratorRuntime_default()().wrap(function _callee23$(_context23) { + while (1) switch (_context23.prev = _context23.next) { case 0: ids = toConsumableArray_default()(preIds); problemsetList.forEach(function (e) { @@ -9312,30 +9363,30 @@ var ProblemsetPage = function ProblemsetPage(_ref) { children: ["\u5F53\u524D\u5DF2\u9009\u62E9", preIds.length, "\u9053\u8BD5\u9898\uFF0C\u5DF2\u52A0\u5165\u8FC7\u7684\u8BD5\u9898\u6216\u672A\u53D1\u5E03\u7684\u7F16\u7A0B\u9898\u5C06\u4E0D\u4F1A\u91CD\u590D\u52A0\u5165 "] }), onOk: function () { - var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee21() { + var _onOk5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee22() { var res; - return regeneratorRuntime_default()().wrap(function _callee21$(_context21) { - while (1) switch (_context21.prev = _context21.next) { + return regeneratorRuntime_default()().wrap(function _callee22$(_context22) { + while (1) switch (_context22.prev = _context22.next) { case 0: if (!params.exam_id) { - _context21.next = 6; + _context22.next = 6; break; } - _context21.next = 3; + _context22.next = 3; return (0,service_problemset/* examinationItems */.zh)({ exam_id: params.exam_id, item_bank_ids: ids }); case 3: - res = _context21.sent; - _context21.next = 15; + res = _context22.sent; + _context22.next = 15; break; case 6: if (!(params !== null && params !== void 0 && params.exercise_id)) { - _context21.next = 12; + _context22.next = 12; break; } - _context21.next = 9; + _context22.next = 9; return (0,fetch/* default */.ZP)("/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.exercise_id, "/select_questions.json"), { method: 'post', body: { @@ -9343,11 +9394,11 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 9: - res = _context21.sent; - _context21.next = 15; + res = _context22.sent; + _context22.next = 15; break; case 12: - _context21.next = 14; + _context22.next = 14; return dispatch({ type: 'problemset/select', payload: { @@ -9355,7 +9406,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 14: - res = _context21.sent; + res = _context22.sent; case 15: if (res.status === 0) { handleReloadData(); @@ -9363,9 +9414,9 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 16: case "end": - return _context21.stop(); + return _context22.stop(); } - }, _callee21); + }, _callee22); })); function onOk() { return _onOk5.apply(this, arguments); @@ -9375,25 +9426,25 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); case 3: case "end": - return _context22.stop(); + return _context23.stop(); } - }, _callee22); + }, _callee23); })); - return function handleSelectAllRequest(_x18) { - return _ref20.apply(this, arguments); + return function handleSelectAllRequest(_x20) { + return _ref21.apply(this, arguments); }; }(); var handleUnselectAllRequest = /*#__PURE__*/function () { - var _ref21 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee23(ids) { + var _ref22 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee24(ids) { var res; - return regeneratorRuntime_default()().wrap(function _callee23$(_context23) { - while (1) switch (_context23.prev = _context23.next) { + return regeneratorRuntime_default()().wrap(function _callee24$(_context24) { + while (1) switch (_context24.prev = _context24.next) { case 0: if (!params.exam_id) { - _context23.next = 6; + _context24.next = 6; break; } - _context23.next = 3; + _context24.next = 3; return (0,fetch/* default */.ZP)("/api/examination_banks/".concat(params.exam_id, "/batch_revoke_item.json"), { method: 'post', body: { @@ -9401,15 +9452,15 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 3: - res = _context23.sent; - _context23.next = 15; + res = _context24.sent; + _context24.next = 15; break; case 6: if (!(params !== null && params !== void 0 && params.exercise_id)) { - _context23.next = 12; + _context24.next = 12; break; } - _context23.next = 9; + _context24.next = 9; return (0,fetch/* default */.ZP)("/api/exercise_questions/delete_by_item_bank.json ", { method: 'post', body: { @@ -9418,11 +9469,11 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 9: - res = _context23.sent; - _context23.next = 15; + res = _context24.sent; + _context24.next = 15; break; case 12: - _context23.next = 14; + _context24.next = 14; return dispatch({ type: 'problemset/unselectAll', payload: { @@ -9430,7 +9481,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 14: - res = _context23.sent; + res = _context24.sent; case 15: if (res.status === 0) { handleReloadData(); @@ -9438,45 +9489,45 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 16: case "end": - return _context23.stop(); + return _context24.stop(); } - }, _callee23); + }, _callee24); })); - return function handleUnselectAllRequest(_x19) { - return _ref21.apply(this, arguments); + return function handleUnselectAllRequest(_x21) { + return _ref22.apply(this, arguments); }; }(); var handleShixuns = /*#__PURE__*/function () { - var _ref22 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee24(ids) { + var _ref23 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee25(ids) { var res; - return regeneratorRuntime_default()().wrap(function _callee24$(_context24) { - while (1) switch (_context24.prev = _context24.next) { + return regeneratorRuntime_default()().wrap(function _callee25$(_context25) { + while (1) switch (_context25.prev = _context25.next) { case 0: if (!(isProblemset && basketTotal === 200)) { - _context24.next = 3; + _context25.next = 3; break; } message/* default */.ZP.info('已选200个试题(不能在选用更多试题)'); - return _context24.abrupt("return"); + return _context25.abrupt("return"); case 3: if (!params.exam_id) { - _context24.next = 10; + _context25.next = 10; break; } - _context24.next = 6; + _context25.next = 6; return (0,service_problemset/* examinationItems */.zh)({ exam_id: params.exam_id, shixun_ids: ids }); case 6: - res = _context24.sent; + res = _context25.sent; if (res.status === 0) { handleReloadData(); } - _context24.next = 14; + _context25.next = 14; break; case 10: - _context24.next = 12; + _context25.next = 12; return dispatch({ type: 'problemset/select', payload: { @@ -9484,19 +9535,19 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 12: - res = _context24.sent; + res = _context25.sent; if (res.status === 0) { getBasketList(); handleReloadData(); } case 14: case "end": - return _context24.stop(); + return _context25.stop(); } - }, _callee24); + }, _callee25); })); - return function handleShixuns(_x20) { - return _ref22.apply(this, arguments); + return function handleShixuns(_x22) { + return _ref23.apply(this, arguments); }; }(); var handleShixunChange = function handleShixunChange() { @@ -9510,19 +9561,19 @@ var ProblemsetPage = function ProblemsetPage(_ref) { // 共享文件夹: var handledireShare = /*#__PURE__*/function () { - var _ref23 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee26(id) { + var _ref24 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee27(id) { var _problemset$teachGrou, _res$data2; var res; - return regeneratorRuntime_default()().wrap(function _callee26$(_context26) { - while (1) switch (_context26.prev = _context26.next) { + return regeneratorRuntime_default()().wrap(function _callee27$(_context27) { + while (1) switch (_context27.prev = _context27.next) { case 0: if ((_problemset$teachGrou = problemset.teachGroupData) !== null && _problemset$teachGrou !== void 0 && (_problemset$teachGrou = _problemset$teachGrou.groups) !== null && _problemset$teachGrou !== void 0 && _problemset$teachGrou.length) { - _context26.next = 2; + _context27.next = 2; break; } - return _context26.abrupt("return", message/* default */.ZP.info('您暂未创建或加入任何教研团队,请前往“我的个人中心-教研团队”查看')); + return _context27.abrupt("return", message/* default */.ZP.info('您暂未创建或加入任何教研团队,请前往“我的个人中心-教研团队”查看')); case 2: - _context26.next = 4; + _context27.next = 4; return (0,fetch/* default */.ZP)("/api/teach_group_shares/get_group_status.json", { method: 'get', params: { @@ -9530,13 +9581,13 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 4: - res = _context26.sent; + res = _context27.sent; console.log(res, "判断可否共享-是否被共享过"); if (!(res.status !== 0)) { - _context26.next = 8; + _context27.next = 8; break; } - return _context26.abrupt("return"); + return _context27.abrupt("return"); case 8: joinGroupDataRef.current = res === null || res === void 0 ? void 0 : res.data; //拿到数据后赋值 modal/* default */.Z.confirm({ @@ -9586,20 +9637,20 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }), onOk: function onOk() { return new Promise( /*#__PURE__*/function () { - var _ref24 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee25(resolve, reject) { + var _ref25 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee26(resolve, reject) { var _joinGroupDataRef$cur3; var res2; - return regeneratorRuntime_default()().wrap(function _callee25$(_context25) { - while (1) switch (_context25.prev = _context25.next) { + return regeneratorRuntime_default()().wrap(function _callee26$(_context26) { + while (1) switch (_context26.prev = _context26.next) { case 0: if ((_joinGroupDataRef$cur3 = joinGroupDataRef.current) !== null && _joinGroupDataRef$cur3 !== void 0 && _joinGroupDataRef$cur3.length) { - _context25.next = 3; + _context26.next = 3; break; } message/* default */.ZP.info('请先选择教研团队'); - return _context25.abrupt("return", reject()); + return _context26.abrupt("return", reject()); case 3: - _context25.next = 5; + _context26.next = 5; return (0,fetch/* default */.ZP)("/api/teach_group_shares/item_banks_group.json", { method: 'post', body: { @@ -9614,7 +9665,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 5: - res2 = _context25.sent; + res2 = _context26.sent; console.log(res2); if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.success("操作成功"); @@ -9626,24 +9677,24 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 8: case "end": - return _context25.stop(); + return _context26.stop(); } - }, _callee25); + }, _callee26); })); - return function (_x22, _x23) { - return _ref24.apply(this, arguments); + return function (_x24, _x25) { + return _ref25.apply(this, arguments); }; }()); } }); case 10: case "end": - return _context26.stop(); + return _context27.stop(); } - }, _callee26); + }, _callee27); })); - return function handledireShare(_x21) { - return _ref23.apply(this, arguments); + return function handledireShare(_x23) { + return _ref24.apply(this, arguments); }; }(); @@ -9693,27 +9744,27 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }), onOk: function onOk() { return new Promise( /*#__PURE__*/function () { - var _ref25 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee27(resolve, reject) { + var _ref26 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee28(resolve, reject) { var _joinGroupDataRef$cur4; var res; - return regeneratorRuntime_default()().wrap(function _callee27$(_context27) { - while (1) switch (_context27.prev = _context27.next) { + return regeneratorRuntime_default()().wrap(function _callee28$(_context28) { + while (1) switch (_context28.prev = _context28.next) { case 0: if ((_joinGroupDataRef$cur4 = joinGroupDataRef.current) !== null && _joinGroupDataRef$cur4 !== void 0 && _joinGroupDataRef$cur4.length) { - _context27.next = 3; + _context28.next = 3; break; } message/* default */.ZP.info('请先选择教研团队'); - return _context27.abrupt("return", reject()); + return _context28.abrupt("return", reject()); case 3: - _context27.next = 5; + _context28.next = 5; return (0,service_problemset/* batchShare */.GW)({ ids: id || selectIds, clazz: 'ItemBank', group_ids: joinGroupDataRef.current }); case 5: - res = _context27.sent; + res = _context28.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.info('所选试题成功分享至教研团队'); joinGroupDataRef.current = []; @@ -9723,12 +9774,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 7: case "end": - return _context27.stop(); + return _context28.stop(); } - }, _callee27); + }, _callee28); })); - return function (_x24, _x25) { - return _ref25.apply(this, arguments); + return function (_x26, _x27) { + return _ref26.apply(this, arguments); }; }()); }, @@ -9740,18 +9791,18 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }; var handleBatchDelete = function handleBatchDelete() { var handleOk = /*#__PURE__*/function () { - var _ref26 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee28() { + var _ref27 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee29() { var res; - return regeneratorRuntime_default()().wrap(function _callee28$(_context28) { - while (1) switch (_context28.prev = _context28.next) { + return regeneratorRuntime_default()().wrap(function _callee29$(_context29) { + while (1) switch (_context29.prev = _context29.next) { case 0: setBatchDeleteLoading(true); - _context28.next = 3; + _context29.next = 3; return (0,service_problemset/* batchQuestionsDelete */.nD)({ ids: selectIds }); case 3: - res = _context28.sent; + res = _context29.sent; setBatchDeleteLoading(false); if ((res === null || res === void 0 ? void 0 : res.status) === 0) { modal/* default */.Z.info({ @@ -9771,12 +9822,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 6: case "end": - return _context28.stop(); + return _context29.stop(); } - }, _callee28); + }, _callee29); })); return function handleOk() { - return _ref26.apply(this, arguments); + return _ref27.apply(this, arguments); }; }(); if (selectIds !== null && selectIds !== void 0 && selectIds.length) { @@ -9841,19 +9892,19 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); }; var handleBatchSetPublicRequest = /*#__PURE__*/function () { - var _ref27 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee29(id) { + var _ref28 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee30(id) { var source, res; - return regeneratorRuntime_default()().wrap(function _callee29$(_context29) { - while (1) switch (_context29.prev = _context29.next) { + return regeneratorRuntime_default()().wrap(function _callee30$(_context30) { + while (1) switch (_context30.prev = _context30.next) { case 0: source = activeTabsKey === TabType.TeachGroupShare ? 1 : 2; // 试题来源;1 教研团队分享的, 2 我创建的 - _context29.next = 3; + _context30.next = 3; return (0,service_problemset/* batchPublic */.Qp)({ ids: id ? [id] : selectIds, source: source }); case 3: - res = _context29.sent; + res = _context30.sent; if (res.status === 0) { hintFlagRef.current && window.localStorage.setItem('problemset-set-public-hint-flag', '1'); hintFlagRef.current = false; @@ -9862,12 +9913,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 5: case "end": - return _context29.stop(); + return _context30.stop(); } - }, _callee29); + }, _callee30); })); - return function handleBatchSetPublicRequest(_x26) { - return _ref27.apply(this, arguments); + return function handleBatchSetPublicRequest(_x28) { + return _ref28.apply(this, arguments); }; }(); var handlePublish = function handlePublish(identifier) { @@ -9888,26 +9939,26 @@ var ProblemsetPage = function ProblemsetPage(_ref) { okText: '确定', cancelText: '取消', onOk: function () { - var _onOk6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee30() { + var _onOk6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee31() { var res; - return regeneratorRuntime_default()().wrap(function _callee30$(_context30) { - while (1) switch (_context30.prev = _context30.next) { + return regeneratorRuntime_default()().wrap(function _callee31$(_context31) { + while (1) switch (_context31.prev = _context31.next) { case 0: - _context30.next = 2; + _context31.next = 2; return (0,service_problemset/* programPublish */.MZ)({ identifier: identifier }); case 2: - res = _context30.sent; + res = _context31.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.success('发布成功'); handleReloadData(); } case 4: case "end": - return _context30.stop(); + return _context31.stop(); } - }, _callee30); + }, _callee31); })); function onOk() { return _onOk6.apply(this, arguments); @@ -9929,26 +9980,26 @@ var ProblemsetPage = function ProblemsetPage(_ref) { okText: '确定', cancelText: '取消', onOk: function () { - var _onOk7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee31() { + var _onOk7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee32() { var res; - return regeneratorRuntime_default()().wrap(function _callee31$(_context31) { - while (1) switch (_context31.prev = _context31.next) { + return regeneratorRuntime_default()().wrap(function _callee32$(_context32) { + while (1) switch (_context32.prev = _context32.next) { case 0: - _context31.next = 2; + _context32.next = 2; return (0,service_problemset/* programCancelPublish */.sD)({ identifier: identifier }); case 2: - res = _context31.sent; + res = _context32.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { message/* default */.ZP.success('撤销发布成功'); handleReloadData(); } case 4: case "end": - return _context31.stop(); + return _context32.stop(); } - }, _callee31); + }, _callee32); })); function onOk() { return _onOk7.apply(this, arguments); @@ -9958,9 +10009,9 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); }; var handleChangeTeachGroup = /*#__PURE__*/function () { - var _ref28 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee32(id) { - return regeneratorRuntime_default()().wrap(function _callee32$(_context32) { - while (1) switch (_context32.prev = _context32.next) { + var _ref29 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee33(id) { + return regeneratorRuntime_default()().wrap(function _callee33$(_context33) { + while (1) switch (_context33.prev = _context33.next) { case 0: console.log("切换团队tab时触发", id); // dispatch({ @@ -9988,12 +10039,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { getGroups(params); case 10: case "end": - return _context32.stop(); + return _context33.stop(); } - }, _callee32); + }, _callee33); })); - return function handleChangeTeachGroup(_x27) { - return _ref28.apply(this, arguments); + return function handleChangeTeachGroup(_x29) { + return _ref29.apply(this, arguments); }; }(); // 筛选排序 @@ -10061,18 +10112,18 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }); }; var handleBatchPublish = /*#__PURE__*/function () { - var _ref29 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee34() { - var conditionRes, _ref30, unpublish_program_question_count, total_item_banks; - return regeneratorRuntime_default()().wrap(function _callee34$(_context34) { - while (1) switch (_context34.prev = _context34.next) { + var _ref30 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee35() { + var conditionRes, _ref31, unpublish_program_question_count, total_item_banks; + return regeneratorRuntime_default()().wrap(function _callee35$(_context35) { + while (1) switch (_context35.prev = _context35.next) { case 0: - _context34.next = 2; + _context35.next = 2; return (0,service_problemset/* batchPublishCondition */.bF)({ ids: selectIds }); case 2: - conditionRes = _context34.sent; - _ref30 = conditionRes.data || {}, unpublish_program_question_count = _ref30.unpublish_program_question_count, total_item_banks = _ref30.total_item_banks; + conditionRes = _context35.sent; + _ref31 = conditionRes.data || {}, unpublish_program_question_count = _ref31.unpublish_program_question_count, total_item_banks = _ref31.total_item_banks; if (unpublish_program_question_count === 0) { modal/* default */.Z.error({ title: '错误', @@ -10090,26 +10141,26 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }), centered: true, onOk: function () { - var _onOk8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee33() { + var _onOk8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee34() { var res; - return regeneratorRuntime_default()().wrap(function _callee33$(_context33) { - while (1) switch (_context33.prev = _context33.next) { + return regeneratorRuntime_default()().wrap(function _callee34$(_context34) { + while (1) switch (_context34.prev = _context34.next) { case 0: - _context33.next = 2; + _context34.next = 2; return (0,service_problemset/* batchPublish */.dt)({ ids: selectIds }); case 2: - res = _context33.sent; + res = _context34.sent; if (res.status === 0) { message/* default */.ZP.success('发布成功'); handleReloadData(); } case 4: case "end": - return _context33.stop(); + return _context34.stop(); } - }, _callee33); + }, _callee34); })); function onOk() { return _onOk8.apply(this, arguments); @@ -10120,12 +10171,12 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } case 5: case "end": - return _context34.stop(); + return _context35.stop(); } - }, _callee34); + }, _callee35); })); return function handleBatchPublish() { - return _ref29.apply(this, arguments); + return _ref30.apply(this, arguments); }; }(); var menu = /*#__PURE__*/(0,jsx_runtime.jsxs)(es_menu/* default */.Z, { @@ -10169,7 +10220,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { })); } else { if (keys.length > selectitem.length) { - var _ref31; + var _ref32; var _arr = problemsetList.filter(function (item) { return keys.includes(item.id); }); @@ -10180,7 +10231,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { return !ids.includes(item.id); }); setselectitem([].concat(toConsumableArray_default()(selectitem), toConsumableArray_default()(arr2))); - setSelectIds((_ref31 = [].concat(toConsumableArray_default()(selectitem), toConsumableArray_default()(arr2))) === null || _ref31 === void 0 ? void 0 : _ref31.map(function (x) { + setSelectIds((_ref32 = [].concat(toConsumableArray_default()(selectitem), toConsumableArray_default()(arr2))) === null || _ref32 === void 0 ? void 0 : _ref32.map(function (x) { return x.id; })); } else { @@ -10200,7 +10251,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { var handleSelectCheckedAll = function handleSelectCheckedAll(checked) { if (isprogram_homework) { if (checked) { - var _ref32; + var _ref33; var res = selectitem === null || selectitem === void 0 ? void 0 : selectitem.map(function (item) { return item.id; }); @@ -10208,7 +10259,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { return !res.includes(item.id); }); setselectitem([].concat(toConsumableArray_default()(selectitem), toConsumableArray_default()(arr1))); - setSelectIds((_ref32 = [].concat(toConsumableArray_default()(selectitem), toConsumableArray_default()(arr1))) === null || _ref32 === void 0 ? void 0 : _ref32.map(function (x) { + setSelectIds((_ref33 = [].concat(toConsumableArray_default()(selectitem), toConsumableArray_default()(arr1))) === null || _ref33 === void 0 ? void 0 : _ref33.map(function (x) { return x.id; })); } else { @@ -10339,16 +10390,17 @@ var ProblemsetPage = function ProblemsetPage(_ref) { onCancelShare: handleCancelShare, onPublish: handlePublish, onCancelPublish: handleCancelPublish, - SubjectShare: SubjectShare + SubjectShare: SubjectShare, + onCpTest: handleCpTest }, r.id), domBtn] }); return dom; }; (0,_react_17_0_2_react.useEffect)(function () { if (isprogram_homework) { - var _ref33 = paramsRouter, - coursesId = _ref33.coursesId, - categoryId = _ref33.categoryId; + var _ref34 = paramsRouter, + coursesId = _ref34.coursesId, + categoryId = _ref34.categoryId; dispatch({ type: 'shixunHomeworks/addCommonHomeWorkDefaultData', payload: { @@ -10360,29 +10412,29 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }, [isprogram_homework]); var handleAdd = /*#__PURE__*/function () { - var _ref34 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee35() { - var value, _ref35, coursesId, categoryId, res; - return regeneratorRuntime_default()().wrap(function _callee35$(_context35) { - while (1) switch (_context35.prev = _context35.next) { + var _ref35 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee36() { + var value, _ref36, coursesId, categoryId, res; + return regeneratorRuntime_default()().wrap(function _callee36$(_context36) { + while (1) switch (_context36.prev = _context36.next) { case 0: - _context35.prev = 0; - _context35.next = 3; + _context36.prev = 0; + _context36.next = 3; return operatingRef.current.form.validateFields(); case 3: value = operatingRef.current.form.getFieldsValue(); // console.log(value, 'value') if (!((selectitem === null || selectitem === void 0 ? void 0 : selectitem.length) <= 0)) { - _context35.next = 8; + _context36.next = 8; break; } document.getElementById("topicdom").scrollIntoView({ behavior: "smooth" }); message/* default */.ZP.info('请选择编程题'); - return _context35.abrupt("return"); + return _context36.abrupt("return"); case 8: setAddLoading(true); - _ref35 = paramsRouter, coursesId = _ref35.coursesId, categoryId = _ref35.categoryId; - _context35.next = 12; + _ref36 = paramsRouter, coursesId = _ref36.coursesId, categoryId = _ref36.categoryId; + _context36.next = 12; return (0,fetch/* default */.ZP)(isProgramEdit ? "/api/homework_commons/".concat(categoryId, "/update_hack.json") : "/api/courses/".concat(coursesId, "/homework_commons.json"), { method: isProgramEdit ? 'put' : 'post', body: objectSpread2_default()(objectSpread2_default()({}, value), {}, { @@ -10395,25 +10447,25 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }) }); case 12: - res = _context35.sent; + res = _context36.sent; if ((res === null || res === void 0 ? void 0 : res.status) === 0) { _umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework/").concat(isProgramEdit ? categoryId : res.homework_id, "/detail?tabs=1")); } setAddLoading(false); - _context35.next = 20; + _context36.next = 20; break; case 17: - _context35.prev = 17; - _context35.t0 = _context35["catch"](0); + _context36.prev = 17; + _context36.t0 = _context36["catch"](0); document.body.scrollIntoView(); case 20: case "end": - return _context35.stop(); + return _context36.stop(); } - }, _callee35, null, [[0, 17]]); + }, _callee36, null, [[0, 17]]); })); return function handleAdd() { - return _ref34.apply(this, arguments); + return _ref35.apply(this, arguments); }; }(); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -10834,13 +10886,13 @@ var ProblemsetPage = function ProblemsetPage(_ref) { }, onDelete: handleBasketDelete, onClear: handleBasketClear, - onSubmit: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee36() { + onSubmit: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee37() { var _disciplinesData$disc, _disciplinesData$new_, _disciplinesData$new_2, _defaultDisciplines$s; var disciplinesData, defaultDisciplines, res; - return regeneratorRuntime_default()().wrap(function _callee36$(_context36) { - while (1) switch (_context36.prev = _context36.next) { + return regeneratorRuntime_default()().wrap(function _callee37$(_context37) { + while (1) switch (_context37.prev = _context37.next) { case 0: - _context36.next = 2; + _context37.next = 2; return dispatch({ type: 'problemsetPreview/getEditDisciplines', payload: { @@ -10848,10 +10900,10 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 2: - disciplinesData = _context36.sent; + disciplinesData = _context37.sent; //new_checked没有值则默认取第一个 defaultDisciplines = disciplinesData === null || disciplinesData === void 0 || (_disciplinesData$disc = disciplinesData.disciplines) === null || _disciplinesData$disc === void 0 ? void 0 : _disciplinesData$disc[0]; - _context36.next = 6; + _context37.next = 6; return dispatch({ type: 'problemsetPreview/newPreviewProblemset', payload: { @@ -10863,15 +10915,15 @@ var ProblemsetPage = function ProblemsetPage(_ref) { } }); case 6: - res = _context36.sent; + res = _context37.sent; if (res.status === 0) { _umi_production_exports.history.push("paperlibrary/add/".concat(res.exam_id, "?defaultActiveKey=1&type=2")); } case 8: case "end": - return _context36.stop(); + return _context37.stop(); } - }, _callee36); + }, _callee37); })) }), !(0,authority/* isCommonStudent */.JA)() && isProblemset && /*#__PURE__*/(0,jsx_runtime.jsx)(BasketSideBar, { visibleBasket: visibleBasketDrawer, @@ -11113,13 +11165,13 @@ var ProblemsetPage = function ProblemsetPage(_ref) { })] }); }; -/* harmony default export */ var Problemset = ((0,_umi_production_exports.connect)(function (_ref37) { - var classroomList = _ref37.classroomList, - problemset = _ref37.problemset, - user = _ref37.user, - loading = _ref37.loading, - globalSetting = _ref37.globalSetting, - shixunHomeworks = _ref37.shixunHomeworks; +/* harmony default export */ var Problemset = ((0,_umi_production_exports.connect)(function (_ref38) { + var classroomList = _ref38.classroomList, + problemset = _ref38.problemset, + user = _ref38.user, + loading = _ref38.loading, + globalSetting = _ref38.globalSetting, + shixunHomeworks = _ref38.shixunHomeworks; return { classroomList: classroomList, problemset: problemset, diff --git a/umi.js b/umi.js index e8f32b31a7..42f8cabcd1 100644 --- a/umi.js +++ b/umi.js @@ -42067,6 +42067,7 @@ function _exercisesBanksMoveUpDown() { /* harmony export */ U6: function() { return /* binding */ addKnowledge; }, /* harmony export */ Vl: function() { return /* binding */ setCombinationScore; }, /* harmony export */ Wk: function() { return /* binding */ editProblemset; }, +/* harmony export */ Wn: function() { return /* binding */ getCpTest; }, /* harmony export */ YP: function() { return /* binding */ batchSetScore; }, /* harmony export */ Ys: function() { return /* binding */ select; }, /* harmony export */ al: function() { return /* binding */ cancel; }, @@ -42093,10 +42094,10 @@ function _exercisesBanksMoveUpDown() { /* harmony export */ zh: function() { return /* binding */ examinationItems; } /* harmony export */ }); /* unused harmony exports setExerciseCombinationScore, joinGroup, updateGroup, getSubdirectory */ -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js */ 10574); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/objectSpread2.js */ 26801); -/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/objectSpread2.js */ 26801); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/regeneratorRuntime.js */ 10574); +/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.2@@babel/runtime/helpers/asyncToGenerator.js */ 39343); /* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/fetch */ 4781); @@ -42104,237 +42105,259 @@ function _exercisesBanksMoveUpDown() { -function getDisciplines(_x) { +/** + * @description 试题库复制题目 + */ +var getCpTest = /*#__PURE__*/function () { + var _ref = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_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/item_banks/copy_item_bank.json", { + method: 'post', + body: params + })); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getCpTest(_x) { + return _ref.apply(this, arguments); + }; +}(); +function getDisciplines(_x2) { return _getDisciplines.apply(this, arguments); } function _getDisciplines() { - _getDisciplines = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + _getDisciplines = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { case 0: - return _context.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/disciplines.json', { + return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/disciplines.json', { method: 'get', - params: _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params), {}, { + params: _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params), {}, { clazz: "ItemBanksGroup" }) })); case 1: case "end": - return _context.stop(); + return _context2.stop(); } - }, _callee); + }, _callee2); })); return _getDisciplines.apply(this, arguments); } -function getBasketList(_x2) { +function getBasketList(_x3) { return _getBasketList.apply(this, arguments); } // 获取文件夹数据: function _getBasketList() { - _getBasketList = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + _getBasketList = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee3(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: - return _context2.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/item_baskets/basket_list.json', { + return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/item_baskets/basket_list.json', { method: 'get', params: params })); case 1: case "end": - return _context2.stop(); + return _context3.stop(); } - }, _callee2); + }, _callee3); })); return _getBasketList.apply(this, arguments); } -function getGroup(_x3) { +function getGroup(_x4) { return _getGroup.apply(this, arguments); } // 获取试题数据: function _getGroup() { - _getGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + _getGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee4(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { case 0: - return _context3.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/item_banks_groups/for_problemset.json', { + return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/item_banks_groups/for_problemset.json', { method: 'post', body: params })); case 1: case "end": - return _context3.stop(); + return _context4.stop(); } - }, _callee3); + }, _callee4); })); return _getGroup.apply(this, arguments); } -function getItemBanks(_x4) { +function getItemBanks(_x5) { return _getItemBanks.apply(this, arguments); } function _getItemBanks() { - _getItemBanks = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(body) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { + _getItemBanks = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(body) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { case 0: - return _context4.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/item_banks/list.json', { + return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)('/api/item_banks/list.json', { method: 'post', body: body })); case 1: case "end": - return _context4.stop(); + return _context5.stop(); } - }, _callee4); + }, _callee5); })); return _getItemBanks.apply(this, arguments); } -function setPrivate(_x5) { +function setPrivate(_x6) { return _setPrivate.apply(this, arguments); } function _setPrivate() { - _setPrivate = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { + _setPrivate = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee6(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: - return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/set_private.json"), { + return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/set_private.json"), { method: 'post' })); case 1: case "end": - return _context5.stop(); + return _context6.stop(); } - }, _callee5); + }, _callee6); })); return _setPrivate.apply(this, arguments); } -function setPublic(_x6) { +function setPublic(_x7) { return _setPublic.apply(this, arguments); } function _setPublic() { - _setPublic = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { + _setPublic = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee7(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { case 0: - return _context6.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/set_public.json"), { + return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/set_public.json"), { method: 'post' })); case 1: case "end": - return _context6.stop(); + return _context7.stop(); } - }, _callee6); + }, _callee7); })); return _setPublic.apply(this, arguments); } -function handleDelete(_x7) { +function handleDelete(_x8) { return _handleDelete.apply(this, arguments); } function _handleDelete() { - _handleDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { + _handleDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee8(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { case 0: - return _context7.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, ".json"), { + return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": - return _context7.stop(); + return _context8.stop(); } - }, _callee7); + }, _callee8); })); return _handleDelete.apply(this, arguments); } -function startExperience(_x8) { +function startExperience(_x9) { return _startExperience.apply(this, arguments); } function _startExperience() { - _startExperience = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { + _startExperience = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee9(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee9$(_context9) { + while (1) switch (_context9.prev = _context9.next) { case 0: - return _context8.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/start.json"), { + return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/start.json"), { method: 'get' })); case 1: case "end": - return _context8.stop(); + return _context9.stop(); } - }, _callee8); + }, _callee9); })); return _startExperience.apply(this, arguments); } -function cancel(_x9) { +function cancel(_x10) { return _cancel.apply(this, arguments); } function _cancel() { - _cancel = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { - while (1) switch (_context9.prev = _context9.next) { + _cancel = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) { + while (1) switch (_context10.prev = _context10.next) { case 0: - return _context9.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, ".json"), { + return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, ".json"), { method: 'delete', - body: _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params) + body: _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context9.stop(); + return _context10.stop(); } - }, _callee9); + }, _callee10); })); return _cancel.apply(this, arguments); } -function select(_x10) { +function select(_x11) { return _select.apply(this, arguments); } function _select() { - _select = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { - while (1) switch (_context10.prev = _context10.next) { + _select = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) { + while (1) switch (_context11.prev = _context11.next) { case 0: - return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets.json", { + return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets.json", { method: 'post', body: params })); case 1: case "end": - return _context10.stop(); + return _context11.stop(); } - }, _callee10); + }, _callee11); })); return _select.apply(this, arguments); } -function examUnselectAll(_x11) { +function examUnselectAll(_x12) { return _examUnselectAll.apply(this, arguments); } function _examUnselectAll() { - _examUnselectAll = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { - while (1) switch (_context11.prev = _context11.next) { + _examUnselectAll = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) { + while (1) switch (_context12.prev = _context12.next) { case 0: - return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/cancel_items.json", { + return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/cancel_items.json", { method: 'post', body: params })); case 1: case "end": - return _context11.stop(); + return _context12.stop(); } - }, _callee11); + }, _callee12); })); return _examUnselectAll.apply(this, arguments); } -function basketDelete(_x12) { +function basketDelete(_x13) { return _basketDelete.apply(this, arguments); } function _basketDelete() { - _basketDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { - while (1) switch (_context12.prev = _context12.next) { + _basketDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) { + while (1) switch (_context13.prev = _context13.next) { case 0: - return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/delete_item_type.json", { + return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/delete_item_type.json", { method: 'delete', body: { item_type: params.type @@ -42342,669 +42365,669 @@ function _basketDelete() { })); case 1: case "end": - return _context12.stop(); + return _context13.stop(); } - }, _callee12); + }, _callee13); })); return _basketDelete.apply(this, arguments); } -function unselectAll(_x13) { +function unselectAll(_x14) { return _unselectAll.apply(this, arguments); } function _unselectAll() { - _unselectAll = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { - while (1) switch (_context13.prev = _context13.next) { + _unselectAll = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) { + while (1) switch (_context14.prev = _context14.next) { case 0: - return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/cancel_items.json", { + return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/cancel_items.json", { method: 'post', body: params })); case 1: case "end": - return _context13.stop(); + return _context14.stop(); } - }, _callee13); + }, _callee14); })); return _unselectAll.apply(this, arguments); } -function addKnowledge(_x14) { +function addKnowledge(_x15) { return _addKnowledge.apply(this, arguments); } function _addKnowledge() { - _addKnowledge = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { - while (1) switch (_context14.prev = _context14.next) { + _addKnowledge = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) { + while (1) switch (_context15.prev = _context15.next) { case 0: - return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/tag_disciplines.json", { + return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/tag_disciplines.json", { method: 'post', body: params })); case 1: case "end": - return _context14.stop(); + return _context15.stop(); } - }, _callee14); + }, _callee15); })); return _addKnowledge.apply(this, arguments); } -function editProblemset(_x15) { +function editProblemset(_x16) { return _editProblemset.apply(this, arguments); } function _editProblemset() { - _editProblemset = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { - while (1) switch (_context15.prev = _context15.next) { + _editProblemset = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) { + while (1) switch (_context16.prev = _context16.next) { case 0: - return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, ".json"), { + return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": - return _context15.stop(); + return _context16.stop(); } - }, _callee15); + }, _callee16); })); return _editProblemset.apply(this, arguments); } -function addProblemset(_x16) { +function addProblemset(_x17) { return _addProblemset.apply(this, arguments); } function _addProblemset() { - _addProblemset = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { - while (1) switch (_context16.prev = _context16.next) { + _addProblemset = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) { + while (1) switch (_context17.prev = _context17.next) { case 0: - return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks.json", { + return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks.json", { method: 'post', body: params })); case 1: case "end": - return _context16.stop(); + return _context17.stop(); } - }, _callee16); + }, _callee17); })); return _addProblemset.apply(this, arguments); } -function getEditData(_x17) { +function getEditData(_x18) { return _getEditData.apply(this, arguments); } function _getEditData() { - _getEditData = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { - while (1) switch (_context17.prev = _context17.next) { + _getEditData = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) { + while (1) switch (_context18.prev = _context18.next) { case 0: - return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/edit.json"), { + return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/edit.json"), { method: 'get' })); case 1: case "end": - return _context17.stop(); + return _context18.stop(); } - }, _callee17); + }, _callee18); })); return _getEditData.apply(this, arguments); } -function getEditDataBprogram(_x18) { +function getEditDataBprogram(_x19) { return _getEditDataBprogram.apply(this, arguments); } function _getEditDataBprogram() { - _getEditDataBprogram = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { - while (1) switch (_context18.prev = _context18.next) { + _getEditDataBprogram = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) { + while (1) switch (_context19.prev = _context19.next) { case 0: - return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/edit.json"), { + return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/".concat(params.id, "/edit.json"), { method: 'get' })); case 1: case "end": - return _context18.stop(); + return _context19.stop(); } - }, _callee18); + }, _callee19); })); return _getEditDataBprogram.apply(this, arguments); } -function getPaperData(_x19) { +function getPaperData(_x20) { return _getPaperData.apply(this, arguments); } function _getPaperData() { - _getPaperData = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { - while (1) switch (_context19.prev = _context19.next) { + _getPaperData = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) { + while (1) switch (_context20.prev = _context20.next) { case 0: - return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets.json", { + return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets.json", { method: 'get', params: params })); case 1: case "end": - return _context19.stop(); + return _context20.stop(); } - }, _callee19); + }, _callee20); })); return _getPaperData.apply(this, arguments); } -function setScore(_x20) { +function setScore(_x21) { return _setScore.apply(this, arguments); } function _setScore() { - _setScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { - while (1) switch (_context20.prev = _context20.next) { + _setScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) { + while (1) switch (_context21.prev = _context21.next) { case 0: - return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/set_score.json"), { + return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/set_score.json"), { method: 'post', body: params })); case 1: case "end": - return _context20.stop(); + return _context21.stop(); } - }, _callee20); + }, _callee21); })); return _setScore.apply(this, arguments); } -function setChallengeScore(_x21) { +function setChallengeScore(_x22) { return _setChallengeScore.apply(this, arguments); } //设置组合分数 function _setChallengeScore() { - _setChallengeScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { - while (1) switch (_context21.prev = _context21.next) { + _setChallengeScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) { + while (1) switch (_context22.prev = _context22.next) { case 0: - return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/set_challenge_score.json"), { + return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/set_challenge_score.json"), { method: 'post', body: params })); case 1: case "end": - return _context21.stop(); + return _context22.stop(); } - }, _callee21); + }, _callee22); })); return _setChallengeScore.apply(this, arguments); } -function setCombinationScore(_x22) { +function setCombinationScore(_x23) { return _setCombinationScore.apply(this, arguments); } function _setCombinationScore() { - _setCombinationScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { - while (1) switch (_context22.prev = _context22.next) { + _setCombinationScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) { + while (1) switch (_context23.prev = _context23.next) { case 0: - return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/combination_set_score.json"), { + return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/combination_set_score.json"), { method: 'post', body: params })); case 1: case "end": - return _context22.stop(); + return _context23.stop(); } - }, _callee22); + }, _callee23); })); return _setCombinationScore.apply(this, arguments); } -function setExerciseCombinationScore(_x23) { +function setExerciseCombinationScore(_x24) { return _setExerciseCombinationScore.apply(this, arguments); } function _setExerciseCombinationScore() { - _setExerciseCombinationScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(params) { - return _regeneratorRuntime().wrap(function _callee23$(_context23) { - while (1) switch (_context23.prev = _context23.next) { + _setExerciseCombinationScore = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(params) { + return _regeneratorRuntime().wrap(function _callee24$(_context24) { + while (1) switch (_context24.prev = _context24.next) { case 0: - return _context23.abrupt("return", Fetch("/api/examination_banks//".concat(params.exerid, "/examination_banks_item_banks/").concat(params.id, "/combination_set_score.json"), { + return _context24.abrupt("return", Fetch("/api/examination_banks//".concat(params.exerid, "/examination_banks_item_banks/").concat(params.id, "/combination_set_score.json"), { method: 'post', body: params })); case 1: case "end": - return _context23.stop(); + return _context24.stop(); } - }, _callee23); + }, _callee24); })); return _setExerciseCombinationScore.apply(this, arguments); } -function handleDeletePreviewQuestion(_x24) { +function handleDeletePreviewQuestion(_x25) { return _handleDeletePreviewQuestion.apply(this, arguments); } function _handleDeletePreviewQuestion() { - _handleDeletePreviewQuestion = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { - while (1) switch (_context24.prev = _context24.next) { + _handleDeletePreviewQuestion = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee25(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee25$(_context25) { + while (1) switch (_context25.prev = _context25.next) { case 0: - return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, ".json"), { + return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, ".json"), { method: 'delete' })); case 1: case "end": - return _context24.stop(); + return _context25.stop(); } - }, _callee24); + }, _callee25); })); return _handleDeletePreviewQuestion.apply(this, arguments); } -function batchSetScore(_x25) { +function batchSetScore(_x26) { return _batchSetScore.apply(this, arguments); } function _batchSetScore() { - _batchSetScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { - while (1) switch (_context25.prev = _context25.next) { + _batchSetScore = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee26(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee26$(_context26) { + while (1) switch (_context26.prev = _context26.next) { case 0: - return _context25.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/batch_set_score.json", { + return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/batch_set_score.json", { method: 'post', body: params })); case 1: case "end": - return _context25.stop(); + return _context26.stop(); } - }, _callee25); + }, _callee26); })); return _batchSetScore.apply(this, arguments); } -function batchDelete(_x26) { +function batchDelete(_x27) { return _batchDelete.apply(this, arguments); } function _batchDelete() { - _batchDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { - while (1) switch (_context26.prev = _context26.next) { + _batchDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee27(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee27$(_context27) { + while (1) switch (_context27.prev = _context27.next) { case 0: - return _context26.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/delete_item_type.json", { + return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/delete_item_type.json", { method: 'delete', body: params })); case 1: case "end": - return _context26.stop(); + return _context27.stop(); } - }, _callee26); + }, _callee27); })); return _batchDelete.apply(this, arguments); } -function adjustPosition(_x27) { +function adjustPosition(_x28) { return _adjustPosition.apply(this, arguments); } function _adjustPosition() { - _adjustPosition = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) { - while (1) switch (_context27.prev = _context27.next) { + _adjustPosition = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee28(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee28$(_context28) { + while (1) switch (_context28.prev = _context28.next) { case 0: - return _context27.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/adjust_position.json"), { + return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/".concat(params.id, "/adjust_position.json"), { method: 'post', body: params })); case 1: case "end": - return _context27.stop(); + return _context28.stop(); } - }, _callee27); + }, _callee28); })); return _adjustPosition.apply(this, arguments); } -function newPreviewProblemset(_x28) { +function newPreviewProblemset(_x29) { return _newPreviewProblemset.apply(this, arguments); } function _newPreviewProblemset() { - _newPreviewProblemset = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) { - while (1) switch (_context28.prev = _context28.next) { + _newPreviewProblemset = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee29(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee29$(_context29) { + while (1) switch (_context29.prev = _context29.next) { case 0: - return _context28.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks.json", { + return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks.json", { method: 'post', body: params })); case 1: case "end": - return _context28.stop(); + return _context29.stop(); } - }, _callee28); + }, _callee29); })); return _newPreviewProblemset.apply(this, arguments); } -function revokeItem(_x29) { +function revokeItem(_x30) { return _revokeItem.apply(this, arguments); } function _revokeItem() { - _revokeItem = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) { - while (1) switch (_context29.prev = _context29.next) { + _revokeItem = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee30(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee30$(_context30) { + while (1) switch (_context30.prev = _context30.next) { case 0: - return _context29.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/revoke_item.json"), { + return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.id, "/revoke_item.json"), { method: 'delete', body: params })); case 1: case "end": - return _context29.stop(); + return _context30.stop(); } - }, _callee29); + }, _callee30); })); return _revokeItem.apply(this, arguments); } -function examinationItems(_x30) { +function examinationItems(_x31) { return _examinationItems.apply(this, arguments); } function _examinationItems() { - _examinationItems = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) { - while (1) switch (_context30.prev = _context30.next) { + _examinationItems = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee31(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee31$(_context31) { + while (1) switch (_context31.prev = _context31.next) { case 0: - return _context30.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.exam_id, "/examination_banks_item_banks.json"), { + return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/examination_banks/".concat(params.exam_id, "/examination_banks_item_banks.json"), { method: 'post', body: params })); case 1: case "end": - return _context30.stop(); + return _context31.stop(); } - }, _callee30); + }, _callee31); })); return _examinationItems.apply(this, arguments); } -function joinCollection(_x31) { +function joinCollection(_x32) { return _joinCollection.apply(this, arguments); } function _joinCollection() { - _joinCollection = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) { - while (1) switch (_context31.prev = _context31.next) { + _joinCollection = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee32(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee32$(_context32) { + while (1) switch (_context32.prev = _context32.next) { case 0: - return _context31.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/join_to_collection.json"), { + return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/join_to_collection.json"), { method: 'post', params: params })); case 1: case "end": - return _context31.stop(); + return _context32.stop(); } - }, _callee31); + }, _callee32); })); return _joinCollection.apply(this, arguments); } -function cancelCollection(_x32) { +function cancelCollection(_x33) { return _cancelCollection.apply(this, arguments); } function _cancelCollection() { - _cancelCollection = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) { - while (1) switch (_context32.prev = _context32.next) { + _cancelCollection = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee33(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee33$(_context33) { + while (1) switch (_context33.prev = _context33.next) { case 0: - return _context32.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/cancel_collection.json"), { + return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/cancel_collection.json"), { method: 'post', params: params })); case 1: case "end": - return _context32.stop(); + return _context33.stop(); } - }, _callee32); + }, _callee33); })); return _cancelCollection.apply(this, arguments); } -function getPaperList(_x33) { +function getPaperList(_x34) { return _getPaperList.apply(this, arguments); } function _getPaperList() { - _getPaperList = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) { - while (1) switch (_context33.prev = _context33.next) { + _getPaperList = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee34(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee34$(_context34) { + while (1) switch (_context34.prev = _context34.next) { case 0: - return _context33.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups.json", { + return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups.json", { method: 'get', params: params })); case 1: case "end": - return _context33.stop(); + return _context34.stop(); } - }, _callee33); + }, _callee34); })); return _getPaperList.apply(this, arguments); } -function getGroupList(_x34) { +function getGroupList(_x35) { return _getGroupList.apply(this, arguments); } function _getGroupList() { - _getGroupList = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) { - while (1) switch (_context34.prev = _context34.next) { + _getGroupList = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { + while (1) switch (_context35.prev = _context35.next) { case 0: - return _context34.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups/mine.json", { + return _context35.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups/mine.json", { method: 'get', params: params })); case 1: case "end": - return _context34.stop(); + return _context35.stop(); } - }, _callee34); + }, _callee35); })); return _getGroupList.apply(this, arguments); } -function joinGroup(_x35) { +function joinGroup(_x36) { return _joinGroup.apply(this, arguments); } function _joinGroup() { - _joinGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee35(params) { - return _regeneratorRuntime().wrap(function _callee35$(_context35) { - while (1) switch (_context35.prev = _context35.next) { + _joinGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(params) { + return _regeneratorRuntime().wrap(function _callee36$(_context36) { + while (1) switch (_context36.prev = _context36.next) { case 0: - return _context35.abrupt("return", Fetch("/api/item_banks/".concat(params.id, "/join_to_group.json"), { + return _context36.abrupt("return", Fetch("/api/item_banks/".concat(params.id, "/join_to_group.json"), { method: 'post', body: params })); case 1: case "end": - return _context35.stop(); + return _context36.stop(); } - }, _callee35); + }, _callee36); })); return _joinGroup.apply(this, arguments); } -function updateGroup(_x36) { +function updateGroup(_x37) { return _updateGroup.apply(this, arguments); } function _updateGroup() { - _updateGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(params) { - return _regeneratorRuntime().wrap(function _callee36$(_context36) { - while (1) switch (_context36.prev = _context36.next) { + _updateGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(params) { + return _regeneratorRuntime().wrap(function _callee37$(_context37) { + while (1) switch (_context37.prev = _context37.next) { case 0: - return _context36.abrupt("return", Fetch("/api/item_banks_groups/".concat(params.id, ".json"), { + return _context37.abrupt("return", Fetch("/api/item_banks_groups/".concat(params.id, ".json"), { method: 'put', body: params })); case 1: case "end": - return _context36.stop(); + return _context37.stop(); } - }, _callee36); + }, _callee37); })); return _updateGroup.apply(this, arguments); } -function createGroup(_x37) { +function createGroup(_x38) { return _createGroup.apply(this, arguments); } function _createGroup() { - _createGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee37(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee37$(_context37) { - while (1) switch (_context37.prev = _context37.next) { + _createGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee38(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee38$(_context38) { + while (1) switch (_context38.prev = _context38.next) { case 0: - return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups.json", { + return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups.json", { method: 'post', body: params })); case 1: case "end": - return _context37.stop(); + return _context38.stop(); } - }, _callee37); + }, _callee38); })); return _createGroup.apply(this, arguments); } -function createFeedback(_x38) { +function createFeedback(_x39) { return _createFeedback.apply(this, arguments); } function _createFeedback() { - _createFeedback = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee38(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee38$(_context38) { - while (1) switch (_context38.prev = _context38.next) { + _createFeedback = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { + while (1) switch (_context39.prev = _context39.next) { case 0: - return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/feedback.json"), { + return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params.id, "/feedback.json"), { method: 'post', body: params })); case 1: case "end": - return _context38.stop(); + return _context39.stop(); } - }, _callee38); + }, _callee39); })); return _createFeedback.apply(this, arguments); } -function getTeachGroupData(_x39) { +function getTeachGroupData(_x40) { return _getTeachGroupData.apply(this, arguments); } function _getTeachGroupData() { - _getTeachGroupData = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee39(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee39$(_context39) { - while (1) switch (_context39.prev = _context39.next) { + _getTeachGroupData = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) { + while (1) switch (_context40.prev = _context40.next) { case 0: - return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { + return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { method: 'get', params: params })); case 1: case "end": - return _context39.stop(); + return _context40.stop(); } - }, _callee39); + }, _callee40); })); return _getTeachGroupData.apply(this, arguments); } -function batchShare(_x40) { +function batchShare(_x41) { return _batchShare.apply(this, arguments); } //试题库批量删除 function _batchShare() { - _batchShare = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee40(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee40$(_context40) { - while (1) switch (_context40.prev = _context40.next) { + _batchShare = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { + while (1) switch (_context41.prev = _context41.next) { case 0: - return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { + return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/teach_group_shares.json", { method: 'post', body: params })); case 1: case "end": - return _context40.stop(); + return _context41.stop(); } - }, _callee40); + }, _callee41); })); return _batchShare.apply(this, arguments); } -function batchQuestionsDelete(_x41) { +function batchQuestionsDelete(_x42) { return _batchQuestionsDelete.apply(this, arguments); } function _batchQuestionsDelete() { - _batchQuestionsDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee41(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee41$(_context41) { - while (1) switch (_context41.prev = _context41.next) { + _batchQuestionsDelete = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee42(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee42$(_context42) { + while (1) switch (_context42.prev = _context42.next) { case 0: - return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/batch_delete.json", { + return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/batch_delete.json", { method: 'post', body: params })); case 1: case "end": - return _context41.stop(); + return _context42.stop(); } - }, _callee41); + }, _callee42); })); return _batchQuestionsDelete.apply(this, arguments); } -function batchGroup(_x42) { +function batchGroup(_x43) { return _batchGroup.apply(this, arguments); } function _batchGroup() { - _batchGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) { - while (1) switch (_context42.prev = _context42.next) { + _batchGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { + while (1) switch (_context43.prev = _context43.next) { case 0: - return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/batch_to_group.json", { + return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/batch_to_group.json", { method: 'post', body: params })); case 1: case "end": - return _context42.stop(); + return _context43.stop(); } - }, _callee42); + }, _callee43); })); return _batchGroup.apply(this, arguments); } -function addGroup(_x43) { +function addGroup(_x44) { return _addGroup.apply(this, arguments); } function _addGroup() { - _addGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) { - while (1) switch (_context43.prev = _context43.next) { + _addGroup = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { + while (1) switch (_context44.prev = _context44.next) { case 0: - return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params === null || params === void 0 ? void 0 : params.id, "/add_to_mine.json"), { + return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/".concat(params === null || params === void 0 ? void 0 : params.id, "/add_to_mine.json"), { method: 'post', body: params })); case 1: case "end": - return _context43.stop(); + return _context44.stop(); } - }, _callee43); + }, _callee44); })); return _addGroup.apply(this, arguments); } -function batchPublic(_x44) { +function batchPublic(_x45) { return _batchPublic.apply(this, arguments); } function _batchPublic() { - _batchPublic = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee44(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee44$(_context44) { - while (1) switch (_context44.prev = _context44.next) { + _batchPublic = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { + while (1) switch (_context45.prev = _context45.next) { case 0: - return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/set_batch_public.json", { + return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks/set_batch_public.json", { method: 'post', body: params })); case 1: case "end": - return _context44.stop(); + return _context45.stop(); } - }, _callee44); + }, _callee45); })); return _batchPublic.apply(this, arguments); } -function getTeachGroupDataById(_x45) { +function getTeachGroupDataById(_x46) { return _getTeachGroupDataById.apply(this, arguments); } function _getTeachGroupDataById() { - _getTeachGroupDataById = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee45(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee45$(_context45) { - while (1) switch (_context45.prev = _context45.next) { + _getTeachGroupDataById = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { + while (1) switch (_context46.prev = _context46.next) { case 0: - return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/teach_group_shares/show_groups.json", { + return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/teach_group_shares/show_groups.json", { method: 'get', params: params })); case 1: case "end": - return _context45.stop(); + return _context46.stop(); } - }, _callee45); + }, _callee46); })); return _getTeachGroupDataById.apply(this, arguments); } @@ -43020,123 +43043,123 @@ function programCancelPublish(params) { body: params }); } -function moveUp(_x46) { +function moveUp(_x47) { return _moveUp.apply(this, arguments); } function _moveUp() { - _moveUp = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee46(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee46$(_context46) { - while (1) switch (_context46.prev = _context46.next) { + _moveUp = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { + while (1) switch (_context47.prev = _context47.next) { case 0: - return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups/".concat(params.id, "/up_position.json"), { + return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups/".concat(params.id, "/up_position.json"), { method: 'get', params: params })); case 1: case "end": - return _context46.stop(); + return _context47.stop(); } - }, _callee46); + }, _callee47); })); return _moveUp.apply(this, arguments); } -function moveDown(_x47) { +function moveDown(_x48) { return _moveDown.apply(this, arguments); } function _moveDown() { - _moveDown = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee47(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee47$(_context47) { - while (1) switch (_context47.prev = _context47.next) { + _moveDown = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { + while (1) switch (_context48.prev = _context48.next) { case 0: - return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups/".concat(params.id, "/down_position.json"), { + return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks_groups/".concat(params.id, "/down_position.json"), { method: 'get', params: params })); case 1: case "end": - return _context47.stop(); + return _context48.stop(); } - }, _callee47); + }, _callee48); })); return _moveDown.apply(this, arguments); } -function editInfo(_x48) { +function editInfo(_x49) { return _editInfo.apply(this, arguments); } function _editInfo() { - _editInfo = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee48(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee48$(_context48) { - while (1) switch (_context48.prev = _context48.next) { + _editInfo = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { + while (1) switch (_context49.prev = _context49.next) { case 0: - return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.id, "/edit_hack.json"), { + return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.id, "/edit_hack.json"), { method: 'get', params: params })); case 1: case "end": - return _context48.stop(); + return _context49.stop(); } - }, _callee48); + }, _callee49); })); return _editInfo.apply(this, arguments); } -function batchPublishCondition(_x49) { +function batchPublishCondition(_x50) { return _batchPublishCondition.apply(this, arguments); } function _batchPublishCondition() { - _batchPublishCondition = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee49(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee49$(_context49) { - while (1) switch (_context49.prev = _context49.next) { + _batchPublishCondition = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { + while (1) switch (_context50.prev = _context50.next) { case 0: - return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/batch_publish_condition.json", { + return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/batch_publish_condition.json", { method: 'post', body: params })); case 1: case "end": - return _context49.stop(); + return _context50.stop(); } - }, _callee49); + }, _callee50); })); return _batchPublishCondition.apply(this, arguments); } -function batchPublish(_x50) { +function batchPublish(_x51) { return _batchPublish.apply(this, arguments); } function _batchPublish() { - _batchPublish = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee50(params) { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee50$(_context50) { - while (1) switch (_context50.prev = _context50.next) { + _batchPublish = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) { + while (1) switch (_context51.prev = _context51.next) { case 0: - return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/batch_publish.json", { + return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/problems/batch_publish.json", { method: 'post', body: params })); case 1: case "end": - return _context50.stop(); + return _context51.stop(); } - }, _callee50); + }, _callee51); })); return _batchPublish.apply(this, arguments); } -function getSubdirectory(_x51) { +function getSubdirectory(_x52) { return _getSubdirectory.apply(this, arguments); } function _getSubdirectory() { - _getSubdirectory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee51(params) { - return _regeneratorRuntime().wrap(function _callee51$(_context51) { - while (1) switch (_context51.prev = _context51.next) { + _getSubdirectory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee52(params) { + return _regeneratorRuntime().wrap(function _callee52$(_context52) { + while (1) switch (_context52.prev = _context52.next) { case 0: - return _context51.abrupt("return", Fetch("/api/item_banks/get_groups.json", { + return _context52.abrupt("return", Fetch("/api/item_banks/get_groups.json", { method: 'get', params: params })); case 1: case "end": - return _context51.stop(); + return _context52.stop(); } - }, _callee51); + }, _callee52); })); return _getSubdirectory.apply(this, arguments); } @@ -43144,18 +43167,18 @@ function clearBasket() { return _clearBasket.apply(this, arguments); } function _clearBasket() { - _clearBasket = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee52() { - return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee52$(_context52) { - while (1) switch (_context52.prev = _context52.next) { + _clearBasket = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53() { + return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { + while (1) switch (_context53.prev = _context53.next) { case 0: - return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/delete_all_items.json", { + return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_baskets/delete_all_items.json", { method: 'delete' })); case 1: case "end": - return _context52.stop(); + return _context53.stop(); } - }, _callee52); + }, _callee53); })); return _clearBasket.apply(this, arguments); }