tabby/clients/tabby-agent/dist/index.global.js

50 lines
235 KiB
JavaScript
Raw Normal View History

var Tabby = (function (exports) {
'use strict';
var IA=Object.create;var wa=Object.defineProperty;var NA=Object.getOwnPropertyDescriptor;var xA=Object.getOwnPropertyNames;var PA=Object.getPrototypeOf,LA=Object.prototype.hasOwnProperty;var CA=(e,t,r)=>t in e?wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ea=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var St=(e,t)=>()=>(e&&(t=e(e=0)),t);var Be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Cn=(e,t)=>{for(var r in t)wa(e,r,{get:t[r],enumerable:!0});},Td=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xA(t))!LA.call(e,o)&&o!==r&&wa(e,o,{get:()=>t[o],enumerable:!(n=NA(t,o))||n.enumerable});return e};var Ii=(e,t,r)=>(r=e!=null?IA(PA(e)):{},Td(t||!e||!e.__esModule?wa(r,"default",{value:e,enumerable:!0}):r,e));var st=(e,t,r)=>(CA(e,typeof t!="symbol"?t+"":t,r),r),sl=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var Q=(e,t,r)=>(sl(e,t,"read from private field"),r?r.call(e):t.get(e)),ot=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r);},Ke=(e,t,r,n)=>(sl(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Fs=(e,t,r,n)=>({set _(o){Ke(e,t,o,r);},get _(){return Q(e,t,n)}}),rt=(e,t,r)=>(sl(e,t,"access private method"),r);var oe,N=St(()=>{oe=globalThis;});var x=St(()=>{});var P=St(()=>{});var te={};Cn(te,{_debugEnd:()=>yy,_debugProcess:()=>dy,_events:()=>xy,_eventsCount:()=>Py,_exiting:()=>Kd,_fatalExceptions:()=>ly,_getActiveHandles:()=>Qd,_getActiveRequests:()=>Jd,_kill:()=>ty,_linkedBinding:()=>Zd,_maxListeners:()=>Ny,_preload_modules:()=>Ty,_rawDebug:()=>zd,_startProfilerIdleNotifier:()=>my,_stopProfilerIdleNotifier:()=>gy,_tickCallback:()=>py,abort:()=>_y,addListener:()=>Ly,allowedNodeEnvironmentFlags:()=>sy,arch:()=>Ld,argv:()=>Fd,argv0:()=>Ry,assert:()=>uy,binding:()=>jd,chdir:()=>Hd,config:()=>Yd,cpuUsage:()=>Us,cwd:()=>qd,debugPort:()=>Oy,default:()=>$y,dlopen:()=>Xd,domain:()=>Vd,emit:()=>ky,emitWarning:()=>Md,env:()=>Bd,execArgv:()=>Dd,execPath:()=>Ay,exit:()=>oy,features:()=>fy,hasUncaughtExceptionCaptureCallback:()=>hy,hrtime:()=>ks,kill:()=>iy,listeners:()=>jy,memoryUsage:()=>ny,moduleLoadList:()=>Wd,nextTick:()=>Nd,off:()=>By,on:()=>Fn,once:()=>Cy,openStdin:()=>ay,pid:()=>Sy,platform:()=>Cd,ppid:()=>by,prependListener:()=>Uy,prependOnceListener:()=>My,reallyExit:()=>ey,release:()=>Gd,removeAllListeners:()=>Dy,removeListener:()=>Fy,resourceUsage:()=>ry,setSourceMapsEnabled:()=>Iy,setUncaughtExceptionCaptureCallback:()=>cy,stderr:()=>wy,stdin:()=>Ey,stdout:()=>vy,title:()=>Pd,umask:()=>$d,uptime:()=>yo,version:()=>kd,versions:()=>Ud});function ll(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function BA(){!po||!Ni||(po=!1,Ni.length?Bn=Ni.concat(Bn):Ds=-1,Bn.length&&Id());}function Id(){if(!po){var e=setTimeout(BA,0);po=!0;for(var t=Bn.length;t;){for(Ni=Bn,Bn=[];++Ds<t;)Ni&&Ni[Ds].run();Ds=-1,t=Bn.length;}Ni=null,po=!1,clearTimeout(e);}}function Nd(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Bn.push(new xd(e,t)),Bn.length===1&&!po&&setTimeout(Id,0);}function xd(e,t){this.fun=e,this.array=t;}function ur(){}function Zd(e){ll("_linkedBinding");}function Xd(e){ll("dlopen");}function Jd(){return []}function Qd(){return []}function uy(e,t){if(!e)throw new Error(t||"assertion error")}function hy(){return !1}function yo(){return ri.now()/1e3}function ks(e){var t=Math.floor((Date.now()-ri.now())*.001),r=ri.now()*.001,n=Math.floor(r)+t,o=Math.floor(r%1*1e9);return e&&(n=n-e[0],o=o-e[1],o<0&&(n--,o+=fl)),[n,o]}function Fn(){return $y}function jy(e){return []}var Bn,po,Ni,Ds,Pd,Ld,Cd,Bd,Fd,Dd,kd,Ud,Md,jd,$d,qd,Hd,Gd,zd,Wd,Vd,Kd,Yd,ey,ty,Us,ry,ny,iy,oy,ay,sy,fy,ly,cy,py,dy,yy,my,gy,vy,wy,Ey,_y,Sy,by,Ay,Oy,Ry,Ty,Iy,ri,ul,fl,Ny,xy,Py,Ly,Cy,By,Fy,Dy,ky,Uy,My,$y,Ms=St(
`)>=0)return !1;return !0}function bR(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=pn.call(Array(e.indent+1)," ");else return null;return {base:r,prev:pn.call(Array(t+1),r)}}function Ml(e,t){if(e.length===0)return "";var r=`
`+t.prev+t.base;return r+pn.call(e,","+r)+`
`+t.prev}function eu(e,t){var r=Ul(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=oi(e,o)?t(e[o],e):"";}var a=typeof Cl=="function"?Cl(e):[],i;if(Ao){i={};for(var f=0;f<a.length;f++)i["$"+a[f]]=a[f];}for(var l in e)oi(e,l)&&(r&&String(Number(l))===l&&l<e.length||Ao&&i["$"+l]instanceof Symbol||(xg.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof Cl=="function")for(var c=0;c<a.length;c++)Pg.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}});var zl=Be((Zq,Ug)=>{N();x();P();C();L();var Hl=Xr(),Oo=_r(),AR=kg(),OR=Hl("%TypeError%"),nu=Hl("%WeakMap%",!0),iu=Hl("%Map%",!0),RR=Oo("WeakMap.prototype.get",!0),TR=Oo("WeakMap.prototype.set",!0),IR=Oo("WeakMap.prototype.has",!0),NR=Oo("Map.prototype.get",!0),xR=Oo("Map.prototype.set",!0),PR=Oo("Map.prototype.has",!0),Gl=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},LR=function(e,t){var r=Gl(e,t);return r&&r.value},CR=function(e,t,r){var n=Gl(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r};},BR=function(e,t){return !!Gl(e,t)};Ug.exports=function(){var t,r,n,o={assert:function(a){if(!o.has(a))throw new OR("Side channel does not contain "+AR(a))},get:function(a){if(nu&&a&&(typeof a=="object"||typeof a=="function")){if(t)return RR(t,a)}else if(iu){if(r)return NR(r,a)}else if(n)return LR(n,a)},has:function(a){if(nu&&a&&(typeof a=="object"||typeof a=="function")){if(t)return IR(t,a)}else if(iu){if(r)return PR(r,a)}else if(n)return BR(n,a);return !1},set:function(a,i){nu&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new nu),TR(t,a,i)):iu?(r||(r=new iu),xR(r,a,i)):(n||(n={key:{},next:null}),CR(n,a,i));}};return o};});var jg=Be((Qq,Mg)=>{N();x();P();C();L();var FR=Xr(),DR=gl(),Pa=zl()(),Un=FR("%TypeError%"),Wl={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Un("`O` is not an object");if(typeof t!="string")throw new Un("`slot` must be a string");if(Pa.assert(e),!Wl.has(e,t))throw new Un("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Un("`O` is not an object");if(typeof t!="string")throw new Un("`slot` must be a string");var r=Pa.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new Un("`O` is not an object");if(typeof t!="string")throw new Un("`slot` must be a string");var r=Pa.get(e);return !!r&&DR(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new Un("`O` is not an object");if(typeof t!="string")throw new Un("`slot` must be a string");var n=Pa.get(e);n||(n={},Pa.set(e,n)),n["$"+t]=r;}};Object.freeze&&Object.freeze(Wl);Mg.exports=Wl;});var Hg=Be((o7,qg)=>{N();x();P();C();L();var La=jg(),kR=SyntaxError,$g=typeof StopIteration=="object"?StopIteration:null;qg.exports=function(t){if(!$g)throw new kR("this environment lacks StopIteration");La.set(t,"[[Done]]",!1);var r={next:function(){var o=La.get(this,"[[Iterator]]"),a=La.get(o,"[[Done]]");try{return {done:a,value:a?void 0:o.next()}}catch(i){if(La.set(o,"[[Done]]",!0),i!==$g)throw i;return {done:!0,value:void 0}}}};return La.set(r,"[[Iterator]]",t),r};});var Zl=Be((c7,Gg)=>{N();x();P();C();L();var UR={}.toString;Gg.exports=Array.isArray||function(e){return UR.call(e)=="[object Array]"};});var Vl=Be((g7,zg)=>{N();x();P();C();L();var MR=String.prototype.valueOf,jR=function(t){try{return MR.call(t),!0}catch{return !1}},$R=Object.prototype.toString,qR="[object String]",HR=kn()();zg.exports=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:HR?jR(t):$R.call(t)===qR};});var Yl=Be((b7,Vg)=>{N();x();P();C();L();var Kl=typeof Map=="function"&&Map.prototype?Map:null,GR=typeof Set=="function"&&Set.prototype?Set:null,ou;Kl||(ou=function(t){return !1});var Zg=Kl?Map.prototype.has:null,Wg=GR?Set.prototype.has:null;!ou&&!Zg&&(ou=function(t){return !1});Vg.exports=ou||function(t){if(!t||typeof t!="object")return !1;try{if(Zg.call(t),Wg)try{Wg.call(t);}catch{return !0}return t instanceof Kl}catch{}return !1};});var Jl=Be((N7,Xg)=>{N(
2023-06-06 14:25:31 +00:00
(see https://github.com/puleos/object-hash/issues/26)
Use "options.replacer" or "options.ignoreUnknown"
`)},_domwindow:function(){return D("domwindow")},_bigint:function(B){return D("bigint:"+B.toString())},_process:function(){return D("process")},_timer:function(){return D("timer")},_pipe:function(){return D("pipe")},_tcp:function(){return D("tcp")},_udp:function(){return D("udp")},_tty:function(){return D("tty")},_statwatcher:function(){return D("statwatcher")},_securecontext:function(){return D("securecontext")},_connection:function(){return D("connection")},_zlib:function(){return D("zlib")},_context:function(){return D("context")},_nodescript:function(){return D("nodescript")},_httpparser:function(){return D("httpparser")},_dataview:function(){return D("dataview")},_signal:function(){return D("signal")},_fsevent:function(){return D("fsevent")},_tlswrap:function(){return D("tlswrap")}}}function $(){return {buf:"",write:function(q){this.buf+=q;},end:function(q){this.buf+=q;},read:function(){return this.buf}}}r.writeToStream=function(q,K,j){return j===void 0&&(j=K,K={}),F(K=S(q,K),j).dispatch(q)};}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/");},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(n,o,a,i,f,l,c,p,y){(function(m){var g=typeof Uint8Array<"u"?Uint8Array:Array,h="+".charCodeAt(0),E="/".charCodeAt(0),S="0".charCodeAt(0),O="a".charCodeAt(0),F="A".charCodeAt(0),$="-".charCodeAt(0),q="_".charCodeAt(0);function K(j){return j=j.charCodeAt(0),j===h||j===$?62:j===E||j===q?63:j<S?-1:j<S+10?j-S+26+26:j<F+26?j-F:j<O+26?j-O+26:void 0}m.toByteArray=function(j){var D,B;if(0<j.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var H=j.length,H=j.charAt(H-2)==="="?2:j.charAt(H-1)==="="?1:0,J=new g(3*j.length/4-H),ge=0<H?j.length-4:j.length,V=0;function ne(se){J[V++]=se;}for(D=0;D<ge;D+=4,0)ne((16711680&(B=K(j.charAt(D))<<18|K(j.charAt(D+1))<<12|K(j.charAt(D+2))<<6|K(j.charAt(D+3))))>>16),ne((65280&B)>>8),ne(255&B);return H==2?ne(255&(B=K(j.charAt(D))<<2|K(j.charAt(D+1))>>4)):H==1&&(ne((B=K(j.charAt(D))<<10|K(j.charAt(D+1))<<4|K(j.charAt(D+2))>>2)>>8&255),ne(255&B)),J},m.fromByteArray=function(j){var D,B,H,J,ge=j.length%3,V="";function ne(se){return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(se)}for(D=0,H=j.length-ge;D<H;D+=3)B=(j[D]<<16)+(j[D+1]<<8)+j[D+2],V+=ne((J=B)>>18&63)+ne(J>>12&63)+ne(J>>6&63)+ne(63&J);switch(ge){case 1:V=(V+=ne((B=j[j.length-1])>>2))+ne(B<<4&63)+"==";break;case 2:V=(V=(V+=ne((B=(j[j.length-2]<<8)+j[j.length-1])>>10))+ne(B>>4&63))+ne(B<<2&63)+"=";}return V};})(r===void 0?this.base64js={}:r);}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib");},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(n,o,h,i,f,l,c,p,y){var m=e("base64-js"),g=e("ieee754");function h(A,T,Y){if(!(this instanceof h))return new h(A,T,Y);var ye,ve,M,Z,Re=typeof A;if(T==="base64"&&Re=="string")for(A=(Z=A).trim?Z.trim():Z.replace(/^\s+|\s+$/g,"");A.length%4!=0;)A+="=";if(Re=="number")ye=Ie(A);else if(Re=="string")ye=h.byteLength(A,T);else {if(Re!="object")throw new Error("First argument needs to be a number, array or string.");ye=Ie(A.length);}if(h._useTypedArrays?ve=h._augment(new Uint8Array(ye)):((ve=this).length=ye,ve._isBuffer=!0),h._useTypedArrays&&typeof A.byteLength=="number")ve._set(A);else if(re(Z=A)||h.isBuffer(Z)||Z&&typeof Z=="object"&&typeof Z.length=="number")for(M=0;M<ye;M++)h.isBuffer(A)?ve[M]=A.readUInt8(M):ve[M]=A[M];else if(Re=="string")ve.write(A,0,T);else if(Re=="number"&&!h._useTypedArrays&&!Y)for(M=0;M<ye;M++)ve[M]=0;return ve}function E(A,T,Y,ye){return h._charsWritten=Ne(function(ve){for(var M=[],Z=0;Z<ve.length;Z++)M.push(255&ve.charCodeAt(Z));return M}(T),A,Y,ye)}function S(A,T,Y,ye){return h._charsWritten=Ne(function(ve){for(var M,Z,Re=[],De=0;De<ve.length;De++)Z=ve.charCodeAt(De),M=Z>>8,Z=Z%256,Re.push(Z),R
list should be an Array.`),A.length===0)return new h(0);if(A.length===1)return A[0];if(typeof T!="number")for(ve=T=0;ve<A.length;ve++)T+=A[ve].length;for(var Y=new h(T),ye=0,ve=0;ve<A.length;ve++){var M=A[ve];M.copy(Y,ye),ye+=M.length;}return Y},h.prototype.write=function(A,T,Y,ye){isFinite(T)?isFinite(Y)||(ye=Y,Y=void 0):(De=ye,ye=T,T=Y,Y=De),T=Number(T)||0;var ve,M,Z,Re,De=this.length-T;switch((!Y||De<(Y=Number(Y)))&&(Y=De),ye=String(ye||"utf8").toLowerCase()){case"hex":ve=function(je,He,$e,at){$e=Number($e)||0;var it=je.length-$e;(!at||it<(at=Number(at)))&&(at=it),Le((it=He.length)%2==0,"Invalid hex string"),it/2<at&&(at=it/2);for(var tt=0;tt<at;tt++){var _t=parseInt(He.substr(2*tt,2),16);Le(!isNaN(_t),"Invalid hex string"),je[$e+tt]=_t;}return h._charsWritten=2*tt,tt}(this,A,T,Y);break;case"utf8":case"utf-8":M=this,Z=T,Re=Y,ve=h._charsWritten=Ne(pe(A),M,Z,Re);break;case"ascii":case"binary":ve=E(this,A,T,Y);break;case"base64":M=this,Z=T,Re=Y,ve=h._charsWritten=Ne(we(A),M,Z,Re);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":ve=S(this,A,T,Y);break;default:throw new Error("Unknown encoding")}return ve},h.prototype.toString=function(A,T,Y){var ye,ve,M,Z,Re=this;if(A=String(A||"utf8").toLowerCase(),T=Number(T)||0,(Y=Y!==void 0?Number(Y):Re.length)===T)return "";switch(A){case"hex":ye=function(De,je,He){var $e=De.length;(!je||je<0)&&(je=0),(!He||He<0||$e<He)&&(He=$e);for(var at="",it=je;it<He;it++)at+=ee(De[it]);return at}(Re,T,Y);break;case"utf8":case"utf-8":ye=function(De,je,He){var $e="",at="";He=Math.min(De.length,He);for(var it=je;it<He;it++)De[it]<=127?($e+=Ge(at)+String.fromCharCode(De[it]),at=""):at+="%"+De[it].toString(16);return $e+Ge(at)}(Re,T,Y);break;case"ascii":case"binary":ye=O(Re,T,Y);break;case"base64":ve=Re,Z=Y,ye=(M=T)===0&&Z===ve.length?m.fromByteArray(ve):m.fromByteArray(ve.slice(M,Z));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":ye=function(De,je,He){for(var $e=De.slice(je,He),at="",it=0;it<$e.length;it+=2)at+=String.fromCharCode($e[it]+256*$e[it+1]);return at}(Re,T,Y);break;default:throw new Error("Unknown encoding")}return ye},h.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},h.prototype.copy=function(A,T,Y,ye){if(T=T||0,(ye=ye||ye===0?ye:this.length)!==(Y=Y||0)&&A.length!==0&&this.length!==0){Le(Y<=ye,"sourceEnd < sourceStart"),Le(0<=T&&T<A.length,"targetStart out of bounds"),Le(0<=Y&&Y<this.length,"sourceStart out of bounds"),Le(0<=ye&&ye<=this.length,"sourceEnd out of bounds"),ye>this.length&&(ye=this.length);var ve=(ye=A.length-T<ye-Y?A.length-T+Y:ye)-Y;if(ve<100||!h._useTypedArrays)for(var M=0;M<ve;M++)A[M+T]=this[M+Y];else A._set(this.subarray(Y,Y+ve),T);}},h.prototype.slice=function(A,T){var Y=this.length;if(A=Oe(A,Y,0),T=Oe(T,Y,Y),h._useTypedArrays)return h._augment(this.subarray(A,T));for(var ye=T-A,ve=new h(ye,void 0,!0),M=0;M<ye;M++)ve[M]=this[M+A];return ve},h.prototype.get=function(A){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(A)},h.prototype.set=function(A,T){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(A,T)},h.prototype.readUInt8=function(A,T){if(T||(Le(A!=null,"missing offset"),Le(A<this.length,"Trying to read beyond buffer length")),!(A>=this.length))return this[A]},h.prototype.readUInt16LE=function(A,T){return F(this,A,!0,T)},h.prototype.readUInt16BE=function(A,T){return F(this,A,!1,T)},h.prototype.readUInt32LE=function(A,T){return $(this,A,!0,T)},h.prototype.readUInt32BE=function(A,T){return $(this,A,!1,T)},h.prototype.readInt8=function(A,T){if(T||(Le(A!=null,"missing offset"),Le(A<this.length,"Trying to read beyond buffer length")),!(A>=this.length))return 128&this[A]?-1*(255-this[A]+1):this[A]},h.prototype.readInt16LE=function(A,T){return q(this,A,!0,T)},h.prototype.readInt16BE=function(A,T){return q(this,A,!1,T)},h.prototype.readInt32LE=function(A,T){return K(this,A,!0,T)},h.prototype.readInt32BE=function(A,T){return K(this,A,!1,T)},h.prototype.readFloatLE=function(A,T){return j(this,A,!0,T)},h.prot
`))}F.fill(0),r.createHash=function(B){return $(B)},r.createHmac=$,r.randomBytes=function(B,H){if(!H||!H.call)return new m(E(B));try{H.call(this,void 0,new m(E(B)));}catch(J){H(J);}};var K,j=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],D=function(B){r[B]=function(){q("sorry,",B,"is not implemented yet");};};for(K in j)D(j[K]);}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify");},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(n,o,a,i,f,l,c,p,y){var m=e("./helpers");function g(q,K){q[K>>5]|=128<<K%32,q[14+(K+64>>>9<<4)]=K;for(var j=1732584193,D=-271733879,B=-1732584194,H=271733878,J=0;J<q.length;J+=16){var ge=j,V=D,ne=B,se=H,j=E(j,D,B,H,q[J+0],7,-680876936),H=E(H,j,D,B,q[J+1],12,-389564586),B=E(B,H,j,D,q[J+2],17,606105819),D=E(D,B,H,j,q[J+3],22,-1044525330);j=E(j,D,B,H,q[J+4],7,-176418897),H=E(H,j,D,B,q[J+5],12,1200080426),B=E(B,H,j,D,q[J+6],17,-1473231341),D=E(D,B,H,j,q[J+7],22,-45705983),j=E(j,D,B,H,q[J+8],7,1770035416),H=E(H,j,D,B,q[J+9],12,-1958414417),B=E(B,H,j,D,q[J+10],17,-42063),D=E(D,B,H,j,q[J+11],22,-1990404162),j=E(j,D,B,H,q[J+12],7,1804603682),H=E(H,j,D,B,q[J+13],12,-40341101),B=E(B,H,j,D,q[J+14],17,-1502002290),j=S(j,D=E(D,B,H,j,q[J+15],22,1236535329),B,H,q[J+1],5,-165796510),H=S(H,j,D,B,q[J+6],9,-1069501632),B=S(B,H,j,D,q[J+11],14,643717713),D=S(D,B,H,j,q[J+0],20,-373897302),j=S(j,D,B,H,q[J+5],5,-701558691),H=S(H,j,D,B,q[J+10],9,38016083),B=S(B,H,j,D,q[J+15],14,-660478335),D=S(D,B,H,j,q[J+4],20,-405537848),j=S(j,D,B,H,q[J+9],5,568446438),H=S(H,j,D,B,q[J+14],9,-1019803690),B=S(B,H,j,D,q[J+3],14,-187363961),D=S(D,B,H,j,q[J+8],20,1163531501),j=S(j,D,B,H,q[J+13],5,-1444681467),H=S(H,j,D,B,q[J+2],9,-51403784),B=S(B,H,j,D,q[J+7],14,1735328473),j=O(j,D=S(D,B,H,j,q[J+12],20,-1926607734),B,H,q[J+5],4,-378558),H=O(H,j,D,B,q[J+8],11,-2022574463),B=O(B,H,j,D,q[J+11],16,1839030562),D=O(D,B,H,j,q[J+14],23,-35309556),j=O(j,D,B,H,q[J+1],4,-1530992060),H=O(H,j,D,B,q[J+4],11,1272893353),B=O(B,H,j,D,q[J+7],16,-155497632),D=O(D,B,H,j,q[J+10],23,-1094730640),j=O(j,D,B,H,q[J+13],4,681279174),H=O(H,j,D,B,q[J+0],11,-358537222),B=O(B,H,j,D,q[J+3],16,-722521979),D=O(D,B,H,j,q[J+6],23,76029189),j=O(j,D,B,H,q[J+9],4,-640364487),H=O(H,j,D,B,q[J+12],11,-421815835),B=O(B,H,j,D,q[J+15],16,530742520),j=F(j,D=O(D,B,H,j,q[J+2],23,-995338651),B,H,q[J+0],6,-198630844),H=F(H,j,D,B,q[J+7],10,1126891415),B=F(B,H,j,D,q[J+14],15,-1416354905),D=F(D,B,H,j,q[J+5],21,-57434055),j=F(j,D,B,H,q[J+12],6,1700485571),H=F(H,j,D,B,q[J+3],10,-1894986606),B=F(B,H,j,D,q[J+10],15,-1051523),D=F(D,B,H,j,q[J+1],21,-2054922799),j=F(j,D,B,H,q[J+8],6,1873313359),H=F(H,j,D,B,q[J+15],10,-30611744),B=F(B,H,j,D,q[J+6],15,-1560198380),D=F(D,B,H,j,q[J+13],21,1309151649),j=F(j,D,B,H,q[J+4],6,-145523070),H=F(H,j,D,B,q[J+11],10,-1120210379),B=F(B,H,j,D,q[J+2],15,718787259),D=F(D,B,H,j,q[J+9],21,-343485551),j=$(j,ge),D=$(D,V),B=$(B,ne),H=$(H,se);}return Array(j,D,B,H)}function h(q,K,j,D,B,H){return $((K=$($(K,q),$(D,H)))<<B|K>>>32-B,j)}function E(q,K,j,D,B,H,J){return h(K&j|~K&D,q,K,B,H,J)}function S(q,K,j,D,B,H,J){return h(K&D|j&~D,q,K,B,H,J)}function O(q,K,j,D,B,H,J){return h(K^j^D,q,K,B,H,J)}function F(q,K,j,D,B,H,J){return h(j^(K|~D),q,K,B,H,J)}function $(q,K){var j=(65535&q)+(65535&K);return (q>>16)+(K>>16)+(j>>16)<<16|65535&j}t.exports=function(q){return m.hash(q,g,16)};}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify");},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(n,o,a,i,f,l,c,p,y){t.exports=function(g){for(var h,E=new Array(g),S=0;S<g;S++)!(3&S)&&(h=42949
`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&bN[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n);}),t};var Sw=Symbol("internals");function Ma(e){return e&&String(e).trim().toLowerCase()}function Cu(e){return e===!1||e==null?e:Ae.isArray(e)?e.map(Cu):String(e)}function AN(e){let t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}var ON=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gc(e,t,r,n,o){if(Ae.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!Ae.isString(t)){if(Ae.isString(n))return t.indexOf(n)!==-1;if(Ae.isRegExp(n))return n.test(t)}}function RN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function TN(e,t){let r=Ae.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0});});}var Lo=class{constructor(t){t&&this.set(t);}set(t,r,n){let o=this;function a(f,l,c){let p=Ma(l);if(!p)throw new Error("header name must be a non-empty string");let y=Ae.findKey(o,p);(!y||o[y]===void 0||c===!0||c===void 0&&o[y]!==!1)&&(o[y||l]=Cu(f));}let i=(f,l)=>Ae.forEach(f,(c,p)=>a(c,p,l));return Ae.isPlainObject(t)||t instanceof this.constructor?i(t,r):Ae.isString(t)&&(t=t.trim())&&!ON(t)?i(_w(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=Ma(t),t){let n=Ae.findKey(this,t);if(n){let o=this[n];if(!r)return o;if(r===!0)return AN(o);if(Ae.isFunction(r))return r.call(this,o,n);if(Ae.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Ma(t),t){let n=Ae.findKey(this,t);return !!(n&&this[n]!==void 0&&(!r||Gc(this,this[n],n,r)))}return !1}delete(t,r){let n=this,o=!1;function a(i){if(i=Ma(i),i){let f=Ae.findKey(n,i);f&&(!r||Gc(n,n[f],f,r))&&(delete n[f],o=!0);}}return Ae.isArray(t)?t.forEach(a):a(t),o}clear(t){let r=Object.keys(this),n=r.length,o=!1;for(;n--;){let a=r[n];(!t||Gc(this,this[a],a,t,!0))&&(delete this[a],o=!0);}return o}normalize(t){let r=this,n={};return Ae.forEach(this,(o,a)=>{let i=Ae.findKey(n,a);if(i){r[i]=Cu(o),delete r[a];return}let f=t?RN(a):String(a).trim();f!==a&&delete r[a],r[f]=Cu(o),n[f]=!0;}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let r=Object.create(null);return Ae.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&Ae.isArray(n)?n.join(", "):n);}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}get[Symbol.toStringTag](){return "AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){let n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){let n=(this[Sw]=this[Sw]={accessors:{}}).accessors,o=this.prototype;function a(i){let f=Ma(i);n[f]||(TN(o,i),n[f]=!0);}return Ae.isArray(t)?t.forEach(a):a(t),this}};Lo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ae.freezeMethods(Lo.prototype);Ae.freezeMethods(Lo);var pr=Lo;function ja(e,t){let r=this||Po,n=t||r,o=pr.from(n.headers),a=n.data;return Ae.forEach(e,function(f){a=f.call(r,a,o.normalize(),t?t.status:void 0);}),o.normalize(),a}N();x();P();C();L();function $a(e){return !!(e&&e.__CANCEL__)}N();x();P();C();L();function bw(e,t,r){mt.call(this,e??"canceled",mt.ERR_CANCELED,t,r),this.name="CanceledError";}Ae.inherits(bw,mt,{__CANCEL__:!0});var fi=bw;N();x();P();C();L();N();x();P();C();L();N();x();P();C();L();function zc(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new mt("Request failed with status code "+r.status,[mt.ERR_BAD_REQUEST,mt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r));}N();x();P();C();L();var Aw=lr.isStandardBrowserEnv?function(){return {write:function(r,n,o,a,i,f){let l=[];l.push(r+"="+encodeURIComponent(n)),Ae.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),Ae.isString(a)&&l.push("path="+a),Ae.isString(i)&&l.push("domain="+i),f===!0&&l.push("secure"),document.cookie=l.join("; ");},read:function(r){let n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5);}}}():function(){return {write:function(){},read:function(){return null},remove:function(){}}}();N();x();P();C();L();N();x();P();C();L();function Wc(e){return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}N();x();P();C();L();function Zc(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function qa(e,t){return e&&!Wc(t)?Zc(e,t):t}N();x();P();C();L();var Ow=lr.isStandardBrowserEnv?function(){let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){let f=Ae.isString(i)?o(i):i;return f.protocol===n.protocol&&f.host===n.host}}():function(){return function(){return !0}}();N();x();P();C();L();function Vc(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}N();x();P();C();L();function IN(e,t){e=e||10;let r=new Array(e),n=new Array(e),o=0,a=0,i;return t=t!==void 0?t:1e3,function(l){let c=Date.now(),p=n[a];i||(i=c),r[o]=l,n[o]=c;let y=a,m=0;for(;y!==o;)m+=r[y++],y=y%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;let g=p&&c-p;return g?Math.round(m*1e3/g):void 0}}var Rw=IN;function Tw(e,t){let r=0,n=Rw(50,250);return o=>{let a=o.loaded,i=o.lengthComputable?o.total:void 0,f=a-r,l=n(f),c=a<=i;r=a;let p={loaded:a,total:i,progress:i?a/i:void 0,bytes:f,rate:l||void 0,estimated:l&&i&&c?(i-a)/l:void 0,event:o};p[t?"download":"upload"]=!0,e(p);}}var NN=typeof XMLHttpRequest<"u",Iw=NN&&function(e){return new Promise(function(r,n){let o=e.data,a=pr.from(e.headers).normalize(),i=e.responseType,f;function l(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f);}Ae.isFormData(o)&&(lr.isStandardBrowserEnv||lr.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){let g=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(g+":"+h));}let p=qa(e.baseURL,e.url);c.open(e.method.toUpperCase(),Ua(p,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function y(){if
@jspm/core/nodelibs/browser/buffer.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
@jspm/core/nodelibs/browser/chunk-44e51b61.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
@jspm/core/nodelibs/browser/assert.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*)
ieee754/index.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
buffer/index.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*)
*/
exports.CancelablePromise = en;
exports.TabbyAgent = nl;
exports.agentEventNames = O5;
return exports;
})({});
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.global.js.map