autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 5a40042260
commit 9c1578699a

@ -52,8 +52,8 @@ var ProFormContext = __webpack_require__(90575);
var useMergedState = __webpack_require__(18929);
// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-utils@2.16.4@@ant-design/pro-utils/es/nanoid/index.js
var nanoid = __webpack_require__(59663);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.2@swr/dist/index/index.mjs
var index = __webpack_require__(22324);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.3@swr/dist/index/index.mjs
var index = __webpack_require__(58030);
;// CONCATENATED MODULE: ./node_modules/_@ant-design_pro-utils@2.16.4@@ant-design/pro-utils/es/hooks/useFetchData/index.js

@ -402,10 +402,10 @@ var config_provider = __webpack_require__(92736);
var zh_CN = __webpack_require__(81863);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.2@swr/dist/_internal/index.mjs + 1 modules
var _internal = __webpack_require__(61267);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.2@swr/dist/index/index.mjs
var index = __webpack_require__(22324);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.3@swr/dist/_internal/index.mjs + 1 modules
var _internal = __webpack_require__(31572);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.3@swr/dist/index/index.mjs
var index = __webpack_require__(58030);
// EXTERNAL MODULE: ./node_modules/_@ant-design_pro-provider@2.15.3@@ant-design/pro-provider/es/intl.js + 32 modules
var es_intl = __webpack_require__(29228);
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js
@ -4750,9 +4750,9 @@ function theme_useToken() {
/***/ }),
/***/ 15396:
/***/ 49423:
/*!***************************************************************************************************!*\
!*** ./node_modules/_swr@2.3.2@swr/dist/_internal/config-context-client-Cm1JTDEP.mjs + 1 modules ***!
!*** ./node_modules/_swr@2.3.3@swr/dist/_internal/config-context-client-v7VOFo66.mjs + 1 modules ***!
\***************************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
@ -4787,8 +4787,8 @@ __webpack_require__.d(__webpack_exports__, {
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.2@swr/dist/_internal/events.mjs
var events = __webpack_require__(4312);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.3@swr/dist/_internal/events.mjs
var events = __webpack_require__(4872);
;// CONCATENATED MODULE: ./node_modules/_dequal@2.0.3@dequal/lite/index.mjs
var has = Object.prototype.hasOwnProperty;
@ -4820,7 +4820,7 @@ function dequal(foo, bar) {
return foo !== foo && bar !== bar;
}
;// CONCATENATED MODULE: ./node_modules/_swr@2.3.2@swr/dist/_internal/config-context-client-Cm1JTDEP.mjs
;// CONCATENATED MODULE: ./node_modules/_swr@2.3.3@swr/dist/_internal/config-context-client-v7VOFo66.mjs
'use client';
@ -5212,10 +5212,10 @@ const initCache = (provider, options)=>{
const opts = mergeObjects(defaultConfigOptions, options);
// If there's no global state bound to the provider, create a new one with the
// new mutate function.
const EVENT_REVALIDATORS = {};
const EVENT_REVALIDATORS = Object.create(null);
const mutate = internalMutate.bind(UNDEFINED, provider);
let unmount = noop;
const subscriptions = {};
const subscriptions = Object.create(null);
const subscribe = (key, callback)=>{
const subs = subscriptions[key] || [];
subscriptions[key] = subs;
@ -5236,9 +5236,9 @@ const initCache = (provider, options)=>{
// Update the state if it's new, or if the provider has been extended.
SWRGlobalState.set(provider, [
EVENT_REVALIDATORS,
{},
{},
{},
Object.create(null),
Object.create(null),
Object.create(null),
mutate,
setter,
subscribe
@ -5386,9 +5386,9 @@ const SWRConfig = (props)=>{
/***/ }),
/***/ 4312:
/***/ 4872:
/*!***************************************************************!*\
!*** ./node_modules/_swr@2.3.2@swr/dist/_internal/events.mjs ***!
!*** ./node_modules/_swr@2.3.3@swr/dist/_internal/events.mjs ***!
\***************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
@ -5409,9 +5409,9 @@ const ERROR_REVALIDATE_EVENT = 3;
/***/ }),
/***/ 61267:
/***/ 31572:
/*!**************************************************************************!*\
!*** ./node_modules/_swr@2.3.2@swr/dist/_internal/index.mjs + 1 modules ***!
!*** ./node_modules/_swr@2.3.3@swr/dist/_internal/index.mjs + 1 modules ***!
\**************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
@ -5426,16 +5426,16 @@ __webpack_require__.d(__webpack_exports__, {
// UNUSED EXPORTS: INFINITE_PREFIX, IS_REACT_LEGACY, IS_SERVER, OBJECT, SWRConfig, SWRGlobalState, UNDEFINED, cache, compare, createCacheHelper, defaultConfig, defaultConfigOptions, getTimestamp, hasRequestAnimationFrame, initCache, internalMutate, isDocumentDefined, isFunction, isLegacyDeno, isPromiseLike, isUndefined, isWindowDefined, mergeConfigs, mergeObjects, mutate, noop, normalize, preload, preset, rAF, revalidateEvents, serialize, slowConnection, stableHash, useIsomorphicLayoutEffect, withMiddleware
// EXTERNAL MODULE: ./node_modules/_swr@2.3.2@swr/dist/_internal/config-context-client-Cm1JTDEP.mjs + 1 modules
var config_context_client_Cm1JTDEP = __webpack_require__(15396);
;// CONCATENATED MODULE: ./node_modules/_swr@2.3.2@swr/dist/_internal/constants.mjs
// EXTERNAL MODULE: ./node_modules/_swr@2.3.3@swr/dist/_internal/config-context-client-v7VOFo66.mjs + 1 modules
var config_context_client_v7VOFo66 = __webpack_require__(49423);
;// CONCATENATED MODULE: ./node_modules/_swr@2.3.3@swr/dist/_internal/constants.mjs
const INFINITE_PREFIX = '$inf$';
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./node_modules/_swr@2.3.2@swr/dist/_internal/index.mjs
;// CONCATENATED MODULE: ./node_modules/_swr@2.3.3@swr/dist/_internal/index.mjs
@ -5446,7 +5446,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
// @ts-expect-error
const enableDevtools = config_context_client_Cm1JTDEP.i && window.__SWR_DEVTOOLS_USE__;
const enableDevtools = config_context_client_v7VOFo66.i && window.__SWR_DEVTOOLS_USE__;
const use = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];
const setupDevTools = ()=>{
if (enableDevtools) {
@ -5456,7 +5456,7 @@ const setupDevTools = ()=>{
};
const normalize = (args)=>{
return (0,config_context_client_Cm1JTDEP.a)(args[1]) ? [
return (0,config_context_client_v7VOFo66.a)(args[1]) ? [
args[0],
args[1],
args[2] || {}
@ -5468,7 +5468,7 @@ const normalize = (args)=>{
};
const useSWRConfig = ()=>{
return (0,config_context_client_Cm1JTDEP.m)(config_context_client_Cm1JTDEP.d, (0,_react_17_0_2_react.useContext)(config_context_client_Cm1JTDEP.S));
return (0,config_context_client_v7VOFo66.m)(config_context_client_v7VOFo66.d, (0,_react_17_0_2_react.useContext)(config_context_client_v7VOFo66.S));
};
const preload = (key_, fetcher)=>{
@ -5483,15 +5483,15 @@ const preload = (key_, fetcher)=>{
const middleware = (useSWRNext)=>(key_, fetcher_, config)=>{
// fetcher might be a sync function, so this should not be an async function
const fetcher = fetcher_ && ((...args)=>{
const [key] = (0,config_context_client_Cm1JTDEP.s)(key_);
const [, , , PRELOAD] = config_context_client_Cm1JTDEP.b.get(config_context_client_Cm1JTDEP.c);
const [key] = (0,config_context_client_v7VOFo66.s)(key_);
const [, , , PRELOAD] = config_context_client_v7VOFo66.b.get(config_context_client_v7VOFo66.c);
if (key.startsWith(INFINITE_PREFIX)) {
// we want the infinite fetcher to be called.
// handling of the PRELOAD cache happens there.
return fetcher_(...args);
}
const req = PRELOAD[key];
if ((0,config_context_client_Cm1JTDEP.e)(req)) return fetcher_(...args);
if ((0,config_context_client_v7VOFo66.e)(req)) return fetcher_(...args);
delete PRELOAD[key];
return req;
});
@ -5509,7 +5509,7 @@ const withArgs = (hook)=>{
// Normalize arguments.
const [key, fn, _config] = normalize(args);
// Merge configurations.
const config = (0,config_context_client_Cm1JTDEP.f)(fallbackConfig, _config);
const config = (0,config_context_client_v7VOFo66.f)(fallbackConfig, _config);
// Apply middleware
let next = hook;
const { use } = config;
@ -5555,9 +5555,9 @@ setupDevTools();
/***/ }),
/***/ 22324:
/***/ 58030:
/*!**********************************************************!*\
!*** ./node_modules/_swr@2.3.2@swr/dist/index/index.mjs ***!
!*** ./node_modules/_swr@2.3.3@swr/dist/index/index.mjs ***!
\**********************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
@ -5569,9 +5569,9 @@ setupDevTools();
/* unused harmony export unstable_serialize */
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var use_sync_external_store_shim_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! use-sync-external-store/shim/index.js */ 19590);
/* harmony import */ var _internal_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_internal/index.mjs */ 15396);
/* harmony import */ var _internal_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_internal/index.mjs */ 4312);
/* harmony import */ var _internal_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_internal/index.mjs */ 61267);
/* harmony import */ var _internal_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_internal/index.mjs */ 49423);
/* harmony import */ var _internal_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_internal/index.mjs */ 4872);
/* harmony import */ var _internal_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_internal/index.mjs */ 31572);
@ -6052,9 +6052,13 @@ const useSWRHandler = (_key, fetcher, config)=>{
(0,_internal_index_mjs__WEBPACK_IMPORTED_MODULE_2__.u)(()=>{
if (!key) return;
const softRevalidate = revalidate.bind(_internal_index_mjs__WEBPACK_IMPORTED_MODULE_2__.U, WITH_DEDUPE);
let nextFocusRevalidatedAt = 0;
if (getConfig().revalidateOnFocus) {
const initNow = Date.now();
nextFocusRevalidatedAt = initNow + getConfig().focusThrottleInterval;
}
// Expose revalidators to global event listeners. So we can trigger
// revalidation from the outside.
let nextFocusRevalidatedAt = 0;
const onRevalidate = (type, opts = {})=>{
if (type == _internal_index_mjs__WEBPACK_IMPORTED_MODULE_3__/* .FOCUS_EVENT */ .N4) {
const now = Date.now();

@ -741,8 +741,8 @@ function useDebounceValue(value) {
}
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.2@swr/dist/index/index.mjs
var index = __webpack_require__(22324);
// EXTERNAL MODULE: ./node_modules/_swr@2.3.3@swr/dist/index/index.mjs
var index = __webpack_require__(58030);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
var SearchOutlined = __webpack_require__(47472);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js

@ -29,7 +29,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.21295df1.js"></script>
<script src="/react/build/umi.aa4e4266.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -599,7 +599,7 @@ var jsx_runtime = __webpack_require__(37712);
var RangePicker = date_picker["default"].RangePicker;
var Navigation = function Navigation(_ref) {
var _user$userInfo;
var _user$userInfo, _user$userInfo2;
var loading = _ref.loading,
user = _ref.user,
dispatch = _ref.dispatch,
@ -700,7 +700,7 @@ var Navigation = function Navigation(_ref) {
fontSize: '20px'
},
children: detail === null || detail === void 0 ? void 0 : detail.title
}), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.identity) !== 'student' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
}), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.admin_and_review) && (user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.identity) === 'teacher' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
onClick: function onClick() {
setaddmodal(true);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save