-
Notifications
You must be signed in to change notification settings - Fork 4
/
v.min.js
2 lines (1 loc) · 71.3 KB
/
v.min.js
1
var _Mathround=Math.round,_Mathfloor=Math.floor,_Mathabs=Math.abs,_StringfromCharCode=String.fromCharCode,_Mathmin=Math.min,_Mathpow=Math.pow;(function(w){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=w();else if("function"==typeof define&&define.amd)define([],w);else{var S;S="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,S.V=w()}})(function(){return function E(R,C,I){function A(O,T){if(!C[O]){if(!R[O]){var D="function"==typeof require&&require;if(!T&&D)return D(O,!0);if(M)return M(O,!0);var q=new Error("Cannot find module '"+O+"'");throw q.code="MODULE_NOT_FOUND",q}var P=C[O]={exports:{}};R[O][0].call(P.exports,function(W){var F=R[O][1][W];return A(F?F:W)},P,P.exports,E,R,C,I)}return C[O].exports}for(var M="function"==typeof require&&require,U=0;U<I.length;U++)A(I[U]);return A}({1:[function(E,R){function I(W){return JSON.stringify(W)}const A=E("events").EventEmitter,M=E("debug"),U=E("simple-websocket");let O;try{O=E("deasync")}catch(W){M("V")("Couldn't load deasync")}let T=1,D=1;class q extends A{constructor(W,F){function z(ee=[]){return{get(te,ne){if("symbol"==typeof ne||"domain"===ne||"keys"===ne)return te[ne];const oe=ee.concat([ne]).join(".");if(ne.startsWith("_")||G._debug("get %s",oe),ne in te){if(!ne.startsWith("_")&&"object"==typeof te[ne]){G._debug("New proxy for key %s",ne);const se=ee.slice();return se.push(ne),new Proxy(te[ne],z(se))}return te[ne]}},set(te,ne,oe){const se=ee.concat([ne]).join(".");G._debug("set %s=%o",se,oe);try{return te[ne]===oe||(te[ne]=oe,G._closed||ne.startsWith("_")||N({type:"set",key:se,data:oe}),!0)}catch(ie){return G._debug("Failed to set readonly property %o",ie),!1}},deleteProperty(te,ne){const oe=ee.concat([ne]).join(".");return G._debug("deleteProperty %s",oe),delete te[ne],G._closed||N({type:"delete",key:oe}),!0}}}function N(ee,te=G._socket){G._debug("Sending %o",ee),te.send(I(ee))}function Y(ee){G._debug("Init with id: %s",ee),Object.defineProperty(G,"_roomId",{value:ee}),H()}function H(){if(G._closed||(Object.defineProperty(G,"_debug",{value:M("v"+T++ +":"+G._roomId)}),Object.defineProperty(G,"keys",{get(){return Object.keys(G).filter((ee)=>!ee.startsWith("_")&&"domain"!==ee)}})),G._closed=!1,Q=new Proxy(G,z()),G.checkToUnref(),G._debug("Ready"),F)return F(Q)}function K(ee){switch(ee=JSON.parse(ee),G._debug("Received %o",ee),ee.type){case"roomId":{G._debug("Use %s as your roomId",ee.data),console.log(`Use ${ee.data} as your roomId`),Y(ee.data);break}case"start":{const te=ee.data,ne=te.vars;for(const oe in G._debug("vars: %O",ne),ne){const se=ne[oe];se&&"object"==typeof se&&se.isConst?Object.defineProperty(G,oe,{value:ne[oe].val,enumerable:!0}):G[oe]=ne[oe]}H();break}case"set":{const te=ee.key;G._debug("sync set %s",te);try{if(!te.includes("."))G[te]=ee.data;else{const ne=te.split(".");let oe=G;for(let ie,se=0;se<ne.length-1;se++)ie=ne[se],ie in oe?oe=oe[ie]:oe[ie]={};oe[ne[ne.length-1]]=ee.data}G.emit("set",{key:ee.key,value:ee.data})}catch(ne){G._debug("Failed to sync set")}break}case"delete":{const te=ee.key;if(G._debug("sync delete %s",te),!te.includes("."))delete G[te];else{const ne=te.split(".");let oe=G;for(let ie,se=0;se<ne.length-1;se++)ie=ne[se],ie in oe?oe=oe[ie]:oe[ie]={};delete oe[ne[ne.length-1]]}G.emit("delete",ee.key);break}case"destroy":{G.close(!0),G.emit("destroyed");break}case"error":{const te=ee.data;throw G._debug("Error: %s",te),console.error(te),G.close(),new Error(te)}default:G._debug("Received unknown message type");}}function J(ee="Not specified"){G._debug("Socket closed %s",ee),G._closed=!0,G._closing||G._error||$()}function $(ee=1){return G._closing||G._error?!1:void setTimeout(()=>{const te=new U(W.server);Object.defineProperty(G,"_socket",{value:te,writable:!0}),te.on("error",()=>{G._debug("Failed to reconnect, retrying..."),$(++ee)}),te.on("connect",()=>{te.on("data",K),te.on("close",J),G._debug("Socket opened"),N({type:"startWithId",data:G._roomId})})},1e3*_Mathpow(2,ee))}super();const G=this;Object.defineProperty(G,"_events",{value:G._events,enumerable:!1,configurable:!1,writable:!0}),Object.defineProperty(G,"_maxListeners",{value:G._events,enumerable:!1,configurable:!1,writable:!0}),Object.defineProperty(G,"_debug",{value:M("V:constructor-"+D++),writable:!0}),G._debug("constructor %o",W);let Q;const Z=new U(W.server);if(Object.defineProperty(G,"_socket",{value:Z,writable:!0}),Z.on("data",K),Z.on("close",J),Z.on("error",function(ee){throw G._debug("Socket error %o",ee),G._error=!0,G.close(),ee}),Z.on("connect",()=>{G._debug("Socket opened"),W.roomId?(Object.defineProperty(G,"_roomId",{value:W.roomId}),N({type:"startWithId",data:W.roomId})):(G._debug("Requesting new roomId..."),G._requestedRoomId=!0,N({type:"requestRoomId"}))}),O&&O.loopWhile)return O.loopWhile(()=>void 0==Q),Q}addListener(W,F){this.ref(),super.addListener(W,F)}on(W,F){this.ref(),super.on(W,F)}once(W,F){this.ref(),super.once(W,(z)=>{F(z)})}prependListener(W,F){this.ref(),super.prependListener(W,F)}prependOnceListener(W,F){this.ref(),super.prependOnceListener(W,F)}removeListener(W,F){super.removeListener(W,F),this.checkToUnref()}removeAllListeners(W){super.removeAllListeners(W),this.checkToUnref()}ref(){this._socket._ws&&this._socket._ws._socket&&this._socket._ws._socket.ref&&this._socket._ws._socket.ref()}checkToUnref(){if(this._socket._ws&&this._socket._ws._socket&&this._socket._ws._socket.unref){let W=0;this.eventNames().forEach((F)=>{W+=this.listenerCount(F)}),W||this._socket._ws._socket.unref()}}close(W=!1){this._closing=!0,this._debug("close"),!W&&this._requestedRoomId&&(this._debug("Remember to set your roomId to %s",this._roomId),console.log(`Remember to set your roomId to ${this._roomId}`)),this._socket&&this._socket.destroy()}destroy(){this._debug("destroy"),this._socket.send(I({type:"destroy"})),this.close(!0)}const(W,F){M("V:const")("%s %o",W,F),Object.defineProperty(this,W,{value:F,enumerable:!0}),this._socket.send(I({type:"set",key:W,data:{val:F,isConst:!0}}))}}const P={roomId:"",server:"wss://api.vars.online"};R.exports=function(W=P,F){return"function"==typeof W&&(F=W,W=P),"string"==typeof W&&(W={roomId:W}),Object.keys(P).forEach((z)=>{W[z]||(W[z]=P[z])}),!F&&O&&O.loopWhile?new q(W):"function"==typeof F?new q(W,F):new Promise((z)=>new q(W,z))}},{deasync:3,debug:7,events:9,"simple-websocket":25}],2:[function(E,R,C){"use strict";function I(N){var Y=N.length;if(0<Y%4)throw new Error("Invalid string. Length must be a multiple of 4");return"="===N[Y-2]?2:"="===N[Y-1]?1:0}function U(N){return D[63&N>>18]+D[63&N>>12]+D[63&N>>6]+D[63&N]}function O(N,Y,H){for(var K,J=[],X=Y;X<H;X+=3)K=(N[X]<<16)+(N[X+1]<<8)+N[X+2],J.push(U(K));return J.join("")}C.byteLength=function(N){return 3*N.length/4-I(N)},C.toByteArray=function(N){var Y,H,K,J,X,$,G=N.length;X=I(N),$=new P(3*G/4-X),K=0<X?G-4:G;var Q=0;for(Y=0,H=0;Y<K;Y+=4,H+=3)J=q[N.charCodeAt(Y)]<<18|q[N.charCodeAt(Y+1)]<<12|q[N.charCodeAt(Y+2)]<<6|q[N.charCodeAt(Y+3)],$[Q++]=255&J>>16,$[Q++]=255&J>>8,$[Q++]=255&J;return 2===X?(J=q[N.charCodeAt(Y)]<<2|q[N.charCodeAt(Y+1)]>>4,$[Q++]=255&J):1===X&&(J=q[N.charCodeAt(Y)]<<10|q[N.charCodeAt(Y+1)]<<4|q[N.charCodeAt(Y+2)]>>2,$[Q++]=255&J>>8,$[Q++]=255&J),$},C.fromByteArray=function(N){for(var Y,H=N.length,K=H%3,J="",X=[],$=16383,G=0,Q=H-K;G<Q;G+=$)X.push(O(N,G,G+$>Q?Q:G+$));return 1==K?(Y=N[H-1],J+=D[Y>>2],J+=D[63&Y<<4],J+="=="):2==K&&(Y=(N[H-2]<<8)+N[H-1],J+=D[Y>>10],J+=D[63&Y>>4],J+=D[63&Y<<2],J+="="),X.push(J),X.join("")};for(var D=[],q=[],P="undefined"==typeof Uint8Array?Array:Uint8Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",F=0,z=W.length;F<z;++F)D[F]=W[F],q[W.charCodeAt(F)]=F;q["-".charCodeAt(0)]=62,q["_".charCodeAt(0)]=63},{}],3:[function(){},{}],4:[function(E,R,C){(function(I){"use strict";var A=E("buffer"),M=A.Buffer,U=A.SlowBuffer,O=A.kMaxLength||2147483647;C.alloc=function(D,q,P){if("function"==typeof M.alloc)return M.alloc(D,q,P);if("number"==typeof P)throw new TypeError("encoding must not be number");if("number"!=typeof D)throw new TypeError("size must be a number");if(D>O)throw new RangeError("size is too large");var W=P,F=q;F===void 0&&(W=void 0,F=0);var z=new M(D);if("string"==typeof F)for(var N=new M(F,W),Y=N.length,H=-1;++H<D;)z[H]=N[H%Y];else z.fill(F);return z},C.allocUnsafe=function(D){if("function"==typeof M.allocUnsafe)return M.allocUnsafe(D);if("number"!=typeof D)throw new TypeError("size must be a number");if(D>O)throw new RangeError("size is too large");return new M(D)},C.from=function(D,q,P){if("function"==typeof M.from&&(!I.Uint8Array||Uint8Array.from!==M.from))return M.from(D,q,P);if("number"==typeof D)throw new TypeError("\"value\" argument must not be a number");if("string"==typeof D)return new M(D,q);if("undefined"!=typeof ArrayBuffer&&D instanceof ArrayBuffer){var W=q;if(1===arguments.length)return new M(D);"undefined"==typeof W&&(W=0);var F=P;if("undefined"==typeof F&&(F=D.byteLength-W),W>=D.byteLength)throw new RangeError("'offset' is out of bounds");if(F>D.byteLength-W)throw new RangeError("'length' is out of bounds");return new M(D.slice(W,W+F))}if(M.isBuffer(D)){var z=new M(D.length);return D.copy(z,0,0,D.length),z}if(D){if(Array.isArray(D)||"undefined"!=typeof ArrayBuffer&&D.buffer instanceof ArrayBuffer||"length"in D)return new M(D);if("Buffer"===D.type&&Array.isArray(D.data))return new M(D.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},C.allocUnsafeSlow=function(D){if("function"==typeof M.allocUnsafeSlow)return M.allocUnsafeSlow(D);if("number"!=typeof D)throw new TypeError("size must be a number");if(D>=O)throw new RangeError("size is too large");return new U(D)}}).call(this,"undefined"==typeof global?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:global)},{buffer:5}],5:[function(E,R,C){"use strict";function A(Ie){if(Ie>Ee)throw new RangeError("Invalid typed array length");var Ae=new Uint8Array(Ie);return Ae.__proto__=M.prototype,Ae}function M(Ie,Ae,Me){if("number"==typeof Ie){if("string"==typeof Ae)throw new Error("If encoding is specified then the first argument must be a string");return D(Ie)}return U(Ie,Ae,Me)}function U(Ie,Ae,Me){if("number"==typeof Ie)throw new TypeError("\"value\" argument must not be a number");return Ie instanceof ArrayBuffer?W(Ie,Ae,Me):"string"==typeof Ie?q(Ie,Ae):F(Ie)}function O(Ie){if("number"!=typeof Ie)throw new TypeError("\"size\" argument must be a number");else if(0>Ie)throw new RangeError("\"size\" argument must not be negative")}function T(Ie,Ae,Me){return O(Ie),0>=Ie?A(Ie):void 0===Ae?A(Ie):"string"==typeof Me?A(Ie).fill(Ae,Me):A(Ie).fill(Ae)}function D(Ie){return O(Ie),A(0>Ie?0:0|z(Ie))}function q(Ie,Ae){if(("string"!=typeof Ae||""===Ae)&&(Ae="utf8"),!M.isEncoding(Ae))throw new TypeError("\"encoding\" must be a valid string encoding");var Me=0|Y(Ie,Ae),je=A(Me),Ue=je.write(Ie,Ae);return Ue!==Me&&(je=je.slice(0,Ue)),je}function P(Ie){for(var Ae=0>Ie.length?0:0|z(Ie.length),Me=A(Ae),je=0;je<Ae;je+=1)Me[je]=255&Ie[je];return Me}function W(Ie,Ae,Me){if(0>Ae||Ie.byteLength<Ae)throw new RangeError("'offset' is out of bounds");if(Ie.byteLength<Ae+(Me||0))throw new RangeError("'length' is out of bounds");var je;return je=void 0===Ae&&void 0===Me?new Uint8Array(Ie):void 0===Me?new Uint8Array(Ie,Ae):new Uint8Array(Ie,Ae,Me),je.__proto__=M.prototype,je}function F(Ie){if(M.isBuffer(Ie)){var Ae=0|z(Ie.length),Me=A(Ae);return 0===Me.length?Me:(Ie.copy(Me,0,0,Ae),Me)}if(Ie){if(ArrayBuffer.isView(Ie)||"length"in Ie)return"number"!=typeof Ie.length||Le(Ie.length)?A(0):P(Ie);if("Buffer"===Ie.type&&Array.isArray(Ie.data))return P(Ie.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function z(Ie){if(Ie>=Ee)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ee.toString(16)+" bytes");return 0|Ie}function Y(Ie,Ae){if(M.isBuffer(Ie))return Ie.length;if(ArrayBuffer.isView(Ie)||Ie instanceof ArrayBuffer)return Ie.byteLength;"string"!=typeof Ie&&(Ie=""+Ie);var Me=Ie.length;if(0===Me)return 0;for(var je=!1;;)switch(Ae){case"ascii":case"latin1":case"binary":return Me;case"utf8":case"utf-8":case void 0:return ye(Ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Me;case"hex":return Me>>>1;case"base64":return ke(Ie).length;default:if(je)return ye(Ie).length;Ae=(""+Ae).toLowerCase(),je=!0;}}function H(Ie,Ae,Me){var je=!1;if((void 0===Ae||0>Ae)&&(Ae=0),Ae>this.length)return"";if((void 0===Me||Me>this.length)&&(Me=this.length),0>=Me)return"";if(Me>>>=0,Ae>>>=0,Me<=Ae)return"";for(Ie||(Ie="utf8");;)switch(Ie){case"hex":return de(this,Ae,Me);case"utf8":case"utf-8":return oe(this,Ae,Me);case"ascii":return ie(this,Ae,Me);case"latin1":case"binary":return ae(this,Ae,Me);case"base64":return ne(this,Ae,Me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,Ae,Me);default:if(je)throw new TypeError("Unknown encoding: "+Ie);Ie=(Ie+"").toLowerCase(),je=!0;}}function K(Ie,Ae,Me){var je=Ie[Ae];Ie[Ae]=Ie[Me],Ie[Me]=je}function J(Ie,Ae,Me,je,Ue){if(0===Ie.length)return-1;if("string"==typeof Me?(je=Me,Me=0):2147483647<Me?Me=2147483647:-2147483648>Me&&(Me=-2147483648),Me=+Me,isNaN(Me)&&(Me=Ue?0:Ie.length-1),0>Me&&(Me=Ie.length+Me),Me>=Ie.length){if(Ue)return-1;Me=Ie.length-1}else if(0>Me)if(Ue)Me=0;else return-1;if("string"==typeof Ae&&(Ae=M.from(Ae,je)),M.isBuffer(Ae))return 0===Ae.length?-1:X(Ie,Ae,Me,je,Ue);if("number"==typeof Ae)return Ae&=255,"function"==typeof Uint8Array.prototype.indexOf?Ue?Uint8Array.prototype.indexOf.call(Ie,Ae,Me):Uint8Array.prototype.lastIndexOf.call(Ie,Ae,Me):X(Ie,[Ae],Me,je,Ue);throw new TypeError("val must be string, number or Buffer")}function X(Ie,Ae,Me,je,Ue){function Oe(Ne,Ve){return 1==Te?Ne[Ve]:Ne.readUInt16BE(Ve*Te)}var Te=1,De=Ie.length,qe=Ae.length;if(void 0!==je&&(je=(je+"").toLowerCase(),"ucs2"===je||"ucs-2"===je||"utf16le"===je||"utf-16le"===je)){if(2>Ie.length||2>Ae.length)return-1;Te=2,De/=2,qe/=2,Me/=2}var Pe;if(Ue){var We=-1;for(Pe=Me;Pe<De;Pe++)if(Oe(Ie,Pe)!==Oe(Ae,-1==We?0:Pe-We))-1!=We&&(Pe-=Pe-We),We=-1;else if(-1==We&&(We=Pe),Pe-We+1===qe)return We*Te}else for(Me+qe>De&&(Me=De-qe),Pe=Me;0<=Pe;Pe--){for(var Fe=!0,ze=0;ze<qe;ze++)if(Oe(Ie,Pe+ze)!==Oe(Ae,ze)){Fe=!1;break}if(Fe)return Pe}return-1}function $(Ie,Ae,Me,je){Me=+Me||0;var Ue=Ie.length-Me;je?(je=+je,je>Ue&&(je=Ue)):je=Ue;var Oe=Ae.length;if(0!=Oe%2)throw new TypeError("Invalid hex string");je>Oe/2&&(je=Oe/2);for(var De,Te=0;Te<je;++Te){if(De=parseInt(Ae.substr(2*Te,2),16),isNaN(De))return Te;Ie[Me+Te]=De}return Te}function G(Ie,Ae,Me,je){return xe(ye(Ae,Ie.length-Me),Ie,Me,je)}function Q(Ie,Ae,Me,je){return xe(we(Ae),Ie,Me,je)}function Z(Ie,Ae,Me,je){return Q(Ie,Ae,Me,je)}function ee(Ie,Ae,Me,je){return xe(ke(Ae),Ie,Me,je)}function te(Ie,Ae,Me,je){return xe(ve(Ae,Ie.length-Me),Ie,Me,je)}function ne(Ie,Ae,Me){return 0===Ae&&Me===Ie.length?Se.fromByteArray(Ie):Se.fromByteArray(Ie.slice(Ae,Me))}function oe(Ie,Ae,Me){Me=_Mathmin(Ie.length,Me);for(var je=[],Ue=Ae;Ue<Me;){var Oe=Ie[Ue],Te=null,De=239<Oe?4:223<Oe?3:191<Oe?2:1;if(Ue+De<=Me){var qe,Pe,We,Fe;1==De?128>Oe&&(Te=Oe):2==De?(qe=Ie[Ue+1],128==(192&qe)&&(Fe=(31&Oe)<<6|63&qe,127<Fe&&(Te=Fe))):3==De?(qe=Ie[Ue+1],Pe=Ie[Ue+2],128==(192&qe)&&128==(192&Pe)&&(Fe=(15&Oe)<<12|(63&qe)<<6|63&Pe,2047<Fe&&(55296>Fe||57343<Fe)&&(Te=Fe))):4==De?(qe=Ie[Ue+1],Pe=Ie[Ue+2],We=Ie[Ue+3],128==(192&qe)&&128==(192&Pe)&&128==(192&We)&&(Fe=(15&Oe)<<18|(63&qe)<<12|(63&Pe)<<6|63&We,65535<Fe&&1114112>Fe&&(Te=Fe))):void 0}null===Te?(Te=65533,De=1):65535<Te&&(Te-=65536,je.push(55296|1023&Te>>>10),Te=56320|1023&Te),je.push(Te),Ue+=De}return se(je)}function se(Ie){var Ae=Ie.length;if(Ae<=Re)return _StringfromCharCode.apply(String,Ie);for(var Me="",je=0;je<Ae;)Me+=_StringfromCharCode.apply(String,Ie.slice(je,je+=Re));return Me}function ie(Ie,Ae,Me){var je="";Me=_Mathmin(Ie.length,Me);for(var Ue=Ae;Ue<Me;++Ue)je+=_StringfromCharCode(127&Ie[Ue]);return je}function ae(Ie,Ae,Me){var je="";Me=_Mathmin(Ie.length,Me);for(var Ue=Ae;Ue<Me;++Ue)je+=_StringfromCharCode(Ie[Ue]);return je}function de(Ie,Ae,Me){var je=Ie.length;(!Ae||0>Ae)&&(Ae=0),(!Me||0>Me||Me>je)&&(Me=je);for(var Ue="",Oe=Ae;Oe<Me;++Oe)Ue+=me(Ie[Oe]);return Ue}function le(Ie,Ae,Me){for(var je=Ie.slice(Ae,Me),Ue="",Oe=0;Oe<je.length;Oe+=2)Ue+=_StringfromCharCode(je[Oe]+256*je[Oe+1]);return Ue}function ue(Ie,Ae,Me){if(0!=Ie%1||0>Ie)throw new RangeError("offset is not uint");if(Ie+Ae>Me)throw new RangeError("Trying to access beyond buffer length")}function fe(Ie,Ae,Me,je,Ue,Oe){if(!M.isBuffer(Ie))throw new TypeError("\"buffer\" argument must be a Buffer instance");if(Ae>Ue||Ae<Oe)throw new RangeError("\"value\" argument is out of bounds");if(Me+je>Ie.length)throw new RangeError("Index out of range")}function ce(Ie,Ae,Me,je){if(Me+je>Ie.length)throw new RangeError("Index out of range");if(0>Me)throw new RangeError("Index out of range")}function pe(Ie,Ae,Me,je,Ue){return Ae=+Ae,Me>>>=0,Ue||ce(Ie,Ae,Me,4,3.4028234663852886e38,-3.4028234663852886e38),Be.write(Ie,Ae,Me,je,23,4),Me+4}function ge(Ie,Ae,Me,je,Ue){return Ae=+Ae,Me>>>=0,Ue||ce(Ie,Ae,Me,8,1.7976931348623157e308,-1.7976931348623157e308),Be.write(Ie,Ae,Me,je,52,8),Me+8}function he(Ie){if(Ie=be(Ie).replace(Ce,""),2>Ie.length)return"";for(;0!=Ie.length%4;)Ie+="=";return Ie}function be(Ie){return Ie.trim?Ie.trim():Ie.replace(/^\s+|\s+$/g,"")}function me(Ie){return 16>Ie?"0"+Ie.toString(16):Ie.toString(16)}function ye(Ie,Ae){Ae=Ae||Infinity;for(var Me,je=Ie.length,Ue=null,Oe=[],Te=0;Te<je;++Te){if(Me=Ie.charCodeAt(Te),55295<Me&&57344>Me){if(!Ue){if(56319<Me){-1<(Ae-=3)&&Oe.push(239,191,189);continue}else if(Te+1===je){-1<(Ae-=3)&&Oe.push(239,191,189);continue}Ue=Me;continue}if(56320>Me){-1<(Ae-=3)&&Oe.push(239,191,189),Ue=Me;continue}Me=(Ue-55296<<10|Me-56320)+65536}else Ue&&-1<(Ae-=3)&&Oe.push(239,191,189);if(Ue=null,128>Me){if(0>(Ae-=1))break;Oe.push(Me)}else if(2048>Me){if(0>(Ae-=2))break;Oe.push(192|Me>>6,128|63&Me)}else if(65536>Me){if(0>(Ae-=3))break;Oe.push(224|Me>>12,128|63&Me>>6,128|63&Me)}else if(1114112>Me){if(0>(Ae-=4))break;Oe.push(240|Me>>18,128|63&Me>>12,128|63&Me>>6,128|63&Me)}else throw new Error("Invalid code point")}return Oe}function we(Ie){for(var Ae=[],Me=0;Me<Ie.length;++Me)Ae.push(255&Ie.charCodeAt(Me));return Ae}function ve(Ie,Ae){for(var Me,je,Ue,Oe=[],Te=0;Te<Ie.length&&!(0>(Ae-=2));++Te)Me=Ie.charCodeAt(Te),je=Me>>8,Ue=Me%256,Oe.push(Ue),Oe.push(je);return Oe}function ke(Ie){return Se.toByteArray(he(Ie))}function xe(Ie,Ae,Me,je){for(var Ue=0;Ue<je&&!(Ue+Me>=Ae.length||Ue>=Ie.length);++Ue)Ae[Ue+Me]=Ie[Ue];return Ue}function Le(Ie){return Ie!==Ie}var Se=E("base64-js"),Be=E("ieee754");C.Buffer=M,C.SlowBuffer=function(Ie){return+Ie!=Ie&&(Ie=0),M.alloc(+Ie)},C.INSPECT_MAX_BYTES=50;var Ee=2147483647;C.kMaxLength=Ee,M.TYPED_ARRAY_SUPPORT=function(){try{var Ie=new Uint8Array(1);return Ie.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===Ie.foo()}catch(Ae){return!1}}(),M.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&M[Symbol.species]===M&&Object.defineProperty(M,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),M.poolSize=8192,M.from=function(Ie,Ae,Me){return U(Ie,Ae,Me)},M.prototype.__proto__=Uint8Array.prototype,M.__proto__=Uint8Array,M.alloc=function(Ie,Ae,Me){return T(Ie,Ae,Me)},M.allocUnsafe=function(Ie){return D(Ie)},M.allocUnsafeSlow=function(Ie){return D(Ie)},M.isBuffer=function(Ae){return null!=Ae&&!0===Ae._isBuffer},M.compare=function(Ae,Me){if(!M.isBuffer(Ae)||!M.isBuffer(Me))throw new TypeError("Arguments must be Buffers");if(Ae===Me)return 0;for(var je=Ae.length,Ue=Me.length,Oe=0,Te=_Mathmin(je,Ue);Oe<Te;++Oe)if(Ae[Oe]!==Me[Oe]){je=Ae[Oe],Ue=Me[Oe];break}return je<Ue?-1:Ue<je?1:0},M.isEncoding=function(Ae){switch((Ae+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1;}},M.concat=function(Ae,Me){if(!Array.isArray(Ae))throw new TypeError("\"list\" argument must be an Array of Buffers");if(0===Ae.length)return M.alloc(0);var je;if(Me===void 0)for(Me=0,je=0;je<Ae.length;++je)Me+=Ae[je].length;var Ue=M.allocUnsafe(Me),Oe=0;for(je=0;je<Ae.length;++je){var Te=Ae[je];if(!M.isBuffer(Te))throw new TypeError("\"list\" argument must be an Array of Buffers");Te.copy(Ue,Oe),Oe+=Te.length}return Ue},M.byteLength=Y,M.prototype._isBuffer=!0,M.prototype.swap16=function(){var Ae=this.length;if(0!=Ae%2)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Me=0;Me<Ae;Me+=2)K(this,Me,Me+1);return this},M.prototype.swap32=function(){var Ae=this.length;if(0!=Ae%4)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Me=0;Me<Ae;Me+=4)K(this,Me,Me+3),K(this,Me+1,Me+2);return this},M.prototype.swap64=function(){var Ae=this.length;if(0!=Ae%8)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Me=0;Me<Ae;Me+=8)K(this,Me,Me+7),K(this,Me+1,Me+6),K(this,Me+2,Me+5),K(this,Me+3,Me+4);return this},M.prototype.toString=function(){var Ae=this.length;return 0===Ae?"":0===arguments.length?oe(this,0,Ae):H.apply(this,arguments)},M.prototype.equals=function(Ae){if(!M.isBuffer(Ae))throw new TypeError("Argument must be a Buffer");return this===Ae||0===M.compare(this,Ae)},M.prototype.inspect=function(){var Ae="",Me=C.INSPECT_MAX_BYTES;return 0<this.length&&(Ae=this.toString("hex",0,Me).match(/.{2}/g).join(" "),this.length>Me&&(Ae+=" ... ")),"<Buffer "+Ae+">"},M.prototype.compare=function(Ae,Me,je,Ue,Oe){if(!M.isBuffer(Ae))throw new TypeError("Argument must be a Buffer");if(void 0===Me&&(Me=0),void 0===je&&(je=Ae?Ae.length:0),void 0===Ue&&(Ue=0),void 0===Oe&&(Oe=this.length),0>Me||je>Ae.length||0>Ue||Oe>this.length)throw new RangeError("out of range index");if(Ue>=Oe&&Me>=je)return 0;if(Ue>=Oe)return-1;if(Me>=je)return 1;if(Me>>>=0,je>>>=0,Ue>>>=0,Oe>>>=0,this===Ae)return 0;for(var Te=Oe-Ue,De=je-Me,qe=_Mathmin(Te,De),Pe=this.slice(Ue,Oe),We=Ae.slice(Me,je),Fe=0;Fe<qe;++Fe)if(Pe[Fe]!==We[Fe]){Te=Pe[Fe],De=We[Fe];break}return Te<De?-1:De<Te?1:0},M.prototype.includes=function(Ae,Me,je){return-1!==this.indexOf(Ae,Me,je)},M.prototype.indexOf=function(Ae,Me,je){return J(this,Ae,Me,je,!0)},M.prototype.lastIndexOf=function(Ae,Me,je){return J(this,Ae,Me,je,!1)},M.prototype.write=function(Ae,Me,je,Ue){if(void 0===Me)Ue="utf8",je=this.length,Me=0;else if(void 0===je&&"string"==typeof Me)Ue=Me,je=this.length,Me=0;else if(isFinite(Me))Me>>>=0,isFinite(je)?(je>>>=0,void 0===Ue&&(Ue="utf8")):(Ue=je,je=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Oe=this.length-Me;if((void 0===je||je>Oe)&&(je=Oe),0<Ae.length&&(0>je||0>Me)||Me>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ue||(Ue="utf8");for(var Te=!1;;)switch(Ue){case"hex":return $(this,Ae,Me,je);case"utf8":case"utf-8":return G(this,Ae,Me,je);case"ascii":return Q(this,Ae,Me,je);case"latin1":case"binary":return Z(this,Ae,Me,je);case"base64":return ee(this,Ae,Me,je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,Ae,Me,je);default:if(Te)throw new TypeError("Unknown encoding: "+Ue);Ue=(""+Ue).toLowerCase(),Te=!0;}},M.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Re=4096;M.prototype.slice=function(Ae,Me){var je=this.length;Ae=~~Ae,Me=void 0===Me?je:~~Me,0>Ae?(Ae+=je,0>Ae&&(Ae=0)):Ae>je&&(Ae=je),0>Me?(Me+=je,0>Me&&(Me=0)):Me>je&&(Me=je),Me<Ae&&(Me=Ae);var Ue=this.subarray(Ae,Me);return Ue.__proto__=M.prototype,Ue},M.prototype.readUIntLE=function(Ae,Me,je){Ae>>>=0,Me>>>=0,je||ue(Ae,Me,this.length);for(var Ue=this[Ae],Oe=1,Te=0;++Te<Me&&(Oe*=256);)Ue+=this[Ae+Te]*Oe;return Ue},M.prototype.readUIntBE=function(Ae,Me,je){Ae>>>=0,Me>>>=0,je||ue(Ae,Me,this.length);for(var Ue=this[Ae+--Me],Oe=1;0<Me&&(Oe*=256);)Ue+=this[Ae+--Me]*Oe;return Ue},M.prototype.readUInt8=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,1,this.length),this[Ae]},M.prototype.readUInt16LE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,2,this.length),this[Ae]|this[Ae+1]<<8},M.prototype.readUInt16BE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,2,this.length),this[Ae]<<8|this[Ae+1]},M.prototype.readUInt32LE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,4,this.length),(this[Ae]|this[Ae+1]<<8|this[Ae+2]<<16)+16777216*this[Ae+3]},M.prototype.readUInt32BE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,4,this.length),16777216*this[Ae]+(this[Ae+1]<<16|this[Ae+2]<<8|this[Ae+3])},M.prototype.readIntLE=function(Ae,Me,je){Ae>>>=0,Me>>>=0,je||ue(Ae,Me,this.length);for(var Ue=this[Ae],Oe=1,Te=0;++Te<Me&&(Oe*=256);)Ue+=this[Ae+Te]*Oe;return Oe*=128,Ue>=Oe&&(Ue-=_Mathpow(2,8*Me)),Ue},M.prototype.readIntBE=function(Ae,Me,je){Ae>>>=0,Me>>>=0,je||ue(Ae,Me,this.length);for(var Ue=Me,Oe=1,Te=this[Ae+--Ue];0<Ue&&(Oe*=256);)Te+=this[Ae+--Ue]*Oe;return Oe*=128,Te>=Oe&&(Te-=_Mathpow(2,8*Me)),Te},M.prototype.readInt8=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,1,this.length),128&this[Ae]?-1*(255-this[Ae]+1):this[Ae]},M.prototype.readInt16LE=function(Ae,Me){Ae>>>=0,Me||ue(Ae,2,this.length);var je=this[Ae]|this[Ae+1]<<8;return 32768&je?4294901760|je:je},M.prototype.readInt16BE=function(Ae,Me){Ae>>>=0,Me||ue(Ae,2,this.length);var je=this[Ae+1]|this[Ae]<<8;return 32768&je?4294901760|je:je},M.prototype.readInt32LE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,4,this.length),this[Ae]|this[Ae+1]<<8|this[Ae+2]<<16|this[Ae+3]<<24},M.prototype.readInt32BE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,4,this.length),this[Ae]<<24|this[Ae+1]<<16|this[Ae+2]<<8|this[Ae+3]},M.prototype.readFloatLE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,4,this.length),Be.read(this,Ae,!0,23,4)},M.prototype.readFloatBE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,4,this.length),Be.read(this,Ae,!1,23,4)},M.prototype.readDoubleLE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,8,this.length),Be.read(this,Ae,!0,52,8)},M.prototype.readDoubleBE=function(Ae,Me){return Ae>>>=0,Me||ue(Ae,8,this.length),Be.read(this,Ae,!1,52,8)},M.prototype.writeUIntLE=function(Ae,Me,je,Ue){if(Ae=+Ae,Me>>>=0,je>>>=0,!Ue){var Oe=_Mathpow(2,8*je)-1;fe(this,Ae,Me,je,Oe,0)}var Te=1,De=0;for(this[Me]=255&Ae;++De<je&&(Te*=256);)this[Me+De]=255&Ae/Te;return Me+je},M.prototype.writeUIntBE=function(Ae,Me,je,Ue){if(Ae=+Ae,Me>>>=0,je>>>=0,!Ue){var Oe=_Mathpow(2,8*je)-1;fe(this,Ae,Me,je,Oe,0)}var Te=je-1,De=1;for(this[Me+Te]=255&Ae;0<=--Te&&(De*=256);)this[Me+Te]=255&Ae/De;return Me+je},M.prototype.writeUInt8=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,1,255,0),this[Me]=255&Ae,Me+1},M.prototype.writeUInt16LE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,2,65535,0),this[Me]=255&Ae,this[Me+1]=Ae>>>8,Me+2},M.prototype.writeUInt16BE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,2,65535,0),this[Me]=Ae>>>8,this[Me+1]=255&Ae,Me+2},M.prototype.writeUInt32LE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,4,4294967295,0),this[Me+3]=Ae>>>24,this[Me+2]=Ae>>>16,this[Me+1]=Ae>>>8,this[Me]=255&Ae,Me+4},M.prototype.writeUInt32BE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,4,4294967295,0),this[Me]=Ae>>>24,this[Me+1]=Ae>>>16,this[Me+2]=Ae>>>8,this[Me+3]=255&Ae,Me+4},M.prototype.writeIntLE=function(Ae,Me,je,Ue){if(Ae=+Ae,Me>>>=0,!Ue){var Oe=_Mathpow(2,8*je-1);fe(this,Ae,Me,je,Oe-1,-Oe)}var Te=0,De=1,qe=0;for(this[Me]=255&Ae;++Te<je&&(De*=256);)0>Ae&&0==qe&&0!==this[Me+Te-1]&&(qe=1),this[Me+Te]=255&(Ae/De>>0)-qe;return Me+je},M.prototype.writeIntBE=function(Ae,Me,je,Ue){if(Ae=+Ae,Me>>>=0,!Ue){var Oe=_Mathpow(2,8*je-1);fe(this,Ae,Me,je,Oe-1,-Oe)}var Te=je-1,De=1,qe=0;for(this[Me+Te]=255&Ae;0<=--Te&&(De*=256);)0>Ae&&0==qe&&0!==this[Me+Te+1]&&(qe=1),this[Me+Te]=255&(Ae/De>>0)-qe;return Me+je},M.prototype.writeInt8=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,1,127,-128),0>Ae&&(Ae=255+Ae+1),this[Me]=255&Ae,Me+1},M.prototype.writeInt16LE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,2,32767,-32768),this[Me]=255&Ae,this[Me+1]=Ae>>>8,Me+2},M.prototype.writeInt16BE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,2,32767,-32768),this[Me]=Ae>>>8,this[Me+1]=255&Ae,Me+2},M.prototype.writeInt32LE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,4,2147483647,-2147483648),this[Me]=255&Ae,this[Me+1]=Ae>>>8,this[Me+2]=Ae>>>16,this[Me+3]=Ae>>>24,Me+4},M.prototype.writeInt32BE=function(Ae,Me,je){return Ae=+Ae,Me>>>=0,je||fe(this,Ae,Me,4,2147483647,-2147483648),0>Ae&&(Ae=4294967295+Ae+1),this[Me]=Ae>>>24,this[Me+1]=Ae>>>16,this[Me+2]=Ae>>>8,this[Me+3]=255&Ae,Me+4},M.prototype.writeFloatLE=function(Ae,Me,je){return pe(this,Ae,Me,!0,je)},M.prototype.writeFloatBE=function(Ae,Me,je){return pe(this,Ae,Me,!1,je)},M.prototype.writeDoubleLE=function(Ae,Me,je){return ge(this,Ae,Me,!0,je)},M.prototype.writeDoubleBE=function(Ae,Me,je){return ge(this,Ae,Me,!1,je)},M.prototype.copy=function(Ae,Me,je,Ue){if(je||(je=0),Ue||0===Ue||(Ue=this.length),Me>=Ae.length&&(Me=Ae.length),Me||(Me=0),0<Ue&&Ue<je&&(Ue=je),Ue===je)return 0;if(0===Ae.length||0===this.length)return 0;if(0>Me)throw new RangeError("targetStart out of bounds");if(0>je||je>=this.length)throw new RangeError("sourceStart out of bounds");if(0>Ue)throw new RangeError("sourceEnd out of bounds");Ue>this.length&&(Ue=this.length),Ae.length-Me<Ue-je&&(Ue=Ae.length-Me+je);var Te,Oe=Ue-je;if(this===Ae&&je<Me&&Me<Ue)for(Te=Oe-1;0<=Te;--Te)Ae[Te+Me]=this[Te+je];else if(1e3>Oe)for(Te=0;Te<Oe;++Te)Ae[Te+Me]=this[Te+je];else Uint8Array.prototype.set.call(Ae,this.subarray(je,je+Oe),Me);return Oe},M.prototype.fill=function(Ae,Me,je,Ue){if("string"==typeof Ae){if("string"==typeof Me?(Ue=Me,Me=0,je=this.length):"string"==typeof je&&(Ue=je,je=this.length),1===Ae.length){var Oe=Ae.charCodeAt(0);256>Oe&&(Ae=Oe)}if(void 0!==Ue&&"string"!=typeof Ue)throw new TypeError("encoding must be a string");if("string"==typeof Ue&&!M.isEncoding(Ue))throw new TypeError("Unknown encoding: "+Ue)}else"number"==typeof Ae&&(Ae&=255);if(0>Me||this.length<Me||this.length<je)throw new RangeError("Out of range index");if(je<=Me)return this;Me>>>=0,je=je===void 0?this.length:je>>>0,Ae||(Ae=0);var Te;if("number"==typeof Ae)for(Te=Me;Te<je;++Te)this[Te]=Ae;else{var De=M.isBuffer(Ae)?Ae:new M(Ae,Ue),qe=De.length;for(Te=0;Te<je-Me;++Te)this[Te+Me]=De[Te%qe]}return this};var Ce=/[^+/0-9A-Za-z-_]/g},{"base64-js":2,ieee754:10}],6:[function(E,R,C){(function(I){function K(J){return Object.prototype.toString.call(J)}C.isArray=function(J){return Array.isArray?Array.isArray(J):"[object Array]"===K(J)},C.isBoolean=function(J){return"boolean"==typeof J},C.isNull=function(J){return null===J},C.isNullOrUndefined=function(J){return null==J},C.isNumber=function(J){return"number"==typeof J},C.isString=function(J){return"string"==typeof J},C.isSymbol=function(J){return"symbol"==typeof J},C.isUndefined=function(J){return void 0===J},C.isRegExp=function(J){return"[object RegExp]"===K(J)},C.isObject=function(J){return"object"==typeof J&&null!==J},C.isDate=function(J){return"[object Date]"===K(J)},C.isError=function(J){return"[object Error]"===K(J)||J instanceof Error},C.isFunction=function(J){return"function"==typeof J},C.isPrimitive=function(J){return null===J||"boolean"==typeof J||"number"==typeof J||"string"==typeof J||"symbol"==typeof J||"undefined"==typeof J},C.isBuffer=I.isBuffer}).call(this,{isBuffer:E("../../is-buffer/index.js")})},{"../../is-buffer/index.js":12}],7:[function(E,R,C){(function(I){function T(){try{return C.storage.debug}catch(q){}if("undefined"!=typeof I&&"env"in I)return I.env.DEBUG}C=R.exports=E("./debug"),C.log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},C.formatArgs=function(q){var P=this.useColors;if(q[0]=(P?"%c":"")+this.namespace+(P?" %c":" ")+q[0]+(P?"%c ":" ")+"+"+C.humanize(this.diff),!!P){var W="color: "+this.color;q.splice(1,0,W,"color: inherit");var F=0,z=0;q[0].replace(/%[a-zA-Z%]/g,function(N){"%%"===N||(F++,"%c"===N&&(z=F))}),q.splice(z,0,W)}},C.save=function(q){try{null==q?C.storage.removeItem("debug"):C.storage.debug=q}catch(P){}},C.load=T,C.useColors=function(){return"undefined"!=typeof window&&window&&"undefined"!=typeof window.process&&"renderer"===window.process.type||"undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},C.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(q){}}(),C.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],C.formatters.j=function(q){try{return JSON.stringify(q)}catch(P){return"[UnexpectedJSONParseError]: "+P.message}},C.enable(T())}).call(this,E("_process"))},{"./debug":8,_process:16}],8:[function(E,R,C){function I(q){var W,P=0;for(W in q)P=(P<<5)-P+q.charCodeAt(W),P|=0;return C.colors[_Mathabs(P)%C.colors.length]}function A(q){function P(){if(P.enabled){var W=P,F=+new Date,z=F-(D||F);W.diff=z,W.prev=D,W.curr=F,D=F;for(var N=Array(arguments.length),Y=0;Y<N.length;Y++)N[Y]=arguments[Y];N[0]=C.coerce(N[0]),"string"!=typeof N[0]&&N.unshift("%O");var H=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,function(J,X){if("%%"===J)return J;H++;var $=C.formatters[X];if("function"==typeof $){var G=N[H];J=$.call(W,G),N.splice(H,1),H--}return J}),C.formatArgs.call(W,N);var K=P.log||C.log||console.log.bind(console);K.apply(W,N)}}return P.namespace=q,P.enabled=C.enabled(q),P.useColors=C.useColors(),P.color=I(q),"function"==typeof C.init&&C.init(P),P}C=R.exports=A.debug=A["default"]=A,C.coerce=function(q){return q instanceof Error?q.stack||q.message:q},C.disable=function(){C.enable("")},C.enable=function(q){C.save(q),C.names=[],C.skips=[];for(var P=(q||"").split(/[\s,]+/),W=P.length,F=0;F<W;F++)P[F]&&(q=P[F].replace(/\*/g,".*?"),"-"===q[0]?C.skips.push(new RegExp("^"+q.substr(1)+"$")):C.names.push(new RegExp("^"+q+"$")))},C.enabled=function(q){var P,W;for(P=0,W=C.skips.length;P<W;P++)if(C.skips[P].test(q))return!1;for(P=0,W=C.names.length;P<W;P++)if(C.names[P].test(q))return!0;return!1},C.humanize=E("ms"),C.names=[],C.skips=[],C.formatters={};var D},{ms:14}],9:[function(E,R){function I(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function A(T){return"function"==typeof T}function M(T){return"number"==typeof T}function U(T){return"object"==typeof T&&null!==T}function O(T){return void 0===T}R.exports=I,I.EventEmitter=I,I.prototype._events=void 0,I.prototype._maxListeners=void 0,I.defaultMaxListeners=10,I.prototype.setMaxListeners=function(T){if(!M(T)||0>T||isNaN(T))throw TypeError("n must be a positive number");return this._maxListeners=T,this},I.prototype.emit=function(T){var D,q,P,W,F,z;if(this._events||(this._events={}),"error"===T&&(!this._events.error||U(this._events.error)&&!this._events.error.length))if(D=arguments[1],D instanceof Error)throw D;else{var N=new Error("Uncaught, unspecified \"error\" event. ("+D+")");throw N.context=D,N}if(q=this._events[T],O(q))return!1;if(A(q))switch(arguments.length){case 1:q.call(this);break;case 2:q.call(this,arguments[1]);break;case 3:q.call(this,arguments[1],arguments[2]);break;default:W=Array.prototype.slice.call(arguments,1),q.apply(this,W);}else if(U(q))for(W=Array.prototype.slice.call(arguments,1),z=q.slice(),P=z.length,F=0;F<P;F++)z[F].apply(this,W);return!0},I.prototype.addListener=function(T,D){var q;if(!A(D))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",T,A(D.listener)?D.listener:D),this._events[T]?U(this._events[T])?this._events[T].push(D):this._events[T]=[this._events[T],D]:this._events[T]=D,U(this._events[T])&&!this._events[T].warned&&(q=O(this._maxListeners)?I.defaultMaxListeners:this._maxListeners,q&&0<q&&this._events[T].length>q&&(this._events[T].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[T].length),"function"==typeof console.trace&&console.trace())),this},I.prototype.on=I.prototype.addListener,I.prototype.once=function(T,D){function q(){this.removeListener(T,q),P||(P=!0,D.apply(this,arguments))}if(!A(D))throw TypeError("listener must be a function");var P=!1;return q.listener=D,this.on(T,q),this},I.prototype.removeListener=function(T,D){var q,P,W,F;if(!A(D))throw TypeError("listener must be a function");if(!this._events||!this._events[T])return this;if(q=this._events[T],W=q.length,P=-1,q===D||A(q.listener)&&q.listener===D)delete this._events[T],this._events.removeListener&&this.emit("removeListener",T,D);else if(U(q)){for(F=W;0<F--;)if(q[F]===D||q[F].listener&&q[F].listener===D){P=F;break}if(0>P)return this;1===q.length?(q.length=0,delete this._events[T]):q.splice(P,1),this._events.removeListener&&this.emit("removeListener",T,D)}return this},I.prototype.removeAllListeners=function(T){var D,q;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[T]&&delete this._events[T],this;if(0===arguments.length){for(D in this._events)"removeListener"!==D&&this.removeAllListeners(D);return this.removeAllListeners("removeListener"),this._events={},this}if(q=this._events[T],A(q))this.removeListener(T,q);else if(q)for(;q.length;)this.removeListener(T,q[q.length-1]);return delete this._events[T],this},I.prototype.listeners=function(T){var D;return D=this._events&&this._events[T]?A(this._events[T])?[this._events[T]]:this._events[T].slice():[],D},I.prototype.listenerCount=function(T){if(this._events){var D=this._events[T];if(A(D))return 1;if(D)return D.length}return 0},I.listenerCount=function(T,D){return T.listenerCount(D)}},{}],10:[function(E,R,C){C.read=function(I,A,M,U,O){var T,D,q=8*O-U-1,P=(1<<q)-1,W=P>>1,F=-7,z=M?O-1:0,N=M?-1:1,Y=I[A+z];for(z+=N,T=Y&(1<<-F)-1,Y>>=-F,F+=q;0<F;T=256*T+I[A+z],z+=N,F-=8);for(D=T&(1<<-F)-1,T>>=-F,F+=U;0<F;D=256*D+I[A+z],z+=N,F-=8);if(0===T)T=1-W;else{if(T===P)return D?NaN:(Y?-1:1)*Infinity;D+=_Mathpow(2,U),T-=W}return(Y?-1:1)*D*_Mathpow(2,T-U)},C.write=function(I,A,M,U,O,T){var D,q,P,W=8*T-O-1,F=(1<<W)-1,z=F>>1,N=23===O?5.960464477539063e-8-6.617444900424222e-24:0,Y=U?0:T-1,H=U?1:-1,K=0>A||0===A&&0>1/A?1:0;for(A=_Mathabs(A),isNaN(A)||A===Infinity?(q=isNaN(A)?1:0,D=F):(D=_Mathfloor(Math.log(A)/Math.LN2),1>A*(P=_Mathpow(2,-D))&&(D--,P*=2),A+=1<=D+z?N/P:N*_Mathpow(2,1-z),2<=A*P&&(D++,P/=2),D+z>=F?(q=0,D=F):1<=D+z?(q=(A*P-1)*_Mathpow(2,O),D+=z):(q=A*_Mathpow(2,z-1)*_Mathpow(2,O),D=0));8<=O;I[M+Y]=255&q,Y+=H,q/=256,O-=8);for(D=D<<O|q,W+=O;0<W;I[M+Y]=255&D,Y+=H,D/=256,W-=8);I[M+Y-H]|=128*K}},{}],11:[function(E,R){R.exports="function"==typeof Object.create?function(A,M){A.super_=M,A.prototype=Object.create(M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}})}:function(A,M){A.super_=M;var U=function(){};U.prototype=M.prototype,A.prototype=new U,A.prototype.constructor=A}},{}],12:[function(E,R){function I(M){return!!M.constructor&&"function"==typeof M.constructor.isBuffer&&M.constructor.isBuffer(M)}function A(M){return"function"==typeof M.readFloatLE&&"function"==typeof M.slice&&I(M.slice(0,0))}R.exports=function(M){return null!=M&&(I(M)||A(M)||!!M._isBuffer)}},{}],13:[function(E,R){var I={}.toString;R.exports=Array.isArray||function(A){return"[object Array]"==I.call(A)}},{}],14:[function(E,R){function I(W){if(W+="",!(1e4<W.length)){var F=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(W);if(F){var z=parseFloat(F[1]),N=(F[2]||"ms").toLowerCase();return"years"===N||"year"===N||"yrs"===N||"yr"===N||"y"===N?z*P:"days"===N||"day"===N||"d"===N?z*q:"hours"===N||"hour"===N||"hrs"===N||"hr"===N||"h"===N?z*D:"minutes"===N||"minute"===N||"mins"===N||"min"===N||"m"===N?z*T:"seconds"===N||"second"===N||"secs"===N||"sec"===N||"s"===N?z*O:"milliseconds"===N||"millisecond"===N||"msecs"===N||"msec"===N||"ms"===N?z:void 0}}}function A(W){return W>=q?_Mathround(W/q)+"d":W>=D?_Mathround(W/D)+"h":W>=T?_Mathround(W/T)+"m":W>=O?_Mathround(W/O)+"s":W+"ms"}function M(W){return U(W,q,"day")||U(W,D,"hour")||U(W,T,"minute")||U(W,O,"second")||W+" ms"}function U(W,F,z){return W<F?void 0:W<1.5*F?_Mathfloor(W/F)+" "+z:Math.ceil(W/F)+" "+z+"s"}var O=1e3,T=60*O,D=60*T,q=24*D,P=365.25*q;R.exports=function(W,F){F=F||{};var z=typeof W;if("string"==z&&0<W.length)return I(W);if("number"==z&&!1===isNaN(W))return F.long?M(W):A(W);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(W))}},{}],15:[function(E,R){(function(I){"use strict";R.exports=I.version&&0!==I.version.indexOf("v0.")&&(0!==I.version.indexOf("v1.")||0===I.version.indexOf("v1.8."))?I.nextTick:function(M,U,O,T){if("function"!=typeof M)throw new TypeError("\"callback\" argument must be a function");var D=arguments.length,q,P;switch(D){case 0:case 1:return I.nextTick(M);case 2:return I.nextTick(function(){M.call(null,U)});case 3:return I.nextTick(function(){M.call(null,U,O)});case 4:return I.nextTick(function(){M.call(null,U,O,T)});default:for(q=Array(D-1),P=0;P<q.length;)q[P++]=arguments[P];return I.nextTick(function(){M.apply(null,q)});}}}).call(this,E("_process"))},{_process:16}],16:[function(E,R){function I(){throw new Error("setTimeout has not been defined")}function A(){throw new Error("clearTimeout has not been defined")}function M(K){if(W===setTimeout)return setTimeout(K,0);if((W===I||!W)&&setTimeout)return W=setTimeout,setTimeout(K,0);try{return W(K,0)}catch(J){try{return W.call(null,K,0)}catch(X){return W.call(this,K,0)}}}function U(K){if(F===clearTimeout)return clearTimeout(K);if((F===A||!F)&&clearTimeout)return F=clearTimeout,clearTimeout(K);try{return F(K)}catch(J){try{return F.call(null,K)}catch(X){return F.call(this,K)}}}function O(){N&&Y&&(N=!1,Y.length?z=Y.concat(z):H=-1,z.length&&T())}function T(){if(!N){var K=M(O);N=!0;for(var J=z.length;J;){for(Y=z,z=[];++H<J;)Y&&Y[H].run();H=-1,J=z.length}Y=null,N=!1,U(K)}}function D(K,J){this.fun=K,this.array=J}function q(){}var P=R.exports={},W,F;(function(){try{W="function"==typeof setTimeout?setTimeout:I}catch(K){W=I}try{F="function"==typeof clearTimeout?clearTimeout:A}catch(K){F=A}})();var z=[],N=!1,Y,H=-1;P.nextTick=function(K){var J=Array(arguments.length-1);if(1<arguments.length)for(var X=1;X<arguments.length;X++)J[X-1]=arguments[X];z.push(new D(K,J)),1!==z.length||N||M(T)},D.prototype.run=function(){this.fun.apply(null,this.array)},P.title="browser",P.browser=!0,P.env={},P.argv=[],P.version="",P.versions={},P.on=q,P.addListener=q,P.once=q,P.off=q,P.removeListener=q,P.removeAllListeners=q,P.emit=q,P.binding=function(){throw new Error("process.binding is not supported")},P.cwd=function(){return"/"},P.chdir=function(){throw new Error("process.chdir is not supported")},P.umask=function(){return 0}},{}],17:[function(E,R){(function(I,A,M){"use strict";var T=A.crypto||A.msCrypto;R.exports=T&&T.getRandomValues?function(D,q){if(65536<D)throw new Error("requested too many random bytes");var P=new A.Uint8Array(D);0<D&&T.getRandomValues(P);var W=new M(P.buffer);return"function"==typeof q?I.nextTick(function(){q(null,W)}):W}:function(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}).call(this,E("_process"),"undefined"==typeof global?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:global,E("buffer").Buffer)},{_process:16,buffer:5}],18:[function(E,R){"use strict";function I(N){return this instanceof I?void(q.call(this,N),P.call(this,N),N&&!1===N.readable&&(this.readable=!1),N&&!1===N.writable&&(this.writable=!1),this.allowHalfOpen=!0,N&&!1===N.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",A)):new I(N)}function A(){this.allowHalfOpen||this._writableState.ended||T(M,this)}function M(N){N.end()}var O=Object.keys||function(N){var Y=[];for(var H in N)Y.push(H);return Y};R.exports=I;var T=E("process-nextick-args"),D=E("core-util-is");D.inherits=E("inherits");var q=E("./_stream_readable"),P=E("./_stream_writable");D.inherits(I,q);for(var z,W=O(P.prototype),F=0;F<W.length;F++)z=W[F],I.prototype[z]||(I.prototype[z]=P.prototype[z])},{"./_stream_readable":20,"./_stream_writable":22,"core-util-is":6,inherits:11,"process-nextick-args":15}],19:[function(E,R){"use strict";function I(U){return this instanceof I?void A.call(this,U):new I(U)}R.exports=I;var A=E("./_stream_transform"),M=E("core-util-is");M.inherits=E("inherits"),M.inherits(I,A),I.prototype._transform=function(U,O,T){T(null,U)}},{"./_stream_transform":21,"core-util-is":6,inherits:11}],20:[function(E,R){(function(I){"use strict";function A(ve,ke,xe){return"function"==typeof ve.prependListener?ve.prependListener(ke,xe):void(ve._events&&ve._events[ke]?ae(ve._events[ke])?ve._events[ke].unshift(xe):ve._events[ke]=[xe,ve._events[ke]]:ve.on(ke,xe))}function M(ve,ke){de=de||E("./_stream_duplex"),ve=ve||{},this.objectMode=!!ve.objectMode,ke instanceof de&&(this.objectMode=this.objectMode||!!ve.readableObjectMode);var xe=ve.highWaterMark,Le=this.objectMode?16:16384;this.highWaterMark=xe||0===xe?xe:Le,this.highWaterMark=~~this.highWaterMark,this.buffer=new me,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=ve.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ve.encoding&&(!ye&&(ye=E("string_decoder/").StringDecoder),this.decoder=new ye(ve.encoding),this.encoding=ve.encoding)}function U(ve){return de=de||E("./_stream_duplex"),this instanceof U?void(this._readableState=new M(ve,this),this.readable=!0,ve&&"function"==typeof ve.read&&(this._read=ve.read),fe.call(this)):new U(ve)}function O(ve,ke,xe,Le,Se){var Be=P(ke,xe);if(Be)ve.emit("error",Be);else if(null===xe)ke.reading=!1,W(ve,ke);else if(!(ke.objectMode||xe&&0<xe.length))Se||(ke.reading=!1);else if(ke.ended&&!Se){var Ee=new Error("stream.push() after EOF");ve.emit("error",Ee)}else if(ke.endEmitted&&Se){var Re=new Error("stream.unshift() after end event");ve.emit("error",Re)}else{var Ce;!ke.decoder||Se||Le||(xe=ke.decoder.write(xe),Ce=!ke.objectMode&&0===xe.length),Se||(ke.reading=!1),Ce||(ke.flowing&&0===ke.length&&!ke.sync?(ve.emit("data",xe),ve.read(0)):(ke.length+=ke.objectMode?1:xe.length,Se?ke.buffer.unshift(xe):ke.buffer.push(xe),ke.needReadable&&F(ve))),N(ve,ke)}return T(ke)}function T(ve){return!ve.ended&&(ve.needReadable||ve.length<ve.highWaterMark||0===ve.length)}function D(ve){return ve>=we?ve=we:(ve--,ve|=ve>>>1,ve|=ve>>>2,ve|=ve>>>4,ve|=ve>>>8,ve|=ve>>>16,ve++),ve}function q(ve,ke){return 0>=ve||0===ke.length&&ke.ended?0:ke.objectMode?1:ve===ve?(ve>ke.highWaterMark&&(ke.highWaterMark=D(ve)),ve<=ke.length?ve:ke.ended?ke.length:(ke.needReadable=!0,0)):ke.flowing&&ke.length?ke.buffer.head.data.length:ke.length}function P(ve,ke){var xe=null;return ce.isBuffer(ke)||"string"==typeof ke||null===ke||void 0===ke||ve.objectMode||(xe=new TypeError("Invalid non-string/buffer chunk")),xe}function W(ve,ke){if(!ke.ended){if(ke.decoder){var xe=ke.decoder.end();xe&&xe.length&&(ke.buffer.push(xe),ke.length+=ke.objectMode?1:xe.length)}ke.ended=!0,F(ve)}}function F(ve){var ke=ve._readableState;ke.needReadable=!1,ke.emittedReadable||(be("emitReadable",ke.flowing),ke.emittedReadable=!0,ke.sync?ie(z,ve):z(ve))}function z(ve){be("emit readable"),ve.emit("readable"),$(ve)}function N(ve,ke){ke.readingMore||(ke.readingMore=!0,ie(Y,ve,ke))}function Y(ve,ke){for(var xe=ke.length;!ke.reading&&!ke.flowing&&!ke.ended&&ke.length<ke.highWaterMark&&(be("maybeReadMore read 0"),ve.read(0),xe!==ke.length);)xe=ke.length;ke.readingMore=!1}function H(ve){return function(){var ke=ve._readableState;be("pipeOnDrain",ke.awaitDrain),ke.awaitDrain&&ke.awaitDrain--,0===ke.awaitDrain&&ue(ve,"data")&&(ke.flowing=!0,$(ve))}}function K(ve){be("readable nexttick read 0"),ve.read(0)}function J(ve,ke){ke.resumeScheduled||(ke.resumeScheduled=!0,ie(X,ve,ke))}function X(ve,ke){ke.reading||(be("resume read 0"),ve.read(0)),ke.resumeScheduled=!1,ke.awaitDrain=0,ve.emit("resume"),$(ve),ke.flowing&&!ke.reading&&ve.read(0)}function $(ve){var ke=ve._readableState;for(be("flow",ke.flowing);ke.flowing&&null!==ve.read(););}function G(ve,ke){if(0===ke.length)return null;var xe;return ke.objectMode?xe=ke.buffer.shift():!ve||ve>=ke.length?(xe=ke.decoder?ke.buffer.join(""):1===ke.buffer.length?ke.buffer.head.data:ke.buffer.concat(ke.length),ke.buffer.clear()):xe=Q(ve,ke.buffer,ke.decoder),xe}function Q(ve,ke,xe){var Le;return ve<ke.head.data.length?(Le=ke.head.data.slice(0,ve),ke.head.data=ke.head.data.slice(ve)):ve===ke.head.data.length?Le=ke.shift():Le=xe?Z(ve,ke):ee(ve,ke),Le}function Z(ve,ke){var xe=ke.head,Le=1,Se=xe.data;for(ve-=Se.length;xe=xe.next;){var Be=xe.data,Ee=ve>Be.length?Be.length:ve;if(Se+=Ee===Be.length?Be:Be.slice(0,ve),ve-=Ee,0===ve){Ee===Be.length?(++Le,ke.head=xe.next?xe.next:ke.tail=null):(ke.head=xe,xe.data=Be.slice(Ee));break}++Le}return ke.length-=Le,Se}function ee(ve,ke){var xe=pe.allocUnsafe(ve),Le=ke.head,Se=1;for(Le.data.copy(xe),ve-=Le.data.length;Le=Le.next;){var Be=Le.data,Ee=ve>Be.length?Be.length:ve;if(Be.copy(xe,xe.length-ve,0,Ee),ve-=Ee,0===ve){Ee===Be.length?(++Se,ke.head=Le.next?Le.next:ke.tail=null):(ke.head=Le,Le.data=Be.slice(Ee));break}++Se}return ke.length-=Se,xe}function te(ve){var ke=ve._readableState;if(0<ke.length)throw new Error("\"endReadable()\" called on non-empty stream");ke.endEmitted||(ke.ended=!0,ie(ne,ke,ve))}function ne(ve,ke){ve.endEmitted||0!==ve.length||(ve.endEmitted=!0,ke.readable=!1,ke.emit("end"))}function oe(ve,ke){for(var xe=0,Le=ve.length;xe<Le;xe++)ke(ve[xe],xe)}function se(ve,ke){for(var xe=0,Le=ve.length;xe<Le;xe++)if(ve[xe]===ke)return xe;return-1}R.exports=U;var ie=E("process-nextick-args"),ae=E("isarray"),de;U.ReadableState=M;var le=E("events").EventEmitter,ue=function(ve,ke){return ve.listeners(ke).length},fe;(function(){try{fe=E("stream")}catch(ve){}finally{fe||(fe=E("events").EventEmitter)}})();var ce=E("buffer").Buffer,pe=E("buffer-shims"),ge=E("core-util-is");ge.inherits=E("inherits");var he=E("util"),be;be=he&&he.debuglog?he.debuglog("stream"):function(){};var me=E("./internal/streams/BufferList"),ye;ge.inherits(U,fe),U.prototype.push=function(ve,ke){var xe=this._readableState;return xe.objectMode||"string"!=typeof ve||(ke=ke||xe.defaultEncoding,ke!==xe.encoding&&(ve=pe.from(ve,ke),ke="")),O(this,xe,ve,ke,!1)},U.prototype.unshift=function(ve){var ke=this._readableState;return O(this,ke,ve,"",!0)},U.prototype.isPaused=function(){return!1===this._readableState.flowing},U.prototype.setEncoding=function(ve){return ye||(ye=E("string_decoder/").StringDecoder),this._readableState.decoder=new ye(ve),this._readableState.encoding=ve,this};var we=8388608;U.prototype.read=function(ve){be("read",ve),ve=parseInt(ve,10);var ke=this._readableState,xe=ve;if(0!==ve&&(ke.emittedReadable=!1),0===ve&&ke.needReadable&&(ke.length>=ke.highWaterMark||ke.ended))return be("read: emitReadable",ke.length,ke.ended),0===ke.length&&ke.ended?te(this):F(this),null;if(ve=q(ve,ke),0===ve&&ke.ended)return 0===ke.length&&te(this),null;var Le=ke.needReadable;be("need readable",Le),(0===ke.length||ke.length-ve<ke.highWaterMark)&&(Le=!0,be("length less than watermark",Le)),ke.ended||ke.reading?(Le=!1,be("reading or ended",Le)):Le&&(be("do read"),ke.reading=!0,ke.sync=!0,0===ke.length&&(ke.needReadable=!0),this._read(ke.highWaterMark),ke.sync=!1,!ke.reading&&(ve=q(xe,ke)));var Se;return Se=0<ve?G(ve,ke):null,null===Se?(ke.needReadable=!0,ve=0):ke.length-=ve,0===ke.length&&(!ke.ended&&(ke.needReadable=!0),xe!==ve&&ke.ended&&te(this)),null!==Se&&this.emit("data",Se),Se},U.prototype._read=function(){this.emit("error",new Error("_read() is not implemented"))},U.prototype.pipe=function(ve,ke){function xe(qe){be("onunpipe"),qe===Ae&&Se()}function Le(){be("onend"),ve.end()}function Se(){be("cleanup"),ve.removeListener("close",Re),ve.removeListener("finish",Ce),ve.removeListener("drain",Oe),ve.removeListener("error",Ee),ve.removeListener("unpipe",xe),Ae.removeListener("end",Le),Ae.removeListener("end",Se),Ae.removeListener("data",Be),Te=!0,Me.awaitDrain&&(!ve._writableState||ve._writableState.needDrain)&&Oe()}function Be(qe){be("ondata"),De=!1;var Pe=ve.write(qe);!1!==Pe||De||((1===Me.pipesCount&&Me.pipes===ve||1<Me.pipesCount&&-1!==se(Me.pipes,ve))&&!Te&&(be("false write response, pause",Ae._readableState.awaitDrain),Ae._readableState.awaitDrain++,De=!0),Ae.pause())}function Ee(qe){be("onerror",qe),Ie(),ve.removeListener("error",Ee),0===ue(ve,"error")&&ve.emit("error",qe)}function Re(){ve.removeListener("finish",Ce),Ie()}function Ce(){be("onfinish"),ve.removeListener("close",Re),Ie()}function Ie(){be("unpipe"),Ae.unpipe(ve)}var Ae=this,Me=this._readableState;switch(Me.pipesCount){case 0:Me.pipes=ve;break;case 1:Me.pipes=[Me.pipes,ve];break;default:Me.pipes.push(ve);}Me.pipesCount+=1,be("pipe count=%d opts=%j",Me.pipesCount,ke);var je=(!ke||!1!==ke.end)&&ve!==I.stdout&&ve!==I.stderr,Ue=je?Le:Se;Me.endEmitted?ie(Ue):Ae.once("end",Ue),ve.on("unpipe",xe);var Oe=H(Ae);ve.on("drain",Oe);var Te=!1,De=!1;return Ae.on("data",Be),A(ve,"error",Ee),ve.once("close",Re),ve.once("finish",Ce),ve.emit("pipe",Ae),Me.flowing||(be("pipe resume"),Ae.resume()),ve},U.prototype.unpipe=function(ve){var ke=this._readableState;if(0===ke.pipesCount)return this;if(1===ke.pipesCount)return ve&&ve!==ke.pipes?this:(ve||(ve=ke.pipes),ke.pipes=null,ke.pipesCount=0,ke.flowing=!1,ve&&ve.emit("unpipe",this),this);if(!ve){var xe=ke.pipes,Le=ke.pipesCount;ke.pipes=null,ke.pipesCount=0,ke.flowing=!1;for(var Se=0;Se<Le;Se++)xe[Se].emit("unpipe",this);return this}var Be=se(ke.pipes,ve);return-1===Be?this:(ke.pipes.splice(Be,1),ke.pipesCount-=1,1===ke.pipesCount&&(ke.pipes=ke.pipes[0]),ve.emit("unpipe",this),this)},U.prototype.on=function(ve,ke){var xe=fe.prototype.on.call(this,ve,ke);if("data"===ve)!1!==this._readableState.flowing&&this.resume();else if("readable"===ve){var Le=this._readableState;Le.endEmitted||Le.readableListening||(Le.readableListening=Le.needReadable=!0,Le.emittedReadable=!1,Le.reading?Le.length&&F(this,Le):ie(K,this))}return xe},U.prototype.addListener=U.prototype.on,U.prototype.resume=function(){var ve=this._readableState;return ve.flowing||(be("resume"),ve.flowing=!0,J(this,ve)),this},U.prototype.pause=function(){return be("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(be("pause"),this._readableState.flowing=!1,this.emit("pause")),this},U.prototype.wrap=function(ve){var ke=this._readableState,xe=!1,Le=this;for(var Se in ve.on("end",function(){if(be("wrapped end"),ke.decoder&&!ke.ended){var Ee=ke.decoder.end();Ee&&Ee.length&&Le.push(Ee)}Le.push(null)}),ve.on("data",function(Ee){if((be("wrapped data"),ke.decoder&&(Ee=ke.decoder.write(Ee)),!(ke.objectMode&&(null===Ee||void 0===Ee)))&&(ke.objectMode||Ee&&Ee.length)){var Re=Le.push(Ee);Re||(xe=!0,ve.pause())}}),ve)void 0===this[Se]&&"function"==typeof ve[Se]&&(this[Se]=function(Ee){return function(){return ve[Ee].apply(ve,arguments)}}(Se));return oe(["error","close","destroy","pause","resume"],function(Ee){ve.on(Ee,Le.emit.bind(Le,Ee))}),Le._read=function(Ee){be("wrapped _read",Ee),xe&&(xe=!1,ve.resume())},Le},U._fromList=G}).call(this,E("_process"))},{"./_stream_duplex":18,"./internal/streams/BufferList":23,_process:16,buffer:5,"buffer-shims":4,"core-util-is":6,events:9,inherits:11,isarray:13,"process-nextick-args":15,"string_decoder/":26,util:3}],21:[function(E,R){"use strict";function I(D){this.afterTransform=function(q,P){return A(D,q,P)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function A(D,q,P){var W=D._transformState;W.transforming=!1;var F=W.writecb;if(!F)return D.emit("error",new Error("no writecb in Transform class"));W.writechunk=null,W.writecb=null,null!==P&&P!==void 0&&D.push(P),F(q);var z=D._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&D._read(z.highWaterMark)}function M(D){if(!(this instanceof M))return new M(D);O.call(this,D),this._transformState=new I(this);var q=this;this._readableState.needReadable=!0,this._readableState.sync=!1,D&&("function"==typeof D.transform&&(this._transform=D.transform),"function"==typeof D.flush&&(this._flush=D.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(P,W){U(q,P,W)}):U(q)})}function U(D,q,P){if(q)return D.emit("error",q);null!==P&&P!==void 0&&D.push(P);var W=D._writableState,F=D._transformState;if(W.length)throw new Error("Calling transform done when ws.length != 0");if(F.transforming)throw new Error("Calling transform done when still transforming");return D.push(null)}R.exports=M;var O=E("./_stream_duplex"),T=E("core-util-is");T.inherits=E("inherits"),T.inherits(M,O),M.prototype.push=function(D,q){return this._transformState.needTransform=!1,O.prototype.push.call(this,D,q)},M.prototype._transform=function(){throw new Error("_transform() is not implemented")},M.prototype._write=function(D,q,P){var W=this._transformState;if(W.writecb=P,W.writechunk=D,W.writeencoding=q,!W.transforming){var F=this._readableState;(W.needTransform||F.needReadable||F.length<F.highWaterMark)&&this._read(F.highWaterMark)}},M.prototype._read=function(){var q=this._transformState;null!==q.writechunk&&q.writecb&&!q.transforming?(q.transforming=!0,this._transform(q.writechunk,q.writeencoding,q.afterTransform)):q.needTransform=!0}},{"./_stream_duplex":18,"core-util-is":6,inherits:11}],22:[function(E,R){(function(I){"use strict";function A(){}function M(le,ue,fe){this.chunk=le,this.encoding=ue,this.callback=fe,this.next=null}function U(le,ue){te=te||E("./_stream_duplex"),le=le||{},this.objectMode=!!le.objectMode,ue instanceof te&&(this.objectMode=this.objectMode||!!le.writableObjectMode);var fe=le.highWaterMark,ce=this.objectMode?16:16384;this.highWaterMark=fe||0===fe?fe:ce,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var pe=!1===le.decodeStrings;this.decodeStrings=!pe,this.defaultEncoding=le.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ge){N(ue,ge)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Q(this)}function O(le){return te=te||E("./_stream_duplex"),de.call(O,this)||this instanceof te?void(this._writableState=new U(le,this),this.writable=!0,le&&("function"==typeof le.write&&(this._write=le.write),"function"==typeof le.writev&&(this._writev=le.writev)),se.call(this)):new O(le)}function T(le,ue){var fe=new Error("write after end");le.emit("error",fe),Z(ue,fe)}function D(le,ue,fe,ce){var pe=!0,ge=!1;return null===fe?ge=new TypeError("May not write null values to stream"):!ie.isBuffer(fe)&&"string"!=typeof fe&&void 0!==fe&&!ue.objectMode&&(ge=new TypeError("Invalid non-string/buffer chunk")),ge&&(le.emit("error",ge),Z(ce,ge),pe=!1),pe}function q(le,ue,fe){return le.objectMode||!1===le.decodeStrings||"string"!=typeof ue||(ue=ae.from(ue,fe)),ue}function P(le,ue,fe,ce,pe){fe=q(ue,fe,ce),ie.isBuffer(fe)&&(ce="buffer");var ge=ue.objectMode?1:fe.length;ue.length+=ge;var he=ue.length<ue.highWaterMark;if(he||(ue.needDrain=!0),ue.writing||ue.corked){var be=ue.lastBufferedRequest;ue.lastBufferedRequest=new M(fe,ce,pe),be?be.next=ue.lastBufferedRequest:ue.bufferedRequest=ue.lastBufferedRequest,ue.bufferedRequestCount+=1}else W(le,ue,!1,ge,fe,ce,pe);return he}function W(le,ue,fe,ce,pe,ge,he){ue.writelen=ce,ue.writecb=he,ue.writing=!0,ue.sync=!0,fe?le._writev(pe,ue.onwrite):le._write(pe,ge,ue.onwrite),ue.sync=!1}function F(le,ue,fe,ce,pe){--ue.pendingcb,fe?Z(pe,ce):pe(ce),le._writableState.errorEmitted=!0,le.emit("error",ce)}function z(le){le.writing=!1,le.writecb=null,le.length-=le.writelen,le.writelen=0}function N(le,ue){var fe=le._writableState,ce=fe.sync,pe=fe.writecb;if(z(fe),ue)F(le,fe,ce,ue,pe);else{var ge=J(fe);ge||fe.corked||fe.bufferProcessing||!fe.bufferedRequest||K(le,fe),ce?ee(Y,le,fe,ge,pe):Y(le,fe,ge,pe)}}function Y(le,ue,fe,ce){fe||H(le,ue),ue.pendingcb--,ce(),$(le,ue)}function H(le,ue){0===ue.length&&ue.needDrain&&(ue.needDrain=!1,le.emit("drain"))}function K(le,ue){ue.bufferProcessing=!0;var fe=ue.bufferedRequest;if(le._writev&&fe&&fe.next){var ce=ue.bufferedRequestCount,pe=Array(ce),ge=ue.corkedRequestsFree;ge.entry=fe;for(var he=0;fe;)pe[he]=fe,fe=fe.next,he+=1;W(le,ue,!0,ue.length,pe,"",ge.finish),ue.pendingcb++,ue.lastBufferedRequest=null,ge.next?(ue.corkedRequestsFree=ge.next,ge.next=null):ue.corkedRequestsFree=new Q(ue)}else{for(;fe;){var be=fe.chunk,me=fe.encoding,ye=fe.callback,we=ue.objectMode?1:be.length;if(W(le,ue,!1,we,be,me,ye),fe=fe.next,ue.writing)break}null===fe&&(ue.lastBufferedRequest=null)}ue.bufferedRequestCount=0,ue.bufferedRequest=fe,ue.bufferProcessing=!1}function J(le){return le.ending&&0===le.length&&null===le.bufferedRequest&&!le.finished&&!le.writing}function X(le,ue){ue.prefinished||(ue.prefinished=!0,le.emit("prefinish"))}function $(le,ue){var fe=J(ue);return fe&&(0===ue.pendingcb?(X(le,ue),ue.finished=!0,le.emit("finish")):X(le,ue)),fe}function G(le,ue,fe){ue.ending=!0,$(le,ue),fe&&(ue.finished?Z(fe):le.once("finish",fe)),ue.ended=!0,le.writable=!1}function Q(le){var ue=this;this.next=null,this.entry=null,this.finish=function(fe){var ce=ue.entry;for(ue.entry=null;ce;){var pe=ce.callback;le.pendingcb--,pe(fe),ce=ce.next}le.corkedRequestsFree?le.corkedRequestsFree.next=ue:le.corkedRequestsFree=ue}}R.exports=O;var Z=E("process-nextick-args"),ee=!I.browser&&-1<["v0.10","v0.9."].indexOf(I.version.slice(0,5))?setImmediate:Z,te;O.WritableState=U;var ne=E("core-util-is");ne.inherits=E("inherits");var oe={deprecate:E("util-deprecate")},se;(function(){try{se=E("stream")}catch(le){}finally{se||(se=E("events").EventEmitter)}})();var ie=E("buffer").Buffer,ae=E("buffer-shims");ne.inherits(O,se),U.prototype.getBuffer=function(){for(var ue=this.bufferedRequest,fe=[];ue;)fe.push(ue),ue=ue.next;return fe},function(){try{Object.defineProperty(U.prototype,"buffer",{get:oe.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(le){}}();var de;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(de=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(le){return!!de.call(this,le)||le&&le._writableState instanceof U}})):de=function(le){return le instanceof this},O.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},O.prototype.write=function(le,ue,fe){var ce=this._writableState,pe=!1;return"function"==typeof ue&&(fe=ue,ue=null),ie.isBuffer(le)?ue="buffer":!ue&&(ue=ce.defaultEncoding),"function"!=typeof fe&&(fe=A),ce.ended?T(this,fe):D(this,ce,le,fe)&&(ce.pendingcb++,pe=P(this,ce,le,ue,fe)),pe},O.prototype.cork=function(){var le=this._writableState;le.corked++},O.prototype.uncork=function(){var le=this._writableState;le.corked&&(le.corked--,!le.writing&&!le.corked&&!le.finished&&!le.bufferProcessing&&le.bufferedRequest&&K(this,le))},O.prototype.setDefaultEncoding=function(ue){if("string"==typeof ue&&(ue=ue.toLowerCase()),!(-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ue+"").toLowerCase())))throw new TypeError("Unknown encoding: "+ue);return this._writableState.defaultEncoding=ue,this},O.prototype._write=function(le,ue,fe){fe(new Error("_write() is not implemented"))},O.prototype._writev=null,O.prototype.end=function(le,ue,fe){var ce=this._writableState;"function"==typeof le?(fe=le,le=null,ue=null):"function"==typeof ue&&(fe=ue,ue=null),null!==le&&le!==void 0&&this.write(le,ue),ce.corked&&(ce.corked=1,this.uncork()),ce.ending||ce.finished||G(this,ce,fe)}}).call(this,E("_process"))},{"./_stream_duplex":18,_process:16,buffer:5,"buffer-shims":4,"core-util-is":6,events:9,inherits:11,"process-nextick-args":15,"util-deprecate":27}],23:[function(E,R){"use strict";function I(){this.head=null,this.tail=null,this.length=0}var A=E("buffer").Buffer,M=E("buffer-shims");R.exports=I,I.prototype.push=function(U){var O={data:U,next:null};0<this.length?this.tail.next=O:this.head=O,this.tail=O,++this.length},I.prototype.unshift=function(U){var O={data:U,next:this.head};0===this.length&&(this.tail=O),this.head=O,++this.length},I.prototype.shift=function(){if(0!==this.length){var U=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,U}},I.prototype.clear=function(){this.head=this.tail=null,this.length=0},I.prototype.join=function(U){if(0===this.length)return"";for(var O=this.head,T=""+O.data;O=O.next;)T+=U+O.data;return T},I.prototype.concat=function(U){if(0===this.length)return M.alloc(0);if(1===this.length)return this.head.data;for(var O=M.allocUnsafe(U>>>0),T=this.head,D=0;T;)T.data.copy(O,D),D+=T.data.length,T=T.next;return O}},{buffer:5,"buffer-shims":4}],24:[function(E,R,C){(function(I){var A=function(){try{return E("stream")}catch(M){}}();C=R.exports=E("./lib/_stream_readable.js"),C.Stream=A||C,C.Readable=C,C.Writable=E("./lib/_stream_writable.js"),C.Duplex=E("./lib/_stream_duplex.js"),C.Transform=E("./lib/_stream_transform.js"),C.PassThrough=E("./lib/_stream_passthrough.js"),!I.browser&&"disable"===I.env.READABLE_STREAM&&A&&(R.exports=A)}).call(this,E("_process"))},{"./lib/_stream_duplex.js":18,"./lib/_stream_passthrough.js":19,"./lib/_stream_readable.js":20,"./lib/_stream_transform.js":21,"./lib/_stream_writable.js":22,_process:16}],25:[function(E,R){(function(I,A){function M(F){var z=this;if(!(z instanceof M))return new M(F);if(F||(F={}),"string"==typeof F&&(F={url:F}),null==F.url&&null==F.socket)throw new Error("Missing required `url` or `socket` option");if(null!=F.url&&null!=F.socket)throw new Error("Must specify either `url` or `socket` option, not both");if(z._id=T(4).toString("hex").slice(0,7),z._debug("new websocket: %o",F),F=Object.assign({allowHalfOpen:!1},F),D.Duplex.call(z,F),z.connected=!1,z.destroyed=!1,z._chunk=null,z._cb=null,z._interval=null,F.socket)z.url=F.socket.url,z._ws=F.socket;else{z.url=F.url;try{z._ws="function"==typeof q?new P(F.url,F):new P(F.url)}catch(N){return void I.nextTick(function(){z._onError(N)})}}z._ws.binaryType="arraybuffer",z._ws.onopen=function(){z._onOpen()},z._ws.onmessage=function(N){z._onMessage(N)},z._ws.onclose=function(){z._onClose()},z._ws.onerror=function(){z._onError(new Error("connection error to "+z.url))},z._onFinishBound=function(){z._onFinish()},z.once("finish",z._onFinishBound)}R.exports=M;var U=E("debug")("simple-websocket"),O=E("inherits"),T=E("randombytes"),D=E("readable-stream"),q=E("ws"),P="function"==typeof q?q:WebSocket,W=65536;O(M,D.Duplex),M.WEBSOCKET_SUPPORT=!!P,M.prototype.send=function(F){this._ws.send(F)},M.prototype.destroy=function(F){this._destroy(null,F)},M.prototype._destroy=function(F,z){var N=this;if(!N.destroyed){if(z&&N.once("close",z),N._debug("destroy (error: %s)",F&&F.message),N.readable=N.writable=!1,N._readableState.ended||N.push(null),N._writableState.finished||N.end(),N.connected=!1,N.destroyed=!0,clearInterval(N._interval),N._interval=null,N._chunk=null,N._cb=null,N._onFinishBound&&N.removeListener("finish",N._onFinishBound),N._onFinishBound=null,N._ws){var Y=N._ws,H=function(){Y.onclose=null};if(Y.readyState===P.CLOSED)H();else try{Y.onclose=H,Y.close()}catch(K){H()}Y.onopen=null,Y.onmessage=null,Y.onerror=null}N._ws=null,F&&N.emit("error",F),N.emit("close")}},M.prototype._read=function(){},M.prototype._write=function(F,z,N){if(this.destroyed)return N(new Error("cannot write after socket is destroyed"));if(this.connected){try{this.send(F)}catch(Y){return this._onError(Y)}"function"!=typeof q&&this._ws.bufferedAmount>W?(this._debug("start backpressure: bufferedAmount %d",this._ws.bufferedAmount),this._cb=N):N(null)}else this._debug("write before connect"),this._chunk=F,this._cb=N},M.prototype._onFinish=function(){function F(){setTimeout(function(){z._destroy()},100)}var z=this;z.destroyed||(z.connected?F():z.once("connect",F))},M.prototype._onMessage=function(F){if(!this.destroyed){var z=F.data;z instanceof ArrayBuffer&&(z=new A(z)),this.push(z)}},M.prototype._onOpen=function(){var F=this;if(!(F.connected||F.destroyed)){if(F.connected=!0,F._chunk){try{F.send(F._chunk)}catch(N){return F._onError(N)}F._chunk=null,F._debug("sent chunk from \"write before connect\"");var z=F._cb;F._cb=null,z(null)}"function"!=typeof q&&(F._interval=setInterval(function(){F._onInterval()},150),F._interval.unref&&F._interval.unref()),F._debug("connect"),F.emit("connect")}},M.prototype._onInterval=function(){if(this._cb&&this._ws&&!(this._ws.bufferedAmount>W)){this._debug("ending backpressure: bufferedAmount %d",this._ws.bufferedAmount);var F=this._cb;this._cb=null,F(null)}},M.prototype._onClose=function(){this.destroyed||(this._debug("on close"),this._destroy())},M.prototype._onError=function(F){this.destroyed||(this._debug("error: %s",F.message||F),this._destroy(F))},M.prototype._debug=function(){var F=[].slice.call(arguments);F[0]="["+this._id+"] "+F[0],U.apply(null,F)}}).call(this,E("_process"),E("buffer").Buffer)},{_process:16,buffer:5,debug:7,inherits:11,randombytes:17,"readable-stream":24,ws:3}],26:[function(E,R,C){function I(q){if(q&&!T(q))throw new Error("Unknown encoding: "+q)}function A(q){return q.toString(this.encoding)}function M(q){this.charReceived=q.length%2,this.charLength=this.charReceived?2:0}function U(q){this.charReceived=q.length%3,this.charLength=this.charReceived?3:0}var O=E("buffer").Buffer,T=O.isEncoding||function(q){switch(q&&q.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1;}},D=C.StringDecoder=function(q){switch(this.encoding=(q||"utf8").toLowerCase().replace(/[-_]/,""),I(q),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=M;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=U;break;default:return void(this.write=A);}this.charBuffer=new O(6),this.charReceived=0,this.charLength=0};D.prototype.write=function(q){for(var W,P="";this.charLength;){if(W=q.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:q.length,q.copy(this.charBuffer,this.charReceived,0,W),this.charReceived+=W,this.charReceived<this.charLength)return"";q=q.slice(W,q.length),P=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var F=P.charCodeAt(P.length-1);if(55296<=F&&56319>=F){this.charLength+=this.surrogateSize,P="";continue}if(this.charReceived=this.charLength=0,0===q.length)return P;break}this.detectIncompleteChar(q);var z=q.length;this.charLength&&(q.copy(this.charBuffer,0,q.length-this.charReceived,z),z-=this.charReceived),P+=q.toString(this.encoding,0,z);var z=P.length-1,F=P.charCodeAt(z);if(55296<=F&&56319>=F){var N=this.surrogateSize;return this.charLength+=N,this.charReceived+=N,this.charBuffer.copy(this.charBuffer,N,0,N),q.copy(this.charBuffer,0,0,N),P.substring(0,z)}return P},D.prototype.detectIncompleteChar=function(q){for(var W,P=3<=q.length?3:q.length;0<P;P--){if(W=q[q.length-P],1==P&&6==W>>5){this.charLength=2;break}if(2>=P&&14==W>>4){this.charLength=3;break}if(3>=P&&30==W>>3){this.charLength=4;break}}this.charReceived=P},D.prototype.end=function(q){var P="";if(q&&q.length&&(P=this.write(q)),this.charReceived){var W=this.charReceived,F=this.charBuffer,z=this.encoding;P+=F.slice(0,W).toString(z)}return P}},{buffer:5}],27:[function(E,R){(function(I){function M(U){try{if(!I.localStorage)return!1}catch(T){return!1}var O=I.localStorage[U];return null!=O&&"true"===(O+"").toLowerCase()}R.exports=function(U,O){if(M("noDeprecation"))return U;var D=!1;return function(){if(!D){if(M("throwDeprecation"))throw new Error(O);else M("traceDeprecation")?console.trace(O):console.warn(O);D=!0}return U.apply(this,arguments)}}}).call(this,"undefined"==typeof global?"undefined"==typeof self?"undefined"==typeof window?{}:window:self:global)},{}]},{},[1])(1)});