(function(){var __webpack_modules__={47448:function(m,C,e){"use strict";e.r(C),e.d(C,{blue:function(){return Me},cyan:function(){return rt},geekblue:function(){return ve},generate:function(){return xe},gold:function(){return At},gray:function(){return it},green:function(){return zt},grey:function(){return $e},lime:function(){return kt},magenta:function(){return Be},orange:function(){return Zt},presetDarkPalettes:function(){return et},presetPalettes:function(){return Qe},presetPrimaryColors:function(){return ke},purple:function(){return Ce},red:function(){return wt},volcano:function(){return Ye},yellow:function(){return Ct}});function t(Te,nt){u(Te)&&(Te="100%");var Pe=o(Te);return Te=nt===360?Te:Math.min(nt,Math.max(0,parseFloat(Te))),Pe&&(Te=parseInt(String(Te*nt),10)/100),Math.abs(Te-nt)<1e-6?1:(nt===360?Te=(Te<0?Te%nt+nt:Te%nt)/parseFloat(String(nt)):Te=Te%nt/parseFloat(String(nt)),Te)}function n(Te){return Math.min(1,Math.max(0,Te))}function u(Te){return typeof Te=="string"&&Te.indexOf(".")!==-1&&parseFloat(Te)===1}function o(Te){return typeof Te=="string"&&Te.indexOf("%")!==-1}function i(Te){return Te=parseFloat(Te),(isNaN(Te)||Te<0||Te>1)&&(Te=1),Te}function f(Te){return Te<=1?"".concat(Number(Te)*100,"%"):Te}function s(Te){return Te.length===1?"0"+Te:String(Te)}function a(Te,nt,Pe){return{r:t(Te,255)*255,g:t(nt,255)*255,b:t(Pe,255)*255}}function r(Te,nt,Pe){Te=bound01(Te,255),nt=bound01(nt,255),Pe=bound01(Pe,255);var Je=Math.max(Te,nt,Pe),de=Math.min(Te,nt,Pe),Oe=0,vt=0,qe=(Je+de)/2;if(Je===de)vt=0,Oe=0;else{var Ze=Je-de;switch(vt=qe>.5?Ze/(2-Je-de):Ze/(Je+de),Je){case Te:Oe=(nt-Pe)/Ze+(nt1&&(Pe-=1),Pe<.16666666666666666?Te+(nt-Te)*(6*Pe):Pe<.5?nt:Pe<.6666666666666666?Te+(nt-Te)*(.6666666666666666-Pe)*6:Te}function l(Te,nt,Pe){var Je,de,Oe;if(Te=t(Te,360),nt=t(nt,100),Pe=t(Pe,100),nt===0)de=Pe,Oe=Pe,Je=Pe;else{var vt=Pe<.5?Pe*(1+nt):Pe+nt-Pe*nt,qe=2*Pe-vt;Je=b(qe,vt,Te+.3333333333333333),de=b(qe,vt,Te),Oe=b(qe,vt,Te-.3333333333333333)}return{r:Je*255,g:de*255,b:Oe*255}}function d(Te,nt,Pe){Te=t(Te,255),nt=t(nt,255),Pe=t(Pe,255);var Je=Math.max(Te,nt,Pe),de=Math.min(Te,nt,Pe),Oe=0,vt=Je,qe=Je-de,Ze=Je===0?0:qe/Je;if(Je===de)Oe=0;else{switch(Je){case Te:Oe=(nt-Pe)/qe+(nt>16,g:(Te&65280)>>8,b:Te&255}}var S={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function g(Te){var nt={r:0,g:0,b:0},Pe=1,Je=null,de=null,Oe=null,vt=!1,qe=!1;return typeof Te=="string"&&(Te=z(Te)),typeof Te=="object"&&(T(Te.r)&&T(Te.g)&&T(Te.b)?(nt=a(Te.r,Te.g,Te.b),vt=!0,qe=String(Te.r).substr(-1)==="%"?"prgb":"rgb"):T(Te.h)&&T(Te.s)&&T(Te.v)?(Je=f(Te.s),de=f(Te.v),nt=c(Te.h,Je,de),vt=!0,qe="hsv"):T(Te.h)&&T(Te.s)&&T(Te.l)&&(Je=f(Te.s),Oe=f(Te.l),nt=l(Te.h,Je,Oe),vt=!0,qe="hsl"),Object.prototype.hasOwnProperty.call(Te,"a")&&(Pe=Te.a)),Pe=i(Pe),{ok:vt,format:Te.format||qe,r:Math.min(255,Math.max(nt.r,0)),g:Math.min(255,Math.max(nt.g,0)),b:Math.min(255,Math.max(nt.b,0)),a:Pe}}var I="[-\\+]?\\d+%?",R="[-\\+]?\\d*\\.\\d+%?",O="(?:".concat(R,")|(?:").concat(I,")"),L="[\\s|\\(]+(".concat(O,")[,|\\s]+(").concat(O,")[,|\\s]+(").concat(O,")\\s*\\)?"),j="[\\s|\\(]+(".concat(O,")[,|\\s]+(").concat(O,")[,|\\s]+(").concat(O,")[,|\\s]+(").concat(O,")\\s*\\)?"),U={CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+L),rgba:new RegExp("rgba"+j),hsl:new RegExp("hsl"+L),hsla:new RegExp("hsla"+j),hsv:new RegExp("hsv"+L),hsva:new RegExp("hsva"+j),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function z(Te){if(Te=Te.trim().toLowerCase(),Te.length===0)return!1;var nt=!1;if(S[Te])Te=S[Te],nt=!0;else if(Te==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Pe=U.rgb.exec(Te);return Pe?{r:Pe[1],g:Pe[2],b:Pe[3]}:(Pe=U.rgba.exec(Te),Pe?{r:Pe[1],g:Pe[2],b:Pe[3],a:Pe[4]}:(Pe=U.hsl.exec(Te),Pe?{h:Pe[1],s:Pe[2],l:Pe[3]}:(Pe=U.hsla.exec(Te),Pe?{h:Pe[1],s:Pe[2],l:Pe[3],a:Pe[4]}:(Pe=U.hsv.exec(Te),Pe?{h:Pe[1],s:Pe[2],v:Pe[3]}:(Pe=U.hsva.exec(Te),Pe?{h:Pe[1],s:Pe[2],v:Pe[3],a:Pe[4]}:(Pe=U.hex8.exec(Te),Pe?{r:h(Pe[1]),g:h(Pe[2]),b:h(Pe[3]),a:v(Pe[4]),format:nt?"name":"hex8"}:(Pe=U.hex6.exec(Te),Pe?{r:h(Pe[1]),g:h(Pe[2]),b:h(Pe[3]),format:nt?"name":"hex"}:(Pe=U.hex4.exec(Te),Pe?{r:h(Pe[1]+Pe[1]),g:h(Pe[2]+Pe[2]),b:h(Pe[3]+Pe[3]),a:v(Pe[4]+Pe[4]),format:nt?"name":"hex8"}:(Pe=U.hex3.exec(Te),Pe?{r:h(Pe[1]+Pe[1]),g:h(Pe[2]+Pe[2]),b:h(Pe[3]+Pe[3]),format:nt?"name":"hex"}:!1)))))))))}function T(Te){return!!U.CSS_UNIT.exec(String(Te))}var P=2,w=.16,D=.05,F=.05,Z=.15,k=5,B=4,G=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function X(Te){var nt=Te.r,Pe=Te.g,Je=Te.b,de=d(nt,Pe,Je);return{h:de.h*360,s:de.s,v:de.v}}function q(Te){var nt=Te.r,Pe=Te.g,Je=Te.b;return"#".concat(p(nt,Pe,Je,!1))}function ee(Te,nt,Pe){var Je=Pe/100,de={r:(nt.r-Te.r)*Je+Te.r,g:(nt.g-Te.g)*Je+Te.g,b:(nt.b-Te.b)*Je+Te.b};return de}function ue(Te,nt,Pe){var Je;return Math.round(Te.h)>=60&&Math.round(Te.h)<=240?Je=Pe?Math.round(Te.h)-P*nt:Math.round(Te.h)+P*nt:Je=Pe?Math.round(Te.h)+P*nt:Math.round(Te.h)-P*nt,Je<0?Je+=360:Je>=360&&(Je-=360),Je}function ce(Te,nt,Pe){if(Te.h===0&&Te.s===0)return Te.s;var Je;return Pe?Je=Te.s-w*nt:nt===B?Je=Te.s+w:Je=Te.s+D*nt,Je>1&&(Je=1),Pe&&nt===k&&Je>.1&&(Je=.1),Je<.06&&(Je=.06),Number(Je.toFixed(2))}function ge(Te,nt,Pe){var Je;return Pe?Je=Te.v+F*nt:Je=Te.v-Z*nt,Je>1&&(Je=1),Number(Je.toFixed(2))}function xe(Te){for(var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=[],Je=g(Te),de=k;de>0;de-=1){var Oe=X(Je),vt=q(g({h:ue(Oe,de,!0),s:ce(Oe,de,!0),v:ge(Oe,de,!0)}));Pe.push(vt)}Pe.push(q(Je));for(var qe=1;qe<=B;qe+=1){var Ze=X(Je),st=q(g({h:ue(Ze,qe),s:ce(Ze,qe),v:ge(Ze,qe)}));Pe.push(st)}return nt.theme==="dark"?G.map(function(Tt){var lt=Tt.index,pe=Tt.opacity,te=q(ee(g(nt.backgroundColor||"#141414"),g(Pe[lt]),pe*100));return te}):Pe}var ke={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Qe={},et={};Object.keys(ke).forEach(function(Te){Qe[Te]=xe(ke[Te]),Qe[Te].primary=Qe[Te][5],et[Te]=xe(ke[Te],{theme:"dark",backgroundColor:"#141414"}),et[Te].primary=et[Te][5]});var wt=Qe.red,Ye=Qe.volcano,At=Qe.gold,Zt=Qe.orange,Ct=Qe.yellow,kt=Qe.lime,zt=Qe.green,rt=Qe.cyan,Me=Qe.blue,ve=Qe.geekblue,Ce=Qe.purple,Be=Qe.magenta,$e=Qe.grey,it=Qe.grey},42196:function(m,C,e){"use strict";e.d(C,{V9:function(){return P},IJ:function(){return dt},$t:function(){return On}});var t=e(67294),n=e.t(t,2),u=e(1413),o=e(45987);function i(pr,vr,er){var wr=t.useRef({});return(!("value"in wr.current)||er(wr.current.condition,vr))&&(wr.current.value=pr(),wr.current.condition=vr),wr.current.value}var f=e(71002),s={},a=[],r=function(vr){a.push(vr)};function b(pr,vr){if(0)var er}function l(pr,vr){if(0)var er}function d(){s={}}function c(pr,vr,er){!vr&&!s[er]&&(pr(!1,er),s[er]=!0)}function p(pr,vr){c(b,pr,vr)}function x(pr,vr){c(l,pr,vr)}p.preMessage=r,p.resetWarned=d,p.noteOnce=x;var y=p;function _(pr,vr){var er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,wr=new Set;function Ir(We,qr){var on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,En=wr.has(We);if(y(!En,"Warning: There may be circular references"),En)return!1;if(We===qr)return!0;if(er&&on>1)return!1;wr.add(We);var Kn=on+1;if(Array.isArray(We)){if(!Array.isArray(qr)||We.length!==qr.length)return!1;for(var Qn=0;Qn0&&arguments[0]!==void 0?arguments[0]:{},vr=pr.mark;return vr?vr.startsWith("data-")?vr:"data-".concat(vr):k}function X(pr){if(pr.attachTo)return pr.attachTo;var vr=document.querySelector("head");return vr||document.body}function q(pr){return pr==="queue"?"prependQueue":pr?"prepend":"append"}function ee(pr){return Array.from((B.get(pr)||pr).children).filter(function(vr){return vr.tagName==="STYLE"})}function ue(pr){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!D())return null;var er=vr.csp,wr=vr.prepend,Ir=document.createElement("style");Ir.setAttribute(Z,q(wr)),er!=null&&er.nonce&&(Ir.nonce=er==null?void 0:er.nonce),Ir.innerHTML=pr;var We=X(vr),qr=We.firstChild;if(wr){if(wr==="queue"){var on=ee(We).filter(function(En){return["prepend","prependQueue"].includes(En.getAttribute(Z))});if(on.length)return We.insertBefore(Ir,on[on.length-1].nextSibling),Ir}We.insertBefore(Ir,qr)}else We.appendChild(Ir);return Ir}function ce(pr){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},er=X(vr);return ee(er).find(function(wr){return wr.getAttribute(G(vr))===pr})}function ge(pr){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},er=ce(pr,vr);if(er){var wr=X(vr);wr.removeChild(er)}}function xe(pr,vr){var er=B.get(pr);if(!er||!F(document,er)){var wr=ue("",vr),Ir=wr.parentNode;B.set(pr,Ir),pr.removeChild(wr)}}function ke(){B.clear()}function Qe(pr,vr){var er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},wr=X(er);xe(wr,er);var Ir=ce(vr,er);if(Ir){var We,qr;if((We=er.csp)!==null&&We!==void 0&&We.nonce&&Ir.nonce!==((qr=er.csp)===null||qr===void 0?void 0:qr.nonce)){var on;Ir.nonce=(on=er.csp)===null||on===void 0?void 0:on.nonce}return Ir.innerHTML!==pr&&(Ir.innerHTML=pr),Ir}var En=ue(pr,er);return En.setAttribute(G(er),vr),En}function et(pr){var vr="";return Object.keys(pr).forEach(function(er){var wr=pr[er];vr+=er,wr&&_typeof(wr)==="object"?vr+=et(wr):vr+=wr}),vr}function wt(pr,vr){return hash("".concat(vr,"_").concat(et(pr)))}var Ye="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),At="_bAmBoO_";function Zt(pr,vr,er){if(D()){var wr,Ir;Qe(pr,Ye);var We=document.createElement("div");We.style.position="fixed",We.style.left="0",We.style.top="0",vr==null||vr(We),document.body.appendChild(We);var qr=er?er(We):(wr=getComputedStyle(We).content)===null||wr===void 0?void 0:wr.includes(At);return(Ir=We.parentNode)===null||Ir===void 0||Ir.removeChild(We),ge(Ye),qr}return!1}var Ct=null;function kt(){return Ct===void 0&&(Ct=Zt("@layer ".concat(Ye," { .").concat(Ye,' { content: "').concat(At,'"!important; } }'),function(pr){pr.className=Ye})),Ct}var zt=void 0;function rt(){return zt===void 0&&(zt=Zt(":where(.".concat(Ye,') { content: "').concat(At,'"!important; }'),function(pr){pr.className=Ye})),zt}var Me=void 0;function ve(){return Me===void 0&&(Me=Zt(".".concat(Ye," { inset-block: 93px !important; }"),function(pr){pr.className=Ye},function(pr){return getComputedStyle(pr).bottom==="93px"})),Me}var Ce=D()?t.useLayoutEffect:t.useEffect,Be=function(vr,er){var wr=React.useRef(!0);Ce(function(){return vr(wr.current)},er),Ce(function(){return wr.current=!1,function(){wr.current=!0}},[])},$e=function(vr,er){Be(function(wr){if(!wr)return vr()},er)},it=null,Te=(0,u.Z)({},n),nt=Te.useInsertionEffect,Pe=function(vr,er,wr){React.useMemo(vr,wr),useLayoutEffect(function(){return er(!0)},wr)},Je=null,de=null;function Oe(pr,vr,er,wr,Ir){var We=React.useContext(StyleContext),qr=We.cache,on=[pr].concat(_toConsumableArray(vr)),En=on.join("_"),Kn=useHMR(),Qn=function(ba){qr.update(on,function(ai){var at=ai||[],Vn=_slicedToArray(at,2),Ta=Vn[0],wi=Ta===void 0?0:Ta,li=Vn[1],yi=li,za=yi||er(),Ha=[wi,za];return ba?ba(Ha):Ha})};React.useMemo(function(){return Qn()},[En]);var kn=qr.get(on)[1];return useCompatibleInsertionEffect(function(){Ir==null||Ir(kn)},function(pn){return Qn(function(ba){var ai=_slicedToArray(ba,2),at=ai[0],Vn=ai[1];return pn&&at===0&&(Ir==null||Ir(kn)),[at+1,Vn]}),function(){qr.update(on,function(ba){var ai=ba||[],at=_slicedToArray(ai,2),Vn=at[0],Ta=Vn===void 0?0:Vn,wi=at[1],li=Ta-1;return li===0?(wr==null||wr(wi,!1),null):[Ta-1,wi]})}},[En]),kn}var vt={},qe=null,Ze=new Map;function st(pr){Ze.set(pr,(Ze.get(pr)||0)+1)}function Tt(pr,vr){if(typeof document!="undefined"){var er=document.querySelectorAll("style[".concat(ATTR_TOKEN,'="').concat(pr,'"]'));er.forEach(function(wr){if(wr[CSS_IN_JS_INSTANCE]===vr){var Ir;(Ir=wr.parentNode)===null||Ir===void 0||Ir.removeChild(wr)}})}}var lt=0;function pe(pr,vr){Ze.set(pr,(Ze.get(pr)||0)-1);var er=Array.from(Ze.keys()),wr=er.filter(function(Ir){var We=Ze.get(Ir)||0;return We<=0});er.length-wr.length>lt&&wr.forEach(function(Ir){Tt(Ir,vr),Ze.delete(Ir)})}var te=function(vr,er,wr,Ir){var We=wr.getDerivativeToken(vr),qr=_objectSpread(_objectSpread({},We),er);return Ir&&(qr=Ir(qr)),qr};function se(pr,vr){var er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},wr=useContext(StyleContext),Ir=wr.cache.instanceId,We=er.salt,qr=We===void 0?"":We,on=er.override,En=on===void 0?vt:on,Kn=er.formatToken,Qn=React.useMemo(function(){return Object.assign.apply(Object,[{}].concat(_toConsumableArray(vr)))},[vr]),kn=React.useMemo(function(){return flattenToken(Qn)},[Qn]),pn=React.useMemo(function(){return flattenToken(En)},[En]),ba=useGlobalCache("token",[qr,pr.id,kn,pn],function(){var ai=te(Qn,En,pr,Kn),at=token2key(ai,qr);ai._tokenKey=at,st(at);var Vn="".concat(qe,"-").concat(hash(at));return ai._hashId=Vn,[ai,Vn]},function(ai){pe(ai[0]._tokenKey,Ir)});return ba}var St=e(40351);function _e(pr,vr){var er=vr.path,wr=vr.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(er?"Error in ".concat(er,": "):"").concat(pr).concat(wr.length?" Selector: ".concat(wr.join(" | ")):""))}var tt=function(vr,er,wr){if(vr==="content"){var Ir=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,We=["normal","none","initial","inherit","unset"];(typeof er!="string"||We.indexOf(er)===-1&&!Ir.test(er)&&(er.charAt(0)!==er.charAt(er.length-1)||er.charAt(0)!=='"'&&er.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(er,"\"'`."),wr)}},jr=null,Ht=function(vr,er,wr){vr==="animation"&&wr.hashId&&er!=="none"&&lintWarning("You seem to be using hashed animation '".concat(er,"', in which case 'animationName' with Keyframe as value is recommended."),wr)},Re=null;function Qt(pr){var vr,er=((vr=pr.match(/:not\(([^)]*)\)/))===null||vr===void 0?void 0:vr[1])||"",wr=er.split(/(\[[^[]*])|(?=[.#])/).filter(function(Ir){return Ir});return wr.length>1}function He(pr){return pr.parentSelectors.reduce(function(vr,er){return vr?er.includes("&")?er.replace(/&/g,vr):"".concat(vr," ").concat(er):er},"")}var xt=function(vr,er,wr){var Ir=He(wr),We=Ir.match(/:not\([^)]*\)/g)||[];We.length>0&&We.some(Qt)&&lintWarning("Concat ':not' selector not support in legacy browsers.",wr)},ft=null,jt=function(vr,er,wr){switch(vr){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(vr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),wr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof er=="string"){var Ir=er.split(" ").map(function(on){return on.trim()});Ir.length===4&&Ir[1]!==Ir[3]&&lintWarning("You seem to be using '".concat(vr,"' property with different left ").concat(vr," and right ").concat(vr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),wr)}return;case"clear":case"textAlign":(er==="left"||er==="right")&&lintWarning("You seem to be using non-logical value '".concat(er,"' of ").concat(vr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),wr);return;case"borderRadius":if(typeof er=="string"){var We=er.split("/").map(function(on){return on.trim()}),qr=We.reduce(function(on,En){if(on)return on;var Kn=En.split(" ").map(function(Qn){return Qn.trim()});return Kn.length>=2&&Kn[0]!==Kn[1]||Kn.length===3&&Kn[1]!==Kn[2]||Kn.length===4&&Kn[2]!==Kn[3]?!0:on},!1);qr&&lintWarning("You seem to be using non-logical value '".concat(er,"' of ").concat(vr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),wr)}return;default:}},we=null,Jt=function(vr,er,wr){wr.parentSelectors.some(function(Ir){var We=Ir.split(",");return We.some(function(qr){return qr.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",wr)},Fe=null,ar=D(),sr="_skip_check_",Wt="_multi_value_";function qt(pr){var vr=serialize(compile(pr),stringify);return vr.replace(/\{%%%\:[^;];}/g,";")}function It(pr){return _typeof(pr)==="object"&&pr&&(sr in pr||Wt in pr)}function mt(pr,vr,er){if(!vr)return pr;var wr=".".concat(vr),Ir=er==="low"?":where(".concat(wr,")"):wr,We=pr.split(",").map(function(qr){var on,En=qr.trim().split(/\s+/),Kn=En[0]||"",Qn=((on=Kn.match(/^\w+/))===null||on===void 0?void 0:on[0])||"";return Kn="".concat(Qn).concat(Ir).concat(Kn.slice(Qn.length)),[Kn].concat(_toConsumableArray(En.slice(1))).join(" ")});return We.join(",")}var Gt=function pr(vr){var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},wr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Ir=wr.root,We=wr.injectHash,qr=wr.parentSelectors,on=er.hashId,En=er.layer,Kn=er.path,Qn=er.hashPriority,kn=er.transformers,pn=kn===void 0?[]:kn,ba=er.linters,ai=ba===void 0?[]:ba,at="",Vn={};function Ta(Ha){var wa=Ha.getName(on);if(!Vn[wa]){var fi=pr(Ha.style,er,{root:!1,parentSelectors:qr}),ze=_slicedToArray(fi,1),Kt=ze[0];Vn[wa]="@keyframes ".concat(Ha.getName(on)).concat(Kt)}}function wi(Ha){var wa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Ha.forEach(function(fi){Array.isArray(fi)?wi(fi,wa):fi&&wa.push(fi)}),wa}var li=wi(Array.isArray(vr)?vr:[vr]);if(li.forEach(function(Ha){var wa=typeof Ha=="string"&&!Ir?{}:Ha;if(typeof wa=="string")at+="".concat(wa,` `);else if(wa._keyframe)Ta(wa);else{var fi=pn.reduce(function(ze,Kt){var Xt;return(Kt==null||(Xt=Kt.visit)===null||Xt===void 0?void 0:Xt.call(Kt,ze))||ze},wa);Object.keys(fi).forEach(function(ze){var Kt=fi[ze];if(_typeof(Kt)==="object"&&Kt&&(ze!=="animationName"||!Kt._keyframe)&&!It(Kt)){var Xt=!1,ye=ze.trim(),Xe=!1;(Ir||We)&&on?ye.startsWith("@")?Xt=!0:ye=mt(ze,on,Qn):Ir&&!on&&(ye==="&"||ye==="")&&(ye="",Xe=!0);var ne=pr(Kt,er,{root:Xe,injectHash:Xt,parentSelectors:[].concat(_toConsumableArray(qr),[ye])}),he=_slicedToArray(ne,2),fe=he[0],Ie=he[1];Vn=_objectSpread(_objectSpread({},Vn),Ie),at+="".concat(ye).concat(fe)}else{let Rt=function(lr,Yt){var ur=lr.replace(/[A-Z]/g,function(br){return"-".concat(br.toLowerCase())}),Ut=Yt;!unitless[lr]&&typeof Ut=="number"&&Ut!==0&&(Ut="".concat(Ut,"px")),lr==="animationName"&&Yt!==null&&Yt!==void 0&&Yt._keyframe&&(Ta(Yt),Ut=Yt.getName(on)),at+="".concat(ur,":").concat(Ut,";")};var Se,bt=(Se=Kt==null?void 0:Kt.value)!==null&&Se!==void 0?Se:Kt;_typeof(Kt)==="object"&&Kt!==null&&Kt!==void 0&&Kt[Wt]&&Array.isArray(bt)?bt.forEach(function(lr){Rt(ze,lr)}):Rt(ze,bt)}})}}),!Ir)at="{".concat(at,"}");else if(En&&supportLayer()){var yi=En.split(","),za=yi[yi.length-1].trim();at="@layer ".concat(za," {").concat(at,"}"),yi.length>1&&(at="@layer ".concat(En,"{%%%:%}").concat(at))}return[at,Vn]};function tr(pr,vr){return hash("".concat(pr.join("%")).concat(vr))}function Ke(){return null}function gt(pr,vr){var er=pr.token,wr=pr.path,Ir=pr.hashId,We=pr.layer,qr=pr.nonce,on=React.useContext(StyleContext),En=on.autoClear,Kn=on.mock,Qn=on.defaultCache,kn=on.hashPriority,pn=on.container,ba=on.ssrInline,ai=on.transformers,at=on.linters,Vn=on.cache,Ta=er._tokenKey,wi=[Ta].concat(_toConsumableArray(wr)),li=ar,yi=useGlobalCache("style",wi,function(){var ze=vr(),Kt=Gt(ze,{hashId:Ir,hashPriority:kn,layer:We,path:wr.join("-"),transformers:ai,linters:at}),Xt=_slicedToArray(Kt,2),ye=Xt[0],Xe=Xt[1],ne=qt(ye),he=tr(wi,ne);return[ne,Ta,he,Xe]},function(ze,Kt){var Xt=_slicedToArray(ze,3),ye=Xt[2];(Kt||En)&&ar&&removeCSS(ye,{mark:ATTR_MARK})},function(ze){var Kt=_slicedToArray(ze,4),Xt=Kt[0],ye=Kt[1],Xe=Kt[2],ne=Kt[3];if(li){var he={mark:ATTR_MARK,prepend:"queue",attachTo:pn},fe=typeof qr=="function"?qr():qr;fe&&(he.csp={nonce:fe});var Ie=updateCSS(Xt,Xe,he);Ie[CSS_IN_JS_INSTANCE]=Vn.instanceId,Ie.setAttribute(ATTR_TOKEN,Ta),Object.keys(ne).forEach(function(Se){updateCSS(qt(ne[Se]),"_effect-".concat(Se),he)})}}),za=_slicedToArray(yi,3),Ha=za[0],wa=za[1],fi=za[2];return function(ze){var Kt;if(!ba||li||!Qn)Kt=React.createElement(Ke,null);else{var Xt;Kt=React.createElement("style",_extends({},(Xt={},_defineProperty(Xt,ATTR_TOKEN,wa),_defineProperty(Xt,ATTR_MARK,fi),Xt),{dangerouslySetInnerHTML:{__html:Ha}}))}return React.createElement(React.Fragment,null,Kt,ze)}}function ut(pr){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,er=Array.from(pr.cache.keys()).filter(function(Ir){return Ir.startsWith("style%")}),wr="";return er.forEach(function(Ir){var We=_slicedToArray(pr.cache.get(Ir)[1],3),qr=We[0],on=We[1],En=We[2];wr+=vr?qr:"")}),wr}var Lt=e(97685);function ir(pr,vr){if(pr.length!==vr.length)return!1;for(var er=0;er1&&arguments[1]!==void 0?arguments[1]:!1,qr={map:this.cache};return er.forEach(function(on){if(!qr)qr=void 0;else{var En,Kn;qr=(En=qr)===null||En===void 0||(Kn=En.map)===null||Kn===void 0?void 0:Kn.get(on)}}),(wr=qr)!==null&&wr!==void 0&&wr.value&&We&&(qr.value[1]=this.cacheCallTimes++),(Ir=qr)===null||Ir===void 0?void 0:Ir.value}},{key:"get",value:function(er){var wr;return(wr=this.internalGet(er,!0))===null||wr===void 0?void 0:wr[0]}},{key:"has",value:function(er){return!!this.internalGet(er)}},{key:"set",value:function(er,wr){var Ir=this;if(!this.has(er)){if(this.size()+1>pr.MAX_CACHE_SIZE+pr.MAX_CACHE_OFFSET){var We=this.keys.reduce(function(Kn,Qn){var kn=(0,Lt.Z)(Kn,2),pn=kn[1];return Ir.internalGet(Qn)[1]0?Ir+=on:qr.push(on),qr},[]),!!er]}function _r(pr){return pr.notSplit=!0,pr}var In={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:_r(["borderTop","borderBottom"]),borderBlockStart:_r(["borderTop"]),borderBlockEnd:_r(["borderBottom"]),borderInline:_r(["borderLeft","borderRight"]),borderInlineStart:_r(["borderLeft"]),borderInlineEnd:_r(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function fn(pr,vr){var er=pr;return vr&&(er="".concat(er," !important")),{_skip_check_:!0,value:er}}var Qr={visit:function(vr){var er={};return Object.keys(vr).forEach(function(wr){var Ir=vr[wr],We=In[wr];if(We&&(typeof Ir=="number"||typeof Ir=="string")){var qr=ht(Ir),on=(0,Lt.Z)(qr,2),En=on[0],Kn=on[1];We.length&&We.notSplit?We.forEach(function(Qn){er[Qn]=fn(Ir,Kn)}):We.length===1?er[We[0]]=fn(Ir,Kn):We.length===2?We.forEach(function(Qn,kn){var pn;er[Qn]=fn((pn=En[kn])!==null&&pn!==void 0?pn:En[0],Kn)}):We.length===4?We.forEach(function(Qn,kn){var pn,ba;er[Qn]=fn((pn=(ba=En[kn])!==null&&ba!==void 0?ba:En[kn-2])!==null&&pn!==void 0?pn:En[0],Kn)}):er[wr]=Ir}else er[wr]=Ir}),er}},dt=Qr,dn=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function An(pr,vr){var er=Math.pow(10,vr+1),wr=Math.floor(pr*er);return Math.round(wr/10)*10/er}var cn=function(){var vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},er=vr.rootValue,wr=er===void 0?16:er,Ir=vr.precision,We=Ir===void 0?5:Ir,qr=vr.mediaQuery,on=qr===void 0?!1:qr,En=function(kn,pn){if(!pn)return kn;var ba=parseFloat(pn);if(ba<=1)return kn;var ai=An(ba/wr,We);return"".concat(ai,"rem")},Kn=function(kn){var pn=(0,u.Z)({},kn);return Object.entries(kn).forEach(function(ba){var ai=(0,Lt.Z)(ba,2),at=ai[0],Vn=ai[1];if(typeof Vn=="string"&&Vn.includes("px")){var Ta=Vn.replace(dn,En);pn[at]=Ta}!St.Z[at]&&typeof Vn=="number"&&Vn!==0&&(pn[at]="".concat(Vn,"px").replace(dn,En));var wi=at.trim();if(wi.startsWith("@")&&wi.includes("px")&&on){var li=at.replace(dn,En);pn[li]=pn[at],delete pn[at]}}),pn};return{visit:Kn}},On=cn,ua={supportModernCSS:function(){return rt()&&ve()}}},74643:function(m,C,e){"use strict";e.d(C,{Z:function(){return $e}});var t=e(87462),n=e(97685),u=e(4942),o=e(45987),i=e(67294),f=e(94184),s=e.n(f),a=e(47448),r=e(63017),b=e(1413),l=e(71002);function d(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function c(it,Te){if(!it)return!1;if(it.contains)return it.contains(Te);for(var nt=Te;nt;){if(nt===it)return!0;nt=nt.parentNode}return!1}var p="data-rc-order",x="data-rc-priority",y="rc-util-key",_=new Map;function v(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Te=it.mark;return Te?Te.startsWith("data-")?Te:"data-".concat(Te):y}function h(it){if(it.attachTo)return it.attachTo;var Te=document.querySelector("head");return Te||document.body}function E(it){return it==="queue"?"prependQueue":it?"prepend":"append"}function S(it){return Array.from((_.get(it)||it).children).filter(function(Te){return Te.tagName==="STYLE"})}function g(it){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!d())return null;var nt=Te.csp,Pe=Te.prepend,Je=Te.priority,de=Je===void 0?0:Je,Oe=E(Pe),vt=Oe==="prependQueue",qe=document.createElement("style");qe.setAttribute(p,Oe),vt&&de&&qe.setAttribute(x,"".concat(de)),nt!=null&&nt.nonce&&(qe.nonce=nt==null?void 0:nt.nonce),qe.innerHTML=it;var Ze=h(Te),st=Ze.firstChild;if(Pe){if(vt){var Tt=S(Ze).filter(function(lt){if(!["prepend","prependQueue"].includes(lt.getAttribute(p)))return!1;var pe=Number(lt.getAttribute(x)||0);return de>=pe});if(Tt.length)return Ze.insertBefore(qe,Tt[Tt.length-1].nextSibling),qe}Ze.insertBefore(qe,st)}else Ze.appendChild(qe);return qe}function I(it){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=h(Te);return S(nt).find(function(Pe){return Pe.getAttribute(v(Te))===it})}function R(it){var Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nt=I(it,Te);if(nt){var Pe=h(Te);Pe.removeChild(nt)}}function O(it,Te){var nt=_.get(it);if(!nt||!c(document,nt)){var Pe=g("",Te),Je=Pe.parentNode;_.set(it,Je),it.removeChild(Pe)}}function L(){_.clear()}function j(it,Te){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pe=h(nt);O(Pe,nt);var Je=I(Te,nt);if(Je){var de,Oe;if((de=nt.csp)!==null&&de!==void 0&&de.nonce&&Je.nonce!==((Oe=nt.csp)===null||Oe===void 0?void 0:Oe.nonce)){var vt;Je.nonce=(vt=nt.csp)===null||vt===void 0?void 0:vt.nonce}return Je.innerHTML!==it&&(Je.innerHTML=it),Je}var qe=g(it,nt);return qe.setAttribute(v(nt),Te),qe}function U(it){var Te;return it==null||(Te=it.getRootNode)===null||Te===void 0?void 0:Te.call(it)}function z(it){return U(it)instanceof ShadowRoot}function T(it){return z(it)?U(it):null}var P={},w=[],D=function(Te){w.push(Te)};function F(it,Te){if(0)var nt}function Z(it,Te){if(0)var nt}function k(){P={}}function B(it,Te,nt){!Te&&!P[nt]&&(it(!1,nt),P[nt]=!0)}function G(it,Te){B(F,it,Te)}function X(it,Te){B(Z,it,Te)}G.preMessage=D,G.resetWarned=k,G.noteOnce=X;var q=G;function ee(it){return it.replace(/-(.)/g,function(Te,nt){return nt.toUpperCase()})}function ue(it,Te){q(it,"[@ant-design/icons] ".concat(Te))}function ce(it){return(0,l.Z)(it)==="object"&&typeof it.name=="string"&&typeof it.theme=="string"&&((0,l.Z)(it.icon)==="object"||typeof it.icon=="function")}function ge(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(it).reduce(function(Te,nt){var Pe=it[nt];switch(nt){case"class":Te.className=Pe,delete Te.class;break;default:delete Te[nt],Te[ee(nt)]=Pe}return Te},{})}function xe(it,Te,nt){return nt?i.createElement(it.tag,(0,b.Z)((0,b.Z)({key:Te},ge(it.attrs)),nt),(it.children||[]).map(function(Pe,Je){return xe(Pe,"".concat(Te,"-").concat(it.tag,"-").concat(Je))})):i.createElement(it.tag,(0,b.Z)({key:Te},ge(it.attrs)),(it.children||[]).map(function(Pe,Je){return xe(Pe,"".concat(Te,"-").concat(it.tag,"-").concat(Je))}))}function ke(it){return(0,a.generate)(it)[0]}function Qe(it){return it?Array.isArray(it)?it:[it]:[]}var et={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},wt=` .anticon { display: inline-block; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `,Ye=function(Te){var nt=(0,i.useContext)(r.Z),Pe=nt.csp,Je=nt.prefixCls,de=wt;Je&&(de=de.replace(/anticon/g,Je)),(0,i.useEffect)(function(){var Oe=Te.current,vt=T(Oe);j(de,"@ant-design-icons",{prepend:!0,csp:Pe,attachTo:vt})},[])},At=["icon","className","onClick","style","primaryColor","secondaryColor"],Zt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ct(it){var Te=it.primaryColor,nt=it.secondaryColor;Zt.primaryColor=Te,Zt.secondaryColor=nt||ke(Te),Zt.calculated=!!nt}function kt(){return(0,b.Z)({},Zt)}var zt=function(Te){var nt=Te.icon,Pe=Te.className,Je=Te.onClick,de=Te.style,Oe=Te.primaryColor,vt=Te.secondaryColor,qe=(0,o.Z)(Te,At),Ze=i.useRef(),st=Zt;if(Oe&&(st={primaryColor:Oe,secondaryColor:vt||ke(Oe)}),Ye(Ze),ue(ce(nt),"icon should be icon definiton, but got ".concat(nt)),!ce(nt))return null;var Tt=nt;return Tt&&typeof Tt.icon=="function"&&(Tt=(0,b.Z)((0,b.Z)({},Tt),{},{icon:Tt.icon(st.primaryColor,st.secondaryColor)})),xe(Tt.icon,"svg-".concat(Tt.name),(0,b.Z)((0,b.Z)({className:Pe,onClick:Je,style:de,"data-icon":Tt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},qe),{},{ref:Ze}))};zt.displayName="IconReact",zt.getTwoToneColors=kt,zt.setTwoToneColors=Ct;var rt=zt;function Me(it){var Te=Qe(it),nt=(0,n.Z)(Te,2),Pe=nt[0],Je=nt[1];return rt.setTwoToneColors({primaryColor:Pe,secondaryColor:Je})}function ve(){var it=rt.getTwoToneColors();return it.calculated?[it.primaryColor,it.secondaryColor]:it.primaryColor}var Ce=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Me(a.blue.primary);var Be=i.forwardRef(function(it,Te){var nt,Pe=it.className,Je=it.icon,de=it.spin,Oe=it.rotate,vt=it.tabIndex,qe=it.onClick,Ze=it.twoToneColor,st=(0,o.Z)(it,Ce),Tt=i.useContext(r.Z),lt=Tt.prefixCls,pe=lt===void 0?"anticon":lt,te=Tt.rootClassName,se=s()(te,pe,(nt={},(0,u.Z)(nt,"".concat(pe,"-").concat(Je.name),!!Je.name),(0,u.Z)(nt,"".concat(pe,"-spin"),!!de||Je.name==="loading"),nt),Pe),St=vt;St===void 0&&qe&&(St=-1);var _e=Oe?{msTransform:"rotate(".concat(Oe,"deg)"),transform:"rotate(".concat(Oe,"deg)")}:void 0,tt=Qe(Ze),jr=(0,n.Z)(tt,2),Ht=jr[0],Re=jr[1];return i.createElement("span",(0,t.Z)({role:"img","aria-label":Je.name},st,{ref:Te,tabIndex:St,onClick:qe,className:se}),i.createElement(rt,{icon:Je,primaryColor:Ht,secondaryColor:Re,style:_e}))});Be.displayName="AntdIcon",Be.getTwoToneColor=ve,Be.setTwoToneColor=Me;var $e=Be},63017:function(m,C,e){"use strict";var t=e(67294),n=(0,t.createContext)({});C.Z=n},87725:function(m,C,e){"use strict";e.d(C,{Z:function(){return s}});var t=e(87462),n=e(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},o=u,i=e(74643),f=function(r,b){return n.createElement(i.Z,(0,t.Z)({},r,{ref:b,icon:o}))},s=n.forwardRef(f)},16646:function(m,C,e){"use strict";e.d(C,{Z:function(){return s}});var t=e(87462),n=e(67294),u={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},o=u,i=e(74643),f=function(r,b){return n.createElement(i.Z,(0,t.Z)({},r,{ref:b,icon:o}))},s=n.forwardRef(f)},73475:function(m,C,e){"use strict";e.d(C,{Z:function(){return s}});var t=e(87462),n=e(67294),u={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},o=u,i=e(74643),f=function(r,b){return n.createElement(i.Z,(0,t.Z)({},r,{ref:b,icon:o}))},s=n.forwardRef(f)},87995:function(m,C,e){"use strict";e.d(C,{Z:function(){return s}});var t=e(87462),n=e(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},o=u,i=e(74643),f=function(r,b){return n.createElement(i.Z,(0,t.Z)({},r,{ref:b,icon:o}))},s=n.forwardRef(f)},40234:function(m,C,e){"use strict";e.d(C,{Z:function(){return s}});var t=e(87462),n=e(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},o=u,i=e(74643),f=function(r,b){return n.createElement(i.Z,(0,t.Z)({},r,{ref:b,icon:o}))},s=n.forwardRef(f)},3407:function(m,C,e){"use strict";e.d(C,{Z:function(){return s}});var t=e(87462),n=e(67294),u={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},o=u,i=e(74643),f=function(r,b){return n.createElement(i.Z,(0,t.Z)({},r,{ref:b,icon:o}))},s=n.forwardRef(f)},40351:function(m,C){"use strict";var e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};C.Z=e},2788:function(m,C,e){"use strict";e.d(C,{Z:function(){return I}});var t=e(97685),n=e(67294),u=e(73935),o=e(98924),i=e(42550),f=n.createContext(null),s=f,a=e(74902),r=e(8410),b=[];function l(R,O){var L=n.useState(function(){if(!(0,o.Z)())return null;var G=document.createElement("div");return G}),j=(0,t.Z)(L,1),U=j[0],z=n.useRef(!1),T=n.useContext(s),P=n.useState(b),w=(0,t.Z)(P,2),D=w[0],F=w[1],Z=T||(z.current?void 0:function(G){F(function(X){var q=[G].concat((0,a.Z)(X));return q})});function k(){U.parentElement||document.body.appendChild(U),z.current=!0}function B(){var G;(G=U.parentElement)===null||G===void 0||G.removeChild(U),z.current=!1}return(0,r.Z)(function(){return R?T?T(k):k():B(),B},[R]),(0,r.Z)(function(){D.length&&(D.forEach(function(G){return G()}),F(b))},[D]),[U,Z]}var d=e(48981),c=e(74204);function p(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var x="rc-util-locker-".concat(Date.now()),y=0;function _(R){var O=!!R,L=n.useState(function(){return y+=1,"".concat(x,"_").concat(y)}),j=(0,t.Z)(L,1),U=j[0];(0,r.Z)(function(){if(O){var z=(0,c.Z)(),T=p();(0,d.hq)(` html body { overflow-y: hidden; `.concat(T?"width: calc(100% - ".concat(z,"px);"):"",` }`),U)}else(0,d.jL)(U);return function(){(0,d.jL)(U)}},[O,U])}var v=!1;function h(R){return typeof R=="boolean"&&(v=R),v}var E=function(O){return O===!1?!1:!(0,o.Z)()||!O?null:typeof O=="string"?document.querySelector(O):typeof O=="function"?O():O},S=n.forwardRef(function(R,O){var L=R.open,j=R.autoLock,U=R.getContainer,z=R.debug,T=R.autoDestroy,P=T===void 0?!0:T,w=R.children,D=n.useState(L),F=(0,t.Z)(D,2),Z=F[0],k=F[1],B=Z||L;n.useEffect(function(){(P||L)&&k(L)},[L,P]);var G=n.useState(function(){return E(U)}),X=(0,t.Z)(G,2),q=X[0],ee=X[1];n.useEffect(function(){var Zt=E(U);ee(Zt!=null?Zt:null)});var ue=l(B&&!q,z),ce=(0,t.Z)(ue,2),ge=ce[0],xe=ce[1],ke=q!=null?q:ge;_(j&&L&&(0,o.Z)()&&(ke===ge||ke===document.body));var Qe=null;if(w&&(0,i.Yr)(w)&&O){var et=w;Qe=et.ref}var wt=(0,i.x1)(Qe,O);if(!B||!(0,o.Z)()||q===void 0)return null;var Ye=ke===!1||h(),At=w;return O&&(At=n.cloneElement(w,{ref:wt})),n.createElement(s.Provider,{value:xe},Ye?At:(0,u.createPortal)(At,ke))}),g=S,I=g},62709:function(m,C,e){"use strict";e.d(C,{Z:function(){return fi}});var t=e(1413),n=e(97685),u=e(45987),o=e(67294),i=e.t(o,2),f=e(73935);function s(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var a={};function r(ze,Kt){}function b(ze,Kt){}function l(){a={}}function d(ze,Kt,Xt){!Kt&&!a[Xt]&&(ze(!1,Xt),a[Xt]=!0)}function c(ze,Kt){d(r,ze,Kt)}function p(ze,Kt){d(b,ze,Kt)}var x=null,y=e(71002),_=e(81640);function v(ze,Kt,Xt){var ye=o.useRef({});return(!("value"in ye.current)||Xt(ye.current.condition,Kt))&&(ye.current.value=ze(),ye.current.condition=Kt),ye.current.value}function h(ze,Kt){typeof ze=="function"?ze(Kt):(0,y.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Kt)}function E(){for(var ze=arguments.length,Kt=new Array(ze),Xt=0;Xt0&&arguments[0]!==void 0?arguments[0]:{},Kt=ze.mark;return Kt?Kt.startsWith("data-")?Kt:"data-".concat(Kt):D}function k(ze){if(ze.attachTo)return ze.attachTo;var Kt=document.querySelector("head");return Kt||document.body}function B(ze){return ze==="queue"?"prependQueue":ze?"prepend":"append"}function G(ze){return Array.from((F.get(ze)||ze).children).filter(function(Kt){return Kt.tagName==="STYLE"})}function X(ze){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!s())return null;var Xt=Kt.csp,ye=Kt.prepend,Xe=document.createElement("style");Xe.setAttribute(w,B(ye)),Xt!=null&&Xt.nonce&&(Xe.nonce=Xt==null?void 0:Xt.nonce),Xe.innerHTML=ze;var ne=k(Kt),he=ne.firstChild;if(ye){if(ye==="queue"){var fe=G(ne).filter(function(Ie){return["prepend","prependQueue"].includes(Ie.getAttribute(w))});if(fe.length)return ne.insertBefore(Xe,fe[fe.length-1].nextSibling),Xe}ne.insertBefore(Xe,he)}else ne.appendChild(Xe);return Xe}function q(ze){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xt=k(Kt);return G(Xt).find(function(ye){return ye.getAttribute(Z(Kt))===ze})}function ee(ze){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xt=q(ze,Kt);if(Xt){var ye=k(Kt);ye.removeChild(Xt)}}function ue(ze,Kt){var Xt=F.get(ze);if(!Xt||!P(document,Xt)){var ye=X("",Kt),Xe=ye.parentNode;F.set(ze,Xe),ze.removeChild(ye)}}function ce(){F.clear()}function ge(ze,Kt){var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ye=k(Xt);ue(ye,Xt);var Xe=q(Kt,Xt);if(Xe){var ne,he;if((ne=Xt.csp)!==null&&ne!==void 0&&ne.nonce&&Xe.nonce!==((he=Xt.csp)===null||he===void 0?void 0:he.nonce)){var fe;Xe.nonce=(fe=Xt.csp)===null||fe===void 0?void 0:fe.nonce}return Xe.innerHTML!==ze&&(Xe.innerHTML=ze),Xe}var Ie=X(ze,Xt);return Ie.setAttribute(Z(Xt),Kt),Ie}var xe;function ke(ze){if(typeof document=="undefined")return 0;if(ze||xe===void 0){var Kt=document.createElement("div");Kt.style.width="100%",Kt.style.height="200px";var Xt=document.createElement("div"),ye=Xt.style;ye.position="absolute",ye.top="0",ye.left="0",ye.pointerEvents="none",ye.visibility="hidden",ye.width="200px",ye.height="150px",ye.overflow="hidden",Xt.appendChild(Kt),document.body.appendChild(Xt);var Xe=Kt.offsetWidth;Xt.style.overflow="scroll";var ne=Kt.offsetWidth;Xe===ne&&(ne=Xt.clientWidth),document.body.removeChild(Xt),xe=Xe-ne}return xe}function Qe(ze){var Kt=ze.match(/^(.*)px$/),Xt=Number(Kt==null?void 0:Kt[1]);return Number.isNaN(Xt)?ke():Xt}function et(ze){if(typeof document=="undefined"||!ze||!(ze instanceof Element))return{width:0,height:0};var Kt=getComputedStyle(ze,"::-webkit-scrollbar"),Xt=Kt.width,ye=Kt.height;return{width:Qe(Xt),height:Qe(ye)}}function wt(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Ye="rc-util-locker-".concat(Date.now()),At=0;function Zt(ze){var Kt=!!ze,Xt=o.useState(function(){return At+=1,"".concat(Ye,"_").concat(At)}),ye=(0,n.Z)(Xt,1),Xe=ye[0];j(function(){if(Kt){var ne=et(document.body).width,he=wt();ge(` html body { overflow-y: hidden; `.concat(he?"width: calc(100% - ".concat(ne,"px);"):"",` }`),Xe)}else ee(Xe);return function(){ee(Xe)}},[Kt,Xe])}var Ct=!1;function kt(ze){return typeof ze=="boolean"&&(Ct=ze),Ct}var zt=function(Kt){return Kt===!1?!1:!s()||!Kt?null:typeof Kt=="string"?document.querySelector(Kt):typeof Kt=="function"?Kt():Kt},rt=o.forwardRef(function(ze,Kt){var Xt=ze.open,ye=ze.autoLock,Xe=ze.getContainer,ne=ze.debug,he=ze.autoDestroy,fe=he===void 0?!0:he,Ie=ze.children,Se=o.useState(Xt),bt=(0,n.Z)(Se,2),Rt=bt[0],lr=bt[1],Yt=Rt||Xt;o.useEffect(function(){(fe||Xt)&&lr(Xt)},[Xt,fe]);var ur=o.useState(function(){return zt(Xe)}),Ut=(0,n.Z)(ur,2),br=Ut[0],Kr=Ut[1];o.useEffect(function(){var ga=zt(Xe);Kr(ga!=null?ga:null)});var Fn=T(Yt&&!br,ne),Dn=(0,n.Z)(Fn,2),kr=Dn[0],vn=Dn[1],Gr=br!=null?br:kr;Zt(ye&&Xt&&s()&&(Gr===kr||Gr===document.body));var yn=null;if(Ie&&g(Ie)&&Kt){var Sn=Ie;yn=Sn.ref}var Hn=S(yn,Kt);if(!Yt||!s()||br===void 0)return null;var da=Gr===!1||kt(),qn=Ie;return Kt&&(qn=o.cloneElement(Ie,{ref:Hn})),o.createElement(R.Provider,{value:vn},da?qn:(0,f.createPortal)(qn,Gr))}),Me=rt,ve=Me,Ce=e(94184),Be=e.n(Ce),$e=e(48555);function it(ze){return ze instanceof HTMLElement||ze instanceof SVGElement}function Te(ze){return it(ze)?ze:ze instanceof React.Component?ReactDOM.findDOMNode(ze):null}function nt(ze){var Kt;return ze==null||(Kt=ze.getRootNode)===null||Kt===void 0?void 0:Kt.call(ze)}function Pe(ze){return nt(ze)instanceof ShadowRoot}function Je(ze){return Pe(ze)?nt(ze):null}function de(ze){var Kt=o.useRef();Kt.current=ze;var Xt=o.useCallback(function(){for(var ye,Xe=arguments.length,ne=new Array(Xe),he=0;he0&&arguments[0]!==void 0?arguments[0]:[],Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Xt=arguments.length>2?arguments[2]:void 0;return Xt?ze[0]===Kt[0]:ze[0]===Kt[0]&&ze[1]===Kt[1]}function He(ze,Kt,Xt,ye){for(var Xe=Xt.points,ne=Object.keys(ze),he=0;he1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ze)?Kt:ze}function Jt(ze){return we(parseFloat(ze),0)}function Fe(ze,Kt){var Xt=(0,t.Z)({},ze);return(Kt||[]).forEach(function(ye){if(!(ye instanceof HTMLBodyElement||ye instanceof HTMLHtmlElement)){var Xe=ft(ye).getComputedStyle(ye),ne=Xe.overflow,he=Xe.overflowClipMargin,fe=Xe.borderTopWidth,Ie=Xe.borderBottomWidth,Se=Xe.borderLeftWidth,bt=Xe.borderRightWidth,Rt=ye.getBoundingClientRect(),lr=ye.offsetHeight,Yt=ye.clientHeight,ur=ye.offsetWidth,Ut=ye.clientWidth,br=Jt(fe),Kr=Jt(Ie),Fn=Jt(Se),Dn=Jt(bt),kr=we(Math.round(Rt.width/ur*1e3)/1e3),vn=we(Math.round(Rt.height/lr*1e3)/1e3),Gr=(ur-Ut-Fn-Dn)*kr,yn=(lr-Yt-br-Kr)*vn,Sn=br*vn,Hn=Kr*vn,da=Fn*kr,qn=Dn*kr,ga=0,oa=0;if(ne==="clip"){var ta=Jt(he);ga=ta*kr,oa=ta*vn}var la=Rt.x+da-ga,ea=Rt.y+Sn-oa,$n=la+Rt.width+2*ga-da-qn-Gr,ha=ea+Rt.height+2*oa-Sn-Hn-yn;Xt.left=Math.max(Xt.left,la),Xt.top=Math.max(Xt.top,ea),Xt.right=Math.min(Xt.right,$n),Xt.bottom=Math.min(Xt.bottom,ha)}}),Xt}function ar(ze){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Xt="".concat(Kt),ye=Xt.match(/^(.*)\%$/);return ye?ze*(parseFloat(ye[1])/100):parseFloat(Xt)}function sr(ze,Kt){var Xt=Kt||[],ye=(0,n.Z)(Xt,2),Xe=ye[0],ne=ye[1];return[ar(ze.width,Xe),ar(ze.height,ne)]}function Wt(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ze[0],ze[1]]}function qt(ze,Kt){var Xt=Kt[0],ye=Kt[1],Xe,ne;return Xt==="t"?ne=ze.y:Xt==="b"?ne=ze.y+ze.height:ne=ze.y+ze.height/2,ye==="l"?Xe=ze.x:ye==="r"?Xe=ze.x+ze.width:Xe=ze.x+ze.width/2,{x:Xe,y:ne}}function It(ze,Kt){var Xt={t:"b",b:"t",l:"r",r:"l"};return ze.map(function(ye,Xe){return Xe===Kt?Xt[ye]||"c":ye}).join("")}function mt(ze,Kt,Xt,ye,Xe,ne,he){var fe=o.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Xe[ye]||{}}),Ie=(0,n.Z)(fe,2),Se=Ie[0],bt=Ie[1],Rt=o.useRef(0),lr=o.useMemo(function(){return Kt?jt(Kt):[]},[Kt]),Yt=o.useRef({}),ur=function(){Yt.current={}};ze||ur();var Ut=de(function(){if(Kt&&Xt&&ze){let Ri=function(co,Fa){var _i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:rn,io=xa.x+co,si=xa.y+Fa,Oi=io+cr,di=si+Pt,Oo=Math.max(io,_i.left),Ho=Math.max(si,_i.top),oo=Math.min(Oi,_i.right),Xn=Math.min(di,_i.bottom);return Math.max(0,(oo-Oo)*(Xn-Ho))},Eo=function(){Hr=xa.y+Ja,ra=Hr+Pt,Aa=xa.x+zi,Oa=Aa+cr};var Fn,Dn,kr=Kt,vn=kr.ownerDocument,Gr=ft(kr),yn=Gr.getComputedStyle(kr),Sn=yn.width,Hn=yn.height,da=yn.position,qn=kr.style.left,ga=kr.style.top,oa=kr.style.right,ta=kr.style.bottom,la=(0,t.Z)((0,t.Z)({},Xe[ye]),ne),ea=vn.createElement("div");(Fn=kr.parentElement)===null||Fn===void 0||Fn.appendChild(ea),ea.style.left="".concat(kr.offsetLeft,"px"),ea.style.top="".concat(kr.offsetTop,"px"),ea.style.position=da,ea.style.height="".concat(kr.offsetHeight,"px"),ea.style.width="".concat(kr.offsetWidth,"px"),kr.style.left="0",kr.style.top="0",kr.style.right="auto",kr.style.bottom="auto";var $n;if(Array.isArray(Xt))$n={x:Xt[0],y:Xt[1],width:0,height:0};else{var ha=Xt.getBoundingClientRect();$n={x:ha.x,y:ha.y,width:ha.width,height:ha.height}}var xa=kr.getBoundingClientRect(),sn=vn.documentElement,Ti=sn.clientWidth,Di=sn.clientHeight,ao=sn.scrollWidth,Ma=sn.scrollHeight,pi=sn.scrollTop,bi=sn.scrollLeft,Pt=xa.height,cr=xa.width,Ge=$n.height,yt=$n.width,Ft={left:0,top:0,right:Ti,bottom:Di},or={left:-bi,top:-pi,right:ao-bi,bottom:Ma-pi},fr=la.htmlRegion,Tr="visible",Fr="visibleFirst";fr!=="scroll"&&fr!==Fr&&(fr=Tr);var Lr=fr===Fr,tn=Fe(or,lr),Mr=Fe(Ft,lr),rn=fr===Tr?Mr:tn,en=Lr?Mr:rn;kr.style.left="auto",kr.style.top="auto",kr.style.right="0",kr.style.bottom="0";var Pn=kr.getBoundingClientRect();kr.style.left=qn,kr.style.top=ga,kr.style.right=oa,kr.style.bottom=ta,(Dn=kr.parentElement)===null||Dn===void 0||Dn.removeChild(ea);var Gn=we(Math.round(cr/parseFloat(Sn)*1e3)/1e3),Jn=we(Math.round(Pt/parseFloat(Hn)*1e3)/1e3);if(Gn===0||Jn===0||it(Xt)&&!Re(Xt))return;var _n=la.offset,Wn=la.targetOffset,Ln=sr(xa,_n),na=(0,n.Z)(Ln,2),ca=na[0],pa=na[1],Ga=sr($n,Wn),Na=(0,n.Z)(Ga,2),ia=Na[0],ii=Na[1];$n.x-=ia,$n.y-=ii;var ja=la.points||[],Wa=(0,n.Z)(ja,2),Ya=Wa[0],hi=Wa[1],Va=Wt(hi),qa=Wt(Ya),gi=qt($n,Va),lo=qt(xa,qa),ro=(0,t.Z)({},la),zi=gi.x-lo.x+ca,Ja=gi.y-lo.y+pa,fo=Ri(zi,Ja),Bi=Ri(zi,Ja,Mr),vi=qt($n,["t","l"]),Po=qt(xa,["t","l"]),yo=qt($n,["b","r"]),Uo=qt(xa,["b","r"]),Bo=la.overflow||{},Ko=Bo.adjustX,ns=Bo.adjustY,Xi=Bo.shiftX,Pr=Bo.shiftY,Xr=function(Fa){return typeof Fa=="boolean"?Fa:Fa>=0},Hr,ra,Aa,Oa;Eo();var ei=Xr(ns),Da=qa[0]===Va[0];if(ei&&qa[0]==="t"&&(ra>en.bottom||Yt.current.bt)){var _o=Ja;Da?_o-=Pt-Ge:_o=vi.y-Uo.y-pa;var Qo=Ri(zi,_o),Wi=Ri(zi,_o,Mr);Qo>fo||Qo===fo&&(!Lr||Wi>=Bi)?(Yt.current.bt=!0,Ja=_o,pa=-pa,ro.points=[It(qa,0),It(Va,0)]):Yt.current.bt=!1}if(ei&&qa[0]==="b"&&(Hrfo||Ii===fo&&(!Lr||To>=Bi)?(Yt.current.tb=!0,Ja=Dt,pa=-pa,ro.points=[It(qa,0),It(Va,0)]):Yt.current.tb=!1}var zo=Xr(Ko),us=qa[1]===Va[1];if(zo&&qa[1]==="l"&&(Oa>en.right||Yt.current.rl)){var Wr=zi;us?Wr-=cr-yt:Wr=vi.x-Uo.x-ca;var ls=Ri(Wr,Ja),cs=Ri(Wr,Ja,Mr);ls>fo||ls===fo&&(!Lr||cs>=Bi)?(Yt.current.rl=!0,zi=Wr,ca=-ca,ro.points=[It(qa,1),It(Va,1)]):Yt.current.rl=!1}if(zo&&qa[1]==="r"&&(Aafo||Yo===fo&&(!Lr||Cs>=Bi)?(Yt.current.lr=!0,zi=Co,ca=-ca,ro.points=[It(qa,1),It(Va,1)]):Yt.current.lr=!1}Eo();var Ne=Xi===!0?0:Xi;typeof Ne=="number"&&(AaMr.right&&(zi-=Oa-Mr.right-ca,$n.x>Mr.right-Ne&&(zi+=$n.x-Mr.right+Ne)));var Ve=Pr===!0?0:Pr;typeof Ve=="number"&&(HrMr.bottom&&(Ja-=ra-Mr.bottom-pa,$n.y>Mr.bottom-Ve&&(Ja+=$n.y-Mr.bottom+Ve)));var Mt=xa.x+zi,Vt=Mt+cr,dr=xa.y+Ja,mr=dr+Pt,Dr=$n.x,Sr=Dr+yt,Vr=$n.y,gn=Vr+Ge,Nn=Math.max(Mt,Dr),jn=Math.min(Vt,Sr),ma=(Nn+jn)/2,Ia=ma-Mt,xi=Math.max(dr,Vr),Xa=Math.min(mr,gn),ya=(xi+Xa)/2,Qa=ya-dr;he==null||he(Kt,ro);var Ea=Pn.right-xa.x-(zi+xa.width),oi=Pn.bottom-xa.y-(Ja+xa.height);bt({ready:!0,offsetX:zi/Gn,offsetY:Ja/Jn,offsetR:Ea/Gn,offsetB:oi/Jn,arrowX:Ia/Gn,arrowY:Qa/Jn,scaleX:Gn,scaleY:Jn,align:ro})}}),br=function(){Rt.current+=1;var Dn=Rt.current;Promise.resolve().then(function(){Rt.current===Dn&&Ut()})},Kr=function(){bt(function(Dn){return(0,t.Z)((0,t.Z)({},Dn),{},{ready:!1})})};return se(Kr,[ye]),se(function(){ze||Kr()},[ze]),[Se.ready,Se.offsetX,Se.offsetY,Se.offsetR,Se.offsetB,Se.arrowX,Se.arrowY,Se.scaleX,Se.scaleY,Se.align,br]}function Gt(ze,Kt,Xt,ye,Xe){se(function(){if(ze&&Kt&&Xt){let Rt=function(){ye(),Xe()};var ne=Kt,he=Xt,fe=jt(ne),Ie=jt(he),Se=ft(he),bt=new Set([Se].concat((0,O.Z)(fe),(0,O.Z)(Ie)));return bt.forEach(function(lr){lr.addEventListener("scroll",Rt,{passive:!0})}),Se.addEventListener("resize",Rt,{passive:!0}),ye(),function(){bt.forEach(function(lr){lr.removeEventListener("scroll",Rt),Se.removeEventListener("resize",Rt)})}}},[ze,Kt,Xt])}function tr(ze){var Kt=React.useRef(!1),Xt=React.useState(ze),ye=_slicedToArray(Xt,2),Xe=ye[0],ne=ye[1];React.useEffect(function(){return Kt.current=!1,function(){Kt.current=!0}},[]);function he(fe,Ie){Ie&&Kt.current||ne(fe)}return[Xe,he]}function Ke(ze){return ze!==void 0}function gt(ze,Kt){var Xt=Kt||{},ye=Xt.defaultValue,Xe=Xt.value,ne=Xt.onChange,he=Xt.postState,fe=useState(function(){return Ke(Xe)?Xe:Ke(ye)?typeof ye=="function"?ye():ye:typeof ze=="function"?ze():ze}),Ie=_slicedToArray(fe,2),Se=Ie[0],bt=Ie[1],Rt=Xe!==void 0?Xe:Se,lr=he?he(Rt):Rt,Yt=useEvent(ne),ur=useState([Rt]),Ut=_slicedToArray(ur,2),br=Ut[0],Kr=Ut[1];useLayoutUpdateEffect(function(){var Dn=br[0];Se!==Dn&&Yt(Se,Dn)},[br]),useLayoutUpdateEffect(function(){Ke(Xe)||bt(Xe)},[Xe]);var Fn=useEvent(function(Dn,kr){bt(Dn,kr),Kr([Rt],kr)});return[lr,Fn]}var ut=e(52481);function Lt(ze,Kt,Xt){var ye=o.useRef({});return(!("value"in ye.current)||Xt(ye.current.condition,Kt))&&(ye.current.value=ze(),ye.current.condition=Kt),ye.current.value}function ir(ze,Kt){typeof ze=="function"?ze(Kt):(0,y.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=Kt)}function gr(){for(var ze=arguments.length,Kt=new Array(ze),Xt=0;Xt3&&arguments[3]!==void 0?arguments[3]:!1;return Kt.length&&ye&&Xt===void 0&&!get(ze,Kt.slice(0,-1))?ze:nn(ze,Kt,Xt,ye)}function _r(ze){return _typeof(ze)==="object"&&ze!==null&&Object.getPrototypeOf(ze)===Object.prototype}function In(ze){return Array.isArray(ze)?[]:{}}var fn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Qr(){for(var ze=arguments.length,Kt=new Array(ze),Xt=0;Xt1&&arguments[1]!==void 0?arguments[1]:1;qr+=1;var ye=qr;function Xe(ne){if(ne===0)En(ye),Kt();else{var he=Ir(function(){Xe(ne-1)});on.set(ye,he)}}return Xe(Xt),ye};Kn.cancel=function(ze){var Kt=on.get(ze);return En(Kt),We(Kt)};var Qn=Kn;function kn(ze,Kt,Xt,ye,Xe,ne,he,fe){var Ie=o.useRef(ze),Se=o.useRef(!1);Ie.current!==ze&&(Se.current=!0,Ie.current=ze),o.useEffect(function(){var bt=Qn(function(){Se.current=!1});return function(){Qn.cancel(bt)}},[ze]),o.useEffect(function(){if(Kt&&ye&&(!Xe||ne)){var bt=function(){var da=!1,qn=function(ta){var la=ta.target;da=he(la)},ga=function(ta){var la=ta.target;!Se.current&&Ie.current&&!da&&!he(la)&&fe(!1)};return[qn,ga]},Rt=bt(),lr=(0,n.Z)(Rt,2),Yt=lr[0],ur=lr[1],Ut=bt(),br=(0,n.Z)(Ut,2),Kr=br[0],Fn=br[1],Dn=ft(ye);Dn.addEventListener("mousedown",Yt,!0),Dn.addEventListener("click",ur,!0),Dn.addEventListener("contextmenu",ur,!0);var kr=Je(Xt);if(kr&&(kr.addEventListener("mousedown",Kr,!0),kr.addEventListener("click",Fn,!0),kr.addEventListener("contextmenu",Fn,!0)),0)var vn,Gr,yn,Sn;return function(){Dn.removeEventListener("mousedown",Yt,!0),Dn.removeEventListener("click",ur,!0),Dn.removeEventListener("contextmenu",ur,!0),kr&&(kr.removeEventListener("mousedown",Kr,!0),kr.removeEventListener("click",Fn,!0),kr.removeEventListener("contextmenu",Fn,!0))}}},[Kt,Xt,ye,Xe,ne])}var pn=e(87462),ba=e(62874);function ai(ze){var Kt=ze.prefixCls,Xt=ze.align,ye=ze.arrow,Xe=ze.arrowPos,ne=ye||{},he=ne.className,fe=ne.content,Ie=Xe.x,Se=Ie===void 0?0:Ie,bt=Xe.y,Rt=bt===void 0?0:bt,lr=o.useRef();if(!Xt||!Xt.points)return null;var Yt={position:"absolute"};if(Xt.autoArrow!==!1){var ur=Xt.points[0],Ut=Xt.points[1],br=ur[0],Kr=ur[1],Fn=Ut[0],Dn=Ut[1];br===Fn||!["t","b"].includes(br)?Yt.top=Rt:br==="t"?Yt.top=0:Yt.bottom=0,Kr===Dn||!["l","r"].includes(Kr)?Yt.left=Se:Kr==="l"?Yt.left=0:Yt.right=0}return o.createElement("div",{ref:lr,className:Be()("".concat(Kt,"-arrow"),he),style:Yt},fe)}function at(ze){var Kt=ze.prefixCls,Xt=ze.open,ye=ze.zIndex,Xe=ze.mask,ne=ze.motion;return Xe?o.createElement(ba.Z,(0,pn.Z)({},ne,{motionAppear:!0,visible:Xt,removeOnLeave:!0}),function(he){var fe=he.className;return o.createElement("div",{style:{zIndex:ye},className:Be()("".concat(Kt,"-mask"),fe)})}):null}var Vn=o.memo(function(ze){var Kt=ze.children;return Kt},function(ze,Kt){return Kt.cache}),Ta=Vn,wi=o.forwardRef(function(ze,Kt){var Xt=ze.popup,ye=ze.className,Xe=ze.prefixCls,ne=ze.style,he=ze.target,fe=ze.onVisibleChanged,Ie=ze.open,Se=ze.keepDom,bt=ze.fresh,Rt=ze.onClick,lr=ze.mask,Yt=ze.arrow,ur=ze.arrowPos,Ut=ze.align,br=ze.motion,Kr=ze.maskMotion,Fn=ze.forceRender,Dn=ze.getPopupContainer,kr=ze.autoDestroy,vn=ze.portal,Gr=ze.zIndex,yn=ze.onMouseEnter,Sn=ze.onMouseLeave,Hn=ze.onPointerEnter,da=ze.ready,qn=ze.offsetX,ga=ze.offsetY,oa=ze.offsetR,ta=ze.offsetB,la=ze.onAlign,ea=ze.onPrepare,$n=ze.stretch,ha=ze.targetWidth,xa=ze.targetHeight,sn=typeof Xt=="function"?Xt():Xt,Ti=Ie||Se,Di=(Dn==null?void 0:Dn.length)>0,ao=o.useState(!Dn||!Di),Ma=(0,n.Z)(ao,2),pi=Ma[0],bi=Ma[1];if(se(function(){!pi&&Di&&he&&bi(!0)},[pi,Di,he]),!pi)return null;var Pt="auto",cr={left:"-1000vw",top:"-1000vh",right:Pt,bottom:Pt};if(da||!Ie){var Ge,yt=Ut.points,Ft=Ut.dynamicInset||((Ge=Ut._experimental)===null||Ge===void 0?void 0:Ge.dynamicInset),or=Ft&&yt[0][1]==="r",fr=Ft&&yt[0][0]==="b";or?(cr.right=oa,cr.left=Pt):(cr.left=qn,cr.right=Pt),fr?(cr.bottom=ta,cr.top=Pt):(cr.top=ga,cr.bottom=Pt)}var Tr={};return $n&&($n.includes("height")&&xa?Tr.height=xa:$n.includes("minHeight")&&xa&&(Tr.minHeight=xa),$n.includes("width")&&ha?Tr.width=ha:$n.includes("minWidth")&&ha&&(Tr.minWidth=ha)),Ie||(Tr.pointerEvents="none"),o.createElement(vn,{open:Fn||Ti,getContainer:Dn&&function(){return Dn(he)},autoDestroy:kr},o.createElement(at,{prefixCls:Xe,open:Ie,zIndex:Gr,mask:lr,motion:Kr}),o.createElement($e.Z,{onResize:la,disabled:!Ie},function(Fr){return o.createElement(ba.Z,(0,pn.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Fn,leavedClassName:"".concat(Xe,"-hidden")},br,{onAppearPrepare:ea,onEnterPrepare:ea,visible:Ie,onVisibleChanged:function(tn){var Mr;br==null||(Mr=br.onVisibleChanged)===null||Mr===void 0||Mr.call(br,tn),fe(tn)}}),function(Lr,tn){var Mr=Lr.className,rn=Lr.style,en=Be()(Xe,Mr,ye);return o.createElement("div",{ref:gr(Fr,Kt,tn),className:en,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(ur.x||0,"px"),"--arrow-y":"".concat(ur.y||0,"px")},cr),Tr),rn),{},{boxSizing:"border-box",zIndex:Gr},ne),onMouseEnter:yn,onMouseLeave:Sn,onPointerEnter:Hn,onClick:Rt},Yt&&o.createElement(ai,{prefixCls:Xe,arrow:Yt,arrowPos:ur,align:Ut}),o.createElement(Ta,{cache:!Ie&&!bt},sn))})}))}),li=wi,yi=o.forwardRef(function(ze,Kt){var Xt=ze.children,ye=ze.getTriggerDOMNode,Xe=Yr(Xt),ne=o.useCallback(function(fe){ir(Kt,ye?ye(fe):fe)},[ye]),he=xr(ne,Xt.ref);return Xe?o.cloneElement(Xt,{ref:he}):Xt}),za=yi,Ha=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function wa(){var ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ve,Kt=o.forwardRef(function(Xt,ye){var Xe=Xt.prefixCls,ne=Xe===void 0?"rc-trigger-popup":Xe,he=Xt.children,fe=Xt.action,Ie=fe===void 0?"hover":fe,Se=Xt.showAction,bt=Xt.hideAction,Rt=Xt.popupVisible,lr=Xt.defaultPopupVisible,Yt=Xt.onPopupVisibleChange,ur=Xt.afterPopupVisibleChange,Ut=Xt.mouseEnterDelay,br=Xt.mouseLeaveDelay,Kr=br===void 0?.1:br,Fn=Xt.focusDelay,Dn=Xt.blurDelay,kr=Xt.mask,vn=Xt.maskClosable,Gr=vn===void 0?!0:vn,yn=Xt.getPopupContainer,Sn=Xt.forceRender,Hn=Xt.autoDestroy,da=Xt.destroyPopupOnHide,qn=Xt.popup,ga=Xt.popupClassName,oa=Xt.popupStyle,ta=Xt.popupPlacement,la=Xt.builtinPlacements,ea=la===void 0?{}:la,$n=Xt.popupAlign,ha=Xt.zIndex,xa=Xt.stretch,sn=Xt.getPopupClassNameFromAlign,Ti=Xt.fresh,Di=Xt.alignPoint,ao=Xt.onPopupClick,Ma=Xt.onPopupAlign,pi=Xt.arrow,bi=Xt.popupMotion,Pt=Xt.maskMotion,cr=Xt.popupTransitionName,Ge=Xt.popupAnimation,yt=Xt.maskTransitionName,Ft=Xt.maskAnimation,or=Xt.className,fr=Xt.getTriggerDOMNode,Tr=(0,u.Z)(Xt,Ha),Fr=Hn||da||!1,Lr=o.useState(!1),tn=(0,n.Z)(Lr,2),Mr=tn[0],rn=tn[1];se(function(){rn(St())},[]);var en=o.useRef({}),Pn=o.useContext(tt),Gn=o.useMemo(function(){return{registerSubPopup:function(Ra,ci){en.current[Ra]=ci,Pn==null||Pn.registerSubPopup(Ra,ci)}}},[Pn]),Jn=st(),_n=o.useState(null),Wn=(0,n.Z)(_n,2),Ln=Wn[0],na=Wn[1],ca=de(function(Xn){it(Xn)&&Ln!==Xn&&na(Xn),Pn==null||Pn.registerSubPopup(Jn,Xn)}),pa=o.useState(null),Ga=(0,n.Z)(pa,2),Na=Ga[0],ia=Ga[1],ii=de(function(Xn){it(Xn)&&Na!==Xn&&ia(Xn)}),ja=o.Children.only(he),Wa=(ja==null?void 0:ja.props)||{},Ya={},hi=de(function(Xn){var Ra,ci,Gi=Na;return(Gi==null?void 0:Gi.contains(Xn))||((Ra=Je(Gi))===null||Ra===void 0?void 0:Ra.host)===Xn||Xn===Gi||(Ln==null?void 0:Ln.contains(Xn))||((ci=Je(Ln))===null||ci===void 0?void 0:ci.host)===Xn||Xn===Ln||Object.values(en.current).some(function(aa){return(aa==null?void 0:aa.contains(Xn))||Xn===aa})}),Va=xt(ne,bi,Ge,cr),qa=xt(ne,Pt,Ft,yt),gi=o.useState(lr||!1),lo=(0,n.Z)(gi,2),ro=lo[0],zi=lo[1],Ja=Rt!=null?Rt:ro,fo=de(function(Xn){Rt===void 0&&zi(Xn)});se(function(){zi(Rt||!1)},[Rt]);var Bi=o.useRef(Ja);Bi.current=Ja;var vi=de(function(Xn){(0,f.flushSync)(function(){Ja!==Xn&&(fo(Xn),Yt==null||Yt(Xn))})}),Po=o.useRef(),yo=function(){clearTimeout(Po.current)},Uo=function(Ra){var ci=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;yo(),ci===0?vi(Ra):Po.current=setTimeout(function(){vi(Ra)},ci*1e3)};o.useEffect(function(){return yo},[]);var Bo=o.useState(!1),Ko=(0,n.Z)(Bo,2),ns=Ko[0],Xi=Ko[1];se(function(Xn){(!Xn||Ja)&&Xi(!0)},[Ja]);var Pr=o.useState(null),Xr=(0,n.Z)(Pr,2),Hr=Xr[0],ra=Xr[1],Aa=o.useState([0,0]),Oa=(0,n.Z)(Aa,2),ei=Oa[0],Da=Oa[1],_o=function(Ra){Da([Ra.clientX,Ra.clientY])},Qo=mt(Ja,Ln,Di?ei:Na,ta,ea,$n,Ma),Wi=(0,n.Z)(Qo,11),Dt=Wi[0],Ii=Wi[1],To=Wi[2],zo=Wi[3],us=Wi[4],Wr=Wi[5],ls=Wi[6],cs=Wi[7],Co=Wi[8],Yo=Wi[9],Cs=Wi[10],Ne=Ht(Mr,Ie,Se,bt),Ve=(0,n.Z)(Ne,2),Mt=Ve[0],Vt=Ve[1],dr=Mt.has("click"),mr=Vt.has("click")||Vt.has("contextMenu"),Dr=de(function(){ns||Cs()}),Sr=function(){Bi.current&&Di&&mr&&Uo(!1)};Gt(Ja,Na,Ln,Dr,Sr),se(function(){Dr()},[ei,ta]),se(function(){Ja&&!(ea!=null&&ea[ta])&&Dr()},[JSON.stringify($n)]);var Vr=o.useMemo(function(){var Xn=He(ea,ne,Yo,Di);return Be()(Xn,sn==null?void 0:sn(Yo))},[Yo,sn,ea,ne,Di]);o.useImperativeHandle(ye,function(){return{forceAlign:Dr}});var gn=o.useState(0),Nn=(0,n.Z)(gn,2),jn=Nn[0],ma=Nn[1],Ia=o.useState(0),xi=(0,n.Z)(Ia,2),Xa=xi[0],ya=xi[1],Qa=function(){if(xa&&Na){var Ra=Na.getBoundingClientRect();ma(Ra.width),ya(Ra.height)}},Ea=function(){Qa(),Dr()},oi=function(Ra){Xi(!1),Cs(),ur==null||ur(Ra)},Ri=function(){return new Promise(function(Ra){Qa(),ra(function(){return Ra})})};se(function(){Hr&&(Cs(),Hr(),ra(null))},[Hr]);function Eo(Xn,Ra,ci,Gi){Ya[Xn]=function(aa){var Go;Gi==null||Gi(aa),Uo(Ra,ci);for(var Jo=arguments.length,po=new Array(Jo>1?Jo-1:0),ki=1;ki1?ci-1:0),aa=1;aa1?ci-1:0),aa=1;aa=0)return u[i].splice(a,1),!0}return!1},publish:function(i){if(!u[i])return!1;const f=Array.prototype.slice.call(arguments,1);return u[i].forEach(s=>{s.apply(null,f)}),this}};return n?Object.assign(n,o):o}const t=new e;C.Z=t},7231:function(m,C,e){"use strict";e.d(C,{zt:function(){return Wi},$j:function(){return _o},Ue:function(){return cr},I0:function(){return zo},v9:function(){return _n}});var t={};e.r(t),e.d(t,{actionChannel:function(){return Ke},all:function(){return we},apply:function(){return sr},call:function(){return ar},cancel:function(){return Gt},cancelled:function(){return gt},cps:function(){return Wt},flush:function(){return ut},fork:function(){return qt},getContext:function(){return Lt},join:function(){return mt},put:function(){return jt},race:function(){return Jt},select:function(){return tr},setContext:function(){return ir},spawn:function(){return It},take:function(){return xt},takeEvery:function(){return ai},takeLatest:function(){return at},takem:function(){return ft},throttle:function(){return Vn}});var n=e(67294),u=e(94334),o=e(14890),i=Object.assign||function(Ne){for(var Ve=1;Ve=0&&Ne.splice(Mt,1)}var O={from:function(Ve){var Mt=Array(Ve.length);for(var Vt in Ve)S(Ve,Vt)&&(Mt[Vt]=Ve[Vt]);return Mt}};function L(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ve=i({},Ne),Mt=new Promise(function(Vt,dr){Ve.resolve=Vt,Ve.reject=dr});return Ve.promise=Mt,Ve}function j(Ne){for(var Ve=[],Mt=0;Mt1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Vt=new Promise(function(dr){Mt=setTimeout(function(){return dr(Ve)},Ne)});return Vt[l]=function(){return clearTimeout(Mt)},Vt}function z(){var Ne,Ve=!0,Mt=void 0,Vt=void 0;return Ne={},Ne[a]=!0,Ne.isRunning=function(){return Ve},Ne.result=function(){return Mt},Ne.error=function(){return Vt},Ne.setRunning=function(mr){return Ve=mr},Ne.setResult=function(mr){return Mt=mr},Ne.setError=function(mr){return Vt=mr},Ne}function T(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ne}}var P=T(),w=function(Ve){throw Ve},D=function(Ve){return{value:Ve,done:!0}};function F(Ne){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Vt=arguments[3],dr={name:Mt,next:Ne,throw:Ve,return:D};return Vt&&(dr[r]=!0),typeof Symbol!="undefined"&&(dr[Symbol.iterator]=function(){return dr}),dr}function Z(Ne,Ve){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ne+": "+Ve+` `+(Mt&&Mt.stack||Mt)):console[Ne](Ve,Mt)}function k(Ne,Ve){return function(){return Ne.apply(void 0,arguments)}}var B=function(Ve,Mt){return Ve+" has been deprecated in favor of "+Mt+", please update your code"},G=function(Ve){return new Error(` redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug in redux-saga code and not yours. Thanks for reporting this in the project's github repo. Error: `+Ve+` `)},X=function(Ve,Mt){return(Ve?Ve+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},q=function(Ve){return function(Mt){return Ve(Object.defineProperty(Mt,d,{value:!0}))}},ee=function Ne(Ve){return function(){for(var Mt=arguments.length,Vt=Array(Mt),dr=0;dr0&&arguments[0]!==void 0?arguments[0]:10,Ve=arguments[1],Mt=new Array(Ne),Vt=0,dr=0,mr=0,Dr=function(Nn){Mt[dr]=Nn,dr=(dr+1)%Ne,Vt++},Sr=function(){if(Vt!=0){var Nn=Mt[mr];return Mt[mr]=null,Vt--,mr=(mr+1)%Ne,Nn}},Vr=function(){for(var Nn=[];Vt;)Nn.push(Sr());return Nn};return{isEmpty:function(){return Vt==0},put:function(Nn){if(Vt0&&arguments[0]!==void 0?arguments[0]:wt.fixed(),Ve=!1,Mt=[];h(Ne,g.buffer,it);function Vt(){if(Ve&&Mt.length)throw G("Cannot have a closed channel with pending takers");if(Mt.length&&!Ne.isEmpty())throw G("Cannot have pending takers with non empty buffer")}function dr(Vr){if(Vt(),h(Vr,g.notUndef,Te),!Ve){if(!Mt.length)return Ne.put(Vr);for(var gn=0;gn1&&arguments[1]!==void 0?arguments[1]:wt.none(),Mt=arguments[2];arguments.length>2&&h(Mt,g.func,"Invalid match function passed to eventChannel");var Vt=nt(Ve),dr=function(){Vt.__closed__||(mr&&mr(),Vt.close())},mr=Ne(function(Dr){if(Be(Dr)){dr();return}Mt&&!Mt(Dr)||Vt.put(Dr)});if(Vt.__closed__&&mr(),!g.func(mr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Vt.take,flush:Vt.flush,close:dr}}function Je(Ne){var Ve=Pe(function(Mt){return Ne(function(Vt){if(Vt[d]){Mt(Vt);return}Ct(function(){return Mt(Vt)})})});return Me({},Ve,{take:function(Vt,dr){arguments.length>1&&(h(dr,g.func,"channel.take's matcher argument must be a function"),Vt[b]=dr),Ve.take(Vt)}})}var de=s("IO"),Oe="TAKE",vt="PUT",qe="ALL",Ze="RACE",st="CALL",Tt="CPS",lt="FORK",pe="JOIN",te="CANCEL",se="SELECT",St="ACTION_CHANNEL",_e="CANCELLED",tt="FLUSH",jr="GET_CONTEXT",Ht="SET_CONTEXT",Re=` (HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Qt=function(Ve,Mt){var Vt;return Vt={},Vt[de]=!0,Vt[Ve]=Mt,Vt},He=function(Ve){return h(xr.fork(Ve),g.object,"detach(eff): argument must be a fork effect"),Ve[lt].detached=!0,Ve};function xt(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&h(arguments[0],g.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),g.pattern(Ne))return Qt(Oe,{pattern:Ne});if(g.channel(Ne))return Qt(Oe,{channel:Ne});throw new Error("take(patternOrChannel): argument "+String(Ne)+" is not valid channel or a valid pattern")}xt.maybe=function(){var Ne=xt.apply(void 0,arguments);return Ne[Oe].maybe=!0,Ne};var ft=k(xt.maybe,B("takem","take.maybe"));function jt(Ne,Ve){return arguments.length>1?(h(Ne,g.notUndef,"put(channel, action): argument channel is undefined"),h(Ne,g.channel,"put(channel, action): argument "+Ne+" is not a valid channel"),h(Ve,g.notUndef,"put(channel, action): argument action is undefined")):(h(Ne,g.notUndef,"put(action): argument action is undefined"),Ve=Ne,Ne=null),Qt(vt,{channel:Ne,action:Ve})}jt.resolve=function(){var Ne=jt.apply(void 0,arguments);return Ne[vt].resolve=!0,Ne},jt.sync=k(jt.resolve,B("put.sync","put.resolve"));function we(Ne){return Qt(qe,Ne)}function Jt(Ne){return Qt(Ze,Ne)}function Fe(Ne,Ve,Mt){h(Ve,g.notUndef,Ne+": argument fn is undefined");var Vt=null;if(g.array(Ve)){var dr=Ve;Vt=dr[0],Ve=dr[1]}else if(Ve.fn){var mr=Ve;Vt=mr.context,Ve=mr.fn}return Vt&&g.string(Ve)&&g.func(Vt[Ve])&&(Ve=Vt[Ve]),h(Ve,g.func,Ne+": argument "+Ve+" is not a function"),{context:Vt,fn:Ve,args:Mt}}function ar(Ne){for(var Ve=arguments.length,Mt=Array(Ve>1?Ve-1:0),Vt=1;Vt2&&arguments[2]!==void 0?arguments[2]:[];return Qt(st,Fe("apply",{context:Ne,fn:Ve},Mt))}function Wt(Ne){for(var Ve=arguments.length,Mt=Array(Ve>1?Ve-1:0),Vt=1;Vt1?Ve-1:0),Vt=1;Vt1?Ve-1:0),Vt=1;Vt1)return we(Ve.map(function(dr){return mt(dr)}));var Vt=Ve[0];return h(Vt,g.notUndef,"join(task): argument task is undefined"),h(Vt,g.task,"join(task): argument "+Vt+" is not a valid Task object "+Re),Qt(pe,Vt)}function Gt(){for(var Ne=arguments.length,Ve=Array(Ne),Mt=0;Mt1)return we(Ve.map(function(dr){return Gt(dr)}));var Vt=Ve[0];return Ve.length===1&&(h(Vt,g.notUndef,"cancel(task): argument task is undefined"),h(Vt,g.task,"cancel(task): argument "+Vt+" is not a valid Task object "+Re)),Qt(te,Vt||c)}function tr(Ne){for(var Ve=arguments.length,Mt=Array(Ve>1?Ve-1:0),Vt=1;Vt1&&(h(Ve,g.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),h(Ve,g.buffer,"actionChannel(pattern, buffer): argument "+Ve+" is not a valid buffer")),Qt(St,{pattern:Ne,buffer:Ve})}function gt(){return Qt(_e,{})}function ut(Ne){return h(Ne,g.channel,"flush(channel): argument "+Ne+" is not valid channel"),Qt(tt,Ne)}function Lt(Ne){return h(Ne,g.string,"getContext(prop): argument "+Ne+" is not a string"),Qt(jr,Ne)}function ir(Ne){return h(Ne,g.object,X(null,Ne)),Qt(Ht,Ne)}var gr=function(Ve){return function(Mt){return Mt&&Mt[de]&&Mt[Ve]}},xr={take:gr(Oe),put:gr(vt),all:gr(qe),race:gr(Ze),call:gr(st),cps:gr(Tt),fork:gr(lt),join:gr(pe),cancel:gr(te),select:gr(se),actionChannel:gr(St),cancelled:gr(_e),flush:gr(tt),getContext:gr(jr),setContext:gr(Ht)},Yr=Object.assign||function(Ne){for(var Ve=1;Ve1&&arguments[1]!==void 0?arguments[1]:function(){return _},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_,Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:_,dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},mr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Dr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,Sr=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",Vr=arguments[8];h(Ne,g.iterator,ht);var gn="[...effects]",Nn=k(Gi,B(gn,"all("+gn+")")),jn=mr.sagaMonitor,ma=mr.logger,Ia=mr.onError,xi=ma||Z,Xa=function(pt){var Mn=pt.sagaStack;!Mn&&pt.stack&&(Mn=pt.stack.split(` `)[0].indexOf(pt.message)!==-1?pt.stack:"Error: "+pt.message+` `+pt.stack),xi("error","uncaught at "+Sr,Mn||pt.message||pt)},ya=Je(Ve),Qa=Object.create(dr);Fa.cancel=_;var Ea=ho(Dr,Sr,Ne,Vr),oi={name:Sr,cancel:Eo,isRunning:!0},Ri=dt(Sr,oi,_i);function Eo(){oi.isRunning&&!oi.isCancelled&&(oi.isCancelled=!0,Fa(In))}function co(){Ne._isRunning&&!Ne._isCancelled&&(Ne._isCancelled=!0,Ri.cancelAll(),_i(In))}return Vr&&(Vr.cancel=co),Ne._isRunning=!0,Fa(),Ea;function Fa(ct,pt){if(!oi.isRunning)throw new Error("Trying to resume an already finished generator");try{var Mn=void 0;pt?Mn=Ne.throw(ct):ct===In?(oi.isCancelled=!0,Fa.cancel(),Mn=g.func(Ne.return)?Ne.return(In):{done:!0,value:In}):ct===_r?Mn=g.func(Ne.return)?Ne.return():{done:!0}:Mn=Ne.next(ct),Mn.done?(oi.isMainRunning=!1,oi.cont&&oi.cont(Mn.value)):io(Mn.value,Dr,"",Fa)}catch(ka){oi.isCancelled&&Xa(ka),oi.isMainRunning=!1,oi.cont(ka,!0)}}function _i(ct,pt){Ne._isRunning=!1,ya.close(),pt?(ct instanceof Error&&Object.defineProperty(ct,"sagaStack",{value:"at "+Sr+` `+(ct.sagaStack||ct.stack),configurable:!0}),Ea.cont||(ct instanceof Error&&Ia?Ia(ct):Xa(ct)),Ne._error=ct,Ne._isAborted=!0,Ne._deferredEnd&&Ne._deferredEnd.reject(ct)):(Ne._result=ct,Ne._deferredEnd&&Ne._deferredEnd.resolve(ct)),Ea.cont&&Ea.cont(ct,pt),Ea.joiners.forEach(function(Mn){return Mn.cb(ct,pt)}),Ea.joiners=null}function io(ct,pt){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ka=arguments[3],Ba=P();jn&&jn.effectTriggered({effectId:Ba,parentEffectId:pt,label:Mn,effect:ct});var bn=void 0;function Le(Er,Ur){bn||(bn=!0,ka.cancel=_,jn&&(Ur?jn.effectRejected(Ba,Er):jn.effectResolved(Ba,Er)),ka(Er,Ur))}Le.cancel=_,ka.cancel=function(){if(!bn){bn=!0;try{Le.cancel()}catch(Er){Xa(Er)}Le.cancel=_,jn&&jn.effectCancelled(Ba)}};var Ot=void 0;return g.promise(ct)?si(ct,Le):g.helper(ct)?Xn(An(ct),Ba,Le):g.iterator(ct)?Oi(ct,Ba,Sr,Le):g.array(ct)?Nn(ct,Ba,Le):(Ot=xr.take(ct))?di(Ot,Le):(Ot=xr.put(ct))?Oo(Ot,Le):(Ot=xr.all(ct))?Gi(Ot,Ba,Le):(Ot=xr.race(ct))?aa(Ot,Ba,Le):(Ot=xr.call(ct))?Ho(Ot,Ba,Le):(Ot=xr.cps(ct))?oo(Ot,Le):(Ot=xr.fork(ct))?Xn(Ot,Ba,Le):(Ot=xr.join(ct))?Ra(Ot,Le):(Ot=xr.cancel(ct))?ci(Ot,Le):(Ot=xr.select(ct))?Go(Ot,Le):(Ot=xr.actionChannel(ct))?Jo(Ot,Le):(Ot=xr.flush(ct))?ki(Ot,Le):(Ot=xr.cancelled(ct))?po(Ot,Le):(Ot=xr.getContext(ct))?Qi(Ot,Le):(Ot=xr.setContext(ct))?wo(Ot,Le):Le(ct)}function si(ct,pt){var Mn=ct[l];g.func(Mn)?pt.cancel=Mn:g.func(ct.abort)&&(pt.cancel=function(){return ct.abort()}),ct.then(pt,function(ka){return pt(ka,!0)})}function Oi(ct,pt,Mn,ka){cn(ct,Ve,Mt,Vt,Qa,mr,pt,Mn,ka)}function di(ct,pt){var Mn=ct.channel,ka=ct.pattern,Ba=ct.maybe;Mn=Mn||ya;var bn=function(Ot){return Ot instanceof Error?pt(Ot,!0):Be(Ot)&&!Ba?pt(_r):pt(Ot)};try{Mn.take(bn,Qr(ka))}catch(Le){return pt(Le,!0)}pt.cancel=bn.cancel}function Oo(ct,pt){var Mn=ct.channel,ka=ct.action,Ba=ct.resolve;Ct(function(){var bn=void 0;try{bn=(Mn?Mn.put:Mt)(ka)}catch(Le){if(Mn||Ba)return pt(Le,!0);Xa(Le)}if(Ba&&g.promise(bn))si(bn,pt);else return pt(bn)})}function Ho(ct,pt,Mn){var ka=ct.context,Ba=ct.fn,bn=ct.args,Le=void 0;try{Le=Ba.apply(ka,bn)}catch(Ot){return Mn(Ot,!0)}return g.promise(Le)?si(Le,Mn):g.iterator(Le)?Oi(Le,pt,Ba.name,Mn):Mn(Le)}function oo(ct,pt){var Mn=ct.context,ka=ct.fn,Ba=ct.args;try{var bn=function(Ot,Er){return g.undef(Ot)?pt(Er):pt(Ot,!0)};ka.apply(Mn,Ba.concat(bn)),bn.cancel&&(pt.cancel=function(){return bn.cancel()})}catch(Le){return pt(Le,!0)}}function Xn(ct,pt,Mn){var ka=ct.context,Ba=ct.fn,bn=ct.args,Le=ct.detached,Ot=dn({context:ka,fn:Ba,args:bn});try{kt();var Er=cn(Ot,Ve,Mt,Vt,Qa,mr,pt,Ba.name,Le?null:_);Le?Mn(Er):Ot._isRunning?(Ri.addTask(Er),Mn(Er)):Ot._error?Ri.abort(Ot._error):Mn(Er)}finally{rt()}}function Ra(ct,pt){if(ct.isRunning()){var Mn={task:Ea,cb:pt};pt.cancel=function(){return R(ct.joiners,Mn)},ct.joiners.push(Mn)}else ct.isAborted()?pt(ct.error(),!0):pt(ct.result())}function ci(ct,pt){ct===c&&(ct=Ea),ct.isRunning()&&ct.cancel(),pt()}function Gi(ct,pt,Mn){var ka=Object.keys(ct);if(!ka.length)return Mn(g.array(ct)?[]:{});var Ba=0,bn=void 0,Le={},Ot={};function Er(){Ba===ka.length&&(bn=!0,Mn(g.array(ct)?O.from(Yr({},Le,{length:ka.length})):Le))}ka.forEach(function(Ur){var Bn=function(Ka,Ni){bn||(Ni||Be(Ka)||Ka===_r||Ka===In?(Mn.cancel(),Mn(Ka,Ni)):(Le[Ur]=Ka,Ba++,Er()))};Bn.cancel=_,Ot[Ur]=Bn}),Mn.cancel=function(){bn||(bn=!0,ka.forEach(function(Ur){return Ot[Ur].cancel()}))},ka.forEach(function(Ur){return io(ct[Ur],pt,Ur,Ot[Ur])})}function aa(ct,pt,Mn){var ka=void 0,Ba=Object.keys(ct),bn={};Ba.forEach(function(Le){var Ot=function(Ur,Bn){if(!ka){if(Bn)Mn.cancel(),Mn(Ur,!0);else if(!Be(Ur)&&Ur!==_r&&Ur!==In){var Za;Mn.cancel(),ka=!0;var Ka=(Za={},Za[Le]=Ur,Za);Mn(g.array(ct)?[].slice.call(Yr({},Ka,{length:Ba.length})):Ka)}}};Ot.cancel=_,bn[Le]=Ot}),Mn.cancel=function(){ka||(ka=!0,Ba.forEach(function(Le){return bn[Le].cancel()}))},Ba.forEach(function(Le){ka||io(ct[Le],pt,Le,bn[Le])})}function Go(ct,pt){var Mn=ct.selector,ka=ct.args;try{var Ba=Mn.apply(void 0,[Vt()].concat(ka));pt(Ba)}catch(bn){pt(bn,!0)}}function Jo(ct,pt){var Mn=ct.pattern,ka=ct.buffer,Ba=Qr(Mn);Ba.pattern=Mn,pt(Pe(Ve,ka||wt.fixed(),Ba))}function po(ct,pt){pt(!!oi.isCancelled)}function ki(ct,pt){ct.flush(pt)}function Qi(ct,pt){pt(Qa[ct])}function wo(ct,pt){I.assign(Qa,ct),pt()}function ho(ct,pt,Mn,ka){var Ba,bn,Le;return Mn._deferredEnd=null,bn={},bn[a]=!0,bn.id=ct,bn.name=pt,Ba="done",Le={},Le[Ba]=Le[Ba]||{},Le[Ba].get=function(){if(Mn._deferredEnd)return Mn._deferredEnd.promise;var Ot=L();return Mn._deferredEnd=Ot,Mn._isRunning||(Mn._error?Ot.reject(Mn._error):Ot.resolve(Mn._result)),Ot.promise},bn.cont=ka,bn.joiners=[],bn.cancel=co,bn.isRunning=function(){return Mn._isRunning},bn.isCancelled=function(){return Mn._isCancelled},bn.isAborted=function(){return Mn._isAborted},bn.result=function(){return Mn._result},bn.error=function(){return Mn._error},bn.setContext=function(Er){h(Er,g.object,X("task",Er)),I.assign(Qa,Er)},nn(bn,Le),bn}}var On="runSaga(storeInterface, saga, ...args)",ua=On+": saga argument must be a Generator function!";function pr(Ne,Ve){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),dr=2;dr=0||Object.prototype.hasOwnProperty.call(Ne,Vt)&&(Mt[Vt]=Ne[Vt]);return Mt}function er(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ve=Ne.context,Mt=Ve===void 0?{}:Ve,Vt=vr(Ne,["context"]),dr=Vt.sagaMonitor,mr=Vt.logger,Dr=Vt.onError;if(g.func(Vt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(mr&&!g.func(mr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Dr&&!g.func(Dr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Vt.emitter&&!g.func(Vt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function Sr(Vr){var gn=Vr.getState,Nn=Vr.dispatch,jn=$e();return jn.emit=(Vt.emitter||v)(jn.emit),Sr.run=pr.bind(null,{context:Mt,subscribe:jn.subscribe,dispatch:Nn,getState:gn,sagaMonitor:dr,logger:mr,onError:Dr}),function(ma){return function(Ia){dr&&dr.actionDispatched&&dr.actionDispatched(Ia);var xi=ma(Ia);return jn.emit(Ia),xi}}}return Sr.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},Sr.setContext=function(Vr){h(Vr,g.object,X("sagaMiddleware",Vr)),I.assign(Mt,Vr)},Sr}var wr={done:!0,value:void 0},Ir={};function We(Ne){return g.channel(Ne)?"channel":Array.isArray(Ne)?String(Ne.map(function(Ve){return String(Ve)})):String(Ne)}function qr(Ne,Ve){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Vt=void 0,dr=Ve;function mr(Dr,Sr){if(dr===Ir)return wr;if(Sr)throw dr=Ir,Sr;Vt&&Vt(Dr);var Vr=Ne[dr](),gn=Vr[0],Nn=Vr[1],jn=Vr[2];return dr=gn,Vt=jn,dr===Ir?wr:Nn}return F(mr,function(Dr){return mr(null,Dr)},Mt,!0)}function on(Ne,Ve){for(var Mt=arguments.length,Vt=Array(Mt>2?Mt-2:0),dr=2;dr2?Mt-2:0),dr=2;dr3?Vt-3:0),mr=3;mr2?Mt-2:0),dr=2;dr2?Mt-2:0),dr=2;dr3?Vt-3:0),mr=3;mr-1&&(Ve[Mt]=Ne[Mt]),Ve},{})}var yn=function(){function Ne(){(0,Xt.Z)(this,Ne),this._handleActions=null,this.hooks=vn.reduce(function(Ve,Mt){return Ve[Mt]=[],Ve},{})}return(0,ye.Z)(Ne,[{key:"use",value:function(Mt){li()(Ha()(Mt),"plugin.use: plugin should be plain object");var Vt=this.hooks;for(var dr in Mt)Object.prototype.hasOwnProperty.call(Mt,dr)&&(li()(Vt[dr],"plugin.use: unknown plugin property: ".concat(dr)),dr==="_handleActions"?this._handleActions=Mt[dr]:dr==="extraEnhancers"?Vt[dr]=Mt[dr]:Vt[dr].push(Mt[dr]))}},{key:"apply",value:function(Mt,Vt){var dr=this.hooks,mr=["onError","onHmr"];li()(mr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var Dr=dr[Mt];return function(){if(Dr.length){var Sr=!0,Vr=!1,gn=void 0;try{for(var Nn=Dr[Symbol.iterator](),jn;!(Sr=(jn=Nn.next()).done);Sr=!0){var ma=jn.value;ma.apply(void 0,arguments)}}catch(Ia){Vr=!0,gn=Ia}finally{try{!Sr&&Nn.return!=null&&Nn.return()}finally{if(Vr)throw gn}}}else Vt&&Vt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Vt=this.hooks;return li()(Mt in Vt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?Sn(Vt[Mt]):Mt==="onReducer"?Hn(Vt[Mt]):Vt[Mt]}}]),Ne}();function Sn(Ne){var Ve={},Mt=!0,Vt=!1,dr=void 0;try{for(var mr=Ne[Symbol.iterator](),Dr;!(Mt=(Dr=mr.next()).done);Mt=!0){var Sr=Dr.value;Ve=(0,u.Z)({},Ve,Sr)}}catch(Vr){Vt=!0,dr=Vr}finally{try{!Mt&&mr.return!=null&&mr.return()}finally{if(Vt)throw dr}}return Ve}function Hn(Ne){return function(Ve){var Mt=!0,Vt=!1,dr=void 0;try{for(var mr=Ne[Symbol.iterator](),Dr;!(Mt=(Dr=mr.next()).done);Mt=!0){var Sr=Dr.value;Ve=Sr(Ve)}}catch(Vr){Vt=!0,dr=Vr}finally{try{!Mt&&mr.return!=null&&mr.return()}finally{if(Vt)throw dr}}return Ve}}function da(Ne){var Ve=Ne.reducers,Mt=Ne.initialState,Vt=Ne.plugin,dr=Ne.sagaMiddleware,mr=Ne.promiseMiddleware,Dr=Ne.createOpts.setupMiddlewares,Sr=Dr===void 0?lr:Dr,Vr=Vt.get("extraEnhancers");li()(bt(Vr),"[app.start] extraEnhancers should be array, but got ".concat((0,yi.Z)(Vr)));var gn=Vt.get("onAction"),Nn=Sr([mr,dr].concat((0,wa.Z)(ne()(gn)))),jn=o.qC,ma=[o.md.apply(void 0,(0,wa.Z)(Nn))].concat((0,wa.Z)(Vr));return(0,o.MT)(Ve,Mt,jn.apply(void 0,(0,wa.Z)(ma)))}function qn(Ne,Ve){var Mt="".concat(Ve.namespace).concat(Fn).concat(Ne),Vt=Mt.replace(/\/@@[^/]+?$/,""),dr=Array.isArray(Ve.reducers)?Ve.reducers[0][Vt]:Ve.reducers&&Ve.reducers[Vt];return dr||Ve.effects&&Ve.effects[Vt]?Mt:Ne}function ga(Ne,Ve,Mt,Vt){var dr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return Se().mark(function mr(){var Dr;return Se().wrap(function(Vr){for(;;)switch(Vr.prev=Vr.next){case 0:Vr.t0=Se().keys(Ne);case 1:if((Vr.t1=Vr.t0()).done){Vr.next=7;break}if(Dr=Vr.t1.value,!Object.prototype.hasOwnProperty.call(Ne,Dr)){Vr.next=5;break}return Vr.delegateYield(Se().mark(function gn(){var Nn,jn;return Se().wrap(function(Ia){for(;;)switch(Ia.prev=Ia.next){case 0:return Nn=oa(Dr,Ne[Dr],Ve,Mt,Vt,dr),Ia.next=3,qt(Nn);case 3:return jn=Ia.sent,Ia.next=6,qt(Se().mark(function xi(){return Se().wrap(function(ya){for(;;)switch(ya.prev=ya.next){case 0:return ya.next=2,xt("".concat(Ve.namespace,"/@@CANCEL_EFFECTS"));case 2:return ya.next=4,Gt(jn);case 4:case"end":return ya.stop()}},xi)}));case 6:case"end":return Ia.stop()}},gn)})(),"t2",5);case 5:Vr.next=1;break;case 7:case"end":return Vr.stop()}},mr)})}function oa(Ne,Ve,Mt,Vt,dr,mr){var Dr=Se().mark(xi),Sr=Ve,Vr="takeEvery",gn,Nn;if(Array.isArray(Ve)){var jn=(0,fe.Z)(Ve,1);Sr=jn[0];var ma=Ve[1];ma&&ma.type&&(Vr=ma.type,Vr==="throttle"&&(li()(ma.ms,"app.start: opts.ms should be defined if type is throttle"),gn=ma.ms),Vr==="poll"&&(li()(ma.delay,"app.start: opts.delay should be defined if type is poll"),Nn=ma.delay)),li()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(Vr)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ia(){}function xi(){var ya,Qa,Ea,oi,Ri,Eo,co,Fa,_i,io=arguments;return Se().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:for(ya=io.length,Qa=new Array(ya),Ea=0;Ea0?Qa[0]:{},Ri=oi.__dva_resolve,Eo=Ri===void 0?Ia:Ri,co=oi.__dva_reject,Fa=co===void 0?Ia:co,Oi.prev=2,Oi.next=5,jt({type:"".concat(Ne).concat(Fn,"@@start")});case 5:return Oi.next=7,Sr.apply(void 0,(0,wa.Z)(Qa.concat(ta(Mt,mr))));case 7:return _i=Oi.sent,Oi.next=10,jt({type:"".concat(Ne).concat(Fn,"@@end")});case 10:Eo(_i),Oi.next=17;break;case 13:Oi.prev=13,Oi.t0=Oi.catch(2),Vt(Oi.t0,{key:Ne,effectArgs:Qa}),Oi.t0._dontReject||Fa(Oi.t0);case 17:case"end":return Oi.stop()}},Dr,null,[[2,13]])}var Xa=la(dr,xi,Mt,Ne);switch(Vr){case"watcher":return xi;case"takeLatest":return Se().mark(function ya(){return Se().wrap(function(Ea){for(;;)switch(Ea.prev=Ea.next){case 0:return Ea.next=2,at(Ne,Xa);case 2:case"end":return Ea.stop()}},ya)});case"throttle":return Se().mark(function ya(){return Se().wrap(function(Ea){for(;;)switch(Ea.prev=Ea.next){case 0:return Ea.next=2,Vn(gn,Ne,Xa);case 2:case"end":return Ea.stop()}},ya)});case"poll":return Se().mark(function ya(){var Qa,Ea,oi,Ri,Eo,co,Fa;return Se().wrap(function(io){for(;;)switch(io.prev=io.next){case 0:oi=function(Oi,di){var Oo;return Se().wrap(function(oo){for(;;)switch(oo.prev=oo.next){case 0:Oo=Oi.call;case 1:return oo.next=4,Oo(Xa,di);case 4:return oo.next=6,Oo(Ea,Nn);case 6:oo.next=1;break;case 8:case"end":return oo.stop()}},Qa)},Ea=function(Oi){return new Promise(function(di){return setTimeout(di,Oi)})},Qa=Se().mark(oi),Ri=ar,Eo=xt,co=Jt;case 4:return io.next=7,Eo("".concat(Ne,"-start"));case 7:return Fa=io.sent,io.next=10,co([Ri(oi,t,Fa),Eo("".concat(Ne,"-stop"))]);case 10:io.next=4;break;case 12:case"end":return io.stop()}},ya)});default:return Se().mark(function ya(){return Se().wrap(function(Ea){for(;;)switch(Ea.prev=Ea.next){case 0:return Ea.next=2,ai(Ne,Xa);case 2:case"end":return Ea.stop()}},ya)})}}function ta(Ne,Ve){function Mt(Dr,Sr){li()(Dr,"dispatch: action should be a plain Object with type");var Vr=Ve.namespacePrefixWarning,gn=Vr===void 0?!0:Vr;gn&&Kt()(Dr.indexOf("".concat(Ne.namespace).concat(Fn))!==0,"[".concat(Sr,"] ").concat(Dr," should not be prefixed with namespace ").concat(Ne.namespace))}function Vt(Dr){var Sr=Dr.type;return Mt(Sr,"sagaEffects.put"),jt((0,u.Z)({},Dr,{type:qn(Sr,Ne)}))}function dr(Dr){var Sr=Dr.type;return Mt(Sr,"sagaEffects.put.resolve"),jt.resolve((0,u.Z)({},Dr,{type:qn(Sr,Ne)}))}Vt.resolve=dr;function mr(Dr){return typeof Dr=="string"?(Mt(Dr,"sagaEffects.take"),xt(qn(Dr,Ne))):Array.isArray(Dr)?xt(Dr.map(function(Sr){return typeof Sr=="string"?(Mt(Sr,"sagaEffects.take"),qn(Sr,Ne)):Sr})):xt(Dr)}return(0,u.Z)({},t,{put:Vt,take:mr})}function la(Ne,Ve,Mt,Vt){var dr=!0,mr=!1,Dr=void 0;try{for(var Sr=Ne[Symbol.iterator](),Vr;!(dr=(Vr=Sr.next()).done);dr=!0){var gn=Vr.value;Ve=gn(Ve,t,Mt,Vt)}}catch(Nn){mr=!0,Dr=Nn}finally{try{!dr&&Sr.return!=null&&Sr.return()}finally{if(mr)throw Dr}}return Ve}function ea(Ne){return Ne}function $n(Ne){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ea;return function(Mt,Vt){var dr=Vt.type;return li()(dr,"dispatch: action should be a plain Object with type"),Ne===dr?Ve(Mt,Vt):Mt}}function ha(){for(var Ne=arguments.length,Ve=new Array(Ne),Mt=0;Mt0&&arguments[0]!==void 0?arguments[0]:Ve,mr=arguments.length>1?arguments[1]:void 0;return Vt(dr,mr)}}function sn(Ne,Ve,Mt){return Array.isArray(Ne)?Ne[1]((Mt||xa)(Ne[0],Ve)):(Mt||xa)(Ne||{},Ve)}function Ti(Ne){return function(){return function(Mt){return function(Vt){var dr=Vt.type;return Ve(dr)?new Promise(function(mr,Dr){Mt((0,u.Z)({__dva_resolve:mr,__dva_reject:Dr},Vt))}):Mt(Vt)}}};function Ve(Mt){if(!Mt||typeof Mt!="string")return!1;var Vt=Mt.split(Fn),dr=(0,fe.Z)(Vt,1),mr=dr[0],Dr=Ne._models.filter(function(Sr){return Sr.namespace===mr})[0];return!!(Dr&&Dr.effects&&Dr.effects[Mt])}}function Di(Ne,Ve){return function(Mt){var Vt=Mt.type;return li()(Vt,"dispatch: action should be a plain Object with type"),Kt()(Vt.indexOf("".concat(Ve.namespace).concat(Fn))!==0,"dispatch: ".concat(Vt," should not be prefixed with namespace ").concat(Ve.namespace)),Ne((0,u.Z)({},Mt,{type:qn(Vt,Ve)}))}}function ao(Ne,Ve,Mt,Vt){var dr=[],mr=[];for(var Dr in Ne)if(Object.prototype.hasOwnProperty.call(Ne,Dr)){var Sr=Ne[Dr],Vr=Sr({dispatch:Di(Mt._store.dispatch,Ve),history:Mt._history},Vt);Rt(Vr)?dr.push(Vr):mr.push(Dr)}return{funcs:dr,nonFuncs:mr}}function Ma(Ne,Ve){if(Ne[Ve]){var Mt=Ne[Ve],Vt=Mt.funcs,dr=Mt.nonFuncs;Kt()(dr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(dr.join(", ")));var mr=!0,Dr=!1,Sr=void 0;try{for(var Vr=Vt[Symbol.iterator](),gn;!(mr=(gn=Vr.next()).done);mr=!0){var Nn=gn.value;Nn()}}catch(jn){Dr=!0,Sr=jn}finally{try{!mr&&Vr.return!=null&&Vr.return()}finally{if(Dr)throw Sr}}delete Ne[Ve]}}var pi=Yt,bi=ur,Pt={namespace:"@@dva",state:0,reducers:{UPDATE:function(Ve){return Ve+1}}};function cr(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Ve.initialReducer,Vt=Ve.setupApp,dr=Vt===void 0?pi:Vt,mr=new yn;mr.use(Gr(Ne));var Dr={_models:[kr((0,u.Z)({},Pt))],_store:null,_plugin:mr,use:mr.use.bind(mr),model:Sr,start:jn};return Dr;function Sr(ma){var Ia=kr((0,u.Z)({},ma));return Dr._models.push(Ia),Ia}function Vr(ma,Ia,xi,Xa){Xa=Sr(Xa);var ya=Dr._store;ya.asyncReducers[Xa.namespace]=sn(Xa.reducers,Xa.state,mr._handleActions),ya.replaceReducer(ma()),Xa.effects&&ya.runSaga(Dr._getSaga(Xa.effects,Xa,Ia,mr.get("onEffect"),Ne)),Xa.subscriptions&&(xi[Xa.namespace]=ao(Xa.subscriptions,Xa,Dr,Ia))}function gn(ma,Ia,xi,Xa){var ya=Dr._store;delete ya.asyncReducers[Xa],delete Ia[Xa],ya.replaceReducer(ma()),ya.dispatch({type:"@@dva/UPDATE"}),ya.dispatch({type:"".concat(Xa,"/@@CANCEL_EFFECTS")}),Ma(xi,Xa),Dr._models=Dr._models.filter(function(Qa){return Qa.namespace!==Xa})}function Nn(ma,Ia,xi,Xa,ya){var Qa=Dr._store,Ea=ya.namespace,oi=bi(Dr._models,function(Ri){return Ri.namespace===Ea});~oi&&(Qa.dispatch({type:"".concat(Ea,"/@@CANCEL_EFFECTS")}),delete Qa.asyncReducers[Ea],delete Ia[Ea],Ma(xi,Ea),Dr._models.splice(oi,1)),Dr.model(ya),Qa.dispatch({type:"@@dva/UPDATE"})}function jn(){var ma=function(wo,ho){wo&&(typeof wo=="string"&&(wo=new Error(wo)),wo.preventDefault=function(){wo._dontReject=!0},mr.apply("onError",function(ct){throw new Error(ct.stack||ct)})(wo,Dr._store.dispatch,ho))},Ia=Ta(),xi=Ti(Dr);Dr._getSaga=ga.bind(null);var Xa=[],ya=(0,u.Z)({},Mt),Qa=!0,Ea=!1,oi=void 0;try{for(var Ri=Dr._models[Symbol.iterator](),Eo;!(Qa=(Eo=Ri.next()).done);Qa=!0){var co=Eo.value;ya[co.namespace]=sn(co.reducers,co.state,mr._handleActions),co.effects&&Xa.push(Dr._getSaga(co.effects,co,ma,mr.get("onEffect"),Ne))}}catch(Qi){Ea=!0,oi=Qi}finally{try{!Qa&&Ri.return!=null&&Ri.return()}finally{if(Ea)throw oi}}var Fa=mr.get("onReducer"),_i=mr.get("extraReducers");li()(Object.keys(_i).every(function(Qi){return!(Qi in ya)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(ya).join(", "))),Dr._store=da({reducers:ki(),initialState:Ne.initialState||{},plugin:mr,createOpts:Ve,sagaMiddleware:Ia,promiseMiddleware:xi});var io=Dr._store;io.runSaga=Ia.run,io.asyncReducers={};var si=mr.get("onStateChange"),Oi=!0,di=!1,Oo=void 0;try{for(var Ho=function(){var wo=Xn.value;io.subscribe(function(){wo(io.getState())})},oo=si[Symbol.iterator](),Xn;!(Oi=(Xn=oo.next()).done);Oi=!0)Ho()}catch(Qi){di=!0,Oo=Qi}finally{try{!Oi&&oo.return!=null&&oo.return()}finally{if(di)throw Oo}}Xa.forEach(Ia.run),dr(Dr);var Ra={},ci=!0,Gi=!1,aa=void 0;try{for(var Go=this._models[Symbol.iterator](),Jo;!(ci=(Jo=Go.next()).done);ci=!0){var po=Jo.value;po.subscriptions&&(Ra[po.namespace]=ao(po.subscriptions,po,Dr,ma))}}catch(Qi){Gi=!0,aa=Qi}finally{try{!ci&&Go.return!=null&&Go.return()}finally{if(Gi)throw aa}}Dr.model=Vr.bind(Dr,ki,ma,Ra),Dr.unmodel=gn.bind(Dr,ki,ya,Ra),Dr.replaceModel=Nn.bind(Dr,ki,ya,Ra,ma);function ki(){return Fa((0,o.UY)((0,u.Z)({},ya,_i,Dr._store?Dr._store.asyncReducers:{})))}}}var Ge=e(61688),yt=e(52798),Ft=e(73935);function or(Ne){Ne()}let fr=or;const Tr=Ne=>fr=Ne,Fr=()=>fr,Lr=(0,n.createContext)(null);var tn=null;function Mr(){return(0,n.useContext)(Lr)}const rn=()=>{throw new Error("uSES not initialized!")};let en=rn;const Pn=Ne=>{en=Ne},Gn=(Ne,Ve)=>Ne===Ve;function Jn(Ne=Lr){const Ve=Ne===Lr?Mr:()=>(0,n.useContext)(Ne);return function(Vt,dr=Gn){const{store:mr,subscription:Dr,getServerState:Sr}=Ve(),Vr=en(Dr.addNestedSub,mr.getState,Sr||mr.getState,Vt,dr);return(0,n.useDebugValue)(Vr),Vr}}const _n=Jn();var Wn=e(87462),Ln=e(63366),na=e(8679),ca=e.n(na),pa=e(43e3);const Ga=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Na(Ne,Ve,Mt,Vt,{areStatesEqual:dr,areOwnPropsEqual:mr,areStatePropsEqual:Dr}){let Sr=!1,Vr,gn,Nn,jn,ma;function Ia(Ea,oi){return Vr=Ea,gn=oi,Nn=Ne(Vr,gn),jn=Ve(Vt,gn),ma=Mt(Nn,jn,gn),Sr=!0,ma}function xi(){return Nn=Ne(Vr,gn),Ve.dependsOnOwnProps&&(jn=Ve(Vt,gn)),ma=Mt(Nn,jn,gn),ma}function Xa(){return Ne.dependsOnOwnProps&&(Nn=Ne(Vr,gn)),Ve.dependsOnOwnProps&&(jn=Ve(Vt,gn)),ma=Mt(Nn,jn,gn),ma}function ya(){const Ea=Ne(Vr,gn),oi=!Dr(Ea,Nn);return Nn=Ea,oi&&(ma=Mt(Nn,jn,gn)),ma}function Qa(Ea,oi){const Ri=!mr(oi,gn),Eo=!dr(Ea,Vr,oi,gn);return Vr=Ea,gn=oi,Ri&&Eo?xi():Ri?Xa():Eo?ya():ma}return function(oi,Ri){return Sr?Qa(oi,Ri):Ia(oi,Ri)}}function ia(Ne,Ve){let{initMapStateToProps:Mt,initMapDispatchToProps:Vt,initMergeProps:dr}=Ve,mr=(0,Ln.Z)(Ve,Ga);const Dr=Mt(Ne,mr),Sr=Vt(Ne,mr),Vr=dr(Ne,mr);return Na(Dr,Sr,Vr,Ne,mr)}function ii(Ne,Ve){const Mt={};for(const Vt in Ne){const dr=Ne[Vt];typeof dr=="function"&&(Mt[Vt]=(...mr)=>Ve(dr(...mr)))}return Mt}function ja(Ne){return function(Mt){const Vt=Ne(Mt);function dr(){return Vt}return dr.dependsOnOwnProps=!1,dr}}function Wa(Ne){return Ne.dependsOnOwnProps?!!Ne.dependsOnOwnProps:Ne.length!==1}function Ya(Ne,Ve){return function(Vt,{displayName:dr}){const mr=function(Sr,Vr){return mr.dependsOnOwnProps?mr.mapToProps(Sr,Vr):mr.mapToProps(Sr,void 0)};return mr.dependsOnOwnProps=!0,mr.mapToProps=function(Sr,Vr){mr.mapToProps=Ne,mr.dependsOnOwnProps=Wa(Ne);let gn=mr(Sr,Vr);return typeof gn=="function"&&(mr.mapToProps=gn,mr.dependsOnOwnProps=Wa(gn),gn=mr(Sr,Vr)),gn},mr}}function hi(Ne,Ve){return(Mt,Vt)=>{throw new Error(`Invalid value of type ${typeof Ne} for ${Ve} argument when connecting component ${Vt.wrappedComponentName}.`)}}function Va(Ne){return Ne&&typeof Ne=="object"?ja(Ve=>ii(Ne,Ve)):Ne?typeof Ne=="function"?Ya(Ne,"mapDispatchToProps"):hi(Ne,"mapDispatchToProps"):ja(Ve=>({dispatch:Ve}))}function qa(Ne){return Ne?typeof Ne=="function"?Ya(Ne,"mapStateToProps"):hi(Ne,"mapStateToProps"):ja(()=>({}))}function gi(Ne,Ve,Mt){return(0,Wn.Z)({},Mt,Ne,Ve)}function lo(Ne){return function(Mt,{displayName:Vt,areMergedPropsEqual:dr}){let mr=!1,Dr;return function(Vr,gn,Nn){const jn=Ne(Vr,gn,Nn);return mr?dr(jn,Dr)||(Dr=jn):(mr=!0,Dr=jn),Dr}}}function ro(Ne){return Ne?typeof Ne=="function"?lo(Ne):hi(Ne,"mergeProps"):()=>gi}function zi(){const Ne=Fr();let Ve=null,Mt=null;return{clear(){Ve=null,Mt=null},notify(){Ne(()=>{let Vt=Ve;for(;Vt;)Vt.callback(),Vt=Vt.next})},get(){let Vt=[],dr=Ve;for(;dr;)Vt.push(dr),dr=dr.next;return Vt},subscribe(Vt){let dr=!0,mr=Mt={callback:Vt,next:null,prev:Mt};return mr.prev?mr.prev.next=mr:Ve=mr,function(){!dr||Ve===null||(dr=!1,mr.next?mr.next.prev=mr.prev:Mt=mr.prev,mr.prev?mr.prev.next=mr.next:Ve=mr.next)}}}}const Ja={notify(){},get:()=>[]};function fo(Ne,Ve){let Mt,Vt=Ja;function dr(jn){return Vr(),Vt.subscribe(jn)}function mr(){Vt.notify()}function Dr(){Nn.onStateChange&&Nn.onStateChange()}function Sr(){return!!Mt}function Vr(){Mt||(Mt=Ve?Ve.addNestedSub(Dr):Ne.subscribe(Dr),Vt=zi())}function gn(){Mt&&(Mt(),Mt=void 0,Vt.clear(),Vt=Ja)}const Nn={addNestedSub:dr,notifyNestedSubs:mr,handleChangeWrapper:Dr,isSubscribed:Sr,trySubscribe:Vr,tryUnsubscribe:gn,getListeners:()=>Vt};return Nn}const vi=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?n.useLayoutEffect:n.useEffect;function Po(Ne,Ve){return Ne===Ve?Ne!==0||Ve!==0||1/Ne===1/Ve:Ne!==Ne&&Ve!==Ve}function yo(Ne,Ve){if(Po(Ne,Ve))return!0;if(typeof Ne!="object"||Ne===null||typeof Ve!="object"||Ve===null)return!1;const Mt=Object.keys(Ne),Vt=Object.keys(Ve);if(Mt.length!==Vt.length)return!1;for(let dr=0;dr{Bo=Ne},ns=null,Xi=[null,null],Pr=Ne=>{try{return JSON.stringify(Ne)}catch(Ve){return String(Ne)}};function Xr(Ne,Ve,Mt){vi(()=>Ne(...Ve),Mt)}function Hr(Ne,Ve,Mt,Vt,dr,mr){Ne.current=Vt,Mt.current=!1,dr.current&&(dr.current=null,mr())}function ra(Ne,Ve,Mt,Vt,dr,mr,Dr,Sr,Vr,gn,Nn){if(!Ne)return()=>{};let jn=!1,ma=null;const Ia=()=>{if(jn||!Sr.current)return;const Xa=Ve.getState();let ya,Qa;try{ya=Vt(Xa,dr.current)}catch(Ea){Qa=Ea,ma=Ea}Qa||(ma=null),ya===mr.current?Dr.current||gn():(mr.current=ya,Vr.current=ya,Dr.current=!0,Nn())};return Mt.onStateChange=Ia,Mt.trySubscribe(),Ia(),()=>{if(jn=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,ma)throw ma}}const Aa=()=>ns;function Oa(Ne,Ve){return Ne===Ve}let ei=!1;function Da(Ne,Ve,Mt,{pure:Vt,areStatesEqual:dr=Oa,areOwnPropsEqual:mr=yo,areStatePropsEqual:Dr=yo,areMergedPropsEqual:Sr=yo,forwardRef:Vr=!1,context:gn=Lr}={}){const Nn=gn,jn=qa(Ne),ma=Va(Ve),Ia=ro(Mt),xi=!!Ne;return ya=>{const Qa=ya.displayName||ya.name||"Component",Ea=`Connect(${Qa})`,oi={shouldHandleStateChanges:xi,displayName:Ea,wrappedComponentName:Qa,WrappedComponent:ya,initMapStateToProps:jn,initMapDispatchToProps:ma,initMergeProps:Ia,areStatesEqual:dr,areStatePropsEqual:Dr,areOwnPropsEqual:mr,areMergedPropsEqual:Sr};function Ri(Fa){const[_i,io,si]=(0,n.useMemo)(()=>{const{reactReduxForwardedRef:bn}=Fa,Le=(0,Ln.Z)(Fa,Uo);return[Fa.context,bn,Le]},[Fa]),Oi=(0,n.useMemo)(()=>_i&&_i.Consumer&&(0,pa.isContextConsumer)(n.createElement(_i.Consumer,null))?_i:Nn,[_i,Nn]),di=(0,n.useContext)(Oi),Oo=!!Fa.store&&!!Fa.store.getState&&!!Fa.store.dispatch,Ho=!!di&&!!di.store,oo=Oo?Fa.store:di.store,Xn=Ho?di.getServerState:oo.getState,Ra=(0,n.useMemo)(()=>ia(oo.dispatch,oi),[oo]),[ci,Gi]=(0,n.useMemo)(()=>{if(!xi)return Xi;const bn=fo(oo,Oo?void 0:di.subscription),Le=bn.notifyNestedSubs.bind(bn);return[bn,Le]},[oo,Oo,di]),aa=(0,n.useMemo)(()=>Oo?di:(0,Wn.Z)({},di,{subscription:ci}),[Oo,di,ci]),Go=(0,n.useRef)(),Jo=(0,n.useRef)(si),po=(0,n.useRef)(),ki=(0,n.useRef)(!1),Qi=(0,n.useRef)(!1),wo=(0,n.useRef)(!1),ho=(0,n.useRef)();vi(()=>(wo.current=!0,()=>{wo.current=!1}),[]);const ct=(0,n.useMemo)(()=>()=>po.current&&si===Jo.current?po.current:Ra(oo.getState(),si),[oo,si]),pt=(0,n.useMemo)(()=>Le=>ci?ra(xi,oo,ci,Ra,Jo,Go,ki,wo,po,Gi,Le):()=>{},[ci]);Xr(Hr,[Jo,Go,ki,si,po,Gi]);let Mn;try{Mn=Bo(pt,ct,Xn?()=>Ra(Xn(),si):ct)}catch(bn){throw ho.current&&(bn.message+=` The error may be correlated with this previous error: ${ho.current.stack} `),bn}vi(()=>{ho.current=void 0,po.current=void 0,Go.current=Mn});const ka=(0,n.useMemo)(()=>n.createElement(ya,(0,Wn.Z)({},Mn,{ref:io})),[io,ya,Mn]);return(0,n.useMemo)(()=>xi?n.createElement(Oi.Provider,{value:aa},ka):ka,[Oi,ka,aa])}const co=n.memo(Ri);if(co.WrappedComponent=ya,co.displayName=Ri.displayName=Ea,Vr){const _i=n.forwardRef(function(si,Oi){return n.createElement(co,(0,Wn.Z)({},si,{reactReduxForwardedRef:Oi}))});return _i.displayName=Ea,_i.WrappedComponent=ya,ca()(_i,ya)}return ca()(co,ya)}}var _o=Da;function Qo({store:Ne,context:Ve,children:Mt,serverState:Vt}){const dr=(0,n.useMemo)(()=>{const Sr=fo(Ne);return{store:Ne,subscription:Sr,getServerState:Vt?()=>Vt:void 0}},[Ne,Vt]),mr=(0,n.useMemo)(()=>Ne.getState(),[Ne]);vi(()=>{const{subscription:Sr}=dr;return Sr.onStateChange=Sr.notifyNestedSubs,Sr.trySubscribe(),mr!==Ne.getState()&&Sr.notifyNestedSubs(),()=>{Sr.tryUnsubscribe(),Sr.onStateChange=void 0}},[dr,mr]);const Dr=Ve||Lr;return n.createElement(Dr.Provider,{value:dr},Mt)}var Wi=Qo;function Dt(Ne=Lr){const Ve=Ne===Lr?Mr:()=>(0,n.useContext)(Ne);return function(){const{store:Vt}=Ve();return Vt}}const Ii=Dt();function To(Ne=Lr){const Ve=Ne===Lr?Ii:Dt(Ne);return function(){return Ve().dispatch}}const zo=To();Pn(yt.useSyncExternalStoreWithSelector),Ko(Ge.useSyncExternalStore),Tr(Ft.unstable_batchedUpdates);var us=Object.defineProperty,Wr=Object.getOwnPropertySymbols,ls=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,Co=(Ne,Ve,Mt)=>Ve in Ne?us(Ne,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ne[Ve]=Mt,Yo=(Ne,Ve)=>{for(var Mt in Ve||(Ve={}))ls.call(Ve,Mt)&&Co(Ne,Mt,Ve[Mt]);if(Wr)for(var Mt of Wr(Ve))cs.call(Ve,Mt)&&Co(Ne,Mt,Ve[Mt]);return Ne};function Cs(Ne){const Ve=create(Ne,{initialReducer:{},setupApp(){}}),Mt=Ve.start;return Ve.router=Vt,Ve.start=dr,Ve;function Vt(mr){Ve._router=mr}function dr(mr){if(typeof mr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Ve._store||Mt.call(Ve);const Dr=Ve._store,Sr=Ve._router;return Vr=>React.createElement(Provider,{store:Dr},Sr(Yo({app:Ve},Vr)))}}},5796:function(m,C,e){"use strict";e.d(C,{fi:function(){return c},m8:function(){return l}});var t=e(55648),n=Object.defineProperty,u=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(_,v,h)=>v in _?n(_,v,{enumerable:!0,configurable:!0,writable:!0,value:h}):_[v]=h,r=(_,v)=>{for(var h in v||(v={}))f.call(v,h)&&a(_,h,v[h]);if(i)for(var h of i(v))s.call(v,h)&&a(_,h,v[h]);return _},b=(_,v)=>u(_,o(v));let l,d="/";function c(_){let v;return _.type==="hash"?v=(0,t.q_)():_.type==="memory"?v=(0,t.PP)(_):v=(0,t.lX)(),_.basename&&(d=_.basename),l=b(r({},v),{push(h,E){v.push(x(h,v),E)},replace(h,E){v.replace(x(h,v),E)},get location(){return v.location},get action(){return v.action}}),v}function p(_){_&&(l=_)}function x(_,v){if(typeof _=="string")return`${y(d)}${_}`;if(typeof _=="object"){const h=v.location.pathname;return b(r({},_),{pathname:_.pathname?`${y(d)}${_.pathname}`:h})}else throw new Error(`Unexpected to: ${_}`)}function y(_){return _.slice(-1)==="/"?_.slice(0,-1):_}},76647:function(m,C,e){"use strict";e.d(C,{gD:function(){return ar},We:function(){return sr}});var t={};e.r(t),e.d(t,{dva:function(){return r}});var n={};e.r(n),e.d(n,{innerProvider:function(){return it}});var u={};e.r(u),e.d(u,{rootContainer:function(){return _e}});var o={};e.r(o),e.d(o,{dataflowProvider:function(){return jr}});var i={};e.r(i),e.d(i,{i18nProvider:function(){return ft}});var f=e(2453),s=e(27484),a=e.n(s);a().locale("ZH-cn");const r={config:{onError(Wt){f.ZP.error(Wt.message,3)}}};var b=e(67294),l=e(45697),d=e.n(l),c=e(69590),p=e.n(c),x=e(41143),y=e.n(x),_=e(96774),v=e.n(_);function h(){return h=Object.assign||function(Wt){for(var qt=1;qt=0||(Gt[It]=Wt[It]);return Gt}var I={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},R={rel:["amphtml","canonical","alternate"]},O={type:["application/ld+json"]},L={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},j=Object.keys(I).map(function(Wt){return I[Wt]}),U={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},z=Object.keys(U).reduce(function(Wt,qt){return Wt[U[qt]]=qt,Wt},{}),T=function(Wt,qt){for(var It=Wt.length-1;It>=0;It-=1){var mt=Wt[It];if(Object.prototype.hasOwnProperty.call(mt,qt))return mt[qt]}return null},P=function(Wt){var qt=T(Wt,I.TITLE),It=T(Wt,"titleTemplate");if(Array.isArray(qt)&&(qt=qt.join("")),It&&qt)return It.replace(/%s/g,function(){return qt});var mt=T(Wt,"defaultTitle");return qt||mt||void 0},w=function(Wt){return T(Wt,"onChangeClientState")||function(){}},D=function(Wt,qt){return qt.filter(function(It){return It[Wt]!==void 0}).map(function(It){return It[Wt]}).reduce(function(It,mt){return h({},It,mt)},{})},F=function(Wt,qt){return qt.filter(function(It){return It[I.BASE]!==void 0}).map(function(It){return It[I.BASE]}).reverse().reduce(function(It,mt){if(!It.length)for(var Gt=Object.keys(mt),tr=0;tr/g,">").replace(/"/g,""").replace(/'/g,"'")},ue=function(Wt){return Object.keys(Wt).reduce(function(qt,It){var mt=Wt[It]!==void 0?It+'="'+Wt[It]+'"':""+It;return qt?qt+" "+mt:mt},"")},ce=function(Wt,qt){return qt===void 0&&(qt={}),Object.keys(Wt).reduce(function(It,mt){return It[U[mt]||mt]=Wt[mt],It},qt)},ge=function(Wt,qt){return qt.map(function(It,mt){var Gt,tr=((Gt={key:mt})["data-rh"]=!0,Gt);return Object.keys(It).forEach(function(Ke){var gt=U[Ke]||Ke;gt==="innerHTML"||gt==="cssText"?tr.dangerouslySetInnerHTML={__html:It.innerHTML||It.cssText}:tr[gt]=It[Ke]}),b.createElement(Wt,tr)})},xe=function(Wt,qt,It){switch(Wt){case I.TITLE:return{toComponent:function(){return Gt=qt.titleAttributes,(tr={key:mt=qt.title})["data-rh"]=!0,Ke=ce(Gt,tr),[b.createElement(I.TITLE,Ke,mt)];var mt,Gt,tr,Ke},toString:function(){return function(mt,Gt,tr,Ke){var gt=ue(tr),ut=B(Gt);return gt?"<"+mt+' data-rh="true" '+gt+">"+ee(ut,Ke)+"":"<"+mt+' data-rh="true">'+ee(ut,Ke)+""}(Wt,qt.title,qt.titleAttributes,It)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return ce(qt)},toString:function(){return ue(qt)}};default:return{toComponent:function(){return ge(Wt,qt)},toString:function(){return function(mt,Gt,tr){return Gt.reduce(function(Ke,gt){var ut=Object.keys(gt).filter(function(gr){return!(gr==="innerHTML"||gr==="cssText")}).reduce(function(gr,xr){var Yr=gt[xr]===void 0?xr:xr+'="'+ee(gt[xr],tr)+'"';return gr?gr+" "+Yr:Yr},""),Lt=gt.innerHTML||gt.cssText||"",ir=q.indexOf(mt)===-1;return Ke+"<"+mt+' data-rh="true" '+ut+(ir?"/>":">"+Lt+"")},"")}(Wt,qt,It)}}}},ke=function(Wt){var qt=Wt.baseTag,It=Wt.bodyAttributes,mt=Wt.encode,Gt=Wt.htmlAttributes,tr=Wt.noscriptTags,Ke=Wt.styleTags,gt=Wt.title,ut=gt===void 0?"":gt,Lt=Wt.titleAttributes,ir=Wt.linkTags,gr=Wt.metaTags,xr=Wt.scriptTags,Yr={toComponent:function(){},toString:function(){return""}};if(Wt.prioritizeSeoTags){var Jr=function(nn){var ht=nn.linkTags,_r=nn.scriptTags,In=nn.encode,fn=G(nn.metaTags,L),Qr=G(ht,R),dt=G(_r,O);return{priorityMethods:{toComponent:function(){return[].concat(ge(I.META,fn.priority),ge(I.LINK,Qr.priority),ge(I.SCRIPT,dt.priority))},toString:function(){return xe(I.META,fn.priority,In)+" "+xe(I.LINK,Qr.priority,In)+" "+xe(I.SCRIPT,dt.priority,In)}},metaTags:fn.default,linkTags:Qr.default,scriptTags:dt.default}}(Wt);Yr=Jr.priorityMethods,ir=Jr.linkTags,gr=Jr.metaTags,xr=Jr.scriptTags}return{priority:Yr,base:xe(I.BASE,qt,mt),bodyAttributes:xe("bodyAttributes",It,mt),htmlAttributes:xe("htmlAttributes",Gt,mt),link:xe(I.LINK,ir,mt),meta:xe(I.META,gr,mt),noscript:xe(I.NOSCRIPT,tr,mt),script:xe(I.SCRIPT,xr,mt),style:xe(I.STYLE,Ke,mt),title:xe(I.TITLE,{title:ut,titleAttributes:Lt},mt)}},Qe=[],et=function(Wt,qt){var It=this;qt===void 0&&(qt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(mt){It.context.helmet=mt},helmetInstances:{get:function(){return It.canUseDOM?Qe:It.instances},add:function(mt){(It.canUseDOM?Qe:It.instances).push(mt)},remove:function(mt){var Gt=(It.canUseDOM?Qe:It.instances).indexOf(mt);(It.canUseDOM?Qe:It.instances).splice(Gt,1)}}},this.context=Wt,this.canUseDOM=qt,qt||(Wt.helmet=ke({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},wt=b.createContext({}),Ye=d().shape({setHelmet:d().func,helmetInstances:d().shape({get:d().func,add:d().func,remove:d().func})}),At=typeof document!="undefined",Zt=function(Wt){function qt(It){var mt;return(mt=Wt.call(this,It)||this).helmetData=new et(mt.props.context,qt.canUseDOM),mt}return E(qt,Wt),qt.prototype.render=function(){return b.createElement(wt.Provider,{value:this.helmetData.value},this.props.children)},qt}(b.Component);Zt.canUseDOM=At,Zt.propTypes={context:d().shape({helmet:d().shape()}),children:d().node.isRequired},Zt.defaultProps={context:{}},Zt.displayName="HelmetProvider";var Ct=function(Wt,qt){var It,mt=document.head||document.querySelector(I.HEAD),Gt=mt.querySelectorAll(Wt+"[data-rh]"),tr=[].slice.call(Gt),Ke=[];return qt&&qt.length&&qt.forEach(function(gt){var ut=document.createElement(Wt);for(var Lt in gt)Object.prototype.hasOwnProperty.call(gt,Lt)&&(Lt==="innerHTML"?ut.innerHTML=gt.innerHTML:Lt==="cssText"?ut.styleSheet?ut.styleSheet.cssText=gt.cssText:ut.appendChild(document.createTextNode(gt.cssText)):ut.setAttribute(Lt,gt[Lt]===void 0?"":gt[Lt]));ut.setAttribute("data-rh","true"),tr.some(function(ir,gr){return It=gr,ut.isEqualNode(ir)})?tr.splice(It,1):Ke.push(ut)}),tr.forEach(function(gt){return gt.parentNode.removeChild(gt)}),Ke.forEach(function(gt){return mt.appendChild(gt)}),{oldTags:tr,newTags:Ke}},kt=function(Wt,qt){var It=document.getElementsByTagName(Wt)[0];if(It){for(var mt=It.getAttribute("data-rh"),Gt=mt?mt.split(","):[],tr=[].concat(Gt),Ke=Object.keys(qt),gt=0;gt=0;gr-=1)It.removeAttribute(tr[gr]);Gt.length===tr.length?It.removeAttribute("data-rh"):It.getAttribute("data-rh")!==Ke.join(",")&&It.setAttribute("data-rh",Ke.join(","))}},zt=function(Wt,qt){var It=Wt.baseTag,mt=Wt.htmlAttributes,Gt=Wt.linkTags,tr=Wt.metaTags,Ke=Wt.noscriptTags,gt=Wt.onChangeClientState,ut=Wt.scriptTags,Lt=Wt.styleTags,ir=Wt.title,gr=Wt.titleAttributes;kt(I.BODY,Wt.bodyAttributes),kt(I.HTML,mt),function(nn,ht){nn!==void 0&&document.title!==nn&&(document.title=B(nn)),kt(I.TITLE,ht)}(ir,gr);var xr={baseTag:Ct(I.BASE,It),linkTags:Ct(I.LINK,Gt),metaTags:Ct(I.META,tr),noscriptTags:Ct(I.NOSCRIPT,Ke),scriptTags:Ct(I.SCRIPT,ut),styleTags:Ct(I.STYLE,Lt)},Yr={},Jr={};Object.keys(xr).forEach(function(nn){var ht=xr[nn],_r=ht.newTags,In=ht.oldTags;_r.length&&(Yr[nn]=_r),In.length&&(Jr[nn]=xr[nn].oldTags)}),qt&&qt(),gt(Wt,Yr,Jr)},rt=null,Me=function(Wt){function qt(){for(var mt,Gt=arguments.length,tr=new Array(Gt),Ke=0;Ke elements are self-closing and can not contain children. Refer to our API for more information.")}},It.flattenArrayTypeChildren=function(mt){var Gt,tr=mt.child,Ke=mt.arrayTypeChildren;return h({},Ke,((Gt={})[tr.type]=[].concat(Ke[tr.type]||[],[h({},mt.newChildProps,this.mapNestedChildrenToProps(tr,mt.nestedChildren))]),Gt))},It.mapObjectTypeChildren=function(mt){var Gt,tr,Ke=mt.child,gt=mt.newProps,ut=mt.newChildProps,Lt=mt.nestedChildren;switch(Ke.type){case I.TITLE:return h({},gt,((Gt={})[Ke.type]=Lt,Gt.titleAttributes=h({},ut),Gt));case I.BODY:return h({},gt,{bodyAttributes:h({},ut)});case I.HTML:return h({},gt,{htmlAttributes:h({},ut)});default:return h({},gt,((tr={})[Ke.type]=h({},ut),tr))}},It.mapArrayTypeChildrenToProps=function(mt,Gt){var tr=h({},Gt);return Object.keys(mt).forEach(function(Ke){var gt;tr=h({},tr,((gt={})[Ke]=mt[Ke],gt))}),tr},It.warnOnInvalidChildren=function(mt,Gt){return y()(j.some(function(tr){return mt.type===tr}),typeof mt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+j.join(", ")+" are allowed. Helmet does not support rendering <"+mt.type+"> elements. Refer to our API for more information."),y()(!Gt||typeof Gt=="string"||Array.isArray(Gt)&&!Gt.some(function(tr){return typeof tr!="string"}),"Helmet expects a string as a child of <"+mt.type+">. Did you forget to wrap your children in braces? ( <"+mt.type+">{``} ) Refer to our API for more information."),!0},It.mapChildrenToProps=function(mt,Gt){var tr=this,Ke={};return b.Children.forEach(mt,function(gt){if(gt&>.props){var ut=gt.props,Lt=ut.children,ir=g(ut,ve),gr=Object.keys(ir).reduce(function(Yr,Jr){return Yr[z[Jr]||Jr]=ir[Jr],Yr},{}),xr=gt.type;switch(typeof xr=="symbol"?xr=xr.toString():tr.warnOnInvalidChildren(gt,Lt),xr){case I.FRAGMENT:Gt=tr.mapChildrenToProps(Lt,Gt);break;case I.LINK:case I.META:case I.NOSCRIPT:case I.SCRIPT:case I.STYLE:Ke=tr.flattenArrayTypeChildren({child:gt,arrayTypeChildren:Ke,newChildProps:gr,nestedChildren:Lt});break;default:Gt=tr.mapObjectTypeChildren({child:gt,newProps:Gt,newChildProps:gr,nestedChildren:Lt})}}}),this.mapArrayTypeChildrenToProps(Ke,Gt)},It.render=function(){var mt=this.props,Gt=mt.children,tr=g(mt,Ce),Ke=h({},tr),gt=tr.helmetData;return Gt&&(Ke=this.mapChildrenToProps(Gt,Ke)),!gt||gt instanceof et||(gt=new et(gt.context,gt.instances)),gt?b.createElement(Me,h({},Ke,{context:gt.value,helmetData:void 0})):b.createElement(wt.Consumer,null,function(ut){return b.createElement(Me,h({},Ke,{context:ut}))})},qt}(b.Component);Be.propTypes={base:d().object,bodyAttributes:d().object,children:d().oneOfType([d().arrayOf(d().node),d().node]),defaultTitle:d().string,defer:d().bool,encodeSpecialCharacters:d().bool,htmlAttributes:d().object,link:d().arrayOf(d().object),meta:d().arrayOf(d().object),noscript:d().arrayOf(d().object),onChangeClientState:d().func,script:d().arrayOf(d().object),style:d().arrayOf(d().object),title:d().string,titleAttributes:d().object,titleTemplate:d().string,prioritizeSeoTags:d().bool,helmetData:d().object},Be.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Be.displayName="Helmet";const $e={},it=Wt=>b.createElement(Zt,{context:$e},Wt);var Te=e(46735),nt=e(35973),Pe=e(42196),Je=e(79953),de=e(82492),Oe=e.n(de),vt=Object.defineProperty,qe=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Tt=(Wt,qt,It)=>qt in Wt?vt(Wt,qt,{enumerable:!0,configurable:!0,writable:!0,value:It}):Wt[qt]=It,lt=(Wt,qt)=>{for(var It in qt||(qt={}))Ze.call(qt,It)&&Tt(Wt,It,qt[It]);if(qe)for(var It of qe(qt))st.call(qt,It)&&Tt(Wt,It,qt[It]);return Wt},pe=(Wt,qt)=>{var It={};for(var mt in Wt)Ze.call(Wt,mt)&&qt.indexOf(mt)<0&&(It[mt]=Wt[mt]);if(Wt!=null&&qe)for(var mt of qe(Wt))qt.indexOf(mt)<0&&st.call(Wt,mt)&&(It[mt]=Wt[mt]);return It};let te=null;const se=()=>(te||(te=sr().applyPlugins({key:"antd",type:nt.ApplyPluginsType.modify,initialValue:lt({},{componentSize:"middle"})})),te);function St({children:Wt}){let qt=Wt;const[It,mt]=b.useState(()=>{const tr=se(),{appConfig:Ke}=tr;return pe(tr,["appConfig"])}),Gt=tr=>{mt(Ke=>Oe()({},Ke,typeof tr=="function"?tr(Ke):tr))};return It.prefixCls&&Te.ZP.config({prefixCls:It.prefixCls}),It.iconPrefixCls&&Te.ZP.config({iconPrefixCls:It.iconPrefixCls}),It.theme&&Te.ZP.config({theme:It.theme}),qt=b.createElement(Te.ZP,lt({},It),qt),qt=b.createElement(Pe.V9,{hashPriority:"high"},qt),qt=b.createElement(Je.C.Provider,{value:Gt},b.createElement(Je.S.Provider,{value:It},qt)),qt}function _e(Wt){return b.createElement(St,null,Wt)}var tt=e(11428);function jr(Wt,qt){return b.createElement(tt.j,qt,Wt)}var Ht=e(25054),Re=e(95453);function Qt(){var Wt,qt;const It=getLocale();(Wt=moment)!=null&&Wt.locale&&moment.locale(((qt=localeInfo[It])==null?void 0:qt.momentLocale)||""),setIntl(It)}const He=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,xt=Wt=>{var qt;const It=(0,Re.Kd)(),[mt,Gt]=b.useState(It),[tr,Ke]=b.useState(()=>(0,Re.lw)(mt,!0)),gt=ir=>{var gr,xr;(gr=a())!=null&&gr.locale&&a().locale(((xr=Re.H8[ir])==null?void 0:xr.momentLocale)||"en"),Gt(ir),Ke((0,Re.lw)(ir))};He(()=>(Re.B.on(Re.PZ,gt),()=>{Re.B.off(Re.PZ,gt)}),[]);const ut={},Lt=(0,Re.Mg)();return b.createElement(Te.ZP,{direction:Lt,locale:((qt=Re.H8[mt])==null?void 0:qt.antd)||ut},b.createElement(Re.eU,{value:tr},Wt.children))};function ft(Wt){return b.createElement(xt,null,Wt)}function jt(Wt){return Wt.default?typeof Wt.default=="function"?Wt.default():Wt.default:Wt}function we(){return[{apply:jt(t),path:void 0},{apply:n,path:void 0},{apply:u,path:void 0},{apply:o,path:void 0},{apply:i,path:void 0}]}function Jt(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let Fe=null;function ar(){return Fe=nt.PluginManager.create({plugins:we(),validKeys:Jt()}),Fe}function sr(){return Fe}},35973:function(m,C,e){"use strict";e.d(C,{ApplyPluginsType:function(){return kt},Link:function(){return T},Outlet:function(){return P.j3},PluginManager:function(){return zt},connect:function(){return i.$j},getDvaApp:function(){return f.Q},history:function(){return rt.m8},useAppData:function(){return O.Ov},useDispatch:function(){return i.I0},useLocation:function(){return P.TH},useOutletContext:function(){return P.bx},useParams:function(){return P.UO},useSearchParams:function(){return R.lr},useSelector:function(){return i.v9}});var t=e(67294),n=e(79953);function u(){return React.useContext(AntdConfigContext)}function o(){return React.useContext(AntdConfigContextSetter)}var i=e(7231),f=e(11428),s=e(95453),a=Object.defineProperty,r=Object.defineProperties,b=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,p=(Pe,Je,de)=>Je in Pe?a(Pe,Je,{enumerable:!0,configurable:!0,writable:!0,value:de}):Pe[Je]=de,x=(Pe,Je)=>{for(var de in Je||(Je={}))d.call(Je,de)&&p(Pe,de,Je[de]);if(l)for(var de of l(Je))c.call(Je,de)&&p(Pe,de,Je[de]);return Pe},y=(Pe,Je)=>r(Pe,b(Je)),_=(Pe,Je)=>{var de={};for(var Oe in Pe)d.call(Pe,Oe)&&Je.indexOf(Oe)<0&&(de[Oe]=Pe[Oe]);if(Pe!=null&&l)for(var Oe of l(Pe))Je.indexOf(Oe)<0&&c.call(Pe,Oe)&&(de[Oe]=Pe[Oe]);return de};const v=Pe=>{var Je=Pe,{overlayClassName:de}=Je,Oe=_(Je,["overlayClassName"]);return React.createElement(Dropdown,x({overlayClassName:de},Oe))},h=Pe=>Pe.reduce((Je,de)=>de.lang?y(x({},Je),{[de.lang]:de}):Je,{}),E={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},S=Pe=>React.createElement(React.Fragment,null);var g=e(58096),I=e(49647),R=e(13854),O=e(34162),L=e(48804);function j(Pe,Je){var de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var vt=t.useRef(typeof IntersectionObserver=="function"),qe=t.useRef(null);return t.useEffect(function(){if(!(!Pe.current||!vt.current||Oe.disabled))return qe.current=new IntersectionObserver(function(Ze){var st=(0,L.Z)(Ze,1),Tt=st[0];Je(Tt)},de),qe.current.observe(Pe.current),function(){var Ze;(Ze=qe.current)===null||Ze===void 0||Ze.disconnect()}},[Je,de,Oe.disabled,Pe]),qe.current}var U=["prefetch"];function z(Pe){var Je=t.useRef(null);return t.useEffect(function(){Pe&&(typeof Pe=="function"?Pe(Je.current):Pe.current=Je.current)}),Je}var T=t.forwardRef(function(Pe,Je){var de,Oe=Pe.prefetch,vt=(0,I.Z)(Pe,U),qe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Ze=qe.defaultPrefetch,st=qe.defaultPrefetchTimeout,Tt=(Oe===!0?"intent":Oe===!1?"none":Oe)||Ze;if(!["intent","render","viewport","none"].includes(Tt))throw new Error("Invalid prefetch value ".concat(Tt," found in Link component"));var lt=(0,O.Ov)(),pe=typeof Pe.to=="string"?Pe.to:(de=Pe.to)===null||de===void 0?void 0:de.pathname,te=t.useRef(!1),se=z(Je),St=function(jr){if(Tt==="intent"){var Ht=jr.target||{};Ht.preloadTimeout||(Ht.preloadTimeout=setTimeout(function(){var Re;Ht.preloadTimeout=null,(Re=lt.preloadRoute)===null||Re===void 0||Re.call(lt,pe)},Pe.prefetchTimeout||st))}},_e=function(jr){if(Tt==="intent"){var Ht=jr.target||{};Ht.preloadTimeout&&(clearTimeout(Ht.preloadTimeout),Ht.preloadTimeout=null)}};return(0,t.useLayoutEffect)(function(){if(Tt==="render"&&!te.current){var tt;(tt=lt.preloadRoute)===null||tt===void 0||tt.call(lt,pe),te.current=!0}},[Tt,pe]),j(se,function(tt){if(tt!=null&&tt.isIntersecting){var jr;(jr=lt.preloadRoute)===null||jr===void 0||jr.call(lt,pe)}},{rootMargin:"100px"},{disabled:Tt!=="viewport"}),pe?t.createElement(R.rU,(0,g.Z)({onMouseEnter:St,onMouseLeave:_e,ref:se},vt),Pe.children):null}),P=e(20057);function w(Pe){"@babel/helpers - typeof";return w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Je){return typeof Je}:function(Je){return Je&&typeof Symbol=="function"&&Je.constructor===Symbol&&Je!==Symbol.prototype?"symbol":typeof Je},w(Pe)}function D(){"use strict";D=function(){return Je};var Pe,Je={},de=Object.prototype,Oe=de.hasOwnProperty,vt=Object.defineProperty||function(mt,Gt,tr){mt[Gt]=tr.value},qe=typeof Symbol=="function"?Symbol:{},Ze=qe.iterator||"@@iterator",st=qe.asyncIterator||"@@asyncIterator",Tt=qe.toStringTag||"@@toStringTag";function lt(mt,Gt,tr){return Object.defineProperty(mt,Gt,{value:tr,enumerable:!0,configurable:!0,writable:!0}),mt[Gt]}try{lt({},"")}catch(mt){lt=function(tr,Ke,gt){return tr[Ke]=gt}}function pe(mt,Gt,tr,Ke){var gt=Gt&&Gt.prototype instanceof Ht?Gt:Ht,ut=Object.create(gt.prototype),Lt=new qt(Ke||[]);return vt(ut,"_invoke",{value:Fe(mt,tr,Lt)}),ut}function te(mt,Gt,tr){try{return{type:"normal",arg:mt.call(Gt,tr)}}catch(Ke){return{type:"throw",arg:Ke}}}Je.wrap=pe;var se="suspendedStart",St="suspendedYield",_e="executing",tt="completed",jr={};function Ht(){}function Re(){}function Qt(){}var He={};lt(He,Ze,function(){return this});var xt=Object.getPrototypeOf,ft=xt&&xt(xt(It([])));ft&&ft!==de&&Oe.call(ft,Ze)&&(He=ft);var jt=Qt.prototype=Ht.prototype=Object.create(He);function we(mt){["next","throw","return"].forEach(function(Gt){lt(mt,Gt,function(tr){return this._invoke(Gt,tr)})})}function Jt(mt,Gt){function tr(gt,ut,Lt,ir){var gr=te(mt[gt],mt,ut);if(gr.type!=="throw"){var xr=gr.arg,Yr=xr.value;return Yr&&w(Yr)=="object"&&Oe.call(Yr,"__await")?Gt.resolve(Yr.__await).then(function(Jr){tr("next",Jr,Lt,ir)},function(Jr){tr("throw",Jr,Lt,ir)}):Gt.resolve(Yr).then(function(Jr){xr.value=Jr,Lt(xr)},function(Jr){return tr("throw",Jr,Lt,ir)})}ir(gr.arg)}var Ke;vt(this,"_invoke",{value:function(ut,Lt){function ir(){return new Gt(function(gr,xr){tr(ut,Lt,gr,xr)})}return Ke=Ke?Ke.then(ir,ir):ir()}})}function Fe(mt,Gt,tr){var Ke=se;return function(gt,ut){if(Ke===_e)throw new Error("Generator is already running");if(Ke===tt){if(gt==="throw")throw ut;return{value:Pe,done:!0}}for(tr.method=gt,tr.arg=ut;;){var Lt=tr.delegate;if(Lt){var ir=ar(Lt,tr);if(ir){if(ir===jr)continue;return ir}}if(tr.method==="next")tr.sent=tr._sent=tr.arg;else if(tr.method==="throw"){if(Ke===se)throw Ke=tt,tr.arg;tr.dispatchException(tr.arg)}else tr.method==="return"&&tr.abrupt("return",tr.arg);Ke=_e;var gr=te(mt,Gt,tr);if(gr.type==="normal"){if(Ke=tr.done?tt:St,gr.arg===jr)continue;return{value:gr.arg,done:tr.done}}gr.type==="throw"&&(Ke=tt,tr.method="throw",tr.arg=gr.arg)}}}function ar(mt,Gt){var tr=Gt.method,Ke=mt.iterator[tr];if(Ke===Pe)return Gt.delegate=null,tr==="throw"&&mt.iterator.return&&(Gt.method="return",Gt.arg=Pe,ar(mt,Gt),Gt.method==="throw")||tr!=="return"&&(Gt.method="throw",Gt.arg=new TypeError("The iterator does not provide a '"+tr+"' method")),jr;var gt=te(Ke,mt.iterator,Gt.arg);if(gt.type==="throw")return Gt.method="throw",Gt.arg=gt.arg,Gt.delegate=null,jr;var ut=gt.arg;return ut?ut.done?(Gt[mt.resultName]=ut.value,Gt.next=mt.nextLoc,Gt.method!=="return"&&(Gt.method="next",Gt.arg=Pe),Gt.delegate=null,jr):ut:(Gt.method="throw",Gt.arg=new TypeError("iterator result is not an object"),Gt.delegate=null,jr)}function sr(mt){var Gt={tryLoc:mt[0]};1 in mt&&(Gt.catchLoc=mt[1]),2 in mt&&(Gt.finallyLoc=mt[2],Gt.afterLoc=mt[3]),this.tryEntries.push(Gt)}function Wt(mt){var Gt=mt.completion||{};Gt.type="normal",delete Gt.arg,mt.completion=Gt}function qt(mt){this.tryEntries=[{tryLoc:"root"}],mt.forEach(sr,this),this.reset(!0)}function It(mt){if(mt||mt===""){var Gt=mt[Ze];if(Gt)return Gt.call(mt);if(typeof mt.next=="function")return mt;if(!isNaN(mt.length)){var tr=-1,Ke=function gt(){for(;++tr=0;--gt){var ut=this.tryEntries[gt],Lt=ut.completion;if(ut.tryLoc==="root")return Ke("end");if(ut.tryLoc<=this.prev){var ir=Oe.call(ut,"catchLoc"),gr=Oe.call(ut,"finallyLoc");if(ir&&gr){if(this.prev=0;--Ke){var gt=this.tryEntries[Ke];if(gt.tryLoc<=this.prev&&Oe.call(gt,"finallyLoc")&&this.prev=0;--tr){var Ke=this.tryEntries[tr];if(Ke.finallyLoc===Gt)return this.complete(Ke.completion,Ke.afterLoc),Wt(Ke),jr}},catch:function(Gt){for(var tr=this.tryEntries.length-1;tr>=0;--tr){var Ke=this.tryEntries[tr];if(Ke.tryLoc===Gt){var gt=Ke.completion;if(gt.type==="throw"){var ut=gt.arg;Wt(Ke)}return ut}}throw new Error("illegal catch attempt")},delegateYield:function(Gt,tr,Ke){return this.delegate={iterator:It(Gt),resultName:tr,nextLoc:Ke},this.method==="next"&&(this.arg=Pe),jr}},Je}function F(Pe,Je){if(w(Pe)!="object"||!Pe)return Pe;var de=Pe[Symbol.toPrimitive];if(de!==void 0){var Oe=de.call(Pe,Je||"default");if(w(Oe)!="object")return Oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Je==="string"?String:Number)(Pe)}function Z(Pe){var Je=F(Pe,"string");return w(Je)=="symbol"?Je:String(Je)}function k(Pe,Je,de){return Je=Z(Je),Je in Pe?Object.defineProperty(Pe,Je,{value:de,enumerable:!0,configurable:!0,writable:!0}):Pe[Je]=de,Pe}function B(Pe,Je){var de=Object.keys(Pe);if(Object.getOwnPropertySymbols){var Oe=Object.getOwnPropertySymbols(Pe);Je&&(Oe=Oe.filter(function(vt){return Object.getOwnPropertyDescriptor(Pe,vt).enumerable})),de.push.apply(de,Oe)}return de}function G(Pe){for(var Je=1;JePe.length)&&(Je=Pe.length);for(var de=0,Oe=new Array(Je);de=Pe.length?{done:!0}:{done:!1,value:Pe[Oe++]}},e:function(lt){throw lt},f:vt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var qe=!0,Ze=!1,st;return{s:function(){de=de.call(Pe)},n:function(){var lt=de.next();return qe=lt.done,lt},e:function(lt){Ze=!0,st=lt},f:function(){try{!qe&&de.return!=null&&de.return()}finally{if(Ze)throw st}}}}function ge(Pe){if(Array.isArray(Pe))return Pe}function xe(Pe){if(typeof Symbol!="undefined"&&Pe[Symbol.iterator]!=null||Pe["@@iterator"]!=null)return Array.from(Pe)}function ke(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qe(Pe){return ge(Pe)||xe(Pe)||ue(Pe)||ke()}function et(Pe,Je){if(!(Pe instanceof Je))throw new TypeError("Cannot call a class as a function")}function wt(Pe,Je){for(var de=0;de-1,"register failed, invalid key ".concat(vt," ").concat(de.path?"from plugin ".concat(de.path):"",".")),Oe.hooks[vt]=(Oe.hooks[vt]||[]).concat(de.apply[vt])})}},{key:"getHooks",value:function(de){var Oe=de.split("."),vt=Qe(Oe),qe=vt[0],Ze=vt.slice(1),st=this.hooks[qe]||[];return Ze.length&&(st=st.map(function(Tt){try{var lt=Tt,pe=ce(Ze),te;try{for(pe.s();!(te=pe.n()).done;){var se=te.value;lt=lt[se]}}catch(St){pe.e(St)}finally{pe.f()}return lt}catch(St){return null}}).filter(Boolean)),st}},{key:"applyPlugins",value:function(de){var Oe=de.key,vt=de.type,qe=de.initialValue,Ze=de.args,st=de.async,Tt=this.getHooks(Oe)||[];switch(Ze&&At(w(Ze)==="object","applyPlugins failed, args must be plain object."),st&&At(vt===kt.modify||vt===kt.event,"async only works with modify and event type."),vt){case kt.modify:return st?Tt.reduce(function(){var lt=q(D().mark(function pe(te,se){var St;return D().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(At(typeof se=="function"||w(se)==="object"||Ct(se),"applyPlugins failed, all hooks for key ".concat(Oe," must be function, plain object or Promise.")),!Ct(te)){tt.next=5;break}return tt.next=4,te;case 4:te=tt.sent;case 5:if(typeof se!="function"){tt.next=16;break}if(St=se(te,Ze),!Ct(St)){tt.next=13;break}return tt.next=10,St;case 10:return tt.abrupt("return",tt.sent);case 13:return tt.abrupt("return",St);case 14:tt.next=21;break;case 16:if(!Ct(se)){tt.next=20;break}return tt.next=19,se;case 19:se=tt.sent;case 20:return tt.abrupt("return",G(G({},te),se));case 21:case"end":return tt.stop()}},pe)}));return function(pe,te){return lt.apply(this,arguments)}}(),Ct(qe)?qe:Promise.resolve(qe)):Tt.reduce(function(lt,pe){return At(typeof pe=="function"||w(pe)==="object","applyPlugins failed, all hooks for key ".concat(Oe," must be function or plain object.")),typeof pe=="function"?pe(lt,Ze):G(G({},lt),pe)},qe);case kt.event:return q(D().mark(function lt(){var pe,te,se,St;return D().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:pe=ce(Tt),tt.prev=1,pe.s();case 3:if((te=pe.n()).done){tt.next=12;break}if(se=te.value,At(typeof se=="function","applyPlugins failed, all hooks for key ".concat(Oe," must be function.")),St=se(Ze),!(st&&Ct(St))){tt.next=10;break}return tt.next=10,St;case 10:tt.next=3;break;case 12:tt.next=17;break;case 14:tt.prev=14,tt.t0=tt.catch(1),pe.e(tt.t0);case 17:return tt.prev=17,pe.f(),tt.finish(17);case 20:case"end":return tt.stop()}},lt,null,[[1,14,17,20]])}))();case kt.compose:return function(){return Zt({fns:Tt.concat(qe),args:Ze})()}}}}],[{key:"create",value:function(de){var Oe=new Pe({validKeys:de.validKeys});return de.plugins.forEach(function(vt){Oe.register(vt)}),Oe}}]),Pe}(),rt=e(5796);let Me=0,ve=0;function Ce(Pe,Je){}function Be(Pe){return JSON.stringify(Pe,null,2)}function $e(Pe){const Je=Pe.length>1?Pe.map(it).join(" "):Pe[0];return typeof Je=="object"?`${Be(Je)}`:Je.toString()}function it(Pe){return typeof Pe=="object"?`${JSON.stringify(Pe)}`:Pe.toString()}const Te={log(...Pe){$e(Pe)},info(...Pe){$e(Pe)},warn(...Pe){$e(Pe)},error(...Pe){$e(Pe)},group(){ve++},groupCollapsed(){ve++},groupEnd(){ve&&--ve},clear(){},trace(...Pe){console.trace(...Pe)},profile(...Pe){console.profile(...Pe)},profileEnd(...Pe){console.profileEnd(...Pe)}},nt=()=>{}},79953:function(m,C,e){"use strict";e.d(C,{C:function(){return u},S:function(){return n}});var t=e(67294);const n=t.createContext(null),u=t.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},11428:function(m,C,e){"use strict";e.d(C,{j:function(){return bc},Q:function(){return Sl}});var t=e(7231),n=e(48046),u=e.n(n),o=e(67294),i=e(35973),f=e(60532),s=Object.defineProperty,a=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,l=(W,K,H)=>K in W?s(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,d=(W,K)=>{for(var H in K||(K={}))r.call(K,H)&&l(W,H,K[H]);if(a)for(var H of a(K))b.call(K,H)&&l(W,H,K[H]);return W},p={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:W},{call:K,put:H}){return yield K(f.n1,W)},*appplySchool({payload:W},{call:K,put:H}){return yield K(f.bz,W)},*getSchoolOption({payload:W},{call:K,put:H}){return yield K(f.GY,W)},*getDepartmentOption({payload:W},{call:K,put:H}){return yield K(f.Ql,W)},*appplyDepartment({payload:W},{call:K,put:H}){return yield K(f.Zm,W)},*updateAccount({payload:W},{call:K,put:H}){return yield K(f.sG,W)},*cancelRealNameAuth({payload:W},{call:K,put:H}){return yield K(f.P,W)},*cancelProfessionalAuth({payload:W},{call:K,put:H}){return yield K(f.$f,W)},*applyProfessionalAuth({payload:W},{call:K,put:H}){return yield K(f.Ow,W)},*applyRealNameAuth({payload:W},{call:K,put:H}){return yield K(f.ht,W)},*getCode({payload:W},{call:K,put:H}){return yield K(f.Cq,W)},*bindPhone({payload:W},{call:K,put:H}){return yield K(f.eF,W)},*bindEmail({payload:W},{call:K,put:H}){return yield K(f.I8,W)},*updatePassword({payload:W},{call:K,put:H}){return yield K(f.gQ,W)},*unbindAccount({payload:W},{call:K,put:H}){return yield K(f.wi,W)},*getBasicInfo({payload:W},{call:K,put:H}){const oe=yield K(f.o9,W);return yield H({type:"save",payload:{basicInfo:d({},oe)}}),oe},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:d({},W)}})}},reducers:{save(W,K){return d(d({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},x=e(61747),y=Object.defineProperty,_=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,E=(W,K,H)=>K in W?y(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,S=(W,K)=>{for(var H in K||(K={}))v.call(K,H)&&E(W,H,K[H]);if(_)for(var H of _(K))h.call(K,H)&&E(W,H,K[H]);return W},I={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:W,callback:K},{call:H,put:oe}){return yield H(x.nZ,W)},*informUp({payload:W,callback:K},{call:H,put:oe}){return yield H(x.TO,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:S({},W)}})}},reducers:{save(W,K){return S(S({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},R=e(66540),O=Object.defineProperty,L=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,z=(W,K,H)=>K in W?O(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,T=(W,K)=>{for(var H in K||(K={}))j.call(K,H)&&z(W,H,K[H]);if(L)for(var H of L(K))U.call(K,H)&&z(W,H,K[H]);return W},w={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:W,callback:K},{call:H,put:oe}){const De=yield H(R.SV,W);return yield oe({type:"save",payload:{allList:T({},De)}}),De},*mineAttachment({payload:W,callback:K},{call:H,put:oe}){const De=yield H(R.zI,W);return yield oe({type:"save",payload:{mineList:T({},De)}}),De},*fileImport({payload:W,callback:K},{call:H,put:oe}){return yield H(R.tO,W)},*getDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(R.Nm,W);return yield oe({type:"save",payload:{detail:T({},De)}}),De},*updateVisits({payload:W,callback:K},{call:H,put:oe}){return yield H(R.H,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:T({},W)}})}},reducers:{save(W,K){return T(T({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},D=e(25250),F=Object.defineProperty,Z=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,G=(W,K,H)=>K in W?F(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,X=(W,K)=>{for(var H in K||(K={}))k.call(K,H)&&G(W,H,K[H]);if(Z)for(var H of Z(K))B.call(K,H)&&G(W,H,K[H]);return W},ee={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(D.yq,W);return yield oe({type:"save",payload:{boardsCategoryList:X({},De.data)}}),De.data},*getBoardsDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(D.dI,W);return yield oe({type:"save",payload:{boardsDetail:X({},De.data)}}),De.data},*setTopping({payload:W,callback:K},{call:H,put:oe}){return yield H(D.cc,W)},*escTopping({payload:W,callback:K},{call:H,put:oe}){return yield H(D.CJ,W)},*getReplyList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(D.PC,W);yield oe({type:"save",payload:{replyList:X({},De.data)}})},*createReply({payload:W,callback:K},{call:H,put:oe}){return yield H(D.PP,W)},*replyLike({payload:W,callback:K},{call:H,put:oe}){return yield H(D.NA,W)},*replyUnLike({payload:W,callback:K},{call:H,put:oe}){return yield H(D.YQ,W)},*deleteReply({payload:W,callback:K},{call:H,put:oe}){return yield H(D.Mf,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:X({},W)}})}},reducers:{save(W,K){return X(X({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},ue=e(15835),ce=Object.defineProperty,ge=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Qe=(W,K,H)=>K in W?ce(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,et=(W,K)=>{for(var H in K||(K={}))xe.call(K,H)&&Qe(W,H,K[H]);if(ge)for(var H of ge(K))ke.call(K,H)&&Qe(W,H,K[H]);return W},Ye={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.$Q,W);return yield oe({type:"save",payload:{ScoreRangesData:De==null?void 0:De.data}}),De},*getQuestionResult({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue._U,W);return yield oe({type:"save",payload:{NormalResult:De}}),De},*getUserExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.xA,W);return yield oe({type:"save",payload:{userExerciseList:et({},(De==null?void 0:De.data)||{})}}),console.log("getUserExercise-res:",De),De==null?void 0:De.data},*getExerciseIdentityPhotos({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.J,W);return yield oe({type:"save",payload:{exerciseIdentityPhotos:et({},(De==null?void 0:De.data)||{})}}),De==null?void 0:De.data},*getExerciseExportHeadData({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.iw,W);return yield oe({type:"save",payload:{exerciseExportHeadData:et({},De)}}),De},*getExerciseUserInfo({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.Ty,W);return(De==null?void 0:De.status)===0&&(yield oe({type:"save",payload:et({},{exerciseUserInfo:et({},De.data)})})),De},*getExaminationIntelligentSettings({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.sA,W);return yield oe({type:"save",payload:{examinationIntelligentSettings:et({},De)}}),De},*getRandomEditExercises({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.yu,W);return yield oe({type:"save",payload:{editRandomExercises:et({},De)}}),De},*getExerciseList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.G$,W);if(De!=null&&De.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(De.total_exercise_users)}catch(zr){}return yield oe({type:"save",payload:{exerciseList:et({},De)}}),yield oe({type:"save",payload:{order_type:W.order_type,order:W.order}}),De},*getExerciseStatistics({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue._u,W);return yield oe({type:"save",payload:{statisticsList:et({},De)}}),De},*getBrankList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.n$,W);return yield oe({type:"save",payload:{brankList:et({},De)}}),De},*saveBanks({payload:W,callback:K},{call:H,put:oe}){return yield H(ue.lf,W)},*getExerciseCourses({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.N3,W);return yield oe({type:"save",payload:{exerciseCoursesList:et({},De)}}),De},*addExercise({payload:W,callback:K},{call:H,put:oe}){return yield H(ue.uR,W)},*editExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.qf,W);return yield oe({type:"save",payload:{editData:et({},De)}}),De},*getTagDiscipline({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.YY,W);return yield oe({type:"save",payload:{tagDisciplineData:et({},De)}}),De},*editExerciseQuestion({payload:W,callback:K},{call:H,put:oe}){return yield H(ue.Di,W)},*addExerciseQuestion({payload:W,callback:K},{call:H,put:oe}){return yield H(ue.MK,W)},*exeriseMoveUpDown({payload:W,callback:K},{call:H,put:oe}){return yield H(ue.GK,W)},*getEndGroups({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.KE,W);return yield oe({type:"save",payload:{endGroups:et({},De)}}),De},*getPublishGroups({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.ux,W);return yield oe({type:"save",payload:{publishGroups:et({},De)}}),De},*getCommonHeader({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.UK,W);return yield oe({type:"save",payload:{commonHeader:et({},De)}}),De},*getReviewExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.BJ,W);return yield oe({type:"save",payload:{reviewExercise:et({},De)}}),De},*postReviewExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.pu,W);return yield oe({type:"save",payload:{reviewExercise:et({},De)}}),De},*getCentralizeReviewExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.X4,W);return yield oe({type:"save",payload:{reviewExercise:et({},De)}}),De},*clearData({payload:W,callback:K},{call:H,put:oe}){yield oe({type:"save",payload:{[W.key]:{}}})},*getReviewGroupExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.W4,W);return yield oe({type:"save",payload:{reviewGroupExercise:et({},De)}}),De},*getWorkSetting({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.Ul,W);return yield oe({type:"save",payload:{workSetting:et({},De)}}),De},*getRedoModal({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.tX,W);return yield oe({type:"save",payload:{redoModal:et({},De)}}),De},*getRedoListModal({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.s,W);return yield oe({type:"save",payload:{redoModal:et({},De)}}),De},*getCodeReviewDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.Xn,W);return yield oe({type:"save",payload:{codeReviewDetail:et({},De)}}),De},*changeScore({payload:W,callback:K},{call:H,put:oe}){return yield H(ue.gG,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:et({},W)}})},*setUpdateIndex({payload:W},{call:K,put:H}){yield H({type:"save",payload:{updateIndex:W==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:W},{call:K,put:H}){yield H({type:"save",payload:{saveExerciseDownUsers:W}})}},reducers:{save(W,K){return et(et({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},At=e(49711),Zt=Object.defineProperty,Ct=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,rt=(W,K,H)=>K in W?Zt(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Me=(W,K)=>{for(var H in K||(K={}))kt.call(K,H)&&rt(W,H,K[H]);if(Ct)for(var H of Ct(K))zt.call(K,H)&&rt(W,H,K[H]);return W},Ce={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.x_,W);return yield oe({type:"save",payload:{detailList:Me({},De)}}),De},*getTasksListDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.QA,W);return yield oe({type:"save",payload:{detailTaskList:Me({},De)}}),De},*getTopisDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.B6,W);return yield oe({type:"save",payload:{detail:Me({},De)}}),De},*getTasksDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.y3,W);return yield oe({type:"save",payload:{tasksDetail:Me({},De)}}),De},*refuseTopic({payload:W,callback:K},{call:H,put:oe}){return yield H(At.mM,W)},*agreeTopic({payload:W,callback:K},{call:H,put:oe}){return yield H(At.je,W)},*getReplyList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.PC,W);yield oe({type:"save",payload:{replyList:Me({},De)}})},*createReply({payload:W,callback:K},{call:H,put:oe}){return yield H(At.PP,W)},*replyLike({payload:W,callback:K},{call:H,put:oe}){return yield H(At.NA,W)},*replyUnLike({payload:W,callback:K},{call:H,put:oe}){return yield H(At.YQ,W)},*deleteReply({payload:W,callback:K},{call:H,put:oe}){return yield H(At.Mf,W)},*addTopicDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.y0,W);yield oe({type:"save",payload:{addTopicData:Me({},De)}})},*editTopicDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At.hL,W);return yield oe({type:"save",payload:{editTopicData:Me({},De)}}),De},*editTasksDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H(At._n,W);return yield oe({type:"save",payload:{editTasksData:Me({},De)}}),De},*addTopic({payload:W,callback:K},{call:H,put:oe}){return yield H(At.Gr,W)},*editTopic({payload:W,callback:K},{call:H,put:oe}){return yield H(At.wA,W)},*addTasks({payload:W,callback:K},{call:H,put:oe}){return yield H(At.Sv,W)},*editTasks({payload:W,callback:K},{call:H,put:oe}){return yield H(At.RP,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Me({},W)}})}},reducers:{save(W,K){return Me(Me({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},Be=e(96486),$e=e(86763),it=Object.defineProperty,Te=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Je=(W,K,H)=>K in W?it(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,de=(W,K)=>{for(var H in K||(K={}))nt.call(K,H)&&Je(W,H,K[H]);if(Te)for(var H of Te(K))Pe.call(K,H)&&Je(W,H,K[H]);return W},vt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.h$,W);try{sessionStorage.all_student_works=JSON.stringify(De.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(W),localStorage.setItem("all_student_works_param",JSON.stringify(W))}catch(zr){}return yield oe({type:"save",payload:{workList:de({},De)}}),De},*getShixunWorkHeadInfo({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.fK,W);try{}catch(zr){}return yield oe({type:"save",payload:{headerInfo:De==null?void 0:De.data}}),De},*getShixunWorkList({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Z8,W);try{sessionStorage.all_student_works=JSON.stringify(De.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(W),localStorage.setItem("all_student_works_param",JSON.stringify(W))}catch(zr){}return yield oe({type:"save",payload:{shixunWorkList:De==null?void 0:De.data,homeworkAssistantPermissions:De.homework_assistant_permissions,shixunAssistantPermission:De.shixun_assistant_permission,courseAssistantPermission:De.course_assistant_permission}}),De},*getCodeReview({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.RP,W);return yield oe({type:"save",payload:{codeReview:de({},De)}}),De},*getCodeReviewDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Xn,W);return yield oe({type:"save",payload:{codeReviewDetail:de({},De)}}),De},*getWorkDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.to,W);return yield oe({type:"save",payload:{workDetail:de({},De)}}),De},*updateWork({payload:W,callback:K},{call:H,put:oe}){return yield H($e.H,W)},*getShixunWorkReport({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.sw,W);try{De.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(zr){}return yield oe({type:"save",payload:{shixunWorkReport:de({},De)}}),De},*getShixunWorkReports({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.cz,W);try{De.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(zr){}return yield oe({type:"save",payload:{shixunWorkReport:de({},De)}}),De},*getWorkSetting({payload:W,callback:K},{call:H,put:oe}){var De,zr;const mn=yield H($e.Ul,W);(De=mn==null?void 0:mn.group_settings)==null||De.map(hn=>{hn.value=hn.group_name,hn.id=hn.group_id,hn.group_id=[hn.group_id]}),(zr=mn==null?void 0:mn.allow_late_settings)==null||zr.map(hn=>{hn.value=hn.group_name,hn.id=hn.group_id,hn.group_id=[hn.group_id]});const va={shixun_evaluation:mn.shixun_evaluation,challenge_settings:mn.challenge_settings};return yield oe({type:"save",payload:{workSetting:de({},mn),changeData:(0,Be.cloneDeep)(va)}}),mn},*updateSetting({payload:W,callback:K},{call:H,put:oe}){return yield H($e.m7,W)},*getCodeReviewCourse({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.JG,W);return yield oe({type:"save",payload:{codeReviewCourse:de({},De)}}),De},*exportShixunWorks({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Dx,W)},*getReferenceAnswer({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Q3,W);return yield oe({type:"save",payload:{referenceAnswer:de({},De)}}),De},*getPublishGroups({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.ux,W);return yield oe({type:"save",payload:{publishGroups:de({},De)}}),De},*getEndGroups({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.KE,W);return yield oe({type:"save",payload:{endGroups:de({},De)}}),De},*getBrankList({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.n$,W);return yield oe({type:"save",payload:{brankList:de({},De)}}),De},*changeScore({payload:W,callback:K},{call:H,put:oe}){return yield H($e.gG,W)},*saveBanks({payload:W,callback:K},{call:H,put:oe}){return yield H($e.lf,W)},*addCommonHomeWorkDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Qt,W);return yield oe({type:"save",payload:{commonHomeWorkAddDefaultData:de({},De)}}),De},*getSearchMemberList({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Lz,W);return yield oe({type:"save",payload:{searchMemberList:de({},De)}}),De},*getProjectList({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.ku,W);return yield oe({type:"save",payload:{searchProjectList:de({},De)}}),De},*addStudentWorkDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.ak,W);return yield oe({type:"save",payload:{studentWorkAddDefaultData:de({},De)}}),De},*editStudentWorkDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.PW,W);return yield oe({type:"save",payload:{studentWorkEditDefaultData:de({},De)}}),De},*editCommonHomeWorkDefaultData({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.BD,W);return yield oe({type:"save",payload:{commonHomeWorkEditDefaultData:de({},De)}}),De},*editCommonHomeWorkDefaultBankData({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.pH,W);return yield oe({type:"save",payload:{commonHomeWorkEditDefaultData:de({},De)}}),De},*getReplyList({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.PC,W);yield oe({type:"save",payload:{replyList:de({},De)}})},*getStudentWorkDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Hj,W);yield oe({type:"save",payload:{studentWorkDetail:de({},De)}})},*getStudentWorkSupplyDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.ub,W);yield oe({type:"save",payload:{studentWorkSupplyDetail:de({},De)}})},*getStudentWorkCommon({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.JA,W);yield oe({type:"save",payload:{studentWorkCommon:de({},De)}})},*getAllStudentWorks({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.ql,W);return yield oe({type:"save",payload:{allStudentWorks:de({},De)}}),De},*getFileRepeatResult({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.oN,W);return yield oe({type:"save",payload:{codeReview:de({},De)}}),De},*getFileRepeatDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H($e.Ti,W);return yield oe({type:"save",payload:{codeReviewDetail:de({},De)}}),De},*createReply({payload:W,callback:K},{call:H,put:oe}){return yield H($e.PP,W)},*replyLike({payload:W,callback:K},{call:H,put:oe}){return yield H($e.NA,W)},*replyUnLike({payload:W,callback:K},{call:H,put:oe}){return yield H($e.YQ,W)},*deleteReply({payload:W,callback:K},{call:H,put:oe}){return yield H($e.Mf,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:de({},W)}})}},reducers:{save(W,K){return de(de({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},qe=e(89779),Ze=e(52262),st=Object.defineProperty,Tt=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,te=(W,K,H)=>K in W?st(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,se=(W,K)=>{for(var H in K||(K={}))lt.call(K,H)&&te(W,H,K[H]);if(Tt)for(var H of Tt(K))pe.call(K,H)&&te(W,H,K[H]);return W},_e={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:"",courseAiData:{have_tiding:!1,is_open_ai:!1,name:""}},effects:{*setCourseAiState({payload:W},{call:K,put:H,select:oe}){yield K(qe.zC,W),yield H({type:"getCourseAiData",payload:W})},*getCourseAiData({payload:W},{call:K,put:H}){const oe=yield K(qe.tI,W);yield H({type:"save",payload:{courseAiData:oe.data}})},*setAssistantPermissions({payload:W},{call:K,put:H}){yield K(qe.gq,W)},*getAssistantPermissions({payload:W},{call:K,put:H}){if(!(0,Ze.eB)())return;const oe=yield K(qe.rS,W);yield H({type:"save",payload:{AssistantObject:oe.permissions}})},*getAiStatusQuery({payload:W},{call:K,put:H}){const oe=yield K(qe.LH,W);return yield H({type:"save",payload:{cal_finish_if:oe.cal_finish_if}}),oe},*updateCoursePortraitData({payload:W},{call:K,put:H}){return yield K(qe.Z_,W)},*getUserPortraitConfig({payload:W},{call:K,put:H}){const oe=yield K(qe._0,W);return yield H({type:"save",payload:{userPortraitConfig:oe.data}}),oe},*updateUserPortraitConfig({payload:W},{call:K,put:H}){return yield K(qe.r2,W)},*getClassroom({payload:W},{call:K,put:H}){const oe=W,De=yield K(qe.V8,W);return yield H({type:"save",payload:se({listParams:oe},De)}),De},*getClassroomTopBanner({payload:W},{call:K,put:H}){const oe=yield K(qe.U_,W);return yield H({type:"save",payload:{detailTopBanner:oe.status?{copy_completed:!0}:se({},oe)}}),oe.status?{copy_completed:!0}:oe},*getClassroomLeftMenus({payload:W},{call:K,put:H}){const oe=yield K(qe.w9,W);let De=[...(oe==null?void 0:oe.course_modules)||[],...(oe==null?void 0:oe.hidden_modules)||[]],zr={};return De==null||De.forEach(mn=>{zr[mn.type]=mn.name}),yield H({type:"save",payload:{detailLeftMenus:se({},oe),detailLeftMenusNames:zr}}),oe},*getClassroomShixunsList({payload:W},{call:K,put:H}){const oe=yield K(qe.Nd,W);yield H({type:"save",payload:{detailShixunsList:se({},oe)}})},*getClassroomTeacherShixunsList({payload:W},{call:K,put:H}){const oe=yield K(qe.Gk,W);return yield H({type:"save",payload:{detailShixunsList:se({},oe)}}),oe},*getClassroomCommonList({payload:W},{call:K,put:H}){const oe=yield K(qe.Nd,W);yield H({type:"save",payload:{detailCommonHomeworksList:se({},oe)}})},*getClassroomTeacherCommonList({payload:W},{call:K,put:H}){const oe=yield K(qe.Gk,W);return yield H({type:"save",payload:{detailCommonHomeworksList:se({},oe)}}),oe},*getClassroomGraduationTopicsList({payload:W},{call:K,put:H}){const oe=yield K(qe.yV,W);yield H({type:"save",payload:{detailGraduationTopicsList:se({},oe)}})},*getClassroomGraduationTaskList({payload:W},{call:K,put:H}){const oe=yield K(qe.R2,W);yield H({type:"save",payload:{detailGraduationTaskList:se({},oe)}})},*getClassroomExercisesList({payload:W},{call:K,put:H}){const oe=yield K(qe.N7,W);yield H({type:"save",payload:{detailExerciseList:se({},oe)}})},*getClassroomPollsList({payload:W},{call:K,put:H}){const oe=yield K(qe.BR,W);yield H({type:"save",payload:{detailPollsList:se({},oe)}})},*getCourseGroups({payload:W},{call:K,put:H}){const oe=yield K(qe.qB,W);yield H({type:"save",payload:{courseGroups:se({},oe)}})},*getAllCourseGroup({payload:W},{call:K,put:H}){const oe=yield K(qe.c_,W);return yield H({type:"save",payload:{allCourseGroups:se({},oe)}}),oe},*getClassroomCommonHomeworksList({payload:W},{call:K,put:H}){const oe=yield K(qe.Al,W);yield H({type:"save",payload:{detailCommonHomeworksList:se({},oe)}})},*getClassroomAttendancesList({payload:W},{call:K,put:H}){const oe=yield K(qe.Vw,W);yield H({type:"save",payload:{detailAttendancesList:se({},oe)}})},*getClassroomAttendancesStatistic({payload:W},{call:K,put:H}){const oe=yield K(qe.Ls,W);yield H({type:"save",payload:{detailAttendancesStatistic:se({},oe)}})},*getAttendanceDetail({payload:W},{call:K,put:H}){const oe=yield K(qe.zg,W);return yield H({type:"save",payload:{detailAttendancesDetail:se({},oe)}}),oe},*getAnnouncementList({payload:W},{call:K,put:H}){const oe=yield K(qe.QZ,W);yield H({type:"save",payload:{detailAnnouncementList:se({},oe)}})},*getAttachmentList({payload:W},{call:K,put:H}){const oe=yield K(qe.KT,W);yield H({type:"save",payload:{detailAttachmentList:se({},oe.data)}})},*getCourseware({payload:W},{call:K,put:H}){const oe=yield K(qe.ZT,W);yield H({type:"save",payload:{detailCourseware:se({},oe.data)}})},*getVideoList({payload:W},{call:K,put:H}){const oe=yield K(qe.O3,W);yield H({type:"save",payload:{detailVideoList:se({},oe)}})},*getLiveVideoList({payload:W},{call:K,put:H}){const oe=yield K(qe.DJ,W);yield H({type:"save",payload:{detailLiveVideoList:se({},oe)}})},*getCoursesMine({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.Ed,W);return yield oe({type:"save",payload:{courseMine:se({},De)}}),De.data},*getBoardList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.KP,W);return yield oe({type:"save",payload:{detailBoardList:se({},De.data)}}),De.data},*getCourseGroupsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.kW,W);return yield oe({type:"save",payload:{detailCourseGroupsList:se({},De)}}),De},*getCourseStudentsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.J2,W);return yield oe({type:"save",payload:{detailCoursStudentsList:se({},De)}}),De.data},*getCourseStatistics({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.g4,W);return yield oe({type:"save",payload:{detailCourseStatisticsList:se({},De)}}),De},*getCourseActscore({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.t1,W);return yield oe({type:"save",payload:{detailCourseActscore:se({},De)}}),De},*getCourseWorkscore({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.GV,W);return yield oe({type:"save",payload:{detailCourseWorkscore:se({},De)}}),De},*getShixunLists({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.Pj,W);return yield oe({type:"save",payload:{shixunLists:se({},De)}}),De},*getExperimentLists({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe._9,W);return yield oe({type:"save",payload:{shixunLists:se({},De)}}),De},*getShixunAiRecommendLists({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.Hn,W);return yield oe({type:"save",payload:{shixunAiRecommendLists:se({},De)}}),De},*getCoursesLists({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.W7,W);return yield oe({type:"save",payload:{coursesLists:se({},De)}}),De},*createCoursesHomework({payload:W,callback:K},{call:H,put:oe}){return yield H(qe.Ds,W)},*createShixunHomework({payload:W,callback:K},{call:H,put:oe}){return yield H(qe.aQ,W)},*createExperiment({payload:W,callback:K},{call:H,put:oe}){return yield H(qe.BQ,W)},*getSchoolList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.K$,W);return yield oe({type:"save",payload:{schoolList:se({},De.school_names)}}),De.school_names},*searchSchoolTeacherList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.nQ,W);return yield oe({type:"save",payload:{searchMemberList:se({},De)}}),De},*getAllTaskList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.km,W);return yield oe({type:"save",payload:{taskList:[...De.tasks]}}),De},*updateTaskPosition({payload:W,callback:K},{call:H,put:oe}){const De=yield H(qe.U8,W);return yield oe({type:"save",payload:{actionTabs:{key:""}}}),De},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:se({},W)}})},*setUpdateData({payload:W},{call:K,put:H}){yield H({type:"save",payload:{updateData:W}})}},reducers:{save(W,K){return se(se({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},tt=Object.defineProperty,jr=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Qt=(W,K,H)=>K in W?tt(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,He=(W,K)=>{for(var H in K||(K={}))Ht.call(K,H)&&Qt(W,H,K[H]);if(jr)for(var H of jr(K))Re.call(K,H)&&Qt(W,H,K[H]);return W},ft={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:W},{call:K,put:H}){const oe=yield K(qe.K$,W);yield H({type:"save",payload:{schoolList:(oe==null?void 0:oe.school_names)||[]}})},*getSearchCourseList({payload:W},{call:K,put:H}){const oe=yield K(qe.oM,W);yield H({type:"save",payload:{searchCourseList:(oe==null?void 0:oe.course_lists)||[]}})},*submitCourses({payload:W},{call:K,put:H}){return yield K(qe.Bn,W)},*appplySchool({payload:W},{call:K,put:H}){return yield K(qe.bz,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:He({},W)}})},*joincoursegroup({payload:W},{call:K,put:H}){return yield K(qe.WK,W)}},reducers:{save(W,K){return He(He({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},jt=Object.defineProperty,we=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,ar=(W,K,H)=>K in W?jt(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,sr=(W,K)=>{for(var H in K||(K={}))Jt.call(K,H)&&ar(W,H,K[H]);if(we)for(var H of we(K))Fe.call(K,H)&&ar(W,H,K[H]);return W},qt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:W},{call:K,put:H}){const oe=yield K(qe.Dd,W);yield H({type:"save",payload:{CourseUseInfos:oe}})},*getRankList({payload:W},{call:K,put:H}){const oe=yield K(qe.Fg,W);yield H({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(oe==null?void 0:oe.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(oe==null?void 0:oe.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(oe==null?void 0:oe.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(oe==null?void 0:oe.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(oe==null?void 0:oe.finish_course_list)||[]]}}})},*getStatisticsBody({payload:W},{call:K,put:H}){const oe=yield K(qe.Gz,W);yield H({type:"save",payload:{SBody:oe}})},*getStatisticsHeader({payload:W},{call:K,put:H}){const oe=yield K(qe.Hl,W);yield H({type:"save",payload:{SHeader:oe}})}},reducers:{save(W,K){return sr(sr({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},It=e(32027),mt=Object.defineProperty,Gt=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,gt=(W,K,H)=>K in W?mt(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ut=(W,K)=>{for(var H in K||(K={}))tr.call(K,H)&>(W,H,K[H]);if(Gt)for(var H of Gt(K))Ke.call(K,H)&>(W,H,K[H]);return W},ir={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.s3,W);return yield oe({type:"save",payload:{pollsList:ut({},De)}}),De},*getCommonHeader({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.UK,W);return yield oe({type:"save",payload:{commonHeader:ut({},De)}}),De},*getPollsStatistics({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.Qn,W);return yield oe({type:"save",payload:{statisticsList:ut({},De)}}),De},*getBrankList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.n$,W);return yield oe({type:"save",payload:{brankList:ut({},De)}}),De},*saveBanks({payload:W,callback:K},{call:H,put:oe}){return yield H(It.lf,W)},*getPollsCourses({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.Q9,W);return yield oe({type:"save",payload:{pollsCoursesList:ut({},De)}}),De},*getPollsSetting({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.Hi,W);return yield oe({type:"save",payload:{pollSetting:ut({},De)}}),De},*editPolls({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.Ye,W);return yield oe({type:"save",payload:{editData:ut({},JSON.parse(JSON.stringify(De)))}}),De},*getEndGroups({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.KE,W);return yield oe({type:"save",payload:{endGroups:ut({},De)}}),De},*getPublishGroups({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.ux,W);return yield oe({type:"save",payload:{publishGroups:ut({},De)}}),De},*getExerciseBanks({payload:W,callback:K},{call:H,put:oe}){const De=yield H(It.kp,W);return yield oe({type:"save",payload:{exerciseBanks:ut({},De)}}),De},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:ut({},W)}})}},reducers:{save(W,K){return ut(ut({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},gr=e(34306),xr=Object.defineProperty,Yr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,ht=(W,K,H)=>K in W?xr(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,_r=(W,K)=>{for(var H in K||(K={}))Jr.call(K,H)&&ht(W,H,K[H]);if(Yr)for(var H of Yr(K))nn.call(K,H)&&ht(W,H,K[H]);return W},fn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:W},{call:K,put:H}){var oe;const De=yield K(gr.gp,W);return(oe=De==null?void 0:De.teacher_list)==null||oe.map(zr=>(zr.key=zr.course_member_id,zr)),yield H({type:"save",payload:{list:De}}),De},*getStudentsList({payload:W},{call:K,put:H}){var oe;const De=yield K(gr.ur,W);return(oe=De==null?void 0:De.students)==null||oe.map(zr=>(zr.key=zr.user_id,zr)),yield H({type:"save",payload:{studentsList:De}}),De},*getApplyList({payload:W},{call:K,put:H}){const oe=yield K(gr.s,W);return yield H({type:"save",payload:{applyList:oe}}),oe},*getAllCourseGroups({payload:W},{call:K,put:H}){const oe=yield K(gr.xV,W);return yield H({type:"save",payload:{allCourseGroups:oe}}),oe},*getGraduationGroupList({payload:W},{call:K,put:H}){const oe=yield K(gr.Bg,W);return yield H({type:"save",payload:{graduationGroupList:oe}}),oe},*setAllCourseGroups({payload:W},{call:K,put:H}){const oe=yield K(gr.oZ,W);return yield H({type:"save",payload:{setAllCourseGroups:oe}}),oe},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:_r({},W)}})},*setUpdateIndex({payload:W},{call:K,put:H}){yield H({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(W,K){return _r(_r({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},Qr=e(56188),dt=Object.defineProperty,dn=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,On=(W,K,H)=>K in W?dt(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ua=(W,K)=>{for(var H in K||(K={}))An.call(K,H)&&On(W,H,K[H]);if(dn)for(var H of dn(K))cn.call(K,H)&&On(W,H,K[H]);return W},vr={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.BQ,W);return yield oe({type:"save",payload:{videoStatisticsList:ua({},De)}}),De},*getNewVideoStatisticsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.cU,W);return yield oe({type:"save",payload:{newVideoStatisticsList:ua({},De)}}),De},*getVideoPeopleStatics({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.Zx,W);return yield oe({type:"save",payload:{videoPeopleStatics:ua({},De)}}),De},*getVideoDurationStatics({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.Mz,W);return yield oe({type:"save",payload:{videoDurationStatics:ua({},De)}}),De},*getVideoStatistics({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.ZY,W);return yield oe({type:"save",payload:{videoStatistics:ua({},De)}}),De},*getOneVideoStatisticsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.cU,W);return yield oe({type:"save",payload:{oneVideoStatisticsList:ua({},De)}}),De},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:ua({},W)}})},*getStudentVideoStatisticsList({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.Vg,W);return yield oe({type:"save",payload:{StudentvideoStatistics:ua({},De)}}),De}},reducers:{save(W,K){return ua(ua({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},er=e(78392),wr=Object.defineProperty,Ir=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,on=(W,K,H)=>K in W?wr(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,En=(W,K)=>{for(var H in K||(K={}))We.call(K,H)&&on(W,H,K[H]);if(Ir)for(var H of Ir(K))qr.call(K,H)&&on(W,H,K[H]);return W},Qn={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:W,callback:K},{call:H,put:oe}){return yield H(er.cC,W)},*getGuides({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.Ax,W);return yield oe({type:"save",payload:{GuidesData:De}}),De},*getWorkSubmitUpdateRes({payload:W,callback:K},{call:H,put:oe}){return yield H(er.zF,W)},*getList({payload:W},{call:K,put:H}){const oe=W,De=yield K(er.bQ,W);return yield H({type:"save",payload:En({listParams:oe},De)}),De},*getMemberWorks({payload:W},{call:K,put:H}){const oe=yield K(er.xx,W);return yield H({type:"save",payload:{MemberWorks:oe||{}}}),oe},*addApplytojoincourse({payload:W,callback:K},{call:H,put:oe}){return yield H(er.qS,W)},*competitionTeams({payload:W,callback:K},{call:H,put:oe}){return yield H(er.Pt,W)},*getStaff({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.Dh,W);return yield oe({type:"save",payload:{Staff:De}}),De},*getHeader({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.Pg,W);return yield oe({type:"save",payload:{Header:De}}),De},*getItem({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.rV,W);return yield oe({type:"save",payload:{RightItems:De}}),De},*updateMdContent({payload:W,callback:K},{call:H,put:oe}){return yield H(er.zj,W)},*getTeamList({payload:W,callback:K},{call:H,put:oe}){return yield H(er.aq,W)},*getTeamDetail({payload:W,callback:K},{call:H,put:oe}){return yield H(er.Ze,W)},*UpTeam({payload:W,callback:K},{call:H,put:oe}){return yield H(er.yS,W)},*DeleteTeam({payload:W,callback:K},{call:H,put:oe}){return yield H(er.ps,W)},*ExitTeam({payload:W,callback:K},{call:H,put:oe}){return yield H(er.vV,W)},*AddTeam({payload:W,callback:K},{call:H,put:oe}){return yield H(er.FU,W)},*AddPersonnel({payload:W,callback:K},{call:H,put:oe}){return yield H(er.R9,W)},*JoinTeam({payload:W,callback:K},{call:H,put:oe}){return yield H(er.zc,W)},*getTeacher({payload:W,callback:K},{call:H,put:oe}){return yield H(er.jS,W)},*getStudents({payload:W,callback:K},{call:H,put:oe}){return yield H(er.sK,W)},*SubmitTeam({payload:W,callback:K},{call:H,put:oe}){return yield H(er.rm,W)},*Reward({payload:W,callback:K},{call:H,put:oe}){return yield H(er.Qp,W)},*ChartRules({payload:W,callback:K},{call:H,put:oe}){return yield H(er.Ux,W)},*Charts({payload:W,callback:K},{call:H,put:oe}){return yield H(er.GQ,W)},*TabResults({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.ml,W);return yield oe({type:"save",payload:{TabResultList:De}}),De},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:En({},W)}})},*Results({payload:W,callback:K},{call:H,put:oe}){return yield H(er.u9,W)},*Prize({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.pU,W);return yield oe({type:"save",payload:{Prizes:De}}),De},*Accounts({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.XJ,W);return yield oe({type:"save",payload:{Account:De}}),De},*getVerification({payload:W,callback:K},{call:H,put:oe}){return yield H(er.Ni,W)},*PhoneBind({payload:W,callback:K},{call:H,put:oe}){return yield H(er.uZ,W)},*EmailBind({payload:W,callback:K},{call:H,put:oe}){return yield H(er.rk,W)},*Authentication({payload:W,callback:K},{call:H,put:oe}){return yield H(er.Vy,W)},*Professional({payload:W,callback:K},{call:H,put:oe}){return yield H(er.tC,W)},*setleader({payload:W,callback:K},{call:H,put:oe}){return yield H(er.tO,W)},*getShixun({payload:W,callback:K},{call:H,put:oe}){return yield H(er.qj,W)},*getCourse({payload:W,callback:K},{call:H,put:oe}){return yield H(er.XR,W)},*competition_teams({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.zz,W);return yield oe({type:"save",payload:{competition_team:De}}),De},*all_team_members({payload:W,callback:K},{call:H,put:oe}){const De=yield H(er.$P,W);return yield oe({type:"save",payload:{all_team_member:De}}),De}},reducers:{save(W,K){return En(En({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},kn=e(91303),pn=e(5728),ba=Object.defineProperty,ai=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Vn=Object.getOwnPropertySymbols,Ta=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,li=(W,K,H)=>K in W?ba(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,yi=(W,K)=>{for(var H in K||(K={}))Ta.call(K,H)&&li(W,H,K[H]);if(Vn)for(var H of Vn(K))wi.call(K,H)&&li(W,H,K[H]);return W},za=(W,K)=>ai(W,at(K)),wa={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[pn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${pn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[pn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${pn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:yi({},W)}})},*getMajorList({payload:W},{call:K,put:H,select:oe}){const{userInfo:De}=yield oe(zr=>zr.user);if(De!=null&&De.school_id){const zr=yield K(kn.BA,De.school_id);zr&&zr.data&&(yield H({type:"setMajorOrYearDataSource",payload:{key:pn.k[0],value:zr.data.map(mn=>({label:mn.name,value:mn.ec_major_school_id}))}}))}},*getYearList({payload:W},{call:K,put:H}){const oe=yield K(kn.Nx,W);oe&&oe.data&&(yield H({type:"setMajorOrYearDataSource",payload:{key:pn.k[1],value:oe.data.map(De=>({label:De.year,value:De.ec_year_id}))}}))},*getCourseResultDetail({payload:W},{call:K,put:H}){console.log(W,"payload");const oe=yield K(kn.p1,W);oe&&oe.ec_course_target&&(yield H({type:"setEchartsData",payload:oe}))},*getCourseResultDetailClass({payload:W},{call:K,put:H}){const oe=yield K(kn.ff,W);oe&&oe.class_name&&(yield H({type:"save",payload:{classDataSource:{active:null,dataList:[...oe.class_name]}}}))},*setClassActive({payload:W},{call:K,put:H}){yield H({type:"save",payload:{classDataSource:yi({},W)}})}},reducers:{save(W,K){return yi(yi({},W),K.payload)},setMajorOrYearDataSource(W,{payload:K}){return za(yi({},W),{headerData:za(yi({},W.headerData),{dataSource:za(yi({},W.headerData.dataSource),{[K.key]:za(yi({},W.headerData.dataSource[K.key]),{dataList:K.value})})})})},setMajorOrYearActive(W,{payload:K}){return za(yi({},W),{headerData:za(yi({},W.headerData),{active:za(yi({},W.headerData.active),{[K.key]:K.value})})})},setEchartsData(W,{payload:K}){let H={name:K.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},oe={name:K.course_name||"",xData:[],seriesData:[]},De={};return K.ec_course_target.forEach((zr,mn)=>{zr.position=mn+1,H=za(yi({},H),{dataSource:{xData:[...H.dataSource.xData,mn+1],yBarData:[...H.dataSource.yBarData,zr.actual_grade],yLineData:[...H.dataSource.yLineData,zr.standard_grade]}});let va=[],hn={min:[],max:[]},Yi=[],os=[],Ei=[];zr.student_data.detail.forEach((ko,Xo)=>{let Rs=ko.score;va.push(Xo+1),hn.max.push(Rs>=zr.student_data.goal_score?Rs:null),hn.min.push(Rs>=zr.student_data.goal_score?null:Rs),Yi.push(ko.name),os.push(ko.student_id),Ei.push(ko.clazz)}),De[mn+1]={name:mn+1,average_score:zr.student_data.average_score,goal_score:zr.student_data.goal_score,xData:va,yData:hn,name_data:Yi,student_ids:os,class_data:Ei,goal_scoreData:new Array(zr.student_data.detail.length).fill(zr.student_data.goal_score),average_scoreData:new Array(zr.student_data.detail.length).fill(zr.student_data.average_score)}}),K.history.forEach(zr=>{oe=za(yi({},oe),{xData:[...oe.xData,zr.year],seriesData:[...oe.seriesData,zr.total_score]})}),za(yi({},W),{name:K.course_name||"",tabListData:K.ec_course_target,echartsData:{barData:H,lineData:oe,scatterData:De}})}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},fi=Object.defineProperty,ze=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,ye=(W,K,H)=>K in W?fi(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Xe=(W,K)=>{for(var H in K||(K={}))Kt.call(K,H)&&ye(W,H,K[H]);if(ze)for(var H of ze(K))Xt.call(K,H)&&ye(W,H,K[H]);return W},he={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Xe({},W)}})},*setShowMenu({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showMenu:W}})},*setMatrixVerify({payload:W},{call:K,put:H}){yield H({type:"save",payload:{matrixVerify:Xe({},W)}})}},reducers:{save(W,K){return Xe(Xe({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},fe=e(70583),Ie=Object.defineProperty,Se=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,ur=(W,K,H)=>K in W?Ie(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Ut=(W,K)=>{for(var H in K||(K={}))lr.call(K,H)&&ur(W,H,K[H]);if(Rt)for(var H of Rt(K))Yt.call(K,H)&&ur(W,H,K[H]);return W},br=(W,K)=>Se(W,bt(K)),Fn={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[pn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${pn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[pn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${pn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Ut({},W)}})},*getMajorList({},{call:W,put:K,select:H}){const{userInfo:oe}=yield H(De=>De.user);if(oe!=null&&oe.school_id){const De=yield W(kn.BA,oe.school_id);if(De&&De.data){const zr=fe.U.getItem(oe==null?void 0:oe.login);yield K({type:"setMajorOrYearDataSource",payload:{key:pn.k[0],value:De.data.map(mn=>({label:mn.name,value:mn.ec_major_school_id})),active:De.data.length>0?zr[0]||De.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:W},{call:K,put:H,select:oe}){const De=yield K(kn.Nx,W.id),{userInfo:zr}=yield oe(mn=>mn.user);if(De&&De.data){const mn=fe.U.getItem(zr==null?void 0:zr.login);yield H({type:"setMajorOrYearDataSource",payload:{key:pn.k[1],value:De.data.map(va=>({label:va.year,value:va.ec_year_id})),active:De.data.length>0?W.firstEnter?mn[1]:De.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:W,put:K,select:H}){const{headerData:oe}=yield H(mn=>mn.engineeringNavigtion),{userInfo:De}=yield H(mn=>mn.user);let zr={};if(oe.active[pn.k[1]]&&De.school_id){const mn=[oe.active[pn.k[0]],oe.active[pn.k[1]]];fe.U.setItem(De==null?void 0:De.login,mn);const va=yield W(kn.bA,{ec_year_id:oe.active[pn.k[1]],school_id:De.school_id});va&&va.data&&(zr=va.data),yield K({type:"setTopPage",payload:zr})}},*putTopPageName({payload:W,callback:K},{call:H,put:oe}){try{const De=yield H(kn.ay,W);K(De)}catch(De){let zr="";De&&(zr=JSON.stringify(De),De.message&&(zr=De.message)),K({message:zr,status:999})}}},reducers:{save(W,K){return Ut(Ut({},W),K.payload)},setMajorOrYearDataSource(W,{payload:K}){let H=W.headerData.active;return K.active&&(H=br(Ut({},H),{[K.key]:K.active})),br(Ut({},W),{headerData:br(Ut({},W.headerData),{dataSource:br(Ut({},W.headerData.dataSource),{[K.key]:br(Ut({},W.headerData.dataSource[K.key]),{dataList:K.value})}),active:H})})},setMajorOrYearActive(W,{payload:K}){return br(Ut({},W),{headerData:br(Ut({},W.headerData),{active:br(Ut({},W.headerData.active),{[K.key]:K.value})})})},setTopPage(W,{payload:K}){return br(Ut({},W),{headerData:br(Ut({},W.headerData),{name:K.name,tabBarContent:{user_name:K.user_name,user_school:K.user_school,user_type:K.user_type}}),cardListData:br(Ut({},W.cardListData),{appraiseData:br(Ut({},W.cardListData.appraiseData),{norm:br(Ut({},W.cardListData.appraiseData.norm),{result:K.graduaiton_result,listData:W.cardListData.appraiseData.norm.listData.map(H=>br(Ut({},H),{value:K[H.key]||0}))}),course:br(Ut({},W.cardListData.appraiseData.course),{result:K.course_result,listData:W.cardListData.appraiseData.course.listData.map(H=>br(Ut({},H),{value:K[H.key]||0}))})}),teamData:{teach:br(Ut({},W.cardListData.teamData.teach),{tabBarContent:`${K.course_teachers?K.course_teachers.length:0}\u4EBA`,listData:K.course_teachers||[]}),work:br(Ut({},W.cardListData.teamData.work),{tabBarContent:`${K.work_teachers?K.work_teachers.length:0}\u4EBA`,listData:K.work_teachers||[]})}}),totalListData:W.totalListData.map(H=>br(Ut({},H),{value:K[H.key]||0}))})}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Dn=Object.defineProperty,kr=Object.defineProperties,vn=Object.getOwnPropertyDescriptors,Gr=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Hn=(W,K,H)=>K in W?Dn(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,da=(W,K)=>{for(var H in K||(K={}))yn.call(K,H)&&Hn(W,H,K[H]);if(Gr)for(var H of Gr(K))Sn.call(K,H)&&Hn(W,H,K[H]);return W},qn=(W,K)=>kr(W,vn(K)),oa={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:da({},W)}})},*getGraduationResultDetail({payload:W},{call:K,put:H}){const oe=yield K(kn.gq,W);yield H({type:"save",payload:{dataSource:oe}})}},reducers:{save(W,K){return da(da({},W),K.payload)},setDataSource(W,{payload:K}){let H=K;return qn(da({},W),{dataSource:H})}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},ta=e(2453),la=Object.defineProperty,ea=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,Ti=(W,K,H)=>K in W?la(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Di=(W,K)=>{for(var H in K||(K={}))xa.call(K,H)&&Ti(W,H,K[H]);if(ha)for(var H of ha(K))sn.call(K,H)&&Ti(W,H,K[H]);return W},ao=(W,K)=>ea(W,$n(K)),Ma=(W,K)=>{var H={};for(var oe in W)xa.call(W,oe)&&K.indexOf(oe)<0&&(H[oe]=W[oe]);if(W!=null&&ha)for(var oe of ha(W))K.indexOf(oe)<0&&sn.call(W,oe)&&(H[oe]=W[oe]);return H},bi={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[pn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${pn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[pn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${pn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Di({},W)}})},*getMajorList({},{call:W,put:K,select:H}){const{userInfo:oe}=yield H(De=>De.user);if(oe!=null&&oe.school_id){const De=yield W(kn.BA,oe.school_id);if(De&&De.data){const zr=fe.U.getItem(oe==null?void 0:oe.login);yield K({type:"setMajorOrYearDataSource",payload:{key:pn.k[0],value:De.data.map(mn=>({label:mn.name,value:mn.ec_major_school_id})),active:De.data.length>0?zr[0]||De.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:W},{call:K,put:H,select:oe}){const De=yield K(kn.Nx,W.id),{userInfo:zr}=yield oe(mn=>mn.user);if(De&&De.data){const mn=fe.U.getItem(zr==null?void 0:zr.login);yield H({type:"setMajorOrYearDataSource",payload:{key:pn.k[1],value:De.data.map(va=>({label:va.year,value:va.ec_year_id})),active:De.data.length>0?W.firstEnter?mn[1]:De.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:W,put:K,select:H}){const{headerData:oe}=yield H(Yi=>Yi.engineeringNormList),{userInfo:De}=yield H(Yi=>Yi.user);let zr=[],mn=[],va="";const hn=oe.active[pn.k[1]];if(hn){const Yi=[oe.active[pn.k[0]],oe.active[pn.k[1]]];fe.U.setItem(De==null?void 0:De.login,Yi);const os=yield W(kn.eM,hn);os&&os.graduation_requirements&&(va=os.all_goal_value||"",zr=os.graduation_requirements.map(Ei=>{var ko=Ei,{subitems:Xo}=ko,Rs=Ma(ko,["subitems"]);return mn.push(Rs.id),ao(Di({},Rs),{children:Xo})}))}yield K({type:"save",payload:{tabListData:zr,all_goal_value:va,expandedRowKeys:mn}})},*exportGraduation({},{call:W,select:K}){const{headerData:H}=yield K(oe=>oe.engineeringNormList);H.active[pn.k[1]]&&(yield W(kn.OE,H.active[pn.k[1]]))},*compute({payload:W},{call:K,put:H}){const oe=W,{all:De}=oe,zr=Ma(oe,["all"]),mn=yield K(De?kn.Qx:kn.Xl,zr);mn&&mn.status===0?(ta.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield H({type:"getGraduationResults"})):ta.ZP.error(mn.message)},*getFormulas({callback:W},{call:K,select:H}){const{headerData:oe}=yield H(De=>De.engineeringNormList);if(oe.active[pn.k[1]]){const De=yield K(kn.mK,oe.active[pn.k[1]]);W(De)}},*setFormulas({payload:W,callback:K},{call:H}){const oe=yield H(kn.y9,W);K(oe)},*putGoalValue({payload:W},{call:K,put:H}){const oe=yield K(kn.No,W);if(oe&&oe.status===0)ta.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield H({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield H({type:"getGraduationResults"});else{let De="\u4FDD\u5B58\u5931\u8D25";oe&&oe.message&&(De=oe.message),ta.ZP.error(De)}}},reducers:{save(W,K){return Di(Di({},W),K.payload)},setMajorOrYearDataSource(W,{payload:K}){let H=W.headerData.active;return K.active&&(H=ao(Di({},H),{[K.key]:K.active})),ao(Di({},W),{headerData:ao(Di({},W.headerData),{dataSource:ao(Di({},W.headerData.dataSource),{[K.key]:ao(Di({},W.headerData.dataSource[K.key]),{dataList:K.value})}),active:H})})},setMajorOrYearActive(W,{payload:K}){return ao(Di({},W),{headerData:ao(Di({},W.headerData),{active:ao(Di({},W.headerData.active),{[K.key]:K.value})})})}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Pt=e(13703),cr=Object.defineProperty,Ge=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,or=(W,K,H)=>K in W?cr(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,fr=(W,K)=>{for(var H in K||(K={}))yt.call(K,H)&&or(W,H,K[H]);if(Ge)for(var H of Ge(K))Ft.call(K,H)&&or(W,H,K[H]);return W},Fr={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:W},{call:K,put:H}){const oe=yield K(Pt.Si,W);return yield H({type:"save",payload:{forumsDetailData:fr({},oe)}}),oe},*setForumsDetailData({payload:W},{call:K,put:H}){yield H({type:"save",payload:{forumsDetailData:fr({},W)}})}},reducers:{save(W,K){return fr(fr({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Lr=Object.defineProperty,tn=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,rn=Object.prototype.propertyIsEnumerable,en=(W,K,H)=>K in W?Lr(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Pn=(W,K)=>{for(var H in K||(K={}))Mr.call(K,H)&&en(W,H,K[H]);if(tn)for(var H of tn(K))rn.call(K,H)&&en(W,H,K[H]);return W},Jn={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:W},{call:K,put:H}){const oe=yield K(W.memoType==="shixun_discuss"?Pt.kd:Pt.bc,W);return delete W.memoType,yield H({type:"save",payload:{listParams:W,forumsData:Pn({},oe)}}),oe}},reducers:{save(W,K){return Pn(Pn({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},_n=e(34562),Wn=e(11320),Ln=e(21434),na=Object.defineProperty,ca=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,Na=(W,K,H)=>K in W?na(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ia=(W,K)=>{for(var H in K||(K={}))pa.call(K,H)&&Na(W,H,K[H]);if(ca)for(var H of ca(K))Ga.call(K,H)&&Na(W,H,K[H]);return W},ja={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:W},{call:K,put:H}){var oe,De,zr;const mn=yield K(_n.D2,W);Wn.Z.ONLYOFFICE=(oe=mn==null?void 0:mn.setting)==null?void 0:oe.office_server_url,Wa(mn);try{(De=mn==null?void 0:mn.setting)!=null&&De.user_default_password&&(mn.setting.user_default_password=(0,Ln._V)(((zr=mn==null?void 0:mn.setting)==null?void 0:zr.user_default_password)||"","userInfo"))}catch(va){}yield H({type:"save",payload:ia({},mn)})},*getSystemUpdate({payload:W},{call:K,put:H}){const oe=yield K(_n.n0,W);yield H({type:"save",payload:{updateData:ia({},oe)}})},*setTheme({payload:W},{call:K,put:H}){const oe=yield K(_n.n0,W);yield H({type:"save",payload:{theme:W||"default"}})},*setShareData({payload:W},{call:K,put:H}){yield H({type:"save",payload:{shareData:W}})},*setGlobalLoading({payload:W},{call:K,put:H}){yield H({type:"save",payload:{globalLoading:ia({},W)}})},*delayTipToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showTip:W}})},*headerToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showHeader:W}})},*footerToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showFooter:W}})},*headerFooterToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showHeaderFooter:W}})},*delayTipToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showTip:W}})},*headerFixedToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showHeaderFixed:W}})},*onlyShowBackTopToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{onlyShowBackTop:W}})},*onlyShowBackTopIconToggle({payload:W},{call:K,put:H}){yield H({type:"save",payload:{onlyShowBackTopIcons:W}})},*setOperateModel({payload:W},{call:K,put:H}){yield H({type:"save",payload:{operateModel:W}})},*setOperateModelPath({payload:W},{call:K,put:H}){yield H({type:"save",payload:{operateModelPath:W}})},*setShowQuestionBackTop({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showQuestionBackTop:W}})},*setInfoData({payload:W},{call:K,put:H}){yield H({type:"save",payload:{infoData:ia({},W)}})},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:ia({},W)}})}},reducers:{save(W,K){return ia(ia({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{})}}};const Wa=(W={})=>{var K,H,oe,De,zr;if(window.self!==window.top||!((K=W.setting)!=null&&K.tab_logo_url))return;const mn=document.createElement("link"),va=document.getElementById("dynamic-favicon");mn.id="dynamic-favicon",mn.rel="shortcut icon",mn.href=(H=W.setting)!=null&&H.tab_logo_url?`${Wn.Z.IMG_SERVER}/${(oe=W.setting)==null?void 0:oe.tab_logo_url}`:"",va&&document.head.removeChild(va),document.head.appendChild(mn);try{(De=W.setting)!=null&&De.main_site||(document.querySelector('meta[name="keywords"]').content=(zr=W.setting)==null?void 0:zr.name,document.querySelector('meta[name="description"]').remove())}catch(hn){}};var Ya=e(73983),hi=Object.defineProperty,Va=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,lo=(W,K,H)=>K in W?hi(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ro=(W,K)=>{for(var H in K||(K={}))qa.call(K,H)&&lo(W,H,K[H]);if(Va)for(var H of Va(K))gi.call(K,H)&&lo(W,H,K[H]);return W},Ja={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:W},{call:K,put:H}){return yield K(Ya.Xh,W)},*getGraduationsFinalScore({payload:W},{call:K,put:H}){return yield K(Ya.H3,W)},*getDelGraduationsTasks({payload:W},{call:K,put:H}){return yield K(Ya.km,W)},*getGraduationsTasks({payload:W},{call:K,put:H}){const oe=yield K(Ya.Xw,W);yield H({type:"save",payload:{Tasks:oe}})},*getGraduationsTeachers({payload:W},{call:K,put:H}){var oe;const De=yield K(Ya.AA,W);return(oe=De==null?void 0:De.data)==null||oe.map(zr=>(zr.key=zr.id,zr)),yield H({type:"save",payload:{teachers:De}}),De},*getGraduationsStudents({payload:W},{call:K,put:H}){var oe;const De=yield K(Ya.eh,W);(oe=De==null?void 0:De.data)==null||oe.map(zr=>(zr.key=zr.id,zr)),yield H({type:"save",payload:{students:De}})},*getGraduationsNotices({payload:W},{call:K,put:H}){const oe=yield K(Ya.Rk,W);yield H({type:"save",payload:{Notices:oe}})},*getGraduationsInfo({payload:W},{call:K,put:H}){const oe=yield K(Ya.F7,W);yield H({type:"save",payload:{graduation:oe.graduation}})},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:ro({},W)}})},*setUpdateIndex({payload:W},{call:K,put:H}){yield H({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:W},{call:K,put:H}){const oe=yield K(Ya.Ou,W);yield H({type:"save",payload:{details:(oe==null?void 0:oe.graduation)||{},menus:(oe==null?void 0:oe.data)||[],forTask:(oe==null?void 0:oe.for_task)||[]}})}},reducers:{save(W,K){return ro(ro({},W),K.payload)}}},fo=e(51710),Bi=Object.defineProperty,vi=Object.defineProperties,Po=Object.getOwnPropertyDescriptors,yo=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,Ko=(W,K,H)=>K in W?Bi(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ns=(W,K)=>{for(var H in K||(K={}))Uo.call(K,H)&&Ko(W,H,K[H]);if(yo)for(var H of yo(K))Bo.call(K,H)&&Ko(W,H,K[H]);return W},Xi=(W,K)=>vi(W,Po(K)),Xr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:W},{call:K,put:H}){const oe=yield K(fo.Tt,{payload:W});yield H({type:"save",payload:Xi(ns({},oe),{isloading:!0})})},*query({payload:W},{call:K,put:H}){yield H({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:W,callback:K},{call:H,put:oe}){return yield H(fo.LA,W)},*UploadNotice({payload:W,callback:K},{call:H,put:oe}){return yield H(fo.S_,W)}},reducers:{save(W,K){return ns(ns({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Hr=Object.defineProperty,ra=Object.defineProperties,Aa=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,_o=(W,K,H)=>K in W?Hr(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Qo=(W,K)=>{for(var H in K||(K={}))ei.call(K,H)&&_o(W,H,K[H]);if(Oa)for(var H of Oa(K))Da.call(K,H)&&_o(W,H,K[H]);return W},Wi=(W,K)=>ra(W,Aa(K)),Ii={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(W,K){return Qo(Qo({},W),K.payload)},openModal(W,K){return Wi(Qo({},W),{visibleModalName:K.payload})},closeModal(W){return Wi(Qo({},W),{visibleModalName:""})},openSimpleModal(W,K){return Wi(Qo({},W),{simpleModalProps:Qo({visible:!0},K.payload)})},closeSimpleModal(W){return Wi(Qo({},W),{simpleModalProps:{visible:!1}})}}},To=e(33170),zo=Object.defineProperty,us=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,cs=(W,K,H)=>K in W?zo(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Co=(W,K)=>{for(var H in K||(K={}))Wr.call(K,H)&&cs(W,H,K[H]);if(us)for(var H of us(K))ls.call(K,H)&&cs(W,H,K[H]);return W},Yo=(W,K,H)=>new Promise((oe,De)=>{var zr=hn=>{try{va(H.next(hn))}catch(Yi){De(Yi)}},mn=hn=>{try{va(H.throw(hn))}catch(Yi){De(Yi)}},va=hn=>hn.done?oe(hn.value):Promise.resolve(hn.value).then(zr,mn);va((H=H.apply(W,K)).next())});const Cs=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Co({},W)})}),Ne=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Co({},W)})}),Ve=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Co({},W)})}),Mt=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Co({},W)})}),Vt=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects.json",{method:"post",body:Co({},W)})}),dr=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Co({},W)})}),mr=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Co({},W)})}),Dr=W=>Yo(void 0,null,function*(){return(0,To.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Co({},W)})});var Sr=Object.defineProperty,Vr=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,jn=(W,K,H)=>K in W?Sr(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ma=(W,K)=>{for(var H in K||(K={}))gn.call(K,H)&&jn(W,H,K[H]);if(Vr)for(var H of Vr(K))Nn.call(K,H)&&jn(W,H,K[H]);return W},xi={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:W},{call:K,put:H}){const{data:{adv:oe,top_banner:De}}=yield K(Cs,W);yield H({type:"save",payload:{BannerList:De,Adv:oe}})},*getTopCategoryList({payload:W},{call:K,put:H}){const{data:{top_category_list:oe}}=yield K(Ne,W);yield H({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...oe]}})},*getHotList({payload:W},{call:K,put:H}){const{data:{hot_list:oe}}=yield K(Ve,W);yield H({type:"save",payload:{HotList:oe}})},*getDiscountList({payload:W},{call:K,put:H}){const{data:{discount_list:oe}}=yield K(Mt,W);yield H({type:"save",payload:{DiscountList:oe}})},*getPaidSubjects({payload:W},{call:K,put:H}){const{data:oe}=yield K(Vt,W);yield H({type:"save",payload:{SubjectList:oe}})},*getTags({payload:W},{call:K,put:H}){const{data:{list:oe}}=yield K(dr,W);yield H({type:"save",payload:{Tags:oe}})},*getUserComments({payload:W},{call:K,put:H}){const{data:{list:oe}}=yield K(mr,W);yield H({type:"save",payload:{UserComments:oe}})},*getInfoShow({payload:W},{call:K,put:H}){const{data:oe}=yield K(Dr,W);yield H({type:"save",payload:{InfoShow:oe}})}},reducers:{save(W,K){return ma(ma({},W),K.payload)}}},ya={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Qa=e(21450),Ea=Object.defineProperty,oi=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,co=(W,K,H)=>K in W?Ea(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Fa=(W,K)=>{for(var H in K||(K={}))Ri.call(K,H)&&co(W,H,K[H]);if(oi)for(var H of oi(K))Eo.call(K,H)&&co(W,H,K[H]);return W},io={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:W},{call:K,put:H}){const oe=yield K(Qa.Ub,W);return yield H({type:"save",payload:{privateMessageDetails:oe||[]}}),oe},*getTidings({payload:W},{call:K,put:H}){const oe=yield K(Qa.AD,W);yield H({type:"save",payload:{tidingsList:oe||[]}})},*getPrivateMessages({payload:W},{call:K,put:H}){const oe=yield K(Qa.V8,W);return yield H({type:"save",payload:{privateMessage:oe||[]}}),oe},*getUsersForPrivateMessages({payload:W},{call:K,put:H}){const oe=yield K(Qa.QJ,W);return yield H({type:"save",payload:{userPrivateMessage:oe||[]}}),oe},*unreadMessageInfo({payload:W},{call:K,put:H}){const oe=yield K(Qa.Ig,W);yield H({type:"save",payload:{unreadInfo:oe||[]}})},*getRecentContacts({payload:W},{call:K,put:H}){const oe=yield K(Qa.Ko,W);return yield H({type:"save",payload:{recentContacts:oe||[]}}),oe},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Fa({},W)}})}},reducers:{save(W,K){return Fa(Fa({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},si=e(56443),Oi=e(28706),di=e(52810),Oo=Object.defineProperty,Ho=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,Xn=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,Gi=(W,K,H)=>K in W?Oo(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,aa=(W,K)=>{for(var H in K||(K={}))Ra.call(K,H)&&Gi(W,H,K[H]);if(Xn)for(var H of Xn(K))ci.call(K,H)&&Gi(W,H,K[H]);return W},Go=(W,K)=>Ho(W,oo(K));const Jo=(W,K)=>{var H,oe,De,zr,mn,va,hn,Yi,os;if(!W)return;const{exam:Ei,single_questions:ko,multiple_questions:Xo,judgement_questions:Rs,program_questions:rs,completion_questions:Gl,subjective_questions:Vl,practical_questions:Cl,combination_questions:$l,bprogram_questions:Lu}=W||{},La=[aa({type:"SINGLE",question_type:0,name:((H=K==null?void 0:K.find(Ai=>Ai.value==di.fw[0].nameType))==null?void 0:H.name)||di.fw[0].name},ko),aa({type:"MULTIPLE",question_type:1,name:((oe=K==null?void 0:K.find(Ai=>Ai.value==di.fw[1].nameType))==null?void 0:oe.name)||di.fw[1].name},Xo),aa({type:"JUDGMENT",question_type:2,name:((De=K==null?void 0:K.find(Ai=>Ai.value==di.fw[2].nameType))==null?void 0:De.name)||di.fw[2].name},Rs),aa({type:"PROGRAM",question_type:6,name:((zr=K==null?void 0:K.find(Ai=>Ai.value==di.fw[6].nameType))==null?void 0:zr.name)||di.fw[6].name},rs),aa({type:"COMPLETION",question_type:3,name:((mn=K==null?void 0:K.find(Ai=>Ai.value==di.fw[3].nameType))==null?void 0:mn.name)||di.fw[3].name},Gl),aa({type:"SUBJECTIVE",question_type:4,name:((va=K==null?void 0:K.find(Ai=>Ai.value==di.fw[4].nameType))==null?void 0:va.name)||di.fw[4].name},Vl),aa({type:"PRACTICAL",question_type:5,name:((hn=K==null?void 0:K.find(Ai=>Ai.value==di.fw[5].nameType))==null?void 0:hn.name)||di.fw[5].name},Cl),aa({type:"COMBINATION",question_type:7,name:((Yi=K==null?void 0:K.find(Ai=>Ai.value==di.fw[7].nameType))==null?void 0:Yi.name)||di.fw[7].name},$l),aa({type:"BPROGRAM",question_type:8,name:((os=K==null?void 0:K.find(Ai=>Ai.value==di.fw[8].nameType))==null?void 0:os.name)||di.fw[8].name},Lu)],pl=[];if(W.sort_by_qustion_type)for(const Ai of W.qustion_type_order_name_en)pl.push(La.find(uu=>uu.type===Ai));const ps=(W.sort_by_qustion_type?pl:La).filter(Ai=>(Ai==null?void 0:Ai.questions_count)>0).map((Ai,uu)=>{var Yu;return aa(aa({},Ai),{number:(0,Oi.EM)(uu+1),questions:(Yu=Ai==null?void 0:Ai.questions)==null?void 0:Yu.map(Xu=>Go(aa({},Xu),{shixun:Xu.examination_bank_shixun_challenges,question_type:Ai.question_type}))})});return{exam:Ei,questionList:ps}};var po=e(53430),ki=Object.defineProperty,Qi=Object.getOwnPropertySymbols,wo=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,ct=(W,K,H)=>K in W?ki(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,pt=(W,K)=>{for(var H in K||(K={}))wo.call(K,H)&&ct(W,H,K[H]);if(Qi)for(var H of Qi(K))ho.call(K,H)&&ct(W,H,K[H]);return W},ka={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:W},{call:K,put:H}){return yield K(si.a2,W)},*postCheckExaminationBanks({payload:W},{call:K,put:H}){return yield K(si.q$,W)},*postPaperlibraryCopy({payload:W},{call:K,put:H}){return yield K(si.ID,W)},*getDisciplines({payload:W},{call:K,put:H}){const oe=yield K(si.d1,W);return yield H({type:"save",payload:{disciplinesData:pt({},oe)}}),oe},*getCustomDisciplines({payload:W},{call:K,put:H}){const oe=yield K(si.ar,W);return yield H({type:"save",payload:{disciplinesData:pt({},oe)}}),oe},*getEditDisciplines({payload:W},{call:K,put:H}){const oe=yield K(si.d1,W),De=oe==null?void 0:oe.disciplines,zr=(0,po.L)(De);return yield H({type:"save",payload:{courseOptions:zr,disciplinesData:pt({},oe)}}),oe},*getTeachGroupData({payload:W},{call:K,put:H}){const oe=yield K(si.Dm,W);return yield H({type:"save",payload:{teachGroupData:pt({},oe)}}),oe},*getPaperData({payload:W},{call:K,put:H}){const oe=yield K(si.iT,W),De=yield K(si.cV,W),zr=Jo(oe,De.data);return yield H({type:"save",payload:{paperData:zr}}),oe},*getPaperlibraryList({payload:W},{call:K,put:H}){return yield K(si.Gd,W)},*setPublic({payload:W},{call:K,put:H}){return yield K(si.DF,W)},*handleDelete({payload:W},{call:K,put:H}){return yield K(si.fn,W)},*getCourseList({payload:W},{call:K,put:H}){return yield K(si.tS,W)},*postBatchSendToCourse({payload:W},{call:K,put:H}){return yield K(si.lc,W)},*sendToClass({payload:W},{call:K,put:H}){return yield K(si.kp,W)},*adjustPosition({payload:W},{call:K,put:H}){return yield K(si.qN,W)},*setScore({payload:W},{call:K,put:H}){return yield K(si.ts,W)},*handleDeleteEditQuestion({payload:W},{call:K,put:H}){return yield K(si.NC,W)},*batchSetScore({payload:W},{call:K,put:H}){return yield K(si.YP,W)},*batchDelete({payload:W},{call:K,put:H}){return yield K(si.Hm,W)},*updatePaper({payload:W},{call:K,put:H}){return yield K(si.jK,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:pt({},W)}})}},reducers:{save(W,K){return pt(pt({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Ba=Object.defineProperty,bn=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Ot=Object.prototype.propertyIsEnumerable,Er=(W,K,H)=>K in W?Ba(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Ur=(W,K)=>{for(var H in K||(K={}))Le.call(K,H)&&Er(W,H,K[H]);if(bn)for(var H of bn(K))Ot.call(K,H)&&Er(W,H,K[H]);return W},Za={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:W,callback:K},{call:H,put:oe}){const De=yield H(si.Dq,W);return yield oe({type:"save",payload:{exerciseExportHeadData:Ur({},De)}}),De},*editExercise({payload:W,callback:K},{call:H,put:oe}){const De=yield H(si.Di,W);return yield oe({type:"save",payload:{editData:Ur({},De)}}),De},*getTagDiscipline({payload:W,callback:K},{call:H,put:oe}){const De=yield H(ue.YY,W);return yield oe({type:"save",payload:{tagDisciplineData:Ur({},De)}}),De},*editExerciseQuestion({payload:W,callback:K},{call:H,put:oe}){return yield H(si.oF,W)},*addExerciseQuestion({payload:W,callback:K},{call:H,put:oe}){return yield H(si.oF,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Ur({},W)}})}},reducers:{save(W,K){return Ur(Ur({},W),K.payload)},modifyTitle(W,K){const H=(0,Be.cloneDeep)(W);return H.editData.exercise.exercise_name=K.payload,H}},subscriptions:{setup({dispatch:W,history:K}){}}},Ka=e(93671),Ni=Object.defineProperty,fs=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Ro=Object.prototype.propertyIsEnumerable,so=(W,K,H)=>K in W?Ni(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Ji=(W,K)=>{for(var H in K||(K={}))Li.call(K,H)&&so(W,H,K[H]);if(fs)for(var H of fs(K))Ro.call(K,H)&&so(W,H,K[H]);return W},As={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:W},{call:K,put:H}){const oe=yield K(Ka.Ax,W);yield H({type:"save",payload:{discusses:Ji({},oe)}})},*getPathsDetail({payload:W},{call:K,put:H}){const oe=yield K(Ka.lk,W);return yield H({type:"save",payload:{detail:Ji({},oe)}}),oe},*getCourseDetail({payload:W},{call:K,put:H}){const oe=yield K(Ka.Sp,W);return yield H({type:"save",payload:{detail:Ji({},oe)}}),oe},*getKnowledgeGraphs({payload:W},{call:K,put:H}){const oe=yield K(Ka.Bz,W);return yield H({type:"save",payload:{detail:Ji({},(oe==null?void 0:oe.data)||{})}}),(oe==null?void 0:oe.data)||{}},*getRightData({payload:W},{call:K,put:H}){const oe=yield K(Ka.AQ,W);yield H({type:"save",payload:{rightData:Ji({},oe)}})},*getCoureses({payload:W},{call:K,put:H}){const oe=yield K(Ka.ue,W);yield H({type:"save",payload:{Courses:Ji({},oe)}})},*getStageChildrenData({payload:W},{call:K,put:H}){const oe=yield K(Ka.w4,W);return yield H({type:"save",payload:{StageChildrenData:oe}}),oe},*getStageData({payload:W},{call:K,put:H}){var oe,De,zr;let mn=null;return W!=null&&W.show_course_section?mn=yield K(Ka.yN,W):mn=yield K(Ka.p,W),yield H({type:"save",payload:{stageData:((oe=mn==null?void 0:mn.data)==null?void 0:oe.stages)||(mn==null?void 0:mn.stages)||[],isShowSchedule:((De=mn==null?void 0:mn.data)==null?void 0:De.is_show_schedule)||(mn==null?void 0:mn.is_show_schedule)||!1}}),(zr=mn==null?void 0:mn.data)==null?void 0:zr.stages},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Ji({},W)}})}},reducers:{save(W,K){return Ji(Ji({},W),K.payload)}}},Ps=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,J=(W,K,H)=>K in W?Ps(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ie=(W,K)=>{for(var H in K||(K={}))Y.call(K,H)&&J(W,H,K[H]);if(Ue)for(var H of Ue(K))Q.call(K,H)&&J(W,H,K[H]);return W},je={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:W},{call:K,put:H}){const oe=W,De=yield K(Ka.tS,W);return yield H({type:"save",payload:ie({listParams:oe},De)}),De},*getMenus({payload:W},{call:K,put:H}){const oe=yield K(Ka.fh,W);yield H({type:"save",payload:{menus:oe}})},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:ie({},W)}})},*clearListParams({payload:W},{call:K,put:H}){yield H({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(W,K){return ie(ie({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Et=Object.defineProperty,Bt=Object.getOwnPropertySymbols,rr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,Rr=(W,K,H)=>K in W?Et(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,$r=(W,K)=>{for(var H in K||(K={}))rr.call(K,H)&&Rr(W,H,K[H]);if(Bt)for(var H of Bt(K))yr.call(K,H)&&Rr(W,H,K[H]);return W},Un={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:W},{call:K,put:H}){return yield K(Ka.tu,W)},*submitCourse({payload:W},{call:K,put:H}){return yield K(Ka.pU,W)},*getEditCourseData({payload:W},{call:K,put:H}){return yield K(Ka.mQ,W)},*getSchoolOption({payload:W},{call:K,put:H}){return yield K(Ka.GY,W)},*appplySchool({payload:W},{call:K,put:H}){return yield K(Ka.bz,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:$r({},W)}})}},reducers:{save(W,K){return $r($r({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Yn=Object.defineProperty,Pa=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,mi=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable,xo=(W,K,H)=>K in W?Yn(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Do=(W,K)=>{for(var H in K||(K={}))Ci.call(K,H)&&xo(W,H,K[H]);if(mi)for(var H of mi(K))bo.call(K,H)&&xo(W,H,K[H]);return W},Ao=(W,K)=>Pa(W,Si(K)),No={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:W},{call:K,put:H}){const oe=yield K(Ka.nq,W);yield H({type:"save",payload:{SubjectUseInfos:oe}})},*getRankList({payload:W},{call:K,put:H}){const oe=yield K(Ka.Fg,W);yield H({type:"save",payload:{RankList:Ao(Do({},oe),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(oe==null?void 0:oe.learn_list)||[]]})}})},*getStatisticsBody({payload:W},{call:K,put:H}){const oe=yield K(Ka.Gz,W);yield H({type:"save",payload:{SBody:oe}})},*getOnlineCount({payload:W},{call:K,put:H}){const oe=yield K(Ka.hS,W);yield H({type:"save",payload:{OnlineCount:oe==null?void 0:oe.data}})},*getStatisticsHeader({payload:W},{call:K,put:H}){const oe=yield K(Ka.Hl,W);yield H({type:"save",payload:{SHeader:oe}})}},reducers:{save(W,K){return Do(Do({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},ti=e(38244),$i=Object.defineProperty,qo=Object.getOwnPropertySymbols,hs=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,jo=(W,K,H)=>K in W?$i(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Mo=(W,K)=>{for(var H in K||(K={}))hs.call(K,H)&&jo(W,H,K[H]);if(qo)for(var H of qo(K))Ts.call(K,H)&&jo(W,H,K[H]);return W},Zu={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:W},{call:K,put:H}){const oe=yield K(ti.ex,W);return yield H({type:"save",payload:{groupfolderList:oe}}),oe},*getDisciplines({payload:W},{call:K,put:H}){const oe=yield K(ti.d1,W);return yield H({type:"save",payload:{disciplinesData:Mo({},oe)}}),oe},*getEditDisciplines({payload:W},{call:K,put:H}){const oe=yield K(ti.d1,W),De=oe==null?void 0:oe.disciplines,zr=(0,po.L)(De);return yield H({type:"save",payload:{courseOptions:zr,disciplinesData:Mo({},oe)}}),oe},*getBasketList({payload:W},{call:K,put:H}){const oe=yield K(ti.Qj,W);return yield H({type:"save",payload:{basketData:Mo({},oe)}}),oe},*getTeachGroupData({payload:W},{call:K,put:H}){const oe=yield K(ti.Dm,W);return yield H({type:"save",payload:{teachGroupData:Mo({},oe)}}),oe},*getEditData({payload:W},{call:K,put:H}){const oe=yield K(ti.FG,W);return yield H({type:"save",payload:{editData:Mo({},oe)}}),oe},*getEditDataBprogram({payload:W},{call:K,put:H}){const oe=yield K(ti.Bo,W);return yield H({type:"save",payload:{editData:Mo({},oe)}}),oe},*getGroupData({payload:W},{call:K,put:H}){const oe=yield K(ti.hI,W);return yield H({type:"save",payload:{groupData:Mo({},oe)}}),oe},*getItemBanks({payload:W},{call:K,put:H}){const oe=yield K(ti.Of,W);return yield H({type:"save",payload:{itemBanks:Mo({},oe)}}),oe},*setPrivate({payload:W},{call:K,put:H}){return yield K(ti.Pl,W)},*revokePublish({payload:W},{call:K,put:H}){return yield K(ti.IJ,W)},*setPublic({payload:W},{call:K,put:H}){return yield K(ti.DF,W)},*handleDelete({payload:W},{call:K,put:H}){return yield K(ti.fn,W)},*startExperience({payload:W},{call:K,put:H}){return yield K(ti.Bd,W)},*cancel({payload:W},{call:K,put:H}){return yield K(ti.al,W)},*select({payload:W},{call:K,put:H}){return yield K(ti.Ys,W)},*examUnselectAll({payload:W},{call:K,put:H}){return yield K(ti.rV,W)},*basketDelete({payload:W},{call:K,put:H}){return yield K(ti.x5,W)},*unselectAll({payload:W},{call:K,put:H}){return yield K(ti.HF,W)},*addKnowledge({payload:W},{call:K,put:H}){return yield K(ti.U6,W)},*editProblemset({payload:W},{call:K,put:H}){return yield K(ti.Wk,W)},*addProblemset({payload:W},{call:K,put:H}){return yield K(ti.Mr,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Mo({},W)}})}},reducers:{save(W,K){return Mo(Mo({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},cu=Object.defineProperty,nu=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,Js=(W,K,H)=>K in W?cu(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,zs=(W,K)=>{for(var H in K||(K={}))au.call(K,H)&&Js(W,H,K[H]);if(nu)for(var H of nu(K))Vo.call(K,H)&&Js(W,H,K[H]);return W},Eu={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:W},{call:K,put:H}){const oe=yield K(ti.iT,W),De=(0,po.r)(oe);return yield H({type:"save",payload:{paperData:De}}),oe},*getEditDisciplines({payload:W},{call:K,put:H}){const oe=yield K(ti.d1,W),De=oe==null?void 0:oe.disciplines,zr=(0,po.L)(De);return yield H({type:"save",payload:{courseOptions:zr,disciplinesData:zs({},oe)}}),oe},*setScore({payload:W},{call:K,put:H}){return yield K(ti.ts,W)},*handleDelete({payload:W},{call:K,put:H}){return yield K(ti.Cn,W)},*batchSetScore({payload:W},{call:K,put:H}){return yield K(ti.YP,W)},*batchDelete({payload:W},{call:K,put:H}){return yield K(ti.Hm,W)},*adjustPosition({payload:W},{call:K,put:H}){return yield K(ti.qN,W)},*newPreviewProblemset({payload:W},{call:K,put:H}){return yield K(ti.et,W)},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:zs({},W)}})}},reducers:{save(W,K){return zs(zs({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},wu=e(41498),ks=Object.defineProperty,Ku=Object.getOwnPropertySymbols,es=Object.prototype.hasOwnProperty,Ds=Object.prototype.propertyIsEnumerable,qs=(W,K,H)=>K in W?ks(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,fu=(W,K)=>{for(var H in K||(K={}))es.call(K,H)&&qs(W,H,K[H]);if(Ku)for(var H of Ku(K))Ds.call(K,H)&&qs(W,H,K[H]);return W},ml={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:W},{call:K,put:H}){const oe=yield K(wu.Go,W);return yield H({type:"save",payload:{restful:fu({},oe)}}),oe},*getRestfulDetail({payload:W},{call:K,put:H}){const oe=yield K(wu.H5,W);return yield H({type:"save",payload:{restfulDetail:fu({},(oe==null?void 0:oe.data)||{})}}),(oe==null?void 0:oe.data)||{}},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:fu({},W)}})}},reducers:{save(W,K){return fu(fu({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},fa=e(93686);const tl=(W={})=>{var K,H,oe,De,zr,mn;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(K=W==null?void 0:W.content_info)==null?void 0:K.status,username:(H=W==null?void 0:W.content_info)==null?void 0:H.username,time:(oe=W==null?void 0:W.content_info)==null?void 0:oe.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(De=W==null?void 0:W.perference_info)==null?void 0:De.status,username:(zr=W==null?void 0:W.perference_info)==null?void 0:zr.username,time:(mn=W==null?void 0:W.perference_info)==null?void 0:mn.time}]};var Il=Object.defineProperty,ts=Object.defineProperties,Rl=Object.getOwnPropertyDescriptors,Ls=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,gl=(W,K,H)=>K in W?Il(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,as=(W,K)=>{for(var H in K||(K={}))Su.call(K,H)&&gl(W,H,K[H]);if(Ls)for(var H of Ls(K))iu.call(K,H)&&gl(W,H,K[H]);return W},kl=(W,K)=>ts(W,Rl(K)),Ll={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:W},{call:K,put:H}){const oe=yield K(fa.Po,W);return yield H({type:"save",payload:{detail:as({},oe)}}),oe},*getMirrorApplies({payload:W},{call:K,put:H}){const oe=yield K(fa.tX,W);return yield H({type:"save",payload:{mirrorApplies:as({},(oe==null?void 0:oe.data)||{})}}),oe},*getRightData({payload:W},{call:K,put:H}){const oe=yield K(fa.AQ,W);yield H({type:"save",payload:{rightData:as({},oe)}})},*getChallengesData({payload:W},{call:K,put:H}){const oe=yield K(fa.n5,W);yield H({type:"save",payload:{challenges:as({},oe)}})},*saveCopyForExercise({payload:W},{call:K,put:H}){return yield K(fa.FB,W)},*execJupyter({payload:W},{call:K,put:H}){return yield K(fa.BK,W)},*execShixun({payload:W},{call:K,put:H}){const oe=yield K(fa.Ir,W);return(oe==null?void 0:oe.status)===-3&&(0,Oi.eF)(),oe},*openChallenge({payload:W},{call:K,put:H}){return yield K(fa.dK,W)},*challengeMoveUp({payload:W},{call:K,put:H}){return yield K(fa.zD,W)},*challengeMoveDown({payload:W},{call:K,put:H}){return yield K(fa.hn,W)},*cancelCollect({payload:W},{call:K,put:H}){return yield K(fa.rs,W)},*collect({payload:W},{call:K,put:H}){return yield K(fa.KM,W)},*searchUserCourses({payload:W},{call:K,put:H}){return yield K(fa._7,W)},*sendToCourse({payload:W},{call:K,put:H}){return yield K(fa.Q,W)},*cancelRelease({payload:W},{call:K,put:H}){return yield K(fa.Ne,W)},*cancelPublic({payload:W},{call:K,put:H}){return yield K(fa.Er,W)},*applyPublic({payload:W},{call:K,put:H}){return yield K(fa.WO,W)},*release({payload:W},{call:K,put:H}){return yield K(fa.Ar,W)},*updateAuditSituation({payload:W},{call:K,put:H}){return yield K(fa.LP,W)},*getCollaboratorsData({payload:W},{call:K,put:H}){return yield K(fa.j8,W)},*addCollaborator({payload:W},{call:K,put:H}){return yield K(fa.OV,W)},*addTeachGroupMember({payload:W},{call:K,put:H}){return yield K(fa.l3,W)},*getChangeManager({payload:W},{call:K,put:H}){return yield K(fa.P2,W)},*changeManager({payload:W},{call:K,put:H}){return yield K(fa.X$,W)},*deleteCollaborators({payload:W},{call:K,put:H}){return yield K(fa.xk,W)},*getRankingList({payload:W},{call:K,put:H}){return yield K(fa.E4,W)},*getMirrorScript({payload:W},{call:K,put:H}){return yield K(fa.Z2,W)},*getScriptContent({payload:W},{call:K,put:H}){return yield K(fa.Bj,W)},*getCustomScript({payload:W},{call:K,put:H}){return yield K(fa.Wi,W)},*updateSettingBasicInfo({payload:W},{call:K,put:H}){return yield K(fa.ZO,W)},*getShixunQuote({payload:W},{call:K,put:H}){return yield K(fa.Gr,W)},*deleteShixun({payload:W},{call:K,put:H}){return yield K(fa.Ps,W)},*permanentClose({payload:W},{call:K,put:H}){return yield K(fa.U9,W)},*getDepartments({payload:W},{call:K,put:H}){return yield K(fa.Ql,W)},*updatePermissionSetting({payload:W},{call:K,put:H}){return yield K(fa.aH,W)},*updateLearnSetting({payload:W},{call:K,put:H}){return yield K(fa.yE,W)},*updateSetting({payload:W},{call:K,put:H}){return yield K(fa.m7,W)},*getSetData({payload:W},{call:K,put:H}){return yield K(fa.U0,W)},*deleteDataSet({payload:W},{call:K,put:H}){return yield K(fa.uo,W)},*deleteGitFile({payload:W},{call:K,put:H}){return yield K(fa.sr,W)},*deleteGitFiles({payload:W},{call:K,put:H}){return yield K(fa.p0,W)},*moveGitFile({payload:W},{call:K,put:H}){return yield K(fa.IT,W)},*moveGitFiles({payload:W},{call:K,put:H}){return yield K(fa.t2,W)},*getRepository({payload:W},{call:K,put:H}){const oe=yield K(fa.Ag,W);return yield H({type:"save",payload:{repository:as({},oe)}}),as({},oe)},*getRepositorys({payload:W},{call:K,put:H}){const oe=yield K(fa.Wl,W);return yield H({type:"save",payload:{repository:as({},oe)}}),as({},oe)},*getRepositorys({payload:W},{call:K,put:H}){const oe=yield K(fa.Wl,W);return yield H({type:"save",payload:{repository:as({},oe)}}),as({},oe)},*getSecretRepository({payload:W},{call:K,put:H}){const oe=yield K(fa.w,W);return yield H({type:"save",payload:{secretRepository:as({},oe)}}),oe},*addRepositoryFile({payload:W},{call:K,put:H}){return yield K(fa.v3,W)},*addRepositoryFiles({payload:W},{call:K,put:H}){return yield K(fa.fL,W)},*getRepositoryCommit({payload:W},{call:K,put:H}){return yield K(fa.Je,W)},*getFileContent({payload:W},{call:K,put:H}){const oe=yield K(fa.LK,W);return yield H({type:"save",payload:{fileContent:kl(as({},oe),{params:W})}}),oe},*getFileContents({payload:W},{call:K,put:H}){const oe=yield K(fa.nu,W);return yield H({type:"save",payload:{fileContent:kl(as({},oe),{params:W})}}),oe},*updateRepositoryFile({payload:W},{call:K,put:H}){return yield K(fa.kF,W)},*updateRepositoryFiles({payload:W},{call:K,put:H}){return yield K(fa.jq,W)},*uploadGitFolder({payload:W},{call:K,put:H}){return yield K(fa.Op,W)},*updateCollaboratorEditable({payload:W},{call:K,put:H}){return yield K(fa.Dz,W)},*getSettingsData({payload:W},{call:K,put:H}){const oe=yield K(fa.DC,W);yield H({type:"save",payload:{setting:as({},oe)}})},*getChallengesNew({payload:W},{call:K,put:H}){const oe=yield K(fa.km,W);yield H({type:"save",payload:{challengesNew:as({},oe)}})},*getChallengesEdit({payload:W},{call:K,put:H}){const oe=yield K(fa.q0,W);return yield H({type:"save",payload:{challengesEdit:as({},oe)}}),oe},*getAuditSituationData({payload:W},{call:K,put:H}){const oe=yield K(fa.GI,W),De=tl(oe);yield H({type:"save",payload:{auditSituationData:De}})},*getEditChallengesQuestion({payload:W},{call:K,put:H}){const oe=yield K(fa.UQ,W);return yield H({type:"save",payload:{editChallengesQuestion:oe}}),oe},*getInfoWithJupyterLab({payload:W},{call:K,put:H}){const oe=yield K(fa.mI,W);return yield H({type:"save",payload:{infoWithJupyterLab:oe}}),oe},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:as({},W)}})}},reducers:{save(W,K){return console.log("reducers:",W,K),as(as({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Ml=Object.defineProperty,du=Object.getOwnPropertySymbols,sc=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,Ms=(W,K,H)=>K in W?Ml(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,pu=(W,K)=>{for(var H in K||(K={}))sc.call(K,H)&&Ms(W,H,K[H]);if(du)for(var H of du(K))Hu.call(K,H)&&Ms(W,H,K[H]);return W},ds={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:W},{call:K,put:H}){const oe=yield K(fa.he,W),De=pu({},W);return yield H({type:"save",payload:pu({listParams:De},oe)}),oe},*getMenus({payload:W},{call:K,put:H}){var oe;const De=yield K(fa.I_,W);(oe=De==null?void 0:De.disciplines)==null||oe.map(zr=>(zr.sub_repertoires=zr.sub_disciplines,zr)),yield H({type:"save",payload:{menus:[...(De==null?void 0:De.disciplines)||[]]}})},*clearListParams({payload:W},{call:K,put:H}){yield H({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(W,K){return pu(pu({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},_s=Object.defineProperty,rl=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,_l=(W,K,H)=>K in W?_s(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Cu=(W,K)=>{for(var H in K||(K={}))nl.call(K,H)&&_l(W,H,K[H]);if(rl)for(var H of rl(K))Fs.call(K,H)&&_l(W,H,K[H]);return W},Pu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:W},{call:K,put:H}){const oe=yield K(fa.b8,W);return yield H({type:"save",payload:{newData:Cu({},oe)}}),oe},*deleteAttachment({payload:W},{call:K,put:H}){return yield K(fa.OW,W)},*applyShixunMirror({payload:W},{call:K,put:H}){return yield K(fa.EH,W)},*submitShixuns({payload:W},{call:K,put:H}){return yield K(fa.eX,W)},*getShixunsJupyterLab({payload:W},{call:K,put:H}){const oe=yield K(fa.Gu,W);return yield H({type:"save",payload:{newData:Cu({},oe)}}),oe},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Cu({},W)}})},*getEnvironmentData({payload:W},{call:K,put:H}){const oe=yield K(fa.K,W);return console.log(oe,"response"),yield H({type:"save",payload:{environmentData:Cu({},oe.data)}}),oe}},reducers:{save(W,K){return Cu(Cu({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){}}},$s=Object.defineProperty,al=Object.getOwnPropertySymbols,Gu=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable,uc=(W,K,H)=>K in W?$s(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,lc=(W,K)=>{for(var H in K||(K={}))Gu.call(K,H)&&uc(W,H,K[H]);if(al)for(var H of al(K))to.call(K,H)&&uc(W,H,K[H]);return W},yl={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:W},{call:K,put:H}){const oe=yield K(fa.e,W);yield H({type:"save",payload:{ShixunUseInfos:oe}})},*getRankList({payload:W},{call:K,put:H}){const oe=yield K(fa.Fg,W);yield H({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(oe==null?void 0:oe.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(oe==null?void 0:oe.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(oe==null?void 0:oe.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(oe==null?void 0:oe.quote_list)||[]]}}})},*getStatisticsBody({payload:W},{call:K,put:H}){const oe=yield K(fa.Gz,W);yield H({type:"save",payload:{SBody:oe}})},*getOnlineCount({payload:W},{call:K,put:H}){const oe=yield K(fa.hS,W);yield H({type:"save",payload:{OnlineCount:oe==null?void 0:oe.data}})},*getStatisticsHeader({payload:W},{call:K,put:H}){const oe=yield K(fa.Hl,W);yield H({type:"save",payload:{SHeader:oe}})}},reducers:{save(W,K){return lc(lc({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},cc=(W,K,H)=>new Promise((oe,De)=>{var zr=hn=>{try{va(H.next(hn))}catch(Yi){De(Yi)}},mn=hn=>{try{va(H.throw(hn))}catch(Yi){De(Yi)}},va=hn=>hn.done?oe(hn.value):Promise.resolve(hn.value).then(zr,mn);va((H=H.apply(W,K)).next())});function Fl(W){return cc(this,null,function*(){return(0,To.ZP)("/api/shixuns/new.json",{method:"Get",params:W})})}function Bs(W){return cc(this,null,function*(){return(0,To.ZP)(`/api/shixuns/${W.id}/required_status.json`,{method:"Get",params:{}})})}var fc=Object.defineProperty,bl=Object.defineProperties,il=Object.getOwnPropertyDescriptors,Bl=Object.getOwnPropertySymbols,dc=Object.prototype.hasOwnProperty,Ns=Object.prototype.propertyIsEnumerable,eu=(W,K,H)=>K in W?fc(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,tu=(W,K)=>{for(var H in K||(K={}))dc.call(K,H)&&eu(W,H,K[H]);if(Bl)for(var H of Bl(K))Ns.call(K,H)&&eu(W,H,K[H]);return W},pc=(W,K)=>bl(W,il(K)),Nl={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:W},{call:K,put:H}){yield H({type:"save",payload:tu({},W)})},*getTestData({payload:W},{call:K,put:H}){const oe=yield K(Fl,W);yield H({type:"save",payload:{data:oe}})},*setUpdateIndex({payload:W},{call:K,put:H}){yield H({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:W},{call:K,put:H}){const oe=yield K(Bs,W);yield H({type:"save",payload:tu({},oe.data)})},*setSideBarTabs({payload:W},{call:K,put:H}){yield H({type:"sideBar",payload:tu({},W)})}},reducers:{save(W,K){return tu(tu({},W),K.payload)},sideBar(W,K){return pc(tu({},W),{sideBar:tu(tu({},W.sideBar),K.payload)})}},subscriptions:{setup({dispatch:W,history:K}){}}},Wo=e(65900),Dc=Object.defineProperty,jl=Object.getOwnPropertySymbols,vc=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Ys=(W,K,H)=>K in W?Dc(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Zo=(W,K)=>{for(var H in K||(K={}))vc.call(K,H)&&Ys(W,H,K[H]);if(jl)for(var H of jl(K))Ou.call(K,H)&&Ys(W,H,K[H]);return W},mc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:W},{call:K,put:H}){const oe=yield K(Wo.JJ,W);return yield H({type:"save",payload:{homeworkBanksDetail:Zo({},oe)}}),oe},*getSystemUpdate({payload:W},{call:K,put:H}){const oe=yield K(Wo.n0,W);return yield H({type:"save",payload:{systemUpdate:Zo({},oe)}}),oe},*getHomepageInfo({payload:W},{call:K,put:H}){const oe=yield K(Wo.DA,W);return yield H({type:"save",payload:{homepageInfo:Zo({},oe)}}),oe},*signed({payload:W},{call:K,put:H}){return yield K(Wo.qN,W)},*getCourses({payload:W},{call:K,put:H}){return yield K(Wo.Ho,W)},*getShixuns({payload:W},{call:K,put:H}){return yield K(Wo.rV,W)},*getPaths({payload:W},{call:K,put:H}){return yield K(Wo.w3,W)},*getProjects({payload:W},{call:K,put:H}){return yield K(Wo.mW,W)},*getVideos({payload:W},{call:K,put:H}){return yield K(Wo.WY,W)},*getReviewVideos({payload:W},{call:K,put:H}){return yield K(Wo.Qx,W)},*deleteVideo({payload:W},{call:K,put:H}){return yield K(Wo.FM,W)},*getQuestionBanks({payload:W},{call:K,put:H}){return yield K(Wo.ai,W)},*topicsSetPublic({payload:W},{call:K,put:H}){return yield K(Wo.Cx,W)},*topicsDelete({payload:W},{call:K,put:H}){return yield K(Wo.WS,W)},*topicGetCourseList({payload:W},{call:K,put:H}){return yield K(Wo.gI,W)},*topicSendToClass({payload:W},{call:K,put:H}){return W.object_type==="videos"?yield K(Wo.Fn,W):yield K(Wo.Ef,W)},*logWatchHistory({payload:W},{call:K,put:H}){const oe=yield K(Wo.lO,W);return oe==null?void 0:oe.log_id},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Zo({},W)}})}},reducers:{save(W,K){return Zo(Zo({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},Ul=Object.defineProperty,ol=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,El=(W,K,H)=>K in W?Ul(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,js=(W,K)=>{for(var H in K||(K={}))ou.call(K,H)&&El(W,H,K[H]);if(ol)for(var H of ol(K))xl.call(K,H)&&El(W,H,K[H]);return W},zl=(W,K)=>{var H={};for(var oe in W)ou.call(W,oe)&&K.indexOf(oe)<0&&(H[oe]=W[oe]);if(W!=null&&ol)for(var oe of ol(W))K.indexOf(oe)<0&&xl.call(W,oe)&&(H[oe]=W[oe]);return H},sl={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:W},{call:K,put:H}){const oe=W,{to:De}=oe,zr=zl(oe,["to"]);if(!(yield K(Wo.Es,zr)).status)try{De?i.history.replace(De):location.reload()}catch(va){}},*showPopLogin({payload:W},{put:K}){yield K({type:"save",payload:{showPopLogin:W.showPopLogin,showClosable:W.showClosable}})},*setBindAccountModal({payload:W},{put:K}){yield K({type:"save",payload:{bindAccountModalVisible:W.bindAccountModalVisible,userInfoForBindAccountModal:W.userInfoForBindAccountModal,loginInfo:W.loginInfo}})},*getUserInfo({payload:W},{call:K,put:H}){const oe=yield K(Wo.bG,js({},W));try{oe!=null&&oe.phone&&(oe==null?void 0:oe.phone)!=""?oe.phone=(0,Ln._V)((oe==null?void 0:oe.phone)||"","userInfo"):oe!=null&&oe.email&&(oe==null?void 0:oe.email)!=""&&(oe.email=(0,Ln._V)((oe==null?void 0:oe.email)||"","userInfo"))}catch(De){}return localStorage.userInfo=JSON.stringify(oe),yield H({type:"save",payload:{userInfo:js({},oe)}}),oe},*getNavigationInfo({payload:W},{call:K,put:H}){const oe=yield K(Wo.x4,js({},W));yield H({type:"save",payload:{navigationInfo:js({},oe)}})},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:js({},W)}})}},reducers:{save(W,K){return js(js({},W),K.payload)}}},Ee=e(36600),Is=Object.defineProperty,Xs=Object.defineProperties,ul=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Ws=Object.prototype.propertyIsEnumerable,Iu=(W,K,H)=>K in W?Is(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,Zs=(W,K)=>{for(var H in K||(K={}))Du.call(K,H)&&Iu(W,H,K[H]);if(hu)for(var H of hu(K))Ws.call(K,H)&&Iu(W,H,K[H]);return W},Wl=(W,K)=>Xs(W,ul(K));const vu=()=>{var W,K,H,oe,De,zr,mn;let va=window.location.href.split("/");if(!va.includes("video"))return;let hn=(W=va[va.length-1])==null?void 0:W.split("?")[0];hn=Number(hn);const Yi=(H=(K=va[va.length-1])==null?void 0:K.split("?")[1])==null?void 0:H.split("=")[1];return((De=(oe=va[va.length-1])==null?void 0:oe.split("?")[1])==null?void 0:De.split("=")[0])==="subject_id"?{videoId:hn,subject_id:Yi}:((mn=(zr=va[va.length-1])==null?void 0:zr.split("?")[1])==null?void 0:mn.split("=")[0])==="new_video_id"?{videoId:hn,new_video_id:Yi}:{videoId:hn,course_id:Yi}};var gc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:vu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:W,callback:K},{call:H,put:oe}){const De=yield H(Qr.O2,W);return K?K(De):yield oe({type:"save",payload:{detail:Zs({},De)}}),De},*setVideoValue({payload:W},{call:K,put:H}){yield H({type:"save",payload:{detail:Zs({},W)}})},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:Zs({},W)}})},*setVideoTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{videoTabs:Zs({},W)}})},*setSelectValue({payload:W},{call:K,put:H}){yield H({type:"save",payload:{selectParams:Zs({},W)}})},*getStageData({payload:W},{call:K,put:H,select:oe}){const De=yield K(Qr.yN,W),zr=yield K(Ka.lk,{id:W.subject_id}),{queryParams:mn}=yield oe(ko=>ko.videoDetail),{stages:va=[]}=De,hn=[];let Yi=[],os={};const Ei=ko=>{ko.forEach(Xo=>{String(Xo.id)===String(mn.videoId)&&(os=Xo),Xo.item_type==="VideoItem"?hn.push(Xo):Xo.item_type==="Attachment"&&Yi.push(Xo),Xo.children&&Xo.children.length&&Ei(Xo.children)})};va==null||va.forEach(ko=>{Ei(ko.items)}),window.filterVideoSign=[...hn],yield H({type:"save",payload:{stages:va,active:os,cust_seq:zr.cust_seq,videoList:hn,attachmentList:Yi}})},*getVideoData({payload:W},{call:K,put:H,select:oe}){const De=yield K(Qr.fn,W),{categories:zr=[],coruse_videos:mn=[]}=De;yield H({type:"save",payload:{stages:(zr==null?void 0:zr.length)>0?zr:[{coruse_videos:mn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:W},{call:K,put:H,select:oe}){const De=yield K(Ee.R7,W),{queryParams:zr}=yield oe(Ei=>Ei.videoDetail),{stages:mn}=De;let va=[],hn=[],Yi={};const os=Ei=>{Ei.forEach(ko=>{String(ko.id)===String(zr.videoId)&&(Yi=ko),ko.item_type==="VideoItem"?va.push(ko):ko.item_type==="Attachment"&&hn.push(ko),ko.children&&ko.children.length&&os(ko.children)})};mn==null||mn.forEach(Ei=>{os(Ei.items)}),window.filterVideoSign=[...va],yield H({type:"save",payload:{active:Yi,stages:mn,cust_seq:!0,videoList:va,attachmentList:hn}})}},reducers:{save(W,K){return Zs(Zs({},W),K.payload)},handleListItemClick(W,K){const{videoList:H,attachmentList:oe}=W,De=K.payload.videoId||K.payload.attachmentId,zr=[...H,...oe].find(mn=>`${mn.id}`==`${De}`);return Wl(Zs({},W),{active:zr,queryParams:Zs(Zs({},vu()),K.payload)})}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}},xs=e(69237),ll=Object.defineProperty,Ru=Object.getOwnPropertySymbols,_c=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,Vu=(W,K,H)=>K in W?ll(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,ku=(W,K)=>{for(var H in K||(K={}))_c.call(K,H)&&Vu(W,H,K[H]);if(Ru)for(var H of Ru(K))cl.call(K,H)&&Vu(W,H,K[H]);return W},Zl={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:W},{call:K,put:H}){const oe=yield K(xs.y2,W);return yield H({type:"save",payload:{Workplace:{BaseData:oe.data}}}),oe},*putEditDiscussion({payload:W},{call:K,put:H}){return yield K(xs.CH,W)},*getDiscussionDetail({payload:W},{call:K,put:H}){const oe=yield K(xs.XQ,W);return yield H({type:"save",payload:{DiscussionDetail:oe}}),oe},*postDiscussionList({payload:W},{call:K,put:H}){return yield K(xs.Ll,W)},*getDiscussionList({payload:W},{call:K,put:H}){const oe=yield K(xs.EA,W);return yield H({type:"save",payload:{DiscussionList:oe}}),oe},*postAddLessonRes({payload:W},{call:K,put:H}){return yield K(xs.cZ,W)},*getLessonResourcesList({payload:W},{call:K,put:H}){const oe=yield K(xs.b,W);return yield H({type:"save",payload:{LessonResList:oe}}),oe},*putGoodLessonsDetail({payload:W},{call:K,put:H}){return yield K(xs.To,W)},*getGoodLessonsDetail({payload:W},{call:K,put:H}){const oe=yield K(xs.FU,W);return yield H({type:"save",payload:{LessonDetail:oe}}),oe},*postGoodLessonsList({payload:W},{call:K,put:H}){return yield K(xs.Vf,W)},*getGoodLessonsList({payload:W},{call:K,put:H}){const oe=yield K(xs.G_,W);return yield H({type:"save",payload:{LessonsList:oe}}),oe},*setActionTabs({payload:W},{call:K,put:H}){yield H({type:"save",payload:{actionTabs:ku({},W)}})},*setShowMenu({payload:W},{call:K,put:H}){yield H({type:"save",payload:{showMenu:W}})},*getVirtualSpacesDetails({payload:W},{call:K,put:H}){const oe=yield K(xs.sT,W);yield H({type:"save",payload:{virtualSpacesDetails:ku({},oe)}})},*setVirtualSpacesLoading({payload:W},{call:K,put:H}){yield H({type:"save",payload:{loading:W}})},*getVirtualSpacesMenus({payload:W},{call:K,put:H}){const oe=yield K(xs.Sl,W);return yield H({type:"save",payload:{menus:oe}}),oe}},reducers:{save(W,K){return ku(ku({},W),K.payload)}},subscriptions:{setup({dispatch:W,history:K}){return K.listen(({pathname:H})=>{H==="/"&&W({type:"query"})})}}};const $u={model_1:{namespace:"account.index",model:p},model_2:{namespace:"classrooms.announcement",model:I},model_3:{namespace:"classrooms.attachment",model:w},model_4:{namespace:"classrooms.boards",model:ee},model_5:{namespace:"classrooms.exercise",model:Ye},model_6:{namespace:"classrooms.graduation",model:Ce},model_7:{namespace:"classrooms.homeworks",model:vt},model_8:{namespace:"classrooms.index",model:_e},model_9:{namespace:"classrooms.new",model:ft},model_10:{namespace:"classrooms.overview",model:qt},model_11:{namespace:"classrooms.polls",model:ir},model_12:{namespace:"classrooms.teacher",model:fn},model_13:{namespace:"classrooms.video",model:vr},model_14:{namespace:"competitions.index",model:Qn},model_15:{namespace:"engineering.evaluateDetail",model:wa},model_16:{namespace:"engineering.evaluateList",model:pn.Z},model_17:{namespace:"engineering.index",model:he},model_18:{namespace:"engineering.navigation",model:Fn},model_19:{namespace:"engineering.normDetail",model:oa},model_20:{namespace:"engineering.normList",model:bi},model_21:{namespace:"forums.detail",model:Fr},model_22:{namespace:"forums.index",model:Jn},model_23:{namespace:"globalSetting",model:ja},model_24:{namespace:"graduations.index",model:Ja},model_25:{namespace:"homePage",model:Xr},model_26:{namespace:"innovation.index",model:Ii},model_27:{namespace:"intraincourse.index",model:xi},model_28:{namespace:"loading",model:ya},model_29:{namespace:"messages.index",model:io},model_30:{namespace:"paperlibrary.index",model:ka},model_31:{namespace:"paperlibrary.newPaper",model:Za},model_32:{namespace:"paths.detail",model:As},model_33:{namespace:"paths.index",model:je},model_34:{namespace:"paths.new",model:Un},model_35:{namespace:"paths.overview",model:No},model_36:{namespace:"problemset.index",model:Zu},model_37:{namespace:"problemset.preview",model:Eu},model_38:{namespace:"resetFul.index",model:ml},model_39:{namespace:"shixuns.detail",model:Ll},model_40:{namespace:"shixuns.index",model:ds},model_41:{namespace:"shixuns.new",model:Pu},model_42:{namespace:"shixuns.overview",model:yl},model_43:{namespace:"shixuns.practiceSetting",model:Nl},model_44:{namespace:"user.detail",model:mc},model_45:{namespace:"user.index",model:sl},model_46:{namespace:"video.detail",model:gc},model_47:{namespace:"virtualSpaces.index",model:Zl}};var Kl=Object.defineProperty,fl=Object.getOwnPropertySymbols,yc=Object.prototype.hasOwnProperty,Hl=Object.prototype.propertyIsEnumerable,Us=(W,K,H)=>K in W?Kl(W,K,{enumerable:!0,configurable:!0,writable:!0,value:H}):W[K]=H,wl=(W,K)=>{for(var H in K||(K={}))yc.call(K,H)&&Us(W,H,K[H]);if(fl)for(var H of fl(K))Hl.call(K,H)&&Us(W,H,K[H]);return W};let dl;function bc(W){const{pluginManager:K}=(0,i.useAppData)(),H=(0,o.useRef)(),oe=K.applyPlugins({key:"dva",type:i.ApplyPluginsType.modify,initialValue:{}});if(!H.current){H.current=(0,t.Ue)(wl({history:i.history},oe.config||{}),{initialReducer:{},setupMiddlewares(De){return[...De]},setupApp(De){De._history=i.history}}),dl=H.current,H.current.use(u()()),(oe.plugins||[]).forEach(De=>{H.current.use(De)});for(const De of Object.keys($u))H.current.model(wl({namespace:$u[De].namespace},$u[De].model));H.current.start()}return o.createElement(t.zt,{store:H.current._store},W.children)}function Sl(){return dl}},95453:function(m,C,e){"use strict";e.d(C,{PZ:function(){return ai},eU:function(){return r},B:function(){return ba},Mg:function(){return wa},lw:function(){return yi},Kd:function(){return Ha},H8:function(){return Vn}});var t=e(67294),n=e(8679),u=e.n(n);const o=u()||n;function i(ye){return ye.displayName||ye.name||"Component"}const f=t.createContext(null),{Consumer:s,Provider:a}=f,r=a,b=null;function l(ye,Xe){const{intlPropName:ne="intl",forwardRef:he=!1,enforceContext:fe=!0}=Xe||{},Ie=Se=>React.createElement(s,null,bt=>(fe&&invariantIntlContext(bt),React.createElement(ye,Object.assign({},Se,{[ne]:bt},{ref:he?Se.forwardedRef:null}))));return Ie.displayName=`injectIntl(${i(ye)})`,Ie.WrappedComponent=ye,o(he?React.forwardRef((Se,bt)=>React.createElement(Ie,Object.assign({},Se,{forwardedRef:bt}))):Ie,ye)}var d;(function(ye){ye[ye.literal=0]="literal",ye[ye.argument=1]="argument",ye[ye.number=2]="number",ye[ye.date=3]="date",ye[ye.time=4]="time",ye[ye.select=5]="select",ye[ye.plural=6]="plural",ye[ye.pound=7]="pound"})(d||(d={}));function c(ye){return ye.type===d.literal}function p(ye){return ye.type===d.argument}function x(ye){return ye.type===d.number}function y(ye){return ye.type===d.date}function _(ye){return ye.type===d.time}function v(ye){return ye.type===d.select}function h(ye){return ye.type===d.plural}function E(ye){return ye.type===d.pound}function S(ye){return!!(ye&&typeof ye=="object"&&ye.type===0)}function g(ye){return!!(ye&&typeof ye=="object"&&ye.type===1)}function I(ye){return{type:d.literal,value:ye}}function R(ye,Xe){return{type:d.number,value:ye,style:Xe}}var O=function(){var ye=function(Xe,ne){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,fe){he.__proto__=fe}||function(he,fe){for(var Ie in fe)fe.hasOwnProperty(Ie)&&(he[Ie]=fe[Ie])},ye(Xe,ne)};return function(Xe,ne){ye(Xe,ne);function he(){this.constructor=Xe}Xe.prototype=ne===null?Object.create(ne):(he.prototype=ne.prototype,new he)}}(),L=function(){return L=Object.assign||function(ye){for(var Xe,ne=1,he=arguments.length;ne0){for(Ut=1,br=1;Utzo&&(zo=Dt,us=[]),us.push(Le))}function Vr(Le,Ot){return new j(Le,[],"",Ot)}function gn(Le,Ot,Er){return new j(j.buildMessage(Le,Ot),Le,Ot,Er)}function Nn(){var Le;return Le=jn(),Le}function jn(){var Le,Ot;for(Le=[],Ot=ma();Ot!==ne;)Le.push(Ot),Ot=ma();return Le}function ma(){var Le;return Le=xi(),Le===ne&&(Le=ya(),Le===ne&&(Le=di(),Le===ne&&(Le=Oo(),Le===ne&&(Le=Ho(),Le===ne&&(Le=Xa()))))),Le}function Ia(){var Le,Ot,Er;if(Le=Dt,Ot=[],Er=po(),Er===ne&&(Er=ki(),Er===ne&&(Er=Qi())),Er!==ne)for(;Er!==ne;)Ot.push(Er),Er=po(),Er===ne&&(Er=ki(),Er===ne&&(Er=Qi()));else Ot=ne;return Ot!==ne&&(Ii=Le,Ot=Ie(Ot)),Le=Ot,Le}function xi(){var Le,Ot;return Le=Dt,Ot=Ia(),Ot!==ne&&(Ii=Le,Ot=Se(Ot)),Le=Ot,Le}function Xa(){var Le,Ot;return Le=Dt,ye.charCodeAt(Dt)===35?(Ot=bt,Dt++):(Ot=ne,Wr===0&&Sr(Rt)),Ot!==ne&&(Ii=Le,Ot=lr()),Le=Ot,Le}function ya(){var Le,Ot,Er,Ur,Bn,Za;return Wr++,Le=Dt,ye.charCodeAt(Dt)===123?(Ot=ur,Dt++):(Ot=ne,Wr===0&&Sr(Ut)),Ot!==ne?(Er=aa(),Er!==ne?(Ur=ho(),Ur!==ne?(Bn=aa(),Bn!==ne?(ye.charCodeAt(Dt)===125?(Za=br,Dt++):(Za=ne,Wr===0&&Sr(Kr)),Za!==ne?(Ii=Le,Ot=Fn(Ur),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(Yt)),Le}function Qa(){var Le,Ot,Er,Ur,Bn;if(Wr++,Le=Dt,Ot=[],Er=Dt,Ur=Dt,Wr++,Bn=ci(),Bn===ne&&(kr.test(ye.charAt(Dt))?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(vn))),Wr--,Bn===ne?Ur=void 0:(Dt=Ur,Ur=ne),Ur!==ne?(ye.length>Dt?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(Gr)),Bn!==ne?(Ur=[Ur,Bn],Er=Ur):(Dt=Er,Er=ne)):(Dt=Er,Er=ne),Er!==ne)for(;Er!==ne;)Ot.push(Er),Er=Dt,Ur=Dt,Wr++,Bn=ci(),Bn===ne&&(kr.test(ye.charAt(Dt))?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(vn))),Wr--,Bn===ne?Ur=void 0:(Dt=Ur,Ur=ne),Ur!==ne?(ye.length>Dt?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(Gr)),Bn!==ne?(Ur=[Ur,Bn],Er=Ur):(Dt=Er,Er=ne)):(Dt=Er,Er=ne);else Ot=ne;return Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(Dn)),Le}function Ea(){var Le,Ot,Er;return Wr++,Le=Dt,ye.charCodeAt(Dt)===47?(Ot=Sn,Dt++):(Ot=ne,Wr===0&&Sr(Hn)),Ot!==ne?(Er=Qa(),Er!==ne?(Ii=Le,Ot=da(Er),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(yn)),Le}function oi(){var Le,Ot,Er,Ur,Bn;if(Wr++,Le=Dt,Ot=aa(),Ot!==ne)if(Er=Qa(),Er!==ne){for(Ur=[],Bn=Ea();Bn!==ne;)Ur.push(Bn),Bn=Ea();Ur!==ne?(Ii=Le,Ot=ga(Er,Ur),Le=Ot):(Dt=Le,Le=ne)}else Dt=Le,Le=ne;else Dt=Le,Le=ne;return Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(qn)),Le}function Ri(){var Le,Ot,Er;if(Le=Dt,Ot=[],Er=oi(),Er!==ne)for(;Er!==ne;)Ot.push(Er),Er=oi();else Ot=ne;return Ot!==ne&&(Ii=Le,Ot=oa(Ot)),Le=Ot,Le}function Eo(){var Le,Ot,Er;return Le=Dt,ye.substr(Dt,2)===ta?(Ot=ta,Dt+=2):(Ot=ne,Wr===0&&Sr(la)),Ot!==ne?(Er=Ri(),Er!==ne?(Ii=Le,Ot=ea(Er),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Le===ne&&(Le=Dt,Ii=Dt,Ot=$n(),Ot?Ot=void 0:Ot=ne,Ot!==ne?(Er=Ia(),Er!==ne?(Ii=Le,Ot=ha(Er),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)),Le}function co(){var Le,Ot,Er,Ur,Bn,Za,Ka,Ni,fs,Li,Ro,so,Ji;return Le=Dt,ye.charCodeAt(Dt)===123?(Ot=ur,Dt++):(Ot=ne,Wr===0&&Sr(Ut)),Ot!==ne?(Er=aa(),Er!==ne?(Ur=ho(),Ur!==ne?(Bn=aa(),Bn!==ne?(ye.charCodeAt(Dt)===44?(Za=xa,Dt++):(Za=ne,Wr===0&&Sr(sn)),Za!==ne?(Ka=aa(),Ka!==ne?(ye.substr(Dt,6)===Ti?(Ni=Ti,Dt+=6):(Ni=ne,Wr===0&&Sr(Di)),Ni!==ne?(fs=aa(),fs!==ne?(Li=Dt,ye.charCodeAt(Dt)===44?(Ro=xa,Dt++):(Ro=ne,Wr===0&&Sr(sn)),Ro!==ne?(so=aa(),so!==ne?(Ji=Eo(),Ji!==ne?(Ro=[Ro,so,Ji],Li=Ro):(Dt=Li,Li=ne)):(Dt=Li,Li=ne)):(Dt=Li,Li=ne),Li===ne&&(Li=null),Li!==ne?(Ro=aa(),Ro!==ne?(ye.charCodeAt(Dt)===125?(so=br,Dt++):(so=ne,Wr===0&&Sr(Kr)),so!==ne?(Ii=Le,Ot=ao(Ur,Ni,Li),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Le}function Fa(){var Le,Ot,Er,Ur;if(Le=Dt,ye.charCodeAt(Dt)===39?(Ot=Ma,Dt++):(Ot=ne,Wr===0&&Sr(pi)),Ot!==ne){if(Er=[],Ur=po(),Ur===ne&&(bi.test(ye.charAt(Dt))?(Ur=ye.charAt(Dt),Dt++):(Ur=ne,Wr===0&&Sr(Pt))),Ur!==ne)for(;Ur!==ne;)Er.push(Ur),Ur=po(),Ur===ne&&(bi.test(ye.charAt(Dt))?(Ur=ye.charAt(Dt),Dt++):(Ur=ne,Wr===0&&Sr(Pt)));else Er=ne;Er!==ne?(ye.charCodeAt(Dt)===39?(Ur=Ma,Dt++):(Ur=ne,Wr===0&&Sr(pi)),Ur!==ne?(Ot=[Ot,Er,Ur],Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)}else Dt=Le,Le=ne;if(Le===ne)if(Le=[],Ot=po(),Ot===ne&&(cr.test(ye.charAt(Dt))?(Ot=ye.charAt(Dt),Dt++):(Ot=ne,Wr===0&&Sr(Ge))),Ot!==ne)for(;Ot!==ne;)Le.push(Ot),Ot=po(),Ot===ne&&(cr.test(ye.charAt(Dt))?(Ot=ye.charAt(Dt),Dt++):(Ot=ne,Wr===0&&Sr(Ge)));else Le=ne;return Le}function _i(){var Le,Ot;if(Le=[],yt.test(ye.charAt(Dt))?(Ot=ye.charAt(Dt),Dt++):(Ot=ne,Wr===0&&Sr(Ft)),Ot!==ne)for(;Ot!==ne;)Le.push(Ot),yt.test(ye.charAt(Dt))?(Ot=ye.charAt(Dt),Dt++):(Ot=ne,Wr===0&&Sr(Ft));else Le=ne;return Le}function io(){var Le,Ot,Er,Ur;if(Le=Dt,Ot=Dt,Er=[],Ur=Fa(),Ur===ne&&(Ur=_i()),Ur!==ne)for(;Ur!==ne;)Er.push(Ur),Ur=Fa(),Ur===ne&&(Ur=_i());else Er=ne;return Er!==ne?Ot=ye.substring(Ot,Dt):Ot=Er,Ot!==ne&&(Ii=Le,Ot=or(Ot)),Le=Ot,Le}function si(){var Le,Ot,Er;return Le=Dt,ye.substr(Dt,2)===ta?(Ot=ta,Dt+=2):(Ot=ne,Wr===0&&Sr(la)),Ot!==ne?(Er=io(),Er!==ne?(Ii=Le,Ot=ea(Er),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Le===ne&&(Le=Dt,Ii=Dt,Ot=fr(),Ot?Ot=void 0:Ot=ne,Ot!==ne?(Er=Ia(),Er!==ne?(Ii=Le,Ot=ha(Er),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)),Le}function Oi(){var Le,Ot,Er,Ur,Bn,Za,Ka,Ni,fs,Li,Ro,so,Ji;return Le=Dt,ye.charCodeAt(Dt)===123?(Ot=ur,Dt++):(Ot=ne,Wr===0&&Sr(Ut)),Ot!==ne?(Er=aa(),Er!==ne?(Ur=ho(),Ur!==ne?(Bn=aa(),Bn!==ne?(ye.charCodeAt(Dt)===44?(Za=xa,Dt++):(Za=ne,Wr===0&&Sr(sn)),Za!==ne?(Ka=aa(),Ka!==ne?(ye.substr(Dt,4)===Tr?(Ni=Tr,Dt+=4):(Ni=ne,Wr===0&&Sr(Fr)),Ni===ne&&(ye.substr(Dt,4)===Lr?(Ni=Lr,Dt+=4):(Ni=ne,Wr===0&&Sr(tn))),Ni!==ne?(fs=aa(),fs!==ne?(Li=Dt,ye.charCodeAt(Dt)===44?(Ro=xa,Dt++):(Ro=ne,Wr===0&&Sr(sn)),Ro!==ne?(so=aa(),so!==ne?(Ji=si(),Ji!==ne?(Ro=[Ro,so,Ji],Li=Ro):(Dt=Li,Li=ne)):(Dt=Li,Li=ne)):(Dt=Li,Li=ne),Li===ne&&(Li=null),Li!==ne?(Ro=aa(),Ro!==ne?(ye.charCodeAt(Dt)===125?(so=br,Dt++):(so=ne,Wr===0&&Sr(Kr)),so!==ne?(Ii=Le,Ot=ao(Ur,Ni,Li),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Le}function di(){var Le;return Le=co(),Le===ne&&(Le=Oi()),Le}function Oo(){var Le,Ot,Er,Ur,Bn,Za,Ka,Ni,fs,Li,Ro,so,Ji,bs,As,Ps;if(Le=Dt,ye.charCodeAt(Dt)===123?(Ot=ur,Dt++):(Ot=ne,Wr===0&&Sr(Ut)),Ot!==ne)if(Er=aa(),Er!==ne)if(Ur=ho(),Ur!==ne)if(Bn=aa(),Bn!==ne)if(ye.charCodeAt(Dt)===44?(Za=xa,Dt++):(Za=ne,Wr===0&&Sr(sn)),Za!==ne)if(Ka=aa(),Ka!==ne)if(ye.substr(Dt,6)===Mr?(Ni=Mr,Dt+=6):(Ni=ne,Wr===0&&Sr(rn)),Ni===ne&&(ye.substr(Dt,13)===en?(Ni=en,Dt+=13):(Ni=ne,Wr===0&&Sr(Pn))),Ni!==ne)if(fs=aa(),fs!==ne)if(ye.charCodeAt(Dt)===44?(Li=xa,Dt++):(Li=ne,Wr===0&&Sr(sn)),Li!==ne)if(Ro=aa(),Ro!==ne)if(so=Dt,ye.substr(Dt,7)===Gn?(Ji=Gn,Dt+=7):(Ji=ne,Wr===0&&Sr(Jn)),Ji!==ne?(bs=aa(),bs!==ne?(As=Go(),As!==ne?(Ji=[Ji,bs,As],so=Ji):(Dt=so,so=ne)):(Dt=so,so=ne)):(Dt=so,so=ne),so===ne&&(so=null),so!==ne)if(Ji=aa(),Ji!==ne){if(bs=[],As=Ra(),As!==ne)for(;As!==ne;)bs.push(As),As=Ra();else bs=ne;bs!==ne?(As=aa(),As!==ne?(ye.charCodeAt(Dt)===125?(Ps=br,Dt++):(Ps=ne,Wr===0&&Sr(Kr)),Ps!==ne?(Ii=Le,Ot=_n(Ur,Ni,so,bs),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)}else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;return Le}function Ho(){var Le,Ot,Er,Ur,Bn,Za,Ka,Ni,fs,Li,Ro,so,Ji,bs;if(Le=Dt,ye.charCodeAt(Dt)===123?(Ot=ur,Dt++):(Ot=ne,Wr===0&&Sr(Ut)),Ot!==ne)if(Er=aa(),Er!==ne)if(Ur=ho(),Ur!==ne)if(Bn=aa(),Bn!==ne)if(ye.charCodeAt(Dt)===44?(Za=xa,Dt++):(Za=ne,Wr===0&&Sr(sn)),Za!==ne)if(Ka=aa(),Ka!==ne)if(ye.substr(Dt,6)===Wn?(Ni=Wn,Dt+=6):(Ni=ne,Wr===0&&Sr(Ln)),Ni!==ne)if(fs=aa(),fs!==ne)if(ye.charCodeAt(Dt)===44?(Li=xa,Dt++):(Li=ne,Wr===0&&Sr(sn)),Li!==ne)if(Ro=aa(),Ro!==ne){if(so=[],Ji=Xn(),Ji!==ne)for(;Ji!==ne;)so.push(Ji),Ji=Xn();else so=ne;so!==ne?(Ji=aa(),Ji!==ne?(ye.charCodeAt(Dt)===125?(bs=br,Dt++):(bs=ne,Wr===0&&Sr(Kr)),bs!==ne?(Ii=Le,Ot=na(Ur,so),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)}else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;else Dt=Le,Le=ne;return Le}function oo(){var Le,Ot,Er,Ur;return Le=Dt,Ot=Dt,ye.charCodeAt(Dt)===61?(Er=ca,Dt++):(Er=ne,Wr===0&&Sr(pa)),Er!==ne?(Ur=Go(),Ur!==ne?(Er=[Er,Ur],Ot=Er):(Dt=Ot,Ot=ne)):(Dt=Ot,Ot=ne),Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Le===ne&&(Le=pt()),Le}function Xn(){var Le,Ot,Er,Ur,Bn,Za,Ka,Ni;return Le=Dt,Ot=aa(),Ot!==ne?(Er=pt(),Er!==ne?(Ur=aa(),Ur!==ne?(ye.charCodeAt(Dt)===123?(Bn=ur,Dt++):(Bn=ne,Wr===0&&Sr(Ut)),Bn!==ne?(Ii=Dt,Za=Ga(Er),Za?Za=void 0:Za=ne,Za!==ne?(Ka=jn(),Ka!==ne?(ye.charCodeAt(Dt)===125?(Ni=br,Dt++):(Ni=ne,Wr===0&&Sr(Kr)),Ni!==ne?(Ii=Le,Ot=Na(Er,Ka),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Le}function Ra(){var Le,Ot,Er,Ur,Bn,Za,Ka,Ni;return Le=Dt,Ot=aa(),Ot!==ne?(Er=oo(),Er!==ne?(Ur=aa(),Ur!==ne?(ye.charCodeAt(Dt)===123?(Bn=ur,Dt++):(Bn=ne,Wr===0&&Sr(Ut)),Bn!==ne?(Ii=Dt,Za=ia(Er),Za?Za=void 0:Za=ne,Za!==ne?(Ka=jn(),Ka!==ne?(ye.charCodeAt(Dt)===125?(Ni=br,Dt++):(Ni=ne,Wr===0&&Sr(Kr)),Ni!==ne?(Ii=Le,Ot=ii(Er,Ka),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Le}function ci(){var Le,Ot;return Wr++,Wa.test(ye.charAt(Dt))?(Le=ye.charAt(Dt),Dt++):(Le=ne,Wr===0&&Sr(Ya)),Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(ja)),Le}function Gi(){var Le,Ot;return Wr++,Va.test(ye.charAt(Dt))?(Le=ye.charAt(Dt),Dt++):(Le=ne,Wr===0&&Sr(qa)),Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(hi)),Le}function aa(){var Le,Ot,Er;for(Wr++,Le=Dt,Ot=[],Er=ci();Er!==ne;)Ot.push(Er),Er=ci();return Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(gi)),Le}function Go(){var Le,Ot,Er;return Wr++,Le=Dt,ye.charCodeAt(Dt)===45?(Ot=ro,Dt++):(Ot=ne,Wr===0&&Sr(zi)),Ot===ne&&(Ot=null),Ot!==ne?(Er=ct(),Er!==ne?(Ii=Le,Ot=Ja(Ot,Er),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne),Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(lo)),Le}function Jo(){var Le,Ot;return Wr++,ye.charCodeAt(Dt)===39?(Le=Ma,Dt++):(Le=ne,Wr===0&&Sr(pi)),Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(fo)),Le}function po(){var Le,Ot;return Wr++,Le=Dt,ye.substr(Dt,2)===vi?(Ot=vi,Dt+=2):(Ot=ne,Wr===0&&Sr(Po)),Ot!==ne&&(Ii=Le,Ot=yo()),Le=Ot,Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(Bi)),Le}function ki(){var Le,Ot,Er,Ur,Bn,Za;if(Le=Dt,ye.charCodeAt(Dt)===39?(Ot=Ma,Dt++):(Ot=ne,Wr===0&&Sr(pi)),Ot!==ne)if(Er=wo(),Er!==ne){for(Ur=Dt,Bn=[],ye.substr(Dt,2)===vi?(Za=vi,Dt+=2):(Za=ne,Wr===0&&Sr(Po)),Za===ne&&(bi.test(ye.charAt(Dt))?(Za=ye.charAt(Dt),Dt++):(Za=ne,Wr===0&&Sr(Pt)));Za!==ne;)Bn.push(Za),ye.substr(Dt,2)===vi?(Za=vi,Dt+=2):(Za=ne,Wr===0&&Sr(Po)),Za===ne&&(bi.test(ye.charAt(Dt))?(Za=ye.charAt(Dt),Dt++):(Za=ne,Wr===0&&Sr(Pt)));Bn!==ne?Ur=ye.substring(Ur,Dt):Ur=Bn,Ur!==ne?(ye.charCodeAt(Dt)===39?(Bn=Ma,Dt++):(Bn=ne,Wr===0&&Sr(pi)),Bn===ne&&(Bn=null),Bn!==ne?(Ii=Le,Ot=Uo(Er,Ur),Le=Ot):(Dt=Le,Le=ne)):(Dt=Le,Le=ne)}else Dt=Le,Le=ne;else Dt=Le,Le=ne;return Le}function Qi(){var Le,Ot,Er,Ur;return Le=Dt,Ot=Dt,ye.length>Dt?(Er=ye.charAt(Dt),Dt++):(Er=ne,Wr===0&&Sr(Gr)),Er!==ne?(Ii=Dt,Ur=Bo(Er),Ur?Ur=void 0:Ur=ne,Ur!==ne?(Er=[Er,Ur],Ot=Er):(Dt=Ot,Ot=ne)):(Dt=Ot,Ot=ne),Ot===ne&&(ye.charCodeAt(Dt)===10?(Ot=Ko,Dt++):(Ot=ne,Wr===0&&Sr(ns))),Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Le}function wo(){var Le,Ot,Er,Ur;return Le=Dt,Ot=Dt,ye.length>Dt?(Er=ye.charAt(Dt),Dt++):(Er=ne,Wr===0&&Sr(Gr)),Er!==ne?(Ii=Dt,Ur=Xi(Er),Ur?Ur=void 0:Ur=ne,Ur!==ne?(Er=[Er,Ur],Ot=Er):(Dt=Ot,Ot=ne)):(Dt=Ot,Ot=ne),Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Le}function ho(){var Le,Ot;return Wr++,Le=Dt,Ot=ct(),Ot===ne&&(Ot=pt()),Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(Pr)),Le}function ct(){var Le,Ot,Er,Ur,Bn;if(Wr++,Le=Dt,ye.charCodeAt(Dt)===48?(Ot=Hr,Dt++):(Ot=ne,Wr===0&&Sr(ra)),Ot!==ne&&(Ii=Le,Ot=Aa()),Le=Ot,Le===ne){if(Le=Dt,Ot=Dt,Oa.test(ye.charAt(Dt))?(Er=ye.charAt(Dt),Dt++):(Er=ne,Wr===0&&Sr(ei)),Er!==ne){for(Ur=[],Da.test(ye.charAt(Dt))?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(_o));Bn!==ne;)Ur.push(Bn),Da.test(ye.charAt(Dt))?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(_o));Ur!==ne?(Er=[Er,Ur],Ot=Er):(Dt=Ot,Ot=ne)}else Dt=Ot,Ot=ne;Ot!==ne&&(Ii=Le,Ot=Qo(Ot)),Le=Ot}return Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(Xr)),Le}function pt(){var Le,Ot,Er,Ur,Bn;if(Wr++,Le=Dt,Ot=[],Er=Dt,Ur=Dt,Wr++,Bn=ci(),Bn===ne&&(Bn=Gi()),Wr--,Bn===ne?Ur=void 0:(Dt=Ur,Ur=ne),Ur!==ne?(ye.length>Dt?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(Gr)),Bn!==ne?(Ur=[Ur,Bn],Er=Ur):(Dt=Er,Er=ne)):(Dt=Er,Er=ne),Er!==ne)for(;Er!==ne;)Ot.push(Er),Er=Dt,Ur=Dt,Wr++,Bn=ci(),Bn===ne&&(Bn=Gi()),Wr--,Bn===ne?Ur=void 0:(Dt=Ur,Ur=ne),Ur!==ne?(ye.length>Dt?(Bn=ye.charAt(Dt),Dt++):(Bn=ne,Wr===0&&Sr(Gr)),Bn!==ne?(Ur=[Ur,Bn],Er=Ur):(Dt=Er,Er=ne)):(Dt=Er,Er=ne);else Ot=ne;return Ot!==ne?Le=ye.substring(Le,Dt):Le=Ot,Wr--,Le===ne&&(Ot=ne,Wr===0&&Sr(Wi)),Le}var Mn=["root"];function ka(){return Mn.length>1}function Ba(){return Mn[Mn.length-1]==="plural"}function bn(){return Xe&&Xe.captureLocation?{location:Co()}:{}}if(ls=fe(),ls!==ne&&Dt===ye.length)return ls;throw ls!==ne&&Dt1)throw new RangeError("Fraction-precision stems only accept a single optional option");fe.stem.replace(ce,function(Se,bt,Rt){return Se==="."?Xe.maximumFractionDigits=0:Rt==="+"?Xe.minimumFractionDigits=Rt.length:bt[0]==="#"?Xe.maximumFractionDigits=bt.length:(Xe.minimumFractionDigits=bt.length,Xe.maximumFractionDigits=bt.length+(typeof Rt=="string"?Rt.length:0)),""}),fe.options.length&&(Xe=X(X({},Xe),xe(fe.options[0])));continue}if(ge.test(fe.stem)){Xe=X(X({},Xe),xe(fe.stem));continue}var Ie=ke(fe.stem);Ie&&(Xe=X(X({},Xe),Ie))}return Xe}var wt=function(){var ye=function(Xe,ne){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(he,fe){he.__proto__=fe}||function(he,fe){for(var Ie in fe)fe.hasOwnProperty(Ie)&&(he[Ie]=fe[Ie])},ye(Xe,ne)};return function(Xe,ne){ye(Xe,ne);function he(){this.constructor=Xe}Xe.prototype=ne===null?Object.create(ne):(he.prototype=ne.prototype,new he)}}(),Ye=function(){for(var ye=0,Xe=0,ne=arguments.length;Xe(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,it=Date.now()+"@@",Te=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function nt(ye,Xe,ne){var he=ye.tagName,fe=ye.outerHTML,Ie=ye.textContent,Se=ye.childNodes;if(!he)return Be(Ie||"",Xe);he=he.toLowerCase();var bt=~Te.indexOf(he),Rt=ne[he];if(Rt&&bt)throw new At(he+" is a self-closing tag and can not be used, please use another tag name.");if(!Se.length)return[fe];var lr=Array.prototype.slice.call(Se).reduce(function(Yt,ur){return Yt.concat(nt(ur,Xe,ne))},[]);return Rt?typeof Rt=="function"?[Rt.apply(void 0,lr)]:[Rt]:Ye(["<"+he+">"],lr,[""])}function Pe(ye,Xe,ne,he,fe,Ie){var Se=Ct(ye,Xe,ne,he,fe,void 0,Ie),bt={},Rt=Se.reduce(function(Ut,br){if(br.type===0)return Ut+=br.value;var Kr=Ce();return bt[Kr]=br.value,Ut+=""+rt+Kr+rt},"");if(!$e.test(Rt))return Be(Rt,bt);if(!fe)throw new At("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new At("Cannot format XML message without DOMParser");zt||(zt=new DOMParser);var lr=zt.parseFromString(''+Rt+"","text/html").getElementById(it);if(!lr)throw new At("Malformed HTML message "+Rt);var Yt=Object.keys(fe).filter(function(Ut){return!!lr.getElementsByTagName(Ut).length});if(!Yt.length)return Be(Rt,bt);var ur=Yt.filter(function(Ut){return Ut!==Ut.toLowerCase()});if(ur.length)throw new At("HTML tag must be lowercased but the following tags are not: "+ur.join(", "));return Array.prototype.slice.call(lr.childNodes).reduce(function(Ut,br){return Ut.concat(nt(br,bt,fe))},[])}var Je=function(){return Je=Object.assign||function(ye){for(var Xe,ne=1,he=arguments.length;ne<"']/g;function te(ye){return(""+ye).replace(pe,Xe=>lt[Xe.charCodeAt(0)])}function se(ye,Xe,ne={}){return Xe.reduce((he,fe)=>(fe in ye?he[fe]=ye[fe]:fe in ne&&(he[fe]=ne[fe]),he),{})}function St(ye){Tt(ye,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function _e(ye,Xe){const ne=Xe?` ${Xe.stack}`:"";return`[React Intl] ${ye}${ne}`}function tt(ye){}const jr={formats:{},messages:{},timeZone:void 0,textComponent:t.Fragment,defaultLocale:"en",defaultFormats:{},onError:tt};function Ht(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Re(ye=Ht()){const Xe=Intl.RelativeTimeFormat,ne=Intl.ListFormat,he=Intl.DisplayNames;return{getDateTimeFormat:G(Intl.DateTimeFormat,ye.dateTime),getNumberFormat:G(Intl.NumberFormat,ye.number),getMessageFormat:G(st,ye.message),getRelativeTimeFormat:G(Xe,ye.relativeTime),getPluralRules:G(Intl.PluralRules,ye.pluralRules),getListFormat:G(ne,ye.list),getDisplayNames:G(he,ye.displayNames)}}function Qt(ye,Xe,ne,he){const fe=ye&&ye[Xe];let Ie;if(fe&&(Ie=fe[ne]),Ie)return Ie;he(_e(`No ${Xe} format named: ${ne}`))}const He=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function xt({locale:ye,formats:Xe,onError:ne},he,fe={}){const{format:Ie}=fe,Se=Ie&&Qt(Xe,"number",Ie,ne)||{},bt=se(fe,He,Se);return he(ye,bt)}function ft(ye,Xe,ne,he={}){try{return xt(ye,Xe,he).format(ne)}catch(fe){ye.onError(_e("Error formatting number.",fe))}return String(ne)}function jt(ye,Xe,ne,he={}){try{return xt(ye,Xe,he).formatToParts(ne)}catch(fe){ye.onError(_e("Error formatting number.",fe))}return[]}const we=["numeric","style"];function Jt({locale:ye,formats:Xe,onError:ne},he,fe={}){const{format:Ie}=fe,Se=!!Ie&&Qt(Xe,"relative",Ie,ne)||{},bt=se(fe,we,Se);return he(ye,bt)}function Fe(ye,Xe,ne,he,fe={}){he||(he="second"),Intl.RelativeTimeFormat||ye.onError(_e(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" `));try{return Jt(ye,Xe,fe).format(ne,he)}catch(Se){ye.onError(_e("Error formatting relative time.",Se))}return String(ne)}const ar=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function sr({locale:ye,formats:Xe,onError:ne,timeZone:he},fe,Ie,Se={}){const{format:bt}=Se,Rt=Object.assign(Object.assign({},he&&{timeZone:he}),bt&&Qt(Xe,fe,bt,ne));let lr=se(Se,ar,Rt);return fe==="time"&&!lr.hour&&!lr.minute&&!lr.second&&(lr=Object.assign(Object.assign({},lr),{hour:"numeric",minute:"numeric"})),Ie(ye,lr)}function Wt(ye,Xe,ne,he={}){const fe=typeof ne=="string"?new Date(ne||0):ne;try{return sr(ye,"date",Xe,he).format(fe)}catch(Ie){ye.onError(_e("Error formatting date.",Ie))}return String(fe)}function qt(ye,Xe,ne,he={}){const fe=typeof ne=="string"?new Date(ne||0):ne;try{return sr(ye,"time",Xe,he).format(fe)}catch(Ie){ye.onError(_e("Error formatting time.",Ie))}return String(fe)}function It(ye,Xe,ne,he={}){const fe=typeof ne=="string"?new Date(ne||0):ne;try{return sr(ye,"date",Xe,he).formatToParts(fe)}catch(Ie){ye.onError(_e("Error formatting date.",Ie))}return[]}function mt(ye,Xe,ne,he={}){const fe=typeof ne=="string"?new Date(ne||0):ne;try{return sr(ye,"time",Xe,he).formatToParts(fe)}catch(Ie){ye.onError(_e("Error formatting time.",Ie))}return[]}const Gt=["localeMatcher","type"];function tr({locale:ye,onError:Xe},ne,he,fe={}){Intl.PluralRules||Xe(_e(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" `));const Ie=se(fe,Gt);try{return ne(ye,Ie).select(he)}catch(Se){Xe(_e("Error formatting plural.",Se))}return"other"}function Ke(ye,Xe){return Object.keys(ye).reduce((ne,he)=>(ne[he]=Object.assign({timeZone:Xe},ye[he]),ne),{})}function gt(ye,Xe){return Object.keys(Object.assign(Object.assign({},ye),Xe)).reduce((he,fe)=>(he[fe]=Object.assign(Object.assign({},ye[fe]||{}),Xe[fe]||{}),he),{})}function ut(ye,Xe){if(!Xe)return ye;const ne=st.formats;return Object.assign(Object.assign(Object.assign({},ne),ye),{date:gt(Ke(ne.date,Xe),Ke(ye.date||{},Xe)),time:gt(Ke(ne.time,Xe),Ke(ye.time||{},Xe))})}const Lt=ye=>t.createElement(t.Fragment,null,...ye);function ir({locale:ye,formats:Xe,messages:ne,defaultLocale:he,defaultFormats:fe,onError:Ie,timeZone:Se},bt,Rt={id:""},lr={}){const{id:Yt,defaultMessage:ur}=Rt;Tt(!!Yt,"[React Intl] An `id` must be provided to format a message.");const Ut=ne&&ne[String(Yt)];Xe=ut(Xe,Se),fe=ut(fe,Se);let br=[];if(Ut)try{br=bt.getMessageFormat(Ut,ye,Xe,{formatters:bt}).formatHTMLMessage(lr)}catch(Kr){Ie(_e(`Error formatting message: "${Yt}" for locale: "${ye}"`+(ur?", using default message as fallback.":""),Kr))}else(!ur||ye&&ye.toLowerCase()!==he.toLowerCase())&&Ie(_e(`Missing message: "${Yt}" for locale: "${ye}"`+(ur?", using default message as fallback.":"")));if(!br.length&&ur)try{br=bt.getMessageFormat(ur,he,fe).formatHTMLMessage(lr)}catch(Kr){Ie(_e(`Error formatting the default message for: "${Yt}"`,Kr))}return br.length?br.length===1&&typeof br[0]=="string"?br[0]||ur||String(Yt):Lt(br):(Ie(_e(`Cannot format message: "${Yt}", using message ${Ut||ur?"source":"id"} as fallback.`)),typeof Ut=="string"?Ut||ur||String(Yt):ur||String(Yt))}function gr(ye,Xe,ne={id:""},he={}){const fe=Object.keys(he).reduce((Ie,Se)=>{const bt=he[Se];return Ie[Se]=typeof bt=="string"?te(bt):bt,Ie},{});return ir(ye,Xe,ne,fe)}var xr=e(38138),Yr=e.n(xr);const Jr=["localeMatcher","type","style"],nn=Date.now();function ht(ye){return`${nn}_${ye}_${nn}`}function _r({locale:ye,onError:Xe},ne,he,fe={}){Intl.ListFormat||Xe(_e(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" `));const Se=se(fe,Jr);try{const bt={},Rt=he.map((Yt,ur)=>{if(typeof Yt=="object"){const Ut=ht(ur);return bt[Ut]=Yt,Ut}return String(Yt)});return Object.keys(bt).length?ne(ye,Se).formatToParts(Rt).reduce((Yt,ur)=>{const Ut=ur.value;return bt[Ut]?Yt.push(bt[Ut]):typeof Yt[Yt.length-1]=="string"?Yt[Yt.length-1]+=Ut:Yt.push(Ut),Yt},[]):ne(ye,Se).format(Rt)}catch(bt){Xe(_e("Error formatting list.",bt))}return he}const In=["localeMatcher","style","type","fallback"];function fn({locale:ye,onError:Xe},ne,he,fe={}){Intl.DisplayNames||Xe(_e(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" `));const Se=se(fe,In);try{return ne(ye,Se).of(he)}catch(bt){Xe(_e("Error formatting display name.",bt))}}const Qr=Yr()||xr;function dt(ye){return{locale:ye.locale,timeZone:ye.timeZone,formats:ye.formats,textComponent:ye.textComponent,messages:ye.messages,defaultLocale:ye.defaultLocale,defaultFormats:ye.defaultFormats,onError:ye.onError}}function dn(ye,Xe){const ne=Re(Xe),he=Object.assign(Object.assign({},jr),ye),{locale:fe,defaultLocale:Ie,onError:Se}=he;return fe?!Intl.NumberFormat.supportedLocalesOf(fe).length&&Se?Se(_e(`Missing locale data for locale: "${fe}" in Intl.NumberFormat. Using default locale: "${Ie}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(fe).length&&Se&&Se(_e(`Missing locale data for locale: "${fe}" in Intl.DateTimeFormat. Using default locale: "${Ie}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Se&&Se(_e(`"locale" was not configured, using "${Ie}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),he.locale=he.defaultLocale||"en"),Object.assign(Object.assign({},he),{formatters:ne,formatNumber:ft.bind(null,he,ne.getNumberFormat),formatNumberToParts:jt.bind(null,he,ne.getNumberFormat),formatRelativeTime:Fe.bind(null,he,ne.getRelativeTimeFormat),formatDate:Wt.bind(null,he,ne.getDateTimeFormat),formatDateToParts:It.bind(null,he,ne.getDateTimeFormat),formatTime:qt.bind(null,he,ne.getDateTimeFormat),formatTimeToParts:mt.bind(null,he,ne.getDateTimeFormat),formatPlural:tr.bind(null,he,ne.getPluralRules),formatMessage:ir.bind(null,he,ne),formatHTMLMessage:gr.bind(null,he,ne),formatList:_r.bind(null,he,ne.getListFormat),formatDisplayName:fn.bind(null,he,ne.getDisplayNames)})}class An extends t.PureComponent{constructor(){super(...arguments),this.cache=Ht(),this.state={cache:this.cache,intl:dn(dt(this.props),this.cache),prevConfig:dt(this.props)}}static getDerivedStateFromProps(Xe,{prevConfig:ne,cache:he}){const fe=dt(Xe);return Qr(ne,fe)?null:{intl:dn(fe,he),prevConfig:fe}}render(){return St(this.state.intl),t.createElement(r,{value:this.state.intl},this.props.children)}}An.displayName="IntlProvider",An.defaultProps=jr;var cn=e(76647),On=e(48370),ua=e.n(On),pr=e(42473),vr=e.n(pr),er=e(24457),wr={table:{submit:"\u63D0\u4EA4\u8868\u5355"}},Ir=Object.defineProperty,We=Object.getOwnPropertySymbols,qr=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,En=(ye,Xe,ne)=>Xe in ye?Ir(ye,Xe,{enumerable:!0,configurable:!0,writable:!0,value:ne}):ye[Xe]=ne,Kn=(ye,Xe)=>{for(var ne in Xe||(Xe={}))qr.call(Xe,ne)&&En(ye,ne,Xe[ne]);if(We)for(var ne of We(Xe))on.call(Xe,ne)&&En(ye,ne,Xe[ne]);return ye},Qn=(ye,Xe)=>{var ne={};for(var he in ye)qr.call(ye,he)&&Xe.indexOf(he)<0&&(ne[he]=ye[he]);if(ye!=null&&We)for(var he of We(ye))Xe.indexOf(he)<0&&on.call(ye,he)&&(ne[he]=ye[he]);return ne};let kn;const pn=!0,ba=new(ua()),ai=Symbol("LANG_CHANGE"),at=(ye,Xe="")=>Object.keys(ye).reduce((ne,he)=>{const fe=ye[he],Ie=Xe?`${Xe}.${he}`:he;return typeof fe=="string"?ne[Ie]=fe:Object.assign(ne,at(fe,Ie)),ne},{}),Vn={"en-US":{messages:Kn({},at(wr)),locale:"en-US",antd:Kn({},er.Z),momentLocale:"en"}},Ta=(ye,Xe,ne)=>{var he,fe,Ie,Se;if(!ye)return;const bt=(he=Vn[ye])!=null&&he.messages?Object.assign({},Vn[ye].messages,Xe):Xe,{momentLocale:Rt=(fe=Vn[ye])==null?void 0:fe.momentLocale,antd:lr=(Ie=Vn[ye])==null?void 0:Ie.antd}=ne||{},Yt=(Se=ye.split("-"))==null?void 0:Se.join("-");Vn[ye]={messages:bt,locale:Yt,momentLocale:Rt,antd:lr},Yt===Ha()&&ba.emit(ai,Yt)},wi=ye=>(0,cn.We)().applyPlugins({key:"locale",type:"modify",initialValue:ye}),li=ye=>{const ne=wi(Vn[ye]),{cache:he}=ne,fe=Qn(ne,["cache"]);return dn(fe,he)},yi=(ye,Xe)=>kn&&!Xe&&!ye?kn:(ye||(ye=Ha()),ye&&Vn[ye]?li(ye):(vr()(!ye||!!Vn[ye],"The current popular language does not exist, please check the locales folder!"),Vn["zh-CN"]?li("zh-CN"):dn({locale:"zh-CN",messages:{}}))),za=ye=>{kn=yi(ye,!0)},Ha=()=>{const ye=wi({});return typeof(ye==null?void 0:ye.getLocale)=="function"?ye.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&pn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},wa=()=>{const ye=Ha();return["he","ar","fa","ku"].filter(he=>ye.startsWith(he)).length?"rtl":"ltr"},fi=(ye,Xe=!0)=>{(()=>{if(Ha()!==ye){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&pn&&window.localStorage.setItem("umi_locale",ye||""),za(ye),Xe)window.location.reload();else if(ba.emit(ai,ye),window.dispatchEvent){const he=new Event("languagechange");window.dispatchEvent(he)}}})()};let ze=!0;const Kt=(ye,Xe)=>(ze&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q `),ze=!1),kn||za(Ha()),kn.formatMessage(ye,Xe)),Xt=()=>Object.keys(Vn)},53814:function(m,C,e){"use strict";e.d(C,{y:function(){return f}});var t=e(14446),n=e(71230),u=e(15746),o=e(5270),i=e(67294);const f=s=>new Promise((a,r)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return r("WebRTC not supported by browser");let b=new RTCPeerConnection,l=[];b.createDataChannel(""),b.createOffer().then(d=>b.setLocalDescription(d)).catch(d=>r(d)),b.onicecandidate=d=>{console.log("event:",d);const c=[];if(!d||!d.candidate){if(console.log("ips",l),l.length==0||!(0,o.t)(l[0])){const O=t.default.info({title:i.createElement(n.Z,null,i.createElement(u.Z,{flex:"1"},"\u63D0\u793A"),i.createElement(u.Z,null,i.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>O.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:i.createElement(n.Z,null,i.createElement(u.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(s.ip_limit==="inner"||s.ip_bind)&&i.createElement(i.Fragment,null,i.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),i.createElement("br",null),i.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return r("WebRTC disabled or restricted by browser")}const R=l.filter(O=>(0,o.t)(O));return!R||!R.length?r("IP\u83B7\u53D6\u5931\u8D25"):a(R.join(""))}let p=d.candidate.candidate.split(" "),[x,y,_,v,h,E,,S,...g]=p,I=["rtp","rtpc"];if(console.log("event:",d),l.some(R=>R==h)||l.push(h),console.log(" candidate: "+x.split(":")[1]),console.log(" component: "+I[y-1]),console.log(" protocol: "+_),console.log(" priority: "+v),console.log(" ip: "+h),console.log(" port: "+E),console.log(" type: "+S),g.length){console.log("attributes: ");for(let R=0;R "+g[R]+": "+g[R+1])}}})},26194:function(m,C,e){"use strict";var t=e(67294),n=e(4977),u=e(71577),o=e(35973),i=e(52810),f=Object.defineProperty,s=Object.defineProperties,a=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,d=(y,_,v)=>_ in y?f(y,_,{enumerable:!0,configurable:!0,writable:!0,value:v}):y[_]=v,c=(y,_)=>{for(var v in _||(_={}))b.call(_,v)&&d(y,v,_[v]);if(r)for(var v of r(_))l.call(_,v)&&d(y,v,_[v]);return y},p=(y,_)=>s(y,a(_));const x=({img:y,buttonProps:_={},styles:v={},customText:h,ButtonText:E,ButtonClick:S,Buttonclass:g,ButtonTwo:I,imgStyles:R,loading:O=!1,className:L="",globalSetting:j})=>{const U=(0,t.useMemo)(()=>{var T;if(y)return y;switch(Number((T=j==null?void 0:j.setting)==null?void 0:T.theme)){case i.Fy.THEMEONE:return e(56022);case i.Fy.THEMETWO:return e(58478);case i.Fy.THEMETHREE:return e(26551);case i.Fy.DEFAULT:default:return n}},[j,y]),z=(0,t.useMemo)(()=>{var T;switch(Number((T=j==null?void 0:j.setting)==null?void 0:T.theme)){case i.Fy.THEMETHREE:return"#03A092";case i.Fy.DEFAULT:default:return"#999"}},[j]);return t.createElement("section",{className:`tc animated fadeIn ${L}`,style:c({color:"#999",margin:"100px auto",visibility:O?"hidden":"visible"},v)},t.createElement("img",{src:U,style:p(c({},R),{pointerEvents:"none",userSelect:"none"})}),t.createElement("p",{className:"mt20 font14",style:{color:z}},h||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),E&&t.createElement(u.ZP,c({className:g,onClick:S},_),E),I&&I)};C.Z=(0,o.connect)(({globalSetting:y})=>({globalSetting:y}))(x)},91613:function(m,C,e){"use strict";e.d(C,{Z:function(){return O}});var t=e(67294),n={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},u=e(71577),o=e(87462),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},f=i,s=e(74643),a=function(j,U){return t.createElement(s.Z,(0,o.Z)({},j,{ref:U,icon:f}))},r=t.forwardRef(a),b=e(36295),l=e(83062),d=e(28706),c=e(15835),p=e(26194),x=e(11320),y=e(66540),_=e(67294),v=Object.defineProperty,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,g=(L,j,U)=>j in L?v(L,j,{enumerable:!0,configurable:!0,writable:!0,value:U}):L[j]=U,I=(L,j)=>{for(var U in j||(j={}))E.call(j,U)&&g(L,U,j[U]);if(h)for(var U of h(j))S.call(j,U)&&g(L,U,j[U]);return L},R=(L,j,U)=>new Promise((z,T)=>{var P=F=>{try{D(U.next(F))}catch(Z){T(Z)}},w=F=>{try{D(U.throw(F))}catch(Z){T(Z)}},D=F=>F.done?z(F.value):Promise.resolve(F.value).then(P,w);D((U=U.apply(L,j)).next())}),O=({editOffice:L="view",data:j,theme:U,type:z,filename:T,monacoEditor:P,className:w,style:D,close:F,onClose:Z,hasMask:k,disabledDownload:B,onImgDimensions:G,showNodata:X,recordInfo:q})=>{const[ee,ue]=(0,t.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[ce,ge]=(0,t.useState)(""),[xe,ke]=(0,t.useState)(),Qe=window.ENV==="build"?"/react/build":"",et=location.host.startsWith("localhost")?x.Z.PROXY_SERVER:x.Z.API_SERVER,Ye=10*(1024*1024),At=(0,t.useRef)();j!=null&&j.startsWith("/api")&&z!=="txt"&&(j=x.Z.API_SERVER+j);const Zt=rt=>rt.substring(rt.lastIndexOf("/")+1).split(".").pop();T&&P&&(P.filename=T),(0,t.useEffect)(()=>{var rt,Me;const ve=(Me=(rt=document.cookie)==null?void 0:rt.replace(/\s/g,""))==null?void 0:Me.split(";");ve==null||ve.map(Ce=>{let Be=Ce.split("=");Be[0]==="_educoder_session"&&ge(Be[1])})},[]),(0,t.useEffect)(()=>{z==="office"&&(j.indexOf("bigfilescdn.")>-1||j.indexOf("bigfiles1")>-1?ke({url:j,fileType:Zt(j),model:j.indexOf("model=edit")?"edit":"view"}):Ct())},[z,j]);const Ct=()=>R(void 0,null,function*(){console.log("data:",j);let rt=j;j.startsWith("http")||(rt=location.origin+rt);let Me=new URL(rt).pathname.split("/").pop();const ve=yield(0,c.gJ)({attachment_id:Me});ve.url=et+ve.url,ke(ve)}),kt=()=>{if(j.startsWith("http")||j.startsWith("blob:")){zt();return}(0,d.Nd)(T||"educoder",decodeURIComponent(j))},zt=()=>{q&&(0,y.fc)({id:q==null?void 0:q.id,watch_type:1,course_id:q==null?void 0:q.course_id}),(0,d.Nd)(T||"educoder",decodeURIComponent(j))};return console.log(j,"data"),_.createElement("div",{style:I({},D||{}),className:`${k&&n.bgBlack} ${z?n.wrp:"hide"}`},F&&_.createElement("div",{className:n.close,ref:At},!!G&&_.createElement(l.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>At.current},_.createElement("span",{onClick:()=>{Z(),G()}},_.createElement("i",{className:"icon-yulanpizhu"}))),!B&&_.createElement(l.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>At.current},_.createElement("span",{onClick:zt},_.createElement("i",{className:"icon-quxiaozhiding"}))),_.createElement(l.Z,{title:"\u5173\u95ED",getPopupContainer:()=>At.current},_.createElement("span",{className:"",onClick:Z},_.createElement("i",{className:"icon-guanbi1"})))),_.createElement("div",{className:`${n[w]} ${w} ${n.monaco} ${z==="txt"?"show":"hide"}`},z==="txt"&&_.createElement(_.Fragment,null,_.createElement(b.ZP,I({},P)))),z==="audio"&&_.createElement("audio",{src:(j==null?void 0:j.indexOf("http"))>-1||j!=null&&j.startsWith("/api")?j:`data:image/png;base64,${j}`,autoPlay:!0}),z==="video"&&_.createElement(_.Fragment,null,(j==null?void 0:j.indexOf("http"))>-1||j!=null&&j.startsWith("/api")?_.createElement("video",{controls:!0,src:`${j}`,autoPlay:!0}):_.createElement("video",{controls:!0,src:`data:video/mp4;base64,${j}`,autoPlay:!0})),z==="office"&&xe&&_.createElement("iframe",{src:`${Qe}/office.html?key=${xe.key}&url=${btoa(xe.url)}&callbackUrl=${et+(xe.callbackUrl||"")}&fileType=${xe.fileType}&title=${xe.title||""}&model=${L}&officeServer=${x.Z.ONLYOFFICE}&disabledDownload=${!!B}`}),z==="html"&&_.createElement("iframe",{src:j+"&disposition=inline"}),z==="pdf"&&_.createElement("iframe",{src:`${Qe}/js/pdfview/index.html?filename=${T||"educoder.pdf"}&url=${encodeURIComponent(j)}&disabledDownload=${!!B}`}),z==="image"&&_.createElement("img",{src:(j==null?void 0:j.indexOf("http"))>-1||j!=null&&j.startsWith("/api")?j:`data:image/png;base64,${j}`}),(z==="other"||z==="download")&&_.createElement(_.Fragment,null,X?_.createElement(p.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:_.createElement(u.ZP,{icon:_.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:kt,disabled:B},"\u4E0B\u8F7D")}):_.createElement(u.ZP,{type:"primary",size:"middle",onClick:kt,disabled:B},_.createElement(r,null),"\u70B9\u51FB\u4E0B\u8F7D")),z==="flowChart"&&_.createElement("div",{className:"embed"},_.createElement("iframe",{src:`${Qe}/drawio/src/main/webapp/viewer.html?id=${j||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35598:function(m,C,e){"use strict";e.d(C,{z:function(){return U},Z:function(){return z}});var t=e(67294),n=e(81897),u=e(51161),o=e(11771),i=e(67631),f=e.n(i),s=e(11320),a=e(28706),r=e(20527),b=e(93421),l=e(71577),d=e(25934),c=e(91613),p=e(67294),y=({html:T})=>{const P=(0,t.useRef)(null),w=(0,t.useRef)(null),D=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,t.useEffect)(()=>{const F=P.current.attachShadow({mode:"open"});w.current=document.createElement("div"),w.current.className="markdown-body",w.current.innerHTML=T,F.appendChild(w.current);const Z=document.createElement("style");return Z.textContent=D,F.appendChild(Z),()=>{F.innerHTML=""}},[]),(0,t.useEffect)(()=>{w.current&&(w.current.innerHTML=T)},[T]),p.createElement("div",{ref:P})},_={button:"button___Ch5Pc"},v=Object.defineProperty,h=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,g=(T,P,w)=>P in T?v(T,P,{enumerable:!0,configurable:!0,writable:!0,value:w}):T[P]=w,I=(T,P)=>{for(var w in P||(P={}))E.call(P,w)&&g(T,w,P[w]);if(h)for(var w of h(P))S.call(P,w)&&g(T,w,P[w]);return T};const R="@\u2581\u2581@",O="@\u2581@",L=/]*>/g;function j(T){let P=document.createElement("div");return P.innerHTML=T,P.childNodes.length===0?"":P.childNodes[0].nodeValue}const U=(T,P)=>{T=T||"";const w=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,D=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,F=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Z=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return P?T.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(w,(k,B,G,X,q,ee,ue)=>{const ce=B||X||ee,ge=G||q||ue||"?";return s.Z.API_SERVER+"/api/attachments/"+ce+ge+"&t="+(0,a.Jn)(ce,Date.now())+(k.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(T=T.replace(Z,(k,B,G,X,q,ee,ue)=>{const ce=B||X||ee,ge=G||q||ue||"?";return s.Z.API_SERVER+"/attachments/download/"+ce+ge+"&t="+(0,a.Jn)(ce,Date.now())+(k.indexOf(")")>-1?")":"&")}).replace(w,(k,B,G,X,q,ee,ue)=>{const ce=B||X||ee,ge=G||q||ue||"?";return s.Z.API_SERVER+"/api/attachments/"+ce+ge+"&t="+(0,a.Jn)(ce,Date.now())+(k.indexOf(")")>-1?")":"&")}).replace(D,(k,B,G,X,q)=>{const ee=B||X,ue=G||q||"";return'"'+s.Z.API_SERVER+"/api/attachments/"+ee+ue+ee+ue+"&t="+(0,a.Jn)(ee,Date.now())}).replace(F,(k,B,G,X,q)=>{const ee=B||X,ue=G||q||"";return"("+s.Z.API_SERVER+"/files/uploads/"+ee+ue+ee+ue+"&t="+(0,a.Jn)(ee,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),T)};var z=({value:T="",edit:P=!1,className:w,showTextOnly:D,showLines:F,style:Z={},stylesPrev:k={},highlightKeywords:B,showProgramFill:G,isProgramFill:X,disabledFill:q=!1,programFillValue:ee,openEditor:ue=()=>{},onFillChange:ce=ke=>{},onFillBlur:ge=()=>{},onFillFocus:xe=()=>{}})=>{let ke=String(T);const Qe=(0,t.useRef)(),et=(0,t.useRef)(),[wt,Ye]=(0,t.useState)(""),[At,Zt]=(0,t.useState)("office"),[Ct,kt]=(0,t.useState)([]),zt=(0,t.useRef)("a"+(0,d.Z)()),rt={},Me=(Ze,st,Tt)=>{const lt=document.createElement(Ze===O?"input":"textarea");lt.style.width="100%",lt.style.height=Ze===O?"40px":"151px",lt.rows=5,lt.spellcheck=!1,lt.name="edu-program-fill",lt.placeholder="\u8BF7\u8F93\u5165",lt.dataset.id=st;const pe=Object.keys(rt).length;return rt[pe]=lt,`${lt.outerHTML}`};function ve(Ze){return Ze=Ze.replace(/!\[.*?\]\(.*?\)/g,""),Ze=Ze.replace(/\[.*?\]\(.*?\)/g,""),Ze=Ze.replace(new RegExp("","gs"),""),Ze=Ze.replace(//g,""),Ze=Ze.replace(//g,""),Ze=Ze.replace(new RegExp(".*?<\\/video>","gs"),""),Ze=Ze.replace(new RegExp(".*?<\\/audio>","gs"),""),Ze=Ze.replace(new RegExp(".*?<\\/style>","gs"),""),Ze=Ze.replace(new RegExp(".*?<\\/script>","gs"),""),Ze}const Ce=Ze=>Ze.replace(/([\s\S]+?)<\/style>/gim,function(st,Tt){let lt=Tt.replace(/(\n|\r)/g,"").split("}"),pe=[];return lt.map(te=>{te!=""&&pe.push(`.${zt.current} ${te}`)}),``}),Be=(0,t.useMemo)(()=>{try{const lt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,pe=/\"\/api\/attachments\/|\"\/attachments\/download\//g,te=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,se=/\(\/attachments\/download\//g;ke=ke.replace(se,"("+s.Z.API_SERVER+"/attachments/download/").replace(lt,"("+s.Z.API_SERVER+"/api/attachments/").replace(pe,'"'+s.Z.API_SERVER+"/api/attachments/").replace(te,'"'+s.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),Qe.current.style.display="none"}catch(lt){}if(G){let lt=-1;return ke=ke.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(pe,te,se){var St;return++lt,Me(pe,lt,(St=ee==null?void 0:ee[lt])==null?void 0:St.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Ce(ke||"")}
`}let Ze=Ce(ke);Ze=(0,u.ZP)(Ze);const st=(0,u.ez)();ke.match(/\[TOC\]/)&&(Ze=Ze.replace("

[TOC]

",(0,u.Qv)()),(0,u.Iy)()),Ze=Ze.replace(/(__special_katext_id_\d+__)/g,(lt,pe)=>{const{type:te,expression:se}=st[pe];return(0,r.renderToString)(j(se)||"",{displayMode:te==="block",throwOnError:!1,output:"html"})}),Ze=Ze.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,u.AL)();const Tt=document.createElement("div");if(Tt.innerHTML=Ze,D)return Tt.innerText;if(B){const lt=B.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return nt(Tt,lt),Tt.innerHTML}return setTimeout(()=>de(),500),Tt.innerHTML},[ke,B]);(0,t.useEffect)(()=>{Pe.current&&Pe.current.querySelectorAll(["input","textarea"]).forEach(st=>{st.oninput=$e,st.onblur=it,st.onfocus=Te})},[Ct]),(0,t.useEffect)(()=>{var Ze,st,Tt,lt,pe;if(ee!=null&&ee.length)try{const te=Pe.current.querySelectorAll(".edu-program-fill-score"),se=Pe.current.querySelectorAll('[name="edu-program-fill"]');for(const[St,_e]of se.entries())_e.value=((Ze=ee==null?void 0:ee[St])==null?void 0:Ze.value)||"",((st=ee==null?void 0:ee[St])==null?void 0:st.type)==="warning"?_e.className="program-fill-warning":((Tt=ee==null?void 0:ee[St])==null?void 0:Tt.type)==="success"?_e.className="program-fill-success":_e.className="";for(const[St,_e]of te.entries())_e.innerHTML=(lt=ee==null?void 0:ee[St])!=null&<.score?`${(pe=ee==null?void 0:ee[St])==null?void 0:pe.score}\u5206`:"";kt(ee)}catch(te){console.log(te,"error")}},[ee]);const $e=Ze=>{Ct[Ze.target.dataset.id]=Ct[Ze.target.dataset.id]||{},Ct[Ze.target.dataset.id].value=Ze.target.value,kt([...Ct]),ce(Ct,Ze.target.dataset.id)},it=Ze=>{Ct[Ze.target.dataset.id]=Ct[Ze.target.dataset.id]||{},Ct[Ze.target.dataset.id].value=Ze.target.value,kt([...Ct]),ge(Ct,Ze.target.dataset.id)},Te=Ze=>{Ct[Ze.target.dataset.id]=Ct[Ze.target.dataset.id]||{},Ct[Ze.target.dataset.id].value=Ze.target.value,kt([...Ct]),xe(Ct,Ze.target.dataset.id)};function nt(Ze,st){return Ze.childNodes.forEach(Tt=>{var lt;if(Tt.childNodes.length>0)nt(Tt,st);else if(Tt.nodeName!=="IMG")if(Tt.innerHTML)Tt.innerHTML=(lt=Tt.innerHTML)==null?void 0:lt.replace(new RegExp(st,"gi"),'$&');else{const pe=document.createElement("span");pe.innerHTML=Tt.textContent.replace(new RegExp(st,"gi"),'$&'),Tt.replaceWith(pe)}})}const Pe=(0,t.useRef)();u.jb.WebkitLineClamp=F,F&&(Z=I(I({},Z),u.jb));function Je(Ze){let st=Ze.target;if(st.tagName.toUpperCase()==="A"){let Tt=st.getAttribute("href");if(Tt.indexOf("office")>-1)Ze.preventDefault(),Ye(Tt),Zt("office");else if(Tt.indexOf("application/pdf")>-1)Ze.preventDefault(),Ye(Tt),Zt("pdf");else if(Tt.indexOf("text/html")>-1)Ze.preventDefault(),Ye(Tt),Zt("html");else if(Tt.startsWith("#")){Ze.preventDefault();let lt=document.getElementById(Tt.replace("#",""));lt&<.scrollIntoView(!0)}}}const de=()=>{var Ze;const st=(Ze=Pe.current)==null?void 0:Ze.querySelectorAll("video");st==null||st.forEach(Tt=>{if(Tt.oncontextmenu=()=>!1,Tt.src.indexOf(".m3u8")>-1&&!Tt.canPlayType("application/vnd.apple.mpegurl")){if(f().isSupported()){var lt=new(f());lt.loadSource(Tt.src),lt.attachMedia(Tt)}}})};(0,t.useEffect)(()=>{if(Pe.current&&Be&&Be.match(L)&&window.PR.prettyPrint(),Pe.current)return Pe.current.addEventListener("click",Je),()=>{var Ze;(Ze=Pe.current)==null||Ze.removeEventListener("click",Je),(0,u.AL)(),(0,u.Iy)()}},[Be,Pe.current,Je]);const Oe=Ze=>{Ze.target.nodeName==="IMG"&&Ze.target.className.indexOf("draw-flowchart")>-1?(Qe.current.style.zIndex=1,Qe.current.style.display="flex",Qe.current.style.width=Ze.target.clientWidth+"px",Qe.current.style.height=Ze.target.clientHeight+"px",Qe.current.style.top=Ze.target.offsetTop+"px",Qe.current.style.left=Ze.target.offsetLeft+"px",Ze.target.id&&(et.current=Ze.target.id)):Qe.current.style.display="none"},vt=()=>{Qe.current.style.display="none"};(0,t.useEffect)(()=>{var Ze;const st=Tt=>{Tt.preventDefault(),Tt.clipboardData.setData("text",window.getSelection().toString())};return(Ze=Pe.current)==null||Ze.addEventListener("copy",st),()=>{var Tt;(Tt=Pe.current)==null||Tt.removeEventListener("copy",st)}},[Pe.current]);const qe=Ze=>//i.test(Ze||"");return t.createElement("div",{style:{position:"relative"},onMouseLeave:vt},D&&t.createElement("div",{ref:Pe,className:`${_.mdBody} `},Be),!D&&!qe(Be)&&t.createElement("div",{ref:Pe,style:I({},Z),onMouseOver:Oe,className:`${w||""} ${q?"disabled-fill":""} markdown-body ${_.mdBody} ${zt.current}`,dangerouslySetInnerHTML:{__html:Be}}),!D&&qe(Be)&&t.createElement(y,{html:Be}),t.createElement("div",{ref:Qe,className:`${_.button} ${P?"":_.previewFlowChart}`},t.createElement(b.Z,null,t.createElement(l.ZP,{onClick:()=>{P?ue(et.current):(Ye(et.current),Zt("flowChart"))}},P?"\u7F16\u8F91":"\u9884\u89C8"))),t.createElement(c.Z,{close:!0,data:wt,type:wt!=null&&wt.length?At:"",style:I({},k),onClose:()=>Ye("")}))}},36295:function(m,C,e){"use strict";e.d(C,{SV:function(){return ke},ZP:function(){return xe}});var t=e(67294),n=e(91033);const u={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},o={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},i={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},f={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(` `)}]},s={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 a=e(84204),r=e.n(a),b=(Qe,et,wt)=>new Promise((Ye,At)=>{var Zt=zt=>{try{kt(wt.next(zt))}catch(rt){At(rt)}},Ct=zt=>{try{kt(wt.throw(zt))}catch(rt){At(rt)}},kt=zt=>zt.done?Ye(zt.value):Promise.resolve(zt.value).then(Zt,Ct);kt((wt=wt.apply(Qe,et)).next())});const l={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"]}},d=(Qe,et,wt,Ye)=>{const At=et.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:wt.lineNumber,endColumn:wt.column});return Array.from(new Set(At.match(/\b\w{2,}\b/g)||[])).map(Ct=>({label:Ct,kind:Qe.languages.CompletionItemKind.Text,insertText:Ct,range:Ye}))},c=(Qe,et,wt,Ye)=>{Qe.languages.registerCompletionItemProvider(et,{provideCompletionItems(At,Zt){const Ct=At.getWordUntilPosition(Zt),kt={startLineNumber:Zt.lineNumber,endLineNumber:Zt.lineNumber,startColumn:Ct.startColumn,endColumn:Ct.endColumn},zt=At.getLineContent(Zt.lineNumber).substring(Ct.startColumn-2,Ct.endColumn);return{suggestions:[...d(Qe,At,Zt,kt),...wt.map(Me=>({label:Me,kind:Qe.languages.CompletionItemKind.Keyword,documentation:Me,insertText:Me,insertTextRules:Qe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt})),...Ye.map(Me=>({label:Me.label,kind:Qe.languages.CompletionItemKind.Snippet,documentation:Me.content,insertText:zt.startsWith("#")?Me.content.replace(/#/,""):Me.content,insertTextRules:Qe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:kt}))]}}})};var p=Qe=>{l.languages.forEach(et=>{Qe.languages.registerDocumentFormattingEditProvider(et,{provideDocumentFormattingEdits(wt){return b(this,null,function*(){const Ye=r()(wt.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:wt.getFullModelRange(),text:Ye}]})}})}),c(Qe,"java",o.keywords,o.quickKey),c(Qe,"cpp",i.keywords,i.quickKey),c(Qe,"c",u.keywords,[]),c(Qe,"python",f.keywords,f.quickKey),c(Qe,"scala",s.keywords,s.quickKey)};const x="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var y=Object.defineProperty,_=(Qe,et,wt)=>et in Qe?y(Qe,et,{enumerable:!0,configurable:!0,writable:!0,value:wt}):Qe[et]=wt,v=(Qe,et,wt)=>_(Qe,typeof et!="symbol"?et+"":et,wt);const h=class e0{constructor(et,wt,Ye){this.placeholder=et,this.editor=wt,this.monaco=Ye,wt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return e0.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)}};v(h,"ID","editor.widget.placeholderHint");var S=h,g=e(84144),I=e(2453),R=e(83062),O=e(96486),L=e(33054),j=e(74855),U=Object.defineProperty,z=Object.defineProperties,T=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,F=(Qe,et,wt)=>et in Qe?U(Qe,et,{enumerable:!0,configurable:!0,writable:!0,value:wt}):Qe[et]=wt,Z=(Qe,et)=>{for(var wt in et||(et={}))w.call(et,wt)&&F(Qe,wt,et[wt]);if(P)for(var wt of P(et))D.call(et,wt)&&F(Qe,wt,et[wt]);return Qe},k=(Qe,et)=>z(Qe,T(et)),B=(Qe,et)=>{var wt={};for(var Ye in Qe)w.call(Qe,Ye)&&et.indexOf(Ye)<0&&(wt[Ye]=Qe[Ye]);if(Qe!=null&&P)for(var Ye of P(Qe))et.indexOf(Ye)<0&&D.call(Qe,Ye)&&(wt[Ye]=Qe[Ye]);return wt},G=(Qe,et,wt)=>new Promise((Ye,At)=>{var Zt=zt=>{try{kt(wt.next(zt))}catch(rt){At(rt)}},Ct=zt=>{try{kt(wt.throw(zt))}catch(rt){At(rt)}},kt=zt=>zt.done?Ye(zt.value):Promise.resolve(zt.value).then(Zt,Ct);kt((wt=wt.apply(Qe,et)).next())});function X(Qe){return/^\d+$/.test(Qe)?`${Qe}px`:Qe}function q(){}let ee=!1;const ue={"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 ce(Qe=[]){let et=Qe;if(Array.isArray(Qe)){for(let wt=0;wt{var et=Qe,{width:wt="100%",height:Ye="100%",value:At,language:Zt="javascript",style:Ct={},options:kt={},overrideServices:zt={},theme:rt="vs-dark",onEditBlur:Me,isCopy:ve=!1,onSave:Ce,autoHeight:Be=!1,forbidCopy:$e=!1,onChange:it=q,editorDidMount:Te=q,onFocus:nt=q,onBreakPoint:Pe=q,breakPointValue:Je=[],filename:de="educoder.txt",errorLine:Oe,errorContent:vt="",highlightLine:qe,openBreakPoint:Ze=!1,placeholder:st=""}=et,Tt=B(et,["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 lt=(0,t.useRef)(),pe=(0,t.useRef)({}),te=(0,t.useRef)(),se=(0,t.useRef)(),St=(0,t.useRef)([]),_e=(0,t.useRef)(!1),tt=(0,t.useRef)(),jr=(0,t.useRef)(),Ht=(0,t.useRef)(!1),[Re,Qt]=(0,t.useState)(!1);function He(){let Ke;return lt.current&&(Ke=new n.Z(gt=>{for(let ut of gt)(ut.target.offsetHeight>0||ut.target.offsetWidth>0)&&pe.current.instance.layout()}),Ke.observe(lt.current)),Ke}function xt(){I.ZP.warning({content:decodeURIComponent(x),key:"monaco-editor-tip"})}const ft=()=>{let Ke=pe.current.instance;if(At!=null&&Ke&&Re){const gt=Ke.getModel();gt&&At!==gt.getValue()&&(ee=!0,gt.setValue(At),Ke.layout(),ee=!1)}};(0,t.useEffect)(()=>{const Ke=L.Z.subscribe("formatDocument",gt=>{var ut;let Lt=pe.current.instance;(ut=Lt==null?void 0:Lt.getAction)==null||ut.call(Lt,"editor.action.formatDocument").run()});return window.updateMonacoValue=gt=>{it(gt)},Ke},[]),(0,t.useEffect)(()=>{var Ke;let gt=pe.current.instance;se.current&&clearTimeout(se.current),se.current=setTimeout(()=>{ft()},500),At&&(At!=null&&At.length)&&((Ke=gt==null?void 0:gt.updateOptions)==null||Ke.call(gt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(At.split(/\r\n|\r|\n/g).length))+3,5)}))},[At,Re,pe.current]),(0,t.useEffect)(()=>{if(Oe&&pe.current&&pe.current.instance){let gt=pe.current.instance;gt.changeViewZones(function(ut){var Lt=document.createElement("div");Lt.style.padding="10px 20px",Lt.style.width="calc(100% - 20px)",Lt.className="my-error-line-wrp",Lt.innerHTML=vt,ut.addZone({afterLineNumber:Oe||11,heightInLines:3,domNode:Lt})});var Ke={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}};gt.addOverlayWidget(Ke),gt.revealPositionInCenter({lineNumber:20,column:1})}},[Oe,pe.current,Re]);const jt=(Ke="",gt)=>{if(!Ke||Ke.trim()==="")return!0;const Lt=pe.current.instance.getModel().getLineTokens(gt);let ir=!1;for(let gr=0;gr<2;gr++)Lt.getStandardTokenType(gr)===1&&(ir=!0);return ir};(0,t.useEffect)(()=>{var Ke;const gt=(Ke=pe.current)==null?void 0:Ke.instance;if(gt&&Re&&$e){const ut=gt.onDidBlurEditorWidget(()=>{Ht.current=!1}),Lt=gt.onDidFocusEditorText(()=>{Ht.current=!0});return()=>{ut.dispose(),Lt.dispose()}}},[pe.current,Re,$e]),(0,t.useEffect)(()=>{var Ke;if((Ke=pe.current)!=null&&Ke.instance&&Re&&Ze){let gt=pe.current.instance,ut=gt.getModel();if(!ut)return;(()=>{var Qr;let dt=[],dn=[];const An=ut.getAllDecorations();for(let On of An)On.options.className==="highlighted-line"&&(dt.push((Qr=On==null?void 0:On.range)==null?void 0:Qr.startLineNumber),dn.push(On==null?void 0:On.id));if(qe===dt[0])return;ut.deltaDecorations(dn,[]);const cn=ut.getLineCount();qe&&qe<=cn&&(gt.deltaDecorations([],[{range:new ge.Range(qe,1,qe,ut.getLineMaxColumn(qe)),options:{isWholeLine:!0,className:"highlighted-line"}}]),gt.revealLineInCenter(qe))})();const ir=(Qr=!1)=>{var dt;let dn=[],An=[];const cn=ut.getAllDecorations();for(let On of cn)On.options.linesDecorationsClassName==="breakpoints-select"&&(dn.push((dt=On==null?void 0:On.range)==null?void 0:dt.startLineNumber),An.push(On==null?void 0:On.id));if(Qr)return{lines:dn,ids:An};Pe(dn)},gr=Qr=>G(void 0,null,function*(){let dt={range:new ge.Range(Qr,1,Qr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ut.deltaDecorations([],[dt]),ir()}),xr=Qr=>G(void 0,null,function*(){let dt=[];const dn=gt.getLineDecorations(Qr);for(let An of dn)An.options.linesDecorationsClassName==="breakpoints-select"&&dt.push(An.id);yield ut.deltaDecorations(dt,[]),ir()}),Yr=Qr=>{let dt=gt.getLineDecorations(Qr);for(let dn of dt)if(dn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,O.isEqual)(Je,ir(!0).lines)){ut.deltaDecorations(ir(!0).ids,[]);const Qr=Je.map(dt=>({range:new ge.Range(dt,1,dt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ut.deltaDecorations([],Qr)}const Jr=gt.onDidChangeModelContent(Qr=>{let dt=gt.getPosition();if(dt){let dn=dt.lineNumber;clearTimeout(jr.current),jr.current=setTimeout(()=>{jt(ut.getLineContent(dn),dn)?xr(dn):Yr(dn)?(xr(dn),gr(dn)):ir()},100)}}),nn=gt.onMouseDown(Qr=>{var dt,dn,An;if(Qr.target.detail&&((An=(dn=(dt=Qr.target)==null?void 0:dt.element)==null?void 0:dn.className)!=null&&An.includes("line-numbers"))){let cn=Qr.target.position.lineNumber;if(jt(ut.getLineContent(cn),cn))return;Yr(cn)?xr(cn):gr(cn)}}),ht=Qr=>{let dt={range:new ge.Range(Qr,1,Qr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};St.current=gt.deltaDecorations(St.current,[dt])},_r=()=>{St.current=gt.deltaDecorations(St.current,[])},In=gt.onMouseMove(Qr=>{var dt,dn,An;if(_r(),Qr.target.detail&&((An=(dn=(dt=Qr.target)==null?void 0:dt.element)==null?void 0:dn.className)!=null&&An.includes("line-numbers"))){let cn=Qr.target.position.lineNumber;if(jt(ut.getLineContent(cn),cn))return;ht(cn)}}),fn=gt.onMouseLeave(()=>{_r()});return()=>{Jr.dispose(),nn.dispose(),In.dispose(),fn.dispose()}}},[pe.current,Re,Je,qe,Ze,Zt]),(0,t.useEffect)(()=>{var Ke;(Ke=pe.current)!=null&&Ke.instance&&Ze&&pe.current.instance.setPosition({lineNumber:0,column:0})},[qe]);function we(){let Ke=pe.current.instance;if(Ke){const gt=Ke.getSelection(),ut=pe.current.pastePos||{},Lt=new ge.Range(ut.startLineNumber||gt.endLineNumber,ut.startColumn||gt.endColumn,ut.endLineNumber||gt.endLineNumber,ut.endColumn||gt.endColumn);setTimeout(()=>{Ke.executeEdits("",[{range:Lt,text:""}])},300)}}function Jt(Ke){(window.navigator.platform.match("Mac")?Ke.metaKey:Ke.ctrlKey)&&Ke.keyCode==83&&(Ke.preventDefault(),Ce())}const Fe=()=>{if(Be&&pe.current.instance){const Ke=pe.current.instance.getContentHeight();Gt(Ke{if(!Ht.current)return;const{keyCode:gt,ctrlKey:ut,metaKey:Lt,target:ir,type:gr}=Ke;return(gr==="paste"||(gt===67||gt===86)&&(Lt||ut))&&ir.nodeName==="TEXTAREA"&&(xt(),Ke.preventDefault()),!1};function Wt(Ke,gt){var ut=window.URL||window.webkitURL||window,Lt=new Blob([gt]),ir=document.createElementNS("http://www.w3.org/1999/xhtml","a");ir.href=ut.createObjectURL(Lt),ir.download=Ke,ar(ir)}(0,t.useEffect)(()=>{Fe()},[Fe]),(0,t.useEffect)(()=>{lt.current&&!Re&&Promise.all([e.e(5552),e.e(9651)]).then(e.bind(e,55826)).then(Ke=>{try{ge=Ke,pe.current.instance=ge.editor.create(lt.current,{value:At,language:ce(Zt),theme:rt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},zt);const gt=pe.current.instance;let ir=[...g.BH._menuItems].find(Jr=>Jr[0]._debugName=="EditorContext")[1],gr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],xr=(Jr,nn)=>{var ht,_r;let In=Jr._first;do nn.includes((_r=(ht=In.element)==null?void 0:ht.command)==null?void 0:_r.id)&&Jr._remove(In);while(In=In.next)};if(Te(gt,ge),setTimeout(()=>{Fe(),pe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Wt(de||"educoder.txt",gt.getValue())}})},500),pe.current.subscription=gt.onDidChangeModelContent(Jr=>{_e.current?clearTimeout(tt.current):(Fe(),it(gt.getValue(),Jr)),tt.current=setTimeout(()=>{_e.current=!1},500)}),window.Monaco||p(ge,ce(Zt)),$e&&(xr(ir,gr),lt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",sr),window.removeEventListener("paste",sr),window.addEventListener("keydown",sr),window.addEventListener("paste",sr)),window.Monaco=ge,Me&>.onDidBlurEditorWidget(()=>{Me(gt.getValue())}),nt&>.onDidFocusEditorText(()=>{nt(gt.getValue())}),$e)try{gt.onDidPaste(Jr=>{const nn=gt.getSelection(),ht=pe.current.pastePos||{},_r=new ge.Range(ht.startLineNumber||nn.endLineNumber,ht.startColumn||nn.endColumn,ht.endLineNumber||nn.endLineNumber,ht.endColumn||nn.endColumn);gt.executeEdits("",[{range:Jr.range,text:""}])})}catch(Jr){}let Yr=He();return st&&typeof st=="string"&&new S(st,gt,ge),Qt(!0),()=>{const Jr=pe.current.instance;Jr.dispose();const nn=Jr.getModel();nn&&nn.dispose(),pe.current.subscription&&pe.current.subscription.dispose(),Yr.unobserve(lt.current)}}catch(gt){}})},[]),(0,t.useEffect)(()=>{if(pe.current.instance&&Re)return document.addEventListener("keydown",Jt,!1),()=>{document.removeEventListener("keydown",Jt)}},[Ce,Re]),(0,t.useEffect)(()=>{let Ke=pe.current.instance;if(Ke&&Re){let gt=ce(Zt);ge.editor.setModelLanguage(Ke.getModel(),gt)}},[Zt,Re]),(0,t.useEffect)(()=>{pe.current.instance&&Re&&ge.editor.setTheme(rt)},[rt,Re]),(0,t.useEffect)(()=>{let Ke=pe.current.instance;te.current=kt,Ke&&Re&&(Ke.updateOptions(Z({},kt)),setTimeout(()=>{Ke.getModel().updateOptions(Z({},kt))},200))},[JSON.stringify(kt),Re]),(0,t.useEffect)(()=>{let Ke=pe.current.instance;Ke&&Re&&Ke.layout()},[wt,Ye,Re]);const[qt,It]=(0,t.useState)(X(wt)),[mt,Gt]=(0,t.useState)(X(Ye)),tr=k(Z({},Ct),{width:qt,height:mt,position:"relative"});return t.createElement("div",{className:"my-monaco-editor",ref:lt,style:tr},ve&&t.createElement(j.CopyToClipboard,{text:At,onCopy:()=>I.ZP.success("\u590D\u5236\u6210\u529F")},t.createElement(R.Z,{title:"\u590D\u5236\u4EE3\u7801"},t.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},t.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function ke({width:Qe="100%",height:et="100%",original:wt,modified:Ye,language:At,options:Zt={}}){const Ct=(0,t.useRef)(),[kt,zt]=(0,t.useState)(null);function rt(Be){let $e;return Ct.current&&($e=new n.Z(it=>{for(let Te of it)(Te.target.offsetHeight>0||Te.target.offsetWidth>0)&&Be.layout()}),$e.observe(Ct.current)),$e}(0,t.useEffect)(()=>(Ct.current&&Promise.all([e.e(5552),e.e(9404)]).then(e.bind(e,50048)).then(Be=>{ge=Be;const $e=ge.editor.createDiffEditor(Ct.current,k(Z({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},Zt),{wordWrap:!0}));zt($e);let it=rt($e);return()=>{$e.dispose();const Te=$e.getModel();Te&&Te.dispose(),it.unobserve(Ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,t.useEffect)(()=>{kt&&kt.setModel({original:ge.editor.createModel(wt,At),modified:ge.editor.createModel(Ye,At)})},[wt,Ye,At,kt]);const Me=X(Qe),ve=X(et),Ce={width:Me,height:ve};return t.createElement("div",{className:"my-diff-editor",ref:Ct,style:Ce})}},5728:function(m,C,e){"use strict";e.d(C,{k:function(){return p}});var t=e(91303),n=e(2453),u=e(70583),o=Object.defineProperty,i=Object.defineProperties,f=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,b=(y,_,v)=>_ in y?o(y,_,{enumerable:!0,configurable:!0,writable:!0,value:v}):y[_]=v,l=(y,_)=>{for(var v in _||(_={}))a.call(_,v)&&b(y,v,_[v]);if(s)for(var v of s(_))r.call(_,v)&&b(y,v,_[v]);return y},d=(y,_)=>i(y,f(_)),c=(y,_)=>{var v={};for(var h in y)a.call(y,h)&&_.indexOf(h)<0&&(v[h]=y[h]);if(y!=null&&s)for(var h of s(y))_.indexOf(h)<0&&r.call(y,h)&&(v[h]=y[h]);return v};const p=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],x={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[p[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${p[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[p[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${p[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:y},{call:_,put:v}){yield v({type:"save",payload:{actionTabs:l({},y)}})},*getMajorList({payload:y},{call:_,put:v,select:h}){const{userInfo:E}=yield h(S=>S.user);if(E!=null&&E.school_id){const S=yield _(t.BA,E.school_id);if(S&&S.data){const g=u.U.getItem(E==null?void 0:E.login);yield v({type:"setMajorOrYearDataSource",payload:{key:p[0],value:S.data.map(I=>({label:I.name,value:I.ec_major_school_id})),active:S.data.length>0?g[0]||S.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:y},{call:_,put:v,select:h}){const E=yield _(t.Nx,y.id),{userInfo:S}=yield h(g=>g.user);if(E&&E.data){const g=u.U.getItem(S==null?void 0:S.login);yield v({type:"setMajorOrYearDataSource",payload:{key:p[1],value:E.data.map(I=>({label:I.year,value:I.ec_year_id})),active:E.data.length>0?y.firstEnter?g[1]:E.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:y={}},{call:_,put:v,select:h}){const{calc:E,page:S,per_page:g}=y,{headerData:I,tabListData:R}=yield h(j=>j.engineeringEvaluteList),{userInfo:O}=yield h(j=>j.user);let L=I.active[p[1]];if(L){let j={id:L,page:S||1,per_page:g||R.pageSize};E&&(j=d(l({},j),{page:R.pageNo}));const U=yield _(t._y,j),z=[I.active[p[0]],I.active[p[1]]];u.U.setItem(O==null?void 0:O.login,z),U&&U.ec_courses&&(yield v({type:"setCourseResults",payload:d(l({},R),{pageNo:j.page,total:U.count,pageSize:j.per_page||R.pageSize,dataSource:U.ec_courses.map((T,P)=>d(l({},T),{key:j.page>1?(j.page-1)*j.per_page+P+1:P+1}))})}))}else yield v({type:"setCourseResults",payload:d(l({},R),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:y},{call:_,select:v}){const{headerData:h}=yield v(E=>E.engineeringEvaluteList);h.active[p[1]]&&(yield _(t.F,h.active[p[1]]))},*compute({payload:y},{call:_,put:v}){const h=y,{all:E}=h,S=c(h,["all"]),g=yield _(E?t.At:t.PX,S);g&&g.status===0?(n.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield v({type:"getCourseResults",payload:{calc:!0}})):n.ZP.error(g.message)}},reducers:{save(y,_){return l(l({},y),_.payload)},setMajorOrYearDataSource(y,{payload:_}){let v=y.headerData.active;return _.active&&(v=d(l({},v),{[_.key]:_.active})),d(l({},y),{headerData:d(l({},y.headerData),{dataSource:d(l({},y.headerData.dataSource),{[_.key]:d(l({},y.headerData.dataSource[_.key]),{dataList:_.value})}),active:v})})},setMajorOrYearActive(y,{payload:_}){return d(l({},y),{headerData:d(l({},y.headerData),{active:d(l({},y.headerData.active),{[_.key]:_.value})})})},setCourseResults(y,{payload:_}){return d(l({},y),{tabListData:l(l({},y.tabListData),_)})}},subscriptions:{setup({dispatch:y,history:_}){return _.listen(({pathname:v})=>{v==="/"&&y({type:"query"})})}}};C.Z=x},53430:function(m,C,e){"use strict";e.d(C,{L:function(){return s},r:function(){return r}});var t=Object.defineProperty,n=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,i=(b,l,d)=>l in b?t(b,l,{enumerable:!0,configurable:!0,writable:!0,value:d}):b[l]=d,f=(b,l)=>{for(var d in l||(l={}))u.call(l,d)&&i(b,d,l[d]);if(n)for(var d of n(l))o.call(l,d)&&i(b,d,l[d]);return b};const s=b=>b==null?void 0:b.map(l=>{const d=(l.sub_disciplines||[]).map(c=>({value:c.id,label:c.name}));return{value:l.id,label:l.name,children:d}}),a={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},r=b=>{if(!b)return;const{all_questions_count:l,all_score:d,single_questions:c,multiple_questions:p,judgement_questions:x,program_questions:y,completion_questions:_,subjective_questions:v,practical_questions:h,combination_questions:E}=b||{},g=[f({type:"SINGLE",name:"\u5355\u9009\u9898"},c),f({type:"MULTIPLE",name:"\u591A\u9009\u9898"},p),f({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},_),f({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},x),f({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},v),f({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},y),f({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},h),f({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},E)].filter(I=>I.questions_count>0).map((I,R)=>f(f({},I),{number:a[R+1]}));return{all_questions_count:l,all_score:d,questionList:g}}},70583:function(m,C,e){"use strict";e.d(C,{U:function(){return o},t:function(){return u}});var t=e(14446),n=e(52262);const u=(i,f="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:f,onOk:i})},o={setItem:(i,f)=>{var s;const a=i+"-engineering"+((s=(0,n.eY)())==null?void 0:s.school_id),r=JSON.stringify(f);localStorage.setItem(a,r)},getItem:i=>{var f;const s=i+"-engineering"+((f=(0,n.eY)())==null?void 0:f.school_id),a=localStorage.getItem(s);return a!==null&&a!=="[object Object]"?JSON.parse(a):[]},clear:i=>{var f;const s=i+"-engineering"+((f=(0,n.eY)())==null?void 0:f.school_id);localStorage.removeItem(s)}}},60532:function(m,C,e){"use strict";e.d(C,{$f:function(){return l},Cq:function(){return p},GY:function(){return f},I8:function(){return y},Ow:function(){return d},P:function(){return b},Ql:function(){return s},RA:function(){return h},Zm:function(){return a},bz:function(){return i},eF:function(){return x},gQ:function(){return _},ht:function(){return c},kN:function(){return E},n1:function(){return u},nI:function(){return S},o9:function(){return o},sG:function(){return r},wi:function(){return v}});var t=e(33170),n=(g,I,R)=>new Promise((O,L)=>{var j=T=>{try{z(R.next(T))}catch(P){L(P)}},U=T=>{try{z(R.throw(T))}catch(P){L(P)}},z=T=>T.done?O(T.value):Promise.resolve(T.value).then(j,U);z((R=R.apply(g,I)).next())});function u(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}/avatar.json`,{method:"put",body:g})})}function o(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}.json`,{method:"get"})})}function i(g){return n(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:g})})}function f(g){return n(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:g})})}function s(g){return n(this,null,function*(){return(0,t.ZP)(`/api/schools/${g.id}/departments/for_option.json`,{method:"get",params:g})})}function a(g){return n(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:g})})}function r(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.id}.json`,{method:"put",body:g})})}function b(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}/authentication_apply.json`,{method:"delete"})})}function l(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}/professional_auth_apply.json`,{method:"delete"})})}function d(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.id}/professional_auth_apply.json`,{method:"post",body:g})})}function c(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.id}/authentication_apply.json`,{method:"post",body:g})})}function p(g){return n(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:g})})}function x(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}/phone_bind.json`,{method:"post",body:g})})}function y(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}/email_bind.json`,{method:"post",body:g})})}function _(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.login}/password.json`,{method:"put",body:g})})}function v(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${g.basicInfoId}/open_users/${g.id}.json`,{method:"delete"})})}function h(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${g.login}/cancel_authentication.json`,{method:"post",body:g})})}function E(g){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${g.login}/cancel_professional_certification.json`,{method:"post",body:g})})}function S(g,I){return n(this,null,function*(){return(0,t.ZP)(`/api/users/${g.login}/videos/${g.id}/create_subject_video.json`,{method:"post",body:I})})}},61747:function(m,C,e){"use strict";e.d(C,{An:function(){return d},TO:function(){return r},my:function(){return l},nZ:function(){return b}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(c,p,x)=>p in c?n(c,p,{enumerable:!0,configurable:!0,writable:!0,value:x}):c[p]=x,s=(c,p)=>{for(var x in p||(p={}))o.call(p,x)&&f(c,x,p[x]);if(u)for(var x of u(p))i.call(p,x)&&f(c,x,p[x]);return c},a=(c,p,x)=>new Promise((y,_)=>{var v=S=>{try{E(x.next(S))}catch(g){_(g)}},h=S=>{try{E(x.throw(S))}catch(g){_(g)}},E=S=>S.done?y(S.value):Promise.resolve(S.value).then(v,h);E((x=x.apply(c,p)).next())});function r(c){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${c.coursesId}/inform_up.json`,{method:"post",body:s({},c)})})}function b(c){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${c.coursesId}/inform_down.json`,{method:"post",body:s({},c)})})}function l(c){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${c.coursesId}/update_informs.json`,{method:"post",body:s({},c)})})}function d(c){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${c.coursesId}/new_informs.json`,{method:"post",body:s({},c)})})}},66540:function(m,C,e){"use strict";e.d(C,{$n:function(){return x},H:function(){return p},Nm:function(){return d},Ot:function(){return c},SV:function(){return r},fc:function(){return _},mn:function(){return y},tO:function(){return l},zI:function(){return b}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(v,h,E)=>h in v?n(v,h,{enumerable:!0,configurable:!0,writable:!0,value:E}):v[h]=E,s=(v,h)=>{for(var E in h||(h={}))o.call(h,E)&&f(v,E,h[E]);if(u)for(var E of u(h))i.call(h,E)&&f(v,E,h[E]);return v},a=(v,h,E)=>new Promise((S,g)=>{var I=L=>{try{O(E.next(L))}catch(j){g(j)}},R=L=>{try{O(E.throw(L))}catch(j){g(j)}},O=L=>L.done?S(L.value):Promise.resolve(L.value).then(I,R);O((E=E.apply(v,h)).next())});function r(v){return a(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:s({},v)})})}function b(v){return a(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:s({},v)})})}function l(v){return a(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:s({},v)})})}function d(v){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${v.id}.json`,{method:"get",params:s({},v)})})}function c(v){return a(this,null,function*(){const{id:h}=v;return delete v.id,(0,t.ZP)(`/api/files/${h}.json`,{method:"put",body:s({},v)})})}function p(v){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${v.id}/update_visits.json`,{method:"post"})})}function x(v){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${v==null?void 0:v.id}/watch_list.json`,{method:"get",params:s({},v)})})}function y(v){return a(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:s({},v)})})}function _(v){return a(this,null,function*(){return(0,t.ZP)(`/api/files/${v==null?void 0:v.id}/add_file_quantity.json`,{method:"post",body:s({},v)})})}},25250:function(m,C,e){"use strict";e.d(C,{CJ:function(){return d},Mf:function(){return _},NA:function(){return x},PC:function(){return c},PP:function(){return p},YQ:function(){return y},cc:function(){return l},dI:function(){return b},yq:function(){return r}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(v,h,E)=>h in v?n(v,h,{enumerable:!0,configurable:!0,writable:!0,value:E}):v[h]=E,s=(v,h)=>{for(var E in h||(h={}))o.call(h,E)&&f(v,E,h[E]);if(u)for(var E of u(h))i.call(h,E)&&f(v,E,h[E]);return v},a=(v,h,E)=>new Promise((S,g)=>{var I=L=>{try{O(E.next(L))}catch(j){g(j)}},R=L=>{try{O(E.throw(L))}catch(j){g(j)}},O=L=>L.done?S(L.value):Promise.resolve(L.value).then(I,R);O((E=E.apply(v,h)).next())});function r(v){return a(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:s({},v)})})}function b(v){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${v.boardId}.json`,{method:"get",params:s({},v)})})}function l(v){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${v.id}/sticky_top.json`,{method:"put",body:{course_id:v.coursesId}})})}function d(v){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${v.id}/sticky_top.json`,{method:"put",body:{course_id:v.coursesId}})})}function c(v){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${v.boardId}/reply_list.json`,{method:"get",params:s({},v)})})}function p(v){return a(this,null,function*(){return(0,t.ZP)(`/api/messages/${v.boardId}/reply.json`,{method:"post",body:s({},v)})})}function x(v){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:s({},v)})})}function y(v){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:s({},v)})})}function _(v){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:s({},v)})})}},89779:function(m,C,e){"use strict";e.d(C,{$T:function(){return dt},A:function(){return jr},Ab:function(){return qr},Al:function(){return ce},BQ:function(){return nt},BR:function(){return ue},Bn:function(){return vt},Cq:function(){return fn},D4:function(){return p},DJ:function(){return Zt},Dd:function(){return g},Ds:function(){return Je},EO:function(){return Ht},Ed:function(){return Ct},F9:function(){return st},FU:function(){return lt},Fg:function(){return I},GV:function(){return ve},Gk:function(){return G},Gm:function(){return $e},Gz:function(){return R},Hf:function(){return r},Hl:function(){return O},Hn:function(){return D},ID:function(){return Yr},IU:function(){return jt},J2:function(){return rt},K$:function(){return de},KP:function(){return kt},KT:function(){return Ye},L$:function(){return St},LH:function(){return U},Lk:function(){return pn},Lm:function(){return y},Ls:function(){return Qe},MA:function(){return On},Mc:function(){return kn},N7:function(){return ee},Nd:function(){return B},Nl:function(){return ft},Ns:function(){return Jr},O3:function(){return At},Pj:function(){return Be},Q9:function(){return d},QX:function(){return xt},QZ:function(){return wt},R2:function(){return q},Rk:function(){return Qr},S9:function(){return _e},SA:function(){return x},U8:function(){return ht},UD:function(){return Lt},U_:function(){return Z},Uy:function(){return gr},V8:function(){return w},Vw:function(){return ke},W0:function(){return Jt},W7:function(){return Pe},WK:function(){return ua},Wr:function(){return We},YR:function(){return Qt},Z0:function(){return It},ZL:function(){return sr},ZT:function(){return on},ZX:function(){return vr},Z_:function(){return z},_0:function(){return T},_9:function(){return it},_B:function(){return Kn},_X:function(){return l},aP:function(){return Fe},aQ:function(){return Te},aZ:function(){return te},al:function(){return tt},bm:function(){return ut},bz:function(){return qe},c_:function(){return In},ds:function(){return gt},fN:function(){return pr},fr:function(){return Re},g4:function(){return Me},gq:function(){return L},hf:function(){return xe},i:function(){return mt},i6:function(){return An},i7:function(){return xr},iE:function(){return v},ih:function(){return er},jA:function(){return c},kW:function(){return zt},km:function(){return nn},nP:function(){return E},nQ:function(){return Ze},nX:function(){return tr},oM:function(){return Oe},oR:function(){return Qn},o_:function(){return ar},pf:function(){return Ke},pr:function(){return En},pv:function(){return dn},qB:function(){return ge},r2:function(){return P},rS:function(){return j},s:function(){return wr},sK:function(){return b},sb:function(){return se},sm:function(){return S},t1:function(){return Ce},tB:function(){return Ir},tI:function(){return ba},tR:function(){return Tt},td:function(){return we},uh:function(){return pe},up:function(){return _r},v2:function(){return h},vV:function(){return Wt},w9:function(){return k},wR:function(){return cn},yS:function(){return He},yV:function(){return X},yd:function(){return Gt},zC:function(){return ai},zg:function(){return et}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(at,Vn,Ta)=>Vn in at?n(at,Vn,{enumerable:!0,configurable:!0,writable:!0,value:Ta}):at[Vn]=Ta,s=(at,Vn)=>{for(var Ta in Vn||(Vn={}))o.call(Vn,Ta)&&f(at,Ta,Vn[Ta]);if(u)for(var Ta of u(Vn))i.call(Vn,Ta)&&f(at,Ta,Vn[Ta]);return at},a=(at,Vn,Ta)=>new Promise((wi,li)=>{var yi=wa=>{try{Ha(Ta.next(wa))}catch(fi){li(fi)}},za=wa=>{try{Ha(Ta.throw(wa))}catch(fi){li(fi)}},Ha=wa=>wa.done?wi(wa.value):Promise.resolve(wa.value).then(yi,za);Ha((Ta=Ta.apply(at,Vn)).next())});const r=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/update_group.json`,{method:"put",body:at})}),b=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/students.json`,{method:"Get",params:at})}),l=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/add_groups.json`,{method:"post",body:at})}),d=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/list_groups_by_settings.json`,{method:"post",body:at})}),c=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/groups.json`,{method:"Get",params:at})}),p=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/update_leader_permission.json`,{method:"put",body:at})}),x=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/update_group_settings`,{method:"put",body:at})}),y=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.coursesId}/group_homeworks/${at==null?void 0:at.categoryId}/group_settings.json`,{method:"Get",params:at})}),_=at=>a(void 0,null,function*(){return Fetch(`/api/homework_commons/${at==null?void 0:at.id}/test_result_setting.json`,{method:"post",body:at})}),v=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.course_id}/course_videos/configs.json`,{method:"put",body:at})}),h=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.course_id}/course_videos/list_for_config.json`,{method:"Get",params:at})}),E=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:at})}),S=at=>a(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.course_id}/homework_commons/batch_late_setting`,{method:"post",body:at})}),g=at=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:at})}),I=at=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:at})}),R=at=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:at})}),O=at=>a(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:at})});function L(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.course_id}/set_assistant_permissions.json`,{method:"post",body:s({},at.permissions)})})}function j(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.course_id}/assistant_permissions.json`,{method:"Get",params:s({},at)})})}function U(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/ai_status_query.json`,{method:"Get",params:at})})}function z(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/update_course_portrait_data.json`,{method:"post",body:s({},at)})})}function T(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/get_user_portrait_config.json`,{method:"Get",params:at})})}function P(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/update_user_portrait_config.json?id=${at.coursesId}`,{method:"put",body:s({},at)})})}function w(at){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:s({},at)})})}function D(at){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:s({},at)})})}function F(at){return a(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:s({},at)})})}function Z(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/top_banner.json`,{method:"get",params:s({},at)})})}function k(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id||at.coursesId}/left_banner.json`,{method:"get",params:s({},at)})})}function B(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/homework_commons.json`,{method:"get",params:s({},at)})})}function G(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/homework_commons/list.json`,{method:"get",params:s({},at)})})}function X(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/graduation_topics.json`,{method:"get",params:s({},at)})})}function q(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/graduation_tasks.json`,{method:"get",params:s({},at)})})}function ee(at){return a(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${at.id}/exercises.json`,{method:"get",params:s({},at)})})}function ue(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/polls.json`,{method:"get",params:s({},at)})})}function ce(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/homework_commons.json`,{method:"get",params:s({},at)})})}function ge(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/course_groups.json`,{method:"get",params:s({},at)})})}function xe(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/all_course_groups.json`,{method:"get",params:s({},at)})})}function ke(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/attendances.json`,{method:"get",params:s({},at)})})}function Qe(at){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${at.coursesId}/attendances.json`,{method:"get",params:s({},at)})})}function et(at){return a(this,null,function*(){return(0,t.ZP)(`/api/attendances/${at.id}/edit.json`,{method:"get",params:s({},at)})})}function wt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/informs.json`,{method:"get",params:s({},at)})})}function Ye(at){return a(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:s({},at)})})}function At(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/course_videos.json`,{method:"get",params:s({},at)})})}function Zt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/live_links.json`,{method:"get",params:s({},at)})})}function Ct(at){return a(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:s({},at)})})}function kt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${at.categoryId}/messages.json`,{method:"get",params:s({},at)})})}function zt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/course_groups.json`,{method:"get",params:s({},at)})})}function rt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/students.json`,{method:"get",params:s({},at)})})}function Me(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/statistics.json`,{method:"get",params:s({},at)})})}function ve(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/work_score.json`,{method:"get",params:s({},at)})})}function Ce(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/act_score.json`,{method:"get",params:s({},at)})})}function Be(at){return a(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:s({},at)})})}function $e(at){return a(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:s({},at)})})}function it(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:s({},at)})})}function Te(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:s({},at)})})}function nt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at==null?void 0:at.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:s({},at)})})}function Pe(at){return a(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:s({},at)})})}function Je(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:s({},at)})})}function de(at){return a(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:at})})}function Oe(at){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:at})})}function vt(at){return a(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:at})})}function qe(at){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:at})})}function Ze(at){return a(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:at})})}function st(at){return a(this,null,function*(){return(0,t.ZP)("/api/student_groups.json",{method:"get",params:s({page:1,limit:1e3},at)})})}function Tt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.identifier}/add_student_groups.json`,{method:"post",body:at})})}function lt(at){return a(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:at})})}function pe(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/add_teacher.json`,{method:"post",body:at})})}function te(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/add_students_by_search.json`,{method:"post",body:at})})}function se(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/set_public_or_private.json`,{method:"post",body:at})})}function St(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/set_invite_code_halt.json`,{method:"post",body:at})})}function _e(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/duplicate_course.json`,{method:"post",body:at})})}function tt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/update_end_date.json`,{method:"put",body:at})})}function jr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}.json`,{method:"delete",body:at})})}function Ht(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/settings.json`,{method:"get",params:s({},at)})})}function Re(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}.json`,{method:"put",body:at})})}function Qt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function He(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_member_act_score_async.json`,{method:"get",params:s({export:!0},at)})})}function xt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:s({export:!0},at)})})}function ft(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:s({export:!0},at)})})}function jt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_star_user.json`,{method:"get",params:s({export:!0},at)})})}function we(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_mooc_records.json`,{method:"get",params:s({export:!0},at)})})}function Jt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/export_total_course_score.json`,{method:"get",params:s({export:!0},at)})})}function Fe(at){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${at.categoryId}/export_scores.json`,{method:"get",params:s({export:!0},at)})})}function ar(at){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${at.categoryId}/export_shixun_report.json`,{method:"get",params:s({export:!0},at)})})}function sr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/export_exercise_users.json`,{method:"get",params:s({export:!0},at)})})}function Wt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/export_exercise_word.json`,{method:"get",params:s({export:!0},at)})})}function qt(at){return a(this,null,function*(){return Fetch(`/api/homework_commons/${at.categoryId}/works_list.zip`,{method:"get",params:s({export:!0},at)})})}function It(at){return a(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${at.id}.json`,{method:"delete",params:{export:!0}})})}function mt(at){return a(this,null,function*(){return(0,t.ZP)(`/api//boards/${at.id}.json`,{method:"delete",params:{export:!0}})})}function Gt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${at.id}/sticky_module.json`,{method:"get"})})}function tr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${at.id}/hidden_module.json`,{method:"get"})})}function Ke(at){return a(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:at})})}function gt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${at.id}.json`,{method:"get",params:at})})}function ut(at){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:at})})}function Lt(at){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:at})})}function ir(at){return a(this,null,function*(){return Fetch(`/api/polls/${at.categoryId}/commit_result.xlsx`,{method:"get",params:s({export:!0},at)})})}function gr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at.categoryId}/export_scores.json`,{method:"get",params:s({export:!0},at)})})}function xr(at){return(0,t.ZP)(`/api/polls/${at.categoryId}/start_answer.json`,{method:"get",params:s({},at)})}function Yr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${at.questionId}/poll_votes.json`,{method:"post",body:at})})}function Jr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${at.categoryId}/commit_poll.json`,{method:"post",body:at})})}function nn(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.courseId}/tasks_list.json`,{method:"get",params:at})})}function ht(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.courseId}/update_task_position.json`,{method:"post",body:at})})}function _r(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:at})})}function In(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/all_course_groups.json`,{method:"get",params:at})})}function fn(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/polls/all_course_groups.json`,{method:"get",params:at})})}function Qr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/students.json`,{method:"get",params:at})})}function dt(at){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${at.categoryId}/rename_group.json`,{method:"POST",body:at})})}function dn(at){return a(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${at.categoryId}.json`,{method:"delete",body:at})})}function An(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/join_course_group.json`,{method:"POST",body:at})})}function cn(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/transfer_to_course_group.json`,{method:"post",body:at})})}function On(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/delete_from_course.json`,{method:"post",body:at})})}function ua(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/join_course_group.json`,{method:"post",body:at})})}function pr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/exit_course.json`,{method:"post"})})}function vr(at){return a(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:s({},at)})})}function er(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/mooc_users/${at.user_id}/edit.json`,{method:"get",params:at})})}function wr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/mooc_users.json`,{method:"post",body:at})})}function Ir(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.coursesId}/mooc_users/${at.user_id}.json`,{method:"put",body:at})})}function We(at){return a(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${at.id}/move_category.json`,{method:"post",body:at})})}function qr(at){return a(this,null,function*(){return(0,t.ZP)(`/api/boards/${at.id}/move_category.json`,{method:"post",body:at})})}function on(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.id}/courseware.json`,{method:"get",params:at})})}function En(at,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/mark_wrong_topic.json`,{method:"get",params:Vn})})}function Kn(at,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/exercises/${at}/cancel_wrong_topic.json`,{method:"get",params:Vn})})}function Qn(at,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${at}/allow_end_group.json`,{method:"get",params:Vn})})}function kn(at,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Vn})})}function pn(at,Vn){return a(this,null,function*(){return(0,t.ZP)(`/api/tasks/${at}/get_content_for_commit_id.json`,{method:"get",params:Vn})})}function ba(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.course_id}/course_ai_info.json`,{method:"Get",params:s({},at)})})}function ai(at){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${at.course_id}/set_open_ai.json`,{method:"post",body:at})})}},78392:function(m,C,e){"use strict";e.d(C,{$M:function(){return et},$P:function(){return Pe},Ax:function(){return b},Dh:function(){return y},FU:function(){return O},GQ:function(){return D},IN:function(){return Me},JM:function(){return $e},Ju:function(){return Qe},Mn:function(){return rt},Ni:function(){return G},Pg:function(){return _},Pt:function(){return x},Qp:function(){return P},R9:function(){return L},Ux:function(){return w},Vy:function(){return ue},XJ:function(){return B},XR:function(){return xe},Ze:function(){return S},aq:function(){return E},bQ:function(){return c},bu:function(){return l},cC:function(){return r},jS:function(){return U},lm:function(){return ve},ml:function(){return Z},o3:function(){return Ye},pA:function(){return Zt},pS:function(){return Be},pU:function(){return k},ps:function(){return R},q0:function(){return kt},qN:function(){return zt},qS:function(){return p},qj:function(){return ge},qt:function(){return Te},rV:function(){return v},rZ:function(){return it},rk:function(){return q},rm:function(){return T},sK:function(){return z},sL:function(){return Ct},su:function(){return Ce},tC:function(){return ee},tO:function(){return ce},u9:function(){return F},uZ:function(){return X},vV:function(){return I},xx:function(){return Je},y8:function(){return ke},yS:function(){return g},zF:function(){return d},zc:function(){return j},zj:function(){return h},zz:function(){return nt}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(de,Oe,vt)=>Oe in de?n(de,Oe,{enumerable:!0,configurable:!0,writable:!0,value:vt}):de[Oe]=vt,s=(de,Oe)=>{for(var vt in Oe||(Oe={}))o.call(Oe,vt)&&f(de,vt,Oe[vt]);if(u)for(var vt of u(Oe))i.call(Oe,vt)&&f(de,vt,Oe[vt]);return de},a=(de,Oe,vt)=>new Promise((qe,Ze)=>{var st=pe=>{try{lt(vt.next(pe))}catch(te){Ze(te)}},Tt=pe=>{try{lt(vt.throw(pe))}catch(te){Ze(te)}},lt=pe=>pe.done?qe(pe.value):Promise.resolve(pe.value).then(st,Tt);lt((vt=vt.apply(de,Oe)).next())});const r=de=>(0,t.ZP)(`/api/competitions/${de.identifier}/create_guide.json`,{method:"post",body:de}),b=de=>(0,t.ZP)(`/api/competitions/${de.identifier}/guides.json`,{method:"get",params:de}),l=de=>(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.competition_team_id}/edit_info.json`,{method:"put",body:de});function d(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/update_result.json`,{method:"post",body:de})})}function c(de){return a(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:s({},de)})})}function p(de){return a(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:de})})}function x(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams.json`,{method:"post"})})}function y(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_staff.json`,{method:"get"})})}function _(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/common_header.json`,{method:"get"})})}function v(de){return a(this,null,function*(){return(0,t.ZP)(`/api/${de.url}`,{method:"get",params:s({},de)})})}function h(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/update_md_content.json`,{method:"post",body:de})})}function E(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams.json`,{method:"get",params:de})})}function S(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.Teannameid}/edit.json`,{method:"get",params:de})})}function g(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.Teannameid}.json`,{method:"put",body:de})})}function I(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.id}/leave.json`,{method:"post",body:de})})}function R(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.id}.json`,{method:"delete"})})}function O(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams.json`,{method:"post",body:de})})}function L(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.id}/add_managers.json`,{method:"post",body:de})})}function j(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/join.json`,{method:"post",body:de})})}function U(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/teachers.json`,{method:"get",params:de})})}function z(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/students.json`,{method:"get",params:de})})}function T(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.teamid}/crud_team_members.json`,{method:"post",body:de})})}function P(de){return a(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:de})})}function w(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/chart_rules.json`,{method:"get"})})}function D(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/charts.json`,{method:"get",params:de})})}function F(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/results.json`,{method:"get",params:de})})}function Z(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/md_tab_rules.json`,{method:"get",params:de})})}function k(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/prize.json`,{method:"get",params:de})})}function B(de){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${de.id}.json`,{method:"get",params:de})})}function G(de){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:de})})}function X(de){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${de.userid}/phone_bind.json`,{method:"post",body:de})})}function q(de){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${de.userid}/email_bind.json`,{method:"post",body:de})})}function ee(de){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${de.userid}/professional_auth_apply.json`,{method:"delete"})})}function ue(de){return a(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${de.userid}/authentication_apply.json`,{method:"delete"})})}function ce(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/prize_leader_account.json`,{method:"put",body:de})})}function ge(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.teamid}/shixun_detail.json`,{method:"get"})})}function xe(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams/${de.teamid}/course_detail.json`,{method:"get"})})}function ke(de){return a(this,null,function*(){return(0,t.ZP)(`/api/attachments/${de.id}.json`,{method:"delete"})})}function Qe(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.id}/get_certificate_info.json`,{method:"get",params:de})})}function et(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.id}/basic_setting.json`,{method:"post",body:de})})}function wt(){return a(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ye(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de}/common_header.json`,{method:"get"})})}function At(de){return a(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:de})})}function Zt(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/search_managers.json`,{method:"get",params:de})})}function Ct(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de}/get_managers.json`,{method:"get"})})}function kt(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/add_managers.json`,{method:"post",body:de})})}function zt(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/delete_managers.json`,{method:"delete",body:de})})}function rt(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de}/get_picture.json`,{method:"get"})})}function Me(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/identifier_exist.json`,{method:"post",body:de})})}function ve(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de}/get_shixun_settings.json`,{method:"get"})})}function Ce(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/shixun_add.json`,{method:"post",body:de})})}function Be(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/shixun_delete.json`,{method:"delete",body:de})})}function $e(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/shixun_select.json`,{method:"post",body:de})})}function it(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de}/info_finish.json`,{method:"get"})})}function Te(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de==null?void 0:de.id}/competition_review.json`,{method:"post",body:s({},de)})})}function nt(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_teams.json`,{method:"get",params:de})})}function Pe(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/all_team_members.json`,{method:"get",params:de})})}function Je(de){return a(this,null,function*(){return(0,t.ZP)(`/api/competitions/${de.identifier}/competition_commit_records/member_works.json`,{method:"get",params:de})})}},91303:function(m,C,e){"use strict";e.d(C,{F:function(){return p},OE:function(){return h},ff:function(){return x},p1:function(){return y},_y:function(){return c},mK:function(){return I},gq:function(){return O},eM:function(){return g},BA:function(){return U},bA:function(){return T},Nx:function(){return z},Qx:function(){return E},At:function(){return _},PX:function(){return v},Xl:function(){return S},y9:function(){return R},No:function(){return L},ay:function(){return P}});var t=e(33170),n=Object.defineProperty,u=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(w,D,F)=>D in w?n(w,D,{enumerable:!0,configurable:!0,writable:!0,value:F}):w[D]=F,r=(w,D)=>{for(var F in D||(D={}))f.call(D,F)&&a(w,F,D[F]);if(i)for(var F of i(D))s.call(D,F)&&a(w,F,D[F]);return w},b=(w,D)=>u(w,o(D)),l=(w,D)=>{var F={};for(var Z in w)f.call(w,Z)&&D.indexOf(Z)<0&&(F[Z]=w[Z]);if(w!=null&&i)for(var Z of i(w))D.indexOf(Z)<0&&s.call(w,Z)&&(F[Z]=w[Z]);return F},d=(w,D,F)=>new Promise((Z,k)=>{var B=q=>{try{X(F.next(q))}catch(ee){k(ee)}},G=q=>{try{X(F.throw(q))}catch(ee){k(ee)}},X=q=>q.done?Z(q.value):Promise.resolve(q.value).then(B,G);X((F=F.apply(w,D)).next())});const c=w=>d(void 0,null,function*(){var D=w,{id:F}=D,Z=l(D,["id"]);return(0,t.ZP)(`/api/ec_years/${F}/course_results.json`,{method:"get",params:Z})}),p=w=>{let D=document.createElement("iframe");D.src=`/api/ec_years/${w}/course_results.xlsx`,D.style.display="none",document.body.appendChild(D)},x=({ec_year_id:w})=>(0,t.ZP)(`/api/ec_years/${w}/course_results/get_class.json`,{method:"get"}),y=({ec_year_id:w,id:D,class_name:F=null})=>(0,t.ZP)(`/api/ec_years/${w}/course_results/${D}.json`,{method:"get",params:{class_name:F}}),_=({ec_year_id:w})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:w}}),v=({ec_course_id:w})=>(0,t.ZP)(`/api/ec_courses/${w}/evaluations/evaluation_data`,{method:"POST"}),h=w=>{let D=document.createElement("iframe");D.src=`/api/ec_years/${w}/ec_graduation_results.xlsx`,D.style.display="none",document.body.appendChild(D)},E=({ec_year_id:w})=>(0,t.ZP)(`/api/ec_years/${w}/ec_graduation_results/compute_all`,{method:"post"}),S=({ec_year_id:w,id:D})=>(0,t.ZP)(`/api/ec_years/${w}/ec_graduation_results/compute_single?id=${D}`,{method:"POST"}),g=w=>(0,t.ZP)(`/api/ec_years/${w}/ec_graduation_results.json`,{method:"get"}),I=w=>(0,t.ZP)(`/api/ec_years/${w}/ec_graduation_results/get_formulas.json`,{method:"get"}),R=({ec_year_id:w,formula_one:D,formula_two:F,formula_three:Z})=>(0,t.ZP)(`/api/ec_years/${w}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:D,formula_two_id:F,formula_three_id:Z}}),O=({ec_year_id:w,id:D})=>(0,t.ZP)(`/api/ec_years/${w}/ec_graduation_results/${D}.json`,{method:"get"}),L=w=>{var D=w,{ec_year_id:F,type:Z,goal_value:k}=D,B=l(D,["ec_year_id","type","goal_value"]);let G=`?type=${Z}`,X={method:"PUT"};return Z==="all"&&(G+=`&goal_value=${k}`),Z==="each"&&(X=b(r({},X),{body:B})),(0,t.ZP)(`/api/ec_years/${F}/ec_graduation_results/set_goal_value${G}`,X)};var j=(w,D,F)=>new Promise((Z,k)=>{var B=q=>{try{X(F.next(q))}catch(ee){k(ee)}},G=q=>{try{X(F.throw(q))}catch(ee){k(ee)}},X=q=>q.done?Z(q.value):Promise.resolve(q.value).then(B,G);X((F=F.apply(w,D)).next())});const U=w=>j(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${w}/ec_majors/get_major_list.json`,{method:"get"})}),z=w=>j(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${w}/ec_years/get_year_list.json`,{method:"get"})}),T=({ec_year_id:w,school_id:D})=>(0,t.ZP)(`/api/ec_years/${w}/top_pages.json`,{method:"get",params:{school_id:D}}),P=({id:w,name:D})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${w}?name=${D}`,{method:"PUT"})},15835:function(m,C,e){"use strict";e.d(C,{$Q:function(){return h},$l:function(){return xr},BJ:function(){return zt},CD:function(){return Oe},Cd:function(){return Te},Cl:function(){return we},Di:function(){return wt},FN:function(){return Yr},Fl:function(){return Zt},G$:function(){return Z},GK:function(){return At},Ip:function(){return ve},J:function(){return k},KE:function(){return Ct},L8:function(){return lt},LP:function(){return Ce},MK:function(){return Ye},Mb:function(){return Wt},N0:function(){return R},N3:function(){return ce},OL:function(){return Jr},OO:function(){return _},P8:function(){return tr},PJ:function(){return G},PT:function(){return It},Qc:function(){return L},RK:function(){return F},Ty:function(){return xt},UH:function(){return tt},UK:function(){return ge},Uj:function(){return Je},Ul:function(){return it},VL:function(){return Ze},Vj:function(){return te},W4:function(){return Pe},WL:function(){return se},Wj:function(){return D},Wm:function(){return nn},X4:function(){return Me},Xn:function(){return ar},Xo:function(){return U},YY:function(){return et},Ym:function(){return g},Yu:function(){return Ke},ZD:function(){return Gt},Zg:function(){return Jt},_B:function(){return de},_F:function(){return qt},_U:function(){return T},_u:function(){return X},aU:function(){return I},ab:function(){return jt},cC:function(){return He},cV:function(){return P},ck:function(){return mt},dp:function(){return O},eA:function(){return ir},fG:function(){return x},gA:function(){return w},gG:function(){return sr},gJ:function(){return gt},hk:function(){return d},hv:function(){return c},iB:function(){return p},iU:function(){return y},iw:function(){return Qt},kp:function(){return st},lL:function(){return v},lf:function(){return ue},n$:function(){return ee},n7:function(){return z},nF:function(){return pe},o3:function(){return ut},oS:function(){return Be},oX:function(){return qe},oy:function(){return ft},p7:function(){return S},pL:function(){return vt},pu:function(){return rt},q6:function(){return Tt},qf:function(){return Qe},qz:function(){return $e},s:function(){return Ht},sA:function(){return St},sS:function(){return Lt},tX:function(){return jr},uR:function(){return xe},ux:function(){return kt},wy:function(){return ke},xA:function(){return Re},yE:function(){return j},yu:function(){return _e},zP:function(){return E},zR:function(){return gr}});var t=e(33170),n=Object.defineProperty,u=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(ht,_r,In)=>_r in ht?n(ht,_r,{enumerable:!0,configurable:!0,writable:!0,value:In}):ht[_r]=In,r=(ht,_r)=>{for(var In in _r||(_r={}))f.call(_r,In)&&a(ht,In,_r[In]);if(i)for(var In of i(_r))s.call(_r,In)&&a(ht,In,_r[In]);return ht},b=(ht,_r)=>u(ht,o(_r)),l=(ht,_r,In)=>new Promise((fn,Qr)=>{var dt=cn=>{try{An(In.next(cn))}catch(On){Qr(On)}},dn=cn=>{try{An(In.throw(cn))}catch(On){Qr(On)}},An=cn=>cn.done?fn(cn.value):Promise.resolve(cn.value).then(dt,dn);An((In=In.apply(ht,_r)).next())});const d=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ht}),c=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ht}),p=ht=>(0,t.ZP)(`/api/exercises/${ht.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ht}),x=ht=>(0,t.ZP)(`/api/exercises/${ht.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ht}),y=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ht}),_=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ht}),v=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ht}),h=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ht}),E=ht=>(0,t.ZP)(`/api/exercises/${ht.id}/sava_exam_summary.json`,{method:"post",body:ht}),S=ht=>(0,t.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ht}),g=ht=>(0,t.ZP)(`/api/exercises/${ht.id}/generate_exam_summary.json`,{method:"post",body:ht}),I=ht=>(0,t.ZP)(`/api/exercises/${ht.id}/exam_summary_settings.json`,{method:"post",body:ht}),R=ht=>l(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.exercise_id}/review_exercise_user.json`,{method:"post",body:ht})}),O=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.id}/code_check.json`,{method:"get",params:ht}),L=ht=>(0,t.ZP)(`/api/exercises/${ht.id}/reset_pwd.json`,{method:"post",body:ht}),j=ht=>(0,t.ZP)(`/api/exercises/${ht.id}/encrypt_or_decrypt.json`,{method:"post",body:ht}),U=ht=>l(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.id}/delayed_time_or_force.json`,{method:"post",body:ht})}),z=ht=>l(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.id}/exercise_time.json`,{method:"Get",params:ht})}),T=ht=>(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.id}/exercise_question_result.json`,{method:"get",params:ht}),P=ht=>(0,t.ZP)(`/api/exercises/${ht.id}/get_question_type_alias.json`,{method:"get",params:ht});function w(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht==null?void 0:ht.id}/teacher_update.json`,{method:"post",body:r({},ht)})})}function D(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht==null?void 0:ht.id}/adjust_comment.json`,{method:"post",body:r({},ht)})})}function F(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.id}/edit_question_type_alias.json`,{method:"POST",body:ht})})}function Z(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_lists.json`,{method:"get",params:r({},ht)})})}function k(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_identity_photos.json`,{method:"get",params:r({},ht)})})}function B(ht){return l(this,null,function*(){return Fetch(`/api/exercises/${ht.categoryId}/video_push_url.json`,{method:"get",params:r({},ht)})})}function G(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/query_identity_photo_state.json`,{method:"get",params:r({},ht)})})}function X(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_result.json`,{method:"get",params:r({},ht)})})}function q(ht){return l(this,null,function*(){return Fetch(`/api/exercises/${ht.categoryId}/exercise_score_area_setting.json`,{method:"post",body:r({},ht)})})}function ee(ht){return l(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:r({},ht)})})}function ue(ht){return l(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:r({},ht)})})}function ce(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${ht.coursesId}/exercises/publish_modal.json`,{method:"get",params:r({},ht)})})}function ge(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/common_header.json`,{method:"get",params:r({},ht)})})}function xe(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${ht.coursesId}/exercises.json`,{method:"post",body:r({},ht)})})}function ke(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.exerciseId}.json`,{method:"put",body:r({},ht)})})}function Qe(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}.json`,{method:"get",params:r({},ht)})})}function et(ht){return l(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:r({},ht)})})}function wt(ht){return l(this,null,function*(){const{id:_r}=ht;return delete ht.id,(0,t.ZP)(`/api/exercise_questions/${_r}.json`,{method:"put",body:r({},ht)})})}function Ye(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_questions.json`,{method:"post",body:r({},ht)})})}function At(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht.id}/up_down.json`,{method:"post",body:r({},ht)})})}function Zt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht.id}.json`,{method:"delete"})})}function Ct(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${ht.coursesId}/exercises/end_modal.json`,{method:"get",params:r({},ht)})})}function kt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/publish_groups.json`,{method:"get",params:r({},ht)})})}function zt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.exerciseId}/user_exercise_detail.json`,{method:"get",params:r({},ht)})})}function rt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.exerciseId}/consult_exercise.json`,{method:"post",body:r({},ht)})})}function Me(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.exerciseId}/teacher_appraise.json`,{method:"get",params:r({},ht)})})}function ve(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht.id}/adjust_score.json`,{method:"post",body:r({},ht)})})}function Ce(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht.id}/batch_adjust_score.json`,{method:"post",body:r({},ht)})})}function Be(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.id}/adjust_score.json`,{method:"post",body:r({},ht)})})}function $e(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.id}/delayed_time.json`,{method:"post",body:r({},ht)})})}function it(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_setting.json`,{method:"get",params:r({},ht)})})}function Te(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${ht.categoryId}/exercise_setting.json`,{method:"get",params:r({},ht)})})}function nt(ht){return l(this,null,function*(){return Fetch(`/api/exercises/${ht.categoryId}/commit_setting.json`,{method:"post",body:r({},ht)})})}function Pe(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.exerciseId}/review_exercises_by_students.json`,{method:"post",body:r({},ht)})})}function Je(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_lists.xlsx`,{method:"get",params:b(r({},ht),{export:!0})})})}function de(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/user_exercise_detail.json`,{method:"get",params:b(r({},ht),{login:null})})}function Oe(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/start.json`,{method:"get",params:r({},ht)})}function vt(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/start_unlock.json`,{method:"post",body:r({},ht)})}function qe(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht.questionId}/exercise_answers.json`,{method:"post",body:ht})})}function Ze(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/commit_exercise.json`,{method:"post",body:ht})})}function st(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ht})})}function Tt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/redo_exercise.json`,{method:"post",body:ht})})}function lt(ht){return(0,t.ZP)(`/api/${ht.url}`,{method:"get",params:r({},ht)})}function pe(ht){return(0,t.ZP)(`/api/problems/${ht.id}/start.json`,{method:"get",params:r({},ht)})}function te(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/begin_commit.json`,{method:"get",params:r({},ht)})}function se(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/simulate_begin_commit.json`,{method:"get",params:r({},ht)})}function St(ht){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:r({},ht)})}function _e(ht){return console.log("params:",ht),(0,t.ZP)(`/api/exercises/${ht.categoryId}/edit.json`,{method:"get",params:r({},ht)})}function tt(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/get_objective_scores.json`,{method:"get",params:r({},ht)})}function jr(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/redo_modal.json`,{method:"get",params:r({},ht)})}function Ht(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/student_redo_lists.json`,{method:"get",params:r({},ht)})}function Re(ht){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ht})}function Qt(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/exercise_header.json`,{method:"get",params:r({},ht)})}function He(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/allow_close_camera.json`,{method:"post",body:r({},ht)})}function xt(ht){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/get_exercise_user_info.json`,{method:"get",params:r({},ht)})}function ft(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/record_screen`,{method:"post",params:r({},ht)})}function jt(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/unbind_ip.json`,{method:"post",body:r({},ht)})}function we(ht){return(0,t.ZP)(`/api/exercises/${ht.id}/check_ip.json`,{method:"get",params:r({},ht)})}function Jt(ht){return(0,t.ZP)(`/api/exercises/${ht==null?void 0:ht.id}/check_user_exercise.json`,{method:"get",params:r({},ht)})}function Fe(ht){return Fetch(`/api/exercises/${ht.id}/make_up_students.json`,{method:"get",params:r({},ht)})}function ar(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${ht.coursesId}/exercises/code_review_detail.json`,{method:"get",params:r({},ht)})})}function sr(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht.question_id}/adjust_score.json`,{method:"post",body:r({},ht)})})}function Wt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ht.categoryId}/simulate_exercise.json`,{method:"post",body:r({},ht)})})}function qt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/simulate_start_answer.json`,{method:"get",params:r({},ht)})})}function It(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/exercise_time.json`,{method:"get",params:r({},ht)})})}function mt(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht.categoryId}/commit_screen_at.json`,{method:"post",body:r({},ht)})})}function Gt(ht,_r){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht}/unlock_user`,{method:"post",body:_r})})}function tr(ht,_r){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht}/save_screen_record.json`,{method:"post",body:_r})})}function Ke(ht,_r){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht}/screen_record_list.json`,{method:"get",params:_r})})}function gt(ht){return l(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:r({},ht)})})}function ut(ht){return l(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:ht})})}function Lt(ht,_r){return l(this,null,function*(){return(0,t.ZP)(`/api/exercises/${ht}/mark.json`,{method:"post",body:_r})})}function ir(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${ht}/exit_delete_pod.json`,{method:"post",body:ht})})}function gr(ht){return l(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ht})})}function xr(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${ht==null?void 0:ht.id}/send_to_item_bank.json`,{method:"post",body:r({},ht)})})}function Yr(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${ht.exercise_id}/wrong_details.json`,{method:"get",params:r({},ht)})})}function Jr(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${ht.exercise_id}/wrong_question.json`,{method:"get",params:r({},ht)})})}function nn(ht){return l(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${ht.exercise_id}/wrong_question_lists.json`,{method:"get",params:r({},ht)})})}},13703:function(m,C,e){"use strict";e.d(C,{B0:function(){return l},Si:function(){return _},Sr:function(){return h},YP:function(){return v},b4:function(){return y},bc:function(){return r},dX:function(){return x},eh:function(){return E},iI:function(){return c},kd:function(){return b},qR:function(){return p},sW:function(){return d},ts:function(){return g},vL:function(){return S},z5:function(){return I}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(R,O,L)=>O in R?n(R,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):R[O]=L,s=(R,O)=>{for(var L in O||(O={}))o.call(O,L)&&f(R,L,O[L]);if(u)for(var L of u(O))i.call(O,L)&&f(R,L,O[L]);return R},a=(R,O,L)=>new Promise((j,U)=>{var z=w=>{try{P(L.next(w))}catch(D){U(D)}},T=w=>{try{P(L.throw(w))}catch(D){U(D)}},P=w=>w.done?j(w.value):Promise.resolve(w.value).then(z,T);P((L=L.apply(R,O)).next())});function r(R){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:R})})}function b(R){return a(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:R})})}function l(R){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${R.id}/sticky_or_cancel.json`,{method:"post",body:R})})}function d(R){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${R.id}.json`,{method:"delete",body:R})})}function c(R){return a(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:R})})}function p(R){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${R.id}/edit.json`,{method:"get",params:R})})}function x(R){return a(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:s({},R)})})}function y(R){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${R.id}.json`,{method:"put",body:s({},R)})})}function _(R){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${R.id}.json`,{method:"get",params:R})})}function v(R){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${R.user_id}/watch.json`,{method:"post",body:R})})}function h(R){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${R.user_id}/watch.json`,{method:"delete",body:s({},R)})})}function E(R){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${R.id}/reward_code.json`,{method:"post",body:R})})}function S(R){return a(this,null,function*(){return(0,t.ZP)(`/api/discusses/${R.id}/plus.json`,{method:"post",body:R})})}function g(R){return a(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:R})})}function I(R){return a(this,null,function*(){return(0,t.ZP)(`/api/memos/${R.id}/more_reply.json`,{method:"get",params:R})})}},34562:function(m,C,e){"use strict";e.d(C,{D2:function(){return r},n0:function(){return b},tk:function(){return l}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(d,c,p)=>c in d?n(d,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):d[c]=p,s=(d,c)=>{for(var p in c||(c={}))o.call(c,p)&&f(d,p,c[p]);if(u)for(var p of u(c))i.call(c,p)&&f(d,p,c[p]);return d},a=(d,c,p)=>new Promise((x,y)=>{var _=E=>{try{h(p.next(E))}catch(S){y(S)}},v=E=>{try{h(p.throw(E))}catch(S){y(S)}},h=E=>E.done?x(E.value):Promise.resolve(E.value).then(_,v);h((p=p.apply(d,c)).next())});function r(d){return a(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get",params:s({},d)})})}function b(){return a(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function l(d){return a(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:d})})}},49711:function(m,C,e){"use strict";e.d(C,{B6:function(){return l},Gr:function(){return g},Mf:function(){return h},NA:function(){return _},PC:function(){return x},PP:function(){return y},QA:function(){return b},RP:function(){return O},Sv:function(){return R},YQ:function(){return v},_n:function(){return L},hL:function(){return S},je:function(){return p},mM:function(){return c},wA:function(){return I},x_:function(){return d},y0:function(){return E},y3:function(){return r}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(j,U,z)=>U in j?n(j,U,{enumerable:!0,configurable:!0,writable:!0,value:z}):j[U]=z,s=(j,U)=>{for(var z in U||(U={}))o.call(U,z)&&f(j,z,U[z]);if(u)for(var z of u(U))i.call(U,z)&&f(j,z,U[z]);return j},a=(j,U,z)=>new Promise((T,P)=>{var w=Z=>{try{F(z.next(Z))}catch(k){P(k)}},D=Z=>{try{F(z.throw(Z))}catch(k){P(k)}},F=Z=>Z.done?T(Z.value):Promise.resolve(Z.value).then(w,D);F((z=z.apply(j,U)).next())});function r(j){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${j.categoryId}.json`,{method:"get",params:s({},j)})})}function b(j){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${j.categoryId}/tasks_list.json`,{method:"get",params:s({},j)})})}function l(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/${j.categoryId}/show_detail.json`,{method:"get",params:s({},j)})})}function d(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/${j.categoryId}.json`,{method:"get",params:s({},j)})})}function c(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/${j.categoryId}/refuse_student_topic.json`,{method:"post",body:s({},j)})})}function p(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/${j.categoryId}/accept_student_topic.json`,{method:"post",body:s({},j)})})}function x(j){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${j.categoryId}/show_comment.json`,{method:"get",params:s({},j)})})}function y(j){return a(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:s({},j)})})}function _(j){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:s({},j)})})}function v(j){return a(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:s({},j)})})}function h(j){return a(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:s({},j)})})}function E(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/new.json`,{method:"get",params:s({},j)})})}function S(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/${j.categoryId}/edit.json`,{method:"get",params:s({},j)})})}function g(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics`,{method:"post",body:s({},j)})})}function I(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_topics/${j.categoryId}`,{method:"put",body:s({},j)})})}function R(j){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_tasks`,{method:"post",body:s({},j)})})}function O(j){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${j.categoryId}.json`,{method:"put",body:s({},j)})})}function L(j){return a(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${j.categoryId}/edit.json`,{method:"get",params:s({},j)})})}},73983:function(m,C,e){"use strict";e.d(C,{AA:function(){return I},Db:function(){return b},Dd:function(){return p},F7:function(){return z},Fi:function(){return Z},H3:function(){return c},HF:function(){return y},HH:function(){return d},Ib:function(){return w},J3:function(){return f},NT:function(){return u},NX:function(){return v},Ot:function(){return _},Ou:function(){return T},Ps:function(){return o},Rk:function(){return U},Tz:function(){return r},V1:function(){return D},Wz:function(){return i},Xh:function(){return l},Xw:function(){return j},YS:function(){return O},Zd:function(){return F},bS:function(){return h},ck:function(){return x},eh:function(){return g},il:function(){return s},j7:function(){return a},jW:function(){return R},km:function(){return L},l5:function(){return S},rU:function(){return k},xF:function(){return E},zC:function(){return P},zT:function(){return B}});var t=e(33170),n=(G,X,q)=>new Promise((ee,ue)=>{var ce=ke=>{try{xe(q.next(ke))}catch(Qe){ue(Qe)}},ge=ke=>{try{xe(q.throw(ke))}catch(Qe){ue(Qe)}},xe=ke=>ke.done?ee(ke.value):Promise.resolve(ke.value).then(ce,ge);xe((q=q.apply(G,X)).next())});function u(G){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:G})}function o(G){return(0,t.ZP)(`/api/schools/${G.id}/departments/for_option.json`,{method:"get",params:G})}function i(G){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:G})}function f(G){return(0,t.ZP)("/api/graduations.json",{method:"get",params:G})}function s(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.stageid}/authorized_redelivery.json`,{method:"POST",body:G})})}function a(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.stageid}/submit.json`,{method:"POST",body:G})})}function r(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/export_status.json`,{method:"get",params:G})})}function b(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/export_all_attachments.json`,{method:"get",params:G})})}function l(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.id}.json`,{method:"get",params:G})})}function d(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/set_final_score.json`,{method:"POST",body:G})})}function c(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/final_score.json`,{method:"get",params:G})})}function p(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/set_novice_guide.json`,{method:"POST",body:G})})}function x(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_notices/${G.doid}/set_do.json`,{method:"POST",body:G})})}function y(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers.json`,{method:"POST",body:G})})}function _(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_students/${G.id}/update_major.json`,{method:"PUT",body:G})})}function v(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students.json`,{method:"POST",body:G})})}function h(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers/search.json`,{method:"get",params:G})})}function E(G){return n(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:G})})}function S(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students/search.json`,{method:"get",params:G})})}function g(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students.json`,{method:"get",params:G})})}function I(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers.json`,{method:"get",params:G})})}function R(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.graduation_id}/graduation_tasks.json`,{method:"POST",body:G})})}function O(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.graduation_id}/graduation_tasks/${G.id}.json`,{method:"PUT",body:G})})}function L(G){return n(this,null,function*(){var X;return(0,t.ZP)(`/api/graduations/${G.id}/graduation_tasks/${(X=G.ids)==null?void 0:X[0]}`,{method:"DELETE",body:{ids:G.ids}})})}function j(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_tasks.json`,{method:"get",params:G})})}function U(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_notices.json`,{method:"get",params:G})})}function z(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}.json`,{method:"get"})})}function T(G){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G==null?void 0:G.id}/common_header.json`,{method:"get"})})}function P(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/preview.json`,{method:"get"})})}function w(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/not_pass.json`,{method:"post",body:X})})}function D(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/pass.json`,{method:"post",body:X})})}function F(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/not_pass.json`,{method:"post",body:X})})}function Z(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/pass.json`,{method:"post",body:X})})}function k(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/batch_delete`,{method:"delete",body:X})})}function B(G,X){return n(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/batch_delete`,{method:"delete",body:X})})}},51710:function(m,C,e){"use strict";e.d(C,{LA:function(){return b},NX:function(){return c},Rm:function(){return i},S_:function(){return l},Tt:function(){return s},Yu:function(){return x},Zz:function(){return d},cR:function(){return a},eX:function(){return o},h$:function(){return f},su:function(){return p},vm:function(){return r}});var t=e(33170),n=(y,_,v)=>new Promise((h,E)=>{var S=R=>{try{I(v.next(R))}catch(O){E(O)}},g=R=>{try{I(v.throw(R))}catch(O){E(O)}},I=R=>R.done?h(R.value):Promise.resolve(R.value).then(S,g);I((v=v.apply(y,_)).next())});const u=y=>n(void 0,null,function*(){return Fetch("/api/platform_systems.json",{method:"Get",params:y})}),o=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/env_detail.json",{method:"Get",params:y})}),i=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/env_list.json",{method:"Get",params:y})}),f=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/online_list.json",{method:"Get",params:y})});function s(){return n(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function a(y){return n(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:y})})}function r(y){return n(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:y})})}function b(y){return n(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function l(y){return n(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:y})})}const d=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/add_teacher.json",{method:"post",body:y})}),c=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/remove_teacher.json",{method:"delete",body:y})}),p=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/teacher_list.json",{method:"get",params:y})}),x=y=>n(void 0,null,function*(){return(0,t.ZP)("/api/home/data.json",{method:"get",params:y})})},21450:function(m,C,e){"use strict";e.d(C,{AD:function(){return r},Ig:function(){return b},Ko:function(){return c},QJ:function(){return p},Ub:function(){return x},V8:function(){return l},dl:function(){return y},w0:function(){return d}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(_,v,h)=>v in _?n(_,v,{enumerable:!0,configurable:!0,writable:!0,value:h}):_[v]=h,s=(_,v)=>{for(var h in v||(v={}))o.call(v,h)&&f(_,h,v[h]);if(u)for(var h of u(v))i.call(v,h)&&f(_,h,v[h]);return _},a=(_,v,h)=>new Promise((E,S)=>{var g=O=>{try{R(h.next(O))}catch(L){S(L)}},I=O=>{try{R(h.throw(O))}catch(L){S(L)}},R=O=>O.done?E(O.value):Promise.resolve(O.value).then(g,I);R((h=h.apply(_,v)).next())});function r(_){return a(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:s({},_)})})}function b(_){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${_.userId}/unread_message_info.json`,{method:"get",params:s({},_)})})}function l(_){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${_.userId}/private_messages.json`,{method:"get",params:s({},_)})})}function d(_){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${_.userId}/private_messages.json`,{method:"post",body:s({},_)})})}function c(_){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${_.id}/recent_contacts.json`,{method:"get",params:s({},_)})})}function p(_){return a(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:s({},_)})})}function x(_){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${_.userId}/private_message_details.json`,{method:"get",params:s({},_)})})}function y(_){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${_.userId}/private_messages/${_.id}.json`,{method:"delete"})})}},36600:function(m,C,e){"use strict";e.d(C,{A2:function(){return p},CI:function(){return l},Ep:function(){return c},Ex:function(){return E},R7:function(){return r},WW:function(){return S},_V:function(){return h},ms:function(){return _},s0:function(){return x},vf:function(){return d},xn:function(){return b},yy:function(){return v}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(g,I,R)=>I in g?n(g,I,{enumerable:!0,configurable:!0,writable:!0,value:R}):g[I]=R,s=(g,I)=>{for(var R in I||(I={}))o.call(I,R)&&f(g,R,I[R]);if(u)for(var R of u(I))i.call(I,R)&&f(g,R,I[R]);return g},a=(g,I,R)=>new Promise((O,L)=>{var j=T=>{try{z(R.next(T))}catch(P){L(P)}},U=T=>{try{z(R.throw(T))}catch(P){L(P)}},z=T=>T.done?O(T.value):Promise.resolve(T.value).then(j,U);z((R=R.apply(g,I)).next())});function r(g){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/online_learning.json`,{method:"get"})})}function b(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}.json`,{method:"put",body:g})})}function l(g){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/course_stages.json`,{method:"post",body:g})})}function d(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}/add_shixun_to_stage.json`,{method:"post",body:g})})}function c(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}/select_shixun_to_stage.json`,{method:"post",body:g})})}function p(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}/add_video_to_stage.json`,{method:"post",body:g})})}function x(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}/add_attachment_to_stage.json`,{method:"post",body:g})})}function y(g){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:g})})}function _(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}/up_position.json`,{method:"post"})})}function v(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}/down_position.json`,{method:"post"})})}function h(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.id}.json`,{method:"delete"})})}function E(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.stage_id}/items/move_position.json`,{method:"post",body:s({},g)})})}function S(g){return a(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${g.stage_id}/items/${g.id}`,{method:"delete"})})}},56443:function(m,C,e){"use strict";e.d(C,{DF:function(){return p},Di:function(){return D},Dm:function(){return U},Dq:function(){return q},Gd:function(){return c},Hb:function(){return ee},Hm:function(){return O},ID:function(){return a},JP:function(){return X},NC:function(){return I},Pl:function(){return x},Qc:function(){return o},Qp:function(){return z},RK:function(){return b},YP:function(){return R},a2:function(){return f},ar:function(){return d},cV:function(){return r},d1:function(){return l},dp:function(){return u},fn:function(){return y},iT:function(){return E},jK:function(){return j},kF:function(){return ue},kp:function(){return h},lc:function(){return v},oF:function(){return Z},q$:function(){return s},qN:function(){return L},tS:function(){return _},ts:function(){return S},un:function(){return P},w0:function(){return w},wX:function(){return T},yE:function(){return i}});var t=e(33170),n=(ce,ge,xe)=>new Promise((ke,Qe)=>{var et=At=>{try{Ye(xe.next(At))}catch(Zt){Qe(Zt)}},wt=At=>{try{Ye(xe.throw(At))}catch(Zt){Qe(Zt)}},Ye=At=>At.done?ke(At.value):Promise.resolve(At.value).then(et,wt);Ye((xe=xe.apply(ce,ge)).next())});const u=ce=>(0,t.ZP)(`/api/examination_banks/${ce==null?void 0:ce.id}/code_check.json`,{method:"get",params:ce}),o=ce=>(0,t.ZP)(`/api/examination_banks/${ce.id}/reset_pwd.json`,{method:"post",body:ce}),i=ce=>(0,t.ZP)(`/api/examination_banks/${ce.id}/encrypt_or_decrypt.json`,{method:"post",body:ce}),f=ce=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:ce}),s=ce=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:ce}),a=ce=>(0,t.ZP)(`/api/examination_banks/${ce.id}/copy.json`,{method:"post",body:ce}),r=ce=>(0,t.ZP)(`/api/examination_banks/${ce.id}/get_question_type_alias.json`,{method:"get",params:ce});function b(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/edit_question_type_alias.json`,{method:"POST",body:ce})})}function l(ce){return n(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:ce})})}function d(ce){return n(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:ce})})}function c(ce){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:ce})})}function p(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/set_public.json`,{method:"post"})})}function x(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/set_private.json`,{method:"post"})})}function y(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}.json`,{method:"delete"})})}function _(ce){return n(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:ce})})}const v=ce=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:ce});function h(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/send_to_course.json`,{method:"post",body:ce})})}function E(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}.json`,{method:"get",params:ce})})}function S(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/examination_banks_item_banks/${ce.itemId}/set_score`,{method:"post",body:ce})})}function g(ce){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ce.id}/examination_banks_item_banks/${ce.itemId}/set_shixun_score.json`,{method:"post",body:ce})})}function I(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/examination_banks_item_banks/${ce.itemId}.json`,{method:"delete"})})}function R(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:ce})})}function O(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:ce})})}function L(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/examination_banks_item_banks/${ce.itemId}/adjust_position.json`,{method:"post",body:ce})})}function j(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}.json`,{method:"put",body:ce})})}function U(ce){return n(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:ce})})}function z(ce){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:ce})})}function T(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce==null?void 0:ce.id}/set_public.json`,{method:"post",body:ce})})}function P(ce){return n(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:ce})})}function w(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/update_exam.json`,{method:"put",body:ce})})}function D(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/edit_exam.json`,{method:"get"})})}function F(ce,ge){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ce}/examination_banks_item_banks.json`,{method:"post",body:ge})})}function Z(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:ce})})}function k(ce,ge){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ce}/sort_question_type.json`,{method:"post",body:ge})})}function B(ce){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ce.exam_id}/examination_banks_item_banks/${ce.question_id}.json`,{method:"delete"})})}function G(ce,ge){return n(this,null,function*(){return Fetch(`/api/examination_banks/${ce}/batch_set_score.json`,{method:"post",body:ge})})}function X(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce}/simulate_exercise.json`,{method:"post"})})}function q(ce){return n(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${ce}/exercise_header.json`,{method:"get"})})}function ee(ce,ge,xe){return n(this,null,function*(){const ke=new FormData;return ke.append("file",ge),ke.append("sub_discipline_id",xe),(0,t.ZP)(`/api/examination_banks/${ce}/import_item_banks.json`,{method:"post",body:ke},!0)})}function ue(ce){return n(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:ce})})}},93671:function(m,C,e){"use strict";e.d(C,{$D:function(){return T},A2:function(){return Ce},A7:function(){return Ht},AP:function(){return fn},AQ:function(){return I},Ax:function(){return Oe},Az:function(){return In},Bn:function(){return He},Bz:function(){return Qr},CB:function(){return tr},CI:function(){return Te},Cc:function(){return nn},D$:function(){return Gt},DQ:function(){return St},DU:function(){return Ct},EG:function(){return sr},EP:function(){return z},Ep:function(){return ve},Er:function(){return X},Eu:function(){return qt},Ex:function(){return Ze},FD:function(){return _e},F_:function(){return Zt},Fg:function(){return b},GY:function(){return pe},Go:function(){return k},Gz:function(){return l},Hl:function(){return d},Ho:function(){return jt},JS:function(){return ke},Jd:function(){return Lt},Ju:function(){return gr},KM:function(){return D},M1:function(){return Yr},M2:function(){return $e},MO:function(){return q},Mk:function(){return _r},Mt:function(){return it},Mu:function(){return vt},NV:function(){return Qt},O9:function(){return Fe},PQ:function(){return Ke},Q:function(){return ee},S$:function(){return It},Sp:function(){return g},VO:function(){return tt},WD:function(){return lt},WO:function(){return G},WW:function(){return st},YP:function(){return ut},_C:function(){return Re},_V:function(){return de},b:function(){return mt},bw:function(){return U},bz:function(){return se},c2:function(){return ir},c3:function(){return xe},dX:function(){return ft},eJ:function(){return Z},ef:function(){return At},fh:function(){return y},fj:function(){return B},hS:function(){return c},id:function(){return ht},jT:function(){return jr},j_:function(){return xt},ke:function(){return Tt},lk:function(){return S},mB:function(){return xr},mE:function(){return we},mQ:function(){return E},ms:function(){return Pe},mx:function(){return ce},nq:function(){return r},ol:function(){return te},p:function(){return O},p4:function(){return ue},pU:function(){return h},pf:function(){return Wt},rS:function(){return Qe},rs:function(){return F},s0:function(){return Be},se:function(){return gt},sm:function(){return ge},tS:function(){return p},tu:function(){return v},ue:function(){return R},vf:function(){return rt},w4:function(){return L},wA:function(){return Jr},wv:function(){return Jt},xG:function(){return Me},xn:function(){return zt},yN:function(){return j},yy:function(){return Je},zc:function(){return ar}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(dt,dn,An)=>dn in dt?n(dt,dn,{enumerable:!0,configurable:!0,writable:!0,value:An}):dt[dn]=An,s=(dt,dn)=>{for(var An in dn||(dn={}))o.call(dn,An)&&f(dt,An,dn[An]);if(u)for(var An of u(dn))i.call(dn,An)&&f(dt,An,dn[An]);return dt},a=(dt,dn,An)=>new Promise((cn,On)=>{var ua=er=>{try{vr(An.next(er))}catch(wr){On(wr)}},pr=er=>{try{vr(An.throw(er))}catch(wr){On(wr)}},vr=er=>er.done?cn(er.value):Promise.resolve(er.value).then(ua,pr);vr((An=An.apply(dt,dn)).next())});const r=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:dt})}),b=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:dt})}),l=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:dt})}),d=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:dt})}),c=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:dt})});function p(dt){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:s({},dt)})})}function x(dt){return a(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:s({},dt)})})}function y(dt){return a(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:s({},dt)})})}function _(){return a(this,null,function*(){return Fetch("/api/paths/platform_systems.json",{method:"get"})})}function v(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}.json`,{method:"PUT",body:dt})})}function h(dt){return a(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:dt})})}function E(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/edit.json`,{method:"get"})})}function S(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}.json`,{method:"get",params:s({identifier:dt.id},dt)})})}function g(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${dt.id}.json`,{method:"get",params:s({identifier:dt.id},dt)})})}function I(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/right_banner.json`,{method:"get",params:dt})})}function R(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/spoc_courses.json`,{method:"get",params:dt})})}const O=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:dt})}),L=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${dt.id}/children.json`,{method:"Get",params:dt})});function j(dt){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:dt})})}function U(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/update_team_title.json`,{method:"post",body:dt})})}function z(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/delete_member.json`,{method:"Delete",body:dt})})}function T(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/spoc_courses/${dt==null?void 0:dt.courseid}.json`,{method:"Delete"})})}function P(dt){return a(this,null,function*(){return Fetch(`/api/paths/${dt.id}/up_member_position.json`,{method:"post",body:dt})})}function w(dt){return a(this,null,function*(){return Fetch(`/api/paths/${dt.id}/down_member_position.json`,{method:"post",body:dt})})}function D(dt){return a(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:dt})})}function F(dt){return a(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:dt})})}function Z(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}.json`,{method:"Delete",body:dt})})}function k(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/publish.json`,{method:"post",body:dt})})}function B(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/cancel_publish.json`,{method:"post",body:dt})})}function G(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/apply_public.json`,{method:"post",body:dt})})}function X(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/cancel_public.json`,{method:"post",body:dt})})}function q(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/choose_course.json`,{method:"get",params:dt})})}function ee(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/send_to_course.json`,{method:"post",body:dt})})}function ue(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${dt.id}/send_to_course.json`,{method:"post",body:dt})})}function ce(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/add_subject_members.json`,{method:"post",body:dt})})}function ge(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/spoc_courses.json`,{method:"post",body:dt})})}function xe(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/appointment.json`,{method:"post",body:dt})})}function ke(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${dt.id}/join_excellent_course.json`,{method:"post",body:dt})})}function Qe(dt){return a(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:dt})})}function et(dt){return a(this,null,function*(){return Fetch(`/api/paths/${dt.id}/statistics_info.json`,{method:"get",params:dt})})}function wt(dt){return a(this,null,function*(){return Fetch(`/api/paths/${dt.id}/shixun_analyze.json`,{method:"get",params:dt})})}function Ye(dt){return a(this,null,function*(){return Fetch(`/api/paths/${dt.id}/learning_analyze.json`,{method:"get",params:dt})})}function At(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/learning_statistics.json`,{method:"get",params:dt})})}function Zt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/shixun_statistics.json`,{method:"get",params:dt})})}function Ct(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/study_analyze/${dt.type}.json`,{method:"get",params:dt})})}function kt(dt){return a(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:dt})})}function zt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}.json`,{method:"put",body:dt})})}function rt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/add_shixun_to_stage.json`,{method:"post",body:dt})})}const Me=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${dt==null?void 0:dt.stage_id}/select_challenge_to_stage.json`,{method:"post",body:dt})});function ve(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/select_shixun_to_stage.json`,{method:"post",body:dt})})}function Ce(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/add_video_to_stage.json`,{method:"post",body:dt})})}function Be(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/add_attachment_to_stage.json`,{method:"post",body:dt})})}function $e(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${dt.id}.json`,{method:"put",body:dt})})}function it(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/add_blank_to_stage.json`,{method:"post",body:dt})})}function Te(dt){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:dt})})}function nt(dt){return a(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:dt})})}function Pe(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/up_position.json`,{method:"get"})})}function Je(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}/down_position.json`,{method:"get"})})}function de(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.id}.json`,{method:"delete"})})}function Oe(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.pathId}/discusses.json`,{method:"get",params:s({},dt)})})}function vt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${dt.coursesId}/excellent_discusses.json`,{method:"get",params:s({},dt)})})}function qe(dt){return a(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:s({},dt)})})}function Ze(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.stage_id}/items/move_position`,{method:"post",body:s({},dt)})})}function st(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt.stage_id}/items/${dt.id}`,{method:"delete"})})}function Tt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${dt.id}/excellent_discuss`,{method:"post",body:s({},dt)})})}function lt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/paths/${dt.id}/post_discuss`,{method:"post",body:s({},dt)})})}function pe(dt){return a(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:dt})})}function te(dt){return a(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:dt})})}function se(dt){return a(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:dt})})}function St(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt==null?void 0:dt.id}/add_homework_to_stage.json`,{method:"post",body:dt})})}function _e(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${dt==null?void 0:dt.id}/edit.json`,{method:"get",params:dt})})}function tt(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${dt==null?void 0:dt.id}.json`,{method:"put",body:dt})})}function jr(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${dt==null?void 0:dt.user_id}/subjects/subject_homework.json`,{method:"get",params:dt})})}function Ht(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${dt==null?void 0:dt.user_id}/courses/course_homework.json`,{method:"get",params:dt})})}function Re(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/stages/${dt==null?void 0:dt.id}/batch_add_homework_to_stage.json`,{method:"post",body:dt})})}function Qt(dt){return a(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:dt})})}function He(dt){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${dt==null?void 0:dt.user_login}/subjects/cancel.json`,{method:"get",params:dt})})}const xt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:dt})}),ft=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:dt})}),jt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:dt})}),we=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:dt})}),Jt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"POST",body:dt})}),Fe=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:dt})}),ar=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:dt})}),sr=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}.json`,{method:"PUT",body:dt})}),Wt=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}.json`,{method:"delete",body:dt})}),qt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals/home.json",{method:"get",params:dt})}),It=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/statistic_lists.json",{method:"get",params:dt})}),mt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/route_statistics.json",{method:"get",params:dt})}),Gt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/update_statistic.json",{method:"get",params:dt})}),tr=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"POST",body:dt})}),Ke=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_tags/${dt==null?void 0:dt.id}.json`,{method:"delete",body:dt})}),gt=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}/edit`,{method:"get",params:dt})}),ut=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"get",params:dt})}),Lt=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"get",params:dt})}),ir=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:dt})}),gr=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}/detail.json`,{method:"get",params:dt})}),xr=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_detail.json",{method:"get",params:dt})}),Yr=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/student_detail.json",{method:"get",params:dt})}),Jr=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_graph_statistics.json",{method:"get",params:dt})}),nn=dt=>a(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_statistic_lists.json",{method:"get",params:dt})}),ht=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}/statistics.json`,{method:"get",params:dt})}),_r=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}/statistic_lists.json`,{method:"get",params:dt})}),In=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}/statistic_detail.json`,{method:"get",params:dt})}),fn=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${dt==null?void 0:dt.id}/student_detail.json`,{method:"get",params:dt})}),Qr=dt=>a(void 0,null,function*(){return(0,t.ZP)(`/api/v2/knowledge_graphs/${dt==null?void 0:dt.graphable_type}/${dt==null?void 0:dt.graphable_id}`,{method:"get",params:dt})})},32027:function(m,C,e){"use strict";e.d(C,{Fd:function(){return w},Hi:function(){return d},IU:function(){return I},KE:function(){return p},Kc:function(){return F},MK:function(){return R},Q9:function(){return h},Qg:function(){return g},Qn:function(){return y},UK:function(){return l},W:function(){return k},Ye:function(){return S},_c:function(){return r},hO:function(){return U},iV:function(){return Z},jy:function(){return O},kp:function(){return j},lf:function(){return v},m7:function(){return c},n$:function(){return _},rJ:function(){return E},s3:function(){return b},ux:function(){return x},vf:function(){return P},wh:function(){return L},wo:function(){return D},x$:function(){return T}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(B,G,X)=>G in B?n(B,G,{enumerable:!0,configurable:!0,writable:!0,value:X}):B[G]=X,s=(B,G)=>{for(var X in G||(G={}))o.call(G,X)&&f(B,X,G[X]);if(u)for(var X of u(G))i.call(G,X)&&f(B,X,G[X]);return B},a=(B,G,X)=>new Promise((q,ee)=>{var ue=xe=>{try{ge(X.next(xe))}catch(ke){ee(ke)}},ce=xe=>{try{ge(X.throw(xe))}catch(ke){ee(ke)}},ge=xe=>xe.done?q(xe.value):Promise.resolve(xe.value).then(ue,ce);ge((X=X.apply(B,G)).next())});const r=B=>a(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B==null?void 0:B.id}/commit_word_cloud.json`,{method:"Get",params:B})});function b(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_lists.json`,{method:"get",params:s({},B)})})}function l(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/common_header.json`,{method:"get"})})}function d(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/poll_setting.json`,{method:"get"})})}function c(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_setting.json`,{method:"post",body:s({},B)})})}function p(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/end_poll_modal.json`,{method:"get",params:s({},B)})})}function x(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/publish_groups.json`,{method:"get",params:s({},B)})})}function y(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/commit_result.json`,{method:"get",params:s({},B)})})}function _(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:s({},B)})})}function v(B){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:s({},B)})})}function h(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls/publish_modal.json`,{method:"get",params:s({},B)})})}function E(B){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${B.coursesId}/polls.json`,{method:"POST",body:s({},B)})})}function S(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.categoryId}/edit.json`,{method:"get"})})}function g(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}.json`,{method:"put",body:s({},B)})})}function I(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"put",body:s({},B)})})}function R(B){return a(this,null,function*(){return(0,t.ZP)(`/api/polls/${B.pollsId}/poll_questions.json`,{method:"post",body:s({},B)})})}function O(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}.json`,{method:"delete",body:s({},B)})})}function L(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:s({},B)})})}function j(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"get"})})}function U(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:s({},B)})})}function z(B){return a(this,null,function*(){return Fetch(`/api/exercise_banks/${B.topicId}.json`,{method:"put",body:s({},B)})})}function T(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.pollsId}.json`,{method:"delete",body:s({},B)})})}function P(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${B.pollsId}/up_down.json`,{method:"post",body:s({},B)})})}function w(B){return a(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:s({},B)})})}function D(B){return a(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${B.pollsId}.json`,{method:"put",body:s({},B)})})}function F(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.id}.json`,{method:"put",body:s({},B)})})}function Z(B){return a(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:s({},B)})})}function k(B){return a(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${B.exerciseId}/up_down.json`,{method:"post",body:s({},B)})})}},38244:function(m,C,e){"use strict";e.d(C,{$c:function(){return Te},A1:function(){return $e},Bd:function(){return h},Bo:function(){return z},Cc:function(){return w},Cn:function(){return Z},DF:function(){return _},Dm:function(){return Ye},FG:function(){return U},GW:function(){return At},HF:function(){return R},Hm:function(){return B},IJ:function(){return Be},L5:function(){return wt},LS:function(){return Ct},MZ:function(){return ve},Mr:function(){return j},NZ:function(){return ge},Of:function(){return x},Pl:function(){return y},Qj:function(){return c},Qp:function(){return zt},RT:function(){return de},Rp:function(){return kt},U6:function(){return O},Vl:function(){return D},Wk:function(){return L},YP:function(){return k},Ys:function(){return S},al:function(){return E},bF:function(){return nt},d1:function(){return d},dt:function(){return Pe},et:function(){return X},ex:function(){return p},fY:function(){return q},fn:function(){return v},hI:function(){return xe},hg:function(){return Me},iT:function(){return T},lS:function(){return ce},nD:function(){return Zt},qN:function(){return G},rV:function(){return g},s:function(){return ue},sD:function(){return Ce},sS:function(){return et},ts:function(){return P},vi:function(){return it},wX:function(){return rt},x5:function(){return I},zh:function(){return ee}});var t=e(33170),n=Object.defineProperty,u=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(Oe,vt,qe)=>vt in Oe?n(Oe,vt,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Oe[vt]=qe,r=(Oe,vt)=>{for(var qe in vt||(vt={}))f.call(vt,qe)&&a(Oe,qe,vt[qe]);if(i)for(var qe of i(vt))s.call(vt,qe)&&a(Oe,qe,vt[qe]);return Oe},b=(Oe,vt)=>u(Oe,o(vt)),l=(Oe,vt,qe)=>new Promise((Ze,st)=>{var Tt=te=>{try{pe(qe.next(te))}catch(se){st(se)}},lt=te=>{try{pe(qe.throw(te))}catch(se){st(se)}},pe=te=>te.done?Ze(te.value):Promise.resolve(te.value).then(Tt,lt);pe((qe=qe.apply(Oe,vt)).next())});function d(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:b(r({},Oe),{clazz:"ItemBanksGroup"})})})}function c(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Oe})})}function p(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Oe})})}function x(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:Oe})})}function y(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}/set_private.json`,{method:"post"})})}function _(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}/set_public.json`,{method:"post"})})}function v(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}.json`,{method:"delete"})})}function h(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/problems/${Oe.id}/start.json`,{method:"get"})})}function E(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Oe.id}.json`,{method:"delete",body:r({},Oe)})})}function S(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:Oe})})}function g(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Oe})})}function I(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Oe.type}})})}function R(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Oe})})}function O(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:Oe})})}function L(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}.json`,{method:"put",body:Oe})})}function j(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:Oe})})}function U(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}/edit.json`,{method:"get"})})}function z(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/problems/${Oe.id}/edit.json`,{method:"get"})})}function T(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:Oe})})}function P(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Oe.id}/set_score.json`,{method:"post",body:Oe})})}function w(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Oe.id}/set_challenge_score.json`,{method:"post",body:Oe})})}function D(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Oe.id}/combination_set_score.json`,{method:"post",body:Oe})})}function F(Oe){return l(this,null,function*(){return Fetch(`/api/examination_banks//${Oe.exerid}/examination_banks_item_banks/${Oe.id}/combination_set_score.json`,{method:"post",body:Oe})})}function Z(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Oe.id}.json`,{method:"delete"})})}function k(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Oe})})}function B(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Oe})})}function G(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${Oe.id}/adjust_position.json`,{method:"post",body:Oe})})}function X(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:Oe})})}function q(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.id}/revoke_item.json`,{method:"delete",body:Oe})})}function ee(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Oe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Oe})})}function ue(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}/join_to_collection.json`,{method:"post",params:Oe})})}function ce(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}/cancel_collection.json`,{method:"post",params:Oe})})}function ge(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:Oe})})}function xe(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Oe})})}function ke(Oe){return l(this,null,function*(){return Fetch(`/api/item_banks/${Oe.id}/join_to_group.json`,{method:"post",body:Oe})})}function Qe(Oe){return l(this,null,function*(){return Fetch(`/api/item_banks_groups/${Oe.id}.json`,{method:"put",body:Oe})})}function et(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:Oe})})}function wt(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe.id}/feedback.json`,{method:"post",body:Oe})})}function Ye(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:Oe})})}function At(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:Oe})})}function Zt(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Oe})})}function Ct(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Oe})})}function kt(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Oe})})}function zt(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Oe})})}function rt(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${Oe==null?void 0:Oe.id}/set_public.json`,{method:"post",body:Oe})})}function Me(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Oe})})}function ve(Oe){return(0,t.ZP)(`/api/problems/${Oe.identifier}/publish.json`,{method:"post",body:Oe})}function Ce(Oe){return(0,t.ZP)(`/api/problems/${Oe.identifier}/cancel_publish.json`,{method:"post",body:Oe})}function Be(Oe){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Oe.id]}})}function $e(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Oe.id}/up_position.json`,{method:"get",params:Oe})})}function it(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${Oe.id}/down_position.json`,{method:"get",params:Oe})})}function Te(Oe){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Oe.id}/edit_hack.json`,{method:"get",params:Oe})})}function nt(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Oe})})}function Pe(Oe){return l(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:Oe})})}function Je(Oe){return l(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Oe})})}function de(){return l(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},41498:function(m,C,e){"use strict";e.d(C,{E1:function(){return i},Go:function(){return u},H5:function(){return o}});var t=e(33170),n=(f,s,a)=>new Promise((r,b)=>{var l=p=>{try{c(a.next(p))}catch(x){b(x)}},d=p=>{try{c(a.throw(p))}catch(x){b(x)}},c=p=>p.done?r(p.value):Promise.resolve(p.value).then(l,d);c((a=a.apply(f,s)).next())});function u(f){return n(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:f})})}function o(f){return n(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${f.id}.json`,{method:"get",params:f})})}function i(f){return n(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${f.id}.json`,{method:"delete",params:f})})}},86763:function(m,C,e){"use strict";e.d(C,{Am:function(){return c},Ar:function(){return Ye},BD:function(){return it},Be:function(){return rt},Dx:function(){return D},Fr:function(){return se},G$:function(){return y},GS:function(){return O},Gw:function(){return x},H:function(){return et},H1:function(){return wt},Hj:function(){return nt},JA:function(){return Je},JG:function(){return w},KE:function(){return k},Lz:function(){return Be},Mf:function(){return Qe},NA:function(){return xe},PC:function(){return ce},PP:function(){return ge},PW:function(){return Ct},Q3:function(){return F},QC:function(){return de},Qt:function(){return $e},Qz:function(){return h},R$:function(){return pe},RP:function(){return U},Ti:function(){return Ht},Uc:function(){return Ze},Ul:function(){return T},VB:function(){return tt},Vs:function(){return st},Wr:function(){return _},Xn:function(){return z},YQ:function(){return ke},Yn:function(){return p},Z8:function(){return I},ak:function(){return Zt},cN:function(){return S},co:function(){return Me},cz:function(){return ee},fK:function(){return R},gG:function(){return ue},gZ:function(){return qe},h$:function(){return g},ku:function(){return Ce},lf:function(){return G},m7:function(){return P},mQ:function(){return E},mz:function(){return zt},n$:function(){return B},oK:function(){return d},oN:function(){return jr},pH:function(){return Te},pb:function(){return _e},qP:function(){return Oe},ql:function(){return vt},rN:function(){return ve},sw:function(){return X},t1:function(){return q},to:function(){return j},ub:function(){return Pe},ux:function(){return Z},wS:function(){return St},wT:function(){return v},yT:function(){return At},yy:function(){return Tt},z2:function(){return kt}});var t=e(33170),n=Object.defineProperty,u=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(Re,Qt,He)=>Qt in Re?n(Re,Qt,{enumerable:!0,configurable:!0,writable:!0,value:He}):Re[Qt]=He,r=(Re,Qt)=>{for(var He in Qt||(Qt={}))f.call(Qt,He)&&a(Re,He,Qt[He]);if(i)for(var He of i(Qt))s.call(Qt,He)&&a(Re,He,Qt[He]);return Re},b=(Re,Qt)=>u(Re,o(Qt)),l=(Re,Qt,He)=>new Promise((xt,ft)=>{var jt=Fe=>{try{Jt(He.next(Fe))}catch(ar){ft(ar)}},we=Fe=>{try{Jt(He.throw(Fe))}catch(ar){ft(ar)}},Jt=Fe=>Fe.done?xt(Fe.value):Promise.resolve(Fe.value).then(jt,we);Jt((He=He.apply(Re,Qt)).next())});const d=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.id}/update_journals.json`,{method:"post",body:Re})}),c=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Re==null?void 0:Re.homeworkId}/change_score.json`,{method:"post",body:Re})}),p=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Re==null?void 0:Re.homeworkId}/history_comment`,{method:"Get",params:Re})}),x=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Re==null?void 0:Re.homeworkId}/feedback_know`,{method:"Get",params:Re})}),y=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re==null?void 0:Re.userId}/student_work_feedbacks.json`,{method:"POST",body:Re})}),_=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Re==null?void 0:Re.userId}/feedback_list.json`,{method:"Get",params:Re})}),v=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Re==null?void 0:Re.userId}/histories.json`,{method:"Get",params:Re})}),h=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re==null?void 0:Re.homeworkId}/feedback_list`,{method:"Get",params:Re})}),E=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re==null?void 0:Re.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Re})}),S=Re=>l(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re==null?void 0:Re.homeworkId}/appeal_list`,{method:"Get",params:Re})});function g(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/works_list.json`,{method:"post",body:r({},Re)})})}function I(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Re.categoryId}/student_works.json`,{method:"get",params:r({},Re)})})}function R(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Re.categoryId}/header_info.json`,{method:"get",params:r({},Re)})})}function O(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re}/query_game_url.json`,{method:"get"})})}function L(Re){return l(this,null,function*(){return Fetch(`/api/student_works/${Re}/get_newest_shixun_work_comments.json`,{method:"get"})})}function j(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}.json`,{method:"get"})})}function U(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/code_review_results.json`,{method:"get",params:r({},Re)})})}function z(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/code_review_detail.json`,{method:"get",params:r({},Re)})})}function T(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/settings.json`,{method:"get",params:r({},Re)})})}function P(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/update_settings.json`,{method:"post",body:r({},Re)})})}function w(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/group_list.json`,{method:"get",params:r({},Re)})})}function D(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/works_list.xlsx`,{method:"get",params:r({},Re)})})}function F(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.coursesId}/reference_answer.json`,{method:"get",params:r({},Re)})})}function Z(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/publish_groups.json`,{method:"get",params:r({},Re)})})}function k(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/end_groups.json`,{method:"get",params:r({},Re)})})}function B(Re){return l(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:r({},Re)})})}function G(Re){return l(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:r({},Re)})})}function X(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/shixun_work_report.json`,{method:"get",params:Re})})}function q(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Re})})}function ee(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${Re.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:b(r({},Re),{id:Re.categoryId})})})}function ue(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.categoryId}/adjust_review_score.json`,{method:"post",body:r({},Re)})})}function ce(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/show_comment.json`,{method:"get",params:r({},Re)})})}function ge(Re){return l(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:r({},Re)})})}function xe(Re){return l(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:r({},Re)})})}function ke(Re){return l(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:r({},Re)})})}function Qe(Re){return l(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:r({},Re)})})}function et(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/update_explanation.json`,{method:"post",body:r({},Re)})})}function wt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${Re.coursesId}/homework_commons.json`,{method:"post",body:r({},Re)})})}function Ye(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}.json`,{method:"put",body:r({},Re)})})}function At(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Re.id}.json`,{method:"put",body:r({},Re)})})}function Zt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.commonHomeworkId}/student_works/new.json`,{method:"get",params:r({},Re)})})}function Ct(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/edit.json`,{method:"get",params:r({},Re)})})}function kt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}.json`,{method:"put",body:r({},Re)})})}function zt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/revise_attachment.json`,{method:"post",body:r({},Re)})})}function rt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.commonHomeworkId}/student_works.json`,{method:"post",body:r({},Re)})})}function Me(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.homeworkId}/student_works/relate_project.json`,{method:"post",body:r({},Re)})})}function ve(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ce(Re){return l(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:r({},Re)})})}function Be(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:r({},Re)})})}function $e(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${Re.coursesId}/homework_commons/new.json`,{method:"get",params:r({},Re)})})}function it(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/edit.json`,{method:"get",params:r({},Re)})})}function Te(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Re.id}.json`,{method:"get",params:r({},Re)})})}function nt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}.json`,{method:"get",params:r({},Re)})})}function Pe(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}/supply_attachments.json`,{method:"get",params:r({},Re)})})}function Je(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}/comment_list.json`,{method:"get",params:r({},Re)})})}function de(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}/destroy_score.json`,{method:"delete",body:r({},Re)})})}function Oe(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}/add_score_reply.json`,{method:"post",body:r({},Re)})})}function vt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/all_student_works.json`,{method:"get",params:r({},Re)})})}function qe(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/destroy_work_comment.json`,{method:"delete",body:r({},Re)})})}function Ze(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/score_status.json`,{method:"get",params:r({},Re)})})}function st(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Re.categoryId}/update_score.json`,{method:"get",params:r({},Re)})})}function Tt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}/add_score.json`,{method:"post",body:r({},Re)})})}function lt(Re){return l(this,null,function*(){return Fetch(`/api/student_works/${Re.userId}/cancel_appeal.json`,{method:"post",body:r({},Re)})})}function pe(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.userId}/appeal_anonymous_score.json`,{method:"post",body:r({},Re)})})}function te(Re){return l(this,null,function*(){return Fetch(`/api/student_works/${Re.userId}/deal_appeal_score.json`,{method:"post",body:r({},Re)})})}function se(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Re.id}/reset_my_game.json`,{method:"get",params:r({},Re)})})}function St(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/commit_des.json`,{method:"get",params:r({},Re)})})}function _e(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Re.homeworkId}/update_des.json`,{method:"post",body:r({},Re)})})}function tt(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${Re.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:r({},Re)})})}function jr(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${Re.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:r({},Re)})})}function Ht(Re){return l(this,null,function*(){return(0,t.ZP)(`/api/courses/${Re.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:r({},Re)})})}},93686:function(m,C,e){"use strict";e.d(C,{$Q:function(){return qt},AE:function(){return st},AQ:function(){return E},Ag:function(){return Qt},Ar:function(){return Z},At:function(){return gt},BK:function(){return I},Bj:function(){return Zt},DC:function(){return Ye},Dz:function(){return ut},E4:function(){return wt},EH:function(){return G},Ee:function(){return nn},Er:function(){return D},FB:function(){return g},Fg:function(){return x},GI:function(){return ee},Gr:function(){return zt},Gu:function(){return q},Gz:function(){return p},HS:function(){return Ir},Hl:function(){return d},IT:function(){return Ht},I_:function(){return v},Ir:function(){return R},Je:function(){return we},K:function(){return ir},K0:function(){return Jr},KM:function(){return z},K_:function(){return mt},LK:function(){return Jt},LP:function(){return ue},Ne:function(){return w},OV:function(){return ge},OW:function(){return B},Op:function(){return Wt},P2:function(){return ke},Po:function(){return h},Ps:function(){return rt},Q:function(){return P},Q1:function(){return gr},QA:function(){return ua},Ql:function(){return ve},Rs:function(){return de},SG:function(){return wr},Tn:function(){return lt},Tr:function(){return pr},U0:function(){return it},U9:function(){return Me},UQ:function(){return _e},Ui:function(){return It},Vx:function(){return Yr},WO:function(){return F},WT:function(){return vr},Wi:function(){return Ct},Wl:function(){return He},X$:function(){return Qe},Yn:function(){return te},Z2:function(){return At},ZO:function(){return kt},Zt:function(){return Lt},_7:function(){return T},_9:function(){return se},aH:function(){return Ce},al:function(){return Pe},b8:function(){return k},bq:function(){return pe},dK:function(){return O},e:function(){return y},eX:function(){return X},eb:function(){return Oe},fL:function(){return jt},h4:function(){return xr},hS:function(){return c},he:function(){return _},hn:function(){return j},ii:function(){return Je},im:function(){return St},j8:function(){return ce},jq:function(){return sr},kF:function(){return ar},km:function(){return nt},l3:function(){return xe},m7:function(){return $e},mI:function(){return On},n5:function(){return S},nu:function(){return Fe},p0:function(){return jr},q0:function(){return Ze},q9:function(){return Ke},qA:function(){return tr},rO:function(){return qe},rs:function(){return U},sr:function(){return tt},t2:function(){return Re},tX:function(){return ht},uo:function(){return Te},v3:function(){return ft},w:function(){return xt},xK:function(){return Tt},xg:function(){return vt},xk:function(){return et},yE:function(){return Be},yx:function(){return cn},zD:function(){return L},zH:function(){return Gt}});var t=e(33170),n=Object.defineProperty,u=Object.defineProperties,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(We,qr,on)=>qr in We?n(We,qr,{enumerable:!0,configurable:!0,writable:!0,value:on}):We[qr]=on,r=(We,qr)=>{for(var on in qr||(qr={}))f.call(qr,on)&&a(We,on,qr[on]);if(i)for(var on of i(qr))s.call(qr,on)&&a(We,on,qr[on]);return We},b=(We,qr)=>u(We,o(qr)),l=(We,qr,on)=>new Promise((En,Kn)=>{var Qn=ba=>{try{pn(on.next(ba))}catch(ai){Kn(ai)}},kn=ba=>{try{pn(on.throw(ba))}catch(ai){Kn(ai)}},pn=ba=>ba.done?En(ba.value):Promise.resolve(ba.value).then(Qn,kn);pn((on=on.apply(We,qr)).next())});const d=We=>l(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:We})}),c=We=>l(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:We})}),p=We=>l(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:We})}),x=We=>l(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:We})}),y=We=>l(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:We})});function _(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:r({},We)})})}function v(We){return l(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:r({source:"shixun"},We||{})})})}function h(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}.json`,{method:"Get",params:We})})}function E(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/show_right.json`,{method:"Get"})})}function S(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges.json`,{method:"Get"})})}function g(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:We.save_type}})})}function I(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/jupyter_exec.json${We.reset?`?reset=${We.reset}`:""}`,{method:"Get",params:We})})}function R(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/shixun_exec.json${We.reset?`?reset=${We.reset}`:""}`,{method:"Get",params:We})})}function O(We){return l(this,null,function*(){return(0,t.ZP)(We.url,{method:"Get"})})}function L(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.shixun_identifier}/challenges/${We.challenge_id}/index_up.json`,{method:"Get"})})}function j(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.shixun_identifier}/challenges/${We.challenge_id}/index_down.json`,{method:"Get"})})}function U(We){return l(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:We.container_id,container_type:We.container_type}})})}function z(We){return l(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:We.container_id,container_type:We.container_type}})})}function T(We){return l(this,null,function*(){const{id:qr}=We||{};return(0,t.ZP)(`/api/shixuns/${qr}/search_user_courses.json`,{method:"Get",params:We})})}function P(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We==null?void 0:We.id}/send_to_course.json`,{method:"Post",body:r({},We)})})}function w(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/cancel_publish.json`,{method:"Get"})})}function D(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/cancel_apply_public.json`,{method:"Get"})})}function F(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/apply_public.json`,{method:"post",body:r({},We)})})}function Z(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/publish.json`,{method:"Get"})})}function k(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function B(We){return l(this,null,function*(){return(0,t.ZP)(`/api/attachments/${We.id}.json`,{method:"delete"})})}function G(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:We})})}function X(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:We})})}function q(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:We})})}function ee(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/review_newest_record.json`,{method:"Get"})})}function ue(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/review_shixun.json`,{method:"post",body:We})})}function ce(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/collaborators.json`,{method:"Get",params:We})})}function ge(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/shixun_members_added.json`,{method:"post",body:We})})}function xe(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.identifier}/add_members_group.json`,{method:"post",body:We})})}function ke(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/change_manager.json`,{method:"Get",params:We})})}function Qe(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/change_manager.json`,{method:"post",body:We})})}function et(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/collaborators_delete.json`,{method:"delete",body:{user_id:We.userId}})})}function wt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/ranking_list.json`,{method:"Get"})})}function Ye(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/settings.json`,{method:"Get"})})}function At(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:We.mirror_id}})})}function Zt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/get_script_contents.json`,{method:"Get",params:We})})}function Ct(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/get_custom_script.json`,{method:"Get",params:We})})}function kt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_for_jupyter.json`,{method:"put",body:We})})}function zt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/shixun_quotes.json`,{method:"Get"})})}function rt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}.json`,{method:"delete"})})}function Me(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/close.json`,{method:"post",body:We})})}function ve(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:We})})}function Ce(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_permission_setting.json`,{method:"post",body:We})})}function Be(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_learn_setting.json`,{method:"post",body:We})})}function $e(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_setting`,{method:"post",body:We})})}function it(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/get_data_sets.json`,{method:"Get",params:We})})}function Te(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/destroy_data_sets.json`,{method:"Delete",body:{id:We.deleteId}})})}function nt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/new.json`,{method:"get"})})}function Pe(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.identifier}/challenges.json`,{method:"post",body:r({},We)})})}function Je(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengeId}/edit.json`,{method:"get",params:{tab:We.tab}})})}function de(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}.json`,{method:"put",body:r({},We)})})}function Oe(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/choose_questions.json`,{method:"get"})})}function vt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/move_position.json`,{method:"post",body:r({},We)})})}function qe(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}.json`,{method:"delete",body:r({},We)})})}function Ze(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/edit.json`,{method:"get",params:r({},We)})})}function st(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengeId}/answer.json`,{method:"get",params:r({},We)})})}function Tt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengeId}/crud_answer.json`,{method:"post",body:r({},We)})})}function lt(We){return l(this,null,function*(){if(We.type===1)return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/create_choose_question.json`,{method:"post",body:r({},We)});if(We.type===2)return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/create_blank_question.json`,{method:"post",body:r({},We)});if(We.type===3)return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/create_judge_question.json`,{method:"post",body:r({},We)})})}function pe(We){return l(this,null,function*(){if(We.type===1)return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/update_choose_question.json`,{method:"post",body:b(r({},We),{choose_id:We.questionId})});if(We.type===2)return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/update_blank_question.json`,{method:"put",body:b(r({},We),{choose_id:We.questionId})});if(We.type===3)return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/update_judge_question.json`,{method:"put",body:b(r({},We),{choose_id:We.questionId})})})}function te(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:We.questionId}})})}function se(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:We.questionId}})})}function St(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:We.questionId}})})}function _e(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/challenges/${We.challengesId}/edit_choose_question.json`,{method:"get",params:b(r({},We),{choose_id:We.questionId})})})}function tt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/delete_git_file.json`,{method:"Delete",body:We})})}function jr(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/delete_git_file.json`,{method:"Delete",body:We})})}function Ht(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/mv_file.json`,{method:"post",body:We})})}function Re(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/mv_file.json`,{method:"post",body:We})})}function Qt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/repository.json`,{method:"post",body:We})})}function He(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/repository.json`,{method:"post",body:We})})}function xt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/secret_repository.json`,{method:"post",body:We})})}function ft(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/add_file.json`,{method:"post",body:We})})}function jt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/add_file.json`,{method:"post",body:We})})}function we(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/commits.json`,{method:"post",body:We})})}function Jt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/file_content.json`,{method:"post",body:We})})}function Fe(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/file_content.json`,{method:"post",body:We})})}function ar(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_file.json`,{method:"post",body:We})})}function sr(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/update_file.json`,{method:"post",body:We})})}function Wt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/upload_git_folder.json`,{method:"post",body:{path:We.path,secret_repository:We.secret_repository}})})}function qt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/${We.url}`,{method:"Get"})})}function It(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:We})})}function mt(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:We})})}function Gt(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:We})})}function tr(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:We})})}function Ke(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:We})})}function gt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/fork_list.json`,{method:"Get",params:We})})}function ut(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.identifier}/change_editable.json`,{method:"put",body:r({},We)})})}function Lt(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/set_secret_dir.json`,{method:"post",body:r({},We)})})}function ir(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:We})})}function gr(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:We})})}function xr(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/init_repository.json`,{method:"post",body:r({},We)})})}function Yr(We){return l(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${We.id}/init_repository.json`,{method:"post",body:r({},We)})})}function Jr(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_secret_repository.json`,{method:"post",body:r({},We)})})}function nn(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/exist_exercise.json`,{method:"get",params:r({},We)})})}function ht(We){return l(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${We.id}.json`,{method:"get",params:r({},We)})})}function _r(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/publish.json`,{method:"post",body:r({},We)})})}function In(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/open_vnc.json`,{method:"post",params:r({},We)})})}function fn(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/open_webssh.json`,{method:"post",params:r({},We)})})}function Qr(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/save_image.json`,{method:"post",body:r({},We)})})}function dt(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/delete_image.json`,{method:"post",body:r({},We)})})}function dn(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/extend_vnc.json`,{method:"post",body:r({},We)})})}function An(We){return l(this,null,function*(){return Fetch(`/api/mirror_applies/${We.id}/reset_vnc_link.json`,{method:"post",body:r({},We)})})}function cn(We){return l(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:r({},We)})})}function On(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:r({},We)})})}function ua(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We.id}/update_jupyter_lab_setting.json`,{method:"post",body:r({},We)})})}function pr(We){return l(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:We})})}function vr(We){return l(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${We}`,{method:"get",params:{is_initiative_study:1}})})}function er(We){return l(this,null,function*(){return Fetch(`/api/shixuns/${We.id}/update_shixun_study_num.json`,{method:"post",body:r({},We)})})}function wr(We){return l(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:We})})}function Ir(We){return l(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${We}/recommend_config.json`,{method:"get"})})}},34306:function(m,C,e){"use strict";e.d(C,{Bg:function(){return l},FO:function(){return E},eJ:function(){return p},eZ:function(){return x},fd:function(){return R},gp:function(){return r},iU:function(){return g},l3:function(){return _},mw:function(){return v},oZ:function(){return c},rM:function(){return h},r_:function(){return I},s:function(){return b},ur:function(){return S},xV:function(){return d},yb:function(){return y}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(O,L,j)=>L in O?n(O,L,{enumerable:!0,configurable:!0,writable:!0,value:j}):O[L]=j,s=(O,L)=>{for(var j in L||(L={}))o.call(L,j)&&f(O,j,L[j]);if(u)for(var j of u(L))i.call(L,j)&&f(O,j,L[j]);return O},a=(O,L,j)=>new Promise((U,z)=>{var T=D=>{try{w(j.next(D))}catch(F){z(F)}},P=D=>{try{w(j.throw(D))}catch(F){z(F)}},w=D=>D.done?U(D.value):Promise.resolve(D.value).then(T,P);w((j=j.apply(O,L)).next())});function r(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/teachers.json`,{method:"get",params:s({},O)})})}function b(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/apply_teachers.json`,{method:"get",params:s({},O)})})}function l(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/graduation_group_list.json`,{method:"get",params:s({},O)})})}function d(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/all_course_groups.json`,{method:"get",params:s({},O)})})}function c(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/set_course_group.json`,{method:"post",body:s({},O)})})}function p(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/join_graduation_group.json`,{method:"post",body:s({},O)})})}function x(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/create_graduation_group.json`,{method:"post",body:s({},O)})})}function y(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/delete_course_teacher.json`,{method:"post",body:s({},O)})})}function _(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/delete_from_course.json`,{method:"post",body:s({},O)})})}function v(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/change_member_role.json`,{method:"post",body:s({},O)})})}function h(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/change_course_admin.json`,{method:"post",body:s({},O)})})}function E(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/teacher_application_review.json`,{method:"post",body:s({},O)})})}function S(O){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O.coursesId}/students.json`,{method:"get",params:s({},O)})})}function g(O,L){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O}/apply_students.json`,{method:"get",params:L})})}function I(O,L){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O}/join_student_checkout.json`,{method:"get",params:L})})}function R(O,L){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${O}/student_application_review.json`,{method:"post",body:L})})}},65900:function(m,C,e){"use strict";e.d(C,{B$:function(){return d},Cx:function(){return T},DA:function(){return h},DH:function(){return l},Ef:function(){return D},Es:function(){return p},Ex:function(){return Qe},FM:function(){return j},Fn:function(){return F},Gq:function(){return wt},Ho:function(){return S},IU:function(){return X},JJ:function(){return Z},Ol:function(){return ce},Qx:function(){return L},Tv:function(){return k},V8:function(){return b},WS:function(){return P},WY:function(){return O},ai:function(){return z},bG:function(){return y},bJ:function(){return r},c0:function(){return et},dE:function(){return G},dt:function(){return B},gI:function(){return w},lO:function(){return U},mW:function(){return R},n0:function(){return v},nV:function(){return ue},o1:function(){return ge},qE:function(){return c},qN:function(){return E},rV:function(){return g},sh:function(){return ee},vR:function(){return x},w3:function(){return I},x4:function(){return _},z2:function(){return xe}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(Ye,At,Zt)=>At in Ye?n(Ye,At,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ye[At]=Zt,s=(Ye,At)=>{for(var Zt in At||(At={}))o.call(At,Zt)&&f(Ye,Zt,At[Zt]);if(u)for(var Zt of u(At))i.call(At,Zt)&&f(Ye,Zt,At[Zt]);return Ye},a=(Ye,At,Zt)=>new Promise((Ct,kt)=>{var zt=ve=>{try{Me(Zt.next(ve))}catch(Ce){kt(Ce)}},rt=ve=>{try{Me(Zt.throw(ve))}catch(Ce){kt(Ce)}},Me=ve=>ve.done?Ct(ve.value):Promise.resolve(ve.value).then(zt,rt);Me((Zt=Zt.apply(Ye,At)).next())});const r=Ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${Ye.id}/move.json`,{method:"post",body:Ye})}),b=Ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${Ye.id}.json`,{method:"delete",body:Ye})}),l=Ye=>a(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${Ye.id}.json`,{method:"put",body:Ye})}),d=Ye=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:Ye})}),c=Ye=>a(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:Ye})});function p(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:s({},Ye)})})}function x(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function y(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:s({},Ye)})})}function _(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:s({},Ye)})})}function v(){return a(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function h(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/homepage_info.json`,{method:"get"})})}function E(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function S(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/courses.json`,{method:"get",params:Ye})})}function g(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/shixuns.json`,{method:"get",params:Ye})})}function I(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/subjects.json`,{method:"get",params:Ye})})}function R(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/projects.json`,{method:"get",params:Ye})})}function O(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/videos.json`,{method:"get",params:Ye})})}function L(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/videos/review.json`,{method:"get",params:Ye})})}function j(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/videos/${Ye.id}.json`,{method:"delete"})})}function U(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:Ye})})}function z(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:Ye})})}function T(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ye})})}function P(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ye})})}function w(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ye})})}function D(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ye})})}function F(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/videos/${Ye.object_id}/create_course_video.json`,{method:"post",body:Ye})})}function Z(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ye.topicId}.json`,{method:"get",params:Ye})})}function k(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:s({},Ye)})})}function B(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/users/${Ye.username}/videos/batch_publish.json`,{method:"post",body:Ye})})}function G(Ye){return a(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ye.identifier}/cancel.json`,{method:"delete",body:s({},Ye)})})}function X(Ye){return a(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get",params:s({},Ye)})})}function q(Ye){return a(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:s({},Ye)})})}function ee(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function ue(){return a(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function ce(Ye){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ye})}function ge(Ye){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ye})}function xe(Ye){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:s({},Ye)})}function ke(Ye){return Fetch("/api/weapps/register.json",{method:"post",body:s({},Ye)})}function Qe(Ye){return(0,t.ZP)(`/api/users/accounts/${Ye.login}/password.json`,{method:"put",body:s({},Ye)})}function et(Ye){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:s({},Ye)})}function wt(Ye){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:s({},Ye)})}},56188:function(m,C,e){"use strict";e.d(C,{BQ:function(){return r},DH:function(){return S},Db:function(){return U},Ju:function(){return j},Mz:function(){return R},O2:function(){return c},TJ:function(){return y},Vg:function(){return d},ZY:function(){return b},Zx:function(){return I},cU:function(){return l},fn:function(){return L},jK:function(){return _},yN:function(){return O}});var t=e(33170),n=Object.defineProperty,u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,f=(z,T,P)=>T in z?n(z,T,{enumerable:!0,configurable:!0,writable:!0,value:P}):z[T]=P,s=(z,T)=>{for(var P in T||(T={}))o.call(T,P)&&f(z,P,T[P]);if(u)for(var P of u(T))i.call(T,P)&&f(z,P,T[P]);return z},a=(z,T,P)=>new Promise((w,D)=>{var F=B=>{try{k(P.next(B))}catch(G){D(G)}},Z=B=>{try{k(P.throw(B))}catch(G){D(G)}},k=B=>B.done?w(B.value):Promise.resolve(B.value).then(F,Z);k((P=P.apply(z,T)).next())});function r(z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/watch_video_histories.json`,{method:"Get",params:s({},z)})})}function b(z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/watch_statics.json`,{method:"Get",params:s({},z)})})}function l(z){return a(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${z.videoId}/watch_histories.json`,{method:"Get",params:s({},z)})})}function d(z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.coursesId}/own_watch_histories.json`,{method:"Get",params:s({},z)})})}function c(z){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${z.id}.json`,{method:"Get",params:s({},z)})})}function p(z){return a(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:z})})}function x(z){return a(this,null,function*(){return Fetch(`/api/video_items/${z.id}/edit.json`,{method:"Get",params:s({},z)})})}function y(z){return a(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${z.id}/edit.json`,{method:"Get",params:s({},z)})})}function _(z){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${z.id}/star.json`,{method:"post",body:z})})}function v(z){return a(this,null,function*(){return Fetch(`/api/video_items/${z.id}.json`,{method:"put",body:z})})}function h(z){return a(this,null,function*(){return Fetch(`/api/video_items/${z.id}/send_to_course.json`,{method:"post",body:z})})}function E(z){return a(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:s({},z)})})}function S(z){return a(this,null,function*(){return(0,t.ZP)(`/api/video_items/${z.id}/view_video.json`,{method:"post",body:z})})}function g(z){return a(this,null,function*(){return Fetch(`/api/video_items/${z.id}/add_school.json`,{method:"post",body:z})})}function I(z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.course_id}/video_people_statics.json`,{method:"get",params:z})})}function R(z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${z.course_id}/video_duration_statics.json`,{method:"get",params:z})})}function O(z){return a(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:z})})}function L(z){return a(this,null,function*(){return(0,t.ZP)(`/api/courses/${z==null?void 0:z.id}/course_videos_tree.json`,{method:"get",params:z})})}function j(z){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:z})})}function U(z){return a(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:z})})}},69237:function(m,C,e){"use strict";e.d(C,{A:function(){return R},CH:function(){return o},EA:function(){return s},FU:function(){return b},G_:function(){return c},LY:function(){return E},Ll:function(){return f},MM:function(){return _},Ps:function(){return S},Sl:function(){return x},To:function(){return l},Vf:function(){return d},XQ:function(){return i},b:function(){return r},bq:function(){return I},cZ:function(){return a},rV:function(){return h},sT:function(){return p},tS:function(){return g},xt:function(){return v},y2:function(){return u}});var t=e(33170),n=(O,L,j)=>new Promise((U,z)=>{var T=D=>{try{w(j.next(D))}catch(F){z(F)}},P=D=>{try{w(j.throw(D))}catch(F){z(F)}},w=D=>D.done?U(D.value):Promise.resolve(D.value).then(T,P);w((j=j.apply(O,L)).next())});const u=O=>n(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:O})});function o(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/discussions/${O.id}.json`,{method:"put",body:O})})}function i(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/discussions/${O.id}.json`,{method:"get",params:O})})}function f(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/discussions.json`,{method:"post",body:O})})}function s(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/discussions.json`,{method:"get",params:O})})}function a(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/good_lessons/${O.id}/add_resources.json`,{method:"post",body:O})})}function r(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/good_lessons/${O.id}/lesson_resources_list.json`,{method:"get",params:O})})}function b(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/good_lessons/${O.id}.json`,{method:"get",params:O})})}function l(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/good_lessons/${O.id}.json`,{method:"put",body:O})})}function d(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/good_lessons.json`,{method:"post",body:O})})}function c(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/good_lessons.json`,{method:"get",params:O})})}function p(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O==null?void 0:O.id}.json`,{method:"get"})})}function x(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O==null?void 0:O.id}/modules.json`,{method:"get"})})}function y(O){return n(this,null,function*(){return Fetch(`/api/virtual_classrooms/${O.id}/videos/batch_publish.json`,{method:"post",body:O})})}function _(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/members.json`,{method:"post",body:O})})}function v(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_spacesId}/members/${O.id}/change_creator.json`,{method:"post",body:O})})}function h(O,L){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O}/shixuns.json`,{method:"get",params:L})})}function E(O,L){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O}/shixuns`,{method:"post",body:L})})}function S(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_classroom_id}/shixuns/${O.shixun_id}.json`,{method:"delete"})})}function g(O,L){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O}/subjects.json`,{method:"get",params:L})})}function I(O,L){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O}/subjects.json`,{method:"post",body:L})})}function R(O){return n(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${O.virtual_classroom_id}/subjects/${O.subject_id}.json`,{method:"delete"})})}},52262:function(m,C,e){"use strict";e.d(C,{$O:function(){return T},EO:function(){return nt},G5:function(){return I},GD:function(){return n},GJ:function(){return b},Gg:function(){return l},I2:function(){return i},IR:function(){return O},JA:function(){return Te},JL:function(){return v},Jd:function(){return z},Ny:function(){return y},RV:function(){return j},Rb:function(){return g},Rm:function(){return R},V9:function(){return G},Yh:function(){return Z},aN:function(){return p},aQ:function(){return a},ag:function(){return it},bg:function(){return Je},d8:function(){return S},dE:function(){return L},eB:function(){return U},eY:function(){return de},fn:function(){return $e},h:function(){return Tt},j5:function(){return c},m$:function(){return Oe},oF:function(){return d},qz:function(){return s},t_:function(){return x},tu:function(){return qe},y8:function(){return Pe}});var t=e(35973),n=(lt=>(lt[lt.SuperAdmin=1]="SuperAdmin",lt[lt.Operation=2]="Operation",lt[lt.CertifiedTeacher=5]="CertifiedTeacher",lt[lt.TrainingProduction=8]="TrainingProduction",lt[lt.UncertifiedTeacher=12]="UncertifiedTeacher",lt[lt.Student=15]="Student",lt))(n||{}),u=(lt=>(lt[lt.SuperAdmin=1]="SuperAdmin",lt[lt.Operation=2]="Operation",lt[lt.Admin=5]="Admin",lt[lt.Teacher=8]="Teacher",lt[lt.Assistant=12]="Assistant",lt[lt.Student=15]="Student",lt))(u||{}),o=(lt=>(lt[lt.SuperAdmin=0]="SuperAdmin",lt[lt.Teacher=1]="Teacher",lt[lt.Student=2]="Student",lt))(o||{});const i=lt=>{const{user:pe}=(0,t.getDvaApp)()._store.getState(),{userInfo:te}=pe;return lt.some(se=>se==(te==null?void 0:te.role))},f=lt=>{const{user:pe}=(0,t.getDvaApp)()._store.getState(),{userInfo:te}=pe;return te!=null&&te.own?!0:lt.some(se=>{var St;return se==((St=te==null?void 0:te.course)==null?void 0:St.course_role)})},s=()=>{const{user:lt}=(0,t.getDvaApp)()._store.getState(),{userInfo:pe}=lt;return pe.main_site},a=()=>{var lt;const{user:pe}=(0,t.getDvaApp)()._store.getState(),{userInfo:te}=pe;return(lt=te==null?void 0:te.course)==null?void 0:lt.course_is_end},r=()=>{const{user:lt}=getDvaApp()._store.getState(),{userInfo:pe}=lt;return pe.authentication},b=()=>f([1,2,5,8,12]),l=()=>f([1,8,5,12,2]),d=()=>f([1,8,5]),c=()=>f([1]),p=()=>f([1,2,5]),x=()=>f([1,2]),y=()=>i([1,2]),_=()=>i([1]),v=()=>i([1,2,5]),h=()=>f([1,5]),E=()=>f([5,8]),S=()=>f([5]),g=()=>f([1,5,2]),I=()=>f([1,2,5,8]),R=()=>f([12]),O=()=>f([8]),L=()=>f([15]),j=()=>f([1,2,5,8,12,15]),U=()=>f([1,2,5,8,12]),z=()=>{var lt;const{user:pe}=(0,t.getDvaApp)()._store.getState(),{userInfo:te}=pe;return((lt=te==null?void 0:te.course)==null?void 0:lt.course_role)===null},T=()=>{const{user:lt}=(0,t.getDvaApp)()._store.getState(),{userInfo:pe}=lt;return pe==null?void 0:pe.has_big_model_permission},P=()=>{const{user:lt}=getDvaApp()._store.getState(),{userInfo:pe}=lt;return pe==null?void 0:pe.big_model_user_unlimited},w=(lt=!0,pe=!1)=>i([1,2,5,8,12,15]),D=(lt=!0,pe=!1)=>pe||!pe&&i([1]),F=(lt=!0,pe=!1)=>pe||!pe&&i([1,2]),Z=()=>i([15]),k=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12,15]):pe||!pe&&i([1,2]),B=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12,15]):pe||!pe&&i([1,2]),G=(lt=!0,pe=!1)=>{const{user:te}=(0,t.getDvaApp)()._store.getState(),{userInfo:se}=te;return se!=null&&se.is_shixun_marker?!0:i([1,2,5,8])},X=(lt=!0,pe=!1)=>lt?i([1]):pe||!pe&&i([1]),q=(lt=!0,pe=!1)=>lt?i([1,2]):pe||!pe&&i([1,2]),ee=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12,15]):pe||!pe&&i([1,2]),ue=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12]):pe||!pe&&i([1,2]),ce=(lt=!0,pe=!1)=>lt?i([1,2,5]):pe||!pe&&i([1,2]),ge=(lt=!0,pe=!1)=>lt?i([1]):!1,xe=(lt=!0,pe=!1)=>i([1,2,5,8,12,15]),ke=(lt=!0,pe=!1)=>lt?i([1]):pe||!pe&&i([1]),Qe=(lt=!0,pe=!1)=>lt?i([1,2]):pe||!pe&&i([1,2]),et=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12,15]):pe||!pe&&i([1,2]),wt=(lt=!0,pe=!1)=>lt?!1:pe||!pe&&i([1,2]),Ye=(lt=!0,pe=!1)=>lt?pe||!pe&&i([1,2]):!1,At=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12]):!1,Zt=(lt=!0,pe=!1)=>lt?!pe&&i([1,2,5,8,12]):!1,Ct=(lt=!0,pe=!1)=>lt?i([1,2,5]):pe||!pe&&i([1,2]),kt=(lt=!0,pe=!1)=>i([1,2,5,8,12]),zt=(lt=!0,pe=!1)=>lt?i([1]):pe||!pe&&i([1]),rt=(lt=!0,pe=!1)=>lt?i([1,2]):pe||!pe&&i([1,2]),Me=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12]):pe||!pe&&i([1,2]),ve=(lt=!0,pe=!1)=>lt?pe||!pe&&i([1,2]):!1,Ce=(lt=!0,pe=!1)=>lt?i([1,2,5,8,12]):pe||!pe&&i([1,2]),Be=(lt=!0,pe=!1)=>f([8]),$e=()=>i([1]),it=()=>i([1,2]),Te=()=>i([15]),nt=()=>i([1,2,5]),Pe=()=>i([1,2,5,12]),Je=()=>{var lt;const{user:pe}=(0,t.getDvaApp)()._store.getState();return!!((lt=pe.userInfo)!=null&<.login)},de=()=>{const{user:lt}=(0,t.getDvaApp)()._store.getState();return lt.userInfo},Oe=()=>{var lt,pe;const{user:te}=(0,t.getDvaApp)()._store.getState();return!!((pe=(lt=te.userInfo)==null?void 0:lt.path)!=null&&pe.own)},vt=lt=>{const{graduations:pe}=(0,t.getDvaApp)()._store.getState(),{details:te}=pe;return lt.some(se=>se===(te==null?void 0:te.user_identity))},qe=()=>vt([0,1]),Ze=()=>vt([0]),st=()=>vt([1]),Tt=()=>vt([2])},52810:function(m,C,e){"use strict";e.d(C,{Fy:function(){return f},Qo:function(){return s},a2:function(){return o},fw:function(){return t},gW:function(){return u},k:function(){return i},k4:function(){return n}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],n=["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 u=(a=>(a.PROBLEM="problem",a.PAPER="paper",a.OTHER="other",a))(u||{}),o=(a=>(a.SINGLE="single",a.MULTIPLEFLOW="multiple_flow",a.MULTIPLEFIXED="multiple_fixed",a.OTHER="other",a))(o||{}),i=(a=>(a[a.BISHI=1]="BISHI",a[a.JISHI=2]="JISHI",a[a.KOUSHI=3]="KOUSHI",a[a.OTHER=4]="OTHER",a))(i||{}),f=(a=>(a[a.DEFAULT=0]="DEFAULT",a[a.THEMEONE=1]="THEMEONE",a[a.THEMETWO=2]="THEMETWO",a[a.THEMETHREE=3]="THEMETHREE",a))(f||{}),s=(a=>(a.All="",a.Shixun="shixun",a.VideoItem="video",a.Attachment="attachment",a.Group_count="group_homework",a.Normal_count="normal_homework",a.ExaminationBank="exercise",a.HomeworkCommon="hack_homework",a.Discusses="Discusses",a.Challenge="challenge",a))(s||{})},36720:function(m,C,e){"use strict";e.d(C,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},21434:function(m,C,e){"use strict";e.d(C,{CP:function(){return u},_V:function(){return f}});var t=e(81354),n=e.n(t);const u={secret:t.enc.Utf8.parse("0a18e199b87f1a8d"),iv:t.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},o={exam:u,userInfo:{secret:t.enc.Utf8.parse(window.atob("NTE4MzY2NmM3MmVlYzllNA==")),iv:t.enc.Utf8.parse(window.atob("NTE4MzY2NmM3MmVlYzllNA=="))}};function i(s="",a="exam"){const{secret:r,iv:b}=o[a];return AES.encrypt(s,r,{iv:b,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function f(s="",a="exam"){const{secret:r,iv:b}=o[a];return t.AES.decrypt(s,r,{iv:b,mode:n().mode.CBC,padding:n().pad.Pkcs7}).toString(t.enc.Utf8)}},11320:function(m,C,e){"use strict";e.d(C,{Z:function(){return o}});const t={PROXY_SERVER:"http://172.16.100.113",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.80",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 n=null,o={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:t,newReactTest:{API_SERVER:(()=>{let i;switch(location.host){case"test4.educoder.net":i="https://test4-data.educoder.net";break;case"test3.educoder.net":i="https://test3-data.educoder.net";break;case"test2.educoder.net":i="https://test2-data.educoder.net";break;default:i="https://test-data.educoder.net";break}return i})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let i="https://new-testali-cdn.educoder.net";const f=location.host;return f==="test3.educoder.net"&&(i="https://test3-data.educoder.net"),f==="test4.educoder.net"&&(i="https://test4-data.educoder.net"),i})(),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 i="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(i="https://pre-data2.educoder.net"),i})(),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 i="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?i="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(i="https://data.tokcoder.com"),i})(),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"]},33170:function(m,C,e){"use strict";e.d(C,{IV:function(){return k},U2:function(){return w},ZP:function(){return U},d4:function(){return D},gz:function(){return Z},rz:function(){return j},v_:function(){return F}});var t=e(11320),n=e(54689),u=e(14446),o=e(2453),i=e(33715),f=e.n(i),s=e(67294),a=e(35973),r=e(28706),b=e(96486),l=e.n(b),d=Object.defineProperty,c=Object.defineProperties,p=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,v=(B,G,X)=>G in B?d(B,G,{enumerable:!0,configurable:!0,writable:!0,value:X}):B[G]=X,h=(B,G)=>{for(var X in G||(G={}))y.call(G,X)&&v(B,X,G[X]);if(x)for(var X of x(G))_.call(G,X)&&v(B,X,G[X]);return B},E=(B,G)=>c(B,p(G)),S=(B,G,X)=>new Promise((q,ee)=>{var ue=xe=>{try{ge(X.next(xe))}catch(ke){ee(ke)}},ce=xe=>{try{ge(X.throw(xe))}catch(ke){ee(ke)}},ge=xe=>xe.done?q(xe.value):Promise.resolve(xe.value).then(ue,ce);ge((X=X.apply(B,G)).next())});let g;const I={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"},R=(B,G)=>S(void 0,null,function*(){if(B.status>=200&&B.status<300)return B;const X=I[B.status]||B.statusText;let q;var ee=B.json();yield ee.then((ce,ge)=>{setTimeout(()=>{let xe=(0,a.getDvaApp)()},400),q=ce.message,window.showNetworkErrorTip(ce.message||`\u8BF7\u6C42\u9519\u8BEF ${B.status}: ${B.message}`),n.Z.error({style:{wordBreak:"break-all"},message:ce.message||`\u8BF7\u6C42\u9519\u8BEF ${B.status}: ${B.message}`,description:ce.message?"":X})});const ue=new Error(X);throw ue.name=B.status,ue.response=B,{data:B,code:B.status,message:q||X}}),O=(B,G)=>{const X=B.headers.get("Content-Type");return X&&X.match(/application\/json/i)&&B.clone().text().then(()=>{}),B};function L(B){try{return decodeURIComponent(B),decodeURIComponent(encodeURIComponent(B))===B}catch(G){return!1}}const j=B=>{B=B||{};let G="";for(let X in B)typeof B[X]=="object"?Array.isArray(B[X])&&B[X].forEach((q,ee)=>{G+="&"+X+"[]="+q}):B[X]!==void 0&&(G+="&"+X+"="+(L(B[X])?B[X]:encodeURIComponent(B[X])));return G.substr(1)};function U(B,G,X,q){G.method||(G.method="get"),G.method=G.method.toUpperCase(),G.mode="cors";const ee=h({},G),{user:ue}=(0,a.getDvaApp)()._store.getState(),{userInfo:ce}=ue,ge=B+(ee.body?JSON.stringify(ee.body):""),xe=f().sha256().update(ge).digest("hex"),ke={credentials:"include",withCredentials:!0},Qe={};ce!=null&&ce.login&&(Qe.zzud=ce==null?void 0:ce.login,ce!=null&&ce.school_id&&(Qe.zzsud=ce==null?void 0:ce.school_id),ee.params=h(h({},ee.params||{}),Qe));let et=h(h({},ke),(0,b.cloneDeep)(ee));(et.method==="POST"||et.method==="PUT"||et.method==="PATCH"||et.method==="DELETE")&&(X?(et.headers=E(h({_method:G.method.toUpperCase()},et.headers),{"Pc-Authorization":(0,r.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),et.body=ee.body):(et.headers=h({Accept:"application/json",_method:G.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,r.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},et.headers),et.body=JSON.stringify(ee.body))),et.method=="GET"?(et.headers=E(h({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:G.method.toUpperCase()},et.headers),{"Pc-Authorization":(0,r.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),ee.params&&j(ee.params)&&(B+="?"+j(ee.params))):Qe.zzud&&(B+="?"+j(h({},Qe)));const wt=ee.expirys&&60;let Ye;(kt=>{kt.json="application/json;charset=UTF-8",kt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ye||(Ye={}));let At;(kt=>{kt.get="GET",kt.post="POST"})(At||(At={}));const Zt=kt=>S(this,null,function*(){const zt=yield kt.arrayBuffer();let rt;const Me=new Blob([zt]);try{rt=kt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){rt="userfiles.zip"}const ve=document.createElement("a"),Ce=window.URL.createObjectURL(Me),Be=rt;return ve.href=Ce,ve.download=Be,ve.click(),window.URL.revokeObjectURL(Ce),zt});let Ct=t.Z.API_SERVER;return(window.ENV==="dev"||B.startsWith("http"))&&(Ct=""),et.method=="GET"&&et.params&&Object.keys(et.params).map(kt=>{if(et.params[kt]&&!Array.isArray(et.params[kt]))try{et.params[kt]=encodeURIComponent(decodeURIComponent(et.params[kt]))}catch(zt){et.params[kt]=encodeURIComponent(et.params[kt])}}),(0,r.Ec)(et,B),q&&(Ct=""),et.headers._method=et.method,et.headers["X-HTTP-Method-Override"]=et.method,et.method!=="GET"&&(et.method="POST"),fetch(Ct+B,et).then(kt=>R(kt,h({url:t.Z.API_SERVER+B},et))).then(kt=>O(kt,xe)).then(kt=>S(this,null,function*(){var zt,rt,Me,ve;try{const Be=kt.headers.get("cs");Be&&(0,r.d8)("_educoder_session",Be,1)}catch(Be){}if(kt.status===204)return kt.text();let Ce;if(kt.headers.get("content-type").indexOf("application/json")>-1){Ce=yield kt.json();try{const Be=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,it=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,Te=/\/api\/attachments\/(\d+)/g,nt=/\/attachments\/download\/(\d+)/g;let Pe=JSON.stringify(Ce).replace(Te,(Je,de,Oe,vt)=>{const qe=de||Oe||vt;return"/api/attachments/"+(0,r.Jn)(qe)}).replace(nt,(Je,de,Oe)=>{const vt=de||Oe;return"/attachments/download/"+(0,r.Jn)(vt)}).replace(Be,(Je,de,Oe,vt)=>{const qe=de||Oe||vt;return"(/api/attachments/"+(0,r.Jn)(qe)}).replace($e,(Je,de,Oe)=>{const vt=de||Oe;return'"/api/attachments/'+(0,r.Jn)(vt)}).replace(it,(Je,de,Oe)=>{const vt=de||Oe;return"(/files/uploads/"+(0,r.Jn)(vt)}).replace(/\r\n/g,` `);Ce=JSON.parse(Pe)}catch(Be){}}else et.headers["Content-Type"]==="application/xml"?Ce=yield kt.text():(zt=ee.body)!=null&&zt.autoDownload||(rt=ee.params)!=null&&rt.autoDownload?Ce=yield Zt(kt):Ce=yield kt.arrayBuffer();try{Ce.status===401&&(!((Me=et.params)!=null&&Me.hidePopLogin)||!((ve=et.body)!=null&&ve.hidePopLogin))&&(0,a.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ce.status===402&&(localStorage.getItem("addinfo")==="2"?(0,a.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(g=g||u.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),g.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:()=>{a.history.push("/account/profile/edit")}})))}catch(Be){console.log("fetcherr",Be)}return P(Ce,B),Ce})).catch(kt=>{try{const zt=kt.code;if(kt instanceof TypeError&&window.showNetworkErrorTip(`${B}${kt.message}`),zt){if(zt===401){(0,a.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}P(kt,B)}else B.includes("/file/filePatchMerge")?(0,a.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:et.body}}):kt.message!=="403"&&window.showNetworkErrorTip(`${B}${kt.message}`);return kt}catch(zt){}})}let z=!1,T=!1;const P=(B,G)=>{var X,q,ee;if(B.status==-6&&!T){T=!0,(0,r.d8)("_educoder_session","logout",1),(0,r.m5)(),setTimeout(()=>T=!1,500),u.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:B.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(B.status==-7){T=!0,setTimeout(()=>T=!1,500);let ce="";(X=B==null?void 0:B.data)!=null&&X.exercise_list&&((ee=(q=B==null?void 0:B.data)==null?void 0:q.exercise_list)==null||ee.map(ge=>{ce+=`\u300A${ge.exercise_name}\u300B`})),u.default.info({title:"\u63D0\u793A",content:s.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 ${ce} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((B.status==-1||B.status==-2||B.status==-102||B.status>400)&&B.status!=403&&!T){T=!0,setTimeout(()=>T=!1,500),o.ZP.warning({content:B.message,key:"message-key"});return}const ue={403:"/403",404:"/404",500:"/500"};if(ue[B.status]&&!z){const{user:ce}=(0,a.getDvaApp)()._store.getState(),{userInfo:ge}=ce;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(z=!0),setTimeout(()=>z=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(B)),Object.values(ue).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(ue[B.status]),new Error("403")}};function w(B,G){return U(`/api/${B}`,{method:"Get",params:G||{}})}function D(B,G){return U(`/${B}`,{method:"Get",params:G})}function F(B,G){return U(`/api/${B}`,{method:"Post",body:h({},G)})}function Z(B,G){return U(`/api/${B}`,{method:"Put",body:h({},G)})}function k(B,G){return U(`/api/${B}`,{method:"delete",body:h({},G||{})})}},27951:function(m,C,e){"use strict";e.d(C,{Bn:function(){return u},hw:function(){return n},mi:function(){return t}});const t="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",n="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",u="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},51161:function(m,C,e){"use strict";e.d(C,{AL:function(){return S},Iy:function(){return l},Qv:function(){return p},ez:function(){return E},jb:function(){return d}});var t=e(47084),n=e.n(t),u=e(90621),o=e.n(u);let i=1;function f(L,j){const U=L.match(/^(\s+)(?:```)/);if(U===null)return j;const z=U[1];return j.split(` `).map(T=>{const P=T.match(/^\s+/);if(P===null)return T;const[w]=P;return w.length>=z.length?T.slice(z.length):T}).join(` `)}let s=[],a=["