!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);var a=self,n=0,o=100;a.addEventListener("message",(function(e){var t=e.data;switch(t.command){case"start_timeout":if(clearTimeout(n),!t.payload||t.payload&&!t.payload.timeout){postMessage("tick");break}n=setTimeout((function(){postMessage("tick")}),t.payload.timeout);break;case"start_interval":clearInterval(n),t.payload&&t.payload.interval&&t.payload.interval>=0&&(o=t.payload.interval),n=setInterval((function(){postMessage("tick")}),o);break;case"stop":clearInterval(n),clearTimeout(n)}})),t.default={}}]);
//# sourceMappingURL=8ede052640bd2bf04ede.worker.js.map