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.10.1 to 0.11.0

lib/cjs/index.d.ts

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.11.0"></a>
# 0.11.0 (2017-12-28)
### Bug Fixes
* **time:** reduce ambiguity in package.json dependencies ([8956395](https://github.com/cyclejs/cyclejs/commit/8956395))
<a name="0.10.1"></a>

@@ -2,0 +12,0 @@ ## 0.10.1 (2017-10-05)

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

@@ -5,0 +5,0 @@ var usingCustomComparator = comparator !== deepEqual;

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

import { runVirtually } from './run-virtually';
var combineErrors = require('combine-errors');
import * as combineErrors from 'combine-errors';
function raiseError(err) {

@@ -14,0 +14,0 @@ if (err) {

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

import 'setimmediate';
declare function runVirtually(scheduler: any, done: any, currentTime: () => number, setTime: any, timeToRunTo?: number): void;
export { runVirtually };

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

require('setimmediate');
// tslint:disable-next-line no-import-side-effect
import 'setimmediate';
function processEvent(args) {

@@ -3,0 +4,0 @@ var scheduler = args.scheduler, done = args.done, currentTime = args.currentTime, setTime = args.setTime, timeToRunTo = args.timeToRunTo;

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

var makeAccumulator = require('sorted-immutable-list').default;
import makeAccumulator from 'sorted-immutable-list';
var comparator = function (a) { return function (b) {

@@ -3,0 +3,0 @@ if (a.time < b.time) {

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

import { runVirtually } from './run-virtually';
var requestAnimationFrame = require('raf');
var now = require('performance-now');
import { requestAnimationFrame } from 'raf';
import * as now from 'performance-now';
function popAll(array) {

@@ -13,0 +13,0 @@ var poppedItems = [];

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

@@ -10,6 +10,6 @@ "license": "MIT",

"author": "Nick Johnstone",
"main": "lib/index.js",
"main": "lib/cjs/index.js",
"module": "lib/es6/index.js",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"typings": "lib/cjs/index.d.ts",
"types": "lib/cjs/index.d.ts",
"dependencies": {

@@ -23,3 +23,5 @@ "@cycle/run": "3.x",

"variable-diff": "1.1.x",
"xstream": "*"
"xstream": "*",
"most": "*",
"rxjs": "*"
},

@@ -56,10 +58,10 @@ "devDependencies": {

"start": "../node_modules/.bin/budo -d example example/index.ts:index.js --live -- -p tsify",
"test-watch": "../node_modules/.bin/mocha 'test/**/*.ts' --compilers ts:ts-node/register --watch -R min",
"test-node": "../node_modules/.bin/mocha 'test/**/*.ts' --compilers ts:ts-node/register",
"test-watch": "../node_modules/.bin/mocha 'test/**/*.ts' --require ts-node/register --watch -R min",
"test-node": "../node_modules/.bin/mocha 'test/**/*.ts' --require ts-node/register --exit",
"test": "npm run test-node && npm run test-docs",
"test-ci": "npm run test",
"test-docs": "markdown-doctest",
"browserify": "../node_modules/.bin/browserify lib/index.js --global-transform=browserify-shim --standalone CycleTime --exclude xstream --outfile dist/cycle-time.js",
"browserify": "../node_modules/.bin/browserify lib/cjs/index.js --global-transform=browserify-shim --standalone CycleTime --exclude xstream --outfile dist/cycle-time.js",
"minify": "node ../.scripts/minify.js dist/cycle-time.js dist/cycle-time.min.js"
}
}

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

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