1 |
var Jg=Object.create;var Ko=Object.defineProperty;var Qg=Object.getOwnPropertyDescriptor;var ey=Object.getOwnPropertyNames;var ty=Object.getPrototypeOf,iy=Object.prototype.hasOwnProperty;var C=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ry=(e,t)=>{for(var i in t)Ko(e,i,{get:t[i],enumerable:!0})},ny=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ey(t))!iy.call(e,n)&&n!==i&&Ko(e,n,{get:()=>t[n],enumerable:!(r=Qg(t,n))||r.enumerable});return e};var Jr=(e,t,i)=>(i=e!=null?Jg(ty(e)):{},ny(t||!e||!e.__esModule?Ko(i,"default",{value:e,enumerable:!0}):i,e));var df=b((Q3,ff)=>{"use strict";var pf=C("stream").Stream,cw=C("util");ff.exports=at;function at(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}cw.inherits(at,pf);at.create=function(e,t){var i=new this;t=t||{};for(var r in t)i[r]=t[r];i.source=e;var n=e.emit;return e.emit=function(){return i._handleEmit(arguments),n.apply(e,arguments)},e.on("error",function(){}),i.pauseStream&&e.pause(),i};Object.defineProperty(at.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});at.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};at.prototype.resume=function(){this._released||this.release(),this.source.resume()};at.prototype.pause=function(){this.source.pause()};at.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};at.prototype.pipe=function(){var e=pf.prototype.pipe.apply(this,arguments);return this.resume(),e};at.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)};at.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 vf=b((eC,xf)=>{"use strict";var lw=C("util"),hf=C("stream").Stream,mf=df();xf.exports=se;function se(){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}lw.inherits(se,hf);se.create=function(e){var t=new this;e=e||{};for(var i in e)t[i]=e[i];return t};se.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};se.prototype.append=function(e){var t=se.isStreamLike(e);if(t){if(!(e instanceof mf)){var i=mf.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=i}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};se.prototype.pipe=function(e,t){return hf.prototype.pipe.call(this,e,t),this.resume(),e};se.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}};se.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(i){var r=se.isStreamLike(i);r&&(i.on("data",this._checkDataSize.bind(this)),this._handleErrors(i)),this._pipeNext(i)}.bind(this))};se.prototype._pipeNext=function(e){this._currentStream=e;var t=se.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var i=e;this.write(i),this._getNext()};se.prototype._handleErrors=function(e){var t=this;e.on("error",function(i){t._emitError(i)})};se.prototype.write=function(e){this.emit("data",e)};se.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};se.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")};se.prototype.end=function(){this._reset(),this.emit("end")};se.prototype.destroy=function(){this._reset(),this.emit("close")};se.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};se.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};se.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)};se.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var bf=b((tC,uw)=>{uw.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var yf=b((iC,gf)=>{"use strict";gf.exports=bf()});var _f=b(Be=>{"use strict";var As=yf(),pw=C("path").extname,wf=/^\s*([^;\s]*)(?:;|\s|$)/,fw=/^text\//i;Be.charset=Ef;Be.charsets={lookup:Ef};Be.contentType=dw;Be.extension=mw;Be.extensions=Object.create(null);Be.lookup=hw;Be.types=Object.create(null);xw(Be.extensions,Be.types);function Ef(e){if(!e||typeof e!="string")return!1;var t=wf.exec(e),i=t&&As[t[1].toLowerCase()];return i&&i.charset?i.charset:t&&fw.test(t[1])?"UTF-8":!1}function dw(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?Be.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var i=Be.charset(t);i&&(t+="; charset="+i.toLowerCase())}return t}function mw(e){if(!e||typeof e!="string")return!1;var t=wf.exec(e),i=t&&Be.extensions[t[1].toLowerCase()];return!i||!i.length?!1:i[0]}function hw(e){if(!e||typeof e!="string")return!1;var t=pw("x."+e).toLowerCase().substr(1);return t&&Be.types[t]||!1}function xw(e,t){var i=["nginx","apache",void 0,"iana"];Object.keys(As).forEach(function(n){var s=As[n],a=s.extensions;if(!(!a||!a.length)){e[n]=a;for(var o=0;o<a.length;o++){var c=a[o];if(t[c]){var u=i.indexOf(As[t[c]].source),l=i.indexOf(s.source);if(t[c]!=="application/octet-stream"&&(u>l||u===l&&t[c].substr(0,12)==="application/"))continue}t[c]=n}}})}});var Rf=b((nC,Sf)=>{"use strict";Sf.exports=vw;function vw(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}});var lc=b((sC,Tf)=>{"use strict";var Of=Rf();Tf.exports=bw;function bw(e){var t=!1;return Of(function(){t=!0}),function(r,n){t?e(r,n):Of(function(){e(r,n)})}}});var uc=b((aC,Cf)=>{"use strict";Cf.exports=gw;function gw(e){Object.keys(e.jobs).forEach(yw.bind(e)),e.jobs={}}function yw(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}});var pc=b((oC,kf)=>{"use strict";var Af=lc(),ww=uc();kf.exports=Ew;function Ew(e,t,i,r){var n=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[n]=_w(t,n,e[n],function(s,a){n in i.jobs&&(delete i.jobs[n],s?ww(i):i.results[n]=a,r(s,i.results))})}function _w(e,t,i,r){var n;return e.length==2?n=e(i,Af(r)):n=e(i,t,Af(r)),n}});var fc=b((cC,Lf)=>{"use strict";Lf.exports=Sw;function Sw(e,t){var i=!Array.isArray(e),r={index:0,keyedList:i||t?Object.keys(e):null,jobs:{},results:i?{}:[],size:i?Object.keys(e).length:e.length};return t&&r.keyedList.sort(i?t:function(n,s){return t(e[n],e[s])}),r}});var dc=b((lC,Nf)=>{"use strict";var Rw=uc(),Ow=lc();Nf.exports=Tw;function Tw(e){Object.keys(this.jobs).length&&(this.index=this.size,Rw(this),Ow(e)(null,this.results))}});var Df=b((uC,Ff)=>{"use strict";var Cw=pc(),Aw=fc(),kw=dc();Ff.exports=Lw;function Lw(e,t,i){for(var r=Aw(e);r.index<(r.keyedList||e).length;)Cw(e,t,r,function(n,s){if(n){i(n,s);return}if(Object.keys(r.jobs).length===0){i(null,r.results);return}}),r.index++;return kw.bind(r,i)}});var mc=b((pC,ks)=>{"use strict";var If=pc(),Nw=fc(),Fw=dc();ks.exports=Dw;ks.exports.ascending=Bf;ks.exports.descending=Iw;function Dw(e,t,i,r){var n=Nw(e,i);return If(e,t,n,function s(a,o){if(a){r(a,o);return}if(n.index++,n.index<(n.keyedList||e).length){If(e,t,n,s);return}r(null,n.results)}),Fw.bind(n,r)}function Bf(e,t){return e<t?-1:e>t?1:0}function Iw(e,t){return-1*Bf(e,t)}});var jf=b((fC,Pf)=>{"use strict";var Bw=mc();Pf.exports=Pw;function Pw(e,t,i){return Bw(e,t,null,i)}});var zf=b((dC,Mf)=>{"use strict";Mf.exports={parallel:Df(),serial:jf(),serialOrdered:mc()}});var Uf=b((mC,qf)=>{"use strict";qf.exports=function(e,t){return Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]}),e}});var Wf=b((hC,Hf)=>{"use strict";var bc=vf(),$f=C("util"),hc=C("path"),jw=C("http"),Mw=C("https"),zw=C("url").parse,qw=C("fs"),Uw=C("stream").Stream,xc=_f(),$w=zf(),vc=Uf();Hf.exports=U;$f.inherits(U,bc);function U(e){if(!(this instanceof U))return new U(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],bc.call(this),e=e||{};for(var t in e)this[t]=e[t]}U.LINE_BREAK=`\r |
2 |
`;U.DEFAULT_CONTENT_TYPE="application/octet-stream";U.prototype.append=function(e,t,i){i=i||{},typeof i=="string"&&(i={filename:i});var r=bc.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),$f.isArray(t)){this._error(new Error("Arrays are not supported."));return}var n=this._multiPartHeader(e,t,i),s=this._multiPartFooter();r(n),r(t),r(s),this._trackLength(n,t,i)};U.prototype._trackLength=function(e,t,i){var r=0;i.knownLength!=null?r+=+i.knownLength:Buffer.isBuffer(t)?r=t.length:typeof t=="string"&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+U.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof Uw))&&(i.knownLength||this._valuesToMeasure.push(t))};U.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):qw.stat(e.path,function(i,r){var n;if(i){t(i);return}n=r.size-(e.start?e.start:0),t(null,n)}):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",function(i){e.pause(),t(null,+i.headers["content-length"])}),e.resume()):t("Unknown stream")};U.prototype._multiPartHeader=function(e,t,i){if(typeof i.header=="string")return i.header;var r=this._getContentDisposition(t,i),n=this._getContentType(t,i),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(r||[]),"Content-Type":[].concat(n||[])};typeof i.header=="object"&&vc(a,i.header);var o;for(var c in a)a.hasOwnProperty(c)&&(o=a[c],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(s+=c+": "+o.join("; ")+U.LINE_BREAK)));return"--"+this.getBoundary()+U.LINE_BREAK+s+U.LINE_BREAK};U.prototype._getContentDisposition=function(e,t){var i,r;return typeof t.filepath=="string"?i=hc.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?i=hc.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(i=hc.basename(e.client._httpMessage.path||"")),i&&(r='filename="'+i+'"'),r};U.prototype._getContentType=function(e,t){var i=t.contentType;return!i&&e.name&&(i=xc.lookup(e.name)),!i&&e.path&&(i=xc.lookup(e.path)),!i&&e.readable&&e.hasOwnProperty("httpVersion")&&(i=e.headers["content-type"]),!i&&(t.filepath||t.filename)&&(i=xc.lookup(t.filepath||t.filename)),!i&&typeof e=="object"&&(i=U.DEFAULT_CONTENT_TYPE),i};U.prototype._multiPartFooter=function(){return function(e){var t=U.LINE_BREAK,i=this._streams.length===0;i&&(t+=this._lastBoundary()),e(t)}.bind(this)};U.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+U.LINE_BREAK};U.prototype.getHeaders=function(e){var t,i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(i[t.toLowerCase()]=e[t]);return i};U.prototype.setBoundary=function(e){this._boundary=e};U.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};U.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),i=0,r=this._streams.length;i<r;i++)typeof this._streams[i]!="function"&&(Buffer.isBuffer(this._streams[i])?e=Buffer.concat([e,this._streams[i]]):e=Buffer.concat([e,Buffer.from(this._streams[i])]),(typeof this._streams[i]!="string"||this._streams[i].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(U.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};U.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(Math.random()*10).toString(16);this._boundary=e};U.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};U.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};U.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}$w.parallel(this._valuesToMeasure,this._lengthRetriever,function(i,r){if(i){e(i);return}r.forEach(function(n){t+=n}),e(null,t)})};U.prototype.submit=function(e,t){var i,r,n={method:"post"};return typeof e=="string"?(e=zw(e),r=vc({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},n)):(r=vc(e,n),r.port||(r.port=r.protocol=="https:"?443:80)),r.headers=this.getHeaders(e.headers),r.protocol=="https:"?i=Mw.request(r):i=jw.request(r),this.getLength(function(s,a){if(s&&s!=="Unknown stream"){this._error(s);return}if(a&&i.setHeader("Content-Length",a),this.pipe(i),t){var o,c=function(u,l){return i.removeListener("error",c),i.removeListener("response",o),t.call(this,u,l)};o=c.bind(this,null),i.on("error",c),i.on("response",o)}}.bind(this)),i};U.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};U.prototype.toString=function(){return"[object FormData]"}});var sd=b(nd=>{"use strict";var oE=C("url").parse,cE={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},lE=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function uE(e){var t=typeof e=="string"?oE(e):e||{},i=t.protocol,r=t.host,n=t.port;if(typeof r!="string"||!r||typeof i!="string"||(i=i.split(":",1)[0],r=r.replace(/:\d*$/,""),n=parseInt(n)||cE[i]||0,!pE(r,n)))return"";var s=ar("npm_config_"+i+"_proxy")||ar(i+"_proxy")||ar("npm_config_proxy")||ar("all_proxy");return s&&s.indexOf("://")===-1&&(s=i+"://"+s),s}function pE(e,t){var i=(ar("npm_config_no_proxy")||ar("no_proxy")).toLowerCase();return i?i==="*"?!1:i.split(/[,\s]/).every(function(r){if(!r)return!0;var n=r.match(/^(.+):(\d+)$/),s=n?n[1]:r,a=n?parseInt(n[2]):0;return a&&a!==t?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!lE.call(e,s)):e!==s}):!0}function ar(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}nd.getProxyForUrl=uE});var od=b((vA,ad)=>{"use strict";var or=1e3,cr=or*60,lr=cr*60,Ti=lr*24,fE=Ti*7,dE=Ti*365.25;ad.exports=function(e,t){t=t||{};var i=typeof e;if(i==="string"&&e.length>0)return mE(e);if(i==="number"&&isFinite(e))return t.long?xE(e):hE(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function mE(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 i=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return i*dE;case"weeks":case"week":case"w":return i*fE;case"days":case"day":case"d":return i*Ti;case"hours":case"hour":case"hrs":case"hr":case"h":return i*lr;case"minutes":case"minute":case"mins":case"min":case"m":return i*cr;case"seconds":case"second":case"secs":case"sec":case"s":return i*or;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}function hE(e){var t=Math.abs(e);return t>=Ti?Math.round(e/Ti)+"d":t>=lr?Math.round(e/lr)+"h":t>=cr?Math.round(e/cr)+"m":t>=or?Math.round(e/or)+"s":e+"ms"}function xE(e){var t=Math.abs(e);return t>=Ti?Ds(e,t,Ti,"day"):t>=lr?Ds(e,t,lr,"hour"):t>=cr?Ds(e,t,cr,"minute"):t>=or?Ds(e,t,or,"second"):e+" ms"}function Ds(e,t,i,r){var n=t>=i*1.5;return Math.round(e/i)+" "+r+(n?"s":"")}});var Ac=b((bA,cd)=>{"use strict";function vE(e){i.debug=i,i.default=i,i.coerce=c,i.disable=s,i.enable=n,i.enabled=a,i.humanize=od(),i.destroy=u,Object.keys(e).forEach(l=>{i[l]=e[l]}),i.names=[],i.skips=[],i.formatters={};function t(l){let p=0;for(let f=0;f<l.length;f++)p=(p<<5)-p+l.charCodeAt(f),p|=0;return i.colors[Math.abs(p)%i.colors.length]}i.selectColor=t;function i(l){let p,f=null,d,h;function v(...x){if(!v.enabled)return;let g=v,w=Number(new Date),y=w-(p||w);g.diff=y,g.prev=p,g.curr=w,p=w,x[0]=i.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");let D=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(W,M)=>{if(W==="%%")return"%";D++;let $=i.formatters[M];if(typeof $=="function"){let S=x[D];W=$.call(g,S),x.splice(D,1),D--}return W}),i.formatArgs.call(g,x),(g.log||i.log).apply(g,x)}return v.namespace=l,v.useColors=i.useColors(),v.color=i.selectColor(l),v.extend=r,v.destroy=i.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(d!==i.namespaces&&(d=i.namespaces,h=i.enabled(l)),h),set:x=>{f=x}}),typeof i.init=="function"&&i.init(v),v}function r(l,p){let f=i(this.namespace+(typeof p>"u"?":":p)+l);return f.log=this.log,f}function n(l){i.save(l),i.namespaces=l,i.names=[],i.skips=[];let p,f=(typeof l=="string"?l:"").split(/[\s,]+/),d=f.length;for(p=0;p<d;p++)f[p]&&(l=f[p].replace(/\*/g,".*?"),l[0]==="-"?i.skips.push(new RegExp("^"+l.slice(1)+"$")):i.names.push(new RegExp("^"+l+"$")))}function s(){let l=[...i.names.map(o),...i.skips.map(o).map(p=>"-"+p)].join(",");return i.enable(""),l}function a(l){if(l[l.length-1]==="*")return!0;let p,f;for(p=0,f=i.skips.length;p<f;p++)if(i.skips[p].test(l))return!1;for(p=0,f=i.names.length;p<f;p++)if(i.names[p].test(l))return!0;return!1}function o(l){return l.toString().substring(2,l.toString().length-2).replace(/\.\*\?$/,"*")}function c(l){return l instanceof Error?l.stack||l.message:l}function u(){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 i.enable(i.load()),i}cd.exports=vE});var ld=b((Ue,Is)=>{"use strict";Ue.formatArgs=gE;Ue.save=yE;Ue.load=wE;Ue.useColors=bE;Ue.storage=EE();Ue.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`."))}})();Ue.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 bE(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function gE(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Is.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let i=0,r=0;e[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(i++,n==="%c"&&(r=i))}),e.splice(r,0,t)}Ue.log=console.debug||console.log||(()=>{});function yE(e){try{e?Ue.storage.setItem("debug",e):Ue.storage.removeItem("debug")}catch{}}function wE(){let e;try{e=Ue.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function EE(){try{return localStorage}catch{}}Is.exports=Ac()(Ue);var{formatters:_E}=Is.exports;_E.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var pd=b((gA,ud)=>{"use strict";ud.exports=(e,t=process.argv)=>{let i=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(i+e),n=t.indexOf("--");return r!==-1&&(n===-1||r<n)}});var md=b((yA,dd)=>{"use strict";var SE=C("os"),fd=C("tty"),Ke=pd(),{env:de}=process,Qt;Ke("no-color")||Ke("no-colors")||Ke("color=false")||Ke("color=never")?Qt=0:(Ke("color")||Ke("colors")||Ke("color=true")||Ke("color=always"))&&(Qt=1);"FORCE_COLOR"in de&&(de.FORCE_COLOR==="true"?Qt=1:de.FORCE_COLOR==="false"?Qt=0:Qt=de.FORCE_COLOR.length===0?1:Math.min(parseInt(de.FORCE_COLOR,10),3));function kc(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Lc(e,t){if(Qt===0)return 0;if(Ke("color=16m")||Ke("color=full")||Ke("color=truecolor"))return 3;if(Ke("color=256"))return 2;if(e&&!t&&Qt===void 0)return 0;let i=Qt||0;if(de.TERM==="dumb")return i;if(process.platform==="win32"){let r=SE.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in de)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in de)||de.CI_NAME==="codeship"?1:i;if("TEAMCITY_VERSION"in de)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(de.TEAMCITY_VERSION)?1:0;if(de.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in de){let r=parseInt((de.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(de.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(de.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(de.TERM)||"COLORTERM"in de?1:i}function RE(e){let t=Lc(e,e&&e.isTTY);return kc(t)}dd.exports={supportsColor:RE,stdout:kc(Lc(!0,fd.isatty(1))),stderr:kc(Lc(!0,fd.isatty(2)))}});var xd=b((me,Ps)=>{"use strict";var OE=C("tty"),Bs=C("util");me.init=FE;me.log=kE;me.formatArgs=CE;me.save=LE;me.load=NE;me.useColors=TE;me.destroy=Bs.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");me.colors=[6,2,3,4,5,1];try{let e=md();e&&(e.stderr||e).level>=2&&(me.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{}me.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let i=t.substring(6).toLowerCase().replace(/_([a-z])/g,(n,s)=>s.toUpperCase()),r=process.env[t];return/^(yes|on|true|enabled)$/i.test(r)?r=!0:/^(no|off|false|disabled)$/i.test(r)?r=!1:r==="null"?r=null:r=Number(r),e[i]=r,e},{});function TE(){return"colors"in me.inspectOpts?!!me.inspectOpts.colors:OE.isatty(process.stderr.fd)}function CE(e){let{namespace:t,useColors:i}=this;if(i){let r=this.color,n="\x1B[3"+(r<8?r:"8;5;"+r),s=` ${n};1m${t} \x1B[0m`;e[0]=s+e[0].split(` |
3 |
`).join(` |
4 |
`+s),e.push(n+"m+"+Ps.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=AE()+t+" "+e[0]}function AE(){return me.inspectOpts.hideDate?"":new Date().toISOString()+" "}function kE(...e){return process.stderr.write(Bs.formatWithOptions(me.inspectOpts,...e)+` |
5 |
`)}function LE(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function NE(){return process.env.DEBUG}function FE(e){e.inspectOpts={};let t=Object.keys(me.inspectOpts);for(let i=0;i<t.length;i++)e.inspectOpts[t[i]]=me.inspectOpts[t[i]]}Ps.exports=Ac()(me);var{formatters:hd}=Ps.exports;hd.o=function(e){return this.inspectOpts.colors=this.useColors,Bs.inspect(e,this.inspectOpts).split(` |
6 |
`).map(t=>t.trim()).join(" ")};hd.O=function(e){return this.inspectOpts.colors=this.useColors,Bs.inspect(e,this.inspectOpts)}});var vd=b((wA,Nc)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Nc.exports=ld():Nc.exports=xd()});var gd=b((EA,bd)=>{"use strict";var ln;bd.exports=function(){if(!ln){try{ln=vd()("follow-redirects")}catch{}typeof ln!="function"&&(ln=function(){})}ln.apply(null,arguments)}});var Sd=b((_A,Hc)=>{"use strict";var fn=C("url"),un=fn.URL,DE=C("http"),IE=C("https"),Pc=C("stream").Writable,jc=C("assert"),yd=gd(),Mc=!1;try{jc(new un)}catch(e){Mc=e.code==="ERR_INVALID_URL"}var BE=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],zc=["abort","aborted","connect","error","socket","timeout"],qc=Object.create(null);zc.forEach(function(e){qc[e]=function(t,i,r){this._redirectable.emit(e,t,i,r)}});var Dc=dn("ERR_INVALID_URL","Invalid URL",TypeError),Ic=dn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),PE=dn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Ic),jE=dn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),ME=dn("ERR_STREAM_WRITE_AFTER_END","write after end"),zE=Pc.prototype.destroy||Ed;function Pe(e,t){Pc.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 i=this;this._onNativeResponse=function(r){try{i._processResponse(r)}catch(n){i.emit("error",n instanceof Ic?n:new Ic({cause:n}))}},this._performRequest()}Pe.prototype=Object.create(Pc.prototype);Pe.prototype.abort=function(){$c(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Pe.prototype.destroy=function(e){return $c(this._currentRequest,e),zE.call(this,e),this};Pe.prototype.write=function(e,t,i){if(this._ending)throw new ME;if(!Ci(e)&&!$E(e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(pn(t)&&(i=t,t=null),e.length===0){i&&i();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,i)):(this.emit("error",new jE),this.abort())};Pe.prototype.end=function(e,t,i){if(pn(e)?(i=e,e=t=null):pn(t)&&(i=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,i);else{var r=this,n=this._currentRequest;this.write(e,t,function(){r._ended=!0,n.end(null,null,i)}),this._ending=!0}};Pe.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};Pe.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};Pe.prototype.setTimeout=function(e,t){var i=this;function r(a){a.setTimeout(e),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function n(a){i._timeout&&clearTimeout(i._timeout),i._timeout=setTimeout(function(){i.emit("timeout"),s()},e),r(a)}function s(){i._timeout&&(clearTimeout(i._timeout),i._timeout=null),i.removeListener("abort",s),i.removeListener("error",s),i.removeListener("response",s),i.removeListener("close",s),t&&i.removeListener("timeout",t),i.socket||i._currentRequest.removeListener("socket",n)}return t&&this.on("timeout",t),this.socket?n(this.socket):this._currentRequest.once("socket",n),this.on("socket",r),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){Pe.prototype[e]=function(t,i){return this._currentRequest[e](t,i)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(Pe.prototype,e,{get:function(){return this._currentRequest[e]}})});Pe.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))}};Pe.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 i=e.slice(0,-1);this._options.agent=this._options.agents[i]}var r=this._currentRequest=t.request(this._options,this._onNativeResponse);r._redirectable=this;for(var n of zc)r.on(n,qc[n]);if(this._currentUrl=/^\//.test(this._options.path)?fn.format(this._options):this._options.path,this._isRedirect){var s=0,a=this,o=this._requestBodyBuffers;(function c(u){if(r===a._currentRequest)if(u)a.emit("error",u);else if(s<o.length){var l=o[s++];r.finished||r.write(l.data,l.encoding,c)}else a._ended&&r.end()})()}};Pe.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var i=e.headers.location;if(!i||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if($c(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new PE;var r,n=this._options.beforeRedirect;n&&(r=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=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=[],Fc(/^content-/i,this._options.headers));var a=Fc(/^host$/i,this._options.headers),o=Uc(this._currentUrl),c=a||o.host,u=/^\w+:/.test(i)?this._currentUrl:fn.format(Object.assign(o,{host:c})),l=qE(i,u);if(yd("redirecting to",l.href),this._isRedirect=!0,Bc(l,this._options),(l.protocol!==o.protocol&&l.protocol!=="https:"||l.host!==c&&!UE(l.host,c))&&Fc(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),pn(n)){var p={headers:e.headers,statusCode:t},f={url:u,method:s,headers:r};n(this._options,p,f),this._sanitizeOptions(this._options)}this._performRequest()};function wd(e){var t={maxRedirects:21,maxBodyLength:10485760},i={};return Object.keys(e).forEach(function(r){var n=r+":",s=i[n]=e[r],a=t[r]=Object.create(s);function o(u,l,p){return HE(u)?u=Bc(u):Ci(u)?u=Bc(Uc(u)):(p=l,l=_d(u),u={protocol:n}),pn(l)&&(p=l,l=null),l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=i,!Ci(l.host)&&!Ci(l.hostname)&&(l.hostname="::1"),jc.equal(l.protocol,n,"protocol mismatch"),yd("options",l),new Pe(l,p)}function c(u,l,p){var f=a.request(u,l,p);return f.end(),f}Object.defineProperties(a,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function Ed(){}function Uc(e){var t;if(Mc)t=new un(e);else if(t=_d(fn.parse(e)),!Ci(t.protocol))throw new Dc({input:e});return t}function qE(e,t){return Mc?new un(e,t):Uc(fn.resolve(t,e))}function _d(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Dc({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Dc({input:e.href||e});return e}function Bc(e,t){var i=t||{};for(var r of BE)i[r]=e[r];return i.hostname.startsWith("[")&&(i.hostname=i.hostname.slice(1,-1)),i.port!==""&&(i.port=Number(i.port)),i.path=i.search?i.pathname+i.search:i.pathname,i}function Fc(e,t){var i;for(var r in t)e.test(r)&&(i=t[r],delete t[r]);return i===null||typeof i>"u"?void 0:String(i).trim()}function dn(e,t,i){function r(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(i||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function $c(e,t){for(var i of zc)e.removeListener(i,qc[i]);e.on("error",Ed),e.destroy(t)}function UE(e,t){jc(Ci(e)&&Ci(t));var i=e.length-t.length-1;return i>0&&e[i]==="."&&e.endsWith(t)}function Ci(e){return typeof e=="string"||e instanceof String}function pn(e){return typeof e=="function"}function $E(e){return typeof e=="object"&&"length"in e}function HE(e){return un&&e instanceof un}Hc.exports=wd({http:DE,https:IE});Hc.exports.wrap=wd});var hm=b((CF,mm)=>{"use strict";var ri=C("constants"),i_=process.cwd,Ks=null,r_=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return Ks||(Ks=i_.call(process)),Ks};try{process.cwd()}catch{}typeof process.chdir=="function"&&(ll=process.chdir,process.chdir=function(e){Ks=null,ll.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,ll));var ll;mm.exports=n_;function n_(e){ri.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||i(e),e.chown=s(e.chown),e.fchown=s(e.fchown),e.lchown=s(e.lchown),e.chmod=r(e.chmod),e.fchmod=r(e.fchmod),e.lchmod=r(e.lchmod),e.chownSync=a(e.chownSync),e.fchownSync=a(e.fchownSync),e.lchownSync=a(e.lchownSync),e.chmodSync=n(e.chmodSync),e.fchmodSync=n(e.fchmodSync),e.lchmodSync=n(e.lchmodSync),e.stat=o(e.stat),e.fstat=o(e.fstat),e.lstat=o(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(l,p,f){f&&process.nextTick(f)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(l,p,f,d){d&&process.nextTick(d)},e.lchownSync=function(){}),r_==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(l){function p(f,d,h){var v=Date.now(),x=0;l(f,d,function g(w){if(w&&(w.code==="EACCES"||w.code==="EPERM"||w.code==="EBUSY")&&Date.now()-v<6e4){setTimeout(function(){e.stat(d,function(y,D){y&&y.code==="ENOENT"?l(f,d,g):h(w)})},x),x<100&&(x+=10);return}h&&h(w)})}return Object.setPrototypeOf&&Object.setPrototypeOf(p,l),p}(e.rename)),e.read=typeof e.read!="function"?e.read:function(l){function p(f,d,h,v,x,g){var w;if(g&&typeof g=="function"){var y=0;w=function(D,k,W){if(D&&D.code==="EAGAIN"&&y<10)return y++,l.call(e,f,d,h,v,x,w);g.apply(this,arguments)}}return l.call(e,f,d,h,v,x,w)}return Object.setPrototypeOf&&Object.setPrototypeOf(p,l),p}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(l){return function(p,f,d,h,v){for(var x=0;;)try{return l.call(e,p,f,d,h,v)}catch(g){if(g.code==="EAGAIN"&&x<10){x++;continue}throw g}}}(e.readSync);function t(l){l.lchmod=function(p,f,d){l.open(p,ri.O_WRONLY|ri.O_SYMLINK,f,function(h,v){if(h){d&&d(h);return}l.fchmod(v,f,function(x){l.close(v,function(g){d&&d(x||g)})})})},l.lchmodSync=function(p,f){var d=l.openSync(p,ri.O_WRONLY|ri.O_SYMLINK,f),h=!0,v;try{v=l.fchmodSync(d,f),h=!1}finally{if(h)try{l.closeSync(d)}catch{}else l.closeSync(d)}return v}}function i(l){ri.hasOwnProperty("O_SYMLINK")&&l.futimes?(l.lutimes=function(p,f,d,h){l.open(p,ri.O_SYMLINK,function(v,x){if(v){h&&h(v);return}l.futimes(x,f,d,function(g){l.close(x,function(w){h&&h(g||w)})})})},l.lutimesSync=function(p,f,d){var h=l.openSync(p,ri.O_SYMLINK),v,x=!0;try{v=l.futimesSync(h,f,d),x=!1}finally{if(x)try{l.closeSync(h)}catch{}else l.closeSync(h)}return v}):l.futimes&&(l.lutimes=function(p,f,d,h){h&&process.nextTick(h)},l.lutimesSync=function(){})}function r(l){return l&&function(p,f,d){return l.call(e,p,f,function(h){u(h)&&(h=null),d&&d.apply(this,arguments)})}}function n(l){return l&&function(p,f){try{return l.call(e,p,f)}catch(d){if(!u(d))throw d}}}function s(l){return l&&function(p,f,d,h){return l.call(e,p,f,d,function(v){u(v)&&(v=null),h&&h.apply(this,arguments)})}}function a(l){return l&&function(p,f,d){try{return l.call(e,p,f,d)}catch(h){if(!u(h))throw h}}}function o(l){return l&&function(p,f,d){typeof f=="function"&&(d=f,f=null);function h(v,x){x&&(x.uid<0&&(x.uid+=4294967296),x.gid<0&&(x.gid+=4294967296)),d&&d.apply(this,arguments)}return f?l.call(e,p,f,h):l.call(e,p,h)}}function c(l){return l&&function(p,f){var d=f?l.call(e,p,f):l.call(e,p);return d&&(d.uid<0&&(d.uid+=4294967296),d.gid<0&&(d.gid+=4294967296)),d}}function u(l){if(!l||l.code==="ENOSYS")return!0;var p=!process.getuid||process.getuid()!==0;return!!(p&&(l.code==="EINVAL"||l.code==="EPERM"))}}});var bm=b((AF,vm)=>{"use strict";var xm=C("stream").Stream;vm.exports=s_;function s_(e){return{ReadStream:t,WriteStream:i};function t(r,n){if(!(this instanceof t))return new t(r,n);xm.call(this);var s=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,n=n||{};for(var a=Object.keys(n),o=0,c=a.length;o<c;o++){var u=a[o];this[u]=n[u]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}e.open(this.path,this.flags,this.mode,function(l,p){if(l){s.emit("error",l),s.readable=!1;return}s.fd=p,s.emit("open",p),s._read()})}function i(r,n){if(!(this instanceof i))return new i(r,n);xm.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,n=n||{};for(var s=Object.keys(n),a=0,o=s.length;a<o;a++){var c=s[a];this[c]=n[c]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var ym=b((kF,gm)=>{"use strict";gm.exports=o_;var a_=Object.getPrototypeOf||function(e){return e.__proto__};function o_(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:a_(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}});var Sm=b((LF,fl)=>{"use strict";var ne=C("fs"),c_=hm(),l_=bm(),u_=ym(),Zs=C("util"),ge,Qs;typeof Symbol=="function"&&typeof Symbol.for=="function"?(ge=Symbol.for("graceful-fs.queue"),Qs=Symbol.for("graceful-fs.previous")):(ge="___graceful-fs.queue",Qs="___graceful-fs.previous");function p_(){}function _m(e,t){Object.defineProperty(e,ge,{get:function(){return t}})}var ki=p_;Zs.debuglog?ki=Zs.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(ki=function(){var e=Zs.format.apply(Zs,arguments);e="GFS4: "+e.split(/\n/).join(` |
7 |
GFS4: `),console.error(e)});ne[ge]||(wm=global[ge]||[],_m(ne,wm),ne.close=function(e){function t(i,r){return e.call(ne,i,function(n){n||Em(),typeof r=="function"&&r.apply(this,arguments)})}return Object.defineProperty(t,Qs,{value:e}),t}(ne.close),ne.closeSync=function(e){function t(i){e.apply(ne,arguments),Em()}return Object.defineProperty(t,Qs,{value:e}),t}(ne.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){ki(ne[ge]),C("assert").equal(ne[ge].length,0)}));var wm;global[ge]||_m(global,ne[ge]);fl.exports=ul(u_(ne));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!ne.__patched&&(fl.exports=ul(ne),ne.__patched=!0);function ul(e){c_(e),e.gracefulify=ul,e.createReadStream=k,e.createWriteStream=W;var t=e.readFile;e.readFile=i;function i(S,A,L){return typeof A=="function"&&(L=A,A=null),z(S,A,L);function z(G,I,P,j){return t(G,I,function(E){E&&(E.code==="EMFILE"||E.code==="ENFILE")?xr([z,[G,I,P],E,j||Date.now(),Date.now()]):typeof P=="function"&&P.apply(this,arguments)})}}var r=e.writeFile;e.writeFile=n;function n(S,A,L,z){return typeof L=="function"&&(z=L,L=null),G(S,A,L,z);function G(I,P,j,E,T){return r(I,P,j,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?xr([G,[I,P,j,E],N,T||Date.now(),Date.now()]):typeof E=="function"&&E.apply(this,arguments)})}}var s=e.appendFile;s&&(e.appendFile=a);function a(S,A,L,z){return typeof L=="function"&&(z=L,L=null),G(S,A,L,z);function G(I,P,j,E,T){return s(I,P,j,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?xr([G,[I,P,j,E],N,T||Date.now(),Date.now()]):typeof E=="function"&&E.apply(this,arguments)})}}var o=e.copyFile;o&&(e.copyFile=c);function c(S,A,L,z){return typeof L=="function"&&(z=L,L=0),G(S,A,L,z);function G(I,P,j,E,T){return o(I,P,j,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?xr([G,[I,P,j,E],N,T||Date.now(),Date.now()]):typeof E=="function"&&E.apply(this,arguments)})}}var u=e.readdir;e.readdir=p;var l=/^v[0-5]\./;function p(S,A,L){typeof A=="function"&&(L=A,A=null);var z=l.test(process.version)?function(P,j,E,T){return u(P,G(P,j,E,T))}:function(P,j,E,T){return u(P,j,G(P,j,E,T))};return z(S,A,L);function G(I,P,j,E){return function(T,N){T&&(T.code==="EMFILE"||T.code==="ENFILE")?xr([z,[I,P,j],T,E||Date.now(),Date.now()]):(N&&N.sort&&N.sort(),typeof j=="function"&&j.call(this,T,N))}}}if(process.version.substr(0,4)==="v0.8"){var f=l_(e);g=f.ReadStream,y=f.WriteStream}var d=e.ReadStream;d&&(g.prototype=Object.create(d.prototype),g.prototype.open=w);var h=e.WriteStream;h&&(y.prototype=Object.create(h.prototype),y.prototype.open=D),Object.defineProperty(e,"ReadStream",{get:function(){return g},set:function(S){g=S},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return y},set:function(S){y=S},enumerable:!0,configurable:!0});var v=g;Object.defineProperty(e,"FileReadStream",{get:function(){return v},set:function(S){v=S},enumerable:!0,configurable:!0});var x=y;Object.defineProperty(e,"FileWriteStream",{get:function(){return x},set:function(S){x=S},enumerable:!0,configurable:!0});function g(S,A){return this instanceof g?(d.apply(this,arguments),this):g.apply(Object.create(g.prototype),arguments)}function w(){var S=this;$(S.path,S.flags,S.mode,function(A,L){A?(S.autoClose&&S.destroy(),S.emit("error",A)):(S.fd=L,S.emit("open",L),S.read())})}function y(S,A){return this instanceof y?(h.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}function D(){var S=this;$(S.path,S.flags,S.mode,function(A,L){A?(S.destroy(),S.emit("error",A)):(S.fd=L,S.emit("open",L))})}function k(S,A){return new e.ReadStream(S,A)}function W(S,A){return new e.WriteStream(S,A)}var M=e.open;e.open=$;function $(S,A,L,z){return typeof L=="function"&&(z=L,L=null),G(S,A,L,z);function G(I,P,j,E,T){return M(I,P,j,function(N,q){N&&(N.code==="EMFILE"||N.code==="ENFILE")?xr([G,[I,P,j,E],N,T||Date.now(),Date.now()]):typeof E=="function"&&E.apply(this,arguments)})}}return e}function xr(e){ki("ENQUEUE",e[0].name,e[1]),ne[ge].push(e),pl()}var Js;function Em(){for(var e=Date.now(),t=0;t<ne[ge].length;++t)ne[ge][t].length>2&&(ne[ge][t][3]=e,ne[ge][t][4]=e);pl()}function pl(){if(clearTimeout(Js),Js=void 0,ne[ge].length!==0){var e=ne[ge].shift(),t=e[0],i=e[1],r=e[2],n=e[3],s=e[4];if(n===void 0)ki("RETRY",t.name,i),t.apply(null,i);else if(Date.now()-n>=6e4){ki("TIMEOUT",t.name,i);var a=i.pop();typeof a=="function"&&a.call(null,r)}else{var o=Date.now()-s,c=Math.max(s-n,1),u=Math.min(c*1.2,100);o>=u?(ki("RETRY",t.name,i),t.apply(null,i.concat([n]))):ne[ge].push(e)}Js===void 0&&(Js=setTimeout(pl,0))}}});var dl=b((NF,Rm)=>{"use strict";Rm.exports=e=>{let t=new Uint8Array(e);if(!(t&&t.length>1))return null;let i=(r,n)=>{n=Object.assign({offset:0},n);for(let s=0;s<r.length;s++)if(r[s]!==t[s+n.offset])return!1;return!0};if(i([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(i([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(i([71,73,70]))return{ext:"gif",mime:"image/gif"};if(i([87,69,66,80],{offset:8}))return{ext:"webp",mime:"image/webp"};if(i([70,76,73,70]))return{ext:"flif",mime:"image/flif"};if((i([73,73,42,0])||i([77,77,0,42]))&&i([67,82],{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(i([73,73,42,0])||i([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(i([66,77]))return{ext:"bmp",mime:"image/bmp"};if(i([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(i([56,66,80,83]))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(i([80,75,3,4])&&i([109,105,109,101,116,121,112,101,97,112,112,108,105,99,97,116,105,111,110,47,101,112,117,98,43,122,105,112],{offset:30}))return{ext:"epub",mime:"application/epub+zip"};if(i([80,75,3,4])&&i([77,69,84,65,45,73,78,70,47,109,111,122,105,108,108,97,46,114,115,97],{offset:30}))return{ext:"xpi",mime:"application/x-xpinstall"};if(i([80,75])&&(t[2]===3||t[2]===5||t[2]===7)&&(t[3]===4||t[3]===6||t[3]===8))return{ext:"zip",mime:"application/zip"};if(i([117,115,116,97,114],{offset:257}))return{ext:"tar",mime:"application/x-tar"};if(i([82,97,114,33,26,7])&&(t[6]===0||t[6]===1))return{ext:"rar",mime:"application/x-rar-compressed"};if(i([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(i([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(i([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(i([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(i([0,0,0])&&(t[3]===24||t[3]===32)&&i([102,116,121,112],{offset:4})||i([51,103,112,53])||i([0,0,0,28,102,116,121,112,109,112,52,50])&&i([109,112,52,49,109,112,52,50,105,115,111,109],{offset:16})||i([0,0,0,28,102,116,121,112,105,115,111,109])||i([0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0]))return{ext:"mp4",mime:"video/mp4"};if(i([0,0,0,28,102,116,121,112,77,52,86]))return{ext:"m4v",mime:"video/x-m4v"};if(i([77,84,104,100]))return{ext:"mid",mime:"audio/midi"};if(i([26,69,223,163])){let r=t.subarray(4,4100),n=r.findIndex((s,a,o)=>o[a]===66&&o[a+1]===130);if(n>=0){let s=n+3,a=o=>Array.from(o).every((c,u)=>r[s+u]===c.charCodeAt(0));if(a("matroska"))return{ext:"mkv",mime:"video/x-matroska"};if(a("webm"))return{ext:"webm",mime:"video/webm"}}}return i([0,0,0,20,102,116,121,112,113,116,32,32])||i([102,114,101,101],{offset:4})||i([102,116,121,112,113,116,32,32],{offset:4})||i([109,100,97,116],{offset:4})||i([119,105,100,101],{offset:4})?{ext:"mov",mime:"video/quicktime"}:i([82,73,70,70])&&i([65,86,73],{offset:8})?{ext:"avi",mime:"video/x-msvideo"}:i([48,38,178,117,142,102,207,17,166,217])?{ext:"wmv",mime:"video/x-ms-wmv"}:i([0,0,1,186])?{ext:"mpg",mime:"video/mpeg"}:i([73,68,51])||i([255,251])?{ext:"mp3",mime:"audio/mpeg"}:i([102,116,121,112,77,52,65],{offset:4})||i([77,52,65,32])?{ext:"m4a",mime:"audio/m4a"}:i([79,112,117,115,72,101,97,100],{offset:28})?{ext:"opus",mime:"audio/opus"}:i([79,103,103,83])?{ext:"ogg",mime:"audio/ogg"}:i([102,76,97,67])?{ext:"flac",mime:"audio/x-flac"}:i([82,73,70,70])&&i([87,65,86,69],{offset:8})?{ext:"wav",mime:"audio/x-wav"}:i([35,33,65,77,82,10])?{ext:"amr",mime:"audio/amr"}:i([37,80,68,70])?{ext:"pdf",mime:"application/pdf"}:i([77,90])?{ext:"exe",mime:"application/x-msdownload"}:(t[0]===67||t[0]===70)&&i([87,83],{offset:1})?{ext:"swf",mime:"application/x-shockwave-flash"}:i([123,92,114,116,102])?{ext:"rtf",mime:"application/rtf"}:i([0,97,115,109])?{ext:"wasm",mime:"application/wasm"}:i([119,79,70,70])&&(i([0,1,0,0],{offset:4})||i([79,84,84,79],{offset:4}))?{ext:"woff",mime:"font/woff"}:i([119,79,70,50])&&(i([0,1,0,0],{offset:4})||i([79,84,84,79],{offset:4}))?{ext:"woff2",mime:"font/woff2"}:i([76,80],{offset:34})&&(i([0,0,1],{offset:8})||i([1,0,2],{offset:8})||i([2,0,2],{offset:8}))?{ext:"eot",mime:"application/octet-stream"}:i([0,1,0,0,0])?{ext:"ttf",mime:"font/ttf"}:i([79,84,84,79,0])?{ext:"otf",mime:"font/otf"}:i([0,0,1,0])?{ext:"ico",mime:"image/x-icon"}:i([70,76,86,1])?{ext:"flv",mime:"video/x-flv"}:i([37,33])?{ext:"ps",mime:"application/postscript"}:i([253,55,122,88,90,0])?{ext:"xz",mime:"application/x-xz"}:i([83,81,76,105])?{ext:"sqlite",mime:"application/x-sqlite3"}:i([78,69,83,26])?{ext:"nes",mime:"application/x-nintendo-nes-rom"}:i([67,114,50,52])?{ext:"crx",mime:"application/x-google-chrome-extension"}:i([77,83,67,70])||i([73,83,99,40])?{ext:"cab",mime:"application/vnd.ms-cab-compressed"}:i([33,60,97,114,99,104,62,10,100,101,98,105,97,110,45,98,105,110,97,114,121])?{ext:"deb",mime:"application/x-deb"}:i([33,60,97,114,99,104,62])?{ext:"ar",mime:"application/x-unix-archive"}:i([237,171,238,219])?{ext:"rpm",mime:"application/x-rpm"}:i([31,160])||i([31,157])?{ext:"Z",mime:"application/x-compress"}:i([76,90,73,80])?{ext:"lz",mime:"application/x-lzip"}:i([208,207,17,224,161,177,26,225])?{ext:"msi",mime:"application/x-msi"}:i([6,14,43,52,2,5,1,1,13,1,2,1,1,2])?{ext:"mxf",mime:"application/mxf"}:i([71],{offset:4})&&(i([71],{offset:192})||i([71],{offset:196}))?{ext:"mts",mime:"video/mp2t"}:i([66,76,69,78,68,69,82])?{ext:"blend",mime:"application/x-blender"}:i([66,80,71,251])?{ext:"bpg",mime:"image/bpg"}:null}});var ea=b((FF,Om)=>{"use strict";var Lt=Om.exports=function(e){return e!==null&&typeof e=="object"&&typeof e.pipe=="function"};Lt.writable=function(e){return Lt(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object"};Lt.readable=function(e){return Lt(e)&&e.readable!==!1&&typeof e._read=="function"&&typeof e._readableState=="object"};Lt.duplex=function(e){return Lt.writable(e)&&Lt.readable(e)};Lt.transform=function(e){return Lt.duplex(e)&&typeof e._transform=="function"&&typeof e._transformState=="object"}});var bn=b((DF,ml)=>{"use strict";typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0?ml.exports={nextTick:f_}:ml.exports=process;function f_(e,t,i,r){if(typeof e!="function")throw new TypeError('"callback" argument must be a function');var n=arguments.length,s,a;switch(n){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function(){e.call(null,t)});case 3:return process.nextTick(function(){e.call(null,t,i)});case 4:return process.nextTick(function(){e.call(null,t,i,r)});default:for(s=new Array(n-1),a=0;a<s.length;)s[a++]=arguments[a];return process.nextTick(function(){e.apply(null,s)})}}});var Cm=b((IF,Tm)=>{"use strict";var d_={}.toString;Tm.exports=Array.isArray||function(e){return d_.call(e)=="[object Array]"}});var hl=b((BF,Am)=>{"use strict";Am.exports=C("stream")});var ia=b((xl,Lm)=>{"use strict";var ta=C("buffer"),Nt=ta.Buffer;function km(e,t){for(var i in e)t[i]=e[i]}Nt.from&&Nt.alloc&&Nt.allocUnsafe&&Nt.allocUnsafeSlow?Lm.exports=ta:(km(ta,xl),xl.Buffer=vr);function vr(e,t,i){return Nt(e,t,i)}km(Nt,vr);vr.from=function(e,t,i){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Nt(e,t,i)};vr.alloc=function(e,t,i){if(typeof e!="number")throw new TypeError("Argument must be a number");var r=Nt(e);return t!==void 0?typeof i=="string"?r.fill(t,i):r.fill(t):r.fill(0),r};vr.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Nt(e)};vr.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return ta.SlowBuffer(e)}});var br=b(Re=>{"use strict";function m_(e){return Array.isArray?Array.isArray(e):ra(e)==="[object Array]"}Re.isArray=m_;function h_(e){return typeof e=="boolean"}Re.isBoolean=h_;function x_(e){return e===null}Re.isNull=x_;function v_(e){return e==null}Re.isNullOrUndefined=v_;function b_(e){return typeof e=="number"}Re.isNumber=b_;function g_(e){return typeof e=="string"}Re.isString=g_;function y_(e){return typeof e=="symbol"}Re.isSymbol=y_;function w_(e){return e===void 0}Re.isUndefined=w_;function E_(e){return ra(e)==="[object RegExp]"}Re.isRegExp=E_;function __(e){return typeof e=="object"&&e!==null}Re.isObject=__;function S_(e){return ra(e)==="[object Date]"}Re.isDate=S_;function R_(e){return ra(e)==="[object Error]"||e instanceof Error}Re.isError=R_;function O_(e){return typeof e=="function"}Re.isFunction=O_;function T_(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}Re.isPrimitive=T_;Re.isBuffer=C("buffer").Buffer.isBuffer;function ra(e){return Object.prototype.toString.call(e)}});var Nm=b((jF,vl)=>{"use strict";typeof Object.create=="function"?vl.exports=function(t,i){i&&(t.super_=i,t.prototype=Object.create(i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:vl.exports=function(t,i){if(i){t.super_=i;var r=function(){};r.prototype=i.prototype,t.prototype=new r,t.prototype.constructor=t}}});var gr=b((MF,gl)=>{"use strict";try{if(bl=C("util"),typeof bl.inherits!="function")throw"";gl.exports=bl.inherits}catch{gl.exports=Nm()}var bl});var Dm=b((zF,yl)=>{"use strict";function C_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Fm=ia().Buffer,gn=C("util");function A_(e,t,i){e.copy(t,i)}yl.exports=function(){function e(){C_(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(i){var r={data:i,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length},e.prototype.unshift=function(i){var r={data:i,next:this.head};this.length===0&&(this.tail=r),this.head=r,++this.length},e.prototype.shift=function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(i){if(this.length===0)return"";for(var r=this.head,n=""+r.data;r=r.next;)n+=i+r.data;return n},e.prototype.concat=function(i){if(this.length===0)return Fm.alloc(0);for(var r=Fm.allocUnsafe(i>>>0),n=this.head,s=0;n;)A_(n.data,r,s),s+=n.data.length,n=n.next;return r},e}();gn&&gn.inspect&&gn.inspect.custom&&(yl.exports.prototype[gn.inspect.custom]=function(){var e=gn.inspect({length:this.length});return this.constructor.name+" "+e})});var wl=b((qF,Im)=>{"use strict";var na=bn();function k_(e,t){var i=this,r=this._readableState&&this._readableState.destroyed,n=this._writableState&&this._writableState.destroyed;return r||n?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,na.nextTick(sa,this,e)):na.nextTick(sa,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(s){!t&&s?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,na.nextTick(sa,i,s)):na.nextTick(sa,i,s):t&&t(s)}),this)}function L_(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function sa(e,t){e.emit("error",t)}Im.exports={destroy:k_,undestroy:L_}});var Pm=b((UF,Bm)=>{"use strict";Bm.exports=C("util").deprecate});var _l=b(($F,Wm)=>{"use strict";var Li=bn();Wm.exports=pe;function Mm(e){var t=this;this.next=null,this.entry=null,this.finish=function(){X_(t,e)}}var N_=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:Li.nextTick,yr;pe.WritableState=wn;var zm=Object.create(br());zm.inherits=gr();var F_={deprecate:Pm()},qm=hl(),oa=ia().Buffer,D_=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function I_(e){return oa.from(e)}function B_(e){return oa.isBuffer(e)||e instanceof D_}var Um=wl();zm.inherits(pe,qm);function P_(){}function wn(e,t){yr=yr||Ni(),e=e||{};var i=t instanceof yr;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,n=e.writableHighWaterMark,s=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:i&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=e.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){H_(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Mm(this)}wn.prototype.getBuffer=function(){for(var t=this.bufferedRequest,i=[];t;)i.push(t),t=t.next;return i};(function(){try{Object.defineProperty(wn.prototype,"buffer",{get:F_.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var aa;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(aa=Function.prototype[Symbol.hasInstance],Object.defineProperty(pe,Symbol.hasInstance,{value:function(e){return aa.call(this,e)?!0:this!==pe?!1:e&&e._writableState instanceof wn}})):aa=function(e){return e instanceof this};function pe(e){if(yr=yr||Ni(),!aa.call(pe,this)&&!(this instanceof yr))return new pe(e);this._writableState=new wn(e,this),this.writable=!0,e&&(typeof e.write=="function"&&(this._write=e.write),typeof e.writev=="function"&&(this._writev=e.writev),typeof e.destroy=="function"&&(this._destroy=e.destroy),typeof e.final=="function"&&(this._final=e.final)),qm.call(this)}pe.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function j_(e,t){var i=new Error("write after end");e.emit("error",i),Li.nextTick(t,i)}function M_(e,t,i,r){var n=!0,s=!1;return i===null?s=new TypeError("May not write null values to stream"):typeof i!="string"&&i!==void 0&&!t.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),Li.nextTick(r,s),n=!1),n}pe.prototype.write=function(e,t,i){var r=this._writableState,n=!1,s=!r.objectMode&&B_(e);return s&&!oa.isBuffer(e)&&(e=I_(e)),typeof t=="function"&&(i=t,t=null),s?t="buffer":t||(t=r.defaultEncoding),typeof i!="function"&&(i=P_),r.ended?j_(this,i):(s||M_(this,r,e,i))&&(r.pendingcb++,n=q_(this,r,s,e,t,i)),n};pe.prototype.cork=function(){var e=this._writableState;e.corked++};pe.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&$m(this,e))};pe.prototype.setDefaultEncoding=function(t){if(typeof t=="string"&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this};function z_(e,t,i){return!e.objectMode&&e.decodeStrings!==!1&&typeof t=="string"&&(t=oa.from(t,i)),t}Object.defineProperty(pe.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function q_(e,t,i,r,n,s){if(!i){var a=z_(t,r,n);r!==a&&(i=!0,n="buffer",r=a)}var o=t.objectMode?1:r.length;t.length+=o;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:n,isBuf:i,callback:s,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else El(e,t,!1,o,r,n,s);return c}function El(e,t,i,r,n,s,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,i?e._writev(n,t.onwrite):e._write(n,s,t.onwrite),t.sync=!1}function U_(e,t,i,r,n){--t.pendingcb,i?(Li.nextTick(n,r),Li.nextTick(yn,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(n(r),e._writableState.errorEmitted=!0,e.emit("error",r),yn(e,t))}function $_(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function H_(e,t){var i=e._writableState,r=i.sync,n=i.writecb;if($_(i),t)U_(e,i,r,t,n);else{var s=Hm(i);!s&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest&&$m(e,i),r?N_(jm,e,i,s,n):jm(e,i,s,n)}}function jm(e,t,i,r){i||W_(e,t),t.pendingcb--,r(),yn(e,t)}function W_(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function $m(e,t){t.bufferProcessing=!0;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var r=t.bufferedRequestCount,n=new Array(r),s=t.corkedRequestsFree;s.entry=i;for(var a=0,o=!0;i;)n[a]=i,i.isBuf||(o=!1),i=i.next,a+=1;n.allBuffers=o,El(e,t,!0,t.length,n,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new Mm(t),t.bufferedRequestCount=0}else{for(;i;){var c=i.chunk,u=i.encoding,l=i.callback,p=t.objectMode?1:c.length;if(El(e,t,!1,p,c,u,l),i=i.next,t.bufferedRequestCount--,t.writing)break}i===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=i,t.bufferProcessing=!1}pe.prototype._write=function(e,t,i){i(new Error("_write() is not implemented"))};pe.prototype._writev=null;pe.prototype.end=function(e,t,i){var r=this._writableState;typeof e=="function"?(i=e,e=null,t=null):typeof t=="function"&&(i=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||Y_(this,r,i)};function Hm(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function G_(e,t){e._final(function(i){t.pendingcb--,i&&e.emit("error",i),t.prefinished=!0,e.emit("prefinish"),yn(e,t)})}function V_(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final=="function"?(t.pendingcb++,t.finalCalled=!0,Li.nextTick(G_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function yn(e,t){var i=Hm(t);return i&&(V_(e,t),t.pendingcb===0&&(t.finished=!0,e.emit("finish"))),i}function Y_(e,t,i){t.ending=!0,yn(e,t),i&&(t.finished?Li.nextTick(i):e.once("finish",i)),t.ended=!0,e.writable=!1}function X_(e,t,i){var r=e.entry;for(e.entry=null;r;){var n=r.callback;t.pendingcb--,n(i),r=r.next}t.corkedRequestsFree.next=e}Object.defineProperty(pe.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}});pe.prototype.destroy=Um.destroy;pe.prototype._undestroy=Um.undestroy;pe.prototype._destroy=function(e,t){this.end(),t(e)}});var Ni=b((HF,Xm)=>{"use strict";var Gm=bn(),K_=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};Xm.exports=Ft;var Vm=Object.create(br());Vm.inherits=gr();var Ym=Ol(),Rl=_l();Vm.inherits(Ft,Ym);for(Sl=K_(Rl.prototype),ca=0;ca<Sl.length;ca++)la=Sl[ca],Ft.prototype[la]||(Ft.prototype[la]=Rl.prototype[la]);var Sl,la,ca;function Ft(e){if(!(this instanceof Ft))return new Ft(e);Ym.call(this,e),Rl.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",Z_)}Object.defineProperty(Ft.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Z_(){this.allowHalfOpen||this._writableState.ended||Gm.nextTick(J_,this)}function J_(e){e.end()}Object.defineProperty(Ft.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=e,this._writableState.destroyed=e)}});Ft.prototype._destroy=function(e,t){this.push(null),this.end(),Gm.nextTick(t,e)}});var Jm=b((Tl,Zm)=>{"use strict";var ua=C("buffer"),Dt=ua.Buffer;function Km(e,t){for(var i in e)t[i]=e[i]}Dt.from&&Dt.alloc&&Dt.allocUnsafe&&Dt.allocUnsafeSlow?Zm.exports=ua:(Km(ua,Tl),Tl.Buffer=wr);function wr(e,t,i){return Dt(e,t,i)}Km(Dt,wr);wr.from=function(e,t,i){if(typeof e=="number")throw new TypeError("Argument must not be a number");return Dt(e,t,i)};wr.alloc=function(e,t,i){if(typeof e!="number")throw new TypeError("Argument must be a number");var r=Dt(e);return t!==void 0?typeof i=="string"?r.fill(t,i):r.fill(t):r.fill(0),r};wr.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return Dt(e)};wr.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return ua.SlowBuffer(e)}});var kl=b(eh=>{"use strict";var Al=Jm().Buffer,Qm=Al.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Q_(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function eS(e){var t=Q_(e);if(typeof t!="string"&&(Al.isEncoding===Qm||!Qm(e)))throw new Error("Unknown encoding: "+e);return t||e}eh.StringDecoder=En;function En(e){this.encoding=eS(e);var t;switch(this.encoding){case"utf16le":this.text=aS,this.end=oS,t=4;break;case"utf8":this.fillLast=rS,t=4;break;case"base64":this.text=cS,this.end=lS,t=3;break;default:this.write=uS,this.end=pS;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Al.allocUnsafe(t)}En.prototype.write=function(e){if(e.length===0)return"";var t,i;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<e.length?t?t+this.text(e,i):this.text(e,i):t||""};En.prototype.end=sS;En.prototype.text=nS;En.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Cl(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function tS(e,t,i){var r=t.length-1;if(r<i)return 0;var n=Cl(t[r]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--r<i||n===-2?0:(n=Cl(t[r]),n>=0?(n>0&&(e.lastNeed=n-2),n):--r<i||n===-2?0:(n=Cl(t[r]),n>=0?(n>0&&(n===2?n=0:e.lastNeed=n-3),n):0))}function iS(e,t,i){if((t[0]&192)!==128)return e.lastNeed=0,"\uFFFD";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"\uFFFD";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"\uFFFD"}}function rS(e){var t=this.lastTotal-this.lastNeed,i=iS(this,e,t);if(i!==void 0)return i;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function nS(e,t){var i=tS(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var r=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function sS(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\uFFFD":t}function aS(e,t){if((e.length-t)%2===0){var i=e.toString("utf16le",t);if(i){var r=i.charCodeAt(i.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function oS(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function cS(e,t){var i=(e.length-t)%3;return i===0?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,i===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-i))}function lS(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function uS(e){return e.toString(this.encoding)}function pS(e){return e&&e.length?this.write(e):""}});var Ol=b((VF,fh)=>{"use strict";var _r=bn();fh.exports=J;var fS=Cm(),_n;J.ReadableState=oh;var GF=C("events").EventEmitter,nh=function(e,t){return e.listeners(t).length},Il=hl(),Sn=ia().Buffer,dS=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function mS(e){return Sn.from(e)}function hS(e){return Sn.isBuffer(e)||e instanceof dS}var sh=Object.create(br());sh.inherits=gr();var Ll=C("util"),V=void 0;Ll&&Ll.debuglog?V=Ll.debuglog("stream"):V=function(){};var xS=Dm(),ah=wl(),Er;sh.inherits(J,Il);var Nl=["error","close","destroy","pause","resume"];function vS(e,t,i){if(typeof e.prependListener=="function")return e.prependListener(t,i);!e._events||!e._events[t]?e.on(t,i):fS(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]}function oh(e,t){_n=_n||Ni(),e=e||{};var i=t instanceof _n;this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,n=e.readableHighWaterMark,s=this.objectMode?16:16*1024;r||r===0?this.highWaterMark=r:i&&(n||n===0)?this.highWaterMark=n:this.highWaterMark=s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new xS,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(Er||(Er=kl().StringDecoder),this.decoder=new Er(e.encoding),this.encoding=e.encoding)}function J(e){if(_n=_n||Ni(),!(this instanceof J))return new J(e);this._readableState=new oh(e,this),this.readable=!0,e&&(typeof e.read=="function"&&(this._read=e.read),typeof e.destroy=="function"&&(this._destroy=e.destroy)),Il.call(this)}Object.defineProperty(J.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}});J.prototype.destroy=ah.destroy;J.prototype._undestroy=ah.undestroy;J.prototype._destroy=function(e,t){this.push(null),t(e)};J.prototype.push=function(e,t){var i=this._readableState,r;return i.objectMode?r=!0:typeof e=="string"&&(t=t||i.defaultEncoding,t!==i.encoding&&(e=Sn.from(e,t),t=""),r=!0),ch(this,e,t,!1,r)};J.prototype.unshift=function(e){return ch(this,e,null,!0,!1)};function ch(e,t,i,r,n){var s=e._readableState;if(t===null)s.reading=!1,wS(e,s);else{var a;n||(a=bS(s,t)),a?e.emit("error",a):s.objectMode||t&&t.length>0?(typeof t!="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==Sn.prototype&&(t=mS(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):Fl(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!i?(t=s.decoder.write(t),s.objectMode||t.length!==0?Fl(e,s,t,!1):lh(e,s)):Fl(e,s,t,!1))):r||(s.reading=!1)}return gS(s)}function Fl(e,t,i,r){t.flowing&&t.length===0&&!t.sync?(e.emit("data",i),e.read(0)):(t.length+=t.objectMode?1:i.length,r?t.buffer.unshift(i):t.buffer.push(i),t.needReadable&&pa(e)),lh(e,t)}function bS(e,t){var i;return!hS(t)&&typeof t!="string"&&t!==void 0&&!e.objectMode&&(i=new TypeError("Invalid non-string/buffer chunk")),i}function gS(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}J.prototype.isPaused=function(){return this._readableState.flowing===!1};J.prototype.setEncoding=function(e){return Er||(Er=kl().StringDecoder),this._readableState.decoder=new Er(e),this._readableState.encoding=e,this};var th=8388608;function yS(e){return e>=th?e=th:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function ih(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=yS(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}J.prototype.read=function(e){V("read",e),e=parseInt(e,10);var t=this._readableState,i=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return V("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?Dl(this):pa(this),null;if(e=ih(e,t),e===0&&t.ended)return t.length===0&&Dl(this),null;var r=t.needReadable;V("need readable",r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,V("length less than watermark",r)),t.ended||t.reading?(r=!1,V("reading or ended",r)):r&&(V("do read"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=ih(i,t)));var n;return e>0?n=uh(e,t):n=null,n===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),i!==e&&t.ended&&Dl(this)),n!==null&&this.emit("data",n),n};function wS(e,t){if(!t.ended){if(t.decoder){var i=t.decoder.end();i&&i.length&&(t.buffer.push(i),t.length+=t.objectMode?1:i.length)}t.ended=!0,pa(e)}}function pa(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(V("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?_r.nextTick(rh,e):rh(e))}function rh(e){V("emit readable"),e.emit("readable"),Bl(e)}function lh(e,t){t.readingMore||(t.readingMore=!0,_r.nextTick(ES,e,t))}function ES(e,t){for(var i=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(V("maybeReadMore read 0"),e.read(0),i!==t.length);)i=t.length;t.readingMore=!1}J.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};J.prototype.pipe=function(e,t){var i=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e);break}r.pipesCount+=1,V("pipe count=%d opts=%j",r.pipesCount,t);var n=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,s=n?o:x;r.endEmitted?_r.nextTick(s):i.once("end",s),e.on("unpipe",a);function a(g,w){V("onunpipe"),g===i&&w&&w.hasUnpiped===!1&&(w.hasUnpiped=!0,l())}function o(){V("onend"),e.end()}var c=_S(i);e.on("drain",c);var u=!1;function l(){V("cleanup"),e.removeListener("close",h),e.removeListener("finish",v),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",a),i.removeListener("end",o),i.removeListener("end",x),i.removeListener("data",f),u=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}var p=!1;i.on("data",f);function f(g){V("ondata"),p=!1;var w=e.write(g);w===!1&&!p&&((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&ph(r.pipes,e)!==-1)&&!u&&(V("false write response, pause",r.awaitDrain),r.awaitDrain++,p=!0),i.pause())}function d(g){V("onerror",g),x(),e.removeListener("error",d),nh(e,"error")===0&&e.emit("error",g)}vS(e,"error",d);function h(){e.removeListener("finish",v),x()}e.once("close",h);function v(){V("onfinish"),e.removeListener("close",h),x()}e.once("finish",v);function x(){V("unpipe"),i.unpipe(e)}return e.emit("pipe",i),r.flowing||(V("pipe resume"),i.resume()),e};function _S(e){return function(){var t=e._readableState;V("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&nh(e,"data")&&(t.flowing=!0,Bl(e))}}J.prototype.unpipe=function(e){var t=this._readableState,i={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,i),this);if(!e){var r=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var s=0;s<n;s++)r[s].emit("unpipe",this,{hasUnpiped:!1});return this}var a=ph(t.pipes,e);return a===-1?this:(t.pipes.splice(a,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,i),this)};J.prototype.on=function(e,t){var i=Il.prototype.on.call(this,e,t);if(e==="data")this._readableState.flowing!==!1&&this.resume();else if(e==="readable"){var r=this._readableState;!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&pa(this):_r.nextTick(SS,this))}return i};J.prototype.addListener=J.prototype.on;function SS(e){V("readable nexttick read 0"),e.read(0)}J.prototype.resume=function(){var e=this._readableState;return e.flowing||(V("resume"),e.flowing=!0,RS(this,e)),this};function RS(e,t){t.resumeScheduled||(t.resumeScheduled=!0,_r.nextTick(OS,e,t))}function OS(e,t){t.reading||(V("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Bl(e),t.flowing&&!t.reading&&e.read(0)}J.prototype.pause=function(){return V("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(V("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Bl(e){var t=e._readableState;for(V("flow",t.flowing);t.flowing&&e.read()!==null;);}J.prototype.wrap=function(e){var t=this,i=this._readableState,r=!1;e.on("end",function(){if(V("wrapped end"),i.decoder&&!i.ended){var a=i.decoder.end();a&&a.length&&t.push(a)}t.push(null)}),e.on("data",function(a){if(V("wrapped data"),i.decoder&&(a=i.decoder.write(a)),!(i.objectMode&&a==null)&&!(!i.objectMode&&(!a||!a.length))){var o=t.push(a);o||(r=!0,e.pause())}});for(var n in e)this[n]===void 0&&typeof e[n]=="function"&&(this[n]=function(a){return function(){return e[a].apply(e,arguments)}}(n));for(var s=0;s<Nl.length;s++)e.on(Nl[s],this.emit.bind(this,Nl[s]));return this._read=function(a){V("wrapped _read",a),r&&(r=!1,e.resume())},this};Object.defineProperty(J.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});J._fromList=uh;function uh(e,t){if(t.length===0)return null;var i;return t.objectMode?i=t.buffer.shift():!e||e>=t.length?(t.decoder?i=t.buffer.join(""):t.buffer.length===1?i=t.buffer.head.data:i=t.buffer.concat(t.length),t.buffer.clear()):i=TS(e,t.buffer,t.decoder),i}function TS(e,t,i){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):e===t.head.data.length?r=t.shift():r=i?CS(e,t):AS(e,t),r}function CS(e,t){var i=t.head,r=1,n=i.data;for(e-=n.length;i=i.next;){var s=i.data,a=e>s.length?s.length:e;if(a===s.length?n+=s:n+=s.slice(0,e),e-=a,e===0){a===s.length?(++r,i.next?t.head=i.next:t.head=t.tail=null):(t.head=i,i.data=s.slice(a));break}++r}return t.length-=r,n}function AS(e,t){var i=Sn.allocUnsafe(e),r=t.head,n=1;for(r.data.copy(i),e-=r.data.length;r=r.next;){var s=r.data,a=e>s.length?s.length:e;if(s.copy(i,i.length-e,0,a),e-=a,e===0){a===s.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=s.slice(a));break}++n}return t.length-=n,i}function Dl(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,_r.nextTick(kS,t,e))}function kS(e,t){!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function ph(e,t){for(var i=0,r=e.length;i<r;i++)if(e[i]===t)return i;return-1}});var Pl=b((YF,hh)=>{"use strict";hh.exports=It;var fa=Ni(),mh=Object.create(br());mh.inherits=gr();mh.inherits(It,fa);function LS(e,t){var i=this._transformState;i.transforming=!1;var r=i.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,t!=null&&this.push(t),r(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function It(e){if(!(this instanceof It))return new It(e);fa.call(this,e),this._transformState={afterTransform:LS.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",NS)}function NS(){var e=this;typeof this._flush=="function"?this._flush(function(t,i){dh(e,t,i)}):dh(this,null,null)}It.prototype.push=function(e,t){return this._transformState.needTransform=!1,fa.prototype.push.call(this,e,t)};It.prototype._transform=function(e,t,i){throw new Error("_transform() is not implemented")};It.prototype._write=function(e,t,i){var r=this._transformState;if(r.writecb=i,r.writechunk=e,r.writeencoding=t,!r.transforming){var n=this._readableState;(r.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}};It.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};It.prototype._destroy=function(e,t){var i=this;fa.prototype._destroy.call(this,e,function(r){t(r),i.emit("close")})};function dh(e,t,i){if(t)return e.emit("error",t);if(i!=null&&e.push(i),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}});var gh=b((XF,bh)=>{"use strict";bh.exports=Rn;var xh=Pl(),vh=Object.create(br());vh.inherits=gr();vh.inherits(Rn,xh);function Rn(e){if(!(this instanceof Rn))return new Rn(e);xh.call(this,e)}Rn.prototype._transform=function(e,t,i){i(null,e)}});var Sr=b((ye,da)=>{"use strict";var ht=C("stream");process.env.READABLE_STREAM==="disable"&&ht?(da.exports=ht,ye=da.exports=ht.Readable,ye.Readable=ht.Readable,ye.Writable=ht.Writable,ye.Duplex=ht.Duplex,ye.Transform=ht.Transform,ye.PassThrough=ht.PassThrough,ye.Stream=ht):(ye=da.exports=Ol(),ye.Stream=ht||ye,ye.Readable=ye,ye.Writable=_l(),ye.Duplex=Ni(),ye.Transform=Pl(),ye.PassThrough=gh())});var wh=b((KF,yh)=>{"use strict";yh.exports=Sr().Duplex});var Sh=b((jl,_h)=>{"use strict";var ma=C("buffer"),xt=ma.Buffer;function Eh(e,t){for(var i in e)t[i]=e[i]}xt.from&&xt.alloc&&xt.allocUnsafe&&xt.allocUnsafeSlow?_h.exports=ma:(Eh(ma,jl),jl.Buffer=Fi);function Fi(e,t,i){return xt(e,t,i)}Fi.prototype=Object.create(xt.prototype);Eh(xt,Fi);Fi.from=function(e,t,i){if(typeof e=="number")throw new TypeError("Argument must not be a number");return xt(e,t,i)};Fi.alloc=function(e,t,i){if(typeof e!="number")throw new TypeError("Argument must be a number");var r=xt(e);return t!==void 0?typeof i=="string"?r.fill(t,i):r.fill(t):r.fill(0),r};Fi.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return xt(e)};Fi.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return ma.SlowBuffer(e)}});var Oh=b((ZF,Rh)=>{"use strict";var Ml=wh(),FS=C("util"),Rr=Sh().Buffer;function oe(e){if(!(this instanceof oe))return new oe(e);if(this._bufs=[],this.length=0,typeof e=="function"){this._callback=e;var t=function(r){this._callback&&(this._callback(r),this._callback=null)}.bind(this);this.on("pipe",function(r){r.on("error",t)}),this.on("unpipe",function(r){r.removeListener("error",t)})}else this.append(e);Ml.call(this)}FS.inherits(oe,Ml);oe.prototype._offset=function(t){var i=0,r=0,n;if(t===0)return[0,0];for(;r<this._bufs.length;r++){if(n=i+this._bufs[r].length,t<n||r==this._bufs.length-1)return[r,t-i];i=n}};oe.prototype.append=function(t){var i=0;if(Rr.isBuffer(t))this._appendBuffer(t);else if(Array.isArray(t))for(;i<t.length;i++)this.append(t[i]);else if(t instanceof oe)for(;i<t._bufs.length;i++)this.append(t._bufs[i]);else t!=null&&(typeof t=="number"&&(t=t.toString()),this._appendBuffer(Rr.from(t)));return this};oe.prototype._appendBuffer=function(t){this._bufs.push(t),this.length+=t.length};oe.prototype._write=function(t,i,r){this._appendBuffer(t),typeof r=="function"&&r()};oe.prototype._read=function(t){if(!this.length)return this.push(null);t=Math.min(t,this.length),this.push(this.slice(0,t)),this.consume(t)};oe.prototype.end=function(t){Ml.prototype.end.call(this,t),this._callback&&(this._callback(null,this.slice()),this._callback=null)};oe.prototype.get=function(t){return this.slice(t,t+1)[0]};oe.prototype.slice=function(t,i){return typeof t=="number"&&t<0&&(t+=this.length),typeof i=="number"&&i<0&&(i+=this.length),this.copy(null,0,t,i)};oe.prototype.copy=function(t,i,r,n){if((typeof r!="number"||r<0)&&(r=0),(typeof n!="number"||n>this.length)&&(n=this.length),r>=this.length||n<=0)return t||Rr.alloc(0);var s=!!t,a=this._offset(r),o=n-r,c=o,u=s&&i||0,l=a[1],p,f;if(r===0&&n==this.length){if(!s)return this._bufs.length===1?this._bufs[0]:Rr.concat(this._bufs,this.length);for(f=0;f<this._bufs.length;f++)this._bufs[f].copy(t,u),u+=this._bufs[f].length;return t}if(c<=this._bufs[a[0]].length-l)return s?this._bufs[a[0]].copy(t,i,l,l+c):this._bufs[a[0]].slice(l,l+c);for(s||(t=Rr.allocUnsafe(o)),f=a[0];f<this._bufs.length;f++){if(p=this._bufs[f].length-l,c>p)this._bufs[f].copy(t,u,l),u+=p;else{this._bufs[f].copy(t,u,l,l+c),u+=p;break}c-=p,l&&(l=0)}return t.length>u?t.slice(0,u):t};oe.prototype.shallowSlice=function(t,i){t=t||0,i=i||this.length,t<0&&(t+=this.length),i<0&&(i+=this.length);var r=this._offset(t),n=this._offset(i),s=this._bufs.slice(r[0],n[0]+1);return n[1]==0?s.pop():s[s.length-1]=s[s.length-1].slice(0,n[1]),r[1]!=0&&(s[0]=s[0].slice(r[1])),new oe(s)};oe.prototype.toString=function(t,i,r){return this.slice(i,r).toString(t)};oe.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;)if(t>=this._bufs[0].length)t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}return this};oe.prototype.duplicate=function(){for(var t=0,i=new oe;t<this._bufs.length;t++)i.append(this._bufs[t]);return i};oe.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)};(function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)(function(i){oe.prototype[i]=function(r){return this.slice(r,r+e[i])[i](0)}})(t)})();Rh.exports=oe});var Ch=b((JF,Th)=>{"use strict";Th.exports=IS;var DS=Object.prototype.hasOwnProperty;function IS(){for(var e={},t=0;t<arguments.length;t++){var i=arguments[t];for(var r in i)DS.call(i,r)&&(e[r]=i[r])}return e}});var zl=b((QF,kh)=>{"use strict";kh.exports=PS;var Ah=Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from:BS;function BS(e,t){return new Buffer(e,t)}function PS(e,t){if(Buffer.isBuffer(e))return e;if(typeof e=="string")return Ah(e,t);if(Array.isArray(e))return Ah(e);throw new Error("Input should be a buffer or a string")}});var Nh=b((eD,Lh)=>{"use strict";var jS=function(){try{if(!Buffer.isEncoding("latin1"))return!1;var e=Buffer.alloc?Buffer.alloc(4):new Buffer(4);return e.fill("ab","ucs2"),e.toString("hex")==="61006200"}catch{return!1}}();function MS(e){return e.length===1&&e.charCodeAt(0)<256}function ha(e,t,i,r){if(i<0||r>e.length)throw new RangeError("Out of range index");return i=i>>>0,r=r===void 0?e.length:r>>>0,r>i&&e.fill(t,i,r),e}function zS(e,t,i,r){if(i<0||r>e.length)throw new RangeError("Out of range index");if(r<=i)return e;i=i>>>0,r=r===void 0?e.length:r>>>0;for(var n=i,s=t.length;n<=r-s;)t.copy(e,n),n+=s;return n!==r&&t.copy(e,n,0,r-n),e}function qS(e,t,i,r,n){if(jS)return e.fill(t,i,r,n);if(typeof t=="number")return ha(e,t,i,r);if(typeof t=="string"){if(typeof i=="string"?(n=i,i=0,r=e.length):typeof r=="string"&&(n=r,r=e.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(n==="latin1"&&(n="binary"),typeof n=="string"&&!Buffer.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(t==="")return ha(e,0,i,r);if(MS(t))return ha(e,t.charCodeAt(0),i,r);t=new Buffer(t,n)}return Buffer.isBuffer(t)?zS(e,t,i,r):ha(e,0,i,r)}Lh.exports=qS});var Dh=b((tD,Fh)=>{"use strict";function US(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative');return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e)}Fh.exports=US});var ql=b((iD,Bh)=>{"use strict";var Ih=Nh(),$S=Dh();Bh.exports=function(t,i,r){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative');if(Buffer.alloc)return Buffer.alloc(t,i,r);var n=$S(t);return t===0?n:i===void 0?Ih(n,0):(typeof r!="string"&&(r=void 0),Ih(n,i,r))}});var $l=b(Tr=>{"use strict";var HS=zl(),WS=ql(),GS="0000000000000000000",VS="7777777777777777777",Ph=48,YS="ustar\x0000",XS=parseInt("7777",8),KS=function(e,t,i){return typeof e!="number"?i:(e=~~e,e>=t?t:e>=0||(e+=t,e>=0)?e:0)},ZS=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},JS=function(e){switch(e){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},jh=function(e,t,i,r){for(;i<r;i++)if(e[i]===t)return i;return r},Mh=function(e){for(var t=256,i=0;i<148;i++)t+=e[i];for(var r=156;r<512;r++)t+=e[r];return t},ni=function(e,t){return e=e.toString(8),e.length>t?VS.slice(0,t)+" ":GS.slice(0,t-e.length)+e+" "};function QS(e){var t;if(e[0]===128)t=!0;else if(e[0]===255)t=!1;else return null;for(var i=!1,r=[],n=e.length-1;n>0;n--){var s=e[n];t?r.push(s):i&&s===0?r.push(0):i?(i=!1,r.push(256-s)):r.push(255-s)}var a=0,o=r.length;for(n=0;n<o;n++)a+=r[n]*Math.pow(256,n);return t?a:-1*a}var si=function(e,t,i){if(e=e.slice(t,t+i),t=0,e[t]&128)return QS(e);for(;t<e.length&&e[t]===32;)t++;for(var r=KS(jh(e,32,t,e.length),e.length,e.length);t<r&&e[t]===0;)t++;return r===t?0:parseInt(e.slice(t,r).toString(),8)},Or=function(e,t,i,r){return e.slice(t,jh(e,0,t,t+i)).toString(r)},Ul=function(e){var t=Buffer.byteLength(e),i=Math.floor(Math.log(t)/Math.log(10))+1;return t+i>=Math.pow(10,i)&&i++,t+i+e};Tr.decodeLongPath=function(e,t){return Or(e,0,e.length,t)};Tr.encodePax=function(e){var t="";e.name&&(t+=Ul(" path="+e.name+` |
8 |
`)),e.linkname&&(t+=Ul(" linkpath="+e.linkname+` |
9 |
`));var i=e.pax;if(i)for(var r in i)t+=Ul(" "+r+"="+i[r]+` |
10 |
`);return HS(t)};Tr.decodePax=function(e){for(var t={};e.length;){for(var i=0;i<e.length&&e[i]!==32;)i++;var r=parseInt(e.slice(0,i).toString(),10);if(!r)return t;var n=e.slice(i+1,r-1).toString(),s=n.indexOf("=");if(s===-1)return t;t[n.slice(0,s)]=n.slice(s+1),e=e.slice(r)}return t};Tr.encode=function(e){var t=WS(512),i=e.name,r="";if(e.typeflag===5&&i[i.length-1]!=="/"&&(i+="/"),Buffer.byteLength(i)!==i.length)return null;for(;Buffer.byteLength(i)>100;){var n=i.indexOf("/");if(n===-1)return null;r+=r?"/"+i.slice(0,n):i.slice(0,n),i=i.slice(n+1)}return Buffer.byteLength(i)>100||Buffer.byteLength(r)>155||e.linkname&&Buffer.byteLength(e.linkname)>100?null:(t.write(i),t.write(ni(e.mode&XS,6),100),t.write(ni(e.uid,6),108),t.write(ni(e.gid,6),116),t.write(ni(e.size,11),124),t.write(ni(e.mtime.getTime()/1e3|0,11),136),t[156]=Ph+JS(e.type),e.linkname&&t.write(e.linkname,157),t.write(YS,257),e.uname&&t.write(e.uname,265),e.gname&&t.write(e.gname,297),t.write(ni(e.devmajor||0,6),329),t.write(ni(e.devminor||0,6),337),r&&t.write(r,345),t.write(ni(Mh(t),6),148),t)};Tr.decode=function(e,t){var i=e[156]===0?0:e[156]-Ph,r=Or(e,0,100,t),n=si(e,100,8),s=si(e,108,8),a=si(e,116,8),o=si(e,124,12),c=si(e,136,12),u=ZS(i),l=e[157]===0?null:Or(e,157,100,t),p=Or(e,265,32),f=Or(e,297,32),d=si(e,329,8),h=si(e,337,8);e[345]&&(r=Or(e,345,155,t)+"/"+r),i===0&&r&&r[r.length-1]==="/"&&(i=5);var v=Mh(e);if(v===8*32)return null;if(v!==si(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");return{name:r,mode:n,uid:s,gid:a,size:o,mtime:new Date(1e3*c),type:u,linkname:l,uname:p,gname:f,devmajor:d,devminor:h}}});var Gh=b((nD,Wh)=>{"use strict";var qh=C("util"),eR=Oh(),tR=Ch(),On=$l(),Uh=Sr().Writable,$h=Sr().PassThrough,Hh=function(){},zh=function(e){return e&=511,e&&512-e},iR=function(e,t){var i=new xa(e,t);return i.end(),i},rR=function(e,t){return t.path&&(e.name=t.path),t.linkpath&&(e.linkname=t.linkpath),t.size&&(e.size=parseInt(t.size,10)),e.pax=t,e},xa=function(e,t){this._parent=e,this.offset=t,$h.call(this)};qh.inherits(xa,$h);xa.prototype.destroy=function(e){this._parent.destroy(e)};var Bt=function(e){if(!(this instanceof Bt))return new Bt(e);Uh.call(this,e),e=e||{},this._offset=0,this._buffer=eR(),this._missing=0,this._partial=!1,this._onparse=Hh,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var t=this,i=t._buffer,r=function(){t._continue()},n=function(f){if(t._locked=!1,f)return t.destroy(f);t._stream||r()},s=function(){t._stream=null;var f=zh(t._header.size);f?t._parse(f,a):t._parse(512,p),t._locked||r()},a=function(){t._buffer.consume(zh(t._header.size)),t._parse(512,p),r()},o=function(){var f=t._header.size;t._paxGlobal=On.decodePax(i.slice(0,f)),i.consume(f),s()},c=function(){var f=t._header.size;t._pax=On.decodePax(i.slice(0,f)),t._paxGlobal&&(t._pax=tR(t._paxGlobal,t._pax)),i.consume(f),s()},u=function(){var f=t._header.size;this._gnuLongPath=On.decodeLongPath(i.slice(0,f),e.filenameEncoding),i.consume(f),s()},l=function(){var f=t._header.size;this._gnuLongLinkPath=On.decodeLongPath(i.slice(0,f),e.filenameEncoding),i.consume(f),s()},p=function(){var f=t._offset,d;try{d=t._header=On.decode(i.slice(0,512),e.filenameEncoding)}catch(h){t.emit("error",h)}if(i.consume(512),!d){t._parse(512,p),r();return}if(d.type==="gnu-long-path"){t._parse(d.size,u),r();return}if(d.type==="gnu-long-link-path"){t._parse(d.size,l),r();return}if(d.type==="pax-global-header"){t._parse(d.size,o),r();return}if(d.type==="pax-header"){t._parse(d.size,c),r();return}if(t._gnuLongPath&&(d.name=t._gnuLongPath,t._gnuLongPath=null),t._gnuLongLinkPath&&(d.linkname=t._gnuLongLinkPath,t._gnuLongLinkPath=null),t._pax&&(t._header=d=rR(d,t._pax),t._pax=null),t._locked=!0,!d.size||d.type==="directory"){t._parse(512,p),t.emit("entry",d,iR(t,f),n);return}t._stream=new xa(t,f),t.emit("entry",d,t._stream,n),t._parse(d.size,s),r()};this._onheader=p,this._parse(512,p)};qh.inherits(Bt,Uh);Bt.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,e&&this.emit("error",e),this.emit("close"),this._stream&&this._stream.emit("close"))};Bt.prototype._parse=function(e,t){this._destroyed||(this._offset+=e,this._missing=e,t===this._onheader&&(this._partial=!1),this._onparse=t)};Bt.prototype._continue=function(){if(!this._destroyed){var e=this._cb;this._cb=Hh,this._overflow?this._write(this._overflow,void 0,e):e()}};Bt.prototype._write=function(e,t,i){if(!this._destroyed){var r=this._stream,n=this._buffer,s=this._missing;if(e.length&&(this._partial=!0),e.length<s)return this._missing-=e.length,this._overflow=null,r?r.write(e,i):(n.append(e),i());this._cb=i,this._missing=0;var a=null;e.length>s&&(a=e.slice(s),e=e.slice(0,s)),r?r.end(e):n.append(e),this._overflow=a,this._onparse()}};Bt.prototype._final=function(e){if(this._partial)return this.destroy(new Error("Unexpected end of data"));e()};Wh.exports=Bt});var Yh=b((sD,Vh)=>{"use strict";Vh.exports=C("fs").constants||C("constants")});var Zh=b((aD,Kh)=>{"use strict";Kh.exports=Xh;function Xh(e,t){if(e&&t)return Xh(e)(t);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(r){i[r]=e[r]}),i;function i(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];var s=e.apply(this,r),a=r[r.length-1];return typeof s=="function"&&s!==a&&Object.keys(a).forEach(function(o){s[o]=a[o]}),s}}});var ex=b((oD,Hl)=>{"use strict";var Jh=Zh();Hl.exports=Jh(va);Hl.exports.strict=Jh(Qh);va.proto=va(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return va(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return Qh(this)},configurable:!0})});function va(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function Qh(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},i=e.name||"Function wrapped with `once`";return t.onceError=i+" shouldn't be called more than once",t.called=!1,t}});var rx=b((cD,ix)=>{"use strict";var nR=ex(),sR=function(){},aR=function(e){return e.setHeader&&typeof e.abort=="function"},oR=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3},tx=function(e,t,i){if(typeof t=="function")return tx(e,null,t);t||(t={}),i=nR(i||sR);var r=e._writableState,n=e._readableState,s=t.readable||t.readable!==!1&&e.readable,a=t.writable||t.writable!==!1&&e.writable,o=!1,c=function(){e.writable||u()},u=function(){a=!1,s||i.call(e)},l=function(){s=!1,a||i.call(e)},p=function(x){i.call(e,x?new Error("exited with error code: "+x):null)},f=function(x){i.call(e,x)},d=function(){process.nextTick(h)},h=function(){if(!o){if(s&&!(n&&n.ended&&!n.destroyed))return i.call(e,new Error("premature close"));if(a&&!(r&&r.ended&&!r.destroyed))return i.call(e,new Error("premature close"))}},v=function(){e.req.on("finish",u)};return aR(e)?(e.on("complete",u),e.on("abort",d),e.req?v():e.on("request",v)):a&&!r&&(e.on("end",c),e.on("close",c)),oR(e)&&e.on("exit",p),e.on("end",l),e.on("finish",u),t.error!==!1&&e.on("error",f),e.on("close",d),function(){o=!0,e.removeListener("complete",u),e.removeListener("abort",d),e.removeListener("request",v),e.req&&e.req.removeListener("finish",u),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",u),e.removeListener("exit",p),e.removeListener("end",l),e.removeListener("error",f),e.removeListener("close",d)}};ix.exports=tx});var cx=b((lD,ox)=>{"use strict";var Cr=Yh(),nx=rx(),ga=C("util"),cR=ql(),lR=zl(),sx=Sr().Readable,Ar=Sr().Writable,uR=C("string_decoder").StringDecoder,ba=$l(),pR=parseInt("755",8),fR=parseInt("644",8),ax=cR(1024),Gl=function(){},Wl=function(e,t){t&=511,t&&e.push(ax.slice(0,512-t))};function dR(e){switch(e&Cr.S_IFMT){case Cr.S_IFBLK:return"block-device";case Cr.S_IFCHR:return"character-device";case Cr.S_IFDIR:return"directory";case Cr.S_IFIFO:return"fifo";case Cr.S_IFLNK:return"symlink"}return"file"}var ya=function(e){Ar.call(this),this.written=0,this._to=e,this._destroyed=!1};ga.inherits(ya,Ar);ya.prototype._write=function(e,t,i){if(this.written+=e.length,this._to.push(e))return i();this._to._drain=i};ya.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var wa=function(){Ar.call(this),this.linkname="",this._decoder=new uR("utf-8"),this._destroyed=!1};ga.inherits(wa,Ar);wa.prototype._write=function(e,t,i){this.linkname+=this._decoder.write(e),i()};wa.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var Tn=function(){Ar.call(this),this._destroyed=!1};ga.inherits(Tn,Ar);Tn.prototype._write=function(e,t,i){i(new Error("No body allowed for this entry"))};Tn.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var vt=function(e){if(!(this instanceof vt))return new vt(e);sx.call(this,e),this._drain=Gl,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};ga.inherits(vt,sx);vt.prototype.entry=function(e,t,i){if(this._stream)throw new Error("already piping an entry");if(!(this._finalized||this._destroyed)){typeof t=="function"&&(i=t,t=null),i||(i=Gl);var r=this;if((!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=dR(e.mode)),e.mode||(e.mode=e.type==="directory"?pR:fR),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof t=="string"&&(t=lR(t)),Buffer.isBuffer(t))return e.size=t.length,this._encode(e),this.push(t),Wl(r,e.size),process.nextTick(i),new Tn;if(e.type==="symlink"&&!e.linkname){var n=new wa;return nx(n,function(a){if(a)return r.destroy(),i(a);e.linkname=n.linkname,r._encode(e),i()}),n}if(this._encode(e),e.type!=="file"&&e.type!=="contiguous-file")return process.nextTick(i),new Tn;var s=new ya(this);return this._stream=s,nx(s,function(a){if(r._stream=null,a)return r.destroy(),i(a);if(s.written!==e.size)return r.destroy(),i(new Error("size mismatch"));Wl(r,e.size),r._finalizing&&r.finalize(),i()}),s}};vt.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(ax),this.push(null))};vt.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,e&&this.emit("error",e),this.emit("close"),this._stream&&this._stream.destroy&&this._stream.destroy())};vt.prototype._encode=function(e){if(!e.pax){var t=ba.encode(e);if(t){this.push(t);return}}this._encodePax(e)};vt.prototype._encodePax=function(e){var t=ba.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),i={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.length,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(ba.encode(i)),this.push(t),Wl(this,t.length),i.size=e.size,i.type=e.type,this.push(ba.encode(i))};vt.prototype._read=function(e){var t=this._drain;this._drain=Gl,t()};ox.exports=vt});var lx=b(Vl=>{"use strict";Vl.extract=Gh();Vl.pack=cx()});var Ea=b((pD,px)=>{"use strict";var ux=dl(),mR=ea(),hR=lx();px.exports=()=>e=>{if(!Buffer.isBuffer(e)&&!mR(e))return Promise.reject(new TypeError(`Expected a Buffer or Stream, got ${typeof e}`));if(Buffer.isBuffer(e)&&(!ux(e)||ux(e).ext!=="tar"))return Promise.resolve([]);let t=hR.extract(),i=[];t.on("entry",(n,s,a)=>{let o=[];s.on("data",c=>o.push(c)),s.on("end",()=>{let c={data:Buffer.concat(o),mode:n.mode,mtime:n.mtime,path:n.name,type:n.type};(n.type==="symlink"||n.type==="link")&&(c.linkname=n.linkname),i.push(c),a()})});let r=new Promise((n,s)=>{Buffer.isBuffer(e)||e.on("error",s),t.on("finish",()=>n(i)),t.on("error",s)});return t.then=r.then.bind(r),t.catch=r.catch.bind(r),Buffer.isBuffer(e)?t.end(e):e.pipe(t),t}});var dx=b((fD,fx)=>{"use strict";var kr=e=>Array.from(e).map(t=>t.charCodeAt(0)),xR=kr("META-INF/mozilla.rsa"),vR=kr("[Content_Types].xml"),bR=kr("_rels/.rels");fx.exports=e=>{let t=new Uint8Array(e);if(!(t&&t.length>1))return null;let i=(r,n)=>{n=Object.assign({offset:0},n);for(let s=0;s<r.length;s++)if(n.mask){if(r[s]!==(n.mask[s]&t[s+n.offset]))return!1}else if(r[s]!==t[s+n.offset])return!1;return!0};if(i([255,216,255]))return{ext:"jpg",mime:"image/jpeg"};if(i([137,80,78,71,13,10,26,10]))return{ext:"png",mime:"image/png"};if(i([71,73,70]))return{ext:"gif",mime:"image/gif"};if(i([87,69,66,80],{offset:8}))return{ext:"webp",mime:"image/webp"};if(i([70,76,73,70]))return{ext:"flif",mime:"image/flif"};if((i([73,73,42,0])||i([77,77,0,42]))&&i([67,82],{offset:8}))return{ext:"cr2",mime:"image/x-canon-cr2"};if(i([73,73,42,0])||i([77,77,0,42]))return{ext:"tif",mime:"image/tiff"};if(i([66,77]))return{ext:"bmp",mime:"image/bmp"};if(i([73,73,188]))return{ext:"jxr",mime:"image/vnd.ms-photo"};if(i([56,66,80,83]))return{ext:"psd",mime:"image/vnd.adobe.photoshop"};if(i([80,75,3,4])){if(i([109,105,109,101,116,121,112,101,97,112,112,108,105,99,97,116,105,111,110,47,101,112,117,98,43,122,105,112],{offset:30}))return{ext:"epub",mime:"application/epub+zip"};if(i(xR,{offset:30}))return{ext:"xpi",mime:"application/x-xpinstall"};if(i(vR,{offset:30})||i(bR,{offset:30})){let r=t.subarray(4,2004),n=a=>a.findIndex((o,c,u)=>u[c]===80&&u[c+1]===75&&u[c+2]===3&&u[c+3]===4),s=n(r);if(s!==-1){let a=t.subarray(s+8,s+8+1e3),o=n(a);if(o!==-1){let c=8+s+o+30;if(i(kr("word/"),{offset:c}))return{ext:"docx",mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"};if(i(kr("ppt/"),{offset:c}))return{ext:"pptx",mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation"};if(i(kr("xl/"),{offset:c}))return{ext:"xlsx",mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}}}}}if(i([80,75])&&(t[2]===3||t[2]===5||t[2]===7)&&(t[3]===4||t[3]===6||t[3]===8))return{ext:"zip",mime:"application/zip"};if(i([117,115,116,97,114],{offset:257}))return{ext:"tar",mime:"application/x-tar"};if(i([82,97,114,33,26,7])&&(t[6]===0||t[6]===1))return{ext:"rar",mime:"application/x-rar-compressed"};if(i([31,139,8]))return{ext:"gz",mime:"application/gzip"};if(i([66,90,104]))return{ext:"bz2",mime:"application/x-bzip2"};if(i([55,122,188,175,39,28]))return{ext:"7z",mime:"application/x-7z-compressed"};if(i([120,1]))return{ext:"dmg",mime:"application/x-apple-diskimage"};if(i([51,103,112,53])||i([0,0,0])&&i([102,116,121,112],{offset:4})&&(i([109,112,52,49],{offset:8})||i([109,112,52,50],{offset:8})||i([105,115,111,109],{offset:8})||i([105,115,111,50],{offset:8})||i([109,109,112,52],{offset:8})||i([77,52,86],{offset:8})||i([100,97,115,104],{offset:8})))return{ext:"mp4",mime:"video/mp4"};if(i([77,84,104,100]))return{ext:"mid",mime:"audio/midi"};if(i([26,69,223,163])){let r=t.subarray(4,4100),n=r.findIndex((s,a,o)=>o[a]===66&&o[a+1]===130);if(n!==-1){let s=n+3,a=o=>Array.from(o).every((c,u)=>r[s+u]===c.charCodeAt(0));if(a("matroska"))return{ext:"mkv",mime:"video/x-matroska"};if(a("webm"))return{ext:"webm",mime:"video/webm"}}}if(i([0,0,0,20,102,116,121,112,113,116,32,32])||i([102,114,101,101],{offset:4})||i([102,116,121,112,113,116,32,32],{offset:4})||i([109,100,97,116],{offset:4})||i([119,105,100,101],{offset:4}))return{ext:"mov",mime:"video/quicktime"};if(i([82,73,70,70])&&i([65,86,73],{offset:8}))return{ext:"avi",mime:"video/x-msvideo"};if(i([48,38,178,117,142,102,207,17,166,217]))return{ext:"wmv",mime:"video/x-ms-wmv"};if(i([0,0,1,186]))return{ext:"mpg",mime:"video/mpeg"};for(let r=0;r<2&&r<t.length-16;r++)if(i([73,68,51],{offset:r})||i([255,226],{offset:r,mask:[255,226]}))return{ext:"mp3",mime:"audio/mpeg"};return i([102,116,121,112,77,52,65],{offset:4})||i([77,52,65,32])?{ext:"m4a",mime:"audio/m4a"}:i([79,112,117,115,72,101,97,100],{offset:28})?{ext:"opus",mime:"audio/opus"}:i([79,103,103,83])?{ext:"ogg",mime:"audio/ogg"}:i([102,76,97,67])?{ext:"flac",mime:"audio/x-flac"}:i([82,73,70,70])&&i([87,65,86,69],{offset:8})?{ext:"wav",mime:"audio/x-wav"}:i([35,33,65,77,82,10])?{ext:"amr",mime:"audio/amr"}:i([37,80,68,70])?{ext:"pdf",mime:"application/pdf"}:i([77,90])?{ext:"exe",mime:"application/x-msdownload"}:(t[0]===67||t[0]===70)&&i([87,83],{offset:1})?{ext:"swf",mime:"application/x-shockwave-flash"}:i([123,92,114,116,102])?{ext:"rtf",mime:"application/rtf"}:i([0,97,115,109])?{ext:"wasm",mime:"application/wasm"}:i([119,79,70,70])&&(i([0,1,0,0],{offset:4})||i([79,84,84,79],{offset:4}))?{ext:"woff",mime:"font/woff"}:i([119,79,70,50])&&(i([0,1,0,0],{offset:4})||i([79,84,84,79],{offset:4}))?{ext:"woff2",mime:"font/woff2"}:i([76,80],{offset:34})&&(i([0,0,1],{offset:8})||i([1,0,2],{offset:8})||i([2,0,2],{offset:8}))?{ext:"eot",mime:"application/octet-stream"}:i([0,1,0,0,0])?{ext:"ttf",mime:"font/ttf"}:i([79,84,84,79,0])?{ext:"otf",mime:"font/otf"}:i([0,0,1,0])?{ext:"ico",mime:"image/x-icon"}:i([70,76,86,1])?{ext:"flv",mime:"video/x-flv"}:i([37,33])?{ext:"ps",mime:"application/postscript"}:i([253,55,122,88,90,0])?{ext:"xz",mime:"application/x-xz"}:i([83,81,76,105])?{ext:"sqlite",mime:"application/x-sqlite3"}:i([78,69,83,26])?{ext:"nes",mime:"application/x-nintendo-nes-rom"}:i([67,114,50,52])?{ext:"crx",mime:"application/x-google-chrome-extension"}:i([77,83,67,70])||i([73,83,99,40])?{ext:"cab",mime:"application/vnd.ms-cab-compressed"}:i([33,60,97,114,99,104,62,10,100,101,98,105,97,110,45,98,105,110,97,114,121])?{ext:"deb",mime:"application/x-deb"}:i([33,60,97,114,99,104,62])?{ext:"ar",mime:"application/x-unix-archive"}:i([237,171,238,219])?{ext:"rpm",mime:"application/x-rpm"}:i([31,160])||i([31,157])?{ext:"Z",mime:"application/x-compress"}:i([76,90,73,80])?{ext:"lz",mime:"application/x-lzip"}:i([208,207,17,224,161,177,26,225])?{ext:"msi",mime:"application/x-msi"}:i([6,14,43,52,2,5,1,1,13,1,2,1,1,2])?{ext:"mxf",mime:"application/mxf"}:i([71],{offset:4})&&(i([71],{offset:192})||i([71],{offset:196}))?{ext:"mts",mime:"video/mp2t"}:i([66,76,69,78,68,69,82])?{ext:"blend",mime:"application/x-blender"}:i([66,80,71,251])?{ext:"bpg",mime:"image/bpg"}:null}});var xx=b((dD,hx)=>{"use strict";var mx=[0,1,3,7,15,31,63,127,255],Cn=function(e){this.stream=e,this.bitOffset=0,this.curByte=0,this.hasByte=!1};Cn.prototype._ensureByte=function(){this.hasByte||(this.curByte=this.stream.readByte(),this.hasByte=!0)};Cn.prototype.read=function(e){for(var t=0;e>0;){this._ensureByte();var i=8-this.bitOffset;if(e>=i)t<<=i,t|=mx[i]&this.curByte,this.hasByte=!1,this.bitOffset=0,e-=i;else{t<<=e;var r=i-e;t|=(this.curByte&mx[e]<<r)>>r,this.bitOffset+=e,e=0}}return t};Cn.prototype.seek=function(e){var t=e%8,i=(e-t)/8;this.bitOffset=t,this.stream.seek(i),this.hasByte=!1};Cn.prototype.pi=function(){var e=new Buffer(6),t;for(t=0;t<e.length;t++)e[t]=this.read(8);return e.toString("hex")};hx.exports=Cn});var bx=b((mD,vx)=>{"use strict";var Di=function(){};Di.prototype.readByte=function(){throw new Error("abstract method readByte() not implemented")};Di.prototype.read=function(e,t,i){for(var r=0;r<i;){var n=this.readByte();if(n<0)return r===0?-1:r;e[t++]=n,r++}return r};Di.prototype.seek=function(e){throw new Error("abstract method seek() not implemented")};Di.prototype.writeByte=function(e){throw new Error("abstract method readByte() not implemented")};Di.prototype.write=function(e,t,i){var r;for(r=0;r<i;r++)this.writeByte(e[t++]);return i};Di.prototype.flush=function(){};vx.exports=Di});var yx=b((hD,gx)=>{"use strict";gx.exports=function(){var e=new Uint32Array([0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889500026,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269,881225847,809987520,1023691545,969234094,662832811,591600412,771767749,717299826,311336399,374308984,453813921,533576470,25881363,88864420,134795389,214552010,2023205639,2086057648,1897238633,1976864222,1804852699,1867694188,1645340341,1724971778,1587496639,1516133128,1461550545,1406951526,1302016099,1230646740,1142491917,1087903418,2896545431,2825181984,2770861561,2716262478,3215044683,3143675388,3055782693,3001194130,2326604591,2389456536,2200899649,2280525302,2578013683,2640855108,2418763421,2498394922,3769900519,3832873040,3912640137,3992402750,4088425275,4151408268,4197601365,4277358050,3334271071,3263032808,3476998961,3422541446,3585640067,3514407732,3694837229,3640369242,1762451694,1842216281,1619975040,1682949687,2047383090,2127137669,1938468188,2001449195,1325665622,1271206113,1183200824,1111960463,1543535498,1489069629,1434599652,1363369299,622672798,568075817,748617968,677256519,907627842,853037301,1067152940,995781531,51762726,131386257,177728840,240578815,269590778,349224269,429104020,491947555,4046411278,4126034873,4172115296,4234965207,3794477266,3874110821,3953728444,4016571915,3609705398,3555108353,3735388376,3664026991,3290680682,3236090077,3449943556,3378572211,3174993278,3120533705,3032266256,2961025959,2923101090,2868635157,2813903052,2742672763,2604032198,2683796849,2461293480,2524268063,2284983834,2364738477,2175806836,2238787779,1569362073,1498123566,1409854455,1355396672,1317987909,1246755826,1192025387,1137557660,2072149281,2135122070,1912620623,1992383480,1753615357,1816598090,1627664531,1707420964,295390185,358241886,404320391,483945776,43990325,106832002,186451547,266083308,932423249,861060070,1041341759,986742920,613929101,542559546,756411363,701822548,3316196985,3244833742,3425377559,3370778784,3601682597,3530312978,3744426955,3689838204,3819031489,3881883254,3928223919,4007849240,4037393693,4100235434,4180117107,4259748804,2310601993,2373574846,2151335527,2231098320,2596047829,2659030626,2470359227,2550115596,2947551409,2876312838,2788305887,2733848168,3165939309,3094707162,3040238851,2985771188]),t=function(){var i=4294967295;this.getCRC=function(){return~i>>>0},this.updateCRC=function(r){i=i<<8^e[(i>>>24^r)&255]},this.updateCRCRun=function(r,n){for(;n-- >0;)i=i<<8^e[(i>>>24^r)&255]}};return t}()});var wx=b((xD,gR)=>{gR.exports={name:"seek-bzip",version:"1.0.6",contributors:["C. Scott Ananian (http://cscott.net)","Eli Skeggs","Kevin Kwok","Rob Landley (http://landley.net)"],description:"a pure-JavaScript Node.JS module for random-access decoding bzip2 data",main:"./lib/index.js",repository:{type:"git",url:"https://github.com/cscott/seek-bzip.git"},license:"MIT",bin:{"seek-bunzip":"./bin/seek-bunzip","seek-table":"./bin/seek-bzip-table"},directories:{test:"test"},dependencies:{commander:"^2.8.1"},devDependencies:{fibers:"~1.0.6",mocha:"~2.2.5"},scripts:{test:"mocha"}}});var Ax=b((vD,Cx)=>{"use strict";var yR=xx(),An=bx(),Rx=yx(),Ox=wx(),_a=20,Ex=258,_x=0,wR=1,ER=2,_R=6,SR=50,RR="314159265359",OR="177245385090",Sx=function(e,t){var i=e[t],r;for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=i,i},Q={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},ai={};ai[Q.LAST_BLOCK]="Bad file checksum";ai[Q.NOT_BZIP_DATA]="Not bzip data";ai[Q.UNEXPECTED_INPUT_EOF]="Unexpected input EOF";ai[Q.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF";ai[Q.DATA_ERROR]="Data error";ai[Q.OUT_OF_MEMORY]="Out of memory";ai[Q.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var we=function(e,t){var i=ai[e]||"unknown error";t&&(i+=": "+t);var r=new TypeError(i);throw r.errorCode=e,r},Le=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};Le.prototype._init_block=function(){var e=this._get_next_block();return e?(this.blockCRC=new Rx,!0):(this.writeCount=-1,!1)};Le.prototype._start_bunzip=function(e,t){var i=new Buffer(4);(e.read(i,0,4)!==4||String.fromCharCode(i[0],i[1],i[2])!=="BZh")&&we(Q.NOT_BZIP_DATA,"bad magic");var r=i[3]-48;(r<1||r>9)&&we(Q.NOT_BZIP_DATA,"level out of range"),this.reader=new yR(e),this.dbufSize=1e5*r,this.nextoutput=0,this.outputStream=t,this.streamCRC=0};Le.prototype._get_next_block=function(){var e,t,i,r=this.reader,n=r.pi();if(n===OR)return!1;n!==RR&&we(Q.NOT_BZIP_DATA),this.targetBlockCRC=r.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,r.read(1)&&we(Q.OBSOLETE_INPUT);var s=r.read(24);s>this.dbufSize&&we(Q.DATA_ERROR,"initial position out of bounds");var a=r.read(16),o=new Buffer(256),c=0;for(e=0;e<16;e++)if(a&1<<15-e){var u=e*16;for(i=r.read(16),t=0;t<16;t++)i&1<<15-t&&(o[c++]=u+t)}var l=r.read(3);(l<ER||l>_R)&&we(Q.DATA_ERROR);var p=r.read(15);p===0&&we(Q.DATA_ERROR);var f=new Buffer(256);for(e=0;e<l;e++)f[e]=e;var d=new Buffer(p);for(e=0;e<p;e++){for(t=0;r.read(1);t++)t>=l&&we(Q.DATA_ERROR);d[e]=Sx(f,t)}var h=c+2,v=[],x;for(t=0;t<l;t++){var g=new Buffer(h),w=new Uint16Array(_a+1);for(a=r.read(5),e=0;e<h;e++){for(;(a<1||a>_a)&&we(Q.DATA_ERROR),!!r.read(1);)r.read(1)?a--:a++;g[e]=a}var y,D;for(y=D=g[0],e=1;e<h;e++)g[e]>D?D=g[e]:g[e]<y&&(y=g[e]);x={},v.push(x),x.permute=new Uint16Array(Ex),x.limit=new Uint32Array(_a+2),x.base=new Uint32Array(_a+1),x.minLen=y,x.maxLen=D;var k=0;for(e=y;e<=D;e++)for(w[e]=x.limit[e]=0,a=0;a<h;a++)g[a]===e&&(x.permute[k++]=a);for(e=0;e<h;e++)w[g[e]]++;for(k=a=0,e=y;e<D;e++)k+=w[e],x.limit[e]=k-1,k<<=1,a+=w[e],x.base[e+1]=k-a;x.limit[D+1]=Number.MAX_VALUE,x.limit[D]=k+w[D]-1,x.base[y]=0}var W=new Uint32Array(256);for(e=0;e<256;e++)f[e]=e;var M=0,$=0,S=0,A,L=this.dbuf=new Uint32Array(this.dbufSize);for(h=0;;){for(h--||(h=SR-1,S>=p&&we(Q.DATA_ERROR),x=v[d[S++]]),e=x.minLen,t=r.read(e);e>x.maxLen&&we(Q.DATA_ERROR),!(t<=x.limit[e]);e++)t=t<<1|r.read(1);t-=x.base[e],(t<0||t>=Ex)&&we(Q.DATA_ERROR);var z=x.permute[t];if(z===_x||z===wR){M||(M=1,a=0),z===_x?a+=M:a+=2*M,M<<=1;continue}if(M)for(M=0,$+a>this.dbufSize&&we(Q.DATA_ERROR),A=o[f[0]],W[A]+=a;a--;)L[$++]=A;if(z>c)break;$>=this.dbufSize&&we(Q.DATA_ERROR),e=z-1,A=Sx(f,e),A=o[A],W[A]++,L[$++]=A}for((s<0||s>=$)&&we(Q.DATA_ERROR),t=0,e=0;e<256;e++)i=t+W[e],W[e]=t,t=i;for(e=0;e<$;e++)A=L[e]&255,L[W[A]]|=e<<8,W[A]++;var G=0,I=0,P=0;return $&&(G=L[s],I=G&255,G>>=8,P=-1),this.writePos=G,this.writeCurrent=I,this.writeCount=$,this.writeRun=P,!0};Le.prototype._read_bunzip=function(e,t){var i,r,n;if(this.writeCount<0)return 0;for(var s=0,a=this.dbuf,o=this.writePos,c=this.writeCurrent,u=this.writeCount,l=this.outputsize,p=this.writeRun;u;){for(u--,r=c,o=a[o],c=o&255,o>>=8,p++===3?(i=c,n=r,c=-1):(i=1,n=c),this.blockCRC.updateCRCRun(n,i);i--;)this.outputStream.writeByte(n),this.nextoutput++;c!=r&&(p=0)}return this.writeCount=u,this.blockCRC.getCRC()!==this.targetBlockCRC&&we(Q.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var Yl=function(e){if("readByte"in e)return e;var t=new An;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(i){this.pos=i},t.eof=function(){return this.pos>=e.length},t},Tx=function(e){var t=new An,i=!0;if(e)if(typeof e=="number")t.buffer=new Buffer(e),i=!1;else{if("writeByte"in e)return e;t.buffer=e,i=!1}else t.buffer=new Buffer(16384);return t.pos=0,t.writeByte=function(r){if(i&&this.pos>=this.buffer.length){var n=new Buffer(this.buffer.length*2);this.buffer.copy(n),this.buffer=n}this.buffer[this.pos++]=r},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!i)throw new TypeError("outputsize does not match decoded input");var r=new Buffer(this.pos);this.buffer.copy(r,0,0,this.pos),this.buffer=r}return this.buffer},t._coerced=!0,t};Le.Err=Q;Le.decode=function(e,t,i){for(var r=Yl(e),n=Tx(t),s=new Le(r,n);!("eof"in r&&r.eof());)if(s._init_block())s._read_bunzip();else{var a=s.reader.read(32)>>>0;if(a!==s.streamCRC&&we(Q.DATA_ERROR,"Bad stream CRC (got "+s.streamCRC.toString(16)+" expected "+a.toString(16)+")"),i&&"eof"in r&&!r.eof())s._start_bunzip(r,n);else break}if("getBuffer"in n)return n.getBuffer()};Le.decodeBlock=function(e,t,i){var r=Yl(e),n=Tx(i),s=new Le(r,n);s.reader.seek(t);var a=s._get_next_block();if(a&&(s.blockCRC=new Rx,s.writeCopies=0,s._read_bunzip()),"getBuffer"in n)return n.getBuffer()};Le.table=function(e,t,i){var r=new An;r.delegate=Yl(e),r.pos=0,r.readByte=function(){return this.pos++,this.delegate.readByte()},r.delegate.eof&&(r.eof=r.delegate.eof.bind(r.delegate));var n=new An;n.pos=0,n.writeByte=function(){this.pos++};for(var s=new Le(r,n),a=s.dbufSize;!("eof"in r&&r.eof());){var o=r.pos*8+s.reader.bitOffset;if(s.reader.hasByte&&(o-=8),s._init_block()){var c=n.pos;s._read_bunzip(),t(o,n.pos-c)}else{var u=s.reader.read(32);if(i&&"eof"in r&&!r.eof())s._start_bunzip(r,n),console.assert(s.dbufSize===a,"shouldn't change block size within multistream file");else break}}};Le.Stream=An;Le.version=Ox.version;Le.license=Ox.license;Cx.exports=Le});var Nx=b((kx,Lx)=>{"use strict";var TR=C("stream");kx=Lx.exports=Xl;Xl.through=Xl;function Xl(e,t,i){e=e||function(l){this.queue(l)},t=t||function(){this.queue(null)};var r=!1,n=!1,s=[],a=!1,o=new TR;o.readable=o.writable=!0,o.paused=!1,o.autoDestroy=!(i&&i.autoDestroy===!1),o.write=function(l){return e.call(this,l),!o.paused};function c(){for(;s.length&&!o.paused;){var l=s.shift();if(l===null)return o.emit("end");o.emit("data",l)}}o.queue=o.push=function(l){return a||(l===null&&(a=!0),s.push(l),c()),o},o.on("end",function(){o.readable=!1,!o.writable&&o.autoDestroy&&process.nextTick(function(){o.destroy()})});function u(){o.writable=!1,t.call(o),!o.readable&&o.autoDestroy&&o.destroy()}return o.end=function(l){if(!r)return r=!0,arguments.length&&o.write(l),u(),o},o.destroy=function(){if(!n)return n=!0,r=!0,s.length=0,o.writable=o.readable=!1,o.emit("close"),o},o.pause=function(){if(!o.paused)return o.paused=!0,o},o.resume=function(){return o.paused&&(o.paused=!1,o.emit("resume")),c(),o.paused||o.emit("drain"),o},o}});var Dx=b((bD,Fx)=>{"use strict";function Kl(e){this.name="Bzip2Error",this.message=e,this.stack=new Error().stack}Kl.prototype=new Error;var Ee={Error:function(e){throw new Kl(e)}},bt={};bt.Bzip2Error=Kl;bt.crcTable=[0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889500026,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269,881225847,809987520,1023691545,969234094,662832811,591600412,771767749,717299826,311336399,374308984,453813921,533576470,25881363,88864420,134795389,214552010,2023205639,2086057648,1897238633,1976864222,1804852699,1867694188,1645340341,1724971778,1587496639,1516133128,1461550545,1406951526,1302016099,1230646740,1142491917,1087903418,2896545431,2825181984,2770861561,2716262478,3215044683,3143675388,3055782693,3001194130,2326604591,2389456536,2200899649,2280525302,2578013683,2640855108,2418763421,2498394922,3769900519,3832873040,3912640137,3992402750,4088425275,4151408268,4197601365,4277358050,3334271071,3263032808,3476998961,3422541446,3585640067,3514407732,3694837229,3640369242,1762451694,1842216281,1619975040,1682949687,2047383090,2127137669,1938468188,2001449195,1325665622,1271206113,1183200824,1111960463,1543535498,1489069629,1434599652,1363369299,622672798,568075817,748617968,677256519,907627842,853037301,1067152940,995781531,51762726,131386257,177728840,240578815,269590778,349224269,429104020,491947555,4046411278,4126034873,4172115296,4234965207,3794477266,3874110821,3953728444,4016571915,3609705398,3555108353,3735388376,3664026991,3290680682,3236090077,3449943556,3378572211,3174993278,3120533705,3032266256,2961025959,2923101090,2868635157,2813903052,2742672763,2604032198,2683796849,2461293480,2524268063,2284983834,2364738477,2175806836,2238787779,1569362073,1498123566,1409854455,1355396672,1317987909,1246755826,1192025387,1137557660,2072149281,2135122070,1912620623,1992383480,1753615357,1816598090,1627664531,1707420964,295390185,358241886,404320391,483945776,43990325,106832002,186451547,266083308,932423249,861060070,1041341759,986742920,613929101,542559546,756411363,701822548,3316196985,3244833742,3425377559,3370778784,3601682597,3530312978,3744426955,3689838204,3819031489,3881883254,3928223919,4007849240,4037393693,4100235434,4180117107,4259748804,2310601993,2373574846,2151335527,2231098320,2596047829,2659030626,2470359227,2550115596,2947551409,2876312838,2788305887,2733848168,3165939309,3094707162,3040238851,2985771188];bt.array=function(e){var t=0,i=0,r=[0,1,3,7,15,31,63,127,255];return function(n){for(var s=0;n>0;){var a=8-t;n>=a?(s<<=a,s|=r[a]&e[i++],t=0,n-=a):(s<<=n,s|=(e[i]&r[n]<<8-n-t)>>8-n-t,t+=n,n=0)}return s}};bt.simple=function(e,t){var i=bt.array(e),r=bt.header(i),n=!1,s=1e5*r,a=new Int32Array(s);do n=bt.decompress(i,t,a,s);while(!n)};bt.header=function(e){this.byteCount=new Int32Array(256),this.symToByte=new Uint8Array(256),this.mtfSymbol=new Int32Array(256),this.selectors=new Uint8Array(32768),e(8*3)!=4348520&&Ee.Error("No magic number found");var t=e(8)-48;return(t<1||t>9)&&Ee.Error("Not a BZIP archive"),t};bt.decompress=function(e,t,i,r,n){for(var s=20,a=258,o=0,c=1,u=50,l=-1,p="",f=0;f<6;f++)p+=e(8).toString(16);if(p=="177245385090"){var d=e(32)|0;return d!==n&&Ee.Error("Error in bzip2: crc32 do not match"),e(null),null}p!="314159265359"&&Ee.Error("eek not valid bzip data");var h=e(32)|0;e(1)&&Ee.Error("unsupported obsolete version");var v=e(24);v>r&&Ee.Error("Initial position larger than buffer size");var x=e(16),g=0;for(f=0;f<16;f++)if(x&1<<15-f){var w=e(16);for(q=0;q<16;q++)w&1<<15-q&&(this.symToByte[g++]=16*f+q)}var y=e(3);(y<2||y>6)&&Ee.Error("another error");var D=e(15);D==0&&Ee.Error("meh");for(var f=0;f<y;f++)this.mtfSymbol[f]=f;for(var f=0;f<D;f++){for(var q=0;e(1);q++)q>=y&&Ee.Error("whoops another error");for(var k=this.mtfSymbol[q],w=q-1;w>=0;w--)this.mtfSymbol[w+1]=this.mtfSymbol[w];this.mtfSymbol[0]=k,this.selectors[f]=k}for(var E=g+2,W=[],M=new Uint8Array(a),$=new Uint16Array(s+1),S,q=0;q<y;q++){x=e(5);for(var f=0;f<E;f++){for(;(x<1||x>s)&&Ee.Error("I gave up a while ago on writing error messages"),!!e(1);)e(1)?x--:x++;M[f]=x}var A,L;A=L=M[0];for(var f=1;f<E;f++)M[f]>L?L=M[f]:M[f]<A&&(A=M[f]);S=W[q]={},S.permute=new Int32Array(a),S.limit=new Int32Array(s+1),S.base=new Int32Array(s+1),S.minLen=A,S.maxLen=L;for(var z=S.base,G=S.limit,I=0,f=A;f<=L;f++)for(var x=0;x<E;x++)M[x]==f&&(S.permute[I++]=x);for(f=A;f<=L;f++)$[f]=G[f]=0;for(f=0;f<E;f++)$[M[f]]++;for(I=x=0,f=A;f<L;f++)I+=$[f],G[f]=I-1,I<<=1,z[f+1]=I-(x+=$[f]);G[L]=I+$[L]-1,z[A]=0}for(var f=0;f<256;f++)this.mtfSymbol[f]=f,this.byteCount[f]=0;var P,j,E,T;for(P=j=E=T=0;;){for(E--||(E=u-1,T>=D&&Ee.Error("meow i'm a kitty, that's an error"),S=W[this.selectors[T++]],z=S.base,G=S.limit),f=S.minLen,q=e(f);f>S.maxLen&&Ee.Error("rawr i'm a dinosaur"),!(q<=G[f]);)f++,q=q<<1|e(1);q-=z[f],(q<0||q>=a)&&Ee.Error("moo i'm a cow");var N=S.permute[q];if(N==o||N==c){P||(P=1,x=0),N==o?x+=P:x+=2*P,P<<=1;continue}if(P)for(P=0,j+x>r&&Ee.Error("Boom."),k=this.symToByte[this.mtfSymbol[0]],this.byteCount[k]+=x;x--;)i[j++]=k;if(N>g)break;j>=r&&Ee.Error("I can't think of anything. Error"),f=N-1,k=this.mtfSymbol[f];for(var w=f-1;w>=0;w--)this.mtfSymbol[w+1]=this.mtfSymbol[w];this.mtfSymbol[0]=k,k=this.symToByte[k],this.byteCount[k]++,i[j++]=k}(v<0||v>=j)&&Ee.Error("I'm a monkey and I'm throwing something at someone, namely you");for(var q=0,f=0;f<256;f++)w=q+this.byteCount[f],this.byteCount[f]=q,q=w;for(var f=0;f<j;f++)k=i[f]&255,i[this.byteCount[k]]|=f<<8,this.byteCount[k]++;var Z=0,_e=0,Si=0;j&&(Z=i[v],_e=Z&255,Z>>=8,Si=-1),j=j;for(var Ie,Ae,At;j;){for(j--,Ae=_e,Z=i[Z],_e=Z&255,Z>>=8,Si++==3?(Ie=_e,At=Ae,_e=-1):(Ie=1,At=_e);Ie--;)l=(l<<8^this.crcTable[(l>>24^At)&255])&4294967295,t(At);_e!=Ae&&(Si=0)}return l=(l^-1)>>>0,(l|0)!=(h|0)&&Ee.Error("Error in bzip2: crc32 do not match"),n=(l^(n<<1|n>>>31))&4294967295,n};Fx.exports=bt});var Px=b((gD,Bx)=>{"use strict";var Ix=[0,1,3,7,15,31,63,127,255];Bx.exports=function(t){var i=0,r=0,n=t(),s=function(a){if(a===null&&i!=0){i=0,r++;return}for(var o=0;a>0;){r>=n.length&&(r=0,n=t());var c=8-i;i===0&&a>0&&s.bytesRead++,a>=c?(o<<=c,o|=Ix[c]&n[r++],i=0,a-=c):(o<<=a,o|=(n[r]&Ix[a]<<8-a-i)>>8-a-i,i+=a,a=0)}return o};return s.bytesRead=0,s}});var zx=b((yD,Mx)=>{"use strict";var CR=Nx(),jx=Dx(),AR=Px();Mx.exports=kR;function kR(){var e=[],t=0,i=0,r=!1,n=!1,s=null,a=null;function o(l){if(i){var p=1e5*i,f=new Int32Array(p),d=[],h=function(v){d.push(v)};return a=jx.decompress(s,h,f,p,a),a===null?(i=0,!1):(l(Buffer.from(d)),!0)}else return i=jx.header(s),a=0,!0}var c=0;function u(l){if(!r)try{return o(function(p){l.queue(p),p!==null&&(c+=p.length)})}catch(p){return l.emit("error",p),r=!0,!1}}return CR(function(p){for(e.push(p),t+=p.length,s===null&&(s=AR(function(){return e.shift()}));!r&&t-s.bytesRead+1>=(25e3+1e5*i||4);)u(this)},function(p){for(;!r&&s&&t>s.bytesRead;)u(this);r||(a!==null&&this.emit("error",new Error("input stream ended prematurely")),this.queue(null))})}});var Hx=b((wD,$x)=>{"use strict";var qx=Ea(),Ux=dx(),LR=ea(),NR=Ax(),FR=zx();$x.exports=()=>e=>!Buffer.isBuffer(e)&&!LR(e)?Promise.reject(new TypeError(`Expected a Buffer or Stream, got ${typeof e}`)):Buffer.isBuffer(e)&&(!Ux(e)||Ux(e).ext!=="bz2")?Promise.resolve([]):Buffer.isBuffer(e)?qx()(NR.decode(e)):qx()(e.pipe(FR()))});var Vx=b((ED,Gx)=>{"use strict";var DR=C("zlib"),IR=Ea(),Wx=dl(),BR=ea();Gx.exports=()=>e=>{if(!Buffer.isBuffer(e)&&!BR(e))return Promise.reject(new TypeError(`Expected a Buffer or Stream, got ${typeof e}`));if(Buffer.isBuffer(e)&&(!Wx(e)||Wx(e).ext!=="gz"))return Promise.resolve([]);let t=DR.createGunzip(),i=IR()(t);return Buffer.isBuffer(e)?t.end(e):e.pipe(t),i}});var Xx=b((_D,Yx)=>{"use strict";Yx.exports=function(e){return e&&e.length>1?e[0]===255&&e[1]===216&&e[2]===255?{ext:"jpg",mime:"image/jpeg"}:e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71?{ext:"png",mime:"image/png"}:e[0]===71&&e[1]===73&&e[2]===70?{ext:"gif",mime:"image/gif"}:e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80?{ext:"webp",mime:"image/webp"}:e[0]===70&&e[1]===76&&e[2]===73&&e[3]===70?{ext:"flif",mime:"image/flif"}:(e[0]===73&&e[1]===73&&e[2]===42&&e[3]===0||e[0]===77&&e[1]===77&&e[2]===0&&e[3]===42)&&e[8]===67&&e[9]===82?{ext:"cr2",mime:"image/x-canon-cr2"}:e[0]===73&&e[1]===73&&e[2]===42&&e[3]===0||e[0]===77&&e[1]===77&&e[2]===0&&e[3]===42?{ext:"tif",mime:"image/tiff"}:e[0]===66&&e[1]===77?{ext:"bmp",mime:"image/bmp"}:e[0]===73&&e[1]===73&&e[2]===188?{ext:"jxr",mime:"image/vnd.ms-photo"}:e[0]===56&&e[1]===66&&e[2]===80&&e[3]===83?{ext:"psd",mime:"image/vnd.adobe.photoshop"}:e[0]===80&&e[1]===75&&e[2]===3&&e[3]===4&&e[30]===109&&e[31]===105&&e[32]===109&&e[33]===101&&e[34]===116&&e[35]===121&&e[36]===112&&e[37]===101&&e[38]===97&&e[39]===112&&e[40]===112&&e[41]===108&&e[42]===105&&e[43]===99&&e[44]===97&&e[45]===116&&e[46]===105&&e[47]===111&&e[48]===110&&e[49]===47&&e[50]===101&&e[51]===112&&e[52]===117&&e[53]===98&&e[54]===43&&e[55]===122&&e[56]===105&&e[57]===112?{ext:"epub",mime:"application/epub+zip"}:e[0]===80&&e[1]===75&&e[2]===3&&e[3]===4&&e[30]===77&&e[31]===69&&e[32]===84&&e[33]===65&&e[34]===45&&e[35]===73&&e[36]===78&&e[37]===70&&e[38]===47&&e[39]===109&&e[40]===111&&e[41]===122&&e[42]===105&&e[43]===108&&e[44]===108&&e[45]===97&&e[46]===46&&e[47]===114&&e[48]===115&&e[49]===97?{ext:"xpi",mime:"application/x-xpinstall"}:e[0]===80&&e[1]===75&&(e[2]===3||e[2]===5||e[2]===7)&&(e[3]===4||e[3]===6||e[3]===8)?{ext:"zip",mime:"application/zip"}:e[257]===117&&e[258]===115&&e[259]===116&&e[260]===97&&e[261]===114?{ext:"tar",mime:"application/x-tar"}:e[0]===82&&e[1]===97&&e[2]===114&&e[3]===33&&e[4]===26&&e[5]===7&&(e[6]===0||e[6]===1)?{ext:"rar",mime:"application/x-rar-compressed"}:e[0]===31&&e[1]===139&&e[2]===8?{ext:"gz",mime:"application/gzip"}:e[0]===66&&e[1]===90&&e[2]===104?{ext:"bz2",mime:"application/x-bzip2"}:e[0]===55&&e[1]===122&&e[2]===188&&e[3]===175&&e[4]===39&&e[5]===28?{ext:"7z",mime:"application/x-7z-compressed"}:e[0]===120&&e[1]===1?{ext:"dmg",mime:"application/x-apple-diskimage"}:e[0]===0&&e[1]===0&&e[2]===0&&(e[3]===24||e[3]===32)&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112||e[0]===51&&e[1]===103&&e[2]===112&&e[3]===53||e[0]===0&&e[1]===0&&e[2]===0&&e[3]===28&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112&&e[8]===109&&e[9]===112&&e[10]===52&&e[11]===50&&e[16]===109&&e[17]===112&&e[18]===52&&e[19]===49&&e[20]===109&&e[21]===112&&e[22]===52&&e[23]===50&&e[24]===105&&e[25]===115&&e[26]===111&&e[27]===109||e[0]===0&&e[1]===0&&e[2]===0&&e[3]===28&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112&&e[8]===105&&e[9]===115&&e[10]===111&&e[11]===109||e[0]===0&&e[1]===0&&e[2]===0&&e[3]===28&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112&&e[8]===109&&e[9]===112&&e[10]===52&&e[11]===50&&e[12]===0&&e[13]===0&&e[14]===0&&e[15]===0?{ext:"mp4",mime:"video/mp4"}:e[0]===0&&e[1]===0&&e[2]===0&&e[3]===28&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112&&e[8]===77&&e[9]===52&&e[10]===86?{ext:"m4v",mime:"video/x-m4v"}:e[0]===77&&e[1]===84&&e[2]===104&&e[3]===100?{ext:"mid",mime:"audio/midi"}:e[31]===109&&e[32]===97&&e[33]===116&&e[34]===114&&e[35]===111&&e[36]===115&&e[37]===107&&e[38]===97?{ext:"mkv",mime:"video/x-matroska"}:e[0]===26&&e[1]===69&&e[2]===223&&e[3]===163?{ext:"webm",mime:"video/webm"}:e[0]===0&&e[1]===0&&e[2]===0&&e[3]===20&&e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112?{ext:"mov",mime:"video/quicktime"}:e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===65&&e[9]===86&&e[10]===73?{ext:"avi",mime:"video/x-msvideo"}:e[0]===48&&e[1]===38&&e[2]===178&&e[3]===117&&e[4]===142&&e[5]===102&&e[6]===207&&e[7]===17&&e[8]===166&&e[9]===217?{ext:"wmv",mime:"video/x-ms-wmv"}:e[0]===0&&e[1]===0&&e[2]===1&&e[3].toString(16)[0]==="b"?{ext:"mpg",mime:"video/mpeg"}:e[0]===73&&e[1]===68&&e[2]===51||e[0]===255&&e[1]===251?{ext:"mp3",mime:"audio/mpeg"}:e[4]===102&&e[5]===116&&e[6]===121&&e[7]===112&&e[8]===77&&e[9]===52&&e[10]===65||e[0]===77&&e[1]===52&&e[2]===65&&e[3]===32?{ext:"m4a",mime:"audio/m4a"}:e[28]===79&&e[29]===112&&e[30]===117&&e[31]===115&&e[32]===72&&e[33]===101&&e[34]===97&&e[35]===100?{ext:"opus",mime:"audio/opus"}:e[0]===79&&e[1]===103&&e[2]===103&&e[3]===83?{ext:"ogg",mime:"audio/ogg"}:e[0]===102&&e[1]===76&&e[2]===97&&e[3]===67?{ext:"flac",mime:"audio/x-flac"}:e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===87&&e[9]===65&&e[10]===86&&e[11]===69?{ext:"wav",mime:"audio/x-wav"}:e[0]===35&&e[1]===33&&e[2]===65&&e[3]===77&&e[4]===82&&e[5]===10?{ext:"amr",mime:"audio/amr"}:e[0]===37&&e[1]===80&&e[2]===68&&e[3]===70?{ext:"pdf",mime:"application/pdf"}:e[0]===77&&e[1]===90?{ext:"exe",mime:"application/x-msdownload"}:(e[0]===67||e[0]===70)&&e[1]===87&&e[2]===83?{ext:"swf",mime:"application/x-shockwave-flash"}:e[0]===123&&e[1]===92&&e[2]===114&&e[3]===116&&e[4]===102?{ext:"rtf",mime:"application/rtf"}:e[0]===119&&e[1]===79&&e[2]===70&&e[3]===70&&(e[4]===0&&e[5]===1&&e[6]===0&&e[7]===0||e[4]===79&&e[5]===84&&e[6]===84&&e[7]===79)?{ext:"woff",mime:"application/font-woff"}:e[0]===119&&e[1]===79&&e[2]===70&&e[3]===50&&(e[4]===0&&e[5]===1&&e[6]===0&&e[7]===0||e[4]===79&&e[5]===84&&e[6]===84&&e[7]===79)?{ext:"woff2",mime:"application/font-woff"}:e[34]===76&&e[35]===80&&(e[8]===0&&e[9]===0&&e[10]===1||e[8]===1&&e[9]===0&&e[10]===2||e[8]===2&&e[9]===0&&e[10]===2)?{ext:"eot",mime:"application/octet-stream"}:e[0]===0&&e[1]===1&&e[2]===0&&e[3]===0&&e[4]===0?{ext:"ttf",mime:"application/font-sfnt"}:e[0]===79&&e[1]===84&&e[2]===84&&e[3]===79&&e[4]===0?{ext:"otf",mime:"application/font-sfnt"}:e[0]===0&&e[1]===0&&e[2]===1&&e[3]===0?{ext:"ico",mime:"image/x-icon"}:e[0]===70&&e[1]===76&&e[2]===86&&e[3]===1?{ext:"flv",mime:"video/x-flv"}:e[0]===37&&e[1]===33?{ext:"ps",mime:"application/postscript"}:e[0]===253&&e[1]===55&&e[2]===122&&e[3]===88&&e[4]===90&&e[5]===0?{ext:"xz",mime:"application/x-xz"}:e[0]===83&&e[1]===81&&e[2]===76&&e[3]===105?{ext:"sqlite",mime:"application/x-sqlite3"}:e[0]===78&&e[1]===69&&e[2]===83&&e[3]===26?{ext:"nes",mime:"application/x-nintendo-nes-rom"}:e[0]===67&&e[1]===114&&e[2]===50&&e[3]===52?{ext:"crx",mime:"application/x-google-chrome-extension"}:e[0]===77&&e[1]===83&&e[2]===67&&e[3]===70||e[0]===73&&e[1]===83&&e[2]===99&&e[3]===40?{ext:"cab",mime:"application/vnd.ms-cab-compressed"}:e[0]===33&&e[1]===60&&e[2]===97&&e[3]===114&&e[4]===99&&e[5]===104&&e[6]===62&&e[7]===10&&e[8]===100&&e[9]===101&&e[10]===98&&e[11]===105&&e[12]===97&&e[13]===110&&e[14]===45&&e[15]===98&&e[16]===105&&e[17]===110&&e[18]===97&&e[19]===114&&e[20]===121?{ext:"deb",mime:"application/x-deb"}:e[0]===33&&e[1]===60&&e[2]===97&&e[3]===114&&e[4]===99&&e[5]===104&&e[6]===62?{ext:"ar",mime:"application/x-unix-archive"}:e[0]===237&&e[1]===171&&e[2]===238&&e[3]===219?{ext:"rpm",mime:"application/x-rpm"}:e[0]===31&&e[1]===160||e[0]===31&&e[1]===157?{ext:"Z",mime:"application/x-compress"}:e[0]===76&&e[1]===90&&e[2]===73&&e[3]===80?{ext:"lz",mime:"application/x-lzip"}:e[0]===208&&e[1]===207&&e[2]===17&&e[3]===224&&e[4]===161&&e[5]===177&&e[6]===26&&e[7]===225?{ext:"msi",mime:"application/x-msi"}:null:null}});var r0=b((SD,i0)=>{"use strict";var Jl="pending",Kx="settled",Sa="fulfilled",Ra="rejected",PR=function(){},Zx=typeof global<"u"&&typeof global.process<"u"&&typeof global.process.emit=="function",jR=typeof setImmediate>"u"?setTimeout:setImmediate,kn=[],Zl;function MR(){for(var e=0;e<kn.length;e++)kn[e][0](kn[e][1]);kn=[],Zl=!1}function Oa(e,t){kn.push([e,t]),Zl||(Zl=!0,jR(MR,0))}function zR(e,t){function i(n){Ql(t,n)}function r(n){Ln(t,n)}try{e(i,r)}catch(n){r(n)}}function Jx(e){var t=e.owner,i=t._state,r=t._data,n=e[i],s=e.then;if(typeof n=="function"){i=Sa;try{r=n(r)}catch(a){Ln(s,a)}}Qx(s,r)||(i===Sa&&Ql(s,r),i===Ra&&Ln(s,r))}function Qx(e,t){var i;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&(typeof t=="function"||typeof t=="object")){var r=t.then;if(typeof r=="function")return r.call(t,function(n){i||(i=!0,t===n?e0(e,n):Ql(e,n))},function(n){i||(i=!0,Ln(e,n))}),!0}}catch(n){return i||Ln(e,n),!0}return!1}function Ql(e,t){(e===t||!Qx(e,t))&&e0(e,t)}function e0(e,t){e._state===Jl&&(e._state=Kx,e._data=t,Oa(qR,e))}function Ln(e,t){e._state===Jl&&(e._state=Kx,e._data=t,Oa(UR,e))}function t0(e){e._then=e._then.forEach(Jx)}function qR(e){e._state=Sa,t0(e)}function UR(e){e._state=Ra,t0(e),!e._handled&&Zx&&global.process.emit("unhandledRejection",e._data,e)}function $R(e){global.process.emit("rejectionHandled",e)}function $e(e){if(typeof e!="function")throw new TypeError("Promise resolver "+e+" is not a function");if(!(this instanceof $e))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],zR(e,this)}$e.prototype={constructor:$e,_state:Jl,_then:null,_data:void 0,_handled:!1,then:function(e,t){var i={owner:this,then:new this.constructor(PR),fulfilled:e,rejected:t};return(t||e)&&!this._handled&&(this._handled=!0,this._state===Ra&&Zx&&Oa($R,this)),this._state===Sa||this._state===Ra?Oa(Jx,i):this._then.push(i),i.then},catch:function(e){return this.then(null,e)}};$e.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new $e(function(t,i){var r=[],n=0;function s(c){return n++,function(u){r[c]=u,--n||t(r)}}for(var a=0,o;a<e.length;a++)o=e[a],o&&typeof o.then=="function"?o.then(s(a),i):r[a]=o;n||t(r)})};$e.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new $e(function(t,i){for(var r=0,n;r<e.length;r++)n=e[r],n&&typeof n.then=="function"?n.then(t,i):t(n)})};$e.resolve=function(e){return e&&typeof e=="object"&&e.constructor===$e?e:new $e(function(t){t(e)})};$e.reject=function(e){return new $e(function(t,i){i(e)})};i0.exports=$e});var s0=b((RD,n0)=>{"use strict";n0.exports=typeof Promise=="function"?Promise:r0()});var eu=b((OD,o0)=>{"use strict";var a0=Object.getOwnPropertySymbols,HR=Object.prototype.hasOwnProperty,WR=Object.prototype.propertyIsEnumerable;function GR(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function VR(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;var r=Object.getOwnPropertyNames(t).map(function(s){return t[s]});if(r.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(s){n[s]=s}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}o0.exports=VR()?Object.assign:function(e,t){for(var i,r=GR(e),n,s=1;s<arguments.length;s++){i=Object(arguments[s]);for(var a in i)HR.call(i,a)&&(r[a]=i[a]);if(a0){n=a0(i);for(var o=0;o<n.length;o++)WR.call(i,n[o])&&(r[n[o]]=i[n[o]])}}return r}});var l0=b((TD,c0)=>{"use strict";var YR=C("stream").PassThrough,XR=eu();c0.exports=function(e){e=XR({},e);var t=e.array,i=e.encoding,r=i==="buffer",n=!1;t?n=!(i||r):i=i||"utf8",r&&(i=null);var s=0,a=[],o=new YR({objectMode:n});return i&&o.setEncoding(i),o.on("data",function(c){a.push(c),n?s=a.length:s+=c.length}),o.getBufferedValue=function(){return t?a:r?Buffer.concat(a,s):a.join("")},o.getBufferedLength=function(){return s},o}});var p0=b((CD,Ta)=>{"use strict";var u0=s0(),tu=eu(),KR=l0();function iu(e,t){if(!e)return u0.reject(new Error("Expected a stream"));t=tu({maxBuffer:1/0},t);var i=t.maxBuffer,r,n,s=new u0(function(a,o){r=KR(t),e.once("error",c),e.pipe(r),r.on("data",function(){r.getBufferedLength()>i&&o(new Error("maxBuffer exceeded"))}),r.once("error",c),r.on("end",a),n=function(){e.unpipe&&e.unpipe(r)};function c(u){u&&(u.bufferedData=r.getBufferedValue()),o(u)}});return s.then(n,n),s.then(function(){return r.getBufferedValue()})}Ta.exports=iu;Ta.exports.buffer=function(e,t){return iu(e,tu({},t,{encoding:"buffer"}))};Ta.exports.array=function(e,t){return iu(e,tu({},t,{array:!0}))}});var ru=b((AD,m0)=>{"use strict";var f0=function(e,t,i){return function(){for(var r=this,n=new Array(arguments.length),s=0;s<arguments.length;s++)n[s]=arguments[s];return new t(function(a,o){n.push(function(c,u){if(c)o(c);else if(i.multiArgs){for(var l=new Array(arguments.length-1),p=1;p<arguments.length;p++)l[p-1]=arguments[p];a(l)}else a(u)}),e.apply(r,n)})}},d0=m0.exports=function(e,t,i){typeof t!="function"&&(i=t,t=Promise),i=i||{},i.exclude=i.exclude||[/.+Sync$/];var r=function(s){var a=function(o){return typeof o=="string"?s===o:o.test(s)};return i.include?i.include.some(a):!i.exclude.some(a)},n=typeof e=="function"?function(){return i.excludeMain?e.apply(this,arguments):f0(e,t,i).apply(this,arguments)}:{};return Object.keys(e).reduce(function(s,a){var o=e[a];return s[a]=typeof o=="function"&&r(a)?f0(o,t,i):o,s},n)};d0.all=d0});var b0=b((kD,v0)=>{"use strict";v0.exports=Ca;function Ca(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}Ca.prototype.go=function(e){this.pending<this.max?x0(this,e):this.waiting.push(e)};Ca.prototype.wait=function(e){this.pending===0?e(this.error):this.listeners.push(e)};Ca.prototype.hold=function(){return h0(this)};function h0(e){e.pending+=1;var t=!1;return i;function i(n){if(t)throw new Error("callback called twice");if(t=!0,e.error=e.error||n,e.pending-=1,e.waiting.length>0&&e.pending<e.max)x0(e,e.waiting.shift());else if(e.pending===0){var s=e.listeners;e.listeners=[],s.forEach(r)}}function r(n){n(e.error)}}function x0(e,t){t(h0(e))}});var y0=b(Fn=>{"use strict";var Nn=C("fs"),Aa=C("util"),nu=C("stream"),g0=nu.Readable,su=nu.Writable,ZR=nu.PassThrough,JR=b0(),ka=C("events").EventEmitter;Fn.createFromBuffer=QR;Fn.createFromFd=e2;Fn.BufferSlicer=jt;Fn.FdSlicer=Pt;Aa.inherits(Pt,ka);function Pt(e,t){t=t||{},ka.call(this),this.fd=e,this.pend=new JR,this.pend.max=1,this.refCount=0,this.autoClose=!!t.autoClose}Pt.prototype.read=function(e,t,i,r,n){var s=this;s.pend.go(function(a){Nn.read(s.fd,e,t,i,r,function(o,c,u){a(),n(o,c,u)})})};Pt.prototype.write=function(e,t,i,r,n){var s=this;s.pend.go(function(a){Nn.write(s.fd,e,t,i,r,function(o,c,u){a(),n(o,c,u)})})};Pt.prototype.createReadStream=function(e){return new La(this,e)};Pt.prototype.createWriteStream=function(e){return new Na(this,e)};Pt.prototype.ref=function(){this.refCount+=1};Pt.prototype.unref=function(){var e=this;if(e.refCount-=1,e.refCount>0)return;if(e.refCount<0)throw new Error("invalid unref");e.autoClose&&Nn.close(e.fd,t);function t(i){i?e.emit("error",i):e.emit("close")}};Aa.inherits(La,g0);function La(e,t){t=t||{},g0.call(this,t),this.context=e,this.context.ref(),this.start=t.start||0,this.endOffset=t.end,this.pos=this.start,this.destroyed=!1}La.prototype._read=function(e){var t=this;if(!t.destroyed){var i=Math.min(t._readableState.highWaterMark,e);if(t.endOffset!=null&&(i=Math.min(i,t.endOffset-t.pos)),i<=0){t.destroyed=!0,t.push(null),t.context.unref();return}t.context.pend.go(function(r){if(t.destroyed)return r();var n=new Buffer(i);Nn.read(t.context.fd,n,0,i,t.pos,function(s,a){s?t.destroy(s):a===0?(t.destroyed=!0,t.push(null),t.context.unref()):(t.pos+=a,t.push(n.slice(0,a))),r()})})}};La.prototype.destroy=function(e){this.destroyed||(e=e||new Error("stream destroyed"),this.destroyed=!0,this.emit("error",e),this.context.unref())};Aa.inherits(Na,su);function Na(e,t){t=t||{},su.call(this,t),this.context=e,this.context.ref(),this.start=t.start||0,this.endOffset=t.end==null?1/0:+t.end,this.bytesWritten=0,this.pos=this.start,this.destroyed=!1,this.on("finish",this.destroy.bind(this))}Na.prototype._write=function(e,t,i){var r=this;if(!r.destroyed){if(r.pos+e.length>r.endOffset){var n=new Error("maximum file length exceeded");n.code="ETOOBIG",r.destroy(),i(n);return}r.context.pend.go(function(s){if(r.destroyed)return s();Nn.write(r.context.fd,e,0,e.length,r.pos,function(a,o){a?(r.destroy(),s(),i(a)):(r.bytesWritten+=o,r.pos+=o,r.emit("progress"),s(),i())})})}};Na.prototype.destroy=function(){this.destroyed||(this.destroyed=!0,this.context.unref())};Aa.inherits(jt,ka);function jt(e,t){ka.call(this),t=t||{},this.refCount=0,this.buffer=e,this.maxChunkSize=t.maxChunkSize||Number.MAX_SAFE_INTEGER}jt.prototype.read=function(e,t,i,r,n){var s=r+i,a=s-this.buffer.length,o=a>0?a:i;this.buffer.copy(e,t,r,s),setImmediate(function(){n(null,o)})};jt.prototype.write=function(e,t,i,r,n){e.copy(this.buffer,r,t,t+i),setImmediate(function(){n(null,i,e)})};jt.prototype.createReadStream=function(e){e=e||{};var t=new ZR(e);t.destroyed=!1,t.start=e.start||0,t.endOffset=e.end,t.pos=t.endOffset||this.buffer.length;for(var i=this.buffer.slice(t.start,t.pos),r=0;;){var n=r+this.maxChunkSize;if(n>=i.length){r<i.length&&t.write(i.slice(r,i.length));break}t.write(i.slice(r,n)),r=n}return t.end(),t.destroy=function(){t.destroyed=!0},t};jt.prototype.createWriteStream=function(e){var t=this;e=e||{};var i=new su(e);return i.start=e.start||0,i.endOffset=e.end==null?this.buffer.length:+e.end,i.bytesWritten=0,i.pos=i.start,i.destroyed=!1,i._write=function(r,n,s){if(!i.destroyed){var a=i.pos+r.length;if(a>i.endOffset){var o=new Error("maximum file length exceeded");o.code="ETOOBIG",i.destroyed=!0,s(o);return}r.copy(t.buffer,i.pos,0,r.length),i.bytesWritten+=r.length,i.pos=a,i.emit("progress"),s()}},i.destroy=function(){i.destroyed=!0},i};jt.prototype.ref=function(){this.refCount+=1};jt.prototype.unref=function(){if(this.refCount-=1,this.refCount<0)throw new Error("invalid unref")};function QR(e,t){return new jt(e,t)}function e2(e,t){return new Pt(e,t)}});var _0=b((ND,E0)=>{"use strict";var oi=C("buffer").Buffer,au=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(au=new Int32Array(au));function w0(e){if(oi.isBuffer(e))return e;var t=typeof oi.alloc=="function"&&typeof oi.from=="function";if(typeof e=="number")return t?oi.alloc(e):new oi(e);if(typeof e=="string")return t?oi.from(e):new oi(e);throw new Error("input must be buffer, number, or string, received "+typeof e)}function t2(e){var t=w0(4);return t.writeInt32BE(e,0),t}function ou(e,t){e=w0(e),oi.isBuffer(t)&&(t=t.readUInt32BE(0));for(var i=~~t^-1,r=0;r<e.length;r++)i=au[(i^e[r])&255]^i>>>8;return i^-1}function cu(){return t2(ou.apply(null,arguments))}cu.signed=function(){return ou.apply(null,arguments)};cu.unsigned=function(){return ou.apply(null,arguments)>>>0};E0.exports=cu});var k0=b(yt=>{"use strict";var lu=C("fs"),i2=C("zlib"),S0=y0(),r2=_0(),Ia=C("util"),Ba=C("events").EventEmitter,R0=C("stream").Transform,uu=C("stream").PassThrough,n2=C("stream").Writable;yt.open=s2;yt.fromFd=O0;yt.fromBuffer=a2;yt.fromRandomAccessReader=pu;yt.dosDateTimeToDate=C0;yt.validateFileName=A0;yt.ZipFile=ci;yt.Entry=Dn;yt.RandomAccessReader=li;function s2(e,t,i){typeof t=="function"&&(i=t,t=null),t==null&&(t={}),t.autoClose==null&&(t.autoClose=!0),t.lazyEntries==null&&(t.lazyEntries=!1),t.decodeStrings==null&&(t.decodeStrings=!0),t.validateEntrySizes==null&&(t.validateEntrySizes=!0),t.strictFileNames==null&&(t.strictFileNames=!1),i==null&&(i=Da),lu.open(e,"r",function(r,n){if(r)return i(r);O0(n,t,function(s,a){s&&lu.close(n,Da),i(s,a)})})}function O0(e,t,i){typeof t=="function"&&(i=t,t=null),t==null&&(t={}),t.autoClose==null&&(t.autoClose=!1),t.lazyEntries==null&&(t.lazyEntries=!1),t.decodeStrings==null&&(t.decodeStrings=!0),t.validateEntrySizes==null&&(t.validateEntrySizes=!0),t.strictFileNames==null&&(t.strictFileNames=!1),i==null&&(i=Da),lu.fstat(e,function(r,n){if(r)return i(r);var s=S0.createFromFd(e,{autoClose:!0});pu(s,n.size,t,i)})}function a2(e,t,i){typeof t=="function"&&(i=t,t=null),t==null&&(t={}),t.autoClose=!1,t.lazyEntries==null&&(t.lazyEntries=!1),t.decodeStrings==null&&(t.decodeStrings=!0),t.validateEntrySizes==null&&(t.validateEntrySizes=!0),t.strictFileNames==null&&(t.strictFileNames=!1);var r=S0.createFromBuffer(e,{maxChunkSize:65536});pu(r,e.length,t,i)}function pu(e,t,i,r){typeof i=="function"&&(r=i,i=null),i==null&&(i={}),i.autoClose==null&&(i.autoClose=!0),i.lazyEntries==null&&(i.lazyEntries=!1),i.decodeStrings==null&&(i.decodeStrings=!0);var n=!!i.decodeStrings;if(i.validateEntrySizes==null&&(i.validateEntrySizes=!0),i.strictFileNames==null&&(i.strictFileNames=!1),r==null&&(r=Da),typeof t!="number")throw new Error("expected totalSize parameter to be a number");if(t>Number.MAX_SAFE_INTEGER)throw new Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");e.ref();var s=22,a=65535,o=Math.min(s+a,t),c=gt(o),u=t-c.length;Lr(e,c,0,o,u,function(l){if(l)return r(l);for(var p=o-s;p>=0;p-=1)if(c.readUInt32LE(p)===101010256){var f=c.slice(p),d=f.readUInt16LE(4);if(d!==0)return r(new Error("multi-disk zip files are not supported: found disk number: "+d));var h=f.readUInt16LE(10),v=f.readUInt32LE(16),x=f.readUInt16LE(20),g=f.length-s;if(x!==g)return r(new Error("invalid comment length. expected: "+g+". found: "+x));var w=n?Fa(f,22,f.length,!1):f.slice(22);if(!(h===65535||v===4294967295))return r(null,new ci(e,v,t,h,w,i.autoClose,i.lazyEntries,n,i.validateEntrySizes,i.strictFileNames));var y=gt(20),D=u+p-y.length;Lr(e,y,0,y.length,D,function(k){if(k)return r(k);if(y.readUInt32LE(0)!==117853008)return r(new Error("invalid zip64 end of central directory locator signature"));var W=Nr(y,8),M=gt(56);Lr(e,M,0,M.length,W,function($){return $?r($):M.readUInt32LE(0)!==101075792?r(new Error("invalid zip64 end of central directory record signature")):(h=Nr(M,32),v=Nr(M,48),r(null,new ci(e,v,t,h,w,i.autoClose,i.lazyEntries,n,i.validateEntrySizes,i.strictFileNames)))})});return}r(new Error("end of central directory record signature not found"))})}Ia.inherits(ci,Ba);function ci(e,t,i,r,n,s,a,o,c,u){var l=this;Ba.call(l),l.reader=e,l.reader.on("error",function(p){T0(l,p)}),l.reader.once("close",function(){l.emit("close")}),l.readEntryCursor=t,l.fileSize=i,l.entryCount=r,l.comment=n,l.entriesRead=0,l.autoClose=!!s,l.lazyEntries=!!a,l.decodeStrings=!!o,l.validateEntrySizes=!!c,l.strictFileNames=!!u,l.isOpen=!0,l.emittedError=!1,l.lazyEntries||l._readEntry()}ci.prototype.close=function(){this.isOpen&&(this.isOpen=!1,this.reader.unref())};function ct(e,t){e.autoClose&&e.close(),T0(e,t)}function T0(e,t){e.emittedError||(e.emittedError=!0,e.emit("error",t))}ci.prototype.readEntry=function(){if(!this.lazyEntries)throw new Error("readEntry() called without lazyEntries:true");this._readEntry()};ci.prototype._readEntry=function(){var e=this;if(e.entryCount===e.entriesRead){setImmediate(function(){e.autoClose&&e.close(),!e.emittedError&&e.emit("end")});return}if(!e.emittedError){var t=gt(46);Lr(e.reader,t,0,t.length,e.readEntryCursor,function(i){if(i)return ct(e,i);if(!e.emittedError){var r=new Dn,n=t.readUInt32LE(0);if(n!==33639248)return ct(e,new Error("invalid central directory file header signature: 0x"+n.toString(16)));if(r.versionMadeBy=t.readUInt16LE(4),r.versionNeededToExtract=t.readUInt16LE(6),r.generalPurposeBitFlag=t.readUInt16LE(8),r.compressionMethod=t.readUInt16LE(10),r.lastModFileTime=t.readUInt16LE(12),r.lastModFileDate=t.readUInt16LE(14),r.crc32=t.readUInt32LE(16),r.compressedSize=t.readUInt32LE(20),r.uncompressedSize=t.readUInt32LE(24),r.fileNameLength=t.readUInt16LE(28),r.extraFieldLength=t.readUInt16LE(30),r.fileCommentLength=t.readUInt16LE(32),r.internalFileAttributes=t.readUInt16LE(36),r.externalFileAttributes=t.readUInt32LE(38),r.relativeOffsetOfLocalHeader=t.readUInt32LE(42),r.generalPurposeBitFlag&64)return ct(e,new Error("strong encryption is not supported"));e.readEntryCursor+=46,t=gt(r.fileNameLength+r.extraFieldLength+r.fileCommentLength),Lr(e.reader,t,0,t.length,e.readEntryCursor,function(s){if(s)return ct(e,s);if(!e.emittedError){var a=(r.generalPurposeBitFlag&2048)!==0;r.fileName=e.decodeStrings?Fa(t,0,r.fileNameLength,a):t.slice(0,r.fileNameLength);var o=r.fileNameLength+r.extraFieldLength,c=t.slice(r.fileNameLength,o);r.extraFields=[];for(var u=0;u<c.length-3;){var l=c.readUInt16LE(u+0),p=c.readUInt16LE(u+2),f=u+4,d=f+p;if(d>c.length)return ct(e,new Error("extra field length exceeds extra field buffer size"));var h=gt(p);c.copy(h,0,f,d),r.extraFields.push({id:l,data:h}),u=d}if(r.fileComment=e.decodeStrings?Fa(t,o,o+r.fileCommentLength,a):t.slice(o,o+r.fileCommentLength),r.comment=r.fileComment,e.readEntryCursor+=t.length,e.entriesRead+=1,r.uncompressedSize===4294967295||r.compressedSize===4294967295||r.relativeOffsetOfLocalHeader===4294967295){for(var v=null,u=0;u<r.extraFields.length;u++){var x=r.extraFields[u];if(x.id===1){v=x.data;break}}if(v==null)return ct(e,new Error("expected zip64 extended information extra field"));var g=0;if(r.uncompressedSize===4294967295){if(g+8>v.length)return ct(e,new Error("zip64 extended information extra field does not include uncompressed size"));r.uncompressedSize=Nr(v,g),g+=8}if(r.compressedSize===4294967295){if(g+8>v.length)return ct(e,new Error("zip64 extended information extra field does not include compressed size"));r.compressedSize=Nr(v,g),g+=8}if(r.relativeOffsetOfLocalHeader===4294967295){if(g+8>v.length)return ct(e,new Error("zip64 extended information extra field does not include relative header offset"));r.relativeOffsetOfLocalHeader=Nr(v,g),g+=8}}if(e.decodeStrings)for(var u=0;u<r.extraFields.length;u++){var x=r.extraFields[u];if(x.id===28789){if(x.data.length<6||x.data.readUInt8(0)!==1)continue;var w=x.data.readUInt32LE(1);if(r2.unsigned(t.slice(0,r.fileNameLength))!==w)continue;r.fileName=Fa(x.data,5,x.data.length,!0);break}}if(e.validateEntrySizes&&r.compressionMethod===0){var y=r.uncompressedSize;if(r.isEncrypted()&&(y+=12),r.compressedSize!==y){var D="compressed/uncompressed size mismatch for stored file: "+r.compressedSize+" != "+r.uncompressedSize;return ct(e,new Error(D))}}if(e.decodeStrings){e.strictFileNames||(r.fileName=r.fileName.replace(/\\/g,"/"));var k=A0(r.fileName,e.validateFileNameOptions);if(k!=null)return ct(e,new Error(k))}e.emit("entry",r),e.lazyEntries||e._readEntry()}})}})}};ci.prototype.openReadStream=function(e,t,i){var r=this,n=0,s=e.compressedSize;if(i==null)i=t,t={};else{if(t.decrypt!=null){if(!e.isEncrypted())throw new Error("options.decrypt can only be specified for encrypted entries");if(t.decrypt!==!1)throw new Error("invalid options.decrypt value: "+t.decrypt);if(e.isCompressed()&&t.decompress!==!1)throw new Error("entry is encrypted and compressed, and options.decompress !== false")}if(t.decompress!=null){if(!e.isCompressed())throw new Error("options.decompress can only be specified for compressed entries");if(!(t.decompress===!1||t.decompress===!0))throw new Error("invalid options.decompress value: "+t.decompress)}if(t.start!=null||t.end!=null){if(e.isCompressed()&&t.decompress!==!1)throw new Error("start/end range not allowed for compressed entry without options.decompress === false");if(e.isEncrypted()&&t.decrypt!==!1)throw new Error("start/end range not allowed for encrypted entry without options.decrypt === false")}if(t.start!=null){if(n=t.start,n<0)throw new Error("options.start < 0");if(n>e.compressedSize)throw new Error("options.start > entry.compressedSize")}if(t.end!=null){if(s=t.end,s<0)throw new Error("options.end < 0");if(s>e.compressedSize)throw new Error("options.end > entry.compressedSize");if(s<n)throw new Error("options.end < options.start")}}if(!r.isOpen)return i(new Error("closed"));if(e.isEncrypted()&&t.decrypt!==!1)return i(new Error("entry is encrypted, and options.decrypt !== false"));r.reader.ref();var a=gt(30);Lr(r.reader,a,0,a.length,e.relativeOffsetOfLocalHeader,function(o){try{if(o)return i(o);var c=a.readUInt32LE(0);if(c!==67324752)return i(new Error("invalid local file header signature: 0x"+c.toString(16)));var u=a.readUInt16LE(26),l=a.readUInt16LE(28),p=e.relativeOffsetOfLocalHeader+a.length+u+l,f;if(e.compressionMethod===0)f=!1;else if(e.compressionMethod===8)f=t.decompress!=null?t.decompress:!0;else return i(new Error("unsupported compression method: "+e.compressionMethod));var d=p,h=d+e.compressedSize;if(e.compressedSize!==0&&h>r.fileSize)return i(new Error("file data overflows file bounds: "+d+" + "+e.compressedSize+" > "+r.fileSize));var v=r.reader.createReadStream({start:d+n,end:d+s}),x=v;if(f){var g=!1,w=i2.createInflateRaw();v.on("error",function(y){setImmediate(function(){g||w.emit("error",y)})}),v.pipe(w),r.validateEntrySizes?(x=new In(e.uncompressedSize),w.on("error",function(y){setImmediate(function(){g||x.emit("error",y)})}),w.pipe(x)):x=w,x.destroy=function(){g=!0,w!==x&&w.unpipe(x),v.unpipe(w),v.destroy()}}i(null,x)}finally{r.reader.unref()}})};function Dn(){}Dn.prototype.getLastModDate=function(){return C0(this.lastModFileDate,this.lastModFileTime)};Dn.prototype.isEncrypted=function(){return(this.generalPurposeBitFlag&1)!==0};Dn.prototype.isCompressed=function(){return this.compressionMethod===8};function C0(e,t){var i=e&31,r=(e>>5&15)-1,n=(e>>9&127)+1980,s=0,a=(t&31)*2,o=t>>5&63,c=t>>11&31;return new Date(n,r,i,c,o,a,s)}function A0(e){return e.indexOf("\\")!==-1?"invalid characters in fileName: "+e:/^[a-zA-Z]:/.test(e)||/^\//.test(e)?"absolute path: "+e:e.split("/").indexOf("..")!==-1?"invalid relative path: "+e:null}function Lr(e,t,i,r,n,s){if(r===0)return setImmediate(function(){s(null,gt(0))});e.read(t,i,r,n,function(a,o){if(a)return s(a);if(o<r)return s(new Error("unexpected EOF"));s()})}Ia.inherits(In,R0);function In(e){R0.call(this),this.actualByteCount=0,this.expectedByteCount=e}In.prototype._transform=function(e,t,i){if(this.actualByteCount+=e.length,this.actualByteCount>this.expectedByteCount){var r="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return i(new Error(r))}i(null,e)};In.prototype._flush=function(e){if(this.actualByteCount<this.expectedByteCount){var t="not enough bytes in the stream. expected "+this.expectedByteCount+". got only "+this.actualByteCount;return e(new Error(t))}e()};Ia.inherits(li,Ba);function li(){Ba.call(this),this.refCount=0}li.prototype.ref=function(){this.refCount+=1};li.prototype.unref=function(){var e=this;if(e.refCount-=1,e.refCount>0)return;if(e.refCount<0)throw new Error("invalid unref");e.close(t);function t(i){if(i)return e.emit("error",i);e.emit("close")}};li.prototype.createReadStream=function(e){var t=e.start,i=e.end;if(t===i){var r=new uu;return setImmediate(function(){r.end()}),r}var n=this._readStreamForRange(t,i),s=!1,a=new Pa(this);n.on("error",function(c){setImmediate(function(){s||a.emit("error",c)})}),a.destroy=function(){n.unpipe(a),a.unref(),n.destroy()};var o=new In(i-t);return a.on("error",function(c){setImmediate(function(){s||o.emit("error",c)})}),o.destroy=function(){s=!0,a.unpipe(o),a.destroy()},n.pipe(a).pipe(o)};li.prototype._readStreamForRange=function(e,t){throw new Error("not implemented")};li.prototype.read=function(e,t,i,r,n){var s=this.createReadStream({start:r,end:r+i}),a=new n2,o=0;a._write=function(c,u,l){c.copy(e,t+o,0,c.length),o+=c.length,l()},a.on("finish",n),s.on("error",function(c){n(c)}),s.pipe(a)};li.prototype.close=function(e){setImmediate(e)};Ia.inherits(Pa,uu);function Pa(e){uu.call(this),this.context=e,this.context.ref(),this.unreffedYet=!1}Pa.prototype._flush=function(e){this.unref(),e()};Pa.prototype.unref=function(e){this.unreffedYet||(this.unreffedYet=!0,this.context.unref())};var o2="\0\u263A\u263B\u2665\u2666\u2663\u2660\u2022\u25D8\u25CB\u25D9\u2642\u2640\u266A\u266B\u263C\u25BA\u25C4\u2195\u203C\xB6\xA7\u25AC\u21A8\u2191\u2193\u2192\u2190\u221F\u2194\u25B2\u25BC !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u2302\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0";function Fa(e,t,i,r){if(r)return e.toString("utf8",t,i);for(var n="",s=t;s<i;s++)n+=o2[e[s]];return n}function Nr(e,t){var i=e.readUInt32LE(t),r=e.readUInt32LE(t+4);return r*4294967296+i}var gt;typeof Buffer.allocUnsafe=="function"?gt=function(e){return Buffer.allocUnsafe(e)}:gt=function(e){return new Buffer(e)};function Da(e){if(e)throw e}});var D0=b((DD,F0)=>{"use strict";var L0=Xx(),c2=p0(),N0=ru(),l2=k0(),u2=(e,t)=>{let s=e.versionMadeBy>>8;return(t&61440)===40960?"symlink":(t&61440)===16384||s===0&&e.externalFileAttributes===16?"directory":"file"},p2=(e,t)=>{let i={mode:e.externalFileAttributes>>16&65535,mtime:e.getLastModDate(),path:e.fileName};return i.type=u2(e,i.mode),i.mode===0&&i.type==="directory"&&(i.mode=493),i.mode===0&&(i.mode=420),N0(t.openReadStream.bind(t))(e).then(c2.buffer).then(r=>(i.data=r,i.type==="symlink"&&(i.linkname=r.toString()),i)).catch(r=>{throw t.close(),r})},f2=e=>new Promise((t,i)=>{let r=[];e.readEntry(),e.on("entry",n=>{p2(n,e).catch(i).then(s=>{r.push(s),e.readEntry()})}),e.on("error",i),e.on("end",()=>t(r))});F0.exports=()=>e=>Buffer.isBuffer(e)?!L0(e)||L0(e).ext!=="zip"?Promise.resolve([]):N0(l2.fromBuffer)(e,{lazyEntries:!0}).then(f2):Promise.reject(new TypeError(`Expected a Buffer, got ${typeof e}`))});var P0=b((ID,B0)=>{"use strict";var I0=(e,t)=>function(){let i=t.promiseModule,r=new Array(arguments.length);for(let n=0;n<arguments.length;n++)r[n]=arguments[n];return new i((n,s)=>{t.errorFirst?r.push(function(a,o){if(t.multiArgs){let c=new Array(arguments.length-1);for(let u=1;u<arguments.length;u++)c[u-1]=arguments[u];a?(c.unshift(a),s(c)):n(c)}else a?s(a):n(o)}):r.push(function(a){if(t.multiArgs){let o=new Array(arguments.length-1);for(let c=0;c<arguments.length;c++)o[c]=arguments[c];n(o)}else n(a)}),e.apply(this,r)})};B0.exports=(e,t)=>{t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},t);let i=n=>{let s=a=>typeof a=="string"?n===a:a.test(n);return t.include?t.include.some(s):!t.exclude.some(s)},r;typeof e=="function"?r=function(){return t.excludeMain?e.apply(this,arguments):I0(e,t).apply(this,arguments)}:r=Object.create(Object.getPrototypeOf(e));for(let n in e){let s=e[n];r[n]=typeof s=="function"&&i(n)?I0(s,t):s}return r}});var q0=b((BD,fu)=>{"use strict";var d2=C("fs"),Ii=C("path"),j0=P0(),M0={mode:511&~process.umask(),fs:d2},z0=e=>{if(process.platform==="win32"&&/[<>:"|?*]/.test(e.replace(Ii.parse(e).root,""))){let i=new Error(`Path contains invalid characters: ${e}`);throw i.code="EINVAL",i}};fu.exports=(e,t)=>Promise.resolve().then(()=>{z0(e),t=Object.assign({},M0,t);let i=j0(t.fs.mkdir),r=j0(t.fs.stat),n=s=>i(s,t.mode).then(()=>s).catch(a=>{if(a.code==="ENOENT"){if(a.message.includes("null bytes")||Ii.dirname(s)===s)throw a;return n(Ii.dirname(s)).then(()=>n(s))}return r(s).then(o=>o.isDirectory()?s:Promise.reject()).catch(()=>{throw a})});return n(Ii.resolve(e))});fu.exports.sync=(e,t)=>{z0(e),t=Object.assign({},M0,t);let i=r=>{try{t.fs.mkdirSync(r,t.mode)}catch(n){if(n.code==="ENOENT"){if(n.message.includes("null bytes")||Ii.dirname(r)===r)throw n;return i(Ii.dirname(r)),i(r)}try{if(!t.fs.statSync(r).isDirectory())throw new Error("The path is not a directory")}catch{throw n}}return r};return i(Ii.resolve(e))}});var $0=b((PD,U0)=>{"use strict";U0.exports=function(t,i){if(i){if(typeof i!="object")throw new TypeError(String(i)+" is not an object. Expected an object that has boolean `includeZero` property.");if("includeZero"in i){if(typeof i.includeZero!="boolean")throw new TypeError(String(i.includeZero)+" is neither true nor false. `includeZero` option must be a Boolean value.");if(i.includeZero&&t===0)return!0}}return Number.isSafeInteger(t)&&t>=1}});var W0=b((jD,H0)=>{"use strict";var Bn=C("path"),Pn=C("util"),m2=$0();H0.exports=function(t,i,r){if(typeof t!="string")throw new TypeError(Pn.inspect(t)+" is not a string. First argument to strip-dirs must be a path string.");if(Bn.posix.isAbsolute(t)||Bn.win32.isAbsolute(t))throw new Error(`${t} is an absolute path. strip-dirs requires a relative path.`);if(!m2(i,{includeZero:!0}))throw new Error("The Second argument of strip-dirs must be a natural number or 0, but received "+Pn.inspect(i)+".");if(r){if(typeof r!="object")throw new TypeError(Pn.inspect(r)+" is not an object. Expected an object with a boolean `disallowOverflow` property.");if(Array.isArray(r))throw new TypeError(Pn.inspect(r)+" is an array. Expected an object with a boolean `disallowOverflow` property.");if("disallowOverflow"in r&&typeof r.disallowOverflow!="boolean")throw new TypeError(Pn.inspect(r.disallowOverflow)+" is neither true nor false. `disallowOverflow` option must be a Boolean value.")}else r={disallowOverflow:!1};let n=Bn.normalize(t).split(Bn.sep);if(n.length>1&&n[0]==="."&&n.shift(),i>n.length-1){if(r.disallowOverflow)throw new RangeError("Cannot strip more directories than there are.");i=n.length-1}return Bn.join.apply(null,n.slice(i))}});var V0=b((MD,G0)=>{"use strict";var ja=C("path"),h2=Sm(),x2=Ea(),v2=Hx(),b2=Vx(),g2=D0(),du=q0(),y2=ru(),w2=W0(),He=y2(h2),E2=(e,t)=>t.plugins.length===0?Promise.resolve([]):Promise.all(t.plugins.map(i=>i(e,t))).then(i=>i.reduce((r,n)=>r.concat(n))),mu=(e,t)=>He.realpath(e).catch(i=>{let r=ja.dirname(e);return mu(r,t)}).then(i=>{if(i.indexOf(t)!==0)throw new Error("Refusing to create a directory outside the output path.");return du(e).then(He.realpath)}),_2=(e,t)=>He.readlink(e).catch(i=>null).then(i=>{if(i)throw new Error("Refusing to write into a symlink");return t}),S2=(e,t,i)=>E2(e,i).then(r=>(i.strip>0&&(r=r.map(n=>(n.path=w2(n.path,i.strip),n)).filter(n=>n.path!==".")),typeof i.filter=="function"&&(r=r.filter(i.filter)),typeof i.map=="function"&&(r=r.map(i.map)),t?Promise.all(r.map(n=>{let s=ja.join(t,n.path),a=n.mode&~process.umask(),o=new Date;return n.type==="directory"?du(t).then(c=>He.realpath(c)).then(c=>mu(s,c)).then(()=>He.utimes(s,o,n.mtime)).then(()=>n):du(t).then(c=>He.realpath(c)).then(c=>mu(ja.dirname(s),c).then(()=>c)).then(c=>n.type==="file"?_2(s,c):c).then(c=>He.realpath(ja.dirname(s)).then(u=>{if(u.indexOf(c)!==0)throw new Error("Refusing to write outside output directory: "+u)})).then(()=>n.type==="link"||n.type==="symlink"&&process.platform==="win32"?He.link(n.linkname,s):n.type==="symlink"?He.symlink(n.linkname,s):He.writeFile(s,n.data,{mode:a})).then(()=>n.type==="file"&&He.utimes(s,o,n.mtime)).then(()=>n)})):r));G0.exports=(e,t,i)=>typeof e!="string"&&!Buffer.isBuffer(e)?Promise.reject(new TypeError("Input file required")):(typeof t=="object"&&(i=t,t=null),i=Object.assign({plugins:[x2(),v2(),b2(),g2()]},i),(typeof e=="string"?He.readFile(e):Promise.resolve(e)).then(n=>S2(n,t,i)))});var jn=b((zD,Y0)=>{"use strict";var R2="2.0.0",O2=Number.MAX_SAFE_INTEGER||9007199254740991,T2=16,C2=250,A2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Y0.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:T2,MAX_SAFE_BUILD_LENGTH:C2,MAX_SAFE_INTEGER:O2,RELEASE_TYPES:A2,SEMVER_SPEC_VERSION:R2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Mn=b((qD,X0)=>{"use strict";var k2=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};X0.exports=k2});var Fr=b((Mt,K0)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:hu,MAX_SAFE_BUILD_LENGTH:L2,MAX_LENGTH:N2}=jn(),F2=Mn();Mt=K0.exports={};var D2=Mt.re=[],I2=Mt.safeRe=[],R=Mt.src=[],O=Mt.t={},B2=0,xu="[a-zA-Z0-9-]",P2=[["\\s",1],["\\d",N2],[xu,L2]],j2=e=>{for(let[t,i]of P2)e=e.split(`${t}*`).join(`${t}{0,${i}}`).split(`${t}+`).join(`${t}{1,${i}}`);return e},B=(e,t,i)=>{let r=j2(t),n=B2++;F2(e,n,t),O[e]=n,R[n]=t,D2[n]=new RegExp(t,i?"g":void 0),I2[n]=new RegExp(r,i?"g":void 0)};B("NUMERICIDENTIFIER","0|[1-9]\\d*");B("NUMERICIDENTIFIERLOOSE","\\d+");B("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${xu}*`);B("MAINVERSION",`(${R[O.NUMERICIDENTIFIER]})\\.(${R[O.NUMERICIDENTIFIER]})\\.(${R[O.NUMERICIDENTIFIER]})`);B("MAINVERSIONLOOSE",`(${R[O.NUMERICIDENTIFIERLOOSE]})\\.(${R[O.NUMERICIDENTIFIERLOOSE]})\\.(${R[O.NUMERICIDENTIFIERLOOSE]})`);B("PRERELEASEIDENTIFIER",`(?:${R[O.NUMERICIDENTIFIER]}|${R[O.NONNUMERICIDENTIFIER]})`);B("PRERELEASEIDENTIFIERLOOSE",`(?:${R[O.NUMERICIDENTIFIERLOOSE]}|${R[O.NONNUMERICIDENTIFIER]})`);B("PRERELEASE",`(?:-(${R[O.PRERELEASEIDENTIFIER]}(?:\\.${R[O.PRERELEASEIDENTIFIER]})*))`);B("PRERELEASELOOSE",`(?:-?(${R[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${R[O.PRERELEASEIDENTIFIERLOOSE]})*))`);B("BUILDIDENTIFIER",`${xu}+`);B("BUILD",`(?:\\+(${R[O.BUILDIDENTIFIER]}(?:\\.${R[O.BUILDIDENTIFIER]})*))`);B("FULLPLAIN",`v?${R[O.MAINVERSION]}${R[O.PRERELEASE]}?${R[O.BUILD]}?`);B("FULL",`^${R[O.FULLPLAIN]}$`);B("LOOSEPLAIN",`[v=\\s]*${R[O.MAINVERSIONLOOSE]}${R[O.PRERELEASELOOSE]}?${R[O.BUILD]}?`);B("LOOSE",`^${R[O.LOOSEPLAIN]}$`);B("GTLT","((?:<|>)?=?)");B("XRANGEIDENTIFIERLOOSE",`${R[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);B("XRANGEIDENTIFIER",`${R[O.NUMERICIDENTIFIER]}|x|X|\\*`);B("XRANGEPLAIN",`[v=\\s]*(${R[O.XRANGEIDENTIFIER]})(?:\\.(${R[O.XRANGEIDENTIFIER]})(?:\\.(${R[O.XRANGEIDENTIFIER]})(?:${R[O.PRERELEASE]})?${R[O.BUILD]}?)?)?`);B("XRANGEPLAINLOOSE",`[v=\\s]*(${R[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${R[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${R[O.XRANGEIDENTIFIERLOOSE]})(?:${R[O.PRERELEASELOOSE]})?${R[O.BUILD]}?)?)?`);B("XRANGE",`^${R[O.GTLT]}\\s*${R[O.XRANGEPLAIN]}$`);B("XRANGELOOSE",`^${R[O.GTLT]}\\s*${R[O.XRANGEPLAINLOOSE]}$`);B("COERCEPLAIN",`(^|[^\\d])(\\d{1,${hu}})(?:\\.(\\d{1,${hu}}))?(?:\\.(\\d{1,${hu}}))?`);B("COERCE",`${R[O.COERCEPLAIN]}(?:$|[^\\d])`);B("COERCEFULL",R[O.COERCEPLAIN]+`(?:${R[O.PRERELEASE]})?(?:${R[O.BUILD]})?(?:$|[^\\d])`);B("COERCERTL",R[O.COERCE],!0);B("COERCERTLFULL",R[O.COERCEFULL],!0);B("LONETILDE","(?:~>?)");B("TILDETRIM",`(\\s*)${R[O.LONETILDE]}\\s+`,!0);Mt.tildeTrimReplace="$1~";B("TILDE",`^${R[O.LONETILDE]}${R[O.XRANGEPLAIN]}$`);B("TILDELOOSE",`^${R[O.LONETILDE]}${R[O.XRANGEPLAINLOOSE]}$`);B("LONECARET","(?:\\^)");B("CARETTRIM",`(\\s*)${R[O.LONECARET]}\\s+`,!0);Mt.caretTrimReplace="$1^";B("CARET",`^${R[O.LONECARET]}${R[O.XRANGEPLAIN]}$`);B("CARETLOOSE",`^${R[O.LONECARET]}${R[O.XRANGEPLAINLOOSE]}$`);B("COMPARATORLOOSE",`^${R[O.GTLT]}\\s*(${R[O.LOOSEPLAIN]})$|^$`);B("COMPARATOR",`^${R[O.GTLT]}\\s*(${R[O.FULLPLAIN]})$|^$`);B("COMPARATORTRIM",`(\\s*)${R[O.GTLT]}\\s*(${R[O.LOOSEPLAIN]}|${R[O.XRANGEPLAIN]})`,!0);Mt.comparatorTrimReplace="$1$2$3";B("HYPHENRANGE",`^\\s*(${R[O.XRANGEPLAIN]})\\s+-\\s+(${R[O.XRANGEPLAIN]})\\s*$`);B("HYPHENRANGELOOSE",`^\\s*(${R[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${R[O.XRANGEPLAINLOOSE]})\\s*$`);B("STAR","(<|>)?=?\\s*\\*");B("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");B("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ma=b((UD,Z0)=>{"use strict";var M2=Object.freeze({loose:!0}),z2=Object.freeze({}),q2=e=>e?typeof e!="object"?M2:e:z2;Z0.exports=q2});var vu=b(($D,ev)=>{"use strict";var J0=/^[0-9]+$/,Q0=(e,t)=>{let i=J0.test(e),r=J0.test(t);return i&&r&&(e=+e,t=+t),e===t?0:i&&!r?-1:r&&!i?1:e<t?-1:1},U2=(e,t)=>Q0(t,e);ev.exports={compareIdentifiers:Q0,rcompareIdentifiers:U2}});var Oe=b((HD,nv)=>{"use strict";var za=Mn(),{MAX_LENGTH:tv,MAX_SAFE_INTEGER:qa}=jn(),{safeRe:iv,t:rv}=Fr(),$2=Ma(),{compareIdentifiers:Dr}=vu(),bu=class e{constructor(t,i){if(i=$2(i),t instanceof e){if(t.loose===!!i.loose&&t.includePrerelease===!!i.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>tv)throw new TypeError(`version is longer than ${tv} characters`);za("SemVer",t,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;let r=t.trim().match(i.loose?iv[rv.LOOSE]:iv[rv.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>qa||this.major<0)throw new TypeError("Invalid major version");if(this.minor>qa||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>qa||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s<qa)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(za("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),Dr(this.major,t.major)||Dr(this.minor,t.minor)||Dr(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let i=0;do{let r=this.prerelease[i],n=t.prerelease[i];if(za("prerelease compare",i,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Dr(r,n)}while(++i)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let i=0;do{let r=this.build[i],n=t.build[i];if(za("build compare",i,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Dr(r,n)}while(++i)}inc(t,i,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",i,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",i,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",i,r),this.inc("pre",i,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",i,r),this.inc("pre",i,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(r)?1:0;if(!i&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[n];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(i===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(i){let s=[i,n];r===!1&&(s=[i]),Dr(this.prerelease[0],i)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};nv.exports=bu});var Bi=b((WD,av)=>{"use strict";var sv=Oe(),H2=(e,t,i=!1)=>{if(e instanceof sv)return e;try{return new sv(e,t)}catch(r){if(!i)return null;throw r}};av.exports=H2});var cv=b((GD,ov)=>{"use strict";var W2=Bi(),G2=(e,t)=>{let i=W2(e,t);return i?i.version:null};ov.exports=G2});var uv=b((VD,lv)=>{"use strict";var V2=Bi(),Y2=(e,t)=>{let i=V2(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null};lv.exports=Y2});var dv=b((YD,fv)=>{"use strict";var pv=Oe(),X2=(e,t,i,r,n)=>{typeof i=="string"&&(n=r,r=i,i=void 0);try{return new pv(e instanceof pv?e.version:e,i).inc(t,r,n).version}catch{return null}};fv.exports=X2});var xv=b((XD,hv)=>{"use strict";var mv=Bi(),K2=(e,t)=>{let i=mv(e,null,!0),r=mv(t,null,!0),n=i.compare(r);if(n===0)return null;let s=n>0,a=s?i:r,o=s?r:i,c=!!a.prerelease.length;if(!!o.prerelease.length&&!c)return!o.patch&&!o.minor?"major":a.patch?"patch":a.minor?"minor":"major";let l=c?"pre":"";return i.major!==r.major?l+"major":i.minor!==r.minor?l+"minor":i.patch!==r.patch?l+"patch":"prerelease"};hv.exports=K2});var bv=b((KD,vv)=>{"use strict";var Z2=Oe(),J2=(e,t)=>new Z2(e,t).major;vv.exports=J2});var yv=b((ZD,gv)=>{"use strict";var Q2=Oe(),e6=(e,t)=>new Q2(e,t).minor;gv.exports=e6});var Ev=b((JD,wv)=>{"use strict";var t6=Oe(),i6=(e,t)=>new t6(e,t).patch;wv.exports=i6});var Sv=b((QD,_v)=>{"use strict";var r6=Bi(),n6=(e,t)=>{let i=r6(e,t);return i&&i.prerelease.length?i.prerelease:null};_v.exports=n6});var Ze=b((e5,Ov)=>{"use strict";var Rv=Oe(),s6=(e,t,i)=>new Rv(e,i).compare(new Rv(t,i));Ov.exports=s6});var Cv=b((t5,Tv)=>{"use strict";var a6=Ze(),o6=(e,t,i)=>a6(t,e,i);Tv.exports=o6});var kv=b((i5,Av)=>{"use strict";var c6=Ze(),l6=(e,t)=>c6(e,t,!0);Av.exports=l6});var Ua=b((r5,Nv)=>{"use strict";var Lv=Oe(),u6=(e,t,i)=>{let r=new Lv(e,i),n=new Lv(t,i);return r.compare(n)||r.compareBuild(n)};Nv.exports=u6});var Dv=b((n5,Fv)=>{"use strict";var p6=Ua(),f6=(e,t)=>e.sort((i,r)=>p6(i,r,t));Fv.exports=f6});var Bv=b((s5,Iv)=>{"use strict";var d6=Ua(),m6=(e,t)=>e.sort((i,r)=>d6(r,i,t));Iv.exports=m6});var zn=b((a5,Pv)=>{"use strict";var h6=Ze(),x6=(e,t,i)=>h6(e,t,i)>0;Pv.exports=x6});var $a=b((o5,jv)=>{"use strict";var v6=Ze(),b6=(e,t,i)=>v6(e,t,i)<0;jv.exports=b6});var gu=b((c5,Mv)=>{"use strict";var g6=Ze(),y6=(e,t,i)=>g6(e,t,i)===0;Mv.exports=y6});var yu=b((l5,zv)=>{"use strict";var w6=Ze(),E6=(e,t,i)=>w6(e,t,i)!==0;zv.exports=E6});var Ha=b((u5,qv)=>{"use strict";var _6=Ze(),S6=(e,t,i)=>_6(e,t,i)>=0;qv.exports=S6});var Wa=b((p5,Uv)=>{"use strict";var R6=Ze(),O6=(e,t,i)=>R6(e,t,i)<=0;Uv.exports=O6});var wu=b((f5,$v)=>{"use strict";var T6=gu(),C6=yu(),A6=zn(),k6=Ha(),L6=$a(),N6=Wa(),F6=(e,t,i,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof i=="object"&&(i=i.version),e===i;case"!==":return typeof e=="object"&&(e=e.version),typeof i=="object"&&(i=i.version),e!==i;case"":case"=":case"==":return T6(e,i,r);case"!=":return C6(e,i,r);case">":return A6(e,i,r);case">=":return k6(e,i,r);case"<":return L6(e,i,r);case"<=":return N6(e,i,r);default:throw new TypeError(`Invalid operator: ${t}`)}};$v.exports=F6});var Wv=b((d5,Hv)=>{"use strict";var D6=Oe(),I6=Bi(),{safeRe:Ga,t:Va}=Fr(),B6=(e,t)=>{if(e instanceof D6)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let i=null;if(!t.rtl)i=e.match(t.includePrerelease?Ga[Va.COERCEFULL]:Ga[Va.COERCE]);else{let c=t.includePrerelease?Ga[Va.COERCERTLFULL]:Ga[Va.COERCERTL],u;for(;(u=c.exec(e))&&(!i||i.index+i[0].length!==e.length);)(!i||u.index+u[0].length!==i.index+i[0].length)&&(i=u),c.lastIndex=u.index+u[1].length+u[2].length;c.lastIndex=-1}if(i===null)return null;let r=i[2],n=i[3]||"0",s=i[4]||"0",a=t.includePrerelease&&i[5]?`-${i[5]}`:"",o=t.includePrerelease&&i[6]?`+${i[6]}`:"";return I6(`${r}.${n}.${s}${a}${o}`,t)};Hv.exports=B6});var Vv=b((m5,Gv)=>{"use strict";var Eu=class{constructor(){this.max=1e3,this.map=new Map}get(t){let i=this.map.get(t);if(i!==void 0)return this.map.delete(t),this.map.set(t,i),i}delete(t){return this.map.delete(t)}set(t,i){if(!this.delete(t)&&i!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(t,i)}return this}};Gv.exports=Eu});var Je=b((h5,Zv)=>{"use strict";var P6=/\s+/g,_u=class e{constructor(t,i){if(i=M6(i),t instanceof e)return t.loose===!!i.loose&&t.includePrerelease===!!i.includePrerelease?t:new e(t.raw,i);if(t instanceof Su)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease,this.raw=t.trim().replace(P6," "),this.set=this.raw.split("||").map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter(n=>!Xv(n[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&G6(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let i=this.set[t];for(let r=0;r<i.length;r++)r>0&&(this.formatted+=" "),this.formatted+=i[r].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let r=((this.options.includePrerelease&&H6)|(this.options.loose&&W6))+":"+t,n=Yv.get(r);if(n)return n;let s=this.options.loose,a=s?je[Ne.HYPHENRANGELOOSE]:je[Ne.HYPHENRANGE];t=t.replace(a,iO(this.options.includePrerelease)),ee("hyphen replace",t),t=t.replace(je[Ne.COMPARATORTRIM],q6),ee("comparator trim",t),t=t.replace(je[Ne.TILDETRIM],U6),ee("tilde trim",t),t=t.replace(je[Ne.CARETTRIM],$6),ee("caret trim",t);let o=t.split(" ").map(p=>V6(p,this.options)).join(" ").split(/\s+/).map(p=>tO(p,this.options));s&&(o=o.filter(p=>(ee("loose invalid filter",p,this.options),!!p.match(je[Ne.COMPARATORLOOSE])))),ee("range list",o);let c=new Map,u=o.map(p=>new Su(p,this.options));for(let p of u){if(Xv(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let l=[...c.values()];return Yv.set(r,l),l}intersects(t,i){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(r=>Kv(r,i)&&t.set.some(n=>Kv(n,i)&&r.every(s=>n.every(a=>s.intersects(a,i)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new z6(t,this.options)}catch{return!1}for(let i=0;i<this.set.length;i++)if(rO(this.set[i],t,this.options))return!0;return!1}};Zv.exports=_u;var j6=Vv(),Yv=new j6,M6=Ma(),Su=qn(),ee=Mn(),z6=Oe(),{safeRe:je,t:Ne,comparatorTrimReplace:q6,tildeTrimReplace:U6,caretTrimReplace:$6}=Fr(),{FLAG_INCLUDE_PRERELEASE:H6,FLAG_LOOSE:W6}=jn(),Xv=e=>e.value==="<0.0.0-0",G6=e=>e.value==="",Kv=(e,t)=>{let i=!0,r=e.slice(),n=r.pop();for(;i&&r.length;)i=r.every(s=>n.intersects(s,t)),n=r.pop();return i},V6=(e,t)=>(ee("comp",e,t),e=K6(e,t),ee("caret",e),e=Y6(e,t),ee("tildes",e),e=J6(e,t),ee("xrange",e),e=eO(e,t),ee("stars",e),e),Fe=e=>!e||e.toLowerCase()==="x"||e==="*",Y6=(e,t)=>e.trim().split(/\s+/).map(i=>X6(i,t)).join(" "),X6=(e,t)=>{let i=t.loose?je[Ne.TILDELOOSE]:je[Ne.TILDE];return e.replace(i,(r,n,s,a,o)=>{ee("tilde",e,r,n,s,a,o);let c;return Fe(n)?c="":Fe(s)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:Fe(a)?c=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:o?(ee("replaceTilde pr",o),c=`>=${n}.${s}.${a}-${o} <${n}.${+s+1}.0-0`):c=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,ee("tilde return",c),c})},K6=(e,t)=>e.trim().split(/\s+/).map(i=>Z6(i,t)).join(" "),Z6=(e,t)=>{ee("caret",e,t);let i=t.loose?je[Ne.CARETLOOSE]:je[Ne.CARET],r=t.includePrerelease?"-0":"";return e.replace(i,(n,s,a,o,c)=>{ee("caret",e,n,s,a,o,c);let u;return Fe(s)?u="":Fe(a)?u=`>=${s}.0.0${r} <${+s+1}.0.0-0`:Fe(o)?s==="0"?u=`>=${s}.${a}.0${r} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${r} <${+s+1}.0.0-0`:c?(ee("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${o}-${c} <${s}.${a}.${+o+1}-0`:u=`>=${s}.${a}.${o}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${o}-${c} <${+s+1}.0.0-0`):(ee("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${o}${r} <${s}.${a}.${+o+1}-0`:u=`>=${s}.${a}.${o}${r} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${o} <${+s+1}.0.0-0`),ee("caret return",u),u})},J6=(e,t)=>(ee("replaceXRanges",e,t),e.split(/\s+/).map(i=>Q6(i,t)).join(" ")),Q6=(e,t)=>{e=e.trim();let i=t.loose?je[Ne.XRANGELOOSE]:je[Ne.XRANGE];return e.replace(i,(r,n,s,a,o,c)=>{ee("xRange",e,r,n,s,a,o,c);let u=Fe(s),l=u||Fe(a),p=l||Fe(o),f=p;return n==="="&&f&&(n=""),c=t.includePrerelease?"-0":"",u?n===">"||n==="<"?r="<0.0.0-0":r="*":n&&f?(l&&(a=0),o=0,n===">"?(n=">=",l?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):n==="<="&&(n="<",l?s=+s+1:a=+a+1),n==="<"&&(c="-0"),r=`${n+s}.${a}.${o}${c}`):l?r=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(r=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),ee("xRange return",r),r})},eO=(e,t)=>(ee("replaceStars",e,t),e.trim().replace(je[Ne.STAR],"")),tO=(e,t)=>(ee("replaceGTE0",e,t),e.trim().replace(je[t.includePrerelease?Ne.GTE0PRE:Ne.GTE0],"")),iO=e=>(t,i,r,n,s,a,o,c,u,l,p,f)=>(Fe(r)?i="":Fe(n)?i=`>=${r}.0.0${e?"-0":""}`:Fe(s)?i=`>=${r}.${n}.0${e?"-0":""}`:a?i=`>=${i}`:i=`>=${i}${e?"-0":""}`,Fe(u)?c="":Fe(l)?c=`<${+u+1}.0.0-0`:Fe(p)?c=`<${u}.${+l+1}.0-0`:f?c=`<=${u}.${l}.${p}-${f}`:e?c=`<${u}.${l}.${+p+1}-0`:c=`<=${c}`,`${i} ${c}`.trim()),rO=(e,t,i)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!i.includePrerelease){for(let r=0;r<e.length;r++)if(ee(e[r].semver),e[r].semver!==Su.ANY&&e[r].semver.prerelease.length>0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}});var qn=b((x5,rb)=>{"use strict";var Un=Symbol("SemVer ANY"),Tu=class e{static get ANY(){return Un}constructor(t,i){if(i=Jv(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),Ou("comparator",t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===Un?this.value="":this.value=this.operator+this.semver.version,Ou("comp",this)}parse(t){let i=this.options.loose?Qv[eb.COMPARATORLOOSE]:Qv[eb.COMPARATOR],r=t.match(i);if(!r)throw new TypeError(`Invalid comparator: ${t}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new tb(r[2],this.options.loose):this.semver=Un}toString(){return this.value}test(t){if(Ou("Comparator.test",t,this.options.loose),this.semver===Un||t===Un)return!0;if(typeof t=="string")try{t=new tb(t,this.options)}catch{return!1}return Ru(t,this.operator,this.semver,this.options)}intersects(t,i){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ib(t.value,i).test(this.value):t.operator===""?t.value===""?!0:new ib(this.value,i).test(t.semver):(i=Jv(i),i.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!i.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||Ru(this.semver,"<",t.semver,i)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||Ru(this.semver,">",t.semver,i)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};rb.exports=Tu;var Jv=Ma(),{safeRe:Qv,t:eb}=Fr(),Ru=wu(),Ou=Mn(),tb=Oe(),ib=Je()});var $n=b((v5,nb)=>{"use strict";var nO=Je(),sO=(e,t,i)=>{try{t=new nO(t,i)}catch{return!1}return t.test(e)};nb.exports=sO});var ab=b((b5,sb)=>{"use strict";var aO=Je(),oO=(e,t)=>new aO(e,t).set.map(i=>i.map(r=>r.value).join(" ").trim().split(" "));sb.exports=oO});var cb=b((g5,ob)=>{"use strict";var cO=Oe(),lO=Je(),uO=(e,t,i)=>{let r=null,n=null,s=null;try{s=new lO(t,i)}catch{return null}return e.forEach(a=>{s.test(a)&&(!r||n.compare(a)===-1)&&(r=a,n=new cO(r,i))}),r};ob.exports=uO});var ub=b((y5,lb)=>{"use strict";var pO=Oe(),fO=Je(),dO=(e,t,i)=>{let r=null,n=null,s=null;try{s=new fO(t,i)}catch{return null}return e.forEach(a=>{s.test(a)&&(!r||n.compare(a)===1)&&(r=a,n=new pO(r,i))}),r};lb.exports=dO});var db=b((w5,fb)=>{"use strict";var Cu=Oe(),mO=Je(),pb=zn(),hO=(e,t)=>{e=new mO(e,t);let i=new Cu("0.0.0");if(e.test(i)||(i=new Cu("0.0.0-0"),e.test(i)))return i;i=null;for(let r=0;r<e.set.length;++r){let n=e.set[r],s=null;n.forEach(a=>{let o=new Cu(a.semver.version);switch(a.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!s||pb(o,s))&&(s=o);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!i||pb(i,s))&&(i=s)}return i&&e.test(i)?i:null};fb.exports=hO});var hb=b((E5,mb)=>{"use strict";var xO=Je(),vO=(e,t)=>{try{return new xO(e,t).range||"*"}catch{return null}};mb.exports=vO});var Ya=b((_5,gb)=>{"use strict";var bO=Oe(),bb=qn(),{ANY:gO}=bb,yO=Je(),wO=$n(),xb=zn(),vb=$a(),EO=Wa(),_O=Ha(),SO=(e,t,i,r)=>{e=new bO(e,r),t=new yO(t,r);let n,s,a,o,c;switch(i){case">":n=xb,s=EO,a=vb,o=">",c=">=";break;case"<":n=vb,s=_O,a=xb,o="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(wO(e,t,r))return!1;for(let u=0;u<t.set.length;++u){let l=t.set[u],p=null,f=null;if(l.forEach(d=>{d.semver===gO&&(d=new bb(">=0.0.0")),p=p||d,f=f||d,n(d.semver,p.semver,r)?p=d:a(d.semver,f.semver,r)&&(f=d)}),p.operator===o||p.operator===c||(!f.operator||f.operator===o)&&s(e,f.semver))return!1;if(f.operator===c&&a(e,f.semver))return!1}return!0};gb.exports=SO});var wb=b((S5,yb)=>{"use strict";var RO=Ya(),OO=(e,t,i)=>RO(e,t,">",i);yb.exports=OO});var _b=b((R5,Eb)=>{"use strict";var TO=Ya(),CO=(e,t,i)=>TO(e,t,"<",i);Eb.exports=CO});var Ob=b((O5,Rb)=>{"use strict";var Sb=Je(),AO=(e,t,i)=>(e=new Sb(e,i),t=new Sb(t,i),e.intersects(t,i));Rb.exports=AO});var Cb=b((T5,Tb)=>{"use strict";var kO=$n(),LO=Ze();Tb.exports=(e,t,i)=>{let r=[],n=null,s=null,a=e.sort((l,p)=>LO(l,p,i));for(let l of a)kO(l,t,i)?(s=l,n||(n=l)):(s&&r.push([n,s]),s=null,n=null);n&&r.push([n,null]);let o=[];for(let[l,p]of r)l===p?o.push(l):!p&&l===a[0]?o.push("*"):p?l===a[0]?o.push(`<=${p}`):o.push(`${l} - ${p}`):o.push(`>=${l}`);let c=o.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var Db=b((C5,Fb)=>{"use strict";var Ab=Je(),ku=qn(),{ANY:Au}=ku,Hn=$n(),Lu=Ze(),NO=(e,t,i={})=>{if(e===t)return!0;e=new Ab(e,i),t=new Ab(t,i);let r=!1;e:for(let n of e.set){for(let s of t.set){let a=DO(n,s,i);if(r=r||a!==null,a)continue e}if(r)return!1}return!0},FO=[new ku(">=0.0.0-0")],kb=[new ku(">=0.0.0")],DO=(e,t,i)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Au){if(t.length===1&&t[0].semver===Au)return!0;i.includePrerelease?e=FO:e=kb}if(t.length===1&&t[0].semver===Au){if(i.includePrerelease)return!0;t=kb}let r=new Set,n,s;for(let d of e)d.operator===">"||d.operator===">="?n=Lb(n,d,i):d.operator==="<"||d.operator==="<="?s=Nb(s,d,i):r.add(d.semver);if(r.size>1)return null;let a;if(n&&s){if(a=Lu(n.semver,s.semver,i),a>0)return null;if(a===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let d of r){if(n&&!Hn(d,String(n),i)||s&&!Hn(d,String(s),i))return null;for(let h of t)if(!Hn(d,String(h),i))return!1;return!0}let o,c,u,l,p=s&&!i.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=n&&!i.includePrerelease&&n.semver.prerelease.length?n.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let d of t){if(l=l||d.operator===">"||d.operator===">=",u=u||d.operator==="<"||d.operator==="<=",n){if(f&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===f.major&&d.semver.minor===f.minor&&d.semver.patch===f.patch&&(f=!1),d.operator===">"||d.operator===">="){if(o=Lb(n,d,i),o===d&&o!==n)return!1}else if(n.operator===">="&&!Hn(n.semver,String(d),i))return!1}if(s){if(p&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===p.major&&d.semver.minor===p.minor&&d.semver.patch===p.patch&&(p=!1),d.operator==="<"||d.operator==="<="){if(c=Nb(s,d,i),c===d&&c!==s)return!1}else if(s.operator==="<="&&!Hn(s.semver,String(d),i))return!1}if(!d.operator&&(s||n)&&a!==0)return!1}return!(n&&u&&!s&&a!==0||s&&l&&!n&&a!==0||f||p)},Lb=(e,t,i)=>{if(!e)return t;let r=Lu(e.semver,t.semver,i);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Nb=(e,t,i)=>{if(!e)return t;let r=Lu(e.semver,t.semver,i);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};Fb.exports=NO});var jb=b((A5,Pb)=>{"use strict";var Nu=Fr(),Ib=jn(),IO=Oe(),Bb=vu(),BO=Bi(),PO=cv(),jO=uv(),MO=dv(),zO=xv(),qO=bv(),UO=yv(),$O=Ev(),HO=Sv(),WO=Ze(),GO=Cv(),VO=kv(),YO=Ua(),XO=Dv(),KO=Bv(),ZO=zn(),JO=$a(),QO=gu(),e4=yu(),t4=Ha(),i4=Wa(),r4=wu(),n4=Wv(),s4=qn(),a4=Je(),o4=$n(),c4=ab(),l4=cb(),u4=ub(),p4=db(),f4=hb(),d4=Ya(),m4=wb(),h4=_b(),x4=Ob(),v4=Cb(),b4=Db();Pb.exports={parse:BO,valid:PO,clean:jO,inc:MO,diff:zO,major:qO,minor:UO,patch:$O,prerelease:HO,compare:WO,rcompare:GO,compareLoose:VO,compareBuild:YO,sort:XO,rsort:KO,gt:ZO,lt:JO,eq:QO,neq:e4,gte:t4,lte:i4,cmp:r4,coerce:n4,Comparator:s4,Range:a4,satisfies:o4,toComparators:c4,maxSatisfying:l4,minSatisfying:u4,minVersion:p4,validRange:f4,outside:d4,gtr:m4,ltr:h4,intersects:x4,simplifyRange:v4,subset:b4,SemVer:IO,re:Nu.re,src:Nu.src,tokens:Nu.t,SEMVER_SPEC_VERSION:Ib.SEMVER_SPEC_VERSION,RELEASE_TYPES:Ib.RELEASE_TYPES,compareIdentifiers:Bb.compareIdentifiers,rcompareIdentifiers:Bb.rcompareIdentifiers}});var zp=(e=0)=>t=>`\x1B[${t+e}m`,qp=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Up=(e=0)=>(t,i,r)=>`\x1B[${38+e};2;${t};${i};${r}m`,te={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},w3=Object.keys(te.modifier),sy=Object.keys(te.color),ay=Object.keys(te.bgColor),E3=[...sy,...ay];function oy(){let e=new Map;for(let[t,i]of Object.entries(te)){for(let[r,n]of Object.entries(i))te[r]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},i[r]=te[r],e.set(n[0],n[1]);Object.defineProperty(te,t,{value:i,enumerable:!1})}return Object.defineProperty(te,"codes",{value:e,enumerable:!1}),te.color.close="\x1B[39m",te.bgColor.close="\x1B[49m",te.color.ansi=zp(),te.color.ansi256=qp(),te.color.ansi16m=Up(),te.bgColor.ansi=zp(10),te.bgColor.ansi256=qp(10),te.bgColor.ansi16m=Up(10),Object.defineProperties(te,{rgbToAnsi256:{value(t,i,r){return t===i&&i===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(t){let i=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!i)return[0,0,0];let[r]=i;r.length===3&&(r=[...r].map(s=>s+s).join(""));let n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>te.rgbToAnsi256(...te.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value(t){if(t<8)return 30+t;if(t<16)return 90+(t-8);let i,r,n;if(t>=232)i=((t-232)*10+8)/255,r=i,n=i;else{t-=16;let o=t%36;i=Math.floor(t/36)/5,r=Math.floor(o/6)/5,n=o%6/5}let s=Math.max(i,r,n)*2;if(s===0)return 30;let a=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(i));return s===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(t,i,r)=>te.ansi256ToAnsi(te.rgbToAnsi256(t,i,r)),enumerable:!1},hexToAnsi:{value:t=>te.ansi256ToAnsi(te.hexToAnsi256(t)),enumerable:!1}}),te}var cy=oy(),rt=cy;import Zo from"node:process";import ly from"node:os";import $p from"node:tty";function Ye(e,t=globalThis.Deno?globalThis.Deno.args:Zo.argv){let i=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(i+e),n=t.indexOf("--");return r!==-1&&(n===-1||r<n)}var{env:ie}=Zo,ys;Ye("no-color")||Ye("no-colors")||Ye("color=false")||Ye("color=never")?ys=0:(Ye("color")||Ye("colors")||Ye("color=true")||Ye("color=always"))&&(ys=1);function uy(){if("FORCE_COLOR"in ie)return ie.FORCE_COLOR==="true"?1:ie.FORCE_COLOR==="false"?0:ie.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(ie.FORCE_COLOR,10),3)}function py(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function fy(e,{streamIsTTY:t,sniffFlags:i=!0}={}){let r=uy();r!==void 0&&(ys=r);let n=i?ys:r;if(n===0)return 0;if(i){if(Ye("color=16m")||Ye("color=full")||Ye("color=truecolor"))return 3;if(Ye("color=256"))return 2}if("TF_BUILD"in ie&&"AGENT_NAME"in ie)return 1;if(e&&!t&&n===void 0)return 0;let s=n||0;if(ie.TERM==="dumb")return s;if(Zo.platform==="win32"){let a=ly.release().split(".");return Number(a[0])>=10&&Number(a[2])>=10586?Number(a[2])>=14931?3:2:1}if("CI"in ie)return"GITHUB_ACTIONS"in ie||"GITEA_ACTIONS"in ie?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(a=>a in ie)||ie.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in ie)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ie.TEAMCITY_VERSION)?1:0;if(ie.COLORTERM==="truecolor"||ie.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in ie){let a=Number.parseInt((ie.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ie.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ie.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ie.TERM)||"COLORTERM"in ie?1:s}function Hp(e,t={}){let i=fy(e,{streamIsTTY:e&&e.isTTY,...t});return py(i)}var dy={stdout:Hp({isTTY:$p.isatty(1)}),stderr:Hp({isTTY:$p.isatty(2)})},Wp=dy;function Gp(e,t,i){let r=e.indexOf(t);if(r===-1)return e;let n=t.length,s=0,a="";do a+=e.slice(s,r)+t+i,s=r+n,r=e.indexOf(t,s);while(r!==-1);return a+=e.slice(s),a}function Vp(e,t,i,r){let n=0,s="";do{let a=e[r-1]==="\r";s+=e.slice(n,a?r-1:r)+t+(a?`\r |
11 |
`:` |
12 |
`)+i,n=r+1,r=e.indexOf(` |
13 |
`,n)}while(r!==-1);return s+=e.slice(n),s}var{stdout:Yp,stderr:Xp}=Wp,Jo=Symbol("GENERATOR"),Qi=Symbol("STYLER"),Qr=Symbol("IS_EMPTY"),Kp=["ansi","ansi","ansi256","ansi16m"],er=Object.create(null),my=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let i=Yp?Yp.level:0;e.level=t.level===void 0?i:t.level};var hy=e=>{let t=(...i)=>i.join(" ");return my(t,e),Object.setPrototypeOf(t,en.prototype),t};function en(e){return hy(e)}Object.setPrototypeOf(en.prototype,Function.prototype);for(let[e,t]of Object.entries(rt))er[e]={get(){let i=ws(this,ec(t.open,t.close,this[Qi]),this[Qr]);return Object.defineProperty(this,e,{value:i}),i}};er.visible={get(){let e=ws(this,this[Qi],!0);return Object.defineProperty(this,"visible",{value:e}),e}};var Qo=(e,t,i,...r)=>e==="rgb"?t==="ansi16m"?rt[i].ansi16m(...r):t==="ansi256"?rt[i].ansi256(rt.rgbToAnsi256(...r)):rt[i].ansi(rt.rgbToAnsi(...r)):e==="hex"?Qo("rgb",t,i,...rt.hexToRgb(...r)):rt[i][e](...r),xy=["rgb","hex","ansi256"];for(let e of xy){er[e]={get(){let{level:i}=this;return function(...r){let n=ec(Qo(e,Kp[i],"color",...r),rt.color.close,this[Qi]);return ws(this,n,this[Qr])}}};let t="bg"+e[0].toUpperCase()+e.slice(1);er[t]={get(){let{level:i}=this;return function(...r){let n=ec(Qo(e,Kp[i],"bgColor",...r),rt.bgColor.close,this[Qi]);return ws(this,n,this[Qr])}}}}var vy=Object.defineProperties(()=>{},{...er,level:{enumerable:!0,get(){return this[Jo].level},set(e){this[Jo].level=e}}}),ec=(e,t,i)=>{let r,n;return i===void 0?(r=e,n=t):(r=i.openAll+e,n=t+i.closeAll),{open:e,close:t,openAll:r,closeAll:n,parent:i}},ws=(e,t,i)=>{let r=(...n)=>by(r,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(r,vy),r[Jo]=e,r[Qi]=t,r[Qr]=i,r},by=(e,t)=>{if(e.level<=0||!t)return e[Qr]?"":t;let i=e[Qi];if(i===void 0)return t;let{openAll:r,closeAll:n}=i;if(t.includes("\x1B"))for(;i!==void 0;)t=Gp(t,i.close,i.open),i=i.parent;let s=t.indexOf(` |
14 |
`);return s!==-1&&(t=Vp(t,n,r,s)),r+t+n};Object.defineProperties(en.prototype,er);var gy=en(),N3=en({level:Xp?Xp.level:0});var be=gy;import{spawn as v3}from"child_process";import{existsSync as Zt}from"fs";import{mkdir as Kg,symlink as b3}from"fs/promises";import gs from"path";import{spawn as Ey}from"child_process";import{existsSync as Zp}from"fs";var tc=class{static noOutput=!1;static setNoOutput(t){this.noOutput=t}static warn(...t){this.noOutput||console.warn(be.bold.yellow("warn ")+be.reset(""),...t)}static error(...t){this.noOutput||console.error(be.bold.red("error ")+be.reset(""),...t)}static fatal(...t){this.error(...t),process.exit(1)}static debug(...t){this.noOutput||process.env.BLAZEW_DEBUG==="1"&&console.debug(be.bold.blue("debug ")+be.reset(""),...t)}static info(...t){this.noOutput||console.info(be.green("info ")+be.reset(""),...t)}},ce=tc;var ic=class{wrapper;constructor(t){this.wrapper=t}},Es=ic;import{existsSync as yy}from"fs";import tn from"path";function Se(e){return tn.resolve(process.cwd(),e)}var kt=Se(".blaze"),nt=tn.join(kt,"node"),_s=tn.join(nt,process.platform==="win32"?"node.exe":"bin/node"),wy=tn.join(kt,"bun"),Ss=(()=>{let e=tn.join(wy,"bin",process.platform==="win32"?"bun.exe":"bun");return yy(e)?e:"bun"})();var rc=class extends Es{findBlazePath(){let t=Se(this.wrapper.properties.get("blaze.srcpath","blazebuild"));if(!Zp(t))throw new Error(`Could not determine where BlazeBuild is installed! Tried path: ${t}`);return t}findEntryPath(){let t=this.findBlazePath(),i=`${t}/src/main/typescript/cli.ts`;if(!Zp(i))throw new Error(`Failed to find entry file for execution in directory: ${t} (Path: ${i})`);return i}async invoke(){let t=this.findEntryPath();ce.debug(`Invoking BlazeBuild: ${t} ${process.argv.slice(2).join(" ")}`);let i=`${process.env.PATH}:${Se("node_modules/.bin")}`,r=Ey(Ss,[t,...process.argv.slice(2)],{stdio:"inherit",env:{...process.env,PATH:i},detached:!1});ce.debug(i);let n=await new Promise(s=>{r.on("exit",a=>{s(a??1)})});n!==0&&process.exit(n)}},Jp=rc;import{readFile as _y}from"fs/promises";var nc=class e{properties;constructor(t){this.properties=t||{}}set(t,i){this.properties[t]=i}get(t,i){return this.properties[t]??i}getAll(){return this.properties}static async fromFile(t){try{let r=(await _y(t,{encoding:"utf8"})).split(` |
15 |
`).reduce((n,s)=>{if(!s?.trim()||s.startsWith("#"))return n;let[a,o]=s.split("=");return n[a.trim()]=o.trim(),n},{});return new e(r)}catch(i){throw new Error("Unable to read and parse properties file. Are you sure this is a BlazeBuild project?",{cause:i})}}},sc=nc;function rn(e,t){return function(){return e.apply(t,arguments)}}var{toString:Sy}=Object.prototype,{getPrototypeOf:cc}=Object,Os=(e=>t=>{let i=Sy.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),st=e=>(e=e.toLowerCase(),t=>Os(t)===e),Ts=e=>t=>typeof t===e,{isArray:tr}=Array,nn=Ts("undefined");function Ry(e){return e!==null&&!nn(e)&&e.constructor!==null&&!nn(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var tf=st("ArrayBuffer");function Oy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tf(e.buffer),t}var Ty=Ts("string"),Xe=Ts("function"),rf=Ts("number"),Cs=e=>e!==null&&typeof e=="object",Cy=e=>e===!0||e===!1,Rs=e=>{if(Os(e)!=="object")return!1;let t=cc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ay=st("Date"),ky=st("File"),Ly=st("Blob"),Ny=st("FileList"),Fy=e=>Cs(e)&&Xe(e.pipe),Dy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xe(e.append)&&((t=Os(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},Iy=st("URLSearchParams"),[By,Py,jy,My]=["ReadableStream","Request","Response","Headers"].map(st),zy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sn(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let r,n;if(typeof e!="object"&&(e=[e]),tr(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{let s=i?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length,o;for(r=0;r<a;r++)o=s[r],t.call(null,e[o],o,e)}}function nf(e,t){t=t.toLowerCase();let i=Object.keys(e),r=i.length,n;for(;r-- >0;)if(n=i[r],t===n.toLowerCase())return n;return null}var sf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,af=e=>!nn(e)&&e!==sf;function oc(){let{caseless:e}=af(this)&&this||{},t={},i=(r,n)=>{let s=e&&nf(t,n)||n;Rs(t[s])&&Rs(r)?t[s]=oc(t[s],r):Rs(r)?t[s]=oc({},r):tr(r)?t[s]=r.slice():t[s]=r};for(let r=0,n=arguments.length;r<n;r++)arguments[r]&&sn(arguments[r],i);return t}var qy=(e,t,i,{allOwnKeys:r}={})=>(sn(t,(n,s)=>{i&&Xe(n)?e[s]=rn(n,i):e[s]=n},{allOwnKeys:r}),e),Uy=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$y=(e,t,i,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Hy=(e,t,i,r)=>{let n,s,a,o={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),s=n.length;s-- >0;)a=n[s],(!r||r(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=i!==!1&&cc(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Wy=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;let r=e.indexOf(t,i);return r!==-1&&r===i},Gy=e=>{if(!e)return null;if(tr(e))return e;let t=e.length;if(!rf(t))return null;let i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Vy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&cc(Uint8Array)),Yy=(e,t)=>{let r=(e&&e[Symbol.iterator]).call(e),n;for(;(n=r.next())&&!n.done;){let s=n.value;t.call(e,s[0],s[1])}},Xy=(e,t)=>{let i,r=[];for(;(i=e.exec(t))!==null;)r.push(i);return r},Ky=st("HTMLFormElement"),Zy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,r,n){return r.toUpperCase()+n}),Qp=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Jy=st("RegExp"),of=(e,t)=>{let i=Object.getOwnPropertyDescriptors(e),r={};sn(i,(n,s)=>{let a;(a=t(n,s,e))!==!1&&(r[s]=a||n)}),Object.defineProperties(e,r)},Qy=e=>{of(e,(t,i)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;let r=e[i];if(Xe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},ew=(e,t)=>{let i={},r=n=>{n.forEach(s=>{i[s]=!0})};return tr(e)?r(e):r(String(e).split(t)),i},tw=()=>{},iw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ac="abcdefghijklmnopqrstuvwxyz",ef="0123456789",cf={DIGIT:ef,ALPHA:ac,ALPHA_DIGIT:ac+ac.toUpperCase()+ef},rw=(e=16,t=cf.ALPHA_DIGIT)=>{let i="",{length:r}=t;for(;e--;)i+=t[Math.random()*r|0];return i};function nw(e){return!!(e&&Xe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}var sw=e=>{let t=new Array(10),i=(r,n)=>{if(Cs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[n]=r;let s=tr(r)?[]:{};return sn(r,(a,o)=>{let c=i(a,n+1);!nn(c)&&(s[o]=c)}),t[n]=void 0,s}}return r};return i(e,0)},aw=st("AsyncFunction"),ow=e=>e&&(Cs(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),m={isArray:tr,isArrayBuffer:tf,isBuffer:Ry,isFormData:Dy,isArrayBufferView:Oy,isString:Ty,isNumber:rf,isBoolean:Cy,isObject:Cs,isPlainObject:Rs,isReadableStream:By,isRequest:Py,isResponse:jy,isHeaders:My,isUndefined:nn,isDate:Ay,isFile:ky,isBlob:Ly,isRegExp:Jy,isFunction:Xe,isStream:Fy,isURLSearchParams:Iy,isTypedArray:Vy,isFileList:Ny,forEach:sn,merge:oc,extend:qy,trim:zy,stripBOM:Uy,inherits:$y,toFlatObject:Hy,kindOf:Os,kindOfTest:st,endsWith:Wy,toArray:Gy,forEachEntry:Yy,matchAll:Xy,isHTMLForm:Ky,hasOwnProperty:Qp,hasOwnProp:Qp,reduceDescriptors:of,freezeMethods:Qy,toObjectSet:ew,toCamelCase:Zy,noop:tw,toFiniteNumber:iw,findKey:nf,global:sf,isContextDefined:af,ALPHABET:cf,generateString:rw,isSpecCompliantForm:nw,toJSONObject:sw,isAsyncFn:aw,isThenable:ow};function ir(e,t,i,r,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),r&&(this.request=r),n&&(this.response=n)}m.inherits(ir,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:m.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var lf=ir.prototype,uf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{uf[e]={value:e}});Object.defineProperties(ir,uf);Object.defineProperty(lf,"isAxiosError",{value:!0});ir.from=(e,t,i,r,n,s)=>{let a=Object.create(lf);return m.toFlatObject(e,a,function(c){return c!==Error.prototype},o=>o!=="isAxiosError"),ir.call(a,e.message,t,i,r,n),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};var _=ir;var Gf=Jr(Wf(),1),Ls=Gf.default;function gc(e){return m.isPlainObject(e)||m.isArray(e)}function Yf(e){return m.endsWith(e,"[]")?e.slice(0,-2):e}function Vf(e,t,i){return e?e.concat(t).map(function(n,s){return n=Yf(n),!i&&s?"["+n+"]":n}).join(i?".":""):t}function Hw(e){return m.isArray(e)&&!e.some(gc)}var Ww=m.toFlatObject(m,{},null,function(t){return/^is[A-Z]/.test(t)});function Gw(e,t,i){if(!m.isObject(e))throw new TypeError("target must be an object");t=t||new(Ls||FormData),i=m.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,x){return!m.isUndefined(x[v])});let r=i.metaTokens,n=i.visitor||l,s=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&m.isSpecCompliantForm(t);if(!m.isFunction(n))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(m.isDate(h))return h.toISOString();if(!c&&m.isBlob(h))throw new _("Blob is not supported. Use a Buffer instead.");return m.isArrayBuffer(h)||m.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,v,x){let g=h;if(h&&!x&&typeof h=="object"){if(m.endsWith(v,"{}"))v=r?v:v.slice(0,-2),h=JSON.stringify(h);else if(m.isArray(h)&&Hw(h)||(m.isFileList(h)||m.endsWith(v,"[]"))&&(g=m.toArray(h)))return v=Yf(v),g.forEach(function(y,D){!(m.isUndefined(y)||y===null)&&t.append(a===!0?Vf([v],D,s):a===null?v:v+"[]",u(y))}),!1}return gc(h)?!0:(t.append(Vf(x,v,s),u(h)),!1)}let p=[],f=Object.assign(Ww,{defaultVisitor:l,convertValue:u,isVisitable:gc});function d(h,v){if(!m.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+v.join("."));p.push(h),m.forEach(h,function(g,w){(!(m.isUndefined(g)||g===null)&&n.call(t,g,m.isString(w)?w.trim():w,v,f))===!0&&d(g,v?v.concat(w):[w])}),p.pop()}}if(!m.isObject(e))throw new TypeError("data must be an object");return d(e),t}var Jt=Gw;function Xf(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Kf(e,t){this._pairs=[],e&&Jt(e,this,t)}var Zf=Kf.prototype;Zf.append=function(t,i){this._pairs.push([t,i])};Zf.toString=function(t){let i=t?function(r){return t.call(this,r,Xf)}:Xf;return this._pairs.map(function(n){return i(n[0])+"="+i(n[1])},"").join("&")};var Jf=Kf;function Vw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ri(e,t,i){if(!t)return e;let r=i&&i.encode||Vw,n=i&&i.serialize,s;if(n?s=n(t,i):s=m.isURLSearchParams(t)?t.toString():new Jf(t,i).toString(r),s){let a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}var yc=class{constructor(){this.handlers=[]}use(t,i,r){return this.handlers.push({fulfilled:t,rejected:i,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){m.forEach(this.handlers,function(r){r!==null&&t(r)})}},wc=yc;var rr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};import Yw from"url";var Qf=Yw.URLSearchParams;var ed={isNode:!0,classes:{URLSearchParams:Qf,FormData:Ls,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]};var _c={};ry(_c,{hasBrowserEnv:()=>Ec,hasStandardBrowserEnv:()=>Xw,hasStandardBrowserWebWorkerEnv:()=>Kw,origin:()=>Zw});var Ec=typeof window<"u"&&typeof document<"u",Xw=(e=>Ec&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Kw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Zw=Ec&&window.location.href||"http://localhost";var ae={..._c,...ed};function Sc(e,t){return Jt(e,new ae.classes.URLSearchParams,Object.assign({visitor:function(i,r,n,s){return ae.isNode&&m.isBuffer(i)?(this.append(r,i.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Jw(e){return m.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qw(e){let t={},i=Object.keys(e),r,n=i.length,s;for(r=0;r<n;r++)s=i[r],t[s]=e[s];return t}function eE(e){function t(i,r,n,s){let a=i[s++];if(a==="__proto__")return!0;let o=Number.isFinite(+a),c=s>=i.length;return a=!a&&m.isArray(n)?n.length:a,c?(m.hasOwnProp(n,a)?n[a]=[n[a],r]:n[a]=r,!o):((!n[a]||!m.isObject(n[a]))&&(n[a]=[]),t(i,r,n[a],s)&&m.isArray(n[a])&&(n[a]=Qw(n[a])),!o)}if(m.isFormData(e)&&m.isFunction(e.entries)){let i={};return m.forEachEntry(e,(r,n)=>{t(Jw(r),n,i,0)}),i}return null}var Ns=eE;function tE(e,t,i){if(m.isString(e))try{return(t||JSON.parse)(e),m.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(i||JSON.stringify)(e)}var Rc={transitional:rr,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){let r=i.getContentType()||"",n=r.indexOf("application/json")>-1,s=m.isObject(t);if(s&&m.isHTMLForm(t)&&(t=new FormData(t)),m.isFormData(t))return n?JSON.stringify(Ns(t)):t;if(m.isArrayBuffer(t)||m.isBuffer(t)||m.isStream(t)||m.isFile(t)||m.isBlob(t)||m.isReadableStream(t))return t;if(m.isArrayBufferView(t))return t.buffer;if(m.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Sc(t,this.formSerializer).toString();if((o=m.isFileList(t))||r.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return Jt(o?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||n?(i.setContentType("application/json",!1),tE(t)):t}],transformResponse:[function(t){let i=this.transitional||Rc.transitional,r=i&&i.forcedJSONParsing,n=this.responseType==="json";if(m.isResponse(t)||m.isReadableStream(t))return t;if(t&&m.isString(t)&&(r&&!this.responseType||n)){let a=!(i&&i.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?_.from(o,_.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ae.classes.FormData,Blob:ae.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch"],e=>{Rc.headers[e]={}});var nr=Rc;var iE=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),td=e=>{let t={},i,r,n;return e&&e.split(` |
16 |
`).forEach(function(a){n=a.indexOf(":"),i=a.substring(0,n).trim().toLowerCase(),r=a.substring(n+1).trim(),!(!i||t[i]&&iE[i])&&(i==="set-cookie"?t[i]?t[i].push(r):t[i]=[r]:t[i]=t[i]?t[i]+", "+r:r)}),t};var id=Symbol("internals");function an(e){return e&&String(e).trim().toLowerCase()}function Fs(e){return e===!1||e==null?e:m.isArray(e)?e.map(Fs):String(e)}function rE(e){let t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=i.exec(e);)t[r[1]]=r[2];return t}var nE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Oc(e,t,i,r,n){if(m.isFunction(r))return r.call(this,t,i);if(n&&(t=i),!!m.isString(t)){if(m.isString(r))return t.indexOf(r)!==-1;if(m.isRegExp(r))return r.test(t)}}function sE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,r)=>i.toUpperCase()+r)}function aE(e,t){let i=m.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+i,{value:function(n,s,a){return this[r].call(this,t,n,s,a)},configurable:!0})})}var sr=class{constructor(t){t&&this.set(t)}set(t,i,r){let n=this;function s(o,c,u){let l=an(c);if(!l)throw new Error("header name must be a non-empty string");let p=m.findKey(n,l);(!p||n[p]===void 0||u===!0||u===void 0&&n[p]!==!1)&&(n[p||c]=Fs(o))}let a=(o,c)=>m.forEach(o,(u,l)=>s(u,l,c));if(m.isPlainObject(t)||t instanceof this.constructor)a(t,i);else if(m.isString(t)&&(t=t.trim())&&!nE(t))a(td(t),i);else if(m.isHeaders(t))for(let[o,c]of t.entries())s(c,o,r);else t!=null&&s(i,t,r);return this}get(t,i){if(t=an(t),t){let r=m.findKey(this,t);if(r){let n=this[r];if(!i)return n;if(i===!0)return rE(n);if(m.isFunction(i))return i.call(this,n,r);if(m.isRegExp(i))return i.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=an(t),t){let r=m.findKey(this,t);return!!(r&&this[r]!==void 0&&(!i||Oc(this,this[r],r,i)))}return!1}delete(t,i){let r=this,n=!1;function s(a){if(a=an(a),a){let o=m.findKey(r,a);o&&(!i||Oc(r,r[o],o,i))&&(delete r[o],n=!0)}}return m.isArray(t)?t.forEach(s):s(t),n}clear(t){let i=Object.keys(this),r=i.length,n=!1;for(;r--;){let s=i[r];(!t||Oc(this,this[s],s,t,!0))&&(delete this[s],n=!0)}return n}normalize(t){let i=this,r={};return m.forEach(this,(n,s)=>{let a=m.findKey(r,s);if(a){i[a]=Fs(n),delete i[s];return}let o=t?sE(s):String(s).trim();o!==s&&delete i[s],i[o]=Fs(n),r[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let i=Object.create(null);return m.forEach(this,(r,n)=>{r!=null&&r!==!1&&(i[n]=t&&m.isArray(r)?r.join(", "):r)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(` |
17 |
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){let r=new this(t);return i.forEach(n=>r.set(n)),r}static accessor(t){let r=(this[id]=this[id]={accessors:{}}).accessors,n=this.prototype;function s(a){let o=an(a);r[o]||(aE(n,a),r[o]=!0)}return m.isArray(t)?t.forEach(s):s(t),this}};sr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);m.reduceDescriptors(sr.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[i]=r}}});m.freezeMethods(sr);var re=sr;function on(e,t){let i=this||nr,r=t||i,n=re.from(r.headers),s=r.data;return m.forEach(e,function(o){s=o.call(i,s,n.normalize(),t?t.status:void 0)}),n.normalize(),s}function cn(e){return!!(e&&e.__CANCEL__)}function rd(e,t,i){_.call(this,e??"canceled",_.ERR_CANCELED,t,i),this.name="CanceledError"}m.inherits(rd,_,{__CANCEL__:!0});var qe=rd;function mt(e,t,i){let r=i.config.validateStatus;!i.status||!r||r(i.status)?e(i):t(new _("Request failed with status code "+i.status,[_.ERR_BAD_REQUEST,_.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Tc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Oi(e,t){return e&&!Tc(t)?Cc(e,t):t}var Fd=Jr(sd(),1),Dd=Jr(Sd(),1);import n1 from"http";import s1 from"https";import a1 from"util";import ti from"zlib";var Ai="1.7.2";function mn(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}var WE=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Wc(e,t,i){let r=i&&i.Blob||ae.classes.Blob,n=mn(e);if(t===void 0&&r&&(t=!0),n==="data"){e=n.length?e.slice(n.length+1):e;let s=WE.exec(e);if(!s)throw new _("Invalid URL",_.ERR_INVALID_URL);let a=s[1],o=s[2],c=s[3],u=Buffer.from(decodeURIComponent(c),o?"base64":"utf8");if(t){if(!r)throw new _("Blob is not supported",_.ERR_NOT_SUPPORT);return new r([u],{type:a})}return u}throw new _("Unsupported protocol "+n,_.ERR_NOT_SUPPORT)}import ur from"stream";import YE from"stream";function GE(e,t){let i=0,r=1e3/t,n=null;return function(){let a=this===!0,o=Date.now();if(a||o-i>r)return n&&(clearTimeout(n),n=null),i=o,e.apply(null,arguments);n||(n=setTimeout(()=>(n=null,i=Date.now(),e.apply(null,arguments)),r-(o-i)))}}var js=GE;function VE(e,t){e=e||10;let i=new Array(e),r=new Array(e),n=0,s=0,a;return t=t!==void 0?t:1e3,function(c){let u=Date.now(),l=r[s];a||(a=u),i[n]=c,r[n]=u;let p=s,f=0;for(;p!==n;)f+=i[p++],p=p%e;if(n=(n+1)%e,n===s&&(s=(s+1)%e),u-a<t)return;let d=l&&u-l;return d?Math.round(f*1e3/d):void 0}}var Ms=VE;var zs=Symbol("internals"),Gc=class extends YE.Transform{constructor(t){t=m.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(o,c)=>!m.isUndefined(c[o])),super({readableHighWaterMark:t.chunkSize});let i=this,r=this[zs]={length:t.length,timeWindow:t.timeWindow,ticksRate:t.ticksRate,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},n=Ms(r.ticksRate*t.samplesCount,r.timeWindow);this.on("newListener",o=>{o==="progress"&&(r.isCaptured||(r.isCaptured=!0))});let s=0;r.updateProgress=js(function(){let c=r.length,u=r.bytesSeen,l=u-s;if(!l||i.destroyed)return;let p=n(l);s=u,process.nextTick(()=>{i.emit("progress",{loaded:u,total:c,progress:c?u/c:void 0,bytes:l,rate:p||void 0,estimated:p&&c&&u<=c?(c-u)/p:void 0,lengthComputable:c!=null})})},r.ticksRate);let a=()=>{r.updateProgress.call(!0)};this.once("end",a),this.once("error",a)}_read(t){let i=this[zs];return i.onReadCallback&&i.onReadCallback(),super._read(t)}_transform(t,i,r){let n=this,s=this[zs],a=s.maxRate,o=this.readableHighWaterMark,c=s.timeWindow,u=1e3/c,l=a/u,p=s.minChunkSize!==!1?Math.max(s.minChunkSize,l*.01):0;function f(h,v){let x=Buffer.byteLength(h);s.bytesSeen+=x,s.bytes+=x,s.isCaptured&&s.updateProgress(),n.push(h)?process.nextTick(v):s.onReadCallback=()=>{s.onReadCallback=null,process.nextTick(v)}}let d=(h,v)=>{let x=Buffer.byteLength(h),g=null,w=o,y,D=0;if(a){let k=Date.now();(!s.ts||(D=k-s.ts)>=c)&&(s.ts=k,y=l-s.bytes,s.bytes=y<0?-y:0,D=0),y=l-s.bytes}if(a){if(y<=0)return setTimeout(()=>{v(null,h)},c-D);y<w&&(w=y)}w&&x>w&&x-w>p&&(g=h.subarray(w),h=h.subarray(0,w)),f(h,g?()=>{process.nextTick(v,null,g)}:v)};d(t,function h(v,x){if(v)return r(v);x?d(x,h):r(null)})}setLength(t){return this[zs].length=+t,this}},Vc=Gc;import{EventEmitter as o1}from"events";import{TextEncoder as KE}from"util";import{Readable as ZE}from"stream";var{asyncIterator:Rd}=Symbol,XE=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Rd]?yield*e[Rd]():yield e},qs=XE;var JE=m.ALPHABET.ALPHA_DIGIT+"-_",hn=new KE,ei=`\r |
18 |
`,QE=hn.encode(ei),e1=2,Yc=class{constructor(t,i){let{escapeName:r}=this.constructor,n=m.isString(i),s=`Content-Disposition: form-data; name="${r(t)}"${!n&&i.name?`; filename="${r(i.name)}"`:""}${ei}`;n?i=hn.encode(String(i).replace(/\r?\n|\r\n?/g,ei)):s+=`Content-Type: ${i.type||"application/octet-stream"}${ei}`,this.headers=hn.encode(s+ei),this.contentLength=n?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+e1,this.name=t,this.value=i}async*encode(){yield this.headers;let{value:t}=this;m.isTypedArray(t)?yield t:yield*qs(t),yield QE}static escapeName(t){return String(t).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}},t1=(e,t,i)=>{let{tag:r="form-data-boundary",size:n=25,boundary:s=r+"-"+m.generateString(n,JE)}=i||{};if(!m.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let a=hn.encode("--"+s+ei),o=hn.encode("--"+s+"--"+ei+ei),c=o.byteLength,u=Array.from(e.entries()).map(([p,f])=>{let d=new Yc(p,f);return c+=d.size,d});c+=a.byteLength*u.length,c=m.toFiniteNumber(c);let l={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),ZE.from(async function*(){for(let p of u)yield a,yield*p.encode();yield o}())},Od=t1;import i1 from"stream";var Xc=class extends i1.Transform{__transform(t,i,r){this.push(t),r()}_transform(t,i,r){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){let n=Buffer.alloc(2);n[0]=120,n[1]=156,this.push(n,i)}this.__transform(t,i,r)}},Td=Xc;var r1=(e,t)=>m.isAsyncFn(e)?function(...i){let r=i.pop();e.apply(this,i).then(n=>{try{t?r(null,...t(n)):r(null,n)}catch(s){r(s)}},r)}:e,Cd=r1;var Ad={flush:ti.constants.Z_SYNC_FLUSH,finishFlush:ti.constants.Z_SYNC_FLUSH},c1={flush:ti.constants.BROTLI_OPERATION_FLUSH,finishFlush:ti.constants.BROTLI_OPERATION_FLUSH},kd=m.isFunction(ti.createBrotliDecompress),{http:l1,https:u1}=Dd.default,p1=/https:?/,Ld=ae.protocols.map(e=>e+":");function f1(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Id(e,t,i){let r=t;if(!r&&r!==!1){let n=(0,Fd.getProxyForUrl)(i);n&&(r=new URL(n))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||"")+":"+(r.auth.password||""));let s=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+s}e.headers.host=e.hostname+(e.port?":"+e.port:"");let n=r.hostname||r.host;e.hostname=n,e.host=n,e.port=r.port,e.path=i,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(s){Id(s,t,s.href)}}var d1=typeof process<"u"&&m.kindOf(process)==="process",m1=e=>new Promise((t,i)=>{let r,n,s=(c,u)=>{n||(n=!0,r&&r(c,u))},a=c=>{s(c),t(c)},o=c=>{s(c,!0),i(c)};e(a,o,c=>r=c).catch(o)}),h1=({address:e,family:t})=>{if(!m.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},Nd=(e,t)=>h1(m.isObject(e)?e:{address:e,family:t}),Bd=d1&&function(t){return m1(async function(r,n,s){let{data:a,lookup:o,family:c}=t,{responseType:u,responseEncoding:l}=t,p=t.method.toUpperCase(),f,d=!1,h;if(o){let E=Cd(o,T=>m.isArray(T)?T:[T]);o=(T,N,q)=>{E(T,N,(Z,_e,Si)=>{if(Z)return q(Z);let Ie=m.isArray(_e)?_e.map(Ae=>Nd(Ae)):[Nd(_e,Si)];N.all?q(Z,Ie):q(Z,Ie[0].address,Ie[0].family)})}}let v=new o1,x=()=>{t.cancelToken&&t.cancelToken.unsubscribe(g),t.signal&&t.signal.removeEventListener("abort",g),v.removeAllListeners()};s((E,T)=>{f=!0,T&&(d=!0,x())});function g(E){v.emit("abort",!E||E.type?new qe(null,t,h):E)}v.once("abort",n),(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(g),t.signal&&(t.signal.aborted?g():t.signal.addEventListener("abort",g)));let w=Oi(t.baseURL,t.url),y=new URL(w,"http://localhost"),D=y.protocol||Ld[0];if(D==="data:"){let E;if(p!=="GET")return mt(r,n,{status:405,statusText:"method not allowed",headers:{},config:t});try{E=Wc(t.url,u==="blob",{Blob:t.env&&t.env.Blob})}catch(T){throw _.from(T,_.ERR_BAD_REQUEST,t)}return u==="text"?(E=E.toString(l),(!l||l==="utf8")&&(E=m.stripBOM(E))):u==="stream"&&(E=ur.Readable.from(E)),mt(r,n,{data:E,status:200,statusText:"OK",headers:new re,config:t})}if(Ld.indexOf(D)===-1)return n(new _("Unsupported protocol "+D,_.ERR_BAD_REQUEST,t));let k=re.from(t.headers).normalize();k.set("User-Agent","axios/"+Ai,!1);let W=t.onDownloadProgress,M=t.onUploadProgress,$=t.maxRate,S,A;if(m.isSpecCompliantForm(a)){let E=k.getContentType(/boundary=([-_\w\d]{10,70})/i);a=Od(a,T=>{k.set(T)},{tag:`axios-${Ai}-boundary`,boundary:E&&E[1]||void 0})}else if(m.isFormData(a)&&m.isFunction(a.getHeaders)){if(k.set(a.getHeaders()),!k.hasContentLength())try{let E=await a1.promisify(a.getLength).call(a);Number.isFinite(E)&&E>=0&&k.setContentLength(E)}catch{}}else if(m.isBlob(a))a.size&&k.setContentType(a.type||"application/octet-stream"),k.setContentLength(a.size||0),a=ur.Readable.from(qs(a));else if(a&&!m.isStream(a)){if(!Buffer.isBuffer(a))if(m.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(m.isString(a))a=Buffer.from(a,"utf-8");else return n(new _("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",_.ERR_BAD_REQUEST,t));if(k.setContentLength(a.length,!1),t.maxBodyLength>-1&&a.length>t.maxBodyLength)return n(new _("Request body larger than maxBodyLength limit",_.ERR_BAD_REQUEST,t))}let L=m.toFiniteNumber(k.getContentLength());m.isArray($)?(S=$[0],A=$[1]):S=A=$,a&&(M||S)&&(m.isStream(a)||(a=ur.Readable.from(a,{objectMode:!1})),a=ur.pipeline([a,new Vc({length:L,maxRate:m.toFiniteNumber(S)})],m.noop),M&&a.on("progress",E=>{M(Object.assign(E,{upload:!0}))}));let z;if(t.auth){let E=t.auth.username||"",T=t.auth.password||"";z=E+":"+T}if(!z&&y.username){let E=y.username,T=y.password;z=E+":"+T}z&&k.delete("authorization");let G;try{G=Ri(y.pathname+y.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(E){let T=new Error(E.message);return T.config=t,T.url=t.url,T.exists=!0,n(T)}k.set("Accept-Encoding","gzip, compress, deflate"+(kd?", br":""),!1);let I={path:G,method:p,headers:k.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:z,protocol:D,family:c,beforeRedirect:f1,beforeRedirects:{}};!m.isUndefined(o)&&(I.lookup=o),t.socketPath?I.socketPath=t.socketPath:(I.hostname=y.hostname,I.port=y.port,Id(I,t.proxy,D+"//"+y.hostname+(y.port?":"+y.port:"")+I.path));let P,j=p1.test(I.protocol);if(I.agent=j?t.httpsAgent:t.httpAgent,t.transport?P=t.transport:t.maxRedirects===0?P=j?s1:n1:(t.maxRedirects&&(I.maxRedirects=t.maxRedirects),t.beforeRedirect&&(I.beforeRedirects.config=t.beforeRedirect),P=j?u1:l1),t.maxBodyLength>-1?I.maxBodyLength=t.maxBodyLength:I.maxBodyLength=1/0,t.insecureHTTPParser&&(I.insecureHTTPParser=t.insecureHTTPParser),h=P.request(I,function(T){if(h.destroyed)return;let N=[T],q=+T.headers["content-length"];if(W){let Ae=new Vc({length:m.toFiniteNumber(q),maxRate:m.toFiniteNumber(A)});W&&Ae.on("progress",At=>{W(Object.assign(At,{download:!0}))}),N.push(Ae)}let Z=T,_e=T.req||h;if(t.decompress!==!1&&T.headers["content-encoding"])switch((p==="HEAD"||T.statusCode===204)&&delete T.headers["content-encoding"],(T.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":N.push(ti.createUnzip(Ad)),delete T.headers["content-encoding"];break;case"deflate":N.push(new Td),N.push(ti.createUnzip(Ad)),delete T.headers["content-encoding"];break;case"br":kd&&(N.push(ti.createBrotliDecompress(c1)),delete T.headers["content-encoding"])}Z=N.length>1?ur.pipeline(N,m.noop):N[0];let Si=ur.finished(Z,()=>{Si(),x()}),Ie={status:T.statusCode,statusText:T.statusMessage,headers:new re(T.headers),config:t,request:_e};if(u==="stream")Ie.data=Z,mt(r,n,Ie);else{let Ae=[],At=0;Z.on("data",function(ke){Ae.push(ke),At+=ke.length,t.maxContentLength>-1&&At>t.maxContentLength&&(d=!0,Z.destroy(),n(new _("maxContentLength size of "+t.maxContentLength+" exceeded",_.ERR_BAD_RESPONSE,t,_e)))}),Z.on("aborted",function(){if(d)return;let ke=new _("maxContentLength size of "+t.maxContentLength+" exceeded",_.ERR_BAD_RESPONSE,t,_e);Z.destroy(ke),n(ke)}),Z.on("error",function(ke){h.destroyed||n(_.from(ke,null,t,_e))}),Z.on("end",function(){try{let ke=Ae.length===1?Ae[0]:Buffer.concat(Ae);u!=="arraybuffer"&&(ke=ke.toString(l),(!l||l==="utf8")&&(ke=m.stripBOM(ke))),Ie.data=ke}catch(ke){return n(_.from(ke,null,t,Ie.request,Ie))}mt(r,n,Ie)})}v.once("abort",Ae=>{Z.destroyed||(Z.emit("error",Ae),Z.destroy())})}),v.once("abort",E=>{n(E),h.destroy(E)}),h.on("error",function(T){n(_.from(T,null,t,h))}),h.on("socket",function(T){T.setKeepAlive(!0,1e3*60)}),t.timeout){let E=parseInt(t.timeout,10);if(Number.isNaN(E)){n(new _("error trying to parse `config.timeout` to int",_.ERR_BAD_OPTION_VALUE,t,h));return}h.setTimeout(E,function(){if(f)return;let N=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",q=t.transitional||rr;t.timeoutErrorMessage&&(N=t.timeoutErrorMessage),n(new _(N,q.clarifyTimeoutError?_.ETIMEDOUT:_.ECONNABORTED,t,h)),g()})}if(m.isStream(a)){let E=!1,T=!1;a.on("end",()=>{E=!0}),a.once("error",N=>{T=!0,h.destroy(N)}),a.on("close",()=>{!E&&!T&&g(new qe("Request stream has been aborted",t,h))}),a.pipe(h)}else h.end(a)})};var pr=(e,t,i=3)=>{let r=0,n=Ms(50,250);return js(s=>{let a=s.loaded,o=s.lengthComputable?s.total:void 0,c=a-r,u=n(c),l=a<=o;r=a;let p={loaded:a,total:o,progress:o?a/o:void 0,bytes:c,rate:u||void 0,estimated:u&&o&&l?(o-a)/u:void 0,event:s,lengthComputable:o!=null};p[t?"download":"upload"]=!0,e(p)},i)};var Pd=ae.hasStandardBrowserEnv?function(){let t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),r;function n(s){let a=s;return t&&(i.setAttribute("href",a),a=i.href),i.setAttribute("href",a),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=n(window.location.href),function(a){let o=m.isString(a)?n(a):a;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}();var jd=ae.hasStandardBrowserEnv?{write(e,t,i,r,n,s){let a=[e+"="+encodeURIComponent(t)];m.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),m.isString(r)&&a.push("path="+r),m.isString(n)&&a.push("domain="+n),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){let t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};var Md=e=>e instanceof re?{...e}:e;function ot(e,t){t=t||{};let i={};function r(u,l,p){return m.isPlainObject(u)&&m.isPlainObject(l)?m.merge.call({caseless:p},u,l):m.isPlainObject(l)?m.merge({},l):m.isArray(l)?l.slice():l}function n(u,l,p){if(m.isUndefined(l)){if(!m.isUndefined(u))return r(void 0,u,p)}else return r(u,l,p)}function s(u,l){if(!m.isUndefined(l))return r(void 0,l)}function a(u,l){if(m.isUndefined(l)){if(!m.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function o(u,l,p){if(p in t)return r(u,l);if(p in e)return r(void 0,u)}let c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(u,l)=>n(Md(u),Md(l),!0)};return m.forEach(Object.keys(Object.assign({},e,t)),function(l){let p=c[l]||n,f=p(e[l],t[l],l);m.isUndefined(f)&&p!==o||(i[l]=f)}),i}var Us=e=>{let t=ot({},e),{data:i,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:s,headers:a,auth:o}=t;t.headers=a=re.from(a),t.url=Ri(Oi(t.baseURL,t.url),e.params,e.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let c;if(m.isFormData(i)){if(ae.hasStandardBrowserEnv||ae.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){let[u,...l]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...l].join("; "))}}if(ae.hasStandardBrowserEnv&&(r&&m.isFunction(r)&&(r=r(t)),r||r!==!1&&Pd(t.url))){let u=n&&s&&jd.read(s);u&&a.set(n,u)}return t};var x1=typeof XMLHttpRequest<"u",zd=x1&&function(e){return new Promise(function(i,r){let n=Us(e),s=n.data,a=re.from(n.headers).normalize(),{responseType:o}=n,c;function u(){n.cancelToken&&n.cancelToken.unsubscribe(c),n.signal&&n.signal.removeEventListener("abort",c)}let l=new XMLHttpRequest;l.open(n.method.toUpperCase(),n.url,!0),l.timeout=n.timeout;function p(){if(!l)return;let d=re.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:d,config:e,request:l};mt(function(g){i(g),u()},function(g){r(g),u()},v),l=null}"onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(r(new _("Request aborted",_.ECONNABORTED,n,l)),l=null)},l.onerror=function(){r(new _("Network Error",_.ERR_NETWORK,n,l)),l=null},l.ontimeout=function(){let h=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",v=n.transitional||rr;n.timeoutErrorMessage&&(h=n.timeoutErrorMessage),r(new _(h,v.clarifyTimeoutError?_.ETIMEDOUT:_.ECONNABORTED,n,l)),l=null},s===void 0&&a.setContentType(null),"setRequestHeader"in l&&m.forEach(a.toJSON(),function(h,v){l.setRequestHeader(v,h)}),m.isUndefined(n.withCredentials)||(l.withCredentials=!!n.withCredentials),o&&o!=="json"&&(l.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&l.addEventListener("progress",pr(n.onDownloadProgress,!0)),typeof n.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",pr(n.onUploadProgress)),(n.cancelToken||n.signal)&&(c=d=>{l&&(r(!d||d.type?new qe(null,e,l):d),l.abort(),l=null)},n.cancelToken&&n.cancelToken.subscribe(c),n.signal&&(n.signal.aborted?c():n.signal.addEventListener("abort",c)));let f=mn(n.url);if(f&&ae.protocols.indexOf(f)===-1){r(new _("Unsupported protocol "+f+":",_.ERR_BAD_REQUEST,e));return}l.send(s||null)})};var v1=(e,t)=>{let i=new AbortController,r,n=function(c){if(!r){r=!0,a();let u=c instanceof Error?c:this.reason;i.abort(u instanceof _?u:new qe(u instanceof Error?u.message:u))}},s=t&&setTimeout(()=>{n(new _(`timeout ${t} of ms exceeded`,_.ETIMEDOUT))},t),a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",n):c.unsubscribe(n))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",n));let{signal:o}=i;return o.unsubscribe=a,[o,()=>{s&&clearTimeout(s),s=null}]},qd=v1;var b1=function*(e,t){let i=e.byteLength;if(!t||i<t){yield e;return}let r=0,n;for(;r<i;)n=r+t,yield e.slice(r,n),r=n},g1=async function*(e,t,i){for await(let r of e)yield*b1(ArrayBuffer.isView(r)?r:await i(String(r)),t)},Kc=(e,t,i,r,n)=>{let s=g1(e,t,n),a=0;return new ReadableStream({type:"bytes",async pull(o){let{done:c,value:u}=await s.next();if(c){o.close(),r();return}let l=u.byteLength;i&&i(a+=l),o.enqueue(new Uint8Array(u))},cancel(o){return r(o),s.return()}},{highWaterMark:2})};var Ud=(e,t)=>{let i=e!=null;return r=>setTimeout(()=>t({lengthComputable:i,total:e,loaded:r}))},Hs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Hd=Hs&&typeof ReadableStream=="function",Zc=Hs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),y1=Hd&&(()=>{let e=!1,t=new Request(ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),$d=64*1024,Jc=Hd&&!!(()=>{try{return m.isReadableStream(new Response("").body)}catch{}})(),$s={stream:Jc&&(e=>e.body)};Hs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!$s[t]&&($s[t]=m.isFunction(e[t])?i=>i[t]():(i,r)=>{throw new _(`Response type '${t}' is not supported`,_.ERR_NOT_SUPPORT,r)})})})(new Response);var w1=async e=>{if(e==null)return 0;if(m.isBlob(e))return e.size;if(m.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(m.isArrayBufferView(e))return e.byteLength;if(m.isURLSearchParams(e)&&(e=e+""),m.isString(e))return(await Zc(e)).byteLength},E1=async(e,t)=>{let i=m.toFiniteNumber(e.getContentLength());return i??w1(t)},Wd=Hs&&(async e=>{let{url:t,method:i,data:r,signal:n,cancelToken:s,timeout:a,onDownloadProgress:o,onUploadProgress:c,responseType:u,headers:l,withCredentials:p="same-origin",fetchOptions:f}=Us(e);u=u?(u+"").toLowerCase():"text";let[d,h]=n||s||a?qd([n,s],a):[],v,x,g=()=>{!v&&setTimeout(()=>{d&&d.unsubscribe()}),v=!0},w;try{if(c&&y1&&i!=="get"&&i!=="head"&&(w=await E1(l,r))!==0){let W=new Request(t,{method:"POST",body:r,duplex:"half"}),M;m.isFormData(r)&&(M=W.headers.get("content-type"))&&l.setContentType(M),W.body&&(r=Kc(W.body,$d,Ud(w,pr(c)),null,Zc))}m.isString(p)||(p=p?"cors":"omit"),x=new Request(t,{...f,signal:d,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",withCredentials:p});let y=await fetch(x),D=Jc&&(u==="stream"||u==="response");if(Jc&&(o||D)){let W={};["status","statusText","headers"].forEach($=>{W[$]=y[$]});let M=m.toFiniteNumber(y.headers.get("content-length"));y=new Response(Kc(y.body,$d,o&&Ud(M,pr(o,!0)),D&&g,Zc),W)}u=u||"text";let k=await $s[m.findKey($s,u)||"text"](y,e);return!D&&g(),h&&h(),await new Promise((W,M)=>{mt(W,M,{data:k,headers:re.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:x})})}catch(y){throw g(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new _("Network Error",_.ERR_NETWORK,e,x),{cause:y.cause||y}):_.from(y,y&&y.code,e,x)}});var Qc={http:Bd,xhr:zd,fetch:Wd};m.forEach(Qc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});var Gd=e=>`- ${e}`,_1=e=>m.isFunction(e)||e===null||e===!1,Ws={getAdapter:e=>{e=m.isArray(e)?e:[e];let{length:t}=e,i,r,n={};for(let s=0;s<t;s++){i=e[s];let a;if(r=i,!_1(i)&&(r=Qc[(a=String(i)).toLowerCase()],r===void 0))throw new _(`Unknown adapter '${a}'`);if(r)break;n[a||"#"+s]=r}if(!r){let s=Object.entries(n).map(([o,c])=>`adapter ${o} `+(c===!1?"is not supported by the environment":"is not available in the build")),a=t?s.length>1?`since : |
19 |
`+s.map(Gd).join(` |
20 |
`):" "+Gd(s[0]):"as no adapter specified";throw new _("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Qc};function el(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qe(null,e)}function Gs(e){return el(e),e.headers=re.from(e.headers),e.data=on.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ws.getAdapter(e.adapter||nr.adapter)(e).then(function(r){return el(e),r.data=on.call(e,e.transformResponse,r),r.headers=re.from(r.headers),r},function(r){return cn(r)||(el(e),r&&r.response&&(r.response.data=on.call(e,e.transformResponse,r.response),r.response.headers=re.from(r.response.headers))),Promise.reject(r)})}var tl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Vd={};tl.transitional=function(t,i,r){function n(s,a){return"[Axios v"+Ai+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,o)=>{if(t===!1)throw new _(n(a," has been removed"+(i?" in "+i:"")),_.ERR_DEPRECATED);return i&&!Vd[a]&&(Vd[a]=!0,console.warn(n(a," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(s,a,o):!0}};function S1(e,t,i){if(typeof e!="object")throw new _("options must be an object",_.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),n=r.length;for(;n-- >0;){let s=r[n],a=t[s];if(a){let o=e[s],c=o===void 0||a(o,s,e);if(c!==!0)throw new _("option "+s+" must be "+c,_.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new _("Unknown option "+s,_.ERR_BAD_OPTION)}}var Vs={assertOptions:S1,validators:tl};var ii=Vs.validators,fr=class{constructor(t){this.defaults=t,this.interceptors={request:new wc,response:new wc}}async request(t,i){try{return await this._request(t,i)}catch(r){if(r instanceof Error){let n;Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error;let s=n.stack?n.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` |
21 |
`+s):r.stack=s}catch{}}throw r}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=ot(this.defaults,i);let{transitional:r,paramsSerializer:n,headers:s}=i;r!==void 0&&Vs.assertOptions(r,{silentJSONParsing:ii.transitional(ii.boolean),forcedJSONParsing:ii.transitional(ii.boolean),clarifyTimeoutError:ii.transitional(ii.boolean)},!1),n!=null&&(m.isFunction(n)?i.paramsSerializer={serialize:n}:Vs.assertOptions(n,{encode:ii.function,serialize:ii.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=s&&m.merge(s.common,s[i.method]);s&&m.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),i.headers=re.concat(a,s);let o=[],c=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(i)===!1||(c=c&&v.synchronous,o.unshift(v.fulfilled,v.rejected))});let u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let l,p=0,f;if(!c){let h=[Gs.bind(this),void 0];for(h.unshift.apply(h,o),h.push.apply(h,u),f=h.length,l=Promise.resolve(i);p<f;)l=l.then(h[p++],h[p++]);return l}f=o.length;let d=i;for(p=0;p<f;){let h=o[p++],v=o[p++];try{d=h(d)}catch(x){v.call(this,x);break}}try{l=Gs.call(this,d)}catch(h){return Promise.reject(h)}for(p=0,f=u.length;p<f;)l=l.then(u[p++],u[p++]);return l}getUri(t){t=ot(this.defaults,t);let i=Oi(t.baseURL,t.url);return Ri(i,t.params,t.paramsSerializer)}};m.forEach(["delete","get","head","options"],function(t){fr.prototype[t]=function(i,r){return this.request(ot(r||{},{method:t,url:i,data:(r||{}).data}))}});m.forEach(["post","put","patch"],function(t){function i(r){return function(s,a,o){return this.request(ot(o||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}fr.prototype[t]=i(),fr.prototype[t+"Form"]=i(!0)});var xn=fr;var il=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(s){i=s});let r=this;this.promise.then(n=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](n);r._listeners=null}),this.promise.then=n=>{let s,a=new Promise(o=>{r.subscribe(o),s=o}).then(n);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,o){r.reason||(r.reason=new qe(s,a,o),i(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}static source(){let t;return{token:new e(function(n){t=n}),cancel:t}}},Yd=il;function rl(e){return function(i){return e.apply(null,i)}}function nl(e){return m.isObject(e)&&e.isAxiosError===!0}var sl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sl).forEach(([e,t])=>{sl[t]=e});var Xd=sl;function Kd(e){let t=new xn(e),i=rn(xn.prototype.request,t);return m.extend(i,xn.prototype,t,{allOwnKeys:!0}),m.extend(i,t,null,{allOwnKeys:!0}),i.create=function(n){return Kd(ot(e,n))},i}var ue=Kd(nr);ue.Axios=xn;ue.CanceledError=qe;ue.CancelToken=Yd;ue.isCancel=cn;ue.VERSION=Ai;ue.toFormData=Jt;ue.AxiosError=_;ue.Cancel=ue.CanceledError;ue.all=function(t){return Promise.all(t)};ue.spread=rl;ue.isAxiosError=nl;ue.mergeConfig=ot;ue.AxiosHeaders=re;ue.formToJSON=e=>Ns(m.isHTMLForm(e)?new FormData(e):e);ue.getAdapter=Ws.getAdapter;ue.HttpStatusCode=Xd;ue.default=ue;var Ys=ue;var{Axios:nN,AxiosError:sN,CanceledError:aN,isCancel:oN,CancelToken:cN,VERSION:lN,all:uN,Cancel:pN,isAxiosError:fN,spread:dN,toFormData:mN,AxiosHeaders:hN,HttpStatusCode:xN,formToJSON:vN,getAdapter:bN,mergeConfig:gN}=Ys;import{exec as d3}from"child_process";function X(e){let t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}var R1=Math.pow(10,8)*24*60*60*1e3,EN=-R1;var vn=43200,al=1440;var O1=3600;var Zd=O1*24,_N=Zd*7,T1=Zd*365.2425,C1=T1/12,SN=C1*3;var A1={};function Jd(){return A1}function ol(e){let t=X(e),i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return i.setUTCFullYear(t.getFullYear()),+e-+i}function dr(e,t){let i=X(e),r=X(t),n=i.getTime()-r.getTime();return n<0?-1:n>0?1:n}function Qd(e,t){let i=X(e),r=X(t),n=i.getFullYear()-r.getFullYear(),s=i.getMonth()-r.getMonth();return n*12+s}function em(e){return t=>{let r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function tm(e,t){return+X(e)-+X(t)}function im(e){let t=X(e);return t.setHours(23,59,59,999),t}function rm(e){let t=X(e),i=t.getMonth();return t.setFullYear(t.getFullYear(),i+1,0),t.setHours(23,59,59,999),t}function nm(e){let t=X(e);return+im(t)==+rm(t)}function sm(e,t){let i=X(e),r=X(t),n=dr(i,r),s=Math.abs(Qd(i,r)),a;if(s<1)a=0;else{i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-n*s);let o=dr(i,r)===-n;nm(X(e))&&s===1&&dr(e,r)===1&&(o=!1),a=n*(s-Number(o))}return a===0?0:a}function am(e,t,i){let r=tm(e,t)/1e3;return em(i?.roundingMethod)(r)}var k1={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},om=(e,t,i)=>{let r,n=k1[e];return typeof n=="string"?r=n:t===1?r=n.one:r=n.other.replace("{{count}}",t.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r};function Xs(e){return(t={})=>{let i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var L1={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N1={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},F1={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},cm={date:Xs({formats:L1,defaultWidth:"full"}),time:Xs({formats:N1,defaultWidth:"full"}),dateTime:Xs({formats:F1,defaultWidth:"full"})};var D1={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},lm=(e,t,i,r)=>D1[e];function mr(e){return(t,i)=>{let r=i?.context?String(i.context):"standalone",n;if(r==="formatting"&&e.formattingValues){let a=e.defaultFormattingWidth||e.defaultWidth,o=i?.width?String(i.width):a;n=e.formattingValues[o]||e.formattingValues[a]}else{let a=e.defaultWidth,o=i?.width?String(i.width):e.defaultWidth;n=e.values[o]||e.values[a]}let s=e.argumentCallback?e.argumentCallback(t):t;return n[s]}}var I1={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},B1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},P1={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},j1={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},M1={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},z1={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},q1=(e,t)=>{let i=Number(e),r=i%100;if(r>20||r<10)switch(r%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},um={ordinalNumber:q1,era:mr({values:I1,defaultWidth:"wide"}),quarter:mr({values:B1,defaultWidth:"wide",argumentCallback:e=>e-1}),month:mr({values:P1,defaultWidth:"wide"}),day:mr({values:j1,defaultWidth:"wide"}),dayPeriod:mr({values:M1,defaultWidth:"wide",formattingValues:z1,defaultFormattingWidth:"wide"})};function hr(e){return(t,i={})=>{let r=i.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(n);if(!s)return null;let a=s[0],o=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(o)?$1(o,p=>p.test(a)):U1(o,p=>p.test(a)),u;u=e.valueCallback?e.valueCallback(c):c,u=i.valueCallback?i.valueCallback(u):u;let l=t.slice(a.length);return{value:u,rest:l}}}function U1(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}function $1(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}function pm(e){return(t,i={})=>{let r=t.match(e.matchPattern);if(!r)return null;let n=r[0],s=t.match(e.parsePattern);if(!s)return null;let a=e.valueCallback?e.valueCallback(s[0]):s[0];a=i.valueCallback?i.valueCallback(a):a;let o=t.slice(n.length);return{value:a,rest:o}}}var H1=/^(\d+)(th|st|nd|rd)?/i,W1=/\d+/i,G1={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},V1={any:[/^b/i,/^(a|c)/i]},Y1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},X1={any:[/1/i,/2/i,/3/i,/4/i]},K1={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Z1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},J1={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Q1={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},e_={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},t_={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fm={ordinalNumber:pm({matchPattern:H1,parsePattern:W1,valueCallback:e=>parseInt(e,10)}),era:hr({matchPatterns:G1,defaultMatchWidth:"wide",parsePatterns:V1,defaultParseWidth:"any"}),quarter:hr({matchPatterns:Y1,defaultMatchWidth:"wide",parsePatterns:X1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:hr({matchPatterns:K1,defaultMatchWidth:"wide",parsePatterns:Z1,defaultParseWidth:"any"}),day:hr({matchPatterns:J1,defaultMatchWidth:"wide",parsePatterns:Q1,defaultParseWidth:"any"}),dayPeriod:hr({matchPatterns:e_,defaultMatchWidth:"any",parsePatterns:t_,defaultParseWidth:"any"})};var cl={code:"en-US",formatDistance:om,formatLong:cm,formatRelative:lm,localize:um,match:fm,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dm(e,t,i){let r=Jd(),n=i?.locale??r.locale??cl,s=2520,a=dr(e,t);if(isNaN(a))throw new RangeError("Invalid time value");let o=Object.assign({},i,{addSuffix:i?.addSuffix,comparison:a}),c,u;a>0?(c=X(t),u=X(e)):(c=X(e),u=X(t));let l=am(u,c),p=(ol(u)-ol(c))/1e3,f=Math.round((l-p)/60),d;if(f<2)return i?.includeSeconds?l<5?n.formatDistance("lessThanXSeconds",5,o):l<10?n.formatDistance("lessThanXSeconds",10,o):l<20?n.formatDistance("lessThanXSeconds",20,o):l<40?n.formatDistance("halfAMinute",0,o):l<60?n.formatDistance("lessThanXMinutes",1,o):n.formatDistance("xMinutes",1,o):f===0?n.formatDistance("lessThanXMinutes",1,o):n.formatDistance("xMinutes",f,o);if(f<45)return n.formatDistance("xMinutes",f,o);if(f<90)return n.formatDistance("aboutXHours",1,o);if(f<al){let h=Math.round(f/60);return n.formatDistance("aboutXHours",h,o)}else{if(f<s)return n.formatDistance("xDays",1,o);if(f<vn){let h=Math.round(f/al);return n.formatDistance("xDays",h,o)}else if(f<vn*2)return d=Math.round(f/vn),n.formatDistance("aboutXMonths",d,o)}if(d=sm(u,c),d<12){let h=Math.round(f/vn);return n.formatDistance("xMonths",h,o)}else{let h=d%12,v=Math.trunc(d/12);return h<3?n.formatDistance("aboutXYears",v,o):h<9?n.formatDistance("overXYears",v,o):n.formatDistance("almostXYears",v+1,o)}}var Yg=Jr(V0(),1),Pp=Jr(jb(),1);import{createWriteStream as m3,existsSync as Ji}from"fs";import{mkdir as h3,rename as x3,rm as Vo}from"fs/promises";import Yo from"path";import A4 from"events";import ze from"fs";import{EventEmitter as Mu}from"node:events";import $b from"node:stream";import{StringDecoder as g4}from"node:string_decoder";var Mb=typeof process=="object"&&process?process:{stdout:null,stderr:null},y4=e=>!!e&&typeof e=="object"&&(e instanceof Me||e instanceof $b||w4(e)||E4(e)),w4=e=>!!e&&typeof e=="object"&&e instanceof Mu&&typeof e.pipe=="function"&&e.pipe!==$b.Writable.prototype.pipe,E4=e=>!!e&&typeof e=="object"&&e instanceof Mu&&typeof e.write=="function"&&typeof e.end=="function",zt=Symbol("EOF"),qt=Symbol("maybeEmitEnd"),ui=Symbol("emittedEnd"),Xa=Symbol("emittingEnd"),Wn=Symbol("emittedError"),Ka=Symbol("closed"),zb=Symbol("read"),Za=Symbol("flush"),qb=Symbol("flushChunk"),lt=Symbol("encoding"),Ir=Symbol("decoder"),he=Symbol("flowing"),Gn=Symbol("paused"),Br=Symbol("resume"),xe=Symbol("buffer"),De=Symbol("pipes"),ve=Symbol("bufferLength"),Fu=Symbol("bufferPush"),Ja=Symbol("bufferShift"),Te=Symbol("objectMode"),le=Symbol("destroyed"),Du=Symbol("error"),Iu=Symbol("emitData"),Ub=Symbol("emitEnd"),Bu=Symbol("emitEnd2"),wt=Symbol("async"),Pu=Symbol("abort"),Qa=Symbol("aborted"),Vn=Symbol("signal"),Pi=Symbol("dataListeners"),We=Symbol("discarded"),Yn=e=>Promise.resolve().then(e),_4=e=>e(),S4=e=>e==="end"||e==="finish"||e==="prefinish",R4=e=>e instanceof ArrayBuffer||!!e&&typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,O4=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),eo=class{src;dest;opts;ondrain;constructor(t,i,r){this.src=t,this.dest=i,this.opts=r,this.ondrain=()=>t[Br](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},ju=class extends eo{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,i,r){super(t,i,r),this.proxyErrors=n=>i.emit("error",n),t.on("error",this.proxyErrors)}},T4=e=>!!e.objectMode,C4=e=>!e.objectMode&&!!e.encoding&&e.encoding!=="buffer",Me=class extends Mu{[he]=!1;[Gn]=!1;[De]=[];[xe]=[];[Te];[lt];[wt];[Ir];[zt]=!1;[ui]=!1;[Xa]=!1;[Ka]=!1;[Wn]=null;[ve]=0;[le]=!1;[Vn];[Qa]=!1;[Pi]=0;[We]=!1;writable=!0;readable=!0;constructor(...t){let i=t[0]||{};if(super(),i.objectMode&&typeof i.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");T4(i)?(this[Te]=!0,this[lt]=null):C4(i)?(this[lt]=i.encoding,this[Te]=!1):(this[Te]=!1,this[lt]=null),this[wt]=!!i.async,this[Ir]=this[lt]?new g4(this[lt]):null,i&&i.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[xe]}),i&&i.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[De]});let{signal:r}=i;r&&(this[Vn]=r,r.aborted?this[Pu]():r.addEventListener("abort",()=>this[Pu]()))}get bufferLength(){return this[ve]}get encoding(){return this[lt]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Te]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[wt]}set async(t){this[wt]=this[wt]||!!t}[Pu](){this[Qa]=!0,this.emit("abort",this[Vn]?.reason),this.destroy(this[Vn]?.reason)}get aborted(){return this[Qa]}set aborted(t){}write(t,i,r){if(this[Qa])return!1;if(this[zt])throw new Error("write after end");if(this[le])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof i=="function"&&(r=i,i="utf8"),i||(i="utf8");let n=this[wt]?Yn:_4;if(!this[Te]&&!Buffer.isBuffer(t)){if(O4(t))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if(R4(t))t=Buffer.from(t);else if(typeof t!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Te]?(this[he]&&this[ve]!==0&&this[Za](!0),this[he]?this.emit("data",t):this[Fu](t),this[ve]!==0&&this.emit("readable"),r&&n(r),this[he]):t.length?(typeof t=="string"&&!(i===this[lt]&&!this[Ir]?.lastNeed)&&(t=Buffer.from(t,i)),Buffer.isBuffer(t)&&this[lt]&&(t=this[Ir].write(t)),this[he]&&this[ve]!==0&&this[Za](!0),this[he]?this.emit("data",t):this[Fu](t),this[ve]!==0&&this.emit("readable"),r&&n(r),this[he]):(this[ve]!==0&&this.emit("readable"),r&&n(r),this[he])}read(t){if(this[le])return null;if(this[We]=!1,this[ve]===0||t===0||t&&t>this[ve])return this[qt](),null;this[Te]&&(t=null),this[xe].length>1&&!this[Te]&&(this[xe]=[this[lt]?this[xe].join(""):Buffer.concat(this[xe],this[ve])]);let i=this[zb](t||null,this[xe][0]);return this[qt](),i}[zb](t,i){if(this[Te])this[Ja]();else{let r=i;t===r.length||t===null?this[Ja]():typeof r=="string"?(this[xe][0]=r.slice(t),i=r.slice(0,t),this[ve]-=t):(this[xe][0]=r.subarray(t),i=r.subarray(0,t),this[ve]-=t)}return this.emit("data",i),!this[xe].length&&!this[zt]&&this.emit("drain"),i}end(t,i,r){return typeof t=="function"&&(r=t,t=void 0),typeof i=="function"&&(r=i,i="utf8"),t!==void 0&&this.write(t,i),r&&this.once("end",r),this[zt]=!0,this.writable=!1,(this[he]||!this[Gn])&&this[qt](),this}[Br](){this[le]||(!this[Pi]&&!this[De].length&&(this[We]=!0),this[Gn]=!1,this[he]=!0,this.emit("resume"),this[xe].length?this[Za]():this[zt]?this[qt]():this.emit("drain"))}resume(){return this[Br]()}pause(){this[he]=!1,this[Gn]=!0,this[We]=!1}get destroyed(){return this[le]}get flowing(){return this[he]}get paused(){return this[Gn]}[Fu](t){this[Te]?this[ve]+=1:this[ve]+=t.length,this[xe].push(t)}[Ja](){return this[Te]?this[ve]-=1:this[ve]-=this[xe][0].length,this[xe].shift()}[Za](t=!1){do;while(this[qb](this[Ja]())&&this[xe].length);!t&&!this[xe].length&&!this[zt]&&this.emit("drain")}[qb](t){return this.emit("data",t),this[he]}pipe(t,i){if(this[le])return t;this[We]=!1;let r=this[ui];return i=i||{},t===Mb.stdout||t===Mb.stderr?i.end=!1:i.end=i.end!==!1,i.proxyErrors=!!i.proxyErrors,r?i.end&&t.end():(this[De].push(i.proxyErrors?new ju(this,t,i):new eo(this,t,i)),this[wt]?Yn(()=>this[Br]()):this[Br]()),t}unpipe(t){let i=this[De].find(r=>r.dest===t);i&&(this[De].length===1?(this[he]&&this[Pi]===0&&(this[he]=!1),this[De]=[]):this[De].splice(this[De].indexOf(i),1),i.unpipe())}addListener(t,i){return this.on(t,i)}on(t,i){let r=super.on(t,i);if(t==="data")this[We]=!1,this[Pi]++,!this[De].length&&!this[he]&&this[Br]();else if(t==="readable"&&this[ve]!==0)super.emit("readable");else if(S4(t)&&this[ui])super.emit(t),this.removeAllListeners(t);else if(t==="error"&&this[Wn]){let n=i;this[wt]?Yn(()=>n.call(this,this[Wn])):n.call(this,this[Wn])}return r}removeListener(t,i){return this.off(t,i)}off(t,i){let r=super.off(t,i);return t==="data"&&(this[Pi]=this.listeners("data").length,this[Pi]===0&&!this[We]&&!this[De].length&&(this[he]=!1)),r}removeAllListeners(t){let i=super.removeAllListeners(t);return(t==="data"||t===void 0)&&(this[Pi]=0,!this[We]&&!this[De].length&&(this[he]=!1)),i}get emittedEnd(){return this[ui]}[qt](){!this[Xa]&&!this[ui]&&!this[le]&&this[xe].length===0&&this[zt]&&(this[Xa]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Ka]&&this.emit("close"),this[Xa]=!1)}emit(t,...i){let r=i[0];if(t!=="error"&&t!=="close"&&t!==le&&this[le])return!1;if(t==="data")return!this[Te]&&!r?!1:this[wt]?(Yn(()=>this[Iu](r)),!0):this[Iu](r);if(t==="end")return this[Ub]();if(t==="close"){if(this[Ka]=!0,!this[ui]&&!this[le])return!1;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[Wn]=r,super.emit(Du,r);let s=!this[Vn]||this.listeners("error").length?super.emit("error",r):!1;return this[qt](),s}else if(t==="resume"){let s=super.emit("resume");return this[qt](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,...i);return this[qt](),n}[Iu](t){for(let r of this[De])r.dest.write(t)===!1&&this.pause();let i=this[We]?!1:super.emit("data",t);return this[qt](),i}[Ub](){return this[ui]?!1:(this[ui]=!0,this.readable=!1,this[wt]?(Yn(()=>this[Bu]()),!0):this[Bu]())}[Bu](){if(this[Ir]){let i=this[Ir].end();if(i){for(let r of this[De])r.dest.write(i);this[We]||super.emit("data",i)}}for(let i of this[De])i.end();let t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){let t=Object.assign([],{dataLength:0});this[Te]||(t.dataLength=0);let i=this.promise();return this.on("data",r=>{t.push(r),this[Te]||(t.dataLength+=r.length)}),await i,t}async concat(){if(this[Te])throw new Error("cannot concat in objectMode");let t=await this.collect();return this[lt]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise((t,i)=>{this.on(le,()=>i(new Error("stream destroyed"))),this.on("error",r=>i(r)),this.on("end",()=>t())})}[Symbol.asyncIterator](){this[We]=!1;let t=!1,i=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return i();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[zt])return i();let s,a,o=p=>{this.off("data",c),this.off("end",u),this.off(le,l),i(),a(p)},c=p=>{this.off("error",o),this.off("end",u),this.off(le,l),this.pause(),s({value:p,done:!!this[zt]})},u=()=>{this.off("error",o),this.off("data",c),this.off(le,l),i(),s({done:!0,value:void 0})},l=()=>o(new Error("stream destroyed"));return new Promise((p,f)=>{a=f,s=p,this.once(le,l),this.once("error",o),this.once("end",u),this.once("data",c)})},throw:i,return:i,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[We]=!1;let t=!1,i=()=>(this.pause(),this.off(Du,i),this.off(le,i),this.off("end",i),t=!0,{done:!0,value:void 0}),r=()=>{if(t)return i();let n=this.read();return n===null?i():{done:!1,value:n}};return this.once("end",i),this.once(Du,i),this.once(le,i),{next:r,throw:i,return:i,[Symbol.iterator](){return this}}}destroy(t){if(this[le])return t?this.emit("error",t):this.emit(le),this;this[le]=!0,this[We]=!0,this[xe].length=0,this[ve]=0;let i=this;return typeof i.close=="function"&&!this[Ka]&&i.close(),t?this.emit("error",t):this.emit(le),this}static get isStream(){return y4}};var k4=ze.writev,fi=Symbol("_autoClose"),pt=Symbol("_close"),Xn=Symbol("_ended"),Y=Symbol("_fd"),zu=Symbol("_finished"),$t=Symbol("_flags"),qu=Symbol("_flush"),Wu=Symbol("_handleChunk"),Gu=Symbol("_makeBuf"),Zn=Symbol("_mode"),to=Symbol("_needDrain"),Mr=Symbol("_onerror"),zr=Symbol("_onopen"),Uu=Symbol("_onread"),Pr=Symbol("_onwrite"),di=Symbol("_open"),ut=Symbol("_path"),pi=Symbol("_pos"),Et=Symbol("_queue"),jr=Symbol("_read"),$u=Symbol("_readSize"),Ut=Symbol("_reading"),Kn=Symbol("_remain"),Hu=Symbol("_size"),io=Symbol("_write"),ji=Symbol("_writing"),ro=Symbol("_defaultFlag"),Mi=Symbol("_errored"),zi=class extends Me{[Mi]=!1;[Y];[ut];[$u];[Ut]=!1;[Hu];[Kn];[fi];constructor(t,i){if(i=i||{},super(i),this.readable=!0,this.writable=!1,typeof t!="string")throw new TypeError("path must be a string");this[Mi]=!1,this[Y]=typeof i.fd=="number"?i.fd:void 0,this[ut]=t,this[$u]=i.readSize||16*1024*1024,this[Ut]=!1,this[Hu]=typeof i.size=="number"?i.size:1/0,this[Kn]=this[Hu],this[fi]=typeof i.autoClose=="boolean"?i.autoClose:!0,typeof this[Y]=="number"?this[jr]():this[di]()}get fd(){return this[Y]}get path(){return this[ut]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[di](){ze.open(this[ut],"r",(t,i)=>this[zr](t,i))}[zr](t,i){t?this[Mr](t):(this[Y]=i,this.emit("open",i),this[jr]())}[Gu](){return Buffer.allocUnsafe(Math.min(this[$u],this[Kn]))}[jr](){if(!this[Ut]){this[Ut]=!0;let t=this[Gu]();if(t.length===0)return process.nextTick(()=>this[Uu](null,0,t));ze.read(this[Y],t,0,t.length,null,(i,r,n)=>this[Uu](i,r,n))}}[Uu](t,i,r){this[Ut]=!1,t?this[Mr](t):this[Wu](i,r)&&this[jr]()}[pt](){if(this[fi]&&typeof this[Y]=="number"){let t=this[Y];this[Y]=void 0,ze.close(t,i=>i?this.emit("error",i):this.emit("close"))}}[Mr](t){this[Ut]=!0,this[pt](),this.emit("error",t)}[Wu](t,i){let r=!1;return this[Kn]-=t,t>0&&(r=super.write(t<i.length?i.subarray(0,t):i)),(t===0||this[Kn]<=0)&&(r=!1,this[pt](),super.end()),r}emit(t,...i){switch(t){case"prefinish":case"finish":return!1;case"drain":return typeof this[Y]=="number"&&this[jr](),!1;case"error":return this[Mi]?!1:(this[Mi]=!0,super.emit(t,...i));default:return super.emit(t,...i)}}},no=class extends zi{[di](){let t=!0;try{this[zr](null,ze.openSync(this[ut],"r")),t=!1}finally{t&&this[pt]()}}[jr](){let t=!0;try{if(!this[Ut]){this[Ut]=!0;do{let i=this[Gu](),r=i.length===0?0:ze.readSync(this[Y],i,0,i.length,null);if(!this[Wu](r,i))break}while(!0);this[Ut]=!1}t=!1}finally{t&&this[pt]()}}[pt](){if(this[fi]&&typeof this[Y]=="number"){let t=this[Y];this[Y]=void 0,ze.closeSync(t),this.emit("close")}}},Ht=class extends A4{readable=!1;writable=!0;[Mi]=!1;[ji]=!1;[Xn]=!1;[Et]=[];[to]=!1;[ut];[Zn];[fi];[Y];[ro];[$t];[zu]=!1;[pi];constructor(t,i){i=i||{},super(i),this[ut]=t,this[Y]=typeof i.fd=="number"?i.fd:void 0,this[Zn]=i.mode===void 0?438:i.mode,this[pi]=typeof i.start=="number"?i.start:void 0,this[fi]=typeof i.autoClose=="boolean"?i.autoClose:!0;let r=this[pi]!==void 0?"r+":"w";this[ro]=i.flags===void 0,this[$t]=i.flags===void 0?r:i.flags,this[Y]===void 0&&this[di]()}emit(t,...i){if(t==="error"){if(this[Mi])return!1;this[Mi]=!0}return super.emit(t,...i)}get fd(){return this[Y]}get path(){return this[ut]}[Mr](t){this[pt](),this[ji]=!0,this.emit("error",t)}[di](){ze.open(this[ut],this[$t],this[Zn],(t,i)=>this[zr](t,i))}[zr](t,i){this[ro]&&this[$t]==="r+"&&t&&t.code==="ENOENT"?(this[$t]="w",this[di]()):t?this[Mr](t):(this[Y]=i,this.emit("open",i),this[ji]||this[qu]())}end(t,i){return t&&this.write(t,i),this[Xn]=!0,!this[ji]&&!this[Et].length&&typeof this[Y]=="number"&&this[Pr](null,0),this}write(t,i){return typeof t=="string"&&(t=Buffer.from(t,i)),this[Xn]?(this.emit("error",new Error("write() after end()")),!1):this[Y]===void 0||this[ji]||this[Et].length?(this[Et].push(t),this[to]=!0,!1):(this[ji]=!0,this[io](t),!0)}[io](t){ze.write(this[Y],t,0,t.length,this[pi],(i,r)=>this[Pr](i,r))}[Pr](t,i){t?this[Mr](t):(this[pi]!==void 0&&typeof i=="number"&&(this[pi]+=i),this[Et].length?this[qu]():(this[ji]=!1,this[Xn]&&!this[zu]?(this[zu]=!0,this[pt](),this.emit("finish")):this[to]&&(this[to]=!1,this.emit("drain"))))}[qu](){if(this[Et].length===0)this[Xn]&&this[Pr](null,0);else if(this[Et].length===1)this[io](this[Et].pop());else{let t=this[Et];this[Et]=[],k4(this[Y],t,this[pi],(i,r)=>this[Pr](i,r))}}[pt](){if(this[fi]&&typeof this[Y]=="number"){let t=this[Y];this[Y]=void 0,ze.close(t,i=>i?this.emit("error",i):this.emit("close"))}}},qr=class extends Ht{[di](){let t;if(this[ro]&&this[$t]==="r+")try{t=ze.openSync(this[ut],this[$t],this[Zn])}catch(i){if(i?.code==="ENOENT")return this[$t]="w",this[di]();throw i}else t=ze.openSync(this[ut],this[$t],this[Zn]);this[zr](null,t)}[pt](){if(this[fi]&&typeof this[Y]=="number"){let t=this[Y];this[Y]=void 0,ze.closeSync(t),this.emit("close")}}[io](t){let i=!0;try{this[Pr](null,ze.writeSync(this[Y],t,0,t.length,this[pi])),i=!1}finally{if(i)try{this[pt]()}catch{}}}};import Eg from"node:path";import Vr from"node:fs";import{dirname as cT,parse as lT}from"path";var L4=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"],["onentry","onReadEntry"]]),Hb=e=>!!e.sync&&!!e.file,Wb=e=>!e.sync&&!!e.file,Gb=e=>!!e.sync&&!e.file,Vb=e=>!e.sync&&!e.file;var Yb=e=>!!e.file;var N4=e=>{let t=L4.get(e);return t||e},Jn=(e={})=>{if(!e)return{};let t={};for(let[i,r]of Object.entries(e)){let n=N4(i);t[n]=r}return t.chmod===void 0&&t.noChmod===!1&&(t.chmod=!0),delete t.noChmod,t};var _t=(e,t,i,r,n)=>Object.assign((s=[],a,o)=>{Array.isArray(s)&&(a=s,s={}),typeof a=="function"&&(o=a,a=void 0),a?a=Array.from(a):a=[];let c=Jn(s);if(n?.(c,a),Hb(c)){if(typeof o=="function")throw new TypeError("callback not supported for sync tar functions");return e(c,a)}else if(Wb(c)){let u=t(c,a),l=o||void 0;return l?u.then(()=>l(),l):u}else if(Gb(c)){if(typeof o=="function")throw new TypeError("callback not supported for sync tar functions");return i(c,a)}else if(Vb(c)){if(typeof o=="function")throw new TypeError("callback only supported with file option");return r(c,a)}else throw new Error("impossible options??")},{syncFile:e,asyncFile:t,syncNoFile:i,asyncNoFile:r,validate:n});import{EventEmitter as sT}from"events";import Xu from"assert";import{Buffer as mi}from"buffer";import I4 from"zlib";import F4 from"zlib";var D4=F4.constants||{ZLIB_VERNUM:4736},Wt=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},D4));var Xb=mi.concat,qi=Symbol("_superWrite"),Ur=class extends Error{code;errno;constructor(t){super("zlib: "+t.message),this.code=t.code,this.errno=t.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+t.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},Yu=Symbol("flushFlag"),so=class extends Me{#e=!1;#i=!1;#r;#s;#n;#t;#a;get sawError(){return this.#e}get handle(){return this.#t}get flushFlag(){return this.#r}constructor(t,i){if(!t||typeof t!="object")throw new TypeError("invalid options for ZlibBase constructor");super(t),this.#r=t.flush??0,this.#s=t.finishFlush??0,this.#n=t.fullFlushFlag??0;try{this.#t=new I4[i](t)}catch(r){throw new Ur(r)}this.#a=r=>{this.#e||(this.#e=!0,this.close(),this.emit("error",r))},this.#t?.on("error",r=>this.#a(new Ur(r))),this.once("end",()=>this.close)}close(){this.#t&&(this.#t.close(),this.#t=void 0,this.emit("close"))}reset(){if(!this.#e)return Xu(this.#t,"zlib binding closed"),this.#t.reset?.()}flush(t){this.ended||(typeof t!="number"&&(t=this.#n),this.write(Object.assign(mi.alloc(0),{[Yu]:t})))}end(t,i,r){return typeof t=="function"&&(r=t,i=void 0,t=void 0),typeof i=="function"&&(r=i,i=void 0),t&&(i?this.write(t,i):this.write(t)),this.flush(this.#s),this.#i=!0,super.end(r)}get ended(){return this.#i}[qi](t){return super.write(t)}write(t,i,r){if(typeof i=="function"&&(r=i,i="utf8"),typeof t=="string"&&(t=mi.from(t,i)),this.#e)return;Xu(this.#t,"zlib binding closed");let n=this.#t._handle,s=n.close;n.close=()=>{};let a=this.#t.close;this.#t.close=()=>{},mi.concat=u=>u;let o;try{let u=typeof t[Yu]=="number"?t[Yu]:this.#r;o=this.#t._processChunk(t,u),mi.concat=Xb}catch(u){mi.concat=Xb,this.#a(new Ur(u))}finally{this.#t&&(this.#t._handle=n,n.close=s,this.#t.close=a,this.#t.removeAllListeners("error"))}this.#t&&this.#t.on("error",u=>this.#a(new Ur(u)));let c;if(o)if(Array.isArray(o)&&o.length>0){let u=o[0];c=this[qi](mi.from(u));for(let l=1;l<o.length;l++)c=this[qi](o[l])}else c=this[qi](mi.from(o));return r&&r(),c}},ao=class extends so{#e;#i;constructor(t,i){t=t||{},t.flush=t.flush||Wt.Z_NO_FLUSH,t.finishFlush=t.finishFlush||Wt.Z_FINISH,t.fullFlushFlag=Wt.Z_FULL_FLUSH,super(t,i),this.#e=t.level,this.#i=t.strategy}params(t,i){if(!this.sawError){if(!this.handle)throw new Error("cannot switch params when binding is closed");if(!this.handle.params)throw new Error("not supported in this implementation");if(this.#e!==t||this.#i!==i){this.flush(Wt.Z_SYNC_FLUSH),Xu(this.handle,"zlib binding closed");let r=this.handle.flush;this.handle.flush=(n,s)=>{typeof n=="function"&&(s=n,n=this.flushFlag),this.flush(n),s?.()};try{this.handle.params(t,i)}finally{this.handle.flush=r}this.handle&&(this.#e=t,this.#i=i)}}}};var oo=class extends ao{#e;constructor(t){super(t,"Gzip"),this.#e=t&&!!t.portable}[qi](t){return this.#e?(this.#e=!1,t[9]=255,super[qi](t)):super[qi](t)}};var co=class extends ao{constructor(t){super(t,"Unzip")}},lo=class extends so{constructor(t,i){t=t||{},t.flush=t.flush||Wt.BROTLI_OPERATION_PROCESS,t.finishFlush=t.finishFlush||Wt.BROTLI_OPERATION_FINISH,t.fullFlushFlag=Wt.BROTLI_OPERATION_FLUSH,super(t,i)}},uo=class extends lo{constructor(t){super(t,"BrotliCompress")}},po=class extends lo{constructor(t){super(t,"BrotliDecompress")}};var $r=class e{tail;head;length=0;static create(t=[]){return new e(t)}constructor(t=[]){for(let i of t)this.push(i)}*[Symbol.iterator](){for(let t=this.head;t;t=t.next)yield t.value}removeNode(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");let i=t.next,r=t.prev;return i&&(i.prev=r),r&&(r.next=i),t===this.head&&(this.head=i),t===this.tail&&(this.tail=r),this.length--,t.next=void 0,t.prev=void 0,t.list=void 0,i}unshiftNode(t){if(t===this.head)return;t.list&&t.list.removeNode(t);let i=this.head;t.list=this,t.next=i,i&&(i.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}pushNode(t){if(t===this.tail)return;t.list&&t.list.removeNode(t);let i=this.tail;t.list=this,t.prev=i,i&&(i.next=t),this.tail=t,this.head||(this.head=t),this.length++}push(...t){for(let i=0,r=t.length;i<r;i++)j4(this,t[i]);return this.length}unshift(...t){for(var i=0,r=t.length;i<r;i++)M4(this,t[i]);return this.length}pop(){if(!this.tail)return;let t=this.tail.value,i=this.tail;return this.tail=this.tail.prev,this.tail?this.tail.next=void 0:this.head=void 0,i.list=void 0,this.length--,t}shift(){if(!this.head)return;let t=this.head.value,i=this.head;return this.head=this.head.next,this.head?this.head.prev=void 0:this.tail=void 0,i.list=void 0,this.length--,t}forEach(t,i){i=i||this;for(let r=this.head,n=0;r;n++)t.call(i,r.value,n,this),r=r.next}forEachReverse(t,i){i=i||this;for(let r=this.tail,n=this.length-1;r;n--)t.call(i,r.value,n,this),r=r.prev}get(t){let i=0,r=this.head;for(;r&&i<t;i++)r=r.next;if(i===t&&r)return r.value}getReverse(t){let i=0,r=this.tail;for(;r&&i<t;i++)r=r.prev;if(i===t&&r)return r.value}map(t,i){i=i||this;let r=new e;for(let n=this.head;n;)r.push(t.call(i,n.value,this)),n=n.next;return r}mapReverse(t,i){i=i||this;var r=new e;for(let n=this.tail;n;)r.push(t.call(i,n.value,this)),n=n.prev;return r}reduce(t,i){let r,n=this.head;if(arguments.length>1)r=i;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;n;s++)r=t(r,n.value,s),n=n.next;return r}reduceReverse(t,i){let r,n=this.tail;if(arguments.length>1)r=i;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(let s=this.length-1;n;s--)r=t(r,n.value,s),n=n.prev;return r}toArray(){let t=new Array(this.length);for(let i=0,r=this.head;r;i++)t[i]=r.value,r=r.next;return t}toArrayReverse(){let t=new Array(this.length);for(let i=0,r=this.tail;r;i++)t[i]=r.value,r=r.prev;return t}slice(t=0,i=this.length){i<0&&(i+=this.length),t<0&&(t+=this.length);let r=new e;if(i<t||i<0)return r;t<0&&(t=0),i>this.length&&(i=this.length);let n=this.head,s=0;for(s=0;n&&s<t;s++)n=n.next;for(;n&&s<i;s++,n=n.next)r.push(n.value);return r}sliceReverse(t=0,i=this.length){i<0&&(i+=this.length),t<0&&(t+=this.length);let r=new e;if(i<t||i<0)return r;t<0&&(t=0),i>this.length&&(i=this.length);let n=this.length,s=this.tail;for(;s&&n>i;n--)s=s.prev;for(;s&&n>t;n--,s=s.prev)r.push(s.value);return r}splice(t,i=0,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);let n=this.head;for(let a=0;n&&a<t;a++)n=n.next;let s=[];for(let a=0;n&&a<i;a++)s.push(n.value),n=this.removeNode(n);n?n!==this.tail&&(n=n.prev):n=this.tail;for(let a of r)n=P4(this,n,a);return s}reverse(){let t=this.head,i=this.tail;for(let r=t;r;r=r.prev){let n=r.prev;r.prev=r.next,r.next=n}return this.head=i,this.tail=t,this}};function P4(e,t,i){let r=t,n=t?t.next:e.head,s=new Qn(i,r,n,e);return s.next===void 0&&(e.tail=s),s.prev===void 0&&(e.head=s),e.length++,s}function j4(e,t){e.tail=new Qn(t,e.tail,void 0,e),e.head||(e.head=e.tail),e.length++}function M4(e,t){e.head=new Qn(t,void 0,e.head,e),e.tail||(e.tail=e.head),e.length++}var Qn=class{list;next;prev;value;constructor(t,i,r,n){this.list=n,this.value=t,i?(i.next=this,this.prev=i):this.prev=void 0,r?(r.prev=this,this.next=r):this.next=void 0}};import{posix as Hr}from"node:path";var Kb=(e,t)=>{if(Number.isSafeInteger(e))e<0?q4(e,t):z4(e,t);else throw Error("cannot encode number outside of javascript safe integer range");return t},z4=(e,t)=>{t[0]=128;for(var i=t.length;i>1;i--)t[i-1]=e&255,e=Math.floor(e/256)},q4=(e,t)=>{t[0]=255;var i=!1;e=e*-1;for(var r=t.length;r>1;r--){var n=e&255;e=Math.floor(e/256),i?t[r-1]=Jb(n):n===0?t[r-1]=0:(i=!0,t[r-1]=Qb(n))}},Zb=e=>{let t=e[0],i=t===128?$4(e.subarray(1,e.length)):t===255?U4(e):null;if(i===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(i))throw Error("parsed number outside of javascript safe integer range");return i},U4=e=>{for(var t=e.length,i=0,r=!1,n=t-1;n>-1;n--){var s=Number(e[n]),a;r?a=Jb(s):s===0?a=s:(r=!0,a=Qb(s)),a!==0&&(i-=a*Math.pow(256,t-n-1))}return i},$4=e=>{for(var t=e.length,i=0,r=t-1;r>-1;r--){var n=Number(e[r]);n!==0&&(i+=n*Math.pow(256,t-r-1))}return i},Jb=e=>(255^e)&255,Qb=e=>(255^e)+1&255;var fo=e=>mo.has(e);var mo=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]),eg=new Map(Array.from(mo).map(e=>[e[1],e[0]]));var Ge=class{cksumValid=!1;needPax=!1;nullBlock=!1;block;path;mode;uid;gid;size;cksum;#e="Unsupported";linkpath;uname;gname;devmaj=0;devmin=0;atime;ctime;mtime;charset;comment;constructor(t,i=0,r,n){Buffer.isBuffer(t)?this.decode(t,i||0,r,n):t&&this.#i(t)}decode(t,i,r,n){if(i||(i=0),!t||!(t.length>=i+512))throw new Error("need 512 bytes for header");this.path=Ui(t,i,100),this.mode=hi(t,i+100,8),this.uid=hi(t,i+108,8),this.gid=hi(t,i+116,8),this.size=hi(t,i+124,12),this.mtime=Ku(t,i+136,12),this.cksum=hi(t,i+148,12),n&&this.#i(n,!0),r&&this.#i(r);let s=Ui(t,i+156,1);if(fo(s)&&(this.#e=s||"0"),this.#e==="0"&&this.path.slice(-1)==="/"&&(this.#e="5"),this.#e==="5"&&(this.size=0),this.linkpath=Ui(t,i+157,100),t.subarray(i+257,i+265).toString()==="ustar\x0000")if(this.uname=Ui(t,i+265,32),this.gname=Ui(t,i+297,32),this.devmaj=hi(t,i+329,8)??0,this.devmin=hi(t,i+337,8)??0,t[i+475]!==0){let o=Ui(t,i+345,155);this.path=o+"/"+this.path}else{let o=Ui(t,i+345,130);o&&(this.path=o+"/"+this.path),this.atime=Ku(t,i+476,12),this.ctime=Ku(t,i+488,12)}let a=8*32;for(let o=i;o<i+148;o++)a+=t[o];for(let o=i+156;o<i+512;o++)a+=t[o];this.cksumValid=a===this.cksum,this.cksum===void 0&&a===8*32&&(this.nullBlock=!0)}#i(t,i=!1){Object.assign(this,Object.fromEntries(Object.entries(t).filter(([r,n])=>!(n==null||r==="path"&&i||r==="linkpath"&&i||r==="global"))))}encode(t,i=0){if(t||(t=this.block=Buffer.alloc(512)),this.#e==="Unsupported"&&(this.#e="0"),!(t.length>=i+512))throw new Error("need 512 bytes for header");let r=this.ctime||this.atime?130:155,n=W4(this.path||"",r),s=n[0],a=n[1];this.needPax=!!n[2],this.needPax=$i(t,i,100,s)||this.needPax,this.needPax=xi(t,i+100,8,this.mode)||this.needPax,this.needPax=xi(t,i+108,8,this.uid)||this.needPax,this.needPax=xi(t,i+116,8,this.gid)||this.needPax,this.needPax=xi(t,i+124,12,this.size)||this.needPax,this.needPax=Zu(t,i+136,12,this.mtime)||this.needPax,t[i+156]=this.#e.charCodeAt(0),this.needPax=$i(t,i+157,100,this.linkpath)||this.needPax,t.write("ustar\x0000",i+257,8),this.needPax=$i(t,i+265,32,this.uname)||this.needPax,this.needPax=$i(t,i+297,32,this.gname)||this.needPax,this.needPax=xi(t,i+329,8,this.devmaj)||this.needPax,this.needPax=xi(t,i+337,8,this.devmin)||this.needPax,this.needPax=$i(t,i+345,r,a)||this.needPax,t[i+475]!==0?this.needPax=$i(t,i+345,155,a)||this.needPax:(this.needPax=$i(t,i+345,130,a)||this.needPax,this.needPax=Zu(t,i+476,12,this.atime)||this.needPax,this.needPax=Zu(t,i+488,12,this.ctime)||this.needPax);let o=8*32;for(let c=i;c<i+148;c++)o+=t[c];for(let c=i+156;c<i+512;c++)o+=t[c];return this.cksum=o,xi(t,i+148,8,this.cksum),this.cksumValid=!0,this.needPax}get type(){return this.#e==="Unsupported"?this.#e:mo.get(this.#e)}get typeKey(){return this.#e}set type(t){let i=String(eg.get(t));if(fo(i)||i==="Unsupported")this.#e=i;else if(fo(t))this.#e=t;else throw new TypeError("invalid entry type: "+t)}},W4=(e,t)=>{let r=e,n="",s,a=Hr.parse(e).root||".";if(Buffer.byteLength(r)<100)s=[r,n,!1];else{n=Hr.dirname(r),r=Hr.basename(r);do Buffer.byteLength(r)<=100&&Buffer.byteLength(n)<=t?s=[r,n,!1]:Buffer.byteLength(r)>100&&Buffer.byteLength(n)<=t?s=[r.slice(0,99),n,!0]:(r=Hr.join(Hr.basename(n),r),n=Hr.dirname(n));while(n!==a&&s===void 0);s||(s=[e.slice(0,99),"",!0])}return s},Ui=(e,t,i)=>e.subarray(t,t+i).toString("utf8").replace(/\0.*/,""),Ku=(e,t,i)=>G4(hi(e,t,i)),G4=e=>e===void 0?void 0:new Date(e*1e3),hi=(e,t,i)=>Number(e[t])&128?Zb(e.subarray(t,t+i)):Y4(e,t,i),V4=e=>isNaN(e)?void 0:e,Y4=(e,t,i)=>V4(parseInt(e.subarray(t,t+i).toString("utf8").replace(/\0.*$/,"").trim(),8)),X4={12:8589934591,8:2097151},xi=(e,t,i,r)=>r===void 0?!1:r>X4[i]||r<0?(Kb(r,e.subarray(t,t+i)),!0):(K4(e,t,i,r),!1),K4=(e,t,i,r)=>e.write(Z4(r,i),t,i,"ascii"),Z4=(e,t)=>J4(Math.floor(e).toString(8),t),J4=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0",Zu=(e,t,i,r)=>r===void 0?!1:xi(e,t,i,r.getTime()/1e3),Q4=new Array(156).join("\0"),$i=(e,t,i,r)=>r===void 0?!1:(e.write(r+Q4,t,i,"utf8"),r.length!==Buffer.byteLength(r)||r.length>i);import{basename as eT}from"node:path";var vi=class e{atime;mtime;ctime;charset;comment;gid;uid;gname;uname;linkpath;dev;ino;nlink;path;size;mode;global;constructor(t,i=!1){this.atime=t.atime,this.charset=t.charset,this.comment=t.comment,this.ctime=t.ctime,this.dev=t.dev,this.gid=t.gid,this.global=i,this.gname=t.gname,this.ino=t.ino,this.linkpath=t.linkpath,this.mtime=t.mtime,this.nlink=t.nlink,this.path=t.path,this.size=t.size,this.uid=t.uid,this.uname=t.uname}encode(){let t=this.encodeBody();if(t==="")return Buffer.allocUnsafe(0);let i=Buffer.byteLength(t),r=512*Math.ceil(1+i/512),n=Buffer.allocUnsafe(r);for(let s=0;s<512;s++)n[s]=0;new Ge({path:("PaxHeader/"+eT(this.path??"")).slice(0,99),mode:this.mode||420,uid:this.uid,gid:this.gid,size:i,mtime:this.mtime,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime,ctime:this.ctime}).encode(n),n.write(t,512,i,"utf8");for(let s=i+512;s<n.length;s++)n[s]=0;return n}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(t){if(this[t]===void 0)return"";let i=this[t],r=i instanceof Date?i.getTime()/1e3:i,n=" "+(t==="dev"||t==="ino"||t==="nlink"?"SCHILY.":"")+t+"="+r+` |
22 |
`,s=Buffer.byteLength(n),a=Math.floor(Math.log(s)/Math.log(10))+1;return s+a>=Math.pow(10,a)&&(a+=1),a+s+n}static parse(t,i,r=!1){return new e(tT(iT(t),i),r)}},tT=(e,t)=>t?Object.assign({},t,e):e,iT=e=>e.replace(/\n$/,"").split(` |
23 |
`).reduce(rT,Object.create(null)),rT=(e,t)=>{let i=parseInt(t,10);if(i!==Buffer.byteLength(t)+1)return e;t=t.slice((i+" ").length);let r=t.split("="),n=r.shift();if(!n)return e;let s=n.replace(/^SCHILY\.(dev|ino|nlink)/,"$1"),a=r.join("=");return e[s]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(s)?new Date(Number(a)*1e3):/^[0-9]+$/.test(a)?+a:a,e};var nT=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,F=nT!=="win32"?e=>e:e=>e&&e.replace(/\\/g,"/");var Wr=class extends Me{extended;globalExtended;header;startBlockSize;blockRemain;remain;type;meta=!1;ignore=!1;path;mode;uid;gid;uname;gname;size=0;mtime;atime;ctime;linkpath;dev;ino;nlink;invalid=!1;absolute;unsupported=!1;constructor(t,i,r){switch(super({}),this.pause(),this.extended=i,this.globalExtended=r,this.header=t,this.remain=t.size??0,this.startBlockSize=512*Math.ceil(this.remain/512),this.blockRemain=this.startBlockSize,this.type=t.type,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}if(!t.path)throw new Error("no path provided for tar.ReadEntry");this.path=F(t.path),this.mode=t.mode,this.mode&&(this.mode=this.mode&4095),this.uid=t.uid,this.gid=t.gid,this.uname=t.uname,this.gname=t.gname,this.size=this.remain,this.mtime=t.mtime,this.atime=t.atime,this.ctime=t.ctime,this.linkpath=t.linkpath?F(t.linkpath):void 0,this.uname=t.uname,this.gname=t.gname,i&&this.#e(i),r&&this.#e(r,!0)}write(t){let i=t.length;if(i>this.blockRemain)throw new Error("writing more to entry than is appropriate");let r=this.remain,n=this.blockRemain;return this.remain=Math.max(0,r-i),this.blockRemain=Math.max(0,n-i),this.ignore?!0:r>=i?super.write(t):super.write(t.subarray(0,r))}#e(t,i=!1){t.path&&(t.path=F(t.path)),t.linkpath&&(t.linkpath=F(t.linkpath)),Object.assign(this,Object.fromEntries(Object.entries(t).filter(([r,n])=>!(n==null||r==="path"&&i))))}};var Hi=(e,t,i,r={})=>{e.file&&(r.file=e.file),e.cwd&&(r.cwd=e.cwd),r.code=i instanceof Error&&i.code||t,r.tarCode=t,!e.strict&&r.recoverable!==!1?(i instanceof Error&&(r=Object.assign(i,r),i=i.message),e.emit("warn",t,i,r)):i instanceof Error?e.emit("error",Object.assign(i,r)):e.emit("error",Object.assign(new Error(`${t}: ${i}`),r))};var aT=1024*1024,Ju=Buffer.from([31,139]),Qe=Symbol("state"),Wi=Symbol("writeEntry"),Gt=Symbol("readEntry"),Qu=Symbol("nextEntry"),ig=Symbol("processEntry"),St=Symbol("extendedHeader"),es=Symbol("globalExtendedHeader"),bi=Symbol("meta"),rg=Symbol("emitMeta"),K=Symbol("buffer"),Vt=Symbol("queue"),gi=Symbol("ended"),ep=Symbol("emittedEnd"),Gi=Symbol("emit"),fe=Symbol("unzip"),ho=Symbol("consumeChunk"),xo=Symbol("consumeChunkSub"),tp=Symbol("consumeBody"),ng=Symbol("consumeMeta"),sg=Symbol("consumeHeader"),ts=Symbol("consuming"),ip=Symbol("bufferConcat"),vo=Symbol("maybeEnd"),Gr=Symbol("writing"),yi=Symbol("aborted"),bo=Symbol("onDone"),Vi=Symbol("sawValidEntry"),go=Symbol("sawNullBlock"),yo=Symbol("sawEOF"),ag=Symbol("closeStream"),oT=()=>!0,Yt=class extends sT{file;strict;maxMetaEntrySize;filter;brotli;writable=!0;readable=!1;[Vt]=new $r;[K];[Gt];[Wi];[Qe]="begin";[bi]="";[St];[es];[gi]=!1;[fe];[yi]=!1;[Vi];[go]=!1;[yo]=!1;[Gr]=!1;[ts]=!1;[ep]=!1;constructor(t={}){super(),this.file=t.file||"",this.on(bo,()=>{(this[Qe]==="begin"||this[Vi]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),t.ondone?this.on(bo,t.ondone):this.on(bo,()=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!t.strict,this.maxMetaEntrySize=t.maxMetaEntrySize||aT,this.filter=typeof t.filter=="function"?t.filter:oT;let i=t.file&&(t.file.endsWith(".tar.br")||t.file.endsWith(".tbr"));this.brotli=!t.gzip&&t.brotli!==void 0?t.brotli:i?void 0:!1,this.on("end",()=>this[ag]()),typeof t.onwarn=="function"&&this.on("warn",t.onwarn),typeof t.onReadEntry=="function"&&this.on("entry",t.onReadEntry)}warn(t,i,r={}){Hi(this,t,i,r)}[sg](t,i){this[Vi]===void 0&&(this[Vi]=!1);let r;try{r=new Ge(t,i,this[St],this[es])}catch(n){return this.warn("TAR_ENTRY_INVALID",n)}if(r.nullBlock)this[go]?(this[yo]=!0,this[Qe]==="begin"&&(this[Qe]="header"),this[Gi]("eof")):(this[go]=!0,this[Gi]("nullBlock"));else if(this[go]=!1,!r.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:r});else if(!r.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:r});else{let n=r.type;if(/^(Symbolic)?Link$/.test(n)&&!r.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:r});else if(!/^(Symbolic)?Link$/.test(n)&&!/^(Global)?ExtendedHeader$/.test(n)&&r.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:r});else{let s=this[Wi]=new Wr(r,this[St],this[es]);if(!this[Vi])if(s.remain){let a=()=>{s.invalid||(this[Vi]=!0)};s.on("end",a)}else this[Vi]=!0;s.meta?s.size>this.maxMetaEntrySize?(s.ignore=!0,this[Gi]("ignoredEntry",s),this[Qe]="ignore",s.resume()):s.size>0&&(this[bi]="",s.on("data",a=>this[bi]+=a),this[Qe]="meta"):(this[St]=void 0,s.ignore=s.ignore||!this.filter(s.path,s),s.ignore?(this[Gi]("ignoredEntry",s),this[Qe]=s.remain?"ignore":"header",s.resume()):(s.remain?this[Qe]="body":(this[Qe]="header",s.end()),this[Gt]?this[Vt].push(s):(this[Vt].push(s),this[Qu]())))}}}[ag](){queueMicrotask(()=>this.emit("close"))}[ig](t){let i=!0;if(!t)this[Gt]=void 0,i=!1;else if(Array.isArray(t)){let[r,...n]=t;this.emit(r,...n)}else this[Gt]=t,this.emit("entry",t),t.emittedEnd||(t.on("end",()=>this[Qu]()),i=!1);return i}[Qu](){do;while(this[ig](this[Vt].shift()));if(!this[Vt].length){let t=this[Gt];!t||t.flowing||t.size===t.remain?this[Gr]||this.emit("drain"):t.once("drain",()=>this.emit("drain"))}}[tp](t,i){let r=this[Wi];if(!r)throw new Error("attempt to consume body without entry??");let n=r.blockRemain??0,s=n>=t.length&&i===0?t:t.subarray(i,i+n);return r.write(s),r.blockRemain||(this[Qe]="header",this[Wi]=void 0,r.end()),s.length}[ng](t,i){let r=this[Wi],n=this[tp](t,i);return!this[Wi]&&r&&this[rg](r),n}[Gi](t,i,r){!this[Vt].length&&!this[Gt]?this.emit(t,i,r):this[Vt].push([t,i,r])}[rg](t){switch(this[Gi]("meta",this[bi]),t.type){case"ExtendedHeader":case"OldExtendedHeader":this[St]=vi.parse(this[bi],this[St],!1);break;case"GlobalExtendedHeader":this[es]=vi.parse(this[bi],this[es],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":{let i=this[St]??Object.create(null);this[St]=i,i.path=this[bi].replace(/\0.*/,"");break}case"NextFileHasLongLinkpath":{let i=this[St]||Object.create(null);this[St]=i,i.linkpath=this[bi].replace(/\0.*/,"");break}default:throw new Error("unknown meta: "+t.type)}}abort(t){this[yi]=!0,this.emit("abort",t),this.warn("TAR_ABORT",t,{recoverable:!1})}write(t,i,r){if(typeof i=="function"&&(r=i,i=void 0),typeof t=="string"&&(t=Buffer.from(t,typeof i=="string"?i:"utf8")),this[yi])return r?.(),!1;if((this[fe]===void 0||this.brotli===void 0&&this[fe]===!1)&&t){if(this[K]&&(t=Buffer.concat([this[K],t]),this[K]=void 0),t.length<Ju.length)return this[K]=t,r?.(),!0;for(let o=0;this[fe]===void 0&&o<Ju.length;o++)t[o]!==Ju[o]&&(this[fe]=!1);let a=this.brotli===void 0;if(this[fe]===!1&&a)if(t.length<512)if(this[gi])this.brotli=!0;else return this[K]=t,r?.(),!0;else try{new Ge(t.subarray(0,512)),this.brotli=!1}catch{this.brotli=!0}if(this[fe]===void 0||this[fe]===!1&&this.brotli){let o=this[gi];this[gi]=!1,this[fe]=this[fe]===void 0?new co({}):new po({}),this[fe].on("data",u=>this[ho](u)),this[fe].on("error",u=>this.abort(u)),this[fe].on("end",()=>{this[gi]=!0,this[ho]()}),this[Gr]=!0;let c=!!this[fe][o?"end":"write"](t);return this[Gr]=!1,r?.(),c}}this[Gr]=!0,this[fe]?this[fe].write(t):this[ho](t),this[Gr]=!1;let s=this[Vt].length?!1:this[Gt]?this[Gt].flowing:!0;return!s&&!this[Vt].length&&this[Gt]?.once("drain",()=>this.emit("drain")),r?.(),s}[ip](t){t&&!this[yi]&&(this[K]=this[K]?Buffer.concat([this[K],t]):t)}[vo](){if(this[gi]&&!this[ep]&&!this[yi]&&!this[ts]){this[ep]=!0;let t=this[Wi];if(t&&t.blockRemain){let i=this[K]?this[K].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${t.blockRemain} more bytes, only ${i} available)`,{entry:t}),this[K]&&t.write(this[K]),t.end()}this[Gi](bo)}}[ho](t){if(this[ts]&&t)this[ip](t);else if(!t&&!this[K])this[vo]();else if(t){if(this[ts]=!0,this[K]){this[ip](t);let i=this[K];this[K]=void 0,this[xo](i)}else this[xo](t);for(;this[K]&&this[K]?.length>=512&&!this[yi]&&!this[yo];){let i=this[K];this[K]=void 0,this[xo](i)}this[ts]=!1}(!this[K]||this[gi])&&this[vo]()}[xo](t){let i=0,r=t.length;for(;i+512<=r&&!this[yi]&&!this[yo];)switch(this[Qe]){case"begin":case"header":this[sg](t,i),i+=512;break;case"ignore":case"body":i+=this[tp](t,i);break;case"meta":i+=this[ng](t,i);break;default:throw new Error("invalid state: "+this[Qe])}i<r&&(this[K]?this[K]=Buffer.concat([t.subarray(i),this[K]]):this[K]=t.subarray(i))}end(t,i,r){return typeof t=="function"&&(r=t,i=void 0,t=void 0),typeof i=="function"&&(r=i,i=void 0),typeof t=="string"&&(t=Buffer.from(t,i)),r&&this.once("finish",r),this[yi]||(this[fe]?(t&&this[fe].write(t),this[fe].end()):(this[gi]=!0,this.brotli===void 0&&(t=t||Buffer.alloc(0)),t&&this.write(t),this[vo]())),this}};var Rt=e=>{let t=e.length-1,i=-1;for(;t>-1&&e.charAt(t)==="/";)i=t,t--;return i===-1?e:e.slice(0,i)};var uT=e=>{let t=e.onReadEntry;e.onReadEntry=t?i=>{t(i),i.resume()}:i=>i.resume()},rp=(e,t)=>{let i=new Map(t.map(s=>[Rt(s),!0])),r=e.filter,n=(s,a="")=>{let o=a||lT(s).root||".",c;if(s===o)c=!1;else{let u=i.get(s);u!==void 0?c=u:c=n(cT(s),o)}return i.set(s,c),c};e.filter=r?(s,a)=>r(s,a)&&n(Rt(s)):s=>n(Rt(s))},pT=e=>{let t=new Yt(e),i=e.file,r;try{let n=Vr.statSync(i),s=e.maxReadSize||16*1024*1024;if(n.size<s)t.end(Vr.readFileSync(i));else{let a=0,o=Buffer.allocUnsafe(s);for(r=Vr.openSync(i,"r");a<n.size;){let c=Vr.readSync(r,o,0,s,a);a+=c,t.write(o.subarray(0,c))}t.end()}}finally{if(typeof r=="number")try{Vr.closeSync(r)}catch{}}},fT=(e,t)=>{let i=new Yt(e),r=e.maxReadSize||16*1024*1024,n=e.file;return new Promise((a,o)=>{i.on("error",o),i.on("end",a),Vr.stat(n,(c,u)=>{if(c)o(c);else{let l=new zi(n,{readSize:r,size:u.size});l.on("error",o),l.pipe(i)}})})},Yi=_t(pT,fT,e=>new Yt(e),e=>new Yt(e),(e,t)=>{t?.length&&rp(e,t),e.noResume||uT(e)});import No from"fs";import Ot from"fs";import ug from"path";var np=(e,t,i)=>(e&=4095,i&&(e=(e|384)&-19),t&&(e&256&&(e|=64),e&32&&(e|=8),e&4&&(e|=1)),e);import{win32 as dT}from"node:path";var{isAbsolute:mT,parse:og}=dT,is=e=>{let t="",i=og(e);for(;mT(e)||i.root;){let r=e.charAt(0)==="/"&&e.slice(0,4)!=="//?/"?"/":i.root;e=e.slice(r.length),t+=r,i=og(e)}return[t,e]};var wo=["|","<",">","?",":"],sp=wo.map(e=>String.fromCharCode(61440+e.charCodeAt(0))),hT=new Map(wo.map((e,t)=>[e,sp[t]])),xT=new Map(sp.map((e,t)=>[e,wo[t]])),ap=e=>wo.reduce((t,i)=>t.split(i).join(hT.get(i)),e),cg=e=>sp.reduce((t,i)=>t.split(i).join(xT.get(i)),e);var hg=(e,t)=>t?(e=F(e).replace(/^\.(\/|$)/,""),Rt(t)+"/"+e):F(e),vT=16*1024*1024,pg=Symbol("process"),fg=Symbol("file"),dg=Symbol("directory"),cp=Symbol("symlink"),mg=Symbol("hardlink"),rs=Symbol("header"),Eo=Symbol("read"),lp=Symbol("lstat"),_o=Symbol("onlstat"),up=Symbol("onread"),pp=Symbol("onreadlink"),fp=Symbol("openfile"),dp=Symbol("onopenfile"),wi=Symbol("close"),So=Symbol("mode"),mp=Symbol("awaitDrain"),op=Symbol("ondrain"),Tt=Symbol("prefix"),ns=class extends Me{path;portable;myuid=process.getuid&&process.getuid()||0;myuser=process.env.USER||"";maxReadSize;linkCache;statCache;preservePaths;cwd;strict;mtime;noPax;noMtime;prefix;fd;blockLen=0;blockRemain=0;buf;pos=0;remain=0;length=0;offset=0;win32;absolute;header;type;linkpath;stat;#e=!1;constructor(t,i={}){let r=Jn(i);super(),this.path=F(t),this.portable=!!r.portable,this.maxReadSize=r.maxReadSize||vT,this.linkCache=r.linkCache||new Map,this.statCache=r.statCache||new Map,this.preservePaths=!!r.preservePaths,this.cwd=F(r.cwd||process.cwd()),this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.mtime=r.mtime,this.prefix=r.prefix?F(r.prefix):void 0,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let n=!1;if(!this.preservePaths){let[a,o]=is(this.path);a&&typeof o=="string"&&(this.path=o,n=a)}this.win32=!!r.win32||process.platform==="win32",this.win32&&(this.path=cg(this.path.replace(/\\/g,"/")),t=t.replace(/\\/g,"/")),this.absolute=F(r.absolute||ug.resolve(this.cwd,t)),this.path===""&&(this.path="./"),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path});let s=this.statCache.get(this.absolute);s?this[_o](s):this[lp]()}warn(t,i,r={}){return Hi(this,t,i,r)}emit(t,...i){return t==="error"&&(this.#e=!0),super.emit(t,...i)}[lp](){Ot.lstat(this.absolute,(t,i)=>{if(t)return this.emit("error",t);this[_o](i)})}[_o](t){this.statCache.set(this.absolute,t),this.stat=t,t.isFile()||(t.size=0),this.type=bT(t),this.emit("stat",t),this[pg]()}[pg](){switch(this.type){case"File":return this[fg]();case"Directory":return this[dg]();case"SymbolicLink":return this[cp]();default:return this.end()}}[So](t){return np(t,this.type==="Directory",this.portable)}[Tt](t){return hg(t,this.prefix)}[rs](){if(!this.stat)throw new Error("cannot write header before stat");this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new Ge({path:this[Tt](this.path),linkpath:this.type==="Link"&&this.linkpath!==void 0?this[Tt](this.linkpath):this.linkpath,mode:this[So](this.stat.mode),uid:this.portable?void 0:this.stat.uid,gid:this.portable?void 0:this.stat.gid,size:this.stat.size,mtime:this.noMtime?void 0:this.mtime||this.stat.mtime,type:this.type==="Unsupported"?void 0:this.type,uname:this.portable?void 0:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?void 0:this.stat.atime,ctime:this.portable?void 0:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new vi({atime:this.portable?void 0:this.header.atime,ctime:this.portable?void 0:this.header.ctime,gid:this.portable?void 0:this.header.gid,mtime:this.noMtime?void 0:this.mtime||this.header.mtime,path:this[Tt](this.path),linkpath:this.type==="Link"&&this.linkpath!==void 0?this[Tt](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?void 0:this.header.uid,uname:this.portable?void 0:this.header.uname,dev:this.portable?void 0:this.stat.dev,ino:this.portable?void 0:this.stat.ino,nlink:this.portable?void 0:this.stat.nlink}).encode());let t=this.header?.block;if(!t)throw new Error("failed to encode header");super.write(t)}[dg](){if(!this.stat)throw new Error("cannot create directory entry without stat");this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[rs](),this.end()}[cp](){Ot.readlink(this.absolute,(t,i)=>{if(t)return this.emit("error",t);this[pp](i)})}[pp](t){this.linkpath=F(t),this[rs](),this.end()}[mg](t){if(!this.stat)throw new Error("cannot create link entry without stat");this.type="Link",this.linkpath=F(ug.relative(this.cwd,t)),this.stat.size=0,this[rs](),this.end()}[fg](){if(!this.stat)throw new Error("cannot create file entry without stat");if(this.stat.nlink>1){let t=`${this.stat.dev}:${this.stat.ino}`,i=this.linkCache.get(t);if(i?.indexOf(this.cwd)===0)return this[mg](i);this.linkCache.set(t,this.absolute)}if(this[rs](),this.stat.size===0)return this.end();this[fp]()}[fp](){Ot.open(this.absolute,"r",(t,i)=>{if(t)return this.emit("error",t);this[dp](i)})}[dp](t){if(this.fd=t,this.#e)return this[wi]();if(!this.stat)throw new Error("should stat before calling onopenfile");this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let i=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(i),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[Eo]()}[Eo](){let{fd:t,buf:i,offset:r,length:n,pos:s}=this;if(t===void 0||i===void 0)throw new Error("cannot read file without first opening");Ot.read(t,i,r,n,s,(a,o)=>{if(a)return this[wi](()=>this.emit("error",a));this[up](o)})}[wi](t=()=>{}){this.fd!==void 0&&Ot.close(this.fd,t)}[up](t){if(t<=0&&this.remain>0){let n=Object.assign(new Error("encountered unexpected EOF"),{path:this.absolute,syscall:"read",code:"EOF"});return this[wi](()=>this.emit("error",n))}if(t>this.remain){let n=Object.assign(new Error("did not encounter expected EOF"),{path:this.absolute,syscall:"read",code:"EOF"});return this[wi](()=>this.emit("error",n))}if(!this.buf)throw new Error("should have created buffer prior to reading");if(t===this.remain)for(let n=t;n<this.length&&t<this.blockRemain;n++)this.buf[n+this.offset]=0,t++,this.remain++;let i=this.offset===0&&t===this.buf.length?this.buf:this.buf.subarray(this.offset,this.offset+t);this.write(i)?this[op]():this[mp](()=>this[op]())}[mp](t){this.once("drain",t)}write(t,i,r){if(typeof i=="function"&&(r=i,i=void 0),typeof t=="string"&&(t=Buffer.from(t,typeof i=="string"?i:"utf8")),this.blockRemain<t.length){let n=Object.assign(new Error("writing more data than expected"),{path:this.absolute});return this.emit("error",n)}return this.remain-=t.length,this.blockRemain-=t.length,this.pos+=t.length,this.offset+=t.length,super.write(t,null,r)}[op](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[wi](t=>t?this.emit("error",t):this.end());if(!this.buf)throw new Error("buffer lost somehow in ONDRAIN");this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[Eo]()}},Ro=class extends ns{sync=!0;[lp](){this[_o](Ot.lstatSync(this.absolute))}[cp](){this[pp](Ot.readlinkSync(this.absolute))}[fp](){this[dp](Ot.openSync(this.absolute,"r"))}[Eo](){let t=!0;try{let{fd:i,buf:r,offset:n,length:s,pos:a}=this;if(i===void 0||r===void 0)throw new Error("fd and buf must be set in READ method");let o=Ot.readSync(i,r,n,s,a);this[up](o),t=!1}finally{if(t)try{this[wi](()=>{})}catch{}}}[mp](t){t()}[wi](t=()=>{}){this.fd!==void 0&&Ot.closeSync(this.fd),t()}},Oo=class extends Me{blockLen=0;blockRemain=0;buf=0;pos=0;remain=0;length=0;preservePaths;portable;strict;noPax;noMtime;readEntry;type;prefix;path;mode;uid;gid;uname;gname;header;mtime;atime;ctime;linkpath;size;warn(t,i,r={}){return Hi(this,t,i,r)}constructor(t,i={}){let r=Jn(i);super(),this.preservePaths=!!r.preservePaths,this.portable=!!r.portable,this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.readEntry=t;let{type:n}=t;if(n==="Unsupported")throw new Error("writing entry that should be ignored");this.type=n,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=r.prefix,this.path=F(t.path),this.mode=t.mode!==void 0?this[So](t.mode):void 0,this.uid=this.portable?void 0:t.uid,this.gid=this.portable?void 0:t.gid,this.uname=this.portable?void 0:t.uname,this.gname=this.portable?void 0:t.gname,this.size=t.size,this.mtime=this.noMtime?void 0:r.mtime||t.mtime,this.atime=this.portable?void 0:t.atime,this.ctime=this.portable?void 0:t.ctime,this.linkpath=t.linkpath!==void 0?F(t.linkpath):void 0,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let s=!1;if(!this.preservePaths){let[o,c]=is(this.path);o&&typeof c=="string"&&(this.path=c,s=o)}this.remain=t.size,this.blockRemain=t.startBlockSize,this.header=new Ge({path:this[Tt](this.path),linkpath:this.type==="Link"&&this.linkpath!==void 0?this[Tt](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?void 0:this.uid,gid:this.portable?void 0:this.gid,size:this.size,mtime:this.noMtime?void 0:this.mtime,type:this.type,uname:this.portable?void 0:this.uname,atime:this.portable?void 0:this.atime,ctime:this.portable?void 0:this.ctime}),s&&this.warn("TAR_ENTRY_INFO",`stripping ${s} from absolute path`,{entry:this,path:s+this.path}),this.header.encode()&&!this.noPax&&super.write(new vi({atime:this.portable?void 0:this.atime,ctime:this.portable?void 0:this.ctime,gid:this.portable?void 0:this.gid,mtime:this.noMtime?void 0:this.mtime,path:this[Tt](this.path),linkpath:this.type==="Link"&&this.linkpath!==void 0?this[Tt](this.linkpath):this.linkpath,size:this.size,uid:this.portable?void 0:this.uid,uname:this.portable?void 0:this.uname,dev:this.portable?void 0:this.readEntry.dev,ino:this.portable?void 0:this.readEntry.ino,nlink:this.portable?void 0:this.readEntry.nlink}).encode());let a=this.header?.block;if(!a)throw new Error("failed to encode header");super.write(a),t.pipe(this)}[Tt](t){return hg(t,this.prefix)}[So](t){return np(t,this.type==="Directory",this.portable)}write(t,i,r){typeof i=="function"&&(r=i,i=void 0),typeof t=="string"&&(t=Buffer.from(t,typeof i=="string"?i:"utf8"));let n=t.length;if(n>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=n,super.write(t,r)}end(t,i,r){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),typeof t=="function"&&(r=t,i=void 0,t=void 0),typeof i=="function"&&(r=i,i=void 0),typeof t=="string"&&(t=Buffer.from(t,i??"utf8")),r&&this.once("finish",r),t?super.end(t,r):super.end(r),this}},bT=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";import yg from"path";var Fo=class{path;absolute;entry;stat;readdir;pending=!1;ignore=!1;piped=!1;constructor(t,i){this.path=t||"./",this.absolute=i}},xg=Buffer.alloc(1024),To=Symbol("onStat"),ss=Symbol("ended"),ft=Symbol("queue"),Yr=Symbol("current"),Xi=Symbol("process"),as=Symbol("processing"),vg=Symbol("processJob"),dt=Symbol("jobs"),hp=Symbol("jobDone"),Co=Symbol("addFSEntry"),bg=Symbol("addTarEntry"),bp=Symbol("stat"),gp=Symbol("readdir"),Ao=Symbol("onreaddir"),ko=Symbol("pipe"),gg=Symbol("entry"),xp=Symbol("entryOpt"),Lo=Symbol("writeEntryClass"),wg=Symbol("write"),vp=Symbol("ondrain"),Ei=class extends Me{opt;cwd;maxReadSize;preservePaths;strict;noPax;prefix;linkCache;statCache;file;portable;zip;readdirCache;noDirRecurse;follow;noMtime;mtime;filter;jobs;[Lo];onWriteEntry;[ft];[dt]=0;[as]=!1;[ss]=!1;constructor(t={}){if(super(),this.opt=t,this.file=t.file||"",this.cwd=t.cwd||process.cwd(),this.maxReadSize=t.maxReadSize,this.preservePaths=!!t.preservePaths,this.strict=!!t.strict,this.noPax=!!t.noPax,this.prefix=F(t.prefix||""),this.linkCache=t.linkCache||new Map,this.statCache=t.statCache||new Map,this.readdirCache=t.readdirCache||new Map,this.onWriteEntry=t.onWriteEntry,this[Lo]=ns,typeof t.onwarn=="function"&&this.on("warn",t.onwarn),this.portable=!!t.portable,t.gzip||t.brotli){if(t.gzip&&t.brotli)throw new TypeError("gzip and brotli are mutually exclusive");if(t.gzip&&(typeof t.gzip!="object"&&(t.gzip={}),this.portable&&(t.gzip.portable=!0),this.zip=new oo(t.gzip)),t.brotli&&(typeof t.brotli!="object"&&(t.brotli={}),this.zip=new uo(t.brotli)),!this.zip)throw new Error("impossible");let i=this.zip;i.on("data",r=>super.write(r)),i.on("end",()=>super.end()),i.on("drain",()=>this[vp]()),this.on("resume",()=>i.resume())}else this.on("drain",this[vp]);this.noDirRecurse=!!t.noDirRecurse,this.follow=!!t.follow,this.noMtime=!!t.noMtime,t.mtime&&(this.mtime=t.mtime),this.filter=typeof t.filter=="function"?t.filter:()=>!0,this[ft]=new $r,this[dt]=0,this.jobs=Number(t.jobs)||4,this[as]=!1,this[ss]=!1}[wg](t){return super.write(t)}add(t){return this.write(t),this}end(t){return t&&this.add(t),this[ss]=!0,this[Xi](),this}write(t){if(this[ss])throw new Error("write after end");return t instanceof Wr?this[bg](t):this[Co](t),this.flowing}[bg](t){let i=F(yg.resolve(this.cwd,t.path));if(!this.filter(t.path,t))t.resume();else{let r=new Fo(t.path,i);r.entry=new Oo(t,this[xp](r)),r.entry.on("end",()=>this[hp](r)),this[dt]+=1,this[ft].push(r)}this[Xi]()}[Co](t){let i=F(yg.resolve(this.cwd,t));this[ft].push(new Fo(t,i)),this[Xi]()}[bp](t){t.pending=!0,this[dt]+=1;let i=this.follow?"stat":"lstat";No[i](t.absolute,(r,n)=>{t.pending=!1,this[dt]-=1,r?this.emit("error",r):this[To](t,n)})}[To](t,i){this.statCache.set(t.absolute,i),t.stat=i,this.filter(t.path,i)||(t.ignore=!0),this[Xi]()}[gp](t){t.pending=!0,this[dt]+=1,No.readdir(t.absolute,(i,r)=>{if(t.pending=!1,this[dt]-=1,i)return this.emit("error",i);this[Ao](t,r)})}[Ao](t,i){this.readdirCache.set(t.absolute,i),t.readdir=i,this[Xi]()}[Xi](){if(!this[as]){this[as]=!0;for(let t=this[ft].head;t&&this[dt]<this.jobs;t=t.next)if(this[vg](t.value),t.value.ignore){let i=t.next;this[ft].removeNode(t),t.next=i}this[as]=!1,this[ss]&&!this[ft].length&&this[dt]===0&&(this.zip?this.zip.end(xg):(super.write(xg),super.end()))}}get[Yr](){return this[ft]&&this[ft].head&&this[ft].head.value}[hp](t){this[ft].shift(),this[dt]-=1,this[Xi]()}[vg](t){if(!t.pending){if(t.entry){t===this[Yr]&&!t.piped&&this[ko](t);return}if(!t.stat){let i=this.statCache.get(t.absolute);i?this[To](t,i):this[bp](t)}if(t.stat&&!t.ignore){if(!this.noDirRecurse&&t.stat.isDirectory()&&!t.readdir){let i=this.readdirCache.get(t.absolute);if(i?this[Ao](t,i):this[gp](t),!t.readdir)return}if(t.entry=this[gg](t),!t.entry){t.ignore=!0;return}t===this[Yr]&&!t.piped&&this[ko](t)}}}[xp](t){return{onwarn:(i,r,n)=>this.warn(i,r,n),noPax:this.noPax,cwd:this.cwd,absolute:t.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[gg](t){this[dt]+=1;try{let i=new this[Lo](t.path,this[xp](t));return this.onWriteEntry?.(i),i.on("end",()=>this[hp](t)).on("error",r=>this.emit("error",r))}catch(i){this.emit("error",i)}}[vp](){this[Yr]&&this[Yr].entry&&this[Yr].entry.resume()}[ko](t){t.piped=!0,t.readdir&&t.readdir.forEach(n=>{let s=t.path,a=s==="./"?"":s.replace(/\/*$/,"/");this[Co](a+n)});let i=t.entry,r=this.zip;if(!i)throw new Error("cannot pipe without source");r?i.on("data",n=>{r.write(n)||i.pause()}):i.on("data",n=>{super.write(n)||i.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}warn(t,i,r={}){Hi(this,t,i,r)}},Ki=class extends Ei{sync=!0;constructor(t){super(t),this[Lo]=Ro}pause(){}resume(){}[bp](t){let i=this.follow?"statSync":"lstatSync";this[To](t,No[i](t.absolute))}[gp](t){this[Ao](t,No.readdirSync(t.absolute))}[ko](t){let i=t.entry,r=this.zip;if(t.readdir&&t.readdir.forEach(n=>{let s=t.path,a=s==="./"?"":s.replace(/\/*$/,"/");this[Co](a+n)}),!i)throw new Error("Cannot pipe without source");r?i.on("data",n=>{r.write(n)}):i.on("data",n=>{super[wg](n)})}};var gT=(e,t)=>{let i=new Ki(e),r=new qr(e.file,{mode:e.mode||438});i.pipe(r),_g(i,t)},yT=(e,t)=>{let i=new Ei(e),r=new Ht(e.file,{mode:e.mode||438});i.pipe(r);let n=new Promise((s,a)=>{r.on("error",a),r.on("close",s),i.on("error",a)});return Sg(i,t),n},_g=(e,t)=>{t.forEach(i=>{i.charAt(0)==="@"?Yi({file:Eg.resolve(e.cwd,i.slice(1)),sync:!0,noResume:!0,onReadEntry:r=>e.add(r)}):e.add(i)}),e.end()},Sg=async(e,t)=>{for(let i=0;i<t.length;i++){let r=String(t[i]);r.charAt(0)==="@"?await Yi({file:Eg.resolve(String(e.cwd),r.slice(1)),noResume:!0,onReadEntry:n=>{e.add(n)}}):e.add(r)}e.end()},wT=(e,t)=>{let i=new Ki(e);return _g(i,t),i},ET=(e,t)=>{let i=new Ei(e);return Sg(i,t),i},_T=_t(gT,yT,wT,ET,(e,t)=>{if(!t?.length)throw new TypeError("no paths specified to add to archive")});import Gg from"node:fs";import KT from"node:assert";import{randomBytes as Wg}from"node:crypto";import H from"node:fs";import Kt from"node:path";import Rg from"fs";var ST=process.env.__FAKE_PLATFORM__||process.platform,RT=ST==="win32",{O_CREAT:OT,O_TRUNC:TT,O_WRONLY:CT}=Rg.constants,Og=Number(process.env.__FAKE_FS_O_FILENAME__)||Rg.constants.UV_FS_O_FILEMAP||0,AT=RT&&!!Og,kT=512*1024,LT=Og|TT|OT|CT,yp=AT?e=>e<kT?LT:"w":()=>"w";import Io from"node:fs";import os from"node:path";var wp=(e,t,i)=>{try{return Io.lchownSync(e,t,i)}catch(r){if(r?.code!=="ENOENT")throw r}},Do=(e,t,i,r)=>{Io.lchown(e,t,i,n=>{r(n&&n?.code!=="ENOENT"?n:null)})},NT=(e,t,i,r,n)=>{if(t.isDirectory())Ep(os.resolve(e,t.name),i,r,s=>{if(s)return n(s);let a=os.resolve(e,t.name);Do(a,i,r,n)});else{let s=os.resolve(e,t.name);Do(s,i,r,n)}},Ep=(e,t,i,r)=>{Io.readdir(e,{withFileTypes:!0},(n,s)=>{if(n){if(n.code==="ENOENT")return r();if(n.code!=="ENOTDIR"&&n.code!=="ENOTSUP")return r(n)}if(n||!s.length)return Do(e,t,i,r);let a=s.length,o=null,c=u=>{if(!o){if(u)return r(o=u);if(--a===0)return Do(e,t,i,r)}};for(let u of s)NT(e,u,t,i,c)})},FT=(e,t,i,r)=>{t.isDirectory()&&_p(os.resolve(e,t.name),i,r),wp(os.resolve(e,t.name),i,r)},_p=(e,t,i)=>{let r;try{r=Io.readdirSync(e,{withFileTypes:!0})}catch(n){let s=n;if(s?.code==="ENOENT")return;if(s?.code==="ENOTDIR"||s?.code==="ENOTSUP")return wp(e,t,i);throw s}for(let n of r)FT(e,n,t,i);return wp(e,t,i)};import tt from"fs";import{dirname as Tg}from"path";import{mkdir as DT,mkdirSync as IT,stat as BT,statSync as PT}from"fs";var et=e=>{if(!e)e={mode:511};else if(typeof e=="object")e={mode:511,...e};else if(typeof e=="number")e={mode:e};else if(typeof e=="string")e={mode:parseInt(e,8)};else throw new TypeError("invalid options argument");let t=e,i=e.fs||{};return e.mkdir=e.mkdir||i.mkdir||DT,e.mkdirAsync=e.mkdirAsync?e.mkdirAsync:async(r,n)=>new Promise((s,a)=>t.mkdir(r,n,(o,c)=>o?a(o):s(c))),e.stat=e.stat||i.stat||BT,e.statAsync=e.statAsync?e.statAsync:async r=>new Promise((n,s)=>t.stat(r,(a,o)=>a?s(a):n(o))),e.statSync=e.statSync||i.statSync||PT,e.mkdirSync=e.mkdirSync||i.mkdirSync||IT,t};var Ct=(e,t,i)=>{let r=Tg(e),n={...et(t),recursive:!1};if(r===e)try{return n.mkdirSync(e,n)}catch(s){let a=s;if(a&&a.code!=="EISDIR")throw s;return}try{return n.mkdirSync(e,n),i||e}catch(s){let a=s;if(a&&a.code==="ENOENT")return Ct(e,n,Ct(r,n,i));if(a&&a.code!=="EEXIST"&&a&&a.code!=="EROFS")throw s;try{if(!n.statSync(e).isDirectory())throw s}catch{throw s}}},Xt=Object.assign(async(e,t,i)=>{let r=et(t);r.recursive=!1;let n=Tg(e);return n===e?r.mkdirAsync(e,r).catch(s=>{let a=s;if(a&&a.code!=="EISDIR")throw s}):r.mkdirAsync(e,r).then(()=>i||e,async s=>{let a=s;if(a&&a.code==="ENOENT")return Xt(n,r).then(o=>Xt(e,r,o));if(a&&a.code!=="EEXIST"&&a.code!=="EROFS")throw s;return r.statAsync(e).then(o=>{if(o.isDirectory())return i;throw s},()=>{throw s})})},{sync:Ct});import{dirname as Ag}from"path";import{dirname as Cg}from"path";var Sp=async(e,t,i)=>{if(i!==t)return e.statAsync(t).then(r=>r.isDirectory()?i:void 0,r=>{let n=r;return n&&n.code==="ENOENT"?Sp(e,Cg(t),t):void 0})},Rp=(e,t,i)=>{if(i!==t)try{return e.statSync(t).isDirectory()?i:void 0}catch(r){let n=r;return n&&n.code==="ENOENT"?Rp(e,Cg(t),t):void 0}};var Xr=(e,t)=>{let i=et(t);if(i.recursive=!0,Ag(e)===e)return i.mkdirSync(e,i);let n=Rp(i,e);try{return i.mkdirSync(e,i),n}catch(s){let a=s;if(a&&a.code==="ENOENT")return Ct(e,i);throw s}},cs=Object.assign(async(e,t)=>{let i={...et(t),recursive:!0};return Ag(e)===e?await i.mkdirAsync(e,i):Sp(i,e).then(n=>i.mkdirAsync(e,i).then(s=>n||s).catch(s=>{let a=s;if(a&&a.code==="ENOENT")return Xt(e,i);throw s}))},{sync:Xr});import{parse as MT,resolve as zT}from"path";var jT=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,Op=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=zT(e),jT==="win32"){let t=/[*|"<>?:]/,{root:i}=MT(e);if(t.test(e.substring(i.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e};import{mkdir as qT,mkdirSync as UT}from"fs";var $T=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Tp=$T.replace(/^v/,"").split("."),kg=+Tp[0]>10||+Tp[0]==10&&+Tp[1]>=12,ls=kg?e=>et(e).mkdirSync===UT:()=>!1,Bo=Object.assign(kg?e=>et(e).mkdir===qT:()=>!1,{sync:ls});var Po=(e,t)=>{e=Op(e);let i=et(t);return ls(i)?Xr(e,i):Ct(e,i)};var Lg=Object.assign(async(e,t)=>{e=Op(e);let i=et(t);return Bo(i)?cs(e,i):Xt(e,i)},{mkdirpSync:Po,mkdirpNative:cs,mkdirpNativeSync:Xr,mkdirpManual:Xt,mkdirpManualSync:Ct,sync:Po,native:cs,nativeSync:Xr,manual:Xt,manualSync:Ct,useNative:Bo,useNativeSync:ls});import jo from"node:path";var us=class extends Error{path;code;syscall="chdir";constructor(t,i){super(`${i}: Cannot cd into '${t}'`),this.path=t,this.code=i}get name(){return"CwdError"}};var ps=class extends Error{path;symlink;syscall="symlink";code="TAR_SYMLINK_ERROR";constructor(t,i){super("TAR_SYMLINK_ERROR: Cannot extract through symbolic link"),this.symlink=t,this.path=i}get name(){return"SymlinkError"}};var Mo=(e,t)=>e.get(F(t)),fs=(e,t,i)=>e.set(F(t),i),HT=(e,t)=>{tt.stat(e,(i,r)=>{(i||!r.isDirectory())&&(i=new us(e,i?.code||"ENOTDIR")),t(i)})},Ng=(e,t,i)=>{e=F(e);let r=t.umask??18,n=t.mode|448,s=(n&r)!==0,a=t.uid,o=t.gid,c=typeof a=="number"&&typeof o=="number"&&(a!==t.processUid||o!==t.processGid),u=t.preserve,l=t.unlink,p=t.cache,f=F(t.cwd),d=(x,g)=>{x?i(x):(fs(p,e,!0),g&&c?Ep(g,a,o,w=>d(w)):s?tt.chmod(e,n,i):i())};if(p&&Mo(p,e)===!0)return d();if(e===f)return HT(e,d);if(u)return Lg(e,{mode:n}).then(x=>d(null,x??void 0),d);let v=F(jo.relative(f,e)).split("/");zo(f,v,n,p,l,f,void 0,d)},zo=(e,t,i,r,n,s,a,o)=>{if(!t.length)return o(null,a);let c=t.shift(),u=F(jo.resolve(e+"/"+c));if(Mo(r,u))return zo(u,t,i,r,n,s,a,o);tt.mkdir(u,i,Fg(u,t,i,r,n,s,a,o))},Fg=(e,t,i,r,n,s,a,o)=>c=>{c?tt.lstat(e,(u,l)=>{if(u)u.path=u.path&&F(u.path),o(u);else if(l.isDirectory())zo(e,t,i,r,n,s,a,o);else if(n)tt.unlink(e,p=>{if(p)return o(p);tt.mkdir(e,i,Fg(e,t,i,r,n,s,a,o))});else{if(l.isSymbolicLink())return o(new ps(e,e+"/"+t.join("/")));o(c)}}):(a=a||e,zo(e,t,i,r,n,s,a,o))},WT=e=>{let t=!1,i;try{t=tt.statSync(e).isDirectory()}catch(r){i=r?.code}finally{if(!t)throw new us(e,i??"ENOTDIR")}},Dg=(e,t)=>{e=F(e);let i=t.umask??18,r=t.mode|448,n=(r&i)!==0,s=t.uid,a=t.gid,o=typeof s=="number"&&typeof a=="number"&&(s!==t.processUid||a!==t.processGid),c=t.preserve,u=t.unlink,l=t.cache,p=F(t.cwd),f=x=>{fs(l,e,!0),x&&o&&_p(x,s,a),n&&tt.chmodSync(e,r)};if(l&&Mo(l,e)===!0)return f();if(e===p)return WT(p),f();if(c)return f(Po(e,r)??void 0);let h=F(jo.relative(p,e)).split("/"),v;for(let x=h.shift(),g=p;x&&(g+="/"+x);x=h.shift())if(g=F(jo.resolve(g)),!Mo(l,g))try{tt.mkdirSync(g,r),v=v||g,fs(l,g,!0)}catch{let y=tt.lstatSync(g);if(y.isDirectory()){fs(l,g,!0);continue}else if(u){tt.unlinkSync(g),tt.mkdirSync(g,r),v=v||g,fs(l,g,!0);continue}else if(y.isSymbolicLink())return new ps(g,g+"/"+h.join("/"))}return f(v)};var Cp=Object.create(null),{hasOwnProperty:GT}=Object.prototype,qo=e=>(GT.call(Cp,e)||(Cp[e]=e.normalize("NFD")),Cp[e]);import{join as Ig}from"node:path";var VT=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,YT=VT==="win32",XT=e=>e.split("/").slice(0,-1).reduce((i,r)=>{let n=i[i.length-1];return n!==void 0&&(r=Ig(n,r)),i.push(r||"/"),i},[]),Uo=class{#e=new Map;#i=new Map;#r=new Set;reserve(t,i){t=YT?["win32 parallelization disabled"]:t.map(n=>Rt(Ig(qo(n))).toLowerCase());let r=new Set(t.map(n=>XT(n)).reduce((n,s)=>n.concat(s)));this.#i.set(i,{dirs:r,paths:t});for(let n of t){let s=this.#e.get(n);s?s.push(i):this.#e.set(n,[i])}for(let n of r){let s=this.#e.get(n);if(!s)this.#e.set(n,[new Set([i])]);else{let a=s[s.length-1];a instanceof Set?a.add(i):s.push(new Set([i]))}}return this.#n(i)}#s(t){let i=this.#i.get(t);if(!i)throw new Error("function does not have any path reservations");return{paths:i.paths.map(r=>this.#e.get(r)),dirs:[...i.dirs].map(r=>this.#e.get(r))}}check(t){let{paths:i,dirs:r}=this.#s(t);return i.every(n=>n&&n[0]===t)&&r.every(n=>n&&n[0]instanceof Set&&n[0].has(t))}#n(t){return this.#r.has(t)||!this.check(t)?!1:(this.#r.add(t),t(()=>this.#t(t)),!0)}#t(t){if(!this.#r.has(t))return!1;let i=this.#i.get(t);if(!i)throw new Error("invalid reservation");let{paths:r,dirs:n}=i,s=new Set;for(let a of r){let o=this.#e.get(a);if(!o||o?.[0]!==t)continue;let c=o[1];if(!c){this.#e.delete(a);continue}if(o.shift(),typeof c=="function")s.add(c);else for(let u of c)s.add(u)}for(let a of n){let o=this.#e.get(a),c=o?.[0];if(!(!o||!(c instanceof Set)))if(c.size===1&&o.length===1){this.#e.delete(a);continue}else if(c.size===1){o.shift();let u=o[0];typeof u=="function"&&s.add(u)}else c.delete(t)}return this.#r.delete(t),s.forEach(a=>this.#n(a)),!0}};var Bg=Symbol("onEntry"),Lp=Symbol("checkFs"),Pg=Symbol("checkFs2"),Wo=Symbol("pruneCache"),Np=Symbol("isReusable"),it=Symbol("makeFs"),Fp=Symbol("file"),Dp=Symbol("directory"),Go=Symbol("link"),jg=Symbol("symlink"),Mg=Symbol("hardlink"),zg=Symbol("unsupported"),qg=Symbol("checkPath"),_i=Symbol("mkdir"),Ce=Symbol("onError"),$o=Symbol("pending"),Ug=Symbol("pend"),Kr=Symbol("unpend"),Ap=Symbol("ended"),kp=Symbol("maybeClose"),Ip=Symbol("skip"),ds=Symbol("doChown"),ms=Symbol("uid"),hs=Symbol("gid"),xs=Symbol("checkedCwd"),ZT=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,vs=ZT==="win32",JT=1024,QT=(e,t)=>{if(!vs)return H.unlink(e,t);let i=e+".DELETE."+Wg(16).toString("hex");H.rename(e,i,r=>{if(r)return t(r);H.unlink(i,t)})},e3=e=>{if(!vs)return H.unlinkSync(e);let t=e+".DELETE."+Wg(16).toString("hex");H.renameSync(e,t),H.unlinkSync(t)},$g=(e,t,i)=>e!==void 0&&e===e>>>0?e:t!==void 0&&t===t>>>0?t:i,Hg=e=>Rt(F(qo(e))).toLowerCase(),t3=(e,t)=>{t=Hg(t);for(let i of e.keys()){let r=Hg(i);(r===t||r.indexOf(t+"/")===0)&&e.delete(i)}},i3=e=>{for(let t of e.keys())e.delete(t)},Zr=class extends Yt{[Ap]=!1;[xs]=!1;[$o]=0;reservations=new Uo;transform;writable=!0;readable=!1;dirCache;uid;gid;setOwner;preserveOwner;processGid;processUid;maxDepth;forceChown;win32;newer;keep;noMtime;preservePaths;unlink;cwd;strip;processUmask;umask;dmode;fmode;chmod;constructor(t={}){if(t.ondone=()=>{this[Ap]=!0,this[kp]()},super(t),this.transform=t.transform,this.dirCache=t.dirCache||new Map,this.chmod=!!t.chmod,typeof t.uid=="number"||typeof t.gid=="number"){if(typeof t.uid!="number"||typeof t.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(t.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=t.uid,this.gid=t.gid,this.setOwner=!0}else this.uid=void 0,this.gid=void 0,this.setOwner=!1;t.preserveOwner===void 0&&typeof t.uid!="number"?this.preserveOwner=!!(process.getuid&&process.getuid()===0):this.preserveOwner=!!t.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():void 0,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():void 0,this.maxDepth=typeof t.maxDepth=="number"?t.maxDepth:JT,this.forceChown=t.forceChown===!0,this.win32=!!t.win32||vs,this.newer=!!t.newer,this.keep=!!t.keep,this.noMtime=!!t.noMtime,this.preservePaths=!!t.preservePaths,this.unlink=!!t.unlink,this.cwd=F(Kt.resolve(t.cwd||process.cwd())),this.strip=Number(t.strip)||0,this.processUmask=this.chmod?typeof t.processUmask=="number"?t.processUmask:process.umask():0,this.umask=typeof t.umask=="number"?t.umask:this.processUmask,this.dmode=t.dmode||511&~this.umask,this.fmode=t.fmode||438&~this.umask,this.on("entry",i=>this[Bg](i))}warn(t,i,r={}){return(t==="TAR_BAD_ARCHIVE"||t==="TAR_ABORT")&&(r.recoverable=!1),super.warn(t,i,r)}[kp](){this[Ap]&&this[$o]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[qg](t){let i=F(t.path),r=i.split("/");if(this.strip){if(r.length<this.strip)return!1;if(t.type==="Link"){let n=F(String(t.linkpath)).split("/");if(n.length>=this.strip)t.linkpath=n.slice(this.strip).join("/");else return!1}r.splice(0,this.strip),t.path=r.join("/")}if(isFinite(this.maxDepth)&&r.length>this.maxDepth)return this.warn("TAR_ENTRY_ERROR","path excessively deep",{entry:t,path:i,depth:r.length,maxDepth:this.maxDepth}),!1;if(!this.preservePaths){if(r.includes("..")||vs&&/^[a-z]:\.\.$/i.test(r[0]??""))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:t,path:i}),!1;let[n,s]=is(i);n&&(t.path=String(s),this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:t,path:i}))}if(Kt.isAbsolute(t.path)?t.absolute=F(Kt.resolve(t.path)):t.absolute=F(Kt.resolve(this.cwd,t.path)),!this.preservePaths&&typeof t.absolute=="string"&&t.absolute.indexOf(this.cwd+"/")!==0&&t.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:t,path:F(t.path),resolvedPath:t.absolute,cwd:this.cwd}),!1;if(t.absolute===this.cwd&&t.type!=="Directory"&&t.type!=="GNUDumpDir")return!1;if(this.win32){let{root:n}=Kt.win32.parse(String(t.absolute));t.absolute=n+ap(String(t.absolute).slice(n.length));let{root:s}=Kt.win32.parse(t.path);t.path=s+ap(t.path.slice(s.length))}return!0}[Bg](t){if(!this[qg](t))return t.resume();switch(KT.equal(typeof t.absolute,"string"),t.type){case"Directory":case"GNUDumpDir":t.mode&&(t.mode=t.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[Lp](t);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[zg](t)}}[Ce](t,i){t.name==="CwdError"?this.emit("error",t):(this.warn("TAR_ENTRY_ERROR",t,{entry:i}),this[Kr](),i.resume())}[_i](t,i,r){Ng(F(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:i},r)}[ds](t){return this.forceChown||this.preserveOwner&&(typeof t.uid=="number"&&t.uid!==this.processUid||typeof t.gid=="number"&&t.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[ms](t){return $g(this.uid,t.uid,this.processUid)}[hs](t){return $g(this.gid,t.gid,this.processGid)}[Fp](t,i){let r=typeof t.mode=="number"?t.mode&4095:this.fmode,n=new Ht(String(t.absolute),{flags:yp(t.size),mode:r,autoClose:!1});n.on("error",c=>{n.fd&&H.close(n.fd,()=>{}),n.write=()=>!0,this[Ce](c,t),i()});let s=1,a=c=>{if(c){n.fd&&H.close(n.fd,()=>{}),this[Ce](c,t),i();return}--s===0&&n.fd!==void 0&&H.close(n.fd,u=>{u?this[Ce](u,t):this[Kr](),i()})};n.on("finish",()=>{let c=String(t.absolute),u=n.fd;if(typeof u=="number"&&t.mtime&&!this.noMtime){s++;let l=t.atime||new Date,p=t.mtime;H.futimes(u,l,p,f=>f?H.utimes(c,l,p,d=>a(d&&f)):a())}if(typeof u=="number"&&this[ds](t)){s++;let l=this[ms](t),p=this[hs](t);typeof l=="number"&&typeof p=="number"&&H.fchown(u,l,p,f=>f?H.chown(c,l,p,d=>a(d&&f)):a())}a()});let o=this.transform&&this.transform(t)||t;o!==t&&(o.on("error",c=>{this[Ce](c,t),i()}),t.pipe(o)),o.pipe(n)}[Dp](t,i){let r=typeof t.mode=="number"?t.mode&4095:this.dmode;this[_i](String(t.absolute),r,n=>{if(n){this[Ce](n,t),i();return}let s=1,a=()=>{--s===0&&(i(),this[Kr](),t.resume())};t.mtime&&!this.noMtime&&(s++,H.utimes(String(t.absolute),t.atime||new Date,t.mtime,a)),this[ds](t)&&(s++,H.chown(String(t.absolute),Number(this[ms](t)),Number(this[hs](t)),a)),a()})}[zg](t){t.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${t.type}`,{entry:t}),t.resume()}[jg](t,i){this[Go](t,String(t.linkpath),"symlink",i)}[Mg](t,i){let r=F(Kt.resolve(this.cwd,String(t.linkpath)));this[Go](t,r,"link",i)}[Ug](){this[$o]++}[Kr](){this[$o]--,this[kp]()}[Ip](t){this[Kr](),t.resume()}[Np](t,i){return t.type==="File"&&!this.unlink&&i.isFile()&&i.nlink<=1&&!vs}[Lp](t){this[Ug]();let i=[t.path];t.linkpath&&i.push(t.linkpath),this.reservations.reserve(i,r=>this[Pg](t,r))}[Wo](t){t.type==="SymbolicLink"?i3(this.dirCache):t.type!=="Directory"&&t3(this.dirCache,String(t.absolute))}[Pg](t,i){this[Wo](t);let r=o=>{this[Wo](t),i(o)},n=()=>{this[_i](this.cwd,this.dmode,o=>{if(o){this[Ce](o,t),r();return}this[xs]=!0,s()})},s=()=>{if(t.absolute!==this.cwd){let o=F(Kt.dirname(String(t.absolute)));if(o!==this.cwd)return this[_i](o,this.dmode,c=>{if(c){this[Ce](c,t),r();return}a()})}a()},a=()=>{H.lstat(String(t.absolute),(o,c)=>{if(c&&(this.keep||this.newer&&c.mtime>(t.mtime??c.mtime))){this[Ip](t),r();return}if(o||this[Np](t,c))return this[it](null,t,r);if(c.isDirectory()){if(t.type==="Directory"){let u=this.chmod&&t.mode&&(c.mode&4095)!==t.mode,l=p=>this[it](p??null,t,r);return u?H.chmod(String(t.absolute),Number(t.mode),l):l()}if(t.absolute!==this.cwd)return H.rmdir(String(t.absolute),u=>this[it](u??null,t,r))}if(t.absolute===this.cwd)return this[it](null,t,r);QT(String(t.absolute),u=>this[it](u??null,t,r))})};this[xs]?s():n()}[it](t,i,r){if(t){this[Ce](t,i),r();return}switch(i.type){case"File":case"OldFile":case"ContiguousFile":return this[Fp](i,r);case"Link":return this[Mg](i,r);case"SymbolicLink":return this[jg](i,r);case"Directory":case"GNUDumpDir":return this[Dp](i,r)}}[Go](t,i,r,n){H[r](i,String(t.absolute),s=>{s?this[Ce](s,t):(this[Kr](),t.resume()),n()})}},Ho=e=>{try{return[null,e()]}catch(t){return[t,null]}},bs=class extends Zr{sync=!0;[it](t,i){return super[it](t,i,()=>{})}[Lp](t){if(this[Wo](t),!this[xs]){let s=this[_i](this.cwd,this.dmode);if(s)return this[Ce](s,t);this[xs]=!0}if(t.absolute!==this.cwd){let s=F(Kt.dirname(String(t.absolute)));if(s!==this.cwd){let a=this[_i](s,this.dmode);if(a)return this[Ce](a,t)}}let[i,r]=Ho(()=>H.lstatSync(String(t.absolute)));if(r&&(this.keep||this.newer&&r.mtime>(t.mtime??r.mtime)))return this[Ip](t);if(i||this[Np](t,r))return this[it](null,t);if(r.isDirectory()){if(t.type==="Directory"){let a=this.chmod&&t.mode&&(r.mode&4095)!==t.mode,[o]=a?Ho(()=>{H.chmodSync(String(t.absolute),Number(t.mode))}):[];return this[it](o,t)}let[s]=Ho(()=>H.rmdirSync(String(t.absolute)));this[it](s,t)}let[n]=t.absolute===this.cwd?[]:Ho(()=>e3(String(t.absolute)));this[it](n,t)}[Fp](t,i){let r=typeof t.mode=="number"?t.mode&4095:this.fmode,n=o=>{let c;try{H.closeSync(s)}catch(u){c=u}(o||c)&&this[Ce](o||c,t),i()},s;try{s=H.openSync(String(t.absolute),yp(t.size),r)}catch(o){return n(o)}let a=this.transform&&this.transform(t)||t;a!==t&&(a.on("error",o=>this[Ce](o,t)),t.pipe(a)),a.on("data",o=>{try{H.writeSync(s,o,0,o.length)}catch(c){n(c)}}),a.on("end",()=>{let o=null;if(t.mtime&&!this.noMtime){let c=t.atime||new Date,u=t.mtime;try{H.futimesSync(s,c,u)}catch(l){try{H.utimesSync(String(t.absolute),c,u)}catch{o=l}}}if(this[ds](t)){let c=this[ms](t),u=this[hs](t);try{H.fchownSync(s,Number(c),Number(u))}catch(l){try{H.chownSync(String(t.absolute),Number(c),Number(u))}catch{o=o||l}}}n(o)})}[Dp](t,i){let r=typeof t.mode=="number"?t.mode&4095:this.dmode,n=this[_i](String(t.absolute),r);if(n){this[Ce](n,t),i();return}if(t.mtime&&!this.noMtime)try{H.utimesSync(String(t.absolute),t.atime||new Date,t.mtime)}catch{}if(this[ds](t))try{H.chownSync(String(t.absolute),Number(this[ms](t)),Number(this[hs](t)))}catch{}i(),t.resume()}[_i](t,i){try{return Dg(F(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:i})}catch(r){return r}}[Go](t,i,r,n){let s=`${r}Sync`;try{H[s](i,String(t.absolute)),n(),t.resume()}catch(a){return this[Ce](a,t)}}};var r3=e=>{let t=new bs(e),i=e.file,r=Gg.statSync(i),n=e.maxReadSize||16*1024*1024;new no(i,{readSize:n,size:r.size}).pipe(t)},n3=(e,t)=>{let i=new Zr(e),r=e.maxReadSize||16*1024*1024,n=e.file;return new Promise((a,o)=>{i.on("error",o),i.on("close",a),Gg.stat(n,(c,u)=>{if(c)o(c);else{let l=new zi(n,{readSize:r,size:u.size});l.on("error",o),l.pipe(i)}})})},Bp=_t(r3,n3,e=>new bs(e),e=>new Zr(e),(e,t)=>{t?.length&&rp(e,t)});import Ve from"node:fs";import Vg from"node:path";var s3=(e,t)=>{let i=new Ki(e),r=!0,n,s;try{try{n=Ve.openSync(e.file,"r+")}catch(c){if(c?.code==="ENOENT")n=Ve.openSync(e.file,"w+");else throw c}let a=Ve.fstatSync(n),o=Buffer.alloc(512);e:for(s=0;s<a.size;s+=512){for(let l=0,p=0;l<512;l+=p){if(p=Ve.readSync(n,o,l,o.length-l,s+l),s===0&&o[0]===31&&o[1]===139)throw new Error("cannot append to compressed archives");if(!p)break e}let c=new Ge(o);if(!c.cksumValid)break;let u=512*Math.ceil((c.size||0)/512);if(s+u+512>a.size)break;s+=u,e.mtimeCache&&c.mtime&&e.mtimeCache.set(String(c.path),c.mtime)}r=!1,a3(e,i,s,n,t)}finally{if(r)try{Ve.closeSync(n)}catch{}}},a3=(e,t,i,r,n)=>{let s=new qr(e.file,{fd:r,start:i});t.pipe(s),c3(t,n)},o3=(e,t)=>{t=Array.from(t);let i=new Ei(e),r=(s,a,o)=>{let c=(d,h)=>{d?Ve.close(s,v=>o(d)):o(null,h)},u=0;if(a===0)return c(null,0);let l=0,p=Buffer.alloc(512),f=(d,h)=>{if(d||typeof h>"u")return c(d);if(l+=h,l<512&&h)return Ve.read(s,p,l,p.length-l,u+l,f);if(u===0&&p[0]===31&&p[1]===139)return c(new Error("cannot append to compressed archives"));if(l<512)return c(null,u);let v=new Ge(p);if(!v.cksumValid)return c(null,u);let x=512*Math.ceil((v.size??0)/512);if(u+x+512>a||(u+=x+512,u>=a))return c(null,u);e.mtimeCache&&v.mtime&&e.mtimeCache.set(String(v.path),v.mtime),l=0,Ve.read(s,p,0,512,u,f)};Ve.read(s,p,0,512,u,f)};return new Promise((s,a)=>{i.on("error",a);let o="r+",c=(u,l)=>{if(u&&u.code==="ENOENT"&&o==="r+")return o="w+",Ve.open(e.file,o,c);if(u||!l)return a(u);Ve.fstat(l,(p,f)=>{if(p)return Ve.close(l,()=>a(p));r(l,f.size,(d,h)=>{if(d)return a(d);let v=new Ht(e.file,{fd:l,start:h});i.pipe(v),v.on("error",a),v.on("close",s),l3(i,t)})})};Ve.open(e.file,o,c)})},c3=(e,t)=>{t.forEach(i=>{i.charAt(0)==="@"?Yi({file:Vg.resolve(e.cwd,i.slice(1)),sync:!0,noResume:!0,onReadEntry:r=>e.add(r)}):e.add(i)}),e.end()},l3=async(e,t)=>{for(let i=0;i<t.length;i++){let r=String(t[i]);r.charAt(0)==="@"?await Yi({file:Vg.resolve(String(e.cwd),r.slice(1)),noResume:!0,onReadEntry:n=>e.add(n)}):e.add(r)}e.end()},Zi=_t(s3,o3,()=>{throw new TypeError("file is required")},()=>{throw new TypeError("file is required")},(e,t)=>{if(!Yb(e))throw new TypeError("file is required");if(e.gzip||e.brotli||e.file.endsWith(".br")||e.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!t?.length)throw new TypeError("no paths specified to add/replace")});var u3=_t(Zi.syncFile,Zi.asyncFile,Zi.syncNoFile,Zi.asyncNoFile,(e,t=[])=>{Zi.validate?.(e,t),p3(e)}),p3=e=>{let t=e.filter;e.mtimeCache||(e.mtimeCache=new Map),e.filter=t?(i,r)=>t(i,r)&&!((e.mtimeCache?.get(i)??r.mtime??0)>(r.mtime??0)):(i,r)=>!((e.mtimeCache?.get(i)??r.mtime??0)>(r.mtime??0))};var jp=class extends Es{findInPath(t,i=process.env.PATH??""){let r=i.split(process.platform==="win32"?";":":");for(let n of r){let s=Yo.join(n,t);if(Ji(s))return s}return null}getExecutionOutput(t,...i){return new Promise((r,n)=>{let s=i.map(a=>{if(a.includes('"')&&a.includes("'")){n(new Error("Cannot have both unescaped single and double quotes in an argument"));return}return a.includes('"')?`'${a}'`:`"${a}"`}).join(" ");s.includes(void 0)||d3(`"${t}" ${s}`,(a,o,c)=>{if(a){n(new Error(`Failed to get node version: ${c}`,{cause:a}));return}r(o.trim().slice(1))})})}async checkNode(){let t=this.findInPath(process.platform==="win32"?"node.exe":"node",process.env.ORIG_PATH),i=this.wrapper.properties.get("node.version","21.0.0");if(t){ce.debug(`Found Node.js at: ${t}`);let n=await this.getExecutionOutput(t,"--version");if(Pp.default.gte(n,i)){ce.debug(`Node.js version: ${n}`+(i!==n?` (compatible with ${i})`:""));return}ce.debug(`Node.js global version mismatch: required ${i}, found ${n}`)}if(!Ji(_s)){ce.info("Node.js not found, installing..."),await this.installNode(i);return}let r=await this.getExecutionOutput(_s,"--version");Pp.default.lt(r,i)&&(ce.warn(`Node.js local version mismatch: required ${i}, found ${r}`),await this.installNode(i))}async installNode(t){Ji(nt)&&await Vo(nt,{recursive:!0});let i=Yo.join(kt,`node-v${t}.tar.gz`);if(Ji(i))ce.info(`Node.js version ${t} was already downloaded (resolved from cache)`);else{let n=this.getNodeDownloadURL(t);ce.info(`Starting download of Node.js version: ${t} (${n})`),await this.downloadFile(n,i,`Downloading Node.js v${t}`)}await this.extractNode(t,i),ce.info("Unpacked and installed Node.js to: ",nt);let r=await this.getExecutionOutput(_s,"--version");ce.info(`Node.js version: ${r}`)}async extractNode(t,i){let r=this.getNodeDistDirName(t);ce.debug(`Extracting Node.js to: ${kt}/node-tmp`);let n=Yo.join(kt,"node-tmp");Ji(n)&&(ce.debug(`Removing existing node directory: ${n}`),await Vo(n,{recursive:!0})),await h3(n);try{if(i.endsWith(".zip")||process.platform==="win32")await(0,Yg.default)(i,n);else if(i.endsWith(".tar.gz"))await Bp({file:i,C:n,z:!0});else throw new Error(`Unsupported archive format: ${i}`)}catch(o){ce.fatal("Failed to extract Node.js archive",o)}let s=Yo.join(n,r),a=nt;Ji(a)&&await Vo(a,{recursive:!0}),await x3(s,a)}getNodeDistDirName(t){return`node-v${t}-${process.platform==="win32"?"win":process.platform==="darwin"?"darwin":"linux"}-${this.transformArch(process.arch)}`}getNodeDownloadURL(t){return`https://nodejs.org/dist/v${t}/${this.getNodeDistDirName(t)}.${process.platform==="win32"?"zip":"tar.gz"}`}transformArch(t){if(["x64","arm64"].includes(t))return t;if(t==="ia32")return"x86";if(t==="arm")return"armv7l";if(t==="ppc64")return"ppc64le";if(t==="s390")return"s390x";throw new Error(`Unsupported architecture: ${t}`)}async install(){await this.checkNode()}async downloadFile(t,i,r){Ji(i)&&await Vo(i);let n=m3(i);return new Promise((s,a)=>{let o=Date.now();Ys.get(t,{responseType:"stream",onDownloadProgress(c){let u=c.total?Math.round(c.loaded/c.total*100)+"%":"N/A",l=(Date.now()-o)/c.loaded,p=c.total?(c.total-c.loaded)*l:null,f=process.stdout.columns??0;process.stdout.write((`\r${r?`${r} | `:""}Downloading: ${u}`+(p===null||p>=1?` | ETA: ${p===null?"N/A":dm(Date.now()+p,Date.now(),{addSuffix:!0,includeSeconds:!0})}`:"")).padEnd(f," ")),u==="100%"&&process.stdout.write(`\r |
24 |
`)}}).then(c=>{c.data.pipe(n),n.on("finish",()=>{n.close(),s()}),n.on("error",u=>{n.close(),a(u)})}).catch(a)})}},Xg=jp;var Mp=class{argv0="blazew";_properties=new sc;sdkManager=new Xg(this);get properties(){return this._properties}async boot(){this._properties=await sc.fromFile(Se("blaze/wrapper/blaze_wrapper.properties")),Zt(kt)||await Kg(kt),process.env.ORIG_PATH=process.env.PATH??"",Zt(Se("node_modules/.bin"))&&this.addDirToPath(Se("node_modules/.bin")),Zt(gs.join(nt,"bin"))&&this.addDirToPath(gs.resolve(nt,"bin"))}addDirToPath(t){process.env.PATH=`${t}${process.platform==="win32"?";":":"}${process.env.PATH}`}getVersion(){return this._properties.get("blaze.version","1.0.0-alpha.1")}async run(){await this.sdkManager.install(),await this.installDeps(),await this.createLink(),Zt(Se("node_modules/.bin"))&&this.addDirToPath(Se("node_modules/.bin")),Zt(gs.join(nt,"bin"))&&this.addDirToPath(gs.resolve(nt,"bin")),await this.invokeBlaze()}async installDeps(){let t=this._properties.get("blaze.srcpath","blazebuild"),i=Se(t);if(Zt(gs.join(i,"node_modules")))return;ce.info("Installing BlazeBuild dependencies...");let r=v3(Ss,["install"],{stdio:"inherit",env:process.env,cwd:i,detached:!1}),n=await new Promise(s=>{r.on("exit",a=>{s(a??1)})});n!==0&&process.exit(n)}async createLink(){let t=this._properties.get("blaze.srcpath","blazebuild"),i=Se(t);if(Zt(i)||ce.fatal(`BlazeBuild not found at ${i}`),Zt(Se("node_modules/blazebuild")))return;Zt(Se("node_modules"))||await Kg(Se("node_modules"),{recursive:!0}),ce.info("Linking BlazeBuild...");let r=Se("node_modules/blazebuild");await b3(i,r,"dir"),ce.debug(`Linked BlazeBuild to ${i}`)}invokeBlaze(){return new Jp(this).invoke()}printLogo(){console.log(be.white.bold(` |
25 |
a____ _ ____ _ _ _ |
26 |
| __ )| | __ _ _______| __ ) _ _(_) | __| | |
27 |
| _ \\| |/ _\` |_ / _ \\ _ \\| | | | | |/ _\` | |
28 |
| |_) | | (_| |/ / __/ |_) | |_| | | | (_| | |
29 |
|____/|_|\\__,_/___\\___|____/ \\__,_|_|_|\\__,_| |
30 |
|
31 |
`.replace(/^\s+/g,"").replace(/\n\s*/g,` |
32 |
`).replace(/\a/g," ")))}showHelp(){this.printLogo(),console.log(be.bold.blue(`BlazeBuild Wrapper version ${this.getVersion()}`)),console.log(),console.log(be.white.bold("Usage:")),console.log(" blazew [options] [command] [args...] [-- [fargs...]]"),console.log(),console.log(be.white.bold("Options:")),console.log(" --help, -h Show this help message and exit."),console.log(" --version, -v Show the version number and exit."),console.log(" --quiet, -q Disable output."),console.log(" --debug Enable debug mode."),this.exit()}showVersion(){console.log("BlazeBuild wrapper v0.1.0"),this.exit()}exit(t=0){process.exit(t)}},Zg=Mp;async function g3(){try{let e=new Zg;await e.boot(),await e.run()}catch(e){console.error(`${be.bold.red("error:")} ${be.white(e instanceof Error?e.message:`${e}`)}`),process.exit(1)}}await g3(); |
33 |
/*! Bundled license information: |
34 |
|
35 |
mime-db/index.js: |
36 |
(*! |
37 |
* mime-db |
38 |
* Copyright(c) 2014 Jonathan Ong |
39 |
* Copyright(c) 2015-2022 Douglas Christopher Wilson |
40 |
* MIT Licensed |
41 |
*) |
42 |
|
43 |
mime-types/index.js: |
44 |
(*! |
45 |
* mime-types |
46 |
* Copyright(c) 2014 Jonathan Ong |
47 |
* Copyright(c) 2015 Douglas Christopher Wilson |
48 |
* MIT Licensed |
49 |
*) |
50 |
|
51 |
safe-buffer/index.js: |
52 |
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *) |
53 |
|
54 |
object-assign/index.js: |
55 |
(* |
56 |
object-assign |
57 |
(c) Sindre Sorhus |
58 |
@license MIT |
59 |
*) |
60 |
|
61 |
is-natural-number/index.js: |
62 |
(*! |
63 |
* is-natural-number.js | MIT (c) Shinnosuke Watanabe |
64 |
* https://github.com/shinnn/is-natural-number.js |
65 |
*) |
66 |
|
67 |
strip-dirs/index.js: |
68 |
(*! |
69 |
* strip-dirs | MIT (c) Shinnosuke Watanabe |
70 |
* https://github.com/shinnn/node-strip-dirs |
71 |
*) |
72 |
*/ |
73 |
//# sourceMappingURL=wrapper.js.map |