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

@cycle/time

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cycle/time - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

16

CHANGELOG.md

@@ -0,1 +1,17 @@

<a name="0.12.0"></a>
# 0.12.0 (2017-12-28)
### Bug Fixes
* **time:** fix error propagation ([82f313e](https://github.com/cyclejs/cyclejs/commit/82f313e))
* **time:** fix raf import ([18340cb](https://github.com/cyclejs/cyclejs/commit/18340cb))
### Features
* **time:** add dispose function to TimeSource ([e36b4d9](https://github.com/cyclejs/cyclejs/commit/e36b4d9))
<a name="0.11.0"></a>

@@ -2,0 +18,0 @@ # 0.11.0 (2017-12-28)

244

dist/cycle-time.min.js

@@ -7,123 +7,123 @@ /*

*/
(function(ea){"object"===typeof exports&&"undefined"!==typeof module?module.exports=ea():"function"===typeof define&&define.amd?define([],ea):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).CycleTime=ea()})(function(){return function f(h,e,a){function k(b,g){if(!e[b]){if(!h[b]){var l="function"==typeof require&&require;if(!g&&l)return l(b,!0);if(d)return d(b,!0);g=Error("Cannot find module '"+b+"'");throw g.code="MODULE_NOT_FOUND",g;}g=e[b]=
{exports:{}};h[b][0].call(g.exports,function(a){var d=h[b][1][a];return k(d?d:a)},g,g.exports,f,h,e,a)}return e[b].exports}for(var d="function"==typeof require&&require,b=0;b<a.length;b++)k(a[b]);return k}({1:[function(f,h,e){(function(a){function k(a,b){if(a===b)return 0;for(var r=a.length,d=b.length,q=0,c=Math.min(r,d);q<c;++q)if(a[q]!==b[q]){r=a[q];d=b[q];break}return r<d?-1:d<r?1:0}function d(b){return a.Buffer&&"function"===typeof a.Buffer.isBuffer?a.Buffer.isBuffer(b):!(null==b||!b._isBuffer)}
function b(b){return d(b)||"function"!==typeof a.ArrayBuffer?!1:"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(b):b?b instanceof DataView||b.buffer&&b.buffer instanceof ArrayBuffer?!0:!1:!1}function e(a){if(B.isFunction(a))return G?a.name:(a=a.toString().match(I))&&a[1]}function g(a,b){return"string"===typeof a?a.length<b?a:a.slice(0,b):a}function l(a){if(G||!B.isFunction(a))return B.inspect(a);a=e(a);return"[Function"+(a?": "+a:"")+"]"}function n(a,b,r,d,q){throw new w.AssertionError({message:r,
actual:a,expected:b,operator:d,stackStartFunction:q});}function c(a,b){a||n(a,!0,b,"\x3d\x3d",w.ok)}function m(a,c,r,g){if(a===c)return!0;if(d(a)&&d(c))return 0===k(a,c);if(B.isDate(a)&&B.isDate(c))return a.getTime()===c.getTime();if(B.isRegExp(a)&&B.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.multiline===c.multiline&&a.lastIndex===c.lastIndex&&a.ignoreCase===c.ignoreCase;if(null!==a&&"object"===typeof a||null!==c&&"object"===typeof c){if(!b(a)||!b(c)||Object.prototype.toString.call(a)!==
Object.prototype.toString.call(c)||a instanceof Float32Array||a instanceof Float64Array){if(d(a)!==d(c))return!1;g=g||{actual:[],expected:[]};var q=g.actual.indexOf(a);if(-1!==q&&q===g.expected.indexOf(c))return!0;g.actual.push(a);g.expected.push(c);return y(a,c,r,g)}return 0===k(new Uint8Array(a.buffer),new Uint8Array(c.buffer))}return r?a===c:a==c}function t(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function y(a,b,c,d){if(null===a||void 0===a||null===b||void 0===b)return!1;
if(B.isPrimitive(a)||B.isPrimitive(b))return a===b;if(c&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var r=t(a),g=t(b);if(r&&!g||!r&&g)return!1;if(r)return a=z.call(a),b=z.call(b),m(a,b,c);var r=J(a),E=J(b);if(r.length!==E.length)return!1;r.sort();E.sort();for(g=r.length-1;0<=g;g--)if(r[g]!==E[g])return!1;for(g=r.length-1;0<=g;g--)if(E=r[g],!m(a[E],b[E],c,d))return!1;return!0}function A(a,b,c){m(a,b,!0)&&n(a,b,c,"notDeepStrictEqual",A)}function p(a,b){if(!a||!b)return!1;if("[object RegExp]"==
Object.prototype.toString.call(b))return b.test(a);try{if(a instanceof b)return!0}catch(r){}return Error.isPrototypeOf(b)?!1:!0===b.call({},a)}function C(a,b,c,d){if("function"!==typeof b)throw new TypeError('"block" argument must be a function');"string"===typeof c&&(d=c,c=null);try{b()}catch(M){var g=M}b=g;d=(c&&c.name?" ("+c.name+").":".")+(d?" "+d:".");a&&!b&&n(b,c,"Missing expected exception"+d);g="string"===typeof d;var r=!a&&B.isError(b),E=!a&&b&&!c;(r&&g&&p(b,c)||E)&&n(b,c,"Got unwanted exception"+
d);if(a&&b&&c&&!p(b,c)||!a&&b)throw b;}var B=f("util/"),v=Object.prototype.hasOwnProperty,z=Array.prototype.slice,G=function(){return"foo"===function(){}.name}(),w=h.exports=c,I=/\s*function\s+([^\(\s]*)\s*/;w.AssertionError=function(a){this.name="AssertionError";this.actual=a.actual;this.expected=a.expected;this.operator=a.operator;a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=g(l(this.actual),128)+" "+this.operator+" "+g(l(this.expected),128),this.generatedMessage=!0);
var b=a.stackStartFunction||n;Error.captureStackTrace?Error.captureStackTrace(this,b):(a=Error(),a.stack&&(a=a.stack,b=e(b),b=a.indexOf("\n"+b),0<=b&&(b=a.indexOf("\n",b+1),a=a.substring(b+1)),this.stack=a))};B.inherits(w.AssertionError,Error);w.fail=n;w.ok=c;w.equal=function(a,b,c){a!=b&&n(a,b,c,"\x3d\x3d",w.equal)};w.notEqual=function(a,b,c){a==b&&n(a,b,c,"!\x3d",w.notEqual)};w.deepEqual=function(a,b,c){m(a,b,!1)||n(a,b,c,"deepEqual",w.deepEqual)};w.deepStrictEqual=function(a,b,c){m(a,b,!0)||n(a,
b,c,"deepStrictEqual",w.deepStrictEqual)};w.notDeepEqual=function(a,b,c){m(a,b,!1)&&n(a,b,c,"notDeepEqual",w.notDeepEqual)};w.notDeepStrictEqual=A;w.strictEqual=function(a,b,c){a!==b&&n(a,b,c,"\x3d\x3d\x3d",w.strictEqual)};w.notStrictEqual=function(a,b,c){a===b&&n(a,b,c,"!\x3d\x3d",w.notStrictEqual)};w.throws=function(a,b,c){C(!0,a,b,c)};w.doesNotThrow=function(a,b,c){C(!1,a,b,c)};w.ifError=function(a){if(a)throw a;};var J=Object.keys||function(a){var b=[],c;for(c in a)v.call(a,c)&&b.push(c);return b}}).call(this,
"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"util/":5}],2:[function(f,h,e){function a(){throw Error("setTimeout has not been defined");}function k(){throw Error("clearTimeout has not been defined");}function d(b){if(c===setTimeout)return setTimeout(b,0);if((c===a||!c)&&setTimeout)return c=setTimeout,setTimeout(b,0);try{return c(b,0)}catch(B){try{return c.call(null,b,0)}catch(v){return c.call(this,b,0)}}}function b(a){if(m===clearTimeout)return clearTimeout(a);
if((m===k||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(a);try{return m(a)}catch(B){try{return m.call(null,a)}catch(v){return m.call(this,a)}}}function u(){y&&A&&(y=!1,A.length?t=A.concat(t):p=-1,t.length&&g())}function g(){if(!y){var a=d(u);y=!0;for(var c=t.length;c;){A=t;for(t=[];++p<c;)A&&A[p].run();p=-1;c=t.length}A=null;y=!1;b(a)}}function l(a,b){this.fun=a;this.array=b}function n(){}f=h.exports={};try{var c="function"===typeof setTimeout?setTimeout:a}catch(C){c=a}try{var m="function"===
typeof clearTimeout?clearTimeout:k}catch(C){m=k}var t=[],y=!1,A,p=-1;f.nextTick=function(a){var b=Array(arguments.length-1);if(1<arguments.length)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];t.push(new l(a,b));1!==t.length||y||d(g)};l.prototype.run=function(){this.fun.apply(null,this.array)};f.title="browser";f.browser=!0;f.env={};f.argv=[];f.version="";f.versions={};f.on=n;f.addListener=n;f.once=n;f.off=n;f.removeListener=n;f.removeAllListeners=n;f.emit=n;f.prependListener=n;f.prependOnceListener=
n;f.listeners=function(a){return[]};f.binding=function(a){throw Error("process.binding is not supported");};f.cwd=function(){return"/"};f.chdir=function(a){throw Error("process.chdir is not supported");};f.umask=function(){return 0}},{}],3:[function(f,h,e){h.exports="function"===typeof Object.create?function(a,k){a.super_=k;a.prototype=Object.create(k.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:function(a,k){a.super_=k;var d=function(){};d.prototype=k.prototype;a.prototype=
new d;a.prototype.constructor=a}},{}],4:[function(f,h,e){h.exports=function(a){return a&&"object"===typeof a&&"function"===typeof a.copy&&"function"===typeof a.fill&&"function"===typeof a.readUInt8}},{}],5:[function(f,h,e){(function(a,k){function d(a,c){var d={seen:[],stylize:u};3<=arguments.length&&(d.depth=arguments[2]);4<=arguments.length&&(d.colors=arguments[3]);p(c)?d.showHidden=c:c&&e._extend(d,c);v(d.showHidden)&&(d.showHidden=!1);v(d.depth)&&(d.depth=2);v(d.colors)&&(d.colors=!1);v(d.customInspect)&&
(d.customInspect=!0);d.colors&&(d.stylize=b);return l(d,a,d.depth)}function b(a,b){return(b=d.styles[b])?"\u001b["+d.colors[b][0]+"m"+a+"\u001b["+d.colors[b][1]+"m":a}function u(a,b){return a}function g(a){var b={};a.forEach(function(a,c){b[a]=!0});return b}function l(a,b,d){if(a.customInspect&&b&&J(b.inspect)&&b.inspect!==e.inspect&&(!b.constructor||b.constructor.prototype!==b)){var q=b.inspect(d,a);h(q)||(q=l(a,q,d));return q}if(q=n(a,b))return q;var r=Object.keys(b),p=g(r);a.showHidden&&(r=Object.getOwnPropertyNames(b));
if(I(b)&&(0<=r.indexOf("message")||0<=r.indexOf("description")))return c(b);if(0===r.length){if(J(b))return a.stylize("[Function"+(b.name?": "+b.name:"")+"]","special");if(z(b))return a.stylize(RegExp.prototype.toString.call(b),"regexp");if(w(b))return a.stylize(Date.prototype.toString.call(b),"date");if(I(b))return c(b)}var q="",E=!1,k=["{","}"];A(b)&&(E=!0,k=["[","]"]);J(b)&&(q=" [Function"+(b.name?": "+b.name:"")+"]");z(b)&&(q=" "+RegExp.prototype.toString.call(b));w(b)&&(q=" "+Date.prototype.toUTCString.call(b));
I(b)&&(q=" "+c(b));if(0===r.length&&(!E||0==b.length))return k[0]+q+k[1];if(0>d)return z(b)?a.stylize(RegExp.prototype.toString.call(b),"regexp"):a.stylize("[Object]","special");a.seen.push(b);r=E?m(a,b,d,p,r):r.map(function(c){return t(a,b,d,p,c,E)});a.seen.pop();return y(r,q,k)}function n(a,b){if(v(b))return a.stylize("undefined","undefined");if(h(b))return b="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",a.stylize(b,"string");if(C(b))return a.stylize(""+
b,"number");if(p(b))return a.stylize(""+b,"boolean");if(null===b)return a.stylize("null","null")}function c(a){return"["+Error.prototype.toString.call(a)+"]"}function m(a,b,c,d,g){for(var q=[],r=0,p=b.length;r<p;++r)Object.prototype.hasOwnProperty.call(b,String(r))?q.push(t(a,b,c,d,String(r),!0)):q.push("");g.forEach(function(g){g.match(/^\d+$/)||q.push(t(a,b,c,d,g,!0))});return q}function t(a,b,c,d,g,q){var r,p;b=Object.getOwnPropertyDescriptor(b,g)||{value:b[g]};b.get?p=b.set?a.stylize("[Getter/Setter]",
"special"):a.stylize("[Getter]","special"):b.set&&(p=a.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(d,g)||(r="["+g+"]");p||(0>a.seen.indexOf(b.value)?(p=null===c?l(a,b.value,null):l(a,b.value,c-1),-1<p.indexOf("\n")&&(p=q?p.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+p.split("\n").map(function(a){return" "+a}).join("\n"))):p=a.stylize("[Circular]","special"));if(v(r)){if(q&&g.match(/^\d+$/))return p;r=JSON.stringify(""+g);r.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?
(r=r.substr(1,r.length-2),r=a.stylize(r,"name")):(r=r.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),r=a.stylize(r,"string"))}return r+": "+p}function y(a,b,c){var d=0;return 60<a.reduce(function(a,b){d++;0<=b.indexOf("\n")&&d++;return a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0)?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function A(a){return Array.isArray(a)}function p(a){return"boolean"===typeof a}function C(a){return"number"===typeof a}
function h(a){return"string"===typeof a}function v(a){return void 0===a}function z(a){return G(a)&&"[object RegExp]"===Object.prototype.toString.call(a)}function G(a){return"object"===typeof a&&null!==a}function w(a){return G(a)&&"[object Date]"===Object.prototype.toString.call(a)}function I(a){return G(a)&&("[object Error]"===Object.prototype.toString.call(a)||a instanceof Error)}function J(a){return"function"===typeof a}function F(a){return 10>a?"0"+a.toString(10):a.toString(10)}function H(){var a=
new Date,b=[F(a.getHours()),F(a.getMinutes()),F(a.getSeconds())].join(":");return[a.getDate(),O[a.getMonth()],b].join(" ")}var r=/%[sdj%]/g;e.format=function(a){if(!h(a)){for(var b=[],c=0;c<arguments.length;c++)b.push(d(arguments[c]));return b.join(" ")}for(var c=1,g=arguments,q=g.length,b=String(a).replace(r,function(a){if("%%"===a)return"%";if(c>=q)return a;switch(a){case "%s":return String(g[c++]);case "%d":return Number(g[c++]);case "%j":try{return JSON.stringify(g[c++])}catch(fa){return"[Circular]"}default:return a}}),
p=g[c];c<q;p=g[++c])b=null!==p&&G(p)?b+(" "+d(p)):b+(" "+p);return b};e.deprecate=function(b,c){if(v(k.process))return function(){return e.deprecate(b,c).apply(this,arguments)};if(!0===a.noDeprecation)return b;var d=!1;return function(){if(!d){if(a.throwDeprecation)throw Error(c);a.traceDeprecation?console.trace(c):console.error(c);d=!0}return b.apply(this,arguments)}};var L={},q;e.debuglog=function(b){v(q)&&(q=a.env.NODE_DEBUG||"");b=b.toUpperCase();if(!L[b])if((new RegExp("\\b"+b+"\\b","i")).test(q)){var c=
a.pid;L[b]=function(){var a=e.format.apply(e,arguments);console.error("%s %d: %s",b,c,a)}}else L[b]=function(){};return L[b]};e.inspect=d;d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};d.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};e.isArray=A;e.isBoolean=p;e.isNull=
function(a){return null===a};e.isNullOrUndefined=function(a){return null==a};e.isNumber=C;e.isString=h;e.isSymbol=function(a){return"symbol"===typeof a};e.isUndefined=v;e.isRegExp=z;e.isObject=G;e.isDate=w;e.isError=I;e.isFunction=J;e.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};e.isBuffer=f("./support/isBuffer");var O="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");e.log=function(){console.log("%s - %s",
H(),e.format.apply(e,arguments))};e.inherits=f("inherits");e._extend=function(a,b){if(!b||!G(b))return a;for(var c=Object.keys(b),d=c.length;d--;)a[c[d]]=b[c[d]];return a}}).call(this,f("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./support/isBuffer":4,_process:2,inherits:3}],6:[function(f,h,e){Object.defineProperty(e,"__esModule",{value:!0});var a=f("./src/time-driver"),k=f("./src/mock-time-source");e.mockTimeSource=function(a){return k.mockTimeSource(a)};
e.timeDriver=function(d){return a.timeDriver(d)}},{"./src/mock-time-source":12,"./src/time-driver":19}],7:[function(f,h,e){(function(a){Object.defineProperty(e,"__esModule",{value:!0});var k="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,d=f("@cycle/run/lib/adapt"),b=1E3/60;e.makeAnimationFrames=function(a,g){return function(){var l={time:0,delta:16,normalizedDelta:1},f=!1,c=k.default.create({start:function(c){function d(){if(!f){var k=l.time;l.time=g();l.delta=l.time-
k;l.normalizedDelta=l.delta/b;c.next(l);a(d)}}l.time=g();a(d)},stop:function(){f=!0}});return d.adapt(c)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],8:[function(f,h,e){(function(a){function k(a,b,c,d){var p=d!==m.deepEqual,k=[];a.actual.length!==a.expected.length&&k.push("Length of actual and expected differs");a.actual.forEach(function(g,l){var m=a.expected[l];if(void 0===g)k.push("Actual at index "+
l+" was undefined");else if(void 0===m)k.push("Expected at index "+l+" was undefined");else{g.type!==m.type&&k.push("Expected type "+m.type+" at time "+g.time+" but got "+g.type);"complete"===g.type&&((l=Math.ceil(g.time/c)===Math.ceil(m.time/c))||k.push("Expected stream to complete at "+m.time+" but completed at "+g.time));if("next"===g.type){l=Math.ceil(g.time/c)===Math.ceil(m.time/c);var f=!0;try{var e=d(g.value,m.value);"boolean"===typeof e&&(f=e)}catch(F){f=!1,b.unexpectedErrors.push(F)}f&&!l&&
k.push("Right value at wrong time, expected at "+m.time+" but "+("happened at "+g.time+" ("+JSON.stringify(g.value)+")"));l&&f||(l=["Expected value at time "+m.time+" but got different value at "+g.time+"\n"],e=p?"Expected "+JSON.stringify(m.value)+", got "+JSON.stringify(g.value):["Diff (actual \x3d\x3e expected):",h(g.value,m.value).text].join("\n"),l.push(e),k.push(l.join("\n")))}"error"===g.type&&(l=Math.ceil(g.time/c)===Math.ceil(m.time/c),e=!0,"error"!==m.type&&(e=!1),l||(e=!1),e||(k.push("Unexpected error occurred"),
b.unexpectedErrors.push(g.error)))}});0===k.length?b.state="passed":(b.state="failed",b.error=Error(l("\nExpected\n\n"+g(a.expected,c)+"\n\nGot\n\n"+g(a.actual,c)+"\n\nFailed because:\n\n"+k.map(function(a){return" * "+a}).join("\n")+"\n\n"+n(b.unexpectedErrors)+"\n ")))}function d(a,b){for(var c=0;c<a.length;)a[c]=b,c++;return a}function b(a,b){return a.reduce(function(a,c){var d=a.items;a=a.previousValue;var g=b(c);if(g!==a)return{items:d.concat([[c]]),previousValue:g};g=d[d.length-1];return{items:d.slice(0,
-1).concat([g.concat(c)]),previousValue:a}},{items:[],previousValue:void 0}).items}function u(a){if("next"===a.type)return a=a.value,a="object"===typeof a?JSON.stringify(a):a,a;if("complete"===a.type)return"|";if("error"===a.type)return"#"}function g(a,c){if(0===a.length)return"\x3cempty stream\x3e";var g=Math.max.apply(Math,a.map(function(a){return a.time})),l=d(Array(Math.ceil(g/c)),"-");b(a,function(a){return Math.max(0,Math.floor(a.time/c))}).forEach(function(a){var b=Math.max(0,Math.floor(a[0].time/
c));1===a.length?l[b]=u(a[0]):["("].concat(a.map(u),[")"]).forEach(function(a,c){l[b+c]=a})});return l.join("")}function l(a){return a.split("\n").map(function(a){return a.replace(/^\s{12}/,"")}).join("\n")}function n(a){return 0===a.length?"":"Unexpected error:\n "+a.map(function(a){return a.stack}).join("\n \n ")}Object.defineProperty(e,"__esModule",{value:!0});var c="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,m=f("assert"),h=f("variable-diff");e.makeAssertEqual=
function(a,b,d,g,l){return function(b,d,p){void 0===p&&(p=m.deepEqual);var e={},f=a(),n={state:"pending",error:null,unexpectedErrors:[],finish:function(){k(e,n,g,p)}};l(n);b=f.record(b);d=f.record(d);c.default.combine(c.default.fromObservable(b),c.default.fromObservable(d)).addListener({next:function(a){var b=a[1];e.actual=a[0];e.expected=b},complete:function(){k(e,n,g,p)}})}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{assert:1,
"variable-diff":44}],9:[function(f,h,e){(function(a){function k(a,b,d,k,c){return{next:function(g){var l=c.scheduledEntry,m=b()+d;l&&m-l.time<=d&&(l.cancelled=!0);c.scheduledEntry=a.next(k,m,g)},error:function(c){a.error(k,b(),c)},complete:function(){a.complete(k,b())}}}Object.defineProperty(e,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=f("@cycle/run/lib/adapt");e.makeDebounce=function(a){a=a();var g=a.schedule,l=a.currentTime;
return function(a){return function(c){var m={scheduledEntry:null},e=d.default.create({start:function(b){b=k(g,l,a,b,m);d.default.fromObservable(c).addListener(b)},stop:function(){}});return b.adapt(e)}}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],10:[function(f,h,e){(function(a){function k(a,b,d,k){return{next:function(c){a.next(k,b()+d,c)},error:function(c){a.error(k,b()+d,c)},complete:function(){a.complete(k,
b()+d)}}}Object.defineProperty(e,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=f("@cycle/run/lib/adapt");e.makeDelay=function(a){a=a();var g=a.schedule,l=a.currentTime;return function(a){return function(c){return b.adapt(d.default.create({start:function(b){b=k(g,l,a,b);d.default.fromObservable(c).addListener(b)},stop:function(){}}))}}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?
window:{})},{"@cycle/run/lib/adapt":20}],11:[function(f,h,e){(function(a){Object.defineProperty(e,"__esModule",{value:!0});var k=f("@cycle/run/lib/adapt"),d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null;e.makeDiagram=function(a,e,g,l){return function(b,c){function e(a){if(a in c)return c[a];a=a.match(/[0-9]/)?parseInt(a,10):a;return a}void 0===c&&(c={});var f=b.split(""),n=d.default.create();l(b.length*g);var u=!1;f.forEach(function(b,c){"-"!==b&&(c*=g,"("===b?u=
c:")"===b?u=!1:(!1!==u&&(c=u),"|"===b?a.complete(n,c):"#"===b?a.error(n,c,Error("scheduled error")):a.next(n,c,e(b))))});return k.adapt(n)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],12:[function(f,h,e){function a(a){if(a)throw a;}function k(a,b){a.filter(function(a){return"pending"===a.state}).forEach(function(a){return a.finish()});a=a.filter(function(a){return"failed"===a.state});0===a.length?
b():(a=a.map(function(a){return a.error}),a=p(a),"fail"in b?b.fail(a):b(a))}function d(a){return{time:16*a,delta:16,normalizedDelta:1}}Object.defineProperty(e,"__esModule",{value:!0});var b=f("./scheduler"),u=f("./delay"),g=f("./debounce"),l=f("./periodic"),n=f("./throttle"),c=f("./diagram"),m=f("./assert-equal"),t=f("./throttle-animation"),y=f("./record"),A=f("./run-virtually"),p=f("combine-errors");e.mockTimeSource=function(e){function f(){return C}function p(a){C=a}function h(){return{schedule:F.add,
currentTime:f}}e=(void 0===e?{}:e).interval;e=void 0===e?20:e;var C=0,w=0,I=[],J,F=b.makeScheduler(),H={diagram:c.makeDiagram(F.add,f,e,function(a){w=Math.max(a,w)}),record:y.makeRecord(F.add,f,e),assertEqual:m.makeAssertEqual(function(){return H},F.add,f,e,function(a){I.push(a)}),delay:u.makeDelay(h),debounce:g.makeDebounce(h),periodic:l.makePeriodic(h),throttle:n.makeThrottle(h),animationFrames:function(){return H.periodic(16).map(d)},throttleAnimation:t.makeThrottleAnimation(function(){return H},
F.add,f),run:function(b,c){void 0===b&&(b=a);void 0===c&&(c=0);J=b;c||(c=w);A.runVirtually(F,function(){return k(I,J)},f,p,c)},createOperator:h,_scheduler:F.add,_time:f};return H}},{"./assert-equal":8,"./debounce":9,"./delay":10,"./diagram":11,"./periodic":13,"./record":14,"./run-virtually":15,"./scheduler":16,"./throttle":18,"./throttle-animation":17,"combine-errors":24}],13:[function(f,h,e){(function(a){Object.defineProperty(e,"__esModule",{value:!0});var k="undefined"!==typeof window?window.xstream:
"undefined"!==typeof a?a.xstream:null,d=f("@cycle/run/lib/adapt");e.makePeriodic=function(a){a=a();var b=a.schedule,g=a.currentTime;return function(a){function e(b,d,g,k){c||(g.next(b.stream,l+a,b.value+1,e),l+=a)}var c=!1,l=0,f={listener:null,start:function(c){f.listener=c;var d=g()+a;b.next(c,d,0,e);l=d},stop:function(){c=!0;b.complete(f.listener,g())}};return d.adapt(k.default.create(f))}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?
window:{})},{"@cycle/run/lib/adapt":20}],14:[function(f,h,e){(function(a){function k(a,b){var d=[];b.next(d);return{next:function(g){d=d.concat({type:"next",value:g,time:a()});b.next(d)},error:function(g){d=d.concat({type:"error",time:a(),error:g});b.next(d);b.complete()},complete:function(){d=d.concat({type:"complete",time:a()});b.next(d);b.complete()}}}Object.defineProperty(e,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=f("@cycle/run/lib/adapt");
e.makeRecord=function(a,g,e){return function(a){var c=d.default.createWithMemory({start:function(b){d.default.fromObservable(a).addListener(k(g,b))},stop:function(){}});return b.adapt(c)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],15:[function(f,h,e){function a(e){var d=e.scheduler,b=e.done,f=e.currentTime,g=e.setTime,k=e.timeToRunTo,n=d.peek(),k=n&&k&&n.time>=k;!n||k?b():(b=d.shiftNextEntry(),
b.cancelled||(n=b.time,g(n),b.f&&b.f(b,n,d.add,f),"next"===b.type&&b.stream.shamefullySendNext(b.value),"error"===b.type&&b.stream.shamefullySendError(b.error),"complete"===b.type&&b.stream.shamefullySendComplete()),setImmediate(a,e))}Object.defineProperty(e,"__esModule",{value:!0});f("setimmediate");e.runVirtually=function(e,d,b,f,g){void 0===g&&(g=0);setImmediate(a,{scheduler:e,done:d,currentTime:b,setTime:f,timeToRunTo:g})}},{setimmediate:40}],16:[function(f,h,e){Object.defineProperty(e,"__esModule",
{value:!0});var a=f("sorted-immutable-list"),k=function(a){return function(b){if(a.time<b.time)return-1;if(a.time===b.time&&a.stream===b.stream){if("complete"===a.type&&"next"===b.type)return 1;if("complete"===b.type&&"next"===a.type)return-1}return 1}};e.makeScheduler=function(){function d(a){e=g(e,a);return a}function b(){}var e=[],g=a.default({comparator:k,unique:!1});return{shiftNextEntry:function(){return e.shift()},isEmpty:function(){return 0===e.length},peek:function(){return e[0]},add:{_schedule:function(){return e},
next:function(a,g,c,e){void 0===e&&(e=b);return d({type:"next",stream:a,time:g,value:c,f:e})},error:function(a,b,c){return d({type:"error",stream:a,time:b,error:c})},complete:function(a,b){return d({type:"complete",stream:a,time:b})}}}}},{"sorted-immutable-list":41}],17:[function(f,h,e){(function(a){Object.defineProperty(e,"__esModule",{value:!0});var k="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,d=f("@cycle/run/lib/adapt");e.makeThrottleAnimation=function(a,e,
g){return function(b){var f=a(),c=k.default.create({start:function(a){var c=null,d=!0,m=k.default.fromObservable(f.animationFrames()),p={next:function(b){d||(e.next(a,g(),c),d=!0)}};k.default.fromObservable(b).addListener({next:function(a){c=a;d=!1},error:function(b){e.error(a,g(),b)},complete:function(){m.removeListener(p);e.complete(a,g())}});m.addListener(p)},stop:function(){}});return d.adapt(c)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?
window:{})},{"@cycle/run/lib/adapt":20}],18:[function(f,h,e){(function(a){function k(a,b,d,e,c){return{next:function(g){var f=c.lastEventTime,k=b();k-f<=d||(a.next(e,k,g),c.lastEventTime=k)},error:function(c){a.error(e,b(),c)},complete:function(){a.complete(e,b())}}}Object.defineProperty(e,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=f("@cycle/run/lib/adapt");e.makeThrottle=function(a){a=a();var g=a.schedule,e=a.currentTime;return function(a){return function(c){var f=
{lastEventTime:-Infinity},l=d.default.create({start:function(b){b=k(g,e,a,b,f);d.default.fromObservable(c).addListener(b)},stop:function(){}});return b.adapt(l)}}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],19:[function(f,h,e){function a(a){for(var b=[];0<a.length;)b.push(a.pop());return b}function k(b,c,d,g){function e(b){f||(g(b),a(c).forEach(function(a){return a(b)}));t.requestAnimationFrame(e)}
var f=!1;t.requestAnimationFrame(e);setInterval(function(){if(!f){var a=y();g(a);if(!b.isEmpty())for(var c=b.peek().time;c<a;)c=b.shiftNextEntry(),c.cancelled||(c.f&&c.f(c,a,b.add,d),"next"===c.type&&c.stream.shamefullySendNext(c.value),"complete"===c.type&&c.stream.shamefullySendComplete()),c=b.peek()&&b.peek().time||Infinity}},10);return{pause:function(){return f=!0},resume:function(a){g(a);f=!1}}}Object.defineProperty(e,"__esModule",{value:!0});var d=f("./scheduler"),b=f("./delay"),u=f("./debounce"),
g=f("./periodic"),l=f("./throttle"),n=f("./animation-frames"),c=f("./throttle-animation"),m=f("./run-virtually"),t=f("raf"),y=f("performance-now");e.timeDriver=function(a){function e(){return v}function f(a){v=a}function h(){return{schedule:y.add,currentTime:e}}var v=0,t=[],y=d.makeScheduler(),w=k(y,t,e,f);a=w.pause;var w=w.resume,A={animationFrames:n.makeAnimationFrames(function(a){t.push(a)},e),delay:b.makeDelay(h),debounce:u.makeDebounce(h),periodic:g.makePeriodic(h),throttle:l.makeThrottle(h),
throttleAnimation:c.makeThrottleAnimation(function(){return A},y.add,e),_time:e,_scheduler:y.add,_pause:a,_resume:w,_runVirtually:function(a,b){m.runVirtually(y,a,e,f,b)},createOperator:h};return A}},{"./animation-frames":7,"./debounce":9,"./delay":10,"./periodic":13,"./run-virtually":15,"./scheduler":16,"./throttle":18,"./throttle-animation":17,"performance-now":38,raf:39}],20:[function(f,h,e){Object.defineProperty(e,"__esModule",{value:!0});var a=function(a){return a};e.setAdapt=function(e){a=e};
e.adapt=function(e){return a(e)}},{}],21:[function(f,h,e){h.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},{}],22:[function(f,h,e){Object.defineProperty(h,"exports",{enumerable:!0,get:function(){var a={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,
39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};a.colors.grey=a.colors.gray;Object.keys(a).forEach(function(e){var d=a[e];Object.keys(d).forEach(function(b){var e=d[b];a[b]=d[b]={open:"\u001b["+e[0]+"m",close:"\u001b["+e[1]+"m"}});Object.defineProperty(a,e,{value:d,enumerable:!1})});return a}})},{}],23:[function(f,h,e){(function(a){function e(a){this.enabled=a&&void 0!==a.enabled?a.enabled:
c}function d(a){var c=function(){return b.apply(c,arguments)};c._styles=a;c.enabled=this.enabled;c.__proto__=A;return c}function b(){var a=arguments,b=a.length,c=0!==b&&String(arguments[0]);if(1<b)for(var d=1;d<b;d++)c+=" "+a[d];if(!this.enabled||!c)return c;a=this._styles;b=a.length;d=g.dim.open;!t||-1===a.indexOf("gray")&&-1===a.indexOf("grey")||(g.dim.open="");for(;b--;)var e=g[a[b]],c=e.open+c.replace(e.closeRe,e.open)+e.close;g.dim.open=d;return c}var u=f("escape-string-regexp"),g=f("ansi-styles"),
l=f("strip-ansi"),n=f("has-ansi"),c=f("supports-color"),m=Object.defineProperties,t="win32"===a.platform&&!/^xterm/i.test(a.env.TERM);t&&(g.blue.open="\u001b[94m");var y=function(){var a={};Object.keys(g).forEach(function(b){g[b].closeRe=new RegExp(u(g[b].close),"g");a[b]={get:function(){return d.call(this,this._styles.concat(b))}}});return a}(),A=m(function(){},y);m(e.prototype,function(){var a={};Object.keys(y).forEach(function(b){a[b]={get:function(){return d.call(this,[b])}}});return a}());h.exports=
new e;h.exports.styles=g;h.exports.hasColor=n;h.exports.stripColor=l;h.exports.supportsColor=c}).call(this,f("_process"))},{_process:2,"ansi-styles":22,"escape-string-regexp":28,"has-ansi":29,"strip-ansi":42,"supports-color":43}],24:[function(f,h,e){function a(b){if(!(this instanceof a))return new a(b);b=Array.isArray(b)?b:[b];b=k(b,function(a){return a.stack});if(1===b.length)return b[0];var e=new d({message:b.map(function(a){return a.message}).join("; "),errors:b.reduce(function(a,b){return a.concat(b.errors||
b)},[])});e.__defineGetter__("stack",function(){return b.map(function(a){return a.stack}).join("\n\n")});e.__defineSetter__("stack",function(a){return[a].concat(e.stack).join("\n\n")});return e}e=f("custom-error-instance");var k=f("lodash.uniqby"),d=e("MultiError");h.exports=a},{"custom-error-instance":27,"lodash.uniqby":36}],25:[function(f,h,e){function a(c,e,f,h){var m;e=k(arguments,1,Error,u,[g,d]);f=k(arguments,2,{},g,[d]);h=k(arguments,3,l,d,[]);c=k(arguments,0,e===Error?"Error":e.prototype.CustomError.name,
b,[u,g,d]);(m=e===Error)&&h===l&&(h=a.factory.root);var p=function(b,d){if(!(this instanceof p))return new p(b,d);delete this.constructor.name;Object.defineProperty(this.constructor,"name",{enumerable:!1,configurable:!0,value:c,writable:!1});"string"===typeof b&&(b={message:b});b||(b={});var e=this.CustomError.chain.slice(0).reverse().map(function(a){return a.properties});e.push(b);e.unshift({});var g=Object.assign.apply(Object,e);var f=this;var k={};Object.keys(a.factory).forEach(function(b){k[b]=
function(c,d){a.factory[b].call(f,c,d,k)}});for(b=this.CustomError.chain.length-1;0<=b;b--)e=this.CustomError.chain[b],e.factory!==l&&e.factory.call(this,g,d,k)};p.prototype=Object.create(e.prototype);p.prototype.constructor=p;p.prototype.name=c;p.prototype.CustomError={chain:m?[]:e.prototype.CustomError.chain.slice(0),factory:h,name:c,parent:e,properties:f};p.prototype.CustomError.chain.unshift(p.prototype.CustomError);p.prototype.toString=function(){var a=this.CustomError.chain[this.CustomError.chain.length-
1].name;this.code&&(a+=" "+this.code);this.message&&(a+=": "+this.message);return a};return p}function k(a,b,d,e,g){var c=-1,f=-1,k,l=b<a.length?b:a.length;for(b=0;b<=l;b++){var h=a[b];if(-1===c)for(k=0;k<g.length;k++)g[k](h)&&(c=b);-1===f&&e(h)&&(f=b)}if(-1!==f&&-1!==c&&c<f)throw new n.order;return-1!==f?a[f]:d}function d(a){return"function"===typeof a&&a!==Error&&!a.prototype.CustomError}function b(a){return"string"===typeof a}function u(a){return"function"===typeof a&&(a===Error||a.prototype.CustomError)}
function g(a){return a&&"object"===typeof a}function l(){}h.exports=a;a.factory=f("./factories.js");var n=a("CustomError");n.order=a(n,{message:"Arguments out of order.",code:"EOARG"})},{"./factories.js":26}],26:[function(f,h,e){e.expectReceive=function(a,e,d){d.root(a,e,d);e=this.message;a.hasOwnProperty("expected")&&(e+=" Expected "+a.expected+".");a.hasOwnProperty("received")&&(e+=" Received: "+a.received+".");this.message=e};e.root=function(a,e,d){function b(){m[0]=f.toString();f.stack=m.join("\n")}
var f=this,g;d=Error.stackTraceLimit;var k=!0,h="",c=Error.stackTraceLimit;e&&"object"===typeof e||(e={});e.hasOwnProperty("stackLength")&&"number"===typeof e.stackLength&&!isNaN(e.stackLength)&&0<=e.stackLength&&(d=e.stackLength);e.hasOwnProperty("rootOnly")||(k=e.rootOnly);if(!k||this.CustomError.parent===Error){Object.keys(a).forEach(function(b){switch(b){case "code":g=a.code||void 0;break;case "message":h=a.message||"";break;default:f[b]=a[b]}});Error.stackTraceLimit=d+2;var m=Error().stack.split("\n");
m.splice(0,3);m.unshift("");Error.stackTraceLimit=c;this.stack=m.join("\n");Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,get:function(){return g},set:function(a){g=a;b()}});Object.defineProperty(this,"message",{configurable:!0,enumerable:!0,get:function(){return h},set:function(a){h=a;b()}});b()}}},{}],27:[function(f,h,e){h.exports=f("./bin/error")},{"./bin/error":25}],28:[function(f,h,e){var a=/[|\\{}()[\]^$+*?.]/g;h.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");
return e.replace(a,"\\$\x26")}},{}],29:[function(f,h,e){f=f("ansi-regex");f=new RegExp(f().source);h.exports=f.test.bind(f)},{"ansi-regex":21}],30:[function(f,h,e){(function(a){function k(a,b){for(var c=-1,x=a.length,d=Array(x);++c<x;)d[c]=b(a[c],c,a);return d}function d(a,b){for(var c=-1,x=a.length;++c<x;)if(b(a[c],c,a))return!0;return!1}function b(a,b){return k(b,function(b){return[b,a[b]]})}function u(a){return a&&a.Object===Object?a:null}function g(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=
!!(a+"")}catch(Ja){}return b}function l(a){var b=-1,c=Array(a.size);a.forEach(function(a,x){c[++b]=[x,a]});return c}function n(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=a});return c}function c(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=[a,a]});return c}function m(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var x=a[b];this.set(x[0],x[1])}}function t(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var x=a[b];this.set(x[0],x[1])}}function y(a){var b=-1,c=a?a.length:
0;for(this.clear();++b<c;){var x=a[b];this.set(x[0],x[1])}}function A(a){var b=-1,c=a?a.length:0;for(this.__data__=new y;++b<c;)this.add(a[b])}function p(a){this.__data__=new t(a)}function C(a,b){for(var c=a.length;c--;){var d=a[c][0];if(d===b||d!==d&&b!==b)return c}return-1}function B(a,b){b=Y(b,a)?[b]:H(b);for(var c=0,d=b.length;null!=a&&c<d;)a=a[Z(b[c++])];return c&&c==d?a:void 0}function v(a,b){return R.call(a,b)||"object"==typeof a&&b in a&&null===qa(Object(a))}function z(a,b,c,d,e){if(a===b)return!0;
if(null==a||null==b||!V(a)&&!W(b))return a!==a&&b!==b;a:{var x=P(a),f=P(b),q="[object Array]",k="[object Array]";x||(q=M(a),q="[object Arguments]"==q?"[object Object]":q);f||(k=M(b),k="[object Arguments]"==k?"[object Object]":k);var h="[object Object]"==q&&!g(a),f="[object Object]"==k&&!g(b);if((k=q==k)&&!h){e||(e=new p);var l;(l=x)||(l=W(a)&&ba(a.length)&&!!D[S.call(a)]);b=l?r(a,b,z,c,d,e):L(a,b,q,z,c,d,e)}else{if(!(d&2)&&(q=h&&R.call(a,"__wrapped__"),x=f&&R.call(b,"__wrapped__"),q||x)){a=q?a.value():
a;b=x?b.value():b;e||(e=new p);b=z(a,b,c,d,e);break a}if(k){e||(e=new p);b:{var q=d&2,x=ga(a),f=x.length,k=ga(b).length;if(f==k||q){for(h=f;h--;){var m=x[h];if(!(q?m in b:v(b,m))){b=!1;break b}}if(k=e.get(a))b=k==b;else{k=!0;e.set(a,b);for(var aa=q;++h<f;){m=x[h];var n=a[m],O=b[m];c&&(l=q?c(O,n,m,b,a,e):c(n,O,m,a,b,e));if(void 0===l?n!==O&&!z(n,O,c,d,e):!l){k=!1;break}aa||(aa="constructor"==m)}k&&!aa&&(c=a.constructor,d=b.constructor,c!=d&&"constructor"in a&&"constructor"in b&&!("function"==typeof c&&
c instanceof c&&"function"==typeof d&&d instanceof d)&&(k=!1));e["delete"](a);b=k}}else b=!1}}else b=!1}}return b}function G(a,b,c,d){var e,x=c.length,g=x,f=!d;if(null==a)return!g;for(a=Object(a);x--;){var q=c[x];if(f&&q[2]?q[1]!==a[q[0]]:!(q[0]in a))return!1}for(;++x<g;){q=c[x];var r=q[0],k=a[r],h=q[1];if(f&&q[2]){if(void 0===k&&!(r in a))return!1}else if(q=new p,d&&(e=d(k,h,r,a,b,q)),void 0===e?!z(h,k,d,3,q):!e)return!1}return!0}function w(a){var b=O(a);return 1==b.length&&b[0][2]?ja(b[0][0],b[0][1]):
function(c){return c===a||G(c,a,b)}}function I(a,b){return Y(a)&&b===b&&!V(b)?ja(Z(a),b):function(c){var d=null==c?void 0:B(c,a);d=void 0===d?void 0:d;if(void 0===d&&d===b){if(d=null!=c){d=a;d=Y(d,c)?[d]:H(d);for(var e,x=-1,g=d.length;++x<g;){var f=Z(d[x]);if(!(e=null!=c&&f in Object(c)))break;c=c[f]}e?d=e:(g=c?c.length:0,d=!!g&&ba(g)&&ia(f,g)&&(P(c)||la(c)||fa(c)))}f=d}else f=z(b,d,void 0,3);return f}}function J(a){return function(b){return null==b?void 0:b[a]}}function F(a){return function(b){return B(b,
a)}}function H(a){return P(a)?a:ra(a)}function r(a,b,c,e,g,f){var x,q=g&2,r=a.length,k=b.length;if(r!=k&&!(q&&k>r))return!1;if(k=f.get(a))return k==b;var k=-1,h=!0,l=g&1?new A:void 0;for(f.set(a,b);++k<r;){var m=a[k],p=b[k];e&&(x=q?e(p,m,k,b,a,f):e(m,p,k,a,b,f));if(void 0!==x){if(x)continue;h=!1;break}if(l){if(!d(b,function(a,b){if(!l.has(b)&&(m===a||c(m,a,e,g,f)))return l.add(b)})){h=!1;break}}else if(m!==p&&!c(m,p,e,g,f)){h=!1;break}}f["delete"](a);return h}function L(a,b,c,d,e,g,f){switch(c){case "[object DataView]":if(a.byteLength!=
b.byteLength||a.byteOffset!=b.byteOffset)break;a=a.buffer;b=b.buffer;case "[object ArrayBuffer]":if(a.byteLength!=b.byteLength||!d(new ma(a),new ma(b)))break;return!0;case "[object Boolean]":case "[object Date]":return+a==+b;case "[object Error]":return a.name==b.name&&a.message==b.message;case "[object Number]":return a!=+a?b!=+b:a==+b;case "[object RegExp]":case "[object String]":return a==b+"";case "[object Map]":var x=l;case "[object Set]":x||(x=n);if(a.size!=b.size&&!(g&2))break;if(c=f.get(a))return c==
b;g|=1;f.set(a,b);return r(x(a),x(b),d,e,g,f);case "[object Symbol]":if(ha)return ha.call(a)==ha.call(b)}return!1}function q(a,b){a=a.__data__;var c=typeof b;return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map}function O(a){a=sa(a);for(var b=a.length;b--;){var c=a[b];var d=a[b][1];d=d===d&&!V(d);c[2]=d}return a}function E(a,b){a=a[b];b=V(a)?(na(a)||g(a)?ta:ua).test(Q(a)):!1;return b?a:void 0}function M(a){return S.call(a)}
function ia(a,b){b=null==b?9007199254740991:b;return!!b&&("number"==typeof a||va.test(a))&&-1<a&&0==a%1&&a<b}function Y(a,b){if(P(a))return!1;var c=typeof a;return"number"==c||"symbol"==c||"boolean"==c||null==a||oa(a)?!0:wa.test(a)||!xa.test(a)||null!=b&&a in Object(b)}function ja(a,b){return function(c){return null==c?!1:c[a]===b&&(void 0!==b||a in Object(c))}}function Z(a){if("string"==typeof a||oa(a))return a;var b=a+"";return"0"==b&&1/a==-ya?"-0":b}function Q(a){if(null!=a){try{return pa.call(a)}catch(aa){}return a+
""}return""}function fa(a){return W(a)&&ka(a)&&R.call(a,"callee")&&(!za.call(a,"callee")||"[object Arguments]"==S.call(a))}function ka(a){return null!=a&&ba(Aa(a))&&!na(a)}function na(a){a=V(a)?S.call(a):"";return"[object Function]"==a||"[object GeneratorFunction]"==a}function ba(a){return"number"==typeof a&&-1<a&&0==a%1&&9007199254740991>=a}function V(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}function W(a){return!!a&&"object"==typeof a}function la(a){return"string"==typeof a||!P(a)&&
W(a)&&"[object String]"==S.call(a)}function oa(a){return"symbol"==typeof a||W(a)&&"[object Symbol]"==S.call(a)}function ga(a){var b=a&&a.constructor;b=a===("function"==typeof b&&b.prototype||ca);if(!b&&!ka(a))return Ba(Object(a));var c=a?a.length:void 0;if(ba(c)&&(P(a)||la(a)||fa(a))){var d=String;for(var e=-1,g=Array(c);++e<c;)g[e]=d(e);c=g}else c=null;d=c;c=!!d;d=d||[];var e=d.length,f;for(f in a)!v(a,f)||c&&("length"==f||ia(f,e))||b&&"constructor"==f||d.push(f);return d}function Ca(a){return a}
var ra=f("lodash._stringtopath"),ya=1/0,xa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wa=/^\w*$/,ua=/^\[object .+?Constructor\]$/,va=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0;D["[object Arguments]"]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object Boolean]"]=D["[object DataView]"]=
D["[object Date]"]=D["[object Error]"]=D["[object Function]"]=D["[object Map]"]=D["[object Number]"]=D["[object Object]"]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object WeakMap]"]=!1;var K={"function":!0,object:!0},T=K[typeof h]&&h&&!h.nodeType?h:void 0;a=u((K[typeof e]&&e&&!e.nodeType?e:void 0)&&T&&"object"==typeof a&&a);var T=u(K[typeof self]&&self),U=u(K[typeof window]&&window),K=u(K[typeof this]&&this),N=a||U!==(K&&K.window)&&U||T||K||Function("return this")();a=Array.prototype;
var ca=Object.prototype,pa=Function.prototype.toString,R=ca.hasOwnProperty,S=ca.toString,ta=RegExp("^"+pa.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=N.Symbol,ma=N.Uint8Array,za=ca.propertyIsEnumerable,Da=a.splice,qa=Object.getPrototypeOf,Ba=Object.keys;a=E(N,"DataView");var da=E(N,"Map"),T=E(N,"Promise"),U=E(N,"Set"),N=E(N,"WeakMap"),X=E(Object,"create"),Ea=Q(a),Fa=Q(da),Ga=Q(T),Ha=Q(U),Ia=Q(N),ha=(K=K?K.prototype:
void 0)?K.valueOf:void 0;m.prototype.clear=function(){this.__data__=X?X(null):{}};m.prototype["delete"]=function(a){return this.has(a)&&delete this.__data__[a]};m.prototype.get=function(a){var b=this.__data__;return X?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):R.call(b,a)?b[a]:void 0};m.prototype.has=function(a){var b=this.__data__;return X?void 0!==b[a]:R.call(b,a)};m.prototype.set=function(a,b){this.__data__[a]=X&&void 0===b?"__lodash_hash_undefined__":b;return this};t.prototype.clear=function(){this.__data__=
[]};t.prototype["delete"]=function(a){var b=this.__data__;a=C(b,a);if(0>a)return!1;a==b.length-1?b.pop():Da.call(b,a,1);return!0};t.prototype.get=function(a){var b=this.__data__;a=C(b,a);return 0>a?void 0:b[a][1]};t.prototype.has=function(a){return-1<C(this.__data__,a)};t.prototype.set=function(a,b){var c=this.__data__,d=C(c,a);0>d?c.push([a,b]):c[d][1]=b;return this};y.prototype.clear=function(){this.__data__={hash:new m,map:new (da||t),string:new m}};y.prototype["delete"]=function(a){return q(this,
a)["delete"](a)};y.prototype.get=function(a){return q(this,a).get(a)};y.prototype.has=function(a){return q(this,a).has(a)};y.prototype.set=function(a,b){q(this,a).set(a,b);return this};A.prototype.add=A.prototype.push=function(a){this.__data__.set(a,"__lodash_hash_undefined__");return this};A.prototype.has=function(a){return this.__data__.has(a)};p.prototype.clear=function(){this.__data__=new t};p.prototype["delete"]=function(a){return this.__data__["delete"](a)};p.prototype.get=function(a){return this.__data__.get(a)};
p.prototype.has=function(a){return this.__data__.has(a)};p.prototype.set=function(a,b){var c=this.__data__;c instanceof t&&200==c.__data__.length&&(c=this.__data__=new y(c.__data__));c.set(a,b);return this};var Aa=J("length");if(a&&"[object DataView]"!=M(new a(new ArrayBuffer(1)))||da&&"[object Map]"!=M(new da)||T&&"[object Promise]"!=M(T.resolve())||U&&"[object Set]"!=M(new U)||N&&"[object WeakMap]"!=M(new N))M=function(a){var b=S.call(a);if(a=(a="[object Object]"==b?a.constructor:void 0)?Q(a):void 0)switch(a){case Ea:return"[object DataView]";
case Fa:return"[object Map]";case Ga:return"[object Promise]";case Ha:return"[object Set]";case Ia:return"[object WeakMap]"}return b};var P=Array.isArray,sa=function(a){return function(d){var e=M(d);return"[object Map]"==e?l(d):"[object Set]"==e?c(d):b(d,a(d))}}(ga);h.exports=function(a){return"function"==typeof a?a:null==a?Ca:"object"==typeof a?P(a)?I(a[0],a[1]):w(a):Y(a)?J(Z(a)):F(a)}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:
{})},{"lodash._stringtopath":35}],31:[function(f,h,e){(function(a){function f(a){return a&&a.Object===Object?a:null}var d=1/0,b={"function":!0,object:!0},u=b[typeof h]&&h&&!h.nodeType?h:void 0;a=f((b[typeof e]&&e&&!e.nodeType?e:void 0)&&u&&"object"==typeof a&&a);var u=f(b[typeof self]&&self),g=f(b[typeof window]&&window),b=f(b[typeof this]&&this),b=a||g!==(b&&b.window)&&g||u||b||Function("return this")(),l=Object.prototype.toString,n=(b=(b=b.Symbol)?b.prototype:void 0)?b.toString:void 0;h.exports=
function(a){if("string"==typeof a)return a;if("symbol"==typeof a||a&&"object"==typeof a&&"[object Symbol]"==l.call(a))return n?n.call(a):"";var b=a+"";return"0"==b&&1/a==-d?"-0":b}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],32:[function(f,h,e){function a(a,b){var c;if(c=!!a.length){a:if(b!==b)b:{b=a.length;for(c=-1;++c<b;){var d=a[c];if(d!==d){a=c;break b}}a=-1}else{c=-1;for(d=a.length;++c<d;)if(a[c]===b){a=c;break a}a=
-1}c=-1<a}return c}function k(a,b,c){for(var d=-1,e=a.length;++d<e;)if(c(b,a[d]))return!0;return!1}function d(a,b){return a.has(b)}function b(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=!!(a+"")}catch(q){}return b}function u(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=a});return c}function g(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function l(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}
function n(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function c(a){var b=-1,c=a?a.length:0;for(this.__data__=new n;++b<c;)this.add(a[b])}function m(a,b){for(var c=a.length;c--;){var d=a[c][0];if(d===b||d!==d&&b!==b)return c}return-1}function t(a,b){a=a.__data__;var c=typeof b;return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map}function y(a,c){a=a[c];p(a)?(c=p(a)?w.call(a):"",c=("[object Function]"==
c||"[object GeneratorFunction]"==c||b(a)?I:B).test(A(a))):c=!1;return c?a:void 0}function A(a){if(null!=a){try{return z.call(a)}catch(L){}return a+""}return""}function p(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}var C=f("lodash._createset");f=f("lodash._root");var B=/^\[object .+?Constructor\]$/;e=Array.prototype;var v=Object.prototype,z=Function.prototype.toString,G=v.hasOwnProperty,w=v.toString,I=RegExp("^"+z.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
"$1.*?")+"$"),J=e.splice,F=y(f,"Map"),H=y(Object,"create");g.prototype.clear=function(){this.__data__=H?H(null):{}};g.prototype["delete"]=function(a){return this.has(a)&&delete this.__data__[a]};g.prototype.get=function(a){var b=this.__data__;return H?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):G.call(b,a)?b[a]:void 0};g.prototype.has=function(a){var b=this.__data__;return H?void 0!==b[a]:G.call(b,a)};g.prototype.set=function(a,b){this.__data__[a]=H&&void 0===b?"__lodash_hash_undefined__":b;
return this};l.prototype.clear=function(){this.__data__=[]};l.prototype["delete"]=function(a){var b=this.__data__;a=m(b,a);if(0>a)return!1;a==b.length-1?b.pop():J.call(b,a,1);return!0};l.prototype.get=function(a){var b=this.__data__;a=m(b,a);return 0>a?void 0:b[a][1]};l.prototype.has=function(a){return-1<m(this.__data__,a)};l.prototype.set=function(a,b){var c=this.__data__,d=m(c,a);0>d?c.push([a,b]):c[d][1]=b;return this};n.prototype.clear=function(){this.__data__={hash:new g,map:new (F||l),string:new g}};
n.prototype["delete"]=function(a){return t(this,a)["delete"](a)};n.prototype.get=function(a){return t(this,a).get(a)};n.prototype.has=function(a){return t(this,a).has(a)};n.prototype.set=function(a,b){t(this,a).set(a,b);return this};c.prototype.add=c.prototype.push=function(a){this.__data__.set(a,"__lodash_hash_undefined__");return this};c.prototype.has=function(a){return this.__data__.has(a)};h.exports=function(b,e,g){var f=-1,q=a,h=b.length,l=!0,m=[],p=m;if(g)l=!1,q=k;else if(200<=h){if(q=e?null:
C(b))return u(q);l=!1;q=d;p=new c}else p=e?[]:m;a:for(;++f<h;){var n=b[f],t=e?e(n):n,n=g||0!==n?n:0;if(l&&t===t){for(var v=p.length;v--;)if(p[v]===t)continue a;e&&p.push(t);m.push(n)}else q(p,t,g)||(p!==m&&p.push(t),m.push(n))}return m}},{"lodash._createset":33,"lodash._root":34}],33:[function(f,h,e){(function(a){function f(a){return a&&a.Object===Object?a:null}function d(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=!!(a+"")}catch(G){}return b}function b(a){var b=-1,c=Array(a.size);
a.forEach(function(a){c[++b]=a});return c}function u(a){if(null!=a){try{return A.call(a)}catch(z){}return a+""}return""}function g(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}function l(){}var n=1/0,c=/^\[object .+?Constructor\]$/,m={"function":!0,object:!0},t=m[typeof h]&&h&&!h.nodeType?h:void 0;a=f((m[typeof e]&&e&&!e.nodeType?e:void 0)&&t&&"object"==typeof a&&a);var t=f(m[typeof self]&&self),y=f(m[typeof window]&&window),m=f(m[typeof this]&&this),m=a||y!==(m&&m.window)&&y||t||m||
Function("return this")();a=Object.prototype;var A=Function.prototype.toString,p=a.toString,C=RegExp("^"+A.call(a.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=function(a,b){a=a[b];g(a)?(b=g(a)?p.call(a):"",b=("[object Function]"==b||"[object GeneratorFunction]"==b||d(a)?C:c).test(u(a))):b=!1;return b?a:void 0}(m,"Set"),n=B&&1/b(new B([,-0]))[1]==n?function(a){return new B(a)}:l;h.exports=n}).call(this,"undefined"!==
typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],34:[function(f,h,e){(function(a){function f(a){return a&&a.Object===Object?a:null}var d={"function":!0,object:!0},b=d[typeof h]&&h&&!h.nodeType?h:void 0;a=f((d[typeof e]&&e&&!e.nodeType?e:void 0)&&b&&"object"==typeof a&&a);var b=f(d[typeof self]&&self),u=f(d[typeof window]&&window),d=f(d[typeof this]&&this),d=a||u!==(d&&d.window)&&u||b||d||Function("return this")();h.exports=d}).call(this,"undefined"!==
typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],35:[function(f,h,e){(function(a){function k(a){return a&&a.Object===Object?a:null}function d(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=!!(a+"")}catch(E){}return b}function b(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function u(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function g(a){var b=-1,c=a?a.length:
0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function l(a,b){for(var c=a.length;c--;){var d=a[c][0];if(d===b||d!==d&&b!==b)return c}return-1}function n(a,b){a=a.__data__;var c=typeof b;return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map}function c(a,b){a=a[b];y(a)?(b=y(a)?J.call(a):"",b=("[object Function]"==b||"[object GeneratorFunction]"==b||d(a)?F:B).test(m(a))):b=!1;return b?a:void 0}function m(a){if(null!=
a){try{return w.call(a)}catch(O){}return a+""}return""}function t(a,b){if("function"!=typeof a||b&&"function"!=typeof b)throw new TypeError("Expected a function");var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);d=a.apply(this,d);c.cache=f.set(e,d);return d};c.cache=new (t.Cache||g);return c}function y(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}var A=f("lodash._basetostring"),p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,
C=/\\(\\)?/g,B=/^\[object .+?Constructor\]$/,v={"function":!0,object:!0},z=v[typeof h]&&h&&!h.nodeType?h:void 0;a=k((v[typeof e]&&e&&!e.nodeType?e:void 0)&&z&&"object"==typeof a&&a);var z=k(v[typeof self]&&self),G=k(v[typeof window]&&window),v=k(v[typeof this]&&this),v=a||G!==(v&&v.window)&&G||z||v||Function("return this")();a=Array.prototype;var z=Object.prototype,w=Function.prototype.toString,I=z.hasOwnProperty,J=z.toString,F=RegExp("^"+w.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
"$1.*?")+"$"),H=a.splice,r=c(v,"Map"),L=c(Object,"create");b.prototype.clear=function(){this.__data__=L?L(null):{}};b.prototype["delete"]=function(a){return this.has(a)&&delete this.__data__[a]};b.prototype.get=function(a){var b=this.__data__;return L?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):I.call(b,a)?b[a]:void 0};b.prototype.has=function(a){var b=this.__data__;return L?void 0!==b[a]:I.call(b,a)};b.prototype.set=function(a,b){this.__data__[a]=L&&void 0===b?"__lodash_hash_undefined__":b;
return this};u.prototype.clear=function(){this.__data__=[]};u.prototype["delete"]=function(a){var b=this.__data__;a=l(b,a);if(0>a)return!1;a==b.length-1?b.pop():H.call(b,a,1);return!0};u.prototype.get=function(a){var b=this.__data__;a=l(b,a);return 0>a?void 0:b[a][1]};u.prototype.has=function(a){return-1<l(this.__data__,a)};u.prototype.set=function(a,b){var c=this.__data__,d=l(c,a);0>d?c.push([a,b]):c[d][1]=b;return this};g.prototype.clear=function(){this.__data__={hash:new b,map:new (r||u),string:new b}};
g.prototype["delete"]=function(a){return n(this,a)["delete"](a)};g.prototype.get=function(a){return n(this,a).get(a)};g.prototype.has=function(a){return n(this,a).has(a)};g.prototype.set=function(a,b){n(this,a).set(a,b);return this};v=t(function(a){var b=[];(null==a?"":A(a)).replace(p,function(a,c,d,e){b.push(d?e.replace(C,"$1"):c||a)});return b});t.Cache=g;h.exports=v}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"lodash._basetostring":31}],
36:[function(f,h,e){var a=f("lodash._baseiteratee"),k=f("lodash._baseuniq");h.exports=function(d,b){return d&&d.length?k(d,a(b)):[]}},{"lodash._baseiteratee":30,"lodash._baseuniq":32}],37:[function(f,h,e){var a=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;h.exports=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;for(var d={},a=0;10>a;a++)d["_"+String.fromCharCode(a)]=
a;if("0123456789"!==Object.getOwnPropertyNames(d).map(function(a){return d[a]}).join(""))return!1;var e={};"abcdefghijklmnopqrst".split("").forEach(function(a){e[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},e)).join("")?!1:!0}catch(l){return!1}}()?Object.assign:function(b,e){if(null===b||void 0===b)throw new TypeError("Object.assign cannot be called with null or undefined");var f=Object(b);for(var h,n=1;n<arguments.length;n++){var c=Object(arguments[n]);for(var m in c)k.call(c,
m)&&(f[m]=c[m]);if(a){h=a(c);for(var t=0;t<h.length;t++)d.call(c,h[t])&&(f[h[t]]=c[h[t]])}}return f}},{}],38:[function(f,h,e){(function(a){(function(){if("undefined"!==typeof performance&&null!==performance&&performance.now)h.exports=function(){return performance.now()};else if("undefined"!==typeof a&&null!==a&&a.hrtime){h.exports=function(){return(d()-g)/1E6};var e=a.hrtime;var d=function(){var a=e();return 1E9*a[0]+a[1]};var b=d();var f=1E9*a.uptime();var g=b-f}else if(Date.now){h.exports=function(){return Date.now()-
l};var l=Date.now()}else h.exports=function(){return(new Date).getTime()-l},l=(new Date).getTime()}).call(this)}).call(this,f("_process"))},{_process:2}],39:[function(f,h,e){(function(a){var e=f("performance-now"),d="undefined"===typeof window?a:window;a=["moz","webkit"];for(var b=d.requestAnimationFrame,u=d.cancelAnimationFrame||d.cancelRequestAnimationFrame,g=0;!b&&g<a.length;g++)b=d[a[g]+"RequestAnimationFrame"],u=d[a[g]+"CancelAnimationFrame"]||d[a[g]+"CancelRequestAnimationFrame"];if(!b||!u)var l=
0,n=0,c=[],m=1E3/60,b=function(a){if(0===c.length){var b=e(),d=Math.max(0,m-(b-l));l=d+b;setTimeout(function(){for(var a=c.slice(0),b=c.length=0;b<a.length;b++)if(!a[b].cancelled)try{a[b].callback(l)}catch(B){setTimeout(function(){throw B;},0)}},Math.round(d))}c.push({handle:++n,callback:a,cancelled:!1});return n},u=function(a){for(var b=0;b<c.length;b++)c[b].handle===a&&(c[b].cancelled=!0)};h.exports=function(a){return b.call(d,a)};h.exports.cancel=function(){u.apply(d,arguments)};h.exports.polyfill=
function(){d.requestAnimationFrame=b;d.cancelAnimationFrame=u}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"performance-now":38}],40:[function(f,h,e){(function(a,e){(function(d,b){function e(a){delete p[a]}function f(a){if(C)setTimeout(f,0,a);else{var c=p[a];if(c){C=!0;try{var d=c.callback,g=c.args;switch(g.length){case 0:d();break;case 1:d(g[0]);break;case 2:d(g[0],g[1]);break;case 3:d(g[0],g[1],g[2]);break;default:d.apply(b,
g)}}finally{e(a),C=!1}}}}function k(){v=function(b){a.nextTick(function(){f(b)})}}function h(){if(d.postMessage&&!d.importScripts){var a=!0,b=d.onmessage;d.onmessage=function(){a=!1};d.postMessage("","*");d.onmessage=b;return a}}function c(){var a="setImmediate$"+Math.random()+"$",b=function(b){b.source===d&&"string"===typeof b.data&&0===b.data.indexOf(a)&&f(+b.data.slice(a.length))};d.addEventListener?d.addEventListener("message",b,!1):d.attachEvent("onmessage",b);v=function(b){d.postMessage(a+b,
"*")}}function m(){var a=new MessageChannel;a.port1.onmessage=function(a){f(a.data)};v=function(b){a.port2.postMessage(b)}}function t(){var a=B.documentElement;v=function(b){var c=B.createElement("script");c.onreadystatechange=function(){f(b);c.onreadystatechange=null;a.removeChild(c);c=null};a.appendChild(c)}}function y(){v=function(a){setTimeout(f,0,a)}}if(!d.setImmediate){var A=1,p={},C=!1,B=d.document,v,z=Object.getPrototypeOf&&Object.getPrototypeOf(d),z=z&&z.setTimeout?z:d;"[object process]"===
{}.toString.call(d.process)?k():h()?c():d.MessageChannel?m():B&&"onreadystatechange"in B.createElement("script")?t():y();z.setImmediate=function(a){"function"!==typeof a&&(a=new Function(""+a));for(var b=Array(arguments.length-1),c=0;c<b.length;c++)b[c]=arguments[c+1];p[A]={callback:a,args:b};v(A);return A++};z.clearImmediate=e}})("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,f("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==
typeof window?window:{})},{_process:2}],41:[function(f,h,e){Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=d.comparator,e=d.key,d=d.unique,f=void 0===d?!0:d,h="function"===typeof f;if(b&&e)throw Error("Both comparator and key cannot be defined");e?b=k(e):b||(b=a);return function(a,c){if(!a)return[c];for(var d=b(c),e=-1,g=a.length;e!==g-1;){var k=Math.floor((g-e)/2+e),l=d(a[k]);if(0<l)e=k;else{if(0===l)return f?
(d=a.slice(0),d[k]=h?f(a[k],c):c,d):a.slice(0,k).concat([c]).concat(a.slice(k));g=k}}return a.slice(0,g).concat([c]).concat(a.slice(g))}};var a=function(a){return function(b){return a<b?-1:a==b?0:1}},k=function(a){return function(b){var d=a(b);return function(b){b=a(b);return d<b?-1:d==b?0:1}}}},{}],42:[function(f,h,e){var a=f("ansi-regex")();h.exports=function(e){return"string"===typeof e?e.replace(a,""):e}},{"ansi-regex":21}],43:[function(f,h,e){(function(a){var e=a.argv,d=e.indexOf("--"),b=function(a){a=
e.indexOf("--"+a);return-1!==a&&(-1!==d?a<d:!0)};h.exports="FORCE_COLOR"in a.env?!0:b("no-color")||b("no-colors")||b("color\x3dfalse")?!1:b("color")||b("colors")||b("color\x3dtrue")||b("color\x3dalways")?!0:a.stdout&&!a.stdout.isTTY?!1:"win32"===a.platform||"COLORTERM"in a.env?!0:"dumb"===a.env.TERM?!1:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(a.env.TERM)?!0:!1}).call(this,f("_process"))},{_process:2}],44:[function(f,h,e){function a(a){return"function"===typeof a?a.toString().replace(/\{.+\}/,
"{}"):"object"!==typeof a&&"string"!==typeof a||a instanceof RegExp?""+a:JSON.stringify(a)}function k(a){return a.split(l.newLineChar).map(function(a,b){return 0===b?a:n+a}).join(l.newLineChar)}function d(b,e){var c="",f=!1,g="";if(Array.isArray(b)&&Array.isArray(e)){for(var h=0;h<b.length;h++)if(h<e.length){var m=d(b[h],e[h]);m.changed&&(g+=n+h+": "+k(m.text)+l.newLineChar,f=!0)}else g+=l.wrap("removed","- "+h+": "+a(b[h]))+l.newLineChar,f=!0;if(e.length>b.length){for(;h<e.length;h++)g+=l.wrap("added",
"+ "+h+": "+a(e[h]))+l.newLineChar;f=!0}f&&(c="["+l.newLineChar+g+"]")}else if("object"===typeof b&&b&&!Array.isArray(b)&&"object"===typeof e&&e&&!Array.isArray(e)){var B=Object.keys(b);var v=u({},e);B.sort();for(h=0;h<B.length;h++){var z=B[h];e.hasOwnProperty(z)?(m=d(b[z],e[z]),m.changed&&(g+=n+z+": "+k(m.text)+l.newLineChar,f=!0),delete v[z]):(g+=l.wrap("removed","- "+z+": "+a(b[z]))+l.newLineChar,f=!0)}b=Object.keys(v);for(h=0;h<b.length;h++)g+=l.wrap("added","+ "+b[h]+": "+a(e[b[h]]))+l.newLineChar,
f=!0;f&&(c="{"+l.newLineChar+g+"}")}else b!==e&&(c=l.wrap("modified",a(b)+" \x3d\x3e "+a(e)),f=!0);return{changed:f,text:c}}var b=f("chalk"),u=f("object-assign"),g={modified:"yellow",added:"green",removed:"red"},l={indent:2,indentChar:" ",newLineChar:"\n",wrap:function(a,d){return b[g[a]](d)}},n="";for(f=0;f<l.indent;f++)n+=l.indentChar;h.exports=d},{chalk:23,"object-assign":37}]},{},[6])(6)});
(function(ea){"object"===typeof exports&&"undefined"!==typeof module?module.exports=ea():"function"===typeof define&&define.amd?define([],ea):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).CycleTime=ea()})(function(){return function e(g,f,a){function m(b,h){if(!f[b]){if(!g[b]){var k="function"==typeof require&&require;if(!h&&k)return k(b,!0);if(d)return d(b,!0);h=Error("Cannot find module '"+b+"'");throw h.code="MODULE_NOT_FOUND",h;}h=f[b]=
{exports:{}};g[b][0].call(h.exports,function(a){var d=g[b][1][a];return m(d?d:a)},h,h.exports,e,g,f,a)}return f[b].exports}for(var d="function"==typeof require&&require,b=0;b<a.length;b++)m(a[b]);return m}({1:[function(e,g,f){(function(a){function m(a,b){if(a===b)return 0;for(var u=a.length,d=b.length,q=0,c=Math.min(u,d);q<c;++q)if(a[q]!==b[q]){u=a[q];d=b[q];break}return u<d?-1:d<u?1:0}function d(b){return a.Buffer&&"function"===typeof a.Buffer.isBuffer?a.Buffer.isBuffer(b):!(null==b||!b._isBuffer)}
function b(b){return d(b)||"function"!==typeof a.ArrayBuffer?!1:"function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(b):b?b instanceof DataView||b.buffer&&b.buffer instanceof ArrayBuffer?!0:!1:!1}function f(a){if(C.isFunction(a))return G?a.name:(a=a.toString().match(I))&&a[1]}function h(a,b){return"string"===typeof a?a.length<b?a:a.slice(0,b):a}function k(a){if(G||!C.isFunction(a))return C.inspect(a);a=f(a);return"[Function"+(a?": "+a:"")+"]"}function r(a,b,u,d,q){throw new x.AssertionError({message:u,
actual:a,expected:b,operator:d,stackStartFunction:q});}function c(a,b){a||r(a,!0,b,"\x3d\x3d",x.ok)}function p(a,c,u,l){if(a===c)return!0;if(d(a)&&d(c))return 0===m(a,c);if(C.isDate(a)&&C.isDate(c))return a.getTime()===c.getTime();if(C.isRegExp(a)&&C.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.multiline===c.multiline&&a.lastIndex===c.lastIndex&&a.ignoreCase===c.ignoreCase;if(null!==a&&"object"===typeof a||null!==c&&"object"===typeof c){if(!b(a)||!b(c)||Object.prototype.toString.call(a)!==
Object.prototype.toString.call(c)||a instanceof Float32Array||a instanceof Float64Array){if(d(a)!==d(c))return!1;l=l||{actual:[],expected:[]};var q=l.actual.indexOf(a);if(-1!==q&&q===l.expected.indexOf(c))return!0;l.actual.push(a);l.expected.push(c);return z(a,c,u,l)}return 0===m(new Uint8Array(a.buffer),new Uint8Array(c.buffer))}return u?a===c:a==c}function t(a){return"[object Arguments]"==Object.prototype.toString.call(a)}function z(a,b,c,d){if(null===a||void 0===a||null===b||void 0===b)return!1;
if(C.isPrimitive(a)||C.isPrimitive(b))return a===b;if(c&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var u=t(a),l=t(b);if(u&&!l||!u&&l)return!1;if(u)return a=A.call(a),b=A.call(b),p(a,b,c);var u=J(a),E=J(b);if(u.length!==E.length)return!1;u.sort();E.sort();for(l=u.length-1;0<=l;l--)if(u[l]!==E[l])return!1;for(l=u.length-1;0<=l;l--)if(E=u[l],!p(a[E],b[E],c,d))return!1;return!0}function B(a,b,c){p(a,b,!0)&&r(a,b,c,"notDeepStrictEqual",B)}function n(a,b){if(!a||!b)return!1;if("[object RegExp]"==
Object.prototype.toString.call(b))return b.test(a);try{if(a instanceof b)return!0}catch(u){}return Error.isPrototypeOf(b)?!1:!0===b.call({},a)}function l(a,b,c,d){if("function"!==typeof b)throw new TypeError('"block" argument must be a function');"string"===typeof c&&(d=c,c=null);try{b()}catch(M){var l=M}b=l;d=(c&&c.name?" ("+c.name+").":".")+(d?" "+d:".");a&&!b&&r(b,c,"Missing expected exception"+d);l="string"===typeof d;var u=!a&&C.isError(b),E=!a&&b&&!c;(u&&l&&n(b,c)||E)&&r(b,c,"Got unwanted exception"+
d);if(a&&b&&c&&!n(b,c)||!a&&b)throw b;}var C=e("util/"),v=Object.prototype.hasOwnProperty,A=Array.prototype.slice,G=function(){return"foo"===function(){}.name}(),x=g.exports=c,I=/\s*function\s+([^\(\s]*)\s*/;x.AssertionError=function(a){this.name="AssertionError";this.actual=a.actual;this.expected=a.expected;this.operator=a.operator;a.message?(this.message=a.message,this.generatedMessage=!1):(this.message=h(k(this.actual),128)+" "+this.operator+" "+h(k(this.expected),128),this.generatedMessage=!0);
var b=a.stackStartFunction||r;Error.captureStackTrace?Error.captureStackTrace(this,b):(a=Error(),a.stack&&(a=a.stack,b=f(b),b=a.indexOf("\n"+b),0<=b&&(b=a.indexOf("\n",b+1),a=a.substring(b+1)),this.stack=a))};C.inherits(x.AssertionError,Error);x.fail=r;x.ok=c;x.equal=function(a,b,c){a!=b&&r(a,b,c,"\x3d\x3d",x.equal)};x.notEqual=function(a,b,c){a==b&&r(a,b,c,"!\x3d",x.notEqual)};x.deepEqual=function(a,b,c){p(a,b,!1)||r(a,b,c,"deepEqual",x.deepEqual)};x.deepStrictEqual=function(a,b,c){p(a,b,!0)||r(a,
b,c,"deepStrictEqual",x.deepStrictEqual)};x.notDeepEqual=function(a,b,c){p(a,b,!1)&&r(a,b,c,"notDeepEqual",x.notDeepEqual)};x.notDeepStrictEqual=B;x.strictEqual=function(a,b,c){a!==b&&r(a,b,c,"\x3d\x3d\x3d",x.strictEqual)};x.notStrictEqual=function(a,b,c){a===b&&r(a,b,c,"!\x3d\x3d",x.notStrictEqual)};x.throws=function(a,b,c){l(!0,a,b,c)};x.doesNotThrow=function(a,b,c){l(!1,a,b,c)};x.ifError=function(a){if(a)throw a;};var J=Object.keys||function(a){var b=[],c;for(c in a)v.call(a,c)&&b.push(c);return b}}).call(this,
"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"util/":5}],2:[function(e,g,f){function a(){throw Error("setTimeout has not been defined");}function m(){throw Error("clearTimeout has not been defined");}function d(b){if(c===setTimeout)return setTimeout(b,0);if((c===a||!c)&&setTimeout)return c=setTimeout,setTimeout(b,0);try{return c(b,0)}catch(C){try{return c.call(null,b,0)}catch(v){return c.call(this,b,0)}}}function b(a){if(p===clearTimeout)return clearTimeout(a);
if((p===m||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(a);try{return p(a)}catch(C){try{return p.call(null,a)}catch(v){return p.call(this,a)}}}function w(){z&&B&&(z=!1,B.length?t=B.concat(t):n=-1,t.length&&h())}function h(){if(!z){var a=d(w);z=!0;for(var c=t.length;c;){B=t;for(t=[];++n<c;)B&&B[n].run();n=-1;c=t.length}B=null;z=!1;b(a)}}function k(a,b){this.fun=a;this.array=b}function r(){}e=g.exports={};try{var c="function"===typeof setTimeout?setTimeout:a}catch(l){c=a}try{var p="function"===
typeof clearTimeout?clearTimeout:m}catch(l){p=m}var t=[],z=!1,B,n=-1;e.nextTick=function(a){var b=Array(arguments.length-1);if(1<arguments.length)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];t.push(new k(a,b));1!==t.length||z||d(h)};k.prototype.run=function(){this.fun.apply(null,this.array)};e.title="browser";e.browser=!0;e.env={};e.argv=[];e.version="";e.versions={};e.on=r;e.addListener=r;e.once=r;e.off=r;e.removeListener=r;e.removeAllListeners=r;e.emit=r;e.prependListener=r;e.prependOnceListener=
r;e.listeners=function(a){return[]};e.binding=function(a){throw Error("process.binding is not supported");};e.cwd=function(){return"/"};e.chdir=function(a){throw Error("process.chdir is not supported");};e.umask=function(){return 0}},{}],3:[function(e,g,f){g.exports="function"===typeof Object.create?function(a,m){a.super_=m;a.prototype=Object.create(m.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:function(a,m){a.super_=m;var d=function(){};d.prototype=m.prototype;a.prototype=
new d;a.prototype.constructor=a}},{}],4:[function(e,g,f){g.exports=function(a){return a&&"object"===typeof a&&"function"===typeof a.copy&&"function"===typeof a.fill&&"function"===typeof a.readUInt8}},{}],5:[function(e,g,f){(function(a,m){function d(a,c){var d={seen:[],stylize:w};3<=arguments.length&&(d.depth=arguments[2]);4<=arguments.length&&(d.colors=arguments[3]);n(c)?d.showHidden=c:c&&f._extend(d,c);v(d.showHidden)&&(d.showHidden=!1);v(d.depth)&&(d.depth=2);v(d.colors)&&(d.colors=!1);v(d.customInspect)&&
(d.customInspect=!0);d.colors&&(d.stylize=b);return k(d,a,d.depth)}function b(a,b){return(b=d.styles[b])?"\u001b["+d.colors[b][0]+"m"+a+"\u001b["+d.colors[b][1]+"m":a}function w(a,b){return a}function h(a){var b={};a.forEach(function(a,c){b[a]=!0});return b}function k(a,b,d){if(a.customInspect&&b&&J(b.inspect)&&b.inspect!==f.inspect&&(!b.constructor||b.constructor.prototype!==b)){var l=b.inspect(d,a);g(l)||(l=k(a,l,d));return l}if(l=r(a,b))return l;var q=Object.keys(b),u=h(q);a.showHidden&&(q=Object.getOwnPropertyNames(b));
if(I(b)&&(0<=q.indexOf("message")||0<=q.indexOf("description")))return c(b);if(0===q.length){if(J(b))return a.stylize("[Function"+(b.name?": "+b.name:"")+"]","special");if(A(b))return a.stylize(RegExp.prototype.toString.call(b),"regexp");if(x(b))return a.stylize(Date.prototype.toString.call(b),"date");if(I(b))return c(b)}var l="",n=!1,E=["{","}"];B(b)&&(n=!0,E=["[","]"]);J(b)&&(l=" [Function"+(b.name?": "+b.name:"")+"]");A(b)&&(l=" "+RegExp.prototype.toString.call(b));x(b)&&(l=" "+Date.prototype.toUTCString.call(b));
I(b)&&(l=" "+c(b));if(0===q.length&&(!n||0==b.length))return E[0]+l+E[1];if(0>d)return A(b)?a.stylize(RegExp.prototype.toString.call(b),"regexp"):a.stylize("[Object]","special");a.seen.push(b);q=n?p(a,b,d,u,q):q.map(function(c){return t(a,b,d,u,c,n)});a.seen.pop();return z(q,l,E)}function r(a,b){if(v(b))return a.stylize("undefined","undefined");if(g(b))return b="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",a.stylize(b,"string");if(l(b))return a.stylize(""+
b,"number");if(n(b))return a.stylize(""+b,"boolean");if(null===b)return a.stylize("null","null")}function c(a){return"["+Error.prototype.toString.call(a)+"]"}function p(a,b,c,d,l){for(var q=[],n=0,u=b.length;n<u;++n)Object.prototype.hasOwnProperty.call(b,String(n))?q.push(t(a,b,c,d,String(n),!0)):q.push("");l.forEach(function(l){l.match(/^\d+$/)||q.push(t(a,b,c,d,l,!0))});return q}function t(a,b,c,d,l,q){var n,u;b=Object.getOwnPropertyDescriptor(b,l)||{value:b[l]};b.get?u=b.set?a.stylize("[Getter/Setter]",
"special"):a.stylize("[Getter]","special"):b.set&&(u=a.stylize("[Setter]","special"));Object.prototype.hasOwnProperty.call(d,l)||(n="["+l+"]");u||(0>a.seen.indexOf(b.value)?(u=null===c?k(a,b.value,null):k(a,b.value,c-1),-1<u.indexOf("\n")&&(u=q?u.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+u.split("\n").map(function(a){return" "+a}).join("\n"))):u=a.stylize("[Circular]","special"));if(v(n)){if(q&&l.match(/^\d+$/))return u;n=JSON.stringify(""+l);n.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?
(n=n.substr(1,n.length-2),n=a.stylize(n,"name")):(n=n.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),n=a.stylize(n,"string"))}return n+": "+u}function z(a,b,c){var d=0;return 60<a.reduce(function(a,b){d++;0<=b.indexOf("\n")&&d++;return a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0)?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function B(a){return Array.isArray(a)}function n(a){return"boolean"===typeof a}function l(a){return"number"===typeof a}
function g(a){return"string"===typeof a}function v(a){return void 0===a}function A(a){return G(a)&&"[object RegExp]"===Object.prototype.toString.call(a)}function G(a){return"object"===typeof a&&null!==a}function x(a){return G(a)&&"[object Date]"===Object.prototype.toString.call(a)}function I(a){return G(a)&&("[object Error]"===Object.prototype.toString.call(a)||a instanceof Error)}function J(a){return"function"===typeof a}function F(a){return 10>a?"0"+a.toString(10):a.toString(10)}function H(){var a=
new Date,b=[F(a.getHours()),F(a.getMinutes()),F(a.getSeconds())].join(":");return[a.getDate(),O[a.getMonth()],b].join(" ")}var u=/%[sdj%]/g;f.format=function(a){if(!g(a)){for(var b=[],c=0;c<arguments.length;c++)b.push(d(arguments[c]));return b.join(" ")}for(var c=1,l=arguments,n=l.length,b=String(a).replace(u,function(a){if("%%"===a)return"%";if(c>=n)return a;switch(a){case "%s":return String(l[c++]);case "%d":return Number(l[c++]);case "%j":try{return JSON.stringify(l[c++])}catch(fa){return"[Circular]"}default:return a}}),
q=l[c];c<n;q=l[++c])b=null!==q&&G(q)?b+(" "+d(q)):b+(" "+q);return b};f.deprecate=function(b,c){if(v(m.process))return function(){return f.deprecate(b,c).apply(this,arguments)};if(!0===a.noDeprecation)return b;var d=!1;return function(){if(!d){if(a.throwDeprecation)throw Error(c);a.traceDeprecation?console.trace(c):console.error(c);d=!0}return b.apply(this,arguments)}};var L={},q;f.debuglog=function(b){v(q)&&(q=a.env.NODE_DEBUG||"");b=b.toUpperCase();if(!L[b])if((new RegExp("\\b"+b+"\\b","i")).test(q)){var c=
a.pid;L[b]=function(){var a=f.format.apply(f,arguments);console.error("%s %d: %s",b,c,a)}}else L[b]=function(){};return L[b]};f.inspect=d;d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};d.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"};f.isArray=B;f.isBoolean=n;f.isNull=
function(a){return null===a};f.isNullOrUndefined=function(a){return null==a};f.isNumber=l;f.isString=g;f.isSymbol=function(a){return"symbol"===typeof a};f.isUndefined=v;f.isRegExp=A;f.isObject=G;f.isDate=x;f.isError=I;f.isFunction=J;f.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};f.isBuffer=e("./support/isBuffer");var O="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");f.log=function(){console.log("%s - %s",
H(),f.format.apply(f,arguments))};f.inherits=e("inherits");f._extend=function(a,b){if(!b||!G(b))return a;for(var c=Object.keys(b),d=c.length;d--;)a[c[d]]=b[c[d]];return a}}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./support/isBuffer":4,_process:2,inherits:3}],6:[function(e,g,f){Object.defineProperty(f,"__esModule",{value:!0});var a=e("./src/time-driver"),m=e("./src/mock-time-source");f.mockTimeSource=function(a){return m.mockTimeSource(a)};
f.timeDriver=function(d){return a.timeDriver(d)}},{"./src/mock-time-source":12,"./src/time-driver":19}],7:[function(e,g,f){(function(a){Object.defineProperty(f,"__esModule",{value:!0});var m="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,d=e("@cycle/run/lib/adapt"),b=1E3/60;f.makeAnimationFrames=function(a,h){return function(){var k={time:0,delta:16,normalizedDelta:1},e=!1,c=m.default.create({start:function(c){function d(){if(!e){var p=k.time;k.time=h();k.delta=k.time-
p;k.normalizedDelta=k.delta/b;c.next(k);a(d)}}k.time=h();a(d)},stop:function(){e=!0}});return d.adapt(c)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],8:[function(e,g,f){(function(a){function m(a,b,c,d){var l=d!==p.deepEqual,n=[];a.actual.length!==a.expected.length&&n.push("Length of actual and expected differs");a.actual.forEach(function(h,k){var p=a.expected[k];if(void 0===h)n.push("Actual at index "+
k+" was undefined");else if(void 0===p)n.push("Expected at index "+k+" was undefined");else{h.type!==p.type&&n.push("Expected type "+p.type+" at time "+h.time+" but got "+h.type);"complete"===h.type&&((k=Math.ceil(h.time/c)===Math.ceil(p.time/c))||n.push("Expected stream to complete at "+p.time+" but completed at "+h.time));if("next"===h.type){k=Math.ceil(h.time/c)===Math.ceil(p.time/c);var e=!0;try{var m=d(h.value,p.value);"boolean"===typeof m&&(e=m)}catch(F){e=!1,b.unexpectedErrors.push(F)}e&&!k&&
n.push("Right value at wrong time, expected at "+p.time+" but "+("happened at "+h.time+" ("+JSON.stringify(h.value)+")"));k&&e||(k=["Expected value at time "+p.time+" but got different value at "+h.time+"\n"],m=l?"Expected "+JSON.stringify(p.value)+", got "+JSON.stringify(h.value):["Diff (actual \x3d\x3e expected):",g(h.value,p.value).text].join("\n"),k.push(m),n.push(k.join("\n")))}"error"===h.type&&(k=Math.ceil(h.time/c)===Math.ceil(p.time/c),m=!0,"error"!==p.type&&(m=!1),k||(m=!1),m||(n.push("Unexpected error occurred"),
b.unexpectedErrors.push(h.error)))}});0===n.length?b.state="passed":(b.state="failed",b.error=Error(k("\nExpected\n\n"+h(a.expected,c)+"\n\nGot\n\n"+h(a.actual,c)+"\n\nFailed because:\n\n"+n.map(function(a){return" * "+a}).join("\n")+"\n\n"+r(b.unexpectedErrors)+"\n ")))}function d(a,b){for(var c=0;c<a.length;)a[c]=b,c++;return a}function b(a,b){return a.reduce(function(a,c){var d=a.items;a=a.previousValue;var l=b(c);if(l!==a)return{items:d.concat([[c]]),previousValue:l};l=d[d.length-1];return{items:d.slice(0,
-1).concat([l.concat(c)]),previousValue:a}},{items:[],previousValue:void 0}).items}function w(a){if("next"===a.type)return a=a.value,a="object"===typeof a?JSON.stringify(a):a,a;if("complete"===a.type)return"|";if("error"===a.type)return"#"}function h(a,c){if(0===a.length)return"\x3cempty stream\x3e";var n=Math.max.apply(Math,a.map(function(a){return a.time})),l=d(Array(Math.ceil(n/c)),"-");b(a,function(a){return Math.max(0,Math.floor(a.time/c))}).forEach(function(a){var b=Math.max(0,Math.floor(a[0].time/
c));1===a.length?l[b]=w(a[0]):["("].concat(a.map(w),[")"]).forEach(function(a,c){l[b+c]=a})});return l.join("")}function k(a){return a.split("\n").map(function(a){return a.replace(/^\s{12}/,"")}).join("\n")}function r(a){return 0===a.length?"":"Unexpected error:\n "+a.map(function(a){return a.stack}).join("\n \n ")}Object.defineProperty(f,"__esModule",{value:!0});var c="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,p=e("assert"),g=e("variable-diff");f.makeAssertEqual=
function(a,b,d,l,h){return function(b,d,n){void 0===n&&(n=p.deepEqual);var k={},e=a(),f={state:"pending",error:null,unexpectedErrors:[],finish:function(){m(k,f,l,n)}};h(f);b=e.record(b);d=e.record(d);c.default.combine(c.default.fromObservable(b),c.default.fromObservable(d)).addListener({next:function(a){var b=a[1];k.actual=a[0];k.expected=b},complete:function(){m(k,f,l,n)}})}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{assert:1,
"variable-diff":44}],9:[function(e,g,f){(function(a){function m(a,b,d,e,c){return{next:function(h){var k=c.scheduledEntry,p=b()+d;k&&p-k.time<=d&&(k.cancelled=!0);c.scheduledEntry=a.next(e,p,h)},error:function(a){e.error(a)},complete:function(){e.complete()}}}Object.defineProperty(f,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=e("@cycle/run/lib/adapt");f.makeDebounce=function(a){a=a();var h=a.schedule,k=a.currentTime;return function(a){return function(c){var p=
{scheduledEntry:null},e=d.default.create({start:function(b){b=m(h,k,a,b,p);d.default.fromObservable(c).addListener(b)},stop:function(){}});return b.adapt(e)}}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],10:[function(e,g,f){(function(a){function m(a,b,d,e){return{next:function(c){a.next(e,b()+d,c)},error:function(c){a.error(e,b()+d,c)},complete:function(){a.complete(e,b()+d)}}}Object.defineProperty(f,
"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=e("@cycle/run/lib/adapt");f.makeDelay=function(a){a=a();var h=a.schedule,k=a.currentTime;return function(a){return function(c){return b.adapt(d.default.create({start:function(b){b=m(h,k,a,b);d.default.fromObservable(c).addListener(b)},stop:function(){}}))}}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],
11:[function(e,g,f){(function(a){Object.defineProperty(f,"__esModule",{value:!0});var m=e("@cycle/run/lib/adapt"),d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null;f.makeDiagram=function(a,e,h,k){return function(b,c){function e(a){if(a in c)return c[a];a=a.match(/[0-9]/)?parseInt(a,10):a;return a}void 0===c&&(c={});var f=b.split(""),r=d.default.create();k(b.length*h);var g=!1;f.forEach(function(b,c){"-"!==b&&(c*=h,"("===b?g=c:")"===b?g=!1:(!1!==g&&(c=g),"|"===b?a.complete(r,
c):"#"===b?a.error(r,c,Error("scheduled error")):a.next(r,c,e(b))))});return m.adapt(r)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],12:[function(e,g,f){function a(a){if(a)throw a;}function m(a,b){a.filter(function(a){return"pending"===a.state}).forEach(function(a){return a.finish()});a=a.filter(function(a){return"failed"===a.state});0===a.length?b():(a=a.map(function(a){return a.error}),a=n(a),
"fail"in b?b.fail(a):b(a))}function d(a){return{time:16*a,delta:16,normalizedDelta:1}}Object.defineProperty(f,"__esModule",{value:!0});var b=e("./scheduler"),w=e("./delay"),h=e("./debounce"),k=e("./periodic"),r=e("./throttle"),c=e("./diagram"),p=e("./assert-equal"),t=e("./throttle-animation"),z=e("./record"),B=e("./run-virtually"),n=e("combine-errors");f.mockTimeSource=function(l){function e(){return g}function n(a){g=a}function f(){return{schedule:F.add,currentTime:e}}l=(void 0===l?{}:l).interval;
l=void 0===l?20:l;var g=0,x=0,I=[],J,F=b.makeScheduler(),H={diagram:c.makeDiagram(F.add,e,l,function(a){x=Math.max(a,x)}),record:z.makeRecord(F.add,e,l),assertEqual:p.makeAssertEqual(function(){return H},F.add,e,l,function(a){I.push(a)}),delay:w.makeDelay(f),debounce:h.makeDebounce(f),periodic:k.makePeriodic(f),throttle:r.makeThrottle(f),animationFrames:function(){return H.periodic(16).map(d)},throttleAnimation:t.makeThrottleAnimation(function(){return H},F.add,e),run:function(b,c){void 0===b&&(b=
a);void 0===c&&(c=0);J=b;c||(c=x);B.runVirtually(F,function(){return m(I,J)},e,n,c)},createOperator:f,_scheduler:F.add,_time:e};return H}},{"./assert-equal":8,"./debounce":9,"./delay":10,"./diagram":11,"./periodic":13,"./record":14,"./run-virtually":15,"./scheduler":16,"./throttle":18,"./throttle-animation":17,"combine-errors":24}],13:[function(e,g,f){(function(a){Object.defineProperty(f,"__esModule",{value:!0});var m="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,
d=e("@cycle/run/lib/adapt");f.makePeriodic=function(a){a=a();var b=a.schedule,e=a.currentTime;return function(a){function h(b,d,e,l){c||(e.next(b.stream,k+a,b.value+1,h),k+=a)}var c=!1,k=0,f={listener:null,start:function(c){f.listener=c;var d=e()+a;b.next(c,d,0,h);k=d},stop:function(){c=!0;f.listener.complete()}};return d.adapt(m.default.create(f))}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],14:[function(e,
g,f){(function(a){function m(a,b){var d=[];b.next(d);return{next:function(e){d=d.concat({type:"next",value:e,time:a()});b.next(d)},error:function(e){d=d.concat({type:"error",time:a(),error:e});b.next(d);b.complete()},complete:function(){d=d.concat({type:"complete",time:a()});b.next(d);b.complete()}}}Object.defineProperty(f,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=e("@cycle/run/lib/adapt");f.makeRecord=function(a,e,f){return function(a){var c=
d.default.createWithMemory({start:function(b){d.default.fromObservable(a).addListener(m(e,b))},stop:function(){}});return b.adapt(c)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],15:[function(e,g,f){function a(e){var d=e.scheduler,b=e.done,f=e.currentTime,h=e.setTime,k=e.timeToRunTo,m=d.peek(),k=m&&k&&m.time>=k;!m||k?b():(b=d.shiftNextEntry(),b.cancelled||(m=b.time,h(m),b.f&&b.f(b,m,d.add,f),"next"===
b.type&&b.stream.shamefullySendNext(b.value),"error"===b.type&&b.stream.shamefullySendError(b.error),"complete"===b.type&&b.stream.shamefullySendComplete()),setImmediate(a,e))}Object.defineProperty(f,"__esModule",{value:!0});e("setimmediate");f.runVirtually=function(e,d,b,f,h){void 0===h&&(h=0);setImmediate(a,{scheduler:e,done:d,currentTime:b,setTime:f,timeToRunTo:h})}},{setimmediate:40}],16:[function(e,g,f){Object.defineProperty(f,"__esModule",{value:!0});var a=e("sorted-immutable-list"),m=function(a){return function(b){if(a.time<
b.time)return-1;if(a.time===b.time&&a.stream===b.stream){if("complete"===a.type&&"next"===b.type)return 1;if("complete"===b.type&&"next"===a.type)return-1}return 1}};f.makeScheduler=function(){function d(a){e=h(e,a);return a}function b(){}var e=[],h=a.default({comparator:m,unique:!1});return{shiftNextEntry:function(){return e.shift()},isEmpty:function(){return 0===e.length},peek:function(){return e[0]},add:{_schedule:function(){return e},next:function(a,e,c,h){void 0===h&&(h=b);return d({type:"next",
stream:a,time:e,value:c,f:h})},error:function(a,b,c){return d({type:"error",stream:a,time:b,error:c})},complete:function(a,b){return d({type:"complete",stream:a,time:b})}}}}},{"sorted-immutable-list":41}],17:[function(e,g,f){(function(a){Object.defineProperty(f,"__esModule",{value:!0});var m="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,d=e("@cycle/run/lib/adapt");f.makeThrottleAnimation=function(a,e,h){return function(b){var e=a(),c=m.default.create({start:function(a){var c=
null,d=!0,h=m.default.fromObservable(e.animationFrames()),n={next:function(b){d||(a.next(c),d=!0)}};m.default.fromObservable(b).addListener({next:function(a){c=a;d=!1},error:function(b){a.error(b)},complete:function(){h.removeListener(n);a.complete()}});h.addListener(n)},stop:function(){}});return d.adapt(c)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],18:[function(e,g,f){(function(a){function m(a,
b,d,e,c){return{next:function(h){var f=c.lastEventTime,m=b();m-f<=d||(a.next(e,m,h),c.lastEventTime=m)},error:function(a){e.error(a)},complete:function(){e.complete()}}}Object.defineProperty(f,"__esModule",{value:!0});var d="undefined"!==typeof window?window.xstream:"undefined"!==typeof a?a.xstream:null,b=e("@cycle/run/lib/adapt");f.makeThrottle=function(a){a=a();var e=a.schedule,f=a.currentTime;return function(a){return function(c){var h={lastEventTime:-Infinity},k=d.default.create({start:function(b){b=
m(e,f,a,b,h);d.default.fromObservable(c).addListener(b)},stop:function(){}});return b.adapt(k)}}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"@cycle/run/lib/adapt":20}],19:[function(e,g,f){function a(a){for(var b=[];0<a.length;)b.push(a.pop());return b}function m(b,c,d,e){function h(b){f||(e(b),a(c).forEach(function(a){return a(b)}));t(h)}var f=!1;t(h);setInterval(function(){if(!f){var a=z();e(a);if(!b.isEmpty())for(var c=
b.peek().time;c<a;){c=b.shiftNextEntry();if(!c.cancelled)throw c.f&&c.f(c,a,b.add,d),"next"===c.type&&c.stream.shamefullySendNext(c.value),"complete"===c.type&&c.stream.shamefullySendComplete(),"error"===c.type&&c.stream.shamefullySendError(c.error),Error("Unhandled event type: "+c.type);c=b.peek()&&b.peek().time||Infinity}}},10);return{pause:function(){return f=!0},resume:function(a){e(a);f=!1}}}Object.defineProperty(f,"__esModule",{value:!0});var d=e("./scheduler"),b=e("./delay"),w=e("./debounce"),
h=e("./periodic"),k=e("./throttle"),r=e("./animation-frames"),c=e("./throttle-animation"),p=e("./run-virtually"),t=e("raf"),z=e("performance-now");f.timeDriver=function(a){function e(){return v}function f(a){v=a}function g(){return{schedule:z.add,currentTime:e}}var v=0,t=[],z=d.makeScheduler(),x=m(z,t,e,f);a=x.pause;var x=x.resume,B={animationFrames:r.makeAnimationFrames(function(a){t.push(a)},e),delay:b.makeDelay(g),debounce:w.makeDebounce(g),periodic:h.makePeriodic(g),throttle:k.makeThrottle(g),
throttleAnimation:c.makeThrottleAnimation(function(){return B},z.add,e),_time:e,_scheduler:z.add,_pause:a,_resume:x,_runVirtually:function(a,b){p.runVirtually(z,a,e,f,b)},dispose:a,createOperator:g};return B}},{"./animation-frames":7,"./debounce":9,"./delay":10,"./periodic":13,"./run-virtually":15,"./scheduler":16,"./throttle":18,"./throttle-animation":17,"performance-now":38,raf:39}],20:[function(e,g,f){Object.defineProperty(f,"__esModule",{value:!0});var a=function(a){return a};f.setAdapt=function(e){a=
e};f.adapt=function(e){return a(e)}},{}],21:[function(e,g,f){g.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},{}],22:[function(e,g,f){Object.defineProperty(g,"exports",{enumerable:!0,get:function(){var a={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,
39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};a.colors.grey=a.colors.gray;Object.keys(a).forEach(function(e){var d=a[e];Object.keys(d).forEach(function(b){var e=d[b];a[b]=d[b]={open:"\u001b["+e[0]+"m",close:"\u001b["+e[1]+"m"}});Object.defineProperty(a,e,{value:d,enumerable:!1})});return a}})},{}],23:[function(e,g,f){(function(a){function f(a){this.enabled=a&&void 0!==a.enabled?a.enabled:
c}function d(a){var c=function(){return b.apply(c,arguments)};c._styles=a;c.enabled=this.enabled;c.__proto__=B;return c}function b(){var a=arguments,b=a.length,c=0!==b&&String(arguments[0]);if(1<b)for(var d=1;d<b;d++)c+=" "+a[d];if(!this.enabled||!c)return c;a=this._styles;b=a.length;d=h.dim.open;!t||-1===a.indexOf("gray")&&-1===a.indexOf("grey")||(h.dim.open="");for(;b--;)var e=h[a[b]],c=e.open+c.replace(e.closeRe,e.open)+e.close;h.dim.open=d;return c}var w=e("escape-string-regexp"),h=e("ansi-styles"),
k=e("strip-ansi"),r=e("has-ansi"),c=e("supports-color"),p=Object.defineProperties,t="win32"===a.platform&&!/^xterm/i.test(a.env.TERM);t&&(h.blue.open="\u001b[94m");var z=function(){var a={};Object.keys(h).forEach(function(b){h[b].closeRe=new RegExp(w(h[b].close),"g");a[b]={get:function(){return d.call(this,this._styles.concat(b))}}});return a}(),B=p(function(){},z);p(f.prototype,function(){var a={};Object.keys(z).forEach(function(b){a[b]={get:function(){return d.call(this,[b])}}});return a}());g.exports=
new f;g.exports.styles=h;g.exports.hasColor=r;g.exports.stripColor=k;g.exports.supportsColor=c}).call(this,e("_process"))},{_process:2,"ansi-styles":22,"escape-string-regexp":28,"has-ansi":29,"strip-ansi":42,"supports-color":43}],24:[function(e,g,f){function a(b){if(!(this instanceof a))return new a(b);b=Array.isArray(b)?b:[b];b=m(b,function(a){return a.stack});if(1===b.length)return b[0];var e=new d({message:b.map(function(a){return a.message}).join("; "),errors:b.reduce(function(a,b){return a.concat(b.errors||
b)},[])});e.__defineGetter__("stack",function(){return b.map(function(a){return a.stack}).join("\n\n")});e.__defineSetter__("stack",function(a){return[a].concat(e.stack).join("\n\n")});return e}f=e("custom-error-instance");var m=e("lodash.uniqby"),d=f("MultiError");g.exports=a},{"custom-error-instance":27,"lodash.uniqby":36}],25:[function(e,g,f){function a(c,e,f,g){var p;e=m(arguments,1,Error,w,[h,d]);f=m(arguments,2,{},h,[d]);g=m(arguments,3,k,d,[]);c=m(arguments,0,e===Error?"Error":e.prototype.CustomError.name,
b,[w,h,d]);(p=e===Error)&&g===k&&(g=a.factory.root);var n=function(b,d){if(!(this instanceof n))return new n(b,d);delete this.constructor.name;Object.defineProperty(this.constructor,"name",{enumerable:!1,configurable:!0,value:c,writable:!1});"string"===typeof b&&(b={message:b});b||(b={});var e=this.CustomError.chain.slice(0).reverse().map(function(a){return a.properties});e.push(b);e.unshift({});var f=Object.assign.apply(Object,e);var h=this;var m={};Object.keys(a.factory).forEach(function(b){m[b]=
function(c,d){a.factory[b].call(h,c,d,m)}});for(b=this.CustomError.chain.length-1;0<=b;b--)e=this.CustomError.chain[b],e.factory!==k&&e.factory.call(this,f,d,m)};n.prototype=Object.create(e.prototype);n.prototype.constructor=n;n.prototype.name=c;n.prototype.CustomError={chain:p?[]:e.prototype.CustomError.chain.slice(0),factory:g,name:c,parent:e,properties:f};n.prototype.CustomError.chain.unshift(n.prototype.CustomError);n.prototype.toString=function(){var a=this.CustomError.chain[this.CustomError.chain.length-
1].name;this.code&&(a+=" "+this.code);this.message&&(a+=": "+this.message);return a};return n}function m(a,b,d,e,f){var c=-1,h=-1,m,k=b<a.length?b:a.length;for(b=0;b<=k;b++){var g=a[b];if(-1===c)for(m=0;m<f.length;m++)f[m](g)&&(c=b);-1===h&&e(g)&&(h=b)}if(-1!==h&&-1!==c&&c<h)throw new r.order;return-1!==h?a[h]:d}function d(a){return"function"===typeof a&&a!==Error&&!a.prototype.CustomError}function b(a){return"string"===typeof a}function w(a){return"function"===typeof a&&(a===Error||a.prototype.CustomError)}
function h(a){return a&&"object"===typeof a}function k(){}g.exports=a;a.factory=e("./factories.js");var r=a("CustomError");r.order=a(r,{message:"Arguments out of order.",code:"EOARG"})},{"./factories.js":26}],26:[function(e,g,f){f.expectReceive=function(a,e,d){d.root(a,e,d);e=this.message;a.hasOwnProperty("expected")&&(e+=" Expected "+a.expected+".");a.hasOwnProperty("received")&&(e+=" Received: "+a.received+".");this.message=e};f.root=function(a,e,d){function b(){g[0]=f.toString();f.stack=g.join("\n")}
var f=this,h;d=Error.stackTraceLimit;var k=!0,m="",c=Error.stackTraceLimit;e&&"object"===typeof e||(e={});e.hasOwnProperty("stackLength")&&"number"===typeof e.stackLength&&!isNaN(e.stackLength)&&0<=e.stackLength&&(d=e.stackLength);e.hasOwnProperty("rootOnly")||(k=e.rootOnly);if(!k||this.CustomError.parent===Error){Object.keys(a).forEach(function(b){switch(b){case "code":h=a.code||void 0;break;case "message":m=a.message||"";break;default:f[b]=a[b]}});Error.stackTraceLimit=d+2;var g=Error().stack.split("\n");
g.splice(0,3);g.unshift("");Error.stackTraceLimit=c;this.stack=g.join("\n");Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,get:function(){return h},set:function(a){h=a;b()}});Object.defineProperty(this,"message",{configurable:!0,enumerable:!0,get:function(){return m},set:function(a){m=a;b()}});b()}}},{}],27:[function(e,g,f){g.exports=e("./bin/error")},{"./bin/error":25}],28:[function(e,g,f){var a=/[|\\{}()[\]^$+*?.]/g;g.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");
return e.replace(a,"\\$\x26")}},{}],29:[function(e,g,f){e=e("ansi-regex");e=new RegExp(e().source);g.exports=e.test.bind(e)},{"ansi-regex":21}],30:[function(e,g,f){(function(a){function m(a,b){for(var c=-1,y=a.length,d=Array(y);++c<y;)d[c]=b(a[c],c,a);return d}function d(a,b){for(var c=-1,y=a.length;++c<y;)if(b(a[c],c,a))return!0;return!1}function b(a,b){return m(b,function(b){return[b,a[b]]})}function w(a){return a&&a.Object===Object?a:null}function h(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=
!!(a+"")}catch(Ja){}return b}function k(a){var b=-1,c=Array(a.size);a.forEach(function(a,y){c[++b]=[y,a]});return c}function r(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=a});return c}function c(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=[a,a]});return c}function p(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var y=a[b];this.set(y[0],y[1])}}function t(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var y=a[b];this.set(y[0],y[1])}}function z(a){var b=-1,c=a?a.length:
0;for(this.clear();++b<c;){var y=a[b];this.set(y[0],y[1])}}function B(a){var b=-1,c=a?a.length:0;for(this.__data__=new z;++b<c;)this.add(a[b])}function n(a){this.__data__=new t(a)}function l(a,b){for(var c=a.length;c--;){var d=a[c][0];if(d===b||d!==d&&b!==b)return c}return-1}function C(a,b){b=Z(b,a)?[b]:H(b);for(var c=0,d=b.length;null!=a&&c<d;)a=a[aa(b[c++])];return c&&c==d?a:void 0}function v(a,b){return S.call(a,b)||"object"==typeof a&&b in a&&null===qa(Object(a))}function A(a,b,c,d,e){if(a===
b)return!0;if(null==a||null==b||!W(a)&&!X(b))return a!==a&&b!==b;a:{var y=Q(a),f=Q(b),q="[object Array]",k="[object Array]";y||(q=M(a),q="[object Arguments]"==q?"[object Object]":q);f||(k=M(b),k="[object Arguments]"==k?"[object Object]":k);var g="[object Object]"==q&&!h(a),f="[object Object]"==k&&!h(b);if((k=q==k)&&!g){e||(e=new n);var m;(m=y)||(m=X(a)&&ba(a.length)&&!!D[T.call(a)]);b=m?u(a,b,A,c,d,e):L(a,b,q,A,c,d,e)}else{if(!(d&2)&&(q=g&&S.call(a,"__wrapped__"),y=f&&S.call(b,"__wrapped__"),q||y)){a=
q?a.value():a;b=y?b.value():b;e||(e=new n);b=A(a,b,c,d,e);break a}if(k){e||(e=new n);b:{var q=d&2,y=ga(a),f=y.length,k=ga(b).length;if(f==k||q){for(g=f;g--;){var P=y[g];if(!(q?P in b:v(b,P))){b=!1;break b}}if(k=e.get(a))b=k==b;else{k=!0;e.set(a,b);for(var p=q;++g<f;){P=y[g];var l=a[P],O=b[P];c&&(m=q?c(O,l,P,b,a,e):c(l,O,P,a,b,e));if(void 0===m?l!==O&&!A(l,O,c,d,e):!m){k=!1;break}p||(p="constructor"==P)}k&&!p&&(c=a.constructor,d=b.constructor,c!=d&&"constructor"in a&&"constructor"in b&&!("function"==
typeof c&&c instanceof c&&"function"==typeof d&&d instanceof d)&&(k=!1));e["delete"](a);b=k}}else b=!1}}else b=!1}}return b}function G(a,b,c,d){var e,y=c.length,q=y,f=!d;if(null==a)return!q;for(a=Object(a);y--;){var h=c[y];if(f&&h[2]?h[1]!==a[h[0]]:!(h[0]in a))return!1}for(;++y<q;){h=c[y];var u=h[0],k=a[u],g=h[1];if(f&&h[2]){if(void 0===k&&!(u in a))return!1}else if(h=new n,d&&(e=d(k,g,u,a,b,h)),void 0===e?!A(g,k,d,3,h):!e)return!1}return!0}function x(a){var b=O(a);return 1==b.length&&b[0][2]?ja(b[0][0],
b[0][1]):function(c){return c===a||G(c,a,b)}}function I(a,b){return Z(a)&&b===b&&!W(b)?ja(aa(a),b):function(c){var d=null==c?void 0:C(c,a);d=void 0===d?void 0:d;if(void 0===d&&d===b){if(d=null!=c){d=a;d=Z(d,c)?[d]:H(d);for(var e,y=-1,q=d.length;++y<q;){var f=aa(d[y]);if(!(e=null!=c&&f in Object(c)))break;c=c[f]}e?d=e:(q=c?c.length:0,d=!!q&&ba(q)&&ia(f,q)&&(Q(c)||la(c)||fa(c)))}f=d}else f=A(b,d,void 0,3);return f}}function J(a){return function(b){return null==b?void 0:b[a]}}function F(a){return function(b){return C(b,
a)}}function H(a){return Q(a)?a:ra(a)}function u(a,b,c,e,f,q){var y,h=f&2,u=a.length,k=b.length;if(u!=k&&!(h&&k>u))return!1;if(k=q.get(a))return k==b;var k=-1,g=!0,m=f&1?new B:void 0;for(q.set(a,b);++k<u;){var n=a[k],l=b[k];e&&(y=h?e(l,n,k,b,a,q):e(n,l,k,a,b,q));if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!d(b,function(a,b){if(!m.has(b)&&(n===a||c(n,a,e,f,q)))return m.add(b)})){g=!1;break}}else if(n!==l&&!c(n,l,e,f,q)){g=!1;break}}q["delete"](a);return g}function L(a,b,c,d,e,q,f){switch(c){case "[object DataView]":if(a.byteLength!=
b.byteLength||a.byteOffset!=b.byteOffset)break;a=a.buffer;b=b.buffer;case "[object ArrayBuffer]":if(a.byteLength!=b.byteLength||!d(new ma(a),new ma(b)))break;return!0;case "[object Boolean]":case "[object Date]":return+a==+b;case "[object Error]":return a.name==b.name&&a.message==b.message;case "[object Number]":return a!=+a?b!=+b:a==+b;case "[object RegExp]":case "[object String]":return a==b+"";case "[object Map]":var y=k;case "[object Set]":y||(y=r);if(a.size!=b.size&&!(q&2))break;if(c=f.get(a))return c==
b;q|=1;f.set(a,b);return u(y(a),y(b),d,e,q,f);case "[object Symbol]":if(ha)return ha.call(a)==ha.call(b)}return!1}function q(a,b){a=a.__data__;var c=typeof b;return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map}function O(a){a=sa(a);for(var b=a.length;b--;){var c=a[b];var d=a[b][1];d=d===d&&!W(d);c[2]=d}return a}function E(a,b){a=a[b];b=W(a)?(na(a)||h(a)?ta:ua).test(R(a)):!1;return b?a:void 0}function M(a){return T.call(a)}
function ia(a,b){b=null==b?9007199254740991:b;return!!b&&("number"==typeof a||va.test(a))&&-1<a&&0==a%1&&a<b}function Z(a,b){if(Q(a))return!1;var c=typeof a;return"number"==c||"symbol"==c||"boolean"==c||null==a||oa(a)?!0:wa.test(a)||!xa.test(a)||null!=b&&a in Object(b)}function ja(a,b){return function(c){return null==c?!1:c[a]===b&&(void 0!==b||a in Object(c))}}function aa(a){if("string"==typeof a||oa(a))return a;var b=a+"";return"0"==b&&1/a==-ya?"-0":b}function R(a){if(null!=a){try{return pa.call(a)}catch(P){}return a+
""}return""}function fa(a){return X(a)&&ka(a)&&S.call(a,"callee")&&(!za.call(a,"callee")||"[object Arguments]"==T.call(a))}function ka(a){return null!=a&&ba(Aa(a))&&!na(a)}function na(a){a=W(a)?T.call(a):"";return"[object Function]"==a||"[object GeneratorFunction]"==a}function ba(a){return"number"==typeof a&&-1<a&&0==a%1&&9007199254740991>=a}function W(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}function X(a){return!!a&&"object"==typeof a}function la(a){return"string"==typeof a||!Q(a)&&
X(a)&&"[object String]"==T.call(a)}function oa(a){return"symbol"==typeof a||X(a)&&"[object Symbol]"==T.call(a)}function ga(a){var b=a&&a.constructor;b=a===("function"==typeof b&&b.prototype||ca);if(!b&&!ka(a))return Ba(Object(a));var c=a?a.length:void 0;if(ba(c)&&(Q(a)||la(a)||fa(a))){var d=String;for(var e=-1,q=Array(c);++e<c;)q[e]=d(e);c=q}else c=null;d=c;c=!!d;d=d||[];var e=d.length,f;for(f in a)!v(a,f)||c&&("length"==f||ia(f,e))||b&&"constructor"==f||d.push(f);return d}function Ca(a){return a}
var ra=e("lodash._stringtopath"),ya=1/0,xa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wa=/^\w*$/,ua=/^\[object .+?Constructor\]$/,va=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0;D["[object Arguments]"]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object Boolean]"]=D["[object DataView]"]=
D["[object Date]"]=D["[object Error]"]=D["[object Function]"]=D["[object Map]"]=D["[object Number]"]=D["[object Object]"]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object WeakMap]"]=!1;var K={"function":!0,object:!0},U=K[typeof g]&&g&&!g.nodeType?g:void 0;a=w((K[typeof f]&&f&&!f.nodeType?f:void 0)&&U&&"object"==typeof a&&a);var U=w(K[typeof self]&&self),V=w(K[typeof window]&&window),K=w(K[typeof this]&&this),N=a||V!==(K&&K.window)&&V||U||K||Function("return this")();a=Array.prototype;
var ca=Object.prototype,pa=Function.prototype.toString,S=ca.hasOwnProperty,T=ca.toString,ta=RegExp("^"+pa.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=N.Symbol,ma=N.Uint8Array,za=ca.propertyIsEnumerable,Da=a.splice,qa=Object.getPrototypeOf,Ba=Object.keys;a=E(N,"DataView");var da=E(N,"Map"),U=E(N,"Promise"),V=E(N,"Set"),N=E(N,"WeakMap"),Y=E(Object,"create"),Ea=R(a),Fa=R(da),Ga=R(U),Ha=R(V),Ia=R(N),ha=(K=K?K.prototype:
void 0)?K.valueOf:void 0;p.prototype.clear=function(){this.__data__=Y?Y(null):{}};p.prototype["delete"]=function(a){return this.has(a)&&delete this.__data__[a]};p.prototype.get=function(a){var b=this.__data__;return Y?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):S.call(b,a)?b[a]:void 0};p.prototype.has=function(a){var b=this.__data__;return Y?void 0!==b[a]:S.call(b,a)};p.prototype.set=function(a,b){this.__data__[a]=Y&&void 0===b?"__lodash_hash_undefined__":b;return this};t.prototype.clear=function(){this.__data__=
[]};t.prototype["delete"]=function(a){var b=this.__data__;a=l(b,a);if(0>a)return!1;a==b.length-1?b.pop():Da.call(b,a,1);return!0};t.prototype.get=function(a){var b=this.__data__;a=l(b,a);return 0>a?void 0:b[a][1]};t.prototype.has=function(a){return-1<l(this.__data__,a)};t.prototype.set=function(a,b){var c=this.__data__,d=l(c,a);0>d?c.push([a,b]):c[d][1]=b;return this};z.prototype.clear=function(){this.__data__={hash:new p,map:new (da||t),string:new p}};z.prototype["delete"]=function(a){return q(this,
a)["delete"](a)};z.prototype.get=function(a){return q(this,a).get(a)};z.prototype.has=function(a){return q(this,a).has(a)};z.prototype.set=function(a,b){q(this,a).set(a,b);return this};B.prototype.add=B.prototype.push=function(a){this.__data__.set(a,"__lodash_hash_undefined__");return this};B.prototype.has=function(a){return this.__data__.has(a)};n.prototype.clear=function(){this.__data__=new t};n.prototype["delete"]=function(a){return this.__data__["delete"](a)};n.prototype.get=function(a){return this.__data__.get(a)};
n.prototype.has=function(a){return this.__data__.has(a)};n.prototype.set=function(a,b){var c=this.__data__;c instanceof t&&200==c.__data__.length&&(c=this.__data__=new z(c.__data__));c.set(a,b);return this};var Aa=J("length");if(a&&"[object DataView]"!=M(new a(new ArrayBuffer(1)))||da&&"[object Map]"!=M(new da)||U&&"[object Promise]"!=M(U.resolve())||V&&"[object Set]"!=M(new V)||N&&"[object WeakMap]"!=M(new N))M=function(a){var b=T.call(a);if(a=(a="[object Object]"==b?a.constructor:void 0)?R(a):void 0)switch(a){case Ea:return"[object DataView]";
case Fa:return"[object Map]";case Ga:return"[object Promise]";case Ha:return"[object Set]";case Ia:return"[object WeakMap]"}return b};var Q=Array.isArray,sa=function(a){return function(d){var e=M(d);return"[object Map]"==e?k(d):"[object Set]"==e?c(d):b(d,a(d))}}(ga);g.exports=function(a){return"function"==typeof a?a:null==a?Ca:"object"==typeof a?Q(a)?I(a[0],a[1]):x(a):Z(a)?J(aa(a)):F(a)}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:
{})},{"lodash._stringtopath":35}],31:[function(e,g,f){(function(a){function e(a){return a&&a.Object===Object?a:null}var d=1/0,b={"function":!0,object:!0},w=b[typeof g]&&g&&!g.nodeType?g:void 0;a=e((b[typeof f]&&f&&!f.nodeType?f:void 0)&&w&&"object"==typeof a&&a);var w=e(b[typeof self]&&self),h=e(b[typeof window]&&window),b=e(b[typeof this]&&this),b=a||h!==(b&&b.window)&&h||w||b||Function("return this")(),k=Object.prototype.toString,r=(b=(b=b.Symbol)?b.prototype:void 0)?b.toString:void 0;g.exports=
function(a){if("string"==typeof a)return a;if("symbol"==typeof a||a&&"object"==typeof a&&"[object Symbol]"==k.call(a))return r?r.call(a):"";var b=a+"";return"0"==b&&1/a==-d?"-0":b}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],32:[function(e,g,f){function a(a,b){var c;if(c=!!a.length){a:if(b!==b)b:{b=a.length;for(c=-1;++c<b;){var d=a[c];if(d!==d){a=c;break b}}a=-1}else{c=-1;for(d=a.length;++c<d;)if(a[c]===b){a=c;break a}a=
-1}c=-1<a}return c}function m(a,b,c){for(var d=-1,e=a.length;++d<e;)if(c(b,a[d]))return!0;return!1}function d(a,b){return a.has(b)}function b(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=!!(a+"")}catch(q){}return b}function w(a){var b=-1,c=Array(a.size);a.forEach(function(a){c[++b]=a});return c}function h(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function k(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}
function r(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function c(a){var b=-1,c=a?a.length:0;for(this.__data__=new r;++b<c;)this.add(a[b])}function p(a,b){for(var c=a.length;c--;){var d=a[c][0];if(d===b||d!==d&&b!==b)return c}return-1}function t(a,b){a=a.__data__;var c=typeof b;return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map}function z(a,c){a=a[c];n(a)?(c=n(a)?x.call(a):"",c=("[object Function]"==
c||"[object GeneratorFunction]"==c||b(a)?I:C).test(B(a))):c=!1;return c?a:void 0}function B(a){if(null!=a){try{return A.call(a)}catch(L){}return a+""}return""}function n(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}var l=e("lodash._createset");e=e("lodash._root");var C=/^\[object .+?Constructor\]$/;f=Array.prototype;var v=Object.prototype,A=Function.prototype.toString,G=v.hasOwnProperty,x=v.toString,I=RegExp("^"+A.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
"$1.*?")+"$"),J=f.splice,F=z(e,"Map"),H=z(Object,"create");h.prototype.clear=function(){this.__data__=H?H(null):{}};h.prototype["delete"]=function(a){return this.has(a)&&delete this.__data__[a]};h.prototype.get=function(a){var b=this.__data__;return H?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):G.call(b,a)?b[a]:void 0};h.prototype.has=function(a){var b=this.__data__;return H?void 0!==b[a]:G.call(b,a)};h.prototype.set=function(a,b){this.__data__[a]=H&&void 0===b?"__lodash_hash_undefined__":b;
return this};k.prototype.clear=function(){this.__data__=[]};k.prototype["delete"]=function(a){var b=this.__data__;a=p(b,a);if(0>a)return!1;a==b.length-1?b.pop():J.call(b,a,1);return!0};k.prototype.get=function(a){var b=this.__data__;a=p(b,a);return 0>a?void 0:b[a][1]};k.prototype.has=function(a){return-1<p(this.__data__,a)};k.prototype.set=function(a,b){var c=this.__data__,d=p(c,a);0>d?c.push([a,b]):c[d][1]=b;return this};r.prototype.clear=function(){this.__data__={hash:new h,map:new (F||k),string:new h}};
r.prototype["delete"]=function(a){return t(this,a)["delete"](a)};r.prototype.get=function(a){return t(this,a).get(a)};r.prototype.has=function(a){return t(this,a).has(a)};r.prototype.set=function(a,b){t(this,a).set(a,b);return this};c.prototype.add=c.prototype.push=function(a){this.__data__.set(a,"__lodash_hash_undefined__");return this};c.prototype.has=function(a){return this.__data__.has(a)};g.exports=function(b,e,f){var h=-1,q=a,k=b.length,g=!0,n=[],p=n;if(f)g=!1,q=m;else if(200<=k){if(q=e?null:
l(b))return w(q);g=!1;q=d;p=new c}else p=e?[]:n;a:for(;++h<k;){var r=b[h],t=e?e(r):r,r=f||0!==r?r:0;if(g&&t===t){for(var v=p.length;v--;)if(p[v]===t)continue a;e&&p.push(t);n.push(r)}else q(p,t,f)||(p!==n&&p.push(t),n.push(r))}return n}},{"lodash._createset":33,"lodash._root":34}],33:[function(e,g,f){(function(a){function e(a){return a&&a.Object===Object?a:null}function d(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=!!(a+"")}catch(G){}return b}function b(a){var b=-1,c=Array(a.size);
a.forEach(function(a){c[++b]=a});return c}function w(a){if(null!=a){try{return B.call(a)}catch(A){}return a+""}return""}function h(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}function k(){}var r=1/0,c=/^\[object .+?Constructor\]$/,p={"function":!0,object:!0},t=p[typeof g]&&g&&!g.nodeType?g:void 0;a=e((p[typeof f]&&f&&!f.nodeType?f:void 0)&&t&&"object"==typeof a&&a);var t=e(p[typeof self]&&self),z=e(p[typeof window]&&window),p=e(p[typeof this]&&this),p=a||z!==(p&&p.window)&&z||t||p||
Function("return this")();a=Object.prototype;var B=Function.prototype.toString,n=a.toString,l=RegExp("^"+B.call(a.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=function(a,b){a=a[b];h(a)?(b=h(a)?n.call(a):"",b=("[object Function]"==b||"[object GeneratorFunction]"==b||d(a)?l:c).test(w(a))):b=!1;return b?a:void 0}(p,"Set"),r=C&&1/b(new C([,-0]))[1]==r?function(a){return new C(a)}:k;g.exports=r}).call(this,"undefined"!==
typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],34:[function(e,g,f){(function(a){function e(a){return a&&a.Object===Object?a:null}var d={"function":!0,object:!0},b=d[typeof g]&&g&&!g.nodeType?g:void 0;a=e((d[typeof f]&&f&&!f.nodeType?f:void 0)&&b&&"object"==typeof a&&a);var b=e(d[typeof self]&&self),w=e(d[typeof window]&&window),d=e(d[typeof this]&&this),d=a||w!==(d&&d.window)&&w||b||d||Function("return this")();g.exports=d}).call(this,"undefined"!==
typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],35:[function(e,g,f){(function(a){function m(a){return a&&a.Object===Object?a:null}function d(a){var b=!1;if(null!=a&&"function"!=typeof a.toString)try{b=!!(a+"")}catch(E){}return b}function b(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function w(a){var b=-1,c=a?a.length:0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function h(a){var b=-1,c=a?a.length:
0;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}function k(a,b){for(var c=a.length;c--;){var d=a[c][0];if(d===b||d!==d&&b!==b)return c}return-1}function r(a,b){a=a.__data__;var c=typeof b;return("string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==b:null===b)?a["string"==typeof b?"string":"hash"]:a.map}function c(a,b){a=a[b];z(a)?(b=z(a)?J.call(a):"",b=("[object Function]"==b||"[object GeneratorFunction]"==b||d(a)?F:C).test(p(a))):b=!1;return b?a:void 0}function p(a){if(null!=
a){try{return x.call(a)}catch(O){}return a+""}return""}function t(a,b){if("function"!=typeof a||b&&"function"!=typeof b)throw new TypeError("Expected a function");var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);d=a.apply(this,d);c.cache=f.set(e,d);return d};c.cache=new (t.Cache||h);return c}function z(a){var b=typeof a;return!!a&&("object"==b||"function"==b)}var B=e("lodash._basetostring"),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,
l=/\\(\\)?/g,C=/^\[object .+?Constructor\]$/,v={"function":!0,object:!0},A=v[typeof g]&&g&&!g.nodeType?g:void 0;a=m((v[typeof f]&&f&&!f.nodeType?f:void 0)&&A&&"object"==typeof a&&a);var A=m(v[typeof self]&&self),G=m(v[typeof window]&&window),v=m(v[typeof this]&&this),v=a||G!==(v&&v.window)&&G||A||v||Function("return this")();a=Array.prototype;var A=Object.prototype,x=Function.prototype.toString,I=A.hasOwnProperty,J=A.toString,F=RegExp("^"+x.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$\x26").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,
"$1.*?")+"$"),H=a.splice,u=c(v,"Map"),L=c(Object,"create");b.prototype.clear=function(){this.__data__=L?L(null):{}};b.prototype["delete"]=function(a){return this.has(a)&&delete this.__data__[a]};b.prototype.get=function(a){var b=this.__data__;return L?(a=b[a],"__lodash_hash_undefined__"===a?void 0:a):I.call(b,a)?b[a]:void 0};b.prototype.has=function(a){var b=this.__data__;return L?void 0!==b[a]:I.call(b,a)};b.prototype.set=function(a,b){this.__data__[a]=L&&void 0===b?"__lodash_hash_undefined__":b;
return this};w.prototype.clear=function(){this.__data__=[]};w.prototype["delete"]=function(a){var b=this.__data__;a=k(b,a);if(0>a)return!1;a==b.length-1?b.pop():H.call(b,a,1);return!0};w.prototype.get=function(a){var b=this.__data__;a=k(b,a);return 0>a?void 0:b[a][1]};w.prototype.has=function(a){return-1<k(this.__data__,a)};w.prototype.set=function(a,b){var c=this.__data__,d=k(c,a);0>d?c.push([a,b]):c[d][1]=b;return this};h.prototype.clear=function(){this.__data__={hash:new b,map:new (u||w),string:new b}};
h.prototype["delete"]=function(a){return r(this,a)["delete"](a)};h.prototype.get=function(a){return r(this,a).get(a)};h.prototype.has=function(a){return r(this,a).has(a)};h.prototype.set=function(a,b){r(this,a).set(a,b);return this};v=t(function(a){var b=[];(null==a?"":B(a)).replace(n,function(a,c,d,e){b.push(d?e.replace(l,"$1"):c||a)});return b});t.Cache=h;g.exports=v}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"lodash._basetostring":31}],
36:[function(e,g,f){var a=e("lodash._baseiteratee"),m=e("lodash._baseuniq");g.exports=function(d,b){return d&&d.length?m(d,a(b)):[]}},{"lodash._baseiteratee":30,"lodash._baseuniq":32}],37:[function(e,g,f){var a=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;g.exports=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;for(var d={},a=0;10>a;a++)d["_"+String.fromCharCode(a)]=
a;if("0123456789"!==Object.getOwnPropertyNames(d).map(function(a){return d[a]}).join(""))return!1;var e={};"abcdefghijklmnopqrst".split("").forEach(function(a){e[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},e)).join("")?!1:!0}catch(k){return!1}}()?Object.assign:function(b,e){if(null===b||void 0===b)throw new TypeError("Object.assign cannot be called with null or undefined");var f=Object(b);for(var k,g=1;g<arguments.length;g++){var c=Object(arguments[g]);for(var p in c)m.call(c,
p)&&(f[p]=c[p]);if(a){k=a(c);for(var t=0;t<k.length;t++)d.call(c,k[t])&&(f[k[t]]=c[k[t]])}}return f}},{}],38:[function(e,g,f){(function(a){(function(){if("undefined"!==typeof performance&&null!==performance&&performance.now)g.exports=function(){return performance.now()};else if("undefined"!==typeof a&&null!==a&&a.hrtime){g.exports=function(){return(d()-h)/1E6};var e=a.hrtime;var d=function(){var a=e();return 1E9*a[0]+a[1]};var b=d();var f=1E9*a.uptime();var h=b-f}else if(Date.now){g.exports=function(){return Date.now()-
k};var k=Date.now()}else g.exports=function(){return(new Date).getTime()-k},k=(new Date).getTime()}).call(this)}).call(this,e("_process"))},{_process:2}],39:[function(e,g,f){(function(a){var f=e("performance-now"),d="undefined"===typeof window?a:window;a=["moz","webkit"];for(var b=d.requestAnimationFrame,w=d.cancelAnimationFrame||d.cancelRequestAnimationFrame,h=0;!b&&h<a.length;h++)b=d[a[h]+"RequestAnimationFrame"],w=d[a[h]+"CancelAnimationFrame"]||d[a[h]+"CancelRequestAnimationFrame"];if(!b||!w)var k=
0,r=0,c=[],p=1E3/60,b=function(a){if(0===c.length){var b=f(),d=Math.max(0,p-(b-k));k=d+b;setTimeout(function(){for(var a=c.slice(0),b=c.length=0;b<a.length;b++)if(!a[b].cancelled)try{a[b].callback(k)}catch(C){setTimeout(function(){throw C;},0)}},Math.round(d))}c.push({handle:++r,callback:a,cancelled:!1});return r},w=function(a){for(var b=0;b<c.length;b++)c[b].handle===a&&(c[b].cancelled=!0)};g.exports=function(a){return b.call(d,a)};g.exports.cancel=function(){w.apply(d,arguments)};g.exports.polyfill=
function(){d.requestAnimationFrame=b;d.cancelAnimationFrame=w}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"performance-now":38}],40:[function(e,g,f){(function(a,e){(function(d,b){function e(a){delete n[a]}function f(a){if(l)setTimeout(f,0,a);else{var c=n[a];if(c){l=!0;try{var d=c.callback,h=c.args;switch(h.length){case 0:d();break;case 1:d(h[0]);break;case 2:d(h[0],h[1]);break;case 3:d(h[0],h[1],h[2]);break;default:d.apply(b,
h)}}finally{e(a),l=!1}}}}function k(){v=function(b){a.nextTick(function(){f(b)})}}function g(){if(d.postMessage&&!d.importScripts){var a=!0,b=d.onmessage;d.onmessage=function(){a=!1};d.postMessage("","*");d.onmessage=b;return a}}function c(){var a="setImmediate$"+Math.random()+"$",b=function(b){b.source===d&&"string"===typeof b.data&&0===b.data.indexOf(a)&&f(+b.data.slice(a.length))};d.addEventListener?d.addEventListener("message",b,!1):d.attachEvent("onmessage",b);v=function(b){d.postMessage(a+b,
"*")}}function p(){var a=new MessageChannel;a.port1.onmessage=function(a){f(a.data)};v=function(b){a.port2.postMessage(b)}}function m(){var a=C.documentElement;v=function(b){var c=C.createElement("script");c.onreadystatechange=function(){f(b);c.onreadystatechange=null;a.removeChild(c);c=null};a.appendChild(c)}}function z(){v=function(a){setTimeout(f,0,a)}}if(!d.setImmediate){var B=1,n={},l=!1,C=d.document,v,A=Object.getPrototypeOf&&Object.getPrototypeOf(d),A=A&&A.setTimeout?A:d;"[object process]"===
{}.toString.call(d.process)?k():g()?c():d.MessageChannel?p():C&&"onreadystatechange"in C.createElement("script")?m():z();A.setImmediate=function(a){"function"!==typeof a&&(a=new Function(""+a));for(var b=Array(arguments.length-1),c=0;c<b.length;c++)b[c]=arguments[c+1];n[B]={callback:a,args:b};v(B);return B++};A.clearImmediate=e}})("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==
typeof window?window:{})},{_process:2}],41:[function(e,g,f){Object.defineProperty(f,"__esModule",{value:!0});f.default=function(){var d=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},b=d.comparator,e=d.key,d=d.unique,f=void 0===d?!0:d,k="function"===typeof f;if(b&&e)throw Error("Both comparator and key cannot be defined");e?b=m(e):b||(b=a);return function(a,c){if(!a)return[c];for(var d=b(c),e=-1,h=a.length;e!==h-1;){var g=Math.floor((h-e)/2+e),n=d(a[g]);if(0<n)e=g;else{if(0===n)return f?
(d=a.slice(0),d[g]=k?f(a[g],c):c,d):a.slice(0,g).concat([c]).concat(a.slice(g));h=g}}return a.slice(0,h).concat([c]).concat(a.slice(h))}};var a=function(a){return function(b){return a<b?-1:a==b?0:1}},m=function(a){return function(b){var d=a(b);return function(b){b=a(b);return d<b?-1:d==b?0:1}}}},{}],42:[function(e,g,f){var a=e("ansi-regex")();g.exports=function(e){return"string"===typeof e?e.replace(a,""):e}},{"ansi-regex":21}],43:[function(e,g,f){(function(a){var e=a.argv,d=e.indexOf("--"),b=function(a){a=
e.indexOf("--"+a);return-1!==a&&(-1!==d?a<d:!0)};g.exports="FORCE_COLOR"in a.env?!0:b("no-color")||b("no-colors")||b("color\x3dfalse")?!1:b("color")||b("colors")||b("color\x3dtrue")||b("color\x3dalways")?!0:a.stdout&&!a.stdout.isTTY?!1:"win32"===a.platform||"COLORTERM"in a.env?!0:"dumb"===a.env.TERM?!1:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(a.env.TERM)?!0:!1}).call(this,e("_process"))},{_process:2}],44:[function(e,g,f){function a(a){return"function"===typeof a?a.toString().replace(/\{.+\}/,
"{}"):"object"!==typeof a&&"string"!==typeof a||a instanceof RegExp?""+a:JSON.stringify(a)}function m(a){return a.split(k.newLineChar).map(function(a,b){return 0===b?a:r+a}).join(k.newLineChar)}function d(b,e){var c="",f=!1,h="";if(Array.isArray(b)&&Array.isArray(e)){for(var g=0;g<b.length;g++)if(g<e.length){var l=d(b[g],e[g]);l.changed&&(h+=r+g+": "+m(l.text)+k.newLineChar,f=!0)}else h+=k.wrap("removed","- "+g+": "+a(b[g]))+k.newLineChar,f=!0;if(e.length>b.length){for(;g<e.length;g++)h+=k.wrap("added",
"+ "+g+": "+a(e[g]))+k.newLineChar;f=!0}f&&(c="["+k.newLineChar+h+"]")}else if("object"===typeof b&&b&&!Array.isArray(b)&&"object"===typeof e&&e&&!Array.isArray(e)){var p=Object.keys(b);var v=w({},e);p.sort();for(g=0;g<p.length;g++){var A=p[g];e.hasOwnProperty(A)?(l=d(b[A],e[A]),l.changed&&(h+=r+A+": "+m(l.text)+k.newLineChar,f=!0),delete v[A]):(h+=k.wrap("removed","- "+A+": "+a(b[A]))+k.newLineChar,f=!0)}b=Object.keys(v);for(g=0;g<b.length;g++)h+=k.wrap("added","+ "+b[g]+": "+a(e[b[g]]))+k.newLineChar,
f=!0;f&&(c="{"+k.newLineChar+h+"}")}else b!==e&&(c=k.wrap("modified",a(b)+" \x3d\x3e "+a(e)),f=!0);return{changed:f,text:c}}var b=e("chalk"),w=e("object-assign"),h={modified:"yellow",added:"green",removed:"red"},k={indent:2,indentChar:" ",newLineChar:"\n",wrap:function(a,d){return b[h[a]](d)}},r="";for(e=0;e<k.indent;e++)r+=k.indentChar;g.exports=d},{chalk:23,"object-assign":37}]},{},[6])(6)});

@@ -12,2 +12,3 @@ import { Stream } from 'most';

throttleAnimation: Operator;
dispose(): void;
}

@@ -14,0 +15,0 @@ interface MockTimeSource extends TimeSource {

@@ -14,2 +14,3 @@ import { Observable } from 'rxjs/Observable';

throttleAnimation: Operator;
dispose(): void;
}

@@ -16,0 +17,0 @@ interface MockTimeSource extends TimeSource {

@@ -19,6 +19,6 @@ "use strict";

error: function (e) {
schedule.error(listener, currentTime(), e);
listener.error(e);
},
complete: function () {
schedule.complete(listener, currentTime());
listener.complete();
},

@@ -25,0 +25,0 @@ };

@@ -28,3 +28,3 @@ "use strict";

stopped = true;
schedule.complete(producer.listener, currentTime());
producer.listener.complete();
},

@@ -31,0 +31,0 @@ };

@@ -16,3 +16,3 @@ "use strict";

if (!emittedLastValue) {
schedule.next(listener, currentTime(), lastValue);
listener.next(lastValue);
emittedLastValue = true;

@@ -28,7 +28,7 @@ }

error: function (err) {
schedule.error(listener, currentTime(), err);
listener.error(err);
},
complete: function () {
frame$.removeListener(animationListener);
schedule.complete(listener, currentTime());
listener.complete();
},

@@ -35,0 +35,0 @@ });

@@ -19,6 +19,6 @@ "use strict";

error: function (error) {
schedule.error(listener, currentTime(), error);
listener.error(error);
},
complete: function () {
schedule.complete(listener, currentTime());
listener.complete();
},

@@ -25,0 +25,0 @@ };

@@ -11,3 +11,3 @@ "use strict";

var run_virtually_1 = require("./run-virtually");
var raf_1 = require("raf");
var requestAnimationFrame = require("raf");
var now = require("performance-now");

@@ -30,3 +30,3 @@ function popAll(array) {

if (paused) {
raf_1.requestAnimationFrame(processFrameCallbacks);
requestAnimationFrame(processFrameCallbacks);
return;

@@ -37,5 +37,5 @@ }

currentCallbacks.forEach(function (callback) { return callback(time); });
raf_1.requestAnimationFrame(processFrameCallbacks);
requestAnimationFrame(processFrameCallbacks);
}
raf_1.requestAnimationFrame(processFrameCallbacks);
requestAnimationFrame(processFrameCallbacks);
function processEvent() {

@@ -63,2 +63,6 @@ if (paused) {

}
if (eventToProcess.type === 'error') {
eventToProcess.stream.shamefullySendError(eventToProcess.error);
}
throw new Error('Unhandled event type: ' + eventToProcess.type);
}

@@ -104,2 +108,3 @@ nextEventTime = (scheduler.peek() && scheduler.peek().time) || Infinity;

},
dispose: pause,
createOperator: createOperator,

@@ -106,0 +111,0 @@ };

@@ -13,2 +13,3 @@ import { Stream } from 'xstream';

throttleAnimation: Operator;
dispose(): void;
}

@@ -15,0 +16,0 @@ export interface MockTimeSource extends TimeSource {

@@ -12,2 +12,3 @@ import { Stream } from 'most';

throttleAnimation: Operator;
dispose(): void;
}

@@ -14,0 +15,0 @@ interface MockTimeSource extends TimeSource {

@@ -14,2 +14,3 @@ import { Observable } from 'rxjs/Observable';

throttleAnimation: Operator;
dispose(): void;
}

@@ -16,0 +17,0 @@ interface MockTimeSource extends TimeSource {

@@ -17,6 +17,6 @@ import xs from 'xstream';

error: function (e) {
schedule.error(listener, currentTime(), e);
listener.error(e);
},
complete: function () {
schedule.complete(listener, currentTime());
listener.complete();
},

@@ -23,0 +23,0 @@ };

@@ -26,3 +26,3 @@ import xs from 'xstream';

stopped = true;
schedule.complete(producer.listener, currentTime());
producer.listener.complete();
},

@@ -29,0 +29,0 @@ };

@@ -14,3 +14,3 @@ import xs from 'xstream';

if (!emittedLastValue) {
schedule.next(listener, currentTime(), lastValue);
listener.next(lastValue);
emittedLastValue = true;

@@ -26,7 +26,7 @@ }

error: function (err) {
schedule.error(listener, currentTime(), err);
listener.error(err);
},
complete: function () {
frame$.removeListener(animationListener);
schedule.complete(listener, currentTime());
listener.complete();
},

@@ -33,0 +33,0 @@ });

@@ -17,6 +17,6 @@ import xs from 'xstream';

error: function (error) {
schedule.error(listener, currentTime(), error);
listener.error(error);
},
complete: function () {
schedule.complete(listener, currentTime());
listener.complete();
},

@@ -23,0 +23,0 @@ };

@@ -9,3 +9,3 @@ import { makeScheduler } from './scheduler';

import { runVirtually } from './run-virtually';
import { requestAnimationFrame } from 'raf';
import * as requestAnimationFrame from 'raf';
import * as now from 'performance-now';

@@ -59,2 +59,6 @@ function popAll(array) {

}
if (eventToProcess.type === 'error') {
eventToProcess.stream.shamefullySendError(eventToProcess.error);
}
throw new Error('Unhandled event type: ' + eventToProcess.type);
}

@@ -100,2 +104,3 @@ nextEventTime = (scheduler.peek() && scheduler.peek().time) || Infinity;

},
dispose: pause,
createOperator: createOperator,

@@ -102,0 +107,0 @@ };

@@ -13,2 +13,3 @@ import { Stream } from 'xstream';

throttleAnimation: Operator;
dispose(): void;
}

@@ -15,0 +16,0 @@ export interface MockTimeSource extends TimeSource {

{
"name": "@cycle/time",
"version": "0.11.0",
"version": "0.12.0",
"description": "A time driver designed to enable awesome testing and dev tooling",

@@ -5,0 +5,0 @@ "license": "MIT",

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

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