@liflig/cdk-cloudfront-auth 1.10.13 → 1.10.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,37 +1,40 @@
1
- var zW=Object.create;var{getPrototypeOf:ZW,defineProperty:Za,getOwnPropertyNames:Ld,getOwnPropertyDescriptor:GW}=Object,Bd=Object.prototype.hasOwnProperty;function Fd(i){return this[i]}var YW,XW,k=(i,n,c)=>{var a=i!=null&&typeof i==="object";if(a){var p=n?YW??=new WeakMap:XW??=new WeakMap,s=p.get(i);if(s)return s}c=i!=null?zW(ZW(i)):{};let u=n||!i||!i.__esModule?Za(c,"default",{value:i,enumerable:!0}):c;for(let e of Ld(i))if(!Bd.call(u,e))Za(u,e,{get:Fd.bind(i,e),enumerable:!0});if(a)p.set(i,u);return u},gd=(i)=>{var n=(Dd??=new WeakMap).get(i),c;if(n)return n;if(n=Za({},"__esModule",{value:!0}),i&&typeof i==="object"||typeof i==="function"){for(var a of Ld(i))if(!Bd.call(n,a))Za(n,a,{get:Fd.bind(i,a),enumerable:!(c=GW(i,a))||c.enumerable})}return Dd.set(i,n),n},Dd,r=(i,n)=>()=>(n||i((n={exports:{}}).exports,n),n.exports);var SW=(i)=>i;function IW(i,n){this[i]=SW.bind(null,n)}var te=(i,n)=>{for(var c in n)Za(i,c,{get:n[c],enumerable:!0,configurable:!0,set:IW.bind(n,c)})};var PW=(i,n)=>()=>(i&&(n=i(i=0)),n);var rx=r((ZM,xx)=>{var dx=require("stream").Stream,Nq=require("util");xx.exports=pn;function pn(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}Nq.inherits(pn,dx);pn.create=function(i,n){var c=new this;n=n||{};for(var a in n)c[a]=n[a];c.source=i;var p=i.emit;if(i.emit=function(){return c._handleEmit(arguments),p.apply(i,arguments)},i.on("error",function(){}),c.pauseStream)i.pause();return c};Object.defineProperty(pn.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});pn.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};pn.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};pn.prototype.pause=function(){this.source.pause()};pn.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(i){this.emit.apply(this,i)}.bind(this)),this._bufferedEvents=[]};pn.prototype.pipe=function(){var i=dx.prototype.pipe.apply(this,arguments);return this.resume(),i};pn.prototype._handleEmit=function(i){if(this._released){this.emit.apply(this,i);return}if(i[0]==="data")this.dataSize+=i[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(i)};pn.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(i))}});var wx=r((GM,vx)=>{var Eq=require("util"),fx=require("stream").Stream,lx=rx();vx.exports=ii;function ii(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}Eq.inherits(ii,fx);ii.create=function(i){var n=new this;i=i||{};for(var c in i)n[c]=i[c];return n};ii.isStreamLike=function(i){return typeof i!=="function"&&typeof i!=="string"&&typeof i!=="boolean"&&typeof i!=="number"&&!Buffer.isBuffer(i)};ii.prototype.append=function(i){var n=ii.isStreamLike(i);if(n){if(!(i instanceof lx)){var c=lx.create(i,{maxDataSize:1/0,pauseStream:this.pauseStreams});i.on("data",this._checkDataSize.bind(this)),i=c}if(this._handleErrors(i),this.pauseStreams)i.pause()}return this._streams.push(i),this};ii.prototype.pipe=function(i,n){return fx.prototype.pipe.call(this,i,n),this.resume(),i};ii.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}};ii.prototype._realGetNext=function(){var i=this._streams.shift();if(typeof i>"u"){this.end();return}if(typeof i!=="function"){this._pipeNext(i);return}var n=i;n(function(c){var a=ii.isStreamLike(c);if(a)c.on("data",this._checkDataSize.bind(this)),this._handleErrors(c);this._pipeNext(c)}.bind(this))};ii.prototype._pipeNext=function(i){this._currentStream=i;var n=ii.isStreamLike(i);if(n){i.on("end",this._getNext.bind(this)),i.pipe(this,{end:!1});return}var c=i;this.write(c),this._getNext()};ii.prototype._handleErrors=function(i){var n=this;i.on("error",function(c){n._emitError(c)})};ii.prototype.write=function(i){this.emit("data",i)};ii.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};ii.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};ii.prototype.end=function(){this._reset(),this.emit("end")};ii.prototype.destroy=function(){this._reset(),this.emit("close")};ii.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ii.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(i))};ii.prototype._updateDataSize=function(){this.dataSize=0;var i=this;if(this._streams.forEach(function(n){if(!n.dataSize)return;i.dataSize+=n.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};ii.prototype._emitError=function(i){this._reset(),this.emit("error",i)}});var bx=r((YM,yq)=>{yq.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 qx=r((XM,Wx)=>{/*!
1
+ var kE=Object.create;var{getPrototypeOf:OE,defineProperty:Tn,getOwnPropertyNames:Ku,getOwnPropertyDescriptor:CE}=Object,Hu=Object.prototype.hasOwnProperty;function Ju(e){return this[e]}var PE,IE,pe=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?PE??=new WeakMap:IE??=new WeakMap,o=i.get(e);if(o)return o}r=e!=null?kE(OE(e)):{};let s=t||!e||!e.__esModule?Tn(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of Ku(e))if(!Hu.call(s,a))Tn(s,a,{get:Ju.bind(e,a),enumerable:!0})}if(n)i.set(e,s);return s},Di=(e)=>{var t=(Bu??=new WeakMap).get(e),r;if(t)return t;if(t=Tn({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var n of Ku(e))if(!Hu.call(t,n))Tn(t,n,{get:Ju.bind(e,n),enumerable:!(r=CE(e,n))||r.enumerable})}return Bu.set(e,t),t},Bu,g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var jE=(e)=>e;function LE(e,t){this[e]=jE.bind(null,t)}var Ar=(e,t)=>{for(var r in t)Tn(e,r,{get:t[r],enumerable:!0,configurable:!0,set:LE.bind(t,r)})};var j=(e,t)=>()=>(e&&(t=e(e=0)),t);var al=g(function(a2,sl){var ol=require("stream").Stream,BS=require("util");sl.exports=tt;function tt(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}BS.inherits(tt,ol);tt.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var i=e.emit;if(e.emit=function(){return r._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),r.pauseStream)e.pause();return r};Object.defineProperty(tt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});tt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};tt.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};tt.prototype.pause=function(){this.source.pause()};tt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};tt.prototype.pipe=function(){var e=ol.prototype.pipe.apply(this,arguments);return this.resume(),e};tt.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data")this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(e)};tt.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(e))}});var ll=g(function(c2,ul){var KS=require("util"),pl=require("stream").Stream,cl=al();ul.exports=ue;function ue(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}KS.inherits(ue,pl);ue.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};ue.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};ue.prototype.append=function(e){var t=ue.isStreamLike(e);if(t){if(!(e instanceof cl)){var r=cl.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}if(this._handleErrors(e),this.pauseStreams)e.pause()}return this._streams.push(e),this};ue.prototype.pipe=function(e,t){return pl.prototype.pipe.call(this,e,t),this.resume(),e};ue.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}};ue.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=ue.isStreamLike(r);if(n)r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r);this._pipeNext(r)}.bind(this))};ue.prototype._pipeNext=function(e){this._currentStream=e;var t=ue.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};ue.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};ue.prototype.write=function(e){this.emit("data",e)};ue.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};ue.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};ue.prototype.end=function(){this._reset(),this.emit("end")};ue.prototype.destroy=function(){this._reset(),this.emit("close")};ue.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ue.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(e))};ue.prototype._updateDataSize=function(){this.dataSize=0;var e=this;if(this._streams.forEach(function(t){if(!t.dataSize)return;e.dataSize+=t.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};ue.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var dl=g(function(p2,HS){HS.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 ml=g(function(u2,fl){/*!
2
2
  * mime-db
3
3
  * Copyright(c) 2014 Jonathan Ong
4
4
  * Copyright(c) 2015-2022 Douglas Christopher Wilson
5
5
  * MIT Licensed
6
- */Wx.exports=bx()});var Jx=r((Pi)=>{/*!
6
+ */fl.exports=dl()});var gl=g(function(Ne){/*!
7
7
  * mime-types
8
8
  * Copyright(c) 2014 Jonathan Ong
9
9
  * Copyright(c) 2015 Douglas Christopher Wilson
10
10
  * MIT Licensed
11
- */var Rp=qx(),Rq=require("path").extname,Kx=/^\s*([^;\s]*)(?:;|\s|$)/,jq=/^text\//i;Pi.charset=_x;Pi.charsets={lookup:_x};Pi.contentType=Tq;Pi.extension=Dq;Pi.extensions=Object.create(null);Pi.lookup=Lq;Pi.types=Object.create(null);Bq(Pi.extensions,Pi.types);function _x(i){if(!i||typeof i!=="string")return!1;var n=Kx.exec(i),c=n&&Rp[n[1].toLowerCase()];if(c&&c.charset)return c.charset;if(n&&jq.test(n[1]))return"UTF-8";return!1}function Tq(i){if(!i||typeof i!=="string")return!1;var n=i.indexOf("/")===-1?Pi.lookup(i):i;if(!n)return!1;if(n.indexOf("charset")===-1){var c=Pi.charset(n);if(c)n+="; charset="+c.toLowerCase()}return n}function Dq(i){if(!i||typeof i!=="string")return!1;var n=Kx.exec(i),c=n&&Pi.extensions[n[1].toLowerCase()];if(!c||!c.length)return!1;return c[0]}function Lq(i){if(!i||typeof i!=="string")return!1;var n=Rq("x."+i).toLowerCase().substr(1);if(!n)return!1;return Pi.types[n]||!1}function Bq(i,n){var c=["nginx","apache",void 0,"iana"];Object.keys(Rp).forEach(function(p){var s=Rp[p],u=s.extensions;if(!u||!u.length)return;i[p]=u;for(var e=0;e<u.length;e++){var o=u[e];if(n[o]){var t=c.indexOf(Rp[n[o]].source),m=c.indexOf(s.source);if(n[o]!=="application/octet-stream"&&(t>m||t===m&&n[o].substr(0,12)==="application/"))continue}n[o]=p}})}});var hx=r((IM,$x)=>{$x.exports=Fq;function Fq(i){var n=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(n)n(i);else setTimeout(i,0)}});var fe=r((PM,Zx)=>{var zx=hx();Zx.exports=gq;function gq(i){var n=!1;return zx(function(){n=!0}),function(a,p){if(n)i(a,p);else zx(function(){i(a,p)})}}});var ve=r((HM,Gx)=>{Gx.exports=Uq;function Uq(i){Object.keys(i.jobs).forEach(Qq.bind(i)),i.jobs={}}function Qq(i){if(typeof this.jobs[i]=="function")this.jobs[i]()}});var we=r((MM,Xx)=>{var Yx=fe(),kq=ve();Xx.exports=i5;function i5(i,n,c,a){var p=c.keyedList?c.keyedList[c.index]:c.index;c.jobs[p]=n5(n,p,i[p],function(s,u){if(!(p in c.jobs))return;if(delete c.jobs[p],s)kq(c);else c.results[p]=u;a(s,c.results)})}function n5(i,n,c,a){var p;if(i.length==2)p=i(c,Yx(a));else p=i(c,n,Yx(a));return p}});var be=r((VM,Sx)=>{Sx.exports=c5;function c5(i,n){var c=!Array.isArray(i),a={index:0,keyedList:c||n?Object.keys(i):null,jobs:{},results:c?{}:[],size:c?Object.keys(i).length:i.length};if(n)a.keyedList.sort(c?n:function(p,s){return n(i[p],i[s])});return a}});var We=r((CM,Ix)=>{var a5=ve(),p5=fe();Ix.exports=s5;function s5(i){if(!Object.keys(this.jobs).length)return;this.index=this.size,a5(this),p5(i)(null,this.results)}});var Hx=r((OM,Px)=>{var u5=we(),e5=be(),o5=We();Px.exports=t5;function t5(i,n,c){var a=e5(i);while(a.index<(a.keyedList||i).length)u5(i,n,a,function(p,s){if(p){c(p,s);return}if(Object.keys(a.jobs).length===0){c(null,a.results);return}}),a.index++;return o5.bind(a,c)}});var qe=r((AM,jp)=>{var Mx=we(),m5=be(),d5=We();jp.exports=x5;jp.exports.ascending=Vx;jp.exports.descending=r5;function x5(i,n,c,a){var p=m5(i,c);return Mx(i,n,p,function s(u,e){if(u){a(u,e);return}if(p.index++,p.index<(p.keyedList||i).length){Mx(i,n,p,s);return}a(null,p.results)}),d5.bind(p,a)}function Vx(i,n){return i<n?-1:i>n?1:0}function r5(i,n){return-1*Vx(i,n)}});var Ox=r((NM,Cx)=>{var l5=qe();Cx.exports=f5;function f5(i,n,c){return l5(i,n,null,c)}});var Nx=r((EM,Ax)=>{Ax.exports={parallel:Hx(),serial:Ox(),serialOrdered:qe()}});var Ke=r((yM,Ex)=>{Ex.exports=Object});var Rx=r((RM,yx)=>{yx.exports=Error});var Tx=r((jM,jx)=>{jx.exports=EvalError});var Lx=r((TM,Dx)=>{Dx.exports=RangeError});var Fx=r((DM,Bx)=>{Bx.exports=ReferenceError});var Ux=r((LM,gx)=>{gx.exports=SyntaxError});var Tp=r((BM,Qx)=>{Qx.exports=TypeError});var i1=r((FM,kx)=>{kx.exports=URIError});var c1=r((gM,n1)=>{n1.exports=Math.abs});var p1=r((UM,a1)=>{a1.exports=Math.floor});var u1=r((QM,s1)=>{s1.exports=Math.max});var o1=r((kM,e1)=>{e1.exports=Math.min});var m1=r((iV,t1)=>{t1.exports=Math.pow});var x1=r((nV,d1)=>{d1.exports=Math.round});var l1=r((cV,r1)=>{r1.exports=Number.isNaN||function(n){return n!==n}});var v1=r((aV,f1)=>{var v5=l1();f1.exports=function(n){if(v5(n)||n===0)return n;return n<0?-1:1}});var b1=r((pV,w1)=>{w1.exports=Object.getOwnPropertyDescriptor});var _e=r((sV,W1)=>{var Dp=b1();if(Dp)try{Dp([],"length")}catch(i){Dp=null}W1.exports=Dp});var K1=r((uV,q1)=>{var Lp=Object.defineProperty||!1;if(Lp)try{Lp({},"a",{value:1})}catch(i){Lp=!1}q1.exports=Lp});var Je=r((eV,_1)=>{_1.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var n={},c=Symbol("test"),a=Object(c);if(typeof c==="string")return!1;if(Object.prototype.toString.call(c)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var p=42;n[c]=p;for(var s in n)return!1;if(typeof Object.keys==="function"&&Object.keys(n).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==c)return!1;if(!Object.prototype.propertyIsEnumerable.call(n,c))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var e=Object.getOwnPropertyDescriptor(n,c);if(e.value!==p||e.enumerable!==!0)return!1}return!0}});var h1=r((oV,$1)=>{var J1=typeof Symbol<"u"&&Symbol,w5=Je();$1.exports=function(){if(typeof J1!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof J1("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return w5()}});var $e=r((tV,z1)=>{z1.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var he=r((mV,Z1)=>{var b5=Ke();Z1.exports=b5.getPrototypeOf||null});var X1=r((dV,Y1)=>{var W5="Function.prototype.bind called on incompatible ",q5=Object.prototype.toString,K5=Math.max,_5="[object Function]",G1=function(n,c){var a=[];for(var p=0;p<n.length;p+=1)a[p]=n[p];for(var s=0;s<c.length;s+=1)a[s+n.length]=c[s];return a},J5=function(n,c){var a=[];for(var p=c||0,s=0;p<n.length;p+=1,s+=1)a[s]=n[p];return a},$5=function(i,n){var c="";for(var a=0;a<i.length;a+=1)if(c+=i[a],a+1<i.length)c+=n;return c};Y1.exports=function(n){var c=this;if(typeof c!=="function"||q5.apply(c)!==_5)throw TypeError(W5+c);var a=J5(arguments,1),p,s=function(){if(this instanceof p){var m=c.apply(this,G1(a,arguments));if(Object(m)===m)return m;return this}return c.apply(n,G1(a,arguments))},u=K5(0,c.length-a.length),e=[];for(var o=0;o<u;o++)e[o]="$"+o;if(p=Function("binder","return function ("+$5(e,",")+"){ return binder.apply(this,arguments); }")(s),c.prototype){var t=function(){};t.prototype=c.prototype,p.prototype=new t,t.prototype=null}return p}});var Ma=r((xV,S1)=>{var h5=X1();S1.exports=Function.prototype.bind||h5});var Bp=r((rV,I1)=>{I1.exports=Function.prototype.call});var ze=r((lV,P1)=>{P1.exports=Function.prototype.apply});var M1=r((fV,H1)=>{H1.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var C1=r((vV,V1)=>{var z5=Ma(),Z5=ze(),G5=Bp(),Y5=M1();V1.exports=Y5||z5.call(G5,Z5)});var A1=r((wV,O1)=>{var X5=Ma(),S5=Tp(),I5=Bp(),P5=C1();O1.exports=function(n){if(n.length<1||typeof n[0]!=="function")throw new S5("a function is required");return P5(X5,I5,n)}});var T1=r((bV,j1)=>{var H5=A1(),N1=_e(),y1;try{y1=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!=="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var Ze=!!y1&&N1&&N1(Object.prototype,"__proto__"),R1=Object,E1=R1.getPrototypeOf;j1.exports=Ze&&typeof Ze.get==="function"?H5([Ze.get]):typeof E1==="function"?function(n){return E1(n==null?n:R1(n))}:!1});var g1=r((WV,F1)=>{var D1=$e(),L1=he(),B1=T1();F1.exports=D1?function(n){return D1(n)}:L1?function(n){if(!n||typeof n!=="object"&&typeof n!=="function")throw TypeError("getProto: not an object");return L1(n)}:B1?function(n){return B1(n)}:null});var Fp=r((qV,U1)=>{var M5=Function.prototype.call,V5=Object.prototype.hasOwnProperty,C5=Ma();U1.exports=C5.call(M5,V5)});var ar=r((KV,cr)=>{var M,O5=Ke(),A5=Rx(),N5=Tx(),E5=Lx(),y5=Fx(),Vc=Ux(),Mc=Tp(),R5=i1(),j5=c1(),T5=p1(),D5=u1(),L5=o1(),B5=m1(),F5=x1(),g5=v1(),ir=Function,Ge=function(i){try{return ir('"use strict"; return ('+i+").constructor;")()}catch(n){}},Va=_e(),U5=K1(),Ye=function(){throw new Mc},Q5=Va?function(){try{return arguments.callee,Ye}catch(i){try{return Va(arguments,"callee").get}catch(n){return Ye}}}():Ye,Pc=h1()(),li=g1(),k5=he(),iK=$e(),nr=ze(),Ca=Bp(),Hc={},nK=typeof Uint8Array>"u"||!li?M:li(Uint8Array),pc={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?M:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?M:ArrayBuffer,"%ArrayIteratorPrototype%":Pc&&li?li([][Symbol.iterator]()):M,"%AsyncFromSyncIteratorPrototype%":M,"%AsyncFunction%":Hc,"%AsyncGenerator%":Hc,"%AsyncGeneratorFunction%":Hc,"%AsyncIteratorPrototype%":Hc,"%Atomics%":typeof Atomics>"u"?M:Atomics,"%BigInt%":typeof BigInt>"u"?M:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?M:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?M:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?M:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":A5,"%eval%":eval,"%EvalError%":N5,"%Float16Array%":typeof Float16Array>"u"?M:Float16Array,"%Float32Array%":typeof Float32Array>"u"?M:Float32Array,"%Float64Array%":typeof Float64Array>"u"?M:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?M:FinalizationRegistry,"%Function%":ir,"%GeneratorFunction%":Hc,"%Int8Array%":typeof Int8Array>"u"?M:Int8Array,"%Int16Array%":typeof Int16Array>"u"?M:Int16Array,"%Int32Array%":typeof Int32Array>"u"?M:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Pc&&li?li(li([][Symbol.iterator]())):M,"%JSON%":typeof JSON==="object"?JSON:M,"%Map%":typeof Map>"u"?M:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Pc||!li?M:li(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":O5,"%Object.getOwnPropertyDescriptor%":Va,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?M:Promise,"%Proxy%":typeof Proxy>"u"?M:Proxy,"%RangeError%":E5,"%ReferenceError%":y5,"%Reflect%":typeof Reflect>"u"?M:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?M:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Pc||!li?M:li(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?M:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Pc&&li?li(""[Symbol.iterator]()):M,"%Symbol%":Pc?Symbol:M,"%SyntaxError%":Vc,"%ThrowTypeError%":Q5,"%TypedArray%":nK,"%TypeError%":Mc,"%Uint8Array%":typeof Uint8Array>"u"?M:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?M:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?M:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?M:Uint32Array,"%URIError%":R5,"%WeakMap%":typeof WeakMap>"u"?M:WeakMap,"%WeakRef%":typeof WeakRef>"u"?M:WeakRef,"%WeakSet%":typeof WeakSet>"u"?M:WeakSet,"%Function.prototype.call%":Ca,"%Function.prototype.apply%":nr,"%Object.defineProperty%":U5,"%Object.getPrototypeOf%":k5,"%Math.abs%":j5,"%Math.floor%":T5,"%Math.max%":D5,"%Math.min%":L5,"%Math.pow%":B5,"%Math.round%":F5,"%Math.sign%":g5,"%Reflect.getPrototypeOf%":iK};if(li)try{null.error}catch(i){Xe=li(li(i)),pc["%Error.prototype%"]=Xe}var Xe,cK=function i(n){var c;if(n==="%AsyncFunction%")c=Ge("async function () {}");else if(n==="%GeneratorFunction%")c=Ge("function* () {}");else if(n==="%AsyncGeneratorFunction%")c=Ge("async function* () {}");else if(n==="%AsyncGenerator%"){var a=i("%AsyncGeneratorFunction%");if(a)c=a.prototype}else if(n==="%AsyncIteratorPrototype%"){var p=i("%AsyncGenerator%");if(p&&li)c=li(p.prototype)}return pc[n]=c,c},Q1={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Oa=Ma(),gp=Fp(),aK=Oa.call(Ca,Array.prototype.concat),pK=Oa.call(nr,Array.prototype.splice),k1=Oa.call(Ca,String.prototype.replace),Up=Oa.call(Ca,String.prototype.slice),sK=Oa.call(Ca,RegExp.prototype.exec),uK=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eK=/\\(\\)?/g,oK=function(n){var c=Up(n,0,1),a=Up(n,-1);if(c==="%"&&a!=="%")throw new Vc("invalid intrinsic syntax, expected closing `%`");else if(a==="%"&&c!=="%")throw new Vc("invalid intrinsic syntax, expected opening `%`");var p=[];return k1(n,uK,function(s,u,e,o){p[p.length]=e?k1(o,eK,"$1"):u||s}),p},tK=function(n,c){var a=n,p;if(gp(Q1,a))p=Q1[a],a="%"+p[0]+"%";if(gp(pc,a)){var s=pc[a];if(s===Hc)s=cK(a);if(typeof s>"u"&&!c)throw new Mc("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:p,name:a,value:s}}throw new Vc("intrinsic "+n+" does not exist!")};cr.exports=function(n,c){if(typeof n!=="string"||n.length===0)throw new Mc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof c!=="boolean")throw new Mc('"allowMissing" argument must be a boolean');if(sK(/^%?[^%]*%?$/,n)===null)throw new Vc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=oK(n),p=a.length>0?a[0]:"",s=tK("%"+p+"%",c),u=s.name,e=s.value,o=!1,t=s.alias;if(t)p=t[0],pK(a,aK([0,1],t));for(var m=1,d=!0;m<a.length;m+=1){var l=a[m],f=Up(l,0,1),v=Up(l,-1);if((f==='"'||f==="'"||f==="`"||(v==='"'||v==="'"||v==="`"))&&f!==v)throw new Vc("property names with quotes must have matching quotes");if(l==="constructor"||!d)o=!0;if(p+="."+l,u="%"+p+"%",gp(pc,u))e=pc[u];else if(e!=null){if(!(l in e)){if(!c)throw new Mc("base intrinsic for "+n+" exists, but the property is not available.");return}if(Va&&m+1>=a.length){var b=Va(e,l);if(d=!!b,d&&"get"in b&&!("originalValue"in b.get))e=b.get;else e=e[l]}else d=gp(e,l),e=e[l];if(d&&!o)pc[u]=e}}return e}});var sr=r((_V,pr)=>{var mK=Je();pr.exports=function(){return mK()&&!!Symbol.toStringTag}});var or=r((JV,er)=>{var dK=ar(),ur=dK("%Object.defineProperty%",!0),xK=sr()(),rK=Fp(),lK=Tp(),Qp=xK?Symbol.toStringTag:null;er.exports=function(n,c){var a=arguments.length>2&&!!arguments[2]&&arguments[2].force,p=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof a<"u"&&typeof a!=="boolean"||typeof p<"u"&&typeof p!=="boolean")throw new lK("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Qp&&(a||!rK(n,Qp)))if(ur)ur(n,Qp,{configurable:!p,enumerable:!1,value:c,writable:!1});else n[Qp]=c}});var mr=r(($V,tr)=>{tr.exports=function(i,n){return Object.keys(n).forEach(function(c){i[c]=i[c]||n[c]}),i}});var rr=r((hV,xr)=>{var He=wx(),fK=require("util"),Se=require("path"),vK=require("http"),wK=require("https"),bK=require("url").parse,WK=require("fs"),qK=require("stream").Stream,KK=require("crypto"),Ie=Jx(),_K=Nx(),JK=or(),Mn=Fp(),Pe=mr();function dr(i){return String(i).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function O(i){if(!(this instanceof O))return new O(i);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],He.call(this),i=i||{};for(var n in i)this[n]=i[n]}fK.inherits(O,He);O.LINE_BREAK=`\r
12
- `;O.DEFAULT_CONTENT_TYPE="application/octet-stream";O.prototype.append=function(i,n,c){if(c=c||{},typeof c==="string")c={filename:c};var a=He.prototype.append.bind(this);if(typeof n==="number"||n==null)n=String(n);if(Array.isArray(n)){this._error(Error("Arrays are not supported."));return}var p=this._multiPartHeader(i,n,c),s=this._multiPartFooter();a(p),a(n),a(s),this._trackLength(p,n,c)};O.prototype._trackLength=function(i,n,c){var a=0;if(c.knownLength!=null)a+=Number(c.knownLength);else if(Buffer.isBuffer(n))a=n.length;else if(typeof n==="string")a=Buffer.byteLength(n);if(this._valueLength+=a,this._overheadLength+=Buffer.byteLength(i)+O.LINE_BREAK.length,!n||!n.path&&!(n.readable&&Mn(n,"httpVersion"))&&!(n instanceof qK))return;if(!c.knownLength)this._valuesToMeasure.push(n)};O.prototype._lengthRetriever=function(i,n){if(Mn(i,"fd"))if(i.end!=null&&i.end!=1/0&&i.start!=null)n(null,i.end+1-(i.start?i.start:0));else WK.stat(i.path,function(c,a){if(c){n(c);return}var p=a.size-(i.start?i.start:0);n(null,p)});else if(Mn(i,"httpVersion"))n(null,Number(i.headers["content-length"]));else if(Mn(i,"httpModule"))i.on("response",function(c){i.pause(),n(null,Number(c.headers["content-length"]))}),i.resume();else n("Unknown stream")};O.prototype._multiPartHeader=function(i,n,c){if(typeof c.header==="string")return c.header;var a=this._getContentDisposition(n,c),p=this._getContentType(n,c),s="",u={"Content-Disposition":["form-data",'name="'+dr(i)+'"'].concat(a||[]),"Content-Type":[].concat(p||[])};if(typeof c.header==="object")Pe(u,c.header);var e;for(var o in u)if(Mn(u,o)){if(e=u[o],e==null)continue;if(!Array.isArray(e))e=[e];if(e.length)s+=o+": "+e.join("; ")+O.LINE_BREAK}return"--"+this.getBoundary()+O.LINE_BREAK+s+O.LINE_BREAK};O.prototype._getContentDisposition=function(i,n){var c;if(typeof n.filepath==="string")c=Se.normalize(n.filepath).replace(/\\/g,"/");else if(n.filename||i&&(i.name||i.path))c=Se.basename(n.filename||i&&(i.name||i.path));else if(i&&i.readable&&Mn(i,"httpVersion"))c=Se.basename(i.client._httpMessage.path||"");if(c)return'filename="'+dr(c)+'"'};O.prototype._getContentType=function(i,n){var c=n.contentType;if(!c&&i&&i.name)c=Ie.lookup(i.name);if(!c&&i&&i.path)c=Ie.lookup(i.path);if(!c&&i&&i.readable&&Mn(i,"httpVersion"))c=i.headers["content-type"];if(!c&&(n.filepath||n.filename))c=Ie.lookup(n.filepath||n.filename);if(!c&&i&&typeof i==="object")c=O.DEFAULT_CONTENT_TYPE;return c};O.prototype._multiPartFooter=function(){return function(i){var n=O.LINE_BREAK,c=this._streams.length===0;if(c)n+=this._lastBoundary();i(n)}.bind(this)};O.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+O.LINE_BREAK};O.prototype.getHeaders=function(i){var n,c={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in i)if(Mn(i,n))c[n.toLowerCase()]=i[n];return c};O.prototype.setBoundary=function(i){if(typeof i!=="string")throw TypeError("FormData boundary must be a string");this._boundary=i};O.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};O.prototype.getBuffer=function(){var i=new Buffer.alloc(0),n=this.getBoundary();for(var c=0,a=this._streams.length;c<a;c++)if(typeof this._streams[c]!=="function"){if(Buffer.isBuffer(this._streams[c]))i=Buffer.concat([i,this._streams[c]]);else i=Buffer.concat([i,Buffer.from(this._streams[c])]);if(typeof this._streams[c]!=="string"||this._streams[c].substring(2,n.length+2)!==n)i=Buffer.concat([i,Buffer.from(O.LINE_BREAK)])}return Buffer.concat([i,Buffer.from(this._lastBoundary())])};O.prototype._generateBoundary=function(){this._boundary="--------------------------"+KK.randomBytes(12).toString("hex")};O.prototype.getLengthSync=function(){var i=this._overheadLength+this._valueLength;if(this._streams.length)i+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return i};O.prototype.hasKnownLength=function(){var i=!0;if(this._valuesToMeasure.length)i=!1;return i};O.prototype.getLength=function(i){var n=this._overheadLength+this._valueLength;if(this._streams.length)n+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(i.bind(this,null,n));return}_K.parallel(this._valuesToMeasure,this._lengthRetriever,function(c,a){if(c){i(c);return}a.forEach(function(p){n+=p}),i(null,n)})};O.prototype.submit=function(i,n){var c,a,p={method:"post"};if(typeof i==="string")i=bK(i),a=Pe({port:i.port,path:i.pathname,host:i.hostname,protocol:i.protocol},p);else if(a=Pe(i,p),!a.port)a.port=a.protocol==="https:"?443:80;if(a.headers=this.getHeaders(i.headers),a.protocol==="https:")c=wK.request(a);else c=vK.request(a);return this.getLength(function(s,u){if(s&&s!=="Unknown stream"){this._error(s);return}if(u)c.setHeader("Content-Length",u);if(this.pipe(c),n){var e,o=function(t,m){return c.removeListener("error",o),c.removeListener("response",e),n.call(this,t,m)};e=o.bind(this,null),c.on("error",o),c.on("response",e)}}.bind(this)),c};O.prototype._error=function(i){if(!this.error)this.error=i,this.pause(),this.emit("error",i)};O.prototype.toString=function(){return"[object FormData]"};JK(O.prototype,"FormData");xr.exports=O});var Be=r((hC,Ir)=>{var Ac=1000,Nc=Ac*60,Ec=Nc*60,ec=Ec*24,TK=ec*7,DK=ec*365.25;Ir.exports=function(i,n){n=n||{};var c=typeof i;if(c==="string"&&i.length>0)return LK(i);else if(c==="number"&&isFinite(i))return n.long?FK(i):BK(i);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function LK(i){if(i=String(i),i.length>100)return;var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!n)return;var c=parseFloat(n[1]),a=(n[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return c*DK;case"weeks":case"week":case"w":return c*TK;case"days":case"day":case"d":return c*ec;case"hours":case"hour":case"hrs":case"hr":case"h":return c*Ec;case"minutes":case"minute":case"mins":case"min":case"m":return c*Nc;case"seconds":case"second":case"secs":case"sec":case"s":return c*Ac;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}function BK(i){var n=Math.abs(i);if(n>=ec)return Math.round(i/ec)+"d";if(n>=Ec)return Math.round(i/Ec)+"h";if(n>=Nc)return Math.round(i/Nc)+"m";if(n>=Ac)return Math.round(i/Ac)+"s";return i+"ms"}function FK(i){var n=Math.abs(i);if(n>=ec)return cs(i,n,ec,"day");if(n>=Ec)return cs(i,n,Ec,"hour");if(n>=Nc)return cs(i,n,Nc,"minute");if(n>=Ac)return cs(i,n,Ac,"second");return i+" ms"}function cs(i,n,c,a){var p=n>=c*1.5;return Math.round(i/c)+" "+a+(p?"s":"")}});var Fe=r((zC,Pr)=>{function gK(i){c.debug=c,c.default=c,c.coerce=o,c.disable=u,c.enable=p,c.enabled=e,c.humanize=Be(),c.destroy=t,Object.keys(i).forEach((m)=>{c[m]=i[m]}),c.names=[],c.skips=[],c.formatters={};function n(m){let d=0;for(let l=0;l<m.length;l++)d=(d<<5)-d+m.charCodeAt(l),d|=0;return c.colors[Math.abs(d)%c.colors.length]}c.selectColor=n;function c(m){let d,l=null,f,v;function b(...W){if(!b.enabled)return;let w=b,_=Number(new Date),K=_-(d||_);if(w.diff=K,w.prev=d,w.curr=_,d=_,W[0]=c.coerce(W[0]),typeof W[0]!=="string")W.unshift("%O");let G=0;W[0]=W[0].replace(/%([a-zA-Z%])/g,(S,oi)=>{if(S==="%%")return"%";G++;let Si=c.formatters[oi];if(typeof Si==="function"){let Oi=W[G];S=Si.call(w,Oi),W.splice(G,1),G--}return S}),c.formatArgs.call(w,W),(w.log||c.log).apply(w,W)}if(b.namespace=m,b.useColors=c.useColors(),b.color=c.selectColor(m),b.extend=a,b.destroy=c.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(l!==null)return l;if(f!==c.namespaces)f=c.namespaces,v=c.enabled(m);return v},set:(W)=>{l=W}}),typeof c.init==="function")c.init(b);return b}function a(m,d){let l=c(this.namespace+(typeof d>"u"?":":d)+m);return l.log=this.log,l}function p(m){c.save(m),c.namespaces=m,c.names=[],c.skips=[];let d=(typeof m==="string"?m:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let l of d)if(l[0]==="-")c.skips.push(l.slice(1));else c.names.push(l)}function s(m,d){let l=0,f=0,v=-1,b=0;while(l<m.length)if(f<d.length&&(d[f]===m[l]||d[f]==="*"))if(d[f]==="*")v=f,b=l,f++;else l++,f++;else if(v!==-1)f=v+1,b++,l=b;else return!1;while(f<d.length&&d[f]==="*")f++;return f===d.length}function u(){let m=[...c.names,...c.skips.map((d)=>"-"+d)].join(",");return c.enable(""),m}function e(m){for(let d of c.skips)if(s(m,d))return!1;for(let d of c.names)if(s(m,d))return!0;return!1}function o(m){if(m instanceof Error)return m.stack||m.message;return m}function t(){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 c.enable(c.load()),c}Pr.exports=gK});var Hr=r((Hi,as)=>{Hi.formatArgs=QK;Hi.save=kK;Hi.load=i_;Hi.useColors=UK;Hi.storage=n_();Hi.destroy=(()=>{let i=!1;return()=>{if(!i)i=!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`.")}})();Hi.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 UK(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let i;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function QK(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+as.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;i.splice(1,0,n,"color: inherit");let c=0,a=0;i[0].replace(/%[a-zA-Z%]/g,(p)=>{if(p==="%%")return;if(c++,p==="%c")a=c}),i.splice(a,0,n)}Hi.log=console.debug||console.log||(()=>{});function kK(i){try{if(i)Hi.storage.setItem("debug",i);else Hi.storage.removeItem("debug")}catch(n){}}function i_(){let i;try{i=Hi.storage.getItem("debug")||Hi.storage.getItem("DEBUG")}catch(n){}if(!i&&typeof process<"u"&&"env"in process)i=process.env.DEBUG;return i}function n_(){try{return localStorage}catch(i){}}as.exports=Fe()(Hi);var{formatters:c_}=as.exports;c_.j=function(i){try{return JSON.stringify(i)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}});var Vr={};te(Vr,{default:()=>e_,createSupportsColor:()=>Ue});function ji(i,n=globalThis.Deno?globalThis.Deno.args:ss.default.argv){let c=i.startsWith("-")?"":i.length===1?"-":"--",a=n.indexOf(c+i),p=n.indexOf("--");return a!==-1&&(p===-1||a<p)}function a_(){if(!("FORCE_COLOR"in g))return;if(g.FORCE_COLOR==="true")return 1;if(g.FORCE_COLOR==="false")return 0;if(g.FORCE_COLOR.length===0)return 1;let i=Math.min(Number.parseInt(g.FORCE_COLOR,10),3);if(![0,1,2,3].includes(i))return;return i}function p_(i){if(i===0)return!1;return{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3}}function s_(i,{streamIsTTY:n,sniffFlags:c=!0}={}){let a=a_();if(a!==void 0)ps=a;let p=c?ps:a;if(p===0)return 0;if(c){if(ji("color=16m")||ji("color=full")||ji("color=truecolor"))return 3;if(ji("color=256"))return 2}if("TF_BUILD"in g&&"AGENT_NAME"in g)return 1;if(i&&!n&&p===void 0)return 0;let s=p||0;if(g.TERM==="dumb")return s;if(ss.default.platform==="win32"){let u=Mr.default.release().split(".");if(Number(u[0])>=10&&Number(u[2])>=10586)return Number(u[2])>=14931?3:2;return 1}if("CI"in g){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((u)=>(u in g)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((u)=>(u in g))||g.CI_NAME==="codeship")return 1;return s}if("TEAMCITY_VERSION"in g)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0;if(g.COLORTERM==="truecolor")return 3;if(g.TERM==="xterm-kitty")return 3;if(g.TERM==="xterm-ghostty")return 3;if(g.TERM==="wezterm")return 3;if("TERM_PROGRAM"in g){let u=Number.parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return u>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(g.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM))return 1;if("COLORTERM"in g)return 1;return s}function Ue(i,n={}){let c=s_(i,{streamIsTTY:i&&i.isTTY,...n});return p_(c)}var ss,Mr,ge,g,ps,u_,e_;var Cr=PW(()=>{ss=k(require("node:process")),Mr=k(require("node:os")),ge=k(require("node:tty"));({env:g}=ss.default);if(ji("no-color")||ji("no-colors")||ji("color=false")||ji("color=never"))ps=0;else if(ji("color")||ji("colors")||ji("color=true")||ji("color=always"))ps=1;u_={stdout:Ue({isTTY:ge.default.isatty(1)}),stderr:Ue({isTTY:ge.default.isatty(2)})},e_=u_});var Ar=r((fi,es)=>{var o_=require("tty"),us=require("util");fi.init=f_;fi.log=x_;fi.formatArgs=m_;fi.save=r_;fi.load=l_;fi.useColors=t_;fi.destroy=us.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");fi.colors=[6,2,3,4,5,1];try{let i=(Cr(),gd(Vr));if(i&&(i.stderr||i).level>=2)fi.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(i){}fi.inspectOpts=Object.keys(process.env).filter((i)=>{return/^debug_/i.test(i)}).reduce((i,n)=>{let c=n.substring(6).toLowerCase().replace(/_([a-z])/g,(p,s)=>{return s.toUpperCase()}),a=process.env[n];if(/^(yes|on|true|enabled)$/i.test(a))a=!0;else if(/^(no|off|false|disabled)$/i.test(a))a=!1;else if(a==="null")a=null;else a=Number(a);return i[c]=a,i},{});function t_(){return"colors"in fi.inspectOpts?Boolean(fi.inspectOpts.colors):o_.isatty(process.stderr.fd)}function m_(i){let{namespace:n,useColors:c}=this;if(c){let a=this.color,p="\x1B[3"+(a<8?a:"8;5;"+a),s=` ${p};1m${n} \x1B[0m`;i[0]=s+i[0].split(`
11
+ */var Ki=ml(),JS=require("path").extname,hl=/^\s*([^;\s]*)(?:;|\s|$)/,WS=/^text\//i;Ne.charset=xl;Ne.charsets={lookup:xl};Ne.contentType=zS;Ne.extension=MS;Ne.extensions=Object.create(null);Ne.lookup=GS;Ne.types=Object.create(null);VS(Ne.extensions,Ne.types);function xl(e){if(!e||typeof e!=="string")return!1;var t=hl.exec(e),r=t&&Ki[t[1].toLowerCase()];if(r&&r.charset)return r.charset;if(t&&WS.test(t[1]))return"UTF-8";return!1}function zS(e){if(!e||typeof e!=="string")return!1;var t=e.indexOf("/")===-1?Ne.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Ne.charset(t);if(r)t+="; charset="+r.toLowerCase()}return t}function MS(e){if(!e||typeof e!=="string")return!1;var t=hl.exec(e),r=t&&Ne.extensions[t[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]}function GS(e){if(!e||typeof e!=="string")return!1;var t=JS("x."+e).toLowerCase().substr(1);if(!t)return!1;return Ne.types[t]||!1}function VS(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Ki).forEach(function(i){var o=Ki[i],s=o.extensions;if(!s||!s.length)return;e[i]=s;for(var a=0;a<s.length;a++){var c=s[a];if(t[c]){var p=r.indexOf(Ki[t[c]].source),u=r.indexOf(o.source);if(t[c]!=="application/octet-stream"&&(p>u||p===u&&t[c].substr(0,12)==="application/"))continue}t[c]=i}})}});var vl=g(function(d2,yl){yl.exports=XS;function XS(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t)t(e);else setTimeout(e,0)}});var oa=g(function(f2,wl){var bl=vl();wl.exports=YS;function YS(e){var t=!1;return bl(function(){t=!0}),function(n,i){if(t)e(n,i);else bl(function(){e(n,i)})}}});var sa=g(function(m2,El){El.exports=ZS;function ZS(e){Object.keys(e.jobs).forEach(QS.bind(e)),e.jobs={}}function QS(e){if(typeof this.jobs[e]=="function")this.jobs[e]()}});var aa=g(function(h2,Al){var Sl=oa(),e0=sa();Al.exports=t0;function t0(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=r0(t,i,e[i],function(o,s){if(!(i in r.jobs))return;if(delete r.jobs[i],o)e0(r);else r.results[i]=s;n(o,r.results)})}function r0(e,t,r,n){var i;if(e.length==2)i=e(r,Sl(n));else i=e(r,t,Sl(n));return i}});var ca=g(function(x2,Rl){Rl.exports=n0;function n0(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};if(t)n.keyedList.sort(r?t:function(i,o){return t(e[i],e[o])});return n}});var pa=g(function(g2,Tl){var i0=sa(),o0=oa();Tl.exports=s0;function s0(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,i0(this),o0(e)(null,this.results)}});var kl=g(function(y2,_l){var a0=aa(),c0=ca(),p0=pa();_l.exports=u0;function u0(e,t,r){var n=c0(e);while(n.index<(n.keyedList||e).length)a0(e,t,n,function(i,o){if(i){r(i,o);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return p0.bind(n,r)}});var ua=g(function(v2,Hi){var Ol=aa(),l0=ca(),d0=pa();Hi.exports=f0;Hi.exports.ascending=Cl;Hi.exports.descending=m0;function f0(e,t,r,n){var i=l0(e,r);return Ol(e,t,i,function o(s,a){if(s){n(s,a);return}if(i.index++,i.index<(i.keyedList||e).length){Ol(e,t,i,o);return}n(null,i.results)}),d0.bind(i,n)}function Cl(e,t){return e<t?-1:e>t?1:0}function m0(e,t){return-1*Cl(e,t)}});var Il=g(function(b2,Pl){var h0=ua();Pl.exports=x0;function x0(e,t,r){return h0(e,t,null,r)}});var Ll=g(function(w2,jl){jl.exports={parallel:kl(),serial:Il(),serialOrdered:ua()}});var la=g(function(E2,Nl){Nl.exports=Object});var Dl=g(function(S2,ql){ql.exports=Error});var Fl=g(function(A2,Ul){Ul.exports=EvalError});var Bl=g(function(R2,$l){$l.exports=RangeError});var Hl=g(function(T2,Kl){Kl.exports=ReferenceError});var Wl=g(function(_2,Jl){Jl.exports=SyntaxError});var Ji=g(function(k2,zl){zl.exports=TypeError});var Gl=g(function(O2,Ml){Ml.exports=URIError});var Xl=g(function(C2,Vl){Vl.exports=Math.abs});var Zl=g(function(P2,Yl){Yl.exports=Math.floor});var ed=g(function(I2,Ql){Ql.exports=Math.max});var rd=g(function(j2,td){td.exports=Math.min});var id=g(function(L2,nd){nd.exports=Math.pow});var sd=g(function(N2,od){od.exports=Math.round});var cd=g(function(q2,ad){ad.exports=Number.isNaN||function(t){return t!==t}});var ud=g(function(D2,pd){var g0=cd();pd.exports=function(t){if(g0(t)||t===0)return t;return t<0?-1:1}});var dd=g(function(U2,ld){ld.exports=Object.getOwnPropertyDescriptor});var da=g(function(F2,fd){var Wi=dd();if(Wi)try{Wi([],"length")}catch(e){Wi=null}fd.exports=Wi});var hd=g(function($2,md){var zi=Object.defineProperty||!1;if(zi)try{zi({},"a",{value:1})}catch(e){zi=!1}md.exports=zi});var fa=g(function(B2,xd){xd.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r==="string")return!1;if(Object.prototype.toString.call(r)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys==="function"&&Object.keys(t).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0}});var vd=g(function(K2,yd){var gd=typeof Symbol<"u"&&Symbol,y0=fa();yd.exports=function(){if(typeof gd!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof gd("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return y0()}});var ma=g(function(H2,bd){bd.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ha=g(function(J2,wd){var v0=la();wd.exports=v0.getPrototypeOf||null});var Ad=g(function(W2,Sd){var b0="Function.prototype.bind called on incompatible ",w0=Object.prototype.toString,E0=Math.max,S0="[object Function]",Ed=function(t,r){var n=[];for(var i=0;i<t.length;i+=1)n[i]=t[i];for(var o=0;o<r.length;o+=1)n[o+t.length]=r[o];return n},A0=function(t,r){var n=[];for(var i=r||0,o=0;i<t.length;i+=1,o+=1)n[o]=t[i];return n},R0=function(e,t){var r="";for(var n=0;n<e.length;n+=1)if(r+=e[n],n+1<e.length)r+=t;return r};Sd.exports=function(t){var r=this;if(typeof r!=="function"||w0.apply(r)!==S0)throw TypeError(b0+r);var n=A0(arguments,1),i,o=function(){if(this instanceof i){var u=r.apply(this,Ed(n,arguments));if(Object(u)===u)return u;return this}return r.apply(t,Ed(n,arguments))},s=E0(0,r.length-n.length),a=[];for(var c=0;c<s;c++)a[c]="$"+c;if(i=Function("binder","return function ("+R0(a,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var p=function(){};p.prototype=r.prototype,i.prototype=new p,p.prototype=null}return i}});var Ln=g(function(z2,Rd){var T0=Ad();Rd.exports=Function.prototype.bind||T0});var Mi=g(function(M2,Td){Td.exports=Function.prototype.call});var xa=g(function(G2,_d){_d.exports=Function.prototype.apply});var Od=g(function(V2,kd){kd.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Pd=g(function(X2,Cd){var _0=Ln(),k0=xa(),O0=Mi(),C0=Od();Cd.exports=C0||_0.call(O0,k0)});var jd=g(function(Y2,Id){var P0=Ln(),I0=Ji(),j0=Mi(),L0=Pd();Id.exports=function(t){if(t.length<1||typeof t[0]!=="function")throw new I0("a function is required");return L0(P0,j0,t)}});var Fd=g(function(Z2,Ud){var N0=jd(),Ld=da(),qd;try{qd=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var ga=!!qd&&Ld&&Ld(Object.prototype,"__proto__"),Dd=Object,Nd=Dd.getPrototypeOf;Ud.exports=ga&&typeof ga.get==="function"?N0([ga.get]):typeof Nd==="function"?function(t){return Nd(t==null?t:Dd(t))}:!1});var Jd=g(function(Q2,Hd){var $d=ma(),Bd=ha(),Kd=Fd();Hd.exports=$d?function(t){return $d(t)}:Bd?function(t){if(!t||typeof t!=="object"&&typeof t!=="function")throw TypeError("getProto: not an object");return Bd(t)}:Kd?function(t){return Kd(t)}:null});var Gi=g(function(eq,Wd){var q0=Function.prototype.call,D0=Object.prototype.hasOwnProperty,U0=Ln();Wd.exports=U0.call(q0,D0)});var Yd=g(function(tq,Xd){var U,F0=la(),$0=Dl(),B0=Fl(),K0=Bl(),H0=Hl(),Ir=Wl(),Pr=Ji(),J0=Gl(),W0=Xl(),z0=Zl(),M0=ed(),G0=rd(),V0=id(),X0=sd(),Y0=ud(),Gd=Function,ya=function(e){try{return Gd('"use strict"; return ('+e+").constructor;")()}catch(t){}},Nn=da(),Z0=hd(),va=function(){throw new Pr},Q0=Nn?function(){try{return arguments.callee,va}catch(e){try{return Nn(arguments,"callee").get}catch(t){return va}}}():va,Or=vd()(),Ee=Jd(),eA=ha(),tA=ma(),Vd=xa(),qn=Mi(),Cr={},rA=typeof Uint8Array>"u"||!Ee?U:Ee(Uint8Array),Zt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":Or&&Ee?Ee([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":Cr,"%AsyncGenerator%":Cr,"%AsyncGeneratorFunction%":Cr,"%AsyncIteratorPrototype%":Cr,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$0,"%eval%":eval,"%EvalError%":B0,"%Float16Array%":typeof Float16Array>"u"?U:Float16Array,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":Gd,"%GeneratorFunction%":Cr,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Or&&Ee?Ee(Ee([][Symbol.iterator]())):U,"%JSON%":typeof JSON==="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Or||!Ee?U:Ee(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":F0,"%Object.getOwnPropertyDescriptor%":Nn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":K0,"%ReferenceError%":H0,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Or||!Ee?U:Ee(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Or&&Ee?Ee(""[Symbol.iterator]()):U,"%Symbol%":Or?Symbol:U,"%SyntaxError%":Ir,"%ThrowTypeError%":Q0,"%TypedArray%":rA,"%TypeError%":Pr,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":J0,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet,"%Function.prototype.call%":qn,"%Function.prototype.apply%":Vd,"%Object.defineProperty%":Z0,"%Object.getPrototypeOf%":eA,"%Math.abs%":W0,"%Math.floor%":z0,"%Math.max%":M0,"%Math.min%":G0,"%Math.pow%":V0,"%Math.round%":X0,"%Math.sign%":Y0,"%Reflect.getPrototypeOf%":tA};if(Ee)try{null.error}catch(e){ba=Ee(Ee(e)),Zt["%Error.prototype%"]=ba}var ba,nA=function e(t){var r;if(t==="%AsyncFunction%")r=ya("async function () {}");else if(t==="%GeneratorFunction%")r=ya("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ya("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");if(n)r=n.prototype}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");if(i&&Ee)r=Ee(i.prototype)}return Zt[t]=r,r},zd={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Dn=Ln(),Vi=Gi(),iA=Dn.call(qn,Array.prototype.concat),oA=Dn.call(Vd,Array.prototype.splice),Md=Dn.call(qn,String.prototype.replace),Xi=Dn.call(qn,String.prototype.slice),sA=Dn.call(qn,RegExp.prototype.exec),aA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,cA=/\\(\\)?/g,pA=function(t){var r=Xi(t,0,1),n=Xi(t,-1);if(r==="%"&&n!=="%")throw new Ir("invalid intrinsic syntax, expected closing `%`");else if(n==="%"&&r!=="%")throw new Ir("invalid intrinsic syntax, expected opening `%`");var i=[];return Md(t,aA,function(o,s,a,c){i[i.length]=a?Md(c,cA,"$1"):s||o}),i},uA=function(t,r){var n=t,i;if(Vi(zd,n))i=zd[n],n="%"+i[0]+"%";if(Vi(Zt,n)){var o=Zt[n];if(o===Cr)o=nA(n);if(typeof o>"u"&&!r)throw new Pr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Ir("intrinsic "+t+" does not exist!")};Xd.exports=function(t,r){if(typeof t!=="string"||t.length===0)throw new Pr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!=="boolean")throw new Pr('"allowMissing" argument must be a boolean');if(sA(/^%?[^%]*%?$/,t)===null)throw new Ir("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=pA(t),i=n.length>0?n[0]:"",o=uA("%"+i+"%",r),s=o.name,a=o.value,c=!1,p=o.alias;if(p)i=p[0],oA(n,iA([0,1],p));for(var u=1,l=!0;u<n.length;u+=1){var d=n[u],m=Xi(d,0,1),y=Xi(d,-1);if((m==='"'||m==="'"||m==="`"||(y==='"'||y==="'"||y==="`"))&&m!==y)throw new Ir("property names with quotes must have matching quotes");if(d==="constructor"||!l)c=!0;if(i+="."+d,s="%"+i+"%",Vi(Zt,s))a=Zt[s];else if(a!=null){if(!(d in a)){if(!r)throw new Pr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Nn&&u+1>=n.length){var x=Nn(a,d);if(l=!!x,l&&"get"in x&&!("originalValue"in x.get))a=x.get;else a=a[d]}else l=Vi(a,d),a=a[d];if(l&&!c)Zt[s]=a}}return a}});var Qd=g(function(rq,Zd){var lA=fa();Zd.exports=function(){return lA()&&!!Symbol.toStringTag}});var rf=g(function(nq,tf){var dA=Yd(),ef=dA("%Object.defineProperty%",!0),fA=Qd()(),mA=Gi(),hA=Ji(),Yi=fA?Symbol.toStringTag:null;tf.exports=function(t,r){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!=="boolean"||typeof i<"u"&&typeof i!=="boolean")throw new hA("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Yi&&(n||!mA(t,Yi)))if(ef)ef(t,Yi,{configurable:!i,enumerable:!1,value:r,writable:!1});else t[Yi]=r}});var of=g(function(iq,nf){nf.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var cf=g(function(oq,af){var Aa=ll(),xA=require("util"),wa=require("path"),gA=require("http"),yA=require("https"),vA=require("url").parse,bA=require("fs"),wA=require("stream").Stream,EA=require("crypto"),Ea=gl(),SA=Ll(),AA=rf(),Ot=Gi(),Sa=of();function sf(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function H(e){if(!(this instanceof H))return new H(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Aa.call(this),e=e||{};for(var t in e)this[t]=e[t]}xA.inherits(H,Aa);H.LINE_BREAK=`\r
12
+ `;H.DEFAULT_CONTENT_TYPE="application/octet-stream";H.prototype.append=function(e,t,r){if(r=r||{},typeof r==="string")r={filename:r};var n=Aa.prototype.append.bind(this);if(typeof t==="number"||t==null)t=String(t);if(Array.isArray(t)){this._error(Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,r),o=this._multiPartFooter();n(i),n(t),n(o),this._trackLength(i,t,r)};H.prototype._trackLength=function(e,t,r){var n=0;if(r.knownLength!=null)n+=Number(r.knownLength);else if(Buffer.isBuffer(t))n=t.length;else if(typeof t==="string")n=Buffer.byteLength(t);if(this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+H.LINE_BREAK.length,!t||!t.path&&!(t.readable&&Ot(t,"httpVersion"))&&!(t instanceof wA))return;if(!r.knownLength)this._valuesToMeasure.push(t)};H.prototype._lengthRetriever=function(e,t){if(Ot(e,"fd"))if(e.end!=null&&e.end!=1/0&&e.start!=null)t(null,e.end+1-(e.start?e.start:0));else bA.stat(e.path,function(r,n){if(r){t(r);return}var i=n.size-(e.start?e.start:0);t(null,i)});else if(Ot(e,"httpVersion"))t(null,Number(e.headers["content-length"]));else if(Ot(e,"httpModule"))e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume();else t("Unknown stream")};H.prototype._multiPartHeader=function(e,t,r){if(typeof r.header==="string")return r.header;var n=this._getContentDisposition(t,r),i=this._getContentType(t,r),o="",s={"Content-Disposition":["form-data",'name="'+sf(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};if(typeof r.header==="object")Sa(s,r.header);var a;for(var c in s)if(Ot(s,c)){if(a=s[c],a==null)continue;if(!Array.isArray(a))a=[a];if(a.length)o+=c+": "+a.join("; ")+H.LINE_BREAK}return"--"+this.getBoundary()+H.LINE_BREAK+o+H.LINE_BREAK};H.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath==="string")r=wa.normalize(t.filepath).replace(/\\/g,"/");else if(t.filename||e&&(e.name||e.path))r=wa.basename(t.filename||e&&(e.name||e.path));else if(e&&e.readable&&Ot(e,"httpVersion"))r=wa.basename(e.client._httpMessage.path||"");if(r)return'filename="'+sf(r)+'"'};H.prototype._getContentType=function(e,t){var r=t.contentType;if(!r&&e&&e.name)r=Ea.lookup(e.name);if(!r&&e&&e.path)r=Ea.lookup(e.path);if(!r&&e&&e.readable&&Ot(e,"httpVersion"))r=e.headers["content-type"];if(!r&&(t.filepath||t.filename))r=Ea.lookup(t.filepath||t.filename);if(!r&&e&&typeof e==="object")r=H.DEFAULT_CONTENT_TYPE;return r};H.prototype._multiPartFooter=function(){return function(e){var t=H.LINE_BREAK,r=this._streams.length===0;if(r)t+=this._lastBoundary();e(t)}.bind(this)};H.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+H.LINE_BREAK};H.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)if(Ot(e,t))r[t.toLowerCase()]=e[t];return r};H.prototype.setBoundary=function(e){if(typeof e!=="string")throw TypeError("FormData boundary must be a string");this._boundary=e};H.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};H.prototype.getBuffer=function(){var e=new Buffer.alloc(0),t=this.getBoundary();for(var r=0,n=this._streams.length;r<n;r++)if(typeof this._streams[r]!=="function"){if(Buffer.isBuffer(this._streams[r]))e=Buffer.concat([e,this._streams[r]]);else e=Buffer.concat([e,Buffer.from(this._streams[r])]);if(typeof this._streams[r]!=="string"||this._streams[r].substring(2,t.length+2)!==t)e=Buffer.concat([e,Buffer.from(H.LINE_BREAK)])}return Buffer.concat([e,Buffer.from(this._lastBoundary())])};H.prototype._generateBoundary=function(){this._boundary="--------------------------"+EA.randomBytes(12).toString("hex")};H.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length)e+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return e};H.prototype.hasKnownLength=function(){var e=!0;if(this._valuesToMeasure.length)e=!1;return e};H.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length)t+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}SA.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};H.prototype.submit=function(e,t){var r,n,i={method:"post"};if(typeof e==="string")e=vA(e),n=Sa({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i);else if(n=Sa(e,i),!n.port)n.port=n.protocol==="https:"?443:80;if(n.headers=this.getHeaders(e.headers),n.protocol==="https:")r=yA.request(n);else r=gA.request(n);return this.getLength(function(o,s){if(o&&o!=="Unknown stream"){this._error(o);return}if(s)r.setHeader("Content-Length",s);if(this.pipe(r),t){var a,c=function(p,u){return r.removeListener("error",c),r.removeListener("response",a),t.call(this,p,u)};a=c.bind(this,null),r.on("error",c),r.on("response",a)}}.bind(this)),r};H.prototype._error=function(e){if(!this.error)this.error=e,this.pause(),this.emit("error",e)};H.prototype.toString=function(){return"[object FormData]"};AA(H.prototype,"FormData");af.exports=H});var Ua=g(function(oD,_f){var Nr=1000,qr=Nr*60,Dr=qr*60,tr=Dr*24,zA=tr*7,MA=tr*365.25;_f.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return GA(e);else if(r==="number"&&isFinite(e))return t.long?XA(e):VA(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function GA(e){if(e=String(e),e.length>100)return;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)return;var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*MA;case"weeks":case"week":case"w":return r*zA;case"days":case"day":case"d":return r*tr;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Dr;case"minutes":case"minute":case"mins":case"min":case"m":return r*qr;case"seconds":case"second":case"secs":case"sec":case"s":return r*Nr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function VA(e){var t=Math.abs(e);if(t>=tr)return Math.round(e/tr)+"d";if(t>=Dr)return Math.round(e/Dr)+"h";if(t>=qr)return Math.round(e/qr)+"m";if(t>=Nr)return Math.round(e/Nr)+"s";return e+"ms"}function XA(e){var t=Math.abs(e);if(t>=tr)return to(e,t,tr,"day");if(t>=Dr)return to(e,t,Dr,"hour");if(t>=qr)return to(e,t,qr,"minute");if(t>=Nr)return to(e,t,Nr,"second");return e+" ms"}function to(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var Fa=g(function(sD,kf){function YA(e){r.debug=r,r.default=r,r.coerce=c,r.disable=s,r.enable=i,r.enabled=a,r.humanize=Ua(),r.destroy=p,Object.keys(e).forEach((u)=>{r[u]=e[u]}),r.names=[],r.skips=[],r.formatters={};function t(u){let l=0;for(let d=0;d<u.length;d++)l=(l<<5)-l+u.charCodeAt(d),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=t;function r(u){let l,d=null,m,y;function x(...v){if(!x.enabled)return;let h=x,b=Number(new Date),E=b-(l||b);if(h.diff=E,h.prev=l,h.curr=b,l=b,v[0]=r.coerce(v[0]),typeof v[0]!=="string")v.unshift("%O");let A=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(C,K)=>{if(C==="%%")return"%";A++;let te=r.formatters[K];if(typeof te==="function"){let F=v[A];C=te.call(h,F),v.splice(A,1),A--}return C}),r.formatArgs.call(h,v),(h.log||r.log).apply(h,v)}if(x.namespace=u,x.useColors=r.useColors(),x.color=r.selectColor(u),x.extend=n,x.destroy=r.destroy,Object.defineProperty(x,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(d!==null)return d;if(m!==r.namespaces)m=r.namespaces,y=r.enabled(u);return y},set:(v)=>{d=v}}),typeof r.init==="function")r.init(x);return x}function n(u,l){let d=r(this.namespace+(typeof l>"u"?":":l)+u);return d.log=this.log,d}function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let l=(typeof u==="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of l)if(d[0]==="-")r.skips.push(d.slice(1));else r.names.push(d)}function o(u,l){let d=0,m=0,y=-1,x=0;while(d<u.length)if(m<l.length&&(l[m]===u[d]||l[m]==="*"))if(l[m]==="*")y=m,x=d,m++;else d++,m++;else if(y!==-1)m=y+1,x++,d=x;else return!1;while(m<l.length&&l[m]==="*")m++;return m===l.length}function s(){let u=[...r.names,...r.skips.map((l)=>"-"+l)].join(",");return r.enable(""),u}function a(u){for(let l of r.skips)if(o(u,l))return!1;for(let l of r.names)if(o(u,l))return!0;return!1}function c(u){if(u instanceof Error)return u.stack||u.message;return u}function p(){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 r.enable(r.load()),r}kf.exports=YA});var Of=g(function(qe,ro){qe.formatArgs=QA;qe.save=eR;qe.load=tR;qe.useColors=ZA;qe.storage=rR();qe.destroy=(()=>{let e=!1;return()=>{if(!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`.")}})();qe.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 ZA(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function QA(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ro.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,(i)=>{if(i==="%%")return;if(r++,i==="%c")n=r}),e.splice(n,0,t)}qe.log=console.debug||console.log||(()=>{});function eR(e){try{if(e)qe.storage.setItem("debug",e);else qe.storage.removeItem("debug")}catch(t){}}function tR(){let e;try{e=qe.storage.getItem("debug")||qe.storage.getItem("DEBUG")}catch(t){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function rR(){try{return localStorage}catch(e){}}ro.exports=Fa()(qe);var{formatters:nR}=ro.exports;nR.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Pf={};Ar(Pf,{createSupportsColor:()=>Ba,default:()=>cR});function We(e,t=globalThis.Deno?globalThis.Deno.args:io.default.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}function iR(){if(!("FORCE_COLOR"in ie))return;if(ie.FORCE_COLOR==="true")return 1;if(ie.FORCE_COLOR==="false")return 0;if(ie.FORCE_COLOR.length===0)return 1;let e=Math.min(Number.parseInt(ie.FORCE_COLOR,10),3);if(![0,1,2,3].includes(e))return;return e}function oR(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function sR(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=iR();if(n!==void 0)no=n;let i=r?no:n;if(i===0)return 0;if(r){if(We("color=16m")||We("color=full")||We("color=truecolor"))return 3;if(We("color=256"))return 2}if("TF_BUILD"in ie&&"AGENT_NAME"in ie)return 1;if(e&&!t&&i===void 0)return 0;let o=i||0;if(ie.TERM==="dumb")return o;if(io.default.platform==="win32"){let s=Cf.default.release().split(".");if(Number(s[0])>=10&&Number(s[2])>=10586)return Number(s[2])>=14931?3:2;return 1}if("CI"in ie){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((s)=>(s in ie)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((s)=>(s in ie))||ie.CI_NAME==="codeship")return 1;return o}if("TEAMCITY_VERSION"in ie)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ie.TEAMCITY_VERSION)?1:0;if(ie.COLORTERM==="truecolor")return 3;if(ie.TERM==="xterm-kitty")return 3;if(ie.TERM==="xterm-ghostty")return 3;if(ie.TERM==="wezterm")return 3;if("TERM_PROGRAM"in ie){let s=Number.parseInt((ie.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ie.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ie.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ie.TERM))return 1;if("COLORTERM"in ie)return 1;return o}function Ba(e,t={}){let r=sR(e,{streamIsTTY:e&&e.isTTY,...t});return oR(r)}var io,Cf,$a,ie,no,aR,cR;var If=j(()=>{io=pe(require("node:process")),Cf=pe(require("node:os")),$a=pe(require("node:tty"));({env:ie}=io.default);if(We("no-color")||We("no-colors")||We("color=false")||We("color=never"))no=0;else if(We("color")||We("colors")||We("color=true")||We("color=always"))no=1;aR={stdout:Ba({isTTY:$a.default.isatty(1)}),stderr:Ba({isTTY:$a.default.isatty(2)})},cR=aR});var Lf=g(function(Se,so){var pR=require("tty"),oo=require("util");Se.init=xR;Se.log=fR;Se.formatArgs=lR;Se.save=mR;Se.load=hR;Se.useColors=uR;Se.destroy=oo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Se.colors=[6,2,3,4,5,1];try{let e=(If(),Di(Pf));if(e&&(e.stderr||e).level>=2)Se.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(e){}Se.inspectOpts=Object.keys(process.env).filter((e)=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n))n=!0;else if(/^(no|off|false|disabled)$/i.test(n))n=!1;else if(n==="null")n=null;else n=Number(n);return e[r]=n,e},{});function uR(){return"colors"in Se.inspectOpts?Boolean(Se.inspectOpts.colors):pR.isatty(process.stderr.fd)}function lR(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${t} \x1B[0m`;e[0]=o+e[0].split(`
13
13
  `).join(`
14
- `+s),i.push(p+"m+"+es.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=d_()+n+" "+i[0]}function d_(){if(fi.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function x_(...i){return process.stderr.write(us.formatWithOptions(fi.inspectOpts,...i)+`
15
- `)}function r_(i){if(i)process.env.DEBUG=i;else delete process.env.DEBUG}function l_(){return process.env.DEBUG}function f_(i){i.inspectOpts={};let n=Object.keys(fi.inspectOpts);for(let c=0;c<n.length;c++)i.inspectOpts[n[c]]=fi.inspectOpts[n[c]]}es.exports=Fe()(fi);var{formatters:Or}=es.exports;Or.o=function(i){return this.inspectOpts.colors=this.useColors,us.inspect(i,this.inspectOpts).split(`
16
- `).map((n)=>n.trim()).join(" ")};Or.O=function(i){return this.inspectOpts.colors=this.useColors,us.inspect(i,this.inspectOpts)}});var On=r((ZC,Qe)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Qe.exports=Hr();else Qe.exports=Ar()});var Nr=r((ke)=>{Object.defineProperty(ke,"__esModule",{value:!0});function v_(i){return function(n,c){return new Promise((a,p)=>{i.call(this,n,c,(s,u)=>{if(s)p(s);else a(u)})})}}ke.default=v_});var Rr=r((no,yr)=>{var Er=no&&no.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},w_=require("events"),b_=Er(On()),W_=Er(Nr()),Ea=b_.default("agent-base");function q_(i){return Boolean(i)&&typeof i.addRequest==="function"}function io(){let{stack:i}=Error();if(typeof i!=="string")return!1;return i.split(`
17
- `).some((n)=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}function os(i,n){return new os.Agent(i,n)}(function(i){class n extends w_.EventEmitter{constructor(c,a){super();let p=a;if(typeof c==="function")this.callback=c;else if(c)p=c;if(this.timeout=null,p&&typeof p.timeout==="number")this.timeout=p.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return io()?443:80}set defaultPort(c){this.explicitDefaultPort=c}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return io()?"https:":"http:"}set protocol(c){this.explicitProtocol=c}callback(c,a,p){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(c,a){let p=Object.assign({},a);if(typeof p.secureEndpoint!=="boolean")p.secureEndpoint=io();if(p.host==null)p.host="localhost";if(p.port==null)p.port=p.secureEndpoint?443:80;if(p.protocol==null)p.protocol=p.secureEndpoint?"https:":"http:";if(p.host&&p.path)delete p.path;delete p.agent,delete p.hostname,delete p._defaultAgent,delete p.defaultPort,delete p.createConnection,c._last=!0,c.shouldKeepAlive=!1;let s=!1,u=null,e=p.timeout||this.timeout,o=(l)=>{if(c._hadError)return;c.emit("error",l),c._hadError=!0},t=()=>{u=null,s=!0;let l=Error(`A "socket" was not created for HTTP request before ${e}ms`);l.code="ETIMEOUT",o(l)},m=(l)=>{if(s)return;if(u!==null)clearTimeout(u),u=null;o(l)},d=(l)=>{if(s)return;if(u!=null)clearTimeout(u),u=null;if(q_(l)){Ea("Callback returned another Agent instance %o",l.constructor.name),l.addRequest(c,p);return}if(l){l.once("free",()=>{this.freeSocket(l,p)}),c.onSocket(l);return}let f=Error(`no Duplex stream was returned to agent-base for \`${c.method} ${c.path}\``);o(f)};if(typeof this.callback!=="function"){o(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)Ea("Converting legacy callback function to promise"),this.promisifiedCallback=W_.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof e==="number"&&e>0)u=setTimeout(t,e);if("port"in p&&typeof p.port!=="number")p.port=Number(p.port);try{Ea("Resolving socket for %o request: %o",p.protocol,`${c.method} ${c.path}`),Promise.resolve(this.promisifiedCallback(c,p)).then(d,m)}catch(l){Promise.reject(l).catch(m)}}freeSocket(c,a){Ea("Freeing socket %o %o",c.constructor.name,a),c.destroy()}destroy(){Ea("Destroying agent %o",this.constructor.name)}}i.Agent=n,i.prototype=i.Agent.prototype})(os||(os={}));yr.exports=os});var jr=r((Ra)=>{var K_=Ra&&Ra.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ra,"__esModule",{value:!0});var __=K_(On()),ya=__.default("https-proxy-agent:parse-proxy-response");function J_(i){return new Promise((n,c)=>{let a=0,p=[];function s(){let d=i.read();if(d)m(d);else i.once("readable",s)}function u(){i.removeListener("end",o),i.removeListener("error",t),i.removeListener("close",e),i.removeListener("readable",s)}function e(d){ya("onclose had error %o",d)}function o(){ya("onend")}function t(d){u(),ya("onerror %o",d),c(d)}function m(d){p.push(d),a+=d.length;let l=Buffer.concat(p,a);if(l.indexOf(`\r
14
+ `+o),e.push(i+"m+"+so.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=dR()+t+" "+e[0]}function dR(){if(Se.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function fR(...e){return process.stderr.write(oo.formatWithOptions(Se.inspectOpts,...e)+`
15
+ `)}function mR(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function hR(){return process.env.DEBUG}function xR(e){e.inspectOpts={};let t=Object.keys(Se.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Se.inspectOpts[t[r]]}so.exports=Fa()(Se);var{formatters:jf}=so.exports;jf.o=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts).split(`
16
+ `).map((t)=>t.trim()).join(" ")};jf.O=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts)}});var It=g(function(aD,Ka){if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Ka.exports=Of();else Ka.exports=Lf()});var Nf=g(function(Ha){Object.defineProperty(Ha,"__esModule",{value:!0});function gR(e){return function(t,r){return new Promise((n,i)=>{e.call(this,t,r,(o,s)=>{if(o)i(o);else n(s)})})}}Ha.default=gR});var Uf=g(function(Wa,Df){var qf=Wa&&Wa.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},yR=require("events"),vR=qf(It()),bR=qf(Nf()),$n=vR.default("agent-base");function wR(e){return Boolean(e)&&typeof e.addRequest==="function"}function Ja(){let{stack:e}=Error();if(typeof e!=="string")return!1;return e.split(`
17
+ `).some((t)=>t.indexOf("(https.js:")!==-1||t.indexOf("node:https:")!==-1)}function ao(e,t){return new ao.Agent(e,t)}(function(e){class t extends yR.EventEmitter{constructor(r,n){super();let i=n;if(typeof r==="function")this.callback=r;else if(r)i=r;if(this.timeout=null,i&&typeof i.timeout==="number")this.timeout=i.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return Ja()?443:80}set defaultPort(r){this.explicitDefaultPort=r}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return Ja()?"https:":"http:"}set protocol(r){this.explicitProtocol=r}callback(r,n,i){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(r,n){let i=Object.assign({},n);if(typeof i.secureEndpoint!=="boolean")i.secureEndpoint=Ja();if(i.host==null)i.host="localhost";if(i.port==null)i.port=i.secureEndpoint?443:80;if(i.protocol==null)i.protocol=i.secureEndpoint?"https:":"http:";if(i.host&&i.path)delete i.path;delete i.agent,delete i.hostname,delete i._defaultAgent,delete i.defaultPort,delete i.createConnection,r._last=!0,r.shouldKeepAlive=!1;let o=!1,s=null,a=i.timeout||this.timeout,c=(d)=>{if(r._hadError)return;r.emit("error",d),r._hadError=!0},p=()=>{s=null,o=!0;let d=Error(`A "socket" was not created for HTTP request before ${a}ms`);d.code="ETIMEOUT",c(d)},u=(d)=>{if(o)return;if(s!==null)clearTimeout(s),s=null;c(d)},l=(d)=>{if(o)return;if(s!=null)clearTimeout(s),s=null;if(wR(d)){$n("Callback returned another Agent instance %o",d.constructor.name),d.addRequest(r,i);return}if(d){d.once("free",()=>{this.freeSocket(d,i)}),r.onSocket(d);return}let m=Error(`no Duplex stream was returned to agent-base for \`${r.method} ${r.path}\``);c(m)};if(typeof this.callback!=="function"){c(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)$n("Converting legacy callback function to promise"),this.promisifiedCallback=bR.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof a==="number"&&a>0)s=setTimeout(p,a);if("port"in i&&typeof i.port!=="number")i.port=Number(i.port);try{$n("Resolving socket for %o request: %o",i.protocol,`${r.method} ${r.path}`),Promise.resolve(this.promisifiedCallback(r,i)).then(l,u)}catch(d){Promise.reject(d).catch(u)}}freeSocket(r,n){$n("Freeing socket %o %o",r.constructor.name,n),r.destroy()}destroy(){$n("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype})(ao||(ao={}));Df.exports=ao});var Ff=g(function(Kn){var ER=Kn&&Kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kn,"__esModule",{value:!0});var SR=ER(It()),Bn=SR.default("https-proxy-agent:parse-proxy-response");function AR(e){return new Promise((t,r)=>{let n=0,i=[];function o(){let l=e.read();if(l)u(l);else e.once("readable",o)}function s(){e.removeListener("end",c),e.removeListener("error",p),e.removeListener("close",a),e.removeListener("readable",o)}function a(l){Bn("onclose had error %o",l)}function c(){Bn("onend")}function p(l){s(),Bn("onerror %o",l),r(l)}function u(l){i.push(l),n+=l.length;let d=Buffer.concat(i,n);if(d.indexOf(`\r
18
18
  \r
19
- `)===-1){ya("have not received end of HTTP headers yet..."),s();return}let v=l.toString("ascii",0,l.indexOf(`\r
20
- `)),b=+v.split(" ")[1];ya("got proxy server response: %o",v),n({statusCode:b,buffered:l})}i.on("error",t),i.on("close",e),i.on("end",o),s()})}Ra.default=J_});var Br=r((oc)=>{var $_=oc&&oc.__awaiter||function(i,n,c,a){function p(s){return s instanceof c?s:new c(function(u){u(s)})}return new(c||(c=Promise))(function(s,u){function e(m){try{t(a.next(m))}catch(d){u(d)}}function o(m){try{t(a.throw(m))}catch(d){u(d)}}function t(m){m.done?s(m.value):p(m.value).then(e,o)}t((a=a.apply(i,n||[])).next())})},yc=oc&&oc.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(oc,"__esModule",{value:!0});var Tr=yc(require("net")),Dr=yc(require("tls")),h_=yc(require("url")),z_=yc(require("assert")),Z_=yc(On()),G_=Rr(),Y_=yc(jr()),ja=Z_.default("https-proxy-agent:agent");class Lr extends G_.Agent{constructor(i){let n;if(typeof i==="string")n=h_.default.parse(i);else n=i;if(!n)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");ja("creating new HttpsProxyAgent instance: %o",n);super(n);let c=Object.assign({},n);if(this.secureProxy=n.secureProxy||I_(c.protocol),c.host=c.hostname||c.host,typeof c.port==="string")c.port=parseInt(c.port,10);if(!c.port&&c.host)c.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in c))c.ALPNProtocols=["http 1.1"];if(c.host&&c.path)delete c.path,delete c.pathname;this.proxy=c}callback(i,n){return $_(this,void 0,void 0,function*(){let{proxy:c,secureProxy:a}=this,p;if(a)ja("Creating `tls.Socket`: %o",c),p=Dr.default.connect(c);else ja("Creating `net.Socket`: %o",c),p=Tr.default.connect(c);let s=Object.assign({},c.headers),e=`CONNECT ${`${n.host}:${n.port}`} HTTP/1.1\r
21
- `;if(c.auth)s["Proxy-Authorization"]=`Basic ${Buffer.from(c.auth).toString("base64")}`;let{host:o,port:t,secureEndpoint:m}=n;if(!S_(t,m))o+=`:${t}`;s.Host=o,s.Connection="close";for(let b of Object.keys(s))e+=`${b}: ${s[b]}\r
22
- `;let d=Y_.default(p);p.write(`${e}\r
23
- `);let{statusCode:l,buffered:f}=yield d;if(l===200){if(i.once("socket",X_),n.secureEndpoint){ja("Upgrading socket connection to TLS");let b=n.servername||n.host;return Dr.default.connect(Object.assign(Object.assign({},P_(n,"host","hostname","path","port")),{socket:p,servername:b}))}return p}p.destroy();let v=new Tr.default.Socket({writable:!1});return v.readable=!0,i.once("socket",(b)=>{ja("replaying proxy buffer for failed request"),z_.default(b.listenerCount("data")>0),b.push(f),b.push(null)}),v})}}oc.default=Lr;function X_(i){i.resume()}function S_(i,n){return Boolean(!n&&i===80||n&&i===443)}function I_(i){return typeof i==="string"?/^https:?$/i.test(i):!1}function P_(i,...n){let c={},a;for(a in i)if(!n.includes(a))c[a]=i[a];return c}});var gr=r((po,Fr)=>{var H_=po&&po.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},co=H_(Br());function ao(i){return new co.default(i)}(function(i){i.HttpsProxyAgent=co.default,i.prototype=co.default.prototype})(ao||(ao={}));Fr.exports=ao});var Qr=r((SC,Ur)=>{var Ta;Ur.exports=function(){if(!Ta){try{Ta=On()("follow-redirects")}catch(i){}if(typeof Ta!=="function")Ta=function(){}}Ta.apply(null,arguments)}});var al=r((IC,wo)=>{var La=require("url"),Da=La.URL,M_=require("http"),V_=require("https"),to=require("stream").Writable,mo=require("assert"),kr=Qr();(function(){var n=typeof process<"u",c=typeof window<"u"&&typeof document<"u",a=mc(Error.captureStackTrace);if(!n&&(c||!a))console.warn("The follow-redirects package should be excluded from browser builds.")})();var xo=!1;try{mo(new Da(""))}catch(i){xo=i.code==="ERR_INVALID_URL"}var C_=["Authorization","Proxy-Authorization","Cookie"],O_=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],ro=["abort","aborted","connect","error","socket","timeout"],lo=Object.create(null);ro.forEach(function(i){lo[i]=function(n,c,a){this._redirectable.emit(i,n,c,a)}});var uo=Ba("ERR_INVALID_URL","Invalid URL",TypeError),eo=Ba("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),A_=Ba("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",eo),N_=Ba("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),E_=Ba("ERR_STREAM_WRITE_AFTER_END","write after end"),y_=to.prototype.destroy||nl;function Mi(i,n){if(to.call(this),this._sanitizeOptions(i),this._options=i,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n)this.on("response",n);var c=this;this._onNativeResponse=function(a){try{c._processResponse(a)}catch(p){c.emit("error",p instanceof eo?p:new eo({cause:p}))}},this._headerFilter=new RegExp("^(?:"+C_.concat(i.sensitiveHeaders).map(B_).join("|")+")$","i"),this._performRequest()}Mi.prototype=Object.create(to.prototype);Mi.prototype.abort=function(){vo(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Mi.prototype.destroy=function(i){return vo(this._currentRequest,i),y_.call(this,i),this};Mi.prototype.write=function(i,n,c){if(this._ending)throw new E_;if(!tc(i)&&!D_(i))throw TypeError("data should be a string, Buffer or Uint8Array");if(mc(n))c=n,n=null;if(i.length===0){if(c)c();return}if(this._requestBodyLength+i.length<=this._options.maxBodyLength)this._requestBodyLength+=i.length,this._requestBodyBuffers.push({data:i,encoding:n}),this._currentRequest.write(i,n,c);else this.emit("error",new N_),this.abort()};Mi.prototype.end=function(i,n,c){if(mc(i))c=i,i=n=null;else if(mc(n))c=n,n=null;if(!i)this._ended=this._ending=!0,this._currentRequest.end(null,null,c);else{var a=this,p=this._currentRequest;this.write(i,n,function(){a._ended=!0,p.end(null,null,c)}),this._ending=!0}};Mi.prototype.setHeader=function(i,n){this._options.headers[i]=n,this._currentRequest.setHeader(i,n)};Mi.prototype.removeHeader=function(i){delete this._options.headers[i],this._currentRequest.removeHeader(i)};Mi.prototype.setTimeout=function(i,n){var c=this;function a(u){u.setTimeout(i),u.removeListener("timeout",u.destroy),u.addListener("timeout",u.destroy)}function p(u){if(c._timeout)clearTimeout(c._timeout);c._timeout=setTimeout(function(){c.emit("timeout"),s()},i),a(u)}function s(){if(c._timeout)clearTimeout(c._timeout),c._timeout=null;if(c.removeListener("abort",s),c.removeListener("error",s),c.removeListener("response",s),c.removeListener("close",s),n)c.removeListener("timeout",n);if(!c.socket)c._currentRequest.removeListener("socket",p)}if(n)this.on("timeout",n);if(this.socket)p(this.socket);else this._currentRequest.once("socket",p);return this.on("socket",a),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(i){Mi.prototype[i]=function(n,c){return this._currentRequest[i](n,c)}});["aborted","connection","socket"].forEach(function(i){Object.defineProperty(Mi.prototype,i,{get:function(){return this._currentRequest[i]}})});Mi.prototype._sanitizeOptions=function(i){if(!i.headers)i.headers={};if(!T_(i.sensitiveHeaders))i.sensitiveHeaders=[];if(i.host){if(!i.hostname)i.hostname=i.host;delete i.host}if(!i.pathname&&i.path){var n=i.path.indexOf("?");if(n<0)i.pathname=i.path;else i.pathname=i.path.substring(0,n),i.search=i.path.substring(n)}};Mi.prototype._performRequest=function(){var i=this._options.protocol,n=this._options.nativeProtocols[i];if(!n)throw TypeError("Unsupported protocol "+i);if(this._options.agents){var c=i.slice(0,-1);this._options.agent=this._options.agents[c]}var a=this._currentRequest=n.request(this._options,this._onNativeResponse);a._redirectable=this;for(var p of ro)a.on(p,lo[p]);if(this._currentUrl=/^\//.test(this._options.path)?La.format(this._options):this._options.path,this._isRedirect){var s=0,u=this,e=this._requestBodyBuffers;(function o(t){if(a===u._currentRequest){if(t)u.emit("error",t);else if(s<e.length){var m=e[s++];if(!a.finished)a.write(m.data,m.encoding,o)}else if(u._ended)a.end()}})()}};Mi.prototype._processResponse=function(i){var n=i.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:i.headers,statusCode:n});var c=i.headers.location;if(!c||this._options.followRedirects===!1||n<300||n>=400){i.responseUrl=this._currentUrl,i.redirects=this._redirects,this.emit("response",i),this._requestBodyBuffers=[];return}if(vo(this._currentRequest),i.destroy(),++this._redirectCount>this._options.maxRedirects)throw new A_;var a,p=this._options.beforeRedirect;if(p)a=Object.assign({Host:i.req.getHeader("host")},this._options.headers);var s=this._options.method;if((n===301||n===302)&&this._options.method==="POST"||n===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],so(/^content-/i,this._options.headers);var u=so(/^host$/i,this._options.headers),e=fo(this._currentUrl),o=u||e.host,t=/^\w+:/.test(c)?this._currentUrl:La.format(Object.assign(e,{host:o})),m=R_(c,t);if(kr("redirecting to",m.href),this._isRedirect=!0,oo(m,this._options),m.protocol!==e.protocol&&m.protocol!=="https:"||m.host!==o&&!j_(m.host,o))so(this._headerFilter,this._options.headers);if(mc(p)){var d={headers:i.headers,statusCode:n},l={url:t,method:s,headers:a};p(this._options,d,l),this._sanitizeOptions(this._options)}this._performRequest()};function il(i){var n={maxRedirects:21,maxBodyLength:10485760},c={};return Object.keys(i).forEach(function(a){var p=a+":",s=c[p]=i[a],u=n[a]=Object.create(s);function e(t,m,d){if(L_(t))t=oo(t);else if(tc(t))t=oo(fo(t));else d=m,m=cl(t),t={protocol:p};if(mc(m))d=m,m=null;if(m=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},t,m),m.nativeProtocols=c,!tc(m.host)&&!tc(m.hostname))m.hostname="::1";return mo.equal(m.protocol,p,"protocol mismatch"),kr("options",m),new Mi(m,d)}function o(t,m,d){var l=u.request(t,m,d);return l.end(),l}Object.defineProperties(u,{request:{value:e,configurable:!0,enumerable:!0,writable:!0},get:{value:o,configurable:!0,enumerable:!0,writable:!0}})}),n}function nl(){}function fo(i){var n;if(xo)n=new Da(i);else if(n=cl(La.parse(i)),!tc(n.protocol))throw new uo({input:i});return n}function R_(i,n){return xo?new Da(i,n):fo(La.resolve(n,i))}function cl(i){if(/^\[/.test(i.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(i.hostname))throw new uo({input:i.href||i});if(/^\[/.test(i.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(i.host))throw new uo({input:i.href||i});return i}function oo(i,n){var c=n||{};for(var a of O_)c[a]=i[a];if(c.hostname.startsWith("["))c.hostname=c.hostname.slice(1,-1);if(c.port!=="")c.port=Number(c.port);return c.path=c.search?c.pathname+c.search:c.pathname,c}function so(i,n){var c;for(var a in n)if(i.test(a))c=n[a],delete n[a];return c===null||typeof c>"u"?void 0:String(c).trim()}function Ba(i,n,c){function a(p){if(mc(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,p||{}),this.code=i,this.message=this.cause?n+": "+this.cause.message:n}return a.prototype=new(c||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+i+"]",enumerable:!1}}),a}function vo(i,n){for(var c of ro)i.removeListener(c,lo[c]);i.on("error",nl),i.destroy(n)}function j_(i,n){mo(tc(i)&&tc(n));var c=i.length-n.length-1;return c>0&&i[c]==="."&&i.endsWith(n)}function T_(i){return i instanceof Array}function tc(i){return typeof i==="string"||i instanceof String}function mc(i){return typeof i==="function"}function D_(i){return typeof i==="object"&&"length"in i}function L_(i){return Da&&i instanceof Da}function B_(i){return i.replace(/[\]\\/()*+?.$]/g,"\\$&")}wo.exports=il({http:M_,https:V_});wo.exports.wrap=il});var Tc=r((Ro,qf)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var ws=require("buffer"),wn=ws.Buffer;function Wf(i,n){for(var c in i)n[c]=i[c]}if(wn.from&&wn.alloc&&wn.allocUnsafe&&wn.allocUnsafeSlow)qf.exports=ws;else Wf(ws,Ro),Ro.Buffer=xc;function xc(i,n,c){return wn(i,n,c)}xc.prototype=Object.create(wn.prototype);Wf(wn,xc);xc.from=function(i,n,c){if(typeof i==="number")throw TypeError("Argument must not be a number");return wn(i,n,c)};xc.alloc=function(i,n,c){if(typeof i!=="number")throw TypeError("Argument must be a number");var a=wn(i);if(n!==void 0)if(typeof c==="string")a.fill(n,c);else a.fill(n);else a.fill(0);return a};xc.allocUnsafe=function(i){if(typeof i!=="number")throw TypeError("Argument must be a number");return wn(i)};xc.allocUnsafeSlow=function(i){if(typeof i!=="number")throw TypeError("Argument must be a number");return ws.SlowBuffer(i)}});var jo=r((MN,Kf)=>{var bs=Tc().Buffer,o3=require("stream"),t3=require("util");function Ws(i){if(this.buffer=null,this.writable=!0,this.readable=!0,!i)return this.buffer=bs.alloc(0),this;if(typeof i.pipe==="function")return this.buffer=bs.alloc(0),i.pipe(this),this;if(i.length||typeof i==="object")return this.buffer=i,this.writable=!1,process.nextTick(function(){this.emit("end",i),this.readable=!1,this.emit("close")}.bind(this)),this;throw TypeError("Unexpected data type ("+typeof i+")")}t3.inherits(Ws,o3);Ws.prototype.write=function(n){this.buffer=bs.concat([this.buffer,bs.from(n)]),this.emit("data",n)};Ws.prototype.end=function(n){if(n)this.write(n);this.emit("end",n),this.emit("close"),this.writable=!1,this.readable=!1};Kf.exports=Ws});var Jf=r((VN,_f)=>{function To(i){var n=(i/8|0)+(i%8===0?0:1);return n}var m3={ES256:To(256),ES384:To(384),ES512:To(521)};function d3(i){var n=m3[i];if(n)return n;throw Error('Unknown algorithm "'+i+'"')}_f.exports=d3});var Xf=r((CN,Yf)=>{var qs=Tc().Buffer,hf=Jf(),Ks=128,zf=0,x3=32,r3=16,l3=2,Zf=r3|x3|zf<<6,_s=l3|zf<<6;function f3(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Gf(i){if(qs.isBuffer(i))return i;else if(typeof i==="string")return qs.from(i,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function v3(i,n){i=Gf(i);var c=hf(n),a=c+1,p=i.length,s=0;if(i[s++]!==Zf)throw Error('Could not find expected "seq"');var u=i[s++];if(u===(Ks|1))u=i[s++];if(p-s<u)throw Error('"seq" specified length of "'+u+'", only "'+(p-s)+'" remaining');if(i[s++]!==_s)throw Error('Could not find expected "int" for "r"');var e=i[s++];if(p-s-2<e)throw Error('"r" specified length of "'+e+'", only "'+(p-s-2)+'" available');if(a<e)throw Error('"r" specified length of "'+e+'", max of "'+a+'" is acceptable');var o=s;if(s+=e,i[s++]!==_s)throw Error('Could not find expected "int" for "s"');var t=i[s++];if(p-s!==t)throw Error('"s" specified length of "'+t+'", expected "'+(p-s)+'"');if(a<t)throw Error('"s" specified length of "'+t+'", max of "'+a+'" is acceptable');var m=s;if(s+=t,s!==p)throw Error('Expected to consume entire buffer, but "'+(p-s)+'" bytes remain');var d=c-e,l=c-t,f=qs.allocUnsafe(d+e+l+t);for(s=0;s<d;++s)f[s]=0;i.copy(f,s,o+Math.max(-d,0),o+e),s=c;for(var v=s;s<v+l;++s)f[s]=0;return i.copy(f,s,m+Math.max(-l,0),m+t),f=f.toString("base64"),f=f3(f),f}function $f(i,n,c){var a=0;while(n+a<c&&i[n+a]===0)++a;var p=i[n+a]>=Ks;if(p)--a;return a}function w3(i,n){i=Gf(i);var c=hf(n),a=i.length;if(a!==c*2)throw TypeError('"'+n+'" signatures must be "'+c*2+'" bytes, saw "'+a+'"');var p=$f(i,0,c),s=$f(i,c,i.length),u=c-p,e=c-s,o=2+u+1+1+e,t=o<Ks,m=qs.allocUnsafe((t?2:3)+o),d=0;if(m[d++]=Zf,t)m[d++]=o;else m[d++]=Ks|1,m[d++]=o&255;if(m[d++]=_s,m[d++]=u,p<0)m[d++]=0,d+=i.copy(m,d,0,c);else d+=i.copy(m,d,p,c);if(m[d++]=_s,m[d++]=e,s<0)m[d++]=0,i.copy(m,d,c);else i.copy(m,d,c+s);return m}Yf.exports={derToJose:v3,joseToDer:w3}});var If=r((ON,Sf)=>{var cp=require("buffer").Buffer,Do=require("buffer").SlowBuffer;Sf.exports=Js;function Js(i,n){if(!cp.isBuffer(i)||!cp.isBuffer(n))return!1;if(i.length!==n.length)return!1;var c=0;for(var a=0;a<i.length;a++)c|=i[a]^n[a];return c===0}Js.install=function(){cp.prototype.equal=Do.prototype.equal=function(n){return Js(this,n)}};var b3=cp.prototype.equal,W3=Do.prototype.equal;Js.restore=function(){cp.prototype.equal=b3,Do.prototype.equal=W3}});var go=r((AN,Ef)=>{var Lc=Tc().Buffer,Di=require("crypto"),Hf=Xf(),Pf=require("util"),q3=`"%s" is not a valid algorithm.
19
+ `)===-1){Bn("have not received end of HTTP headers yet..."),o();return}let y=d.toString("ascii",0,d.indexOf(`\r
20
+ `)),x=+y.split(" ")[1];Bn("got proxy server response: %o",y),t({statusCode:x,buffered:d})}e.on("error",p),e.on("close",a),e.on("end",c),o()})}Kn.default=AR});var Hf=g(function(rr){var RR=rr&&rr.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{p(n.next(u))}catch(l){s(l)}}function c(u){try{p(n.throw(u))}catch(l){s(l)}}function p(u){u.done?o(u.value):i(u.value).then(a,c)}p((n=n.apply(e,t||[])).next())})},Ur=rr&&rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rr,"__esModule",{value:!0});var $f=Ur(require("net")),Bf=Ur(require("tls")),TR=Ur(require("url")),_R=Ur(require("assert")),kR=Ur(It()),OR=Uf(),CR=Ur(Ff()),Hn=kR.default("https-proxy-agent:agent");class Kf extends OR.Agent{constructor(e){let t;if(typeof e==="string")t=TR.default.parse(e);else t=e;if(!t)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");Hn("creating new HttpsProxyAgent instance: %o",t);super(t);let r=Object.assign({},t);if(this.secureProxy=t.secureProxy||jR(r.protocol),r.host=r.hostname||r.host,typeof r.port==="string")r.port=parseInt(r.port,10);if(!r.port&&r.host)r.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in r))r.ALPNProtocols=["http 1.1"];if(r.host&&r.path)delete r.path,delete r.pathname;this.proxy=r}callback(e,t){return RR(this,void 0,void 0,function*(){let{proxy:r,secureProxy:n}=this,i;if(n)Hn("Creating `tls.Socket`: %o",r),i=Bf.default.connect(r);else Hn("Creating `net.Socket`: %o",r),i=$f.default.connect(r);let o=Object.assign({},r.headers),a=`CONNECT ${`${t.host}:${t.port}`} HTTP/1.1\r
21
+ `;if(r.auth)o["Proxy-Authorization"]=`Basic ${Buffer.from(r.auth).toString("base64")}`;let{host:c,port:p,secureEndpoint:u}=t;if(!IR(p,u))c+=`:${p}`;o.Host=c,o.Connection="close";for(let x of Object.keys(o))a+=`${x}: ${o[x]}\r
22
+ `;let l=CR.default(i);i.write(`${a}\r
23
+ `);let{statusCode:d,buffered:m}=yield l;if(d===200){if(e.once("socket",PR),t.secureEndpoint){Hn("Upgrading socket connection to TLS");let x=t.servername||t.host;return Bf.default.connect(Object.assign(Object.assign({},LR(t,"host","hostname","path","port")),{socket:i,servername:x}))}return i}i.destroy();let y=new $f.default.Socket({writable:!1});return y.readable=!0,e.once("socket",(x)=>{Hn("replaying proxy buffer for failed request"),_R.default(x.listenerCount("data")>0),x.push(m),x.push(null)}),y})}}rr.default=Kf;function PR(e){e.resume()}function IR(e,t){return Boolean(!t&&e===80||t&&e===443)}function jR(e){return typeof e==="string"?/^https:?$/i.test(e):!1}function LR(e,...t){let r={},n;for(n in e)if(!t.includes(n))r[n]=e[n];return r}});var Wf=g(function(Ga,Jf){var NR=Ga&&Ga.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},za=NR(Hf());function Ma(e){return new za.default(e)}(function(e){e.HttpsProxyAgent=za.default,e.prototype=za.default.prototype})(Ma||(Ma={}));Jf.exports=Ma});var Mf=g(function(lD,zf){var Jn;zf.exports=function(){if(!Jn){try{Jn=It()("follow-redirects")}catch(e){}if(typeof Jn!=="function")Jn=function(){}}Jn.apply(null,arguments)}});var Zf=g(function(dD,sc){var zn=require("url"),Wn=zn.URL,qR=require("http"),DR=require("https"),Qa=require("stream").Writable,ec=require("assert"),Gf=Mf();(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=ir(Error.captureStackTrace);if(!t&&(r||!n))console.warn("The follow-redirects package should be excluded from browser builds.")})();var tc=!1;try{ec(new Wn(""))}catch(e){tc=e.code==="ERR_INVALID_URL"}var UR=["Authorization","Proxy-Authorization","Cookie"],FR=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],rc=["abort","aborted","connect","error","socket","timeout"],nc=Object.create(null);rc.forEach(function(e){nc[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var Xa=Mn("ERR_INVALID_URL","Invalid URL",TypeError),Ya=Mn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),$R=Mn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Ya),BR=Mn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),KR=Mn("ERR_STREAM_WRITE_AFTER_END","write after end"),HR=Qa.prototype.destroy||Xf;function De(e,t){if(Qa.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t)this.on("response",t);var r=this;this._onNativeResponse=function(n){try{r._processResponse(n)}catch(i){r.emit("error",i instanceof Ya?i:new Ya({cause:i}))}},this._headerFilter=new RegExp("^(?:"+UR.concat(e.sensitiveHeaders).map(VR).join("|")+")$","i"),this._performRequest()}De.prototype=Object.create(Qa.prototype);De.prototype.abort=function(){oc(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};De.prototype.destroy=function(e){return oc(this._currentRequest,e),HR.call(this,e),this};De.prototype.write=function(e,t,r){if(this._ending)throw new KR;if(!nr(e)&&!MR(e))throw TypeError("data should be a string, Buffer or Uint8Array");if(ir(t))r=t,t=null;if(e.length===0){if(r)r();return}if(this._requestBodyLength+e.length<=this._options.maxBodyLength)this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r);else this.emit("error",new BR),this.abort()};De.prototype.end=function(e,t,r){if(ir(e))r=e,e=t=null;else if(ir(t))r=t,t=null;if(!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(e,t,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};De.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};De.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};De.prototype.setTimeout=function(e,t){var r=this;function n(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function i(s){if(r._timeout)clearTimeout(r._timeout);r._timeout=setTimeout(function(){r.emit("timeout"),o()},e),n(s)}function o(){if(r._timeout)clearTimeout(r._timeout),r._timeout=null;if(r.removeListener("abort",o),r.removeListener("error",o),r.removeListener("response",o),r.removeListener("close",o),t)r.removeListener("timeout",t);if(!r.socket)r._currentRequest.removeListener("socket",i)}if(t)this.on("timeout",t);if(this.socket)i(this.socket);else this._currentRequest.once("socket",i);return this.on("socket",n),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){De.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(De.prototype,e,{get:function(){return this._currentRequest[e]}})});De.prototype._sanitizeOptions=function(e){if(!e.headers)e.headers={};if(!zR(e.sensitiveHeaders))e.sensitiveHeaders=[];if(e.host){if(!e.hostname)e.hostname=e.host;delete e.host}if(!e.pathname&&e.path){var t=e.path.indexOf("?");if(t<0)e.pathname=e.path;else e.pathname=e.path.substring(0,t),e.search=e.path.substring(t)}};De.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of rc)n.on(i,nc[i]);if(this._currentUrl=/^\//.test(this._options.path)?zn.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,a=this._requestBodyBuffers;(function c(p){if(n===s._currentRequest){if(p)s.emit("error",p);else if(o<a.length){var u=a[o++];if(!n.finished)n.write(u.data,u.encoding,c)}else if(s._ended)n.end()}})()}};De.prototype._processResponse=function(e){var t=e.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(oc(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new $R;var n,i=this._options.beforeRedirect;if(i)n=Object.assign({Host:e.req.getHeader("host")},this._options.headers);var o=this._options.method;if((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],Va(/^content-/i,this._options.headers);var s=Va(/^host$/i,this._options.headers),a=ic(this._currentUrl),c=s||a.host,p=/^\w+:/.test(r)?this._currentUrl:zn.format(Object.assign(a,{host:c})),u=JR(r,p);if(Gf("redirecting to",u.href),this._isRedirect=!0,Za(u,this._options),u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==c&&!WR(u.host,c))Va(this._headerFilter,this._options.headers);if(ir(i)){var l={headers:e.headers,statusCode:t},d={url:p,method:o,headers:n};i(this._options,l,d),this._sanitizeOptions(this._options)}this._performRequest()};function Vf(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(n){var i=n+":",o=r[i]=e[n],s=t[n]=Object.create(o);function a(p,u,l){if(GR(p))p=Za(p);else if(nr(p))p=Za(ic(p));else l=u,u=Yf(p),p={protocol:i};if(ir(u))l=u,u=null;if(u=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},p,u),u.nativeProtocols=r,!nr(u.host)&&!nr(u.hostname))u.hostname="::1";return ec.equal(u.protocol,i,"protocol mismatch"),Gf("options",u),new De(u,l)}function c(p,u,l){var d=s.request(p,u,l);return d.end(),d}Object.defineProperties(s,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function Xf(){}function ic(e){var t;if(tc)t=new Wn(e);else if(t=Yf(zn.parse(e)),!nr(t.protocol))throw new Xa({input:e});return t}function JR(e,t){return tc?new Wn(e,t):ic(zn.resolve(t,e))}function Yf(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Xa({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Xa({input:e.href||e});return e}function Za(e,t){var r=t||{};for(var n of FR)r[n]=e[n];if(r.hostname.startsWith("["))r.hostname=r.hostname.slice(1,-1);if(r.port!=="")r.port=Number(r.port);return r.path=r.search?r.pathname+r.search:r.pathname,r}function Va(e,t){var r;for(var n in t)if(e.test(n))r=t[n],delete t[n];return r===null||typeof r>"u"?void 0:String(r).trim()}function Mn(e,t,r){function n(i){if(ir(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,i||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return n.prototype=new(r||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}function oc(e,t){for(var r of rc)e.removeListener(r,nc[r]);e.on("error",Xf),e.destroy(t)}function WR(e,t){ec(nr(e)&&nr(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function zR(e){return e instanceof Array}function nr(e){return typeof e==="string"||e instanceof String}function ir(e){return typeof e==="function"}function MR(e){return typeof e==="object"&&"length"in e}function GR(e){return Wn&&e instanceof Wn}function VR(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}sc.exports=Vf({http:qR,https:DR});sc.exports.wrap=Vf});var Kr=g(function(Pc,mh){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var go=require("buffer"),ft=go.Buffer;function fh(e,t){for(var r in e)t[r]=e[r]}if(ft.from&&ft.alloc&&ft.allocUnsafe&&ft.allocUnsafeSlow)mh.exports=go;else fh(go,Pc),Pc.Buffer=sr;function sr(e,t,r){return ft(e,t,r)}sr.prototype=Object.create(ft.prototype);fh(ft,sr);sr.from=function(e,t,r){if(typeof e==="number")throw TypeError("Argument must not be a number");return ft(e,t,r)};sr.alloc=function(e,t,r){if(typeof e!=="number")throw TypeError("Argument must be a number");var n=ft(e);if(t!==void 0)if(typeof r==="string")n.fill(t,r);else n.fill(t);else n.fill(0);return n};sr.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return ft(e)};sr.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return go.SlowBuffer(e)}});var Ic=g(function(h$,hh){var yo=Kr().Buffer,p_=require("stream"),u_=require("util");function vo(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=yo.alloc(0),this;if(typeof e.pipe==="function")return this.buffer=yo.alloc(0),e.pipe(this),this;if(e.length||typeof e==="object")return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw TypeError("Unexpected data type ("+typeof e+")")}u_.inherits(vo,p_);vo.prototype.write=function(t){this.buffer=yo.concat([this.buffer,yo.from(t)]),this.emit("data",t)};vo.prototype.end=function(t){if(t)this.write(t);this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1};hh.exports=vo});var gh=g(function(x$,xh){function jc(e){var t=(e/8|0)+(e%8===0?0:1);return t}var l_={ES256:jc(256),ES384:jc(384),ES512:jc(521)};function d_(e){var t=l_[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}xh.exports=d_});var Ah=g(function(g$,Sh){var bo=Kr().Buffer,vh=gh(),wo=128,bh=0,f_=32,m_=16,h_=2,wh=m_|f_|bh<<6,Eo=h_|bh<<6;function x_(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Eh(e){if(bo.isBuffer(e))return e;else if(typeof e==="string")return bo.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function g_(e,t){e=Eh(e);var r=vh(t),n=r+1,i=e.length,o=0;if(e[o++]!==wh)throw Error('Could not find expected "seq"');var s=e[o++];if(s===(wo|1))s=e[o++];if(i-o<s)throw Error('"seq" specified length of "'+s+'", only "'+(i-o)+'" remaining');if(e[o++]!==Eo)throw Error('Could not find expected "int" for "r"');var a=e[o++];if(i-o-2<a)throw Error('"r" specified length of "'+a+'", only "'+(i-o-2)+'" available');if(n<a)throw Error('"r" specified length of "'+a+'", max of "'+n+'" is acceptable');var c=o;if(o+=a,e[o++]!==Eo)throw Error('Could not find expected "int" for "s"');var p=e[o++];if(i-o!==p)throw Error('"s" specified length of "'+p+'", expected "'+(i-o)+'"');if(n<p)throw Error('"s" specified length of "'+p+'", max of "'+n+'" is acceptable');var u=o;if(o+=p,o!==i)throw Error('Expected to consume entire buffer, but "'+(i-o)+'" bytes remain');var l=r-a,d=r-p,m=bo.allocUnsafe(l+a+d+p);for(o=0;o<l;++o)m[o]=0;e.copy(m,o,c+Math.max(-l,0),c+a),o=r;for(var y=o;o<y+d;++o)m[o]=0;return e.copy(m,o,u+Math.max(-d,0),u+p),m=m.toString("base64"),m=x_(m),m}function yh(e,t,r){var n=0;while(t+n<r&&e[t+n]===0)++n;var i=e[t+n]>=wo;if(i)--n;return n}function y_(e,t){e=Eh(e);var r=vh(t),n=e.length;if(n!==r*2)throw TypeError('"'+t+'" signatures must be "'+r*2+'" bytes, saw "'+n+'"');var i=yh(e,0,r),o=yh(e,r,e.length),s=r-i,a=r-o,c=2+s+1+1+a,p=c<wo,u=bo.allocUnsafe((p?2:3)+c),l=0;if(u[l++]=wh,p)u[l++]=c;else u[l++]=wo|1,u[l++]=c&255;if(u[l++]=Eo,u[l++]=s,i<0)u[l++]=0,l+=e.copy(u,l,0,r);else l+=e.copy(u,l,i,r);if(u[l++]=Eo,u[l++]=a,o<0)u[l++]=0,e.copy(u,l,r);else e.copy(u,l,r+o);return u}Sh.exports={derToJose:g_,joseToDer:y_}});var Th=g(function(y$,Rh){var ti=require("buffer").Buffer,Lc=require("buffer").SlowBuffer;Rh.exports=So;function So(e,t){if(!ti.isBuffer(e)||!ti.isBuffer(t))return!1;if(e.length!==t.length)return!1;var r=0;for(var n=0;n<e.length;n++)r|=e[n]^t[n];return r===0}So.install=function(){ti.prototype.equal=Lc.prototype.equal=function(t){return So(this,t)}};var v_=ti.prototype.equal,b_=Lc.prototype.equal;So.restore=function(){ti.prototype.equal=v_,Lc.prototype.equal=b_}});var Uc=g(function(v$,Nh){var Jr=Kr().Buffer,Me=require("crypto"),kh=Ah(),_h=require("util"),w_=`"%s" is not a valid algorithm.
24
24
  Supported algorithms are:
25
- "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,ap="secret must be a string or buffer",Dc="key must be a string or a buffer",K3="key must be a string, a buffer or an object",Bo=typeof Di.createPublicKey==="function";if(Bo)Dc+=" or a KeyObject",ap+="or a KeyObject";function Mf(i){if(Lc.isBuffer(i))return;if(typeof i==="string")return;if(!Bo)throw un(Dc);if(typeof i!=="object")throw un(Dc);if(typeof i.type!=="string")throw un(Dc);if(typeof i.asymmetricKeyType!=="string")throw un(Dc);if(typeof i.export!=="function")throw un(Dc)}function Vf(i){if(Lc.isBuffer(i))return;if(typeof i==="string")return;if(typeof i==="object")return;throw un(K3)}function _3(i){if(Lc.isBuffer(i))return;if(typeof i==="string")return i;if(!Bo)throw un(ap);if(typeof i!=="object")throw un(ap);if(i.type!=="secret")throw un(ap);if(typeof i.export!=="function")throw un(ap)}function Fo(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Cf(i){i=i.toString();var n=4-i.length%4;if(n!==4)for(var c=0;c<n;++c)i+="=";return i.replace(/\-/g,"+").replace(/_/g,"/")}function un(i){var n=[].slice.call(arguments,1),c=Pf.format.bind(Pf,i).apply(null,n);return TypeError(c)}function J3(i){return Lc.isBuffer(i)||typeof i==="string"}function pp(i){if(!J3(i))i=JSON.stringify(i);return i}function Of(i){return function(c,a){_3(a),c=pp(c);var p=Di.createHmac("sha"+i,a),s=(p.update(c),p.digest("base64"));return Fo(s)}}var Lo,$3="timingSafeEqual"in Di?function(n,c){if(n.byteLength!==c.byteLength)return!1;return Di.timingSafeEqual(n,c)}:function(n,c){if(!Lo)Lo=If();return Lo(n,c)};function h3(i){return function(c,a,p){var s=Of(i)(c,p);return $3(Lc.from(a),Lc.from(s))}}function Af(i){return function(c,a){Vf(a),c=pp(c);var p=Di.createSign("RSA-SHA"+i),s=(p.update(c),p.sign(a,"base64"));return Fo(s)}}function Nf(i){return function(c,a,p){Mf(p),c=pp(c),a=Cf(a);var s=Di.createVerify("RSA-SHA"+i);return s.update(c),s.verify(p,a,"base64")}}function z3(i){return function(c,a){Vf(a),c=pp(c);var p=Di.createSign("RSA-SHA"+i),s=(p.update(c),p.sign({key:a,padding:Di.constants.RSA_PKCS1_PSS_PADDING,saltLength:Di.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return Fo(s)}}function Z3(i){return function(c,a,p){Mf(p),c=pp(c),a=Cf(a);var s=Di.createVerify("RSA-SHA"+i);return s.update(c),s.verify({key:p,padding:Di.constants.RSA_PKCS1_PSS_PADDING,saltLength:Di.constants.RSA_PSS_SALTLEN_DIGEST},a,"base64")}}function G3(i){var n=Af(i);return function(){var a=n.apply(null,arguments);return a=Hf.derToJose(a,"ES"+i),a}}function Y3(i){var n=Nf(i);return function(a,p,s){p=Hf.joseToDer(p,"ES"+i).toString("base64");var u=n(a,p,s);return u}}function X3(){return function(){return""}}function S3(){return function(n,c){return c===""}}Ef.exports=function(n){var c={hs:Of,rs:Af,ps:z3,es:G3,none:X3},a={hs:h3,rs:Nf,ps:Z3,es:Y3,none:S3},p=n.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!p)throw un(q3,n);var s=(p[1]||p[3]).toLowerCase(),u=p[2];return{sign:c[s](u),verify:a[s](u)}}});var Uo=r((NN,yf)=>{var I3=require("buffer").Buffer;yf.exports=function(n){if(typeof n==="string")return n;if(typeof n==="number"||I3.isBuffer(n))return n.toString();return JSON.stringify(n)}});var Bf=r((EN,Lf)=>{var P3=Tc().Buffer,Rf=jo(),H3=go(),M3=require("stream"),jf=Uo(),Qo=require("util");function Tf(i,n){return P3.from(i,n).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function V3(i,n,c){c=c||"utf8";var a=Tf(jf(i),"binary"),p=Tf(jf(n),c);return Qo.format("%s.%s",a,p)}function Df(i){var{header:n,payload:c}=i,a=i.secret||i.privateKey,p=i.encoding,s=H3(n.alg),u=V3(n,c,p),e=s.sign(u,a);return Qo.format("%s.%s",u,e)}function $s(i){var n=i.secret;if(n=n==null?i.privateKey:n,n=n==null?i.key:n,/^hs/i.test(i.header.alg)===!0&&n==null)throw TypeError("secret must be a string or buffer or a KeyObject");var c=new Rf(n);this.readable=!0,this.header=i.header,this.encoding=i.encoding,this.secret=this.privateKey=this.key=c,this.payload=new Rf(i.payload),this.secret.once("close",function(){if(!this.payload.writable&&this.readable)this.sign()}.bind(this)),this.payload.once("close",function(){if(!this.secret.writable&&this.readable)this.sign()}.bind(this))}Qo.inherits($s,M3);$s.prototype.sign=function(){try{var n=Df({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",n),this.emit("data",n),this.emit("end"),this.readable=!1,n}catch(c){this.readable=!1,this.emit("error",c),this.emit("close")}};$s.sign=Df;Lf.exports=$s});var pv=r((yN,av)=>{var gf=Tc().Buffer,Ff=jo(),C3=go(),O3=require("stream"),Uf=Uo(),A3=require("util"),N3=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function E3(i){return Object.prototype.toString.call(i)==="[object Object]"}function y3(i){if(E3(i))return i;try{return JSON.parse(i)}catch(n){return}}function Qf(i){var n=i.split(".",1)[0];return y3(gf.from(n,"base64").toString("binary"))}function R3(i){return i.split(".",2).join(".")}function kf(i){return i.split(".")[2]}function j3(i,n){n=n||"utf8";var c=i.split(".")[1];return gf.from(c,"base64").toString(n)}function iv(i){return N3.test(i)&&!!Qf(i)}function nv(i,n,c){if(!n){var a=Error("Missing algorithm parameter for jws.verify");throw a.code="MISSING_ALGORITHM",a}i=Uf(i);var p=kf(i),s=R3(i),u=C3(n);return u.verify(s,p,c)}function cv(i,n){if(n=n||{},i=Uf(i),!iv(i))return null;var c=Qf(i);if(!c)return null;var a=j3(i);if(c.typ==="JWT"||n.json)a=JSON.parse(a,n.encoding);return{header:c,payload:a,signature:kf(i)}}function Bc(i){i=i||{};var n=i.secret;if(n=n==null?i.publicKey:n,n=n==null?i.key:n,/^hs/i.test(i.algorithm)===!0&&n==null)throw TypeError("secret must be a string or buffer or a KeyObject");var c=new Ff(n);this.readable=!0,this.algorithm=i.algorithm,this.encoding=i.encoding,this.secret=this.publicKey=this.key=c,this.signature=new Ff(i.signature),this.secret.once("close",function(){if(!this.signature.writable&&this.readable)this.verify()}.bind(this)),this.signature.once("close",function(){if(!this.secret.writable&&this.readable)this.verify()}.bind(this))}A3.inherits(Bc,O3);Bc.prototype.verify=function(){try{var n=nv(this.signature.buffer,this.algorithm,this.key.buffer),c=cv(this.signature.buffer,this.encoding);return this.emit("done",n,c),this.emit("data",n),this.emit("end"),this.readable=!1,n}catch(a){this.readable=!1,this.emit("error",a),this.emit("close")}};Bc.decode=cv;Bc.isValid=iv;Bc.verify=nv;av.exports=Bc});var zs=r((An)=>{var sv=Bf(),hs=pv(),T3=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];An.ALGORITHMS=T3;An.sign=sv.sign;An.verify=hs.verify;An.decode=hs.decode;An.isValid=hs.isValid;An.createSign=function(n){return new sv(n)};An.createVerify=function(n){return new hs(n)}});var ko=r((jN,uv)=>{var D3=zs();uv.exports=function(i,n){n=n||{};var c=D3.decode(i,n);if(!c)return null;var a=c.payload;if(typeof a==="string")try{var p=JSON.parse(a);if(p!==null&&typeof p==="object")a=p}catch(s){}if(n.complete===!0)return{header:c.header,payload:a,signature:c.signature};return a}});var sp=r((TN,ev)=>{var Zs=function(i,n){if(Error.call(this,i),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);if(this.name="JsonWebTokenError",this.message=i,n)this.inner=n};Zs.prototype=Object.create(Error.prototype);Zs.prototype.constructor=Zs;ev.exports=Zs});var it=r((DN,tv)=>{var ov=sp(),Gs=function(i,n){ov.call(this,i),this.name="NotBeforeError",this.date=n};Gs.prototype=Object.create(ov.prototype);Gs.prototype.constructor=Gs;tv.exports=Gs});var nt=r((LN,dv)=>{var mv=sp(),Ys=function(i,n){mv.call(this,i),this.name="TokenExpiredError",this.expiredAt=n};Ys.prototype=Object.create(mv.prototype);Ys.prototype.constructor=Ys;dv.exports=Ys});var ct=r((BN,xv)=>{var L3=Be();xv.exports=function(i,n){var c=n||Math.floor(Date.now()/1000);if(typeof i==="string"){var a=L3(i);if(typeof a>"u")return;return Math.floor(c+a/1000)}else if(typeof i==="number")return c+i;else return}});var Fc=r((FN,rv)=>{var B3=Number.MAX_SAFE_INTEGER||9007199254740991,F3=["major","premajor","minor","preminor","patch","prepatch","prerelease"];rv.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:B3,RELEASE_TYPES:F3,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var up=r((gN,lv)=>{var g3=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};lv.exports=g3});var gc=r((bn,fv)=>{var{MAX_SAFE_COMPONENT_LENGTH:at,MAX_SAFE_BUILD_LENGTH:U3,MAX_LENGTH:Q3}=Fc(),k3=up();bn=fv.exports={};var i$=bn.re=[],n$=bn.safeRe=[],h=bn.src=[],c$=bn.safeSrc=[],z=bn.t={},a$=0,pt="[a-zA-Z0-9-]",p$=[["\\s",1],["\\d",Q3],[pt,U3]],s$=(i)=>{for(let[n,c]of p$)i=i.split(`${n}*`).join(`${n}{0,${c}}`).split(`${n}+`).join(`${n}{1,${c}}`);return i},I=(i,n,c)=>{let a=s$(n),p=a$++;k3(i,p,n),z[i]=p,h[p]=n,c$[p]=a,i$[p]=new RegExp(n,c?"g":void 0),n$[p]=new RegExp(a,c?"g":void 0)};I("NUMERICIDENTIFIER","0|[1-9]\\d*");I("NUMERICIDENTIFIERLOOSE","\\d+");I("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${pt}*`);I("MAINVERSION",`(${h[z.NUMERICIDENTIFIER]})\\.(${h[z.NUMERICIDENTIFIER]})\\.(${h[z.NUMERICIDENTIFIER]})`);I("MAINVERSIONLOOSE",`(${h[z.NUMERICIDENTIFIERLOOSE]})\\.(${h[z.NUMERICIDENTIFIERLOOSE]})\\.(${h[z.NUMERICIDENTIFIERLOOSE]})`);I("PRERELEASEIDENTIFIER",`(?:${h[z.NONNUMERICIDENTIFIER]}|${h[z.NUMERICIDENTIFIER]})`);I("PRERELEASEIDENTIFIERLOOSE",`(?:${h[z.NONNUMERICIDENTIFIER]}|${h[z.NUMERICIDENTIFIERLOOSE]})`);I("PRERELEASE",`(?:-(${h[z.PRERELEASEIDENTIFIER]}(?:\\.${h[z.PRERELEASEIDENTIFIER]})*))`);I("PRERELEASELOOSE",`(?:-?(${h[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[z.PRERELEASEIDENTIFIERLOOSE]})*))`);I("BUILDIDENTIFIER",`${pt}+`);I("BUILD",`(?:\\+(${h[z.BUILDIDENTIFIER]}(?:\\.${h[z.BUILDIDENTIFIER]})*))`);I("FULLPLAIN",`v?${h[z.MAINVERSION]}${h[z.PRERELEASE]}?${h[z.BUILD]}?`);I("FULL",`^${h[z.FULLPLAIN]}$`);I("LOOSEPLAIN",`[v=\\s]*${h[z.MAINVERSIONLOOSE]}${h[z.PRERELEASELOOSE]}?${h[z.BUILD]}?`);I("LOOSE",`^${h[z.LOOSEPLAIN]}$`);I("GTLT","((?:<|>)?=?)");I("XRANGEIDENTIFIERLOOSE",`${h[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);I("XRANGEIDENTIFIER",`${h[z.NUMERICIDENTIFIER]}|x|X|\\*`);I("XRANGEPLAIN",`[v=\\s]*(${h[z.XRANGEIDENTIFIER]})(?:\\.(${h[z.XRANGEIDENTIFIER]})(?:\\.(${h[z.XRANGEIDENTIFIER]})(?:${h[z.PRERELEASE]})?${h[z.BUILD]}?)?)?`);I("XRANGEPLAINLOOSE",`[v=\\s]*(${h[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[z.XRANGEIDENTIFIERLOOSE]})(?:${h[z.PRERELEASELOOSE]})?${h[z.BUILD]}?)?)?`);I("XRANGE",`^${h[z.GTLT]}\\s*${h[z.XRANGEPLAIN]}$`);I("XRANGELOOSE",`^${h[z.GTLT]}\\s*${h[z.XRANGEPLAINLOOSE]}$`);I("COERCEPLAIN",`(^|[^\\d])(\\d{1,${at}})(?:\\.(\\d{1,${at}}))?(?:\\.(\\d{1,${at}}))?`);I("COERCE",`${h[z.COERCEPLAIN]}(?:$|[^\\d])`);I("COERCEFULL",h[z.COERCEPLAIN]+`(?:${h[z.PRERELEASE]})?(?:${h[z.BUILD]})?(?:$|[^\\d])`);I("COERCERTL",h[z.COERCE],!0);I("COERCERTLFULL",h[z.COERCEFULL],!0);I("LONETILDE","(?:~>?)");I("TILDETRIM",`(\\s*)${h[z.LONETILDE]}\\s+`,!0);bn.tildeTrimReplace="$1~";I("TILDE",`^${h[z.LONETILDE]}${h[z.XRANGEPLAIN]}$`);I("TILDELOOSE",`^${h[z.LONETILDE]}${h[z.XRANGEPLAINLOOSE]}$`);I("LONECARET","(?:\\^)");I("CARETTRIM",`(\\s*)${h[z.LONECARET]}\\s+`,!0);bn.caretTrimReplace="$1^";I("CARET",`^${h[z.LONECARET]}${h[z.XRANGEPLAIN]}$`);I("CARETLOOSE",`^${h[z.LONECARET]}${h[z.XRANGEPLAINLOOSE]}$`);I("COMPARATORLOOSE",`^${h[z.GTLT]}\\s*(${h[z.LOOSEPLAIN]})$|^$`);I("COMPARATOR",`^${h[z.GTLT]}\\s*(${h[z.FULLPLAIN]})$|^$`);I("COMPARATORTRIM",`(\\s*)${h[z.GTLT]}\\s*(${h[z.LOOSEPLAIN]}|${h[z.XRANGEPLAIN]})`,!0);bn.comparatorTrimReplace="$1$2$3";I("HYPHENRANGE",`^\\s*(${h[z.XRANGEPLAIN]})\\s+-\\s+(${h[z.XRANGEPLAIN]})\\s*$`);I("HYPHENRANGELOOSE",`^\\s*(${h[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[z.XRANGEPLAINLOOSE]})\\s*$`);I("STAR","(<|>)?=?\\s*\\*");I("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");I("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Xs=r((UN,vv)=>{var u$=Object.freeze({loose:!0}),e$=Object.freeze({}),o$=(i)=>{if(!i)return e$;if(typeof i!=="object")return u$;return i};vv.exports=o$});var st=r((QN,Wv)=>{var wv=/^[0-9]+$/,bv=(i,n)=>{if(typeof i==="number"&&typeof n==="number")return i===n?0:i<n?-1:1;let c=wv.test(i),a=wv.test(n);if(c&&a)i=+i,n=+n;return i===n?0:c&&!a?-1:a&&!c?1:i<n?-1:1},t$=(i,n)=>bv(n,i);Wv.exports={compareIdentifiers:bv,rcompareIdentifiers:t$}});var Ki=r((kN,Kv)=>{var Ss=up(),{MAX_LENGTH:qv,MAX_SAFE_INTEGER:Is}=Fc(),{safeRe:Ps,t:Hs}=gc(),m$=Xs(),{compareIdentifiers:ut}=st(),d$=(i,n)=>{let c=n.split(".");if(c.length>i.length)return!1;for(let a=0;a<c.length;a++)if(ut(i[a],c[a])!==0)return!1;return!0};class en{constructor(i,n){if(n=m$(n),i instanceof en)if(i.loose===!!n.loose&&i.includePrerelease===!!n.includePrerelease)return i;else i=i.version;else if(typeof i!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`);if(i.length>qv)throw TypeError(`version is longer than ${qv} characters`);Ss("SemVer",i,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let c=i.trim().match(n.loose?Ps[Hs.LOOSE]:Ps[Hs.FULL]);if(!c)throw TypeError(`Invalid Version: ${i}`);if(this.raw=i,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>Is||this.major<0)throw TypeError("Invalid major version");if(this.minor>Is||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>Is||this.patch<0)throw TypeError("Invalid patch version");if(!c[4])this.prerelease=[];else this.prerelease=c[4].split(".").map((a)=>{if(/^[0-9]+$/.test(a)){let p=+a;if(p>=0&&p<Is)return p}return a});this.build=c[5]?c[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(i){if(Ss("SemVer.compare",this.version,this.options,i),!(i instanceof en)){if(typeof i==="string"&&i===this.version)return 0;i=new en(i,this.options)}if(i.version===this.version)return 0;return this.compareMain(i)||this.comparePre(i)}compareMain(i){if(!(i instanceof en))i=new en(i,this.options);if(this.major<i.major)return-1;if(this.major>i.major)return 1;if(this.minor<i.minor)return-1;if(this.minor>i.minor)return 1;if(this.patch<i.patch)return-1;if(this.patch>i.patch)return 1;return 0}comparePre(i){if(!(i instanceof en))i=new en(i,this.options);if(this.prerelease.length&&!i.prerelease.length)return-1;else if(!this.prerelease.length&&i.prerelease.length)return 1;else if(!this.prerelease.length&&!i.prerelease.length)return 0;let n=0;do{let c=this.prerelease[n],a=i.prerelease[n];if(Ss("prerelease compare",n,c,a),c===void 0&&a===void 0)return 0;else if(a===void 0)return 1;else if(c===void 0)return-1;else if(c===a)continue;else return ut(c,a)}while(++n)}compareBuild(i){if(!(i instanceof en))i=new en(i,this.options);let n=0;do{let c=this.build[n],a=i.build[n];if(Ss("build compare",n,c,a),c===void 0&&a===void 0)return 0;else if(a===void 0)return 1;else if(c===void 0)return-1;else if(c===a)continue;else return ut(c,a)}while(++n)}inc(i,n,c){if(i.startsWith("pre")){if(!n&&c===!1)throw Error("invalid increment argument: identifier is empty");if(n){let a=`-${n}`.match(this.options.loose?Ps[Hs.PRERELEASELOOSE]:Ps[Hs.PRERELEASE]);if(!a||a[1]!==n)throw Error(`invalid identifier: ${n}`)}}switch(i){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,c);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,c);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,c),this.inc("pre",n,c);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",n,c);this.inc("pre",n,c);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let a=Number(c)?1:0;if(this.prerelease.length===0)this.prerelease=[a];else{let p=this.prerelease.length;while(--p>=0)if(typeof this.prerelease[p]==="number")this.prerelease[p]++,p=-2;if(p===-1){if(n===this.prerelease.join(".")&&c===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(n){let p=[n,a];if(c===!1)p=[n];if(d$(this.prerelease,n)){let s=this.prerelease[n.split(".").length];if(isNaN(s))this.prerelease=p}else this.prerelease=p}break}default:throw Error(`invalid increment argument: ${i}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Kv.exports=en});var Nn=r((iE,Jv)=>{var _v=Ki(),x$=(i,n,c=!1)=>{if(i instanceof _v)return i;try{return new _v(i,n)}catch(a){if(!c)return null;throw a}};Jv.exports=x$});var hv=r((nE,$v)=>{var r$=Nn(),l$=(i,n)=>{let c=r$(i,n);return c?c.version:null};$v.exports=l$});var Zv=r((cE,zv)=>{var f$=Nn(),v$=(i,n)=>{let c=f$(i.trim().replace(/^[=v]+/,""),n);return c?c.version:null};zv.exports=v$});var Xv=r((aE,Yv)=>{var Gv=Ki(),w$=(i,n,c,a,p)=>{if(typeof c==="string")p=a,a=c,c=void 0;try{return new Gv(i instanceof Gv?i.version:i,c).inc(n,a,p).version}catch(s){return null}};Yv.exports=w$});var Pv=r((pE,Iv)=>{var Sv=Nn(),b$=(i,n)=>{let c=Sv(i,null,!0),a=Sv(n,null,!0),p=c.compare(a);if(p===0)return null;let s=p>0,u=s?c:a,e=s?a:c,o=!!u.prerelease.length;if(!!e.prerelease.length&&!o){if(!e.patch&&!e.minor)return"major";if(e.compareMain(u)===0){if(e.minor&&!e.patch)return"minor";return"patch"}}let m=o?"pre":"";if(c.major!==a.major)return m+"major";if(c.minor!==a.minor)return m+"minor";if(c.patch!==a.patch)return m+"patch";return"prerelease"};Iv.exports=b$});var Mv=r((sE,Hv)=>{var W$=Ki(),q$=(i,n)=>new W$(i,n).major;Hv.exports=q$});var Cv=r((uE,Vv)=>{var K$=Ki(),_$=(i,n)=>new K$(i,n).minor;Vv.exports=_$});var Av=r((eE,Ov)=>{var J$=Ki(),$$=(i,n)=>new J$(i,n).patch;Ov.exports=$$});var Ev=r((oE,Nv)=>{var h$=Nn(),z$=(i,n)=>{let c=h$(i,n);return c&&c.prerelease.length?c.prerelease:null};Nv.exports=z$});var Li=r((tE,Rv)=>{var yv=Ki(),Z$=(i,n,c)=>new yv(i,c).compare(new yv(n,c));Rv.exports=Z$});var Tv=r((mE,jv)=>{var G$=Li(),Y$=(i,n,c)=>G$(n,i,c);jv.exports=Y$});var Lv=r((dE,Dv)=>{var X$=Li(),S$=(i,n)=>X$(i,n,!0);Dv.exports=S$});var Ms=r((xE,Fv)=>{var Bv=Ki(),I$=(i,n,c)=>{let a=new Bv(i,c),p=new Bv(n,c);return a.compare(p)||a.compareBuild(p)};Fv.exports=I$});var Uv=r((rE,gv)=>{var P$=Ms(),H$=(i,n)=>i.sort((c,a)=>P$(c,a,n));gv.exports=H$});var kv=r((lE,Qv)=>{var M$=Ms(),V$=(i,n)=>i.sort((c,a)=>M$(a,c,n));Qv.exports=V$});var ep=r((fE,i0)=>{var C$=Li(),O$=(i,n,c)=>C$(i,n,c)>0;i0.exports=O$});var Vs=r((vE,n0)=>{var A$=Li(),N$=(i,n,c)=>A$(i,n,c)<0;n0.exports=N$});var et=r((wE,c0)=>{var E$=Li(),y$=(i,n,c)=>E$(i,n,c)===0;c0.exports=y$});var ot=r((bE,a0)=>{var R$=Li(),j$=(i,n,c)=>R$(i,n,c)!==0;a0.exports=j$});var Cs=r((WE,p0)=>{var T$=Li(),D$=(i,n,c)=>T$(i,n,c)>=0;p0.exports=D$});var Os=r((qE,s0)=>{var L$=Li(),B$=(i,n,c)=>L$(i,n,c)<=0;s0.exports=B$});var tt=r((KE,u0)=>{var F$=et(),g$=ot(),U$=ep(),Q$=Cs(),k$=Vs(),i9=Os(),n9=(i,n,c,a)=>{switch(n){case"===":if(typeof i==="object")i=i.version;if(typeof c==="object")c=c.version;return i===c;case"!==":if(typeof i==="object")i=i.version;if(typeof c==="object")c=c.version;return i!==c;case"":case"=":case"==":return F$(i,c,a);case"!=":return g$(i,c,a);case">":return U$(i,c,a);case">=":return Q$(i,c,a);case"<":return k$(i,c,a);case"<=":return i9(i,c,a);default:throw TypeError(`Invalid operator: ${n}`)}};u0.exports=n9});var o0=r((_E,e0)=>{var c9=Ki(),a9=Nn(),{safeRe:As,t:Ns}=gc(),p9=(i,n)=>{if(i instanceof c9)return i;if(typeof i==="number")i=String(i);if(typeof i!=="string")return null;n=n||{};let c=null;if(!n.rtl)c=i.match(n.includePrerelease?As[Ns.COERCEFULL]:As[Ns.COERCE]);else{let o=n.includePrerelease?As[Ns.COERCERTLFULL]:As[Ns.COERCERTL],t;while((t=o.exec(i))&&(!c||c.index+c[0].length!==i.length)){if(!c||t.index+t[0].length!==c.index+c[0].length)c=t;o.lastIndex=t.index+t[1].length+t[2].length}o.lastIndex=-1}if(c===null)return null;let a=c[2],p=c[3]||"0",s=c[4]||"0",u=n.includePrerelease&&c[5]?`-${c[5]}`:"",e=n.includePrerelease&&c[6]?`+${c[6]}`:"";return a9(`${a}.${p}.${s}${u}${e}`,n)};e0.exports=p9});var m0=r((JE,t0)=>{var s9=Nn(),u9=Fc(),e9=Ki(),o9=(i,n,c)=>{if(!u9.RELEASE_TYPES.includes(n))return null;let a=t9(i,c);return a&&m9(a,n)},t9=(i,n)=>{let c=i instanceof e9?i.version:i;return s9(c,n)},m9=(i,n)=>{if(d9(n))return i.version;switch(i.prerelease=[],n){case"major":i.minor=0,i.patch=0;break;case"minor":i.patch=0;break}return i.format()},d9=(i)=>{return i.startsWith("pre")};t0.exports=o9});var r0=r(($E,x0)=>{class d0{constructor(){this.max=1000,this.map=new Map}get(i){let n=this.map.get(i);if(n===void 0)return;else return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(i,n)}return this}}x0.exports=d0});var Bi=r((hE,w0)=>{var x9=/\s+/g;class op{constructor(i,n){if(n=l9(n),i instanceof op)if(i.loose===!!n.loose&&i.includePrerelease===!!n.includePrerelease)return i;else return new op(i.raw,n);if(i instanceof mt)return this.raw=i.value,this.set=[[i]],this.formatted=void 0,this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=i.trim().replace(x9," "),this.set=this.raw.split("||").map((c)=>this.parseRange(c.trim())).filter((c)=>c.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let c=this.set[0];if(this.set=this.set.filter((a)=>!f0(a[0])),this.set.length===0)this.set=[c];else if(this.set.length>1){for(let a of this.set)if(a.length===1&&J9(a[0])){this.set=[a];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let i=0;i<this.set.length;i++){if(i>0)this.formatted+="||";let n=this.set[i];for(let c=0;c<n.length;c++){if(c>0)this.formatted+=" ";this.formatted+=n[c].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){i=i.replace(_9,"");let c=((this.options.includePrerelease&&q9)|(this.options.loose&&K9))+":"+i,a=l0.get(c);if(a)return a;let p=this.options.loose,s=p?Xi[_i.HYPHENRANGELOOSE]:Xi[_i.HYPHENRANGE];i=i.replace(s,H9(this.options.includePrerelease)),B("hyphen replace",i),i=i.replace(Xi[_i.COMPARATORTRIM],w9),B("comparator trim",i),i=i.replace(Xi[_i.TILDETRIM],b9),B("tilde trim",i),i=i.replace(Xi[_i.CARETTRIM],W9),B("caret trim",i);let u=i.split(" ").map((m)=>$9(m,this.options)).join(" ").split(/\s+/).map((m)=>P9(m,this.options));if(p)u=u.filter((m)=>{return B("loose invalid filter",m,this.options),!!m.match(Xi[_i.COMPARATORLOOSE])});B("range list",u);let e=new Map,o=u.map((m)=>new mt(m,this.options));for(let m of o){if(f0(m))return[m];e.set(m.value,m)}if(e.size>1&&e.has(""))e.delete("");let t=[...e.values()];return l0.set(c,t),t}intersects(i,n){if(!(i instanceof op))throw TypeError("a Range is required");return this.set.some((c)=>{return v0(c,n)&&i.set.some((a)=>{return v0(a,n)&&c.every((p)=>{return a.every((s)=>{return p.intersects(s,n)})})})})}test(i){if(!i)return!1;if(typeof i==="string")try{i=new f9(i,this.options)}catch(n){return!1}for(let n=0;n<this.set.length;n++)if(M9(this.set[n],i,this.options))return!0;return!1}}w0.exports=op;var r9=r0(),l0=new r9,l9=Xs(),mt=tp(),B=up(),f9=Ki(),{safeRe:Xi,src:v9,t:_i,comparatorTrimReplace:w9,tildeTrimReplace:b9,caretTrimReplace:W9}=gc(),{FLAG_INCLUDE_PRERELEASE:q9,FLAG_LOOSE:K9}=Fc(),_9=new RegExp(v9[_i.BUILD],"g"),f0=(i)=>i.value==="<0.0.0-0",J9=(i)=>i.value==="",v0=(i,n)=>{let c=!0,a=i.slice(),p=a.pop();while(c&&a.length)c=a.every((s)=>{return p.intersects(s,n)}),p=a.pop();return c},$9=(i,n)=>{return i=i.replace(Xi[_i.BUILD],""),B("comp",i,n),i=G9(i,n),B("caret",i),i=z9(i,n),B("tildes",i),i=X9(i,n),B("xrange",i),i=I9(i,n),B("stars",i),i},ti=(i)=>!i||i.toLowerCase()==="x"||i==="*",h9=(i,n,c)=>ti(i)&&!ti(n)||ti(n)&&c&&!ti(c),z9=(i,n)=>{return i.trim().split(/\s+/).map((c)=>Z9(c,n)).join(" ")},Z9=(i,n)=>{let c=n.loose?Xi[_i.TILDELOOSE]:Xi[_i.TILDE],a=n.includePrerelease?"-0":"";return i.replace(c,(p,s,u,e,o)=>{B("tilde",i,p,s,u,e,o);let t;if(ti(s))t="";else if(ti(u))t=`>=${s}.0.0${a} <${+s+1}.0.0-0`;else if(ti(e))t=`>=${s}.${u}.0${a} <${s}.${+u+1}.0-0`;else if(o)B("replaceTilde pr",o),t=`>=${s}.${u}.${e}-${o} <${s}.${+u+1}.0-0`;else t=`>=${s}.${u}.${e} <${s}.${+u+1}.0-0`;return B("tilde return",t),t})},G9=(i,n)=>{return i.trim().split(/\s+/).map((c)=>Y9(c,n)).join(" ")},Y9=(i,n)=>{B("caret",i,n);let c=n.loose?Xi[_i.CARETLOOSE]:Xi[_i.CARET],a=n.includePrerelease?"-0":"";return i.replace(c,(p,s,u,e,o)=>{B("caret",i,p,s,u,e,o);let t;if(ti(s))t="";else if(ti(u))t=`>=${s}.0.0${a} <${+s+1}.0.0-0`;else if(ti(e))if(s==="0")t=`>=${s}.${u}.0${a} <${s}.${+u+1}.0-0`;else t=`>=${s}.${u}.0${a} <${+s+1}.0.0-0`;else if(o)if(B("replaceCaret pr",o),s==="0")if(u==="0")t=`>=${s}.${u}.${e}-${o} <${s}.${u}.${+e+1}-0`;else t=`>=${s}.${u}.${e}-${o} <${s}.${+u+1}.0-0`;else t=`>=${s}.${u}.${e}-${o} <${+s+1}.0.0-0`;else if(B("no pr"),s==="0")if(u==="0")t=`>=${s}.${u}.${e} <${s}.${u}.${+e+1}-0`;else t=`>=${s}.${u}.${e} <${s}.${+u+1}.0-0`;else t=`>=${s}.${u}.${e} <${+s+1}.0.0-0`;return B("caret return",t),t})},X9=(i,n)=>{return B("replaceXRanges",i,n),i.split(/\s+/).map((c)=>S9(c,n)).join(" ")},S9=(i,n)=>{i=i.trim();let c=n.loose?Xi[_i.XRANGELOOSE]:Xi[_i.XRANGE];return i.replace(c,(a,p,s,u,e,o)=>{if(B("xRange",i,a,p,s,u,e,o),h9(s,u,e))return i;let t=ti(s),m=t||ti(u),d=m||ti(e),l=d;if(p==="="&&l)p="";if(o=n.includePrerelease?"-0":"",t)if(p===">"||p==="<")a="<0.0.0-0";else a="*";else if(p&&l){if(m)u=0;if(e=0,p===">")if(p=">=",m)s=+s+1,u=0,e=0;else u=+u+1,e=0;else if(p==="<=")if(p="<",m)s=+s+1;else u=+u+1;if(p==="<")o="-0";a=`${p+s}.${u}.${e}${o}`}else if(m)a=`>=${s}.0.0${o} <${+s+1}.0.0-0`;else if(d)a=`>=${s}.${u}.0${o} <${s}.${+u+1}.0-0`;return B("xRange return",a),a})},I9=(i,n)=>{return B("replaceStars",i,n),i.trim().replace(Xi[_i.STAR],"")},P9=(i,n)=>{return B("replaceGTE0",i,n),i.trim().replace(Xi[n.includePrerelease?_i.GTE0PRE:_i.GTE0],"")},H9=(i)=>(n,c,a,p,s,u,e,o,t,m,d,l)=>{if(ti(a))c="";else if(ti(p))c=`>=${a}.0.0${i?"-0":""}`;else if(ti(s))c=`>=${a}.${p}.0${i?"-0":""}`;else if(u)c=`>=${c}`;else c=`>=${c}${i?"-0":""}`;if(ti(t))o="";else if(ti(m))o=`<${+t+1}.0.0-0`;else if(ti(d))o=`<${t}.${+m+1}.0-0`;else if(l)o=`<=${t}.${m}.${d}-${l}`;else if(i)o=`<${t}.${m}.${+d+1}-0`;else o=`<=${o}`;return`${c} ${o}`.trim()},M9=(i,n,c)=>{for(let a=0;a<i.length;a++)if(!i[a].test(n))return!1;if(n.prerelease.length&&!c.includePrerelease){for(let a=0;a<i.length;a++){if(B(i[a].semver),i[a].semver===mt.ANY)continue;if(i[a].semver.prerelease.length>0){let p=i[a].semver;if(p.major===n.major&&p.minor===n.minor&&p.patch===n.patch)return!0}}return!1}return!0}});var tp=r((zE,J0)=>{var mp=Symbol("SemVer ANY");class Es{static get ANY(){return mp}constructor(i,n){if(n=b0(n),i instanceof Es)if(i.loose===!!n.loose)return i;else i=i.value;if(i=i.trim().split(/\s+/).join(" "),xt("comparator",i,n),this.options=n,this.loose=!!n.loose,this.parse(i),this.semver===mp)this.value="";else this.value=this.operator+this.semver.version;xt("comp",this)}parse(i){let n=this.options.loose?W0[q0.COMPARATORLOOSE]:W0[q0.COMPARATOR],c=i.match(n);if(!c)throw TypeError(`Invalid comparator: ${i}`);if(this.operator=c[1]!==void 0?c[1]:"",this.operator==="=")this.operator="";if(!c[2])this.semver=mp;else this.semver=new K0(c[2],this.options.loose)}toString(){return this.value}test(i){if(xt("Comparator.test",i,this.options.loose),this.semver===mp||i===mp)return!0;if(typeof i==="string")try{i=new K0(i,this.options)}catch(n){return!1}return dt(i,this.operator,this.semver,this.options)}intersects(i,n){if(!(i instanceof Es))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new _0(i.value,n).test(this.value)}else if(i.operator===""){if(i.value==="")return!0;return new _0(this.value,n).test(i.semver)}if(n=b0(n),n.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0"))return!1;if(!n.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&i.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&i.operator.startsWith("<"))return!0;if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("="))return!0;if(dt(this.semver,"<",i.semver,n)&&this.operator.startsWith(">")&&i.operator.startsWith("<"))return!0;if(dt(this.semver,">",i.semver,n)&&this.operator.startsWith("<")&&i.operator.startsWith(">"))return!0;return!1}}J0.exports=Es;var b0=Xs(),{safeRe:W0,t:q0}=gc(),dt=tt(),xt=up(),K0=Ki(),_0=Bi()});var dp=r((ZE,$0)=>{var V9=Bi(),C9=(i,n,c)=>{try{n=new V9(n,c)}catch(a){return!1}return n.test(i)};$0.exports=C9});var z0=r((GE,h0)=>{var O9=Bi(),A9=(i,n)=>new O9(i,n).set.map((c)=>c.map((a)=>a.value).join(" ").trim().split(" "));h0.exports=A9});var G0=r((YE,Z0)=>{var N9=Ki(),E9=Bi(),y9=(i,n,c)=>{let a=null,p=null,s=null;try{s=new E9(n,c)}catch(u){return null}return i.forEach((u)=>{if(s.test(u)){if(!a||p.compare(u)===-1)a=u,p=new N9(a,c)}}),a};Z0.exports=y9});var X0=r((XE,Y0)=>{var R9=Ki(),j9=Bi(),T9=(i,n,c)=>{let a=null,p=null,s=null;try{s=new j9(n,c)}catch(u){return null}return i.forEach((u)=>{if(s.test(u)){if(!a||p.compare(u)===1)a=u,p=new R9(a,c)}}),a};Y0.exports=T9});var P0=r((SE,I0)=>{var rt=Ki(),D9=Bi(),S0=ep(),L9=(i,n)=>{i=new D9(i,n);let c=new rt("0.0.0");if(i.test(c))return c;if(c=new rt("0.0.0-0"),i.test(c))return c;c=null;for(let a=0;a<i.set.length;++a){let p=i.set[a],s=null;if(p.forEach((u)=>{let e=new rt(u.semver.version);switch(u.operator){case">":if(e.prerelease.length===0)e.patch++;else e.prerelease.push(0);e.raw=e.format();case"":case">=":if(!s||S0(e,s))s=e;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${u.operator}`)}}),s&&(!c||S0(c,s)))c=s}if(c&&i.test(c))return c;return null};I0.exports=L9});var M0=r((IE,H0)=>{var B9=Bi(),F9=(i,n)=>{try{return new B9(i,n).range||"*"}catch(c){return null}};H0.exports=F9});var ys=r((PE,A0)=>{var g9=Ki(),O0=tp(),{ANY:U9}=O0,Q9=Bi(),k9=dp(),V0=ep(),C0=Vs(),ih=Os(),nh=Cs(),ch=(i,n,c,a)=>{i=new g9(i,a),n=new Q9(n,a);let p,s,u,e,o;switch(c){case">":p=V0,s=ih,u=C0,e=">",o=">=";break;case"<":p=C0,s=nh,u=V0,e="<",o="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(k9(i,n,a))return!1;for(let t=0;t<n.set.length;++t){let m=n.set[t],d=null,l=null;if(m.forEach((f)=>{if(f.semver===U9)f=new O0(">=0.0.0");if(d=d||f,l=l||f,p(f.semver,d.semver,a))d=f;else if(u(f.semver,l.semver,a))l=f}),d.operator===e||d.operator===o)return!1;if((!l.operator||l.operator===e)&&s(i,l.semver))return!1;else if(l.operator===o&&u(i,l.semver))return!1}return!0};A0.exports=ch});var E0=r((HE,N0)=>{var ah=ys(),ph=(i,n,c)=>ah(i,n,">",c);N0.exports=ph});var R0=r((ME,y0)=>{var sh=ys(),uh=(i,n,c)=>sh(i,n,"<",c);y0.exports=uh});var D0=r((VE,T0)=>{var j0=Bi(),eh=(i,n,c)=>{return i=new j0(i,c),n=new j0(n,c),i.intersects(n,c)};T0.exports=eh});var B0=r((CE,L0)=>{var oh=dp(),th=Li();L0.exports=(i,n,c)=>{let a=[],p=null,s=null,u=i.sort((m,d)=>th(m,d,c));for(let m of u)if(oh(m,n,c)){if(s=m,!p)p=m}else{if(s)a.push([p,s]);s=null,p=null}if(p)a.push([p,null]);let e=[];for(let[m,d]of a)if(m===d)e.push(m);else if(!d&&m===u[0])e.push("*");else if(!d)e.push(`>=${m}`);else if(m===u[0])e.push(`<=${d}`);else e.push(`${m} - ${d}`);let o=e.join(" || "),t=typeof n.raw==="string"?n.raw:String(n);return o.length<t.length?o:n}});var i4=r((OE,k0)=>{var F0=Bi(),vt=tp(),{ANY:lt}=vt,ft=dp(),wt=Li(),mh=(i,n,c={})=>{if(i===n)return!0;i=new F0(i,c),n=new F0(n,c);let a=!1;i:for(let p of i.set){for(let s of n.set){let u=xh(p,s,c);if(a=a||u!==null,u)continue i}if(a)return!1}return!0},dh=[new vt(">=0.0.0-0")],g0=[new vt(">=0.0.0")],xh=(i,n,c)=>{if(i===n)return!0;if(i.length===1&&i[0].semver===lt)if(n.length===1&&n[0].semver===lt)return!0;else if(c.includePrerelease)i=dh;else i=g0;if(n.length===1&&n[0].semver===lt)if(c.includePrerelease)return!0;else n=g0;let a=new Set,p,s;for(let f of i)if(f.operator===">"||f.operator===">=")p=U0(p,f,c);else if(f.operator==="<"||f.operator==="<=")s=Q0(s,f,c);else a.add(f.semver);if(a.size>1)return null;let u;if(p&&s){if(u=wt(p.semver,s.semver,c),u>0)return null;else if(u===0&&(p.operator!==">="||s.operator!=="<="))return null}for(let f of a){if(p&&!ft(f,String(p),c))return null;if(s&&!ft(f,String(s),c))return null;for(let v of n)if(!ft(f,String(v),c))return!1;return!0}let e,o,t,m,d=s&&!c.includePrerelease&&s.semver.prerelease.length?s.semver:!1,l=p&&!c.includePrerelease&&p.semver.prerelease.length?p.semver:!1;if(d&&d.prerelease.length===1&&s.operator==="<"&&d.prerelease[0]===0)d=!1;for(let f of n){if(m=m||f.operator===">"||f.operator===">=",t=t||f.operator==="<"||f.operator==="<=",p){if(l){if(f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===l.major&&f.semver.minor===l.minor&&f.semver.patch===l.patch)l=!1}if(f.operator===">"||f.operator===">="){if(e=U0(p,f,c),e===f&&e!==p)return!1}else if(p.operator===">="&&!f.test(p.semver))return!1}if(s){if(d){if(f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===d.major&&f.semver.minor===d.minor&&f.semver.patch===d.patch)d=!1}if(f.operator==="<"||f.operator==="<="){if(o=Q0(s,f,c),o===f&&o!==s)return!1}else if(s.operator==="<="&&!f.test(s.semver))return!1}if(!f.operator&&(s||p)&&u!==0)return!1}if(p&&t&&!s&&u!==0)return!1;if(s&&m&&!p&&u!==0)return!1;if(l||d)return!1;return!0},U0=(i,n,c)=>{if(!i)return n;let a=wt(i.semver,n.semver,c);return a>0?i:a<0?n:n.operator===">"&&i.operator===">="?n:i},Q0=(i,n,c)=>{if(!i)return n;let a=wt(i.semver,n.semver,c);return a<0?i:a>0?n:n.operator==="<"&&i.operator==="<="?n:i};k0.exports=mh});var Rs=r((AE,a4)=>{var bt=gc(),n4=Fc(),rh=Ki(),c4=st(),lh=Nn(),fh=hv(),vh=Zv(),wh=Xv(),bh=Pv(),Wh=Mv(),qh=Cv(),Kh=Av(),_h=Ev(),Jh=Li(),$h=Tv(),hh=Lv(),zh=Ms(),Zh=Uv(),Gh=kv(),Yh=ep(),Xh=Vs(),Sh=et(),Ih=ot(),Ph=Cs(),Hh=Os(),Mh=tt(),Vh=o0(),Ch=m0(),Oh=tp(),Ah=Bi(),Nh=dp(),Eh=z0(),yh=G0(),Rh=X0(),jh=P0(),Th=M0(),Dh=ys(),Lh=E0(),Bh=R0(),Fh=D0(),gh=B0(),Uh=i4();a4.exports={parse:lh,valid:fh,clean:vh,inc:wh,diff:bh,major:Wh,minor:qh,patch:Kh,prerelease:_h,compare:Jh,rcompare:$h,compareLoose:hh,compareBuild:zh,sort:Zh,rsort:Gh,gt:Yh,lt:Xh,eq:Sh,neq:Ih,gte:Ph,lte:Hh,cmp:Mh,coerce:Vh,truncate:Ch,Comparator:Oh,Range:Ah,satisfies:Nh,toComparators:Eh,maxSatisfying:yh,minSatisfying:Rh,minVersion:jh,validRange:Th,outside:Dh,gtr:Lh,ltr:Bh,intersects:Fh,simplifyRange:gh,subset:Uh,SemVer:rh,re:bt.re,src:bt.src,tokens:bt.t,SEMVER_SPEC_VERSION:n4.SEMVER_SPEC_VERSION,RELEASE_TYPES:n4.RELEASE_TYPES,compareIdentifiers:c4.compareIdentifiers,rcompareIdentifiers:c4.rcompareIdentifiers}});var s4=r((NE,p4)=>{var Qh=Rs();p4.exports=Qh.satisfies(process.version,">=15.7.0")});var e4=r((EE,u4)=>{var kh=Rs();u4.exports=kh.satisfies(process.version,">=16.9.0")});var Wt=r((yE,o4)=>{var iz=s4(),nz=e4(),cz={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},az={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};o4.exports=function(i,n){if(!i||!n)return;let c=n.asymmetricKeyType;if(!c)return;let a=cz[c];if(!a)throw Error(`Unknown key type "${c}".`);if(!a.includes(i))throw Error(`"alg" parameter for "${c}" key type must be one of: ${a.join(", ")}.`);if(iz)switch(c){case"ec":let p=n.asymmetricKeyDetails.namedCurve,s=az[i];if(p!==s)throw Error(`"alg" parameter "${i}" requires curve "${s}".`);break;case"rsa-pss":if(nz){let u=parseInt(i.slice(-3),10),{hashAlgorithm:e,mgf1HashAlgorithm:o,saltLength:t}=n.asymmetricKeyDetails;if(e!==`sha${u}`||o!==e)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${i}.`);if(t!==void 0&&t>u>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${i}.`)}break}}});var qt=r((RE,t4)=>{var pz=Rs();t4.exports=pz.satisfies(process.version,"^6.12.0 || >=8.0.0")});var x4=r((jE,d4)=>{var T=sp(),sz=it(),m4=nt(),uz=ko(),ez=ct(),oz=Wt(),tz=qt(),mz=zs(),{KeyObject:dz,createSecretKey:xz,createPublicKey:rz}=require("crypto"),Kt=["RS256","RS384","RS512"],lz=["ES256","ES384","ES512"],_t=["RS256","RS384","RS512"],fz=["HS256","HS384","HS512"];if(tz)Kt.splice(Kt.length,0,"PS256","PS384","PS512"),_t.splice(_t.length,0,"PS256","PS384","PS512");d4.exports=function(i,n,c,a){if(typeof c==="function"&&!a)a=c,c={};if(!c)c={};c=Object.assign({},c);let p;if(a)p=a;else p=function(m,d){if(m)throw m;return d};if(c.clockTimestamp&&typeof c.clockTimestamp!=="number")return p(new T("clockTimestamp must be a number"));if(c.nonce!==void 0&&(typeof c.nonce!=="string"||c.nonce.trim()===""))return p(new T("nonce must be a non-empty string"));if(c.allowInvalidAsymmetricKeyTypes!==void 0&&typeof c.allowInvalidAsymmetricKeyTypes!=="boolean")return p(new T("allowInvalidAsymmetricKeyTypes must be a boolean"));let s=c.clockTimestamp||Math.floor(Date.now()/1000);if(!i)return p(new T("jwt must be provided"));if(typeof i!=="string")return p(new T("jwt must be a string"));let u=i.split(".");if(u.length!==3)return p(new T("jwt malformed"));let e;try{e=uz(i,{complete:!0})}catch(m){return p(m)}if(!e)return p(new T("invalid token"));let o=e.header,t;if(typeof n==="function"){if(!a)return p(new T("verify must be called asynchronous if secret or public key is provided as a callback"));t=n}else t=function(m,d){return d(null,n)};return t(o,function(m,d){if(m)return p(new T("error in secret or public key callback: "+m.message));let l=u[2].trim()!=="";if(!l&&d)return p(new T("jwt signature is required"));if(l&&!d)return p(new T("secret or public key must be provided"));if(!l&&!c.algorithms)return p(new T('please specify "none" in "algorithms" to verify unsigned tokens'));if(d!=null&&!(d instanceof dz))try{d=rz(d)}catch(b){try{d=xz(typeof d==="string"?Buffer.from(d):d)}catch(W){return p(new T("secretOrPublicKey is not valid key material"))}}if(!c.algorithms)if(d.type==="secret")c.algorithms=fz;else if(["rsa","rsa-pss"].includes(d.asymmetricKeyType))c.algorithms=_t;else if(d.asymmetricKeyType==="ec")c.algorithms=lz;else c.algorithms=Kt;if(c.algorithms.indexOf(e.header.alg)===-1)return p(new T("invalid algorithm"));if(o.alg.startsWith("HS")&&d.type!=="secret")return p(new T(`secretOrPublicKey must be a symmetric key when using ${o.alg}`));else if(/^(?:RS|PS|ES)/.test(o.alg)&&d.type!=="public")return p(new T(`secretOrPublicKey must be an asymmetric key when using ${o.alg}`));if(!c.allowInvalidAsymmetricKeyTypes)try{oz(o.alg,d)}catch(b){return p(b)}let f;try{f=mz.verify(i,e.header.alg,d)}catch(b){return p(b)}if(!f)return p(new T("invalid signature"));let v=e.payload;if(typeof v.nbf<"u"&&!c.ignoreNotBefore){if(typeof v.nbf!=="number")return p(new T("invalid nbf value"));if(v.nbf>s+(c.clockTolerance||0))return p(new sz("jwt not active",new Date(v.nbf*1000)))}if(typeof v.exp<"u"&&!c.ignoreExpiration){if(typeof v.exp!=="number")return p(new T("invalid exp value"));if(s>=v.exp+(c.clockTolerance||0))return p(new m4("jwt expired",new Date(v.exp*1000)))}if(c.audience){let b=Array.isArray(c.audience)?c.audience:[c.audience];if(!(Array.isArray(v.aud)?v.aud:[v.aud]).some(function(_){return b.some(function(K){return K instanceof RegExp?K.test(_):K===_})}))return p(new T("jwt audience invalid. expected: "+b.join(" or ")))}if(c.issuer){if(typeof c.issuer==="string"&&v.iss!==c.issuer||Array.isArray(c.issuer)&&c.issuer.indexOf(v.iss)===-1)return p(new T("jwt issuer invalid. expected: "+c.issuer))}if(c.subject){if(v.sub!==c.subject)return p(new T("jwt subject invalid. expected: "+c.subject))}if(c.jwtid){if(v.jti!==c.jwtid)return p(new T("jwt jwtid invalid. expected: "+c.jwtid))}if(c.nonce){if(v.nonce!==c.nonce)return p(new T("jwt nonce invalid. expected: "+c.nonce))}if(c.maxAge){if(typeof v.iat!=="number")return p(new T("iat required when maxAge is specified"));let b=ez(c.maxAge,v.iat);if(typeof b>"u")return p(new T('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(s>=b+(c.clockTolerance||0))return p(new m4("maxAge exceeded",new Date(b*1000)))}if(c.complete===!0){let b=e.signature;return p(null,{header:o,payload:v,signature:b})}return p(null,v)})}});var b4=r((TE,w4)=>{var r4=1/0,f4=9007199254740991,vz=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,l4=NaN,wz="[object Arguments]",bz="[object Function]",Wz="[object GeneratorFunction]",qz="[object String]",Kz="[object Symbol]",_z=/^\s+|\s+$/g,Jz=/^[-+]0x[0-9a-f]+$/i,$z=/^0b[01]+$/i,hz=/^0o[0-7]+$/i,zz=/^(?:0|[1-9]\d*)$/,Zz=parseInt;function Gz(i,n){var c=-1,a=i?i.length:0,p=Array(a);while(++c<a)p[c]=n(i[c],c,i);return p}function Yz(i,n,c,a){var p=i.length,s=c+(a?1:-1);while(a?s--:++s<p)if(n(i[s],s,i))return s;return-1}function Xz(i,n,c){if(n!==n)return Yz(i,Sz,c);var a=c-1,p=i.length;while(++a<p)if(i[a]===n)return a;return-1}function Sz(i){return i!==i}function Iz(i,n){var c=-1,a=Array(i);while(++c<i)a[c]=n(c);return a}function Pz(i,n){return Gz(n,function(c){return i[c]})}function Hz(i,n){return function(c){return i(n(c))}}var js=Object.prototype,$t=js.hasOwnProperty,Ts=js.toString,Mz=js.propertyIsEnumerable,Vz=Hz(Object.keys,Object),Cz=Math.max;function Oz(i,n){var c=v4(i)||Rz(i)?Iz(i.length,String):[],a=c.length,p=!!a;for(var s in i)if((n||$t.call(i,s))&&!(p&&(s=="length"||Nz(s,a))))c.push(s);return c}function Az(i){if(!Ez(i))return Vz(i);var n=[];for(var c in Object(i))if($t.call(i,c)&&c!="constructor")n.push(c);return n}function Nz(i,n){return n=n==null?f4:n,!!n&&(typeof i=="number"||zz.test(i))&&(i>-1&&i%1==0&&i<n)}function Ez(i){var n=i&&i.constructor,c=typeof n=="function"&&n.prototype||js;return i===c}function yz(i,n,c,a){i=ht(i)?i:kz(i),c=c&&!a?gz(c):0;var p=i.length;if(c<0)c=Cz(p+c,0);return Lz(i)?c<=p&&i.indexOf(n,c)>-1:!!p&&Xz(i,n,c)>-1}function Rz(i){return jz(i)&&$t.call(i,"callee")&&(!Mz.call(i,"callee")||Ts.call(i)==wz)}var v4=Array.isArray;function ht(i){return i!=null&&Dz(i.length)&&!Tz(i)}function jz(i){return zt(i)&&ht(i)}function Tz(i){var n=Jt(i)?Ts.call(i):"";return n==bz||n==Wz}function Dz(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=f4}function Jt(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function zt(i){return!!i&&typeof i=="object"}function Lz(i){return typeof i=="string"||!v4(i)&&zt(i)&&Ts.call(i)==qz}function Bz(i){return typeof i=="symbol"||zt(i)&&Ts.call(i)==Kz}function Fz(i){if(!i)return i===0?i:0;if(i=Uz(i),i===r4||i===-r4){var n=i<0?-1:1;return n*vz}return i===i?i:0}function gz(i){var n=Fz(i),c=n%1;return n===n?c?n-c:n:0}function Uz(i){if(typeof i=="number")return i;if(Bz(i))return l4;if(Jt(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=Jt(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(_z,"");var c=$z.test(i);return c||hz.test(i)?Zz(i.slice(2),c?2:8):Jz.test(i)?l4:+i}function Qz(i){return ht(i)?Oz(i):Az(i)}function kz(i){return i?Pz(i,Qz(i)):[]}w4.exports=yz});var q4=r((DE,W4)=>{var iZ="[object Boolean]",nZ=Object.prototype,cZ=nZ.toString;function aZ(i){return i===!0||i===!1||pZ(i)&&cZ.call(i)==iZ}function pZ(i){return!!i&&typeof i=="object"}W4.exports=aZ});var h4=r((LE,$4)=>{var K4=1/0,sZ=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,_4=NaN,uZ="[object Symbol]",eZ=/^\s+|\s+$/g,oZ=/^[-+]0x[0-9a-f]+$/i,tZ=/^0b[01]+$/i,mZ=/^0o[0-7]+$/i,dZ=parseInt,xZ=Object.prototype,rZ=xZ.toString;function lZ(i){return typeof i=="number"&&i==bZ(i)}function J4(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function fZ(i){return!!i&&typeof i=="object"}function vZ(i){return typeof i=="symbol"||fZ(i)&&rZ.call(i)==uZ}function wZ(i){if(!i)return i===0?i:0;if(i=WZ(i),i===K4||i===-K4){var n=i<0?-1:1;return n*sZ}return i===i?i:0}function bZ(i){var n=wZ(i),c=n%1;return n===n?c?n-c:n:0}function WZ(i){if(typeof i=="number")return i;if(vZ(i))return _4;if(J4(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=J4(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(eZ,"");var c=tZ.test(i);return c||mZ.test(i)?dZ(i.slice(2),c?2:8):oZ.test(i)?_4:+i}$4.exports=lZ});var Z4=r((BE,z4)=>{var qZ="[object Number]",KZ=Object.prototype,_Z=KZ.toString;function JZ(i){return!!i&&typeof i=="object"}function $Z(i){return typeof i=="number"||JZ(i)&&_Z.call(i)==qZ}z4.exports=$Z});var S4=r((FE,X4)=>{var hZ="[object Object]";function zZ(i){var n=!1;if(i!=null&&typeof i.toString!="function")try{n=!!(i+"")}catch(c){}return n}function ZZ(i,n){return function(c){return i(n(c))}}var GZ=Function.prototype,G4=Object.prototype,Y4=GZ.toString,YZ=G4.hasOwnProperty,XZ=Y4.call(Object),SZ=G4.toString,IZ=ZZ(Object.getPrototypeOf,Object);function PZ(i){return!!i&&typeof i=="object"}function HZ(i){if(!PZ(i)||SZ.call(i)!=hZ||zZ(i))return!1;var n=IZ(i);if(n===null)return!0;var c=YZ.call(n,"constructor")&&n.constructor;return typeof c=="function"&&c instanceof c&&Y4.call(c)==XZ}X4.exports=HZ});var P4=r((gE,I4)=>{var MZ="[object String]",VZ=Object.prototype,CZ=VZ.toString,OZ=Array.isArray;function AZ(i){return!!i&&typeof i=="object"}function NZ(i){return typeof i=="string"||!OZ(i)&&AZ(i)&&CZ.call(i)==MZ}I4.exports=NZ});var O4=r((UE,C4)=>{var EZ="Expected a function",H4=1/0,yZ=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,M4=NaN,RZ="[object Symbol]",jZ=/^\s+|\s+$/g,TZ=/^[-+]0x[0-9a-f]+$/i,DZ=/^0b[01]+$/i,LZ=/^0o[0-7]+$/i,BZ=parseInt,FZ=Object.prototype,gZ=FZ.toString;function UZ(i,n){var c;if(typeof n!="function")throw TypeError(EZ);return i=cG(i),function(){if(--i>0)c=n.apply(this,arguments);if(i<=1)n=void 0;return c}}function QZ(i){return UZ(2,i)}function V4(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function kZ(i){return!!i&&typeof i=="object"}function iG(i){return typeof i=="symbol"||kZ(i)&&gZ.call(i)==RZ}function nG(i){if(!i)return i===0?i:0;if(i=aG(i),i===H4||i===-H4){var n=i<0?-1:1;return n*yZ}return i===i?i:0}function cG(i){var n=nG(i),c=n%1;return n===n?c?n-c:n:0}function aG(i){if(typeof i=="number")return i;if(iG(i))return M4;if(V4(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=V4(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(jZ,"");var c=DZ.test(i);return c||LZ.test(i)?BZ(i.slice(2),c?2:8):TZ.test(i)?M4:+i}C4.exports=QZ});var L4=r((QE,D4)=>{var A4=ct(),pG=qt(),sG=Wt(),N4=zs(),uG=b4(),Ds=q4(),E4=h4(),Zt=Z4(),R4=S4(),En=P4(),eG=O4(),{KeyObject:oG,createSecretKey:tG,createPrivateKey:mG}=require("crypto"),j4=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(pG)j4.splice(3,0,"PS256","PS384","PS512");var dG={expiresIn:{isValid:function(i){return E4(i)||En(i)&&i},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(i){return E4(i)||En(i)&&i},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(i){return En(i)||Array.isArray(i)},message:'"audience" must be a string or array'},algorithm:{isValid:uG.bind(null,j4),message:'"algorithm" must be a valid string enum value'},header:{isValid:R4,message:'"header" must be an object'},encoding:{isValid:En,message:'"encoding" must be a string'},issuer:{isValid:En,message:'"issuer" must be a string'},subject:{isValid:En,message:'"subject" must be a string'},jwtid:{isValid:En,message:'"jwtid" must be a string'},noTimestamp:{isValid:Ds,message:'"noTimestamp" must be a boolean'},keyid:{isValid:En,message:'"keyid" must be a string'},mutatePayload:{isValid:Ds,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:Ds,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:Ds,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},xG={iat:{isValid:Zt,message:'"iat" should be a number of seconds'},exp:{isValid:Zt,message:'"exp" should be a number of seconds'},nbf:{isValid:Zt,message:'"nbf" should be a number of seconds'}};function T4(i,n,c,a){if(!R4(c))throw Error('Expected "'+a+'" to be a plain object.');Object.keys(c).forEach(function(p){let s=i[p];if(!s){if(!n)throw Error('"'+p+'" is not allowed in "'+a+'"');return}if(!s.isValid(c[p]))throw Error(s.message)})}function rG(i){return T4(dG,!1,i,"options")}function lG(i){return T4(xG,!0,i,"payload")}var y4={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},fG=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];D4.exports=function(i,n,c,a){if(typeof c==="function")a=c,c={};else c=c||{};let p=typeof i==="object"&&!Buffer.isBuffer(i),s=Object.assign({alg:c.algorithm||"HS256",typ:p?"JWT":void 0,kid:c.keyid},c.header);function u(t){if(a)return a(t);throw t}if(!n&&c.algorithm!=="none")return u(Error("secretOrPrivateKey must have a value"));if(n!=null&&!(n instanceof oG))try{n=mG(n)}catch(t){try{n=tG(typeof n==="string"?Buffer.from(n):n)}catch(m){return u(Error("secretOrPrivateKey is not valid key material"))}}if(s.alg.startsWith("HS")&&n.type!=="secret")return u(Error(`secretOrPrivateKey must be a symmetric key when using ${s.alg}`));else if(/^(?:RS|PS|ES)/.test(s.alg)){if(n.type!=="private")return u(Error(`secretOrPrivateKey must be an asymmetric key when using ${s.alg}`));if(!c.allowInsecureKeySizes&&!s.alg.startsWith("ES")&&n.asymmetricKeyDetails!==void 0&&n.asymmetricKeyDetails.modulusLength<2048)return u(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`))}if(typeof i>"u")return u(Error("payload is required"));else if(p){try{lG(i)}catch(t){return u(t)}if(!c.mutatePayload)i=Object.assign({},i)}else{let t=fG.filter(function(m){return typeof c[m]<"u"});if(t.length>0)return u(Error("invalid "+t.join(",")+" option for "+typeof i+" payload"))}if(typeof i.exp<"u"&&typeof c.expiresIn<"u")return u(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof i.nbf<"u"&&typeof c.notBefore<"u")return u(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{rG(c)}catch(t){return u(t)}if(!c.allowInvalidAsymmetricKeyTypes)try{sG(s.alg,n)}catch(t){return u(t)}let e=i.iat||Math.floor(Date.now()/1000);if(c.noTimestamp)delete i.iat;else if(p)i.iat=e;if(typeof c.notBefore<"u"){try{i.nbf=A4(c.notBefore,e)}catch(t){return u(t)}if(typeof i.nbf>"u")return u(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof c.expiresIn<"u"&&typeof i==="object"){try{i.exp=A4(c.expiresIn,e)}catch(t){return u(t)}if(typeof i.exp>"u")return u(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(y4).forEach(function(t){let m=y4[t];if(typeof c[t]<"u"){if(typeof i[m]<"u")return u(Error('Bad "options.'+t+'" option. The payload already has an "'+m+'" property.'));i[m]=c[t]}});let o=c.encoding||"utf8";if(typeof a==="function")a=a&&eG(a),N4.createSign({header:s,privateKey:n,payload:i,encoding:o}).once("error",a).once("done",function(t){if(!c.allowInsecureKeySizes&&/^(?:RS|PS)/.test(s.alg)&&t.length<256)return a(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`));a(null,t)});else{let t=N4.sign({header:s,payload:i,secret:n,encoding:o});if(!c.allowInsecureKeySizes&&/^(?:RS|PS)/.test(s.alg)&&t.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`);return t}}});var F4=r((kE,B4)=>{B4.exports={decode:ko(),verify:x4(),sign:L4(),JsonWebTokenError:sp(),NotBeforeError:it(),TokenExpiredError:nt()}});var Yt=r((Gt)=>{Object.defineProperty(Gt,"__esModule",{value:!0});var vG=require("crypto"),wG=(i,n)=>(0,vG.createHash)(i).update(n).digest();Gt.default=wG});var ni=r((mi)=>{Object.defineProperty(mi,"__esModule",{value:!0});mi.concatKdf=mi.lengthAndInput=mi.uint32be=mi.uint64be=mi.p2s=mi.concat=mi.decoder=mi.encoder=void 0;var bG=Yt();mi.encoder=new TextEncoder;mi.decoder=new TextDecoder;var Ls=4294967296;function St(...i){let n=i.reduce((p,{length:s})=>p+s,0),c=new Uint8Array(n),a=0;return i.forEach((p)=>{c.set(p,a),a+=p.length}),c}mi.concat=St;function WG(i,n){return St(mi.encoder.encode(i),new Uint8Array([0]),n)}mi.p2s=WG;function Xt(i,n,c){if(n<0||n>=Ls)throw RangeError(`value must be >= 0 and <= ${Ls-1}. Received ${n}`);i.set([n>>>24,n>>>16,n>>>8,n&255],c)}function qG(i){let n=Math.floor(i/Ls),c=i%Ls,a=new Uint8Array(8);return Xt(a,n,0),Xt(a,c,4),a}mi.uint64be=qG;function It(i){let n=new Uint8Array(4);return Xt(n,i),n}mi.uint32be=It;function KG(i){return St(It(i.length),i)}mi.lengthAndInput=KG;async function _G(i,n,c){let a=Math.ceil((n>>3)/32),p=new Uint8Array(a*32);for(let s=0;s<a;s++){let u=new Uint8Array(4+i.length+c.length);u.set(It(s+1)),u.set(i,4),u.set(c,4+i.length),p.set(await(0,bG.default)("sha256",u),s*32)}return p.slice(0,n>>3)}mi.concatKdf=_G});var Yi=r((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.decode=on.encode=on.encodeBase64=on.decodeBase64=void 0;var Uc=require("buffer"),JG=ni(),g4;function $G(i){let n=i;if(n instanceof Uint8Array)n=JG.decoder.decode(n);return n}if(Uc.Buffer.isEncoding("base64url"))on.encode=g4=(i)=>Uc.Buffer.from(i).toString("base64url");else on.encode=g4=(i)=>Uc.Buffer.from(i).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var hG=(i)=>Uc.Buffer.from(i,"base64");on.decodeBase64=hG;var zG=(i)=>Uc.Buffer.from(i).toString("base64");on.encodeBase64=zG;var ZG=(i)=>Uc.Buffer.from($G(i),"base64");on.decode=ZG});var X=r((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.JWSSignatureVerificationFailed=A.JWKSTimeout=A.JWKSMultipleMatchingKeys=A.JWKSNoMatchingKey=A.JWKSInvalid=A.JWKInvalid=A.JWTInvalid=A.JWSInvalid=A.JWEInvalid=A.JWEDecompressionFailed=A.JWEDecryptionFailed=A.JOSENotSupported=A.JOSEAlgNotAllowed=A.JWTExpired=A.JWTClaimValidationFailed=A.JOSEError=void 0;class Ji extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(i){var n;super(i);this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(n=Error.captureStackTrace)===null||n===void 0||n.call(Error,this,this.constructor)}}A.JOSEError=Ji;class U4 extends Ji{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(i,n="unspecified",c="unspecified"){super(i);this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=c}}A.JWTClaimValidationFailed=U4;class Q4 extends Ji{static get code(){return"ERR_JWT_EXPIRED"}constructor(i,n="unspecified",c="unspecified"){super(i);this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=c}}A.JWTExpired=Q4;class k4 extends Ji{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}A.JOSEAlgNotAllowed=k4;class i6 extends Ji{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}A.JOSENotSupported=i6;class n6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWE_DECRYPTION_FAILED",this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}}A.JWEDecryptionFailed=n6;class c6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWE_DECOMPRESSION_FAILED",this.message="decompression operation failed"}static get code(){return"ERR_JWE_DECOMPRESSION_FAILED"}}A.JWEDecompressionFailed=c6;class a6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}}A.JWEInvalid=a6;class p6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}A.JWSInvalid=p6;class s6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}A.JWTInvalid=s6;class u6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}}A.JWKInvalid=u6;class e6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}}A.JWKSInvalid=e6;class o6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_NO_MATCHING_KEY",this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}}A.JWKSNoMatchingKey=o6;class t6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS",this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}A.JWKSMultipleMatchingKeys=t6;class m6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_TIMEOUT",this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}}A.JWKSTimeout=m6;class d6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}A.JWSSignatureVerificationFailed=d6});var xp=r((Bs)=>{Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=void 0;var GG=require("crypto");Object.defineProperty(Bs,"default",{enumerable:!0,get:function(){return GG.randomFillSync}})});var Fs=r((rp)=>{Object.defineProperty(rp,"__esModule",{value:!0});rp.bitLength=void 0;var YG=X(),XG=xp();function x6(i){switch(i){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new YG.JOSENotSupported(`Unsupported JWE Algorithm: ${i}`)}}rp.bitLength=x6;rp.default=(i)=>(0,XG.default)(new Uint8Array(x6(i)>>3))});var Ht=r((Pt)=>{Object.defineProperty(Pt,"__esModule",{value:!0});var SG=X(),IG=Fs(),PG=(i,n)=>{if(n.length<<3!==(0,IG.bitLength)(i))throw new SG.JWEInvalid("Invalid Initialization Vector length")};Pt.default=PG});var Fi=r((Mt)=>{Object.defineProperty(Mt,"__esModule",{value:!0});var HG=require("crypto"),r6=require("util");Mt.default=r6.types.isKeyObject?(i)=>r6.types.isKeyObject(i):(i)=>i!=null&&i instanceof HG.KeyObject});var Ot=r((Ct)=>{Object.defineProperty(Ct,"__esModule",{value:!0});var Vt=X(),MG=Fi(),VG=(i,n)=>{let c;switch(i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":c=parseInt(i.slice(-3),10);break;case"A128GCM":case"A192GCM":case"A256GCM":c=parseInt(i.slice(1,4),10);break;default:throw new Vt.JOSENotSupported(`Content Encryption Algorithm ${i} is not supported either by JOSE or your javascript runtime`)}if(n instanceof Uint8Array){let a=n.byteLength<<3;if(a!==c)throw new Vt.JWEInvalid(`Invalid Content Encryption Key length. Expected ${c} bits, got ${a} bits`);return}if((0,MG.default)(n)&&n.type==="secret"){let a=n.symmetricKeySize<<3;if(a!==c)throw new Vt.JWEInvalid(`Invalid Content Encryption Key length. Expected ${c} bits, got ${a} bits`);return}throw TypeError("Invalid Content Encryption Key type")};Ct.default=VG});var l6=r((At)=>{Object.defineProperty(At,"__esModule",{value:!0});var CG=require("crypto"),OG=CG.timingSafeEqual;At.default=OG});var Et=r((Nt)=>{Object.defineProperty(Nt,"__esModule",{value:!0});var AG=require("crypto"),f6=ni();function NG(i,n,c,a,p,s){let u=(0,f6.concat)(i,n,c,(0,f6.uint64be)(i.length<<3)),e=(0,AG.createHmac)(`sha${a}`,p);return e.update(u),e.digest().slice(0,s>>3)}Nt.default=NG});var gi=r((lp)=>{Object.defineProperty(lp,"__esModule",{value:!0});lp.isCryptoKey=void 0;var EG=require("crypto"),v6=require("util"),yG=EG.webcrypto;lp.default=yG;lp.isCryptoKey=v6.types.isCryptoKey?(i)=>v6.types.isCryptoKey(i):(i)=>!1});var Rn=r((Qc)=>{Object.defineProperty(Qc,"__esModule",{value:!0});Qc.checkEncCryptoKey=Qc.checkSigCryptoKey=void 0;function $i(i,n="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${n} must be ${i}`)}function yn(i,n){return i.name===n}function gs(i){return parseInt(i.name.slice(4),10)}function RG(i){switch(i){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}function w6(i,n){if(n.length&&!n.some((c)=>i.usages.includes(c))){let c="CryptoKey does not support this operation, its usages must include ";if(n.length>2){let a=n.pop();c+=`one of ${n.join(", ")}, or ${a}.`}else if(n.length===2)c+=`one of ${n[0]} or ${n[1]}.`;else c+=`${n[0]}.`;throw TypeError(c)}}function jG(i,n,...c){switch(n){case"HS256":case"HS384":case"HS512":{if(!yn(i.algorithm,"HMAC"))throw $i("HMAC");let a=parseInt(n.slice(2),10);if(gs(i.algorithm.hash)!==a)throw $i(`SHA-${a}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!yn(i.algorithm,"RSASSA-PKCS1-v1_5"))throw $i("RSASSA-PKCS1-v1_5");let a=parseInt(n.slice(2),10);if(gs(i.algorithm.hash)!==a)throw $i(`SHA-${a}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!yn(i.algorithm,"RSA-PSS"))throw $i("RSA-PSS");let a=parseInt(n.slice(2),10);if(gs(i.algorithm.hash)!==a)throw $i(`SHA-${a}`,"algorithm.hash");break}case"EdDSA":{if(i.algorithm.name!=="Ed25519"&&i.algorithm.name!=="Ed448")throw $i("Ed25519 or Ed448");break}case"ES256":case"ES384":case"ES512":{if(!yn(i.algorithm,"ECDSA"))throw $i("ECDSA");let a=RG(n);if(i.algorithm.namedCurve!==a)throw $i(a,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}w6(i,c)}Qc.checkSigCryptoKey=jG;function TG(i,n,...c){switch(n){case"A128GCM":case"A192GCM":case"A256GCM":{if(!yn(i.algorithm,"AES-GCM"))throw $i("AES-GCM");let a=parseInt(n.slice(1,4),10);if(i.algorithm.length!==a)throw $i(a,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!yn(i.algorithm,"AES-KW"))throw $i("AES-KW");let a=parseInt(n.slice(1,4),10);if(i.algorithm.length!==a)throw $i(a,"algorithm.length");break}case"ECDH":{switch(i.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw $i("ECDH, X25519, or X448")}break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!yn(i.algorithm,"PBKDF2"))throw $i("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!yn(i.algorithm,"RSA-OAEP"))throw $i("RSA-OAEP");let a=parseInt(n.slice(9),10)||1;if(gs(i.algorithm.hash)!==a)throw $i(`SHA-${a}`,"algorithm.hash");break}default:throw TypeError("CryptoKey does not support this operation")}w6(i,c)}Qc.checkEncCryptoKey=TG});var Ui=r((fp)=>{Object.defineProperty(fp,"__esModule",{value:!0});fp.withAlg=void 0;function b6(i,n,...c){if(c.length>2){let a=c.pop();i+=`one of type ${c.join(", ")}, or ${a}.`}else if(c.length===2)i+=`one of type ${c[0]} or ${c[1]}.`;else i+=`of type ${c[0]}.`;if(n==null)i+=` Received ${n}`;else if(typeof n==="function"&&n.name)i+=` Received function ${n.name}`;else if(typeof n==="object"&&n!=null){if(n.constructor&&n.constructor.name)i+=` Received an instance of ${n.constructor.name}`}return i}fp.default=(i,...n)=>{return b6("Key must be ",i,...n)};function DG(i,n,...c){return b6(`Key for the ${i} algorithm must be `,n,...c)}fp.withAlg=DG});var Us=r((Rt)=>{Object.defineProperty(Rt,"__esModule",{value:!0});var LG=require("crypto"),yt;Rt.default=(i)=>{return yt||(yt=new Set((0,LG.getCiphers)())),yt.has(i)}});var Qi=r((vp)=>{Object.defineProperty(vp,"__esModule",{value:!0});vp.types=void 0;var Qs=gi(),BG=Fi();vp.default=(i)=>(0,BG.default)(i)||(0,Qs.isCryptoKey)(i);var W6=["KeyObject"];vp.types=W6;if(globalThis.CryptoKey||(Qs.default===null||Qs.default===void 0?void 0:Qs.default.CryptoKey))W6.push("CryptoKey")});var Dt=r((Tt)=>{Object.defineProperty(Tt,"__esModule",{value:!0});var jt=require("crypto"),FG=Ht(),gG=Ot(),UG=ni(),kc=X(),QG=l6(),kG=Et(),iY=gi(),nY=Rn(),q6=Fi(),cY=Ui(),K6=Us(),aY=Qi();function pY(i,n,c,a,p,s){let u=parseInt(i.slice(1,4),10);if((0,q6.default)(n))n=n.export();let e=n.subarray(u>>3),o=n.subarray(0,u>>3),t=parseInt(i.slice(-3),10),m=`aes-${u}-cbc`;if(!(0,K6.default)(m))throw new kc.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let d=(0,kG.default)(s,a,c,t,o,u),l;try{l=(0,QG.default)(p,d)}catch{}if(!l)throw new kc.JWEDecryptionFailed;let f;try{let v=(0,jt.createDecipheriv)(m,e,a);f=(0,UG.concat)(v.update(c),v.final())}catch{}if(!f)throw new kc.JWEDecryptionFailed;return f}function sY(i,n,c,a,p,s){let e=`aes-${parseInt(i.slice(1,4),10)}-gcm`;if(!(0,K6.default)(e))throw new kc.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);try{let o=(0,jt.createDecipheriv)(e,n,a,{authTagLength:16});if(o.setAuthTag(p),s.byteLength)o.setAAD(s,{plaintextLength:c.length});let t=o.update(c);return o.final(),t}catch{throw new kc.JWEDecryptionFailed}}var uY=(i,n,c,a,p,s)=>{let u;if((0,iY.isCryptoKey)(n))(0,nY.checkEncCryptoKey)(n,i,"decrypt"),u=jt.KeyObject.from(n);else if(n instanceof Uint8Array||(0,q6.default)(n))u=n;else throw TypeError((0,cY.default)(n,...aY.types,"Uint8Array"));switch((0,gG.default)(i,u),(0,FG.default)(i,a),i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return pY(i,u,c,a,p,s);case"A128GCM":case"A192GCM":case"A256GCM":return sY(i,u,c,a,p,s);default:throw new kc.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};Tt.default=uY});var Lt=r((ia)=>{Object.defineProperty(ia,"__esModule",{value:!0});ia.deflate=ia.inflate=void 0;var _6=require("util"),J6=require("zlib"),eY=X(),oY=(0,_6.promisify)(J6.inflateRaw),tY=(0,_6.promisify)(J6.deflateRaw),mY=(i)=>oY(i,{maxOutputLength:250000}).catch(()=>{throw new eY.JWEDecompressionFailed});ia.inflate=mY;var dY=(i)=>tY(i);ia.deflate=dY});var na=r((Bt)=>{Object.defineProperty(Bt,"__esModule",{value:!0});var xY=(...i)=>{let n=i.filter(Boolean);if(n.length===0||n.length===1)return!0;let c;for(let a of n){let p=Object.keys(a);if(!c||c.size===0){c=new Set(p);continue}for(let s of p){if(c.has(s))return!1;c.add(s)}}return!0};Bt.default=xY});var Vi=r((Ft)=>{Object.defineProperty(Ft,"__esModule",{value:!0});function rY(i){return typeof i==="object"&&i!==null}function lY(i){if(!rY(i)||Object.prototype.toString.call(i)!=="[object Object]")return!1;if(Object.getPrototypeOf(i)===null)return!0;let n=i;while(Object.getPrototypeOf(n)!==null)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(i)===n}Ft.default=lY});var iu=r((ca)=>{Object.defineProperty(ca,"__esModule",{value:!0});ca.unwrap=ca.wrap=void 0;var $6=require("buffer"),ks=require("crypto"),h6=X(),z6=ni(),fY=gi(),vY=Rn(),wY=Fi(),bY=Ui(),Z6=Us(),WY=Qi();function G6(i,n){if(i.symmetricKeySize<<3!==parseInt(n.slice(1,4),10))throw TypeError(`Invalid key size for alg: ${n}`)}function Y6(i,n,c){if((0,wY.default)(i))return i;if(i instanceof Uint8Array)return(0,ks.createSecretKey)(i);if((0,fY.isCryptoKey)(i))return(0,vY.checkEncCryptoKey)(i,n,c),ks.KeyObject.from(i);throw TypeError((0,bY.default)(i,...WY.types,"Uint8Array"))}var qY=(i,n,c)=>{let p=`aes${parseInt(i.slice(1,4),10)}-wrap`;if(!(0,Z6.default)(p))throw new h6.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`);let s=Y6(n,i,"wrapKey");G6(s,i);let u=(0,ks.createCipheriv)(p,s,$6.Buffer.alloc(8,166));return(0,z6.concat)(u.update(c),u.final())};ca.wrap=qY;var KY=(i,n,c)=>{let p=`aes${parseInt(i.slice(1,4),10)}-wrap`;if(!(0,Z6.default)(p))throw new h6.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`);let s=Y6(n,i,"unwrapKey");G6(s,i);let u=(0,ks.createDecipheriv)(p,s,$6.Buffer.alloc(8,166));return(0,z6.concat)(u.update(c),u.final())};ca.unwrap=KY});var wp=r((tn)=>{Object.defineProperty(tn,"__esModule",{value:!0});tn.setCurve=tn.weakMap=void 0;var nu=require("buffer"),X6=require("crypto"),S6=X(),_Y=gi(),JY=Fi(),$Y=Ui(),hY=Qi(),zY=nu.Buffer.from([42,134,72,206,61,3,1,7]),ZY=nu.Buffer.from([43,129,4,0,34]),GY=nu.Buffer.from([43,129,4,0,35]),YY=nu.Buffer.from([43,129,4,0,10]);tn.weakMap=new WeakMap;var XY=(i)=>{switch(i){case"prime256v1":return"P-256";case"secp384r1":return"P-384";case"secp521r1":return"P-521";case"secp256k1":return"secp256k1";default:throw new S6.JOSENotSupported("Unsupported key curve for this operation")}},I6=(i,n)=>{var c;let a;if((0,_Y.isCryptoKey)(i))a=X6.KeyObject.from(i);else if((0,JY.default)(i))a=i;else throw TypeError((0,$Y.default)(i,...hY.types));if(a.type==="secret")throw TypeError('only "private" or "public" type keys can be used for this operation');switch(a.asymmetricKeyType){case"ed25519":case"ed448":return`Ed${a.asymmetricKeyType.slice(2)}`;case"x25519":case"x448":return`X${a.asymmetricKeyType.slice(1)}`;case"ec":{if(tn.weakMap.has(a))return tn.weakMap.get(a);let p=(c=a.asymmetricKeyDetails)===null||c===void 0?void 0:c.namedCurve;if(!p&&a.type==="private")p=I6((0,X6.createPublicKey)(a),!0);else if(!p){let u=a.export({format:"der",type:"spki"}),e=u[1]<128?14:15,o=u[e],t=u.slice(e+1,e+1+o);if(t.equals(zY))p="prime256v1";else if(t.equals(ZY))p="secp384r1";else if(t.equals(GY))p="secp521r1";else if(t.equals(YY))p="secp256k1";else throw new S6.JOSENotSupported("Unsupported key curve for this operation")}if(n)return p;let s=XY(p);return tn.weakMap.set(a,s),s}default:throw TypeError("Invalid asymmetric key type for this operation")}};function SY(i,n){tn.weakMap.set(i,n)}tn.setCurve=SY;tn.default=I6});var nm=r((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.ecdhAllowed=jn.generateEpk=jn.deriveKey=void 0;var bp=require("crypto"),IY=require("util"),H6=wp(),rc=ni(),PY=X(),Ut=gi(),P6=Rn(),Qt=Fi(),kt=Ui(),im=Qi(),gt=(0,IY.promisify)(bp.generateKeyPair);async function HY(i,n,c,a,p=new Uint8Array(0),s=new Uint8Array(0)){let u;if((0,Ut.isCryptoKey)(i))(0,P6.checkEncCryptoKey)(i,"ECDH"),u=bp.KeyObject.from(i);else if((0,Qt.default)(i))u=i;else throw TypeError((0,kt.default)(i,...im.types));let e;if((0,Ut.isCryptoKey)(n))(0,P6.checkEncCryptoKey)(n,"ECDH","deriveBits"),e=bp.KeyObject.from(n);else if((0,Qt.default)(n))e=n;else throw TypeError((0,kt.default)(n,...im.types));let o=(0,rc.concat)((0,rc.lengthAndInput)(rc.encoder.encode(c)),(0,rc.lengthAndInput)(p),(0,rc.lengthAndInput)(s),(0,rc.uint32be)(a)),t=(0,bp.diffieHellman)({privateKey:e,publicKey:u});return(0,rc.concatKdf)(t,a,o)}jn.deriveKey=HY;async function MY(i){let n;if((0,Ut.isCryptoKey)(i))n=bp.KeyObject.from(i);else if((0,Qt.default)(i))n=i;else throw TypeError((0,kt.default)(i,...im.types));switch(n.asymmetricKeyType){case"x25519":return gt("x25519");case"x448":return gt("x448");case"ec":{let c=(0,H6.default)(n);return gt("ec",{namedCurve:c})}default:throw new PY.JOSENotSupported("Invalid or unsupported EPK")}}jn.generateEpk=MY;var VY=(i)=>["P-256","P-384","P-521","X25519","X448"].includes((0,H6.default)(i));jn.ecdhAllowed=VY});var M6=r((cm)=>{Object.defineProperty(cm,"__esModule",{value:!0});var CY=X();function OY(i){if(!(i instanceof Uint8Array)||i.length<8)throw new CY.JWEInvalid("PBES2 Salt Input must be 8 or more octets")}cm.default=OY});var am=r((aa)=>{Object.defineProperty(aa,"__esModule",{value:!0});aa.decrypt=aa.encrypt=void 0;var AY=require("util"),V6=require("crypto"),NY=xp(),C6=ni(),EY=Yi(),O6=iu(),A6=M6(),yY=gi(),RY=Rn(),jY=Fi(),TY=Ui(),DY=Qi(),N6=(0,AY.promisify)(V6.pbkdf2);function E6(i,n){if((0,jY.default)(i))return i.export();if(i instanceof Uint8Array)return i;if((0,yY.isCryptoKey)(i))return(0,RY.checkEncCryptoKey)(i,n,"deriveBits","deriveKey"),V6.KeyObject.from(i).export();throw TypeError((0,TY.default)(i,...DY.types,"Uint8Array"))}var LY=async(i,n,c,a=2048,p=(0,NY.default)(new Uint8Array(16)))=>{(0,A6.default)(p);let s=(0,C6.p2s)(i,p),u=parseInt(i.slice(13,16),10)>>3,e=E6(n,i),o=await N6(e,s,a,u,`sha${i.slice(8,11)}`);return{encryptedKey:await(0,O6.wrap)(i.slice(-6),o,c),p2c:a,p2s:(0,EY.encode)(p)}};aa.encrypt=LY;var BY=async(i,n,c,a,p)=>{(0,A6.default)(p);let s=(0,C6.p2s)(i,p),u=parseInt(i.slice(13,16),10)>>3,e=E6(n,i),o=await N6(e,s,a,u,`sha${i.slice(8,11)}`);return(0,O6.unwrap)(i.slice(-6),o,c)};aa.decrypt=BY});var Wp=r((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.setModulusLength=mn.weakMap=void 0;mn.weakMap=new WeakMap;var cu=(i,n)=>{let c=i.readUInt8(1);if((c&128)===0){if(n===0)return c;return cu(i.subarray(2+c),n-1)}let a=c&127;c=0;for(let p=0;p<a;p++){c<<=8;let s=i.readUInt8(2+p);c|=s}if(n===0)return c;return cu(i.subarray(2+c),n-1)},FY=(i,n)=>{let c=i.readUInt8(1);if((c&128)===0)return cu(i.subarray(2),n);let a=c&127;return cu(i.subarray(2+a),n)},gY=(i)=>{var n,c;if(mn.weakMap.has(i))return mn.weakMap.get(i);let a=(c=(n=i.asymmetricKeyDetails)===null||n===void 0?void 0:n.modulusLength)!==null&&c!==void 0?c:FY(i.export({format:"der",type:"pkcs1"}),i.type==="private"?1:0)-1<<3;return mn.weakMap.set(i,a),a},UY=(i,n)=>{mn.weakMap.set(i,n)};mn.setModulusLength=UY;mn.default=(i,n)=>{if(gY(i)<2048)throw TypeError(`${n} requires key modulusLength to be 2048 bits or larger`)}});var pm=r((pa)=>{Object.defineProperty(pa,"__esModule",{value:!0});pa.decrypt=pa.encrypt=void 0;var qp=require("crypto"),QY=Wp(),kY=gi(),iX=Rn(),nX=Fi(),cX=Ui(),aX=Qi(),y6=(i,n)=>{if(i.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");(0,QY.default)(i,n)},R6=(i)=>{switch(i){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return qp.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return qp.constants.RSA_PKCS1_PADDING;default:return}},j6=(i)=>{switch(i){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return}};function T6(i,n,...c){if((0,nX.default)(i))return i;if((0,kY.isCryptoKey)(i))return(0,iX.checkEncCryptoKey)(i,n,...c),qp.KeyObject.from(i);throw TypeError((0,cX.default)(i,...aX.types))}var pX=(i,n,c)=>{let a=R6(i),p=j6(i),s=T6(n,i,"wrapKey","encrypt");return y6(s,i),(0,qp.publicEncrypt)({key:s,oaepHash:p,padding:a},c)};pa.encrypt=pX;var sX=(i,n,c)=>{let a=R6(i),p=j6(i),s=T6(n,i,"unwrapKey","decrypt");return y6(s,i),(0,qp.privateDecrypt)({key:s,oaepHash:p,padding:a},c)};pa.decrypt=sX});var _p=r((Kp)=>{Object.defineProperty(Kp,"__esModule",{value:!0});Kp.bitLength=void 0;var uX=X(),eX=xp();function D6(i){switch(i){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new uX.JOSENotSupported(`Unsupported JWE Algorithm: ${i}`)}}Kp.bitLength=D6;Kp.default=(i)=>(0,eX.default)(new Uint8Array(D6(i)>>3))});var pu=r((ki)=>{Object.defineProperty(ki,"__esModule",{value:!0});ki.fromX509=ki.fromSPKI=ki.fromPKCS8=ki.toPKCS8=ki.toSPKI=void 0;var au=require("crypto"),L6=require("buffer"),oX=gi(),tX=Fi(),mX=Ui(),dX=Qi(),B6=(i,n,c)=>{let a;if((0,oX.isCryptoKey)(c)){if(!c.extractable)throw TypeError("CryptoKey is not extractable");a=au.KeyObject.from(c)}else if((0,tX.default)(c))a=c;else throw TypeError((0,mX.default)(c,...dX.types));if(a.type!==i)throw TypeError(`key is not a ${i} key`);return a.export({format:"pem",type:n})},xX=(i)=>{return B6("public","spki",i)};ki.toSPKI=xX;var rX=(i)=>{return B6("private","pkcs8",i)};ki.toPKCS8=rX;var lX=(i)=>(0,au.createPrivateKey)({key:L6.Buffer.from(i.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"});ki.fromPKCS8=lX;var fX=(i)=>(0,au.createPublicKey)({key:L6.Buffer.from(i.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"});ki.fromSPKI=fX;var vX=(i)=>(0,au.createPublicKey)({key:i,type:"spki",format:"pem"});ki.fromX509=vX});var g6=r((um)=>{Object.defineProperty(um,"__esModule",{value:!0});var ei=require("buffer"),wX=X(),bX=2,WX=3,qX=4,KX=48,sm=ei.Buffer.from([0]),su=ei.Buffer.from([bX]),_X=ei.Buffer.from([WX]),JX=ei.Buffer.from([KX]),$X=ei.Buffer.from([qX]),Tn=(i)=>{if(i<128)return ei.Buffer.from([i]);let n=ei.Buffer.alloc(5);n.writeUInt32BE(i,1);let c=1;while(n[c]===0)c++;return n[c-1]=128|5-c,n.slice(c-1)},hX=new Map([["P-256",ei.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",ei.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",ei.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",ei.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",ei.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",ei.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",ei.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",ei.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",ei.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);class F6{constructor(){this.length=0,this.elements=[]}oidFor(i){let n=hX.get(i);if(!n)throw new wX.JOSENotSupported("Invalid or unsupported OID");this.elements.push(n),this.length+=n.length}zero(){this.elements.push(su,ei.Buffer.from([1]),sm),this.length+=3}one(){this.elements.push(su,ei.Buffer.from([1]),ei.Buffer.from([1])),this.length+=3}unsignedInteger(i){if(i[0]&128){let n=Tn(i.length+1);this.elements.push(su,n,sm,i),this.length+=2+n.length+i.length}else{let n=0;while(i[n]===0&&(i[n+1]&128)===0)n++;let c=Tn(i.length-n);this.elements.push(su,Tn(i.length-n),i.slice(n)),this.length+=1+c.length+i.length-n}}octStr(i){let n=Tn(i.length);this.elements.push($X,Tn(i.length),i),this.length+=1+n.length+i.length}bitStr(i){let n=Tn(i.length+1);this.elements.push(_X,Tn(i.length+1),sm,i),this.length+=1+n.length+i.length+1}add(i){this.elements.push(i),this.length+=i.length}end(i=JX){let n=Tn(this.length);return ei.Buffer.concat([i,n,...this.elements],1+n.length+this.length)}}um.default=F6});var Jp=r((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.jwkImport=Wn.jwkExport=Wn.rsaPssParams=Wn.oneShotCallback=void 0;var[Dn,uu]=process.versions.node.split(".").map((i)=>parseInt(i,10));Wn.oneShotCallback=Dn>=16||Dn===15&&uu>=13;Wn.rsaPssParams=!("electron"in process.versions)&&(Dn>=17||Dn===16&&uu>=9);Wn.jwkExport=Dn>=16||Dn===15&&uu>=9;Wn.jwkImport=Dn>=16||Dn===15&&uu>=12});var Q6=r((em)=>{Object.defineProperty(em,"__esModule",{value:!0});var vi=require("buffer"),Yn=require("crypto"),zX=Yi(),ZX=X(),U6=wp(),GX=Wp(),dn=g6(),YX=Jp(),XX=(i)=>{if(YX.jwkImport&&i.kty!=="oct")return i.d?(0,Yn.createPrivateKey)({format:"jwk",key:i}):(0,Yn.createPublicKey)({format:"jwk",key:i});switch(i.kty){case"oct":return(0,Yn.createSecretKey)((0,zX.decode)(i.k));case"RSA":{let n=new dn.default,c=i.d!==void 0,a=vi.Buffer.from(i.n,"base64"),p=vi.Buffer.from(i.e,"base64");if(c)n.zero(),n.unsignedInteger(a),n.unsignedInteger(p),n.unsignedInteger(vi.Buffer.from(i.d,"base64")),n.unsignedInteger(vi.Buffer.from(i.p,"base64")),n.unsignedInteger(vi.Buffer.from(i.q,"base64")),n.unsignedInteger(vi.Buffer.from(i.dp,"base64")),n.unsignedInteger(vi.Buffer.from(i.dq,"base64")),n.unsignedInteger(vi.Buffer.from(i.qi,"base64"));else n.unsignedInteger(a),n.unsignedInteger(p);let u={key:n.end(),format:"der",type:"pkcs1"},e=c?(0,Yn.createPrivateKey)(u):(0,Yn.createPublicKey)(u);return(0,GX.setModulusLength)(e,a.length<<3),e}case"EC":{let n=new dn.default,c=i.d!==void 0,a=vi.Buffer.concat([vi.Buffer.alloc(1,4),vi.Buffer.from(i.x,"base64"),vi.Buffer.from(i.y,"base64")]);if(c){n.zero();let e=new dn.default;e.oidFor("ecPublicKey"),e.oidFor(i.crv),n.add(e.end());let o=new dn.default;o.one(),o.octStr(vi.Buffer.from(i.d,"base64"));let t=new dn.default;t.bitStr(a);let m=t.end(vi.Buffer.from([161]));o.add(m);let d=o.end(),l=new dn.default;l.add(d);let f=l.end(vi.Buffer.from([4]));n.add(f);let v=n.end(),b=(0,Yn.createPrivateKey)({key:v,format:"der",type:"pkcs8"});return(0,U6.setCurve)(b,i.crv),b}let p=new dn.default;p.oidFor("ecPublicKey"),p.oidFor(i.crv),n.add(p.end()),n.bitStr(a);let s=n.end(),u=(0,Yn.createPublicKey)({key:s,format:"der",type:"spki"});return(0,U6.setCurve)(u,i.crv),u}case"OKP":{let n=new dn.default;if(i.d!==void 0){n.zero();let s=new dn.default;s.oidFor(i.crv),n.add(s.end());let u=new dn.default;u.octStr(vi.Buffer.from(i.d,"base64"));let e=u.end(vi.Buffer.from([4]));n.add(e);let o=n.end();return(0,Yn.createPrivateKey)({key:o,format:"der",type:"pkcs8"})}let a=new dn.default;a.oidFor(i.crv),n.add(a.end()),n.bitStr(vi.Buffer.from(i.x,"base64"));let p=n.end();return(0,Yn.createPublicKey)({key:p,format:"der",type:"spki"})}default:throw new ZX.JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}};em.default=XX});var $p=r((qn)=>{Object.defineProperty(qn,"__esModule",{value:!0});qn.importJWK=qn.importPKCS8=qn.importX509=qn.importSPKI=void 0;var SX=Yi(),om=pu(),k6=Q6(),i8=X(),IX=Vi();async function PX(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return(0,om.fromSPKI)(i,n,c)}qn.importSPKI=PX;async function HX(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return(0,om.fromX509)(i,n,c)}qn.importX509=HX;async function MX(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return(0,om.fromPKCS8)(i,n,c)}qn.importPKCS8=MX;async function VX(i,n,c){var a;if(!(0,IX.default)(i))throw TypeError("JWK must be an object");switch(n||(n=i.alg),i.kty){case"oct":if(typeof i.k!=="string"||!i.k)throw TypeError('missing "k" (Key Value) Parameter value');if(c!==null&&c!==void 0||(c=i.ext!==!0),c)return(0,k6.default)({...i,alg:n,ext:(a=i.ext)!==null&&a!==void 0?a:!1});return(0,SX.decode)(i.k);case"RSA":if(i.oth!==void 0)throw new i8.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return(0,k6.default)({...i,alg:n});default:throw new i8.JOSENotSupported('Unsupported "kty" (Key Type) Parameter value')}}qn.importJWK=VX});var hp=r((tm)=>{Object.defineProperty(tm,"__esModule",{value:!0});var n8=Ui(),Kn=Qi(),CX=(i,n)=>{if(n instanceof Uint8Array)return;if(!(0,Kn.default)(n))throw TypeError((0,n8.withAlg)(i,n,...Kn.types,"Uint8Array"));if(n.type!=="secret")throw TypeError(`${Kn.types.join(" or ")} instances for symmetric algorithms must be of type "secret"`)},OX=(i,n,c)=>{if(!(0,Kn.default)(n))throw TypeError((0,n8.withAlg)(i,n,...Kn.types));if(n.type==="secret")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if(c==="sign"&&n.type==="public")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if(c==="decrypt"&&n.type==="public")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(n.algorithm&&c==="verify"&&n.type==="private")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(n.algorithm&&c==="encrypt"&&n.type==="private")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)},AX=(i,n,c)=>{if(i.startsWith("HS")||i==="dir"||i.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(i))CX(i,n);else OX(i,n,c)};tm.default=AX});var rm=r((xm)=>{Object.defineProperty(xm,"__esModule",{value:!0});var mm=require("crypto"),NX=Ht(),EX=Ot(),yX=ni(),RX=Et(),jX=gi(),TX=Rn(),c8=Fi(),DX=Ui(),dm=X(),a8=Us(),LX=Qi();function BX(i,n,c,a,p){let s=parseInt(i.slice(1,4),10);if((0,c8.default)(c))c=c.export();let u=c.subarray(s>>3),e=c.subarray(0,s>>3),o=`aes-${s}-cbc`;if(!(0,a8.default)(o))throw new dm.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let t=(0,mm.createCipheriv)(o,u,a),m=(0,yX.concat)(t.update(n),t.final()),d=parseInt(i.slice(-3),10),l=(0,RX.default)(p,a,m,d,e,s);return{ciphertext:m,tag:l}}function FX(i,n,c,a,p){let u=`aes-${parseInt(i.slice(1,4),10)}-gcm`;if(!(0,a8.default)(u))throw new dm.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let e=(0,mm.createCipheriv)(u,c,a,{authTagLength:16});if(p.byteLength)e.setAAD(p,{plaintextLength:n.length});let o=e.update(n);e.final();let t=e.getAuthTag();return{ciphertext:o,tag:t}}var gX=(i,n,c,a,p)=>{let s;if((0,jX.isCryptoKey)(c))(0,TX.checkEncCryptoKey)(c,i,"encrypt"),s=mm.KeyObject.from(c);else if(c instanceof Uint8Array||(0,c8.default)(c))s=c;else throw TypeError((0,DX.default)(c,...LX.types,"Uint8Array"));switch((0,EX.default)(i,s),(0,NX.default)(i,a),i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return BX(i,n,s,a,p);case"A128GCM":case"A192GCM":case"A256GCM":return FX(i,n,s,a,p);default:throw new dm.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};xm.default=gX});var lm=r((sa)=>{Object.defineProperty(sa,"__esModule",{value:!0});sa.unwrap=sa.wrap=void 0;var UX=rm(),QX=Dt(),kX=Fs(),p8=Yi();async function iS(i,n,c,a){let p=i.slice(0,7);a||(a=(0,kX.default)(p));let{ciphertext:s,tag:u}=await(0,UX.default)(p,c,n,a,new Uint8Array(0));return{encryptedKey:s,iv:(0,p8.encode)(a),tag:(0,p8.encode)(u)}}sa.wrap=iS;async function nS(i,n,c,a,p){let s=i.slice(0,7);return(0,QX.default)(s,n,c,a,p,new Uint8Array(0))}sa.unwrap=nS});var e8=r((fm)=>{Object.defineProperty(fm,"__esModule",{value:!0});var s8=iu(),u8=nm(),cS=am(),aS=pm(),zp=Yi(),ci=X(),pS=_p(),sS=$p(),uS=hp(),eS=Vi(),oS=lm();async function tS(i,n,c,a,p){switch((0,uS.default)(i,n,"decrypt"),i){case"dir":{if(c!==void 0)throw new ci.JWEInvalid("Encountered unexpected JWE Encrypted Key");return n}case"ECDH-ES":if(c!==void 0)throw new ci.JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!(0,eS.default)(a.epk))throw new ci.JWEInvalid('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!u8.ecdhAllowed(n))throw new ci.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");let s=await(0,sS.importJWK)(a.epk,i),u,e;if(a.apu!==void 0){if(typeof a.apu!=="string")throw new ci.JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{u=(0,zp.decode)(a.apu)}catch{throw new ci.JWEInvalid("Failed to base64url decode the apu")}}if(a.apv!==void 0){if(typeof a.apv!=="string")throw new ci.JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{e=(0,zp.decode)(a.apv)}catch{throw new ci.JWEInvalid("Failed to base64url decode the apv")}}let o=await u8.deriveKey(s,n,i==="ECDH-ES"?a.enc:i,i==="ECDH-ES"?(0,pS.bitLength)(a.enc):parseInt(i.slice(-5,-2),10),u,e);if(i==="ECDH-ES")return o;if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");return(0,s8.unwrap)(i.slice(-6),o,c)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");return(0,aS.decrypt)(i,n,c)}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");if(typeof a.p2c!=="number")throw new ci.JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');let s=(p===null||p===void 0?void 0:p.maxPBES2Count)||1e4;if(a.p2c>s)throw new ci.JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof a.p2s!=="string")throw new ci.JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let u;try{u=(0,zp.decode)(a.p2s)}catch{throw new ci.JWEInvalid("Failed to base64url decode the p2s")}return(0,cS.decrypt)(i,n,c,a.p2c,u)}case"A128KW":case"A192KW":case"A256KW":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");return(0,s8.unwrap)(i,n,c)}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");if(typeof a.iv!=="string")throw new ci.JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof a.tag!=="string")throw new ci.JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');let s;try{s=(0,zp.decode)(a.iv)}catch{throw new ci.JWEInvalid("Failed to base64url decode the iv")}let u;try{u=(0,zp.decode)(a.tag)}catch{throw new ci.JWEInvalid("Failed to base64url decode the tag")}return(0,oS.unwrap)(i,n,c,s,u)}default:throw new ci.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}fm.default=tS});var ua=r((vm)=>{Object.defineProperty(vm,"__esModule",{value:!0});var mS=X();function dS(i,n,c,a,p){if(p.crit!==void 0&&a.crit===void 0)throw new i('"crit" (Critical) Header Parameter MUST be integrity protected');if(!a||a.crit===void 0)return new Set;if(!Array.isArray(a.crit)||a.crit.length===0||a.crit.some((u)=>typeof u!=="string"||u.length===0))throw new i('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let s;if(c!==void 0)s=new Map([...Object.entries(c),...n.entries()]);else s=n;for(let u of a.crit){if(!s.has(u))throw new mS.JOSENotSupported(`Extension Header Parameter "${u}" is not recognized`);if(p[u]===void 0)throw new i(`Extension Header Parameter "${u}" is missing`);else if(s.get(u)&&a[u]===void 0)throw new i(`Extension Header Parameter "${u}" MUST be integrity protected`)}return new Set(a.crit)}vm.default=dS});var bm=r((wm)=>{Object.defineProperty(wm,"__esModule",{value:!0});var xS=(i,n)=>{if(n!==void 0&&(!Array.isArray(n)||n.some((c)=>typeof c!=="string")))throw TypeError(`"${i}" option must be an array of strings`);if(!n)return;return new Set(n)};wm.default=xS});var ou=r((eu)=>{Object.defineProperty(eu,"__esModule",{value:!0});eu.flattenedDecrypt=void 0;var ea=Yi(),rS=Dt(),lS=Lt(),D=X(),fS=na(),Wm=Vi(),vS=e8(),Zp=ni(),wS=_p(),bS=ua(),o8=bm();async function WS(i,n,c){var a;if(!(0,Wm.default)(i))throw new D.JWEInvalid("Flattened JWE must be an object");if(i.protected===void 0&&i.header===void 0&&i.unprotected===void 0)throw new D.JWEInvalid("JOSE Header missing");if(typeof i.iv!=="string")throw new D.JWEInvalid("JWE Initialization Vector missing or incorrect type");if(typeof i.ciphertext!=="string")throw new D.JWEInvalid("JWE Ciphertext missing or incorrect type");if(typeof i.tag!=="string")throw new D.JWEInvalid("JWE Authentication Tag missing or incorrect type");if(i.protected!==void 0&&typeof i.protected!=="string")throw new D.JWEInvalid("JWE Protected Header incorrect type");if(i.encrypted_key!==void 0&&typeof i.encrypted_key!=="string")throw new D.JWEInvalid("JWE Encrypted Key incorrect type");if(i.aad!==void 0&&typeof i.aad!=="string")throw new D.JWEInvalid("JWE AAD incorrect type");if(i.header!==void 0&&!(0,Wm.default)(i.header))throw new D.JWEInvalid("JWE Shared Unprotected Header incorrect type");if(i.unprotected!==void 0&&!(0,Wm.default)(i.unprotected))throw new D.JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type");let p;if(i.protected)try{let G=(0,ea.decode)(i.protected);p=JSON.parse(Zp.decoder.decode(G))}catch{throw new D.JWEInvalid("JWE Protected Header is invalid")}if(!(0,fS.default)(p,i.header,i.unprotected))throw new D.JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");let s={...p,...i.header,...i.unprotected};if((0,bS.default)(D.JWEInvalid,new Map,c===null||c===void 0?void 0:c.crit,p,s),s.zip!==void 0){if(!p||!p.zip)throw new D.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if(s.zip!=="DEF")throw new D.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}let{alg:u,enc:e}=s;if(typeof u!=="string"||!u)throw new D.JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if(typeof e!=="string"||!e)throw new D.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");let o=c&&(0,o8.default)("keyManagementAlgorithms",c.keyManagementAlgorithms),t=c&&(0,o8.default)("contentEncryptionAlgorithms",c.contentEncryptionAlgorithms);if(o&&!o.has(u))throw new D.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(t&&!t.has(e))throw new D.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let m;if(i.encrypted_key!==void 0)try{m=(0,ea.decode)(i.encrypted_key)}catch{throw new D.JWEInvalid("Failed to base64url decode the encrypted_key")}let d=!1;if(typeof n==="function")n=await n(p,i),d=!0;let l;try{l=await(0,vS.default)(u,n,m,s,c)}catch(G){if(G instanceof TypeError||G instanceof D.JWEInvalid||G instanceof D.JOSENotSupported)throw G;l=(0,wS.default)(e)}let f,v;try{f=(0,ea.decode)(i.iv)}catch{throw new D.JWEInvalid("Failed to base64url decode the iv")}try{v=(0,ea.decode)(i.tag)}catch{throw new D.JWEInvalid("Failed to base64url decode the tag")}let b=Zp.encoder.encode((a=i.protected)!==null&&a!==void 0?a:""),W;if(i.aad!==void 0)W=(0,Zp.concat)(b,Zp.encoder.encode("."),Zp.encoder.encode(i.aad));else W=b;let w;try{w=(0,ea.decode)(i.ciphertext)}catch{throw new D.JWEInvalid("Failed to base64url decode the ciphertext")}let _=await(0,rS.default)(e,l,w,f,v,W);if(s.zip==="DEF")_=await((c===null||c===void 0?void 0:c.inflateRaw)||lS.inflate)(_);let K={plaintext:_};if(i.protected!==void 0)K.protectedHeader=p;if(i.aad!==void 0)try{K.additionalAuthenticatedData=(0,ea.decode)(i.aad)}catch{throw new D.JWEInvalid("Failed to base64url decode the aad")}if(i.unprotected!==void 0)K.sharedUnprotectedHeader=i.unprotected;if(i.header!==void 0)K.unprotectedHeader=i.header;if(d)return{...K,key:n};return K}eu.flattenedDecrypt=WS});var qm=r((tu)=>{Object.defineProperty(tu,"__esModule",{value:!0});tu.compactDecrypt=void 0;var qS=ou(),t8=X(),KS=ni();async function _S(i,n,c){if(i instanceof Uint8Array)i=KS.decoder.decode(i);if(typeof i!=="string")throw new t8.JWEInvalid("Compact JWE must be a string or Uint8Array");let{0:a,1:p,2:s,3:u,4:e,length:o}=i.split(".");if(o!==5)throw new t8.JWEInvalid("Invalid Compact JWE");let t=await(0,qS.flattenedDecrypt)({ciphertext:u,iv:s||void 0,protected:a||void 0,tag:e||void 0,encrypted_key:p||void 0},n,c),m={plaintext:t.plaintext,protectedHeader:t.protectedHeader};if(typeof n==="function")return{...m,key:t.key};return m}tu.compactDecrypt=_S});var d8=r((du)=>{Object.defineProperty(du,"__esModule",{value:!0});du.generalDecrypt=void 0;var JS=ou(),mu=X(),m8=Vi();async function $S(i,n,c){if(!(0,m8.default)(i))throw new mu.JWEInvalid("General JWE must be an object");if(!Array.isArray(i.recipients)||!i.recipients.every(m8.default))throw new mu.JWEInvalid("JWE Recipients missing or incorrect type");if(!i.recipients.length)throw new mu.JWEInvalid("JWE Recipients has no members");for(let a of i.recipients)try{return await(0,JS.flattenedDecrypt)({aad:i.aad,ciphertext:i.ciphertext,encrypted_key:a.encrypted_key,header:a.header,iv:i.iv,protected:i.protected,tag:i.tag,unprotected:i.unprotected},n,c)}catch{}throw new mu.JWEDecryptionFailed}du.generalDecrypt=$S});var r8=r((Km)=>{Object.defineProperty(Km,"__esModule",{value:!0});var hS=2,zS=48;class x8{constructor(i){if(i[0]!==zS)throw TypeError();if(this.buffer=i,this.offset=1,this.decodeLength()!==i.length-this.offset)throw TypeError()}decodeLength(){let i=this.buffer[this.offset++];if(i&128){let n=i&-129;i=0;for(let c=0;c<n;c++)i=i<<8|this.buffer[this.offset+c];this.offset+=n}return i}unsignedInteger(){if(this.buffer[this.offset++]!==hS)throw TypeError();let i=this.decodeLength();if(this.buffer[this.offset]===0)this.offset++,i--;let n=this.buffer.slice(this.offset,this.offset+i);return this.offset+=i,n}end(){if(this.offset!==this.buffer.length)throw TypeError()}}Km.default=x8});var l8=r((Jm)=>{Object.defineProperty(Jm,"__esModule",{value:!0});var xu=require("crypto"),hi=Yi(),ZS=r8(),ru=X(),_m=wp(),GS=gi(),YS=Fi(),XS=Ui(),SS=Qi(),IS=Jp(),lu=(i)=>{let n;if((0,GS.isCryptoKey)(i)){if(!i.extractable)throw TypeError("CryptoKey is not extractable");n=xu.KeyObject.from(i)}else if((0,YS.default)(i))n=i;else if(i instanceof Uint8Array)return{kty:"oct",k:(0,hi.encode)(i)};else throw TypeError((0,XS.default)(i,...SS.types,"Uint8Array"));if(IS.jwkExport){if(n.type!=="secret"&&!["rsa","ec","ed25519","x25519","ed448","x448"].includes(n.asymmetricKeyType))throw new ru.JOSENotSupported("Unsupported key asymmetricKeyType");return n.export({format:"jwk"})}switch(n.type){case"secret":return{kty:"oct",k:(0,hi.encode)(n.export())};case"private":case"public":switch(n.asymmetricKeyType){case"rsa":{let c=n.export({format:"der",type:"pkcs1"}),a=new ZS.default(c);if(n.type==="private")a.unsignedInteger();let p=(0,hi.encode)(a.unsignedInteger()),s=(0,hi.encode)(a.unsignedInteger()),u;if(n.type==="private")u={d:(0,hi.encode)(a.unsignedInteger()),p:(0,hi.encode)(a.unsignedInteger()),q:(0,hi.encode)(a.unsignedInteger()),dp:(0,hi.encode)(a.unsignedInteger()),dq:(0,hi.encode)(a.unsignedInteger()),qi:(0,hi.encode)(a.unsignedInteger())};return a.end(),{kty:"RSA",n:p,e:s,...u}}case"ec":{let c=(0,_m.default)(n),a,p,s;switch(c){case"secp256k1":a=64,p=33,s=-1;break;case"P-256":a=64,p=36,s=-1;break;case"P-384":a=96,p=35,s=-3;break;case"P-521":a=132,p=35,s=-3;break;default:throw new ru.JOSENotSupported("Unsupported curve")}if(n.type==="public"){let e=n.export({type:"spki",format:"der"});return{kty:"EC",crv:c,x:(0,hi.encode)(e.subarray(-a,-a/2)),y:(0,hi.encode)(e.subarray(-a/2))}}let u=n.export({type:"pkcs8",format:"der"});if(u.length<100)p+=s;return{...lu((0,xu.createPublicKey)(n)),d:(0,hi.encode)(u.subarray(p,p+a/2))}}case"ed25519":case"x25519":{let c=(0,_m.default)(n);if(n.type==="public"){let p=n.export({type:"spki",format:"der"});return{kty:"OKP",crv:c,x:(0,hi.encode)(p.subarray(-32))}}let a=n.export({type:"pkcs8",format:"der"});return{...lu((0,xu.createPublicKey)(n)),d:(0,hi.encode)(a.subarray(-32))}}case"ed448":case"x448":{let c=(0,_m.default)(n);if(n.type==="public"){let p=n.export({type:"spki",format:"der"});return{kty:"OKP",crv:c,x:(0,hi.encode)(p.subarray(c==="Ed448"?-57:-56))}}let a=n.export({type:"pkcs8",format:"der"});return{...lu((0,xu.createPublicKey)(n)),d:(0,hi.encode)(a.subarray(c==="Ed448"?-57:-56))}}default:throw new ru.JOSENotSupported("Unsupported key asymmetricKeyType")}default:throw new ru.JOSENotSupported("Unsupported key type")}};Jm.default=lu});var $m=r((Ln)=>{Object.defineProperty(Ln,"__esModule",{value:!0});Ln.exportJWK=Ln.exportPKCS8=Ln.exportSPKI=void 0;var PS=pu(),HS=pu(),MS=l8();async function VS(i){return(0,PS.toSPKI)(i)}Ln.exportSPKI=VS;async function CS(i){return(0,HS.toPKCS8)(i)}Ln.exportPKCS8=CS;async function OS(i){return(0,MS.default)(i)}Ln.exportJWK=OS});var Zm=r((zm)=>{Object.defineProperty(zm,"__esModule",{value:!0});var f8=iu(),hm=nm(),AS=am(),NS=pm(),v8=Yi(),oa=_p(),w8=X(),ES=$m(),yS=hp(),RS=lm();async function jS(i,n,c,a,p={}){let s,u,e;switch((0,yS.default)(i,c,"encrypt"),i){case"dir":{e=c;break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!hm.ecdhAllowed(c))throw new w8.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");let{apu:o,apv:t}=p,{epk:m}=p;m||(m=(await hm.generateEpk(c)).privateKey);let{x:d,y:l,crv:f,kty:v}=await(0,ES.exportJWK)(m),b=await hm.deriveKey(c,m,i==="ECDH-ES"?n:i,i==="ECDH-ES"?(0,oa.bitLength)(n):parseInt(i.slice(-5,-2),10),o,t);if(u={epk:{x:d,crv:f,kty:v}},v==="EC")u.epk.y=l;if(o)u.apu=(0,v8.encode)(o);if(t)u.apv=(0,v8.encode)(t);if(i==="ECDH-ES"){e=b;break}e=a||(0,oa.default)(n);let W=i.slice(-6);s=await(0,f8.wrap)(W,b,e);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{e=a||(0,oa.default)(n),s=await(0,NS.encrypt)(i,c,e);break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{e=a||(0,oa.default)(n);let{p2c:o,p2s:t}=p;({encryptedKey:s,...u}=await(0,AS.encrypt)(i,c,e,o,t));break}case"A128KW":case"A192KW":case"A256KW":{e=a||(0,oa.default)(n),s=await(0,f8.wrap)(i,c,e);break}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{e=a||(0,oa.default)(n);let{iv:o}=p;({encryptedKey:s,...u}=await(0,RS.wrap)(i,c,e,o));break}default:throw new w8.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:e,encryptedKey:s,parameters:u}}zm.default=jS});var fu=r((fc)=>{Object.defineProperty(fc,"__esModule",{value:!0});fc.FlattenedEncrypt=fc.unprotected=void 0;var ta=Yi(),b8=rm(),TS=Lt(),DS=Fs(),LS=Zm(),lc=X(),BS=na(),ma=ni(),FS=ua();fc.unprotected=Symbol();class W8{constructor(i){if(!(i instanceof Uint8Array))throw TypeError("plaintext must be an instance of Uint8Array");this._plaintext=i}setKeyManagementParameters(i){if(this._keyManagementParameters)throw TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=i,this}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setSharedUnprotectedHeader(i){if(this._sharedUnprotectedHeader)throw TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=i,this}setUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}setAdditionalAuthenticatedData(i){return this._aad=i,this}setContentEncryptionKey(i){if(this._cek)throw TypeError("setContentEncryptionKey can only be called once");return this._cek=i,this}setInitializationVector(i){if(this._iv)throw TypeError("setInitializationVector can only be called once");return this._iv=i,this}async encrypt(i,n){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new lc.JWEInvalid("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!(0,BS.default)(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new lc.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let c={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if((0,FS.default)(lc.JWEInvalid,new Map,n===null||n===void 0?void 0:n.crit,this._protectedHeader,c),c.zip!==void 0){if(!this._protectedHeader||!this._protectedHeader.zip)throw new lc.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if(c.zip!=="DEF")throw new lc.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}let{alg:a,enc:p}=c;if(typeof a!=="string"||!a)throw new lc.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof p!=="string"||!p)throw new lc.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let s;if(a==="dir"){if(this._cek)throw TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if(a==="ECDH-ES"){if(this._cek)throw TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement")}let u;{let f;if({cek:u,encryptedKey:s,parameters:f}=await(0,LS.default)(a,p,i,this._cek,this._keyManagementParameters),f)if(n&&fc.unprotected in n)if(!this._unprotectedHeader)this.setUnprotectedHeader(f);else this._unprotectedHeader={...this._unprotectedHeader,...f};else if(!this._protectedHeader)this.setProtectedHeader(f);else this._protectedHeader={...this._protectedHeader,...f}}this._iv||(this._iv=(0,DS.default)(p));let e,o,t;if(this._protectedHeader)o=ma.encoder.encode((0,ta.encode)(JSON.stringify(this._protectedHeader)));else o=ma.encoder.encode("");if(this._aad)t=(0,ta.encode)(this._aad),e=(0,ma.concat)(o,ma.encoder.encode("."),ma.encoder.encode(t));else e=o;let m,d;if(c.zip==="DEF"){let f=await((n===null||n===void 0?void 0:n.deflateRaw)||TS.deflate)(this._plaintext);({ciphertext:m,tag:d}=await(0,b8.default)(p,f,u,this._iv,e))}else({ciphertext:m,tag:d}=await(0,b8.default)(p,this._plaintext,u,this._iv,e));let l={ciphertext:(0,ta.encode)(m),iv:(0,ta.encode)(this._iv),tag:(0,ta.encode)(d)};if(s)l.encrypted_key=(0,ta.encode)(s);if(t)l.aad=t;if(this._protectedHeader)l.protected=ma.decoder.decode(o);if(this._sharedUnprotectedHeader)l.unprotected=this._sharedUnprotectedHeader;if(this._unprotectedHeader)l.header=this._unprotectedHeader;return l}}fc.FlattenedEncrypt=W8});var _8=r((vu)=>{Object.defineProperty(vu,"__esModule",{value:!0});vu.GeneralEncrypt=void 0;var Gm=fu(),Bn=X(),gS=_p(),US=na(),QS=Zm(),kS=Yi(),i7=ua();class q8{constructor(i,n,c){this.parent=i,this.key=n,this.options=c}setUnprotectedHeader(i){if(this.unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=i,this}addRecipient(...i){return this.parent.addRecipient(...i)}encrypt(...i){return this.parent.encrypt(...i)}done(){return this.parent}}class K8{constructor(i){this._recipients=[],this._plaintext=i}addRecipient(i,n){let c=new q8(this,i,{crit:n===null||n===void 0?void 0:n.crit});return this._recipients.push(c),c}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setSharedUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}setAdditionalAuthenticatedData(i){return this._aad=i,this}async encrypt(i){var n,c,a;if(!this._recipients.length)throw new Bn.JWEInvalid("at least one recipient must be added");if(i={deflateRaw:i===null||i===void 0?void 0:i.deflateRaw},this._recipients.length===1){let[e]=this._recipients,o=await new Gm.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options,...i}),t={ciphertext:o.ciphertext,iv:o.iv,recipients:[{}],tag:o.tag};if(o.aad)t.aad=o.aad;if(o.protected)t.protected=o.protected;if(o.unprotected)t.unprotected=o.unprotected;if(o.encrypted_key)t.recipients[0].encrypted_key=o.encrypted_key;if(o.header)t.recipients[0].header=o.header;return t}let p;for(let e=0;e<this._recipients.length;e++){let o=this._recipients[e];if(!(0,US.default)(this._protectedHeader,this._unprotectedHeader,o.unprotectedHeader))throw new Bn.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let t={...this._protectedHeader,...this._unprotectedHeader,...o.unprotectedHeader},{alg:m}=t;if(typeof m!=="string"||!m)throw new Bn.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(m==="dir"||m==="ECDH-ES")throw new Bn.JWEInvalid('"dir" and "ECDH-ES" alg may only be used with a single recipient');if(typeof t.enc!=="string"||!t.enc)throw new Bn.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(!p)p=t.enc;else if(p!==t.enc)throw new Bn.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients');if((0,i7.default)(Bn.JWEInvalid,new Map,o.options.crit,this._protectedHeader,t),t.zip!==void 0){if(!this._protectedHeader||!this._protectedHeader.zip)throw new Bn.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}}let s=(0,gS.default)(p),u={ciphertext:"",iv:"",recipients:[],tag:""};for(let e=0;e<this._recipients.length;e++){let o=this._recipients[e],t={};u.recipients.push(t);let d={...this._protectedHeader,...this._unprotectedHeader,...o.unprotectedHeader}.alg.startsWith("PBES2")?2048+e:void 0;if(e===0){let v=await new Gm.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(s).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(o.unprotectedHeader).setKeyManagementParameters({p2c:d}).encrypt(o.key,{...o.options,...i,[Gm.unprotected]:!0});if(u.ciphertext=v.ciphertext,u.iv=v.iv,u.tag=v.tag,v.aad)u.aad=v.aad;if(v.protected)u.protected=v.protected;if(v.unprotected)u.unprotected=v.unprotected;if(t.encrypted_key=v.encrypted_key,v.header)t.header=v.header;continue}let{encryptedKey:l,parameters:f}=await(0,QS.default)(((n=o.unprotectedHeader)===null||n===void 0?void 0:n.alg)||((c=this._protectedHeader)===null||c===void 0?void 0:c.alg)||((a=this._unprotectedHeader)===null||a===void 0?void 0:a.alg),p,o.key,s,{p2c:d});if(t.encrypted_key=(0,kS.encode)(l),o.unprotectedHeader||f)t.header={...o.unprotectedHeader,...f}}return u}}vu.GeneralEncrypt=K8});var Xm=r((Ym)=>{Object.defineProperty(Ym,"__esModule",{value:!0});var n7=X();function c7(i){switch(i){case"PS256":case"RS256":case"ES256":case"ES256K":return"sha256";case"PS384":case"RS384":case"ES384":return"sha384";case"PS512":case"RS512":case"ES512":return"sha512";case"EdDSA":return;default:throw new n7.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Ym.default=c7});var Pm=r((Im)=>{Object.defineProperty(Im,"__esModule",{value:!0});var J8=require("crypto"),a7=wp(),p7=X(),Sm=Wp(),da=Jp(),$8={padding:J8.constants.RSA_PKCS1_PSS_PADDING,saltLength:J8.constants.RSA_PSS_SALTLEN_DIGEST},s7=new Map([["ES256","P-256"],["ES256K","secp256k1"],["ES384","P-384"],["ES512","P-521"]]);function u7(i,n){switch(i){case"EdDSA":if(!["ed25519","ed448"].includes(n.asymmetricKeyType))throw TypeError("Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448");return n;case"RS256":case"RS384":case"RS512":if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,Sm.default)(n,i),n;case(da.rsaPssParams&&"PS256"):case(da.rsaPssParams&&"PS384"):case(da.rsaPssParams&&"PS512"):if(n.asymmetricKeyType==="rsa-pss"){let{hashAlgorithm:c,mgf1HashAlgorithm:a,saltLength:p}=n.asymmetricKeyDetails,s=parseInt(i.slice(-3),10);if(c!==void 0&&(c!==`sha${s}`||a!==c))throw TypeError(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${i}`);if(p!==void 0&&p>s>>3)throw TypeError(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${i}`)}else if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss");return(0,Sm.default)(n,i),{key:n,...$8};case(!da.rsaPssParams&&"PS256"):case(!da.rsaPssParams&&"PS384"):case(!da.rsaPssParams&&"PS512"):if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,Sm.default)(n,i),{key:n,...$8};case"ES256":case"ES256K":case"ES384":case"ES512":{if(n.asymmetricKeyType!=="ec")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be ec");let c=(0,a7.default)(n),a=s7.get(i);if(c!==a)throw TypeError(`Invalid key curve for the algorithm, its curve must be ${a}, got ${c}`);return{dsaEncoding:"ieee-p1363",key:n}}default:throw new p7.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Im.default=u7});var h8=r((Hm)=>{Object.defineProperty(Hm,"__esModule",{value:!0});var e7=X();function o7(i){switch(i){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new e7.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Hm.default=o7});var Cm=r((Vm)=>{Object.defineProperty(Vm,"__esModule",{value:!0});var Mm=require("crypto"),t7=gi(),m7=Rn(),z8=Ui(),Z8=Qi();function d7(i,n,c){if(n instanceof Uint8Array){if(!i.startsWith("HS"))throw TypeError((0,z8.default)(n,...Z8.types));return(0,Mm.createSecretKey)(n)}if(n instanceof Mm.KeyObject)return n;if((0,t7.isCryptoKey)(n))return(0,m7.checkSigCryptoKey)(n,i,c),Mm.KeyObject.from(n);throw TypeError((0,z8.default)(n,...Z8.types,"Uint8Array"))}Vm.default=d7});var Nm=r((Am)=>{Object.defineProperty(Am,"__esModule",{value:!0});var wu=require("crypto"),x7=require("util"),r7=Xm(),l7=h8(),f7=Pm(),v7=Cm(),Om;if(wu.sign.length>3)Om=(0,x7.promisify)(wu.sign);else Om=wu.sign;var w7=async(i,n,c)=>{let a=(0,v7.default)(i,n,"sign");if(i.startsWith("HS")){let p=wu.createHmac((0,l7.default)(i),a);return p.update(c),p.digest()}return Om((0,r7.default)(i),c,(0,f7.default)(i,a))};Am.default=w7});var G8=r((ym)=>{Object.defineProperty(ym,"__esModule",{value:!0});var bu=require("crypto"),b7=require("util"),W7=Xm(),q7=Pm(),K7=Nm(),_7=Cm(),J7=Jp(),Em;if(bu.verify.length>4&&J7.oneShotCallback)Em=(0,b7.promisify)(bu.verify);else Em=bu.verify;var $7=async(i,n,c,a)=>{let p=(0,_7.default)(i,n,"verify");if(i.startsWith("HS")){let e=await(0,K7.default)(i,p,a),o=c;try{return bu.timingSafeEqual(o,e)}catch{return!1}}let s=(0,W7.default)(i),u=(0,q7.default)(i,p);try{return await Em(s,a,u,c)}catch{return!1}};ym.default=$7});var qu=r((Wu)=>{Object.defineProperty(Wu,"__esModule",{value:!0});Wu.flattenedVerify=void 0;var Rm=Yi(),h7=G8(),zi=X(),xa=ni(),z7=na(),Y8=Vi(),Z7=hp(),G7=ua(),Y7=bm();async function X7(i,n,c){var a;if(!(0,Y8.default)(i))throw new zi.JWSInvalid("Flattened JWS must be an object");if(i.protected===void 0&&i.header===void 0)throw new zi.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(i.protected!==void 0&&typeof i.protected!=="string")throw new zi.JWSInvalid("JWS Protected Header incorrect type");if(i.payload===void 0)throw new zi.JWSInvalid("JWS Payload missing");if(typeof i.signature!=="string")throw new zi.JWSInvalid("JWS Signature missing or incorrect type");if(i.header!==void 0&&!(0,Y8.default)(i.header))throw new zi.JWSInvalid("JWS Unprotected Header incorrect type");let p={};if(i.protected)try{let W=(0,Rm.decode)(i.protected);p=JSON.parse(xa.decoder.decode(W))}catch{throw new zi.JWSInvalid("JWS Protected Header is invalid")}if(!(0,z7.default)(p,i.header))throw new zi.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let s={...p,...i.header},u=(0,G7.default)(zi.JWSInvalid,new Map([["b64",!0]]),c===null||c===void 0?void 0:c.crit,p,s),e=!0;if(u.has("b64")){if(e=p.b64,typeof e!=="boolean")throw new zi.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}let{alg:o}=s;if(typeof o!=="string"||!o)throw new zi.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let t=c&&(0,Y7.default)("algorithms",c.algorithms);if(t&&!t.has(o))throw new zi.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(e){if(typeof i.payload!=="string")throw new zi.JWSInvalid("JWS Payload must be a string")}else if(typeof i.payload!=="string"&&!(i.payload instanceof Uint8Array))throw new zi.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let m=!1;if(typeof n==="function")n=await n(p,i),m=!0;(0,Z7.default)(o,n,"verify");let d=(0,xa.concat)(xa.encoder.encode((a=i.protected)!==null&&a!==void 0?a:""),xa.encoder.encode("."),typeof i.payload==="string"?xa.encoder.encode(i.payload):i.payload),l;try{l=(0,Rm.decode)(i.signature)}catch{throw new zi.JWSInvalid("Failed to base64url decode the signature")}if(!await(0,h7.default)(o,n,l,d))throw new zi.JWSSignatureVerificationFailed;let v;if(e)try{v=(0,Rm.decode)(i.payload)}catch{throw new zi.JWSInvalid("Failed to base64url decode the payload")}else if(typeof i.payload==="string")v=xa.encoder.encode(i.payload);else v=i.payload;let b={payload:v};if(i.protected!==void 0)b.protectedHeader=p;if(i.header!==void 0)b.unprotectedHeader=i.header;if(m)return{...b,key:n};return b}Wu.flattenedVerify=X7});var jm=r((Ku)=>{Object.defineProperty(Ku,"__esModule",{value:!0});Ku.compactVerify=void 0;var S7=qu(),X8=X(),I7=ni();async function P7(i,n,c){if(i instanceof Uint8Array)i=I7.decoder.decode(i);if(typeof i!=="string")throw new X8.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:a,1:p,2:s,length:u}=i.split(".");if(u!==3)throw new X8.JWSInvalid("Invalid Compact JWS");let e=await(0,S7.flattenedVerify)({payload:p,protected:a,signature:s},n,c),o={payload:e.payload,protectedHeader:e.protectedHeader};if(typeof n==="function")return{...o,key:e.key};return o}Ku.compactVerify=P7});var I8=r((_u)=>{Object.defineProperty(_u,"__esModule",{value:!0});_u.generalVerify=void 0;var H7=qu(),Tm=X(),S8=Vi();async function M7(i,n,c){if(!(0,S8.default)(i))throw new Tm.JWSInvalid("General JWS must be an object");if(!Array.isArray(i.signatures)||!i.signatures.every(S8.default))throw new Tm.JWSInvalid("JWS Signatures missing or incorrect type");for(let a of i.signatures)try{return await(0,H7.flattenedVerify)({header:a.header,payload:i.payload,protected:a.protected,signature:a.signature},n,c)}catch{}throw new Tm.JWSSignatureVerificationFailed}_u.generalVerify=M7});var Lm=r((Dm)=>{Object.defineProperty(Dm,"__esModule",{value:!0});Dm.default=(i)=>Math.floor(i.getTime()/1000)});var gm=r((Fm)=>{Object.defineProperty(Fm,"__esModule",{value:!0});var P8=60,H8=P8*60,Bm=H8*24,V7=Bm*7,C7=Bm*365.25,O7=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;Fm.default=(i)=>{let n=O7.exec(i);if(!n)throw TypeError("Invalid time period format");let c=parseFloat(n[1]);switch(n[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(c);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(c*P8);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(c*H8);case"day":case"days":case"d":return Math.round(c*Bm);case"week":case"weeks":case"w":return Math.round(c*V7);default:return Math.round(c*C7)}}});var Ju=r((Um)=>{Object.defineProperty(Um,"__esModule",{value:!0});var Ei=X(),A7=ni(),N7=Lm(),M8=gm(),E7=Vi(),V8=(i)=>i.toLowerCase().replace(/^application\//,""),y7=(i,n)=>{if(typeof i==="string")return n.includes(i);if(Array.isArray(i))return n.some(Set.prototype.has.bind(new Set(i)));return!1};Um.default=(i,n,c={})=>{let{typ:a}=c;if(a&&(typeof i.typ!=="string"||V8(i.typ)!==V8(a)))throw new Ei.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed");let p;try{p=JSON.parse(A7.decoder.decode(n))}catch{}if(!(0,E7.default)(p))throw new Ei.JWTInvalid("JWT Claims Set must be a top-level JSON object");let{requiredClaims:s=[],issuer:u,subject:e,audience:o,maxTokenAge:t}=c;if(t!==void 0)s.push("iat");if(o!==void 0)s.push("aud");if(e!==void 0)s.push("sub");if(u!==void 0)s.push("iss");for(let f of new Set(s.reverse()))if(!(f in p))throw new Ei.JWTClaimValidationFailed(`missing required "${f}" claim`,f,"missing");if(u&&!(Array.isArray(u)?u:[u]).includes(p.iss))throw new Ei.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed");if(e&&p.sub!==e)throw new Ei.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed");if(o&&!y7(p.aud,typeof o==="string"?[o]:o))throw new Ei.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed");let m;switch(typeof c.clockTolerance){case"string":m=(0,M8.default)(c.clockTolerance);break;case"number":m=c.clockTolerance;break;case"undefined":m=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:d}=c,l=(0,N7.default)(d||new Date);if((p.iat!==void 0||t)&&typeof p.iat!=="number")throw new Ei.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid");if(p.nbf!==void 0){if(typeof p.nbf!=="number")throw new Ei.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid");if(p.nbf>l+m)throw new Ei.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}if(p.exp!==void 0){if(typeof p.exp!=="number")throw new Ei.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid");if(p.exp<=l-m)throw new Ei.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}if(t){let f=l-p.iat,v=typeof t==="number"?t:(0,M8.default)(t);if(f-m>v)throw new Ei.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(f<0-m)throw new Ei.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return p}});var C8=r(($u)=>{Object.defineProperty($u,"__esModule",{value:!0});$u.jwtVerify=void 0;var R7=jm(),j7=Ju(),T7=X();async function D7(i,n,c){var a;let p=await(0,R7.compactVerify)(i,n,c);if(((a=p.protectedHeader.crit)===null||a===void 0?void 0:a.includes("b64"))&&p.protectedHeader.b64===!1)throw new T7.JWTInvalid("JWTs MUST NOT use unencoded payload");let u={payload:(0,j7.default)(p.protectedHeader,p.payload,c),protectedHeader:p.protectedHeader};if(typeof n==="function")return{...u,key:p.key};return u}$u.jwtVerify=D7});var O8=r((hu)=>{Object.defineProperty(hu,"__esModule",{value:!0});hu.jwtDecrypt=void 0;var L7=qm(),B7=Ju(),Qm=X();async function F7(i,n,c){let a=await(0,L7.compactDecrypt)(i,n,c),p=(0,B7.default)(a.protectedHeader,a.plaintext,c),{protectedHeader:s}=a;if(s.iss!==void 0&&s.iss!==p.iss)throw new Qm.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(s.sub!==void 0&&s.sub!==p.sub)throw new Qm.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(s.aud!==void 0&&JSON.stringify(s.aud)!==JSON.stringify(p.aud))throw new Qm.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch");let u={payload:p,protectedHeader:s};if(typeof n==="function")return{...u,key:a.key};return u}hu.jwtDecrypt=F7});var km=r((zu)=>{Object.defineProperty(zu,"__esModule",{value:!0});zu.CompactEncrypt=void 0;var g7=fu();class A8{constructor(i){this._flattened=new g7.FlattenedEncrypt(i)}setContentEncryptionKey(i){return this._flattened.setContentEncryptionKey(i),this}setInitializationVector(i){return this._flattened.setInitializationVector(i),this}setProtectedHeader(i){return this._flattened.setProtectedHeader(i),this}setKeyManagementParameters(i){return this._flattened.setKeyManagementParameters(i),this}async encrypt(i,n){let c=await this._flattened.encrypt(i,n);return[c.protected,c.encrypted_key,c.iv,c.ciphertext,c.tag].join(".")}}zu.CompactEncrypt=A8});var Gu=r((Zu)=>{Object.defineProperty(Zu,"__esModule",{value:!0});Zu.FlattenedSign=void 0;var id=Yi(),U7=Nm(),Q7=na(),Gp=X(),vc=ni(),k7=hp(),iI=ua();class N8{constructor(i){if(!(i instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this._payload=i}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}async sign(i,n){if(!this._protectedHeader&&!this._unprotectedHeader)throw new Gp.JWSInvalid("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,Q7.default)(this._protectedHeader,this._unprotectedHeader))throw new Gp.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let c={...this._protectedHeader,...this._unprotectedHeader},a=(0,iI.default)(Gp.JWSInvalid,new Map([["b64",!0]]),n===null||n===void 0?void 0:n.crit,this._protectedHeader,c),p=!0;if(a.has("b64")){if(p=this._protectedHeader.b64,typeof p!=="boolean")throw new Gp.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}let{alg:s}=c;if(typeof s!=="string"||!s)throw new Gp.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,k7.default)(s,i,"sign");let u=this._payload;if(p)u=vc.encoder.encode((0,id.encode)(u));let e;if(this._protectedHeader)e=vc.encoder.encode((0,id.encode)(JSON.stringify(this._protectedHeader)));else e=vc.encoder.encode("");let o=(0,vc.concat)(e,vc.encoder.encode("."),u),t=await(0,U7.default)(s,i,o),m={signature:(0,id.encode)(t),payload:""};if(p)m.payload=vc.decoder.decode(u);if(this._unprotectedHeader)m.header=this._unprotectedHeader;if(this._protectedHeader)m.protected=vc.decoder.decode(e);return m}}Zu.FlattenedSign=N8});var nd=r((Yu)=>{Object.defineProperty(Yu,"__esModule",{value:!0});Yu.CompactSign=void 0;var nI=Gu();class E8{constructor(i){this._flattened=new nI.FlattenedSign(i)}setProtectedHeader(i){return this._flattened.setProtectedHeader(i),this}async sign(i,n){let c=await this._flattened.sign(i,n);if(c.payload===void 0)throw TypeError("use the flattened module for creating JWS with b64: false");return`${c.protected}.${c.payload}.${c.signature}`}}Yu.CompactSign=E8});var T8=r((Xu)=>{Object.defineProperty(Xu,"__esModule",{value:!0});Xu.GeneralSign=void 0;var cI=Gu(),y8=X();class R8{constructor(i,n,c){this.parent=i,this.key=n,this.options=c}setProtectedHeader(i){if(this.protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this.protectedHeader=i,this}setUnprotectedHeader(i){if(this.unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=i,this}addSignature(...i){return this.parent.addSignature(...i)}sign(...i){return this.parent.sign(...i)}done(){return this.parent}}class j8{constructor(i){this._signatures=[],this._payload=i}addSignature(i,n){let c=new R8(this,i,n);return this._signatures.push(c),c}async sign(){if(!this._signatures.length)throw new y8.JWSInvalid("at least one signature must be added");let i={signatures:[],payload:""};for(let n=0;n<this._signatures.length;n++){let c=this._signatures[n],a=new cI.FlattenedSign(this._payload);a.setProtectedHeader(c.protectedHeader),a.setUnprotectedHeader(c.unprotectedHeader);let{payload:p,...s}=await a.sign(c.key,c.options);if(n===0)i.payload=p;else if(i.payload!==p)throw new y8.JWSInvalid("inconsistent use of JWS Unencoded Payload (RFC7797)");i.signatures.push(s)}return i}}Xu.GeneralSign=j8});var Iu=r((Su)=>{Object.defineProperty(Su,"__esModule",{value:!0});Su.ProduceJWT=void 0;var cd=Lm(),aI=Vi(),D8=gm();class L8{constructor(i){if(!(0,aI.default)(i))throw TypeError("JWT Claims Set MUST be an object");this._payload=i}setIssuer(i){return this._payload={...this._payload,iss:i},this}setSubject(i){return this._payload={...this._payload,sub:i},this}setAudience(i){return this._payload={...this._payload,aud:i},this}setJti(i){return this._payload={...this._payload,jti:i},this}setNotBefore(i){if(typeof i==="number")this._payload={...this._payload,nbf:i};else this._payload={...this._payload,nbf:(0,cd.default)(new Date)+(0,D8.default)(i)};return this}setExpirationTime(i){if(typeof i==="number")this._payload={...this._payload,exp:i};else this._payload={...this._payload,exp:(0,cd.default)(new Date)+(0,D8.default)(i)};return this}setIssuedAt(i){if(typeof i>"u")this._payload={...this._payload,iat:(0,cd.default)(new Date)};else this._payload={...this._payload,iat:i};return this}}Su.ProduceJWT=L8});var F8=r((Pu)=>{Object.defineProperty(Pu,"__esModule",{value:!0});Pu.SignJWT=void 0;var pI=nd(),sI=X(),uI=ni(),eI=Iu();class B8 extends eI.ProduceJWT{setProtectedHeader(i){return this._protectedHeader=i,this}async sign(i,n){var c;let a=new pI.CompactSign(uI.encoder.encode(JSON.stringify(this._payload)));if(a.setProtectedHeader(this._protectedHeader),Array.isArray((c=this._protectedHeader)===null||c===void 0?void 0:c.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===!1)throw new sI.JWTInvalid("JWTs MUST NOT use unencoded payload");return a.sign(i,n)}}Pu.SignJWT=B8});var U8=r((Hu)=>{Object.defineProperty(Hu,"__esModule",{value:!0});Hu.EncryptJWT=void 0;var oI=km(),tI=ni(),mI=Iu();class g8 extends mI.ProduceJWT{setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setKeyManagementParameters(i){if(this._keyManagementParameters)throw TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=i,this}setContentEncryptionKey(i){if(this._cek)throw TypeError("setContentEncryptionKey can only be called once");return this._cek=i,this}setInitializationVector(i){if(this._iv)throw TypeError("setInitializationVector can only be called once");return this._iv=i,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(i,n){let c=new oI.CompactEncrypt(tI.encoder.encode(JSON.stringify(this._payload)));if(this._replicateIssuerAsHeader)this._protectedHeader={...this._protectedHeader,iss:this._payload.iss};if(this._replicateSubjectAsHeader)this._protectedHeader={...this._protectedHeader,sub:this._payload.sub};if(this._replicateAudienceAsHeader)this._protectedHeader={...this._protectedHeader,aud:this._payload.aud};if(c.setProtectedHeader(this._protectedHeader),this._iv)c.setInitializationVector(this._iv);if(this._cek)c.setContentEncryptionKey(this._cek);if(this._keyManagementParameters)c.setKeyManagementParameters(this._keyManagementParameters);return c.encrypt(i,n)}}Hu.EncryptJWT=g8});var iw=r((ra)=>{Object.defineProperty(ra,"__esModule",{value:!0});ra.calculateJwkThumbprintUri=ra.calculateJwkThumbprint=void 0;var dI=Yt(),xI=Yi(),Q8=X(),rI=ni(),lI=Vi(),Fn=(i,n)=>{if(typeof i!=="string"||!i)throw new Q8.JWKInvalid(`${n} missing or invalid`)};async function k8(i,n){if(!(0,lI.default)(i))throw TypeError("JWK must be an object");if(n!==null&&n!==void 0||(n="sha256"),n!=="sha256"&&n!=="sha384"&&n!=="sha512")throw TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let c;switch(i.kty){case"EC":Fn(i.crv,'"crv" (Curve) Parameter'),Fn(i.x,'"x" (X Coordinate) Parameter'),Fn(i.y,'"y" (Y Coordinate) Parameter'),c={crv:i.crv,kty:i.kty,x:i.x,y:i.y};break;case"OKP":Fn(i.crv,'"crv" (Subtype of Key Pair) Parameter'),Fn(i.x,'"x" (Public Key) Parameter'),c={crv:i.crv,kty:i.kty,x:i.x};break;case"RSA":Fn(i.e,'"e" (Exponent) Parameter'),Fn(i.n,'"n" (Modulus) Parameter'),c={e:i.e,kty:i.kty,n:i.n};break;case"oct":Fn(i.k,'"k" (Key Value) Parameter'),c={k:i.k,kty:i.kty};break;default:throw new Q8.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}let a=rI.encoder.encode(JSON.stringify(c));return(0,xI.encode)(await(0,dI.default)(n,a))}ra.calculateJwkThumbprint=k8;async function fI(i,n){n!==null&&n!==void 0||(n="sha256");let c=await k8(i,n);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${n.slice(-3)}:${c}`}ra.calculateJwkThumbprintUri=fI});var cw=r((Mu)=>{Object.defineProperty(Mu,"__esModule",{value:!0});Mu.EmbeddedJWK=void 0;var vI=$p(),wI=Vi(),nw=X();async function bI(i,n){let c={...i,...n===null||n===void 0?void 0:n.header};if(!(0,wI.default)(c.jwk))throw new nw.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let a=await(0,vI.importJWK)({...c.jwk,ext:!0},c.alg,!0);if(a instanceof Uint8Array||a.type!=="public")throw new nw.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key');return a}Mu.EmbeddedJWK=bI});var pd=r((gn)=>{Object.defineProperty(gn,"__esModule",{value:!0});gn.createLocalJWKSet=gn.LocalJWKSet=gn.isJWKSLike=void 0;var WI=$p(),Yp=X(),qI=Vi();function KI(i){switch(typeof i==="string"&&i.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new Yp.JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set')}}function pw(i){return i&&typeof i==="object"&&Array.isArray(i.keys)&&i.keys.every(_I)}gn.isJWKSLike=pw;function _I(i){return(0,qI.default)(i)}function JI(i){if(typeof structuredClone==="function")return structuredClone(i);return JSON.parse(JSON.stringify(i))}class ad{constructor(i){if(this._cached=new WeakMap,!pw(i))throw new Yp.JWKSInvalid("JSON Web Key Set malformed");this._jwks=JI(i)}async getKey(i,n){let{alg:c,kid:a}={...i,...n===null||n===void 0?void 0:n.header},p=KI(c),s=this._jwks.keys.filter((o)=>{let t=p===o.kty;if(t&&typeof a==="string")t=a===o.kid;if(t&&typeof o.alg==="string")t=c===o.alg;if(t&&typeof o.use==="string")t=o.use==="sig";if(t&&Array.isArray(o.key_ops))t=o.key_ops.includes("verify");if(t&&c==="EdDSA")t=o.crv==="Ed25519"||o.crv==="Ed448";if(t)switch(c){case"ES256":t=o.crv==="P-256";break;case"ES256K":t=o.crv==="secp256k1";break;case"ES384":t=o.crv==="P-384";break;case"ES512":t=o.crv==="P-521";break}return t}),{0:u,length:e}=s;if(e===0)throw new Yp.JWKSNoMatchingKey;else if(e!==1){let o=new Yp.JWKSMultipleMatchingKeys,{_cached:t}=this;throw o[Symbol.asyncIterator]=async function*(){for(let m of s)try{yield await aw(t,m,c)}catch{continue}},o}return aw(this._cached,u,c)}}gn.LocalJWKSet=ad;async function aw(i,n,c){let a=i.get(n)||i.set(n,{}).get(n);if(a[c]===void 0){let p=await(0,WI.importJWK)({...n,ext:!0},c);if(p instanceof Uint8Array||p.type!=="public")throw new Yp.JWKSInvalid("JSON Web Key Set members must be public keys");a[c]=p}return a[c]}function $I(i){let n=new ad(i);return async function(c,a){return n.getKey(c,a)}}gn.createLocalJWKSet=$I});var ew=r((ud)=>{Object.defineProperty(ud,"__esModule",{value:!0});var hI=require("http"),zI=require("https"),sw=require("events"),sd=X(),uw=ni(),ZI=async(i,n,c)=>{let a;switch(i.protocol){case"https:":a=zI.get;break;case"http:":a=hI.get;break;default:throw TypeError("Unsupported URL protocol.")}let{agent:p,headers:s}=c,u=a(i.href,{agent:p,timeout:n,headers:s}),[e]=await Promise.race([(0,sw.once)(u,"response"),(0,sw.once)(u,"timeout")]);if(!e)throw u.destroy(),new sd.JWKSTimeout;if(e.statusCode!==200)throw new sd.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response");let o=[];for await(let t of e)o.push(t);try{return JSON.parse(uw.decoder.decode((0,uw.concat)(...o)))}catch{throw new sd.JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON")}};ud.default=ZI});var dw=r((Vu)=>{Object.defineProperty(Vu,"__esModule",{value:!0});Vu.createRemoteJWKSet=void 0;var GI=ew(),ow=X(),tw=pd();function YI(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}class mw extends tw.LocalJWKSet{constructor(i,n){super({keys:[]});if(this._jwks=void 0,!(i instanceof URL))throw TypeError("url must be an instance of URL");this._url=new URL(i.href),this._options={agent:n===null||n===void 0?void 0:n.agent,headers:n===null||n===void 0?void 0:n.headers},this._timeoutDuration=typeof(n===null||n===void 0?void 0:n.timeoutDuration)==="number"?n===null||n===void 0?void 0:n.timeoutDuration:5000,this._cooldownDuration=typeof(n===null||n===void 0?void 0:n.cooldownDuration)==="number"?n===null||n===void 0?void 0:n.cooldownDuration:30000,this._cacheMaxAge=typeof(n===null||n===void 0?void 0:n.cacheMaxAge)==="number"?n===null||n===void 0?void 0:n.cacheMaxAge:600000}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cooldownDuration:!1}fresh(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cacheMaxAge:!1}async getKey(i,n){if(!this._jwks||!this.fresh())await this.reload();try{return await super.getKey(i,n)}catch(c){if(c instanceof ow.JWKSNoMatchingKey){if(this.coolingDown()===!1)return await this.reload(),super.getKey(i,n)}throw c}}async reload(){if(this._pendingFetch&&YI())this._pendingFetch=void 0;this._pendingFetch||(this._pendingFetch=(0,GI.default)(this._url,this._timeoutDuration,this._options).then((i)=>{if(!(0,tw.isJWKSLike)(i))throw new ow.JWKSInvalid("JSON Web Key Set malformed");this._jwks={keys:i.keys},this._jwksTimestamp=Date.now(),this._pendingFetch=void 0}).catch((i)=>{throw this._pendingFetch=void 0,i})),await this._pendingFetch}}function XI(i,n){let c=new mw(i,n);return async function(a,p){return c.getKey(a,p)}}Vu.createRemoteJWKSet=XI});var rw=r((Ou)=>{Object.defineProperty(Ou,"__esModule",{value:!0});Ou.UnsecuredJWT=void 0;var Cu=Yi(),SI=ni(),ed=X(),II=Ju(),PI=Iu();class xw extends PI.ProduceJWT{encode(){let i=Cu.encode(JSON.stringify({alg:"none"})),n=Cu.encode(JSON.stringify(this._payload));return`${i}.${n}.`}static decode(i,n){if(typeof i!=="string")throw new ed.JWTInvalid("Unsecured JWT must be a string");let{0:c,1:a,2:p,length:s}=i.split(".");if(s!==3||p!=="")throw new ed.JWTInvalid("Invalid Unsecured JWT");let u;try{if(u=JSON.parse(SI.decoder.decode(Cu.decode(c))),u.alg!=="none")throw Error()}catch{throw new ed.JWTInvalid("Invalid Unsecured JWT")}return{payload:(0,II.default)(u,Cu.decode(a),n),header:u}}}Ou.UnsecuredJWT=xw});var Au=r((la)=>{Object.defineProperty(la,"__esModule",{value:!0});la.decode=la.encode=void 0;var lw=Yi();la.encode=lw.encode;la.decode=lw.decode});var fw=r((Nu)=>{Object.defineProperty(Nu,"__esModule",{value:!0});Nu.decodeProtectedHeader=void 0;var HI=Au(),MI=ni(),VI=Vi();function CI(i){let n;if(typeof i==="string"){let c=i.split(".");if(c.length===3||c.length===5)[n]=c}else if(typeof i==="object"&&i)if("protected"in i)n=i.protected;else throw TypeError("Token does not contain a Protected Header");try{if(typeof n!=="string"||!n)throw Error();let c=JSON.parse(MI.decoder.decode((0,HI.decode)(n)));if(!(0,VI.default)(c))throw Error();return c}catch{throw TypeError("Invalid Token or Protected Header formatting")}}Nu.decodeProtectedHeader=CI});var vw=r((Eu)=>{Object.defineProperty(Eu,"__esModule",{value:!0});Eu.decodeJwt=void 0;var OI=Au(),AI=ni(),NI=Vi(),wc=X();function EI(i){if(typeof i!=="string")throw new wc.JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");let{1:n,length:c}=i.split(".");if(c===5)throw new wc.JWTInvalid("Only JWTs using Compact JWS serialization can be decoded");if(c!==3)throw new wc.JWTInvalid("Invalid JWT");if(!n)throw new wc.JWTInvalid("JWTs must contain a payload");let a;try{a=(0,OI.decode)(n)}catch{throw new wc.JWTInvalid("Failed to base64url decode the payload")}let p;try{p=JSON.parse(AI.decoder.decode(a))}catch{throw new wc.JWTInvalid("Failed to parse the decoded payload as JSON")}if(!(0,NI.default)(p))throw new wc.JWTInvalid("Invalid JWT Claims Set");return p}Eu.decodeJwt=EI});var od=r((fa)=>{Object.defineProperty(fa,"__esModule",{value:!0});fa.generateKeyPair=fa.generateSecret=void 0;var bw=require("crypto"),yI=require("util"),RI=xp(),ww=Wp(),Xp=X(),_n=(0,yI.promisify)(bw.generateKeyPair);async function jI(i,n){let c;switch(i){case"HS256":case"HS384":case"HS512":case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":c=parseInt(i.slice(-3),10);break;case"A128KW":case"A192KW":case"A256KW":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":c=parseInt(i.slice(1,4),10);break;default:throw new Xp.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return(0,bw.createSecretKey)((0,RI.default)(new Uint8Array(c>>3)))}fa.generateSecret=jI;async function TI(i,n){var c,a;switch(i){case"RS256":case"RS384":case"RS512":case"PS256":case"PS384":case"PS512":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":case"RSA1_5":{let s=(c=n===null||n===void 0?void 0:n.modulusLength)!==null&&c!==void 0?c:2048;if(typeof s!=="number"||s<2048)throw new Xp.JOSENotSupported("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");let u=await _n("rsa",{modulusLength:s,publicExponent:65537});return(0,ww.setModulusLength)(u.privateKey,s),(0,ww.setModulusLength)(u.publicKey,s),u}case"ES256":return _n("ec",{namedCurve:"P-256"});case"ES256K":return _n("ec",{namedCurve:"secp256k1"});case"ES384":return _n("ec",{namedCurve:"P-384"});case"ES512":return _n("ec",{namedCurve:"P-521"});case"EdDSA":switch(n===null||n===void 0?void 0:n.crv){case void 0:case"Ed25519":return _n("ed25519");case"Ed448":return _n("ed448");default:throw new Xp.JOSENotSupported("Invalid or unsupported crv option provided, supported values are Ed25519 and Ed448")}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":let p=(a=n===null||n===void 0?void 0:n.crv)!==null&&a!==void 0?a:"P-256";switch(p){case void 0:case"P-256":case"P-384":case"P-521":return _n("ec",{namedCurve:p});case"X25519":return _n("x25519");case"X448":return _n("x448");default:throw new Xp.JOSENotSupported("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}default:throw new Xp.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}}fa.generateKeyPair=TI});var Ww=r((yu)=>{Object.defineProperty(yu,"__esModule",{value:!0});yu.generateKeyPair=void 0;var DI=od();async function LI(i,n){return(0,DI.generateKeyPair)(i,n)}yu.generateKeyPair=LI});var qw=r((Ru)=>{Object.defineProperty(Ru,"__esModule",{value:!0});Ru.generateSecret=void 0;var BI=od();async function FI(i,n){return(0,BI.generateSecret)(i,n)}Ru.generateSecret=FI});var Kw=r((td)=>{Object.defineProperty(td,"__esModule",{value:!0});td.default="node:crypto"});var _w=r((md)=>{Object.defineProperty(md,"__esModule",{value:!0});var gI=Kw();md.default=gI.default});var xd=r((J)=>{Object.defineProperty(J,"__esModule",{value:!0});J.cryptoRuntime=J.base64url=J.generateSecret=J.generateKeyPair=J.errors=J.decodeJwt=J.decodeProtectedHeader=J.importJWK=J.importX509=J.importPKCS8=J.importSPKI=J.exportJWK=J.exportSPKI=J.exportPKCS8=J.UnsecuredJWT=J.createRemoteJWKSet=J.createLocalJWKSet=J.EmbeddedJWK=J.calculateJwkThumbprintUri=J.calculateJwkThumbprint=J.EncryptJWT=J.SignJWT=J.GeneralSign=J.FlattenedSign=J.CompactSign=J.FlattenedEncrypt=J.CompactEncrypt=J.jwtDecrypt=J.jwtVerify=J.generalVerify=J.flattenedVerify=J.compactVerify=J.GeneralEncrypt=J.generalDecrypt=J.flattenedDecrypt=J.compactDecrypt=void 0;var UI=qm();Object.defineProperty(J,"compactDecrypt",{enumerable:!0,get:function(){return UI.compactDecrypt}});var QI=ou();Object.defineProperty(J,"flattenedDecrypt",{enumerable:!0,get:function(){return QI.flattenedDecrypt}});var kI=d8();Object.defineProperty(J,"generalDecrypt",{enumerable:!0,get:function(){return kI.generalDecrypt}});var i2=_8();Object.defineProperty(J,"GeneralEncrypt",{enumerable:!0,get:function(){return i2.GeneralEncrypt}});var n2=jm();Object.defineProperty(J,"compactVerify",{enumerable:!0,get:function(){return n2.compactVerify}});var c2=qu();Object.defineProperty(J,"flattenedVerify",{enumerable:!0,get:function(){return c2.flattenedVerify}});var a2=I8();Object.defineProperty(J,"generalVerify",{enumerable:!0,get:function(){return a2.generalVerify}});var p2=C8();Object.defineProperty(J,"jwtVerify",{enumerable:!0,get:function(){return p2.jwtVerify}});var s2=O8();Object.defineProperty(J,"jwtDecrypt",{enumerable:!0,get:function(){return s2.jwtDecrypt}});var u2=km();Object.defineProperty(J,"CompactEncrypt",{enumerable:!0,get:function(){return u2.CompactEncrypt}});var e2=fu();Object.defineProperty(J,"FlattenedEncrypt",{enumerable:!0,get:function(){return e2.FlattenedEncrypt}});var o2=nd();Object.defineProperty(J,"CompactSign",{enumerable:!0,get:function(){return o2.CompactSign}});var t2=Gu();Object.defineProperty(J,"FlattenedSign",{enumerable:!0,get:function(){return t2.FlattenedSign}});var m2=T8();Object.defineProperty(J,"GeneralSign",{enumerable:!0,get:function(){return m2.GeneralSign}});var d2=F8();Object.defineProperty(J,"SignJWT",{enumerable:!0,get:function(){return d2.SignJWT}});var x2=U8();Object.defineProperty(J,"EncryptJWT",{enumerable:!0,get:function(){return x2.EncryptJWT}});var Jw=iw();Object.defineProperty(J,"calculateJwkThumbprint",{enumerable:!0,get:function(){return Jw.calculateJwkThumbprint}});Object.defineProperty(J,"calculateJwkThumbprintUri",{enumerable:!0,get:function(){return Jw.calculateJwkThumbprintUri}});var r2=cw();Object.defineProperty(J,"EmbeddedJWK",{enumerable:!0,get:function(){return r2.EmbeddedJWK}});var l2=pd();Object.defineProperty(J,"createLocalJWKSet",{enumerable:!0,get:function(){return l2.createLocalJWKSet}});var f2=dw();Object.defineProperty(J,"createRemoteJWKSet",{enumerable:!0,get:function(){return f2.createRemoteJWKSet}});var v2=rw();Object.defineProperty(J,"UnsecuredJWT",{enumerable:!0,get:function(){return v2.UnsecuredJWT}});var dd=$m();Object.defineProperty(J,"exportPKCS8",{enumerable:!0,get:function(){return dd.exportPKCS8}});Object.defineProperty(J,"exportSPKI",{enumerable:!0,get:function(){return dd.exportSPKI}});Object.defineProperty(J,"exportJWK",{enumerable:!0,get:function(){return dd.exportJWK}});var ju=$p();Object.defineProperty(J,"importSPKI",{enumerable:!0,get:function(){return ju.importSPKI}});Object.defineProperty(J,"importPKCS8",{enumerable:!0,get:function(){return ju.importPKCS8}});Object.defineProperty(J,"importX509",{enumerable:!0,get:function(){return ju.importX509}});Object.defineProperty(J,"importJWK",{enumerable:!0,get:function(){return ju.importJWK}});var w2=fw();Object.defineProperty(J,"decodeProtectedHeader",{enumerable:!0,get:function(){return w2.decodeProtectedHeader}});var b2=vw();Object.defineProperty(J,"decodeJwt",{enumerable:!0,get:function(){return b2.decodeJwt}});J.errors=X();var W2=Ww();Object.defineProperty(J,"generateKeyPair",{enumerable:!0,get:function(){return W2.generateKeyPair}});var q2=qw();Object.defineProperty(J,"generateSecret",{enumerable:!0,get:function(){return q2.generateSecret}});J.base64url=Au();var K2=_w();Object.defineProperty(J,"cryptoRuntime",{enumerable:!0,get:function(){return K2.default}})});var Du=r((XR,$w)=>{function Tu(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=i}Tu.prototype=Object.create(Error.prototype);Tu.prototype.constructor=Tu;$w.exports=Tu});var rd=r((SR,zw)=>{var hw=xd(),_2=Du();function J2(i){if(i.alg)return i.alg;if(i.kty==="RSA")return"RS256";if(i.kty==="EC")switch(i.crv){case"P-256":return"ES256";case"secp256k1":return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}if(i.kty==="OKP")switch(i.crv){case"Ed25519":case"Ed448":return"EdDSA"}throw new _2("Unsupported JWK")}async function $2(i){let n=[];i=i.filter(({use:c})=>c==="sig"||c===void 0).filter(({kty:c})=>c==="RSA"||c==="EC"||c==="OKP");for(let c of i)try{let a=await hw.importJWK({...c,ext:!0},J2(c));if(a.type!=="public")continue;let p;switch(a[Symbol.toStringTag]){case"CryptoKey":{let s=await hw.exportSPKI(a);p=()=>s;break}case"KeyObject":default:p=()=>a.export({format:"pem",type:"spki"})}n.push({get publicKey(){return p()},get rsaPublicKey(){return p()},getPublicKey(){return p()},...typeof c.kid==="string"&&c.kid?{kid:c.kid}:void 0,...typeof c.alg==="string"&&c.alg?{alg:c.alg}:void 0})}catch(a){continue}return n}zw.exports={retrieveSigningKeys:$2}});var ld=r((IR,Zw)=>{function Lu(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=i}Lu.prototype=Object.create(Error.prototype);Lu.prototype.constructor=Lu;Zw.exports=Lu});var Yw=r((PR,Gw)=>{var h2=require("http"),z2=require("https"),Z2=ld();Gw.exports.default=(i)=>{if(i.fetcher)return i.fetcher(i.uri);return new Promise((n,c)=>{let a;try{a=new URL(i.uri)}catch(f){throw new Z2("Invalid JWKS URI: The provided URI is not a valid URL.")}let{hostname:p,port:s,protocol:u,pathname:e,search:o}=a,t=e+o,m={hostname:p,path:t,port:s,method:"GET",...i.headers&&{headers:{...i.headers}},...i.timeout&&{timeout:i.timeout},...i.agent&&{agent:i.agent}},l=(u==="https:"?z2:h2).request(m,(f)=>{let v="";f.setEncoding("utf8"),f.on("data",(b)=>{v+=b}),f.on("end",()=>{if(f.statusCode<200||f.statusCode>=300){let b=f.body&&(f.body.message||f.body)||f.statusMessage||`Http Error ${f.statusCode}`;c({errorMsg:b})}else try{n(v&&JSON.parse(v))}catch(b){c(b)}})});l.on("timeout",()=>l.destroy()).on("error",(f)=>c(f)).end()})}});var Sw=r((HR,Xw)=>{Xw.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let n=this.head;n;n=n.next)yield n.value}}});var Pw=r((MR,Iw)=>{Iw.exports=y;y.Node=bc;y.create=y;function y(i){var n=this;if(!(n instanceof y))n=new y;if(n.tail=null,n.head=null,n.length=0,i&&typeof i.forEach==="function")i.forEach(function(p){n.push(p)});else if(arguments.length>0)for(var c=0,a=arguments.length;c<a;c++)n.push(arguments[c]);return n}y.prototype.removeNode=function(i){if(i.list!==this)throw Error("removing node which does not belong to this list");var{next:n,prev:c}=i;if(n)n.prev=c;if(c)c.next=n;if(i===this.head)this.head=n;if(i===this.tail)this.tail=c;return i.list.length--,i.next=null,i.prev=null,i.list=null,n};y.prototype.unshiftNode=function(i){if(i===this.head)return;if(i.list)i.list.removeNode(i);var n=this.head;if(i.list=this,i.next=n,n)n.prev=i;if(this.head=i,!this.tail)this.tail=i;this.length++};y.prototype.pushNode=function(i){if(i===this.tail)return;if(i.list)i.list.removeNode(i);var n=this.tail;if(i.list=this,i.prev=n,n)n.next=i;if(this.tail=i,!this.head)this.head=i;this.length++};y.prototype.push=function(){for(var i=0,n=arguments.length;i<n;i++)Y2(this,arguments[i]);return this.length};y.prototype.unshift=function(){for(var i=0,n=arguments.length;i<n;i++)X2(this,arguments[i]);return this.length};y.prototype.pop=function(){if(!this.tail)return;var i=this.tail.value;if(this.tail=this.tail.prev,this.tail)this.tail.next=null;else this.head=null;return this.length--,i};y.prototype.shift=function(){if(!this.head)return;var i=this.head.value;if(this.head=this.head.next,this.head)this.head.prev=null;else this.tail=null;return this.length--,i};y.prototype.forEach=function(i,n){n=n||this;for(var c=this.head,a=0;c!==null;a++)i.call(n,c.value,a,this),c=c.next};y.prototype.forEachReverse=function(i,n){n=n||this;for(var c=this.tail,a=this.length-1;c!==null;a--)i.call(n,c.value,a,this),c=c.prev};y.prototype.get=function(i){for(var n=0,c=this.head;c!==null&&n<i;n++)c=c.next;if(n===i&&c!==null)return c.value};y.prototype.getReverse=function(i){for(var n=0,c=this.tail;c!==null&&n<i;n++)c=c.prev;if(n===i&&c!==null)return c.value};y.prototype.map=function(i,n){n=n||this;var c=new y;for(var a=this.head;a!==null;)c.push(i.call(n,a.value,this)),a=a.next;return c};y.prototype.mapReverse=function(i,n){n=n||this;var c=new y;for(var a=this.tail;a!==null;)c.push(i.call(n,a.value,this)),a=a.prev;return c};y.prototype.reduce=function(i,n){var c,a=this.head;if(arguments.length>1)c=n;else if(this.head)a=this.head.next,c=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var p=0;a!==null;p++)c=i(c,a.value,p),a=a.next;return c};y.prototype.reduceReverse=function(i,n){var c,a=this.tail;if(arguments.length>1)c=n;else if(this.tail)a=this.tail.prev,c=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var p=this.length-1;a!==null;p--)c=i(c,a.value,p),a=a.prev;return c};y.prototype.toArray=function(){var i=Array(this.length);for(var n=0,c=this.head;c!==null;n++)i[n]=c.value,c=c.next;return i};y.prototype.toArrayReverse=function(){var i=Array(this.length);for(var n=0,c=this.tail;c!==null;n++)i[n]=c.value,c=c.prev;return i};y.prototype.slice=function(i,n){if(n=n||this.length,n<0)n+=this.length;if(i=i||0,i<0)i+=this.length;var c=new y;if(n<i||n<0)return c;if(i<0)i=0;if(n>this.length)n=this.length;for(var a=0,p=this.head;p!==null&&a<i;a++)p=p.next;for(;p!==null&&a<n;a++,p=p.next)c.push(p.value);return c};y.prototype.sliceReverse=function(i,n){if(n=n||this.length,n<0)n+=this.length;if(i=i||0,i<0)i+=this.length;var c=new y;if(n<i||n<0)return c;if(i<0)i=0;if(n>this.length)n=this.length;for(var a=this.length,p=this.tail;p!==null&&a>n;a--)p=p.prev;for(;p!==null&&a>i;a--,p=p.prev)c.push(p.value);return c};y.prototype.splice=function(i,n,...c){if(i>this.length)i=this.length-1;if(i<0)i=this.length+i;for(var a=0,p=this.head;p!==null&&a<i;a++)p=p.next;var s=[];for(var a=0;p&&a<n;a++)s.push(p.value),p=this.removeNode(p);if(p===null)p=this.tail;if(p!==this.head&&p!==this.tail)p=p.prev;for(var a=0;a<c.length;a++)p=G2(this,p,c[a]);return s};y.prototype.reverse=function(){var i=this.head,n=this.tail;for(var c=i;c!==null;c=c.prev){var a=c.prev;c.prev=c.next,c.next=a}return this.head=n,this.tail=i,this};function G2(i,n,c){var a=n===i.head?new bc(c,null,n,i):new bc(c,n,n.next,i);if(a.next===null)i.tail=a;if(a.prev===null)i.head=a;return i.length++,a}function Y2(i,n){if(i.tail=new bc(n,i.tail,null,i),!i.head)i.head=i.tail;i.length++}function X2(i,n){if(i.head=new bc(n,null,i.head,i),!i.tail)i.tail=i.head;i.length++}function bc(i,n,c,a){if(!(this instanceof bc))return new bc(i,n,c,a);if(this.list=a,this.value=i,n)n.next=this,this.prev=n;else this.prev=null;if(c)c.prev=this,this.next=c;else this.next=null}try{Sw()(y)}catch(i){}});var wd=r((VR,Aw)=>{var S2=Pw(),Wc=Symbol("max"),Sn=Symbol("length"),va=Symbol("lengthCalculator"),Ip=Symbol("allowStale"),qc=Symbol("maxAge"),Xn=Symbol("dispose"),Hw=Symbol("noDisposeOnSet"),wi=Symbol("lruList"),xn=Symbol("cache"),Vw=Symbol("updateAgeOnGet"),fd=()=>1;class Cw{constructor(i){if(typeof i==="number")i={max:i};if(!i)i={};if(i.max&&(typeof i.max!=="number"||i.max<0))throw TypeError("max must be a non-negative number");let n=this[Wc]=i.max||1/0,c=i.length||fd;if(this[va]=typeof c!=="function"?fd:c,this[Ip]=i.stale||!1,i.maxAge&&typeof i.maxAge!=="number")throw TypeError("maxAge must be a number");this[qc]=i.maxAge||0,this[Xn]=i.dispose,this[Hw]=i.noDisposeOnSet||!1,this[Vw]=i.updateAgeOnGet||!1,this.reset()}set max(i){if(typeof i!=="number"||i<0)throw TypeError("max must be a non-negative number");this[Wc]=i||1/0,Sp(this)}get max(){return this[Wc]}set allowStale(i){this[Ip]=!!i}get allowStale(){return this[Ip]}set maxAge(i){if(typeof i!=="number")throw TypeError("maxAge must be a non-negative number");this[qc]=i,Sp(this)}get maxAge(){return this[qc]}set lengthCalculator(i){if(typeof i!=="function")i=fd;if(i!==this[va])this[va]=i,this[Sn]=0,this[wi].forEach((n)=>{n.length=this[va](n.value,n.key),this[Sn]+=n.length});Sp(this)}get lengthCalculator(){return this[va]}get length(){return this[Sn]}get itemCount(){return this[wi].length}rforEach(i,n){n=n||this;for(let c=this[wi].tail;c!==null;){let a=c.prev;Mw(this,i,c,n),c=a}}forEach(i,n){n=n||this;for(let c=this[wi].head;c!==null;){let a=c.next;Mw(this,i,c,n),c=a}}keys(){return this[wi].toArray().map((i)=>i.key)}values(){return this[wi].toArray().map((i)=>i.value)}reset(){if(this[Xn]&&this[wi]&&this[wi].length)this[wi].forEach((i)=>this[Xn](i.key,i.value));this[xn]=new Map,this[wi]=new S2,this[Sn]=0}dump(){return this[wi].map((i)=>Bu(this,i)?!1:{k:i.key,v:i.value,e:i.now+(i.maxAge||0)}).toArray().filter((i)=>i)}dumpLru(){return this[wi]}set(i,n,c){if(c=c||this[qc],c&&typeof c!=="number")throw TypeError("maxAge must be a number");let a=c?Date.now():0,p=this[va](n,i);if(this[xn].has(i)){if(p>this[Wc])return wa(this,this[xn].get(i)),!1;let e=this[xn].get(i).value;if(this[Xn]){if(!this[Hw])this[Xn](i,e.value)}return e.now=a,e.maxAge=c,e.value=n,this[Sn]+=p-e.length,e.length=p,this.get(i),Sp(this),!0}let s=new Ow(i,n,p,a,c);if(s.length>this[Wc]){if(this[Xn])this[Xn](i,n);return!1}return this[Sn]+=s.length,this[wi].unshift(s),this[xn].set(i,this[wi].head),Sp(this),!0}has(i){if(!this[xn].has(i))return!1;let n=this[xn].get(i).value;return!Bu(this,n)}get(i){return vd(this,i,!0)}peek(i){return vd(this,i,!1)}pop(){let i=this[wi].tail;if(!i)return null;return wa(this,i),i.value}del(i){wa(this,this[xn].get(i))}load(i){this.reset();let n=Date.now();for(let c=i.length-1;c>=0;c--){let a=i[c],p=a.e||0;if(p===0)this.set(a.k,a.v);else{let s=p-n;if(s>0)this.set(a.k,a.v,s)}}}prune(){this[xn].forEach((i,n)=>vd(this,n,!1))}}var vd=(i,n,c)=>{let a=i[xn].get(n);if(a){let p=a.value;if(Bu(i,p)){if(wa(i,a),!i[Ip])return}else if(c){if(i[Vw])a.value.now=Date.now();i[wi].unshiftNode(a)}return p.value}},Bu=(i,n)=>{if(!n||!n.maxAge&&!i[qc])return!1;let c=Date.now()-n.now;return n.maxAge?c>n.maxAge:i[qc]&&c>i[qc]},Sp=(i)=>{if(i[Sn]>i[Wc])for(let n=i[wi].tail;i[Sn]>i[Wc]&&n!==null;){let c=n.prev;wa(i,n),n=c}},wa=(i,n)=>{if(n){let c=n.value;if(i[Xn])i[Xn](c.key,c.value);i[Sn]-=c.length,i[xn].delete(c.key),i[wi].removeNode(n)}};class Ow{constructor(i,n,c,a,p){this.key=i,this.value=n,this.length=c,this.now=a,this.maxAge=p||0}}var Mw=(i,n,c,a)=>{let p=c.value;if(Bu(i,p)){if(wa(i,c),!i[Ip])p=void 0}if(p)n.call(a,p.value,p.key,i)};Aw.exports=Cw});var Id=r((Pp,ba)=>{var I2=200,Uw="__lodash_hash_undefined__",Qw=9007199254740991,hd="[object Arguments]",P2="[object Array]",kw="[object Boolean]",ib="[object Date]",H2="[object Error]",zd="[object Function]",nb="[object GeneratorFunction]",Fu="[object Map]",cb="[object Number]",Zd="[object Object]",Nw="[object Promise]",ab="[object RegExp]",gu="[object Set]",pb="[object String]",sb="[object Symbol]",Wd="[object WeakMap]",ub="[object ArrayBuffer]",Uu="[object DataView]",eb="[object Float32Array]",ob="[object Float64Array]",tb="[object Int8Array]",mb="[object Int16Array]",db="[object Int32Array]",xb="[object Uint8Array]",rb="[object Uint8ClampedArray]",lb="[object Uint16Array]",fb="[object Uint32Array]",M2=/[\\^$.*+?()[\]{}|]/g,V2=/\w*$/,C2=/^\[object .+?Constructor\]$/,O2=/^(?:0|[1-9]\d*)$/,L={};L[hd]=L[P2]=L[ub]=L[Uu]=L[kw]=L[ib]=L[eb]=L[ob]=L[tb]=L[mb]=L[db]=L[Fu]=L[cb]=L[Zd]=L[ab]=L[gu]=L[pb]=L[sb]=L[xb]=L[rb]=L[lb]=L[fb]=!0;L[H2]=L[zd]=L[Wd]=!1;var A2=typeof global=="object"&&global&&global.Object===Object&&global,N2=typeof self=="object"&&self&&self.Object===Object&&self,In=A2||N2||Function("return this")(),vb=typeof Pp=="object"&&Pp&&!Pp.nodeType&&Pp,Ew=vb&&typeof ba=="object"&&ba&&!ba.nodeType&&ba,E2=Ew&&Ew.exports===vb;function y2(i,n){return i.set(n[0],n[1]),i}function R2(i,n){return i.add(n),i}function j2(i,n){var c=-1,a=i?i.length:0;while(++c<a)if(n(i[c],c,i)===!1)break;return i}function T2(i,n){var c=-1,a=n.length,p=i.length;while(++c<a)i[p+c]=n[c];return i}function wb(i,n,c,a){var p=-1,s=i?i.length:0;if(a&&s)c=i[++p];while(++p<s)c=n(c,i[p],p,i);return c}function D2(i,n){var c=-1,a=Array(i);while(++c<i)a[c]=n(c);return a}function L2(i,n){return i==null?void 0:i[n]}function bb(i){var n=!1;if(i!=null&&typeof i.toString!="function")try{n=!!(i+"")}catch(c){}return n}function yw(i){var n=-1,c=Array(i.size);return i.forEach(function(a,p){c[++n]=[p,a]}),c}function Gd(i,n){return function(c){return i(n(c))}}function Rw(i){var n=-1,c=Array(i.size);return i.forEach(function(a){c[++n]=a}),c}var B2=Array.prototype,F2=Function.prototype,Qu=Object.prototype,bd=In["__core-js_shared__"],jw=function(){var i=/[^.]+$/.exec(bd&&bd.keys&&bd.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Wb=F2.toString,Un=Qu.hasOwnProperty,ku=Qu.toString,g2=RegExp("^"+Wb.call(Un).replace(M2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tw=E2?In.Buffer:void 0,Dw=In.Symbol,Lw=In.Uint8Array,U2=Gd(Object.getPrototypeOf,Object),Q2=Object.create,k2=Qu.propertyIsEnumerable,iP=B2.splice,Bw=Object.getOwnPropertySymbols,nP=Tw?Tw.isBuffer:void 0,cP=Gd(Object.keys,Object),qd=Ka(In,"DataView"),Hp=Ka(In,"Map"),Kd=Ka(In,"Promise"),_d=Ka(In,"Set"),Jd=Ka(In,"WeakMap"),Mp=Ka(Object,"create"),aP=Jc(qd),pP=Jc(Hp),sP=Jc(Kd),uP=Jc(_d),eP=Jc(Jd),Fw=Dw?Dw.prototype:void 0,gw=Fw?Fw.valueOf:void 0;function _c(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function oP(){this.__data__=Mp?Mp(null):{}}function tP(i){return this.has(i)&&delete this.__data__[i]}function mP(i){var n=this.__data__;if(Mp){var c=n[i];return c===Uw?void 0:c}return Un.call(n,i)?n[i]:void 0}function dP(i){var n=this.__data__;return Mp?n[i]!==void 0:Un.call(n,i)}function xP(i,n){var c=this.__data__;return c[i]=Mp&&n===void 0?Uw:n,this}_c.prototype.clear=oP;_c.prototype.delete=tP;_c.prototype.get=mP;_c.prototype.has=dP;_c.prototype.set=xP;function Pn(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function rP(){this.__data__=[]}function lP(i){var n=this.__data__,c=ie(n,i);if(c<0)return!1;var a=n.length-1;if(c==a)n.pop();else iP.call(n,c,1);return!0}function fP(i){var n=this.__data__,c=ie(n,i);return c<0?void 0:n[c][1]}function vP(i){return ie(this.__data__,i)>-1}function wP(i,n){var c=this.__data__,a=ie(c,i);if(a<0)c.push([i,n]);else c[a][1]=n;return this}Pn.prototype.clear=rP;Pn.prototype.delete=lP;Pn.prototype.get=fP;Pn.prototype.has=vP;Pn.prototype.set=wP;function Wa(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function bP(){this.__data__={hash:new _c,map:new(Hp||Pn),string:new _c}}function WP(i){return ne(this,i).delete(i)}function qP(i){return ne(this,i).get(i)}function KP(i){return ne(this,i).has(i)}function _P(i,n){return ne(this,i).set(i,n),this}Wa.prototype.clear=bP;Wa.prototype.delete=WP;Wa.prototype.get=qP;Wa.prototype.has=KP;Wa.prototype.set=_P;function qa(i){this.__data__=new Pn(i)}function JP(){this.__data__=new Pn}function $P(i){return this.__data__.delete(i)}function hP(i){return this.__data__.get(i)}function zP(i){return this.__data__.has(i)}function ZP(i,n){var c=this.__data__;if(c instanceof Pn){var a=c.__data__;if(!Hp||a.length<I2-1)return a.push([i,n]),this;c=this.__data__=new Wa(a)}return c.set(i,n),this}qa.prototype.clear=JP;qa.prototype.delete=$P;qa.prototype.get=hP;qa.prototype.has=zP;qa.prototype.set=ZP;function GP(i,n){var c=Xd(i)||QP(i)?D2(i.length,String):[],a=c.length,p=!!a;for(var s in i)if((n||Un.call(i,s))&&!(p&&(s=="length"||BP(s,a))))c.push(s);return c}function qb(i,n,c){var a=i[n];if(!(Un.call(i,n)&&$b(a,c))||c===void 0&&!(n in i))i[n]=c}function ie(i,n){var c=i.length;while(c--)if($b(i[c][0],n))return c;return-1}function YP(i,n){return i&&Kb(n,Sd(n),i)}function $d(i,n,c,a,p,s,u){var e;if(a)e=s?a(i,p,s,u):a(i);if(e!==void 0)return e;if(!ce(i))return i;var o=Xd(i);if(o){if(e=TP(i),!n)return yP(i,e)}else{var t=Kc(i),m=t==zd||t==nb;if(iH(i))return MP(i,n);if(t==Zd||t==hd||m&&!s){if(bb(i))return s?i:{};if(e=DP(m?{}:i),!n)return RP(i,YP(e,i))}else{if(!L[t])return s?i:{};e=LP(i,t,$d,n)}}u||(u=new qa);var d=u.get(i);if(d)return d;if(u.set(i,e),!o)var l=c?jP(i):Sd(i);return j2(l||i,function(f,v){if(l)v=f,f=i[v];qb(e,v,$d(f,n,c,a,v,i,u))}),e}function XP(i){return ce(i)?Q2(i):{}}function SP(i,n,c){var a=n(i);return Xd(i)?a:T2(a,c(i))}function IP(i){return ku.call(i)}function PP(i){if(!ce(i)||gP(i))return!1;var n=zb(i)||bb(i)?g2:C2;return n.test(Jc(i))}function HP(i){if(!Jb(i))return cP(i);var n=[];for(var c in Object(i))if(Un.call(i,c)&&c!="constructor")n.push(c);return n}function MP(i,n){if(n)return i.slice();var c=new i.constructor(i.length);return i.copy(c),c}function Yd(i){var n=new i.constructor(i.byteLength);return new Lw(n).set(new Lw(i)),n}function VP(i,n){var c=n?Yd(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.byteLength)}function CP(i,n,c){var a=n?c(yw(i),!0):yw(i);return wb(a,y2,new i.constructor)}function OP(i){var n=new i.constructor(i.source,V2.exec(i));return n.lastIndex=i.lastIndex,n}function AP(i,n,c){var a=n?c(Rw(i),!0):Rw(i);return wb(a,R2,new i.constructor)}function NP(i){return gw?Object(gw.call(i)):{}}function EP(i,n){var c=n?Yd(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.length)}function yP(i,n){var c=-1,a=i.length;n||(n=Array(a));while(++c<a)n[c]=i[c];return n}function Kb(i,n,c,a){c||(c={});var p=-1,s=n.length;while(++p<s){var u=n[p],e=a?a(c[u],i[u],u,c,i):void 0;qb(c,u,e===void 0?i[u]:e)}return c}function RP(i,n){return Kb(i,_b(i),n)}function jP(i){return SP(i,Sd,_b)}function ne(i,n){var c=i.__data__;return FP(n)?c[typeof n=="string"?"string":"hash"]:c.map}function Ka(i,n){var c=L2(i,n);return PP(c)?c:void 0}var _b=Bw?Gd(Bw,Object):aH,Kc=IP;if(qd&&Kc(new qd(new ArrayBuffer(1)))!=Uu||Hp&&Kc(new Hp)!=Fu||Kd&&Kc(Kd.resolve())!=Nw||_d&&Kc(new _d)!=gu||Jd&&Kc(new Jd)!=Wd)Kc=function(i){var n=ku.call(i),c=n==Zd?i.constructor:void 0,a=c?Jc(c):void 0;if(a)switch(a){case aP:return Uu;case pP:return Fu;case sP:return Nw;case uP:return gu;case eP:return Wd}return n};function TP(i){var n=i.length,c=i.constructor(n);if(n&&typeof i[0]=="string"&&Un.call(i,"index"))c.index=i.index,c.input=i.input;return c}function DP(i){return typeof i.constructor=="function"&&!Jb(i)?XP(U2(i)):{}}function LP(i,n,c,a){var p=i.constructor;switch(n){case ub:return Yd(i);case kw:case ib:return new p(+i);case Uu:return VP(i,a);case eb:case ob:case tb:case mb:case db:case xb:case rb:case lb:case fb:return EP(i,a);case Fu:return CP(i,a,c);case cb:case pb:return new p(i);case ab:return OP(i);case gu:return AP(i,a,c);case sb:return NP(i)}}function BP(i,n){return n=n==null?Qw:n,!!n&&(typeof i=="number"||O2.test(i))&&(i>-1&&i%1==0&&i<n)}function FP(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}function gP(i){return!!jw&&jw in i}function Jb(i){var n=i&&i.constructor,c=typeof n=="function"&&n.prototype||Qu;return i===c}function Jc(i){if(i!=null){try{return Wb.call(i)}catch(n){}try{return i+""}catch(n){}}return""}function UP(i){return $d(i,!0,!0)}function $b(i,n){return i===n||i!==i&&n!==n}function QP(i){return kP(i)&&Un.call(i,"callee")&&(!k2.call(i,"callee")||ku.call(i)==hd)}var Xd=Array.isArray;function hb(i){return i!=null&&nH(i.length)&&!zb(i)}function kP(i){return cH(i)&&hb(i)}var iH=nP||pH;function zb(i){var n=ce(i)?ku.call(i):"";return n==zd||n==nb}function nH(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=Qw}function ce(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function cH(i){return!!i&&typeof i=="object"}function Sd(i){return hb(i)?GP(i):HP(i)}function aH(){return[]}function pH(){return!1}ba.exports=UP});var Pd=r((ae)=>{Object.defineProperty(ae,"__esModule",{value:!0});ae.deepFreeze=void 0;function Zb(i){if(i)Object.freeze(i),Object.getOwnPropertyNames(i).forEach(function(n){if(i.hasOwnProperty(n)&&i[n]!==null&&(typeof i[n]==="object"||typeof i[n]==="function")&&i[n].constructor!==Buffer&&!Object.isFrozen(i[n]))Zb(i[n])});return i}ae.deepFreeze=Zb});var Sb=r(($n)=>{var sH=$n&&$n.__read||function(i,n){var c=typeof Symbol==="function"&&i[Symbol.iterator];if(!c)return i;var a=c.call(i),p,s=[],u;try{while((n===void 0||n-- >0)&&!(p=a.next()).done)s.push(p.value)}catch(e){u={error:e}}finally{try{if(p&&!p.done&&(c=a.return))c.call(a)}finally{if(u)throw u.error}}return s},Jn=$n&&$n.__spread||function(){for(var i=[],n=0;n<arguments.length;n++)i=i.concat(sH(arguments[n]));return i},Xb=$n&&$n.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty($n,"__esModule",{value:!0});$n.syncMemoizer=void 0;var uH=Xb(wd()),eH=require("events"),Gb=Xb(Id()),Yb=Pd();function oH(i){var n=new uH.default(i),c=i.load,a=i.hash,p=i.bypass,s=i.itemMaxAge,u=i.freeze,e=i.clone,o=new eH.EventEmitter,t=Object.assign({del:m,reset:function(){return n.reset()},keys:n.keys.bind(n),on:o.on.bind(o),once:o.once.bind(o)},i);if(i.disable)return Object.assign(c,t);function m(){var b=a.apply(void 0,Jn(arguments));n.del(b)}function d(b){var W=[];for(var w=1;w<arguments.length;w++)W[w-1]=arguments[w];o.emit.apply(o,Jn([b],W))}function l(b){return b&&b.then&&typeof b.then==="function"}function f(b){var W=b;if(e)if(l(W))W=W.then(Gb.default);else W=Gb.default(W);if(u)if(l(W))W=W.then(Yb.deepFreeze);else Yb.deepFreeze(W);return W}var v=function(){var b=[];for(var W=0;W<arguments.length;W++)b[W]=arguments[W];if(p&&p.apply(void 0,Jn(b)))return d.apply(void 0,Jn(["miss"],b)),c.apply(void 0,Jn(b));var w=a.apply(void 0,Jn(b)),_=n.get(w);if(_)return d.apply(void 0,Jn(["hit"],b)),f(_);d.apply(void 0,Jn(["miss"],b));var K=c.apply(void 0,Jn(b));if(s)n.set(w,K,s.apply(void 0,Jn(b.concat([K]))));else n.set(w,K);return f(K)};return Object.assign(v,t)}$n.syncMemoizer=oH});var Hb=r((nn)=>{var tH=nn&&nn.__read||function(i,n){var c=typeof Symbol==="function"&&i[Symbol.iterator];if(!c)return i;var a=c.call(i),p,s=[],u;try{while((n===void 0||n-- >0)&&!(p=a.next()).done)s.push(p.value)}catch(e){u={error:e}}finally{try{if(p&&!p.done&&(c=a.return))c.call(a)}finally{if(u)throw u.error}}return s},Ci=nn&&nn.__spread||function(){for(var i=[],n=0;n<arguments.length;n++)i=i.concat(tH(arguments[n]));return i},mH=nn&&nn.__values||function(i){var n=typeof Symbol==="function"&&Symbol.iterator,c=n&&i[n],a=0;if(c)return c.call(i);if(i&&typeof i.length==="number")return{next:function(){if(i&&a>=i.length)i=void 0;return{value:i&&i[a++],done:!i}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Ib=nn&&nn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(nn,"__esModule",{value:!0});nn.asyncMemoizer=void 0;var dH=Ib(wd()),xH=require("events"),rH=Ib(Id()),lH=Pd(),fH=Sb();function Pb(i){var n=new dH.default(i),c=i.load,a=i.hash,p=i.bypass,s=i.itemMaxAge,u=i.freeze,e=i.clone,o=i.queueMaxAge||1000,t=new Map,m=new xH.EventEmitter,d=Object.assign({del:l,reset:function(){return n.reset()},keys:n.keys.bind(n),on:m.on.bind(m),once:m.once.bind(m)},i);if(i.disable)return Object.assign(c,d);function l(){var w=[];for(var _=0;_<arguments.length;_++)w[_]=arguments[_];var K=a.apply(void 0,Ci(w));n.del(K)}function f(w,_,K){if(u)K.forEach(lH.deepFreeze);if(s)n.set(w,K,s.apply(void 0,Ci(_.concat(K))));else n.set(w,K)}function v(w,_){var K,G;try{for(var P=mH(w),S=P.next();!S.done;S=P.next()){var oi=S.value;if(e)setImmediate.apply(void 0,Ci([oi],_.map(rH.default)));else setImmediate.apply(void 0,Ci([oi],_))}}catch(Si){K={error:Si}}finally{try{if(S&&!S.done&&(G=P.return))G.call(P)}finally{if(K)throw K.error}}}function b(w){var _=[];for(var K=1;K<arguments.length;K++)_[K-1]=arguments[K];m.emit.apply(m,Ci([w],_))}function W(){var w=[];for(var _=0;_<arguments.length;_++)w[_]=arguments[_];var K=w.slice(0,-1),G=w.slice(-1).pop(),P;if(p&&p.apply(void 0,Ci(K)))return b.apply(void 0,Ci(["miss"],K)),c.apply(void 0,Ci(w));if(K.length===0&&!a)P="_";else P=a.apply(void 0,Ci(K));var S=n.get(P);if(S)return b.apply(void 0,Ci(["hit"],K)),v([G],[null].concat(S));var oi=t.get(P);if(oi&&oi.expiresAt>Date.now()){oi.queue.push(G),b.apply(void 0,Ci(["queue"],K));return}b.apply(void 0,Ci(["miss"],K));var Si=Date.now(),Oi=[G];t.set(P,{queue:Oi,expiresAt:Si+o});var V=function(){var di=[];for(var an=0;an<arguments.length;an++)di[an]=arguments[an];var rn=di[0];if(!rn)f(P,K,di.slice(1));t.delete(P),b.apply(void 0,Ci(["loaded",Date.now()-Si],K)),v(Oi,di)};c.apply(void 0,Ci(K,[V]))}return Object.assign(W,d)}nn.asyncMemoizer=Pb;Pb.sync=fH.syncMemoizer});var Vb=r((NR,Mb)=>{var vH=Hb();Mb.exports=vH.asyncMemoizer});var Ob=r((ER,Cb)=>{var wH=On()("jwks"),bH=Vb(),{promisify:WH,callbackify:qH}=require("util");function KH(i,{cacheMaxEntries:n=5,cacheMaxAge:c=600000}){return wH(`Configured caching of signing keys. Max: ${n} / Age: ${c}`),WH(bH({hash:(a)=>a,load:qH(i.getSigningKey.bind(i)),maxAge:c,max:n}))}Cb.exports.default=KH});var Hd=r((yR,Nb)=>{var Ab=function(i,n,c,a){if(this.bucketSize=i,this.tokensPerInterval=n,typeof c==="string")switch(c){case"sec":case"second":this.interval=1000;break;case"min":case"minute":this.interval=60000;break;case"hr":case"hour":this.interval=3600000;break;case"day":this.interval=86400000;break;default:throw Error("Invaid interval "+c)}else this.interval=c;this.parentBucket=a,this.content=0,this.lastDrip=+new Date};Ab.prototype={bucketSize:1,tokensPerInterval:1,interval:1000,parentBucket:null,content:0,lastDrip:0,removeTokens:function(i,n){var c=this;if(!this.bucketSize)return process.nextTick(n.bind(null,null,i,Number.POSITIVE_INFINITY)),!0;if(i>this.bucketSize)return process.nextTick(n.bind(null,"Requested tokens "+i+" exceeds bucket size "+this.bucketSize,null)),!1;if(this.drip(),i>this.content)return a();if(this.parentBucket)return this.parentBucket.removeTokens(i,function(p,s){if(p)return n(p,null);if(i>c.content)return a();c.content-=i,n(null,Math.min(s,c.content))});else return this.content-=i,process.nextTick(n.bind(null,null,this.content)),!0;function a(){var p=Math.ceil((i-c.content)*(c.interval/c.tokensPerInterval));return setTimeout(function(){c.removeTokens(i,n)},p),!1}},tryRemoveTokens:function(i){if(!this.bucketSize)return!0;if(i>this.bucketSize)return!1;if(this.drip(),i>this.content)return!1;if(this.parentBucket&&!this.parentBucket.tryRemoveTokens(i))return!1;return this.content-=i,!0},drip:function(){if(!this.tokensPerInterval){this.content=this.bucketSize;return}var i=+new Date,n=Math.max(i-this.lastDrip,0);this.lastDrip=i;var c=n*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+c,this.bucketSize)}};Nb.exports=Ab});var yb=r((RR,Eb)=>{var _H=function(){if(typeof process<"u"&&process.hrtime){var i=process.hrtime(),n=i[0],c=i[1];return n*1000+Math.floor(c/1e6)}return new Date().getTime()};Eb.exports=_H});var Tb=r((jR,jb)=>{var JH=Hd(),Md=yb(),Rb=function(i,n,c){this.tokenBucket=new JH(i,i,n,null),this.tokenBucket.content=i,this.curIntervalStart=Md(),this.tokensThisInterval=0,this.fireImmediately=c};Rb.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(i,n){if(i>this.tokenBucket.bucketSize)return process.nextTick(n.bind(null,"Requested tokens "+i+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var c=this,a=Md();if(a<this.curIntervalStart||a-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=a,this.tokensThisInterval=0;if(i>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(n.bind(null,null,-1));else{var p=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-a);setTimeout(function(){c.tokenBucket.removeTokens(i,s)},p)}return!1}return this.tokenBucket.removeTokens(i,s);function s(u,e){if(u)return n(u,null);c.tokensThisInterval+=i,n(null,e)}},tryRemoveTokens:function(i){if(i>this.tokenBucket.bucketSize)return!1;var n=Md();if(n<this.curIntervalStart||n-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=n,this.tokensThisInterval=0;if(i>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var c=this.tokenBucket.tryRemoveTokens(i);if(c)this.tokensThisInterval+=i;return c},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}};jb.exports=Rb});var Db=r((Vd)=>{Vd.RateLimiter=Tb();Vd.TokenBucket=Hd()});var Cd=r((DR,Lb)=>{function pe(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=i}pe.prototype=Object.create(Error.prototype);pe.prototype.constructor=pe;Lb.exports=pe});var Fb=r((LR,Bb)=>{var Od=On()("jwks"),{RateLimiter:$H}=Db(),hH=Cd();function zH(i,{jwksRequestsPerMinute:n=10}){let c=i.getSigningKey.bind(i),a=new $H(n,"minute",!0);return Od(`Configured rate limiting to JWKS endpoint at ${n}/minute`),async(p)=>await new Promise((s,u)=>{a.removeTokens(1,async(e,o)=>{if(e)u(e);if(Od("Requests to the JWKS endpoint available for the next minute:",o),o<0)Od("Too many requests to the JWKS endpoint"),u(new hH("Too many requests to the JWKS endpoint"));else try{let t=await c(p);s(t)}catch(t){u(t)}})})}Bb.exports.default=zH});var Ub=r((BR,gb)=>{var ZH=rd().retrieveSigningKeys;function GH(i,{getKeysInterceptor:n}){let c=i.getSigningKey.bind(i);return async(a)=>{let p=await n(),s;if(p&&p.length)s=await ZH(p);if(s&&s.length){let u=s.find((e)=>!a||e.kid===a);if(u)return u}return c(a)}}gb.exports.default=GH});var kb=r((FR,Qb)=>{var{callbackify:YH}=require("util"),XH=(i)=>{let n=i.getSigningKey.bind(i);return(c,a)=>{if(a)return YH(n)(c,a);return n(c)}};Qb.exports.default=XH});var nW=r((gR,iW)=>{iW.exports={request:Yw().default,cacheSigningKey:Ob().default,rateLimitSigningKey:Fb().default,getKeysInterceptor:Ub().default,callbackSupport:kb().default}});var Ad=r((UR,cW)=>{function se(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=i}se.prototype=Object.create(Error.prototype);se.prototype.constructor=se;cW.exports=se});var _a=r((QR,sW)=>{var $c=On()("jwks"),{retrieveSigningKeys:SH}=rd(),{request:IH,cacheSigningKey:PH,rateLimitSigningKey:HH,getKeysInterceptor:MH,callbackSupport:VH}=nW(),Nd=Du(),aW=Ad();class pW{constructor(i){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...i},this.options.getKeysInterceptor)this.getSigningKey=MH(this,i);if(this.options.rateLimit)this.getSigningKey=HH(this,i);if(this.options.cache)this.getSigningKey=PH(this,i);this.getSigningKey=VH(this,i)}async getKeys(){$c(`Fetching keys from '${this.options.jwksUri}'`);try{let i=await IH({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return $c("Keys:",i.keys),i.keys}catch(i){let{errorMsg:n}=i;throw $c("Failure:",n||i),n?new Nd(n):i}}async getSigningKeys(){let i=await this.getKeys();if(!i||!i.length)throw new Nd("The JWKS endpoint did not contain any keys");let n=await SH(i);if(!n.length)throw new Nd("The JWKS endpoint did not contain any signing keys");return $c("Signing Keys:",n),n}async getSigningKey(i){$c(`Fetching signing key for '${i}'`);let n=await this.getSigningKeys(),c=i!==void 0&&i!==null;if(!c&&n.length>1)throw $c("No KID specified and JWKS endpoint returned more than 1 key"),new aW("No KID specified and JWKS endpoint returned more than 1 key");let a=n.find((p)=>!c||p.kid===i);if(a)return a;else throw $c(`Unable to find a signing key that matches '${i}'`),new aW(`Unable to find a signing key that matches '${i}'`)}}sW.exports={JwksClient:pW}});var Ja=r((kR,uW)=>{uW.exports={ArgumentError:ld(),JwksError:Du(),JwksRateLimitError:Cd(),SigningKeyNotFoundError:Ad()}});var Vp=r((ij,eW)=>{var CH=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES256K","ES384","ES512","EdDSA"];eW.exports=CH});var oW=r((nj,ue)=>{var{ArgumentError:OH}=Ja(),{JwksClient:AH}=_a(),NH=Vp(),EH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(i,null,null);if(i)return n(i,null,null)};ue.exports.hapiJwt2KeyAsync=(i)=>{let n=ue.exports.hapiJwt2Key(i);return function(c){return new Promise((a,p)=>{n(c,(u,e)=>{!e||u?p(u):a({key:e})})})}};ue.exports.hapiJwt2Key=function(i){if(i===null||i===void 0)throw new OH("An options object must be provided when initializing hapiJwt2Key");let n=new AH(i),c=i.handleSigningKeyError||EH;return function(p,s){if(!p||!p.header)return s(Error("Cannot find a signing certificate if there is no header"),null,null);if(!NH.includes(p.header.alg))return s(Error("Unsupported algorithm "+p.header.alg+" supplied."),null,null);n.getSigningKey(p.header.kid).then((u)=>{return s(null,u.publicKey||u.rsaPublicKey,u)}).catch((u)=>{return c(u,(e)=>s(e,null,null))})}}});var mW=r((cj,tW)=>{var{ArgumentError:yH}=Ja(),{JwksClient:RH}=_a(),jH=Vp(),TH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(null);if(i)return n(i)};tW.exports.expressJwtSecret=function(i){if(i===null||i===void 0)throw new yH("An options object must be provided when initializing expressJwtSecret");let n=new RH(i),c=i.handleSigningKeyError||TH,a=async(p,s)=>{if(!s)return;let u=s.header;if(!u||!jH.includes(u.alg))return;try{let e=await n.getSigningKey(u.kid);return e.publicKey||e.rsaPublicKey}catch(e){return new Promise((o,t)=>{c(e,(m)=>{if(!m)return o();t(m)})})}};return function(s,u,e,o){if(arguments.length===4){a(s,{header:u}).then((t)=>{setImmediate(o,null,t)}).catch((t)=>{setImmediate(o,t)});return}return a(s,arguments[1])}}});var xW=r((aj,dW)=>{var{ArgumentError:DH}=Ja(),{JwksClient:LH}=_a(),BH=Vp();dW.exports.koaJwtSecret=function(i={}){if(!i.jwksUri)throw new DH("No JWKS provided. Please provide a jwksUri");let n=new LH(i);return function({alg:a,kid:p}={}){return new Promise((s,u)=>{if(!BH.includes(a))return u(Error("Missing / invalid token algorithm"));n.getSigningKey(p).then((e)=>{s(e.publicKey||e.rsaPublicKey)}).catch((e)=>{if(i.handleSigningKeyError)return i.handleSigningKeyError(e).then(u);return u(e)})})}}});var vW=r((pj,fW)=>{var rW=xd(),{ArgumentError:lW}=Ja(),{JwksClient:FH}=_a(),gH=Vp(),UH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(null);if(i)return n(i)};fW.exports.passportJwtSecret=function(i){if(i===null||i===void 0)throw new lW("An options object must be provided when initializing passportJwtSecret");if(!i.jwksUri)throw new lW("No JWKS provided. Please provide a jwksUri");let n=new FH(i),c=i.handleSigningKeyError||UH;return function(p,s,u){let e;try{e={payload:rW.decodeJwt(s),header:rW.decodeProtectedHeader(s)}}catch(o){e=null}if(!e||!gH.includes(e.header.alg))return u(null,null);n.getSigningKey(e.header.kid).then((o)=>{u(null,o.publicKey||o.rsaPublicKey)}).catch((o)=>{c(o,(t)=>u(t,null))})}}});var bW=r((sj,cn)=>{var{JwksClient:wW}=_a(),ee=Ja(),{hapiJwt2Key:QH,hapiJwt2KeyAsync:kH}=oW(),{expressJwtSecret:iM}=mW(),{koaJwtSecret:nM}=xW(),{passportJwtSecret:cM}=vW();cn.exports=(i)=>{return new wW(i)};cn.exports.JwksClient=wW;cn.exports.ArgumentError=ee.ArgumentError;cn.exports.JwksError=ee.JwksError;cn.exports.JwksRateLimitError=ee.JwksRateLimitError;cn.exports.SigningKeyNotFoundError=ee.SigningKeyNotFoundError;cn.exports.expressJwtSecret=iM;cn.exports.hapiJwt2Key=QH;cn.exports.hapiJwt2KeyAsync=kH;cn.exports.koaJwtSecret=nM;cn.exports.passportJwtSecret=cM});var dM={};te(dM,{handler:()=>oM});module.exports=gd(dM);var tf=require("node:https");function Ga(i,n){return function(){return i.apply(n,arguments)}}var{toString:HW}=Object.prototype,{getPrototypeOf:Yc}=Object,{iterator:Xa,toStringTag:kd}=Symbol,Np=(({hasOwnProperty:i})=>(n,c)=>i.call(n,c))(Object.prototype),Ya=(i,n)=>{let c=i,a=[];while(c!=null&&c!==Object.prototype){if(a.indexOf(c)!==-1)return!1;if(a.push(c),Np(c,n))return!0;c=Yc(c)}return!1},MW=(i,n)=>i!=null&&Ya(i,n)?i[n]:void 0,de=((i)=>(n)=>{let c=HW.call(n);return i[c]||(i[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),Ri=(i)=>{return i=i.toLowerCase(),(n)=>de(n)===i},Ep=(i)=>(n)=>typeof n===i,{isArray:cc}=Array,ac=Ep("undefined");function Xc(i){return i!==null&&!ac(i)&&i.constructor!==null&&!ac(i.constructor)&&Ii(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}var ix=Ri("ArrayBuffer");function VW(i){let n;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)n=ArrayBuffer.isView(i);else n=i&&i.buffer&&ix(i.buffer);return n}var CW=Ep("string"),Ii=Ep("function"),nx=Ep("number"),Sc=(i)=>i!==null&&typeof i==="object",OW=(i)=>i===!0||i===!1,Ap=(i)=>{if(!Sc(i))return!1;let n=Yc(i);return(n===null||n===Object.prototype||Yc(n)===null)&&!Ya(i,kd)&&!Ya(i,Xa)},AW=(i)=>{if(!Sc(i)||Xc(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch(n){return!1}},NW=Ri("Date"),EW=Ri("File"),yW=(i)=>{return!!(i&&typeof i.uri<"u")},RW=(i)=>i&&typeof i.getParts<"u",jW=Ri("Blob"),TW=Ri("FileList"),DW=Ri("Set"),LW=(i)=>Sc(i)&&Ii(i.pipe);function BW(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}var Ud=BW(),Qd=typeof Ud.FormData<"u"?Ud.FormData:void 0,FW=(i)=>{if(!i)return!1;if(Qd&&i instanceof Qd)return!0;let n=Yc(i);if(!n||n===Object.prototype)return!1;if(!Ii(i.append))return!1;let c=de(i);return c==="formdata"||c==="object"&&Ii(i.toString)&&i.toString()==="[object FormData]"},gW=Ri("URLSearchParams"),[UW,QW,kW,iq]=["ReadableStream","Request","Response","Headers"].map(Ri),nq=(i)=>{return i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function Sa(i,n,{allOwnKeys:c=!1}={}){if(i===null||typeof i>"u")return;let a,p;if(typeof i!=="object")i=[i];if(cc(i))for(a=0,p=i.length;a<p;a++)n.call(null,i[a],a,i);else{if(Xc(i))return;let s=c?Object.getOwnPropertyNames(i):Object.keys(i),u=s.length,e;for(a=0;a<u;a++)e=s[a],n.call(null,i[e],e,i)}}function cx(i,n){if(Xc(i))return null;n=n.toLowerCase();let c=Object.keys(i),a=c.length,p;while(a-- >0)if(p=c[a],n===p.toLowerCase())return p;return null}var nc=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),ax=(i)=>!ac(i)&&i!==nc;function me(...i){let{caseless:n,skipUndefined:c}=ax(this)&&this||{},a={},p=(s,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;let e=n&&typeof u==="string"&&cx(a,u)||u,o=Np(a,e)?a[e]:void 0;if(Ap(o)&&Ap(s))a[e]=me(o,s);else if(Ap(s))a[e]=me({},s);else if(cc(s))a[e]=s.slice();else if(!c||!ac(s))a[e]=s};for(let s=0,u=i.length;s<u;s++){let e=i[s];if(!e||Xc(e))continue;if(Sa(e,p),typeof e!=="object"||cc(e))continue;let o=Object.getOwnPropertySymbols(e);for(let t=0;t<o.length;t++){let m=o[t];if(rq.call(e,m))p(e[m],m)}}return a}var cq=(i,n,c,{allOwnKeys:a}={})=>{return Sa(n,(p,s)=>{if(c&&Ii(p))Object.defineProperty(i,s,{__proto__:null,value:Ga(p,c),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(i,s,{__proto__:null,value:p,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),i},aq=(i)=>{if(i.charCodeAt(0)===65279)i=i.slice(1);return i},pq=(i,n,c,a)=>{i.prototype=Object.create(n.prototype,a),Object.defineProperty(i.prototype,"constructor",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(i,"super",{__proto__:null,value:n.prototype}),c&&Object.assign(i.prototype,c)},sq=(i,n,c,a)=>{let p,s,u,e={};if(n=n||{},i==null)return n;do{p=Object.getOwnPropertyNames(i),s=p.length;while(s-- >0)if(u=p[s],(!a||a(u,i,n))&&!e[u])n[u]=i[u],e[u]=!0;i=c!==!1&&Yc(i)}while(i&&(!c||c(i,n))&&i!==Object.prototype);return n},uq=(i,n,c)=>{if(i=String(i),c===void 0||c>i.length)c=i.length;c-=n.length;let a=i.indexOf(n,c);return a!==-1&&a===c},eq=(i)=>{if(!i)return null;if(cc(i))return i;let n=i.length;if(!nx(n))return null;let c=Array(n);while(n-- >0)c[n]=i[n];return c},oq=((i)=>{return(n)=>{return i&&n instanceof i}})(typeof Uint8Array<"u"&&Yc(Uint8Array)),tq=(i,n)=>{let a=(i&&i[Xa]).call(i),p;while((p=a.next())&&!p.done){let s=p.value;n.call(i,s[0],s[1])}},mq=(i,n)=>{let c,a=[];while((c=i.exec(n))!==null)a.push(c);return a},dq=Ri("HTMLFormElement"),xq=(i)=>{return i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,a,p){return a.toUpperCase()+p})},{propertyIsEnumerable:rq}=Object.prototype,lq=Ri("RegExp"),px=(i,n)=>{let c=Object.getOwnPropertyDescriptors(i),a={};Sa(c,(p,s)=>{let u;if((u=n(p,s,i))!==!1)a[s]=u||p}),Object.defineProperties(i,a)},fq=(i)=>{px(i,(n,c)=>{if(Ii(i)&&["arguments","caller","callee"].includes(c))return!1;let a=i[c];if(!Ii(a))return;if(n.enumerable=!1,"writable"in n){n.writable=!1;return}if(!n.set)n.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")}})},vq=(i,n)=>{let c={},a=(p)=>{p.forEach((s)=>{c[s]=!0})};return cc(i)?a(i):a(String(i).split(n)),c},wq=()=>{},bq=(i,n)=>{return i!=null&&Number.isFinite(i=+i)?i:n};function Wq(i){return!!(i&&Ii(i.append)&&i[kd]==="FormData"&&i[Xa])}var qq=(i)=>{let n=new WeakSet,c=(a)=>{if(Sc(a)){if(n.has(a))return;if(Xc(a))return a;if(!("toJSON"in a)){n.add(a);let p;if(DW(a)){p=[];for(let s of a){let u=c(s);!ac(u)&&p.push(u)}}else p=cc(a)?[]:{},Sa(a,(s,u)=>{let e=c(s);!ac(e)&&(p[u]=e)});return n.delete(a),p}}return a};return c(i)},Kq=Ri("AsyncFunction"),_q=(i)=>i&&(Sc(i)||Ii(i))&&Ii(i.then)&&Ii(i.catch),sx=((i,n)=>{if(i)return setImmediate;return n?((c,a)=>{return nc.addEventListener("message",({source:p,data:s})=>{if(p===nc&&s===c)a.length&&a.shift()()},!1),(p)=>{a.push(p),nc.postMessage(c,"*")}})(`axios@${Math.random()}`,[]):(c)=>setTimeout(c)})(typeof setImmediate==="function",Ii(nc.postMessage)),Jq=typeof queueMicrotask<"u"?queueMicrotask.bind(nc):typeof process<"u"&&process.nextTick||sx,ux=(i)=>i!=null&&Ii(i[Xa]),$q=(i)=>i!=null&&Ya(i,Xa)&&ux(i),x={isArray:cc,isArrayBuffer:ix,isBuffer:Xc,isFormData:FW,isArrayBufferView:VW,isString:CW,isNumber:nx,isBoolean:OW,isObject:Sc,isPlainObject:Ap,isEmptyObject:AW,isReadableStream:UW,isRequest:QW,isResponse:kW,isHeaders:iq,isUndefined:ac,isDate:NW,isFile:EW,isReactNativeBlob:yW,isReactNative:RW,isBlob:jW,isRegExp:lq,isFunction:Ii,isStream:LW,isURLSearchParams:gW,isTypedArray:oq,isFileList:TW,forEach:Sa,merge:me,extend:cq,trim:nq,stripBOM:aq,inherits:pq,toFlatObject:sq,kindOf:de,kindOfTest:Ri,endsWith:uq,toArray:eq,forEachEntry:tq,matchAll:mq,isHTMLForm:dq,hasOwnProperty:Np,hasOwnProp:Np,hasOwnInPrototypeChain:Ya,getSafeProp:MW,reduceDescriptors:px,freezeMethods:fq,toObjectSet:vq,toCamelCase:xq,noop:wq,toFiniteNumber:bq,findKey:cx,global:nc,isContextDefined:ax,isSpecCompliantForm:Wq,toJSONObject:qq,isAsyncFn:Kq,isThenable:_q,setImmediate:sx,asap:Jq,isIterable:ux,isSafeIterable:$q};var hq=x.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"]),ex=(i)=>{let n={},c,a,p;return i&&i.split(`
26
- `).forEach(function(u){p=u.indexOf(":"),c=u.substring(0,p).trim().toLowerCase(),a=u.substring(p+1).trim();let e=x.hasOwnProp(n,c);if(!c||e&&x.hasOwnProp(hq,c))return;if(c==="set-cookie")if(e)n[c].push(a);else n[c]=[a];else n[c]=e?n[c]+", "+a:a}),n};function zq(i){let n=0,c=i.length;while(n<c){let a=i.charCodeAt(n);if(a!==9&&a!==32)break;n+=1}while(c>n){let a=i.charCodeAt(c-1);if(a!==9&&a!==32)break;c-=1}return n===0&&c===i.length?i:i.slice(n,c)}var Zq=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Gq=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function xe(i,n){if(x.isArray(i))return i.map((c)=>xe(c,n));return zq(String(i).replace(n,""))}var ox=(i)=>xe(i,Zq),Yq=(i)=>xe(i,Gq);function Ic(i){let n=Object.create(null);return x.forEach(i.toJSON(),(c,a)=>{n[a]=Yq(c)}),n}var tx=Symbol("internals");function Ia(i){return i&&String(i).trim().toLowerCase()}function yp(i){if(i===!1||i==null)return i;return x.isArray(i)?i.map(yp):ox(String(i))}function Xq(i){let n=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,a;while(a=c.exec(i))n[a[1]]=a[2];return n}var Sq=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function re(i){let n=0,c=i.length;while(n<c){let a=i.charCodeAt(n);if(a!==9&&a!==32)break;n+=1}while(c>n){let a=i.charCodeAt(c-1);if(a!==9&&a!==32)break;c-=1}return n===0&&c===i.length?i:i.slice(n,c)}function Iq(i){let n=i.length-1;if(n<1||i.charCodeAt(0)!==34||i.charCodeAt(n)!==34)return i;let c="";for(let a=1;a<n;a++){let p=i.charCodeAt(a);if(p===34)return i;if(p===92){if(a+=1,a>=n)return i}c+=i[a]}return c}function Pq(i){let n=Object.create(null),c=String(i),a=0,p=!1,s=!1;function u(e){let o=re(c.slice(a,e)),t=o.indexOf("=");if(t<1)return;let m=re(o.slice(0,t));if(!Sq.test(m))return;let d=m.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let l=re(o.slice(t+1));n[d]=Iq(l)}for(let e=0;e<c.length;e++){let o=c.charCodeAt(e);if(p){if(s)s=!1;else if(o===92)s=!0;else if(o===34)p=!1}else if(o===34)p=!0;else if(o===44||o===59)u(e),a=e+1}return u(c.length),n}var Hq=(i)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function le(i,n,c,a,p){if(x.isFunction(a))return a.call(this,n,c);if(p)n=c;if(!x.isString(n))return;if(x.isString(a))return n.indexOf(a)!==-1;if(x.isRegExp(a))return a.test(n)}function Mq(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,c,a)=>{return c.toUpperCase()+a})}function Vq(i,n){let c=x.toCamelCase(" "+n);["get","set","has"].forEach((a)=>{Object.defineProperty(i,a+c,{__proto__:null,value:function(p,s,u){return this[a].call(this,n,p,s,u)},configurable:!0})})}class Pa{constructor(i){i&&this.set(i)}set(i,n,c){let a=this;function p(u,e,o){let t=Ia(e);if(!t)return;let m=x.findKey(a,t);if(!m||a[m]===void 0||o===!0||o===void 0&&a[m]!==!1)a[m||e]=yp(u)}let s=(u,e)=>x.forEach(u,(o,t)=>p(o,t,e));if(x.isPlainObject(i)||i instanceof this.constructor)s(i,n);else if(x.isString(i)&&(i=i.trim())&&!Hq(i))s(ex(i),n);else if(x.isObject(i)&&x.isSafeIterable(i)){let u=Object.create(null),e,o;for(let t of i){if(!x.isArray(t))throw TypeError("Object iterator must return a key-value pair");if(o=t[0],x.hasOwnProp(u,o))e=u[o],u[o]=x.isArray(e)?[...e,t[1]]:[e,t[1]];else u[o]=t[1]}s(u,n)}else i!=null&&p(n,i,c);return this}get(i,n){if(i=Ia(i),i){let c=x.findKey(this,i);if(c){let a=this[c];if(!n)return a;if(n===!0)return Xq(a);if(x.isFunction(n))return n.call(this,a,c);if(x.isRegExp(n))return n.exec(a);throw TypeError("parser must be boolean|regexp|function")}}}has(i,n){if(i=Ia(i),i){let c=x.findKey(this,i);return!!(c&&this[c]!==void 0&&(!n||le(this,this[c],c,n)))}return!1}delete(i,n){let c=this,a=!1;function p(s){if(s=Ia(s),s){let u=x.findKey(c,s);if(u&&(!n||le(c,c[u],u,n)))delete c[u],a=!0}}if(x.isArray(i))i.forEach(p);else p(i);return a}clear(i){let n=Object.keys(this),c=n.length,a=!1;while(c--){let p=n[c];if(!i||le(this,this[p],p,i,!0))delete this[p],a=!0}return a}normalize(i){let n=this,c={};return x.forEach(this,(a,p)=>{let s=x.findKey(c,p);if(s){n[s]=yp(a),delete n[p];return}let u=i?Mq(p):String(p).trim();if(u!==p)delete n[p];n[u]=yp(a),c[u]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){let n=Object.create(null);return x.forEach(this,(c,a)=>{c!=null&&c!==!1&&(n[a]=i&&x.isArray(c)?c.join(", "):c)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,n])=>i+": "+n).join(`
27
- `)}getSetCookie(){let i=this.get("set-cookie");return x.isArray(i)?i:i==null||i===!1?[]:[i]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static parseParameters(i){return Pq(i)}static concat(i,...n){let c=new this(i);return n.forEach((a)=>c.set(a)),c}static accessor(i){let c=(this[tx]=this[tx]={accessors:{}}).accessors,a=this.prototype;function p(s){let u=Ia(s);if(!c[u])Vq(a,s),c[u]=!0}return x.isArray(i)?i.forEach(p):p(i),this}}Pa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(Pa.prototype,({value:i},n)=>{let c=n[0].toUpperCase()+n.slice(1);return{get:()=>i,set(a){this[c]=a}}});x.freezeMethods(Pa);var j=Pa;var Ha="[REDACTED ****]";function Cq(i){if(x.hasOwnProp(i,"toJSON"))return!0;let n=Object.getPrototypeOf(i);while(n&&n!==Object.prototype){if(x.hasOwnProp(n,"toJSON"))return!0;n=Object.getPrototypeOf(n)}return!1}function Oq(i,n){let c=new Set(n.map((s)=>String(s).toLowerCase())),a=[],p=(s)=>{if(s===null||typeof s!=="object")return s;if(x.isBuffer(s))return s;if(a.indexOf(s)!==-1)return;if(s instanceof j)s=s.toJSON();a.push(s);let u;if(x.isArray(s))u=[],s.forEach((e,o)=>{let t=p(e);if(!x.isUndefined(t))u[o]=t});else{if(!x.isPlainObject(s)&&Cq(s))return a.pop(),s;u=Object.create(null);for(let[e,o]of Object.entries(s)){let t=c.has(e.toLowerCase())?Ha:p(o);if(!x.isUndefined(t))u[e]=t}}return a.pop(),u};return p(i)}function mx(i){try{return String(i)}catch(n){return""}}function Aq(i){return i.errors.map((c)=>{try{return c&&c.message?mx(c.message):mx(c)}catch(a){return""}}).filter(Boolean).join("; ")||i.name||"AggregateError"}class qi extends Error{static from(i,n,c,a,p,s){let u=i.message;if(!u&&x.isArray(i.errors)&&i.errors.length)u=Aq(i);let e=new qi(u,n||i.code,c,a,p);if(Object.defineProperty(e,"cause",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),e.name=i.name,i.status!=null&&e.status==null)e.status=i.status;return s&&Object.assign(e,s),e}constructor(i,n,c,a,p){super(i);if(Object.defineProperty(this,"message",{__proto__:null,value:i,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),c&&(this.config=c),a&&(this.request=a),p)this.response=p,this.status=p.status}toJSON(){let i=this.config,n=i&&x.hasOwnProp(i,"redact")?i.redact:void 0,c=x.isArray(n)&&n.length>0?Oq(i,n):x.toJSONObject(i);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:c,code:this.code,status:this.status}}}qi.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";qi.ERR_BAD_OPTION="ERR_BAD_OPTION";qi.ECONNABORTED="ECONNABORTED";qi.ETIMEDOUT="ETIMEDOUT";qi.ECONNREFUSED="ECONNREFUSED";qi.ERR_NETWORK="ERR_NETWORK";qi.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";qi.ERR_DEPRECATED="ERR_DEPRECATED";qi.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";qi.ERR_BAD_REQUEST="ERR_BAD_REQUEST";qi.ERR_CANCELED="ERR_CANCELED";qi.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";qi.ERR_INVALID_URL="ERR_INVALID_URL";qi.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var q=qi;var lr=k(rr(),1),kp=lr.default;var is={isBufferAvailable(){return typeof Buffer<"u"},from(i){return Buffer.from(i)}};var Ce=100;function Ve(i){return x.isPlainObject(i)||x.isArray(i)}function fr(i){return x.endsWith(i,"[]")?i.slice(0,-2):i}function Me(i,n,c){if(!i)return n;return i.concat(n).map(function(p,s){return p=fr(p),!c&&s?"["+p+"]":p}).join(c?".":"")}function $K(i){return x.isArray(i)&&!i.some(Ve)}var hK=x.toFlatObject(x,{},null,function(n){return/^is[A-Z]/.test(n)});function zK(i,n,c){if(!x.isObject(i))throw TypeError("target must be an object");n=n||new(kp||FormData),c=x.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,K){return!x.isUndefined(K[_])});let a=c.metaTokens,p=c.visitor||v,s=c.dots,u=c.indexes,e=c.Blob||typeof Blob<"u"&&Blob,o=c.maxDepth===void 0?Ce:c.maxDepth,t=e&&x.isSpecCompliantForm(n),m=[];if(!x.isFunction(p))throw TypeError("visitor must be a function");function d(w){if(w===null)return"";if(x.isDate(w))return w.toISOString();if(x.isBoolean(w))return w.toString();if(!t&&x.isBlob(w))throw new q("Blob is not supported. Use a Buffer instead.");if(x.isArrayBuffer(w)||x.isTypedArray(w)){if(t&&typeof e==="function")return new e([w]);if(is&&is.isBufferAvailable())return is.from(w);throw new q("Blob is not supported. Use a Buffer instead.",q.ERR_NOT_SUPPORT)}return w}function l(w){if(w>o)throw new q("Object is too deeply nested ("+w+" levels). Max depth: "+o,q.ERR_FORM_DATA_DEPTH_EXCEEDED)}function f(w,_){if(o===1/0)return JSON.stringify(w);let K=[];return JSON.stringify(w,function(P,S){if(!x.isObject(S))return S;while(K.length&&K[K.length-1]!==this)K.pop();return K.push(S),l(_+K.length-1),S})}function v(w,_,K){let G=w;if(x.isReactNative(n)&&x.isReactNativeBlob(w))return n.append(Me(K,_,s),d(w)),!1;if(w&&!K&&typeof w==="object"){if(x.endsWith(_,"{}"))_=a?_:_.slice(0,-2),w=f(w,1);else if(x.isArray(w)&&$K(w)||(x.isFileList(w)||x.endsWith(_,"[]"))&&(G=x.toArray(w)))return _=fr(_),G.forEach(function(S,oi){!(x.isUndefined(S)||S===null)&&n.append(u===!0?Me([_],oi,s):u===null?_:_+"[]",d(S))}),!1}if(Ve(w))return!0;return n.append(Me(K,_,s),d(w)),!1}let b=Object.assign(hK,{defaultVisitor:v,convertValue:d,isVisitable:Ve});function W(w,_,K=0){if(x.isUndefined(w))return;if(l(K),m.indexOf(w)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(w),x.forEach(w,function(P,S){if((!(x.isUndefined(P)||P===null)&&p.call(n,P,x.isString(S)?S.trim():S,_,b))===!0)W(P,_?_.concat(S):[S],K+1)}),m.pop()}if(!x.isObject(i))throw TypeError("data must be an object");return W(i),n}var Vn=zK;function vr(i){let n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(i).replace(/[!'()~]|%20/g,function(a){return n[a]})}function wr(i,n){this._pairs=[],i&&Vn(i,this,n)}var br=wr.prototype;br.append=function(n,c){this._pairs.push([n,c])};br.toString=function(n){let c=n?(a)=>n.call(this,a,vr):vr;return this._pairs.map(function(p){return c(p[0])+"="+c(p[1])},"").join("&")};var Wr=wr;function ZK(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function sc(i,n,c){if(!n)return i;i=i||"";let a=x.isFunction(c)?{serialize:c}:c,p=x.getSafeProp(a,"encode")||ZK,s=x.getSafeProp(a,"serialize"),u;if(s)u=s(n,a);else u=x.isURLSearchParams(n)?n.toString():new Wr(n,a).toString(p);if(u){let e=i.indexOf("#");if(e!==-1)i=i.slice(0,e);i+=(i.indexOf("?")===-1?"?":"&")+u}return i}class qr{constructor(){this.handlers=[]}use(i,n,c){return this.handlers.push({fulfilled:i,rejected:n,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(i){if(this.handlers[i])this.handlers[i]=null}clear(){if(this.handlers)this.handlers=[]}forEach(i){x.forEach(this.handlers,function(c){if(c!==null)i(c)})}}var Oe=qr;var Cn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var $r=k(require("crypto"));var Kr=k(require("url")),_r=Kr.default.URLSearchParams;var Ae="abcdefghijklmnopqrstuvwxyz",Jr="0123456789",hr={DIGIT:Jr,ALPHA:Ae,ALPHA_DIGIT:Ae+Ae.toUpperCase()+Jr},GK=(i=16,n=hr.ALPHA_DIGIT)=>{let c="",{length:a}=n,p=new Uint32Array(i);$r.default.randomFillSync(p);for(let s=0;s<i;s++)c+=n[p[s]%a];return c},zr={isNode:!0,classes:{URLSearchParams:_r,FormData:kp,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:hr,generateString:GK,protocols:["http","https","file","data"]};var ye={};te(ye,{origin:()=>SK,navigator:()=>Ne,hasStandardBrowserWebWorkerEnv:()=>XK,hasStandardBrowserEnv:()=>YK,hasBrowserEnv:()=>Ee});var Ee=typeof window<"u"&&typeof document<"u",Ne=typeof navigator==="object"&&navigator||void 0,YK=Ee&&(!Ne||["ReactNative","NativeScript","NS"].indexOf(Ne.product)<0),XK=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),SK=Ee&&window.location.href||"http://localhost";var E={...ye,...zr};function Re(i,n){return Vn(i,new E.classes.URLSearchParams,{visitor:function(c,a,p,s){if(E.isNode&&x.isBuffer(c))return this.append(a,c.toString("base64")),!1;return s.defaultVisitor.apply(this,arguments)},...n})}var Zr=Ce;function Gr(i){if(i>Zr)throw new q("FormData field is too deeply nested ("+i+" levels). Max depth: "+Zr,q.ERR_FORM_DATA_DEPTH_EXCEEDED)}function IK(i){let n=[],c=/[^.[\]]+|\[([^.[\]]*)]/g,a;while((a=c.exec(i))!==null)Gr(n.length),n.push(a[0]==="[]"?"":a[1]||a[0]);return n}function PK(i){let n={},c=Object.keys(i),a,p=c.length,s;for(a=0;a<p;a++)s=c[a],n[s]=i[s];return n}function HK(i){function n(c,a,p,s){Gr(s);let u=c[s++];if(u==="__proto__")return!0;let e=Number.isFinite(+u),o=s>=c.length;if(u=!u&&x.isArray(p)?p.length:u,o){if(x.hasOwnProp(p,u))p[u]=x.isArray(p[u])?p[u].concat(a):[p[u],a];else p[u]=a;return!e}if(!x.hasOwnProp(p,u)||!x.isObject(p[u]))p[u]=[];if(n(c,a,p[u],s)&&x.isArray(p[u]))p[u]=PK(p[u]);return!e}if(x.isFormData(i)&&x.isFunction(i.entries)){let c={};return x.forEachEntry(i,(a,p)=>{n(IK(a),p,c,0)}),c}return null}var ns=HK;var Cc=(i,n)=>i!=null&&x.hasOwnProp(i,n)?i[n]:void 0;function MK(i,n,c){if(x.isString(i))try{return(n||JSON.parse)(i),x.trim(i)}catch(a){if(a.name!=="SyntaxError")throw a}return(c||JSON.stringify)(i)}var je={transitional:Cn,adapter:["xhr","http","fetch"],transformRequest:[function(n,c){let a=c.getContentType()||"",p=a.indexOf("application/json")>-1,s=x.isObject(n);if(s&&x.isHTMLForm(n))n=new FormData(n);if(x.isFormData(n))return p?JSON.stringify(ns(n)):n;if(x.isArrayBuffer(n)||x.isBuffer(n)||x.isStream(n)||x.isFile(n)||x.isBlob(n)||x.isReadableStream(n))return n;if(x.isArrayBufferView(n))return n.buffer;if(x.isURLSearchParams(n))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let e;if(s){let o=Cc(this,"formSerializer");if(a.indexOf("application/x-www-form-urlencoded")>-1)return Re(n,o).toString();if((e=x.isFileList(n))||a.indexOf("multipart/form-data")>-1){let t=Cc(this,"env"),m=t&&t.FormData;return Vn(e?{"files[]":n}:n,m&&new m,o)}}if(s||p)return c.setContentType("application/json",!1),MK(n);return n}],transformResponse:[function(n){let c=Cc(this,"transitional")||je.transitional,a=c&&c.forcedJSONParsing,p=Cc(this,"responseType"),s=p==="json";if(x.isResponse(n)||x.isReadableStream(n))return n;if(n&&x.isString(n)&&(a&&!p||s)){let e=!(c&&c.silentJSONParsing)&&s;try{return JSON.parse(n,Cc(this,"parseReviver"))}catch(o){if(e){if(o.name==="SyntaxError")throw q.from(o,q.ERR_BAD_RESPONSE,this,null,Cc(this,"response"));throw o}}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:E.classes.FormData,Blob:E.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch","query"],(i)=>{je.headers[i]={}});var Oc=je;function Aa(i,n){let c=this||Oc,a=n||c,p=j.from(a.headers),s=a.data;return x.forEach(i,function(e){s=e.call(c,s,p.normalize(),n?n.status:void 0)}),p.normalize(),s}function Na(i){return!!(i&&i.__CANCEL__)}class Yr extends q{constructor(i,n,c){super(i==null?"canceled":i,q.ERR_CANCELED,n,c);this.name="CanceledError",this.__CANCEL__=!0}}var Ai=Yr;function vn(i,n,c){let a=c.config.validateStatus;if(!c.status||!a||a(c.status))i(c);else n(new q("Request failed with status code "+c.status,c.status>=400&&c.status<500?q.ERR_BAD_REQUEST:q.ERR_BAD_RESPONSE,c.config,c.request,c))}function Te(i){if(typeof i!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function De(i,n){if(!n)return i;let c=i.length;while(c>0&&i.charCodeAt(c-1)===47)c--;return i.slice(0,c)+"/"+n.replace(/^\/+/,"")}var VK=/^https?:(?!\/\/)/i,CK=/[\t\n\r]/g;function OK(i){let n=0;while(n<i.length&&i.charCodeAt(n)<=32)n++;return i.slice(n)}function AK(i){return OK(i).replace(CK,"")}function NK(i){if(!i)return i;return i.replace(/(^|&)([^=&]*=)?[^&]+/g,(n,c,a="")=>{return`${c}${a}${Ha}`})}function EK(i){let n=i.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Ha}@`),c=n.indexOf("#"),p=(c===-1?n:n.slice(0,c)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Ha}`);if(c===-1)return p;return`${p}#${NK(n.slice(c+1))}`}function Xr(i,n){if(typeof i==="string"){let c=AK(i);if(VK.test(c))throw new q(`Invalid URL ${JSON.stringify(EK(c))}: missing "//" after protocol`,q.ERR_INVALID_URL,n)}}function uc(i,n,c,a){Xr(n,a);let p=!Te(n);if(i&&(p||c===!1))return Xr(i,a),De(i,n);return n}var yK={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function RK(i){try{return new URL(i)}catch{return null}}function Sr(i){var n=(typeof i==="string"?RK(i):i)||{},c=n.protocol,a=n.host,p=n.port;if(typeof a!=="string"||!a||typeof c!=="string")return"";if(c=c.split(":",1)[0],a=a.replace(/:\d*$/,""),p=parseInt(p)||yK[c]||0,!jK(a,p))return"";var s=Le(c+"_proxy")||Le("all_proxy");if(s&&s.indexOf("://")===-1)s=c+"://"+s;return s}function jK(i,n){var c=Le("no_proxy").toLowerCase();if(!c)return!0;if(c==="*")return!1;return c.split(/[,\s]/).every(function(a){if(!a)return!0;var p=a.match(/^(.+):(\d+)$/),s=p?p[1]:a,u=p?parseInt(p[2]):0;if(u&&u!==n)return!0;if(!/^[.*]/.test(s))return i!==s;if(s.charAt(0)==="*")s=s.slice(1);return!i.endsWith(s)})}function Le(i){return process.env[i.toLowerCase()]||process.env[i.toUpperCase()]||""}var zo=k(gr(),1),Zo=k(require("http")),Go=k(require("https")),Al=k(require("http2")),Nl=k(require("util")),ho=require("path"),El=k(al(),1),Ni=k(require("zlib"));var Zn="1.19.0";function Fa(i){let n=/^([-+\w]{1,25}):(?:\/\/)?/.exec(i);return n&&n[1]||""}var F_=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function bo(i,n,c){let a=c&&c.Blob||E.classes.Blob,p=Fa(i);if(n===void 0&&a)n=!0;if(p==="data"){i=p.length?i.slice(p.length+1):i;let s=F_.exec(i);if(!s)throw new q("Invalid URL",q.ERR_INVALID_URL);let u=s[1],e=s[2],o=s[3]?"base64":"utf8",t=s[4],m="";if(u)m=e?u+e:u;else if(e)m="text/plain"+e;let d=o==="base64"?Buffer.from(t,"base64"):Buffer.from(decodeURIComponent(t),o);if(n){if(!a)throw new q("Blob is not supported",q.ERR_NOT_SUPPORT);return new a([d],{type:m})}return d}throw new q("Unsupported protocol "+p,q.ERR_NOT_SUPPORT)}var Ti=k(require("stream"));var g_=["content-type","content-length"];function ga(i,n,c){if(c!=="content-only"){i.set(n);return}Object.entries(n||{}).forEach(([a,p])=>{if(g_.includes(a.toLowerCase()))i.set(a,p)})}var pl=k(require("stream"));var Wo=Symbol("internals");class sl extends pl.default.Transform{constructor(i){i=x.toFlatObject(i,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(c,a)=>{return!x.isUndefined(a[c])});super({readableHighWaterMark:i.chunkSize});let n=this[Wo]={timeWindow:i.timeWindow,chunkSize:i.chunkSize,maxRate:i.maxRate,minChunkSize:i.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(c)=>{if(c==="progress"){if(!n.isCaptured)n.isCaptured=!0}})}_read(i){let n=this[Wo];if(n.onReadCallback)n.onReadCallback();return super._read(i)}_transform(i,n,c){let a=this[Wo],p=a.maxRate,s=this.readableHighWaterMark,u=a.timeWindow,e=1000/u,o=p/e,t=a.minChunkSize!==!1?Math.max(a.minChunkSize,o*0.01):0,m=(l,f)=>{let v=Buffer.byteLength(l);if(a.bytesSeen+=v,a.bytes+=v,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(l))process.nextTick(f);else a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(f)}},d=(l,f)=>{let v=Buffer.byteLength(l),b=null,W=s,w,_=0;if(p){let K=Date.now();if(!a.ts||(_=K-a.ts)>=u)a.ts=K,w=o-a.bytes,a.bytes=w<0?-w:0,_=0;w=o-a.bytes}if(p){if(w<=0)return setTimeout(()=>{f(null,l)},u-_);if(w<W)W=w}if(W&&v>W&&v-W>t)b=l.subarray(W),l=l.subarray(0,W);m(l,b?()=>{process.nextTick(f,null,b)}:f)};d(i,function l(f,v){if(f)return c(f);if(v)d(v,l);else c(null)})}}var qo=sl;var yl=require("events");var el=k(require("util")),ol=require("stream");var{asyncIterator:ul}=Symbol,U_=async function*(i){if(i.stream)yield*i.stream();else if(i.arrayBuffer)yield await i.arrayBuffer();else if(i[ul])yield*i[ul]();else yield i},ts=U_;var Q_=E.ALPHABET.ALPHA_DIGIT+"-_",Ua=typeof TextEncoder==="function"?new TextEncoder:new el.default.TextEncoder,dc=`\r
28
- `,k_=Ua.encode(dc),iJ=2;class tl{constructor(i,n){let{escapeName:c}=this.constructor,a=x.isString(n),p=`Content-Disposition: form-data; name="${c(i)}"${!a&&n.name?`; filename="${c(n.name)}"`:""}${dc}`;if(a)n=Ua.encode(String(n).replace(/\r?\n|\r\n?/g,dc));else{let s=String(n.type||"application/octet-stream").replace(/[\r\n]/g,"");p+=`Content-Type: ${s}${dc}`}this.headers=Ua.encode(p+dc),this.contentLength=a?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+iJ,this.name=i,this.value=n}async*encode(){yield this.headers;let{value:i}=this;if(x.isTypedArray(i))yield i;else yield*ts(i);yield k_}static escapeName(i){return String(i).replace(/[\r\n"]/g,(n)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}}var nJ=(i,n,c)=>{let{tag:a="form-data-boundary",size:p=25,boundary:s=a+"-"+E.generateString(p,Q_)}=c||{};if(!x.isFormData(i))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 1-70 characters long");let u=Ua.encode("--"+s+dc),e=Ua.encode("--"+s+"--"+dc),o=e.byteLength,t=Array.from(i.entries()).map(([d,l])=>{let f=new tl(d,l);return o+=f.size,f});o+=u.byteLength*t.length,o=x.toFiniteNumber(o);let m={"Content-Type":`multipart/form-data; boundary=${s}`};if(Number.isFinite(o))m["Content-Length"]=o;return n&&n(m),ol.Readable.from(async function*(){for(let d of t)yield u,yield*d.encode();yield e}())},ml=nJ;var dl=k(require("stream"));class xl extends dl.default.Transform{__transform(i,n,c){this.push(i),c()}_transform(i,n,c){if(i.length!==0){if(this._transform=this.__transform,i[0]!==120){let a=Buffer.alloc(2);a[0]=120,a[1]=156,this.push(a,n)}}this.__transform(i,n,c)}}var rl=xl;var ll=k(require("http2")),fl=k(require("util"));class vl{constructor(){this.sessions=Object.create(null)}getSession(i,n){n=Object.assign({sessionTimeout:1000},n);let c=this.sessions[i];if(c){let m=c.length;for(let d=0;d<m;d++){let[l,f]=c[d];if(!l.destroyed&&!l.closed&&fl.default.isDeepStrictEqual(f,n))return l}}let a=ll.default.connect(i,n),p,s,u=()=>{if(p)return;if(p=!0,s)clearTimeout(s),s=null;let m=c,d=m.length,l=d;while(l--)if(m[l][0]===a){if(d===1)delete this.sessions[i];else m.splice(l,1);if(!a.closed)a.close();return}},e=a.request,{sessionTimeout:o}=n;if(o!=null){let m=0;a.request=function(){let d=e.apply(this,arguments);if(m++,s)clearTimeout(s),s=null;return d.once("close",()=>{if(!--m)s=setTimeout(()=>{s=null,u()},o)}),d}}a.once("close",u);let t=[a,n];return c?c.push(t):c=this.sessions[i]=[t],a}}var wl=vl;var cJ=(i,n)=>{return x.isAsyncFn(i)?function(...c){let a=c.pop();i.apply(this,c).then((p)=>{try{n?a(null,...n(p)):a(null,p)}catch(s){a(s)}},a)}:i},bl=cJ;var aJ=new Set(["localhost","0.0.0.0"]),Kl=(i)=>{let n=i.split(".");if(n.length!==4)return!1;if(n[0]!=="127")return!1;return n.every((c)=>/^\d+$/.test(c)&&Number(c)>=0&&Number(c)<=255)},Ko=(i)=>{if(/^0[xX][0-9a-fA-F]+$/.test(i)){let n=parseInt(i.slice(2),16);return Number.isFinite(n)?n:null}if(i.length>1&&/^0[0-7]+$/.test(i)){let n=parseInt(i,8);return Number.isFinite(n)?n:null}if(i.length>1&&/^0[0-9]+$/.test(i))return null;if(/^[0-9]+$/.test(i)){let n=parseInt(i,10);return Number.isFinite(n)?n:null}return null},pJ=(i)=>{if(typeof i!=="string"||!i||i.indexOf(":")!==-1)return i;let n=i;if(n.charAt(0)==="["&&n.charAt(n.length-1)==="]")n=n.slice(1,-1);if(n=n.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(n))return i;let c=n.split(".");if(c.some((m)=>m===""))return i;if(c.length===4){let m=c.map(Ko);if(m.some((d)=>d===null||d<0||d>255))return i;return m.join(".")}if(c.length>4)return i;if(c.length===1)return i;let a=c.slice(0,-1),p=c[c.length-1],s=4-a.length,u=Ko(p);if(u===null)return i;let e=(1<<8*s)-1;if(u<0||u>e)return i;let o=Array(s).fill(0);for(let m=s-1,d=u;m>=0;m--,d>>=8)o[m]=d&255;let t=a.map(Ko);if(t.some((m)=>m===null||m<0||m>255))return i;return[...t,...o].join(".")},_o=(i)=>/^0{1,4}$/.test(i),sJ=(i)=>{if(i==="::")return!0;let n=i.indexOf("::");if(n!==-1){if(n!==i.lastIndexOf("::"))return!1;let a=i.slice(0,n),p=i.slice(n+2),s=a?a.split(":"):[],u=p?p.split(":"):[];return s.length+u.length<8&&s.every(_o)&&u.every(_o)}let c=i.split(":");return c.length===8&&c.every(_o)},uJ=(i)=>{if(i==="::1")return!0;let n=i.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(n)return Kl(n[1]);let c=i.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(c){let p=parseInt(c[1],16);return p>=32512&&p<=32767}let a=i.split(":");if(a.length===8){for(let p=0;p<7;p++)if(!/^0+$/.test(a[p]))return!1;return/^0*1$/.test(a[7])}return!1},Wl=(i)=>{if(!i)return!1;if(aJ.has(i))return!0;if(Kl(i))return!0;if(sJ(i))return!0;return uJ(i)},eJ={http:80,https:443,ws:80,wss:443,ftp:21},oJ=(i)=>{let n=i,c=0;if(n.charAt(0)==="["){let s=n.indexOf("]");if(s!==-1){let u=n.slice(1,s),e=n.slice(s+1);if(e.charAt(0)===":"&&/^\d+$/.test(e.slice(1)))c=Number.parseInt(e.slice(1),10);return[u,c]}}let a=n.indexOf(":"),p=n.lastIndexOf(":");if(a!==-1&&a===p&&/^\d+$/.test(n.slice(p+1)))c=Number.parseInt(n.slice(p+1),10),n=n.slice(0,p);return[n,c]},tJ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,mJ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,dJ=(i)=>{if(typeof i!=="string"||i.indexOf(":")===-1)return i;let n=i.match(tJ);if(n)return n[1];let c=i.match(mJ);if(c){let a=parseInt(c[1],16),p=parseInt(c[2],16);return`${a>>8}.${a&255}.${p>>8}.${p&255}`}return i},ql=(i)=>{if(!i)return i;if(i.charAt(0)==="["&&i.charAt(i.length-1)==="]")i=i.slice(1,-1);let n=i.replace(/\.+$/,""),c=pJ(n);if(c!==n)return c;return dJ(n)};function Jo(i){let n;try{n=new URL(i)}catch(s){return!1}let c=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!c)return!1;if(c==="*")return!0;let a=Number.parseInt(n.port,10)||eJ[n.protocol.split(":",1)[0]]||0,p=ql(n.hostname.toLowerCase());return c.split(/[\s,]+/).some((s)=>{if(!s)return!1;if(s==="*")return!0;let[u,e]=oJ(s);if(u=ql(u),!u)return!1;if(e&&e!==a)return!1;if(u.charAt(0)==="*")u=u.slice(1);if(u.charAt(0)===".")return p.endsWith(u);return p===u||Wl(p)&&Wl(u)})}function xJ(i,n){i=i||10;let c=Array(i),a=Array(i),p=0,s=0,u;return n=n!==void 0?n:1000,function(o){let t=Date.now(),m=a[s];if(!u)u=t;c[p]=o,a[p]=t;let d=s,l=0;while(d!==p)l+=c[d++],d=d%i;if(p=(p+1)%i,p===s)s=(s+1)%i;if(t-u<n)return;let f=m&&t-m;return f?Math.round(l*1000/f):void 0}}var _l=xJ;function rJ(i,n){let c=0,a=1000/n,p,s,u=(t,m=Date.now())=>{if(c=m,p=null,s)clearTimeout(s),s=null;i(...t)};return[(...t)=>{let m=Date.now(),d=m-c;if(d>=a)u(t,m);else if(p=t,!s)s=setTimeout(()=>{s=null,u(p)},a-d)},()=>p&&u(p)]}var Jl=rJ;var Gn=(i,n,c=3)=>{let a=0,p=_l(50,250);return Jl((s)=>{if(!s||typeof s.loaded!=="number")return;let u=s.loaded,e=s.lengthComputable?s.total:void 0,o=Math.max(0,e!=null?Math.min(u,e):u),t=Math.max(0,o-a),m=p(t);a=Math.max(a,o);let d={loaded:o,total:e,progress:e?o/e:void 0,bytes:t,rate:m?m:void 0,estimated:m&&e?(e-o)/m:void 0,event:s,lengthComputable:e!=null,[n?"download":"upload"]:!0};i(d)},c)},Rc=(i,n)=>{let c=i!=null;return[(a)=>n[0]({lengthComputable:c,total:i,loaded:a}),n[1]]},jc=(i,n=x.asap)=>(...c)=>n(()=>i(...c));var $l=(i)=>i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102,zl=(i,n,c)=>n+2<c&&$l(i.charCodeAt(n+1))&&$l(i.charCodeAt(n+2)),hl=(i)=>i<=57?i-48:(i&223)-55,lJ=(i)=>i>=65&&i<=90||i>=97&&i<=122||i>=48&&i<=57||i===43||i===47||i===45||i===95,fJ=(i)=>i===9||i===10||i===12||i===13||i===32,vJ=(i)=>{let n=Math.floor(i/4),c=i%4;return n*3+(c===2?1:c===3?2:0)},Zl=(i)=>{let n=i.length,c=0;if(n>0&&i.charCodeAt(n-1)===61){if(c++,n>1&&i.charCodeAt(n-2)===61)c++}return Math.floor((n-c)*3/4)},wJ=(i)=>{let n=i.length,c=0,a=0,p=!1;for(let s=0;s<n;s++){let u=i.charCodeAt(s);if(u===37&&zl(i,s,n))u=hl(i.charCodeAt(s+1))*16+hl(i.charCodeAt(s+2)),s+=2;if(fJ(u))continue;if(u===61){a++;continue}if(!lJ(u)||a>0){p=!0;continue}c++}if(p||a>2||a>0&&(c+a)%4!==0||c%4===1)return Zl(i);return vJ(c)},Gl=(i,n)=>{if(!i||typeof i!=="string")return 0;if(!i.startsWith("data:"))return 0;let c=i.indexOf(",");if(c<0)return 0;let a=i.slice(5,c),p=i.slice(c+1);if(/;base64/i.test(a))return n(p);let u=0;for(let e=0,o=p.length;e<o;e++){let t=p.charCodeAt(e);if(t===37&&zl(p,e,o))u+=1,e+=2;else if(t<128)u+=1;else if(t<2048)u+=2;else if(t>=55296&&t<=56319&&e+1<o){let m=p.charCodeAt(e+1);if(m>=56320&&m<=57343)u+=4,e++;else u+=3}else u+=3}return u};function $o(i){let n=typeof i==="string"?i.indexOf("#"):-1;return Gl(n===-1?i:i.slice(0,n),wJ)}function Yl(i){return Gl(i,Zl)}var Xl={flush:Ni.default.constants.Z_SYNC_FLUSH,finishFlush:Ni.default.constants.Z_SYNC_FLUSH},bJ={flush:Ni.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ni.default.constants.BROTLI_OPERATION_FLUSH},WJ={flush:Ni.default.constants.ZSTD_e_flush,finishFlush:Ni.default.constants.ZSTD_e_flush},Rl=x.isFunction(Ni.default.createBrotliDecompress),jl=x.isFunction(Ni.default.createZstdDecompress),Tl="gzip, compress, deflate"+(Rl?", br":""),qJ=Tl+(jl?", zstd":""),Sl=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):x.asap,{http:KJ,https:_J}=El.default,Yo=/https:?/,Il=Symbol("axios.http.socketListener"),ms=Symbol("axios.http.currentReq"),Dl=Symbol("axios.http.installedTunnel"),JJ=new Map,Pl=new WeakMap,Hl={22:21,24:5};function $J(i=process.versions&&process.versions.node){if(!i)return!1;let[n,c]=i.split(".").map((a)=>Number(a));if(!Number.isInteger(n)||!Number.isInteger(c))return!1;if(n>24)return!0;return Hl[n]!=null&&c>=Hl[n]}function hJ(i,n=process.versions&&process.versions.node){if(!$J(n))return!1;let c=i&&i.options;return Boolean(c&&x.hasOwnProp(c,"proxyEnv")&&c.proxyEnv!=null)}function zJ(i,n,c){return Yo.test(i.protocol)?c||Go.default.globalAgent:n||Zo.default.globalAgent}function ZJ(i,n){let c=i.protocol+"//"+i.hostname+":"+(i.port||"")+"#"+(i.auth||""),a=n?Pl.get(n)||Pl.set(n,new Map).get(n):JJ,p=a.get(c);if(p)return p;let s=n&&n.options?{...n.options,...i}:i;if(p=new zo.default(s),n&&n.options){let u={...n.options},e=p.callback;p.callback=function(t,m){return e.call(this,t,{...u,...m})}}return p[Dl]=!0,a.set(c,p),p}var Ml=E.protocols.map((i)=>{return i+":"}),Vl=(i)=>{if(!x.isString(i))return i;try{return decodeURIComponent(i)}catch(n){return i}},Cl=(i,[n,c])=>{return i.on("end",c).on("error",c),n},GJ=new wl;function YJ(i,n,c){if(i.beforeRedirects.proxy)i.beforeRedirects.proxy(i);if(i.beforeRedirects.auth)i.beforeRedirects.auth(i);if(i.beforeRedirects.sensitiveHeaders)i.beforeRedirects.sensitiveHeaders(i,c);if(i.beforeRedirects.config)i.beforeRedirects.config(i,n,c)}function XJ(i,n){if(!i)return;Object.keys(i).forEach((c)=>{if(n.has(c.toLowerCase()))delete i[c]})}function SJ(i,n){if(!n)return!1;try{return new URL(n.url).origin===new URL(i.href).origin}catch(c){return!1}}function Ll(i,n,c,a,p,s){let u=n,e=zJ(i,s,p);if(!u&&u!==!1&&!hJ(e)){let o=Sr(c);if(o){if(!Jo(c))u=new URL(o)}}if(a&&i.headers){for(let o of Object.keys(i.headers))if(o.toLowerCase()==="proxy-authorization")delete i.headers[o]}if(a&&i.agent&&i.agent[Dl])i.agent=void 0;if(u){let o=u instanceof URL,t=(v)=>o||x.hasOwnProp(u,v)?u[v]:void 0,m=t("username"),d=t("password"),l=x.hasOwnProp(u,"auth")?u.auth:void 0;if(m)l=(m||"")+":"+(d||"");if(l){let v=typeof l==="object",b=v&&x.hasOwnProp(l,"username")?l.username:void 0,W=v&&x.hasOwnProp(l,"password")?l.password:void 0;if(Boolean(b||W))l=(b||"")+":"+(W||"");else if(v)throw new q("Invalid proxy authorization",q.ERR_BAD_OPTION,{proxy:u})}if(Yo.test(i.protocol)){if(!(p instanceof zo.default)){let v=t("hostname")||t("host"),b=t("port"),W=t("protocol"),w=W?W.includes(":")?W:`${W}:`:"http:",_=v&&v.includes(":")&&!v.startsWith("[")?`[${v}]`:v,K=new URL(`${w}//${_}${b?":"+b:""}`),G={protocol:K.protocol,hostname:K.hostname.replace(/^\[|\]$/g,""),port:K.port,auth:l&&typeof l==="string"?l:void 0};if(K.protocol==="https:")G.ALPNProtocols=["http/1.1"];let P=ZJ(G,p);if(i.agent=P,i.agents)i.agents.https=P}}else{if(l){let w=Buffer.from(l,"utf8").toString("base64");i.headers["Proxy-Authorization"]="Basic "+w}let v=!1;for(let w of Object.keys(i.headers))if(w.toLowerCase()==="host"){v=!0;break}if(!v)i.headers.host=i.hostname+(i.port?":"+i.port:"");let b=t("hostname")||t("host");i.hostname=b,i.host=b,i.port=t("port"),i.path=c;let W=t("protocol");if(W)i.protocol=W.includes(":")?W:`${W}:`}}i.beforeRedirects.proxy=function(t){Ll(t,n,t.href,!0,p,s)}}var IJ=typeof process<"u"&&x.kindOf(process)==="process",PJ=(i)=>{return new Promise((n,c)=>{let a,p,s=(o,t)=>{if(p)return;p=!0,a&&a(o,t)},u=(o)=>{s(o),n(o)},e=(o)=>{s(o,!0),c(o)};i(u,e,(o)=>a=o).catch(e)})},HJ=({address:i,family:n})=>{if(!x.isString(i))throw TypeError("address must be a string");return{address:i,family:n||(i.indexOf(".")<0?6:4)}},Ol=(i,n)=>HJ(x.isObject(i)?i:{address:i,family:n}),MJ={request(i,n){let c=i.protocol+"//"+i.hostname+":"+(i.port||(i.protocol==="https:"?443:80)),{http2Options:a,headers:p}=i,s=GJ.getSession(c,a),{HTTP2_HEADER_SCHEME:u,HTTP2_HEADER_METHOD:e,HTTP2_HEADER_PATH:o,HTTP2_HEADER_STATUS:t}=Al.default.constants,m={[u]:i.protocol.replace(":",""),[e]:i.method,[o]:i.path};x.forEach(p,(l,f)=>{f.charAt(0)!==":"&&(m[f]=l)});let d=s.request(m);return d.once("response",(l)=>{let f=d;l=Object.assign({},l);let v=l[t];delete l[t],f.headers=l,f.statusCode=+v,n(f)}),d}},Bl=IJ&&function(n){return PJ(async function(a,p,s){let u=(Z)=>x.getSafeProp(n,Z),e=u("transitional")||Cn,o=u("data"),t=u("lookup"),m=u("family"),d=u("httpVersion");if(d===void 0)d=1;let l=u("http2Options"),f=u("httpAgent"),v=u("httpsAgent"),b=u("proxy"),W=u("responseType"),w=u("responseEncoding"),_=u("socketPath"),K=u("method").toUpperCase(),G=u("maxRedirects"),P=u("maxBodyLength"),S=u("maxContentLength"),oi=u("decompress"),Si,Oi=!1,V,di;if(d=+d,Number.isNaN(d))throw TypeError(`Invalid protocol version: '${n.httpVersion}' is not a number`);if(d!==1&&d!==2)throw TypeError(`Unsupported protocol version '${d}'`);let an=d===2;if(t){let Z=bl(t,($)=>x.isArray($)?$:[$]);t=($,C,Q)=>{Z($,C,(H,xi,Zi)=>{if(H)return Q(H);let pi=x.isArray(xi)?xi.map((Gc)=>Ol(Gc)):[Ol(xi,Zi)];C.all?Q(H,pi):Q(H,pi[0].address,pi[0].family)})}}let rn=new yl.EventEmitter;function si(Z){try{rn.emit("abort",!Z||Z.type?new Ai(null,n,V):Z)}catch($){}}function hn(){if(di)clearTimeout(di),di=null}function Qn(){let Z=u("timeout"),$=Z?"timeout of "+Z+"ms exceeded":"timeout exceeded",C=u("timeoutErrorMessage");if(C)$=C;return new q($,e.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,n,V)}rn.once("abort",p);let kn=()=>{if(hn(),n.cancelToken)n.cancelToken.unsubscribe(si);if(n.signal)n.signal.removeEventListener("abort",si);rn.removeAllListeners()};if(n.cancelToken||n.signal){if(n.cancelToken&&n.cancelToken.subscribe(si),n.signal)n.signal.aborted?si():n.signal.addEventListener("abort",si)}s((Z,$)=>{if(Si=!0,hn(),$){Oi=!0,kn();return}let{data:C}=Z;if(C instanceof Ti.default.Readable||C instanceof Ti.default.Duplex){let Q=Ti.default.finished(C,()=>{Q(),kn()})}else kn()});let Cp=uc(u("baseURL"),u("url"),u("allowAbsoluteUrls"),n),Op=_?"http://localhost":E.hasBrowserEnv?E.origin:void 0,F=new URL(Cp,Op),U=F.protocol||Ml[0];if(U==="data:"){if(S>-1){let $=String(u("url")||Cp||"");if(Yl($)>S)return p(new q("maxContentLength size of "+S+" exceeded",q.ERR_BAD_RESPONSE,n))}let Z;if(K!=="GET")return vn(a,p,{status:405,statusText:"method not allowed",headers:{},config:n});try{Z=bo(u("url"),W==="blob",{Blob:n.env&&n.env.Blob})}catch($){throw q.from($,q.ERR_BAD_REQUEST,n)}if(W==="text"){if(Z=Z.toString(w),!w||w==="utf8")Z=x.stripBOM(Z)}else if(W==="stream")Z=Ti.default.Readable.from(Z);return vn(a,p,{data:Z,status:200,statusText:"OK",headers:new j,config:n})}if(Ml.indexOf(U)===-1)return p(new q("Unsupported protocol "+U,q.ERR_BAD_REQUEST,n));let ai=j.from(n.headers).normalize();ai.set("User-Agent","axios/"+Zn,!1);let{onUploadProgress:ln,onDownloadProgress:zn}=n,ic=n.maxRate,N=void 0,bi=void 0;if(x.isSpecCompliantForm(o)){let Z=ai.getContentType(/boundary=([-_\w\d]{10,70})/i);o=ml(o,($)=>{ai.set($)},{tag:`axios-${Zn}-boundary`,boundary:Z&&Z[1]||void 0})}else if(x.isFormData(o)&&x.isFunction(o.getHeaders)&&o.getHeaders!==Object.prototype.getHeaders){if(ga(ai,o.getHeaders(),u("formDataHeaderPolicy")),!ai.hasContentLength())try{let Z=await Nl.default.promisify(o.getLength).call(o);Number.isFinite(Z)&&Z>=0&&ai.setContentLength(Z)}catch(Z){}}else if(x.isBlob(o)||x.isFile(o))o.size&&ai.setContentType(o.type||"application/octet-stream"),ai.setContentLength(o.size||0),o=Ti.default.Readable.from(ts(o));else if(o&&!x.isStream(o)){if(Buffer.isBuffer(o));else if(x.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(x.isString(o))o=Buffer.from(o,"utf-8");else return p(new q("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",q.ERR_BAD_REQUEST,n));if(ai.setContentLength(o.length,!1),P>-1&&o.length>P)return p(new q("Request body larger than maxBodyLength limit",q.ERR_BAD_REQUEST,n))}let zc=x.toFiniteNumber(ai.getContentLength());if(x.isArray(ic))N=ic[0],bi=ic[1];else N=bi=ic;if(o&&(ln||N)){if(!x.isStream(o))o=Ti.default.Readable.from(o,{objectMode:!1});o=Ti.default.pipeline([o,new qo({maxRate:x.toFiniteNumber(N)})],x.noop),ln&&o.on("progress",Cl(o,Rc(zc,Gn(jc(ln,Sl),!1,3))))}let fn=void 0,$a=u("auth");if($a){let Z=x.getSafeProp($a,"username")||"",$=x.getSafeProp($a,"password")||"";fn=Z+":"+$}if(!fn&&(F.username||F.password)){let Z=Vl(F.username),$=Vl(F.password);fn=Z+":"+$}fn&&ai.delete("authorization");let ha;try{ha=sc(F.pathname+F.search,u("params"),u("paramsSerializer")).replace(/^\?/,"")}catch(Z){return p(q.from(Z,q.ERR_BAD_REQUEST,n,null,null,{url:u("url"),exists:!0}))}ai.set("Accept-Encoding",x.hasOwnProp(e,"advertiseZstdAcceptEncoding")&&e.advertiseZstdAcceptEncoding===!0?qJ:Tl,!1);let R=Object.assign(Object.create(null),{path:ha,method:K,headers:Ic(ai),agents:{http:f,https:v},auth:fn,protocol:U,family:m,beforeRedirect:YJ,beforeRedirects:Object.create(null),http2Options:l});if(!x.isUndefined(t)&&(R.lookup=t),_){if(typeof _!=="string")return p(new q("socketPath must be a string",q.ERR_BAD_OPTION_VALUE,n));let Z=u("allowedSocketPaths");if(Z!=null){let $=Array.isArray(Z)?Z:[Z],C=ho.resolve(_);if(!$.some((H)=>typeof H==="string"&&ho.resolve(H)===C))return p(new q(`socketPath "${_}" is not permitted by allowedSocketPaths`,q.ERR_BAD_OPTION_VALUE,n))}R.socketPath=_}else R.hostname=F.hostname.startsWith("[")?F.hostname.slice(1,-1):F.hostname,R.port=F.port,Ll(R,b,U+"//"+F.hostname+(F.port?":"+F.port:"")+R.path,!1,v,f);let Hn,Zc=!1,yi=!1,Y=Yo.test(R.protocol);if(R.agent==null)R.agent=Y?v:f;if(an)Hn=MJ;else{let Z=u("transport");if(Z)Hn=Z;else if(G===0)Hn=Y?Go.default:Zo.default,Zc=!0;else{if(yi=!0,R.sensitiveHeaders=[],G)R.maxRedirects=G;let $=u("beforeRedirect");if($)R.beforeRedirects.config=$;if(fn){let Q=F.origin,H=fn;R.beforeRedirects.auth=function(Zi){try{if(new URL(Zi.href).origin===Q)Zi.auth=H}catch(pi){}}}let C=u("sensitiveHeaders");if(C!=null){if(!x.isArray(C))return p(new q("sensitiveHeaders must be an array of strings",q.ERR_BAD_OPTION_VALUE,n));let Q=new Set;for(let H of C){if(!x.isString(H))return p(new q("sensitiveHeaders must be an array of strings",q.ERR_BAD_OPTION_VALUE,n));Q.add(H.toLowerCase())}if(Q.size)R.sensitiveHeaders=Array.from(Q),R.beforeRedirects.sensitiveHeaders=function(xi,Zi){if(!SJ(xi,Zi))XJ(xi.headers,Q)}}Hn=Y?_J:KJ}}if(P>-1)R.maxBodyLength=P;else R.maxBodyLength=1/0;R.insecureHTTPParser=Boolean(u("insecureHTTPParser")),V=Hn.request(R,function($){if(hn(),V.destroyed)return;let C=[$],Q=x.toFiniteNumber($.headers["content-length"]);if(zn||bi){let pi=new qo({maxRate:x.toFiniteNumber(bi)});zn&&pi.on("progress",Cl(pi,Rc(Q,Gn(jc(zn,Sl),!0,3)))),C.push(pi)}let H=$,xi=$.req||V;if(oi!==!1&&$.headers["content-encoding"]){if(K==="HEAD"||$.statusCode===204)delete $.headers["content-encoding"];switch(($.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":C.push(Ni.default.createUnzip(Xl)),delete $.headers["content-encoding"];break;case"deflate":C.push(new rl),C.push(Ni.default.createUnzip(Xl)),delete $.headers["content-encoding"];break;case"br":if(Rl)C.push(Ni.default.createBrotliDecompress(bJ)),delete $.headers["content-encoding"];break;case"zstd":if(jl)C.push(Ni.default.createZstdDecompress(WJ)),delete $.headers["content-encoding"];break}}H=C.length>1?Ti.default.pipeline(C,x.noop):C[0];let Zi={status:$.statusCode,statusText:$.statusMessage,headers:new j($.headers),config:n,request:xi};if(W==="stream"){if(S>-1){let pi=S,Gc=H;async function*za(){let ri=0;for await(let Td of Gc){if(ri+=Td.length,ri>pi)throw new q("maxContentLength size of "+pi+" exceeded",q.ERR_BAD_RESPONSE,n,xi);yield Td}}H=Ti.default.Readable.from(za(),{objectMode:!1})}Zi.data=H,vn(a,p,Zi)}else{let pi=[],Gc=0;H.on("data",function(ri){if(pi.push(ri),Gc+=ri.length,S>-1&&Gc>S)Oi=!0,H.destroy(),si(new q("maxContentLength size of "+S+" exceeded",q.ERR_BAD_RESPONSE,n,xi))}),H.on("aborted",function(){if(Oi)return;let ri=new q("stream has been aborted",q.ERR_BAD_RESPONSE,n,xi,Zi);H.destroy(ri),p(ri)}),H.on("error",function(ri){if(Oi)return;p(q.from(ri,null,n,xi,Zi))}),H.on("end",function(){try{let ri=pi.length===1?pi[0]:Buffer.concat(pi);if(W!=="arraybuffer"){if(ri=ri.toString(w),!w||w==="utf8")ri=x.stripBOM(ri)}Zi.data=ri}catch(ri){return p(q.from(ri,null,n,Zi.request,Zi))}vn(a,p,Zi)})}rn.once("abort",(pi)=>{if(!H.destroyed)H.emit("error",pi),H.destroy()})}),rn.once("abort",(Z)=>{if(V.close)V.close();else V.destroy(Z)}),V.on("error",function($){p(q.from($,null,n,V))});let Wi=new Set;if(V.on("socket",function($){if(typeof $.setKeepAlive==="function")$.setKeepAlive(!0,60000);if(!$[Il])$.on("error",function(Q){let H=$[ms];if(H&&!H.destroyed)H.destroy(Q)}),$[Il]=!0;$[ms]=V,Wi.add($)}),V.once("close",function(){hn();for(let $ of Wi)if($[ms]===V)$[ms]=null;Wi.clear()}),u("timeout")){let Z=parseInt(u("timeout"),10);if(Number.isNaN(Z)){si(new q("error trying to parse `config.timeout` to int",q.ERR_BAD_OPTION_VALUE,n,V));return}let $=function(){if(Si)return;si(Qn())};if(Zc&&Z>0)di=setTimeout($,Z);V.setTimeout(Z,$)}else V.setTimeout(0);if(x.isStream(o)){let Z=!1,$=!1;o.on("end",()=>{Z=!0}),o.once("error",(Q)=>{$=!0,V.destroy(Q)}),o.on("close",()=>{if(!Z&&!$)si(new Ai("Request stream has been aborted",n,V))});let C=o;if(P>-1&&!yi){let Q=P,H=0;C=Ti.default.pipeline([o,new Ti.default.Transform({transform(xi,Zi,pi){if(H+=xi.length,H>Q)return pi(new q("Request body larger than maxBodyLength limit",q.ERR_BAD_REQUEST,n,V));pi(null,xi)}})],x.noop),C.on("error",(xi)=>{if(!V.destroyed)V.destroy(xi)})}C.pipe(V)}else o&&V.write(o),V.end()})};var Fl=E.hasStandardBrowserEnv?((i,n)=>(c)=>{return c=new URL(c,E.origin),i.protocol===c.protocol&&i.host===c.host&&(n||i.port===c.port)})(new URL(E.origin),E.navigator&&/(msie|trident)/i.test(E.navigator.userAgent)):()=>!0;var gl=E.hasStandardBrowserEnv?{write(i,n,c,a,p,s,u){if(typeof document>"u")return;let e=[`${i}=${encodeURIComponent(n)}`];if(x.isNumber(c))e.push(`expires=${new Date(c).toUTCString()}`);if(x.isString(a))e.push(`path=${a}`);if(x.isString(p))e.push(`domain=${p}`);if(s===!0)e.push("secure");if(x.isString(u))e.push(`SameSite=${u}`);document.cookie=e.join("; ")},read(i){if(typeof document>"u")return null;let n=document.cookie.split(";");for(let c=0;c<n.length;c++){let a=n[c].replace(/^\s+/,""),p=a.indexOf("=");if(p!==-1&&a.slice(0,p)===i)try{return decodeURIComponent(a.slice(p+1))}catch(s){return a.slice(p+1)}}return null},remove(i){this.write(i,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var Ul=(i)=>i instanceof j?{...i}:i,VJ=(i)=>{if(Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor)return Object.keys(i).concat(Object.getOwnPropertySymbols(i).filter((n)=>Object.getOwnPropertyDescriptor(i,n).enumerable));return Object.keys(i)};function sn(i,n){i=i||{},n=n||{};let c=Object.create(null);Object.defineProperty(c,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function a(m,d,l,f){if(x.isPlainObject(m)&&x.isPlainObject(d))return x.merge.call({caseless:f},m,d);else if(x.isPlainObject(d))return x.merge({},d);else if(x.isArray(d))return d.slice();return d}function p(m,d,l,f){if(!x.isUndefined(d))return a(m,d,l,f);else if(!x.isUndefined(m))return a(void 0,m,l,f)}function s(m,d){if(!x.isUndefined(d))return a(void 0,d)}function u(m,d){if(!x.isUndefined(d))return a(void 0,d);else if(!x.isUndefined(m))return a(void 0,m)}function e(m){let d=x.hasOwnProp(n,"transitional")?n.transitional:void 0;if(!x.isUndefined(d))if(x.isPlainObject(d)){if(x.hasOwnProp(d,m))return d[m]}else return;let l=x.hasOwnProp(i,"transitional")?i.transitional:void 0;if(x.isPlainObject(l)&&x.hasOwnProp(l,m))return l[m];return}function o(m,d,l){if(x.hasOwnProp(n,l))return a(m,d);else if(x.hasOwnProp(i,l))return a(void 0,m)}let t={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,allowedSocketPaths:u,responseEncoding:u,validateStatus:o,headers:(m,d,l)=>p(Ul(m),Ul(d),l,!0)};if(x.forEach(VJ({...i,...n}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let l=x.hasOwnProp(t,d)?t[d]:p,f=x.hasOwnProp(i,d)?i[d]:void 0,v=x.hasOwnProp(n,d)?n[d]:void 0,b=l(f,v,d);x.isUndefined(b)&&l!==o||(c[d]=b)}),x.hasOwnProp(n,"validateStatus")&&x.isUndefined(n.validateStatus)&&e("validateStatusUndefinedResolves")===!1)if(x.hasOwnProp(i,"validateStatus"))c.validateStatus=a(void 0,i.validateStatus);else delete c.validateStatus;return c}var CJ=(i)=>encodeURIComponent(i).replace(/%([0-9A-F]{2})/gi,(n,c)=>String.fromCharCode(parseInt(c,16)));function OJ(i){let n=sn({},i),c=(l)=>x.hasOwnProp(n,l)?n[l]:void 0,a=c("data"),p=c("withXSRFToken"),s=c("xsrfHeaderName"),u=c("xsrfCookieName"),e=c("headers"),o=c("auth"),t=c("baseURL"),m=c("allowAbsoluteUrls"),d=c("url");if(n.headers=e=j.from(e),n.url=sc(uc(t,d,m,n),c("params"),c("paramsSerializer")),o){let l=x.getSafeProp(o,"username")||"",f=x.getSafeProp(o,"password")||"";try{e.set("Authorization","Basic "+btoa(l+":"+(f?CJ(f):"")))}catch(v){throw q.from(v,q.ERR_BAD_OPTION_VALUE,i)}}if(x.isFormData(a)){if(E.hasStandardBrowserEnv||E.hasStandardBrowserWebWorkerEnv||x.isReactNative(a))e.setContentType(void 0);else if(x.isFunction(a.getHeaders))ga(e,a.getHeaders(),c("formDataHeaderPolicy"))}if(E.hasStandardBrowserEnv){if(x.isFunction(p))p=p(n);if(p===!0||p==null&&Fl(n.url)){let f=s&&u&&gl.read(u);if(f)e.set(s,f)}}return n}var ds=OJ;var AJ=typeof XMLHttpRequest<"u",Ql=AJ&&function(i){return new Promise(function(c,a){let p=ds(i),s=p.data,u=j.from(p.headers).normalize(),{responseType:e,onUploadProgress:o,onDownloadProgress:t}=p,m,d,l,f,v;function b(){f&&f(),v&&v(),p.cancelToken&&p.cancelToken.unsubscribe(m),p.signal&&p.signal.removeEventListener("abort",m)}let W=new XMLHttpRequest;W.open(p.method.toUpperCase(),p.url,!0),W.timeout=p.timeout;function w(){if(!W)return;let K=j.from("getAllResponseHeaders"in W&&W.getAllResponseHeaders()),P={data:!e||e==="text"||e==="json"?W.responseText:W.response,status:W.status,statusText:W.statusText,headers:K,config:i,request:W};vn(function(oi){c(oi),b()},function(oi){a(oi),b()},P),W=null}if("onloadend"in W)W.onloadend=w;else W.onreadystatechange=function(){if(!W||W.readyState!==4)return;if(W.status===0&&!(W.responseURL&&W.responseURL.startsWith("file:")))return;setTimeout(w)};if(W.onabort=function(){if(!W)return;a(new q("Request aborted",q.ECONNABORTED,i,W)),b(),W=null},W.onerror=function(G){let P=G&&G.message?G.message:"Network Error",S=new q(P,q.ERR_NETWORK,i,W);S.event=G||null,a(S),b(),W=null},W.ontimeout=function(){let G=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded",P=p.transitional||Cn;if(p.timeoutErrorMessage)G=p.timeoutErrorMessage;a(new q(G,P.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,i,W)),b(),W=null},s===void 0&&u.setContentType(null),"setRequestHeader"in W)x.forEach(Ic(u),function(G,P){W.setRequestHeader(P,G)});if(!x.isUndefined(p.withCredentials))W.withCredentials=!!p.withCredentials;if(e&&e!=="json")W.responseType=p.responseType;if(t)[l,v]=Gn(t,!0),W.addEventListener("progress",l);if(o&&W.upload)[d,f]=Gn(o),W.upload.addEventListener("progress",d),W.upload.addEventListener("loadend",f);if(p.cancelToken||p.signal){if(m=(K)=>{if(!W)return;a(!K||K.type?new Ai(null,i,W):K),W.abort(),b(),W=null},p.cancelToken&&p.cancelToken.subscribe(m),p.signal)p.signal.aborted?m():p.signal.addEventListener("abort",m)}let _=Fa(p.url);if(_&&!E.protocols.includes(_)){a(new q("Unsupported protocol "+_+":",q.ERR_BAD_REQUEST,i)),b();return}W.send(s||null)})};var NJ=(i,n)=>{if(i=i?i.filter(Boolean):[],!n&&!i.length)return;let c=new AbortController,a=!1,p=function(o){if(!a){a=!0,u();let t=o instanceof Error?o:this.reason;c.abort(t instanceof q?t:new Ai(t instanceof Error?t.message:t))}},s=n&&setTimeout(()=>{s=null,p(new q(`timeout of ${n}ms exceeded`,q.ETIMEDOUT))},n),u=()=>{if(!i)return;s&&clearTimeout(s),s=null,i.forEach((o)=>{o.unsubscribe?o.unsubscribe(p):o.removeEventListener("abort",p)}),i=null};i.forEach((o)=>{if(a)return;if(o.aborted){p.call(o);return}o.addEventListener("abort",p,{once:!0})});let{signal:e}=c;return e.unsubscribe=()=>x.asap(u),e},kl=NJ;var EJ=function*(i,n){let c=i.byteLength;if(!n||c<n){yield i;return}let a=0,p;while(a<c)p=a+n,yield i.slice(a,p),a=p},yJ=async function*(i,n){for await(let c of RJ(i))yield*EJ(c,n)},RJ=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}let n=i.getReader();try{for(;;){let{done:c,value:a}=await n.read();if(c)break;yield a}}finally{await n.cancel()}},Xo=(i,n,c,a)=>{let p=yJ(i,n),s=0,u,e=(o)=>{if(!u)u=!0,a&&a(o)};return new ReadableStream({async pull(o){try{let{done:t,value:m}=await p.next();if(t){e(),o.close();return}let d=m.byteLength;if(c){let l=s+=d;c(l)}o.enqueue(new Uint8Array(m))}catch(t){throw e(t),t}},cancel(o){return e(o),p.return()}},{highWaterMark:2})};var nf=65536,{isFunction:xs}=x,jJ=(i)=>encodeURIComponent(i).replace(/%([0-9A-F]{2})/gi,(n,c)=>String.fromCharCode(parseInt(c,16))),cf=(i)=>{if(!x.isString(i))return i;try{return decodeURIComponent(i)}catch(n){return i}},af=(i,...n)=>{try{return!!i(...n)}catch(c){return!1}},TJ=(i)=>{let n=i.indexOf("://"),c=i;if(n!==-1)c=c.slice(n+3);return c.includes("@")||c.includes(":")},DJ=(i)=>{let n=x.global!==void 0&&x.global!==null?x.global:globalThis,{ReadableStream:c,TextEncoder:a}=n;i=x.merge.call({skipUndefined:!0},{Request:n.Request,Response:n.Response},i);let{fetch:p,Request:s,Response:u}=i,e=p?xs(p):typeof fetch==="function",o=xs(s),t=xs(u);if(!e)return!1;let m=e&&xs(c),d=e&&(typeof a==="function"?((w)=>(_)=>w.encode(_))(new a):async(w)=>new Uint8Array(await new s(w).arrayBuffer())),l=o&&m&&af(()=>{let w=!1,_=new s(E.origin,{body:new c,method:"POST",get duplex(){return w=!0,"half"}}),K=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return w&&!K}),f=t&&m&&af(()=>x.isReadableStream(new u("").body)),v={stream:f&&((w)=>w.body)};e&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((w)=>{!v[w]&&(v[w]=(_,K)=>{let G=_&&_[w];if(G)return G.call(_);throw new q(`Response type '${w}' is not supported`,q.ERR_NOT_SUPPORT,K)})})})();let b=async(w)=>{if(w==null)return 0;if(x.isBlob(w))return w.size;if(x.isSpecCompliantForm(w))return(await new s(E.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(x.isArrayBufferView(w)||x.isArrayBuffer(w))return w.byteLength;if(x.isURLSearchParams(w))w=w+"";if(x.isString(w))return(await d(w)).byteLength},W=async(w,_)=>{let K=x.toFiniteNumber(w.getContentLength());return K==null?b(_):K};return async(w)=>{let{url:_,method:K,data:G,signal:P,cancelToken:S,timeout:oi,onDownloadProgress:Si,onUploadProgress:Oi,responseType:V,headers:di,withCredentials:an="same-origin",fetchOptions:rn,maxContentLength:si,maxBodyLength:hn}=ds(w),Qn=x.isNumber(si)&&si>-1,kn=x.isNumber(hn)&&hn>-1,Cp=(N)=>x.hasOwnProp(w,N)?w[N]:void 0,Op=p||fetch;V=V?(V+"").toLowerCase():"text";let F=kl([P,S&&S.toAbortSignal()],oi),U=null,ai=F&&F.unsubscribe&&(()=>{F.unsubscribe()}),ln,zn=null,ic=()=>new q("Request body larger than maxBodyLength limit",q.ERR_BAD_REQUEST,w,U);try{let N=void 0,bi=Cp("auth");if(bi){let Y=x.getSafeProp(bi,"username")||"",Wi=x.getSafeProp(bi,"password")||"";N={username:Y,password:Wi}}if(TJ(_)){let Y=new URL(_,E.origin);if(!N&&(Y.username||Y.password)){let Wi=cf(Y.username),Z=cf(Y.password);N={username:Wi,password:Z}}if(Y.username||Y.password)Y.username="",Y.password="",_=Y.href}if(N)di.delete("authorization"),di.set("Authorization","Basic "+btoa(jJ((N.username||"")+":"+(N.password||""))));if(Qn&&typeof _==="string"&&_.startsWith("data:")){if($o(_)>si)throw new q("maxContentLength size of "+si+" exceeded",q.ERR_BAD_RESPONSE,w,U)}if(kn&&K!=="get"&&K!=="head"){let Y=await b(G);if(typeof Y==="number"&&isFinite(Y)){if(ln=Y,Y>hn)throw ic()}}let zc=kn&&(x.isReadableStream(G)||x.isStream(G)),fn=(Y,Wi,Z)=>Xo(Y,nf,($)=>{if(kn&&$>hn)throw zn=ic();Wi&&Wi($)},Z);if(l&&K!=="get"&&K!=="head"&&(Oi||zc)){if(ln=ln==null?await W(di,G):ln,ln!==0||zc){let Y=new s(_,{method:"POST",body:G,duplex:"half"}),Wi;if(x.isFormData(G)&&(Wi=Y.headers.get("content-type")))di.setContentType(Wi);if(Y.body){let[Z,$]=Oi&&Rc(ln,Gn(jc(Oi)))||[];G=fn(Y.body,Z,$)}}}else if(zc&&!o&&m&&K!=="get"&&K!=="head")G=fn(G);else if(zc&&o&&!l&&K!=="get"&&K!=="head")throw new q("Stream request bodies are not supported by the current fetch implementation",q.ERR_NOT_SUPPORT,w,U);if(!x.isString(an))an=an?"include":"omit";let $a=o&&"credentials"in s.prototype;if(x.isFormData(G)){let Y=di.getContentType();if(Y&&/^multipart\/form-data/i.test(Y)&&!/boundary=/i.test(Y))di.delete("content-type")}di.set("User-Agent","axios/"+Zn,!1);let ha={...rn,signal:F,method:K.toUpperCase(),headers:Ic(di.normalize()),body:G,duplex:"half",credentials:$a?an:void 0};U=o&&new s(_,ha);let R=await(o?Op(U,rn):Op(_,ha)),Hn=j.from(R.headers);if(Qn){let Y=x.toFiniteNumber(Hn.getContentLength());if(Y!=null&&Y>si)throw new q("maxContentLength size of "+si+" exceeded",q.ERR_BAD_RESPONSE,w,U)}let Zc=f&&(V==="stream"||V==="response");if(f&&R.body&&(Si||Qn||Zc&&ai)){let Y={};["status","statusText","headers"].forEach((H)=>{Y[H]=R[H]});let Wi=x.toFiniteNumber(Hn.getContentLength()),[Z,$]=Si&&Rc(Wi,Gn(jc(Si),!0))||[],C=0,Q=(H)=>{if(Qn){if(C=H,C>si)throw new q("maxContentLength size of "+si+" exceeded",q.ERR_BAD_RESPONSE,w,U)}Z&&Z(H)};R=new u(Xo(R.body,nf,Q,()=>{$&&$(),ai&&ai()}),Y)}V=V||"text";let yi=await v[x.findKey(v,V)||"text"](R,w);if(Qn&&!f&&!Zc){let Y;if(yi!=null){if(typeof yi.byteLength==="number")Y=yi.byteLength;else if(typeof yi.size==="number")Y=yi.size;else if(typeof yi==="string")Y=typeof a==="function"?new a().encode(yi).byteLength:yi.length}if(typeof Y==="number"&&Y>si)throw new q("maxContentLength size of "+si+" exceeded",q.ERR_BAD_RESPONSE,w,U)}return!Zc&&ai&&ai(),await new Promise((Y,Wi)=>{vn(Y,Wi,{data:yi,headers:j.from(R.headers),status:R.status,statusText:R.statusText,config:w,request:U})})}catch(N){if(ai&&ai(),F&&F.aborted&&F.reason instanceof q){let bi=F.reason;if(bi.config=w,U&&(bi.request=U),N!==bi)Object.defineProperty(bi,"cause",{__proto__:null,value:N,writable:!0,enumerable:!1,configurable:!0});throw bi}if(zn)throw U&&!zn.request&&(zn.request=U),zn;if(N instanceof q)throw U&&!N.request&&(N.request=U),N;if(N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)){let bi=new q("Network Error",q.ERR_NETWORK,w,U,N&&N.response);throw Object.defineProperty(bi,"cause",{__proto__:null,value:N.cause||N,writable:!0,enumerable:!1,configurable:!0}),bi}throw q.from(N,N&&N.code,w,U,N&&N.response)}}},LJ=new Map,So=(i)=>{let n=i&&i.env||{},{fetch:c,Request:a,Response:p}=n,s=[a,p,c],u=s.length,e=u,o,t,m=LJ;while(e--)o=s[e],t=m.get(o),t===void 0&&m.set(o,t=e?new Map:DJ(n)),m=t;return t},JA=So();var Io={http:Bl,xhr:Ql,fetch:{get:So}};x.forEach(Io,(i,n)=>{if(i){try{Object.defineProperty(i,"name",{__proto__:null,value:n})}catch(c){}Object.defineProperty(i,"adapterName",{__proto__:null,value:n})}});var pf=(i)=>`- ${i}`,FJ=(i)=>x.isFunction(i)||i===null||i===!1;function gJ(i,n){i=x.isArray(i)?i:[i];let{length:c}=i,a,p,s={};for(let u=0;u<c;u++){a=i[u];let e;if(p=a,!FJ(a)){if(p=Io[(e=String(a)).toLowerCase()],p===void 0)throw new q(`Unknown adapter '${e}'`)}if(p&&(x.isFunction(p)||(p=p.get(n))))break;s[e||"#"+u]=p}if(!p){let u=Object.entries(s).map(([o,t])=>`adapter ${o} `+(t===!1?"is not supported by the environment":"is not available in the build")),e=c?u.length>1?`since :
29
- `+u.map(pf).join(`
30
- `):" "+pf(u[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+e,q.ERR_NOT_SUPPORT)}return p}var rs={getAdapter:gJ,adapters:Io};function Po(i){if(i.cancelToken)i.cancelToken.throwIfRequested();if(i.signal&&i.signal.aborted)throw new Ai(null,i)}function Qa(i){if(Po(i),i.headers=j.from(i.headers),i.data=Aa.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1)i.headers.setContentType("application/x-www-form-urlencoded",!1);return rs.getAdapter(i.adapter||Oc.adapter,i)(i).then(function(a){Po(i),i.response=a;try{a.data=Aa.call(i,i.transformResponse,a)}finally{delete i.response}return a.headers=j.from(a.headers),a},function(a){if(!Na(a)){if(Po(i),a&&a.response){i.response=a.response;try{a.response.data=Aa.call(i,i.transformResponse,a.response)}finally{delete i.response}a.response.headers=j.from(a.response.headers)}}return Promise.reject(a)})}var ls={};["object","boolean","number","function","string","symbol"].forEach((i,n)=>{ls[i]=function(a){return typeof a===i||"a"+(n<1?"n ":" ")+i}});var sf={};ls.transitional=function(n,c,a){function p(s,u){return"[Axios v"+Zn+"] Transitional option '"+s+"'"+u+(a?". "+a:"")}return(s,u,e)=>{if(n===!1)throw new q(p(u," has been removed"+(c?" in "+c:"")),q.ERR_DEPRECATED);if(c&&!sf[u])sf[u]=!0,console.warn(p(u," has been deprecated since v"+c+" and will be removed in the near future"));return n?n(s,u,e):!0}};ls.spelling=function(n){return(c,a)=>{return console.warn(`${a} is likely a misspelling of ${n}`),!0}};function UJ(i,n,c){if(typeof i!=="object"||i===null)throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);let a=Object.keys(i),p=a.length;while(p-- >0){let s=a[p],u=Object.prototype.hasOwnProperty.call(n,s)?n[s]:void 0;if(u){let e=i[s],o=e===void 0||u(e,s,i);if(o!==!0)throw new q("option "+s+" must be "+o,q.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new q("Unknown option "+s,q.ERR_BAD_OPTION)}}var ka={assertOptions:UJ,validators:ls};var Gi=ka.validators;class ip{constructor(i){this.defaults=i||{},this.interceptors={request:new Oe,response:new Oe}}async request(i,n){try{return await this._request(i,n)}catch(c){if(c instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=Error();let p=(()=>{if(!a.stack)return"";let s=a.stack.indexOf(`
31
- `);return s===-1?"":a.stack.slice(s+1)})();try{if(!c.stack)c.stack=p;else if(p){let s=p.indexOf(`
32
- `),u=s===-1?-1:p.indexOf(`
33
- `,s+1),e=u===-1?"":p.slice(u+1);if(!String(c.stack).endsWith(e))c.stack+=`
34
- `+p}}catch(s){}}throw c}}_request(i,n){if(typeof i==="string")n=n||{},n.url=i;else n=i||{};n=sn(this.defaults,n);let{transitional:c,paramsSerializer:a,headers:p}=n;if(c!==void 0)ka.assertOptions(c,{silentJSONParsing:Gi.transitional(Gi.boolean),forcedJSONParsing:Gi.transitional(Gi.boolean),clarifyTimeoutError:Gi.transitional(Gi.boolean),legacyInterceptorReqResOrdering:Gi.transitional(Gi.boolean),advertiseZstdAcceptEncoding:Gi.transitional(Gi.boolean),validateStatusUndefinedResolves:Gi.transitional(Gi.boolean)},!1);if(a!=null)if(x.isFunction(a))n.paramsSerializer={serialize:a};else ka.assertOptions(a,{encode:Gi.function,serialize:Gi.function},!0);if(n.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else n.allowAbsoluteUrls=!0;ka.assertOptions(n,{baseUrl:Gi.spelling("baseURL"),withXsrfToken:Gi.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=p&&x.merge(p.common,p[n.method]);p&&x.forEach(["delete","get","head","post","put","patch","query","common"],(f)=>{delete p[f]}),n.headers=j.concat(s,p);let u=[],e=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen==="function"&&v.runWhen(n)===!1)return;e=e&&v.synchronous;let b=n.transitional||Cn;if(b&&b.legacyInterceptorReqResOrdering)u.unshift(v.fulfilled,v.rejected);else u.push(v.fulfilled,v.rejected)});let o=[];this.interceptors.response.forEach(function(v){o.push(v.fulfilled,v.rejected)});let t,m=0,d;if(!e){let f=[Qa.bind(this),void 0];f.unshift(...u),f.push(...o),d=f.length,t=Promise.resolve(n);while(m<d)t=t.then(f[m++],f[m++]);return t}d=u.length;let l=n;while(m<d){let f=u[m++],v=u[m++];try{l=f?f(l):l}catch(b){if(!v){t=Promise.reject(b);break}try{let W=v.call(this,b);if(x.isThenable(W))t=Promise.resolve(W).then(()=>Qa.call(this,l))}catch(W){t=Promise.reject(W)}break}}if(!t)try{t=Qa.call(this,l)}catch(f){t=Promise.reject(f)}m=0,d=o.length;while(m<d)t=t.then(o[m++],o[m++]);return t}getUri(i){i=sn(this.defaults,i);let n=uc(i.baseURL,i.url,i.allowAbsoluteUrls,i);return sc(n,i.params,i.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(n){ip.prototype[n]=function(c,a){return this.request(sn(a||{},{method:n,url:c,data:a&&x.hasOwnProp(a,"data")?a.data:void 0}))}});x.forEach(["post","put","patch","query"],function(n){function c(a){return function(s,u,e){return this.request(sn(e||{},{method:n,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:u}))}}if(ip.prototype[n]=c(),n!=="query")ip.prototype[n+"Form"]=c(!0)});var np=ip;class Ho{constructor(i){if(typeof i!=="function")throw TypeError("executor must be a function.");let n;this.promise=new Promise(function(p){n=p});let c=this;this.promise.then((a)=>{if(!c._listeners)return;let p=c._listeners.length;while(p-- >0)c._listeners[p](a);c._listeners=null}),this.promise.then=(a)=>{let p,s=new Promise((u)=>{c.subscribe(u),p=u}).then(a);return s.cancel=function(){c.unsubscribe(p)},s},i(function(p,s,u){if(c.reason)return;c.reason=new Ai(p,s,u),n(c.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}if(this._listeners)this._listeners.push(i);else this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;let n=this._listeners.indexOf(i);if(n!==-1)this._listeners.splice(n,1)}toAbortSignal(){let i=new AbortController,n=(c)=>{i.abort(c)};return this.subscribe(n),i.signal.unsubscribe=()=>this.unsubscribe(n),i.signal}static source(){let i;return{token:new Ho(function(a){i=a}),cancel:i}}}var uf=Ho;function Mo(i){return function(c){return i.apply(null,c)}}function Vo(i){return x.isObject(i)&&i.isAxiosError===!0}var Co={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Co).forEach(([i,n])=>{Co[n]=i});var ef=Co;function of(i){let n=new np(i),c=Ga(np.prototype.request,n);return x.extend(c,np.prototype,n,{allOwnKeys:!0}),x.extend(c,n,null,{allOwnKeys:!0}),c.create=function(p){return of(sn(i,p))},c}var ui=of(Oc);ui.Axios=np;ui.CanceledError=Ai;ui.CancelToken=uf;ui.isCancel=Na;ui.VERSION=Zn;ui.toFormData=Vn;ui.AxiosError=q;ui.Cancel=ui.CanceledError;ui.all=function(n){return Promise.all(n)};ui.spread=Mo;ui.isAxiosError=Vo;ui.mergeConfig=sn;ui.AxiosHeaders=j;ui.formToJSON=(i)=>ns(x.isHTMLForm(i)?new FormData(i):i);ui.getAdapter=rs.getAdapter;ui.HttpStatusCode=ef;ui.default=ui;var Oo=ui;var QJ=Oo.create({httpsAgent:new tf.Agent({keepAlive:!0})});async function mf(i,n,c,a){let p=0;while(!0){++p;try{return await QJ.post(i,n,c)}catch(s){if(a.debug(`HTTP POST to ${i} failed (attempt ${p}):`),a.debug(s.response?.data||s),p>=5)throw a.error(`No success after ${p} attempts, seizing further attempts`),s;if(p>=2)a.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((u)=>setTimeout(u,25*(2**p+Math.random()*p))),a.debug("Done waiting, will try HTTP POST again now")}}}function JN(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function df(i){let n=i.replace(/-/g,"+").replace(/_/g,"/");return Buffer.from(n,"base64").toString()}var xf=`<!DOCTYPE html>
25
+ "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,ri="secret must be a string or buffer",Hr="key must be a string or a buffer",E_="key must be a string, a buffer or an object",qc=typeof Me.createPublicKey==="function";if(qc)Hr+=" or a KeyObject",ri+="or a KeyObject";function Oh(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return;if(!qc)throw nt(Hr);if(typeof e!=="object")throw nt(Hr);if(typeof e.type!=="string")throw nt(Hr);if(typeof e.asymmetricKeyType!=="string")throw nt(Hr);if(typeof e.export!=="function")throw nt(Hr)}function Ch(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return;if(typeof e==="object")return;throw nt(E_)}function S_(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return e;if(!qc)throw nt(ri);if(typeof e!=="object")throw nt(ri);if(e.type!=="secret")throw nt(ri);if(typeof e.export!=="function")throw nt(ri)}function Dc(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Ph(e){e=e.toString();var t=4-e.length%4;if(t!==4)for(var r=0;r<t;++r)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function nt(e){var t=[].slice.call(arguments,1),r=_h.format.bind(_h,e).apply(null,t);return TypeError(r)}function A_(e){return Jr.isBuffer(e)||typeof e==="string"}function ni(e){if(!A_(e))e=JSON.stringify(e);return e}function Ih(e){return function(r,n){S_(n),r=ni(r);var i=Me.createHmac("sha"+e,n),o=(i.update(r),i.digest("base64"));return Dc(o)}}var Nc,R_="timingSafeEqual"in Me?function(t,r){if(t.byteLength!==r.byteLength)return!1;return Me.timingSafeEqual(t,r)}:function(t,r){if(!Nc)Nc=Th();return Nc(t,r)};function T_(e){return function(r,n,i){var o=Ih(e)(r,i);return R_(Jr.from(n),Jr.from(o))}}function jh(e){return function(r,n){Ch(n),r=ni(r);var i=Me.createSign("RSA-SHA"+e),o=(i.update(r),i.sign(n,"base64"));return Dc(o)}}function Lh(e){return function(r,n,i){Oh(i),r=ni(r),n=Ph(n);var o=Me.createVerify("RSA-SHA"+e);return o.update(r),o.verify(i,n,"base64")}}function __(e){return function(r,n){Ch(n),r=ni(r);var i=Me.createSign("RSA-SHA"+e),o=(i.update(r),i.sign({key:n,padding:Me.constants.RSA_PKCS1_PSS_PADDING,saltLength:Me.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return Dc(o)}}function k_(e){return function(r,n,i){Oh(i),r=ni(r),n=Ph(n);var o=Me.createVerify("RSA-SHA"+e);return o.update(r),o.verify({key:i,padding:Me.constants.RSA_PKCS1_PSS_PADDING,saltLength:Me.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function O_(e){var t=jh(e);return function(){var n=t.apply(null,arguments);return n=kh.derToJose(n,"ES"+e),n}}function C_(e){var t=Lh(e);return function(n,i,o){i=kh.joseToDer(i,"ES"+e).toString("base64");var s=t(n,i,o);return s}}function P_(){return function(){return""}}function I_(){return function(t,r){return r===""}}Nh.exports=function(t){var r={hs:Ih,rs:jh,ps:__,es:O_,none:P_},n={hs:T_,rs:Lh,ps:k_,es:C_,none:I_},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw nt(w_,t);var o=(i[1]||i[3]).toLowerCase(),s=i[2];return{sign:r[o](s),verify:n[o](s)}}});var Fc=g(function(b$,qh){var j_=require("buffer").Buffer;qh.exports=function(t){if(typeof t==="string")return t;if(typeof t==="number"||j_.isBuffer(t))return t.toString();return JSON.stringify(t)}});var Kh=g(function(w$,Bh){var L_=Kr().Buffer,Dh=Ic(),N_=Uc(),q_=require("stream"),Uh=Fc(),$c=require("util");function Fh(e,t){return L_.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function D_(e,t,r){r=r||"utf8";var n=Fh(Uh(e),"binary"),i=Fh(Uh(t),r);return $c.format("%s.%s",n,i)}function $h(e){var{header:t,payload:r}=e,n=e.secret||e.privateKey,i=e.encoding,o=N_(t.alg),s=D_(t,r,i),a=o.sign(s,n);return $c.format("%s.%s",s,a)}function Ao(e){var t=e.secret;if(t=t==null?e.privateKey:t,t=t==null?e.key:t,/^hs/i.test(e.header.alg)===!0&&t==null)throw TypeError("secret must be a string or buffer or a KeyObject");var r=new Dh(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new Dh(e.payload),this.secret.once("close",function(){if(!this.payload.writable&&this.readable)this.sign()}.bind(this)),this.payload.once("close",function(){if(!this.secret.writable&&this.readable)this.sign()}.bind(this))}$c.inherits(Ao,q_);Ao.prototype.sign=function(){try{var t=$h({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}};Ao.sign=$h;Bh.exports=Ao});var Zh=g(function(E$,Yh){var Jh=Kr().Buffer,Hh=Ic(),U_=Uc(),F_=require("stream"),Wh=Fc(),$_=require("util"),B_=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function K_(e){return Object.prototype.toString.call(e)==="[object Object]"}function H_(e){if(K_(e))return e;try{return JSON.parse(e)}catch(t){return}}function zh(e){var t=e.split(".",1)[0];return H_(Jh.from(t,"base64").toString("binary"))}function J_(e){return e.split(".",2).join(".")}function Mh(e){return e.split(".")[2]}function W_(e,t){t=t||"utf8";var r=e.split(".")[1];return Jh.from(r,"base64").toString(t)}function Gh(e){return B_.test(e)&&!!zh(e)}function Vh(e,t,r){if(!t){var n=Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}e=Wh(e);var i=Mh(e),o=J_(e),s=U_(t);return s.verify(o,i,r)}function Xh(e,t){if(t=t||{},e=Wh(e),!Gh(e))return null;var r=zh(e);if(!r)return null;var n=W_(e);if(r.typ==="JWT"||t.json)n=JSON.parse(n,t.encoding);return{header:r,payload:n,signature:Mh(e)}}function Wr(e){e=e||{};var t=e.secret;if(t=t==null?e.publicKey:t,t=t==null?e.key:t,/^hs/i.test(e.algorithm)===!0&&t==null)throw TypeError("secret must be a string or buffer or a KeyObject");var r=new Hh(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new Hh(e.signature),this.secret.once("close",function(){if(!this.signature.writable&&this.readable)this.verify()}.bind(this)),this.signature.once("close",function(){if(!this.secret.writable&&this.readable)this.verify()}.bind(this))}$_.inherits(Wr,F_);Wr.prototype.verify=function(){try{var t=Vh(this.signature.buffer,this.algorithm,this.key.buffer),r=Xh(this.signature.buffer,this.encoding);return this.emit("done",t,r),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(n){this.readable=!1,this.emit("error",n),this.emit("close")}};Wr.decode=Xh;Wr.isValid=Gh;Wr.verify=Vh;Yh.exports=Wr});var To=g(function(jt){var Qh=Kh(),Ro=Zh(),z_=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];jt.ALGORITHMS=z_;jt.sign=Qh.sign;jt.verify=Ro.verify;jt.decode=Ro.decode;jt.isValid=Ro.isValid;jt.createSign=function(t){return new Qh(t)};jt.createVerify=function(t){return new Ro(t)}});var Bc=g(function(A$,ex){var M_=To();ex.exports=function(e,t){t=t||{};var r=M_.decode(e,t);if(!r)return null;var n=r.payload;if(typeof n==="string")try{var i=JSON.parse(n);if(i!==null&&typeof i==="object")n=i}catch(o){}if(t.complete===!0)return{header:r.header,payload:n,signature:r.signature};return n}});var ii=g(function(R$,tx){var _o=function(e,t){if(Error.call(this,e),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);if(this.name="JsonWebTokenError",this.message=e,t)this.inner=t};_o.prototype=Object.create(Error.prototype);_o.prototype.constructor=_o;tx.exports=_o});var Kc=g(function(T$,nx){var rx=ii(),ko=function(e,t){rx.call(this,e),this.name="NotBeforeError",this.date=t};ko.prototype=Object.create(rx.prototype);ko.prototype.constructor=ko;nx.exports=ko});var Hc=g(function(_$,ox){var ix=ii(),Oo=function(e,t){ix.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};Oo.prototype=Object.create(ix.prototype);Oo.prototype.constructor=Oo;ox.exports=Oo});var Jc=g(function(k$,sx){var G_=Ua();sx.exports=function(e,t){var r=t||Math.floor(Date.now()/1000);if(typeof e==="string"){var n=G_(e);if(typeof n>"u")return;return Math.floor(r+n/1000)}else if(typeof e==="number")return r+e;else return}});var zr=g(function(O$,ax){var V_=Number.MAX_SAFE_INTEGER||9007199254740991,X_=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ax.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:V_,RELEASE_TYPES:X_,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var oi=g(function(C$,cx){var Y_=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};cx.exports=Y_});var Mr=g(function(mt,px){var{MAX_SAFE_COMPONENT_LENGTH:Wc,MAX_SAFE_BUILD_LENGTH:Z_,MAX_LENGTH:Q_}=zr(),ek=oi();mt=px.exports={};var tk=mt.re=[],rk=mt.safeRe=[],T=mt.src=[],nk=mt.safeSrc=[],_=mt.t={},ik=0,zc="[a-zA-Z0-9-]",ok=[["\\s",1],["\\d",Q_],[zc,Z_]],sk=(e)=>{for(let[t,r]of ok)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},N=(e,t,r)=>{let n=sk(t),i=ik++;ek(e,i,t),_[e]=i,T[i]=t,nk[i]=n,tk[i]=new RegExp(t,r?"g":void 0),rk[i]=new RegExp(n,r?"g":void 0)};N("NUMERICIDENTIFIER","0|[1-9]\\d*");N("NUMERICIDENTIFIERLOOSE","\\d+");N("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${zc}*`);N("MAINVERSION",`(${T[_.NUMERICIDENTIFIER]})\\.(${T[_.NUMERICIDENTIFIER]})\\.(${T[_.NUMERICIDENTIFIER]})`);N("MAINVERSIONLOOSE",`(${T[_.NUMERICIDENTIFIERLOOSE]})\\.(${T[_.NUMERICIDENTIFIERLOOSE]})\\.(${T[_.NUMERICIDENTIFIERLOOSE]})`);N("PRERELEASEIDENTIFIER",`(?:${T[_.NONNUMERICIDENTIFIER]}|${T[_.NUMERICIDENTIFIER]})`);N("PRERELEASEIDENTIFIERLOOSE",`(?:${T[_.NONNUMERICIDENTIFIER]}|${T[_.NUMERICIDENTIFIERLOOSE]})`);N("PRERELEASE",`(?:-(${T[_.PRERELEASEIDENTIFIER]}(?:\\.${T[_.PRERELEASEIDENTIFIER]})*))`);N("PRERELEASELOOSE",`(?:-?(${T[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[_.PRERELEASEIDENTIFIERLOOSE]})*))`);N("BUILDIDENTIFIER",`${zc}+`);N("BUILD",`(?:\\+(${T[_.BUILDIDENTIFIER]}(?:\\.${T[_.BUILDIDENTIFIER]})*))`);N("FULLPLAIN",`v?${T[_.MAINVERSION]}${T[_.PRERELEASE]}?${T[_.BUILD]}?`);N("FULL",`^${T[_.FULLPLAIN]}$`);N("LOOSEPLAIN",`[v=\\s]*${T[_.MAINVERSIONLOOSE]}${T[_.PRERELEASELOOSE]}?${T[_.BUILD]}?`);N("LOOSE",`^${T[_.LOOSEPLAIN]}$`);N("GTLT","((?:<|>)?=?)");N("XRANGEIDENTIFIERLOOSE",`${T[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);N("XRANGEIDENTIFIER",`${T[_.NUMERICIDENTIFIER]}|x|X|\\*`);N("XRANGEPLAIN",`[v=\\s]*(${T[_.XRANGEIDENTIFIER]})(?:\\.(${T[_.XRANGEIDENTIFIER]})(?:\\.(${T[_.XRANGEIDENTIFIER]})(?:${T[_.PRERELEASE]})?${T[_.BUILD]}?)?)?`);N("XRANGEPLAINLOOSE",`[v=\\s]*(${T[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[_.XRANGEIDENTIFIERLOOSE]})(?:${T[_.PRERELEASELOOSE]})?${T[_.BUILD]}?)?)?`);N("XRANGE",`^${T[_.GTLT]}\\s*${T[_.XRANGEPLAIN]}$`);N("XRANGELOOSE",`^${T[_.GTLT]}\\s*${T[_.XRANGEPLAINLOOSE]}$`);N("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Wc}})(?:\\.(\\d{1,${Wc}}))?(?:\\.(\\d{1,${Wc}}))?`);N("COERCE",`${T[_.COERCEPLAIN]}(?:$|[^\\d])`);N("COERCEFULL",T[_.COERCEPLAIN]+`(?:${T[_.PRERELEASE]})?(?:${T[_.BUILD]})?(?:$|[^\\d])`);N("COERCERTL",T[_.COERCE],!0);N("COERCERTLFULL",T[_.COERCEFULL],!0);N("LONETILDE","(?:~>?)");N("TILDETRIM",`(\\s*)${T[_.LONETILDE]}\\s+`,!0);mt.tildeTrimReplace="$1~";N("TILDE",`^${T[_.LONETILDE]}${T[_.XRANGEPLAIN]}$`);N("TILDELOOSE",`^${T[_.LONETILDE]}${T[_.XRANGEPLAINLOOSE]}$`);N("LONECARET","(?:\\^)");N("CARETTRIM",`(\\s*)${T[_.LONECARET]}\\s+`,!0);mt.caretTrimReplace="$1^";N("CARET",`^${T[_.LONECARET]}${T[_.XRANGEPLAIN]}$`);N("CARETLOOSE",`^${T[_.LONECARET]}${T[_.XRANGEPLAINLOOSE]}$`);N("COMPARATORLOOSE",`^${T[_.GTLT]}\\s*(${T[_.LOOSEPLAIN]})$|^$`);N("COMPARATOR",`^${T[_.GTLT]}\\s*(${T[_.FULLPLAIN]})$|^$`);N("COMPARATORTRIM",`(\\s*)${T[_.GTLT]}\\s*(${T[_.LOOSEPLAIN]}|${T[_.XRANGEPLAIN]})`,!0);mt.comparatorTrimReplace="$1$2$3";N("HYPHENRANGE",`^\\s*(${T[_.XRANGEPLAIN]})\\s+-\\s+(${T[_.XRANGEPLAIN]})\\s*$`);N("HYPHENRANGELOOSE",`^\\s*(${T[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[_.XRANGEPLAINLOOSE]})\\s*$`);N("STAR","(<|>)?=?\\s*\\*");N("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");N("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Co=g(function(P$,ux){var ak=Object.freeze({loose:!0}),ck=Object.freeze({}),pk=(e)=>{if(!e)return ck;if(typeof e!=="object")return ak;return e};ux.exports=pk});var Mc=g(function(I$,fx){var lx=/^[0-9]+$/,dx=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=lx.test(e),n=lx.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},uk=(e,t)=>dx(t,e);fx.exports={compareIdentifiers:dx,rcompareIdentifiers:uk}});var _e=g(function(j$,hx){var Po=oi(),{MAX_LENGTH:mx,MAX_SAFE_INTEGER:Io}=zr(),{safeRe:jo,t:Lo}=Mr(),lk=Co(),{compareIdentifiers:Gc}=Mc(),dk=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(Gc(e[n],r[n])!==0)return!1;return!0};class it{constructor(e,t){if(t=lk(t),e instanceof it)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else e=e.version;else if(typeof e!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>mx)throw TypeError(`version is longer than ${mx} characters`);Po("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?jo[Lo.LOOSE]:jo[Lo.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Io||this.major<0)throw TypeError("Invalid major version");if(this.minor>Io||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>Io||this.patch<0)throw TypeError("Invalid patch version");if(!r[4])this.prerelease=[];else this.prerelease=r[4].split(".").map((n)=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<Io)return i}return n});this.build=r[5]?r[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(e){if(Po("SemVer.compare",this.version,this.options,e),!(e instanceof it)){if(typeof e==="string"&&e===this.version)return 0;e=new it(e,this.options)}if(e.version===this.version)return 0;return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof it))e=new it(e,this.options);if(this.major<e.major)return-1;if(this.major>e.major)return 1;if(this.minor<e.minor)return-1;if(this.minor>e.minor)return 1;if(this.patch<e.patch)return-1;if(this.patch>e.patch)return 1;return 0}comparePre(e){if(!(e instanceof it))e=new it(e,this.options);if(this.prerelease.length&&!e.prerelease.length)return-1;else if(!this.prerelease.length&&e.prerelease.length)return 1;else if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],n=e.prerelease[t];if(Po("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return Gc(r,n)}while(++t)}compareBuild(e){if(!(e instanceof it))e=new it(e,this.options);let t=0;do{let r=this.build[t],n=e.build[t];if(Po("build compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return Gc(r,n)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===!1)throw Error("invalid increment argument: identifier is empty");if(t){let n=`-${t}`.match(this.options.loose?jo[Lo.PRERELEASELOOSE]:jo[Lo.PRERELEASE]);if(!n||n[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",t,r);this.inc("pre",t,r);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let n=Number(r)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;while(--i>=0)if(typeof this.prerelease[i]==="number")this.prerelease[i]++,i=-2;if(i===-1){if(t===this.prerelease.join(".")&&r===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(t){let i=[t,n];if(r===!1)i=[t];if(dk(this.prerelease,t)){let o=this.prerelease[t.split(".").length];if(isNaN(o))this.prerelease=i}else this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}hx.exports=it});var Lt=g(function(L$,gx){var xx=_e(),fk=(e,t,r=!1)=>{if(e instanceof xx)return e;try{return new xx(e,t)}catch(n){if(!r)return null;throw n}};gx.exports=fk});var vx=g(function(N$,yx){var mk=Lt(),hk=(e,t)=>{let r=mk(e,t);return r?r.version:null};yx.exports=hk});var wx=g(function(q$,bx){var xk=Lt(),gk=(e,t)=>{let r=xk(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};bx.exports=gk});var Ax=g(function(D$,Sx){var Ex=_e(),yk=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new Ex(e instanceof Ex?e.version:e,r).inc(t,n,i).version}catch(o){return null}};Sx.exports=yk});var _x=g(function(U$,Tx){var Rx=Lt(),vk=(e,t)=>{let r=Rx(e,null,!0),n=Rx(t,null,!0),i=r.compare(n);if(i===0)return null;let o=i>0,s=o?r:n,a=o?n:r,c=!!s.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(s)===0){if(a.minor&&!a.patch)return"minor";return"patch"}}let u=c?"pre":"";if(r.major!==n.major)return u+"major";if(r.minor!==n.minor)return u+"minor";if(r.patch!==n.patch)return u+"patch";return"prerelease"};Tx.exports=vk});var Ox=g(function(F$,kx){var bk=_e(),wk=(e,t)=>new bk(e,t).major;kx.exports=wk});var Px=g(function($$,Cx){var Ek=_e(),Sk=(e,t)=>new Ek(e,t).minor;Cx.exports=Sk});var jx=g(function(B$,Ix){var Ak=_e(),Rk=(e,t)=>new Ak(e,t).patch;Ix.exports=Rk});var Nx=g(function(K$,Lx){var Tk=Lt(),_k=(e,t)=>{let r=Tk(e,t);return r&&r.prerelease.length?r.prerelease:null};Lx.exports=_k});var Ge=g(function(H$,Dx){var qx=_e(),kk=(e,t,r)=>new qx(e,r).compare(new qx(t,r));Dx.exports=kk});var Fx=g(function(J$,Ux){var Ok=Ge(),Ck=(e,t,r)=>Ok(t,e,r);Ux.exports=Ck});var Bx=g(function(W$,$x){var Pk=Ge(),Ik=(e,t)=>Pk(e,t,!0);$x.exports=Ik});var No=g(function(z$,Hx){var Kx=_e(),jk=(e,t,r)=>{let n=new Kx(e,r),i=new Kx(t,r);return n.compare(i)||n.compareBuild(i)};Hx.exports=jk});var Wx=g(function(M$,Jx){var Lk=No(),Nk=(e,t)=>e.sort((r,n)=>Lk(r,n,t));Jx.exports=Nk});var Mx=g(function(G$,zx){var qk=No(),Dk=(e,t)=>e.sort((r,n)=>qk(n,r,t));zx.exports=Dk});var si=g(function(V$,Gx){var Uk=Ge(),Fk=(e,t,r)=>Uk(e,t,r)>0;Gx.exports=Fk});var qo=g(function(X$,Vx){var $k=Ge(),Bk=(e,t,r)=>$k(e,t,r)<0;Vx.exports=Bk});var Vc=g(function(Y$,Xx){var Kk=Ge(),Hk=(e,t,r)=>Kk(e,t,r)===0;Xx.exports=Hk});var Xc=g(function(Z$,Yx){var Jk=Ge(),Wk=(e,t,r)=>Jk(e,t,r)!==0;Yx.exports=Wk});var Do=g(function(Q$,Zx){var zk=Ge(),Mk=(e,t,r)=>zk(e,t,r)>=0;Zx.exports=Mk});var Uo=g(function(eB,Qx){var Gk=Ge(),Vk=(e,t,r)=>Gk(e,t,r)<=0;Qx.exports=Vk});var Yc=g(function(tB,eg){var Xk=Vc(),Yk=Xc(),Zk=si(),Qk=Do(),eO=qo(),tO=Uo(),rO=(e,t,r,n)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return Xk(e,r,n);case"!=":return Yk(e,r,n);case">":return Zk(e,r,n);case">=":return Qk(e,r,n);case"<":return eO(e,r,n);case"<=":return tO(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};eg.exports=rO});var rg=g(function(rB,tg){var nO=_e(),iO=Lt(),{safeRe:Fo,t:$o}=Mr(),oO=(e,t)=>{if(e instanceof nO)return e;if(typeof e==="number")e=String(e);if(typeof e!=="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?Fo[$o.COERCEFULL]:Fo[$o.COERCE]);else{let c=t.includePrerelease?Fo[$o.COERCERTLFULL]:Fo[$o.COERCERTL],p;while((p=c.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||p.index+p[0].length!==r.index+r[0].length)r=p;c.lastIndex=p.index+p[1].length+p[2].length}c.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",o=r[4]||"0",s=t.includePrerelease&&r[5]?`-${r[5]}`:"",a=t.includePrerelease&&r[6]?`+${r[6]}`:"";return iO(`${n}.${i}.${o}${s}${a}`,t)};tg.exports=oO});var ig=g(function(nB,ng){var sO=Lt(),aO=zr(),cO=_e(),pO=(e,t,r)=>{if(!aO.RELEASE_TYPES.includes(t))return null;let n=uO(e,r);return n&&lO(n,t)},uO=(e,t)=>{let r=e instanceof cO?e.version:e;return sO(r,t)},lO=(e,t)=>{if(dO(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0;break}return e.format()},dO=(e)=>e.startsWith("pre");ng.exports=pO});var ag=g(function(iB,sg){class og{constructor(){this.max=1000,this.map=new Map}get(e){let t=this.map.get(e);if(t===void 0)return;else return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,t)}return this}}sg.exports=og});var Ve=g(function(oB,lg){var fO=/\s+/g;class ai{constructor(e,t){if(t=hO(t),e instanceof ai)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else return new ai(e.raw,t);if(e instanceof Zc)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(fO," "),this.set=this.raw.split("||").map((r)=>this.parseRange(r.trim())).filter((r)=>r.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter((n)=>!pg(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&&AO(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0)this.formatted+="||";let t=this.set[e];for(let r=0;r<t.length;r++){if(r>0)this.formatted+=" ";this.formatted+=t[r].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(SO,"");let r=((this.options.includePrerelease&&wO)|(this.options.loose&&EO))+":"+e,n=cg.get(r);if(n)return n;let i=this.options.loose,o=i?Ie[ke.HYPHENRANGELOOSE]:Ie[ke.HYPHENRANGE];e=e.replace(o,NO(this.options.includePrerelease)),re("hyphen replace",e),e=e.replace(Ie[ke.COMPARATORTRIM],yO),re("comparator trim",e),e=e.replace(Ie[ke.TILDETRIM],vO),re("tilde trim",e),e=e.replace(Ie[ke.CARETTRIM],bO),re("caret trim",e);let s=e.split(" ").map((u)=>RO(u,this.options)).join(" ").split(/\s+/).map((u)=>LO(u,this.options));if(i)s=s.filter((u)=>(re("loose invalid filter",u,this.options),!!u.match(Ie[ke.COMPARATORLOOSE])));re("range list",s);let a=new Map,c=s.map((u)=>new Zc(u,this.options));for(let u of c){if(pg(u))return[u];a.set(u.value,u)}if(a.size>1&&a.has(""))a.delete("");let p=[...a.values()];return cg.set(r,p),p}intersects(e,t){if(!(e instanceof ai))throw TypeError("a Range is required");return this.set.some((r)=>ug(r,t)&&e.set.some((n)=>ug(n,t)&&r.every((i)=>n.every((o)=>i.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e==="string")try{e=new xO(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(qO(this.set[t],e,this.options))return!0;return!1}}lg.exports=ai;var mO=ag(),cg=new mO,hO=Co(),Zc=ci(),re=oi(),xO=_e(),{safeRe:Ie,src:gO,t:ke,comparatorTrimReplace:yO,tildeTrimReplace:vO,caretTrimReplace:bO}=Mr(),{FLAG_INCLUDE_PRERELEASE:wO,FLAG_LOOSE:EO}=zr(),SO=new RegExp(gO[ke.BUILD],"g"),pg=(e)=>e.value==="<0.0.0-0",AO=(e)=>e.value==="",ug=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();while(r&&n.length)r=n.every((o)=>i.intersects(o,t)),i=n.pop();return r},RO=(e,t)=>(e=e.replace(Ie[ke.BUILD],""),re("comp",e,t),e=OO(e,t),re("caret",e),e=_O(e,t),re("tildes",e),e=PO(e,t),re("xrange",e),e=jO(e,t),re("stars",e),e),ye=(e)=>!e||e.toLowerCase()==="x"||e==="*",TO=(e,t,r)=>ye(e)&&!ye(t)||ye(t)&&r&&!ye(r),_O=(e,t)=>e.trim().split(/\s+/).map((r)=>kO(r,t)).join(" "),kO=(e,t)=>{let r=t.loose?Ie[ke.TILDELOOSE]:Ie[ke.TILDE],n=t.includePrerelease?"-0":"";return e.replace(r,(i,o,s,a,c)=>{re("tilde",e,i,o,s,a,c);let p;if(ye(o))p="";else if(ye(s))p=`>=${o}.0.0${n} <${+o+1}.0.0-0`;else if(ye(a))p=`>=${o}.${s}.0${n} <${o}.${+s+1}.0-0`;else if(c)re("replaceTilde pr",c),p=`>=${o}.${s}.${a}-${c} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`;return re("tilde return",p),p})},OO=(e,t)=>e.trim().split(/\s+/).map((r)=>CO(r,t)).join(" "),CO=(e,t)=>{re("caret",e,t);let r=t.loose?Ie[ke.CARETLOOSE]:Ie[ke.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,o,s,a,c)=>{re("caret",e,i,o,s,a,c);let p;if(ye(o))p="";else if(ye(s))p=`>=${o}.0.0${n} <${+o+1}.0.0-0`;else if(ye(a))if(o==="0")p=`>=${o}.${s}.0${n} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.0${n} <${+o+1}.0.0-0`;else if(c)if(re("replaceCaret pr",c),o==="0")if(s==="0")p=`>=${o}.${s}.${a}-${c} <${o}.${s}.${+a+1}-0`;else p=`>=${o}.${s}.${a}-${c} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a}-${c} <${+o+1}.0.0-0`;else if(re("no pr"),o==="0")if(s==="0")p=`>=${o}.${s}.${a} <${o}.${s}.${+a+1}-0`;else p=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a} <${+o+1}.0.0-0`;return re("caret return",p),p})},PO=(e,t)=>(re("replaceXRanges",e,t),e.split(/\s+/).map((r)=>IO(r,t)).join(" ")),IO=(e,t)=>{e=e.trim();let r=t.loose?Ie[ke.XRANGELOOSE]:Ie[ke.XRANGE];return e.replace(r,(n,i,o,s,a,c)=>{if(re("xRange",e,n,i,o,s,a,c),TO(o,s,a))return e;let p=ye(o),u=p||ye(s),l=u||ye(a),d=l;if(i==="="&&d)i="";if(c=t.includePrerelease?"-0":"",p)if(i===">"||i==="<")n="<0.0.0-0";else n="*";else if(i&&d){if(u)s=0;if(a=0,i===">")if(i=">=",u)o=+o+1,s=0,a=0;else s=+s+1,a=0;else if(i==="<=")if(i="<",u)o=+o+1;else s=+s+1;if(i==="<")c="-0";n=`${i+o}.${s}.${a}${c}`}else if(u)n=`>=${o}.0.0${c} <${+o+1}.0.0-0`;else if(l)n=`>=${o}.${s}.0${c} <${o}.${+s+1}.0-0`;return re("xRange return",n),n})},jO=(e,t)=>(re("replaceStars",e,t),e.trim().replace(Ie[ke.STAR],"")),LO=(e,t)=>(re("replaceGTE0",e,t),e.trim().replace(Ie[t.includePrerelease?ke.GTE0PRE:ke.GTE0],"")),NO=(e)=>(t,r,n,i,o,s,a,c,p,u,l,d)=>{if(ye(n))r="";else if(ye(i))r=`>=${n}.0.0${e?"-0":""}`;else if(ye(o))r=`>=${n}.${i}.0${e?"-0":""}`;else if(s)r=`>=${r}`;else r=`>=${r}${e?"-0":""}`;if(ye(p))c="";else if(ye(u))c=`<${+p+1}.0.0-0`;else if(ye(l))c=`<${p}.${+u+1}.0-0`;else if(d)c=`<=${p}.${u}.${l}-${d}`;else if(e)c=`<${p}.${u}.${+l+1}-0`;else c=`<=${c}`;return`${r} ${c}`.trim()},qO=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++){if(re(e[n].semver),e[n].semver===Zc.ANY)continue;if(e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}}return!1}return!0}});var ci=g(function(sB,gg){var pi=Symbol("SemVer ANY");class Bo{static get ANY(){return pi}constructor(e,t){if(t=dg(t),e instanceof Bo)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),ep("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===pi)this.value="";else this.value=this.operator+this.semver.version;ep("comp",this)}parse(e){let t=this.options.loose?fg[mg.COMPARATORLOOSE]:fg[mg.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);if(this.operator=r[1]!==void 0?r[1]:"",this.operator==="=")this.operator="";if(!r[2])this.semver=pi;else this.semver=new hg(r[2],this.options.loose)}toString(){return this.value}test(e){if(ep("Comparator.test",e,this.options.loose),this.semver===pi||e===pi)return!0;if(typeof e==="string")try{e=new hg(e,this.options)}catch(t){return!1}return Qc(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Bo))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new xg(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new xg(this.value,t).test(e.semver)}if(t=dg(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0"))return!1;if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&e.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&e.operator.startsWith("<"))return!0;if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("="))return!0;if(Qc(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(Qc(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}gg.exports=Bo;var dg=Co(),{safeRe:fg,t:mg}=Mr(),Qc=Yc(),ep=oi(),hg=_e(),xg=Ve()});var ui=g(function(aB,yg){var DO=Ve(),UO=(e,t,r)=>{try{t=new DO(t,r)}catch(n){return!1}return t.test(e)};yg.exports=UO});var bg=g(function(cB,vg){var FO=Ve(),$O=(e,t)=>new FO(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));vg.exports=$O});var Eg=g(function(pB,wg){var BO=_e(),KO=Ve(),HO=(e,t,r)=>{let n=null,i=null,o=null;try{o=new KO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===-1)n=s,i=new BO(n,r)}}),n};wg.exports=HO});var Ag=g(function(uB,Sg){var JO=_e(),WO=Ve(),zO=(e,t,r)=>{let n=null,i=null,o=null;try{o=new WO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===1)n=s,i=new JO(n,r)}}),n};Sg.exports=zO});var _g=g(function(lB,Tg){var tp=_e(),MO=Ve(),Rg=si(),GO=(e,t)=>{e=new MO(e,t);let r=new tp("0.0.0");if(e.test(r))return r;if(r=new tp("0.0.0-0"),e.test(r))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],o=null;if(i.forEach((s)=>{let a=new tp(s.semver.version);switch(s.operator){case">":if(a.prerelease.length===0)a.patch++;else a.prerelease.push(0);a.raw=a.format();case"":case">=":if(!o||Rg(a,o))o=a;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Rg(r,o)))r=o}if(r&&e.test(r))return r;return null};Tg.exports=GO});var Og=g(function(dB,kg){var VO=Ve(),XO=(e,t)=>{try{return new VO(e,t).range||"*"}catch(r){return null}};kg.exports=XO});var Ko=g(function(fB,jg){var YO=_e(),Ig=ci(),{ANY:ZO}=Ig,QO=Ve(),eC=ui(),Cg=si(),Pg=qo(),tC=Uo(),rC=Do(),nC=(e,t,r,n)=>{e=new YO(e,n),t=new QO(t,n);let i,o,s,a,c;switch(r){case">":i=Cg,o=tC,s=Pg,a=">",c=">=";break;case"<":i=Pg,o=rC,s=Cg,a="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(eC(e,t,n))return!1;for(let p=0;p<t.set.length;++p){let u=t.set[p],l=null,d=null;if(u.forEach((m)=>{if(m.semver===ZO)m=new Ig(">=0.0.0");if(l=l||m,d=d||m,i(m.semver,l.semver,n))l=m;else if(s(m.semver,d.semver,n))d=m}),l.operator===a||l.operator===c)return!1;if((!d.operator||d.operator===a)&&o(e,d.semver))return!1;else if(d.operator===c&&s(e,d.semver))return!1}return!0};jg.exports=nC});var Ng=g(function(mB,Lg){var iC=Ko(),oC=(e,t,r)=>iC(e,t,">",r);Lg.exports=oC});var Dg=g(function(hB,qg){var sC=Ko(),aC=(e,t,r)=>sC(e,t,"<",r);qg.exports=aC});var $g=g(function(xB,Fg){var Ug=Ve(),cC=(e,t,r)=>(e=new Ug(e,r),t=new Ug(t,r),e.intersects(t,r));Fg.exports=cC});var Kg=g(function(gB,Bg){var pC=ui(),uC=Ge();Bg.exports=(e,t,r)=>{let n=[],i=null,o=null,s=e.sort((u,l)=>uC(u,l,r));for(let u of s)if(pC(u,t,r)){if(o=u,!i)i=u}else{if(o)n.push([i,o]);o=null,i=null}if(i)n.push([i,null]);let a=[];for(let[u,l]of n)if(u===l)a.push(u);else if(!l&&u===s[0])a.push("*");else if(!l)a.push(`>=${u}`);else if(u===s[0])a.push(`<=${l}`);else a.push(`${u} - ${l}`);let c=a.join(" || "),p=typeof t.raw==="string"?t.raw:String(t);return c.length<p.length?c:t}});var Gg=g(function(yB,Mg){var Hg=Ve(),ip=ci(),{ANY:rp}=ip,np=ui(),op=Ge(),lC=(e,t,r={})=>{if(e===t)return!0;e=new Hg(e,r),t=new Hg(t,r);let n=!1;e:for(let i of e.set){for(let o of t.set){let s=fC(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},dC=[new ip(">=0.0.0-0")],Jg=[new ip(">=0.0.0")],fC=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===rp)if(t.length===1&&t[0].semver===rp)return!0;else if(r.includePrerelease)e=dC;else e=Jg;if(t.length===1&&t[0].semver===rp)if(r.includePrerelease)return!0;else t=Jg;let n=new Set,i,o;for(let m of e)if(m.operator===">"||m.operator===">=")i=Wg(i,m,r);else if(m.operator==="<"||m.operator==="<=")o=zg(o,m,r);else n.add(m.semver);if(n.size>1)return null;let s;if(i&&o){if(s=op(i.semver,o.semver,r),s>0)return null;else if(s===0&&(i.operator!==">="||o.operator!=="<="))return null}for(let m of n){if(i&&!np(m,String(i),r))return null;if(o&&!np(m,String(o),r))return null;for(let y of t)if(!np(m,String(y),r))return!1;return!0}let a,c,p,u,l=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;if(l&&l.prerelease.length===1&&o.operator==="<"&&l.prerelease[0]===0)l=!1;for(let m of t){if(u=u||m.operator===">"||m.operator===">=",p=p||m.operator==="<"||m.operator==="<=",i){if(d){if(m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch)d=!1}if(m.operator===">"||m.operator===">="){if(a=Wg(i,m,r),a===m&&a!==i)return!1}else if(i.operator===">="&&!m.test(i.semver))return!1}if(o){if(l){if(m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===l.major&&m.semver.minor===l.minor&&m.semver.patch===l.patch)l=!1}if(m.operator==="<"||m.operator==="<="){if(c=zg(o,m,r),c===m&&c!==o)return!1}else if(o.operator==="<="&&!m.test(o.semver))return!1}if(!m.operator&&(o||i)&&s!==0)return!1}if(i&&p&&!o&&s!==0)return!1;if(o&&u&&!i&&s!==0)return!1;if(d||l)return!1;return!0},Wg=(e,t,r)=>{if(!e)return t;let n=op(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},zg=(e,t,r)=>{if(!e)return t;let n=op(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};Mg.exports=lC});var Ho=g(function(vB,Yg){var sp=Mr(),Vg=zr(),mC=_e(),Xg=Mc(),hC=Lt(),xC=vx(),gC=wx(),yC=Ax(),vC=_x(),bC=Ox(),wC=Px(),EC=jx(),SC=Nx(),AC=Ge(),RC=Fx(),TC=Bx(),_C=No(),kC=Wx(),OC=Mx(),CC=si(),PC=qo(),IC=Vc(),jC=Xc(),LC=Do(),NC=Uo(),qC=Yc(),DC=rg(),UC=ig(),FC=ci(),$C=Ve(),BC=ui(),KC=bg(),HC=Eg(),JC=Ag(),WC=_g(),zC=Og(),MC=Ko(),GC=Ng(),VC=Dg(),XC=$g(),YC=Kg(),ZC=Gg();Yg.exports={parse:hC,valid:xC,clean:gC,inc:yC,diff:vC,major:bC,minor:wC,patch:EC,prerelease:SC,compare:AC,rcompare:RC,compareLoose:TC,compareBuild:_C,sort:kC,rsort:OC,gt:CC,lt:PC,eq:IC,neq:jC,gte:LC,lte:NC,cmp:qC,coerce:DC,truncate:UC,Comparator:FC,Range:$C,satisfies:BC,toComparators:KC,maxSatisfying:HC,minSatisfying:JC,minVersion:WC,validRange:zC,outside:MC,gtr:GC,ltr:VC,intersects:XC,simplifyRange:YC,subset:ZC,SemVer:mC,re:sp.re,src:sp.src,tokens:sp.t,SEMVER_SPEC_VERSION:Vg.SEMVER_SPEC_VERSION,RELEASE_TYPES:Vg.RELEASE_TYPES,compareIdentifiers:Xg.compareIdentifiers,rcompareIdentifiers:Xg.rcompareIdentifiers}});var Qg=g(function(bB,Zg){var QC=Ho();Zg.exports=QC.satisfies(process.version,">=15.7.0")});var ty=g(function(wB,ey){var eP=Ho();ey.exports=eP.satisfies(process.version,">=16.9.0")});var ap=g(function(EB,ry){var tP=Qg(),rP=ty(),nP={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},iP={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};ry.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let n=nP[r];if(!n)throw Error(`Unknown key type "${r}".`);if(!n.includes(e))throw Error(`"alg" parameter for "${r}" key type must be one of: ${n.join(", ")}.`);if(tP)switch(r){case"ec":let i=t.asymmetricKeyDetails.namedCurve,o=iP[e];if(i!==o)throw Error(`"alg" parameter "${e}" requires curve "${o}".`);break;case"rsa-pss":if(rP){let s=parseInt(e.slice(-3),10),{hashAlgorithm:a,mgf1HashAlgorithm:c,saltLength:p}=t.asymmetricKeyDetails;if(a!==`sha${s}`||c!==a)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(p!==void 0&&p>s>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}break}}});var cp=g(function(SB,ny){var oP=Ho();ny.exports=oP.satisfies(process.version,"^6.12.0 || >=8.0.0")});var sy=g(function(AB,oy){var Q=ii(),sP=Kc(),iy=Hc(),aP=Bc(),cP=Jc(),pP=ap(),uP=cp(),lP=To(),{KeyObject:dP,createSecretKey:fP,createPublicKey:mP}=require("crypto"),pp=["RS256","RS384","RS512"],hP=["ES256","ES384","ES512"],up=["RS256","RS384","RS512"],xP=["HS256","HS384","HS512"];if(uP)pp.splice(pp.length,0,"PS256","PS384","PS512"),up.splice(up.length,0,"PS256","PS384","PS512");oy.exports=function(e,t,r,n){if(typeof r==="function"&&!n)n=r,r={};if(!r)r={};r=Object.assign({},r);let i;if(n)i=n;else i=function(u,l){if(u)throw u;return l};if(r.clockTimestamp&&typeof r.clockTimestamp!=="number")return i(new Q("clockTimestamp must be a number"));if(r.nonce!==void 0&&(typeof r.nonce!=="string"||r.nonce.trim()===""))return i(new Q("nonce must be a non-empty string"));if(r.allowInvalidAsymmetricKeyTypes!==void 0&&typeof r.allowInvalidAsymmetricKeyTypes!=="boolean")return i(new Q("allowInvalidAsymmetricKeyTypes must be a boolean"));let o=r.clockTimestamp||Math.floor(Date.now()/1000);if(!e)return i(new Q("jwt must be provided"));if(typeof e!=="string")return i(new Q("jwt must be a string"));let s=e.split(".");if(s.length!==3)return i(new Q("jwt malformed"));let a;try{a=aP(e,{complete:!0})}catch(u){return i(u)}if(!a)return i(new Q("invalid token"));let c=a.header,p;if(typeof t==="function"){if(!n)return i(new Q("verify must be called asynchronous if secret or public key is provided as a callback"));p=t}else p=function(u,l){return l(null,t)};return p(c,function(u,l){if(u)return i(new Q("error in secret or public key callback: "+u.message));let d=s[2].trim()!=="";if(!d&&l)return i(new Q("jwt signature is required"));if(d&&!l)return i(new Q("secret or public key must be provided"));if(!d&&!r.algorithms)return i(new Q('please specify "none" in "algorithms" to verify unsigned tokens'));if(l!=null&&!(l instanceof dP))try{l=mP(l)}catch(x){try{l=fP(typeof l==="string"?Buffer.from(l):l)}catch(v){return i(new Q("secretOrPublicKey is not valid key material"))}}if(!r.algorithms)if(l.type==="secret")r.algorithms=xP;else if(["rsa","rsa-pss"].includes(l.asymmetricKeyType))r.algorithms=up;else if(l.asymmetricKeyType==="ec")r.algorithms=hP;else r.algorithms=pp;if(r.algorithms.indexOf(a.header.alg)===-1)return i(new Q("invalid algorithm"));if(c.alg.startsWith("HS")&&l.type!=="secret")return i(new Q(`secretOrPublicKey must be a symmetric key when using ${c.alg}`));else if(/^(?:RS|PS|ES)/.test(c.alg)&&l.type!=="public")return i(new Q(`secretOrPublicKey must be an asymmetric key when using ${c.alg}`));if(!r.allowInvalidAsymmetricKeyTypes)try{pP(c.alg,l)}catch(x){return i(x)}let m;try{m=lP.verify(e,a.header.alg,l)}catch(x){return i(x)}if(!m)return i(new Q("invalid signature"));let y=a.payload;if(typeof y.nbf<"u"&&!r.ignoreNotBefore){if(typeof y.nbf!=="number")return i(new Q("invalid nbf value"));if(y.nbf>o+(r.clockTolerance||0))return i(new sP("jwt not active",new Date(y.nbf*1000)))}if(typeof y.exp<"u"&&!r.ignoreExpiration){if(typeof y.exp!=="number")return i(new Q("invalid exp value"));if(o>=y.exp+(r.clockTolerance||0))return i(new iy("jwt expired",new Date(y.exp*1000)))}if(r.audience){let x=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(y.aud)?y.aud:[y.aud]).some(function(b){return x.some(function(E){return E instanceof RegExp?E.test(b):E===b})}))return i(new Q("jwt audience invalid. expected: "+x.join(" or ")))}if(r.issuer){if(typeof r.issuer==="string"&&y.iss!==r.issuer||Array.isArray(r.issuer)&&r.issuer.indexOf(y.iss)===-1)return i(new Q("jwt issuer invalid. expected: "+r.issuer))}if(r.subject){if(y.sub!==r.subject)return i(new Q("jwt subject invalid. expected: "+r.subject))}if(r.jwtid){if(y.jti!==r.jwtid)return i(new Q("jwt jwtid invalid. expected: "+r.jwtid))}if(r.nonce){if(y.nonce!==r.nonce)return i(new Q("jwt nonce invalid. expected: "+r.nonce))}if(r.maxAge){if(typeof y.iat!=="number")return i(new Q("iat required when maxAge is specified"));let x=cP(r.maxAge,y.iat);if(typeof x>"u")return i(new Q('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(o>=x+(r.clockTolerance||0))return i(new iy("maxAge exceeded",new Date(x*1000)))}if(r.complete===!0){let x=a.signature;return i(null,{header:c,payload:y,signature:x})}return i(null,y)})}});var dy=g(function(RB,ly){var ay=1/0,py=9007199254740991,gP=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,cy=NaN,yP="[object Arguments]",vP="[object Function]",bP="[object GeneratorFunction]",wP="[object String]",EP="[object Symbol]",SP=/^\s+|\s+$/g,AP=/^[-+]0x[0-9a-f]+$/i,RP=/^0b[01]+$/i,TP=/^0o[0-7]+$/i,_P=/^(?:0|[1-9]\d*)$/,kP=parseInt;function OP(e,t){var r=-1,n=e?e.length:0,i=Array(n);while(++r<n)i[r]=t(e[r],r,e);return i}function CP(e,t,r,n){var i=e.length,o=r+(n?1:-1);while(n?o--:++o<i)if(t(e[o],o,e))return o;return-1}function PP(e,t,r){if(t!==t)return CP(e,IP,r);var n=r-1,i=e.length;while(++n<i)if(e[n]===t)return n;return-1}function IP(e){return e!==e}function jP(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function LP(e,t){return OP(t,function(r){return e[r]})}function NP(e,t){return function(r){return e(t(r))}}var Jo=Object.prototype,dp=Jo.hasOwnProperty,Wo=Jo.toString,qP=Jo.propertyIsEnumerable,DP=NP(Object.keys,Object),UP=Math.max;function FP(e,t){var r=uy(e)||JP(e)?jP(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||dp.call(e,o))&&!(i&&(o=="length"||BP(o,n))))r.push(o);return r}function $P(e){if(!KP(e))return DP(e);var t=[];for(var r in Object(e))if(dp.call(e,r)&&r!="constructor")t.push(r);return t}function BP(e,t){return t=t==null?py:t,!!t&&(typeof e=="number"||_P.test(e))&&(e>-1&&e%1==0&&e<t)}function KP(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jo;return e===r}function HP(e,t,r,n){e=fp(e)?e:e1(e),r=r&&!n?YP(r):0;var i=e.length;if(r<0)r=UP(i+r,0);return GP(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&PP(e,t,r)>-1}function JP(e){return WP(e)&&dp.call(e,"callee")&&(!qP.call(e,"callee")||Wo.call(e)==yP)}var uy=Array.isArray;function fp(e){return e!=null&&MP(e.length)&&!zP(e)}function WP(e){return mp(e)&&fp(e)}function zP(e){var t=lp(e)?Wo.call(e):"";return t==vP||t==bP}function MP(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=py}function lp(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function mp(e){return!!e&&typeof e=="object"}function GP(e){return typeof e=="string"||!uy(e)&&mp(e)&&Wo.call(e)==wP}function VP(e){return typeof e=="symbol"||mp(e)&&Wo.call(e)==EP}function XP(e){if(!e)return e===0?e:0;if(e=ZP(e),e===ay||e===-ay){var t=e<0?-1:1;return t*gP}return e===e?e:0}function YP(e){var t=XP(e),r=t%1;return t===t?r?t-r:t:0}function ZP(e){if(typeof e=="number")return e;if(VP(e))return cy;if(lp(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=lp(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(SP,"");var r=RP.test(e);return r||TP.test(e)?kP(e.slice(2),r?2:8):AP.test(e)?cy:+e}function QP(e){return fp(e)?FP(e):$P(e)}function e1(e){return e?LP(e,QP(e)):[]}ly.exports=HP});var my=g(function(TB,fy){var t1="[object Boolean]",r1=Object.prototype,n1=r1.toString;function i1(e){return e===!0||e===!1||o1(e)&&n1.call(e)==t1}function o1(e){return!!e&&typeof e=="object"}fy.exports=i1});var vy=g(function(_B,yy){var hy=1/0,s1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,xy=NaN,a1="[object Symbol]",c1=/^\s+|\s+$/g,p1=/^[-+]0x[0-9a-f]+$/i,u1=/^0b[01]+$/i,l1=/^0o[0-7]+$/i,d1=parseInt,f1=Object.prototype,m1=f1.toString;function h1(e){return typeof e=="number"&&e==v1(e)}function gy(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function x1(e){return!!e&&typeof e=="object"}function g1(e){return typeof e=="symbol"||x1(e)&&m1.call(e)==a1}function y1(e){if(!e)return e===0?e:0;if(e=b1(e),e===hy||e===-hy){var t=e<0?-1:1;return t*s1}return e===e?e:0}function v1(e){var t=y1(e),r=t%1;return t===t?r?t-r:t:0}function b1(e){if(typeof e=="number")return e;if(g1(e))return xy;if(gy(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=gy(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(c1,"");var r=u1.test(e);return r||l1.test(e)?d1(e.slice(2),r?2:8):p1.test(e)?xy:+e}yy.exports=h1});var wy=g(function(kB,by){var w1="[object Number]",E1=Object.prototype,S1=E1.toString;function A1(e){return!!e&&typeof e=="object"}function R1(e){return typeof e=="number"||A1(e)&&S1.call(e)==w1}by.exports=R1});var Ry=g(function(OB,Ay){var T1="[object Object]";function _1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function k1(e,t){return function(r){return e(t(r))}}var O1=Function.prototype,Ey=Object.prototype,Sy=O1.toString,C1=Ey.hasOwnProperty,P1=Sy.call(Object),I1=Ey.toString,j1=k1(Object.getPrototypeOf,Object);function L1(e){return!!e&&typeof e=="object"}function N1(e){if(!L1(e)||I1.call(e)!=T1||_1(e))return!1;var t=j1(e);if(t===null)return!0;var r=C1.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Sy.call(r)==P1}Ay.exports=N1});var _y=g(function(CB,Ty){var q1="[object String]",D1=Object.prototype,U1=D1.toString,F1=Array.isArray;function $1(e){return!!e&&typeof e=="object"}function B1(e){return typeof e=="string"||!F1(e)&&$1(e)&&U1.call(e)==q1}Ty.exports=B1});var Iy=g(function(PB,Py){var K1="Expected a function",ky=1/0,H1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,Oy=NaN,J1="[object Symbol]",W1=/^\s+|\s+$/g,z1=/^[-+]0x[0-9a-f]+$/i,M1=/^0b[01]+$/i,G1=/^0o[0-7]+$/i,V1=parseInt,X1=Object.prototype,Y1=X1.toString;function Z1(e,t){var r;if(typeof t!="function")throw TypeError(K1);return e=nI(e),function(){if(--e>0)r=t.apply(this,arguments);if(e<=1)t=void 0;return r}}function Q1(e){return Z1(2,e)}function Cy(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function eI(e){return!!e&&typeof e=="object"}function tI(e){return typeof e=="symbol"||eI(e)&&Y1.call(e)==J1}function rI(e){if(!e)return e===0?e:0;if(e=iI(e),e===ky||e===-ky){var t=e<0?-1:1;return t*H1}return e===e?e:0}function nI(e){var t=rI(e),r=t%1;return t===t?r?t-r:t:0}function iI(e){if(typeof e=="number")return e;if(tI(e))return Oy;if(Cy(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cy(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(W1,"");var r=M1.test(e);return r||G1.test(e)?V1(e.slice(2),r?2:8):z1.test(e)?Oy:+e}Py.exports=Q1});var By=g(function(IB,$y){var jy=Jc(),oI=cp(),sI=ap(),Ly=To(),aI=dy(),zo=my(),Ny=vy(),hp=wy(),Dy=Ry(),Nt=_y(),cI=Iy(),{KeyObject:pI,createSecretKey:uI,createPrivateKey:lI}=require("crypto"),Uy=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(oI)Uy.splice(3,0,"PS256","PS384","PS512");var dI={expiresIn:{isValid:function(e){return Ny(e)||Nt(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return Ny(e)||Nt(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return Nt(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:aI.bind(null,Uy),message:'"algorithm" must be a valid string enum value'},header:{isValid:Dy,message:'"header" must be an object'},encoding:{isValid:Nt,message:'"encoding" must be a string'},issuer:{isValid:Nt,message:'"issuer" must be a string'},subject:{isValid:Nt,message:'"subject" must be a string'},jwtid:{isValid:Nt,message:'"jwtid" must be a string'},noTimestamp:{isValid:zo,message:'"noTimestamp" must be a boolean'},keyid:{isValid:Nt,message:'"keyid" must be a string'},mutatePayload:{isValid:zo,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:zo,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:zo,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},fI={iat:{isValid:hp,message:'"iat" should be a number of seconds'},exp:{isValid:hp,message:'"exp" should be a number of seconds'},nbf:{isValid:hp,message:'"nbf" should be a number of seconds'}};function Fy(e,t,r,n){if(!Dy(r))throw Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach(function(i){let o=e[i];if(!o){if(!t)throw Error('"'+i+'" is not allowed in "'+n+'"');return}if(!o.isValid(r[i]))throw Error(o.message)})}function mI(e){return Fy(dI,!1,e,"options")}function hI(e){return Fy(fI,!0,e,"payload")}var qy={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},xI=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];$y.exports=function(e,t,r,n){if(typeof r==="function")n=r,r={};else r=r||{};let i=typeof e==="object"&&!Buffer.isBuffer(e),o=Object.assign({alg:r.algorithm||"HS256",typ:i?"JWT":void 0,kid:r.keyid},r.header);function s(p){if(n)return n(p);throw p}if(!t&&r.algorithm!=="none")return s(Error("secretOrPrivateKey must have a value"));if(t!=null&&!(t instanceof pI))try{t=lI(t)}catch(p){try{t=uI(typeof t==="string"?Buffer.from(t):t)}catch(u){return s(Error("secretOrPrivateKey is not valid key material"))}}if(o.alg.startsWith("HS")&&t.type!=="secret")return s(Error(`secretOrPrivateKey must be a symmetric key when using ${o.alg}`));else if(/^(?:RS|PS|ES)/.test(o.alg)){if(t.type!=="private")return s(Error(`secretOrPrivateKey must be an asymmetric key when using ${o.alg}`));if(!r.allowInsecureKeySizes&&!o.alg.startsWith("ES")&&t.asymmetricKeyDetails!==void 0&&t.asymmetricKeyDetails.modulusLength<2048)return s(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${o.alg}`))}if(typeof e>"u")return s(Error("payload is required"));else if(i){try{hI(e)}catch(p){return s(p)}if(!r.mutatePayload)e=Object.assign({},e)}else{let p=xI.filter(function(u){return typeof r[u]<"u"});if(p.length>0)return s(Error("invalid "+p.join(",")+" option for "+typeof e+" payload"))}if(typeof e.exp<"u"&&typeof r.expiresIn<"u")return s(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof e.nbf<"u"&&typeof r.notBefore<"u")return s(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{mI(r)}catch(p){return s(p)}if(!r.allowInvalidAsymmetricKeyTypes)try{sI(o.alg,t)}catch(p){return s(p)}let a=e.iat||Math.floor(Date.now()/1000);if(r.noTimestamp)delete e.iat;else if(i)e.iat=a;if(typeof r.notBefore<"u"){try{e.nbf=jy(r.notBefore,a)}catch(p){return s(p)}if(typeof e.nbf>"u")return s(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof r.expiresIn<"u"&&typeof e==="object"){try{e.exp=jy(r.expiresIn,a)}catch(p){return s(p)}if(typeof e.exp>"u")return s(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(qy).forEach(function(p){let u=qy[p];if(typeof r[p]<"u"){if(typeof e[u]<"u")return s(Error('Bad "options.'+p+'" option. The payload already has an "'+u+'" property.'));e[u]=r[p]}});let c=r.encoding||"utf8";if(typeof n==="function")n=n&&cI(n),Ly.createSign({header:o,privateKey:t,payload:e,encoding:c}).once("error",n).once("done",function(p){if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(o.alg)&&p.length<256)return n(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${o.alg}`));n(null,p)});else{let p=Ly.sign({header:o,payload:e,secret:t,encoding:c});if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(o.alg)&&p.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${o.alg}`);return p}}});var Hy=g(function(jB,Ky){Ky.exports={decode:Bc(),verify:sy(),sign:By(),JsonWebTokenError:ii(),NotBeforeError:Kc(),TokenExpiredError:Hc()}});function xe(...e){let t=e.reduce((i,{length:o})=>i+o,0),r=new Uint8Array(t),n=0;for(let i of e)r.set(i,n),n+=i.length;return r}function xp(e,t,r){if(t<0||t>=4294967296)throw RangeError(`value must be >= 0 and <= 4294967295. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,t&255],r)}function gp(e){let t=Math.floor(e/4294967296),r=e%4294967296,n=new Uint8Array(8);return xp(n,t,0),xp(n,r,4),n}function Mo(e){let t=new Uint8Array(4);return xp(t,e),t}function oe(e){let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>127)throw TypeError("non-ASCII string encountered in encode()");t[r]=n}return t}var Gr,ar,Vr;var $e=j(()=>{Gr=new TextEncoder,ar=new TextDecoder,Vr=new TextDecoder("utf-8",{fatal:!0})});function yp(e,t){if(t&&!e.usages.includes(t))throw TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`)}function Vo(e,t){let{modulusLength:r}=t.algorithm;if(typeof r!=="number"||r<2048)throw TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}function wt(e,t,r){let n=e.algorithm;if(n.name!==t.name)throw Go(t.name);if(t.hash&&n.hash?.name!==t.hash)throw Go(t.hash,"algorithm.hash");if(t.namedCurve&&n.namedCurve!==t.namedCurve)throw Go(t.namedCurve,"algorithm.namedCurve");if(t.length!==void 0&&n.length!==t.length)throw Go(t.length,"algorithm.length");yp(e,r)}var Go=(e,t="algorithm.name")=>TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);function Jy(e,t,...r){if(r.length>2){let n=r.pop();e+=`one of type ${r.join(", ")}, or ${n}.`}else if(r.length===2)e+=`one of type ${r[0]} or ${r[1]}.`;else e+=`of type ${r[0]}.`;if(t==null)e+=` Received ${t}`;else if(typeof t==="function"&&t.name)e+=` Received function ${t.name}`;else if(typeof t==="object"&&t!=null){if(t.constructor?.name)e+=` Received an instance of ${t.constructor.name}`}return e}var ot=(e,...t)=>Jy("Key must be ",e,...t),li=(e,t,...r)=>Jy(`Key for the ${e} algorithm must be `,t,...r);var vp={};Ar(vp,{JOSEAlgNotAllowed:()=>cr,JOSEError:()=>ve,JOSENotSupported:()=>J,JWEDecryptionFailed:()=>qt,JWEInvalid:()=>S,JWKInvalid:()=>fi,JWKSInvalid:()=>mi,JWKSMultipleMatchingKeys:()=>Xo,JWKSNoMatchingKey:()=>Xr,JWKSTimeout:()=>Yo,JWSInvalid:()=>P,JWSSignatureVerificationFailed:()=>pr,JWTClaimValidationFailed:()=>st,JWTExpired:()=>di,JWTInvalid:()=>ce});var ve,st,di,cr,J,qt,S,P,ce,fi,mi,Xr,Xo,Yo,pr;var M=j(()=>{ve=class ve extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t);this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}};st=class st extends ve{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}});this.claim=r,this.reason=n,this.payload=t}};di=class di extends ve{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}});this.claim=r,this.reason=n,this.payload=t}};cr=class cr extends ve{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"};J=class J extends ve{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"};qt=class qt extends ve{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",t){super(e,t)}};S=class S extends ve{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"};P=class P extends ve{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"};ce=class ce extends ve{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"};fi=class fi extends ve{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"};mi=class mi extends ve{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"};Xr=class Xr extends ve{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t)}};Xo=class Xo extends ve{[Symbol.asyncIterator]=async function*(){};static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}};Yo=class Yo extends ve{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",t){super(e,t)}};pr=class pr extends ve{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}});function Zo(e){if(!at(e))throw Error("CryptoKey instance expected")}var at=(e)=>{if(e?.[Symbol.toStringTag]==="CryptoKey")return!0;try{return e instanceof CryptoKey}catch{return!1}},hi=(e)=>e?.[Symbol.toStringTag]==="KeyObject",Qo=(e)=>at(e)||hi(e);function Wy(e,t){let r=e.byteLength<<3;if(r!==t)throw new S(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)}function zy(e,t){if(t.length<<3!==e.ivBits)throw new S("Invalid Initialization Vector length")}async function My(e,t,r){if(!(t instanceof Uint8Array))throw TypeError(ot(t,"Uint8Array"));let n=e.cekBits>>1,i=await crypto.subtle.importKey("raw",t.subarray(n>>3),"AES-CBC",!1,[r]),o=await crypto.subtle.importKey("raw",t.subarray(0,n>>3),{hash:`SHA-${n<<1}`,name:"HMAC"},!1,["sign"]);return[i,o,n]}async function Gy(e,t,r){return new Uint8Array((await crypto.subtle.sign("HMAC",e,t)).slice(0,r>>3))}async function yI(e,t,r,n,i){let[o,s,a]=await My(e,r,"encrypt"),c=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},o,t)),p=xe(i,n,c,gp(i.length*8)),u=await Gy(s,p,a);return{ciphertext:c,tag:u,iv:n}}async function vI(e,t){let r={name:"HMAC",hash:"SHA-256"},n=await crypto.subtle.generateKey(r,!1,["sign","verify"]),i=await crypto.subtle.sign(r,n,e);return crypto.subtle.verify(r,n,i,t)}async function bI(e,t,r,n,i,o){let[s,a,c]=await My(e,t,"decrypt"),p=xe(o,n,r,gp(o.length*8)),u=await Gy(a,p,c);try{if(await vI(i,u))return new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}throw new qt}async function wI(e,t,r,n,i){let o=r instanceof Uint8Array?await crypto.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(wt(r,e.subtle,"encrypt"),r),s=new Uint8Array(await crypto.subtle.encrypt({additionalData:i,iv:n,name:"AES-GCM",tagLength:128},o,t)),a=s.slice(-16);return{ciphertext:s.slice(0,-16),tag:a,iv:n}}async function EI(e,t,r,n,i,o){let s=t instanceof Uint8Array?await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(wt(t,e.subtle,"decrypt"),t);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:o,iv:n,name:"AES-GCM",tagLength:128},s,xe(r,i)))}catch{throw new qt}}async function es(e,t,r,n,i){if(!at(r)&&!(r instanceof Uint8Array))throw TypeError(ot(r,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(n)zy(e,n);else n=gI(e);if(r instanceof Uint8Array)Wy(r,e.cekBits);return e.cbc?yI(e,t,r,n,i):wI(e,t,r,n,i)}async function ts(e,t,r,n,i,o){if(!at(t)&&!(t instanceof Uint8Array))throw TypeError(ot(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!n)throw new S("JWE Initialization Vector missing");if(!i)throw new S("JWE Authentication Tag missing");if(!e.cbc&&i.length!==16)throw new S("Invalid Authentication Tag length");if(zy(e,n),t instanceof Uint8Array)Wy(t,e.cekBits);return e.cbc?bI(e,t,r,n,i,o):EI(e,t,r,n,i,o)}var ct=(e)=>crypto.getRandomValues(new Uint8Array(e.cekBits>>3)),gI=(e)=>crypto.getRandomValues(new Uint8Array(e.ivBits>>3));var xi=j(()=>{$e();M()});function rs(e){if(Uint8Array.prototype.toBase64)return e.toBase64();let t=32768,r=[];for(let n=0;n<e.length;n+=t)r.push(String.fromCharCode.apply(null,e.subarray(n,n+t)));return btoa(r.join(""))}function ns(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}var is={};Ar(is,{decode:()=>ht,encode:()=>Y});function ht(e){if(Uint8Array.fromBase64)try{return Uint8Array.fromBase64(typeof e==="string"?e:ar.decode(e),{alphabet:"base64url"})}catch(r){throw TypeError(bp,{cause:r})}let t=e;if(t instanceof Uint8Array)t=ar.decode(t);if(t.includes("+")||t.includes("/"))throw TypeError(bp);t=t.replace(/-/g,"+").replace(/_/g,"/");try{return ns(t)}catch{throw TypeError(bp)}}function Y(e){let t=e;if(typeof t==="string")t=Gr.encode(t);if(Uint8Array.prototype.toBase64)return t.toBase64({alphabet:"base64url",omitPadding:!0});return rs(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}var bp="The input to be decoded is not correctly encoded.";var Be=j(()=>{$e()});function Ke(e,t){if(!(e instanceof Uint8Array))throw TypeError(`${t} must be an instance of Uint8Array`)}function q(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function os(e){return q(e)&&Array.isArray(e.keys)&&Array.from(e.keys).every(q)}function Dt(...e){let t=new Set;for(let r of e){if(!r)continue;for(let n of Object.keys(r)){if(t.has(n))return!1;t.add(n)}}return!0}function G(e,t){if(e!==void 0)throw TypeError(`${t} can only be called once`)}function ge(e,t,r){try{return ht(e)}catch{throw new r(`Failed to base64url decode the ${t}`)}}function ss(e,t,r){try{return oe(e)}catch{throw new r(`The ${t} is not a valid base64url string`)}}async function as(e,t){let r=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(r,t))}function Et(e,t,r){let n;try{n=JSON.parse(Vr.decode(ht(e)))}catch{throw new t(r)}if(!q(n))throw new t(r);return n}var Vy;var Pe=j(()=>{Be();$e();Vy=Symbol()});async function pt(e,t){if(t.kty==="RSA"&&"oth"in t&&t.oth!==void 0)throw new J('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');if(!e.kty.includes(t.kty))throw new J('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');let r=e.resolve?.({kty:t.kty,crv:t.crv})??e.subtle,n=!!(t.d||t.priv),i={...t};if(i.kty!=="AKP")delete i.alg;return delete i.use,crypto.subtle.importKey("jwk",i,r,t.ext??!n,t.key_ops??e.usages[n?1:0])}var Yr=j(()=>{M()});function Zr(e){return{__proto__:null,...e}}function Qr(e){let t=Zr(e);if(t.ext!==void 0&&typeof t.ext!=="boolean")throw TypeError('"ext" (Extractable) Parameter must be a boolean');if(t.key_ops!==void 0){let r=t.key_ops,n=Array.isArray(r)?[...r]:void 0;if(!n||n.some((i)=>typeof i!=="string")||new Set(n).size!==n.length)throw TypeError('"key_ops" (Key Operations) Parameter must be an array of unique strings');t.key_ops=n}return t}function AI(e,t,r){let{alg:n,secret:i}=e,o=r==="decrypt"||r==="sign";if(i&&t instanceof Uint8Array)return[Yy,t];if(q(t)){let s=Qr(t);if(typeof s.kty!=="string")throw TypeError(i?li(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):li(n,t,"CryptoKey","KeyObject","JSON Web Key"));if(!(i?s.kty==="oct"&&typeof s.k==="string":s.kty!=="oct"&&(o?s.kty==="AKP"&&typeof s.priv==="string"||typeof s.d==="string":s.d===void 0&&s.priv===void 0)))throw TypeError(i?'JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present':`JSON Web Key for this operation must be a ${o?"private":"public"} JWK`);return SI(e,s,r),[ev,t,s]}if(!Qo(t))throw TypeError(i?li(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):li(n,t,"CryptoKey","KeyObject","JSON Web Key"));if(i){if(t.type!=="secret")throw TypeError(`${wp(t)} instances for symmetric algorithms must be of type "secret"`)}else{if(t.type==="secret")throw TypeError(`${wp(t)} instances for asymmetric algorithms must not be of type "secret"`);let s=o?"private":"public";if((t.type==="public"||t.type==="private")&&t.type!==s){let a=r==="sign"?"signing":r==="verify"?"verifying":`${r.slice(0,-1)}tion`;throw TypeError(`${wp(t)} instances for asymmetric algorithm ${a} must be of type "${s}"`)}}return at(t)?[Zy,t]:[Qy,t]}function cs(e,t,r){Ep||=new WeakMap;let n=Ep.get(e);if(r)if(n)n[t]=r;else Ep.set(e,{[t]:r});return r??n?.[t]}async function Xe(e,t,r){let n=AI(e,t,r);switch(n[0]){case Yy:case Zy:return n[1];case ev:{let i=n[1],o=n[2];if(o.kty==="oct")return ht(o.k);if(!Object.isFrozen(i)){let{key_ops:s}=i;if(Array.isArray(s))Object.freeze(s);Object.freeze(i)}return Xy(i,o,e)}case Qy:{let i=n[1];if(i.type==="secret")return i.export();if("toCryptoKey"in i&&typeof i.toCryptoKey==="function")return TI(i,e);return Xy(i,i.export({format:"jwk"}),e)}}}var wp=(e)=>e[Symbol.toStringTag],SI=(e,t,r)=>{let{alg:n}=e;if(t.use!==void 0){let i=r==="sign"||r==="verify"?"sig":"enc";if(t.use!==i)throw TypeError(`Invalid key for this operation, its "use" must be "${i}" when present`)}if(t.alg!==void 0&&t.alg!==n)throw TypeError(`Invalid key for this operation, its "alg" must be "${n}" when present`);if(Array.isArray(t.key_ops)){let i=r==="encrypt"||r==="decrypt"?e.ops?.[r==="encrypt"?0:1]:r;if(i&&!t.key_ops.includes(i))throw TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`)}},Yy=0,Zy=1,Qy=2,ev=3,Ep,RI,Xy=async(e,t,r)=>cs(e,r.alg)??cs(e,r.alg,await pt(r,{...t,alg:r.alg})),TI=(e,t)=>{let r=cs(e,t.alg);if(r)return r;let n=e.type==="public",i=t.usages[n?0:1],{asymmetricKeyType:o}=e,s=RI[e.asymmetricKeyDetails?.namedCurve],a=t.resolve?.({crv:s,asymmetricKeyType:o})??t.subtle;return cs(e,t.alg,e.toCryptoKey(a,n,i))};var ur=j(()=>{Be();Yr();RI={__proto__:null,prime256v1:"P-256",secp384r1:"P-384",secp521r1:"P-521"}});function gi(e){let t={__proto__:null};for(let r in e)t[r]={...e[r],alg:r};return t}function ps(e){return{kty:["RSA"],subtle:{name:"RSA-OAEP",hash:`SHA-${e}`},usages:_I,ops:["wrapKey","unwrapKey"]}}function us(){return{kty:["EC","OKP"],subtle:{name:"ECDH"},resolve:({kty:e,crv:t,asymmetricKeyType:r})=>{if(t==="X25519"||r==="x25519")return{name:"X25519"};if(e==="OKP")throw new J('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');return{name:"ECDH",namedCurve:t}},usages:kI,ops:[void 0,"deriveBits"]}}function en(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-GCM":"AES-KW",length:e},usages:ls,ops:t?["encrypt","decrypt"]:["wrapKey","unwrapKey"]}}function Sp(){return{kty:["oct"],secret:!0,subtle:{name:"PBKDF2"},usages:ls,ops:["deriveBits","deriveBits"]}}function tn(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-CBC":"AES-GCM",length:e},usages:ls,ops:OI,cekBits:e,ivBits:t?128:96,cbc:t}}function tv(e,t){throw new J(`Invalid or unsupported "${e}" (JWE ${t}) header value`)}function Ye(e){return(typeof e==="string"?Ap[e]:void 0)??tv("alg","Algorithm")}function lr(e){return(typeof e==="string"?CI[e]:void 0)??tv("enc","Encryption Algorithm")}var _I,kI,ls,Ap,OI,CI;var rn=j(()=>{M();_I=[["encrypt","wrapKey"],["decrypt","unwrapKey"]],kI=[[],["deriveBits"]],ls=[[],[]];Ap=gi({dir:{kty:["oct"],secret:!0,subtle:{name:"AES-GCM"},usages:ls,ops:["encrypt","decrypt"]},"RSA-OAEP":ps(1),"RSA-OAEP-256":ps(256),"RSA-OAEP-384":ps(384),"RSA-OAEP-512":ps(512),"ECDH-ES":us(),"ECDH-ES+A128KW":us(),"ECDH-ES+A192KW":us(),"ECDH-ES+A256KW":us(),A128KW:en(128),A192KW:en(192),A256KW:en(256),A128GCMKW:en(128,!0),A192GCMKW:en(192,!0),A256GCMKW:en(256,!0),"PBES2-HS256+A128KW":Sp(),"PBES2-HS384+A192KW":Sp(),"PBES2-HS512+A256KW":Sp()}),OI=["encrypt","decrypt"];CI=gi({A128GCM:tn(128),A192GCM:tn(192),A256GCM:tn(256),"A128CBC-HS256":tn(256,!0),"A192CBC-HS384":tn(384,!0),"A256CBC-HS512":tn(512,!0)})});function rv(e,t){if(e.algorithm.name!=="ECDH"&&e.algorithm.name!=="X25519")throw TypeError("CryptoKey does not support this operation, its algorithm.name must be ECDH or X25519");yp(e,t)}async function iv(e,t,r){let n=Ye(t).subtle,i=e instanceof Uint8Array?await crypto.subtle.importKey("raw",e,"AES-KW",!0,[r]):e;return wt(i,n,r),i}async function Rp(e,t,r){let n=await iv(t,e,"wrapKey"),i=await crypto.subtle.importKey("raw",r,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",i,n,"AES-KW"))}async function Tp(e,t,r){let n=await iv(t,e,"unwrapKey"),i=await crypto.subtle.unwrapKey("raw",r,n,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",i))}function ov(e,t,r){wt(t,Ye(e).subtle,r),Vo(e,t)}function PI(e,t){if(e instanceof Uint8Array)return crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]);return wt(e,Ye(t).subtle,"deriveBits"),e}async function sv(e,t,r,n){if(!(e instanceof Uint8Array)||e.length<8)throw new S("PBES2 Salt Input must be 8 or more octets");if(!Number.isSafeInteger(r)||Math.sign(r)!==1)throw new S("PBES2 Count Input must be a positive integer");let i=xe(oe(t),Uint8Array.of(0),e),o=parseInt(t.slice(13,16),10),s={hash:`SHA-${t.slice(8,11)}`,iterations:r,name:"PBKDF2",salt:i},a=await PI(n,t);return new Uint8Array(await crypto.subtle.deriveBits(s,a,o))}function _p(e){return xe(Mo(e.length),e)}async function II(e,t,r){let n=t>>3,i=32,o=Math.ceil(n/32),s=new Uint8Array(o*32);for(let a=1;a<=o;a++){let c=await as("sha256",xe(Mo(a),e,r));s.set(c,(a-1)*32)}return s.slice(0,n)}async function av(e,t,r,n,i=new Uint8Array,o=new Uint8Array){rv(e),rv(t,"deriveBits");let s=xe(_p(oe(r)),_p(i),_p(o),Mo(n)),a=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},t,e.algorithm.name==="X25519"?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3));return II(a,n,s)}function cv(e){Zo(e);let t=e.algorithm.namedCurve;if(t!=="P-256"&&t!=="P-384"&&t!=="P-521"&&e.algorithm.name!=="X25519")throw new J("ECDH with the provided key is not allowed or not supported by your javascript runtime")}function yi(e){if(e===void 0)throw new S("JWE Encrypted Key missing")}function nv(e){if(e!==void 0)throw new S("Encountered unexpected JWE Encrypted Key")}async function pv(e,t,r,n,i,o){let s=Ye(e);if(e==="dir")return nv(n),r;switch(s.subtle.name){case"ECDH":{if(e==="ECDH-ES")nv(n);if(!q(i.epk))throw new S('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');cv(r);let a=await pt(s,i.epk),c,p;if(i.apu!==void 0){if(typeof i.apu!=="string")throw new S('JOSE Header "apu" (Agreement PartyUInfo) invalid');c=ge(i.apu,"apu",S)}if(i.apv!==void 0){if(typeof i.apv!=="string")throw new S('JOSE Header "apv" (Agreement PartyVInfo) invalid');p=ge(i.apv,"apv",S)}let u=await av(a,r,e==="ECDH-ES"?t.alg:e,e==="ECDH-ES"?t.cekBits:parseInt(e.slice(-5,-2),10),c,p);if(e==="ECDH-ES")return u;return yi(n),Tp(e.slice(-6),u,n)}case"RSA-OAEP":return yi(n),Zo(r),ov(e,r,"decrypt"),new Uint8Array(await crypto.subtle.decrypt("RSA-OAEP",r,n));case"PBKDF2":{if(yi(n),typeof i.p2c!=="number")throw new S('JOSE Header "p2c" (PBES2 Count) missing or invalid');let a=o||1e4;if(i.p2c>a)throw new S('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof i.p2s!=="string")throw new S('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let c=ge(i.p2s,"p2s",S),p=await sv(c,e,i.p2c,r);return Tp(e.slice(-6),p,n)}case"AES-KW":return yi(n),Tp(e,r,n);case"AES-GCM":{if(yi(n),typeof i.iv!=="string")throw new S('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof i.tag!=="string")throw new S('JOSE Header "tag" (Authentication Tag) missing or invalid');let a;a=ge(i.iv,"iv",S);let c;return c=ge(i.tag,"tag",S),ts(lr(e.slice(0,-2)),r,n,a,c,new Uint8Array)}}}async function ds(e,t,r,n,i={}){let o,s,a,c=Ye(e);if(e==="dir")return[r,void 0,void 0];switch(c.subtle.name){case"ECDH":{cv(r);let{apu:p,apv:u}=i;if(p!==void 0)Ke(p,'"apu"');if(u!==void 0)Ke(u,'"apv"');let l;if(i.epk!==void 0)l=await Xe(c,i.epk,"decrypt");else l=(await crypto.subtle.generateKey(r.algorithm,!0,["deriveBits"])).privateKey;let d=crypto.subtle,m=l;if(!m.extractable){if(typeof d.getPublicKey!=="function")throw TypeError('CryptoKey for "epk" must be extractable');m=await d.getPublicKey(l,[])}let{x:y,y:x,crv:v,kty:h}=await d.exportKey("jwk",m),b=await av(r,l,e==="ECDH-ES"?t.alg:e,e==="ECDH-ES"?t.cekBits:parseInt(e.slice(-5,-2),10),p,u);if(s={epk:{x:y,crv:v,kty:h}},h==="EC")s.epk.y=x;if(p)s.apu=Y(p);if(u)s.apv=Y(u);if(e==="ECDH-ES"){a=b;break}a=n||ct(t);let E=e.slice(-6);o=await Rp(E,b,a);break}case"RSA-OAEP":{a=n||ct(t),Zo(r),ov(e,r,"encrypt"),o=new Uint8Array(await crypto.subtle.encrypt("RSA-OAEP",r,a));break}case"PBKDF2":{a=n||ct(t);let{p2c:p=2048,p2s:u=crypto.getRandomValues(new Uint8Array(16))}=i,l=await sv(u,e,p,r);o=await Rp(e.slice(-6),l,a),s={p2c:p,p2s:Y(u)};break}case"AES-KW":{a=n||ct(t),o=await Rp(e,r,a);break}case"AES-GCM":{a=n||ct(t);let{iv:p}=i,u=await es(lr(e.slice(0,-2)),a,r,p,new Uint8Array);o=u.ciphertext,s={iv:Y(u.iv),tag:Y(u.tag)};break}}return[a,o,s]}var fs=j(()=>{Be();ur();Yr();rn();M();Pe();xi();$e()});function vi(e,t){if(t!==void 0&&(!Array.isArray(t)||t.some((r)=>typeof r!=="string")))throw TypeError(`"${e}" option must be an array of strings`);if(!t)return;return new Set(t)}function hs(e,t){let{crit:r}=t??{};if(Array.isArray(r)&&new Set(r).size!==r.length)throw new e('"crit" (Critical) Header Parameter MUST NOT contain duplicate values')}function xt(e,t,r,n,i){if(i.crit!==void 0&&n?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||n.crit===void 0)return[];if(!Array.isArray(n.crit)||n.crit.length===0||n.crit.some((s)=>typeof s!=="string"||s.length===0))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let o=r===void 0?t:{__proto__:null,...r,...t};for(let s of n.crit){if(!(s in o))throw new J(`Extension Header Parameter "${s}" is not recognized`);if(!Object.hasOwn(i,s)||i[s]===void 0)throw new e(`Extension Header Parameter "${s}" is missing`);if(o[s]&&(!Object.hasOwn(n,s)||n[s]===void 0))throw new e(`Extension Header Parameter "${s}" MUST be integrity protected`)}return n.crit}function on(e,t){if(t.includes("b64")){let r=e.b64;if(typeof r!=="boolean")throw new P('The "b64" (base64url-encode payload) Header Parameter must be a boolean');return r}return!0}function dr(e,t){let r,n;try{r=JSON.stringify(t),n=JSON.parse(r)}catch(i){throw new e("JOSE Header is not valid JSON",{cause:i})}if(!q(n))throw new e("JOSE Header is not a JSON object");return[n,r]}var nn,ms;var sn=j(()=>{M();nn={__proto__:null,b64:!0},ms={__proto__:null}});function xs(e,t){if(e.zip!==void 0&&e.zip!=="DEF")throw new J('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value.');if(e.zip!==void 0&&!t?.zip)throw new S('JWE "zip" (Compression Algorithm) Header Parameter MUST be in a protected header.')}function uv(e){if(typeof globalThis[e]>"u")throw new J(`JWE "zip" (Compression Algorithm) Header Parameter requires the ${e} API.`)}async function lv(e){uv("CompressionStream");let t=new CompressionStream("deflate-raw"),r=t.writable.getWriter();r.write(e).catch(()=>{}),r.close().catch(()=>{});let n=[],i=t.readable.getReader();for(;;){let{value:o,done:s}=await i.read();if(s)break;n.push(o)}return xe(...n)}async function dv(e,t){uv("DecompressionStream");let r=new DecompressionStream("deflate-raw"),n=r.writable.getWriter();n.write(e).catch(()=>{}),n.close().catch(()=>{});let i=[],o=0,s=r.readable.getReader();for(;;){let{value:a,done:c}=await s.read();if(c)break;if(i.push(a),o+=a.byteLength,t!==1/0&&o>t)throw new S("Decompressed plaintext exceeded the configured limit")}return xe(...i)}var kp=j(()=>{M();$e()});function gs(e){let{aad:t,ciphertext:r,iv:n,protected:i,tag:o,unprotected:s}=e;if(n!==void 0&&typeof n!=="string")throw new S("JWE Initialization Vector incorrect type");if(typeof r!=="string")throw new S("JWE Ciphertext missing or incorrect type");if(o!==void 0&&typeof o!=="string")throw new S("JWE Authentication Tag incorrect type");if(i!==void 0&&typeof i!=="string")throw new S("JWE Protected Header incorrect type");if(t!==void 0&&(typeof t!=="string"||!t))throw new S("JWE AAD incorrect type");if(s!==void 0&&!q(s))throw new S("JWE Shared Unprotected Header incorrect type");return{aad:t,ciphertext:r,iv:n,protected:i,tag:o,unprotected:s===void 0?void 0:{...s}}}function ys(e){let t,r;try{let{header:n}=e;if(q(n)){r=n.alg;let i=Object.keys(n);if(!i.includes("alg"))r=void 0;t=Object.fromEntries(i.map((o)=>[o,o==="alg"?r:n[o]]))}else t=n}catch(n){return[void 0,r,n]}try{let{encrypted_key:n}=e;return[{encrypted_key:n,header:t},r]}catch(n){return[void 0,r,n]}}function vs(e){let{encrypted_key:t,header:r}=e;if(t!==void 0&&typeof t!=="string")throw new S("JWE Encrypted Key incorrect type");if(r!==void 0){if(!q(r))throw new S("JWE Per-Recipient Unprotected Header incorrect type")}if(e.protected===void 0&&r===void 0&&e.unprotected===void 0)throw new S("JOSE Header missing")}function Op(e){let{protected:t,ciphertext:r,iv:n,tag:i,aad:o}=e,s;if(t!==void 0)s=Et(t,S,"JWE Protected Header is invalid");let a=t!==void 0?oe(t):new Uint8Array;return[s,ge(r,"ciphertext",S),n!==void 0?ge(n,"iv",S):void 0,i!==void 0?ge(i,"tag",S):void 0,o!==void 0?xe(a,oe("."),ss(o,"aad",S)):a]}function bs(e,t){let[r,n,i,o]=t,{protected:s,aad:a,unprotected:c,header:p}=e,u={plaintext:r};if(s!==void 0)u.protectedHeader=n;if(a!==void 0)u.additionalAuthenticatedData=ge(a,"aad",S);if(c!==void 0)u.sharedUnprotectedHeader=c;if(p!==void 0)u.unprotectedHeader=p;if(o)return{...u,key:i};return u}function Ut(e){return[e&&vi("keyManagementAlgorithms",e.keyManagementAlgorithms),e&&vi("contentEncryptionAlgorithms",e.contentEncryptionAlgorithms),e?.crit,e?.maxPBES2Count,e?.maxDecompressedLength]}async function Cp(e,t,r,n){let[i]=t,{header:o,unprotected:s}=e,a;if(o!==void 0||s!==void 0){if(!Dt(i,o,s))throw new S("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");a={...i,...o,...s}}else a=i??{};return fv(e,t,r,n,a)}async function fv(e,t,r,n,i){let[o,s,a,c,p]=r,[u,l,d,m,y]=t,{encrypted_key:x}=e;xt(S,ms,a,u,i),xs(i,u);let{alg:v,enc:h}=i;if(typeof v!=="string"||!v)throw new S("missing JWE Algorithm (alg) in JWE Header");if(typeof h!=="string"||!h)throw new S("missing JWE Encryption Algorithm (enc) in JWE Header");if(o&&!o.has(v)||!o&&v.startsWith("PBES2"))throw new cr('"alg" (Algorithm) Header Parameter value not allowed');if(s&&!s.has(h))throw new cr('"enc" (Encryption Algorithm) Header Parameter value not allowed');let b=lr(h),E;if(x!==void 0)E=ge(x,"encrypted_key",S);let A=!1;if(typeof n==="function")n=await n(u,e),A=!0;let O=Ye(v),C=await Xe(v==="dir"?b:O,n,"decrypt"),K;try{if(K=await pv(v,b,C,E,i,c),x!==void 0&&K instanceof Uint8Array&&K.byteLength<<3!==b.cekBits)K=ct(b)}catch(F){if(F instanceof TypeError||F instanceof S||F instanceof J)throw F;K=ct(b)}let te=await ts(b,K,l,d,m,y);if(i.zip==="DEF"){let F=p??250000;if(F===0)throw new J('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');if(F!==1/0&&(!Number.isSafeInteger(F)||F<1))throw TypeError("maxDecompressedLength must be 0, a positive safe integer, or Infinity");te=await dv(te,F).catch((I)=>{if(I instanceof S)throw I;throw new S("Failed to decompress plaintext",{cause:I})})}return[te,u,C,A]}async function mv(e,t,r){return Cp(e,Op(e),t,r)}async function ws(e,t,r){if(e instanceof Uint8Array)e=ar.decode(e);if(typeof e!=="string")throw new S("Compact JWE must be a string or Uint8Array");let{0:n,1:i,2:o,3:s,4:a,length:c}=e.split(".");if(c!==5)throw new S("Invalid Compact JWE");let p={ciphertext:s,iv:o||void 0,protected:n,tag:a||void 0,encrypted_key:i||void 0},u=Et(n,S,"JWE Protected Header is invalid"),l=oe(n),d=[u,ge(s,"ciphertext",S),o?ge(o,"iv",S):void 0,a?ge(a,"tag",S):void 0,l];return fv(p,d,t,r,u)}var bi=j(()=>{xi();Pe();M();fs();$e();sn();ur();rn();kp()});async function hv(e,t,r){let n=await ws(e,Ut(r),t),i={plaintext:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[2]};return i}var xv=j(()=>{bi()});async function gv(e,t,r){if(!q(e))throw new S("Flattened JWE must be an object");let n=gs(e),[i,,o]=ys(e);if(!i)throw o;let s={...n,...i};return vs(s),bs(s,await mv(s,Ut(r),t))}var yv=j(()=>{M();bi()});async function vv(e,t,r){if(!q(e))throw new S("General JWE must be an object");let n=e.recipients;if(!Array.isArray(n))throw new S("JWE Recipients missing or incorrect type");let i=Array.from(n);if(!i.every(q))throw new S("JWE Recipients missing or incorrect type");if(!i.length)throw new S("JWE Recipients has no members");let o,s,a;try{o=Ut(r),s=gs(e),a=Op(s)}catch{throw new qt}let c=i.map((p)=>ys(p));if(i.length>1)for(let[,p]of c){let u=a[0]?.alg??p??s.unprotected?.alg;if(u==="dir"||u==="ECDH-ES")throw new S(`"${u}" alg may only have a single recipient`)}for(let[p]of c){if(!p)continue;try{let u={...s,...p};return vs(u),bs(u,await Cp(u,a,o,t))}catch{}}throw new qt}var bv=j(()=>{bi();M()});function Es(e,t,r){if(!Dt(e,t,r))throw new S("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}function Pp(e){let[,t,r,n,i,o,s,a,c]=e;if(i!==void 0)Ke(i,"JWE Additional Authenticated Data");if(o!==void 0)Ke(o,"JWE Content Encryption Key");if(s!==void 0)Ke(s,"JWE Initialization Vector");if(t!==void 0)t=dr(S,t)[0],e[1]=t;if(r!==void 0)r=dr(S,r)[0],e[2]=r;if(n!==void 0)n=dr(S,n)[0],e[3]=n;if(a!==void 0&&!q(a))throw TypeError("JWE Key Management Parameters must be an object");Es(t,r,n);let p={...t,...r,...n};hs(S,t),xt(S,ms,c,t,p),xs(p,t);let{alg:u,enc:l}=p;if(typeof u!=="string"||!u)throw new S('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof l!=="string"||!l)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');return[p,u,l,lr(l)]}async function Ip(e,t,r){let[n,i,,o]=t,[s,a,c,p,u,l,d,m,,y]=e,x=a,v=c;if(l&&(i==="dir"||i==="ECDH-ES"))throw TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${i}`);let h=Ye(i),b=await Xe(i==="dir"?o:h,r,"encrypt"),[E,A,O]=await ds(i,o,b,l,m);if(O){if(y)v=v?{...v,...O}:O;else x=x?{...x,...O}:O;Es(x,v,p)}let C,K;if(x)C=Y(JSON.stringify(x)),K=oe(C);else C="",K=new Uint8Array;let te,F;if(u?.byteLength)F=Y(u),te=xe(K,oe("."),oe(F));else te=K;let I=s;if(n.zip==="DEF")I=await lv(I).catch((et)=>{throw new S("Failed to compress plaintext",{cause:et})});let{ciphertext:me,tag:gt,iv:Qe}=await es(o,I,E,d,te),V={ciphertext:Y(me)};if(Qe)V.iv=Y(Qe);if(gt)V.tag=Y(gt);if(A)V.encrypted_key=Y(A);if(F)V.aad=F;if(x)V.protected=C;if(p)V.unprotected=p;if(v)V.header=v;return V}async function Ft(e,t,r){if(!e[1]&&!e[2]&&!e[3])throw new S("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(r!==void 0)e[8]=r?.crit,e[9]=r?Vy in r:!1;return Ip(e,Pp(e),t)}var wi=j(()=>{Be();xi();fs();M();$e();sn();ur();rn();kp();Pe()});class Ev{#e;state;constructor(e,t,r){this.#e=e,this.state=[void 0,void 0,t,r]}setUnprotectedHeader(e){return G(this.state[0],"setUnprotectedHeader"),this.state[0]=e,this}setKeyManagementParameters(e){return G(this.state[1],"setKeyManagementParameters"),this.state[1]=e,this}addRecipient(...e){return this.#e.addRecipient(...e)}encrypt(...e){return this.#e.encrypt(...e)}done(){return this.#e}}function wv(e,t,r){let{aad:n,protected:i,unprotected:o,header:s}=e;if(n)t.aad=n;if(i)t.protected=i;if(o)t.unprotected=o;if(s)r.header=s}class jp{#e;#t=[];#n;#o;#s;constructor(e){this.#e=e}addRecipient(e,t){let r=new Ev(this,e,t?.crit);return this.#t.push(r),r}setProtectedHeader(e){return G(this.#n,"setProtectedHeader"),this.#n=e,this}setSharedUnprotectedHeader(e){return G(this.#o,"setSharedUnprotectedHeader"),this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#s=e,this}async encrypt(){if(!this.#t.length)throw new S("at least one recipient must be added");if(Ke(this.#e,"plaintext"),this.#t.length===1){let[a,c,p,u]=this.#t[0].state,l=await Ft([this.#e,this.#n,a,this.#o,this.#s,void 0,void 0,c,u,!1],p),d={ciphertext:l.ciphertext,iv:l.iv,recipients:[{}],tag:l.tag};if(l.encrypted_key)d.recipients[0].encrypted_key=l.encrypted_key;return wv(l,d,d.recipients[0]),d}let e,t=this.#n,r=this.#o,n=[],i=[];for(let a=0;a<this.#t.length;a++){let c=this.#t[a],[p,u,,l]=c.state,d=[this.#e,t,p,r,this.#s,void 0,void 0,u,l,!0],m=Pp(d);if(n.push(d),i.push(m),a===0)t=d[1],r=d[3];if(m[1]==="dir"||m[1]==="ECDH-ES")throw new S(`"${m[1]}" alg may only have a single recipient`);if(!e)e=m[2];else if(e!==m[2])throw new S('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}let o=ct(i[0][3]),s={ciphertext:"",recipients:[]};for(let a=0;a<this.#t.length;a++){let c=this.#t[a],[,p,u]=c.state,l={};if(s.recipients.push(l),a===0){n[0][5]=o;let b=await Ip(n[0],i[0],u);s.ciphertext=b.ciphertext,s.iv=b.iv,s.tag=b.tag,l.encrypted_key=b.encrypted_key,wv(b,s,l);continue}let[,d,,m]=i[a],y=n[a][2],x=await Xe(Ye(d),u,"encrypt"),[,v,h]=await ds(d,m,x,o,p);if(l.encrypted_key=Y(v),y||h){let b={...y,...h};if(h)Es(n[a][1],b,n[a][3]);l.header=b}}return s}}var Sv=j(()=>{Pe();M();xi();fs();Be();wi();ur();rn()});async function Av(e,t,r){if(t instanceof Uint8Array)return crypto.subtle.importKey("raw",t,e.subtle,!1,[r]);if(wt(t,e.subtle,r),e.minRsaBits)Vo(e.alg,t);return t}async function Rv(e,t,r){let n=await Av(e,t,"sign"),i=await crypto.subtle.sign(e.signing,n,r);return new Uint8Array(i)}async function Tv(e,t,r,n){let i=await Av(e,t,"verify");try{return await crypto.subtle.verify(e.signing,i,r,n)}catch{return!1}}var Lp=()=>{};function Np(e){let t={name:"HMAC",hash:`SHA-${e}`};return{kty:["oct"],secret:!0,subtle:t,signing:t,usages:Ei}}function an(e,t){let n={name:t?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:`SHA-${e}`};return{kty:["RSA"],subtle:n,signing:t?{...n,saltLength:t}:n,usages:Ei,minRsaBits:2048}}function qp(e,t){return{kty:["EC"],crv:e,subtle:{name:"ECDSA",namedCurve:e},signing:{name:"ECDSA",hash:`SHA-${t}`},usages:Ei}}function _v(){let e={name:"Ed25519"};return{kty:["OKP"],crv:"Ed25519",subtle:e,signing:e,usages:Ei}}function Dp(e){let r={name:`ML-DSA-${e}`};return{kty:["AKP"],subtle:r,signing:r,usages:Ei}}function cn(e){let t=typeof e==="string"?Si[e]:void 0;if(!t)throw new J(`alg ${e} is not supported either by JOSE or your javascript runtime`);return t}var Ei,Si;var pn=j(()=>{M();Ei=[["verify"],["sign"]];Si=gi({HS256:Np(256),HS384:Np(384),HS512:Np(512),RS256:an(256),RS384:an(384),RS512:an(512),PS256:an(256,32),PS384:an(384,48),PS512:an(512,64),ES256:qp("P-256",256),ES384:qp("P-384",384),ES512:qp("P-521",512),EdDSA:_v(),Ed25519:_v(),"ML-DSA-44":Dp(44),"ML-DSA-65":Dp(65),"ML-DSA-87":Dp(87)})});function Ss(e,t){let{protected:r,header:n}=e,i=q(n)?{...n}:n,o=t?t[0]:e.payload;if(!t&&o instanceof Uint8Array)o=new Uint8Array(o);let s=e.signature,a={payload:o,signature:s};if(r!==void 0)a.protected=r;if(n!==void 0)a.header=i;return a}function As(e,t){let[r,n,,i,o]=t,s={payload:r};if(e.protected!==void 0)s.protectedHeader=n;if(e.header!==void 0)s.unprotectedHeader=e.header;if(o)return{...s,key:i};return s}function $t(e){return[e&&vi("algorithms",e.algorithms),e?.crit]}function Rs(e,t=e===void 0?{}:Et(e,P,"JWS Protected Header is invalid")){return t}function kv(e,t,r){let n=on(e,xt(P,nn,r[1],e,t)),i=t.alg;if(typeof i!=="string"||!i)throw new P('JWS "alg" (Algorithm) Header Parameter missing or invalid');if(r[0]&&!r[0].has(i))throw new cr('"alg" (Algorithm) Header Parameter value not allowed');return[n,i]}function jI(e,t,r,n){let i=Rs(e,n),o;if(t!==void 0){if(!Dt(i,t))throw new P("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");o={...i,...t}}else o=i;return[i,o,...kv(i,o,r)]}function Ts(e){let t=/[\p{Cs}\p{Cn}]/u.exec(e)?.[0];if(t!==void 0)throw new P(/\p{Cs}/u.test(t)?"JWS Payload must be a well-formed Unicode string":"JWS Payload must not contain unassigned Unicode code points");return Gr.encode(e)}function LI(e){try{return oe(e)}catch{throw new P("JWS Compact Serialization payload must use only ASCII characters")}}async function Ov(e,t,r,n,i,o,s){let a=!1;if(typeof r==="function")r=await r(i,e),a=!0;let c=typeof s==="string",p=cn(o),u=xe(n!==void 0?oe(n):new Uint8Array,oe("."),c?t[2]??=ss(s,"payload",P):s),l=ge(e.signature,"signature",P),d=await Xe(p,r,"verify");if(!await Tv(p,d,l,u))throw new pr;return[c?ge(s,"payload",P):s,i,c,d,a]}async function _s(e,t,r,n,i){let{protected:o,header:s,payload:a}=e,[c,,p,u]=jI(o,s,t,i);if(p){if(typeof a!=="string")throw new P("JWS Payload must be a string")}else if(typeof a!=="string"&&!(a instanceof Uint8Array))throw new P("JWS Payload must be a string or an Uint8Array instance");let l=p||typeof a!=="string"?a:n(a);return Ov(e,t,r,o,c,u,l)}async function ks(e,t,r){if(e instanceof Uint8Array)e=ar.decode(e);if(typeof e!=="string")throw new P("Compact JWS must be a string or Uint8Array");let{0:n,1:i,2:o,length:s}=e.split(".");if(s!==3)throw new P("Invalid Compact JWS");let a={payload:i,protected:n,signature:o},c=Rs(n),[p,u]=kv(c,c,t),l=p?i:LI(i);return Ov(a,t,r,n,c,u,l)}var Ai=j(()=>{Lp();pn();M();$e();Pe();sn();ur()});async function Cv(e,t,r){let n=await ks(e,$t(r),t),i={payload:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[3]};return i}var Pv=j(()=>{Ai()});async function Iv(e,t,r){if(!q(e))throw new P("Flattened JWS must be an object");let n=Ss(e);if(n.protected===void 0&&n.header===void 0)throw new P('Flattened JWS must have either of the "protected" or "header" members');if(n.protected!==void 0&&typeof n.protected!=="string")throw new P("JWS Protected Header incorrect type");if(n.payload===void 0)throw new P("JWS Payload missing");if(typeof n.signature!=="string")throw new P("JWS Signature missing or incorrect type");if(n.header!==void 0&&!q(n.header))throw new P("JWS Unprotected Header incorrect type");return As(n,await _s(n,$t(r),t,Ts))}var jv=j(()=>{M();Ai()});function NI(e,t){try{let r=Ss(e,[t]),{protected:n,header:i,signature:o}=r;if(n===void 0&&i===void 0)return;if(n!==void 0&&typeof n!=="string")return;if(typeof o!=="string")return;if(i!==void 0&&!q(i))return;let s=Rs(n),{b64:a,crit:c}=s;return[r,s,Array.isArray(c)&&c.includes("b64")?typeof a==="boolean"?a?1:2:0:1]}catch{return}}async function Lv(e,t,r){if(!q(e))throw new P("General JWS must be an object");let{signatures:n,payload:i}=e;if(!Array.isArray(n))throw new P("JWS Signatures missing or incorrect type");let o=Array.from(n);if(!o.every(q))throw new P("JWS Signatures missing or incorrect type");let s;try{if(i===void 0)throw Error();s=$t(r)}catch{throw new pr}let a=i instanceof Uint8Array?new Uint8Array(i):i,c=o.map((u)=>NI(u,a)).filter((u)=>u!==void 0),p=0;for(let[,,u]of c)if(p|=u,p===3)throw new P("inconsistent use of JWS Unencoded Payload (RFC7797)");for(let u of c)try{return As(u[0],await _s(u[0],s,t,Ts,u[1]))}catch{}throw new pr}var Nv=j(()=>{Ai();M()});function Up(){throw TypeError("Invalid time period format")}function Os(e){if(typeof e!=="string")Up();let t=DI.exec(e);if(!t||t[4]&&t[1])Up();let r=parseFloat(t[2]),n=Math.round(r*qI[t[3][0].toLowerCase()]);if(!Number.isFinite(n))Up();if(t[1]==="-"||t[4]==="ago")return-n;return n}function ln(e,t){if(!Number.isFinite(t))throw TypeError(`Invalid ${e} input`);return t}function Fp(e,t){if(typeof t!=="string")throw TypeError(`"${e}" claim must be a string`)}function UI(e){if(typeof e!=="string"&&(!Array.isArray(e)||Array.from(e).some((t)=>typeof t!=="string")))throw TypeError('"aud" claim must be a string or an array of strings')}function $p(e,t){if(typeof e==="number")return ln(t,e);if(e instanceof Date)return ln(t,Ri(e));return Ri(new Date)+Os(e)}function Bp(e,t,r=!1){let n=e[t];if(n===void 0&&!r)return;if(typeof n!=="number")throw new st(`"${t}" claim must be a number`,e,t,"invalid");return n}function Kp(e,t){throw new st(`unexpected "${t}" claim value`,e,t,un)}function dn(e,t,r={}){let n;try{n=JSON.parse(Vr.decode(t))}catch{}if(!q(n))throw new ce("JWT Claims Set must be a top-level JSON object");let{typ:i}=r;if(i!==void 0&&(typeof e.typ!=="string"||qv(e.typ)!==qv(i)))throw new st('unexpected "typ" JWT header value',n,"typ",un);let{requiredClaims:o=[],issuer:s,subject:a,audience:c,maxTokenAge:p}=r,u=[...o];if(p!==void 0)u.push("iat");if(c!==void 0)u.push("aud");if(a!==void 0)u.push("sub");if(s!==void 0)u.push("iss");for(let b of new Set(u.reverse()))if(!Object.hasOwn(n,b))throw new st(`missing required "${b}" claim`,n,b,"missing");if(s!==void 0&&!(Array.isArray(s)?s:[s]).includes(n.iss))Kp(n,"iss");if(a!==void 0&&n.sub!==a)Kp(n,"sub");if(c!==void 0&&!FI(n.aud,typeof c==="string"?[c]:c))Kp(n,"aud");let{clockTolerance:l}=r,d=0;if(typeof l==="string")d=Os(l);else if(l!==void 0){if(typeof l!=="number")throw TypeError("Invalid clockTolerance option type");d=l}ln("clockTolerance option",d);let{currentDate:m}=r,y=ln("currentDate option",Ri(m===void 0?new Date:m)),x=Bp(n,"iat",p!==void 0),v=Bp(n,"nbf");if(v!==void 0){if(v>y+d)throw new st('"nbf" claim timestamp check failed',n,"nbf",un)}let h=Bp(n,"exp");if(h!==void 0){if(h<=y-d)throw new di('"exp" claim timestamp check failed',n,"exp",un)}if(p!==void 0){let b=y-x,E=ln("maxTokenAge option",typeof p==="number"?p:Os(p));if(b-d>E)throw new di('"iat" claim timestamp check failed (too far in the past)',n,"iat",un);if(b<-d)throw new st('"iat" claim timestamp check failed (it should be in the past)',n,"iat",un)}return n}function St(e){return Dv.get(e)}function fn(e){let t=St(e);for(let r of["iat","nbf","exp"]){let n=t[r];if(typeof n==="number"&&!Number.isFinite(n))throw TypeError(`"${r}" claim must be a finite number`)}return Gr.encode(JSON.stringify(t))}function Cs(e,t){return St(e)[t]}class fr{constructor(e={}){if(!q(e))throw TypeError("JWT Claims Set MUST be an object");(Dv||=new WeakMap).set(this,structuredClone(e))}setIssuer(e){return Fp("iss",e),St(this).iss=e,this}setSubject(e){return Fp("sub",e),St(this).sub=e,this}setAudience(e){return UI(e),St(this).aud=e,this}setJti(e){return Fp("jti",e),St(this).jti=e,this}setNotBefore(e){return St(this).nbf=$p(e,"setNotBefore"),this}setExpirationTime(e){return St(this).exp=$p(e,"setExpirationTime"),this}setIssuedAt(e){let t=St(this);if(e===void 0)t.iat=Ri(new Date);else if(typeof e==="string")t.iat=ln("setIssuedAt",Ri(new Date)+Os(e));else t.iat=$p(e,"setIssuedAt");return this}}var Ri=(e)=>Math.floor(e.getTime()/1000),qI,DI,un="check_failed",qv=(e)=>{let t=e.toLowerCase();return e.includes("/")?t:`application/${t}`},FI=(e,t)=>{if(typeof e==="string")return t.includes(e);if(Array.isArray(e))return t.some((r)=>e.includes(r));return!1},Dv;var mn=j(()=>{M();$e();qI={s:1,m:60,h:3600,d:86400,w:604800,y:31557600},DI=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i});async function Uv(e,t,r){let n=await ks(e,$t(r),t);if(!n[2])throw new ce("JWTs MUST NOT use unencoded payload");let o={payload:dn(n[1],n[0],r),protectedHeader:n[1]};if(typeof t==="function")return{...o,key:n[3]};return o}var Fv=j(()=>{Ai();mn();M()});async function $v(e,t,r){let n=await ws(e,Ut(r),t),i=n[1],o=dn(i,n[0],r);for(let a of["iss","sub","aud"])if(i[a]!==void 0&&(a==="aud"?JSON.stringify(i.aud)!==JSON.stringify(o.aud):i[a]!==o[a]))throw new st(`replicated "${a}" claim header parameter mismatch`,o,a,"mismatch");let s={payload:o,protectedHeader:i};if(typeof t==="function")return{...s,key:n[2]};return s}var Bv=j(()=>{bi();mn();M()});class Hp{#e;#t;#n;#o;#s;constructor(e){Ke(e,"plaintext"),this.#e=e}setContentEncryptionKey(e){return G(this.#n,"setContentEncryptionKey"),this.#n=e,this}setInitializationVector(e){return G(this.#o,"setInitializationVector"),this.#o=e,this}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}setKeyManagementParameters(e){return G(this.#s,"setKeyManagementParameters"),this.#s=e,this}async encrypt(e,t){let r=await Ft([this.#e,this.#t,void 0,void 0,void 0,this.#n,this.#o,this.#s,void 0,!1],e,t);return[r.protected,r.encrypted_key,r.iv,r.ciphertext,r.tag].join(".")}}var Kv=j(()=>{Pe();wi()});class Jp{#e;#t;#n;#o;#s;#x;#g;#f;constructor(e){Ke(e,"plaintext"),this.#e=e}setKeyManagementParameters(e){return G(this.#f,"setKeyManagementParameters"),this.#f=e,this}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}setSharedUnprotectedHeader(e){return G(this.#n,"setSharedUnprotectedHeader"),this.#n=e,this}setUnprotectedHeader(e){return G(this.#o,"setUnprotectedHeader"),this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#s=e,this}setContentEncryptionKey(e){return G(this.#x,"setContentEncryptionKey"),this.#x=e,this}setInitializationVector(e){return G(this.#g,"setInitializationVector"),this.#g=e,this}async encrypt(e,t){return Ft([this.#e,this.#t,this.#o,this.#n,this.#s,this.#x,this.#g,this.#f,void 0,!1],e,t)}}var Hv=j(()=>{Pe();wi()});function Jv(e){if(e===void 0)return[void 0,""];let t=dr(P,e);return[t[0],Y(t[1])]}function Wv(e,t,r){return hs(P,e),on(e,xt(P,nn,r,e,t))}function zv(e){let t=e.alg;if(typeof t!=="string"||!t)throw new P('JWS "alg" (Algorithm) Header Parameter missing or invalid');return cn(t)}async function Mv(e,t,r,n){let i=xe(oe(e),oe("."),t),o=await Xe(r,n,"sign");return Y(await Rv(r,o,i))}async function Ps(e,t,r){let{protectedHeader:n,unprotectedHeader:i}=e,o;if([n,o]=Jv(n),i!==void 0)i=dr(P,i)[0];if(!n&&!i)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Dt(n,i))throw new P("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let s={...n,...i},a=Wv(n,s,e.crit);r?.(a);let c=zv(s),p,u;if(a){let d=e.encoded??=[];d[0]??=Y(e.payload),d[1]??=oe(d[0]),p=d[0],u=d[1]}else u=e.payload,p="";let l={signature:await Mv(o,u,c,t),payload:p};if(n)l.protected=o;if(i)l.header=i;return[l,a]}async function Is(e,t,r,n,i){let[o,s]=Jv(t);if(!o)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Wv(o,o,r))i();let c=zv(o),p=Y(e),u=await Mv(s,oe(p),c,n);return`${s}.${p}.${u}`}var Ti=j(()=>{Be();Lp();pn();M();$e();sn();ur()});class Wp{#e;#t;constructor(e){if(!(e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#e=e}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}async sign(e,t){return Is(this.#e,this.#t,t?.crit,e,()=>{throw TypeError("use the flattened module for creating JWS with b64: false")})}}var Gv=j(()=>{Ti();Pe()});class zp{#e;#t;#n;constructor(e){if(!(e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#e=e}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}setUnprotectedHeader(e){return G(this.#n,"setUnprotectedHeader"),this.#n=e,this}async sign(e,t){let[r]=await Ps({payload:this.#e,protectedHeader:this.#t,unprotectedHeader:this.#n,crit:t?.crit},e);return r}}var Vv=j(()=>{Ti();Pe()});class Xv{#e;state;constructor(e,t,r){this.#e=e,this.state=[void 0,void 0,t,r?.crit]}setProtectedHeader(e){return G(this.state[0],"setProtectedHeader"),this.state[0]=e,this}setUnprotectedHeader(e){return G(this.state[1],"setUnprotectedHeader"),this.state[1]=e,this}addSignature(...e){return this.#e.addSignature(...e)}sign(...e){return this.#e.sign(...e)}done(){return this.#e}}class Mp{#e;#t=[];constructor(e){this.#e=e}addSignature(e,t){let r=new Xv(this,e,t);return this.#t.push(r),r}async sign(){if(!this.#t.length)throw new P("at least one signature must be added");if(!(this.#e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");let e={signatures:[],payload:""},t=[],r;for(let n=0;n<this.#t.length;n++){let i=this.#t[n],[o,s,a,c]=i.state,[{payload:p,...u},l]=await Ps({payload:this.#e,protectedHeader:o,unprotectedHeader:s,crit:c,encoded:t},a);if(r===void 0)r=l,e.payload=p;else if(r!==l)throw new P("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(u)}return e}}var Yv=j(()=>{Ti();M();Pe()});var $I,Gp;var Zv=j(()=>{Ti();M();mn();Pe();$I=fr;Gp=class Gp extends $I{#e;setProtectedHeader(e){return G(this.#e,"setProtectedHeader"),this.#e=e,this}async sign(e,t){return Is(fn(this),this.#e,t?.crit,e,()=>{throw new ce("JWTs MUST NOT use unencoded payload")})}}});var BI,Vp;var Qv=j(()=>{wi();mn();Pe();BI=fr;Vp=class Vp extends BI{#e;#t;#n;#o;#s;#x;#g;setProtectedHeader(e){return G(this.#o,"setProtectedHeader"),this.#o=e,this}setKeyManagementParameters(e){return G(this.#n,"setKeyManagementParameters"),this.#n=e,this}setContentEncryptionKey(e){return G(this.#e,"setContentEncryptionKey"),this.#e=e,this}setInitializationVector(e){return G(this.#t,"setInitializationVector"),this.#t=e,this}replicateIssuerAsHeader(){return this.#s=!0,this}replicateSubjectAsHeader(){return this.#x=!0,this}replicateAudienceAsHeader(){return this.#g=!0,this}async encrypt(e,t){let r=fn(this);if(this.#o&&(this.#s||this.#x||this.#g))this.#o={...this.#o,iss:this.#s?Cs(this,"iss"):void 0,sub:this.#x?Cs(this,"sub"):void 0,aud:this.#g?Cs(this,"aud"):void 0};let n=await Ft([r,this.#o,void 0,void 0,void 0,this.#e,this.#t,this.#n,void 0,!1],e,t);return[n.protected,n.encrypted_key,n.iv,n.ciphertext,n.tag].join(".")}}});function mr(e='JWK "alg" (Algorithm) Parameter'){throw new J(`Invalid or unsupported ${e} value`)}function hr(e,t){return(typeof e==="string"?Si[e]??Ap[e]:void 0)??mr(t)}var Bt='"alg" (Algorithm)';var _i=j(()=>{M();pn();rn()});function Kt(e){if(e!==void 0&&typeof e!=="boolean")throw TypeError('"extractable" option must be a boolean');return e}function JI(e,t){if(Ht(e,48,`Invalid ${t==="spki"?"SPKI":"PKCS#8"} structure`),At(e),t==="pkcs8"){Ht(e,2,"Expected version field");let r=At(e);e.pos+=r}Ht(e,48,"Expected algorithm identifier"),At(e)}function zI(e){let t=ib(e);Ht(t,48,"Invalid certificate structure");let r=At(t);if(r<0||t.pos+r>t.data.length)throw Error("Unexpected end of ASN.1 input");if(Ht(t,48,"Invalid tbsCertificate structure"),At(t),e[t.pos]===160)eb(t,6);else eb(t,5);let n=t.pos;Ht(t,48,"Invalid SPKI structure");let i=At(t);return e.subarray(n,n+i+(t.pos-n))}var KI=(e,t)=>{let r=(e.match(/.{1,64}/g)||[]).join(`
26
+ `);return`-----BEGIN ${t}-----
27
+ ${r}
28
+ -----END ${t}-----`},tb=async(e,t,r)=>{if(hi(r)){if(r.type!==e)throw TypeError(`key is not a ${e} key`);return r.export({format:"pem",type:t})}if(!at(r))throw TypeError(ot(r,"CryptoKey","KeyObject"));if(!r.extractable)throw TypeError("CryptoKey is not extractable");if(r.type!==e)throw TypeError(`key is not a ${e} key`);return KI(rs(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},rb=(e)=>tb("public","spki",e),nb=(e)=>tb("private","pkcs8",e),ki=(e,t)=>{if(e.byteLength!==t.length)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},ib=(e)=>({data:e,pos:0}),Xp=(e)=>{let t=e.data[e.pos++];if(t===void 0)throw Error("Unexpected end of ASN.1 input");return t},At=(e)=>{let t=Xp(e);if(t&128){let r=t&127,n=0;for(let i=0;i<r;i++)n=n<<8|Xp(e);return n}return t},eb=(e,t=1)=>{while(t-- >0){e.pos++;let r=At(e);e.pos+=r}},Ht=(e,t,r)=>{if(Xp(e)!==t)throw Error(r)},ob=(e,t)=>{if(t<0||e.pos+t>e.data.length)throw Error("Unexpected end of ASN.1 input");let r=e.data.subarray(e.pos,e.pos+t);return e.pos+=t,r},HI=(e)=>{Ht(e,6,"Expected algorithm OID");let t=At(e);return ob(e,t)},WI=(e)=>{let t=HI(e);if(ki(t,[43,101,110]))return"X25519";if(!ki(t,[42,134,72,206,61,2,1]))throw Error("Unsupported key algorithm");Ht(e,6,"Expected curve OID");let r=At(e),n=ob(e,r);if(ki(n,[42,134,72,206,61,3,1,7]))return"P-256";if(ki(n,[43,129,4,0,34]))return"P-384";if(ki(n,[43,129,4,0,35]))return"P-521";throw Error("Unsupported named curve")},Yp=async(e,t,r,n)=>{let i=Kt(n?.extractable),o=hr(r,Bt);if(o.secret)mr(Bt);let s=e==="spki",a;if(o.resolve)try{let c=ib(t);JI(c,e),a=o.resolve({crv:WI(c)})}catch{throw new J("Invalid or unsupported key format")}else a=o.subtle;return crypto.subtle.importKey(e,t,a,i??s,o.usages[s?0:1])},Zp=(e,t)=>ns(e.replace(t,"")),sb=(e,t,r)=>{let n=Zp(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);return Yp("pkcs8",n,t,r)},ab=(e,t,r)=>{let n=Zp(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);return Yp("spki",n,t,r)},cb=(e,t,r)=>{let n;try{let i=Zp(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g);n=zI(i)}catch(i){throw TypeError("Failed to parse the X.509 certificate",{cause:i})}return Yp("spki",n,t,r)};var Qp=j(()=>{M();_i()});function MI(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}async function GI(e){if(hi(e))if(e.type==="secret")e=e.export();else return e.export({format:"jwk"});if(e instanceof Uint8Array)return{kty:"oct",k:Y(e)};if(!at(e))throw TypeError(ot(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw TypeError("non-extractable CryptoKey cannot be exported as a JWK");let{ext:t,key_ops:r,alg:n,use:i,...o}=MI(await crypto.subtle.exportKey("jwk",e));if(o.kty==="AKP")o.alg=n;return o}function pb(e){return rb(e)}function ub(e){return nb(e)}function js(e){return GI(e)}var eu=j(()=>{Qp();Be()});async function tu(e,t){let r;if(q(e)){if(r=Zr(e),typeof r.kty!=="string")throw TypeError(ot(e,"CryptoKey","KeyObject","JSON Web Key"))}else if(Qo(e))r=Zr(await js(e));else throw TypeError(ot(e,"CryptoKey","KeyObject","JSON Web Key"));if(t??="sha256",t!=="sha256"&&t!=="sha384"&&t!=="sha512")throw TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let n;switch(r.kty){case"AKP":Rt(r.alg,'"alg" (Algorithm) Parameter'),Rt(r.pub,'"pub" (Public key) Parameter'),n={alg:r.alg,kty:r.kty,pub:r.pub};break;case"EC":Rt(r.crv,'"crv" (Curve) Parameter'),Rt(r.x,'"x" (X Coordinate) Parameter'),Rt(r.y,'"y" (Y Coordinate) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x,y:r.y};break;case"OKP":Rt(r.crv,'"crv" (Subtype of Key Pair) Parameter'),Rt(r.x,'"x" (Public Key) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x};break;case"RSA":Rt(r.e,'"e" (Exponent) Parameter'),Rt(r.n,'"n" (Modulus) Parameter'),n={e:r.e,kty:r.kty,n:r.n};break;case"oct":if(typeof r.k!=="string")throw new fi('"k" (Key Value) Parameter missing or invalid');n={k:r.k,kty:r.kty};break;default:throw new J('"kty" (Key Type) Parameter missing or unsupported')}let i=oe(JSON.stringify(n));return Y(await as(t,i))}async function lb(e,t){t??="sha256";let r=await tu(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}var Rt=(e,t)=>{if(typeof e!=="string"||!e)throw new fi(`${t} missing or invalid`)};var db=j(()=>{Pe();Be();M();$e();eu()});async function fb(e,t){let r={...e,...t?.header};if(!q(r.jwk))throw new P('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let n;try{n=Qr(r.jwk)}catch(s){throw new P("Invalid Embedded JWK",{cause:s})}let i=cn(r.alg);if(n.use!==void 0&&n.use!=="sig")throw new P('Invalid Embedded JWK, its "use" must be "sig" when present');if(n.alg!==void 0&&n.alg!==i.alg)throw new P(`Invalid Embedded JWK, its "alg" must be "${i.alg}" when present`);let o=await pt(i,{...n,ext:!0});if(o.type!=="public")throw new P('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}var mb=j(()=>{Yr();pn();M()});function VI(e,t,r,n){let{kty:i,key_ops:o,ext:s,kid:a,alg:c,use:p,crv:u}=Zr(e),l=Array.isArray(o)?[...o]:o;return(s===void 0||typeof s==="boolean")&&(l===void 0||Array.isArray(l)&&l.every((d,m)=>typeof d==="string"&&l.indexOf(d)===m)&&l.includes("verify"))&&t.kty.includes(i)&&(n===void 0||typeof n==="string"&&n===a)&&(c===void 0?i!=="AKP":r===c)&&(p===void 0||p==="sig")&&(!t.crv||u===t.crv)}async function hb(e,t,r){let n=e.get(t)||e.set(t,{}).get(t),{alg:i}=r;if(n[i]===void 0){let o=await pt(r,{...t,alg:i,ext:!0});if(o.type!=="public")throw new mi("JSON Web Key Set members must be public keys");n[i]=o}return n[i]}function Oi(e){let t;try{t=structuredClone(e)}catch{}if(!os(t))throw new mi("JSON Web Key Set malformed");let r=new WeakMap;return Object.defineProperty(async(i,o)=>{let{alg:s,kid:a}={...i,...o?.header},c=typeof s==="string"?Si[s]:void 0;if(!c||c.secret)throw new J('Unsupported "alg" value for a JSON Web Key Set');let p=t.keys.filter((d)=>VI(d,c,s,a)),{0:u,length:l}=p;if(!l)throw new Xr;if(l!==1){let d=new Xo;throw d[Symbol.asyncIterator]=async function*(){for(let m of p)try{yield await hb(r,m,c)}catch{}},d}return hb(r,u,c)},"jwks",{value:()=>structuredClone(t)})}var ru=j(()=>{Yr();pn();M()});function XI(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}async function YI(e,t,r,n=fetch){let i=await n(e,{method:"GET",signal:r,redirect:"manual",headers:t}).catch((o)=>{if(o.name==="TimeoutError")throw new Yo;throw o});if(i.status!==200)throw new ve("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await i.json()}catch{throw new ve("Failed to parse the JSON Web Key Set HTTP response as JSON")}}function Ci(e,t){return Number.isFinite(e)&&Date.now()<e+t}function xb(e,t,r){if(Number.isNaN(e))throw TypeError(`"${r}" option must not be NaN`);return typeof e==="number"?e:t}function gb(e,t){if(!(e instanceof URL))throw TypeError("url must be an instance of URL");let r=new URL(e.href).href,n=t??{},i=n.timeoutDuration;if(typeof i==="number"&&(!Number.isInteger(i)||i<0))throw TypeError('"timeoutDuration" option must be a non-negative integer');let o=typeof i==="number"?i:5000,s=xb(n.cooldownDuration,30000,"cooldownDuration"),a=xb(n.cacheMaxAge,600000,"cacheMaxAge"),c=new Headers(n.headers);if(nu&&!c.has("User-Agent"))c.set("User-Agent",nu);if(!c.has("accept"))c.set("accept","application/json, application/jwk-set+json");let p=n[iu],u=n[ou],l,d,m=0,y=0,x;if(u&&typeof u==="object"){let{uat:b,jwks:E}=u;if(Ci(b,a)&&os(E))l=b,x=Oi(E)}let v=async()=>{if(d&&XI())d=void 0;if(!d){let b=++m,E=d=YI(r,c,AbortSignal.timeout(o),p).then((A)=>{let O=Oi(A);if(b<=y)return;x=O;let C=Date.now();if(u)u.uat=C,u.jwks=A;l=C,y=b}).finally(()=>{if(d===E)d=void 0})}await d};return Object.defineProperties(async(b,E)=>{if(!x||!Ci(l,a))await v();try{return await x(b,E)}catch(A){if(A instanceof Xr&&!Ci(l,s))return await v(),x(b,E);throw A}},{coolingDown:{get:()=>Ci(l,s),enumerable:!0},fresh:{get:()=>Ci(l,a),enumerable:!0},reload:{value:v,enumerable:!0},reloading:{get:()=>!!d,enumerable:!0},jwks:{value:()=>x?.jwks(),enumerable:!0}})}var nu,iu,ou;var yb=j(()=>{M();ru();if(typeof navigator>"u"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))nu="jose/v6.2.10";iu=Symbol();ou=Symbol()});var ZI,su;var vb=j(()=>{Be();Pe();M();mn();sn();ZI=fr;su=class su extends ZI{encode(){let e=Y(JSON.stringify({alg:"none"})),t=Y(fn(this));return`${e}.${t}.`}static decode(e,t){if(typeof e!=="string")throw new ce("Unsecured JWT must be a string");let{0:r,1:n,2:i,length:o}=e.split(".");if(o!==3||i!=="")throw new ce("Invalid Unsecured JWT");let s,a;try{s=Et(r,P,"JWS Protected Header is invalid");let p=xt(P,nn,void 0,s,s);a=on(s,p)}catch(p){if(!(p instanceof P))throw p;throw new ce("Invalid Unsecured JWT",{cause:p})}if(s.alg!=="none")throw new ce("Invalid Unsecured JWT");if(!a)throw new ce("JWTs MUST NOT use unencoded payload");return{payload:dn(s,ge(n,"payload",ce),t),header:s}}}});async function bb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return ab(e,t,r)}async function wb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return cb(e,t,r)}async function Eb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return sb(e,t,r)}async function Sb(e,t,r){if(!q(e))throw TypeError("JWK must be an object");let n=Qr(e),i=Kt(r?.extractable),{alg:o}=n;t??=o;let s=i??n.ext;if(n.kty!=="oct"&&!t)throw TypeError('"alg" argument is required when "jwk.alg" is not present');switch(n.kty){case"oct":if(typeof n.k!=="string")throw TypeError('missing "k" (Key Value) Parameter value');return ht(n.k);case"AKP":{if(typeof o!=="string"||!o)throw TypeError('missing "alg" (Algorithm) Parameter value');if(t!==o)throw TypeError("JWK alg and alg option value mismatch");return pt(hr(t),{...n,ext:s})}case"RSA":case"EC":case"OKP":return pt(hr(t),{...n,alg:t,ext:s});default:throw new J('Unsupported "kty" (Key Type) Parameter value')}}var Ab=j(()=>{Be();Qp();Yr();_i();M()});function Rb(e){let t;if(typeof e==="string"){let n=e.split(".");if(n.length===3||n.length===5)[t]=n}else if(typeof e==="object"&&e)if("protected"in e)t=e.protected;else throw TypeError("Token does not contain a Protected Header");let r="Invalid Token or Protected Header formatting";if(typeof t!=="string"||!t)throw TypeError(r);return Et(t,TypeError,r)}var Tb=j(()=>{Pe()});function _b(e){if(typeof e!=="string")throw new ce("JWTs must use Compact JWS serialization, JWT must be a string");let{1:t,length:r}=e.split(".");if(r===5)throw new ce("Only JWTs using Compact JWS serialization can be decoded");if(r!==3)throw new ce("Invalid JWT");if(!t)throw new ce("JWTs must contain a payload");let n;try{n=ht(t)}catch{throw new ce("Failed to base64url decode the payload")}let i;try{i=JSON.parse(Vr.decode(n))}catch{throw new ce("Failed to parse the decoded payload as JSON")}if(!q(i))throw new ce("Invalid JWT Claims Set");return i}var kb=j(()=>{Be();$e();M()});function QI(e){let t=e?.modulusLength??2048;if(typeof t!=="number"||!Number.isInteger(t)||t<2048)throw new J("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function Ob(e,t){let r=Kt(t?.extractable),n=hr(e,Bt);if(n.secret)mr(Bt);let i;if(n.resolve){let o=t?.crv??"P-256";switch(o){case"P-256":case"P-384":case"P-521":i={name:"ECDH",namedCurve:o};break;case"X25519":i={name:"X25519"};break;default:throw new J("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}}else{if(n.crv!==void 0&&t?.crv!==void 0&&t.crv!==n.crv)throw new J(`Invalid or unsupported crv option provided, the only supported value for ${e} is ${n.crv}`);i=n.kty[0]==="RSA"?{...n.subtle,publicExponent:Uint8Array.of(1,0,1),modulusLength:QI(t)}:n.subtle}return crypto.subtle.generateKey(i,r??!1,[...n.usages[1],...n.usages[0]])}var Cb=j(()=>{M();_i()});async function Pb(e,t){let r=Kt(t?.extractable),n,i,o;switch(e){case"HS256":case"HS384":case"HS512":n=+e.slice(-3),i={name:"HMAC",hash:`SHA-${n}`,length:n},o=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return crypto.getRandomValues(new Uint8Array(+e.slice(-3)>>3));case"A128KW":case"A192KW":case"A256KW":n=+e.slice(1,4),i={name:"AES-KW",length:n},o=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":n=+e.slice(1,4),i={name:"AES-GCM",length:n},o=["encrypt","decrypt"];break;default:mr(Bt)}return crypto.subtle.generateKey(i,r??!1,o)}var Ib=j(()=>{_i()});var au={};Ar(au,{CompactEncrypt:()=>Hp,CompactSign:()=>Wp,EmbeddedJWK:()=>fb,EncryptJWT:()=>Vp,FlattenedEncrypt:()=>Jp,FlattenedSign:()=>zp,GeneralEncrypt:()=>jp,GeneralSign:()=>Mp,SignJWT:()=>Gp,UnsecuredJWT:()=>su,base64url:()=>is,calculateJwkThumbprint:()=>tu,calculateJwkThumbprintUri:()=>lb,compactDecrypt:()=>hv,compactVerify:()=>Cv,createLocalJWKSet:()=>Oi,createRemoteJWKSet:()=>gb,cryptoRuntime:()=>ej,customFetch:()=>iu,decodeJwt:()=>_b,decodeProtectedHeader:()=>Rb,errors:()=>vp,exportJWK:()=>js,exportPKCS8:()=>ub,exportSPKI:()=>pb,flattenedDecrypt:()=>gv,flattenedVerify:()=>Iv,generalDecrypt:()=>vv,generalVerify:()=>Lv,generateKeyPair:()=>Ob,generateSecret:()=>Pb,importJWK:()=>Sb,importPKCS8:()=>Eb,importSPKI:()=>bb,importX509:()=>wb,jwksCache:()=>ou,jwtDecrypt:()=>$v,jwtVerify:()=>Uv});var ej="WebCryptoAPI";var cu=j(()=>{xv();yv();bv();Sv();Pv();jv();Nv();Fv();Bv();Kv();Hv();Gv();Vv();Yv();Zv();Qv();db();mb();ru();yb();vb();eu();Ab();Tb();kb();M();Cb();Ib();Be()});var Ns=g(function(_W,jb){function Ls(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=e}Ls.prototype=Object.create(Error.prototype);Ls.prototype.constructor=Ls;jb.exports=Ls});var pu=g(function(kW,Nb){var Lb=(cu(),Di(au)),tj=Ns();function rj(e){if(e.alg)return e.alg;if(e.kty==="RSA")return"RS256";if(e.kty==="EC")switch(e.crv){case"P-256":return"ES256";case"P-384":return"ES384";case"P-521":return"ES512"}if(e.kty==="OKP")switch(e.crv){case"Ed25519":case"Ed448":return"EdDSA"}throw new tj("Unsupported JWK")}async function nj(e){let t=[];e=e.filter(({use:r})=>r==="sig"||r===void 0).filter(({kty:r})=>r==="RSA"||r==="EC"||r==="OKP");for(let r of e)try{let n=await Lb.importJWK({...r,ext:!0},rj(r));if(n.type!=="public")continue;let i;switch(n[Symbol.toStringTag]){case"CryptoKey":{let o=await Lb.exportSPKI(n);i=()=>o;break}case"KeyObject":default:i=()=>n.export({format:"pem",type:"spki"})}t.push({get publicKey(){return i()},get rsaPublicKey(){return i()},getPublicKey(){return i()},...typeof r.kid==="string"&&r.kid?{kid:r.kid}:void 0,...typeof r.alg==="string"&&r.alg?{alg:r.alg}:void 0})}catch(n){continue}return t}Nb.exports={retrieveSigningKeys:nj}});var uu=g(function(OW,qb){function qs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=e}qs.prototype=Object.create(Error.prototype);qs.prototype.constructor=qs;qb.exports=qs});var Ub=g(function(CW,Db){var ij=require("http"),oj=require("https"),sj=uu();Db.exports.default=(e)=>{if(e.fetcher)return e.fetcher(e.uri);return new Promise((t,r)=>{let n;try{n=new URL(e.uri)}catch(m){throw new sj("Invalid JWKS URI: The provided URI is not a valid URL.")}let{hostname:i,port:o,protocol:s,pathname:a,search:c}=n,p=a+c,u={hostname:i,path:p,port:o,method:"GET",...e.headers&&{headers:{...e.headers}},...e.timeout&&{timeout:e.timeout},...e.agent&&{agent:e.agent}},d=(s==="https:"?oj:ij).request(u,(m)=>{let y="";m.setEncoding("utf8"),m.on("data",(x)=>{y+=x}),m.on("end",()=>{if(m.statusCode<200||m.statusCode>=300){let x=m.body&&(m.body.message||m.body)||m.statusMessage||`Http Error ${m.statusCode}`;r({errorMsg:x})}else try{t(y&&JSON.parse(y))}catch(x){r(x)}})});d.on("timeout",()=>d.destroy()).on("error",(m)=>r(m)).end()})}});var Fs=g(function(Us){var $b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),aj=$b((e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.tracing=e.metrics=void 0;var t=require("node:diagnostics_channel");e.metrics=(0,t.channel)("lru-cache:metrics"),e.tracing=(0,t.tracingChannel)("lru-cache")}),cj=$b((e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultPerf=void 0,e.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date});Object.defineProperty(Us,"__esModule",{value:!0});Us.LRUCache=void 0;var le=aj(),pj=cj(),lu=()=>le.metrics.hasSubscribers||le.tracing.hasSubscribers,Bb=new Set,Fb=typeof process=="object"&&process?process:{},uj=(e,t,r,n)=>{typeof Fb.emitWarning=="function"?Fb.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},lj=(e)=>!Bb.has(e),Jt=(e)=>!!e&&e===Math.floor(e)&&e>0&&isFinite(e),Kb=(e)=>Jt(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Ds:null:null,Ds=class extends Array{constructor(e){super(e),this.fill(0)}},dj=class e{heap;length;static#e=!1;static create(t){let r=Kb(t);if(!r)return[];e.#e=!0;let n=new e(t,r);return e.#e=!1,n}constructor(t,r){if(!e.#e)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},fj=class e{#e;#t;#n;#o;#s;#x;#g;#f;get perf(){return this.#f}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#p;#E;#c;#a;#r;#m;#y;#d;#u;#S;#l;#A;#R;#v;#b;#T;#D;#h;#I;static unsafeExposeInternals(t){return{starts:t.#R,ttls:t.#v,autopurgeTimers:t.#b,sizes:t.#A,keyMap:t.#c,keyList:t.#a,valList:t.#r,next:t.#m,prev:t.#y,get head(){return t.#d},get tail(){return t.#u},free:t.#S,isBackgroundFetch:(r)=>t.#i(r),backgroundFetch:(r,n,i,o)=>t.#$(r,n,i,o),moveToTail:(r)=>t.#q(r),indexes:(r)=>t.#_(r),rindexes:(r)=>t.#k(r),isStale:(r)=>t.#w(r)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#E}get size(){return this.#p}get fetchMethod(){return this.#x}get memoMethod(){return this.#g}get dispose(){return this.#n}get onInsert(){return this.#o}get disposeAfter(){return this.#s}constructor(t){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:o,updateAgeOnGet:s,updateAgeOnHas:a,allowStale:c,dispose:p,onInsert:u,disposeAfter:l,noDisposeOnSet:d,noUpdateTTL:m,maxSize:y=0,maxEntrySize:x=0,sizeCalculation:v,fetchMethod:h,memoMethod:b,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:A,allowStaleOnFetchRejection:O,allowStaleOnFetchAbort:C,ignoreFetchAbort:K,backgroundFetchSize:te=1,perf:F}=t;if(this.backgroundFetchSize=te,F!==void 0&&typeof F?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#f=F??pj.defaultPerf,r!==0&&!Jt(r))throw TypeError("max option must be a nonnegative integer");let I=r?Kb(r):Array;if(!I)throw Error("invalid max value: "+r);if(this.#e=r,this.#t=y,this.maxEntrySize=x||this.#t,this.sizeCalculation=v,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw TypeError("sizeCalculation set to non-function")}if(b!==void 0&&typeof b!="function")throw TypeError("memoMethod must be a function if defined");if(this.#g=b,h!==void 0&&typeof h!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#x=h,this.#D=!!h,this.#c=new Map,this.#a=Array.from({length:r}).fill(void 0),this.#r=Array.from({length:r}).fill(void 0),this.#m=new I(r),this.#y=new I(r),this.#d=0,this.#u=0,this.#S=dj.create(r),this.#p=0,this.#E=0,typeof p=="function"&&(this.#n=p),typeof u=="function"&&(this.#o=u),typeof l=="function"?(this.#s=l,this.#l=[]):(this.#s=void 0,this.#l=void 0),this.#T=!!this.#n,this.#I=!!this.#o,this.#h=!!this.#s,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!m,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!O,this.allowStaleOnFetchAbort=!!C,this.ignoreFetchAbort=!!K,this.maxEntrySize!==0){if(this.#t!==0&&!Jt(this.#t))throw TypeError("maxSize must be a positive integer if specified");if(!Jt(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!A,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!a,this.ttlResolution=Jt(i)||i===0?i:1,this.ttlAutopurge=!!o,this.ttl=n||0,this.ttl){if(!Jt(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#B()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let me="LRU_CACHE_UNBOUNDED";lj(me)&&(Bb.add(me),uj("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",me,e))}}getRemainingTTL(t){return this.#c.has(t)?1/0:0}#B(){let t=new Ds(this.#e),r=new Ds(this.#e);this.#v=t,this.#R=r;let n=this.ttlAutopurge?Array.from({length:this.#e}):void 0;this.#b=n,this.#K=(c,p,u=this.#f.now())=>{r[c]=p!==0?u:0,t[c]=p,i(c,p)},this.#j=(c)=>{r[c]=t[c]!==0?this.#f.now():0,i(c,t[c])};let i=this.ttlAutopurge?(c,p)=>{if(n?.[c]&&(clearTimeout(n[c]),n[c]=void 0),p&&p!==0&&n){let u=setTimeout(()=>{this.#w(c)?(this.#O(this.#a[c],"expire"),n[c]=void 0):i(c,a(c))},p+1);u.unref&&u.unref(),n[c]=u}}:()=>{};this.#C=(c,p)=>{if(t[p]){let u=t[p],l=r[p];if(!u||!l)return;c.ttl=u,c.start=l,c.now=o||s();let d=c.now-l;c.remainingTTL=u-d}};let o=0,s=()=>{let c=this.#f.now();if(this.ttlResolution>0){o=c;let p=setTimeout(()=>o=0,this.ttlResolution);p.unref&&p.unref()}return c};this.getRemainingTTL=(c)=>{let p=this.#c.get(c);return p===void 0?0:a(p)};let a=(c)=>{let p=t[c],u=r[c];if(!p||!u)return 1/0;let l=(o||s())-u;return p-l};this.#w=(c)=>{let p=r[c],u=t[c];return!!u&&!!p&&(o||s())-p>u}}#j=()=>{};#C=()=>{};#K=()=>{};#w=()=>!1;#G(){let t=new Ds(this.#e);this.#E=0,this.#A=t,this.#L=(r)=>{this.#E-=t[r],t[r]=0},this.#H=(r,n,i,o)=>{if(!Jt(i)){if(this.#i(n))return this.backgroundFetchSize;if(o){if(typeof o!="function")throw TypeError("sizeCalculation must be a function");if(i=o(n,r),!Jt(i))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return i},this.#U=(r,n,i)=>{if(t[r]=n,this.#t){let o=this.#t-t[r];for(;this.#E>o;)this.#F(!0)}this.#E+=t[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#E)}}#L=(t)=>{};#U=(t,r,n)=>{};#H=(t,r,n,i)=>{if(n||i)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#_({allowStale:t=this.allowStale}={}){if(this.#p)for(let r=this.#u;this.#J(r)&&((t||!this.#w(r))&&(yield r),r!==this.#d);)r=this.#y[r]}*#k({allowStale:t=this.allowStale}={}){if(this.#p)for(let r=this.#d;this.#J(r)&&((t||!this.#w(r))&&(yield r),r!==this.#u);)r=this.#m[r]}#J(t){return t!==void 0&&this.#c.get(this.#a[t])===t}*entries(){for(let t of this.#_())this.#r[t]!==void 0&&this.#a[t]!==void 0&&!this.#i(this.#r[t])&&(yield[this.#a[t],this.#r[t]])}*rentries(){for(let t of this.#k())this.#r[t]!==void 0&&this.#a[t]!==void 0&&!this.#i(this.#r[t])&&(yield[this.#a[t],this.#r[t]])}*keys(){for(let t of this.#_()){let r=this.#a[t];r!==void 0&&!this.#i(this.#r[t])&&(yield r)}}*rkeys(){for(let t of this.#k()){let r=this.#a[t];r!==void 0&&!this.#i(this.#r[t])&&(yield r)}}*values(){for(let t of this.#_())this.#r[t]!==void 0&&!this.#i(this.#r[t])&&(yield this.#r[t])}*rvalues(){for(let t of this.#k())this.#r[t]!==void 0&&!this.#i(this.#r[t])&&(yield this.#r[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(let n of this.#_()){let i=this.#r[n],o=this.#i(i)?i.__staleWhileFetching:i;if(o!==void 0&&t(o,this.#a[n],this))return this.#N(this.#a[n],r)}}forEach(t,r=this){for(let n of this.#_()){let i=this.#r[n],o=this.#i(i)?i.__staleWhileFetching:i;o!==void 0&&t.call(r,o,this.#a[n],this)}}rforEach(t,r=this){for(let n of this.#k()){let i=this.#r[n],o=this.#i(i)?i.__staleWhileFetching:i;o!==void 0&&t.call(r,o,this.#a[n],this)}}purgeStale(){let t=!1;for(let r of this.#k({allowStale:!0}))this.#w(r)&&(this.#O(this.#a[r],"expire"),t=!0);return t}info(t){let r=this.#c.get(t);if(r===void 0)return;let n=this.#r[r],i=this.#i(n)?n.__staleWhileFetching:n;if(i===void 0)return;let o={value:i};if(this.#v&&this.#R){let s=this.#v[r],a=this.#R[r];if(s&&a){let c=s-(this.#f.now()-a);o.ttl=c,o.start=Date.now()}}return this.#A&&(o.size=this.#A[r]),o}dump(){let t=[];for(let r of this.#_({allowStale:!0})){let n=this.#a[r],i=this.#r[r],o=this.#i(i)?i.__staleWhileFetching:i;if(o===void 0||n===void 0)continue;let s={value:o};if(this.#v&&this.#R){s.ttl=this.#v[r];let a=this.#f.now()-this.#R[r];s.start=Math.floor(Date.now()-a)}this.#A&&(s.size=this.#A[r]),t.unshift([n,s])}return t}load(t){this.clear();for(let[r,n]of t){if(n.start){let i=Date.now()-n.start;n.start=this.#f.now()-i}this.#P(r,n.value,n)}}set(t,r,n={}){let{status:i=le.metrics.hasSubscribers?{}:void 0}=n;n.status=i,i&&(i.op="set",i.key=t,r!==void 0&&(i.value=r),i.cache=this);let o=this.#P(t,r,n);return i&&le.metrics.hasSubscribers&&le.metrics.publish(i),o}#P(t,r,n,i){let{ttl:o=this.ttl,start:s,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:p}=n,u=this.#i(r);if(r===void 0)return p&&(p.set="deleted"),this.delete(t),this;let{noUpdateTTL:l=this.noUpdateTTL}=n;p&&!u&&(p.value=r);let d=this.#H(t,r,n.size||0,c,p);if(this.maxEntrySize&&d>this.maxEntrySize)return this.#O(t,"set"),p&&(p.set="miss",p.maxEntrySizeExceeded=!0),this;let m=this.#p===0?void 0:this.#c.get(t);if(m===void 0)m=this.#p===0?this.#u:this.#S.length!==0?this.#S.pop():this.#p===this.#e?this.#F(!1):this.#p,this.#a[m]=t,this.#r[m]=r,this.#c.set(t,m),this.#m[this.#u]=m,this.#y[m]=this.#u,this.#u=m,this.#p++,this.#U(m,d,p),p&&(p.set="add"),l=!1,this.#I&&!u&&this.#o?.(r,t,"add");else{this.#q(m);let y=this.#r[m];if(r!==y){if(!a)if(this.#i(y)){y!==i&&y.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=y;x!==void 0&&x!==r&&(this.#T&&this.#n?.(x,t,"set"),this.#h&&this.#l?.push([x,t,"set"]))}else this.#T&&this.#n?.(y,t,"set"),this.#h&&this.#l?.push([y,t,"set"]);if(this.#L(m),this.#U(m,d,p),this.#r[m]=r,!u){let x=y&&this.#i(y)?y.__staleWhileFetching:y,v=x===void 0?"add":r!==x?"replace":"update";p&&(p.set=v,x!==void 0&&(p.oldValue=x)),this.#I&&this.onInsert?.(r,t,v)}}else u||(p&&(p.set="update"),this.#I&&this.onInsert?.(r,t,"update"))}if(o!==0&&!this.#v&&this.#B(),this.#v&&(l||this.#K(m,o,s),p&&this.#C(p,m)),!a&&this.#h&&this.#l){let y=this.#l,x;for(;x=y?.shift();)this.#s?.(...x)}return this}pop(){try{for(;this.#p;){let t=this.#r[this.#d];if(this.#F(!0),this.#i(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#h&&this.#l){let t=this.#l,r;for(;r=t?.shift();)this.#s?.(...r)}}}#F(t){let r=this.#d,n=this.#a[r],i=this.#r[r],o=this.#i(i);o&&i.__abortController.abort(Error("evicted"));let s=o?i.__staleWhileFetching:i;return(this.#T||this.#h)&&s!==void 0&&(this.#T&&this.#n?.(s,n,"evict"),this.#h&&this.#l?.push([s,n,"evict"])),this.#L(r),this.#b?.[r]&&(clearTimeout(this.#b[r]),this.#b[r]=void 0),t&&(this.#a[r]=void 0,this.#r[r]=void 0,this.#S.push(r)),this.#p===1?(this.#d=this.#u=0,this.#S.length=0):this.#d=this.#m[r],this.#c.delete(n),this.#p--,r}has(t,r={}){let{status:n=le.metrics.hasSubscribers?{}:void 0}=r;r.status=n,n&&(n.op="has",n.key=t,n.cache=this);let i=this.#V(t,r);return le.metrics.hasSubscribers&&le.metrics.publish(n),i}#V(t,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,o=this.#c.get(t);if(o!==void 0){let s=this.#r[o];if(this.#i(s)&&s.__staleWhileFetching===void 0)return!1;if(this.#w(o))i&&(i.has="stale",this.#C(i,o));else return n&&this.#j(o),i&&(i.has="hit",this.#C(i,o)),!0}else i&&(i.has="miss");return!1}peek(t,r={}){let{status:n=lu()?{}:void 0}=r;n&&(n.op="peek",n.key=t,n.cache=this),r.status=n;let i=this.#X(t,r);return le.metrics.hasSubscribers&&le.metrics.publish(n),i}#X(t,r){let{status:n,allowStale:i=this.allowStale}=r,o=this.#c.get(t);if(o===void 0||!i&&this.#w(o)){n&&(n.peek=o===void 0?"miss":"stale");return}let s=this.#r[o],a=this.#i(s)?s.__staleWhileFetching:s;return n&&(a!==void 0?(n.peek="hit",n.value=a):n.peek="miss"),a}#$(t,r,n,i){let o=r===void 0?void 0:this.#r[r];if(this.#i(o))return o;let s=new AbortController,{signal:a}=n;a?.addEventListener("abort",()=>s.abort(a.reason),{signal:s.signal});let c={signal:s.signal,options:n,context:i},p=(x,v=!1)=>{let{aborted:h}=s.signal,b=n.ignoreFetchAbort&&x!==void 0,E=n.ignoreFetchAbort||!!(n.allowStaleOnFetchAbort&&x!==void 0);if(n.status&&(h&&!v?(n.status.fetchAborted=!0,n.status.fetchError=s.signal.reason,b&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),h&&!b&&!v)return l(s.signal.reason,E);let A=m,O=this.#r[r];return(O===m||O===void 0&&b&&v)&&(x===void 0?A.__staleWhileFetching!==void 0?this.#r[r]=A.__staleWhileFetching:this.#O(t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.#P(t,x,c.options,A))),x},u=(x)=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=x),l(x,!1)),l=(x,v)=>{let{aborted:h}=s.signal,b=h&&n.allowStaleOnFetchAbort,E=b||n.allowStaleOnFetchRejection,A=E||n.noDeleteOnFetchRejection,O=m;if(this.#r[r]===m&&(!A||!v&&O.__staleWhileFetching===void 0?this.#O(t,"fetch"):b||(this.#r[r]=O.__staleWhileFetching)),E)return n.status&&O.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),O.__staleWhileFetching;if(O.__returned===O)throw x},d=(x,v)=>{let h=this.#x?.(t,o,c);s.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(x(void 0),n.allowStaleOnFetchAbort&&(x=(b)=>p(b,!0)))}),h&&h instanceof Promise?h.then((b)=>x(b===void 0?void 0:b),v):h!==void 0&&x(h)};n.status&&(n.status.fetchDispatched=!0);let m=new Promise(d).then(p,u),y=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return r===void 0?(this.#P(t,y,{...c.options,status:void 0}),r=this.#c.get(t)):this.#r[r]=y,y}#i(t){if(!this.#D)return!1;let r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof AbortController}fetch(t,r={}){let n=le.tracing.hasSubscribers,{status:i=lu()?{}:void 0}=r;r.status=i,i&&r.context&&(i.context=r.context);let o=this.#W(t,r);return i&&n&&(i.trace=!0,le.tracing.tracePromise(()=>o,i).catch(()=>{})),o}async#W(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:c=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,context:x,forceRefresh:v=!1,status:h,signal:b}=r;if(h&&(h.op="fetch",h.key=t,v&&(h.forceRefresh=!0),h.cache=this),!this.#D)return h&&(h.fetch="get"),this.#N(t,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:o,status:h});let E={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:o,ttl:s,noDisposeOnSet:a,size:c,sizeCalculation:p,noUpdateTTL:u,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:y,ignoreFetchAbort:m,status:h,signal:b},A=this.#c.get(t);if(A===void 0){h&&(h.fetch="miss");let O=this.#$(t,A,E,x);return O.__returned=O}else{let O=this.#r[A];if(this.#i(O)){let F=n&&O.__staleWhileFetching!==void 0;return h&&(h.fetch="inflight",F&&(h.returnedStale=!0)),F?O.__staleWhileFetching:O.__returned=O}let C=this.#w(A);if(!v&&!C)return h&&(h.fetch="hit"),this.#q(A),i&&this.#j(A),h&&this.#C(h,A),O;let K=this.#$(t,A,E,x),te=K.__staleWhileFetching!==void 0&&n;return h&&(h.fetch=C?"stale":"refresh",te&&C&&(h.returnedStale=!0)),te?K.__staleWhileFetching:K.__returned=K}}forceFetch(t,r={}){let n=le.tracing.hasSubscribers,{status:i=lu()?{}:void 0}=r;r.status=i,i&&r.context&&(i.context=r.context);let o=this.#Y(t,r);return i&&n&&(i.trace=!0,le.tracing.tracePromise(()=>o,i).catch(()=>{})),o}async#Y(t,r={}){let n=await this.#W(t,r);if(n===void 0)throw Error("fetch() returned undefined");return n}memo(t,r={}){let{status:n=le.metrics.hasSubscribers?{}:void 0}=r;r.status=n,n&&(n.op="memo",n.key=t,r.context&&(n.context=r.context),n.cache=this);let i=this.#Z(t,r);return n&&(n.value=i),le.metrics.hasSubscribers&&le.metrics.publish(n),i}#Z(t,r={}){let n=this.#g;if(!n)throw Error("no memoMethod provided to constructor");let{context:i,status:o,forceRefresh:s,...a}=r;o&&s&&(o.forceRefresh=!0);let c=this.#N(t,a),p=s||c===void 0;if(o&&(o.memo=p?"miss":"hit",p||(o.value=c)),!p)return c;let u=n(t,c,{options:a,context:i});return o&&(o.value=u),this.#P(t,u,a),u}get(t,r={}){let{status:n=le.metrics.hasSubscribers?{}:void 0}=r;r.status=n,n&&(n.op="get",n.key=t,n.cache=this);let i=this.#N(t,r);return n&&(i!==void 0&&(n.value=i),le.metrics.hasSubscribers&&le.metrics.publish(n)),i}#N(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:s}=r,a=this.#c.get(t);if(a===void 0){s&&(s.get="miss");return}let c=this.#r[a],p=this.#i(c);return s&&this.#C(s,a),this.#w(a)?p?(s&&(s.get="stale-fetching"),n&&c.__staleWhileFetching!==void 0?(s&&(s.returnedStale=!0),c.__staleWhileFetching):void 0):(o||this.#O(t,"expire"),s&&(s.get="stale"),n?(s&&(s.returnedStale=!0),c):void 0):(s&&(s.get=p?"fetching":"hit"),this.#q(a),i&&this.#j(a),p?c.__staleWhileFetching:c)}#z(t,r){this.#y[r]=t,this.#m[t]=r}#q(t){t!==this.#u&&(t===this.#d?this.#d=this.#m[t]:this.#z(this.#y[t],this.#m[t]),this.#z(this.#u,t),this.#u=t)}delete(t){return this.#O(t,"delete")}#O(t,r){le.metrics.hasSubscribers&&le.metrics.publish({op:"delete",delete:r,key:t,cache:this});let n=!1;if(this.#p!==0){let i=this.#c.get(t);if(i!==void 0)if(this.#b?.[i]&&(clearTimeout(this.#b[i]),this.#b[i]=void 0),n=!0,this.#p===1)this.#M(r);else{this.#L(i);let o=this.#r[i];if(this.#i(o)?o.__abortController.abort(Error("deleted")):(this.#T||this.#h)&&(this.#T&&this.#n?.(o,t,r),this.#h&&this.#l?.push([o,t,r])),this.#c.delete(t),this.#a[i]=void 0,this.#r[i]=void 0,i===this.#u)this.#u=this.#y[i];else if(i===this.#d)this.#d=this.#m[i];else{let s=this.#y[i];this.#m[s]=this.#m[i];let a=this.#m[i];this.#y[a]=this.#y[i]}this.#p--,this.#S.push(i)}}if(this.#h&&this.#l?.length){let i=this.#l,o;for(;o=i?.shift();)this.#s?.(...o)}return n}clear(){return this.#M("delete")}#M(t){for(let r of this.#k({allowStale:!0})){let n=this.#r[r];if(this.#i(n))n.__abortController.abort(Error("deleted"));else{let i=this.#a[r];this.#T&&this.#n?.(n,i,t),this.#h&&this.#l?.push([n,i,t])}}if(this.#c.clear(),this.#r.fill(void 0),this.#a.fill(void 0),this.#v&&this.#R){this.#v.fill(0),this.#R.fill(0);for(let r of this.#b??[])r!==void 0&&clearTimeout(r);this.#b?.fill(void 0)}if(this.#A&&this.#A.fill(0),this.#d=0,this.#u=0,this.#S.length=0,this.#E=0,this.#p=0,this.#h&&this.#l){let r=this.#l,n;for(;n=r?.shift();)this.#s?.(...n)}}};Us.LRUCache=fj});var Tu=g(function(Pi,hn){var mj=200,ew="__lodash_hash_undefined__",tw=9007199254740991,vu="[object Arguments]",hj="[object Array]",rw="[object Boolean]",nw="[object Date]",xj="[object Error]",bu="[object Function]",iw="[object GeneratorFunction]",$s="[object Map]",ow="[object Number]",wu="[object Object]",Hb="[object Promise]",sw="[object RegExp]",Bs="[object Set]",aw="[object String]",cw="[object Symbol]",fu="[object WeakMap]",pw="[object ArrayBuffer]",Ks="[object DataView]",uw="[object Float32Array]",lw="[object Float64Array]",dw="[object Int8Array]",fw="[object Int16Array]",mw="[object Int32Array]",hw="[object Uint8Array]",xw="[object Uint8ClampedArray]",gw="[object Uint16Array]",yw="[object Uint32Array]",gj=/[\\^$.*+?()[\]{}|]/g,yj=/\w*$/,vj=/^\[object .+?Constructor\]$/,bj=/^(?:0|[1-9]\d*)$/,ee={};ee[vu]=ee[hj]=ee[pw]=ee[Ks]=ee[rw]=ee[nw]=ee[uw]=ee[lw]=ee[dw]=ee[fw]=ee[mw]=ee[$s]=ee[ow]=ee[wu]=ee[sw]=ee[Bs]=ee[aw]=ee[cw]=ee[hw]=ee[xw]=ee[gw]=ee[yw]=!0;ee[xj]=ee[bu]=ee[fu]=!1;var wj=typeof global=="object"&&global&&global.Object===Object&&global,Ej=typeof self=="object"&&self&&self.Object===Object&&self,Tt=wj||Ej||Function("return this")(),vw=typeof Pi=="object"&&Pi&&!Pi.nodeType&&Pi,Jb=vw&&typeof hn=="object"&&hn&&!hn.nodeType&&hn,Sj=Jb&&Jb.exports===vw;function Aj(e,t){return e.set(t[0],t[1]),e}function Rj(e,t){return e.add(t),e}function Tj(e,t){var r=-1,n=e?e.length:0;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function _j(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}function bw(e,t,r,n){var i=-1,o=e?e.length:0;if(n&&o)r=e[++i];while(++i<o)r=t(r,e[i],i,e);return r}function kj(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function Oj(e,t){return e==null?void 0:e[t]}function ww(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function Wb(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function Eu(e,t){return function(r){return e(t(r))}}function zb(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Cj=Array.prototype,Pj=Function.prototype,Hs=Object.prototype,du=Tt["__core-js_shared__"],Mb=function(){var e=/[^.]+$/.exec(du&&du.keys&&du.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ew=Pj.toString,Wt=Hs.hasOwnProperty,Js=Hs.toString,Ij=RegExp("^"+Ew.call(Wt).replace(gj,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gb=Sj?Tt.Buffer:void 0,Vb=Tt.Symbol,Xb=Tt.Uint8Array,jj=Eu(Object.getPrototypeOf,Object),Lj=Object.create,Nj=Hs.propertyIsEnumerable,qj=Cj.splice,Yb=Object.getOwnPropertySymbols,Dj=Gb?Gb.isBuffer:void 0,Uj=Eu(Object.keys,Object),mu=yn(Tt,"DataView"),Ii=yn(Tt,"Map"),hu=yn(Tt,"Promise"),xu=yn(Tt,"Set"),gu=yn(Tt,"WeakMap"),ji=yn(Object,"create"),Fj=yr(mu),$j=yr(Ii),Bj=yr(hu),Kj=yr(xu),Hj=yr(gu),Zb=Vb?Vb.prototype:void 0,Qb=Zb?Zb.valueOf:void 0;function gr(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Jj(){this.__data__=ji?ji(null):{}}function Wj(e){return this.has(e)&&delete this.__data__[e]}function zj(e){var t=this.__data__;if(ji){var r=t[e];return r===ew?void 0:r}return Wt.call(t,e)?t[e]:void 0}function Mj(e){var t=this.__data__;return ji?t[e]!==void 0:Wt.call(t,e)}function Gj(e,t){var r=this.__data__;return r[e]=ji&&t===void 0?ew:t,this}gr.prototype.clear=Jj;gr.prototype.delete=Wj;gr.prototype.get=zj;gr.prototype.has=Mj;gr.prototype.set=Gj;function _t(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Vj(){this.__data__=[]}function Xj(e){var t=this.__data__,r=Ws(t,e);if(r<0)return!1;var n=t.length-1;if(r==n)t.pop();else qj.call(t,r,1);return!0}function Yj(e){var t=this.__data__,r=Ws(t,e);return r<0?void 0:t[r][1]}function Zj(e){return Ws(this.__data__,e)>-1}function Qj(e,t){var r=this.__data__,n=Ws(r,e);if(n<0)r.push([e,t]);else r[n][1]=t;return this}_t.prototype.clear=Vj;_t.prototype.delete=Xj;_t.prototype.get=Yj;_t.prototype.has=Zj;_t.prototype.set=Qj;function xn(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function eL(){this.__data__={hash:new gr,map:new(Ii||_t),string:new gr}}function tL(e){return zs(this,e).delete(e)}function rL(e){return zs(this,e).get(e)}function nL(e){return zs(this,e).has(e)}function iL(e,t){return zs(this,e).set(e,t),this}xn.prototype.clear=eL;xn.prototype.delete=tL;xn.prototype.get=rL;xn.prototype.has=nL;xn.prototype.set=iL;function gn(e){this.__data__=new _t(e)}function oL(){this.__data__=new _t}function sL(e){return this.__data__.delete(e)}function aL(e){return this.__data__.get(e)}function cL(e){return this.__data__.has(e)}function pL(e,t){var r=this.__data__;if(r instanceof _t){var n=r.__data__;if(!Ii||n.length<mj-1)return n.push([e,t]),this;r=this.__data__=new xn(n)}return r.set(e,t),this}gn.prototype.clear=oL;gn.prototype.delete=sL;gn.prototype.get=aL;gn.prototype.has=cL;gn.prototype.set=pL;function uL(e,t){var r=Au(e)||LL(e)?kj(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||Wt.call(e,o))&&!(i&&(o=="length"||CL(o,n))))r.push(o);return r}function Sw(e,t,r){var n=e[t];if(!(Wt.call(e,t)&&_w(n,r))||r===void 0&&!(t in e))e[t]=r}function Ws(e,t){var r=e.length;while(r--)if(_w(e[r][0],t))return r;return-1}function lL(e,t){return e&&Aw(t,Ru(t),e)}function yu(e,t,r,n,i,o,s){var a;if(n)a=o?n(e,i,o,s):n(e);if(a!==void 0)return a;if(!Ms(e))return e;var c=Au(e);if(c){if(a=_L(e),!t)return AL(e,a)}else{var p=xr(e),u=p==bu||p==iw;if(qL(e))return gL(e,t);if(p==wu||p==vu||u&&!o){if(ww(e))return o?e:{};if(a=kL(u?{}:e),!t)return RL(e,lL(a,e))}else{if(!ee[p])return o?e:{};a=OL(e,p,yu,t)}}s||(s=new gn);var l=s.get(e);if(l)return l;if(s.set(e,a),!c)var d=r?TL(e):Ru(e);return Tj(d||e,function(m,y){if(d)y=m,m=e[y];Sw(a,y,yu(m,t,r,n,y,e,s))}),a}function dL(e){return Ms(e)?Lj(e):{}}function fL(e,t,r){var n=t(e);return Au(e)?n:_j(n,r(e))}function mL(e){return Js.call(e)}function hL(e){if(!Ms(e)||IL(e))return!1;var t=Ow(e)||ww(e)?Ij:vj;return t.test(yr(e))}function xL(e){if(!Tw(e))return Uj(e);var t=[];for(var r in Object(e))if(Wt.call(e,r)&&r!="constructor")t.push(r);return t}function gL(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}function Su(e){var t=new e.constructor(e.byteLength);return new Xb(t).set(new Xb(e)),t}function yL(e,t){var r=t?Su(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function vL(e,t,r){var n=t?r(Wb(e),!0):Wb(e);return bw(n,Aj,new e.constructor)}function bL(e){var t=new e.constructor(e.source,yj.exec(e));return t.lastIndex=e.lastIndex,t}function wL(e,t,r){var n=t?r(zb(e),!0):zb(e);return bw(n,Rj,new e.constructor)}function EL(e){return Qb?Object(Qb.call(e)):{}}function SL(e,t){var r=t?Su(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function AL(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}function Aw(e,t,r,n){r||(r={});var i=-1,o=t.length;while(++i<o){var s=t[i],a=n?n(r[s],e[s],s,r,e):void 0;Sw(r,s,a===void 0?e[s]:a)}return r}function RL(e,t){return Aw(e,Rw(e),t)}function TL(e){return fL(e,Ru,Rw)}function zs(e,t){var r=e.__data__;return PL(t)?r[typeof t=="string"?"string":"hash"]:r.map}function yn(e,t){var r=Oj(e,t);return hL(r)?r:void 0}var Rw=Yb?Eu(Yb,Object):FL,xr=mL;if(mu&&xr(new mu(new ArrayBuffer(1)))!=Ks||Ii&&xr(new Ii)!=$s||hu&&xr(hu.resolve())!=Hb||xu&&xr(new xu)!=Bs||gu&&xr(new gu)!=fu)xr=function(e){var t=Js.call(e),r=t==wu?e.constructor:void 0,n=r?yr(r):void 0;if(n)switch(n){case Fj:return Ks;case $j:return $s;case Bj:return Hb;case Kj:return Bs;case Hj:return fu}return t};function _L(e){var t=e.length,r=e.constructor(t);if(t&&typeof e[0]=="string"&&Wt.call(e,"index"))r.index=e.index,r.input=e.input;return r}function kL(e){return typeof e.constructor=="function"&&!Tw(e)?dL(jj(e)):{}}function OL(e,t,r,n){var i=e.constructor;switch(t){case pw:return Su(e);case rw:case nw:return new i(+e);case Ks:return yL(e,n);case uw:case lw:case dw:case fw:case mw:case hw:case xw:case gw:case yw:return SL(e,n);case $s:return vL(e,n,r);case ow:case aw:return new i(e);case sw:return bL(e);case Bs:return wL(e,n,r);case cw:return EL(e)}}function CL(e,t){return t=t==null?tw:t,!!t&&(typeof e=="number"||bj.test(e))&&(e>-1&&e%1==0&&e<t)}function PL(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function IL(e){return!!Mb&&Mb in e}function Tw(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Hs;return e===r}function yr(e){if(e!=null){try{return Ew.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function jL(e){return yu(e,!0,!0)}function _w(e,t){return e===t||e!==e&&t!==t}function LL(e){return NL(e)&&Wt.call(e,"callee")&&(!Nj.call(e,"callee")||Js.call(e)==vu)}var Au=Array.isArray;function kw(e){return e!=null&&DL(e.length)&&!Ow(e)}function NL(e){return UL(e)&&kw(e)}var qL=Dj||$L;function Ow(e){var t=Ms(e)?Js.call(e):"";return t==bu||t==iw}function DL(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=tw}function Ms(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function UL(e){return!!e&&typeof e=="object"}function Ru(e){return kw(e)?uL(e):xL(e)}function FL(){return[]}function $L(){return!1}hn.exports=jL});var _u=g(function(Gs){Object.defineProperty(Gs,"__esModule",{value:!0});Gs.deepFreeze=void 0;function Cw(e){if(e)Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){if(e.hasOwnProperty(t)&&e[t]!==null&&(typeof e[t]==="object"||typeof e[t]==="function")&&e[t].constructor!==Buffer&&!Object.isFrozen(e[t]))Cw(e[t])});return e}Gs.deepFreeze=Cw});var jw=g(function(vn){var BL=vn&&vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vn,"__esModule",{value:!0});vn.syncMemoizer=void 0;var KL=Fs(),HL=require("events"),Pw=BL(Tu()),Iw=_u();function JL(e){let t=new KL.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=new HL.EventEmitter,p=Object.assign({del:u,reset:()=>t.clear(),keys:()=>[...t.keys()],on:c.on.bind(c),once:c.once.bind(c)},e);if(e.disable)return Object.assign(r,p);function u(){let x=n(...arguments);t.delete(x)}function l(x,...v){c.emit(x,...v)}function d(x){return x&&x.then&&typeof x.then==="function"}function m(x){let v=x;if(a)if(d(v))v=v.then(Pw.default);else v=(0,Pw.default)(v);if(s)if(d(v))v=v.then(Iw.deepFreeze);else(0,Iw.deepFreeze)(v);return v}return Object.assign(function(...x){if(i&&i(...x))return l("miss",...x),r(...x);var v=n(...x),h=t.get(v);if(h)return l("hit",...x),m(h);l("miss",...x);let b=r(...x);if(o)t.set(v,b,{ttl:o(...x.concat([b]))});else t.set(v,b);return m(b)},p)}vn.syncMemoizer=JL});var Nw=g(function(bn){var WL=bn&&bn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bn,"__esModule",{value:!0});bn.asyncMemoizer=void 0;var zL=Fs(),ML=require("events"),GL=WL(Tu()),VL=_u(),XL=jw();function Lw(e){let t=new zL.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=e.queueTTL||1000,p=new Map,u=new ML.EventEmitter,l=Object.assign({del:d,reset:()=>t.clear(),keys:()=>[...t.keys()],on:u.on.bind(u),once:u.once.bind(u)},e);if(e.disable)return Object.assign(r,l);function d(...h){let b=n(...h);t.delete(b)}function m(h,b,E){if(s)E.forEach(VL.deepFreeze);if(o)t.set(h,E,{ttl:o(...b.concat(E))});else t.set(h,E)}function y(h,b){for(let E of h)if(a)setImmediate(E,...b.map(GL.default));else setImmediate(E,...b)}function x(h,...b){u.emit(h,...b)}function v(...h){let b=h.slice(0,-1),E=h.slice(-1).pop(),A;if(i&&i(...b))return x("miss",...b),r(...h);if(b.length===0&&!n)A="_";else A=n(...b);let O=t.get(A);if(O)return x("hit",...b),y([E],[null].concat(O));let C=p.get(A);if(C&&C.expiresAt>Date.now()){C.queue.push(E),x("queue",...b);return}x("miss",...b);let K=Date.now(),te=[E];p.set(A,{queue:te,expiresAt:K+c});let F=(...I)=>{if(!I[0])m(A,b,I.slice(1));p.delete(A),x("loaded",Date.now()-K,...b),y(te,I)};r(...b,F)}return Object.assign(v,l)}bn.asyncMemoizer=Lw;Lw.sync=XL.syncMemoizer});var Dw=g(function(qW,qw){var YL=Nw();qw.exports=YL.asyncMemoizer});var $w=g(function(DW,Fw){var ku=It()("jwks"),ZL=Dw(),{LRUCache:QL}=Fs(),{promisify:eN,callbackify:Uw}=require("util");function tN(e,{cacheMaxEntries:t=5,cacheMaxAge:r=600000,cacheMaxAgeFallback:n,onStaleCacheFallback:i}){ku(`Configured caching of signing keys. Max: ${t} / Age: ${r}${n?` / Fallback: ${n}`:""}`);let o;if(n){let s=new QL({max:t}),a=e.getSigningKey.bind(e);o=Uw(async(c)=>{try{let p=await a(c);return s.set(c,{key:p,fetchedAt:Date.now()}),p}catch(p){if(p.isEndpointUnavailable){let u=s.get(c);if(u&&Date.now()-u.fetchedAt<r+n){if(ku(`JWKS endpoint unavailable, serving stale signing key for '${c}': ${p.message}`),i)i(p,c,u.key);return u.key}ku(`JWKS endpoint unavailable and no valid stale entry for '${c}', fallback window expired or key never fetched`)}throw p}})}else o=Uw(e.getSigningKey.bind(e));return eN(ZL({hash:(s)=>s,load:o,ttl:r,max:t}))}Fw.exports.default=tN});var Ou=g(function(UW,Kw){var Bw=function(e,t,r,n){if(this.bucketSize=e,this.tokensPerInterval=t,typeof r==="string")switch(r){case"sec":case"second":this.interval=1000;break;case"min":case"minute":this.interval=60000;break;case"hr":case"hour":this.interval=3600000;break;case"day":this.interval=86400000;break;default:throw Error("Invaid interval "+r)}else this.interval=r;this.parentBucket=n,this.content=0,this.lastDrip=+new Date};Bw.prototype={bucketSize:1,tokensPerInterval:1,interval:1000,parentBucket:null,content:0,lastDrip:0,removeTokens:function(e,t){var r=this;if(!this.bucketSize)return process.nextTick(t.bind(null,null,e,Number.POSITIVE_INFINITY)),!0;if(e>this.bucketSize)return process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds bucket size "+this.bucketSize,null)),!1;if(this.drip(),e>this.content)return n();if(this.parentBucket)return this.parentBucket.removeTokens(e,function(i,o){if(i)return t(i,null);if(e>r.content)return n();r.content-=e,t(null,Math.min(o,r.content))});else return this.content-=e,process.nextTick(t.bind(null,null,this.content)),!0;function n(){var i=Math.ceil((e-r.content)*(r.interval/r.tokensPerInterval));return setTimeout(function(){r.removeTokens(e,t)},i),!1}},tryRemoveTokens:function(e){if(!this.bucketSize)return!0;if(e>this.bucketSize)return!1;if(this.drip(),e>this.content)return!1;if(this.parentBucket&&!this.parentBucket.tryRemoveTokens(e))return!1;return this.content-=e,!0},drip:function(){if(!this.tokensPerInterval){this.content=this.bucketSize;return}var e=+new Date,t=Math.max(e-this.lastDrip,0);this.lastDrip=e;var r=t*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+r,this.bucketSize)}};Kw.exports=Bw});var Jw=g(function(FW,Hw){var rN=function(){if(typeof process<"u"&&process.hrtime){var e=process.hrtime(),t=e[0],r=e[1];return t*1000+Math.floor(r/1e6)}return new Date().getTime()};Hw.exports=rN});var Mw=g(function($W,zw){var nN=Ou(),Cu=Jw(),Ww=function(e,t,r){this.tokenBucket=new nN(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=Cu(),this.tokensThisInterval=0,this.fireImmediately=r};Ww.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(e,t){if(e>this.tokenBucket.bucketSize)return process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var r=this,n=Cu();if(n<this.curIntervalStart||n-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=n,this.tokensThisInterval=0;if(e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(t.bind(null,null,-1));else{var i=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-n);setTimeout(function(){r.tokenBucket.removeTokens(e,o)},i)}return!1}return this.tokenBucket.removeTokens(e,o);function o(s,a){if(s)return t(s,null);r.tokensThisInterval+=e,t(null,a)}},tryRemoveTokens:function(e){if(e>this.tokenBucket.bucketSize)return!1;var t=Cu();if(t<this.curIntervalStart||t-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=t,this.tokensThisInterval=0;if(e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var r=this.tokenBucket.tryRemoveTokens(e);if(r)this.tokensThisInterval+=e;return r},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}};zw.exports=Ww});var Gw=g(function(Pu){Pu.RateLimiter=Mw();Pu.TokenBucket=Ou()});var Iu=g(function(KW,Vw){function Vs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=e}Vs.prototype=Object.create(Error.prototype);Vs.prototype.constructor=Vs;Vw.exports=Vs});var Yw=g(function(HW,Xw){var ju=It()("jwks"),{RateLimiter:iN}=Gw(),oN=Iu();function sN(e,{jwksRequestsPerMinute:t=10}){let r=e.getSigningKey.bind(e),n=new iN(t,"minute",!0);return ju(`Configured rate limiting to JWKS endpoint at ${t}/minute`),async(i)=>await new Promise((o,s)=>{n.removeTokens(1,async(a,c)=>{if(a)s(a);if(ju("Requests to the JWKS endpoint available for the next minute:",c),c<0)ju("Too many requests to the JWKS endpoint"),s(new oN("Too many requests to the JWKS endpoint"));else try{let p=await r(i);o(p)}catch(p){s(p)}})})}Xw.exports.default=sN});var Qw=g(function(JW,Zw){var aN=pu().retrieveSigningKeys;function cN(e,{getKeysInterceptor:t}){let r=e.getSigningKey.bind(e);return async(n)=>{let i=await t(),o;if(i&&i.length)o=await aN(i);if(o&&o.length){let s=o.find((a)=>!n||a.kid===n);if(s)return s}return r(n)}}Zw.exports.default=cN});var tE=g(function(WW,eE){var{callbackify:pN}=require("util"),uN=(e)=>{let t=e.getSigningKey.bind(e);return(r,n)=>{if(n)return pN(t)(r,n);return t(r)}};eE.exports.default=uN});var nE=g(function(zW,rE){rE.exports={request:Ub().default,cacheSigningKey:$w().default,rateLimitSigningKey:Yw().default,getKeysInterceptor:Qw().default,callbackSupport:tE().default}});var Lu=g(function(MW,iE){function Xs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=e}Xs.prototype=Object.create(Error.prototype);Xs.prototype.constructor=Xs;iE.exports=Xs});var wn=g(function(GW,aE){var vr=It()("jwks"),{retrieveSigningKeys:lN}=pu(),{request:dN,cacheSigningKey:fN,rateLimitSigningKey:mN,getKeysInterceptor:hN,callbackSupport:xN}=nE(),Nu=Ns(),oE=Lu();class sE{constructor(e){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...e},this.options.getKeysInterceptor)this.getSigningKey=hN(this,e);if(this.options.rateLimit)this.getSigningKey=mN(this,e);if(this.options.cache)this.getSigningKey=fN(this,e);this.getSigningKey=xN(this,e)}async getKeys(){vr(`Fetching keys from '${this.options.jwksUri}'`);try{let e=await dN({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return vr("Keys:",e.keys),e.keys}catch(e){let{errorMsg:t}=e;vr("Failure:",t||e);let r=t?new Nu(t):e;throw r.isEndpointUnavailable=!0,r}}async getSigningKeys(){let e=await this.getKeys();if(!e||!e.length)throw new Nu("The JWKS endpoint did not contain any keys");let t=await lN(e);if(!t.length)throw new Nu("The JWKS endpoint did not contain any signing keys");return vr("Signing Keys:",t),t}async getSigningKey(e){vr(`Fetching signing key for '${e}'`);let t=await this.getSigningKeys(),r=e!==void 0&&e!==null;if(!r&&t.length>1)throw vr("No KID specified and JWKS endpoint returned more than 1 key"),new oE("No KID specified and JWKS endpoint returned more than 1 key");let n=t.find((i)=>!r||i.kid===e);if(n)return n;else throw vr(`Unable to find a signing key that matches '${e}'`),new oE(`Unable to find a signing key that matches '${e}'`)}}aE.exports={JwksClient:sE}});var En=g(function(VW,cE){cE.exports={ArgumentError:uu(),JwksError:Ns(),JwksRateLimitError:Iu(),SigningKeyNotFoundError:Lu()}});var Li=g(function(XW,pE){var gN=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512","EdDSA"];pE.exports=gN});var uE=g(function(YW,Ys){var{ArgumentError:yN}=En(),{JwksClient:vN}=wn(),bN=Li(),wN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(e,null,null);if(e)return t(e,null,null)};Ys.exports.hapiJwt2KeyAsync=(e)=>{let t=Ys.exports.hapiJwt2Key(e);return function(r){return new Promise((n,i)=>{t(r,(s,a)=>{!a||s?i(s):n({key:a})})})}};Ys.exports.hapiJwt2Key=function(e){if(e===null||e===void 0)throw new yN("An options object must be provided when initializing hapiJwt2Key");let t=new vN(e),r=e.handleSigningKeyError||wN;return function(i,o){if(!i||!i.header)return o(Error("Cannot find a signing certificate if there is no header"),null,null);if(!bN.includes(i.header.alg))return o(Error("Unsupported algorithm "+i.header.alg+" supplied."),null,null);t.getSigningKey(i.header.kid).then((s)=>o(null,s.publicKey||s.rsaPublicKey,s)).catch((s)=>r(s,(a)=>o(a,null,null)))}}});var dE=g(function(ZW,lE){var{ArgumentError:EN}=En(),{JwksClient:SN}=wn(),AN=Li(),RN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};lE.exports.expressJwtSecret=function(e){if(e===null||e===void 0)throw new EN("An options object must be provided when initializing expressJwtSecret");let t=new SN(e),r=e.handleSigningKeyError||RN,n=async(i,o)=>{if(!o)return;let s=o.header;if(!s||!AN.includes(s.alg))return;try{let a=await t.getSigningKey(s.kid);return a.publicKey||a.rsaPublicKey}catch(a){return new Promise((c,p)=>{r(a,(u)=>{if(!u)return c();p(u)})})}};return function(o,s,a,c){if(arguments.length===4){n(o,{header:s}).then((p)=>{setImmediate(c,null,p)}).catch((p)=>{setImmediate(c,p)});return}return n(o,arguments[1])}}});var mE=g(function(QW,fE){var{ArgumentError:TN}=En(),{JwksClient:_N}=wn(),kN=Li();fE.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new TN("No JWKS provided. Please provide a jwksUri");let t=new _N(e);return function({alg:n,kid:i}={}){return new Promise((o,s)=>{if(!kN.includes(n))return s(Error("Missing / invalid token algorithm"));t.getSigningKey(i).then((a)=>{o(a.publicKey||a.rsaPublicKey)}).catch((a)=>{if(e.handleSigningKeyError)return e.handleSigningKeyError(a).then(s);return s(a)})})}}});var yE=g(function(ez,gE){var hE=(cu(),Di(au)),{ArgumentError:xE}=En(),{JwksClient:ON}=wn(),CN=Li(),PN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};gE.exports.passportJwtSecret=function(e){if(e===null||e===void 0)throw new xE("An options object must be provided when initializing passportJwtSecret");if(!e.jwksUri)throw new xE("No JWKS provided. Please provide a jwksUri");let t=new ON(e),r=e.handleSigningKeyError||PN;return function(i,o,s){let a;try{a={payload:hE.decodeJwt(o),header:hE.decodeProtectedHeader(o)}}catch(c){a=null}if(!a||!CN.includes(a.header.alg))return s(null,null);t.getSigningKey(a.header.kid).then((c)=>{s(null,c.publicKey||c.rsaPublicKey)}).catch((c)=>{r(c,(p)=>s(p,null))})}}});var bE=g(function(tz,Ze){var{JwksClient:vE}=wn(),Zs=En(),{hapiJwt2Key:IN,hapiJwt2KeyAsync:jN}=uE(),{expressJwtSecret:LN}=dE(),{koaJwtSecret:NN}=mE(),{passportJwtSecret:qN}=yE();Ze.exports=(e)=>new vE(e);Ze.exports.JwksClient=vE;Ze.exports.ArgumentError=Zs.ArgumentError;Ze.exports.JwksError=Zs.JwksError;Ze.exports.JwksRateLimitError=Zs.JwksRateLimitError;Ze.exports.SigningKeyNotFoundError=Zs.SigningKeyNotFoundError;Ze.exports.expressJwtSecret=LN;Ze.exports.hapiJwt2Key=IN;Ze.exports.hapiJwt2KeyAsync=jN;Ze.exports.koaJwtSecret=NN;Ze.exports.passportJwtSecret=qN});var WN={};Ar(WN,{handler:()=>KN});module.exports=Di(WN);var nh=require("node:https");function _n(e,t){return function(){return e.apply(t,arguments)}}var{toString:NE}=Object.prototype,{getPrototypeOf:Rr}=Object,{iterator:On,toStringTag:Mu}=Symbol,Fi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),kn=(e,t)=>{let r=e,n=[];while(r!=null&&r!==Object.prototype){if(n.indexOf(r)!==-1)return!1;if(n.push(r),Fi(r,t))return!0;r=Rr(r)}return!1},qE=(e,t)=>e!=null&&kn(e,t)?e[t]:void 0,ta=((e)=>(t)=>{let r=NE.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Je=(e)=>(e=e.toLowerCase(),(t)=>ta(t)===e),$i=(e)=>(t)=>typeof t===e,{isArray:Xt}=Array,Yt=$i("undefined");function Tr(e){return e!==null&&!Yt(e)&&e.constructor!==null&&!Yt(e.constructor)&&Le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Gu=Je("ArrayBuffer");function DE(e){let t;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)t=ArrayBuffer.isView(e);else t=e&&e.buffer&&Gu(e.buffer);return t}var UE=$i("string"),Le=$i("function"),Vu=$i("number"),_r=(e)=>e!==null&&typeof e==="object",FE=(e)=>e===!0||e===!1,Ui=(e)=>{if(!_r(e))return!1;let t=Rr(e);return(t===null||t===Object.prototype||Rr(t)===null)&&!kn(e,Mu)&&!kn(e,On)},$E=(e)=>{if(!_r(e)||Tr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},BE=Je("Date"),KE=Je("File"),HE=(e)=>!!(e&&typeof e.uri<"u"),JE=(e)=>e&&typeof e.getParts<"u",WE=Je("Blob"),zE=Je("FileList"),ME=Je("Set"),GE=(e)=>_r(e)&&Le(e.pipe);function VE(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}var Wu=VE(),zu=typeof Wu.FormData<"u"?Wu.FormData:void 0,XE=(e)=>{if(!e)return!1;if(zu&&e instanceof zu)return!0;let t=Rr(e);if(!t||t===Object.prototype)return!1;if(!Le(e.append))return!1;let r=ta(e);return r==="formdata"||r==="object"&&Le(e.toString)&&e.toString()==="[object FormData]"},YE=Je("URLSearchParams"),[ZE,QE,eS,tS]=["ReadableStream","Request","Response","Headers"].map(Je),rS=(e)=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cn(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!=="object")e=[e];if(Xt(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(Tr(e))return;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length,a;for(n=0;n<s;n++)a=o[n],t.call(null,e[a],a,e)}}function Xu(e,t){if(Tr(e))return null;t=t.toLowerCase();let r=Object.keys(e),n=r.length,i;while(n-- >0)if(i=r[n],t===i.toLowerCase())return i;return null}var Vt=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),Yu=(e)=>!Yt(e)&&e!==Vt;function ea(...e){let{caseless:t,skipUndefined:r}=Yu(this)&&this||{},n={},i=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=t&&typeof s==="string"&&Xu(n,s)||s,c=Fi(n,a)?n[a]:void 0;if(Ui(c)&&Ui(o))n[a]=ea(c,o);else if(Ui(o))n[a]=ea({},o);else if(Xt(o))n[a]=o.slice();else if(!r||!Yt(o))n[a]=o};for(let o=0,s=e.length;o<s;o++){let a=e[o];if(!a||Tr(a))continue;if(Cn(a,i),typeof a!=="object"||Xt(a))continue;let c=Object.getOwnPropertySymbols(a);for(let p=0;p<c.length;p++){let u=c[p];if(mS.call(a,u))i(a[u],u)}}return n}var nS=(e,t,r,{allOwnKeys:n}={})=>(Cn(t,(i,o)=>{if(r&&Le(i))Object.defineProperty(e,o,{__proto__:null,value:_n(i,r),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(e,o,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),iS=(e)=>{if(e.charCodeAt(0)===65279)e=e.slice(1);return e},oS=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},sS=(e,t,r,n)=>{let i,o,s,a={};if(t=t||{},e==null)return t;do{i=Object.getOwnPropertyNames(e),o=i.length;while(o-- >0)if(s=i[o],(!n||n(s,e,t))&&!a[s])t[s]=e[s],a[s]=!0;e=r!==!1&&Rr(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},aS=(e,t,r)=>{if(e=String(e),r===void 0||r>e.length)r=e.length;r-=t.length;let n=e.indexOf(t,r);return n!==-1&&n===r},cS=(e)=>{if(!e)return null;if(Xt(e))return e;let t=e.length;if(!Vu(t))return null;let r=Array(t);while(t-- >0)r[t]=e[t];return r},pS=((e)=>(t)=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rr(Uint8Array)),uS=(e,t)=>{let n=(e&&e[On]).call(e),i;while((i=n.next())&&!i.done){let o=i.value;t.call(e,o[0],o[1])}},lS=(e,t)=>{let r,n=[];while((r=e.exec(t))!==null)n.push(r);return n},dS=Je("HTMLFormElement"),fS=(e)=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),{propertyIsEnumerable:mS}=Object.prototype,hS=Je("RegExp"),Zu=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};Cn(r,(i,o)=>{let s;if((s=t(i,o,e))!==!1)n[o]=s||i}),Object.defineProperties(e,n)},xS=(e)=>{Zu(e,(t,r)=>{if(Le(e)&&["arguments","caller","callee"].includes(r))return!1;let n=e[r];if(!Le(n))return;if(t.enumerable=!1,"writable"in t){t.writable=!1;return}if(!t.set)t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}})},gS=(e,t)=>{let r={},n=(i)=>{i.forEach((o)=>{r[o]=!0})};return Xt(e)?n(e):n(String(e).split(t)),r},yS=()=>{},vS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function bS(e){return!!(e&&Le(e.append)&&e[Mu]==="FormData"&&e[On])}var wS=(e)=>{let t=new WeakSet,r=(n)=>{if(_r(n)){if(t.has(n))return;if(Tr(n))return n;if(!("toJSON"in n)){t.add(n);let i;if(ME(n)){i=[];for(let o of n){let s=r(o);!Yt(s)&&i.push(s)}}else i=Xt(n)?[]:{},Cn(n,(o,s)=>{let a=r(o);!Yt(a)&&(i[s]=a)});return t.delete(n),i}}return n};return r(e)},ES=Je("AsyncFunction"),SS=(e)=>e&&(_r(e)||Le(e))&&Le(e.then)&&Le(e.catch),Qu=((e,t)=>{if(e)return setImmediate;return t?((r,n)=>(Vt.addEventListener("message",({source:i,data:o})=>{if(i===Vt&&o===r)n.length&&n.shift()()},!1),(i)=>{n.push(i),Vt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):(r)=>setTimeout(r)})(typeof setImmediate==="function",Le(Vt.postMessage)),AS=typeof queueMicrotask<"u"?queueMicrotask.bind(Vt):typeof process<"u"&&process.nextTick||Qu,el=(e)=>e!=null&&Le(e[On]),RS=(e)=>e!=null&&kn(e,On)&&el(e),f={isArray:Xt,isArrayBuffer:Gu,isBuffer:Tr,isFormData:XE,isArrayBufferView:DE,isString:UE,isNumber:Vu,isBoolean:FE,isObject:_r,isPlainObject:Ui,isEmptyObject:$E,isReadableStream:ZE,isRequest:QE,isResponse:eS,isHeaders:tS,isUndefined:Yt,isDate:BE,isFile:KE,isReactNativeBlob:HE,isReactNative:JE,isBlob:WE,isRegExp:hS,isFunction:Le,isStream:GE,isURLSearchParams:YE,isTypedArray:pS,isFileList:zE,forEach:Cn,merge:ea,extend:nS,trim:rS,stripBOM:iS,inherits:oS,toFlatObject:sS,kindOf:ta,kindOfTest:Je,endsWith:aS,toArray:cS,forEachEntry:uS,matchAll:lS,isHTMLForm:dS,hasOwnProperty:Fi,hasOwnProp:Fi,hasOwnInPrototypeChain:kn,getSafeProp:qE,reduceDescriptors:Zu,freezeMethods:xS,toObjectSet:gS,toCamelCase:fS,noop:yS,toFiniteNumber:vS,findKey:Xu,global:Vt,isContextDefined:Yu,isSpecCompliantForm:bS,toJSONObject:wS,isAsyncFn:ES,isThenable:SS,setImmediate:Qu,asap:AS,isIterable:el,isSafeIterable:RS};var TS=f.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"]),tl=(e)=>{let t={},r,n,i;return e&&e.split(`
29
+ `).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim();let a=f.hasOwnProp(t,r);if(!r||a&&f.hasOwnProp(TS,r))return;if(r==="set-cookie")if(a)t[r].push(n);else t[r]=[n];else t[r]=a?t[r]+", "+n:n}),t};function _S(e){let t=0,r=e.length;while(t<r){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}while(r>t){let n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}var kS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),OS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ra(e,t){if(f.isArray(e))return e.map((r)=>ra(r,t));return _S(String(e).replace(t,""))}var rl=(e)=>ra(e,kS),CS=(e)=>ra(e,OS);function kr(e){let t=Object.create(null);return f.forEach(e.toJSON(),(r,n)=>{t[n]=CS(r)}),t}var nl=Symbol("internals");function Pn(e){return e&&String(e).trim().toLowerCase()}function Bi(e){if(e===!1||e==null)return e;return f.isArray(e)?e.map(Bi):rl(String(e))}function PS(e){let t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;while(n=r.exec(e))t[n[1]]=n[2];return t}var IS=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function na(e){let t=0,r=e.length;while(t<r){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}while(r>t){let n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}function jS(e){let t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let r="";for(let n=1;n<t;n++){let i=e.charCodeAt(n);if(i===34)return e;if(i===92){if(n+=1,n>=t)return e}r+=e[n]}return r}function LS(e){let t=Object.create(null),r=String(e),n=0,i=!1,o=!1;function s(a){let c=na(r.slice(n,a)),p=c.indexOf("=");if(p<1)return;let u=na(c.slice(0,p));if(!IS.test(u))return;let l=u.toLowerCase();if(l==="__proto__"||l==="constructor"||l==="prototype")return;let d=na(c.slice(p+1));t[l]=jS(d)}for(let a=0;a<r.length;a++){let c=r.charCodeAt(a);if(i){if(o)o=!1;else if(c===92)o=!0;else if(c===34)i=!1}else if(c===34)i=!0;else if(c===44||c===59)s(a),n=a+1}return s(r.length),t}var NS=(e)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ia(e,t,r,n,i){if(f.isFunction(n))return n.call(this,t,r);if(i)t=r;if(!f.isString(t))return;if(f.isString(n))return t.indexOf(n)!==-1;if(f.isRegExp(n))return n.test(t)}function qS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function DS(e,t){let r=f.toCamelCase(" "+t);["get","set","has"].forEach((n)=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}class In{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(s,a,c){let p=Pn(a);if(!p)return;let u=f.findKey(n,p);if(!u||n[u]===void 0||c===!0||c===void 0&&n[u]!==!1)n[u||a]=Bi(s)}let o=(s,a)=>f.forEach(s,(c,p)=>i(c,p,a));if(f.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(f.isString(e)&&(e=e.trim())&&!NS(e))o(tl(e),t);else if(f.isObject(e)&&f.isSafeIterable(e)){let s=Object.create(null),a,c;for(let p of e){if(!f.isArray(p))throw TypeError("Object iterator must return a key-value pair");if(c=p[0],f.hasOwnProp(s,c))a=s[c],s[c]=f.isArray(a)?[...a,p[1]]:[a,p[1]];else s[c]=p[1]}o(s,t)}else e!=null&&i(t,e,r);return this}get(e,t){if(e=Pn(e),e){let r=f.findKey(this,e);if(r){let n=this[r];if(!t)return n;if(t===!0)return PS(n);if(f.isFunction(t))return t.call(this,n,r);if(f.isRegExp(t))return t.exec(n);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Pn(e),e){let r=f.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||ia(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(o){if(o=Pn(o),o){let s=f.findKey(r,o);if(s&&(!t||ia(r,r[s],s,t)))delete r[s],n=!0}}if(f.isArray(e))e.forEach(i);else i(e);return n}clear(e){let t=Object.keys(this),r=t.length,n=!1;while(r--){let i=t[r];if(!e||ia(this,this[i],i,e,!0))delete this[i],n=!0}return n}normalize(e){let t=this,r={};return f.forEach(this,(n,i)=>{let o=f.findKey(r,i);if(o){t[o]=Bi(n),delete t[i];return}let s=e?qS(i):String(i).trim();if(s!==i)delete t[i];t[s]=Bi(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return f.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=e&&f.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
30
+ `)}getSetCookie(){let e=this.get("set-cookie");return f.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return LS(e)}static concat(e,...t){let r=new this(e);return t.forEach((n)=>r.set(n)),r}static accessor(e){let r=(this[nl]=this[nl]={accessors:{}}).accessors,n=this.prototype;function i(o){let s=Pn(o);if(!r[s])DS(n,o),r[s]=!0}return f.isArray(e)?e.forEach(i):i(e),this}}In.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.reduceDescriptors(In.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});f.freezeMethods(In);var Z=In;var jn="[REDACTED ****]";function US(e){if(f.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(f.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function FS(e,t){let r=new Set(t.map((o)=>String(o).toLowerCase())),n=[],i=(o)=>{if(o===null||typeof o!=="object")return o;if(f.isBuffer(o))return o;if(n.indexOf(o)!==-1)return;if(o instanceof Z)o=o.toJSON();n.push(o);let s;if(f.isArray(o))s=[],o.forEach((a,c)=>{let p=i(a);if(!f.isUndefined(p))s[c]=p});else{if(!f.isPlainObject(o)&&US(o))return n.pop(),o;s=Object.create(null);for(let[a,c]of Object.entries(o)){let p=r.has(a.toLowerCase())?jn:i(c);if(!f.isUndefined(p))s[a]=p}}return n.pop(),s};return i(e)}function il(e){try{return String(e)}catch(t){return""}}function $S(e){return e.errors.map((r)=>{try{return r&&r.message?il(r.message):il(r)}catch(n){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}class Te extends Error{static from(e,t,r,n,i,o){let s=e.message;if(!s&&f.isArray(e.errors)&&e.errors.length)s=$S(e);let a=new Te(s,t||e.code,r,n,i);if(Object.defineProperty(a,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),a.name=e.name,e.status!=null&&a.status==null)a.status=e.status;return o&&Object.assign(a,o),a}constructor(e,t,r,n,i){super(e);if(Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i)this.response=i,this.status=i.status}toJSON(){let e=this.config,t=e&&f.hasOwnProp(e,"redact")?e.redact:void 0,r=f.isArray(t)&&t.length>0?FS(e,t):f.toJSONObject(e);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:r,code:this.code,status:this.status}}}Te.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Te.ERR_BAD_OPTION="ERR_BAD_OPTION";Te.ECONNABORTED="ECONNABORTED";Te.ETIMEDOUT="ETIMEDOUT";Te.ECONNREFUSED="ECONNREFUSED";Te.ERR_NETWORK="ERR_NETWORK";Te.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Te.ERR_DEPRECATED="ERR_DEPRECATED";Te.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Te.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Te.ERR_CANCELED="ERR_CANCELED";Te.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Te.ERR_INVALID_URL="ERR_INVALID_URL";Te.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var w=Te;var pf=pe(cf(),1),Zi=pf.default;var Qi={isBufferAvailable(){return typeof Buffer<"u"},from(e){return Buffer.from(e)}};var _a=100;function Ta(e){return f.isPlainObject(e)||f.isArray(e)}function uf(e){return f.endsWith(e,"[]")?e.slice(0,-2):e}function Ra(e,t,r){if(!e)return t;return e.concat(t).map(function(i,o){return i=uf(i),!r&&o?"["+i+"]":i}).join(r?".":"")}function RA(e){return f.isArray(e)&&!e.some(Ta)}var TA=f.toFlatObject(f,{},null,function(t){return/^is[A-Z]/.test(t)});function _A(e,t,r){if(!f.isObject(e))throw TypeError("target must be an object");t=t||new(Zi||FormData),r=f.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,E){return!f.isUndefined(E[b])});let n=r.metaTokens,i=r.visitor||y,o=r.dots,s=r.indexes,a=r.Blob||typeof Blob<"u"&&Blob,c=r.maxDepth===void 0?_a:r.maxDepth,p=a&&f.isSpecCompliantForm(t),u=[];if(!f.isFunction(i))throw TypeError("visitor must be a function");function l(h){if(h===null)return"";if(f.isDate(h))return h.toISOString();if(f.isBoolean(h))return h.toString();if(!p&&f.isBlob(h))throw new w("Blob is not supported. Use a Buffer instead.");if(f.isArrayBuffer(h)||f.isTypedArray(h)){if(p&&typeof a==="function")return new a([h]);if(Qi&&Qi.isBufferAvailable())return Qi.from(h);throw new w("Blob is not supported. Use a Buffer instead.",w.ERR_NOT_SUPPORT)}return h}function d(h){if(h>c)throw new w("Object is too deeply nested ("+h+" levels). Max depth: "+c,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(h,b){if(c===1/0)return JSON.stringify(h);let E=[];return JSON.stringify(h,function(O,C){if(!f.isObject(C))return C;while(E.length&&E[E.length-1]!==this)E.pop();return E.push(C),d(b+E.length-1),C})}function y(h,b,E){let A=h;if(f.isReactNative(t)&&f.isReactNativeBlob(h))return t.append(Ra(E,b,o),l(h)),!1;if(h&&!E&&typeof h==="object"){if(f.endsWith(b,"{}"))b=n?b:b.slice(0,-2),h=m(h,1);else if(f.isArray(h)&&RA(h)||(f.isFileList(h)||f.endsWith(b,"[]"))&&(A=f.toArray(h)))return b=uf(b),A.forEach(function(C,K){!(f.isUndefined(C)||C===null)&&t.append(s===!0?Ra([b],K,o):s===null?b:b+"[]",l(C))}),!1}if(Ta(h))return!0;return t.append(Ra(E,b,o),l(h)),!1}let x=Object.assign(TA,{defaultVisitor:y,convertValue:l,isVisitable:Ta});function v(h,b,E=0){if(f.isUndefined(h))return;if(d(E),u.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));u.push(h),f.forEach(h,function(O,C){if((!(f.isUndefined(O)||O===null)&&i.call(t,O,f.isString(C)?C.trim():C,b,x))===!0)v(O,b?b.concat(C):[C],E+1)}),u.pop()}if(!f.isObject(e))throw TypeError("data must be an object");return v(e),t}var Ct=_A;function lf(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function df(e,t){this._pairs=[],e&&Ct(e,this,t)}var ff=df.prototype;ff.append=function(t,r){this._pairs.push([t,r])};ff.toString=function(t){let r=t?(n)=>t.call(this,n,lf):lf;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var mf=df;function kA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Qt(e,t,r){if(!t)return e;e=e||"";let n=f.isFunction(r)?{serialize:r}:r,i=f.getSafeProp(n,"encode")||kA,o=f.getSafeProp(n,"serialize"),s;if(o)s=o(t,n);else s=f.isURLSearchParams(t)?t.toString():new mf(t,n).toString(i);if(s){let a=e.indexOf("#");if(a!==-1)e=e.slice(0,a);e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class hf{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){if(this.handlers[e])this.handlers[e]=null}clear(){if(this.handlers)this.handlers=[]}forEach(e){f.forEach(this.handlers,function(r){if(r!==null)e(r)})}}var ka=hf;var Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var vf=pe(require("crypto"));var xf=pe(require("url")),gf=xf.default.URLSearchParams;var Oa="abcdefghijklmnopqrstuvwxyz",yf="0123456789",bf={DIGIT:yf,ALPHA:Oa,ALPHA_DIGIT:Oa+Oa.toUpperCase()+yf},OA=(e=16,t=bf.ALPHA_DIGIT)=>{let r="",{length:n}=t,i=new Uint32Array(e);vf.default.randomFillSync(i);for(let o=0;o<e;o++)r+=t[i[o]%n];return r},wf={isNode:!0,classes:{URLSearchParams:gf,FormData:Zi,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:bf,generateString:OA,protocols:["http","https","file","data"]};var Ia={};Ar(Ia,{hasBrowserEnv:()=>Pa,hasStandardBrowserEnv:()=>CA,hasStandardBrowserWebWorkerEnv:()=>PA,navigator:()=>Ca,origin:()=>IA});var Pa=typeof window<"u"&&typeof document<"u",Ca=typeof navigator==="object"&&navigator||void 0,CA=Pa&&(!Ca||["ReactNative","NativeScript","NS"].indexOf(Ca.product)<0),PA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")(),IA=Pa&&window.location.href||"http://localhost";var z={...Ia,...wf};function ja(e,t){return Ct(e,new z.classes.URLSearchParams,{visitor:function(r,n,i,o){if(z.isNode&&f.isBuffer(r))return this.append(n,r.toString("base64")),!1;return o.defaultVisitor.apply(this,arguments)},...t})}var Ef=_a;function Sf(e){if(e>Ef)throw new w("FormData field is too deeply nested ("+e+" levels). Max depth: "+Ef,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function jA(e){let t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g,n;while((n=r.exec(e))!==null)Sf(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function LA(e){let t={},r=Object.keys(e),n,i=r.length,o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function NA(e){function t(r,n,i,o){Sf(o);let s=r[o++];if(s==="__proto__")return!0;let a=Number.isFinite(+s),c=o>=r.length;if(s=!s&&f.isArray(i)?i.length:s,c){if(f.hasOwnProp(i,s))i[s]=f.isArray(i[s])?i[s].concat(n):[i[s],n];else i[s]=n;return!a}if(!f.hasOwnProp(i,s)||!f.isObject(i[s]))i[s]=[];if(t(r,n,i[s],o)&&f.isArray(i[s]))i[s]=LA(i[s]);return!a}if(f.isFormData(e)&&f.isFunction(e.entries)){let r={};return f.forEachEntry(e,(n,i)=>{t(jA(n),i,r,0)}),r}return null}var eo=NA;var jr=(e,t)=>e!=null&&f.hasOwnProp(e,t)?e[t]:void 0;function qA(e,t,r){if(f.isString(e))try{return(t||JSON.parse)(e),f.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var La={transitional:Pt,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=f.isObject(t);if(o&&f.isHTMLForm(t))t=new FormData(t);if(f.isFormData(t))return i?JSON.stringify(eo(t)):t;if(f.isArrayBuffer(t)||f.isBuffer(t)||f.isStream(t)||f.isFile(t)||f.isBlob(t)||f.isReadableStream(t))return t;if(f.isArrayBufferView(t))return t.buffer;if(f.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){let c=jr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return ja(t,c).toString();if((a=f.isFileList(t))||n.indexOf("multipart/form-data")>-1){let p=jr(this,"env"),u=p&&p.FormData;return Ct(a?{"files[]":t}:t,u&&new u,c)}}if(o||i)return r.setContentType("application/json",!1),qA(t);return t}],transformResponse:[function(t){let r=jr(this,"transitional")||La.transitional,n=r&&r.forcedJSONParsing,i=jr(this,"responseType"),o=i==="json";if(f.isResponse(t)||f.isReadableStream(t))return t;if(t&&f.isString(t)&&(n&&!i||o)){let a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,jr(this,"parseReviver"))}catch(c){if(a){if(c.name==="SyntaxError")throw w.from(c,w.ERR_BAD_RESPONSE,this,null,jr(this,"response"));throw c}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:z.classes.FormData,Blob:z.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};f.forEach(["delete","get","head","post","put","patch","query"],(e)=>{La.headers[e]={}});var Lr=La;function Un(e,t){let r=this||Lr,n=t||r,i=Z.from(n.headers),o=n.data;return f.forEach(e,function(a){o=a.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Fn(e){return!!(e&&e.__CANCEL__)}class Af extends w{constructor(e,t,r){super(e==null?"canceled":e,w.ERR_CANCELED,t,r);this.name="CanceledError",this.__CANCEL__=!0}}var Ue=Af;function dt(e,t,r){let n=r.config.validateStatus;if(!r.status||!n||n(r.status))e(r);else t(new w("Request failed with status code "+r.status,r.status>=400&&r.status<500?w.ERR_BAD_REQUEST:w.ERR_BAD_RESPONSE,r.config,r.request,r))}function Na(e){if(typeof e!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qa(e,t){if(!t)return e;let r=e.length;while(r>0&&e.charCodeAt(r-1)===47)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}var DA=/^https?:(?!\/\/)/i,UA=/[\t\n\r]/g;function FA(e){let t=0;while(t<e.length&&e.charCodeAt(t)<=32)t++;return e.slice(t)}function $A(e){return FA(e).replace(UA,"")}function BA(e){if(!e)return e;return e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,r,n="")=>`${r}${n}${jn}`)}function KA(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${jn}@`),r=t.indexOf("#"),i=(r===-1?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${jn}`);if(r===-1)return i;return`${i}#${BA(t.slice(r+1))}`}function Rf(e,t){if(typeof e==="string"){let r=$A(e);if(DA.test(r))throw new w(`Invalid URL ${JSON.stringify(KA(r))}: missing "//" after protocol`,w.ERR_INVALID_URL,t)}}function er(e,t,r,n){Rf(t,n);let i=!Na(t);if(e&&(i||r===!1))return Rf(e,n),qa(e,t);return t}var HA={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function JA(e){try{return new URL(e)}catch{return null}}function Tf(e){var t=(typeof e==="string"?JA(e):e)||{},r=t.protocol,n=t.host,i=t.port;if(typeof n!=="string"||!n||typeof r!=="string")return"";if(r=r.split(":",1)[0],n=n.replace(/:\d*$/,""),i=parseInt(i)||HA[r]||0,!WA(n,i))return"";var o=Da(r+"_proxy")||Da("all_proxy");if(o&&o.indexOf("://")===-1)o=r+"://"+o;return o}function WA(e,t){var r=Da("no_proxy").toLowerCase();if(!r)return!0;if(r==="*")return!1;return r.split(/[,\s]/).every(function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),o=i?i[1]:n,s=i?parseInt(i[2]):0;if(s&&s!==t)return!0;if(!/^[.*]/.test(o))return e!==o;if(o.charAt(0)==="*")o=o.slice(1);return!e.endsWith(o)})}function Da(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var hc=pe(Wf(),1),xc=pe(require("http")),gc=pe(require("https")),Lm=pe(require("http2")),Nm=pe(require("util")),mc=require("path"),qm=pe(Zf(),1),Fe=pe(require("zlib"));var vt="1.19.0";function Gn(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var XR=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function ac(e,t,r){let n=r&&r.Blob||z.classes.Blob,i=Gn(e);if(t===void 0&&n)t=!0;if(i==="data"){e=i.length?e.slice(i.length+1):e;let o=XR.exec(e);if(!o)throw new w("Invalid URL",w.ERR_INVALID_URL);let s=o[1],a=o[2],c=o[3]?"base64":"utf8",p=o[4],u="";if(s)u=a?s+a:s;else if(a)u="text/plain"+a;let l=c==="base64"?Buffer.from(p,"base64"):Buffer.from(decodeURIComponent(p),c);if(t){if(!n)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new n([l],{type:u})}return l}throw new w("Unsupported protocol "+i,w.ERR_NOT_SUPPORT)}var ze=pe(require("stream"));var YR=["content-type","content-length"];function Vn(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([n,i])=>{if(YR.includes(n.toLowerCase()))e.set(n,i)})}var Qf=pe(require("stream"));var cc=Symbol("internals");class em extends Qf.default.Transform{constructor(e){e=f.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(r,n)=>!f.isUndefined(n[r]));super({readableHighWaterMark:e.chunkSize});let t=this[cc]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(r)=>{if(r==="progress"){if(!t.isCaptured)t.isCaptured=!0}})}_read(e){let t=this[cc];if(t.onReadCallback)t.onReadCallback();return super._read(e)}_transform(e,t,r){let n=this[cc],i=n.maxRate,o=this.readableHighWaterMark,s=n.timeWindow,a=1000/s,c=i/a,p=n.minChunkSize!==!1?Math.max(n.minChunkSize,c*0.01):0,u=(d,m)=>{let y=Buffer.byteLength(d);if(n.bytesSeen+=y,n.bytes+=y,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(d))process.nextTick(m);else n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(m)}},l=(d,m)=>{let y=Buffer.byteLength(d),x=null,v=o,h,b=0;if(i){let E=Date.now();if(!n.ts||(b=E-n.ts)>=s)n.ts=E,h=c-n.bytes,n.bytes=h<0?-h:0,b=0;h=c-n.bytes}if(i){if(h<=0)return setTimeout(()=>{m(null,d)},s-b);if(h<v)v=h}if(v&&y>v&&y-v>p)x=d.subarray(v),d=d.subarray(0,v);u(d,x?()=>{process.nextTick(m,null,x)}:m)};l(e,function d(m,y){if(m)return r(m);if(y)l(y,d);else r(null)})}}var pc=em;var Dm=require("events");var rm=pe(require("util")),nm=require("stream");var{asyncIterator:tm}=Symbol,ZR=async function*(e){if(e.stream)yield*e.stream();else if(e.arrayBuffer)yield await e.arrayBuffer();else if(e[tm])yield*e[tm]();else yield e},co=ZR;var QR=z.ALPHABET.ALPHA_DIGIT+"-_",Xn=typeof TextEncoder==="function"?new TextEncoder:new rm.default.TextEncoder,or=`\r
31
+ `,eT=Xn.encode(or),tT=2;class im{constructor(e,t){let{escapeName:r}=this.constructor,n=f.isString(t),i=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}${or}`;if(n)t=Xn.encode(String(t).replace(/\r?\n|\r\n?/g,or));else{let o=String(t.type||"application/octet-stream").replace(/[\r\n]/g,"");i+=`Content-Type: ${o}${or}`}this.headers=Xn.encode(i+or),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+tT,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;if(f.isTypedArray(e))yield e;else yield*co(e);yield eT}static escapeName(e){return String(e).replace(/[\r\n"]/g,(t)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}}var rT=(e,t,r)=>{let{tag:n="form-data-boundary",size:i=25,boundary:o=n+"-"+z.generateString(i,QR)}=r||{};if(!f.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 1-70 characters long");let s=Xn.encode("--"+o+or),a=Xn.encode("--"+o+"--"+or),c=a.byteLength,p=Array.from(e.entries()).map(([l,d])=>{let m=new im(l,d);return c+=m.size,m});c+=s.byteLength*p.length,c=f.toFiniteNumber(c);let u={"Content-Type":`multipart/form-data; boundary=${o}`};if(Number.isFinite(c))u["Content-Length"]=c;return t&&t(u),nm.Readable.from(async function*(){for(let l of p)yield s,yield*l.encode();yield a}())},om=rT;var sm=pe(require("stream"));class am extends sm.default.Transform{__transform(e,t,r){this.push(e),r()}_transform(e,t,r){if(e.length!==0){if(this._transform=this.__transform,e[0]!==120){let n=Buffer.alloc(2);n[0]=120,n[1]=156,this.push(n,t)}}this.__transform(e,t,r)}}var cm=am;var pm=pe(require("http2")),um=pe(require("util"));class lm{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1000},t);let r=this.sessions[e];if(r){let u=r.length;for(let l=0;l<u;l++){let[d,m]=r[l];if(!d.destroyed&&!d.closed&&um.default.isDeepStrictEqual(m,t))return d}}let n=pm.default.connect(e,t),i,o,s=()=>{if(i)return;if(i=!0,o)clearTimeout(o),o=null;let u=r,l=u.length,d=l;while(d--)if(u[d][0]===n){if(l===1)delete this.sessions[e];else u.splice(d,1);if(!n.closed)n.close();return}},a=n.request,{sessionTimeout:c}=t;if(c!=null){let u=0;n.request=function(){let l=a.apply(this,arguments);if(u++,o)clearTimeout(o),o=null;return l.once("close",()=>{if(!--u)o=setTimeout(()=>{o=null,s()},c)}),l}}n.once("close",s);let p=[n,t];return r?r.push(p):r=this.sessions[e]=[p],n}}var dm=lm;var nT=(e,t)=>f.isAsyncFn(e)?function(...r){let n=r.pop();e.apply(this,r).then((i)=>{try{t?n(null,...t(i)):n(null,i)}catch(o){n(o)}},n)}:e,fm=nT;var iT=new Set(["localhost","0.0.0.0"]),xm=(e)=>{let t=e.split(".");if(t.length!==4)return!1;if(t[0]!=="127")return!1;return t.every((r)=>/^\d+$/.test(r)&&Number(r)>=0&&Number(r)<=255)},uc=(e)=>{if(/^0[xX][0-9a-fA-F]+$/.test(e)){let t=parseInt(e.slice(2),16);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-7]+$/.test(e)){let t=parseInt(e,8);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-9]+$/.test(e))return null;if(/^[0-9]+$/.test(e)){let t=parseInt(e,10);return Number.isFinite(t)?t:null}return null},oT=(e)=>{if(typeof e!=="string"||!e||e.indexOf(":")!==-1)return e;let t=e;if(t.charAt(0)==="["&&t.charAt(t.length-1)==="]")t=t.slice(1,-1);if(t=t.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(t))return e;let r=t.split(".");if(r.some((u)=>u===""))return e;if(r.length===4){let u=r.map(uc);if(u.some((l)=>l===null||l<0||l>255))return e;return u.join(".")}if(r.length>4)return e;if(r.length===1)return e;let n=r.slice(0,-1),i=r[r.length-1],o=4-n.length,s=uc(i);if(s===null)return e;let a=(1<<8*o)-1;if(s<0||s>a)return e;let c=Array(o).fill(0);for(let u=o-1,l=s;u>=0;u--,l>>=8)c[u]=l&255;let p=n.map(uc);if(p.some((u)=>u===null||u<0||u>255))return e;return[...p,...c].join(".")},lc=(e)=>/^0{1,4}$/.test(e),sT=(e)=>{if(e==="::")return!0;let t=e.indexOf("::");if(t!==-1){if(t!==e.lastIndexOf("::"))return!1;let n=e.slice(0,t),i=e.slice(t+2),o=n?n.split(":"):[],s=i?i.split(":"):[];return o.length+s.length<8&&o.every(lc)&&s.every(lc)}let r=e.split(":");return r.length===8&&r.every(lc)},aT=(e)=>{if(e==="::1")return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return xm(t[1]);let r=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(r){let i=parseInt(r[1],16);return i>=32512&&i<=32767}let n=e.split(":");if(n.length===8){for(let i=0;i<7;i++)if(!/^0+$/.test(n[i]))return!1;return/^0*1$/.test(n[7])}return!1},mm=(e)=>{if(!e)return!1;if(iT.has(e))return!0;if(xm(e))return!0;if(sT(e))return!0;return aT(e)},cT={http:80,https:443,ws:80,wss:443,ftp:21},pT=(e)=>{let t=e,r=0;if(t.charAt(0)==="["){let o=t.indexOf("]");if(o!==-1){let s=t.slice(1,o),a=t.slice(o+1);if(a.charAt(0)===":"&&/^\d+$/.test(a.slice(1)))r=Number.parseInt(a.slice(1),10);return[s,r]}}let n=t.indexOf(":"),i=t.lastIndexOf(":");if(n!==-1&&n===i&&/^\d+$/.test(t.slice(i+1)))r=Number.parseInt(t.slice(i+1),10),t=t.slice(0,i);return[t,r]},uT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,lT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,dT=(e)=>{if(typeof e!=="string"||e.indexOf(":")===-1)return e;let t=e.match(uT);if(t)return t[1];let r=e.match(lT);if(r){let n=parseInt(r[1],16),i=parseInt(r[2],16);return`${n>>8}.${n&255}.${i>>8}.${i&255}`}return e},hm=(e)=>{if(!e)return e;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]")e=e.slice(1,-1);let t=e.replace(/\.+$/,""),r=oT(t);if(r!==t)return r;return dT(t)};function dc(e){let t;try{t=new URL(e)}catch(o){return!1}let r=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!r)return!1;if(r==="*")return!0;let n=Number.parseInt(t.port,10)||cT[t.protocol.split(":",1)[0]]||0,i=hm(t.hostname.toLowerCase());return r.split(/[\s,]+/).some((o)=>{if(!o)return!1;if(o==="*")return!0;let[s,a]=pT(o);if(s=hm(s),!s)return!1;if(a&&a!==n)return!1;if(s.charAt(0)==="*")s=s.slice(1);if(s.charAt(0)===".")return i.endsWith(s);return i===s||mm(i)&&mm(s)})}function fT(e,t){e=e||10;let r=Array(e),n=Array(e),i=0,o=0,s;return t=t!==void 0?t:1000,function(c){let p=Date.now(),u=n[o];if(!s)s=p;r[i]=c,n[i]=p;let l=o,d=0;while(l!==i)d+=r[l++],l=l%e;if(i=(i+1)%e,i===o)o=(o+1)%e;if(p-s<t)return;let m=u&&p-u;return m?Math.round(d*1000/m):void 0}}var gm=fT;function mT(e,t){let r=0,n=1000/t,i,o,s=(p,u=Date.now())=>{if(r=u,i=null,o)clearTimeout(o),o=null;e(...p)};return[(...p)=>{let u=Date.now(),l=u-r;if(l>=n)s(p,u);else if(i=p,!o)o=setTimeout(()=>{o=null,s(i)},n-l)},()=>i&&s(i)]}var ym=mT;var bt=(e,t,r=3)=>{let n=0,i=gm(50,250);return ym((o)=>{if(!o||typeof o.loaded!=="number")return;let s=o.loaded,a=o.lengthComputable?o.total:void 0,c=Math.max(0,a!=null?Math.min(s,a):s),p=Math.max(0,c-n),u=i(p);n=Math.max(n,c);let l={loaded:c,total:a,progress:a?c/a:void 0,bytes:p,rate:u?u:void 0,estimated:u&&a?(a-c)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(l)},r)},Fr=(e,t)=>{let r=e!=null;return[(n)=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},$r=(e,t=f.asap)=>(...r)=>t(()=>e(...r));var vm=(e)=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,wm=(e,t,r)=>t+2<r&&vm(e.charCodeAt(t+1))&&vm(e.charCodeAt(t+2)),bm=(e)=>e<=57?e-48:(e&223)-55,hT=(e)=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,xT=(e)=>e===9||e===10||e===12||e===13||e===32,gT=(e)=>{let t=Math.floor(e/4),r=e%4;return t*3+(r===2?1:r===3?2:0)},Em=(e)=>{let t=e.length,r=0;if(t>0&&e.charCodeAt(t-1)===61){if(r++,t>1&&e.charCodeAt(t-2)===61)r++}return Math.floor((t-r)*3/4)},yT=(e)=>{let t=e.length,r=0,n=0,i=!1;for(let o=0;o<t;o++){let s=e.charCodeAt(o);if(s===37&&wm(e,o,t))s=bm(e.charCodeAt(o+1))*16+bm(e.charCodeAt(o+2)),o+=2;if(xT(s))continue;if(s===61){n++;continue}if(!hT(s)||n>0){i=!0;continue}r++}if(i||n>2||n>0&&(r+n)%4!==0||r%4===1)return Em(e);return gT(r)},Sm=(e,t)=>{if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;let r=e.indexOf(",");if(r<0)return 0;let n=e.slice(5,r),i=e.slice(r+1);if(/;base64/i.test(n))return t(i);let s=0;for(let a=0,c=i.length;a<c;a++){let p=i.charCodeAt(a);if(p===37&&wm(i,a,c))s+=1,a+=2;else if(p<128)s+=1;else if(p<2048)s+=2;else if(p>=55296&&p<=56319&&a+1<c){let u=i.charCodeAt(a+1);if(u>=56320&&u<=57343)s+=4,a++;else s+=3}else s+=3}return s};function fc(e){let t=typeof e==="string"?e.indexOf("#"):-1;return Sm(t===-1?e:e.slice(0,t),yT)}function Am(e){return Sm(e,Em)}var Rm={flush:Fe.default.constants.Z_SYNC_FLUSH,finishFlush:Fe.default.constants.Z_SYNC_FLUSH},vT={flush:Fe.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fe.default.constants.BROTLI_OPERATION_FLUSH},bT={flush:Fe.default.constants.ZSTD_e_flush,finishFlush:Fe.default.constants.ZSTD_e_flush},Um=f.isFunction(Fe.default.createBrotliDecompress),Fm=f.isFunction(Fe.default.createZstdDecompress),$m="gzip, compress, deflate"+(Um?", br":""),wT=$m+(Fm?", zstd":""),Tm=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):f.asap,{http:ET,https:ST}=qm.default,yc=/https:?/,_m=Symbol("axios.http.socketListener"),po=Symbol("axios.http.currentReq"),Bm=Symbol("axios.http.installedTunnel"),AT=new Map,km=new WeakMap,Om={22:21,24:5};function RT(e=process.versions&&process.versions.node){if(!e)return!1;let[t,r]=e.split(".").map((n)=>Number(n));if(!Number.isInteger(t)||!Number.isInteger(r))return!1;if(t>24)return!0;return Om[t]!=null&&r>=Om[t]}function TT(e,t=process.versions&&process.versions.node){if(!RT(t))return!1;let r=e&&e.options;return Boolean(r&&f.hasOwnProp(r,"proxyEnv")&&r.proxyEnv!=null)}function _T(e,t,r){return yc.test(e.protocol)?r||gc.default.globalAgent:t||xc.default.globalAgent}function kT(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?km.get(t)||km.set(t,new Map).get(t):AT,i=n.get(r);if(i)return i;let o=t&&t.options?{...t.options,...e}:e;if(i=new hc.default(o),t&&t.options){let s={...t.options},a=i.callback;i.callback=function(p,u){return a.call(this,p,{...s,...u})}}return i[Bm]=!0,n.set(r,i),i}var Cm=z.protocols.map((e)=>e+":"),Pm=(e)=>{if(!f.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Im=(e,[t,r])=>(e.on("end",r).on("error",r),t),OT=new dm;function CT(e,t,r){if(e.beforeRedirects.proxy)e.beforeRedirects.proxy(e);if(e.beforeRedirects.auth)e.beforeRedirects.auth(e);if(e.beforeRedirects.sensitiveHeaders)e.beforeRedirects.sensitiveHeaders(e,r);if(e.beforeRedirects.config)e.beforeRedirects.config(e,t,r)}function PT(e,t){if(!e)return;Object.keys(e).forEach((r)=>{if(t.has(r.toLowerCase()))delete e[r]})}function IT(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(r){return!1}}function Km(e,t,r,n,i,o){let s=t,a=_T(e,o,i);if(!s&&s!==!1&&!TT(a)){let c=Tf(r);if(c){if(!dc(r))s=new URL(c)}}if(n&&e.headers){for(let c of Object.keys(e.headers))if(c.toLowerCase()==="proxy-authorization")delete e.headers[c]}if(n&&e.agent&&e.agent[Bm])e.agent=void 0;if(s){let c=s instanceof URL,p=(y)=>c||f.hasOwnProp(s,y)?s[y]:void 0,u=p("username"),l=p("password"),d=f.hasOwnProp(s,"auth")?s.auth:void 0;if(u)d=(u||"")+":"+(l||"");if(d){let y=typeof d==="object",x=y&&f.hasOwnProp(d,"username")?d.username:void 0,v=y&&f.hasOwnProp(d,"password")?d.password:void 0;if(Boolean(x||v))d=(x||"")+":"+(v||"");else if(y)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:s})}if(yc.test(e.protocol)){if(!(i instanceof hc.default)){let y=p("hostname")||p("host"),x=p("port"),v=p("protocol"),h=v?v.includes(":")?v:`${v}:`:"http:",b=y&&y.includes(":")&&!y.startsWith("[")?`[${y}]`:y,E=new URL(`${h}//${b}${x?":"+x:""}`),A={protocol:E.protocol,hostname:E.hostname.replace(/^\[|\]$/g,""),port:E.port,auth:d&&typeof d==="string"?d:void 0};if(E.protocol==="https:")A.ALPNProtocols=["http/1.1"];let O=kT(A,i);if(e.agent=O,e.agents)e.agents.https=O}}else{if(d){let h=Buffer.from(d,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+h}let y=!1;for(let h of Object.keys(e.headers))if(h.toLowerCase()==="host"){y=!0;break}if(!y)e.headers.host=e.hostname+(e.port?":"+e.port:"");let x=p("hostname")||p("host");e.hostname=x,e.host=x,e.port=p("port"),e.path=r;let v=p("protocol");if(v)e.protocol=v.includes(":")?v:`${v}:`}}e.beforeRedirects.proxy=function(p){Km(p,t,p.href,!0,i,o)}}var jT=typeof process<"u"&&f.kindOf(process)==="process",LT=(e)=>new Promise((t,r)=>{let n,i,o=(c,p)=>{if(i)return;i=!0,n&&n(c,p)},s=(c)=>{o(c),t(c)},a=(c)=>{o(c,!0),r(c)};e(s,a,(c)=>n=c).catch(a)}),NT=({address:e,family:t})=>{if(!f.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},jm=(e,t)=>NT(f.isObject(e)?e:{address:e,family:t}),qT={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:i}=e,o=OT.getSession(r,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=Lm.default.constants,u={[s]:e.protocol.replace(":",""),[a]:e.method,[c]:e.path};f.forEach(i,(d,m)=>{m.charAt(0)!==":"&&(u[m]=d)});let l=o.request(u);return l.once("response",(d)=>{let m=l;d=Object.assign({},d);let y=d[p];delete d[p],m.headers=d,m.statusCode=+y,t(m)}),l}},Hm=jT&&function(t){return LT(async function(n,i,o){let s=(k)=>f.getSafeProp(t,k),a=s("transitional")||Pt,c=s("data"),p=s("lookup"),u=s("family"),l=s("httpVersion");if(l===void 0)l=1;let d=s("http2Options"),m=s("httpAgent"),y=s("httpsAgent"),x=s("proxy"),v=s("responseType"),h=s("responseEncoding"),b=s("socketPath"),E=s("method").toUpperCase(),A=s("maxRedirects"),O=s("maxBodyLength"),C=s("maxContentLength"),K=s("decompress"),te,F=!1,I,me;if(l=+l,Number.isNaN(l))throw TypeError(`Invalid protocol version: '${t.httpVersion}' is not a number`);if(l!==1&&l!==2)throw TypeError(`Unsupported protocol version '${l}'`);let gt=l===2;if(p){let k=fm(p,(R)=>f.isArray(R)?R:[R]);p=(R,B,ae)=>{k(R,B,(D,be,Oe)=>{if(D)return ae(D);let fe=f.isArray(be)?be.map((Sr)=>jm(Sr)):[jm(be,Oe)];B.all?ae(D,fe):ae(D,fe[0].address,fe[0].family)})}}let Qe=new Dm.EventEmitter;function V(k){try{Qe.emit("abort",!k||k.type?new Ue(null,t,I):k)}catch(R){}}function et(){if(me)clearTimeout(me),me=null}function zt(){let k=s("timeout"),R=k?"timeout of "+k+"ms exceeded":"timeout exceeded",B=s("timeoutErrorMessage");if(B)R=B;return new w(R,a.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,I)}Qe.once("abort",i);let Mt=()=>{if(et(),t.cancelToken)t.cancelToken.unsubscribe(V);if(t.signal)t.signal.removeEventListener("abort",V);Qe.removeAllListeners()};if(t.cancelToken||t.signal){if(t.cancelToken&&t.cancelToken.subscribe(V),t.signal)t.signal.aborted?V():t.signal.addEventListener("abort",V)}o((k,R)=>{if(te=!0,et(),R){F=!0,Mt();return}let{data:B}=k;if(B instanceof ze.default.Readable||B instanceof ze.default.Duplex){let ae=ze.default.finished(B,()=>{ae(),Mt()})}else Mt()});let Ni=er(s("baseURL"),s("url"),s("allowAbsoluteUrls"),t),qi=b?"http://localhost":z.hasBrowserEnv?z.origin:void 0,ne=new URL(Ni,qi),se=ne.protocol||Cm[0];if(se==="data:"){if(C>-1){let R=String(s("url")||Ni||"");if(Am(R)>C)return i(new w("maxContentLength size of "+C+" exceeded",w.ERR_BAD_RESPONSE,t))}let k;if(E!=="GET")return dt(n,i,{status:405,statusText:"method not allowed",headers:{},config:t});try{k=ac(s("url"),v==="blob",{Blob:t.env&&t.env.Blob})}catch(R){throw w.from(R,w.ERR_BAD_REQUEST,t)}if(v==="text"){if(k=k.toString(h),!h||h==="utf8")k=f.stripBOM(k)}else if(v==="stream")k=ze.default.Readable.from(k);return dt(n,i,{data:k,status:200,statusText:"OK",headers:new Z,config:t})}if(Cm.indexOf(se)===-1)return i(new w("Unsupported protocol "+se,w.ERR_BAD_REQUEST,t));let de=Z.from(t.headers).normalize();de.set("User-Agent","axios/"+vt,!1);let{onUploadProgress:ut,onDownloadProgress:yt}=t,Gt=t.maxRate,W=void 0,Ae=void 0;if(f.isSpecCompliantForm(c)){let k=de.getContentType(/boundary=([-_\w\d]{10,70})/i);c=om(c,(R)=>{de.set(R)},{tag:`axios-${vt}-boundary`,boundary:k&&k[1]||void 0})}else if(f.isFormData(c)&&f.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(Vn(de,c.getHeaders(),s("formDataHeaderPolicy")),!de.hasContentLength())try{let k=await Nm.default.promisify(c.getLength).call(c);Number.isFinite(k)&&k>=0&&de.setContentLength(k)}catch(k){}}else if(f.isBlob(c)||f.isFile(c))c.size&&de.setContentType(c.type||"application/octet-stream"),de.setContentLength(c.size||0),c=ze.default.Readable.from(co(c));else if(c&&!f.isStream(c)){if(Buffer.isBuffer(c));else if(f.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(f.isString(c))c=Buffer.from(c,"utf-8");else return i(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,t));if(de.setContentLength(c.length,!1),O>-1&&c.length>O)return i(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,t))}let wr=f.toFiniteNumber(de.getContentLength());if(f.isArray(Gt))W=Gt[0],Ae=Gt[1];else W=Ae=Gt;if(c&&(ut||W)){if(!f.isStream(c))c=ze.default.Readable.from(c,{objectMode:!1});c=ze.default.pipeline([c,new pc({maxRate:f.toFiniteNumber(W)})],f.noop),ut&&c.on("progress",Im(c,Fr(wr,bt($r(ut,Tm),!1,3))))}let lt=void 0,Sn=s("auth");if(Sn){let k=f.getSafeProp(Sn,"username")||"",R=f.getSafeProp(Sn,"password")||"";lt=k+":"+R}if(!lt&&(ne.username||ne.password)){let k=Pm(ne.username),R=Pm(ne.password);lt=k+":"+R}lt&&de.delete("authorization");let An;try{An=Qt(ne.pathname+ne.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(k){return i(w.from(k,w.ERR_BAD_REQUEST,t,null,null,{url:s("url"),exists:!0}))}de.set("Accept-Encoding",f.hasOwnProp(a,"advertiseZstdAcceptEncoding")&&a.advertiseZstdAcceptEncoding===!0?wT:$m,!1);let X=Object.assign(Object.create(null),{path:An,method:E,headers:kr(de),agents:{http:m,https:y},auth:lt,protocol:se,family:u,beforeRedirect:CT,beforeRedirects:Object.create(null),http2Options:d});if(!f.isUndefined(p)&&(X.lookup=p),b){if(typeof b!=="string")return i(new w("socketPath must be a string",w.ERR_BAD_OPTION_VALUE,t));let k=s("allowedSocketPaths");if(k!=null){let R=Array.isArray(k)?k:[k],B=mc.resolve(b);if(!R.some((D)=>typeof D==="string"&&mc.resolve(D)===B))return i(new w(`socketPath "${b}" is not permitted by allowedSocketPaths`,w.ERR_BAD_OPTION_VALUE,t))}X.socketPath=b}else X.hostname=ne.hostname.startsWith("[")?ne.hostname.slice(1,-1):ne.hostname,X.port=ne.port,Km(X,x,se+"//"+ne.hostname+(ne.port?":"+ne.port:"")+X.path,!1,y,m);let kt,Er=!1,He=!1,L=yc.test(X.protocol);if(X.agent==null)X.agent=L?y:m;if(gt)kt=qT;else{let k=s("transport");if(k)kt=k;else if(A===0)kt=L?gc.default:xc.default,Er=!0;else{if(He=!0,X.sensitiveHeaders=[],A)X.maxRedirects=A;let R=s("beforeRedirect");if(R)X.beforeRedirects.config=R;if(lt){let ae=ne.origin,D=lt;X.beforeRedirects.auth=function(Oe){try{if(new URL(Oe.href).origin===ae)Oe.auth=D}catch(fe){}}}let B=s("sensitiveHeaders");if(B!=null){if(!f.isArray(B))return i(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,t));let ae=new Set;for(let D of B){if(!f.isString(D))return i(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,t));ae.add(D.toLowerCase())}if(ae.size)X.sensitiveHeaders=Array.from(ae),X.beforeRedirects.sensitiveHeaders=function(be,Oe){if(!IT(be,Oe))PT(be.headers,ae)}}kt=L?ST:ET}}if(O>-1)X.maxBodyLength=O;else X.maxBodyLength=1/0;X.insecureHTTPParser=Boolean(s("insecureHTTPParser")),I=kt.request(X,function(R){if(et(),I.destroyed)return;let B=[R],ae=f.toFiniteNumber(R.headers["content-length"]);if(yt||Ae){let fe=new pc({maxRate:f.toFiniteNumber(Ae)});yt&&fe.on("progress",Im(fe,Fr(ae,bt($r(yt,Tm),!0,3)))),B.push(fe)}let D=R,be=R.req||I;if(K!==!1&&R.headers["content-encoding"]){if(E==="HEAD"||R.statusCode===204)delete R.headers["content-encoding"];switch((R.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":B.push(Fe.default.createUnzip(Rm)),delete R.headers["content-encoding"];break;case"deflate":B.push(new cm),B.push(Fe.default.createUnzip(Rm)),delete R.headers["content-encoding"];break;case"br":if(Um)B.push(Fe.default.createBrotliDecompress(vT)),delete R.headers["content-encoding"];break;case"zstd":if(Fm)B.push(Fe.default.createZstdDecompress(bT)),delete R.headers["content-encoding"];break}}D=B.length>1?ze.default.pipeline(B,f.noop):B[0];let Oe={status:R.statusCode,statusText:R.statusMessage,headers:new Z(R.headers),config:t,request:be};if(v==="stream"){if(C>-1){let fe=C,Sr=D;async function*Rn(){let we=0;for await(let $u of Sr){if(we+=$u.length,we>fe)throw new w("maxContentLength size of "+fe+" exceeded",w.ERR_BAD_RESPONSE,t,be);yield $u}}D=ze.default.Readable.from(Rn(),{objectMode:!1})}Oe.data=D,dt(n,i,Oe)}else{let fe=[],Sr=0;D.on("data",function(we){if(fe.push(we),Sr+=we.length,C>-1&&Sr>C)F=!0,D.destroy(),V(new w("maxContentLength size of "+C+" exceeded",w.ERR_BAD_RESPONSE,t,be))}),D.on("aborted",function(){if(F)return;let we=new w("stream has been aborted",w.ERR_BAD_RESPONSE,t,be,Oe);D.destroy(we),i(we)}),D.on("error",function(we){if(F)return;i(w.from(we,null,t,be,Oe))}),D.on("end",function(){try{let we=fe.length===1?fe[0]:Buffer.concat(fe);if(v!=="arraybuffer"){if(we=we.toString(h),!h||h==="utf8")we=f.stripBOM(we)}Oe.data=we}catch(we){return i(w.from(we,null,t,Oe.request,Oe))}dt(n,i,Oe)})}Qe.once("abort",(fe)=>{if(!D.destroyed)D.emit("error",fe),D.destroy()})}),Qe.once("abort",(k)=>{if(I.close)I.close();else I.destroy(k)}),I.on("error",function(R){i(w.from(R,null,t,I))});let Re=new Set;if(I.on("socket",function(R){if(typeof R.setKeepAlive==="function")R.setKeepAlive(!0,60000);if(!R[_m])R.on("error",function(ae){let D=R[po];if(D&&!D.destroyed)D.destroy(ae)}),R[_m]=!0;R[po]=I,Re.add(R)}),I.once("close",function(){et();for(let R of Re)if(R[po]===I)R[po]=null;Re.clear()}),s("timeout")){let k=parseInt(s("timeout"),10);if(Number.isNaN(k)){V(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,t,I));return}let R=function(){if(te)return;V(zt())};if(Er&&k>0)me=setTimeout(R,k);I.setTimeout(k,R)}else I.setTimeout(0);if(f.isStream(c)){let k=!1,R=!1;c.on("end",()=>{k=!0}),c.once("error",(ae)=>{R=!0,I.destroy(ae)}),c.on("close",()=>{if(!k&&!R)V(new Ue("Request stream has been aborted",t,I))});let B=c;if(O>-1&&!He){let ae=O,D=0;B=ze.default.pipeline([c,new ze.default.Transform({transform(be,Oe,fe){if(D+=be.length,D>ae)return fe(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,t,I));fe(null,be)}})],f.noop),B.on("error",(be)=>{if(!I.destroyed)I.destroy(be)})}B.pipe(I)}else c&&I.write(c),I.end()})};var Jm=z.hasStandardBrowserEnv?((e,t)=>(r)=>(r=new URL(r,z.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(z.origin),z.navigator&&/(msie|trident)/i.test(z.navigator.userAgent)):()=>!0;var Wm=z.hasStandardBrowserEnv?{write(e,t,r,n,i,o,s){if(typeof document>"u")return;let a=[`${e}=${encodeURIComponent(t)}`];if(f.isNumber(r))a.push(`expires=${new Date(r).toUTCString()}`);if(f.isString(n))a.push(`path=${n}`);if(f.isString(i))a.push(`domain=${i}`);if(o===!0)a.push("secure");if(f.isString(s))a.push(`SameSite=${s}`);document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e)try{return decodeURIComponent(n.slice(i+1))}catch(o){return n.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var zm=(e)=>e instanceof Z?{...e}:e,DT=(e)=>{if(Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor)return Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter((t)=>Object.getOwnPropertyDescriptor(e,t).enumerable));return Object.keys(e)};function rt(e,t){e=e||{},t=t||{};let r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(u,l,d,m){if(f.isPlainObject(u)&&f.isPlainObject(l))return f.merge.call({caseless:m},u,l);else if(f.isPlainObject(l))return f.merge({},l);else if(f.isArray(l))return l.slice();return l}function i(u,l,d,m){if(!f.isUndefined(l))return n(u,l,d,m);else if(!f.isUndefined(u))return n(void 0,u,d,m)}function o(u,l){if(!f.isUndefined(l))return n(void 0,l)}function s(u,l){if(!f.isUndefined(l))return n(void 0,l);else if(!f.isUndefined(u))return n(void 0,u)}function a(u){let l=f.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!f.isUndefined(l))if(f.isPlainObject(l)){if(f.hasOwnProp(l,u))return l[u]}else return;let d=f.hasOwnProp(e,"transitional")?e.transitional:void 0;if(f.isPlainObject(d)&&f.hasOwnProp(d,u))return d[u];return}function c(u,l,d){if(f.hasOwnProp(t,d))return n(u,l);else if(f.hasOwnProp(e,d))return n(void 0,u)}let p={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:c,headers:(u,l,d)=>i(zm(u),zm(l),d,!0)};if(f.forEach(DT({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;let d=f.hasOwnProp(p,l)?p[l]:i,m=f.hasOwnProp(e,l)?e[l]:void 0,y=f.hasOwnProp(t,l)?t[l]:void 0,x=d(m,y,l);f.isUndefined(x)&&d!==c||(r[l]=x)}),f.hasOwnProp(t,"validateStatus")&&f.isUndefined(t.validateStatus)&&a("validateStatusUndefinedResolves")===!1)if(f.hasOwnProp(e,"validateStatus"))r.validateStatus=n(void 0,e.validateStatus);else delete r.validateStatus;return r}var UT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function FT(e){let t=rt({},e),r=(d)=>f.hasOwnProp(t,d)?t[d]:void 0,n=r("data"),i=r("withXSRFToken"),o=r("xsrfHeaderName"),s=r("xsrfCookieName"),a=r("headers"),c=r("auth"),p=r("baseURL"),u=r("allowAbsoluteUrls"),l=r("url");if(t.headers=a=Z.from(a),t.url=Qt(er(p,l,u,t),r("params"),r("paramsSerializer")),c){let d=f.getSafeProp(c,"username")||"",m=f.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(d+":"+(m?UT(m):"")))}catch(y){throw w.from(y,w.ERR_BAD_OPTION_VALUE,e)}}if(f.isFormData(n)){if(z.hasStandardBrowserEnv||z.hasStandardBrowserWebWorkerEnv||f.isReactNative(n))a.setContentType(void 0);else if(f.isFunction(n.getHeaders))Vn(a,n.getHeaders(),r("formDataHeaderPolicy"))}if(z.hasStandardBrowserEnv){if(f.isFunction(i))i=i(t);if(i===!0||i==null&&Jm(t.url)){let m=o&&s&&Wm.read(s);if(m)a.set(o,m)}}return t}var uo=FT;var $T=typeof XMLHttpRequest<"u",Mm=$T&&function(e){return new Promise(function(r,n){let i=uo(e),o=i.data,s=Z.from(i.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:p}=i,u,l,d,m,y;function x(){m&&m(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function h(){if(!v)return;let E=Z.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};dt(function(K){r(K),x()},function(K){n(K),x()},O),v=null}if("onloadend"in v)v.onloadend=h;else v.onreadystatechange=function(){if(!v||v.readyState!==4)return;if(v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:")))return;setTimeout(h)};if(v.onabort=function(){if(!v)return;n(new w("Request aborted",w.ECONNABORTED,e,v)),x(),v=null},v.onerror=function(A){let O=A&&A.message?A.message:"Network Error",C=new w(O,w.ERR_NETWORK,e,v);C.event=A||null,n(C),x(),v=null},v.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",O=i.transitional||Pt;if(i.timeoutErrorMessage)A=i.timeoutErrorMessage;n(new w(A,O.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,v)),x(),v=null},o===void 0&&s.setContentType(null),"setRequestHeader"in v)f.forEach(kr(s),function(A,O){v.setRequestHeader(O,A)});if(!f.isUndefined(i.withCredentials))v.withCredentials=!!i.withCredentials;if(a&&a!=="json")v.responseType=i.responseType;if(p)[d,y]=bt(p,!0),v.addEventListener("progress",d);if(c&&v.upload)[l,m]=bt(c),v.upload.addEventListener("progress",l),v.upload.addEventListener("loadend",m);if(i.cancelToken||i.signal){if(u=(E)=>{if(!v)return;n(!E||E.type?new Ue(null,e,v):E),v.abort(),x(),v=null},i.cancelToken&&i.cancelToken.subscribe(u),i.signal)i.signal.aborted?u():i.signal.addEventListener("abort",u)}let b=Gn(i.url);if(b&&!z.protocols.includes(b)){n(new w("Unsupported protocol "+b+":",w.ERR_BAD_REQUEST,e)),x();return}v.send(o||null)})};var BT=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,i=function(c){if(!n){n=!0,s();let p=c instanceof Error?c:this.reason;r.abort(p instanceof w?p:new Ue(p instanceof Error?p.message:p))}},o=t&&setTimeout(()=>{o=null,i(new w(`timeout of ${t}ms exceeded`,w.ETIMEDOUT))},t),s=()=>{if(!e)return;o&&clearTimeout(o),o=null,e.forEach((c)=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null};e.forEach((c)=>{if(n)return;if(c.aborted){i.call(c);return}c.addEventListener("abort",i,{once:!0})});let{signal:a}=r;return a.unsubscribe=()=>f.asap(s),a},Gm=BT;var KT=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,i;while(n<r)i=n+t,yield e.slice(n,i),n=i},HT=async function*(e,t){for await(let r of JT(e))yield*KT(r,t)},JT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},vc=(e,t,r,n)=>{let i=HT(e,t),o=0,s,a=(c)=>{if(!s)s=!0,n&&n(c)};return new ReadableStream({async pull(c){try{let{done:p,value:u}=await i.next();if(p){a(),c.close();return}let l=u.byteLength;if(r){let d=o+=l;r(d)}c.enqueue(new Uint8Array(u))}catch(p){throw a(p),p}},cancel(c){return a(c),i.return()}},{highWaterMark:2})};var Vm=65536,{isFunction:lo}=f,WT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),Xm=(e)=>{if(!f.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Ym=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},zT=(e)=>{let t=e.indexOf("://"),r=e;if(t!==-1)r=r.slice(t+3);return r.includes("@")||r.includes(":")},MT=(e)=>{let t=f.global!==void 0&&f.global!==null?f.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=f.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:o,Response:s}=e,a=i?lo(i):typeof fetch==="function",c=lo(o),p=lo(s);if(!a)return!1;let u=a&&lo(r),l=a&&(typeof n==="function"?((h)=>(b)=>h.encode(b))(new n):async(h)=>new Uint8Array(await new o(h).arrayBuffer())),d=c&&u&&Ym(()=>{let h=!1,b=new o(z.origin,{body:new r,method:"POST",get duplex(){return h=!0,"half"}}),E=b.headers.has("Content-Type");if(b.body!=null)b.body.cancel();return h&&!E}),m=p&&u&&Ym(()=>f.isReadableStream(new s("").body)),y={stream:m&&((h)=>h.body)};a&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((h)=>{!y[h]&&(y[h]=(b,E)=>{let A=b&&b[h];if(A)return A.call(b);throw new w(`Response type '${h}' is not supported`,w.ERR_NOT_SUPPORT,E)})})})();let x=async(h)=>{if(h==null)return 0;if(f.isBlob(h))return h.size;if(f.isSpecCompliantForm(h))return(await new o(z.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(f.isArrayBufferView(h)||f.isArrayBuffer(h))return h.byteLength;if(f.isURLSearchParams(h))h=h+"";if(f.isString(h))return(await l(h)).byteLength},v=async(h,b)=>{let E=f.toFiniteNumber(h.getContentLength());return E==null?x(b):E};return async(h)=>{let{url:b,method:E,data:A,signal:O,cancelToken:C,timeout:K,onDownloadProgress:te,onUploadProgress:F,responseType:I,headers:me,withCredentials:gt="same-origin",fetchOptions:Qe,maxContentLength:V,maxBodyLength:et}=uo(h),zt=f.isNumber(V)&&V>-1,Mt=f.isNumber(et)&&et>-1,Ni=(W)=>f.hasOwnProp(h,W)?h[W]:void 0,qi=i||fetch;I=I?(I+"").toLowerCase():"text";let ne=Gm([O,C&&C.toAbortSignal()],K),se=null,de=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()}),ut,yt=null,Gt=()=>new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,h,se);try{let W=void 0,Ae=Ni("auth");if(Ae){let L=f.getSafeProp(Ae,"username")||"",Re=f.getSafeProp(Ae,"password")||"";W={username:L,password:Re}}if(zT(b)){let L=new URL(b,z.origin);if(!W&&(L.username||L.password)){let Re=Xm(L.username),k=Xm(L.password);W={username:Re,password:k}}if(L.username||L.password)L.username="",L.password="",b=L.href}if(W)me.delete("authorization"),me.set("Authorization","Basic "+btoa(WT((W.username||"")+":"+(W.password||""))));if(zt&&typeof b==="string"&&b.startsWith("data:")){if(fc(b)>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}if(Mt&&E!=="get"&&E!=="head"){let L=await x(A);if(typeof L==="number"&&isFinite(L)){if(ut=L,L>et)throw Gt()}}let wr=Mt&&(f.isReadableStream(A)||f.isStream(A)),lt=(L,Re,k)=>vc(L,Vm,(R)=>{if(Mt&&R>et)throw yt=Gt();Re&&Re(R)},k);if(d&&E!=="get"&&E!=="head"&&(F||wr)){if(ut=ut==null?await v(me,A):ut,ut!==0||wr){let L=new o(b,{method:"POST",body:A,duplex:"half"}),Re;if(f.isFormData(A)&&(Re=L.headers.get("content-type")))me.setContentType(Re);if(L.body){let[k,R]=F&&Fr(ut,bt($r(F)))||[];A=lt(L.body,k,R)}}}else if(wr&&!c&&u&&E!=="get"&&E!=="head")A=lt(A);else if(wr&&c&&!d&&E!=="get"&&E!=="head")throw new w("Stream request bodies are not supported by the current fetch implementation",w.ERR_NOT_SUPPORT,h,se);if(!f.isString(gt))gt=gt?"include":"omit";let Sn=c&&"credentials"in o.prototype;if(f.isFormData(A)){let L=me.getContentType();if(L&&/^multipart\/form-data/i.test(L)&&!/boundary=/i.test(L))me.delete("content-type")}me.set("User-Agent","axios/"+vt,!1);let An={...Qe,signal:ne,method:E.toUpperCase(),headers:kr(me.normalize()),body:A,duplex:"half",credentials:Sn?gt:void 0};se=c&&new o(b,An);let X=await(c?qi(se,Qe):qi(b,An)),kt=Z.from(X.headers);if(zt){let L=f.toFiniteNumber(kt.getContentLength());if(L!=null&&L>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}let Er=m&&(I==="stream"||I==="response");if(m&&X.body&&(te||zt||Er&&de)){let L={};["status","statusText","headers"].forEach((D)=>{L[D]=X[D]});let Re=f.toFiniteNumber(kt.getContentLength()),[k,R]=te&&Fr(Re,bt($r(te),!0))||[],B=0,ae=(D)=>{if(zt){if(B=D,B>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}k&&k(D)};X=new s(vc(X.body,Vm,ae,()=>{R&&R(),de&&de()}),L)}I=I||"text";let He=await y[f.findKey(y,I)||"text"](X,h);if(zt&&!m&&!Er){let L;if(He!=null){if(typeof He.byteLength==="number")L=He.byteLength;else if(typeof He.size==="number")L=He.size;else if(typeof He==="string")L=typeof n==="function"?new n().encode(He).byteLength:He.length}if(typeof L==="number"&&L>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}return!Er&&de&&de(),await new Promise((L,Re)=>{dt(L,Re,{data:He,headers:Z.from(X.headers),status:X.status,statusText:X.statusText,config:h,request:se})})}catch(W){if(de&&de(),ne&&ne.aborted&&ne.reason instanceof w){let Ae=ne.reason;if(Ae.config=h,se&&(Ae.request=se),W!==Ae)Object.defineProperty(Ae,"cause",{__proto__:null,value:W,writable:!0,enumerable:!1,configurable:!0});throw Ae}if(yt)throw se&&!yt.request&&(yt.request=se),yt;if(W instanceof w)throw se&&!W.request&&(W.request=se),W;if(W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)){let Ae=new w("Network Error",w.ERR_NETWORK,h,se,W&&W.response);throw Object.defineProperty(Ae,"cause",{__proto__:null,value:W.cause||W,writable:!0,enumerable:!1,configurable:!0}),Ae}throw w.from(W,W&&W.code,h,se,W&&W.response)}}},GT=new Map,bc=(e)=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,o=[n,i,r],s=o.length,a=s,c,p,u=GT;while(a--)c=o[a],p=u.get(c),p===void 0&&u.set(c,p=a?new Map:MT(t)),u=p;return p},nF=bc();var wc={http:Hm,xhr:Mm,fetch:{get:bc}};f.forEach(wc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(r){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Zm=(e)=>`- ${e}`,XT=(e)=>f.isFunction(e)||e===null||e===!1;function YT(e,t){e=f.isArray(e)?e:[e];let{length:r}=e,n,i,o={};for(let s=0;s<r;s++){n=e[s];let a;if(i=n,!XT(n)){if(i=wc[(a=String(n)).toLowerCase()],i===void 0)throw new w(`Unknown adapter '${a}'`)}if(i&&(f.isFunction(i)||(i=i.get(t))))break;o[a||"#"+s]=i}if(!i){let s=Object.entries(o).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build")),a=r?s.length>1?`since :
32
+ `+s.map(Zm).join(`
33
+ `):" "+Zm(s[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,w.ERR_NOT_SUPPORT)}return i}var fo={getAdapter:YT,adapters:wc};function Ec(e){if(e.cancelToken)e.cancelToken.throwIfRequested();if(e.signal&&e.signal.aborted)throw new Ue(null,e)}function Yn(e){if(Ec(e),e.headers=Z.from(e.headers),e.data=Un.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1)e.headers.setContentType("application/x-www-form-urlencoded",!1);return fo.getAdapter(e.adapter||Lr.adapter,e)(e).then(function(n){Ec(e),e.response=n;try{n.data=Un.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=Z.from(n.headers),n},function(n){if(!Fn(n)){if(Ec(e),n&&n.response){e.response=n.response;try{n.response.data=Un.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Z.from(n.response.headers)}}return Promise.reject(n)})}var mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Qm={};mo.transitional=function(t,r,n){function i(o,s){return"[Axios v"+vt+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(t===!1)throw new w(i(s," has been removed"+(r?" in "+r:"")),w.ERR_DEPRECATED);if(r&&!Qm[s])Qm[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"));return t?t(o,s,a):!0}};mo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function ZT(e,t,r){if(typeof e!=="object"||e===null)throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;while(i-- >0){let o=n[i],s=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(s){let a=e[o],c=a===void 0||s(a,o,e);if(c!==!0)throw new w("option "+o+" must be "+c,w.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new w("Unknown option "+o,w.ERR_BAD_OPTION)}}var Zn={assertOptions:ZT,validators:mo};var Ce=Zn.validators;class Qn{constructor(e){this.defaults=e||{},this.interceptors={request:new ka,response:new ka}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=Error();let i=(()=>{if(!n.stack)return"";let o=n.stack.indexOf(`
34
+ `);return o===-1?"":n.stack.slice(o+1)})();try{if(!r.stack)r.stack=i;else if(i){let o=i.indexOf(`
35
+ `),s=o===-1?-1:i.indexOf(`
36
+ `,o+1),a=s===-1?"":i.slice(s+1);if(!String(r.stack).endsWith(a))r.stack+=`
37
+ `+i}}catch(o){}}throw r}}_request(e,t){if(typeof e==="string")t=t||{},t.url=e;else t=e||{};t=rt(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;if(r!==void 0)Zn.assertOptions(r,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean),legacyInterceptorReqResOrdering:Ce.transitional(Ce.boolean),advertiseZstdAcceptEncoding:Ce.transitional(Ce.boolean),validateStatusUndefinedResolves:Ce.transitional(Ce.boolean)},!1);if(n!=null)if(f.isFunction(n))t.paramsSerializer={serialize:n};else Zn.assertOptions(n,{encode:Ce.function,serialize:Ce.function},!0);if(t.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else t.allowAbsoluteUrls=!0;Zn.assertOptions(t,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&f.merge(i.common,i[t.method]);i&&f.forEach(["delete","get","head","post","put","patch","query","common"],(m)=>{delete i[m]}),t.headers=Z.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen==="function"&&y.runWhen(t)===!1)return;a=a&&y.synchronous;let x=t.transitional||Pt;if(x&&x.legacyInterceptorReqResOrdering)s.unshift(y.fulfilled,y.rejected);else s.push(y.fulfilled,y.rejected)});let c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let p,u=0,l;if(!a){let m=[Yn.bind(this),void 0];m.unshift(...s),m.push(...c),l=m.length,p=Promise.resolve(t);while(u<l)p=p.then(m[u++],m[u++]);return p}l=s.length;let d=t;while(u<l){let m=s[u++],y=s[u++];try{d=m?m(d):d}catch(x){if(!y){p=Promise.reject(x);break}try{let v=y.call(this,x);if(f.isThenable(v))p=Promise.resolve(v).then(()=>Yn.call(this,d))}catch(v){p=Promise.reject(v)}break}}if(!p)try{p=Yn.call(this,d)}catch(m){p=Promise.reject(m)}u=0,l=c.length;while(u<l)p=p.then(c[u++],c[u++]);return p}getUri(e){e=rt(this.defaults,e);let t=er(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Qt(t,e.params,e.paramsSerializer)}}f.forEach(["delete","get","head","options"],function(t){Qn.prototype[t]=function(r,n){return this.request(rt(n||{},{method:t,url:r,data:n&&f.hasOwnProp(n,"data")?n.data:void 0}))}});f.forEach(["post","put","patch","query"],function(t){function r(n){return function(o,s,a){return this.request(rt(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}if(Qn.prototype[t]=r(),t!=="query")Qn.prototype[t+"Form"]=r(!0)});var ei=Qn;class Sc{constructor(e){if(typeof e!=="function")throw TypeError("executor must be a function.");let t;this.promise=new Promise(function(i){t=i});let r=this;this.promise.then((n)=>{if(!r._listeners)return;let i=r._listeners.length;while(i-- >0)r._listeners[i](n);r._listeners=null}),this.promise.then=(n)=>{let i,o=new Promise((s)=>{r.subscribe(s),i=s}).then(n);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,s){if(r.reason)return;r.reason=new Ue(i,o,s),t(r.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners)this._listeners.push(e);else this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);if(t!==-1)this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=(r)=>{e.abort(r)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Sc(function(n){e=n}),cancel:e}}}var eh=Sc;function Ac(e){return function(r){return e.apply(null,r)}}function Rc(e){return f.isObject(e)&&e.isAxiosError===!0}var Tc={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Tc).forEach(([e,t])=>{Tc[t]=e});var th=Tc;function rh(e){let t=new ei(e),r=_n(ei.prototype.request,t);return f.extend(r,ei.prototype,t,{allOwnKeys:!0}),f.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return rh(rt(e,i))},r}var he=rh(Lr);he.Axios=ei;he.CanceledError=Ue;he.CancelToken=eh;he.isCancel=Fn;he.VERSION=vt;he.toFormData=Ct;he.AxiosError=w;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=Ac;he.isAxiosError=Rc;he.mergeConfig=rt;he.AxiosHeaders=Z;he.formToJSON=(e)=>eo(f.isHTMLForm(e)?new FormData(e):e);he.getAdapter=fo.getAdapter;he.HttpStatusCode=th;he.default=he;var _c=he;var QT=_c.create({httpsAgent:new nh.Agent({keepAlive:!0})});async function ih(e,t,r,n){let i=0;while(!0){++i;try{return await QT.post(e,t,r)}catch(o){if(n.debug(`HTTP POST to ${e} failed (attempt ${i}):`),n.debug(o.response?.data||o),i>=5)throw n.error(`No success after ${i} attempts, seizing further attempts`),o;if(i>=2)n.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((s)=>setTimeout(s,25*(2**i+Math.random()*i))),n.debug("Done waiting, will try HTTP POST again now")}}}function n$(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function oh(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");return Buffer.from(t,"base64").toString()}var sh=`<!DOCTYPE html>
35
38
  <html lang="en">
36
39
  <head>
37
40
  <meta charset="utf-8" />
@@ -51,4 +54,4 @@ var zW=Object.create;var{getPrototypeOf:ZW,defineProperty:Za,getOwnPropertyNames
51
54
  </p>
52
55
  </body>
53
56
  </html>
54
- `;var lf=require("node:fs"),vs=k(require("node:path")),ff=require("node:url");var i3=(()=>{let i=function(){};return i.prototype=Object.create(null),i})();function fs(i,n){let c=new i3,a=i.length;if(a<2)return c;let p=n?.decode||a3,s=0;do{let u=c3(i,s,a);if(u===a)break;let e=n3(i,s,a);if(u>e){s=i.lastIndexOf(";",u-1)+1;continue}let o=rf(i,s,u);if(c[o]===void 0)c[o]=p(rf(i,u+1,e));s=e+1}while(s<a);return c}function n3(i,n,c){let a=i.indexOf(";",n);return a===-1?c:a}function c3(i,n,c){let a=i.indexOf("=",n);return a===-1?c:a}function rf(i,n,c){if(n===c)return"";let a=n,p=c;do{let s=i.charCodeAt(a);if(s!==32&&s!==9)break}while(++a<p);while(p>a){let s=i.charCodeAt(p-1);if(s!==32&&s!==9)break;p--}return i.slice(a,p)}function a3(i){if(i.indexOf("%")===-1)return i;try{return decodeURIComponent(i)}catch(n){return i}}var Ao;((s)=>{s[s.none=0]="none";s[s.error=10]="error";s[s.warn=20]="warn";s[s.info=30]="info";s[s.debug=40]="debug"})(Ao||={});class No{logLevel;constructor(i){this.logLevel=i}jsonify(i){return i.map((n)=>{if(typeof n==="object")try{return JSON.stringify(n)}catch{return n}return n})}info(...i){if(this.logLevel>=30)console.log(...this.jsonify(i))}warn(...i){if(this.logLevel>=20)console.warn(...this.jsonify(i))}error(...i){if(this.logLevel>=10)console.error(...this.jsonify(i))}debug(...i){if(this.logLevel>=40)console.trace(...this.jsonify(i))}}var p3=ff.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),s3=vs.dirname(p3);function Eo(){let n=process.env.LAMBDA_TASK_ROOT||s3,c=vs.join(n,"config.json");console.log("Loading config from",c);let a=JSON.parse(lf.readFileSync(c,"utf-8")),s=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(a.userPoolId)[1]}.amazonaws.com/${a.userPoolId}`,u=`${s}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt(fs(a.cookieSettings.nonce.toLowerCase())["max-age"]??"",10)||86400,...a,tokenIssuer:s,tokenJwksUri:u,logger:new No(Ao[a.logLevel])}}function u3(i){return Object.entries(i).reduce((n,[c,a])=>Object.assign(n,{[c.toLowerCase()]:[{key:c,value:a}]}),{})}function yo(i,n){let c=n?.cookies?{"set-cookie":n.cookies.map((a)=>({key:"set-cookie",value:a}))}:{};return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:i}],...c}}}function vf(i){return{body:e3(i),status:i.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function e3(i){let n={...i,region:process.env.AWS_REGION};return xf.replace(/\${([^}]*)}/g,(c,a)=>n[a]||"")}function wf(i,n){if(!n)throw Error("Expected response value");return{...n,headers:{...n.headers??{},...u3(i.httpHeaders)}}}function bf(i){let n;return async(c)=>{if(!n)n=Eo();n.logger.debug("Handling event:",c);let a=wf(n,await i(n,c));return n.logger.debug("Returning response:",a),a}}function PN(i){let n;return async(c)=>{if(!n)n=Eo();n.logger.debug("Handling event:",c);let a=wf(n,await i(n,c));return n.logger.debug("Returning response:",a),a}}var yd=k(F4(),1),WW=k(bW(),1),Ed;function aM(i){return"rsaPublicKey"in i}async function pM(i,n){if(!Ed)Ed=WW.default({cache:!0,rateLimit:!0,jwksUri:i});let c=await Ed.getSigningKey(n);return aM(c)?c.rsaPublicKey:c.publicKey}async function qW(i,n,c,a){let p=yd.default.decode(i,{complete:!0});if(!p||typeof p==="string")return{validationError:Error("Cannot parse JWT token")};let s=p.header.kid;if(!s)return{validationError:Error("JWT header is missing 'kid' claim")};let u=await pM(n,s);if(u instanceof Error)return{validationError:u};let e={audience:a,issuer:c,ignoreExpiration:!1};return new Promise((o)=>yd.default.verify(i,u,e,(t)=>t?o({validationError:t}):o(void 0)))}function KW(i){let c=i.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(c,"base64").toString())}function sM(i){if(!i.cookie)return{};return i.cookie.reduce((c,a)=>({...c,...fs(a.value)}),{})}function hc(i,n){if(n.toLowerCase().indexOf("domain")===-1)return`${n}; Domain=.${i}`;return n}function _W(i,n){let c=sM(i);if(!c)return{};let a=`CognitoIdentityServiceProvider.${n}`,p=c[`${a}.LastAuthUser`];return{tokenUserName:p,idToken:c[`${a}.${p??""}.idToken`],accessToken:c[`${a}.${p??""}.accessToken`],refreshToken:c[`${a}.${p??""}.refreshToken`],scopes:c[`${a}.${p??""}.tokenScopesString`],nonce:c["spa-auth-edge-nonce"],nonceHmac:c["spa-auth-edge-nonce-hmac"],pkce:c["spa-auth-edge-pkce"]}}function JW(i){let n=KW(i.tokens.idToken),c=n["cognito:username"],a=`CognitoIdentityServiceProvider.${i.clientId}`,p=`${a}.${c}.idToken`,s=`${a}.${c}.accessToken`,u=`${a}.${c}.refreshToken`,e=`${a}.LastAuthUser`,o=`${a}.${c}.tokenScopesString`,t=i.oauthScopes.join(" "),m=`${a}.${c}.userData`,d=JSON.stringify({UserAttributes:[{Name:"sub",Value:n.sub},{Name:"email",Value:n.email}],Username:c}),l={[p]:`${i.tokens.idToken}; ${hc(i.domainName,i.cookieSettings.idToken)}`,[s]:`${i.tokens.accessToken}; ${hc(i.domainName,i.cookieSettings.accessToken)}`,[u]:`${i.tokens.refreshToken}; ${hc(i.domainName,i.cookieSettings.refreshToken)}`,[e]:`${c}; ${hc(i.domainName,i.cookieSettings.idToken)}`,[o]:`${t}; ${hc(i.domainName,i.cookieSettings.accessToken)}`,[m]:`${encodeURIComponent(d)}; ${hc(i.domainName,i.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${hc(i.domainName,i.cookieSettings.accessToken)}`};if(i.event==="signOut")Object.keys(l).forEach((f)=>l[f]=Rd(l[f]));else if(i.event==="refreshFailed")l[u]=Rd(l[u]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((f)=>{l[f]=Rd(l[f])}),Object.entries(l).map(([f,v])=>`${f}=${v}`)}function Rd(i=""){let n=i.split(";").map((a)=>a.trim()).filter((a)=>!a.toLowerCase().startsWith("max-age")).filter((a)=>!a.toLowerCase().startsWith("expires")),c=`Expires=${new Date(0).toUTCString()}`;return["",...n.slice(1),c].join("; ")}var oe=require("node:crypto");function uM(i,n){let c=Number.parseInt(i.slice(0,i.indexOf("T")),10);if(Number.isNaN(c))return{clientError:"Invalid nonce"};if(hW()-c>n)return{clientError:`Nonce is too old (nonce is from ${new Date(c*1000).toISOString()})`}}function $W(i,n,c){let a=uM(i,c.nonceMaxAge);if(a)return a;let p=eM(i,c);if(p!==n)return{clientError:`Nonce signature mismatch! Expected ${p} but got ${n}`}}function mj(){let i=oe.randomBytes(16).toString("hex");return`${hW()}T${i}`}function eM(i,n){return oe.createHmac("sha256",n.nonceSigningSecret).update(i).digest("hex")}function hW(){return Date.now()/1000|0}var oM=bf(async(i,n)=>{let c=n.Records[0].cf.request,a=c.headers.host[0].value,p=`https://${a}`,s,u=_W(c.headers,i.clientId);s=u.idToken;let e=mM({config:i,querystring:c.querystring,cookies:u});if("clientError"in e)return jd({error:e.clientError,errorType:"client",config:i,redirectedFromUri:p,idToken:s});if("technicalError"in e)return jd({error:e.technicalError,errorType:"server",config:i,redirectedFromUri:p,idToken:s});let{code:o,pkce:t,requestedUri:m}=e;i.logger.debug("Query string and cookies are valid"),p+=m;let d=await tM({config:i,domainName:a,code:o,pkce:t});if("error"in d)return jd({error:d.error,errorType:"server",config:i,redirectedFromUri:p,idToken:s});return yo(p,{cookies:JW({event:"newTokens",tokens:d,domainName:a,...i})})});async function jd({error:i,errorType:n,config:c,idToken:a,redirectedFromUri:p}){if(n==="client")c.logger.warn(i);else c.logger.error(i);if(a){c.logger.debug("ID token found, will check if it is valid"),c.logger.info("Validating JWT ...");let s=await qW(a,c.tokenJwksUri,c.tokenIssuer,c.clientId);if(s!==void 0)c.logger.debug("ID token not valid:",s.validationError);return c.logger.info("JWT is valid"),yo(p)}return vf({title:"Sign-in issue",message:"We can't sign you in because of a technical problem",details:n==="client"?i:"Contact administrator",linkHref:p,linkText:"Retry",statusCode:"503"})}async function tM({config:i,domainName:n,code:c,pkce:a}){let p=`https://${i.cognitoAuthDomain}/oauth2/token`,s=new URLSearchParams({grant_type:"authorization_code",client_id:i.clientId,redirect_uri:`https://${n}${i.callbackPath}`,code:c,code_verifier:a}).toString(),u={headers:{"Content-Type":"application/x-www-form-urlencoded"}};if(i.clientSecret){let d=Buffer.from(`${i.clientId}:${i.clientSecret}`).toString("base64");u.headers.Authorization=`Basic ${d}`}i.logger.debug("HTTP POST to Cognito token endpoint:",{uri:p,body:s,requestConfig:u});let e;try{e=await mf(p,s,u,i.logger)}catch(d){return{error:`Failed to exchange authorization code for tokens: ${d}`}}let{status:o,headers:t,data:m}=e;return i.logger.info("Successfully exchanged authorization code for tokens"),i.logger.debug("Response from Cognito token endpoint:",{status:o,headers:t,tokens:m}),{idToken:m.id_token,accessToken:m.access_token,refreshToken:m.refresh_token}}function mM(i){let{code:n,state:c,error:a,error_description:p}=Object.fromEntries(new URLSearchParams(i.querystring).entries());if(a)return{clientError:`[Cognito] ${a}: ${p}`};if(!n||!c||typeof n!=="string"||typeof c!=="string")return{clientError:['Invalid query string. Your query string does not include parameters "state" and "code".',"This can happen if your authentication attempt did not originate from this site."].join(" ")};let s;try{s=JSON.parse(df(c))}catch{return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'}}if(!s.requestedUri||!s.nonce)return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'};let{nonce:u,pkce:e,nonceHmac:o}=i.cookies;if(!u)return{clientError:"Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF)."};if(!e)return{clientError:"Your browser didn't send the pkce cookie along, but it is required for security (prevent CSRF)."};if(s.nonce!==u)return{clientError:"Nonce mismatch. This can happen if you start multiple authentication attempts in parallel (e.g. in separate tabs)"};let t=$W(s.nonce,o??"UNKNOWN",i.config);if(t)return t;return{code:n,pkce:e,requestedUri:s.requestedUri||""}}
57
+ `;var ch=require("node:fs"),xo=pe(require("node:path")),ph=require("node:url");var t_=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function ho(e,t){let r=new t_,n=e.length;if(n<2)return r;let i=t?.decode||i_,o=0;do{let s=n_(e,o,n);if(s===n)break;let a=r_(e,o,n);if(s>a){o=e.lastIndexOf(";",s-1)+1;continue}let c=ah(e,o,s);if(r[c]===void 0)r[c]=i(ah(e,s+1,a));o=a+1}while(o<n);return r}function r_(e,t,r){let n=e.indexOf(";",t);return n===-1?r:n}function n_(e,t,r){let n=e.indexOf("=",t);return n===-1?r:n}function ah(e,t,r){if(t===r)return"";let n=t,i=r;do{let o=e.charCodeAt(n);if(o!==32&&o!==9)break}while(++n<i);while(i>n){let o=e.charCodeAt(i-1);if(o!==32&&o!==9)break;i--}return e.slice(n,i)}function i_(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch(t){return e}}var Br={none:0,error:10,warn:20,info:30,debug:40};class kc{logLevel;constructor(e){this.logLevel=e}jsonify(e){return e.map((t)=>{if(typeof t==="object")try{return JSON.stringify(t)}catch{return t}return t})}info(...e){if(this.logLevel>=Br.info)console.log(...this.jsonify(e))}warn(...e){if(this.logLevel>=Br.warn)console.warn(...this.jsonify(e))}error(...e){if(this.logLevel>=Br.error)console.error(...this.jsonify(e))}debug(...e){if(this.logLevel>=Br.debug)console.trace(...this.jsonify(e))}}var o_=ph.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),s_=xo.dirname(o_);function Oc(){let t=process.env.LAMBDA_TASK_ROOT||s_,r=xo.join(t,"config.json");console.log("Loading config from",r);let n=JSON.parse(ch.readFileSync(r,"utf-8")),o=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(n.userPoolId)[1]}.amazonaws.com/${n.userPoolId}`,s=`${o}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt(ho(n.cookieSettings.nonce.toLowerCase())["max-age"]??"",10)||86400,...n,tokenIssuer:o,tokenJwksUri:s,logger:new kc(Br[n.logLevel])}}function a_(e){return Object.entries(e).reduce((t,[r,n])=>Object.assign(t,{[r.toLowerCase()]:[{key:r,value:n}]}),{})}function Cc(e,t){let r=t?.cookies?{"set-cookie":t.cookies.map((n)=>({key:"set-cookie",value:n}))}:{};return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:e}],...r}}}function uh(e){return{body:c_(e),status:e.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function c_(e){let t={...e,region:process.env.AWS_REGION};return sh.replace(/\${([^}]*)}/g,(r,n)=>t[n]||"")}function lh(e,t){if(!t)throw Error("Expected response value");return{...t,headers:{...t.headers??{},...a_(e.httpHeaders)}}}function dh(e){let t;return async(r)=>{if(!t)t=Oc();t.logger.debug("Handling event:",r);let n=lh(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}function f$(e){let t;return async(r)=>{if(!t)t=Oc();t.logger.debug("Handling event:",r);let n=lh(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}var Du=pe(Hy(),1),wE=pe(bE(),1),qu;function DN(e){return"rsaPublicKey"in e}async function UN(e,t){if(!qu)qu=wE.default({cache:!0,rateLimit:!0,jwksUri:e});let r=await qu.getSigningKey(t);return DN(r)?r.rsaPublicKey:r.publicKey}async function EE(e,t,r,n){let i=Du.default.decode(e,{complete:!0});if(!i||typeof i==="string")return{validationError:Error("Cannot parse JWT token")};let o=i.header.kid;if(!o)return{validationError:Error("JWT header is missing 'kid' claim")};let s=await UN(t,o);if(s instanceof Error)return{validationError:s};let a={audience:n,issuer:r,ignoreExpiration:!1};return new Promise((c)=>Du.default.verify(e,s,a,(p)=>p?c({validationError:p}):c(void 0)))}function SE(e){let r=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(r,"base64").toString())}function FN(e){if(!e.cookie)return{};return e.cookie.reduce((r,n)=>({...r,...ho(n.value)}),{})}function br(e,t){if(t.toLowerCase().indexOf("domain")===-1)return`${t}; Domain=.${e}`;return t}function AE(e,t){let r=FN(e);if(!r)return{};let n=`CognitoIdentityServiceProvider.${t}`,i=r[`${n}.LastAuthUser`];return{tokenUserName:i,idToken:r[`${n}.${i??""}.idToken`],accessToken:r[`${n}.${i??""}.accessToken`],refreshToken:r[`${n}.${i??""}.refreshToken`],scopes:r[`${n}.${i??""}.tokenScopesString`],nonce:r["spa-auth-edge-nonce"],nonceHmac:r["spa-auth-edge-nonce-hmac"],pkce:r["spa-auth-edge-pkce"]}}function RE(e){let t=SE(e.tokens.idToken),r=t["cognito:username"],n=`CognitoIdentityServiceProvider.${e.clientId}`,i=`${n}.${r}.idToken`,o=`${n}.${r}.accessToken`,s=`${n}.${r}.refreshToken`,a=`${n}.LastAuthUser`,c=`${n}.${r}.tokenScopesString`,p=e.oauthScopes.join(" "),u=`${n}.${r}.userData`,l=JSON.stringify({UserAttributes:[{Name:"sub",Value:t.sub},{Name:"email",Value:t.email}],Username:r}),d={[i]:`${e.tokens.idToken}; ${br(e.domainName,e.cookieSettings.idToken)}`,[o]:`${e.tokens.accessToken}; ${br(e.domainName,e.cookieSettings.accessToken)}`,[s]:`${e.tokens.refreshToken}; ${br(e.domainName,e.cookieSettings.refreshToken)}`,[a]:`${r}; ${br(e.domainName,e.cookieSettings.idToken)}`,[c]:`${p}; ${br(e.domainName,e.cookieSettings.accessToken)}`,[u]:`${encodeURIComponent(l)}; ${br(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${br(e.domainName,e.cookieSettings.accessToken)}`};if(e.event==="signOut")Object.keys(d).forEach((m)=>d[m]=Uu(d[m]));else if(e.event==="refreshFailed")d[s]=Uu(d[s]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((m)=>{d[m]=Uu(d[m])}),Object.entries(d).map(([m,y])=>`${m}=${y}`)}function Uu(e=""){let t=e.split(";").map((n)=>n.trim()).filter((n)=>!n.toLowerCase().startsWith("max-age")).filter((n)=>!n.toLowerCase().startsWith("expires")),r=`Expires=${new Date(0).toUTCString()}`;return["",...t.slice(1),r].join("; ")}var Qs=require("node:crypto");function $N(e,t){let r=Number.parseInt(e.slice(0,e.indexOf("T")),10);if(Number.isNaN(r))return{clientError:"Invalid nonce"};if(_E()-r>t)return{clientError:`Nonce is too old (nonce is from ${new Date(r*1000).toISOString()})`}}function TE(e,t,r){let n=$N(e,r.nonceMaxAge);if(n)return n;let i=BN(e,r);if(i!==t)return{clientError:`Nonce signature mismatch! Expected ${i} but got ${t}`}}function sz(){let e=Qs.randomBytes(16).toString("hex");return`${_E()}T${e}`}function BN(e,t){return Qs.createHmac("sha256",t.nonceSigningSecret).update(e).digest("hex")}function _E(){return Date.now()/1000|0}var KN=dh(async(e,t)=>{let r=t.Records[0].cf.request,n=r.headers.host[0].value,i=`https://${n}`,o,s=AE(r.headers,e.clientId);o=s.idToken;let a=JN({config:e,querystring:r.querystring,cookies:s});if("clientError"in a)return Fu({error:a.clientError,errorType:"client",config:e,redirectedFromUri:i,idToken:o});if("technicalError"in a)return Fu({error:a.technicalError,errorType:"server",config:e,redirectedFromUri:i,idToken:o});let{code:c,pkce:p,requestedUri:u}=a;e.logger.debug("Query string and cookies are valid"),i+=u;let l=await HN({config:e,domainName:n,code:c,pkce:p});if("error"in l)return Fu({error:l.error,errorType:"server",config:e,redirectedFromUri:i,idToken:o});return Cc(i,{cookies:RE({event:"newTokens",tokens:l,domainName:n,...e})})});async function Fu({error:e,errorType:t,config:r,idToken:n,redirectedFromUri:i}){if(t==="client")r.logger.warn(e);else r.logger.error(e);if(n){r.logger.debug("ID token found, will check if it is valid"),r.logger.info("Validating JWT ...");let o=await EE(n,r.tokenJwksUri,r.tokenIssuer,r.clientId);if(o!==void 0)r.logger.debug("ID token not valid:",o.validationError);return r.logger.info("JWT is valid"),Cc(i)}return uh({title:"Sign-in issue",message:"We can't sign you in because of a technical problem",details:t==="client"?e:"Contact administrator",linkHref:i,linkText:"Retry",statusCode:"503"})}async function HN({config:e,domainName:t,code:r,pkce:n}){let i=`https://${e.cognitoAuthDomain}/oauth2/token`,o=new URLSearchParams({grant_type:"authorization_code",client_id:e.clientId,redirect_uri:`https://${t}${e.callbackPath}`,code:r,code_verifier:n}).toString(),s={"Content-Type":"application/x-www-form-urlencoded"};if(e.clientSecret){let d=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");s.Authorization=`Basic ${d}`}let a={headers:s};e.logger.debug("HTTP POST to Cognito token endpoint:",{uri:i,body:o,requestConfig:a});let c;try{c=await ih(i,o,a,e.logger)}catch(d){return{error:`Failed to exchange authorization code for tokens: ${d}`}}let{status:p,headers:u,data:l}=c;return e.logger.info("Successfully exchanged authorization code for tokens"),e.logger.debug("Response from Cognito token endpoint:",{status:p,headers:u,tokens:l}),{idToken:l.id_token,accessToken:l.access_token,refreshToken:l.refresh_token}}function JN(e){let{code:t,state:r,error:n,error_description:i}=Object.fromEntries(new URLSearchParams(e.querystring).entries());if(n)return{clientError:`[Cognito] ${n}: ${i}`};if(!t||!r||typeof t!=="string"||typeof r!=="string")return{clientError:['Invalid query string. Your query string does not include parameters "state" and "code".',"This can happen if your authentication attempt did not originate from this site."].join(" ")};let o;try{o=JSON.parse(oh(r))}catch{return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'}}if(!o.requestedUri||!o.nonce)return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'};let{nonce:s,pkce:a,nonceHmac:c}=e.cookies;if(!s)return{clientError:"Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF)."};if(!a)return{clientError:"Your browser didn't send the pkce cookie along, but it is required for security (prevent CSRF)."};if(o.nonce!==s)return{clientError:"Nonce mismatch. This can happen if you start multiple authentication attempts in parallel (e.g. in separate tabs)"};let p=TE(o.nonce,c??"UNKNOWN",e.config);if(p)return p;return{code:t,pkce:a,requestedUri:o.requestedUri||""}}