(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[23],{"7A1C":function(e,t,A){},"9tR4":function(e,t){e.exports="data:image/png;base64,[encoded data, 10772 characters]"},RhLm:function(e,t,A){},aZj7:function(e,t){e.exports="data:image/png;base64,[encoded data, 8352 characters]"},cEFz:function(e,t,A){"use strict";A.d(t,"a",(function(){return b}));var n=A("ZZRV"),c=A.n(n),a=A("9tR4"),r=A.n(a),i=A("qN9z"),o=A.n(i),d=A("1vsH"),g=(A("RhLm"),window.location.host),l="www.educoder.net";function b(e){var t=e.onBack;return c.a.createElement(c.a.Fragment,null,c.a.createElement("iframe",{className:"wechat-qrcode",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2f".concat(l,"%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(g,"#wechat_redirect")}),c.a.createElement("a",{className:"btn-link",onClick:t},"\u8fd4\u56de\u8d26\u53f7\u767b\u5f55"))}t["b"]=function(e){var t=e.onWechatLogin;function A(){Object(d["u"])()?window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=https%3a%2f%2f".concat(l,"%2fotherloginqq&state=null,").concat(g,"&response_type=code"):Object(d["w"])("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=https%3a%2f%2f".concat(l,"%2fotherloginqq&state=null,").concat(g,"&response_type=code"))}return c.a.createElement(c.a.Fragment,null,c.a.createElement("p",{className:"driver"}," \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 \u5feb\u901f\u767b\u5f55 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 "),c.a.createElement("div",{className:"other-login"},c.a.createElement("a",{title:"\u5fae\u4fe1\u767b\u5f55",onClick:t},c.a.createElement("img",{src:r.a,alt:"\u5fae\u4fe1",width:46})),c.a.createElement("a",{title:"qq\u767b\u5f55",onClick:A},c.a.createElement("img",{src:o.a,alt:"QQ",width:46}))))}},gsSH:function(e,t,A){e.exports=A.p+"static/bg.41076faf.png"},qN9z:function(e,t){e.exports="data:image/png;base64,[encoded data, 10220 characters]"},zCei:function(e,t,A){"use strict";A.r(t);var n=A("GZha"),c=A("ZZRV"),a=A.n(c),r=A("cEFz"),i=(A("7A1C"),A("m3rI")),o=A("gsSH"),d=A.n(o),g=A("aZj7"),l=A.n(g),b=A("9kvl");function s(e){var t,A,o,g=e.dispatch,b=e.globalSetting,s=e.children,B=Object(c["useState"])(!1),J=Object(n["a"])(B,2),u=J[0],p=J[1];function f(){p(!1)}function w(){p(!0)}Object(c["useEffect"])((function(){b.setting||g({type:"globalSetting/query"})}),[]);var v=null===(t=b.setting)||void 0===t?void 0:t.main_site,Q=null===(A=b.setting)||void 0===A?void 0:A.login_logo_url,O=null===(o=b.setting)||void 0===o?void 0:o.is_local;return a.a.createElement("div",{className:"register-container"},a.a.createElement("img",{alt:"bg",className:"bg",src:d.a}),a.a.createElement("div",{className:"register-body"},a.a.createElement("img",{alt:"logo",src:Q?"".concat(i["a"].IMG_SERVER,"/").concat(Q):l.a,width:129}),a.a.createElement("div",{className:"register-panel"},u?null:s,u?a.a.createElement(r["a"],{onBack:f}):a.a.createElement(a.a.Fragment,null,v&&!O&&a.a.createElement(r["b"],{onWechatLogin:w}))),!O&&a.a.createElement("div",{className:"register-footer"},a.a.createElement("span",null,"\xa9")," 2020 EduCoder  \u6e58ICP\u590717009477\u53f7  ",a.a.createElement("a",{href:"https://team.trustie.net/",target:"_blank"},"Trustie"),"  &  IntelliDE inside")))}t["default"]=Object(b["a"])((function(e){var t=e.loading,A=e.globalSetting;return{globalSetting:A,loading:t.models.index}}))(s)}}]);