New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

parallel-es

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parallel-es - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

dist/common/util/assign.d.ts

4

dist/browser-commonjs.parallel.js

@@ -1,3 +0,3 @@

!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["parallel-es"]=n():t["parallel-es"]=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=171)}(function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))switch(typeof t[n]){case"function":break;case"object":t[n]=function(n){var e=n.slice(1),r=t[n[0]];return function(t,n,i){r.apply(this,[t,n,i].concat(e))}}(t[n]);break;default:t[n]=t[t[n]]}return t}([function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(79),o=r(i);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(33)("wks"),i=e(23),o=e(4).Symbol,u="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))};a.store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(14);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(5),i=e(52),o=e(39),u=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(4),i=e(2),o=e(17),u=e(9),a="prototype",s=function(t,n,e){var c,f,l,h=t&s.F,d=t&s.G,v=t&s.S,p=t&s.P,y=t&s.B,m=t&s.W,k=d?i:i[n]||(i[n]={}),g=k[a],b=d?r:v?r[n]:(r[n]||{})[a];d&&(e=n);for(c in e)f=!h&&b&&void 0!==b[c],f&&c in k||(l=f?b[c]:e[c],k[c]=d&&"function"!=typeof b[c]?e[c]:y&&f?o(l,r):m&&b[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[a]=t[a],n}(l):p&&"function"==typeof l?o(Function.call,l):l,p&&((k.virtual||(k.virtual={}))[c]=l,t&s.R&&g&&!g[c]&&u(g,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n,e){var r=e(6),i=e(19);t.exports=e(7)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(53),i=e(25);t.exports=function(t){return r(i(t))}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n,e){i()(this,t),this.func=n,this.params=e}return u()(t,null,[{key:"create",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}},{key:"createUnchecked",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}}]),t}()},function(t,n,e){t.exports={default:e(85),__esModule:!0}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports={}},function(t,n,e){var r=e(35);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";function r(t,n){return{_______isFunctionId:!0,identifier:t+"-"+n}}function i(t){return!!t&&t._______isFunctionId===!0}n.a=r,n.b=i},function(t,n,e){var r=e(57),i=e(32);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(6).f,i=e(11),o=e(3)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";var r=e(20);e.d(n,"a",function(){return i});var i={FILTER:e.i(r.a)("parallel",0),IDENTITY:e.i(r.a)("parallel",1),MAP:e.i(r.a)("parallel",2),PARALLEL_JOB_EXECUTOR:e.i(r.a)("parallel",3),RANGE:e.i(r.a)("parallel",4),REDUCE:e.i(r.a)("parallel",5),TIMES:e.i(r.a)("parallel",6),TO_ITERATOR:e.i(r.a)("parallel",7)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=!0},function(t,n,e){var r=e(33)("keys"),i=e(23);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(25);t.exports=function(t){return Object(r(t))}},function(t,n,e){"use strict";var r=e(97)(!0);e(43)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(14),i=e(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(4),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(49),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(121),h=e(120);e.d(n,"a",function(){return d});var d=function(){function t(n){var e=this;s()(this,t),this.nextHandlers=[];var r=function(t,n,r){return e._next(t,n,r)},i=function(t){return e.reject(t)},o=function(t){return e.resolve(t)};n(r,o,i),this.promise=new u.a(function(t,n){e.resolve=t,e.reject=n})}return f()(t,[{key:"subscribe",value:function(t,n,e){return this.nextHandlers.push(t),(n||e)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"_next",value:function(t,n,e){var r=!0,o=!1,u=void 0;try{for(var a,s=i()(this.nextHandlers);!(r=(a=s.next()).done);r=!0){var c=a.value;c.apply(void 0,arguments)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}}}],[{key:"transform",value:function(n,e){var r=void 0,i=void 0,o=void 0,u=new t(function(t,n,e){r=t,i=n,o=e});return n.subscribe(r,o,function(t){return i(e(t))}),u}},{key:"fromTasks",value:function(t,n,e){return 0===t.length?new h.a(n):new l.a(t,n,e)}}]),t}()},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(5),i=e(94),o=e(32),u=e(27)("IE_PROTO"),a=function(){},s="prototype",c=function(){var t,n=e(31)("iframe"),r=o.length,i="<",u=">";for(n.style.display="none",e(51).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+u+"document.F=Object"+i+"/script"+u),t.close(),c=t.F;r--;)delete c[s][o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[s]=r(t),e=new a,a[s]=null,e[u]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(28),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(14);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(50),i=e(3)("iterator"),o=e(16);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){e(101);for(var r=e(4),i=e(9),o=e(16),u=e(3)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var c=a[s],f=r[c],l=f&&f.prototype;l&&!l[u]&&i(l,u,c),o[c]=o.Array}},function(t,n,e){"use strict";var r=e(70),i=(e.n(r),e(64)),o=(e.n(i),e(67)),u=(e.n(o),e(68)),a=(e.n(u),e(46)),s=e(71),c=(e.n(s),e(69)),f=(e.n(c),e(72));e.n(f);e.o(r,"IParallel")&&e.d(n,"a",function(){return r.IParallel}),e.o(i,"IParallelChain")&&e.d(n,"b",function(){return i.IParallelChain}),e.o(o,"IParallelTaskEnvironment")&&e.d(n,"c",function(){return o.IParallelTaskEnvironment}),e.o(o,"IParallelEnvironment")&&e.d(n,"d",function(){return o.IParallelEnvironment}),e.o(u,"IParallelJob")&&e.d(n,"e",function(){return u.IParallelJob}),e.d(n,"f",function(){return a.IParallelOptions}),e.d(n,"g",function(){return a.IDefaultInitializedParallelOptions}),e.o(s,"IParallelJobScheduler")&&e.d(n,"h",function(){return s.IParallelJobScheduler}),e.o(c,"IParallelOperation")&&e.d(n,"i",function(){return c.IParallelOperation}),e.o(c,"ISerializedParallelOperation")&&e.d(n,"j",function(){return c.ISerializedParallelOperation}),e.o(f,"IParallelStream")&&e.d(n,"k",function(){return f.IParallelStream})},function(t,n,e){"use strict";var r=e(26),i=e(8),o=e(59),u=e(9),a=e(11),s=e(16),c=e(91),f=e(22),l=e(56),h=e(3)("iterator"),d=!([].keys&&"next"in[].keys()),v="@@iterator",p="keys",y="values",m=function(){return this};t.exports=function(t,n,e,k,g,b,_){c(e,n,k);var w,x,O,P=function(t){if(!d&&t in E)return E[t];switch(t){case p:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",I=g==y,T=!1,E=t.prototype,j=E[h]||E[v]||g&&E[g],M=j||P(g),F=g?I?P("entries"):M:void 0,R="Array"==n?E.entries||j:j;if(R&&(O=l(R.call(new t)),O!==Object.prototype&&(f(O,S,!0),r||a(O,h)||u(O,h,m))),I&&j&&j.name!==y&&(T=!0,M=function(){return j.call(this)}),r&&!_||!d&&!T&&E[h]||u(E,h,M),s[n]=M,s[S]=m,g)if(w={values:I?M:P(y),keys:b?M:P(p),entries:F},_)for(x in w)x in E||o(E,x,w[x]);else i(i.P+i.F*(d||T),n,w);return w}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n){i()(this,t),this.functionRegistry=n}return u()(t,[{key:"serializeFunctionCall",value:function(t){var n=this.functionRegistry.getOrSetId(t.func);return{______serializedFunctionCall:!0,functionId:n,parameters:t.params}}}]),t}()},function(t,n,e){"use strict";function r(t){return!!t&&t.______serializedFunctionCall===!0}n.a=r},function(t,n,e){"use strict";function r(t){var n=!0,e=!1,r=void 0;try{for(var i,a=o()(u);!(n=(i=a.next()).done);n=!0){var s=i.value,c=t[s];if("undefined"!=typeof c&&("number"!=typeof c||c<=0||c%1!==0))throw new Error("Illegal parallel options: "+s+" ("+c+") has to be an integer greater than zero")}}catch(t){e=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(e)throw r}}if("undefined"!=typeof t.minValuesPerTask&&"undefined"!=typeof t.maxValuesPerTask&&t.minValuesPerTask>t.maxValuesPerTask)throw new Error("Illegal parallel options: minValuesPerTask ("+t.minValuesPerTask+") must be equal or less than maxValuesPerTask ("+t.maxValuesPerTask+").")}var i=e(13),o=e.n(i);n.a=r;var u=["maxValuesPerTask","minValuesPerTask","maxDegreeOfParallelism"]},function(t,n,e){"use strict";function r(t){if(0===t.length)return[];var n=u()(t),e=n[0],r=n.slice(1);return Array.prototype.concat.apply(e,r)}function i(t,n){var e=t.length;t.length+=n.length;for(var r=0;r<n.length;++r)t[e+r]=n[r];return t}var o=e(82),u=e.n(o),a=e(13);e.n(a);n.b=r,n.a=i},function(t,n,e){t.exports={default:e(139),__esModule:!0}},function(t,n,e){t.exports={default:e(141),__esModule:!0}},function(t,n,e){var r=e(18),i=e(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){t.exports=e(4).document&&document.documentElement},function(t,n,e){t.exports=!e(7)&&!e(15)(function(){return 7!=Object.defineProperty(e(31)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(37),i=e(19),o=e(10),u=e(39),a=e(11),s=e(52),c=Object.getOwnPropertyDescriptor;n.f=e(7)?c:function(t,n){if(t=o(t),n=u(n,!0),s)try{return c(t,n)}catch(t){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(11),i=e(29),o=e(27)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(11),i=e(10),o=e(88)(!1),u=e(27)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),s=0,c=[];for(e in a)e!=u&&r(a,e)&&c.push(e);for(;n.length>s;)r(a,e=n[s++])&&(~o(c,e)||c.push(e));return c}},function(t,n,e){var r=e(8),i=e(2),o=e(15);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},function(t,n,e){t.exports=e(9)},function(t,n,e){var r=e(4),i=e(2),o=e(26),u=e(61),a=e(6).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(3)},function(t,n,e){"use strict";var r=e(42),i=e(73),o=(e.n(i),e(74)),u=(e.n(o),e(63)),a=(e.n(u),e(20)),s=e(12),c=e(45),f=e(44),l=e(75),h=(e.n(l),e(42));e.d(n,"a",function(){return r.a}),e.o(i,"ITaskDefinition")&&e.d(n,"b",function(){return i.ITaskDefinition}),e.o(o,"ITask")&&e.d(n,"c",function(){return o.ITask}),e.o(u,"IFunctionDefinition")&&e.d(n,"d",function(){return u.IFunctionDefinition}),e.d(n,"e",function(){return a.IFunctionId}),e.d(n,"f",function(){return a.b}),e.d(n,"g",function(){return s.a}),e.d(n,"h",function(){return c.ISerializedFunctionCall}),e.d(n,"i",function(){return c.a}),e.d(n,"j",function(){return f.a}),e.o(l,"IThreadPool")&&e.d(n,"k",function(){return l.IThreadPool}),e.d(n,"l",function(){return h.b}),e.d(n,"m",function(){return h.c}),e.d(n,"n",function(){return h.d}),e.d(n,"o",function(){return h.e}),e.d(n,"p",function(){return h.f}),e.d(n,"q",function(){return h.g}),e.d(n,"r",function(){return h.h}),e.d(n,"s",function(){return h.i}),e.d(n,"t",function(){return h.j}),e.d(n,"u",function(){return h.k})},function(t,n){},function(t,n){},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(112);e.d(n,"a",function(){return s});var s=function(){function t(n,e,r){i()(this,t),this.options=e,this.environment=r,this.stream=n}return u()(t,[{key:"resolve",value:function(){return this}},{key:"chainOperation",value:function(t){return new a.a(this.stream,this.options,this.environment,[t])}},{key:"addEnvironment",value:function(t){return new a.a(this.stream,this.options,this.environment.add(t))}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(24),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n){i()(this,t),this.collection=n}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*t,i=r+n;return e.serializeFunctionCall(s.a.createUnchecked(a.a.TO_ITERATOR,this.collection.slice(r,i)))}},{key:"length",get:function(){return this.collection.length}}]),t}()},64,64,function(t,n){},64,64,64,63,63,64,function(t,n,e){"use strict";function r(t){return{type:d.InitializeWorker,workerId:t}}function i(t){return{task:t,type:d.ScheduleTask}}function o(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return{functions:t,missingFunctions:e,type:d.FunctionResponse}}function u(){return{type:d.Stop}}function a(t){return t.type===d.FunctionRequest}function s(t){return t.type===d.WorkerResult}function c(t){return t.type===d.FunctionExecutionError}var f=e(125),l=(e.n(f),e(128)),h=(e.n(l),e(13));e.n(h);n.e=r,n.f=i,n.d=o,n.g=u,n.a=a,n.b=s,n.c=c;var d;!function(t){t[t.InitializeWorker=0]="InitializeWorker",t[t.ScheduleTask=1]="ScheduleTask",t[t.FunctionRequest=2]="FunctionRequest",t[t.FunctionResponse=3]="FunctionResponse",t[t.WorkerResult=4]="WorkerResult",t[t.FunctionExecutionError=5]="FunctionExecutionError",t[t.Stop=6]="Stop"}(d||(d={}))},function(t,n,e){t.exports={default:e(133),__esModule:!0}},function(t,n,e){t.exports={default:e(135),__esModule:!0}},function(t,n,e){t.exports={default:e(86),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(129),o=r(i),u=e(126),a=r(u),s=e(84),c=r(s);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof n?"undefined":(0,c.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(o.default?(0,o.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(84),o=r(i);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==("undefined"==typeof n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(77),o=r(i);n.default=function(t){return Array.isArray(t)?t:(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(77),o=r(i);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(131),o=r(i),u=e(130),a=r(u),s="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===s(o.default)?function(t){return"undefined"==typeof t?"undefined":s(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":s(t)}},function(t,n,e){e(41),e(30),t.exports=e(100)},function(t,n,e){e(102);var r=e(2).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(10),i=e(38),o=e(99);t.exports=function(t){return function(n,e,u){var a,s=r(n),c=i(s.length),f=o(u,c);if(t&&e!=e){for(;c>f;)if(a=s[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(16),i=e(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){var r=e(5);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){"use strict";var r=e(36),i=e(19),o=e(22),u={};e(9)(u,e(3)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(6),i=e(5),o=e(21);t.exports=e(7)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(n),a=u.length,s=0;a>s;)r.f(t,e=u[s++],n[e]);return t}},function(t,n,e){var r=e(10),i=e(96).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,n,e){var r=e(57),i=e(32).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){var r=e(28),i=e(25);t.exports=function(t){return function(n,e){var o,u,a=String(i(n)),s=r(e),c=a.length;return s<0||s>=c?t?"":void 0:(o=a.charCodeAt(s),o<55296||o>56319||s+1===c||(u=a.charCodeAt(s+1))<56320||u>57343?t?a.charAt(s):o:t?a.slice(s,s+2):(o-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r,i,o,u=e(17),a=e(148),s=e(51),c=e(31),f=e(4),l=f.process,h=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,p=0,y={},m="onreadystatechange",k=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){k.call(t.data)};h&&d||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++p]=function(){a("function"==typeof t?t:Function(t),n)},r(p),p},d=function(t){delete y[t]},"process"==e(18)(l)?r=function(t){l.nextTick(u(k,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=g,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r=m in c("script")?function(t){s.appendChild(c("script"))[m]=function(){s.removeChild(this),k.call(t)}}:function(t){setTimeout(u(k,t,1),0)}),t.exports={set:h,clear:d}},function(t,n,e){var r=e(28),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(5),i=e(40);t.exports=e(2).getIterator=function(t){var n=i(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return r(n.call(t))}},function(t,n,e){"use strict";var r=e(87),i=e(93),o=e(16),u=e(10);t.exports=e(43)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,e):"values"==n?i(0,t[e]):i(0,[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(8);r(r.S+r.F*!e(7),"Object",{defineProperty:e(6).f})},69,function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(111);e.d(n,"a",function(){return c});var s=e(169),c=function(){function t(n){i()(this,t),this.functionLookupTable=n}return u()(t,[{key:"spawn",value:function(){if(!window.Worker)throw new Error("Missing Web Worker support");var t=new s,n=new a.a(t,this.functionLookupTable);return n.initialize(),n}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(124),s=e(20),c=e(123);e.d(n,"a",function(){return f});var f=function(){function t(){i()(this,t),this.ids=new a.a,this.definitions=new a.a,this.lastId=0}return u()(t,[{key:"getOrSetId",value:function(t){if(e.i(s.b)(t))return t;var n=t.toString(),r=this.ids.get(n);return"undefined"==typeof r&&(r=e.i(s.a)("dynamic",++this.lastId),this.initDefinition(t,r)),r}},{key:"getDefinition",value:function(t){return this.definitions.get(t.identifier)}},{key:"initDefinition",value:function(t,n){var r=t.toString(),i=e.i(c.a)(t),o=r.substring(r.indexOf("(")+1,r.indexOf(")")).split(","),u=r.substring(r.indexOf("{")+1,r.lastIndexOf("}")).trim(),a={argumentNames:o.map(function(t){return t.trim()}),body:u,id:n,name:i?i:void 0};this.ids.set(r,n),this.definitions.set(n.identifier,a)}}]),t}()},function(t,n,e){"use strict";function r(t){function n(n){if(n){if(n.hasOwnProperty("threadPool")&&"undefined"==typeof n.threadPool)throw new Error("The thread pool is mandatory and cannot be unset");if(n.hasOwnProperty("functionCallSerializer")&&"undefined"==typeof n.functionCallSerializer)throw new Error("The function call serializer is mandatory and cannot be unset");e.i(u.a)(n)}return o()({},t,n)}return{defaultOptions:function(e){return e?void(t=n(e)):o()({},t)},from:function(t,r){return e.i(f.a)(new a.a(t),n(r))},range:function(t,r,i,o){var u=s.a.create(t,r,i);return e.i(f.a)(u,n(o))},times:function(t,r,i,o){return i?e.i(f.a)(c.a.create(t,r),n(o),i):e.i(f.a)(c.a.create(t,r),n(o))},run:function(n){for(var r=void 0,i=arguments.length,o=Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];r=e.i(l.b)(n)?h.a.create(n,o):h.a.create(n,o);var a=t.functionCallSerializer.serializeFunctionCall(r),s={main:a,usedFunctionIds:[a.functionId]};return t.threadPool.run(s)}}}var i=e(78),o=e.n(i),u=e(46),a=e(66),s=e(116),c=e(117),f=e(113),l=e(20),h=e(12);e.d(n,"a",function(){return r})},function(t,n,e){"use strict";var r=e(48),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(81),f=e.n(c),l=e(80),h=e.n(l),d=e(119);e.d(n,"a",function(){return v});var v=function(t){function n(){return u()(this,n),f()(this,(n.__proto__||i()(n)).apply(this,arguments))}return h()(n,t),s()(n,[{key:"getScheduling",value:function(t,n){var e=void 0;e=n.maxDegreeOfParallelism?n.maxDegreeOfParallelism:4*n.threadPool.maxThreads;var r=t/e;return n.minValuesPerTask&&(r=Math.min(Math.max(r,n.minValuesPerTask),t)),n.maxValuesPerTask&&(r=Math.min(r,n.maxValuesPerTask)),{numberOfTasks:0===r?0:Math.round(t/r),valuesPerTask:Math.ceil(r)}}}]),n}(d.a)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(122);e.d(n,"a",function(){return s});var s=function(){function t(n,e){i()(this,t),this.workerThreadFactory=n,this.workers=[],this.idleWorkers=[],this.queue=[],this.maxThreadsLimit=e.maxConcurrencyLevel}return u()(t,[{key:"run",value:function(t){var n=new a.a(t);return this.queue.unshift(n),this.schedulePendingTasks(),n}},{key:"schedulePendingTasks",value:function(){for(;this.queue.length;){var t=void 0;if(0===this.idleWorkers.length&&this.workers.length<this.maxThreadsLimit?(t=this.workerThreadFactory.spawn(),this.workers.push(t)):this.idleWorkers.length>0&&(t=this.idleWorkers.pop()),!t)return;var n=this.queue.pop();this.runTaskOnWorker(n,t)}}},{key:"runTaskOnWorker",value:function(t,n){var e=this;t.isCancellationRequested?(t.resolveCancelled(),this.releaseWorker(n)):n.run(t.definition,function(r,i){r?t.reject(r):t.resolve(i),e.releaseWorker(n)})}},{key:"releaseWorker",value:function(t){this.idleWorkers.push(t),this.schedulePendingTasks()}},{key:"maxThreads",get:function(){return this.maxThreadsLimit},set:function(t){if("number"!=typeof t||t%1!==0||t<=0)throw new Error("The maxThreads limit ("+t+") has to be a positive integer larger than zero.");this.maxThreadsLimit=t}}]),t}()},function(t,n,e){"use strict";var r=e(106),i=e(108),o=e(107),u=e(105),a=e(44),s=e(104),c=e(62);e.d(n,"IParallel",function(){return c.a}),e.d(n,"ITaskDefinition",function(){return c.b}),e.d(n,"ITask",function(){return c.c}),e.d(n,"IFunctionDefinition",function(){return c.d}),e.d(n,"IFunctionId",function(){return c.e}),e.d(n,"isFunctionId",function(){return c.f}),e.d(n,"FunctionCall",function(){return c.g}),e.d(n,"ISerializedFunctionCall",function(){return c.h}),e.d(n,"isSerializedFunctionCall",function(){return c.i}),e.d(n,"FunctionCallSerializer",function(){return c.j}),e.d(n,"IThreadPool",function(){return c.k}),e.d(n,"IParallelChain",function(){return c.l}),e.d(n,"IParallelTaskEnvironment",function(){return c.m}),e.d(n,"IParallelEnvironment",function(){return c.n}),e.d(n,"IParallelJob",function(){return c.o}),e.d(n,"IParallelOptions",function(){return c.p}),e.d(n,"IDefaultInitializedParallelOptions",function(){return c.q}),e.d(n,"IParallelJobScheduler",function(){return c.r}),e.d(n,"IParallelOperation",function(){return c.s}),e.d(n,"ISerializedParallelOperation",function(){return c.t}),e.d(n,"IParallelStream",function(){return c.u});var f=new u.a,l=window.navigator.hardwareConcurrency||4,h=new a.a(f),d=new i.a(new s.a(f),{maxConcurrencyLevel:l}),v=e.i(r.a)({functionCallSerializer:h,scheduler:new o.a,threadPool:d});n.default=v},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(48),u=e.n(o),a=e(81),s=e.n(a),c=e(132),f=e.n(c),l=e(80),h=e.n(l),d=e(0),v=e.n(d),p=e(1),y=e.n(p),m=e(76);e.d(n,"a",function(){return k}),e.d(n,"b",function(){return g});var k=function(){function t(n){v()(this,t),this.name=n}return y()(t,[{key:"onMessage",value:function(t){throw new Error("Browser worker thread in state '"+this.name+"' cannot handle the received message ("+t.data.type+").")}},{key:"onError",value:function(t){console.error("Processing error on worker slave",t.error)}}]),t}(),g=function(t){function n(t,e,r){v()(this,n);var i=s()(this,(n.__proto__||u()(n)).call(this,"executing"));return i.callback=t,i.functionRegistry=e,i.worker=r,i}return h()(n,t),y()(n,[{key:"onMessage",value:function(t){var r=t.data;e.i(m.a)(r)?this.handleFunctionRequest(r):e.i(m.b)(r)?this.callback(void 0,r.result):e.i(m.c)(r)?this.callback(r.error,void 0):f()(n.prototype.__proto__||u()(n.prototype),"onMessage",this).call(this,t)}},{key:"onError",value:function(t){this.callback(t.error,void 0)}},{key:"handleFunctionRequest",value:function(t){var n=[],e=[],r=!0,o=!1,u=void 0;try{for(var a,s=i()(t.functionIds);!(r=(a=s.next()).done);r=!0){var c=a.value,f=this.functionRegistry.getDefinition(c);f?e.push(f):n.push(c)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}this.worker.postMessage(m.d.apply(void 0,[e].concat(n)))}}]),n}(k)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(76),s=e(110);e.d(n,"a",function(){return f});var c=0,f=function(){function t(n,e){i()(this,t),this.worker=n,this.functionLookupTable=e,this.id=++c,this.state=new s.a("default"),this.stopped=!1;var r=this;this.worker.addEventListener("message",function(){r.onWorkerMessage.apply(r,arguments)}),this.worker.addEventListener("error",function(){r.onError.apply(r,arguments)})}return u()(t,[{key:"initialize",value:function(){if("default"!==this.state.name)throw new Error("The browser worker thread can only be initialized if in state default but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.e)(this.id)),this.state=new s.a("idle")}},{key:"run",value:function(t,n){var r=this;if("idle"!==this.state.name)throw new Error("The browser worker thread can only execute a new task if in state idle but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.f)(t));var i=function(t,e){r.stopped?r.state=new s.a("stopped"):r.state=new s.a("idle"),n(t,e)};this.state=new s.b(i,this.functionLookupTable,this.worker)}},{key:"stop",value:function(){this.stopped||(this.sendMessage(e.i(a.g)()),this.stopped=!0,"executing"!==this.state.name&&(this.state=new s.a("stopped")))}},{key:"toString",value:function(){return"BrowserWorkerThread { id: "+this.id+", state: "+this.state.name}},{key:"onWorkerMessage",value:function(t){this.state.onMessage(t)}},{key:"onError",value:function(t){this.state.onError(t),this.state=new s.a("errored")}},{key:"sendMessage",value:function(t){this.worker.postMessage(t)}}]),t}()},function(t,n,e){"use strict";var r=e(83),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(65),f=e(66),l=e(47),h=e(34);e.d(n,"a",function(){return d});var d=function(){function t(n,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];u()(this,t),this.previousStream=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{
key:"resolve",value:function t(){var n=this,e=void 0,t=void 0,r=void 0,i=new h.a(function(n,i,o){e=n,t=i,r=o});return this.previousStream.then(function(i){var o=n.options.scheduler.schedule({environment:n.environment,generator:new f.a(i),operations:n.operations,options:n.options}),u=h.a.fromTasks(o,[],l.a);u.subscribe(e,r,t)},r),new c.a(i,this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.previousStream,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.previousStream,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";function r(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=void 0;e instanceof Array?(a=void 0,r=e):a=e;var s=new o.a(new i.a(t,n,u.a.of(),r));return a?s.inEnvironment(a):s}var i=e(115),o=e(114),u=e(118);n.a=r},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(82),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(24),h=e(12),d=e(34);e.d(n,"a",function(){return v});var v=function(){function t(n){s()(this,t),this.state=n}return f()(t,[{key:"inEnvironment",value:function(n){var e=void 0;if("function"==typeof n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];e=h.a.createUnchecked.apply(h.a,[n].concat(i))}else e=n;return new t(this.state.addEnvironment(e))}},{key:"map",value:function(t){return this._chain(h.a.createUnchecked(l.a.MAP),h.a.createUnchecked(t))}},{key:"reduce",value:function(t,n,e){var r=e||n,o=this._chain(h.a.createUnchecked(l.a.REDUCE,t),h.a.createUnchecked(n)).resolveChain();return d.a.transform(o,function(n){if(0===n.length)return t;var e=u()(n),o=e[0],a=e.slice(1),s=o,c=!0,f=!1,l=void 0;try{for(var h,d=i()(a);!(c=(h=d.next()).done);c=!0){var v=h.value;s=r(s,v)}}catch(t){f=!0,l=t}finally{try{!c&&d.return&&d.return()}finally{if(f)throw l}}return s})}},{key:"filter",value:function(t){return this._chain(h.a.createUnchecked(l.a.FILTER),h.a.createUnchecked(t))}},{key:"subscribe",value:function(t,n,e){return this.resolveChain().subscribe(t,n,e)}},{key:"then",value:function(t,n){return this.resolveChain().then(t,n)}},{key:"catch",value:function(t){return this.resolveChain().catch(t)}},{key:"resolveChain",value:function(){var t=this.state=this.state.resolve();return t.stream}},{key:"_chain",value:function(n,e){var r={iterator:n,iteratee:e};return new t(this.state.chainOperation(r))}}]),t}()},function(t,n,e){"use strict";var r=e(83),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(65),f=e(34),l=e(47);e.d(n,"a",function(){return h});var h=function(){function t(n,e,r,i){u()(this,t),this.generator=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{key:"resolve",value:function(){var t=this.options.scheduler.schedule({environment:this.environment,generator:this.generator,operations:this.operations,options:this.options});return new c.a(f.a.fromTasks(t,[],l.a),this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.generator,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.generator,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(24),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n,e,r){i()(this,t),this.start=n,this.end=e,this.step=r}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*this.step,i=this.start+t*r,o=Math.min(i+r,this.end);return e.serializeFunctionCall(s.a.createUnchecked(a.a.RANGE,i,o,this.step))}},{key:"length",get:function(){return Math.ceil((this.end-this.start)/this.step)}}],[{key:"create",value:function(n,e,r){if("undefined"==typeof e&&(e=n,n=0),"undefined"==typeof r&&(r=e<n?-1:1),0===r)throw new Error("Step size of zero is not allowed");return new t(n,e,r)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(24),s=e(12),c=e(20);e.d(n,"a",function(){return f});var f=function(){function t(n,e){i()(this,t),this.times=n,this.iteratee=e}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=t*n,i=Math.min(r+n,this.times),o=e.serializeFunctionCall(this.iteratee);return e.serializeFunctionCall(s.a.create(a.a.TIMES,r,i,o))}},{key:"length",get:function(){return this.times}}],[{key:"create",value:function(n,r){var i=void 0;return i=e.i(c.b)(r)||"function"==typeof r?s.a.createUnchecked(r):s.a.create(a.a.IDENTITY,r),new t(n,i)}}]),t}()},function(t,n,e){"use strict";var r=e(78),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(12);e.d(n,"a",function(){return f});var f=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];u()(this,t),this.environments=n}return s()(t,[{key:"add",value:function(n){var e=this.environments.slice();return n instanceof c.a||!(this.environments.length>0)||this.environments[this.environments.length-1]instanceof c.a?e.push(n):e[e.length-1]=i()({},e[e.length-1],n),new t(e)}},{key:"toJSON",value:function(t){return this.environments.map(function(n){return n instanceof c.a?t.serializeFunctionCall(n):n})}}],[{key:"of",value:function(n){var e=t.EMPTY;return n?e.add(n):e}}]),t}();f.EMPTY=new f},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(12),s=e(24),c=e(47),f=e(45);e.d(n,"a",function(){return l});var l=function(){function t(){i()(this,t)}return u()(t,[{key:"schedule",value:function(t){var n=this.getTaskDefinitions(t);return n.map(function(n){return t.options.threadPool.run(n)})}},{key:"getTaskDefinitions",value:function(t){var n=this.getScheduling(t.generator.length,t.options),r=t.options.functionCallSerializer,i=t.environment.toJSON(r),o=this.serializeOperations(t.operations,r),u=[s.a.PARALLEL_JOB_EXECUTOR].concat(e.i(c.b)(o.map(function(t){return[t.iteratee.functionId,t.iterator.functionId]})));i.forEach(function(t){e.i(f.a)(t)&&u.push(t.functionId)});for(var l=[],h=0;h<n.numberOfTasks;++h){var d=t.generator.serializeSlice(h,n.valuesPerTask,r),v={environments:i,generator:d,operations:o,taskIndex:h,valuesPerTask:n.valuesPerTask},p={main:r.serializeFunctionCall(a.a.createUnchecked(s.a.PARALLEL_JOB_EXECUTOR,v)),taskIndex:h,usedFunctionIds:[d.functionId].concat(u),valuesPerTask:n.valuesPerTask};l.push(p)}return l}},{key:"serializeOperations",value:function(t,n){return t.map(function(t){return{iteratee:n.serializeFunctionCall(t.iteratee),iterator:n.serializeFunctionCall(t.iterator)}})}}]),t}()},function(t,n,e){"use strict";var r=e(49),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){u()(this,t),this.promise=i.a.resolve(n)}return s()(t,[{key:"subscribe",value:function(t,n,e){return(e||n)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}}]),t}()},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(34);e.d(n,"a",function(){return f});var f=function(){function t(n,e,r){var o=this;u()(this,t),this.failed=!1,this.nextSubResultIndex=0,this.tasks=n,this.joiner=r,this.endResult=e,this.pending=n.length,this.subResults=new Array(this.tasks.length),this.innerStream=new c.a(function(t,n,e){o.next=t,o.resolve=n,o.reject=e});var a=!0,s=!1,f=void 0;try{for(var l,h=i()(n);!(a=(l=h.next()).done);a=!0){var d=l.value;this.registerTaskHandler(d)}}catch(t){s=!0,f=t}finally{try{!a&&h.return&&h.return()}finally{if(s)throw f}}}return s()(t,[{key:"subscribe",value:function(t,n,e){return this.innerStream.subscribe(t,n,e),this}},{key:"then",value:function(t,n){return this.innerStream.then(t,n)}},{key:"catch",value:function(t){return this.innerStream.catch(t)}},{key:"registerTaskHandler",value:function(t){var n=this;t.then(function(e){return n._taskCompleted(e,t.definition)},function(t){return n._taskFailed(t)})}},{key:"_taskCompleted",value:function(t,n){if(0===this.pending)throw new Error("Stream already resolved but taskCompleted called one more time");--this.pending,this.tasks[n.taskIndex]=void 0,this.subResults[n.taskIndex]=t,this.failed||(this.next(t,n.taskIndex,n.valuesPerTask),this.nextSubResultIndex===n.taskIndex&&this.joinSubResults(),0===this.pending&&(this.resolve(this.endResult),this.endResult=void 0))}},{key:"joinSubResults",value:function(){for(;this.nextSubResultIndex<this.subResults.length&&"undefined"!=typeof this.subResults[this.nextSubResultIndex];){var t=this.subResults[this.nextSubResultIndex];this.subResults[this.nextSubResultIndex]=void 0,this.endResult=this.joiner.apply(void 0,[this.endResult,t]),++this.nextSubResultIndex}}},{key:"_taskFailed",value:function(t){if(this.failed!==!0){this.failed=!0;for(var n=0;n<this.tasks.length;++n){var e=this.tasks[n];"undefined"!=typeof e&&e.cancel()}this.reject(t)}}}]),t}()},function(t,n,e){"use strict";var r=e(49),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){var e=this;u()(this,t),this.definition=n,this.isCancellationRequested=!1,this.isCanceled=!1,this.promise=new i.a(function(t,n){e.resolvePromise=t,e.rejectPromise=n})}return s()(t,[{key:"resolve",value:function(t){this.isCancellationRequested?this.resolveCancelled():this.resolvePromise(t)}},{key:"resolveCancelled",value:function(){this.isCanceled=!0,this.reject("Task has been canceled")}},{key:"reject",value:function(t){this.rejectPromise(t)}},{key:"then",value:function(t,n){return n?this.promise.then(t,n):this.promise.then(t)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"cancel",value:function(){this.isCancellationRequested=!0}}]),t}()},function(t,n,e){"use strict";function r(t){if(t.hasOwnProperty("name"))return t.name;var n=t.toString();return n.substring(n.indexOf("function")+9,n.indexOf("(")).trim()}n.a=r},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(){i()(this,t),this.data={}}return u()(t,[{key:"get",value:function(t){var n=this.toInternalKey(t);return this.has(t)?this.data[n]:void 0}},{key:"has",value:function(t){return this.hasOwnProperty.call(this.data,this.toInternalKey(t))}},{key:"set",value:function(t,n){this.data[this.toInternalKey(t)]=n}},{key:"clear",value:function(){this.data={}}},{key:"toInternalKey",value:function(t){return"@"+t}}]),t}()},function(t,n,e){t.exports={default:e(134),__esModule:!0}},function(t,n,e){t.exports={default:e(136),__esModule:!0}},function(t,n,e){t.exports={default:e(137),__esModule:!0}},function(t,n,e){t.exports={default:e(138),__esModule:!0}},function(t,n,e){t.exports={default:e(140),__esModule:!0}},function(t,n,e){t.exports={default:e(142),__esModule:!0}},function(t,n,e){t.exports={default:e(143),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(48),o=r(i),u=e(127),a=r(u);n.default=function t(n,e,r){null===n&&(n=Function.prototype);var i=(0,a.default)(n,e);if(void 0===i){var u=(0,o.default)(n);return null===u?void 0:t(u,e,r)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(r)}},function(t,n,e){e(30),e(158),t.exports=e(2).Array.from},function(t,n,e){var r=e(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,n,e){e(159),t.exports=e(2).Object.assign},function(t,n,e){e(160);var r=e(2).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(161);var r=e(2).Object;t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)}},function(t,n,e){e(162);var r=e(2).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(163),t.exports=e(2).Object.getPrototypeOf},function(t,n,e){e(164),t.exports=e(2).Object.setPrototypeOf},function(t,n,e){e(103),e(30),e(41),e(165),t.exports=e(2).Promise},function(t,n,e){e(166),e(103),e(167),e(168),t.exports=e(2).Symbol},function(t,n,e){e(30),e(41),t.exports=e(61).f("iterator")},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){"use strict";var r=e(6),i=e(19);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(21),i=e(55),o=e(37);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,a=e(t),s=o.f,c=0;a.length>c;)s.call(t,u=a[c++])&&n.push(u);return n}},function(t,n,e){var r=e(17),i=e(90),o=e(89),u=e(5),a=e(38),s=e(40),c={},f={},n=t.exports=function(t,n,e,l,h){var d,v,p,y,m=h?function(){return t}:s(t),k=r(e,l,n?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=a(t.length);d>g;g++)if(y=n?k(u(v=t[g])[0],v[1]):k(t[g]),y===c||y===f)return y}else for(p=m.call(t);!(v=p.next()).done;)if(y=i(p,k,v.value,n),y===c||y===f)return y};n.BREAK=c,n.RETURN=f},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(21),i=e(10);t.exports=function(t,n){for(var e,o=i(t),u=r(o),a=u.length,s=0;a>s;)if(o[e=u[s++]]===n)return e}},function(t,n,e){var r=e(23)("meta"),i=e(14),o=e(11),u=e(6).f,a=0,s=Object.isExtensible||function(){return!0},c=!e(15)(function(){return s(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},h=function(t,n){if(!o(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return c&&v.NEED&&s(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:d}},function(t,n,e){var r=e(4),i=e(98).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,s="process"==e(18)(u);t.exports=function(){var t,n,e,c=function(){var r,i;for(s&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(s)e=function(){u.nextTick(c)};else if(o){var f=!0,l=document.createTextNode("");new o(c).observe(l,{characterData:!0}),e=function(){l.data=f=!f}}else if(a&&a.resolve){var h=a.resolve();e=function(){h.then(c)}}else e=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){"use strict";var r=e(21),i=e(55),o=e(37),u=e(29),a=e(53),s=Object.assign;t.exports=!s||e(15)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r})?function(t,n){for(var e=u(t),s=arguments.length,c=1,f=i.f,l=o.f;s>c;)for(var h,d=a(arguments[c++]),v=f?r(d).concat(f(d)):r(d),p=v.length,y=0;p>y;)l.call(d,h=v[y++])&&(e[h]=d[h]);return e}:s},function(t,n,e){var r=e(9);t.exports=function(t,n,e){for(var i in n)e&&t[i]?t[i]=n[i]:r(t,i,n[i]);return t}},function(t,n,e){var r=e(14),i=e(5),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(17)(Function.call,e(54).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n,e){"use strict";var r=e(4),i=e(2),o=e(6),u=e(7),a=e(3)("species");t.exports=function(t){var n="function"==typeof i[t]?i[t]:r[t];u&&n&&!n[a]&&o.f(n,a,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(5),i=e(35),o=e(3)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[o])?n:i(e)}},function(t,n,e){"use strict";var r=e(17),i=e(8),o=e(29),u=e(90),a=e(89),s=e(38),c=e(145),f=e(40);i(i.S+i.F*!e(92)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),d="function"==typeof this?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,y=void 0!==p,m=0,k=f(h);if(y&&(p=r(p,v>2?arguments[2]:void 0,2)),void 0==k||d==Array&&a(k))for(n=s(h.length),e=new d(n);n>m;m++)c(e,m,y?p(h[m],m):h[m]);else for(l=k.call(h),e=new d;!(i=l.next()).done;m++)c(e,m,y?u(l,p,[i.value,m],!0):i.value);return e.length=m,e}})},function(t,n,e){var r=e(8);r(r.S+r.F,"Object",{assign:e(153)})},function(t,n,e){var r=e(8);r(r.S,"Object",{create:e(36)})},function(t,n,e){var r=e(10),i=e(54).f;e(58)("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})},function(t,n,e){e(58)("getOwnPropertyNames",function(){return e(95).f})},function(t,n,e){var r=e(29),i=e(56);e(58)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,n,e){var r=e(8);r(r.S,"Object",{setPrototypeOf:e(155).set})},function(t,n,e){"use strict";var r,i,o,u=e(26),a=e(4),s=e(17),c=e(50),f=e(8),l=e(14),h=e(35),d=e(144),v=e(147),p=e(157),y=e(98).set,m=e(152)(),k="Promise",g=a.TypeError,b=a.process,_=a[k],b=a.process,w="process"==c(b),x=function(){},O=!!function(){try{var t=_.resolve(1),n=(t.constructor={})[e(3)("species")]=function(t){t(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof n}catch(t){}}(),P=function(t,n){return t===n||t===_&&n===o},S=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},I=function(t){return P(_,t)?new T(t):new i(t)},T=i=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw g("Bad Promise constructor");n=t,e=r}),this.resolve=h(n),this.reject=h(e)},E=function(t){try{t()}catch(t){return{error:t}}},j=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u=i?n.ok:n.fail,a=n.resolve,s=n.reject,c=n.domain;try{u?(i||(2==t._h&&R(t),t._h=1),u===!0?e=r:(c&&c.enter(),e=u(r),c&&c.exit()),e===n.promise?s(g("Promise-chain cycle")):(o=S(e))?o.call(e,a,s):a(e)):s(r)}catch(t){s(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&M(t)})}},M=function(t){y.call(a,function(){var n,e,r,i=t._v;if(F(t)&&(n=E(function(){w?b.emit("unhandledRejection",i,t):(e=a.onunhandledrejection)?e({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=w||F(t)?2:1),t._a=void 0,n)throw n.error})},F=function(t){if(1==t._h)return!1;for(var n,e=t._a||t._c,r=0;e.length>r;)if(n=e[r++],n.fail||!F(n.promise))return!1;return!0},R=function(t){y.call(a,function(){var n;w?b.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),j(n,!0))},A=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw g("Promise can't be resolved itself");(n=S(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(A,r,1),s(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,j(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};O||(_=function(t){d(this,_,k,"_h"),h(t),r.call(this);try{t(s(A,this,1),s(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(154)(_.prototype,{then:function(t,n){var e=I(p(this,_));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=w?b.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&j(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),T=function(){var t=new r;this.promise=t,this.resolve=s(A,t,1),this.reject=s(C,t,1)}),f(f.G+f.W+f.F*!O,{Promise:_}),e(22)(_,k),e(156)(k),o=e(2)[k],f(f.S+f.F*!O,k,{reject:function(t){var n=I(this),e=n.reject;return e(t),n.promise}}),f(f.S+f.F*(u||!O),k,{resolve:function(t){if(t instanceof _&&P(t.constructor,this))return t;var n=I(this),e=n.resolve;return e(t),n.promise}}),f(f.S+f.F*!(O&&e(92)(function(t){_.all(t).catch(x)})),k,{all:function(t){var n=this,e=I(n),r=e.resolve,i=e.reject,o=E(function(){var e=[],o=0,u=1;v(t,!1,function(t){var a=o++,s=!1;e.push(void 0),u++,n.resolve(t).then(function(t){s||(s=!0,e[a]=t,--u||r(e))},i)}),--u||r(e)});return o&&i(o.error),e.promise},race:function(t){var n=this,e=I(n),r=e.reject,i=E(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i&&r(i.error),e.promise}})},function(t,n,e){"use strict";var r=e(4),i=e(11),o=e(7),u=e(8),a=e(59),s=e(151).KEY,c=e(15),f=e(33),l=e(22),h=e(23),d=e(3),v=e(61),p=e(60),y=e(150),m=e(146),k=e(149),g=e(5),b=e(10),_=e(39),w=e(19),x=e(36),O=e(95),P=e(54),S=e(6),I=e(21),T=P.f,E=S.f,j=O.f,M=r.Symbol,F=r.JSON,R=F&&F.stringify,C="prototype",A=d("_hidden"),z=d("toPrimitive"),L={}.propertyIsEnumerable,W=f("symbol-registry"),D=f("symbols"),N=f("op-symbols"),U=Object[C],J="function"==typeof M,q=r.QObject,V=!q||!q[C]||!q[C].findChild,B=o&&c(function(){return 7!=x(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=T(U,n);r&&delete U[n],E(t,n,e),r&&t!==U&&E(U,n,r)}:E,K=function(t){var n=D[t]=x(M[C]);return n._k=t,n},G=J&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},H=function(t,n,e){return t===U&&H(N,n,e),g(t),n=_(n,!0),g(e),i(D,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=x(e,{enumerable:w(0,!1)})):(i(t,A)||E(t,A,w(1,{})),t[A][n]=!0),B(t,n,e)):E(t,n,e)},Y=function(t,n){g(t);for(var e,r=m(n=b(n)),i=0,o=r.length;o>i;)H(t,e=r[i++],n[e]);return t},X=function(t,n){return void 0===n?x(t):Y(x(t),n)},Q=function(t){var n=L.call(this,t=_(t,!0));return!(this===U&&i(D,t)&&!i(N,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,A)&&this[A][t])||n)},Z=function(t,n){if(t=b(t),n=_(n,!0),t!==U||!i(D,n)||i(N,n)){var e=T(t,n);return!e||!i(D,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e}},$=function(t){for(var n,e=j(b(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==A||n==s||r.push(n);return r},tt=function(t){for(var n,e=t===U,r=j(e?N:b(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(U,n)||o.push(D[n]);return o};J||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(N,e),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),B(this,t,w(1,e))};return o&&V&&B(U,t,{configurable:!0,set:n}),K(t)},a(M[C],"toString",function(){return this._k}),P.f=Z,S.f=H,e(96).f=O.f=$,e(37).f=Q,e(55).f=tt,o&&!e(26)&&a(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return K(d(t))}),u(u.G+u.W+u.F*!J,{Symbol:M});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)d(nt[et++]);for(var nt=I(d.store),et=0;nt.length>et;)p(nt[et++]);u(u.S+u.F*!J,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=M(t)},keyFor:function(t){if(G(t))return y(W,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),u(u.S+u.F*!J,"Object",{create:X,defineProperty:H,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:tt}),F&&u(u.S+u.F*(!J||c(function(){var t=M();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return n=r[1],"function"==typeof n&&(e=n),!e&&k(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!G(n))return n}),r[1]=n,R.apply(F,r)}}}),M[C][z]||e(9)(M[C],z,M[C].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(60)("asyncIterator")},function(t,n,e){e(60)("observable")},function(t,n,e){t.exports=function(){return new Worker(e.p+"worker-slave.parallel.js")}},,function(t,n,e){var r=e(109).default;t.exports=r}]))});
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["parallel-es"]=n():t["parallel-es"]=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=168)}(function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))switch(typeof t[n]){case"function":break;case"object":t[n]=function(n){var e=n.slice(1),r=t[n[0]];return function(t,n,i){r.apply(this,[t,n,i].concat(e))}}(t[n]);break;default:t[n]=t[t[n]]}return t}([function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(77),o=r(i);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(32)("wks"),i=e(22),o=e(4).Symbol,u="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))};a.store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(14);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(5),i=e(51),o=e(38),u=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(6),i=e(19);t.exports=e(7)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(87),i=e(24);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(4),i=e(2),o=e(16),u=e(8),a="prototype",s=function(t,n,e){var c,f,l,h=t&s.F,d=t&s.G,v=t&s.S,p=t&s.P,y=t&s.B,m=t&s.W,k=d?i:i[n]||(i[n]={}),g=k[a],b=d?r:v?r[n]:(r[n]||{})[a];d&&(e=n);for(c in e)f=!h&&b&&void 0!==b[c],f&&c in k||(l=f?b[c]:e[c],k[c]=d&&"function"!=typeof b[c]?e[c]:y&&f?o(l,r):m&&b[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[a]=t[a],n}(l):p&&"function"==typeof l?o(Function.call,l):l,p&&((k.virtual||(k.virtual={}))[c]=l,t&s.R&&g&&!g[c]&&u(g,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n,e){i()(this,t),this.func=n,this.params=e}return u()(t,null,[{key:"create",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}},{key:"createUnchecked",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}}]),t}()},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n,e){var r=e(34);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";function r(t,n){return{_______isFunctionId:!0,identifier:t+"-"+n}}function i(t){return!!t&&t._______isFunctionId===!0}n.a=r,n.b=i},function(t,n,e){var r=e(6).f,i=e(11),o=e(3)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";var r=e(20);e.d(n,"a",function(){return i});var i={FILTER:e.i(r.a)("parallel",0),IDENTITY:e.i(r.a)("parallel",1),MAP:e.i(r.a)("parallel",2),PARALLEL_JOB_EXECUTOR:e.i(r.a)("parallel",3),RANGE:e.i(r.a)("parallel",4),REDUCE:e.i(r.a)("parallel",5),TIMES:e.i(r.a)("parallel",6),TO_ITERATOR:e.i(r.a)("parallel",7)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=!0},function(t,n,e){var r=e(54),i=e(31);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(32)("keys"),i=e(22);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";var r=e(97)(!0);e(42)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(14),i=e(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(4),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(48),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(121),h=e(120);e.d(n,"a",function(){return d});var d=function(){function t(n){var e=this;s()(this,t),this.nextHandlers=[];var r=function(t,n,r){return e._next(t,n,r)},i=function(t){return e.reject(t)},o=function(t){return e.resolve(t)};n(r,o,i),this.promise=new u.a(function(t,n){e.resolve=t,e.reject=n})}return f()(t,[{key:"subscribe",value:function(t,n,e){return this.nextHandlers.push(t),(n||e)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"_next",value:function(t,n,e){var r=!0,o=!1,u=void 0;try{for(var a,s=i()(this.nextHandlers);!(r=(a=s.next()).done);r=!0){var c=a.value;c.apply(void 0,arguments)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}}}],[{key:"transform",value:function(n,e){var r=void 0,i=void 0,o=void 0,u=new t(function(t,n,e){r=t,i=n,o=e});return n.subscribe(r,o,function(t){return i(e(t))}),u}},{key:"fromTasks",value:function(t,n,e){return 0===t.length?new h.a(n):new l.a(t,n,e)}}]),t}()},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(5),i=e(93),o=e(31),u=e(27)("IE_PROTO"),a=function(){},s="prototype",c=function(){var t,n=e(30)("iframe"),r=o.length,i="<",u=">";for(n.style.display="none",e(50).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+u+"document.F=Object"+i+"/script"+u),t.close(),c=t.F;r--;)delete c[s][o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[s]=r(t),e=new a,a[s]=null,e[u]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(28),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(24);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(14);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(49),i=e(3)("iterator"),o=e(15);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){e(101);for(var r=e(4),i=e(8),o=e(15),u=e(3)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var c=a[s],f=r[c],l=f&&f.prototype;l&&!l[u]&&i(l,u,c),o[c]=o.Array}},function(t,n,e){"use strict";var r=e(68),i=(e.n(r),e(62)),o=(e.n(i),e(65)),u=(e.n(o),e(66)),a=(e.n(u),e(45)),s=e(69),c=(e.n(s),e(67)),f=(e.n(c),e(70));e.n(f);e.o(r,"IParallel")&&e.d(n,"a",function(){return r.IParallel}),e.o(i,"IParallelChain")&&e.d(n,"b",function(){return i.IParallelChain}),e.o(o,"IParallelTaskEnvironment")&&e.d(n,"c",function(){return o.IParallelTaskEnvironment}),e.o(o,"IParallelEnvironment")&&e.d(n,"d",function(){return o.IParallelEnvironment}),e.o(u,"IParallelJob")&&e.d(n,"e",function(){return u.IParallelJob}),e.d(n,"f",function(){return a.IParallelOptions}),e.d(n,"g",function(){return a.IDefaultInitializedParallelOptions}),e.o(s,"IParallelJobScheduler")&&e.d(n,"h",function(){return s.IParallelJobScheduler}),e.o(c,"IParallelOperation")&&e.d(n,"i",function(){return c.IParallelOperation}),e.o(c,"ISerializedParallelOperation")&&e.d(n,"j",function(){return c.ISerializedParallelOperation}),e.o(f,"IParallelStream")&&e.d(n,"k",function(){return f.IParallelStream})},function(t,n,e){"use strict";var r=e(25),i=e(10),o=e(57),u=e(8),a=e(11),s=e(15),c=e(90),f=e(21),l=e(53),h=e(3)("iterator"),d=!([].keys&&"next"in[].keys()),v="@@iterator",p="keys",y="values",m=function(){return this};t.exports=function(t,n,e,k,g,b,_){c(e,n,k);var w,x,O,P=function(t){if(!d&&t in E)return E[t];switch(t){case p:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",I=g==y,T=!1,E=t.prototype,j=E[h]||E[v]||g&&E[g],M=j||P(g),F=g?I?P("entries"):M:void 0,R="Array"==n?E.entries||j:j;if(R&&(O=l(R.call(new t)),O!==Object.prototype&&(f(O,S,!0),r||a(O,h)||u(O,h,m))),I&&j&&j.name!==y&&(T=!0,M=function(){return j.call(this)}),r&&!_||!d&&!T&&E[h]||u(E,h,M),s[n]=M,s[S]=m,g)if(w={values:I?M:P(y),keys:b?M:P(p),entries:F},_)for(x in w)x in E||o(E,x,w[x]);else i(i.P+i.F*(d||T),n,w);return w}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n){i()(this,t),this.functionRegistry=n}return u()(t,[{key:"serializeFunctionCall",value:function(t){var n=this.functionRegistry.getOrSetId(t.func);return{______serializedFunctionCall:!0,functionId:n,parameters:t.params}}}]),t}()},function(t,n,e){"use strict";function r(t){return!!t&&t.______serializedFunctionCall===!0}n.a=r},function(t,n,e){"use strict";function r(t){var n=!0,e=!1,r=void 0;try{for(var i,a=o()(u);!(n=(i=a.next()).done);n=!0){var s=i.value,c=t[s];if("undefined"!=typeof c&&("number"!=typeof c||c<=0||c%1!==0))throw new Error("Illegal parallel options: "+s+" ("+c+") has to be an integer greater than zero")}}catch(t){e=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(e)throw r}}if("undefined"!=typeof t.minValuesPerTask&&"undefined"!=typeof t.maxValuesPerTask&&t.minValuesPerTask>t.maxValuesPerTask)throw new Error("Illegal parallel options: minValuesPerTask ("+t.minValuesPerTask+") must be equal or less than maxValuesPerTask ("+t.maxValuesPerTask+").")}var i=e(13),o=e.n(i);n.a=r;var u=["maxValuesPerTask","minValuesPerTask","maxDegreeOfParallelism"]},function(t,n,e){"use strict";function r(t){if(0===t.length)return[];var n=u()(t),e=n[0],r=n.slice(1);return Array.prototype.concat.apply(e,r)}function i(t,n){var e=t.length;t.length+=n.length;for(var r=0;r<n.length;++r)t[e+r]=n[r];return t}var o=e(80),u=e.n(o),a=e(13);e.n(a);n.b=r,n.a=i},function(t,n,e){t.exports={default:e(138),__esModule:!0}},function(t,n,e){t.exports={default:e(140),__esModule:!0}},function(t,n,e){var r=e(17),i=e(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){t.exports=e(4).document&&document.documentElement},function(t,n,e){t.exports=!e(7)&&!e(18)(function(){return 7!=Object.defineProperty(e(30)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(55),i=e(19),o=e(9),u=e(38),a=e(11),s=e(51),c=Object.getOwnPropertyDescriptor;n.f=e(7)?c:function(t,n){if(t=o(t),n=u(n,!0),s)try{return c(t,n)}catch(t){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(11),i=e(37),o=e(27)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(11),i=e(9),o=e(86)(!1),u=e(27)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),s=0,c=[];for(e in a)e!=u&&r(a,e)&&c.push(e);for(;n.length>s;)r(a,e=n[s++])&&(~o(c,e)||c.push(e));return c}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(10),i=e(2),o=e(18);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},function(t,n,e){t.exports=e(8)},function(t,n,e){var r=e(4),i=e(2),o=e(25),u=e(59),a=e(6).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(3)},function(t,n,e){"use strict";var r=e(41),i=e(71),o=(e.n(i),e(72)),u=(e.n(o),e(61)),a=(e.n(u),e(20)),s=e(12),c=e(44),f=e(43),l=e(73),h=(e.n(l),e(41));e.d(n,"a",function(){return r.a}),e.o(i,"ITaskDefinition")&&e.d(n,"b",function(){return i.ITaskDefinition}),e.o(o,"ITask")&&e.d(n,"c",function(){return o.ITask}),e.o(u,"IFunctionDefinition")&&e.d(n,"d",function(){return u.IFunctionDefinition}),e.d(n,"e",function(){return a.IFunctionId}),e.d(n,"f",function(){return a.b}),e.d(n,"g",function(){return s.a}),e.d(n,"h",function(){return c.ISerializedFunctionCall}),e.d(n,"i",function(){return c.a}),e.d(n,"j",function(){return f.a}),e.o(l,"IThreadPool")&&e.d(n,"k",function(){return l.IThreadPool}),e.d(n,"l",function(){return h.b}),e.d(n,"m",function(){return h.c}),e.d(n,"n",function(){return h.d}),e.d(n,"o",function(){return h.e}),e.d(n,"p",function(){return h.f}),e.d(n,"q",function(){return h.g}),e.d(n,"r",function(){return h.h}),e.d(n,"s",function(){return h.i}),e.d(n,"t",function(){return h.j}),e.d(n,"u",function(){return h.k})},function(t,n){},function(t,n){},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(112);e.d(n,"a",function(){return s});var s=function(){function t(n,e,r){i()(this,t),this.options=e,this.environment=r,this.stream=n}return u()(t,[{key:"resolve",value:function(){return this}},{key:"chainOperation",value:function(t){return new a.a(this.stream,this.options,this.environment,[t])}},{key:"addEnvironment",value:function(t){return new a.a(this.stream,this.options,this.environment.add(t))}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(23),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n){i()(this,t),this.collection=n}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*t,i=r+n;return e.serializeFunctionCall(s.a.createUnchecked(a.a.TO_ITERATOR,this.collection.slice(r,i)))}},{key:"length",get:function(){return this.collection.length}}]),t}()},62,62,function(t,n){},62,62,62,61,61,62,function(t,n,e){"use strict";function r(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(null==t)throw new TypeError("Cannot convert undefined or null to object");t=Object(t);for(var i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(t[u]=o[u])}return t}n.a=r},function(t,n,e){"use strict";function r(t){return{type:d.InitializeWorker,workerId:t}}function i(t){return{task:t,type:d.ScheduleTask}}function o(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return{functions:t,missingFunctions:e,type:d.FunctionResponse}}function u(){return{type:d.Stop}}function a(t){return t.type===d.FunctionRequest}function s(t){return t.type===d.WorkerResult}function c(t){return t.type===d.FunctionExecutionError}var f=e(125),l=(e.n(f),e(128)),h=(e.n(l),e(13));e.n(h);n.e=r,n.f=i,n.d=o,n.g=u,n.a=a,n.b=s,n.c=c;var d;!function(t){t[t.InitializeWorker=0]="InitializeWorker",t[t.ScheduleTask=1]="ScheduleTask",t[t.FunctionRequest=2]="FunctionRequest",t[t.FunctionResponse=3]="FunctionResponse",t[t.WorkerResult=4]="WorkerResult",t[t.FunctionExecutionError=5]="FunctionExecutionError",t[t.Stop=6]="Stop"}(d||(d={}))},function(t,n,e){t.exports={default:e(133),__esModule:!0}},function(t,n,e){t.exports={default:e(84),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(129),o=r(i),u=e(126),a=r(u),s=e(82),c=r(s);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof n?"undefined":(0,c.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(o.default?(0,o.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(82),o=r(i);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==("undefined"==typeof n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(76),o=r(i);n.default=function(t){return Array.isArray(t)?t:(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(76),o=r(i);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(131),o=r(i),u=e(130),a=r(u),s="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===s(o.default)?function(t){return"undefined"==typeof t?"undefined":s(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":s(t)}},function(t,n,e){e(40),e(29),t.exports=e(100)},function(t,n,e){e(102);var r=e(2).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(9),i=e(36),o=e(99);t.exports=function(t){return function(n,e,u){var a,s=r(n),c=i(s.length),f=o(u,c);if(t&&e!=e){for(;c>f;)if(a=s[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(17);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(15),i=e(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){var r=e(5);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){"use strict";var r=e(35),i=e(19),o=e(21),u={};e(8)(u,e(3)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(6),i=e(5),o=e(26);t.exports=e(7)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(n),a=u.length,s=0;a>s;)r.f(t,e=u[s++],n[e]);return t}},function(t,n,e){var r=e(9),i=e(95).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,n,e){var r=e(54),i=e(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(28),i=e(24);t.exports=function(t){return function(n,e){var o,u,a=String(i(n)),s=r(e),c=a.length;return s<0||s>=c?t?"":void 0:(o=a.charCodeAt(s),o<55296||o>56319||s+1===c||(u=a.charCodeAt(s+1))<56320||u>57343?t?a.charAt(s):o:t?a.slice(s,s+2):(o-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r,i,o,u=e(16),a=e(147),s=e(50),c=e(30),f=e(4),l=f.process,h=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,p=0,y={},m="onreadystatechange",k=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){k.call(t.data)};h&&d||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++p]=function(){a("function"==typeof t?t:Function(t),n)},r(p),p},d=function(t){delete y[t]},"process"==e(17)(l)?r=function(t){l.nextTick(u(k,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=g,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r=m in c("script")?function(t){s.appendChild(c("script"))[m]=function(){s.removeChild(this),k.call(t)}}:function(t){setTimeout(u(k,t,1),0)}),t.exports={set:h,clear:d}},function(t,n,e){var r=e(28),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(5),i=e(39);t.exports=e(2).getIterator=function(t){var n=i(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return r(n.call(t))}},function(t,n,e){"use strict";var r=e(85),i=e(92),o=e(15),u=e(9);t.exports=e(42)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,e):"values"==n?i(0,t[e]):i(0,[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(10);r(r.S+r.F*!e(7),"Object",{defineProperty:e(6).f})},67,function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(111);e.d(n,"a",function(){return c});var s=e(166),c=function(){function t(n){i()(this,t),this.functionLookupTable=n}return u()(t,[{key:"spawn",value:function(){if(!window.Worker)throw new Error("Missing Web Worker support");var t=new s,n=new a.a(t,this.functionLookupTable);return n.initialize(),n}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(124),s=e(20),c=e(123);e.d(n,"a",function(){return f});var f=function(){function t(){i()(this,t),this.ids=new a.a,this.definitions=new a.a,this.lastId=0}return u()(t,[{key:"getOrSetId",value:function(t){if(e.i(s.b)(t))return t;var n=t.toString(),r=this.ids.get(n);return"undefined"==typeof r&&(r=e.i(s.a)("dynamic",++this.lastId),this.initDefinition(t,r)),r}},{key:"getDefinition",value:function(t){return this.definitions.get(t.identifier)}},{key:"initDefinition",value:function(t,n){var r=t.toString(),i=e.i(c.a)(t),o=r.substring(r.indexOf("(")+1,r.indexOf(")")).split(","),u=r.substring(r.indexOf("{")+1,r.lastIndexOf("}")).trim(),a={argumentNames:o.map(function(t){return t.trim()}),body:u,id:n,name:i?i:void 0};this.ids.set(r,n),this.definitions.set(n.identifier,a)}}]),t}()},function(t,n,e){"use strict";function r(t){function n(n){if(n){if(n.hasOwnProperty("threadPool")&&"undefined"==typeof n.threadPool)throw new Error("The thread pool is mandatory and cannot be unset");if(n.hasOwnProperty("functionCallSerializer")&&"undefined"==typeof n.functionCallSerializer)throw new Error("The function call serializer is mandatory and cannot be unset");e.i(i.a)(n)}return e.i(l.a)({},t,n)}return{defaultOptions:function(r){return r?void(t=n(r)):e.i(l.a)({},t)},from:function(t,r){return e.i(s.a)(new o.a(t),n(r))},range:function(t,r,i,o){var a=u.a.create(t,r,i);return e.i(s.a)(a,n(o))},times:function(t,r,i,o){return i?e.i(s.a)(a.a.create(t,r),n(o),i):e.i(s.a)(a.a.create(t,r),n(o))},run:function(n){for(var r=void 0,i=arguments.length,o=Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];r=e.i(c.b)(n)?f.a.create(n,o):f.a.create(n,o);var a=t.functionCallSerializer.serializeFunctionCall(r),s={main:a,usedFunctionIds:[a.functionId]};return t.threadPool.run(s)}}}var i=e(45),o=e(64),u=e(116),a=e(117),s=e(113),c=e(20),f=e(12),l=e(74);e.d(n,"a",function(){return r})},function(t,n,e){"use strict";var r=e(47),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(79),f=e.n(c),l=e(78),h=e.n(l),d=e(119);e.d(n,"a",function(){return v});var v=function(t){function n(){return u()(this,n),f()(this,(n.__proto__||i()(n)).apply(this,arguments))}return h()(n,t),s()(n,[{key:"getScheduling",value:function(t,n){var e=void 0;e=n.maxDegreeOfParallelism?n.maxDegreeOfParallelism:4*n.threadPool.maxThreads;var r=t/e;return n.minValuesPerTask&&(r=Math.min(Math.max(r,n.minValuesPerTask),t)),n.maxValuesPerTask&&(r=Math.min(r,n.maxValuesPerTask)),{numberOfTasks:0===r?0:Math.round(t/r),valuesPerTask:Math.ceil(r)}}}]),n}(d.a)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(122);e.d(n,"a",function(){return s});var s=function(){function t(n,e){i()(this,t),this.workerThreadFactory=n,this.workers=[],this.idleWorkers=[],this.queue=[],this.maxThreadsLimit=e.maxConcurrencyLevel}return u()(t,[{key:"run",value:function(t){var n=new a.a(t);return this.queue.unshift(n),this.schedulePendingTasks(),n}},{key:"schedulePendingTasks",value:function(){for(;this.queue.length;){var t=void 0;if(0===this.idleWorkers.length&&this.workers.length<this.maxThreadsLimit?(t=this.workerThreadFactory.spawn(),this.workers.push(t)):this.idleWorkers.length>0&&(t=this.idleWorkers.pop()),!t)return;var n=this.queue.pop();this.runTaskOnWorker(n,t)}}},{key:"runTaskOnWorker",value:function(t,n){var e=this;t.isCancellationRequested?(t.resolveCancelled(),this.releaseWorker(n)):n.run(t.definition,function(r,i){r?t.reject(r):t.resolve(i),e.releaseWorker(n)})}},{key:"releaseWorker",value:function(t){this.idleWorkers.push(t),this.schedulePendingTasks()}},{key:"maxThreads",get:function(){return this.maxThreadsLimit},set:function(t){if("number"!=typeof t||t%1!==0||t<=0)throw new Error("The maxThreads limit ("+t+") has to be a positive integer larger than zero.");this.maxThreadsLimit=t}}]),t}()},function(t,n,e){"use strict";var r=e(106),i=e(108),o=e(107),u=e(105),a=e(43),s=e(104),c=e(60);e.d(n,"IParallel",function(){return c.a}),e.d(n,"ITaskDefinition",function(){return c.b}),e.d(n,"ITask",function(){return c.c}),e.d(n,"IFunctionDefinition",function(){return c.d}),e.d(n,"IFunctionId",function(){return c.e}),e.d(n,"isFunctionId",function(){return c.f}),e.d(n,"FunctionCall",function(){return c.g}),e.d(n,"ISerializedFunctionCall",function(){return c.h}),e.d(n,"isSerializedFunctionCall",function(){return c.i}),e.d(n,"FunctionCallSerializer",function(){return c.j}),e.d(n,"IThreadPool",function(){return c.k}),e.d(n,"IParallelChain",function(){return c.l}),e.d(n,"IParallelTaskEnvironment",function(){return c.m}),e.d(n,"IParallelEnvironment",function(){return c.n}),e.d(n,"IParallelJob",function(){return c.o}),e.d(n,"IParallelOptions",function(){return c.p}),e.d(n,"IDefaultInitializedParallelOptions",function(){return c.q}),e.d(n,"IParallelJobScheduler",function(){return c.r}),e.d(n,"IParallelOperation",function(){return c.s}),e.d(n,"ISerializedParallelOperation",function(){return c.t}),e.d(n,"IParallelStream",function(){return c.u});var f=new u.a,l=window.navigator.hardwareConcurrency||4,h=new a.a(f),d=new i.a(new s.a(f),{maxConcurrencyLevel:l}),v=e.i(r.a)({functionCallSerializer:h,scheduler:new o.a,threadPool:d});n.default=v},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(47),u=e.n(o),a=e(79),s=e.n(a),c=e(132),f=e.n(c),l=e(78),h=e.n(l),d=e(0),v=e.n(d),p=e(1),y=e.n(p),m=e(75);e.d(n,"a",function(){return k}),e.d(n,"b",function(){return g});var k=function(){function t(n){v()(this,t),this.name=n}return y()(t,[{key:"onMessage",value:function(t){throw new Error("Browser worker thread in state '"+this.name+"' cannot handle the received message ("+t.data.type+").")}},{key:"onError",value:function(t){console.error("Processing error on worker slave",t.error)}}]),t}(),g=function(t){function n(t,e,r){v()(this,n);var i=s()(this,(n.__proto__||u()(n)).call(this,"executing"));return i.callback=t,i.functionRegistry=e,i.worker=r,i}return h()(n,t),y()(n,[{key:"onMessage",value:function(t){var r=t.data;e.i(m.a)(r)?this.handleFunctionRequest(r):e.i(m.b)(r)?this.callback(void 0,r.result):e.i(m.c)(r)?this.callback(r.error,void 0):f()(n.prototype.__proto__||u()(n.prototype),"onMessage",this).call(this,t)}},{key:"onError",value:function(t){this.callback(t.error,void 0)}},{key:"handleFunctionRequest",value:function(t){var n=[],e=[],r=!0,o=!1,u=void 0;try{for(var a,s=i()(t.functionIds);!(r=(a=s.next()).done);r=!0){var c=a.value,f=this.functionRegistry.getDefinition(c);f?e.push(f):n.push(c)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}this.worker.postMessage(m.d.apply(void 0,[e].concat(n)))}}]),n}(k)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(75),s=e(110);e.d(n,"a",function(){return f});var c=0,f=function(){function t(n,e){i()(this,t),this.worker=n,this.functionLookupTable=e,this.id=++c,this.state=new s.a("default"),this.stopped=!1;var r=this;this.worker.addEventListener("message",function(){r.onWorkerMessage.apply(r,arguments)}),this.worker.addEventListener("error",function(){r.onError.apply(r,arguments)})}return u()(t,[{key:"initialize",value:function(){if("default"!==this.state.name)throw new Error("The browser worker thread can only be initialized if in state default but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.e)(this.id)),this.state=new s.a("idle")}},{key:"run",value:function(t,n){var r=this;if("idle"!==this.state.name)throw new Error("The browser worker thread can only execute a new task if in state idle but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.f)(t));var i=function(t,e){r.stopped?r.state=new s.a("stopped"):r.state=new s.a("idle"),n(t,e)};this.state=new s.b(i,this.functionLookupTable,this.worker)}},{key:"stop",value:function(){this.stopped||(this.sendMessage(e.i(a.g)()),this.stopped=!0,"executing"!==this.state.name&&(this.state=new s.a("stopped")))}},{key:"toString",value:function(){return"BrowserWorkerThread { id: "+this.id+", state: "+this.state.name}},{key:"onWorkerMessage",value:function(t){this.state.onMessage(t)}},{key:"onError",value:function(t){this.state.onError(t),this.state=new s.a("errored")}},{key:"sendMessage",value:function(t){this.worker.postMessage(t)}}]),t}()},function(t,n,e){"use strict";var r=e(81),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(63),f=e(64),l=e(46),h=e(33);
e.d(n,"a",function(){return d});var d=function(){function t(n,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];u()(this,t),this.previousStream=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{key:"resolve",value:function t(){var n=this,e=void 0,t=void 0,r=void 0,i=new h.a(function(n,i,o){e=n,t=i,r=o});return this.previousStream.then(function(i){var o=n.options.scheduler.schedule({environment:n.environment,generator:new f.a(i),operations:n.operations,options:n.options}),u=h.a.fromTasks(o,[],l.a);u.subscribe(e,r,t)},r),new c.a(i,this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.previousStream,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.previousStream,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";function r(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=void 0;e instanceof Array?(a=void 0,r=e):a=e;var s=new o.a(new i.a(t,n,u.a.of(),r));return a?s.inEnvironment(a):s}var i=e(115),o=e(114),u=e(118);n.a=r},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(80),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(23),h=e(12),d=e(33);e.d(n,"a",function(){return v});var v=function(){function t(n){s()(this,t),this.state=n}return f()(t,[{key:"inEnvironment",value:function(n){var e=void 0;if("function"==typeof n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];e=h.a.createUnchecked.apply(h.a,[n].concat(i))}else e=n;return new t(this.state.addEnvironment(e))}},{key:"map",value:function(t){return this._chain(h.a.createUnchecked(l.a.MAP),h.a.createUnchecked(t))}},{key:"reduce",value:function(t,n,e){var r=e||n,o=this._chain(h.a.createUnchecked(l.a.REDUCE,t),h.a.createUnchecked(n)).resolveChain();return d.a.transform(o,function(n){if(0===n.length)return t;var e=u()(n),o=e[0],a=e.slice(1),s=o,c=!0,f=!1,l=void 0;try{for(var h,d=i()(a);!(c=(h=d.next()).done);c=!0){var v=h.value;s=r(s,v)}}catch(t){f=!0,l=t}finally{try{!c&&d.return&&d.return()}finally{if(f)throw l}}return s})}},{key:"filter",value:function(t){return this._chain(h.a.createUnchecked(l.a.FILTER),h.a.createUnchecked(t))}},{key:"subscribe",value:function(t,n,e){return this.resolveChain().subscribe(t,n,e)}},{key:"then",value:function(t,n){return this.resolveChain().then(t,n)}},{key:"catch",value:function(t){return this.resolveChain().catch(t)}},{key:"resolveChain",value:function(){var t=this.state=this.state.resolve();return t.stream}},{key:"_chain",value:function(n,e){var r={iterator:n,iteratee:e};return new t(this.state.chainOperation(r))}}]),t}()},function(t,n,e){"use strict";var r=e(81),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(63),f=e(33),l=e(46);e.d(n,"a",function(){return h});var h=function(){function t(n,e,r,i){u()(this,t),this.generator=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{key:"resolve",value:function(){var t=this.options.scheduler.schedule({environment:this.environment,generator:this.generator,operations:this.operations,options:this.options});return new c.a(f.a.fromTasks(t,[],l.a),this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.generator,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.generator,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(23),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n,e,r){i()(this,t),this.start=n,this.end=e,this.step=r}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*this.step,i=this.start+t*r,o=Math.min(i+r,this.end);return e.serializeFunctionCall(s.a.createUnchecked(a.a.RANGE,i,o,this.step))}},{key:"length",get:function(){return Math.ceil((this.end-this.start)/this.step)}}],[{key:"create",value:function(n,e,r){if("undefined"==typeof e&&(e=n,n=0),"undefined"==typeof r&&(r=e<n?-1:1),0===r)throw new Error("Step size of zero is not allowed");return new t(n,e,r)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(23),s=e(12),c=e(20);e.d(n,"a",function(){return f});var f=function(){function t(n,e){i()(this,t),this.times=n,this.iteratee=e}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=t*n,i=Math.min(r+n,this.times),o=e.serializeFunctionCall(this.iteratee);return e.serializeFunctionCall(s.a.create(a.a.TIMES,r,i,o))}},{key:"length",get:function(){return this.times}}],[{key:"create",value:function(n,r){var i=void 0;return i=e.i(c.b)(r)||"function"==typeof r?s.a.createUnchecked(r):s.a.create(a.a.IDENTITY,r),new t(n,i)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(12),s=e(74);e.d(n,"a",function(){return c});var c=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i()(this,t),this.environments=n}return u()(t,[{key:"add",value:function(n){var r=this.environments.slice();return n instanceof a.a||!(this.environments.length>0)||this.environments[this.environments.length-1]instanceof a.a?r.push(n):r[r.length-1]=e.i(s.a)({},r[r.length-1],n),new t(r)}},{key:"toJSON",value:function(t){return this.environments.map(function(n){return n instanceof a.a?t.serializeFunctionCall(n):n})}}],[{key:"of",value:function(n){var e=t.EMPTY;return n?e.add(n):e}}]),t}();c.EMPTY=new c},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(12),s=e(23),c=e(46),f=e(44);e.d(n,"a",function(){return l});var l=function(){function t(){i()(this,t)}return u()(t,[{key:"schedule",value:function(t){var n=this.getTaskDefinitions(t);return n.map(function(n){return t.options.threadPool.run(n)})}},{key:"getTaskDefinitions",value:function(t){var n=this.getScheduling(t.generator.length,t.options),r=t.options.functionCallSerializer,i=t.environment.toJSON(r),o=this.serializeOperations(t.operations,r),u=[s.a.PARALLEL_JOB_EXECUTOR].concat(e.i(c.b)(o.map(function(t){return[t.iteratee.functionId,t.iterator.functionId]})));i.forEach(function(t){e.i(f.a)(t)&&u.push(t.functionId)});for(var l=[],h=0;h<n.numberOfTasks;++h){var d=t.generator.serializeSlice(h,n.valuesPerTask,r),v={environments:i,generator:d,operations:o,taskIndex:h,valuesPerTask:n.valuesPerTask},p={main:r.serializeFunctionCall(a.a.createUnchecked(s.a.PARALLEL_JOB_EXECUTOR,v)),taskIndex:h,usedFunctionIds:[d.functionId].concat(u),valuesPerTask:n.valuesPerTask};l.push(p)}return l}},{key:"serializeOperations",value:function(t,n){return t.map(function(t){return{iteratee:n.serializeFunctionCall(t.iteratee),iterator:n.serializeFunctionCall(t.iterator)}})}}]),t}()},function(t,n,e){"use strict";var r=e(48),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){u()(this,t),this.promise=i.a.resolve(n)}return s()(t,[{key:"subscribe",value:function(t,n,e){return(e||n)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}}]),t}()},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(33);e.d(n,"a",function(){return f});var f=function(){function t(n,e,r){var o=this;u()(this,t),this.failed=!1,this.nextSubResultIndex=0,this.tasks=n,this.joiner=r,this.endResult=e,this.pending=n.length,this.subResults=new Array(this.tasks.length),this.innerStream=new c.a(function(t,n,e){o.next=t,o.resolve=n,o.reject=e});var a=!0,s=!1,f=void 0;try{for(var l,h=i()(n);!(a=(l=h.next()).done);a=!0){var d=l.value;this.registerTaskHandler(d)}}catch(t){s=!0,f=t}finally{try{!a&&h.return&&h.return()}finally{if(s)throw f}}}return s()(t,[{key:"subscribe",value:function(t,n,e){return this.innerStream.subscribe(t,n,e),this}},{key:"then",value:function(t,n){return this.innerStream.then(t,n)}},{key:"catch",value:function(t){return this.innerStream.catch(t)}},{key:"registerTaskHandler",value:function(t){var n=this;t.then(function(e){return n._taskCompleted(e,t.definition)},function(t){return n._taskFailed(t)})}},{key:"_taskCompleted",value:function(t,n){if(0===this.pending)throw new Error("Stream already resolved but taskCompleted called one more time");--this.pending,this.tasks[n.taskIndex]=void 0,this.subResults[n.taskIndex]=t,this.failed||(this.next(t,n.taskIndex,n.valuesPerTask),this.nextSubResultIndex===n.taskIndex&&this.joinSubResults(),0===this.pending&&(this.resolve(this.endResult),this.endResult=void 0))}},{key:"joinSubResults",value:function(){for(;this.nextSubResultIndex<this.subResults.length&&"undefined"!=typeof this.subResults[this.nextSubResultIndex];){var t=this.subResults[this.nextSubResultIndex];this.subResults[this.nextSubResultIndex]=void 0,this.endResult=this.joiner.apply(void 0,[this.endResult,t]),++this.nextSubResultIndex}}},{key:"_taskFailed",value:function(t){if(this.failed!==!0){this.failed=!0;for(var n=0;n<this.tasks.length;++n){var e=this.tasks[n];"undefined"!=typeof e&&e.cancel()}this.reject(t)}}}]),t}()},function(t,n,e){"use strict";var r=e(48),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){var e=this;u()(this,t),this.definition=n,this.isCancellationRequested=!1,this.isCanceled=!1,this.promise=new i.a(function(t,n){e.resolvePromise=t,e.rejectPromise=n})}return s()(t,[{key:"resolve",value:function(t){this.isCancellationRequested?this.resolveCancelled():this.resolvePromise(t)}},{key:"resolveCancelled",value:function(){this.isCanceled=!0,this.reject("Task has been canceled")}},{key:"reject",value:function(t){this.rejectPromise(t)}},{key:"then",value:function(t,n){return n?this.promise.then(t,n):this.promise.then(t)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"cancel",value:function(){this.isCancellationRequested=!0}}]),t}()},function(t,n,e){"use strict";function r(t){if(t.hasOwnProperty("name"))return t.name;var n=t.toString();return n.substring(n.indexOf("function")+9,n.indexOf("(")).trim()}n.a=r},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(){i()(this,t),this.data={}}return u()(t,[{key:"get",value:function(t){var n=this.toInternalKey(t);return this.has(t)?this.data[n]:void 0}},{key:"has",value:function(t){return this.hasOwnProperty.call(this.data,this.toInternalKey(t))}},{key:"set",value:function(t,n){this.data[this.toInternalKey(t)]=n}},{key:"clear",value:function(){this.data={}}},{key:"toInternalKey",value:function(t){return"@"+t}}]),t}()},function(t,n,e){t.exports={default:e(134),__esModule:!0}},function(t,n,e){t.exports={default:e(135),__esModule:!0}},function(t,n,e){t.exports={default:e(136),__esModule:!0}},function(t,n,e){t.exports={default:e(137),__esModule:!0}},function(t,n,e){t.exports={default:e(139),__esModule:!0}},function(t,n,e){t.exports={default:e(141),__esModule:!0}},function(t,n,e){t.exports={default:e(142),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(47),o=r(i),u=e(127),a=r(u);n.default=function t(n,e,r){null===n&&(n=Function.prototype);var i=(0,a.default)(n,e);if(void 0===i){var u=(0,o.default)(n);return null===u?void 0:t(u,e,r)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(r)}},function(t,n,e){e(29),e(156),t.exports=e(2).Array.from},function(t,n,e){var r=e(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,n,e){e(157);var r=e(2).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(158);var r=e(2).Object;t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)}},function(t,n,e){e(159);var r=e(2).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(160),t.exports=e(2).Object.getPrototypeOf},function(t,n,e){e(161),t.exports=e(2).Object.setPrototypeOf},function(t,n,e){e(103),e(29),e(40),e(162),t.exports=e(2).Promise},function(t,n,e){e(163),e(103),e(164),e(165),t.exports=e(2).Symbol},function(t,n,e){e(29),e(40),t.exports=e(59).f("iterator")},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){"use strict";var r=e(6),i=e(19);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(26),i=e(96),o=e(55);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,a=e(t),s=o.f,c=0;a.length>c;)s.call(t,u=a[c++])&&n.push(u);return n}},function(t,n,e){var r=e(16),i=e(89),o=e(88),u=e(5),a=e(36),s=e(39),c={},f={},n=t.exports=function(t,n,e,l,h){var d,v,p,y,m=h?function(){return t}:s(t),k=r(e,l,n?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=a(t.length);d>g;g++)if(y=n?k(u(v=t[g])[0],v[1]):k(t[g]),y===c||y===f)return y}else for(p=m.call(t);!(v=p.next()).done;)if(y=i(p,k,v.value,n),y===c||y===f)return y};n.BREAK=c,n.RETURN=f},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(17);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(26),i=e(9);t.exports=function(t,n){for(var e,o=i(t),u=r(o),a=u.length,s=0;a>s;)if(o[e=u[s++]]===n)return e}},function(t,n,e){var r=e(22)("meta"),i=e(14),o=e(11),u=e(6).f,a=0,s=Object.isExtensible||function(){return!0},c=!e(18)(function(){return s(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},h=function(t,n){if(!o(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return c&&v.NEED&&s(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:d}},function(t,n,e){var r=e(4),i=e(98).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,s="process"==e(17)(u);t.exports=function(){var t,n,e,c=function(){var r,i;for(s&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(s)e=function(){u.nextTick(c)};else if(o){var f=!0,l=document.createTextNode("");new o(c).observe(l,{characterData:!0}),e=function(){l.data=f=!f}}else if(a&&a.resolve){var h=a.resolve();e=function(){h.then(c)}}else e=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){var r=e(8);t.exports=function(t,n,e){for(var i in n)e&&t[i]?t[i]=n[i]:r(t,i,n[i]);return t}},function(t,n,e){var r=e(14),i=e(5),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(16)(Function.call,e(52).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n,e){"use strict";var r=e(4),i=e(2),o=e(6),u=e(7),a=e(3)("species");t.exports=function(t){var n="function"==typeof i[t]?i[t]:r[t];u&&n&&!n[a]&&o.f(n,a,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(5),i=e(34),o=e(3)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[o])?n:i(e)}},function(t,n,e){"use strict";var r=e(16),i=e(10),o=e(37),u=e(89),a=e(88),s=e(36),c=e(144),f=e(39);i(i.S+i.F*!e(91)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),d="function"==typeof this?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,y=void 0!==p,m=0,k=f(h);if(y&&(p=r(p,v>2?arguments[2]:void 0,2)),void 0==k||d==Array&&a(k))for(n=s(h.length),e=new d(n);n>m;m++)c(e,m,y?p(h[m],m):h[m]);else for(l=k.call(h),e=new d;!(i=l.next()).done;m++)c(e,m,y?u(l,p,[i.value,m],!0):i.value);return e.length=m,e}})},function(t,n,e){var r=e(10);r(r.S,"Object",{create:e(35)})},function(t,n,e){var r=e(9),i=e(52).f;e(56)("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})},function(t,n,e){e(56)("getOwnPropertyNames",function(){return e(94).f})},function(t,n,e){var r=e(37),i=e(53);e(56)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,n,e){var r=e(10);r(r.S,"Object",{setPrototypeOf:e(153).set})},function(t,n,e){"use strict";var r,i,o,u=e(25),a=e(4),s=e(16),c=e(49),f=e(10),l=e(14),h=e(34),d=e(143),v=e(146),p=e(155),y=e(98).set,m=e(151)(),k="Promise",g=a.TypeError,b=a.process,_=a[k],b=a.process,w="process"==c(b),x=function(){},O=!!function(){try{var t=_.resolve(1),n=(t.constructor={})[e(3)("species")]=function(t){t(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof n}catch(t){}}(),P=function(t,n){return t===n||t===_&&n===o},S=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},I=function(t){return P(_,t)?new T(t):new i(t)},T=i=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw g("Bad Promise constructor");n=t,e=r}),this.resolve=h(n),this.reject=h(e)},E=function(t){try{t()}catch(t){return{error:t}}},j=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u=i?n.ok:n.fail,a=n.resolve,s=n.reject,c=n.domain;try{u?(i||(2==t._h&&R(t),t._h=1),u===!0?e=r:(c&&c.enter(),e=u(r),c&&c.exit()),e===n.promise?s(g("Promise-chain cycle")):(o=S(e))?o.call(e,a,s):a(e)):s(r)}catch(t){s(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&M(t)})}},M=function(t){y.call(a,function(){var n,e,r,i=t._v;if(F(t)&&(n=E(function(){w?b.emit("unhandledRejection",i,t):(e=a.onunhandledrejection)?e({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=w||F(t)?2:1),t._a=void 0,n)throw n.error})},F=function(t){if(1==t._h)return!1;for(var n,e=t._a||t._c,r=0;e.length>r;)if(n=e[r++],n.fail||!F(n.promise))return!1;return!0},R=function(t){y.call(a,function(){var n;w?b.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),j(n,!0))},A=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw g("Promise can't be resolved itself");(n=S(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(A,r,1),s(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,j(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};O||(_=function(t){d(this,_,k,"_h"),h(t),r.call(this);try{t(s(A,this,1),s(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(152)(_.prototype,{then:function(t,n){var e=I(p(this,_));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=w?b.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&j(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),T=function(){var t=new r;this.promise=t,this.resolve=s(A,t,1),this.reject=s(C,t,1)}),f(f.G+f.W+f.F*!O,{Promise:_}),e(21)(_,k),e(154)(k),o=e(2)[k],f(f.S+f.F*!O,k,{reject:function(t){var n=I(this),e=n.reject;return e(t),n.promise}}),f(f.S+f.F*(u||!O),k,{resolve:function(t){if(t instanceof _&&P(t.constructor,this))return t;var n=I(this),e=n.resolve;return e(t),n.promise}}),f(f.S+f.F*!(O&&e(91)(function(t){_.all(t).catch(x)})),k,{all:function(t){var n=this,e=I(n),r=e.resolve,i=e.reject,o=E(function(){var e=[],o=0,u=1;v(t,!1,function(t){var a=o++,s=!1;e.push(void 0),u++,n.resolve(t).then(function(t){s||(s=!0,e[a]=t,--u||r(e))},i)}),--u||r(e)});return o&&i(o.error),e.promise},race:function(t){var n=this,e=I(n),r=e.reject,i=E(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i&&r(i.error),e.promise}})},function(t,n,e){"use strict";var r=e(4),i=e(11),o=e(7),u=e(10),a=e(57),s=e(150).KEY,c=e(18),f=e(32),l=e(21),h=e(22),d=e(3),v=e(59),p=e(58),y=e(149),m=e(145),k=e(148),g=e(5),b=e(9),_=e(38),w=e(19),x=e(35),O=e(94),P=e(52),S=e(6),I=e(26),T=P.f,E=S.f,j=O.f,M=r.Symbol,F=r.JSON,R=F&&F.stringify,C="prototype",A=d("_hidden"),z=d("toPrimitive"),L={}.propertyIsEnumerable,W=f("symbol-registry"),D=f("symbols"),N=f("op-symbols"),U=Object[C],J="function"==typeof M,q=r.QObject,V=!q||!q[C]||!q[C].findChild,B=o&&c(function(){return 7!=x(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=T(U,n);r&&delete U[n],E(t,n,e),r&&t!==U&&E(U,n,r)}:E,K=function(t){var n=D[t]=x(M[C]);return n._k=t,n},G=J&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},H=function(t,n,e){return t===U&&H(N,n,e),g(t),n=_(n,!0),g(e),i(D,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=x(e,{enumerable:w(0,!1)})):(i(t,A)||E(t,A,w(1,{})),t[A][n]=!0),B(t,n,e)):E(t,n,e)},Y=function(t,n){g(t);for(var e,r=m(n=b(n)),i=0,o=r.length;o>i;)H(t,e=r[i++],n[e]);return t},X=function(t,n){return void 0===n?x(t):Y(x(t),n)},Q=function(t){var n=L.call(this,t=_(t,!0));return!(this===U&&i(D,t)&&!i(N,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,A)&&this[A][t])||n)},Z=function(t,n){if(t=b(t),n=_(n,!0),t!==U||!i(D,n)||i(N,n)){var e=T(t,n);return!e||!i(D,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e}},$=function(t){for(var n,e=j(b(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==A||n==s||r.push(n);return r},tt=function(t){for(var n,e=t===U,r=j(e?N:b(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(U,n)||o.push(D[n]);return o};J||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(N,e),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),B(this,t,w(1,e))};return o&&V&&B(U,t,{configurable:!0,set:n}),K(t)},a(M[C],"toString",function(){return this._k}),P.f=Z,S.f=H,e(95).f=O.f=$,e(55).f=Q,e(96).f=tt,o&&!e(25)&&a(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return K(d(t))}),u(u.G+u.W+u.F*!J,{Symbol:M});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)d(nt[et++]);for(var nt=I(d.store),et=0;nt.length>et;)p(nt[et++]);u(u.S+u.F*!J,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=M(t)},keyFor:function(t){if(G(t))return y(W,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),u(u.S+u.F*!J,"Object",{create:X,defineProperty:H,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:tt}),F&&u(u.S+u.F*(!J||c(function(){var t=M();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return n=r[1],"function"==typeof n&&(e=n),!e&&k(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!G(n))return n}),r[1]=n,R.apply(F,r)}}}),M[C][z]||e(8)(M[C],z,M[C].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(58)("asyncIterator")},function(t,n,e){e(58)("observable")},function(t,n,e){t.exports=function(){return new Worker(e.p+"worker-slave.parallel.js")}},,function(t,n,e){var r=e(109).default;t.exports=r}]))});
//# sourceMappingURL=browser-commonjs.parallel.js.map

@@ -1,3 +0,3 @@

!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["parallel-es"]=n():t["parallel-es"]=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=109)}(function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))switch(typeof t[n]){case"function":break;case"object":t[n]=function(n){var e=n.slice(1),r=t[n[0]];return function(t,n,i){r.apply(this,[t,n,i].concat(e))}}(t[n]);break;default:t[n]=t[t[n]]}return t}([function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(79),o=r(i);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(33)("wks"),i=e(23),o=e(4).Symbol,u="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))};a.store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(14);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(5),i=e(52),o=e(39),u=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(4),i=e(2),o=e(17),u=e(9),a="prototype",s=function(t,n,e){var c,f,l,h=t&s.F,d=t&s.G,v=t&s.S,p=t&s.P,y=t&s.B,m=t&s.W,k=d?i:i[n]||(i[n]={}),g=k[a],b=d?r:v?r[n]:(r[n]||{})[a];d&&(e=n);for(c in e)f=!h&&b&&void 0!==b[c],f&&c in k||(l=f?b[c]:e[c],k[c]=d&&"function"!=typeof b[c]?e[c]:y&&f?o(l,r):m&&b[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[a]=t[a],n}(l):p&&"function"==typeof l?o(Function.call,l):l,p&&((k.virtual||(k.virtual={}))[c]=l,t&s.R&&g&&!g[c]&&u(g,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n,e){var r=e(6),i=e(19);t.exports=e(7)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(53),i=e(25);t.exports=function(t){return r(i(t))}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n,e){i()(this,t),this.func=n,this.params=e}return u()(t,null,[{key:"create",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}},{key:"createUnchecked",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}}]),t}()},function(t,n,e){t.exports={default:e(85),__esModule:!0}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports={}},function(t,n,e){var r=e(35);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";function r(t,n){return{_______isFunctionId:!0,identifier:t+"-"+n}}function i(t){return!!t&&t._______isFunctionId===!0}n.a=r,n.b=i},function(t,n,e){var r=e(57),i=e(32);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(6).f,i=e(11),o=e(3)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";var r=e(20);e.d(n,"a",function(){return i});var i={FILTER:e.i(r.a)("parallel",0),IDENTITY:e.i(r.a)("parallel",1),MAP:e.i(r.a)("parallel",2),PARALLEL_JOB_EXECUTOR:e.i(r.a)("parallel",3),RANGE:e.i(r.a)("parallel",4),REDUCE:e.i(r.a)("parallel",5),TIMES:e.i(r.a)("parallel",6),TO_ITERATOR:e.i(r.a)("parallel",7)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=!0},function(t,n,e){var r=e(33)("keys"),i=e(23);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(25);t.exports=function(t){return Object(r(t))}},function(t,n,e){"use strict";var r=e(97)(!0);e(43)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(14),i=e(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(4),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(49),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(121),h=e(120);e.d(n,"a",function(){return d});var d=function(){function t(n){var e=this;s()(this,t),this.nextHandlers=[];var r=function(t,n,r){return e._next(t,n,r)},i=function(t){return e.reject(t)},o=function(t){return e.resolve(t)};n(r,o,i),this.promise=new u.a(function(t,n){e.resolve=t,e.reject=n})}return f()(t,[{key:"subscribe",value:function(t,n,e){return this.nextHandlers.push(t),(n||e)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"_next",value:function(t,n,e){var r=!0,o=!1,u=void 0;try{for(var a,s=i()(this.nextHandlers);!(r=(a=s.next()).done);r=!0){var c=a.value;c.apply(void 0,arguments)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}}}],[{key:"transform",value:function(n,e){var r=void 0,i=void 0,o=void 0,u=new t(function(t,n,e){r=t,i=n,o=e});return n.subscribe(r,o,function(t){return i(e(t))}),u}},{key:"fromTasks",value:function(t,n,e){return 0===t.length?new h.a(n):new l.a(t,n,e)}}]),t}()},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(5),i=e(94),o=e(32),u=e(27)("IE_PROTO"),a=function(){},s="prototype",c=function(){var t,n=e(31)("iframe"),r=o.length,i="<",u=">";for(n.style.display="none",e(51).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+u+"document.F=Object"+i+"/script"+u),t.close(),c=t.F;r--;)delete c[s][o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[s]=r(t),e=new a,a[s]=null,e[u]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(28),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(14);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(50),i=e(3)("iterator"),o=e(16);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){e(101);for(var r=e(4),i=e(9),o=e(16),u=e(3)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var c=a[s],f=r[c],l=f&&f.prototype;l&&!l[u]&&i(l,u,c),o[c]=o.Array}},function(t,n,e){"use strict";var r=e(70),i=(e.n(r),e(64)),o=(e.n(i),e(67)),u=(e.n(o),e(68)),a=(e.n(u),e(46)),s=e(71),c=(e.n(s),e(69)),f=(e.n(c),e(72));e.n(f);e.o(r,"IParallel")&&e.d(n,"a",function(){return r.IParallel}),e.o(i,"IParallelChain")&&e.d(n,"b",function(){return i.IParallelChain}),e.o(o,"IParallelTaskEnvironment")&&e.d(n,"c",function(){return o.IParallelTaskEnvironment}),e.o(o,"IParallelEnvironment")&&e.d(n,"d",function(){return o.IParallelEnvironment}),e.o(u,"IParallelJob")&&e.d(n,"e",function(){return u.IParallelJob}),e.d(n,"f",function(){return a.IParallelOptions}),e.d(n,"g",function(){return a.IDefaultInitializedParallelOptions}),e.o(s,"IParallelJobScheduler")&&e.d(n,"h",function(){return s.IParallelJobScheduler}),e.o(c,"IParallelOperation")&&e.d(n,"i",function(){return c.IParallelOperation}),e.o(c,"ISerializedParallelOperation")&&e.d(n,"j",function(){return c.ISerializedParallelOperation}),e.o(f,"IParallelStream")&&e.d(n,"k",function(){return f.IParallelStream})},function(t,n,e){"use strict";var r=e(26),i=e(8),o=e(59),u=e(9),a=e(11),s=e(16),c=e(91),f=e(22),l=e(56),h=e(3)("iterator"),d=!([].keys&&"next"in[].keys()),v="@@iterator",p="keys",y="values",m=function(){return this};t.exports=function(t,n,e,k,g,b,_){c(e,n,k);var w,x,O,P=function(t){if(!d&&t in E)return E[t];switch(t){case p:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",I=g==y,T=!1,E=t.prototype,j=E[h]||E[v]||g&&E[g],M=j||P(g),F=g?I?P("entries"):M:void 0,R="Array"==n?E.entries||j:j;if(R&&(O=l(R.call(new t)),O!==Object.prototype&&(f(O,S,!0),r||a(O,h)||u(O,h,m))),I&&j&&j.name!==y&&(T=!0,M=function(){return j.call(this)}),r&&!_||!d&&!T&&E[h]||u(E,h,M),s[n]=M,s[S]=m,g)if(w={values:I?M:P(y),keys:b?M:P(p),entries:F},_)for(x in w)x in E||o(E,x,w[x]);else i(i.P+i.F*(d||T),n,w);return w}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n){i()(this,t),this.functionRegistry=n}return u()(t,[{key:"serializeFunctionCall",value:function(t){var n=this.functionRegistry.getOrSetId(t.func);return{______serializedFunctionCall:!0,functionId:n,parameters:t.params}}}]),t}()},function(t,n,e){"use strict";function r(t){return!!t&&t.______serializedFunctionCall===!0}n.a=r},function(t,n,e){"use strict";function r(t){var n=!0,e=!1,r=void 0;try{for(var i,a=o()(u);!(n=(i=a.next()).done);n=!0){var s=i.value,c=t[s];if("undefined"!=typeof c&&("number"!=typeof c||c<=0||c%1!==0))throw new Error("Illegal parallel options: "+s+" ("+c+") has to be an integer greater than zero")}}catch(t){e=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(e)throw r}}if("undefined"!=typeof t.minValuesPerTask&&"undefined"!=typeof t.maxValuesPerTask&&t.minValuesPerTask>t.maxValuesPerTask)throw new Error("Illegal parallel options: minValuesPerTask ("+t.minValuesPerTask+") must be equal or less than maxValuesPerTask ("+t.maxValuesPerTask+").")}var i=e(13),o=e.n(i);n.a=r;var u=["maxValuesPerTask","minValuesPerTask","maxDegreeOfParallelism"]},function(t,n,e){"use strict";function r(t){if(0===t.length)return[];var n=u()(t),e=n[0],r=n.slice(1);return Array.prototype.concat.apply(e,r)}function i(t,n){var e=t.length;t.length+=n.length;for(var r=0;r<n.length;++r)t[e+r]=n[r];return t}var o=e(82),u=e.n(o),a=e(13);e.n(a);n.b=r,n.a=i},function(t,n,e){t.exports={default:e(139),__esModule:!0}},function(t,n,e){t.exports={default:e(141),__esModule:!0}},function(t,n,e){var r=e(18),i=e(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){t.exports=e(4).document&&document.documentElement},function(t,n,e){t.exports=!e(7)&&!e(15)(function(){return 7!=Object.defineProperty(e(31)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(37),i=e(19),o=e(10),u=e(39),a=e(11),s=e(52),c=Object.getOwnPropertyDescriptor;n.f=e(7)?c:function(t,n){if(t=o(t),n=u(n,!0),s)try{return c(t,n)}catch(t){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(11),i=e(29),o=e(27)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(11),i=e(10),o=e(88)(!1),u=e(27)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),s=0,c=[];for(e in a)e!=u&&r(a,e)&&c.push(e);for(;n.length>s;)r(a,e=n[s++])&&(~o(c,e)||c.push(e));return c}},function(t,n,e){var r=e(8),i=e(2),o=e(15);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},function(t,n,e){t.exports=e(9)},function(t,n,e){var r=e(4),i=e(2),o=e(26),u=e(61),a=e(6).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(3)},function(t,n,e){"use strict";var r=e(42),i=e(73),o=(e.n(i),e(74)),u=(e.n(o),e(63)),a=(e.n(u),e(20)),s=e(12),c=e(45),f=e(44),l=e(75),h=(e.n(l),e(42));e.d(n,"a",function(){return r.a}),e.o(i,"ITaskDefinition")&&e.d(n,"b",function(){return i.ITaskDefinition}),e.o(o,"ITask")&&e.d(n,"c",function(){return o.ITask}),e.o(u,"IFunctionDefinition")&&e.d(n,"d",function(){return u.IFunctionDefinition}),e.d(n,"e",function(){return a.IFunctionId}),e.d(n,"f",function(){return a.b}),e.d(n,"g",function(){return s.a}),e.d(n,"h",function(){return c.ISerializedFunctionCall}),e.d(n,"i",function(){return c.a}),e.d(n,"j",function(){return f.a}),e.o(l,"IThreadPool")&&e.d(n,"k",function(){return l.IThreadPool}),e.d(n,"l",function(){return h.b}),e.d(n,"m",function(){return h.c}),e.d(n,"n",function(){return h.d}),e.d(n,"o",function(){return h.e}),e.d(n,"p",function(){return h.f}),e.d(n,"q",function(){return h.g}),e.d(n,"r",function(){return h.h}),e.d(n,"s",function(){return h.i}),e.d(n,"t",function(){return h.j}),e.d(n,"u",function(){return h.k})},function(t,n){},function(t,n){},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(112);e.d(n,"a",function(){return s});var s=function(){function t(n,e,r){i()(this,t),this.options=e,this.environment=r,this.stream=n}return u()(t,[{key:"resolve",value:function(){return this}},{key:"chainOperation",value:function(t){return new a.a(this.stream,this.options,this.environment,[t])}},{key:"addEnvironment",value:function(t){return new a.a(this.stream,this.options,this.environment.add(t))}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(24),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n){i()(this,t),this.collection=n}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*t,i=r+n;return e.serializeFunctionCall(s.a.createUnchecked(a.a.TO_ITERATOR,this.collection.slice(r,i)))}},{key:"length",get:function(){return this.collection.length}}]),t}()},64,64,function(t,n){},64,64,64,63,63,64,function(t,n,e){"use strict";function r(t){return{type:d.InitializeWorker,workerId:t}}function i(t){return{task:t,type:d.ScheduleTask}}function o(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return{functions:t,missingFunctions:e,type:d.FunctionResponse}}function u(){return{type:d.Stop}}function a(t){return t.type===d.FunctionRequest}function s(t){return t.type===d.WorkerResult}function c(t){return t.type===d.FunctionExecutionError}var f=e(125),l=(e.n(f),e(128)),h=(e.n(l),e(13));e.n(h);n.e=r,n.f=i,n.d=o,n.g=u,n.a=a,n.b=s,n.c=c;var d;!function(t){t[t.InitializeWorker=0]="InitializeWorker",t[t.ScheduleTask=1]="ScheduleTask",t[t.FunctionRequest=2]="FunctionRequest",t[t.FunctionResponse=3]="FunctionResponse",t[t.WorkerResult=4]="WorkerResult",t[t.FunctionExecutionError=5]="FunctionExecutionError",t[t.Stop=6]="Stop"}(d||(d={}))},function(t,n,e){t.exports={default:e(133),__esModule:!0}},function(t,n,e){t.exports={default:e(135),__esModule:!0}},function(t,n,e){t.exports={default:e(86),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(129),o=r(i),u=e(126),a=r(u),s=e(84),c=r(s);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof n?"undefined":(0,c.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(o.default?(0,o.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(84),o=r(i);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==("undefined"==typeof n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(77),o=r(i);n.default=function(t){return Array.isArray(t)?t:(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(77),o=r(i);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(131),o=r(i),u=e(130),a=r(u),s="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===s(o.default)?function(t){return"undefined"==typeof t?"undefined":s(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":s(t)}},function(t,n,e){e(41),e(30),t.exports=e(100)},function(t,n,e){e(102);var r=e(2).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(10),i=e(38),o=e(99);t.exports=function(t){return function(n,e,u){var a,s=r(n),c=i(s.length),f=o(u,c);if(t&&e!=e){for(;c>f;)if(a=s[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(16),i=e(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){var r=e(5);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){"use strict";var r=e(36),i=e(19),o=e(22),u={};e(9)(u,e(3)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(6),i=e(5),o=e(21);t.exports=e(7)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(n),a=u.length,s=0;a>s;)r.f(t,e=u[s++],n[e]);return t}},function(t,n,e){var r=e(10),i=e(96).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,n,e){var r=e(57),i=e(32).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){var r=e(28),i=e(25);t.exports=function(t){return function(n,e){var o,u,a=String(i(n)),s=r(e),c=a.length;return s<0||s>=c?t?"":void 0:(o=a.charCodeAt(s),o<55296||o>56319||s+1===c||(u=a.charCodeAt(s+1))<56320||u>57343?t?a.charAt(s):o:t?a.slice(s,s+2):(o-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r,i,o,u=e(17),a=e(148),s=e(51),c=e(31),f=e(4),l=f.process,h=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,p=0,y={},m="onreadystatechange",k=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){k.call(t.data)};h&&d||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++p]=function(){a("function"==typeof t?t:Function(t),n)},r(p),p},d=function(t){delete y[t]},"process"==e(18)(l)?r=function(t){l.nextTick(u(k,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=g,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r=m in c("script")?function(t){s.appendChild(c("script"))[m]=function(){s.removeChild(this),k.call(t)}}:function(t){setTimeout(u(k,t,1),0)}),t.exports={set:h,clear:d}},function(t,n,e){var r=e(28),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(5),i=e(40);t.exports=e(2).getIterator=function(t){var n=i(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return r(n.call(t))}},function(t,n,e){"use strict";var r=e(87),i=e(93),o=e(16),u=e(10);t.exports=e(43)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,e):"values"==n?i(0,t[e]):i(0,[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(8);r(r.S+r.F*!e(7),"Object",{defineProperty:e(6).f})},69,function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(111);e.d(n,"a",function(){return c});var s=e(169),c=function(){function t(n){i()(this,t),this.functionLookupTable=n}return u()(t,[{key:"spawn",value:function(){if(!window.Worker)throw new Error("Missing Web Worker support");var t=new s,n=new a.a(t,this.functionLookupTable);return n.initialize(),n}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(124),s=e(20),c=e(123);e.d(n,"a",function(){return f});var f=function(){function t(){i()(this,t),this.ids=new a.a,this.definitions=new a.a,this.lastId=0}return u()(t,[{key:"getOrSetId",value:function(t){if(e.i(s.b)(t))return t;var n=t.toString(),r=this.ids.get(n);return"undefined"==typeof r&&(r=e.i(s.a)("dynamic",++this.lastId),this.initDefinition(t,r)),r}},{key:"getDefinition",value:function(t){return this.definitions.get(t.identifier)}},{key:"initDefinition",value:function(t,n){var r=t.toString(),i=e.i(c.a)(t),o=r.substring(r.indexOf("(")+1,r.indexOf(")")).split(","),u=r.substring(r.indexOf("{")+1,r.lastIndexOf("}")).trim(),a={argumentNames:o.map(function(t){return t.trim()}),body:u,id:n,name:i?i:void 0};this.ids.set(r,n),this.definitions.set(n.identifier,a)}}]),t}()},function(t,n,e){"use strict";function r(t){function n(n){if(n){if(n.hasOwnProperty("threadPool")&&"undefined"==typeof n.threadPool)throw new Error("The thread pool is mandatory and cannot be unset");if(n.hasOwnProperty("functionCallSerializer")&&"undefined"==typeof n.functionCallSerializer)throw new Error("The function call serializer is mandatory and cannot be unset");e.i(u.a)(n)}return o()({},t,n)}return{defaultOptions:function(e){return e?void(t=n(e)):o()({},t)},from:function(t,r){return e.i(f.a)(new a.a(t),n(r))},range:function(t,r,i,o){var u=s.a.create(t,r,i);return e.i(f.a)(u,n(o))},times:function(t,r,i,o){return i?e.i(f.a)(c.a.create(t,r),n(o),i):e.i(f.a)(c.a.create(t,r),n(o))},run:function(n){for(var r=void 0,i=arguments.length,o=Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];r=e.i(l.b)(n)?h.a.create(n,o):h.a.create(n,o);var a=t.functionCallSerializer.serializeFunctionCall(r),s={main:a,usedFunctionIds:[a.functionId]};return t.threadPool.run(s)}}}var i=e(78),o=e.n(i),u=e(46),a=e(66),s=e(116),c=e(117),f=e(113),l=e(20),h=e(12);e.d(n,"a",function(){return r})},function(t,n,e){"use strict";var r=e(48),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(81),f=e.n(c),l=e(80),h=e.n(l),d=e(119);e.d(n,"a",function(){return v});var v=function(t){function n(){return u()(this,n),f()(this,(n.__proto__||i()(n)).apply(this,arguments))}return h()(n,t),s()(n,[{key:"getScheduling",value:function(t,n){var e=void 0;e=n.maxDegreeOfParallelism?n.maxDegreeOfParallelism:4*n.threadPool.maxThreads;var r=t/e;return n.minValuesPerTask&&(r=Math.min(Math.max(r,n.minValuesPerTask),t)),n.maxValuesPerTask&&(r=Math.min(r,n.maxValuesPerTask)),{numberOfTasks:0===r?0:Math.round(t/r),valuesPerTask:Math.ceil(r)}}}]),n}(d.a)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(122);e.d(n,"a",function(){return s});var s=function(){function t(n,e){i()(this,t),this.workerThreadFactory=n,this.workers=[],this.idleWorkers=[],this.queue=[],this.maxThreadsLimit=e.maxConcurrencyLevel}return u()(t,[{key:"run",value:function(t){var n=new a.a(t);return this.queue.unshift(n),this.schedulePendingTasks(),n}},{key:"schedulePendingTasks",value:function(){for(;this.queue.length;){var t=void 0;if(0===this.idleWorkers.length&&this.workers.length<this.maxThreadsLimit?(t=this.workerThreadFactory.spawn(),this.workers.push(t)):this.idleWorkers.length>0&&(t=this.idleWorkers.pop()),!t)return;var n=this.queue.pop();this.runTaskOnWorker(n,t)}}},{key:"runTaskOnWorker",value:function(t,n){var e=this;t.isCancellationRequested?(t.resolveCancelled(),this.releaseWorker(n)):n.run(t.definition,function(r,i){r?t.reject(r):t.resolve(i),e.releaseWorker(n)})}},{key:"releaseWorker",value:function(t){this.idleWorkers.push(t),this.schedulePendingTasks()}},{key:"maxThreads",get:function(){return this.maxThreadsLimit},set:function(t){if("number"!=typeof t||t%1!==0||t<=0)throw new Error("The maxThreads limit ("+t+") has to be a positive integer larger than zero.");this.maxThreadsLimit=t}}]),t}()},function(t,n,e){"use strict";var r=e(106),i=e(108),o=e(107),u=e(105),a=e(44),s=e(104),c=e(62);e.d(n,"IParallel",function(){return c.a}),e.d(n,"ITaskDefinition",function(){return c.b}),e.d(n,"ITask",function(){return c.c}),e.d(n,"IFunctionDefinition",function(){return c.d}),e.d(n,"IFunctionId",function(){return c.e}),e.d(n,"isFunctionId",function(){return c.f}),e.d(n,"FunctionCall",function(){return c.g}),e.d(n,"ISerializedFunctionCall",function(){return c.h}),e.d(n,"isSerializedFunctionCall",function(){return c.i}),e.d(n,"FunctionCallSerializer",function(){return c.j}),e.d(n,"IThreadPool",function(){return c.k}),e.d(n,"IParallelChain",function(){return c.l}),e.d(n,"IParallelTaskEnvironment",function(){return c.m}),e.d(n,"IParallelEnvironment",function(){return c.n}),e.d(n,"IParallelJob",function(){return c.o}),e.d(n,"IParallelOptions",function(){return c.p}),e.d(n,"IDefaultInitializedParallelOptions",function(){return c.q}),e.d(n,"IParallelJobScheduler",function(){return c.r}),e.d(n,"IParallelOperation",function(){return c.s}),e.d(n,"ISerializedParallelOperation",function(){return c.t}),e.d(n,"IParallelStream",function(){return c.u});var f=new u.a,l=window.navigator.hardwareConcurrency||4,h=new a.a(f),d=new i.a(new s.a(f),{maxConcurrencyLevel:l}),v=e.i(r.a)({functionCallSerializer:h,scheduler:new o.a,threadPool:d});n.default=v},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(48),u=e.n(o),a=e(81),s=e.n(a),c=e(132),f=e.n(c),l=e(80),h=e.n(l),d=e(0),v=e.n(d),p=e(1),y=e.n(p),m=e(76);e.d(n,"a",function(){return k}),e.d(n,"b",function(){return g});var k=function(){function t(n){v()(this,t),this.name=n}return y()(t,[{key:"onMessage",value:function(t){throw new Error("Browser worker thread in state '"+this.name+"' cannot handle the received message ("+t.data.type+").")}},{key:"onError",value:function(t){console.error("Processing error on worker slave",t.error)}}]),t}(),g=function(t){function n(t,e,r){v()(this,n);var i=s()(this,(n.__proto__||u()(n)).call(this,"executing"));return i.callback=t,i.functionRegistry=e,i.worker=r,i}return h()(n,t),y()(n,[{key:"onMessage",value:function(t){var r=t.data;e.i(m.a)(r)?this.handleFunctionRequest(r):e.i(m.b)(r)?this.callback(void 0,r.result):e.i(m.c)(r)?this.callback(r.error,void 0):f()(n.prototype.__proto__||u()(n.prototype),"onMessage",this).call(this,t)}},{key:"onError",value:function(t){this.callback(t.error,void 0)}},{key:"handleFunctionRequest",value:function(t){var n=[],e=[],r=!0,o=!1,u=void 0;try{for(var a,s=i()(t.functionIds);!(r=(a=s.next()).done);r=!0){var c=a.value,f=this.functionRegistry.getDefinition(c);f?e.push(f):n.push(c)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}this.worker.postMessage(m.d.apply(void 0,[e].concat(n)))}}]),n}(k)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(76),s=e(110);e.d(n,"a",function(){return f});var c=0,f=function(){function t(n,e){i()(this,t),this.worker=n,this.functionLookupTable=e,this.id=++c,this.state=new s.a("default"),this.stopped=!1;var r=this;this.worker.addEventListener("message",function(){r.onWorkerMessage.apply(r,arguments)}),this.worker.addEventListener("error",function(){r.onError.apply(r,arguments)})}return u()(t,[{key:"initialize",value:function(){if("default"!==this.state.name)throw new Error("The browser worker thread can only be initialized if in state default but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.e)(this.id)),this.state=new s.a("idle")}},{key:"run",value:function(t,n){var r=this;if("idle"!==this.state.name)throw new Error("The browser worker thread can only execute a new task if in state idle but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.f)(t));var i=function(t,e){r.stopped?r.state=new s.a("stopped"):r.state=new s.a("idle"),n(t,e)};this.state=new s.b(i,this.functionLookupTable,this.worker)}},{key:"stop",value:function(){this.stopped||(this.sendMessage(e.i(a.g)()),this.stopped=!0,"executing"!==this.state.name&&(this.state=new s.a("stopped")))}},{key:"toString",value:function(){return"BrowserWorkerThread { id: "+this.id+", state: "+this.state.name}},{key:"onWorkerMessage",value:function(t){this.state.onMessage(t)}},{key:"onError",value:function(t){this.state.onError(t),this.state=new s.a("errored")}},{key:"sendMessage",value:function(t){this.worker.postMessage(t)}}]),t}()},function(t,n,e){"use strict";var r=e(83),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(65),f=e(66),l=e(47),h=e(34);e.d(n,"a",function(){return d});var d=function(){function t(n,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];u()(this,t),this.previousStream=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{
key:"resolve",value:function t(){var n=this,e=void 0,t=void 0,r=void 0,i=new h.a(function(n,i,o){e=n,t=i,r=o});return this.previousStream.then(function(i){var o=n.options.scheduler.schedule({environment:n.environment,generator:new f.a(i),operations:n.operations,options:n.options}),u=h.a.fromTasks(o,[],l.a);u.subscribe(e,r,t)},r),new c.a(i,this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.previousStream,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.previousStream,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";function r(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=void 0;e instanceof Array?(a=void 0,r=e):a=e;var s=new o.a(new i.a(t,n,u.a.of(),r));return a?s.inEnvironment(a):s}var i=e(115),o=e(114),u=e(118);n.a=r},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(82),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(24),h=e(12),d=e(34);e.d(n,"a",function(){return v});var v=function(){function t(n){s()(this,t),this.state=n}return f()(t,[{key:"inEnvironment",value:function(n){var e=void 0;if("function"==typeof n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];e=h.a.createUnchecked.apply(h.a,[n].concat(i))}else e=n;return new t(this.state.addEnvironment(e))}},{key:"map",value:function(t){return this._chain(h.a.createUnchecked(l.a.MAP),h.a.createUnchecked(t))}},{key:"reduce",value:function(t,n,e){var r=e||n,o=this._chain(h.a.createUnchecked(l.a.REDUCE,t),h.a.createUnchecked(n)).resolveChain();return d.a.transform(o,function(n){if(0===n.length)return t;var e=u()(n),o=e[0],a=e.slice(1),s=o,c=!0,f=!1,l=void 0;try{for(var h,d=i()(a);!(c=(h=d.next()).done);c=!0){var v=h.value;s=r(s,v)}}catch(t){f=!0,l=t}finally{try{!c&&d.return&&d.return()}finally{if(f)throw l}}return s})}},{key:"filter",value:function(t){return this._chain(h.a.createUnchecked(l.a.FILTER),h.a.createUnchecked(t))}},{key:"subscribe",value:function(t,n,e){return this.resolveChain().subscribe(t,n,e)}},{key:"then",value:function(t,n){return this.resolveChain().then(t,n)}},{key:"catch",value:function(t){return this.resolveChain().catch(t)}},{key:"resolveChain",value:function(){var t=this.state=this.state.resolve();return t.stream}},{key:"_chain",value:function(n,e){var r={iterator:n,iteratee:e};return new t(this.state.chainOperation(r))}}]),t}()},function(t,n,e){"use strict";var r=e(83),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(65),f=e(34),l=e(47);e.d(n,"a",function(){return h});var h=function(){function t(n,e,r,i){u()(this,t),this.generator=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{key:"resolve",value:function(){var t=this.options.scheduler.schedule({environment:this.environment,generator:this.generator,operations:this.operations,options:this.options});return new c.a(f.a.fromTasks(t,[],l.a),this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.generator,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.generator,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(24),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n,e,r){i()(this,t),this.start=n,this.end=e,this.step=r}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*this.step,i=this.start+t*r,o=Math.min(i+r,this.end);return e.serializeFunctionCall(s.a.createUnchecked(a.a.RANGE,i,o,this.step))}},{key:"length",get:function(){return Math.ceil((this.end-this.start)/this.step)}}],[{key:"create",value:function(n,e,r){if("undefined"==typeof e&&(e=n,n=0),"undefined"==typeof r&&(r=e<n?-1:1),0===r)throw new Error("Step size of zero is not allowed");return new t(n,e,r)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(24),s=e(12),c=e(20);e.d(n,"a",function(){return f});var f=function(){function t(n,e){i()(this,t),this.times=n,this.iteratee=e}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=t*n,i=Math.min(r+n,this.times),o=e.serializeFunctionCall(this.iteratee);return e.serializeFunctionCall(s.a.create(a.a.TIMES,r,i,o))}},{key:"length",get:function(){return this.times}}],[{key:"create",value:function(n,r){var i=void 0;return i=e.i(c.b)(r)||"function"==typeof r?s.a.createUnchecked(r):s.a.create(a.a.IDENTITY,r),new t(n,i)}}]),t}()},function(t,n,e){"use strict";var r=e(78),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(12);e.d(n,"a",function(){return f});var f=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];u()(this,t),this.environments=n}return s()(t,[{key:"add",value:function(n){var e=this.environments.slice();return n instanceof c.a||!(this.environments.length>0)||this.environments[this.environments.length-1]instanceof c.a?e.push(n):e[e.length-1]=i()({},e[e.length-1],n),new t(e)}},{key:"toJSON",value:function(t){return this.environments.map(function(n){return n instanceof c.a?t.serializeFunctionCall(n):n})}}],[{key:"of",value:function(n){var e=t.EMPTY;return n?e.add(n):e}}]),t}();f.EMPTY=new f},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(12),s=e(24),c=e(47),f=e(45);e.d(n,"a",function(){return l});var l=function(){function t(){i()(this,t)}return u()(t,[{key:"schedule",value:function(t){var n=this.getTaskDefinitions(t);return n.map(function(n){return t.options.threadPool.run(n)})}},{key:"getTaskDefinitions",value:function(t){var n=this.getScheduling(t.generator.length,t.options),r=t.options.functionCallSerializer,i=t.environment.toJSON(r),o=this.serializeOperations(t.operations,r),u=[s.a.PARALLEL_JOB_EXECUTOR].concat(e.i(c.b)(o.map(function(t){return[t.iteratee.functionId,t.iterator.functionId]})));i.forEach(function(t){e.i(f.a)(t)&&u.push(t.functionId)});for(var l=[],h=0;h<n.numberOfTasks;++h){var d=t.generator.serializeSlice(h,n.valuesPerTask,r),v={environments:i,generator:d,operations:o,taskIndex:h,valuesPerTask:n.valuesPerTask},p={main:r.serializeFunctionCall(a.a.createUnchecked(s.a.PARALLEL_JOB_EXECUTOR,v)),taskIndex:h,usedFunctionIds:[d.functionId].concat(u),valuesPerTask:n.valuesPerTask};l.push(p)}return l}},{key:"serializeOperations",value:function(t,n){return t.map(function(t){return{iteratee:n.serializeFunctionCall(t.iteratee),iterator:n.serializeFunctionCall(t.iterator)}})}}]),t}()},function(t,n,e){"use strict";var r=e(49),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){u()(this,t),this.promise=i.a.resolve(n)}return s()(t,[{key:"subscribe",value:function(t,n,e){return(e||n)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}}]),t}()},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(34);e.d(n,"a",function(){return f});var f=function(){function t(n,e,r){var o=this;u()(this,t),this.failed=!1,this.nextSubResultIndex=0,this.tasks=n,this.joiner=r,this.endResult=e,this.pending=n.length,this.subResults=new Array(this.tasks.length),this.innerStream=new c.a(function(t,n,e){o.next=t,o.resolve=n,o.reject=e});var a=!0,s=!1,f=void 0;try{for(var l,h=i()(n);!(a=(l=h.next()).done);a=!0){var d=l.value;this.registerTaskHandler(d)}}catch(t){s=!0,f=t}finally{try{!a&&h.return&&h.return()}finally{if(s)throw f}}}return s()(t,[{key:"subscribe",value:function(t,n,e){return this.innerStream.subscribe(t,n,e),this}},{key:"then",value:function(t,n){return this.innerStream.then(t,n)}},{key:"catch",value:function(t){return this.innerStream.catch(t)}},{key:"registerTaskHandler",value:function(t){var n=this;t.then(function(e){return n._taskCompleted(e,t.definition)},function(t){return n._taskFailed(t)})}},{key:"_taskCompleted",value:function(t,n){if(0===this.pending)throw new Error("Stream already resolved but taskCompleted called one more time");--this.pending,this.tasks[n.taskIndex]=void 0,this.subResults[n.taskIndex]=t,this.failed||(this.next(t,n.taskIndex,n.valuesPerTask),this.nextSubResultIndex===n.taskIndex&&this.joinSubResults(),0===this.pending&&(this.resolve(this.endResult),this.endResult=void 0))}},{key:"joinSubResults",value:function(){for(;this.nextSubResultIndex<this.subResults.length&&"undefined"!=typeof this.subResults[this.nextSubResultIndex];){var t=this.subResults[this.nextSubResultIndex];this.subResults[this.nextSubResultIndex]=void 0,this.endResult=this.joiner.apply(void 0,[this.endResult,t]),++this.nextSubResultIndex}}},{key:"_taskFailed",value:function(t){if(this.failed!==!0){this.failed=!0;for(var n=0;n<this.tasks.length;++n){var e=this.tasks[n];"undefined"!=typeof e&&e.cancel()}this.reject(t)}}}]),t}()},function(t,n,e){"use strict";var r=e(49),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){var e=this;u()(this,t),this.definition=n,this.isCancellationRequested=!1,this.isCanceled=!1,this.promise=new i.a(function(t,n){e.resolvePromise=t,e.rejectPromise=n})}return s()(t,[{key:"resolve",value:function(t){this.isCancellationRequested?this.resolveCancelled():this.resolvePromise(t)}},{key:"resolveCancelled",value:function(){this.isCanceled=!0,this.reject("Task has been canceled")}},{key:"reject",value:function(t){this.rejectPromise(t)}},{key:"then",value:function(t,n){return n?this.promise.then(t,n):this.promise.then(t)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"cancel",value:function(){this.isCancellationRequested=!0}}]),t}()},function(t,n,e){"use strict";function r(t){if(t.hasOwnProperty("name"))return t.name;var n=t.toString();return n.substring(n.indexOf("function")+9,n.indexOf("(")).trim()}n.a=r},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(){i()(this,t),this.data={}}return u()(t,[{key:"get",value:function(t){var n=this.toInternalKey(t);return this.has(t)?this.data[n]:void 0}},{key:"has",value:function(t){return this.hasOwnProperty.call(this.data,this.toInternalKey(t))}},{key:"set",value:function(t,n){this.data[this.toInternalKey(t)]=n}},{key:"clear",value:function(){this.data={}}},{key:"toInternalKey",value:function(t){return"@"+t}}]),t}()},function(t,n,e){t.exports={default:e(134),__esModule:!0}},function(t,n,e){t.exports={default:e(136),__esModule:!0}},function(t,n,e){t.exports={default:e(137),__esModule:!0}},function(t,n,e){t.exports={default:e(138),__esModule:!0}},function(t,n,e){t.exports={default:e(140),__esModule:!0}},function(t,n,e){t.exports={default:e(142),__esModule:!0}},function(t,n,e){t.exports={default:e(143),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(48),o=r(i),u=e(127),a=r(u);n.default=function t(n,e,r){null===n&&(n=Function.prototype);var i=(0,a.default)(n,e);if(void 0===i){var u=(0,o.default)(n);return null===u?void 0:t(u,e,r)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(r)}},function(t,n,e){e(30),e(158),t.exports=e(2).Array.from},function(t,n,e){var r=e(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,n,e){e(159),t.exports=e(2).Object.assign},function(t,n,e){e(160);var r=e(2).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(161);var r=e(2).Object;t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)}},function(t,n,e){e(162);var r=e(2).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(163),t.exports=e(2).Object.getPrototypeOf},function(t,n,e){e(164),t.exports=e(2).Object.setPrototypeOf},function(t,n,e){e(103),e(30),e(41),e(165),t.exports=e(2).Promise},function(t,n,e){e(166),e(103),e(167),e(168),t.exports=e(2).Symbol},function(t,n,e){e(30),e(41),t.exports=e(61).f("iterator")},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){"use strict";var r=e(6),i=e(19);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(21),i=e(55),o=e(37);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,a=e(t),s=o.f,c=0;a.length>c;)s.call(t,u=a[c++])&&n.push(u);return n}},function(t,n,e){var r=e(17),i=e(90),o=e(89),u=e(5),a=e(38),s=e(40),c={},f={},n=t.exports=function(t,n,e,l,h){var d,v,p,y,m=h?function(){return t}:s(t),k=r(e,l,n?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=a(t.length);d>g;g++)if(y=n?k(u(v=t[g])[0],v[1]):k(t[g]),y===c||y===f)return y}else for(p=m.call(t);!(v=p.next()).done;)if(y=i(p,k,v.value,n),y===c||y===f)return y};n.BREAK=c,n.RETURN=f},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(21),i=e(10);t.exports=function(t,n){for(var e,o=i(t),u=r(o),a=u.length,s=0;a>s;)if(o[e=u[s++]]===n)return e}},function(t,n,e){var r=e(23)("meta"),i=e(14),o=e(11),u=e(6).f,a=0,s=Object.isExtensible||function(){return!0},c=!e(15)(function(){return s(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},h=function(t,n){if(!o(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return c&&v.NEED&&s(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:d}},function(t,n,e){var r=e(4),i=e(98).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,s="process"==e(18)(u);t.exports=function(){var t,n,e,c=function(){var r,i;for(s&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(s)e=function(){u.nextTick(c)};else if(o){var f=!0,l=document.createTextNode("");new o(c).observe(l,{characterData:!0}),e=function(){l.data=f=!f}}else if(a&&a.resolve){var h=a.resolve();e=function(){h.then(c)}}else e=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){"use strict";var r=e(21),i=e(55),o=e(37),u=e(29),a=e(53),s=Object.assign;t.exports=!s||e(15)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r})?function(t,n){for(var e=u(t),s=arguments.length,c=1,f=i.f,l=o.f;s>c;)for(var h,d=a(arguments[c++]),v=f?r(d).concat(f(d)):r(d),p=v.length,y=0;p>y;)l.call(d,h=v[y++])&&(e[h]=d[h]);return e}:s},function(t,n,e){var r=e(9);t.exports=function(t,n,e){for(var i in n)e&&t[i]?t[i]=n[i]:r(t,i,n[i]);return t}},function(t,n,e){var r=e(14),i=e(5),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(17)(Function.call,e(54).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n,e){"use strict";var r=e(4),i=e(2),o=e(6),u=e(7),a=e(3)("species");t.exports=function(t){var n="function"==typeof i[t]?i[t]:r[t];u&&n&&!n[a]&&o.f(n,a,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(5),i=e(35),o=e(3)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[o])?n:i(e)}},function(t,n,e){"use strict";var r=e(17),i=e(8),o=e(29),u=e(90),a=e(89),s=e(38),c=e(145),f=e(40);i(i.S+i.F*!e(92)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),d="function"==typeof this?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,y=void 0!==p,m=0,k=f(h);if(y&&(p=r(p,v>2?arguments[2]:void 0,2)),void 0==k||d==Array&&a(k))for(n=s(h.length),e=new d(n);n>m;m++)c(e,m,y?p(h[m],m):h[m]);else for(l=k.call(h),e=new d;!(i=l.next()).done;m++)c(e,m,y?u(l,p,[i.value,m],!0):i.value);return e.length=m,e}})},function(t,n,e){var r=e(8);r(r.S+r.F,"Object",{assign:e(153)})},function(t,n,e){var r=e(8);r(r.S,"Object",{create:e(36)})},function(t,n,e){var r=e(10),i=e(54).f;e(58)("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})},function(t,n,e){e(58)("getOwnPropertyNames",function(){return e(95).f})},function(t,n,e){var r=e(29),i=e(56);e(58)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,n,e){var r=e(8);r(r.S,"Object",{setPrototypeOf:e(155).set})},function(t,n,e){"use strict";var r,i,o,u=e(26),a=e(4),s=e(17),c=e(50),f=e(8),l=e(14),h=e(35),d=e(144),v=e(147),p=e(157),y=e(98).set,m=e(152)(),k="Promise",g=a.TypeError,b=a.process,_=a[k],b=a.process,w="process"==c(b),x=function(){},O=!!function(){try{var t=_.resolve(1),n=(t.constructor={})[e(3)("species")]=function(t){t(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof n}catch(t){}}(),P=function(t,n){return t===n||t===_&&n===o},S=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},I=function(t){return P(_,t)?new T(t):new i(t)},T=i=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw g("Bad Promise constructor");n=t,e=r}),this.resolve=h(n),this.reject=h(e)},E=function(t){try{t()}catch(t){return{error:t}}},j=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u=i?n.ok:n.fail,a=n.resolve,s=n.reject,c=n.domain;try{u?(i||(2==t._h&&R(t),t._h=1),u===!0?e=r:(c&&c.enter(),e=u(r),c&&c.exit()),e===n.promise?s(g("Promise-chain cycle")):(o=S(e))?o.call(e,a,s):a(e)):s(r)}catch(t){s(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&M(t)})}},M=function(t){y.call(a,function(){var n,e,r,i=t._v;if(F(t)&&(n=E(function(){w?b.emit("unhandledRejection",i,t):(e=a.onunhandledrejection)?e({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=w||F(t)?2:1),t._a=void 0,n)throw n.error})},F=function(t){if(1==t._h)return!1;for(var n,e=t._a||t._c,r=0;e.length>r;)if(n=e[r++],n.fail||!F(n.promise))return!1;return!0},R=function(t){y.call(a,function(){var n;w?b.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),j(n,!0))},A=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw g("Promise can't be resolved itself");(n=S(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(A,r,1),s(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,j(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};O||(_=function(t){d(this,_,k,"_h"),h(t),r.call(this);try{t(s(A,this,1),s(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(154)(_.prototype,{then:function(t,n){var e=I(p(this,_));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=w?b.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&j(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),T=function(){var t=new r;this.promise=t,this.resolve=s(A,t,1),this.reject=s(C,t,1)}),f(f.G+f.W+f.F*!O,{Promise:_}),e(22)(_,k),e(156)(k),o=e(2)[k],f(f.S+f.F*!O,k,{reject:function(t){var n=I(this),e=n.reject;return e(t),n.promise}}),f(f.S+f.F*(u||!O),k,{resolve:function(t){if(t instanceof _&&P(t.constructor,this))return t;var n=I(this),e=n.resolve;return e(t),n.promise}}),f(f.S+f.F*!(O&&e(92)(function(t){_.all(t).catch(x)})),k,{all:function(t){var n=this,e=I(n),r=e.resolve,i=e.reject,o=E(function(){var e=[],o=0,u=1;v(t,!1,function(t){var a=o++,s=!1;e.push(void 0),u++,n.resolve(t).then(function(t){s||(s=!0,e[a]=t,--u||r(e))},i)}),--u||r(e)});return o&&i(o.error),e.promise},race:function(t){var n=this,e=I(n),r=e.reject,i=E(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i&&r(i.error),e.promise}})},function(t,n,e){"use strict";var r=e(4),i=e(11),o=e(7),u=e(8),a=e(59),s=e(151).KEY,c=e(15),f=e(33),l=e(22),h=e(23),d=e(3),v=e(61),p=e(60),y=e(150),m=e(146),k=e(149),g=e(5),b=e(10),_=e(39),w=e(19),x=e(36),O=e(95),P=e(54),S=e(6),I=e(21),T=P.f,E=S.f,j=O.f,M=r.Symbol,F=r.JSON,R=F&&F.stringify,C="prototype",A=d("_hidden"),z=d("toPrimitive"),L={}.propertyIsEnumerable,W=f("symbol-registry"),D=f("symbols"),N=f("op-symbols"),U=Object[C],J="function"==typeof M,q=r.QObject,V=!q||!q[C]||!q[C].findChild,B=o&&c(function(){return 7!=x(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=T(U,n);r&&delete U[n],E(t,n,e),r&&t!==U&&E(U,n,r)}:E,K=function(t){var n=D[t]=x(M[C]);return n._k=t,n},G=J&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},H=function(t,n,e){return t===U&&H(N,n,e),g(t),n=_(n,!0),g(e),i(D,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=x(e,{enumerable:w(0,!1)})):(i(t,A)||E(t,A,w(1,{})),t[A][n]=!0),B(t,n,e)):E(t,n,e)},Y=function(t,n){g(t);for(var e,r=m(n=b(n)),i=0,o=r.length;o>i;)H(t,e=r[i++],n[e]);return t},X=function(t,n){return void 0===n?x(t):Y(x(t),n)},Q=function(t){var n=L.call(this,t=_(t,!0));return!(this===U&&i(D,t)&&!i(N,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,A)&&this[A][t])||n)},Z=function(t,n){if(t=b(t),n=_(n,!0),t!==U||!i(D,n)||i(N,n)){var e=T(t,n);return!e||!i(D,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e}},$=function(t){for(var n,e=j(b(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==A||n==s||r.push(n);return r},tt=function(t){for(var n,e=t===U,r=j(e?N:b(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(U,n)||o.push(D[n]);return o};J||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(N,e),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),B(this,t,w(1,e))};return o&&V&&B(U,t,{configurable:!0,set:n}),K(t)},a(M[C],"toString",function(){return this._k}),P.f=Z,S.f=H,e(96).f=O.f=$,e(37).f=Q,e(55).f=tt,o&&!e(26)&&a(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return K(d(t))}),u(u.G+u.W+u.F*!J,{Symbol:M});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)d(nt[et++]);for(var nt=I(d.store),et=0;nt.length>et;)p(nt[et++]);u(u.S+u.F*!J,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=M(t)},keyFor:function(t){if(G(t))return y(W,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),u(u.S+u.F*!J,"Object",{create:X,defineProperty:H,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:tt}),F&&u(u.S+u.F*(!J||c(function(){var t=M();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return n=r[1],"function"==typeof n&&(e=n),!e&&k(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!G(n))return n}),r[1]=n,R.apply(F,r)}}}),M[C][z]||e(9)(M[C],z,M[C].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(60)("asyncIterator")},function(t,n,e){e(60)("observable")},function(t,n,e){t.exports=function(){return new Worker(e.p+"worker-slave.parallel.js")}}]))});
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["parallel-es"]=n():t["parallel-es"]=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=109)}(function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))switch(typeof t[n]){case"function":break;case"object":t[n]=function(n){var e=n.slice(1),r=t[n[0]];return function(t,n,i){r.apply(this,[t,n,i].concat(e))}}(t[n]);break;default:t[n]=t[t[n]]}return t}([function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(77),o=r(i);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(32)("wks"),i=e(22),o=e(4).Symbol,u="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))};a.store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(14);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(5),i=e(51),o=e(38),u=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(6),i=e(19);t.exports=e(7)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(87),i=e(24);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(4),i=e(2),o=e(16),u=e(8),a="prototype",s=function(t,n,e){var c,f,l,h=t&s.F,d=t&s.G,v=t&s.S,p=t&s.P,y=t&s.B,m=t&s.W,k=d?i:i[n]||(i[n]={}),g=k[a],b=d?r:v?r[n]:(r[n]||{})[a];d&&(e=n);for(c in e)f=!h&&b&&void 0!==b[c],f&&c in k||(l=f?b[c]:e[c],k[c]=d&&"function"!=typeof b[c]?e[c]:y&&f?o(l,r):m&&b[c]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[a]=t[a],n}(l):p&&"function"==typeof l?o(Function.call,l):l,p&&((k.virtual||(k.virtual={}))[c]=l,t&s.R&&g&&!g[c]&&u(g,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n,e){i()(this,t),this.func=n,this.params=e}return u()(t,null,[{key:"create",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}},{key:"createUnchecked",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(n,r)}}]),t}()},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n,e){var r=e(34);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";function r(t,n){return{_______isFunctionId:!0,identifier:t+"-"+n}}function i(t){return!!t&&t._______isFunctionId===!0}n.a=r,n.b=i},function(t,n,e){var r=e(6).f,i=e(11),o=e(3)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";var r=e(20);e.d(n,"a",function(){return i});var i={FILTER:e.i(r.a)("parallel",0),IDENTITY:e.i(r.a)("parallel",1),MAP:e.i(r.a)("parallel",2),PARALLEL_JOB_EXECUTOR:e.i(r.a)("parallel",3),RANGE:e.i(r.a)("parallel",4),REDUCE:e.i(r.a)("parallel",5),TIMES:e.i(r.a)("parallel",6),TO_ITERATOR:e.i(r.a)("parallel",7)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports=!0},function(t,n,e){var r=e(54),i=e(31);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(32)("keys"),i=e(22);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";var r=e(97)(!0);e(42)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(14),i=e(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(4),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(48),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(121),h=e(120);e.d(n,"a",function(){return d});var d=function(){function t(n){var e=this;s()(this,t),this.nextHandlers=[];var r=function(t,n,r){return e._next(t,n,r)},i=function(t){return e.reject(t)},o=function(t){return e.resolve(t)};n(r,o,i),this.promise=new u.a(function(t,n){e.resolve=t,e.reject=n})}return f()(t,[{key:"subscribe",value:function(t,n,e){return this.nextHandlers.push(t),(n||e)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"_next",value:function(t,n,e){var r=!0,o=!1,u=void 0;try{for(var a,s=i()(this.nextHandlers);!(r=(a=s.next()).done);r=!0){var c=a.value;c.apply(void 0,arguments)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}}}],[{key:"transform",value:function(n,e){var r=void 0,i=void 0,o=void 0,u=new t(function(t,n,e){r=t,i=n,o=e});return n.subscribe(r,o,function(t){return i(e(t))}),u}},{key:"fromTasks",value:function(t,n,e){return 0===t.length?new h.a(n):new l.a(t,n,e)}}]),t}()},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(5),i=e(93),o=e(31),u=e(27)("IE_PROTO"),a=function(){},s="prototype",c=function(){var t,n=e(30)("iframe"),r=o.length,i="<",u=">";for(n.style.display="none",e(50).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+u+"document.F=Object"+i+"/script"+u),t.close(),c=t.F;r--;)delete c[s][o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[s]=r(t),e=new a,a[s]=null,e[u]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(28),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(24);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(14);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(49),i=e(3)("iterator"),o=e(15);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){e(101);for(var r=e(4),i=e(8),o=e(15),u=e(3)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],s=0;s<5;s++){var c=a[s],f=r[c],l=f&&f.prototype;l&&!l[u]&&i(l,u,c),o[c]=o.Array}},function(t,n,e){"use strict";var r=e(68),i=(e.n(r),e(62)),o=(e.n(i),e(65)),u=(e.n(o),e(66)),a=(e.n(u),e(45)),s=e(69),c=(e.n(s),e(67)),f=(e.n(c),e(70));e.n(f);e.o(r,"IParallel")&&e.d(n,"a",function(){return r.IParallel}),e.o(i,"IParallelChain")&&e.d(n,"b",function(){return i.IParallelChain}),e.o(o,"IParallelTaskEnvironment")&&e.d(n,"c",function(){return o.IParallelTaskEnvironment}),e.o(o,"IParallelEnvironment")&&e.d(n,"d",function(){return o.IParallelEnvironment}),e.o(u,"IParallelJob")&&e.d(n,"e",function(){return u.IParallelJob}),e.d(n,"f",function(){return a.IParallelOptions}),e.d(n,"g",function(){return a.IDefaultInitializedParallelOptions}),e.o(s,"IParallelJobScheduler")&&e.d(n,"h",function(){return s.IParallelJobScheduler}),e.o(c,"IParallelOperation")&&e.d(n,"i",function(){return c.IParallelOperation}),e.o(c,"ISerializedParallelOperation")&&e.d(n,"j",function(){return c.ISerializedParallelOperation}),e.o(f,"IParallelStream")&&e.d(n,"k",function(){return f.IParallelStream})},function(t,n,e){"use strict";var r=e(25),i=e(10),o=e(57),u=e(8),a=e(11),s=e(15),c=e(90),f=e(21),l=e(53),h=e(3)("iterator"),d=!([].keys&&"next"in[].keys()),v="@@iterator",p="keys",y="values",m=function(){return this};t.exports=function(t,n,e,k,g,b,_){c(e,n,k);var w,x,O,P=function(t){if(!d&&t in E)return E[t];switch(t){case p:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",I=g==y,T=!1,E=t.prototype,j=E[h]||E[v]||g&&E[g],M=j||P(g),F=g?I?P("entries"):M:void 0,R="Array"==n?E.entries||j:j;if(R&&(O=l(R.call(new t)),O!==Object.prototype&&(f(O,S,!0),r||a(O,h)||u(O,h,m))),I&&j&&j.name!==y&&(T=!0,M=function(){return j.call(this)}),r&&!_||!d&&!T&&E[h]||u(E,h,M),s[n]=M,s[S]=m,g)if(w={values:I?M:P(y),keys:b?M:P(p),entries:F},_)for(x in w)x in E||o(E,x,w[x]);else i(i.P+i.F*(d||T),n,w);return w}},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(n){i()(this,t),this.functionRegistry=n}return u()(t,[{key:"serializeFunctionCall",value:function(t){var n=this.functionRegistry.getOrSetId(t.func);return{______serializedFunctionCall:!0,functionId:n,parameters:t.params}}}]),t}()},function(t,n,e){"use strict";function r(t){return!!t&&t.______serializedFunctionCall===!0}n.a=r},function(t,n,e){"use strict";function r(t){var n=!0,e=!1,r=void 0;try{for(var i,a=o()(u);!(n=(i=a.next()).done);n=!0){var s=i.value,c=t[s];if("undefined"!=typeof c&&("number"!=typeof c||c<=0||c%1!==0))throw new Error("Illegal parallel options: "+s+" ("+c+") has to be an integer greater than zero")}}catch(t){e=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(e)throw r}}if("undefined"!=typeof t.minValuesPerTask&&"undefined"!=typeof t.maxValuesPerTask&&t.minValuesPerTask>t.maxValuesPerTask)throw new Error("Illegal parallel options: minValuesPerTask ("+t.minValuesPerTask+") must be equal or less than maxValuesPerTask ("+t.maxValuesPerTask+").")}var i=e(13),o=e.n(i);n.a=r;var u=["maxValuesPerTask","minValuesPerTask","maxDegreeOfParallelism"]},function(t,n,e){"use strict";function r(t){if(0===t.length)return[];var n=u()(t),e=n[0],r=n.slice(1);return Array.prototype.concat.apply(e,r)}function i(t,n){var e=t.length;t.length+=n.length;for(var r=0;r<n.length;++r)t[e+r]=n[r];return t}var o=e(80),u=e.n(o),a=e(13);e.n(a);n.b=r,n.a=i},function(t,n,e){t.exports={default:e(138),__esModule:!0}},function(t,n,e){t.exports={default:e(140),__esModule:!0}},function(t,n,e){var r=e(17),i=e(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){t.exports=e(4).document&&document.documentElement},function(t,n,e){t.exports=!e(7)&&!e(18)(function(){return 7!=Object.defineProperty(e(30)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(55),i=e(19),o=e(9),u=e(38),a=e(11),s=e(51),c=Object.getOwnPropertyDescriptor;n.f=e(7)?c:function(t,n){if(t=o(t),n=u(n,!0),s)try{return c(t,n)}catch(t){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(11),i=e(37),o=e(27)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(11),i=e(9),o=e(86)(!1),u=e(27)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),s=0,c=[];for(e in a)e!=u&&r(a,e)&&c.push(e);for(;n.length>s;)r(a,e=n[s++])&&(~o(c,e)||c.push(e));return c}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(10),i=e(2),o=e(18);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},function(t,n,e){t.exports=e(8)},function(t,n,e){var r=e(4),i=e(2),o=e(25),u=e(59),a=e(6).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(3)},function(t,n,e){"use strict";var r=e(41),i=e(71),o=(e.n(i),e(72)),u=(e.n(o),e(61)),a=(e.n(u),e(20)),s=e(12),c=e(44),f=e(43),l=e(73),h=(e.n(l),e(41));e.d(n,"a",function(){return r.a}),e.o(i,"ITaskDefinition")&&e.d(n,"b",function(){return i.ITaskDefinition}),e.o(o,"ITask")&&e.d(n,"c",function(){return o.ITask}),e.o(u,"IFunctionDefinition")&&e.d(n,"d",function(){return u.IFunctionDefinition}),e.d(n,"e",function(){return a.IFunctionId}),e.d(n,"f",function(){return a.b}),e.d(n,"g",function(){return s.a}),e.d(n,"h",function(){return c.ISerializedFunctionCall}),e.d(n,"i",function(){return c.a}),e.d(n,"j",function(){return f.a}),e.o(l,"IThreadPool")&&e.d(n,"k",function(){return l.IThreadPool}),e.d(n,"l",function(){return h.b}),e.d(n,"m",function(){return h.c}),e.d(n,"n",function(){return h.d}),e.d(n,"o",function(){return h.e}),e.d(n,"p",function(){return h.f}),e.d(n,"q",function(){return h.g}),e.d(n,"r",function(){return h.h}),e.d(n,"s",function(){return h.i}),e.d(n,"t",function(){return h.j}),e.d(n,"u",function(){return h.k})},function(t,n){},function(t,n){},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(112);e.d(n,"a",function(){return s});var s=function(){function t(n,e,r){i()(this,t),this.options=e,this.environment=r,this.stream=n}return u()(t,[{key:"resolve",value:function(){return this}},{key:"chainOperation",value:function(t){return new a.a(this.stream,this.options,this.environment,[t])}},{key:"addEnvironment",value:function(t){return new a.a(this.stream,this.options,this.environment.add(t))}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(23),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n){i()(this,t),this.collection=n}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*t,i=r+n;return e.serializeFunctionCall(s.a.createUnchecked(a.a.TO_ITERATOR,this.collection.slice(r,i)))}},{key:"length",get:function(){return this.collection.length}}]),t}()},62,62,function(t,n){},62,62,62,61,61,62,function(t,n,e){"use strict";function r(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(null==t)throw new TypeError("Cannot convert undefined or null to object");t=Object(t);for(var i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o)for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(t[u]=o[u])}return t}n.a=r},function(t,n,e){"use strict";function r(t){return{type:d.InitializeWorker,workerId:t}}function i(t){return{task:t,type:d.ScheduleTask}}function o(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return{functions:t,missingFunctions:e,type:d.FunctionResponse}}function u(){return{type:d.Stop}}function a(t){return t.type===d.FunctionRequest}function s(t){return t.type===d.WorkerResult}function c(t){return t.type===d.FunctionExecutionError}var f=e(125),l=(e.n(f),e(128)),h=(e.n(l),e(13));e.n(h);n.e=r,n.f=i,n.d=o,n.g=u,n.a=a,n.b=s,n.c=c;var d;!function(t){t[t.InitializeWorker=0]="InitializeWorker",t[t.ScheduleTask=1]="ScheduleTask",t[t.FunctionRequest=2]="FunctionRequest",t[t.FunctionResponse=3]="FunctionResponse",t[t.WorkerResult=4]="WorkerResult",t[t.FunctionExecutionError=5]="FunctionExecutionError",t[t.Stop=6]="Stop"}(d||(d={}))},function(t,n,e){t.exports={default:e(133),__esModule:!0}},function(t,n,e){t.exports={default:e(84),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(129),o=r(i),u=e(126),a=r(u),s=e(82),c=r(s);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof n?"undefined":(0,c.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(o.default?(0,o.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(82),o=r(i);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==("undefined"==typeof n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(76),o=r(i);n.default=function(t){return Array.isArray(t)?t:(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(76),o=r(i);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,o.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(131),o=r(i),u=e(130),a=r(u),s="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===s(o.default)?function(t){return"undefined"==typeof t?"undefined":s(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":s(t)}},function(t,n,e){e(40),e(29),t.exports=e(100)},function(t,n,e){e(102);var r=e(2).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(9),i=e(36),o=e(99);t.exports=function(t){return function(n,e,u){var a,s=r(n),c=i(s.length),f=o(u,c);if(t&&e!=e){for(;c>f;)if(a=s[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(17);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(15),i=e(3)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){var r=e(5);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){"use strict";var r=e(35),i=e(19),o=e(21),u={};e(8)(u,e(3)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(3)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(6),i=e(5),o=e(26);t.exports=e(7)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(n),a=u.length,s=0;a>s;)r.f(t,e=u[s++],n[e]);return t}},function(t,n,e){var r=e(9),i=e(95).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,n,e){var r=e(54),i=e(31).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(28),i=e(24);t.exports=function(t){return function(n,e){var o,u,a=String(i(n)),s=r(e),c=a.length;return s<0||s>=c?t?"":void 0:(o=a.charCodeAt(s),o<55296||o>56319||s+1===c||(u=a.charCodeAt(s+1))<56320||u>57343?t?a.charAt(s):o:t?a.slice(s,s+2):(o-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r,i,o,u=e(16),a=e(147),s=e(50),c=e(30),f=e(4),l=f.process,h=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,p=0,y={},m="onreadystatechange",k=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},g=function(t){k.call(t.data)};h&&d||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++p]=function(){a("function"==typeof t?t:Function(t),n)},r(p),p},d=function(t){delete y[t]},"process"==e(17)(l)?r=function(t){l.nextTick(u(k,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=g,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r=m in c("script")?function(t){s.appendChild(c("script"))[m]=function(){s.removeChild(this),k.call(t)}}:function(t){setTimeout(u(k,t,1),0)}),t.exports={set:h,clear:d}},function(t,n,e){var r=e(28),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(5),i=e(39);t.exports=e(2).getIterator=function(t){var n=i(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return r(n.call(t))}},function(t,n,e){"use strict";var r=e(85),i=e(92),o=e(15),u=e(9);t.exports=e(42)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,e):"values"==n?i(0,t[e]):i(0,[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(10);r(r.S+r.F*!e(7),"Object",{defineProperty:e(6).f})},67,function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(111);e.d(n,"a",function(){return c});var s=e(166),c=function(){function t(n){i()(this,t),this.functionLookupTable=n}return u()(t,[{key:"spawn",value:function(){if(!window.Worker)throw new Error("Missing Web Worker support");var t=new s,n=new a.a(t,this.functionLookupTable);return n.initialize(),n}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(124),s=e(20),c=e(123);e.d(n,"a",function(){return f});var f=function(){function t(){i()(this,t),this.ids=new a.a,this.definitions=new a.a,this.lastId=0}return u()(t,[{key:"getOrSetId",value:function(t){if(e.i(s.b)(t))return t;var n=t.toString(),r=this.ids.get(n);return"undefined"==typeof r&&(r=e.i(s.a)("dynamic",++this.lastId),this.initDefinition(t,r)),r}},{key:"getDefinition",value:function(t){return this.definitions.get(t.identifier)}},{key:"initDefinition",value:function(t,n){var r=t.toString(),i=e.i(c.a)(t),o=r.substring(r.indexOf("(")+1,r.indexOf(")")).split(","),u=r.substring(r.indexOf("{")+1,r.lastIndexOf("}")).trim(),a={argumentNames:o.map(function(t){return t.trim()}),body:u,id:n,name:i?i:void 0};this.ids.set(r,n),this.definitions.set(n.identifier,a)}}]),t}()},function(t,n,e){"use strict";function r(t){function n(n){if(n){if(n.hasOwnProperty("threadPool")&&"undefined"==typeof n.threadPool)throw new Error("The thread pool is mandatory and cannot be unset");if(n.hasOwnProperty("functionCallSerializer")&&"undefined"==typeof n.functionCallSerializer)throw new Error("The function call serializer is mandatory and cannot be unset");e.i(i.a)(n)}return e.i(l.a)({},t,n)}return{defaultOptions:function(r){return r?void(t=n(r)):e.i(l.a)({},t)},from:function(t,r){return e.i(s.a)(new o.a(t),n(r))},range:function(t,r,i,o){var a=u.a.create(t,r,i);return e.i(s.a)(a,n(o))},times:function(t,r,i,o){return i?e.i(s.a)(a.a.create(t,r),n(o),i):e.i(s.a)(a.a.create(t,r),n(o))},run:function(n){for(var r=void 0,i=arguments.length,o=Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];r=e.i(c.b)(n)?f.a.create(n,o):f.a.create(n,o);var a=t.functionCallSerializer.serializeFunctionCall(r),s={main:a,usedFunctionIds:[a.functionId]};return t.threadPool.run(s)}}}var i=e(45),o=e(64),u=e(116),a=e(117),s=e(113),c=e(20),f=e(12),l=e(74);e.d(n,"a",function(){return r})},function(t,n,e){"use strict";var r=e(47),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(79),f=e.n(c),l=e(78),h=e.n(l),d=e(119);e.d(n,"a",function(){return v});var v=function(t){function n(){return u()(this,n),f()(this,(n.__proto__||i()(n)).apply(this,arguments))}return h()(n,t),s()(n,[{key:"getScheduling",value:function(t,n){var e=void 0;e=n.maxDegreeOfParallelism?n.maxDegreeOfParallelism:4*n.threadPool.maxThreads;var r=t/e;return n.minValuesPerTask&&(r=Math.min(Math.max(r,n.minValuesPerTask),t)),n.maxValuesPerTask&&(r=Math.min(r,n.maxValuesPerTask)),{numberOfTasks:0===r?0:Math.round(t/r),valuesPerTask:Math.ceil(r)}}}]),n}(d.a)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(122);e.d(n,"a",function(){return s});var s=function(){function t(n,e){i()(this,t),this.workerThreadFactory=n,this.workers=[],this.idleWorkers=[],this.queue=[],this.maxThreadsLimit=e.maxConcurrencyLevel}return u()(t,[{key:"run",value:function(t){var n=new a.a(t);return this.queue.unshift(n),this.schedulePendingTasks(),n}},{key:"schedulePendingTasks",value:function(){for(;this.queue.length;){var t=void 0;if(0===this.idleWorkers.length&&this.workers.length<this.maxThreadsLimit?(t=this.workerThreadFactory.spawn(),this.workers.push(t)):this.idleWorkers.length>0&&(t=this.idleWorkers.pop()),!t)return;var n=this.queue.pop();this.runTaskOnWorker(n,t)}}},{key:"runTaskOnWorker",value:function(t,n){var e=this;t.isCancellationRequested?(t.resolveCancelled(),this.releaseWorker(n)):n.run(t.definition,function(r,i){r?t.reject(r):t.resolve(i),e.releaseWorker(n)})}},{key:"releaseWorker",value:function(t){this.idleWorkers.push(t),this.schedulePendingTasks()}},{key:"maxThreads",get:function(){return this.maxThreadsLimit},set:function(t){if("number"!=typeof t||t%1!==0||t<=0)throw new Error("The maxThreads limit ("+t+") has to be a positive integer larger than zero.");this.maxThreadsLimit=t}}]),t}()},function(t,n,e){"use strict";var r=e(106),i=e(108),o=e(107),u=e(105),a=e(43),s=e(104),c=e(60);e.d(n,"IParallel",function(){return c.a}),e.d(n,"ITaskDefinition",function(){return c.b}),e.d(n,"ITask",function(){return c.c}),e.d(n,"IFunctionDefinition",function(){return c.d}),e.d(n,"IFunctionId",function(){return c.e}),e.d(n,"isFunctionId",function(){return c.f}),e.d(n,"FunctionCall",function(){return c.g}),e.d(n,"ISerializedFunctionCall",function(){return c.h}),e.d(n,"isSerializedFunctionCall",function(){return c.i}),e.d(n,"FunctionCallSerializer",function(){return c.j}),e.d(n,"IThreadPool",function(){return c.k}),e.d(n,"IParallelChain",function(){return c.l}),e.d(n,"IParallelTaskEnvironment",function(){return c.m}),e.d(n,"IParallelEnvironment",function(){return c.n}),e.d(n,"IParallelJob",function(){return c.o}),e.d(n,"IParallelOptions",function(){return c.p}),e.d(n,"IDefaultInitializedParallelOptions",function(){return c.q}),e.d(n,"IParallelJobScheduler",function(){return c.r}),e.d(n,"IParallelOperation",function(){return c.s}),e.d(n,"ISerializedParallelOperation",function(){return c.t}),e.d(n,"IParallelStream",function(){return c.u});var f=new u.a,l=window.navigator.hardwareConcurrency||4,h=new a.a(f),d=new i.a(new s.a(f),{maxConcurrencyLevel:l}),v=e.i(r.a)({functionCallSerializer:h,scheduler:new o.a,threadPool:d});n.default=v},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(47),u=e.n(o),a=e(79),s=e.n(a),c=e(132),f=e.n(c),l=e(78),h=e.n(l),d=e(0),v=e.n(d),p=e(1),y=e.n(p),m=e(75);e.d(n,"a",function(){return k}),e.d(n,"b",function(){return g});var k=function(){function t(n){v()(this,t),this.name=n}return y()(t,[{key:"onMessage",value:function(t){throw new Error("Browser worker thread in state '"+this.name+"' cannot handle the received message ("+t.data.type+").")}},{key:"onError",value:function(t){console.error("Processing error on worker slave",t.error)}}]),t}(),g=function(t){function n(t,e,r){v()(this,n);var i=s()(this,(n.__proto__||u()(n)).call(this,"executing"));return i.callback=t,i.functionRegistry=e,i.worker=r,i}return h()(n,t),y()(n,[{key:"onMessage",value:function(t){var r=t.data;e.i(m.a)(r)?this.handleFunctionRequest(r):e.i(m.b)(r)?this.callback(void 0,r.result):e.i(m.c)(r)?this.callback(r.error,void 0):f()(n.prototype.__proto__||u()(n.prototype),"onMessage",this).call(this,t)}},{key:"onError",value:function(t){this.callback(t.error,void 0)}},{key:"handleFunctionRequest",value:function(t){var n=[],e=[],r=!0,o=!1,u=void 0;try{for(var a,s=i()(t.functionIds);!(r=(a=s.next()).done);r=!0){var c=a.value,f=this.functionRegistry.getDefinition(c);f?e.push(f):n.push(c)}}catch(t){o=!0,u=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw u}}this.worker.postMessage(m.d.apply(void 0,[e].concat(n)))}}]),n}(k)},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(75),s=e(110);e.d(n,"a",function(){return f});var c=0,f=function(){function t(n,e){i()(this,t),this.worker=n,this.functionLookupTable=e,this.id=++c,this.state=new s.a("default"),this.stopped=!1;var r=this;this.worker.addEventListener("message",function(){r.onWorkerMessage.apply(r,arguments)}),this.worker.addEventListener("error",function(){r.onError.apply(r,arguments)})}return u()(t,[{key:"initialize",value:function(){if("default"!==this.state.name)throw new Error("The browser worker thread can only be initialized if in state default but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.e)(this.id)),this.state=new s.a("idle")}},{key:"run",value:function(t,n){var r=this;if("idle"!==this.state.name)throw new Error("The browser worker thread can only execute a new task if in state idle but actual state is '"+this.state.name+"'.");this.sendMessage(e.i(a.f)(t));var i=function(t,e){r.stopped?r.state=new s.a("stopped"):r.state=new s.a("idle"),n(t,e)};this.state=new s.b(i,this.functionLookupTable,this.worker)}},{key:"stop",value:function(){this.stopped||(this.sendMessage(e.i(a.g)()),this.stopped=!0,"executing"!==this.state.name&&(this.state=new s.a("stopped")))}},{key:"toString",value:function(){return"BrowserWorkerThread { id: "+this.id+", state: "+this.state.name}},{key:"onWorkerMessage",value:function(t){this.state.onMessage(t)}},{key:"onError",value:function(t){this.state.onError(t),this.state=new s.a("errored")}},{key:"sendMessage",value:function(t){this.worker.postMessage(t)}}]),t}()},function(t,n,e){"use strict";var r=e(81),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(63),f=e(64),l=e(46),h=e(33);
e.d(n,"a",function(){return d});var d=function(){function t(n,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];u()(this,t),this.previousStream=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{key:"resolve",value:function t(){var n=this,e=void 0,t=void 0,r=void 0,i=new h.a(function(n,i,o){e=n,t=i,r=o});return this.previousStream.then(function(i){var o=n.options.scheduler.schedule({environment:n.environment,generator:new f.a(i),operations:n.operations,options:n.options}),u=h.a.fromTasks(o,[],l.a);u.subscribe(e,r,t)},r),new c.a(i,this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.previousStream,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.previousStream,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";function r(t,n,e){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=void 0;e instanceof Array?(a=void 0,r=e):a=e;var s=new o.a(new i.a(t,n,u.a.of(),r));return a?s.inEnvironment(a):s}var i=e(115),o=e(114),u=e(118);n.a=r},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(80),u=e.n(o),a=e(0),s=e.n(a),c=e(1),f=e.n(c),l=e(23),h=e(12),d=e(33);e.d(n,"a",function(){return v});var v=function(){function t(n){s()(this,t),this.state=n}return f()(t,[{key:"inEnvironment",value:function(n){var e=void 0;if("function"==typeof n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];e=h.a.createUnchecked.apply(h.a,[n].concat(i))}else e=n;return new t(this.state.addEnvironment(e))}},{key:"map",value:function(t){return this._chain(h.a.createUnchecked(l.a.MAP),h.a.createUnchecked(t))}},{key:"reduce",value:function(t,n,e){var r=e||n,o=this._chain(h.a.createUnchecked(l.a.REDUCE,t),h.a.createUnchecked(n)).resolveChain();return d.a.transform(o,function(n){if(0===n.length)return t;var e=u()(n),o=e[0],a=e.slice(1),s=o,c=!0,f=!1,l=void 0;try{for(var h,d=i()(a);!(c=(h=d.next()).done);c=!0){var v=h.value;s=r(s,v)}}catch(t){f=!0,l=t}finally{try{!c&&d.return&&d.return()}finally{if(f)throw l}}return s})}},{key:"filter",value:function(t){return this._chain(h.a.createUnchecked(l.a.FILTER),h.a.createUnchecked(t))}},{key:"subscribe",value:function(t,n,e){return this.resolveChain().subscribe(t,n,e)}},{key:"then",value:function(t,n){return this.resolveChain().then(t,n)}},{key:"catch",value:function(t){return this.resolveChain().catch(t)}},{key:"resolveChain",value:function(){var t=this.state=this.state.resolve();return t.stream}},{key:"_chain",value:function(n,e){var r={iterator:n,iteratee:e};return new t(this.state.chainOperation(r))}}]),t}()},function(t,n,e){"use strict";var r=e(81),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(63),f=e(33),l=e(46);e.d(n,"a",function(){return h});var h=function(){function t(n,e,r,i){u()(this,t),this.generator=n,this.options=e,this.environment=r,this.operations=i}return s()(t,[{key:"resolve",value:function(){var t=this.options.scheduler.schedule({environment:this.environment,generator:this.generator,operations:this.operations,options:this.options});return new c.a(f.a.fromTasks(t,[],l.a),this.options,this.environment)}},{key:"chainOperation",value:function(n){return new t(this.generator,this.options,this.environment,[].concat(i()(this.operations),[n]))}},{key:"addEnvironment",value:function(n){return new t(this.generator,this.options,this.environment.add(n),this.operations)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(23),s=e(12);e.d(n,"a",function(){return c});var c=function(){function t(n,e,r){i()(this,t),this.start=n,this.end=e,this.step=r}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=n*this.step,i=this.start+t*r,o=Math.min(i+r,this.end);return e.serializeFunctionCall(s.a.createUnchecked(a.a.RANGE,i,o,this.step))}},{key:"length",get:function(){return Math.ceil((this.end-this.start)/this.step)}}],[{key:"create",value:function(n,e,r){if("undefined"==typeof e&&(e=n,n=0),"undefined"==typeof r&&(r=e<n?-1:1),0===r)throw new Error("Step size of zero is not allowed");return new t(n,e,r)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(23),s=e(12),c=e(20);e.d(n,"a",function(){return f});var f=function(){function t(n,e){i()(this,t),this.times=n,this.iteratee=e}return u()(t,[{key:"serializeSlice",value:function(t,n,e){var r=t*n,i=Math.min(r+n,this.times),o=e.serializeFunctionCall(this.iteratee);return e.serializeFunctionCall(s.a.create(a.a.TIMES,r,i,o))}},{key:"length",get:function(){return this.times}}],[{key:"create",value:function(n,r){var i=void 0;return i=e.i(c.b)(r)||"function"==typeof r?s.a.createUnchecked(r):s.a.create(a.a.IDENTITY,r),new t(n,i)}}]),t}()},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(12),s=e(74);e.d(n,"a",function(){return c});var c=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i()(this,t),this.environments=n}return u()(t,[{key:"add",value:function(n){var r=this.environments.slice();return n instanceof a.a||!(this.environments.length>0)||this.environments[this.environments.length-1]instanceof a.a?r.push(n):r[r.length-1]=e.i(s.a)({},r[r.length-1],n),new t(r)}},{key:"toJSON",value:function(t){return this.environments.map(function(n){return n instanceof a.a?t.serializeFunctionCall(n):n})}}],[{key:"of",value:function(n){var e=t.EMPTY;return n?e.add(n):e}}]),t}();c.EMPTY=new c},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o),a=e(12),s=e(23),c=e(46),f=e(44);e.d(n,"a",function(){return l});var l=function(){function t(){i()(this,t)}return u()(t,[{key:"schedule",value:function(t){var n=this.getTaskDefinitions(t);return n.map(function(n){return t.options.threadPool.run(n)})}},{key:"getTaskDefinitions",value:function(t){var n=this.getScheduling(t.generator.length,t.options),r=t.options.functionCallSerializer,i=t.environment.toJSON(r),o=this.serializeOperations(t.operations,r),u=[s.a.PARALLEL_JOB_EXECUTOR].concat(e.i(c.b)(o.map(function(t){return[t.iteratee.functionId,t.iterator.functionId]})));i.forEach(function(t){e.i(f.a)(t)&&u.push(t.functionId)});for(var l=[],h=0;h<n.numberOfTasks;++h){var d=t.generator.serializeSlice(h,n.valuesPerTask,r),v={environments:i,generator:d,operations:o,taskIndex:h,valuesPerTask:n.valuesPerTask},p={main:r.serializeFunctionCall(a.a.createUnchecked(s.a.PARALLEL_JOB_EXECUTOR,v)),taskIndex:h,usedFunctionIds:[d.functionId].concat(u),valuesPerTask:n.valuesPerTask};l.push(p)}return l}},{key:"serializeOperations",value:function(t,n){return t.map(function(t){return{iteratee:n.serializeFunctionCall(t.iteratee),iterator:n.serializeFunctionCall(t.iterator)}})}}]),t}()},function(t,n,e){"use strict";var r=e(48),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){u()(this,t),this.promise=i.a.resolve(n)}return s()(t,[{key:"subscribe",value:function(t,n,e){return(e||n)&&this.promise.then(e,n),this}},{key:"then",value:function(t,n){return this.promise.then(t,n)}},{key:"catch",value:function(t){return this.promise.catch(t)}}]),t}()},function(t,n,e){"use strict";var r=e(13),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a),c=e(33);e.d(n,"a",function(){return f});var f=function(){function t(n,e,r){var o=this;u()(this,t),this.failed=!1,this.nextSubResultIndex=0,this.tasks=n,this.joiner=r,this.endResult=e,this.pending=n.length,this.subResults=new Array(this.tasks.length),this.innerStream=new c.a(function(t,n,e){o.next=t,o.resolve=n,o.reject=e});var a=!0,s=!1,f=void 0;try{for(var l,h=i()(n);!(a=(l=h.next()).done);a=!0){var d=l.value;this.registerTaskHandler(d)}}catch(t){s=!0,f=t}finally{try{!a&&h.return&&h.return()}finally{if(s)throw f}}}return s()(t,[{key:"subscribe",value:function(t,n,e){return this.innerStream.subscribe(t,n,e),this}},{key:"then",value:function(t,n){return this.innerStream.then(t,n)}},{key:"catch",value:function(t){return this.innerStream.catch(t)}},{key:"registerTaskHandler",value:function(t){var n=this;t.then(function(e){return n._taskCompleted(e,t.definition)},function(t){return n._taskFailed(t)})}},{key:"_taskCompleted",value:function(t,n){if(0===this.pending)throw new Error("Stream already resolved but taskCompleted called one more time");--this.pending,this.tasks[n.taskIndex]=void 0,this.subResults[n.taskIndex]=t,this.failed||(this.next(t,n.taskIndex,n.valuesPerTask),this.nextSubResultIndex===n.taskIndex&&this.joinSubResults(),0===this.pending&&(this.resolve(this.endResult),this.endResult=void 0))}},{key:"joinSubResults",value:function(){for(;this.nextSubResultIndex<this.subResults.length&&"undefined"!=typeof this.subResults[this.nextSubResultIndex];){var t=this.subResults[this.nextSubResultIndex];this.subResults[this.nextSubResultIndex]=void 0,this.endResult=this.joiner.apply(void 0,[this.endResult,t]),++this.nextSubResultIndex}}},{key:"_taskFailed",value:function(t){if(this.failed!==!0){this.failed=!0;for(var n=0;n<this.tasks.length;++n){var e=this.tasks[n];"undefined"!=typeof e&&e.cancel()}this.reject(t)}}}]),t}()},function(t,n,e){"use strict";var r=e(48),i=e.n(r),o=e(0),u=e.n(o),a=e(1),s=e.n(a);e.d(n,"a",function(){return c});var c=function(){function t(n){var e=this;u()(this,t),this.definition=n,this.isCancellationRequested=!1,this.isCanceled=!1,this.promise=new i.a(function(t,n){e.resolvePromise=t,e.rejectPromise=n})}return s()(t,[{key:"resolve",value:function(t){this.isCancellationRequested?this.resolveCancelled():this.resolvePromise(t)}},{key:"resolveCancelled",value:function(){this.isCanceled=!0,this.reject("Task has been canceled")}},{key:"reject",value:function(t){this.rejectPromise(t)}},{key:"then",value:function(t,n){return n?this.promise.then(t,n):this.promise.then(t)}},{key:"catch",value:function(t){return this.promise.catch(t)}},{key:"cancel",value:function(){this.isCancellationRequested=!0}}]),t}()},function(t,n,e){"use strict";function r(t){if(t.hasOwnProperty("name"))return t.name;var n=t.toString();return n.substring(n.indexOf("function")+9,n.indexOf("(")).trim()}n.a=r},function(t,n,e){"use strict";var r=e(0),i=e.n(r),o=e(1),u=e.n(o);e.d(n,"a",function(){return a});var a=function(){function t(){i()(this,t),this.data={}}return u()(t,[{key:"get",value:function(t){var n=this.toInternalKey(t);return this.has(t)?this.data[n]:void 0}},{key:"has",value:function(t){return this.hasOwnProperty.call(this.data,this.toInternalKey(t))}},{key:"set",value:function(t,n){this.data[this.toInternalKey(t)]=n}},{key:"clear",value:function(){this.data={}}},{key:"toInternalKey",value:function(t){return"@"+t}}]),t}()},function(t,n,e){t.exports={default:e(134),__esModule:!0}},function(t,n,e){t.exports={default:e(135),__esModule:!0}},function(t,n,e){t.exports={default:e(136),__esModule:!0}},function(t,n,e){t.exports={default:e(137),__esModule:!0}},function(t,n,e){t.exports={default:e(139),__esModule:!0}},function(t,n,e){t.exports={default:e(141),__esModule:!0}},function(t,n,e){t.exports={default:e(142),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(47),o=r(i),u=e(127),a=r(u);n.default=function t(n,e,r){null===n&&(n=Function.prototype);var i=(0,a.default)(n,e);if(void 0===i){var u=(0,o.default)(n);return null===u?void 0:t(u,e,r)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(r)}},function(t,n,e){e(29),e(156),t.exports=e(2).Array.from},function(t,n,e){var r=e(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,n,e){e(157);var r=e(2).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(158);var r=e(2).Object;t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)}},function(t,n,e){e(159);var r=e(2).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(160),t.exports=e(2).Object.getPrototypeOf},function(t,n,e){e(161),t.exports=e(2).Object.setPrototypeOf},function(t,n,e){e(103),e(29),e(40),e(162),t.exports=e(2).Promise},function(t,n,e){e(163),e(103),e(164),e(165),t.exports=e(2).Symbol},function(t,n,e){e(29),e(40),t.exports=e(59).f("iterator")},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){"use strict";var r=e(6),i=e(19);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(26),i=e(96),o=e(55);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,a=e(t),s=o.f,c=0;a.length>c;)s.call(t,u=a[c++])&&n.push(u);return n}},function(t,n,e){var r=e(16),i=e(89),o=e(88),u=e(5),a=e(36),s=e(39),c={},f={},n=t.exports=function(t,n,e,l,h){var d,v,p,y,m=h?function(){return t}:s(t),k=r(e,l,n?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(d=a(t.length);d>g;g++)if(y=n?k(u(v=t[g])[0],v[1]):k(t[g]),y===c||y===f)return y}else for(p=m.call(t);!(v=p.next()).done;)if(y=i(p,k,v.value,n),y===c||y===f)return y};n.BREAK=c,n.RETURN=f},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(17);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(26),i=e(9);t.exports=function(t,n){for(var e,o=i(t),u=r(o),a=u.length,s=0;a>s;)if(o[e=u[s++]]===n)return e}},function(t,n,e){var r=e(22)("meta"),i=e(14),o=e(11),u=e(6).f,a=0,s=Object.isExtensible||function(){return!0},c=!e(18)(function(){return s(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!n)return"E";f(t)}return t[r].i},h=function(t,n){if(!o(t,r)){if(!s(t))return!0;if(!n)return!1;f(t)}return t[r].w},d=function(t){return c&&v.NEED&&s(t)&&!o(t,r)&&f(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:d}},function(t,n,e){var r=e(4),i=e(98).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,s="process"==e(17)(u);t.exports=function(){var t,n,e,c=function(){var r,i;for(s&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(s)e=function(){u.nextTick(c)};else if(o){var f=!0,l=document.createTextNode("");new o(c).observe(l,{characterData:!0}),e=function(){l.data=f=!f}}else if(a&&a.resolve){var h=a.resolve();e=function(){h.then(c)}}else e=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){var r=e(8);t.exports=function(t,n,e){for(var i in n)e&&t[i]?t[i]=n[i]:r(t,i,n[i]);return t}},function(t,n,e){var r=e(14),i=e(5),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(16)(Function.call,e(52).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n,e){"use strict";var r=e(4),i=e(2),o=e(6),u=e(7),a=e(3)("species");t.exports=function(t){var n="function"==typeof i[t]?i[t]:r[t];u&&n&&!n[a]&&o.f(n,a,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(5),i=e(34),o=e(3)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[o])?n:i(e)}},function(t,n,e){"use strict";var r=e(16),i=e(10),o=e(37),u=e(89),a=e(88),s=e(36),c=e(144),f=e(39);i(i.S+i.F*!e(91)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),d="function"==typeof this?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,y=void 0!==p,m=0,k=f(h);if(y&&(p=r(p,v>2?arguments[2]:void 0,2)),void 0==k||d==Array&&a(k))for(n=s(h.length),e=new d(n);n>m;m++)c(e,m,y?p(h[m],m):h[m]);else for(l=k.call(h),e=new d;!(i=l.next()).done;m++)c(e,m,y?u(l,p,[i.value,m],!0):i.value);return e.length=m,e}})},function(t,n,e){var r=e(10);r(r.S,"Object",{create:e(35)})},function(t,n,e){var r=e(9),i=e(52).f;e(56)("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})},function(t,n,e){e(56)("getOwnPropertyNames",function(){return e(94).f})},function(t,n,e){var r=e(37),i=e(53);e(56)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,n,e){var r=e(10);r(r.S,"Object",{setPrototypeOf:e(153).set})},function(t,n,e){"use strict";var r,i,o,u=e(25),a=e(4),s=e(16),c=e(49),f=e(10),l=e(14),h=e(34),d=e(143),v=e(146),p=e(155),y=e(98).set,m=e(151)(),k="Promise",g=a.TypeError,b=a.process,_=a[k],b=a.process,w="process"==c(b),x=function(){},O=!!function(){try{var t=_.resolve(1),n=(t.constructor={})[e(3)("species")]=function(t){t(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof n}catch(t){}}(),P=function(t,n){return t===n||t===_&&n===o},S=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},I=function(t){return P(_,t)?new T(t):new i(t)},T=i=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw g("Bad Promise constructor");n=t,e=r}),this.resolve=h(n),this.reject=h(e)},E=function(t){try{t()}catch(t){return{error:t}}},j=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u=i?n.ok:n.fail,a=n.resolve,s=n.reject,c=n.domain;try{u?(i||(2==t._h&&R(t),t._h=1),u===!0?e=r:(c&&c.enter(),e=u(r),c&&c.exit()),e===n.promise?s(g("Promise-chain cycle")):(o=S(e))?o.call(e,a,s):a(e)):s(r)}catch(t){s(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&M(t)})}},M=function(t){y.call(a,function(){var n,e,r,i=t._v;if(F(t)&&(n=E(function(){w?b.emit("unhandledRejection",i,t):(e=a.onunhandledrejection)?e({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=w||F(t)?2:1),t._a=void 0,n)throw n.error})},F=function(t){if(1==t._h)return!1;for(var n,e=t._a||t._c,r=0;e.length>r;)if(n=e[r++],n.fail||!F(n.promise))return!1;return!0},R=function(t){y.call(a,function(){var n;w?b.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),j(n,!0))},A=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw g("Promise can't be resolved itself");(n=S(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(A,r,1),s(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,j(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};O||(_=function(t){d(this,_,k,"_h"),h(t),r.call(this);try{t(s(A,this,1),s(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(152)(_.prototype,{then:function(t,n){var e=I(p(this,_));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=w?b.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&j(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),T=function(){var t=new r;this.promise=t,this.resolve=s(A,t,1),this.reject=s(C,t,1)}),f(f.G+f.W+f.F*!O,{Promise:_}),e(21)(_,k),e(154)(k),o=e(2)[k],f(f.S+f.F*!O,k,{reject:function(t){var n=I(this),e=n.reject;return e(t),n.promise}}),f(f.S+f.F*(u||!O),k,{resolve:function(t){if(t instanceof _&&P(t.constructor,this))return t;var n=I(this),e=n.resolve;return e(t),n.promise}}),f(f.S+f.F*!(O&&e(91)(function(t){_.all(t).catch(x)})),k,{all:function(t){var n=this,e=I(n),r=e.resolve,i=e.reject,o=E(function(){var e=[],o=0,u=1;v(t,!1,function(t){var a=o++,s=!1;e.push(void 0),u++,n.resolve(t).then(function(t){s||(s=!0,e[a]=t,--u||r(e))},i)}),--u||r(e)});return o&&i(o.error),e.promise},race:function(t){var n=this,e=I(n),r=e.reject,i=E(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i&&r(i.error),e.promise}})},function(t,n,e){"use strict";var r=e(4),i=e(11),o=e(7),u=e(10),a=e(57),s=e(150).KEY,c=e(18),f=e(32),l=e(21),h=e(22),d=e(3),v=e(59),p=e(58),y=e(149),m=e(145),k=e(148),g=e(5),b=e(9),_=e(38),w=e(19),x=e(35),O=e(94),P=e(52),S=e(6),I=e(26),T=P.f,E=S.f,j=O.f,M=r.Symbol,F=r.JSON,R=F&&F.stringify,C="prototype",A=d("_hidden"),z=d("toPrimitive"),L={}.propertyIsEnumerable,W=f("symbol-registry"),D=f("symbols"),N=f("op-symbols"),U=Object[C],J="function"==typeof M,q=r.QObject,V=!q||!q[C]||!q[C].findChild,B=o&&c(function(){return 7!=x(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=T(U,n);r&&delete U[n],E(t,n,e),r&&t!==U&&E(U,n,r)}:E,K=function(t){var n=D[t]=x(M[C]);return n._k=t,n},G=J&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},H=function(t,n,e){return t===U&&H(N,n,e),g(t),n=_(n,!0),g(e),i(D,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=x(e,{enumerable:w(0,!1)})):(i(t,A)||E(t,A,w(1,{})),t[A][n]=!0),B(t,n,e)):E(t,n,e)},Y=function(t,n){g(t);for(var e,r=m(n=b(n)),i=0,o=r.length;o>i;)H(t,e=r[i++],n[e]);return t},X=function(t,n){return void 0===n?x(t):Y(x(t),n)},Q=function(t){var n=L.call(this,t=_(t,!0));return!(this===U&&i(D,t)&&!i(N,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,A)&&this[A][t])||n)},Z=function(t,n){if(t=b(t),n=_(n,!0),t!==U||!i(D,n)||i(N,n)){var e=T(t,n);return!e||!i(D,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e}},$=function(t){for(var n,e=j(b(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==A||n==s||r.push(n);return r},tt=function(t){for(var n,e=t===U,r=j(e?N:b(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(U,n)||o.push(D[n]);return o};J||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===U&&n.call(N,e),i(this,A)&&i(this[A],t)&&(this[A][t]=!1),B(this,t,w(1,e))};return o&&V&&B(U,t,{configurable:!0,set:n}),K(t)},a(M[C],"toString",function(){return this._k}),P.f=Z,S.f=H,e(95).f=O.f=$,e(55).f=Q,e(96).f=tt,o&&!e(25)&&a(U,"propertyIsEnumerable",Q,!0),v.f=function(t){return K(d(t))}),u(u.G+u.W+u.F*!J,{Symbol:M});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)d(nt[et++]);for(var nt=I(d.store),et=0;nt.length>et;)p(nt[et++]);u(u.S+u.F*!J,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=M(t)},keyFor:function(t){if(G(t))return y(W,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),u(u.S+u.F*!J,"Object",{create:X,defineProperty:H,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:tt}),F&&u(u.S+u.F*(!J||c(function(){var t=M();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return n=r[1],"function"==typeof n&&(e=n),!e&&k(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!G(n))return n}),r[1]=n,R.apply(F,r)}}}),M[C][z]||e(8)(M[C],z,M[C].valueOf),l(M,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(58)("asyncIterator")},function(t,n,e){e(58)("observable")},function(t,n,e){t.exports=function(){return new Worker(e.p+"worker-slave.parallel.js")}}]))});
//# sourceMappingURL=browser.parallel.js.map

@@ -74,3 +74,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 46);
/******/ return __webpack_require__(__webpack_require__.s = 47);
/******/ })

@@ -414,3 +414,4 @@ /************************************************************************/

/* 45 */,
/* 46 */
/* 46 */,
/* 47 */
/***/ function(module, exports, __webpack_require__) {

@@ -417,0 +418,0 @@

@@ -1,2 +0,2 @@

!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["parallel-es"]=t():n["parallel-es"]=t()}(this,function(){return function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,t,r){Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=170)}(function(n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))switch(typeof n[t]){case"function":break;case"object":n[t]=function(t){var r=t.slice(1),e=n[t[0]];return function(n,t,o){e.apply(this,[n,t,o].concat(r))}}(n[t]);break;default:n[t]=n[n[t]]}return n}([function(n,t){"use strict";t.__esModule=!0,t.default=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}},function(n,t,r){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}t.__esModule=!0;var o=r(79),i=e(o);t.default=function(){function n(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),(0,i.default)(n,e.key,e)}}return function(t,r,e){return r&&n(t.prototype,r),e&&n(t,e),t}}()},function(n,t){var r=n.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},function(n,t,r){var e=r(33)("wks"),o=r(23),i=r(4).Symbol,u="function"==typeof i,a=n.exports=function(n){return e[n]||(e[n]=u&&i[n]||(u?i:o)("Symbol."+n))};a.store=e},function(n,t){var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(n,t,r){var e=r(14);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t,r){var e=r(5),o=r(52),i=r(39),u=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(n,t,r){if(e(n),t=i(t,!0),e(r),o)try{return u(n,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(n[t]=r.value),n}},function(n,t,r){n.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(4),o=r(2),i=r(17),u=r(9),a="prototype",c=function(n,t,r){var f,l,s,p=n&c.F,d=n&c.G,v=n&c.S,h=n&c.P,y=n&c.B,x=n&c.W,I=d?o:o[t]||(o[t]={}),_=I[a],b=d?e:v?e[t]:(e[t]||{})[a];d&&(r=t);for(f in r)l=!p&&b&&void 0!==b[f],l&&f in I||(s=l?b[f]:r[f],I[f]=d&&"function"!=typeof b[f]?r[f]:y&&l?i(s,e):x&&b[f]==s?function(n){var t=function(t,r,e){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(t);case 2:return new n(t,r)}return new n(t,r,e)}return n.apply(this,arguments)};return t[a]=n[a],t}(s):h&&"function"==typeof s?i(Function.call,s):s,h&&((I.virtual||(I.virtual={}))[f]=s,n&c.R&&_&&!_[f]&&u(_,f,s)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,n.exports=c},function(n,t,r){var e=r(6),o=r(19);n.exports=r(7)?function(n,t,r){return e.f(n,t,o(1,r))}:function(n,t,r){return n[t]=r,n}},function(n,t,r){var e=r(53),o=r(25);n.exports=function(n){return e(o(n))}},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},function(n,t,r){"use strict";var e=r(0),o=r.n(e),i=r(1),u=r.n(i);r.d(t,"a",function(){return a});var a=function(){function n(t,r){o()(this,n),this.func=t,this.params=r}return u()(n,null,[{key:"create",value:function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),o=1;o<r;o++)e[o-1]=arguments[o];return new n(t,e)}},{key:"createUnchecked",value:function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),o=1;o<r;o++)e[o-1]=arguments[o];return new n(t,e)}}]),n}()},function(n,t,r){n.exports={default:r(85),__esModule:!0}},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t){n.exports={}},function(n,t,r){var e=r(35);n.exports=function(n,t,r){if(e(n),void 0===t)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,o){return n.call(t,r,e,o)}}return function(){return n.apply(t,arguments)}}},function(n,t){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n,t,r){"use strict";function e(n,t){return{_______isFunctionId:!0,identifier:n+"-"+t}}function o(n){return!!n&&n._______isFunctionId===!0}t.a=e,t.b=o},function(n,t,r){var e=r(57),o=r(32);n.exports=Object.keys||function(n){return e(n,o)}},function(n,t,r){var e=r(6).f,o=r(11),i=r(3)("toStringTag");n.exports=function(n,t,r){n&&!o(n=r?n:n.prototype,i)&&e(n,i,{configurable:!0,value:t})}},function(n,t){var r=0,e=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++r+e).toString(36))}},,function(n,t){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n}},function(n,t){n.exports=!0},function(n,t,r){var e=r(33)("keys"),o=r(23);n.exports=function(n){return e[n]||(e[n]=o(n))}},function(n,t){var r=Math.ceil,e=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?e:r)(n)}},function(n,t,r){var e=r(25);n.exports=function(n){return Object(e(n))}},function(n,t,r){"use strict";var e=r(97)(!0);r(43)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(n=e(t,r),this._i+=n.length,{value:n,done:!1})})},function(n,t,r){var e=r(14),o=r(4).document,i=e(o)&&e(o.createElement);n.exports=function(n){return i?o.createElement(n):{}}},function(n,t){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,t,r){var e=r(4),o="__core-js_shared__",i=e[o]||(e[o]={});n.exports=function(n){return i[n]||(i[n]={})}},,function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,r){var e=r(5),o=r(94),i=r(32),u=r(27)("IE_PROTO"),a=function(){},c="prototype",f=function(){var n,t=r(31)("iframe"),e=i.length,o="<",u=">";for(t.style.display="none",r(51).appendChild(t),t.src="javascript:",n=t.contentWindow.document,n.open(),n.write(o+"script"+u+"document.F=Object"+o+"/script"+u),n.close(),f=n.F;e--;)delete f[c][i[e]];return f()};n.exports=Object.create||function(n,t){var r;return null!==n?(a[c]=e(n),r=new a,a[c]=null,r[u]=n):r=f(),void 0===t?r:o(r,t)}},,function(n,t,r){var e=r(28),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},function(n,t,r){var e=r(14);n.exports=function(n,t){if(!e(n))return n;var r,o;if(t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;if("function"==typeof(r=n.valueOf)&&!e(o=r.call(n)))return o;if(!t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;throw TypeError("Can't convert object to primitive value")}},function(n,t,r){var e=r(50),o=r(3)("iterator"),i=r(16);n.exports=r(2).getIteratorMethod=function(n){if(void 0!=n)return n[o]||n["@@iterator"]||i[e(n)]}},function(n,t,r){r(101);for(var e=r(4),o=r(9),i=r(16),u=r(3)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],c=0;c<5;c++){var f=a[c],l=e[f],s=l&&l.prototype;s&&!s[u]&&o(s,u,f),i[f]=i.Array}},function(n,t,r){"use strict";var e=r(70),o=(r.n(e),r(64)),i=(r.n(o),r(67)),u=(r.n(i),r(68)),a=(r.n(u),r(46)),c=r(71),f=(r.n(c),r(69)),l=(r.n(f),r(72));r.n(l);r.o(e,"IParallel")&&r.d(t,"a",function(){return e.IParallel}),r.o(o,"IParallelChain")&&r.d(t,"b",function(){return o.IParallelChain}),r.o(i,"IParallelTaskEnvironment")&&r.d(t,"c",function(){return i.IParallelTaskEnvironment}),r.o(i,"IParallelEnvironment")&&r.d(t,"d",function(){return i.IParallelEnvironment}),r.o(u,"IParallelJob")&&r.d(t,"e",function(){return u.IParallelJob}),r.d(t,"f",function(){return a.IParallelOptions}),r.d(t,"g",function(){return a.IDefaultInitializedParallelOptions}),r.o(c,"IParallelJobScheduler")&&r.d(t,"h",function(){return c.IParallelJobScheduler}),r.o(f,"IParallelOperation")&&r.d(t,"i",function(){return f.IParallelOperation}),r.o(f,"ISerializedParallelOperation")&&r.d(t,"j",function(){return f.ISerializedParallelOperation}),r.o(l,"IParallelStream")&&r.d(t,"k",function(){return l.IParallelStream})},function(n,t,r){"use strict";var e=r(26),o=r(8),i=r(59),u=r(9),a=r(11),c=r(16),f=r(91),l=r(22),s=r(56),p=r(3)("iterator"),d=!([].keys&&"next"in[].keys()),v="@@iterator",h="keys",y="values",x=function(){return this};n.exports=function(n,t,r,I,_,b,P){f(r,t,I);var m,g,O,w=function(n){if(!d&&n in T)return T[n];switch(n){case h:return function(){return new r(this,n)};case y:return function(){return new r(this,n)}}return function(){return new r(this,n)}},k=t+" Iterator",S=_==y,j=!1,T=n.prototype,F=T[p]||T[v]||_&&T[_],E=F||w(_),M=_?S?w("entries"):E:void 0,C="Array"==t?T.entries||F:F;if(C&&(O=s(C.call(new n)),O!==Object.prototype&&(l(O,k,!0),e||a(O,p)||u(O,p,x))),S&&F&&F.name!==y&&(j=!0,E=function(){return F.call(this)}),e&&!P||!d&&!j&&T[p]||u(T,p,E),c[t]=E,c[k]=x,_)if(m={values:S?E:w(y),keys:b?E:w(h),entries:M},P)for(g in m)g in T||i(T,g,m[g]);else o(o.P+o.F*(d||j),t,m);return m}},function(n,t,r){"use strict";var e=r(0),o=r.n(e),i=r(1),u=r.n(i);r.d(t,"a",function(){return a});var a=function(){function n(t){o()(this,n),this.functionRegistry=t}return u()(n,[{key:"serializeFunctionCall",value:function(n){var t=this.functionRegistry.getOrSetId(n.func);return{______serializedFunctionCall:!0,functionId:t,parameters:n.params}}}]),n}()},function(n,t,r){"use strict";function e(n){return!!n&&n.______serializedFunctionCall===!0}t.a=e},function(n,t,r){"use strict";function e(n){var t=!0,r=!1,e=void 0;try{for(var o,a=i()(u);!(t=(o=a.next()).done);t=!0){var c=o.value,f=n[c];if("undefined"!=typeof f&&("number"!=typeof f||f<=0||f%1!==0))throw new Error("Illegal parallel options: "+c+" ("+f+") has to be an integer greater than zero")}}catch(n){r=!0,e=n}finally{try{!t&&a.return&&a.return()}finally{if(r)throw e}}if("undefined"!=typeof n.minValuesPerTask&&"undefined"!=typeof n.maxValuesPerTask&&n.minValuesPerTask>n.maxValuesPerTask)throw new Error("Illegal parallel options: minValuesPerTask ("+n.minValuesPerTask+") must be equal or less than maxValuesPerTask ("+n.maxValuesPerTask+").")}var o=r(13),i=r.n(o);t.a=e;var u=["maxValuesPerTask","minValuesPerTask","maxDegreeOfParallelism"]},,,,function(n,t,r){var e=r(18),o=r(3)("toStringTag"),i="Arguments"==e(function(){return arguments}()),u=function(n,t){try{return n[t]}catch(n){}};n.exports=function(n){var t,r,a;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(r=u(t=Object(n),o))?r:i?e(t):"Object"==(a=e(t))&&"function"==typeof t.callee?"Arguments":a}},function(n,t,r){n.exports=r(4).document&&document.documentElement},function(n,t,r){n.exports=!r(7)&&!r(15)(function(){return 7!=Object.defineProperty(r(31)("div"),"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(18);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},,,function(n,t,r){var e=r(11),o=r(29),i=r(27)("IE_PROTO"),u=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=o(n),e(n,i)?n[i]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?u:null}},function(n,t,r){var e=r(11),o=r(10),i=r(88)(!1),u=r(27)("IE_PROTO");n.exports=function(n,t){var r,a=o(n),c=0,f=[];for(r in a)r!=u&&e(a,r)&&f.push(r);for(;t.length>c;)e(a,r=t[c++])&&(~i(f,r)||f.push(r));return f}},,function(n,t,r){n.exports=r(9)},,,function(n,t,r){"use strict";var e=r(42),o=r(73),i=(r.n(o),r(74)),u=(r.n(i),r(63)),a=(r.n(u),r(20)),c=r(12),f=r(45),l=r(44),s=r(75),p=(r.n(s),r(42));r.d(t,"a",function(){return e.a}),r.o(o,"ITaskDefinition")&&r.d(t,"b",function(){return o.ITaskDefinition}),r.o(i,"ITask")&&r.d(t,"c",function(){return i.ITask}),r.o(u,"IFunctionDefinition")&&r.d(t,"d",function(){return u.IFunctionDefinition}),r.d(t,"e",function(){return a.IFunctionId}),r.d(t,"f",function(){return a.b}),r.d(t,"g",function(){return c.a}),r.d(t,"h",function(){return f.ISerializedFunctionCall}),r.d(t,"i",function(){return f.a}),r.d(t,"j",function(){return l.a}),r.o(s,"IThreadPool")&&r.d(t,"k",function(){return s.IThreadPool}),r.d(t,"l",function(){return p.b}),r.d(t,"m",function(){return p.c}),r.d(t,"n",function(){return p.d}),r.d(t,"o",function(){return p.e}),r.d(t,"p",function(){return p.f}),r.d(t,"q",function(){return p.g}),r.d(t,"r",function(){return p.h}),r.d(t,"s",function(){return p.i}),r.d(t,"t",function(){return p.j}),r.d(t,"u",function(){return p.k})},function(n,t){},function(n,t){},,,64,64,function(n,t){},64,64,64,63,63,64,,,,function(n,t,r){n.exports={default:r(86),__esModule:!0}},,,,,,function(n,t,r){r(41),r(30),n.exports=r(100)},function(n,t,r){r(102);var e=r(2).Object;n.exports=function(n,t,r){return e.defineProperty(n,t,r)}},function(n,t){n.exports=function(){}},function(n,t,r){var e=r(10),o=r(38),i=r(99);n.exports=function(n){return function(t,r,u){var a,c=e(t),f=o(c.length),l=i(u,f);if(n&&r!=r){for(;f>l;)if(a=c[l++],a!=a)return!0}else for(;f>l;l++)if((n||l in c)&&c[l]===r)return n||l||0;return!n&&-1}}},,,function(n,t,r){"use strict";var e=r(36),o=r(19),i=r(22),u={};r(9)(u,r(3)("iterator"),function(){return this}),n.exports=function(n,t,r){n.prototype=e(u,{next:o(1,r)}),i(n,t+" Iterator")}},,function(n,t){n.exports=function(n,t){return{value:t,done:!!n}}},function(n,t,r){var e=r(6),o=r(5),i=r(21);n.exports=r(7)?Object.defineProperties:function(n,t){o(n);for(var r,u=i(t),a=u.length,c=0;a>c;)e.f(n,r=u[c++],t[r]);return n}},,,function(n,t,r){var e=r(28),o=r(25);n.exports=function(n){return function(t,r){var i,u,a=String(o(t)),c=e(r),f=a.length;return c<0||c>=f?n?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?n?a.charAt(c):i:n?a.slice(c,c+2):(i-55296<<10)+(u-56320)+65536)}}},,function(n,t,r){var e=r(28),o=Math.max,i=Math.min;n.exports=function(n,t){return n=e(n),n<0?o(n+t,0):i(n,t)}},function(n,t,r){var e=r(5),o=r(40);n.exports=r(2).getIterator=function(n){var t=o(n);if("function"!=typeof t)throw TypeError(n+" is not iterable!");return e(t.call(n))}},function(n,t,r){"use strict";var e=r(87),o=r(93),i=r(16),u=r(10);n.exports=r(43)(Array,"Array",function(n,t){this._t=u(n),this._i=0,this._k=t},function(){var n=this._t,t=this._k,r=this._i++;return!n||r>=n.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,n[r]):o(0,[r,n[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(n,t,r){var e=r(8);e(e.S+e.F*!r(7),"Object",{defineProperty:r(6).f})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";var e=r(62);r.d(t,"IParallel",function(){return e.a}),r.d(t,"ITaskDefinition",function(){return e.b}),r.d(t,"ITask",function(){return e.c}),r.d(t,"IFunctionDefinition",function(){return e.d}),r.d(t,"IFunctionId",function(){return e.e}),r.d(t,"isFunctionId",function(){return e.f}),r.d(t,"FunctionCall",function(){return e.g}),r.d(t,"ISerializedFunctionCall",function(){return e.h}),r.d(t,"isSerializedFunctionCall",function(){return e.i}),r.d(t,"FunctionCallSerializer",function(){return e.j}),r.d(t,"IThreadPool",function(){return e.k}),r.d(t,"IParallelChain",function(){return e.l}),r.d(t,"IParallelTaskEnvironment",function(){return e.m}),r.d(t,"IParallelEnvironment",function(){return e.n}),r.d(t,"IParallelJob",function(){return e.o}),r.d(t,"IParallelOptions",function(){return e.p}),r.d(t,"IDefaultInitializedParallelOptions",function(){return e.q}),r.d(t,"IParallelJobScheduler",function(){return e.r}),r.d(t,"IParallelOperation",function(){return e.s}),r.d(t,"ISerializedParallelOperation",function(){return e.t}),r.d(t,"IParallelStream",function(){return e.u})}]))});
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["parallel-es"]=t():n["parallel-es"]=t()}(this,function(){return function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=n,t.c=r,t.i=function(n){return n},t.d=function(n,t,r){Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=167)}(function(n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))switch(typeof n[t]){case"function":break;case"object":n[t]=function(t){var r=t.slice(1),e=n[t[0]];return function(n,t,o){e.apply(this,[n,t,o].concat(r))}}(n[t]);break;default:n[t]=n[n[t]]}return n}([function(n,t){"use strict";t.__esModule=!0,t.default=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}},function(n,t,r){"use strict";function e(n){return n&&n.__esModule?n:{default:n}}t.__esModule=!0;var o=r(77),i=e(o);t.default=function(){function n(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),(0,i.default)(n,e.key,e)}}return function(t,r,e){return r&&n(t.prototype,r),e&&n(t,e),t}}()},function(n,t){var r=n.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},function(n,t,r){var e=r(32)("wks"),o=r(22),i=r(4).Symbol,u="function"==typeof i,a=n.exports=function(n){return e[n]||(e[n]=u&&i[n]||(u?i:o)("Symbol."+n))};a.store=e},function(n,t){var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(n,t,r){var e=r(14);n.exports=function(n){if(!e(n))throw TypeError(n+" is not an object!");return n}},function(n,t,r){var e=r(5),o=r(51),i=r(38),u=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(n,t,r){if(e(n),t=i(t,!0),e(r),o)try{return u(n,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(n[t]=r.value),n}},function(n,t,r){n.exports=!r(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n,t,r){var e=r(6),o=r(19);n.exports=r(7)?function(n,t,r){return e.f(n,t,o(1,r))}:function(n,t,r){return n[t]=r,n}},function(n,t,r){var e=r(87),o=r(24);n.exports=function(n){return e(o(n))}},function(n,t,r){var e=r(4),o=r(2),i=r(16),u=r(8),a="prototype",c=function(n,t,r){var f,l,s,p=n&c.F,d=n&c.G,v=n&c.S,h=n&c.P,y=n&c.B,x=n&c.W,I=d?o:o[t]||(o[t]={}),_=I[a],b=d?e:v?e[t]:(e[t]||{})[a];d&&(r=t);for(f in r)l=!p&&b&&void 0!==b[f],l&&f in I||(s=l?b[f]:r[f],I[f]=d&&"function"!=typeof b[f]?r[f]:y&&l?i(s,e):x&&b[f]==s?function(n){var t=function(t,r,e){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(t);case 2:return new n(t,r)}return new n(t,r,e)}return n.apply(this,arguments)};return t[a]=n[a],t}(s):h&&"function"==typeof s?i(Function.call,s):s,h&&((I.virtual||(I.virtual={}))[f]=s,n&c.R&&_&&!_[f]&&u(_,f,s)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,n.exports=c},function(n,t){var r={}.hasOwnProperty;n.exports=function(n,t){return r.call(n,t)}},function(n,t,r){"use strict";var e=r(0),o=r.n(e),i=r(1),u=r.n(i);r.d(t,"a",function(){return a});var a=function(){function n(t,r){o()(this,n),this.func=t,this.params=r}return u()(n,null,[{key:"create",value:function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),o=1;o<r;o++)e[o-1]=arguments[o];return new n(t,e)}},{key:"createUnchecked",value:function(t){for(var r=arguments.length,e=Array(r>1?r-1:0),o=1;o<r;o++)e[o-1]=arguments[o];return new n(t,e)}}]),n}()},function(n,t,r){n.exports={default:r(83),__esModule:!0}},function(n,t){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t){n.exports={}},function(n,t,r){var e=r(34);n.exports=function(n,t,r){if(e(n),void 0===t)return n;switch(r){case 1:return function(r){return n.call(t,r)};case 2:return function(r,e){return n.call(t,r,e)};case 3:return function(r,e,o){return n.call(t,r,e,o)}}return function(){return n.apply(t,arguments)}}},function(n,t){var r={}.toString;n.exports=function(n){return r.call(n).slice(8,-1)}},function(n,t){n.exports=function(n){try{return!!n()}catch(n){return!0}}},function(n,t){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n,t,r){"use strict";function e(n,t){return{_______isFunctionId:!0,identifier:n+"-"+t}}function o(n){return!!n&&n._______isFunctionId===!0}t.a=e,t.b=o},function(n,t,r){var e=r(6).f,o=r(11),i=r(3)("toStringTag");n.exports=function(n,t,r){n&&!o(n=r?n:n.prototype,i)&&e(n,i,{configurable:!0,value:t})}},function(n,t){var r=0,e=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++r+e).toString(36))}},,function(n,t){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n}},function(n,t){n.exports=!0},function(n,t,r){var e=r(54),o=r(31);n.exports=Object.keys||function(n){return e(n,o)}},function(n,t,r){var e=r(32)("keys"),o=r(22);n.exports=function(n){return e[n]||(e[n]=o(n))}},function(n,t){var r=Math.ceil,e=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?e:r)(n)}},function(n,t,r){"use strict";var e=r(97)(!0);r(42)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(n=e(t,r),this._i+=n.length,{value:n,done:!1})})},function(n,t,r){var e=r(14),o=r(4).document,i=e(o)&&e(o.createElement);n.exports=function(n){return i?o.createElement(n):{}}},function(n,t){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,t,r){var e=r(4),o="__core-js_shared__",i=e[o]||(e[o]={});n.exports=function(n){return i[n]||(i[n]={})}},,function(n,t){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,r){var e=r(5),o=r(93),i=r(31),u=r(27)("IE_PROTO"),a=function(){},c="prototype",f=function(){var n,t=r(30)("iframe"),e=i.length,o="<",u=">";for(t.style.display="none",r(50).appendChild(t),t.src="javascript:",n=t.contentWindow.document,n.open(),n.write(o+"script"+u+"document.F=Object"+o+"/script"+u),n.close(),f=n.F;e--;)delete f[c][i[e]];return f()};n.exports=Object.create||function(n,t){var r;return null!==n?(a[c]=e(n),r=new a,a[c]=null,r[u]=n):r=f(),void 0===t?r:o(r,t)}},function(n,t,r){var e=r(28),o=Math.min;n.exports=function(n){return n>0?o(e(n),9007199254740991):0}},function(n,t,r){var e=r(24);n.exports=function(n){return Object(e(n))}},function(n,t,r){var e=r(14);n.exports=function(n,t){if(!e(n))return n;var r,o;if(t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;if("function"==typeof(r=n.valueOf)&&!e(o=r.call(n)))return o;if(!t&&"function"==typeof(r=n.toString)&&!e(o=r.call(n)))return o;throw TypeError("Can't convert object to primitive value")}},function(n,t,r){var e=r(49),o=r(3)("iterator"),i=r(15);n.exports=r(2).getIteratorMethod=function(n){if(void 0!=n)return n[o]||n["@@iterator"]||i[e(n)]}},function(n,t,r){r(101);for(var e=r(4),o=r(8),i=r(15),u=r(3)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],c=0;c<5;c++){var f=a[c],l=e[f],s=l&&l.prototype;s&&!s[u]&&o(s,u,f),i[f]=i.Array}},function(n,t,r){"use strict";var e=r(68),o=(r.n(e),r(62)),i=(r.n(o),r(65)),u=(r.n(i),r(66)),a=(r.n(u),r(45)),c=r(69),f=(r.n(c),r(67)),l=(r.n(f),r(70));r.n(l);r.o(e,"IParallel")&&r.d(t,"a",function(){return e.IParallel}),r.o(o,"IParallelChain")&&r.d(t,"b",function(){return o.IParallelChain}),r.o(i,"IParallelTaskEnvironment")&&r.d(t,"c",function(){return i.IParallelTaskEnvironment}),r.o(i,"IParallelEnvironment")&&r.d(t,"d",function(){return i.IParallelEnvironment}),r.o(u,"IParallelJob")&&r.d(t,"e",function(){return u.IParallelJob}),r.d(t,"f",function(){return a.IParallelOptions}),r.d(t,"g",function(){return a.IDefaultInitializedParallelOptions}),r.o(c,"IParallelJobScheduler")&&r.d(t,"h",function(){return c.IParallelJobScheduler}),r.o(f,"IParallelOperation")&&r.d(t,"i",function(){return f.IParallelOperation}),r.o(f,"ISerializedParallelOperation")&&r.d(t,"j",function(){return f.ISerializedParallelOperation}),r.o(l,"IParallelStream")&&r.d(t,"k",function(){return l.IParallelStream})},function(n,t,r){"use strict";var e=r(25),o=r(10),i=r(57),u=r(8),a=r(11),c=r(15),f=r(90),l=r(21),s=r(53),p=r(3)("iterator"),d=!([].keys&&"next"in[].keys()),v="@@iterator",h="keys",y="values",x=function(){return this};n.exports=function(n,t,r,I,_,b,P){f(r,t,I);var m,g,O,w=function(n){if(!d&&n in T)return T[n];switch(n){case h:return function(){return new r(this,n)};case y:return function(){return new r(this,n)}}return function(){return new r(this,n)}},k=t+" Iterator",S=_==y,j=!1,T=n.prototype,F=T[p]||T[v]||_&&T[_],E=F||w(_),M=_?S?w("entries"):E:void 0,C="Array"==t?T.entries||F:F;if(C&&(O=s(C.call(new n)),O!==Object.prototype&&(l(O,k,!0),e||a(O,p)||u(O,p,x))),S&&F&&F.name!==y&&(j=!0,E=function(){return F.call(this)}),e&&!P||!d&&!j&&T[p]||u(T,p,E),c[t]=E,c[k]=x,_)if(m={values:S?E:w(y),keys:b?E:w(h),entries:M},P)for(g in m)g in T||i(T,g,m[g]);else o(o.P+o.F*(d||j),t,m);return m}},function(n,t,r){"use strict";var e=r(0),o=r.n(e),i=r(1),u=r.n(i);r.d(t,"a",function(){return a});var a=function(){function n(t){o()(this,n),this.functionRegistry=t}return u()(n,[{key:"serializeFunctionCall",value:function(n){var t=this.functionRegistry.getOrSetId(n.func);return{______serializedFunctionCall:!0,functionId:t,parameters:n.params}}}]),n}()},function(n,t,r){"use strict";function e(n){return!!n&&n.______serializedFunctionCall===!0}t.a=e},function(n,t,r){"use strict";function e(n){var t=!0,r=!1,e=void 0;try{for(var o,a=i()(u);!(t=(o=a.next()).done);t=!0){var c=o.value,f=n[c];if("undefined"!=typeof f&&("number"!=typeof f||f<=0||f%1!==0))throw new Error("Illegal parallel options: "+c+" ("+f+") has to be an integer greater than zero")}}catch(n){r=!0,e=n}finally{try{!t&&a.return&&a.return()}finally{if(r)throw e}}if("undefined"!=typeof n.minValuesPerTask&&"undefined"!=typeof n.maxValuesPerTask&&n.minValuesPerTask>n.maxValuesPerTask)throw new Error("Illegal parallel options: minValuesPerTask ("+n.minValuesPerTask+") must be equal or less than maxValuesPerTask ("+n.maxValuesPerTask+").")}var o=r(13),i=r.n(o);t.a=e;var u=["maxValuesPerTask","minValuesPerTask","maxDegreeOfParallelism"]},,,,function(n,t,r){var e=r(17),o=r(3)("toStringTag"),i="Arguments"==e(function(){return arguments}()),u=function(n,t){try{return n[t]}catch(n){}};n.exports=function(n){var t,r,a;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(r=u(t=Object(n),o))?r:i?e(t):"Object"==(a=e(t))&&"function"==typeof t.callee?"Arguments":a}},function(n,t,r){n.exports=r(4).document&&document.documentElement},function(n,t,r){n.exports=!r(7)&&!r(18)(function(){return 7!=Object.defineProperty(r(30)("div"),"a",{get:function(){return 7}}).a})},,function(n,t,r){var e=r(11),o=r(37),i=r(27)("IE_PROTO"),u=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=o(n),e(n,i)?n[i]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?u:null}},function(n,t,r){var e=r(11),o=r(9),i=r(86)(!1),u=r(27)("IE_PROTO");n.exports=function(n,t){var r,a=o(n),c=0,f=[];for(r in a)r!=u&&e(a,r)&&f.push(r);for(;t.length>c;)e(a,r=t[c++])&&(~i(f,r)||f.push(r));return f}},,,function(n,t,r){n.exports=r(8)},,,function(n,t,r){"use strict";var e=r(41),o=r(71),i=(r.n(o),r(72)),u=(r.n(i),r(61)),a=(r.n(u),r(20)),c=r(12),f=r(44),l=r(43),s=r(73),p=(r.n(s),r(41));r.d(t,"a",function(){return e.a}),r.o(o,"ITaskDefinition")&&r.d(t,"b",function(){return o.ITaskDefinition}),r.o(i,"ITask")&&r.d(t,"c",function(){return i.ITask}),r.o(u,"IFunctionDefinition")&&r.d(t,"d",function(){return u.IFunctionDefinition}),r.d(t,"e",function(){return a.IFunctionId}),r.d(t,"f",function(){return a.b}),r.d(t,"g",function(){return c.a}),r.d(t,"h",function(){return f.ISerializedFunctionCall}),r.d(t,"i",function(){return f.a}),r.d(t,"j",function(){return l.a}),r.o(s,"IThreadPool")&&r.d(t,"k",function(){return s.IThreadPool}),r.d(t,"l",function(){return p.b}),r.d(t,"m",function(){return p.c}),r.d(t,"n",function(){return p.d}),r.d(t,"o",function(){return p.e}),r.d(t,"p",function(){return p.f}),r.d(t,"q",function(){return p.g}),r.d(t,"r",function(){return p.h}),r.d(t,"s",function(){return p.i}),r.d(t,"t",function(){return p.j}),r.d(t,"u",function(){return p.k})},function(n,t){},function(n,t){},,,62,62,function(n,t){},62,62,62,61,61,62,,,,function(n,t,r){n.exports={default:r(84),__esModule:!0}},,,,,,function(n,t,r){r(40),r(29),n.exports=r(100)},function(n,t,r){r(102);var e=r(2).Object;n.exports=function(n,t,r){return e.defineProperty(n,t,r)}},function(n,t){n.exports=function(){}},function(n,t,r){var e=r(9),o=r(36),i=r(99);n.exports=function(n){return function(t,r,u){var a,c=e(t),f=o(c.length),l=i(u,f);if(n&&r!=r){for(;f>l;)if(a=c[l++],a!=a)return!0}else for(;f>l;l++)if((n||l in c)&&c[l]===r)return n||l||0;return!n&&-1}}},function(n,t,r){var e=r(17);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==e(n)?n.split(""):Object(n)}},,,function(n,t,r){"use strict";var e=r(35),o=r(19),i=r(21),u={};r(8)(u,r(3)("iterator"),function(){return this}),n.exports=function(n,t,r){n.prototype=e(u,{next:o(1,r)}),i(n,t+" Iterator")}},,function(n,t){n.exports=function(n,t){return{value:t,done:!!n}}},function(n,t,r){var e=r(6),o=r(5),i=r(26);n.exports=r(7)?Object.defineProperties:function(n,t){o(n);for(var r,u=i(t),a=u.length,c=0;a>c;)e.f(n,r=u[c++],t[r]);return n}},,,,function(n,t,r){var e=r(28),o=r(24);n.exports=function(n){return function(t,r){var i,u,a=String(o(t)),c=e(r),f=a.length;return c<0||c>=f?n?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?n?a.charAt(c):i:n?a.slice(c,c+2):(i-55296<<10)+(u-56320)+65536)}}},,function(n,t,r){var e=r(28),o=Math.max,i=Math.min;n.exports=function(n,t){return n=e(n),n<0?o(n+t,0):i(n,t)}},function(n,t,r){var e=r(5),o=r(39);n.exports=r(2).getIterator=function(n){var t=o(n);if("function"!=typeof t)throw TypeError(n+" is not iterable!");return e(t.call(n))}},function(n,t,r){"use strict";var e=r(85),o=r(92),i=r(15),u=r(9);n.exports=r(42)(Array,"Array",function(n,t){this._t=u(n),this._i=0,this._k=t},function(){var n=this._t,t=this._k,r=this._i++;return!n||r>=n.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,n[r]):o(0,[r,n[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(n,t,r){var e=r(10);e(e.S+e.F*!r(7),"Object",{defineProperty:r(6).f})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,r){"use strict";var e=r(60);r.d(t,"IParallel",function(){return e.a}),r.d(t,"ITaskDefinition",function(){return e.b}),r.d(t,"ITask",function(){return e.c}),r.d(t,"IFunctionDefinition",function(){return e.d}),r.d(t,"IFunctionId",function(){return e.e}),r.d(t,"isFunctionId",function(){return e.f}),r.d(t,"FunctionCall",function(){return e.g}),r.d(t,"ISerializedFunctionCall",function(){return e.h}),r.d(t,"isSerializedFunctionCall",function(){return e.i}),r.d(t,"FunctionCallSerializer",function(){return e.j}),r.d(t,"IThreadPool",function(){return e.k}),r.d(t,"IParallelChain",function(){return e.l}),r.d(t,"IParallelTaskEnvironment",function(){return e.m}),r.d(t,"IParallelEnvironment",function(){return e.n}),r.d(t,"IParallelJob",function(){return e.o}),r.d(t,"IParallelOptions",function(){return e.p}),r.d(t,"IDefaultInitializedParallelOptions",function(){return e.q}),r.d(t,"IParallelJobScheduler",function(){return e.r}),r.d(t,"IParallelOperation",function(){return e.s}),r.d(t,"ISerializedParallelOperation",function(){return e.t}),r.d(t,"IParallelStream",function(){return e.u})}]))});
//# sourceMappingURL=node.parallel.js.map

@@ -64,3 +64,3 @@ /******/ (function(modules) { // webpackBootstrap

/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 17);
/******/ return __webpack_require__(__webpack_require__.s = 18);
/******/ })

@@ -83,3 +83,8 @@ /************************************************************************/

*/
function toIterator(data) {
/**
* Creates an iterator that iterates over the given array
* @param data the array
* @param T element type
* @returns the iterator
*/ function toIterator(data) {
return data[Symbol.iterator]();

@@ -376,3 +381,3 @@ }

"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util_simple_map__ = __webpack_require__(16);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__util_simple_map__ = __webpack_require__(17);

@@ -439,3 +444,3 @@ /**

/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__parallel_worker_functions__ = __webpack_require__(12);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_identity__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_identity__ = __webpack_require__(16);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__filter_iterator__ = __webpack_require__(9);

@@ -749,5 +754,7 @@ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__map_iterator__ = __webpack_require__(10);

/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__function_serialized_function_call__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_assign__ = __webpack_require__(15);
/* harmony export (immutable) */ exports["a"] = parallelJobExecutor;
function createTaskEnvironment(definition, functionCallDeserializer) {

@@ -763,5 +770,5 @@ let taskEnvironment = {};

}
Object.assign(taskEnvironment, currentEnvironment);
__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util_assign__["a" /* assign */])(taskEnvironment, currentEnvironment);
}
return Object.assign({}, { taskIndex: definition.taskIndex, valuesPerTask: definition.valuesPerTask }, taskEnvironment);
return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_2__util_assign__["a" /* assign */])({}, { taskIndex: definition.taskIndex, valuesPerTask: definition.valuesPerTask }, taskEnvironment);
}

@@ -823,3 +830,9 @@ /**

*/
function rangeIterator(start, end, step) {
/**
* Generator function that creates an iterator containing all elements in the range [start, end) with a step size of step.
* @param start start value of the range (inclusive)
* @param end end value of the range (exclusive)
* @param step step size between two values
* @returns iterator with the values [start, end)
*/ function rangeIterator(start, end, step) {
const distance = end - start;

@@ -876,2 +889,32 @@ let length = Math.max(Math.floor(distance / (step || 1)), 0);

"use strict";
/* harmony export (immutable) */ exports["a"] = assign;
/**
* Polyfill for Object.assign
* @param target target object
* @param sources source object to copy into targetk
*/
function assign(target, ...sources) {
if (target == null) {
throw new TypeError("Cannot convert undefined or null to object");
}
target = Object(target);
for (let index = 1; index < arguments.length; index++) {
const source = arguments[index];
if (source != null) {
for (const key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
}
return target;
}
/***/ },
/* 16 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* harmony export (immutable) */ exports["a"] = identity;

@@ -883,3 +926,7 @@ /**

*/
function identity(element) {
/**
* identity function. Returns the passed in value
* @param element the value to return
* @param T type of the element
*/ function identity(element) {
return element;

@@ -890,3 +937,3 @@ }

/***/ },
/* 16 */
/* 17 */
/***/ function(module, exports, __webpack_require__) {

@@ -900,3 +947,7 @@

*/
class SimpleMap {
/**
* A very simple implementation of a map. Do not use with complex objects as Key.
* @param K type of the key
* @param V type of the value
*/ class SimpleMap {
constructor() {

@@ -946,3 +997,3 @@ this.data = {};

/***/ },
/* 17 */
/* 18 */
/***/ function(module, exports, __webpack_require__) {

@@ -949,0 +1000,0 @@

@@ -1,3 +0,3 @@

!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=126)}([function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(31)("wks"),o=e(20),i=e(3).Symbol,u="function"==typeof i,a=t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))};a.store=r},function(t,n,e){var r=e(3),o=e(0),i=e(23),u=e(10),a="prototype",c=function(t,n,e){var f,s,l,p=t&c.F,v=t&c.G,d=t&c.S,h=t&c.P,y=t&c.B,g=t&c.W,_=v?o:o[n]||(o[n]={}),b=_[a],x=v?r:d?r[n]:(r[n]||{})[a];v&&(e=n);for(f in e)s=!p&&x&&void 0!==x[f],s&&f in _||(l=s?x[f]:e[f],_[f]=v&&"function"!=typeof x[f]?e[f]:y&&s?i(l,r):g&&x[f]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[a]=t[a],n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((_.virtual||(_.virtual={}))[f]=l,t&c.R&&b&&!b[f]&&u(b,f,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(5),o=e(44),i=e(33),u=Object.defineProperty;n.f=e(6)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(13);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(45),o=e(24);t.exports=function(t){return r(o(t))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(4),o=e(16);t.exports=e(6)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(74),i=r(o);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n,e){var r=e(51),o=e(25);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(24);t.exports=function(t){return Object(r(t))}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";function r(t){return a()(t)}function o(t){for(var n=[],e=void 0;!(e=t.next()).done;)n.push(e.value);return n}var i=e(40),u=(e.n(i),e(17)),a=e.n(u);n.b=r,n.a=o},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(93);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=!0},function(t,n,e){var r=e(5),o=e(109),i=e(25),u=e(30)("IE_PROTO"),a=function(){},c="prototype",f=function(){var t,n=e(43)("iframe"),r=i.length,o="<",u=">";for(n.style.display="none",e(99).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+u+"document.F=Object"+o+"/script"+u),t.close(),f=t.F;r--;)delete f[c][i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[c]=r(t),e=new a,a[c]=null,e[u]=t):e=f(),void 0===n?e:o(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(4).f,o=e(7),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(31)("keys"),o=e(20);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(3),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(13);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(3),o=e(0),i=e(26),u=e(35),a=e(4).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(1)},function(t,n,e){"use strict";var r=e(111)(!0);e(46)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";function r(t){return!!t&&t.______serializedFunctionCall===!0}n.a=r},function(t,n,e){"use strict";function r(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return{functionIds:[t].concat(e),type:y.FunctionRequest}}function o(t){return{result:t,type:y.WorkerResult}}function i(t){var n={},e=!0,r=!1,o=void 0;try{for(var i,u=h()(v()(t));!(e=(i=u.next()).done);e=!0){var a=i.value;n[a]=l()(t[a])}}catch(t){r=!0,o=t}finally{try{!e&&u.return&&u.return()}finally{if(r)throw o}}return{error:n,type:y.FunctionExecutionError}}function u(t){return t.type===y.ScheduleTask}function a(t){return t.type===y.InitializeWorker}function c(t){return t.type===y.FunctionResponse}function f(t){return t.type===y.Stop}var s=e(71),l=e.n(s),p=e(75),v=e.n(p),d=e(17),h=e.n(d);n.c=r,n.f=o,n.e=i,n.b=u,n.a=a,n.d=c,n.g=f;var y;!function(t){t[t.InitializeWorker=0]="InitializeWorker",t[t.ScheduleTask=1]="ScheduleTask",t[t.FunctionRequest=2]="FunctionRequest",t[t.FunctionResponse=3]="FunctionResponse",t[t.WorkerResult=4]="WorkerResult",t[t.FunctionExecutionError=5]="FunctionExecutionError",t[t.Stop=6]="Stop"}(y||(y={}))},function(t,n,e){t.exports={default:e(82),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(39),i=r(o);n.default=function(t){return Array.isArray(t)?t:(0,i.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(39),i=r(o);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,i.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(79),i=r(o),u=e(78),a=r(u),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return"undefined"==typeof t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":c(t)}},function(t,n,e){var r=e(13),o=e(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(6)&&!e(9)(function(){return 7!=Object.defineProperty(e(43)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(26),o=e(2),i=e(53),u=e(10),a=e(7),c=e(14),f=e(103),s=e(29),l=e(50),p=e(1)("iterator"),v=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",y="values",g=function(){return this};t.exports=function(t,n,e,_,b,x,m){f(e,n,_);var O,w,S,E=function(t){if(!v&&t in M)return M[t];switch(t){case h:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},k=n+" Iterator",j=b==y,F=!1,M=t.prototype,P=M[p]||M[d]||b&&M[b],T=P||E(b),A=b?j?E("entries"):T:void 0,I="Array"==n?M.entries||P:P;if(I&&(S=l(I.call(new t)),S!==Object.prototype&&(s(S,k,!0),r||a(S,p)||u(S,p,g))),j&&P&&P.name!==y&&(F=!0,T=function(){return P.call(this)}),r&&!m||!v&&!F&&M[p]||u(M,p,T),c[n]=T,c[k]=g,b)if(O={values:j?T:E(y),keys:x?T:E(h),entries:A},m)for(w in O)w in M||i(M,w,O[w]);else o(o.P+o.F*(v||F),n,O);return O}},function(t,n,e){var r=e(18),o=e(16),i=e(8),u=e(33),a=e(7),c=e(44),f=Object.getOwnPropertyDescriptor;n.f=e(6)?f:function(t,n){if(t=i(t),n=u(n,!0),c)try{return f(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(8),o=e(49).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,n,e){var r=e(51),o=e(25).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(7),o=e(19),i=e(30)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(7),o=e(8),i=e(95)(!1),u=e(30)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,f=[];for(e in a)e!=u&&r(a,e)&&f.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(2),o=e(0),i=e(9);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n,e){t.exports=e(10)},function(t,n,e){var r=e(32),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(96),o=e(1)("iterator"),i=e(14);t.exports=e(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){e(115);for(var r=e(3),o=e(10),i=e(14),u=e(1)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],c=0;c<5;c++){var f=a[c],s=r[f],l=s&&s.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},function(t,n,e){"use strict";var r=e(11),o=e.n(r),i=e(12),u=e.n(i),a=e(38),c=e(60);e.d(n,"a",function(){return f});var f=function(){function t(n){o()(this,t),this.functionCache=n,this.id=Number.NaN,this.state=new c.a(this)}return u()(t,[{key:"changeState",value:function(t){this.state=t,this.state.enter()}},{key:"onMessage",value:function(t){if(e.i(a.g)(t.data))close();else if(!this.state.onMessage(t))throw new Error("Message with type "+t.data.type+" cannot be handled by slave "+this)}},{key:"postMessage",value:function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t){postMessage(t)})},{key:"toString",value:function(){return"BrowserSlave { id: "+this.id+", state: '"+this.state.name+"' }"}}]),t}()},function(t,n,e){"use strict";var r=e(41),o=e.n(r),i=e(11),u=e.n(i),a=e(12),c=e.n(a),f=e(70);e.d(n,"a",function(){return s});var s=function(){function t(){u()(this,t),this.cache=new f.a}return c()(t,[{key:"getFunction",value:function(t){return this.cache.get(t.identifier)}},{key:"registerFunction",value:function(t){var n=this.toFunction(t);return this.cache.set(t.id.identifier,n),n}},{key:"registerStaticFunction",value:function(t,n){if(this.has(t))throw new Error("The given function id '"+t.identifier+"' is already used by another function registration, the id needs to be unique.");this.cache.set(t.identifier,n)}},{key:"has",value:function(t){return this.cache.has(t.identifier)}},{key:"toFunction",value:function(t){if(t.name){var n=t.argumentNames.join(", "),e=Function.apply(void 0,["return function "+t.name+" ("+n+") { "+t.body+"}"]);return e()}return Function.apply(void 0,[].concat(o()(t.argumentNames),[t.body]))}}]),t}()},function(t,n,e){"use strict";function r(t){t.registerStaticFunction(o.a.IDENTITY,i.a),t.registerStaticFunction(o.a.FILTER,u.a),t.registerStaticFunction(o.a.MAP,a.a),t.registerStaticFunction(o.a.PARALLEL_JOB_EXECUTOR,c.a),t.registerStaticFunction(o.a.RANGE,f.a),t.registerStaticFunction(o.a.REDUCE,s.a),t.registerStaticFunction(o.a.TO_ITERATOR,l.b)}var o=e(66),i=e(69),u=e(63),a=e(64),c=e(65),f=e(67),s=e(68),l=e(21);n.a=r},function(t,n,e){"use strict";var r=e(17),o=e.n(r),i=e(41),u=e.n(i),a=e(40),c=e.n(a),f=e(76),s=e.n(f),l=e(81),p=e.n(l),v=e(80),d=e.n(v),h=e(11),y=e.n(h),g=e(12),_=e.n(g),b=e(61),x=e(38);e.d(n,"a",function(){return O});var m=function(){function t(n,e){y()(this,t),this.name=n,this.slave=e}return _()(t,[{key:"enter",value:function(){}},{key:"onMessage",value:function(t){return!1}}]),t}(),O=function(t){function n(t){return y()(this,n),p()(this,(n.__proto__||s()(n)).call(this,"Default",t))}return d()(n,t),_()(n,[{key:"onMessage",value:function(t){return!!e.i(x.a)(t.data)&&(this.slave.id=t.data.workerId,this.slave.changeState(new w(this.slave)),!0)}}]),n}(m),w=function(t){function n(t){return y()(this,n),p()(this,(n.__proto__||s()(n)).call(this,"Idle",t))}return d()(n,t),_()(n,[{key:"onMessage",value:function(t){var n=this;if(!e.i(x.b)(t.data))return!1;var r=t.data.task,o=r.usedFunctionIds.filter(function(t){return!n.slave.functionCache.has(t)});if(0===o.length)this.slave.changeState(new E(this.slave,r));else{var i=c()(o),a=i[0],f=i.slice(1);this.slave.postMessage(x.c.apply(void 0,[a].concat(u()(f)))),this.slave.changeState(new S(this.slave,r))}return!0}}]),n}(m),S=function(t){function n(t,e){y()(this,n);var r=p()(this,(n.__proto__||s()(n)).call(this,"WaitingForFunctionDefinition",t));return r.task=e,r}return d()(n,t),_()(n,[{key:"onMessage",value:function(t){var n=t.data;if(e.i(x.d)(n)){if(n.missingFunctions.length>0){var r=n.missingFunctions.map(function(t){return t.identifier}).join(", ");this.slave.postMessage(e.i(x.e)(new Error("The function ids ["+r+"] could not be resolved by slave "+this.slave.id+"."))),this.slave.changeState(new w(this.slave))}else{var i=!0,u=!1,a=void 0;try{for(var c,f=o()(n.functions);!(i=(c=f.next()).done);i=!0){var s=c.value;this.slave.functionCache.registerFunction(s)}}catch(t){u=!0,a=t}finally{try{!i&&f.return&&f.return()}finally{if(u)throw a}}this.slave.changeState(new E(this.slave,this.task))}return!0}return!1}}]),n}(m),E=function(t){function n(t,e){y()(this,n);var r=p()(this,(n.__proto__||s()(n)).call(this,"Executing",t));return r.task=e,r}return d()(n,t),_()(n,[{key:"enter",value:function(){var t=new b.a(this.slave.functionCache);try{var n=t.deserializeFunctionCall(this.task.main),r=n({functionCallDeserializer:t});this.slave.postMessage(e.i(x.f)(r))}catch(t){this.slave.postMessage(e.i(x.e)(t))}this.slave.changeState(new w(this.slave))}}]),n}(m)},function(t,n,e){"use strict";var r=e(11),o=e.n(r),i=e(12),u=e.n(i),a=e(37);e.d(n,"a",function(){return c});var c=function(){function t(n){o()(this,t),this.functionLookupTable=n}return u()(t,[{key:"deserializeFunctionCall",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.functionLookupTable.getFunction(t.functionId);if(!o)throw new Error("The function with the id "+t.functionId.identifier+" could not be retrieved while deserializing the function call. Is the function correctly registered?");var i=t.parameters||[];return r&&(i=i.map(function(t){return e.i(a.a)(t)?n.deserializeFunctionCall(t):t})),function(){for(var t=arguments.length,n=Array(t),e=0;e<t;e++)n[e]=arguments[e];return o.apply(void 0,i.concat(n))}}}]),t}()},function(t,n,e){"use strict";function r(t,n){return{_______isFunctionId:!0,identifier:t+"-"+n}}n.a=r},function(t,n,e){"use strict";function r(t,n,e){return{next:function(){for(var r=void 0;!(r=t.next()).done;)if(n(r.value,e))return r;return r}}}n.a=r},function(t,n,e){"use strict";function r(t,n,e){return{next:function(){var r=t.next();return r.done?{done:!0}:{done:r.done,value:n(r.value,e)}}}}n.a=r},function(t,n,e){"use strict";function r(t,n){var r={},o=!0,i=!1,a=void 0;try{for(var f,l=u()(t.environments);!(o=(f=l.next()).done);o=!0){var p=f.value,v=void 0;v=e.i(s.a)(p)?n.deserializeFunctionCall(p)():p,c()(r,v)}}catch(t){i=!0,a=t}finally{try{!o&&l.return&&l.return()}finally{if(i)throw a}}return c()({},{taskIndex:t.taskIndex,valuesPerTask:t.valuesPerTask},r)}function o(t,n){var o=n.functionCallDeserializer,i=r(t,o),a=o.deserializeFunctionCall(t.generator,!0),c=a(i),s=!0,l=!1,p=void 0;try{for(var v,d=u()(t.operations);!(s=(v=d.next()).done);s=!0){var h=v.value,y=o.deserializeFunctionCall(h.iterator),g=o.deserializeFunctionCall(h.iteratee);c=y(c,g,i)}}catch(t){l=!0,p=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw p}}return e.i(f.a)(c)}var i=e(17),u=e.n(i),a=e(72),c=e.n(a),f=e(21),s=e(37);n.a=o},function(t,n,e){"use strict";var r=e(62);e.d(n,"a",function(){return o});var o={FILTER:e.i(r.a)("parallel",0),IDENTITY:e.i(r.a)("parallel",1),MAP:e.i(r.a)("parallel",2),PARALLEL_JOB_EXECUTOR:e.i(r.a)("parallel",3),RANGE:e.i(r.a)("parallel",4),REDUCE:e.i(r.a)("parallel",5),TIMES:e.i(r.a)("parallel",6),TO_ITERATOR:e.i(r.a)("parallel",7)}},function(t,n,e){"use strict";function r(t,n,e){var r=n-t,o=Math.max(Math.floor(r/(e||1)),0),i=t;return{next:function(){var t=i;return i+=e,0!==o--?{done:!1,value:t}:{done:!0}}}}n.a=r},function(t,n,e){"use strict";function r(t,n,r,i){for(var u=t,a=void 0;!(a=n.next()).done;)u=r(u,a.value,i);return e.i(o.b)([u])}var o=e(21);n.a=r},function(t,n,e){"use strict";function r(t){return t}n.a=r},function(t,n,e){"use strict";var r=e(11),o=e.n(r),i=e(12),u=e.n(i);e.d(n,"a",function(){return a});var a=function(){function t(){o()(this,t),this.data={}}return u()(t,[{key:"get",value:function(t){var n=this.toInternalKey(t);return this.has(t)?this.data[n]:void 0}},{key:"has",value:function(t){return this.hasOwnProperty.call(this.data,this.toInternalKey(t))}},{key:"set",value:function(t,n){this.data[this.toInternalKey(t)]=n}},{key:"clear",value:function(){this.data={}}},{key:"toInternalKey",value:function(t){return"@"+t}}]),t}()},function(t,n,e){t.exports={default:e(84),__esModule:!0}},function(t,n,e){t.exports={default:e(85),__esModule:!0}},function(t,n,e){t.exports={default:e(86),__esModule:!0}},function(t,n,e){t.exports={default:e(87),__esModule:!0}},function(t,n,e){t.exports={default:e(88),__esModule:!0}},function(t,n,e){t.exports={default:e(89),__esModule:!0}},function(t,n,e){t.exports={default:e(90),__esModule:!0}},function(t,n,e){t.exports={default:e(91),__esModule:!0}},function(t,n,e){t.exports={default:e(92),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(77),i=r(o),u=e(73),a=r(u),c=e(42),f=r(c);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof n?"undefined":(0,f.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(i.default?(0,i.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(42),i=r(o);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==("undefined"==typeof n?"undefined":(0,i.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){e(36),e(114),t.exports=e(0).Array.from},function(t,n,e){e(56),e(36),t.exports=e(113)},function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,n,e){e(116),t.exports=e(0).Object.assign},function(t,n,e){e(117);var r=e(0).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(118);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(119);var r=e(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(120),t.exports=e(0).Object.getPrototypeOf},function(t,n,e){e(121),t.exports=e(0).Object.setPrototypeOf},function(t,n,e){e(123),e(122),e(124),e(125),t.exports=e(0).Symbol},function(t,n,e){e(36),e(56),t.exports=e(35).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(8),o=e(54),i=e(112);t.exports=function(t){return function(n,e,u){var a,c=r(n),f=o(c.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if(a=c[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(22),o=e(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),o))?e:i?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){"use strict";var r=e(4),o=e(16);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},function(t,n,e){var r=e(15),o=e(28),i=e(18);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&n.push(u);return n}},function(t,n,e){t.exports=e(3).document&&document.documentElement},function(t,n,e){var r=e(14),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(22);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(5);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){"use strict";var r=e(27),o=e(16),i=e(29),u={};e(10)(u,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(15),o=e(8);t.exports=function(t,n){for(var e,i=o(t),u=r(i),a=u.length,c=0;a>c;)if(i[e=u[c++]]===n)return e}},function(t,n,e){var r=e(20)("meta"),o=e(13),i=e(7),u=e(4).f,a=0,c=Object.isExtensible||function(){return!0},f=!e(9)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[r].w},v=function(t){return f&&d.NEED&&c(t)&&!i(t,r)&&s(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:v}},function(t,n,e){"use strict";var r=e(15),o=e(28),i=e(18),u=e(19),a=e(45),c=Object.assign;t.exports=!c||e(9)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=c({},t)[e]||Object.keys(c({},n)).join("")!=r})?function(t,n){for(var e=u(t),c=arguments.length,f=1,s=o.f,l=i.f;c>f;)for(var p,v=a(arguments[f++]),d=s?r(v).concat(s(v)):r(v),h=d.length,y=0;h>y;)l.call(v,p=d[y++])&&(e[p]=v[p]);return e}:c},function(t,n,e){var r=e(4),o=e(5),i=e(15);t.exports=e(6)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},function(t,n,e){var r=e(13),o=e(5),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(23)(Function.call,e(47).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(32),o=e(24);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):(i-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r=e(32),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(5),o=e(55);t.exports=e(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return r(n.call(t))}},function(t,n,e){"use strict";var r=e(23),o=e(2),i=e(19),u=e(102),a=e(100),c=e(54),f=e(97),s=e(55);o(o.S+o.F*!e(104)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,l,p=i(t),v="function"==typeof this?this:Array,d=arguments.length,h=d>1?arguments[1]:void 0,y=void 0!==h,g=0,_=s(p);if(y&&(h=r(h,d>2?arguments[2]:void 0,2)),void 0==_||v==Array&&a(_))for(n=c(p.length),e=new v(n);n>g;g++)f(e,g,y?h(p[g],g):p[g]);else for(l=_.call(p),e=new v;!(o=l.next()).done;g++)f(e,g,y?u(l,h,[o.value,g],!0):o.value);return e.length=g,e}})},function(t,n,e){"use strict";var r=e(94),o=e(105),i=e(14),u=e(8);t.exports=e(46)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(2);r(r.S+r.F,"Object",{assign:e(108)})},function(t,n,e){var r=e(2);r(r.S,"Object",{create:e(27)})},function(t,n,e){var r=e(2);r(r.S+r.F*!e(6),"Object",{defineProperty:e(4).f})},function(t,n,e){e(52)("getOwnPropertyNames",function(){return e(48).f})},function(t,n,e){var r=e(19),o=e(50);e(52)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(2);r(r.S,"Object",{setPrototypeOf:e(110).set})},function(t,n){},function(t,n,e){"use strict";var r=e(3),o=e(7),i=e(6),u=e(2),a=e(53),c=e(107).KEY,f=e(9),s=e(31),l=e(29),p=e(20),v=e(1),d=e(35),h=e(34),y=e(106),g=e(98),_=e(101),b=e(5),x=e(8),m=e(33),O=e(16),w=e(27),S=e(48),E=e(47),k=e(4),j=e(15),F=E.f,M=k.f,P=S.f,T=r.Symbol,A=r.JSON,I=A&&A.stringify,R="prototype",N=v("_hidden"),C=v("toPrimitive"),z={}.propertyIsEnumerable,L=s("symbol-registry"),D=s("symbols"),W=s("op-symbols"),J=Object[R],K="function"==typeof T,U=r.QObject,q=!U||!U[R]||!U[R].findChild,B=i&&f(function(){return 7!=w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=F(J,n);r&&delete J[n],M(t,n,e),r&&t!==J&&M(J,n,r)}:M,G=function(t){var n=D[t]=w(T[R]);return n._k=t,n},Y=K&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},X=function(t,n,e){return t===J&&X(W,n,e),b(t),n=m(n,!0),b(e),o(D,n)?(e.enumerable?(o(t,N)&&t[N][n]&&(t[N][n]=!1),e=w(e,{enumerable:O(0,!1)})):(o(t,N)||M(t,N,O(1,{})),t[N][n]=!0),B(t,n,e)):M(t,n,e)},Q=function(t,n){b(t);for(var e,r=g(n=x(n)),o=0,i=r.length;i>o;)X(t,e=r[o++],n[e]);return t},H=function(t,n){return void 0===n?w(t):Q(w(t),n)},V=function(t){var n=z.call(this,t=m(t,!0));return!(this===J&&o(D,t)&&!o(W,t))&&(!(n||!o(this,t)||!o(D,t)||o(this,N)&&this[N][t])||n)},Z=function(t,n){if(t=x(t),n=m(n,!0),t!==J||!o(D,n)||o(W,n)){var e=F(t,n);return!e||!o(D,n)||o(t,N)&&t[N][n]||(e.enumerable=!0),e}},$=function(t){for(var n,e=P(x(t)),r=[],i=0;e.length>i;)o(D,n=e[i++])||n==N||n==c||r.push(n);return r},tt=function(t){for(var n,e=t===J,r=P(e?W:x(t)),i=[],u=0;r.length>u;)!o(D,n=r[u++])||e&&!o(J,n)||i.push(D[n]);return i};K||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===J&&n.call(W,e),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),B(this,t,O(1,e))};return i&&q&&B(J,t,{configurable:!0,set:n}),G(t)},a(T[R],"toString",function(){return this._k}),E.f=Z,k.f=X,e(49).f=S.f=$,e(18).f=V,e(28).f=tt,i&&!e(26)&&a(J,"propertyIsEnumerable",V,!0),d.f=function(t){return G(v(t))}),u(u.G+u.W+u.F*!K,{Symbol:T});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)v(nt[et++]);for(var nt=j(v.store),et=0;nt.length>et;)h(nt[et++]);u(u.S+u.F*!K,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=T(t)},keyFor:function(t){if(Y(t))return y(L,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),u(u.S+u.F*!K,"Object",{create:H,defineProperty:X,defineProperties:Q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:tt}),A&&u(u.S+u.F*(!K||f(function(){var t=T();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!Y(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&_(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!Y(n))return n}),r[1]=n,I.apply(A,r)}}}),T[R][C]||e(10)(T[R],C,T[R].valueOf),l(T,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(34)("asyncIterator")},function(t,n,e){e(34)("observable")},function(t,n,e){"use strict";var r=e(57),o=e(58),i=e(59),slaveFunctionLookupTable=new o.a;e.i(i.a)(slaveFunctionLookupTable);/** @preserve WORKER_SLAVE_STATIC_FUNCTIONS_PLACEHOLDER */
!function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=123)}([function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(29)("wks"),o=e(18),i=e(2).Symbol,u="function"==typeof i,a=t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))};a.store=r},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(4),o=e(43),i=e(32),u=Object.defineProperty;n.f=e(5)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(13);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(2),o=e(0),i=e(21),u=e(9),a="prototype",c=function(t,n,e){var f,s,l,p=t&c.F,v=t&c.G,d=t&c.S,h=t&c.P,y=t&c.B,g=t&c.W,_=v?o:o[n]||(o[n]={}),b=_[a],x=v?r:d?r[n]:(r[n]||{})[a];v&&(e=n);for(f in e)s=!p&&x&&void 0!==x[f],s&&f in _||(l=s?x[f]:e[f],_[f]=v&&"function"!=typeof x[f]?e[f]:y&&s?i(l,r):g&&x[f]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[a]=t[a],n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((_.virtual||(_.virtual={}))[f]=l,t&c.R&&b&&!b[f]&&u(b,f,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(98),o=e(22);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(3),o=e(15);t.exports=e(5)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(73),i=r(o);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){t.exports={default:e(82),__esModule:!0}},function(t,n,e){var r=e(50),o=e(23);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";function r(t){return a()(t)}function o(t){for(var n=[],e=void 0;!(e=t.next()).done;)n.push(e.value);return n}var i=e(39),u=(e.n(i),e(16)),a=e.n(u);n.b=r,n.a=o},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(91);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=!0},function(t,n,e){var r=e(4),o=e(107),i=e(23),u=e(28)("IE_PROTO"),a=function(){},c="prototype",f=function(){var t,n=e(42)("iframe"),r=i.length,o="<",u=">";for(n.style.display="none",e(97).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+u+"document.F=Object"+o+"/script"+u),t.close(),f=t.F;r--;)delete f[c][i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[c]=r(t),e=new a,a[c]=null,e[u]=t):e=f(),void 0===n?e:o(e,n)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(3).f,o=e(7),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(29)("keys"),o=e(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(2),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(22);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(13);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(2),o=e(0),i=e(24),u=e(34),a=e(3).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){n.f=e(1)},function(t,n,e){"use strict";var r=e(109)(!0);e(44)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";function r(t){return!!t&&t.______serializedFunctionCall===!0}n.a=r},function(t,n,e){"use strict";function r(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return{functionIds:[t].concat(e),type:y.FunctionRequest}}function o(t){return{result:t,type:y.WorkerResult}}function i(t){var n={},e=!0,r=!1,o=void 0;try{for(var i,u=h()(v()(t));!(e=(i=u.next()).done);e=!0){var a=i.value;n[a]=l()(t[a])}}catch(t){r=!0,o=t}finally{try{!e&&u.return&&u.return()}finally{if(r)throw o}}return{error:n,type:y.FunctionExecutionError}}function u(t){return t.type===y.ScheduleTask}function a(t){return t.type===y.InitializeWorker}function c(t){return t.type===y.FunctionResponse}function f(t){return t.type===y.Stop}var s=e(71),l=e.n(s),p=e(74),v=e.n(p),d=e(16),h=e.n(d);n.c=r,n.f=o,n.e=i,n.b=u,n.a=a,n.d=c,n.g=f;var y;!function(t){t[t.InitializeWorker=0]="InitializeWorker",t[t.ScheduleTask=1]="ScheduleTask",t[t.FunctionRequest=2]="FunctionRequest",t[t.FunctionResponse=3]="FunctionResponse",t[t.WorkerResult=4]="WorkerResult",t[t.FunctionExecutionError=5]="FunctionExecutionError",t[t.Stop=6]="Stop"}(y||(y={}))},function(t,n,e){t.exports={default:e(81),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(38),i=r(o);n.default=function(t){return Array.isArray(t)?t:(0,i.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(38),i=r(o);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,i.default)(t)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(78),i=r(o),u=e(77),a=r(u),c="function"==typeof a.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===c(i.default)?function(t){return"undefined"==typeof t?"undefined":c(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":c(t)}},function(t,n,e){var r=e(13),o=e(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=!e(5)&&!e(12)(function(){return 7!=Object.defineProperty(e(42)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){"use strict";var r=e(24),o=e(6),i=e(52),u=e(9),a=e(7),c=e(14),f=e(102),s=e(27),l=e(49),p=e(1)("iterator"),v=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",y="values",g=function(){return this};t.exports=function(t,n,e,_,b,x,w){f(e,n,_);var m,O,S,E=function(t){if(!v&&t in j)return j[t];switch(t){case h:return function(){return new e(this,t)};case y:return function(){return new e(this,t)}}return function(){return new e(this,t)}},k=n+" Iterator",F=b==y,M=!1,j=t.prototype,P=j[p]||j[d]||b&&j[b],T=P||E(b),A=b?F?E("entries"):T:void 0,I="Array"==n?j.entries||P:P;if(I&&(S=l(I.call(new t)),S!==Object.prototype&&(s(S,k,!0),r||a(S,p)||u(S,p,g))),F&&P&&P.name!==y&&(M=!0,T=function(){return P.call(this)}),r&&!w||!v&&!M&&j[p]||u(j,p,T),c[n]=T,c[k]=g,b)if(m={values:F?T:E(y),keys:x?T:E(h),entries:A},w)for(O in m)O in j||i(j,O,m[O]);else o(o.P+o.F*(v||M),n,m);return m}},function(t,n,e){var r=e(26),o=e(15),i=e(8),u=e(32),a=e(7),c=e(43),f=Object.getOwnPropertyDescriptor;n.f=e(5)?f:function(t,n){if(t=i(t),n=u(n,!0),c)try{return f(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(8),o=e(47).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,n,e){var r=e(50),o=e(23).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(7),o=e(31),i=e(28)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(7),o=e(8),i=e(93)(!1),u=e(28)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,f=[];for(e in a)e!=u&&r(a,e)&&f.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(6),o=e(0),i=e(12);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n,e){t.exports=e(9)},function(t,n,e){var r=e(30),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(94),o=e(1)("iterator"),i=e(14);t.exports=e(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){e(113);for(var r=e(2),o=e(9),i=e(14),u=e(1)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],c=0;c<5;c++){var f=a[c],s=r[f],l=s&&s.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},function(t,n,e){"use strict";var r=e(10),o=e.n(r),i=e(11),u=e.n(i),a=e(37),c=e(59);e.d(n,"a",function(){return f});var f=function(){function t(n){o()(this,t),this.functionCache=n,this.id=Number.NaN,this.state=new c.a(this)}return u()(t,[{key:"changeState",value:function(t){this.state=t,this.state.enter()}},{key:"onMessage",value:function(t){if(e.i(a.g)(t.data))close();else if(!this.state.onMessage(t))throw new Error("Message with type "+t.data.type+" cannot be handled by slave "+this)}},{key:"postMessage",value:function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(t){postMessage(t)})},{key:"toString",value:function(){return"BrowserSlave { id: "+this.id+", state: '"+this.state.name+"' }"}}]),t}()},function(t,n,e){"use strict";var r=e(40),o=e.n(r),i=e(10),u=e.n(i),a=e(11),c=e.n(a),f=e(70);e.d(n,"a",function(){return s});var s=function(){function t(){u()(this,t),this.cache=new f.a}return c()(t,[{key:"getFunction",value:function(t){return this.cache.get(t.identifier)}},{key:"registerFunction",value:function(t){var n=this.toFunction(t);return this.cache.set(t.id.identifier,n),n}},{key:"registerStaticFunction",value:function(t,n){if(this.has(t))throw new Error("The given function id '"+t.identifier+"' is already used by another function registration, the id needs to be unique.");this.cache.set(t.identifier,n)}},{key:"has",value:function(t){return this.cache.has(t.identifier)}},{key:"toFunction",value:function(t){if(t.name){var n=t.argumentNames.join(", "),e=Function.apply(void 0,["return function "+t.name+" ("+n+") { "+t.body+"}"]);return e()}return Function.apply(void 0,[].concat(o()(t.argumentNames),[t.body]))}}]),t}()},function(t,n,e){"use strict";function r(t){t.registerStaticFunction(o.a.IDENTITY,i.a),t.registerStaticFunction(o.a.FILTER,u.a),t.registerStaticFunction(o.a.MAP,a.a),t.registerStaticFunction(o.a.PARALLEL_JOB_EXECUTOR,c.a),t.registerStaticFunction(o.a.RANGE,f.a),t.registerStaticFunction(o.a.REDUCE,s.a),t.registerStaticFunction(o.a.TO_ITERATOR,l.b)}var o=e(65),i=e(69),u=e(62),a=e(63),c=e(64),f=e(66),s=e(67),l=e(19);n.a=r},function(t,n,e){"use strict";var r=e(16),o=e.n(r),i=e(40),u=e.n(i),a=e(39),c=e.n(a),f=e(75),s=e.n(f),l=e(80),p=e.n(l),v=e(79),d=e.n(v),h=e(10),y=e.n(h),g=e(11),_=e.n(g),b=e(60),x=e(37);e.d(n,"a",function(){return m});var w=function(){function t(n,e){y()(this,t),this.name=n,this.slave=e}return _()(t,[{key:"enter",value:function(){}},{key:"onMessage",value:function(t){return!1}}]),t}(),m=function(t){function n(t){return y()(this,n),p()(this,(n.__proto__||s()(n)).call(this,"Default",t))}return d()(n,t),_()(n,[{key:"onMessage",value:function(t){return!!e.i(x.a)(t.data)&&(this.slave.id=t.data.workerId,this.slave.changeState(new O(this.slave)),!0)}}]),n}(w),O=function(t){function n(t){return y()(this,n),p()(this,(n.__proto__||s()(n)).call(this,"Idle",t))}return d()(n,t),_()(n,[{key:"onMessage",value:function(t){var n=this;if(!e.i(x.b)(t.data))return!1;var r=t.data.task,o=r.usedFunctionIds.filter(function(t){return!n.slave.functionCache.has(t)});if(0===o.length)this.slave.changeState(new E(this.slave,r));else{var i=c()(o),a=i[0],f=i.slice(1);this.slave.postMessage(x.c.apply(void 0,[a].concat(u()(f)))),this.slave.changeState(new S(this.slave,r))}return!0}}]),n}(w),S=function(t){function n(t,e){y()(this,n);var r=p()(this,(n.__proto__||s()(n)).call(this,"WaitingForFunctionDefinition",t));return r.task=e,r}return d()(n,t),_()(n,[{key:"onMessage",value:function(t){var n=t.data;if(e.i(x.d)(n)){if(n.missingFunctions.length>0){var r=n.missingFunctions.map(function(t){return t.identifier}).join(", ");this.slave.postMessage(e.i(x.e)(new Error("The function ids ["+r+"] could not be resolved by slave "+this.slave.id+"."))),this.slave.changeState(new O(this.slave))}else{var i=!0,u=!1,a=void 0;try{for(var c,f=o()(n.functions);!(i=(c=f.next()).done);i=!0){var s=c.value;this.slave.functionCache.registerFunction(s)}}catch(t){u=!0,a=t}finally{try{!i&&f.return&&f.return()}finally{if(u)throw a}}this.slave.changeState(new E(this.slave,this.task))}return!0}return!1}}]),n}(w),E=function(t){function n(t,e){y()(this,n);var r=p()(this,(n.__proto__||s()(n)).call(this,"Executing",t));return r.task=e,r}return d()(n,t),_()(n,[{key:"enter",value:function(){var t=new b.a(this.slave.functionCache);try{var n=t.deserializeFunctionCall(this.task.main),r=n({functionCallDeserializer:t});this.slave.postMessage(e.i(x.f)(r))}catch(t){this.slave.postMessage(e.i(x.e)(t))}this.slave.changeState(new O(this.slave))}}]),n}(w)},function(t,n,e){"use strict";var r=e(10),o=e.n(r),i=e(11),u=e.n(i),a=e(36);e.d(n,"a",function(){return c});var c=function(){function t(n){o()(this,t),this.functionLookupTable=n}return u()(t,[{key:"deserializeFunctionCall",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.functionLookupTable.getFunction(t.functionId);if(!o)throw new Error("The function with the id "+t.functionId.identifier+" could not be retrieved while deserializing the function call. Is the function correctly registered?");var i=t.parameters||[];return r&&(i=i.map(function(t){return e.i(a.a)(t)?n.deserializeFunctionCall(t):t})),function(){for(var t=arguments.length,n=Array(t),e=0;e<t;e++)n[e]=arguments[e];return o.apply(void 0,i.concat(n))}}}]),t}()},function(t,n,e){"use strict";function r(t,n){return{_______isFunctionId:!0,identifier:t+"-"+n}}n.a=r},function(t,n,e){"use strict";function r(t,n,e){return{next:function(){for(var r=void 0;!(r=t.next()).done;)if(n(r.value,e))return r;return r}}}n.a=r},function(t,n,e){"use strict";function r(t,n,e){return{next:function(){var r=t.next();return r.done?{done:!0}:{done:r.done,value:n(r.value,e)}}}}n.a=r},function(t,n,e){"use strict";function r(t,n){var r={},o=!0,i=!1,a=void 0;try{for(var s,l=u()(t.environments);!(o=(s=l.next()).done);o=!0){var p=s.value,v=void 0;v=e.i(c.a)(p)?n.deserializeFunctionCall(p)():p,e.i(f.a)(r,v)}}catch(t){i=!0,a=t}finally{try{!o&&l.return&&l.return()}finally{if(i)throw a}}return e.i(f.a)({},{taskIndex:t.taskIndex,valuesPerTask:t.valuesPerTask},r)}function o(t,n){var o=n.functionCallDeserializer,i=r(t,o),c=o.deserializeFunctionCall(t.generator,!0),f=c(i),s=!0,l=!1,p=void 0;try{for(var v,d=u()(t.operations);!(s=(v=d.next()).done);s=!0){var h=v.value,y=o.deserializeFunctionCall(h.iterator),g=o.deserializeFunctionCall(h.iteratee);f=y(f,g,i)}}catch(t){l=!0,p=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw p}}return e.i(a.a)(f)}var i=e(16),u=e.n(i),a=e(19),c=e(36),f=e(68);n.a=o},function(t,n,e){"use strict";var r=e(61);e.d(n,"a",function(){return o});var o={FILTER:e.i(r.a)("parallel",0),IDENTITY:e.i(r.a)("parallel",1),MAP:e.i(r.a)("parallel",2),PARALLEL_JOB_EXECUTOR:e.i(r.a)("parallel",3),RANGE:e.i(r.a)("parallel",4),REDUCE:e.i(r.a)("parallel",5),TIMES:e.i(r.a)("parallel",6),TO_ITERATOR:e.i(r.a)("parallel",7)}},function(t,n,e){"use strict";function r(t,n,e){var r=n-t,o=Math.max(Math.floor(r/(e||1)),0),i=t;return{next:function(){var t=i;return i+=e,0!==o--?{done:!1,value:t}:{done:!0}}}}n.a=r},function(t,n,e){"use strict";function r(t,n,r,i){for(var u=t,a=void 0;!(a=n.next()).done;)u=r(u,a.value,i);return e.i(o.b)([u])}var o=e(19);n.a=r},function(t,n,e){"use strict";function r(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];if(null==t)throw new TypeError("Cannot convert undefined or null to object");t=Object(t);for(var o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i)for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(t[u]=i[u])}return t}n.a=r},function(t,n,e){"use strict";function r(t){return t}n.a=r},function(t,n,e){"use strict";var r=e(10),o=e.n(r),i=e(11),u=e.n(i);e.d(n,"a",function(){return a});var a=function(){function t(){o()(this,t),this.data={}}return u()(t,[{key:"get",value:function(t){var n=this.toInternalKey(t);return this.has(t)?this.data[n]:void 0}},{key:"has",value:function(t){return this.hasOwnProperty.call(this.data,this.toInternalKey(t))}},{key:"set",value:function(t,n){this.data[this.toInternalKey(t)]=n}},{key:"clear",value:function(){this.data={}}},{key:"toInternalKey",value:function(t){return"@"+t}}]),t}()},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n,e){t.exports={default:e(84),__esModule:!0}},function(t,n,e){t.exports={default:e(85),__esModule:!0}},function(t,n,e){t.exports={default:e(86),__esModule:!0}},function(t,n,e){t.exports={default:e(87),__esModule:!0}},function(t,n,e){t.exports={default:e(88),__esModule:!0}},function(t,n,e){t.exports={default:e(89),__esModule:!0}},function(t,n,e){t.exports={default:e(90),__esModule:!0}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(76),i=r(o),u=e(72),a=r(u),c=e(41),f=r(c);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof n?"undefined":(0,f.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(i.default?(0,i.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(41),i=r(o);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==("undefined"==typeof n?"undefined":(0,i.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){e(35),e(112),t.exports=e(0).Array.from},function(t,n,e){e(55),e(35),t.exports=e(111)},function(t,n,e){var r=e(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,n,e){e(114);var r=e(0).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(115);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(116);var r=e(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(117),t.exports=e(0).Object.getPrototypeOf},function(t,n,e){e(118),t.exports=e(0).Object.setPrototypeOf},function(t,n,e){e(120),e(119),e(121),e(122),t.exports=e(0).Symbol},function(t,n,e){e(35),e(55),t.exports=e(34).f("iterator")},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){t.exports=function(){}},function(t,n,e){var r=e(8),o=e(53),i=e(110);t.exports=function(t){return function(n,e,u){var a,c=r(n),f=o(c.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if(a=c[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(20),o=e(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),o))?e:i?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){"use strict";var r=e(3),o=e(15);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},function(t,n,e){var r=e(17),o=e(48),i=e(26);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&n.push(u);return n}},function(t,n,e){t.exports=e(2).document&&document.documentElement},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(14),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(4);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){"use strict";var r=e(25),o=e(15),i=e(27),u={};e(9)(u,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(t){}return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(17),o=e(8);t.exports=function(t,n){for(var e,i=o(t),u=r(i),a=u.length,c=0;a>c;)if(i[e=u[c++]]===n)return e}},function(t,n,e){var r=e(18)("meta"),o=e(13),i=e(7),u=e(3).f,a=0,c=Object.isExtensible||function(){return!0},f=!e(12)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[r].i},p=function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[r].w},v=function(t){return f&&d.NEED&&c(t)&&!i(t,r)&&s(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:v}},function(t,n,e){var r=e(3),o=e(4),i=e(17);t.exports=e(5)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},function(t,n,e){var r=e(13),o=e(4),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(21)(Function.call,e(45).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(30),o=e(22);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):(i-55296<<10)+(u-56320)+65536)}}},function(t,n,e){var r=e(30),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(4),o=e(54);t.exports=e(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return r(n.call(t))}},function(t,n,e){"use strict";var r=e(21),o=e(6),i=e(31),u=e(101),a=e(99),c=e(53),f=e(95),s=e(54);o(o.S+o.F*!e(103)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,l,p=i(t),v="function"==typeof this?this:Array,d=arguments.length,h=d>1?arguments[1]:void 0,y=void 0!==h,g=0,_=s(p);if(y&&(h=r(h,d>2?arguments[2]:void 0,2)),void 0==_||v==Array&&a(_))for(n=c(p.length),e=new v(n);n>g;g++)f(e,g,y?h(p[g],g):p[g]);else for(l=_.call(p),e=new v;!(o=l.next()).done;g++)f(e,g,y?u(l,h,[o.value,g],!0):o.value);return e.length=g,e}})},function(t,n,e){"use strict";var r=e(92),o=e(104),i=e(14),u=e(8);t.exports=e(44)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(6);r(r.S,"Object",{create:e(25)})},function(t,n,e){var r=e(6);r(r.S+r.F*!e(5),"Object",{defineProperty:e(3).f})},function(t,n,e){e(51)("getOwnPropertyNames",function(){return e(46).f})},function(t,n,e){var r=e(31),o=e(49);e(51)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(6);r(r.S,"Object",{setPrototypeOf:e(108).set})},function(t,n){},function(t,n,e){"use strict";var r=e(2),o=e(7),i=e(5),u=e(6),a=e(52),c=e(106).KEY,f=e(12),s=e(29),l=e(27),p=e(18),v=e(1),d=e(34),h=e(33),y=e(105),g=e(96),_=e(100),b=e(4),x=e(8),w=e(32),m=e(15),O=e(25),S=e(46),E=e(45),k=e(3),F=e(17),M=E.f,j=k.f,P=S.f,T=r.Symbol,A=r.JSON,I=A&&A.stringify,R="prototype",C=v("_hidden"),N=v("toPrimitive"),z={}.propertyIsEnumerable,L=s("symbol-registry"),D=s("symbols"),W=s("op-symbols"),J=Object[R],K="function"==typeof T,U=r.QObject,B=!U||!U[R]||!U[R].findChild,G=i&&f(function(){return 7!=O(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=M(J,n);r&&delete J[n],j(t,n,e),r&&t!==J&&j(J,n,r)}:j,q=function(t){var n=D[t]=O(T[R]);return n._k=t,n},Y=K&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},X=function(t,n,e){return t===J&&X(W,n,e),b(t),n=w(n,!0),b(e),o(D,n)?(e.enumerable?(o(t,C)&&t[C][n]&&(t[C][n]=!1),e=O(e,{enumerable:m(0,!1)})):(o(t,C)||j(t,C,m(1,{})),t[C][n]=!0),G(t,n,e)):j(t,n,e)},Q=function(t,n){b(t);for(var e,r=g(n=x(n)),o=0,i=r.length;i>o;)X(t,e=r[o++],n[e]);return t},H=function(t,n){return void 0===n?O(t):Q(O(t),n)},V=function(t){var n=z.call(this,t=w(t,!0));return!(this===J&&o(D,t)&&!o(W,t))&&(!(n||!o(this,t)||!o(D,t)||o(this,C)&&this[C][t])||n)},Z=function(t,n){if(t=x(t),n=w(n,!0),t!==J||!o(D,n)||o(W,n)){var e=M(t,n);return!e||!o(D,n)||o(t,C)&&t[C][n]||(e.enumerable=!0),e}},$=function(t){for(var n,e=P(x(t)),r=[],i=0;e.length>i;)o(D,n=e[i++])||n==C||n==c||r.push(n);return r},tt=function(t){for(var n,e=t===J,r=P(e?W:x(t)),i=[],u=0;r.length>u;)!o(D,n=r[u++])||e&&!o(J,n)||i.push(D[n]);return i};K||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===J&&n.call(W,e),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),G(this,t,m(1,e))};return i&&B&&G(J,t,{configurable:!0,set:n}),q(t)},a(T[R],"toString",function(){return this._k}),E.f=Z,k.f=X,e(47).f=S.f=$,e(26).f=V,e(48).f=tt,i&&!e(24)&&a(J,"propertyIsEnumerable",V,!0),d.f=function(t){return q(v(t))}),u(u.G+u.W+u.F*!K,{Symbol:T});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)v(nt[et++]);for(var nt=F(v.store),et=0;nt.length>et;)h(nt[et++]);u(u.S+u.F*!K,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=T(t)},keyFor:function(t){if(Y(t))return y(L,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){B=!0},useSimple:function(){B=!1}}),u(u.S+u.F*!K,"Object",{create:H,defineProperty:X,defineProperties:Q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:$,getOwnPropertySymbols:tt}),A&&u(u.S+u.F*(!K||f(function(){var t=T();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!Y(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&_(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!Y(n))return n}),r[1]=n,I.apply(A,r)}}}),T[R][N]||e(9)(T[R],N,T[R].valueOf),l(T,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){e(33)("asyncIterator")},function(t,n,e){e(33)("observable")},function(t,n,e){"use strict";var r=e(56),o=e(57),i=e(58),slaveFunctionLookupTable=new o.a;e.i(i.a)(slaveFunctionLookupTable);/** @preserve WORKER_SLAVE_STATIC_FUNCTIONS_PLACEHOLDER */
var u=new r.a(slaveFunctionLookupTable);onmessage=function(){u.onMessage.apply(u,arguments)}}]);
//# sourceMappingURL=worker-slave.parallel.js.map
{
"name": "parallel-es",
"version": "0.1.9",
"version": "0.1.10",
"description": "Simple parallelization for EcmaScript",

@@ -5,0 +5,0 @@ "main": "./dist/node.parallel.js",

@@ -5,2 +5,3 @@ import {IParallelEnvironment} from "./parallel-environment";

import {FunctionCallSerializer} from "../function/function-call-serializer";
import {assign} from "../util/assign";

@@ -39,3 +40,3 @@ /**

if (!(environment instanceof FunctionCall) && this.environments.length > 0 && !(this.environments[this.environments.length - 1] instanceof FunctionCall)) {
newEnvironments[newEnvironments.length - 1] = Object.assign({}, newEnvironments[newEnvironments.length - 1], environment);
newEnvironments[newEnvironments.length - 1] = assign({}, newEnvironments[newEnvironments.length - 1], environment);
} else {

@@ -42,0 +43,0 @@ newEnvironments.push(environment);

@@ -12,2 +12,3 @@ import {IParallel} from "./parallel";

import {FunctionCall} from "../function/function-call";
import {assign} from "../util/assign";

@@ -28,3 +29,3 @@ export function parallelFactory(defaultOptions: IDefaultInitializedParallelOptions): IParallel {

return Object.assign({}, defaultOptions, userOptions) as IDefaultInitializedParallelOptions;
return assign({}, defaultOptions, userOptions) as IDefaultInitializedParallelOptions;
}

@@ -37,3 +38,3 @@

} else {
return Object.assign({}, defaultOptions);
return assign({}, defaultOptions);
}

@@ -40,0 +41,0 @@ },

@@ -5,2 +5,3 @@ import {toArray} from "../../util/arrays";

import {ISerializedParallelOperation, IParallelEnvironment, IParallelTaskEnvironment} from "../";
import {assign} from "../../util/assign";

@@ -47,6 +48,6 @@ /**

}
Object.assign(taskEnvironment, currentEnvironment);
assign(taskEnvironment, currentEnvironment);
}
return Object.assign({}, { taskIndex: definition.taskIndex, valuesPerTask: definition.valuesPerTask }, taskEnvironment);
return assign({}, { taskIndex: definition.taskIndex, valuesPerTask: definition.valuesPerTask }, taskEnvironment);
}

@@ -53,0 +54,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc