/*! For license information please see dll.Generator.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[48],{863:function(e,t,n){"use strict";n.r(t);var r=n(14),a=n.n(r),o=n(13),u=n.n(o),c=n(11),l=n.n(c),i=n(15),s=n.n(i),f=n(16),p=n.n(f),d=n(8),h=n.n(d),b=n(7),m=n.n(b),v=n(0),y=n.n(v),k=n(1),w=n.n(k),R=n(104),C=n(149);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var a=h()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p()(this,n)}}var G=function(e){s()(n,e);var t=_(n);function n(e){var r;return a()(this,n),r=t.call(this,e),m()(l()(r),"handleClick",(function(){var e=r.props.onGenerate();r.setState({element:e})})),r.state={element:null},r}return u()(n,[{key:"render",value:function(){return y.a.createElement(C.default,null,this.state.element,y.a.createElement(R.default,{block:!0,onClick:this.handleClick},this.props.buttonLabel))}}]),n}(v.Component);G.propTypes={buttonLabel:w.a.oneOfType([w.a.string,w.a.node]),onGenerate:w.a.func.isRequired},G.defaultProps={buttonLabel:"Generate"},t.default=G}}]);