You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
17 KiB
2 lines
17 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[28,11],{"2tKv":function(F,U,i){F.exports=i.p+"static/Code.584c4f34.png"},BLHT:function(F,U,i){F.exports={flex_box_center:"flex_box_center___tGua6",flex_space_between:"flex_space_between___sLRzb",flex_box_vertical_center:"flex_box_vertical_center___3RJH-",flex_box_center_end:"flex_box_center_end___2FaoL",flex_box_column:"flex_box_column____9_T2",footer:"footer___3QRzm",fastLink:"fastLink___MJhMZ",cooperation:"cooperation___208jm",copyright:"copyright___27kZ0"}},CAjq:function(F,U,i){F.exports=i.p+"static/qqCode.a1502573.png"},H8y1:function(F,U,i){"use strict";i.r(U);var Me=i("GNNt"),ee=i("wEI+"),te=i("PpiC"),S=i("q1tI"),o=i.n(S),ne=i("+Gva"),oe=i("ruvs"),I=i("9kvl"),re=i("wd/R"),M=i.n(re),ae=i("BLHT"),W=i.n(ae),le=function(l){var E,r,p,x,y,f,D=l.user,d=l.globalSetting;return o.a.createElement("div",{className:W.a.footer,style:{height:(d==null||((E=d.setting)===null||E===void 0)?void 0:E.main_site)?"":"80px",lineHeight:(d==null||((r=d.setting)===null||r===void 0)?void 0:r.main_site)?"":"80px"}},(d==null||((p=d.setting)===null||p===void 0)?void 0:p.main_site)&&o.a.createElement("aside",{className:W.a.fastLink},o.a.createElement("a",{target:"_blank",href:"/"},"\u7F51\u7AD9\u9996\u9875"),!(d==null||((x=d.setting)===null||x===void 0)?void 0:x.is_local)&&o.a.createElement("a",{target:"_blank",href:"/help/about_us"},"\u5173\u4E8E\u6211\u4EEC"),o.a.createElement("a",{target:"_blank",href:"/help/contact_us"},"\u8054\u7CFB\u6211\u4EEC"),o.a.createElement("a",{target:"_blank",href:"/help/cooperatives"},"\u5408\u4F5C\u4F19\u4F34"),o.a.createElement("a",{target:"_blank",href:"/help/agreement"},"\u670D\u52A1\u534F\u8BAE"),o.a.createElement("a",{target:"_blank",href:"/help/help_center"},"\u5E2E\u52A9\u4E2D\u5FC3"),o.a.createElement("a",{target:"_blank",href:"/help/feedback"},"\u610F\u89C1\u53CD\u9988")),((y=d.setting)===null||y===void 0?void 0:y.footer)?o.a.createElement("div",{dangerouslySetInnerHTML:{__html:(f=d.setting)===null||f===void 0?void 0:f.footer}}):o.a.createElement("div",null,o.a.createElement("p",{className:"footer_con-p inline lineh-30 font-14"},o.a.createElement("span",{className:"font-18 fl"},"\xA9"),"\xA0",M()().year(),"\xA0EduCoder",o.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://beian.miit.gov.cn/",className:"ml15 mr15"},"\u6E58ICP\u590717009477\u53F7"),o.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962",className:"mr15"},o.a.createElement("img",{className:"vertical4",src:i("d5bv")}),"\u6E58\u516C\u7F51\u5B89\u590743019002000962\u53F7"),o.a.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"\xA0\xA0\xA0&\xA0\xA0\xA0IntelliDE inside. ",o.a.createElement("span",{className:"mr15"},"\u7248\u6743\u6240\u6709 \u6E56\u5357\u667A\u64CE\u79D1\u6280\u6709\u9650\u516C\u53F8"))))},ue=le,je=i("2qtc"),H=i("kLXV"),Y=i("tJVT"),ie=i("NaGD"),se=i.n(ie),ce=i("m3rI"),de=i("1vsH"),Ee=i("CAjq"),me=i.n(Ee),fe=function(l){var E,r,p=l.user,x=l.globalSetting,y=Object(S.useState)(!1),f=Object(Y.a)(y,2),D=f[0],d=f[1];Object(S.useEffect)(function(){return window.addEventListener("click",P),function(){window.removeEventListener("click",P)}},[]);var j=function(){var m=function(){return/macintosh|mac os x/i.test(navigator.userAgent)}();if(m){d(!0);return}var h="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";Object(de.L)(h)},C=function(m,h){if(m.className===h)return m;for(var _=0,g=m;g=g.parentNode;_++){if(g.className===h)return g;if(g==document.documentElement)return!1}},P=function(m){var h,_,g;(m==null?void 0:m.target)&&((m==null||((h=m.target)===null||h===void 0)?void 0:h.innerText)==="\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A"||(m==null||((_=m.target)===null||_===void 0||((g=_.nextElementSibling)===null||g===void 0))?void 0:g.innerText)==="\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A")&&(C(m.target,"module-introduce")&&j())};return o.a.createElement(o.a.Fragment,null,o.a.createElement(H.a,{centered:!0,destroyOnClose:!0,visible:D,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:function(){return d(!1)}},o.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},o.a.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A612934990 "),o.a.createElement("img",{src:me.a,width:200,height:200}))),o.a.createElement("div",{className:se.a.newFooter,dangerouslySetInnerHTML:{__html:(E=x.setting)===null||E===void 0||((r=E.footer)===null||r===void 0)?void 0:r.replaceAll("/api/attachments/",ce.a.IMG_SERVER+"/api/attachments/")}}))},_e=fe,ve=function(l){var E=l.user,r=l.globalSetting,p=l.loading,x=l.dispatch;if(r.showFooter&&r.showHeaderFooter){var y,f;return o.a.createElement("section",null,(r==null||((y=r.setting)===null||y===void 0)?void 0:y.main_site)&&!(r==null||((f=r.setting)===null||f===void 0)?void 0:f.is_local)?o.a.createElement(_e,{user:E,globalSetting:r}):o.a.createElement(ue,{user:E,globalSetting:r}))}else return o.a.createElement(o.a.Fragment,null," ")},he=Object(I.a)(function(c){var l=c.user,E=c.loading,r=c.globalSetting;return{user:l,globalSetting:r,loading:E.models.index}})(ve),ge=i("iHkK"),pe=i.n(ge),xe=function(l){var E=l.globalSetting,r=l.loading,p=l.user,x=l.dispatch;return o.a.createElement("div",{className:pe.a.sideBar})},ye=Object(I.a)(function(c){var l=c.loading,E=c.globalSetting,r=c.user;return{globalSetting:E,user:r,loading:l.models.index}})(xe),Be=i("+L6B"),K=i("2/Rp"),Le=i("9og8");function $(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */$=function(){return l};var c,l={},E=Object.prototype,r=E.hasOwnProperty,p=Object.defineProperty||function(n,e,t){n[e]=t.value},x=typeof Symbol=="function"?Symbol:{},y=x.iterator||"@@iterator",f=x.asyncIterator||"@@asyncIterator",D=x.toStringTag||"@@toStringTag";function d(n,e,t){return Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),n[e]}try{d({},"")}catch(n){d=function(t,a,s){return t[a]=s}}function j(n,e,t,a){var s=e&&e.prototype instanceof g?e:g,u=Object.create(s.prototype),v=new Q(a||[]);return p(u,"_invoke",{value:we(n,t,v)}),u}function C(n,e,t){try{return{type:"normal",arg:n.call(e,t)}}catch(a){return{type:"throw",arg:a}}}l.wrap=j;var P="suspendedStart",R="suspendedYield",m="executing",h="completed",_={};function g(){}function O(){}function A(){}var X={};d(X,y,function(){return this});var J=Object.getPrototypeOf,k=J&&J(J(V([])));k&&k!==E&&r.call(k,y)&&(X=k);var B=A.prototype=g.prototype=Object.create(X);function Z(n){["next","throw","return"].forEach(function(e){d(n,e,function(t){return this._invoke(e,t)})})}function G(n,e){function t(s,u,v,L){var b=C(n[s],n,u);if(b.type!=="throw"){var T=b.arg,N=T.value;return N&&typeof N=="object"&&r.call(N,"__await")?e.resolve(N.__await).then(function(w){t("next",w,v,L)},function(w){t("throw",w,v,L)}):e.resolve(N).then(function(w){T.value=w,v(T)},function(w){return t("throw",w,v,L)})}L(b.arg)}var a;p(this,"_invoke",{value:function(u,v){function L(){return new e(function(b,T){t(u,v,b,T)})}return a=a?a.then(L,L):L()}})}function we(n,e,t){var a=P;return function(s,u){if(a===m)throw new Error("Generator is already running");if(a===h){if(s==="throw")throw u;return{value:c,done:!0}}for(t.method=s,t.arg=u;;){var v=t.delegate;if(v){var L=q(v,t);if(L){if(L===_)continue;return L}}if(t.method==="next")t.sent=t._sent=t.arg;else if(t.method==="throw"){if(a===P)throw a=h,t.arg;t.dispatchException(t.arg)}else t.method==="return"&&t.abrupt("return",t.arg);a=m;var b=C(n,e,t);if(b.type==="normal"){if(a=t.done?h:R,b.arg===_)continue;return{value:b.arg,done:t.done}}b.type==="throw"&&(a=h,t.method="throw",t.arg=b.arg)}}}function q(n,e){var t=e.method,a=n.iterator[t];if(a===c)return e.delegate=null,t==="throw"&&n.iterator.return&&(e.method="return",e.arg=c,q(n,e),e.method==="throw")||t!=="return"&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+t+"' method")),_;var s=C(a,n.iterator,e.arg);if(s.type==="throw")return e.method="throw",e.arg=s.arg,e.delegate=null,_;var u=s.arg;return u?u.done?(e[n.resultName]=u.value,e.next=n.nextLoc,e.method!=="return"&&(e.method="next",e.arg=c),e.delegate=null,_):u:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,_)}function Se(n){var e={tryLoc:n[0]};1 in n&&(e.catchLoc=n[1]),2 in n&&(e.finallyLoc=n[2],e.afterLoc=n[3]),this.tryEntries.push(e)}function z(n){var e=n.completion||{};e.type="normal",delete e.arg,n.completion=e}function Q(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(Se,this),this.reset(!0)}function V(n){if(n||n===""){var e=n[y];if(e)return e.call(n);if(typeof n.next=="function")return n;if(!isNaN(n.length)){var t=-1,a=function s(){for(;++t<n.length;)if(r.call(n,t))return s.value=n[t],s.done=!1,s;return s.value=c,s.done=!0,s};return a.next=a}}throw new TypeError(typeof n+" is not iterable")}return O.prototype=A,p(B,"constructor",{value:A,configurable:!0}),p(A,"constructor",{value:O,configurable:!0}),O.displayName=d(A,D,"GeneratorFunction"),l.isGeneratorFunction=function(n){var e=typeof n=="function"&&n.constructor;return!!e&&(e===O||(e.displayName||e.name)==="GeneratorFunction")},l.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,A):(n.__proto__=A,d(n,D,"GeneratorFunction")),n.prototype=Object.create(B),n},l.awrap=function(n){return{__await:n}},Z(G.prototype),d(G.prototype,f,function(){return this}),l.AsyncIterator=G,l.async=function(n,e,t,a,s){s===void 0&&(s=Promise);var u=new G(j(n,e,t,a),s);return l.isGeneratorFunction(e)?u:u.next().then(function(v){return v.done?v.value:u.next()})},Z(B),d(B,D,"Generator"),d(B,y,function(){return this}),d(B,"toString",function(){return"[object Generator]"}),l.keys=function(n){var e=Object(n),t=[];for(var a in e)t.push(a);return t.reverse(),function s(){for(;t.length;){var u=t.pop();if(u in e)return s.value=u,s.done=!1,s}return s.done=!0,s}},l.values=V,Q.prototype={constructor:Q,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(z),!e)for(var t in this)t.charAt(0)==="t"&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=c)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type==="throw")throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function a(T,N){return v.type="throw",v.arg=e,t.next=T,N&&(t.method="next",t.arg=c),!!N}for(var s=this.tryEntries.length-1;s>=0;--s){var u=this.tryEntries[s],v=u.completion;if(u.tryLoc==="root")return a("end");if(u.tryLoc<=this.prev){var L=r.call(u,"catchLoc"),b=r.call(u,"finallyLoc");if(L&&b){if(this.prev<u.catchLoc)return a(u.catchLoc,!0);if(this.prev<u.finallyLoc)return a(u.finallyLoc)}else if(L){if(this.prev<u.catchLoc)return a(u.catchLoc,!0)}else{if(!b)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return a(u.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a];if(s.tryLoc<=this.prev&&r.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var u=s;break}}u&&(e==="break"||e==="continue")&&u.tryLoc<=t&&t<=u.finallyLoc&&(u=null);var v=u?u.completion:{};return v.type=e,v.arg=t,u?(this.method="next",this.next=u.finallyLoc,_):this.complete(v)},complete:function(e,t){if(e.type==="throw")throw e.arg;return e.type==="break"||e.type==="continue"?this.next=e.arg:e.type==="return"?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):e.type==="normal"&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),z(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var s=a.completion;if(s.type==="throw"){var u=s.arg;z(a)}return u}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:V(e),resultName:t,nextLoc:a},this.method==="next"&&(this.arg=c),_}},l}var be=function(l){var E=l.user,r=l.dispatch,p=l.classroomList;return o.a.createElement(H.a,{title:"\u6E29\u99A8\u63D0\u793A",zIndex:9999,footer:null,visible:p.actionTabs.key==="\u5BFC\u51FA\u63D0\u9192",onCancel:function(){r({type:"classroomList/setActionTabs",payload:{}})}},o.a.createElement("div",null,o.a.createElement("span",null,"\u60A8\u5728\u5F53\u524D\u680F\u76EE\u4E2D\u6709\u5DF2\u5BFC\u51FA\u7684\u8868\u683C\u672A\u4E0B\u8F7D\uFF0C\u8BF7\u5148\u4E0B\u8F7D\u5DF2\u6709\u8868\u683C\uFF0C\u7136\u540E\u518D\u5BFC\u51FA\u65B0\u7684\u8868\u683C\u3002"),o.a.createElement("br",null),o.a.createElement("div",{style:{textAlign:"end"}},o.a.createElement(K.a,{type:"primary",onClick:Object(Le.a)($().mark(function x(){return $().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:r({type:"classroomList/setActionTabs",payload:{}});case 1:case"end":return f.stop()}},x)}))},"\u77E5\u9053\u4E86"))))},Fe=Object(I.a)(function(c){var l=c.user,E=c.classroomList;return{user:l,classroomList:E}})(be),Ie=i("14J3"),Re=i("BMrR"),Xe=i("sRBo"),Ae=i("kaz8"),Ue=i("2tKv"),De=i.n(Ue),Ce=function(l){var E,r=l.user,p=Object(S.useState)(!1),x=Object(Y.a)(p,2),y=x[0],f=x[1],D=Object(S.useState)(""),d=Object(Y.a)(D,2),j=d[0],C=d[1];Object(S.useEffect)(function(){var R,m,h=localStorage.getItem("extension-modal");if(!(r==null||((R=r.userInfo)===null||R===void 0)?void 0:R.login)||!h)return;var _=M()(),g="".concat(r==null||((m=r.userInfo)===null||m===void 0)?void 0:m.login,"-extend-date"),O=localStorage.getItem(g);if(O)if(_<=M()(O))f(!1);else{f(!0),localStorage.removeItem(g),localStorage.removeItem("extension-modal");var A=M()(localStorage.getItem("extension-date")).format("YYYY\u5E74MM\u6708DD\u65E5");C(A)}else{f(!0),localStorage.removeItem("extension-modal");var X=M()(localStorage.getItem("extension-date")).format("YYYY\u5E74MM\u6708DD\u65E5");C(X)}return function(){f(!1)}},[r==null||((E=r.userInfo)===null||E===void 0)?void 0:E.login]);var P=function(m){var h,_="".concat(r==null||((h=r.userInfo)===null||h===void 0)?void 0:h.login,"-extend-date"),g=M()().endOf("day").format("YYYY-MM-DD HH:mm:ss");m.target.checked?localStorage.setItem(_,g):localStorage.removeItem(_)};return o.a.createElement(H.a,{title:"\u6E29\u99A8\u63D0\u793A",visible:y,zIndex:9999,centered:!0,width:594,onCancel:function(){f(!1)},footer:o.a.createElement(Re.a,{align:"middle",justify:"space-between"},o.a.createElement(Ae.a,{onChange:P},"\u4ECA\u65E5\u4E0D\u518D\u63D0\u9192"),o.a.createElement(K.a,{onClick:function(){f(!1)},style:{borderRadius:4},type:"primary"}," \u5173\u95ED"))},o.a.createElement("div",{className:"font14",style:{paddingLeft:16}},o.a.createElement("div",null,"\u8001\u5E08\u60A8\u597D\uFF01"),o.a.createElement("div",{style:{textIndent:28}},"\u611F\u8C22\u60A8\u5BF9\u5934\u6B4C\u5E73\u53F0\u7684\u8BA4\u53EF\u4E0E\u652F\u6301\uFF01\u6839\u636E\u5E73\u53F0",o.a.createElement("a",{href:"https://www.educoder.net/help/agreement",target:"_blank"},"\u670D\u52A1\u534F\u8BAE"),"\uFF0C\u8D35\u5355\u4F4D\u514D\u8D39\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u5C06\u9650\u5236\u5BF9\u76F8\u5173\u529F\u80FD\u548C\u8D44\u6E90\u7684\u4F7F\u7528\u3002"),o.a.createElement("div",{style:{textIndent:28}},"\u8BF7\u60A8\u6DFB\u52A0\u4EE5\u4E0B\u5FAE\u4FE1\u5BA2\u670D\uFF0C\u534F\u52A9\u60A8\u5B8C\u6210\u540E\u7EED\u4F7F\u7528\u53CA\u7533\u8BF7\u6D41\u7A0B\uFF0C\u611F\u8C22\u652F\u6301\u4E0E\u7406\u89E3\u3002"),o.a.createElement("img",{style:{margin:"8px auto",display:"block"},width:160,src:De.a,alt:"\u4E8C\u7EF4\u7801"}),o.a.createElement("div",{style:{textAlign:"right"}},"\u5934\u6B4C\u8FD0\u8425\u4E2D\u5FC3"),o.a.createElement("div",{style:{textAlign:"right"}},j)))},Ne=Object(I.a)(function(c){var l=c.user;return{user:l}})(Ce),Pe=i("H4Hi"),Oe=i.n(Pe),Te=function(l){var E=l.loading,r=l.children,p=Object(te.a)(l,["loading","children"]);return o.a.createElement(ee.a,{locale:ne.default},o.a.createElement(oe.a,p),o.a.createElement("section",{className:Oe.a.layoutMainClass},r),o.a.createElement(ye,null),o.a.createElement(he,null),o.a.createElement(Fe,null),o.a.createElement(Ne,null))},ke=U.default=Object(I.a)(function(c){var l=c.loading;return{loading:l}})(Te)},NaGD:function(F,U,i){F.exports={flex_box_center:"flex_box_center___VTqUm",flex_space_between:"flex_space_between___3f-Ja",flex_box_vertical_center:"flex_box_vertical_center___u4Jjr",flex_box_center_end:"flex_box_center_end___1QKJE",flex_box_column:"flex_box_column___1OBJc",newFooter:"newFooter___UNzWw"}},d5bv:function(F,U,i){F.exports=i.p+"static/beian.0c577066.png"},iHkK:function(F,U,i){F.exports={sideBar:"sideBar___DNWGT",wrap:"wrap___2rWVP",backTop:"backTop___3cAkP",ul:"ul___Bsaot"}}}]);
|