(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{"7A1C":function(a,o,t){},RhLm:function(a,o,t){},XmPC:function(a,o,t){a.exports=t.p+"static/wechat.a53d22ca.svg"},aZj7:function(a,o){a.exports="data:image/png;base64,[encoded data, 8352 characters]"},cEFz:function(a,o,t){"use strict";t.d(o,"a",function(){return P});var m=t("q1tI"),e=t.n(m),n=t("XmPC"),s=t.n(n),d=t("p3IR"),O=t.n(d),_=t("1vsH"),A=t("RhLm"),f=t.n(A),u=t("m3rI"),c=window.location.host,E=u.a.QQLoginCB;o.b=function(i){var l=i.onWechatLogin;function r(){Object(_.x)()?window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(E,"%2fotherloginqq&state=null,").concat(c,"&response_type=code"):Object(_.A)("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=".concat(E,"%2fotherloginqq&state=null,").concat(c,"&response_type=code"))}return e.a.createElement(e.a.Fragment,null,e.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 "),e.a.createElement("div",{className:"other-login"},e.a.createElement("a",{title:"\u5FAE\u4FE1\u767B\u5F55",onClick:l},e.a.createElement("img",{src:s.a,alt:"\u5FAE\u4FE1",width:46})),e.a.createElement("a",{title:"qq\u767B\u5F55",onClick:r},e.a.createElement("img",{src:O.a,alt:"QQ",width:46}))))};function P(i){var l=i.onBack;return e.a.createElement(e.a.Fragment,null,e.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=".concat(E,"%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(c,"#wechat_redirect")}),e.a.createElement("a",{className:"btn-link",onClick:l},"\u8FD4\u56DE\u8D26\u53F7\u767B\u5F55"))}},gsSH:function(a,o,t){a.exports=t.p+"static/bg.41076faf.png"},p3IR:function(a,o,t){a.exports=t.p+"static/qq.ee284be0.svg"},zCei:function(a,o,t){"use strict";t.r(o);var m=t("tJVT"),e=t("q1tI"),n=t.n(e),s=t("cEFz"),d=t("7A1C"),O=t.n(d),_=t("m3rI"),A=t("gsSH"),f=t.n(A),u=t("aZj7"),c=t.n(u),E=t("9kvl");function P(i){var l,r,p,R=i.dispatch,g=i.globalSetting,M=i.children,v=Object(e.useState)(!1),D=Object(m.a)(v,2),h=D[0],C=D[1];function T(){C(!1)}function F(){C(!0)}Object(e.useEffect)(function(){g.setting||R({type:"globalSetting/query"})},[]);var b=(l=g.setting)===null||l===void 0?void 0:l.main_site,B=(r=g.setting)===null||r===void 0?void 0:r.login_logo_url,U=(p=g.setting)===null||p===void 0?void 0:p.is_local;return n.a.createElement("div",{className:"register-container"},n.a.createElement("img",{alt:"bg",className:"bg",src:f.a}),n.a.createElement("div",{className:"register-body"},n.a.createElement("img",{alt:"logo",src:B?"".concat(_.a.IMG_SERVER,"/").concat(B):c.a,width:129}),n.a.createElement("div",{className:"register-panel"},h?null:M,h?n.a.createElement(s.a,{onBack:T}):n.a.createElement(n.a.Fragment,null,b&&!U&&n.a.createElement(s.b,{onWechatLogin:F}))),!U&&n.a.createElement("div",{className:"register-footer"},n.a.createElement("span",null,"\xA9")," 2021 EduCoder  \u6E58ICP\u590717009477\u53F7  ",n.a.createElement("a",{href:"https://team.trustie.net/",target:"_blank"},"Trustie"),"  &  IntelliDE inside")))}o.default=Object(E.a)(function(i){var l=i.loading,r=i.globalSetting;return{globalSetting:r,loading:l.models.index}})(P)}}]);
