Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

acho

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acho - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

test.js

2

bower.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/achohq/acho",
"version": "3.0.0",
"version": "3.0.1",
"main": "dist/acho.js",

@@ -8,0 +8,0 @@ "author": {

@@ -0,4 +1,32 @@

<a name="3.0.1"></a>
## 3.0.1 (2016-05-26)
* Avoid production special cases ([62db27a](https://github.com/achohq/acho/commit/62db27a))
* strip ansi under production ([837ff8d](https://github.com/achohq/acho/commit/837ff8d))
* Update ([2f5de4f](https://github.com/achohq/acho/commit/2f5de4f))
<a name="3.0.0"></a>
# 3.0.0 (2016-05-01)
## Breaking Changes
- Simplifiest default logging levels to `.fatal()`, `.error()`, `.warn()`, `info()`, `debug()`.
- Mute levels use `muted` keyword instead of `silent`.
## New Features
- Add `upperCase` flag to prints loglevels in uppercase.
- Add `timestamp` flag to prints counter associated with each log.
- Add `.skin` to make easy load different log levels. Check [acho-skin-cli](https://github.com/achohq/acho-skin-cli).
## Fixes, refactoring and optimizations
- Use [lodash#defaults](https://lodash.com/docs#defaults) instead of [existential-defaults](https://github.com/Kikobeats/existential-default) (more lightweight).
- Indent log levels from the left instead of from the right (so cute!).
- Logfmt now works with Error's message.
## Commits
* Add .skin method ([ac1a16d](https://github.com/achohq/acho/commit/ac1a16d))

@@ -5,0 +33,0 @@ * Add docs ([822b697](https://github.com/achohq/acho/commit/822b697))

/**
* acho - An extremely simple (but powerful) logging system for NodeJS and browser.
* @version v3.0.0
* @version v3.0.1
* @link https://github.com/achohq/acho
* @license MIT
*/!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.Acho=t()}}(function(){return function t(r,e,n){function o(s,u){if(!e[s]){if(!r[s]){var f="function"==typeof require&&require;if(!u&&f)return f(s,!0);if(i)return i(s,!0);var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var c=e[s]={exports:{}};r[s][0].call(c.exports,function(t){var e=r[s][1][t];return o(e?e:t)},c,c.exports,t,r,e,n)}return e[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,r,e){"use strict";var n,o,i,s,u=[].slice;i=t("./Default"),o=t("./Constants"),s=t("lodash.defaults"),n=function(t){var r,e,o;if(null==t&&(t={}),!(this instanceof n))return new n(t);r=s({},t,i),r.diff&&(r.diff=[]);for(e in r)o=r[e],r[e]=o;return r.messages=function(){var e,n,o;e={};for(o in r.types)e[o]=(null!=(n=t.messages)?n[o]:void 0)||[],r[o]=r.generateTypeMessage(o);return e}(),r.push=function(){var t,r,e;return e=arguments[0],r=2<=arguments.length?u.call(arguments,1):[],t=this.format(r),this.messages[e].push(t),this},r.add=function(){var t,r,e;return e=arguments[0],r=2<=arguments.length?u.call(arguments,1):[],t=this.format(r),this[e](t),this.push(e,t),this},r},n.skin=function(t){var r;return r=t(o),function(t){return null==t&&(t={}),s(t,r),n(t)}},r.exports=n},{"./Constants":2,"./Default":3,"lodash.defaults":16}],2:[function(t,r,e){(function(t){"use strict";var e;e={"false":{info:"ℹ",success:"✔",warning:"⚠",error:"✖"},"true":{info:"i",success:"√",warning:"‼",error:"×"}},r.exports={DECORATE_COUNTER_ZERO_N:4,MIN_DIFF_MS:1e4,UNMUTED:"all",LINE_COLOR:"gray",SYMBOL_KEYWORD:"symbol",MUTED:"muted",ENV:function(){var r;return("undefined"!=typeof t&&null!==t&&null!=(r=t.env.NODE_ENV)?r.toLowerCase():void 0)||void 0}(),FIGURE:e["win32"===t.platform]}}).call(this,t("_process"))},{_process:20}],3:[function(t,r,e){"use strict";var n,o,i,s,u,f=[].slice;s=t("ms"),o=t("chalk"),i=t("./Format"),n=t("./Constants"),u=t("repeat-string"),r.exports={print:function(){var t,r,e;r=[];for(e in this.types)r.push(function(){var r,n,o,i;for(o=this.messages[e],i=[],r=0,n=o.length;n>r;r++)t=o[r],i.push(this.transport(this.generateMessage(e,t)));return i}.call(this));return r},decorateCounter:function(t){var r,e;return e=""+t,r=n.DECORATE_COUNTER_ZERO_N-e.length,r>0?u("0",r)+e:e},outputMessage:function(t){return t},outputType:function(t){return this.keyword&&(t=this.keyword===n.SYMBOL_KEYWORD?this.types[t].symbol:this.keyword),this.upperCase&&(t=t.toUpperCase()),t},outputAlign:function(){return"production"!==n.ENV&&this.align?this.align:" "},outputCounter:function(){var t,r;return this.timestamp?(r=new Date,t=r-this.timestamp,t>1e3&&++this.counter,this.timestamp=new Date," ["+this.decorateCounter(this.counter)+"]"):""},outputSeparator:function(t){return this.keyword?"":this.types[t].separator||""},outputContext:function(){return this.context?" "+this.context:""},transport:console.log,generateMessage:function(t,r){var e,o,i,u,f,a,c,h;if(this.isPrintable(t))return o=this.types[t].color,r=this.outputMessage(r),r=this.colorizeMessage(t,r),i=null,this.diff&&(this.diff[t]?(i=s(new Date-this.diff[t]),i=" +"+i,this.diff[t]=new Date):(this.diff[t]=new Date,i=" +0ms")),a=this.outputType(t),a=this.colorize(o,a),h=this.outputSeparator(t),f=this.outputCounter(),f=this.colorize(n.LINE_COLOR,f),u=this.outputContext(),u=this.colorize(n.LINE_COLOR,u),e=this.outputAlign(),c=""+h+a+f+u+e+r,i&&(c+=this.colorize(o,i)),c},generateTypeMessage:function(t){return function(){var r,e;return e=1<=arguments.length?f.call(arguments,0):[],r=this.types[t].color,e=this.format(e,r),e=this.generateMessage(t,e),e&&this.transport(e),this}},colorizeMessage:function(t,r){var e,o;return this.color&&"production"!==n.ENV?(e=n.LINE_COLOR,o=this.types[t].color,r.toString().split(" ").map(function(t){return function(r){return r=r.split("="),r.length>1?(r[0]=t.colorize(o,r[0]),r[1]=t.colorize(e,r[1]),r.join(t.colorize(e,"="))):t.colorize(e,r)}}(this)).join(" ")):r},colorize:function(t,r){var e,i,s,u;if(!this.color||"production"===n.ENV)return r;for(t=t.split(" "),u=o,i=0,s=t.length;s>i;i++)e=t[i],u=u[e];return u(r)},isPrintable:function(t){return this.level===n.UNMUTED?!0:this.level===n.MUTED?!1:this.types[t].level<=this.types[this.level].level},format:function(t,r){return t.push(r),i.apply(null,t)},align:" ",color:!0,counter:0,level:n.UNMUTED,types:{debug:{level:4,color:"white",symbol:n.FIGURE.info},info:{level:3,color:"blue",separator:" ",symbol:n.FIGURE.info},warn:{level:2,color:"yellow",separator:" ",symbol:n.FIGURE.warning},error:{level:1,color:"red",symbol:n.FIGURE.error},fatal:{level:0,color:"red",symbol:n.FIGURE.error}}}},{"./Constants":2,"./Format":4,chalk:11,ms:19,"repeat-string":21}],4:[function(t,r,e){(function(e){"use strict";var n,o,i,s,u;o=t("chalk"),n={escape:/%{2,2}/g,type:/(%?)(%([jds]))/g},s=function(t){return-1!==t.indexOf(" ")},u=function(t,r,n){var i,f,a,c,h,l;if("symbol"==typeof n&&(n=n.toString()),"symbol"==typeof r&&(r=r.toString()),null===r?r="null":void 0===r?r="undefined":r===!1&&(r="false"),"object"!=typeof r)return n&&"string"==typeof r&&s(r)&&(r="'"+r+"'"),n?n+"="+r:r;if(r instanceof e)return n?n+"="+r.toString("base64"):r.toString("base64");if(r instanceof Error)return r.message||r;for(l="",a=Object.keys(r),h=a.length,i=0;h>i;){if(Array.isArray(r[a[i]])){for(l+=a[i]+"=[",f=0,c=r[a[i]].length;c>f;)l+=u(t,r[a[i]][f]),c-1>f&&(l+=" "),f++;l+="]"}else l+=r[a[i]]instanceof Date?a[i]+"="+r[a[i]]:u(t,r[a[i]],o[t](a[i]));h-1>i&&(l+=" "),i++}return l},i=function(t){var r,e,o,i,s;if(e=Array.prototype.slice.call(arguments,1),o=e.pop(),e.length&&(t=t.replace(n.type,function(t,r,n,i){var s;switch(s=e.shift(),i){case"s":s=""+s;break;case"d":s=Number(s);break;case"j":s=u(o,s)}return r?(e.unshift(s),t):s})),e.length)for(i=0,s=e.length;s>i;i++)r=e[i],t+=" "+u(o,r);return null!=t.replace&&(t=t.replace(n.escape,"%")),u(o,t)},r.exports=i}).call(this,t("buffer").Buffer)},{buffer:9,chalk:11}],5:[function(t,r,e){"use strict";r.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g}},{}],6:[function(t,r,e){"use strict";function n(){var t={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]}};return t.colors.grey=t.colors.gray,Object.keys(t).forEach(function(r){var e=t[r];Object.keys(e).forEach(function(r){var n=e[r];t[r]=e[r]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),Object.defineProperty(t,r,{value:e,enumerable:!1})}),t}Object.defineProperty(r,"exports",{enumerable:!0,get:n})},{}],7:[function(t,r,e){"use strict";function n(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,e=t.length;e>r;++r)f[r]=t[r],a[t.charCodeAt(r)]=r;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}function o(t){var r,e,n,o,i,s,u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[u-2]?2:"="===t[u-1]?1:0,s=new c(3*u/4-i),n=i>0?u-4:u;var f=0;for(r=0,e=0;n>r;r+=4,e+=3)o=a[t.charCodeAt(r)]<<18|a[t.charCodeAt(r+1)]<<12|a[t.charCodeAt(r+2)]<<6|a[t.charCodeAt(r+3)],s[f++]=o>>16&255,s[f++]=o>>8&255,s[f++]=255&o;return 2===i?(o=a[t.charCodeAt(r)]<<2|a[t.charCodeAt(r+1)]>>4,s[f++]=255&o):1===i&&(o=a[t.charCodeAt(r)]<<10|a[t.charCodeAt(r+1)]<<4|a[t.charCodeAt(r+2)]>>2,s[f++]=o>>8&255,s[f++]=255&o),s}function i(t){return f[t>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}function s(t,r,e){for(var n,o=[],s=r;e>s;s+=3)n=(t[s]<<16)+(t[s+1]<<8)+t[s+2],o.push(i(n));return o.join("")}function u(t){for(var r,e=t.length,n=e%3,o="",i=[],u=16383,a=0,c=e-n;c>a;a+=u)i.push(s(t,a,a+u>c?c:a+u));return 1===n?(r=t[e-1],o+=f[r>>2],o+=f[r<<4&63],o+="=="):2===n&&(r=(t[e-2]<<8)+t[e-1],o+=f[r>>10],o+=f[r>>4&63],o+=f[r<<2&63],o+="="),i.push(o),i.join("")}e.toByteArray=o,e.fromByteArray=u;var f=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array;n()},{}],8:[function(t,r,e){},{}],9:[function(t,r,e){(function(r){"use strict";function n(){try{var t=new Uint8Array(1);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,r){if(o()<r)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=s.prototype):(null===t&&(t=new s(r)),t.length=r),t}function s(t,r,e){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,r,e);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return u(this,t,r,e)}function u(t,r,e,n){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?p(t,r,e,n):"string"==typeof r?h(t,r,e):g(t,r)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number')}function a(t,r,e,n){return f(r),0>=r?i(t,r):void 0!==e?"string"==typeof n?i(t,r).fill(e,n):i(t,r).fill(e):i(t,r)}function c(t,r){if(f(r),t=i(t,0>r?0:0|y(r)),!s.TYPED_ARRAY_SUPPORT)for(var e=0;r>e;e++)t[e]=0;return t}function h(t,r,e){if("string"==typeof e&&""!==e||(e="utf8"),!s.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var n=0|v(r,e);return t=i(t,n),t.write(r,e),t}function l(t,r){var e=0|y(r.length);t=i(t,e);for(var n=0;e>n;n+=1)t[n]=255&r[n];return t}function p(t,r,e,n){if(r.byteLength,0>e||r.byteLength<e)throw new RangeError("'offset' is out of bounds");if(r.byteLength<e+(n||0))throw new RangeError("'length' is out of bounds");return r=void 0===n?new Uint8Array(r,e):new Uint8Array(r,e,n),s.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=s.prototype):t=l(t,r),t}function g(t,r){if(s.isBuffer(r)){var e=0|y(r.length);return t=i(t,e),0===t.length?t:(r.copy(t,0,0,e),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||K(r.length)?i(t,0):l(t,r);if("Buffer"===r.type&&H(r.data))return l(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function d(t){return+t!=t&&(t=0),s.alloc(+t)}function v(t,r){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case"ascii":case"binary":case"raw":case"raws":return e;case"utf8":case"utf-8":case void 0:return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return Z(t).length;default:if(n)return $(t).length;r=(""+r).toLowerCase(),n=!0}}function w(t,r,e){var n=!1;if((void 0===r||0>r)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),0>=e)return"";if(e>>>=0,r>>>=0,r>=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,r,e);case"utf8":case"utf-8":return P(this,r,e);case"ascii":return S(this,r,e);case"binary":return B(this,r,e);case"base64":return x(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function m(t,r,e,n){function o(t,r){return 1===i?t[r]:t.readUInt16BE(r*i)}var i=1,s=t.length,u=r.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;i=2,s/=2,u/=2,e/=2}for(var f=-1,a=0;s>e+a;a++)if(o(t,e+a)===o(r,-1===f?0:a-f)){if(-1===f&&(f=a),a-f+1===u)return(e+f)*i}else-1!==f&&(a-=a-f),f=-1;return-1}function E(t,r,e,n){e=Number(e)||0;var o=t.length-e;n?(n=Number(n),n>o&&(n=o)):n=o;var i=r.length;if(i%2!==0)throw new Error("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;n>s;s++){var u=parseInt(r.substr(2*s,2),16);if(isNaN(u))return s;t[e+s]=u}return s}function A(t,r,e,n){return W($(r,t.length-e),t,e,n)}function R(t,r,e,n){return W(V(r),t,e,n)}function _(t,r,e,n){return R(t,r,e,n)}function T(t,r,e,n){return W(Z(r),t,e,n)}function O(t,r,e,n){return W(q(r,t.length-e),t,e,n)}function x(t,r,e){return 0===r&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function P(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;e>o;){var i=t[o],s=null,u=i>239?4:i>223?3:i>191?2:1;if(e>=o+u){var f,a,c,h;switch(u){case 1:128>i&&(s=i);break;case 2:f=t[o+1],128===(192&f)&&(h=(31&i)<<6|63&f,h>127&&(s=h));break;case 3:f=t[o+1],a=t[o+2],128===(192&f)&&128===(192&a)&&(h=(15&i)<<12|(63&f)<<6|63&a,h>2047&&(55296>h||h>57343)&&(s=h));break;case 4:f=t[o+1],a=t[o+2],c=t[o+3],128===(192&f)&&128===(192&a)&&128===(192&c)&&(h=(15&i)<<18|(63&f)<<12|(63&a)<<6|63&c,h>65535&&1114112>h&&(s=h))}}null===s?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),o+=u}return U(n)}function U(t){var r=t.length;if(Q>=r)return String.fromCharCode.apply(String,t);for(var e="",n=0;r>n;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Q));return e}function S(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;e>o;o++)n+=String.fromCharCode(127&t[o]);return n}function B(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;e>o;o++)n+=String.fromCharCode(t[o]);return n}function C(t,r,e){var n=t.length;(!r||0>r)&&(r=0),(!e||0>e||e>n)&&(e=n);for(var o="",i=r;e>i;i++)o+=G(t[i]);return o}function M(t,r,e){for(var n=t.slice(r,e),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function I(t,r,e){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}function Y(t,r,e,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||i>r)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}function L(t,r,e,n){0>r&&(r=65535+r+1);for(var o=0,i=Math.min(t.length-e,2);i>o;o++)t[e+o]=(r&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function D(t,r,e,n){0>r&&(r=4294967295+r+1);for(var o=0,i=Math.min(t.length-e,4);i>o;o++)t[e+o]=r>>>8*(n?o:3-o)&255}function j(t,r,e,n,o,i){if(e+n>t.length)throw new RangeError("Index out of range");if(0>e)throw new RangeError("Index out of range")}function k(t,r,e,n,o){return o||j(t,r,e,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,r,e,n,23,4),e+4}function N(t,r,e,n,o){return o||j(t,r,e,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,r,e,n,52,8),e+8}function F(t){if(t=z(t).replace(tt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return 16>t?"0"+t.toString(16):t.toString(16)}function $(t,r){r=r||1/0;for(var e,n=t.length,o=null,i=[],s=0;n>s;s++){if(e=t.charCodeAt(s),e>55295&&57344>e){if(!o){if(e>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(56320>e){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=(o-55296<<10|e-56320)+65536}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,128>e){if((r-=1)<0)break;i.push(e)}else if(2048>e){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(65536>e){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(1114112>e))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function V(t){for(var r=[],e=0;e<t.length;e++)r.push(255&t.charCodeAt(e));return r}function q(t,r){for(var e,n,o,i=[],s=0;s<t.length&&!((r-=2)<0);s++)e=t.charCodeAt(s),n=e>>8,o=e%256,i.push(o),i.push(n);return i}function Z(t){return X.toByteArray(F(t))}function W(t,r,e,n){for(var o=0;n>o&&!(o+e>=r.length||o>=t.length);o++)r[o+e]=t[o];return o}function K(t){return t!==t}var X=t("base64-js"),J=t("ieee754"),H=t("isarray");e.Buffer=s,e.SlowBuffer=d,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:n(),e.kMaxLength=o(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,r,e){return u(null,t,r,e)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,r,e){return a(null,t,r,e)},s.allocUnsafe=function(t){return c(null,t)},s.allocUnsafeSlow=function(t){return c(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,r){if(!s.isBuffer(t)||!s.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var e=t.length,n=r.length,o=0,i=Math.min(e,n);i>o;++o)if(t[o]!==r[o]){e=t[o],n=r[o];break}return n>e?-1:e>n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,r){if(!H(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var e;if(void 0===r)for(r=0,e=0;e<t.length;e++)r+=t[e].length;var n=s.allocUnsafe(r),o=0;for(e=0;e<t.length;e++){var i=t[e];if(!s.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},s.byteLength=v,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;t>r;r+=2)b(this,r,r+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;t>r;r+=4)b(this,r,r+3),b(this,r+1,r+2);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):w.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,r,e,n,o){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),0>r||e>t.length||0>n||o>this.length)throw new RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return-1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,u=e-r,f=Math.min(i,u),a=this.slice(n,o),c=t.slice(r,e),h=0;f>h;++h)if(a[h]!==c[h]){i=a[h],u=c[h];break}return u>i?-1:i>u?1:0},s.prototype.indexOf=function(t,r,e){if("string"==typeof r?(e=r,r=0):r>2147483647?r=2147483647:-2147483648>r&&(r=-2147483648),r>>=0,0===this.length)return-1;if(r>=this.length)return-1;if(0>r&&(r=Math.max(this.length+r,0)),"string"==typeof t&&(t=s.from(t,e)),s.isBuffer(t))return 0===t.length?-1:m(this,t,r,e);if("number"==typeof t)return s.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,r):m(this,[t],r,e);throw new TypeError("val must be string, number or Buffer")},s.prototype.includes=function(t,r,e){return-1!==this.indexOf(t,r,e)},s.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r=0|r,isFinite(e)?(e=0|e,void 0===n&&(n="utf8")):(n=e,e=void 0)}var o=this.length-r;if((void 0===e||e>o)&&(e=o),t.length>0&&(0>e||0>r)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return E(this,t,r,e);case"utf8":case"utf-8":return A(this,t,r,e);case"ascii":return R(this,t,r,e);case"binary":return _(this,t,r,e);case"base64":return T(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r,e);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;s.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,0>t?(t+=e,0>t&&(t=0)):t>e&&(t=e),0>r?(r+=e,0>r&&(r=0)):r>e&&(r=e),t>r&&(r=t);var n;if(s.TYPED_ARRAY_SUPPORT)n=this.subarray(t,r),n.__proto__=s.prototype;else{var o=r-t;n=new s(o,void 0);for(var i=0;o>i;i++)n[i]=this[i+t]}return n},s.prototype.readUIntLE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUIntBE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},s.prototype.readUInt8=function(t,r){return r||I(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,r){return r||I(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,r){return r||I(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,r){return r||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,r){return r||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*r)),n},s.prototype.readIntBE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},s.prototype.readInt8=function(t,r){return r||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,r){r||I(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt16BE=function(t,r){r||I(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt32LE=function(t,r){return r||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,r){return r||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,r){return r||I(t,4,this.length),J.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,r){return r||I(t,4,this.length),J.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,r){return r||I(t,8,this.length),J.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,r){return r||I(t,8,this.length),J.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,r,e,n){if(t=+t,r=0|r,e=0|e,!n){var o=Math.pow(2,8*e)-1;Y(this,t,r,e,o,0)}var i=1,s=0;for(this[r]=255&t;++s<e&&(i*=256);)this[r+s]=t/i&255;return r+e},s.prototype.writeUIntBE=function(t,r,e,n){if(t=+t,r=0|r,e=0|e,!n){var o=Math.pow(2,8*e)-1;Y(this,t,r,e,o,0)}var i=e-1,s=1;for(this[r+i]=255&t;--i>=0&&(s*=256);)this[r+i]=t/s&255;return r+e},s.prototype.writeUInt8=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},s.prototype.writeUInt16LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},s.prototype.writeUInt16BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},s.prototype.writeUInt32LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):D(this,t,r,!0),r+4},s.prototype.writeUInt32BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},s.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r=0|r,!n){var o=Math.pow(2,8*e-1);Y(this,t,r,e,o-1,-o)}var i=0,s=1,u=0;for(this[r]=255&t;++i<e&&(s*=256);)0>t&&0===u&&0!==this[r+i-1]&&(u=1),this[r+i]=(t/s>>0)-u&255;return r+e},s.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r=0|r,!n){var o=Math.pow(2,8*e-1);Y(this,t,r,e,o-1,-o)}var i=e-1,s=1,u=0;for(this[r+i]=255&t;--i>=0&&(s*=256);)0>t&&0===u&&0!==this[r+i+1]&&(u=1),this[r+i]=(t/s>>0)-u&255;return r+e},s.prototype.writeInt8=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[r]=255&t,r+1},s.prototype.writeInt16LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},s.prototype.writeInt16BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},s.prototype.writeInt32LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):D(this,t,r,!0),r+4},s.prototype.writeInt32BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},s.prototype.writeFloatLE=function(t,r,e){return k(this,t,r,!0,e)},s.prototype.writeFloatBE=function(t,r,e){return k(this,t,r,!1,e)},s.prototype.writeDoubleLE=function(t,r,e){return N(this,t,r,!0,e)},s.prototype.writeDoubleBE=function(t,r,e){return N(this,t,r,!1,e)},s.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&e>n&&(n=e),n===e)return 0;if(0===t.length||0===this.length)return 0;if(0>r)throw new RangeError("targetStart out of bounds");if(0>e||e>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var o,i=n-e;if(this===t&&r>e&&n>r)for(o=i-1;o>=0;o--)t[o+r]=this[o+e];else if(1e3>i||!s.TYPED_ARRAY_SUPPORT)for(o=0;i>o;o++)t[o+r]=this[o+e];else Uint8Array.prototype.set.call(t,this.subarray(e,e+i),r);return i},s.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),1===t.length){var o=t.charCodeAt(0);256>o&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t=255&t);if(0>r||this.length<r||this.length<e)throw new RangeError("Out of range index");if(r>=e)return this;r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0);var i;if("number"==typeof t)for(i=r;e>i;i++)this[i]=t;else{var u=s.isBuffer(t)?t:$(new s(t,n).toString()),f=u.length;for(i=0;e-r>i;i++)this[i+r]=u[i%f]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":7,ieee754:14,isarray:10}],10:[function(t,r,e){var n={}.toString;r.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],11:[function(t,r,e){(function(e){"use strict";function n(t){this.enabled=t&&void 0!==t.enabled?t.enabled:h}function o(t){var r=function(){return i.apply(r,arguments)};return r._styles=t,r.enabled=this.enabled,r.__proto__=y,r}function i(){var t=arguments,r=t.length,e=0!==r&&String(arguments[0]);if(r>1)for(var n=1;r>n;n++)e+=" "+t[n];if(!this.enabled||!e)return e;var o=this._styles,i=o.length,s=f.dim.open;for(!p||-1===o.indexOf("gray")&&-1===o.indexOf("grey")||(f.dim.open="");i--;){var u=f[o[i]];e=u.open+e.replace(u.closeRe,u.open)+u.close}return f.dim.open=s,e}function s(){var t={};return Object.keys(g).forEach(function(r){t[r]={get:function(){return o.call(this,[r])}}}),t}var u=t("escape-string-regexp"),f=t("ansi-styles"),a=t("strip-ansi"),c=t("has-ansi"),h=t("supports-color"),l=Object.defineProperties,p="win32"===e.platform&&!/^xterm/i.test(e.env.TERM);p&&(f.blue.open="");var g=function(){var t={};return Object.keys(f).forEach(function(r){f[r].closeRe=new RegExp(u(f[r].close),"g"),t[r]={get:function(){return o.call(this,this._styles.concat(r))}}}),t}(),y=l(function(){},g);l(n.prototype,s()),r.exports=new n,r.exports.styles=f,r.exports.hasColor=c,r.exports.stripColor=a,r.exports.supportsColor=h}).call(this,t("_process"))},{_process:20,"ansi-styles":6,"escape-string-regexp":12,"has-ansi":13,"strip-ansi":22,"supports-color":23}],12:[function(t,r,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;r.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},{}],13:[function(t,r,e){"use strict";var n=t("ansi-regex"),o=new RegExp(n().source);r.exports=o.test.bind(o)},{"ansi-regex":5}],14:[function(t,r,e){e.read=function(t,r,e,n,o){var i,s,u=8*o-n-1,f=(1<<u)-1,a=f>>1,c=-7,h=e?o-1:0,l=e?-1:1,p=t[r+h];for(h+=l,i=p&(1<<-c)-1,p>>=-c,c+=u;c>0;i=256*i+t[r+h],h+=l,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+t[r+h],h+=l,c-=8);if(0===i)i=1-a;else{if(i===f)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,n),i-=a}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,r,e,n,o,i){var s,u,f,a=8*i-o-1,c=(1<<a)-1,h=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,g=n?1:-1,y=0>r||0===r&&0>1/r?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,s=c):(s=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-s))<1&&(s--,f*=2),r+=s+h>=1?l/f:l*Math.pow(2,1-h),r*f>=2&&(s++,f/=2),s+h>=c?(u=0,s=c):s+h>=1?(u=(r*f-1)*Math.pow(2,o),s+=h):(u=r*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;t[e+p]=255&u,p+=g,u/=256,o-=8);for(s=s<<o|u,a+=o;a>0;t[e+p]=255&s,p+=g,s/=256,a-=8);t[e+p-g]|=128*y}},{}],15:[function(t,r,e){function n(t,r){return t="number"==typeof t||b.test(t)?+t:-1,r=null==r?d:r,t>-1&&t%1==0&&r>t}function o(t,r,e){var n=t[r];E.call(t,r)&&a(n,e)&&(void 0!==e||r in t)||(t[r]=e)}function i(t){return function(r){return null==r?void 0:r[t]}}function s(t,r,e,n){e||(e={});for(var i=-1,s=r.length;++i<s;){var u=r[i],f=n?n(e[u],t[u],u,e,t):t[u];o(e,u,f)}return e}function u(t){return y(function(r,e){var n=-1,o=e.length,i=o>1?e[o-1]:void 0,s=o>2?e[2]:void 0;for(i="function"==typeof i?(o--,i):void 0,s&&f(e[0],e[1],s)&&(i=3>o?void 0:i,o=1),r=Object(r);++n<o;){var u=e[n];u&&t(r,u,n,i)}return r})}function f(t,r,e){if(!p(e))return!1;var o=typeof r;return("number"==o?c(e)&&n(r,e.length):"string"==o&&r in e)?a(e[r],t):!1}function a(t,r){return t===r||t!==t&&r!==r}function c(t){return null!=t&&l(R(t))&&!h(t)}function h(t){var r=p(t)?A.call(t):"";return r==v||r==w}function l(t){return"number"==typeof t&&t>-1&&t%1==0&&d>=t}function p(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}var g=t("lodash.keysin"),y=t("lodash.rest"),d=9007199254740991,v="[object Function]",w="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,m=Object.prototype,E=m.hasOwnProperty,A=m.toString,R=i("length"),_=u(function(t,r,e,n){s(r,g(r),t,n)});r.exports=_},{"lodash.keysin":17,"lodash.rest":18}],16:[function(t,r,e){function n(t,r,e){var n=e.length;switch(n){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function o(t,r,e,n){return void 0===t||i(t,f[e])&&!a.call(n,e)?r:t}function i(t,r){return t===r||t!==t&&r!==r}var s=t("lodash.assigninwith"),u=t("lodash.rest"),f=Object.prototype,a=f.hasOwnProperty,c=u(function(t){
return t.push(void 0,o),n(s,void 0,t)});r.exports=c},{"lodash.assigninwith":15,"lodash.rest":18}],17:[function(t,r,e){(function(t){function n(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}function o(t){return t&&t.Object===Object?t:null}function i(t,r){return t="number"==typeof t||T.test(t)?+t:-1,r=null==r?m:r,t>-1&&t%1==0&&r>t}function s(t){for(var r,e=[];!(r=t.next()).done;)e.push(r.value);return e}function u(t){t=null==t?t:Object(t);var r=[];for(var e in t)r.push(e);return r}function f(t){return function(r){return null==r?void 0:r[t]}}function a(t){var r=t?t.length:void 0;return y(r)&&(F(t)||w(t)||h(t))?n(r,String):null}function c(t){var r=t&&t.constructor,e="function"==typeof r&&r.prototype||I;return t===e}function h(t){return p(t)&&Y.call(t,"callee")&&(!k.call(t,"callee")||L.call(t)==E)}function l(t){return null!=t&&y(N(t))&&!g(t)}function p(t){return v(t)&&l(t)}function g(t){var r=d(t)?L.call(t):"";return r==A||r==R}function y(t){return"number"==typeof t&&t>-1&&t%1==0&&m>=t}function d(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function v(t){return!!t&&"object"==typeof t}function w(t){return"string"==typeof t||!F(t)&&v(t)&&L.call(t)==_}function b(t){for(var r=-1,e=c(t),n=u(t),o=n.length,s=a(t),f=!!s,h=s||[],l=h.length;++r<o;){var p=n[r];f&&("length"==p||i(p,l))||"constructor"==p&&(e||!Y.call(t,p))||h.push(p)}return h}var m=9007199254740991,E="[object Arguments]",A="[object Function]",R="[object GeneratorFunction]",_="[object String]",T=/^(?:0|[1-9]\d*)$/,O={"function":!0,object:!0},x=O[typeof e]&&e&&!e.nodeType?e:void 0,P=O[typeof r]&&r&&!r.nodeType?r:void 0,U=o(x&&P&&"object"==typeof t&&t),S=o(O[typeof self]&&self),B=o(O[typeof window]&&window),C=o(O[typeof this]&&this),M=U||B!==(C&&C.window)&&B||S||C||Function("return this")(),I=Object.prototype,Y=I.hasOwnProperty,L=I.toString,D=M.Reflect,j=D?D.enumerate:void 0,k=I.propertyIsEnumerable;j&&!k.call({valueOf:1},"valueOf")&&(u=function(t){return s(j(t))});var N=f("length"),F=Array.isArray;r.exports=b}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],18:[function(t,r,e){function n(t,r,e){var n=e.length;switch(n){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function o(t,r){if("function"!=typeof t)throw new TypeError(h);return r=T(void 0===r?t.length-1:a(r),0),function(){for(var e=arguments,o=-1,i=T(e.length-r,0),s=Array(i);++o<i;)s[o]=e[r+o];switch(r){case 0:return t.call(this,s);case 1:return t.call(this,e[0],s);case 2:return t.call(this,e[0],e[1],s)}var u=Array(r+1);for(o=-1;++o<r;)u[o]=e[o];return u[r]=s,n(t,this,u)}}function i(t){var r=s(t)?_.call(t):"";return r==y||r==d}function s(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function u(t){return!!t&&"object"==typeof t}function f(t){return"symbol"==typeof t||u(t)&&_.call(t)==v}function a(t){if(!t)return 0===t?t:0;if(t=c(t),t===l||t===-l){var r=0>t?-1:1;return r*p}var e=t%1;return t===t?e?t-e:t:0}function c(t){if("number"==typeof t)return t;if(f(t))return g;if(s(t)){var r=i(t.valueOf)?t.valueOf():t;t=s(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(w,"");var e=m.test(t);return e||E.test(t)?A(t.slice(2),e?2:8):b.test(t)?g:+t}var h="Expected a function",l=1/0,p=1.7976931348623157e308,g=NaN,y="[object Function]",d="[object GeneratorFunction]",v="[object Symbol]",w=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,E=/^0o[0-7]+$/i,A=parseInt,R=Object.prototype,_=R.toString,T=Math.max;r.exports=o},{}],19:[function(t,r,e){function n(t){if(t=""+t,!(t.length>1e4)){var r=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(r){var e=parseFloat(r[1]),n=(r[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return e*h;case"days":case"day":case"d":return e*c;case"hours":case"hour":case"hrs":case"hr":case"h":return e*a;case"minutes":case"minute":case"mins":case"min":case"m":return e*f;case"seconds":case"second":case"secs":case"sec":case"s":return e*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e}}}}function o(t){return t>=c?Math.round(t/c)+"d":t>=a?Math.round(t/a)+"h":t>=f?Math.round(t/f)+"m":t>=u?Math.round(t/u)+"s":t+"ms"}function i(t){return s(t,c,"day")||s(t,a,"hour")||s(t,f,"minute")||s(t,u,"second")||t+" ms"}function s(t,r,e){return r>t?void 0:1.5*r>t?Math.floor(t/r)+" "+e:Math.ceil(t/r)+" "+e+"s"}var u=1e3,f=60*u,a=60*f,c=24*a,h=365.25*c;r.exports=function(t,r){return r=r||{},"string"==typeof t?n(t):r["long"]?i(t):o(t)}},{}],20:[function(t,r,e){function n(){c=!1,u.length?a=u.concat(a):h=-1,a.length&&o()}function o(){if(!c){var t=setTimeout(n);c=!0;for(var r=a.length;r;){for(u=a,a=[];++h<r;)u&&u[h].run();h=-1,r=a.length}u=null,c=!1,clearTimeout(t)}}function i(t,r){this.fun=t,this.array=r}function s(){}var u,f=r.exports={},a=[],c=!1,h=-1;f.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];a.push(new i(t,r)),1!==a.length||c||setTimeout(o,0)},i.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=s,f.addListener=s,f.once=s,f.off=s,f.removeListener=s,f.removeAllListeners=s,f.emit=s,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},{}],21:[function(t,r,e){"use strict";function n(t,r){if("string"!=typeof t)throw new TypeError("repeat-string expects a string.");if(1===r)return t;if(2===r)return t+t;var e=t.length*r;for(o===t&&"undefined"!=typeof o||(o=t,i="");e>i.length&&r>0&&(1&r&&(i+=t),r>>=1);)t+=t;return i.substr(0,e)}var o,i="";r.exports=n},{}],22:[function(t,r,e){"use strict";var n=t("ansi-regex")();r.exports=function(t){return"string"==typeof t?t.replace(n,""):t}},{"ansi-regex":5}],23:[function(t,r,e){(function(t){"use strict";var e=t.argv,n=e.indexOf("--"),o=function(t){t="--"+t;var r=e.indexOf(t);return-1!==r&&(-1!==n?n>r:!0)};r.exports=function(){return"FORCE_COLOR"in t.env?!0:o("no-color")||o("no-colors")||o("color=false")?!1:o("color")||o("colors")||o("color=true")||o("color=always")?!0:t.stdout&&!t.stdout.isTTY?!1:"win32"===t.platform?!0:"COLORTERM"in t.env?!0:"dumb"===t.env.TERM?!1:!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(t.env.TERM)}()}).call(this,t("_process"))},{_process:20}],Acho:[function(t,r,e){"use strict";t("coffee-script/register"),r.exports=t("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":8}]},{},[])("Acho")});
*/!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.Acho=t()}}(function(){return function t(r,e,n){function o(s,u){if(!e[s]){if(!r[s]){var f="function"==typeof require&&require;if(!u&&f)return f(s,!0);if(i)return i(s,!0);var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var c=e[s]={exports:{}};r[s][0].call(c.exports,function(t){var e=r[s][1][t];return o(e?e:t)},c,c.exports,t,r,e,n)}return e[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,r,e){"use strict";var n,o,i,s,u=[].slice;i=t("./Default"),o=t("./Constants"),s=t("lodash.defaults"),n=function(t){var r,e,o;if(null==t&&(t={}),!(this instanceof n))return new n(t);r=s({},t,i),r.diff&&(r.diff=[]);for(e in r)o=r[e],r[e]=o;return r.messages=function(){var e,n,o;e={};for(o in r.types)e[o]=(null!=(n=t.messages)?n[o]:void 0)||[],r[o]=r.generateTypeMessage(o);return e}(),r.push=function(){var t,r,e;return e=arguments[0],r=2<=arguments.length?u.call(arguments,1):[],t=this.format(r),this.messages[e].push(t),this},r.add=function(){var t,r,e;return e=arguments[0],r=2<=arguments.length?u.call(arguments,1):[],t=this.format(r),this[e](t),this.push(e,t),this},r},n.skin=function(t){var r;return r=t(o),function(t){return null==t&&(t={}),s(t,r),n(t)}},r.exports=n},{"./Constants":2,"./Default":3,"lodash.defaults":16}],2:[function(t,r,e){(function(t){"use strict";var e;e={"false":{info:"ℹ",success:"✔",warning:"⚠",error:"✖"},"true":{info:"i",success:"√",warning:"‼",error:"×"}},r.exports={DECORATE_COUNTER_ZERO_N:4,MIN_DIFF_MS:1e4,UNMUTED:"all",LINE_COLOR:"gray",SYMBOL_KEYWORD:"symbol",MUTED:"muted",FIGURE:e["win32"===t.platform]}}).call(this,t("_process"))},{_process:20}],3:[function(t,r,e){"use strict";var n,o,i,s,u,f,a=[].slice;s=t("ms"),o=t("chalk"),i=t("./Format"),f=t("strip-ansi"),n=t("./Constants"),u=t("repeat-string"),r.exports={print:function(){var t,r,e;r=[];for(e in this.types)r.push(function(){var r,n,o,i;for(o=this.messages[e],i=[],r=0,n=o.length;n>r;r++)t=o[r],i.push(this.transport(this.generateMessage(e,t)));return i}.call(this));return r},decorateCounter:function(t){var r,e;return e=""+t,r=n.DECORATE_COUNTER_ZERO_N-e.length,r>0?u("0",r)+e:e},outputMessage:function(t){return t},outputType:function(t){return this.keyword&&(t=this.keyword===n.SYMBOL_KEYWORD?this.types[t].symbol:this.keyword),this.upperCase&&(t=t.toUpperCase()),t},outputAlign:function(){return this.align?this.align:" "},outputCounter:function(){var t,r;return this.timestamp?(r=new Date,t=r-this.timestamp,t>1e3&&++this.counter,this.timestamp=new Date," ["+this.decorateCounter(this.counter)+"]"):""},outputSeparator:function(t){return this.keyword?"":this.types[t].separator||""},outputContext:function(){return this.context?" "+this.context:""},transport:console.log,generateMessage:function(t,r){var e,o,i,u,f,a,c,h;if(this.isPrintable(t))return o=this.types[t].color,r=this.outputMessage(r),r=this.colorizeMessage(t,r),i=null,this.diff&&(this.diff[t]?(i=s(new Date-this.diff[t]),i=" +"+i,this.diff[t]=new Date):(this.diff[t]=new Date,i=" +0ms")),a=this.outputType(t),a=this.colorize(o,a),h=this.outputSeparator(t),f=this.outputCounter(),f=this.colorize(n.LINE_COLOR,f),u=this.outputContext(),u=this.colorize(n.LINE_COLOR,u),e=this.outputAlign(),c=""+h+a+f+u+e+r,i&&(c+=this.colorize(o,i)),c},generateTypeMessage:function(t){return function(){var r,e;return e=1<=arguments.length?a.call(arguments,0):[],r=this.types[t].color,e=this.format(e,r),e=this.generateMessage(t,e),e&&this.transport(e),this}},colorizeMessage:function(t,r){var e,o;return this.color?(e=n.LINE_COLOR,o=this.types[t].color,r.toString().split(" ").map(function(t){return function(r){return r=r.split("="),r.length>1?(r[0]=t.colorize(o,r[0]),r[1]=t.colorize(e,r[1]),r.join(t.colorize(e,"="))):t.colorize(e,r)}}(this)).join(" ")):f(r)},colorize:function(t,r){var e,n,i,s;if(!this.color)return f(r);for(t=t.split(" "),s=o,n=0,i=t.length;i>n;n++)e=t[n],s=s[e];return s(r)},isPrintable:function(t){return this.level===n.UNMUTED?!0:this.level===n.MUTED?!1:this.types[t].level<=this.types[this.level].level},format:function(t,r){return t.push(r),i.apply(null,t)},align:" ",color:!0,counter:0,level:n.UNMUTED,types:{debug:{level:4,color:"white",symbol:n.FIGURE.info},info:{level:3,color:"blue",separator:" ",symbol:n.FIGURE.info},warn:{level:2,color:"yellow",separator:" ",symbol:n.FIGURE.warning},error:{level:1,color:"red",symbol:n.FIGURE.error},fatal:{level:0,color:"red",symbol:n.FIGURE.error}}}},{"./Constants":2,"./Format":4,chalk:11,ms:19,"repeat-string":21,"strip-ansi":22}],4:[function(t,r,e){(function(e){"use strict";var n,o,i,s,u;o=t("chalk"),n={escape:/%{2,2}/g,type:/(%?)(%([jds]))/g},s=function(t){return-1!==t.indexOf(" ")},u=function(t,r,n){var i,f,a,c,h,l;if("symbol"==typeof n&&(n=n.toString()),"symbol"==typeof r&&(r=r.toString()),null===r?r="null":void 0===r?r="undefined":r===!1&&(r="false"),"object"!=typeof r)return n&&"string"==typeof r&&s(r)&&(r="'"+r+"'"),n?n+"="+r:r;if(r instanceof e)return n?n+"="+r.toString("base64"):r.toString("base64");if(r instanceof Error)return r.message||r;for(l="",a=Object.keys(r),h=a.length,i=0;h>i;){if(Array.isArray(r[a[i]])){for(l+=a[i]+"=[",f=0,c=r[a[i]].length;c>f;)l+=u(t,r[a[i]][f]),c-1>f&&(l+=" "),f++;l+="]"}else l+=r[a[i]]instanceof Date?a[i]+"="+r[a[i]]:u(t,r[a[i]],o[t](a[i]));h-1>i&&(l+=" "),i++}return l},i=function(t){var r,e,o,i,s;if(e=Array.prototype.slice.call(arguments,1),o=e.pop(),e.length&&(t=t.replace(n.type,function(t,r,n,i){var s;switch(s=e.shift(),i){case"s":s=""+s;break;case"d":s=Number(s);break;case"j":s=u(o,s)}return r?(e.unshift(s),t):s})),e.length)for(i=0,s=e.length;s>i;i++)r=e[i],t+=" "+u(o,r);return null!=t.replace&&(t=t.replace(n.escape,"%")),u(o,t)},r.exports=i}).call(this,t("buffer").Buffer)},{buffer:9,chalk:11}],5:[function(t,r,e){"use strict";r.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g}},{}],6:[function(t,r,e){"use strict";function n(){var t={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]}};return t.colors.grey=t.colors.gray,Object.keys(t).forEach(function(r){var e=t[r];Object.keys(e).forEach(function(r){var n=e[r];t[r]=e[r]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),Object.defineProperty(t,r,{value:e,enumerable:!1})}),t}Object.defineProperty(r,"exports",{enumerable:!0,get:n})},{}],7:[function(t,r,e){"use strict";function n(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,e=t.length;e>r;++r)f[r]=t[r],a[t.charCodeAt(r)]=r;a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63}function o(t){var r,e,n,o,i,s,u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[u-2]?2:"="===t[u-1]?1:0,s=new c(3*u/4-i),n=i>0?u-4:u;var f=0;for(r=0,e=0;n>r;r+=4,e+=3)o=a[t.charCodeAt(r)]<<18|a[t.charCodeAt(r+1)]<<12|a[t.charCodeAt(r+2)]<<6|a[t.charCodeAt(r+3)],s[f++]=o>>16&255,s[f++]=o>>8&255,s[f++]=255&o;return 2===i?(o=a[t.charCodeAt(r)]<<2|a[t.charCodeAt(r+1)]>>4,s[f++]=255&o):1===i&&(o=a[t.charCodeAt(r)]<<10|a[t.charCodeAt(r+1)]<<4|a[t.charCodeAt(r+2)]>>2,s[f++]=o>>8&255,s[f++]=255&o),s}function i(t){return f[t>>18&63]+f[t>>12&63]+f[t>>6&63]+f[63&t]}function s(t,r,e){for(var n,o=[],s=r;e>s;s+=3)n=(t[s]<<16)+(t[s+1]<<8)+t[s+2],o.push(i(n));return o.join("")}function u(t){for(var r,e=t.length,n=e%3,o="",i=[],u=16383,a=0,c=e-n;c>a;a+=u)i.push(s(t,a,a+u>c?c:a+u));return 1===n?(r=t[e-1],o+=f[r>>2],o+=f[r<<4&63],o+="=="):2===n&&(r=(t[e-2]<<8)+t[e-1],o+=f[r>>10],o+=f[r>>4&63],o+=f[r<<2&63],o+="="),i.push(o),i.join("")}e.toByteArray=o,e.fromByteArray=u;var f=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array;n()},{}],8:[function(t,r,e){},{}],9:[function(t,r,e){(function(r){"use strict";function n(){try{var t=new Uint8Array(1);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,r){if(o()<r)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=s.prototype):(null===t&&(t=new s(r)),t.length=r),t}function s(t,r,e){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,r,e);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return u(this,t,r,e)}function u(t,r,e,n){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?p(t,r,e,n):"string"==typeof r?h(t,r,e):g(t,r)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number')}function a(t,r,e,n){return f(r),0>=r?i(t,r):void 0!==e?"string"==typeof n?i(t,r).fill(e,n):i(t,r).fill(e):i(t,r)}function c(t,r){if(f(r),t=i(t,0>r?0:0|y(r)),!s.TYPED_ARRAY_SUPPORT)for(var e=0;r>e;e++)t[e]=0;return t}function h(t,r,e){if("string"==typeof e&&""!==e||(e="utf8"),!s.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');var n=0|v(r,e);return t=i(t,n),t.write(r,e),t}function l(t,r){var e=0|y(r.length);t=i(t,e);for(var n=0;e>n;n+=1)t[n]=255&r[n];return t}function p(t,r,e,n){if(r.byteLength,0>e||r.byteLength<e)throw new RangeError("'offset' is out of bounds");if(r.byteLength<e+(n||0))throw new RangeError("'length' is out of bounds");return r=void 0===n?new Uint8Array(r,e):new Uint8Array(r,e,n),s.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=s.prototype):t=l(t,r),t}function g(t,r){if(s.isBuffer(r)){var e=0|y(r.length);return t=i(t,e),0===t.length?t:(r.copy(t,0,0,e),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||V(r.length)?i(t,0):l(t,r);if("Buffer"===r.type&&H(r.data))return l(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function d(t){return+t!=t&&(t=0),s.alloc(+t)}function v(t,r){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case"ascii":case"binary":case"raw":case"raws":return e;case"utf8":case"utf-8":case void 0:return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return W(t).length;default:if(n)return $(t).length;r=(""+r).toLowerCase(),n=!0}}function w(t,r,e){var n=!1;if((void 0===r||0>r)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),0>=e)return"";if(e>>>=0,r>>>=0,r>=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,r,e);case"utf8":case"utf-8":return P(this,r,e);case"ascii":return S(this,r,e);case"binary":return B(this,r,e);case"base64":return x(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function m(t,r,e,n){function o(t,r){return 1===i?t[r]:t.readUInt16BE(r*i)}var i=1,s=t.length,u=r.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;i=2,s/=2,u/=2,e/=2}for(var f=-1,a=0;s>e+a;a++)if(o(t,e+a)===o(r,-1===f?0:a-f)){if(-1===f&&(f=a),a-f+1===u)return(e+f)*i}else-1!==f&&(a-=a-f),f=-1;return-1}function E(t,r,e,n){e=Number(e)||0;var o=t.length-e;n?(n=Number(n),n>o&&(n=o)):n=o;var i=r.length;if(i%2!==0)throw new Error("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;n>s;s++){var u=parseInt(r.substr(2*s,2),16);if(isNaN(u))return s;t[e+s]=u}return s}function A(t,r,e,n){return K($(r,t.length-e),t,e,n)}function R(t,r,e,n){return K(q(r),t,e,n)}function _(t,r,e,n){return R(t,r,e,n)}function T(t,r,e,n){return K(W(r),t,e,n)}function O(t,r,e,n){return K(Z(r,t.length-e),t,e,n)}function x(t,r,e){return 0===r&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function P(t,r,e){e=Math.min(t.length,e);for(var n=[],o=r;e>o;){var i=t[o],s=null,u=i>239?4:i>223?3:i>191?2:1;if(e>=o+u){var f,a,c,h;switch(u){case 1:128>i&&(s=i);break;case 2:f=t[o+1],128===(192&f)&&(h=(31&i)<<6|63&f,h>127&&(s=h));break;case 3:f=t[o+1],a=t[o+2],128===(192&f)&&128===(192&a)&&(h=(15&i)<<12|(63&f)<<6|63&a,h>2047&&(55296>h||h>57343)&&(s=h));break;case 4:f=t[o+1],a=t[o+2],c=t[o+3],128===(192&f)&&128===(192&a)&&128===(192&c)&&(h=(15&i)<<18|(63&f)<<12|(63&a)<<6|63&c,h>65535&&1114112>h&&(s=h))}}null===s?(s=65533,u=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),o+=u}return U(n)}function U(t){var r=t.length;if(Q>=r)return String.fromCharCode.apply(String,t);for(var e="",n=0;r>n;)e+=String.fromCharCode.apply(String,t.slice(n,n+=Q));return e}function S(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;e>o;o++)n+=String.fromCharCode(127&t[o]);return n}function B(t,r,e){var n="";e=Math.min(t.length,e);for(var o=r;e>o;o++)n+=String.fromCharCode(t[o]);return n}function C(t,r,e){var n=t.length;(!r||0>r)&&(r=0),(!e||0>e||e>n)&&(e=n);for(var o="",i=r;e>i;i++)o+=G(t[i]);return o}function M(t,r,e){for(var n=t.slice(r,e),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function I(t,r,e){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}function Y(t,r,e,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||i>r)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}function L(t,r,e,n){0>r&&(r=65535+r+1);for(var o=0,i=Math.min(t.length-e,2);i>o;o++)t[e+o]=(r&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function j(t,r,e,n){0>r&&(r=4294967295+r+1);for(var o=0,i=Math.min(t.length-e,4);i>o;o++)t[e+o]=r>>>8*(n?o:3-o)&255}function D(t,r,e,n,o,i){if(e+n>t.length)throw new RangeError("Index out of range");if(0>e)throw new RangeError("Index out of range")}function k(t,r,e,n,o){return o||D(t,r,e,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,r,e,n,23,4),e+4}function N(t,r,e,n,o){return o||D(t,r,e,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,r,e,n,52,8),e+8}function F(t){if(t=z(t).replace(tt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return 16>t?"0"+t.toString(16):t.toString(16)}function $(t,r){r=r||1/0;for(var e,n=t.length,o=null,i=[],s=0;n>s;s++){if(e=t.charCodeAt(s),e>55295&&57344>e){if(!o){if(e>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(r-=3)>-1&&i.push(239,191,189);continue}o=e;continue}if(56320>e){(r-=3)>-1&&i.push(239,191,189),o=e;continue}e=(o-55296<<10|e-56320)+65536}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,128>e){if((r-=1)<0)break;i.push(e)}else if(2048>e){if((r-=2)<0)break;i.push(e>>6|192,63&e|128)}else if(65536>e){if((r-=3)<0)break;i.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(1114112>e))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return i}function q(t){for(var r=[],e=0;e<t.length;e++)r.push(255&t.charCodeAt(e));return r}function Z(t,r){for(var e,n,o,i=[],s=0;s<t.length&&!((r-=2)<0);s++)e=t.charCodeAt(s),n=e>>8,o=e%256,i.push(o),i.push(n);return i}function W(t){return X.toByteArray(F(t))}function K(t,r,e,n){for(var o=0;n>o&&!(o+e>=r.length||o>=t.length);o++)r[o+e]=t[o];return o}function V(t){return t!==t}var X=t("base64-js"),J=t("ieee754"),H=t("isarray");e.Buffer=s,e.SlowBuffer=d,e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:n(),e.kMaxLength=o(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,r,e){return u(null,t,r,e)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,r,e){return a(null,t,r,e)},s.allocUnsafe=function(t){return c(null,t)},s.allocUnsafeSlow=function(t){return c(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,r){if(!s.isBuffer(t)||!s.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var e=t.length,n=r.length,o=0,i=Math.min(e,n);i>o;++o)if(t[o]!==r[o]){e=t[o],n=r[o];break}return n>e?-1:e>n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,r){if(!H(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var e;if(void 0===r)for(r=0,e=0;e<t.length;e++)r+=t[e].length;var n=s.allocUnsafe(r),o=0;for(e=0;e<t.length;e++){var i=t[e];if(!s.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},s.byteLength=v,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;t>r;r+=2)b(this,r,r+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;t>r;r+=4)b(this,r,r+3),b(this,r+1,r+2);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):w.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,r,e,n,o){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),0>r||e>t.length||0>n||o>this.length)throw new RangeError("out of range index");if(n>=o&&r>=e)return 0;if(n>=o)return-1;if(r>=e)return 1;if(r>>>=0,e>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,u=e-r,f=Math.min(i,u),a=this.slice(n,o),c=t.slice(r,e),h=0;f>h;++h)if(a[h]!==c[h]){i=a[h],u=c[h];break}return u>i?-1:i>u?1:0},s.prototype.indexOf=function(t,r,e){if("string"==typeof r?(e=r,r=0):r>2147483647?r=2147483647:-2147483648>r&&(r=-2147483648),r>>=0,0===this.length)return-1;if(r>=this.length)return-1;if(0>r&&(r=Math.max(this.length+r,0)),"string"==typeof t&&(t=s.from(t,e)),s.isBuffer(t))return 0===t.length?-1:m(this,t,r,e);if("number"==typeof t)return s.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,r):m(this,[t],r,e);throw new TypeError("val must be string, number or Buffer")},s.prototype.includes=function(t,r,e){return-1!==this.indexOf(t,r,e)},s.prototype.write=function(t,r,e,n){if(void 0===r)n="utf8",e=this.length,r=0;else if(void 0===e&&"string"==typeof r)n=r,e=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r=0|r,isFinite(e)?(e=0|e,void 0===n&&(n="utf8")):(n=e,e=void 0)}var o=this.length-r;if((void 0===e||e>o)&&(e=o),t.length>0&&(0>e||0>r)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return E(this,t,r,e);case"utf8":case"utf-8":return A(this,t,r,e);case"ascii":return R(this,t,r,e);case"binary":return _(this,t,r,e);case"base64":return T(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r,e);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;s.prototype.slice=function(t,r){var e=this.length;t=~~t,r=void 0===r?e:~~r,0>t?(t+=e,0>t&&(t=0)):t>e&&(t=e),0>r?(r+=e,0>r&&(r=0)):r>e&&(r=e),t>r&&(r=t);var n;if(s.TYPED_ARRAY_SUPPORT)n=this.subarray(t,r),n.__proto__=s.prototype;else{var o=r-t;n=new s(o,void 0);for(var i=0;o>i;i++)n[i]=this[i+t]}return n},s.prototype.readUIntLE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUIntBE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},s.prototype.readUInt8=function(t,r){return r||I(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,r){return r||I(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,r){return r||I(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,r){return r||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,r){return r||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=this[t],o=1,i=0;++i<r&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*r)),n},s.prototype.readIntBE=function(t,r,e){t=0|t,r=0|r,e||I(t,r,this.length);for(var n=r,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},s.prototype.readInt8=function(t,r){return r||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,r){r||I(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt16BE=function(t,r){r||I(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt32LE=function(t,r){return r||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,r){return r||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,r){return r||I(t,4,this.length),J.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,r){return r||I(t,4,this.length),J.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,r){return r||I(t,8,this.length),J.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,r){return r||I(t,8,this.length),J.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,r,e,n){if(t=+t,r=0|r,e=0|e,!n){var o=Math.pow(2,8*e)-1;Y(this,t,r,e,o,0)}var i=1,s=0;for(this[r]=255&t;++s<e&&(i*=256);)this[r+s]=t/i&255;return r+e},s.prototype.writeUIntBE=function(t,r,e,n){if(t=+t,r=0|r,e=0|e,!n){var o=Math.pow(2,8*e)-1;Y(this,t,r,e,o,0)}var i=e-1,s=1;for(this[r+i]=255&t;--i>=0&&(s*=256);)this[r+i]=t/s&255;return r+e},s.prototype.writeUInt8=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},s.prototype.writeUInt16LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},s.prototype.writeUInt16BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},s.prototype.writeUInt32LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):j(this,t,r,!0),r+4},s.prototype.writeUInt32BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):j(this,t,r,!1),r+4},s.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r=0|r,!n){var o=Math.pow(2,8*e-1);Y(this,t,r,e,o-1,-o)}var i=0,s=1,u=0;for(this[r]=255&t;++i<e&&(s*=256);)0>t&&0===u&&0!==this[r+i-1]&&(u=1),this[r+i]=(t/s>>0)-u&255;return r+e},s.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r=0|r,!n){var o=Math.pow(2,8*e-1);Y(this,t,r,e,o-1,-o)}var i=e-1,s=1,u=0;for(this[r+i]=255&t;--i>=0&&(s*=256);)0>t&&0===u&&0!==this[r+i+1]&&(u=1),this[r+i]=(t/s>>0)-u&255;return r+e},s.prototype.writeInt8=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[r]=255&t,r+1},s.prototype.writeInt16LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):L(this,t,r,!0),r+2},s.prototype.writeInt16BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):L(this,t,r,!1),r+2},s.prototype.writeInt32LE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):j(this,t,r,!0),r+4},s.prototype.writeInt32BE=function(t,r,e){return t=+t,r=0|r,e||Y(this,t,r,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):j(this,t,r,!1),r+4},s.prototype.writeFloatLE=function(t,r,e){return k(this,t,r,!0,e)},s.prototype.writeFloatBE=function(t,r,e){return k(this,t,r,!1,e)},s.prototype.writeDoubleLE=function(t,r,e){return N(this,t,r,!0,e)},s.prototype.writeDoubleBE=function(t,r,e){return N(this,t,r,!1,e)},s.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&e>n&&(n=e),n===e)return 0;if(0===t.length||0===this.length)return 0;if(0>r)throw new RangeError("targetStart out of bounds");if(0>e||e>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-e&&(n=t.length-r+e);var o,i=n-e;if(this===t&&r>e&&n>r)for(o=i-1;o>=0;o--)t[o+r]=this[o+e];else if(1e3>i||!s.TYPED_ARRAY_SUPPORT)for(o=0;i>o;o++)t[o+r]=this[o+e];else Uint8Array.prototype.set.call(t,this.subarray(e,e+i),r);return i},s.prototype.fill=function(t,r,e,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,e=this.length):"string"==typeof e&&(n=e,e=this.length),1===t.length){var o=t.charCodeAt(0);256>o&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t=255&t);if(0>r||this.length<r||this.length<e)throw new RangeError("Out of range index");if(r>=e)return this;r>>>=0,e=void 0===e?this.length:e>>>0,t||(t=0);var i;if("number"==typeof t)for(i=r;e>i;i++)this[i]=t;else{var u=s.isBuffer(t)?t:$(new s(t,n).toString()),f=u.length;for(i=0;e-r>i;i++)this[i+r]=u[i%f]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":7,ieee754:14,isarray:10}],10:[function(t,r,e){var n={}.toString;r.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],11:[function(t,r,e){(function(e){"use strict";function n(t){this.enabled=t&&void 0!==t.enabled?t.enabled:h}function o(t){var r=function(){return i.apply(r,arguments)};return r._styles=t,r.enabled=this.enabled,r.__proto__=y,r}function i(){var t=arguments,r=t.length,e=0!==r&&String(arguments[0]);if(r>1)for(var n=1;r>n;n++)e+=" "+t[n];if(!this.enabled||!e)return e;var o=this._styles,i=o.length,s=f.dim.open;for(!p||-1===o.indexOf("gray")&&-1===o.indexOf("grey")||(f.dim.open="");i--;){var u=f[o[i]];e=u.open+e.replace(u.closeRe,u.open)+u.close}return f.dim.open=s,e}function s(){var t={};return Object.keys(g).forEach(function(r){t[r]={get:function(){return o.call(this,[r])}}}),t}var u=t("escape-string-regexp"),f=t("ansi-styles"),a=t("strip-ansi"),c=t("has-ansi"),h=t("supports-color"),l=Object.defineProperties,p="win32"===e.platform&&!/^xterm/i.test(e.env.TERM);p&&(f.blue.open="");var g=function(){var t={};return Object.keys(f).forEach(function(r){f[r].closeRe=new RegExp(u(f[r].close),"g"),t[r]={get:function(){return o.call(this,this._styles.concat(r))}}}),t}(),y=l(function(){},g);l(n.prototype,s()),r.exports=new n,r.exports.styles=f,r.exports.hasColor=c,r.exports.stripColor=a,r.exports.supportsColor=h}).call(this,t("_process"))},{_process:20,"ansi-styles":6,"escape-string-regexp":12,"has-ansi":13,"strip-ansi":22,"supports-color":23}],12:[function(t,r,e){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;r.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},{}],13:[function(t,r,e){"use strict";var n=t("ansi-regex"),o=new RegExp(n().source);r.exports=o.test.bind(o)},{"ansi-regex":5}],14:[function(t,r,e){e.read=function(t,r,e,n,o){var i,s,u=8*o-n-1,f=(1<<u)-1,a=f>>1,c=-7,h=e?o-1:0,l=e?-1:1,p=t[r+h];for(h+=l,i=p&(1<<-c)-1,p>>=-c,c+=u;c>0;i=256*i+t[r+h],h+=l,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=256*s+t[r+h],h+=l,c-=8);if(0===i)i=1-a;else{if(i===f)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,n),i-=a}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,r,e,n,o,i){var s,u,f,a=8*i-o-1,c=(1<<a)-1,h=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,g=n?1:-1,y=0>r||0===r&&0>1/r?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,s=c):(s=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-s))<1&&(s--,f*=2),r+=s+h>=1?l/f:l*Math.pow(2,1-h),r*f>=2&&(s++,f/=2),s+h>=c?(u=0,s=c):s+h>=1?(u=(r*f-1)*Math.pow(2,o),s+=h):(u=r*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;t[e+p]=255&u,p+=g,u/=256,o-=8);for(s=s<<o|u,a+=o;a>0;t[e+p]=255&s,p+=g,s/=256,a-=8);t[e+p-g]|=128*y}},{}],15:[function(t,r,e){function n(t,r){return t="number"==typeof t||b.test(t)?+t:-1,r=null==r?d:r,t>-1&&t%1==0&&r>t}function o(t,r,e){var n=t[r];E.call(t,r)&&a(n,e)&&(void 0!==e||r in t)||(t[r]=e)}function i(t){return function(r){return null==r?void 0:r[t]}}function s(t,r,e,n){e||(e={});for(var i=-1,s=r.length;++i<s;){var u=r[i],f=n?n(e[u],t[u],u,e,t):t[u];o(e,u,f)}return e}function u(t){return y(function(r,e){var n=-1,o=e.length,i=o>1?e[o-1]:void 0,s=o>2?e[2]:void 0;for(i="function"==typeof i?(o--,i):void 0,s&&f(e[0],e[1],s)&&(i=3>o?void 0:i,o=1),r=Object(r);++n<o;){var u=e[n];u&&t(r,u,n,i)}return r})}function f(t,r,e){if(!p(e))return!1;var o=typeof r;return("number"==o?c(e)&&n(r,e.length):"string"==o&&r in e)?a(e[r],t):!1}function a(t,r){return t===r||t!==t&&r!==r}function c(t){return null!=t&&l(R(t))&&!h(t)}function h(t){var r=p(t)?A.call(t):"";return r==v||r==w}function l(t){return"number"==typeof t&&t>-1&&t%1==0&&d>=t}function p(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}var g=t("lodash.keysin"),y=t("lodash.rest"),d=9007199254740991,v="[object Function]",w="[object GeneratorFunction]",b=/^(?:0|[1-9]\d*)$/,m=Object.prototype,E=m.hasOwnProperty,A=m.toString,R=i("length"),_=u(function(t,r,e,n){s(r,g(r),t,n)});r.exports=_},{"lodash.keysin":17,"lodash.rest":18}],16:[function(t,r,e){function n(t,r,e){var n=e.length;switch(n){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function o(t,r,e,n){return void 0===t||i(t,f[e])&&!a.call(n,e)?r:t}function i(t,r){return t===r||t!==t&&r!==r}var s=t("lodash.assigninwith"),u=t("lodash.rest"),f=Object.prototype,a=f.hasOwnProperty,c=u(function(t){return t.push(void 0,o),n(s,void 0,t)});r.exports=c;
},{"lodash.assigninwith":15,"lodash.rest":18}],17:[function(t,r,e){(function(t){function n(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}function o(t){return t&&t.Object===Object?t:null}function i(t,r){return t="number"==typeof t||T.test(t)?+t:-1,r=null==r?m:r,t>-1&&t%1==0&&r>t}function s(t){for(var r,e=[];!(r=t.next()).done;)e.push(r.value);return e}function u(t){t=null==t?t:Object(t);var r=[];for(var e in t)r.push(e);return r}function f(t){return function(r){return null==r?void 0:r[t]}}function a(t){var r=t?t.length:void 0;return y(r)&&(F(t)||w(t)||h(t))?n(r,String):null}function c(t){var r=t&&t.constructor,e="function"==typeof r&&r.prototype||I;return t===e}function h(t){return p(t)&&Y.call(t,"callee")&&(!k.call(t,"callee")||L.call(t)==E)}function l(t){return null!=t&&y(N(t))&&!g(t)}function p(t){return v(t)&&l(t)}function g(t){var r=d(t)?L.call(t):"";return r==A||r==R}function y(t){return"number"==typeof t&&t>-1&&t%1==0&&m>=t}function d(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function v(t){return!!t&&"object"==typeof t}function w(t){return"string"==typeof t||!F(t)&&v(t)&&L.call(t)==_}function b(t){for(var r=-1,e=c(t),n=u(t),o=n.length,s=a(t),f=!!s,h=s||[],l=h.length;++r<o;){var p=n[r];f&&("length"==p||i(p,l))||"constructor"==p&&(e||!Y.call(t,p))||h.push(p)}return h}var m=9007199254740991,E="[object Arguments]",A="[object Function]",R="[object GeneratorFunction]",_="[object String]",T=/^(?:0|[1-9]\d*)$/,O={"function":!0,object:!0},x=O[typeof e]&&e&&!e.nodeType?e:void 0,P=O[typeof r]&&r&&!r.nodeType?r:void 0,U=o(x&&P&&"object"==typeof t&&t),S=o(O[typeof self]&&self),B=o(O[typeof window]&&window),C=o(O[typeof this]&&this),M=U||B!==(C&&C.window)&&B||S||C||Function("return this")(),I=Object.prototype,Y=I.hasOwnProperty,L=I.toString,j=M.Reflect,D=j?j.enumerate:void 0,k=I.propertyIsEnumerable;D&&!k.call({valueOf:1},"valueOf")&&(u=function(t){return s(D(t))});var N=f("length"),F=Array.isArray;r.exports=b}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],18:[function(t,r,e){function n(t,r,e){var n=e.length;switch(n){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}function o(t,r){if("function"!=typeof t)throw new TypeError(h);return r=T(void 0===r?t.length-1:a(r),0),function(){for(var e=arguments,o=-1,i=T(e.length-r,0),s=Array(i);++o<i;)s[o]=e[r+o];switch(r){case 0:return t.call(this,s);case 1:return t.call(this,e[0],s);case 2:return t.call(this,e[0],e[1],s)}var u=Array(r+1);for(o=-1;++o<r;)u[o]=e[o];return u[r]=s,n(t,this,u)}}function i(t){var r=s(t)?_.call(t):"";return r==y||r==d}function s(t){var r=typeof t;return!!t&&("object"==r||"function"==r)}function u(t){return!!t&&"object"==typeof t}function f(t){return"symbol"==typeof t||u(t)&&_.call(t)==v}function a(t){if(!t)return 0===t?t:0;if(t=c(t),t===l||t===-l){var r=0>t?-1:1;return r*p}var e=t%1;return t===t?e?t-e:t:0}function c(t){if("number"==typeof t)return t;if(f(t))return g;if(s(t)){var r=i(t.valueOf)?t.valueOf():t;t=s(r)?r+"":r}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(w,"");var e=m.test(t);return e||E.test(t)?A(t.slice(2),e?2:8):b.test(t)?g:+t}var h="Expected a function",l=1/0,p=1.7976931348623157e308,g=NaN,y="[object Function]",d="[object GeneratorFunction]",v="[object Symbol]",w=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,E=/^0o[0-7]+$/i,A=parseInt,R=Object.prototype,_=R.toString,T=Math.max;r.exports=o},{}],19:[function(t,r,e){function n(t){if(t=""+t,!(t.length>1e4)){var r=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(r){var e=parseFloat(r[1]),n=(r[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return e*h;case"days":case"day":case"d":return e*c;case"hours":case"hour":case"hrs":case"hr":case"h":return e*a;case"minutes":case"minute":case"mins":case"min":case"m":return e*f;case"seconds":case"second":case"secs":case"sec":case"s":return e*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return e}}}}function o(t){return t>=c?Math.round(t/c)+"d":t>=a?Math.round(t/a)+"h":t>=f?Math.round(t/f)+"m":t>=u?Math.round(t/u)+"s":t+"ms"}function i(t){return s(t,c,"day")||s(t,a,"hour")||s(t,f,"minute")||s(t,u,"second")||t+" ms"}function s(t,r,e){return r>t?void 0:1.5*r>t?Math.floor(t/r)+" "+e:Math.ceil(t/r)+" "+e+"s"}var u=1e3,f=60*u,a=60*f,c=24*a,h=365.25*c;r.exports=function(t,r){return r=r||{},"string"==typeof t?n(t):r["long"]?i(t):o(t)}},{}],20:[function(t,r,e){function n(){c=!1,u.length?a=u.concat(a):h=-1,a.length&&o()}function o(){if(!c){var t=setTimeout(n);c=!0;for(var r=a.length;r;){for(u=a,a=[];++h<r;)u&&u[h].run();h=-1,r=a.length}u=null,c=!1,clearTimeout(t)}}function i(t,r){this.fun=t,this.array=r}function s(){}var u,f=r.exports={},a=[],c=!1,h=-1;f.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];a.push(new i(t,r)),1!==a.length||c||setTimeout(o,0)},i.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=s,f.addListener=s,f.once=s,f.off=s,f.removeListener=s,f.removeAllListeners=s,f.emit=s,f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},{}],21:[function(t,r,e){"use strict";function n(t,r){if("string"!=typeof t)throw new TypeError("repeat-string expects a string.");if(1===r)return t;if(2===r)return t+t;var e=t.length*r;for(o===t&&"undefined"!=typeof o||(o=t,i="");e>i.length&&r>0&&(1&r&&(i+=t),r>>=1);)t+=t;return i.substr(0,e)}var o,i="";r.exports=n},{}],22:[function(t,r,e){"use strict";var n=t("ansi-regex")();r.exports=function(t){return"string"==typeof t?t.replace(n,""):t}},{"ansi-regex":5}],23:[function(t,r,e){(function(t){"use strict";var e=t.argv,n=e.indexOf("--"),o=function(t){t="--"+t;var r=e.indexOf(t);return-1!==r&&(-1!==n?n>r:!0)};r.exports=function(){return"FORCE_COLOR"in t.env?!0:o("no-color")||o("no-colors")||o("color=false")?!1:o("color")||o("colors")||o("color=true")||o("color=always")?!0:t.stdout&&!t.stdout.isTTY?!1:"win32"===t.platform?!0:"COLORTERM"in t.env?!0:"dumb"===t.env.TERM?!1:!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(t.env.TERM)}()}).call(this,t("_process"))},{_process:20}],Acho:[function(t,r,e){"use strict";t("coffee-script/register"),r.exports=t("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":8}]},{},[])("Acho")});

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/achohq/acho",
"version": "3.0.0",
"version": "3.0.1",
"main": "./index.js",

@@ -33,6 +33,7 @@ "author": {

"ms": "~0.7.1",
"repeat-string": "~1.5.4"
"repeat-string": "~1.5.4",
"strip-ansi": "~3.0.1"
},
"devDependencies": {
"acho-skin-cli": "~1.0.0",
"acho-skin-cli": "latest",
"browserify": "latest",

@@ -39,0 +40,0 @@ "coffeeify": "latest",

@@ -237,4 +237,2 @@ # acho

Under production scenario (`NODE_ENV=production`) it's automatically stablish to `false`.
##### **{Boolean}** upperCase

@@ -241,0 +239,0 @@

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