UNPKG

@testiny/automation

Version:

A collection of utilities for importing automation reports into Testiny

6 lines 980 kB
"use strict";var LW=Object.create;var ts=Object.defineProperty;var eE=Object.getOwnPropertyDescriptor;var jW=Object.getOwnPropertyNames;var BW=Object.getPrototypeOf,VW=Object.prototype.hasOwnProperty;var a=(e,t)=>ts(e,"name",{value:t,configurable:!0});var f=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),UW=(e,t)=>{for(var r in t)ts(e,r,{get:t[r],enumerable:!0})},tE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jW(t))!VW.call(e,i)&&i!==r&&ts(e,i,{get:()=>t[i],enumerable:!(n=eE(t,i))||n.enumerable});return e};var re=(e,t,r)=>(r=e!=null?LW(BW(e)):{},tE(t||!e||!e.__esModule?ts(r,"default",{value:e,enumerable:!0}):r,e)),$W=e=>tE(ts({},"__esModule",{value:!0}),e),O=(e,t,r,n)=>{for(var i=n>1?void 0:n?eE(t,r):t,o=e.length-1,s;o>=0;o--)(s=e[o])&&(i=(n?s(t,r,i):s(i))||i);return n&&i&&ts(t,r,i),i};var iE=f((VLe,nE)=>{var rE=require("stream").Stream,WW=require("util");nE.exports=lr;function lr(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}a(lr,"DelayedStream");WW.inherits(lr,rE);lr.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var i=e.emit;return e.emit=function(){return r._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(lr.prototype,"readable",{configurable:!0,enumerable:!0,get:a(function(){return this.source.readable},"get")});lr.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};lr.prototype.resume=function(){this._released||this.release(),this.source.resume()};lr.prototype.pause=function(){this.source.pause()};lr.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};lr.prototype.pipe=function(){var e=rE.prototype.pipe.apply(this,arguments);return this.resume(),e};lr.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};lr.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var uE=f(($Le,sE)=>{var zW=require("util"),oE=require("stream").Stream,aE=iE();sE.exports=we;function we(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}a(we,"CombinedStream");zW.inherits(we,oE);we.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};we.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};we.prototype.append=function(e){var t=we.isStreamLike(e);if(t){if(!(e instanceof aE)){var r=aE.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};we.prototype.pipe=function(e,t){return oE.prototype.pipe.call(this,e,t),this.resume(),e};we.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};we.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=we.isStreamLike(r);n&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};we.prototype._pipeNext=function(e){this._currentStream=e;var t=we.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};we.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};we.prototype.write=function(e){this.emit("data",e)};we.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};we.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};we.prototype.end=function(){this._reset(),this.emit("end")};we.prototype.destroy=function(){this._reset(),this.emit("close")};we.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};we.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};we.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};we.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var cE=f((zLe,lE)=>{lE.exports={}});var pE=f(mt=>{"use strict";var Dd=cE(),HW=require("path").extname,fE=/^\s*([^;\s]*)(?:;|\s|$)/,GW=/^text\//i;mt.charset=dE;mt.charsets={lookup:dE};mt.contentType=KW;mt.extension=ZW;mt.extensions=Object.create(null);mt.lookup=YW;mt.types=Object.create(null);JW(mt.extensions,mt.types);function dE(e){if(!e||typeof e!="string")return!1;var t=fE.exec(e),r=t&&Dd[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&GW.test(t[1])?"UTF-8":!1}a(dE,"charset");function KW(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?mt.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=mt.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}a(KW,"contentType");function ZW(e){if(!e||typeof e!="string")return!1;var t=fE.exec(e),r=t&&mt.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}a(ZW,"extension");function YW(e){if(!e||typeof e!="string")return!1;var t=HW("x."+e).toLowerCase().substr(1);return t&&mt.types[t]||!1}a(YW,"lookup");function JW(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Dd).forEach(a(function(i){var o=Dd[i],s=o.extensions;if(!(!s||!s.length)){e[i]=s;for(var u=0;u<s.length;u++){var l=s[u];if(t[l]){var c=r.indexOf(Dd[t[l]].source),d=r.indexOf(o.source);if(t[l]!=="application/octet-stream"&&(c>d||c===d&&t[l].substr(0,12)==="application/"))continue}t[l]=i}}},"forEachMimeType"))}a(JW,"populateMaps")});var hE=f((KLe,mE)=>{mE.exports=XW;function XW(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}a(XW,"defer")});var gv=f((YLe,gE)=>{var yE=hE();gE.exports=QW;function QW(e){var t=!1;return yE(function(){t=!0}),a(function(n,i){t?e(n,i):yE(a(function(){e(n,i)},"nextTick_callback"))},"async_callback")}a(QW,"async")});var bv=f((XLe,bE)=>{bE.exports=ez;function ez(e){Object.keys(e.jobs).forEach(tz.bind(e)),e.jobs={}}a(ez,"abort");function tz(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}a(tz,"clean")});var vv=f((eje,_E)=>{var vE=gv(),rz=bv();_E.exports=nz;function nz(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=iz(t,i,e[i],function(o,s){i in r.jobs&&(delete r.jobs[i],o?rz(r):r.results[i]=s,n(o,r.results))})}a(nz,"iterate");function iz(e,t,r,n){var i;return e.length==2?i=e(r,vE(n)):i=e(r,t,vE(n)),i}a(iz,"runJob")});var _v=f((rje,SE)=>{SE.exports=az;function az(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&n.keyedList.sort(r?t:function(i,o){return t(e[i],e[o])}),n}a(az,"state")});var Sv=f((ije,AE)=>{var oz=bv(),sz=gv();AE.exports=uz;function uz(e){Object.keys(this.jobs).length&&(this.index=this.size,oz(this),sz(e)(null,this.results))}a(uz,"terminator")});var OE=f((oje,wE)=>{var lz=vv(),cz=_v(),fz=Sv();wE.exports=dz;function dz(e,t,r){for(var n=cz(e);n.index<(n.keyedList||e).length;)lz(e,t,n,function(i,o){if(i){r(i,o);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return fz.bind(n,r)}a(dz,"parallel")});var Av=f((uje,Nd)=>{var IE=vv(),pz=_v(),mz=Sv();Nd.exports=hz;Nd.exports.ascending=xE;Nd.exports.descending=yz;function hz(e,t,r,n){var i=pz(e,r);return IE(e,t,i,a(function o(s,u){if(s){n(s,u);return}if(i.index++,i.index<(i.keyedList||e).length){IE(e,t,i,o);return}n(null,i.results)},"iteratorHandler")),mz.bind(i,n)}a(hz,"serialOrdered");function xE(e,t){return e<t?-1:e>t?1:0}a(xE,"ascending");function yz(e,t){return-1*xE(e,t)}a(yz,"descending")});var EE=f((cje,TE)=>{var gz=Av();TE.exports=bz;function bz(e,t,r){return gz(e,t,null,r)}a(bz,"serial")});var kE=f((dje,PE)=>{PE.exports={parallel:OE(),serial:EE(),serialOrdered:Av()}});var wv=f((pje,CE)=>{"use strict";CE.exports=Object});var DE=f((mje,ME)=>{"use strict";ME.exports=Error});var RE=f((hje,NE)=>{"use strict";NE.exports=EvalError});var FE=f((yje,qE)=>{"use strict";qE.exports=RangeError});var jE=f((gje,LE)=>{"use strict";LE.exports=ReferenceError});var VE=f((bje,BE)=>{"use strict";BE.exports=SyntaxError});var Rd=f((vje,UE)=>{"use strict";UE.exports=TypeError});var WE=f((_je,$E)=>{"use strict";$E.exports=URIError});var HE=f((Sje,zE)=>{"use strict";zE.exports=Math.abs});var KE=f((Aje,GE)=>{"use strict";GE.exports=Math.floor});var YE=f((wje,ZE)=>{"use strict";ZE.exports=Math.max});var XE=f((Oje,JE)=>{"use strict";JE.exports=Math.min});var eP=f((Ije,QE)=>{"use strict";QE.exports=Math.pow});var rP=f((xje,tP)=>{"use strict";tP.exports=Math.round});var iP=f((Tje,nP)=>{"use strict";nP.exports=Number.isNaN||a(function(t){return t!==t},"isNaN")});var oP=f((Pje,aP)=>{"use strict";var vz=iP();aP.exports=a(function(t){return vz(t)||t===0?t:t<0?-1:1},"sign")});var uP=f((Cje,sP)=>{"use strict";sP.exports=Object.getOwnPropertyDescriptor});var Ov=f((Mje,lP)=>{"use strict";var qd=uP();if(qd)try{qd([],"length")}catch{qd=null}lP.exports=qd});var fP=f((Dje,cP)=>{"use strict";var Fd=Object.defineProperty||!1;if(Fd)try{Fd({},"a",{value:1})}catch{Fd=!1}cP.exports=Fd});var Iv=f((Nje,dP)=>{"use strict";dP.exports=a(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0},"hasSymbols")});var hP=f((qje,mP)=>{"use strict";var pP=typeof Symbol<"u"&&Symbol,_z=Iv();mP.exports=a(function(){return typeof pP!="function"||typeof Symbol!="function"||typeof pP("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:_z()},"hasNativeSymbols")});var xv=f((Lje,yP)=>{"use strict";yP.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Tv=f((jje,gP)=>{"use strict";var Sz=wv();gP.exports=Sz.getPrototypeOf||null});var _P=f((Bje,vP)=>{"use strict";var Az="Function.prototype.bind called on incompatible ",wz=Object.prototype.toString,Oz=Math.max,Iz="[object Function]",bP=a(function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var o=0;o<r.length;o+=1)n[o+t.length]=r[o];return n},"concatty"),xz=a(function(t,r){for(var n=[],i=r||0,o=0;i<t.length;i+=1,o+=1)n[o]=t[i];return n},"slicy"),Tz=a(function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},"joiny");vP.exports=a(function(t){var r=this;if(typeof r!="function"||wz.apply(r)!==Iz)throw new TypeError(Az+r);for(var n=xz(arguments,1),i,o=a(function(){if(this instanceof i){var d=r.apply(this,bP(n,arguments));return Object(d)===d?d:this}return r.apply(t,bP(n,arguments))},"binder"),s=Oz(0,r.length-n.length),u=[],l=0;l<s;l++)u[l]="$"+l;if(i=Function("binder","return function ("+Tz(u,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var c=a(function(){},"Empty");c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i},"bind")});var cl=f((Uje,SP)=>{"use strict";var Ez=_P();SP.exports=Function.prototype.bind||Ez});var Ld=f(($je,AP)=>{"use strict";AP.exports=Function.prototype.call});var Ev=f((Wje,wP)=>{"use strict";wP.exports=Function.prototype.apply});var IP=f((zje,OP)=>{"use strict";OP.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var TP=f((Hje,xP)=>{"use strict";var Pz=cl(),kz=Ev(),Cz=Ld(),Mz=IP();xP.exports=Mz||Pz.call(Cz,kz)});var PP=f((Gje,EP)=>{"use strict";var Dz=cl(),Nz=Rd(),Rz=Ld(),qz=TP();EP.exports=a(function(t){if(t.length<1||typeof t[0]!="function")throw new Nz("a function is required");return qz(Dz,Rz,t)},"callBindBasic")});var RP=f((Zje,NP)=>{"use strict";var Fz=PP(),kP=Ov(),MP;try{MP=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Pv=!!MP&&kP&&kP(Object.prototype,"__proto__"),DP=Object,CP=DP.getPrototypeOf;NP.exports=Pv&&typeof Pv.get=="function"?Fz([Pv.get]):typeof CP=="function"?a(function(t){return CP(t==null?t:DP(t))},"getDunder"):!1});var BP=f((Jje,jP)=>{"use strict";var qP=xv(),FP=Tv(),LP=RP();jP.exports=qP?a(function(t){return qP(t)},"getProto"):FP?a(function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return FP(t)},"getProto"):LP?a(function(t){return LP(t)},"getProto"):null});var kv=f((Qje,VP)=>{"use strict";var Lz=Function.prototype.call,jz=Object.prototype.hasOwnProperty,Bz=cl();VP.exports=Bz.call(Lz,jz)});var KP=f((eBe,GP)=>{"use strict";var X,Vz=wv(),Uz=DE(),$z=RE(),Wz=FE(),zz=jE(),as=VE(),is=Rd(),Hz=WE(),Gz=HE(),Kz=KE(),Zz=YE(),Yz=XE(),Jz=eP(),Xz=rP(),Qz=oP(),zP=Function,Cv=a(function(e){try{return zP('"use strict"; return ('+e+").constructor;")()}catch{}},"getEvalledConstructor"),fl=Ov(),e5=fP(),Mv=a(function(){throw new is},"throwTypeError"),t5=fl?function(){try{return arguments.callee,Mv}catch{try{return fl(arguments,"callee").get}catch{return Mv}}}():Mv,rs=hP()(),Be=BP(),r5=Tv(),n5=xv(),HP=Ev(),dl=Ld(),ns={},i5=typeof Uint8Array>"u"||!Be?X:Be(Uint8Array),co={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?X:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?X:ArrayBuffer,"%ArrayIteratorPrototype%":rs&&Be?Be([][Symbol.iterator]()):X,"%AsyncFromSyncIteratorPrototype%":X,"%AsyncFunction%":ns,"%AsyncGenerator%":ns,"%AsyncGeneratorFunction%":ns,"%AsyncIteratorPrototype%":ns,"%Atomics%":typeof Atomics>"u"?X:Atomics,"%BigInt%":typeof BigInt>"u"?X:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?X:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?X:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?X:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Uz,"%eval%":eval,"%EvalError%":$z,"%Float16Array%":typeof Float16Array>"u"?X:Float16Array,"%Float32Array%":typeof Float32Array>"u"?X:Float32Array,"%Float64Array%":typeof Float64Array>"u"?X:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?X:FinalizationRegistry,"%Function%":zP,"%GeneratorFunction%":ns,"%Int8Array%":typeof Int8Array>"u"?X:Int8Array,"%Int16Array%":typeof Int16Array>"u"?X:Int16Array,"%Int32Array%":typeof Int32Array>"u"?X:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":rs&&Be?Be(Be([][Symbol.iterator]())):X,"%JSON%":typeof JSON=="object"?JSON:X,"%Map%":typeof Map>"u"?X:Map,"%MapIteratorPrototype%":typeof Map>"u"||!rs||!Be?X:Be(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Vz,"%Object.getOwnPropertyDescriptor%":fl,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?X:Promise,"%Proxy%":typeof Proxy>"u"?X:Proxy,"%RangeError%":Wz,"%ReferenceError%":zz,"%Reflect%":typeof Reflect>"u"?X:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?X:Set,"%SetIteratorPrototype%":typeof Set>"u"||!rs||!Be?X:Be(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?X:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":rs&&Be?Be(""[Symbol.iterator]()):X,"%Symbol%":rs?Symbol:X,"%SyntaxError%":as,"%ThrowTypeError%":t5,"%TypedArray%":i5,"%TypeError%":is,"%Uint8Array%":typeof Uint8Array>"u"?X:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?X:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?X:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?X:Uint32Array,"%URIError%":Hz,"%WeakMap%":typeof WeakMap>"u"?X:WeakMap,"%WeakRef%":typeof WeakRef>"u"?X:WeakRef,"%WeakSet%":typeof WeakSet>"u"?X:WeakSet,"%Function.prototype.call%":dl,"%Function.prototype.apply%":HP,"%Object.defineProperty%":e5,"%Object.getPrototypeOf%":r5,"%Math.abs%":Gz,"%Math.floor%":Kz,"%Math.max%":Zz,"%Math.min%":Yz,"%Math.pow%":Jz,"%Math.round%":Xz,"%Math.sign%":Qz,"%Reflect.getPrototypeOf%":n5};if(Be)try{null.error}catch(e){UP=Be(Be(e)),co["%Error.prototype%"]=UP}var UP,a5=a(function e(t){var r;if(t==="%AsyncFunction%")r=Cv("async function () {}");else if(t==="%GeneratorFunction%")r=Cv("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Cv("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Be&&(r=Be(i.prototype))}return co[t]=r,r},"doEval"),$P={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pl=cl(),jd=kv(),o5=pl.call(dl,Array.prototype.concat),s5=pl.call(HP,Array.prototype.splice),WP=pl.call(dl,String.prototype.replace),Bd=pl.call(dl,String.prototype.slice),u5=pl.call(dl,RegExp.prototype.exec),l5=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,c5=/\\(\\)?/g,f5=a(function(t){var r=Bd(t,0,1),n=Bd(t,-1);if(r==="%"&&n!=="%")throw new as("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new as("invalid intrinsic syntax, expected opening `%`");var i=[];return WP(t,l5,function(o,s,u,l){i[i.length]=u?WP(l,c5,"$1"):s||o}),i},"stringToPath"),d5=a(function(t,r){var n=t,i;if(jd($P,n)&&(i=$P[n],n="%"+i[0]+"%"),jd(co,n)){var o=co[n];if(o===ns&&(o=a5(n)),typeof o>"u"&&!r)throw new is("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new as("intrinsic "+t+" does not exist!")},"getBaseIntrinsic");GP.exports=a(function(t,r){if(typeof t!="string"||t.length===0)throw new is("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new is('"allowMissing" argument must be a boolean');if(u5(/^%?[^%]*%?$/,t)===null)throw new as("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=f5(t),i=n.length>0?n[0]:"",o=d5("%"+i+"%",r),s=o.name,u=o.value,l=!1,c=o.alias;c&&(i=c[0],s5(n,o5([0,1],c)));for(var d=1,p=!0;d<n.length;d+=1){var h=n[d],y=Bd(h,0,1),g=Bd(h,-1);if((y==='"'||y==="'"||y==="`"||g==='"'||g==="'"||g==="`")&&y!==g)throw new as("property names with quotes must have matching quotes");if((h==="constructor"||!p)&&(l=!0),i+="."+h,s="%"+i+"%",jd(co,s))u=co[s];else if(u!=null){if(!(h in u)){if(!r)throw new is("base intrinsic for "+t+" exists, but the property is not available.");return}if(fl&&d+1>=n.length){var v=fl(u,h);p=!!v,p&&"get"in v&&!("originalValue"in v.get)?u=v.get:u=u[h]}else p=jd(u,h),u=u[h];p&&!l&&(co[s]=u)}}return u},"GetIntrinsic")});var YP=f((rBe,ZP)=>{"use strict";var p5=Iv();ZP.exports=a(function(){return p5()&&!!Symbol.toStringTag},"hasToStringTagShams")});var QP=f((iBe,XP)=>{"use strict";var m5=KP(),JP=m5("%Object.defineProperty%",!0),h5=YP()(),y5=kv(),g5=Rd(),Vd=h5?Symbol.toStringTag:null;XP.exports=a(function(t,r){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!="boolean"||typeof i<"u"&&typeof i!="boolean")throw new g5("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Vd&&(n||!y5(t,Vd))&&(JP?JP(t,Vd,{configurable:!i,enumerable:!1,value:r,writable:!1}):t[Vd]=r)},"setToStringTag")});var tk=f((oBe,ek)=>{ek.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var nk=f((sBe,rk)=>{var qv=uE(),b5=require("util"),Dv=require("path"),v5=require("http"),_5=require("https"),S5=require("url").parse,A5=require("fs"),w5=require("stream").Stream,Nv=pE(),O5=kE(),I5=QP(),Rv=tk();rk.exports=ee;b5.inherits(ee,qv);function ee(e){if(!(this instanceof ee))return new ee(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],qv.call(this),e=e||{};for(var t in e)this[t]=e[t]}a(ee,"FormData");ee.LINE_BREAK=`\r `;ee.DEFAULT_CONTENT_TYPE="application/octet-stream";ee.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var n=qv.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),Array.isArray(t)){this._error(new Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,r),o=this._multiPartFooter();n(i),n(t),n(o),this._trackLength(i,t,r)};ee.prototype._trackLength=function(e,t,r){var n=0;r.knownLength!=null?n+=+r.knownLength:Buffer.isBuffer(t)?n=t.length:typeof t=="string"&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+ee.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&Object.prototype.hasOwnProperty.call(t,"httpVersion"))&&!(t instanceof w5))&&(r.knownLength||this._valuesToMeasure.push(t))};ee.prototype._lengthRetriever=function(e,t){Object.prototype.hasOwnProperty.call(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):A5.stat(e.path,function(r,n){var i;if(r){t(r);return}i=n.size-(e.start?e.start:0),t(null,i)}):Object.prototype.hasOwnProperty.call(e,"httpVersion")?t(null,+e.headers["content-length"]):Object.prototype.hasOwnProperty.call(e,"httpModule")?(e.on("response",function(r){e.pause(),t(null,+r.headers["content-length"])}),e.resume()):t("Unknown stream")};ee.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var n=this._getContentDisposition(t,r),i=this._getContentType(t,r),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};typeof r.header=="object"&&Rv(s,r.header);var u;for(var l in s)if(Object.prototype.hasOwnProperty.call(s,l)){if(u=s[l],u==null)continue;Array.isArray(u)||(u=[u]),u.length&&(o+=l+": "+u.join("; ")+ee.LINE_BREAK)}return"--"+this.getBoundary()+ee.LINE_BREAK+o+ee.LINE_BREAK};ee.prototype._getContentDisposition=function(e,t){var r,n;return typeof t.filepath=="string"?r=Dv.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?r=Dv.basename(t.filename||e.name||e.path):e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(r=Dv.basename(e.client._httpMessage.path||"")),r&&(n='filename="'+r+'"'),n};ee.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e.name&&(r=Nv.lookup(e.name)),!r&&e.path&&(r=Nv.lookup(e.path)),!r&&e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=Nv.lookup(t.filepath||t.filename)),!r&&typeof e=="object"&&(r=ee.DEFAULT_CONTENT_TYPE),r};ee.prototype._multiPartFooter=function(){return function(e){var t=ee.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};ee.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ee.LINE_BREAK};ee.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t.toLowerCase()]=e[t]);return r};ee.prototype.setBoundary=function(e){this._boundary=e};ee.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ee.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,n=this._streams.length;r<n;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(ee.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};ee.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};ee.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};ee.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};ee.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}O5.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};ee.prototype.submit=function(e,t){var r,n,i={method:"post"};return typeof e=="string"?(e=S5(e),n=Rv({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(n=Rv(e,i),n.port||(n.port=n.protocol=="https:"?443:80)),n.headers=this.getHeaders(e.headers),n.protocol=="https:"?r=_5.request(n):r=v5.request(n),this.getLength(function(o,s){if(o&&o!=="Unknown stream"){this._error(o);return}if(s&&r.setHeader("Content-Length",s),this.pipe(r),t){var u,l=a(function(c,d){return r.removeListener("error",l),r.removeListener("response",u),t.call(this,c,d)},"callback");u=l.bind(this,null),r.on("error",l),r.on("response",u)}}.bind(this)),r};ee.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};ee.prototype.toString=function(){return"[object FormData]"};I5(ee,"FormData")});var ak=f(ik=>{"use strict";var x5=require("url").parse,T5={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},E5=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function P5(e){var t=typeof e=="string"?x5(e):e||{},r=t.protocol,n=t.host,i=t.port;if(typeof n!="string"||!n||typeof r!="string"||(r=r.split(":",1)[0],n=n.replace(/:\d*$/,""),i=parseInt(i)||T5[r]||0,!k5(n,i)))return"";var o=os("npm_config_"+r+"_proxy")||os(r+"_proxy")||os("npm_config_proxy")||os("all_proxy");return o&&o.indexOf("://")===-1&&(o=r+"://"+o),o}a(P5,"getProxyForUrl");function k5(e,t){var r=(os("npm_config_no_proxy")||os("no_proxy")).toLowerCase();return r?r==="*"?!1:r.split(/[,\s]/).every(function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),o=i?i[1]:n,s=i?parseInt(i[2]):0;return s&&s!==t?!0:/^[.*]/.test(o)?(o.charAt(0)==="*"&&(o=o.slice(1)),!E5.call(e,o)):e!==o}):!0}a(k5,"shouldProxy");function os(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}a(os,"getEnv");ik.getProxyForUrl=P5});var sk=f((fBe,ok)=>{var ss=1e3,us=ss*60,ls=us*60,fo=ls*24,C5=fo*7,M5=fo*365.25;ok.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return D5(e);if(r==="number"&&isFinite(e))return t.long?R5(e):N5(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function D5(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*M5;case"weeks":case"week":case"w":return r*C5;case"days":case"day":case"d":return r*fo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*ls;case"minutes":case"minute":case"mins":case"min":case"m":return r*us;case"seconds":case"second":case"secs":case"sec":case"s":return r*ss;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}a(D5,"parse");function N5(e){var t=Math.abs(e);return t>=fo?Math.round(e/fo)+"d":t>=ls?Math.round(e/ls)+"h":t>=us?Math.round(e/us)+"m":t>=ss?Math.round(e/ss)+"s":e+"ms"}a(N5,"fmtShort");function R5(e){var t=Math.abs(e);return t>=fo?Ud(e,t,fo,"day"):t>=ls?Ud(e,t,ls,"hour"):t>=us?Ud(e,t,us,"minute"):t>=ss?Ud(e,t,ss,"second"):e+" ms"}a(R5,"fmtLong");function Ud(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}a(Ud,"plural")});var Fv=f((pBe,uk)=>{function q5(e){r.debug=r,r.default=r,r.coerce=l,r.disable=s,r.enable=i,r.enabled=u,r.humanize=sk(),r.destroy=c,Object.keys(e).forEach(d=>{r[d]=e[d]}),r.names=[],r.skips=[],r.formatters={};function t(d){let p=0;for(let h=0;h<d.length;h++)p=(p<<5)-p+d.charCodeAt(h),p|=0;return r.colors[Math.abs(p)%r.colors.length]}a(t,"selectColor"),r.selectColor=t;function r(d){let p,h=null,y,g;function v(...b){if(!v.enabled)return;let S=v,x=Number(new Date),M=x-(p||x);S.diff=M,S.prev=p,S.curr=x,p=x,b[0]=r.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let F=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(J,Z)=>{if(J==="%%")return"%";F++;let oe=r.formatters[Z];if(typeof oe=="function"){let ce=b[F];J=oe.call(S,ce),b.splice(F,1),F--}return J}),r.formatArgs.call(S,b),(S.log||r.log).apply(S,b)}return a(v,"debug"),v.namespace=d,v.useColors=r.useColors(),v.color=r.selectColor(d),v.extend=n,v.destroy=r.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:a(()=>h!==null?h:(y!==r.namespaces&&(y=r.namespaces,g=r.enabled(d)),g),"get"),set:a(b=>{h=b},"set")}),typeof r.init=="function"&&r.init(v),v}a(r,"createDebug");function n(d,p){let h=r(this.namespace+(typeof p>"u"?":":p)+d);return h.log=this.log,h}a(n,"extend");function i(d){r.save(d),r.namespaces=d,r.names=[],r.skips=[];let p=(typeof d=="string"?d:"").trim().replace(" ",",").split(",").filter(Boolean);for(let h of p)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}a(i,"enable");function o(d,p){let h=0,y=0,g=-1,v=0;for(;h<d.length;)if(y<p.length&&(p[y]===d[h]||p[y]==="*"))p[y]==="*"?(g=y,v=h,y++):(h++,y++);else if(g!==-1)y=g+1,v++,h=v;else return!1;for(;y<p.length&&p[y]==="*";)y++;return y===p.length}a(o,"matchesTemplate");function s(){let d=[...r.names,...r.skips.map(p=>"-"+p)].join(",");return r.enable(""),d}a(s,"disable");function u(d){for(let p of r.skips)if(o(d,p))return!1;for(let p of r.names)if(o(d,p))return!0;return!1}a(u,"enabled");function l(d){return d instanceof Error?d.stack||d.message:d}a(l,"coerce");function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return a(c,"destroy"),r.enable(r.load()),r}a(q5,"setup");uk.exports=q5});var lk=f((xt,$d)=>{xt.formatArgs=L5;xt.save=j5;xt.load=B5;xt.useColors=F5;xt.storage=V5();xt.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();xt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function F5(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}a(F5,"useColors");function L5(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+$d.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}a(L5,"formatArgs");xt.log=console.debug||console.log||(()=>{});function j5(e){try{e?xt.storage.setItem("debug",e):xt.storage.removeItem("debug")}catch{}}a(j5,"save");function B5(){let e;try{e=xt.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}a(B5,"load");function V5(){try{return localStorage}catch{}}a(V5,"localstorage");$d.exports=Fv()(xt);var{formatters:U5}=$d.exports;U5.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var fk=f((yBe,ck)=>{"use strict";ck.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}});var mk=f((gBe,pk)=>{"use strict";var $5=require("os"),dk=require("tty"),zt=fk(),{env:Ve}=process,Wd;zt("no-color")||zt("no-colors")||zt("color=false")||zt("color=never")?Wd=0:(zt("color")||zt("colors")||zt("color=true")||zt("color=always"))&&(Wd=1);function W5(){if("FORCE_COLOR"in Ve)return Ve.FORCE_COLOR==="true"?1:Ve.FORCE_COLOR==="false"?0:Ve.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Ve.FORCE_COLOR,10),3)}a(W5,"envForceColor");function z5(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}a(z5,"translateLevel");function H5(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=W5();n!==void 0&&(Wd=n);let i=r?Wd:n;if(i===0)return 0;if(r){if(zt("color=16m")||zt("color=full")||zt("color=truecolor"))return 3;if(zt("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let o=i||0;if(Ve.TERM==="dumb")return o;if(process.platform==="win32"){let s=$5.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Ve)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(s=>s in Ve)||Ve.CI_NAME==="codeship"?1:o;if("TEAMCITY_VERSION"in Ve)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ve.TEAMCITY_VERSION)?1:0;if(Ve.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ve){let s=Number.parseInt((Ve.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ve.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ve.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ve.TERM)||"COLORTERM"in Ve?1:o}a(H5,"supportsColor");function Lv(e,t={}){let r=H5(e,{streamIsTTY:e&&e.isTTY,...t});return z5(r)}a(Lv,"getSupportLevel");pk.exports={supportsColor:Lv,stdout:Lv({isTTY:dk.isatty(1)}),stderr:Lv({isTTY:dk.isatty(2)})}});var yk=f((Ue,Hd)=>{var G5=require("tty"),zd=require("util");Ue.init=e8;Ue.log=J5;Ue.formatArgs=Z5;Ue.save=X5;Ue.load=Q5;Ue.useColors=K5;Ue.destroy=zd.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Ue.colors=[6,2,3,4,5,1];try{let e=mk();e&&(e.stderr||e).level>=2&&(Ue.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Ue.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function K5(){return"colors"in Ue.inspectOpts?!!Ue.inspectOpts.colors:G5.isatty(process.stderr.fd)}a(K5,"useColors");function Z5(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${t} \x1B[0m`;e[0]=o+e[0].split(` `).join(` `+o),e.push(i+"m+"+Hd.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Y5()+t+" "+e[0]}a(Z5,"formatArgs");function Y5(){return Ue.inspectOpts.hideDate?"":new Date().toISOString()+" "}a(Y5,"getDate");function J5(...e){return process.stderr.write(zd.formatWithOptions(Ue.inspectOpts,...e)+` `)}a(J5,"log");function X5(e){e?process.env.DEBUG=e:delete process.env.DEBUG}a(X5,"save");function Q5(){return process.env.DEBUG}a(Q5,"load");function e8(e){e.inspectOpts={};let t=Object.keys(Ue.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Ue.inspectOpts[t[r]]}a(e8,"init");Hd.exports=Fv()(Ue);var{formatters:hk}=Hd.exports;hk.o=function(e){return this.inspectOpts.colors=this.useColors,zd.inspect(e,this.inspectOpts).split(` `).map(t=>t.trim()).join(" ")};hk.O=function(e){return this.inspectOpts.colors=this.useColors,zd.inspect(e,this.inspectOpts)}});var gk=f((_Be,jv)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?jv.exports=lk():jv.exports=yk()});var vk=f((SBe,bk)=>{var ml;bk.exports=function(){if(!ml){try{ml=gk()("follow-redirects")}catch{}typeof ml!="function"&&(ml=a(function(){},"debug"))}ml.apply(null,arguments)}});var Ok=f((wBe,Jv)=>{var yl=require("url"),hl=yl.URL,t8=require("http"),r8=require("https"),Wv=require("stream").Writable,zv=require("assert"),_k=vk();a(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=mo(Error.captureStackTrace);!t&&(r||!n)&&console.warn("The follow-redirects package should be excluded from browser builds.")},"detectUnsupportedEnvironment")();var Hv=!1;try{zv(new hl(""))}catch(e){Hv=e.code==="ERR_INVALID_URL"}var n8=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Gv=["abort","aborted","connect","error","socket","timeout"],Kv=Object.create(null);Gv.forEach(function(e){Kv[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var Vv=gl("ERR_INVALID_URL","Invalid URL",TypeError),Uv=gl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),i8=gl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Uv),a8=gl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),o8=gl("ERR_STREAM_WRITE_AFTER_END","write after end"),s8=Wv.prototype.destroy||Ak;function ht(e,t){Wv.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(n){try{r._processResponse(n)}catch(i){r.emit("error",i instanceof Uv?i:new Uv({cause:i}))}},this._performRequest()}a(ht,"RedirectableRequest");ht.prototype=Object.create(Wv.prototype);ht.prototype.abort=function(){Yv(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};ht.prototype.destroy=function(e){return Yv(this._currentRequest,e),s8.call(this,e),this};ht.prototype.write=function(e,t,r){if(this._ending)throw new o8;if(!po(e)&&!c8(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(mo(t)&&(r=t,t=null),e.length===0){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new a8),this.abort())};ht.prototype.end=function(e,t,r){if(mo(e)?(r=e,e=t=null):mo(t)&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(e,t,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};ht.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};ht.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};ht.prototype.setTimeout=function(e,t){var r=this;function n(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}a(n,"destroyOnTimeout");function i(s){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),o()},e),n(s)}a(i,"startTimer");function o(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",o),r.removeListener("error",o),r.removeListener("response",o),r.removeListener("close",o),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",i)}return a(o,"clearTimer"),t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",n),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){ht.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(ht.prototype,e,{get:a(function(){return this._currentRequest[e]},"get")})});ht.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};ht.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of Gv)n.on(i,Kv[i]);if(this._currentUrl=/^\//.test(this._options.path)?yl.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,u=this._requestBodyBuffers;a(function l(c){if(n===s._currentRequest)if(c)s.emit("error",c);else if(o<u.length){var d=u[o++];n.finished||n.write(d.data,d.encoding,l)}else s._ended&&n.end()},"writeNext")()}};ht.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(Yv(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new i8;var n,i=this._options.beforeRedirect;i&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var o=this._options.method;((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Bv(/^content-/i,this._options.headers));var s=Bv(/^host$/i,this._options.headers),u=Zv(this._currentUrl),l=s||u.host,c=/^\w+:/.test(r)?this._currentUrl:yl.format(Object.assign(u,{host:l})),d=u8(r,c);if(_k("redirecting to",d.href),this._isRedirect=!0,$v(d,this._options),(d.protocol!==u.protocol&&d.protocol!=="https:"||d.host!==l&&!l8(d.host,l))&&Bv(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),mo(i)){var p={headers:e.headers,statusCode:t},h={url:c,method:o,headers:n};i(this._options,p,h),this._sanitizeOptions(this._options)}this._performRequest()};function Sk(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(n){var i=n+":",o=r[i]=e[n],s=t[n]=Object.create(o);function u(c,d,p){return f8(c)?c=$v(c):po(c)?c=$v(Zv(c)):(p=d,d=wk(c),c={protocol:i}),mo(d)&&(p=d,d=null),d=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},c,d),d.nativeProtocols=r,!po(d.host)&&!po(d.hostname)&&(d.hostname="::1"),zv.equal(d.protocol,i,"protocol mismatch"),_k("options",d),new ht(d,p)}a(u,"request");function l(c,d,p){var h=s.request(c,d,p);return h.end(),h}a(l,"get"),Object.defineProperties(s,{request:{value:u,configurable:!0,enumerable:!0,writable:!0},get:{value:l,configurable:!0,enumerable:!0,writable:!0}})}),t}a(Sk,"wrap");function Ak(){}a(Ak,"noop");function Zv(e){var t;if(Hv)t=new hl(e);else if(t=wk(yl.parse(e)),!po(t.protocol))throw new Vv({input:e});return t}a(Zv,"parseUrl");function u8(e,t){return Hv?new hl(e,t):Zv(yl.resolve(t,e))}a(u8,"resolveUrl");function wk(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Vv({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Vv({input:e.href||e});return e}a(wk,"validateUrl");function $v(e,t){var r=t||{};for(var n of n8)r[n]=e[n];return r.hostname.startsWith("[")&&(r.hostname=r.hostname.slice(1,-1)),r.port!==""&&(r.port=Number(r.port)),r.path=r.search?r.pathname+r.search:r.pathname,r}a($v,"spreadUrlObject");function Bv(e,t){var r;for(var n in t)e.test(n)&&(r=t[n],delete t[n]);return r===null||typeof r>"u"?void 0:String(r).trim()}a(Bv,"removeMatchingHeaders");function gl(e,t,r){function n(i){mo(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return a(n,"CustomError"),n.prototype=new(r||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}a(gl,"createErrorType");function Yv(e,t){for(var r of Gv)e.removeListener(r,Kv[r]);e.on("error",Ak),e.destroy(t)}a(Yv,"destroyRequest");function l8(e,t){zv(po(e)&&po(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}a(l8,"isSubdomain");function po(e){return typeof e=="string"||e instanceof String}a(po,"isString");function mo(e){return typeof e=="function"}a(mo,"isFunction");function c8(e){return typeof e=="object"&&"length"in e}a(c8,"isBuffer");function f8(e){return hl&&e instanceof hl}a(f8,"isURL");Jv.exports=Sk({http:t8,https:r8});Jv.exports.wrap=Sk});var gC=f((IBe,yC)=>{"use strict";var d8=nk(),p8=require("crypto"),m8=require("url"),h8=ak(),y8=require("http"),g8=require("https"),b8=require("util"),v8=Ok(),_8=require("zlib"),Wk=require("stream"),S8=require("events");function Wn(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}a(Wn,"_interopDefaultLegacy");var zk=Wn(d8),A8=Wn(p8),w8=Wn(m8),O8=Wn(h8),I8=Wn(y8),x8=Wn(g8),Hk=Wn(b8),T8=Wn(v8),ba=Wn(_8),ya=Wn(Wk);function Gk(e,t){return a(function(){return e.apply(t,arguments