/*! For license information please see dll.Runner.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[98],{1119:function(t,n,e){"use strict";e.r(n);var r=e(13),i=e.n(r),a=e(12),o=e.n(a),l=e(14),s=e.n(l),u=e(15),c=e.n(u),p=e(8),v=e.n(p),f=e(0),h=e(1),d=e.n(h);function w(t){var n=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(t){return!1}}();return function(){var e,r=v()(t);if(n){var i=v()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return c()(this,e)}}var y=function(t){s()(e,t);var n=w(e);function e(t){var r;return i()(this,e),(r=n.call(this,t)).state={},r}return o()(e,[{key:"componentDidMount",value:function(){this.props.active&&(this.props.interval?this.intervalID=window.setInterval(this.props.onEvaluate,this.props.interval):this.props.onEvaluate())}},{key:"componentDidUpdate",value:function(t){t.active&&!this.props.active?this.intervalID&&(window.clearInterval(this.intervalID),this.intervalID=null):!t.active&&this.props.active&&(this.props.interval?this.intervalID=window.setInterval(this.props.onEvaluate,this.props.interval):this.props.onEvaluate())}},{key:"componentWillUnmount",value:function(){this.intervalID&&window.clearInterval(this.intervalID)}},{key:"render",value:function(){return null}}]),e}(f.Component);y.defaultProps={active:!0,interval:null,onEvaluate:function(){}},y.propTypes={active:d.a.bool,interval:d.a.number,onEvaluate:d.a.func},n.default=y}}]);