(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[4],{1689:function(e,t,s){"use strict";s.r(t);var i=s(0),n=s.n(i),a=s(15),o=s(1),r=(s(715),s(33)),c=s.n(r);class u extends i.Component{constructor(e){super(e),this.getGift=()=>{this.props.user.hasError?this.props.history.push("/passport",{from:this.props.location.pathname}):this.props.history.push("/blessingPreheat")},this.state={butText:"\u7acb\u5373\u9886\u53d6"}}componentWillMount(){c.a.set("blessing_invite_uid",Object(o.c)("shareuid"),{domain:".julyedu.com",expires:30}),c.a.set("blessing_invite_code",Object(o.c)("inviteCode"),{domain:".julyedu.com",expires:30}),c.a.get("uid")&&this.setState(()=>({butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}))}render(){const{butText:e}=this.state;return n.a.createElement("div",{className:"activity__con"},n.a.createElement("div",{className:"banner__con"}),n.a.createElement("div",{className:"content__con"},n.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}t.default=Object(a.b)(e=>({user:e.user}),null)(u)},715:function(e,t,s){}}]);
//# sourceMappingURL=Activity.5da8f7e2.chunk.js.map