(this["webpackJsonpmr-julyedu"]=this["webpackJsonpmr-julyedu"]||[]).push([[4],{1646: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(697),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)},697:function(e,t,s){}}]);
//# sourceMappingURL=Activity.ccd3d29a.chunk.js.map