From 161f1ebf41df9bfe28f9a25a054b7571abb09e2b Mon Sep 17 00:00:00 2001 From: autosubmit Date: Fri, 1 Aug 2025 16:49:28 +0800 Subject: [PATCH] Auto Submit --- index.html | 2 +- umi.98c4959d.js => umi.a51c3c68.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename umi.98c4959d.js => umi.a51c3c68.js (99%) diff --git a/index.html b/index.html index 944faee0c6..ab98c59874 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/umi.98c4959d.js b/umi.a51c3c68.js similarity index 99% rename from umi.98c4959d.js rename to umi.a51c3c68.js index feec57ab32..664224a74e 100644 --- a/umi.98c4959d.js +++ b/umi.a51c3c68.js @@ -964,7 +964,7 @@ http://j.mp/37Fkd5Q `)},{label:"include ",content:["#include "].join(` `)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var u=e(53184),a=e.n(u),x=(Zt,Ft,tr)=>new Promise((Ue,wt)=>{var Bt=ct=>{try{_t(tr.next(ct))}catch(qe){wt(qe)}},rt=ct=>{try{_t(tr.throw(ct))}catch(qe){wt(qe)}},_t=ct=>ct.done?Ue(ct.value):Promise.resolve(ct.value).then(Bt,rt);_t((tr=tr.apply(Zt,Ft)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=(Zt,Ft,tr,Ue)=>{const wt=Ft.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:tr.lineNumber,endColumn:tr.column});return Array.from(new Set(wt.match(/\b\w{2,}\b/g)||[])).map(rt=>({label:rt,kind:Zt.languages.CompletionItemKind.Text,insertText:rt,range:Ue}))},m=(Zt,Ft,tr,Ue)=>{Zt.languages.registerCompletionItemProvider(Ft,{provideCompletionItems(wt,Bt){const rt=wt.getWordUntilPosition(Bt),_t={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:rt.startColumn,endColumn:rt.endColumn},ct=wt.getLineContent(Bt.lineNumber).substring(rt.startColumn-2,rt.endColumn);return{suggestions:[...y(Zt,wt,Bt,_t),...tr.map(Ne=>({label:Ne,kind:Zt.languages.CompletionItemKind.Keyword,documentation:Ne,insertText:Ne,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_t})),...Ue.map(Ne=>({label:Ne.label,kind:Zt.languages.CompletionItemKind.Snippet,documentation:Ne.content,insertText:ct.startsWith("#")?Ne.content.replace(/#/,""):Ne.content,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_t}))]}}})};var b=Zt=>{p.languages.forEach(Ft=>{Zt.languages.registerDocumentFormattingEditProvider(Ft,{provideDocumentFormattingEdits(tr){return x(this,null,function*(){const Ue=a()(tr.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:tr.getFullModelRange(),text:Ue}]})}})}),m(Zt,"java",c.keywords,c.quickKey),m(Zt,"cpp",f.keywords,f.quickKey),m(Zt,"c",l.keywords,[]),m(Zt,"python",o.keywords,o.quickKey),m(Zt,"scala",h.keywords,h.quickKey)};const A="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Zt,Ft,tr)=>Ft in Zt?k(Zt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Zt[Ft]=tr,C=(Zt,Ft,tr)=>R(Zt,typeof Ft!="symbol"?Ft+"":Ft,tr);const O=class kd{constructor(Ft,tr,Ue){this.placeholder=Ft,this.editor=tr,this.monaco=Ue,tr.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};C(O,"ID","editor.widget.placeholderHint");var B=O,N=e(96236),V=e(8591),G=e(6848),H=e(89392),se=e(33796),ie=e(56102),le=Object.defineProperty,q=Object.defineProperties,J=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,Q=(Zt,Ft,tr)=>Ft in Zt?le(Zt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Zt[Ft]=tr,ce=(Zt,Ft)=>{for(var tr in Ft||(Ft={}))ue.call(Ft,tr)&&Q(Zt,tr,Ft[tr]);if(K)for(var tr of K(Ft))ee.call(Ft,tr)&&Q(Zt,tr,Ft[tr]);return Zt},Z=(Zt,Ft)=>q(Zt,J(Ft)),j=(Zt,Ft)=>{var tr={};for(var Ue in Zt)ue.call(Zt,Ue)&&Ft.indexOf(Ue)<0&&(tr[Ue]=Zt[Ue]);if(Zt!=null&&K)for(var Ue of K(Zt))Ft.indexOf(Ue)<0&&ee.call(Zt,Ue)&&(tr[Ue]=Zt[Ue]);return tr},ae=(Zt,Ft,tr)=>new Promise((Ue,wt)=>{var Bt=ct=>{try{_t(tr.next(ct))}catch(qe){wt(qe)}},rt=ct=>{try{_t(tr.throw(ct))}catch(qe){wt(qe)}},_t=ct=>ct.done?Ue(ct.value):Promise.resolve(ct.value).then(Bt,rt);_t((tr=tr.apply(Zt,Ft)).next())});function me(Zt){return/^\d+$/.test(Zt)?`${Zt}px`:Zt}function Pe(){}let De=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(Zt=[]){let Ft=Zt;if(Array.isArray(Zt)){for(let tr=0;tr{var Ft=Zt,{width:tr="100%",height:Ue="100%",value:wt,language:Bt="javascript",style:rt={},options:_t={},overrideServices:ct={},theme:qe="vs-dark",onEditBlur:Ne,isCopy:xe=!1,onSave:Le,autoHeight:Ge=!1,forbidCopy:We=!1,onChange:Ye=Pe,editorDidMount:ft=Pe,onFocus:bt=Pe,onBreakPoint:nr=Pe,breakPointValue:Jt=[],filename:Me="educoder.txt",errorLine:tt,errorContent:Kt="",highlightLine:Lt,openBreakPoint:$t=!1,placeholder:Wt=""}=Ft,sr=j(Ft,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ht=(0,r.useRef)(),Oe=(0,r.useRef)({}),fe=(0,r.useRef)(),pe=(0,r.useRef)(),Pt=(0,r.useRef)([]),Te=(0,r.useRef)(!1),lt=(0,r.useRef)(),Gt=(0,r.useRef)(),Ct=(0,r.useRef)(!1),[Ie,St]=(0,r.useState)(!1);function Ze(){let Xt;return Ht.current&&(Xt=new i.Z(vt=>{for(let ot of vt)(ot.target.offsetHeight>0||ot.target.offsetWidth>0)&&Oe.current.instance.layout()}),Xt.observe(Ht.current)),Xt}function Se(){V.ZP.warning({content:decodeURIComponent(A),key:"monaco-editor-tip"})}const gt=()=>{let Xt=Oe.current.instance;if(wt!=null&&Xt&&Ie){const vt=Xt.getModel();vt&&wt!==vt.getValue()&&(De=!0,vt.setValue(wt),Xt.layout(),De=!1)}};(0,r.useEffect)(()=>{const Xt=se.Z.subscribe("formatDocument",vt=>{var ot;let ut=Oe.current.instance;(ot=ut==null?void 0:ut.getAction)==null||ot.call(ut,"editor.action.formatDocument").run()});return window.updateMonacoValue=vt=>{Ye(vt)},Xt},[]),(0,r.useEffect)(()=>{var Xt;let vt=Oe.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{gt()},500),wt&&(wt!=null&&wt.length)&&((Xt=vt==null?void 0:vt.updateOptions)==null||Xt.call(vt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(wt.split(/\r\n|\r|\n/g).length))+3,5)}))},[wt,Ie,Oe.current]),(0,r.useEffect)(()=>{if(tt&&Oe.current&&Oe.current.instance){let vt=Oe.current.instance;vt.changeViewZones(function(ot){var ut=document.createElement("div");ut.style.padding="10px 20px",ut.style.width="calc(100% - 20px)",ut.className="my-error-line-wrp",ut.innerHTML=Kt,ot.addZone({afterLineNumber:tt||11,heightInLines:3,domNode:ut})});var Xt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};vt.addOverlayWidget(Xt),vt.revealPositionInCenter({lineNumber:20,column:1})}},[tt,Oe.current,Ie]);const Rt=(Xt="",vt)=>{if(!Xt||Xt.trim()==="")return!0;const ut=Oe.current.instance.getModel().getLineTokens(vt);let Nt=!1;for(let yr=0;yr<2;yr++)ut.getStandardTokenType(yr)===1&&(Nt=!0);return Nt};(0,r.useEffect)(()=>{var Xt;const vt=(Xt=Oe.current)==null?void 0:Xt.instance;if(vt&&Ie&&We){const ot=vt.onDidBlurEditorWidget(()=>{Ct.current=!1}),ut=vt.onDidFocusEditorText(()=>{Ct.current=!0});return()=>{ot.dispose(),ut.dispose()}}},[Oe.current,Ie,We]),(0,r.useEffect)(()=>{var Xt;if((Xt=Oe.current)!=null&&Xt.instance&&Ie&&$t){let vt=Oe.current.instance,ot=vt.getModel();if(!ot)return;(()=>{var On;let Gn=[],xn=[];const mi=ot.getAllDecorations();for(let vi of mi)vi.options.className==="highlighted-line"&&(Gn.push((On=vi==null?void 0:vi.range)==null?void 0:On.startLineNumber),xn.push(vi==null?void 0:vi.id));if(Lt===Gn[0])return;ot.deltaDecorations(xn,[]);const Vn=ot.getLineCount();Lt&&Lt<=Vn&&(vt.deltaDecorations([],[{range:new Mt.Range(Lt,1,Lt,ot.getLineMaxColumn(Lt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),vt.revealLineInCenter(Lt))})();const Nt=(On=!1)=>{var Gn;let xn=[],mi=[];const Vn=ot.getAllDecorations();for(let vi of Vn)vi.options.linesDecorationsClassName==="breakpoints-select"&&(xn.push((Gn=vi==null?void 0:vi.range)==null?void 0:Gn.startLineNumber),mi.push(vi==null?void 0:vi.id));if(On)return{lines:xn,ids:mi};nr(xn)},yr=On=>ae(void 0,null,function*(){let Gn={range:new Mt.Range(On,1,On,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ot.deltaDecorations([],[Gn]),Nt()}),vr=On=>ae(void 0,null,function*(){let Gn=[];const xn=vt.getLineDecorations(On);for(let mi of xn)mi.options.linesDecorationsClassName==="breakpoints-select"&&Gn.push(mi.id);yield ot.deltaDecorations(Gn,[]),Nt()}),Kr=On=>{let Gn=vt.getLineDecorations(On);for(let xn of Gn)if(xn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(Jt,Nt(!0).lines)){ot.deltaDecorations(Nt(!0).ids,[]);const On=Jt.map(Gn=>({range:new Mt.Range(Gn,1,Gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ot.deltaDecorations([],On)}const Nr=vt.onDidChangeModelContent(On=>{let Gn=vt.getPosition();if(Gn){let xn=Gn.lineNumber;clearTimeout(Gt.current),Gt.current=setTimeout(()=>{Rt(ot.getLineContent(xn),xn)?vr(xn):Kr(xn)?(vr(xn),yr(xn)):Nt()},100)}}),mn=vt.onMouseDown(On=>{var Gn,xn,mi;if(On.target.detail&&((mi=(xn=(Gn=On.target)==null?void 0:Gn.element)==null?void 0:xn.className)!=null&&mi.includes("line-numbers"))){let Vn=On.target.position.lineNumber;if(Rt(ot.getLineContent(Vn),Vn))return;Kr(Vn)?vr(Vn):yr(Vn)}}),Et=On=>{let Gn={range:new Mt.Range(On,1,On,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Pt.current=vt.deltaDecorations(Pt.current,[Gn])},Or=()=>{Pt.current=vt.deltaDecorations(Pt.current,[])},Sn=vt.onMouseMove(On=>{var Gn,xn,mi;if(Or(),On.target.detail&&((mi=(xn=(Gn=On.target)==null?void 0:Gn.element)==null?void 0:xn.className)!=null&&mi.includes("line-numbers"))){let Vn=On.target.position.lineNumber;if(Rt(ot.getLineContent(Vn),Vn))return;Et(Vn)}}),Zn=vt.onMouseLeave(()=>{Or()});return()=>{Nr.dispose(),mn.dispose(),Sn.dispose(),Zn.dispose()}}},[Oe.current,Ie,Jt,Lt,$t,Bt]),(0,r.useEffect)(()=>{var Xt;(Xt=Oe.current)!=null&&Xt.instance&&$t&&Oe.current.instance.setPosition({lineNumber:0,column:0})},[Lt]);function Fe(){let Xt=Oe.current.instance;if(Xt){const vt=Xt.getSelection(),ot=Oe.current.pastePos||{},ut=new Mt.Range(ot.startLineNumber||vt.endLineNumber,ot.startColumn||vt.endColumn,ot.endLineNumber||vt.endLineNumber,ot.endColumn||vt.endColumn);setTimeout(()=>{Xt.executeEdits("",[{range:ut,text:""}])},300)}}function Tr(Xt){(window.navigator.platform.match("Mac")?Xt.metaKey:Xt.ctrlKey)&&Xt.keyCode==83&&(Xt.preventDefault(),Le())}const At=()=>{if(Ge&&Oe.current.instance){const Xt=Oe.current.instance.getContentHeight();en(Xt{if(!Ct.current)return;const{keyCode:vt,ctrlKey:ot,metaKey:ut,target:Nt,type:yr}=Xt;return(yr==="paste"||(vt===67||vt===86)&&(ut||ot))&&Nt.nodeName==="TEXTAREA"&&(Se(),Xt.preventDefault()),!1};function Pr(Xt,vt){var ot=window.URL||window.webkitURL||window,ut=new Blob([vt]),Nt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Nt.href=ot.createObjectURL(ut),Nt.download=Xt,Hr(Nt)}(0,r.useEffect)(()=>{At()},[At]),(0,r.useEffect)(()=>{Ht.current&&!Ie&&Promise.all([e.e(8909),e.e(5028)]).then(e.bind(e,71448)).then(Xt=>{try{Mt=Xt,Oe.current.instance=Mt.editor.create(Ht.current,{value:wt,language:je(Bt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ct);const vt=Oe.current.instance;let Nt=[...N.BH._menuItems].find(Nr=>Nr[0]._debugName=="EditorContext")[1],yr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vr=(Nr,mn)=>{var Et,Or;let Sn=Nr._first;do mn.includes((Or=(Et=Sn.element)==null?void 0:Et.command)==null?void 0:Or.id)&&Nr._remove(Sn);while(Sn=Sn.next)};if(ft(vt,Mt),setTimeout(()=>{At(),Oe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Pr(Me||"educoder.txt",vt.getValue())}})},500),Oe.current.subscription=vt.onDidChangeModelContent(Nr=>{Te.current?clearTimeout(lt.current):(At(),Ye(vt.getValue(),Nr)),lt.current=setTimeout(()=>{Te.current=!1},500)}),window.Monaco||b(Mt,je(Bt)),We&&(vr(Nt,yr),Ht.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Xr),window.removeEventListener("paste",Xr),window.addEventListener("keydown",Xr),window.addEventListener("paste",Xr)),window.Monaco=Mt,Ne&&vt.onDidBlurEditorWidget(()=>{Ne(vt.getValue())}),bt&&vt.onDidFocusEditorText(()=>{bt(vt.getValue())}),We)try{vt.onDidPaste(Nr=>{const mn=vt.getSelection(),Et=Oe.current.pastePos||{},Or=new Mt.Range(Et.startLineNumber||mn.endLineNumber,Et.startColumn||mn.endColumn,Et.endLineNumber||mn.endLineNumber,Et.endColumn||mn.endColumn);vt.executeEdits("",[{range:Nr.range,text:""}])})}catch(Nr){}let Kr=Ze();return Wt&&typeof Wt=="string"&&new B(Wt,vt,Mt),St(!0),()=>{const Nr=Oe.current.instance;Nr.dispose();const mn=Nr.getModel();mn&&mn.dispose(),Oe.current.subscription&&Oe.current.subscription.dispose(),Kr.unobserve(Ht.current)}}catch(vt){}})},[]),(0,r.useEffect)(()=>{if(Oe.current.instance&&Ie)return document.addEventListener("keydown",Tr,!1),()=>{document.removeEventListener("keydown",Tr)}},[Le,Ie]),(0,r.useEffect)(()=>{let Xt=Oe.current.instance;if(Xt&&Ie){let vt=je(Bt);Mt.editor.setModelLanguage(Xt.getModel(),vt)}},[Bt,Ie]),(0,r.useEffect)(()=>{Oe.current.instance&&Ie&&Mt.editor.setTheme(qe)},[qe,Ie]),(0,r.useEffect)(()=>{let Xt=Oe.current.instance;fe.current=_t,Xt&&Ie&&(Xt.updateOptions(ce({},_t)),setTimeout(()=>{Xt.getModel().updateOptions(ce({},_t))},200))},[JSON.stringify(_t),Ie]),(0,r.useEffect)(()=>{let Xt=Oe.current.instance;Xt&&Ie&&Xt.layout()},[tr,Ue,Ie]);const[Rr,mr]=(0,r.useState)(me(tr)),[jr,en]=(0,r.useState)(me(Ue)),on=Z(ce({},rt),{width:Rr,height:jr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Ht,style:on},xe&&r.createElement(ie.CopyToClipboard,{text:wt,onCopy:()=>V.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function kt({width:Zt="100%",height:Ft="100%",original:tr,modified:Ue,language:wt,options:Bt={}}){const rt=(0,r.useRef)(),[_t,ct]=(0,r.useState)(null);function qe(Ge){let We;return rt.current&&(We=new i.Z(Ye=>{for(let ft of Ye)(ft.target.offsetHeight>0||ft.target.offsetWidth>0)&&Ge.layout()}),We.observe(rt.current)),We}(0,r.useEffect)(()=>(rt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Mt=Ge;const We=Mt.editor.createDiffEditor(rt.current,Z(ce({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Bt),{wordWrap:!0}));ct(We);let Ye=qe(We);return()=>{We.dispose();const ft=We.getModel();ft&&ft.dispose(),Ye.unobserve(rt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{_t&&_t.setModel({original:Mt.editor.createModel(tr,wt),modified:Mt.editor.createModel(Ue,wt)})},[tr,Ue,wt,_t]);const Ne=me(Zt),xe=me(Ft),Le={width:Ne,height:xe};return r.createElement("div",{className:"my-diff-editor",ref:rt,style:Le})}},97760:function(d,_,e){"use strict";e.d(_,{k:function(){return b}});var r=e(83325),i=e(8591),l=e(56854),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,C)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:C}):k[R]=C,p=(k,R)=>{for(var C in R||(R={}))u.call(R,C)&&x(k,C,R[C]);if(h)for(var C of h(R))a.call(R,C)&&x(k,C,R[C]);return k},y=(k,R)=>f(k,o(R)),m=(k,R)=>{var C={};for(var O in k)u.call(k,O)&&R.indexOf(O)<0&&(C[O]=k[O]);if(k!=null&&h)for(var O of h(k))R.indexOf(O)<0&&a.call(k,O)&&(C[O]=k[O]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:C}){yield C({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:C,select:O}){const{userInfo:M}=yield O(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(V=>({label:V.name,value:V.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:C,select:O}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield O(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(V=>({label:V.year,value:V.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:C,select:O}){const{calc:M,page:B,per_page:N}=k,{headerData:V,tabListData:G}=yield O(ie=>ie.engineeringEvaluteList),{userInfo:H}=yield O(ie=>ie.user);let se=V.active[b[1]];if(se){let ie={id:se,page:B||1,per_page:N||G.pageSize};M&&(ie=y(p({},ie),{page:G.pageNo}));const le=yield R(r._y,ie),q=[V.active[b[0]],V.active[b[1]]];l.U.setItem(H==null?void 0:H.login,q),le&&le.ec_courses&&(yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:ie.page,total:le.count,pageSize:ie.per_page||G.pageSize,dataSource:le.ec_courses.map((J,K)=>y(p({},J),{key:ie.page>1?(ie.page-1)*ie.per_page+K+1:K+1}))})}))}else yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:C}){const{headerData:O}=yield C(M=>M.engineeringEvaluteList);O.active[b[1]]&&(yield R(r.F,O.active[b[1]]))},*compute({payload:k},{call:R,put:C}){const O=k,{all:M}=O,B=m(O,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let C=k.headerData.active;return R.active&&(C=y(p({},C),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:C})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:C})=>{C==="/"&&k({type:"query"})})}}};_.Z=A},37798:function(d,_,e){"use strict";e.d(_,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:A,program_questions:k,completion_questions:R,subjective_questions:C,practical_questions:O,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(V=>V.questions_count>0).map((V,G)=>o(o({},V),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},56854:function(d,_,e){"use strict";e.d(_,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(34055);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},96047:function(d,_,e){"use strict";e.d(_,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return O},Zm:function(){return u},bz:function(){return f},eF:function(){return A},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return C}});var r=e(82093),i=(N,V,G)=>new Promise((H,se)=>{var ie=J=>{try{q(G.next(J))}catch(K){se(K)}},le=J=>{try{q(G.throw(J))}catch(K){se(K)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ie,le);q((G=G.apply(N,V)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function C(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function O(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,V){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:V})})}},1754:function(d,_,e){"use strict";e.d(_,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,A)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):m[b]=A,h=(m,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(m,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(m,A,b[A]);return m},u=(m,b,A)=>new Promise((k,R)=>{var C=B=>{try{M(A.next(B))}catch(N){R(N)}},O=B=>{try{M(A.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(C,O);M((A=A.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},14794:function(d,_,e){"use strict";e.d(_,{$n:function(){return A},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var V=se=>{try{H(M.next(se))}catch(ie){N(ie)}},G=se=>{try{H(M.throw(se))}catch(ie){N(ie)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(V,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function m(C){return u(this,null,function*(){const{id:O}=C;return delete C.id,(0,r.ZP)(`/api/files/${O}.json`,{method:"put",body:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function A(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},74891:function(d,_,e){"use strict";e.d(_,{CJ:function(){return y},Mf:function(){return R},NA:function(){return A},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var V=se=>{try{H(M.next(se))}catch(ie){N(ie)}},G=se=>{try{H(M.throw(se))}catch(ie){N(ie)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(V,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function m(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function A(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},64948:function(d,_,e){"use strict";e.d(_,{$T:function(){return vr},A:function(){return Wt},Ab:function(){return Vn},Al:function(){return Q},BQ:function(){return ct},BR:function(){return ee},Bn:function(){return Ge},Cq:function(){return Nt},DJ:function(){return je},Dd:function(){return m},Ds:function(){return Ne},EO:function(){return sr},Ed:function(){return Mt},F9:function(){return ft},FU:function(){return nr},Fg:function(){return b},GV:function(){return tr},Gk:function(){return q},Gm:function(){return Bt},Gz:function(){return A},Hl:function(){return k},Hn:function(){return G},ID:function(){return en},IU:function(){return Te},J2:function(){return Zt},K$:function(){return xe},KP:function(){return yt},KT:function(){return De},L$:function(){return Kt},LH:function(){return O},Lk:function(){return Xi},Ls:function(){return ae},MA:function(){return Et},Mc:function(){return Jn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Pt},Ns:function(){return on},O3:function(){return He},Pj:function(){return wt},QX:function(){return pe},QZ:function(){return Pe},R2:function(){return K},Rk:function(){return yr},S9:function(){return Lt},U8:function(){return vt},UD:function(){return Pr},U_:function(){return se},Uy:function(){return mr},V8:function(){return V},Vw:function(){return j},W0:function(){return Gt},W7:function(){return qe},WK:function(){return Or},Wr:function(){return mi},YR:function(){return Oe},Z0:function(){return gt},ZL:function(){return St},ZT:function(){return vi},ZX:function(){return Zn},Z_:function(){return M},_0:function(){return B},_9:function(){return rt},_B:function(){return Di},aP:function(){return Ct},aQ:function(){return _t},aZ:function(){return Me},al:function(){return $t},bm:function(){return Xr},bz:function(){return We},c_:function(){return ut},ds:function(){return Hr},fN:function(){return Sn},fr:function(){return Ht},g4:function(){return Ft},gq:function(){return R},hf:function(){return Z},i:function(){return Rt},i6:function(){return Nr},i7:function(){return jr},iE:function(){return a},ih:function(){return On},kW:function(){return kt},km:function(){return Xt},nP:function(){return p},nQ:function(){return Ye},nX:function(){return Tr},oM:function(){return Le},oR:function(){return fa},o_:function(){return Ie},pf:function(){return At},pr:function(){return zi},pv:function(){return Kr},qB:function(){return ce},r2:function(){return N},rS:function(){return C},s:function(){return Gn},sb:function(){return tt},sm:function(){return y},t1:function(){return Ue},tB:function(){return xn},tR:function(){return bt},td:function(){return lt},uh:function(){return Jt},up:function(){return ot},v2:function(){return x},vV:function(){return Ze},w9:function(){return ie},wR:function(){return mn},yS:function(){return fe},yV:function(){return J},yd:function(){return Fe},zg:function(){return me}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Dt,ht,Pi)=>ht in Dt?i(Dt,ht,{enumerable:!0,configurable:!0,writable:!0,value:Pi}):Dt[ht]=Pi,h=(Dt,ht)=>{for(var Pi in ht||(ht={}))c.call(ht,Pi)&&o(Dt,Pi,ht[Pi]);if(l)for(var Pi of l(ht))f.call(ht,Pi)&&o(Dt,Pi,ht[Pi]);return Dt},u=(Dt,ht,Pi)=>new Promise((Ki,oi)=>{var xa=vn=>{try{ei(Pi.next(vn))}catch(rr){oi(rr)}},di=vn=>{try{ei(Pi.throw(vn))}catch(rr){oi(rr)}},ei=vn=>vn.done?Ki(vn.value):Promise.resolve(vn.value).then(xa,di);ei((Pi=Pi.apply(Dt,ht)).next())});const a=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/course_videos/configs.json`,{method:"put",body:Dt})}),x=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Dt})}),p=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Dt})}),y=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Dt})}),m=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Dt})}),b=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Dt})}),A=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Dt})}),k=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Dt})});function R(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Dt.permissions)})})}function C(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Dt)})})}function O(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/ai_status_query.json`,{method:"Get",params:Dt})})}function M(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Dt)})})}function B(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/get_user_portrait_config.json`,{method:"Get",params:Dt})})}function N(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_user_portrait_config.json?id=${Dt.coursesId}`,{method:"put",body:h({},Dt)})})}function V(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Dt)})})}function G(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Dt)})})}function H(Dt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Dt)})})}function se(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/top_banner.json`,{method:"get",params:h({},Dt)})})}function ie(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id||Dt.coursesId}/left_banner.json`,{method:"get",params:h({},Dt)})})}function le(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons.json`,{method:"get",params:h({},Dt)})})}function q(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons/list.json`,{method:"get",params:h({},Dt)})})}function J(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/graduation_topics.json`,{method:"get",params:h({},Dt)})})}function K(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/graduation_tasks.json`,{method:"get",params:h({},Dt)})})}function ue(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Dt.id}/exercises.json`,{method:"get",params:h({},Dt)})})}function ee(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/polls.json`,{method:"get",params:h({},Dt)})})}function Q(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons.json`,{method:"get",params:h({},Dt)})})}function ce(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_groups.json`,{method:"get",params:h({},Dt)})})}function Z(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/all_course_groups.json`,{method:"get",params:h({},Dt)})})}function j(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/attendances.json`,{method:"get",params:h({},Dt)})})}function ae(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Dt.coursesId}/attendances.json`,{method:"get",params:h({},Dt)})})}function me(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Dt.id}/edit.json`,{method:"get",params:h({},Dt)})})}function Pe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/informs.json`,{method:"get",params:h({},Dt)})})}function De(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Dt)})})}function He(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_videos.json`,{method:"get",params:h({},Dt)})})}function je(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/live_links.json`,{method:"get",params:h({},Dt)})})}function Mt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Dt)})})}function yt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Dt.categoryId}/messages.json`,{method:"get",params:h({},Dt)})})}function kt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_groups.json`,{method:"get",params:h({},Dt)})})}function Zt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/students.json`,{method:"get",params:h({},Dt)})})}function Ft(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/statistics.json`,{method:"get",params:h({},Dt)})})}function tr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/work_score.json`,{method:"get",params:h({},Dt)})})}function Ue(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/act_score.json`,{method:"get",params:h({},Dt)})})}function wt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Dt)})})}function Bt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Dt)})})}function rt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Dt)})})}function _t(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Dt)})})}function ct(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Dt)})})}function qe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Dt)})})}function Ne(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Dt)})})}function xe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Dt})})}function Le(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Dt})})}function Ge(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Dt})})}function We(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Dt})})}function Ye(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Dt})})}function ft(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Dt)})})}function bt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.identifier}/add_student_groups.json`,{method:"post",body:Dt})})}function nr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Dt})})}function Jt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/add_teacher.json`,{method:"post",body:Dt})})}function Me(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/add_students_by_search.json`,{method:"post",body:Dt})})}function tt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/set_public_or_private.json`,{method:"post",body:Dt})})}function Kt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/set_invite_code_halt.json`,{method:"post",body:Dt})})}function Lt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/duplicate_course.json`,{method:"post",body:Dt})})}function $t(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_end_date.json`,{method:"put",body:Dt})})}function Wt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}.json`,{method:"delete",body:Dt})})}function sr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/settings.json`,{method:"get",params:h({},Dt)})})}function Ht(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}.json`,{method:"put",body:Dt})})}function Oe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Dt)})})}function pe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Pt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Te(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Dt)})})}function lt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Dt)})})}function Gt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Ct(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Dt)})})}function Ie(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Dt)})})}function St(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Dt)})})}function Ze(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Dt)})})}function Se(Dt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Dt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Dt)})})}function gt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Dt.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Dt.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Dt.id}/sticky_module.json`,{method:"get"})})}function Tr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Dt.id}/hidden_module.json`,{method:"get"})})}function At(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Dt})})}function Hr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Dt.id}.json`,{method:"get",params:Dt})})}function Xr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Dt})})}function Pr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Dt})})}function Rr(Dt){return u(this,null,function*(){return Fetch(`/api/polls/${Dt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Dt)})})}function mr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Dt)})})}function jr(Dt){return(0,r.ZP)(`/api/polls/${Dt.categoryId}/start_answer.json`,{method:"get",params:h({},Dt)})}function en(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Dt.questionId}/poll_votes.json`,{method:"post",body:Dt})})}function on(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Dt.categoryId}/commit_poll.json`,{method:"post",body:Dt})})}function Xt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.courseId}/tasks_list.json`,{method:"get",params:Dt})})}function vt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.courseId}/update_task_position.json`,{method:"post",body:Dt})})}function ot(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Dt})})}function ut(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/all_course_groups.json`,{method:"get",params:Dt})})}function Nt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/polls/all_course_groups.json`,{method:"get",params:Dt})})}function yr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/students.json`,{method:"get",params:Dt})})}function vr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Dt.categoryId}/rename_group.json`,{method:"POST",body:Dt})})}function Kr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Dt.categoryId}.json`,{method:"delete",body:Dt})})}function Nr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/join_course_group.json`,{method:"POST",body:Dt})})}function mn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/transfer_to_course_group.json`,{method:"post",body:Dt})})}function Et(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/delete_from_course.json`,{method:"post",body:Dt})})}function Or(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/join_course_group.json`,{method:"post",body:Dt})})}function Sn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/exit_course.json`,{method:"post"})})}function Zn(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Dt)})})}function On(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users/${Dt.user_id}/edit.json`,{method:"get",params:Dt})})}function Gn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users.json`,{method:"post",body:Dt})})}function xn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users/${Dt.user_id}.json`,{method:"put",body:Dt})})}function mi(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Dt.id}/move_category.json`,{method:"post",body:Dt})})}function Vn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Dt.id}/move_category.json`,{method:"post",body:Dt})})}function vi(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/courseware.json`,{method:"get",params:Dt})})}function zi(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt}/mark_wrong_topic.json`,{method:"get",params:ht})})}function Di(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt}/cancel_wrong_topic.json`,{method:"get",params:ht})})}function fa(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt}/allow_end_group.json`,{method:"get",params:ht})})}function Jn(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ht})})}function Xi(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Dt}/get_content_for_commit_id.json`,{method:"get",params:ht})})}},65906:function(d,_,e){"use strict";e.d(_,{$M:function(){return Ft},$P:function(){return nr},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ne},JM:function(){return We},Ju:function(){return Zt},Mn:function(){return qe},Ni:function(){return ae},Pg:function(){return R},Pt:function(){return A},Qp:function(){return K},R9:function(){return se},Ux:function(){return ue},Vy:function(){return He},XJ:function(){return j},XR:function(){return yt},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return xe},ml:function(){return ce},o3:function(){return Ue},pA:function(){return Bt},pS:function(){return Ge},pU:function(){return Z},ps:function(){return G},q0:function(){return _t},qN:function(){return ct},qS:function(){return b},qj:function(){return Mt},qt:function(){return ft},rV:function(){return C},rZ:function(){return Ye},rk:function(){return Pe},rm:function(){return J},sK:function(){return q},sL:function(){return rt},su:function(){return Le},tC:function(){return De},tO:function(){return je},u9:function(){return Q},uZ:function(){return me},vV:function(){return V},xx:function(){return Jt},y8:function(){return kt},yS:function(){return N},zF:function(){return y},zc:function(){return ie},zj:function(){return O},zz:function(){return bt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Me,tt,Kt)=>tt in Me?i(Me,tt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Me[tt]=Kt,h=(Me,tt)=>{for(var Kt in tt||(tt={}))c.call(tt,Kt)&&o(Me,Kt,tt[Kt]);if(l)for(var Kt of l(tt))f.call(tt,Kt)&&o(Me,Kt,tt[Kt]);return Me},u=(Me,tt,Kt)=>new Promise((Lt,$t)=>{var Wt=Oe=>{try{Ht(Kt.next(Oe))}catch(fe){$t(fe)}},sr=Oe=>{try{Ht(Kt.throw(Oe))}catch(fe){$t(fe)}},Ht=Oe=>Oe.done?Lt(Oe.value):Promise.resolve(Oe.value).then(Wt,sr);Ht((Kt=Kt.apply(Me,tt)).next())});const a=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/create_guide.json`,{method:"post",body:Me}),x=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/guides.json`,{method:"get",params:Me}),p=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.competition_team_id}/edit_info.json`,{method:"put",body:Me});function y(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_result.json`,{method:"post",body:Me})})}function m(Me){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Me)})})}function b(Me){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Me})})}function A(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post"})})}function k(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_staff.json`,{method:"get"})})}function R(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/common_header.json`,{method:"get"})})}function C(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/${Me.url}`,{method:"get",params:h({},Me)})})}function O(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_md_content.json`,{method:"post",body:Me})})}function M(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function B(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}/edit.json`,{method:"get",params:Me})})}function N(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}.json`,{method:"put",body:Me})})}function V(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}/leave.json`,{method:"post",body:Me})})}function G(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}.json`,{method:"delete"})})}function H(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post",body:Me})})}function se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/add_managers.json`,{method:"post",body:Me})})}function ie(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/join.json`,{method:"post",body:Me})})}function le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/teachers.json`,{method:"get",params:Me})})}function q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/students.json`,{method:"get",params:Me})})}function J(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/crud_team_members.json`,{method:"post",body:Me})})}function K(Me){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Me})})}function ue(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/chart_rules.json`,{method:"get"})})}function ee(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/charts.json`,{method:"get",params:Me})})}function Q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/results.json`,{method:"get",params:Me})})}function ce(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/md_tab_rules.json`,{method:"get",params:Me})})}function Z(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize.json`,{method:"get",params:Me})})}function j(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.id}.json`,{method:"get",params:Me})})}function ae(Me){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Me})})}function me(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/phone_bind.json`,{method:"post",body:Me})})}function Pe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/email_bind.json`,{method:"post",body:Me})})}function De(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/authentication_apply.json`,{method:"delete"})})}function je(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize_leader_account.json`,{method:"put",body:Me})})}function Mt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/shixun_detail.json`,{method:"get"})})}function yt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/course_detail.json`,{method:"get"})})}function kt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Me.id}.json`,{method:"delete"})})}function Zt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/get_certificate_info.json`,{method:"get",params:Me})})}function Ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/basic_setting.json`,{method:"post",body:Me})})}function tr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ue(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/common_header.json`,{method:"get"})})}function wt(Me){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Me})})}function Bt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/search_managers.json`,{method:"get",params:Me})})}function rt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_managers.json`,{method:"get"})})}function _t(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/add_managers.json`,{method:"post",body:Me})})}function ct(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/delete_managers.json`,{method:"delete",body:Me})})}function qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_picture.json`,{method:"get"})})}function Ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/identifier_exist.json`,{method:"post",body:Me})})}function xe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_shixun_settings.json`,{method:"get"})})}function Le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_add.json`,{method:"post",body:Me})})}function Ge(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_delete.json`,{method:"delete",body:Me})})}function We(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_select.json`,{method:"post",body:Me})})}function Ye(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/info_finish.json`,{method:"get"})})}function ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/competition_review.json`,{method:"post",body:h({},Me)})})}function bt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function nr(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/all_team_members.json`,{method:"get",params:Me})})}function Jt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Me})})}},83325:function(d,_,e){"use strict";e.d(_,{F:function(){return b},OE:function(){return O},ff:function(){return A},p1:function(){return k},_y:function(){return m},mK:function(){return V},gq:function(){return H},eM:function(){return N},BA:function(){return le},bA:function(){return J},Nx:function(){return q},Qx:function(){return M},At:function(){return R},PX:function(){return C},Xl:function(){return B},y9:function(){return G},No:function(){return se},ay:function(){return K}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ee,Q)=>ee in ue?i(ue,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ue[ee]=Q,a=(ue,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(ue,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(ue,Q,ee[Q]);return ue},x=(ue,ee)=>l(ue,c(ee)),p=(ue,ee)=>{var Q={};for(var ce in ue)o.call(ue,ce)&&ee.indexOf(ce)<0&&(Q[ce]=ue[ce]);if(ue!=null&&f)for(var ce of f(ue))ee.indexOf(ce)<0&&h.call(ue,ce)&&(Q[ce]=ue[ce]);return Q},y=(ue,ee,Q)=>new Promise((ce,Z)=>{var j=Pe=>{try{me(Q.next(Pe))}catch(De){Z(De)}},ae=Pe=>{try{me(Q.throw(Pe))}catch(De){Z(De)}},me=Pe=>Pe.done?ce(Pe.value):Promise.resolve(Pe.value).then(j,ae);me((Q=Q.apply(ue,ee)).next())});const m=ue=>y(void 0,null,function*(){var ee=ue,{id:Q}=ee,ce=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:ce})}),b=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},A=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:ue,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),C=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),O=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),V=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ue,formula_one:ee,formula_two:Q,formula_three:ce})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:ce}}),H=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ee}.json`,{method:"get"}),se=ue=>{var ee=ue,{ec_year_id:Q,type:ce,goal_value:Z}=ee,j=p(ee,["ec_year_id","type","goal_value"]);let ae=`?type=${ce}`,me={method:"PUT"};return ce==="all"&&(ae+=`&goal_value=${Z}`),ce==="each"&&(me=x(a({},me),{body:j})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ae}`,me)};var ie=(ue,ee,Q)=>new Promise((ce,Z)=>{var j=Pe=>{try{me(Q.next(Pe))}catch(De){Z(De)}},ae=Pe=>{try{me(Q.throw(Pe))}catch(De){Z(De)}},me=Pe=>Pe.done?ce(Pe.value):Promise.resolve(Pe.value).then(j,ae);me((Q=Q.apply(ue,ee)).next())});const le=ue=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),q=ue=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:ue,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ee}`,{method:"PUT"})},72664:function(d,_,e){"use strict";e.d(_,{$Q:function(){return O},$l:function(){return vr},BJ:function(){return ct},CD:function(){return tt},Cd:function(){return ft},Cl:function(){return Fe},Di:function(){return tr},Fl:function(){return Bt},G$:function(){return ce},GK:function(){return wt},Ip:function(){return xe},J:function(){return Z},KE:function(){return rt},L8:function(){return Ht},LP:function(){return Le},MK:function(){return Ue},Mb:function(){return Pr},N0:function(){return G},N3:function(){return je},OO:function(){return R},P8:function(){return on},PJ:function(){return ae},PT:function(){return mr},Qc:function(){return se},RK:function(){return Q},Ty:function(){return Se},UH:function(){return lt},UK:function(){return Mt},Uj:function(){return Jt},Ul:function(){return Ye},VL:function(){return $t},Vj:function(){return fe},W4:function(){return nr},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Hr},Xo:function(){return le},YY:function(){return Ft},Ym:function(){return N},Yu:function(){return Xt},ZD:function(){return en},Zg:function(){return Tr},_B:function(){return Me},_F:function(){return Rr},_U:function(){return J},_u:function(){return me},aU:function(){return V},ab:function(){return Rt},cC:function(){return Ze},cV:function(){return K},ck:function(){return jr},dp:function(){return H},eA:function(){return Nt},fG:function(){return A},gA:function(){return ue},gG:function(){return Xr},gJ:function(){return vt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return St},kp:function(){return Wt},lL:function(){return C},lf:function(){return He},n$:function(){return De},n7:function(){return q},nF:function(){return Oe},o3:function(){return ot},oS:function(){return Ge},oX:function(){return Lt},oy:function(){return gt},p7:function(){return B},pL:function(){return Kt},pu:function(){return qe},q6:function(){return sr},qf:function(){return Zt},qz:function(){return We},s:function(){return Ct},sA:function(){return Pt},sS:function(){return ut},tX:function(){return Gt},uR:function(){return yt},ux:function(){return _t},wy:function(){return kt},xA:function(){return Ie},yE:function(){return ie},yu:function(){return Te},zP:function(){return M},zR:function(){return yr}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Et,Or,Sn)=>Or in Et?i(Et,Or,{enumerable:!0,configurable:!0,writable:!0,value:Sn}):Et[Or]=Sn,a=(Et,Or)=>{for(var Sn in Or||(Or={}))o.call(Or,Sn)&&u(Et,Sn,Or[Sn]);if(f)for(var Sn of f(Or))h.call(Or,Sn)&&u(Et,Sn,Or[Sn]);return Et},x=(Et,Or)=>l(Et,c(Or)),p=(Et,Or,Sn)=>new Promise((Zn,On)=>{var Gn=Vn=>{try{mi(Sn.next(Vn))}catch(vi){On(vi)}},xn=Vn=>{try{mi(Sn.throw(Vn))}catch(vi){On(vi)}},mi=Vn=>Vn.done?Zn(Vn.value):Promise.resolve(Vn.value).then(Gn,xn);mi((Sn=Sn.apply(Et,Or)).next())});const y=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Et}),m=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Et}),b=Et=>(0,r.ZP)(`/api/exercises/${Et.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Et}),A=Et=>(0,r.ZP)(`/api/exercises/${Et.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Et}),k=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Et}),R=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Et}),C=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Et}),O=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Et}),M=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/sava_exam_summary.json`,{method:"post",body:Et}),B=Et=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Et}),N=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/generate_exam_summary.json`,{method:"post",body:Et}),V=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/exam_summary_settings.json`,{method:"post",body:Et}),G=Et=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/review_exercise_user.json`,{method:"post",body:Et})}),H=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/code_check.json`,{method:"get",params:Et}),se=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/reset_pwd.json`,{method:"post",body:Et}),ie=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/encrypt_or_decrypt.json`,{method:"post",body:Et}),le=Et=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/delayed_time_or_force.json`,{method:"post",body:Et})}),q=Et=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/exercise_time.json`,{method:"Get",params:Et})}),J=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/exercise_question_result.json`,{method:"get",params:Et}),K=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/get_question_type_alias.json`,{method:"get",params:Et});function ue(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.id}/teacher_update.json`,{method:"post",body:a({},Et)})})}function ee(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.id}/adjust_comment.json`,{method:"post",body:a({},Et)})})}function Q(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/edit_question_type_alias.json`,{method:"POST",body:Et})})}function ce(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_lists.json`,{method:"get",params:a({},Et)})})}function Z(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},Et)})})}function j(Et){return p(this,null,function*(){return Fetch(`/api/exercises/${Et.categoryId}/video_push_url.json`,{method:"get",params:a({},Et)})})}function ae(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},Et)})})}function me(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_result.json`,{method:"get",params:a({},Et)})})}function Pe(Et){return p(this,null,function*(){return Fetch(`/api/exercises/${Et.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},Et)})})}function De(Et){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Et)})})}function He(Et){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},Et)})})}function je(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},Et)})})}function Mt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/common_header.json`,{method:"get",params:a({},Et)})})}function yt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises.json`,{method:"post",body:a({},Et)})})}function kt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}.json`,{method:"put",body:a({},Et)})})}function Zt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}.json`,{method:"get",params:a({},Et)})})}function Ft(Et){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},Et)})})}function tr(Et){return p(this,null,function*(){const{id:Or}=Et;return delete Et.id,(0,r.ZP)(`/api/exercise_questions/${Or}.json`,{method:"put",body:a({},Et)})})}function Ue(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_questions.json`,{method:"post",body:a({},Et)})})}function wt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}/up_down.json`,{method:"post",body:a({},Et)})})}function Bt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}.json`,{method:"delete"})})}function rt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},Et)})})}function _t(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/publish_groups.json`,{method:"get",params:a({},Et)})})}function ct(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},Et)})})}function qe(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/consult_exercise.json`,{method:"post",body:a({},Et)})})}function Ne(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},Et)})})}function xe(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}/adjust_score.json`,{method:"post",body:a({},Et)})})}function Le(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}/batch_adjust_score.json`,{method:"post",body:a({},Et)})})}function Ge(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/adjust_score.json`,{method:"post",body:a({},Et)})})}function We(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/delayed_time.json`,{method:"post",body:a({},Et)})})}function Ye(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_setting.json`,{method:"get",params:a({},Et)})})}function ft(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${Et.categoryId}/exercise_setting.json`,{method:"get",params:a({},Et)})})}function bt(Et){return p(this,null,function*(){return Fetch(`/api/exercises/${Et.categoryId}/commit_setting.json`,{method:"post",body:a({},Et)})})}function nr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},Et)})})}function Jt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},Et),{export:!0})})})}function Me(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},Et),{login:null})})}function tt(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/start.json`,{method:"get",params:a({},Et)})}function Kt(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/start_unlock.json`,{method:"post",body:a({},Et)})}function Lt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.questionId}/exercise_answers.json`,{method:"post",body:Et})})}function $t(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/commit_exercise.json`,{method:"post",body:Et})})}function Wt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Et})})}function sr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/redo_exercise.json`,{method:"post",body:Et})})}function Ht(Et){return(0,r.ZP)(`/api/${Et.url}`,{method:"get",params:a({},Et)})}function Oe(Et){return(0,r.ZP)(`/api/problems/${Et.id}/start.json`,{method:"get",params:a({},Et)})}function fe(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/begin_commit.json`,{method:"get",params:a({},Et)})}function pe(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/simulate_begin_commit.json`,{method:"get",params:a({},Et)})}function Pt(Et){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},Et)})}function Te(Et){return console.log("params:",Et),(0,r.ZP)(`/api/exercises/${Et.categoryId}/edit.json`,{method:"get",params:a({},Et)})}function lt(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/get_objective_scores.json`,{method:"get",params:a({},Et)})}function Gt(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/redo_modal.json`,{method:"get",params:a({},Et)})}function Ct(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/student_redo_lists.json`,{method:"get",params:a({},Et)})}function Ie(Et){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Et})}function St(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/exercise_header.json`,{method:"get",params:a({},Et)})}function Ze(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/allow_close_camera.json`,{method:"post",body:a({},Et)})}function Se(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},Et)})}function gt(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/record_screen`,{method:"post",params:a({},Et)})}function Rt(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/unbind_ip.json`,{method:"post",body:a({},Et)})}function Fe(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/check_ip.json`,{method:"get",params:a({},Et)})}function Tr(Et){return(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/check_user_exercise.json`,{method:"get",params:a({},Et)})}function At(Et){return Fetch(`/api/exercises/${Et.id}/make_up_students.json`,{method:"get",params:a({},Et)})}function Hr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},Et)})})}function Xr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.question_id}/adjust_score.json`,{method:"post",body:a({},Et)})})}function Pr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Et.categoryId}/simulate_exercise.json`,{method:"post",body:a({},Et)})})}function Rr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},Et)})})}function mr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_time.json`,{method:"get",params:a({},Et)})})}function jr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/commit_screen_at.json`,{method:"post",body:a({},Et)})})}function en(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/unlock_user`,{method:"post",body:Or})})}function on(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/save_screen_record.json`,{method:"post",body:Or})})}function Xt(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/screen_record_list.json`,{method:"get",params:Or})})}function vt(Et){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},Et)})})}function ot(Et){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:Et})})}function ut(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark.json`,{method:"post",body:Or})})}function Nt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Et}/exit_delete_pod.json`,{method:"post",body:Et})})}function yr(Et){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Et})})}function vr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.id}/send_to_item_bank.json`,{method:"post",body:a({},Et)})})}function Kr(Et){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Et.exercise_id}/wrong_details.json`,{method:"get",params:a({},Et)})})}function Nr(Et){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Et.exercise_id}/wrong_question.json`,{method:"get",params:a({},Et)})})}function mn(Et){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Et.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},Et)})})}},14195:function(d,_,e){"use strict";e.d(_,{B0:function(){return p},Si:function(){return R},Sr:function(){return O},YP:function(){return C},b4:function(){return k},bc:function(){return a},dX:function(){return A},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return V}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,se)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:se}):G[H]=se,h=(G,H)=>{for(var se in H||(H={}))c.call(H,se)&&o(G,se,H[se]);if(l)for(var se of l(H))f.call(H,se)&&o(G,se,H[se]);return G},u=(G,H,se)=>new Promise((ie,le)=>{var q=ue=>{try{K(se.next(ue))}catch(ee){le(ee)}},J=ue=>{try{K(se.throw(ue))}catch(ee){le(ee)}},K=ue=>ue.done?ie(ue.value):Promise.resolve(ue.value).then(q,J);K((se=se.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function C(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function O(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function V(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},92890:function(d,_,e){"use strict";e.d(_,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((A,k)=>{var R=M=>{try{O(b.next(M))}catch(B){k(B)}},C=M=>{try{O(b.throw(M))}catch(B){k(B)}},O=M=>M.done?A(M.value):Promise.resolve(M.value).then(R,C);O((b=b.apply(y,m)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},65583:function(d,_,e){"use strict";e.d(_,{B6:function(){return p},Gr:function(){return N},Mf:function(){return O},NA:function(){return R},PC:function(){return A},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return C},_n:function(){return se},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return V},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ie,le,q)=>le in ie?i(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[le]=q,h=(ie,le)=>{for(var q in le||(le={}))c.call(le,q)&&o(ie,q,le[q]);if(l)for(var q of l(le))f.call(le,q)&&o(ie,q,le[q]);return ie},u=(ie,le,q)=>new Promise((J,K)=>{var ue=ce=>{try{Q(q.next(ce))}catch(Z){K(Z)}},ee=ce=>{try{Q(q.throw(ce))}catch(Z){K(Z)}},Q=ce=>ce.done?J(ce.value):Promise.resolve(ce.value).then(ue,ee);Q((q=q.apply(ie,le)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function m(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function A(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function k(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function C(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function O(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function B(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}function N(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function V(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function G(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function H(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function se(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},86645:function(d,_,e){"use strict";e.d(_,{AA:function(){return V},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ce},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return C},Ot:function(){return R},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return H},Zd:function(){return Q},bS:function(){return O},ck:function(){return A},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return se},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return K},zT:function(){return j}});var r=e(82093),i=(ae,me,Pe)=>new Promise((De,He)=>{var je=kt=>{try{yt(Pe.next(kt))}catch(Zt){He(Zt)}},Mt=kt=>{try{yt(Pe.throw(kt))}catch(Zt){He(Zt)}},yt=kt=>kt.done?De(kt.value):Promise.resolve(kt.value).then(je,Mt);yt((Pe=Pe.apply(ae,me)).next())});function l(ae){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})}function c(ae){return(0,r.ZP)(`/api/schools/${ae.id}/departments/for_option.json`,{method:"get",params:ae})}function f(ae){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ae})}function o(ae){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ae})}function h(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/authorized_redelivery.json`,{method:"POST",body:ae})})}function u(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/submit.json`,{method:"POST",body:ae})})}function a(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_status.json`,{method:"get",params:ae})})}function x(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ae})})}function p(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.id}.json`,{method:"get",params:ae})})}function y(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/set_final_score.json`,{method:"POST",body:ae})})}function m(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/final_score.json`,{method:"get",params:ae})})}function b(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/set_novice_guide.json`,{method:"POST",body:ae})})}function A(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices/${ae.doid}/set_do.json`,{method:"POST",body:ae})})}function k(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"POST",body:ae})})}function R(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_students/${ae.id}/update_major.json`,{method:"PUT",body:ae})})}function C(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"POST",body:ae})})}function O(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers/search.json`,{method:"get",params:ae})})}function M(ae){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})})}function B(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students/search.json`,{method:"get",params:ae})})}function N(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"get",params:ae})})}function V(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"get",params:ae})})}function G(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks.json`,{method:"POST",body:ae})})}function H(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks/${ae.id}.json`,{method:"PUT",body:ae})})}function se(ae){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks/${(me=ae.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ae.ids}})})}function ie(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks.json`,{method:"get",params:ae})})}function le(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices.json`,{method:"get",params:ae})})}function q(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}.json`,{method:"get"})})}function J(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae==null?void 0:ae.id}/common_header.json`,{method:"get"})})}function K(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/preview.json`,{method:"get"})})}function ue(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function ee(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/pass.json`,{method:"post",body:me})})}function Q(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/not_pass.json`,{method:"post",body:me})})}function ce(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/pass.json`,{method:"post",body:me})})}function Z(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/batch_delete`,{method:"delete",body:me})})}function j(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},55480:function(d,_,e){"use strict";e.d(_,{LA:function(){return x},NX:function(){return m},Rm:function(){return f},S_:function(){return p},Tt:function(){return h},Yu:function(){return A},Zz:function(){return y},cR:function(){return u},eX:function(){return c},h$:function(){return o},su:function(){return b},vm:function(){return a}});var r=e(82093),i=(k,R,C)=>new Promise((O,M)=>{var B=G=>{try{V(C.next(G))}catch(H){M(H)}},N=G=>{try{V(C.throw(G))}catch(H){M(H)}},V=G=>G.done?O(G.value):Promise.resolve(G.value).then(B,N);V((C=C.apply(k,R)).next())});const l=k=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:k})}),c=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:k})}),f=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:k})}),o=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:k})});function h(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function u(k){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:k})})}function a(k){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:k})})}function x(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function p(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:k})})}const y=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:k})}),m=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:k})}),b=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:k})}),A=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:k})})},93440:function(d,_,e){"use strict";e.d(_,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return A},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,C,O)=>C in R?i(R,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):R[C]=O,h=(R,C)=>{for(var O in C||(C={}))c.call(C,O)&&o(R,O,C[O]);if(l)for(var O of l(C))f.call(C,O)&&o(R,O,C[O]);return R},u=(R,C,O)=>new Promise((M,B)=>{var N=H=>{try{G(O.next(H))}catch(se){B(se)}},V=H=>{try{G(O.throw(H))}catch(se){B(se)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,V);G((O=O.apply(R,C)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function A(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},38746:function(d,_,e){"use strict";e.d(_,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return O},ms:function(){return R},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return C}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,V,G)=>V in N?i(N,V,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[V]=G,h=(N,V)=>{for(var G in V||(V={}))c.call(V,G)&&o(N,G,V[G]);if(l)for(var G of l(V))f.call(V,G)&&o(N,G,V[G]);return N},u=(N,V,G)=>new Promise((H,se)=>{var ie=J=>{try{q(G.next(J))}catch(K){se(K)}},le=J=>{try{q(G.throw(J))}catch(K){se(K)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ie,le);q((G=G.apply(N,V)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function C(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function O(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},47580:function(d,_,e){"use strict";e.d(_,{DF:function(){return b},Di:function(){return ee},Dm:function(){return le},Dq:function(){return Pe},Gd:function(){return m},Hb:function(){return De},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return V},Pl:function(){return A},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ie},kF:function(){return He},kp:function(){return O},lc:function(){return C},oF:function(){return ce},q$:function(){return h},qN:function(){return se},tS:function(){return R},ts:function(){return B},un:function(){return K},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(82093),i=(je,Mt,yt)=>new Promise((kt,Zt)=>{var Ft=wt=>{try{Ue(yt.next(wt))}catch(Bt){Zt(Bt)}},tr=wt=>{try{Ue(yt.throw(wt))}catch(Bt){Zt(Bt)}},Ue=wt=>wt.done?kt(wt.value):Promise.resolve(wt.value).then(Ft,tr);Ue((yt=yt.apply(je,Mt)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),o=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),u=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function m(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function A(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const C=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function O(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function B(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function N(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function G(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function H(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ie(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function le(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function q(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function ue(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function Q(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Mt})})}function ce(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function Z(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Mt})})}function j(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function ae(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Mt})})}function me(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Pe(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function De(je,Mt,yt){return i(this,null,function*(){const kt=new FormData;return kt.append("file",Mt),kt.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:kt},!0)})}function He(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},37034:function(d,_,e){"use strict";e.d(_,{$D:function(){return J},A2:function(){return Le},A7:function(){return Ct},AQ:function(){return V},Ax:function(){return tt},Bn:function(){return Ze},CI:function(){return ft},DQ:function(){return Pt},DU:function(){return rt},EP:function(){return q},Ep:function(){return xe},Er:function(){return me},Ex:function(){return $t},FD:function(){return Te},F_:function(){return Bt},Fg:function(){return x},GY:function(){return Oe},Go:function(){return Z},Gz:function(){return p},Hl:function(){return y},JS:function(){return kt},KM:function(){return ee},M2:function(){return We},MO:function(){return Pe},Mt:function(){return Ye},Mu:function(){return Kt},NV:function(){return St},Q:function(){return De},Sp:function(){return N},VO:function(){return lt},VU:function(){return R},WD:function(){return Ht},WO:function(){return ae},WW:function(){return Wt},_C:function(){return Ie},_V:function(){return Me},bw:function(){return le},bz:function(){return pe},c3:function(){return yt},eJ:function(){return ce},ef:function(){return wt},fh:function(){return k},fj:function(){return j},hS:function(){return m},jT:function(){return Gt},ke:function(){return sr},lk:function(){return B},mQ:function(){return M},ms:function(){return nr},mx:function(){return je},nq:function(){return a},ol:function(){return fe},p:function(){return H},p4:function(){return He},pU:function(){return O},rS:function(){return Zt},rs:function(){return Q},s0:function(){return Ge},sm:function(){return Mt},tS:function(){return b},tu:function(){return C},ue:function(){return G},vf:function(){return qe},w4:function(){return se},xG:function(){return Ne},xn:function(){return ct},yN:function(){return ie},yy:function(){return Jt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Se,gt,Rt)=>gt in Se?i(Se,gt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Se[gt]=Rt,h=(Se,gt)=>{for(var Rt in gt||(gt={}))c.call(gt,Rt)&&o(Se,Rt,gt[Rt]);if(l)for(var Rt of l(gt))f.call(gt,Rt)&&o(Se,Rt,gt[Rt]);return Se},u=(Se,gt,Rt)=>new Promise((Fe,Tr)=>{var At=Pr=>{try{Xr(Rt.next(Pr))}catch(Rr){Tr(Rr)}},Hr=Pr=>{try{Xr(Rt.throw(Pr))}catch(Rr){Tr(Rr)}},Xr=Pr=>Pr.done?Fe(Pr.value):Promise.resolve(Pr.value).then(At,Hr);Xr((Rt=Rt.apply(Se,gt)).next())});const a=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Se})}),x=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Se})}),p=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Se})}),y=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Se})}),m=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Se})});function b(Se){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Se)})})}function A(Se){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Se)})})}function k(Se){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Se)})})}function R(){return u(this,null,function*(){return(0,r.ZP)("/api/paths/platform_systems.json",{method:"get"})})}function C(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}.json`,{method:"PUT",body:Se})})}function O(Se){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Se})})}function M(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/edit.json`,{method:"get"})})}function B(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}.json`,{method:"get",params:h({identifier:Se.id},Se)})})}function N(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.id}.json`,{method:"get",params:h({identifier:Se.id},Se)})})}function V(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/right_banner.json`,{method:"get",params:Se})})}function G(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/spoc_courses.json`,{method:"get",params:Se})})}const H=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Se})}),se=Se=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Se.id}/children.json`,{method:"Get",params:Se})});function ie(Se){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Se})})}function le(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/update_team_title.json`,{method:"post",body:Se})})}function q(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/delete_member.json`,{method:"Delete",body:Se})})}function J(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/spoc_courses/${Se==null?void 0:Se.courseid}.json`,{method:"Delete"})})}function K(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/up_member_position.json`,{method:"post",body:Se})})}function ue(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/down_member_position.json`,{method:"post",body:Se})})}function ee(Se){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Se})})}function Q(Se){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Se})})}function ce(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}.json`,{method:"Delete",body:Se})})}function Z(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/publish.json`,{method:"post",body:Se})})}function j(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/cancel_publish.json`,{method:"post",body:Se})})}function ae(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/apply_public.json`,{method:"post",body:Se})})}function me(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/cancel_public.json`,{method:"post",body:Se})})}function Pe(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/choose_course.json`,{method:"get",params:Se})})}function De(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/send_to_course.json`,{method:"post",body:Se})})}function He(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Se.id}/send_to_course.json`,{method:"post",body:Se})})}function je(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/add_subject_members.json`,{method:"post",body:Se})})}function Mt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/spoc_courses.json`,{method:"post",body:Se})})}function yt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/appointment.json`,{method:"post",body:Se})})}function kt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.id}/join_excellent_course.json`,{method:"post",body:Se})})}function Zt(Se){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Se})})}function Ft(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/statistics_info.json`,{method:"get",params:Se})})}function tr(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/shixun_analyze.json`,{method:"get",params:Se})})}function Ue(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/learning_analyze.json`,{method:"get",params:Se})})}function wt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/learning_statistics.json`,{method:"get",params:Se})})}function Bt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/shixun_statistics.json`,{method:"get",params:Se})})}function rt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/study_analyze/${Se.type}.json`,{method:"get",params:Se})})}function _t(Se){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Se})})}function ct(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}.json`,{method:"put",body:Se})})}function qe(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_shixun_to_stage.json`,{method:"post",body:Se})})}const Ne=Se=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Se==null?void 0:Se.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Se})});function xe(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/select_shixun_to_stage.json`,{method:"post",body:Se})})}function Le(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_video_to_stage.json`,{method:"post",body:Se})})}function Ge(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_attachment_to_stage.json`,{method:"post",body:Se})})}function We(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Se.id}.json`,{method:"put",body:Se})})}function Ye(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_blank_to_stage.json`,{method:"post",body:Se})})}function ft(Se){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Se})})}function bt(Se){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Se})})}function nr(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/up_position.json`,{method:"get"})})}function Jt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/down_position.json`,{method:"get"})})}function Me(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}.json`,{method:"delete"})})}function tt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.pathId}/discusses.json`,{method:"get",params:h({},Se)})})}function Kt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Se)})})}function Lt(Se){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Se)})})}function $t(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.stage_id}/items/move_position`,{method:"post",body:h({},Se)})})}function Wt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.stage_id}/items/${Se.id}`,{method:"delete"})})}function sr(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.id}/excellent_discuss`,{method:"post",body:h({},Se)})})}function Ht(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/post_discuss`,{method:"post",body:h({},Se)})})}function Oe(Se){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Se})})}function fe(Se){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Se})})}function pe(Se){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Se})})}function Pt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se==null?void 0:Se.id}/add_homework_to_stage.json`,{method:"post",body:Se})})}function Te(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Se==null?void 0:Se.id}/edit.json`,{method:"get",params:Se})})}function lt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Se==null?void 0:Se.id}.json`,{method:"put",body:Se})})}function Gt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Se==null?void 0:Se.user_id}/subjects/subject_homework.json`,{method:"get",params:Se})})}function Ct(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Se==null?void 0:Se.user_id}/courses/course_homework.json`,{method:"get",params:Se})})}function Ie(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se==null?void 0:Se.id}/batch_add_homework_to_stage.json`,{method:"post",body:Se})})}function St(Se){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Se})})}function Ze(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Se==null?void 0:Se.user_login}/subjects/cancel.json`,{method:"get",params:Se})})}},79763:function(d,_,e){"use strict";e.d(_,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return V},KE:function(){return b},Kc:function(){return Q},MK:function(){return G},Q9:function(){return O},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return le},iV:function(){return ce},jy:function(){return H},kp:function(){return ie},lf:function(){return C},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return A},vf:function(){return K},wh:function(){return se},wo:function(){return ee},x$:function(){return J}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,ae,me)=>ae in j?i(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,h=(j,ae)=>{for(var me in ae||(ae={}))c.call(ae,me)&&o(j,me,ae[me]);if(l)for(var me of l(ae))f.call(ae,me)&&o(j,me,ae[me]);return j},u=(j,ae,me)=>new Promise((Pe,De)=>{var He=yt=>{try{Mt(me.next(yt))}catch(kt){De(kt)}},je=yt=>{try{Mt(me.throw(yt))}catch(kt){De(kt)}},Mt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(He,je);Mt((me=me.apply(j,ae)).next())});const a=j=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function A(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function C(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function O(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function V(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function se(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ie(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function le(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function q(j){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function K(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ue(j){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function ee(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function Q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function ce(j){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},70610:function(d,_,e){"use strict";e.d(_,{$c:function(){return ft},A1:function(){return We},Bd:function(){return O},Bo:function(){return q},Cc:function(){return ue},Cn:function(){return ce},DF:function(){return R},Dm:function(){return Ue},FG:function(){return le},GW:function(){return wt},HF:function(){return G},Hm:function(){return j},IJ:function(){return Ge},L5:function(){return tr},LS:function(){return rt},MZ:function(){return xe},Mr:function(){return ie},NZ:function(){return Mt},Of:function(){return A},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ct},RT:function(){return Me},Rp:function(){return _t},U6:function(){return H},Vl:function(){return ee},Wk:function(){return se},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return bt},d1:function(){return y},dt:function(){return nr},et:function(){return me},ex:function(){return b},fY:function(){return Pe},fn:function(){return C},hI:function(){return yt},hg:function(){return Ne},iT:function(){return J},lS:function(){return je},nD:function(){return Bt},qN:function(){return ae},rV:function(){return N},s:function(){return He},sD:function(){return Le},sS:function(){return Ft},ts:function(){return K},vi:function(){return Ye},wX:function(){return qe},x5:function(){return V},zh:function(){return De}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Kt,Lt)=>Kt in tt?i(tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):tt[Kt]=Lt,a=(tt,Kt)=>{for(var Lt in Kt||(Kt={}))o.call(Kt,Lt)&&u(tt,Lt,Kt[Lt]);if(f)for(var Lt of f(Kt))h.call(Kt,Lt)&&u(tt,Lt,Kt[Lt]);return tt},x=(tt,Kt)=>l(tt,c(Kt)),p=(tt,Kt,Lt)=>new Promise(($t,Wt)=>{var sr=fe=>{try{Oe(Lt.next(fe))}catch(pe){Wt(pe)}},Ht=fe=>{try{Oe(Lt.throw(fe))}catch(pe){Wt(pe)}},Oe=fe=>fe.done?$t(fe.value):Promise.resolve(fe.value).then(sr,Ht);Oe((Lt=Lt.apply(tt,Kt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function m(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function R(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function C(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function O(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function H(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function ie(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function q(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function ue(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function Q(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function ce(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function Z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function j(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function me(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Pe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function De(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function je(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Mt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function yt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function kt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function Zt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Ft(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function tr(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function Ue(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function wt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function Bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function rt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function _t(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ct(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Ne(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function xe(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function Le(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function Ge(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function We(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Ye(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function ft(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function nr(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function Jt(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Me(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},5707:function(d,_,e){"use strict";e.d(_,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(82093),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(A){x(A)}},y=b=>{try{m(u.throw(b))}catch(A){x(A)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},45278:function(d,_,e){"use strict";e.d(_,{Am:function(){return m},Ar:function(){return Ue},BD:function(){return Ye},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return A},H:function(){return Ft},H1:function(){return tr},Hj:function(){return bt},JA:function(){return Jt},JG:function(){return ue},KE:function(){return Z},Lz:function(){return Ge},Mf:function(){return Zt},NA:function(){return yt},PC:function(){return je},PP:function(){return Mt},PW:function(){return rt},Q3:function(){return Q},QC:function(){return Me},Qt:function(){return We},Qz:function(){return O},R$:function(){return Oe},RP:function(){return le},Ti:function(){return Ct},Uc:function(){return $t},Ul:function(){return J},VB:function(){return lt},Vs:function(){return Wt},Wr:function(){return R},Xn:function(){return q},YQ:function(){return kt},Yn:function(){return b},Z8:function(){return V},ak:function(){return Bt},cN:function(){return B},co:function(){return Ne},cz:function(){return De},fK:function(){return G},gG:function(){return He},gZ:function(){return Lt},h$:function(){return N},ku:function(){return Le},lf:function(){return ae},m7:function(){return K},mQ:function(){return M},mz:function(){return ct},n$:function(){return j},oK:function(){return y},oN:function(){return Gt},pH:function(){return ft},pb:function(){return Te},qP:function(){return tt},ql:function(){return Kt},rN:function(){return xe},sw:function(){return me},t1:function(){return Pe},to:function(){return ie},ub:function(){return nr},ux:function(){return ce},wS:function(){return Pt},wT:function(){return C},yT:function(){return wt},yy:function(){return sr},z2:function(){return _t}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ie,St,Ze)=>St in Ie?i(Ie,St,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Ie[St]=Ze,a=(Ie,St)=>{for(var Ze in St||(St={}))o.call(St,Ze)&&u(Ie,Ze,St[Ze]);if(f)for(var Ze of f(St))h.call(St,Ze)&&u(Ie,Ze,St[Ze]);return Ie},x=(Ie,St)=>l(Ie,c(St)),p=(Ie,St,Ze)=>new Promise((Se,gt)=>{var Rt=At=>{try{Tr(Ze.next(At))}catch(Hr){gt(Hr)}},Fe=At=>{try{Tr(Ze.throw(At))}catch(Hr){gt(Hr)}},Tr=At=>At.done?Se(At.value):Promise.resolve(At.value).then(Rt,Fe);Tr((Ze=Ze.apply(Ie,St)).next())});const y=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),m=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),b=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),A=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),k=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),R=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),C=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),O=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),M=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),B=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function N(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:a({},Ie)})})}function V(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:a({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:a({},Ie)})})}function H(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function se(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function le(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:a({},Ie)})})}function q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:a({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:a({},Ie)})})}function ue(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:a({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:a({},Ie)})})}function ce(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:a({},Ie)})})}function Z(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:a({},Ie)})})}function j(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ie)})})}function ae(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ie)})})}function me(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function Pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function De(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ie),{id:Ie.categoryId})})})}function He(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ie)})})}function je(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:a({},Ie)})})}function Mt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ie)})})}function yt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ie)})})}function kt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ie)})})}function Zt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ie)})})}function Ft(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:a({},Ie)})})}function tr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:a({},Ie)})})}function Ue(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:a({},Ie)})})}function wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:a({},Ie)})})}function Bt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ie)})})}function rt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:a({},Ie)})})}function _t(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:a({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ie)})})}function qe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ie)})})}function xe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Le(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ie)})})}function Ge(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ie)})})}function We(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ie)})})}function Ye(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:a({},Ie)})})}function ft(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:a({},Ie)})})}function bt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:a({},Ie)})})}function nr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:a({},Ie)})})}function Jt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:a({},Ie)})})}function Me(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:a({},Ie)})})}function tt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:a({},Ie)})})}function Kt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:a({},Ie)})})}function Lt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ie)})})}function $t(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:a({},Ie)})})}function Wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:a({},Ie)})})}function sr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:a({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:a({},Ie)})})}function Oe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ie)})})}function fe(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ie)})})}function pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:a({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:a({},Ie)})})}function Te(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:a({},Ie)})})}function lt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ie)})})}function Gt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ie)})})}function Ct(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ie)})})}},67135:function(d,_,e){"use strict";e.d(_,{$Q:function(){return Rr},AE:function(){return Wt},AQ:function(){return M},Ag:function(){return St},Ar:function(){return ce},At:function(){return vt},BK:function(){return V},Bj:function(){return Bt},DC:function(){return Ue},Dz:function(){return ot},E4:function(){return tr},EH:function(){return ae},Ee:function(){return mn},Er:function(){return ee},FB:function(){return N},Fg:function(){return A},GI:function(){return De},Gr:function(){return ct},Gu:function(){return Pe},Gz:function(){return b},HS:function(){return Dt},Hl:function(){return y},IT:function(){return Ct},I_:function(){return C},Ir:function(){return G},Je:function(){return Fe},K:function(){return Nt},K0:function(){return Nr},KM:function(){return q},K_:function(){return jr},LK:function(){return Tr},LP:function(){return He},Ne:function(){return ue},OV:function(){return Mt},OW:function(){return j},Op:function(){return Pr},P2:function(){return kt},Po:function(){return O},Ps:function(){return qe},Q:function(){return K},Q1:function(){return yr},QA:function(){return zi},Ql:function(){return xe},Rs:function(){return Me},SG:function(){return Xi},Tn:function(){return Ht},Tr:function(){return Di},U0:function(){return Ye},U9:function(){return Ne},UQ:function(){return Te},Ui:function(){return mr},Vx:function(){return Kr},WO:function(){return Q},WT:function(){return fa},Wi:function(){return rt},Wl:function(){return Ze},X$:function(){return Zt},Yn:function(){return fe},Z2:function(){return wt},ZO:function(){return _t},Zt:function(){return ut},_7:function(){return J},_9:function(){return pe},aH:function(){return Le},al:function(){return nr},b8:function(){return Z},bq:function(){return Oe},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return tt},fL:function(){return Rt},h4:function(){return vr},hS:function(){return m},he:function(){return R},hn:function(){return ie},ii:function(){return Jt},im:function(){return Pt},j8:function(){return je},jq:function(){return Xr},kF:function(){return Hr},km:function(){return bt},l3:function(){return yt},m7:function(){return We},mI:function(){return vi},n5:function(){return B},nu:function(){return At},p0:function(){return Gt},q0:function(){return $t},q9:function(){return Xt},qA:function(){return on},rO:function(){return Lt},rs:function(){return le},sr:function(){return lt},t2:function(){return Ie},tX:function(){return Et},uo:function(){return ft},v3:function(){return gt},w:function(){return Se},xK:function(){return sr},xg:function(){return Kt},xk:function(){return Ft},yE:function(){return Ge},yx:function(){return Vn},zD:function(){return se},zH:function(){return en}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ht,Pi,Ki)=>Pi in ht?i(ht,Pi,{enumerable:!0,configurable:!0,writable:!0,value:Ki}):ht[Pi]=Ki,a=(ht,Pi)=>{for(var Ki in Pi||(Pi={}))o.call(Pi,Ki)&&u(ht,Ki,Pi[Ki]);if(f)for(var Ki of f(Pi))h.call(Pi,Ki)&&u(ht,Ki,Pi[Ki]);return ht},x=(ht,Pi)=>l(ht,c(Pi)),p=(ht,Pi,Ki)=>new Promise((oi,xa)=>{var di=rr=>{try{vn(Ki.next(rr))}catch(mt){xa(mt)}},ei=rr=>{try{vn(Ki.throw(rr))}catch(mt){xa(mt)}},vn=rr=>rr.done?oi(rr.value):Promise.resolve(rr.value).then(di,ei);vn((Ki=Ki.apply(ht,Pi)).next())});const y=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ht})}),m=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ht})}),b=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ht})}),A=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ht})}),k=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ht})});function R(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ht)})})}function C(ht){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ht||{})})})}function O(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}.json`,{method:"Get",params:ht})})}function M(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/show_right.json`,{method:"Get"})})}function B(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges.json`,{method:"Get"})})}function N(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ht.save_type}})})}function V(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/jupyter_exec.json${ht.reset?`?reset=${ht.reset}`:""}`,{method:"Get",params:ht})})}function G(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/shixun_exec.json${ht.reset?`?reset=${ht.reset}`:""}`,{method:"Get",params:ht})})}function H(ht){return p(this,null,function*(){return(0,r.ZP)(ht.url,{method:"Get"})})}function se(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.shixun_identifier}/challenges/${ht.challenge_id}/index_up.json`,{method:"Get"})})}function ie(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.shixun_identifier}/challenges/${ht.challenge_id}/index_down.json`,{method:"Get"})})}function le(ht){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ht.container_id,container_type:ht.container_type}})})}function q(ht){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ht.container_id,container_type:ht.container_type}})})}function J(ht){return p(this,null,function*(){const{id:Pi}=ht||{};return(0,r.ZP)(`/api/shixuns/${Pi}/search_user_courses.json`,{method:"Get",params:ht})})}function K(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht==null?void 0:ht.id}/send_to_course.json`,{method:"Post",body:a({},ht)})})}function ue(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/cancel_publish.json`,{method:"Get"})})}function ee(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/apply_public.json`,{method:"post",body:a({},ht)})})}function ce(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/publish.json`,{method:"Get"})})}function Z(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ht.id}.json`,{method:"delete"})})}function ae(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ht})})}function me(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ht})})}function Pe(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ht})})}function De(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/review_newest_record.json`,{method:"Get"})})}function He(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/review_shixun.json`,{method:"post",body:ht})})}function je(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/collaborators.json`,{method:"Get",params:ht})})}function Mt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/shixun_members_added.json`,{method:"post",body:ht})})}function yt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.identifier}/add_members_group.json`,{method:"post",body:ht})})}function kt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/change_manager.json`,{method:"Get",params:ht})})}function Zt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/change_manager.json`,{method:"post",body:ht})})}function Ft(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ht.userId}})})}function tr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/ranking_list.json`,{method:"Get"})})}function Ue(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/settings.json`,{method:"Get"})})}function wt(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ht.mirror_id}})})}function Bt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/get_script_contents.json`,{method:"Get",params:ht})})}function rt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/get_custom_script.json`,{method:"Get",params:ht})})}function _t(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_for_jupyter.json`,{method:"put",body:ht})})}function ct(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/shixun_quotes.json`,{method:"Get"})})}function qe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}.json`,{method:"delete"})})}function Ne(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/close.json`,{method:"post",body:ht})})}function xe(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ht})})}function Le(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_permission_setting.json`,{method:"post",body:ht})})}function Ge(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_learn_setting.json`,{method:"post",body:ht})})}function We(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_setting`,{method:"post",body:ht})})}function Ye(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/get_data_sets.json`,{method:"Get",params:ht})})}function ft(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ht.deleteId}})})}function bt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/new.json`,{method:"get"})})}function nr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.identifier}/challenges.json`,{method:"post",body:a({},ht)})})}function Jt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengeId}/edit.json`,{method:"get",params:{tab:ht.tab}})})}function Me(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}.json`,{method:"put",body:a({},ht)})})}function tt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/choose_questions.json`,{method:"get"})})}function Kt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/move_position.json`,{method:"post",body:a({},ht)})})}function Lt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}.json`,{method:"delete",body:a({},ht)})})}function $t(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/edit.json`,{method:"get",params:a({},ht)})})}function Wt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengeId}/answer.json`,{method:"get",params:a({},ht)})})}function sr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengeId}/crud_answer.json`,{method:"post",body:a({},ht)})})}function Ht(ht){return p(this,null,function*(){if(ht.type===1)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/create_choose_question.json`,{method:"post",body:a({},ht)});if(ht.type===2)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/create_blank_question.json`,{method:"post",body:a({},ht)});if(ht.type===3)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/create_judge_question.json`,{method:"post",body:a({},ht)})})}function Oe(ht){return p(this,null,function*(){if(ht.type===1)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ht),{choose_id:ht.questionId})});if(ht.type===2)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ht),{choose_id:ht.questionId})});if(ht.type===3)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ht),{choose_id:ht.questionId})})})}function fe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ht.questionId}})})}function pe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ht.questionId}})})}function Pt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ht.questionId}})})}function Te(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ht),{choose_id:ht.questionId})})})}function lt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/delete_git_file.json`,{method:"Delete",body:ht})})}function Gt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/delete_git_file.json`,{method:"Delete",body:ht})})}function Ct(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/mv_file.json`,{method:"post",body:ht})})}function Ie(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/mv_file.json`,{method:"post",body:ht})})}function St(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/repository.json`,{method:"post",body:ht})})}function Ze(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/repository.json`,{method:"post",body:ht})})}function Se(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/secret_repository.json`,{method:"post",body:ht})})}function gt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/add_file.json`,{method:"post",body:ht})})}function Rt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/add_file.json`,{method:"post",body:ht})})}function Fe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/commits.json`,{method:"post",body:ht})})}function Tr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/file_content.json`,{method:"post",body:ht})})}function At(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/file_content.json`,{method:"post",body:ht})})}function Hr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_file.json`,{method:"post",body:ht})})}function Xr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/update_file.json`,{method:"post",body:ht})})}function Pr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/upload_git_folder.json`,{method:"post",body:{path:ht.path,secret_repository:ht.secret_repository}})})}function Rr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/${ht.url}`,{method:"Get"})})}function mr(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ht})})}function jr(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ht})})}function en(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ht})})}function on(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ht})})}function Xt(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ht})})}function vt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/fork_list.json`,{method:"Get",params:ht})})}function ot(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.identifier}/change_editable.json`,{method:"put",body:a({},ht)})})}function ut(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/set_secret_dir.json`,{method:"post",body:a({},ht)})})}function Nt(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ht})})}function yr(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ht})})}function vr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/init_repository.json`,{method:"post",body:a({},ht)})})}function Kr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/init_repository.json`,{method:"post",body:a({},ht)})})}function Nr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_secret_repository.json`,{method:"post",body:a({},ht)})})}function mn(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/exist_exercise.json`,{method:"get",params:a({},ht)})})}function Et(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ht.id}.json`,{method:"get",params:a({},ht)})})}function Or(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/publish.json`,{method:"post",body:a({},ht)})})}function Sn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/open_vnc.json`,{method:"post",params:a({},ht)})})}function Zn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/open_webssh.json`,{method:"post",params:a({},ht)})})}function On(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/save_image.json`,{method:"post",body:a({},ht)})})}function Gn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/delete_image.json`,{method:"post",body:a({},ht)})})}function xn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/extend_vnc.json`,{method:"post",body:a({},ht)})})}function mi(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/reset_vnc_link.json`,{method:"post",body:a({},ht)})})}function Vn(ht){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ht)})})}function vi(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ht)})})}function zi(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ht)})})}function Di(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ht})})}function fa(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ht}`,{method:"get",params:{is_initiative_study:1}})})}function Jn(ht){return p(this,null,function*(){return Fetch(`/api/shixuns/${ht.id}/update_shixun_study_num.json`,{method:"post",body:a({},ht)})})}function Xi(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ht})})}function Dt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht}/recommend_config.json`,{method:"get"})})}},92982:function(d,_,e){"use strict";e.d(_,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return A},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return C},oZ:function(){return m},rM:function(){return O},r_:function(){return V},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,se,ie)=>se in H?i(H,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):H[se]=ie,h=(H,se)=>{for(var ie in se||(se={}))c.call(se,ie)&&o(H,ie,se[ie]);if(l)for(var ie of l(se))f.call(se,ie)&&o(H,ie,se[ie]);return H},u=(H,se,ie)=>new Promise((le,q)=>{var J=ee=>{try{ue(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{ue(ie.throw(ee))}catch(Q){q(Q)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,K);ue((ie=ie.apply(H,se)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function C(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function O(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:se})})}function V(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:se})})}function G(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:se})})}},63423:function(d,_,e){"use strict";e.d(_,{B$:function(){return y},Cx:function(){return J},DA:function(){return O},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Zt},FM:function(){return ie},Fn:function(){return Q},Gq:function(){return tr},Ho:function(){return B},IU:function(){return me},JJ:function(){return ce},Ol:function(){return je},Qx:function(){return se},Tv:function(){return Z},V8:function(){return x},WS:function(){return K},WY:function(){return H},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return Ft},dE:function(){return ae},dt:function(){return j},gI:function(){return ue},lO:function(){return le},mW:function(){return G},n0:function(){return C},nV:function(){return He},o1:function(){return Mt},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return De},vR:function(){return A},w3:function(){return V},x4:function(){return R},z2:function(){return yt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ue,wt,Bt)=>wt in Ue?i(Ue,wt,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ue[wt]=Bt,h=(Ue,wt)=>{for(var Bt in wt||(wt={}))c.call(wt,Bt)&&o(Ue,Bt,wt[Bt]);if(l)for(var Bt of l(wt))f.call(wt,Bt)&&o(Ue,Bt,wt[Bt]);return Ue},u=(Ue,wt,Bt)=>new Promise((rt,_t)=>{var ct=xe=>{try{Ne(Bt.next(xe))}catch(Le){_t(Le)}},qe=xe=>{try{Ne(Bt.throw(xe))}catch(Le){_t(Le)}},Ne=xe=>xe.done?rt(xe.value):Promise.resolve(xe.value).then(ct,qe);Ne((Bt=Bt.apply(Ue,wt)).next())});const a=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}/move.json`,{method:"post",body:Ue})}),x=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"delete",body:Ue})}),p=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"put",body:Ue})}),y=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ue})}),m=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ue})});function b(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ue)})})}function A(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ue)})})}function R(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ue)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function O(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/homepage_info.json`,{method:"get"})})}function M(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/courses.json`,{method:"get",params:Ue})})}function N(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/shixuns.json`,{method:"get",params:Ue})})}function V(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/subjects.json`,{method:"get",params:Ue})})}function G(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/projects.json`,{method:"get",params:Ue})})}function H(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos.json`,{method:"get",params:Ue})})}function se(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/review.json`,{method:"get",params:Ue})})}function ie(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.id}.json`,{method:"delete"})})}function le(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ue})})}function q(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ue})})}function J(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ue})})}function K(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ue})})}function ue(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ue})})}function ee(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ue})})}function Q(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.object_id}/create_course_video.json`,{method:"post",body:Ue})})}function ce(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ue.topicId}.json`,{method:"get",params:Ue})})}function Z(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ue)})})}function j(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/batch_publish.json`,{method:"post",body:Ue})})}function ae(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ue.identifier}/cancel.json`,{method:"delete",body:h({},Ue)})})}function me(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ue)})})}function Pe(Ue){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ue)})})}function De(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ue){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ue})}function Mt(Ue){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ue})}function yt(Ue){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ue)})}function kt(Ue){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ue)})}function Zt(Ue){return(0,r.ZP)(`/api/users/accounts/${Ue.login}/password.json`,{method:"put",body:h({},Ue)})}function Ft(Ue){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ue)})}function tr(Ue){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ue)})}},80541:function(d,_,e){"use strict";e.d(_,{BQ:function(){return a},DH:function(){return B},Db:function(){return le},Ju:function(){return ie},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return V},cU:function(){return p},fn:function(){return se},jK:function(){return R},yN:function(){return H}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,K)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:K}):q[J]=K,h=(q,J)=>{for(var K in J||(J={}))c.call(J,K)&&o(q,K,J[K]);if(l)for(var K of l(J))f.call(J,K)&&o(q,K,J[K]);return q},u=(q,J,K)=>new Promise((ue,ee)=>{var Q=j=>{try{Z(K.next(j))}catch(ae){ee(ae)}},ce=j=>{try{Z(K.throw(j))}catch(ae){ee(ae)}},Z=j=>j.done?ue(j.value):Promise.resolve(j.value).then(Q,ce);Z((K=K.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function m(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function A(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function k(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function C(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function O(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function M(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function B(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function N(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function G(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function H(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function se(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function ie(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function le(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},19985:function(d,_,e){"use strict";e.d(_,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return V},cZ:function(){return u},rV:function(){return O},sT:function(){return b},tS:function(){return N},xt:function(){return C},y2:function(){return l}});var r=e(82093),i=(H,se,ie)=>new Promise((le,q)=>{var J=ee=>{try{ue(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{ue(ie.throw(ee))}catch(Q){q(Q)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,K);ue((ie=ie.apply(H,se)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function C(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function O(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:se})})}function M(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:se})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:se})})}function V(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:se})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},34055:function(d,_,e){"use strict";e.d(_,{$O:function(){return J},EO:function(){return bt},G5:function(){return V},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return ft},JL:function(){return C},Jd:function(){return q},Ny:function(){return k},RV:function(){return ie},Rb:function(){return N},Rm:function(){return G},V9:function(){return ae},Yh:function(){return ce},aN:function(){return b},aQ:function(){return u},ag:function(){return Ye},bg:function(){return Jt},d8:function(){return B},dE:function(){return se},eB:function(){return le},eY:function(){return Me},fn:function(){return We},h:function(){return sr},j5:function(){return m},m$:function(){return tt},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Lt},y8:function(){return nr}});var r=e(76560),i=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.CertifiedTeacher=5]="CertifiedTeacher",Ht[Ht.TrainingProduction=8]="TrainingProduction",Ht[Ht.UncertifiedTeacher=12]="UncertifiedTeacher",Ht[Ht.Student=15]="Student",Ht))(i||{}),l=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.Admin=5]="Admin",Ht[Ht.Teacher=8]="Teacher",Ht[Ht.Assistant=12]="Assistant",Ht[Ht.Student=15]="Student",Ht))(l||{}),c=(Ht=>(Ht[Ht.SuperAdmin=0]="SuperAdmin",Ht[Ht.Teacher=1]="Teacher",Ht[Ht.Student=2]="Student",Ht))(c||{});const f=Ht=>{const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return Ht.some(pe=>pe==(fe==null?void 0:fe.role))},o=Ht=>{const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return fe!=null&&fe.own?!0:Ht.some(pe=>{var Pt;return pe==((Pt=fe==null?void 0:fe.course)==null?void 0:Pt.course_role)})},h=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Oe}=Ht;return Oe.main_site},u=()=>{var Ht;const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return(Ht=fe==null?void 0:fe.course)==null?void 0:Ht.course_is_end},a=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Oe}=Ht;return Oe.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),C=()=>f([1,2,5]),O=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),V=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),se=()=>o([15]),ie=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),q=()=>{var Ht;const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return((Ht=fe==null?void 0:fe.course)==null?void 0:Ht.course_role)===null},J=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Oe}=Ht;return Oe==null?void 0:Oe.has_big_model_permission},K=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Oe}=Ht;return Oe==null?void 0:Oe.big_model_user_unlimited},ue=(Ht=!0,Oe=!1)=>f([1,2,5,8,12,15]),ee=(Ht=!0,Oe=!1)=>Oe||!Oe&&f([1]),Q=(Ht=!0,Oe=!1)=>Oe||!Oe&&f([1,2]),ce=()=>f([15]),Z=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),j=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),ae=(Ht=!0,Oe=!1)=>{const{user:fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=fe;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},me=(Ht=!0,Oe=!1)=>Ht?f([1]):Oe||!Oe&&f([1]),Pe=(Ht=!0,Oe=!1)=>Ht?f([1,2]):Oe||!Oe&&f([1,2]),De=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),He=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):Oe||!Oe&&f([1,2]),je=(Ht=!0,Oe=!1)=>Ht?f([1,2,5]):Oe||!Oe&&f([1,2]),Mt=(Ht=!0,Oe=!1)=>Ht?f([1]):!1,yt=(Ht=!0,Oe=!1)=>f([1,2,5,8,12,15]),kt=(Ht=!0,Oe=!1)=>Ht?f([1]):Oe||!Oe&&f([1]),Zt=(Ht=!0,Oe=!1)=>Ht?f([1,2]):Oe||!Oe&&f([1,2]),Ft=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),tr=(Ht=!0,Oe=!1)=>Ht?!1:Oe||!Oe&&f([1,2]),Ue=(Ht=!0,Oe=!1)=>Ht?Oe||!Oe&&f([1,2]):!1,wt=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):!1,Bt=(Ht=!0,Oe=!1)=>Ht?!Oe&&f([1,2,5,8,12]):!1,rt=(Ht=!0,Oe=!1)=>Ht?f([1,2,5]):Oe||!Oe&&f([1,2]),_t=(Ht=!0,Oe=!1)=>f([1,2,5,8,12]),ct=(Ht=!0,Oe=!1)=>Ht?f([1]):Oe||!Oe&&f([1]),qe=(Ht=!0,Oe=!1)=>Ht?f([1,2]):Oe||!Oe&&f([1,2]),Ne=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):Oe||!Oe&&f([1,2]),xe=(Ht=!0,Oe=!1)=>Ht?Oe||!Oe&&f([1,2]):!1,Le=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):Oe||!Oe&&f([1,2]),Ge=(Ht=!0,Oe=!1)=>o([8]),We=()=>f([1]),Ye=()=>f([1,2]),ft=()=>f([15]),bt=()=>f([1,2,5]),nr=()=>f([1,2,5,12]),Jt=()=>{var Ht;const{user:Oe}=(0,r.getDvaApp)()._store.getState();return!!((Ht=Oe.userInfo)!=null&&Ht.login)},Me=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState();return Ht.userInfo},tt=()=>{var Ht,Oe;const{user:fe}=(0,r.getDvaApp)()._store.getState();return!!((Oe=(Ht=fe.userInfo)==null?void 0:Ht.path)!=null&&Oe.own)},Kt=Ht=>{const{graduations:Oe}=(0,r.getDvaApp)()._store.getState(),{details:fe}=Oe;return Ht.some(pe=>pe===(fe==null?void 0:fe.user_identity))},Lt=()=>Kt([0,1]),$t=()=>Kt([0]),Wt=()=>Kt([1]),sr=()=>Kt([2])},22688:function(d,_,e){"use strict";e.d(_,{Fy:function(){return o},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{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"}],i=["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 l=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u[u.THEMETWO=2]="THEMETWO",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},28048:function(d,_,e){"use strict";e.d(_,{F:function(){return r}});const r={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"}},90524:function(d,_,e){"use strict";e.d(_,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.14",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.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")};var i=null,c={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",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.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"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),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",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),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",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"},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",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")},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",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")},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",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")},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",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")},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",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},82093:function(d,_,e){"use strict";e.d(_,{IV:function(){return Z},U2:function(){return ue},ZP:function(){return le},d4:function(){return ee},gz:function(){return ce},rz:function(){return ie},v_:function(){return Q}});var r=e(90524),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(76560),a=e(49661),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,C=(j,ae,me)=>ae in j?y(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,O=(j,ae)=>{for(var me in ae||(ae={}))k.call(ae,me)&&C(j,me,ae[me]);if(A)for(var me of A(ae))R.call(ae,me)&&C(j,me,ae[me]);return j},M=(j,ae)=>m(j,b(ae)),B=(j,ae,me)=>new Promise((Pe,De)=>{var He=yt=>{try{Mt(me.next(yt))}catch(kt){De(kt)}},je=yt=>{try{Mt(me.throw(yt))}catch(kt){De(kt)}},Mt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(He,je);Mt((me=me.apply(j,ae)).next())});let N;const V={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"},G=(j,ae)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const me=V[j.status]||j.statusText;let Pe;var De=j.json();yield De.then((je,Mt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),Pe=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:je.message?"":me})});const He=new Error(me);throw He.name=j.status,He.response=j,{data:j,code:j.status,message:Pe||me}}),H=(j,ae)=>{const me=j.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function se(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ae){return!1}}const ie=j=>{j=j||{};let ae="";for(let me in j)typeof j[me]=="object"?Array.isArray(j[me])&&j[me].forEach((Pe,De)=>{ae+="&"+me+"[]="+Pe}):j[me]!==void 0&&(ae+="&"+me+"="+(se(j[me])?j[me]:encodeURIComponent(j[me])));return ae.substr(1)};function le(j,ae,me,Pe){ae.method||(ae.method="get"),ae.method=ae.method.toUpperCase(),ae.mode="cors";const De=O({},ae),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:je}=He,Mt=j+(De.body?JSON.stringify(De.body):""),yt=o().sha256().update(Mt).digest("hex"),kt={credentials:"include",withCredentials:!0},Zt={};je!=null&&je.login&&(Zt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Zt.zzsud=je==null?void 0:je.school_id),De.params=O(O({},De.params||{}),Zt));let Ft=O(O({},kt),(0,x.cloneDeep)(De));(Ft.method==="POST"||Ft.method==="PUT"||Ft.method==="PATCH"||Ft.method==="DELETE")&&(me?(Ft.headers=M(O({_method:ae.method.toUpperCase()},Ft.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Ft.body=De.body):(Ft.headers=O({Accept:"application/json",_method:ae.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Ft.headers),Ft.body=JSON.stringify(De.body))),Ft.method=="GET"?(Ft.headers=M(O({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ae.method.toUpperCase()},Ft.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),De.params&&ie(De.params)&&(j+="?"+ie(De.params))):Zt.zzud&&(j+="?"+ie(O({},Zt)));const tr=De.expirys&&60;let Ue;(_t=>{_t.json="application/json;charset=UTF-8",_t.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ue||(Ue={}));let wt;(_t=>{_t.get="GET",_t.post="POST"})(wt||(wt={}));const Bt=_t=>B(this,null,function*(){const ct=yield _t.arrayBuffer();let qe;const Ne=new Blob([ct]);try{qe=_t.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(We){qe="userfiles.zip"}const xe=document.createElement("a"),Le=window.URL.createObjectURL(Ne),Ge=qe;return xe.href=Le,xe.download=Ge,xe.click(),window.URL.revokeObjectURL(Le),ct});let rt=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(rt=""),Ft.method=="GET"&&Ft.params&&Object.keys(Ft.params).map(_t=>{if(Ft.params[_t]&&!Array.isArray(Ft.params[_t]))try{Ft.params[_t]=encodeURIComponent(decodeURIComponent(Ft.params[_t]))}catch(ct){Ft.params[_t]=encodeURIComponent(Ft.params[_t])}}),(0,a.Ec)(Ft,j),Pe&&(rt=""),Ft.headers._method=Ft.method,Ft.headers["X-HTTP-Method-Override"]=Ft.method,Ft.method!=="GET"&&(Ft.method="POST"),fetch(rt+j,Ft).then(_t=>G(_t,O({url:r.Z.API_SERVER+j},Ft))).then(_t=>H(_t,yt)).then(_t=>B(this,null,function*(){var ct,qe,Ne,xe;try{const Ge=_t.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(_t.status===204)return _t.text();let Le;if(_t.headers.get("content-type").indexOf("application/json")>-1){Le=yield _t.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,We=/\"\/api\/attachments\/(\d+)\//g,Ye=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ft=/\/api\/attachments\/(\d+)/g,bt=/\/attachments\/download\/(\d+)/g;let nr=JSON.stringify(Le).replace(ft,(Jt,Me,tt,Kt)=>{const Lt=Me||tt||Kt;return"/api/attachments/"+(0,a.Jn)(Lt)}).replace(bt,(Jt,Me,tt)=>{const Kt=Me||tt;return"/attachments/download/"+(0,a.Jn)(Kt)}).replace(Ge,(Jt,Me,tt,Kt)=>{const Lt=Me||tt||Kt;return"(/api/attachments/"+(0,a.Jn)(Lt)}).replace(We,(Jt,Me,tt)=>{const Kt=Me||tt;return'"/api/attachments/'+(0,a.Jn)(Kt)}).replace(Ye,(Jt,Me,tt)=>{const Kt=Me||tt;return"(/files/uploads/"+(0,a.Jn)(Kt)}).replace(/\r\n/g,` +`)}]};var u=e(53184),a=e.n(u),x=(Zt,Ft,tr)=>new Promise((Ue,wt)=>{var Bt=ct=>{try{_t(tr.next(ct))}catch(qe){wt(qe)}},rt=ct=>{try{_t(tr.throw(ct))}catch(qe){wt(qe)}},_t=ct=>ct.done?Ue(ct.value):Promise.resolve(ct.value).then(Bt,rt);_t((tr=tr.apply(Zt,Ft)).next())});const p={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},y=(Zt,Ft,tr,Ue)=>{const wt=Ft.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:tr.lineNumber,endColumn:tr.column});return Array.from(new Set(wt.match(/\b\w{2,}\b/g)||[])).map(rt=>({label:rt,kind:Zt.languages.CompletionItemKind.Text,insertText:rt,range:Ue}))},m=(Zt,Ft,tr,Ue)=>{Zt.languages.registerCompletionItemProvider(Ft,{provideCompletionItems(wt,Bt){const rt=wt.getWordUntilPosition(Bt),_t={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:rt.startColumn,endColumn:rt.endColumn},ct=wt.getLineContent(Bt.lineNumber).substring(rt.startColumn-2,rt.endColumn);return{suggestions:[...y(Zt,wt,Bt,_t),...tr.map(Ne=>({label:Ne,kind:Zt.languages.CompletionItemKind.Keyword,documentation:Ne,insertText:Ne,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_t})),...Ue.map(Ne=>({label:Ne.label,kind:Zt.languages.CompletionItemKind.Snippet,documentation:Ne.content,insertText:ct.startsWith("#")?Ne.content.replace(/#/,""):Ne.content,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_t}))]}}})};var b=Zt=>{p.languages.forEach(Ft=>{Zt.languages.registerDocumentFormattingEditProvider(Ft,{provideDocumentFormattingEdits(tr){return x(this,null,function*(){const Ue=a()(tr.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:tr.getFullModelRange(),text:Ue}]})}})}),m(Zt,"java",c.keywords,c.quickKey),m(Zt,"cpp",f.keywords,f.quickKey),m(Zt,"c",l.keywords,[]),m(Zt,"python",o.keywords,o.quickKey),m(Zt,"scala",h.keywords,h.quickKey)};const A="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(Zt,Ft,tr)=>Ft in Zt?k(Zt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Zt[Ft]=tr,C=(Zt,Ft,tr)=>R(Zt,typeof Ft!="symbol"?Ft+"":Ft,tr);const O=class kd{constructor(Ft,tr,Ue){this.placeholder=Ft,this.editor=tr,this.monaco=Ue,tr.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};C(O,"ID","editor.widget.placeholderHint");var B=O,N=e(96236),V=e(8591),G=e(6848),H=e(89392),se=e(33796),ie=e(56102),le=Object.defineProperty,q=Object.defineProperties,J=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,Q=(Zt,Ft,tr)=>Ft in Zt?le(Zt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:tr}):Zt[Ft]=tr,ce=(Zt,Ft)=>{for(var tr in Ft||(Ft={}))ue.call(Ft,tr)&&Q(Zt,tr,Ft[tr]);if(K)for(var tr of K(Ft))ee.call(Ft,tr)&&Q(Zt,tr,Ft[tr]);return Zt},Z=(Zt,Ft)=>q(Zt,J(Ft)),j=(Zt,Ft)=>{var tr={};for(var Ue in Zt)ue.call(Zt,Ue)&&Ft.indexOf(Ue)<0&&(tr[Ue]=Zt[Ue]);if(Zt!=null&&K)for(var Ue of K(Zt))Ft.indexOf(Ue)<0&&ee.call(Zt,Ue)&&(tr[Ue]=Zt[Ue]);return tr},ae=(Zt,Ft,tr)=>new Promise((Ue,wt)=>{var Bt=ct=>{try{_t(tr.next(ct))}catch(qe){wt(qe)}},rt=ct=>{try{_t(tr.throw(ct))}catch(qe){wt(qe)}},_t=ct=>ct.done?Ue(ct.value):Promise.resolve(ct.value).then(Bt,rt);_t((tr=tr.apply(Zt,Ft)).next())});function me(Zt){return/^\d+$/.test(Zt)?`${Zt}px`:Zt}function Pe(){}let De=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function je(Zt=[]){let Ft=Zt;if(Array.isArray(Zt)){for(let tr=0;tr{var Ft=Zt,{width:tr="100%",height:Ue="100%",value:wt,language:Bt="javascript",style:rt={},options:_t={},overrideServices:ct={},theme:qe="vs-dark",onEditBlur:Ne,isCopy:xe=!1,onSave:Le,autoHeight:Ge=!1,forbidCopy:We=!1,onChange:Ye=Pe,editorDidMount:ft=Pe,onFocus:bt=Pe,onBreakPoint:nr=Pe,breakPointValue:Jt=[],filename:Me="educoder.txt",errorLine:tt,errorContent:Kt="",highlightLine:Lt,openBreakPoint:$t=!1,placeholder:Wt=""}=Ft,sr=j(Ft,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ht=(0,r.useRef)(),Oe=(0,r.useRef)({}),fe=(0,r.useRef)(),pe=(0,r.useRef)(),Pt=(0,r.useRef)([]),Te=(0,r.useRef)(!1),lt=(0,r.useRef)(),Gt=(0,r.useRef)(),Ct=(0,r.useRef)(!1),[Ie,St]=(0,r.useState)(!1);function Ze(){let Xt;return Ht.current&&(Xt=new i.Z(vt=>{for(let ot of vt)(ot.target.offsetHeight>0||ot.target.offsetWidth>0)&&Oe.current.instance.layout()}),Xt.observe(Ht.current)),Xt}function Se(){V.ZP.warning({content:decodeURIComponent(A),key:"monaco-editor-tip"})}const gt=()=>{let Xt=Oe.current.instance;if(wt!=null&&Xt&&Ie){const vt=Xt.getModel();vt&&wt!==vt.getValue()&&(De=!0,vt.setValue(wt),Xt.layout(),De=!1)}};(0,r.useEffect)(()=>{const Xt=se.Z.subscribe("formatDocument",vt=>{var ot;let ut=Oe.current.instance;(ot=ut==null?void 0:ut.getAction)==null||ot.call(ut,"editor.action.formatDocument").run()});return window.updateMonacoValue=vt=>{Ye(vt)},Xt},[]),(0,r.useEffect)(()=>{var Xt;let vt=Oe.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{gt()},500),wt&&(wt!=null&&wt.length)&&((Xt=vt==null?void 0:vt.updateOptions)==null||Xt.call(vt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(wt.split(/\r\n|\r|\n/g).length))+3,5)}))},[wt,Ie,Oe.current]),(0,r.useEffect)(()=>{if(tt&&Oe.current&&Oe.current.instance){let vt=Oe.current.instance;vt.changeViewZones(function(ot){var ut=document.createElement("div");ut.style.padding="10px 20px",ut.style.width="calc(100% - 20px)",ut.className="my-error-line-wrp",ut.innerHTML=Kt,ot.addZone({afterLineNumber:tt||11,heightInLines:3,domNode:ut})});var Xt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};vt.addOverlayWidget(Xt),vt.revealPositionInCenter({lineNumber:20,column:1})}},[tt,Oe.current,Ie]);const Rt=(Xt="",vt)=>{if(!Xt||Xt.trim()==="")return!0;const ut=Oe.current.instance.getModel().getLineTokens(vt);let Nt=!1;for(let yr=0;yr<2;yr++)ut.getStandardTokenType(yr)===1&&(Nt=!0);return Nt};(0,r.useEffect)(()=>{var Xt;const vt=(Xt=Oe.current)==null?void 0:Xt.instance;if(vt&&Ie&&We){const ot=vt.onDidBlurEditorWidget(()=>{Ct.current=!1}),ut=vt.onDidFocusEditorText(()=>{Ct.current=!0});return()=>{ot.dispose(),ut.dispose()}}},[Oe.current,Ie,We]),(0,r.useEffect)(()=>{var Xt;if((Xt=Oe.current)!=null&&Xt.instance&&Ie&&$t){let vt=Oe.current.instance,ot=vt.getModel();if(!ot)return;(()=>{var On;let Gn=[],xn=[];const mi=ot.getAllDecorations();for(let vi of mi)vi.options.className==="highlighted-line"&&(Gn.push((On=vi==null?void 0:vi.range)==null?void 0:On.startLineNumber),xn.push(vi==null?void 0:vi.id));if(Lt===Gn[0])return;ot.deltaDecorations(xn,[]);const Vn=ot.getLineCount();Lt&&Lt<=Vn&&(vt.deltaDecorations([],[{range:new Mt.Range(Lt,1,Lt,ot.getLineMaxColumn(Lt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),vt.revealLineInCenter(Lt))})();const Nt=(On=!1)=>{var Gn;let xn=[],mi=[];const Vn=ot.getAllDecorations();for(let vi of Vn)vi.options.linesDecorationsClassName==="breakpoints-select"&&(xn.push((Gn=vi==null?void 0:vi.range)==null?void 0:Gn.startLineNumber),mi.push(vi==null?void 0:vi.id));if(On)return{lines:xn,ids:mi};nr(xn)},yr=On=>ae(void 0,null,function*(){let Gn={range:new Mt.Range(On,1,On,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ot.deltaDecorations([],[Gn]),Nt()}),vr=On=>ae(void 0,null,function*(){let Gn=[];const xn=vt.getLineDecorations(On);for(let mi of xn)mi.options.linesDecorationsClassName==="breakpoints-select"&&Gn.push(mi.id);yield ot.deltaDecorations(Gn,[]),Nt()}),Kr=On=>{let Gn=vt.getLineDecorations(On);for(let xn of Gn)if(xn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,H.isEqual)(Jt,Nt(!0).lines)){ot.deltaDecorations(Nt(!0).ids,[]);const On=Jt.map(Gn=>({range:new Mt.Range(Gn,1,Gn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ot.deltaDecorations([],On)}const Nr=vt.onDidChangeModelContent(On=>{let Gn=vt.getPosition();if(Gn){let xn=Gn.lineNumber;clearTimeout(Gt.current),Gt.current=setTimeout(()=>{Rt(ot.getLineContent(xn),xn)?vr(xn):Kr(xn)?(vr(xn),yr(xn)):Nt()},100)}}),mn=vt.onMouseDown(On=>{var Gn,xn,mi;if(On.target.detail&&((mi=(xn=(Gn=On.target)==null?void 0:Gn.element)==null?void 0:xn.className)!=null&&mi.includes("line-numbers"))){let Vn=On.target.position.lineNumber;if(Rt(ot.getLineContent(Vn),Vn))return;Kr(Vn)?vr(Vn):yr(Vn)}}),Et=On=>{let Gn={range:new Mt.Range(On,1,On,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Pt.current=vt.deltaDecorations(Pt.current,[Gn])},Or=()=>{Pt.current=vt.deltaDecorations(Pt.current,[])},Sn=vt.onMouseMove(On=>{var Gn,xn,mi;if(Or(),On.target.detail&&((mi=(xn=(Gn=On.target)==null?void 0:Gn.element)==null?void 0:xn.className)!=null&&mi.includes("line-numbers"))){let Vn=On.target.position.lineNumber;if(Rt(ot.getLineContent(Vn),Vn))return;Et(Vn)}}),Zn=vt.onMouseLeave(()=>{Or()});return()=>{Nr.dispose(),mn.dispose(),Sn.dispose(),Zn.dispose()}}},[Oe.current,Ie,Jt,Lt,$t,Bt]),(0,r.useEffect)(()=>{var Xt;(Xt=Oe.current)!=null&&Xt.instance&&$t&&Oe.current.instance.setPosition({lineNumber:0,column:0})},[Lt]);function Fe(){let Xt=Oe.current.instance;if(Xt){const vt=Xt.getSelection(),ot=Oe.current.pastePos||{},ut=new Mt.Range(ot.startLineNumber||vt.endLineNumber,ot.startColumn||vt.endColumn,ot.endLineNumber||vt.endLineNumber,ot.endColumn||vt.endColumn);setTimeout(()=>{Xt.executeEdits("",[{range:ut,text:""}])},300)}}function Tr(Xt){(window.navigator.platform.match("Mac")?Xt.metaKey:Xt.ctrlKey)&&Xt.keyCode==83&&(Xt.preventDefault(),Le())}const At=()=>{if(Ge&&Oe.current.instance){const Xt=Oe.current.instance.getContentHeight();en(Xt{if(!Ct.current)return;const{keyCode:vt,ctrlKey:ot,metaKey:ut,target:Nt,type:yr}=Xt;return(yr==="paste"||(vt===67||vt===86)&&(ut||ot))&&Nt.nodeName==="TEXTAREA"&&(Se(),Xt.preventDefault()),!1};function Pr(Xt,vt){var ot=window.URL||window.webkitURL||window,ut=new Blob([vt]),Nt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Nt.href=ot.createObjectURL(ut),Nt.download=Xt,Hr(Nt)}(0,r.useEffect)(()=>{At()},[At]),(0,r.useEffect)(()=>{Ht.current&&!Ie&&Promise.all([e.e(8909),e.e(5028)]).then(e.bind(e,71448)).then(Xt=>{try{Mt=Xt,Oe.current.instance=Mt.editor.create(Ht.current,{value:wt,language:je(Bt),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ct);const vt=Oe.current.instance;let Nt=[...N.BH._menuItems].find(Nr=>Nr[0]._debugName=="EditorContext")[1],yr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vr=(Nr,mn)=>{var Et,Or;let Sn=Nr._first;do mn.includes((Or=(Et=Sn.element)==null?void 0:Et.command)==null?void 0:Or.id)&&Nr._remove(Sn);while(Sn=Sn.next)};if(ft(vt,Mt),setTimeout(()=>{At(),Oe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Pr(Me||"educoder.txt",vt.getValue())}})},500),Oe.current.subscription=vt.onDidChangeModelContent(Nr=>{Te.current?clearTimeout(lt.current):(At(),Ye(vt.getValue(),Nr)),lt.current=setTimeout(()=>{Te.current=!1},500)}),window.Monaco||b(Mt,je(Bt)),We&&(vr(Nt,yr),Ht.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Xr),window.removeEventListener("paste",Xr),window.addEventListener("keydown",Xr),window.addEventListener("paste",Xr)),window.Monaco=Mt,Ne&&vt.onDidBlurEditorWidget(()=>{Ne(vt.getValue())}),bt&&vt.onDidFocusEditorText(()=>{bt(vt.getValue())}),We)try{vt.onDidPaste(Nr=>{const mn=vt.getSelection(),Et=Oe.current.pastePos||{},Or=new Mt.Range(Et.startLineNumber||mn.endLineNumber,Et.startColumn||mn.endColumn,Et.endLineNumber||mn.endLineNumber,Et.endColumn||mn.endColumn);vt.executeEdits("",[{range:Nr.range,text:""}])})}catch(Nr){}let Kr=Ze();return Wt&&typeof Wt=="string"&&new B(Wt,vt,Mt),St(!0),()=>{const Nr=Oe.current.instance;Nr.dispose();const mn=Nr.getModel();mn&&mn.dispose(),Oe.current.subscription&&Oe.current.subscription.dispose(),Kr.unobserve(Ht.current)}}catch(vt){}})},[]),(0,r.useEffect)(()=>{if(Oe.current.instance&&Ie)return document.addEventListener("keydown",Tr,!1),()=>{document.removeEventListener("keydown",Tr)}},[Le,Ie]),(0,r.useEffect)(()=>{let Xt=Oe.current.instance;if(Xt&&Ie){let vt=je(Bt);Mt.editor.setModelLanguage(Xt.getModel(),vt)}},[Bt,Ie]),(0,r.useEffect)(()=>{Oe.current.instance&&Ie&&Mt.editor.setTheme(qe)},[qe,Ie]),(0,r.useEffect)(()=>{let Xt=Oe.current.instance;fe.current=_t,Xt&&Ie&&(Xt.updateOptions(ce({},_t)),setTimeout(()=>{Xt.getModel().updateOptions(ce({},_t))},200))},[JSON.stringify(_t),Ie]),(0,r.useEffect)(()=>{let Xt=Oe.current.instance;Xt&&Ie&&Xt.layout()},[tr,Ue,Ie]);const[Rr,mr]=(0,r.useState)(me(tr)),[jr,en]=(0,r.useState)(me(Ue)),on=Z(ce({},rt),{width:Rr,height:jr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:Ht,style:on},xe&&r.createElement(ie.CopyToClipboard,{text:wt,onCopy:()=>V.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(G.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function kt({width:Zt="100%",height:Ft="100%",original:tr,modified:Ue,language:wt,options:Bt={}}){const rt=(0,r.useRef)(),[_t,ct]=(0,r.useState)(null);function qe(Ge){let We;return rt.current&&(We=new i.Z(Ye=>{for(let ft of Ye)(ft.target.offsetHeight>0||ft.target.offsetWidth>0)&&Ge.layout()}),We.observe(rt.current)),We}(0,r.useEffect)(()=>(rt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ge=>{Mt=Ge;const We=Mt.editor.createDiffEditor(rt.current,Z(ce({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Bt),{wordWrap:!0}));ct(We);let Ye=qe(We);return()=>{We.dispose();const ft=We.getModel();ft&&ft.dispose(),Ye.unobserve(rt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{_t&&_t.setModel({original:Mt.editor.createModel(tr,wt),modified:Mt.editor.createModel(Ue,wt)})},[tr,Ue,wt,_t]);const Ne=me(Zt),xe=me(Ft),Le={width:Ne,height:xe};return r.createElement("div",{className:"my-diff-editor",ref:rt,style:Le})}},97760:function(d,_,e){"use strict";e.d(_,{k:function(){return b}});var r=e(83325),i=e(8591),l=e(56854),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,C)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:C}):k[R]=C,p=(k,R)=>{for(var C in R||(R={}))u.call(R,C)&&x(k,C,R[C]);if(h)for(var C of h(R))a.call(R,C)&&x(k,C,R[C]);return k},y=(k,R)=>f(k,o(R)),m=(k,R)=>{var C={};for(var O in k)u.call(k,O)&&R.indexOf(O)<0&&(C[O]=k[O]);if(k!=null&&h)for(var O of h(k))R.indexOf(O)<0&&a.call(k,O)&&(C[O]=k[O]);return C};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:R,put:C}){yield C({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:C,select:O}){const{userInfo:M}=yield O(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(V=>({label:V.name,value:V.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:C,select:O}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield O(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield C({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(V=>({label:V.year,value:V.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:C,select:O}){const{calc:M,page:B,per_page:N}=k,{headerData:V,tabListData:G}=yield O(ie=>ie.engineeringEvaluteList),{userInfo:H}=yield O(ie=>ie.user);let se=V.active[b[1]];if(se){let ie={id:se,page:B||1,per_page:N||G.pageSize};M&&(ie=y(p({},ie),{page:G.pageNo}));const le=yield R(r._y,ie),q=[V.active[b[0]],V.active[b[1]]];l.U.setItem(H==null?void 0:H.login,q),le&&le.ec_courses&&(yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:ie.page,total:le.count,pageSize:ie.per_page||G.pageSize,dataSource:le.ec_courses.map((J,K)=>y(p({},J),{key:ie.page>1?(ie.page-1)*ie.per_page+K+1:K+1}))})}))}else yield C({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:C}){const{headerData:O}=yield C(M=>M.engineeringEvaluteList);O.active[b[1]]&&(yield R(r.F,O.active[b[1]]))},*compute({payload:k},{call:R,put:C}){const O=k,{all:M}=O,B=m(O,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield C({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let C=k.headerData.active;return R.active&&(C=y(p({},C),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:C})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:C})=>{C==="/"&&k({type:"query"})})}}};_.Z=A},37798:function(d,_,e){"use strict";e.d(_,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(m=>({value:m.id,label:m.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:m,multiple_questions:b,judgement_questions:A,program_questions:k,completion_questions:R,subjective_questions:C,practical_questions:O,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},C),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},O),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(V=>V.questions_count>0).map((V,G)=>o(o({},V),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},56854:function(d,_,e){"use strict";e.d(_,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(34055);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},96047:function(d,_,e){"use strict";e.d(_,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return O},Zm:function(){return u},bz:function(){return f},eF:function(){return A},gQ:function(){return R},ht:function(){return m},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return C}});var r=e(82093),i=(N,V,G)=>new Promise((H,se)=>{var ie=J=>{try{q(G.next(J))}catch(K){se(K)}},le=J=>{try{q(G.throw(J))}catch(K){se(K)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ie,le);q((G=G.apply(N,V)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function C(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function O(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,V){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:V})})}},1754:function(d,_,e){"use strict";e.d(_,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,A)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):m[b]=A,h=(m,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(m,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(m,A,b[A]);return m},u=(m,b,A)=>new Promise((k,R)=>{var C=B=>{try{M(A.next(B))}catch(N){R(N)}},O=B=>{try{M(A.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(C,O);M((A=A.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},14794:function(d,_,e){"use strict";e.d(_,{$n:function(){return A},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var V=se=>{try{H(M.next(se))}catch(ie){N(ie)}},G=se=>{try{H(M.throw(se))}catch(ie){N(ie)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(V,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},C)})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}.json`,{method:"get",params:h({},C)})})}function m(C){return u(this,null,function*(){const{id:O}=C;return delete C.id,(0,r.ZP)(`/api/files/${O}.json`,{method:"put",body:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C.id}/update_visits.json`,{method:"post"})})}function A(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/watch_list.json`,{method:"get",params:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${C==null?void 0:C.id}/add_file_quantity.json`,{method:"post",body:h({},C)})})}},74891:function(d,_,e){"use strict";e.d(_,{CJ:function(){return y},Mf:function(){return R},NA:function(){return A},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(C,O,M)=>O in C?i(C,O,{enumerable:!0,configurable:!0,writable:!0,value:M}):C[O]=M,h=(C,O)=>{for(var M in O||(O={}))c.call(O,M)&&o(C,M,O[M]);if(l)for(var M of l(O))f.call(O,M)&&o(C,M,O[M]);return C},u=(C,O,M)=>new Promise((B,N)=>{var V=se=>{try{H(M.next(se))}catch(ie){N(ie)}},G=se=>{try{H(M.throw(se))}catch(ie){N(ie)}},H=se=>se.done?B(se.value):Promise.resolve(se.value).then(V,G);H((M=M.apply(C,O)).next())});function a(C){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},C)})})}function x(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}.json`,{method:"get",params:h({},C)})})}function p(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function y(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.id}/sticky_top.json`,{method:"put",body:{course_id:C.coursesId}})})}function m(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply_list.json`,{method:"get",params:h({},C)})})}function b(C){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${C.boardId}/reply.json`,{method:"post",body:h({},C)})})}function A(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},C)})})}function k(C){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},C)})})}function R(C){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},C)})})}},64948:function(d,_,e){"use strict";e.d(_,{$T:function(){return vr},A:function(){return Wt},Ab:function(){return Vn},Al:function(){return Q},BQ:function(){return ct},BR:function(){return ee},Bn:function(){return Ge},Cq:function(){return Nt},DJ:function(){return je},Dd:function(){return m},Ds:function(){return Ne},EO:function(){return sr},Ed:function(){return Mt},F9:function(){return ft},FU:function(){return nr},Fg:function(){return b},GV:function(){return tr},Gk:function(){return q},Gm:function(){return Bt},Gz:function(){return A},Hl:function(){return k},Hn:function(){return G},ID:function(){return en},IU:function(){return Te},J2:function(){return Zt},K$:function(){return xe},KP:function(){return yt},KT:function(){return De},L$:function(){return Kt},LH:function(){return O},Lk:function(){return Xi},Ls:function(){return ae},MA:function(){return Et},Mc:function(){return Jn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Pt},Ns:function(){return on},O3:function(){return He},Pj:function(){return wt},QX:function(){return pe},QZ:function(){return Pe},R2:function(){return K},Rk:function(){return yr},S9:function(){return Lt},U8:function(){return vt},UD:function(){return Pr},U_:function(){return se},Uy:function(){return mr},V8:function(){return V},Vw:function(){return j},W0:function(){return Gt},W7:function(){return qe},WK:function(){return Or},Wr:function(){return mi},YR:function(){return Oe},Z0:function(){return gt},ZL:function(){return St},ZT:function(){return vi},ZX:function(){return Zn},Z_:function(){return M},_0:function(){return B},_9:function(){return rt},_B:function(){return Di},aP:function(){return Ct},aQ:function(){return _t},aZ:function(){return Me},al:function(){return $t},bm:function(){return Xr},bz:function(){return We},c_:function(){return ut},ds:function(){return Hr},fN:function(){return Sn},fr:function(){return Ht},g4:function(){return Ft},gq:function(){return R},hf:function(){return Z},i:function(){return Rt},i6:function(){return Nr},i7:function(){return jr},iE:function(){return a},ih:function(){return On},kW:function(){return kt},km:function(){return Xt},nP:function(){return p},nQ:function(){return Ye},nX:function(){return Tr},oM:function(){return Le},oR:function(){return fa},o_:function(){return Ie},pf:function(){return At},pr:function(){return zi},pv:function(){return Kr},qB:function(){return ce},r2:function(){return N},rS:function(){return C},s:function(){return Gn},sb:function(){return tt},sm:function(){return y},t1:function(){return Ue},tB:function(){return xn},tR:function(){return bt},td:function(){return lt},uh:function(){return Jt},up:function(){return ot},v2:function(){return x},vV:function(){return Ze},w9:function(){return ie},wR:function(){return mn},yS:function(){return fe},yV:function(){return J},yd:function(){return Fe},zg:function(){return me}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Dt,ht,Pi)=>ht in Dt?i(Dt,ht,{enumerable:!0,configurable:!0,writable:!0,value:Pi}):Dt[ht]=Pi,h=(Dt,ht)=>{for(var Pi in ht||(ht={}))c.call(ht,Pi)&&o(Dt,Pi,ht[Pi]);if(l)for(var Pi of l(ht))f.call(ht,Pi)&&o(Dt,Pi,ht[Pi]);return Dt},u=(Dt,ht,Pi)=>new Promise((Ki,oi)=>{var xa=vn=>{try{ei(Pi.next(vn))}catch(rr){oi(rr)}},di=vn=>{try{ei(Pi.throw(vn))}catch(rr){oi(rr)}},ei=vn=>vn.done?Ki(vn.value):Promise.resolve(vn.value).then(xa,di);ei((Pi=Pi.apply(Dt,ht)).next())});const a=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/course_videos/configs.json`,{method:"put",body:Dt})}),x=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Dt})}),p=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Dt})}),y=Dt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Dt})}),m=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Dt})}),b=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Dt})}),A=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Dt})}),k=Dt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Dt})});function R(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Dt.permissions)})})}function C(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Dt)})})}function O(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/ai_status_query.json`,{method:"Get",params:Dt})})}function M(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Dt)})})}function B(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/get_user_portrait_config.json`,{method:"Get",params:Dt})})}function N(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_user_portrait_config.json?id=${Dt.coursesId}`,{method:"put",body:h({},Dt)})})}function V(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Dt)})})}function G(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Dt)})})}function H(Dt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Dt)})})}function se(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/top_banner.json`,{method:"get",params:h({},Dt)})})}function ie(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id||Dt.coursesId}/left_banner.json`,{method:"get",params:h({},Dt)})})}function le(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons.json`,{method:"get",params:h({},Dt)})})}function q(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons/list.json`,{method:"get",params:h({},Dt)})})}function J(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/graduation_topics.json`,{method:"get",params:h({},Dt)})})}function K(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/graduation_tasks.json`,{method:"get",params:h({},Dt)})})}function ue(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Dt.id}/exercises.json`,{method:"get",params:h({},Dt)})})}function ee(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/polls.json`,{method:"get",params:h({},Dt)})})}function Q(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/homework_commons.json`,{method:"get",params:h({},Dt)})})}function ce(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_groups.json`,{method:"get",params:h({},Dt)})})}function Z(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/all_course_groups.json`,{method:"get",params:h({},Dt)})})}function j(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/attendances.json`,{method:"get",params:h({},Dt)})})}function ae(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Dt.coursesId}/attendances.json`,{method:"get",params:h({},Dt)})})}function me(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Dt.id}/edit.json`,{method:"get",params:h({},Dt)})})}function Pe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/informs.json`,{method:"get",params:h({},Dt)})})}function De(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Dt)})})}function He(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_videos.json`,{method:"get",params:h({},Dt)})})}function je(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/live_links.json`,{method:"get",params:h({},Dt)})})}function Mt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Dt)})})}function yt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Dt.categoryId}/messages.json`,{method:"get",params:h({},Dt)})})}function kt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/course_groups.json`,{method:"get",params:h({},Dt)})})}function Zt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/students.json`,{method:"get",params:h({},Dt)})})}function Ft(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/statistics.json`,{method:"get",params:h({},Dt)})})}function tr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/work_score.json`,{method:"get",params:h({},Dt)})})}function Ue(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/act_score.json`,{method:"get",params:h({},Dt)})})}function wt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Dt)})})}function Bt(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Dt)})})}function rt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Dt)})})}function _t(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Dt)})})}function ct(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt==null?void 0:Dt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Dt)})})}function qe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Dt)})})}function Ne(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Dt)})})}function xe(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Dt})})}function Le(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Dt})})}function Ge(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Dt})})}function We(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Dt})})}function Ye(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Dt})})}function ft(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Dt)})})}function bt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.identifier}/add_student_groups.json`,{method:"post",body:Dt})})}function nr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Dt})})}function Jt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/add_teacher.json`,{method:"post",body:Dt})})}function Me(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/add_students_by_search.json`,{method:"post",body:Dt})})}function tt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/set_public_or_private.json`,{method:"post",body:Dt})})}function Kt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/set_invite_code_halt.json`,{method:"post",body:Dt})})}function Lt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/duplicate_course.json`,{method:"post",body:Dt})})}function $t(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/update_end_date.json`,{method:"put",body:Dt})})}function Wt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}.json`,{method:"delete",body:Dt})})}function sr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/settings.json`,{method:"get",params:h({},Dt)})})}function Ht(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}.json`,{method:"put",body:Dt})})}function Oe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Dt)})})}function pe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Pt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Te(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Dt)})})}function lt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Dt)})})}function Gt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Dt)})})}function Ct(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Dt)})})}function Ie(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Dt)})})}function St(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Dt)})})}function Ze(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Dt)})})}function Se(Dt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Dt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Dt)})})}function gt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Dt.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Dt.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Dt.id}/sticky_module.json`,{method:"get"})})}function Tr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Dt.id}/hidden_module.json`,{method:"get"})})}function At(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Dt})})}function Hr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Dt.id}.json`,{method:"get",params:Dt})})}function Xr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Dt})})}function Pr(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Dt})})}function Rr(Dt){return u(this,null,function*(){return Fetch(`/api/polls/${Dt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Dt)})})}function mr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Dt)})})}function jr(Dt){return(0,r.ZP)(`/api/polls/${Dt.categoryId}/start_answer.json`,{method:"get",params:h({},Dt)})}function en(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Dt.questionId}/poll_votes.json`,{method:"post",body:Dt})})}function on(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Dt.categoryId}/commit_poll.json`,{method:"post",body:Dt})})}function Xt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.courseId}/tasks_list.json`,{method:"get",params:Dt})})}function vt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.courseId}/update_task_position.json`,{method:"post",body:Dt})})}function ot(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Dt})})}function ut(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/all_course_groups.json`,{method:"get",params:Dt})})}function Nt(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/polls/all_course_groups.json`,{method:"get",params:Dt})})}function yr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/students.json`,{method:"get",params:Dt})})}function vr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Dt.categoryId}/rename_group.json`,{method:"POST",body:Dt})})}function Kr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Dt.categoryId}.json`,{method:"delete",body:Dt})})}function Nr(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/join_course_group.json`,{method:"POST",body:Dt})})}function mn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/transfer_to_course_group.json`,{method:"post",body:Dt})})}function Et(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/delete_from_course.json`,{method:"post",body:Dt})})}function Or(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/join_course_group.json`,{method:"post",body:Dt})})}function Sn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/exit_course.json`,{method:"post"})})}function Zn(Dt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Dt)})})}function On(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users/${Dt.user_id}/edit.json`,{method:"get",params:Dt})})}function Gn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users.json`,{method:"post",body:Dt})})}function xn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.coursesId}/mooc_users/${Dt.user_id}.json`,{method:"put",body:Dt})})}function mi(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Dt.id}/move_category.json`,{method:"post",body:Dt})})}function Vn(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Dt.id}/move_category.json`,{method:"post",body:Dt})})}function vi(Dt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt.id}/courseware.json`,{method:"get",params:Dt})})}function zi(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt}/mark_wrong_topic.json`,{method:"get",params:ht})})}function Di(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Dt}/cancel_wrong_topic.json`,{method:"get",params:ht})})}function fa(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Dt}/allow_end_group.json`,{method:"get",params:ht})})}function Jn(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Dt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ht})})}function Xi(Dt,ht){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Dt}/get_content_for_commit_id.json`,{method:"get",params:ht})})}},65906:function(d,_,e){"use strict";e.d(_,{$M:function(){return Ft},$P:function(){return nr},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ne},JM:function(){return We},Ju:function(){return Zt},Mn:function(){return qe},Ni:function(){return ae},Pg:function(){return R},Pt:function(){return A},Qp:function(){return K},R9:function(){return se},Ux:function(){return ue},Vy:function(){return He},XJ:function(){return j},XR:function(){return yt},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return xe},ml:function(){return ce},o3:function(){return Ue},pA:function(){return Bt},pS:function(){return Ge},pU:function(){return Z},ps:function(){return G},q0:function(){return _t},qN:function(){return ct},qS:function(){return b},qj:function(){return Mt},qt:function(){return ft},rV:function(){return C},rZ:function(){return Ye},rk:function(){return Pe},rm:function(){return J},sK:function(){return q},sL:function(){return rt},su:function(){return Le},tC:function(){return De},tO:function(){return je},u9:function(){return Q},uZ:function(){return me},vV:function(){return V},xx:function(){return Jt},y8:function(){return kt},yS:function(){return N},zF:function(){return y},zc:function(){return ie},zj:function(){return O},zz:function(){return bt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Me,tt,Kt)=>tt in Me?i(Me,tt,{enumerable:!0,configurable:!0,writable:!0,value:Kt}):Me[tt]=Kt,h=(Me,tt)=>{for(var Kt in tt||(tt={}))c.call(tt,Kt)&&o(Me,Kt,tt[Kt]);if(l)for(var Kt of l(tt))f.call(tt,Kt)&&o(Me,Kt,tt[Kt]);return Me},u=(Me,tt,Kt)=>new Promise((Lt,$t)=>{var Wt=Oe=>{try{Ht(Kt.next(Oe))}catch(fe){$t(fe)}},sr=Oe=>{try{Ht(Kt.throw(Oe))}catch(fe){$t(fe)}},Ht=Oe=>Oe.done?Lt(Oe.value):Promise.resolve(Oe.value).then(Wt,sr);Ht((Kt=Kt.apply(Me,tt)).next())});const a=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/create_guide.json`,{method:"post",body:Me}),x=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/guides.json`,{method:"get",params:Me}),p=Me=>(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.competition_team_id}/edit_info.json`,{method:"put",body:Me});function y(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_result.json`,{method:"post",body:Me})})}function m(Me){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Me)})})}function b(Me){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Me})})}function A(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post"})})}function k(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_staff.json`,{method:"get"})})}function R(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/common_header.json`,{method:"get"})})}function C(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/${Me.url}`,{method:"get",params:h({},Me)})})}function O(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/update_md_content.json`,{method:"post",body:Me})})}function M(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function B(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}/edit.json`,{method:"get",params:Me})})}function N(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.Teannameid}.json`,{method:"put",body:Me})})}function V(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}/leave.json`,{method:"post",body:Me})})}function G(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.id}.json`,{method:"delete"})})}function H(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"post",body:Me})})}function se(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/add_managers.json`,{method:"post",body:Me})})}function ie(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/join.json`,{method:"post",body:Me})})}function le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/teachers.json`,{method:"get",params:Me})})}function q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/students.json`,{method:"get",params:Me})})}function J(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/crud_team_members.json`,{method:"post",body:Me})})}function K(Me){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Me})})}function ue(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/chart_rules.json`,{method:"get"})})}function ee(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/charts.json`,{method:"get",params:Me})})}function Q(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/results.json`,{method:"get",params:Me})})}function ce(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/md_tab_rules.json`,{method:"get",params:Me})})}function Z(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize.json`,{method:"get",params:Me})})}function j(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.id}.json`,{method:"get",params:Me})})}function ae(Me){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Me})})}function me(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/phone_bind.json`,{method:"post",body:Me})})}function Pe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/email_bind.json`,{method:"post",body:Me})})}function De(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Me.userid}/authentication_apply.json`,{method:"delete"})})}function je(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/prize_leader_account.json`,{method:"put",body:Me})})}function Mt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/shixun_detail.json`,{method:"get"})})}function yt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams/${Me.teamid}/course_detail.json`,{method:"get"})})}function kt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Me.id}.json`,{method:"delete"})})}function Zt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/get_certificate_info.json`,{method:"get",params:Me})})}function Ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.id}/basic_setting.json`,{method:"post",body:Me})})}function tr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ue(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/common_header.json`,{method:"get"})})}function wt(Me){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Me})})}function Bt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/search_managers.json`,{method:"get",params:Me})})}function rt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_managers.json`,{method:"get"})})}function _t(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/add_managers.json`,{method:"post",body:Me})})}function ct(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/delete_managers.json`,{method:"delete",body:Me})})}function qe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_picture.json`,{method:"get"})})}function Ne(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/identifier_exist.json`,{method:"post",body:Me})})}function xe(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/get_shixun_settings.json`,{method:"get"})})}function Le(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_add.json`,{method:"post",body:Me})})}function Ge(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_delete.json`,{method:"delete",body:Me})})}function We(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/shixun_select.json`,{method:"post",body:Me})})}function Ye(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me}/info_finish.json`,{method:"get"})})}function ft(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me==null?void 0:Me.id}/competition_review.json`,{method:"post",body:h({},Me)})})}function bt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_teams.json`,{method:"get",params:Me})})}function nr(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/all_team_members.json`,{method:"get",params:Me})})}function Jt(Me){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Me.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Me})})}},83325:function(d,_,e){"use strict";e.d(_,{F:function(){return b},OE:function(){return O},ff:function(){return A},p1:function(){return k},_y:function(){return m},mK:function(){return V},gq:function(){return H},eM:function(){return N},BA:function(){return le},bA:function(){return J},Nx:function(){return q},Qx:function(){return M},At:function(){return R},PX:function(){return C},Xl:function(){return B},y9:function(){return G},No:function(){return se},ay:function(){return K}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ee,Q)=>ee in ue?i(ue,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ue[ee]=Q,a=(ue,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(ue,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(ue,Q,ee[Q]);return ue},x=(ue,ee)=>l(ue,c(ee)),p=(ue,ee)=>{var Q={};for(var ce in ue)o.call(ue,ce)&&ee.indexOf(ce)<0&&(Q[ce]=ue[ce]);if(ue!=null&&f)for(var ce of f(ue))ee.indexOf(ce)<0&&h.call(ue,ce)&&(Q[ce]=ue[ce]);return Q},y=(ue,ee,Q)=>new Promise((ce,Z)=>{var j=Pe=>{try{me(Q.next(Pe))}catch(De){Z(De)}},ae=Pe=>{try{me(Q.throw(Pe))}catch(De){Z(De)}},me=Pe=>Pe.done?ce(Pe.value):Promise.resolve(Pe.value).then(j,ae);me((Q=Q.apply(ue,ee)).next())});const m=ue=>y(void 0,null,function*(){var ee=ue,{id:Q}=ee,ce=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:ce})}),b=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},A=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:ue,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),C=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),O=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),V=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ue,formula_one:ee,formula_two:Q,formula_three:ce})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:ce}}),H=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ee}.json`,{method:"get"}),se=ue=>{var ee=ue,{ec_year_id:Q,type:ce,goal_value:Z}=ee,j=p(ee,["ec_year_id","type","goal_value"]);let ae=`?type=${ce}`,me={method:"PUT"};return ce==="all"&&(ae+=`&goal_value=${Z}`),ce==="each"&&(me=x(a({},me),{body:j})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ae}`,me)};var ie=(ue,ee,Q)=>new Promise((ce,Z)=>{var j=Pe=>{try{me(Q.next(Pe))}catch(De){Z(De)}},ae=Pe=>{try{me(Q.throw(Pe))}catch(De){Z(De)}},me=Pe=>Pe.done?ce(Pe.value):Promise.resolve(Pe.value).then(j,ae);me((Q=Q.apply(ue,ee)).next())});const le=ue=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),q=ue=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:ue,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ee}`,{method:"PUT"})},72664:function(d,_,e){"use strict";e.d(_,{$Q:function(){return O},$l:function(){return vr},BJ:function(){return ct},CD:function(){return tt},Cd:function(){return ft},Cl:function(){return Fe},Di:function(){return tr},Fl:function(){return Bt},G$:function(){return ce},GK:function(){return wt},Ip:function(){return xe},J:function(){return Z},KE:function(){return rt},L8:function(){return Ht},LP:function(){return Le},MK:function(){return Ue},Mb:function(){return Pr},N0:function(){return G},N3:function(){return je},OO:function(){return R},P8:function(){return on},PJ:function(){return ae},PT:function(){return mr},Qc:function(){return se},RK:function(){return Q},Ty:function(){return Se},UH:function(){return lt},UK:function(){return Mt},Uj:function(){return Jt},Ul:function(){return Ye},VL:function(){return $t},Vj:function(){return fe},W4:function(){return nr},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ne},Xn:function(){return Hr},Xo:function(){return le},YY:function(){return Ft},Ym:function(){return N},Yu:function(){return Xt},ZD:function(){return en},Zg:function(){return Tr},_B:function(){return Me},_F:function(){return Rr},_U:function(){return J},_u:function(){return me},aU:function(){return V},ab:function(){return Rt},cC:function(){return Ze},cV:function(){return K},ck:function(){return jr},dp:function(){return H},eA:function(){return Nt},fG:function(){return A},gA:function(){return ue},gG:function(){return Xr},gJ:function(){return vt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return St},kp:function(){return Wt},lL:function(){return C},lf:function(){return He},n$:function(){return De},n7:function(){return q},nF:function(){return Oe},o3:function(){return ot},oS:function(){return Ge},oX:function(){return Lt},oy:function(){return gt},p7:function(){return B},pL:function(){return Kt},pu:function(){return qe},q6:function(){return sr},qf:function(){return Zt},qz:function(){return We},s:function(){return Ct},sA:function(){return Pt},sS:function(){return ut},tX:function(){return Gt},uR:function(){return yt},ux:function(){return _t},wy:function(){return kt},xA:function(){return Ie},yE:function(){return ie},yu:function(){return Te},zP:function(){return M},zR:function(){return yr}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Et,Or,Sn)=>Or in Et?i(Et,Or,{enumerable:!0,configurable:!0,writable:!0,value:Sn}):Et[Or]=Sn,a=(Et,Or)=>{for(var Sn in Or||(Or={}))o.call(Or,Sn)&&u(Et,Sn,Or[Sn]);if(f)for(var Sn of f(Or))h.call(Or,Sn)&&u(Et,Sn,Or[Sn]);return Et},x=(Et,Or)=>l(Et,c(Or)),p=(Et,Or,Sn)=>new Promise((Zn,On)=>{var Gn=Vn=>{try{mi(Sn.next(Vn))}catch(vi){On(vi)}},xn=Vn=>{try{mi(Sn.throw(Vn))}catch(vi){On(vi)}},mi=Vn=>Vn.done?Zn(Vn.value):Promise.resolve(Vn.value).then(Gn,xn);mi((Sn=Sn.apply(Et,Or)).next())});const y=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Et}),m=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Et}),b=Et=>(0,r.ZP)(`/api/exercises/${Et.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Et}),A=Et=>(0,r.ZP)(`/api/exercises/${Et.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Et}),k=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Et}),R=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Et}),C=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Et}),O=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Et}),M=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/sava_exam_summary.json`,{method:"post",body:Et}),B=Et=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Et}),N=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/generate_exam_summary.json`,{method:"post",body:Et}),V=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/exam_summary_settings.json`,{method:"post",body:Et}),G=Et=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.exercise_id}/review_exercise_user.json`,{method:"post",body:Et})}),H=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/code_check.json`,{method:"get",params:Et}),se=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/reset_pwd.json`,{method:"post",body:Et}),ie=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/encrypt_or_decrypt.json`,{method:"post",body:Et}),le=Et=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/delayed_time_or_force.json`,{method:"post",body:Et})}),q=Et=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/exercise_time.json`,{method:"Get",params:Et})}),J=Et=>(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/exercise_question_result.json`,{method:"get",params:Et}),K=Et=>(0,r.ZP)(`/api/exercises/${Et.id}/get_question_type_alias.json`,{method:"get",params:Et});function ue(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.id}/teacher_update.json`,{method:"post",body:a({},Et)})})}function ee(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.id}/adjust_comment.json`,{method:"post",body:a({},Et)})})}function Q(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/edit_question_type_alias.json`,{method:"POST",body:Et})})}function ce(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_lists.json`,{method:"get",params:a({},Et)})})}function Z(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},Et)})})}function j(Et){return p(this,null,function*(){return Fetch(`/api/exercises/${Et.categoryId}/video_push_url.json`,{method:"get",params:a({},Et)})})}function ae(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},Et)})})}function me(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_result.json`,{method:"get",params:a({},Et)})})}function Pe(Et){return p(this,null,function*(){return Fetch(`/api/exercises/${Et.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},Et)})})}function De(Et){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Et)})})}function He(Et){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},Et)})})}function je(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},Et)})})}function Mt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/common_header.json`,{method:"get",params:a({},Et)})})}function yt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises.json`,{method:"post",body:a({},Et)})})}function kt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}.json`,{method:"put",body:a({},Et)})})}function Zt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}.json`,{method:"get",params:a({},Et)})})}function Ft(Et){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},Et)})})}function tr(Et){return p(this,null,function*(){const{id:Or}=Et;return delete Et.id,(0,r.ZP)(`/api/exercise_questions/${Or}.json`,{method:"put",body:a({},Et)})})}function Ue(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_questions.json`,{method:"post",body:a({},Et)})})}function wt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}/up_down.json`,{method:"post",body:a({},Et)})})}function Bt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}.json`,{method:"delete"})})}function rt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},Et)})})}function _t(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/publish_groups.json`,{method:"get",params:a({},Et)})})}function ct(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},Et)})})}function qe(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/consult_exercise.json`,{method:"post",body:a({},Et)})})}function Ne(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},Et)})})}function xe(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}/adjust_score.json`,{method:"post",body:a({},Et)})})}function Le(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.id}/batch_adjust_score.json`,{method:"post",body:a({},Et)})})}function Ge(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/adjust_score.json`,{method:"post",body:a({},Et)})})}function We(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.id}/delayed_time.json`,{method:"post",body:a({},Et)})})}function Ye(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_setting.json`,{method:"get",params:a({},Et)})})}function ft(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${Et.categoryId}/exercise_setting.json`,{method:"get",params:a({},Et)})})}function bt(Et){return p(this,null,function*(){return Fetch(`/api/exercises/${Et.categoryId}/commit_setting.json`,{method:"post",body:a({},Et)})})}function nr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},Et)})})}function Jt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},Et),{export:!0})})})}function Me(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},Et),{login:null})})}function tt(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/start.json`,{method:"get",params:a({},Et)})}function Kt(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/start_unlock.json`,{method:"post",body:a({},Et)})}function Lt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.questionId}/exercise_answers.json`,{method:"post",body:Et})})}function $t(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/commit_exercise.json`,{method:"post",body:Et})})}function Wt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Et})})}function sr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/redo_exercise.json`,{method:"post",body:Et})})}function Ht(Et){return(0,r.ZP)(`/api/${Et.url}`,{method:"get",params:a({},Et)})}function Oe(Et){return(0,r.ZP)(`/api/problems/${Et.id}/start.json`,{method:"get",params:a({},Et)})}function fe(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/begin_commit.json`,{method:"get",params:a({},Et)})}function pe(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/simulate_begin_commit.json`,{method:"get",params:a({},Et)})}function Pt(Et){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},Et)})}function Te(Et){return console.log("params:",Et),(0,r.ZP)(`/api/exercises/${Et.categoryId}/edit.json`,{method:"get",params:a({},Et)})}function lt(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/get_objective_scores.json`,{method:"get",params:a({},Et)})}function Gt(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/redo_modal.json`,{method:"get",params:a({},Et)})}function Ct(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/student_redo_lists.json`,{method:"get",params:a({},Et)})}function Ie(Et){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Et})}function St(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/exercise_header.json`,{method:"get",params:a({},Et)})}function Ze(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/allow_close_camera.json`,{method:"post",body:a({},Et)})}function Se(Et){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},Et)})}function gt(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/record_screen`,{method:"post",params:a({},Et)})}function Rt(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/unbind_ip.json`,{method:"post",body:a({},Et)})}function Fe(Et){return(0,r.ZP)(`/api/exercises/${Et.id}/check_ip.json`,{method:"get",params:a({},Et)})}function Tr(Et){return(0,r.ZP)(`/api/exercises/${Et==null?void 0:Et.id}/check_user_exercise.json`,{method:"get",params:a({},Et)})}function At(Et){return Fetch(`/api/exercises/${Et.id}/make_up_students.json`,{method:"get",params:a({},Et)})}function Hr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},Et)})})}function Xr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et.question_id}/adjust_score.json`,{method:"post",body:a({},Et)})})}function Pr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Et.categoryId}/simulate_exercise.json`,{method:"post",body:a({},Et)})})}function Rr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},Et)})})}function mr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/exercise_time.json`,{method:"get",params:a({},Et)})})}function jr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/commit_screen_at.json`,{method:"post",body:a({},Et)})})}function en(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/unlock_user`,{method:"post",body:Or})})}function on(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/save_screen_record.json`,{method:"post",body:Or})})}function Xt(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/screen_record_list.json`,{method:"get",params:Or})})}function vt(Et){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},Et)})})}function ot(Et){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:Et})})}function ut(Et,Or){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark.json`,{method:"post",body:Or})})}function Nt(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Et}/exit_delete_pod.json`,{method:"post",body:Et})})}function yr(Et){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Et})})}function vr(Et){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${Et==null?void 0:Et.id}/send_to_item_bank.json`,{method:"post",body:a({},Et)})})}function Kr(Et){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Et.exercise_id}/wrong_details.json`,{method:"get",params:a({},Et)})})}function Nr(Et){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Et.exercise_id}/wrong_question.json`,{method:"get",params:a({},Et)})})}function mn(Et){return p(this,null,function*(){return Fetch(`/api/ai/wrong_question_push_charts/${Et.exercise_id}/wrong_question_lists.json`,{method:"get",params:a({},Et)})})}},14195:function(d,_,e){"use strict";e.d(_,{B0:function(){return p},Si:function(){return R},Sr:function(){return O},YP:function(){return C},b4:function(){return k},bc:function(){return a},dX:function(){return A},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return V}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,H,se)=>H in G?i(G,H,{enumerable:!0,configurable:!0,writable:!0,value:se}):G[H]=se,h=(G,H)=>{for(var se in H||(H={}))c.call(H,se)&&o(G,se,H[se]);if(l)for(var se of l(H))f.call(H,se)&&o(G,se,H[se]);return G},u=(G,H,se)=>new Promise((ie,le)=>{var q=ue=>{try{K(se.next(ue))}catch(ee){le(ee)}},J=ue=>{try{K(se.throw(ue))}catch(ee){le(ee)}},K=ue=>ue.done?ie(ue.value):Promise.resolve(ue.value).then(q,J);K((se=se.apply(G,H)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function m(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function C(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function O(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function V(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},92890:function(d,_,e){"use strict";e.d(_,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((A,k)=>{var R=M=>{try{O(b.next(M))}catch(B){k(B)}},C=M=>{try{O(b.throw(M))}catch(B){k(B)}},O=M=>M.done?A(M.value):Promise.resolve(M.value).then(R,C);O((b=b.apply(y,m)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},65583:function(d,_,e){"use strict";e.d(_,{B6:function(){return p},Gr:function(){return N},Mf:function(){return O},NA:function(){return R},PC:function(){return A},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return G},YQ:function(){return C},_n:function(){return se},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return V},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ie,le,q)=>le in ie?i(ie,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[le]=q,h=(ie,le)=>{for(var q in le||(le={}))c.call(le,q)&&o(ie,q,le[q]);if(l)for(var q of l(le))f.call(le,q)&&o(ie,q,le[q]);return ie},u=(ie,le,q)=>new Promise((J,K)=>{var ue=ce=>{try{Q(q.next(ce))}catch(Z){K(Z)}},ee=ce=>{try{Q(q.throw(ce))}catch(Z){K(Z)}},Q=ce=>ce.done?J(ce.value):Promise.resolve(ce.value).then(ue,ee);Q((q=q.apply(ie,le)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function m(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function A(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function k(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function C(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function O(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function B(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}function N(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function V(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function G(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function H(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function se(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},86645:function(d,_,e){"use strict";e.d(_,{AA:function(){return V},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ce},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return C},Ot:function(){return R},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return H},Zd:function(){return Q},bS:function(){return O},ck:function(){return A},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return se},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return K},zT:function(){return j}});var r=e(82093),i=(ae,me,Pe)=>new Promise((De,He)=>{var je=kt=>{try{yt(Pe.next(kt))}catch(Zt){He(Zt)}},Mt=kt=>{try{yt(Pe.throw(kt))}catch(Zt){He(Zt)}},yt=kt=>kt.done?De(kt.value):Promise.resolve(kt.value).then(je,Mt);yt((Pe=Pe.apply(ae,me)).next())});function l(ae){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})}function c(ae){return(0,r.ZP)(`/api/schools/${ae.id}/departments/for_option.json`,{method:"get",params:ae})}function f(ae){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ae})}function o(ae){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ae})}function h(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/authorized_redelivery.json`,{method:"POST",body:ae})})}function u(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/submit.json`,{method:"POST",body:ae})})}function a(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_status.json`,{method:"get",params:ae})})}function x(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ae})})}function p(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.id}.json`,{method:"get",params:ae})})}function y(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/set_final_score.json`,{method:"POST",body:ae})})}function m(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/final_score.json`,{method:"get",params:ae})})}function b(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/set_novice_guide.json`,{method:"POST",body:ae})})}function A(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices/${ae.doid}/set_do.json`,{method:"POST",body:ae})})}function k(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"POST",body:ae})})}function R(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_students/${ae.id}/update_major.json`,{method:"PUT",body:ae})})}function C(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"POST",body:ae})})}function O(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers/search.json`,{method:"get",params:ae})})}function M(ae){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})})}function B(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students/search.json`,{method:"get",params:ae})})}function N(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"get",params:ae})})}function V(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"get",params:ae})})}function G(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks.json`,{method:"POST",body:ae})})}function H(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks/${ae.id}.json`,{method:"PUT",body:ae})})}function se(ae){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks/${(me=ae.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ae.ids}})})}function ie(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks.json`,{method:"get",params:ae})})}function le(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices.json`,{method:"get",params:ae})})}function q(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}.json`,{method:"get"})})}function J(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae==null?void 0:ae.id}/common_header.json`,{method:"get"})})}function K(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/preview.json`,{method:"get"})})}function ue(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function ee(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/pass.json`,{method:"post",body:me})})}function Q(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/not_pass.json`,{method:"post",body:me})})}function ce(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/pass.json`,{method:"post",body:me})})}function Z(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/batch_delete`,{method:"delete",body:me})})}function j(ae,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},55480:function(d,_,e){"use strict";e.d(_,{LA:function(){return x},NX:function(){return m},Rm:function(){return f},S_:function(){return p},Tt:function(){return h},Yu:function(){return A},Zz:function(){return y},cR:function(){return u},eX:function(){return c},h$:function(){return o},su:function(){return b},vm:function(){return a}});var r=e(82093),i=(k,R,C)=>new Promise((O,M)=>{var B=G=>{try{V(C.next(G))}catch(H){M(H)}},N=G=>{try{V(C.throw(G))}catch(H){M(H)}},V=G=>G.done?O(G.value):Promise.resolve(G.value).then(B,N);V((C=C.apply(k,R)).next())});const l=k=>i(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:k})}),c=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:k})}),f=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:k})}),o=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:k})});function h(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function u(k){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:k})})}function a(k){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:k})})}function x(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function p(k){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:k})})}const y=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:k})}),m=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:k})}),b=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:k})}),A=k=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:k})})},93440:function(d,_,e){"use strict";e.d(_,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return A},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,C,O)=>C in R?i(R,C,{enumerable:!0,configurable:!0,writable:!0,value:O}):R[C]=O,h=(R,C)=>{for(var O in C||(C={}))c.call(C,O)&&o(R,O,C[O]);if(l)for(var O of l(C))f.call(C,O)&&o(R,O,C[O]);return R},u=(R,C,O)=>new Promise((M,B)=>{var N=H=>{try{G(O.next(H))}catch(se){B(se)}},V=H=>{try{G(O.throw(H))}catch(se){B(se)}},G=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,V);G((O=O.apply(R,C)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function m(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function A(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},38746:function(d,_,e){"use strict";e.d(_,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return O},ms:function(){return R},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return C}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,V,G)=>V in N?i(N,V,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[V]=G,h=(N,V)=>{for(var G in V||(V={}))c.call(V,G)&&o(N,G,V[G]);if(l)for(var G of l(V))f.call(V,G)&&o(N,G,V[G]);return N},u=(N,V,G)=>new Promise((H,se)=>{var ie=J=>{try{q(G.next(J))}catch(K){se(K)}},le=J=>{try{q(G.throw(J))}catch(K){se(K)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ie,le);q((G=G.apply(N,V)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function C(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function O(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},47580:function(d,_,e){"use strict";e.d(_,{DF:function(){return b},Di:function(){return ee},Dm:function(){return le},Dq:function(){return Pe},Gd:function(){return m},Hb:function(){return De},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return V},Pl:function(){return A},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ie},kF:function(){return He},kp:function(){return O},lc:function(){return C},oF:function(){return ce},q$:function(){return h},qN:function(){return se},tS:function(){return R},ts:function(){return B},un:function(){return K},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(82093),i=(je,Mt,yt)=>new Promise((kt,Zt)=>{var Ft=wt=>{try{Ue(yt.next(wt))}catch(Bt){Zt(Bt)}},tr=wt=>{try{Ue(yt.throw(wt))}catch(Bt){Zt(Bt)}},Ue=wt=>wt.done?kt(wt.value):Promise.resolve(wt.value).then(Ft,tr);Ue((yt=yt.apply(je,Mt)).next())});const l=je=>(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/code_check.json`,{method:"get",params:je}),c=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/reset_pwd.json`,{method:"post",body:je}),f=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/encrypt_or_decrypt.json`,{method:"post",body:je}),o=je=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:je}),h=je=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:je}),u=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/copy.json`,{method:"post",body:je}),a=je=>(0,r.ZP)(`/api/examination_banks/${je.id}/get_question_type_alias.json`,{method:"get",params:je});function x(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_question_type_alias.json`,{method:"POST",body:je})})}function p(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:je})})}function y(je){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:je})})}function m(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:je})})}function b(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_public.json`,{method:"post"})})}function A(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/set_private.json`,{method:"post"})})}function k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const C=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function O(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/send_to_course.json`,{method:"post",body:je})})}function M(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"get",params:je})})}function B(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_score`,{method:"post",body:je})})}function N(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/set_shixun_score.json`,{method:"post",body:je})})}function V(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}.json`,{method:"delete"})})}function G(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:je})})}function H(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/${je.itemId}/adjust_position.json`,{method:"post",body:je})})}function ie(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"put",body:je})})}function le(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function q(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je==null?void 0:je.id}/set_public.json`,{method:"post",body:je})})}function K(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function ue(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function Q(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Mt})})}function ce(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:je})})}function Z(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Mt})})}function j(je){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je.exam_id}/examination_banks_item_banks/${je.question_id}.json`,{method:"delete"})})}function ae(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Mt})})}function me(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Pe(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function De(je,Mt,yt){return i(this,null,function*(){const kt=new FormData;return kt.append("file",Mt),kt.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:kt},!0)})}function He(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},37034:function(d,_,e){"use strict";e.d(_,{$D:function(){return J},A2:function(){return Le},A7:function(){return Ct},AQ:function(){return V},Ax:function(){return tt},Bn:function(){return Ze},CI:function(){return ft},DQ:function(){return Pt},DU:function(){return rt},EP:function(){return q},Ep:function(){return xe},Er:function(){return me},Ex:function(){return $t},FD:function(){return Te},F_:function(){return Bt},Fg:function(){return x},GY:function(){return Oe},Go:function(){return Z},Gz:function(){return p},Hl:function(){return y},JS:function(){return kt},KM:function(){return ee},M2:function(){return We},MO:function(){return Pe},Mt:function(){return Ye},Mu:function(){return Kt},NV:function(){return St},Q:function(){return De},Sp:function(){return N},VO:function(){return lt},VU:function(){return R},WD:function(){return Ht},WO:function(){return ae},WW:function(){return Wt},_C:function(){return Ie},_V:function(){return Me},bw:function(){return le},bz:function(){return pe},c3:function(){return yt},eJ:function(){return ce},ef:function(){return wt},fh:function(){return k},fj:function(){return j},hS:function(){return m},jT:function(){return Gt},ke:function(){return sr},lk:function(){return B},mQ:function(){return M},ms:function(){return nr},mx:function(){return je},nq:function(){return a},ol:function(){return fe},p:function(){return H},p4:function(){return He},pU:function(){return O},rS:function(){return Zt},rs:function(){return Q},s0:function(){return Ge},sm:function(){return Mt},tS:function(){return b},tu:function(){return C},ue:function(){return G},vf:function(){return qe},w4:function(){return se},xG:function(){return Ne},xn:function(){return ct},yN:function(){return ie},yy:function(){return Jt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Se,gt,Rt)=>gt in Se?i(Se,gt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Se[gt]=Rt,h=(Se,gt)=>{for(var Rt in gt||(gt={}))c.call(gt,Rt)&&o(Se,Rt,gt[Rt]);if(l)for(var Rt of l(gt))f.call(gt,Rt)&&o(Se,Rt,gt[Rt]);return Se},u=(Se,gt,Rt)=>new Promise((Fe,Tr)=>{var At=Pr=>{try{Xr(Rt.next(Pr))}catch(Rr){Tr(Rr)}},Hr=Pr=>{try{Xr(Rt.throw(Pr))}catch(Rr){Tr(Rr)}},Xr=Pr=>Pr.done?Fe(Pr.value):Promise.resolve(Pr.value).then(At,Hr);Xr((Rt=Rt.apply(Se,gt)).next())});const a=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Se})}),x=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Se})}),p=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Se})}),y=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Se})}),m=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Se})});function b(Se){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},Se)})})}function A(Se){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},Se)})})}function k(Se){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},Se)})})}function R(){return u(this,null,function*(){return(0,r.ZP)("/api/paths/platform_systems.json",{method:"get"})})}function C(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}.json`,{method:"PUT",body:Se})})}function O(Se){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:Se})})}function M(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/edit.json`,{method:"get"})})}function B(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}.json`,{method:"get",params:h({identifier:Se.id},Se)})})}function N(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.id}.json`,{method:"get",params:h({identifier:Se.id},Se)})})}function V(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/right_banner.json`,{method:"get",params:Se})})}function G(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/spoc_courses.json`,{method:"get",params:Se})})}const H=Se=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:Se})}),se=Se=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${Se.id}/children.json`,{method:"Get",params:Se})});function ie(Se){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Se})})}function le(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/update_team_title.json`,{method:"post",body:Se})})}function q(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/delete_member.json`,{method:"Delete",body:Se})})}function J(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/spoc_courses/${Se==null?void 0:Se.courseid}.json`,{method:"Delete"})})}function K(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/up_member_position.json`,{method:"post",body:Se})})}function ue(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/down_member_position.json`,{method:"post",body:Se})})}function ee(Se){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:Se})})}function Q(Se){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:Se})})}function ce(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}.json`,{method:"Delete",body:Se})})}function Z(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/publish.json`,{method:"post",body:Se})})}function j(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/cancel_publish.json`,{method:"post",body:Se})})}function ae(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/apply_public.json`,{method:"post",body:Se})})}function me(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/cancel_public.json`,{method:"post",body:Se})})}function Pe(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/choose_course.json`,{method:"get",params:Se})})}function De(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/send_to_course.json`,{method:"post",body:Se})})}function He(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Se.id}/send_to_course.json`,{method:"post",body:Se})})}function je(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/add_subject_members.json`,{method:"post",body:Se})})}function Mt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/spoc_courses.json`,{method:"post",body:Se})})}function yt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/appointment.json`,{method:"post",body:Se})})}function kt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.id}/join_excellent_course.json`,{method:"post",body:Se})})}function Zt(Se){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Se})})}function Ft(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/statistics_info.json`,{method:"get",params:Se})})}function tr(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/shixun_analyze.json`,{method:"get",params:Se})})}function Ue(Se){return u(this,null,function*(){return Fetch(`/api/paths/${Se.id}/learning_analyze.json`,{method:"get",params:Se})})}function wt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/learning_statistics.json`,{method:"get",params:Se})})}function Bt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/shixun_statistics.json`,{method:"get",params:Se})})}function rt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/study_analyze/${Se.type}.json`,{method:"get",params:Se})})}function _t(Se){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Se})})}function ct(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}.json`,{method:"put",body:Se})})}function qe(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_shixun_to_stage.json`,{method:"post",body:Se})})}const Ne=Se=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${Se==null?void 0:Se.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Se})});function xe(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/select_shixun_to_stage.json`,{method:"post",body:Se})})}function Le(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_video_to_stage.json`,{method:"post",body:Se})})}function Ge(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_attachment_to_stage.json`,{method:"post",body:Se})})}function We(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Se.id}.json`,{method:"put",body:Se})})}function Ye(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/add_blank_to_stage.json`,{method:"post",body:Se})})}function ft(Se){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:Se})})}function bt(Se){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Se})})}function nr(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/up_position.json`,{method:"get"})})}function Jt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}/down_position.json`,{method:"get"})})}function Me(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.id}.json`,{method:"delete"})})}function tt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.pathId}/discusses.json`,{method:"get",params:h({},Se)})})}function Kt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.coursesId}/excellent_discusses.json`,{method:"get",params:h({},Se)})})}function Lt(Se){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},Se)})})}function $t(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.stage_id}/items/move_position`,{method:"post",body:h({},Se)})})}function Wt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se.stage_id}/items/${Se.id}`,{method:"delete"})})}function sr(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Se.id}/excellent_discuss`,{method:"post",body:h({},Se)})})}function Ht(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${Se.id}/post_discuss`,{method:"post",body:h({},Se)})})}function Oe(Se){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:Se})})}function fe(Se){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:Se})})}function pe(Se){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Se})})}function Pt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se==null?void 0:Se.id}/add_homework_to_stage.json`,{method:"post",body:Se})})}function Te(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Se==null?void 0:Se.id}/edit.json`,{method:"get",params:Se})})}function lt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Se==null?void 0:Se.id}.json`,{method:"put",body:Se})})}function Gt(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Se==null?void 0:Se.user_id}/subjects/subject_homework.json`,{method:"get",params:Se})})}function Ct(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Se==null?void 0:Se.user_id}/courses/course_homework.json`,{method:"get",params:Se})})}function Ie(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${Se==null?void 0:Se.id}/batch_add_homework_to_stage.json`,{method:"post",body:Se})})}function St(Se){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Se})})}function Ze(Se){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Se==null?void 0:Se.user_login}/subjects/cancel.json`,{method:"get",params:Se})})}},79763:function(d,_,e){"use strict";e.d(_,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return V},KE:function(){return b},Kc:function(){return Q},MK:function(){return G},Q9:function(){return O},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return le},iV:function(){return ce},jy:function(){return H},kp:function(){return ie},lf:function(){return C},m7:function(){return m},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return A},vf:function(){return K},wh:function(){return se},wo:function(){return ee},x$:function(){return J}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,ae,me)=>ae in j?i(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,h=(j,ae)=>{for(var me in ae||(ae={}))c.call(ae,me)&&o(j,me,ae[me]);if(l)for(var me of l(ae))f.call(ae,me)&&o(j,me,ae[me]);return j},u=(j,ae,me)=>new Promise((Pe,De)=>{var He=yt=>{try{Mt(me.next(yt))}catch(kt){De(kt)}},je=yt=>{try{Mt(me.throw(yt))}catch(kt){De(kt)}},Mt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(He,je);Mt((me=me.apply(j,ae)).next())});const a=j=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j==null?void 0:j.id}/commit_word_cloud.json`,{method:"Get",params:j})});function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_lists.json`,{method:"get",params:h({},j)})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/common_header.json`,{method:"get"})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/poll_setting.json`,{method:"get"})})}function m(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_setting.json`,{method:"post",body:h({},j)})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},j)})})}function A(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/publish_groups.json`,{method:"get",params:h({},j)})})}function k(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/commit_result.json`,{method:"get",params:h({},j)})})}function R(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},j)})})}function C(j){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},j)})})}function O(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},j)})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/polls.json`,{method:"POST",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.categoryId}/edit.json`,{method:"get"})})}function N(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function V(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function G(j){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${j.pollsId}/poll_questions.json`,{method:"post",body:h({},j)})})}function H(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function se(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ie(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"get"})})}function le(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function q(j){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${j.topicId}.json`,{method:"put",body:h({},j)})})}function J(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.pollsId}.json`,{method:"delete",body:h({},j)})})}function K(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${j.pollsId}/up_down.json`,{method:"post",body:h({},j)})})}function ue(j){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},j)})})}function ee(j){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${j.pollsId}.json`,{method:"put",body:h({},j)})})}function Q(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.id}.json`,{method:"put",body:h({},j)})})}function ce(j){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},j)})})}function Z(j){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${j.exerciseId}/up_down.json`,{method:"post",body:h({},j)})})}},70610:function(d,_,e){"use strict";e.d(_,{$c:function(){return ft},A1:function(){return We},Bd:function(){return O},Bo:function(){return q},Cc:function(){return ue},Cn:function(){return ce},DF:function(){return R},Dm:function(){return Ue},FG:function(){return le},GW:function(){return wt},HF:function(){return G},Hm:function(){return j},IJ:function(){return Ge},L5:function(){return tr},LS:function(){return rt},MZ:function(){return xe},Mr:function(){return ie},NZ:function(){return Mt},Of:function(){return A},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ct},RT:function(){return Me},Rp:function(){return _t},U6:function(){return H},Vl:function(){return ee},Wk:function(){return se},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return bt},d1:function(){return y},dt:function(){return nr},et:function(){return me},ex:function(){return b},fY:function(){return Pe},fn:function(){return C},hI:function(){return yt},hg:function(){return Ne},iT:function(){return J},lS:function(){return je},nD:function(){return Bt},qN:function(){return ae},rV:function(){return N},s:function(){return He},sD:function(){return Le},sS:function(){return Ft},ts:function(){return K},vi:function(){return Ye},wX:function(){return qe},x5:function(){return V},zh:function(){return De}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Kt,Lt)=>Kt in tt?i(tt,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):tt[Kt]=Lt,a=(tt,Kt)=>{for(var Lt in Kt||(Kt={}))o.call(Kt,Lt)&&u(tt,Lt,Kt[Lt]);if(f)for(var Lt of f(Kt))h.call(Kt,Lt)&&u(tt,Lt,Kt[Lt]);return tt},x=(tt,Kt)=>l(tt,c(Kt)),p=(tt,Kt,Lt)=>new Promise(($t,Wt)=>{var sr=fe=>{try{Oe(Lt.next(fe))}catch(pe){Wt(pe)}},Ht=fe=>{try{Oe(Lt.throw(fe))}catch(pe){Wt(pe)}},Oe=fe=>fe.done?$t(fe.value):Promise.resolve(fe.value).then(sr,Ht);Oe((Lt=Lt.apply(tt,Kt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function m(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function R(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function C(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function O(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function H(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function ie(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function q(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function ue(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function Q(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function ce(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function Z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function j(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function me(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Pe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function De(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function je(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Mt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function yt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function kt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function Zt(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Ft(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function tr(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function Ue(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function wt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function Bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function rt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function _t(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ct(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function qe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Ne(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function xe(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function Le(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function Ge(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function We(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Ye(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function ft(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function nr(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function Jt(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Me(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},5707:function(d,_,e){"use strict";e.d(_,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(82093),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(A){x(A)}},y=b=>{try{m(u.throw(b))}catch(A){x(A)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},45278:function(d,_,e){"use strict";e.d(_,{Am:function(){return m},Ar:function(){return Ue},BD:function(){return Ye},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return A},H:function(){return Ft},H1:function(){return tr},Hj:function(){return bt},JA:function(){return Jt},JG:function(){return ue},KE:function(){return Z},Lz:function(){return Ge},Mf:function(){return Zt},NA:function(){return yt},PC:function(){return je},PP:function(){return Mt},PW:function(){return rt},Q3:function(){return Q},QC:function(){return Me},Qt:function(){return We},Qz:function(){return O},R$:function(){return Oe},RP:function(){return le},Ti:function(){return Ct},Uc:function(){return $t},Ul:function(){return J},VB:function(){return lt},Vs:function(){return Wt},Wr:function(){return R},Xn:function(){return q},YQ:function(){return kt},Yn:function(){return b},Z8:function(){return V},ak:function(){return Bt},cN:function(){return B},co:function(){return Ne},cz:function(){return De},fK:function(){return G},gG:function(){return He},gZ:function(){return Lt},h$:function(){return N},ku:function(){return Le},lf:function(){return ae},m7:function(){return K},mQ:function(){return M},mz:function(){return ct},n$:function(){return j},oK:function(){return y},oN:function(){return Gt},pH:function(){return ft},pb:function(){return Te},qP:function(){return tt},ql:function(){return Kt},rN:function(){return xe},sw:function(){return me},t1:function(){return Pe},to:function(){return ie},ub:function(){return nr},ux:function(){return ce},wS:function(){return Pt},wT:function(){return C},yT:function(){return wt},yy:function(){return sr},z2:function(){return _t}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ie,St,Ze)=>St in Ie?i(Ie,St,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Ie[St]=Ze,a=(Ie,St)=>{for(var Ze in St||(St={}))o.call(St,Ze)&&u(Ie,Ze,St[Ze]);if(f)for(var Ze of f(St))h.call(St,Ze)&&u(Ie,Ze,St[Ze]);return Ie},x=(Ie,St)=>l(Ie,c(St)),p=(Ie,St,Ze)=>new Promise((Se,gt)=>{var Rt=At=>{try{Tr(Ze.next(At))}catch(Hr){gt(Hr)}},Fe=At=>{try{Tr(Ze.throw(At))}catch(Hr){gt(Hr)}},Tr=At=>At.done?Se(At.value):Promise.resolve(At.value).then(Rt,Fe);Tr((Ze=Ze.apply(Ie,St)).next())});const y=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),m=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),b=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),A=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),k=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),R=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),C=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),O=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),M=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),B=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function N(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:a({},Ie)})})}function V(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:a({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:a({},Ie)})})}function H(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function se(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function le(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:a({},Ie)})})}function q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:a({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:a({},Ie)})})}function ue(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:a({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:a({},Ie)})})}function ce(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:a({},Ie)})})}function Z(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:a({},Ie)})})}function j(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ie)})})}function ae(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ie)})})}function me(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function Pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function De(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ie),{id:Ie.categoryId})})})}function He(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ie)})})}function je(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:a({},Ie)})})}function Mt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ie)})})}function yt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ie)})})}function kt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ie)})})}function Zt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ie)})})}function Ft(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:a({},Ie)})})}function tr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:a({},Ie)})})}function Ue(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:a({},Ie)})})}function wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:a({},Ie)})})}function Bt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ie)})})}function rt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:a({},Ie)})})}function _t(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:a({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ie)})})}function qe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ie)})})}function xe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Le(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ie)})})}function Ge(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ie)})})}function We(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ie)})})}function Ye(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:a({},Ie)})})}function ft(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:a({},Ie)})})}function bt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:a({},Ie)})})}function nr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:a({},Ie)})})}function Jt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:a({},Ie)})})}function Me(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:a({},Ie)})})}function tt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:a({},Ie)})})}function Kt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:a({},Ie)})})}function Lt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ie)})})}function $t(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:a({},Ie)})})}function Wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:a({},Ie)})})}function sr(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:a({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:a({},Ie)})})}function Oe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ie)})})}function fe(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ie)})})}function pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:a({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:a({},Ie)})})}function Te(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:a({},Ie)})})}function lt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ie)})})}function Gt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ie)})})}function Ct(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ie)})})}},67135:function(d,_,e){"use strict";e.d(_,{$Q:function(){return Rr},AE:function(){return Wt},AQ:function(){return M},Ag:function(){return St},Ar:function(){return ce},At:function(){return vt},BK:function(){return V},Bj:function(){return Bt},DC:function(){return Ue},Dz:function(){return ot},E4:function(){return tr},EH:function(){return ae},Ee:function(){return mn},Er:function(){return ee},FB:function(){return N},Fg:function(){return A},GI:function(){return De},Gr:function(){return ct},Gu:function(){return Pe},Gz:function(){return b},HS:function(){return Dt},Hl:function(){return y},IT:function(){return Ct},I_:function(){return C},Ir:function(){return G},Je:function(){return Fe},K:function(){return Nt},K0:function(){return Nr},KM:function(){return q},K_:function(){return jr},LK:function(){return Tr},LP:function(){return He},Ne:function(){return ue},OV:function(){return Mt},OW:function(){return j},Op:function(){return Pr},P2:function(){return kt},Po:function(){return O},Ps:function(){return qe},Q:function(){return K},Q1:function(){return yr},QA:function(){return zi},Ql:function(){return xe},Rs:function(){return Me},SG:function(){return Xi},Tn:function(){return Ht},Tr:function(){return Di},U0:function(){return Ye},U9:function(){return Ne},UQ:function(){return Te},Ui:function(){return mr},Vx:function(){return Kr},WO:function(){return Q},WT:function(){return fa},Wi:function(){return rt},Wl:function(){return Ze},X$:function(){return Zt},Yn:function(){return fe},Z2:function(){return wt},ZO:function(){return _t},Zt:function(){return ut},_7:function(){return J},_9:function(){return pe},aH:function(){return Le},al:function(){return nr},b8:function(){return Z},bq:function(){return Oe},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return tt},fL:function(){return Rt},h4:function(){return vr},hS:function(){return m},he:function(){return R},hn:function(){return ie},ii:function(){return Jt},im:function(){return Pt},j8:function(){return je},jq:function(){return Xr},kF:function(){return Hr},km:function(){return bt},l3:function(){return yt},m7:function(){return We},mI:function(){return vi},n5:function(){return B},nu:function(){return At},p0:function(){return Gt},q0:function(){return $t},q9:function(){return Xt},qA:function(){return on},rO:function(){return Lt},rs:function(){return le},sr:function(){return lt},t2:function(){return Ie},tX:function(){return Et},uo:function(){return ft},v3:function(){return gt},w:function(){return Se},xK:function(){return sr},xg:function(){return Kt},xk:function(){return Ft},yE:function(){return Ge},yx:function(){return Vn},zD:function(){return se},zH:function(){return en}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ht,Pi,Ki)=>Pi in ht?i(ht,Pi,{enumerable:!0,configurable:!0,writable:!0,value:Ki}):ht[Pi]=Ki,a=(ht,Pi)=>{for(var Ki in Pi||(Pi={}))o.call(Pi,Ki)&&u(ht,Ki,Pi[Ki]);if(f)for(var Ki of f(Pi))h.call(Pi,Ki)&&u(ht,Ki,Pi[Ki]);return ht},x=(ht,Pi)=>l(ht,c(Pi)),p=(ht,Pi,Ki)=>new Promise((oi,xa)=>{var di=rr=>{try{vn(Ki.next(rr))}catch(mt){xa(mt)}},ei=rr=>{try{vn(Ki.throw(rr))}catch(mt){xa(mt)}},vn=rr=>rr.done?oi(rr.value):Promise.resolve(rr.value).then(di,ei);vn((Ki=Ki.apply(ht,Pi)).next())});const y=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ht})}),m=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ht})}),b=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ht})}),A=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ht})}),k=ht=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ht})});function R(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ht)})})}function C(ht){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ht||{})})})}function O(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}.json`,{method:"Get",params:ht})})}function M(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/show_right.json`,{method:"Get"})})}function B(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges.json`,{method:"Get"})})}function N(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ht.save_type}})})}function V(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/jupyter_exec.json${ht.reset?`?reset=${ht.reset}`:""}`,{method:"Get",params:ht})})}function G(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/shixun_exec.json${ht.reset?`?reset=${ht.reset}`:""}`,{method:"Get",params:ht})})}function H(ht){return p(this,null,function*(){return(0,r.ZP)(ht.url,{method:"Get"})})}function se(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.shixun_identifier}/challenges/${ht.challenge_id}/index_up.json`,{method:"Get"})})}function ie(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.shixun_identifier}/challenges/${ht.challenge_id}/index_down.json`,{method:"Get"})})}function le(ht){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ht.container_id,container_type:ht.container_type}})})}function q(ht){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ht.container_id,container_type:ht.container_type}})})}function J(ht){return p(this,null,function*(){const{id:Pi}=ht||{};return(0,r.ZP)(`/api/shixuns/${Pi}/search_user_courses.json`,{method:"Get",params:ht})})}function K(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht==null?void 0:ht.id}/send_to_course.json`,{method:"Post",body:a({},ht)})})}function ue(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/cancel_publish.json`,{method:"Get"})})}function ee(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/apply_public.json`,{method:"post",body:a({},ht)})})}function ce(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/publish.json`,{method:"Get"})})}function Z(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function j(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ht.id}.json`,{method:"delete"})})}function ae(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ht})})}function me(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ht})})}function Pe(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ht})})}function De(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/review_newest_record.json`,{method:"Get"})})}function He(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/review_shixun.json`,{method:"post",body:ht})})}function je(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/collaborators.json`,{method:"Get",params:ht})})}function Mt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/shixun_members_added.json`,{method:"post",body:ht})})}function yt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.identifier}/add_members_group.json`,{method:"post",body:ht})})}function kt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/change_manager.json`,{method:"Get",params:ht})})}function Zt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/change_manager.json`,{method:"post",body:ht})})}function Ft(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ht.userId}})})}function tr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/ranking_list.json`,{method:"Get"})})}function Ue(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/settings.json`,{method:"Get"})})}function wt(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ht.mirror_id}})})}function Bt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/get_script_contents.json`,{method:"Get",params:ht})})}function rt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/get_custom_script.json`,{method:"Get",params:ht})})}function _t(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_for_jupyter.json`,{method:"put",body:ht})})}function ct(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/shixun_quotes.json`,{method:"Get"})})}function qe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}.json`,{method:"delete"})})}function Ne(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/close.json`,{method:"post",body:ht})})}function xe(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ht})})}function Le(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_permission_setting.json`,{method:"post",body:ht})})}function Ge(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_learn_setting.json`,{method:"post",body:ht})})}function We(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_setting`,{method:"post",body:ht})})}function Ye(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/get_data_sets.json`,{method:"Get",params:ht})})}function ft(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ht.deleteId}})})}function bt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/new.json`,{method:"get"})})}function nr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.identifier}/challenges.json`,{method:"post",body:a({},ht)})})}function Jt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengeId}/edit.json`,{method:"get",params:{tab:ht.tab}})})}function Me(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}.json`,{method:"put",body:a({},ht)})})}function tt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/choose_questions.json`,{method:"get"})})}function Kt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/move_position.json`,{method:"post",body:a({},ht)})})}function Lt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}.json`,{method:"delete",body:a({},ht)})})}function $t(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/edit.json`,{method:"get",params:a({},ht)})})}function Wt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengeId}/answer.json`,{method:"get",params:a({},ht)})})}function sr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengeId}/crud_answer.json`,{method:"post",body:a({},ht)})})}function Ht(ht){return p(this,null,function*(){if(ht.type===1)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/create_choose_question.json`,{method:"post",body:a({},ht)});if(ht.type===2)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/create_blank_question.json`,{method:"post",body:a({},ht)});if(ht.type===3)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/create_judge_question.json`,{method:"post",body:a({},ht)})})}function Oe(ht){return p(this,null,function*(){if(ht.type===1)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ht),{choose_id:ht.questionId})});if(ht.type===2)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ht),{choose_id:ht.questionId})});if(ht.type===3)return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ht),{choose_id:ht.questionId})})})}function fe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ht.questionId}})})}function pe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ht.questionId}})})}function Pt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ht.questionId}})})}function Te(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/challenges/${ht.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ht),{choose_id:ht.questionId})})})}function lt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/delete_git_file.json`,{method:"Delete",body:ht})})}function Gt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/delete_git_file.json`,{method:"Delete",body:ht})})}function Ct(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/mv_file.json`,{method:"post",body:ht})})}function Ie(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/mv_file.json`,{method:"post",body:ht})})}function St(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/repository.json`,{method:"post",body:ht})})}function Ze(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/repository.json`,{method:"post",body:ht})})}function Se(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/secret_repository.json`,{method:"post",body:ht})})}function gt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/add_file.json`,{method:"post",body:ht})})}function Rt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/add_file.json`,{method:"post",body:ht})})}function Fe(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/commits.json`,{method:"post",body:ht})})}function Tr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/file_content.json`,{method:"post",body:ht})})}function At(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/file_content.json`,{method:"post",body:ht})})}function Hr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_file.json`,{method:"post",body:ht})})}function Xr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/update_file.json`,{method:"post",body:ht})})}function Pr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/upload_git_folder.json`,{method:"post",body:{path:ht.path,secret_repository:ht.secret_repository}})})}function Rr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/${ht.url}`,{method:"Get"})})}function mr(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ht})})}function jr(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ht})})}function en(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ht})})}function on(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ht})})}function Xt(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ht})})}function vt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/fork_list.json`,{method:"Get",params:ht})})}function ot(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.identifier}/change_editable.json`,{method:"put",body:a({},ht)})})}function ut(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/set_secret_dir.json`,{method:"post",body:a({},ht)})})}function Nt(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ht})})}function yr(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ht})})}function vr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/init_repository.json`,{method:"post",body:a({},ht)})})}function Kr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ht.id}/init_repository.json`,{method:"post",body:a({},ht)})})}function Nr(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_secret_repository.json`,{method:"post",body:a({},ht)})})}function mn(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/exist_exercise.json`,{method:"get",params:a({},ht)})})}function Et(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ht.id}.json`,{method:"get",params:a({},ht)})})}function Or(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/publish.json`,{method:"post",body:a({},ht)})})}function Sn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/open_vnc.json`,{method:"post",params:a({},ht)})})}function Zn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/open_webssh.json`,{method:"post",params:a({},ht)})})}function On(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/save_image.json`,{method:"post",body:a({},ht)})})}function Gn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/delete_image.json`,{method:"post",body:a({},ht)})})}function xn(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/extend_vnc.json`,{method:"post",body:a({},ht)})})}function mi(ht){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ht.id}/reset_vnc_link.json`,{method:"post",body:a({},ht)})})}function Vn(ht){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ht)})})}function vi(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ht)})})}function zi(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ht)})})}function Di(ht){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ht})})}function fa(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ht}`,{method:"get",params:{is_initiative_study:1}})})}function Jn(ht){return p(this,null,function*(){return Fetch(`/api/shixuns/${ht.id}/update_shixun_study_num.json`,{method:"post",body:a({},ht)})})}function Xi(ht){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ht})})}function Dt(ht){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ht}/recommend_config.json`,{method:"get"})})}},92982:function(d,_,e){"use strict";e.d(_,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return A},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return C},oZ:function(){return m},rM:function(){return O},r_:function(){return V},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,se,ie)=>se in H?i(H,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):H[se]=ie,h=(H,se)=>{for(var ie in se||(se={}))c.call(se,ie)&&o(H,ie,se[ie]);if(l)for(var ie of l(se))f.call(se,ie)&&o(H,ie,se[ie]);return H},u=(H,se,ie)=>new Promise((le,q)=>{var J=ee=>{try{ue(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{ue(ie.throw(ee))}catch(Q){q(Q)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,K);ue((ie=ie.apply(H,se)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function C(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function O(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:se})})}function V(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:se})})}function G(H,se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:se})})}},63423:function(d,_,e){"use strict";e.d(_,{B$:function(){return y},Cx:function(){return J},DA:function(){return O},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return Zt},FM:function(){return ie},Fn:function(){return Q},Gq:function(){return tr},Ho:function(){return B},IU:function(){return me},JJ:function(){return ce},Ol:function(){return je},Qx:function(){return se},Tv:function(){return Z},V8:function(){return x},WS:function(){return K},WY:function(){return H},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return Ft},dE:function(){return ae},dt:function(){return j},gI:function(){return ue},lO:function(){return le},mW:function(){return G},n0:function(){return C},nV:function(){return He},o1:function(){return Mt},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return De},vR:function(){return A},w3:function(){return V},x4:function(){return R},z2:function(){return yt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ue,wt,Bt)=>wt in Ue?i(Ue,wt,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ue[wt]=Bt,h=(Ue,wt)=>{for(var Bt in wt||(wt={}))c.call(wt,Bt)&&o(Ue,Bt,wt[Bt]);if(l)for(var Bt of l(wt))f.call(wt,Bt)&&o(Ue,Bt,wt[Bt]);return Ue},u=(Ue,wt,Bt)=>new Promise((rt,_t)=>{var ct=xe=>{try{Ne(Bt.next(xe))}catch(Le){_t(Le)}},qe=xe=>{try{Ne(Bt.throw(xe))}catch(Le){_t(Le)}},Ne=xe=>xe.done?rt(xe.value):Promise.resolve(xe.value).then(ct,qe);Ne((Bt=Bt.apply(Ue,wt)).next())});const a=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}/move.json`,{method:"post",body:Ue})}),x=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"delete",body:Ue})}),p=Ue=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ue.id}.json`,{method:"put",body:Ue})}),y=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ue})}),m=Ue=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ue})});function b(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ue)})})}function A(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ue)})})}function R(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ue)})})}function C(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function O(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/homepage_info.json`,{method:"get"})})}function M(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/courses.json`,{method:"get",params:Ue})})}function N(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/shixuns.json`,{method:"get",params:Ue})})}function V(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/subjects.json`,{method:"get",params:Ue})})}function G(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/projects.json`,{method:"get",params:Ue})})}function H(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos.json`,{method:"get",params:Ue})})}function se(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/review.json`,{method:"get",params:Ue})})}function ie(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.id}.json`,{method:"delete"})})}function le(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ue})})}function q(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ue})})}function J(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ue})})}function K(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ue})})}function ue(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ue})})}function ee(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ue})})}function Q(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/${Ue.object_id}/create_course_video.json`,{method:"post",body:Ue})})}function ce(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ue.topicId}.json`,{method:"get",params:Ue})})}function Z(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ue)})})}function j(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ue.username}/videos/batch_publish.json`,{method:"post",body:Ue})})}function ae(Ue){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ue.identifier}/cancel.json`,{method:"delete",body:h({},Ue)})})}function me(Ue){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ue)})})}function Pe(Ue){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ue)})})}function De(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ue){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ue})}function Mt(Ue){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ue})}function yt(Ue){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ue)})}function kt(Ue){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ue)})}function Zt(Ue){return(0,r.ZP)(`/api/users/accounts/${Ue.login}/password.json`,{method:"put",body:h({},Ue)})}function Ft(Ue){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ue)})}function tr(Ue){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ue)})}},80541:function(d,_,e){"use strict";e.d(_,{BQ:function(){return a},DH:function(){return B},Db:function(){return le},Ju:function(){return ie},Mz:function(){return G},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return V},cU:function(){return p},fn:function(){return se},jK:function(){return R},yN:function(){return H}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,K)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:K}):q[J]=K,h=(q,J)=>{for(var K in J||(J={}))c.call(J,K)&&o(q,K,J[K]);if(l)for(var K of l(J))f.call(J,K)&&o(q,K,J[K]);return q},u=(q,J,K)=>new Promise((ue,ee)=>{var Q=j=>{try{Z(K.next(j))}catch(ae){ee(ae)}},ce=j=>{try{Z(K.throw(j))}catch(ae){ee(ae)}},Z=j=>j.done?ue(j.value):Promise.resolve(j.value).then(Q,ce);Z((K=K.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function m(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function A(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function k(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function C(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function O(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function M(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function B(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function N(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function G(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function H(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function se(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function ie(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function le(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},19985:function(d,_,e){"use strict";e.d(_,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return V},cZ:function(){return u},rV:function(){return O},sT:function(){return b},tS:function(){return N},xt:function(){return C},y2:function(){return l}});var r=e(82093),i=(H,se,ie)=>new Promise((le,q)=>{var J=ee=>{try{ue(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{ue(ie.throw(ee))}catch(Q){q(Q)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,K);ue((ie=ie.apply(H,se)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function C(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function O(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:se})})}function M(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:se})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:se})})}function V(H,se){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:se})})}function G(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},34055:function(d,_,e){"use strict";e.d(_,{$O:function(){return J},EO:function(){return bt},G5:function(){return V},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return ft},JL:function(){return C},Jd:function(){return q},Ny:function(){return k},RV:function(){return ie},Rb:function(){return N},Rm:function(){return G},V9:function(){return ae},Yh:function(){return ce},aN:function(){return b},aQ:function(){return u},ag:function(){return Ye},bg:function(){return Jt},d8:function(){return B},dE:function(){return se},eB:function(){return le},eY:function(){return Me},fn:function(){return We},h:function(){return sr},j5:function(){return m},m$:function(){return tt},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Lt},y8:function(){return nr}});var r=e(76560),i=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.CertifiedTeacher=5]="CertifiedTeacher",Ht[Ht.TrainingProduction=8]="TrainingProduction",Ht[Ht.UncertifiedTeacher=12]="UncertifiedTeacher",Ht[Ht.Student=15]="Student",Ht))(i||{}),l=(Ht=>(Ht[Ht.SuperAdmin=1]="SuperAdmin",Ht[Ht.Operation=2]="Operation",Ht[Ht.Admin=5]="Admin",Ht[Ht.Teacher=8]="Teacher",Ht[Ht.Assistant=12]="Assistant",Ht[Ht.Student=15]="Student",Ht))(l||{}),c=(Ht=>(Ht[Ht.SuperAdmin=0]="SuperAdmin",Ht[Ht.Teacher=1]="Teacher",Ht[Ht.Student=2]="Student",Ht))(c||{});const f=Ht=>{const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return Ht.some(pe=>pe==(fe==null?void 0:fe.role))},o=Ht=>{const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return fe!=null&&fe.own?!0:Ht.some(pe=>{var Pt;return pe==((Pt=fe==null?void 0:fe.course)==null?void 0:Pt.course_role)})},h=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Oe}=Ht;return Oe.main_site},u=()=>{var Ht;const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return(Ht=fe==null?void 0:fe.course)==null?void 0:Ht.course_is_end},a=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Oe}=Ht;return Oe.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),C=()=>f([1,2,5]),O=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),V=()=>o([1,2,5,8]),G=()=>o([12]),H=()=>o([8]),se=()=>o([15]),ie=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),q=()=>{var Ht;const{user:Oe}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Oe;return((Ht=fe==null?void 0:fe.course)==null?void 0:Ht.course_role)===null},J=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState(),{userInfo:Oe}=Ht;return Oe==null?void 0:Oe.has_big_model_permission},K=()=>{const{user:Ht}=getDvaApp()._store.getState(),{userInfo:Oe}=Ht;return Oe==null?void 0:Oe.big_model_user_unlimited},ue=(Ht=!0,Oe=!1)=>f([1,2,5,8,12,15]),ee=(Ht=!0,Oe=!1)=>Oe||!Oe&&f([1]),Q=(Ht=!0,Oe=!1)=>Oe||!Oe&&f([1,2]),ce=()=>f([15]),Z=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),j=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),ae=(Ht=!0,Oe=!1)=>{const{user:fe}=(0,r.getDvaApp)()._store.getState(),{userInfo:pe}=fe;return pe!=null&&pe.is_shixun_marker?!0:f([1,2,5,8])},me=(Ht=!0,Oe=!1)=>Ht?f([1]):Oe||!Oe&&f([1]),Pe=(Ht=!0,Oe=!1)=>Ht?f([1,2]):Oe||!Oe&&f([1,2]),De=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),He=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):Oe||!Oe&&f([1,2]),je=(Ht=!0,Oe=!1)=>Ht?f([1,2,5]):Oe||!Oe&&f([1,2]),Mt=(Ht=!0,Oe=!1)=>Ht?f([1]):!1,yt=(Ht=!0,Oe=!1)=>f([1,2,5,8,12,15]),kt=(Ht=!0,Oe=!1)=>Ht?f([1]):Oe||!Oe&&f([1]),Zt=(Ht=!0,Oe=!1)=>Ht?f([1,2]):Oe||!Oe&&f([1,2]),Ft=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12,15]):Oe||!Oe&&f([1,2]),tr=(Ht=!0,Oe=!1)=>Ht?!1:Oe||!Oe&&f([1,2]),Ue=(Ht=!0,Oe=!1)=>Ht?Oe||!Oe&&f([1,2]):!1,wt=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):!1,Bt=(Ht=!0,Oe=!1)=>Ht?!Oe&&f([1,2,5,8,12]):!1,rt=(Ht=!0,Oe=!1)=>Ht?f([1,2,5]):Oe||!Oe&&f([1,2]),_t=(Ht=!0,Oe=!1)=>f([1,2,5,8,12]),ct=(Ht=!0,Oe=!1)=>Ht?f([1]):Oe||!Oe&&f([1]),qe=(Ht=!0,Oe=!1)=>Ht?f([1,2]):Oe||!Oe&&f([1,2]),Ne=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):Oe||!Oe&&f([1,2]),xe=(Ht=!0,Oe=!1)=>Ht?Oe||!Oe&&f([1,2]):!1,Le=(Ht=!0,Oe=!1)=>Ht?f([1,2,5,8,12]):Oe||!Oe&&f([1,2]),Ge=(Ht=!0,Oe=!1)=>o([8]),We=()=>f([1]),Ye=()=>f([1,2]),ft=()=>f([15]),bt=()=>f([1,2,5]),nr=()=>f([1,2,5,12]),Jt=()=>{var Ht;const{user:Oe}=(0,r.getDvaApp)()._store.getState();return!!((Ht=Oe.userInfo)!=null&&Ht.login)},Me=()=>{const{user:Ht}=(0,r.getDvaApp)()._store.getState();return Ht.userInfo},tt=()=>{var Ht,Oe;const{user:fe}=(0,r.getDvaApp)()._store.getState();return!!((Oe=(Ht=fe.userInfo)==null?void 0:Ht.path)!=null&&Oe.own)},Kt=Ht=>{const{graduations:Oe}=(0,r.getDvaApp)()._store.getState(),{details:fe}=Oe;return Ht.some(pe=>pe===(fe==null?void 0:fe.user_identity))},Lt=()=>Kt([0,1]),$t=()=>Kt([0]),Wt=()=>Kt([1]),sr=()=>Kt([2])},22688:function(d,_,e){"use strict";e.d(_,{Fy:function(){return o},Qo:function(){return h},a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{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"}],i=["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 l=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u[u.THEMETWO=2]="THEMETWO",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},28048:function(d,_,e){"use strict";e.d(_,{F:function(){return r}});const r={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"}},90524:function(d,_,e){"use strict";e.d(_,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.111",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.14",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.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")};var i=null,c={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",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.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"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),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",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),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",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"},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",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")},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",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")},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",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")},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",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")},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",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},82093:function(d,_,e){"use strict";e.d(_,{IV:function(){return Z},U2:function(){return ue},ZP:function(){return le},d4:function(){return ee},gz:function(){return ce},rz:function(){return ie},v_:function(){return Q}});var r=e(90524),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(76560),a=e(49661),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,C=(j,ae,me)=>ae in j?y(j,ae,{enumerable:!0,configurable:!0,writable:!0,value:me}):j[ae]=me,O=(j,ae)=>{for(var me in ae||(ae={}))k.call(ae,me)&&C(j,me,ae[me]);if(A)for(var me of A(ae))R.call(ae,me)&&C(j,me,ae[me]);return j},M=(j,ae)=>m(j,b(ae)),B=(j,ae,me)=>new Promise((Pe,De)=>{var He=yt=>{try{Mt(me.next(yt))}catch(kt){De(kt)}},je=yt=>{try{Mt(me.throw(yt))}catch(kt){De(kt)}},Mt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(He,je);Mt((me=me.apply(j,ae)).next())});let N;const V={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"},G=(j,ae)=>B(void 0,null,function*(){if(j.status>=200&&j.status<300)return j;const me=V[j.status]||j.statusText;let Pe;var De=j.json();yield De.then((je,Mt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),Pe=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${j.status}: ${j.message}`,description:je.message?"":me})});const He=new Error(me);throw He.name=j.status,He.response=j,{data:j,code:j.status,message:Pe||me}}),H=(j,ae)=>{const me=j.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&j.clone().text().then(()=>{}),j};function se(j){try{return decodeURIComponent(j),decodeURIComponent(encodeURIComponent(j))===j}catch(ae){return!1}}const ie=j=>{j=j||{};let ae="";for(let me in j)typeof j[me]=="object"?Array.isArray(j[me])&&j[me].forEach((Pe,De)=>{ae+="&"+me+"[]="+Pe}):j[me]!==void 0&&(ae+="&"+me+"="+(se(j[me])?j[me]:encodeURIComponent(j[me])));return ae.substr(1)};function le(j,ae,me,Pe){ae.method||(ae.method="get"),ae.method=ae.method.toUpperCase(),ae.mode="cors";const De=O({},ae),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:je}=He,Mt=j+(De.body?JSON.stringify(De.body):""),yt=o().sha256().update(Mt).digest("hex"),kt={credentials:"include",withCredentials:!0},Zt={};je!=null&&je.login&&(Zt.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(Zt.zzsud=je==null?void 0:je.school_id),De.params=O(O({},De.params||{}),Zt));let Ft=O(O({},kt),(0,x.cloneDeep)(De));(Ft.method==="POST"||Ft.method==="PUT"||Ft.method==="PATCH"||Ft.method==="DELETE")&&(me?(Ft.headers=M(O({_method:ae.method.toUpperCase()},Ft.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Ft.body=De.body):(Ft.headers=O({Accept:"application/json",_method:ae.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Ft.headers),Ft.body=JSON.stringify(De.body))),Ft.method=="GET"?(Ft.headers=M(O({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ae.method.toUpperCase()},Ft.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),De.params&&ie(De.params)&&(j+="?"+ie(De.params))):Zt.zzud&&(j+="?"+ie(O({},Zt)));const tr=De.expirys&&60;let Ue;(_t=>{_t.json="application/json;charset=UTF-8",_t.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ue||(Ue={}));let wt;(_t=>{_t.get="GET",_t.post="POST"})(wt||(wt={}));const Bt=_t=>B(this,null,function*(){const ct=yield _t.arrayBuffer();let qe;const Ne=new Blob([ct]);try{qe=_t.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(We){qe="userfiles.zip"}const xe=document.createElement("a"),Le=window.URL.createObjectURL(Ne),Ge=qe;return xe.href=Le,xe.download=Ge,xe.click(),window.URL.revokeObjectURL(Le),ct});let rt=r.Z.API_SERVER;return(window.ENV==="dev"||j.startsWith("http"))&&(rt=""),Ft.method=="GET"&&Ft.params&&Object.keys(Ft.params).map(_t=>{if(Ft.params[_t]&&!Array.isArray(Ft.params[_t]))try{Ft.params[_t]=encodeURIComponent(decodeURIComponent(Ft.params[_t]))}catch(ct){Ft.params[_t]=encodeURIComponent(Ft.params[_t])}}),(0,a.Ec)(Ft,j),Pe&&(rt=""),Ft.headers._method=Ft.method,Ft.headers["X-HTTP-Method-Override"]=Ft.method,Ft.method!=="GET"&&(Ft.method="POST"),fetch(rt+j,Ft).then(_t=>G(_t,O({url:r.Z.API_SERVER+j},Ft))).then(_t=>H(_t,yt)).then(_t=>B(this,null,function*(){var ct,qe,Ne,xe;try{const Ge=_t.headers.get("cs");Ge&&(0,a.d8)("_educoder_session",Ge,1)}catch(Ge){}if(_t.status===204)return _t.text();let Le;if(_t.headers.get("content-type").indexOf("application/json")>-1){Le=yield _t.json();try{const Ge=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,We=/\"\/api\/attachments\/(\d+)\//g,Ye=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ft=/\/api\/attachments\/(\d+)/g,bt=/\/attachments\/download\/(\d+)/g;let nr=JSON.stringify(Le).replace(ft,(Jt,Me,tt,Kt)=>{const Lt=Me||tt||Kt;return"/api/attachments/"+(0,a.Jn)(Lt)}).replace(bt,(Jt,Me,tt)=>{const Kt=Me||tt;return"/attachments/download/"+(0,a.Jn)(Kt)}).replace(Ge,(Jt,Me,tt,Kt)=>{const Lt=Me||tt||Kt;return"(/api/attachments/"+(0,a.Jn)(Lt)}).replace(We,(Jt,Me,tt)=>{const Kt=Me||tt;return'"/api/attachments/'+(0,a.Jn)(Kt)}).replace(Ye,(Jt,Me,tt)=>{const Kt=Me||tt;return"(/files/uploads/"+(0,a.Jn)(Kt)}).replace(/\r\n/g,` `);Le=JSON.parse(nr)}catch(Ge){}}else Ft.headers["Content-Type"]==="application/xml"?Le=yield _t.text():(ct=De.body)!=null&&ct.autoDownload||(qe=De.params)!=null&&qe.autoDownload?Le=yield Bt(_t):Le=yield _t.arrayBuffer();try{Le.status===401&&(!((Ne=Ft.params)!=null&&Ne.hidePopLogin)||!((xe=Ft.body)!=null&&xe.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Le.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.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:()=>{u.history.push("/account/profile/edit")}})))}catch(Ge){console.log("fetcherr",Ge)}return K(Le,j),Le})).catch(_t=>{try{const ct=_t.code;if(_t instanceof TypeError&&window.showNetworkErrorTip(`${j}${_t.message}`),ct){if(ct===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(_t,j)}else j.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Ft.body}}):_t.message!=="403"&&window.showNetworkErrorTip(`${j}${_t.message}`);return _t}catch(ct){}})}let q=!1,J=!1;const K=(j,ae)=>{var me,Pe,De;if(j.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:j.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(j.status==-7){J=!0,setTimeout(()=>J=!1,500);let je="";(me=j==null?void 0:j.data)!=null&&me.exercise_list&&((De=(Pe=j==null?void 0:j.data)==null?void 0:Pe.exercise_list)==null||De.map(Mt=>{je+=`\u300A${Mt.exercise_name}\u300B`})),l.default.info({title:"\u63D0\u793A",content:h.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 ${je} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((j.status==-1||j.status==-2||j.status==-102||j.status>400)&&j.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:j.message,key:"message-key"});return}const He={403:"/403",404:"/404",500:"/500"};if(He[j.status]&&!q){const{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Mt}=je;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(j)),Object.values(He).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(He[j.status]),new Error("403")}};function ue(j,ae){return le(`/api/${j}`,{method:"Get",params:ae||{}})}function ee(j,ae){return le(`/${j}`,{method:"Get",params:ae})}function Q(j,ae){return le(`/api/${j}`,{method:"Post",body:O({},ae)})}function ce(j,ae){return le(`/api/${j}`,{method:"Put",body:O({},ae)})}function Z(j,ae){return le(`/api/${j}`,{method:"delete",body:O({},ae||{})})}},77976:function(d,_,e){"use strict";e.d(_,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},90290:function(d,_,e){"use strict";e.d(_,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(se,ie){const le=se.match(/^(\s+)(?:```)/);if(le===null)return ie;const q=le[1];return ie.split(` `).map(J=>{const K=J.match(/^\s+/);if(K===null)return J;const[ue]=K;return ue.length>=q.length?J.slice(q.length):J}).join(` `)}let h=[],u=["
    "];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["
      "]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function m(se,ie,le,q){if(ie>=se.length||se[ie].level<=le)return ie;var J=se[ie];q.push("
    • "+J.text+""),ie++;var K=[];return ie=m(se,ie,J.level,K),K.length>0&&(q.push("
        "),K.forEach(function(ue){q.push(ue)}),q.push("
      ")),q.push("
    • "),ie=m(se,ie,le,q),ie}function b(){return m(h,0,0,u),u.push("
    "),u.join("")}const A={heading(se){const ie=x.exec(se);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(se){const ie=this.rules.block.fences.exec(se);if(ie){const le=ie[0];let q=o(le,ie[3]||"");const J=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(J)>=0){const K=C(),ue=q;q=K,O[K]={type:"block",expression:ue}}return{type:"code",raw:le,lang:J,text:q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const C=()=>`__special_katext_id_${R++}__`;let O={};function M(){return O}function B(){R=0,O={}}function N(se){return se=se.replace(k,(ie,le)=>{const q=C();return O[q]={type:"inline",expression:le},q}),se}const V=a.listitem;a.listitem=function(se){return V(N(se))};const G=a.paragraph;a.paragraph=function(se){return G(N(se))};const H=a.tablecell;a.tablecell=function(se,ie){return H(N(se),ie)},a.code=function(se,ie,le){const q=(ie||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`

    ${se}

    `:`
    ${le?se:(0,l.escape)(se,!0)}