varg=t(9),I=g.Buffer;functione(A,M){for(vartinA)M[t]=A[t]}functioni(A,M,t){returnI(A,M,t)}I.from&&I.alloc&&I.allocUnsafe&&I.allocUnsafeSlow?A.exports=g:(e(g,M),M.Buffer=i),i.prototype=Object.create(I.prototype),e(I,i),i.from=function(A,M,t){if("number"==typeofA)thrownewTypeError("Argument must not be a number");returnI(A,M,t)},i.alloc=function(A,M,t){if("number"!=typeofA)thrownewTypeError("Argument must be a number");varg=I(A);returnvoid0!==M?"string"==typeoft?g.fill(M,t):g.fill(M):g.fill(0),g},i.allocUnsafe=function(A){if("number"!=typeofA)thrownewTypeError("Argument must be a number");returnI(A)},i.allocUnsafeSlow=function(A){if("number"!=typeofA)thrownewTypeError("Argument must be a number");returng.SlowBuffer(A)}},function(A,M,t){"use strict";M.a={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"}},function(A,M,t){(function(A){!function(A,M){"use strict";functiong(A,M){if(!A)thrownewError(M||"Assertion failed")}functionI(A,M){A.super_=M;vart=function(){};t.prototype=M.prototype,A.prototype=newt,A.prototype.constructor=A}functione(A,M,t){if(e.isBN(A))returnA;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&("le"!==M&&"be"!==M||(t=M,M=10),this._init(A||0,M||10,t||"be"))}vari;"object"==typeofA?A.exports=e:M.BN=e,e.BN=e,e.wordSize=26;try{i=t(165).Buffer}catch(A){}functionT(A,M,t){for(varg=0,I=Math.min(A.length,t),e=M;e<I;e++){vari=A.charCodeAt(e)-48;g<<=4,g|=i>=49&&i<=54?i-49+10:i>=17&&i<=22?i-17+10:15&i}returng}functionE(A,M,t,g){for(varI=0,e=Math.min(A.length,t),i=M;i<e;i++){varT=A.charCodeAt(i)-48;I*=g,I+=T>=49?T-49+10:T>=17?T-17+10:T}returnI}e.isBN=function(A){returnAinstanceofe||null!==A&&"object"==typeofA&&A.constructor.wordSize===e.wordSize&&Array.isArray(A.words)},e.max=function(A,M){returnA.cmp(M)>0?A:M},e.min=function(A,M){returnA.cmp(M)<0?A:M},e.prototype._init=function(A,M,t){if("number"==typeofA)returnthis._initNumber(A,M,t);if("object"==typeofA)returnthis._initArray(A,M,t);"hex"===M&&(M=16),g(M===(0|M)&&M>=2&&M<=36);varI=0;"-"===(A=A.toString().replace(/\s+/g,""))[0]&&I++,16===M?this._parseHex(A,I):this._parseBase(A,M,I),"-"===A[0]&&(this.negative=1),this.strip(),"le"===t&&this._initArray(this.toArray(),M,t)},e.prototype._initNumber=function(A,M,t){A<0&&(this.negative=1,A=-A),A<67108864?(this.words=[67108863&A],this.length=1):A<4503599627370496?(this.words=[67108863&A,A/67108864&67108863],this.length=2):(g(A<9007199254740992),this.words=[67108863&A,A/67108864&67108863,1],this.length=3),"le"===t&&this._initArray(this.toArray(),M,t)},e.prototype._initArray=function(A,M,t){if(g("number"==typeofA.length),A.length<=0)returnthis.words=[0],this.length=1,this;this.length=Math.ceil(A.length/3),this.words=newArray(this.length);for(varI=0;I<this.length;I++)this.words[I]=0;vare,i,T=0;if("be"===t)for(I=A.length-1,e=0;I>=0;I-=3)i=A[I]|A[I-1]<<8|A[I-2]<<16,this.words[e]|=i<<T&67108863,this.words[e+1]=i>>>26-T&67108863,(T+=24)>=26&&(T-=26,e++);elseif("le"===t)for(I=0,e=0;I<A.length;I+=3)i=A[I]|A[I+1]<<8|A[I+2]<<16,this.words[e]|=i<<T&67108863,this.words[e+1]=i>>>26-T&67108863,(T+=24)>=26&&(T-=26,e++);returnthis.strip()},e.prototype._parseHex=function(A,M){this.length=Math.ceil((A.length-M)/6),this.words=newArray(this.length);for(vart=0;t<this.length;t++)this.words[t]=0;varg,I,e=0;for(t=A.length-6,g=0;t>=M;t-=6)I=T(A,t,t+6),this.words[g]|=I<<e&67108863,this.words[g+1]|=I>>>26-e&4194303,(e+=24)>=26&&(e-=26,g++);t+6!==M&&(I=T(A,M,t+6),this.words[g]|=I<<e&67108863,this.words[g+1]|=I>>>26-e&4194303),this.strip()},e.prototype._parseBase=function(A,M,t){this.words=[0],this.length=1;for(varg=0,I=1;I<=67108863;I*=M)g++;g--,I=I/M|0;for(vare=A.length-t,i=e%g,T=Math.min(e,e-i)+t,N=0,D=t;D<T;D+=g)N=E(A,D,D+g,M),this.imuln(I),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N);if(0!==i){varn=1;for(N=E(A,D,A.length,M),D=0;D<i;D++)n*=M;this.imuln(n),this.words[0]+N<67108864?this.words[0]+=N:this._iaddn(N)}},e.prototype.copy=function(A){A.words=newArray(this.length);for(varM=0;M<this.
varg=t(111),I=t(112),e=t(59);functioni(){returnE.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionT(A,M){if(i()<M)thrownewRangeError("Invalid typed array length");returnE.TYPED_ARRAY_SUPPORT?(A=newUint8Array(M)).__proto__=E.prototype:(null===A&&(A=newE(M)),A.length=M),A}functionE(A,M,t){if(!(E.TYPED_ARRAY_SUPPORT||thisinstanceofE))returnnewE(A,M,t);if("number"==typeofA){if("string"==typeofM)thrownewError("If encoding is specified then the first argument must be a string");returnn(this,A)}returnN(this,A,M,t)}functionN(A,M,t,g){if("number"==typeofM)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&MinstanceofArrayBuffer?function(A,M,t,g){if(M.byteLength,t<0||M.byteLength<t)thrownewRangeError("'offset' is out of bounds");if(M.byteLength<t+(g||0))thrownewRangeError("'length' is out of bounds");M=void0===t&&void0===g?newUint8Array(M):void0===g?newUint8Array(M,t):newUint8Array(M,t,g);E.TYPED_ARRAY_SUPPORT?(A=M).__proto__=E.prototype:A=C(A,M);returnA}(A,M,t,g):"string"==typeofM?function(A,M,t){"string"==typeoft&&""!==t||(t="utf8");if(!E.isEncoding(t))thrownewTypeError('"encoding" must be a valid string encoding');varg=0|c(M,t),I=(A=T(A,g)).write(M,t);I!==g&&(A=A.slice(0,I));returnA}(A,M,t):function(A,M){if(E.isBuffer(M)){vart=0|r(M.length);return0===(A=T(A,t)).length||M.copy(A,0,0,t),A}if(M){if("undefined"!=typeofArrayBuffer&&M.bufferinstanceofArrayBuffer||"length"inM)return"number"!=typeofM.length||(g=M.length)!=g?T(A,0):C(A,M);if("Buffer"===M.type&&e(M.data))returnC(A,M.data)}varg;thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(A,M)}functionD(A){if("number"!=typeofA)thrownewTypeError('"size" argument must be a number');if(A<0)thrownewRangeError('"size" argument must not be negative')}functionn(A,M){if(D(M),A=T(A,M<0?0:0|r(M)),!E.TYPED_ARRAY_SUPPORT)for(vart=0;t<M;++t)A[t]=0;returnA}functionC(A,M){vart=M.length<0?0:0|r(M.length);A=T(A,t);for(varg=0;g<t;g+=1)A[g]=255&M[g];returnA}functionr(A){if(A>=i())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return0|A}functionc(A,M){if(E.isBuffer(A))returnA.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(A)||AinstanceofArrayBuffer))returnA.byteLength;"string"!=typeofA&&(A=""+A);vart=A.length;if(0===t)return0;for(varg=!1;;)switch(M){case"ascii":case"latin1":case"binary":returnt;case"utf8":case"utf-8":casevoid0:returnb(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*t;case"hex":returnt>>>1;case"base64":returnG(A).length;default:if(g)returnb(A).length;M=(""+M).toLowerCase(),g=!0}}functiono(A,M,t){varg=!1;if((void0===M||M<0)&&(M=0),M>this.length)return"";if((void0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(M>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":returnS(this,M,t);case"utf8":case"utf-8":returnx(this,M,t);case"ascii":returnY(this,M,t);case"latin1":case"binary":returnu(this,M,t);case"base64":returnd(this,M,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnz(this,M,t);default:if(g)thrownewTypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),g=!0}}functionB(A,M,t){varg=A[M];A[M]=A[t],A[t]=g}functionQ(A,M,t,g,I){if(0===A.length)return-1;if("string"==typeoft?(g=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=I?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(I)return-1;t=A.length-1}elseif(t<0){if(!I)return-1;t=0}if("string"==typeofM&&(M=E.from(M,g)),E.isBuffer(M))return0===M.length?-1:a(A,M,t,g,I);if("number"==typeofM)returnM&=255,E.TYPED_ARRAY_SUPPORT&&"function"==typeofUint8Array.prototype.indexOf?I?Uint8Array.prototype.indexOf.call(A,M,t):Uint8Array.prototype.lastIndexOf.call(A,M,t):a(A,[M],t,g,I);thrownewTypeError("val must be string, number or Buffer")}functiona(A,M,t,g,I){vare,i=1,T=A.length,E=M.length;if(void0!==g&&("ucs2"===(g=String(g).toLowerCase())||"u
varg;g=function(){"use strict";functionA(A){return"function"==typeofA}varg=Array.isArray?Array.isArray:function(A){return"[object Array]"===Object.prototype.toString.call(A)},I=0,e=void0,i=void0,T=function(A,M){c[I]=A,c[I+1]=M,2===(I+=2)&&(i?i(o):Q())},E="undefined"!=typeofwindow?window:void0,N=E||{},D=N.MutationObserver||N.WebKitMutationObserver,n="undefined"==typeofself&&void0!==M&&"[object process]"==={}.toString.call(M),C="undefined"!=typeofUint8ClampedArray&&"undefined"!=typeofimportScripts&&"undefined"!=typeofMessageChannel;functionr(){varA=setTimeout;returnfunction(){returnA(o,1)}}varc=newArray(1e3);functiono(){for(varA=0;A<I;A+=2)(0,c[A])(c[A+1]),c[A]=void0,c[A+1]=void0;I=0}varB,Q=void0;functiona(A,M){vart=this,g=newthis.constructor(y);void0===g[s]&&l(g);varI=t._state;if(I){vare=arguments[I-1];T((function(){returnS(I,g,e,t._result)}))}elseY(t,g,A,M);returng}functionh(A){if(A&&"object"==typeofA&&A.constructor===this)returnA;varM=newthis(y);returnj(M,A),M}n?Q=function(){returnM.nextTick(o)}:D?Q=function(){varA=0,M=newD(o),t=document.createTextNode("");returnM.observe(t,{characterData:!0}),function(){t.data=A=++A%2}}():C?((B=newMessageChannel).port1.onmessage=o,Q=function(){returnB.port2.postMessage(0)}):Q=void0===E?function(){try{varA=Function("return this")().require("vertx");returnvoid0!==(e=A.runOnLoop||A.runOnContext)?function(){e(o)}:r()}catch(A){returnr()}}():r();vars=Math.random().toString(36).substring(2);functiony(){}functionw(M,t,g){t.constructor===M.constructor&&g===a&&t.constructor.resolve===h?function(A,M){1===M._state?d(A,M._result):2===M._state?x(A,M._result):Y(M,void0,(function(M){returnj(A,M)}),(function(M){returnx(A,M)}))}(M,t):void0===g?d(M,t):A(g)?function(A,M,t){T((function(A){varg=!1,I=function(A,M,t,g){try{A.call(M,t,g)}catch(A){returnA}}(t,M,(function(t){g||(g=!0,M!==t?j(A,t):d(A,t))}),(function(M){g||(g=!0,x(A,M))}),A._label);!g&&I&&(g=!0,x(A,I))}),A)}(M,t,g):d(M,t)}functionj(A,M){if(A===M)x(A,newTypeError("You cannot resolve a promise with itself"));elseif(I=typeof(g=M),null===g||"object"!==I&&"function"!==I)d(A,M);else{vart=void0;try{t=M.then}catch(M){returnvoidx(A,M)}w(A,M,t)}varg,I}functionL(A){A._onerror&&A._onerror(A._result),u(A)}functiond(A,M){void0===A._state&&(A._result=M,A._state=1,0!==A._subscribers.length&&T(u,A))}functionx(A,M){void0===A._state&&(A._state=2,A._result=M,T(L,A))}functionY(A,M,t,g){varI=A._subscribers,e=I.length;A._onerror=null,I[e]=M,I[e+1]=t,I[e+2]=g,0===e&&A._state&&T(u,A)}functionu(A){varM=A._subscribers,t=A._state;if(0!==M.length){for(varg=void0,I=void0,e=A._result,i=0;i<M.length;i+=3)g=M[i],I=M[i+t],g?S(t,g,I,e):I(e);A._subscribers.length=0}}functionS(M,t,g,I){vare=A(g),i=void0,T=void0,E=!0;if(e){try{i=g(I)}catch(A){E=!1,T=A}if(t===i)returnvoidx(t,newTypeError("A promises callback cannot return that same promise."))}elsei=I;void0!==t._state||(e&&E?j(t,i):!1===E?x(t,T):1===M?d(t,i):2===M&&x(t,i))}varz=0;functionl(A){A[s]=z++,A._state=void0,A._result=void0,A._subscribers=[]}varU=function(){functionA(A,M){this._instanceConstructor=A,this.promise=newA(y),this.promise[s]||l(this.promise),g(M)?(this.length=M.length,this._remaining=M.length,this._result=newArray(this.length),0===this.length?d(this.promise,this._result):(this.length=this.length||0,this._enumerate(M),0===this._remaining&&d(this.promise,this._result))):x(this.promise,newError("Array Methods must be provided an Array"))}returnA.prototype._enumerate=function(A){for(varM=0;void0===this._state&&M<A.length;M++)this._eachEntry(A[M],M)},A.prototype._eachEntry=function(A,M){vart=this._instanceConstructor,g=t.resolve;if(g===h){varI=void0,e=void0,i=!1;try{I=A.then}catch(A){i=!0,e=A}if(I===a&&void0!==A._state)this._settledAt(A._state,M,A._result);elseif("function"!=typeofI)this._remaining--,this._result[M]=A;elseif(t===f){varT=newt(y);i?x(T,e):w(T,A,I),this._willSettleAt(T,M)}elsethis._willSettleAt(newt((function(M){returnM(A)})),M)}elsethis._willSettleAt(g(A),M)},A.prototype._settledAt=function(A