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

39 lines
222 KiB
JavaScript
Raw Normal View History

var Tabby = (function (exports) {
'use strict';
var zd=Object.create;var Hn=Object.defineProperty;var Hd=Object.getOwnPropertyDescriptor;var Wd=Object.getOwnPropertyNames;var Gd=Object.getPrototypeOf,Vd=Object.prototype.hasOwnProperty;var Jd=(t,e,r)=>e in t?Hn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var nn=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var tr=(t,e)=>()=>(t&&(e=t(t=0)),e);var ee=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Yd=(t,e)=>{for(var r in e)Hn(t,r,{get:e[r],enumerable:!0});},Kd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wd(e))!Vd.call(t,i)&&i!==r&&Hn(t,i,{get:()=>e[i],enumerable:!(n=Hd(e,i))||n.enumerable});return t};var rr=(t,e,r)=>(r=t!=null?zd(Gd(t)):{},Kd(e||!t||!t.__esModule?Hn(r,"default",{value:t,enumerable:!0}):r,t));var xe=(t,e,r)=>(Jd(t,typeof e!="symbol"?e+"":e,r),r),po=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var v=(t,e,r)=>(po(t,e,"read from private field"),r?r.call(t):e.get(t)),se=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r);},re=(t,e,r,n)=>(po(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),Wn=(t,e,r,n)=>({set _(i){re(t,e,i,r);},get _(){return v(t,e,n)}}),ne=(t,e,r)=>(po(t,e,"access private method"),r);var D,p=tr(()=>{D=globalThis;});var h=tr(()=>{});var d=tr(()=>{});var N={};Yd(N,{_debugEnd:()=>mu,_debugProcess:()=>yu,_events:()=>Pu,_eventsCount:()=>Uu,_exiting:()=>Ka,_fatalExceptions:()=>cu,_getActiveHandles:()=>eu,_getActiveRequests:()=>Za,_kill:()=>ru,_linkedBinding:()=>Ja,_maxListeners:()=>_u,_preload_modules:()=>Ou,_rawDebug:()=>Ga,_startProfilerIdleNotifier:()=>gu,_stopProfilerIdleNotifier:()=>wu,_tickCallback:()=>du,abort:()=>Au,addListener:()=>Fu,allowedNodeEnvironmentFlags:()=>uu,arch:()=>Ua,argv:()=>Na,argv0:()=>Tu,assert:()=>lu,binding:()=>Ma,chdir:()=>Ha,config:()=>Xa,cpuUsage:()=>Jn,cwd:()=>za,debugPort:()=>Iu,default:()=>zu,dlopen:()=>Qa,domain:()=>Ya,emit:()=>qu,emitWarning:()=>ja,env:()=>La,execArgv:()=>Da,execPath:()=>Bu,exit:()=>su,features:()=>fu,hasUncaughtExceptionCaptureCallback:()=>hu,hrtime:()=>Vn,kill:()=>ou,listeners:()=>$u,memoryUsage:()=>iu,moduleLoadList:()=>Va,nextTick:()=>Ca,off:()=>Nu,on:()=>Ct,once:()=>Lu,openStdin:()=>au,pid:()=>Su,platform:()=>Fa,ppid:()=>xu,prependListener:()=>ju,prependOnceListener:()=>Mu,reallyExit:()=>tu,release:()=>Wa,removeAllListeners:()=>ku,removeListener:()=>Du,resourceUsage:()=>nu,setSourceMapsEnabled:()=>Ru,setUncaughtExceptionCaptureCallback:()=>pu,stderr:()=>vu,stdin:()=>Eu,stdout:()=>bu,title:()=>Pa,umask:()=>$a,uptime:()=>Cu,version:()=>ka,versions:()=>qa});function mo(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}function Xd(){!Er||!nr||(Er=!1,nr.length?Rt=nr.concat(Rt):Gn=-1,Rt.length&&Ra());}function Ra(){if(!Er){var t=setTimeout(Xd,0);Er=!0;for(var e=Rt.length;e;){for(nr=Rt,Rt=[];++Gn<e;)nr&&nr[Gn].run();Gn=-1,e=Rt.length;}nr=null,Er=!1,clearTimeout(t);}}function Ca(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Rt.push(new _a(t,e)),Rt.length===1&&!Er&&setTimeout(Ra,0);}function _a(t,e){this.fun=t,this.array=e;}function ze(){}function Ja(t){mo("_linkedBinding");}function Qa(t){mo("dlopen");}function Za(){return []}function eu(){return []}function lu(t,e){if(!t)throw new Error(e||"assertion error")}function hu(){return !1}function Cu(){return qt.now()/1e3}function Vn(t){var e=Math.floor((Date.now()-qt.now())*.001),r=qt.now()*.001,n=Math.floor(r)+e,i=Math.floor(r%1*1e9);return t&&(n=n-t[0],i=i-t[1],i<0&&(n--,i+=yo)),[n,i]}function Ct(){return zu}function $u(t){return []}var Rt,Er,nr,Gn,Pa,Ua,Fa,La,Na,Da,ka,qa,ja,Ma,$a,za,Ha,Wa,Ga,Va,Ya,Ka,Xa,tu,ru,Jn,nu,iu,ou,su,au,uu,fu,cu,pu,du,yu,mu,gu,wu,bu,vu,Eu,Au,Su,xu,Bu,Iu,Tu,Ou,Ru,qt,ho,yo,_u,Pu,Uu,Fu,Lu,Nu,Du,ku,qu,ju,Mu,zu,Hu=tr(()=>
`)>=0)return !1;return !0}function jm(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=gt.call(Array(t.indent+1)," ");else return null;return {base:r,prev:gt.call(Array(e+1),r)}}function Go(t,e){if(t.length===0)return "";var r=`
`+e.prev+e.base;return r+gt.call(t,","+r)+`
`+e.prev}function ui(t,e){var r=Wo(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Mt(t,i)?e(t[i],t):"";}var o=typeof jo=="function"?jo(t):[],s;if(Rr){s={};for(var f=0;f<o.length;f++)s["$"+o[f]]=o[f];}for(var w in t)Mt(t,w)&&(r&&String(Number(w))===w&&w<t.length||Rr&&s["$"+w]instanceof Symbol||(Lf.call(/[^\w$]/,w)?n.push(e(w,t)+": "+e(t[w],t)):n.push(w+": "+e(t[w],t))));if(typeof jo=="function")for(var g=0;g<o.length;g++)Nf.call(t,o[g])&&n.push("["+e(o[g])+"]: "+e(t[o[g]],t));return n}});var Qo=ee((OA,zf)=>{p();h();d();m();y();var Ko=ut(),Cr=Ke(),Mm=$f(),$m=Ko("%TypeError%"),ci=Ko("%WeakMap%",!0),pi=Ko("%Map%",!0),zm=Cr("WeakMap.prototype.get",!0),Hm=Cr("WeakMap.prototype.set",!0),Wm=Cr("WeakMap.prototype.has",!0),Gm=Cr("Map.prototype.get",!0),Vm=Cr("Map.prototype.set",!0),Jm=Cr("Map.prototype.has",!0),Xo=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},Ym=function(t,e){var r=Xo(t,e);return r&&r.value},Km=function(t,e,r){var n=Xo(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r};},Xm=function(t,e){return !!Xo(t,e)};zf.exports=function(){var e,r,n,i={assert:function(o){if(!i.has(o))throw new $m("Side channel does not contain "+Mm(o))},get:function(o){if(ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return zm(e,o)}else if(pi){if(r)return Gm(r,o)}else if(n)return Ym(n,o)},has:function(o){if(ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Wm(e,o)}else if(pi){if(r)return Jm(r,o)}else if(n)return Xm(n,o);return !1},set:function(o,s){ci&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new ci),Hm(e,o,s)):pi?(r||(r=new pi),Vm(r,o,s)):(n||(n={key:{},next:null}),Km(n,o,s));}};return i};});var Wf=ee((FA,Hf)=>{p();h();d();m();y();var Qm=ut(),Zm=xo(),yn=Qo()(),Pt=Qm("%TypeError%"),Zo={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Pt("`O` is not an object");if(typeof e!="string")throw new Pt("`slot` must be a string");if(yn.assert(t),!Zo.has(t,e))throw new Pt("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Pt("`O` is not an object");if(typeof e!="string")throw new Pt("`slot` must be a string");var r=yn.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Pt("`O` is not an object");if(typeof e!="string")throw new Pt("`slot` must be a string");var r=yn.get(t);return !!r&&Zm(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Pt("`O` is not an object");if(typeof e!="string")throw new Pt("`slot` must be a string");var n=yn.get(t);n||(n={},yn.set(t,n)),n["$"+e]=r;}};Object.freeze&&Object.freeze(Zo);Hf.exports=Zo;});var Jf=ee((jA,Vf)=>{p();h();d();m();y();var mn=Wf(),eg=SyntaxError,Gf=typeof StopIteration=="object"?StopIteration:null;Vf.exports=function(e){if(!Gf)throw new eg("this environment lacks StopIteration");mn.set(e,"[[Done]]",!1);var r={next:function(){var i=mn.get(this,"[[Iterator]]"),o=mn.get(i,"[[Done]]");try{return {done:o,value:o?void 0:i.next()}}catch(s){if(mn.set(i,"[[Done]]",!0),s!==Gf)throw s;return {done:!0,value:void 0}}}};return mn.set(r,"[[Iterator]]",e),r};});var es=ee((GA,Yf)=>{p();h();d();m();y();var tg={}.toString;Yf.exports=Array.isArray||function(t){return tg.call(t)=="[object Array]"};});var ts=ee((QA,Kf)=>{p();h();d();m();y();var rg=String.prototype.valueOf,ng=function(e){try{return rg.call(e),!0}catch{return !1}},ig=Object.prototype.toString,og="[object String]",sg=_t()();Kf.exports=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:sg?ng(e):ig.call(e)===og};});var ns=ee((iS,Zf)=>{p();h();d();m();y();var rs=typeof Map=="function"&&Map.prototype?Map:null,ag=typeof Set=="function"&&Set.prototype?Set:null,hi;rs||(hi=function(e){return !1});var Qf=rs?Map.prototype.has:null,Xf=ag?Set.prototype.has:null;!hi&&!Qf&&(hi=function(e){return !1});Zf.exports=hi||function(e){if(!e||typeof e!="object")return !1;try{if(Qf.call(e),Xf)try{Xf.call(e);}catch{return !0}return e instanceof rs}catch{}return !1};});var os=ee((fS,rc)=>{p(
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 B("domwindow")},_bigint:function(E){return B("bigint:"+E.toString())},_process:function(){return B("process")},_timer:function(){return B("timer")},_pipe:function(){return B("pipe")},_tcp:function(){return B("tcp")},_udp:function(){return B("udp")},_tty:function(){return B("tty")},_statwatcher:function(){return B("statwatcher")},_securecontext:function(){return B("securecontext")},_connection:function(){return B("connection")},_zlib:function(){return B("zlib")},_context:function(){return B("context")},_nodescript:function(){return B("nodescript")},_httpparser:function(){return B("httpparser")},_dataview:function(){return B("dataview")},_signal:function(){return B("signal")},_fsevent:function(){return B("fsevent")},_tlswrap:function(){return B("tlswrap")}}}function X(){return {buf:"",write:function(O){this.buf+=O;},end:function(O){this.buf+=O;},read:function(){return this.buf}}}r.writeToStream=function(O,F,A){return A===void 0&&(A=F,F={}),G(F=W(O,F),A).dispatch(O)};}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/");},{buffer:3,crypto:5,lYpoI2:11}],2:[function(t,e,r){(function(n,i,o,s,f,w,g,I,T){(function(U){var C=typeof Uint8Array<"u"?Uint8Array:Array,S="+".charCodeAt(0),R="/".charCodeAt(0),W="0".charCodeAt(0),$="a".charCodeAt(0),G="A".charCodeAt(0),X="-".charCodeAt(0),O="_".charCodeAt(0);function F(A){return A=A.charCodeAt(0),A===S||A===X?62:A===R||A===O?63:A<W?-1:A<W+10?A-W+26+26:A<G+26?A-G:A<$+26?A-$+26:void 0}U.toByteArray=function(A){var B,E;if(0<A.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var L=A.length,L=A.charAt(L-2)==="="?2:A.charAt(L-1)==="="?1:0,z=new C(3*A.length/4-L),ae=0<L?A.length-4:A.length,ie=0;function oe(te){z[ie++]=te;}for(B=0;B<ae;B+=4,0)oe((16711680&(E=F(A.charAt(B))<<18|F(A.charAt(B+1))<<12|F(A.charAt(B+2))<<6|F(A.charAt(B+3))))>>16),oe((65280&E)>>8),oe(255&E);return L==2?oe(255&(E=F(A.charAt(B))<<2|F(A.charAt(B+1))>>4)):L==1&&(oe((E=F(A.charAt(B))<<10|F(A.charAt(B+1))<<4|F(A.charAt(B+2))>>2)>>8&255),oe(255&E)),z},U.fromByteArray=function(A){var B,E,L,z,ae=A.length%3,ie="";function oe(te){return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(te)}for(B=0,L=A.length-ae;B<L;B+=3)E=(A[B]<<16)+(A[B+1]<<8)+A[B+2],ie+=oe((z=E)>>18&63)+oe(z>>12&63)+oe(z>>6&63)+oe(63&z);switch(ae){case 1:ie=(ie+=oe((E=A[A.length-1])>>2))+oe(E<<4&63)+"==";break;case 2:ie=(ie=(ie+=oe((E=(A[A.length-2]<<8)+A[A.length-1])>>10))+oe(E>>4&63))+oe(E<<2&63)+"=";}return ie};})(r===void 0?this.base64js={}:r);}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,S,s,f,w,g,I,T){var U=t("base64-js"),C=t("ieee754");function S(c,x,P){if(!(this instanceof S))return new S(c,x,P);var K,Y,Q,le,Ee=typeof c;if(x==="base64"&&Ee=="string")for(c=(le=c).trim?le.trim():le.replace(/^\s+|\s+$/g,"");c.length%4!=0;)c+="=";if(Ee=="number")K=Te(c);else if(Ee=="string")K=S.byteLength(c,x);else {if(Ee!="object")throw new Error("First argument needs to be a number, array or string.");K=Te(c.length);}if(S._useTypedArrays?Y=S._augment(new Uint8Array(K)):((Y=this).length=K,Y._isBuffer=!0),S._useTypedArrays&&typeof c.byteLength=="number")Y._set(c);else if(ve(le=c)||S.isBuffer(le)||le&&typeof le=="object"&&typeof le.length=="number")for(Q=0;Q<K;Q++)S.isBuffer(c)?Y[Q]=c.readUInt8(Q):Y[Q]=c[Q];else if(Ee=="string")Y.write(c,0,x);else if(Ee=="number"&&!S._useTypedArrays&&!P)for(Q=0;Q<K;Q++)Y[Q]=0;return Y}function R(c,x,P,K){return S._charsWritten=_e(function(Y){for(var Q=[],le=0;le<Y.length;le++)Q.push(255&Y.charCodeAt(le));return Q}(x),c,P,K)}function W(c,x,P,K){return S._charsWritten=_e(function(Y){for(var Q,le,Ee=[],Ce=0;Ce<Y.length;Ce++)le=Y.charCodeAt(Ce),Q=le>>8,le=le%256,Ee.push(le)
list should be an Array.`),c.length===0)return new S(0);if(c.length===1)return c[0];if(typeof x!="number")for(Y=x=0;Y<c.length;Y++)x+=c[Y].length;for(var P=new S(x),K=0,Y=0;Y<c.length;Y++){var Q=c[Y];Q.copy(P,K),K+=Q.length;}return P},S.prototype.write=function(c,x,P,K){isFinite(x)?isFinite(P)||(K=P,P=void 0):(Ce=K,K=x,x=P,P=Ce),x=Number(x)||0;var Y,Q,le,Ee,Ce=this.length-x;switch((!P||Ce<(P=Number(P)))&&(P=Ce),K=String(K||"utf8").toLowerCase()){case"hex":Y=function(Ve,Me,$e,Re){$e=Number($e)||0;var we=Ve.length-$e;(!Re||we<(Re=Number(Re)))&&(Re=we),Z((we=Me.length)%2==0,"Invalid hex string"),we/2<Re&&(Re=we/2);for(var ke=0;ke<Re;ke++){var vr=parseInt(Me.substr(2*ke,2),16);Z(!isNaN(vr),"Invalid hex string"),Ve[$e+ke]=vr;}return S._charsWritten=2*ke,ke}(this,c,x,P);break;case"utf8":case"utf-8":Q=this,le=x,Ee=P,Y=S._charsWritten=_e(at(c),Q,le,Ee);break;case"ascii":case"binary":Y=R(this,c,x,P);break;case"base64":Q=this,le=x,Ee=P,Y=S._charsWritten=_e(Oe(c),Q,le,Ee);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":Y=W(this,c,x,P);break;default:throw new Error("Unknown encoding")}return Y},S.prototype.toString=function(c,x,P){var K,Y,Q,le,Ee=this;if(c=String(c||"utf8").toLowerCase(),x=Number(x)||0,(P=P!==void 0?Number(P):Ee.length)===x)return "";switch(c){case"hex":K=function(Ce,Ve,Me){var $e=Ce.length;(!Ve||Ve<0)&&(Ve=0),(!Me||Me<0||$e<Me)&&(Me=$e);for(var Re="",we=Ve;we<Me;we++)Re+=ye(Ce[we]);return Re}(Ee,x,P);break;case"utf8":case"utf-8":K=function(Ce,Ve,Me){var $e="",Re="";Me=Math.min(Ce.length,Me);for(var we=Ve;we<Me;we++)Ce[we]<=127?($e+=tn(Re)+String.fromCharCode(Ce[we]),Re=""):Re+="%"+Ce[we].toString(16);return $e+tn(Re)}(Ee,x,P);break;case"ascii":case"binary":K=$(Ee,x,P);break;case"base64":Y=Ee,le=P,K=(Q=x)===0&&le===Y.length?U.fromByteArray(Y):U.fromByteArray(Y.slice(Q,le));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":K=function(Ce,Ve,Me){for(var $e=Ce.slice(Ve,Me),Re="",we=0;we<$e.length;we+=2)Re+=String.fromCharCode($e[we]+256*$e[we+1]);return Re}(Ee,x,P);break;default:throw new Error("Unknown encoding")}return K},S.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},S.prototype.copy=function(c,x,P,K){if(x=x||0,(K=K||K===0?K:this.length)!==(P=P||0)&&c.length!==0&&this.length!==0){Z(P<=K,"sourceEnd < sourceStart"),Z(0<=x&&x<c.length,"targetStart out of bounds"),Z(0<=P&&P<this.length,"sourceStart out of bounds"),Z(0<=K&&K<=this.length,"sourceEnd out of bounds"),K>this.length&&(K=this.length);var Y=(K=c.length-x<K-P?c.length-x+P:K)-P;if(Y<100||!S._useTypedArrays)for(var Q=0;Q<Y;Q++)c[Q+x]=this[Q+P];else c._set(this.subarray(P,P+Y),x);}},S.prototype.slice=function(c,x){var P=this.length;if(c=he(c,P,0),x=he(x,P,P),S._useTypedArrays)return S._augment(this.subarray(c,x));for(var K=x-c,Y=new S(K,void 0,!0),Q=0;Q<K;Q++)Y[Q]=this[Q+c];return Y},S.prototype.get=function(c){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(c)},S.prototype.set=function(c,x){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(c,x)},S.prototype.readUInt8=function(c,x){if(x||(Z(c!=null,"missing offset"),Z(c<this.length,"Trying to read beyond buffer length")),!(c>=this.length))return this[c]},S.prototype.readUInt16LE=function(c,x){return G(this,c,!0,x)},S.prototype.readUInt16BE=function(c,x){return G(this,c,!1,x)},S.prototype.readUInt32LE=function(c,x){return X(this,c,!0,x)},S.prototype.readUInt32BE=function(c,x){return X(this,c,!1,x)},S.prototype.readInt8=function(c,x){if(x||(Z(c!=null,"missing offset"),Z(c<this.length,"Trying to read beyond buffer length")),!(c>=this.length))return 128&this[c]?-1*(255-this[c]+1):this[c]},S.prototype.readInt16LE=function(c,x){return O(this,c,!0,x)},S.prototype.readInt16BE=function(c,x){return O(this,c,!1,x)},S.prototype.readInt32LE=function(c,x){return F(this,c,!0,x)},S.prototype.readInt32BE=function(c,x){return F(this,c,!1,x)},S.prototype.readFloatLE=function(c,x){return A(this,c,!0,x)},S.prototype.readFloatBE=function(c,x){return A(this,c,!1,x)},S.pro
`))}G.fill(0),r.createHash=function(E){return X(E)},r.createHmac=X,r.randomBytes=function(E,L){if(!L||!L.call)return new U(R(E));try{L.call(this,void 0,new U(R(E)));}catch(z){L(z);}};var F,A=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],B=function(E){r[E]=function(){O("sorry,",E,"is not implemented yet");};};for(F in A)B(A[F]);}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,o,s,f,w,g,I,T){var U=t("./helpers");function C(O,F){O[F>>5]|=128<<F%32,O[14+(F+64>>>9<<4)]=F;for(var A=1732584193,B=-271733879,E=-1732584194,L=271733878,z=0;z<O.length;z+=16){var ae=A,ie=B,oe=E,te=L,A=R(A,B,E,L,O[z+0],7,-680876936),L=R(L,A,B,E,O[z+1],12,-389564586),E=R(E,L,A,B,O[z+2],17,606105819),B=R(B,E,L,A,O[z+3],22,-1044525330);A=R(A,B,E,L,O[z+4],7,-176418897),L=R(L,A,B,E,O[z+5],12,1200080426),E=R(E,L,A,B,O[z+6],17,-1473231341),B=R(B,E,L,A,O[z+7],22,-45705983),A=R(A,B,E,L,O[z+8],7,1770035416),L=R(L,A,B,E,O[z+9],12,-1958414417),E=R(E,L,A,B,O[z+10],17,-42063),B=R(B,E,L,A,O[z+11],22,-1990404162),A=R(A,B,E,L,O[z+12],7,1804603682),L=R(L,A,B,E,O[z+13],12,-40341101),E=R(E,L,A,B,O[z+14],17,-1502002290),A=W(A,B=R(B,E,L,A,O[z+15],22,1236535329),E,L,O[z+1],5,-165796510),L=W(L,A,B,E,O[z+6],9,-1069501632),E=W(E,L,A,B,O[z+11],14,643717713),B=W(B,E,L,A,O[z+0],20,-373897302),A=W(A,B,E,L,O[z+5],5,-701558691),L=W(L,A,B,E,O[z+10],9,38016083),E=W(E,L,A,B,O[z+15],14,-660478335),B=W(B,E,L,A,O[z+4],20,-405537848),A=W(A,B,E,L,O[z+9],5,568446438),L=W(L,A,B,E,O[z+14],9,-1019803690),E=W(E,L,A,B,O[z+3],14,-187363961),B=W(B,E,L,A,O[z+8],20,1163531501),A=W(A,B,E,L,O[z+13],5,-1444681467),L=W(L,A,B,E,O[z+2],9,-51403784),E=W(E,L,A,B,O[z+7],14,1735328473),A=$(A,B=W(B,E,L,A,O[z+12],20,-1926607734),E,L,O[z+5],4,-378558),L=$(L,A,B,E,O[z+8],11,-2022574463),E=$(E,L,A,B,O[z+11],16,1839030562),B=$(B,E,L,A,O[z+14],23,-35309556),A=$(A,B,E,L,O[z+1],4,-1530992060),L=$(L,A,B,E,O[z+4],11,1272893353),E=$(E,L,A,B,O[z+7],16,-155497632),B=$(B,E,L,A,O[z+10],23,-1094730640),A=$(A,B,E,L,O[z+13],4,681279174),L=$(L,A,B,E,O[z+0],11,-358537222),E=$(E,L,A,B,O[z+3],16,-722521979),B=$(B,E,L,A,O[z+6],23,76029189),A=$(A,B,E,L,O[z+9],4,-640364487),L=$(L,A,B,E,O[z+12],11,-421815835),E=$(E,L,A,B,O[z+15],16,530742520),A=G(A,B=$(B,E,L,A,O[z+2],23,-995338651),E,L,O[z+0],6,-198630844),L=G(L,A,B,E,O[z+7],10,1126891415),E=G(E,L,A,B,O[z+14],15,-1416354905),B=G(B,E,L,A,O[z+5],21,-57434055),A=G(A,B,E,L,O[z+12],6,1700485571),L=G(L,A,B,E,O[z+3],10,-1894986606),E=G(E,L,A,B,O[z+10],15,-1051523),B=G(B,E,L,A,O[z+1],21,-2054922799),A=G(A,B,E,L,O[z+8],6,1873313359),L=G(L,A,B,E,O[z+15],10,-30611744),E=G(E,L,A,B,O[z+6],15,-1560198380),B=G(B,E,L,A,O[z+13],21,1309151649),A=G(A,B,E,L,O[z+4],6,-145523070),L=G(L,A,B,E,O[z+11],10,-1120210379),E=G(E,L,A,B,O[z+2],15,718787259),B=G(B,E,L,A,O[z+9],21,-343485551),A=X(A,ae),B=X(B,ie),E=X(E,oe),L=X(L,te);}return Array(A,B,E,L)}function S(O,F,A,B,E,L){return X((F=X(X(F,O),X(B,L)))<<E|F>>>32-E,A)}function R(O,F,A,B,E,L,z){return S(F&A|~F&B,O,F,E,L,z)}function W(O,F,A,B,E,L,z){return S(F&B|A&~B,O,F,E,L,z)}function $(O,F,A,B,E,L,z){return S(F^A^B,O,F,E,L,z)}function G(O,F,A,B,E,L,z){return S(A^(F|~B),O,F,E,L,z)}function X(O,F){var A=(65535&O)+(65535&F);return (O>>16)+(F>>16)+(A>>16)<<16|65535&A}e.exports=function(O){return U.hash(O,C,16)};}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("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(t,e,r){(function(n,i,o,s,f,w,g,I,T){e.exports=function(C){for(var S,R=new Array(C),W=0;W<C;W++)!(3&W)&&(S=429
`).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!r||e[r]&&jw[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n);}),e};var Th=Symbol("internals");function Sn(t){return t&&String(t).trim().toLowerCase()}function Mi(t){return t===!1||t==null?t:H.isArray(t)?t.map(Mi):String(t)}function Mw(t){let e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}var $w=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xs(t,e,r,n,i){if(H.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!H.isString(e)){if(H.isString(n))return e.indexOf(n)!==-1;if(H.isRegExp(n))return n.test(e)}}function zw(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Hw(t,e){let r=H.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,o,s){return this[n].call(this,e,i,o,s)},configurable:!0});});}var Dr=class{constructor(e){e&&this.set(e);}set(e,r,n){let i=this;function o(f,w,g){let I=Sn(w);if(!I)throw new Error("header name must be a non-empty string");let T=H.findKey(i,I);(!T||i[T]===void 0||g===!0||g===void 0&&i[T]!==!1)&&(i[T||w]=Mi(f));}let s=(f,w)=>H.forEach(f,(g,I)=>o(g,I,w));return H.isPlainObject(e)||e instanceof this.constructor?s(e,r):H.isString(e)&&(e=e.trim())&&!$w(e)?s(Ih(e),r):e!=null&&o(r,e,n),this}get(e,r){if(e=Sn(e),e){let n=H.findKey(this,e);if(n){let i=this[n];if(!r)return i;if(r===!0)return Mw(i);if(H.isFunction(r))return r.call(this,i,n);if(H.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Sn(e),e){let n=H.findKey(this,e);return !!(n&&this[n]!==void 0&&(!r||Xs(this,this[n],n,r)))}return !1}delete(e,r){let n=this,i=!1;function o(s){if(s=Sn(s),s){let f=H.findKey(n,s);f&&(!r||Xs(n,n[f],f,r))&&(delete n[f],i=!0);}}return H.isArray(e)?e.forEach(o):o(e),i}clear(e){let r=Object.keys(this),n=r.length,i=!1;for(;n--;){let o=r[n];(!e||Xs(this,this[o],o,e,!0))&&(delete this[o],i=!0);}return i}normalize(e){let r=this,n={};return H.forEach(this,(i,o)=>{let s=H.findKey(n,o);if(s){r[s]=Mi(i),delete r[o];return}let f=e?zw(o):String(o).trim();f!==o&&delete r[o],r[f]=Mi(i),n[f]=!0;}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let r=Object.create(null);return H.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&H.isArray(n)?n.join(", "):n);}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}get[Symbol.toStringTag](){return "AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){let n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){let n=(this[Th]=this[Th]={accessors:{}}).accessors,i=this.prototype;function o(s){let f=Sn(s);n[f]||(Hw(i,s),n[f]=!0);}return H.isArray(e)?e.forEach(o):o(e),this}};Dr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.freezeMethods(Dr.prototype);H.freezeMethods(Dr);var Je=Dr;function xn(t,e){let r=this||Nr,n=e||r,i=Je.from(n.headers),o=n.data;return H.forEach(t,function(f){o=f.call(r,o,i.normalize(),e?e.status:void 0);}),i.normalize(),o}p();h();d();m();y();function Bn(t){return !!(t&&t.__CANCEL__)}p();h();d();m();y();function Oh(t,e,r){pe.call(this,t??"canceled",pe.ERR_CANCELED,e,r),this.name="CanceledError";}H.inherits(Oh,pe,{__CANCEL__:!0});var Wt=Oh;p();h();d();m();y();p();h();d();m();y();p();h();d();m();y();function Qs(t,e,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new pe("Request failed with status code "+r.status,[pe.ERR_BAD_REQUEST,pe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r));}p();h();d();m();y();var Rh=We.isStandardBrowserEnv?function(){return {write:function(r,n,i,o,s,f){let w=[];w.push(r+"="+encodeURIComponent(n)),H.isNumber(i)&&w.push("expires="+new Date(i).toGMTString()),H.isString(o)&&w.push("path="+o),H.isString(s)&&w.push("domain="+s),f===!0&&w.push("secure"),document.cookie=w.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(){}}}();p();h();d();m();y();p();h();d();m();y();function Zs(t){return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}p();h();d();m();y();function ea(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function In(t,e){return t&&!Zs(e)?ea(t,e):e}p();h();d();m();y();var Ch=We.isStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function i(o){let s=o;return e&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{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=i(window.location.href),function(s){let f=H.isString(s)?i(s):s;return f.protocol===n.protocol&&f.host===n.host}}():function(){return function(){return !0}}();p();h();d();m();y();function ta(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}p();h();d();m();y();function Ww(t,e){t=t||10;let r=new Array(t),n=new Array(t),i=0,o=0,s;return e=e!==void 0?e:1e3,function(w){let g=Date.now(),I=n[o];s||(s=g),r[i]=w,n[i]=g;let T=o,U=0;for(;T!==i;)U+=r[T++],T=T%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),g-s<e)return;let C=I&&g-I;return C?Math.round(U*1e3/C):void 0}}var _h=Ww;function Ph(t,e){let r=0,n=_h(50,250);return i=>{let o=i.loaded,s=i.lengthComputable?i.total:void 0,f=o-r,w=n(f),g=o<=s;r=o;let I={loaded:o,total:s,progress:s?o/s:void 0,bytes:f,rate:w||void 0,estimated:w&&s&&g?(s-o)/w:void 0,event:i};I[e?"download":"upload"]=!0,t(I);}}var Gw=typeof XMLHttpRequest<"u",Uh=Gw&&function(t){return new Promise(function(r,n){let i=t.data,o=Je.from(t.headers).normalize(),s=t.responseType,f;function w(){t.cancelToken&&t.cancelToken.unsubscribe(f),t.signal&&t.signal.removeEventListener("abort",f);}H.isFormData(i)&&(We.isStandardBrowserEnv||We.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let g=new XMLHttpRequest;if(t.auth){let C=t.auth.username||"",S=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(C+":"+S));}let I=In(t.baseURL,t.url);g.open(t.method.toUpperCase(),An(I,t.params,t.paramsSerializer),!0),g.timeout=t.timeout;function T(){if(!g)return
@jspm/core/nodelibs/browser/buffer.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
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 = ct;
exports.TabbyAgent = fo;
exports.agentEventNames = sb;
return exports;
})({});
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.global.js.map