diff --git a/umi.fff08c06.js b/umi.f1a3ce75.js similarity index 99% rename from umi.fff08c06.js rename to umi.f1a3ce75.js index 3d82eb4f98..c8df8f314d 100644 --- a/umi.fff08c06.js +++ b/umi.f1a3ce75.js @@ -96,7 +96,7 @@ Try polyfilling it using "@formatjs/intl-displaynames" http://j.mp/37Fkd5Q `),Wa=!1),po||za(Ha()),po.formatMessage(Ee,Ve)),Oe=()=>Object.keys(sa)},6383:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(62957),r=e(77019),n=e(5269),a=e(4787),s=e(59301);const u=c=>new Promise((o,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let m=new RTCPeerConnection,p=[];m.createDataChannel(""),m.createOffer().then(b=>m.setLocalDescription(b)).catch(b=>f(b)),m.onicecandidate=b=>{console.log("event:",b);const g=[];if(!b||!b.candidate){if(console.log("ips",p),p.length==0||!(0,a.t)(p[0])){const L=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>L.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const j=p.filter(L=>(0,a.t)(L));return!j||!j.length?f("IP\u83B7\u53D6\u5931\u8D25"):o(j.join(""))}let E=b.candidate.candidate.split(" "),[O,S,I,P,k,R,,T,...A]=E,D=["rtp","rtpc"];if(console.log("event:",b),p.some(j=>j==k)||p.push(k),console.log(" candidate: "+O.split(":")[1]),console.log(" component: "+D[S-1]),console.log(" protocol: "+I),console.log(" priority: "+P),console.log(" ip: "+k),console.log(" port: "+R),console.log(" type: "+T),A.length){console.log("attributes: ");for(let j=0;j "+A[j]+": "+A[j+1])}}})},32026:function(i,d,e){"use strict";e.d(d,{k:function(){return E}});var t=e(1103),r=e(6767),n=e(96999),a=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(S,I,P)=>I in S?a(S,I,{enumerable:!0,configurable:!0,writable:!0,value:P}):S[I]=P,p=(S,I)=>{for(var P in I||(I={}))o.call(I,P)&&m(S,P,I[P]);if(c)for(var P of c(I))f.call(I,P)&&m(S,P,I[P]);return S},b=(S,I)=>s(S,u(I)),g=(S,I)=>{var P={};for(var k in S)o.call(S,k)&&I.indexOf(k)<0&&(P[k]=S[k]);if(S!=null&&c)for(var k of c(S))I.indexOf(k)<0&&f.call(S,k)&&(P[k]=S[k]);return P};const E=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],O={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[E[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${E[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[E[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${E[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:S},{call:I,put:P}){yield P({type:"save",payload:{actionTabs:p({},S)}})},*getMajorList({payload:S},{call:I,put:P,select:k}){const{userInfo:R}=yield k(T=>T.user);if(R!=null&&R.school_id){const T=yield I(t.BA,R.school_id);if(T&&T.data){const A=n.U.getItem(R==null?void 0:R.login);yield P({type:"setMajorOrYearDataSource",payload:{key:E[0],value:T.data.map(D=>({label:D.name,value:D.ec_major_school_id})),active:T.data.length>0?A[0]||T.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:S},{call:I,put:P,select:k}){const R=yield I(t.Nx,S.id),{userInfo:T}=yield k(A=>A.user);if(R&&R.data){const A=n.U.getItem(T==null?void 0:T.login);yield P({type:"setMajorOrYearDataSource",payload:{key:E[1],value:R.data.map(D=>({label:D.year,value:D.ec_year_id})),active:R.data.length>0?S.firstEnter?A[1]:R.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:S={}},{call:I,put:P,select:k}){const{calc:R,page:T,per_page:A}=S,{headerData:D,tabListData:j}=yield k(z=>z.engineeringEvaluteList),{userInfo:L}=yield k(z=>z.user);let V=D.active[E[1]];if(V){let z={id:V,page:T||1,per_page:A||j.pageSize};R&&(z=b(p({},z),{page:j.pageNo}));const Y=yield I(t._y,z),B=[D.active[E[0]],D.active[E[1]]];n.U.setItem(L==null?void 0:L.login,B),Y&&Y.ec_courses&&(yield P({type:"setCourseResults",payload:b(p({},j),{pageNo:z.page,total:Y.count,pageSize:z.per_page||j.pageSize,dataSource:Y.ec_courses.map((W,G)=>b(p({},W),{key:z.page>1?(z.page-1)*z.per_page+G+1:G+1}))})}))}else yield P({type:"setCourseResults",payload:b(p({},j),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:S},{call:I,select:P}){const{headerData:k}=yield P(R=>R.engineeringEvaluteList);k.active[E[1]]&&(yield I(t.F,k.active[E[1]]))},*compute({payload:S},{call:I,put:P}){const k=S,{all:R}=k,T=g(k,["all"]),A=yield I(R?t.At:t.PX,T);A&&A.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield P({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(A.message)}},reducers:{save(S,I){return p(p({},S),I.payload)},setMajorOrYearDataSource(S,{payload:I}){let P=S.headerData.active;return I.active&&(P=b(p({},P),{[I.key]:I.active})),b(p({},S),{headerData:b(p({},S.headerData),{dataSource:b(p({},S.headerData.dataSource),{[I.key]:b(p({},S.headerData.dataSource[I.key]),{dataList:I.value})}),active:P})})},setMajorOrYearActive(S,{payload:I}){return b(p({},S),{headerData:b(p({},S.headerData),{active:b(p({},S.headerData.active),{[I.key]:I.value})})})},setCourseResults(S,{payload:I}){return b(p({},S),{tabListData:p(p({},S.tabListData),I)})}},subscriptions:{setup({dispatch:S,history:I}){return I.listen(({pathname:P})=>{P==="/"&&S({type:"query"})})}}};d.Z=O},55305:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(m,p,b)=>p in m?t(m,p,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[p]=b,u=(m,p)=>{for(var b in p||(p={}))n.call(p,b)&&s(m,b,p[b]);if(r)for(var b of r(p))a.call(p,b)&&s(m,b,p[b]);return m};const c=m=>m==null?void 0:m.map(p=>{const b=(p.sub_disciplines||[]).map(g=>({value:g.id,label:g.name}));return{value:p.id,label:p.name,children:b}}),o={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=m=>{if(!m)return;const{all_questions_count:p,all_score:b,single_questions:g,multiple_questions:E,judgement_questions:O,program_questions:S,completion_questions:I,subjective_questions:P,practical_questions:k,combination_questions:R}=m||{},A=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},g),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},E),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},O),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},P),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},S),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},k),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},R)].filter(D=>D.questions_count>0).map((D,j)=>u(u({},D),{number:o[j+1]}));return{all_questions_count:p,all_score:b,questionList:A}}},96999:function(i,d,e){"use strict";e.d(d,{U:function(){return a},t:function(){return n}});var t=e(62957),r=e(48790);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},a={setItem:(s,u)=>{var c;const o=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(o,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),o=localStorage.getItem(c);return o!==null&&o!=="[object Object]"?JSON.parse(o):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},98750:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return E},GY:function(){return u},I8:function(){return S},Ow:function(){return b},P:function(){return m},Ql:function(){return c},RA:function(){return k},Zm:function(){return o},bz:function(){return s},eF:function(){return O},gQ:function(){return I},ht:function(){return g},kN:function(){return R},n1:function(){return n},nI:function(){return T},o9:function(){return a},sG:function(){return f},wi:function(){return P}});var t=e(38986),r=(A,D,j)=>new Promise((L,V)=>{var z=W=>{try{B(j.next(W))}catch(G){V(G)}},Y=W=>{try{B(j.throw(W))}catch(G){V(G)}},B=W=>W.done?L(W.value):Promise.resolve(W.value).then(z,Y);B((j=j.apply(A,D)).next())});function n(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}/avatar.json`,{method:"put",body:A})})}function a(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}.json`,{method:"get"})})}function s(A){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:A})})}function u(A){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:A})})}function c(A){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${A.id}/departments/for_option.json`,{method:"get",params:A})})}function o(A){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:A})})}function f(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.id}.json`,{method:"put",body:A})})}function m(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}/authentication_apply.json`,{method:"delete"})})}function p(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}/professional_auth_apply.json`,{method:"delete"})})}function b(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.id}/professional_auth_apply.json`,{method:"post",body:A})})}function g(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.id}/authentication_apply.json`,{method:"post",body:A})})}function E(A){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:A})})}function O(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}/phone_bind.json`,{method:"post",body:A})})}function S(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}/email_bind.json`,{method:"post",body:A})})}function I(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.login}/password.json`,{method:"put",body:A})})}function P(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${A.basicInfoId}/open_users/${A.id}.json`,{method:"delete"})})}function k(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${A.login}/cancel_authentication.json`,{method:"post",body:A})})}function R(A){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${A.login}/cancel_professional_certification.json`,{method:"post",body:A})})}function T(A,D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${A.login}/videos/${A.id}/create_subject_video.json`,{method:"post",body:D})})}},97402:function(i,d,e){"use strict";e.d(d,{An:function(){return b},TO:function(){return f},my:function(){return p},nZ:function(){return m}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(g,E,O)=>E in g?r(g,E,{enumerable:!0,configurable:!0,writable:!0,value:O}):g[E]=O,c=(g,E)=>{for(var O in E||(E={}))a.call(E,O)&&u(g,O,E[O]);if(n)for(var O of n(E))s.call(E,O)&&u(g,O,E[O]);return g},o=(g,E,O)=>new Promise((S,I)=>{var P=T=>{try{R(O.next(T))}catch(A){I(A)}},k=T=>{try{R(O.throw(T))}catch(A){I(A)}},R=T=>T.done?S(T.value):Promise.resolve(T.value).then(P,k);R((O=O.apply(g,E)).next())});function f(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/inform_up.json`,{method:"post",body:c({},g)})})}function m(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/inform_down.json`,{method:"post",body:c({},g)})})}function p(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/update_informs.json`,{method:"post",body:c({},g)})})}function b(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/new_informs.json`,{method:"post",body:c({},g)})})}},44203:function(i,d,e){"use strict";e.d(d,{$n:function(){return O},H:function(){return E},Nm:function(){return b},Ot:function(){return g},SV:function(){return f},fc:function(){return I},mn:function(){return S},tO:function(){return p},zI:function(){return m}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(P,k,R)=>k in P?r(P,k,{enumerable:!0,configurable:!0,writable:!0,value:R}):P[k]=R,c=(P,k)=>{for(var R in k||(k={}))a.call(k,R)&&u(P,R,k[R]);if(n)for(var R of n(k))s.call(k,R)&&u(P,R,k[R]);return P},o=(P,k,R)=>new Promise((T,A)=>{var D=V=>{try{L(R.next(V))}catch(z){A(z)}},j=V=>{try{L(R.throw(V))}catch(z){A(z)}},L=V=>V.done?T(V.value):Promise.resolve(V.value).then(D,j);L((R=R.apply(P,k)).next())});function f(P){return o(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},P)})})}function m(P){return o(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},P)})})}function p(P){return o(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},P)})})}function b(P){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${P.id}.json`,{method:"get",params:c({},P)})})}function g(P){return o(this,null,function*(){const{id:k}=P;return delete P.id,(0,t.ZP)(`/api/files/${k}.json`,{method:"put",body:c({},P)})})}function E(P){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${P.id}/update_visits.json`,{method:"post"})})}function O(P){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${P==null?void 0:P.id}/watch_list.json`,{method:"get",params:c({},P)})})}function S(P){return o(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},P)})})}function I(P){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${P==null?void 0:P.id}/add_file_quantity.json`,{method:"post",body:c({},P)})})}},32967:function(i,d,e){"use strict";e.d(d,{CJ:function(){return b},Mf:function(){return I},NA:function(){return O},PC:function(){return g},PP:function(){return E},YQ:function(){return S},cc:function(){return p},dI:function(){return m},yq:function(){return f}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(P,k,R)=>k in P?r(P,k,{enumerable:!0,configurable:!0,writable:!0,value:R}):P[k]=R,c=(P,k)=>{for(var R in k||(k={}))a.call(k,R)&&u(P,R,k[R]);if(n)for(var R of n(k))s.call(k,R)&&u(P,R,k[R]);return P},o=(P,k,R)=>new Promise((T,A)=>{var D=V=>{try{L(R.next(V))}catch(z){A(z)}},j=V=>{try{L(R.throw(V))}catch(z){A(z)}},L=V=>V.done?T(V.value):Promise.resolve(V.value).then(D,j);L((R=R.apply(P,k)).next())});function f(P){return o(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},P)})})}function m(P){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${P.boardId}.json`,{method:"get",params:c({},P)})})}function p(P){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function b(P){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function g(P){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${P.boardId}/reply_list.json`,{method:"get",params:c({},P)})})}function E(P){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${P.boardId}/reply.json`,{method:"post",body:c({},P)})})}function O(P){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},P)})})}function S(P){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},P)})})}function I(P){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},P)})})}},82264:function(i,d,e){"use strict";e.d(d,{$T:function(){return Xe},A:function(){return dt},Ab:function(){return ln},Al:function(){return H},BQ:function(){return wt},BR:function(){return Q},Bn:function(){return mt},Cq:function(){return je},DJ:function(){return le},Dd:function(){return E},Ds:function(){return At},EO:function(){return qe},Ed:function(){return he},Ew:function(){return eo},FU:function(){return ue},Fg:function(){return O},GV:function(){return pt},Gk:function(){return Y},Gm:function(){return Ie},Gz:function(){return S},Hl:function(){return I},Hn:function(){return D},ID:function(){return Lt},IU:function(){return it},J2:function(){return ft},K$:function(){return De},KP:function(){return We},KT:function(){return se},L$:function(){return xt},Lk:function(){return Ba},Ls:function(){return N},MA:function(){return gr},Mc:function(){return Ia},N7:function(){return G},Nd:function(){return z},Nl:function(){return Re},Ns:function(){return Bt},O3:function(){return _e},Pj:function(){return me},QX:function(){return lt},QZ:function(){return ne},R2:function(){return W},Rk:function(){return Le},S9:function(){return ce},U8:function(){return pr},UD:function(){return ct},U_:function(){return L},Uy:function(){return Wt},V8:function(){return A},Vw:function(){return M},W0:function(){return gt},W7:function(){return Mt},WK:function(){return Xr},Wr:function(){return $n},YR:function(){return at},Z0:function(){return yr},ZL:function(){return cr},ZT:function(){return ea},ZX:function(){return ar},Zj:function(){return po},_9:function(){return $e},_B:function(){return fa},aP:function(){return Dt},aQ:function(){return nt},aZ:function(){return Se},al:function(){return xe},bm:function(){return ie},bz:function(){return Be},c_:function(){return Ye},ds:function(){return _r},fN:function(){return vn},fr:function(){return He},g4:function(){return _t},gq:function(){return P},hf:function(){return q},i:function(){return Ne},i6:function(){return Nt},i7:function(){return Ct},iE:function(){return m},iZ:function(){return f},ih:function(){return ke},kW:function(){return Ke},km:function(){return nr},l4:function(){return T},nP:function(){return b},nQ:function(){return we},nX:function(){return yt},oM:function(){return Qe},oR:function(){return Rn},o_:function(){return lr},pf:function(){return Jt},pr:function(){return aa},pv:function(){return $t},qB:function(){return F},rS:function(){return k},s:function(){return Dr},sb:function(){return rt},sm:function(){return g},t1:function(){return et},tB:function(){return Me},tI:function(){return xn},td:function(){return Ze},tg:function(){return St},uh:function(){return ye},up:function(){return ht},v2:function(){return p},vV:function(){return Ir},w9:function(){return V},wH:function(){return R},wR:function(){return vr},yS:function(){return Rt},yV:function(){return B},yd:function(){return kr},zC:function(){return Va},zg:function(){return K}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Fe,ta,Xn)=>ta in Fe?r(Fe,ta,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):Fe[ta]=Xn,c=(Fe,ta)=>{for(var Xn in ta||(ta={}))a.call(ta,Xn)&&u(Fe,Xn,ta[Xn]);if(n)for(var Xn of n(ta))s.call(ta,Xn)&&u(Fe,Xn,ta[Xn]);return Fe},o=(Fe,ta,Xn)=>new Promise((Da,sa)=>{var ra=Hn=>{try{pa(Xn.next(Hn))}catch(za){sa(za)}},En=Hn=>{try{pa(Xn.throw(Hn))}catch(za){sa(za)}},pa=Hn=>Hn.done?Da(Hn.value):Promise.resolve(Hn.value).then(ra,En);pa((Xn=Xn.apply(Fe,ta)).next())});const f=Fe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Fe==null?void 0:Fe.id}/test_result_setting.json`,{method:"post",body:Fe})}),m=Fe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/course_videos/configs.json`,{method:"put",body:Fe})}),p=Fe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Fe})}),b=Fe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Fe})}),g=Fe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Fe})}),E=Fe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Fe})}),O=Fe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Fe})}),S=Fe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Fe})}),I=Fe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Fe})});function P(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},Fe.permissions)})})}function k(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.course_id}/assistant_permissions.json`,{method:"Get",params:c({},Fe)})})}function R(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/smart_plans/${Fe==null?void 0:Fe.id}.json`,{method:"Get",params:c({},Fe)})})}function T(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/smart_plans/${Fe==null?void 0:Fe.id}/item_banks.json`,{method:"Get",params:c({},Fe)})})}function A(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},Fe)})})}function D(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},Fe)})})}function j(Fe){return o(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},Fe)})})}function L(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/top_banner.json`,{method:"get",params:c({},Fe)})})}function V(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id||Fe.coursesId}/left_banner.json`,{method:"get",params:c({},Fe)})})}function z(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/homework_commons.json`,{method:"get",params:c({},Fe)})})}function Y(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/homework_commons/list.json`,{method:"get",params:c({},Fe)})})}function B(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/graduation_topics.json`,{method:"get",params:c({},Fe)})})}function W(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/graduation_tasks.json`,{method:"get",params:c({},Fe)})})}function G(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${Fe.id}/exercises.json`,{method:"get",params:c({},Fe)})})}function Q(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/polls.json`,{method:"get",params:c({},Fe)})})}function H(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/homework_commons.json`,{method:"get",params:c({},Fe)})})}function F(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/course_groups.json`,{method:"get",params:c({},Fe)})})}function q(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/all_course_groups.json`,{method:"get",params:c({},Fe)})})}function M(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/attendances.json`,{method:"get",params:c({},Fe)})})}function N(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${Fe.coursesId}/attendances.json`,{method:"get",params:c({},Fe)})})}function K(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/attendances/${Fe.id}/edit.json`,{method:"get",params:c({},Fe)})})}function ne(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/informs.json`,{method:"get",params:c({},Fe)})})}function se(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},Fe)})})}function _e(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/course_videos.json`,{method:"get",params:c({},Fe)})})}function le(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/live_links.json`,{method:"get",params:c({},Fe)})})}function he(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},Fe)})})}function We(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${Fe.categoryId}/messages.json`,{method:"get",params:c({},Fe)})})}function Ke(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/course_groups.json`,{method:"get",params:c({},Fe)})})}function ft(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/students.json`,{method:"get",params:c({},Fe)})})}function _t(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/statistics.json`,{method:"get",params:c({},Fe)})})}function pt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/work_score.json`,{method:"get",params:c({},Fe)})})}function et(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/act_score.json`,{method:"get",params:c({},Fe)})})}function me(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},Fe)})})}function Ie(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},Fe)})})}function $e(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},Fe)})})}function nt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},Fe)})})}function wt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},Fe)})})}function Mt(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},Fe)})})}function At(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},Fe)})})}function De(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:Fe})})}function Qe(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:Fe})})}function mt(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:Fe})})}function Be(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Fe})})}function we(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:Fe})})}function ue(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:Fe})})}function ye(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/add_teacher.json`,{method:"post",body:Fe})})}function Se(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/add_students_by_search.json`,{method:"post",body:Fe})})}function rt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/set_public_or_private.json`,{method:"post",body:Fe})})}function xt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/set_invite_code_halt.json`,{method:"post",body:Fe})})}function ce(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/duplicate_course.json`,{method:"post",body:Fe})})}function xe(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/update_end_date.json`,{method:"put",body:Fe})})}function dt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}.json`,{method:"delete",body:Fe})})}function qe(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/settings.json`,{method:"get",params:c({},Fe)})})}function He(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}.json`,{method:"put",body:Fe})})}function at(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function Rt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},Fe)})})}function lt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},Fe)})})}function Re(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},Fe)})})}function it(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},Fe)})})}function Ze(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},Fe)})})}function gt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},Fe)})})}function Dt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Fe.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Fe)})})}function lr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Fe.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},Fe)})})}function cr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},Fe)})})}function Ir(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},Fe)})})}function Pr(Fe){return o(this,null,function*(){return Fetch(`/api/homework_commons/${Fe.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},Fe)})})}function yr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${Fe.id}.json`,{method:"delete",params:{export:!0}})})}function Ne(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api//boards/${Fe.id}.json`,{method:"delete",params:{export:!0}})})}function kr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Fe.id}/sticky_module.json`,{method:"get"})})}function yt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Fe.id}/hidden_module.json`,{method:"get"})})}function Jt(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:Fe})})}function _r(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${Fe.id}.json`,{method:"get",params:Fe})})}function ie(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Fe})})}function ct(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Fe})})}function qt(Fe){return o(this,null,function*(){return Fetch(`/api/polls/${Fe.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},Fe)})})}function Wt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Fe)})})}function St(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/export_exercise_reports.json`,{method:"get",params:c({export:!0},Fe)})})}function Ct(Fe){return(0,t.ZP)(`/api/polls/${Fe.categoryId}/start_answer.json`,{method:"get",params:c({},Fe)})}function Lt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Fe.questionId}/poll_votes.json`,{method:"post",body:Fe})})}function Bt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Fe.categoryId}/commit_poll.json`,{method:"post",body:Fe})})}function nr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.courseId}/tasks_list.json`,{method:"get",params:Fe})})}function pr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.courseId}/update_task_position.json`,{method:"post",body:Fe})})}function ht(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Fe})})}function Ye(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/all_course_groups.json`,{method:"get",params:Fe})})}function je(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/polls/all_course_groups.json`,{method:"get",params:Fe})})}function Le(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/students.json`,{method:"get",params:Fe})})}function Xe(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Fe.categoryId}/rename_group.json`,{method:"POST",body:Fe})})}function $t(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Fe.categoryId}.json`,{method:"delete",body:Fe})})}function Nt(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/join_course_group.json`,{method:"POST",body:Fe})})}function vr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/transfer_to_course_group.json`,{method:"post",body:Fe})})}function gr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/delete_from_course.json`,{method:"post",body:Fe})})}function Xr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/join_course_group.json`,{method:"post",body:Fe})})}function vn(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exit_course.json`,{method:"post"})})}function ar(Fe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},Fe)})})}function ke(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/mooc_users/${Fe.user_id}/edit.json`,{method:"get",params:Fe})})}function Dr(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/mooc_users.json`,{method:"post",body:Fe})})}function Me(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/mooc_users/${Fe.user_id}.json`,{method:"put",body:Fe})})}function $n(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${Fe.id}/move_category.json`,{method:"post",body:Fe})})}function ln(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${Fe.id}/move_category.json`,{method:"post",body:Fe})})}function ea(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.id}/courseware.json`,{method:"get",params:Fe})})}function aa(Fe,ta){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/mark_wrong_topic.json`,{method:"get",params:ta})})}function fa(Fe,ta){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/cancel_wrong_topic.json`,{method:"get",params:ta})})}function Rn(Fe,ta){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Fe}/allow_end_group.json`,{method:"get",params:ta})})}function Ia(Fe,ta){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ta})})}function Ba(Fe,ta){return o(this,null,function*(){return(0,t.ZP)(`/api/tasks/${Fe}/get_content_for_commit_id.json`,{method:"get",params:ta})})}function xn(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.course_id}/course_ai_info.json`,{method:"Get",params:c({},Fe)})})}function Va(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.course_id}/set_open_ai.json`,{method:"post",body:Fe})})}function eo(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.id}/smart_plans.json`,{method:"get",params:c({},Fe)})})}function po(Fe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe==null?void 0:Fe.id}/smart_plans.json`,{method:"post",body:c({},Fe)})})}},73801:function(i,d,e){"use strict";e.d(d,{$M:function(){return pt},$P:function(){return rt},Ax:function(){return m},Dh:function(){return S},FU:function(){return L},GQ:function(){return H},IN:function(){return De},JM:function(){return we},Ju:function(){return _t},Mn:function(){return At},Ni:function(){return K},Pg:function(){return I},Pt:function(){return O},Qp:function(){return G},R9:function(){return V},Ux:function(){return Q},Vy:function(){return le},XJ:function(){return N},XR:function(){return Ke},Ze:function(){return T},aq:function(){return R},bQ:function(){return g},bu:function(){return p},cC:function(){return f},jS:function(){return Y},lm:function(){return Qe},ml:function(){return q},o3:function(){return me},pA:function(){return $e},pS:function(){return Be},pU:function(){return M},ps:function(){return j},q0:function(){return wt},qN:function(){return Mt},qS:function(){return E},qj:function(){return We},qt:function(){return ye},rV:function(){return P},rZ:function(){return ue},rk:function(){return se},rm:function(){return W},sK:function(){return B},sL:function(){return nt},su:function(){return mt},tC:function(){return _e},tO:function(){return he},u9:function(){return F},uZ:function(){return ne},vV:function(){return D},xx:function(){return xt},y8:function(){return ft},yS:function(){return A},zF:function(){return b},zc:function(){return z},zj:function(){return k},zz:function(){return Se}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(ce,xe,dt)=>xe in ce?r(ce,xe,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ce[xe]=dt,c=(ce,xe)=>{for(var dt in xe||(xe={}))a.call(xe,dt)&&u(ce,dt,xe[dt]);if(n)for(var dt of n(xe))s.call(xe,dt)&&u(ce,dt,xe[dt]);return ce},o=(ce,xe,dt)=>new Promise((qe,He)=>{var at=Re=>{try{lt(dt.next(Re))}catch(it){He(it)}},Rt=Re=>{try{lt(dt.throw(Re))}catch(it){He(it)}},lt=Re=>Re.done?qe(Re.value):Promise.resolve(Re.value).then(at,Rt);lt((dt=dt.apply(ce,xe)).next())});const f=ce=>(0,t.ZP)(`/api/competitions/${ce.identifier}/create_guide.json`,{method:"post",body:ce}),m=ce=>(0,t.ZP)(`/api/competitions/${ce.identifier}/guides.json`,{method:"get",params:ce}),p=ce=>(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.competition_team_id}/edit_info.json`,{method:"put",body:ce});function b(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/update_result.json`,{method:"post",body:ce})})}function g(ce){return o(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},ce)})})}function E(ce){return o(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:ce})})}function O(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams.json`,{method:"post"})})}function S(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_staff.json`,{method:"get"})})}function I(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/common_header.json`,{method:"get"})})}function P(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/${ce.url}`,{method:"get",params:c({},ce)})})}function k(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/update_md_content.json`,{method:"post",body:ce})})}function R(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams.json`,{method:"get",params:ce})})}function T(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.Teannameid}/edit.json`,{method:"get",params:ce})})}function A(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.Teannameid}.json`,{method:"put",body:ce})})}function D(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.id}/leave.json`,{method:"post",body:ce})})}function j(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.id}.json`,{method:"delete"})})}function L(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams.json`,{method:"post",body:ce})})}function V(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.id}/add_managers.json`,{method:"post",body:ce})})}function z(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/join.json`,{method:"post",body:ce})})}function Y(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/teachers.json`,{method:"get",params:ce})})}function B(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/students.json`,{method:"get",params:ce})})}function W(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.teamid}/crud_team_members.json`,{method:"post",body:ce})})}function G(ce){return o(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:ce})})}function Q(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/chart_rules.json`,{method:"get"})})}function H(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/charts.json`,{method:"get",params:ce})})}function F(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/results.json`,{method:"get",params:ce})})}function q(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/md_tab_rules.json`,{method:"get",params:ce})})}function M(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/prize.json`,{method:"get",params:ce})})}function N(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ce.id}.json`,{method:"get",params:ce})})}function K(ce){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:ce})})}function ne(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ce.userid}/phone_bind.json`,{method:"post",body:ce})})}function se(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ce.userid}/email_bind.json`,{method:"post",body:ce})})}function _e(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ce.userid}/professional_auth_apply.json`,{method:"delete"})})}function le(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${ce.userid}/authentication_apply.json`,{method:"delete"})})}function he(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/prize_leader_account.json`,{method:"put",body:ce})})}function We(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.teamid}/shixun_detail.json`,{method:"get"})})}function Ke(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams/${ce.teamid}/course_detail.json`,{method:"get"})})}function ft(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/attachments/${ce.id}.json`,{method:"delete"})})}function _t(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.id}/get_certificate_info.json`,{method:"get",params:ce})})}function pt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.id}/basic_setting.json`,{method:"post",body:ce})})}function et(){return o(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function me(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce}/common_header.json`,{method:"get"})})}function Ie(ce){return o(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:ce})})}function $e(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/search_managers.json`,{method:"get",params:ce})})}function nt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce}/get_managers.json`,{method:"get"})})}function wt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/add_managers.json`,{method:"post",body:ce})})}function Mt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/delete_managers.json`,{method:"delete",body:ce})})}function At(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce}/get_picture.json`,{method:"get"})})}function De(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/identifier_exist.json`,{method:"post",body:ce})})}function Qe(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce}/get_shixun_settings.json`,{method:"get"})})}function mt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/shixun_add.json`,{method:"post",body:ce})})}function Be(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/shixun_delete.json`,{method:"delete",body:ce})})}function we(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/shixun_select.json`,{method:"post",body:ce})})}function ue(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce}/info_finish.json`,{method:"get"})})}function ye(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce==null?void 0:ce.id}/competition_review.json`,{method:"post",body:c({},ce)})})}function Se(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_teams.json`,{method:"get",params:ce})})}function rt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/all_team_members.json`,{method:"get",params:ce})})}function xt(ce){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${ce.identifier}/competition_commit_records/member_works.json`,{method:"get",params:ce})})}},1103:function(i,d,e){"use strict";e.d(d,{F:function(){return E},OE:function(){return k},ff:function(){return O},p1:function(){return S},_y:function(){return g},mK:function(){return D},gq:function(){return L},eM:function(){return A},BA:function(){return Y},bA:function(){return W},Nx:function(){return B},Qx:function(){return R},At:function(){return I},PX:function(){return P},Xl:function(){return T},y9:function(){return j},No:function(){return V},ay:function(){return G}});var t=e(38986),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Q,H,F)=>H in Q?r(Q,H,{enumerable:!0,configurable:!0,writable:!0,value:F}):Q[H]=F,f=(Q,H)=>{for(var F in H||(H={}))u.call(H,F)&&o(Q,F,H[F]);if(s)for(var F of s(H))c.call(H,F)&&o(Q,F,H[F]);return Q},m=(Q,H)=>n(Q,a(H)),p=(Q,H)=>{var F={};for(var q in Q)u.call(Q,q)&&H.indexOf(q)<0&&(F[q]=Q[q]);if(Q!=null&&s)for(var q of s(Q))H.indexOf(q)<0&&c.call(Q,q)&&(F[q]=Q[q]);return F},b=(Q,H,F)=>new Promise((q,M)=>{var N=se=>{try{ne(F.next(se))}catch(_e){M(_e)}},K=se=>{try{ne(F.throw(se))}catch(_e){M(_e)}},ne=se=>se.done?q(se.value):Promise.resolve(se.value).then(N,K);ne((F=F.apply(Q,H)).next())});const g=Q=>b(void 0,null,function*(){var H=Q,{id:F}=H,q=p(H,["id"]);return(0,t.ZP)(`/api/ec_years/${F}/course_results.json`,{method:"get",params:q})}),E=Q=>{let H=document.createElement("iframe");H.src=`/api/ec_years/${Q}/course_results.xlsx`,H.style.display="none",document.body.appendChild(H)},O=({ec_year_id:Q})=>(0,t.ZP)(`/api/ec_years/${Q}/course_results/get_class.json`,{method:"get"}),S=({ec_year_id:Q,id:H,class_name:F=null})=>(0,t.ZP)(`/api/ec_years/${Q}/course_results/${H}.json`,{method:"get",params:{class_name:F}}),I=({ec_year_id:Q})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:Q}}),P=({ec_course_id:Q})=>(0,t.ZP)(`/api/ec_courses/${Q}/evaluations/evaluation_data`,{method:"POST"}),k=Q=>{let H=document.createElement("iframe");H.src=`/api/ec_years/${Q}/ec_graduation_results.xlsx`,H.style.display="none",document.body.appendChild(H)},R=({ec_year_id:Q})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/compute_all`,{method:"post"}),T=({ec_year_id:Q,id:H})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/compute_single?id=${H}`,{method:"POST"}),A=Q=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results.json`,{method:"get"}),D=Q=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/get_formulas.json`,{method:"get"}),j=({ec_year_id:Q,formula_one:H,formula_two:F,formula_three:q})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:H,formula_two_id:F,formula_three_id:q}}),L=({ec_year_id:Q,id:H})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/${H}.json`,{method:"get"}),V=Q=>{var H=Q,{ec_year_id:F,type:q,goal_value:M}=H,N=p(H,["ec_year_id","type","goal_value"]);let K=`?type=${q}`,ne={method:"PUT"};return q==="all"&&(K+=`&goal_value=${M}`),q==="each"&&(ne=m(f({},ne),{body:N})),(0,t.ZP)(`/api/ec_years/${F}/ec_graduation_results/set_goal_value${K}`,ne)};var z=(Q,H,F)=>new Promise((q,M)=>{var N=se=>{try{ne(F.next(se))}catch(_e){M(_e)}},K=se=>{try{ne(F.throw(se))}catch(_e){M(_e)}},ne=se=>se.done?q(se.value):Promise.resolve(se.value).then(N,K);ne((F=F.apply(Q,H)).next())});const Y=Q=>z(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${Q}/ec_majors/get_major_list.json`,{method:"get"})}),B=Q=>z(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${Q}/ec_years/get_year_list.json`,{method:"get"})}),W=({ec_year_id:Q,school_id:H})=>(0,t.ZP)(`/api/ec_years/${Q}/top_pages.json`,{method:"get",params:{school_id:H}}),G=({id:Q,name:H})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${Q}?name=${H}`,{method:"PUT"})},81722:function(i,d,e){"use strict";e.d(d,{$Q:function(){return R},$l:function(){return gr},BJ:function(){return De},CD:function(){return qe},Cd:function(){return rt},Cl:function(){return ct},Di:function(){return Ie},FN:function(){return Xr},Fl:function(){return wt},G$:function(){return M},GK:function(){return nt},Ip:function(){return Be},J:function(){return N},KE:function(){return Mt},L8:function(){return it},LP:function(){return we},MK:function(){return $e},Mb:function(){return Lt},N0:function(){return L},N3:function(){return We},OL:function(){return vn},OO:function(){return P},P8:function(){return Ye},PJ:function(){return ne},PT:function(){return nr},Qc:function(){return z},RK:function(){return q},Ty:function(){return Jt},UH:function(){return Ir},UK:function(){return Ke},Uj:function(){return xe},Ul:function(){return Se},VL:function(){return Rt},Vj:function(){return gt},W4:function(){return ce},WL:function(){return Dt},Wj:function(){return F},Wm:function(){return ar},X4:function(){return mt},Xn:function(){return St},Xo:function(){return B},YY:function(){return me},Ym:function(){return D},Yu:function(){return je},ZD:function(){return ht},Zg:function(){return qt},_B:function(){return dt},_F:function(){return Bt},_U:function(){return G},_u:function(){return se},aU:function(){return j},ab:function(){return ie},cC:function(){return yt},cV:function(){return Q},ck:function(){return pr},dp:function(){return V},eA:function(){return Nt},fG:function(){return O},gA:function(){return H},gG:function(){return Ct},gJ:function(){return Le},hk:function(){return b},hv:function(){return g},iB:function(){return E},iU:function(){return S},iw:function(){return kr},j:function(){return I},kp:function(){return lt},lL:function(){return k},lf:function(){return he},n$:function(){return le},n7:function(){return W},nF:function(){return Ze},o3:function(){return Xe},oS:function(){return ue},oX:function(){return at},oy:function(){return _r},p7:function(){return A},pL:function(){return He},pu:function(){return Qe},q6:function(){return Re},qf:function(){return et},qz:function(){return ye},s:function(){return yr},sA:function(){return lr},sS:function(){return $t},se:function(){return pt},tX:function(){return Pr},uR:function(){return ft},ux:function(){return At},wy:function(){return _t},xA:function(){return Ne},yE:function(){return Y},yu:function(){return cr},zP:function(){return T},zR:function(){return vr}});var t=e(38986),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(ke,Dr,Me)=>Dr in ke?r(ke,Dr,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ke[Dr]=Me,f=(ke,Dr)=>{for(var Me in Dr||(Dr={}))u.call(Dr,Me)&&o(ke,Me,Dr[Me]);if(s)for(var Me of s(Dr))c.call(Dr,Me)&&o(ke,Me,Dr[Me]);return ke},m=(ke,Dr)=>n(ke,a(Dr)),p=(ke,Dr,Me)=>new Promise(($n,ln)=>{var ea=Rn=>{try{fa(Me.next(Rn))}catch(Ia){ln(Ia)}},aa=Rn=>{try{fa(Me.throw(Rn))}catch(Ia){ln(Ia)}},fa=Rn=>Rn.done?$n(Rn.value):Promise.resolve(Rn.value).then(ea,aa);fa((Me=Me.apply(ke,Dr)).next())});const b=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ke}),g=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ke}),E=ke=>(0,t.ZP)(`/api/exercises/${ke.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ke}),O=ke=>(0,t.ZP)(`/api/exercises/${ke.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ke}),S=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ke}),I=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/exercise_tag_result.json`,{method:"get",params:ke}),P=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ke}),k=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ke}),R=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ke}),T=ke=>(0,t.ZP)(`/api/exercises/${ke.id}/sava_exam_summary.json`,{method:"post",body:ke}),A=ke=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ke}),D=ke=>(0,t.ZP)(`/api/exercises/${ke.id}/generate_exam_summary.json`,{method:"post",body:ke}),j=ke=>(0,t.ZP)(`/api/exercises/${ke.id}/exam_summary_settings.json`,{method:"post",body:ke}),L=ke=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.exercise_id}/review_exercise_user.json`,{method:"post",body:ke})}),V=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.id}/code_check.json`,{method:"get",params:ke}),z=ke=>(0,t.ZP)(`/api/exercises/${ke.id}/reset_pwd.json`,{method:"post",body:ke}),Y=ke=>(0,t.ZP)(`/api/exercises/${ke.id}/encrypt_or_decrypt.json`,{method:"post",body:ke}),B=ke=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.id}/delayed_time_or_force.json`,{method:"post",body:ke})}),W=ke=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.id}/exercise_time.json`,{method:"Get",params:ke})}),G=ke=>(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.id}/exercise_question_result.json`,{method:"get",params:ke}),Q=ke=>(0,t.ZP)(`/api/exercises/${ke.id}/get_question_type_alias.json`,{method:"get",params:ke});function H(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke==null?void 0:ke.id}/teacher_update.json`,{method:"post",body:f({},ke)})})}function F(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke==null?void 0:ke.id}/adjust_comment.json`,{method:"post",body:f({},ke)})})}function q(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.id}/edit_question_type_alias.json`,{method:"POST",body:ke})})}function M(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_lists.json`,{method:"get",params:f({},ke)})})}function N(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},ke)})})}function K(ke){return p(this,null,function*(){return Fetch(`/api/exercises/${ke.categoryId}/video_push_url.json`,{method:"get",params:f({},ke)})})}function ne(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},ke)})})}function se(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_result.json`,{method:"get",params:f({},ke)})})}function _e(ke){return p(this,null,function*(){return Fetch(`/api/exercises/${ke.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},ke)})})}function le(ke){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},ke)})})}function he(ke){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},ke)})})}function We(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${ke.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},ke)})})}function Ke(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/common_header.json`,{method:"get",params:f({},ke)})})}function ft(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${ke.coursesId}/exercises.json`,{method:"post",body:f({},ke)})})}function _t(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.exerciseId}.json`,{method:"put",body:f({},ke)})})}function pt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.exerciseId}/update_name.json`,{method:"post",body:f({},ke)})})}function et(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}.json`,{method:"get",params:f({},ke)})})}function me(ke){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},ke)})})}function Ie(ke){return p(this,null,function*(){const{id:Dr}=ke;return delete ke.id,(0,t.ZP)(`/api/exercise_questions/${Dr}.json`,{method:"put",body:f({},ke)})})}function $e(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_questions.json`,{method:"post",body:f({},ke)})})}function nt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke.id}/up_down.json`,{method:"post",body:f({},ke)})})}function wt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke.id}.json`,{method:"delete"})})}function Mt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${ke.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},ke)})})}function At(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/publish_groups.json`,{method:"get",params:f({},ke)})})}function De(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},ke)})})}function Qe(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.exerciseId}/consult_exercise.json`,{method:"post",body:f({},ke)})})}function mt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},ke)})})}function Be(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke.id}/adjust_score.json`,{method:"post",body:f({},ke)})})}function we(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke.id}/batch_adjust_score.json`,{method:"post",body:f({},ke)})})}function ue(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.id}/adjust_score.json`,{method:"post",body:f({},ke)})})}function ye(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.id}/delayed_time.json`,{method:"post",body:f({},ke)})})}function Se(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_setting.json`,{method:"get",params:f({},ke)})})}function rt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${ke.categoryId}/exercise_setting.json`,{method:"get",params:f({},ke)})})}function xt(ke){return p(this,null,function*(){return Fetch(`/api/exercises/${ke.categoryId}/commit_setting.json`,{method:"post",body:f({},ke)})})}function ce(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},ke)})})}function xe(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_lists.xlsx`,{method:"get",params:m(f({},ke),{export:!0})})})}function dt(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/user_exercise_detail.json`,{method:"get",params:m(f({},ke),{login:null})})}function qe(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/start.json`,{method:"get",params:f({},ke)})}function He(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/start_unlock.json`,{method:"post",body:f({},ke)})}function at(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke.questionId}/exercise_answers.json`,{method:"post",body:ke})})}function Rt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/commit_exercise.json`,{method:"post",body:ke})})}function lt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ke})})}function Re(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/redo_exercise.json`,{method:"post",body:ke})})}function it(ke){return(0,t.ZP)(`/api/${ke.url}`,{method:"get",params:f({},ke)})}function Ze(ke){return(0,t.ZP)(`/api/problems/${ke.id}/start.json`,{method:"get",params:f({},ke)})}function gt(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/begin_commit.json`,{method:"get",params:f({},ke)})}function Dt(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/simulate_begin_commit.json`,{method:"get",params:f({},ke)})}function lr(ke){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},ke)})}function cr(ke){return console.log("params:",ke),(0,t.ZP)(`/api/exercises/${ke.categoryId}/edit.json`,{method:"get",params:f({},ke)})}function Ir(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/get_objective_scores.json`,{method:"get",params:f({},ke)})}function Pr(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/redo_modal.json`,{method:"get",params:f({},ke)})}function yr(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/student_redo_lists.json`,{method:"get",params:f({},ke)})}function Ne(ke){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ke})}function kr(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/exercise_header.json`,{method:"get",params:f({},ke)})}function yt(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/allow_close_camera.json`,{method:"post",body:f({},ke)})}function Jt(ke){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},ke)})}function _r(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/record_screen`,{method:"post",params:f({},ke)})}function ie(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/unbind_ip.json`,{method:"post",body:f({},ke)})}function ct(ke){return(0,t.ZP)(`/api/exercises/${ke.id}/check_ip.json`,{method:"get",params:f({},ke)})}function qt(ke){return(0,t.ZP)(`/api/exercises/${ke==null?void 0:ke.id}/check_user_exercise.json`,{method:"get",params:f({},ke)})}function Wt(ke){return Fetch(`/api/exercises/${ke.id}/make_up_students.json`,{method:"get",params:f({},ke)})}function St(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${ke.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},ke)})})}function Ct(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke.question_id}/adjust_score.json`,{method:"post",body:f({},ke)})})}function Lt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ke.categoryId}/simulate_exercise.json`,{method:"post",body:f({},ke)})})}function Bt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},ke)})})}function nr(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/exercise_time.json`,{method:"get",params:f({},ke)})})}function pr(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke.categoryId}/commit_screen_at.json`,{method:"post",body:f({},ke)})})}function ht(ke,Dr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke}/unlock_user`,{method:"post",body:Dr})})}function Ye(ke,Dr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke}/save_screen_record.json`,{method:"post",body:Dr})})}function je(ke,Dr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke}/screen_record_list.json`,{method:"get",params:Dr})})}function Le(ke){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},ke)})})}function Xe(ke){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:ke})})}function $t(ke,Dr){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ke}/mark.json`,{method:"post",body:Dr})})}function Nt(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${ke}/exit_delete_pod.json`,{method:"post",body:ke})})}function vr(ke){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ke})})}function gr(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ke==null?void 0:ke.id}/send_to_item_bank.json`,{method:"post",body:f({},ke)})})}function Xr(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${ke.exercise_id}/wrong_details.json`,{method:"get",params:f({},ke)})})}function vn(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${ke.exercise_id}/wrong_question.json`,{method:"get",params:f({},ke)})})}function ar(ke){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${ke.exercise_id}/wrong_question_lists.json`,{method:"get",params:f({},ke)})})}},94670:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return k},YP:function(){return P},b4:function(){return S},bc:function(){return f},dX:function(){return O},eh:function(){return R},iI:function(){return g},kd:function(){return m},qR:function(){return E},sW:function(){return b},ts:function(){return A},vL:function(){return T},z5:function(){return D}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,L,V)=>L in j?r(j,L,{enumerable:!0,configurable:!0,writable:!0,value:V}):j[L]=V,c=(j,L)=>{for(var V in L||(L={}))a.call(L,V)&&u(j,V,L[V]);if(n)for(var V of n(L))s.call(L,V)&&u(j,V,L[V]);return j},o=(j,L,V)=>new Promise((z,Y)=>{var B=Q=>{try{G(V.next(Q))}catch(H){Y(H)}},W=Q=>{try{G(V.throw(Q))}catch(H){Y(H)}},G=Q=>Q.done?z(Q.value):Promise.resolve(Q.value).then(B,W);G((V=V.apply(j,L)).next())});function f(j){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:j})})}function m(j){return o(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:j})})}function p(j){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${j.id}/sticky_or_cancel.json`,{method:"post",body:j})})}function b(j){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${j.id}.json`,{method:"delete",body:j})})}function g(j){return o(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:j})})}function E(j){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${j.id}/edit.json`,{method:"get",params:j})})}function O(j){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},j)})})}function S(j){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${j.id}.json`,{method:"put",body:c({},j)})})}function I(j){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${j.id}.json`,{method:"get",params:j})})}function P(j){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${j.user_id}/watch.json`,{method:"post",body:j})})}function k(j){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${j.user_id}/watch.json`,{method:"delete",body:c({},j)})})}function R(j){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${j.id}/reward_code.json`,{method:"post",body:j})})}function T(j){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${j.id}/plus.json`,{method:"post",body:j})})}function A(j){return o(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:j})})}function D(j){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${j.id}/more_reply.json`,{method:"get",params:j})})}},22072:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return a},tk:function(){return s}});var t=e(38986),r=(u,c,o)=>new Promise((f,m)=>{var p=E=>{try{g(o.next(E))}catch(O){m(O)}},b=E=>{try{g(o.throw(E))}catch(O){m(O)}},g=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);g((o=o.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function a(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},24059:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return A},Mf:function(){return k},NA:function(){return I},PC:function(){return O},PP:function(){return S},QA:function(){return m},RP:function(){return L},Sv:function(){return j},YQ:function(){return P},_n:function(){return V},hL:function(){return T},je:function(){return E},mM:function(){return g},wA:function(){return D},x_:function(){return b},y0:function(){return R},y3:function(){return f}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(z,Y,B)=>Y in z?r(z,Y,{enumerable:!0,configurable:!0,writable:!0,value:B}):z[Y]=B,c=(z,Y)=>{for(var B in Y||(Y={}))a.call(Y,B)&&u(z,B,Y[B]);if(n)for(var B of n(Y))s.call(Y,B)&&u(z,B,Y[B]);return z},o=(z,Y,B)=>new Promise((W,G)=>{var Q=q=>{try{F(B.next(q))}catch(M){G(M)}},H=q=>{try{F(B.throw(q))}catch(M){G(M)}},F=q=>q.done?W(q.value):Promise.resolve(q.value).then(Q,H);F((B=B.apply(z,Y)).next())});function f(z){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${z.categoryId}.json`,{method:"get",params:c({},z)})})}function m(z){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${z.categoryId}/tasks_list.json`,{method:"get",params:c({},z)})})}function p(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/${z.categoryId}/show_detail.json`,{method:"get",params:c({},z)})})}function b(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/${z.categoryId}.json`,{method:"get",params:c({},z)})})}function g(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/${z.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},z)})})}function E(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/${z.categoryId}/accept_student_topic.json`,{method:"post",body:c({},z)})})}function O(z){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${z.categoryId}/show_comment.json`,{method:"get",params:c({},z)})})}function S(z){return o(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},z)})})}function I(z){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},z)})})}function P(z){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},z)})})}function k(z){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},z)})})}function R(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},z)})})}function T(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/${z.categoryId}/edit.json`,{method:"get",params:c({},z)})})}function A(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics`,{method:"post",body:c({},z)})})}function D(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_topics/${z.categoryId}`,{method:"put",body:c({},z)})})}function j(z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/graduation_tasks`,{method:"post",body:c({},z)})})}function L(z){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${z.categoryId}.json`,{method:"put",body:c({},z)})})}function V(z){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${z.categoryId}/edit.json`,{method:"get",params:c({},z)})})}},12309:function(i,d,e){"use strict";e.d(d,{AA:function(){return D},Db:function(){return m},Dd:function(){return E},F7:function(){return B},Fi:function(){return q},H3:function(){return g},HF:function(){return S},HH:function(){return b},Ib:function(){return Q},J3:function(){return u},NT:function(){return n},NX:function(){return P},Ot:function(){return I},Ou:function(){return W},Ps:function(){return a},Rk:function(){return Y},Tz:function(){return f},V1:function(){return H},Wz:function(){return s},Xh:function(){return p},Xw:function(){return z},YS:function(){return L},Zd:function(){return F},bS:function(){return k},ck:function(){return O},eh:function(){return A},il:function(){return c},j7:function(){return o},jW:function(){return j},km:function(){return V},l5:function(){return T},rU:function(){return M},xF:function(){return R},zC:function(){return G},zT:function(){return N}});var t=e(38986),r=(K,ne,se)=>new Promise((_e,le)=>{var he=ft=>{try{Ke(se.next(ft))}catch(_t){le(_t)}},We=ft=>{try{Ke(se.throw(ft))}catch(_t){le(_t)}},Ke=ft=>ft.done?_e(ft.value):Promise.resolve(ft.value).then(he,We);Ke((se=se.apply(K,ne)).next())});function n(K){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:K})}function a(K){return(0,t.ZP)(`/api/schools/${K.id}/departments/for_option.json`,{method:"get",params:K})}function s(K){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:K})}function u(K){return(0,t.ZP)("/api/graduations.json",{method:"get",params:K})}function c(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.identifier}/graduation_stages/${K.stageid}/authorized_redelivery.json`,{method:"POST",body:K})})}function o(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.identifier}/graduation_stages/${K.stageid}/submit.json`,{method:"POST",body:K})})}function f(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/student_tasks/export_status.json`,{method:"get",params:K})})}function m(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/student_tasks/export_all_attachments.json`,{method:"get",params:K})})}function p(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.identifier}/graduation_stages/${K.id}.json`,{method:"get",params:K})})}function b(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/student_tasks/set_final_score.json`,{method:"POST",body:K})})}function g(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/student_tasks/final_score.json`,{method:"get",params:K})})}function E(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/set_novice_guide.json`,{method:"POST",body:K})})}function O(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_notices/${K.doid}/set_do.json`,{method:"POST",body:K})})}function S(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_teachers.json`,{method:"POST",body:K})})}function I(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.identifier}/graduation_students/${K.id}/update_major.json`,{method:"PUT",body:K})})}function P(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_students.json`,{method:"POST",body:K})})}function k(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_teachers/search.json`,{method:"get",params:K})})}function R(K){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:K})})}function T(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_students/search.json`,{method:"get",params:K})})}function A(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_students.json`,{method:"get",params:K})})}function D(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_teachers.json`,{method:"get",params:K})})}function j(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.graduation_id}/graduation_tasks.json`,{method:"POST",body:K})})}function L(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.graduation_id}/graduation_tasks/${K.id}.json`,{method:"PUT",body:K})})}function V(K){return r(this,null,function*(){var ne;return(0,t.ZP)(`/api/graduations/${K.id}/graduation_tasks/${(ne=K.ids)==null?void 0:ne[0]}`,{method:"DELETE",body:{ids:K.ids}})})}function z(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_tasks.json`,{method:"get",params:K})})}function Y(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}/graduation_notices.json`,{method:"get",params:K})})}function B(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K.id}.json`,{method:"get"})})}function W(K){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K==null?void 0:K.id}/common_header.json`,{method:"get"})})}function G(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/preview.json`,{method:"get"})})}function Q(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/graduation_teachers/not_pass.json`,{method:"post",body:ne})})}function H(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/graduation_teachers/pass.json`,{method:"post",body:ne})})}function F(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/graduation_students/not_pass.json`,{method:"post",body:ne})})}function q(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/graduation_students/pass.json`,{method:"post",body:ne})})}function M(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/graduation_students/batch_delete`,{method:"delete",body:ne})})}function N(K,ne){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${K}/graduation_teachers/batch_delete`,{method:"delete",body:ne})})}},82220:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return a},vm:function(){return s}});var t=e(38986),r=(o,f,m)=>new Promise((p,b)=>{var g=S=>{try{O(m.next(S))}catch(I){b(I)}},E=S=>{try{O(m.throw(S))}catch(I){b(I)}},O=S=>S.done?p(S.value):Promise.resolve(S.value).then(g,E);O((m=m.apply(o,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function a(o){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:o})})}function s(o){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:o})})}function u(o){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(o){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:o})})}},50958:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return m},Ko:function(){return g},QJ:function(){return E},Ub:function(){return O},V8:function(){return p},dl:function(){return S},w0:function(){return b}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,P,k)=>P in I?r(I,P,{enumerable:!0,configurable:!0,writable:!0,value:k}):I[P]=k,c=(I,P)=>{for(var k in P||(P={}))a.call(P,k)&&u(I,k,P[k]);if(n)for(var k of n(P))s.call(P,k)&&u(I,k,P[k]);return I},o=(I,P,k)=>new Promise((R,T)=>{var A=L=>{try{j(k.next(L))}catch(V){T(V)}},D=L=>{try{j(k.throw(L))}catch(V){T(V)}},j=L=>L.done?R(L.value):Promise.resolve(L.value).then(A,D);j((k=k.apply(I,P)).next())});function f(I){return o(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function m(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function b(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function g(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function E(I){return o(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function O(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function S(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},49379:function(i,d,e){"use strict";e.d(d,{A2:function(){return E},CI:function(){return p},Ep:function(){return g},Ex:function(){return R},R7:function(){return f},WW:function(){return T},_V:function(){return k},ms:function(){return I},s0:function(){return O},vf:function(){return b},xn:function(){return m},yy:function(){return P}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(A,D,j)=>D in A?r(A,D,{enumerable:!0,configurable:!0,writable:!0,value:j}):A[D]=j,c=(A,D)=>{for(var j in D||(D={}))a.call(D,j)&&u(A,j,D[j]);if(n)for(var j of n(D))s.call(D,j)&&u(A,j,D[j]);return A},o=(A,D,j)=>new Promise((L,V)=>{var z=W=>{try{B(j.next(W))}catch(G){V(G)}},Y=W=>{try{B(j.throw(W))}catch(G){V(G)}},B=W=>W.done?L(W.value):Promise.resolve(W.value).then(z,Y);B((j=j.apply(A,D)).next())});function f(A){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${A.coursesId}/online_learning.json`,{method:"get"})})}function m(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}.json`,{method:"put",body:A})})}function p(A){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${A.coursesId}/course_stages.json`,{method:"post",body:A})})}function b(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}/add_shixun_to_stage.json`,{method:"post",body:A})})}function g(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}/select_shixun_to_stage.json`,{method:"post",body:A})})}function E(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}/add_video_to_stage.json`,{method:"post",body:A})})}function O(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}/add_attachment_to_stage.json`,{method:"post",body:A})})}function S(A){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:A})})}function I(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}/up_position.json`,{method:"post"})})}function P(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}/down_position.json`,{method:"post"})})}function k(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.id}.json`,{method:"delete"})})}function R(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.stage_id}/items/move_position.json`,{method:"post",body:c({},A)})})}function T(A){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${A.stage_id}/items/${A.id}`,{method:"delete"})})}},93629:function(i,d,e){"use strict";e.d(d,{DF:function(){return E},Di:function(){return H},Dm:function(){return Y},Dq:function(){return se},Gd:function(){return g},Hb:function(){return _e},Hm:function(){return L},ID:function(){return o},JP:function(){return ne},NC:function(){return D},Pl:function(){return O},Qc:function(){return a},Qp:function(){return B},RK:function(){return m},YP:function(){return j},a2:function(){return u},ar:function(){return b},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return S},iT:function(){return R},jK:function(){return z},kF:function(){return le},kp:function(){return k},lc:function(){return P},oF:function(){return q},q$:function(){return c},qN:function(){return V},tS:function(){return I},ts:function(){return T},un:function(){return G},w0:function(){return Q},wX:function(){return W},yE:function(){return s}});var t=e(38986),r=(he,We,Ke)=>new Promise((ft,_t)=>{var pt=Ie=>{try{me(Ke.next(Ie))}catch($e){_t($e)}},et=Ie=>{try{me(Ke.throw(Ie))}catch($e){_t($e)}},me=Ie=>Ie.done?ft(Ie.value):Promise.resolve(Ie.value).then(pt,et);me((Ke=Ke.apply(he,We)).next())});const n=he=>(0,t.ZP)(`/api/examination_banks/${he==null?void 0:he.id}/code_check.json`,{method:"get",params:he}),a=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/reset_pwd.json`,{method:"post",body:he}),s=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/encrypt_or_decrypt.json`,{method:"post",body:he}),u=he=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:he}),c=he=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:he}),o=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/copy.json`,{method:"post",body:he}),f=he=>(0,t.ZP)(`/api/examination_banks/${he.id}/get_question_type_alias.json`,{method:"get",params:he});function m(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/edit_question_type_alias.json`,{method:"POST",body:he})})}function p(he){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:he})})}function b(he){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:he})})}function g(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:he})})}function E(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/set_public.json`,{method:"post"})})}function O(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/set_private.json`,{method:"post"})})}function S(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"delete"})})}function I(he){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:he})})}const P=he=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:he});function k(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/send_to_course.json`,{method:"post",body:he})})}function R(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"get",params:he})})}function T(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/set_score`,{method:"post",body:he})})}function A(he){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/set_shixun_score.json`,{method:"post",body:he})})}function D(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}.json`,{method:"delete"})})}function j(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:he})})}function L(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:he})})}function V(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/${he.itemId}/adjust_position.json`,{method:"post",body:he})})}function z(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}.json`,{method:"put",body:he})})}function Y(he){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:he})})}function B(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:he})})}function W(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he==null?void 0:he.id}/set_public.json`,{method:"post",body:he})})}function G(he){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:he})})}function Q(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/update_exam.json`,{method:"put",body:he})})}function H(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/edit_exam.json`,{method:"get"})})}function F(he,We){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/examination_banks_item_banks.json`,{method:"post",body:We})})}function q(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:he})})}function M(he,We){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/sort_question_type.json`,{method:"post",body:We})})}function N(he){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he.exam_id}/examination_banks_item_banks/${he.question_id}.json`,{method:"delete"})})}function K(he,We){return r(this,null,function*(){return Fetch(`/api/examination_banks/${he}/batch_set_score.json`,{method:"post",body:We})})}function ne(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he}/simulate_exercise.json`,{method:"post"})})}function se(he){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${he}/exercise_header.json`,{method:"get"})})}function _e(he,We,Ke){return r(this,null,function*(){const ft=new FormData;return ft.append("file",We),ft.append("sub_discipline_id",Ke),(0,t.ZP)(`/api/examination_banks/${he}/import_item_banks.json`,{method:"post",body:ft},!0)})}function le(he){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:he})})}},36714:function(i,d,e){"use strict";e.d(d,{$D:function(){return $e},A2:function(){return cr},A7:function(){return Xe},AP:function(){return Dr},AQ:function(){return Ke},Ax:function(){return ie},Az:function(){return ke},Bn:function(){return vr},Bz:function(){return P},CB:function(){return A},CI:function(){return Ne},Cc:function(){return Xr},D$:function(){return p},DQ:function(){return ht},DU:function(){return Re},EG:function(){return z},EP:function(){return Ie},Ep:function(){return lr},Er:function(){return we},Eu:function(){return R},Ex:function(){return Wt},FD:function(){return Ye},F_:function(){return lt},Fg:function(){return H},GY:function(){return Bt},Go:function(){return Qe},Gz:function(){return F},Hl:function(){return q},Ho:function(){return S},JS:function(){return xe},Jd:function(){return D},Ju:function(){return k},KM:function(){return Mt},M1:function(){return f},M2:function(){return Pr},Mk:function(){return ar},Mt:function(){return yr},Mu:function(){return ct},NV:function(){return Nt},O9:function(){return O},PQ:function(){return T},Q:function(){return ye},S$:function(){return b},Sp:function(){return We},VO:function(){return je},WD:function(){return Lt},WO:function(){return Be},WW:function(){return St},YP:function(){return B},_C:function(){return $t},_V:function(){return _r},b:function(){return g},bw:function(){return me},bz:function(){return pr},c2:function(){return j},c3:function(){return ce},cn:function(){return K},dX:function(){return G},eJ:function(){return De},ef:function(){return Rt},fh:function(){return ne},fj:function(){return mt},hS:function(){return M},id:function(){return vn},jT:function(){return Le},j_:function(){return W},ke:function(){return Ct},lk:function(){return he},mB:function(){return m},mE:function(){return I},mQ:function(){return le},ms:function(){return yt},mx:function(){return rt},nq:function(){return Q},ol:function(){return nr},p:function(){return _t},p4:function(){return Se},pU:function(){return _e},pf:function(){return V},rS:function(){return dt},rs:function(){return At},s0:function(){return Ir},se:function(){return L},sm:function(){return xt},tS:function(){return N},tu:function(){return se},ue:function(){return ft},vf:function(){return gt},w4:function(){return pt},wA:function(){return gr},wv:function(){return Y},xG:function(){return Dt},xn:function(){return Ze},yN:function(){return et},yy:function(){return Jt},zc:function(){return E}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Me,$n,ln)=>$n in Me?r(Me,$n,{enumerable:!0,configurable:!0,writable:!0,value:ln}):Me[$n]=ln,c=(Me,$n)=>{for(var ln in $n||($n={}))a.call($n,ln)&&u(Me,ln,$n[ln]);if(n)for(var ln of n($n))s.call($n,ln)&&u(Me,ln,$n[ln]);return Me},o=(Me,$n,ln)=>new Promise((ea,aa)=>{var fa=Ba=>{try{Ia(ln.next(Ba))}catch(xn){aa(xn)}},Rn=Ba=>{try{Ia(ln.throw(Ba))}catch(xn){aa(xn)}},Ia=Ba=>Ba.done?ea(Ba.value):Promise.resolve(Ba.value).then(fa,Rn);Ia((ln=ln.apply(Me,$n)).next())});const f=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/student_detail.json",{method:"get",params:Me})}),m=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_detail.json",{method:"get",params:Me})}),p=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/update_statistic.json",{method:"get",params:Me})}),b=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/statistic_lists.json",{method:"get",params:Me})}),g=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/route_statistics.json",{method:"get",params:Me})}),E=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:Me})}),O=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:Me})}),S=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:Me})}),I=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:Me})}),P=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/knowledge_graphs/${Me==null?void 0:Me.graphable_type}/${Me==null?void 0:Me.graphable_id}`,{method:"get",params:Me})}),k=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}/detail.json`,{method:"get",params:Me})}),R=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals/home.json",{method:"get",params:Me})}),T=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_tags/${Me==null?void 0:Me.id}.json`,{method:"delete",body:Me})}),A=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"POST",body:Me})}),D=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"get",params:Me})}),j=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:Me})}),L=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}/edit`,{method:"get",params:Me})}),V=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}.json`,{method:"delete",body:Me})}),z=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}.json`,{method:"PUT",body:Me})}),Y=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"POST",body:Me})}),B=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"get",params:Me})}),W=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:Me})}),G=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:Me})}),Q=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Me})}),H=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Me})}),F=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Me})}),q=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Me})}),M=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Me})});function N(Me){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},Me)})})}function K(Me){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},Me)})})}function ne(Me){return o(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},Me)})})}function se(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}.json`,{method:"PUT",body:Me})})}function _e(Me){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:Me})})}function le(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/edit.json`,{method:"get"})})}function he(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}.json`,{method:"get",params:c({identifier:Me.id},Me)})})}function We(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Me.id}.json`,{method:"get",params:c({identifier:Me.id},Me)})})}function Ke(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/right_banner.json`,{method:"get",params:Me})})}function ft(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/spoc_courses.json`,{method:"get",params:Me})})}const _t=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:Me})}),pt=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${Me.id}/children.json`,{method:"Get",params:Me})});function et(Me){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:Me})})}function me(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/update_team_title.json`,{method:"post",body:Me})})}function Ie(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/delete_member.json`,{method:"Delete",body:Me})})}function $e(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/spoc_courses/${Me==null?void 0:Me.courseid}.json`,{method:"Delete"})})}function nt(Me){return o(this,null,function*(){return Fetch(`/api/paths/${Me.id}/up_member_position.json`,{method:"post",body:Me})})}function wt(Me){return o(this,null,function*(){return Fetch(`/api/paths/${Me.id}/down_member_position.json`,{method:"post",body:Me})})}function Mt(Me){return o(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:Me})})}function At(Me){return o(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:Me})})}function De(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}.json`,{method:"Delete",body:Me})})}function Qe(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/publish.json`,{method:"post",body:Me})})}function mt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/cancel_publish.json`,{method:"post",body:Me})})}function Be(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/apply_public.json`,{method:"post",body:Me})})}function we(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/cancel_public.json`,{method:"post",body:Me})})}function ue(Me){return o(this,null,function*(){return Fetch(`/api/paths/${Me.id}/choose_course.json`,{method:"get",params:Me})})}function ye(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/send_to_course.json`,{method:"post",body:Me})})}function Se(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Me.id}/send_to_course.json`,{method:"post",body:Me})})}function rt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/add_subject_members.json`,{method:"post",body:Me})})}function xt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/spoc_courses.json`,{method:"post",body:Me})})}function ce(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/appointment.json`,{method:"post",body:Me})})}function xe(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Me.id}/join_excellent_course.json`,{method:"post",body:Me})})}function dt(Me){return o(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Me})})}function qe(Me){return o(this,null,function*(){return Fetch(`/api/paths/${Me.id}/statistics_info.json`,{method:"get",params:Me})})}function He(Me){return o(this,null,function*(){return Fetch(`/api/paths/${Me.id}/shixun_analyze.json`,{method:"get",params:Me})})}function at(Me){return o(this,null,function*(){return Fetch(`/api/paths/${Me.id}/learning_analyze.json`,{method:"get",params:Me})})}function Rt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/learning_statistics.json`,{method:"get",params:Me})})}function lt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/shixun_statistics.json`,{method:"get",params:Me})})}function Re(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/study_analyze/${Me.type}.json`,{method:"get",params:Me})})}function it(Me){return o(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Me})})}function Ze(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}.json`,{method:"put",body:Me})})}function gt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/add_shixun_to_stage.json`,{method:"post",body:Me})})}const Dt=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${Me==null?void 0:Me.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Me})});function lr(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/select_shixun_to_stage.json`,{method:"post",body:Me})})}function cr(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/add_video_to_stage.json`,{method:"post",body:Me})})}function Ir(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/add_attachment_to_stage.json`,{method:"post",body:Me})})}function Pr(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Me.id}.json`,{method:"put",body:Me})})}function yr(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/add_blank_to_stage.json`,{method:"post",body:Me})})}function Ne(Me){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:Me})})}function kr(Me){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Me})})}function yt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/up_position.json`,{method:"get"})})}function Jt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}/down_position.json`,{method:"get"})})}function _r(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.id}.json`,{method:"delete"})})}function ie(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.pathId}/discusses.json`,{method:"get",params:c({},Me)})})}function ct(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Me.coursesId}/excellent_discusses.json`,{method:"get",params:c({},Me)})})}function qt(Me){return o(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},Me)})})}function Wt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.stage_id}/items/move_position`,{method:"post",body:c({},Me)})})}function St(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me.stage_id}/items/${Me.id}`,{method:"delete"})})}function Ct(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Me.id}/excellent_discuss`,{method:"post",body:c({},Me)})})}function Lt(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Me.id}/post_discuss`,{method:"post",body:c({},Me)})})}function Bt(Me){return o(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:Me})})}function nr(Me){return o(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:Me})})}function pr(Me){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Me})})}function ht(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me==null?void 0:Me.id}/add_homework_to_stage.json`,{method:"post",body:Me})})}function Ye(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Me==null?void 0:Me.id}/edit.json`,{method:"get",params:Me})})}function je(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Me==null?void 0:Me.id}.json`,{method:"put",body:Me})})}function Le(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Me==null?void 0:Me.user_id}/subjects/subject_homework.json`,{method:"get",params:Me})})}function Xe(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Me==null?void 0:Me.user_id}/courses/course_homework.json`,{method:"get",params:Me})})}function $t(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Me==null?void 0:Me.id}/batch_add_homework_to_stage.json`,{method:"post",body:Me})})}function Nt(Me){return o(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Me})})}function vr(Me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Me==null?void 0:Me.user_login}/subjects/cancel.json`,{method:"get",params:Me})})}const gr=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_graph_statistics.json",{method:"get",params:Me})}),Xr=Me=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_statistic_lists.json",{method:"get",params:Me})}),vn=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}/statistics.json`,{method:"get",params:Me})}),ar=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}/statistic_lists.json`,{method:"get",params:Me})}),ke=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}/statistic_detail.json`,{method:"get",params:Me})}),Dr=Me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Me==null?void 0:Me.id}/student_detail.json`,{method:"get",params:Me})})},7299:function(i,d,e){"use strict";e.d(d,{Fd:function(){return Q},Hi:function(){return b},IU:function(){return D},KE:function(){return E},Kc:function(){return F},MK:function(){return j},Q9:function(){return k},Qg:function(){return A},Qn:function(){return S},UK:function(){return p},W:function(){return M},Ye:function(){return T},_c:function(){return f},hO:function(){return Y},iV:function(){return q},jy:function(){return L},kp:function(){return z},lf:function(){return P},m7:function(){return g},n$:function(){return I},rJ:function(){return R},s3:function(){return m},ux:function(){return O},vf:function(){return G},wh:function(){return V},wo:function(){return H},x$:function(){return W}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(N,K,ne)=>K in N?r(N,K,{enumerable:!0,configurable:!0,writable:!0,value:ne}):N[K]=ne,c=(N,K)=>{for(var ne in K||(K={}))a.call(K,ne)&&u(N,ne,K[ne]);if(n)for(var ne of n(K))s.call(K,ne)&&u(N,ne,K[ne]);return N},o=(N,K,ne)=>new Promise((se,_e)=>{var le=Ke=>{try{We(ne.next(Ke))}catch(ft){_e(ft)}},he=Ke=>{try{We(ne.throw(Ke))}catch(ft){_e(ft)}},We=Ke=>Ke.done?se(Ke.value):Promise.resolve(Ke.value).then(le,he);We((ne=ne.apply(N,K)).next())});const f=N=>o(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${N==null?void 0:N.id}/commit_word_cloud.json`,{method:"Get",params:N})});function m(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/poll_lists.json`,{method:"get",params:c({},N)})})}function p(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/common_header.json`,{method:"get"})})}function b(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/poll_setting.json`,{method:"get"})})}function g(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/commit_setting.json`,{method:"post",body:c({},N)})})}function E(N){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},N)})})}function O(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/publish_groups.json`,{method:"get",params:c({},N)})})}function S(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/commit_result.json`,{method:"get",params:c({},N)})})}function I(N){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},N)})})}function P(N){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},N)})})}function k(N){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},N)})})}function R(N){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${N.coursesId}/polls.json`,{method:"POST",body:c({},N)})})}function T(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.categoryId}/edit.json`,{method:"get"})})}function A(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.pollsId}.json`,{method:"put",body:c({},N)})})}function D(N){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${N.pollsId}.json`,{method:"put",body:c({},N)})})}function j(N){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${N.pollsId}/poll_questions.json`,{method:"post",body:c({},N)})})}function L(N){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${N.pollsId}.json`,{method:"delete",body:c({},N)})})}function V(N){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${N.pollsId}/up_down.json`,{method:"post",body:c({},N)})})}function z(N){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${N.topicId}.json`,{method:"get"})})}function Y(N){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${N.topicId}.json`,{method:"put",body:c({},N)})})}function B(N){return o(this,null,function*(){return Fetch(`/api/exercise_banks/${N.topicId}.json`,{method:"put",body:c({},N)})})}function W(N){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${N.pollsId}.json`,{method:"delete",body:c({},N)})})}function G(N){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${N.pollsId}/up_down.json`,{method:"post",body:c({},N)})})}function Q(N){return o(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},N)})})}function H(N){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${N.pollsId}.json`,{method:"put",body:c({},N)})})}function F(N){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${N.id}.json`,{method:"put",body:c({},N)})})}function q(N){return o(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},N)})})}function M(N){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${N.exerciseId}/up_down.json`,{method:"post",body:c({},N)})})}},46722:function(i,d,e){"use strict";e.d(d,{$c:function(){return ye},A1:function(){return we},Bd:function(){return k},Bo:function(){return B},Cc:function(){return Q},Cn:function(){return q},DF:function(){return I},Dm:function(){return me},FG:function(){return Y},GW:function(){return Ie},HF:function(){return j},Hm:function(){return N},IJ:function(){return Be},L5:function(){return et},LS:function(){return nt},MZ:function(){return Qe},Mr:function(){return z},NZ:function(){return We},Of:function(){return O},Pl:function(){return S},Qj:function(){return g},Qp:function(){return Mt},RT:function(){return ce},Rp:function(){return wt},U6:function(){return L},Vl:function(){return H},Wk:function(){return V},YP:function(){return M},Ys:function(){return T},al:function(){return R},bF:function(){return Se},d1:function(){return b},dt:function(){return rt},et:function(){return ne},ex:function(){return E},fY:function(){return se},fn:function(){return P},hI:function(){return Ke},hg:function(){return De},iT:function(){return W},lS:function(){return he},nD:function(){return $e},qN:function(){return K},rV:function(){return A},s:function(){return le},sD:function(){return mt},sS:function(){return pt},ts:function(){return G},vi:function(){return ue},wX:function(){return At},x5:function(){return D},zh:function(){return _e}});var t=e(38986),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(xe,dt,qe)=>dt in xe?r(xe,dt,{enumerable:!0,configurable:!0,writable:!0,value:qe}):xe[dt]=qe,f=(xe,dt)=>{for(var qe in dt||(dt={}))u.call(dt,qe)&&o(xe,qe,dt[qe]);if(s)for(var qe of s(dt))c.call(dt,qe)&&o(xe,qe,dt[qe]);return xe},m=(xe,dt)=>n(xe,a(dt)),p=(xe,dt,qe)=>new Promise((He,at)=>{var Rt=it=>{try{Re(qe.next(it))}catch(Ze){at(Ze)}},lt=it=>{try{Re(qe.throw(it))}catch(Ze){at(Ze)}},Re=it=>it.done?He(it.value):Promise.resolve(it.value).then(Rt,lt);Re((qe=qe.apply(xe,dt)).next())});function b(xe){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:m(f({},xe),{clazz:"ItemBanksGroup"})})})}function g(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:xe})})}function E(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:xe})})}function O(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:xe})})}function S(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}/set_private.json`,{method:"post"})})}function I(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}/set_public.json`,{method:"post"})})}function P(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}.json`,{method:"delete"})})}function k(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${xe.id}/start.json`,{method:"get"})})}function R(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${xe.id}.json`,{method:"delete",body:f({},xe)})})}function T(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:xe})})}function A(xe){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:xe})})}function D(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:xe.type}})})}function j(xe){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:xe})})}function L(xe){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:xe})})}function V(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}.json`,{method:"put",body:xe})})}function z(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:xe})})}function Y(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}/edit.json`,{method:"get"})})}function B(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${xe.id}/edit.json`,{method:"get"})})}function W(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:xe})})}function G(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${xe.id}/set_score.json`,{method:"post",body:xe})})}function Q(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${xe.id}/set_challenge_score.json`,{method:"post",body:xe})})}function H(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${xe.id}/combination_set_score.json`,{method:"post",body:xe})})}function F(xe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${xe.exerid}/examination_banks_item_banks/${xe.id}/combination_set_score.json`,{method:"post",body:xe})})}function q(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${xe.id}.json`,{method:"delete"})})}function M(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:xe})})}function N(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:xe})})}function K(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${xe.id}/adjust_position.json`,{method:"post",body:xe})})}function ne(xe){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:xe})})}function se(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${xe.id}/revoke_item.json`,{method:"delete",body:xe})})}function _e(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${xe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:xe})})}function le(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}/join_to_collection.json`,{method:"post",params:xe})})}function he(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}/cancel_collection.json`,{method:"post",params:xe})})}function We(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:xe})})}function Ke(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:xe})})}function ft(xe){return p(this,null,function*(){return Fetch(`/api/item_banks/${xe.id}/join_to_group.json`,{method:"post",body:xe})})}function _t(xe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${xe.id}.json`,{method:"put",body:xe})})}function pt(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:xe})})}function et(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe.id}/feedback.json`,{method:"post",body:xe})})}function me(xe){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:xe})})}function Ie(xe){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:xe})})}function $e(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:xe})})}function nt(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:xe})})}function wt(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:xe})})}function Mt(xe){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:xe})})}function At(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${xe==null?void 0:xe.id}/set_public.json`,{method:"post",body:xe})})}function De(xe){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:xe})})}function Qe(xe){return(0,t.ZP)(`/api/problems/${xe.identifier}/publish.json`,{method:"post",body:xe})}function mt(xe){return(0,t.ZP)(`/api/problems/${xe.identifier}/cancel_publish.json`,{method:"post",body:xe})}function Be(xe){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...xe.id]}})}function we(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${xe.id}/up_position.json`,{method:"get",params:xe})})}function ue(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${xe.id}/down_position.json`,{method:"get",params:xe})})}function ye(xe){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${xe.id}/edit_hack.json`,{method:"get",params:xe})})}function Se(xe){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:xe})})}function rt(xe){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:xe})})}function xt(xe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:xe})})}function ce(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return a}});var t=e(38986),r=(u,c,o)=>new Promise((f,m)=>{var p=E=>{try{g(o.next(E))}catch(O){m(O)}},b=E=>{try{g(o.throw(E))}catch(O){m(O)}},g=E=>E.done?f(E.value):Promise.resolve(E.value).then(p,b);g((o=o.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function a(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},1247:function(i,d,e){"use strict";e.d(d,{Am:function(){return O},Ar:function(){return $e},BD:function(){return Se},Be:function(){return Qe},Dx:function(){return q},Fr:function(){return Dt},G$:function(){return P},GS:function(){return z},Gw:function(){return I},H:function(){return me},H1:function(){return Ie},Hj:function(){return xt},JA:function(){return xe},JG:function(){return F},KE:function(){return K},Lz:function(){return ue},Mf:function(){return et},NA:function(){return _t},O:function(){return b},PC:function(){return Ke},PP:function(){return ft},PW:function(){return Mt},Q3:function(){return M},QC:function(){return dt},Qt:function(){return ye},Qz:function(){return T},R$:function(){return Ze},RP:function(){return W},Ti:function(){return yr},Uc:function(){return Rt},Ul:function(){return Q},VB:function(){return Ir},Vs:function(){return lt},Wr:function(){return k},Xn:function(){return G},YQ:function(){return pt},Yn:function(){return S},Z8:function(){return L},ak:function(){return wt},cN:function(){return D},co:function(){return mt},cz:function(){return he},e_:function(){return g},fK:function(){return V},gG:function(){return We},gZ:function(){return at},h$:function(){return j},ku:function(){return we},lf:function(){return se},m7:function(){return H},mQ:function(){return A},mz:function(){return De},n$:function(){return ne},oK:function(){return E},oN:function(){return Pr},pH:function(){return rt},pb:function(){return cr},qP:function(){return qe},ql:function(){return He},rN:function(){return Be},sw:function(){return _e},t1:function(){return le},to:function(){return B},ub:function(){return ce},ux:function(){return N},wS:function(){return lr},wT:function(){return R},yT:function(){return nt},yy:function(){return Re},z2:function(){return At}});var t=e(38986),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Ne,kr,yt)=>kr in Ne?r(Ne,kr,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Ne[kr]=yt,f=(Ne,kr)=>{for(var yt in kr||(kr={}))u.call(kr,yt)&&o(Ne,yt,kr[yt]);if(s)for(var yt of s(kr))c.call(kr,yt)&&o(Ne,yt,kr[yt]);return Ne},m=(Ne,kr)=>n(Ne,a(kr)),p=(Ne,kr,yt)=>new Promise((Jt,_r)=>{var ie=Wt=>{try{qt(yt.next(Wt))}catch(St){_r(St)}},ct=Wt=>{try{qt(yt.throw(Wt))}catch(St){_r(St)}},qt=Wt=>Wt.done?Jt(Wt.value):Promise.resolve(Wt.value).then(ie,ct);qt((yt=yt.apply(Ne,kr)).next())});const b=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.id}/submit_test_result.json`,{method:"post",body:Ne})}),g=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne==null?void 0:Ne.id}/student_work_test_result.json`,{method:"Get",params:Ne})}),E=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.id}/update_journals.json`,{method:"post",body:Ne})}),O=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne==null?void 0:Ne.homeworkId}/change_score.json`,{method:"post",body:Ne})}),S=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne==null?void 0:Ne.homeworkId}/history_comment`,{method:"Get",params:Ne})}),I=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne==null?void 0:Ne.homeworkId}/feedback_know`,{method:"Get",params:Ne})}),P=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne==null?void 0:Ne.userId}/student_work_feedbacks.json`,{method:"POST",body:Ne})}),k=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne==null?void 0:Ne.userId}/feedback_list.json`,{method:"Get",params:Ne})}),R=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne==null?void 0:Ne.userId}/histories.json`,{method:"Get",params:Ne})}),T=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne==null?void 0:Ne.homeworkId}/feedback_list`,{method:"Get",params:Ne})}),A=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne==null?void 0:Ne.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ne})}),D=Ne=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne==null?void 0:Ne.homeworkId}/appeal_list`,{method:"Get",params:Ne})});function j(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/works_list.json`,{method:"post",body:f({},Ne)})})}function L(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ne.categoryId}/student_works.json`,{method:"get",params:f({},Ne)})})}function V(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ne.categoryId}/header_info.json`,{method:"get",params:f({},Ne)})})}function z(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne}/query_game_url.json`,{method:"get"})})}function Y(Ne){return p(this,null,function*(){return Fetch(`/api/student_works/${Ne}/get_newest_shixun_work_comments.json`,{method:"get"})})}function B(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}.json`,{method:"get"})})}function W(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/code_review_results.json`,{method:"get",params:f({},Ne)})})}function G(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/code_review_detail.json`,{method:"get",params:f({},Ne)})})}function Q(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/settings.json`,{method:"get",params:f({},Ne)})})}function H(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/update_settings.json`,{method:"post",body:f({},Ne)})})}function F(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/group_list.json`,{method:"get",params:f({},Ne)})})}function q(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/works_list.xlsx`,{method:"get",params:f({},Ne)})})}function M(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.coursesId}/reference_answer.json`,{method:"get",params:f({},Ne)})})}function N(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/publish_groups.json`,{method:"get",params:f({},Ne)})})}function K(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/end_groups.json`,{method:"get",params:f({},Ne)})})}function ne(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ne)})})}function se(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Ne)})})}function _e(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/shixun_work_report.json`,{method:"get",params:Ne})})}function le(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ne})})}function he(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:m(f({},Ne),{id:Ne.categoryId})})})}function We(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Ne)})})}function Ke(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/show_comment.json`,{method:"get",params:f({},Ne)})})}function ft(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Ne)})})}function _t(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Ne)})})}function pt(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Ne)})})}function et(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Ne)})})}function me(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/update_explanation.json`,{method:"post",body:f({},Ne)})})}function Ie(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/homework_commons.json`,{method:"post",body:f({},Ne)})})}function $e(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}.json`,{method:"put",body:f({},Ne)})})}function nt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ne.id}.json`,{method:"put",body:f({},Ne)})})}function wt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Ne)})})}function Mt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/edit.json`,{method:"get",params:f({},Ne)})})}function At(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}.json`,{method:"put",body:f({},Ne)})})}function De(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Ne)})})}function Qe(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Ne)})})}function mt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Ne)})})}function Be(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function we(Ne){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Ne)})})}function ue(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Ne)})})}function ye(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Ne)})})}function Se(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/edit.json`,{method:"get",params:f({},Ne)})})}function rt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ne.id}.json`,{method:"get",params:f({},Ne)})})}function xt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}.json`,{method:"get",params:f({},Ne)})})}function ce(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}/supply_attachments.json`,{method:"get",params:f({},Ne)})})}function xe(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}/comment_list.json`,{method:"get",params:f({},Ne)})})}function dt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}/destroy_score.json`,{method:"delete",body:f({},Ne)})})}function qe(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}/add_score_reply.json`,{method:"post",body:f({},Ne)})})}function He(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/all_student_works.json`,{method:"get",params:f({},Ne)})})}function at(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Ne)})})}function Rt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/score_status.json`,{method:"get",params:f({},Ne)})})}function lt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ne.categoryId}/update_score.json`,{method:"get",params:f({},Ne)})})}function Re(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}/add_score.json`,{method:"post",body:f({},Ne)})})}function it(Ne){return p(this,null,function*(){return Fetch(`/api/student_works/${Ne.userId}/cancel_appeal.json`,{method:"post",body:f({},Ne)})})}function Ze(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Ne)})})}function gt(Ne){return p(this,null,function*(){return Fetch(`/api/student_works/${Ne.userId}/deal_appeal_score.json`,{method:"post",body:f({},Ne)})})}function Dt(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ne.id}/reset_my_game.json`,{method:"get",params:f({},Ne)})})}function lr(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/commit_des.json`,{method:"get",params:f({},Ne)})})}function cr(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ne.homeworkId}/update_des.json`,{method:"post",body:f({},Ne)})})}function Ir(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Ne)})})}function Pr(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Ne)})})}function yr(Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Ne)})})}},75736:function(i,d,e){"use strict";e.d(d,{$Q:function(){return ar},AE:function(){return Jt},AQ:function(){return M},Ag:function(){return ht},Ar:function(){return Ie},At:function(){return ea},BK:function(){return ne},Bj:function(){return xe},Cf:function(){return S},DC:function(){return xt},Dz:function(){return aa},E4:function(){return b},EH:function(){return wt},Ee:function(){return eo},Er:function(){return et},Ez:function(){return P},FB:function(){return K},Fg:function(){return G},Ft:function(){return V},GI:function(){return De},Gr:function(){return He},Gu:function(){return At},Gz:function(){return W},HS:function(){return Ka},Hl:function(){return Y},IF:function(){return D},IT:function(){return nr},I_:function(){return F},Ij:function(){return j},Ir:function(){return se},Je:function(){return $t},K:function(){return Rn},K0:function(){return Va},KM:function(){return Ke},K_:function(){return Dr},LK:function(){return Nt},LP:function(){return Qe},Ne:function(){return pt},OL:function(){return I},OQ:function(){return g},OV:function(){return Be},OW:function(){return nt},Op:function(){return vn},P2:function(){return ue},P4:function(){return L},Po:function(){return q},Ps:function(){return at},Q:function(){return _t},Q1:function(){return Ia},QA:function(){return za},Ql:function(){return lt},Rs:function(){return Pr},SG:function(){return Wa},Tn:function(){return ie},Tr:function(){return Ha},U0:function(){return gt},U9:function(){return Rt},UQ:function(){return Ct},Ui:function(){return ke},Vx:function(){return xn},WO:function(){return me},WT:function(){return to},Wi:function(){return dt},Wl:function(){return Ye},X$:function(){return ye},Yn:function(){return qt},Z2:function(){return ce},ZO:function(){return qe},Zt:function(){return fa},_7:function(){return ft},_9:function(){return Wt},aH:function(){return Re},al:function(){return cr},b8:function(){return $e},bV:function(){return A},bk:function(){return O},bq:function(){return ct},dK:function(){return _e},e:function(){return Q},eX:function(){return Mt},eb:function(){return yr},fH:function(){return k},fL:function(){return Xe},h4:function(){return Ba},hS:function(){return B},h_:function(){return rt},he:function(){return H},hn:function(){return he},hy:function(){return R},ii:function(){return Ir},im:function(){return St},j8:function(){return mt},jq:function(){return Xr},kF:function(){return gr},km:function(){return lr},l3:function(){return we},m7:function(){return Ze},mI:function(){return Hn},n5:function(){return N},np:function(){return T},nu:function(){return vr},p0:function(){return Bt},q0:function(){return yt},q9:function(){return ln},qA:function(){return $n},rO:function(){return kr},rs:function(){return We},sr:function(){return Lt},t2:function(){return pr},tX:function(){return po},uo:function(){return Dt},v3:function(){return Le},w:function(){return je},wX:function(){return z},xK:function(){return _r},xM:function(){return E},xg:function(){return Ne},xk:function(){return Se},yE:function(){return it},yx:function(){return pa},zD:function(){return le},zH:function(){return Me}});var t=e(38986),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Oe,Ee,Ve)=>Ee in Oe?r(Oe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Oe[Ee]=Ve,f=(Oe,Ee)=>{for(var Ve in Ee||(Ee={}))u.call(Ee,Ve)&&o(Oe,Ve,Ee[Ve]);if(s)for(var Ve of s(Ee))c.call(Ee,Ve)&&o(Oe,Ve,Ee[Ve]);return Oe},m=(Oe,Ee)=>n(Oe,a(Ee)),p=(Oe,Ee,Ve)=>new Promise((J,Tt)=>{var Qt=tt=>{try{Lr(Ve.next(tt))}catch(Pe){Tt(Pe)}},xr=tt=>{try{Lr(Ve.throw(tt))}catch(Pe){Tt(Pe)}},Lr=tt=>tt.done?J(tt.value):Promise.resolve(tt.value).then(Qt,xr);Lr((Ve=Ve.apply(Oe,Ee)).next())});const b=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:Oe})}),g=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:Oe})}),E=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:Oe})}),O=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:Oe})}),S=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:Oe})}),I=Oe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Oe==null?void 0:Oe.questionId}/poll_votes.json`,{method:"post",body:Oe})}),P=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:Oe})}),k=Oe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Oe==null?void 0:Oe.poll_question_id}/up_down.json`,{method:"post",body:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:Oe})}),T=Oe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Oe==null?void 0:Oe.poll_question_id}.json`,{method:"put",body:Oe})}),A=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Oe==null?void 0:Oe.poll_question_id}.json`,{method:"delete"})}),j=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:Oe})}),L=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:Oe})}),V=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:Oe})}),z=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:Oe})}),Y=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:Oe})}),B=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:Oe})}),W=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:Oe})}),G=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:Oe})}),Q=Oe=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:Oe})});function H(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},Oe)})})}function F(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},Oe||{})})})}function q(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}.json`,{method:"Get",params:Oe})})}function M(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/show_right.json`,{method:"Get"})})}function N(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges.json`,{method:"Get"})})}function K(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:Oe.save_type}})})}function ne(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/jupyter_exec.json${Oe.reset?`?reset=${Oe.reset}`:""}`,{method:"Get",params:Oe})})}function se(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/shixun_exec.json${Oe.reset?`?reset=${Oe.reset}`:""}`,{method:"Get",params:Oe})})}function _e(Oe){return p(this,null,function*(){return(0,t.ZP)(Oe.url,{method:"Get"})})}function le(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.shixun_identifier}/challenges/${Oe.challenge_id}/index_up.json`,{method:"Get"})})}function he(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.shixun_identifier}/challenges/${Oe.challenge_id}/index_down.json`,{method:"Get"})})}function We(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:Oe.container_id,container_type:Oe.container_type}})})}function Ke(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:Oe.container_id,container_type:Oe.container_type}})})}function ft(Oe){return p(this,null,function*(){const{id:Ee}=Oe||{};return(0,t.ZP)(`/api/shixuns/${Ee}/search_user_courses.json`,{method:"Get",params:Oe})})}function _t(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe==null?void 0:Oe.id}/send_to_course.json`,{method:"Post",body:f({},Oe)})})}function pt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/cancel_publish.json`,{method:"Get"})})}function et(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/cancel_apply_public.json`,{method:"Get"})})}function me(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/apply_public.json`,{method:"post",body:f({},Oe)})})}function Ie(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/publish.json`,{method:"Get"})})}function $e(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function nt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${Oe.id}.json`,{method:"delete"})})}function wt(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:Oe})})}function Mt(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:Oe})})}function At(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:Oe})})}function De(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/review_newest_record.json`,{method:"Get"})})}function Qe(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/review_shixun.json`,{method:"post",body:Oe})})}function mt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/collaborators.json`,{method:"Get",params:Oe})})}function Be(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/shixun_members_added.json`,{method:"post",body:Oe})})}function we(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.identifier}/add_members_group.json`,{method:"post",body:Oe})})}function ue(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/change_manager.json`,{method:"Get",params:Oe})})}function ye(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/change_manager.json`,{method:"post",body:Oe})})}function Se(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/collaborators_delete.json`,{method:"delete",body:{user_id:Oe.userId}})})}function rt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/ranking_list.json`,{method:"Get"})})}function xt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/settings.json`,{method:"Get"})})}function ce(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:Oe.mirror_id}})})}function xe(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/get_script_contents.json`,{method:"Get",params:Oe})})}function dt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/get_custom_script.json`,{method:"Get",params:Oe})})}function qe(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_for_jupyter.json`,{method:"put",body:Oe})})}function He(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/shixun_quotes.json`,{method:"Get"})})}function at(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}.json`,{method:"delete"})})}function Rt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/close.json`,{method:"post",body:Oe})})}function lt(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:Oe})})}function Re(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_permission_setting.json`,{method:"post",body:Oe})})}function it(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_learn_setting.json`,{method:"post",body:Oe})})}function Ze(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_setting`,{method:"post",body:Oe})})}function gt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/get_data_sets.json`,{method:"Get",params:Oe})})}function Dt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/destroy_data_sets.json`,{method:"Delete",body:{id:Oe.deleteId}})})}function lr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/new.json`,{method:"get"})})}function cr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.identifier}/challenges.json`,{method:"post",body:f({},Oe)})})}function Ir(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengeId}/edit.json`,{method:"get",params:{tab:Oe.tab}})})}function Pr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}.json`,{method:"put",body:f({},Oe)})})}function yr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/choose_questions.json`,{method:"get"})})}function Ne(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/move_position.json`,{method:"post",body:f({},Oe)})})}function kr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}.json`,{method:"delete",body:f({},Oe)})})}function yt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/edit.json`,{method:"get",params:f({},Oe)})})}function Jt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengeId}/answer.json`,{method:"get",params:f({},Oe)})})}function _r(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengeId}/crud_answer.json`,{method:"post",body:f({},Oe)})})}function ie(Oe){return p(this,null,function*(){if(Oe.type===1)return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/create_choose_question.json`,{method:"post",body:f({},Oe)});if(Oe.type===2)return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/create_blank_question.json`,{method:"post",body:f({},Oe)});if(Oe.type===3)return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/create_judge_question.json`,{method:"post",body:f({},Oe)})})}function ct(Oe){return p(this,null,function*(){if(Oe.type===1)return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/update_choose_question.json`,{method:"post",body:m(f({},Oe),{choose_id:Oe.questionId})});if(Oe.type===2)return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/update_blank_question.json`,{method:"put",body:m(f({},Oe),{choose_id:Oe.questionId})});if(Oe.type===3)return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/update_judge_question.json`,{method:"put",body:m(f({},Oe),{choose_id:Oe.questionId})})})}function qt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:Oe.questionId}})})}function Wt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:Oe.questionId}})})}function St(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:Oe.questionId}})})}function Ct(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/challenges/${Oe.challengesId}/edit_choose_question.json`,{method:"get",params:m(f({},Oe),{choose_id:Oe.questionId})})})}function Lt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/delete_git_file.json`,{method:"Delete",body:Oe})})}function Bt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/delete_git_file.json`,{method:"Delete",body:Oe})})}function nr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/mv_file.json`,{method:"post",body:Oe})})}function pr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/mv_file.json`,{method:"post",body:Oe})})}function ht(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/repository.json`,{method:"post",body:Oe})})}function Ye(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/repository.json`,{method:"post",body:Oe})})}function je(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/secret_repository.json`,{method:"post",body:Oe})})}function Le(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/add_file.json`,{method:"post",body:Oe})})}function Xe(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/add_file.json`,{method:"post",body:Oe})})}function $t(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/commits.json`,{method:"post",body:Oe})})}function Nt(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/file_content.json`,{method:"post",body:Oe})})}function vr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/file_content.json`,{method:"post",body:Oe})})}function gr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_file.json`,{method:"post",body:Oe})})}function Xr(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/update_file.json`,{method:"post",body:Oe})})}function vn(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/upload_git_folder.json`,{method:"post",body:{path:Oe.path,secret_repository:Oe.secret_repository}})})}function ar(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/${Oe.url}`,{method:"Get"})})}function ke(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:Oe})})}function Dr(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:Oe})})}function Me(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:Oe})})}function $n(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:Oe})})}function ln(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:Oe})})}function ea(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/fork_list.json`,{method:"Get",params:Oe})})}function aa(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.identifier}/change_editable.json`,{method:"put",body:f({},Oe)})})}function fa(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/set_secret_dir.json`,{method:"post",body:f({},Oe)})})}function Rn(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:Oe})})}function Ia(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:Oe})})}function Ba(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/init_repository.json`,{method:"post",body:f({},Oe)})})}function xn(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${Oe.id}/init_repository.json`,{method:"post",body:f({},Oe)})})}function Va(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_secret_repository.json`,{method:"post",body:f({},Oe)})})}function eo(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/exist_exercise.json`,{method:"get",params:f({},Oe)})})}function po(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${Oe.id}.json`,{method:"get",params:f({},Oe)})})}function Fe(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/publish.json`,{method:"post",body:f({},Oe)})})}function ta(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/open_vnc.json`,{method:"post",params:f({},Oe)})})}function Xn(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/open_webssh.json`,{method:"post",params:f({},Oe)})})}function Da(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/save_image.json`,{method:"post",body:f({},Oe)})})}function sa(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/delete_image.json`,{method:"post",body:f({},Oe)})})}function ra(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/extend_vnc.json`,{method:"post",body:f({},Oe)})})}function En(Oe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${Oe.id}/reset_vnc_link.json`,{method:"post",body:f({},Oe)})})}function pa(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},Oe)})})}function Hn(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},Oe)})})}function za(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},Oe)})})}function Ha(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:Oe})})}function to(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${Oe}`,{method:"get",params:{is_initiative_study:1}})})}function fi(Oe){return p(this,null,function*(){return Fetch(`/api/shixuns/${Oe.id}/update_shixun_study_num.json`,{method:"post",body:f({},Oe)})})}function Wa(Oe){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:Oe})})}function Ka(Oe){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${Oe}/recommend_config.json`,{method:"get"})})}},49234:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return R},eJ:function(){return E},eZ:function(){return O},fd:function(){return j},gp:function(){return f},iU:function(){return A},l3:function(){return I},mw:function(){return P},oZ:function(){return g},rM:function(){return k},r_:function(){return D},s:function(){return m},ur:function(){return T},xV:function(){return b},yb:function(){return S}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(L,V,z)=>V in L?r(L,V,{enumerable:!0,configurable:!0,writable:!0,value:z}):L[V]=z,c=(L,V)=>{for(var z in V||(V={}))a.call(V,z)&&u(L,z,V[z]);if(n)for(var z of n(V))s.call(V,z)&&u(L,z,V[z]);return L},o=(L,V,z)=>new Promise((Y,B)=>{var W=H=>{try{Q(z.next(H))}catch(F){B(F)}},G=H=>{try{Q(z.throw(H))}catch(F){B(F)}},Q=H=>H.done?Y(H.value):Promise.resolve(H.value).then(W,G);Q((z=z.apply(L,V)).next())});function f(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/teachers.json`,{method:"get",params:c({},L)})})}function m(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/apply_teachers.json`,{method:"get",params:c({},L)})})}function p(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/graduation_group_list.json`,{method:"get",params:c({},L)})})}function b(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/all_course_groups.json`,{method:"get",params:c({},L)})})}function g(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/set_course_group.json`,{method:"post",body:c({},L)})})}function E(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/join_graduation_group.json`,{method:"post",body:c({},L)})})}function O(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/create_graduation_group.json`,{method:"post",body:c({},L)})})}function S(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},L)})})}function I(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/delete_from_course.json`,{method:"post",body:c({},L)})})}function P(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/change_member_role.json`,{method:"post",body:c({},L)})})}function k(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/change_course_admin.json`,{method:"post",body:c({},L)})})}function R(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/teacher_application_review.json`,{method:"post",body:c({},L)})})}function T(L){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L.coursesId}/students.json`,{method:"get",params:c({},L)})})}function A(L,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L}/apply_students.json`,{method:"get",params:V})})}function D(L,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L}/join_student_checkout.json`,{method:"get",params:V})})}function j(L,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${L}/student_application_review.json`,{method:"post",body:V})})}},86245:function(i,d,e){"use strict";e.d(d,{B$:function(){return b},Cx:function(){return W},Cy:function(){return se},DA:function(){return k},DH:function(){return p},Ef:function(){return H},Es:function(){return E},Ex:function(){return _t},FM:function(){return z},Fn:function(){return F},Gq:function(){return et},Ho:function(){return T},IU:function(){return ne},JJ:function(){return q},Ol:function(){return he},Qx:function(){return V},Tv:function(){return M},V8:function(){return m},WS:function(){return G},WY:function(){return L},ai:function(){return B},bG:function(){return S},bJ:function(){return f},c0:function(){return pt},dE:function(){return K},dt:function(){return N},gI:function(){return Q},lO:function(){return Y},mW:function(){return j},n0:function(){return P},nV:function(){return le},o1:function(){return We},qE:function(){return g},qN:function(){return R},rV:function(){return A},sh:function(){return _e},vR:function(){return O},w3:function(){return D},x4:function(){return I},z2:function(){return Ke}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(me,Ie,$e)=>Ie in me?r(me,Ie,{enumerable:!0,configurable:!0,writable:!0,value:$e}):me[Ie]=$e,c=(me,Ie)=>{for(var $e in Ie||(Ie={}))a.call(Ie,$e)&&u(me,$e,Ie[$e]);if(n)for(var $e of n(Ie))s.call(Ie,$e)&&u(me,$e,Ie[$e]);return me},o=(me,Ie,$e)=>new Promise((nt,wt)=>{var Mt=Qe=>{try{De($e.next(Qe))}catch(mt){wt(mt)}},At=Qe=>{try{De($e.throw(Qe))}catch(mt){wt(mt)}},De=Qe=>Qe.done?nt(Qe.value):Promise.resolve(Qe.value).then(Mt,At);De(($e=$e.apply(me,Ie)).next())});const f=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}/move.json`,{method:"post",body:me})}),m=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"delete",body:me})}),p=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"put",body:me})}),b=me=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:me})}),g=me=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:me})});function E(me){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},me)})})}function O(me){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function S(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},me)})})}function I(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},me)})})}function P(){return o(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function k(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/homepage_info.json`,{method:"get"})})}function R(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function T(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/courses.json`,{method:"get",params:me})})}function A(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/shixuns.json`,{method:"get",params:me})})}function D(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/subjects.json`,{method:"get",params:me})})}function j(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/projects.json`,{method:"get",params:me})})}function L(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos.json`,{method:"get",params:me})})}function V(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/review.json`,{method:"get",params:me})})}function z(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.id}.json`,{method:"delete"})})}function Y(me){return o(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:me})})}function B(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:me})})}function W(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:me})})}function G(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:me})})}function Q(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:me})})}function H(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:me})})}function F(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.object_id}/create_course_video.json`,{method:"post",body:me})})}function q(me){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${me.topicId}.json`,{method:"get",params:me})})}function M(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},me)})})}function N(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/batch_publish.json`,{method:"post",body:me})})}function K(me){return o(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${me.identifier}/cancel.json`,{method:"delete",body:c({},me)})})}function ne(){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function se(me){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},me)})})}function _e(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function le(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function he(me){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:me})}function We(me){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:me})}function Ke(me){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},me)})}function ft(me){return Fetch("/api/weapps/register.json",{method:"post",body:c({},me)})}function _t(me){return(0,t.ZP)(`/api/users/accounts/${me.login}/password.json`,{method:"put",body:c({},me)})}function pt(me){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},me)})}function et(me){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},me)})}},69618:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return T},Db:function(){return Y},Ju:function(){return z},Mz:function(){return j},O2:function(){return g},TJ:function(){return S},Vg:function(){return b},ZY:function(){return m},Zx:function(){return D},cU:function(){return p},fn:function(){return V},jK:function(){return I},yN:function(){return L}});var t=e(38986),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,W,G)=>W in B?r(B,W,{enumerable:!0,configurable:!0,writable:!0,value:G}):B[W]=G,c=(B,W)=>{for(var G in W||(W={}))a.call(W,G)&&u(B,G,W[G]);if(n)for(var G of n(W))s.call(W,G)&&u(B,G,W[G]);return B},o=(B,W,G)=>new Promise((Q,H)=>{var F=N=>{try{M(G.next(N))}catch(K){H(K)}},q=N=>{try{M(G.throw(N))}catch(K){H(K)}},M=N=>N.done?Q(N.value):Promise.resolve(N.value).then(F,q);M((G=G.apply(B,W)).next())});function f(B){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},B)})})}function m(B){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/watch_statics.json`,{method:"Get",params:c({},B)})})}function p(B){return o(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${B.videoId}/watch_histories.json`,{method:"Get",params:c({},B)})})}function b(B){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},B)})})}function g(B){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${B.id}.json`,{method:"Get",params:c({},B)})})}function E(B){return o(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:B})})}function O(B){return o(this,null,function*(){return Fetch(`/api/video_items/${B.id}/edit.json`,{method:"Get",params:c({},B)})})}function S(B){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${B.id}/edit.json`,{method:"Get",params:c({},B)})})}function I(B){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${B.id}/star.json`,{method:"post",body:B})})}function P(B){return o(this,null,function*(){return Fetch(`/api/video_items/${B.id}.json`,{method:"put",body:B})})}function k(B){return o(this,null,function*(){return Fetch(`/api/video_items/${B.id}/send_to_course.json`,{method:"post",body:B})})}function R(B){return o(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},B)})})}function T(B){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${B.id}/view_video.json`,{method:"post",body:B})})}function A(B){return o(this,null,function*(){return Fetch(`/api/video_items/${B.id}/add_school.json`,{method:"post",body:B})})}function D(B){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.course_id}/video_people_statics.json`,{method:"get",params:B})})}function j(B){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.course_id}/video_duration_statics.json`,{method:"get",params:B})})}function L(B){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:B})})}function V(B){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${B==null?void 0:B.id}/course_videos_tree.json`,{method:"get",params:B})})}function z(B){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:B})})}function Y(B){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:B})})}},466:function(i,d,e){"use strict";e.d(d,{A:function(){return j},CH:function(){return a},EA:function(){return c},FU:function(){return m},G_:function(){return g},LY:function(){return R},Ll:function(){return u},MM:function(){return I},Ps:function(){return T},Sl:function(){return O},To:function(){return p},Vf:function(){return b},XQ:function(){return s},b:function(){return f},bq:function(){return D},cZ:function(){return o},rV:function(){return k},sT:function(){return E},tS:function(){return A},xt:function(){return P},y2:function(){return n}});var t=e(38986),r=(L,V,z)=>new Promise((Y,B)=>{var W=H=>{try{Q(z.next(H))}catch(F){B(F)}},G=H=>{try{Q(z.throw(H))}catch(F){B(F)}},Q=H=>H.done?Y(H.value):Promise.resolve(H.value).then(W,G);Q((z=z.apply(L,V)).next())});const n=L=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:L})});function a(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/discussions/${L.id}.json`,{method:"put",body:L})})}function s(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/discussions/${L.id}.json`,{method:"get",params:L})})}function u(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/discussions.json`,{method:"post",body:L})})}function c(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/discussions.json`,{method:"get",params:L})})}function o(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/good_lessons/${L.id}/add_resources.json`,{method:"post",body:L})})}function f(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/good_lessons/${L.id}/lesson_resources_list.json`,{method:"get",params:L})})}function m(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/good_lessons/${L.id}.json`,{method:"get",params:L})})}function p(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/good_lessons/${L.id}.json`,{method:"put",body:L})})}function b(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/good_lessons.json`,{method:"post",body:L})})}function g(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/good_lessons.json`,{method:"get",params:L})})}function E(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L==null?void 0:L.id}.json`,{method:"get"})})}function O(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L==null?void 0:L.id}/modules.json`,{method:"get"})})}function S(L){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${L.id}/videos/batch_publish.json`,{method:"post",body:L})})}function I(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/members.json`,{method:"post",body:L})})}function P(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_spacesId}/members/${L.id}/change_creator.json`,{method:"post",body:L})})}function k(L,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L}/shixuns.json`,{method:"get",params:V})})}function R(L,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L}/shixuns`,{method:"post",body:V})})}function T(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_classroom_id}/shixuns/${L.shixun_id}.json`,{method:"delete"})})}function A(L,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L}/subjects.json`,{method:"get",params:V})})}function D(L,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L}/subjects.json`,{method:"post",body:V})})}function j(L){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${L.virtual_classroom_id}/subjects/${L.subject_id}.json`,{method:"delete"})})}},48790:function(i,d,e){"use strict";e.d(d,{$O:function(){return W},G5:function(){return D},GD:function(){return r},GJ:function(){return m},Gg:function(){return p},I2:function(){return s},IR:function(){return L},JA:function(){return ye},JL:function(){return P},Jd:function(){return B},Ny:function(){return S},RV:function(){return z},Rb:function(){return A},Rm:function(){return j},V9:function(){return K},Yh:function(){return q},aN:function(){return E},aQ:function(){return o},ag:function(){return ue},bg:function(){return xt},d8:function(){return T},dE:function(){return V},eB:function(){return Y},eY:function(){return ce},fn:function(){return we},h:function(){return Rt},j5:function(){return g},m$:function(){return xe},oF:function(){return b},qz:function(){return c},t_:function(){return O},tu:function(){return qe},y8:function(){return rt}});var t=e(25690),r=(lt=>(lt[lt.SuperAdmin=1]="SuperAdmin",lt[lt.Operation=2]="Operation",lt[lt.CertifiedTeacher=5]="CertifiedTeacher",lt[lt.TrainingProduction=8]="TrainingProduction",lt[lt.UncertifiedTeacher=12]="UncertifiedTeacher",lt[lt.Student=15]="Student",lt))(r||{}),n=(lt=>(lt[lt.SuperAdmin=1]="SuperAdmin",lt[lt.Operation=2]="Operation",lt[lt.Admin=5]="Admin",lt[lt.Teacher=8]="Teacher",lt[lt.Assistant=12]="Assistant",lt[lt.Student=15]="Student",lt))(n||{}),a=(lt=>(lt[lt.SuperAdmin=0]="SuperAdmin",lt[lt.Teacher=1]="Teacher",lt[lt.Student=2]="Student",lt))(a||{});const s=lt=>{const{user:Re}=(0,t.getDvaApp)()._store.getState(),{userInfo:it}=Re;return lt.some(Ze=>Ze==(it==null?void 0:it.role))},u=lt=>{const{user:Re}=(0,t.getDvaApp)()._store.getState(),{userInfo:it}=Re;return it!=null&&it.own?!0:lt.some(Ze=>{var gt;return Ze==((gt=it==null?void 0:it.course)==null?void 0:gt.course_role)})},c=()=>{const{user:lt}=(0,t.getDvaApp)()._store.getState(),{userInfo:Re}=lt;return Re.main_site},o=()=>{var lt;const{user:Re}=(0,t.getDvaApp)()._store.getState(),{userInfo:it}=Re;return(lt=it==null?void 0:it.course)==null?void 0:lt.course_is_end},f=()=>{const{user:lt}=getDvaApp()._store.getState(),{userInfo:Re}=lt;return Re.authentication},m=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),b=()=>u([1,8,5]),g=()=>u([1]),E=()=>u([1,2,5]),O=()=>u([1,2]),S=()=>s([1,2]),I=()=>s([1]),P=()=>s([1,2,5]),k=()=>u([1,5]),R=()=>u([5,8]),T=()=>u([5]),A=()=>u([1,5,2]),D=()=>u([1,2,5,8]),j=()=>u([12]),L=()=>u([8]),V=()=>u([15]),z=()=>u([1,2,5,8,12,15]),Y=()=>u([1,2,5,8,12]),B=()=>{var lt;const{user:Re}=(0,t.getDvaApp)()._store.getState(),{userInfo:it}=Re;return((lt=it==null?void 0:it.course)==null?void 0:lt.course_role)===null},W=()=>{const{user:lt}=(0,t.getDvaApp)()._store.getState(),{userInfo:Re}=lt;return Re==null?void 0:Re.has_big_model_permission},G=()=>{const{user:lt}=getDvaApp()._store.getState(),{userInfo:Re}=lt;return Re==null?void 0:Re.big_model_user_unlimited},Q=(lt=!0,Re=!1)=>s([1,2,5,8,12,15]),H=(lt=!0,Re=!1)=>Re||!Re&&s([1]),F=(lt=!0,Re=!1)=>Re||!Re&&s([1,2]),q=()=>s([15]),M=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12,15]):Re||!Re&&s([1,2]),N=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12,15]):Re||!Re&&s([1,2]),K=(lt=!0,Re=!1)=>{const{user:it}=(0,t.getDvaApp)()._store.getState(),{userInfo:Ze}=it;return Ze!=null&&Ze.is_shixun_marker?!0:s([1,2,5,8])},ne=(lt=!0,Re=!1)=>lt?s([1]):Re||!Re&&s([1]),se=(lt=!0,Re=!1)=>lt?s([1,2]):Re||!Re&&s([1,2]),_e=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12,15]):Re||!Re&&s([1,2]),le=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12]):Re||!Re&&s([1,2]),he=(lt=!0,Re=!1)=>lt?s([1,2,5]):Re||!Re&&s([1,2]),We=(lt=!0,Re=!1)=>lt?s([1]):!1,Ke=(lt=!0,Re=!1)=>s([1,2,5,8,12,15]),ft=(lt=!0,Re=!1)=>lt?s([1]):Re||!Re&&s([1]),_t=(lt=!0,Re=!1)=>lt?s([1,2]):Re||!Re&&s([1,2]),pt=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12,15]):Re||!Re&&s([1,2]),et=(lt=!0,Re=!1)=>lt?!1:Re||!Re&&s([1,2]),me=(lt=!0,Re=!1)=>lt?Re||!Re&&s([1,2]):!1,Ie=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12]):!1,$e=(lt=!0,Re=!1)=>lt?!Re&&s([1,2,5,8,12]):!1,nt=(lt=!0,Re=!1)=>lt?s([1,2,5]):Re||!Re&&s([1,2]),wt=(lt=!0,Re=!1)=>s([1,2,5,8,12]),Mt=(lt=!0,Re=!1)=>lt?s([1]):Re||!Re&&s([1]),At=(lt=!0,Re=!1)=>lt?s([1,2]):Re||!Re&&s([1,2]),De=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12]):Re||!Re&&s([1,2]),Qe=(lt=!0,Re=!1)=>lt?Re||!Re&&s([1,2]):!1,mt=(lt=!0,Re=!1)=>lt?s([1,2,5,8,12]):Re||!Re&&s([1,2]),Be=(lt=!0,Re=!1)=>u([8]),we=()=>s([1]),ue=()=>s([1,2]),ye=()=>s([15]),Se=()=>s([1,2,5]),rt=()=>s([1,2,5,12]),xt=()=>{var lt;const{user:Re}=(0,t.getDvaApp)()._store.getState();return!!((lt=Re.userInfo)!=null&<.login)},ce=()=>{const{user:lt}=(0,t.getDvaApp)()._store.getState();return lt.userInfo},xe=()=>{var lt,Re;const{user:it}=(0,t.getDvaApp)()._store.getState();return!!((Re=(lt=it.userInfo)==null?void 0:lt.path)!=null&&Re.own)},dt=lt=>{const{graduations:Re}=(0,t.getDvaApp)()._store.getState(),{details:it}=Re;return lt.some(Ze=>Ze===(it==null?void 0:it.user_identity))},qe=()=>dt([0,1]),He=()=>dt([0]),at=()=>dt([1]),Rt=()=>dt([2])},32162:function(i,d,e){"use strict";e.d(d,{a2:function(){return a},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(n||{}),a=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(a||{}),s=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(s||{})},77935:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(i,d,e){"use strict";e.d(d,{Z:function(){return a}});const t={PROXY_SERVER:"https://test-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test3-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"};var r=null,a={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://test-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net",AI_PLATFORM_URL:"https://aitest.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://pre-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://pre-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",CABLE_SERVER:"wss://data.educoder.net/cable",MINIPROGRAM_SERVER:"https://data.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net",AI_PLATFORM_URL:"https://ai.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net"},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",CABLE_SERVER:"wss://data.educoder.net/cable",MINIPROGRAM_SERVER:"https://data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net",AI_PLATFORM_URL:"https://aitest.educoder.net"}}[window.ENV||"dev"]},38986:function(i,d,e){"use strict";e.d(d,{IV:function(){return q},U2:function(){return G},ZP:function(){return z},d4:function(){return Q},gz:function(){return F},rz:function(){return V},v_:function(){return H}});var t=e(346),r=e(97915),n=e(62957),a=e(6767),s=e(85582),u=e.n(s),c=e(59301),o=e(25690),f=e(51257),m=Object.defineProperty,p=Object.defineProperties,b=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,S=(M,N,K)=>N in M?m(M,N,{enumerable:!0,configurable:!0,writable:!0,value:K}):M[N]=K,I=(M,N)=>{for(var K in N||(N={}))E.call(N,K)&&S(M,K,N[K]);if(g)for(var K of g(N))O.call(N,K)&&S(M,K,N[K]);return M},P=(M,N)=>p(M,b(N)),k=(M,N,K)=>new Promise((ne,se)=>{var _e=We=>{try{he(K.next(We))}catch(Ke){se(Ke)}},le=We=>{try{he(K.throw(We))}catch(Ke){se(Ke)}},he=We=>We.done?ne(We.value):Promise.resolve(We.value).then(_e,le);he((K=K.apply(M,N)).next())});let R;const T={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},A=M=>{try{typeof M=="string"&&(M=JSON.parse(M));const N=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,K=/\"\/api\/attachments\/(\d+)\//g,ne=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,se=/\/api\/attachments\/(\d+)/g,_e=/\/attachments\/download\/(\d+)/g;return JSON.stringify(M).replace(se,(he,We,Ke,ft)=>{const _t=We||Ke||ft;return"/api/attachments/"+(0,f.Jn)(_t)}).replace(_e,(he,We,Ke)=>{const ft=We||Ke;return"/attachments/download/"+(0,f.Jn)(ft)}).replace(N,(he,We,Ke,ft)=>{const _t=We||Ke||ft;return"(/api/attachments/"+(0,f.Jn)(_t)}).replace(K,(he,We,Ke)=>{const ft=We||Ke;return'"/api/attachments/'+(0,f.Jn)(ft)}).replace(ne,(he,We,Ke)=>{const ft=We||Ke;return"(/files/uploads/"+(0,f.Jn)(ft)}).replace(/\r\n/g,` -`)}catch(N){return null}},D=(M,N)=>k(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const K=T[M.status]||M.statusText;let ne;var se=M.json();yield se.then((le,he)=>{setTimeout(()=>{let We=(0,o.getDvaApp)()},400),ne=le.message,window.showNetworkErrorTip(le.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),r.ZP.error({style:{wordBreak:"break-all"},message:le.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:le.message?"":K})});const _e=new Error(K);throw _e.name=M.status,_e.response=M,{data:M,code:M.status,message:ne||K}}),j=(M,N)=>{const K=M.headers.get("Content-Type");return K&&K.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function L(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(N){return!1}}const V=M=>{M=M||{};let N="";for(let K in M)typeof M[K]=="object"?Array.isArray(M[K])&&M[K].forEach((ne,se)=>{N+="&"+K+"[]="+ne}):M[K]!==void 0&&(N+="&"+K+"="+(L(M[K])?M[K]:encodeURIComponent(M[K])));return N.substr(1)};function z(M,N,K,ne){N.method||(N.method="get"),N.method=N.method.toUpperCase(),N.mode="cors";const se=I({},N),{user:_e}=(0,o.getDvaApp)()._store.getState(),{userInfo:le}=_e,he=M+(se.body?JSON.stringify(se.body):""),We=u().sha256().update(he).digest("hex"),Ke={credentials:"include",withCredentials:!0},ft={};le!=null&&le.login&&(ft.zzud=le==null?void 0:le.login,le!=null&&le.school_id&&(ft.zzsud=le==null?void 0:le.school_id),se.params=I(I({},se.params||{}),ft));let _t=I(I({},Ke),JSON.parse(JSON.stringify(se)));(_t.method==="POST"||_t.method==="PUT"||_t.method==="PATCH"||_t.method==="DELETE")&&(K?(_t.headers=P(I({},_t.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),_t.body=se.body):(_t.headers=I({Accept:"application/json","Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,f.ej)("_educoder_session"),Origin:location.origin},_t.headers),_t.body=JSON.stringify(se.body))),_t.method=="GET"?(_t.headers=P(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},_t.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),se.params&&V(se.params)&&(M+="?"+V(se.params))):ft.zzud&&(M+="?"+V(I({},ft)));const pt=se.expirys&&60;let et;(nt=>{nt.json="application/json;charset=UTF-8",nt.form="application/x-www-form-urlencoded; charset=UTF-8"})(et||(et={}));let me;(nt=>{nt.get="GET",nt.post="POST"})(me||(me={}));const Ie=nt=>k(this,null,function*(){const wt=yield nt.arrayBuffer();let Mt;const At=new Blob([wt]);try{Mt=nt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(Be){Mt="userfiles.zip"}const De=document.createElement("a"),Qe=window.URL.createObjectURL(At),mt=Mt;return De.href=Qe,De.download=mt,De.click(),window.URL.revokeObjectURL(Qe),wt});let $e=t.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&($e=""),_t.method=="GET"&&_t.params&&Object.keys(_t.params).map(nt=>{if(_t.params[nt]&&!Array.isArray(_t.params[nt]))try{_t.params[nt]=encodeURIComponent(decodeURIComponent(_t.params[nt]))}catch(wt){_t.params[nt]=encodeURIComponent(_t.params[nt])}}),(0,f.Ec)(_t,M),ne&&($e=""),fetch($e+M,_t).then(nt=>D(nt,I({url:t.Z.API_SERVER+M},_t))).then(nt=>j(nt,We)).then(nt=>k(this,null,function*(){var wt,Mt,At,De;try{const mt=nt.headers.get("cs");mt&&(0,f.d8)("_educoder_session",mt,1)}catch(mt){}if(nt.status===204)return nt.text();let Qe;if(nt.headers.get("content-type").indexOf("application/json")>-1){Qe=yield nt.json();try{Qe=JSON.parse(A(Qe))}catch(mt){}}else _t.headers["Content-Type"]==="application/xml"?Qe=yield nt.text():(wt=se.body)!=null&&wt.autoDownload||(Mt=se.params)!=null&&Mt.autoDownload?Qe=yield Ie(nt):Qe=yield nt.arrayBuffer();try{Qe.status===401&&(!((At=_t.params)!=null&&At.hidePopLogin)||!((De=_t.body)!=null&&De.hidePopLogin))&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Qe.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(R=R||n.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),R.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(mt){console.log("fetcherr",mt)}return W(Qe,M),Qe})).catch(nt=>{try{const wt=nt.code;if(nt instanceof TypeError&&window.showNetworkErrorTip(`${M}${nt.message}`),wt){if(wt===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}W(nt,M)}else M.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:_t.body}}):nt.message!=="403"&&window.showNetworkErrorTip(`${M}${nt.message}`);return nt}catch(wt){}})}let Y=!1,B=!1;const W=(M,N)=>{var K,ne,se;if(M.status==-6&&!B){B=!0,(0,f.d8)("_educoder_session","logout",1),(0,f.m5)(),setTimeout(()=>B=!1,500),n.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){B=!0,setTimeout(()=>B=!1,500);let le="";(K=M==null?void 0:M.data)!=null&&K.exercise_list&&((se=(ne=M==null?void 0:M.data)==null?void 0:ne.exercise_list)==null||se.map(he=>{le+=`\u300A${he.exercise_name}\u300B`})),n.default.info({title:"\u63D0\u793A",content:c.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${le} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!B){B=!0,setTimeout(()=>B=!1,500),a.ZP.warning({content:M.message,key:"message-key"});return}const _e={403:"/403",404:"/404",500:"/500"};if(_e[M.status]&&!Y){const{user:le}=(0,o.getDvaApp)()._store.getState(),{userInfo:he}=le;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Y=!0),setTimeout(()=>Y=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(_e).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(_e[M.status]),new Error("403")}};function G(M,N){return z(`/api/${M}`,{method:"Get",params:N||{}})}function Q(M,N){return z(`/${M}`,{method:"Get",params:N})}function H(M,N){return z(`/api/${M}`,{method:"Post",body:I({},N)})}function F(M,N){return z(`/api/${M}`,{method:"Put",body:I({},N)})}function q(M,N){return z(`/api/${M}`,{method:"delete",body:I({},N||{})})}},11851:function(i,d,e){"use strict";e.d(d,{Bn:function(){return n},hw:function(){return r},mi:function(){return t}});const t="WlRsa1pEVmlORE15TW1ZNVpqZGtPRE5rTURBNVpHVTVZbVpoTVRBd1l6TT0=",r="TW1VelpHRXdObUZsTWpaaVlUbG1OelpoTldRNFpETTFOVGMwTm1ZeVptVT0=",n="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},BR:function(){return aiReviewConfigformatChecks},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},Gn:function(){return storageHomeworkId},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Sv:function(){return downloadFile},TG:function(){return getStorageHomeworkId},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},ZR:function(){return GetElementHeight},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hE:function(){return isInsecureOrLocalhost},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jl:function(){return highlightLastNewline},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48790),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(6767),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(62957),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(77019),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(5269),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),crypto_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_9__),_key__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_10__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__),uuid__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(i,d,e)=>d in i?__defProp(i,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[d]=e,__spreadValues=(i,d)=>{for(var e in d||(d={}))__hasOwnProp.call(d,e)&&__defNormalProp(i,e,d[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(d))__propIsEnum.call(d,e)&&__defNormalProp(i,e,d[e]);return i},__spreadProps=(i,d)=>__defProps(i,__getOwnPropDescs(d)),__async=(i,d,e)=>new Promise((t,r)=>{var n=u=>{try{s(e.next(u))}catch(c){r(c)}},a=u=>{try{s(e.throw(u))}catch(c){r(c)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(n,a);s((e=e.apply(i,d)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_10___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default());const GetElementHeight=(i,d="px",e,t=!1)=>{if(!i)return 0;const r=t?i.scrollHeight:i.offsetHeight;if(d==="rem"){const n=e?`${e}`:getComputedStyle(document.documentElement).fontSize,a=parseFloat(n);return r/a}return r},HighLightedContent=(i,d=[],e="#2EC25B")=>(typeof d=="string"&&(d=[d]),i.replace(new RegExp(`(${d.join("|")})`,"gi"),`$1`)),parseParams=i=>{i=i||{};let d="";for(let e in i)typeof i[e]=="object"?Array.isArray(i[e])&&i[e].forEach((t,r)=>{d+="&"+e+"[]="+t}):i[e]!==void 0&&(d+="&"+e+"="+i[e]);return d.substr(1)},getKey=i=>window.atob(window.atob(i));function bytesToSize(i){var d=["Bytes","KB","MB","GB","TB"];if(i==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(i)/Math.log(1024)),10);return(i/Math.pow(1024,e)).toFixed(1)+" "+d[e]}const getTwoDecimalPlaces=i=>Math.round(Math.round(i*1e5)/1e3*100)/100,NewAntdDisabledDate=(i,d=null)=>{const e=imoment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.endTime).endOf("day"),r=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("mm")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),n=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm")),a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("ss"));function s(u,c){const o=[];for(let f=u;fs(0,r),disabledMinutes:()=>s(0,n)};if(d!=null&&d.compared){const u=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("HH")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("mm")),o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared),"day")?{disabledHours:()=>s(0,u),disabledMinutes:()=>e<=u?s(0,c):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>s(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=r?s(0,n):[]}},disabledDate=(i,d,e,t)=>{t=typeof t=="string"?moment__WEBPACK_IMPORTED_MODULE_10___default()(t):t;const r=t?i<(t==null?void 0:t.startOf("day")):imoment__WEBPACK_IMPORTED_MODULE_10___default()(d).endOf("day"),a=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm"));function n(a,s){const u=[];for(let c=a;cn(0,t),disabledMinutes:()=>n(0,r)};if(d){const a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("HH")),s=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d),"day")?{disabledHours:()=>n(0,a),disabledMinutes:()=>e<=a?n(0,s):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>n(0,t),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=t?n(0,r):[]}},preciseCalculation=(i,d,e)=>{typeof i=="string"&&(i=Number(i)),typeof d=="string"&&(d=Number(d));const t=(i.toString().split(".")[1]||"").length,r=(d.toString().split(".")[1]||"").length,n=Math.max(t,r),a=Math.pow(10,n);return(()=>{switch(e){case"+":return(Math.round(i*a)+Math.round(d*a))/a;case"-":return(Math.round(i*a)-Math.round(d*a))/a;case"*":return Math.round(i*a)*Math.round(d*a)/(a*a);case"/":return Math.round(i*a)/Math.round(d*a);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=i=>i/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(i/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):i,toChineseNumber=i=>{const d=i.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],t=["","\u5341","\u767E","\u5343"],r=["","\u4E07","\u4EBF"],n=s=>{let u="";for(let c=0;c{const t=i.splice(d,1)[0];return i.splice(e,0,t),i},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=i=>{if(!i)return"";const d=i.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r +`)}catch(N){return null}},D=(M,N)=>k(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const K=T[M.status]||M.statusText;let ne;var se=M.json();yield se.then((le,he)=>{setTimeout(()=>{let We=(0,o.getDvaApp)()},400),ne=le.message,window.showNetworkErrorTip(le.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),r.ZP.error({style:{wordBreak:"break-all"},message:le.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:le.message?"":K})});const _e=new Error(K);throw _e.name=M.status,_e.response=M,{data:M,code:M.status,message:ne||K}}),j=(M,N)=>{const K=M.headers.get("Content-Type");return K&&K.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function L(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(N){return!1}}const V=M=>{M=M||{};let N="";for(let K in M)typeof M[K]=="object"?Array.isArray(M[K])&&M[K].forEach((ne,se)=>{N+="&"+K+"[]="+ne}):M[K]!==void 0&&(N+="&"+K+"="+(L(M[K])?M[K]:encodeURIComponent(M[K])));return N.substr(1)};function z(M,N,K,ne){N.method||(N.method="get"),N.method=N.method.toUpperCase(),N.mode="cors";const se=I({},N),{user:_e}=(0,o.getDvaApp)()._store.getState(),{userInfo:le}=_e,he=M+(se.body?JSON.stringify(se.body):""),We=u().sha256().update(he).digest("hex"),Ke={credentials:"include",withCredentials:!0},ft={};le!=null&&le.login&&(ft.zzud=le==null?void 0:le.login,le!=null&&le.school_id&&(ft.zzsud=le==null?void 0:le.school_id),se.params=I(I({},se.params||{}),ft));let _t=I(I({},Ke),JSON.parse(JSON.stringify(se)));(_t.method==="POST"||_t.method==="PUT"||_t.method==="PATCH"||_t.method==="DELETE")&&(K?(_t.headers=P(I({},_t.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),_t.body=se.body):(_t.headers=I({Accept:"application/json","Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,f.ej)("_educoder_session"),Origin:location.origin},_t.headers),_t.body=JSON.stringify(se.body))),_t.method=="GET"?(_t.headers=P(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},_t.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),se.params&&V(se.params)&&(M+="?"+V(se.params))):ft.zzud&&(M+="?"+V(I({},ft)));const pt=se.expirys&&60;let et;(nt=>{nt.json="application/json;charset=UTF-8",nt.form="application/x-www-form-urlencoded; charset=UTF-8"})(et||(et={}));let me;(nt=>{nt.get="GET",nt.post="POST"})(me||(me={}));const Ie=nt=>k(this,null,function*(){const wt=yield nt.arrayBuffer();let Mt;const At=new Blob([wt]);try{Mt=nt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(Be){Mt="userfiles.zip"}const De=document.createElement("a"),Qe=window.URL.createObjectURL(At),mt=Mt;return De.href=Qe,De.download=mt,De.click(),window.URL.revokeObjectURL(Qe),wt});let $e=t.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&($e=""),_t.method=="GET"&&_t.params&&Object.keys(_t.params).map(nt=>{if(_t.params[nt]&&!Array.isArray(_t.params[nt]))try{_t.params[nt]=encodeURIComponent(decodeURIComponent(_t.params[nt]))}catch(wt){_t.params[nt]=encodeURIComponent(_t.params[nt])}}),(0,f.Ec)(_t,M),ne&&($e=""),fetch($e+M,_t).then(nt=>D(nt,I({url:t.Z.API_SERVER+M},_t))).then(nt=>j(nt,We)).then(nt=>k(this,null,function*(){var wt,Mt,At,De;try{const mt=nt.headers.get("cs");mt&&(0,f.d8)("_educoder_session",mt,1)}catch(mt){}if(nt.status===204)return nt.text();let Qe;if(nt.headers.get("content-type").indexOf("application/json")>-1){Qe=yield nt.json();try{Qe=JSON.parse(A(Qe))}catch(mt){}}else _t.headers["Content-Type"]==="application/xml"?Qe=yield nt.text():(wt=se.body)!=null&&wt.autoDownload||(Mt=se.params)!=null&&Mt.autoDownload?Qe=yield Ie(nt):Qe=yield nt.arrayBuffer();try{Qe.status===401&&(_t.method==="GET"&&((At=_t.params)==null?void 0:At.hidePopLogin)!=="true"?(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}):_t.method!=="GET"&&!((De=_t.params)!=null&&De.hidePopLogin)&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})),Qe.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(R=R||n.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),R.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(mt){console.log("fetcherr",mt)}return W(Qe,M),Qe})).catch(nt=>{try{const wt=nt.code;if(nt instanceof TypeError&&window.showNetworkErrorTip(`${M}${nt.message}`),wt){if(wt===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}W(nt,M)}else M.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:_t.body}}):nt.message!=="403"&&window.showNetworkErrorTip(`${M}${nt.message}`);return nt}catch(wt){}})}let Y=!1,B=!1;const W=(M,N)=>{var K,ne,se;if(M.status==-6&&!B){B=!0,(0,f.d8)("_educoder_session","logout",1),(0,f.m5)(),setTimeout(()=>B=!1,500),n.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){B=!0,setTimeout(()=>B=!1,500);let le="";(K=M==null?void 0:M.data)!=null&&K.exercise_list&&((se=(ne=M==null?void 0:M.data)==null?void 0:ne.exercise_list)==null||se.map(he=>{le+=`\u300A${he.exercise_name}\u300B`})),n.default.info({title:"\u63D0\u793A",content:c.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${le} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!B){B=!0,setTimeout(()=>B=!1,500),a.ZP.warning({content:M.message,key:"message-key"});return}const _e={403:"/403",404:"/404",500:"/500"};if(_e[M.status]&&!Y){const{user:le}=(0,o.getDvaApp)()._store.getState(),{userInfo:he}=le;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Y=!0),setTimeout(()=>Y=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(_e).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(_e[M.status]),new Error("403")}};function G(M,N){return z(`/api/${M}`,{method:"Get",params:N||{}})}function Q(M,N){return z(`/${M}`,{method:"Get",params:N})}function H(M,N){return z(`/api/${M}`,{method:"Post",body:I({},N)})}function F(M,N){return z(`/api/${M}`,{method:"Put",body:I({},N)})}function q(M,N){return z(`/api/${M}`,{method:"delete",body:I({},N||{})})}},11851:function(i,d,e){"use strict";e.d(d,{Bn:function(){return n},hw:function(){return r},mi:function(){return t}});const t="WlRsa1pEVmlORE15TW1ZNVpqZGtPRE5rTURBNVpHVTVZbVpoTVRBd1l6TT0=",r="TW1VelpHRXdObUZsTWpaaVlUbG1OelpoTldRNFpETTFOVGMwTm1ZeVptVT0=",n="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},BR:function(){return aiReviewConfigformatChecks},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},Gn:function(){return storageHomeworkId},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Sv:function(){return downloadFile},TG:function(){return getStorageHomeworkId},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},ZR:function(){return GetElementHeight},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hE:function(){return isInsecureOrLocalhost},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jl:function(){return highlightLastNewline},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48790),antd__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(6767),antd__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(62957),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(77019),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(5269),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),crypto_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_9__),_key__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_10__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__),uuid__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(i,d,e)=>d in i?__defProp(i,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[d]=e,__spreadValues=(i,d)=>{for(var e in d||(d={}))__hasOwnProp.call(d,e)&&__defNormalProp(i,e,d[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(d))__propIsEnum.call(d,e)&&__defNormalProp(i,e,d[e]);return i},__spreadProps=(i,d)=>__defProps(i,__getOwnPropDescs(d)),__async=(i,d,e)=>new Promise((t,r)=>{var n=u=>{try{s(e.next(u))}catch(c){r(c)}},a=u=>{try{s(e.throw(u))}catch(c){r(c)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(n,a);s((e=e.apply(i,d)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_10___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default());const GetElementHeight=(i,d="px",e,t=!1)=>{if(!i)return 0;const r=t?i.scrollHeight:i.offsetHeight;if(d==="rem"){const n=e?`${e}`:getComputedStyle(document.documentElement).fontSize,a=parseFloat(n);return r/a}return r},HighLightedContent=(i,d=[],e="#2EC25B")=>(typeof d=="string"&&(d=[d]),i.replace(new RegExp(`(${d.join("|")})`,"gi"),`$1`)),parseParams=i=>{i=i||{};let d="";for(let e in i)typeof i[e]=="object"?Array.isArray(i[e])&&i[e].forEach((t,r)=>{d+="&"+e+"[]="+t}):i[e]!==void 0&&(d+="&"+e+"="+i[e]);return d.substr(1)},getKey=i=>window.atob(window.atob(i));function bytesToSize(i){var d=["Bytes","KB","MB","GB","TB"];if(i==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(i)/Math.log(1024)),10);return(i/Math.pow(1024,e)).toFixed(1)+" "+d[e]}const getTwoDecimalPlaces=i=>Math.round(Math.round(i*1e5)/1e3*100)/100,NewAntdDisabledDate=(i,d=null)=>{const e=imoment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.endTime).endOf("day"),r=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("mm")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),n=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm")),a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("ss"));function s(u,c){const o=[];for(let f=u;fs(0,r),disabledMinutes:()=>s(0,n)};if(d!=null&&d.compared){const u=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("HH")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("mm")),o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared),"day")?{disabledHours:()=>s(0,u),disabledMinutes:()=>e<=u?s(0,c):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>s(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=r?s(0,n):[]}},disabledDate=(i,d,e,t)=>{t=typeof t=="string"?moment__WEBPACK_IMPORTED_MODULE_10___default()(t):t;const r=t?i<(t==null?void 0:t.startOf("day")):imoment__WEBPACK_IMPORTED_MODULE_10___default()(d).endOf("day"),a=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm"));function n(a,s){const u=[];for(let c=a;cn(0,t),disabledMinutes:()=>n(0,r)};if(d){const a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("HH")),s=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d),"day")?{disabledHours:()=>n(0,a),disabledMinutes:()=>e<=a?n(0,s):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>n(0,t),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=t?n(0,r):[]}},preciseCalculation=(i,d,e)=>{typeof i=="string"&&(i=Number(i)),typeof d=="string"&&(d=Number(d));const t=(i.toString().split(".")[1]||"").length,r=(d.toString().split(".")[1]||"").length,n=Math.max(t,r),a=Math.pow(10,n);return(()=>{switch(e){case"+":return(Math.round(i*a)+Math.round(d*a))/a;case"-":return(Math.round(i*a)-Math.round(d*a))/a;case"*":return Math.round(i*a)*Math.round(d*a)/(a*a);case"/":return Math.round(i*a)/Math.round(d*a);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=i=>i/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(i/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):i,toChineseNumber=i=>{const d=i.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],t=["","\u5341","\u767E","\u5343"],r=["","\u4E07","\u4EBF"],n=s=>{let u="";for(let c=0;c{const t=i.splice(d,1)[0];return i.splice(e,0,t),i},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=i=>{if(!i)return"";const d=i.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r `).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",d,JSON.stringify(i)),d},highlightLastNewline=i=>i?(i=i.replace(/(^|[^\r])\r(?!\n)/g,`$1\r `),i=i.replace(new RegExp("(?