(window.webpackJsonp=window.webpackJsonp||[]).push([[242],{"/pIo":function(b,a,e){"use strict";e.r(a);var T=e("cWXX"),y=e("/ezw"),O=e("WmNS"),n=e.n(O),h=e("9og8"),D=e("tJVT"),r=e("q1tI"),s=e.n(r),l=e("Ty5D"),P=e("ErOA"),f=e("m3rI");a.default=function(){var M=Object(l.l)(),u=Object(l.k)(),i=M.query,m=i.code,d=i.state;return Object(r.useEffect)(function(){var v=d.split(","),E=Object(D.a)(v,2),U=E[0],I=E[1];function g(){return t.apply(this,arguments)}function t(){return t=Object(h.a)(n.a.mark(function R(){var o,c,p;return n.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(P.d)("auth/qq/callback",{code:m,redirect_uri:"".concat(f.a.QQLoginCB,"/otherloginqq")});case 2:o=_.sent,c=o.status,p=o.new_user,c===0&&(p?u.replace("/otherlogin?type=qq"):u.replace(U==="account"?"/account/binding":"/"));case 6:case"end":return _.stop()}},R)})),t.apply(this,arguments)}g()},[m,d]),s.a.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},s.a.createElement(y.a,null))}}}]);
