text: webpackJsonp([3],{673:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{user:(0,b.getUser)(e)}}Object.defineProperty(t,"__esModule",{value:!0});var f=function(){var e="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103;return function(t,r,n,o){var u=t&&t.defaultProps,a=arguments.length-3;if(r||0===a||(r={}),r&&u)for(var i in u)void 0===r[i]&&(r[i]=u[i]);else r||(r=u||{});if(1===a)r.children=o;else if(a>1){for(var f=Array(a),l=0;l<a;l++)f[l]=arguments[l+3];r.children=f}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:r,_owner:null}}}(),l=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=r(0),s=(n(c),r(57)),p=(r(56),r(680)),d=n(p),y=r(142),b=r(256),h=function(e){function t(){var e,r,n,a;o(this,t);for(var i=arguments.length,f=Array(i),l=0;l<i;l++)f[l]=arguments[l];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),n.handleUpdate=function(e){n.props.dispatch((0,y.updateUserInfoRequest)({password:e}))},a=r,u(n,a)}return a(t,e),l(t,[{key:"render",value:function(){return f(d["default"],{updateInfo:this.handleUpdate,user:this.props.user})}}]),t}(c.Component);t["default"]=(0,s.connect)(i)(h)},680:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileForm=void 0;var i=function(){var e="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103;return function(t,r,n,o){var u=t&&t.defaultProps,a=arguments.length-3;if(r||0===a||(r={}),r&&u)for(var i in u)void 0===r[i]&&(r[i]=u[i]);else r||(r=u||{});if(1===a)r.children=o;else if(a>1){for(var f=Array(a),l=0;l<a;l++)f[l]=arguments[l+3];r.children=f}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:r,_owner:null}}}(),f=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),l=r(0),c=n(l),s=r(56),p=r(684),d=n(p),y=i(s.FormattedMessage,{id:"profileTitle"}),b=i(s.FormattedMessage,{id:"submit"}),h=t.ProfileForm=function(e){function t(){var e,r,n,a;o(this,t);for(var i=arguments.length,f=Array(i),l=0;l<i;l++)f[l]=arguments[l];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),n.onUpdate=function(){var e=n.refs.newPassword;e.value&&(n.props.updateInfo(e.value),e.value="")},a=r,u(n,a)}return a(t,e),f(t,[{key:"render",value:function(){return i("div",{className:d["default"]["form-content"]},void 0,i("h2",{className:d["default"]["form-title"]},void 0,this.props.user.username,y),c["default"].createElement("input",{placeholder:this.props.intl.messages.newPassword,className:d["default"]["form-field"],ref:"newPassword",type:"password"}),i("a",{className:d["default"]["submit-button"],onClick:this.onUpdate},void 0,b))}}]),t}(l.Component);t["default"]=(0,s.injectIntl)(h)},684:function(e,t){e.exports={form:"_90VMhNUlyyvZN-EQk8Pes","form-content":"_3hiTaBSfw7e6gpOrrgCDym","form-title":"_1DyF0mZ8_QRFM1rzhx_9Dd","form-field":"_1hQNn1IIRcRvFVjzJNFLu","submit-button":"_1uo7ZYGUm2oox8XiDnWluY",appear:"A7UQRZ2M2hTvWtWW62yeq"}}});