UNPKG

@servicenow/sdk

Version:
1 lines 17.9 MB
var D9r=Object.create;var L1e=Object.defineProperty;var I9r=Object.getOwnPropertyDescriptor;var R9r=Object.getOwnPropertyNames;var N9r=Object.getPrototypeOf,P9r=Object.prototype.hasOwnProperty;var t=(r,e)=>L1e(r,"name",{value:e,configurable:!0}),jk=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,s)=>(typeof require<"u"?require:e)[s]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var qh=(r,e)=>()=>(r&&(e=r(r=0)),e);var mt=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Wk=(r,e)=>{for(var s in e)L1e(r,s,{get:e[s],enumerable:!0})},Wnn=(r,e,s,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let d of R9r(e))!P9r.call(r,d)&&d!==s&&L1e(r,d,{get:()=>e[d],enumerable:!(c=I9r(e,d))||c.enumerable});return r};var KX=(r,e,s)=>(s=r!=null?D9r(N9r(r)):{},Wnn(e||!r||!r.__esModule?L1e(s,"default",{value:r,enumerable:!0}):s,r)),Ec=r=>Wnn(L1e({},"__esModule",{value:!0}),r);var dt,_e=qh(()=>{"use strict";dt={hardwareConcurrency:1}});var _t,he=qh(()=>{_t="/"});var jLe={};Wk(jLe,{_debugEnd:()=>Nrn,_debugProcess:()=>Rrn,_events:()=>qrn,_eventsCount:()=>Krn,_exiting:()=>drn,_fatalExceptions:()=>Arn,_getActiveHandles:()=>mrn,_getActiveRequests:()=>hrn,_kill:()=>yrn,_linkedBinding:()=>urn,_maxListeners:()=>Hrn,_preload_modules:()=>zrn,_rawDebug:()=>lrn,_startProfilerIdleNotifier:()=>Prn,_stopProfilerIdleNotifier:()=>krn,_tickCallback:()=>Irn,abort:()=>Orn,addListener:()=>Jrn,allowedNodeEnvironmentFlags:()=>Crn,arch:()=>Knn,argv:()=>Ynn,argv0:()=>Wrn,assert:()=>$rn,binding:()=>nrn,browser:()=>orn,chdir:()=>arn,config:()=>frn,cpuUsage:()=>ULe,cwd:()=>irn,debugPort:()=>jrn,default:()=>iin,dlopen:()=>_rn,domain:()=>prn,emit:()=>ein,emitWarning:()=>trn,env:()=>Xnn,execArgv:()=>Qnn,execPath:()=>Urn,exit:()=>xrn,features:()=>wrn,hasUncaughtExceptionCaptureCallback:()=>Drn,hrtime:()=>VLe,kill:()=>Srn,listeners:()=>rin,memoryUsage:()=>brn,moduleLoadList:()=>crn,nextTick:()=>Gnn,off:()=>Yrn,on:()=>mH,once:()=>Xrn,openStdin:()=>Ern,pid:()=>Brn,platform:()=>Jnn,ppid:()=>Vrn,prependListener:()=>tin,prependOnceListener:()=>nin,reallyExit:()=>grn,release:()=>srn,removeAllListeners:()=>Zrn,removeListener:()=>Qrn,resourceUsage:()=>vrn,setSourceMapsEnabled:()=>Grn,setUncaughtExceptionCaptureCallback:()=>Trn,stderr:()=>Mrn,stdin:()=>Frn,stdout:()=>Lrn,title:()=>qnn,umask:()=>rrn,uptime:()=>M1e,version:()=>Znn,versions:()=>ern});function ddt(r){throw new Error("Node.js process "+r+" is not supported by JSPM core outside of Node.js")}function k9r(){!Aue||!Lne||(Aue=!1,Lne.length?hH=Lne.concat(hH):BLe=-1,hH.length&&znn())}function znn(){if(!Aue){var r=setTimeout(k9r,0);Aue=!0;for(var e=hH.length;e;){for(Lne=hH,hH=[];++BLe<e;)Lne&&Lne[BLe].run();BLe=-1,e=hH.length}Lne=null,Aue=!1,clearTimeout(r)}}function Gnn(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)e[s-1]=arguments[s];hH.push(new Hnn(r,e)),hH.length===1&&!Aue&&setTimeout(znn,0)}function Hnn(r,e){this.fun=r,this.array=e}function zk(){}function urn(r){ddt("_linkedBinding")}function _rn(r){ddt("dlopen")}function hrn(){return[]}function mrn(){return[]}function $rn(r,e){if(!r)throw new Error(e||"assertion error")}function Drn(){return!1}function M1e(){return JX.now()/1e3}function VLe(r){var e=Math.floor((Date.now()-JX.now())*.001),s=JX.now()*.001,c=Math.floor(s)+e,d=Math.floor(s%1*1e9);return r&&(c=c-r[0],d=d-r[1],d<0&&(c--,d+=pdt)),[c,d]}function mH(){return iin}function rin(r){return[]}var hH,Aue,Lne,BLe,qnn,Knn,Jnn,Xnn,Ynn,Qnn,Znn,ern,trn,nrn,rrn,irn,arn,srn,orn,lrn,crn,prn,drn,frn,grn,yrn,ULe,vrn,brn,Srn,xrn,Ern,Crn,wrn,Arn,Trn,Irn,Rrn,Nrn,Prn,krn,Lrn,Mrn,Frn,Orn,Brn,Vrn,Urn,jrn,Wrn,zrn,Grn,JX,udt,pdt,Hrn,qrn,Krn,Jrn,Xrn,Yrn,Qrn,Zrn,ein,tin,nin,iin,F1e=qh(()=>{_e();ye();he();ge();me();t(ddt,"unimplemented");hH=[],Aue=!1,BLe=-1;t(k9r,"cleanUpNextTick");t(znn,"drainQueue");t(Gnn,"nextTick");t(Hnn,"Item");Hnn.prototype.run=function(){this.fun.apply(null,this.array)};qnn="browser",Knn="x64",Jnn="browser",Xnn={PATH:"/usr/bin",LANG:typeof dt<"u"?dt.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},Ynn=["/usr/bin/node"],Qnn=[],Znn="v16.8.0",ern={},trn=t(function(r,e){console.warn((e?e+": ":"")+r)},"emitWarning"),nrn=t(function(r){ddt("binding")},"binding"),rrn=t(function(r){return 0},"umask"),irn=t(function(){return"/"},"cwd"),arn=t(function(r){},"chdir"),srn={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};t(zk,"noop");orn=!0,lrn=zk,crn=[];t(urn,"_linkedBinding");prn={},drn=!1,frn={};t(_rn,"dlopen");t(hrn,"_getActiveRequests");t(mrn,"_getActiveHandles");grn=zk,yrn=zk,ULe=t(function(){return{}},"cpuUsage"),vrn=ULe,brn=ULe,Srn=zk,xrn=zk,Ern=zk,Crn={};t($rn,"assert");wrn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Arn=zk,Trn=zk;t(Drn,"hasUncaughtExceptionCaptureCallback");Irn=zk,Rrn=zk,Nrn=zk,Prn=zk,krn=zk,Lrn=void 0,Mrn=void 0,Frn=void 0,Orn=zk,Brn=2,Vrn=1,Urn="/bin/usr/node",jrn=9229,Wrn="node",zrn=[],Grn=zk,JX={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};JX.now===void 0&&(udt=Date.now(),JX.timing&&JX.timing.navigationStart&&(udt=JX.timing.navigationStart),JX.now=()=>Date.now()-udt);t(M1e,"uptime");pdt=1e9;t(VLe,"hrtime");VLe.bigint=function(r){var e=VLe(r);return typeof BigInt>"u"?e[0]*pdt+e[1]:BigInt(e[0]*pdt)+BigInt(e[1])};Hrn=10,qrn={},Krn=0;t(mH,"on");Jrn=mH,Xrn=mH,Yrn=mH,Qrn=mH,Zrn=mH,ein=zk,tin=mH,nin=mH;t(rin,"listeners");iin={version:Znn,versions:ern,arch:Knn,platform:Jnn,browser:orn,release:srn,_rawDebug:lrn,moduleLoadList:crn,binding:nrn,_linkedBinding:urn,_events:qrn,_eventsCount:Krn,_maxListeners:Hrn,on:mH,addListener:Jrn,once:Xrn,off:Yrn,removeListener:Qrn,removeAllListeners:Zrn,emit:ein,prependListener:tin,prependOnceListener:nin,listeners:rin,domain:prn,_exiting:drn,config:frn,dlopen:_rn,uptime:M1e,_getActiveRequests:hrn,_getActiveHandles:mrn,reallyExit:grn,_kill:yrn,cpuUsage:ULe,resourceUsage:vrn,memoryUsage:brn,kill:Srn,exit:xrn,openStdin:Ern,allowedNodeEnvironmentFlags:Crn,assert:$rn,features:wrn,_fatalExceptions:Arn,setUncaughtExceptionCaptureCallback:Trn,hasUncaughtExceptionCaptureCallback:Drn,emitWarning:trn,nextTick:Gnn,_tickCallback:Irn,_debugProcess:Rrn,_debugEnd:Nrn,_startProfilerIdleNotifier:Prn,_stopProfilerIdleNotifier:krn,stdout:Lrn,stdin:Frn,stderr:Mrn,abort:Orn,umask:rrn,chdir:arn,cwd:irn,env:Xnn,title:qnn,argv:Ynn,execArgv:Qnn,pid:Brn,ppid:Vrn,execPath:Urn,debugPort:jrn,hrtime:VLe,argv0:Wrn,_preload_modules:zrn,setSourceMapsEnabled:Grn}});var me=qh(()=>{F1e()});function L9r(){if(ain)return O1e;ain=!0,O1e.byteLength=S,O1e.toByteArray=$,O1e.fromByteArray=k;for(var r=[],e=[],s=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,h=c.length;d<h;++d)r[d]=c[d],e[c.charCodeAt(d)]=d;e[45]=62,e[95]=63;function y(j){var G=j.length;if(G%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=j.indexOf("=");q===-1&&(q=G);var W=q===G?0:4-q%4;return[q,W]}t(y,"getLens");function S(j){var G=y(j),q=G[0],W=G[1];return(q+W)*3/4-W}t(S,"byteLength");function E(j,G,q){return(G+q)*3/4-q}t(E,"_byteLength");function $(j){var G,q=y(j),W=q[0],K=q[1],te=new s(E(j,W,K)),re=0,ie=K>0?W-4:W,ue;for(ue=0;ue<ie;ue+=4)G=e[j.charCodeAt(ue)]<<18|e[j.charCodeAt(ue+1)]<<12|e[j.charCodeAt(ue+2)]<<6|e[j.charCodeAt(ue+3)],te[re++]=G>>16&255,te[re++]=G>>8&255,te[re++]=G&255;return K===2&&(G=e[j.charCodeAt(ue)]<<2|e[j.charCodeAt(ue+1)]>>4,te[re++]=G&255),K===1&&(G=e[j.charCodeAt(ue)]<<10|e[j.charCodeAt(ue+1)]<<4|e[j.charCodeAt(ue+2)]>>2,te[re++]=G>>8&255,te[re++]=G&255),te}t($,"toByteArray");function T(j){return r[j>>18&63]+r[j>>12&63]+r[j>>6&63]+r[j&63]}t(T,"tripletToBase64");function L(j,G,q){for(var W,K=[],te=G;te<q;te+=3)W=(j[te]<<16&16711680)+(j[te+1]<<8&65280)+(j[te+2]&255),K.push(T(W));return K.join("")}t(L,"encodeChunk");function k(j){for(var G,q=j.length,W=q%3,K=[],te=16383,re=0,ie=q-W;re<ie;re+=te)K.push(L(j,re,re+te>ie?ie:re+te));return W===1?(G=j[q-1],K.push(r[G>>2]+r[G<<4&63]+"==")):W===2&&(G=(j[q-2]<<8)+j[q-1],K.push(r[G>>10]+r[G>>4&63]+r[G<<2&63]+"=")),K.join("")}return t(k,"fromByteArray"),O1e}function M9r(){if(sin)return WLe;sin=!0;return WLe.read=function(r,e,s,c,d){var h,y,S=d*8-c-1,E=(1<<S)-1,$=E>>1,T=-7,L=s?d-1:0,k=s?-1:1,j=r[e+L];for(L+=k,h=j&(1<<-T)-1,j>>=-T,T+=S;T>0;h=h*256+r[e+L],L+=k,T-=8);for(y=h&(1<<-T)-1,h>>=-T,T+=c;T>0;y=y*256+r[e+L],L+=k,T-=8);if(h===0)h=1-$;else{if(h===E)return y?NaN:(j?-1:1)*(1/0);y=y+Math.pow(2,c),h=h-$}return(j?-1:1)*y*Math.pow(2,h-c)},WLe.write=function(r,e,s,c,d,h){var y,S,E,$=h*8-d-1,T=(1<<$)-1,L=T>>1,k=d===23?Math.pow(2,-24)-Math.pow(2,-77):0,j=c?0:h-1,G=c?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(S=isNaN(e)?1:0,y=T):(y=Math.floor(Math.log(e)/Math.LN2),e*(E=Math.pow(2,-y))<1&&(y--,E*=2),y+L>=1?e+=k/E:e+=k*Math.pow(2,1-L),e*E>=2&&(y++,E/=2),y+L>=T?(S=0,y=T):y+L>=1?(S=(e*E-1)*Math.pow(2,d),y=y+L):(S=e*Math.pow(2,L-1)*Math.pow(2,d),y=0));d>=8;r[s+j]=S&255,j+=G,S/=256,d-=8);for(y=y<<d|S,$+=d;$>0;r[s+j]=y&255,j+=G,y/=256,$-=8);r[s+j-G]|=q*128},WLe}function lO(){if(oin)return Mne;oin=!0;let r=L9r(),e=M9r(),s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mne.Buffer=y,Mne.SlowBuffer=K,Mne.INSPECT_MAX_BYTES=50;let c=2147483647;Mne.kMaxLength=c,y.TYPED_ARRAY_SUPPORT=d(),!y.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&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.");function d(){try{let He=new Uint8Array(1),Ce={foo:t(function(){return 42},"foo")};return Object.setPrototypeOf(Ce,Uint8Array.prototype),Object.setPrototypeOf(He,Ce),He.foo()===42}catch{return!1}}t(d,"typedArraySupport"),Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:t(function(){if(y.isBuffer(this))return this.buffer},"get")}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:t(function(){if(y.isBuffer(this))return this.byteOffset},"get")});function h(He){if(He>c)throw new RangeError('The value "'+He+'" is invalid for option "size"');let Ce=new Uint8Array(He);return Object.setPrototypeOf(Ce,y.prototype),Ce}t(h,"createBuffer");function y(He,Ce,Te){if(typeof He=="number"){if(typeof Ce=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return T(He)}return S(He,Ce,Te)}t(y,"Buffer"),y.poolSize=8192;function S(He,Ce,Te){if(typeof He=="string")return L(He,Ce);if(ArrayBuffer.isView(He))return j(He);if(He==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof He);if(vt(He,ArrayBuffer)||He&&vt(He.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(vt(He,SharedArrayBuffer)||He&&vt(He.buffer,SharedArrayBuffer)))return G(He,Ce,Te);if(typeof He=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let Ge=He.valueOf&&He.valueOf();if(Ge!=null&&Ge!==He)return y.from(Ge,Ce,Te);let St=q(He);if(St)return St;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof He[Symbol.toPrimitive]=="function")return y.from(He[Symbol.toPrimitive]("string"),Ce,Te);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof He)}t(S,"from"),y.from=function(He,Ce,Te){return S(He,Ce,Te)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array);function E(He){if(typeof He!="number")throw new TypeError('"size" argument must be of type number');if(He<0)throw new RangeError('The value "'+He+'" is invalid for option "size"')}t(E,"assertSize");function $(He,Ce,Te){return E(He),He<=0?h(He):Ce!==void 0?typeof Te=="string"?h(He).fill(Ce,Te):h(He).fill(Ce):h(He)}t($,"alloc"),y.alloc=function(He,Ce,Te){return $(He,Ce,Te)};function T(He){return E(He),h(He<0?0:W(He)|0)}t(T,"allocUnsafe"),y.allocUnsafe=function(He){return T(He)},y.allocUnsafeSlow=function(He){return T(He)};function L(He,Ce){if((typeof Ce!="string"||Ce==="")&&(Ce="utf8"),!y.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);let Te=te(He,Ce)|0,Ge=h(Te),St=Ge.write(He,Ce);return St!==Te&&(Ge=Ge.slice(0,St)),Ge}t(L,"fromString");function k(He){let Ce=He.length<0?0:W(He.length)|0,Te=h(Ce);for(let Ge=0;Ge<Ce;Ge+=1)Te[Ge]=He[Ge]&255;return Te}t(k,"fromArrayLike");function j(He){if(vt(He,Uint8Array)){let Ce=new Uint8Array(He);return G(Ce.buffer,Ce.byteOffset,Ce.byteLength)}return k(He)}t(j,"fromArrayView");function G(He,Ce,Te){if(Ce<0||He.byteLength<Ce)throw new RangeError('"offset" is outside of buffer bounds');if(He.byteLength<Ce+(Te||0))throw new RangeError('"length" is outside of buffer bounds');let Ge;return Ce===void 0&&Te===void 0?Ge=new Uint8Array(He):Te===void 0?Ge=new Uint8Array(He,Ce):Ge=new Uint8Array(He,Ce,Te),Object.setPrototypeOf(Ge,y.prototype),Ge}t(G,"fromArrayBuffer");function q(He){if(y.isBuffer(He)){let Ce=W(He.length)|0,Te=h(Ce);return Te.length===0||He.copy(Te,0,0,Ce),Te}if(He.length!==void 0)return typeof He.length!="number"||bt(He.length)?h(0):k(He);if(He.type==="Buffer"&&Array.isArray(He.data))return k(He.data)}t(q,"fromObject");function W(He){if(He>=c)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c.toString(16)+" bytes");return He|0}t(W,"checked");function K(He){return+He!=He&&(He=0),y.alloc(+He)}t(K,"SlowBuffer"),y.isBuffer=t(function(Ce){return Ce!=null&&Ce._isBuffer===!0&&Ce!==y.prototype},"isBuffer"),y.compare=t(function(Ce,Te){if(vt(Ce,Uint8Array)&&(Ce=y.from(Ce,Ce.offset,Ce.byteLength)),vt(Te,Uint8Array)&&(Te=y.from(Te,Te.offset,Te.byteLength)),!y.isBuffer(Ce)||!y.isBuffer(Te))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ce===Te)return 0;let Ge=Ce.length,St=Te.length;for(let zt=0,an=Math.min(Ge,St);zt<an;++zt)if(Ce[zt]!==Te[zt]){Ge=Ce[zt],St=Te[zt];break}return Ge<St?-1:St<Ge?1:0},"compare"),y.isEncoding=t(function(Ce){switch(String(Ce).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}},"isEncoding"),y.concat=t(function(Ce,Te){if(!Array.isArray(Ce))throw new TypeError('"list" argument must be an Array of Buffers');if(Ce.length===0)return y.alloc(0);let Ge;if(Te===void 0)for(Te=0,Ge=0;Ge<Ce.length;++Ge)Te+=Ce[Ge].length;let St=y.allocUnsafe(Te),zt=0;for(Ge=0;Ge<Ce.length;++Ge){let an=Ce[Ge];if(vt(an,Uint8Array))zt+an.length>St.length?(y.isBuffer(an)||(an=y.from(an)),an.copy(St,zt)):Uint8Array.prototype.set.call(St,an,zt);else if(y.isBuffer(an))an.copy(St,zt);else throw new TypeError('"list" argument must be an Array of Buffers');zt+=an.length}return St},"concat");function te(He,Ce){if(y.isBuffer(He))return He.length;if(ArrayBuffer.isView(He)||vt(He,ArrayBuffer))return He.byteLength;if(typeof He!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof He);let Te=He.length,Ge=arguments.length>2&&arguments[2]===!0;if(!Ge&&Te===0)return 0;let St=!1;for(;;)switch(Ce){case"ascii":case"latin1":case"binary":return Te;case"utf8":case"utf-8":return le(He).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te*2;case"hex":return Te>>>1;case"base64":return $e(He).length;default:if(St)return Ge?-1:le(He).length;Ce=(""+Ce).toLowerCase(),St=!0}}t(te,"byteLength"),y.byteLength=te;function re(He,Ce,Te){let Ge=!1;if((Ce===void 0||Ce<0)&&(Ce=0),Ce>this.length||((Te===void 0||Te>this.length)&&(Te=this.length),Te<=0)||(Te>>>=0,Ce>>>=0,Te<=Ce))return"";for(He||(He="utf8");;)switch(He){case"hex":return ae(this,Ce,Te);case"utf8":case"utf-8":return Ue(this,Ce,Te);case"ascii":return I(this,Ce,Te);case"latin1":case"binary":return ut(this,Ce,Te);case"base64":return Ke(this,Ce,Te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xt(this,Ce,Te);default:if(Ge)throw new TypeError("Unknown encoding: "+He);He=(He+"").toLowerCase(),Ge=!0}}t(re,"slowToString"),y.prototype._isBuffer=!0;function ie(He,Ce,Te){let Ge=He[Ce];He[Ce]=He[Te],He[Te]=Ge}t(ie,"swap"),y.prototype.swap16=t(function(){let Ce=this.length;if(Ce%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Te=0;Te<Ce;Te+=2)ie(this,Te,Te+1);return this},"swap16"),y.prototype.swap32=t(function(){let Ce=this.length;if(Ce%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Te=0;Te<Ce;Te+=4)ie(this,Te,Te+3),ie(this,Te+1,Te+2);return this},"swap32"),y.prototype.swap64=t(function(){let Ce=this.length;if(Ce%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Te=0;Te<Ce;Te+=8)ie(this,Te,Te+7),ie(this,Te+1,Te+6),ie(this,Te+2,Te+5),ie(this,Te+3,Te+4);return this},"swap64"),y.prototype.toString=t(function(){let Ce=this.length;return Ce===0?"":arguments.length===0?Ue(this,0,Ce):re.apply(this,arguments)},"toString"),y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=t(function(Ce){if(!y.isBuffer(Ce))throw new TypeError("Argument must be a Buffer");return this===Ce?!0:y.compare(this,Ce)===0},"equals"),y.prototype.inspect=t(function(){let Ce="",Te=Mne.INSPECT_MAX_BYTES;return Ce=this.toString("hex",0,Te).replace(/(.{2})/g,"$1 ").trim(),this.length>Te&&(Ce+=" ... "),"<Buffer "+Ce+">"},"inspect"),s&&(y.prototype[s]=y.prototype.inspect),y.prototype.compare=t(function(Ce,Te,Ge,St,zt){if(vt(Ce,Uint8Array)&&(Ce=y.from(Ce,Ce.offset,Ce.byteLength)),!y.isBuffer(Ce))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ce);if(Te===void 0&&(Te=0),Ge===void 0&&(Ge=Ce?Ce.length:0),St===void 0&&(St=0),zt===void 0&&(zt=this.length),Te<0||Ge>Ce.length||St<0||zt>this.length)throw new RangeError("out of range index");if(St>=zt&&Te>=Ge)return 0;if(St>=zt)return-1;if(Te>=Ge)return 1;if(Te>>>=0,Ge>>>=0,St>>>=0,zt>>>=0,this===Ce)return 0;let an=zt-St,dn=Ge-Te,mr=Math.min(an,dn),br=this.slice(St,zt),jr=Ce.slice(Te,Ge);for(let Ri=0;Ri<mr;++Ri)if(br[Ri]!==jr[Ri]){an=br[Ri],dn=jr[Ri];break}return an<dn?-1:dn<an?1:0},"compare");function ue(He,Ce,Te,Ge,St){if(He.length===0)return-1;if(typeof Te=="string"?(Ge=Te,Te=0):Te>2147483647?Te=2147483647:Te<-2147483648&&(Te=-2147483648),Te=+Te,bt(Te)&&(Te=St?0:He.length-1),Te<0&&(Te=He.length+Te),Te>=He.length){if(St)return-1;Te=He.length-1}else if(Te<0)if(St)Te=0;else return-1;if(typeof Ce=="string"&&(Ce=y.from(Ce,Ge)),y.isBuffer(Ce))return Ce.length===0?-1:De(He,Ce,Te,Ge,St);if(typeof Ce=="number")return Ce=Ce&255,typeof Uint8Array.prototype.indexOf=="function"?St?Uint8Array.prototype.indexOf.call(He,Ce,Te):Uint8Array.prototype.lastIndexOf.call(He,Ce,Te):De(He,[Ce],Te,Ge,St);throw new TypeError("val must be string, number or Buffer")}t(ue,"bidirectionalIndexOf");function De(He,Ce,Te,Ge,St){let zt=1,an=He.length,dn=Ce.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(He.length<2||Ce.length<2)return-1;zt=2,an/=2,dn/=2,Te/=2}function mr(jr,Ri){return zt===1?jr[Ri]:jr.readUInt16BE(Ri*zt)}t(mr,"read");let br;if(St){let jr=-1;for(br=Te;br<an;br++)if(mr(He,br)===mr(Ce,jr===-1?0:br-jr)){if(jr===-1&&(jr=br),br-jr+1===dn)return jr*zt}else jr!==-1&&(br-=br-jr),jr=-1}else for(Te+dn>an&&(Te=an-dn),br=Te;br>=0;br--){let jr=!0;for(let Ri=0;Ri<dn;Ri++)if(mr(He,br+Ri)!==mr(Ce,Ri)){jr=!1;break}if(jr)return br}return-1}t(De,"arrayIndexOf"),y.prototype.includes=t(function(Ce,Te,Ge){return this.indexOf(Ce,Te,Ge)!==-1},"includes"),y.prototype.indexOf=t(function(Ce,Te,Ge){return ue(this,Ce,Te,Ge,!0)},"indexOf"),y.prototype.lastIndexOf=t(function(Ce,Te,Ge){return ue(this,Ce,Te,Ge,!1)},"lastIndexOf");function we(He,Ce,Te,Ge){Te=Number(Te)||0;let St=He.length-Te;Ge?(Ge=Number(Ge),Ge>St&&(Ge=St)):Ge=St;let zt=Ce.length;Ge>zt/2&&(Ge=zt/2);let an;for(an=0;an<Ge;++an){let dn=parseInt(Ce.substr(an*2,2),16);if(bt(dn))return an;He[Te+an]=dn}return an}t(we,"hexWrite");function Ne(He,Ce,Te,Ge){return pt(le(Ce,He.length-Te),He,Te,Ge)}t(Ne,"utf8Write");function ze(He,Ce,Te,Ge){return pt(se(Ce),He,Te,Ge)}t(ze,"asciiWrite");function qe(He,Ce,Te,Ge){return pt($e(Ce),He,Te,Ge)}t(qe,"base64Write");function Ze(He,Ce,Te,Ge){return pt(ve(Ce,He.length-Te),He,Te,Ge)}t(Ze,"ucs2Write"),y.prototype.write=t(function(Ce,Te,Ge,St){if(Te===void 0)St="utf8",Ge=this.length,Te=0;else if(Ge===void 0&&typeof Te=="string")St=Te,Ge=this.length,Te=0;else if(isFinite(Te))Te=Te>>>0,isFinite(Ge)?(Ge=Ge>>>0,St===void 0&&(St="utf8")):(St=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let zt=this.length-Te;if((Ge===void 0||Ge>zt)&&(Ge=zt),Ce.length>0&&(Ge<0||Te<0)||Te>this.length)throw new RangeError("Attempt to write outside buffer bounds");St||(St="utf8");let an=!1;for(;;)switch(St){case"hex":return we(this,Ce,Te,Ge);case"utf8":case"utf-8":return Ne(this,Ce,Te,Ge);case"ascii":case"latin1":case"binary":return ze(this,Ce,Te,Ge);case"base64":return qe(this,Ce,Te,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,Ce,Te,Ge);default:if(an)throw new TypeError("Unknown encoding: "+St);St=(""+St).toLowerCase(),an=!0}},"write"),y.prototype.toJSON=t(function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},"toJSON");function Ke(He,Ce,Te){return Ce===0&&Te===He.length?r.fromByteArray(He):r.fromByteArray(He.slice(Ce,Te))}t(Ke,"base64Slice");function Ue(He,Ce,Te){Te=Math.min(He.length,Te);let Ge=[],St=Ce;for(;St<Te;){let zt=He[St],an=null,dn=zt>239?4:zt>223?3:zt>191?2:1;if(St+dn<=Te){let mr,br,jr,Ri;switch(dn){case 1:zt<128&&(an=zt);break;case 2:mr=He[St+1],(mr&192)===128&&(Ri=(zt&31)<<6|mr&63,Ri>127&&(an=Ri));break;case 3:mr=He[St+1],br=He[St+2],(mr&192)===128&&(br&192)===128&&(Ri=(zt&15)<<12|(mr&63)<<6|br&63,Ri>2047&&(Ri<55296||Ri>57343)&&(an=Ri));break;case 4:mr=He[St+1],br=He[St+2],jr=He[St+3],(mr&192)===128&&(br&192)===128&&(jr&192)===128&&(Ri=(zt&15)<<18|(mr&63)<<12|(br&63)<<6|jr&63,Ri>65535&&Ri<1114112&&(an=Ri))}}an===null?(an=65533,dn=1):an>65535&&(an-=65536,Ge.push(an>>>10&1023|55296),an=56320|an&1023),Ge.push(an),St+=dn}return i(Ge)}t(Ue,"utf8Slice");let X=4096;function i(He){let Ce=He.length;if(Ce<=X)return String.fromCharCode.apply(String,He);let Te="",Ge=0;for(;Ge<Ce;)Te+=String.fromCharCode.apply(String,He.slice(Ge,Ge+=X));return Te}t(i,"decodeCodePointsArray");function I(He,Ce,Te){let Ge="";Te=Math.min(He.length,Te);for(let St=Ce;St<Te;++St)Ge+=String.fromCharCode(He[St]&127);return Ge}t(I,"asciiSlice");function ut(He,Ce,Te){let Ge="";Te=Math.min(He.length,Te);for(let St=Ce;St<Te;++St)Ge+=String.fromCharCode(He[St]);return Ge}t(ut,"latin1Slice");function ae(He,Ce,Te){let Ge=He.length;(!Ce||Ce<0)&&(Ce=0),(!Te||Te<0||Te>Ge)&&(Te=Ge);let St="";for(let zt=Ce;zt<Te;++zt)St+=Pt[He[zt]];return St}t(ae,"hexSlice");function xt(He,Ce,Te){let Ge=He.slice(Ce,Te),St="";for(let zt=0;zt<Ge.length-1;zt+=2)St+=String.fromCharCode(Ge[zt]+Ge[zt+1]*256);return St}t(xt,"utf16leSlice"),y.prototype.slice=t(function(Ce,Te){let Ge=this.length;Ce=~~Ce,Te=Te===void 0?Ge:~~Te,Ce<0?(Ce+=Ge,Ce<0&&(Ce=0)):Ce>Ge&&(Ce=Ge),Te<0?(Te+=Ge,Te<0&&(Te=0)):Te>Ge&&(Te=Ge),Te<Ce&&(Te=Ce);let St=this.subarray(Ce,Te);return Object.setPrototypeOf(St,y.prototype),St},"slice");function Re(He,Ce,Te){if(He%1!==0||He<0)throw new RangeError("offset is not uint");if(He+Ce>Te)throw new RangeError("Trying to access beyond buffer length")}t(Re,"checkOffset"),y.prototype.readUintLE=y.prototype.readUIntLE=t(function(Ce,Te,Ge){Ce=Ce>>>0,Te=Te>>>0,Ge||Re(Ce,Te,this.length);let St=this[Ce],zt=1,an=0;for(;++an<Te&&(zt*=256);)St+=this[Ce+an]*zt;return St},"readUIntLE"),y.prototype.readUintBE=y.prototype.readUIntBE=t(function(Ce,Te,Ge){Ce=Ce>>>0,Te=Te>>>0,Ge||Re(Ce,Te,this.length);let St=this[Ce+--Te],zt=1;for(;Te>0&&(zt*=256);)St+=this[Ce+--Te]*zt;return St},"readUIntBE"),y.prototype.readUint8=y.prototype.readUInt8=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,1,this.length),this[Ce]},"readUInt8"),y.prototype.readUint16LE=y.prototype.readUInt16LE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,2,this.length),this[Ce]|this[Ce+1]<<8},"readUInt16LE"),y.prototype.readUint16BE=y.prototype.readUInt16BE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,2,this.length),this[Ce]<<8|this[Ce+1]},"readUInt16BE"),y.prototype.readUint32LE=y.prototype.readUInt32LE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,4,this.length),(this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16)+this[Ce+3]*16777216},"readUInt32LE"),y.prototype.readUint32BE=y.prototype.readUInt32BE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,4,this.length),this[Ce]*16777216+(this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3])},"readUInt32BE"),y.prototype.readBigUInt64LE=rn(t(function(Ce){Ce=Ce>>>0,O(Ce,"offset");let Te=this[Ce],Ge=this[Ce+7];(Te===void 0||Ge===void 0)&&H(Ce,this.length-8);let St=Te+this[++Ce]*2**8+this[++Ce]*2**16+this[++Ce]*2**24,zt=this[++Ce]+this[++Ce]*2**8+this[++Ce]*2**16+Ge*2**24;return BigInt(St)+(BigInt(zt)<<BigInt(32))},"readBigUInt64LE")),y.prototype.readBigUInt64BE=rn(t(function(Ce){Ce=Ce>>>0,O(Ce,"offset");let Te=this[Ce],Ge=this[Ce+7];(Te===void 0||Ge===void 0)&&H(Ce,this.length-8);let St=Te*2**24+this[++Ce]*2**16+this[++Ce]*2**8+this[++Ce],zt=this[++Ce]*2**24+this[++Ce]*2**16+this[++Ce]*2**8+Ge;return(BigInt(St)<<BigInt(32))+BigInt(zt)},"readBigUInt64BE")),y.prototype.readIntLE=t(function(Ce,Te,Ge){Ce=Ce>>>0,Te=Te>>>0,Ge||Re(Ce,Te,this.length);let St=this[Ce],zt=1,an=0;for(;++an<Te&&(zt*=256);)St+=this[Ce+an]*zt;return zt*=128,St>=zt&&(St-=Math.pow(2,8*Te)),St},"readIntLE"),y.prototype.readIntBE=t(function(Ce,Te,Ge){Ce=Ce>>>0,Te=Te>>>0,Ge||Re(Ce,Te,this.length);let St=Te,zt=1,an=this[Ce+--St];for(;St>0&&(zt*=256);)an+=this[Ce+--St]*zt;return zt*=128,an>=zt&&(an-=Math.pow(2,8*Te)),an},"readIntBE"),y.prototype.readInt8=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,1,this.length),this[Ce]&128?(255-this[Ce]+1)*-1:this[Ce]},"readInt8"),y.prototype.readInt16LE=t(function(Ce,Te){Ce=Ce>>>0,Te||Re(Ce,2,this.length);let Ge=this[Ce]|this[Ce+1]<<8;return Ge&32768?Ge|4294901760:Ge},"readInt16LE"),y.prototype.readInt16BE=t(function(Ce,Te){Ce=Ce>>>0,Te||Re(Ce,2,this.length);let Ge=this[Ce+1]|this[Ce]<<8;return Ge&32768?Ge|4294901760:Ge},"readInt16BE"),y.prototype.readInt32LE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,4,this.length),this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16|this[Ce+3]<<24},"readInt32LE"),y.prototype.readInt32BE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,4,this.length),this[Ce]<<24|this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3]},"readInt32BE"),y.prototype.readBigInt64LE=rn(t(function(Ce){Ce=Ce>>>0,O(Ce,"offset");let Te=this[Ce],Ge=this[Ce+7];(Te===void 0||Ge===void 0)&&H(Ce,this.length-8);let St=this[Ce+4]+this[Ce+5]*2**8+this[Ce+6]*2**16+(Ge<<24);return(BigInt(St)<<BigInt(32))+BigInt(Te+this[++Ce]*2**8+this[++Ce]*2**16+this[++Ce]*2**24)},"readBigInt64LE")),y.prototype.readBigInt64BE=rn(t(function(Ce){Ce=Ce>>>0,O(Ce,"offset");let Te=this[Ce],Ge=this[Ce+7];(Te===void 0||Ge===void 0)&&H(Ce,this.length-8);let St=(Te<<24)+this[++Ce]*2**16+this[++Ce]*2**8+this[++Ce];return(BigInt(St)<<BigInt(32))+BigInt(this[++Ce]*2**24+this[++Ce]*2**16+this[++Ce]*2**8+Ge)},"readBigInt64BE")),y.prototype.readFloatLE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,4,this.length),e.read(this,Ce,!0,23,4)},"readFloatLE"),y.prototype.readFloatBE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,4,this.length),e.read(this,Ce,!1,23,4)},"readFloatBE"),y.prototype.readDoubleLE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,8,this.length),e.read(this,Ce,!0,52,8)},"readDoubleLE"),y.prototype.readDoubleBE=t(function(Ce,Te){return Ce=Ce>>>0,Te||Re(Ce,8,this.length),e.read(this,Ce,!1,52,8)},"readDoubleBE");function F(He,Ce,Te,Ge,St,zt){if(!y.isBuffer(He))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ce>St||Ce<zt)throw new RangeError('"value" argument is out of bounds');if(Te+Ge>He.length)throw new RangeError("Index out of range")}t(F,"checkInt"),y.prototype.writeUintLE=y.prototype.writeUIntLE=t(function(Ce,Te,Ge,St){if(Ce=+Ce,Te=Te>>>0,Ge=Ge>>>0,!St){let dn=Math.pow(2,8*Ge)-1;F(this,Ce,Te,Ge,dn,0)}let zt=1,an=0;for(this[Te]=Ce&255;++an<Ge&&(zt*=256);)this[Te+an]=Ce/zt&255;return Te+Ge},"writeUIntLE"),y.prototype.writeUintBE=y.prototype.writeUIntBE=t(function(Ce,Te,Ge,St){if(Ce=+Ce,Te=Te>>>0,Ge=Ge>>>0,!St){let dn=Math.pow(2,8*Ge)-1;F(this,Ce,Te,Ge,dn,0)}let zt=Ge-1,an=1;for(this[Te+zt]=Ce&255;--zt>=0&&(an*=256);)this[Te+zt]=Ce/an&255;return Te+Ge},"writeUIntBE"),y.prototype.writeUint8=y.prototype.writeUInt8=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,1,255,0),this[Te]=Ce&255,Te+1},"writeUInt8"),y.prototype.writeUint16LE=y.prototype.writeUInt16LE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,2,65535,0),this[Te]=Ce&255,this[Te+1]=Ce>>>8,Te+2},"writeUInt16LE"),y.prototype.writeUint16BE=y.prototype.writeUInt16BE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,2,65535,0),this[Te]=Ce>>>8,this[Te+1]=Ce&255,Te+2},"writeUInt16BE"),y.prototype.writeUint32LE=y.prototype.writeUInt32LE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,4,4294967295,0),this[Te+3]=Ce>>>24,this[Te+2]=Ce>>>16,this[Te+1]=Ce>>>8,this[Te]=Ce&255,Te+4},"writeUInt32LE"),y.prototype.writeUint32BE=y.prototype.writeUInt32BE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,4,4294967295,0),this[Te]=Ce>>>24,this[Te+1]=Ce>>>16,this[Te+2]=Ce>>>8,this[Te+3]=Ce&255,Te+4},"writeUInt32BE");function n(He,Ce,Te,Ge,St){R(Ce,Ge,St,He,Te,7);let zt=Number(Ce&BigInt(4294967295));He[Te++]=zt,zt=zt>>8,He[Te++]=zt,zt=zt>>8,He[Te++]=zt,zt=zt>>8,He[Te++]=zt;let an=Number(Ce>>BigInt(32)&BigInt(4294967295));return He[Te++]=an,an=an>>8,He[Te++]=an,an=an>>8,He[Te++]=an,an=an>>8,He[Te++]=an,Te}t(n,"wrtBigUInt64LE");function a(He,Ce,Te,Ge,St){R(Ce,Ge,St,He,Te,7);let zt=Number(Ce&BigInt(4294967295));He[Te+7]=zt,zt=zt>>8,He[Te+6]=zt,zt=zt>>8,He[Te+5]=zt,zt=zt>>8,He[Te+4]=zt;let an=Number(Ce>>BigInt(32)&BigInt(4294967295));return He[Te+3]=an,an=an>>8,He[Te+2]=an,an=an>>8,He[Te+1]=an,an=an>>8,He[Te]=an,Te+8}t(a,"wrtBigUInt64BE"),y.prototype.writeBigUInt64LE=rn(t(function(Ce,Te=0){return n(this,Ce,Te,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64LE")),y.prototype.writeBigUInt64BE=rn(t(function(Ce,Te=0){return a(this,Ce,Te,BigInt(0),BigInt("0xffffffffffffffff"))},"writeBigUInt64BE")),y.prototype.writeIntLE=t(function(Ce,Te,Ge,St){if(Ce=+Ce,Te=Te>>>0,!St){let mr=Math.pow(2,8*Ge-1);F(this,Ce,Te,Ge,mr-1,-mr)}let zt=0,an=1,dn=0;for(this[Te]=Ce&255;++zt<Ge&&(an*=256);)Ce<0&&dn===0&&this[Te+zt-1]!==0&&(dn=1),this[Te+zt]=(Ce/an>>0)-dn&255;return Te+Ge},"writeIntLE"),y.prototype.writeIntBE=t(function(Ce,Te,Ge,St){if(Ce=+Ce,Te=Te>>>0,!St){let mr=Math.pow(2,8*Ge-1);F(this,Ce,Te,Ge,mr-1,-mr)}let zt=Ge-1,an=1,dn=0;for(this[Te+zt]=Ce&255;--zt>=0&&(an*=256);)Ce<0&&dn===0&&this[Te+zt+1]!==0&&(dn=1),this[Te+zt]=(Ce/an>>0)-dn&255;return Te+Ge},"writeIntBE"),y.prototype.writeInt8=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,1,127,-128),Ce<0&&(Ce=255+Ce+1),this[Te]=Ce&255,Te+1},"writeInt8"),y.prototype.writeInt16LE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,2,32767,-32768),this[Te]=Ce&255,this[Te+1]=Ce>>>8,Te+2},"writeInt16LE"),y.prototype.writeInt16BE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,2,32767,-32768),this[Te]=Ce>>>8,this[Te+1]=Ce&255,Te+2},"writeInt16BE"),y.prototype.writeInt32LE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,4,2147483647,-2147483648),this[Te]=Ce&255,this[Te+1]=Ce>>>8,this[Te+2]=Ce>>>16,this[Te+3]=Ce>>>24,Te+4},"writeInt32LE"),y.prototype.writeInt32BE=t(function(Ce,Te,Ge){return Ce=+Ce,Te=Te>>>0,Ge||F(this,Ce,Te,4,2147483647,-2147483648),Ce<0&&(Ce=4294967295+Ce+1),this[Te]=Ce>>>24,this[Te+1]=Ce>>>16,this[Te+2]=Ce>>>8,this[Te+3]=Ce&255,Te+4},"writeInt32BE"),y.prototype.writeBigInt64LE=rn(t(function(Ce,Te=0){return n(this,Ce,Te,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64LE")),y.prototype.writeBigInt64BE=rn(t(function(Ce,Te=0){return a(this,Ce,Te,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))},"writeBigInt64BE"));function l(He,Ce,Te,Ge,St,zt){if(Te+Ge>He.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("Index out of range")}t(l,"checkIEEE754");function u(He,Ce,Te,Ge,St){return Ce=+Ce,Te=Te>>>0,St||l(He,Ce,Te,4),e.write(He,Ce,Te,Ge,23,4),Te+4}t(u,"writeFloat"),y.prototype.writeFloatLE=t(function(Ce,Te,Ge){return u(this,Ce,Te,!0,Ge)},"writeFloatLE"),y.prototype.writeFloatBE=t(function(Ce,Te,Ge){return u(this,Ce,Te,!1,Ge)},"writeFloatBE");function f(He,Ce,Te,Ge,St){return Ce=+Ce,Te=Te>>>0,St||l(He,Ce,Te,8),e.write(He,Ce,Te,Ge,52,8),Te+8}t(f,"writeDouble"),y.prototype.writeDoubleLE=t(function(Ce,Te,Ge){return f(this,Ce,Te,!0,Ge)},"writeDoubleLE"),y.prototype.writeDoubleBE=t(function(Ce,Te,Ge){return f(this,Ce,Te,!1,Ge)},"writeDoubleBE"),y.prototype.copy=t(function(Ce,Te,Ge,St){if(!y.isBuffer(Ce))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!St&&St!==0&&(St=this.length),Te>=Ce.length&&(Te=Ce.length),Te||(Te=0),St>0&&St<Ge&&(St=Ge),St===Ge||Ce.length===0||this.length===0)return 0;if(Te<0)throw new RangeError("targetStart out of bounds");if(Ge<0||Ge>=this.length)throw new RangeError("Index out of range");if(St<0)throw new RangeError("sourceEnd out of bounds");St>this.length&&(St=this.length),Ce.length-Te<St-Ge&&(St=Ce.length-Te+Ge);let zt=St-Ge;return this===Ce&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(Te,Ge,St):Uint8Array.prototype.set.call(Ce,this.subarray(Ge,St),Te),zt},"copy"),y.prototype.fill=t(function(Ce,Te,Ge,St){if(typeof Ce=="string"){if(typeof Te=="string"?(St=Te,Te=0,Ge=this.length):typeof Ge=="string"&&(St=Ge,Ge=this.length),St!==void 0&&typeof St!="string")throw new TypeError("encoding must be a string");if(typeof St=="string"&&!y.isEncoding(St))throw new TypeError("Unknown encoding: "+St);if(Ce.length===1){let an=Ce.charCodeAt(0);(St==="utf8"&&an<128||St==="latin1")&&(Ce=an)}}else typeof Ce=="number"?Ce=Ce&255:typeof Ce=="boolean"&&(Ce=Number(Ce));if(Te<0||this.length<Te||this.length<Ge)throw new RangeError("Out of range index");if(Ge<=Te)return this;Te=Te>>>0,Ge=Ge===void 0?this.length:Ge>>>0,Ce||(Ce=0);let zt;if(typeof Ce=="number")for(zt=Te;zt<Ge;++zt)this[zt]=Ce;else{let an=y.isBuffer(Ce)?Ce:y.from(Ce,St),dn=an.length;if(dn===0)throw new TypeError('The value "'+Ce+'" is invalid for argument "value"');for(zt=0;zt<Ge-Te;++zt)this[zt+Te]=an[zt%dn]}return this},"fill");let _={};function v(He,Ce,Te){_[He]=class extends Te{static{t(this,"NodeError")}constructor(){super(),Object.defineProperty(this,"message",{value:Ce.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${He}]`,this.stack,delete this.name}get code(){return He}set code(St){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:St,writable:!0})}toString(){return`${this.name} [${He}]: ${this.message}`}}}t(v,"E"),v("ERR_BUFFER_OUT_OF_BOUNDS",function(He){return He?`${He} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),v("ERR_INVALID_ARG_TYPE",function(He,Ce){return`The "${He}" argument must be of type number. Received type ${typeof Ce}`},TypeError),v("ERR_OUT_OF_RANGE",function(He,Ce,Te){let Ge=`The value of "${He}" is out of range.`,St=Te;return Number.isInteger(Te)&&Math.abs(Te)>2**32?St=b(String(Te)):typeof Te=="bigint"&&(St=String(Te),(Te>BigInt(2)**BigInt(32)||Te<-(BigInt(2)**BigInt(32)))&&(St=b(St)),St+="n"),Ge+=` It must be ${Ce}. Received ${St}`,Ge},RangeError);function b(He){let Ce="",Te=He.length,Ge=He[0]==="-"?1:0;for(;Te>=Ge+4;Te-=3)Ce=`_${He.slice(Te-3,Te)}${Ce}`;return`${He.slice(0,Te)}${Ce}`}t(b,"addNumericalSeparator");function C(He,Ce,Te){O(Ce,"offset"),(He[Ce]===void 0||He[Ce+Te]===void 0)&&H(Ce,He.length-(Te+1))}t(C,"checkBounds");function R(He,Ce,Te,Ge,St,zt){if(He>Te||He<Ce){let an=typeof Ce=="bigint"?"n":"",dn;throw Ce===0||Ce===BigInt(0)?dn=`>= 0${an} and < 2${an} ** ${(zt+1)*8}${an}`:dn=`>= -(2${an} ** ${(zt+1)*8-1}${an}) and < 2 ** ${(zt+1)*8-1}${an}`,new _.ERR_OUT_OF_RANGE("value",dn,He)}C(Ge,St,zt)}t(R,"checkIntBI");function O(He,Ce){if(typeof He!="number")throw new _.ERR_INVALID_ARG_TYPE(Ce,"number",He)}t(O,"validateNumber");function H(He,Ce,Te){throw Math.floor(He)!==He?(O(He,Te),new _.ERR_OUT_OF_RANGE("offset","an integer",He)):Ce<0?new _.ERR_BUFFER_OUT_OF_BOUNDS:new _.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Ce}`,He)}t(H,"boundsError");let Q=/[^+/0-9A-Za-z-_]/g;function ne(He){if(He=He.split("=")[0],He=He.trim().replace(Q,""),He.length<2)return"";for(;He.length%4!==0;)He=He+"=";return He}t(ne,"base64clean");function le(He,Ce){Ce=Ce||1/0;let Te,Ge=He.length,St=null,zt=[];for(let an=0;an<Ge;++an){if(Te=He.charCodeAt(an),Te>55295&&Te<57344){if(!St){if(Te>56319){(Ce-=3)>-1&&zt.push(239,191,189);continue}else if(an+1===Ge){(Ce-=3)>-1&&zt.push(239,191,189);continue}St=Te;continue}if(Te<56320){(Ce-=3)>-1&&zt.push(239,191,189),St=Te;continue}Te=(St-55296<<10|Te-56320)+65536}else St&&(Ce-=3)>-1&&zt.push(239,191,189);if(St=null,Te<128){if((Ce-=1)<0)break;zt.push(Te)}else if(Te<2048){if((Ce-=2)<0)break;zt.push(Te>>6|192,Te&63|128)}else if(Te<65536){if((Ce-=3)<0)break;zt.push(Te>>12|224,Te>>6&63|128,Te&63|128)}else if(Te<1114112){if((Ce-=4)<0)break;zt.push(Te>>18|240,Te>>12&63|128,Te>>6&63|128,Te&63|128)}else throw new Error("Invalid code point")}return zt}t(le,"utf8ToBytes");function se(He){let Ce=[];for(let Te=0;Te<He.length;++Te)Ce.push(He.charCodeAt(Te)&255);return Ce}t(se,"asciiToBytes");function ve(He,Ce){let Te,Ge,St,zt=[];for(let an=0;an<He.length&&!((Ce-=2)<0);++an)Te=He.charCodeAt(an),Ge=Te>>8,St=Te%256,zt.push(St),zt.push(Ge);return zt}t(ve,"utf16leToBytes");function $e(He){return r.toByteArray(ne(He))}t($e,"base64ToBytes");function pt(He,Ce,Te,Ge){let St;for(St=0;St<Ge&&!(St+Te>=Ce.length||St>=He.length);++St)Ce[St+Te]=He[St];return St}t(pt,"blitBuffer");function vt(He,Ce){return He instanceof Ce||He!=null&&He.constructor!=null&&He.constructor.name!=null&&He.constructor.name===Ce.name}t(vt,"isInstance");function bt(He){return He!==He}t(bt,"numberIsNaN");let Pt=function(){let He="0123456789abcdef",Ce=new Array(256);for(let Te=0;Te<16;++Te){let Ge=Te*16;for(let St=0;St<16;++St)Ce[Ge+St]=He[Te]+He[St]}return Ce}();function rn(He){return typeof BigInt>"u"?Lt:He}t(rn,"defineBigIntMethod");function Lt(){throw new Error("BigInt not supported")}return t(Lt,"BufferBigIntNotDefined"),Mne}var O1e,ain,WLe,sin,Mne,oin,Tue=qh(()=>{_e();ye();he();ge();me();O1e={},ain=!1;t(L9r,"dew$2");WLe={},sin=!1;t(M9r,"dew$1");Mne={},oin=!1;t(lO,"dew")});var X8={};Wk(X8,{Buffer:()=>ft,INSPECT_MAX_BYTES:()=>F9r,default:()=>XX,kMaxLength:()=>O9r});var XX,ft,F9r,O9r,cO=qh(()=>{_e();ye();he();ge();me();Tue();XX=lO();XX.Buffer;XX.SlowBuffer;XX.INSPECT_MAX_BYTES;XX.kMaxLength;ft=XX.Buffer,F9r=XX.INSPECT_MAX_BYTES,O9r=XX.kMaxLength});var ge=qh(()=>{cO()});function lin(){return typeof window<"u"&&typeof window.document<"u"||typeof self<"u"&&typeof self.importScripts=="function"}var cin=qh(()=>{"use strict";_e();ye();he();ge();me();t(lin,"isBrowserOrWorkerEnvironment")});function Y8(r,e,s){return s={path:e,exports:{},require:t(function(c,d){return B9r(c,d??s.path)},"require")},r(s,s.exports),s.exports}function B9r(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var jU,Fne=qh(()=>{_e();ye();he();ge();me();jU=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t(Y8,"createCommonjsModule");t(B9r,"commonjsRequire")});function V9r(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof globalThis<"u")return globalThis;throw new Error("unable to locate global object")}var U9r,B1e,Due,fdt,OEa,zLe,BEa,uin=qh(()=>{_e();ye();he();ge();me();Fne();t(V9r,"getScope");U9r=V9r(),B1e=U9r[Symbol.for("brodeProcess")],Due={nextTick(r,...e){if(!(B1e&&B1e.exitCode!==null)){if(typeof r!="function")throw new TypeError("handler is not a function");queueMicrotask(()=>{try{r(...e)}catch(s){if(B1e&&B1e.hasListeners("uncaughtException")){B1e.emit("uncaughtException",s);return}throw s}})}},emitWarning(r){console.warn(r)}},fdt=Y8(function(r,e){(function(s){var c=Object.hasOwnProperty,d=Array.isArray?Array.isArray:t(function(xt){return Object.prototype.toString.call(xt)==="[object Array]"},"_isArray"),h=10,y=typeof Due=="object"&&typeof Due.nextTick=="function",S=typeof Symbol=="function",E=typeof Reflect=="object",$=typeof setImmediate=="function",T=$?setImmediate:setTimeout,L=S?E&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(ae){var xt=Object.getOwnPropertyNames(ae);return xt.push.apply(xt,Object.getOwnPropertySymbols(ae)),xt}:Object.keys;function k(){this._events={},this._conf&&j.call(this,this._conf)}t(k,"init");function j(ae){ae&&(this._conf=ae,ae.delimiter&&(this.delimiter=ae.delimiter),ae.maxListeners!==s&&(this._maxListeners=ae.maxListeners),ae.wildcard&&(this.wildcard=ae.wildcard),ae.newListener&&(this._newListener=ae.newListener),ae.removeListener&&(this._removeListener=ae.removeListener),ae.verboseMemoryLeak&&(this.verboseMemoryLeak=ae.verboseMemoryLeak),ae.ignoreErrors&&(this.ignoreErrors=ae.ignoreErrors),this.wildcard&&(this.listenerTree={}))}t(j,"configure");function G(ae,xt){var Re="(node) warning: possible EventEmitter memory leak detected. "+ae+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(Re+=" Event name: "+xt+"."),typeof Due<"u"&&Due.emitWarning){var F=new Error(Re);F.name="MaxListenersExceededWarning",F.emitter=this,F.count=ae,Due.emitWarning(F)}else console.error(Re),console.trace&&console.trace()}t(G,"logPossibleMemoryLeak");var q=t(function(ae,xt,Re){var F=arguments.length;switch(F){case 0:return[];case 1:return[ae];case 2:return[ae,xt];case 3:return[ae,xt,Re];default:for(var n=new Array(F);F--;)n[F]=arguments[F];return n}},"toArray");function W(ae,xt){for(var Re={},F,n=ae.length,a=xt?xt.length:0,l=0;l<n;l++)F=ae[l],Re[F]=l<a?xt[l]:s;return Re}t(W,"toObject");function K(ae,xt,Re){this._emitter=ae,this._target=xt,this._listeners={},this._listenersCount=0;var F,n;if((Re.on||Re.off)&&(F=Re.on,n=Re.off),xt.addEventListener?(F=xt.addEventListener,n=xt.removeEventListener):xt.addListener?(F=xt.addListener,n=xt.removeListener):xt.on&&(F=xt.on,n=xt.off),!F&&!n)throw Error("target does not implement any known event API");if(typeof F!="function")throw TypeError("on method must be a function");if(typeof n!="function")throw TypeError("off method must be a function");this._on=F,this._off=n;var a=ae._observers;a?a.push(this):ae._observers=[this]}t(K,"TargetObserver"),Object.assign(K.prototype,{subscribe:t(function(ae,xt,Re){var F=this,n=this._target,a=this._emitter,l=this._listeners,u=t(function(){var f=q.apply(null,arguments),_={data:f,name:xt,original:ae};if(Re){var v=Re.call(n,_);v!==!1&&a.emit.apply(a,[_.name].concat(f));return}a.emit.apply(a,[xt].concat(f))},"handler");if(l[ae])throw Error("Event '"+ae+"' is already listening");this._listenersCount++,a._newListener&&a._removeListener&&!F._onNewListener?(this._onNewListener=function(f){f===xt&&l[ae]===null&&(l[ae]=u,F._on.call(n,ae,u))},a.on("newListener",this._onNewListener),this._onRemoveListener=function(f){f===xt&&!a.hasListeners(f)&&l[ae]&&(l[ae]=null,F._off.call(n,ae,u))},l[ae]=null,a.on("removeListener",this._onRemoveListener)):(l[ae]=u,F._on.call(n,ae,u))},"subscribe"),unsubscribe:t(function(ae){var xt=this,Re=this._listeners,F=this._emitter,n,a,l=this._off,u=this._target,f;if(ae&&typeof ae!="string")throw TypeError("event must be a string");function _(){xt._onNewListener&&(F.off("newListener",xt._onNewListener),F.off("removeListener",xt._onRemoveListener),xt._onNewListener=null,xt._onRemoveListener=null);var v=Ne.call(F,xt);F._observers.splice(v,1)}if(t(_,"clearRefs"),ae){if(n=Re[ae],!n)return;l.call(u,ae,n),delete Re[ae],--this._listenersCount||_()}else{for(a=L(Re),f=a.length;f-- >0;)ae=a[f],l.call(u,ae,Re[ae]);this._listeners={},this._listenersCount=0,_()}},"unsubscribe")});function te(ae,xt,Re,F){var n=Object.assign({},xt);if(!ae)return n;if(typeof ae!="object")throw TypeError("options must be an object");var a=Object.keys(ae),l=a.length,u,f,_;function v(C){throw Error('Invalid "'+u+'" option value'+(C?". Reason: "+C:""))}t(v,"reject");for(var b=0;b<l;b++){if(u=a[b],!F&&!c.call(xt,u))throw Error('Unknown "'+u+'" option');f=ae[u],f!==s&&(_=Re[u],n[u]=_?_(f,v):f)}return n}t(te,"resolveOptions");function re(ae,xt){return(typeof ae!="function"||!ae.hasOwnProperty("prototype"))&&xt("value must be a constructor"),ae}t(re,"constructorReducer");function ie(ae){var xt="value must be type of "+ae.join("|"),Re=ae.length,F=ae[0],n=ae[1];return Re===1?function(a,l){if(typeof a===F)return a;l(xt)}:Re===2?function(a,l){var u=typeof a;if(u===F||u===n)return a;l(xt)}:function(a,l){for(var u=typeof a,f=Re;f-- >0;)if(u===ae[f])return a;l(xt)}}t(ie,"makeTypeReducer");var ue=ie(["function"]),De=ie(["object","function"]);function we(ae,xt,Re){var F,n,a=0,l,u=new ae(function(f,_,v){Re=te(Re,{timeout:0,overload:!1},{timeout:t(function(O,H){return O*=1,(typeof O!="number"||O<0||!Number.isFinite(O))&&H("timeout must be a positive number"),O},"timeout")}),F=!Re.overload&&typeof ae.prototype.cancel=="function"&&typeof v=="function";function b(){n&&(n=null),a&&(clearTimeout(a),a=0)}t(b,"cleanup");var C=t(function(O){b(),f(O)},"_resolve"),R=t(function(O){b(),_(O)},"_reject");F?xt(C,R,v):(n=[function(O){R(O||Error("canceled"))}],xt(C,R,function(O){if(l)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof O!="function")throw TypeError("onCancel callback must be a function");n.push(O)}),l=!0),Re.timeout>0&&(a=setTimeout(function(){var O=Error("timeout");O.code="ETIMEDOUT",a=0,u.cancel(O),_(O)},Re.timeout))});return F||(u.cancel=function(f){if(n){for(var _=n.length,v=1;v<_;v++)n[v](f);n[0](f),n=null}}),u}t(we,"makeCancelablePromise");function Ne(ae){var xt=this._observers;if(!xt)return-1;for(var Re=xt.length,F=0;F<Re;F++)if(xt[F]._target===ae)return F;return-1}t(Ne,"findTargetIndex");function ze(ae,xt,Re,F,n){if(!Re)return null;if(F===0){var a=typeof xt;if(a==="string"){var l,u,f=0,_=0,v=this.delimiter,b=v.length;if((u=xt.indexOf(v))!==-1){l=new Array(5);do l[f++]=xt.slice(_,u),_=u+b;while((u=xt.indexOf(v,_))!==-1);l[f++]=xt.slice(_),xt=l,n=f}else xt=[xt],n=1}else a==="object"?n=xt.length:(xt=[xt],n=1)}var C=null,R,O,H,Q,ne,le=xt[F],se=xt[F+1],ve,$e;if(F===n)Re._listeners&&(typeof Re._listeners=="function"?(ae&&ae.push(Re._listeners),C=[Re]):(ae&&ae.push.apply(ae,Re._listeners),C=[Re]));else if(le==="*"){for(ve=L(Re),u=ve.length;u-- >0;)R=ve[u],R!=="_listeners"&&($e=ze(ae,xt,Re[R],F+1,n),$e&&(C?C.push.apply(C,$e):C=$e));return C}else if(le==="**"){for(ne=F+1===n||F+2===n&&se==="*",ne&&Re._listeners&&(C=ze(ae,xt,Re,n,n)),ve=L(Re),u=ve.length;u-- >0;)R=ve[u],R!=="_listeners"&&(R==="*"||R==="**"?(Re[R]._listeners&&!ne&&($e=ze(ae,xt,Re[R],n,n),$e&&(C?C.push.apply(C,$e):C=$e)),$e=ze(ae,xt,Re[R],F,n)):R===se?$e=ze(ae,xt,Re[R],F+2,n):$e=ze(ae,xt,Re[R],F,n),$e&&(C?C.push.apply(C,$e):C=$e));return C}else Re[le]&&(C=ze(ae,xt,Re[le],F+1,n));if(O=Re["*"],O&&ze(ae,xt,O,F+1,n),H=Re["**"],H)if(F<n)for(H._listeners&&ze(ae,xt,H,n,n),ve=L(H),u=ve.length;u-- >0;)R=ve[u],R!=="_listeners"&&(R===se?ze(ae,xt,H[R],F+2,n):R===le?ze(ae,xt,H[R],F+1,n):(Q={},Q[R]=H[R],ze(ae,xt,{"**":Q},F+1,n)));else H._listeners?ze(ae,xt,H,n,n):H["*"]&&H["*"]._listeners&&ze(ae,xt,H["*"],n,n);return C}t(ze,"searchListenerTree");function qe(ae,xt,Re){var F=0,n=0,a,l=this.delimiter,u=l.length,f;if(typeof ae=="string")if((a=ae.indexOf(l))!==-1){f=new Array(5);do f[F++]=ae.slice(n,a),n=a+u;while((a=ae.indexOf(l,n))!==-1);f[F++]=ae.slice(n)}else f=[ae],F=1;else f=ae,F=ae.length;if(F>1){for(a=0;a+1<F;a++)if(f[a]==="**"&&f[a+1]==="**")return}var _=this.listenerTree,v;for(a=0;a<F;a++)if(v=f[a],_=_[v]||(_[v]={}),a===F-1)return _._listeners?(typeof _._listeners=="function"&&(_._listeners=[_._listeners]),Re?_._listeners.unshift(xt):_._listeners.push(xt),!_._listeners.warned&&this._maxListeners>0&&_._listeners.length>this._maxListeners&&(_._listeners.warned=!0,G.call(this,_._listeners.length,v))):_._listeners=xt,!0;return!0}t(qe,"growListenerTree");function Ze(ae,xt,Re,F){for(var n=L(ae),a=n.length,l,u,f,_=ae._listeners,v;a-- >0;)u=n[a],l=ae[u],u==="_listeners"?f=Re:f=Re?Re.concat(u):[u],v=F||typeof u=="symbol",_&&xt.push(v?f:f.join(this.delimiter)),typeof l=="object"&&Ze.call(this,l,xt,f,v);return xt}t(Ze,"collectTreeEvents");function Ke(ae){for(var xt=L(ae),Re=xt.length,F,n,a;Re-- >0;)n=xt[Re],F=ae[n],F&&(a=!0,n!=="_listeners"&&!Ke(F)&&delete ae[n]);return a}t(Ke,"recursivelyGarbageCollect");function Ue(ae,xt,Re){this.emitter=ae,this.event=xt,this.listener=Re}t(Ue,"Listener"),Ue.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function X(ae,xt,Re){if(Re===!0)n=!0;else if(Re===!1)F=!0;else{if(!Re||typeof Re!="object")throw TypeError("options should be an object or true");var F=Re.async,n=Re.promisify,a=Re.nextTick,l=Re.objectify}if(F||a||n){var u=xt,f=xt._origin||xt;if(a&&!y)throw Error("process.nextTick is not supported");n===s&&(n=xt.constructor.name==="AsyncFunction"),xt=t(function(){var _=arguments,v=this,b=this.event;return n?a?Promise.resolve():new Promise(function(C){T(C)}).then(function(){return v.event=b,u.apply(v,_)}):(a?Due.nextTick:T)(function(){v.event=b,u.apply(v,_)})},"listener"),xt._async=!0,xt._origin=f}return[xt,l?new Ue(this,ae,xt):this]}t(X,"setupListener");function i(ae){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,j.call(this,ae)}t(i,"EventEmitter"),i.EventEmitter2=i,i.prototype.listenTo=function(ae,xt,Re){if(typeof ae!="object")throw TypeError("target musts be an object");var F=this;Re=te(Re,{on:s,off:s,reducers